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
53271d8bd3
Fix error in parsing url schem information from plist file
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27856 72102866-910b-0410-8b05-ffd578937521
2009-02-13 13:46:15 +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
75f908ff62
Initialize language configuration variable used by the aspell checker.
...
This prevents a crash of the spelling server during its initialization.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27818 72102866-910b-0410-8b05-ffd578937521
2009-02-08 21:32:25 +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
Fred Kiefer
3315ab146a
Burned after reading.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27815 72102866-910b-0410-8b05-ffd578937521
2009-02-08 16:25:46 +00:00
Richard Frith-MacDonald
b08a44a45b
explanation for fred
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27814 72102866-910b-0410-8b05-ffd578937521
2009-02-08 13:44:39 +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
9f047d7b8c
Always create RTFD as a directory, even in the simple file case.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27679 72102866-910b-0410-8b05-ffd578937521
2009-01-25 10:37:45 +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