Commit graph

2093 commits

Author SHA1 Message Date
nico
6e50f1c47f Made NSText an abstract class always allocating an instance of the
concrete subclass NSTextView


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8359 72102866-910b-0410-8b05-ffd578937521
2000-12-18 22:06:53 +00:00
richard
64c416ad2f Fix logic error in attribute handling
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8358 72102866-910b-0410-8b05-ffd578937521
2000-12-18 19:29:49 +00:00
nico
1ed1b965ee 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
nico
59ca4cbf71 Updated for change in private method name
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8354 72102866-910b-0410-8b05-ffd578937521
2000-12-18 18:01:30 +00:00
richard
a69337b281 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
d878c1bc44 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
nico
dff043a22a Added a little trick to NSCell to reduce number of concurrently allocated
typing dictionaries


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8343 72102866-910b-0410-8b05-ffd578937521
2000-12-17 12:01:00 +00:00
nico
4a891ca1cf 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
nico
a1f627a6ad Fixed/implemented memory management for the text classes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8341 72102866-910b-0410-8b05-ffd578937521
2000-12-16 20:27:29 +00:00
nico
1e7f6d4db9 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
nico
b273ed105e 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
nico
45b04bd21e 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
nico
0e88cae678 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
nico
4d49b570b6 Added two ivars to implement the double text network retain/release policy
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8336 72102866-910b-0410-8b05-ffd578937521
2000-12-16 20:16:12 +00:00
FredKiefer
2e347c9698 *** empty log message ***
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8335 72102866-910b-0410-8b05-ffd578937521
2000-12-16 16:25:28 +00:00
FredKiefer
1c75b66d52 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
FredKiefer
7fd633c784 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
FredKiefer
27397dd2e3 Prefixed all ivars with underscores, removed unneeded ivars and
added some missing methods.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8332 72102866-910b-0410-8b05-ffd578937521
2000-12-16 16:20:43 +00:00
nico
9934f77470 Compressed memory consumption of cells
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8331 72102866-910b-0410-8b05-ffd578937521
2000-12-16 13:58:49 +00:00
nico
e1ded49b8f 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
nico
efc8f44085 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
nico
fa1a2b186d Modified ivars to reduce memory consumption.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8328 72102866-910b-0410-8b05-ffd578937521
2000-12-16 13:54:23 +00:00
nico
eb3560a49e Prefixed NSTextStorage ivars with underscore; fixed bug in NSTextStorage
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8327 72102866-910b-0410-8b05-ffd578937521
2000-12-16 02:23:43 +00:00
nico
8bd1435251 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
nico
f5c139e32c 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
nico
ca8bda3640 Bug fix in NSText; optimizations in NSAttributedString
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8322 72102866-910b-0410-8b05-ffd578937521
2000-12-13 23:24:47 +00:00
nico
fb8b620d44 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
nico
fa08b6ab53 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
nico
a0711aeb96 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
nico
fb798c08f7 Fixed popupbuttons which had been broken by deferred windows
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8312 72102866-910b-0410-8b05-ffd578937521
2000-12-12 18:47:09 +00:00
nico
dc0022cf51 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
nico
973ee6fa02 Copy cells quicker, and bug fix for changes in NSActionCell
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8310 72102866-910b-0410-8b05-ffd578937521
2000-12-12 17:17:21 +00:00
nico
737a59f87d 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
nico
abc43f3170 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
nico
cadf24988f 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
nico
5fee1bbe00 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
nico
aad9abe261 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
nico
c2f133dbf2 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
FredKiefer
ef3dd49a06 *** empty log message ***
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8282 72102866-910b-0410-8b05-ffd578937521
2000-12-08 01:21:04 +00:00
FredKiefer
6474a78bdf 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
FredKiefer
7fe7a8aafe 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
FredKiefer
7a7a05dd65 Removed all methods, as they are defined for super class.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8279 72102866-910b-0410-8b05-ffd578937521
2000-12-08 01:19:00 +00:00
FredKiefer
2fea3f3d53 Remove float formating ivars, as they were never used.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8278 72102866-910b-0410-8b05-ffd578937521
2000-12-08 01:18:36 +00:00
FredKiefer
bced436a2d Added NSCoding Protocol and moved extension methods into seperate
interface.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8277 72102866-910b-0410-8b05-ffd578937521
2000-12-08 01:18:06 +00:00
FredKiefer
c3b0028f40 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
FredKiefer
181976dcb5 *** empty log message ***
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8273 72102866-910b-0410-8b05-ffd578937521
2000-12-07 00:25:23 +00:00
FredKiefer
f9b5e990bf 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
FredKiefer
6c2e9a27b7 [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
FredKiefer
6fe621db12 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
FredKiefer
c82c0197ce Removed type definitions.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8269 72102866-910b-0410-8b05-ffd578937521
2000-12-07 00:22:16 +00:00