Gregory John Casamento
405c40fedc
* Panels/English.lproj/GSToolbarCustomizationPalette.gorm: Changed
...
formatting. Added text field and buttons.
* Source/GSToolbarCustomizationPalette.m: Added reset button and
done button.
* Source/NSToolbarFrameworkPrivate.h: Added _resetConfig method.
* Source/NSToolbar.m: Added _resetConfig method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28112 72102866-910b-0410-8b05-ffd578937521
2009-03-21 16:14:46 +00:00
Gregory John Casamento
56c852e9be
* Panels/English.lproj/GSToolbarCustomizationPalette.gorm: Add
...
Default item to popup and make the connection to the show: method
to allow setting the toolbar display mode.
* Source/GSToolbarCustomizationPalette.m: Enable changing of
text, text & icon, icon only on the toolbar.
* Source/NSToolbar.m: Change _build method to load the
displayMode setting.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28110 72102866-910b-0410-8b05-ffd578937521
2009-03-21 14:23:41 +00:00
Richard Frith-MacDonald
c15df7fc8b
make url loading easier
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28106 72102866-910b-0410-8b05-ffd578937521
2009-03-20 10:17:29 +00:00
Fred Kiefer
1878af00d9
Don't reference ivar after the object has been freed.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28105 72102866-910b-0410-8b05-ffd578937521
2009-03-20 09:52:06 +00:00
Fred Kiefer
d8d8156943
Fix inconsitency in NSScrollView decoding that led to uninitialized
...
memory being used.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28103 72102866-910b-0410-8b05-ffd578937521
2009-03-20 08:58:07 +00:00
Fred Kiefer
e1ae97f125
Fix small memory access bug found by valgrind.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28102 72102866-910b-0410-8b05-ffd578937521
2009-03-20 07:55:25 +00:00
Richard Frith-MacDonald
bf45641a25
open some app that suppots the URL scheme
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28094 72102866-910b-0410-8b05-ffd578937521
2009-03-18 16:12:37 +00:00
Fred Kiefer
bc7a00e00b
Add parentheses to stop compiler from complaining.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28091 72102866-910b-0410-8b05-ffd578937521
2009-03-18 09:21:51 +00:00
Gregory John Casamento
a74a5f8ffd
* Source/GSToolbarView.m: Added code to save the configuration when
...
deleting an item as well as saving an item.
* Source/NSToolbarFrameworkPrivate.h: removed old _loadConfig method
added new methods to track changes to toolbars.
* Source/NSToolbar.m: Added check for items already in the toolbar,
removed calls to _loadConfig which were commented out, implemented
setConfigurationFromDictionary: as described in the documentation,
changed _build to get dictionary from defaults if it's there.
Implemented new method _containsItemWithIdentifier: and
_itemsFromConfig.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28084 72102866-910b-0410-8b05-ffd578937521
2009-03-16 07:33:31 +00:00
Gregory John Casamento
6f3f7be33c
Fixes to correct issues with toolbar pallete customization.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28083 72102866-910b-0410-8b05-ffd578937521
2009-03-16 05:25:22 +00:00
Gregory John Casamento
f4571a026a
Fix for infinite notification loop which occurs with some nib files.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28082 72102866-910b-0410-8b05-ffd578937521
2009-03-16 02:38:54 +00:00
Gregory John Casamento
e4fcef380e
Use new flags in initWithCoder:
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28081 72102866-910b-0410-8b05-ffd578937521
2009-03-16 02:10:38 +00:00
Gregory John Casamento
748f579ecf
Add more flags for nib loading.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28080 72102866-910b-0410-8b05-ffd578937521
2009-03-16 00:28:39 +00:00
Gregory John Casamento
73fea24d38
Minor cleanup
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28078 72102866-910b-0410-8b05-ffd578937521
2009-03-15 19:21:57 +00:00
Gregory John Casamento
4c02515e9e
* Source/NSScrollView.m: Remove FIXME comment and provided an
...
explaination for why a cast wasn't used. Added nonDynamic flag
as well as other flags from the nib file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28077 72102866-910b-0410-8b05-ffd578937521
2009-03-15 19:19:55 +00:00
Fred Kiefer
8a9282efc1
Use setTitle: instead of setStringValue: for theme button.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28076 72102866-910b-0410-8b05-ffd578937521
2009-03-15 17:40:08 +00:00
Gregory John Casamento
0548fc3f19
* Source/GSToolbarView.m:
...
* Source/NSToolbar.m: Partial fix for toolbar drag and drop issues.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28072 72102866-910b-0410-8b05-ffd578937521
2009-03-13 05:03:50 +00:00
Gregory John Casamento
83e65b773e
* Source/NSPrintOperation.m: Correct issues with handling of
...
rectangle passed back from rectForPage: callback in NSView
subclasses. This rect should override existing calculations
when it is passed in.
* Source/NSView.m: Change to use NSPrintPaperBounds if and only if
aRect is passed in as a blank rect. Previously the code was
using the NSPrintPaperBounds value and ignoring the passed in
value.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28071 72102866-910b-0410-8b05-ffd578937521
2009-03-12 23:50:23 +00:00
Richard Frith-MacDonald
500c32c7be
Fix for 64bit specific bug introduced by gc changes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28069 72102866-910b-0410-8b05-ffd578937521
2009-03-12 17:40:55 +00:00
Fred Kiefer
10d22d2086
* Source/NSApplication.m (-setApplicationIconImage:): Copy the new
...
application image before assigning the name "NSApplicationIcon"
to it. This solves bug #25793 .
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28064 72102866-910b-0410-8b05-ffd578937521
2009-03-11 09:46:59 +00:00
Xavier Glattard
74bcdbdd94
Some improvements and bux fix related to OpenGL
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28032 72102866-910b-0410-8b05-ffd578937521
2009-03-03 20:12:43 +00:00
Fred Kiefer
7c2e8efcd8
Replace nil with [NSDate distantFuture] in calls to nextEventMatchingMask:...dequeue:.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28025 72102866-910b-0410-8b05-ffd578937521
2009-03-02 16:26:23 +00:00
Gregory John Casamento
cfea3dbe6b
* Source/NSApplication.m: Fix bug #24643 . Application icon is no
...
stored correctly.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28021 72102866-910b-0410-8b05-ffd578937521
2009-03-02 01:10:23 +00:00
Fred Kiefer
623b0e6f85
And again some more missing localization includes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28017 72102866-910b-0410-8b05-ffd578937521
2009-03-01 19:13:19 +00:00
Fred Kiefer
346c843533
One more missing localization include.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28016 72102866-910b-0410-8b05-ffd578937521
2009-03-01 19:07:20 +00:00
Fred Kiefer
1b9732d96d
Add more missing localization includes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28015 72102866-910b-0410-8b05-ffd578937521
2009-03-01 19:04:58 +00:00
Fred Kiefer
08dc55de96
Improve localization.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28014 72102866-910b-0410-8b05-ffd578937521
2009-03-01 17:42:46 +00:00
Gregory John Casamento
26e2eb86ea
* Source/GSLayoutManager.m: do not return (0,0) when a zero length
...
range is passed into glyphRangeForCharacterRange:
actualCharacterRange:. Tests on Mac OS X indicate that this is
a valid case.
* Source/GSNibLoading.m: Fixed some memory leaks.
* Source/NSRulerMarker.m: Use the bounds of the containing view
instead of markersRect. I will revisit if the _markersRect method
needs to be corrected, but this code seems to correct problems
observed when dragging markers in and out of the rulerView.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27986 72102866-910b-0410-8b05-ffd578937521
2009-02-26 05:42:09 +00:00
Fred Kiefer
2229c7fc91
Optimize last change on NSSavePanel.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27964 72102866-910b-0410-8b05-ffd578937521
2009-02-23 21:10:20 +00:00
Fred Kiefer
ee49afcb9b
Changed all title methods on NSButtonCell to use the
...
super string value methods and redefine the local string value
methods to work with the object value.
Patch by Matt Rice <ratmice@gmail.com>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27946 72102866-910b-0410-8b05-ffd578937521
2009-02-21 23:15:22 +00:00
Gregory John Casamento
cf427c2451
Correction for toolbar customization palette not showing when standard elements are included.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27929 72102866-910b-0410-8b05-ffd578937521
2009-02-20 17:22:22 +00:00
Richard Frith-MacDonald
9d6e4d8b8b
Minor cleanup of update of services menu
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27914 72102866-910b-0410-8b05-ffd578937521
2009-02-18 09:40:55 +00:00
Fred Kiefer
a2c687684d
Use method call to set selected cell in Matrix NIB decoding.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27913 72102866-910b-0410-8b05-ffd578937521
2009-02-18 09:25:03 +00:00
Fred Kiefer
4fae138790
Protect against the app icon being nil. Should fix #25620 .
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27912 72102866-910b-0410-8b05-ffd578937521
2009-02-18 08:57:22 +00:00
Gregory John Casamento
e6719574e3
* Source/GSNibLoading.m: Rollback of previous change. Found a
...
minor problem.
* Source/NSDrawer.m: Improvements to NSDrawer handling.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27911 72102866-910b-0410-8b05-ffd578937521
2009-02-18 07:38:02 +00:00
Gregory John Casamento
32c4192f32
* Source/GSNibLoading.m: use the new code committed to NSMenu to
...
lay out the menu when vertical. Get rid of the duplicate code here.
* Source/NSDrawer.m: set the child window position when opening.
* Source/NSMatrix.m: -_selectCell:atRow:column: Check to make
sure the selectedRow and selectedColumn are > -1. This check is
done elsewhere and was not done here. This was causing a crash.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27907 72102866-910b-0410-8b05-ffd578937521
2009-02-18 04:04:13 +00:00
Fred Kiefer
2886fd56a6
Make image view non editable by default.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27906 72102866-910b-0410-8b05-ffd578937521
2009-02-17 19:14:41 +00:00
Fred Kiefer
cf37b181a7
Try to better handle Apple menu conversion.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27905 72102866-910b-0410-8b05-ffd578937521
2009-02-17 18:24:44 +00:00
Fred Kiefer
e92f8bf718
Correct NSRulerView version to be an integer.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27897 72102866-910b-0410-8b05-ffd578937521
2009-02-17 07:44:03 +00:00
Adam Fedor
65c1408219
Look for location of png.h
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27894 72102866-910b-0410-8b05-ffd578937521
2009-02-16 23:23:41 +00:00
Riccardo Mottola
502af4d5d1
removed debug log
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27891 72102866-910b-0410-8b05-ffd578937521
2009-02-16 22:14:53 +00:00
Riccardo Mottola
f7403db91c
try to fix bugss in last change, Optimize in case of common string and check for nil.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27889 72102866-910b-0410-8b05-ffd578937521
2009-02-16 21:40:26 +00:00
Fred Kiefer
67d368832d
Try to fix bug in last change on NSCell.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27887 72102866-910b-0410-8b05-ffd578937521
2009-02-16 17:06:22 +00:00
Gregory John Casamento
c7059252b3
* Source/NSOpenPanel.m: Corrects bug #25471 . Only enable
...
the OK button when a file the application can open is selected.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27876 72102866-910b-0410-8b05-ffd578937521
2009-02-16 03:15:05 +00:00
Gregory John Casamento
1689d8a6de
* Source/NSCell.m: Change to implement 10.3 and later behavior for
...
the method setStringValue: as documented in Apple's documentation
for the method. This behavior was observed on Cocoa under
Mac OS 10.5.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27874 72102866-910b-0410-8b05-ffd578937521
2009-02-16 00:31:23 +00:00
Riccardo Mottola
0fed43fa2c
Return autoreleased copy of the directory string
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27857 72102866-910b-0410-8b05-ffd578937521
2009-02-13 19:11:06 +00:00
Richard Frith-MacDonald
ec51f7feaf
first attempt at implementing -openURL: for NSWorkspace
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27846 72102866-910b-0410-8b05-ffd578937521
2009-02-11 13:13:19 +00:00
Richard Frith-MacDonald
25dc9dc650
fix for bug #25553 reported by Lu Liyi
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27842 72102866-910b-0410-8b05-ffd578937521
2009-02-11 08:32:50 +00:00
Gregory John Casamento
88b9902bc6
* Source/NSBundleAdditions.m:
...
-[NSNibOutletConnector establishConnection] report exceptions when
establishing a connection, but don't fail to load.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27840 72102866-910b-0410-8b05-ffd578937521
2009-02-11 05:43:06 +00:00
Fred Kiefer
1be0d6ca24
Stripped down version of the toolbar customization
...
branch by Quentin Mathe <qmathe@club-internet.fr>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27835 72102866-910b-0410-8b05-ffd578937521
2009-02-10 21:02:33 +00:00
Richard Frith-MacDonald
570b8a4963
Reorganize location of theme proxy code. Add some more comments too.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27831 72102866-910b-0410-8b05-ffd578937521
2009-02-10 14:32:08 +00:00
Gregory John Casamento
9ef46af7f5
* Source/NSToolbar.m: (-windowDidUpdate:): Automatically update
...
the toolbar on every window update. This makes sure that
no matter what window an event happens in the toolbar gets
properly updated for ALL windows.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27827 72102866-910b-0410-8b05-ffd578937521
2009-02-10 01:21:07 +00:00
Wolfgang Lux
f980764a02
Make sure NSSavePanel and NSOpenPanel show the contents of their
...
initial directory regardless of the result of validation. This should
fix bug #25363 .
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27820 72102866-910b-0410-8b05-ffd578937521
2009-02-08 22:11:19 +00:00
Wolfgang Lux
c91d16c371
Retain cached path of make_services tool in NSWorkspace.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27817 72102866-910b-0410-8b05-ffd578937521
2009-02-08 21:22:36 +00:00
Richard Frith-MacDonald
c27362c255
add missing header line
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27813 72102866-910b-0410-8b05-ffd578937521
2009-02-08 13:37:02 +00:00
Fred Kiefer
a14d56e838
Use KVC call setValue:forKey: to establish the outlet connection.
...
This will result in ivars being properly retained.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27812 72102866-910b-0410-8b05-ffd578937521
2009-02-08 12:54:21 +00:00
Richard Frith-MacDonald
fa0b8d995b
Use proxies for named images so that changes to images are nstantly reflected
...
when you change themes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27810 72102866-910b-0410-8b05-ffd578937521
2009-02-08 11:02:57 +00:00
Gregory John Casamento
6bec341a72
* Source/NSApplication.m: Added code to handle exceptions in
...
-[NSApplication run]. Rudimentary implementation of default
NSExceptionHandlerMask.
For more on this change, please see the thread on the gnustep-dev list entitled "Allowing Applications to continue after exception...".
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27809 72102866-910b-0410-8b05-ffd578937521
2009-02-08 06:40:29 +00:00
Fred Kiefer
71f807b1c7
Add theme drawing for toolbar view.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27806 72102866-910b-0410-8b05-ffd578937521
2009-02-07 21:58:12 +00:00
Richard Frith-MacDonald
2c9b33a1a9
limit size of theme icon
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27805 72102866-910b-0410-8b05-ffd578937521
2009-02-07 09:28:55 +00:00
Richard Frith-MacDonald
96d993adde
Add checks of tile sizes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27803 72102866-910b-0410-8b05-ffd578937521
2009-02-07 08:59:39 +00:00
Richard Frith-MacDonald
01578fe688
Some image tiling improvments.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27801 72102866-910b-0410-8b05-ffd578937521
2009-02-06 15:08:14 +00:00
Gregory John Casamento
d456de1826
* Source/NSWindow.m: Correct compilation error.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27792 72102866-910b-0410-8b05-ffd578937521
2009-02-04 22:43:26 +00:00
Richard Frith-MacDonald
6312db17ff
fixups for checiking application icon size
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27778 72102866-910b-0410-8b05-ffd578937521
2009-02-04 11:16:05 +00:00
Gregory John Casamento
d0d81bf1b1
* Source/GSNibLoader.m: Correct the message to indicate an issue
...
loading a nib, not a gorm, file.
* Source/GSNibLoading.m: Uncomment the release in the dealloc
method.
* Source/NSApplication.m: Restrict the icon size to the size of the
miniwindow if it's larger, but don't expand it, if it's smaller.
* Source/NSLayoutManager.m: -initWithCoder: Initialize when
loading a nib in the same way that we initialize when loading
a gorm file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27775 72102866-910b-0410-8b05-ffd578937521
2009-02-04 06:48:06 +00:00
Fred Kiefer
900209df53
Add helper method for action sending.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27773 72102866-910b-0410-8b05-ffd578937521
2009-02-03 22:49:22 +00:00
Fred Kiefer
a423d5bdec
Fix retain bug in NIB loading.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27772 72102866-910b-0410-8b05-ffd578937521
2009-02-03 22:43:12 +00:00
Richard Frith-MacDonald
f35949036f
Need to make sure we don't create text containers with negative dimensions.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27766 72102866-910b-0410-8b05-ffd578937521
2009-02-03 15:56:51 +00:00
Fred Kiefer
a815330b26
Correct computation of attachment cell frame.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27750 72102866-910b-0410-8b05-ffd578937521
2009-02-01 14:07:30 +00:00
Richard Frith-MacDonald
774a9ec1d4
Fix typo in method to set parent window of a child, optimise color handling in themes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27742 72102866-910b-0410-8b05-ffd578937521
2009-01-31 09:59:32 +00:00
Richard Frith-MacDonald
52de0f2703
fix for #25385
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27741 72102866-910b-0410-8b05-ffd578937521
2009-01-31 06:17:29 +00:00
Richard Frith-MacDonald
907b7a60e1
Small bugfix and performance optimisation.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27735 72102866-910b-0410-8b05-ffd578937521
2009-01-30 16:27:36 +00:00
Richard Frith-MacDonald
d611e97561
Invalidate tracking rects when removed from view.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27734 72102866-910b-0410-8b05-ffd578937521
2009-01-30 14:42:26 +00:00
Richard Frith-MacDonald
a6ac3414d3
Fix for #25384
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27733 72102866-910b-0410-8b05-ffd578937521
2009-01-30 13:06:15 +00:00
Fred Kiefer
95fc114f62
Fix text block handling in paragraph style copy methods.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27725 72102866-910b-0410-8b05-ffd578937521
2009-01-29 22:58:13 +00:00
Fred Kiefer
b32b160823
Add backend support for the NSWindow child mechanism and use it for
...
popup buttons.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27719 72102866-910b-0410-8b05-ffd578937521
2009-01-29 09:37:30 +00:00
Fred Kiefer
d07ee5d56f
Avoid annoying messages on first system startup about empty map table.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27713 72102866-910b-0410-8b05-ffd578937521
2009-01-28 18:05:26 +00:00
Gregory John Casamento
17d4f28e9e
This is a temporary change. Commenting out RELEASE(_connections) will be reverted ASAP.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27706 72102866-910b-0410-8b05-ffd578937521
2009-01-27 20:33:17 +00:00
Fred Kiefer
ddf1b1a269
Improvement of attributed string loading and attachment display in text
...
view.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27705 72102866-910b-0410-8b05-ffd578937521
2009-01-27 19:16:04 +00:00
Fred Kiefer
7831bedb6d
Basic implementation for NSAttributedString data save methods.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27696 72102866-910b-0410-8b05-ffd578937521
2009-01-26 13:33:27 +00:00
Richard Frith-MacDonald
a1b67a4d07
keep main menu available when using micrtosoft style
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27692 72102866-910b-0410-8b05-ffd578937521
2009-01-25 18:28:20 +00:00
Gregory John Casamento
6d63225010
* Source/NSMenuView.m: Return from the trackWithEvent: method
...
if the indexOfActionToExecute is -1.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27690 72102866-910b-0410-8b05-ffd578937521
2009-01-25 16:44:35 +00:00
Richard Frith-MacDonald
ab54f4450e
per-window menu setting tweaks.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27686 72102866-910b-0410-8b05-ffd578937521
2009-01-25 13:47:30 +00:00
Riccardo Mottola
246576a001
When getting the name for a human readable document type name, use also
...
CFBundleTypeName.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27684 72102866-910b-0410-8b05-ffd578937521
2009-01-25 13:05:47 +00:00
Gregory John Casamento
29fdc21b77
* Source/NSMenuView.m: Refactor code which executes the action
...
of a menu item at a given index into a separate method to make it
easier to override this behavior when necessary. Added method
_executeItemAtIndex:removeSubmenu:.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27680 72102866-910b-0410-8b05-ffd578937521
2009-01-25 11:41:57 +00:00
Riccardo Mottola
148ad4ca47
Correct override test in NSDocument method.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27677 72102866-910b-0410-8b05-ffd578937521
2009-01-25 10:02:22 +00:00
Riccardo Mottola
c6b4d75935
Allow newDocument: on NSDocumentController only when there is a default
...
type.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27667 72102866-910b-0410-8b05-ffd578937521
2009-01-24 13:11:25 +00:00
Richard Frith-MacDonald
d755437127
iiiignore invalid tracking rectangles
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27665 72102866-910b-0410-8b05-ffd578937521
2009-01-24 08:38:21 +00:00
Riccardo Mottola
1c25d7e977
Convert between window and view coordinate system for NSMenuView.
...
Correct small bugs in last NSDocument rework.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27661 72102866-910b-0410-8b05-ffd578937521
2009-01-23 22:01:40 +00:00
Fred Kiefer
dda7640fa5
First attempt at in window menus.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27649 72102866-910b-0410-8b05-ffd578937521
2009-01-22 09:19:22 +00:00
Richard Frith-MacDonald
1803fa7fc5
fix #25369
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27646 72102866-910b-0410-8b05-ffd578937521
2009-01-21 07:09:50 +00:00
Wolfgang Lux
b4ece5bc82
Fix invalid return statements between NS_DURING and NS_HANDLER in
...
Source/NSImage.m.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27643 72102866-910b-0410-8b05-ffd578937521
2009-01-20 20:18:22 +00:00
Fred Kiefer
d635454454
Add auto release pool to animation loop.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27636 72102866-910b-0410-8b05-ffd578937521
2009-01-19 17:25:51 +00:00
Fred Kiefer
3668f4bd83
Remove retain cycle with NSAnimation and simplify implementation.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27629 72102866-910b-0410-8b05-ffd578937521
2009-01-18 16:04:12 +00:00
Wolfgang Lux
431f3f280f
Include a window's decoration view in its responder chain so that
...
dynamic target look up works for toolbar items.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27628 72102866-910b-0410-8b05-ffd578937521
2009-01-18 15:52:06 +00:00
Wolfgang Lux
f7e864e8ab
Make sure toolbar items are validated w.r.t. the responder chain of
...
their respective window.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27627 72102866-910b-0410-8b05-ffd578937521
2009-01-18 15:33:01 +00:00
Wolfgang Lux
cdc21a5395
Fix a few issues with toolbar item validation.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27626 72102866-910b-0410-8b05-ffd578937521
2009-01-18 15:11:37 +00:00
Wolfgang Lux
d40bb8140a
Improve menu item validation by falling back to -validateUserInterfaceItem:
...
if the validator doesn't respond to -validateMenuItem:.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27625 72102866-910b-0410-8b05-ffd578937521
2009-01-18 14:59:24 +00:00
Wolfgang Lux
6f61fe0106
Revert NSMenu changes from r27569.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27624 72102866-910b-0410-8b05-ffd578937521
2009-01-18 14:55:57 +00:00
Wolfgang Lux
42e2e73ebd
Don't activate an application upon a single click into a miniwindow.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27622 72102866-910b-0410-8b05-ffd578937521
2009-01-17 16:45:14 +00:00