Richard Frith-MacDonald
3d4657d03a
match change to base library.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27582 72102866-910b-0410-8b05-ffd578937521
2009-01-12 18:39:23 +00:00
Gregory John Casamento
c0cc549d52
More documentation.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27580 72102866-910b-0410-8b05-ffd578937521
2009-01-12 15:20:03 +00:00
Fred Kiefer
5ea2410eb2
Replace the key equivalent when it was set wrongly by Gorm.
...
Patch by Wolfgang Lux <wolfgang.lux@gmail.com>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27579 72102866-910b-0410-8b05-ffd578937521
2009-01-12 14:02:05 +00:00
Gregory John Casamento
dfa6ca0301
* Source/GSNibLoading.m: Reorganization and simplification of
...
nib loading logic in NSIBObjectData. Also documentation for
NSIBObjectData and NSClassSwapper.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27575 72102866-910b-0410-8b05-ffd578937521
2009-01-12 01:44:39 +00:00
Gregory John Casamento
d2ad402045
* Source/NSToolbarItem.m: Added _sendAction: method to send
...
the action with the NSToolbarItem instance as the sender
when the toolbar item is represented by an NSMenuItem.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27573 72102866-910b-0410-8b05-ffd578937521
2009-01-10 20:46:39 +00:00
Gregory John Casamento
3bab225349
* Source/NSMenu.m: Correction to previous change. Update when
...
setAutoenableItems: value is changed. Altered update to
enable menu items when autoenable is not being performed.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27569 72102866-910b-0410-8b05-ffd578937521
2009-01-10 04:03:12 +00:00
Gregory John Casamento
864092095d
* Source/NSMenuItemCell.m: encode menu item in encodeWithCoder:
...
method.
* Source/NSMenu.m: Add code to handle NSNoAutoenable
* Source/NSPopUpButtonCell.m: Decode/encode selected index
* Source/NSPrintInfo.m: Set orientation after the page size is
known, since it has no effect when done earlier.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27568 72102866-910b-0410-8b05-ffd578937521
2009-01-10 03:49:43 +00:00
Richard Frith-MacDonald
2d97996e15
minor bugfix
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27563 72102866-910b-0410-8b05-ffd578937521
2009-01-09 09:20:42 +00:00
Fred Kiefer
5d7b8487b9
Remove the NSWindow+Toolbar files and merge their contents into other
...
files.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27562 72102866-910b-0410-8b05-ffd578937521
2009-01-09 09:14:13 +00:00
Richard Frith-MacDonald
1326dfa1b4
Minor theme fixups
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27560 72102866-910b-0410-8b05-ffd578937521
2009-01-08 16:13:23 +00:00
Richard Frith-MacDonald
fe56a68e5e
Fix nil pointer exception
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27559 72102866-910b-0410-8b05-ffd578937521
2009-01-08 11:30:16 +00:00
Fred Kiefer
ec783dc3b3
Revert the relationship between NSToolbar and GSToolbarView,
...
now the toolbar retains the view.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27550 72102866-910b-0410-8b05-ffd578937521
2009-01-07 08:49:53 +00:00
Richard Frith-MacDonald
aca8c4b62c
Improve color control for theming
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27546 72102866-910b-0410-8b05-ffd578937521
2009-01-07 06:50:14 +00:00
Fred Kiefer
5fcaad0723
No longer resize the content view, when a toolbar is added or removed.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27541 72102866-910b-0410-8b05-ffd578937521
2009-01-06 22:10:18 +00:00
Richard Frith-MacDonald
e1e6abaf84
Make sure we repopulate cached parts when needed.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27537 72102866-910b-0410-8b05-ffd578937521
2009-01-06 16:58:07 +00:00
Richard Frith-MacDonald
f97985f224
Click on slot scrolls by a page if in windows insterface style
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27529 72102866-910b-0410-8b05-ffd578937521
2009-01-06 06:57:50 +00:00
Richard Frith-MacDonald
2f75abcf2e
Add support for temporary elements which go away when the theme is deactivated.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27528 72102866-910b-0410-8b05-ffd578937521
2009-01-06 05:08:58 +00:00
Fred Kiefer
ea28f55ad6
Remove left over debug output line.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27523 72102866-910b-0410-8b05-ffd578937521
2009-01-05 18:21:19 +00:00
Fred Kiefer
feac9aea4a
Fully implement the class NSUserDefaultsController.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27522 72102866-910b-0410-8b05-ffd578937521
2009-01-05 18:15:53 +00:00
Richard Frith-MacDonald
23f7bcc0e6
Fix memory leak and commit latest scroller theming workings
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27521 72102866-910b-0410-8b05-ffd578937521
2009-01-05 14:55:34 +00:00
Richard Frith-MacDonald
62492a9158
Some moves towards making scrollers more themable
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27518 72102866-910b-0410-8b05-ffd578937521
2009-01-05 09:43:25 +00:00
Richard Frith-MacDonald
99adecef26
Add names for gui elements within a larger control.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27517 72102866-910b-0410-8b05-ffd578937521
2009-01-05 06:51:59 +00:00
Gregory John Casamento
b8033adbb3
* Source/GSToolbarView.m: Use ASSIGN as suggested. This corrects
...
the crash and fixes the leak caused by the previous change.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27516 72102866-910b-0410-8b05-ffd578937521
2009-01-04 23:26:06 +00:00
Gregory John Casamento
3dd82a38fa
Correct crash in NSToolbar.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27515 72102866-910b-0410-8b05-ffd578937521
2009-01-04 21:40:49 +00:00
Fred Kiefer
9cd9df813d
Check only shouldCreateUI before callin makeWindowControllers.
...
This is the behaviour reported for Cocoa.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27509 72102866-910b-0410-8b05-ffd578937521
2009-01-04 20:20:52 +00:00
Fred Kiefer
e6f1b26e00
Adopt the window size when adding or removing a toolbar,
...
not the size of the content view.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27506 72102866-910b-0410-8b05-ffd578937521
2009-01-03 15:18:29 +00:00
Fred Kiefer
7e9036c434
Move the handling of the toolbar from the window to the window
...
decoration view.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27505 72102866-910b-0410-8b05-ffd578937521
2009-01-02 21:41:29 +00:00
Fred Kiefer
74d7fcffd8
Add new private header file with shared toolbar classes interfaces.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27503 72102866-910b-0410-8b05-ffd578937521
2009-01-02 17:24:06 +00:00
Fred Kiefer
4fc5a6f196
General clean up of GSToolbarView code.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27501 72102866-910b-0410-8b05-ffd578937521
2009-01-02 14:05:39 +00:00
Richard Frith-MacDonald
3c16aeb873
Tweak last change so that scrollers have cached info cleared
...
before any windows are redrawn.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27500 72102866-910b-0410-8b05-ffd578937521
2009-01-02 13:28:07 +00:00
Richard Frith-MacDonald
10964ee37f
Try to produce dynamic update of theme for scrollers ... may need more work.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27499 72102866-910b-0410-8b05-ffd578937521
2009-01-02 13:19:23 +00:00
Richard Frith-MacDonald
664c7cadd2
Some code for scroller theming
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27498 72102866-910b-0410-8b05-ffd578937521
2009-01-02 12:40:07 +00:00
Richard Frith-MacDonald
cec7464939
Minor improvement in display of themes to select from.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27497 72102866-910b-0410-8b05-ffd578937521
2009-01-02 10:19:59 +00:00
Richard Frith-MacDonald
0b5106a41b
Some cleanups for GSTheme
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27496 72102866-910b-0410-8b05-ffd578937521
2009-01-02 10:12:25 +00:00
Fred Kiefer
f66a0decc7
Merge GSToolbar with NSToolbar and remove all traces of the old class.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27491 72102866-910b-0410-8b05-ffd578937521
2009-01-01 22:04:38 +00:00
Fred Kiefer
46af2db2df
Small changes to prepare for merge of NSToolbar and GSToolbar.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27488 72102866-910b-0410-8b05-ffd578937521
2009-01-01 19:22:50 +00:00
Richard Frith-MacDonald
7219a2e126
Allow theme name to be set.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27483 72102866-910b-0410-8b05-ffd578937521
2009-01-01 08:30:19 +00:00
Fred Kiefer
04a95231a9
Clean up the toolbar view of the old toolbar.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27482 72102866-910b-0410-8b05-ffd578937521
2008-12-31 17:36:35 +00:00
Fred Kiefer
326aaadef2
Add type casts to keep compiler happy.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27481 72102866-910b-0410-8b05-ffd578937521
2008-12-31 16:49:46 +00:00
Fred Kiefer
ae4c7503ac
Add some 10.5 methods for NSLayoutManager
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27480 72102866-910b-0410-8b05-ffd578937521
2008-12-31 16:29:44 +00:00
Fred Kiefer
66e22d664f
Start to rewrite the window toolbar handling code.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27478 72102866-910b-0410-8b05-ffd578937521
2008-12-31 16:06:58 +00:00
Fred Kiefer
32bd8091d9
Add validation for toggle toolbar method.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27471 72102866-910b-0410-8b05-ffd578937521
2008-12-30 23:56:35 +00:00
Fred Kiefer
ae7cd302b8
Improve print operation page range handling.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27470 72102866-910b-0410-8b05-ffd578937521
2008-12-30 22:31:11 +00:00
Fred Kiefer
eb68ac91f1
Extension and clean up of NSToolbarItem.
...
Add new class NSToolbarItemGroup.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27469 72102866-910b-0410-8b05-ffd578937521
2008-12-30 22:20:21 +00:00
Richard Frith-MacDonald
6df9e3a617
display theme version in inspector.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27454 72102866-910b-0410-8b05-ffd578937521
2008-12-29 18:31:14 +00:00
Richard Frith-MacDonald
0a18652108
Make sure name of current theme is correct.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27453 72102866-910b-0410-8b05-ffd578937521
2008-12-29 18:01:58 +00:00
Richard Frith-MacDonald
3217c7304a
Make code a little easier to read (and a tiny bit more efficient).
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27452 72102866-910b-0410-8b05-ffd578937521
2008-12-29 12:28:50 +00:00
Richard Frith-MacDonald
c2dc1e5647
Tweak caching of color list
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27451 72102866-910b-0410-8b05-ffd578937521
2008-12-29 12:05:35 +00:00
Richard Frith-MacDonald
399d13a168
Add missing method
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27450 72102866-910b-0410-8b05-ffd578937521
2008-12-29 11:52:36 +00:00
Richard Frith-MacDonald
f0a1421d50
Changes to make system colors easier to manage
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27449 72102866-910b-0410-8b05-ffd578937521
2008-12-29 11:49:42 +00:00
Richard Frith-MacDonald
539faec0d3
clean up somewhat.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27448 72102866-910b-0410-8b05-ffd578937521
2008-12-29 10:28:59 +00:00
Richard Frith-MacDonald
30d220530a
Add GSHelpViewer user default
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27447 72102866-910b-0410-8b05-ffd578937521
2008-12-29 08:22:38 +00:00
Fred Kiefer
0568f0a0c5
Small clean up of toolbar code.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27443 72102866-910b-0410-8b05-ffd578937521
2008-12-28 15:16:05 +00:00
Riccardo Mottola
9f1698a4a3
removed C99-ism
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27442 72102866-910b-0410-8b05-ffd578937521
2008-12-28 15:05:47 +00:00
Richard Frith-MacDonald
c182e9df92
dd a little diagnostic logging
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27441 72102866-910b-0410-8b05-ffd578937521
2008-12-28 10:58:57 +00:00
Fred Kiefer
3fecc787d4
Basic implementation of the initWithData:.. methods.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27437 72102866-910b-0410-8b05-ffd578937521
2008-12-26 21:56:09 +00:00
Fred Kiefer
aba6776a65
Complete the implementation of NSDocument.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27436 72102866-910b-0410-8b05-ffd578937521
2008-12-26 20:32:23 +00:00
Fred Kiefer
f68f306f43
Clean up and completion of NSDocumentController.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27415 72102866-910b-0410-8b05-ffd578937521
2008-12-25 13:21:22 +00:00
Wolfgang Lux
ad13684362
Fix implementation of NSTextView's transpose action to really match
...
the implementation of Emacs' transpose command.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27366 72102866-910b-0410-8b05-ffd578937521
2008-12-21 11:40:58 +00:00
Wolfgang Lux
8279ffddbb
Replace NSTextView's provisional implementation of
...
-centerSelectionInVisibleArea: by a correct one.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27365 72102866-910b-0410-8b05-ffd578937521
2008-12-21 11:31:55 +00:00
Wolfgang Lux
daedd434bb
Minor NSTextView fixes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27364 72102866-910b-0410-8b05-ffd578937521
2008-12-21 11:24:19 +00:00
Gregory John Casamento
555fc13e2e
* Source/GSNibLoading.m: Read objects/accessibility and oids
...
maps if we are in a gui builder so that data is accessible.
* Source/NSActionCell.m: Don't archive target/action if they
have no values.
* Source/NSMenu.m: Only archive as "_NSMainMenu" if it has
no parent and is not owner by a popup.
* Source/NSPopUpButtonCell.m: Archive the default menu item
which will show when this popup is displayed.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27363 72102866-910b-0410-8b05-ffd578937521
2008-12-21 03:11:08 +00:00
Wolfgang Lux
232de18e5e
Fix a crash during undo/redo when a text storage is shared among
...
multiple text views and some of these views are closed.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27360 72102866-910b-0410-8b05-ffd578937521
2008-12-19 23:51:25 +00:00
Wolfgang Lux
e906e7378d
Attempt to perform key equivalents in the key window before the main
...
menu as on OS X.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27359 72102866-910b-0410-8b05-ffd578937521
2008-12-19 23:17:42 +00:00
Nicola Pero
041abd2cdd
Removed GNUSTEP_CORE_SOFTWARE=YES from makefiles and instead set PACKAGE_NAME=gnustep-gui
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27347 72102866-910b-0410-8b05-ffd578937521
2008-12-19 13:00:47 +00:00
Nicola Pero
8326c8fb5e
Set GNUSTEP_CORE_SOFTWARE to YES so that gnustep-gui is installed by default in SYSTEM if gnustep-make has been configured with --disable-packages
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27334 72102866-910b-0410-8b05-ffd578937521
2008-12-18 18:45:01 +00:00
Gregory John Casamento
c6ba3b8f8b
* Source/GSNibLoading.m: Remove change which resets the bounds
...
in NSCustomView as it was not needed and caused issues in some
cases.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27326 72102866-910b-0410-8b05-ffd578937521
2008-12-18 02:14:02 +00:00
Richard Frith-MacDonald
d9e9d4f198
fixup error in last change
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27324 72102866-910b-0410-8b05-ffd578937521
2008-12-17 13:26:17 +00:00
Gregory John Casamento
69d27431a9
* Source/GSNibLoading.m: Correct issue with setting next key view and
...
previous key view.
* Source/NSView.m: Comment out frame/bounds matrix calculation since they
are done when needed.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27317 72102866-910b-0410-8b05-ffd578937521
2008-12-17 00:36:12 +00:00
Gregory John Casamento
941c0684cb
* Source/GSNibLoading.m: Changes to initialize bounds in
...
NSCustomView.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27316 72102866-910b-0410-8b05-ffd578937521
2008-12-16 22:17:27 +00:00
Gregory John Casamento
1ecd731b02
* Source/NSView.m: Add back in matrix initialization.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27315 72102866-910b-0410-8b05-ffd578937521
2008-12-16 21:56:47 +00:00
Wolfgang Lux
37cb9d46b0
Scroll NSTextView during dragging if the mouse pointer is close to the
...
border of the view's visible rectangle.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27313 72102866-910b-0410-8b05-ffd578937521
2008-12-16 21:13:21 +00:00
Richard Frith-MacDonald
50a4201f22
Fix bug recognising path extensions
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27309 72102866-910b-0410-8b05-ffd578937521
2008-12-16 19:31:50 +00:00
Fred Kiefer
734a6c759d
Make the button redraw after setting the image.
...
Don't do anything when the same contents view gets set on the window
again.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27308 72102866-910b-0410-8b05-ffd578937521
2008-12-16 19:28:25 +00:00
Gregory John Casamento
21cf915c13
* Source/GSNibLoading.m: Make the log ino debug in awakeFromNib
...
* Source/NSApplication.m: Allow modal to end multiple times, per spec
there is no exception for doing this.
* Source/NSPasteboard.m: Allow multiple threads in pasteboard
communication.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27306 72102866-910b-0410-8b05-ffd578937521
2008-12-16 18:59:26 +00:00
Fred Kiefer
e9aba06b34
Draw the background colour even when it is the clear colour.
...
(Fixes issue on xlib backend)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27302 72102866-910b-0410-8b05-ffd578937521
2008-12-16 08:00:29 +00:00
Gregory John Casamento
b10f360ccb
* Source/GSNibLoading.m: remove extraneous awakeFromNib call in
...
nibInstantiateWithOwner:topLevelObjects:.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27299 72102866-910b-0410-8b05-ffd578937521
2008-12-16 00:43:42 +00:00
Gregory John Casamento
214c745d1c
* Headers/Additions/GNUstepGUI/GSNibLoading.h: Added methods to header
...
which were added during refactoring.
* Source/GSNibLoading.m: Corrections to NSCustomView, refactoring.
Changes to initialization logic to call awakeFromNib.
* Source/NSBundleAdditions.m: Cleanup to move code to the nib loading
code.
* Source/NSClipView.m: Added assertion to guarantee that no
NSCustomView is unarchived at time of initWithCoder: being called.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27298 72102866-910b-0410-8b05-ffd578937521
2008-12-15 23:34:09 +00:00
Fred Kiefer
2f0af2bf1b
Ignore function keys as key equivalents.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27297 72102866-910b-0410-8b05-ffd578937521
2008-12-15 22:42:51 +00:00
Fred Kiefer
a492085ebe
Don't invalidate valid cached representations. The new cache would have
...
exactly the same contents.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27295 72102866-910b-0410-8b05-ffd578937521
2008-12-15 17:14:30 +00:00
Wolfgang Lux
606df8c1b1
Ensure that new windows properly show their document edited status.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27292 72102866-910b-0410-8b05-ffd578937521
2008-12-14 19:15:18 +00:00
Wolfgang Lux
91f3b7674b
Implement NSDocument autosaving.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27288 72102866-910b-0410-8b05-ffd578937521
2008-12-14 16:39:15 +00:00
Wolfgang Lux
c3b2fa7059
Perform column validation for NSSavePanel (and thereby NSOpenPanel)
...
whenever the panel's browser is scrolled, since only the contents of
the visible columns is validated.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27287 72102866-910b-0410-8b05-ffd578937521
2008-12-14 14:31:41 +00:00
Fred Kiefer
d1695ecc3c
Reorganize image caching code to make it easier to understand and
...
change. And a bit faster too.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27286 72102866-910b-0410-8b05-ffd578937521
2008-12-13 19:32:54 +00:00
Gregory John Casamento
8d584d8b43
* Source/NSOutlineView.m: Added change suggested by Doug in
...
bug #25078 . This should fix the problem in SVN.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27285 72102866-910b-0410-8b05-ffd578937521
2008-12-13 00:32:24 +00:00
Fred Kiefer
655fa58b2c
Try to stop redundant redars of the NSBrowser, by only getting the
...
ownership of the titlecell during drawing.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27284 72102866-910b-0410-8b05-ffd578937521
2008-12-12 20:16:14 +00:00
Gregory John Casamento
05bec8c892
* Headers/Additions/GNUstepGUI/GSNibLoading.h: Added new method
...
nibInstantiateWithCoder: to do the initialization normally done
in NSView when not in IB/Gorm.
* Source/GSNibLoading.m: Added implementation of new method and
also re-wrote part of NSCustomView.
* Source/NSView.m: Added an NSAssert to assure that no subview
ever decoded is an NSCustomView.
---
Moved decoding of custom view attributes here so that it can cleanly initialize everything to ensure that the view works properly.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27281 72102866-910b-0410-8b05-ffd578937521
2008-12-12 07:03:48 +00:00
Fred Kiefer
97d5040a02
Made the code a bit more tolerant on matching colour spaces during
...
image conversion.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27280 72102866-910b-0410-8b05-ffd578937521
2008-12-11 23:34:56 +00:00
Gregory John Casamento
ec503ee59d
* Source/GSNibLoading.m: Change code which adds subviews to use
...
an enumerator.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27273 72102866-910b-0410-8b05-ffd578937521
2008-12-10 07:26:06 +00:00
Gregory John Casamento
8068661f12
* Source/GSNibLoading.m: Add back code with adds in subviews from
...
the custom view.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27272 72102866-910b-0410-8b05-ffd578937521
2008-12-10 06:48:43 +00:00
Gregory John Casamento
2e585bc667
* Source/GSNibLoading.m: (-[NSCustomView initWithCoder:]) replace
...
with real object and also replace in the coder.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27271 72102866-910b-0410-8b05-ffd578937521
2008-12-10 06:32:08 +00:00
Gregory John Casamento
a35e14751d
* Source/GSGormLoading.m: (-[GSNibItem initWithCoder:]) initialize
...
NSApplication and subclasses using sharedApplication.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27270 72102866-910b-0410-8b05-ffd578937521
2008-12-10 04:22:05 +00:00
Wolfgang Lux
50af44f4e8
Add a provisional implementation of the centerSelectionInVisibleArea:
...
responder method to NSTextView.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27267 72102866-910b-0410-8b05-ffd578937521
2008-12-09 21:47:55 +00:00
Wolfgang Lux
239a9af20a
Change the extension of the file name entered into a NSSavePanel's
...
text form when the set of allowed file types is changed and the
current extension is no longer allowed.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27266 72102866-910b-0410-8b05-ffd578937521
2008-12-09 21:43:59 +00:00
Fred Kiefer
ea51783cbb
Clean up for NSTextFieldCell and resulting changes to sub classes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27260 72102866-910b-0410-8b05-ffd578937521
2008-12-08 16:28:13 +00:00
Gregory John Casamento
8e20be5f2d
* Source/NSTableView.m: Switch to the alternate highlighting color
...
only when the background is white.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27252 72102866-910b-0410-8b05-ffd578937521
2008-12-08 03:44:52 +00:00
Gregory John Casamento
5518bc8938
* Source/NSTableView.m: Change highlighting color so that it shows
...
on both white and grey backgrounds.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27251 72102866-910b-0410-8b05-ffd578937521
2008-12-08 03:26:23 +00:00
Fred Kiefer
25353583be
Made all initialisation methods on NSWindowController a bit safer. Solves bug #25004 .
...
Don't draw an empty rect in NSCachedImageRep. Fixes the remaining issue of #22282 .
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27250 72102866-910b-0410-8b05-ffd578937521
2008-12-07 21:22:13 +00:00
Wolfgang Lux
aeec5f704c
Start drag operation in NSTextView only after a single click into the
...
selected range.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27244 72102866-910b-0410-8b05-ffd578937521
2008-12-07 09:38:15 +00:00
Richard Frith-MacDonald
d78a39478c
Use lightweight header
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27239 72102866-910b-0410-8b05-ffd578937521
2008-12-07 05:58:33 +00:00