Commit Graph
37 Commits
Author SHA1 Message Date
Philippe Saint-Pierre 6478aa2744 Screenshot:
* Add extension to the filename. It gets the extension from the BMimeType related to the chosen translator.
* When you change the output format, the extension change accordingly.
* Some variable name change (variable_name -> variableName)

Ticket #3728


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32433 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-16 03:12:33 +00:00
Philippe Saint-Pierre 34e1987b61 Backgrounds Preflet : Fix the build
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32432 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-16 01:13:24 +00:00
Philippe Saint-Pierre fcafc3a5bb Screenshot command line arguments :
* make Screenshot exit gracefully if no argument is given in combination of -d parameter
* honor the delay parameter when also used with the --silent parameter



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32431 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-16 00:51:05 +00:00
Philippe Saint-Pierre 085f6827a9 Jamfile: Remove mention of BackgroundImage.cpp (removed in r32424)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32430 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-16 00:09:05 +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
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
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
Philippe Saint-Pierre 4551e0670f Add input validation in Network preflet.
Now, if the user attempt to enter an invalid IPv4 address in a field, when he clicks apply :
* the focus goes back to the invalid field
* it displays an error message into the window, at the bottom
* it beeps
* it doesn't save the change, of course

DNS #2 is consider optional.  The check is made with a regex.

This should take care of ticket #4205.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32370 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-14 15:49:07 +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
Philippe Saint-Pierre 14347545f3 Now it also considers the MimeType of symlinks targets when proposing add-ons in tracker.
This fixes ticket #2775.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32246 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-11 11:53:12 +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
Philippe Saint-Pierre ed3e75317e Load the bitmaps from resources rather than from a byte array in a
header. Fixing a TODO in MouseView.cpp

This patch was in ticket #3754. (Thanks to Axel for the reminder and 
thanks to Brecht for your help extracting the images from the header!)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30977 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-06-05 21:21:06 +00:00
Philippe Saint-Pierre de81e90c0b Replaces NodeMonitor by PathMonitor in the InfoWindow to update the calculated size of the directory when a change happen.
This implement the suggestion in ticket #2868.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30894 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-28 14:02:41 +00:00
Philippe Saint-Pierre 91ad692e57 Make ScrollToSelection() use "Contains" rather than an "Intersects" to determine if it should scroll.
This make the end key work (trigger the scroll) if the last item is overlapping the bottom boundary.

This fixes bug #1820.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30689 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-10 04:04:06 +00:00
Philippe Saint-Pierre e3bf105abf When adding a new view in Activity Monitor, make sure the new view use the same refresh interval as the already existing views, to avoid having different refresh intervals active in the monitor.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30688 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-09 23:46:44 +00:00
Philippe Saint-Pierre db75c41bf8 This adds a Text Size menu to increase/decrease the size of the font.
This follows the enhancement suggestion #3203.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30687 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-09 22:48:22 +00:00
Philippe Saint-Pierre 51e404fde5 Fixed the initial size of the DeskCalc window.
For some reason, it was resizing the window to the size of the dragger frame :-) (the frame variable was reused to a different purpose)

Fixes ticket #3896


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30679 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-09 15:22:52 +00:00
Philippe Saint-Pierre ffcedfaa29 Small tweaks regarding the scrollbars of terminal when used in fullscreen mode :
* if there is only one tab open, no functional change
* when there is two or more tabs open, display the scroll bar in the _ActiveTermView

It simply didn't make sense to not display the scrollbars in the _ActiveTermView since it was already shown in the other tabs. On the other hand, I can understand not showing the scrollbar when there is no tabview visible, as it mimic a real terminal.

That fixes bug reported in ticket #3300.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30597 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-03 03:23:17 +00:00
Philippe Saint-Pierre a7ed06cedd There was an "off by one" error in the routine used to detect if a click was inside the arrow buttons.
Reported by mmadia in ticket #3611.  Thanks!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30596 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-03 01:23:12 +00:00
Philippe Saint-Pierre 021f35891b Pulse couldn't work in mini-mode since it was reverting to normal mode in every cases except when successfully launched in deskbar
mode.

That was the cause of bug #3384.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30595 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-03 01:00:42 +00:00
Philippe Saint-Pierre f71f5e2b29 As suggested in ticket #3717, I commented out the tabView in fonts preflet. I added a BBox with fancy borders to group the controls
together, as I didn't like the view.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30594 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-02 23:44:05 +00:00
Philippe Saint-Pierre f3d5fb8624 Cosmetic change for the border around the screenshot preview, as suggested in #3367.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30593 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-02 22:58:04 +00:00
Philippe Saint-Pierre 12483e3cbf StyledEdit didn't clear the marks on the Font Styles in the font menu.
It resulted in several bogus checkmarks. (ticket #2984)

Also, The last font was always checked by default. The error was that 
instead than Marking the "left align" item, it was checking that font because 
of the wrong variable used.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30590 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-02 20:24:53 +00:00
Philippe Saint-Pierre fadee6b0dd Make the CharacterMap start with a reasonnable window size on first
launch (without saved settings). As it was before, the window took all 
the space it needed i.e. each section was on a single line.  

Maybe a better way would be to just start it zoomed.

Maybe it fixes ticket #3752.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30529 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-30 23:52:59 +00:00
Philippe Saint-Pierre 838eca4665 Allows "Icon Label Outline" to be disabled when no background bitmaps are chosen.
It complements r29190 and fixes ticket #2395.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30495 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-29 23:43:23 +00:00
Philippe Saint-Pierre b10b8f90cb Preserve Aspect Ratio of Preview in Backgrounds preflet (applies to Widescreen displays).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30466 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-27 18:18:45 +00:00
Philippe Saint-Pierre 2002f6f626 Preserve aspect ratio of the screenshot in the preview. (Ticket #3821)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30457 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-27 13:48:56 +00:00
Philippe Saint-Pierre ce5aa9dc3e Add Undo/Redo functionality to People contact manager (ticket #3824)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30453 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-27 00:51:27 +00:00
Philippe Saint-Pierre 852e061a74 Allow TextSearch add-on to be used also on volumes.
This fixes ticket #3386.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30391 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-25 04:16:09 +00:00
Philippe Saint-Pierre bb6301b264 Ask confirmation in case the application would try to overwrite an existing file.
This is fixing ticket #3815.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30390 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-24 23:48:16 +00:00
Philippe Saint-Pierre 23079ac126 Modified the DrawLatch routine to make the latch vertically centered.
* It's particularly notice-able with big fonts.
 * I did put the latch's width and height in constants.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30284 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-20 17:45:39 +00:00
Philippe Saint-Pierre fe8e2eb13d * fix for coding style violation
Thanks Axel!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30280 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-20 13:05:14 +00:00
Philippe Saint-Pierre 003491a5c1 This patch fixes the way the DefaultDecorator reads its colors
from DesktopSettings.  

It allows you to change the tab color (focused and non focused)
for new windows.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30279 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-20 12:05:07 +00:00