FredKiefer
7f18f91883
Removed reference of NSColorPrivate.h
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8457 72102866-910b-0410-8b05-ffd578937521
2000-12-28 23:41:53 +00:00
FredKiefer
072eb56c2a
Simplified mask definition in [drawInteriorWithFrame:inView:] and
...
[cellSize].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8454 72102866-910b-0410-8b05-ffd578937521
2000-12-28 23:39:54 +00:00
richard
cfd2ee9935
More selection fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8451 72102866-910b-0410-8b05-ffd578937521
2000-12-27 07:39:25 +00:00
richard
d77897ddc3
Selection fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8450 72102866-910b-0410-8b05-ffd578937521
2000-12-27 06:28:29 +00:00
FredKiefer
92c0078da3
Dummy implementation for new methods.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8444 72102866-910b-0410-8b05-ffd578937521
2000-12-26 21:43:27 +00:00
FredKiefer
7a9d62fae0
Delegate all the new methods to the cell. Replaced all calls to
...
[display] with [setNeedsDisplay:] excuding those in [setState:]
and [setNextState:]. Removed the initXXX methods, as they were
doublicated code from super.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8443 72102866-910b-0410-8b05-ffd578937521
2000-12-26 21:42:57 +00:00
FredKiefer
81023862e0
Use the _default_context for all events and in dealloc.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8435 72102866-910b-0410-8b05-ffd578937521
2000-12-24 14:09:03 +00:00
FredKiefer
261757c1a2
Implemented [setTitleWithMnemonic:].
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8433 72102866-910b-0410-8b05-ffd578937521
2000-12-24 14:07:58 +00:00
FredKiefer
3693adb7ef
Implemented [refusesFirstResponder] and [setRefusesFirstResponder:].
...
Changed [setEnabled:], [setAlignment:], [setFont:] and all
[setXXValue:] methods to conform to the spec. Removed the
[copyWithZone:] method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8431 72102866-910b-0410-8b05-ffd578937521
2000-12-24 14:07:06 +00:00
FredKiefer
fd184f1c92
Dummy implementation for new methods.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8430 72102866-910b-0410-8b05-ffd578937521
2000-12-24 14:06:06 +00:00
FredKiefer
65742524f5
Implemented [imageRepWithContentsOfURL:] and [imageRepsWithContentsOfURL:].
...
In [imageRepsWithContentsOfFile:] get all possible reps.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8429 72102866-910b-0410-8b05-ffd578937521
2000-12-24 14:05:39 +00:00
FredKiefer
b9c33644ac
Implemented [initWithBitmapHandle:], [initWithIconHandle:] and
...
[initWithContentsOfURL:]. [copyWithZone:] dont copy cached image reps.
Allways use [self representations], so that the representation is
loaded if needed.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8428 72102866-910b-0410-8b05-ffd578937521
2000-12-24 14:05:12 +00:00
FredKiefer
549881f5a9
In [drawInteriorWithFrame:inView:] use NSCompositeSourceOver as
...
the operator for imag composition not NSCompositeCopy. This
replacement may be necessary in other parts of the GUI as well!!!!
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8424 72102866-910b-0410-8b05-ffd578937521
2000-12-23 14:22:16 +00:00
FredKiefer
6e09fd2f0c
Adopted to changes in header file.
...
Moved code from [TIFFRepresentation] to
[TIFFRepresentationUsingCompression:factor:] and call this.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8423 72102866-910b-0410-8b05-ffd578937521
2000-12-23 14:21:34 +00:00
FredKiefer
2413222c41
Adopted to changes in header file.
...
Removed methods [drawAtPoint:] and [drawInRect:] so that the super
implementation gets used. In method [initWithSize:depth:separate:alpha:]
store alpha and bitspersample.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8422 72102866-910b-0410-8b05-ffd578937521
2000-12-23 14:21:05 +00:00
FredKiefer
961ec94b86
Adopted to changes in header file.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8421 72102866-910b-0410-8b05-ffd578937521
2000-12-23 14:20:29 +00:00
FredKiefer
0b714fd726
Adopted to changes in header file. General cleanup.
...
Removed obsolete backend declarations.
Move ivar fileName from GSRepDate to NSImage, as it is used only
once. This simplifies [_useFromFile:] and [_loadImageFilenames].
Implemented [compositeToPoint:fromRect:operation:] and
[dissolveToPoint:fromRect:fraction:] by calling the corresponding
function. Now the operator given to this methods is really used!
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8420 72102866-910b-0410-8b05-ffd578937521
2000-12-23 14:19:23 +00:00
nico
a76dd73eff
Rewritten setting typing attributes from insertion point; tidied, minor
...
changes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8416 72102866-910b-0410-8b05-ffd578937521
2000-12-23 13:07:36 +00:00
richard
f38731f7ca
Handle apostrophes and hyphens within words.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8415 72102866-910b-0410-8b05-ffd578937521
2000-12-23 07:10:27 +00:00
nico
d20f647768
Implemented notifications to the delegate about changes in the selection
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8412 72102866-910b-0410-8b05-ffd578937521
2000-12-22 19:08:29 +00:00
nico
e580476c3c
Implemented shift click; moved code around
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8409 72102866-910b-0410-8b05-ffd578937521
2000-12-22 17:52:23 +00:00
nico
b8172d5f2c
Work on drawing insertion point
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8407 72102866-910b-0410-8b05-ffd578937521
2000-12-22 16:57:21 +00:00
nico
4822eefa52
Added NSOldSelectedCharacterRange
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8405 72102866-910b-0410-8b05-ffd578937521
2000-12-22 16:49:09 +00:00
nico
3ec36308e4
Tidied
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8401 72102866-910b-0410-8b05-ffd578937521
2000-12-21 17:47:51 +00:00
nico
4ede334acc
Tidied
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8400 72102866-910b-0410-8b05-ffd578937521
2000-12-21 17:39:42 +00:00
nico
fc1bb74b23
Use layout manager's ivars for flags shared between textviews with the same
...
layout manager; fixed/implemented notifications, begin/end editing etc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8399 72102866-910b-0410-8b05-ffd578937521
2000-12-21 17:32:01 +00:00
nico
df0caf45b8
Code for multiple text views
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8398 72102866-910b-0410-8b05-ffd578937521
2000-12-21 17:29:51 +00:00
nico
27b1108db2
Fixed bug allowing buttons disabled but with a key equivalent to get first
...
responder status
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8395 72102866-910b-0410-8b05-ffd578937521
2000-12-21 17:23:21 +00:00
nico
91570698d2
Access ivar _refuses_first_responder directly.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8394 72102866-910b-0410-8b05-ffd578937521
2000-12-21 17:21:27 +00:00
nico
535b3b5461
Added a little private method to allow implentation of NSTextView
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8393 72102866-910b-0410-8b05-ffd578937521
2000-12-21 17:20:33 +00:00
nico
71f2cc1849
Tidyups, access some ivars directly, and a bug fix for scrolling
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8386 72102866-910b-0410-8b05-ffd578937521
2000-12-20 22:56:40 +00:00
nico
91fb1e751e
Tidied
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8385 72102866-910b-0410-8b05-ffd578937521
2000-12-20 22:55:30 +00:00
nico
7927b1847e
Merged NSText code into NSTextView
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8383 72102866-910b-0410-8b05-ffd578937521
2000-12-20 17:00:32 +00:00
nico
9239a39127
Removed most delegate code now handled by NSTextView
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8381 72102866-910b-0410-8b05-ffd578937521
2000-12-20 12:50:37 +00:00
nico
05aa0c954d
Added NSText notifications to delegate
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8380 72102866-910b-0410-8b05-ffd578937521
2000-12-20 12:50:15 +00:00
nico
ca18190c28
Moved some methods to NSTextView; removed some old methods; tidied
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8378 72102866-910b-0410-8b05-ffd578937521
2000-12-19 22:37:28 +00:00
nico
8f5f94e6c2
Moved selectedRange and setSelectedRange: from NSText
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8377 72102866-910b-0410-8b05-ffd578937521
2000-12-19 22:35:22 +00:00
nico
51539c053d
Fix in my last change, plus some verbose comments added
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8375 72102866-910b-0410-8b05-ffd578937521
2000-12-19 21:20:39 +00:00
nico
f07c06a970
Indented comment
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8374 72102866-910b-0410-8b05-ffd578937521
2000-12-19 21:09:21 +00:00
nico
dfb8d582cf
Moved the string method to NSTextView
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8372 72102866-910b-0410-8b05-ffd578937521
2000-12-19 18:45:52 +00:00
nico
920db3c3ca
Added code to share editing attributes and delegate between multiple
...
text views with the same layout manager
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8371 72102866-910b-0410-8b05-ffd578937521
2000-12-19 18:45:19 +00:00
nico
92c5ee42c5
Tidied some long comments
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8368 72102866-910b-0410-8b05-ffd578937521
2000-12-19 15:47:24 +00:00
nico
d169529e0d
Imported some code from NSText; removed lots of methods already implemented
...
in NSText (the superclass)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8366 72102866-910b-0410-8b05-ffd578937521
2000-12-19 15:34:21 +00:00
nico
fa105c04ad
Removed code which belongs to NSTextView
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8365 72102866-910b-0410-8b05-ffd578937521
2000-12-19 15:33:34 +00:00
nico
5d39515eff
Moved some code from NSText
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8360 72102866-910b-0410-8b05-ffd578937521
2000-12-18 22:07:28 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
553054850c
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
FredKiefer
a10133c5e9
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
532cc38a15
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
nico
6947a7d7f5
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
nico
b71c9cced6
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
FredKiefer
906d92927f
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
FredKiefer
df28b8512a
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
FredKiefer
f77cbb4b2d
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
fedor
bd3383cc13
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
FredKiefer
5160ddf76d
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
FredKiefer
9888e9b272
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
FredKiefer
a0f098ad8c
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
FredKiefer
b5095eee61
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
93c151d8ab
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
FredKiefer
447a336473
[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
FredKiefer
53711c9134
[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
FredKiefer
e7dc2366c4
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
nico
f12e53a3cb
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
FredKiefer
40fe17b6d6
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
FredKiefer
0ca2537bc8
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
fedor
c21aee678f
Fix translation of scrolling document bounds
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8042 72102866-910b-0410-8b05-ffd578937521
2000-11-06 05:00:17 +00:00
FredKiefer
b05a455518
Moved all sizeToFit calls after text changes to
...
the layout manager.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8039 72102866-910b-0410-8b05-ffd578937521
2000-11-05 16:31:20 +00:00
FredKiefer
c96850c89a
In [setWidthTracksTextView:] and
...
[setHeightTracksTextView:] make sure that the view post changes
and that notifications are only send once.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8038 72102866-910b-0410-8b05-ffd578937521
2000-11-05 16:30:06 +00:00
FredKiefer
da6659b518
Added dealloc method. Implemented
...
[drawsBackground] and [setDrawsBackground:]. In [setDocumentView:]
get the background drawing from the document view. [drawRect:] and
[isOpaque] check the background drawing. Corrected [constrainScrollPoint:]
to respect the documentFrame origin. Implemented [autoscroll:]
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8037 72102866-910b-0410-8b05-ffd578937521
2000-11-05 16:29:32 +00:00
FredKiefer
517a060220
Hand on background drawing to content view. In [setContentView:] call setDocumentView:
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8036 72102866-910b-0410-8b05-ffd578937521
2000-11-05 16:28:50 +00:00
FredKiefer
cf9c1b616a
Call size to fit on view after layout changes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8033 72102866-910b-0410-8b05-ffd578937521
2000-11-05 16:21:47 +00:00
gcasa
52eca4c236
Adding modifications for NSSecureTextField. This is a partial
...
implementation which works at the same level as OPENSTEP 4.2.
The methods necessary to echo bullets to the screen will be
added later. (GJC)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8021 72102866-910b-0410-8b05-ffd578937521
2000-11-04 06:58:29 +00:00
FredKiefer
62d641dcdc
Set the TextConatainer to track its view
...
again. But switch this of if the view is scrollable.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7997 72102866-910b-0410-8b05-ffd578937521
2000-11-03 00:22:15 +00:00
FredKiefer
3692dce9fe
Added simple glyph cahracter mapping methods
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7996 72102866-910b-0410-8b05-ffd578937521
2000-11-03 00:21:29 +00:00
FredKiefer
1f8de305ac
Removed some 300 lines
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7995 72102866-910b-0410-8b05-ffd578937521
2000-11-03 00:20:06 +00:00
richard
60d73d9a10
Fix error in function name
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7951 72102866-910b-0410-8b05-ffd578937521
2000-10-31 16:29:18 +00:00
richard
00418ee526
Added some fixes for Apple runtime
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7940 72102866-910b-0410-8b05-ffd578937521
2000-10-31 12:47:09 +00:00
FredKiefer
58fdf6807a
[setContainerSize:] only informs layout manager if really changed.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7896 72102866-910b-0410-8b05-ffd578937521
2000-10-23 23:27:00 +00:00
FredKiefer
c014cd99bd
[buildUpTextNetwork:] The text container no
...
longer tracks its view by default.
[initWithFrame:textContainer:] the view is no longer resizable by default.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7895 72102866-910b-0410-8b05-ffd578937521
2000-10-23 23:25:46 +00:00
FredKiefer
f47a463c4c
_GNULineLayoutInfo has new ivar usedRect. Simplified the code a bit.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7894 72102866-910b-0410-8b05-ffd578937521
2000-10-23 23:24:22 +00:00
FredKiefer
dfef9c66cc
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
5bd366163e
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
9bfe01ab61
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
c95e77dadb
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
f2691db38d
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
FredKiefer
6e6c431653
[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
FredKiefer
191031fb48
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
FredKiefer
5e18b105d3
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
fedor
535933387d
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
FredKiefer
d2322b8e0b
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
nico
decd3dc12d
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
FredKiefer
0a60f23d17
*** 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
FredKiefer
857532eb73
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
FredKiefer
bb07932cfb
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
FredKiefer
11055fe8ee
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
FredKiefer
19d33f6a4d
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
FredKiefer
834ecf9b3b
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
nico
a79bfd9b30
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
25517feb5e
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
4a61cf6c8a
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
6eca886c74
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
FredKiefer
7989ee165c
_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
FredKiefer
723c50ad65
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
af9cb54c9a
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
FredKiefer
783e4850ce
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
FredKiefer
1f67435a04
[_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
FredKiefer
32ce7a129e
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
FredKiefer
de030d678f
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
FredKiefer
43d81e04cb
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
FredKiefer
9345fc6851
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
FredKiefer
635957e149
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
FredKiefer
ece28c6a63
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
FredKiefer
9dddefecb9
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
fedor
a93f4d4d96
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
fedor
38d4cf35ba
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
fedor
c27ce23489
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
humasect
bbcdf8dd1a
- 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
humasect
c3ed7f5004
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
nico
7997728563
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
humasect
fe7585edc2
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
f6b45986e5
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
9f3bd2b6fe
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
FredKiefer
43dd8101c5
[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
FredKiefer
b578efa276
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
FredKiefer
5bedc4e137
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
FredKiefer
96c3534c43
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
888c376174
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
nico
69c368da27
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
2c7b4ab741
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
FredKiefer
784477598c
[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
mirko
c50bc395ea
2000-09-11 Mirko Viviani <mirko.viviani@rccr.cremona.it>
...
* Source/NSText.m ([NSText -moveLeft:sender]): deselect text that
starts at the beginning of the line.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7472 72102866-910b-0410-8b05-ffd578937521
2000-09-11 21:44:53 +00:00
mirko
47061712e4
2000-09-11 Mirko Viviani <mirko.viviani@rccr.cremona.it>
...
* Source/NSBrowser.m ([NSBrowser -_performLoadOfColumn:]): set
intercell spacing to 0.
* Source/NSMatrix.m ([NSMatrix -mouseDown:]): in NSRadioModeMatrix
deselect the previous selected cell only if the cell is valid.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7471 72102866-910b-0410-8b05-ffd578937521
2000-09-11 15:09:27 +00:00
mirko
69f05100bd
2000-09-10 Mirko Viviani <mirko.viviani@rccr.cremona.it>
...
* Tools/gpbs.m ([PasteboardEntry -lostOwnership]): workaround to avoid
core dump due to NSConnection bug.
* Source/NSWindow.m ([NSWindow -keyDown:]): discard and do not perform
key equivalent for null character events. Triggered return key for
default button cell.
([NSWindow -defaultButtonCell]), ([NSWindow -setDefaultButtonCell:]),
([NSWindow -disableKeyEquivalentForDefaultButtonCell]),
([NSWindow -enableKeyEquivalentForDefaultButtonCell]): implemented.
([NSWindow -dealloc]): release _defaultButtonCell
* Headers/AppKit/NSWindow.h: added ivar and flag.
* Source/NSOpenPanel.m ([NSOpenPanel -controlTextDidEndEditing:]),
([NSOpenPanel -controlTextDidChange:]), ([NSOpenPanel -ok:]):
implemented keyboard navigation.
([NSOpenPanel -runModalForDirectory:file:types:]): do not allow
branch selection if can't choose directories.
([NSOpenPanel -_selectTextInColumn:]),
([NSOpenPanel -_selectCellName:]): new private methods.
([NSOpenPanel -filenames]): change for choose dirs.
* Source/NSText.m ([NSText -keyDown:]): forwards text field illegal
events to the next responder.
* Source/NSBrowser.m ([NSBrowser -moveUp:]), ([NSBrowser -moveDown:]),
([NSBrowser -moveLeft:]), ([NSBrowser -moveRight:]),
([NSBrowser -keyDown:]): implemented keyboard navigation
([NSBrowser -selectedCell]), ([NSBrowser -selectedCells]),
([NSBrowser -columnOfMatrix:]), ([NSBrowser -selectedColumn]):
changed return value from NSNotFound to -1 to conforms to NSMatrix
([NSBrowser -doClick:]): fix for new return values, added support for
multiple and branch selection.
([NSBrowser -setLastColumn:]): mark column titles need display
([NSBrowser -_getTitleOfColumn:]): fix for multiple selection.
* Source/NSCell.m ([NSCell -setState:]): bug fix: set value to
NSOnState if someone try to set NSMixedState in a two state cell.
([NSCell -performClick:]): do not perform click if the cell is
disabled.
* Source/NSMatrix.m ([NSMatrix
-_privateFrame:mode:numberOfRows:numberOfColumns:]),
([NSMatrix -deselectAllCells]), ([NSMatrix -deselectSelectedCell]),
([NSMatrix -selectAll:]): bug fix: set _selectRow and _selectColumn
to -1 when no cells are selected
([NSMatrix -performKeyEquivalent:]): saves _selectedRow and
_selectedColumn.
([NSMatrix -getRow:column:ofCell:]): check for null values for row and
column.
([NSMatrix -selectCellAtRow:column:]): deselect the current selection
only in NSRadioModeMatrix mode.
([NSMatrix -mouseDown:]): use the new code also for NSRadioModeMatrix
and fix for this mode.
* Source/NSSavePanel.m ([NSSavePanel -selectCellWithString:]): select
text of the cell and enable okButton.
([NSSavePanel -controlTextDidChange:]): implemented.
([NSSavePanel -controlTextDidEndEditing:]): removed.
([NSSavePanel -browser:createRowsForColumn:inMatrix:]): follows
symbolic links.
([NSSavePanel -_initWithoutGModel]): set browser doubleAction to
performClick: of the _okButton. Set _okButton as default window button.
Disable _okButton.
([NSSavePanel -browser:selectCellWithString:inColumn:]),
([NSSavePanel -selectText:]), ([NSSavePanel -keyDown:]): implemented
keyboard navigation.
([NSSavePanel -runModalForDirectory:file:]): enable _okButton if
filename is valid.
([NSSavePanel -_selectTextInColumn:]), ([NSSavePanel -_selectText:]),
([NSSavePanel -_selectCellName:]): new private methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7468 72102866-910b-0410-8b05-ffd578937521
2000-09-10 21:55:17 +00:00
nico
96fe6f165d
Fixed linking to the text container during initialization
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7466 72102866-910b-0410-8b05-ffd578937521
2000-09-10 21:38:04 +00:00
nico
b698f8d816
Implemented encoding/decoding
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7465 72102866-910b-0410-8b05-ffd578937521
2000-09-10 21:37:03 +00:00
nico
4134387228
Updated for change in NSMatrix ivars
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7462 72102866-910b-0410-8b05-ffd578937521
2000-09-10 15:06:37 +00:00
nico
6dc9a7627f
Prefixed all ivars with underscores
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7461 72102866-910b-0410-8b05-ffd578937521
2000-09-10 15:05:00 +00:00
nico
8492cab559
Do not resize columns which are not resizable
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7460 72102866-910b-0410-8b05-ffd578937521
2000-09-10 15:02:09 +00:00
nico
f12bf1b152
Don't edit columns which are not editable
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7459 72102866-910b-0410-8b05-ffd578937521
2000-09-10 15:01:15 +00:00
nico
b5209ef383
Made table columns editable by default
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7458 72102866-910b-0410-8b05-ffd578937521
2000-09-10 14:59:25 +00:00
nico
5ba581688b
Various fixes and some new code for proper management of very big window
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7451 72102866-910b-0410-8b05-ffd578937521
2000-09-08 17:07:04 +00:00
richard
ce4036953f
Minor tidyup
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7449 72102866-910b-0410-8b05-ffd578937521
2000-09-08 10:39:11 +00:00
richard
8a88035ef0
Submenu management bugfixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7448 72102866-910b-0410-8b05-ffd578937521
2000-09-08 09:41:33 +00:00
FredKiefer
1886549f43
Changed varius places to make more consistent.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7445 72102866-910b-0410-8b05-ffd578937521
2000-09-08 00:07:42 +00:00
nico
2fb8616472
Post info about old width when posting notification about column resized
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7443 72102866-910b-0410-8b05-ffd578937521
2000-09-07 20:39:37 +00:00
nico
b3c7124bc9
Bug fixings, implemented moving of columns programmatically.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7442 72102866-910b-0410-8b05-ffd578937521
2000-09-07 20:38:39 +00:00
nico
05d1e5f029
Added workaround to clip string in rect
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7438 72102866-910b-0410-8b05-ffd578937521
2000-09-07 16:37:41 +00:00
nico
8c59fd4fa2
Implemented column resizing
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7437 72102866-910b-0410-8b05-ffd578937521
2000-09-07 16:36:05 +00:00
nico
a64527f417
Added column resizing code
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7436 72102866-910b-0410-8b05-ffd578937521
2000-09-07 16:35:05 +00:00
nico
a071dea3e5
Huge simplification and speed up of dragging
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7432 72102866-910b-0410-8b05-ffd578937521
2000-09-07 12:59:28 +00:00
nico
05fe129ea0
Removed annoying log
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7430 72102866-910b-0410-8b05-ffd578937521
2000-09-07 01:01:07 +00:00
nico
ef3be61ec6
Tidied
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7428 72102866-910b-0410-8b05-ffd578937521
2000-09-06 21:44:28 +00:00
nico
4e451907a3
Fixed memory leak; do not retain delegate; cache scrollerWidth; use nil
...
instead of empty view
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7422 72102866-910b-0410-8b05-ffd578937521
2000-09-06 15:28:46 +00:00
nico
f5617abc95
Implemented missing object value methods
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7401 72102866-910b-0410-8b05-ffd578937521
2000-09-05 22:06:55 +00:00
nico
32d269dea8
Do not register for notifications if not needed, bug fix
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7398 72102866-910b-0410-8b05-ffd578937521
2000-09-05 17:31:03 +00:00
nico
858981c0df
Updated for change in NSWindow's ivars
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7396 72102866-910b-0410-8b05-ffd578937521
2000-09-05 17:24:15 +00:00
nico
4a96f79258
Prefixed all ivars with underscore
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7395 72102866-910b-0410-8b05-ffd578937521
2000-09-05 17:22:46 +00:00
nico
ef79bf6fe3
Implemented NSApplicationWillTerminateNotification
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7380 72102866-910b-0410-8b05-ffd578937521
2000-09-05 01:07:59 +00:00
nico
902bfb76fb
Fixed decoding
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7376 72102866-910b-0410-8b05-ffd578937521
2000-09-04 23:00:28 +00:00
nico
d3f3e00f40
Implemented encoding/decoding
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7375 72102866-910b-0410-8b05-ffd578937521
2000-09-04 22:59:23 +00:00
FredKiefer
491780f038
Use more implementation from super to make this class temporary working
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7373 72102866-910b-0410-8b05-ffd578937521
2000-09-04 18:41:59 +00:00
FredKiefer
4b9f008f6d
Added some basic implementation.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7372 72102866-910b-0410-8b05-ffd578937521
2000-09-04 18:41:31 +00:00
nico
aa2ea2701f
Updated key event processing for fix in the backend
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7370 72102866-910b-0410-8b05-ffd578937521
2000-09-04 02:03:37 +00:00
nico
843b7bb18b
Updated processing of key events to fix in the backend
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7369 72102866-910b-0410-8b05-ffd578937521
2000-09-04 02:00:14 +00:00
FredKiefer
7cf72d436f
Corrected bug in [nextWordFromIndex:forward:]
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7364 72102866-910b-0410-8b05-ffd578937521
2000-09-03 21:02:00 +00:00
FredKiefer
20ac07cc12
[weightForString:] added "black"
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7363 72102866-910b-0410-8b05-ffd578937521
2000-09-03 21:01:32 +00:00
nico
09f3dae3ac
Redraw only the necessary parts; tiny other speedups.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7358 72102866-910b-0410-8b05-ffd578937521
2000-09-03 19:30:19 +00:00
nico
dc0d54400b
Fixed displaying a title in the slider
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7356 72102866-910b-0410-8b05-ffd578937521
2000-09-03 19:27:02 +00:00