Commit graph

3823 commits

Author SHA1 Message Date
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
Fred Kiefer
8576fa60d7 Undo last hack and add a slightly better on.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26250 72102866-910b-0410-8b05-ffd578937521
2008-03-08 11:11:52 +00:00
Fred Kiefer
b76f1b348c Add a recursion break hack. Needs to be cleaned up.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26249 72102866-910b-0410-8b05-ffd578937521
2008-03-08 10:45:08 +00:00
Fred Kiefer
5b5d5ba64a Patch by Quentin Mathe <qmathe@club-internet.fr>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26247 72102866-910b-0410-8b05-ffd578937521
2008-03-07 23:51:55 +00:00
Richard Frith-MacDonald
d04519f4f4 Fix bug #22444
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26219 72102866-910b-0410-8b05-ffd578937521
2008-03-06 06:58:20 +00:00
Fred Kiefer
ec9f28fc05 Call sendAction:to: on control even when there is no action.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26185 72102866-910b-0410-8b05-ffd578937521
2008-03-03 22:45:23 +00:00
Fred Kiefer
c05373d580 Inore observer calls with empty change information.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26168 72102866-910b-0410-8b05-ffd578937521
2008-03-01 20:34:38 +00:00
Nicola Pero
a4725a6065 Fixed NSScaleProportionally, and documented NSImageCell
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26159 72102866-910b-0410-8b05-ffd578937521
2008-03-01 12:34:32 +00:00
Richard Frith-MacDonald
6afdbb5209 Retain tooltip strings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26147 72102866-910b-0410-8b05-ffd578937521
2008-02-26 11:13:09 +00:00
Fred Kiefer
2dabdc3270 In _premultiply and _unpremultiply flag the format as changed.
Add fast path for 8 bit images.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26131 72102866-910b-0410-8b05-ffd578937521
2008-02-25 15:35:57 +00:00
Fred Kiefer
96f343878a Better size integration between a popup and the menu view.
Reworked patch by Matt Rice <ratmice@gmail.com>. 


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26093 72102866-910b-0410-8b05-ffd578937521
2008-02-18 20:45:24 +00:00
Fred Kiefer
4ff06d9f57 Change version for encoding. Set preferred edge and arrow
position when decoding old gorm files. 
New helper method for Gorm.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26092 72102866-910b-0410-8b05-ffd578937521
2008-02-18 20:09:16 +00:00
Fred Kiefer
d8b13a0a6d White space clean up.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26080 72102866-910b-0410-8b05-ffd578937521
2008-02-17 17:18:34 +00:00
Gregory John Casamento
86fdb04504 * Source/NSCell.m: Correction for bug#22332.
* Source/NSSegmentedCell.m: 
        * Source/NSSegmentedControl.m: Set up default values in init 
        methods.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26075 72102866-910b-0410-8b05-ffd578937521
2008-02-17 01:45:17 +00:00
Fred Kiefer
518e863647 Set default table column width to 100. Patch by Quentin Mathe
<qmathe@club-internet.fr>. 


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26074 72102866-910b-0410-8b05-ffd578937521
2008-02-16 16:45:10 +00:00
Adam Fedor
61ee594bd6 Make sure to allocate a mutable dictionary.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26055 72102866-910b-0410-8b05-ffd578937521
2008-02-12 22:35:03 +00:00