Adam Fedor
7102ce46f9
Show dot on icon for hidden apps
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19202 72102866-910b-0410-8b05-ffd578937521
2004-04-28 00:36:34 +00:00
Quentin Mathe
b48e7de1bc
Sender for NSToolbarItem action corrected
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19200 72102866-910b-0410-8b05-ffd578937521
2004-04-27 21:42:24 +00:00
Alexander Malmberg
f126976fd5
Autorelease the new image.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19130 72102866-910b-0410-8b05-ffd578937521
2004-04-16 13:39:00 +00:00
Alexander Malmberg
3b4a1570d4
(-keyDown:): When the user selects a cell by typing a partial name, make sure all other cells are deselected.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19090 72102866-910b-0410-8b05-ffd578937521
2004-04-13 22:42:30 +00:00
Quentin Mathe
991ea5ed79
Remove Source/NSWindow+Toolbar.h
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19086 72102866-910b-0410-8b05-ffd578937521
2004-04-13 13:40:29 +00:00
Quentin Mathe
972d2de54c
Added display mode and size mode support to the toolbar implementation
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19085 72102866-910b-0410-8b05-ffd578937521
2004-04-13 13:12:53 +00:00
Quentin Mathe
28db48ddfd
Added performClickWithFrame:inView: to NSCell
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19005 72102866-910b-0410-8b05-ffd578937521
2004-04-02 21:34:37 +00:00
Quentin Mathe
920a933a52
Moved NSWindow+Toolbar.h to Headers/AppKit
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19003 72102866-910b-0410-8b05-ffd578937521
2004-04-02 15:40:49 +00:00
Alexander Malmberg
e609ec5cb0
Fix automatic scrolling when the selection changes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18958 72102866-910b-0410-8b05-ffd578937521
2004-03-29 16:28:28 +00:00
Gregory John Casamento
ee5f3496bc
Added missing reference to NSNib
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18934 72102866-910b-0410-8b05-ffd578937521
2004-03-27 23:51:37 +00:00
Fred Kiefer
97692a624e
Ivar type change on NSTableView and selection cleanup.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18929 72102866-910b-0410-8b05-ffd578937521
2004-03-27 17:48:00 +00:00
Quentin Mathe
15eebccd95
NSToolbar methods removed in NSWindow
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18865 72102866-910b-0410-8b05-ffd578937521
2004-03-23 04:53:11 +00:00
Alexander Malmberg
6d15d51344
Reimplement -convertRect:fromView: and -convertRect:toView: correctly. Don't mess up the clipping of rotated views in -lockFocusInRect:.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18864 72102866-910b-0410-8b05-ffd578937521
2004-03-22 17:14:26 +00:00
Alexander Malmberg
977599e82a
(-rotationAngle): Correct the sign of the angle and wrap it so that it's always >=0 and <=360.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18862 72102866-910b-0410-8b05-ffd578937521
2004-03-22 01:06:37 +00:00
Alexander Malmberg
5202d04b05
Calculate layout_char properly. Comment about the weird state of things.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18861 72102866-910b-0410-8b05-ffd578937521
2004-03-22 00:17:18 +00:00
Alexander Malmberg
c2adaaaa9d
(-hitTest:): Don't require that the point is inside our super view if we don't have a super view.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18845 72102866-910b-0410-8b05-ffd578937521
2004-03-14 18:46:01 +00:00
Alexander Malmberg
c3ec6bb834
(-mouseDown:): Send the action for simple clicks even if the selection changed.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18844 72102866-910b-0410-8b05-ffd578937521
2004-03-14 18:31:56 +00:00
Alexander Malmberg
07176d3800
Don't cause layout_char to wrap around when adding lengthChange.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18842 72102866-910b-0410-8b05-ffd578937521
2004-03-13 02:22:12 +00:00
Quentin Mathe
3d515688a6
Reworked toolbar implementation
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18840 72102866-910b-0410-8b05-ffd578937521
2004-03-12 22:55:02 +00:00
Alexander Malmberg
e1984fe072
(-mouseDown:): Send our action if we get a single, simple (no drag) click.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18837 72102866-910b-0410-8b05-ffd578937521
2004-03-12 14:32:57 +00:00
Alexander Malmberg
52d01199b1
Move declarations before statements.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18808 72102866-910b-0410-8b05-ffd578937521
2004-03-08 18:22:07 +00:00
Alexander Malmberg
2af1627723
Don't make the popup window the key window.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18807 72102866-910b-0410-8b05-ffd578937521
2004-03-08 18:07:37 +00:00
Fred Kiefer
d82befe200
New ivars for NSView and improved canDraw implemetantion.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18802 72102866-910b-0410-8b05-ffd578937521
2004-03-08 13:56:56 +00:00
Adam Fedor
f169d28edb
Doc fixups
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18796 72102866-910b-0410-8b05-ffd578937521
2004-03-08 04:26:28 +00:00
Fred Kiefer
eb86d9eabb
Removed unneeded action cell methods.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18790 72102866-910b-0410-8b05-ffd578937521
2004-03-06 17:52:55 +00:00
Fred Kiefer
2fdd660c5b
Small additions to save panel.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18789 72102866-910b-0410-8b05-ffd578937521
2004-03-06 14:59:50 +00:00
Gregory John Casamento
6c860d7497
Corrected issue with inserting system defined toolbar items.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18757 72102866-910b-0410-8b05-ffd578937521
2004-03-03 21:41:09 +00:00
Fred Kiefer
17e9214321
Some more (empty) Cocoa methods.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18751 72102866-910b-0410-8b05-ffd578937521
2004-03-02 22:20:36 +00:00
Adam Fedor
bbb2d2da0c
Updated page layout panel
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18725 72102866-910b-0410-8b05-ffd578937521
2004-03-01 03:00:24 +00:00
Gregory John Casamento
94563c4401
Corrected misspelling of separator in toolbar code.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18716 72102866-910b-0410-8b05-ffd578937521
2004-02-29 04:39:48 +00:00
Fred Kiefer
419cde509b
Drawing change on NSBox.
...
Changed handling of buttons in save and open panel, this was possible after using different values for the run loop constants.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18708 72102866-910b-0410-8b05-ffd578937521
2004-02-29 00:11:51 +00:00
Fred Kiefer
0df92e1637
Some unrelated bug fixes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18672 72102866-910b-0410-8b05-ffd578937521
2004-02-25 23:27:46 +00:00
Gregory John Casamento
adb7cb3132
Submitting Quentin's changes for NSToolbar.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18651 72102866-910b-0410-8b05-ffd578937521
2004-02-25 03:27:23 +00:00
Fred Kiefer
868a8f189e
Made images easier to be changed by themes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18647 72102866-910b-0410-8b05-ffd578937521
2004-02-24 19:31:33 +00:00
Fred Kiefer
31cde10bcd
Added stubs for new MacOSX methods.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18634 72102866-910b-0410-8b05-ffd578937521
2004-02-20 13:18:51 +00:00
Gregory John Casamento
415b47a0bc
Removed keyed archiver code in deprecated template.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18604 72102866-910b-0410-8b05-ffd578937521
2004-02-15 23:07:07 +00:00
Fred Kiefer
13a4046e1a
More keyed decoding.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18603 72102866-910b-0410-8b05-ffd578937521
2004-02-15 18:23:13 +00:00
Gregory John Casamento
91430f347e
More minor cleanup.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18601 72102866-910b-0410-8b05-ffd578937521
2004-02-15 05:42:35 +00:00
Gregory John Casamento
b6189fe8d4
Minor corrections for previous commit.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18600 72102866-910b-0410-8b05-ffd578937521
2004-02-15 05:32:43 +00:00
Gregory John Casamento
1abba28912
Cleaned up NSNib
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18599 72102866-910b-0410-8b05-ffd578937521
2004-02-15 03:58:10 +00:00
Fred Kiefer
9bd938e563
Small corrections on outline view.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18595 72102866-910b-0410-8b05-ffd578937521
2004-02-14 12:49:56 +00:00
Fred Kiefer
38d9d84c34
New drawing function and small patches on button cell.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18593 72102866-910b-0410-8b05-ffd578937521
2004-02-13 18:27:34 +00:00
Adam Fedor
4ec9abd0b0
Update
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18591 72102866-910b-0410-8b05-ffd578937521
2004-02-13 03:57:36 +00:00
Fred Kiefer
b6d77843a3
Better detection of drag operation for NSOutlineView.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18581 72102866-910b-0410-8b05-ffd578937521
2004-02-11 23:14:35 +00:00
Fred Kiefer
4237cbd996
Redisplay after colours changed.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18580 72102866-910b-0410-8b05-ffd578937521
2004-02-11 22:52:40 +00:00
Fred Kiefer
b29ad3d33a
Two more classes now have relavtive colour drawing.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18576 72102866-910b-0410-8b05-ffd578937521
2004-02-11 00:01:20 +00:00
Alexander Malmberg
6b59a4f9c8
Add cachedScreenFont ivar and use it. Use more efficient keys in the globalFontMap.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18575 72102866-910b-0410-8b05-ffd578937521
2004-02-10 20:52:11 +00:00
Gregory John Casamento
64ef0ab5fa
Temporary removal of NSNib pending bugfix. :)
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18568 72102866-910b-0410-8b05-ffd578937521
2004-02-09 01:50:45 +00:00
Fred Kiefer
154110be23
Small drawing cleanup.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18567 72102866-910b-0410-8b05-ffd578937521
2004-02-08 23:58:41 +00:00
Fred Kiefer
32e72be592
More keyed decoding. Button cell now doesn't fill interior.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18564 72102866-910b-0410-8b05-ffd578937521
2004-02-08 20:33:07 +00:00
Fred Kiefer
75dc38c6aa
Corrected bezel drawing and keyed archiving of popup menu item cell.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18560 72102866-910b-0410-8b05-ffd578937521
2004-02-08 13:07:24 +00:00
Gregory John Casamento
27ed3ba5e0
Committing implementation of NSNib.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18557 72102866-910b-0410-8b05-ffd578937521
2004-02-08 06:38:37 +00:00
Alexander Malmberg
084d3b083f
(-initWithCoder:): Remove an erroneous 'else' from the previous change.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18549 72102866-910b-0410-8b05-ffd578937521
2004-02-07 02:57:56 +00:00
Fred Kiefer
93b7e7acf8
Menu reference handlin patch and further keyed archiving.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18547 72102866-910b-0410-8b05-ffd578937521
2004-02-06 00:16:54 +00:00
Alexander Malmberg
4e1f4489e3
Fix declarations after statements.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18546 72102866-910b-0410-8b05-ffd578937521
2004-02-05 20:07:42 +00:00
Fred Kiefer
da845d0dc4
More keyed decoding.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18541 72102866-910b-0410-8b05-ffd578937521
2004-02-05 00:36:04 +00:00
Alexander Malmberg
2be0f07f80
Remove uses of the deprecated 'casts as lvalues' gcc extension.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18535 72102866-910b-0410-8b05-ffd578937521
2004-02-04 00:27:49 +00:00
Alexander Malmberg
edc0a6f614
Remove obsolete libwraster image loading hacks.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18533 72102866-910b-0410-8b05-ffd578937521
2004-02-03 22:42:15 +00:00
Fred Kiefer
afabdddd55
Added keyed decoding.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18530 72102866-910b-0410-8b05-ffd578937521
2004-02-02 21:40:00 +00:00
Fred Kiefer
2c97e5fa28
Update the control on colour changes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18516 72102866-910b-0410-8b05-ffd578937521
2004-02-01 00:27:59 +00:00
Fred Kiefer
df3b584a19
Added keyed decoding.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18510 72102866-910b-0410-8b05-ffd578937521
2004-01-30 19:49:00 +00:00
Adam Fedor
1066f6326d
Fix doc markup
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18489 72102866-910b-0410-8b05-ffd578937521
2004-01-27 04:54:59 +00:00
Fred Kiefer
173ec629ad
Reflect changes to title of popup button in display.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18487 72102866-910b-0410-8b05-ffd578937521
2004-01-26 20:49:33 +00:00
Fred Kiefer
0285ceb796
Exchanged appendTransform: and prePendTransform:
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18479 72102866-910b-0410-8b05-ffd578937521
2004-01-25 16:50:33 +00:00
Alexander Malmberg
3c2b36c17f
Reimplement using cache system for layout information.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18478 72102866-910b-0410-8b05-ffd578937521
2004-01-25 15:19:53 +00:00
Fred Kiefer
2ea0c80f9f
Corrected cancling of _handleWindowNeedsDisplay.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18477 72102866-910b-0410-8b05-ffd578937521
2004-01-25 14:16:09 +00:00
Alexander Malmberg
5ce50e1384
Handle the case where there is no layout information at all more efficiently.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18474 72102866-910b-0410-8b05-ffd578937521
2004-01-25 03:20:52 +00:00
Gregory John Casamento
af88bed81e
Commiting implementation of NSDataLink.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18471 72102866-910b-0410-8b05-ffd578937521
2004-01-24 20:12:04 +00:00
Gregory John Casamento
d99febaf24
Removed some commented out test code.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18464 72102866-910b-0410-8b05-ffd578937521
2004-01-24 02:27:11 +00:00
Alexander Malmberg
bf358056a5
(-_initWithoutGModel): Use -setTitle: to set the titles of the buttons, not -setStringValue:. Patch from Matt Rice.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18456 72102866-910b-0410-8b05-ffd578937521
2004-01-22 12:18:27 +00:00
Alexander Malmberg
9887887f7a
Rename _nsbuttonCellClass to buttonCellClass and make it static.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18455 72102866-910b-0410-8b05-ffd578937521
2004-01-22 12:11:46 +00:00
Alexander Malmberg
a641743a5c
(-encodeWithCoder:): Encode nil instead of the control view.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18454 72102866-910b-0410-8b05-ffd578937521
2004-01-22 12:09:05 +00:00
Alexander Malmberg
0c19b789bb
Correct misspellings and clarify the documentation. Add missing include guards.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18453 72102866-910b-0410-8b05-ffd578937521
2004-01-22 12:07:47 +00:00
Adam Fedor
872cb0f066
Add drawing functions for common screen elements
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18436 72102866-910b-0410-8b05-ffd578937521
2004-01-19 04:22:47 +00:00
Sergii Stoian
a6b85fa0ea
Better handling of cases with and without horizontalscroller
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18428 72102866-910b-0410-8b05-ffd578937521
2004-01-17 10:15:45 +00:00
Fred Kiefer
49e8f3f2ec
Submitted patch to NSImageView to handle target and action.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18424 72102866-910b-0410-8b05-ffd578937521
2004-01-15 23:57:54 +00:00
Sergii Stoian
b9381fedfa
Use GSTitleView's initWithOwner: method. Cleanup
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18421 72102866-910b-0410-8b05-ffd578937521
2004-01-15 15:58:43 +00:00
Sergii Stoian
3def92db6c
Some methods added. Cleanup
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18420 72102866-910b-0410-8b05-ffd578937521
2004-01-15 15:57:00 +00:00
Sergii Stoian
73f6eaa73b
NSMiniWindowView fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18417 72102866-910b-0410-8b05-ffd578937521
2004-01-15 10:04:04 +00:00
Sergii Stoian
c33ef3101f
Changed checking for highlighted item
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18405 72102866-910b-0410-8b05-ffd578937521
2004-01-13 11:14:50 +00:00
Sergii Stoian
f7a152fe94
Use isKindOfClass: instead of class named comparison
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18396 72102866-910b-0410-8b05-ffd578937521
2004-01-12 20:58:30 +00:00
Sergii Stoian
4c0d457050
Use common_Close and common_CloseBroken images
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18392 72102866-910b-0410-8b05-ffd578937521
2004-01-12 18:17:38 +00:00
Sergii Stoian
1db61dbbac
NSDebugLLog fixes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18385 72102866-910b-0410-8b05-ffd578937521
2004-01-12 07:10:19 +00:00
Sergii Stoian
7d0fe651a7
Recognize class that responds to menuRepresetation as NSMenu derived class. Fix for Gorm.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18383 72102866-910b-0410-8b05-ffd578937521
2004-01-12 06:59:32 +00:00
Fred Kiefer
548dcdf7b0
Dublicate selection patch for attributed strings from base.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18381 72102866-910b-0410-8b05-ffd578937521
2004-01-11 22:21:13 +00:00
Sergii Stoian
83d91685a3
Fixed title view height to be at least 23 pixels.mouseDown: make submenu torn off after mouse released.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18379 72102866-910b-0410-8b05-ffd578937521
2004-01-11 21:55:06 +00:00
Sergii Stoian
858fc188f1
added files GSTitleView.[mh], common_Miniaturize.tiff, common_MiniaturizeH.tiff
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18377 72102866-910b-0410-8b05-ffd578937521
2004-01-11 18:48:18 +00:00
Sergii Stoian
53012771c8
Added GSTitleView.[hm]
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18376 72102866-910b-0410-8b05-ffd578937521
2004-01-11 18:45:57 +00:00
Sergii Stoian
b254e54ddb
Modified to use GSTitleView for menu title.NSMenuWindowTitleView class removed.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18373 72102866-910b-0410-8b05-ffd578937521
2004-01-11 18:03:45 +00:00
Gregory John Casamento
e5ca42f61a
Fix for decoding issue.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18368 72102866-910b-0410-8b05-ffd578937521
2004-01-10 23:46:59 +00:00
Adam Fedor
53bf81fa36
Window ordering fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18363 72102866-910b-0410-8b05-ffd578937521
2004-01-10 19:40:43 +00:00
Alexander Malmberg
005d913203
Indentation fixes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18361 72102866-910b-0410-8b05-ffd578937521
2004-01-10 15:39:30 +00:00
Sergii Stoian
860d70cec9
remove missed NSLog
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18358 72102866-910b-0410-8b05-ffd578937521
2004-01-09 17:05:19 +00:00
Sergii Stoian
9f9aeb843f
Cosmetic changes in drawing of column separators and horizontal scroller border.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18344 72102866-910b-0410-8b05-ffd578937521
2004-01-09 11:28:56 +00:00
Sergii Stoian
8a2660e3e4
(drawRect): Calculate separator line usning scoller frame. Remove header view counting cases
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18343 72102866-910b-0410-8b05-ffd578937521
2004-01-09 11:26:41 +00:00
Sergii Stoian
0839ec5546
(drawKnobSlot): Always draw background. Even if there's no room
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18342 72102866-910b-0410-8b05-ffd578937521
2004-01-09 11:25:18 +00:00
Alexander Malmberg
5cb7b4b8dc
Redefine Object across the include of gif_lib.h .
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18341 72102866-910b-0410-8b05-ffd578937521
2004-01-08 22:31:40 +00:00
Alexander Malmberg
c807e165b4
Add GIF loader.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18340 72102866-910b-0410-8b05-ffd578937521
2004-01-08 21:46:07 +00:00
Alexander Malmberg
896c4cb1a3
Add GIF loader.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18339 72102866-910b-0410-8b05-ffd578937521
2004-01-08 18:43:49 +00:00
Fred Kiefer
d053e9a8ae
Small bug corrections.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18337 72102866-910b-0410-8b05-ffd578937521
2004-01-08 12:03:33 +00:00
Alexander Malmberg
a9e055f495
(-setObjectValue:): Correct the argument type.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18333 72102866-910b-0410-8b05-ffd578937521
2004-01-08 00:28:39 +00:00
Alexander Malmberg
3f7866a8ed
Add new image loaders.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18331 72102866-910b-0410-8b05-ffd578937521
2004-01-07 23:53:15 +00:00
Fred Kiefer
4e578145fe
Removed some compiler warnings.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18329 72102866-910b-0410-8b05-ffd578937521
2004-01-07 13:25:29 +00:00
Gregory John Casamento
0ceb993ba0
NSSpellServer documentation.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18326 72102866-910b-0410-8b05-ffd578937521
2004-01-07 04:38:15 +00:00
Gregory John Casamento
63a1edb3cd
More documentation.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18325 72102866-910b-0410-8b05-ffd578937521
2004-01-07 03:20:19 +00:00
Alexander Malmberg
270f3c3eda
Use NSDebugLLog instead of NSLog when we get an event in a subview area.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18324 72102866-910b-0410-8b05-ffd578937521
2004-01-07 01:55:21 +00:00
Gregory John Casamento
f183ffcbb6
Documentation.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18309 72102866-910b-0410-8b05-ffd578937521
2004-01-04 07:26:50 +00:00
Gregory John Casamento
dd6ad42e8d
Added some documentation to NSApplication.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18308 72102866-910b-0410-8b05-ffd578937521
2004-01-04 06:20:08 +00:00
Gregory John Casamento
56532346c7
Removed some uncessary includes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18307 72102866-910b-0410-8b05-ffd578937521
2004-01-04 04:29:57 +00:00
Ludovic Marcotte
6d49a2b2fc
DnD fixes and cleanups in NSOutlineView.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18306 72102866-910b-0410-8b05-ffd578937521
2004-01-04 03:39:09 +00:00
Gregory John Casamento
ce15bf2417
Header cleanup.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18305 72102866-910b-0410-8b05-ffd578937521
2004-01-03 23:53:40 +00:00
Gregory John Casamento
0f64c6ffed
Documentation and prevention of a leak in case of exception.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18302 72102866-910b-0410-8b05-ffd578937521
2004-01-02 04:19:32 +00:00
Alexander Malmberg
821f7018a7
Fix typo in comment.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18297 72102866-910b-0410-8b05-ffd578937521
2003-12-31 00:12:36 +00:00
Alexander Malmberg
4a1b359b79
Make sure oldRange is always initialized.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18295 72102866-910b-0410-8b05-ffd578937521
2003-12-30 23:40:17 +00:00
Fred Kiefer
21c7ad8c5b
Enhance NIB loading compatibility.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18292 72102866-910b-0410-8b05-ffd578937521
2003-12-30 17:52:16 +00:00
Fred Kiefer
4f10989eb8
Corrected affine transform struct element names and added some drawing functions.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18288 72102866-910b-0410-8b05-ffd578937521
2003-12-30 12:42:37 +00:00
Gregory John Casamento
e8c1d1f693
Improved mechanism for retaining the top level objects represented by GSNibItems in the .gorm archive.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18286 72102866-910b-0410-8b05-ffd578937521
2003-12-30 05:45:40 +00:00
Gregory John Casamento
b1410489ee
Eliminated leak in GSClassSwapper.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18284 72102866-910b-0410-8b05-ffd578937521
2003-12-30 01:52:26 +00:00
Adam Fedor
1de7b7edf8
Move documentation. Fix _inactive count bug
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18282 72102866-910b-0410-8b05-ffd578937521
2003-12-29 17:28:52 +00:00
Gregory John Casamento
75d4c1baa5
Added documentation. Refined fix to GSNibTemplates.m concerning memory leak. More improvements to follow. GJC
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18281 72102866-910b-0410-8b05-ffd578937521
2003-12-29 05:38:46 +00:00
Gregory John Casamento
617334d4fa
Corrected problem with loading of data link panel gui.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18270 72102866-910b-0410-8b05-ffd578937521
2003-12-25 04:57:54 +00:00
Gregory John Casamento
7a2107824b
Cleanup of memory management in loadNib code. Minor formatting changes in gopen and GSspell.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18264 72102866-910b-0410-8b05-ffd578937521
2003-12-23 18:45:18 +00:00
Alexander Malmberg
b5f45d7334
(-_handleWindowNeedsDisplay:): Disable flushing while displaying and flush when all displaying is done.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18260 72102866-910b-0410-8b05-ffd578937521
2003-12-23 17:17:39 +00:00
Alexander Malmberg
5e0dc13462
(-readSelectionFromPasteboard:type:, NSTIFFPboardType): Send -setFileWrapper: to the attachment after setting the wrapper's icon.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18259 72102866-910b-0410-8b05-ffd578937521
2003-12-23 17:13:39 +00:00
Alexander Malmberg
d572689c02
Add a missing ':'. Reported by Matt Rice.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18253 72102866-910b-0410-8b05-ffd578937521
2003-12-03 01:55:36 +00:00
Adam Fedor
5239efb693
Automatically generate libgnustep-gui.def
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18251 72102866-910b-0410-8b05-ffd578937521
2003-12-02 23:07:40 +00:00
Sergii Stoian
e0c81dc2d5
Use setHighlightsBy: for default button in alert panel.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18249 72102866-910b-0410-8b05-ffd578937521
2003-12-01 18:29:08 +00:00
Sergii Stoian
f3ab7cf981
Add setHighlightsBy: and setShowsStateBy: methods.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18248 72102866-910b-0410-8b05-ffd578937521
2003-12-01 18:28:00 +00:00
Sergii Stoian
72b9ddfb0c
Center title and message text
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18243 72102866-910b-0410-8b05-ffd578937521
2003-11-30 23:59:23 +00:00
Fred Kiefer
1c14dac8ed
Cache runloop modes array.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18231 72102866-910b-0410-8b05-ffd578937521
2003-11-29 01:36:50 +00:00
Fred Kiefer
08baa147cf
Made some NSCell methods cleaner for subclass redefinitions.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18230 72102866-910b-0410-8b05-ffd578937521
2003-11-29 00:46:41 +00:00
Fred Kiefer
88925a9160
New implementation of [NSBezierPath containsPoint].
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18220 72102866-910b-0410-8b05-ffd578937521
2003-11-28 22:20:19 +00:00
Alexander Malmberg
720ddc11b5
Ignore most events sent to windows that have been ordered out. Synchronize [NSPanel -sendEvent:] and [NSWindow -sendEvent:].
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18215 72102866-910b-0410-8b05-ffd578937521
2003-11-26 23:02:20 +00:00
Alexander Malmberg
311e73aace
(-autoscroll:): Document.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18214 72102866-910b-0410-8b05-ffd578937521
2003-11-26 22:55:39 +00:00
Alexander Malmberg
2ff4e81dcc
Fix GSGuiBundle() prototype.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18213 72102866-910b-0410-8b05-ffd578937521
2003-11-26 14:01:54 +00:00
Alexander Malmberg
1f9cb4a03f
Make sure NSApp's references to the key and main window are cleared if the key/main window is deallocated.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18212 72102866-910b-0410-8b05-ffd578937521
2003-11-26 13:58:32 +00:00
Alexander Malmberg
da4e243597
Always start the window auto-display performer when ordering a window in.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18203 72102866-910b-0410-8b05-ffd578937521
2003-11-25 16:27:15 +00:00
Fred Kiefer
8d1eac79f9
Undid accidental last commit of this file.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18104 72102866-910b-0410-8b05-ffd578937521
2003-11-22 16:17:11 +00:00
Fred Kiefer
1a92dfe9bb
Small graphics cleanups
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18103 72102866-910b-0410-8b05-ffd578937521
2003-11-22 16:14:01 +00:00
Alexander Malmberg
2b788e590f
([GSNibContainer -awakeWithContext:]): Don't release connections when enumerating them. Partial fix for bug #6354 .
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18102 72102866-910b-0410-8b05-ffd578937521
2003-11-22 14:12:54 +00:00
Alexander Malmberg
862a3578ff
Tweak size calculation so that the insertion point doesn't disappear at the end of field editors.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18101 72102866-910b-0410-8b05-ffd578937521
2003-11-21 23:37:16 +00:00
Adam Fedor
e74cf34dc6
Window focus fixes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18095 72102866-910b-0410-8b05-ffd578937521
2003-11-19 16:01:53 +00:00
Alexander Malmberg
7f4b949153
(-mouseDown:): When the mouse is outside the view, autoscroll smoothly using periodic events.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18093 72102866-910b-0410-8b05-ffd578937521
2003-11-19 02:21:36 +00:00
Alexander Malmberg
7c754b0a27
(-autoscroll:): Reimplement correctly.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18092 72102866-910b-0410-8b05-ffd578937521
2003-11-19 02:21:07 +00:00
Alexander Malmberg
e3222b9202
(-description): Remove a stray , .
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18091 72102866-910b-0410-8b05-ffd578937521
2003-11-18 20:45:25 +00:00
Gregory John Casamento
ff53f21b06
*** empty log message ***
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18075 72102866-910b-0410-8b05-ffd578937521
2003-11-11 19:40:18 +00:00
Alexander Malmberg
04ee2f9928
(-mouseDown:): Rewrite to use -setHighlighted: and the normal drawing mechanism instead of trying to draw and flush manually.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18060 72102866-910b-0410-8b05-ffd578937521
2003-11-07 15:32:33 +00:00
Alexander Malmberg
ca2773de30
(-loadBindingsFromFile:): Handle errors directly instead of using (broken) exception handling code.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18059 72102866-910b-0410-8b05-ffd578937521
2003-11-07 13:46:12 +00:00
Alexander Malmberg
fed935717b
If a range of glyphs have no color attribute, use [NSColor textColor] instead of assuming black.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18021 72102866-910b-0410-8b05-ffd578937521
2003-11-01 17:26:12 +00:00
Alexander Malmberg
205c9bd67f
Make private symbols actually private (1/n).
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18007 72102866-910b-0410-8b05-ffd578937521
2003-10-30 00:23:23 +00:00
Richard Frith-Macdonald
0fbb26a028
New pasteboard types
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18003 72102866-910b-0410-8b05-ffd578937521
2003-10-29 08:29:55 +00:00
Richard Frith-Macdonald
e1fd264d4f
Bugfix ... remove deallocated object from map.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18002 72102866-910b-0410-8b05-ffd578937521
2003-10-29 07:01:13 +00:00
Alexander Malmberg
6aef871f82
(-updateServicesMenu): Always enable an item with a submenu.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17999 72102866-910b-0410-8b05-ffd578937521
2003-10-29 01:22:50 +00:00
Richard Frith-Macdonald
27c626ce07
Remove FIXME
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17996 72102866-910b-0410-8b05-ffd578937521
2003-10-28 21:33:52 +00:00
Richard Frith-Macdonald
0730df1fc4
DnD fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17994 72102866-910b-0410-8b05-ffd578937521
2003-10-28 20:27:54 +00:00
Richard Frith-Macdonald
a2f13a8686
Support typed in absolute paths and drag and drop of a single file.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17993 72102866-910b-0410-8b05-ffd578937521
2003-10-28 16:52:14 +00:00
Richard Frith-Macdonald
2c7481ffc8
Fix to stop runModalSession: from blocking.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17990 72102866-910b-0410-8b05-ffd578937521
2003-10-28 11:33:04 +00:00
Richard Frith-Macdonald
62678e6c51
Fix error in termination of loop
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17988 72102866-910b-0410-8b05-ffd578937521
2003-10-28 11:05:27 +00:00
Richard Frith-Macdonald
5b5d4c307d
Minor tidyup
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17987 72102866-910b-0410-8b05-ffd578937521
2003-10-28 10:19:51 +00:00
Alexander Malmberg
a019b68603
Ask the delegate whether a font should be included in the font panel in NSFontPanel, not when returning fonts from NSFontManager.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17980 72102866-910b-0410-8b05-ffd578937521
2003-10-26 14:25:13 +00:00
Gregory John Casamento
98a44831b1
Added back in the old templates for backwards compatibility. These will disappear in the next major release.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17977 72102866-910b-0410-8b05-ffd578937521
2003-10-25 20:50:08 +00:00
Alexander Malmberg
fca20ea849
Ignore the path to the application when extracting the port name.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17974 72102866-910b-0410-8b05-ffd578937521
2003-10-25 10:56:00 +00:00
Richard Frith-Macdonald
12ea75e949
Fix for opening files with relative paths.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17964 72102866-910b-0410-8b05-ffd578937521
2003-10-24 09:29:43 +00:00
Richard Frith-Macdonald
e109b8d959
NSPerformService fix
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17946 72102866-910b-0410-8b05-ffd578937521
2003-10-21 09:35:08 +00:00
Adam Fedor
7bbabe4e72
Fix PR #5849 window deminiaturize.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17945 72102866-910b-0410-8b05-ffd578937521
2003-10-21 03:10:24 +00:00
Gregory John Casamento
cc96830424
Added full docs for the class NSOutlineView.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17920 72102866-910b-0410-8b05-ffd578937521
2003-10-18 21:15:25 +00:00
Alexander Malmberg
c2cff94ce3
(-miniaturize:, -deminiaturize:): Check that the window can be miniaturized/deminiaturized before doing anything.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17788 72102866-910b-0410-8b05-ffd578937521
2003-10-07 12:34:10 +00:00
Adam Fedor
f42d8c1e23
Fix doc cleaning
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17784 72102866-910b-0410-8b05-ffd578937521
2003-10-06 03:35:21 +00:00
Benhur Stein
1a6ef7f076
Set frame to autosaved frame in defaults
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17772 72102866-910b-0410-8b05-ffd578937521
2003-10-03 14:09:58 +00:00
Benhur Stein
681ef962f9
Removed windowsLock variable from NSWindow
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17771 72102866-910b-0410-8b05-ffd578937521
2003-10-03 14:00:28 +00:00
David Ayers
f3785d2cea
Fix typo.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17766 72102866-910b-0410-8b05-ffd578937521
2003-10-02 12:26:28 +00:00
David Ayers
e9a7c38ea7
* Source/NSBrowser.m (-[NSBrowser setDelegate]):
...
Set _passiveDelegate to YES for 'nil' delegate.
Use GSObjCRuntime functions to get selector names.
Update documentation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17765 72102866-910b-0410-8b05-ffd578937521
2003-10-02 11:49:10 +00:00
David Ayers
337e3d3e81
* Source/NSBrowser.m (-[NSBrowser setDelegate]:): Check for
...
nil object to allow unsetting the delegate.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17764 72102866-910b-0410-8b05-ffd578937521
2003-10-02 10:15:20 +00:00
Fred Kiefer
3480b30e56
Added missing method [isValidGlyphIndex:].
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17749 72102866-910b-0410-8b05-ffd578937521
2003-09-29 21:25:46 +00:00
Fred Kiefer
e14bb3bc96
Patch by Christopher Culver:
...
Define empty [sizeToFit] method to override NSControl implementation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17747 72102866-910b-0410-8b05-ffd578937521
2003-09-29 21:15:37 +00:00
Gregory John Casamento
b2caeb45dd
Adding fix for report #5205 . Services and Windows menus now should behave correctly.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17741 72102866-910b-0410-8b05-ffd578937521
2003-09-28 23:25:16 +00:00
David Ayers
c549497a5d
Fix typo's.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17733 72102866-910b-0410-8b05-ffd578937521
2003-09-27 09:44:54 +00:00
David Ayers
c4f7312717
* Source/NSCell.m (-compare:): Compare the stringValue of
...
NSCell's rather than thier contents directly.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17732 72102866-910b-0410-8b05-ffd578937521
2003-09-27 09:12:57 +00:00
Alexander Malmberg
1fcb726542
Only force a display of the content view if we're being ordered _to_ the screen.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17708 72102866-910b-0410-8b05-ffd578937521
2003-09-23 17:16:59 +00:00
Alexander Malmberg
6a27a1f90e
Clear the text container of our text view in -dealloc.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17707 72102866-910b-0410-8b05-ffd578937521
2003-09-23 17:13:20 +00:00
Adam Fedor
4ecf1a67d3
set released when closed
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17703 72102866-910b-0410-8b05-ffd578937521
2003-09-22 21:07:22 +00:00
Fred Kiefer
a8a470ff28
Undid the tracking of changes for the menu item. Changed [dealloc]
...
to not call clean up methods as these caused segmentation faults
in GNUMail.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17696 72102866-910b-0410-8b05-ffd578937521
2003-09-21 20:57:24 +00:00
Alexander Malmberg
310ac897be
Handle NSTiffPboardType. Based on patch from Nicolas Roard.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17693 72102866-910b-0410-8b05-ffd578937521
2003-09-21 13:18:35 +00:00
Adam Fedor
50b7d5288b
Revert last doc close and fix releaseWhenClosed.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17691 72102866-910b-0410-8b05-ffd578937521
2003-09-21 02:27:50 +00:00
Adam Fedor
1d187a4550
Document close fixes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17688 72102866-910b-0410-8b05-ffd578937521
2003-09-20 03:07:55 +00:00
Adam Fedor
50ed66958a
Implement GSReadRect and initWithFocusedViewRect:
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17687 72102866-910b-0410-8b05-ffd578937521
2003-09-20 02:57:45 +00:00
Fred Kiefer
06d6e26b2d
Corrected bug in previous change. In [itemAtIndex:] the index 0
...
was handled wrong.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17668 72102866-910b-0410-8b05-ffd578937521
2003-09-14 10:40:06 +00:00
Fred Kiefer
a1b8af9d1e
According to Gregory John Casamento <greg_casamento@yahoo.com> the
...
popup button does not change its enable state when the selected item
does. To adopt this behaviour all setEnable: calls have been
removed and one in [initWithCoder:] added that enables the popup
for all old encodings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17666 72102866-910b-0410-8b05-ffd578937521
2003-09-14 00:33:05 +00:00
Gregory John Casamento
718622df26
PopUpButtonCell correction for compile error
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17663 72102866-910b-0410-8b05-ffd578937521
2003-09-13 20:59:10 +00:00
Fred Kiefer
aa2a156b1c
Undid last change. Rewrote [setMenu:] to make the popup button
...
cell listen to change notifications of the menu. New method
[itemChanged:] gets called when a menu item changes. Added hack to
[initWithCoder:] to set menu correctly and read old menu items correctly.
Check in [itemAtIndex:] that the index is vaild and return nil
otherwise.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17661 72102866-910b-0410-8b05-ffd578937521
2003-09-13 13:39:23 +00:00
Fred Kiefer
2882fa9d28
In [update] use [NSApplication targetForAction:to:from:] to be
...
consistent with the [performActionForItemAtIndex:] implementation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17660 72102866-910b-0410-8b05-ffd578937521
2003-09-13 13:38:46 +00:00
Adam Fedor
bbeec6b247
Better error checking and documentation
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17638 72102866-910b-0410-8b05-ffd578937521
2003-09-08 02:07:53 +00:00
Gregory John Casamento
5e2097c086
Correcting an issue with NSPopUpButtonCell
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17635 72102866-910b-0410-8b05-ffd578937521
2003-09-07 16:46:39 +00:00
Alexander Malmberg
c4788b1aa9
(getNSFont): Set the explicit-size bit in the role correctly.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17631 72102866-910b-0410-8b05-ffd578937521
2003-09-06 20:54:34 +00:00
Gregory John Casamento
3d78b963f9
More of the implementation for NSToolbarItem and the images for the "default" items.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17630 72102866-910b-0410-8b05-ffd578937521
2003-09-06 14:50:26 +00:00
Fred Kiefer
b6e5d5fafd
Autorelease the [separatorItem].
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17628 72102866-910b-0410-8b05-ffd578937521
2003-09-06 14:18:08 +00:00
Fred Kiefer
438ed2af3e
[setMenuItem:] enable/disable cell. [drawTitleWithFrame:inView:]no
...
longer enable/disable cell.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17622 72102866-910b-0410-8b05-ffd578937521
2003-09-05 23:28:54 +00:00
Fred Kiefer
1b53ae15a9
In [itemChanged:] set if the cell is enabled like the item.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17621 72102866-910b-0410-8b05-ffd578937521
2003-09-05 23:28:20 +00:00
Alexander Malmberg
f85a2e5f12
Change return type of -initWithWindowRef: to id.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17620 72102866-910b-0410-8b05-ffd578937521
2003-09-04 16:47:30 +00:00
Adam Fedor
a1041cbd19
Update
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17605 72102866-910b-0410-8b05-ffd578937521
2003-09-02 16:29:33 +00:00
Fred Kiefer
4a0281b9c4
Removed new GCC 3.4 warnings from Alexander Malmbergs list.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17601 72102866-910b-0410-8b05-ffd578937521
2003-09-01 18:17:52 +00:00
Fred Kiefer
374c449730
Removed unused global currentVersion.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17596 72102866-910b-0410-8b05-ffd578937521
2003-09-01 18:15:10 +00:00
Fred Kiefer
4035581bdd
[readFromURL:options:documentAttributes:] corrected the handling
...
to type "text", where [NSString alloc] was missing.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17595 72102866-910b-0410-8b05-ffd578937521
2003-09-01 18:14:47 +00:00
Fred Kiefer
e1ac3ed3ca
New method [_saveImageFor:] used in all places in this file where
...
an icon is created from a file name. New method
[thumbnailForFile:] calculated the name of the corresponding
FreeDeskTop.org thumbnail file for a given file name. This does
not chack if this file exists!. In [iconForFile:] use this
thumbnails if the user default GSUseFreedesktopThumbnails is YES.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17592 72102866-910b-0410-8b05-ffd578937521
2003-09-01 16:58:54 +00:00
Fred Kiefer
1a94f30ba2
[canInitWithData:], [imageRepsWithData:] and [initWithData:]
...
protect against data being nil. [imageRepsWithFile:] check if the
file exists and only return an array when it contains objects.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17591 72102866-910b-0410-8b05-ffd578937521
2003-09-01 16:58:27 +00:00
Gregory John Casamento
ee1d9197b7
Corrected mainMenu initialization problem
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17582 72102866-910b-0410-8b05-ffd578937521
2003-09-01 09:21:46 +00:00
Gregory John Casamento
09b96f1cbb
Corrected initialization problem. Was doing [NSButton init...
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17579 72102866-910b-0410-8b05-ffd578937521
2003-08-31 13:28:03 +00:00
Gregory John Casamento
7f15b1ab39
Correct extra retain count issue.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17576 72102866-910b-0410-8b05-ffd578937521
2003-08-31 03:42:03 +00:00
Fred Kiefer
6878b86f27
Changed [setWindow:] to manage the notification connection to the window.
...
[initWithWindow:], [dealloc] and [_windowWillClose:] now use [setWindow:].
[setDocument:] now no longer retains the document, as this is
already retaining the window controller. Simplified [loadWindow]
by using the method [windowNibPath].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17574 72102866-910b-0410-8b05-ffd578937521
2003-08-30 19:13:10 +00:00
Gregory John Casamento
ea85bcccb7
Added code to conditionally call desig. init. if it is defined on current class (only not parents).
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17572 72102866-910b-0410-8b05-ffd578937521
2003-08-30 05:01:47 +00:00
Adam Fedor
d323f62b6c
* Source/GNUmakefile.preamble (ADDITIONAL_OBJCFLAGS): Include
...
target dir for config.h (disable-flattened).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17571 72102866-910b-0410-8b05-ffd578937521
2003-08-30 03:47:10 +00:00
Gregory John Casamento
a5bcb506e4
Updated variable names. Added more implementation.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17566 72102866-910b-0410-8b05-ffd578937521
2003-08-29 04:13:48 +00:00
Gregory John Casamento
c071ffba8d
Corrected a segfault and prevent calling designated initializer when loading into interface buidler app.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17562 72102866-910b-0410-8b05-ffd578937521
2003-08-28 04:38:22 +00:00
Gregory John Casamento
e1c69fed03
Corrected a memory issue.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17535 72102866-910b-0410-8b05-ffd578937521
2003-08-25 04:50:09 +00:00
Gregory John Casamento
a32c4a14df
Added more of the implementation for toolbar/toolbaritem. Added check in GSClassSwapper to prevent an error case.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17532 72102866-910b-0410-8b05-ffd578937521
2003-08-24 17:22:11 +00:00
Gregory John Casamento
bc7f655703
Adding new templates and deprecating the old ones.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17511 72102866-910b-0410-8b05-ffd578937521
2003-08-23 01:03:40 +00:00
Fred Kiefer
98da20e7b6
In [performClose:] call the method [shouldCloseWindowController:]
...
on the document instead of [windowShouldClose:]
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17508 72102866-910b-0410-8b05-ffd578937521
2003-08-20 14:12:43 +00:00
Fred Kiefer
9aec274300
Overall change to use method calls rather than direct ivar access.
...
[setMenu:] also call [setMenuView:]. [removeItemWithTitle],
[removeItemAtIndex] and [removeAllItems] make sure that the
selected item ivar gets unset, when this is
removed. [setMenuItem:] overwrite super method to set/unset the
image. [selectItem:] no longer changes the image of this
item. [synchronizeTitleAndSelectedItem] now works on the menu item
not the selected item. [attachPopUpWithFrame:inView:] added
listening for notifications. [dismissPopUp] remove listening for
notifications. Added [performClickWithFrame:inView:] and
[performClick:]. Further simplified [drawInteriorWithFrame:inView:].
[initWithCoder:] made sure that old stored objects still get read
in correctly even if most ivars may be set wrong.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17506 72102866-910b-0410-8b05-ffd578937521
2003-08-20 13:17:08 +00:00
Fred Kiefer
1b82a55c2d
In [keyDown:] removed setting and unsetting of notification
...
listening, as this now gets handled in NSPopUpButtonCell.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17505 72102866-910b-0410-8b05-ffd578937521
2003-08-20 13:16:28 +00:00
Fred Kiefer
bfc31694fd
In [itemChanged:] call [setNeedsDisplayForItemAtIndex:] so that
...
changes get redisplayed.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17504 72102866-910b-0410-8b05-ffd578937521
2003-08-20 13:15:46 +00:00
Alexander Malmberg
0ab3be5eb5
Don't do initialization that requires the shared application object/backend too early (ie. move it from +initialize to other methods). Add some asserts to try to catch these errors in the future.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17503 72102866-910b-0410-8b05-ffd578937521
2003-08-20 12:43:52 +00:00
Alexander Malmberg
39c092170a
Don't return values from methods returning void.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17502 72102866-910b-0410-8b05-ffd578937521
2003-08-20 12:13:34 +00:00
Adam Fedor
a412965710
Make sure ext is lowercase
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17500 72102866-910b-0410-8b05-ffd578937521
2003-08-20 03:58:49 +00:00
Adam Fedor
db304032af
Fix leak of dictionary object.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17488 72102866-910b-0410-8b05-ffd578937521
2003-08-18 03:47:42 +00:00
Adam Fedor
1f8c6011b3
Broweser, ImageCell fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17487 72102866-910b-0410-8b05-ffd578937521
2003-08-18 03:28:58 +00:00
Adam Fedor
a3113ee753
* Source/NSDocument.m ([NSDocument -init]): Check the count of the
...
types array and uses Viewer and Editor NSRoles to set the default
type.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17485 72102866-910b-0410-8b05-ffd578937521
2003-08-16 17:12:34 +00:00
Alexander Malmberg
4cb2493b3c
Add new methods for getting the default defaults for fonts.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17467 72102866-910b-0410-8b05-ffd578937521
2003-08-10 21:30:49 +00:00
Ludovic Marcotte
45fdc0cdfa
Fixed a bug in NSPopUpButtonCell - see the ChangeLog for details.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17418 72102866-910b-0410-8b05-ffd578937521
2003-08-02 14:55:30 +00:00
Adam Fedor
8b09ec55a8
Update documentation install
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17415 72102866-910b-0410-8b05-ffd578937521
2003-08-02 03:41:10 +00:00
David Ayers
b18f1c4ac4
Header reorganization - Please refer to ChangeLog
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17408 72102866-910b-0410-8b05-ffd578937521
2003-07-31 23:52:10 +00:00
Michael Silva
8512c509e1
Cell modifications to remove unecessary images/color changes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17406 72102866-910b-0410-8b05-ffd578937521
2003-07-31 20:47:00 +00:00
Alexander Malmberg
e2118a6a32
Make system color list creation more robust; recover from broken System.clr files. Fix locale issue in +colorFromString:.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17375 72102866-910b-0410-8b05-ffd578937521
2003-07-27 15:56:41 +00:00
Alexander Malmberg
77fa3e8966
Make drawing debug logging a bit more detailed.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17371 72102866-910b-0410-8b05-ffd578937521
2003-07-26 18:56:06 +00:00
Fred Kiefer
7ada97ed5d
Implemented methods [action] and [setAction:].
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17367 72102866-910b-0410-8b05-ffd578937521
2003-07-26 15:45:01 +00:00
Fred Kiefer
2bf8409c3d
In [_setupPickers] release cell array.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17352 72102866-910b-0410-8b05-ffd578937521
2003-07-26 13:26:58 +00:00
Fred Kiefer
0f106ebecb
Autorelease image returned by [provideNewButtonImage].
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17351 72102866-910b-0410-8b05-ffd578937521
2003-07-26 13:26:35 +00:00
Richard Frith-Macdonald
5db7bc0ebd
Make use of NSInvocation
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17346 72102866-910b-0410-8b05-ffd578937521
2003-07-26 06:27:50 +00:00
Fred Kiefer
0f207ddbc4
In [update:] free the list returned by GSDebugAllocationClassList().
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17344 72102866-910b-0410-8b05-ffd578937521
2003-07-25 22:55:19 +00:00
Fred Kiefer
bb384bcd99
In [sizeToFit] free isResizable.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17343 72102866-910b-0410-8b05-ffd578937521
2003-07-25 22:54:59 +00:00
Fred Kiefer
677b253c54
In [_initFromTIFFImage:number:] free the info returned by
...
NSTiffGetInfo().
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17342 72102866-910b-0410-8b05-ffd578937521
2003-07-25 22:54:28 +00:00
Fred Kiefer
907959a781
In [initWithIconHandle:] and [initWithBitmapHandle:] release the
...
new bitmap image representation after adding it to the array.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17338 72102866-910b-0410-8b05-ffd578937521
2003-07-25 22:14:40 +00:00
Gregory John Casamento
d87e9ca295
Added changes to load new .gorm file
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17327 72102866-910b-0410-8b05-ffd578937521
2003-07-24 03:45:36 +00:00
Richard Frith-Macdonald
3fe7fba432
doc tidy
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17319 72102866-910b-0410-8b05-ffd578937521
2003-07-23 22:17:21 +00:00
Alexander Malmberg
8cb62c9d4a
Fix _menu ivar confusion.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17316 72102866-910b-0410-8b05-ffd578937521
2003-07-23 20:25:09 +00:00
Adam Fedor
2ca75c485d
Add initWithFrame:
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17307 72102866-910b-0410-8b05-ffd578937521
2003-07-23 03:44:33 +00:00
Richard Frith-Macdonald
32fce62555
Final tweaks?
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17305 72102866-910b-0410-8b05-ffd578937521
2003-07-22 17:25:32 +00:00
Richard Frith-Macdonald
56b238da25
More doc fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17303 72102866-910b-0410-8b05-ffd578937521
2003-07-22 17:03:50 +00:00
Richard Frith-Macdonald
daf5efadae
More documentation tidyups
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17302 72102866-910b-0410-8b05-ffd578937521
2003-07-22 16:52:17 +00:00
Richard Frith-Macdonald
62c7345c03
Remove bogus file
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17301 72102866-910b-0410-8b05-ffd578937521
2003-07-22 16:41:46 +00:00
Richard Frith-Macdonald
0e06373598
Minor doc fix
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17300 72102866-910b-0410-8b05-ffd578937521
2003-07-22 16:32:30 +00:00
Richard Frith-Macdonald
babf5391a3
Tidied
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17299 72102866-910b-0410-8b05-ffd578937521
2003-07-22 16:29:06 +00:00
Richard Frith-Macdonald
5c21d4d3d1
Documentatikon tweaks
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17298 72102866-910b-0410-8b05-ffd578937521
2003-07-22 16:13:46 +00:00
Richard Frith-Macdonald
f2a4621d7a
Documentation tweaks
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17296 72102866-910b-0410-8b05-ffd578937521
2003-07-22 15:50:11 +00:00
Richard Frith-Macdonald
fe15f366b4
Memory leak fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17295 72102866-910b-0410-8b05-ffd578937521
2003-07-22 15:23:12 +00:00
Richard Frith-Macdonald
b04ce4006b
Minor memory leak fix
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17287 72102866-910b-0410-8b05-ffd578937521
2003-07-22 05:18:05 +00:00
Adam Fedor
5152c169d4
Fix leaks.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17282 72102866-910b-0410-8b05-ffd578937521
2003-07-22 02:39:42 +00:00
Richard Frith-Macdonald
0c1073e3ec
Tweaks
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17278 72102866-910b-0410-8b05-ffd578937521
2003-07-21 11:59:47 +00:00
Richard Frith-Macdonald
9bb801ddb2
Applied memory leak fixing patches
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17277 72102866-910b-0410-8b05-ffd578937521
2003-07-21 10:41:10 +00:00
Richard Frith-Macdonald
5d38cbe75d
Tidyups
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17276 72102866-910b-0410-8b05-ffd578937521
2003-07-21 09:59:52 +00:00
Richard Frith-Macdonald
5f452ad56f
Minor memory management fixes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17272 72102866-910b-0410-8b05-ffd578937521
2003-07-21 07:47:06 +00:00
Adam Fedor
72d45dd40e
* GNUmakefile: Build Documentation if doc=yes (yes by default).
...
* Tools/gsnd/GNUmakefile.postamble: Linke in pthreads if not
already linked in (non-mingw targets only).
* Tools/gsnd/portaudio/pa_unix_oss/pa_unix_oss.c: On OpenBSD
include soundcard.h.
* Panels/English.proj: Replace GSPageLayout.gorm and
GSPrintPanel.gorm with updated GOrm dirs. Make Options button
non-continuous.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17261 72102866-910b-0410-8b05-ffd578937521
2003-07-20 02:08:22 +00:00
Fred Kiefer
9e1ed22f44
Added methods [init], [objectValue], [setObjectValue:],
...
[setImage:]. In [initTextCell:pullsDown:] create the menu first,
so that the first item gets entered to it. In [setPullsDown:] and
[setAltersStateOfSelectedItem] set the values that depend on these
flags. In [insertItemWithTitle:atIndex:] remove duplicates.
[selectItem:] the used image now depends on the arrow
position. Removed [drawWithFrame:inView:] and rewrote
[drawInteriorWithFrame:inView:].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17258 72102866-910b-0410-8b05-ffd578937521
2003-07-19 11:00:07 +00:00
Fred Kiefer
7b3541ec72
New MacOSX methods [formatter], [setFormatter:],
...
[attributedStringValue], [setAttributedStringValue:].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17252 72102866-910b-0410-8b05-ffd578937521
2003-07-18 14:03:08 +00:00
Richard Frith-Macdonald
3c16975b59
Documentation tweaks
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17211 72102866-910b-0410-8b05-ffd578937521
2003-07-14 13:10:00 +00:00
Richard Frith-Macdonald
e12ac6ef5d
Various tidyups and services improvements.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17210 72102866-910b-0410-8b05-ffd578937521
2003-07-14 12:27:42 +00:00
Alexander Malmberg
3e87f17811
Call the new methods from suitable places.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17206 72102866-910b-0410-8b05-ffd578937521
2003-07-12 18:04:25 +00:00
Alexander Malmberg
bfcaa8b453
Add -_updateInputMethodState and -_updateInputMethodWithInsertionPoint: methods.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17205 72102866-910b-0410-8b05-ffd578937521
2003-07-12 16:40:16 +00:00
Gregory John Casamento
0e8082c6c3
Fix to NSMatrix to prevent decoding issue.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17202 72102866-910b-0410-8b05-ffd578937521
2003-07-12 14:07:18 +00:00
Alexander Malmberg
7d44f67c49
Adjust 'really large' sizes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17186 72102866-910b-0410-8b05-ffd578937521
2003-07-11 01:38:39 +00:00
Benhur Stein
de241312ea
Fix bug #4255
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17182 72102866-910b-0410-8b05-ffd578937521
2003-07-10 14:52:55 +00:00
Alexander Malmberg
961fc47691
Improve behavior of selected range adjustments when invalidating.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17137 72102866-910b-0410-8b05-ffd578937521
2003-07-05 16:04:05 +00:00
Alexander Malmberg
ad33f29026
(getNSFont): Retain/autorelease when returning a cached instance.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17135 72102866-910b-0410-8b05-ffd578937521
2003-07-05 15:23:54 +00:00
Alexander Malmberg
974395db91
(-fixParagraphStyleAttributeInRange:): Handle paragraphs with paragraph styles set for part of it correctly.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17134 72102866-910b-0410-8b05-ffd578937521
2003-07-05 15:23:34 +00:00
Alexander Malmberg
a8236e46af
(-initWithCoder:): Make sure the returned font has a correct retain count on all paths.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17131 72102866-910b-0410-8b05-ffd578937521
2003-07-05 14:08:43 +00:00
Richard Frith-Macdonald
d03c09f65b
Tidyups for protocols
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17109 72102866-910b-0410-8b05-ffd578937521
2003-07-04 17:15:02 +00:00
Richard Frith-Macdonald
61aea80cb8
Make last change conditionally compiled
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17103 72102866-910b-0410-8b05-ffd578937521
2003-07-04 15:12:45 +00:00
Richard Frith-Macdonald
caff431de2
Minor efficiency improvement
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17098 72102866-910b-0410-8b05-ffd578937521
2003-07-04 11:05:06 +00:00
Alexander Malmberg
82c83b3237
(getNSFont): Only update the cache when the font has the default size.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17090 72102866-910b-0410-8b05-ffd578937521
2003-07-02 23:44:48 +00:00
Alexander Malmberg
d4fff8ae12
Rewrite handling of standard fonts to provide better behavior.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17089 72102866-910b-0410-8b05-ffd578937521
2003-07-02 15:46:32 +00:00
Sergii Stoian
42b6ef6744
Border type of column's scroll view fix
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17082 72102866-910b-0410-8b05-ffd578937521
2003-07-01 13:41:48 +00:00
Richard Frith-Macdonald
ac774bd294
fix typo
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17077 72102866-910b-0410-8b05-ffd578937521
2003-06-30 16:24:11 +00:00
Richard Frith-Macdonald
6a39184087
Lots of tidyups
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17076 72102866-910b-0410-8b05-ffd578937521
2003-06-30 16:17:45 +00:00
Richard Frith-Macdonald
ccb28dedd8
Fix typos snd spelling errors
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17075 72102866-910b-0410-8b05-ffd578937521
2003-06-30 11:12:33 +00:00
Richard Frith-Macdonald
55592728b1
Tidied doc
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17074 72102866-910b-0410-8b05-ffd578937521
2003-06-30 09:48:59 +00:00
Richard Frith-Macdonald
ea6e6d4a9e
Documentation improvements.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17072 72102866-910b-0410-8b05-ffd578937521
2003-06-30 09:09:00 +00:00
Alexander Malmberg
6a11f149ca
Add a missing '@'.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17069 72102866-910b-0410-8b05-ffd578937521
2003-06-29 18:17:08 +00:00
Alexander Malmberg
c8ac5f25e4
Automatically turn off screen fonts if required according to the current context's ctm.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17067 72102866-910b-0410-8b05-ffd578937521
2003-06-29 15:39:54 +00:00
Richard Frith-Macdonald
c246aaf25c
Documentation tweaks
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17064 72102866-910b-0410-8b05-ffd578937521
2003-06-28 19:15:18 +00:00
Richard Frith-Macdonald
b1c07282e1
Tweaks and debugging
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17063 72102866-910b-0410-8b05-ffd578937521
2003-06-28 17:37:03 +00:00
Richard Frith-Macdonald
94b97f00b8
Declare types when writing to pasteboard
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17059 72102866-910b-0410-8b05-ffd578937521
2003-06-28 06:55:13 +00:00
Richard Frith-Macdonald
17d4b32bba
More filter stuff added
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17058 72102866-910b-0410-8b05-ffd578937521
2003-06-28 06:46:14 +00:00
Richard Frith-Macdonald
e15eb96920
More documentation tweaks
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17053 72102866-910b-0410-8b05-ffd578937521
2003-06-27 18:37:00 +00:00
Richard Frith-Macdonald
a8ce266293
More documentation tweaks
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17052 72102866-910b-0410-8b05-ffd578937521
2003-06-27 17:09:49 +00:00
Richard Frith-Macdonald
a1336268a7
More documentation updates and initial implementation of some filtering code
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17051 72102866-910b-0410-8b05-ffd578937521
2003-06-27 16:42:27 +00:00
Richard Frith-Macdonald
47bcd510bb
More pasteboard work
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17049 72102866-910b-0410-8b05-ffd578937521
2003-06-27 14:53:25 +00:00
Richard Frith-Macdonald
971194c387
More filter work
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17048 72102866-910b-0410-8b05-ffd578937521
2003-06-27 14:47:11 +00:00
Richard Frith-Macdonald
02e6c7f15c
Partial implementation of filtering services
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17046 72102866-910b-0410-8b05-ffd578937521
2003-06-27 12:08:13 +00:00
Richard Frith-Macdonald
c03667e1c4
Some pasteboard fixes and lots of documentation.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17045 72102866-910b-0410-8b05-ffd578937521
2003-06-27 11:13:30 +00:00
Ludovic Marcotte
6a1f74c661
See the ChangeLog for the full description.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17043 72102866-910b-0410-8b05-ffd578937521
2003-06-27 00:45:24 +00:00
Fred Kiefer
7caced9d58
(_glyphDumpRuns,
...
helpers::generateRunsToCharacter:,
helpers::generateGlyphsUpToCharacter:,
helpers::generateGlyphsUpToGlyph:,
helpers::glyphForCharacter:index:positions::, getGlyphs:range:,
characterRangeForGlyphRange:actualGlyphRange:,
glyphRangeForCharacterRange:actualCharacterRange:,
invalidateGlyphsForCharacterRange:changeInLength:actualCharacterRange:,
insertTextContainer:atIndex:):
Removed compiler warning about signed/unsigned comparision.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17041 72102866-910b-0410-8b05-ffd578937521
2003-06-26 23:25:34 +00:00
Fred Kiefer
a50f7b9a5c
Corrected handling of pasteboard data of type NSFilenamesPboardType.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17015 72102866-910b-0410-8b05-ffd578937521
2003-06-24 22:57:12 +00:00
Alexander Malmberg
722091ab9d
(-drawLabel:inRect:): Use -drawInRect: instead of -drawAtPoint: to draw label.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17009 72102866-910b-0410-8b05-ffd578937521
2003-06-23 23:08:20 +00:00
Alexander Malmberg
7316997787
(-drawAtPoint:): Place the text correctly when the view isn't flipped.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17008 72102866-910b-0410-8b05-ffd578937521
2003-06-23 17:05:05 +00:00
Fred Kiefer
3c46da992d
Changed element char_index of structure glyph_cache_t to unsigned.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17006 72102866-910b-0410-8b05-ffd578937521
2003-06-23 15:51:27 +00:00
Fred Kiefer
26c82d8aef
Removed compiler warning about signed/unsigned comparision.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17005 72102866-910b-0410-8b05-ffd578937521
2003-06-23 15:50:46 +00:00
Fred Kiefer
a3aecbd99d
Commented out unused variables WTitleHeight, ScrollMinSize,
...
MessageMinHeight.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17004 72102866-910b-0410-8b05-ffd578937521
2003-06-23 15:48:01 +00:00
Richard Frith-Macdonald
b86567b3d7
Minor documentation additions
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17002 72102866-910b-0410-8b05-ffd578937521
2003-06-22 14:36:17 +00:00
Richard Frith-Macdonald
a47f8086fa
Minor documentation fix
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17001 72102866-910b-0410-8b05-ffd578937521
2003-06-22 12:04:47 +00:00
Richard Frith-Macdonald
31389b5cd9
Doc tidyups
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17000 72102866-910b-0410-8b05-ffd578937521
2003-06-22 09:29:34 +00:00
Richard Frith-Macdonald
f2d448c8cd
Documentation fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16999 72102866-910b-0410-8b05-ffd578937521
2003-06-22 09:00:34 +00:00
Fred Kiefer
bde7ea7f4a
Added missing include for GSGuiPrivate.h.
...
(initWithContentRect:...screen:, updateFromPrintInfo)
Removed compiler warning about signed/unsigned comparision.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16993 72102866-910b-0410-8b05-ffd578937521
2003-06-21 23:30:25 +00:00
Fred Kiefer
32db96f136
(_print)
...
Removed compiler warning about signed/unsigned comparision.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16992 72102866-910b-0410-8b05-ffd578937521
2003-06-21 23:29:38 +00:00
Fred Kiefer
3bfbe29553
In [+initPrintInfoDefaults] initialize variable printer with nil.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16991 72102866-910b-0410-8b05-ffd578937521
2003-06-21 23:29:06 +00:00
Fred Kiefer
4afc950070
(insertItemWithTitle:atIndex:,
...
selectItemAtIndex:, selectItemWithTitle:, setTitle:)
Corrected type of local variable.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16990 72102866-910b-0410-8b05-ffd578937521
2003-06-21 23:28:40 +00:00
Fred Kiefer
b43ca557f3
(initWithContentRect:...screen:, readPrintInfo)
...
Removed compiler warning about signed/unsigned comparision.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16988 72102866-910b-0410-8b05-ffd578937521
2003-06-21 23:26:30 +00:00
Fred Kiefer
fc8bfdad89
(selectAll:)
...
Removed compiler warning about signed/unsigned comparision.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16987 72102866-910b-0410-8b05-ffd578937521
2003-06-21 23:26:04 +00:00
Fred Kiefer
972bb877d1
(rectArrayForGlyphRange:...rectCount:,
...
glyphRangeForBoundingRect:inTextContainer:,
_insertionPointRectForCharacterIndex:textContainer:):
Removed compiler warning about signed/unsigned comparision.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16986 72102866-910b-0410-8b05-ffd578937521
2003-06-21 23:25:27 +00:00
Fred Kiefer
5261934143
(initWithName:host:):
...
Removed compiler warning about signed/unsigned comparision.
Adopted to changes in header.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16983 72102866-910b-0410-8b05-ffd578937521
2003-06-21 23:23:39 +00:00
Adam Fedor
9d122f2cb1
* Source/NSOutlineView.m ([NSOutlineView -drawRow:clipRect:]):
...
Add delegate method call. Patch from Yen-Ju Chen
* Source/NSView.m (-menuForEvent:): Add note about this
method being discouraged.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16981 72102866-910b-0410-8b05-ffd578937521
2003-06-21 16:44:46 +00:00
Adam Fedor
8309f24bee
Use NSFont not isa to call class methods.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16978 72102866-910b-0410-8b05-ffd578937521
2003-06-21 03:21:33 +00:00
Adam Fedor
78417b8898
Check for Gui before removing
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16972 72102866-910b-0410-8b05-ffd578937521
2003-06-20 16:15:59 +00:00
Adam Fedor
687ad68408
Add GSGuiPrivate header for localization
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16949 72102866-910b-0410-8b05-ffd578937521
2003-06-17 15:12:32 +00:00
Fred Kiefer
fdf5470d7e
Adopted to changes in header.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16935 72102866-910b-0410-8b05-ffd578937521
2003-06-17 13:28:46 +00:00
Alexander Malmberg
d332316918
Handle text containers with no area.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16929 72102866-910b-0410-8b05-ffd578937521
2003-06-15 15:18:54 +00:00
Alexander Malmberg
5a3c3668c3
Remove unused GSFontProxy class.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16921 72102866-910b-0410-8b05-ffd578937521
2003-06-15 00:36:36 +00:00
Adam Fedor
6be9174933
Include <> -> ""
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16917 72102866-910b-0410-8b05-ffd578937521
2003-06-13 15:01:12 +00:00
Adam Fedor
f99a743b43
Implement NSActionCell.m (-setObjectValue:)
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16905 72102866-910b-0410-8b05-ffd578937521
2003-06-12 03:16:19 +00:00
Alexander Malmberg
a55cd8adda
Add [GSFontInfo -appendBezierPathWithGlyphs:count:toBezierPath:] and use it to implement NSBezierPath's glyph methods.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16903 72102866-910b-0410-8b05-ffd578937521
2003-06-11 13:36:59 +00:00
Alexander Malmberg
02ef01adc7
Remove debugging printf:s.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16900 72102866-910b-0410-8b05-ffd578937521
2003-06-10 10:43:26 +00:00
Gregory John Casamento
d10d57c53e
Committing Alex's font changes as well as my font panel changes and some
...
work I did on NSDataLink a while back (a few months ago).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16898 72102866-910b-0410-8b05-ffd578937521
2003-06-10 01:26:56 +00:00
Fred Kiefer
be008a93fd
(-availableFonts,
...
-availableFontNamesWithTraits:, -availableMembersOfFontFamily:,
-convertFont:, convertWeight:ofFont:,
-fontWithFamily:traits:weight:size:, -fontNamed:hasTraits:)
Removed compiler warning about signed/unsigned comparision.
[setSelectedFont:isMultiple:] and [fontMenu:] changed menuItem to
type (id <NSMenuItem>).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16891 72102866-910b-0410-8b05-ffd578937521
2003-06-08 00:31:11 +00:00
Fred Kiefer
95bd47d86d
(-setPanelFont:isMultiple:
...
-_trySelectSize:, -_familySelectionChanged:, -browser:...column:)
Removed compiler warning about signed/unsigned comparision.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16890 72102866-910b-0410-8b05-ffd578937521
2003-06-08 00:30:01 +00:00
Fred Kiefer
cf67ae9a86
(-completedString:) Removed compiler warning about signed/unsigned comparision.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16889 72102866-910b-0410-8b05-ffd578937521
2003-06-08 00:28:06 +00:00
Fred Kiefer
e5c6ff4ab0
(-setPath:, pathToColumn:, -addColumn):
...
Removed compiler warning about signed/unsigned comparision.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16888 72102866-910b-0410-8b05-ffd578937521
2003-06-08 00:27:13 +00:00
Fred Kiefer
634aafc1de
In [initWithBitmapDataPlanes:...bitsPerPixel:],
...
[getBitmapDataPlanes:] and [copyWithZone:] changed type of i
to unsigned int.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16887 72102866-910b-0410-8b05-ffd578937521
2003-06-08 00:26:18 +00:00
Alexander Malmberg
fe3da45353
Check the types of defaults values before using them.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16870 72102866-910b-0410-8b05-ffd578937521
2003-06-05 14:46:04 +00:00
Alexander Malmberg
2356f6a8e1
Use a much larger size for the field editor.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16866 72102866-910b-0410-8b05-ffd578937521
2003-06-04 21:05:22 +00:00
Adam Fedor
1740b49ea6
New method to load user bundles
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16804 72102866-910b-0410-8b05-ffd578937521
2003-05-27 04:10:20 +00:00
Fred Kiefer
c4d2bc49f1
In [finishLaunching] and [replyToApplicationShouldTerminate:] use
...
[NSWorkspace activeApplication] to get application information.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16766 72102866-910b-0410-8b05-ffd578937521
2003-05-21 22:08:49 +00:00
Fred Kiefer
b52b96da8d
Basic implemention of [activeApplication] and [launchedApplications].
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16765 72102866-910b-0410-8b05-ffd578937521
2003-05-21 22:08:17 +00:00
Fred Kiefer
3f9c960d09
[_familySelectionChanged:] removed unused local variable.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16763 72102866-910b-0410-8b05-ffd578937521
2003-05-21 22:07:30 +00:00
Alexander Malmberg
52308a0016
Add shfill operator.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16743 72102866-910b-0410-8b05-ffd578937521
2003-05-17 22:04:00 +00:00
Richard Frith-Macdonald
9dce871b41
Draw authors in correct order
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16733 72102866-910b-0410-8b05-ffd578937521
2003-05-16 09:14:52 +00:00
Sergii Stoian
2a5bf8cd45
Set cell height at least to 20 pixels
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16719 72102866-910b-0410-8b05-ffd578937521
2003-05-14 11:02:23 +00:00
Alexander Malmberg
236f39512d
Mark the view as needing display, don't force a display.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16716 72102866-910b-0410-8b05-ffd578937521
2003-05-13 18:26:46 +00:00
Alexander Malmberg
8184380380
Set _windowNum to 0 so the backend window will be recreated when required.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16715 72102866-910b-0410-8b05-ffd578937521
2003-05-13 18:26:20 +00:00
Alexander Malmberg
c76aa02acd
Don't save the focus rect clipping path in the gstate if one is allocated.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16701 72102866-910b-0410-8b05-ffd578937521
2003-05-12 15:35:43 +00:00
Richard Frith-Macdonald
149d522d53
Minor fix
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16695 72102866-910b-0410-8b05-ffd578937521
2003-05-11 14:49:11 +00:00
Richard Frith-Macdonald
a36ee5fb70
Workspace improvements.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16694 72102866-910b-0410-8b05-ffd578937521
2003-05-11 14:41:32 +00:00
Richard Frith-Macdonald
412246997b
NSWorkspace tweaks.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16691 72102866-910b-0410-8b05-ffd578937521
2003-05-11 11:00:04 +00:00
Michael Silva
ffdd4dc955
implemented selectTabViewItemWithIdentifier:
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16640 72102866-910b-0410-8b05-ffd578937521
2003-05-06 04:26:37 +00:00
Alexander Malmberg
8a2e943bbd
Detect and handle gaps in the soft invalidated layout information.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16639 72102866-910b-0410-8b05-ffd578937521
2003-05-05 20:52:24 +00:00
Adam Fedor
4748f21adb
Remove GNUSTEP_MAKEFILES
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16619 72102866-910b-0410-8b05-ffd578937521
2003-05-03 02:16:53 +00:00
Fred Kiefer
1ef9efe907
Preliminary implemetation for NSConvertGlyphsToPackedGlyphs().
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16616 72102866-910b-0410-8b05-ffd578937521
2003-05-02 19:01:07 +00:00
Fred Kiefer
294b552583
Moved code from [bezierPathWithOvalInRect:] and
...
[bezierPathWithRect:] to [appendBezierPathWithOvalInRect:] and
[appendBezierPathWithRect:] and implemented the former with a call
to the later.
Preliminary implemetation for [appendBezierPathWithGlyph:inFont:]
and [appendBezierPathWithGlyphs:count:inFont:].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16615 72102866-910b-0410-8b05-ffd578937521
2003-05-02 19:00:43 +00:00
Alexander Malmberg
accbe13cb3
(-acceptsFirstResponder): Implement to return NO.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16598 72102866-910b-0410-8b05-ffd578937521
2003-05-01 19:50:20 +00:00
Alexander Malmberg
ecb096136a
(-drawRect:): Draw background correctly.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16597 72102866-910b-0410-8b05-ffd578937521
2003-05-01 18:06:32 +00:00
Alexander Malmberg
09fe259cce
Update for file system layout changes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16596 72102866-910b-0410-8b05-ffd578937521
2003-05-01 18:06:11 +00:00
Richard Frith-Macdonald
f4ad5aa21d
Enable horizontal scrolling with shift key.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16584 72102866-910b-0410-8b05-ffd578937521
2003-04-30 05:03:50 +00:00
Alexander Malmberg
496c641984
Documented NSTextContainer.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16579 72102866-910b-0410-8b05-ffd578937521
2003-04-28 16:37:56 +00:00
Nicola Pero
6942ad64d5
When looking for the target for an action, if the key window is associated
...
with a document, return it
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16575 72102866-910b-0410-8b05-ffd578937521
2003-04-28 12:16:35 +00:00
Adam Fedor
4277f13318
Fix Services dir
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16568 72102866-910b-0410-8b05-ffd578937521
2003-04-28 02:47:09 +00:00
Adam Fedor
0de7e778fe
Updates for filesystem change.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16566 72102866-910b-0410-8b05-ffd578937521
2003-04-28 02:33:10 +00:00
Michael Silva
cd5a9ae86b
Small fix to NSPopUpButtonCell.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16564 72102866-910b-0410-8b05-ffd578937521
2003-04-27 20:37:29 +00:00
Fred Kiefer
d945e6d792
Removed creation of fontDictionary from [init] method. This now
...
gets done on demand in [afmDictionary].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16559 72102866-910b-0410-8b05-ffd578937521
2003-04-27 15:44:56 +00:00
Fred Kiefer
ab61661a4a
[_familySelectionChanged:] made the call to [_trySelectSize:]
...
safer against none existing fonts. This used to result in a NaN
being displayed as font size.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16558 72102866-910b-0410-8b05-ffd578937521
2003-04-27 15:44:28 +00:00
Richard Frith-Macdonald
e06c8b7a87
added ruler view bugfixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16555 72102866-910b-0410-8b05-ffd578937521
2003-04-27 08:45:46 +00:00
Fred Kiefer
41ec62e3a2
Implemented handling of writing directions. These are needed for the
...
upcoming new RTFProducer.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16551 72102866-910b-0410-8b05-ffd578937521
2003-04-26 16:51:21 +00:00
Fred Kiefer
f12f062604
Moved the computation of the cell size into the method [setFont:]
...
and use this in [init]. Added call to [setNeedsSizing:] in
[setHorizontalEdgePadding:]. In [locationForSubmenu:] check for
the interface style of the submenu. Also cleaned up up coding style and
comments in the whole file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16549 72102866-910b-0410-8b05-ffd578937521
2003-04-26 16:50:22 +00:00
Fred Kiefer
2e483ce3b8
Removed [becomeFirstResponder] and [resignFirstResponder] as the
...
handling of [showFirstResponder] is still unclear.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16548 72102866-910b-0410-8b05-ffd578937521
2003-04-26 16:49:47 +00:00
Richard Frith-Macdonald
f4d75d0ffb
bugfix for window position constraint
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16546 72102866-910b-0410-8b05-ffd578937521
2003-04-26 07:17:24 +00:00
Richard Frith-Macdonald
15aab01ceb
Try to compensate for changes in screen size.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16545 72102866-910b-0410-8b05-ffd578937521
2003-04-26 06:39:49 +00:00
Fred Kiefer
d49f634d96
Basic implementation of the tick mark methods. Added en-/decoding
...
for tick marks. [setKnobThickness:], [setNumberOfTickMarks:] and
[setTickMarkPosition:] now update the control.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16543 72102866-910b-0410-8b05-ffd578937521
2003-04-25 22:55:18 +00:00
Fred Kiefer
f649a1bb4b
Removed unused local variable in [sendEvent:].
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16542 72102866-910b-0410-8b05-ffd578937521
2003-04-25 22:54:39 +00:00
Fred Kiefer
fef7f0266a
[GSPatternColor colorSpaceName] uses NSPatternColorSpace.
...
Corrected [blendedColorWithFraction:ofColor:], where self and aColor
where exchanged and alpha handling was missing.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16541 72102866-910b-0410-8b05-ffd578937521
2003-04-25 22:54:12 +00:00
Fred Kiefer
a1c9f461f9
Added NSPatternColorSpace.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16540 72102866-910b-0410-8b05-ffd578937521
2003-04-25 22:51:55 +00:00
Fred Kiefer
76385367ad
Use controlBackgroundColor instead of lightGrayColor. Patch by Matt
...
Rice (matt@vespertine.pc.ashlandfiber.net ).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16539 72102866-910b-0410-8b05-ffd578937521
2003-04-25 22:51:02 +00:00
Richard Frith-Macdonald
188be4b3e1
Adjust browser columns size to match window
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16537 72102866-910b-0410-8b05-ffd578937521
2003-04-25 07:04:57 +00:00
Sergii Stoian
ec2a39cf4a
[NSMenuView mouseDown:] Generate periodic events every 0.01 seconds
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16486 72102866-910b-0410-8b05-ffd578937521
2003-04-21 09:41:03 +00:00
Sergii Stoian
a14c8cdfc3
Moved code from setMenuView to calcSize
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16480 72102866-910b-0410-8b05-ffd578937521
2003-04-17 11:59:32 +00:00
Sergii Stoian
aa6861d4fe
Do not add X image if window has close button
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16461 72102866-910b-0410-8b05-ffd578937521
2003-04-14 09:45:24 +00:00
Michael Silva
42689ac827
whatever.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16459 72102866-910b-0410-8b05-ffd578937521
2003-04-14 00:03:09 +00:00
Michael Silva
e9ccc289d5
Multiple commits from Michael, see ChangeLog.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16458 72102866-910b-0410-8b05-ffd578937521
2003-04-13 23:45:39 +00:00
Sergii Stoian
182d90fe0e
Draw temporary cell if no items in menu
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16455 72102866-910b-0410-8b05-ffd578937521
2003-04-13 08:57:29 +00:00
Sergii Stoian
69fc3b2540
beep on click when no items to display
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16454 72102866-910b-0410-8b05-ffd578937521
2003-04-13 08:56:35 +00:00
Sergii Stoian
490b673918
(removeAllItems): Leave item at index 0 with empty title
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16444 72102866-910b-0410-8b05-ffd578937521
2003-04-12 11:12:31 +00:00
Sergii Stoian
ea951e6cba
isOpaque implemented. update imporving
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16432 72102866-910b-0410-8b05-ffd578937521
2003-04-11 12:53:20 +00:00
Sergii Stoian
2e4c41319e
Windows menu manipulation fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16430 72102866-910b-0410-8b05-ffd578937521
2003-04-11 12:42:10 +00:00
Sergii Stoian
ca26a5ce28
mouseDown fix
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16427 72102866-910b-0410-8b05-ffd578937521
2003-04-11 10:35:36 +00:00
Sergii Stoian
6301c30606
add remove/image only if it's not user settings
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16415 72102866-910b-0410-8b05-ffd578937521
2003-04-10 15:06:48 +00:00
Sergii Stoian
4fb42475cb
mouseDown selections fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16414 72102866-910b-0410-8b05-ffd578937521
2003-04-10 15:05:50 +00:00
Pierre-Yves Rivaille
063710aa5f
Source/NSWindow.m ([-sendEvent:], case NSRightMouseDown):
...
removed code to display the menu. This is now done by
[NSView -rightMouseDown:].
Source/NSView.m: overrides -menu,
changes -rightMouseDown: to display the menu,
documents -menu, -menuForEvent: and +defaultMenu.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16413 72102866-910b-0410-8b05-ffd578937521
2003-04-10 14:00:53 +00:00
Richard Frith-Macdonald
b2faf96893
Fix for multiple startup.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16410 72102866-910b-0410-8b05-ffd578937521
2003-04-10 09:04:24 +00:00
Richard Frith-Macdonald
0bdd1b569f
Minor fix
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16409 72102866-910b-0410-8b05-ffd578937521
2003-04-10 05:36:19 +00:00
Alexander Malmberg
bbdf75548a
Fix updating of glyph counts in some rare cases. Minor cleanups.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16408 72102866-910b-0410-8b05-ffd578937521
2003-04-10 00:08:26 +00:00
Richard Frith-Macdonald
4261e94931
Minor fix in last mod.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16406 72102866-910b-0410-8b05-ffd578937521
2003-04-09 16:34:49 +00:00
Richard Frith-Macdonald
a4ace9f14b
File opening tidyups
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16405 72102866-910b-0410-8b05-ffd578937521
2003-04-09 16:12:22 +00:00
Richard Frith-Macdonald
7fec3a5ad6
Remove bogus link
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16403 72102866-910b-0410-8b05-ffd578937521
2003-04-09 13:32:16 +00:00
Richard Frith-Macdonald
4109fae209
Tidied
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16402 72102866-910b-0410-8b05-ffd578937521
2003-04-09 12:27:16 +00:00
Richard Frith-Macdonald
3e29c3d592
Documentation
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16401 72102866-910b-0410-8b05-ffd578937521
2003-04-09 12:06:58 +00:00
Sergii Stoian
8d25964b74
horizontal menu fixes; title view mouseDown event loop changed
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16399 72102866-910b-0410-8b05-ffd578937521
2003-04-09 09:42:26 +00:00
Sergii Stoian
8b47399e27
Draw content before backend window ordering
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16397 72102866-910b-0410-8b05-ffd578937521
2003-04-09 07:18:44 +00:00
Sergii Stoian
223ed7f03f
return back horizontal menu code
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16396 72102866-910b-0410-8b05-ffd578937521
2003-04-09 07:06:51 +00:00
Alexander Malmberg
58a9585750
(-setNeedsDisplay:, -setNeedsDisplayInRect:): Thread safety related fixes and cleanups.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16394 72102866-910b-0410-8b05-ffd578937521
2003-04-08 22:42:02 +00:00
Alexander Malmberg
15ab06811c
(-mouseDown:): Rewrite the mouse tracking loop.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16391 72102866-910b-0410-8b05-ffd578937521
2003-04-08 13:36:15 +00:00
Alexander Malmberg
3061f81c4e
Make -setNeedsDiplay: and -setNeedsDisplayInRect: thread safe.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16390 72102866-910b-0410-8b05-ffd578937521
2003-04-08 00:17:53 +00:00
Alexander Malmberg
c0587cf573
Release all memory if the fontInfo can't be created.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16386 72102866-910b-0410-8b05-ffd578937521
2003-04-07 11:07:57 +00:00
Alexander Malmberg
83f252e89a
Make -setNeedsDisplay* safe to use from performers.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16381 72102866-910b-0410-8b05-ffd578937521
2003-04-06 18:03:33 +00:00
Alexander Malmberg
c6beeb60ec
Make sure the text storage doesn't have unprocessed editing when using it.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16378 72102866-910b-0410-8b05-ffd578937521
2003-04-06 13:12:34 +00:00
Alexander Malmberg
5448a979d5
Make preview active by default.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16368 72102866-910b-0410-8b05-ffd578937521
2003-04-05 11:00:28 +00:00
Sergii Stoian
be2339b537
displayTransient: Call [self sizeToFit] before caclulating locations
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16355 72102866-910b-0410-8b05-ffd578937521
2003-04-04 12:11:25 +00:00
Alexander Malmberg
408b16ce51
Misc. cleanups. (-dealloc): Remove the delegate from the notification center for the notifications we added it for.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16346 72102866-910b-0410-8b05-ffd578937521
2003-04-04 00:51:34 +00:00
Alexander Malmberg
74704f51e3
When steping forward at the end of the glyph runs, correctly handle the case where the current run is extended.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16345 72102866-910b-0410-8b05-ffd578937521
2003-04-03 18:31:25 +00:00
Alexander Malmberg
60c44310e2
Tweak glyph caching parameters to increase performance.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16330 72102866-910b-0410-8b05-ffd578937521
2003-04-02 13:28:29 +00:00
Wim (Willem Rein) Oudshoorn
f4e84ae6fe
(NSMenuWindowTitleView): reformatted one line to
...
conform to coding standards
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16320 72102866-910b-0410-8b05-ffd578937521
2003-04-01 19:52:08 +00:00
Wim (Willem Rein) Oudshoorn
a3c1d4f5f8
renamed ivar _changed to _needsSizing.
...
([NSMenu -sizeToFit]): Changed call [_view update] to [_view sizeToFit]
([NSMenu -displayTransient]): call [NSMenuView-update] to ensure that the
menuView knows it belongs to a transient menu
([NSMenu -closeTransient]): call [NSMenuView-update] to ensue that the
menuView knows it is not transient anymore.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16319 72102866-910b-0410-8b05-ffd578937521
2003-04-01 19:51:41 +00:00
Richard Frith-Macdonald
fa5c825e40
Initialise the application in the main thread.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16316 72102866-910b-0410-8b05-ffd578937521
2003-04-01 16:41:03 +00:00
Adam Fedor
ff8e8d0cc9
Set initialFirstResponder when becomeKeyWindow
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16311 72102866-910b-0410-8b05-ffd578937521
2003-04-01 05:13:16 +00:00
Adam Fedor
2513205129
Add GSCategories.h
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16308 72102866-910b-0410-8b05-ffd578937521
2003-04-01 03:46:31 +00:00
Alexander Malmberg
42504c3dd6
(-trackKnob:): Wrap each iteration in an autorelease pool.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16297 72102866-910b-0410-8b05-ffd578937521
2003-03-30 17:24:47 +00:00
Alexander Malmberg
81c57842ad
Correct the name of a delegate method.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16296 72102866-910b-0410-8b05-ffd578937521
2003-03-30 17:24:30 +00:00
Wim (Willem Rein) Oudshoorn
830105b505
Reformatted to comply to coding standards
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16293 72102866-910b-0410-8b05-ffd578937521
2003-03-30 12:54:56 +00:00
Wim (Willem Rein) Oudshoorn
98bf455e21
Reformatted to comply to
...
coding standards
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16291 72102866-910b-0410-8b05-ffd578937521
2003-03-30 12:48:06 +00:00
Alexander Malmberg
2bd5b9f6b6
(mouseDown:) Wrap each iteration of the mouse tracking loop in an autorelease pool.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16289 72102866-910b-0410-8b05-ffd578937521
2003-03-29 20:12:07 +00:00
Sergii Stoian
be1ccbace3
Documentation and TODO cleanup
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16285 72102866-910b-0410-8b05-ffd578937521
2003-03-28 15:05:47 +00:00
Alexander Malmberg
faf7070654
(-setSelectionFrom:to:anchor:highlight:): Update the selection related ivars after changing the selection.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16281 72102866-910b-0410-8b05-ffd578937521
2003-03-27 22:54:46 +00:00
Sergii Stoian
1e848bde2d
update fixes and title view adding/removal changes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16279 72102866-910b-0410-8b05-ffd578937521
2003-03-27 16:18:02 +00:00
Sergii Stoian
92d9403935
optimize calling sizeToFit and update methods
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16278 72102866-910b-0410-8b05-ffd578937521
2003-03-27 16:16:47 +00:00
Adam Fedor
656499da0d
Fix tracking in NSMatrix
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16269 72102866-910b-0410-8b05-ffd578937521
2003-03-26 04:09:09 +00:00
Sergii Stoian
360bfffc6f
reset highlighted items in a submenu that we leave for a supermenu
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16264 72102866-910b-0410-8b05-ffd578937521
2003-03-25 19:58:19 +00:00
Sergii Stoian
21ffe25ac7
removed pad adding between state image and text
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16259 72102866-910b-0410-8b05-ffd578937521
2003-03-25 15:35:51 +00:00
Sergii Stoian
da3b4b0583
offset calulation fixes and optimization
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16258 72102866-910b-0410-8b05-ffd578937521
2003-03-25 15:34:08 +00:00
Sergii Stoian
e1dd0679b1
NSMenuView.m setWindowFrameForAttachingToRect: sizing fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16253 72102866-910b-0410-8b05-ffd578937521
2003-03-25 09:51:00 +00:00
Adam Fedor
23049dde9e
Merge from 0.8.5 branch
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16250 72102866-910b-0410-8b05-ffd578937521
2003-03-24 18:15:56 +00:00
Sergii Stoian
be33618457
Horizontal menu related code removed
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16236 72102866-910b-0410-8b05-ffd578937521
2003-03-23 21:41:44 +00:00
Wim (Willem Rein) Oudshoorn
accc68d8dd
fixed stupid typo.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16223 72102866-910b-0410-8b05-ffd578937521
2003-03-22 17:11:18 +00:00
Wim (Willem Rein) Oudshoorn
a50c8b216c
(-initWithFrame:): Removed creation of titleView
...
([NSMenuView -setMenu:]): call update to handle new situation
([NSMenuView -update]): Removed call to _menu update, handle the
adding/removing of the title view.
([NSMenuView -sizeToFit]): reformatted to conform to coding standard,
handle missing titleView.
([NSMenuView -setWindowFrameForAttachingToRect:onScreen:preferredEdge:popUpSelectedItem:]):
Reformatted to conform to coding standard. Removed the code that removed the titleView.
That is handled by update.
([NSMenuView -drawRect:]): Reformatted to conform to coding standards.
([NSMenuWindowTitleView -init]): Reformatted to conform to coding standards.
([NSMenuWindowTitleView -dealloc]): new method to prevent leaking the close button.
([NSMenuWindowTitleView -titleSize]): Reformatted to conform to coding standard
([NSMenuWindowTitleView -drawRect:]): idem
([NSMenuWindowTitleView -mouseDown:]): idem
([NSMenuWindowTitleView -createButton]): idem
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16222 72102866-910b-0410-8b05-ffd578937521
2003-03-22 16:30:04 +00:00
Wim (Willem Rein) Oudshoorn
a0deea8aff
([NSMenu -display]): Added optimization of Michael Hanni
...
to only resize menu view when actually displayed.
([NSMenu -setTitle:]): Idem
([NSMenu -sizeToFit:]): Fixed problem with jumping menus when items
are added.
([NSMenu -display:]): added optimization of Michael Hanni to resize
only once. Also fixed race condition bug in getting menu location.
([NSMenu -displayTransient]): Added optimization of M. Hanni, removed
resetting position to (0, 0).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16221 72102866-910b-0410-8b05-ffd578937521
2003-03-22 16:29:40 +00:00
David Ayers
a2683d66ba
* Source/NSCell.m ([NSCell encodeWithCoder:]): Reinsert encoding
...
of isContinuous to insure backward compatiblity of archives.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16215 72102866-910b-0410-8b05-ffd578937521
2003-03-20 13:59:29 +00:00
Sergii Stoian
8ba951b342
NSMenuView popup button related fixes and additions
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16214 72102866-910b-0410-8b05-ffd578937521
2003-03-20 12:16:25 +00:00
Fred Kiefer
4a0065ab77
In [sendEvent:] use [popUpContextMenu:withEvent:forView:].
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16211 72102866-910b-0410-8b05-ffd578937521
2003-03-19 16:16:12 +00:00
Fred Kiefer
a28e9901bb
In [rightMouseDown:] use [popUpContextMenu:withEvent:forView:].
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16210 72102866-910b-0410-8b05-ffd578937521
2003-03-19 16:15:44 +00:00
Fred Kiefer
4e159c6bda
Implemented [popUpContextMenu:withEvent:forView:] using
...
[_rightMouseDisplay:].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16209 72102866-910b-0410-8b05-ffd578937521
2003-03-19 16:15:21 +00:00
Fred Kiefer
d04d38f65d
Added new MacOSX methods [title], [setTitle:], [controlSize],
...
[setControlSize:], [controlTint], [setControlTint:] and
[highlightColorWithFrame:inView:]. Rewrote [isContinuous],
[setContinuous:] and [trackMouse:...untilMouseUp:] to work via the
_action_mask.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16202 72102866-910b-0410-8b05-ffd578937521
2003-03-18 23:49:42 +00:00
Fred Kiefer
6f303709e5
In [imageUnfilteredFileTypes] add the tiff entries always to the
...
front of the list. As the standard GNUstep images are in this
format, this will speed up image loading.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16200 72102866-910b-0410-8b05-ffd578937521
2003-03-18 23:47:23 +00:00
Sergii Stoian
ec5f9bafe8
fixes to sizeToFit, NSMenuTitleView's drawRect, added titleSize
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16198 72102866-910b-0410-8b05-ffd578937521
2003-03-18 16:24:31 +00:00
Sergii Stoian
15a1fb917c
cleanup of previous commit
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16188 72102866-910b-0410-8b05-ffd578937521
2003-03-17 14:58:36 +00:00
Sergii Stoian
feda9ed5e0
removed GSCloseButton. createButton now uses setRefusesFirstResponder
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16185 72102866-910b-0410-8b05-ffd578937521
2003-03-17 13:07:43 +00:00
Sergii Stoian
86d76d089e
[sizeToFit] cleanup and new class GSCloseButton
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16183 72102866-910b-0410-8b05-ffd578937521
2003-03-17 11:18:38 +00:00
Fred Kiefer
2b76900051
Removed the method [acceptsFirstResponder] as NSControls version
...
is now used.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16179 72102866-910b-0410-8b05-ffd578937521
2003-03-17 02:13:06 +00:00
Fred Kiefer
3a7a7931c4
Added method [acceptsFirstResponder], which asks the cell if it
...
accepts first responder. Added [becomeFirstResponder] and
[resignFirstResponder] that redraw if the cell may change apprearance.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16178 72102866-910b-0410-8b05-ffd578937521
2003-03-17 02:11:42 +00:00
Richard Frith-Macdonald
47e2deedfd
Tidied
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16154 72102866-910b-0410-8b05-ffd578937521
2003-03-08 11:57:44 +00:00
Richard Frith-Macdonald
d192b06fc5
Fix slip of the keyboard
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16153 72102866-910b-0410-8b05-ffd578937521
2003-03-08 11:47:31 +00:00
Richard Frith-Macdonald
aff8b096b9
Menu handling fix
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16152 72102866-910b-0410-8b05-ffd578937521
2003-03-08 07:09:33 +00:00
Richard Frith-Macdonald
f1de0e1216
Fix for miniwindows not being drawn properly
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16147 72102866-910b-0410-8b05-ffd578937521
2003-03-07 09:04:54 +00:00
Richard Frith-Macdonald
578ddfd0e9
A few tidyups
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16145 72102866-910b-0410-8b05-ffd578937521
2003-03-07 06:03:15 +00:00
Richard Frith-Macdonald
4e79c73770
Minor fix
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16144 72102866-910b-0410-8b05-ffd578937521
2003-03-07 05:50:53 +00:00
Richard Frith-Macdonald
00b16254bb
Menu patch by Wim
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16143 72102866-910b-0410-8b05-ffd578937521
2003-03-07 05:33:17 +00:00
Alexander Malmberg
836df5adbe
(-drawGlyphsForGlyphRange:atPoint:): Use the focused view as the control view instead of the text container's text view.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16132 72102866-910b-0410-8b05-ffd578937521
2003-03-05 16:10:37 +00:00
Alexander Malmberg
368c851e38
(-sizeToFit): Add the extra line frag rect. (-scrollRangeToVisible:): Reimplement using the new insertion point positioning methods.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16120 72102866-910b-0410-8b05-ffd578937521
2003-03-03 18:36:07 +00:00
Alexander Malmberg
e4329b4ff9
(-sizeToFit): Add the extra line frag rect. (-scrollRangeToVisible:): Reimplement using the new insertion point positioning methods.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16119 72102866-910b-0410-8b05-ffd578937521
2003-03-03 18:33:46 +00:00
Alexander Malmberg
df47a8fe60
(-usedRectForTextContainer:): Don't add the extra line frag rect.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16118 72102866-910b-0410-8b05-ffd578937521
2003-03-03 18:32:55 +00:00
Alexander Malmberg
017c2515c7
Change type of a variable holding a character index to int (was char, would overflow and break things.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16117 72102866-910b-0410-8b05-ffd578937521
2003-03-03 15:20:02 +00:00
Alexander Malmberg
f042ef5fcf
Removed old, broken-by-design interface for soft invalidation.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16116 72102866-910b-0410-8b05-ffd578937521
2003-03-03 13:58:17 +00:00
Alexander Malmberg
7c79dae556
Add and implement -typesetter and -setTypesetter:.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16115 72102866-910b-0410-8b05-ffd578937521
2003-03-03 13:57:53 +00:00
Alexander Malmberg
0af22dc954
(-setAttributes:range:): Handle zero-length attribute changes correctly.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16114 72102866-910b-0410-8b05-ffd578937521
2003-03-03 13:57:34 +00:00
Ludovic Marcotte
6f7cd1c96b
Fixed a memory leak. See the ChangeLog for the details.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16107 72102866-910b-0410-8b05-ffd578937521
2003-03-02 18:50:07 +00:00
Fred Kiefer
7c6c6de482
In [drawRect:]use the frame of the view, not the given rect.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16094 72102866-910b-0410-8b05-ffd578937521
2003-03-01 00:44:45 +00:00
Fred Kiefer
3e2ff7560b
Added support to print a file in [finishLaunching]. Use safer way
...
to call selector in [beginSheet:...contextInfo:].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16093 72102866-910b-0410-8b05-ffd578937521
2003-03-01 00:44:27 +00:00
Fred Kiefer
df30e235c5
Use method calls instead of some of the direct references to
...
NSLayoutManager ivar. General clean up.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16092 72102866-910b-0410-8b05-ffd578937521
2003-03-01 00:43:54 +00:00
Alexander Malmberg
005bacbebb
(-glyphRangeForBoundingRect:inTextContainer:): Fix the horizontal intersection checks.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16075 72102866-910b-0410-8b05-ffd578937521
2003-02-26 16:11:55 +00:00
Alexander Malmberg
b48bf809c7
(-_generateRunsToCharacter:): Optimize the run structure by merging with an existing run instead of creating a new run under some circumstances.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16074 72102866-910b-0410-8b05-ffd578937521
2003-02-25 23:55:03 +00:00
Alexander Malmberg
7069b67123
Fix handling of trailing text containers when soft-invalidating.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16073 72102866-910b-0410-8b05-ffd578937521
2003-02-25 16:40:20 +00:00
Alexander Malmberg
466d7f8af7
Set the next character index correctly after the run-merge optimization.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16064 72102866-910b-0410-8b05-ffd578937521
2003-02-24 14:26:22 +00:00
Alexander Malmberg
5e1795f0b9
(-drawBackgroundForGlyphRange:atPoint:): Check that a range has a background color before checking that there are rectangles for it.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16061 72102866-910b-0410-8b05-ffd578937521
2003-02-24 02:54:32 +00:00
Alexander Malmberg
4c0d68496c
Fix handling of the case where the exact glyph is found during the binary search.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16060 72102866-910b-0410-8b05-ffd578937521
2003-02-24 02:53:20 +00:00
Alexander Malmberg
6397b61a2a
Implement -isEqual: and -hash.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16059 72102866-910b-0410-8b05-ffd578937521
2003-02-23 23:05:43 +00:00
Alexander Malmberg
5078562c49
(-update): Don't redisplay the window.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16056 72102866-910b-0410-8b05-ffd578937521
2003-02-23 12:32:27 +00:00
Adam Fedor
054a27b9ba
Move disable/enable flush code
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16053 72102866-910b-0410-8b05-ffd578937521
2003-02-23 04:38:49 +00:00
Alexander Malmberg
735e3bed5e
Don't track the started status for a text container separately. Use num_linefrags instead.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16048 72102866-910b-0410-8b05-ffd578937521
2003-02-23 01:01:13 +00:00
Alexander Malmberg
5be49b8ab4
Implement -menuForEvent: to always return nil to indicate that we don't have a context menu.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16047 72102866-910b-0410-8b05-ffd578937521
2003-02-22 11:33:41 +00:00
Alexander Malmberg
d78308a8e3
(-sendEvent:): Only bring up the main menu if there is no window for the event.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16046 72102866-910b-0410-8b05-ffd578937521
2003-02-22 11:33:16 +00:00
Alexander Malmberg
8712b50242
Make sure the extra line frag rect is always set when we reach the end.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16043 72102866-910b-0410-8b05-ffd578937521
2003-02-22 01:43:11 +00:00
Adam Fedor
cc9e0d4346
Menu display improvments
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16040 72102866-910b-0410-8b05-ffd578937521
2003-02-21 23:50:21 +00:00
Adam Fedor
1b0e112697
* Source/NSPrintOperation.m (-_print): Remove locale change (now
...
handled correctly in backend stream context.
* Source/NSScrollView.m (-initWithFrame:): Change default border
to none.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16020 72102866-910b-0410-8b05-ffd578937521
2003-02-20 03:12:29 +00:00
Alexander Malmberg
3abfc263a0
Fix clearing of soft-invalidated layout information if the invalidated range is beyond the last finished layout.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16011 72102866-910b-0410-8b05-ffd578937521
2003-02-19 14:12:55 +00:00
Alexander Malmberg
85c5580808
Optimizations.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16010 72102866-910b-0410-8b05-ffd578937521
2003-02-19 14:12:16 +00:00
Alexander Malmberg
6f8966e716
Optimize.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16007 72102866-910b-0410-8b05-ffd578937521
2003-02-19 02:18:41 +00:00
Alexander Malmberg
5faf6f6f1e
Optimize reuse of soft-invalidated layout a bit in a common case.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16006 72102866-910b-0410-8b05-ffd578937521
2003-02-18 23:34:51 +00:00
Alexander Malmberg
30e76ace40
Correct the condition for splitting the initial run.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16005 72102866-910b-0410-8b05-ffd578937521
2003-02-18 23:16:29 +00:00
Alexander Malmberg
f4a797f333
Use the soft-invalidated layout information to avoid rebuilding layout (when possible).
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16004 72102866-910b-0410-8b05-ffd578937521
2003-02-18 20:27:13 +00:00
Alexander Malmberg
5f2fd0477a
Add basic interface that lets the typesetter access soft-invalidated layout information.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16003 72102866-910b-0410-8b05-ffd578937521
2003-02-18 20:26:49 +00:00
Alexander Malmberg
6b01d08cb1
Fix edge case in soft invalidation.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16002 72102866-910b-0410-8b05-ffd578937521
2003-02-18 20:26:13 +00:00
Alexander Malmberg
db4c4957a3
Minor fix of previous commit: make sure layout is marked as incomplete even if no actual layout was invalidated.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15998 72102866-910b-0410-8b05-ffd578937521
2003-02-18 17:24:24 +00:00
Alexander Malmberg
0383d08f23
Implement handling of soft-invalidated line frags. Soft-invalidate layout information for glyphs after an edited range in NSLayoutManager.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15997 72102866-910b-0410-8b05-ffd578937521
2003-02-18 17:15:25 +00:00
Alexander Malmberg
32f6790d62
(-setAttributes:range:): Call -edited:range:changeInLength: with the range that was changed (and not the range attributes could be merged for).
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15994 72102866-910b-0410-8b05-ffd578937521
2003-02-18 00:35:28 +00:00
Alexander Malmberg
dffecc3043
(-textStorage:edited:range:changeInLength:invalidatedRange:): Don't invalidate all layout on each change. Now, all layout information for glyphs before the change will be reused. (Layout for glyphs after the change is still invalidated, until I finish the soft invalidation.)
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15993 72102866-910b-0410-8b05-ffd578937521
2003-02-18 00:35:23 +00:00
Alexander Malmberg
e262df5bbd
(-layoutGlyphsInLayoutManager:inTextContainer:startingAtGlyphIndex:previousLineFragmentRect:nextGlyphIndex:numberOfLineFragments:): Determine the initial value for newParagraph correctly.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15992 72102866-910b-0410-8b05-ffd578937521
2003-02-18 00:35:18 +00:00
Alexander Malmberg
7435220c32
Many minor cleanups and optimizations. Much commenting.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15991 72102866-910b-0410-8b05-ffd578937521
2003-02-18 00:35:13 +00:00
Alexander Malmberg
bdc3373174
Clean up layout invalidation. Set the prev pointer correctly when splitting a run during glyph invalidation.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15990 72102866-910b-0410-8b05-ffd578937521
2003-02-17 20:30:26 +00:00
Alexander Malmberg
1ba6d8c940
Add some framework support for caching the last accessed run.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15980 72102866-910b-0410-8b05-ffd578937521
2003-02-17 01:19:34 +00:00
Alexander Malmberg
d6239b2d59
Optimize some important cases by using a binary search for line frags instead of a linear search. Cleanups and comments.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15979 72102866-910b-0410-8b05-ffd578937521
2003-02-17 01:13:27 +00:00
Alexander Malmberg
3f51658781
(-glyphIndexForPoint:inTextContainer:fractionOfDistanceThroughGlyph:): Handle the case where the point is on a line, but not inside a line frag rect, better. Commenting and cleanups.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15978 72102866-910b-0410-8b05-ffd578937521
2003-02-16 21:40:47 +00:00
Alexander Malmberg
7e1801395c
Store the line frags array as an ivar instead of allocating and freeing it everytime -layoutLineNewParagraph: is called.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15977 72102866-910b-0410-8b05-ffd578937521
2003-02-16 16:54:45 +00:00
Alexander Malmberg
27e5baeab3
Bring back the old implementation of -rulerMarkersForTextView:paragraphStyle:ruler:.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15976 72102866-910b-0410-8b05-ffd578937521
2003-02-16 14:54:14 +00:00
Nicola Pero
913e8e34f4
Fixed offset used in delegate calls
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15974 72102866-910b-0410-8b05-ffd578937521
2003-02-16 14:04:10 +00:00
Richard Frith-Macdonald
4221f51f1a
Menu level fix
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15971 72102866-910b-0410-8b05-ffd578937521
2003-02-16 06:04:03 +00:00
Nicola Pero
2f0f4f1d0d
Fixed delegate constraining split position
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15969 72102866-910b-0410-8b05-ffd578937521
2003-02-16 03:19:11 +00:00
Alexander Malmberg
4dc81ab769
Implement extra line fragment handling.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15968 72102866-910b-0410-8b05-ffd578937521
2003-02-16 03:18:35 +00:00
Alexander Malmberg
6027271a4f
Change the way the text view is told about layout invalidation. Change NSTextView to update its state as late as possible before displaying, and make sure it's updated when it's resized.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15967 72102866-910b-0410-8b05-ffd578937521
2003-02-15 17:30:52 +00:00
Alexander Malmberg
0b0e77ad82
([NSMutableParagraphStyle -copyWithZone:]): Call GSDebugAllocation* when swizzling the class.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15966 72102866-910b-0410-8b05-ffd578937521
2003-02-15 17:15:50 +00:00
Alexander Malmberg
d59dd69fca
(-_launchSpellCheckerForLanguage:): Don't printf-expand the error message twice.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15965 72102866-910b-0410-8b05-ffd578937521
2003-02-15 17:07:44 +00:00
Alexander Malmberg
c56d68453d
When moving vertically, return the index of the character nearest the target horizontally.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15958 72102866-910b-0410-8b05-ffd578937521
2003-02-14 17:00:04 +00:00
Alexander Malmberg
6d1c78032a
Fix an edge case in tab handling. Also, if tabs occure and the paragraph style has no more tab stops, act as if there were tabs every 100 points.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15957 72102866-910b-0410-8b05-ffd578937521
2003-02-14 16:59:38 +00:00
Alexander Malmberg
85ff161e72
Keep track of the original index of a sequence of moves in one dimension. Pass it to the layout manager when moving the insertion point to prevent drifting.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15956 72102866-910b-0410-8b05-ffd578937521
2003-02-14 16:58:59 +00:00
Alexander Malmberg
77950b1e66
Implement basic handling of tabs.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15950 72102866-910b-0410-8b05-ffd578937521
2003-02-12 23:53:29 +00:00
Fred Kiefer
a273e6156a
Moved over from X11 backend.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15945 72102866-910b-0410-8b05-ffd578937521
2003-02-12 00:09:49 +00:00
Fred Kiefer
d22c80f5eb
Added new file GSSlideView.m.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15943 72102866-910b-0410-8b05-ffd578937521
2003-02-12 00:05:27 +00:00
Fred Kiefer
534869106f
Use GSSlideView to implement image sliding.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15942 72102866-910b-0410-8b05-ffd578937521
2003-02-12 00:05:09 +00:00
Alexander Malmberg
09c02037d7
(-_createColumn:): Set the border of the created scroll view explicitly.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15940 72102866-910b-0410-8b05-ffd578937521
2003-02-11 16:57:12 +00:00
Alexander Malmberg
abd4f0ca27
(-setBorderType:): Call -tile to make the change visible.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15939 72102866-910b-0410-8b05-ffd578937521
2003-02-11 16:56:54 +00:00
Alexander Malmberg
05d3343c45
(-setSelectedRange:affinity:stillSelecting:): Clamp the selected range to the text storage's length.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15937 72102866-910b-0410-8b05-ffd578937521
2003-02-11 15:40:21 +00:00
Alexander Malmberg
413dec23ee
(-processEditing): Make sure we always give a valid range and delta to the layout managers.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15936 72102866-910b-0410-8b05-ffd578937521
2003-02-11 15:39:49 +00:00
Alexander Malmberg
ea14bf8170
(-fixAttachmentAttributesInRange:): Update end index when a character is deleted.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15935 72102866-910b-0410-8b05-ffd578937521
2003-02-11 15:39:20 +00:00
Richard Frith-Macdonald
e8ca345d45
Browser setPath: fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15929 72102866-910b-0410-8b05-ffd578937521
2003-02-11 06:43:05 +00:00
Alexander Malmberg
993c4431f4
Remove debugging code left in by mistake.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15926 72102866-910b-0410-8b05-ffd578937521
2003-02-10 15:06:57 +00:00
Alexander Malmberg
3b7c4e2a12
Minor changes and cleanups.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15925 72102866-910b-0410-8b05-ffd578937521
2003-02-10 14:29:31 +00:00
Alexander Malmberg
87a4e8d28d
Many minor bug and behavior fixes to get the text system to work with several text containers attached to one layout manager.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15924 72102866-910b-0410-8b05-ffd578937521
2003-02-10 14:14:34 +00:00
Alexander Malmberg
f9fea1156d
Cleanups of old debugging code, whitespace, and error handling. Fix handling of non-nominally spaced glyphs in some cases.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15918 72102866-910b-0410-8b05-ffd578937521
2003-02-09 20:13:16 +00:00
Alexander Malmberg
39b3c70b7d
(-breakLineByWordWrappingBefore:): Return correct index when breaking at a control glyph.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15917 72102866-910b-0410-8b05-ffd578937521
2003-02-09 17:37:04 +00:00
Alexander Malmberg
5d2f6b4f2f
Add -_didInvalidateLayout method that is called whenever any layout information has been invalidated. Use it in NSLayoutManager to resize text views.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15915 72102866-910b-0410-8b05-ffd578937521
2003-02-09 17:05:18 +00:00
Alexander Malmberg
7d1592daa3
Fix some broken movement actions.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15914 72102866-910b-0410-8b05-ffd578937521
2003-02-09 14:26:10 +00:00
Alexander Malmberg
8c9dff945f
Make the main typesetting method reentrant.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15913 72102866-910b-0410-8b05-ffd578937521
2003-02-09 13:53:35 +00:00
Fred Kiefer
5b3f1e1bbf
[_loadAvailableColorLists] check if a directory exists before
...
looking for a colour list in it.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15911 72102866-910b-0410-8b05-ffd578937521
2003-02-09 00:36:53 +00:00
Alexander Malmberg
7925725bb9
Correct some attribute changes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15908 72102866-910b-0410-8b05-ffd578937521
2003-02-08 21:58:36 +00:00
Alexander Malmberg
e06aff244d
Improve calculation of line height and baseline.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15907 72102866-910b-0410-8b05-ffd578937521
2003-02-08 21:56:33 +00:00
Alexander Malmberg
4648c930ce
Implement handling of pop-up menus attached to NSView:s.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15906 72102866-910b-0410-8b05-ffd578937521
2003-02-08 21:39:31 +00:00
Alexander Malmberg
39744f3b2f
Rewrite insertion point movement actions properly.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15904 72102866-910b-0410-8b05-ffd578937521
2003-02-08 16:55:51 +00:00
Alexander Malmberg
5ca050e9ca
Fix memory leak.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15901 72102866-910b-0410-8b05-ffd578937521
2003-02-07 16:50:05 +00:00
Richard Frith-Macdonald
e87e07ecbb
Portability fix
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15892 72102866-910b-0410-8b05-ffd578937521
2003-02-05 15:44:07 +00:00
Richard Frith-Macdonald
ceff15a22e
Regenerate dll defs
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15888 72102866-910b-0410-8b05-ffd578937521
2003-02-05 14:58:24 +00:00
Nicola Pero
5b0ab5a678
Do not display the key equivalent if owned by a popup, and drawing the
...
popup small image on the right
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15883 72102866-910b-0410-8b05-ffd578937521
2003-02-05 04:06:16 +00:00
Nicola Pero
5949e720dc
Fixed caling delegate method
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15881 72102866-910b-0410-8b05-ffd578937521
2003-02-05 03:47:35 +00:00
Nicola Pero
1ea5e16281
Tidied up indentation of a few lines; added small comment
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15880 72102866-910b-0410-8b05-ffd578937521
2003-02-05 03:44:39 +00:00
Alexander Malmberg
20ab4fa2df
Add -insertionPointRectForCharacterIndex:inTextContainer: method to NSLayoutManager and use it in NSTextView.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15863 72102866-910b-0410-8b05-ffd578937521
2003-02-03 01:52:27 +00:00
Fred Kiefer
d28626b423
Only accept first mouse when editable.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15857 72102866-910b-0410-8b05-ffd578937521
2003-02-02 16:56:38 +00:00
Alexander Malmberg
94ecd621eb
Clarify comments about user attribute changing now that I've figured out a way for it to work. Rewrite the actions to match.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15852 72102866-910b-0410-8b05-ffd578937521
2003-02-02 01:37:27 +00:00
Fred Kiefer
c768cb1bb9
Rewrote all the toolbar methods. Implemented [zoom:]. Extracted
...
new method [_terminateBackendWindow] from [dealloc] and use it to
implement one shot windows in the orderOut case of
[orderWindow:relativeTo:]. Removed frame restriction from
[setFrameFromString:] as this gets done in
[setFrame:display:]. Use [NSScreen visibleFrame] here and in
[stringWithSavedFrame]. Implemented [cascadeTopLeftFromPoint:].
Removed unused and empty methods [performHide:] and [performUnhide:].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15848 72102866-910b-0410-8b05-ffd578937521
2003-02-02 00:58:32 +00:00
Alexander Malmberg
6f524e43b8
(-shouldChangeTextInRange:replacementString:, -didChangeText): Allow changes even if we're not the first responder, but end the editing session right away.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15844 72102866-910b-0410-8b05-ffd578937521
2003-02-01 14:14:53 +00:00
Alexander Malmberg
2169264f00
(-layoutLineNewParagraph:): Fix sign problem with descender.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15843 72102866-910b-0410-8b05-ffd578937521
2003-02-01 12:54:09 +00:00