3105 Commits

Author SHA1 Message Date
Ryan Leavengood
0a74004c6e - Added back code for scrolling with the cursor keys, this time only when Shift
is pressed.

- Took Humdinger's excellent advice from #4190 to open the Backgrounds
preferences from ShowImage instead of setting the background manually. This
required some tweaks to the Backgrounds preferences to accept RefsReceived in
the application and forward that to the view. In addition the placement is
set to scaled since otherwise it will keep the old placement. How this is
done is sort of hacky, but I'm going to call it an "internal protocol." This
also allowed me to remove the BackgroundImage code from ShowImage which was
just copied from Tracker (yuck.)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32424 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-15 21:05:23 +00:00
Philippe Saint-Pierre
f7d8d9b87a _SanitizeIDs(): An off by one error was causing a bug in the terminal window numbering.
Ticket #3372.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32422 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-15 20:53:18 +00:00
Philippe Saint-Pierre
a3c4ce8b7d Preferences Panel : Check if the font, size or color was indeed changed before setting it as modified, avoiding unneeded "Save/Cancel" dialog.
This fixes ticket #3348.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32421 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-15 18:37:07 +00:00
Ingo Weinhold
e8cbd8db5d Use the handy B_CLOSE_ON_ESCAPE flag instead of fishing for the escape key in
DispatchMessage().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32419 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-15 17:02:21 +00:00
Philippe Saint-Pierre
3a613432c9 Center the OpenWindow. The problem is that we cannot get the real size of the window before it's actually shown on screen.. the trick I did was to show it offscreen, get the real size and move the window.
Fixes ticket #4236


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32410 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-15 03:20:07 +00:00
Philippe Saint-Pierre
6c85c7eec8 Revert r32402. Some problems are occuring in the attribute editor and I want to make sure they aren't caused by my patch before committing for good.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32409 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-15 02:33:47 +00:00
Philippe Saint-Pierre
72dace9557 Make the FindWindow closeable with the escape key.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32403 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-14 23:11:09 +00:00
Philippe Saint-Pierre
498c03bdd6 StringEditor : The TextView wasn't sending messages saying its content was modified by the user.
Symptoms :
* The Save menu item wasn't enabled
* the undo/redo menu item weren't neither

The fix I made was to commit the changes made by the user to the editor instance, by augmenting the InsertText and DeleteText from the TextView.
This fixes ticket #3507.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32402 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-14 22:44:44 +00:00
Ingo Weinhold
80abc2712f Changed the Ctrl-L behavior: The current screen is now scrolled up completely
instead of actually clearing it, so that it is still in the history.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32398 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-14 21:13:13 +00:00
Ingo Weinhold
48bbdc1c17 Fixed broken indentation (greetings to Stefano :-)).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32396 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-14 20:57:14 +00:00
Ingo Weinhold
7cd672ff50 Fixed some gcc 4 warnings.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32394 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-14 20:50:59 +00:00
Ingo Weinhold
f2b1ae9a76 Added escape key support in the find window (pirated from StyledEdit :-)).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32393 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-14 20:50:03 +00:00
Ingo Weinhold
6fc8f3cdc9 Made the "Not Found." alerts closable via escape key. Not sure, whether we need
those alerts at all, though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32389 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-14 19:31:31 +00:00
Ingo Weinhold
4aa87c0410 Adjusted variable names for the "Find {Previous,Next}" menu items.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32387 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-14 19:22:01 +00:00
Ingo Weinhold
d76009fdce * Renamed the "Find {Forward,Backward}" menu entries to "Find {Previous/Next}"
and assigned the usual shortcut keys (Cmd-[Shift-]G).
* Changed the behavior so that "Find Next" continues looking in the search
  direction. I'm somewhat undecided whether this is confusing, since the default
  (and usually desired) search direction is backward.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32386 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-14 19:17:20 +00:00
Philippe Saint-Pierre
718b394111 Enhance/fix the cascading of windows in DiskProbe. Re-uses basically the same algorithm as StyledEdit.
Should fix ticket #3911.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32382 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-14 18:11:49 +00:00
Jonas Sundström
6e59af7488 Removing unused bitmaps.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32364 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-14 15:30:26 +00:00
Alexandre Deckner
b8508f581e * Icon for Haiku3d
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32361 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-14 14:51:17 +00:00
Jonas Sundström
ce17f0d7f9 Cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32358 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-14 14:20:06 +00:00
Jonas Sundström
007e852a81 Remove DrawingTidbits.h and .cpp as per TODO comment, replacing code that relies on it. (Please try - I don't have any CD devices wired to audio. BTW, its sometimes schizoid value changing was present before these changes.)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32357 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-14 14:18:14 +00:00
Alexandre Deckner
9d841f24b3 * New icon for MediaConverter.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32354 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-14 13:35:46 +00:00
Joachim Seemer
89c0073278 Corrected some typos in the 'EULA' of InstallerApp.cpp.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32345 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-14 08:46:22 +00:00
Ryan Leavengood
037e5cee48 Implemented pretty much all of #4190. The Enter key was actually already set as
a shortcut for fullscreen, but I guess the view was processing it first. So I
just removed B_ENTER as an option for next image. Also Shift plus primary mouse
was already working for moving the image.

Also I know it was discussed at length but I still wonder if all these options
for next and previous image are overkill. Now there is no way to scroll with
the keyboard. And there isn't an easy way to go to the next image with the
mouse (menus are a pain.) So I still think some more UI tweaking is needed to
avoid constant shifting between mouse and keyboard.

Finally I also added Command-1 as a shortcut for Original Size, but it does not
work. Anyone know why?


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32343 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-14 07:11:49 +00:00
Ryan Leavengood
fd952aef9b Started cleaning up these monsters:
- Add underscore to private methods.
- Use class member initializer syntax.
- Make sure all class members are initialized, use same order as headers.
- Header reordering.
- A few other small things.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32342 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-14 05:21:14 +00:00
Fredrik Modeen
be454e17a1 - Added Chris Roberts OpenTerminal.
- Added him to Contributors
- Missing a icon thoug, any thoughts about how it should look?

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32334 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-13 22:54:05 +00:00
Jonas Sundström
570830b85b Removing unused code to reveal what's left to replace, so DrawingBits.h and .cpp can be removed as per the TODO comment in these files. Mentioned GPL code is here: http://vlc.sourcearchive.com/documentation/0.9.8a/DrawingTidbits_8cpp-source.html
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32333 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-13 22:21:56 +00:00
Bryce Groff
ce98f98948 Revert back Mount menu item. One should be able to mount disk devices that contain raw filesystems.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32311 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-13 13:55:01 +00:00
Bryce Groff
4a6a6b6d1c Updated menu changes.
* Disable Init menu for partitions that are read only, or have no media (ie. empty cdrom)
* Disable Delete menu for partitions that are devices.
* Disable Mount menu for partitions that are devices.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32307 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-13 12:23:35 +00:00
Axel Dörfler
7ec29ae9a2 * Further improved look.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32299 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-13 10:23:06 +00:00
Ryan Leavengood
8c1ad886ee - Cleanup to match coding guidelines. The header cleanup might have been
overkill.
- Updating some copyright years.
- ResizerWindow.h was not self-contained.

Some of the other files were skipped due to complexity and planned code changes.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32296 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-13 07:28:11 +00:00
Philippe Saint-Pierre
414b3c9459 Vertically align the text label in the StatusView of Cortex;
Fixes ticket #3032.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32266 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-11 23:52:10 +00:00
Axel Dörfler
b31b52339c * The deskbar replicant now memorizes its settings.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32265 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-11 19:27:10 +00:00
Axel Dörfler
113bd77e7e * Made the battery frame black, this looks better on the desktop.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32260 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-11 18:53:48 +00:00
Axel Dörfler
c52bedd831 * Fixed a deadlock that often happened when installing PowerStatus to the
Deskbar.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32259 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-11 18:48:06 +00:00
Axel Dörfler
43d5e9c5d1 * Made the window much larger by default.
* Cleaned up the about requester a bit.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32258 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-11 18:41:15 +00:00
Axel Dörfler
780e0413a1 * The device watcher now waits on a semaphore, and doesn't use snooze() anymore.
* This has the advantage that we can quit PowerStatus instantly, instead of
  having to wait for two seconds in the worst case.
* Automatic whitespace cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32257 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-11 18:34:33 +00:00
Axel Dörfler
95ea1dab5a * Improved the disabled look (in case there is no battery -- apparently, the
ACPI interface needs some more work, as it currently uses
  BATTERY_CRITICAL_STATE to report that there is no battery...).
* Cleanup of many more of Clemens' coding style violations...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32256 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-11 17:49:27 +00:00
Axel Dörfler
bd767f5a4e * Worked over the battery look a bit, looks much better now IMO.
* Made the replicant transparent (for background images).
* Fixed many of Clemen's coding style violations.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32255 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-11 17:00:31 +00:00
Jonas Sundström
8f1c695124 Use BWindow TabFrame property to find where to apply transparency.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32232 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-10 19:21:39 +00:00
Philippe Saint-Pierre
b61e1f74bf Terminal's preferences window :
* Align the controls
 * Remove a bit of gray space that was superflous
 * Size dropdown menu now includes sizes of 13, 15 or 17, if needed, avoiding the case where is shown the word "size".
   Basically, it doesn't show them unless you got at that value by using the menu entries.

   Also disables the Increase/Decrease text size menu entries if you reach the upper or lower bounds.

Partly fixes ticket #4198.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32225 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-10 13:37:06 +00:00
Axel Dörfler
f2d247d81b * Ignore shortcuts if command+control are pressed at once, no longer stealing
system shortcuts. The shortcut mechanism should be reworked to use the
  standard AddShortcut() way of doing, anyway for most things. This fixes bug
  #4208.
* Fixed warnings.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32224 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-10 13:28:50 +00:00
Joachim Seemer
010647e68c Renamed 'Configure Leaf Menu...' to 'Configure Deskbar Menu...'
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32220 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-10 08:07:47 +00:00
Jonas Sundström
b8fe3ff480 Working but somewhat dodgy tab space transparency - for humdinger as per request #3813. Enjoy!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32218 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-10 00:31:34 +00:00
Rene Gollent
eef09d5cae Factor out marker management into its own class and share an instance between the MarkerView and TextView. This allows the textview to also track all markers, and in turn make use of this information to highlight lines corresponding to breakpoints and/or the current instruction pointer.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32215 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-09 17:04:17 +00:00
Stephan Aßmus
b2c9ef19dd Replaced duplicated DriveSetup icon with zuMi's DiskUsage icon. According to
a Trac comment, Ryan prefers it. Another argument pro zuMi's version is that
it is a bit more neutral, since DiskUsage can be invoked on folders, not just
entire disks.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32206 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-08 08:53:33 +00:00
Joachim Seemer
e2d1e007c0 Applied old patch by Urias (see #3209) improving strings in Terminal's preferences. Added a few more tidbits.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32205 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-08 07:45:06 +00:00
Joachim Seemer
cfca1962f5 This doesn't solve #4185 (I'm too dumb, I've tried...). Just changed some strings to mesh with e.g. LaunchBox
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32204 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-08 06:59:00 +00:00
Stephan Aßmus
e17680d332 Another update to the credits:
* Moved a couple people up from Contributors to Maintainers, since they gained
  commit acces.
* Shock! Matt Madia and Humdinger were missing!
* Added Koki back to Website team (after consulting him first).
* Added some more well deserved special thanks!

As always, please bring anyone I missed to my attention, I don't leave anyone
out intentionally!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32192 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-07 20:27:22 +00:00
Axel Dörfler
fc11b80c6c * Applied patch by sil2100 that basically adds a "Yes to all" button, see
ticket #4059. I fixed a few style violations, though. Thanks!
* Automatic whitespace cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32161 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-06 15:00:52 +00:00
Philippe Houdoin
c4decd80b1 Fixed hardcoded AudioProducer output name.
Stephan, Axel, could one of you report this change in clockwerk/src/shared/AudioProducer.cpp too.
Clockwerk name his audio output "MediaPlayer Sound Output", which is both confusing and, well, 
semantically wrong ;-).

BTW, for MediaPlayer being able to (re)name his output after the filename playing will be great, no?


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32150 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-05 21:55:22 +00:00