Commit graph

356 commits

Author SHA1 Message Date
fedor
6754631747 configure.in: Check for Xutf8LookupString
Source/x11/XIMInputServer.m: Use it.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@22172 72102866-910b-0410-8b05-ffd578937521
2005-12-17 02:45:16 +00:00
FredKiefer
f684308984 Use UTF8 window title for X where possible.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@22165 72102866-910b-0410-8b05-ffd578937521
2005-12-10 17:41:06 +00:00
alexm
dd270f04fe 2005-11-19 21:39 Alexander Malmberg <alexander@malmberg.org>
* Source/art/ARTContext.m (flip_bytes, byte_order)
	(-initWithContextInfo:): Detect if the server doesn't have the same
	endianness and adjust the color bitmasks if necessary.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@22044 72102866-910b-0410-8b05-ffd578937521
2005-11-19 20:15:53 +00:00
FredKiefer
97b4f13265 Don't user NET WM icon on Window Maker.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@22043 72102866-910b-0410-8b05-ffd578937521
2005-11-18 17:53:53 +00:00
CaS
97aecfddb2 Coding style fixups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@22020 72102866-910b-0410-8b05-ffd578937521
2005-11-16 11:40:31 +00:00
FredKiefer
80d261fff9 Small cairo fixes plus NET WM icon setting.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@21964 72102866-910b-0410-8b05-ffd578937521
2005-11-07 00:11:09 +00:00
CaS
01029229be Update to take advantage of new base library functionality.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@21924 72102866-910b-0410-8b05-ffd578937521
2005-10-30 12:54:09 +00:00
CaS
d6f16491e0 Synchronise defaults. Tidy.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@21913 72102866-910b-0410-8b05-ffd578937521
2005-10-30 07:35:52 +00:00
fedor
1d95d88ca5 * Headers/win32/WIN32Server.h: uint -> unsigned int
* Source/win32/...: Idem.
* Source/win32/w32_notifications.m: Comment out unimplmented
windows method.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@21852 72102866-910b-0410-8b05-ffd578937521
2005-10-21 03:40:07 +00:00
fedor
d4f18e7023 * Source/win32/: Fixed a compile error when debug flags were
activated. Removed detailed documation from MS. Read and
write correctly from defaults.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@21851 72102866-910b-0410-8b05-ffd578937521
2005-10-21 03:07:19 +00:00
CaS
41bb3f72c2 Hacks by Greg to placate 4.1 compiler. Just in case we can't persuade them
to 'fix' cast to union with an 'id' member.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@21783 72102866-910b-0410-8b05-ffd578937521
2005-10-07 09:57:51 +00:00
fedor
c411e2d2f2 * Restructuring of the windows server to handle various
window and toolbar issues (See Source/win32/RELEASE_NOTES for
more info).
* Headers/win32/WIN32Server.h: Added ivars and flags and methods.
* Headers/winlib/WIN32GState.h: Added method to avoid confliting
types with superclass.
* Source/win32/GNUmakefile: Add new files.
* w32_debug.m, w32_activate.m, w32_create.m, w32_general.m,
w32_movesize.m, w32_text_focus.m, w32_windowdisplay.m,
GSDisplayServer_details.m: New files.
* Source/win32/WIN32Server.m: Large changes. Merged with
WIN32ServerEvent. Lots of documentation.

* Source/winlib/WIN32GState.m: Variable name changes to
avoid shadowing.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@21716 72102866-910b-0410-8b05-ffd578937521
2005-09-14 15:48:11 +00:00
FredKiefer
d8ce1e0de6 Get cairo surfaces working for resized windows.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@21685 72102866-910b-0410-8b05-ffd578937521
2005-08-28 00:48:12 +00:00
FredKiefer
2435fad1b6 Sort colours in bitmap as expected by Cairo.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@21664 72102866-910b-0410-8b05-ffd578937521
2005-08-20 00:10:35 +00:00
FredKiefer
c1399ee9b7 Adopted to Cairo changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@21663 72102866-910b-0410-8b05-ffd578937521
2005-08-19 23:42:55 +00:00
arobert
4d4004fe5b initialize deltas index in drawString method
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@21639 72102866-910b-0410-8b05-ffd578937521
2005-08-16 04:02:50 +00:00
FredKiefer
c701bd1b44 Small tweak forgotten in last update.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@21562 72102866-910b-0410-8b05-ffd578937521
2005-07-27 23:29:51 +00:00
FredKiefer
75055208a2 Changed to compile with latest cairo interface changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@21561 72102866-910b-0410-8b05-ffd578937521
2005-07-27 23:25:32 +00:00
fedor
3ed37a582e * Version: Add interface version number
* Source/GNUmakefile: Use it.
* Source/GNUmakefile.postamble: Idem, add custom Info.plist.
* Source/GNUmakefile.preamble: Update for interface version.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@21498 72102866-910b-0410-8b05-ffd578937521
2005-07-17 21:45:55 +00:00
fedor
365ca4519b * Source/winlib/WIN32GState.m ([WIN32GState -compositeGState:...]): Fall
through to default operation if alpha blend not sucessful.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@21476 72102866-910b-0410-8b05-ffd578937521
2005-07-14 21:30:09 +00:00
FredKiefer
f67a4ba43a dded partial implementation for pattern colour and alpha image composition.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@21437 72102866-910b-0410-8b05-ffd578937521
2005-07-09 00:10:08 +00:00
fedor
dd3627a2bf Add/fix copyright and licenses.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@21392 72102866-910b-0410-8b05-ffd578937521
2005-07-01 20:43:10 +00:00
FredKiefer
025f9fc834 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
fedor
faaebcda2a 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
arobert
6ba6f8a2a4 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
arobert
638d943dc9 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
arobert
940139127e 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
fedor
0d2629f32e * 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
FredKiefer
29f40757b1 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
FredKiefer
6f79c31603 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
CaS
5cf17fd3b4 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
fedor
96a6e54fea * 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
CaS
e4f5ea5225 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
fedor
d43d14780b * 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
CaS
04850423d1 Tidied a little
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@21008 72102866-910b-0410-8b05-ffd578937521
2005-03-30 14:15:52 +00:00
CaS
584e797dc9 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
CaS
337e25e1ab 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
arobert
f1130822b2 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
CaS
09e9fb9679 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
fedor
667ea59a9b Add more info to log message
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20953 72102866-910b-0410-8b05-ffd578937521
2005-03-21 23:11:48 +00:00
fedor
ed0d8e783e * 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
CaS
65e14dac2b 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
fedor
777e7190ba * 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
FredKiefer
1508e59215 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
alexm
8ab3ce4b19 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
alexm
91191491c5 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
alexm
a24843e653 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
alexm
d0438ce1f1 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
alexm
14420ccf0d 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
arobert
401c46d17a 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