Commit Graph

843 Commits

Author SHA1 Message Date
Alexander Gottwald
0bb2eb8eaa Fix problem with fake Control press on Alt-Gr
https://bugs.freedesktop.org/show_bug.cgi?id=3680
    https://bugs.freedesktop.org/show_bug.cgi?id=3497
Fix static declaration of winGetBaseDir
2005-07-05 15:43:20 +00:00
Alexander Gottwald
3af77ad3e7 External windowmanagers could connect in multiwindow mode which lead to
strange results with the internal windowmanager.
2005-07-05 14:09:48 +00:00
Alexander Gottwald
426282268b Build miinitext.c and fbcmap.c as DDX specific files
Do not define _POSIX_SOURCE on cygwin.
2005-07-04 23:40:09 +00:00
Alexander Gottwald
048045a9e7 Add XWin DDX, make Xorg DDX conditional Make XF86VidMode and XF86Misc
conditional
Add XWin DDX
Added DDXTIME, DDXOSFATALERROR, DDXOSVERRORF and DDXBEFORERESET
Added fbcmap.c
Added miinitext.c
Added -I$(top_srcdir)/Xext/extmod to INCLUDES
2005-07-04 22:18:40 +00:00
Alexander Gottwald
508cdb5cb0 Include xwin-config.h if HAVE_XWIN_CONFIG is defined Cleanup X11 includes
handling Warning fixes
2005-07-04 22:10:43 +00:00
Zack Rusin
5e50ae22bf remove the temporary debugging output 2005-07-04 18:55:53 +00:00
Adam Jackson
7586ac6ede Bug #2216: Multiseat support. From various Debian and Ubuntu patches by
Aivils Stoss, Andreas Schuldei, Branden Robinson, and Daniel Stone.
2005-07-04 18:41:04 +00:00
Zack Rusin
e34f31762e This fixes the close screen mess (crash reported by Thomas). Also hide the
private Exa screen definition. Properly cleanup on screen close and do
    not delete the private screen in the DriverFini call.
2005-07-04 14:15:57 +00:00
Alan Coopersmith
7dc547252a Fix builds on non-GLIBC systems (missing __GLIBC_PREREQ). Add Solaris stack
backtrace dumper.
2005-07-04 00:16:23 +00:00
Daniel Stone
d010de6979 Abandon the nostdinc experiment. 2005-07-03 15:51:23 +00:00
Daniel Stone
b0d80e76d2 Add missing include paths. 2005-07-03 12:17:04 +00:00
Daniel Stone
c1e69798ad Add explicit PSZ defines, remove unnecessary dix-config.h include.
Add -DXF86PM, forgotten from last commit.
2005-07-03 12:15:16 +00:00
Daniel Stone
4e501d35e2 Remove needless usage of DECkeysym.h. 2005-07-03 10:51:16 +00:00
Daniel Stone
a107f59951 Predicate usage of xf86OSPM functions on #ifdef XF86PM.
Remove needless include of ../input/mouse/mouse.h.
2005-07-03 09:39:54 +00:00
Daniel Stone
0bb669638f Change <X11/misc.h> and <X11/os.h> to "misc.h" and "os.h". 2005-07-03 08:53:54 +00:00
Daniel Stone
e03198972c Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings.
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-03 07:02:09 +00:00
Kevin E Martin
b8aef6c474 Fix build issues. 2005-07-03 03:28:27 +00:00
Daniel Stone
826a6f029f Continuing Makefile cleanup; add DIX_CFLAGS and XORG_CFLAGS everywhere. 2005-07-02 18:59:44 +00:00
Adam Jackson
e58c09d31b Bug #3687: Print backtraces on fatal signal on glibc systems. 2005-07-02 18:06:05 +00:00
Adam Jackson
e6602b041f Bug #3546: Use MAP_LENGTH instead of a magic number. (Mark McLoughlin) Bug
#3664: Further fixes to Xnest modifier state handling. (Mark
    McLoughlin)
2005-07-02 17:02:23 +00:00
Daniel Stone
9b1debcdb6 Change all misc.h and os.h references to <X11/foo.h>. 2005-07-01 22:43:43 +00:00
Daniel Stone
303c281f95 Add auto-generated header files. 2005-07-01 21:15:20 +00:00
Daniel Stone
7ecc2d526c Remove fbcmap.c hacks from the DIX. 2005-07-01 21:12:24 +00:00
Daniel Stone
6251f9c00a Minor build system tweaks. 2005-07-01 21:11:16 +00:00
Daniel Stone
ded56b1a74 Adding initial build system. 2005-07-01 20:29:53 +00:00
Zack Rusin
aabb868920 removing all debugging output from the default build :) 2005-07-01 13:30:29 +00:00
Zack Rusin
0fa9d1fb48 Leave debugging output for only the interested parties. 2005-07-01 12:24:30 +00:00
Zack Rusin
0df446ab88 Missed this. Spotted by Thomas. 2005-07-01 10:39:21 +00:00
Lars Knoll
b5b2a0522e Add support for gradients and solid fills to Render.
Changed the semantics of the Convolution filter a bit. It now doesn't try
    to normalize the filter values but leaves this to the client. This
    gives more reasonable behaviour in the limit where the filter
    parameters sum up to 0.
2005-07-01 10:05:43 +00:00
Zack Rusin
30c019e847 Adding the new acceleration architecture: Exa. It's meant to replace XAA in
the coming months.
2005-07-01 08:56:12 +00:00
David Reveman
276821605e Fix return values in Xgl render texture implementation 2005-07-01 03:14:54 +00:00
Alex Deucher
5e381441ff - Fix Support for Philips FM1236/F tuner on ATI AIW 9600 XT (Jeff Smith)
Bug 3401
2005-07-01 02:56:04 +00:00
Alexander Gottwald
1230c55ac3 Pass serverClient instead of NULL to ConfigureWindow. This should fix a
crash reported by Øyvind Harboe
2005-06-30 18:50:20 +00:00
Matthew Allum
0929f79c1b Another Xephyr focus/modifier fix 2005-06-30 13:39:00 +00:00
Lars Knoll
b6c7afe0b9 compile 2005-06-29 15:19:14 +00:00
Lars Knoll
d8a98454e3 Add support for gradients and solid fills to Render.
Changed the semantics of the Convolution filter a bit. It now doesn't try
    to normalize the filter values but leaves this to the client. This
    gives more reasonable behaviour in the limit where the filter
    parameters sum up to 0.
2005-06-29 11:57:16 +00:00
Adam Jackson
ce0e11aeac Bug #2447: Fix argument order to xf86DrvMsgVerb. (Luc Verhaegen) 2005-06-28 21:05:31 +00:00
Alan Coopersmith
5ef5aec9bb Update to latest snapshot (27-May-2005) from http://pciids.sf.net/ 2005-06-28 02:04:54 +00:00
Adam Jackson
b262a18aad Cosmetic correctness fixes: miEmptyBox and miEmptyData are variables, and
miGlyphExtents is a function.
2005-06-26 02:48:36 +00:00
Adam Jackson
aa7fb99bc7 Bug #3030: Fix Xnest keyboard state handling. (Mark McLoughlin) 2005-06-25 21:28:48 +00:00
Adam Jackson
8562f800b8 Bug #3626: _X_EXPORT tags for video and input drivers. 2005-06-25 21:16:54 +00:00
Matthew Allum
5620122206 Fix issues with focus in and modifiers from host confusing Xephr 2005-06-23 16:50:07 +00:00
Matthew Allum
a668b6c11a redo tslib 2005-06-23 16:34:07 +00:00
Søren Sandmann Pedersen
9743adbe94 Add Type1 subdirectory to lib/Xfonts, update build system accordingly. 2005-06-16 20:50:12 +00:00
Ian Romanick
68e856ff5b DRM 20050615 import 2005-06-15 18:31:52 +00:00
Ian Romanick
6e301a8e97 Initial revision 2005-06-15 18:31:52 +00:00
David Reveman
bd54b96034 Shut up compiler 2005-06-15 05:50:15 +00:00
Eric Anholt
0802a2824c Correct the CHIPSET lines for the 3dfx cards so the tdfx driver will
recognize them. I'm not sure if this file is supposed to be maintained
    still, but I'd like to close FreeBSD ports/32121 which has been around
    for far too long.
2005-06-13 18:14:53 +00:00
David Reveman
2eab094816 Build fixes 2005-06-13 16:38:06 +00:00
David Reveman
f0ab6d57df Remove xgloffscreen.c 2005-06-13 06:00:35 +00:00
Adam Jackson
f5aeaa7710 Bug #3513: Silence unhandled event messages from Xnest when running with
-parent. (Mark McLoughlin)
2005-06-13 00:09:23 +00:00
David Reveman
521916d007 New implementation of GLX_MESA_render_texture 2005-06-10 12:30:39 +00:00
Eric Anholt
d24ed90547 Axe a few dead fields from the port priv struct and add my name to the
"Copyright" line of the license to ati_video.c that already has my name
    in the text.
2005-06-10 02:14:44 +00:00
Eric Anholt
75065f3a54 Perform a warnings sweep on hw/kdrive. A number of these were my fault, but
some come from others.
2005-06-09 23:22:55 +00:00
Eric Anholt
e11e60b361 Greatly improve the correctness and performance of the MGA render
implementation. Includes cache flushing to prevent bad first reads of
    the framebuffer, fixing blending of many formats, falling back on many
    unsupported operations, and falling back early to prevent migration.
    Passes all of rendercheck except some of the blend (!) tests.
2005-06-09 21:59:26 +00:00
Matthew Allum
92b3775ae8 TSLib fixes. Add fullscreen support to ephyr 2005-06-09 16:22:27 +00:00
Eric Anholt
545c082cf9 - Replace the syncAccel hook in the kdrive structure with a pair of hooks
in the kaa structure: markSync and waitMarker. The first, if set,
    returns a hardware-dependent marker number which can then be waited for
    with waitMarker. If markSync is absent (which is the case on all
    drivers currently), waitMarker must wait for idle on any given marker
    number. The intention is to allow for more parallelism when we get
    downloading from framebuffer, or more fine-grained idling.
- Replace the KdMarkSync/KdCheckSync functions with kaaMarkSync and
    kaaWaitSync. These will need to be refined when KAA starts being smart
    about using them. Merge kpict.c into kasync.c since kasyn.c has all the
    rest of these fallback funcs.
- Restructure all drivers to initialize a KaaInfo structure by hand rather
    than statically in dubious order.
- Whack the i810 driver into shape in hopes that it'll work after this
    change (it certainly wouldn't have before this). Doesn't support my
    i845 though.
- Make a new KXV helper to avoid duplicated code to fill the region with
    the necessary color key. Use it in i810 and mach64 (tested).
2005-06-09 10:44:45 +00:00
Alan Coopersmith
72ca8e1b54 Add agpgart support for Solaris x86/x64. [Requires Solaris "Nevada" build
16 or later to get kernel side for now.] (Sophia Li - Sun Microsystems)
2005-06-09 03:11:58 +00:00
Adam Jackson
e3cdec7cdc Bug #1880: Remove unused xnestConfineWindow. (Mark McLoughlin) 2005-06-09 02:19:10 +00:00
Alexander Gottwald
e7fec996eb Merge from CYGWIN Added layout "French (Canada)" as ca_enhanced Added Czech
(QWERTY) layout
Merge from CYGWIN Print error code if winStoreColorsShadowDDNL fails
2005-06-08 16:13:11 +00:00
Alexander Gottwald
d0d164e6da Fix crash reported by Øyvind Harboe 2005-06-08 09:01:41 +00:00
David Reveman
d146c41882 GLX improvements and remove use of pbuffers for offscreen rendering in Xgl 2005-06-07 08:53:40 +00:00
Jon Smirl
8237b31f60 Keyboard sort of works now with evdev 2005-06-06 04:06:38 +00:00
Jon Smirl
c5026577cb Create a default colormap 2005-06-05 17:32:41 +00:00
Jon Smirl
021a5cd170 Enable egl server in automake
--enable-xeglserver
2005-06-05 01:58:41 +00:00
Jon Smirl
aa95967286 Initial Xegl check-in. Works on EGL fbdev driver Input is totally broken. 2005-06-04 23:33:03 +00:00
Alan Coopersmith
88d49bed00 Need to set initial screen size at device open time too. 2005-06-03 21:49:11 +00:00
Alexander Gottwald
0d206e177f Backout last winRaiseWindow patch which caused stacking problems 2005-06-03 08:12:22 +00:00
Alan Coopersmith
2fc290f646 Solaris VUID mouse protocol updates:
- support for mouse-like devices that report absolute coordinates
- support for mouse-like devices that need to know screen size so they can
    scale absolute coordinates to screen size
- fix 3-button emulation
2005-06-01 17:45:17 +00:00
Adam Jackson
8537146e36 Bug #3368: Cosmetic cleanup to DIX export list. 2005-05-30 18:44:55 +00:00
Adam Jackson
547c47aaea Bug #3407: Clean out ancient #ifdef X11R5 conditionals. 2005-05-30 18:36:19 +00:00
Alan Coopersmith
cebd7348d2 Change hardcoded /usr/X11R6 to PROJECTROOT. Change hardcoded XF86Config to
XCONFIGFILE.
2005-05-28 00:08:03 +00:00
Alexander Gottwald
1cb18a4bad Workaround bug in pthread.h 2005-05-25 12:14:29 +00:00
Alan Coopersmith
62343f5162 Bugzilla #2800 <https://bugs.freedesktop.org/show_bug.cgi?id=2800> Xevie
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-05-22 01:12:49 +00:00
Alan Coopersmith
a8a61bbe22 Initial experimental support for AMD64 builds on Solaris 10 x86. Improved
support for 64-bit SPARC builds on Solaris as well.
2005-05-21 07:46:38 +00:00
Adam Jackson
ef4401ff8a Bug #3334: Clean up remnants from the PEX, XIE, and BEZIER extensions. 2005-05-19 18:53:51 +00:00
Adam Jackson
07d1e9ae5f Bug #3066: Promote frameBufferPhysicalAddress to pointer from CARD32; bump
DRIINFO version to match. Fix various pointer printfs in libdri to be
    64-bit aware. Silence a warning about redefining noXFree86DRIExtension.
    (Jesse Barnes)
2005-05-18 19:44:35 +00:00
Adam Jackson
b87a32fb0e Bug #3163: Create new DRIINFO_*_VERSION macros to indicate the version
number of the DRIInfoRec, disambiguating it from the XF86DRI protocol
    version number. Modify DRIQueryVersion to return the libdri version
    number, which all DDXes were requesting implicitly. Fix the DDXes to
    check for the DRIINFO version they were compiled against.
2005-05-18 17:47:35 +00:00
Egbert Eich
fddcde777f VBESetVBEMode() calls int10 0x4f02 to set a VBE video mode. This can be a
standard mode solely determined by the mode ID or it may be a detailed
    mode with almost arbitrary mode parameters. The mode parameters are
    passed to the BIOS in a memory area pointed to by es:di. If bit 11 in
    the video mode is set this memory area is evaluated. When we don't have
    such an area (passed to VBESetVBEMode() this function should unset this
    bit for sanity reasons. (Bugzilla #3329)
2005-05-18 15:38:50 +00:00
Egbert Eich
bbbb0a3a84 Avoid segfaults if the number of user supplied monitor ranges exceed the
number of preallocated slots. We should really make this dynamic - but
    I don't think this ever caused a problem so it's more or less academic.
A. Avoid that *SyncStart starts before *BlankStart. If *BlankStart >
*SyncStart it is made = *SyncStart and its width is made maximal but such
    that the blank does not exceed *Total. Since the Sync width has the
    same restrictions as the Blank width monitors should still be able to
    clamp after the sync pulse. B. Over time mode validation has become
    inconsistent when people started to add additional features to the mode
    validation. One such feature is that the mode->Crtc* values have been
    (ab)used to allow the driver ValidMode() function to pass driver
    normalized timing values back to the validation function. The
    introduction of these features made the code less readable and created
    numerous possibly unintended side effects in the validation semantics.
    I've attempted to consolidate these changes making the code more
    consistent and eliminating a number of side effects. This should not
    cause problems for the majority of drivers, still it should receive
    testing - especially with ATi Mach64 and Radeon code. (Bugzilla #3325).
2005-05-18 10:31:53 +00:00
Thomas Hellstrom
a90af4a2e6 Bug 2750: Prevent mtrr_remove_offending from ending up in an endless loop
if the offending region refuses to be removed.
2005-05-15 17:45:47 +00:00
Eric Anholt
8993e70d8d Bugzilla #2561: Disable some keycode translations on PC98, which had
various bad effects including modifier keys not working.
2005-05-10 00:12:17 +00:00
Eric Anholt
e78abf3bdf Bugzilla #2429: Correct the sysarch prototype for FreeBSD/alpha. 2005-05-09 23:42:26 +00:00
Eric Anholt
3f1a1551df Increase the maximum number of buttons from 12 to 24. Helps with
button-happy mice like the Logitech MediaPlay. (Bugzilla #2390)
2005-05-09 23:26:02 +00:00
Alexander Gottwald
2c9b1e337b Only call ConfigureWindow from winRaiseWindow if the windows message
dispatch loop is running.
2005-05-08 21:14:55 +00:00
Torrey Lyons
78e4cb67d0 Fix build issues on Mac OS X 10.4.0. 2005-05-06 00:45:30 +00:00
Eric Anholt
d5739efd2c Port X.Org to FreeBSD/powerpc. This makes a bit of math for sysmouse in
mouse.c explicitly signed, avoiding the need for -fsigned-chars. (Peter
    Grehan, grehan at FreeBSD dot org)
2005-05-04 04:14:58 +00:00
Alexander Gottwald
baa0cfc154 Print correct logfile in FatalError message 2005-05-02 14:07:31 +00:00
David Reveman
bc977945a5 Set stencil size for Xgl GLX visuals 2005-05-02 00:33:52 +00:00
David Reveman
5b4462ed9b New algorithm for calculating glyph extents in Xgl 2005-05-01 22:55:25 +00:00
David Reveman
246b14cb29 Minor optimization 2005-04-27 10:34:33 +00:00
David Reveman
28a2d841ce Line drawing improvements to Xgl 2005-04-27 09:29:33 +00:00
David Reveman
abcc8c352e Fix typo 2005-04-27 08:45:16 +00:00
David Reveman
8bc5a387c3 Add glCopy operation and glPushAttrib/glPopAttrib support to Xgl GLX 2005-04-26 11:04:23 +00:00
David Reveman
ba24ae89d3 Add scissor based clipping to Xgl GLX 2005-04-25 17:18:01 +00:00
Adam Jackson
07cc29cf69 Bug #2138: When the server is built with MakeDllModules YES, prefer
dlloader modules to elfloader modules, and vice versa when
    MakeDllModules is NO. Based on 028_loader_speed_hack.diff from Ubuntu
    (Daniel Stone).
2005-04-25 00:25:39 +00:00
Adam Jackson
6c37648754 Bug #2141: Rework misleading warning message when APM support is
unavailable. (Previous patch on 2005-04-14 changed the wrong message.)
2005-04-25 00:11:21 +00:00
Adam Jackson
39eb279718 Bug #3016: Don't complain as loudly about failing to load a module that's
already loaded.
2005-04-23 19:16:10 +00:00
Adam Jackson
139f900c56 Bug #3109: Handle R_ALPHA_BRSGP relocations in elfloader. (Sergey Tikhonov) 2005-04-23 19:01:13 +00:00
Alan Coopersmith
0e80fe0e60 Clean up formatting, projectroot substutition, and grammatical nits. 2005-04-22 22:11:26 +00:00