Commit graph

569 commits

Author SHA1 Message Date
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
Fred Kiefer
e9a6af10d5 Corrected typo for GSSecondAlternateKey.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20172 72102866-910b-0410-8b05-ffd578937521
2004-09-28 18:07:25 +00:00
Adrian Robert
e7158c96d9 improvements to earlier 'determine modifier from keysym' patch to x11/XGServerEvent.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20130 72102866-910b-0410-8b05-ffd578937521
2004-09-24 19:31:50 +00:00
Adrian Robert
765884244c final fixes after feedback from Kazunobu Kuriyama on previous commit - lookup keysym properly when key combinations are pressed in process_key_event; also, improve interpretation of modifier state on keymapnotify events (processEvent:)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20129 72102866-910b-0410-8b05-ffd578937521
2004-09-24 19:25:50 +00:00
Adam Fedor
b907de6f9c Version 0.9.4
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20119 72102866-910b-0410-8b05-ffd578937521
2004-09-24 03:15:52 +00:00
Alexander Malmberg
cea9c4050e * Source/art/ftfont.m: Add lineHeight ivar to FTFontInfo.
(+defaultLineHeightForFont): Implement.
	(-initWithFontName:matrix:screenFont:): Set lineHeight.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20101 72102866-910b-0410-8b05-ffd578937521
2004-09-21 17:26:00 +00:00
Fred Kiefer
b88251cf19 Added missin inclde for Cygwin.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20084 72102866-910b-0410-8b05-ffd578937521
2004-09-19 09:23:24 +00:00
Fred Kiefer
93d65fa6f9 Disable use of AlphaBlend for windows backend.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20080 72102866-910b-0410-8b05-ffd578937521
2004-09-17 17:52:28 +00:00
Fred Kiefer
63366359cf Small imporvements for Cairo backend.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20037 72102866-910b-0410-8b05-ffd578937521
2004-09-08 22:08:15 +00:00
Adam Fedor
f6f31db46f * Documentation/Back/DefaultsSummary.gsdoc: Document 8bit fast drawing
* Documentation/news.texi: Update for new release.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20034 72102866-910b-0410-8b05-ffd578937521
2004-09-08 16:33:52 +00:00
Adam Fedor
0f4e4f317e * Headers/x11/XGServer.h: Add 8bit fast drawing.
* Source/x11/XGServer.m ([XGScreenContext
-initForDisplay:screen:]): For 8bit, test for RGB_BEST_MAP.
* Source/xlib/XGBitmap.m (_pixmap_combine_alpha,
_bitmap_combine_alpha, _pixmap_read_alpha): Add 8 bit case.
(patch from Paul Secchia <paul@worldnet.att.net>).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20033 72102866-910b-0410-8b05-ffd578937521
2004-09-08 16:22:00 +00:00
Alexander Malmberg
b1d769a07f 2004-09-04 23:59 Alexander Malmberg <alexander@malmberg.org>
* Tools/GNUmakefile.preamble: Compile with -Wall.
	* Tools/xpbs.m: Rename to +initializePasteboard. Return NO iff
	XOpenDisplay fails.
	* Tools/win32pbs.m (+initialize): Rename to +initializePasteboard.
	Return YES.
	* Tools/gpbs.m ([PasteboardServer -init]): Call	+initializePasteboard
	instead of +class. Set xPbClass to nil if the call fails.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@19992 72102866-910b-0410-8b05-ffd578937521
2004-09-04 22:08:18 +00:00
Adam Fedor
868cbc0b01 * configure.ac: Prepend don't overwrite CFLAGS and LDFLAGS given
in environment.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@19969 72102866-910b-0410-8b05-ffd578937521
2004-09-02 02:56:10 +00:00
Adrian Robert
9ab8685d13 changed mapping of GNUstep modifier keys to X11 KeySyms instead of KeyCodes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@19943 72102866-910b-0410-8b05-ffd578937521
2004-08-31 16:36:39 +00:00
Fred Kiefer
cfdf161246 Support for UTF8 font family names for XFT.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@19939 72102866-910b-0410-8b05-ffd578937521
2004-08-30 15:27:14 +00:00
Fred Kiefer
92077fc8bb Made the windows backend compile again and new event polling.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@19917 72102866-910b-0410-8b05-ffd578937521
2004-08-24 18:53:39 +00:00
Fred Kiefer
f4a23121d8 Small cleanup of cairo backend.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@19902 72102866-910b-0410-8b05-ffd578937521
2004-08-23 12:28:16 +00:00
Alexander Malmberg
0d356e9733 Update window frame handling to match -gui. Improve window resizing behavior in x11 backends.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@19854 72102866-910b-0410-8b05-ffd578937521
2004-08-09 12:42:12 +00:00
Fred Kiefer
1d40f7d8cc Added cairo backend.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@19820 72102866-910b-0410-8b05-ffd578937521
2004-08-02 21:50:17 +00:00
Alexander Malmberg
55647cbdf1 Implement GSReadRect in art/.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@19800 72102866-910b-0410-8b05-ffd578937521
2004-07-30 13:57:27 +00:00
Alexander Malmberg
431d4006bf Create a icon pixmap for windowmaker.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@19777 72102866-910b-0410-8b05-ffd578937521
2004-07-26 13:48:41 +00:00
Adam Fedor
6065eb9442 Updated
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@19737 72102866-910b-0410-8b05-ffd578937521
2004-07-15 03:52:21 +00:00
Alexander Malmberg
feda605242 NSDebugLLog helpful error messages if something was wrong in the shader dictionary.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@19727 72102866-910b-0410-8b05-ffd578937521
2004-07-13 01:14:38 +00:00
Adam Fedor
5093449316 New file
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@19704 72102866-910b-0410-8b05-ffd578937521
2004-07-10 03:23:44 +00:00
Fred Kiefer
3c77485016 Moved extend string showing methods to GSG.
Simple (not working) alpha handling on windows.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@19686 72102866-910b-0410-8b05-ffd578937521
2004-07-06 17:52:39 +00:00
Fred Kiefer
b829fc0758 Added more standard cursors.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@19639 72102866-910b-0410-8b05-ffd578937521
2004-06-28 12:27:33 +00:00
Alexander Malmberg
e4e8a33716 Add buffer_width and buffer_height ivars and use them instead of xframe to keep track of buffer sizes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@19636 72102866-910b-0410-8b05-ffd578937521
2004-06-27 22:51:08 +00:00
Alexander Malmberg
555b1602b8 Remove use of cast-as-lvalue.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@19635 72102866-910b-0410-8b05-ffd578937521
2004-06-27 22:48:18 +00:00
Alexander Malmberg
40c4368cc9 Improve handling of ConfigureNotify events. Add GSX11HandlesWindowDecorations defaults and code to handle it.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@19623 72102866-910b-0410-8b05-ffd578937521
2004-06-26 11:09:39 +00:00
Fred Kiefer
6eb283e349 Made drag and drop work on windows.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@19554 72102866-910b-0410-8b05-ffd578937521
2004-06-19 15:36:58 +00:00
Adam Fedor
694a198b83 Update news about libwraster
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@19503 72102866-910b-0410-8b05-ffd578937521
2004-06-12 03:23:12 +00:00
Adam Fedor
5859cc7ce0 Remove libwraster check
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@19502 72102866-910b-0410-8b05-ffd578937521
2004-06-12 03:13:39 +00:00
Adam Fedor
4c9268ec48 Version 0.9.3
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@19500 72102866-910b-0410-8b05-ffd578937521
2004-06-11 19:55:31 +00:00
Fred Kiefer
d5a85f401b Improved moving of windows on MS Windows.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@19404 72102866-910b-0410-8b05-ffd578937521
2004-05-26 23:45:56 +00:00
Alexander Malmberg
d68191c313 Check properly for control glyphs.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@19301 72102866-910b-0410-8b05-ffd578937521
2004-05-13 15:14:46 +00:00
Fred Kiefer
bd0bd21d94 Applied first part of WIN32 patch by MA Garcias.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@19285 72102866-910b-0410-8b05-ffd578937521
2004-05-11 23:30:31 +00:00
Alexander Malmberg
305b8d6074 (-initWithAttributes:): Fix handling of 15 and 16bpp modes (NSOpenGLPFAAccumSize).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@18962 72102866-910b-0410-8b05-ffd578937521
2004-03-29 23:53:38 +00:00
Alexander Malmberg
88ebd73c93 Handle text drawing in windows with alpha buffers properly. Try to find good visuals before resorting to the default visual.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@18721 72102866-910b-0410-8b05-ffd578937521
2004-02-29 20:45:05 +00:00
Adam Fedor
180b1ec31a Version 0.9.2
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@18717 72102866-910b-0410-8b05-ffd578937521
2004-02-29 05:13:16 +00:00
Fred Kiefer
3cd93a84d7 Shorter Timer interval for windows server.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@18704 72102866-910b-0410-8b05-ffd578937521
2004-02-28 14:21:38 +00:00
Alexander Malmberg
3e3c66025d Handle NS{Device,Calibrated}BlackColorSpace correctly in image drawing.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@18646 72102866-910b-0410-8b05-ffd578937521
2004-02-24 14:48:35 +00:00
Adam Fedor
72ef8dd8fd Don't raise root window
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@18614 72102866-910b-0410-8b05-ffd578937521
2004-02-18 04:29:36 +00:00
Gregory John Casamento
e720ef8d2f Fix for Report#6997
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@18570 72102866-910b-0410-8b05-ffd578937521
2004-02-09 04:17:49 +00:00