Commit graph

439 commits

Author SHA1 Message Date
richard
8f70d55290 New class implementations.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3884 72102866-910b-0410-8b05-ffd578937521
1999-03-09 20:34:33 +00:00
fedor
eb9fa3ba85 Merge from dawn branch
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3875 72102866-910b-0410-8b05-ffd578937521
1999-03-09 05:30:15 +00:00
richard
3085e90faa Misc Bugfixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3866 72102866-910b-0410-8b05-ffd578937521
1999-03-08 09:32:09 +00:00
richard
f07570306d Added comments
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3863 72102866-910b-0410-8b05-ffd578937521
1999-03-07 21:10:22 +00:00
richard
c9e987a089 Bugfix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3861 72102866-910b-0410-8b05-ffd578937521
1999-03-07 06:38:01 +00:00
richard
cdf924b7d7 raw text with attributes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3860 72102866-910b-0410-8b05-ffd578937521
1999-03-05 16:40:39 +00:00
richard
db56ad4a9d Moved focus handling to graphics context
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3859 72102866-910b-0410-8b05-ffd578937521
1999-03-05 15:47:22 +00:00
richard
7efd28bd8b Fix for nil document view.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3853 72102866-910b-0410-8b05-ffd578937521
1999-03-04 13:21:46 +00:00
richard
b6324b97d7 Tidyup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3851 72102866-910b-0410-8b05-ffd578937521
1999-03-03 17:07:42 +00:00
richard
a77f9ca36a A few bugfixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3847 72102866-910b-0410-8b05-ffd578937521
1999-03-03 09:31:27 +00:00
richard
ee0eb44c06 Minor tidyup.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3836 72102866-910b-0410-8b05-ffd578937521
1999-03-02 20:01:17 +00:00
richard
3fa6c2695a Bugfix in redisplay
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3833 72102866-910b-0410-8b05-ffd578937521
1999-03-02 14:02:50 +00:00
richard
07321d77c3 Mouse tracking fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3832 72102866-910b-0410-8b05-ffd578937521
1999-03-02 12:14:38 +00:00
richard
55b55d3fee Merged in 'dawn' CVS branch
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3827 72102866-910b-0410-8b05-ffd578937521
1999-03-02 08:58:30 +00:00
richard
ac6ec019f7 Replaced PSMatrix with NSAffineTransform
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3823 72102866-910b-0410-8b05-ffd578937521
1999-03-01 20:56:31 +00:00
richard
502d8e288f Removed PSMatrix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3822 72102866-910b-0410-8b05-ffd578937521
1999-03-01 20:54:43 +00:00
richard
44dc1e7090 Added NSAffineTransform
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3821 72102866-910b-0410-8b05-ffd578937521
1999-03-01 20:53:55 +00:00
richard
cc6f0d4687 Removed GSContext stuff, and removed xgps code that has now been merged into
NSGraphicsContext and related fines in the gui library.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3806 72102866-910b-0410-8b05-ffd578937521
1999-02-25 15:53:59 +00:00
richard
04f15cc18c iUpdated for NSGraphicsContext
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3804 72102866-910b-0410-8b05-ffd578937521
1999-02-25 15:45:22 +00:00
richard
f1683279d8 New class
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3803 72102866-910b-0410-8b05-ffd578937521
1999-02-25 15:41:17 +00:00
far
5705430825 * NSSliderCell.m: knobRectFlipped: fix draw bugs in slider.app example.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3801 72102866-910b-0410-8b05-ffd578937521
1999-02-25 07:14:17 +00:00
richard
369036d886 Much optimised coordinate conversion
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3783 72102866-910b-0410-8b05-ffd578937521
1999-02-22 09:00:53 +00:00
richard
7a8090d8a2 Tidyup conversion code
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3779 72102866-910b-0410-8b05-ffd578937521
1999-02-22 06:03:26 +00:00
richard
1bd7c14b39 Fix coordinate conversion code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3778 72102866-910b-0410-8b05-ffd578937521
1999-02-22 05:41:00 +00:00
michael
3bfefc92d3 Duh.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3771 72102866-910b-0410-8b05-ffd578937521
1999-02-22 01:47:49 +00:00
michael
e1ab25689a Added NSRuler*.h and fixed a few bugs in NSText.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3769 72102866-910b-0410-8b05-ffd578937521
1999-02-22 00:41:22 +00:00
richard
db6480b4df Coordinate conversion code plus bugfix in redisplay stuff.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3768 72102866-910b-0410-8b05-ffd578937521
1999-02-21 21:09:46 +00:00
richard
7808d177f4 Misc bugfixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3758 72102866-910b-0410-8b05-ffd578937521
1999-02-19 20:31:07 +00:00
richard
9d9e513564 Many bugfixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3756 72102866-910b-0410-8b05-ffd578937521
1999-02-19 20:19:58 +00:00
far
a06e5954ac Thu Feb 18 1999 Felipe A. Rodriguez <farz@mindspring.com>
* NSView.m display: fix for display bug in buttons example
	* NSCell.m endEditing: fix for display bug in buttons example
	* NSTextField.m textShouldEndEditing: The changes to these three classes
    fix a display bug visible in the buttons example when the top text field is
    selected for editing and then asked to resign when the user clicks on say
    the bottom text field.  This causes a rect encompassing both views to be
    invalidated and displayed.  Beyond being inefficient this also causes a
    display glitch given the current drawing methodology.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3755 72102866-910b-0410-8b05-ffd578937521
1999-02-18 10:46:39 +00:00
richard
fdac7240c1 Better setup of editing
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3738 72102866-910b-0410-8b05-ffd578937521
1999-02-17 12:50:49 +00:00
richard
2199bd736c Minor bugfixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3737 72102866-910b-0410-8b05-ffd578937521
1999-02-17 12:22:46 +00:00
richard
2d4a996dd2 Fixed typo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3735 72102866-910b-0410-8b05-ffd578937521
1999-02-17 09:40:00 +00:00
richard
cf7a747a7d Corrected delegate setup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3731 72102866-910b-0410-8b05-ffd578937521
1999-02-17 09:13:43 +00:00
richard
a2f42a39e9 Fixup notifications
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3729 72102866-910b-0410-8b05-ffd578937521
1999-02-17 04:52:58 +00:00
richard
ed2496a09e Additions by mgiddings@ypc.net
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3728 72102866-910b-0410-8b05-ffd578937521
1999-02-16 17:39:42 +00:00
richard
a8721d54b2 Uncomment instruction to clip to drawing frame.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3722 72102866-910b-0410-8b05-ffd578937521
1999-02-16 13:21:42 +00:00
richard
14a36a0293 Fix recursive dealloc!
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3719 72102866-910b-0410-8b05-ffd578937521
1999-02-16 11:14:37 +00:00
richard
5bce26dc2e More tidyup.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3718 72102866-910b-0410-8b05-ffd578937521
1999-02-16 11:05:22 +00:00
richard
c33366d4d0 Optimisation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3716 72102866-910b-0410-8b05-ffd578937521
1999-02-16 06:02:15 +00:00
michael
233ecebddd * Source/NSBox.m Source/NSButtonCell.m Source/NSCell.m
Source/NSColorWell.m Source/NSMatrix.m Source/NSPrintInfo.m
Source/NSScroller.m Source/NSSliderCell.m: fixed compilation
warnings by including proper includes.

* Tools/Functions.m: Defined NSRectClip(). Fixes fatal linking
errors in Tools/


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3712 72102866-910b-0410-8b05-ffd578937521
1999-02-15 19:35:02 +00:00
richard
d0d0502814 Handle flipped views
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3709 72102866-910b-0410-8b05-ffd578937521
1999-02-15 12:50:49 +00:00
richard
bd715ecc15 Misc tidying.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3698 72102866-910b-0410-8b05-ffd578937521
1999-02-12 21:43:18 +00:00
richard
eddafd66d5 Minor tidyup for window flushing
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3695 72102866-910b-0410-8b05-ffd578937521
1999-02-12 17:00:59 +00:00
richard
5af19c7b13 Fix for text cells
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3694 72102866-910b-0410-8b05-ffd578937521
1999-02-12 14:18:15 +00:00
richard
2592ded0de Rewrote display methods to conform to spec.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3693 72102866-910b-0410-8b05-ffd578937521
1999-02-12 13:39:44 +00:00
richard
772881652e Coordinate system fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3691 72102866-910b-0410-8b05-ffd578937521
1999-02-11 14:56:30 +00:00
richard
ec31ca99ae iMinor bugfix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3684 72102866-910b-0410-8b05-ffd578937521
1999-02-10 15:09:51 +00:00
richard
2177d74805 Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3683 72102866-910b-0410-8b05-ffd578937521
1999-02-10 13:22:23 +00:00
richard
5cca3eba72 Tidyup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3682 72102866-910b-0410-8b05-ffd578937521
1999-02-10 11:26:41 +00:00
richard
2ed735e51e Code tidyup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3677 72102866-910b-0410-8b05-ffd578937521
1999-02-09 12:59:44 +00:00
richard
b6830905fa Fixed bugs in rectInMatrixSpace: and sizeInMatrixSpace:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3676 72102866-910b-0410-8b05-ffd578937521
1999-02-09 12:34:32 +00:00
richard
f091f85f2d Re-enable override for resizing
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3675 72102866-910b-0410-8b05-ffd578937521
1999-02-09 11:34:33 +00:00
richard
2f023a657a More drawing fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3666 72102866-910b-0410-8b05-ffd578937521
1999-02-05 20:30:50 +00:00
richard
9603f104fc Fix scroller knob jump
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3661 72102866-910b-0410-8b05-ffd578937521
1999-02-05 06:44:40 +00:00
richard
1dfa962045 Drawing fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3657 72102866-910b-0410-8b05-ffd578937521
1999-02-04 19:23:45 +00:00
richard
951c165938 General tidyup - make updates work properly etc.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3647 72102866-910b-0410-8b05-ffd578937521
1999-02-03 21:53:29 +00:00
fedor
e7072cb446 *BSD fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3639 72102866-910b-0410-8b05-ffd578937521
1999-02-02 00:08:58 +00:00
richard
554d39c514 Don't use getpid() - use globallyUniqueString instead
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3635 72102866-910b-0410-8b05-ffd578937521
1999-02-01 14:14:58 +00:00
fedor
ec6158f0bb Move GMArchiver files so gui doesnt depend on extenions
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3614 72102866-910b-0410-8b05-ffd578937521
1999-01-28 18:34:31 +00:00
richard
710675c693 Update to fix coordinate conversion between views.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3585 72102866-910b-0410-8b05-ffd578937521
1999-01-22 20:28:12 +00:00
richard
d4f4617d09 Tidied view hierarchy management methods
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3584 72102866-910b-0410-8b05-ffd578937521
1999-01-21 18:12:45 +00:00
richard
6639eb3c88 Some bugfixes - various
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3583 72102866-910b-0410-8b05-ffd578937521
1999-01-21 17:14:55 +00:00
richard
38cf692043 Bugfix for initWithCoder:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3582 72102866-910b-0410-8b05-ffd578937521
1999-01-21 10:41:23 +00:00
richard
dad20c9355 Rewrite and tidy of code to constrain scroll point. Incorporate some
ideas from xraw.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3577 72102866-910b-0410-8b05-ffd578937521
1999-01-19 10:58:51 +00:00
richard
9ddd4532b3 Several minor bugfixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3576 72102866-910b-0410-8b05-ffd578937521
1999-01-19 10:55:24 +00:00
richard
185e4ef945 Additional method
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3575 72102866-910b-0410-8b05-ffd578937521
1999-01-19 10:42:50 +00:00
richard
a5937406b0 Tidied -tile method and various other bits to do with resizing.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3573 72102866-910b-0410-8b05-ffd578937521
1999-01-19 10:35:43 +00:00
richard
74cf0524f9 Fixed drawing of subviews to tile decently.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3572 72102866-910b-0410-8b05-ffd578937521
1999-01-18 18:24:37 +00:00
richard
92eef2512b Fixed bug reading colors
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3571 72102866-910b-0410-8b05-ffd578937521
1999-01-18 05:35:14 +00:00
richard
a1947434d8 Better unpacking of nib.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3569 72102866-910b-0410-8b05-ffd578937521
1999-01-17 08:14:03 +00:00
richard
e18717400a Another fix attempt for header
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3568 72102866-910b-0410-8b05-ffd578937521
1999-01-17 08:13:03 +00:00
richard
8a47c9e673 Add code to set ivars directly.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3567 72102866-910b-0410-8b05-ffd578937521
1999-01-15 11:44:53 +00:00
richard
f3c717363d Fix include suggested by dirk@object-factory.com
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3563 72102866-910b-0410-8b05-ffd578937521
1999-01-15 10:27:33 +00:00
richard
d803205644 Implemented nib support - No, not NeXTstep/OPENSTEP/MacOS-X compatible file
format, but a compatible API, and a fast, simple implementation.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3562 72102866-910b-0410-8b05-ffd578937521
1999-01-15 10:14:28 +00:00
richard
0a4e2abfb8 Bugfix for tracking rects.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3559 72102866-910b-0410-8b05-ffd578937521
1999-01-12 12:29:05 +00:00
richard
ea065125ea Bugfix by Benhur-de-Oliveira.Stein@imag.fr
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3556 72102866-910b-0410-8b05-ffd578937521
1999-01-11 17:33:35 +00:00
richard
b4c33e2403 Fixed [NSWindow -setContentView:] method to make view fill window.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3554 72102866-910b-0410-8b05-ffd578937521
1999-01-09 21:43:09 +00:00
richard
c8b326d53f More graceful startup.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3553 72102866-910b-0410-8b05-ffd578937521
1999-01-09 06:49:48 +00:00
richard
5b72f5648a Nicer windows menu images
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3550 72102866-910b-0410-8b05-ffd578937521
1999-01-08 14:55:25 +00:00
richard
7ca95598fa Preliminary code for opeing files.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3538 72102866-910b-0410-8b05-ffd578937521
1999-01-07 15:52:42 +00:00
richard
11c0a41bcc Forward incoming requests to the application delegate if possible
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3537 72102866-910b-0410-8b05-ffd578937521
1999-01-07 14:28:58 +00:00
richard
319fd1a05d Bugfix suggested by stark@easynet.fr
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3534 72102866-910b-0410-8b05-ffd578937521
1999-01-06 22:16:22 +00:00
richard
45d8ea0680 Get windows item update working.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3533 72102866-910b-0410-8b05-ffd578937521
1999-01-06 18:01:05 +00:00
richard
8fe11620e6 Fixed typo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3528 72102866-910b-0410-8b05-ffd578937521
1999-01-05 21:27:31 +00:00
richard
e1b3e7a1f5 Tidied initialisation code
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3527 72102866-910b-0410-8b05-ffd578937521
1999-01-05 21:24:06 +00:00
richard
8ffe5e9f10 Bugfixes suggested by stark@easynet.fr
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3525 72102866-910b-0410-8b05-ffd578937521
1999-01-05 18:42:33 +00:00
richard
25a37ec353 Many updates to fix problems with menus etc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3500 72102866-910b-0410-8b05-ffd578937521
1998-12-22 12:34:03 +00:00
richard
7418e3b778 Tidying window list management
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3495 72102866-910b-0410-8b05-ffd578937521
1998-12-20 06:19:06 +00:00
richard
1f26059c40 More windows menu improvements.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3487 72102866-910b-0410-8b05-ffd578937521
1998-12-17 22:42:16 +00:00
richard
582f5f44ad Reinstate changes to NSWindow.m to keep it working.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3480 72102866-910b-0410-8b05-ffd578937521
1998-12-17 13:06:17 +00:00
richard
ed8cb51bc9 Fixed ASSIGN macro from NSObject.h
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3479 72102866-910b-0410-8b05-ffd578937521
1998-12-17 11:11:22 +00:00
far
c869e4f009 * NSWindow.m acceptsFirstResponder implement.
* NSView.m: removeFromSuperview remove view from responder chain.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3476 72102866-910b-0410-8b05-ffd578937521
1998-12-16 22:33:40 +00:00
richard
1299ad6aa2 More tidying.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3471 72102866-910b-0410-8b05-ffd578937521
1998-12-16 17:36:48 +00:00
richard
590157c9c4 Many many improvements
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3469 72102866-910b-0410-8b05-ffd578937521
1998-12-16 15:21:55 +00:00
fedor
f786a3b18b Remove duplicate function
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3468 72102866-910b-0410-8b05-ffd578937521
1998-12-16 14:08:57 +00:00
far
7d4726f674 tweak acceptsFirstResponder
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3467 72102866-910b-0410-8b05-ffd578937521
1998-12-16 12:57:41 +00:00
far
cb3439381e * NSCell.m acceptsFirstResponder implement, editWithFrame: adjust further,
selectWithFrame: preliminary implementation.
	* NSButton.m: acceptsFirstResponder implement.
	* NSText.m: shouldDrawInsertionPoint test for field editor status.
	* NSTextField.m: mouseDown: use field editor instead of previous non OS
	text field cell editor code, textShouldEndEditing: implement.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3466 72102866-910b-0410-8b05-ffd578937521
1998-12-16 11:48:33 +00:00
richard
bf5137b858 Various updates to get keyboard equivalents for buttons working (especially
for panels).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3461 72102866-910b-0410-8b05-ffd578937521
1998-12-15 16:20:22 +00:00
richard
40a2eefab8 Added alert panels and fixed for submenus of services menu.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3458 72102866-910b-0410-8b05-ffd578937521
1998-12-14 15:59:51 +00:00
far
9a51e11c67 minor tweak to NSView
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3455 72102866-910b-0410-8b05-ffd578937521
1998-12-14 10:28:51 +00:00
far
22040ec62b * NSWindow.m renmae captureMouse: to _captureMouse: (designate as non OS),
various methods add fieldEditor support.
	* GSContext.m/GSContext.h revert to previous code as solution discussed
	with Adam Fedor regarding backends had problems I had not forseen.
	* NSBrowserCell.h/.m specify text subcell as an NSCell, eliminate image
	cell, copyWithZone: optimize and eliminate use of ASSIGN (fixes serious
	dealloc bug), highlight: eliminate method (fixes dup display bug).
	* NSButtonCell.m copyWithZone: optimize and eliminate use of ASSIGN
	* NSStringDrawing.h/.m remove unimplemented draw methods from Category
	(these are backend specific, can't be defined twice and are already
	implemented in xraw).
	* NSApplication.h redefine initialize_gnustep_backend () per Adam's
	redefinition in the backend.
	* Functions.m/.h remove initialize_gnustep_backend()
 	* NSCell.m preliminary implementation of fieldEditor mechanism,
	copyWithZone: optimize and eliminate use of ASSIGN
	* NSControl.m rename cell class global to _NSCONTROL_CELL_CLASS
	* NSMatrix.m implement NSControl's updateCell: to prevent unecessary
	matrix drawing if possible.
	* NSView.m -resizeWithOldSuperviewSize reverted code to my own once more
	(fewer lines and no if/else logic), changed code to use view frame instead
	of bounds per 3.3/4.2 docs, optimize to avoid floating point math and scale
	adjustment unless view has been scaled.
	* NSScrollView.m define as externs various PS* functions for use in
	drawing, polish drawing, move all backend code to front.
	* Tools/dummy.m define dummy PS* functions employed in gui.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3454 72102866-910b-0410-8b05-ffd578937521
1998-12-14 09:54:38 +00:00
richard
3bdb18f536 Completed alert panel functions
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3453 72102866-910b-0410-8b05-ffd578937521
1998-12-14 08:58:53 +00:00
richard
01ac1e8035 Minor tidying
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3435 72102866-910b-0410-8b05-ffd578937521
1998-12-12 10:03:44 +00:00
richard
5f2f86031b Fixed error in the, deliberately wrong :-) code for rounding view sizes down
to an integer number of points.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3433 72102866-910b-0410-8b05-ffd578937521
1998-12-12 09:53:54 +00:00
richard
67ac649c75 resizeWithOldSuperviewSize: revert to previous code (in order to fix bug
introduced when MaxX or Y is specified but not Min.  Added reliable
code to avoid fractional values.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3431 72102866-910b-0410-8b05-ffd578937521
1998-12-12 06:40:23 +00:00
fedor
977f5519f1 Remove method table init.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3430 72102866-910b-0410-8b05-ffd578937521
1998-12-11 13:39:07 +00:00
far
8d118c78a6 * GNUAlertPanel rename to GSAlertPanel (to maintain a common naming style
along the NS* lines within the AppKit public API).  Move code to NSPanel
	as it is conceptually a private panel class for the sake of the public
	NS* panel functions.
	* GNUServicesManager.m/.h rename to GSServicesManager (to maintain a
	common naming style along the NS* lines within the AppKit public API).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3429 72102866-910b-0410-8b05-ffd578937521
1998-12-10 21:14:52 +00:00
fedor
c1e464992b Change backend initialization
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3428 72102866-910b-0410-8b05-ffd578937521
1998-12-10 19:53:41 +00:00
far
f07575bb5f Added Files:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3427 72102866-910b-0410-8b05-ffd578937521
1998-12-10 18:09:59 +00:00
far
d1b08f9835 * NSWindow.h change window style enum to match WindowMaker's definition.
* GNUAlertPanel.m NSGetAlertPanel() replace centering code with call to
	center method, change window style mask, add class initialize.
	* libgnustep-gui.m rename to Functions.m.
	* Functions.m add new file as location for generic NS* and GS* functions,
	move backend NSEventMaskFromType() into it.
	* NSApplication.m discardEventsMatchingMask:.. rewrite (fix bugs),
	runModalSession: dump all events not for modal window (fixes modal panel
	button display bug), arrangeInFront: preliminary implemenation.
	* NSCell.m: Polish.
	* NSWindow.m: center remove display invocation per 4.2 docs.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3426 72102866-910b-0410-8b05-ffd578937521
1998-12-10 18:07:24 +00:00
far
520320cf92 * NSView.m resizeWithOldSuperviewSize: revert to previous code and add bug
fixes from new.  Fixes bugs in new code when MaxX or Y is specified but not
	Min.  Avoids fractional values and fewer lines of code.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3425 72102866-910b-0410-8b05-ffd578937521
1998-12-09 17:49:55 +00:00
richard
3f83e799bc Auto-resize fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3424 72102866-910b-0410-8b05-ffd578937521
1998-12-09 06:42:19 +00:00
far
436496e3d3 * NSApplication.m: polish, eliminate a couple of compiler warnings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3423 72102866-910b-0410-8b05-ffd578937521
1998-12-09 05:32:07 +00:00
far
04cfb58055 * NSScroller.m move backend code into frontend, polish code, remove ifdefs.
* TrackingRectangle.m/.h rename class to GS* prefix (GSTrackingRect).
	* NSView.m resizeWithOldSuperviewSize: floor possibly fractional results.
	displayIfNeededIgnoringOpacity: rewrite to fix obscure bugs in auto
	display.  Minor tweaks in other display methods for same reasons.
	* NSView.h rename invalidatedRectangle to invalidRect.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3421 72102866-910b-0410-8b05-ffd578937521
1998-12-09 01:26:37 +00:00
richard
e676e5ca96 iGet alert panels working
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3419 72102866-910b-0410-8b05-ffd578937521
1998-12-08 20:34:00 +00:00
richard
f841c8603a Fixed path setup error
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3393 72102866-910b-0410-8b05-ffd578937521
1998-12-06 19:51:44 +00:00
far
4f3d06e45e * NSView.m resizeWithOldSuperviewSize: fully implement.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3392 72102866-910b-0410-8b05-ffd578937521
1998-12-05 21:27:19 +00:00
richard
fbe4ecd961 Added alert panel stuff
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3387 72102866-910b-0410-8b05-ffd578937521
1998-12-04 10:54:27 +00:00
richard
3519773688 Framework on which to build alert panel stuff.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3385 72102866-910b-0410-8b05-ffd578937521
1998-12-04 10:48:00 +00:00
richard
e5a4d198c4 Fixed typos
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3384 72102866-910b-0410-8b05-ffd578937521
1998-12-04 10:44:02 +00:00
richard
5d3b890974 Fixed error in method name.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3382 72102866-910b-0410-8b05-ffd578937521
1998-12-04 10:35:51 +00:00
far
dba0b61156 * NSView.m resizeSubviewsWithOldSize: check whether view has ever been
rotated (per 4.2 docs).
	* NSStringDrawing.m sizeWithAttributes: fix minor bug introduced while
	optimizing tab calc.
	* NSCell.m: drawInteriorWithFrame: minor optimization


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3379 72102866-910b-0410-8b05-ffd578937521
1998-12-03 21:23:58 +00:00
richard
00560ea975 Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3373 72102866-910b-0410-8b05-ffd578937521
1998-12-03 13:27:08 +00:00
richard
460aeae048 Tidied modal stuff
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3372 72102866-910b-0410-8b05-ffd578937521
1998-12-03 09:25:05 +00:00
richard
583068c353 Added modal loop support.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3371 72102866-910b-0410-8b05-ffd578937521
1998-12-03 06:54:56 +00:00
richard
ea8e529f9e Fixed typo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3364 72102866-910b-0410-8b05-ffd578937521
1998-12-01 20:59:30 +00:00
richard
15cfd849ba Major revision of services - all menu services stuff in place now.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3363 72102866-910b-0410-8b05-ffd578937521
1998-12-01 20:54:23 +00:00
far
4d64c2187a * NSWindow.m rename windowWithNumber to _windowWithTag per backend
* NSEvent.m call to windowWithNumber.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3362 72102866-910b-0410-8b05-ffd578937521
1998-12-01 19:42:35 +00:00
fedor
9440acc9c4 Makefile fix ups.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3361 72102866-910b-0410-8b05-ffd578937521
1998-12-01 14:41:53 +00:00
richard
47958c9f96 Fixes to auto-enabling of menu items
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3360 72102866-910b-0410-8b05-ffd578937521
1998-12-01 10:24:19 +00:00
far
b77483cabe * NSAttributedString.m and NSAttributedString.h remove.
* NSStringDrawing.m and NSStringDrawing.h add NSAttributedString interface
	and implementation.  Implement NSAttributedString's size method and
	optimize tab width calculation.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3352 72102866-910b-0410-8b05-ffd578937521
1998-11-30 09:40:01 +00:00
richard
de7432bffc Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3348 72102866-910b-0410-8b05-ffd578937521
1998-11-28 08:33:18 +00:00
richard
546b56a22e Update to get system colors working with backend
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3346 72102866-910b-0410-8b05-ffd578937521
1998-11-28 07:38:26 +00:00
far
9af04949cd * GSContext.m/.h second rewrite and polish of API.
* NSView.m displayrect add flushWindow at end.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3339 72102866-910b-0410-8b05-ffd578937521
1998-11-27 12:17:37 +00:00
far
6158ed5c5e * NSApplication.m add updateServicesMenu invocation accidently deleted
during merge.  Move method from _eventMatchingMask to tail of run
		method for performance reasons.
	* Tools/dummy.m add various new dummy functions.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3334 72102866-910b-0410-8b05-ffd578937521
1998-11-26 16:22:17 +00:00
far
86681e61a0 * NSWorkspace.m add NSProcessInfo include.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3326 72102866-910b-0410-8b05-ffd578937521
1998-11-25 19:51:25 +00:00
far
2d4079f2cf * move DPSOperators.h to XDPS.
* move GPS headers into a new backend.
	* define GSContext.h/GSContext.m as abstract super for all drawing
		destinations (eliminates the need for DPS, GPS, DGS at the root of
		the AppKit) add appropriate defintion to various classes.
	* NSMatrix.m add abstract backend code from xraw (eliminate backend).
	* NSSlider.m add abstract backend code from xraw (eliminate backend).
	* NSSliderCell.m add abstract backend code from xraw (eliminate backend).
	* NSSplitView.m add abstract backend code from xraw (eliminate backend).
		replace private divider highlight method with NSHighlightRect()
	* NSWindow.m add class method to create backend specific window view.
	* NSTextField.m add abstract backend code from xraw (eliminate backend).
	* NSForm.m add abstract backend code from xraw (eliminate backend).
	* NSFormCell.m add abstract backend code from xraw (eliminate backend).
	* NSColorWell.m add abstract backend code from xraw (eliminate backend).
	* NSButton.m add abstract backend code from xraw (eliminate backend).
	* NSControl.m add abstract backend code from xraw (eliminate backend).
	* NSBox.m add abstract backend code from xraw (eliminate backend).
	* NSBrowser.m add abstract backend code from xraw (eliminate backend).
	* NSBrowserCell.m add abstract backend code from xraw (eliminate backend).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3321 72102866-910b-0410-8b05-ffd578937521
1998-11-25 17:16:48 +00:00
richard
d438ecfaed Updates to support services
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3317 72102866-910b-0410-8b05-ffd578937521
1998-11-24 15:25:22 +00:00
richard
c78bdc478d Preliminary services support.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3307 72102866-910b-0410-8b05-ffd578937521
1998-11-23 21:39:58 +00:00
richard
19661c597f Bugfix - ignore reassignment of same view.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3294 72102866-910b-0410-8b05-ffd578937521
1998-11-22 16:12:42 +00:00
tremblay2
895e8d75f7 Added browser delegate support
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3283 72102866-910b-0410-8b05-ffd578937521
1998-11-21 00:09:47 +00:00
fedor
14b48d8f75 Moved to xdps backend
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3278 72102866-910b-0410-8b05-ffd578937521
1998-11-20 15:38:15 +00:00
far
4d2ffb9522 gui changes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3260 72102866-910b-0410-8b05-ffd578937521
1998-11-20 02:14:22 +00:00
tremblay2
6e8b11fbe2 Loads "SavePanel" instead of "/usr/GNUstep/Library/Model/SavePanel.gmodel"
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3258 72102866-910b-0410-8b05-ffd578937521
1998-11-20 00:19:19 +00:00
tremblay2
f0dd01323e Fake class for gmodel loading, loads from gmodel.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3254 72102866-910b-0410-8b05-ffd578937521
1998-11-19 21:55:18 +00:00
tremblay2
ee07f0239c nothing.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3253 72102866-910b-0410-8b05-ffd578937521
1998-11-19 21:54:38 +00:00
fedor
ef740b3801 Fix window release when closed.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3237 72102866-910b-0410-8b05-ffd578937521
1998-11-19 01:34:45 +00:00
richard
f10bee0395 Run make_services if necessary
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3234 72102866-910b-0410-8b05-ffd578937521
1998-11-18 09:41:47 +00:00
richard
9bfc36214e Make pasteboard types conform to docs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3226 72102866-910b-0410-8b05-ffd578937521
1998-11-18 03:36:39 +00:00
richard
92661f3a3b Fixed typo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3223 72102866-910b-0410-8b05-ffd578937521
1998-11-17 17:09:59 +00:00
fedor
5808de175b Preliminary drawing engine
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3222 72102866-910b-0410-8b05-ffd578937521
1998-11-16 20:32:48 +00:00
far
51eeb7b526 * NSApplication.m sendEvent: add test for menu to right mouse display of.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3214 72102866-910b-0410-8b05-ffd578937521
1998-11-12 21:46:24 +00:00
far
ccfc67f353 gui changes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3208 72102866-910b-0410-8b05-ffd578937521
1998-11-12 10:49:00 +00:00
richard
3969d260cd Update to Rhapsody DR2 spec
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3186 72102866-910b-0410-8b05-ffd578937521
1998-11-09 20:09:26 +00:00
far
c1b0786d0a * Model/GNUmakefile enable build of test app, fix resource files ref.
* Model/test.gmodel remove ref to IMCustomView.
	* Model/GMAppKit.m add test for XRAW backend.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3175 72102866-910b-0410-8b05-ffd578937521
1998-11-06 04:01:33 +00:00
far
52b197e8af fix minor glitch in NSWindow's performClose
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3174 72102866-910b-0410-8b05-ffd578937521
1998-11-05 00:02:13 +00:00
far
93f36cdf77 gui changes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3172 72102866-910b-0410-8b05-ffd578937521
1998-11-04 22:50:08 +00:00
far
59daf30d58 * NSMenuItem.h ADDITIONAL_WIDTH increase defined size (fix overlap in Edit)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3169 72102866-910b-0410-8b05-ffd578937521
1998-11-03 21:04:55 +00:00
far
65a0194e32 gui changes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3164 72102866-910b-0410-8b05-ffd578937521
1998-11-02 17:42:23 +00:00
richard
00bc3151f2 pushFocusView: must be given an object.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3134 72102866-910b-0410-8b05-ffd578937521
1998-10-27 16:01:33 +00:00
richard
79758f2570 Implement view stack.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3133 72102866-910b-0410-8b05-ffd578937521
1998-10-27 15:24:42 +00:00
richard
84112aa3fb Threading fix.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3132 72102866-910b-0410-8b05-ffd578937521
1998-10-27 15:06:07 +00:00
richard
1244cd5310 Thread fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3131 72102866-910b-0410-8b05-ffd578937521
1998-10-27 14:59:05 +00:00
far
7b617e62a2 optimizations
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3084 72102866-910b-0410-8b05-ffd578937521
1998-10-19 06:10:49 +00:00
richard
e58c65811d Removed bad attempt to set nil into image name dictionary.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3076 72102866-910b-0410-8b05-ffd578937521
1998-10-17 06:18:14 +00:00
far
748f6b3661 * NSApplication.m minor optimiztions.
* NSAttributedString.m sizeWithAttributes: implement tab support.
	* NSStringDrawing.m sizeWithAttributes: implement tab support.
	* NSScroller.m trackScrollButtons: add temporary hack in support of XRAW's
		heavily optimized scrolling machinery.
	* NSScroller.m remove sendAction:to:
	* NSScrolView.m _doScroll: implement scroller update when scrolling via
		buttons
	* NSScrolView.m reflectScrolledClipView comment out setNeedsDisplay as it
		causes display flicker.
	* NSText.m add changes from Daniel B�hringer, set initFrame to default
		values to prevent infinite loop in rebuildLineLayout, minor tweaks
	* NSView.m minor optimiztions.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3071 72102866-910b-0410-8b05-ffd578937521
1998-10-15 12:04:53 +00:00
fedor
30dc8b0b15 Update docs. Redo MIN,MAX macros
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2982 72102866-910b-0410-8b05-ffd578937521
1998-09-18 13:51:00 +00:00
far
20e45475c4 * NSEvent.m extensive optimization.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2979 72102866-910b-0410-8b05-ffd578937521
1998-09-14 20:56:55 +00:00
far
652ad541db update changeLog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2974 72102866-910b-0410-8b05-ffd578937521
1998-09-09 17:02:21 +00:00
far
24eac4c538 * NSMenu.m->NSMenuMatrix in insertItemWithTitle: removed call to
_resizeMenuForCellSize for performance reasons.  _resizeMenuForCellSize
		is called later on a sizeToFit.
	* NSMenu.m->NSMenuMatrix in removeItem: removed call to
		_resizeMenuForCellSize for performance reasons.  _resizeMenuForCellSize
		is called later on a sizeToFit.
	* NSMenu.m->NSMenu in insertItemWithTitle: replaced call to _menuChanged
		with menuHasChanged=YES for performance reasons.
	* NSMenu.m->NSMenu in removeItem: replaced call to _menuChanged with
		menuHasChanged=YES for performance reasons.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2973 72102866-910b-0410-8b05-ffd578937521
1998-09-08 21:50:33 +00:00
richard
c7abca82c0 Minor efficiency hacks and tidying
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2969 72102866-910b-0410-8b05-ffd578937521
1998-09-08 14:56:29 +00:00
fedor
4247f4ca1a Fix up dps configuration (again).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2958 72102866-910b-0410-8b05-ffd578937521
1998-09-03 18:50:11 +00:00
fedor
b45bcb9585 Remove slash at end of line.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2957 72102866-910b-0410-8b05-ffd578937521
1998-09-03 15:47:49 +00:00
far
6bbde41d9c * NSMenuItem.m in copyWithZone: fixed bug which crashed menus two or more
deep when said menus are opened and detached twice


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2955 72102866-910b-0410-8b05-ffd578937521
1998-09-03 15:00:37 +00:00
fedor
649eea0083 Better configuration, gui will compile without DPS
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2954 72102866-910b-0410-8b05-ffd578937521
1998-09-03 14:35:49 +00:00
far
c5d8b82392 * NSFileWrapper.m and NSFileWrapper.h added preliminary implementations
in support of Daniel B�hringer's work on the text classes
	* NSText.m added changes by Daniel B�hringer
	* Tools/gpbs.m added dummy defines of some backend function


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2952 72102866-910b-0410-8b05-ffd578937521
1998-09-02 15:05:13 +00:00
far
ea0a0e722a * GNUmakefile added NSAttributedString.m, NSAttributedString.h,
NSParagraphStyle.m, NSTextAttachment.h, NSTextContainer.h,
		NSTextStorage.h, NSLayoutManager.h and NSParagraphStyle.h.
	* Source added NSParagraphStyle.m.
	* Headers/Appkit added NSTextAttachment.h, NSTextContainer.h,
		NSTextStorage.h, NSLayoutManager.h and NSParagraphStyle.h files.
	* NSText.m and NSText.h. added numerous changes by Daniel B�hringer
	* NSTextView.m and NSTextView.h. added numerous changes by Daniel B�hringer


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2944 72102866-910b-0410-8b05-ffd578937521
1998-09-01 13:23:23 +00:00
far
48b8e5aa73 * NSApplication.h added windows_need_update as autodisplay ivar.
* NSApplication.m in init set default for main_menu, windows_need_update.
	* NSApplication.m in run added support for OPENSTEP autodisplay mechanism.
	* NSApplication.m _eventMatchingMask: reformat.
	* NSApplication.m nextEventMatchingMask:untilDate:inMode:dequeue:
		move calls to _flushWindows to XDPS backend.
	* NSApplication.m implemented updateWindows.
	* NSApplication.m implemented setWindowsNeedUpdate:.
	* NSApplication.m setMainMenu: test for menu prior to release.
	* NSActionCell.m removed setState: method.
	* NSActionCell.m copyWithZone: optimized ivar copying.
	* NSButtonCell.m added _init and moved common defaults to this method.
	* NSButtonCell.m initImageCell: and initTextCell: minor optimizations.
	* NSButtonCell.m setAlternateTitle: optimize and use ASSIGN macro.
	* NSButtonCell.m setKeyEquivalent: remove [copy release].
	* NSButtonCell.m setKeyEquivalentFont:size: optimize.
	* NSButtonCell.m copyWithZone: optimized ivar copying where possible.
	* NSCell.m _init removed call to [super init].
	* NSCell.m initTextCell: removed duplicate default initializers.
	* NSCell.m setImage: rewrote to use ASSIGN macro.
	* NSCell.m setDoubleValue: rewrote to use ASSIGN macro.
	* NSCell.m setFloatValue: rewrote to use ASSIGN macro.
	* NSCell.m setIntValue: rewrote to use ASSIGN macro.
	* NSCell.m setStringValue: rewrote to use ASSIGN macro.
	* NSCell.m setFont: rewrote to use ASSIGN macro.
	* NSCell.m setRepresentedObject: rewrote to use ASSIGN macro.
	* NSCell.m copyWithZone: optimized ivar copying where possible.
	* NSClipView.m viewBoundsChanged: minor optimization.
	* NSClipView.m viewFrameChanged: minor optimization.
	* NSClipView.m scaleUnitSquareToSize: minor optimization.
	* NSClipView.m setBoundsOrigin: minor optimization.
	* NSClipView.m setBoundsSize: minor optimization.
	* NSClipView.m setFrameSize: minor optimization.
	* NSClipView.m setFrameOrigin: minor optimization.
	* NSClipView.m setFrame: minor optimization.
	* NSClipView.m translateOriginToPoint: minor optimization.
	* NSMatrix.m eliminate retain/release of selected cell via ASSIGN.
	* NSMatrix.m initWithFrame: remove duplicate setting of selected row and
		column.
	* NSMatrix.m removeColumn: rewrite so that col is removed before new
		selection is attempted (needed because selected cell is not retained).
	* NSMatrix.m removeRow: rewrite so that row is removed before new
		selection is attempted (needed because selected cell is not retained).
	* NSMatrix.m deselectAllCells per OS spec try to select a cell at end
		if empty selection is not allowed.
	* NSMatrix.m deselectSelectedCell set default selected row/col to 0.
	* NSMatrix.m mouseDown: optimize for new drawing behaviour.
	* NSMenu.m setSelectedCell: eliminate use of retain/release of selected
		cell via ASSIGN.
	* NSMenuItem.m copyWithZone: optimized ivar copying where possible.
	* NSMenuItem.m dealloc minor optimization.
	* NSMenuItem.m setTarget: minor optimization.
	* NSScroller.m trackScrollButtons: heavily optimized.
	* NSScroller.m sendAction: reimplemented to use sendAction: per spec also
		optimized.
	* NSText.m implemented init method.
	* NSText.m initWithFrame: fixed initialization of ivars which are released
		to retain.
	* NSText.m dealloc add release of retained ivars.
	* NSView.m dealloc add release of retained ivars.
	* NSView.m displayRect: and _addSubviewForNeedingDisplay reformatted code
		and rewrote comments.
	* NSWindow.m setFrame:display: rewrote for clarity.
	* NSWindow.m implemented update method per OPENSTEP spec.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2941 72102866-910b-0410-8b05-ffd578937521
1998-08-30 16:06:47 +00:00
fedor
ada8279bee Better build procedure
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2940 72102866-910b-0410-8b05-ffd578937521
1998-08-24 12:47:27 +00:00
fedor
de4323c514 configure and library-combo fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2938 72102866-910b-0410-8b05-ffd578937521
1998-08-20 17:48:46 +00:00
far
97048db112 * NSTextView.m commented out references to defaultTypingAttributes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2937 72102866-910b-0410-8b05-ffd578937521
1998-08-20 10:43:36 +00:00
far
913e88217d * NSSplitView.m in drawRect moved NSRectFill() to backend
* NSSavePanel.m commented out call to NSRunAlertPanel
	* NSText.h and NSText.m integrated source from Daniel B�hringer.
	* NSTextView.h and NSTextView.m integrated source from Daniel B�hringer.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2936 72102866-910b-0410-8b05-ffd578937521
1998-08-20 09:56:26 +00:00
far
85583b8e23 * NSView.h added specific values and comments to resize constants enum.
* NSView.m implemented resizeWithOldSuperviewSize (needs work).
	* NSMatrix.m mousedown clarified description comment.
	* NSSavePanel.m integrated source from Daniel B�hringer into premliminary
		implementations provided by Scott Christley.
	* NSSavePanel.h integrated source from Daniel B�hringer into premliminary
		implementations provided by Scott Christley.
	* NSOpenPanel.m integrated source from Daniel B�hringer into premliminary
		implementations provided by Scott Christley.
	* NSOpenPanel.h integrated source from Daniel B�hringer into premliminary
		implementations provided by Scott Christley.
	* NSStringDrawing.h defined NSAttributedString portion of extension.
	* NSAttributedString.h created preliminary implementation of extension.
	* Appkit.h added includes for NSAttributedString and NSStringDrawing.
	* NSPasteboard.h added extern NSRTFDPboardType define.
	* externs.m defined NSRTFDPboardType.
	* NSText.h integrated source from Daniel B�hringer
	* NSTextView.m preliminary implementation from Daniel B�hringer
	* NSTextView.h preliminary implementation from Daniel B�hringer
	* NSSplitView.m in drawRect use NSRectFill()


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2934 72102866-910b-0410-8b05-ffd578937521
1998-08-19 09:00:26 +00:00
richard
b8c4dc4964 Fix copyWithZone:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2917 72102866-910b-0410-8b05-ffd578937521
1998-08-12 10:02:44 +00:00
far
32acf03f3f * externs.m further defined the NSStringAdditions globals.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2916 72102866-910b-0410-8b05-ffd578937521
1998-08-12 03:57:08 +00:00
far
3f1288ba8e * added NSStringDrawing.m and NSStringDrawing.h which implement the
frontend portion of the NSString additions Category from 4.1.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2915 72102866-910b-0410-8b05-ffd578937521
1998-08-08 16:09:35 +00:00
far
6dead11c87 * NSSplitView in initWithFrame changed default back color to light gray.
* NSSavePanel modified to inherit from NSPanel per OS spec.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2896 72102866-910b-0410-8b05-ffd578937521
1998-08-04 08:33:31 +00:00
far
3803d50e89 * NSText in setText modified to use ASSIGN macro.
* NSText added draws_background ivar and implemented it's set method.
	* NSText reformatted code.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2889 72102866-910b-0410-8b05-ffd578937521
1998-08-01 15:41:49 +00:00
far
fb68347d27 * NSMatrix.m in mouseDown adjusted the selection process when in List mode
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2877 72102866-910b-0410-8b05-ffd578937521
1998-07-29 10:28:36 +00:00
fedor
bbdc19e7be New split view, other fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2869 72102866-910b-0410-8b05-ffd578937521
1998-07-28 17:51:55 +00:00
far
430b72325a * NSScroller.m in trackScrollButtons method added code to highlight cell
prior to calling trackMouse.  In keeping with new behaviour of NSCell.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2867 72102866-910b-0410-8b05-ffd578937521
1998-07-28 09:30:51 +00:00
far
05fcf354f4 * NSCell.m: changed implementation of trackMouse method so that it does
not hightlight the cell.  The new behavior is as described in the spec
		for NSControl, NSMatrix and NSCell.  According to the spec it is the
		responsibility of the control to highlight the cell prior to calling
		cell's track method.
	* NSMatrix.m: rewrote mousedown to more closely mimic the NS/OS behavior.
	* NSButton.m: modified to support new behavior of NSCell's track mode.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2865 72102866-910b-0410-8b05-ffd578937521
1998-07-26 01:15:17 +00:00
far
6759387bf1 * Source/NSBrowser.m fixed bug where column matrix was getting released
twice in method _performLoadOfColumn.
* NSCell.m: isOpaque returns whether cell is bezeled per NS docs.
* NSText.m: implemented setBackground and back color release in dealloc.
* NSMenu.m: insertItemWithTitle moved set font position for performance


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2856 72102866-910b-0410-8b05-ffd578937521
1998-07-18 19:21:22 +00:00
far
05cca82b8e * Source/NSBrowser.m fixed bug where column matrix was getting released
twice in method _performLoadOfColumn.
* NSCell.m:  isOpaque returns whether cell is bezeled per NS docs.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2835 72102866-910b-0410-8b05-ffd578937521
1998-07-14 17:51:44 +00:00
far
5d589124bb added check for a valid view in NSView's _pathBetweenSubview... method
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2834 72102866-910b-0410-8b05-ffd578937521
1998-07-12 15:15:36 +00:00
far
98e2fbfa63 change in NSBrowser because oldmatrix was getting released twice
various changes to NSMatrix's mousedown to support double clicks
added field editor instance variable to NSWindow


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2830 72102866-910b-0410-8b05-ffd578937521
1998-07-10 18:44:18 +00:00
fedor
bfa9787d32 Minor fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2807 72102866-910b-0410-8b05-ffd578937521
1998-05-29 18:24:07 +00:00
scottc
db063e93fd * Documentation/status.tmpl.texi: Update.
* Add Adobe printer definition files.
	* PrinterTypes/English.lproj/*.ppd: New file.s
	* PrinterTypes/French.lproj/*.ppd: New file.s
	* PrinterTypes/German.lproj/*.ppd: New file.s
	* PrinterTypes/Italian.lproj/*.ppd: New file.s
	* PrinterTypes/Spanish.lproj/*.ppd: New file.s
	* PrinterTypes/Swedish.lproj/*.ppd: New file.s

	* Headers/gnustep/gui/NSPrinter.h (+printerNames): Add method.
	* Source/NSPrinter.m: Major rewrite.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2786 72102866-910b-0410-8b05-ffd578937521
1998-04-07 01:03:24 +00:00
scottc
c17d56e93b Version 0.5.0 release.
Minor bug fixes.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2773 72102866-910b-0410-8b05-ffd578937521
1998-03-11 22:00:50 +00:00