Commit graph

3838 commits

Author SHA1 Message Date
Adam Fedor
dd8bb04d93 Backport changes from trunk
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/stable@27075 72102866-910b-0410-8b05-ffd578937521
2008-11-17 00:58:13 +00:00
Adam Fedor
fc639dae72 Backport patches from trunk
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/stable@26854 72102866-910b-0410-8b05-ffd578937521
2008-09-18 03:11:45 +00:00
Adam Fedor
bbd1c7cd16 Backport fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/stable@26775 72102866-910b-0410-8b05-ffd578937521
2008-07-12 23:47:26 +00:00
Adam Fedor
41ec18afa4 Fix incorrect commits
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26633 72102866-910b-0410-8b05-ffd578937521
2008-06-12 14:09:48 +00:00
Adam Fedor
7afdd32ac1 Revert library license version to 2 until applications can be converted
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26619 72102866-910b-0410-8b05-ffd578937521
2008-06-10 04:01:49 +00:00
Fred Kiefer
fc2c78170f Make the implemenation of the method prepareForDragOperation:
non-mandatory, as on OSX.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26617 72102866-910b-0410-8b05-ffd578937521
2008-06-09 18:09:09 +00:00
Fred Kiefer
1a9a9468c0 Check in the control not in the text field whether the cell is currently
being edited.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26613 72102866-910b-0410-8b05-ffd578937521
2008-06-09 10:04:49 +00:00
Fred Kiefer
b4d065a9bf Better NIB loading for NSWindow.
Ignore missing image in NSButtonCell drawing.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26591 72102866-910b-0410-8b05-ffd578937521
2008-06-02 10:35:42 +00:00
Fred Kiefer
ddd37df12f Warn about incompatibility with MacOSX in NSMenuItem setKeyEquivalent:.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26582 72102866-910b-0410-8b05-ffd578937521
2008-05-28 08:19:55 +00:00
Fred Kiefer
7d6490fcb9 Initialize variable "image" before using it.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26579 72102866-910b-0410-8b05-ffd578937521
2008-05-27 20:31:18 +00:00
Gregory John Casamento
be60d48778 * Headers/AppKit/NSWindow.h: Minor cleanup and spacing.
* Source/GSNibTemplates.m: Removed call to designated init, since
	this is handled by the initWithCOoder method in NSWindow.m.
	* Source/NSWindow.m: Correction for calling the designated initializer.
	Fix for bug#23336.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26567 72102866-910b-0410-8b05-ffd578937521
2008-05-24 15:00:12 +00:00
Fred Kiefer
45ada7b31d Limit the amount of character sets cached by the font substitution code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26547 72102866-910b-0410-8b05-ffd578937521
2008-05-20 23:53:42 +00:00
Fred Kiefer
c609f83e8c Handle editable flag for columns in NIB decoding.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26546 72102866-910b-0410-8b05-ffd578937521
2008-05-20 21:49:17 +00:00
Fred Kiefer
155098ecd8 Add image position decoding and encoding.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26542 72102866-910b-0410-8b05-ffd578937521
2008-05-19 17:42:23 +00:00
Fred Kiefer
dc90d0fdfd Better handling of the circular references between the graphics context
and the window.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26539 72102866-910b-0410-8b05-ffd578937521
2008-05-18 23:12:24 +00:00
Gregory John Casamento
016798f3cb Correct a crash on 64 bit systems.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26528 72102866-910b-0410-8b05-ffd578937521
2008-05-15 01:56:58 +00:00
Fred Kiefer
e137828b7e Try to better solve the circular reference between the window and the
context.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26527 72102866-910b-0410-8b05-ffd578937521
2008-05-14 22:56:13 +00:00
Richard Frith-MacDonald
62c268c19f cope with bad data
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26526 72102866-910b-0410-8b05-ffd578937521
2008-05-14 09:44:29 +00:00
Richard Frith-MacDonald
0b9ee6f603 fix path to drive on mingw
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26524 72102866-910b-0410-8b05-ffd578937521
2008-05-14 08:59:55 +00:00
Fred Kiefer
f59bbe5aa8 Extract glyph generation code into separate class.
Plus some additional cleanup.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26523 72102866-910b-0410-8b05-ffd578937521
2008-05-13 19:40:20 +00:00
Richard Frith-MacDonald
50f7974d7c revert accidental change
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26521 72102866-910b-0410-8b05-ffd578937521
2008-05-13 15:06:24 +00:00
Richard Frith-MacDonald
285dddf250 make save and open panels usable on mswindows
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26520 72102866-910b-0410-8b05-ffd578937521
2008-05-13 15:04:01 +00:00
Gregory John Casamento
7fe697acb2 * Source/NSWindow.m: (-(void)miniaturize: (id)sender):
Change to prevent miniwindow from disappearing.  Apparently uneccessary
	[self orderOut: self] was causing this issue.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26501 72102866-910b-0410-8b05-ffd578937521
2008-05-09 01:06:36 +00:00
Adam Fedor
777fed73b2 Degine HAVE_BOOLEAN on mingw to avoid jpeg conflicts
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26500 72102866-910b-0410-8b05-ffd578937521
2008-05-08 15:28:42 +00:00
Adam Fedor
487fdc6524 (-adjustSubviews): Just return when there are no subviews.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26496 72102866-910b-0410-8b05-ffd578937521
2008-05-08 03:58:59 +00:00
Fred Kiefer
ea97a86d9a Breakretain cycle of NSWindow and its context.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26494 72102866-910b-0410-8b05-ffd578937521
2008-05-07 00:39:22 +00:00
Fred Kiefer
1988c2cef0 Add old NeXT method, no longer present, but needed for
backward compatibility.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26487 72102866-910b-0410-8b05-ffd578937521
2008-05-03 20:57:53 +00:00
Fred Kiefer
0cb8c36a82 Don't raise exception on invalid row or column indexes for table view.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26486 72102866-910b-0410-8b05-ffd578937521
2008-05-03 18:05:07 +00:00
Fred Kiefer
0cba457027 Better check for click on table column border.
Allow table column identifier to be nil.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26482 72102866-910b-0410-8b05-ffd578937521
2008-05-01 19:48:28 +00:00
Gregory John Casamento
ddc130cae7 * Source/NSWindow.m: Change to correct issue with NSWindow placement
when toolbar is present.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26476 72102866-910b-0410-8b05-ffd578937521
2008-04-27 22:44:12 +00:00
Gregory John Casamento
980e82dfb8 Corrected deferredWindows method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26475 72102866-910b-0410-8b05-ffd578937521
2008-04-25 22:18:34 +00:00
Fred Kiefer
67c69e63da Fix memory leak introduced by last patch.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26441 72102866-910b-0410-8b05-ffd578937521
2008-04-08 08:02:59 +00:00
Fred Kiefer
3811a82a38 Use fill instead of stroke to draw the glyphs.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26440 72102866-910b-0410-8b05-ffd578937521
2008-04-08 07:57:11 +00:00
Fred Kiefer
e87446b5cb Implement basic appendBezierPathWithPackedGlyphs: handling to forward to
the backend.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26435 72102866-910b-0410-8b05-ffd578937521
2008-04-07 13:45:41 +00:00
Fred Kiefer
14176f6a78 New NSFont method for glyph generation.
Ligature and decompose handling in gsLayoutManager, moved here from the
art backend.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26430 72102866-910b-0410-8b05-ffd578937521
2008-04-04 22:01:44 +00:00
Fred Kiefer
d05440d67c Small cleanup.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26429 72102866-910b-0410-8b05-ffd578937521
2008-04-04 21:52:39 +00:00
Nicola Pero
4f48690360 Fixed slow drift of the divider of a splitview when doing a sequence of resizings
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26424 72102866-910b-0410-8b05-ffd578937521
2008-04-01 23:14:17 +00:00
Nicola Pero
82d086b439 Implemented autosaveName for splitviews - a cool addition from a user perspective
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26420 72102866-910b-0410-8b05-ffd578937521
2008-04-01 01:37:52 +00:00
Nicola Pero
190c13dca9 Small tidyup in NSSplitView -adjustSubviews
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26419 72102866-910b-0410-8b05-ffd578937521
2008-04-01 00:39:06 +00:00
Xavier Glattard
f5c9c19113 More fix for #26414, and makes NSOpenGLView closer to the specs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26417 72102866-910b-0410-8b05-ffd578937521
2008-03-31 21:15:00 +00:00
Fred Kiefer
c537e70555 Fix for #22706, make NSOpenGLView usable again.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26414 72102866-910b-0410-8b05-ffd578937521
2008-03-31 14:36:22 +00:00
Fred Kiefer
c439e20394 Make sure the application terminates when neither a delegate is set, nor
it is a document based application.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26390 72102866-910b-0410-8b05-ffd578937521
2008-03-29 13:08:35 +00:00
Xavier Glattard
33c97236b6 Small fix in KVB to allow binding to a key path
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26384 72102866-910b-0410-8b05-ffd578937521
2008-03-28 18:50:52 +00:00
Richard Frith-MacDonald
1007fd1273 Hopefully clear up some confusion about NSApplicationTerminateReply
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26375 72102866-910b-0410-8b05-ffd578937521
2008-03-26 16:00:51 +00:00
Nicola Pero
b416d00ef8 Fixed problem with strings in non-editable textfields becoming bold when you click on the textfield
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26368 72102866-910b-0410-8b05-ffd578937521
2008-03-20 11:45:02 +00:00
Nicola Pero
c6c6e8f027 Indented line
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26367 72102866-910b-0410-8b05-ffd578937521
2008-03-20 11:44:13 +00:00
Nicola Pero
680f0c94e4 Added back proper horizontal padding around autosized buttons that got lost with no explanations (probably a mistake) on 2007-01-23
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26366 72102866-910b-0410-8b05-ffd578937521
2008-03-20 10:06:12 +00:00
Gregory John Casamento
4c268441c9 * Source/NSView.m: Changes to beginPage:... and endPage to correct
issues with blank space at the top of the page when printing.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26336 72102866-910b-0410-8b05-ffd578937521
2008-03-18 01:01:34 +00:00
Riccardo Mottola
3d3b665f6a changed terminate type to BOOL since it is one and the value froma delegate got wrongly cast
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26307 72102866-910b-0410-8b05-ffd578937521
2008-03-16 01:02:52 +00:00
Fred Kiefer
0d146e1c55 Small improvements on premultiplcation of alpha.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26276 72102866-910b-0410-8b05-ffd578937521
2008-03-11 20:11:53 +00:00