Commit graph

5498 commits

Author SHA1 Message Date
fredkiefer
e25cceb710 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
gcasa
67c9a282d8 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
fredkiefer
a32ea9627a 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
fredkiefer
a503b7d0a2 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
gcasa
6e46b25f8b 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
fredkiefer
b3ce13417d 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
fredkiefer
ac563421a4 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
fredkiefer
aab9028789 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
fredkiefer
7ff581894a 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
fredkiefer
b8a916ee31 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
fredkiefer
4e2decacee 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
fredkiefer
f05f6be3b4 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
fredkiefer
339e3acbef 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
fredkiefer
83dba0e1a3 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
fredkiefer
74b20f9065 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
fredkiefer
a46f252beb 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
fredkiefer
ced527d0e5 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
fredkiefer
1d293756e0 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
fredkiefer
9540819e1f 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
fredkiefer
504b77dae9 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
rio
e00a2a29d4 * 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
fredkiefer
136c7c950c 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
fredkiefer
9a371e74bd 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
fredkiefer
347b646c1d 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
fredkiefer
ddb1df7caa 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
fredkiefer
561e8d0985 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
fredkiefer
eef9e991e9 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
fredkiefer
ddf32956fb 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
gcasa
251a90b819 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
fredkiefer
a5a21eb966 Add MacOSX 10.3 constants.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25410 72102866-910b-0410-8b05-ffd578937521
2007-08-22 12:21:57 +00:00
fredkiefer
6b8e1efd3e 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
fredkiefer
27137842ce 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
fredkiefer
6e69654253 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
gcasa
7baadf2e7c 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
fredkiefer
85b36eece3 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
fredkiefer
ddb8506a63 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
gcasa
3a1993231e * 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
gcasa
6e1fd2e328 * 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
fredkiefer
87163a8515 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
fredkiefer
cf7a64aef3 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
fredkiefer
4ad7e66022 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
fredkiefer
49e48c0ce6 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
fredkiefer
3296c3c0e5 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
fredkiefer
37a8fe73ae 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
fredkiefer
c463685ee7 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
fredkiefer
8b5ef317f7 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
rfm
9fc6122ab8 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
rfm
f585778095 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
rfm
ba6f10af24 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
rfm
c5beecb472 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