Commit graph

1233 commits

Author SHA1 Message Date
Fred Kiefer
dbd69f759f Use NSASCIIStringEncoding instead of NSLatin1StringEncoding for RTF
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7893 72102866-910b-0410-8b05-ffd578937521
2000-10-23 23:23:34 +00:00
Michael Silva
9bb6a7ddc6 more NSTab* related fixed
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7887 72102866-910b-0410-8b05-ffd578937521
2000-10-23 07:42:34 +00:00
Michael Silva
43f024d2d7 Fixed NSTabView more. Yeah.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7878 72102866-910b-0410-8b05-ffd578937521
2000-10-20 23:02:57 +00:00
Richard Frith-MacDonald
1ee0716c90 Clipview redisplay fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7854 72102866-910b-0410-8b05-ffd578937521
2000-10-20 04:19:22 +00:00
Michael Silva
e9ea6379e4 Bugfixes for NSTabView
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7852 72102866-910b-0410-8b05-ffd578937521
2000-10-19 22:47:09 +00:00
Fred Kiefer
0630943220 [runPageLayout:] use real panel.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7832 72102866-910b-0410-8b05-ffd578937521
2000-10-16 22:53:39 +00:00
Fred Kiefer
57023039b9 Some basic implementation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7831 72102866-910b-0410-8b05-ffd578937521
2000-10-16 22:52:59 +00:00
Fred Kiefer
50bac4113c Change references to ivar info to _info.
[initPrintInfoDefaults] now works if there is no PrinterAdmin
resource.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7830 72102866-910b-0410-8b05-ffd578937521
2000-10-16 22:52:32 +00:00
Adam Fedor
880129448d Window focus improvements
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7827 72102866-910b-0410-8b05-ffd578937521
2000-10-16 19:20:32 +00:00
Fred Kiefer
7b3fe023bc Improved the memory handling in diverse methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7821 72102866-910b-0410-8b05-ffd578937521
2000-10-15 20:55:38 +00:00
Nicola Pero
50f657f4c9 Prefixed ivar with underscore to keep it to compile
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7804 72102866-910b-0410-8b05-ffd578937521
2000-10-13 10:03:36 +00:00
Fred Kiefer
fd3fe70d6a *** empty log message ***
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7803 72102866-910b-0410-8b05-ffd578937521
2000-10-12 23:05:36 +00:00
Fred Kiefer
9a7641c764 Started reorganising the code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7802 72102866-910b-0410-8b05-ffd578937521
2000-10-12 23:03:30 +00:00
Fred Kiefer
b97acdeb63 Use NSLayoutManager instead of GSSimpleLayoutManager.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7801 72102866-910b-0410-8b05-ffd578937521
2000-10-12 23:02:25 +00:00
Fred Kiefer
adf1534fc5 Added comments from .h file.
Return a GSSimpleLayoutManager from [allocWithZone].
Removed all compiler warnings.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7800 72102866-910b-0410-8b05-ffd578937521
2000-10-12 23:01:43 +00:00
Fred Kiefer
a57534d8d3 Use explicit Private interface.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7799 72102866-910b-0410-8b05-ffd578937521
2000-10-12 23:00:45 +00:00
Fred Kiefer
989c7da61f In [close] use removeDocument instead of _removeDocument.
[initWithContentsOfFile:ofType:] call [self init] instead of
[super init].


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7798 72102866-910b-0410-8b05-ffd578937521
2000-10-12 23:00:09 +00:00
Nicola Pero
64691efc39 Reverted autorelease pool code
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7785 72102866-910b-0410-8b05-ffd578937521
2000-10-11 09:58:36 +00:00
Richard Frith-MacDonald
0e3182adb9 Removed debug statements left in error
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7775 72102866-910b-0410-8b05-ffd578937521
2000-10-09 12:39:24 +00:00
Richard Frith-MacDonald
e64d3a6a10 Fix for immutable dictionaries.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7774 72102866-910b-0410-8b05-ffd578937521
2000-10-09 12:19:29 +00:00
Richard Frith-MacDonald
47df37ecfd Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7768 72102866-910b-0410-8b05-ffd578937521
2000-10-09 04:03:32 +00:00
Fred Kiefer
45ce951b30 _setup() corrected a problem from the last change
Removed obsolete super calls in GSTextInfo coding methods.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7766 72102866-910b-0410-8b05-ffd578937521
2000-10-08 20:30:08 +00:00
Fred Kiefer
a38bc02f22 Small correction in [fixParagraphStyleAttributeInRange]
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7765 72102866-910b-0410-8b05-ffd578937521
2000-10-08 20:29:12 +00:00
Richard Frith-MacDonald
6d3aa3231b Minor portability fix.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7764 72102866-910b-0410-8b05-ffd578937521
2000-10-08 20:03:24 +00:00
Fred Kiefer
1d5eb47a99 Convert glyphs to font encoding in drawRun().
Removed unused code.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7699 72102866-910b-0410-8b05-ffd578937521
2000-10-02 17:49:43 +00:00
Fred Kiefer
5b30b8c04d [_initBackendWindow] always redisplay _wv
[setFrame:display:] set the frame of _wv directly if deferred.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7698 72102866-910b-0410-8b05-ffd578937521
2000-10-02 17:48:46 +00:00
Fred Kiefer
c600d60eb6 In [display] check if the _visibleRect is still valid.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7679 72102866-910b-0410-8b05-ffd578937521
2000-09-30 23:14:56 +00:00
Fred Kiefer
c147e15baf In [setTextView] let the text view send frame changed notifications.
Check text view in [_textViewFrameChanged:].
Don't add observer if text view is nil in
[setHeightTracksTextView:] and [setWidthTracksTextView:]


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7678 72102866-910b-0410-8b05-ffd578937521
2000-09-30 23:14:12 +00:00
Fred Kiefer
96d2900f7d Switched to use the text container for size information.
Implemented [textContainerChangedGeometry].


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7677 72102866-910b-0410-8b05-ffd578937521
2000-09-30 23:13:41 +00:00
Fred Kiefer
68a34ae2bd Removed additional method [setFirstTextView]
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7676 72102866-910b-0410-8b05-ffd578937521
2000-09-30 23:13:07 +00:00
Fred Kiefer
7fba1bb097 Implemented [firstTextView].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7675 72102866-910b-0410-8b05-ffd578937521
2000-09-30 23:12:42 +00:00
Fred Kiefer
9aa55f49e5 Use text container implementation from super class.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7674 72102866-910b-0410-8b05-ffd578937521
2000-09-30 23:11:50 +00:00
Fred Kiefer
552dcf4a84 Moved the text container handling from NSTextView to here and
corrected it.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7673 72102866-910b-0410-8b05-ffd578937521
2000-09-30 23:11:15 +00:00
Adam Fedor
358af35b5f Deferred window fixups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7646 72102866-910b-0410-8b05-ffd578937521
2000-09-29 03:55:30 +00:00
Adam Fedor
77c74a324e Implementation of deferred windows
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7623 72102866-910b-0410-8b05-ffd578937521
2000-09-27 22:18:34 +00:00
Adam Fedor
135259b7c2 Dont free colormap tables in PHOTOMETRIC_PALETTE
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7620 72102866-910b-0410-8b05-ffd578937521
2000-09-27 15:16:42 +00:00
Lyndon Tremblay
35e02eb955 - Various very small optimizations.
- Tells the user about unhandled exceptions.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7605 72102866-910b-0410-8b05-ffd578937521
2000-09-26 11:45:32 +00:00
Lyndon Tremblay
5f2683a975 Implemented AppKit exception handler
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7598 72102866-910b-0410-8b05-ffd578937521
2000-09-26 09:01:58 +00:00
Nicola Pero
15af8c11e0 Fixed memory problem in copying
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7596 72102866-910b-0410-8b05-ffd578937521
2000-09-26 08:46:30 +00:00
Lyndon Tremblay
d6114c1a73 Minor changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7588 72102866-910b-0410-8b05-ffd578937521
2000-09-23 02:05:09 +00:00
Richard Frith-MacDonald
325a6086ac Tidy
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7554 72102866-910b-0410-8b05-ffd578937521
2000-09-19 22:38:56 +00:00
Richard Frith-MacDonald
8bde8b0bb1 Internal storage fix.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7553 72102866-910b-0410-8b05-ffd578937521
2000-09-19 22:36:30 +00:00
Fred Kiefer
915919b6a5 [initWithFrame:] switch of the creation of a NSLayoutManager.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7545 72102866-910b-0410-8b05-ffd578937521
2000-09-18 23:34:02 +00:00
Fred Kiefer
c834c9bc02 Removed GSSimpleLayoutManager code and use new interface to it.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7544 72102866-910b-0410-8b05-ffd578937521
2000-09-18 23:33:30 +00:00
Fred Kiefer
b92894add8 Include new file GSSimpleLayoutManager.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7542 72102866-910b-0410-8b05-ffd578937521
2000-09-18 23:32:16 +00:00
Fred Kiefer
40aa76c126 New file extracted from NSText.m. This class is now a subclass of
NSLayoutManager and uses a similar interface.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7541 72102866-910b-0410-8b05-ffd578937521
2000-09-18 23:31:39 +00:00
Mirko Viviani
51d87dae28 2000-09-14 Mirko Viviani <mirko.viviani@rccr.cremona.it>
* Source/NSPanel.m ([GSAlertPanel
	-initWithContentRect:styleMask:backing:defer:screen:]): set alternate
	return image.
	* Source/NSOpenPanel.m ([NSOpenPanel -controlTextDidEndEditing:]):
	removed.
	* Source/NSSavePanel.m ([NSSavePanel -controlTextDidEndEditing:]):
	repost currentEvent.
	([NSSavePanel -_initWithoutGModel]): removed form cell action, set
	_okButton image.
	([NSSavePanel -_performReturn:]): removed.
	* Images/common_retH.tiff: new file.
	* Images/GNUmakefile (IMAGE_FILES): update.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7518 72102866-910b-0410-8b05-ffd578937521
2000-09-14 21:53:03 +00:00
Nicola Pero
d2966c95a3 Fixed memory leaks in editing
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7513 72102866-910b-0410-8b05-ffd578937521
2000-09-14 11:43:20 +00:00
Mirko Viviani
05a9cab8f7 2000-09-13 Mirko Viviani <mirko.viviani@rccr.cremona.it>
* Source/NSBrowser.m ([NSBrowser -_performLoadOfColumn:]): fixed
	intercell space values.

	* Source/NSText.m ([NSText -keyDown:]): removed forward for illegal
	text field events.

	* Source/NSSavePanel.m ([NSSavePanel -controlTextDidEndEditing:]):
	implemented for text field movement.
	([NSSavePanel -_performReturn:]): new private method.
	([NSSavePanel -_initWithoutGModel]): set form cell action to
	_performReturn:

	* Source/NSOpenPanel.m ([NSOpenPanel -controlTextDidEndEditing:]): call
	super.
	([NSOpenPanel -_selectCellName:]):,
	([NSOpenPanel -controlTextDidChange:]): enable okButton if there is
	text in the text field.
	([NSOpenPanel -ok:]): returns if nothing selected.

	* Tools/gpbs.m ([PasteboardEntry -lostOwnership]): removed workaround.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7506 72102866-910b-0410-8b05-ffd578937521
2000-09-13 20:18:01 +00:00
Fred Kiefer
ded1b5c698 [encodingForRegistry:encoding:] added more encodings
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7491 72102866-910b-0410-8b05-ffd578937521
2000-09-12 23:15:51 +00:00