Commit graph

1298 commits

Author SHA1 Message Date
Nicola Pero
b7a8dc9399 Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8355 72102866-910b-0410-8b05-ffd578937521
2000-12-18 18:08:21 +00:00
Richard Frith-MacDonald
9835ced269 Range fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8349 72102866-910b-0410-8b05-ffd578937521
2000-12-18 17:14:54 +00:00
Richard Frith-MacDonald
e514763173 Applied view resizing patches.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8345 72102866-910b-0410-8b05-ffd578937521
2000-12-18 10:52:46 +00:00
Nicola Pero
86b2df02c9 Little tweak to keep number of concurrent typing dictionaries allocated
reasonably low


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8342 72102866-910b-0410-8b05-ffd578937521
2000-12-17 11:57:23 +00:00
Nicola Pero
1bfc14cd38 Implemented double owning policy for the text network (ie, allocation
deallocation stuff)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8340 72102866-910b-0410-8b05-ffd578937521
2000-12-16 20:21:47 +00:00
Nicola Pero
abed70f622 Retain/release fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8339 72102866-910b-0410-8b05-ffd578937521
2000-12-16 20:19:18 +00:00
Nicola Pero
c96deb1436 Retain/release fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8338 72102866-910b-0410-8b05-ffd578937521
2000-12-16 20:18:33 +00:00
Nicola Pero
120979e0e2 Retain/release fixes, and tidy up
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8337 72102866-910b-0410-8b05-ffd578937521
2000-12-16 20:17:54 +00:00
Fred Kiefer
2c91a0f895 Moved the "not implemented yet" Panel to the shared instance
method of this class.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8334 72102866-910b-0410-8b05-ffd578937521
2000-12-16 16:23:41 +00:00
Fred Kiefer
edb22721b2 Adopted to changes in header file. [initialize] Cache the
notification center and the NSAutoreleasePool class for the whole
	file. [finishLaunching] set the image before starting the icon
	view. Recognize file to open with flag @"NSOpen" beside @"GSFilePath".
	[dealloc] now also destoys the graphic context. [stop:] now stops
	the run loop, which may be restarted (but this will still reload
	the NIB file!). [setApplicationIconImage:] check if the
	_app_icon_window is there before setting its
	image. [orderFrontDataLinkPanel:] and [orderFrontHelpPanel:] moved
	the error message into the corresponding files. [terminate:] now
	directly stops the program with exit(0). Also did some general
	cleanup of code.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8333 72102866-910b-0410-8b05-ffd578937521
2000-12-16 16:22:31 +00:00
Nicola Pero
24b3d9ce47 Implemented copyWithZone
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8330 72102866-910b-0410-8b05-ffd578937521
2000-12-16 13:56:25 +00:00
Nicola Pero
ac3979e8f4 Updated for ivar change; attributed strings are now treated differently
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8329 72102866-910b-0410-8b05-ffd578937521
2000-12-16 13:55:28 +00:00
Nicola Pero
8cce6d579a Prefixed all ivars with underscores; fixed invalidated range
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8326 72102866-910b-0410-8b05-ffd578937521
2000-12-16 02:21:59 +00:00
Nicola Pero
0cec48542b Tidy up
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8325 72102866-910b-0410-8b05-ffd578937521
2000-12-16 02:03:03 +00:00
Nicola Pero
352ef9339a Optimizations
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8321 72102866-910b-0410-8b05-ffd578937521
2000-12-13 23:19:57 +00:00
Nicola Pero
6284321acb Fixed memory leak
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8320 72102866-910b-0410-8b05-ffd578937521
2000-12-13 23:19:17 +00:00
Nicola Pero
6d3e255397 Prefixed all NSParagraphStyle and NSTextTab ivars with underscores
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8313 72102866-910b-0410-8b05-ffd578937521
2000-12-12 21:14:00 +00:00
Nicola Pero
ca75f8eb2d Do not draw in deferred windows
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8311 72102866-910b-0410-8b05-ffd578937521
2000-12-12 18:45:22 +00:00
Nicola Pero
af894fe8c4 Bug fix for recent change in NSActionCell
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8309 72102866-910b-0410-8b05-ffd578937521
2000-12-12 17:15:23 +00:00
Nicola Pero
96422627fd Left align edited text.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8308 72102866-910b-0410-8b05-ffd578937521
2000-12-12 17:13:05 +00:00
Nicola Pero
c332a68115 Do not copy deeply ivars when copying
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8307 72102866-910b-0410-8b05-ffd578937521
2000-12-12 17:12:16 +00:00
Nicola Pero
bb4466e3b6 When copying, only make a superficial copy of ivars
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8306 72102866-910b-0410-8b05-ffd578937521
2000-12-12 17:11:21 +00:00
Nicola Pero
01360a699c When copying cells, do a superficial copy
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8305 72102866-910b-0410-8b05-ffd578937521
2000-12-12 17:09:32 +00:00
Nicola Pero
371286e8cb Tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8304 72102866-910b-0410-8b05-ffd578937521
2000-12-12 16:38:04 +00:00
Fred Kiefer
eac0e25fd7 Remove initialisation and copy method, as this were mere super
calls. Added getter methods with validation.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8281 72102866-910b-0410-8b05-ffd578937521
2000-12-08 01:20:03 +00:00
Fred Kiefer
aef403cffa Moved the initialisation of the _typingAttributes from the init
method to its first use.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8280 72102866-910b-0410-8b05-ffd578937521
2000-12-08 01:19:38 +00:00
Fred Kiefer
e7ea15ff46 Added coding methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8276 72102866-910b-0410-8b05-ffd578937521
2000-12-08 01:17:22 +00:00
Fred Kiefer
339c81cdff Removed super calls from coding methods to avoid compiler warning.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8272 72102866-910b-0410-8b05-ffd578937521
2000-12-07 00:23:45 +00:00
Fred Kiefer
db512aaaf8 [contextHelpForKey:] replaced nil by NULL to avoid compiler warning.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8271 72102866-910b-0410-8b05-ffd578937521
2000-12-07 00:23:20 +00:00
Fred Kiefer
86b501a3ce Made all predefined fonts redefinable and removed #ifdef.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8270 72102866-910b-0410-8b05-ffd578937521
2000-12-07 00:22:51 +00:00
Fred Kiefer
c2f8b2e407 Adopted to changes in NSCell.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8265 72102866-910b-0410-8b05-ffd578937521
2000-12-07 00:20:17 +00:00
Fred Kiefer
d5b8faad6d Implemented a load of missing methods and adopted all subclasses to
this changes. (Including copying and coding) This breaks archived cells!


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8264 72102866-910b-0410-8b05-ffd578937521
2000-12-07 00:13:30 +00:00
Richard Frith-MacDonald
28e06375b0 Remove unused var
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8262 72102866-910b-0410-8b05-ffd578937521
2000-12-06 19:52:18 +00:00
Nicola Pero
18ddb109ce Fixed problem with exposed rect being confused with bounds
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8260 72102866-910b-0410-8b05-ffd578937521
2000-12-06 16:48:51 +00:00
Nicola Pero
71527b54da Patch from Georg Fleischmann removing release in excess; include file to
avoid compiler warnings; added copyright notice


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8182 72102866-910b-0410-8b05-ffd578937521
2000-11-23 10:17:47 +00:00
Fred Kiefer
c46694c404 Use system fonts, not explicit names.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8171 72102866-910b-0410-8b05-ffd578937521
2000-11-21 19:23:21 +00:00
Fred Kiefer
dd30b76aec Added more graphical elements, any functionality is still missing.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8170 72102866-910b-0410-8b05-ffd578937521
2000-11-21 19:22:45 +00:00
Fred Kiefer
6f5e42e1d1 Split up in three classes added primitiv printing in file
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8169 72102866-910b-0410-8b05-ffd578937521
2000-11-21 19:22:08 +00:00
Adam Fedor
eee86903f2 Check id
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8116 72102866-910b-0410-8b05-ffd578937521
2000-11-15 05:02:06 +00:00
Fred Kiefer
1b7e190b3e Started implementation of printing.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8107 72102866-910b-0410-8b05-ffd578937521
2000-11-13 15:19:00 +00:00
Fred Kiefer
0916c83f58 Implemented [print:], [fax:], [dataWithEPSInsideRect:].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8105 72102866-910b-0410-8b05-ffd578937521
2000-11-13 15:18:11 +00:00
Fred Kiefer
c0f395f492 Implemented [print:], [fax:], [dataWithEPSInsideRect:] and [writeEPSInsideRect:toPasteboard:].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8104 72102866-910b-0410-8b05-ffd578937521
2000-11-13 15:17:24 +00:00
Fred Kiefer
d08bdb8b6a Added method [copyWithZone:].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8103 72102866-910b-0410-8b05-ffd578937521
2000-11-13 15:16:40 +00:00
Richard Frith-MacDonald
17ef6f2a6b Memory usage improvements
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8099 72102866-910b-0410-8b05-ffd578937521
2000-11-13 11:54:58 +00:00
Fred Kiefer
153be7035b [loadNibNamed:owner:] removed unused local variable file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8087 72102866-910b-0410-8b05-ffd578937521
2000-11-12 16:45:25 +00:00
Fred Kiefer
dacc328789 [finishLaunching] removed uneeded call
to loadGModel:owner: as this gets done in loadNibNamed:owner:.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8086 72102866-910b-0410-8b05-ffd578937521
2000-11-12 16:44:37 +00:00
Fred Kiefer
f5a8d938aa Renamed the ivars of _GNULineLayoutInfo to correspond to those of
GSLineLayoutInfo. Call a few more abstract methods. Added
AutoreleasePool in [rebuildForRange:delta:inTextContainer:] to free
up memory.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8081 72102866-910b-0410-8b05-ffd578937521
2000-11-12 13:54:54 +00:00
Nicola Pero
722719c680 Use Helvetica-Bold rather than Helvetica-BoldOblique for titles;
Helvetica-Bold looks much better


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8071 72102866-910b-0410-8b05-ffd578937521
2000-11-09 10:06:25 +00:00
Fred Kiefer
c29b53732f In [setVerticallyResizable:] and [setHorizontallyResizable:] set the size of the text conatainer.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8062 72102866-910b-0410-8b05-ffd578937521
2000-11-06 22:12:29 +00:00
Fred Kiefer
d8c43999c1 Get the fragmentRect used for layout from the text container
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8061 72102866-910b-0410-8b05-ffd578937521
2000-11-06 22:11:26 +00:00