| a3cee91a |
24-Jun-2025 |
tsutsui <tsutsui@NetBSD.org> |
Register XFree86 DDX specific "XFree86_VT" Atom to appease xinit(1). |
| 381f08b9 |
24-Jun-2025 |
tsutsui <tsutsui@NetBSD.org> |
Make sure to initialize default XKB rules earlier for Core Keyboard. |
| 2f76b07d |
24-Jun-2025 |
mrg <mrg@NetBSD.org> |
merge xorg-server 21.1.18. |
| 54b5899c |
24-Jun-2025 |
mrg <mrg@NetBSD.org> |
initial import of xorg-server-21.1.18 |
| 59a1f54a |
22-Jun-2025 |
tsutsui <tsutsui@NetBSD.org> |
Make sure the keyboard device is actually enabled in DDXRingBell(). Also use consistent variable names for readability. |
| 62918564 |
22-Jun-2025 |
tsutsui <tsutsui@NetBSD.org> |
Allocate keyboard and mouse event buffers in the device private structures. Also simplify GetEvents functions. |
| 9decb2cd |
22-Jun-2025 |
tsutsui <tsutsui@NetBSD.org> |
Allocate X68kKbdPriv dynamically to make it really private. DEVICE_OFF and DEVICE_CLOSE operations are adjusted accordingly. x68kGetKbdType() function is also added to get keyboard map type specified in the config file. |
| 3ec86d60 |
22-Jun-2025 |
tsutsui <tsutsui@NetBSD.org> |
Allocate X68kMousePriv dynamically to avoid static buffers. DEVICE_OFF and DEVICE_CLOSE operations are also adjusted. |
| 4ff7d041 |
22-Jun-2025 |
tsutsui <tsutsui@NetBSD.org> |
Reduce references to x68kKbdPriv and x68kMousePriv for readability. |
| 45f60b5b |
22-Jun-2025 |
tsutsui <tsutsui@NetBSD.org> |
Refactor X68k input device handling to remove SIGIO based event processing. The keyboard and pointer input events are now processed directly using fd event notifications registered via DIX SetNotifyFd(), instead of the legacy SIGIO-based asynchronous I/O. |
| b0c54374 |
22-Jun-2025 |
tsutsui <tsutsui@NetBSD.org> |
Use consistent name for DeviceIntPtr variables among keyboard and mouse. |
| f8338865 |
21-Jun-2025 |
tsutsui <tsutsui@NetBSD.org> |
Make sure the keyboard device is actually enabled in DDXRingBell(). Also use consistent variable names for readability. |
| 2eda485b |
21-Jun-2025 |
tsutsui <tsutsui@NetBSD.org> |
No need to check if the device is enabled in event handler functions. These event handlers are activated by SetNotifyFd() only after DXX deviceProc() functions are called with DEVICE_ON from DIX EnableDevice() function. |
| 685bea66 |
21-Jun-2025 |
tsutsui <tsutsui@NetBSD.org> |
Remove unused variables. |
| 8931864a |
21-Jun-2025 |
tsutsui <tsutsui@NetBSD.org> |
Add a static function declaration in sunMouse.c. |
| 7ec0c9b9 |
21-Jun-2025 |
tsutsui <tsutsui@NetBSD.org> |
Add and sort static function declarations in sunKbd.c. |
| e83940e6 |
21-Jun-2025 |
tsutsui <tsutsui@NetBSD.org> |
Allocate keyboard and mouse event buffers in the device private structures. Also simplify GetEvents functions. Tested on Sun 3/60 with bwtwo. |
| c38b1532 |
21-Jun-2025 |
tsutsui <tsutsui@NetBSD.org> |
Replace old FNDELAY for fcntl(2) with O_NONBLOCK defined in POSIX. |
| 32b6075a |
21-Jun-2025 |
tsutsui <tsutsui@NetBSD.org> |
Also Refactor sunKbdPrivRec in sunKbd.c to make it private. Now the keyboard device is opened and sunKbdPrivRec is dynamically allocated within the DEVICE_INIT phase of sunKbdProc(). DEVICE_OFF and DEVICE_CLOSE operations are also adjusted accordingly. Tested on Sun 3/60. |
| 2da8aa69 |
21-Jun-2025 |
tsutsui <tsutsui@NetBSD.org> |
Refactor sunPtrPrivRec in sunMouse.c to make it really private. The mouse device is now opened and sunPtrPrivRec is allocated within the DEVICE_INIT phase of sunMouseProc(). DEVICE_OFF and DEVICE_CLOSE operations are also adjusted accordingly. Tested on Sun 3/60. |
| 48c4760e |
21-Jun-2025 |
tsutsui <tsutsui@NetBSD.org> |
Reduce global references to sunPtrPriv, as sunKbd.c does. |
| 177290df |
21-Jun-2025 |
tsutsui <tsutsui@NetBSD.org> |
Refactor Xsun input device handling to remove SIGIO based event processing. The keyboard and pointer input events are now processed directly using fd event notifications registered via DIX SetNotifyFd(), instead of the legacy SIGIO-based asynchronous I/O. This refactoring improves the maintainability and portability of the code by aligning with modern Xorg server practices. Tested on Sun 3/60 with bwtwo, Type-4 keyboard and mouse. |
| d8389a6e |
17-Jun-2025 |
tsutsui <tsutsui@NetBSD.org> |
Initialize DDX pointer valuators consistently with other drivers/servers. This may not be strictly necessary, since InitValuatorAxisStruct() for all axes is also called from the DIX InitPointerDeviceStruct() via InitValuatorClassDeviceStruct() with default values. However, for future X.Org updates, it is beneficial to keep the DIX-DDX interface implementation in MouseProc's DEVICE_INIT operation consistent with the official xf86-input-mouse driver, xquartz DDX server, and others. |
| 1406604b |
17-Jun-2025 |
tsutsui <tsutsui@NetBSD.org> |
Properly apply DIX locking to input events in NetBSD-specific DDX servers. This thread-based DIX locking approach using input_lock() and input_unlock() has been available since X.Org 1.19.0: https://gitlab.freedesktop.org/xorg/xserver/-/commit/30ac7567980a1eb79d084a63e0e74e1d9a3af673 All xfree86 DDX implementations have switched to using these new DIX locks instead of the old OsBlockSIGIO() / OsReleaseSIGIO() methods: https://gitlab.freedesktop.org/xorg/xserver/-/commit/6a5a4e60373c1386b311b2a8bb666c32d68a9d99 The xquartz DDX (an official X.Org server implementation) also uses these locks for input events: https://gitlab.freedesktop.org/xorg/xserver/-/commit/7d6ebf3f4e4d517bb846d15a5deb131da19a267c This should resolve occasional SIGSEGVs in the Xsun server caused by NULL pointer dereferences around the event queue handlers under heavy load. Should be pulled up to netbsd-10. |
| d566a54b |
26-Feb-2025 |
mrg <mrg@NetBSD.org> |
merge xorg-server 21.1.16. |
| f2346221 |
26-Feb-2025 |
mrg <mrg@NetBSD.org> |
initial import of xorg-server-21.1.16 |
| 59ca590c |
30-Oct-2024 |
mrg <mrg@NetBSD.org> |
merge xorg-server 21.1.14. |
| 58cf2af7 |
30-Oct-2024 |
mrg <mrg@NetBSD.org> |
initial import of xorg-server-21.1.14 |
| 875c6e4f |
04-Jul-2024 |
mrg <mrg@NetBSD.org> |
merge xorg-server 21.1.13. |
| d9252ffb |
04-Jul-2024 |
mrg <mrg@NetBSD.org> |
initial import of xorg-server-21.1.13 |
| c855858b |
21-Jun-2024 |
mrg <mrg@NetBSD.org> |
fix build on alpha. some clean up upstream didn't get tested on alpha it seems, with both missing CARD8 etc identifiers as well as dead/duplicate code. |
| bf7d8d8d |
10-Jun-2024 |
macallan <macallan@NetBSD.org> |
make sure we fill in the name field in generated / converted modes fixes PR 58321, tested by tsutsui@ |
| 01260a01 |
25-Mar-2024 |
jandberg <jandberg@NetBSD.org> |
xf86-video-wsfb: Add support for 16 color mode on Amiga - Sets up 8bpp shadow framebuffer with depth 4 - Bitplane conversion done in shadow update function - Adds new shadow update function shadowUpdateAfb4x8, which is a slightly modified version of existing shadowUpdateAfb4/8. Discussion on tech-x11: http://mail-index.netbsd.org/tech-x11/2024/02/29/msg002447.html |
| f0d0f83f |
25-Oct-2023 |
mrg <mrg@NetBSD.org> |
merge xorg-server 21.1.9. |
| eee80088 |
25-Oct-2023 |
mrg <mrg@NetBSD.org> |
initial import of xorg-server-21.1.9 |
| 66a63a3a |
30-Mar-2023 |
mrg <mrg@NetBSD.org> |
merge xorg-server 21.1.8. |
| 23bc1c4e |
30-Mar-2023 |
mrg <mrg@NetBSD.org> |
initial import of xorg-server-21.1.8 |
| 3138c4c0 |
07-Feb-2023 |
mrg <mrg@NetBSD.org> |
merge xorg-server 21.1.7. |
| a1e1cf94 |
07-Feb-2023 |
mrg <mrg@NetBSD.org> |
initial import of xorg-server-21.1.7 |
| 2d19872a |
08-Jan-2023 |
mrg <mrg@NetBSD.org> |
merge xorg-server 21.1.6. |
| d36a1693 |
08-Jan-2023 |
mrg <mrg@NetBSD.org> |
initial import of xorg-server-21.1.6 |
| 9f4f9267 |
19-Dec-2022 |
mrg <mrg@NetBSD.org> |
fix a couple of merge botches (duplicated) delete #if 0'd sections. reduces diffs vs upstream. |
| e383896c |
19-Dec-2022 |
mrg <mrg@NetBSD.org> |
merge xorg-server 1.21.1.5 |
| c82838c1 |
19-Dec-2022 |
mrg <mrg@NetBSD.org> |
initial import of xorg-server-21.1.5 |
| dd7a8049 |
12-Aug-2022 |
mrg <mrg@NetBSD.org> |
avoid variable stack arrays. USE_SSP=yes builds don't work with this new xorg-server version, adjust the drmmode_set_gamma_lut() call to use malloc() instead of the stack, and pass down a higher level pointer to gain access to the screen index so error messages with xf86DrvMsg() work. tested on pinebookpro. |
| af632f0a |
30-Jul-2022 |
tsutsui <tsutsui@NetBSD.org> |
Pull an upstream (post-21.1) fix for xf86CompatOutput(). https://gitlab.freedesktop.org/xorg/xserver/-/commit/75d70612888f18339703315549db781a22c0cb23 This is an additional fix against the previous revision that is avaiable in 21.1 branch: https://gitlab.freedesktop.org/xorg/xserver/-/commit/80eeff3ebac772e25c9107199989e677457dbe06 and may avoid a possible out of bounds access at least on dumb wsfb servers. ok'ed by mrg@ on current-users@: https://mail-index.netbsd.org/current-users/2022/07/24/msg042731.html |
| 9b06bd19 |
30-Jul-2022 |
tsutsui <tsutsui@NetBSD.org> |
Restore -flipPixels option removed in upstream server-21.1-branch. https://gitlab.freedesktop.org/xorg/xserver/-/commit/d1c00c859c6676fbb540420c9055788bc19cb18f Note ScrnInfoRec structure in hw/xfree86/common/xf86str.h isn't reverted because it isn't used by -flipPixels option so that we can keep ABI compatibility among xf86-video-foo drivers. This -flipPixels is mandatory at least by Xorg server users with xf86-video-wsfb driver on NetBSD/mac68k and SE/30 mono screen that has "black=1 and white=0" VRAM. "go for it" by mrg@ on current-users@: https://mail-index.netbsd.org/current-users/2022/07/24/msg042731.html |
| b4ad08b8 |
20-Jul-2022 |
mrg <mrg@NetBSD.org> |
use PRIu64 and hopefully fix some clang builds. |
| 357cbbce |
16-Jul-2022 |
tsutsui <tsutsui@NetBSD.org> |
Merge AbortDDX() into ddxGiveUp() as other upstream DDX servers. https://gitlab.freedesktop.org/xorg/xserver/-/commit/a23eba2a91024d27da45e5aee1f4215f7ec2ae82 > These are so close to identical that most DDXes implement one in terms > of the other. All the relevant cases can be distinguished by the error > code, so merge the functions together to make things simpler. |
| 6b007147 |
15-Jul-2022 |
mrg <mrg@NetBSD.org> |
couple of changes needed for xorg-server 21.1.4. - AbortDDX() is removed, make it static to avoid code churn since it is used by internal code now - LegalModifier() is gone - if the PRESENT extension isn't included, don't enable the -fakescreenfps option since it require PRESENT. fixes builds for sun3 and x68k. |
| 90bea6a0 |
15-Jul-2022 |
mrg <mrg@NetBSD.org> |
merge xorg-server 21.1.4. |
| dc61d50d |
15-Jul-2022 |
mrg <mrg@NetBSD.org> |
initial import of xorg-server-21.1.4 |
| b6e9998c |
15-Jul-2022 |
mrg <mrg@NetBSD.org> |
make this actually build again on arm/mips. |
| d1207fdd |
15-Jul-2022 |
mrg <mrg@NetBSD.org> |
use "1ULL << 32" for a 64 bit member, not 1UL. |
| ee704fb5 |
15-Jul-2022 |
mrg <mrg@NetBSD.org> |
fix merge botch. |
| 5a112b11 |
15-Jul-2022 |
mrg <mrg@NetBSD.org> |
merge xorg-serer 21.1.3. |
| ed6184df |
15-Jul-2022 |
mrg <mrg@NetBSD.org> |
initial import of xorg-server-21.1.3 |
| 2e51902d |
05-Dec-2021 |
nia <nia@NetBSD.org> |
Follow the error path if asprintf fails, not if it succeeds. |
| 320ec9fe |
22-Oct-2021 |
macallan <macallan@NetBSD.org> |
recognize Southland Media MGX |
| 5ab83d5b |
15-Oct-2021 |
tsutsui <tsutsui@NetBSD.org> |
Handle restoring keyboard state via AbortDevices() rather than AbortDDX(). Tested on 3/60. Note AbortDevices() and DEVICE_ABORT in deviceProc functions were introduced after Xorg 1.14.0: https://gitlab.freedesktop.org/xorg/xserver/-/commit/9f79e93b6b3416055d08a0e8f9f16d5fd0649e36 |
| c95cc6a4 |
28-Sep-2021 |
nia <nia@NetBSD.org> |
Switch to xf86-input-ws for mouse by default, to allow more advanced input devices to Just Work. |
| b3a28be8 |
23-Aug-2021 |
mrg <mrg@NetBSD.org> |
merge xorg-server 1.20.13. |
| feca226d |
23-Aug-2021 |
mrg <mrg@NetBSD.org> |
initial import of xorg-server-1.20.13 |
| d44ca368 |
11-Jul-2021 |
mrg <mrg@NetBSD.org> |
merge xorg-server 1.20.12 and xkeyboard-config 2.33. |
| a035e2b2 |
11-Jul-2021 |
mrg <mrg@NetBSD.org> |
initial import of xorg-server-1.20.12 |
| 9a60bbbb |
04-Jul-2021 |
christos <christos@NetBSD.org> |
elide cast warning: error: cast from pointer to integer of different size |
| f1696b1f |
03-Jul-2021 |
martin <martin@NetBSD.org> |
Add missing include of compiler.h and make all declarations of IOPortBase consistent. |
| a8855338 |
02-Jul-2021 |
christos <christos@NetBSD.org> |
use PORT_SIZE from compiler.h instead of int. |
| 9ada8dbe |
02-Jun-2021 |
joerg <joerg@NetBSD.org> |
Provide canonical declaration of IOPortBase for MIPS here, too. |
| ad01e365 |
31-May-2021 |
joerg <joerg@NetBSD.org> |
Avoid multiple definitions of the same variable. |
| 5fad172e |
27-Apr-2021 |
mrg <mrg@NetBSD.org> |
merge xorg-server 1.20.11. |
| c8548ba8 |
27-Apr-2021 |
mrg <mrg@NetBSD.org> |
initial import of xorg-server-1.20.11 |
| 26f5ec08 |
22-Mar-2021 |
tsutsui <tsutsui@NetBSD.org> |
Explicitly include dix-config.h for HAVE_foo definitions referred in os.h. |
| 2aa2a51f |
17-Mar-2021 |
tsutsui <tsutsui@NetBSD.org> |
Fixes "FatalError re-entered, aborting" error when Xservers get SIGSEGV. Handle a new DEVICE_ABORT mode perperly in deviceProc funtions. Also don't exit via FatalError() on an unknown mode because it looks upstream assumes DDX deviceProc functions don't treat it fatal: https://gitlab.freedesktop.org/xorg/xserver/-/commit/9f79e93b6b3416055d08a0e8f9f16d5fd0649e36 |
| 8e6ade5b |
11-Mar-2021 |
tsutsui <tsutsui@NetBSD.org> |
Avoid polluting console on non-fatal errors. |
| 9c576acf |
11-Mar-2021 |
tsutsui <tsutsui@NetBSD.org> |
ErrorF() doesn't append newlines at the end of messages. |
| e8a9312a |
07-Feb-2021 |
tsutsui <tsutsui@NetBSD.org> |
Add "Emulate3Buttons" support to the X68k Xorg based monolithic server. Based on "Emulate3Buttons" functions in the xf86-input-mouse driver, with various refactoring and cleanups: - rewrite a magic three-dimensional array for a finate state machine with proper named structures etc. - separate 3 button emulation functions from other stuff See my post on port-x68k@ (and tech-x11@) for more details: https://mail-index.netbsd.org/port-x68k/2021/02/05/msg000074.html |
| 09f8ca91 |
08-Dec-2020 |
mrg <mrg@NetBSD.org> |
add dummy ddxInputThreadInit() if INPUTTHREAD is defined. fixes sun3 build and should fix x68k build too. |
| 806e81e9 |
05-Dec-2020 |
mrg <mrg@NetBSD.org> |
merge xorg-server 1.20.10. |
| 5a7dfde8 |
05-Dec-2020 |
mrg <mrg@NetBSD.org> |
initial import of xorg-server-1.20.10 |
| 19d1127d |
21-Nov-2020 |
tsutsui <tsutsui@NetBSD.org> |
valuator_mask_zero() is enough for mouse button events. |
| b83276b4 |
20-Nov-2020 |
tsutsui <tsutsui@NetBSD.org> |
valuator_mask_zero() is enough for mouse button events. |
| 15b0c026 |
16-Nov-2020 |
tsutsui <tsutsui@NetBSD.org> |
Report which settings are chosen per a config file in the log file. Also reorganize a logging strategy in parseError() and make several variables and functions static or const. |
| c77af8b1 |
13-Nov-2020 |
tsutsui <tsutsui@NetBSD.org> |
Fix typo in comment. |
| 9b65525f |
04-Nov-2020 |
tsutsui <tsutsui@NetBSD.org> |
Use exact-width interger types properly for register accesses etc. No binary changes. |
| d998ab55 |
03-Nov-2020 |
tsutsui <tsutsui@NetBSD.org> |
Remove unnecessary pointer casts from malloc(3). |
| 1fca83cb |
03-Nov-2020 |
tsutsui <tsutsui@NetBSD.org> |
Avoid a use of __UNVOLATILE(3). Tested on XM6i. |
| c22c75e2 |
03-Nov-2020 |
tsutsui <tsutsui@NetBSD.org> |
Add ModeDef for 640x480x4bit PseudoColor. |
| d2b73a16 |
03-Nov-2020 |
tsutsui <tsutsui@NetBSD.org> |
Restore video mode properly on exit even on CRT Mode 19 (640x480 31kHz VGA). |
| bd299232 |
01-Nov-2020 |
tsutsui <tsutsui@NetBSD.org> |
Fix a suspicious chunk disabled on xfree 4.x migration as sunKbd.c does. |
| 9979d90a |
01-Nov-2020 |
tsutsui <tsutsui@NetBSD.org> |
Call LogInit() for logging to /var/log/X68k.%s.log as Xorg and Xsun servers. |
| 9679a91b |
13-Aug-2020 |
tsutsui <tsutsui@NetBSD.org> |
Avoid dumb DevicePtr casts. |
| aa86acb5 |
11-Aug-2020 |
tsutsui <tsutsui@NetBSD.org> |
Remove more redundant command option arg checks. |
| 427d0583 |
09-Aug-2020 |
tsutsui <tsutsui@NetBSD.org> |
Revert upstream "fb: Remove even/odd tile slow-pathing" changes. https://gitlab.freedesktop.org/xorg/xserver/-/commit/e572bcc7f4236b7e0f23ab762f225b3bce37db59 >> fb: Remove even/odd tile slow-pathing >> >> Again, clearly meant to be a fast path, but this turns out not to be the >> case. This causes serious performance regression on 1bpp servers. Ok'ed by mrg@. See my post on tech-x11@ for more details: https://mail-index.netbsd.org/tech-x11/2020/08/07/msg002115.html |
| a401fbd7 |
09-Aug-2020 |
tsutsui <tsutsui@NetBSD.org> |
Put probed framebuffer info to a log file by default. |
| c46e3e8e |
09-Aug-2020 |
tsutsui <tsutsui@NetBSD.org> |
Remove redundant command option arg checks. |
| 99d8145c |
09-Aug-2020 |
tsutsui <tsutsui@NetBSD.org> |
Remove a leftover variable for non-XKB autorepeat. |
| 64ca0c98 |
09-Aug-2020 |
tsutsui <tsutsui@NetBSD.org> |
Inform detected keyboard type and layout via LogMessage(). |
| 1f29ee3a |
04-Aug-2020 |
tsutsui <tsutsui@NetBSD.org> |
Call LogInit() for logging to /var/log/Xsun.%s.log as Xorg server. |
| 5ca846b1 |
01-Aug-2020 |
tsutsui <tsutsui@NetBSD.org> |
Replace 'pointer' type with 'void *' to sync with upstream manner. https://cgit.freedesktop.org/xorg/xserver/commit/?id=60014a4a98ff924ae7f6840781f768c1cc93bbab |
| ab290810 |
01-Aug-2020 |
tsutsui <tsutsui@NetBSD.org> |
TAB/space cleanup. |
| 0ea8fa60 |
01-Aug-2020 |
tsutsui <tsutsui@NetBSD.org> |
Trailing whitespace. |
| eec3c82f |
01-Aug-2020 |
tsutsui <tsutsui@NetBSD.org> |
Use "empty" for rmlvo model and layout to avoid lingering default settings. Now all modifier keys (CTRL, SHIFT, and NumLock) work as expected. It seems XkbApplyMappingChange() doesn't update some XKB modifier settings even if new modmap data is specified. |
| 32414907 |
31-Jul-2020 |
maya <maya@NetBSD.org> |
Backport the only patch from xorg-server 1.20.9 as I can't find a tarball. From aac28e162e5108510065ad4c323affd6deffd816 Mon Sep 17 00:00:00 2001 From: Matthieu Herrb <matthieu@herrb.eu> Date: Sat, 25 Jul 2020 19:33:50 +0200 Subject: [PATCH] fix for ZDI-11426 Avoid leaking un-initalized memory to clients by zeroing the whole pixmap on initial allocation. This vulnerability was discovered by: Jan-Niklas Sohn working with Trend Micro Zero Day Initiative Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> |
| 83a24582 |
30-Jul-2020 |
tsutsui <tsutsui@NetBSD.org> |
Remove now unused ModMap data for each keyboard. |
| b6209069 |
30-Jul-2020 |
tsutsui <tsutsui@NetBSD.org> |
Initialize ModMap dynamically using keymap data per each keyboard. Now ScrollLock LED works properly. |
| a740dc46 |
29-Jul-2020 |
tsutsui <tsutsui@NetBSD.org> |
Remove unused functions required to handle non-XKB autorepeat. |
| 2f5704f8 |
29-Jul-2020 |
tsutsui <tsutsui@NetBSD.org> |
Fix LED defintions to match xkb/xkbInit.c. Now CapsLock and NumLock LEDs work correctly. XXX: No ScrollLock LED |
| 1a0e0615 |
26-Jul-2020 |
tsutsui <tsutsui@NetBSD.org> |
Explicitly initialize origColormapValid for readability. |
| 97c02368 |
26-Jul-2020 |
tsutsui <tsutsui@NetBSD.org> |
Implement functions to restore palette settings on exiting Xserver. |
| 89cbd610 |
26-Jul-2020 |
tsutsui <tsutsui@NetBSD.org> |
Add prototype declarations for CG2 functions. |
| 9cee2e5c |
24-Jul-2020 |
tsutsui <tsutsui@NetBSD.org> |
Use proper args for dixLookupResourceByType() to get defcolormap. Botched in mechanical 1.20 updates. |
| 183a9b73 |
24-Jul-2020 |
tsutsui <tsutsui@NetBSD.org> |
Apply upstream "free the EQ allocated memory on shutdown" fixes. This should be updated before 1.20 import: https://cgit.freedesktop.org/xorg/xserver/commit/?id=87d4f90bfcb509471ac9e7886e14a92b33223fd7 |
| 526cfe04 |
23-Jul-2020 |
tsutsui <tsutsui@NetBSD.org> |
Use proper ANSI offsetof(3) to specify framebuffer offset in struct. Fixes build error on sparc64. No binary change on sun3. |
| 47cf8911 |
22-Jul-2020 |
tsutsui <tsutsui@NetBSD.org> |
Normalize #include paths. |
| ee7c6486 |
22-Jul-2020 |
tsutsui <tsutsui@NetBSD.org> |
Import WIP Xorg-Server-1.20'fied monolithic Xsun servers. This is based on 1.10 version imported into xorg-server.old and all upstream API changes between xorg-server 1.10 and 1.20 are applied almost mechanically. https://github.com/tsutsui/xorg-server-Xsun/commits/xorg-server-1.20 Xsun and XsunMono servers are also confirmed working with bwtwo on 3/60 and tme, and cgtwo on tme. XKB stuff is still to be resolved. |
| 1179ded1 |
19-Jul-2020 |
tsutsui <tsutsui@NetBSD.org> |
Sync with xorg-server.old: Remove #ifdef XKB conditional. > It has been mandatory on Xorg: > https://cgit.freedesktop.org/xorg/xserver/commit/?id=40877c6680863bd6a8475f2bb0c54df55bcf0b0e |
| b2450a3a |
18-Jul-2020 |
tsutsui <tsutsui@NetBSD.org> |
Pull 1bpp server fixes from xorg-server.old: https://mail-index.netbsd.org/source-changes/2020/07/18/msg119488.html > Fix 1bpp Xservers on "whitePixel=0, blackPixel=1" VRAMs. > > - Don't override pScreen->blackPixel and pScreen->whitePixel > (set in MD server Init functions per -filpPixels option) > on 1bpp servers in merged fbSetupScreen() (merged one > from cfbSetupScrenn and mfbSetupScreen() in old xsrc/xfree) > - Pull mfbCreateColormap() function from old xsrc/xfree tree > and use it on 1bpp servers Confirmed on luna68k 1bpp Xorg 1.20 server using xf86-video-wsfb with "-flipPixels" option. |
| 01f81e7b |
18-Jul-2020 |
tsutsui <tsutsui@NetBSD.org> |
Add a stub for miinitext of GLX. As per upstream commits for Xnest: https://cgit.freedesktop.org/xorg/xserver/commit/?id=67c303fff303f94b62f03a76de97116c6ebcfda9 Note GLXEXT is defined as 1 in xorg-server/include/xorg-server.h (i.e. /usr/X11R7/include/xorg/xorg-server.h) so no proper way to disable it on building MD servers per ${MACHINE} basis. |
| 72502d70 |
18-Jul-2020 |
tsutsui <tsutsui@NetBSD.org> |
Update for removal of AddEnabledDevice and RemoveEnabledDevice. Use the NotifyFd API instead as per upstream commits: https://cgit.freedesktop.org/xorg/xserver/commit/?id=55c2e1a3aa587c58a74066724e11e30b3df267b8 https://cgit.freedesktop.org/xorg/xserver/commit/?id=be5a513fee6cbf29ef7570e57eb0436d70fbd88c https://cgit.freedesktop.org/xorg/xserver/commit/?id=60a91031d13e4d29c383087120e318f6b528b6e5 https://cgit.freedesktop.org/xorg/xserver/commit/?id=7def2fea30060d47780dc1eedc91fada5ae1934f |
| 1dfa130e |
18-Jul-2020 |
tsutsui <tsutsui@NetBSD.org> |
Pull changes of x68kInit.c rev 1.3 from xorg-server.old. https://mail-index.netbsd.org/source-changes/2020/07/18/msg119473.html > Use AllocDevicePair() to initialize input devices in InitInput(). Untested, but I'll re-visit on migrating to HAVE_XORG_SERVER_VER=120. |
| 80c54d45 |
10-Apr-2020 |
tsutsui <tsutsui@NetBSD.org> |
Remove clause 3 and 4 from X68k server files written by Yasushi Yamasaki. I've finally contacted with Yamasaki-san and he kindly answered "no objection to change them to 2 clause license" in private mail. Diffs to be committed have also been confirmed by him. We appreciate all his contribution to early NetBSD/x68k. |
| 4e185dc0 |
23-Feb-2020 |
mrg <mrg@NetBSD.org> |
merge xorg-server 1.20.6. |
| 25da500f |
23-Feb-2020 |
mrg <mrg@NetBSD.org> |
initial import of xorg-server-1.20.6 |
| 0b3f0b9f |
09-Feb-2020 |
jmcneill <jmcneill@NetBSD.org> |
Revert previous two commits, will fix this another way. |
| cb37ba78 |
09-Feb-2020 |
jmcneill <jmcneill@NetBSD.org> |
Don't autoload vesa on x86 at all as it conflicts with wsfb. |
| bd0a8214 |
09-Feb-2020 |
jmcneill <jmcneill@NetBSD.org> |
Try wsfb before vesa on x86. Modern video cards may not support VBE at all. |
| ac2a9f9b |
30-Aug-2019 |
maya <maya@NetBSD.org> |
Try modesetting on x86, too. Not the best option without functional GLAMOR, but it does work. |
| 7a3fb2fa |
30-Aug-2019 |
maya <maya@NetBSD.org> |
Match wsfb on x86, too. When uefi booting without driver-specific GPU support, wsfb is the only choice for a graphical driver. While here, combine the wsfb cases. |
| 15af7600 |
01-Jun-2019 |
mrg <mrg@NetBSD.org> |
merge xorg-server 1.20.5. |
| 3517b66b |
01-Jun-2019 |
mrg <mrg@NetBSD.org> |
initial import of xorg-server-1.20.5 |
| a259eee8 |
31-May-2019 |
maya <maya@NetBSD.org> |
Undo local diff. It was introduced as one of the patches fixing https://bugs.freedesktop.org/show_bug.cgi?id=28181 This is marked fixed upstream, and was spotted on non-NetBSD, so it's very likely to be unnecessary. This diff was causing a double-free, causing Xorg to crash when closing pkgsrc/emulators/{retroarch,nestopia}. This is most likely a problem that became more evident from jemalloc debug which is filling free'd memory with 0x5a5a5a... Fixes PR xsrc/54246. |
| 5afdf157 |
15-May-2019 |
christos <christos@NetBSD.org> |
fix variable stack allocation for ssp |
| bf8e669c |
03-Mar-2019 |
mrg <mrg@NetBSD.org> |
merge xorg-server 1.20.4. |
| e23ec014 |
03-Mar-2019 |
mrg <mrg@NetBSD.org> |
initial import of xorg-server-1.20.4 |
| 2cb0653b |
28-Jan-2019 |
jmcneill <jmcneill@NetBSD.org> |
Try the modesetting driver before wsfb on NetBSD arm and aarch64 |
| b150493b |
23-Jan-2019 |
christos <christos@NetBSD.org> |
Avoid dup inconsistent definitions. |
| c2166491 |
22-Jan-2019 |
christos <christos@NetBSD.org> |
protect dup typedef. |
| 2f159765 |
10-Jan-2019 |
maya <maya@NetBSD.org> |
Remove duplicate length check (undo diff to upstream) |
| 7c23dbb6 |
10-Jan-2019 |
maya <maya@NetBSD.org> |
Undo merge botch, duplicate length checks |
| 97cbb544 |
10-Jan-2019 |
maya <maya@NetBSD.org> |
pEnt isn't initialized at this point, don't free it Undo diff to upstream. There's a good chance we aren't using this code at all. |
| e005038a |
10-Jan-2019 |
maya <maya@NetBSD.org> |
Undo unnecessary diff to vendor branch. |
| d5c798e1 |
03-Jan-2019 |
mrg <mrg@NetBSD.org> |
make the intel driver work again with xorg-server 1.20: - BlockHandler() timeout value changed from struct timeval ** to int ** that has a millisecond value. - avoid a NULL ptr deref in ProcXF86BigfontQueryFont() and make some code actually able to be run. |
| ab566b77 |
01-Jan-2019 |
mrg <mrg@NetBSD.org> |
s/pointer/void */ in a few places. remove now (void *) casts. |
| 497507cf |
31-Dec-2018 |
mrg <mrg@NetBSD.org> |
s/inclue/include/ in an error message. |
| efe9ba86 |
31-Dec-2018 |
mrg <mrg@NetBSD.org> |
use xf86AddMatchedDriver(). |
| 7e31ba66 |
31-Dec-2018 |
mrg <mrg@NetBSD.org> |
merge xorg-server 1.20.3. |
| 1b5d61b8 |
31-Dec-2018 |
mrg <mrg@NetBSD.org> |
initial import of xorg-server-1.20.3 |
| 8dbda7d6 |
26-Oct-2018 |
maya <maya@NetBSD.org> |
Don't error if we are unprivileged |
| 2c83f951 |
03-Apr-2018 |
ryo <ryo@NetBSD.org> |
Fix compile error on evbarm-aarch64. (incompatible pointer types initializing 'present_get_ust_msc_ptr') |
| 6e78d31f |
04-Nov-2017 |
mrg <mrg@NetBSD.org> |
apply fixes for CVEs 2017-12176 to 2017-12187. -- From 1b1d4c04695dced2463404174b50b3581dbd857b Mon Sep 17 00:00:00 2001 From: Nathan Kidd <nkidd@opentext.com> Date: Sun, 21 Dec 2014 01:10:03 -0500 Subject: hw/xfree86: unvalidated lengths This addresses: CVE-2017-12180 in XFree86-VidModeExtension CVE-2017-12181 in XFree86-DGA CVE-2017-12182 in XFree86-DRI -- From 211e05ac85a294ef361b9f80d689047fa52b9076 Mon Sep 17 00:00:00 2001 From: Michal Srb <msrb@suse.com> Date: Fri, 7 Jul 2017 17:21:46 +0200 Subject: Xi: Test exact size of XIBarrierReleasePointer Otherwise a client can send any value of num_barriers and cause reading or swapping of values on heap behind the receive buffer. -- From 4ca68b878e851e2136c234f40a25008297d8d831 Mon Sep 17 00:00:00 2001 From: Nathan Kidd <nkidd@opentext.com> Date: Fri, 9 Jan 2015 10:09:14 -0500 Subject: dbe: Unvalidated variable-length request in ProcDbeGetVisualInfo (CVE-2017-12177) v2: Protect against integer overflow (Alan Coopersmith) -- From 55caa8b08c84af2b50fbc936cf334a5a93dd7db5 Mon Sep 17 00:00:00 2001 From: Nathan Kidd <nkidd@opentext.com> Date: Fri, 9 Jan 2015 11:43:05 -0500 Subject: xfixes: unvalidated lengths (CVE-2017-12183) v2: Use before swap (Jeremy Huddleston Sequoia) v3: Fix wrong XFixesCopyRegion checks (Alan Coopersmith) -- From 859b08d523307eebde7724fd1a0789c44813e821 Mon Sep 17 00:00:00 2001 From: Nathan Kidd <nkidd@opentext.com> Date: Wed, 24 Dec 2014 16:22:18 -0500 Subject: Xi: fix wrong extra length check in ProcXIChangeHierarchy (CVE-2017-12178) -- From 9c23685009aa96f4b861dcc5d2e01dbee00c4dd9 Mon Sep 17 00:00:00 2001 From: Michal Srb <msrb@suse.com> Date: Fri, 7 Jul 2017 17:04:03 +0200 Subject: os: Make sure big requests have sufficient length. A client can send a big request where the 32B "length" field has value 0. When the big request header is removed and the length corrected, the value will underflow to 0xFFFFFFFF. Functions processing the request later will think that the client sent much more data and may touch memory beyond the receive buffer. -- From b747da5e25be944337a9cd1415506fc06b70aa81 Mon Sep 17 00:00:00 2001 From: Nathan Kidd <nkidd@opentext.com> Date: Fri, 9 Jan 2015 10:15:46 -0500 Subject: Unvalidated extra length in ProcEstablishConnection (CVE-2017-12176) |
| a782ad3b |
05-Aug-2017 |
mrg <mrg@NetBSD.org> |
make this build on netbsd. |
| 0679523a |
07-Jul-2017 |
mrg <mrg@NetBSD.org> |
CVE-2017-10971 and CVE-2017-10972: apply fixes to the event loop from https://cgit.freedesktop.org/xorg/xserver/commit/?id=ba336b24052122b136486961c82deac76bbde455 https://cgit.freedesktop.org/xorg/xserver/commit/?id=8caed4df36b1f802b4992edcfd282cbeeec35d9d https://cgit.freedesktop.org/xorg/xserver/commit/?id=215f894965df5fb0bb45b107d84524e700d2073c https://cgit.freedesktop.org/xorg/xserver/commit/?id=05442de962d3dc624f79fc1a00eca3ffc5489ced XXX: pullup-[678] (6/7 also need xfree port.) |
| 83b573b4 |
08-Mar-2017 |
mrg <mrg@NetBSD.org> |
apply https://cgit.freedesktop.org/xorg/xserver/commit/?id=957e8db38f27932d353e86e9aa69cf16778b18f1 -- Use arc4random_buf(3) if available to generate cookies. Reviewed-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> -- |
| 8199d687 |
08-Mar-2017 |
mrg <mrg@NetBSD.org> |
apply https://cgit.freedesktop.org/xorg/xserver/commit/?id=d7ac755f0b618eb1259d93c8a16ec6e39a18627c Use timingsafe_memcmp() to compare MIT-MAGIC-COOKIES CVE-2017-2624 Provide the function definition for systems that don't have it. Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> and https://cgit.freedesktop.org/xorg/xserver/commit/?id=5c44169caed811e59a65ba346de1cadb46d266ec os: Squash missing declaration warning for timingsafe_memcmp timingsafe_memcmp.c:21:1: warning: no previous prototype for `timingsafe_memcmp' [-Wmissing-prototypes] timingsafe_memcmp(const void *b1, const void *b2, size_t len) Signed-off-by: Adam Jackson <ajax@redhat.com> |
| 678161bd |
08-Mar-2017 |
mrg <mrg@NetBSD.org> |
apply https://cgit.freedesktop.org/xorg/xserver/commit/?id=2855f759b1e7bf7f5e57cac36c1f0d0e5ac1a683 auth: remove AuthToIDFunc and associated functions. Not used anymore. And the current code for MitToId has a use-after-free() issue. [Also remove the actual implementations - ajax] Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> |
| e116248c |
20-Feb-2017 |
rin <rin@NetBSD.org> |
Fix -O0 build; <machine/bwx.h> should be included after ".arch ev56" pseudo-op. |
| e3a581fb |
28-Dec-2016 |
macallan <macallan@NetBSD.org> |
back out previous - can be worked around elsewhere |
| 64789136 |
22-Dec-2016 |
macallan <macallan@NetBSD.org> |
fix tpyo - now fallback to ARGB masks when rendering glyphs actually works |
| 6dfbdd3d |
22-Nov-2016 |
snj <snj@NetBSD.org> |
reduce diff to upstream. no functional change. |
| 83cfd353 |
22-Nov-2016 |
snj <snj@NetBSD.org> |
fix "fix merge botch" (no functional change) |
| e0b5d487 |
21-Nov-2016 |
snj <snj@NetBSD.org> |
prune xrefs to xorgconfig |
| dcbd449d |
17-Nov-2016 |
snj <snj@NetBSD.org> |
fix misplaced conditionalized } that broke pointer detection under vmware when running X without a config file. |
| 0d6c9d2d |
02-Nov-2016 |
joerg <joerg@NetBSD.org> |
Add explicit cast before writing to newly allocated memory. XXX Beside the strange allocation size, this could be XNFstrdup. |
| 9076ab76 |
07-Oct-2016 |
christos <christos@NetBSD.org> |
CID 1373525: Checking for NULL after deref is kind of late. |
| 61eaade2 |
07-Oct-2016 |
christos <christos@NetBSD.org> |
CID 1373520: Fix memory leak, don't allocate needlessly. CID 1373521: Fix memory leak. |
| 5c2eae41 |
07-Oct-2016 |
christos <christos@NetBSD.org> |
CID 1373518: Memory corruption (off-by-one) |
| 3105e5eb |
07-Oct-2016 |
christos <christos@NetBSD.org> |
CID 1373515: check return value. |
| 9207c819 |
01-Oct-2016 |
maya <maya@NetBSD.org> |
don't use const char for these types, many drivers write to them. ok mrg |
| 464de084 |
27-Sep-2016 |
joerg <joerg@NetBSD.org> |
Silently report success for enabling IO on platforms without it. |
| 69251bd9 |
23-Sep-2016 |
christos <christos@NetBSD.org> |
fix printf format. |
| bddeb3e5 |
11-Sep-2016 |
tsutsui <tsutsui@NetBSD.org> |
Pull more changes from Xnest to adapt X68k to Xorg server 1.18. - use QueueKeyboardEvents() and QueuePointerEvents() which are provided by dix/getevents.c, instead of raw mieqEnqueue() with uninitialized local InternalEvent - remove now actually unused local InternalEvent - explicitly call mieqFini() in DDX CloseInput() Confirmed working on XM6i, and "please commit" from mrg@. |
| 909daefd |
30-Aug-2016 |
mrg <mrg@NetBSD.org> |
port to xorg-server 1.18. builds and may work, but not tested. |
| 32e60030 |
27-Aug-2016 |
macallan <macallan@NetBSD.org> |
use PCI_MAGIC_IO_RANGE instead of hardcoding the wrong ( for shark ) offset now things actually have a chance of working |
| 7cbbf761 |
20-Aug-2016 |
mrg <mrg@NetBSD.org> |
fix build issues for sparc64. mostly constification. |
| 0623337f |
18-Aug-2016 |
mrg <mrg@NetBSD.org> |
check for __arm__ as well as __arm32__. |
| efec4573 |
16-Aug-2016 |
mrg <mrg@NetBSD.org> |
NetBSD calls it x86_86_iopl(). disable iopl in xorg-config.h as it is set in the reachover makefile. |
| ce2d3770 |
16-Aug-2016 |
mrg <mrg@NetBSD.org> |
mibstore.h and its miInitializeBackingStore() have been otherwise empty since at least xorg-server 1.10. remove all reference to them as the header is gone in xorg-server 1.18. |
| 8bc9475d |
14-Aug-2016 |
mrg <mrg@NetBSD.org> |
fix merge botches. |
| 6629ff98 |
13-Aug-2016 |
mrg <mrg@NetBSD.org> |
port to NetBSD |
| 91b5503c |
13-Aug-2016 |
mrg <mrg@NetBSD.org> |
fix merge botches. |
| f7df2e56 |
11-Aug-2016 |
mrg <mrg@NetBSD.org> |
first merge of netbsd changes. not tested yet. |
| 35c4bbdf |
10-Aug-2016 |
mrg <mrg@NetBSD.org> |
initial import of xorg-server-1.18.4 |
| bbcda59b |
09-Jul-2016 |
jmcneill <jmcneill@NetBSD.org> |
Avoid legacy VGA I/O port access on MIPS. Xorg converts the I/O port address to a pointer and dereferences it, and then seg faults. This fixes Xorg on my Lemote YeeLoong netbook. |
| 07cb282a |
11-Feb-2016 |
riastradh <riastradh@NetBSD.org> |
Try xf86-video-nouveau for nvidia devices by default. Fall back to nv (and then vesa and then wsfb) if it doesn't work. |
| 8794ceb6 |
11-Dec-2015 |
wiz <wiz@NetBSD.org> |
Fix some uninitialized variable warnings with clang. |
| bce81337 |
22-Oct-2015 |
christos <christos@NetBSD.org> |
PR/50356: Rin Okuyama: Arm is not always little endian. |
| 8ceeeaef |
13-Oct-2015 |
mrg <mrg@NetBSD.org> |
add list_append() macro that xf86-video-nouveau 1.0.11 wants. |
| 5bd42952 |
17-Jul-2015 |
mrg <mrg@NetBSD.org> |
move X11/Xpoll.h include earlier than sys/select.h to avoid missing out on setting FD_SETSIZE early enough. |
| f9070c90 |
09-May-2015 |
christos <christos@NetBSD.org> |
CID 1225080: check getrlimit return. |
| e9ed4b75 |
01-Mar-2015 |
mrg <mrg@NetBSD.org> |
port a change back from newer xorg-server, which is needed for xf86-video-ati 7.x. http://lists.x.org/archives/xorg-devel/2011-March/020990.html commit 43e47433cf55c98db5308a51c1c514c59901f598 Author: Søren Sandmann Pedersen <ssp at redhat.com> Date: Tue Mar 29 13:06:36 2011 -0400 Add RegionInitBoxes(), and fix some buggy callers of RegionInit(). The interface to RegionInit(): RegionInit (RegionPtr pReg, BoxPtr rect, int size); is very confusing because it doesn't take a list of boxes, it takes *one* box, but if that box is NULL, it initializes an empty region with 'size' rectangles preallocated. Most callers of this function were correctly passing either NULL or just one box, but there were three confused cases, where the code seems to expect a region to be created from a list of boxes. This patch adds a new function RegionInitBoxes() and fixes those instances to call that instead. And yes, the pixman function to initialize a region from a list of boxes is called init_rects() because pixman is also awesome. V2: Make RegionInitBoxes() return a Bool indicating whether the call succeeded, and fix the callers to check this return value. Signed-off-by: Soren Sandmann <ssp at redhat.com> |
| 81b2c1c9 |
01-Mar-2015 |
mrg <mrg@NetBSD.org> |
remove \n\n that confuses the Xorg log file. |
| cb33df7e |
26-Feb-2015 |
snj <snj@NetBSD.org> |
we've been happily using bsdPciInit since xorg was first imported. remove local changes that were only relevant in the xfree86 days. |
| 511b8de7 |
26-Feb-2015 |
snj <snj@NetBSD.org> |
don't look for _drv.o files. we haven't built any since the bad old days when all the world was xfree86. |
| 771c2eff |
26-Feb-2015 |
snj <snj@NetBSD.org> |
remove two local headers that have been unused since revision 1.7 of sync.c (nov 2010). |
| 1e26616a |
11-Feb-2015 |
mrg <mrg@NetBSD.org> |
apply fixes for CVE-2015-0255: Information leak in the XkbSetGeometry request of X servers http://www.x.org/wiki/Development/Security/Advisory-2015-02-10/ ported to xorg-server 1.10 and xfree myself. |
| ec80f0e9 |
09-Feb-2015 |
christos <christos@NetBSD.org> |
remove superfluous casts. |
| 84d2488f |
06-Feb-2015 |
christos <christos@NetBSD.org> |
fix previous. |
| c1d44f47 |
06-Feb-2015 |
christos <christos@NetBSD.org> |
fix signed/unsigned comparison. |
| 188eae84 |
25-Jan-2015 |
prlw1 <prlw1@NetBSD.org> |
Remove some redundant function redeclarations, as noted in http://mail-index.netbsd.org/tech-x11/2015/01/09/msg001452.html The changes come from upstream in commits: * xserver: ecf62755 Define prototypes for hw/xfree86/modes/xf86Modes.c only in xf86Modes.h. - didn't add xf86SaveModeContents which isn't defined in our version 0bc41d5f Remove redundant redeclarations of functions in the same header file 5595e7ce randr: Remove redundant declaration. 471e5373 Remove duplicate declaration of xf86ValidateModesFlags in xf86Modes.h 9ef53e22 include: GetClientResolutions is declared in font.h 8b6a7500 Fix gcc warnings about redundant declarations of fallback functions - just took ffs() #ifdef defense, so most not applied * xf86-video-nv: 49ee1c26 Include xf86Modes.h to use functions from hw/xfree86/modes/xf86Modes.c. * xf86-video-savage: 2e9217bb Include xf86Modes.h to use functions from hw/xfree86/modes/xf86Modes.c. |
| 90fc26f8 |
22-Dec-2014 |
mrg <mrg@NetBSD.org> |
fixes for CVE CVE-2013-6424: If t->bottom is close to MIN_INT, removing top can wraparound, so do the check properly. |
| 37d298df |
10-Dec-2014 |
mrg <mrg@NetBSD.org> |
apply two more parts of CVE-2014-8092: Missing parens in REQUEST_FIXED_SIZE macro [CVE-2014-8092 pt. 5] dix: GetHosts bounds check using wrong pointer value [CVE-2014-8092 pt. 6] |
| 0b0d8713 |
09-Dec-2014 |
mrg <mrg@NetBSD.org> |
apply fixes for: X.Org Security Advisory: Dec. 9, 2014 Protocol handling issues in X Window System servers backported to 1.10.x by myself. included are fixes for: denial of service due to unchecked malloc in client authentication CVE-2014-8091 integer overflows calculating memory needs for requests CVE-2014-8092 CVE-2014-8093 CVE-2014-8094 out of bounds access due to not validating length or offset values in requests CVE-2014-8095 CVE-2014-8096 CVE-2014-8097 CVE-2014-8098 CVE-2014-8099 CVE-2014-8100 CVE-2014-8101 CVE-2014-8102 CVE-2014-8103 |
| 051b6151 |
05-Nov-2014 |
christos <christos@NetBSD.org> |
Add RRSetChanged from more recent versions of xorg-server. |
| 47b1ecdc |
20-Aug-2014 |
macallan <macallan@NetBSD.org> |
more clang appeasement |
| 0f2f4e17 |
10-Aug-2014 |
joerg <joerg@NetBSD.org> |
Fix format string. |
| fdb9fcb3 |
07-Aug-2014 |
jmcneill <jmcneill@NetBSD.org> |
for i386 and amd64, append vesa to the end of the possible video driver list. makes "startx" without a config file work on systems where there is a known native driver, but it is not installed (like "vboxvideo"). |
| b14970e6 |
18-Jun-2014 |
macallan <macallan@NetBSD.org> |
OFIOCNEXTPROP -> OFIOCGET now this can actually work |
| 2d10dcbb |
22-Mar-2014 |
riastradh <riastradh@NetBSD.org> |
Constify list_is_empty. With apologies to whoever will merge a newer version. Fortunately, this file is getting replaced wholesale. |
| 2f9f5fec |
05-Mar-2014 |
joerg <joerg@NetBSD.org> |
Fix abs usage. |
| a2ab6c90 |
04-Mar-2014 |
tsutsui <tsutsui@NetBSD.org> |
Replace xalloc(), xrealloc() and xfree() with malloc(), realloc() and free(). Per following Xorg changes: > Replace X-allocation functions with their C89 counterparts http://cgit.freedesktop.org/xorg/xserver/commit/?id=3f3ff971ecff9936cebafc813af9193b97bba89c |
| b65a0881 |
02-Mar-2014 |
tsutsui <tsutsui@NetBSD.org> |
Fix comment to sync with code. |
| ba64b02e |
01-Mar-2014 |
tsutsui <tsutsui@NetBSD.org> |
Port the ancient Xsun based monolithic MD X68k server to X11R7, like Xnest. Most diffs (API changes from xfree to xorg and some WARNSfy) are mechanical. Confirmed working on X68030 and XM6i. See my post on port-x68k@ for details: http://mail-index.netbsd.org/port-x68k/2014/02/27/msg000043.html |
| 43d50c5b |
16-Jan-2014 |
christos <christos@NetBSD.org> |
Lint does not know about pragmas |
| b6c20727 |
15-Jan-2014 |
christos <christos@NetBSD.org> |
fix for lint |
| 2717a907 |
08-Oct-2013 |
spz <spz@NetBSD.org> |
Fix CVE-2013-4396 using a patch from: --- snip --- From a4d9bf1259ad28f54b6d59a480b2009cc89ca623 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Mon, 16 Sep 2013 21:47:16 -0700 Subject: [PATCH] Avoid use-after-free in dix/dixfonts.c: doImageText() Save a pointer to the passed in closure structure before copying it and overwriting the *c pointer to point to our copy instead of the original. If we hit an error, once we free(c), reset c to point to the original structure before jumping to the cleanup code that references *c. Since one of the errors being checked for is whether the server was able to malloc(c->nChars * itemSize), the client can potentially pass a number of characters chosen to cause the malloc to fail and the error path to be taken, resulting in the read from freed memory. Since the memory is accessed almost immediately afterwards, and the X server is mostly single threaded, the odds of the free memory having invalid contents are low with most malloc implementations when not using memory debugging features, but some allocators will definitely overwrite the memory there, leading to a likely crash. Reported-by: Pedro Ribeiro <pedrib@gmail.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Julien Cristau <jcristau@debian.org> --- snip --- the patch is shifted but otherwise applies. mrg@ to test (thanks) |
| d986548b |
12-Jul-2013 |
wiz <wiz@NetBSD.org> |
Fix typo in header guard. |
| c7821653 |
19-Jun-2013 |
macallan <macallan@NetBSD.org> |
add a field to struct sbus_device which records the framebuffer size reported by ioctl(FBIOGATTR) so drivers can use it |
| 45bb0b75 |
03-Jun-2013 |
mrg <mrg@NetBSD.org> |
merge xorg-server 1.10.6. |
| 475c125c |
03-Jun-2013 |
mrg <mrg@NetBSD.org> |
initial import of xorg-server-1.10.6 |
| e22219b5 |
20-Feb-2013 |
macallan <macallan@NetBSD.org> |
remove debug spam |
| 69c5878d |
20-Feb-2013 |
macallan <macallan@NetBSD.org> |
do ioctl(KDSETMODE) when switching in and out of the Xserver's VT now this works on top of radeonfb |
| 792ba0ea |
09-Nov-2012 |
abs <abs@NetBSD.org> |
Apply patch https://bugs.freedesktop.org/attachment.cgi?id=68718 (with whitespace tweaks) from https://bugs.freedesktop.org/show_bug.cgi?id=47266 to address graphics corruption using recent Cairo, manifested most commonly by certain rendered text sections appearing as solid rectangular blocks of colour. Should be pulled up to netbsd-6 (and probably -5) |
| 88d2652f |
02-Nov-2012 |
apb <apb@NetBSD.org> |
Add parentheses in code that attempts to convert 3 bytes to a 24-bit value. "+" has higher precedence than "<<", so the old code would have given incorrect results. Found using clang -Wshift-op-parentheses. |
| 4325d6ae |
27-Jun-2012 |
macallan <macallan@NetBSD.org> |
when using dixSetPrivate() and friends it helps to initialize the key before using it. Now colours on suncg6 look right again and we don't spin or crash on exit anymore. probably needs to be pulled into -6 |
| fdafe9d0 |
16-May-2012 |
abs <abs@NetBSD.org> |
Add vax to the list of non inb() users |
| 23e2f35b |
22-Oct-2011 |
jmcneill <jmcneill@NetBSD.org> |
if the video driver is "vmware" or "vmwlegacy" and no mouse section exists, use the "vmmouse" input driver instead of "mouse" -- now xorg works properly in vmware without a config file |
| d77c0cdc |
09-Oct-2011 |
jmcneill <jmcneill@NetBSD.org> |
xsrc/45442: X -configure doesn't detect S3 Trio32/64 Backout the following commit from upstream: http://cgit.freedesktop.org/xorg/xserver/commit/hw/xfree86/common/xf86Helper.c?id=0ceac6f64f5ad9bc2ac4b19be2dd245ffba78b05 Despite what the log message says, xf86MatchDevice can be called at configure time by drivers who still implement the legacy probing API (and there are a lot of them!). |
| c62a6f7a |
09-Oct-2011 |
jmcneill <jmcneill@NetBSD.org> |
When configuring a new PCI or SBus device, remember to stash the bus specific information (in pVideo for PCI or sVideo for SBus), otherwise more than one driver may try to attach to the device and 'X -configure' will fail with "Number of created screens does not match number of detected devices". |
| 311f2276 |
09-Oct-2011 |
jmcneill <jmcneill@NetBSD.org> |
re-apply patch from revision 1.2: GenerateDriverlist: Change driver matching pattern to be the same as the one used by the module loader. |
| 0b33e806 |
02-Aug-2011 |
mrg <mrg@NetBSD.org> |
include dix-config.h since this depends up on symbols defined there |
| 5afdac23 |
02-Aug-2011 |
mrg <mrg@NetBSD.org> |
re-apply the fix for https://bugs.freedesktop.org/show_bug.cgi?id=28181, from the comment #40 from this bug. |
| 65b04b38 |
02-Aug-2011 |
mrg <mrg@NetBSD.org> |
merge cornflakes with xorg-server 1.10.3 |
| 3ff38f22 |
02-Aug-2011 |
mrg <mrg@NetBSD.org> |
revert the change below, to help merge 1.10.3. there's a new version of this coming up shortly: http://mail-index.netbsd.org/source-changes/2011/03/18/msg020067.html Log Message: Pull up fix from https://bugs.freedesktop.org/show_bug.cgi?id=28181 to prevent random segfaults of the X server when using composite with the ati driver. |
| 9ace9065 |
02-Aug-2011 |
mrg <mrg@NetBSD.org> |
initial import of xorg-server 1.10.3. highlights include: - fixes xorg bugs 29969, 30367, 30527, 30267, 30260, 29046, 30260, 31548, 28672, 24887, 32115, 21457, 32436, 21827, 28414, 24703, 32803, 16318, 33449, 33324, 33929, 35082, 35209, 36146, 36119 - many additional NULL checks - adjustments related to input ABI 12 - *lots* of dead code removal - vga arbitrator fixes - GL fixes - EDID fixes - conversion to using asprintf() in many places - many fixes from valgrind, compiler warnings see these for more details: http://lists.freedesktop.org/archives/xorg-announce/2011-February/001612.html http://lists.freedesktop.org/archives/xorg-announce/2011-April/001646.html http://lists.freedesktop.org/archives/xorg-announce/2011-May/001675.html http://lists.freedesktop.org/archives/xorg-announce/2011-July/001710.html |
| 1b684552 |
24-Jul-2011 |
mrg <mrg@NetBSD.org> |
merge xorg-server 1.9.5 |
| 8223e2f2 |
24-Jul-2011 |
mrg <mrg@NetBSD.org> |
initial import of xorg-server 1.9.5 fixes for FDO bugs 33929, 32803, 24703, 28414, 24887, 30260, 31093, 29046, 30267 memory leak fixes EDID and modes fixes for multi-screen dri2 fixes randr vs invalid size fixes fixes for Xext triggers fix for a black-screen after VT switch back (redhat bug 533217) fixes for x86emu |
| 18a93be0 |
13-Apr-2011 |
macallan <macallan@NetBSD.org> |
- get platform #ifdefs in a slightly more sane order - look for SBus and UPA devices on sparc(64) - add default drivers for shark and sgimips - only try wsfb if we can't find any other usable device With this Xorg without config file works fine on shark, sparc(64) and amd64, should work on other archs as well. |
| a8d57ea1 |
13-Apr-2011 |
macallan <macallan@NetBSD.org> |
fix sbusDeviceTable to actually include driver names |
| 17c9e1e9 |
18-Mar-2011 |
jmmv <jmmv@NetBSD.org> |
Pull up fix from https://bugs.freedesktop.org/show_bug.cgi?id=28181 to prevent random segfaults of the X server when using composite with the ati driver. This makes my X session rock solid when running KDE 4.5 on a MacBookPro 2,2 with an ATI Radeon Mobility X1600. The X server was crashing very frequently before. OKed by mrg@ and macallan@. Addresses PR xsrc/44730. |
| af31da9a |
06-Jan-2011 |
macallan <macallan@NetBSD.org> |
get this a little closer to working on non-x86 by: * not poking around in IO space trying to disable / enable ancient VGAs when NO_LEGACY_VGA is defined * actually checking if what we get from read_legacy_video_BIOS() is actually a valid PC ROM image every time we try |
| 4bed5854 |
30-Nov-2010 |
skrll <skrll@NetBSD.org> |
Avoid unaligned accesses. Needed to make my CATS start X without an xorg.conf. Reviewed and tested by macallan@. thanks. |
| 49e5392b |
28-Nov-2010 |
skrll <skrll@NetBSD.org> |
Fix merge and ARM define handling. |
| e8122964 |
25-Nov-2010 |
macallan <macallan@NetBSD.org> |
make this compile on sparc64 |
| eec908bb |
24-Nov-2010 |
mrg <mrg@NetBSD.org> |
put back a little bit of BUS_ISA, enough for shark and chips driver. |
| 0208663b |
23-Nov-2010 |
macallan <macallan@NetBSD.org> |
put BUS_ISA back, we need it for the chips driver on shark |
| ced5a22f |
23-Nov-2010 |
mrg <mrg@NetBSD.org> |
disable _X_DEPRECATED on netbsd; it has led to a bunch of -Wno-error in the past, and with new xorg-server, almost every driver file needs it. |
| 7e4c1e26 |
23-Nov-2010 |
mrg <mrg@NetBSD.org> |
re-merge our local change to add XAAFillScanlineImageWriteRects() |
| a24c7025 |
23-Nov-2010 |
mrg <mrg@NetBSD.org> |
fix a merge botch. |
| 4202a189 |
23-Nov-2010 |
mrg <mrg@NetBSD.org> |
merge xorg-server 1.9.2. |
| 6747b715 |
23-Nov-2010 |
mrg <mrg@NetBSD.org> |
import xorg-server 1.9.2. important changes since 1.6.5 include: - built-in symbol visibility, default not export - fixes for various crashes - many fixes for XI2, EXA, dix, render, glx, xkb, EDID, randr, Xv, resource handling, Xext, vfb, xfree86 / vga and composite support. - fixes several memory leaks - many many documentation updates - record extension enabled - no longer looks for XF86Config files |
| 684baedf |
22-May-2010 |
mrg <mrg@NetBSD.org> |
various build fixes for modern xextproto/libXext and friends. some of this came from pkgsrc, and some of it i had to figure out myself. |
| ad5464f4 |
01-Apr-2010 |
mrg <mrg@NetBSD.org> |
import fdo git change 185185eeb44a277c324be0f58a4b4a469b56b69b, which i've seen twice in the last two days: Fix crash when all glyphs of a given depth are freed, but not all glyphsets This is how the crash can be triggered with only two clients on the system: Client A: (already running) Client B: Connect Client B: CreateGlyphSet(depthN) Client A: Disconnect Server: free globalGlyphs(depthN) Client B: AddGlyphs(depthN) Server: SEGV This crash was introduced with the FindGlyphsByHash function in 516b96387b0e57b524a37a96da22dbeeeb041712. Before that revision, ResizeGlyphSet was always called before FindGlyphRef, which would re-create globalGlyphs(depthN) if necessary. X.Org Bug 20718 <http://bugs.freedesktop.org/show_bug.cgi?id=20718> XXX: needs netbsd-5 pullup. |
| c506e0ff |
03-Dec-2009 |
macallan <macallan@NetBSD.org> |
fix a segfault in xf86EnterServerState() which would fire whenever there is more than one graphics device This is a bandaid, we ( or the Xorg people ) need to fix it properly by getting rid of all the now useless RAC-related code. |
| a0d10bb6 |
09-Nov-2009 |
mrg <mrg@NetBSD.org> |
merge xorg-server 1.6.5 |
| b1d344b3 |
09-Nov-2009 |
mrg <mrg@NetBSD.org> |
initial import of xorg-server-1.6.5 |
| fd6e873b |
09-Nov-2009 |
mrg <mrg@NetBSD.org> |
handle Xinerama update for now. XXX: back out when the rest is updated |
| fcca736f |
06-Oct-2009 |
macallan <macallan@NetBSD.org> |
let xf86AddBusDeviceToConfigure() accept BUS_ISA and BUS_NONE |
| e835939e |
06-Oct-2009 |
macallan <macallan@NetBSD.org> |
simplify PIXMAP_IS_SCREEN() |
| 6aeb3c6e |
29-Sep-2009 |
macallan <macallan@NetBSD.org> |
don't fall back to software rendering when drawing into the screen pixmap this takes care of visible artifacts with non-mappable framebuffers like newport and crime |
| 05a0f910 |
25-Sep-2009 |
mrg <mrg@NetBSD.org> |
check that dixLookupPrivate() returned non-NULL before dereferencing it. fixes a SEGV when starting ioquake3 on an X server started with the "-dpi 100 -depth 16" flags, as reported by wiz@. |
| daf23d7f |
21-Sep-2009 |
snj <snj@NetBSD.org> |
By default, use the old X server background and cursor mode (option "-retro"). Add a "-noretro" option to get the new (black background and no cursor) behavior. Addresses part of PR xsrc/41870 |
| f241d193 |
22-Aug-2009 |
mrg <mrg@NetBSD.org> |
merge xorg-server 1.6.3. |
| b86d567b |
22-Aug-2009 |
mrg <mrg@NetBSD.org> |
initial import of xorg-server-1.6.3 |
| 9cf0a3ef |
30-Jul-2009 |
macallan <macallan@NetBSD.org> |
when writing PCI BusIDs include the domain ID if it's non-zero While there also add Option "Protocol" "wskbd" Option "Device" "/dev/wskbd" to the keyboard section on non-x86 Now X -configure should dump something more usable. |
| 504a48fa |
22-Jul-2009 |
mrg <mrg@NetBSD.org> |
apply patch-am from pkgsrc modular-xorg-server: date: 2009/06/24 17:25:36; author: drochner; state: Exp; lines: +10 -89 zero out a local variable, fixes random behaviour in case a DRI hw module cannot be loaded and the server falls back to software rendering, from Rafal Boni per mail to tech-x11 |
| 7b683adc |
22-Jul-2009 |
mrg <mrg@NetBSD.org> |
apply the patch from http://bugs.freedesktop.org/attachment.cgi?id=27568. it fixes various issues picked up by newer pixman. |
| a1818c9d |
09-Jul-2009 |
mrg <mrg@NetBSD.org> |
merge xorg-server 1.6.2 |
| 52397711 |
09-Jul-2009 |
mrg <mrg@NetBSD.org> |
initial import of xorg-server-1.6.2 |
| 5ff2e0fc |
07-Jul-2009 |
mrg <mrg@NetBSD.org> |
ShareVTs is only visible #if defined (SYSCONS_SUPPORT) || defined (PCVT_SUPPORT). fixes sparc64 build for me. |
| 541282ce |
07-Jul-2009 |
macallan <macallan@NetBSD.org> |
make this work on sparc(64) and probably other architectures which pass arguments in registers |
| 3a84483f |
26-Jun-2009 |
macallan <macallan@NetBSD.org> |
add sparcDriverName() - from Sbus.c |
| eb61724e |
12-Jun-2009 |
mrg <mrg@NetBSD.org> |
avoid a bunch of int/ptr warnings. |
| 8aefa95b |
12-Jun-2009 |
mrg <mrg@NetBSD.org> |
remove a wrong extra {}. |
| 637ac9ab |
11-Jun-2009 |
mrg <mrg@NetBSD.org> |
merge xorg-server 1.6.1.190. XXX: our Pci.[ch] changes need to be re-looked at, i think. |
| 4642e01f |
11-Jun-2009 |
mrg <mrg@NetBSD.org> |
initial import of xorg-server-1.6.1.901 |
| cd0facf8 |
10-Jun-2009 |
he <he@NetBSD.org> |
The ldl_u() macro wants an "unsigned int *" as the argument, so ensure that it gets that via a cast. Fixes the build for at least arc. OK'ed by mrg@ |
| 45801275 |
17-Mar-2009 |
jmcneill <jmcneill@NetBSD.org> |
xsync: Fix wakeup storm in idletime counter Wakeup scheduling only considered the threshold values, and not whether the trigger was edge or level. See also: https://bugzilla.redhat.com/show_bug.cgi?id=474586 http://svn.gnome.org/viewvc/gnome-screensaver/trunk/src/test-idle-ext.c?view=markup Source: http://cgit.freedesktop.org/xorg/xserver/commit/?id=1f4fb0225b278d1cf4145aebeb0bdd23dc8f62d5 |
| 9e2fcd1d |
01-Mar-2009 |
jmcneill <jmcneill@NetBSD.org> |
PR# xsrc/40939: nvidia driver can not deal with COMPOSITE/DAMAGE extensions Apply the following patches from Xorg head: * http://cgit.freedesktop.org/xorg/xserver/patch/?id=0c6987df3b9b3a37d201d740d8248c326449835e XAA: Disable offscreen pixmaps by default. Say Option "XaaOffscreenPixmaps" to turn them back on. * http://cgit.freedesktop.org/xorg/xserver/patch/?id=01879e583b0ce0d8fddc37e36d9b69fe4f1d1e72 Don't enable XAA offscreen pixmaps with Option "XaaOffscreenPixmaps" "no". xf86IsOptionSet is rarely the right function to use for boolean options because it returns TRUE whenever the option is present, even if its value is "no", "off", "0", etc. |
| 766b813d |
19-Feb-2009 |
macallan <macallan@NetBSD.org> |
Actually use scanline image writes to upload images if available |
| f0e1d149 |
17-Feb-2009 |
abs <abs@NetBSD.org> |
Fix definition for vax |
| bad89cad |
14-Feb-2009 |
abs <abs@NetBSD.org> |
Adjust operand constraints in the m68k asm versions of FASTPUTBITS |
| fa7f6585 |
09-Feb-2009 |
plunky <plunky@NetBSD.org> |
add horizontal mouse-wheel functionality to USB and WSMOUSE drivers |
| 57c23b01 |
02-Feb-2009 |
christos <christos@NetBSD.org> |
add a SetupMouse proc to condition the fd. Convert NetBSD's SetupAuto to SetupMouse. |
| c2d91235 |
24-Jan-2009 |
bouyer <bouyer@NetBSD.org> |
The {read,write}Dense{8,16} functions, as implemented, always to 32bits access and truncate the result to 8/16 bits, or do read/modify/write cycles. This is bad if the read or write cycle to adjacent registers change the adapter's state (e.g. if an adjacent register is a fifo, we'll discard values, or add additionnal, unwanted values in the fifo). Fix: use the BWX instructions for 8 and 16 bit access. Also submitted to Xorg as bug #19722 |
| a64b764b |
24-Jan-2009 |
bouyer <bouyer@NetBSD.org> |
NetBSD-specific code doesn't work on ev6 systems. This is because the code assumes there is at last 2 mappings, one dense and one sparse. On ev6 there's only one mapping, and the code access abw[] out of bound. Fix: check abw_count and if it's 1, use the same mapping for dense_base and memory_base. Also submitted to Xorg as bug #19721 |
| 48568d1e |
24-Jan-2009 |
bouyer <bouyer@NetBSD.org> |
On NetBSD/alpha in{b,w,l} and out{b,w,l} are not functions but #define to a function pointer. This doesn't work with the SYMFUNC() macro, the compiler outputs and error. Fix: don't SYMFUNC() these on NetBSD/alpha Also submitted to Xorg as bug #19720 |
| 4cbbfde9 |
19-Jan-2009 |
christos <christos@NetBSD.org> |
fix ioctl. |
| 03418e9a |
17-Jan-2009 |
ahoka <ahoka@NetBSD.org> |
Revert last change. |
| c8da46d7 |
17-Jan-2009 |
ahoka <ahoka@NetBSD.org> |
Set the default color of the root window to plain black due to popular demand. It looks much better that way. |
| e4408d0a |
13-Jan-2009 |
christos <christos@NetBSD.org> |
Set the mouse event protocol version. (untested, but head will be broken unless I add this). |
| 46154950 |
23-Nov-2008 |
mrg <mrg@NetBSD.org> |
patch from jmcneill@: add a log message to notify what VT is in use. helps gdm/consolekit. |
| f5488e98 |
06-Nov-2008 |
macallan <macallan@NetBSD.org> |
add __mips__ |
| 4fa4b97e |
04-Nov-2008 |
macallan <macallan@NetBSD.org> |
add ARM support. For some idiotic reason Xorg still uses different variable for the IO base address on different architectures. |
| ed274aab |
25-Oct-2008 |
macallan <macallan@NetBSD.org> |
Add support for PCI_VIA_TTYE0 hack. ( that way we can access PCI config space belonging to the console via ttyE0. This is useful on machines where the console fb may not be accessible via /dev/pci0. Also, it hides other PCI devices from the Xserver so it's less likely to mess with our BARs ) From xsrc/xfree |
| fc1e04f0 |
25-Oct-2008 |
macallan <macallan@NetBSD.org> |
Make PCI bus address ranges match reality on sparc64 and powerpc |
| 904cdfd2 |
24-Oct-2008 |
macallan <macallan@NetBSD.org> |
more bits'n'pieces for sparc support |
| de0a7c19 |
24-Oct-2008 |
macallan <macallan@NetBSD.org> |
include string.h and strings.h - for some reason they're missing on sparc64 XXX: need to figure out where the other archs include them so we can get rid of this |
| f8104d25 |
24-Oct-2008 |
macallan <macallan@NetBSD.org> |
add missing bits & pieces for sparc(64) and Sbus support While there, use ppc_video.c on sparc(64) as well, sparc64_vodeo.c is almost identical and only misses EnableIO() stuff which we'll want to add at some point anyway and then they'd be identlical to the ones from ppc_video.c anyway. |
| 60ce4286 |
23-Oct-2008 |
jmcneill <jmcneill@NetBSD.org> |
GenerateDriverlist: Change driver matching pattern to be the same as the one used by the module loader. |
| aee60f53 |
23-Oct-2008 |
jmcneill <jmcneill@NetBSD.org> |
videoPtrToDriverName: use the 'intel' driver instead of 'i810'. |
| 9a797c50 |
22-Oct-2008 |
macallan <macallan@NetBSD.org> |
make this compile on sparc64 |
| da788fc0 |
22-Oct-2008 |
macallan <macallan@NetBSD.org> |
add sparc64 goo, from xsrc/xfree |
| 19fdeef8 |
19-Oct-2008 |
macallan <macallan@NetBSD.org> |
Downgrade a few more FatalError()s to X_WARNING, while there use PCI_MAGIC_IO_RANGE to mmap the IO range instead of a macppc-specific magic number. We'll need this on shark and the other powerpc-based ports. |
| fdc3284d |
19-Oct-2008 |
macallan <macallan@NetBSD.org> |
Failure to map something is not a FatalError() |
| c4d0b717 |
15-Sep-2008 |
cube <cube@NetBSD.org> |
Use a sane default for xkb rules, "xorg", which is actually provided in the distribution, unlike "base". |
| a6f9e684 |
02-Sep-2008 |
rtr <rtr@NetBSD.org> |
revert previous since it causes xorg to break when loading configuration |
| b8130881 |
31-Aug-2008 |
rtr <rtr@NetBSD.org> |
copy arm_video.c from xsrc/xfree and tweak it. our version of this seems to be more up-to-date/used than that in x.org |
| 61c16e3e |
31-Aug-2008 |
rtr <rtr@NetBSD.org> |
-#elif defined(__powerpc__) +#elif defined(__powerpc__) || defined(__arm__) || defined(__mips__) || \ + defined(__sparc__) from xsrc/xfree bsdResource.c |
| 8c7b8c22 |
28-Aug-2008 |
mrg <mrg@NetBSD.org> |
look for __arm__ as well. |
| aca65698 |
28-Aug-2008 |
mrg <mrg@NetBSD.org> |
also check for __arm__. |
| f2a6d746 |
28-Aug-2008 |
mrg <mrg@NetBSD.org> |
include <string.h> |
| 7bf6719f |
11-Aug-2008 |
mrg <mrg@NetBSD.org> |
fix a macro to apply the cast to the result, not the conditional. |
| 773fea70 |
09-Aug-2008 |
rtr <rtr@NetBSD.org> |
#include <string.h> |
| d47bc60a |
06-Aug-2008 |
mrg <mrg@NetBSD.org> |
adapt this to a reasonable include path |
| 84d7233f |
04-Aug-2008 |
mrg <mrg@NetBSD.org> |
attempt to support netbsd/arm |
| 8b383f93 |
02-Aug-2008 |
mrg <mrg@NetBSD.org> |
delete generated files. |
| c2d0e2a8 |
02-Aug-2008 |
mrg <mrg@NetBSD.org> |
XXX: check for __arm__ as well as __arm32__. XXX: need to port changes from xsrc to this file. it assumes that XXX: arm is little endian. |
| a57aa4d3 |
02-Aug-2008 |
mrg <mrg@NetBSD.org> |
clear the GL buffer properly. from http://bugs.freedesktop.org/show_bug.cgi?id=13358. |
| 05b261ec |
31-Jul-2008 |
mrg <mrg@NetBSD.org> |
initial import of xorg-server-1.4.2 |