Commit graph

377 commits

Author SHA1 Message Date
Adam Fedor
18a7d659bc * Tools/gpbs.m ([PasteboardServer -connectionBecameInvalid:]):
Use isKindOfClass.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@21324 72102866-910b-0410-8b05-ffd578937521
2005-06-17 14:57:57 +00:00
Fred Kiefer
62356b3c4f Support for images in NSCalibratedRGBColorSpace for windows.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@21292 72102866-910b-0410-8b05-ffd578937521
2005-06-07 19:38:54 +00:00
Adam Fedor
7a3f75f9ac Update FSF Address
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@21263 72102866-910b-0410-8b05-ffd578937521
2005-05-26 22:51:53 +00:00
Adrian Robert
b4d300d6c3 changed some HAVE_LIBXFT #ifdefs to HAVE_XFT; clarified difference between the two in configure.ac and config.h.in comments
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@21239 72102866-910b-0410-8b05-ffd578937521
2005-05-20 13:57:21 +00:00
Adrian Robert
fa74219476 added extra #ifdef to XGGState.m around Xft-specific methods so compilation on non-libxft systems is unaffected
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@21226 72102866-910b-0410-8b05-ffd578937521
2005-05-14 13:53:50 +00:00
Adrian Robert
649d316cff cache Xft draw state in XGGState and use this to speed glyph rendering in GSXftFontInfo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@21218 72102866-910b-0410-8b05-ffd578937521
2005-05-12 13:43:18 +00:00
Adam Fedor
ef29bc6957 * Fonts/GNUmakefile.postamble: Make sure to install in
$(GNUSTEP_INSTALLATION_DIR).
* GNUmakefile: Add check to not install fonts if fonts=no.
Fixes bug #12749


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@21135 72102866-910b-0410-8b05-ffd578937521
2005-04-21 03:43:18 +00:00
Adam Fedor
7bdbb00e8c * Source/art/path.m ([ARTGState -_stroke:]): Change floorf->floor.
Fixes bug #12731.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@21127 72102866-910b-0410-8b05-ffd578937521
2005-04-20 02:44:07 +00:00
Fred Kiefer
1a33640a5d Fix for bug #12459.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@21113 72102866-910b-0410-8b05-ffd578937521
2005-04-16 16:27:10 +00:00
Fred Kiefer
47ddc6186d Fix bug #12578.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@21072 72102866-910b-0410-8b05-ffd578937521
2005-04-07 19:05:32 +00:00
Richard Frith-Macdonald
e7fe51d887 Transparency fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@21042 72102866-910b-0410-8b05-ffd578937521
2005-04-04 08:46:08 +00:00
Adam Fedor
e71e98d0e0 * Source/win32/WIN32Server.m: Re-add 2005-02-23 change.
* Source/xlib/GSXftFontInfo.m (-setupAttributes): Make log message
more verbose.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@21030 72102866-910b-0410-8b05-ffd578937521
2005-04-01 15:44:24 +00:00
Richard Frith-Macdonald
f9c0246d47 DnD cleanups and fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@21028 72102866-910b-0410-8b05-ffd578937521
2005-04-01 14:10:39 +00:00
Adam Fedor
a025d325d9 * Version 0.9.5
* Headers/x11/XGDragView.h, Source/x11/XGDragView.m: Tag previous
version of file for release.
* Source/win32/WIN32Server.m: Revert 2005-2-23 change for this release.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@21015 72102866-910b-0410-8b05-ffd578937521
2005-03-31 03:34:30 +00:00
Richard Frith-Macdonald
034a3f82e2 Various improvements in win32 window management
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@21000 72102866-910b-0410-8b05-ffd578937521
2005-03-29 14:03:30 +00:00
Richard Frith-Macdonald
d7737164ec Make XGDragView a subclass of GSDragView
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20999 72102866-910b-0410-8b05-ffd578937521
2005-03-29 10:11:16 +00:00
Adrian Robert
4e5fe7c3ac update impl for DPSshow to handle xshow, yshow, xyshow, ashow, widthshow, and awidthshow
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20989 72102866-910b-0410-8b05-ffd578937521
2005-03-29 05:54:36 +00:00
Richard Frith-Macdonald
a1859fe2d5 Fix locating window at point for DnD
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20984 72102866-910b-0410-8b05-ffd578937521
2005-03-28 07:45:42 +00:00
Adam Fedor
8d35549838 * Source/art/blit.m (artcontext_setup_draw_info): Add mail address
to log message.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20943 72102866-910b-0410-8b05-ffd578937521
2005-03-21 22:04:05 +00:00
Richard Frith-Macdonald
2a648ca576 Update for new runloop api under ming32 (changed in base in CVS today)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20786 72102866-910b-0410-8b05-ffd578937521
2005-02-23 16:12:05 +00:00
Adam Fedor
aa0a031904 * configure.ac: Rewrite, avoid setting vars unecessarily. Use
pkg-config if possible. Switch back to xlib/winlib when other backends
don't satisfy dependancies.
* config.make, config.h: Update to match.
* GNUmakefile (SUBPROJECTS): Add Fonts
* Fonts: New folder with default nfont

* Source/x11/GNUmakefile: Remove unneeded file.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20783 72102866-910b-0410-8b05-ffd578937521
2005-02-23 03:47:34 +00:00
Fred Kiefer
716fa5212a Implemented window alpha handling for X servers that support it.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20698 72102866-910b-0410-8b05-ffd578937521
2005-02-12 18:30:56 +00:00
Alexander Malmberg
3a1bd8c7f0 2005-02-12 13:58 Alexander Malmberg <alexander@malmberg.org>
* Headers/x11/XGServerWindow.h: Make the border and depth ivars
	unsigned.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20694 72102866-910b-0410-8b05-ffd578937521
2005-02-12 12:51:28 +00:00
Alexander Malmberg
41d945a4e2 2005-02-12 13:54 Alexander Malmberg <alexander@malmberg.org>
* Source/x11/XGServerWindow.m (setNormalHints): If the window isn't
	resizable, force the min and max sizes to be equal to the current
	size.
	(-placewindow::): Set the hints after updating xframe.

	Fixes bug #11713.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20693 72102866-910b-0410-8b05-ffd578937521
2005-02-12 12:50:23 +00:00
Alexander Malmberg
ad3b3f4712 2005-02-10 00:50 Alexander Malmberg <alexander@malmberg.org>
* Tools/gpbs.m (init): Remove the program name from the arguments
	passed to the new task.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20680 72102866-910b-0410-8b05-ffd578937521
2005-02-09 23:43:54 +00:00
Richard Frith-Macdonald
38df9be337 Use NSTask to run as daemon
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20672 72102866-910b-0410-8b05-ffd578937521
2005-02-08 11:54:25 +00:00
Alexander Malmberg
df49274a8d 2005-02-05 00:44 Alexander Malmberg <alexander@malmberg.org>
* Source/art/path.m (-_clip_add_svp:): Handle the case where
	no spans are generated for the path.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20659 72102866-910b-0410-8b05-ffd578937521
2005-02-04 23:40:18 +00:00
Richard Frith-Macdonald
bdc606d592 Correct missplaced bracket
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20638 72102866-910b-0410-8b05-ffd578937521
2005-01-31 07:37:22 +00:00
Alexander Malmberg
82ca6dd14a 2005-01-21 21:51 Alexander Malmberg <alexander@malmberg.org>
Various warning and whitespace cleanups.

	* Headers/x11/XGServerWindow.h,
 	* Source/art/ftfont.m,
	* Source/gsc/GSGState.m,
	* Source/win32/WIN32Server.m,
	* Source/x11/XGDragView.m,
	* Source/x11/XGServerEvent.m,
	* Source/x11/XGServerWindow.m: Change signedness of various
	variables.
	* Tools/gpbs.m: Add missing ctype.h include.
	* Source/x11/XGDrawView.m (-_setCursor): Initialize variables.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20591 72102866-910b-0410-8b05-ffd578937521
2005-01-21 20:49:29 +00:00
Alexander Malmberg
07284b164a 2005-01-20 22:39 Alexander Malmberg <alexander@malmberg.org>
* Source/art/ARTContext.m (-initWithContextInfo:): Enable stroke
	adjusting for the default gstate.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20587 72102866-910b-0410-8b05-ffd578937521
2005-01-20 21:35:23 +00:00
Alexander Malmberg
bb22782a46 2005-01-20 17:58 Alexander Malmberg <alexander@malmberg.org>
* Source/xlib/XGGState.m (-DPSrectstroke::::): Don't decrease
	the width/height.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20586 72102866-910b-0410-8b05-ffd578937521
2005-01-20 17:02:18 +00:00
Adrian Robert
d64abeb81b compute XdndPosition coordinates from X function as cached may be wrong for app icon
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20557 72102866-910b-0410-8b05-ffd578937521
2005-01-15 02:28:13 +00:00
Alexander Malmberg
bd0b1af249 2005-01-12 00:32 Alexander Malmberg <alexander@malmberg.org>
* Source/gsc/GSStreamContext.m (-DPSsetstrokeadjust:):
	Give 'setstrokeadjust' a boolean argument.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20541 72102866-910b-0410-8b05-ffd578937521
2005-01-11 23:34:54 +00:00
Alexander Malmberg
455372bfec 2005-01-11 21:57 Alexander Malmberg <alexander@malmberg.org>
* Headers/x11/XWindowBuffer.h: Make the pending_rect ivar a struct
	of int:s.
	* Source/x11/XWindowBuffer.m: Add casts to remove pointer sign
	warnings.
	(-_exposeRect:, -_gotShmCompletion): Update uses of pending_rect.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20537 72102866-910b-0410-8b05-ffd578937521
2005-01-11 21:00:14 +00:00
Alexander Malmberg
6582a61927 2005-01-11 20:27 Alexander Malmberg <alexander@malmberg.org>
* Source/art/ARTGState.h: Add strokeadjust ivar.
	* Source/art/ARTContext.m (-DPScurrentstrokeadjust)
	(-DPSsetstrokeadjust): Use the strokeadjust ivar.
	* Source/art/path.m (-DPSrectclip::::): Don't use the optimized
	path if the clipping path is complex.
	(-_stroke::): Remove second argument, rename to ...
	(-_stroke:): ... this. If strokeadjust is active, adjust the path
	to make it clearer.
	(-DPSrectstroke::::): Update _stroke::: call. Remove dash adjustment
	code.
	(-DPSstroke): Update _stroke:: call.
	* Source/art/composite.m: Fix comment typo. Remove some old
	debugging code.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20536 72102866-910b-0410-8b05-ffd578937521
2005-01-11 19:23:54 +00:00
Alexander Malmberg
621e1fc4ef 2005-01-11 16:15 Alexander Malmberg <alexander@malmberg.org>
* Source/art/blit.m: Remove #warning:s.
	* Source/art/blit_scrapheap.m: Add mmx implementation of 15/16bpp
	blit_alpha_opaque.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20535 72102866-910b-0410-8b05-ffd578937521
2005-01-11 15:11:39 +00:00
Alexander Malmberg
38d76b4b31 2005-01-11 16:01 Alexander Malmberg <alexander@malmberg.org>
* Source/art/ftfont.m: Copy old contents to ftfont-old.m and
	include that file if the freetype version is <2.1.8. Rewrite
	this file to work with freetype >=2.1.8.
	* Source/art/ftfont-old.m: New file.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20534 72102866-910b-0410-8b05-ffd578937521
2005-01-11 15:02:29 +00:00
Gregory John Casamento
6a708ea7a2 Correction for bug with dragview.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20504 72102866-910b-0410-8b05-ffd578937521
2004-12-30 23:36:06 +00:00
Fred Kiefer
93045595ed Don't provide defaults for missing standard cursors.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20429 72102866-910b-0410-8b05-ffd578937521
2004-12-08 23:57:06 +00:00
Fred Kiefer
0929578d2b Reworked KDE window level handling ones more.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20424 72102866-910b-0410-8b05-ffd578937521
2004-12-06 19:47:32 +00:00
Matt Rice
3e10117de9 2004-11-28 Matt Rice <ratmice@yahoo.com>
* Source/x11/XGGLFormat.m (-initWithAttributes:,append,append1): Add
       missing curly brackets, fix append and append1 macros so they can safely
       be used without curly brackets.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20392 72102866-910b-0410-8b05-ffd578937521
2004-11-29 00:19:46 +00:00
Richard Frith-Macdonald
c8407b617d Workaround fro problems with pth thread library.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20391 72102866-910b-0410-8b05-ffd578937521
2004-11-28 07:43:46 +00:00
Alexander Malmberg
34d406f5d9 2004-11-10 18:41 Alexander Malmberg <alexander@malmberg.org>
* Source/x11/XWindowBuffer.m (test_xshm): New function.
	(test_xshm_error_handler): New function.
	(+windowBufferForWindow:depthInfo:): Move XShm detection code
	to test_xshm and use it to decide whether to use XShm or not.
	(+initialize): Move use_xshm setting code to test_xshm.
	(+_gotShmCompletion:): Don't warn if we can't find an XWindowBuffer
	for the event.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20338 72102866-910b-0410-8b05-ffd578937521
2004-11-10 17:47:38 +00:00
Matt Rice
e71ab02698 2004-11-10 Matt Rice <ratmice@yahoo.com>
* Source/x11/XGServerWindow.m (-iconSize): Implement new method.
        (-iconTileImage:): ditto.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20337 72102866-910b-0410-8b05-ffd578937521
2004-11-10 17:14:58 +00:00
Alexander Malmberg
218d2082d9 2004-11-09 22:42 Alexander Malmberg <alexander@malmberg.org>
* Source/x11/XGBitmapImageRep.m: Remove dead file.
	* Source/x11/GNUmakefile: Remove reference.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20333 72102866-910b-0410-8b05-ffd578937521
2004-11-09 21:44:53 +00:00
Alexander Malmberg
24aee0f8b2 2004-11-09 23:15 Alexander Malmberg <alexander@malmberg.org>
* Source/art/ftfont.m (fix_path): Don't prepend the path to absolute
	file names.
	(-initWithFontName:matrix:screenFont:): Initialize cachedGlyph.
	(-advancementForGlyph:): Handle NSNullGlyph.
	(-glyphForCharacter:): Return NSNullGlyph if there's no glyph for
	the character.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20331 72102866-910b-0410-8b05-ffd578937521
2004-11-09 21:22:36 +00:00
Alexander Malmberg
95813706e3 2004-11-09 19:00 Alexander Malmberg <alexander@malmberg.org>
* Tools/gpbs.m (main): If we get a -GSStartupNotification argument,
	post the notification after initializing. Fixes bug #10876.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20327 72102866-910b-0410-8b05-ffd578937521
2004-11-09 18:02:08 +00:00
Adrian Robert
c1adbba9c0 fixed date on entry for last change
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20298 72102866-910b-0410-8b05-ffd578937521
2004-11-05 04:36:34 +00:00
Adrian Robert
106c7e3674 new default 'GSModifiersAreKeys', if set XGServerEvent will always interpret the same key as the same keysym/modifier; also, fix typo in xlib/XGBitmap error message
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20297 72102866-910b-0410-8b05-ffd578937521
2004-11-05 04:31:26 +00:00
Fred Kiefer
96a3253131 Made anti-aliased fonts the default for the xlib backend.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20271 72102866-910b-0410-8b05-ffd578937521
2004-10-30 14:17:08 +00:00