Commit graph

6027 commits

Author SHA1 Message Date
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
Fred Kiefer
fef23286b2 Removed left over SVN conflict in ChangeLog.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27408 72102866-910b-0410-8b05-ffd578937521
2008-12-22 23:58:51 +00:00
Adam Fedor
172a4e321f Fix date
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27384 72102866-910b-0410-8b05-ffd578937521
2008-12-22 00:09:50 +00:00
Adam Fedor
3c6fab8849 Version 0.16.0
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27380 72102866-910b-0410-8b05-ffd578937521
2008-12-22 00:08:20 +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
1a322bec32 Fixed typo in my last change
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27348 72102866-910b-0410-8b05-ffd578937521
2008-12-19 13:03:31 +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
657bbb61c8 * Images/common_ToolbarCustomizeToolbarItem.tiff
* Images/GNUmakefile: Add new image for toolbar customization.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27300 72102866-910b-0410-8b05-ffd578937521
2008-12-16 02:23:00 +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