summaryrefslogtreecommitdiff
path: root/dix
AgeCommit message (Collapse)AuthorFilesLines
2005-12-02Define XFree86Server only where it is required.Kevin E Martin1-1/+1
2005-11-29Fix usage of XFree86LOADER/XFree86Module/IN_MODULE and update loadableKevin E Martin1-1/+1
module builds to reflect this change.
2005-11-03Fix vendor string and release version reported by the servers. EnableKevin E Martin1-1/+3
security, lbx and xevie extensions to give us parity with monolithic tree.
2005-10-05Add DGA configure option and add various files that we should be dist'ing.Kristian Høgsberg1-0/+2
Simplify xf86DefModeSet.c rule a bit.
2005-09-13Bug #594: CAN-2005-2495: Fix exploitable integer overflow in pixmapDaniel Stone2-0/+20
creation, where we could create a far smaller pixmap than we thought, allowing changes to arbitrary chunks of memory. (Søren Sandmann Pedersen)
2005-09-05Initialise private arrays with calloc, rather than standard malloc.Daniel Stone2-6/+8
(Benjamin Herrenschmidt)
2005-08-25Fix a use-after-free of cursor data by refcounting for the sprite.currentEric Anholt1-1/+6
reference. The particular path seen was XFixes' ReplaceCursor() resulting in the sprite.current being freed, but then it getting accessed during the ChangeToCursor() that happens as a result of WindowHasNewCursor().
2005-07-23Add a safety check to catch when numDepths GCperDepthexceeps MAXFORMATSStuart R. Anderson1-0/+3
2005-07-16Mark variables modified in signal handlers as volatile (part of Sun bug idAlan Coopersmith1-2/+8
4496504)
2005-07-15Fix keyboard state when XEVIE is not enabled (Keith Packard).Kevin E Martin1-1/+1
2005-07-03Change <X11/misc.h> and <X11/os.h> to "misc.h" and "os.h".Daniel Stone20-27/+27
2005-07-03Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings.Daniel Stone25-5/+105
Add XSERV_t, TRANS_SERVER, TRANS_REOPEN to quash warnings. Add #include <dix-config.h> or <xorg-config.h>, as appropriate, to all source files in the xserver/xorg tree, predicated on defines of HAVE_{DIX,XORG}_CONFIG_H. Change all Xfont includes to <X11/fonts/foo.h>.
2005-07-02Continuing Makefile cleanup; add DIX_CFLAGS and XORG_CFLAGS everywhere.Daniel Stone1-0/+2
2005-07-01Change all misc.h and os.h references to <X11/foo.h>.Daniel Stone20-36/+36
2005-07-01Change all misc.h and os.h references to <X11/foo.h>.Daniel Stone1-1/+1
2005-07-01Adding initial build system.Daniel Stone1-0/+33
2005-06-15Conditionalise another use of XEvIE.Daniel Stone1-1/+1
2005-06-15Conditionalise building of XEvIE code with #ifdef XEVIE.Daniel Stone1-1/+3
2005-06-10Bug #2799: Input shape. (Keith Packard)XORG-6_8_99_11Adam Jackson3-14/+42
2005-05-22Bugzilla #2800 <https://bugs.freedesktop.org/show_bug.cgi?id=2800> XevieXORG-6_8_99_8Alan Coopersmith4-27/+193
extension crash with signal 11 on keyboard Bugzilla #1205 <https://bugs.freedesktop.org/show_bug.cgi?id=1205> Xevie client receives two KeyPress events on consumed keys when XKB is enabled Patch #2223 <https://bugs.freedesktop.org/attachment.cgi?id=2223> Fixes for both of these and some other Xevie bugs (Derek Wang - Sun Microsystems)
2005-04-24xc/config/cf/X11.tmplXORG-6_8_99_4Roland Mainz2-1/+10
xc/programs/Xserver/Xext/Imakefile xc/programs/Xserver/dix/Imakefile xc/programs/Xserver/dix/main.c xc/programs/Xserver/dix/xpstubs.c xc/programs/Xserver/mi/miinitext.c //bugs.freedesktop.org/show_bug.cgi?id=2792) attachment #2526 (https://bugs.freedesktop.org/attachment.cgi?id=2526) bug 2792 part II: Make Xprint headers in dix/, mi/, os/ and Xext/ conditional on whether the Xprint extension is build or not. Patch by Egbert Eich <eich@freedesktop.org> and Roland Mainz <roland.mainz@nrubsig.org>.
2005-04-23//bugs.freedesktop.org/show_bug.cgi?id=3118) attachment #2525Roland Mainz1-6/+0
(https://bugs.freedesktop.org/attachment.cgi?id=2525) Get Xprint server working again which was broken by the 05/04/20 05:49:46 commit commit (the CPP symbol |XPRINT| is not universally available when building the Xserver and should be used with care).
2005-04-20Change xf86bigfont.h to X11/extensions/xf86bigfont.h for includes.Daniel Stone1-2/+2
2005-04-20Conditionalise usage of Xprint functions and headers.Daniel Stone1-1/+7
2005-04-20Change keysymdef.h to X11/keysymdef.h for include statement.Daniel Stone1-1/+1
2005-04-20Fix includes right throughout the Xserver tree:Daniel Stone22-63/+63
change "foo.h" to <X11/foo.h> for core headers, e.g. X.h, Xpoll.h; change "foo.h", "extensions/foo.h" and "X11/foo.h" to <X11/extensions/foo.h> for extension headers, e.g. Xv.h; change "foo.[ch]" to <X11/Xtrans/foo.[ch]> for Xtrans files.
2005-03-23xc/programs/Xserver/ImakefileRoland Mainz2-5/+22
xc/programs/Xserver/Xprint/DiPrint.h xc/programs/Xserver/Xprint/Imakefile xc/programs/Xserver/Xprint/Init.c xc/programs/Xserver/Xprint/ddxInit.c xc/programs/Xserver/dix/Imakefile xc/programs/Xserver/dix/main.c xc/programs/Xserver/dix/xpstubs.c xc/programs/Xserver/os/Imakefile //bugs.freedesktop.org/show_bug.cgi?id=2792) attachment #2193 (https://bugs.freedesktop.org/attachment.cgi?id=2193) Fix build bustage when |PrintOnlyServer| is set to |NO|. Patch by Roland Mainz <roland.mainz@nrubsig.org> and Julien Lafon <julien.lafon@gmail.com>.
2005-03-07xc/programs/Xserver/dix/atom.cRoland Mainz20-1701/+761
xc/programs/Xserver/dix/colormap.c xc/programs/Xserver/dix/cursor.c xc/programs/Xserver/dix/devices.c xc/programs/Xserver/dix/dispatch.c xc/programs/Xserver/dix/dixfonts.c xc/programs/Xserver/dix/dixutils.c xc/programs/Xserver/dix/events.c xc/programs/Xserver/dix/extension.c xc/programs/Xserver/dix/gc.c xc/programs/Xserver/dix/glyphcurs.c xc/programs/Xserver/dix/grabs.c xc/programs/Xserver/dix/main.c xc/programs/Xserver/dix/pixmap.c xc/programs/Xserver/dix/privates.c xc/programs/Xserver/dix/property.c xc/programs/Xserver/dix/resource.c xc/programs/Xserver/dix/swaprep.c xc/programs/Xserver/dix/swapreq.c //bugs.freedesktop.org/show_bug.cgi?id=2560) attachment #2037 (https://bugs.freedesktop.org/attachment.cgi?id=2037) ANSI-fy Xserver/dix code. The conversion preserves the comments which annotate variables. These have been moved into doxygen(esque?) "stubs" above each function. Patch by Mike Owens <etc@filespanker.com>.
2004-09-22Allow overriding DPMS defaults (timeouts & default for on/off) fromAlan Coopersmith1-5/+14
#defines/-D options. programs/Xserver/hw/xfree86/common/xf86DPMS.c Use defaultDPMSEnabled global for the default state of DPMS if not set in any config files. programs/Xserver/hw/xfree86/os-support/sunos/solaris-sparcv8plus.S Add support for required assembly inline functions for Sun compilers on Solaris/sparc. Add support for Solaris/sparc libraries.
2004-09-18Fix for http://freedesktop.org/bugzilla/show_bug.cgi?id=1404 - FixingRoland Mainz1-2/+2
random crashes (like in DAMAGE code etc.) in Xnest due uninitalised GetWindowPixmap. Original patch by Alexander Gottwald <ago@freedesktop.org>
2004-09-15Unregistering events in XSelectInput() when unregistering IM filterEgbert Eich1-1/+1
callbacks may be a bad idea as others may be interested in this event. Removed the call to XSelectInput() altogether as we are in root window anyway (Lubos Lunak). Fix size of a variable that gets assigned the value of SmartScheduleTime (long) to long. This should help to prevent smart scheduler lockup on 64 bit systems due to overruns (Andreas Schwab).
2004-08-13Empty damage object when freeing pixmap.Keith Packard1-11/+7
Wrap InstallColormap so that the DDX doesn't see colormaps from our ARGB visual (avoids lovely green tint to screen). Also, set visual->nplanes of ARGB visual to all used (including alpha) planes so DIX can set pixel values correctly. Translate automatic update regions correctly to account for borders When nplanes == 32 (ARGB visuals), mask in all ones for alpha values to allocated pixel values. Remove redundant fbAddTraps declaration Fix fbCopyWindow to work on non-screen pixmaps (not needed yet) Replace broken clipping code with that from modular tree. Respect subWindowMode.
2004-08-09- Fix building without Xfixes extensionKevin E Martin1-3/+10
- Fix building without Xevie - Fix building without DPMS - Fix "Extensions" section config file support to accept general boolean options
2004-08-07Remove alpha-related fields from visual structure to retain binaryKeith Packard1-13/+13
compatibilty. Applications using ARGB visuals will need to use Render or other mechanisms to compute pixel values instead of AllocColor
2004-07-31Integrate COMPOSITEWRAP branch including composite wrapper. This code stillEric Anholt2-3/+50
has several issues, including: - CopyWindow and PaintWindow wrappers missing (will be done soon) - Some segfaults seen in the Render wrappers. - Xprt server build breaks with Composite. - DDXs must be recompiled for Composite due to VisualRec size change. - Composite bugs pointed out by Deron Johnson in email. Also, reorder XFixes initialization according to comments by Keith which are also in xserver CVS.
2004-07-31- Add some XFIXES bits apparently missed in the DAMAGE-XFIXES mergeEric Anholt3-16/+32
- Add missing XCSECURITY ifdef. - Sync some whitespace to xserver CVS and surrounding style.
2004-07-31Integration of XEVIE branch to trunk, Some updates from latest reviewsStuart Kreitman1-1/+71
https://freedesktop.org/bugzilla/show_bug.cgi?id=947 Modified Files: events.c
2004-07-30Adding a colormap index to the InitColormapPrivate() func call. Without itEgbert Eich1-1/+1
it was completely useless. test if colormap with index really exists in the list of installed maps before using it.
2004-07-30Cleaned up code since client's saveSet is no longer defined as a pointer*Kevin E Martin1-4/+0
(forgot one change in previous check-in)
2004-07-29Use LibraryTargetName when not building a loadable serverKevin E Martin2-19/+3
Move extern function declarations to window.h Cleaned up code since client's saveSet is no longer defined as a pointer* Added externs back in Change #if to #ifdef to fix compiler warning Add function declarations that were inadvertently removed by previous check in Disable extensions that are not (yet) supported by DMX
2004-07-29Integration of DAMAGE-XFIXES branch to trunkStuart Kreitman4-33/+113
https://freedesktop.org/bugzilla/show_bug.cgi?id=859 Modified Files: dispatch.c dixutils.c events.c window.c
2004-06-30Add Distributed Multihead X (DMX) supportKevin E Martin2-5/+60
2004-06-21Bug 778: add ddxBeforeResetAlexander Gottwald1-1/+4
2004-04-25Fix for http://pdx.freedesktop.org/cgi-bin/bugzilla/show_bug.cgi?id=541 -Roland Mainz1-2/+2
Xorg Xprt may crash with "Freeing resource id=40200000 which isnt there"
2004-04-23Merging XORG-CURRENT into trunkEgbert Eich23-117/+207
2004-03-14Importing vendor version xf86-4_4_99_1 on Sun Mar 14 00:26:39 PST 2004xf86-4_4_99_1Egbert Eich23-23/+23
2004-03-03Importing vendor version xf86-4_4_0 on Wed Mar 3 04:09:24 PST 2004xf86-4_4_0Egbert Eich23-23/+23
2004-02-26readding XFree86's cvs IDsxf86-4_3_99_903Egbert Eich23-23/+23
2004-02-26Importing vendor version xf86-4_3_99_903 on Wed Feb 26 01:21:00 PST 2004Egbert Eich23-23/+23
2004-01-29Importing vendor version xf86-012804-2330 on Thu Jan 29 00:06:33 PST 2004xf86-012804-2330Egbert Eich1-12/+16