Commit Graph

1510 Commits

Author SHA1 Message Date
DarkWyrm
761f20e920 Jamfile code cleanup, also courtesy of Axel
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19751 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-08 23:42:37 +00:00
DarkWyrm
8082d6d0d3 Fixed R5 build target. Thanks to Axel for the Jamfile help. :^)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19749 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-08 23:10:08 +00:00
Bruno G. Albuquerque
4104cd261d Ops...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19736 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-07 16:12:39 +00:00
Bruno G. Albuquerque
3fbb09f87f - Cleaned up soeveral Copyright strings.
- Shuffled the resource app_flags entry as it somehow fixed corrupt version/description;icons for several files here. It seems this entry must be the last one before the icons.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19735 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-07 16:03:13 +00:00
DarkWyrm
08cf72ce97 Initial checkin of a resource editor similar in style to QuickRes -- Resourcer's code is too difficult to maintain and the others on BeBits are either not good or the author could not be contacted.
This is currently a work-in-progress - right now it can only view resources and attributes.
Haiku target builds but R5 is broken because of a linking issue that will hopefully be resolved shortly.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19734 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-06 21:18:16 +00:00
Axel Dörfler
2a3ed81cf6 Our copyright string now says 2007 - I also updated it so that we don't have to
do this every year, just in case ;-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19715 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-05 20:27:20 +00:00
DarkWyrm
2d14dc1d67 Style fix, courtesy of Ingo (man, yesterday was bad!)
GCC4 compilation fix, thanks to Frederik Ekdahl


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19701 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-04 22:16:09 +00:00
DarkWyrm
8eb93fe5e3 Style fixes. I'm pretty sure I got everything, too. :^)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19691 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-03 21:57:42 +00:00
DarkWyrm
dc887e5ed2 Whoops! Forgot to add these files to the repo in the r19681. Thanks for pointing this out, Marcus!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19685 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-03 02:38:05 +00:00
DarkWyrm
cb8f258f72 Close the spam server on quit -- this remedies the problem of a zombie spam server after training it on a message
Fixed a label in an alert, too


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19684 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-02 22:21:59 +00:00
DarkWyrm
2e26008ea2 Removed an ugly hack - using a BTextView for a BTextControl
Fixed font sensitivity
Removed the now-unsused DialogTextView class
Escape key now closes the window (for free, from AutoTextControl class)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19681 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-02 21:10:22 +00:00
DarkWyrm
22abf79105 Tweaked a couple of menu labels to make more sense under Haiiku
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19679 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-02 19:48:43 +00:00
Michael Pfeiffer
3963402ca5 Fixed selection handling bug if zoom level is not 1.0. Zoom factor has to be calculated in Setup() otherwise the selection rectangle uses the wrong zoom level.
Bug was introduced in revision 19253. 
@Ryan: Can you please verify that this fix does not introduce another bug?


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19648 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-28 18:49:01 +00:00
Stefano Ceccherini
6e194a72e7 only lock after checking the other conditions. Also changed iteration
to remove menu items with a single RemoveItems() call. Axel, I hope you 
don't mind.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19600 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-22 07:34:05 +00:00
Stefano Ceccherini
9f0ebbfcda Call Window()->Show() in DetachedFromWindow() only if we were dragging, thus correctly mirroring what done in AttachedToWindow(). This caused the empty menu window in deskbar (trac is down, can't remember the right bug number), but I don't know why it happened only in haiku. Maybe in beos the looper->Lock() call never succeeded, due to slightly different locking strategy ? Axel, could you review this change ?
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19589 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-21 14:32:22 +00:00
Ryan Leavengood
1974232147 Changed the delay on hiding the cursor in fullscreen to 2 seconds (much
better...not sure what I was thinking with 5 seconds before.) I also fixed a
few other issues related to this.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19578 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-20 21:30:56 +00:00
DarkWyrm
6c3f8a1f11 Removed some disabled code
Re-enabled the toolbar popups until I can get a chance to implement split toolbar buttons. This one's for you, Axel. :^)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19577 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-20 21:28:36 +00:00
Ryan Leavengood
6346c8941c Implemented Stephan's previous TODO (in an svn commit message) to hide the
cursor after a delay when in fullscreen mode. I set the delay to 5 seconds. In
addition I make sure the ShowImage window is the active window before trying to
hide the cursor, because otherwise there is a lot of cursor flickering if you
change workspaces.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19569 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-20 01:08:55 +00:00
Ryan Leavengood
6504001302 Added support to ShowImage for sending an image to the Trash by scripting
Tracker. For now it only works when the delete key is pressed. I suppose a menu
item might be useful, but I can do that later if people really want it :)

When the image is trashed the next image in the directory is opened. If the
trashed image is the last in the directory the window is closed.

The code seems pretty solid as I even tested it with Tracker not running. It
also works fine in R5 (in fact that is where I tested it.)

As shown I would prefer to use the Tracker headers rather than redefining the
constant used for the trashing message. I'm already using Tracker's app MIME
type from the private headers.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19564 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-19 08:01:30 +00:00
DarkWyrm
6f9f14ec88 No more Program menu until R2... grumble, grumble
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19559 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-19 00:18:14 +00:00
DarkWyrm
6a7e1e9a2f "Options" -> "Preferences"
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19544 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-17 21:55:03 +00:00
Michael Pfeiffer
0acb8cc41c Variable width2 used at wrong place.
Image size too small by one when passed to ResizerWindow.
Use fractional arithmetic for aspect ratio calculations to avoid rounding errors.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19542 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-17 18:18:29 +00:00
Jérôme Duval
c72e5d2fdf fix the build
renamed "const float width" to "const float width2" as width is a parameter, please check


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19541 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-17 16:42:03 +00:00
Michael Pfeiffer
d9f6762d46 Integrated "resize" feature from Zetas version of ShowImage, however used our bilinear scaler instead of Zetas implementation and made ResizerWindow font sensitive and removed the radio buttons with predefined sizes. Kudos to Bernd Korz for providing the ShowImage Zeta source code under MIT license.
Moved menu item "As Desktop Background" into "Image" menu from "View" menu. 
Removed unused metod ShowImageWindow::Zoom(...).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19540 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-17 15:18:32 +00:00
DarkWyrm
9052eb4703 Forgot to add the View menu to the menu bar
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19531 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-16 04:41:36 +00:00
DarkWyrm
ac2c6cebcd Removed the 'Beginner' mode settings from the program options and the places that relied on them
Fixed a crash when pasting text into the signature textview after making a new one
Added a few more accelerators some alerts


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19530 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-16 04:37:23 +00:00
DarkWyrm
e4c4753160 Made a lot of changes to more closely conform to the HIG:
Find window closes after hitting Enter
Removed unnecessary 'Close' item from signature window
Fixed signature alert capitalization and added accelerators
Reorganized menus to make more sense
Removed an extra 'Move to Trash' menu item
Removed the gross Alt+Shift+M hack - 1 accelerator per function
Disabled the right-click popup menu for the Spam, Reply, and Forward buttons. Specific reasons for this in the affected code
Removed outdated Mail.cpp revision from the about box -- build date should be sufficient
Label fix in preferences window



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19529 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-16 00:48:38 +00:00
Stephan Aßmus
664c21b381 * don't always forget the last export mode in SavePanel
(was only saved when switching from "export" to "save")
* make use of drop index when dragging and dropping paths in
  list view


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19519 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-15 09:56:47 +00:00
Ryan Leavengood
252f476782 Added some needed stdio.h includes. I don't know what magic was used to compile
these for other people, but they wouldn't compile for me when building the
app_server test environment.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19479 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-13 00:15:56 +00:00
Stefano Ceccherini
4a765b5f26 moved some variables around
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19457 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-11 15:58:29 +00:00
Bruno G. Albuquerque
a439fba59d Fix build under Linux/GCC4.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19456 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-11 12:15:59 +00:00
Stefano Ceccherini
f2b50593a8 renamed pfd to gPfd as it's a global variable, fixed indentation in
TermView.cpp, other style changes


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19455 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-11 11:13:06 +00:00
Jérôme Duval
3d8771eeef commit for Stefano
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19444 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-07 17:47:59 +00:00
Stefano Ceccherini
b19041249d got rid of the tty_name global
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19441 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-07 11:23:31 +00:00
Stefano Ceccherini
a675fc2864 Let go what I said about bug #890. This was the real problem
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19420 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-04 15:37:51 +00:00
Stephan Aßmus
64dd737cf3 * fixed the dirty canvas when Icon-O-Matic is started in Haiku
(and also improved performance of rendering icons, the background
  was cleared for no reason on each Draw() call) However there
  must be a bug still in the app_server which causes GetClippingRegion()
  to return an out-of-date clipping region (R5 has the very same bug
  though)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19413 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-02 11:12:12 +00:00
Stefano Ceccherini
d75bff02b3 fixed the build under haiku
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19404 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-01 08:25:48 +00:00
Philippe Houdoin
b901ec2715 Stop generating "xxxx, 0 second" uptime string.
How smallish and useless contribution I could do...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19352 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-21 21:05:35 +00:00
Stephan Aßmus
464cd15f0a * you can now assign styles to shapes that had none assigned before
* Transformer menu is correctly enabled/disabled when a shape is selected


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19351 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-21 20:41:12 +00:00
Stephan Aßmus
84153c7a0c * various UI improvements and fixes
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19347 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-21 09:37:50 +00:00
Axel Dörfler
2c3cd1b95d Added unrar 3.6.7 to the repository. Most changes to the original versions done
by Ioan Molnar - thanks!
Looks like our mbstowcs() function is broken, BTW - it needs to be disabled when
used under Haiku.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19341 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-20 18:53:55 +00:00
Ryan Leavengood
e756752ec7 Added myself to the developers list in About Haiku.
I'm not quite sure what the difference between a developer and contributor is,
but I hope I qualify as a developer. If not feel free to move my name.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19331 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-20 03:12:22 +00:00
Stephan Aßmus
fae6fb6d69 * fixed stupid bug that prevented saving in native format
* fixed bug in RDefExporter
* improved zooming, icon is now centered at program start


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19328 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-19 10:13:23 +00:00
Stephan Aßmus
c9ed0088c9 use B_RGBA32 icons for displaying stuff like "New Terminal", "Launch Tracker"...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19327 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-19 00:40:35 +00:00
Stephan Aßmus
51b55f31e4 * more resemblence of a maple leaf I hope
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19324 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-18 22:35:24 +00:00
Stephan Aßmus
435b2897a3 * use the application icon instead of a hardcoded icon in the CalcView,
so now the nice vector icon gets displayed



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19315 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-17 10:43:43 +00:00
Stephan Aßmus
76788886af * use B_RGBA32 icons when compiled for Haiku
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19312 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-17 09:51:33 +00:00
Stephan Aßmus
d63a05d32b * added support for the editing icons comming in via
B_EDIT_ICON_DATA messages, doesn't load an icon yet
  (won't look into it within the next 10 hours... ;-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19311 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-17 09:44:39 +00:00
Stephan Aßmus
774831e7c2 big clean up of Save and Export stuff:
* implemented SavePanel that let's you chose the Export format
* introduced DocumentSaver class and several implementations
* Document no longer remembers any entry_refs, but a native
  and export document saver, for other export formats than
  HVIF, it is no longer necessary to go through the file panel,
  simply invoking Export will do
* this makes it much easier to have a custom saver that sends
  a message with an HVIF icon to another app instead of saving
  to a file
* cleaned up File menu
* last used export format is persistent


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19307 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-17 01:37:36 +00:00
Axel Dörfler
a0c952adf2 Fixed two warnings (caused by the layout extensions).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19304 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-16 13:02:12 +00:00