Commit graph

3823 commits

Author SHA1 Message Date
Richard Frith-MacDonald
ff151b6e46 Reset cursor rectangles when a view is scrolled.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25645 72102866-910b-0410-8b05-ffd578937521
2007-11-30 08:56:55 +00:00
Richard Frith-MacDonald
03a4a96a40 Update includes ... closer MacOS-X compatibility.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25635 72102866-910b-0410-8b05-ffd578937521
2007-11-29 20:28:03 +00:00
Richard Frith-MacDonald
e384fbd651 Fix for bug #20861
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25633 72102866-910b-0410-8b05-ffd578937521
2007-11-29 16:31:52 +00:00
Richard Frith-MacDonald
f135451a1a Make sure cursor rectangles are updated when view is moverd/resized
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25632 72102866-910b-0410-8b05-ffd578937521
2007-11-29 14:57:58 +00:00
Richard Frith-MacDonald
f3b17f8ff7 Fixup coordinated of cursor hotpoint for MacOS-X compatibility.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25631 72102866-910b-0410-8b05-ffd578937521
2007-11-29 11:34:41 +00:00
Fred Kiefer
1906ff781f Avoid call cycles when terminating an application.
Better NIB loading and object awakening.
Remove compiler warning caused by previous change.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25614 72102866-910b-0410-8b05-ffd578937521
2007-11-27 00:09:24 +00:00
Richard Frith-MacDonald
daadcc3536 Fixup for visibility correction in latest NSThread
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25609 72102866-910b-0410-8b05-ffd578937521
2007-11-25 14:49:23 +00:00
Gregory John Casamento
5c32995867 Moved awakeFromNib to later in the nib loading process.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25605 72102866-910b-0410-8b05-ffd578937521
2007-11-24 17:39:44 +00:00
Fred Kiefer
00a7c05d91 Add binding implementation.
Clean up table view decoding.
Move image draw code to back.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25602 72102866-910b-0410-8b05-ffd578937521
2007-11-22 12:15:50 +00:00
Fred Kiefer
56b6a0ff3e Do all bitmap image drawing via GSDrawImage:: to allow better
implementations in backends.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25600 72102866-910b-0410-8b05-ffd578937521
2007-11-22 10:47:33 +00:00
Fred Kiefer
0477e36f24 Bugs reported by gcc 4.2.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25582 72102866-910b-0410-8b05-ffd578937521
2007-11-11 18:10:42 +00:00
Fred Kiefer
440d7532e2 Add fallback for missing standard fonts.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25555 72102866-910b-0410-8b05-ffd578937521
2007-11-05 12:02:05 +00:00
Fred Kiefer
8f2ef7b3db Better support for keyed encoding to support PictureFrame.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25551 72102866-910b-0410-8b05-ffd578937521
2007-11-03 21:20:41 +00:00
Fred Kiefer
2542f6c647 Get titles of browser working for browser loaded from Gorm file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25550 72102866-910b-0410-8b05-ffd578937521
2007-11-01 14:16:19 +00:00
Fred Kiefer
5ddb7aac7c Two small patches by Wolfgang Lux <wolfgang.lux@gmail.com>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25549 72102866-910b-0410-8b05-ffd578937521
2007-11-01 10:15:35 +00:00
Fred Kiefer
a8cf727fad Add forgotten file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25537 72102866-910b-0410-8b05-ffd578937521
2007-10-29 21:19:49 +00:00
Fred Kiefer
193e31e678 Change all files to use GPL 3 and LGPL 3.
Prepare for next release.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25536 72102866-910b-0410-8b05-ffd578937521
2007-10-29 21:16:17 +00:00
Gregory John Casamento
13d360fed5 Correction for bug#21445. Reverted change to validateEditing to correct crashes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25535 72102866-910b-0410-8b05-ffd578937521
2007-10-28 05:46:13 +00:00
Fred Kiefer
3b7fca1db8 Correct flip adjustment for table header.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25533 72102866-910b-0410-8b05-ffd578937521
2007-10-27 14:38:59 +00:00
Fred Kiefer
8ecf8c2aed Patches by Wolfgang Lux <wolfgang.lux@gmail.com>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25526 72102866-910b-0410-8b05-ffd578937521
2007-10-11 20:55:21 +00:00
Gregory John Casamento
b22686df4d Added new connectors and implemented keyed coding in split view.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25520 72102866-910b-0410-8b05-ffd578937521
2007-10-07 03:04:39 +00:00
Fred Kiefer
a148bf5304 Try to handle the case better, where GNUstep manages the mini window and
the window decoration itself.
Based on patch by Stefan Bidigaray <stefanbidi@gmail.com>.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25512 72102866-910b-0410-8b05-ffd578937521
2007-10-02 21:58:47 +00:00
Fred Kiefer
ffcdd85e3b Don't return zero size, when there are no items.
Based on patch by Andreas Höschler <ahoesch@smartsoft.de>. 


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25511 72102866-910b-0410-8b05-ffd578937521
2007-10-02 21:10:40 +00:00
Fred Kiefer
621cb80663 Small fixes of previous changes.
Patch by Wolfgang Lux <wolfgang.lux@gmail.com>.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25509 72102866-910b-0410-8b05-ffd578937521
2007-10-01 19:25:05 +00:00
Fred Kiefer
0ed7d134a7 In cascadeTopLeftFromPoint: constrain the resulting point to the visible
screen. Patch by Wolfgang Lux.
-- Diese und die folgend:wqIn cascadeTopLeftFromPoint: constrain the
resulting point to the visible
screen. Patch by Wolfgang Lux.In cascadeTopLeftFromPoint: constrain the
resulting point to the visible
screen. Patch by Wolfgang Lux.ien Zeilen werden ignoriert --

M    Source/NSWindow.m
M    ChangeLog


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25506 72102866-910b-0410-8b05-ffd578937521
2007-09-30 22:02:14 +00:00
Fred Kiefer
dc55ca286e Small corrections to recent changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25481 72102866-910b-0410-8b05-ffd578937521
2007-09-13 19:13:46 +00:00
Fred Kiefer
d8f3c46725 Made working for a flipped view.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25478 72102866-910b-0410-8b05-ffd578937521
2007-09-12 12:54:38 +00:00
Fred Kiefer
e1cb2b75ef Implement -displayRectIgnoringOpacity:inContext: instead of the two old
display methods.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25477 72102866-910b-0410-8b05-ffd578937521
2007-09-11 13:13:47 +00:00
Fred Kiefer
ae19679271 Patches partly by Andreas Höschler <ahoesch@smartsoft.de>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25476 72102866-910b-0410-8b05-ffd578937521
2007-09-11 12:13:35 +00:00
Fred Kiefer
34a7efe242 Select new item when there isn't any selection.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25474 72102866-910b-0410-8b05-ffd578937521
2007-09-10 11:32:56 +00:00
Fred Kiefer
be4091bbf7 Add missing isFlipped methods to controls.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25473 72102866-910b-0410-8b05-ffd578937521
2007-09-10 11:12:44 +00:00
Fred Kiefer
b3b91343d6 Use orderFrontRegardless instead of orderFront:.
Patch by Yen-Ju Chen <yjchenx@gmail.com>


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25472 72102866-910b-0410-8b05-ffd578937521
2007-09-09 20:38:10 +00:00
Fred Kiefer
db20590f24 Add new MacOSX 10.3 methods and constants.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25470 72102866-910b-0410-8b05-ffd578937521
2007-09-09 15:30:06 +00:00
Fred Kiefer
a66882b17b Add new MacOSX 10.4 methods and constants to NSWindow. Requires
recompilation of all applications!


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25469 72102866-910b-0410-8b05-ffd578937521
2007-09-09 12:19:01 +00:00
Fred Kiefer
44c2fc3f42 Be more tolerant with traits set wrongly by backends.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25463 72102866-910b-0410-8b05-ffd578937521
2007-09-07 12:16:37 +00:00
Fred Kiefer
94ad6e600e Add ivar in_editing, which gets set, during the editing/selection of the cell.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25460 72102866-910b-0410-8b05-ffd578937521
2007-09-06 21:30:13 +00:00
Nicolas Roard
852a7aff1d * Source/NSView.m (-scrollRect:by:): reversed the coordinates
of destPoint (substract instead of add), to match OSX behaviour. 
	* Source/NSClipView.m (-setBoundsOrigin): reversed the coordinates
	of the call to scrollRect:by:, to match OSX behaviour.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25458 72102866-910b-0410-8b05-ffd578937521
2007-09-05 19:35:36 +00:00
Fred Kiefer
c5840493d5 Handle case when makeFirstResonder: fails.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25456 72102866-910b-0410-8b05-ffd578937521
2007-09-05 13:04:49 +00:00
Fred Kiefer
86264a8284 Diverse gui patches by Wolfgang Lux <wolfgang.lux@gmail.com>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25451 72102866-910b-0410-8b05-ffd578937521
2007-09-04 23:29:05 +00:00
Fred Kiefer
5e2b2a2e56 Add validation of editing for -objectValue and -attributedStringValue.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25449 72102866-910b-0410-8b05-ffd578937521
2007-09-04 13:07:04 +00:00
Fred Kiefer
b3dc35f126 Editing patches partly by Andreas Höschler <ahoesch@smartsoft.de>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25426 72102866-910b-0410-8b05-ffd578937521
2007-08-31 10:52:52 +00:00
Fred Kiefer
d33b2e8dd0 Better helper methods for cell string drawing. Implement MacOSX 10.4
methods on NSForm and NSFormCell.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25421 72102866-910b-0410-8b05-ffd578937521
2007-08-29 14:59:29 +00:00
Fred Kiefer
1a13f90156 Leave the focus transfer when a window closes to the window not the
application and improve the code there.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25420 72102866-910b-0410-8b05-ffd578937521
2007-08-28 22:01:29 +00:00
Fred Kiefer
3406816ab5 Correct values for the decoded action mask, as they changed on
2007-08-03.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25419 72102866-910b-0410-8b05-ffd578937521
2007-08-28 17:52:18 +00:00
Gregory John Casamento
b6a8d2b7e3 Added code to encodeWithCoder: in NSButtonCell to allow encoding of previous version of the class to the archive.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25415 72102866-910b-0410-8b05-ffd578937521
2007-08-25 02:36:02 +00:00
Fred Kiefer
5ac3cf358b Ignore characters below 31 in font substitution.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25404 72102866-910b-0410-8b05-ffd578937521
2007-08-21 09:04:52 +00:00
Fred Kiefer
92c7d50fe6 For the left mouse down case
make sure that the affected view is still valid after activating
the application and making the window key.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25402 72102866-910b-0410-8b05-ffd578937521
2007-08-20 13:46:03 +00:00
Fred Kiefer
5cefedc94d Set the isFunctionKey boolean correctly.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25401 72102866-910b-0410-8b05-ffd578937521
2007-08-20 13:19:28 +00:00
Gregory John Casamento
66ae6bd406 Remove calls to debug method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25399 72102866-910b-0410-8b05-ffd578937521
2007-08-20 01:19:18 +00:00
Fred Kiefer
c7caea4bd5 Only test for modal window when it isn't nil.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25398 72102866-910b-0410-8b05-ffd578937521
2007-08-19 18:01:45 +00:00
Fred Kiefer
ce5081b2b5 Add MacOSX 10.3 methods and constants.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25396 72102866-910b-0410-8b05-ffd578937521
2007-08-16 14:47:03 +00:00
Gregory John Casamento
723d5276c0 * Source/NSManagedObjectContext.h
* Source/NSManagedObjectContext.m: Add managed object context.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25392 72102866-910b-0410-8b05-ffd578937521
2007-08-15 03:25:23 +00:00
Gregory John Casamento
e806acc75d * Headers/AppKit/NSController.h: Added new ivar.
* Headers/AppKit/NSObjectController.h: Added new ivar.
        * Source/GNUmakefile: Added NSManagedObjectContext.[hm].
        * Source/NSController.m: Add keys for nib encoding/decoding.
        * Source/NSObjectController.m: Add keys for nib encoding/decoding.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25391 72102866-910b-0410-8b05-ffd578937521
2007-08-15 03:24:37 +00:00
Fred Kiefer
37edf8c87d Add new method for shadow.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25388 72102866-910b-0410-8b05-ffd578937521
2007-08-14 22:37:08 +00:00
Fred Kiefer
1a13394fea Let the font manager handle the font convertion for font subsitution.
Correct printing for the case where we know the page range.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25386 72102866-910b-0410-8b05-ffd578937521
2007-08-12 20:12:19 +00:00
Fred Kiefer
f6460ab632 First attempt at font attribute fixing.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25384 72102866-910b-0410-8b05-ffd578937521
2007-08-09 09:39:50 +00:00
Fred Kiefer
1778c7aef1 Clean up for font descriptor and missing MacOSX 10.4 methods for NSFont.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25383 72102866-910b-0410-8b05-ffd578937521
2007-08-08 11:05:19 +00:00
Fred Kiefer
7a9639a359 Implement userSpaceScaleFactor plus general cleanup.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25382 72102866-910b-0410-8b05-ffd578937521
2007-08-08 08:04:11 +00:00
Fred Kiefer
2e12f2a37e Adopt to changed values for _keyEquivalentModifierMask.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25380 72102866-910b-0410-8b05-ffd578937521
2007-08-07 15:56:03 +00:00
Fred Kiefer
0572190f62 Implement ticks for level indicator. Code by Christopher Elsmore
<elsmorian@gmail.com>.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25378 72102866-910b-0410-8b05-ffd578937521
2007-08-03 17:19:26 +00:00
Fred Kiefer
b0d6cd3485 Add MacOSX 10.4 methods and constants to NSEvent. Resort event types to
be binary compatible to MacOSX.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25377 72102866-910b-0410-8b05-ffd578937521
2007-08-03 11:27:41 +00:00
Richard Frith-MacDonald
3a6d0536cb Don't check for hung apps ... MacOS-X doesn't.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25376 72102866-910b-0410-8b05-ffd578937521
2007-08-03 07:54:33 +00:00
Richard Frith-MacDonald
7ff31b1e24 Cleanup/restructuring of last changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25375 72102866-910b-0410-8b05-ffd578937521
2007-08-03 06:07:56 +00:00
Richard Frith-MacDonald
a3ed143043 Check process exists if possible.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25373 72102866-910b-0410-8b05-ffd578937521
2007-08-02 10:32:08 +00:00
Richard Frith-MacDonald
fe6d9402d0 Don't raise an alert panel if unable to contact an app while checking launched
applications ... simply remove the app.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25370 72102866-910b-0410-8b05-ffd578937521
2007-08-02 08:39:49 +00:00
Richard Frith-MacDonald
d35f7c179c Keep launched applications more up to date when apps crash.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25369 72102866-910b-0410-8b05-ffd578937521
2007-08-02 07:55:31 +00:00
Fred Kiefer
2d859c1d21 Add MacOSX methods to NSComboBox and constants to NSColorPanel.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25366 72102866-910b-0410-8b05-ffd578937521
2007-07-31 21:42:30 +00:00
Fred Kiefer
0f4badf295 Add NSColorSpace and some new methods for NSColor.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25365 72102866-910b-0410-8b05-ffd578937521
2007-07-31 20:50:44 +00:00
Fred Kiefer
94a4f0fd3d Add MacOSX 10.3 methods and constants.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25362 72102866-910b-0410-8b05-ffd578937521
2007-07-28 13:41:18 +00:00
Fred Kiefer
7708759dc2 Add methods and ivar for box type.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25360 72102866-910b-0410-8b05-ffd578937521
2007-07-27 14:07:12 +00:00
Fred Kiefer
d9445dfd53 Add MacOSX 10.4 methods and constants.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25359 72102866-910b-0410-8b05-ffd578937521
2007-07-26 17:55:36 +00:00
Fred Kiefer
d41899ac82 Add error presenting methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25354 72102866-910b-0410-8b05-ffd578937521
2007-07-25 14:16:30 +00:00
Fred Kiefer
5a752a1db1 Add MacOSX 10.4 method declarations.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25351 72102866-910b-0410-8b05-ffd578937521
2007-07-24 08:40:58 +00:00
Fred Kiefer
4c78b5378d Correct line endings and coding style.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25350 72102866-910b-0410-8b05-ffd578937521
2007-07-23 17:04:45 +00:00
Fred Kiefer
22f8170973 Add some 10.4 methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25348 72102866-910b-0410-8b05-ffd578937521
2007-07-23 16:29:29 +00:00
Fred Kiefer
f83e9a7e81 Add new MacOSX method, plus cleanup.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25338 72102866-910b-0410-8b05-ffd578937521
2007-07-18 09:39:50 +00:00
Fred Kiefer
8da1677ce3 Attempt to handle bounds setting on NSView better.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25308 72102866-910b-0410-8b05-ffd578937521
2007-07-09 16:42:32 +00:00
Fred Kiefer
988118d5e0 Try to better key encode the contents of the cell.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25305 72102866-910b-0410-8b05-ffd578937521
2007-07-04 15:54:40 +00:00
Fred Kiefer
239550b545 Missing changes from last commit.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25304 72102866-910b-0410-8b05-ffd578937521
2007-07-04 12:36:21 +00:00
Fred Kiefer
3546df9ca3 Make _boundsMatrix optional.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25303 72102866-910b-0410-8b05-ffd578937521
2007-07-04 11:45:15 +00:00
Fred Kiefer
a7f9a308f4 Report the text field as being flipped.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25302 72102866-910b-0410-8b05-ffd578937521
2007-07-04 10:10:42 +00:00
Fred Kiefer
414b753f25 Some support for bullet echoing.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25297 72102866-910b-0410-8b05-ffd578937521
2007-06-30 11:11:04 +00:00
Fred Kiefer
9bfccedf81 Ignore the frame origin when computing the clip area.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25295 72102866-910b-0410-8b05-ffd578937521
2007-06-28 17:31:17 +00:00
Fred Kiefer
887489b3f0 Ignore the frame origin when computing the bounds.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25293 72102866-910b-0410-8b05-ffd578937521
2007-06-27 12:59:39 +00:00
Fred Kiefer
98120cfcbb Rework of display* mechanism to use new MacOSX10.4 method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25291 72102866-910b-0410-8b05-ffd578937521
2007-06-26 16:46:50 +00:00
Gregory John Casamento
a9e9ebde19 * Headers/AppKit/NSObjectController.h
* Source/NSObjectController.m: Changed "class" to "aClass" to 
	avoid issues with ObjC++ compilation in both the header and the
	.m file for consistency.  This change was suggested by Rob Burns
	and he provided a short patch via IRC.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25290 72102866-910b-0410-8b05-ffd578937521
2007-06-23 14:45:47 +00:00
Richard Frith-MacDonald
44153d95a4 and commit the file I really meant to commit.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25286 72102866-910b-0410-8b05-ffd578937521
2007-06-22 13:29:45 +00:00
Richard Frith-MacDonald
e05c982cd9 Revert file accidentally committed
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25285 72102866-910b-0410-8b05-ffd578937521
2007-06-22 13:28:14 +00:00
Richard Frith-MacDonald
2dedd774e2 Attempt to improve frame and bounds setting.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25284 72102866-910b-0410-8b05-ffd578937521
2007-06-22 09:59:17 +00:00
Fred Kiefer
4835a35c1c Add new MacOSX methods. Code mostly by Nikolaus Schaller.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25270 72102866-910b-0410-8b05-ffd578937521
2007-06-18 21:08:54 +00:00
Fred Kiefer
86d97a419f Moved all printing output code to NSGraphicsContext.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25268 72102866-910b-0410-8b05-ffd578937521
2007-06-18 12:49:04 +00:00
Sergii Stoian
fe8dd53463 * Source/NSSavePanel.m: ([_initWithoutGModel]) Change propeties of
buttons: remove setting buttons type (by default
  NSMomentaryPushInButton); refuse first responder for buttons.
  Set setImageDimsWhenDisabled:NO to image button. Cleanup.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25225 72102866-910b-0410-8b05-ffd578937521
2007-06-07 00:22:31 +00:00
Sergii Stoian
6d314f7223 * Source/NSBrowser.m: ([drawWithFrame:inView:]) pass inset rect by
1 to drawInteriorWithFrame:.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25224 72102866-910b-0410-8b05-ffd578937521
2007-06-06 23:56:26 +00:00
Richard Frith-MacDonald
436bd9b029 Fix error appending path components.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25218 72102866-910b-0410-8b05-ffd578937521
2007-06-03 07:47:10 +00:00
Richard Frith-MacDonald
7f736e9a2b Restrict scrolled rectangle to the bounds of the view
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25203 72102866-910b-0410-8b05-ffd578937521
2007-05-28 05:49:06 +00:00
Fred Kiefer
249fa82991 Only set and use GSModalRunDelegate and GSModalRunSelector values when
not nil.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25184 72102866-910b-0410-8b05-ffd578937521
2007-05-23 13:55:10 +00:00
Richard Frith-MacDonald
581bae3a8d Fix error in last change
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25180 72102866-910b-0410-8b05-ffd578937521
2007-05-17 05:26:09 +00:00
Richard Frith-MacDonald
d1ca91a7fa Tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25176 72102866-910b-0410-8b05-ffd578937521
2007-05-16 16:40:57 +00:00
Riccardo Mottola
63a7dfcef5 added NSFontDescriptor, implementation and related methods
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25174 72102866-910b-0410-8b05-ffd578937521
2007-05-16 15:50:08 +00:00
Richard Frith-MacDonald
59cc6718c4 Minor MacOS-0X comnpatibility tweak.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25169 72102866-910b-0410-8b05-ffd578937521
2007-05-16 04:03:42 +00:00
Xavier Glattard
0b148d2db8 Fix thread locking/unlocking without C99-isms
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25146 72102866-910b-0410-8b05-ffd578937521
2007-05-12 15:52:45 +00:00
Riccardo Mottola
ecaea6d777 removed some C99-isms
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25137 72102866-910b-0410-8b05-ffd578937521
2007-05-10 20:25:15 +00:00
Riccardo Mottola
b0c18f717c removed some C99-isms
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25136 72102866-910b-0410-8b05-ffd578937521
2007-05-10 20:19:07 +00:00
Riccardo Mottola
53d519dbbc removed some C99-isms
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25135 72102866-910b-0410-8b05-ffd578937521
2007-05-10 20:10:43 +00:00
Richard Frith-MacDonald
3c63d253cf Simplification of messy nlocking code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25134 72102866-910b-0410-8b05-ffd578937521
2007-05-10 15:41:54 +00:00
Richard Frith-MacDonald
daa056545a Small fixups and comments added.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25131 72102866-910b-0410-8b05-ffd578937521
2007-05-10 10:44:39 +00:00
Riccardo Mottola
b2d3176408 removed some C99-isms
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25130 72102866-910b-0410-8b05-ffd578937521
2007-05-08 21:09:37 +00:00
Fred Kiefer
150f58a492 Just white space clean-up.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25094 72102866-910b-0410-8b05-ffd578937521
2007-04-29 11:29:33 +00:00
Fred Kiefer
3b4aca0261 Added dragging patch by Yen-Ju Chen.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25092 72102866-910b-0410-8b05-ffd578937521
2007-04-27 18:54:58 +00:00
Fred Kiefer
cc412d3a43 Set the background colour of the text object and make it draw its
background.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25091 72102866-910b-0410-8b05-ffd578937521
2007-04-27 14:15:39 +00:00
Fred Kiefer
01e550219a Corrected handling of _allowsEmptySelection in noteNumberOfRowsChanged.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25070 72102866-910b-0410-8b05-ffd578937521
2007-04-24 19:09:10 +00:00
Adam Fedor
c63cdce5c1 Version 0.12.0
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25037 72102866-910b-0410-8b05-ffd578937521
2007-04-13 20:59:36 +00:00
Xavier Glattard
3f9af34a0f Implements threaded and blocking NSAnimation modes and some other changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24998 72102866-910b-0410-8b05-ffd578937521
2007-04-12 17:01:23 +00:00
Richard Frith-MacDonald
f7850daa26 Compensate for bugfix in NSAffineTransform ... not sure this is correct.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24988 72102866-910b-0410-8b05-ffd578937521
2007-04-11 17:46:12 +00:00
Gregory John Casamento
c423ef6b51 * Source/NSAnimation.m: Removed static INLINE declaration from
nsanimation_progressMarkSorter function so that it will compile
	properly on versions of gcc prior to 4.1.2.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24972 72102866-910b-0410-8b05-ffd578937521
2007-04-10 02:42:47 +00:00
Fred Kiefer
e3a40d5811 Small error corrections for printing.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24971 72102866-910b-0410-8b05-ffd578937521
2007-04-10 00:30:53 +00:00
Xavier Glattard
8ae3830600 Implementation of NSAnimation and NSViewAnimation classes :
- only NSAnimationNonBlocking mode is implemented
- runLoopModesForAnimating is not used
GSAnimator class is in alpha stage : interface may be changed


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24968 72102866-910b-0410-8b05-ffd578937521
2007-04-05 08:52:05 +00:00
Fred Kiefer
7488b299c7 GUI part of the graphics context rewrite.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24966 72102866-910b-0410-8b05-ffd578937521
2007-04-04 14:33:39 +00:00
Richard Frith-MacDonald
ba86814bba Fixed accidentally deleted line
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24963 72102866-910b-0410-8b05-ffd578937521
2007-04-03 06:30:50 +00:00
Richard Frith-MacDonald
3789a069f6 Fixes for bug #18494
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24962 72102866-910b-0410-8b05-ffd578937521
2007-04-02 12:53:54 +00:00
Richard Frith-MacDonald
561b06efe1 Add attributed string constants for Riccardo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24932 72102866-910b-0410-8b05-ffd578937521
2007-03-26 13:37:33 +00:00
Richard Frith-MacDonald
efa7803d40 simplify by removing low level code
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24929 72102866-910b-0410-8b05-ffd578937521
2007-03-23 23:28:05 +00:00
Fred Kiefer
d00b0fcb89 Extract cell border drawing into helper method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24928 72102866-910b-0410-8b05-ffd578937521
2007-03-23 22:34:02 +00:00
Sergii Stoian
c77c8ab90b * Source/NSAlert.m: (-_initWithoutGModel): Set selected text
background color to [NSColor controlLightHighlightColor].



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24927 72102866-910b-0410-8b05-ffd578937521
2007-03-23 11:33:37 +00:00
Fred Kiefer
a7bb06a38a Replace deprecated calls to NSAffineTransform
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24925 72102866-910b-0410-8b05-ffd578937521
2007-03-23 11:03:00 +00:00
Fred Kiefer
77332bb584 Corrected and cleaned up focus ring drawing for cell classes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24924 72102866-910b-0410-8b05-ffd578937521
2007-03-22 17:47:56 +00:00
Richard Frith-MacDonald
a71c8a1b9a Affine transfor cleanups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24922 72102866-910b-0410-8b05-ffd578937521
2007-03-22 16:41:12 +00:00
Fred Kiefer
a7a164262c Correct the implementation of the method gState and moved code a bit to
avoid warning.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24910 72102866-910b-0410-8b05-ffd578937521
2007-03-20 23:47:27 +00:00
Fred Kiefer
dfe4cd8073 Use correct graphic context for print operations.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24898 72102866-910b-0410-8b05-ffd578937521
2007-03-19 13:25:46 +00:00
Fred Kiefer
b6fd63f8bd Improve handling of rotated bounds.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24893 72102866-910b-0410-8b05-ffd578937521
2007-03-17 22:14:55 +00:00
Nicola Pero
21ab0deca9 Uninstall compatibility headers upon uninstall
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24886 72102866-910b-0410-8b05-ffd578937521
2007-03-17 16:37:48 +00:00
Xavier Glattard
36e8d2a357 Add NSAnimation class from mySTEP
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24878 72102866-910b-0410-8b05-ffd578937521
2007-03-15 20:33:36 +00:00
Fred Kiefer
7d1631a845 Set _isIdentity for all methods changing the matrix of the affine
transform.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24854 72102866-910b-0410-8b05-ffd578937521
2007-03-12 21:20:38 +00:00
Fred Kiefer
b7cb6503ee Different patches by Andreas Höschler <ahoesch@smartsoft.de>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24846 72102866-910b-0410-8b05-ffd578937521
2007-03-11 17:07:44 +00:00
Nicola Pero
df2318e0d9 Use versioned resource in gnustep-gui. Lots of bundles and resources still unversioned though
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24844 72102866-910b-0410-8b05-ffd578937521
2007-03-09 23:33:58 +00:00
Sergii Stoian
139831b3fb * Source/GSSlideView.m: (- _slideFrom:to:): Calcuate number of
steps wrt image size.
* Source/GSDragView.m: (- slideDraggedImageTo:): Ditto.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24831 72102866-910b-0410-8b05-ffd578937521
2007-03-09 00:21:52 +00:00
Fred Kiefer
816c4db82c Move view specifc flags to NSView.h and ad new flag for NSWindow. This
change requires a complete re-compile of GNUstep and all applications!!!


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24821 72102866-910b-0410-8b05-ffd578937521
2007-03-08 12:52:01 +00:00
Fred Kiefer
210c327204 When requesting a tiff representation for an image where there is no
bitmap representation, create one. Idea by Renaud Molla
<renaud.molla@wanadoo.fr>.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24820 72102866-910b-0410-8b05-ffd578937521
2007-03-08 09:35:09 +00:00
Fred Kiefer
f8969f62c9 Add remaining file type change by Wolfgang Lux.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24808 72102866-910b-0410-8b05-ffd578937521
2007-03-07 23:31:07 +00:00
Fred Kiefer
4df49881f2 Change values for NSTabViewType enumerator.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24806 72102866-910b-0410-8b05-ffd578937521
2007-03-07 23:15:07 +00:00
Fred Kiefer
a0c83e671f Document print patch by Wolfgang Lux.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24800 72102866-910b-0410-8b05-ffd578937521
2007-03-07 14:38:51 +00:00
Nicola Pero
58edc1e5db Added comments about puzzling [NSFontManager -delegate] which is never used anywhere. Indented a few lines
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24792 72102866-910b-0410-8b05-ffd578937521
2007-03-07 02:47:11 +00:00
Richard Frith-MacDonald
ac18631d40 use gpbs auto stop
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24790 72102866-910b-0410-8b05-ffd578937521
2007-03-06 21:46:16 +00:00
Nicola Pero
650349f4e3 Make the services filesystem lookup code a bit more robust
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24786 72102866-910b-0410-8b05-ffd578937521
2007-03-06 18:22:14 +00:00
Fred Kiefer
9c36a184cc New MacOS 10.4 methods for NSView plus some clean up and corrections.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24783 72102866-910b-0410-8b05-ffd578937521
2007-03-06 16:11:45 +00:00
Richard Frith-MacDonald
2e58ecd05e Fixup code locatting user domain library directory.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24777 72102866-910b-0410-8b05-ffd578937521
2007-03-06 06:17:14 +00:00
Richard Frith-MacDonald
4c3b12c83a Move NSSpellServer to base for macosx compatibility
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24760 72102866-910b-0410-8b05-ffd578937521
2007-03-04 15:28:58 +00:00
Gregory John Casamento
9194d2c50f 2007-03-03 14:51-EST Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSDocument.m: Added change suggested by Wolfgang Lux.  This
        corrects a potential mismatch between the document type and the type
        specified in the panel.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24758 72102866-910b-0410-8b05-ffd578937521
2007-03-03 19:53:23 +00:00
Fred Kiefer
3a4a94238e Add scroll page up and down methods to NSTextView and NSScrollView.
Patch by Wolfgang Lux <wolfgang.lux@gmail.com>.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24732 72102866-910b-0410-8b05-ffd578937521
2007-02-28 22:10:47 +00:00
Fred Kiefer
d4fe1a2399 Add support to auto hide scrollers.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24730 72102866-910b-0410-8b05-ffd578937521
2007-02-28 17:53:43 +00:00