Quentin Mathe
217512165b
Overriden -[NSSavePanel runModal] in NSOpenPanel to take in account the allowed
...
file types as documented in Cocoa.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31577 72102866-910b-0410-8b05-ffd578937521
2010-10-31 15:34:25 +00:00
Germán Arias
ed048fb13d
Fixup on GNUmakefile of Documentation
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31575 72102866-910b-0410-8b05-ffd578937521
2010-10-31 05:17:35 +00:00
Doug Simons
adbf2dfd48
fix problem with actions being called twice on Windows with the WinUXTheme
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31572 72102866-910b-0410-8b05-ffd578937521
2010-10-29 14:31:43 +00:00
Doug Simons
9915a56da3
GSToolbarCustomizationView needs to retain its list of palette items.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31562 72102866-910b-0410-8b05-ffd578937521
2010-10-26 00:13:20 +00:00
Riccardo Mottola
7938a855d3
fixed some c99-isms
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31556 72102866-910b-0410-8b05-ffd578937521
2010-10-24 21:22:59 +00:00
David Chisnall
71783836f1
Fix build with gcc.
...
Sorry!
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31553 72102866-910b-0410-8b05-ffd578937521
2010-10-22 21:23:29 +00:00
David Chisnall
46d64c5822
Fix tooltips.
...
Morbo says: NSAttributedStrings DO NOT WORK THAT WAY!
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31552 72102866-910b-0410-8b05-ffd578937521
2010-10-22 17:45:45 +00:00
David Chisnall
2370949607
Copied commit message into ChangeLog for people who still haven't learned how to type svn log.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31551 72102866-910b-0410-8b05-ffd578937521
2010-10-22 16:39:32 +00:00
David Chisnall
4600fb5bbf
Fixed the point argument to -view:stringForToolTip:point:userData: (should be relative to the tracking rectangle, was relative to the window). Added support for displaying tooltips from NSToolTipAttributeName attributes in NSTextView.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31550 72102866-910b-0410-8b05-ffd578937521
2010-10-22 16:38:29 +00:00
David Chisnall
3521c1f7c4
Added GSFastEnumeration.h from -base to -gui so we can use fast enumeration there too.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31549 72102866-910b-0410-8b05-ffd578937521
2010-10-22 13:11:14 +00:00
Germán Arias
0327e131df
Added a translation for Separator (toolbar item)
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31541 72102866-910b-0410-8b05-ffd578937521
2010-10-20 05:56:59 +00:00
Doug Simons
7a41cf901f
Fix deadlock issue; make generalPasteboard more efficient
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31539 72102866-910b-0410-8b05-ffd578937521
2010-10-19 22:57:52 +00:00
Wolfgang Lux
782128949e
Add methods to manage the user's preferred applications for URL
...
schemes to NSWorkspace.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31523 72102866-910b-0410-8b05-ffd578937521
2010-10-18 09:04:18 +00:00
Fred Kiefer
eb812a70c0
Revert the WinUX theme specific patch Doug put in some time ago.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31522 72102866-910b-0410-8b05-ffd578937521
2010-10-17 12:19:24 +00:00
Wolfgang Lux
a81934706f
Fix bug where NSWorkspace did ignore the user's preferred application
...
when computing the icon associated with a file type.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31515 72102866-910b-0410-8b05-ffd578937521
2010-10-16 07:45:48 +00:00
Fred Kiefer
53e4e9c4ac
Add one more protection around definition of BOOL.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31510 72102866-910b-0410-8b05-ffd578937521
2010-10-13 20:24:15 +00:00
Wolfgang Lux
4e19857788
Open a new document when a document based application is launched if
...
the delegate responds YES to applicationShouldOpenUntitledFile: but
does not implement applicationOpenUntitledFile:.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31506 72102866-910b-0410-8b05-ffd578937521
2010-10-13 13:36:44 +00:00
Wolfgang Lux
e51e064411
Send windowControllerWillLoadNib: and windowControllerDidLoadNib: to
...
the owner of the nib, since this is what Apple seems to do and since
this behavior is more useful when a non-document class uses a window
controller.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31491 72102866-910b-0410-8b05-ffd578937521
2010-10-08 06:46:58 +00:00
Quentin Mathe
d864f4cbb6
Fixed NSOutlineView to use incremental loading as Mac OS X does.
...
You can now use an outline view to browse a big tree structure e.g. a filesystem.
Previously in such a case, NSOutlineView was attempting to traverse the entire
directory structure on -reloadData.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31429 72102866-910b-0410-8b05-ffd578937521
2010-09-27 12:21:54 +00:00
Wolfgang Lux
2d8b12abfa
Add new category to NSApplication with a method to order the font
...
panel front. This makes the standard font panel toolbar item work.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31413 72102866-910b-0410-8b05-ffd578937521
2010-09-25 08:12:08 +00:00
Fred Kiefer
bdda29451c
Fix small bugs found by static analyser.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31410 72102866-910b-0410-8b05-ffd578937521
2010-09-24 18:58:57 +00:00
Fred Kiefer
8d1ae3ab80
* Source/NSView.m (-_viewWillMoveToWindow:): When calling
...
[-releaseGState] make sure to keep the value of _allocate_gstate.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31409 72102866-910b-0410-8b05-ffd578937521
2010-09-24 18:35:18 +00:00
Fred Kiefer
5ef03d293a
Fix bugs found by static code analysis.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31360 72102866-910b-0410-8b05-ffd578937521
2010-09-16 07:57:57 +00:00
Germán Arias
9bd156b121
Changed the width of a label on spanish print panel
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31356 72102866-910b-0410-8b05-ffd578937521
2010-09-16 04:24:45 +00:00
Eric Wasylishen
03620ee011
Fix more unsigned int / int cases that should be NS[U]Integer
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31354 72102866-910b-0410-8b05-ffd578937521
2010-09-16 02:51:30 +00:00
Eric Wasylishen
a1cd16df1d
Fix an unsigned->NSUInteger
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31352 72102866-910b-0410-8b05-ffd578937521
2010-09-15 22:17:51 +00:00
Fred Kiefer
a3eb0e0e6e
Check if the window and it's gstate exist before undefining the gstate.
...
Patch by Georg Fleischmann <G.Fleischmann@vhf.de>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31350 72102866-910b-0410-8b05-ffd578937521
2010-09-15 08:21:32 +00:00
Riccardo Mottola
ed0d31d84e
remove useless double statement, remove unused variable and assignment
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31344 72102866-910b-0410-8b05-ffd578937521
2010-09-13 15:41:53 +00:00
Germán Arias
f02362493e
Some changes in size of FontPanel
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31342 72102866-910b-0410-8b05-ffd578937521
2010-09-13 00:36:45 +00:00
Fred Kiefer
d08b23d9b0
First batch of corrections based on David's static analysis.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31337 72102866-910b-0410-8b05-ffd578937521
2010-09-12 16:34:22 +00:00
Eric Wasylishen
26fcda321b
Replace sel_eq with sel_isEqual
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31285 72102866-910b-0410-8b05-ffd578937521
2010-09-09 23:50:38 +00:00
David Chisnall
8e026b8e66
Remove use of old runtime function.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31284 72102866-910b-0410-8b05-ffd578937521
2010-09-09 23:39:23 +00:00
Germán Arias
3dfa9d124d
Fixed a misspelling
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31244 72102866-910b-0410-8b05-ffd578937521
2010-09-07 05:44:00 +00:00
Germán Arias
1bf6ba101f
Added find panel in spanish
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31243 72102866-910b-0410-8b05-ffd578937521
2010-09-07 04:50:22 +00:00
Quentin Mathe
a7ca2b775f
Replaced _rFlags.flipped_view use with -isFlipped and deprecated
...
_rFlagsType.flipped_view.
Still needs some work to automatically invalidate coordinates when the
flipping changes e.g. between two drawing sessions.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31233 72102866-910b-0410-8b05-ffd578937521
2010-09-03 08:21:52 +00:00
Doug Simons
dda6652e85
Fix problem with pull-down menu not allowing same item to be selected twice in a row
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31232 72102866-910b-0410-8b05-ffd578937521
2010-09-02 21:18:00 +00:00
Doug Simons
56e074cdb8
fix problem of pulldown action not being called for correct cell, and being called twice on Windows
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31213 72102866-910b-0410-8b05-ffd578937521
2010-08-30 23:02:21 +00:00
Wolfgang Lux
545782e338
Fix bug where the _selectedRow attribute of an NSTableView could be
...
updated incorrectly.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31207 72102866-910b-0410-8b05-ffd578937521
2010-08-30 06:59:00 +00:00
Fred Kiefer
6f2c2f94ea
Correction of the declarations for the methods to handle temporary attributes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31205 72102866-910b-0410-8b05-ffd578937521
2010-08-29 18:49:03 +00:00
Fred Kiefer
8cf8790c24
Fix GModel loading that was broken since the last restructuring of the
...
NIB loading code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31204 72102866-910b-0410-8b05-ffd578937521
2010-08-29 10:07:13 +00:00
Wolfgang Lux
e1647e3b1d
Update the selected row indexes of an outline view after collapsing or
...
expanding an item. This fixes bug #29892 .
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31203 72102866-910b-0410-8b05-ffd578937521
2010-08-27 13:30:23 +00:00
Eric Wasylishen
f0505ba122
* KeyBindings/DefaultKeyBindings.dict: Uncomment some key bindings which
...
are now implemented. (e.g. Shift-Home, Shift-End)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31202 72102866-910b-0410-8b05-ffd578937521
2010-08-25 18:39:05 +00:00
Eric Wasylishen
f44eeebd53
* ColorPickers/GSWheelColorPicker.m: Rewrite to draw the HSV
...
wheel in a bitmap. This gives a pretty large performance improvement.
* Source/NSColorPanel.m: Set a sensible min and max size for the
color panel.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31195 72102866-910b-0410-8b05-ffd578937521
2010-08-23 23:34:06 +00:00
Wolfgang Lux
11dd73b98a
If the alt modifier is pressed when the user expands or collapses an
...
outline view item expand or collapse all children of the item as well.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31185 72102866-910b-0410-8b05-ffd578937521
2010-08-19 16:52:59 +00:00
Wolfgang Lux
20abd629f9
Update the document controller's recent document list when NSDocument
...
saves a document. This means that the user will find her fresh
documents in that list the next time.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31184 72102866-910b-0410-8b05-ffd578937521
2010-08-19 16:47:27 +00:00
Wolfgang Lux
b9b154d6bf
Fix result type of an NSDocument method, which was incompatible with Cocoa.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31163 72102866-910b-0410-8b05-ffd578937521
2010-08-16 07:25:45 +00:00
Wolfgang Lux
d94f50de97
Add special case to preserve the current X selection when editing of a
...
NSTextField is started with a mouse click.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31160 72102866-910b-0410-8b05-ffd578937521
2010-08-15 20:52:09 +00:00
Wolfgang Lux
c9cb35beba
Make the spell panel a utility window like the font and color panels.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31159 72102866-910b-0410-8b05-ffd578937521
2010-08-15 20:38:07 +00:00
Wolfgang Lux
034beeffb4
Fix bug caused by the fix for #30025 , which made it impossible to
...
programmatically change the selected item of some pop up buttons.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31158 72102866-910b-0410-8b05-ffd578937521
2010-08-15 20:28:06 +00:00
Wolfgang Lux
20aeb6e85f
Dismiss the list of a combo box without changing the selection when
...
the user presses Escape.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31157 72102866-910b-0410-8b05-ffd578937521
2010-08-15 20:12:55 +00:00