├── hw ├── dmx │ ├── config │ │ ├── test-a.in │ │ ├── test-b.in │ │ ├── test-b.out │ │ ├── test-c.in │ │ ├── test-d.in │ │ ├── test-e.in │ │ ├── test-f.in │ │ ├── test-i.in │ │ ├── test-i.out │ │ ├── test-k.in │ │ ├── test-k.out │ │ ├── test-f.out │ │ ├── test-g.in │ │ ├── test-g.out │ │ ├── test-h.in │ │ ├── test-h.out │ │ ├── test-a.out │ │ ├── test-d.out │ │ ├── test-e.out │ │ ├── test-c.out │ │ ├── .gitignore │ │ ├── TODO │ │ ├── test-j.out │ │ ├── test-j.in │ │ ├── test-l.in │ │ └── test-l.out │ ├── .gitignore │ ├── doc │ │ ├── .gitignore │ │ ├── doxygen.head │ │ └── doxygen.foot │ └── examples │ │ └── .gitignore ├── xquartz │ ├── bundle │ │ ├── PkgInfo │ │ ├── .gitignore │ │ ├── Resources │ │ │ ├── X11.icns │ │ │ ├── ar.lproj │ │ │ │ ├── InfoPlist.strings │ │ │ │ ├── Localizable.strings │ │ │ │ ├── main.nib │ │ │ │ │ └── keyedobjects.nib │ │ │ │ └── locversion.plist │ │ │ ├── da.lproj │ │ │ │ ├── InfoPlist.strings │ │ │ │ ├── Localizable.strings │ │ │ │ ├── main.nib │ │ │ │ │ └── keyedobjects.nib │ │ │ │ └── locversion.plist │ │ │ ├── fi.lproj │ │ │ │ ├── InfoPlist.strings │ │ │ │ ├── Localizable.strings │ │ │ │ ├── main.nib │ │ │ │ │ └── keyedobjects.nib │ │ │ │ └── locversion.plist │ │ │ ├── ko.lproj │ │ │ │ ├── InfoPlist.strings │ │ │ │ ├── Localizable.strings │ │ │ │ ├── main.nib │ │ │ │ │ └── keyedobjects.nib │ │ │ │ └── locversion.plist │ │ │ ├── no.lproj │ │ │ │ ├── InfoPlist.strings │ │ │ │ ├── Localizable.strings │ │ │ │ ├── main.nib │ │ │ │ │ └── keyedobjects.nib │ │ │ │ └── locversion.plist │ │ │ ├── pl.lproj │ │ │ │ ├── InfoPlist.strings │ │ │ │ ├── Localizable.strings │ │ │ │ ├── main.nib │ │ │ │ │ └── keyedobjects.nib │ │ │ │ └── locversion.plist │ │ │ ├── pt.lproj │ │ │ │ ├── InfoPlist.strings │ │ │ │ ├── Localizable.strings │ │ │ │ ├── main.nib │ │ │ │ │ └── keyedobjects.nib │ │ │ │ └── locversion.plist │ │ │ ├── ru.lproj │ │ │ │ ├── InfoPlist.strings │ │ │ │ ├── Localizable.strings │ │ │ │ ├── main.nib │ │ │ │ │ └── keyedobjects.nib │ │ │ │ └── locversion.plist │ │ │ ├── sv.lproj │ │ │ │ ├── InfoPlist.strings │ │ │ │ ├── Localizable.strings │ │ │ │ ├── main.nib │ │ │ │ │ └── keyedobjects.nib │ │ │ │ └── locversion.plist │ │ │ ├── Dutch.lproj │ │ │ │ ├── InfoPlist.strings │ │ │ │ ├── Localizable.strings │ │ │ │ ├── main.nib │ │ │ │ │ └── keyedobjects.nib │ │ │ │ └── locversion.plist │ │ │ ├── French.lproj │ │ │ │ ├── InfoPlist.strings │ │ │ │ ├── Localizable.strings │ │ │ │ ├── main.nib │ │ │ │ │ └── keyedobjects.nib │ │ │ │ └── locversion.plist │ │ │ ├── German.lproj │ │ │ │ ├── InfoPlist.strings │ │ │ │ ├── Localizable.strings │ │ │ │ ├── main.nib │ │ │ │ │ └── keyedobjects.nib │ │ │ │ └── locversion.plist │ │ │ ├── pt_PT.lproj │ │ │ │ ├── InfoPlist.strings │ │ │ │ ├── Localizable.strings │ │ │ │ ├── main.nib │ │ │ │ │ └── keyedobjects.nib │ │ │ │ └── locversion.plist │ │ │ ├── zh_CN.lproj │ │ │ │ ├── InfoPlist.strings │ │ │ │ ├── Localizable.strings │ │ │ │ ├── main.nib │ │ │ │ │ └── keyedobjects.nib │ │ │ │ └── locversion.plist │ │ │ ├── zh_TW.lproj │ │ │ │ ├── InfoPlist.strings │ │ │ │ ├── Localizable.strings │ │ │ │ ├── main.nib │ │ │ │ │ └── keyedobjects.nib │ │ │ │ └── locversion.plist │ │ │ ├── English.lproj │ │ │ │ ├── InfoPlist.strings │ │ │ │ ├── Localizable.strings │ │ │ │ └── main.nib │ │ │ │ │ └── keyedobjects.nib │ │ │ ├── Italian.lproj │ │ │ │ ├── InfoPlist.strings │ │ │ │ ├── Localizable.strings │ │ │ │ ├── main.nib │ │ │ │ │ └── keyedobjects.nib │ │ │ │ └── locversion.plist │ │ │ ├── Japanese.lproj │ │ │ │ ├── InfoPlist.strings │ │ │ │ ├── Localizable.strings │ │ │ │ ├── main.nib │ │ │ │ │ └── keyedobjects.nib │ │ │ │ └── locversion.plist │ │ │ └── Spanish.lproj │ │ │ │ ├── InfoPlist.strings │ │ │ │ ├── Localizable.strings │ │ │ │ ├── main.nib │ │ │ │ └── keyedobjects.nib │ │ │ │ └── locversion.plist │ │ ├── X11.sh │ │ ├── Xquartz.plist │ │ └── mk_bundke.sh │ ├── pbproxy │ │ ├── .gitignore │ │ ├── trick_autotools.c │ │ └── Makefile.am │ ├── mach-startup │ │ ├── .gitignore │ │ └── mach_startup_types.h │ ├── pseudoramiX.h │ ├── GL │ │ ├── Makefile.am │ │ └── visualConfigs.h │ ├── doc │ │ └── Makefile.am │ ├── xpr │ │ ├── Makefile.am │ │ └── driWrap.h │ ├── sanitizedCocoa.h │ ├── sanitizedCarbon.h │ └── Makefile.am ├── xfree86 │ ├── utils │ │ ├── Makefile.am │ │ ├── cvt │ │ │ ├── .gitignore │ │ │ └── cvt.man.pre │ │ └── gtf │ │ │ ├── .gitignore │ │ │ └── gtf.man.pre │ ├── os-support │ │ ├── sysv │ │ │ └── Makefile.am │ │ ├── .gitignore │ │ ├── sco │ │ │ └── Makefile.am │ │ ├── solaris │ │ │ ├── sun_agp.c │ │ │ └── Makefile.am │ │ ├── misc │ │ │ └── Makefile.am │ │ ├── hurd │ │ │ ├── Makefile.am │ │ │ └── hurd_bell.c │ │ ├── bus │ │ │ └── Makefile.am │ │ ├── shared │ │ │ └── xf86Axp.h │ │ ├── bsd │ │ │ └── bsd_kmod.c │ │ ├── Makefile.am │ │ └── linux │ │ │ └── Makefile.am │ ├── exa │ │ ├── .gitignore │ │ ├── examodule.c │ │ └── Makefile.am │ ├── common │ │ ├── xf86Build.h.in │ │ ├── .gitignore │ │ ├── xorgHelper.c │ │ └── extramodes │ ├── fbdevhw │ │ ├── .gitignore │ │ ├── README │ │ ├── Makefile.am │ │ └── fbdevhw.man.pre │ ├── ramdac │ │ ├── .gitignore │ │ ├── xf86RamDacPriv.h │ │ ├── BTPriv.h │ │ ├── IBMPriv.h │ │ ├── Makefile.am │ │ ├── TIPriv.h │ │ └── BT.h │ ├── i2c │ │ ├── i2c_def.h │ │ ├── bt829_module.c │ │ ├── fi1236_module.c │ │ ├── msp3430_module.c │ │ ├── tda8425_module.c │ │ ├── tda9850_module.c │ │ ├── tda9885_module.c │ │ ├── uda1380_module.c │ │ ├── tda9850.h │ │ ├── tda8425.h │ │ └── Makefile.am │ ├── loader │ │ ├── .gitignore │ │ ├── Makefile.am │ │ └── dlloader.h │ ├── modes │ │ ├── xf86cvt.c │ │ ├── xf86Modes.h │ │ └── Makefile.am │ ├── doc │ │ ├── man │ │ │ ├── .gitignore │ │ │ └── Makefile.am │ │ ├── sgml │ │ │ └── .gitignore │ │ ├── Makefile.am │ │ ├── devel │ │ │ └── Makefile.am │ │ └── README.rapidaccess │ ├── xaa │ │ ├── .gitignore │ │ ├── xaaWrapper.h │ │ └── xaaBitOrder.c │ ├── .gitignore │ ├── dixmods │ │ ├── extmod │ │ │ ├── xf86dgaext.h │ │ │ ├── xvmodproc.h │ │ │ ├── xvmod.c │ │ │ └── Makefile.am │ │ ├── xkbPrivate.c │ │ ├── recordmod.c │ │ └── dbemodule.c │ ├── int10 │ │ ├── x86emu.c │ │ ├── Makefile.am │ │ ├── stub.c │ │ └── xf86x86emu.h │ ├── shadowfb │ │ ├── Makefile.am │ │ ├── sfbmodule.c │ │ └── shadowfb.h │ ├── xf8_16bpp │ │ └── Makefile.am │ ├── ddc │ │ └── Makefile.am │ ├── vgahw │ │ ├── Makefile.am │ │ └── vgaHWmodule.c │ ├── vbe │ │ ├── Makefile.am │ │ └── vbe_module.c │ ├── dri2 │ │ └── Makefile.am │ ├── x86emu │ │ └── Makefile.am │ ├── dri │ │ └── Makefile.am │ └── parser │ │ └── Makefile.am ├── kdrive │ ├── fake │ │ ├── .gitignore │ │ ├── kbd.c │ │ └── Makefile.am │ ├── fbdev │ │ ├── .gitignore │ │ ├── fbdev.c │ │ ├── fbdev.h │ │ ├── fbinit.c │ │ ├── Makefile.am │ │ └── Xfbdev.man │ ├── ephyr │ │ ├── .gitignore │ │ ├── os.c │ │ ├── ephyr.c │ │ ├── ephyr.h │ │ ├── hostx.c │ │ ├── hostx.h │ │ ├── ephyr_draw.c │ │ └── ephyrinit.c │ ├── linux │ │ ├── ps2.c │ │ ├── linux.c │ │ ├── mouse.c │ │ ├── tslib.c │ │ ├── keyboard.c │ │ └── Makefile.am │ ├── src │ │ ├── kcmap.c │ │ ├── kinfo.c │ │ ├── kdrive.h │ │ ├── kinput.c │ │ ├── kshadow.c │ │ └── Makefile.am │ └── Makefile.am ├── vfb │ ├── .gitignore │ └── Makefile.am ├── xnest │ ├── .gitignore │ ├── Init.h │ ├── Handlers.h │ ├── Drawable.h │ ├── Visual.h │ ├── icon │ ├── Screen.h │ ├── Events.h │ ├── Pointer.h │ ├── Keyboard.h │ ├── XNFont.h │ ├── Handlers.c │ ├── XNPixmap.h │ ├── Args.h │ ├── XNGC.h │ ├── xnest-config.h │ └── Display.h ├── xwin │ ├── X.ico │ ├── xlaunch │ │ ├── resources │ │ │ ├── windowed.bmp │ │ │ ├── fullscreen.bmp │ │ │ ├── multiwindow.bmp │ │ │ └── nodecoration.bmp │ │ └── COPYING │ ├── .gitignore │ ├── glx │ │ ├── .gitignore │ │ └── winpriv.h │ └── XWin.exe.manifest └── Makefile.am ├── os ├── .gitignore └── xstrans.c ├── Xext ├── xvdisp.h ├── dpmsproc.h └── xf86bigfontsrv.h ├── doc ├── .gitignore └── Makefile.am ├── exa ├── exa.c ├── exa_accel.c ├── exa_driver.c ├── exa_mixed.c ├── exa_classic.c ├── exa_unaccel.c ├── exa_migration_mixed.c ├── exa_migration_classic.c └── Makefile.am ├── test ├── .gitignore ├── Makefile.am └── README ├── dix ├── .gitignore └── buildatoms ├── miext ├── shadow │ ├── shadow.c │ ├── Makefile.am │ ├── shrot16pack.c │ ├── shrot32pack.c │ ├── shrot8pack.c │ ├── shrot8pack_90.c │ ├── shrot16pack_90.c │ ├── shrot32pack_90.c │ ├── shrot8pack_180.c │ ├── shrot8pack_270.c │ ├── shrot16pack_180.c │ ├── shrot16pack_270.c │ ├── shrot16pack_90YX.c │ ├── shrot32pack_180.c │ ├── shrot32pack_270.c │ └── shrot16pack_270YX.c ├── Makefile.am ├── cw │ └── Makefile.am ├── damage │ └── Makefile.am └── rootless │ └── Makefile.am ├── include ├── .gitignore ├── dix-config-apple-verbatim.h ├── version-config.h.in ├── xsha1.h ├── bstore.h ├── xkb-config.h.in ├── xwin-config.h.in ├── kdrive-config.h.in ├── Makefile.am └── hotplug.h ├── record └── Makefile.am ├── damageext ├── Makefile.am └── damageext.h ├── autogen.sh ├── dbe └── Makefile.am ├── xkb ├── ddxPrivate.c ├── README.compiled ├── Makefile.am └── xkb.h ├── xfixes └── Makefile.am ├── composite └── Makefile.am ├── render └── Makefile.am ├── xorg-server.pc.in ├── config ├── xorg-server.conf ├── Makefile.am └── 10-evdev.conf ├── randr └── Makefile.am ├── mi ├── mibstore.h ├── mioverlay.h └── Makefile.am ├── fb └── Makefile.am ├── README ├── .gitignore └── Xi └── xiallowev.h /hw/dmx/config/test-a.in: -------------------------------------------------------------------------------- 1 | error 2 | -------------------------------------------------------------------------------- /hw/xquartz/bundle/PkgInfo: -------------------------------------------------------------------------------- 1 | APPLx11a -------------------------------------------------------------------------------- /hw/dmx/config/test-b.in: -------------------------------------------------------------------------------- 1 | # comment 2 | -------------------------------------------------------------------------------- /hw/dmx/config/test-b.out: -------------------------------------------------------------------------------- 1 | # comment 2 | -------------------------------------------------------------------------------- /hw/dmx/config/test-c.in: -------------------------------------------------------------------------------- 1 | virtual 2 | -------------------------------------------------------------------------------- /hw/dmx/config/test-d.in: -------------------------------------------------------------------------------- 1 | display 2 | -------------------------------------------------------------------------------- /hw/dmx/config/test-e.in: -------------------------------------------------------------------------------- 1 | display; 2 | -------------------------------------------------------------------------------- /hw/dmx/config/test-f.in: -------------------------------------------------------------------------------- 1 | virtual { 2 | } 3 | -------------------------------------------------------------------------------- /hw/xquartz/bundle/.gitignore: -------------------------------------------------------------------------------- 1 | Info.plist 2 | -------------------------------------------------------------------------------- /hw/xquartz/pbproxy/.gitignore: -------------------------------------------------------------------------------- 1 | xpbproxy 2 | -------------------------------------------------------------------------------- /hw/xfree86/utils/Makefile.am: -------------------------------------------------------------------------------- 1 | SUBDIRS = \ 2 | gtf \ 3 | cvt 4 | -------------------------------------------------------------------------------- /hw/dmx/config/test-i.in: -------------------------------------------------------------------------------- 1 | virtual a { 2 | param a b; # comment 3 | } 4 | -------------------------------------------------------------------------------- /hw/dmx/config/test-i.out: -------------------------------------------------------------------------------- 1 | virtual a { 2 | param a b; # comment 3 | } 4 | -------------------------------------------------------------------------------- /hw/xfree86/os-support/sysv/Makefile.am: -------------------------------------------------------------------------------- 1 | EXTRA_DIST = sysv_init.c sysv_video.c 2 | -------------------------------------------------------------------------------- /hw/dmx/config/test-k.in: -------------------------------------------------------------------------------- 1 | virtual a { 2 | option +xinerama -syncbatch 0; 3 | } 4 | -------------------------------------------------------------------------------- /hw/dmx/config/test-k.out: -------------------------------------------------------------------------------- 1 | virtual a { 2 | option "+xinerama -syncbatch 0"; 3 | } 4 | -------------------------------------------------------------------------------- /os/.gitignore: -------------------------------------------------------------------------------- 1 | # Add & Override for this directory and it's subdirectories 2 | os.c 3 | -------------------------------------------------------------------------------- /Xext/xvdisp.h: -------------------------------------------------------------------------------- 1 | extern void XineramifyXv(void); 2 | extern void XvResetProcVector(void); 3 | -------------------------------------------------------------------------------- /hw/dmx/.gitignore: -------------------------------------------------------------------------------- 1 | # Add & Override for this directory and it's subdirectories 2 | Xdmx 3 | -------------------------------------------------------------------------------- /doc/.gitignore: -------------------------------------------------------------------------------- 1 | # Add & Override for this directory and it's subdirectories 2 | Xserver.man 3 | -------------------------------------------------------------------------------- /exa/exa.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/exa/exa.c -------------------------------------------------------------------------------- /hw/dmx/config/test-f.out: -------------------------------------------------------------------------------- 1 | parse error on line 2 at token "}" 2 | syntax error, unexpected "}"B} 3 | -------------------------------------------------------------------------------- /hw/kdrive/fake/.gitignore: -------------------------------------------------------------------------------- 1 | # Add & Override for this directory and it's subdirectories 2 | Xfake 3 | -------------------------------------------------------------------------------- /hw/kdrive/fbdev/.gitignore: -------------------------------------------------------------------------------- 1 | # Add & Override for this directory and it's subdirectories 2 | Xfbdev 3 | -------------------------------------------------------------------------------- /hw/xfree86/exa/.gitignore: -------------------------------------------------------------------------------- 1 | # Add & Override for this directory and it's subdirectories 2 | exa.man 3 | -------------------------------------------------------------------------------- /test/.gitignore: -------------------------------------------------------------------------------- 1 | # Add & Override for this directory and it's subdirectories 2 | libxservertest.c 3 | -------------------------------------------------------------------------------- /hw/vfb/.gitignore: -------------------------------------------------------------------------------- 1 | # Add & Override for this directory and it's subdirectories 2 | Xvfb 3 | Xvfb.man 4 | -------------------------------------------------------------------------------- /hw/xfree86/common/xf86Build.h.in: -------------------------------------------------------------------------------- 1 | #define BUILD_DATE @BUILD_DATE@ 2 | #define BUILD_TIME @BUILD_TIME@ 3 | -------------------------------------------------------------------------------- /hw/xnest/.gitignore: -------------------------------------------------------------------------------- 1 | # Add & Override for this directory and it's subdirectories 2 | Xnest 3 | Xnest.man 4 | -------------------------------------------------------------------------------- /hw/xwin/X.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/xwin/X.ico -------------------------------------------------------------------------------- /dix/.gitignore: -------------------------------------------------------------------------------- 1 | # Add & Override for this directory and it's subdirectories 2 | dix.c 3 | Xserver-dtrace.h 4 | -------------------------------------------------------------------------------- /exa/exa_accel.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/exa/exa_accel.c -------------------------------------------------------------------------------- /exa/exa_driver.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/exa/exa_driver.c -------------------------------------------------------------------------------- /exa/exa_mixed.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/exa/exa_mixed.c -------------------------------------------------------------------------------- /hw/dmx/config/test-g.in: -------------------------------------------------------------------------------- 1 | virtual a { 2 | display d0:0 1280x1024; 3 | display d1:0 1280x1024; 4 | } 5 | -------------------------------------------------------------------------------- /hw/dmx/config/test-g.out: -------------------------------------------------------------------------------- 1 | virtual a { 2 | display d0:0 1280x1024; 3 | display d1:0 1280x1024; 4 | } 5 | -------------------------------------------------------------------------------- /hw/xfree86/fbdevhw/.gitignore: -------------------------------------------------------------------------------- 1 | # Add & Override for this directory and it's subdirectories 2 | fbdevhw.man 3 | -------------------------------------------------------------------------------- /hw/xfree86/os-support/.gitignore: -------------------------------------------------------------------------------- 1 | # Add & Override for this directory and it's subdirectories 2 | xorgos.c 3 | -------------------------------------------------------------------------------- /hw/xfree86/ramdac/.gitignore: -------------------------------------------------------------------------------- 1 | # Add & Override for this directory and it's subdirectories 2 | xf86BitOrder.c 3 | -------------------------------------------------------------------------------- /hw/xquartz/pbproxy/trick_autotools.c: -------------------------------------------------------------------------------- 1 | int this_is_just_here_to_make_automake_work() { 2 | return 0; 3 | } 4 | -------------------------------------------------------------------------------- /exa/exa_classic.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/exa/exa_classic.c -------------------------------------------------------------------------------- /exa/exa_unaccel.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/exa/exa_unaccel.c -------------------------------------------------------------------------------- /hw/kdrive/ephyr/.gitignore: -------------------------------------------------------------------------------- 1 | # Add & Override for this directory and it's subdirectories 2 | Xephyr 3 | Xephyr.man 4 | -------------------------------------------------------------------------------- /hw/xfree86/utils/cvt/.gitignore: -------------------------------------------------------------------------------- 1 | # Add & Override for this directory and it's subdirectories 2 | cvt 3 | cvt.man 4 | -------------------------------------------------------------------------------- /hw/xfree86/utils/gtf/.gitignore: -------------------------------------------------------------------------------- 1 | # Add & Override for this directory and it's subdirectories 2 | gtf 3 | gtf.man 4 | -------------------------------------------------------------------------------- /hw/kdrive/ephyr/os.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/kdrive/ephyr/os.c -------------------------------------------------------------------------------- /hw/kdrive/fake/kbd.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/kdrive/fake/kbd.c -------------------------------------------------------------------------------- /hw/kdrive/linux/ps2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/kdrive/linux/ps2.c -------------------------------------------------------------------------------- /hw/kdrive/src/kcmap.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/kdrive/src/kcmap.c -------------------------------------------------------------------------------- /hw/kdrive/src/kinfo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/kdrive/src/kinfo.c -------------------------------------------------------------------------------- /hw/xfree86/i2c/i2c_def.h: -------------------------------------------------------------------------------- 1 | #ifndef __I2C_DEF_H__ 2 | #define __I2C_DEF_H__ 3 | 4 | #include "xf86i2c.h" 5 | 6 | #endif 7 | -------------------------------------------------------------------------------- /hw/xfree86/loader/.gitignore: -------------------------------------------------------------------------------- 1 | # Add & Override for this directory and it's subdirectories 2 | sdksyms.c 3 | sdksyms.dep 4 | -------------------------------------------------------------------------------- /miext/shadow/shadow.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/miext/shadow/shadow.c -------------------------------------------------------------------------------- /hw/kdrive/ephyr/ephyr.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/kdrive/ephyr/ephyr.c -------------------------------------------------------------------------------- /hw/kdrive/ephyr/ephyr.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/kdrive/ephyr/ephyr.h -------------------------------------------------------------------------------- /hw/kdrive/ephyr/hostx.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/kdrive/ephyr/hostx.c -------------------------------------------------------------------------------- /hw/kdrive/ephyr/hostx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/kdrive/ephyr/hostx.h -------------------------------------------------------------------------------- /hw/kdrive/fbdev/fbdev.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/kdrive/fbdev/fbdev.c -------------------------------------------------------------------------------- /hw/kdrive/fbdev/fbdev.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/kdrive/fbdev/fbdev.h -------------------------------------------------------------------------------- /hw/kdrive/linux/linux.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/kdrive/linux/linux.c -------------------------------------------------------------------------------- /hw/kdrive/linux/mouse.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/kdrive/linux/mouse.c -------------------------------------------------------------------------------- /hw/kdrive/linux/tslib.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/kdrive/linux/tslib.c -------------------------------------------------------------------------------- /hw/kdrive/src/kdrive.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/kdrive/src/kdrive.h -------------------------------------------------------------------------------- /hw/kdrive/src/kinput.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/kdrive/src/kinput.c -------------------------------------------------------------------------------- /hw/kdrive/src/kshadow.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/kdrive/src/kshadow.c -------------------------------------------------------------------------------- /hw/xfree86/os-support/sco/Makefile.am: -------------------------------------------------------------------------------- 1 | EXTRA_DIST = \ 2 | VTsw_sco.c \ 3 | sco_init.c \ 4 | sco_iop.c \ 5 | sco_video.c 6 | -------------------------------------------------------------------------------- /exa/exa_migration_mixed.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/exa/exa_migration_mixed.c -------------------------------------------------------------------------------- /hw/kdrive/fbdev/fbinit.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/kdrive/fbdev/fbinit.c -------------------------------------------------------------------------------- /hw/kdrive/linux/keyboard.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/kdrive/linux/keyboard.c -------------------------------------------------------------------------------- /hw/xfree86/common/.gitignore: -------------------------------------------------------------------------------- 1 | # Add & Override for this directory and it's subdirectories 2 | xf86Build.h 3 | xf86DefModeSet.c 4 | -------------------------------------------------------------------------------- /hw/xfree86/exa/examodule.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/xfree86/exa/examodule.c -------------------------------------------------------------------------------- /hw/xfree86/modes/xf86cvt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/xfree86/modes/xf86cvt.c -------------------------------------------------------------------------------- /exa/exa_migration_classic.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/exa/exa_migration_classic.c -------------------------------------------------------------------------------- /hw/dmx/config/test-h.in: -------------------------------------------------------------------------------- 1 | # comment a 2 | # comment b 3 | ## comment c 4 | # <-- tab 5 | # Next comment is empty 6 | # 7 | # Non empty 8 | -------------------------------------------------------------------------------- /hw/dmx/config/test-h.out: -------------------------------------------------------------------------------- 1 | # comment a 2 | # comment b 3 | ## comment c 4 | # <-- tab 5 | # Next comment is empty 6 | # 7 | # Non empty 8 | -------------------------------------------------------------------------------- /hw/kdrive/ephyr/ephyr_draw.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/kdrive/ephyr/ephyr_draw.c -------------------------------------------------------------------------------- /hw/kdrive/ephyr/ephyrinit.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/kdrive/ephyr/ephyrinit.c -------------------------------------------------------------------------------- /hw/xfree86/doc/man/.gitignore: -------------------------------------------------------------------------------- 1 | # Add & Override for this directory and it's subdirectories 2 | Xorg 3 | Xorg.man 4 | xorg.conf.man 5 | -------------------------------------------------------------------------------- /hw/xfree86/modes/xf86Modes.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/xfree86/modes/xf86Modes.h -------------------------------------------------------------------------------- /hw/dmx/config/test-a.out: -------------------------------------------------------------------------------- 1 | parse error on line 1 at token "error" 2 | syntax error, unexpected string expecting "virtual" or comment (e.g., #...) 3 | -------------------------------------------------------------------------------- /hw/xfree86/xaa/.gitignore: -------------------------------------------------------------------------------- 1 | # Add & Override for this directory and it's subdirectories 2 | [lms]-xaa*.c 3 | [lm]f3-xaa*.c 4 | [lm][f3]-xaa*.c 5 | -------------------------------------------------------------------------------- /include/.gitignore: -------------------------------------------------------------------------------- 1 | # Add & Override for this directory and it's subdirectories 2 | *-config.h 3 | do-not-use-config.h.in 4 | xorg-server.h 5 | 6 | -------------------------------------------------------------------------------- /hw/dmx/config/test-d.out: -------------------------------------------------------------------------------- 1 | parse error on line 1 at token "display" 2 | syntax error, unexpected "display" expecting "virtual" or comment (e.g., #...) 3 | -------------------------------------------------------------------------------- /hw/dmx/config/test-e.out: -------------------------------------------------------------------------------- 1 | parse error on line 1 at token "display" 2 | syntax error, unexpected "display" expecting "virtual" or comment (e.g., #...) 3 | -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/X11.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/xquartz/bundle/Resources/X11.icns -------------------------------------------------------------------------------- /hw/xfree86/doc/sgml/.gitignore: -------------------------------------------------------------------------------- 1 | # Add & Override for this directory and it's subdirectories 2 | DESIGN.html 3 | DESIGN.pdf 4 | DESIGN.ps 5 | DESIGN.txt 6 | -------------------------------------------------------------------------------- /hw/xwin/xlaunch/resources/windowed.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/xwin/xlaunch/resources/windowed.bmp -------------------------------------------------------------------------------- /hw/dmx/config/test-c.out: -------------------------------------------------------------------------------- 1 | parse error on line 2 at token " " 2 | syntax error, unexpected $end, expecting "{" or string or dimension (e.g., 2x2 or 1024x768) 3 | -------------------------------------------------------------------------------- /hw/xfree86/os-support/solaris/sun_agp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/xfree86/os-support/solaris/sun_agp.c -------------------------------------------------------------------------------- /hw/xwin/xlaunch/resources/fullscreen.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/xwin/xlaunch/resources/fullscreen.bmp -------------------------------------------------------------------------------- /hw/xwin/xlaunch/resources/multiwindow.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/xwin/xlaunch/resources/multiwindow.bmp -------------------------------------------------------------------------------- /hw/xwin/.gitignore: -------------------------------------------------------------------------------- 1 | # Add & Override for this directory and it's subdirectories 2 | winprefslex.c 3 | winprefsyacc.c 4 | winprefsyacc.h 5 | XWin.man 6 | XWinrc.man 7 | -------------------------------------------------------------------------------- /hw/xwin/xlaunch/resources/nodecoration.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/xwin/xlaunch/resources/nodecoration.bmp -------------------------------------------------------------------------------- /record/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES = librecord.la 2 | 3 | AM_CFLAGS = $(DIX_CFLAGS) 4 | 5 | librecord_la_SOURCES = record.c set.c 6 | 7 | EXTRA_DIST = set.h 8 | -------------------------------------------------------------------------------- /hw/dmx/config/.gitignore: -------------------------------------------------------------------------------- 1 | # Add & Override for this directory and it's subdirectories 2 | dmxtodmx 3 | parser.c 4 | parser.h 5 | scanner.c 6 | vdltodmx 7 | xdmxconfig 8 | -------------------------------------------------------------------------------- /hw/xfree86/.gitignore: -------------------------------------------------------------------------------- 1 | # Add & Override for this directory and it's subdirectories 2 | libxorg.c 3 | Xorg 4 | xorg.c 5 | xorg.conf.example 6 | xorg.conf.example.pre 7 | 8 | -------------------------------------------------------------------------------- /hw/xfree86/doc/Makefile.am: -------------------------------------------------------------------------------- 1 | if BUILDDOCS 2 | SUBDIRS = devel man sgml 3 | else 4 | SUBDIRS = man 5 | endif 6 | 7 | EXTRA_DIST = \ 8 | README.DRI \ 9 | README.rapidaccess 10 | -------------------------------------------------------------------------------- /hw/xwin/glx/.gitignore: -------------------------------------------------------------------------------- 1 | # ignore downloaded and generated files 2 | generated_gl_wrappers.c 3 | generated_wgl_wrappers.c 4 | gl.spec 5 | gl.tm 6 | wgl.tm 7 | wglext.spec 8 | wglext.h 9 | -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/ar.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/xquartz/bundle/Resources/ar.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/ar.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/xquartz/bundle/Resources/ar.lproj/Localizable.strings -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/da.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/xquartz/bundle/Resources/da.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/da.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/xquartz/bundle/Resources/da.lproj/Localizable.strings -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/fi.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/xquartz/bundle/Resources/fi.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/fi.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/xquartz/bundle/Resources/fi.lproj/Localizable.strings -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/ko.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/xquartz/bundle/Resources/ko.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/ko.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/xquartz/bundle/Resources/ko.lproj/Localizable.strings -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/no.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/xquartz/bundle/Resources/no.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/no.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/xquartz/bundle/Resources/no.lproj/Localizable.strings -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/pl.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/xquartz/bundle/Resources/pl.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/pl.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/xquartz/bundle/Resources/pl.lproj/Localizable.strings -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/pt.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/xquartz/bundle/Resources/pt.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/pt.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/xquartz/bundle/Resources/pt.lproj/Localizable.strings -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/ru.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/xquartz/bundle/Resources/ru.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/ru.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/xquartz/bundle/Resources/ru.lproj/Localizable.strings -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/sv.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/xquartz/bundle/Resources/sv.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/sv.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/xquartz/bundle/Resources/sv.lproj/Localizable.strings -------------------------------------------------------------------------------- /os/xstrans.c: -------------------------------------------------------------------------------- 1 | #ifdef HAVE_DIX_CONFIG_H 2 | #include 3 | #endif 4 | 5 | #define TRANS_REOPEN 6 | #define TRANS_SERVER 7 | #define XSERV_t 8 | #include 9 | -------------------------------------------------------------------------------- /damageext/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES = libdamageext.la 2 | 3 | AM_CFLAGS = $(DIX_CFLAGS) 4 | 5 | libdamageext_la_SOURCES = \ 6 | damageext.c \ 7 | damageext.h \ 8 | damageextint.h 9 | -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/Dutch.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/xquartz/bundle/Resources/Dutch.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/French.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/xquartz/bundle/Resources/French.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/German.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/xquartz/bundle/Resources/German.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/pt_PT.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/xquartz/bundle/Resources/pt_PT.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/zh_CN.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/xquartz/bundle/Resources/zh_CN.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/zh_TW.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/xquartz/bundle/Resources/zh_TW.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/Dutch.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/xquartz/bundle/Resources/Dutch.lproj/Localizable.strings -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/English.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/xquartz/bundle/Resources/English.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/English.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/xquartz/bundle/Resources/English.lproj/Localizable.strings -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/French.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/xquartz/bundle/Resources/French.lproj/Localizable.strings -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/German.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/xquartz/bundle/Resources/German.lproj/Localizable.strings -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/Italian.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/xquartz/bundle/Resources/Italian.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/Italian.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/xquartz/bundle/Resources/Italian.lproj/Localizable.strings -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/Japanese.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/xquartz/bundle/Resources/Japanese.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/Spanish.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/xquartz/bundle/Resources/Spanish.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/Spanish.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/xquartz/bundle/Resources/Spanish.lproj/Localizable.strings -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/pt_PT.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/xquartz/bundle/Resources/pt_PT.lproj/Localizable.strings -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/zh_CN.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/xquartz/bundle/Resources/zh_CN.lproj/Localizable.strings -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/zh_TW.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/xquartz/bundle/Resources/zh_TW.lproj/Localizable.strings -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/Japanese.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/xquartz/bundle/Resources/Japanese.lproj/Localizable.strings -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/ar.lproj/main.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/xquartz/bundle/Resources/ar.lproj/main.nib/keyedobjects.nib -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/da.lproj/main.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/xquartz/bundle/Resources/da.lproj/main.nib/keyedobjects.nib -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/fi.lproj/main.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/xquartz/bundle/Resources/fi.lproj/main.nib/keyedobjects.nib -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/ko.lproj/main.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/xquartz/bundle/Resources/ko.lproj/main.nib/keyedobjects.nib -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/no.lproj/main.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/xquartz/bundle/Resources/no.lproj/main.nib/keyedobjects.nib -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/pl.lproj/main.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/xquartz/bundle/Resources/pl.lproj/main.nib/keyedobjects.nib -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/pt.lproj/main.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/xquartz/bundle/Resources/pt.lproj/main.nib/keyedobjects.nib -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/ru.lproj/main.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/xquartz/bundle/Resources/ru.lproj/main.nib/keyedobjects.nib -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/sv.lproj/main.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/xquartz/bundle/Resources/sv.lproj/main.nib/keyedobjects.nib -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/Dutch.lproj/main.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/xquartz/bundle/Resources/Dutch.lproj/main.nib/keyedobjects.nib -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/French.lproj/main.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/xquartz/bundle/Resources/French.lproj/main.nib/keyedobjects.nib -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/German.lproj/main.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/xquartz/bundle/Resources/German.lproj/main.nib/keyedobjects.nib -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/pt_PT.lproj/main.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/xquartz/bundle/Resources/pt_PT.lproj/main.nib/keyedobjects.nib -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/zh_CN.lproj/main.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/xquartz/bundle/Resources/zh_CN.lproj/main.nib/keyedobjects.nib -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/zh_TW.lproj/main.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/xquartz/bundle/Resources/zh_TW.lproj/main.nib/keyedobjects.nib -------------------------------------------------------------------------------- /hw/dmx/doc/.gitignore: -------------------------------------------------------------------------------- 1 | # Add & Override for this directory and it's subdirectories 2 | html/ 3 | dmx.html 4 | dmx.pdf 5 | dmx.ps 6 | dmx.txt 7 | scaled.html 8 | scaled.pdf 9 | scaled.ps 10 | scaled.txt 11 | -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/English.lproj/main.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/xquartz/bundle/Resources/English.lproj/main.nib/keyedobjects.nib -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/Italian.lproj/main.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/xquartz/bundle/Resources/Italian.lproj/main.nib/keyedobjects.nib -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/Japanese.lproj/main.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/xquartz/bundle/Resources/Japanese.lproj/main.nib/keyedobjects.nib -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/Spanish.lproj/main.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenghaitao/xserver-with-gl-accelerated-xephyr/HEAD/hw/xquartz/bundle/Resources/Spanish.lproj/main.nib/keyedobjects.nib -------------------------------------------------------------------------------- /hw/xquartz/mach-startup/.gitignore: -------------------------------------------------------------------------------- 1 | # Add & Override for this directory and it's subdirectories 2 | mach_startup.h 3 | mach_startupServer.c 4 | mach_startupServer.h 5 | mach_startupUser.c 6 | X11.bin 7 | Xquartz 8 | 9 | -------------------------------------------------------------------------------- /hw/dmx/config/TODO: -------------------------------------------------------------------------------- 1 | Fri May 31 13:20:17 2002 2 | 3 | 1) Sanitize values from input boxes. 4 | 5 | 2) Add canvas colors to cavas widget resources or to command-line options. 6 | 7 | 3) Add ability to edit option line(s) and wall. 8 | -------------------------------------------------------------------------------- /hw/xfree86/doc/devel/Makefile.am: -------------------------------------------------------------------------------- 1 | # Documentation for developers that is distributed with the source but 2 | # not installed on the system for end-users 3 | 4 | EXTRA_DIST = \ 5 | Registry \ 6 | exa-driver.txt \ 7 | README.DRIcomp 8 | -------------------------------------------------------------------------------- /hw/xquartz/mach-startup/mach_startup_types.h: -------------------------------------------------------------------------------- 1 | #ifndef _MACH_STARTUP_TYPES_H_ 2 | #define _MACH_STARTUP_TYPES_H_ 3 | 4 | #define STRING_T_SIZE 1024 5 | 6 | typedef char string_t[STRING_T_SIZE]; 7 | typedef string_t * string_array_t; 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /miext/Makefile.am: -------------------------------------------------------------------------------- 1 | SUBDIRS = damage shadow 2 | if COMPOSITE 3 | SUBDIRS += cw 4 | endif 5 | if XQUARTZ 6 | SUBDIRS += rootless 7 | endif 8 | if XWIN_MULTIWINDOWEXTWM 9 | SUBDIRS += rootless 10 | endif 11 | DIST_SUBDIRS = damage shadow cw rootless 12 | -------------------------------------------------------------------------------- /miext/cw/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES = libcw.la 2 | 3 | AM_CFLAGS = $(DIX_CFLAGS) 4 | 5 | INCLUDES = -I$(top_srcdir)/hw/xfree86/os-support 6 | 7 | libcw_la_SOURCES = \ 8 | cw.c \ 9 | cw_ops.c \ 10 | cw_render.c \ 11 | cw.h 12 | -------------------------------------------------------------------------------- /hw/xfree86/dixmods/extmod/xf86dgaext.h: -------------------------------------------------------------------------------- 1 | #ifdef HAVE_DIX_CONFIG_H 2 | #include 3 | #endif 4 | 5 | #ifndef _XF86DGAEXT_H_ 6 | #define _XF86DGAEXT_H_ 7 | 8 | extern DISPATCH_PROC(ProcXF86DGADispatch); 9 | 10 | #endif /* _XF86DGAEXT_H_ */ 11 | -------------------------------------------------------------------------------- /autogen.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | srcdir=`dirname $0` 4 | test -z "$srcdir" && srcdir=. 5 | 6 | ORIGDIR=`pwd` 7 | cd $srcdir 8 | 9 | autoreconf --force -v --install || exit 1 10 | cd $ORIGDIR || exit $? 11 | 12 | $srcdir/configure --enable-maintainer-mode "$@" 13 | -------------------------------------------------------------------------------- /dbe/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES = libdbe.la 2 | 3 | AM_CFLAGS = $(DIX_CFLAGS) 4 | 5 | if XORG 6 | sdk_HEADERS = dbestruct.h 7 | endif 8 | 9 | libdbe_la_SOURCES = \ 10 | dbe.c \ 11 | midbe.c \ 12 | midbe.h \ 13 | midbestr.h 14 | -------------------------------------------------------------------------------- /hw/xfree86/int10/x86emu.c: -------------------------------------------------------------------------------- 1 | 2 | #ifdef HAVE_XORG_CONFIG_H 3 | #include 4 | #endif 5 | 6 | #include "debug.c" 7 | #include "decode.c" 8 | #include "fpu.c" 9 | #include "ops.c" 10 | #include "ops2.c" 11 | #include "prim_ops.c" 12 | #include "sys.c" 13 | -------------------------------------------------------------------------------- /hw/xfree86/xaa/xaaWrapper.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _XAA_WRAPPER_H 3 | # define _XAA_WRAPPER_H 4 | 5 | typedef void (*SyncFunc)(ScreenPtr); 6 | 7 | extern _X_EXPORT Bool xaaSetupWrapper(ScreenPtr pScreen, 8 | XAAInfoRecPtr infoPtr, int depth, SyncFunc *func); 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /hw/xfree86/os-support/misc/Makefile.am: -------------------------------------------------------------------------------- 1 | 2 | noinst_LTLIBRARIES = libmisc.la 3 | 4 | libmisc_la_SOURCES = SlowBcopy.c 5 | 6 | #AM_LDFLAGS = -r 7 | 8 | INCLUDES = $(XORG_INCS) 9 | 10 | AM_CFLAGS = $(XORG_CFLAGS) $(DIX_CFLAGS) 11 | 12 | EXTRA_DIST = $(I386_SRCS) $(PORTIO_SRCS) 13 | -------------------------------------------------------------------------------- /hw/xfree86/shadowfb/Makefile.am: -------------------------------------------------------------------------------- 1 | module_LTLIBRARIES = libshadowfb.la 2 | libshadowfb_la_LDFLAGS = -avoid-version 3 | libshadowfb_la_SOURCES = sfbmodule.c shadow.c 4 | 5 | sdk_HEADERS = shadowfb.h 6 | 7 | INCLUDES = $(XORG_INCS) 8 | 9 | AM_CFLAGS = $(DIX_CFLAGS) $(XORG_CFLAGS) 10 | -------------------------------------------------------------------------------- /xkb/ddxPrivate.c: -------------------------------------------------------------------------------- 1 | 2 | #ifdef HAVE_DIX_CONFIG_H 3 | #include 4 | #endif 5 | 6 | #include 7 | #include "windowstr.h" 8 | #include 9 | 10 | int 11 | XkbDDXPrivate(DeviceIntPtr dev,KeyCode key,XkbAction *act) 12 | { 13 | return 0; 14 | } 15 | -------------------------------------------------------------------------------- /hw/dmx/examples/.gitignore: -------------------------------------------------------------------------------- 1 | # Add & Override for this directory and it's subdirectories 2 | dmxaddinput 3 | dmxaddscreen 4 | dmxinfo 5 | dmxreconfig 6 | dmxresize 7 | dmxrminput 8 | dmxrmscreen 9 | dmxwininfo 10 | ev 11 | evi 12 | res 13 | xbell 14 | xinput 15 | xled 16 | xtest 17 | 18 | -------------------------------------------------------------------------------- /hw/xquartz/pseudoramiX.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Minimal implementation of PanoramiX/Xinerama 3 | */ 4 | 5 | extern int noPseudoramiXExtension; 6 | 7 | void PseudoramiXAddScreen(int x, int y, int w, int h); 8 | void PseudoramiXExtensionInit(int argc, char *argv[]); 9 | void PseudoramiXResetScreens(void); 10 | -------------------------------------------------------------------------------- /xfixes/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES = libxfixes.la 2 | 3 | AM_CFLAGS = $(DIX_CFLAGS) 4 | 5 | if XORG 6 | sdk_HEADERS = xfixes.h 7 | endif 8 | 9 | libxfixes_la_SOURCES = \ 10 | cursor.c \ 11 | region.c \ 12 | saveset.c \ 13 | select.c \ 14 | xfixes.c \ 15 | xfixes.h \ 16 | xfixesint.h 17 | -------------------------------------------------------------------------------- /hw/dmx/doc/doxygen.head: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | File Index 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /hw/xfree86/xf8_16bpp/Makefile.am: -------------------------------------------------------------------------------- 1 | module_LTLIBRARIES = libxf8_16bpp.la 2 | 3 | sdk_HEADERS = cfb8_16.h 4 | 5 | INCLUDES = $(XORG_INCS) -I$(top_srcdir)/fb 6 | 7 | AM_CFLAGS = $(DIX_CFLAGS) $(XORG_CFLAGS) 8 | 9 | libxf8_16bpp_la_LDFLAGS = -avoid-version 10 | 11 | libxf8_16bpp_la_SOURCES = xf8_16module.c 12 | -------------------------------------------------------------------------------- /composite/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES = libcomposite.la 2 | 3 | AM_CFLAGS = $(DIX_CFLAGS) 4 | 5 | if XORG 6 | sdk_HEADERS = compositeext.h 7 | endif 8 | 9 | libcomposite_la_SOURCES = \ 10 | compalloc.c \ 11 | compext.c \ 12 | compint.h \ 13 | compinit.c \ 14 | compoverlay.c \ 15 | compwindow.c 16 | -------------------------------------------------------------------------------- /hw/xfree86/ddc/Makefile.am: -------------------------------------------------------------------------------- 1 | sdk_HEADERS = edid.h xf86DDC.h 2 | 3 | noinst_LTLIBRARIES = libddc.la 4 | 5 | libddc_la_SOURCES = ddc.c interpret_edid.c print_edid.c ddcProperty.c 6 | 7 | INCLUDES = $(XORG_INCS) -I$(srcdir)/../i2c 8 | 9 | AM_CFLAGS = $(DIX_CFLAGS) $(XORG_CFLAGS) 10 | 11 | EXTRA_DIST = DDC.HOWTO 12 | -------------------------------------------------------------------------------- /hw/xfree86/vgahw/Makefile.am: -------------------------------------------------------------------------------- 1 | module_LTLIBRARIES = libvgahw.la 2 | libvgahw_la_LDFLAGS = -avoid-version 3 | libvgahw_la_SOURCES = vgaHW.c vgaHWmodule.c 4 | INCLUDES = $(XORG_INCS) -I$(srcdir)/../ddc -I$(srcdir)/../i2c 5 | AM_CFLAGS = $(DIX_CFLAGS) $(XORG_CFLAGS) 6 | 7 | sdk_HEADERS = vgaHW.h 8 | 9 | EXTRA_DIST = vgaCmap.c 10 | -------------------------------------------------------------------------------- /hw/xwin/glx/winpriv.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Export window information for the Windows-OpenGL GLX implementation. 3 | * 4 | * Authors: Alexander Gottwald 5 | */ 6 | 7 | #include 8 | #include 9 | 10 | HWND winGetWindowInfo(WindowPtr pWin); 11 | Bool winCheckScreenAiglxIsSupported(ScreenPtr pScreen); 12 | -------------------------------------------------------------------------------- /miext/damage/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES = libdamage.la 2 | 3 | AM_CFLAGS = $(DIX_CFLAGS) 4 | 5 | INCLUDES = -I$(srcdir)/../cw -I$(top_srcdir)/hw/xfree86/os-support 6 | 7 | if XORG 8 | sdk_HEADERS = damage.h damagestr.h 9 | endif 10 | 11 | libdamage_la_SOURCES = \ 12 | damage.c \ 13 | damage.h \ 14 | damagestr.h 15 | -------------------------------------------------------------------------------- /include/dix-config-apple-verbatim.h: -------------------------------------------------------------------------------- 1 | /* Do not include this file directly. It is included at the end of */ 2 | 3 | /* Correctly set _XSERVER64 for OSX fat binaries */ 4 | #if defined(__LP64__) && !defined(_XSERVER64) 5 | #define _XSERVER64 1 6 | #elif !defined(__LP64__) && defined(_XSERVER64) 7 | #undef _XSERVER64 8 | #endif 9 | -------------------------------------------------------------------------------- /Xext/dpmsproc.h: -------------------------------------------------------------------------------- 1 | /* Prototypes for functions that the DDX must provide */ 2 | 3 | #ifdef HAVE_DIX_CONFIG_H 4 | #include 5 | #endif 6 | 7 | #ifndef _DPMSPROC_H_ 8 | #define _DPMSPROC_H_ 9 | 10 | #include "dixstruct.h" 11 | 12 | int DPMSSet(ClientPtr client, int level); 13 | Bool DPMSSupported(void); 14 | 15 | #endif 16 | -------------------------------------------------------------------------------- /hw/xfree86/vbe/Makefile.am: -------------------------------------------------------------------------------- 1 | module_LTLIBRARIES = libvbe.la 2 | libvbe_la_LDFLAGS = -avoid-version 3 | libvbe_la_SOURCES = vbe.c vbeModes.c vbe_module.c 4 | 5 | sdk_HEADERS = vbe.h vbeModes.h 6 | 7 | AM_CFLAGS = $(DIX_CFLAGS) $(XORG_CFLAGS) 8 | 9 | INCLUDES = $(XORG_INCS) -I$(srcdir)/../ddc -I$(srcdir)/../i2c \ 10 | -I$(srcdir)/../int10 11 | -------------------------------------------------------------------------------- /include/version-config.h.in: -------------------------------------------------------------------------------- 1 | /* version-config.h.in: not generated */ 2 | 3 | #ifndef VERSION_CONFIG_H 4 | #define VERSION_CONFIG_H 5 | 6 | /* Vendor man version */ 7 | #undef VENDOR_MAN_VERSION 8 | 9 | /* Vendor name */ 10 | #undef VENDOR_NAME 11 | 12 | /* Vendor release */ 13 | #undef VENDOR_RELEASE 14 | 15 | #endif /* VERSION_CONFIG_H */ 16 | 17 | -------------------------------------------------------------------------------- /hw/dmx/config/test-j.out: -------------------------------------------------------------------------------- 1 | virtual a { 2 | option "aaa aa cc"; 3 | param { # comment 1 4 | a b; 5 | c d; 6 | x y z; # comment 2 7 | } 8 | param e f g h; # comment 3 9 | param e f g hlskdjflskdfjsd #comment 4 10 | flksdjf sldkfjsldkfjsdlf lsdkfjsldkfjlsdkjflskdjflsdkjfl lkjsdlfjsdlfkjsdlfj; 11 | } 12 | -------------------------------------------------------------------------------- /hw/dmx/doc/doxygen.foot: -------------------------------------------------------------------------------- 1 |
2 |
3 | 4 | Generated June 29, 2004 for Distributed Multihead X by 6 | doxygen 7 | 1.3.4. 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /hw/dmx/config/test-j.in: -------------------------------------------------------------------------------- 1 | virtual a { 2 | option aaa # bbb 3 | aa cc; 4 | param { # comment 1 5 | a b; 6 | c d; 7 | x y z; # comment 2 8 | } 9 | param e f g h; # comment 3 10 | param e f g hlskdjflskdfjsd #comment 4 11 | flksdjf sldkfjsldkfjsdlf 12 | "lsdkfjsldkfjlsdkjflskdjflsdkjfl" "lkjsdlfjsdlfkjsdlfj"; 13 | } 14 | -------------------------------------------------------------------------------- /hw/dmx/config/test-l.in: -------------------------------------------------------------------------------- 1 | virtual a { 2 | display d0:0 1x2; 3 | display d1:0 +3+4; 4 | display d2:0 100x200 @1x1; 5 | display d3:0 +3+4 @2x2; 6 | display d4:0 100x200+3+4 @3x3; 7 | display d5:0 / 1x2+3+4; 8 | display d6:0 / 1x2; 9 | display d7:0 / +3+4; 10 | display d8:0 / 1x2+3+4 @4x4; 11 | display d9:0 11x22+33+44 / 111x222+333+444 @1000x1100; 12 | } 13 | -------------------------------------------------------------------------------- /hw/dmx/config/test-l.out: -------------------------------------------------------------------------------- 1 | virtual a { 2 | display d0:0 1x2; 3 | display d1:0 +3+4; 4 | display d2:0 100x200 @1x1; 5 | display d3:0 +3+4 @2x2; 6 | display d4:0 100x200+3+4 @3x3; 7 | display d5:0 / 1x2+3+4; 8 | display d6:0 / 1x2; 9 | display d7:0 / +3+4; 10 | display d8:0 / 1x2+3+4 @4x4; 11 | display d9:0 11x22+33+44 / 111x222+333+444 @1000x1100; 12 | } 13 | -------------------------------------------------------------------------------- /hw/xfree86/dixmods/extmod/xvmodproc.h: -------------------------------------------------------------------------------- 1 | 2 | #ifdef HAVE_DIX_CONFIG_H 3 | #include 4 | #endif 5 | 6 | #include "xvmcext.h" 7 | 8 | extern DevPrivateKey (*XvGetScreenKeyProc)(void); 9 | extern unsigned long (*XvGetRTPortProc)(void); 10 | extern int (*XvScreenInitProc)(ScreenPtr); 11 | extern int (*XvMCScreenInitProc)(ScreenPtr, int, XvMCAdaptorPtr); 12 | 13 | extern void XvRegister(void); 14 | -------------------------------------------------------------------------------- /hw/xfree86/ramdac/xf86RamDacPriv.h: -------------------------------------------------------------------------------- 1 | 2 | #ifdef HAVE_XORG_CONFIG_H 3 | #include 4 | #endif 5 | 6 | #include "xf86RamDac.h" 7 | #include "xf86cmap.h" 8 | 9 | void RamDacGetRecPrivate(void); 10 | Bool RamDacGetRec(ScrnInfoPtr pScrn); 11 | int RamDacGetScreenIndex(void); 12 | void RamDacLoadPalette(ScrnInfoPtr pScrn, int numColors, int *indices, 13 | LOCO *colors, VisualPtr pVisual); 14 | -------------------------------------------------------------------------------- /hw/xfree86/ramdac/BTPriv.h: -------------------------------------------------------------------------------- 1 | 2 | #ifdef HAVE_XORG_CONFIG_H 3 | #include 4 | #endif 5 | 6 | #include "BT.h" 7 | 8 | typedef struct { 9 | char *DeviceName; 10 | } xf86BTramdacInfo; 11 | 12 | extern xf86BTramdacInfo BTramdacDeviceInfo[]; 13 | 14 | #ifdef INIT_BT_RAMDAC_INFO 15 | xf86BTramdacInfo BTramdacDeviceInfo[] = { 16 | {"AT&T 20C504"}, 17 | {"AT&T 20C505"}, 18 | {"BT485/484"} 19 | }; 20 | #endif 21 | -------------------------------------------------------------------------------- /render/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES = librender.la 2 | 3 | AM_CFLAGS = $(DIX_CFLAGS) 4 | 5 | librender_la_SOURCES = \ 6 | animcur.c \ 7 | filter.c \ 8 | glyph.c \ 9 | matrix.c \ 10 | miindex.c \ 11 | mipict.c \ 12 | mirect.c \ 13 | mitrap.c \ 14 | mitri.c \ 15 | picture.c \ 16 | render.c \ 17 | renderedge.c 18 | 19 | if XORG 20 | sdk_HEADERS = picture.h mipict.h glyphstr.h picturestr.h renderedge.h 21 | endif 22 | -------------------------------------------------------------------------------- /hw/xquartz/GL/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES = libCGLCore.la 2 | AM_CFLAGS = $(DIX_CFLAGS) 3 | AM_CPPFLAGS = \ 4 | -I$(top_srcdir) \ 5 | -I$(top_srcdir)/glx \ 6 | -I$(top_srcdir)/hw/xquartz \ 7 | -I$(top_srcdir)/hw/xquartz/xpr \ 8 | -I$(top_srcdir)/miext/damage 9 | 10 | libCGLCore_la_SOURCES = \ 11 | indirect.c \ 12 | capabilities.c \ 13 | visualConfigs.c 14 | 15 | EXTRA_DIST = \ 16 | capabilities.h \ 17 | visualConfigs.h 18 | -------------------------------------------------------------------------------- /miext/rootless/Makefile.am: -------------------------------------------------------------------------------- 1 | AM_CFLAGS = $(DIX_CFLAGS) $(XSERVER_CFLAGS) 2 | AM_CPPFLAGS = -I$(top_srcdir)/hw/xfree86/os-support 3 | 4 | noinst_LTLIBRARIES = librootless.la 5 | librootless_la_SOURCES = \ 6 | rootlessCommon.c \ 7 | rootlessGC.c \ 8 | rootlessScreen.c \ 9 | rootlessValTree.c \ 10 | rootlessWindow.c 11 | 12 | EXTRA_DIST = \ 13 | README.txt \ 14 | rootless.h \ 15 | rootlessCommon.h \ 16 | rootlessConfig.h \ 17 | rootlessWindow.h 18 | -------------------------------------------------------------------------------- /hw/xquartz/doc/Makefile.am: -------------------------------------------------------------------------------- 1 | appmandir = $(APP_MAN_DIR) 2 | appman_PRE = Xquartz.man.pre 3 | appman_PROCESSED = $(appman_PRE:man.pre=man) 4 | appman_DATA = $(appman_PRE:man.pre=@APP_MAN_SUFFIX@) 5 | 6 | CLEANFILES = $(appman_PROCESSED) $(appman_DATA) 7 | 8 | include $(top_srcdir)/cpprules.in 9 | 10 | MANDEFS += -D__laucnd_id_prefix__=$(LAUNCHD_ID_PREFIX) 11 | 12 | .man.$(APP_MAN_SUFFIX): 13 | $(AM_V_at)cp $< $@ 14 | 15 | EXTRA_DIST = \ 16 | Xquartz.man.pre 17 | -------------------------------------------------------------------------------- /hw/xfree86/xaa/xaaBitOrder.c: -------------------------------------------------------------------------------- 1 | 2 | #ifdef HAVE_XORG_CONFIG_H 3 | #include 4 | #endif 5 | 6 | #include 7 | #include "xaalocal.h" 8 | 9 | CARD32 10 | XAAReverseBitOrder(CARD32 v) 11 | { 12 | return (((0x01010101 & v) << 7) | ((0x02020202 & v) << 5) | 13 | ((0x04040404 & v) << 3) | ((0x08080808 & v) << 1) | 14 | ((0x10101010 & v) >> 1) | ((0x20202020 & v) >> 3) | 15 | ((0x40404040 & v) >> 5) | ((0x80808080 & v) >> 7)); 16 | } 17 | -------------------------------------------------------------------------------- /hw/xfree86/common/xorgHelper.c: -------------------------------------------------------------------------------- 1 | 2 | #ifdef HAVE_XORG_CONFIG_H 3 | #include 4 | #endif 5 | 6 | #include 7 | #include "os.h" 8 | #include "servermd.h" 9 | #include "pixmapstr.h" 10 | #include "windowstr.h" 11 | #include "propertyst.h" 12 | #include "gcstruct.h" 13 | #include "loaderProcs.h" 14 | #include "xf86.h" 15 | #include "xf86Priv.h" 16 | #include "xorgVersion.h" 17 | 18 | 19 | CARD32 20 | xorgGetVersion(void) 21 | { 22 | return XORG_VERSION_CURRENT; 23 | } 24 | -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/Dutch.lproj/locversion.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | LprojCompatibleVersion 6 | 93 7 | LprojLocale 8 | nl 9 | LprojRevisionLevel 10 | 1 11 | LprojVersion 12 | 93 13 | 14 | 15 | -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/ar.lproj/locversion.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | LprojCompatibleVersion 6 | 84.1 7 | LprojLocale 8 | ar 9 | LprojRevisionLevel 10 | 1 11 | LprojVersion 12 | 85 13 | 14 | 15 | -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/da.lproj/locversion.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | LprojCompatibleVersion 6 | 93 7 | LprojLocale 8 | da 9 | LprojRevisionLevel 10 | 1 11 | LprojVersion 12 | 93 13 | 14 | 15 | -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/fi.lproj/locversion.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | LprojCompatibleVersion 6 | 93 7 | LprojLocale 8 | fi 9 | LprojRevisionLevel 10 | 1 11 | LprojVersion 12 | 93 13 | 14 | 15 | -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/ko.lproj/locversion.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | LprojCompatibleVersion 6 | 93 7 | LprojLocale 8 | ko 9 | LprojRevisionLevel 10 | 1 11 | LprojVersion 12 | 93 13 | 14 | 15 | -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/no.lproj/locversion.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | LprojCompatibleVersion 6 | 93 7 | LprojLocale 8 | no 9 | LprojRevisionLevel 10 | 1 11 | LprojVersion 12 | 93 13 | 14 | 15 | -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/pl.lproj/locversion.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | LprojCompatibleVersion 6 | 93 7 | LprojLocale 8 | pl 9 | LprojRevisionLevel 10 | 1 11 | LprojVersion 12 | 93 13 | 14 | 15 | -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/pt.lproj/locversion.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | LprojCompatibleVersion 6 | 93 7 | LprojLocale 8 | pt 9 | LprojRevisionLevel 10 | 1 11 | LprojVersion 12 | 93 13 | 14 | 15 | -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/ru.lproj/locversion.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | LprojCompatibleVersion 6 | 93 7 | LprojLocale 8 | ru 9 | LprojRevisionLevel 10 | 1 11 | LprojVersion 12 | 93 13 | 14 | 15 | -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/sv.lproj/locversion.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | LprojCompatibleVersion 6 | 93 7 | LprojLocale 8 | sv 9 | LprojRevisionLevel 10 | 1 11 | LprojVersion 12 | 93 13 | 14 | 15 | -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/French.lproj/locversion.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | LprojCompatibleVersion 6 | 93 7 | LprojLocale 8 | fr 9 | LprojRevisionLevel 10 | 1 11 | LprojVersion 12 | 93 13 | 14 | 15 | -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/German.lproj/locversion.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | LprojCompatibleVersion 6 | 93 7 | LprojLocale 8 | de 9 | LprojRevisionLevel 10 | 1 11 | LprojVersion 12 | 93 13 | 14 | 15 | -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/Italian.lproj/locversion.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | LprojCompatibleVersion 6 | 93 7 | LprojLocale 8 | it 9 | LprojRevisionLevel 10 | 1 11 | LprojVersion 12 | 93 13 | 14 | 15 | -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/Japanese.lproj/locversion.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | LprojCompatibleVersion 6 | 93 7 | LprojLocale 8 | ja 9 | LprojRevisionLevel 10 | 1 11 | LprojVersion 12 | 93 13 | 14 | 15 | -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/Spanish.lproj/locversion.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | LprojCompatibleVersion 6 | 93 7 | LprojLocale 8 | es 9 | LprojRevisionLevel 10 | 1 11 | LprojVersion 12 | 93 13 | 14 | 15 | -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/pt_PT.lproj/locversion.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | LprojCompatibleVersion 6 | 93 7 | LprojLocale 8 | pt_PT 9 | LprojRevisionLevel 10 | 1 11 | LprojVersion 12 | 93 13 | 14 | 15 | -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/zh_CN.lproj/locversion.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | LprojCompatibleVersion 6 | 93 7 | LprojLocale 8 | zh_CN 9 | LprojRevisionLevel 10 | 1 11 | LprojVersion 12 | 93 13 | 14 | 15 | -------------------------------------------------------------------------------- /hw/xquartz/bundle/Resources/zh_TW.lproj/locversion.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | LprojCompatibleVersion 6 | 93 7 | LprojLocale 8 | zh_TW 9 | LprojRevisionLevel 10 | 1 11 | LprojVersion 12 | 93 13 | 14 | 15 | -------------------------------------------------------------------------------- /hw/xfree86/dri2/Makefile.am: -------------------------------------------------------------------------------- 1 | libdri2_la_LTLIBRARIES = libdri2.la 2 | libdri2_la_CFLAGS = \ 3 | -DHAVE_XORG_CONFIG_H \ 4 | @DRI_CFLAGS@ \ 5 | @DIX_CFLAGS@ @XORG_CFLAGS@ @DRI2PROTO_CFLAGS@ @LIBDRM_CFLAGS@ \ 6 | -I$(top_srcdir)/hw/xfree86/common \ 7 | -I$(top_srcdir)/hw/xfree86/os-support/bus 8 | 9 | libdri2_la_LDFLAGS = -module -avoid-version @LIBDRM_LIBS@ 10 | libdri2_ladir = $(moduledir)/extensions 11 | libdri2_la_SOURCES = \ 12 | dri2.c \ 13 | dri2.h \ 14 | dri2ext.c 15 | 16 | sdk_HEADERS = dri2.h 17 | -------------------------------------------------------------------------------- /hw/xquartz/bundle/X11.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set "$(dirname "$0")"/X11.bin "${@}" 4 | 5 | if [ -x ~/.x11run ]; then 6 | exec ~/.x11run "${@}" 7 | fi 8 | 9 | case $(basename "${SHELL}") in 10 | bash) exec -l "${SHELL}" --login -c 'exec "${@}"' - "${@}" ;; 11 | ksh|sh|zsh) exec -l "${SHELL}" -c 'exec "${@}"' - "${@}" ;; 12 | csh|tcsh) exec -l "${SHELL}" -c 'exec $argv:q' "${@}" ;; 13 | es|rc) exec -l "${SHELL}" -l -c 'exec $*' "${@}" ;; 14 | *) exec "${@}" ;; 15 | esac 16 | -------------------------------------------------------------------------------- /include/xsha1.h: -------------------------------------------------------------------------------- 1 | #ifndef XSHA1_H 2 | #define XSHA1_H 3 | 4 | /* Initialize SHA1 computation. Returns NULL on error. */ 5 | void *x_sha1_init(void); 6 | 7 | /* 8 | * Add some data to be hashed. ctx is the value returned by x_sha1_init() 9 | * Returns 0 on error, 1 on success. 10 | */ 11 | int x_sha1_update(void *ctx, void *data, int size); 12 | 13 | /* 14 | * Place the hash in result, and free ctx. 15 | * Returns 0 on error, 1 on success. 16 | */ 17 | int x_sha1_final(void *ctx, unsigned char result[20]); 18 | 19 | #endif 20 | -------------------------------------------------------------------------------- /hw/kdrive/linux/Makefile.am: -------------------------------------------------------------------------------- 1 | INCLUDES = \ 2 | @KDRIVE_INCS@ \ 3 | @KDRIVE_CFLAGS@ 4 | 5 | AM_CFLAGS = -DHAVE_DIX_CONFIG_H 6 | 7 | noinst_LTLIBRARIES = liblinux.la 8 | 9 | liblinux_la_SOURCES = 10 | 11 | liblinux_la_SOURCES += linux.c 12 | 13 | if KDRIVE_KBD 14 | liblinux_la_SOURCES += keyboard.c 15 | endif 16 | 17 | if KDRIVE_EVDEV 18 | liblinux_la_SOURCES += evdev.c 19 | endif 20 | 21 | if KDRIVE_MOUSE 22 | liblinux_la_SOURCES += mouse.c ms.c ps2.c 23 | endif 24 | 25 | if TSLIB 26 | liblinux_la_SOURCES += tslib.c 27 | endif 28 | -------------------------------------------------------------------------------- /hw/xfree86/os-support/hurd/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES = libhurd.la 2 | 3 | libhurd_la_SOURCES = hurd_bell.c hurd_init.c hurd_mmap.c \ 4 | hurd_video.c \ 5 | $(srcdir)/../shared/VTsw_noop.c \ 6 | $(srcdir)/../shared/posix_tty.c \ 7 | $(srcdir)/../shared/vidmem.c \ 8 | $(srcdir)/../shared/sigiostubs.c \ 9 | $(srcdir)/../shared/pm_noop.c \ 10 | $(srcdir)/../shared/kmod_noop.c \ 11 | $(srcdir)/../shared/agp_noop.c 12 | 13 | AM_CFLAGS = -DUSESTDRES -DHAVE_SYSV_IPC $(XORG_CFLAGS) $(DIX_CFLAGS) 14 | 15 | INCLUDES = $(XORG_INCS) 16 | -------------------------------------------------------------------------------- /xorg-server.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | datarootdir=@datarootdir@ 6 | moduledir=@moduledir@ 7 | sdkdir=@sdkdir@ 8 | sysconfigdir=@sysconfigdir@ 9 | 10 | abi_ansic=@abi_ansic@ 11 | abi_videodrv=@abi_videodrv@ 12 | abi_xinput=@abi_xinput@ 13 | abi_extension=@abi_extension@ 14 | 15 | Name: xorg-server 16 | Description: Modular X.Org X Server 17 | Version: @PACKAGE_VERSION@ 18 | Requires: pixman-1 pciaccess 19 | Cflags: -I${sdkdir} @symbol_visibility@ 20 | Libs: -L${libdir} 21 | -------------------------------------------------------------------------------- /hw/xfree86/dixmods/extmod/xvmod.c: -------------------------------------------------------------------------------- 1 | 2 | #ifdef HAVE_XORG_CONFIG_H 3 | #include 4 | #endif 5 | 6 | #include 7 | #include "misc.h" 8 | #include "scrnintstr.h" 9 | #include "gc.h" 10 | #include 11 | #include 12 | #include "xvdix.h" 13 | #include "xvmodproc.h" 14 | 15 | void 16 | XvRegister(void) 17 | { 18 | XvScreenInitProc = XvScreenInit; 19 | XvGetScreenKeyProc = XvGetScreenKey; 20 | XvGetRTPortProc = XvGetRTPort; 21 | XvMCScreenInitProc = XvMCScreenInit; 22 | } 23 | 24 | -------------------------------------------------------------------------------- /hw/xfree86/vgahw/vgaHWmodule.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 1998 by The XFree86 Project, Inc 3 | */ 4 | 5 | #ifdef HAVE_XORG_CONFIG_H 6 | #include 7 | #endif 8 | 9 | #include "xf86Module.h" 10 | 11 | static XF86ModuleVersionInfo VersRec = { 12 | "vgahw", 13 | MODULEVENDORSTRING, 14 | MODINFOSTRING1, 15 | MODINFOSTRING2, 16 | XORG_VERSION_CURRENT, 17 | 0, 1, 0, 18 | ABI_CLASS_VIDEODRV, 19 | ABI_VIDEODRV_VERSION, 20 | MOD_CLASS_NONE, 21 | {0, 0, 0, 0} 22 | }; 23 | 24 | _X_EXPORT XF86ModuleData vgahwModuleData = { &VersRec, NULL, NULL }; 25 | -------------------------------------------------------------------------------- /config/xorg-server.conf: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /randr/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES = librandr.la 2 | 3 | AM_CFLAGS = $(DIX_CFLAGS) 4 | 5 | XINERAMA_SRCS = rrxinerama.c 6 | 7 | if XORG 8 | sdk_HEADERS = randrstr.h rrtransform.h 9 | endif 10 | 11 | librandr_la_SOURCES = \ 12 | mirandr.c \ 13 | randr.c \ 14 | randrstr.h \ 15 | rrcrtc.c \ 16 | rrdispatch.c \ 17 | rrinfo.c \ 18 | rrmode.c \ 19 | rroutput.c \ 20 | rrpointer.c \ 21 | rrproperty.c \ 22 | rrscreen.c \ 23 | rrsdispatch.c \ 24 | rrtransform.h \ 25 | rrtransform.c 26 | 27 | if XINERAMA 28 | librandr_la_SOURCES += ${XINERAMA_SRCS} 29 | endif 30 | 31 | -------------------------------------------------------------------------------- /hw/xfree86/ramdac/IBMPriv.h: -------------------------------------------------------------------------------- 1 | 2 | #ifdef HAVE_XORG_CONFIG_H 3 | #include 4 | #endif 5 | 6 | #include "IBM.h" 7 | 8 | typedef struct { 9 | char *DeviceName; 10 | } xf86IBMramdacInfo; 11 | 12 | extern xf86IBMramdacInfo IBMramdacDeviceInfo[]; 13 | 14 | #ifdef INIT_IBM_RAMDAC_INFO 15 | xf86IBMramdacInfo IBMramdacDeviceInfo[] = { 16 | {"IBM 524"}, 17 | {"IBM 524A"}, 18 | {"IBM 525"}, 19 | {"IBM 526"}, 20 | {"IBM 526DB(DoubleBuffer)"}, 21 | {"IBM 528"}, 22 | {"IBM 528A"}, 23 | {"IBM 624"}, 24 | {"IBM 624DB(DoubleBuffer)"}, 25 | {"IBM 640"} 26 | }; 27 | #endif 28 | -------------------------------------------------------------------------------- /hw/kdrive/src/Makefile.am: -------------------------------------------------------------------------------- 1 | INCLUDES = \ 2 | @KDRIVE_INCS@ \ 3 | @KDRIVE_CFLAGS@ 4 | 5 | AM_CFLAGS = -DHAVE_DIX_CONFIG_H 6 | 7 | noinst_LTLIBRARIES = libkdrive.la libkdrivestubs.la 8 | 9 | if XV 10 | KDRIVE_XV_SOURCES = \ 11 | kxv.c \ 12 | kxv.h 13 | endif 14 | 15 | libkdrive_la_SOURCES = \ 16 | fourcc.h \ 17 | kcmap.c \ 18 | kdrive.c \ 19 | kdrive.h \ 20 | kinfo.c \ 21 | kinput.c \ 22 | kmode.c \ 23 | kshadow.c \ 24 | $(KDRIVE_XV_SOURCES) \ 25 | $(top_srcdir)/mi/miinitext.c 26 | 27 | libkdrivestubs_la_SOURCES = \ 28 | $(top_srcdir)/fb/fbcmap_mi.c 29 | -------------------------------------------------------------------------------- /hw/kdrive/fbdev/Makefile.am: -------------------------------------------------------------------------------- 1 | INCLUDES = \ 2 | @KDRIVE_INCS@ \ 3 | @KDRIVE_CFLAGS@ 4 | 5 | noinst_LTLIBRARIES = libfbdev.la 6 | 7 | libfbdev_la_SOURCES = \ 8 | fbdev.c \ 9 | fbdev.h 10 | 11 | if KDRIVEFBDEV 12 | bin_PROGRAMS = Xfbdev 13 | 14 | Xfbdev_SOURCES = \ 15 | fbinit.c 16 | 17 | Xfbdev_LDADD = \ 18 | libfbdev.la \ 19 | @KDRIVE_LIBS@ 20 | 21 | Xfbdev_DEPENDENCIES = \ 22 | libfbdev.la \ 23 | $(KDRIVE_PURE_LIBS) 24 | 25 | Xfbdev_LDFLAGS = $(LD_EXPORT_SYMBOLS_FLAG) 26 | 27 | relink: 28 | $(AM_V_at)rm -f $(bin_PROGRAMS) && $(MAKE) $(bin_PROGRAMS) 29 | endif 30 | -------------------------------------------------------------------------------- /hw/kdrive/fake/Makefile.am: -------------------------------------------------------------------------------- 1 | INCLUDES = \ 2 | @KDRIVE_INCS@ \ 3 | @KDRIVE_CFLAGS@ 4 | 5 | noinst_LTLIBRARIES = libfake.la 6 | 7 | bin_PROGRAMS = Xfake 8 | 9 | libfake_la_SOURCES = \ 10 | fake.c \ 11 | kbd.c \ 12 | os.c \ 13 | mouse.c \ 14 | fake.h 15 | 16 | Xfake_SOURCES = \ 17 | fakeinit.c 18 | 19 | Xfake_LDADD = \ 20 | libfake.la \ 21 | @KDRIVE_LIBS@ 22 | 23 | Xfake_LDFLAGS = $(LD_EXPORT_SYMBOLS_FLAG) 24 | 25 | Xfake_DEPENDENCIES = \ 26 | libfake.la \ 27 | @KDRIVE_LOCAL_LIBS@ 28 | 29 | relink: 30 | $(AM_V_at)rm -f $(bin_PROGRAMS) && $(MAKE) $(bin_PROGRAMS) 31 | -------------------------------------------------------------------------------- /hw/xwin/XWin.exe.manifest: -------------------------------------------------------------------------------- 1 | 2 | 3 | The XWin X Windows server for Cygwin. 4 | 5 | 6 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /hw/xfree86/fbdevhw/README: -------------------------------------------------------------------------------- 1 | 2 | This is a submodule to access linux framebuffer devices. 3 | It is supported to work as helper module (like vgahw) 4 | for the chipset drivers. There are functions for 5 | saving/restoring/setting video modes, set palette entries, 6 | and a few more helper functions. Some of them can be 7 | hooked directly into ScrnInfoRec. 8 | 9 | In ../drivers/fbdev is a "chipset" driver. It is a simple, 10 | non-accelerated and hardware-independent driver which works 11 | on top of this fbdevhw submodule. 12 | 13 | Gerd 14 | 15 | -- 16 | Gerd Knorr 17 | -------------------------------------------------------------------------------- /hw/xfree86/os-support/bus/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES = libbus.la 2 | sdk_HEADERS = xf86Pci.h 3 | 4 | PCI_SOURCES = 5 | 6 | if XORG_BUS_LINUXPCI 7 | PCI_SOURCES += linuxPci.c 8 | endif 9 | 10 | if XORG_BUS_BSDPCI 11 | PCI_SOURCES += bsd_pci.c 12 | endif 13 | 14 | if XORG_BUS_SPARC 15 | PLATFORM_SOURCES = Sbus.c 16 | sdk_HEADERS += xf86Sbus.h 17 | endif 18 | 19 | libbus_la_SOURCES = Pci.c Pci.h $(PCI_SOURCES) $(PLATFORM_PCI_SOURCES) \ 20 | $(PLATFORM_SOURCES) 21 | 22 | INCLUDES = $(XORG_INCS) 23 | 24 | AM_CFLAGS = $(XORG_CFLAGS) $(DIX_CFLAGS) 25 | 26 | EXTRA_DIST = $(sdk_HEADERS) 27 | -------------------------------------------------------------------------------- /hw/kdrive/Makefile.am: -------------------------------------------------------------------------------- 1 | if BUILD_KDRIVEFBDEVLIB 2 | FBDEV_SUBDIRS = fbdev 3 | endif 4 | 5 | if XFAKESERVER 6 | XFAKE_SUBDIRS = fake 7 | endif 8 | 9 | if XEPHYR 10 | XEPHYR_SUBDIRS = ephyr 11 | endif 12 | 13 | if KDRIVELINUX 14 | LINUX_SUBDIRS = linux 15 | endif 16 | 17 | SERVER_SUBDIRS = \ 18 | $(FBDEV_SUBDIRS) \ 19 | $(XEPHYR_SUBDIRS) \ 20 | $(XFAKE_SUBDIRS) 21 | 22 | SUBDIRS = \ 23 | src \ 24 | $(LINUX_SUBDIRS) \ 25 | $(SERVER_SUBDIRS) 26 | 27 | DIST_SUBDIRS = fbdev ephyr src linux fake 28 | 29 | relink: 30 | $(AM_V_at)for i in $(SERVER_SUBDIRS) ; do $(MAKE) -C $$i relink || exit 1 ; done 31 | -------------------------------------------------------------------------------- /hw/xfree86/os-support/shared/xf86Axp.h: -------------------------------------------------------------------------------- 1 | #ifdef HAVE_XORG_CONFIG_H 2 | #include 3 | #endif 4 | 5 | #ifndef _XF86_AXP_H_ 6 | #define _XF86_AXP_H_ 7 | 8 | typedef enum { 9 | SYS_NONE, 10 | TSUNAMI, 11 | LCA, 12 | APECS, 13 | T2, 14 | T2_GAMMA, 15 | CIA, 16 | MCPCIA, 17 | JENSEN, 18 | POLARIS, 19 | PYXIS, 20 | PYXIS_CIA, 21 | IRONGATE 22 | } axpDevice; 23 | 24 | typedef struct { 25 | axpDevice id; 26 | unsigned long hae_thresh; 27 | unsigned long hae_mask; 28 | unsigned long size; 29 | } axpParams; 30 | 31 | extern axpParams xf86AXPParams[]; 32 | 33 | #endif 34 | 35 | -------------------------------------------------------------------------------- /hw/xquartz/xpr/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES = libXquartzXpr.la 2 | 3 | AM_CFLAGS = $(DIX_CFLAGS) 4 | AM_CPPFLAGS = \ 5 | -I$(srcdir) -I$(srcdir)/.. \ 6 | -I$(top_srcdir)/miext \ 7 | -I$(top_srcdir)/miext/rootless 8 | 9 | libXquartzXpr_la_SOURCES = \ 10 | appledri.c \ 11 | dri.c \ 12 | driWrap.c \ 13 | xprAppleWM.c \ 14 | xprCursor.c \ 15 | xprEvent.c \ 16 | xprFrame.c \ 17 | xprScreen.c \ 18 | x-hash.c \ 19 | x-hook.c \ 20 | x-list.c 21 | 22 | EXTRA_DIST = \ 23 | dri.h \ 24 | driWrap.h \ 25 | dristruct.h \ 26 | appledri.h \ 27 | appledristr.h \ 28 | x-hash.h \ 29 | x-hook.h \ 30 | x-list.h \ 31 | xpr.h \ 32 | xprEvent.h 33 | -------------------------------------------------------------------------------- /hw/xfree86/shadowfb/sfbmodule.c: -------------------------------------------------------------------------------- 1 | #ifdef HAVE_XORG_CONFIG_H 2 | #include 3 | #endif 4 | 5 | #include "xf86Module.h" 6 | 7 | static XF86ModuleVersionInfo VersRec = 8 | { 9 | "shadowfb", 10 | MODULEVENDORSTRING, 11 | MODINFOSTRING1, 12 | MODINFOSTRING2, 13 | XORG_VERSION_CURRENT, 14 | 1, 0, 0, 15 | ABI_CLASS_ANSIC, /* Only need the ansic layer */ 16 | ABI_ANSIC_VERSION, 17 | MOD_CLASS_NONE, 18 | {0,0,0,0} /* signature, to be patched into the file by a tool */ 19 | }; 20 | 21 | _X_EXPORT XF86ModuleData shadowfbModuleData = { &VersRec, NULL, NULL }; 22 | -------------------------------------------------------------------------------- /hw/xnest/Init.h: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright 1993 by Davor Matic 4 | 5 | Permission to use, copy, modify, distribute, and sell this software 6 | and its documentation for any purpose is hereby granted without fee, 7 | provided that the above copyright notice appear in all copies and that 8 | both that copyright notice and this permission notice appear in 9 | supporting documentation. Davor Matic makes no representations about 10 | the suitability of this software for any purpose. It is provided "as 11 | is" without express or implied warranty. 12 | 13 | */ 14 | 15 | #ifndef XNESTINIT_H 16 | #define XNESTINIT_H 17 | 18 | extern Bool xnestDoFullGeneration; 19 | 20 | #endif /* XNESTINIT_H */ 21 | -------------------------------------------------------------------------------- /exa/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES = libexa.la 2 | 3 | # Override these since EXA doesn't need them and the needed files aren't 4 | # built (in hw/xfree86/os-support/solaris) until after EXA is built 5 | SOLARIS_ASM_CFLAGS="" 6 | 7 | if XORG 8 | sdk_HEADERS = exa.h 9 | endif 10 | 11 | INCLUDES = \ 12 | $(XORG_INCS) \ 13 | -I$(srcdir)/../miext/cw 14 | 15 | AM_CFLAGS = $(XORG_CFLAGS) $(DIX_CFLAGS) 16 | 17 | libexa_la_SOURCES = \ 18 | exa.c \ 19 | exa.h \ 20 | exa_classic.c \ 21 | exa_migration_classic.c \ 22 | exa_driver.c \ 23 | exa_mixed.c \ 24 | exa_migration_mixed.c \ 25 | exa_accel.c \ 26 | exa_glyphs.c \ 27 | exa_offscreen.c \ 28 | exa_render.c \ 29 | exa_priv.h \ 30 | exa_unaccel.c 31 | -------------------------------------------------------------------------------- /xkb/README.compiled: -------------------------------------------------------------------------------- 1 | 2 | The X server uses this directory to store the compiled version of the 3 | current keymap and/or any scratch keymaps used by clients. The X server 4 | or some other tool might destroy or replace the files in this directory, 5 | so it is not a safe place to store compiled keymaps for long periods of 6 | time. The default keymap for any server is usually stored in: 7 | X-default.xkm 8 | where is the display number of the server in question, which makes 9 | it possible for several servers *on the same host* to share the same 10 | directory. 11 | 12 | Unless the X server is modified, sharing this directory between servers on 13 | different hosts could cause problems. 14 | -------------------------------------------------------------------------------- /hw/xquartz/pbproxy/Makefile.am: -------------------------------------------------------------------------------- 1 | AM_CPPFLAGS=-F/System/Library/Frameworks/ApplicationServices.framework/Frameworks \ 2 | -DLAUNCHD_ID_PREFIX=\"$(LAUNCHD_ID_PREFIX)\" 3 | 4 | AM_CFLAGS=$(XPBPROXY_CFLAGS) 5 | 6 | noinst_LTLIBRARIES = libxpbproxy.la 7 | libxpbproxy_la_SOURCES = \ 8 | trick_autotools.c \ 9 | main.m \ 10 | x-input.m \ 11 | x-selection.m 12 | 13 | libxpbproxy_la_LDFLAGS=$(XPBPROXY_LIBS) 14 | 15 | if STANDALONE_XPBPROXY 16 | 17 | bin_PROGRAMS = xpbproxy 18 | xpbproxy_SOURCES = app-main.m 19 | xpbproxy_LDADD = libxpbproxy.la 20 | xpbproxy_LDFLAGS = -Wl,-framework,Cocoa 21 | 22 | AM_CPPFLAGS += -DSTANDALONE_XPBPROXY 23 | 24 | endif 25 | 26 | EXTRA_DIST = \ 27 | pbproxy.h \ 28 | x-selection.h 29 | -------------------------------------------------------------------------------- /hw/xfree86/exa/Makefile.am: -------------------------------------------------------------------------------- 1 | module_LTLIBRARIES = libexa.la 2 | 3 | libexa_la_LDFLAGS = -avoid-version 4 | 5 | INCLUDES = \ 6 | $(XORG_INCS) \ 7 | -I$(srcdir)/../../../exa \ 8 | -I$(srcdir)/../../../miext/cw 9 | 10 | AM_CFLAGS = $(DIX_CFLAGS) $(XORG_CFLAGS) 11 | 12 | libexa_la_SOURCES = \ 13 | examodule.c 14 | 15 | libexa_la_LIBADD = \ 16 | ../../../exa/libexa.la 17 | 18 | include $(top_srcdir)/cpprules.in 19 | 20 | drivermandir = $(DRIVER_MAN_DIR) 21 | driverman_DATA = exa.$(DRIVER_MAN_SUFFIX) 22 | CLEANFILES = $(driverman_DATA) exa.man 23 | 24 | exa.$(DRIVER_MAN_SUFFIX): exa.man 25 | -$(AM_V_at)rm -f exa.$(DRIVER_MAN_SUFFIX) 26 | $(AM_V_at)$(LN_S) exa.man exa.$(DRIVER_MAN_SUFFIX) 27 | 28 | EXTRA_DIST = exa.man.pre 29 | -------------------------------------------------------------------------------- /hw/xfree86/ramdac/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES = libramdac.la 2 | 3 | libramdac_la_SOURCES = xf86RamDac.c xf86RamDacCmap.c \ 4 | xf86Cursor.c xf86HWCurs.c IBM.c BT.c TI.c \ 5 | xf86BitOrder.c 6 | 7 | sdk_HEADERS = BT.h IBM.h TI.h xf86Cursor.h xf86RamDac.h 8 | 9 | DISTCLEANFILES = xf86BitOrder.c 10 | EXTRA_DIST = BTPriv.h IBMPriv.h TIPriv.h xf86CursorPriv.h xf86RamDacPriv.h \ 11 | CURSOR.NOTES 12 | 13 | AM_CFLAGS = -DXAAReverseBitOrder=xf86ReverseBitOrder -DRAMDAC_MODULE \ 14 | $(DIX_CFLAGS) $(XORG_CFLAGS) 15 | INCLUDES = $(XORG_INCS) 16 | 17 | xf86BitOrder.c: 18 | echo "#define XAAReverseBitOrder xf86ReverseBitOrder" > $@ 19 | echo "#include \"$(srcdir)/../xaa/xaaBitOrder.c\"" >> $@ 20 | -------------------------------------------------------------------------------- /hw/xfree86/ramdac/TIPriv.h: -------------------------------------------------------------------------------- 1 | 2 | #ifdef HAVE_XORG_CONFIG_H 3 | #include 4 | #endif 5 | 6 | #include "TI.h" 7 | 8 | typedef struct { 9 | char *DeviceName; 10 | } xf86TIramdacInfo; 11 | 12 | extern xf86TIramdacInfo TIramdacDeviceInfo[]; 13 | 14 | #ifdef INIT_TI_RAMDAC_INFO 15 | xf86TIramdacInfo TIramdacDeviceInfo[] = { 16 | {"TI TVP3030"}, 17 | {"TI TVP3026"} 18 | }; 19 | #endif 20 | 21 | #define TISAVE(_reg) do { \ 22 | ramdacReg->DacRegs[_reg] = (*ramdacPtr->ReadDAC)(pScrn, _reg); \ 23 | } while (0) 24 | 25 | #define TIRESTORE(_reg) do { \ 26 | (*ramdacPtr->WriteDAC)(pScrn, _reg, \ 27 | (ramdacReg->DacRegs[_reg] & 0xFF00) >> 8, \ 28 | ramdacReg->DacRegs[_reg]); \ 29 | } while (0) 30 | -------------------------------------------------------------------------------- /hw/xquartz/bundle/Xquartz.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | apps_menu 9 | 10 | 11 | Terminal 12 | xterm 13 | n 14 | 15 | 16 | xman 17 | xman 18 | 19 | 20 | 21 | xlogo 22 | xlogo 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /hw/xfree86/os-support/bsd/bsd_kmod.c: -------------------------------------------------------------------------------- 1 | #ifdef HAVE_XORG_CONFIG_H 2 | #include 3 | #endif 4 | 5 | #include 6 | #include 7 | #include 8 | #include 9 | #include 10 | 11 | #include "xf86_OSproc.h" 12 | 13 | /* 14 | * Load a FreeBSD kernel module. 15 | * This is used by the DRI/DRM to load a DRM kernel module when 16 | * the X server starts. It could be used for other purposes in the future. 17 | * Input: 18 | * modName - name of the kernel module (Ex: "tdfx") 19 | * Return: 20 | * 0 for failure, 1 for success 21 | */ 22 | int xf86LoadKernelModule(const char *modName) 23 | { 24 | if (kldload(modName) != -1) 25 | return 1; 26 | else 27 | return 0; 28 | } 29 | -------------------------------------------------------------------------------- /hw/Makefile.am: -------------------------------------------------------------------------------- 1 | if DMX 2 | DMX_SUBDIRS = dmx 3 | endif 4 | 5 | if XORG 6 | XORG_SUBDIRS = xfree86 7 | endif 8 | 9 | if XVFB 10 | XVFB_SUBDIRS = vfb 11 | endif 12 | 13 | if XNEST 14 | XNEST_SUBDIRS = xnest 15 | endif 16 | 17 | if XWIN 18 | XWIN_SUBDIRS = xwin 19 | endif 20 | 21 | if KDRIVE 22 | KDRIVE_SUBDIRS = kdrive 23 | endif 24 | 25 | if XQUARTZ 26 | XQUARTZ_SUBDIRS = xquartz 27 | endif 28 | 29 | SUBDIRS = \ 30 | $(XORG_SUBDIRS) \ 31 | $(XWIN_SUBDIRS) \ 32 | $(XVFB_SUBDIRS) \ 33 | $(XNEST_SUBDIRS) \ 34 | $(DMX_SUBDIRS) \ 35 | $(KDRIVE_SUBDIRS) \ 36 | $(XQUARTZ_SUBDIRS) 37 | 38 | DIST_SUBDIRS = dmx xfree86 vfb xnest xwin xquartz kdrive 39 | 40 | relink: 41 | $(AM_V_at)for i in $(SUBDIRS) ; do $(MAKE) -C $$i relink || exit 1 ; done 42 | -------------------------------------------------------------------------------- /miext/shadow/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES = libshadow.la 2 | 3 | AM_CFLAGS = $(DIX_CFLAGS) 4 | 5 | INCLUDES = -I$(top_srcdir)/hw/xfree86/os-support 6 | 7 | if XORG 8 | sdk_HEADERS = shadow.h 9 | endif 10 | 11 | libshadow_la_SOURCES = \ 12 | shadow.c \ 13 | shadow.h \ 14 | shalloc.c \ 15 | shpacked.c \ 16 | shplanar8.c \ 17 | shplanar.c \ 18 | shrot16pack_180.c \ 19 | shrot16pack_270.c \ 20 | shrot16pack_270YX.c \ 21 | shrot16pack_90.c \ 22 | shrot16pack_90YX.c \ 23 | shrot16pack.c \ 24 | shrot32pack_180.c \ 25 | shrot32pack_270.c \ 26 | shrot32pack_90.c \ 27 | shrot32pack.c \ 28 | shrot8pack_180.c \ 29 | shrot8pack_270.c \ 30 | shrot8pack_90.c \ 31 | shrot8pack.c \ 32 | shrotate.c \ 33 | shrotpack.h \ 34 | shrotpackYX.h 35 | -------------------------------------------------------------------------------- /hw/xfree86/vbe/vbe_module.c: -------------------------------------------------------------------------------- 1 | #ifdef HAVE_XORG_CONFIG_H 2 | #include 3 | #endif 4 | 5 | #include "xf86.h" 6 | #include "xf86str.h" 7 | #include "vbe.h" 8 | 9 | static MODULESETUPPROTO(vbeSetup); 10 | 11 | static XF86ModuleVersionInfo vbeVersRec = 12 | { 13 | "vbe", 14 | MODULEVENDORSTRING, 15 | MODINFOSTRING1, 16 | MODINFOSTRING2, 17 | XORG_VERSION_CURRENT, 18 | 1, 1, 0, 19 | ABI_CLASS_VIDEODRV, /* needs the video driver ABI */ 20 | ABI_VIDEODRV_VERSION, 21 | MOD_CLASS_NONE, 22 | {0,0,0,0} 23 | }; 24 | 25 | _X_EXPORT XF86ModuleData vbeModuleData = { &vbeVersRec, vbeSetup, NULL }; 26 | 27 | static pointer 28 | vbeSetup(pointer module, pointer opts, int *errmaj, int *errmin) 29 | { 30 | return (pointer)1; 31 | } 32 | -------------------------------------------------------------------------------- /hw/xfree86/i2c/bt829_module.c: -------------------------------------------------------------------------------- 1 | #ifdef HAVE_XORG_CONFIG_H 2 | #include 3 | #endif 4 | 5 | #include "xf86Module.h" 6 | 7 | static MODULESETUPPROTO(bt829Setup); 8 | 9 | static XF86ModuleVersionInfo bt829VersRec = 10 | { 11 | "bt829", 12 | MODULEVENDORSTRING, 13 | MODINFOSTRING1, 14 | MODINFOSTRING2, 15 | XORG_VERSION_CURRENT, 16 | 1, 0, 0, 17 | ABI_CLASS_VIDEODRV, /* This needs the video driver ABI */ 18 | ABI_VIDEODRV_VERSION, 19 | MOD_CLASS_NONE, 20 | {0,0,0,0} 21 | }; 22 | 23 | _X_EXPORT XF86ModuleData bt829ModuleData = { &bt829VersRec, bt829Setup, NULL }; 24 | 25 | static pointer 26 | bt829Setup(pointer module, pointer opts, int *errmaj, int *errmin) { 27 | return (pointer)1; 28 | } 29 | -------------------------------------------------------------------------------- /include/bstore.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 1987 by the Regents of the University of California 3 | * 4 | * Permission to use, copy, modify, and distribute this software and its 5 | * documentation for any purpose and without fee is hereby granted, provided 6 | * that the above copyright notice appear in all copies. The University of 7 | * California makes no representations about the suitability of this software 8 | * for any purpose. It is provided "as is" without express or implied 9 | * warranty. 10 | */ 11 | 12 | /* 13 | * Moved here from mi to allow wrapping of lower level backing store functions. 14 | * -- 1997.10.27 Marc Aurele La France (tsi@xfree86.org) 15 | */ 16 | 17 | #ifndef _BSTORE_H_ 18 | #define _BSTORE_H_ 19 | 20 | #include "bstorestr.h" 21 | 22 | #endif /* _BSTORE_H_ */ 23 | -------------------------------------------------------------------------------- /include/xkb-config.h.in: -------------------------------------------------------------------------------- 1 | /* xkb-config.h.in: not at all generated. -*- c -*- 2 | * 3 | */ 4 | 5 | #ifndef _XKB_CONFIG_H_ 6 | #define _XKB_CONFIG_H_ 7 | 8 | /* Default set of XKB rules. */ 9 | #undef XKB_DFLT_RULES 10 | 11 | /* Default XKB model. */ 12 | #undef XKB_DFLT_MODEL 13 | 14 | /* Default XKB layout. */ 15 | #undef XKB_DFLT_LAYOUT 16 | 17 | /* Default XKB variant. */ 18 | #undef XKB_DFLT_VARIANT 19 | 20 | /* Default XKB options. */ 21 | #undef XKB_DFLT_OPTIONS 22 | 23 | /* Path to XKB definitions. */ 24 | #undef XKB_BASE_DIRECTORY 25 | 26 | /* Path to xkbcomp. */ 27 | #undef XKB_BIN_DIRECTORY 28 | 29 | /* XKB output dir for compiled keymaps. */ 30 | #undef XKM_OUTPUT_DIR 31 | 32 | /* Do not have `strcasecmp'. */ 33 | #undef NEED_STRCASECMP 34 | 35 | #endif /* _XKB_CONFIG_H_ */ 36 | -------------------------------------------------------------------------------- /hw/xfree86/fbdevhw/Makefile.am: -------------------------------------------------------------------------------- 1 | linuxmoduledir = $(moduledir)/linux 2 | linuxmodule_LTLIBRARIES = libfbdevhw.la 3 | 4 | libfbdevhw_la_LDFLAGS = -avoid-version 5 | 6 | if FBDEVHW 7 | libfbdevhw_la_SOURCES = fbdevhw.c 8 | else 9 | libfbdevhw_la_SOURCES = fbdevhwstub.c 10 | endif 11 | 12 | INCLUDES = $(XORG_INCS) -I$(srcdir)/../i2c 13 | 14 | AM_CFLAGS = $(DIX_CFLAGS) $(XORG_CFLAGS) 15 | 16 | sdk_HEADERS = fbdevhw.h 17 | 18 | include $(top_srcdir)/cpprules.in 19 | 20 | drivermandir = $(DRIVER_MAN_DIR) 21 | driverman_DATA = fbdevhw.$(DRIVER_MAN_SUFFIX) 22 | CLEANFILES = $(driverman_DATA) fbdevhw.man 23 | 24 | fbdevhw.$(DRIVER_MAN_SUFFIX): fbdevhw.man 25 | -$(AM_V_at)rm -f fbdevhw.$(DRIVER_MAN_SUFFIX) 26 | $(AM_V_at)$(LN_S) fbdevhw.man fbdevhw.$(DRIVER_MAN_SUFFIX) 27 | 28 | EXTRA_DIST = fbpriv.h fbdevhw.man.pre README 29 | -------------------------------------------------------------------------------- /hw/xfree86/doc/man/Makefile.am: -------------------------------------------------------------------------------- 1 | # Xserver.man covers options generic to all X servers built in this tree 2 | MAN_SRCS = Xorg.man.pre xorg.conf.man.pre 3 | 4 | appmandir = $(APP_MAN_DIR) 5 | appman_DATA = Xorg.$(APP_MAN_SUFFIX) 6 | 7 | filemandir = $(FILE_MAN_DIR) 8 | fileman_DATA = xorg.conf.$(FILE_MAN_SUFFIX) 9 | 10 | Xorg.$(APP_MAN_SUFFIX): Xorg.man 11 | -$(AM_V_at)rm -f Xorg.$(APP_MAN_SUFFIX) 12 | $(AM_V_at)$(LN_S) Xorg.man Xorg.$(APP_MAN_SUFFIX) 13 | 14 | xorg.conf.$(FILE_MAN_SUFFIX): xorg.conf.man 15 | -$(AM_V_at)rm -f xorg.conf.$(FILE_MAN_SUFFIX) 16 | $(AM_V_at)$(LN_S) xorg.conf.man xorg.conf.$(FILE_MAN_SUFFIX) 17 | 18 | include $(top_srcdir)/cpprules.in 19 | 20 | EXTRAMANDEFS = -D__logdir__=$(logdir) 21 | 22 | CLEANFILES = $(appman_DATA) $(fileman_DATA) xorg.conf.man Xorg.man 23 | 24 | EXTRA_DIST = $(MAN_SRCS) 25 | -------------------------------------------------------------------------------- /hw/xquartz/sanitizedCocoa.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Don't #include any of the AppKit, etc stuff directly since it will 3 | * pollute the X11 namespace. 4 | */ 5 | 6 | #ifndef _XQ_SANITIZED_COCOA_H_ 7 | #define _XQ_SANITIZED_COCOA_H_ 8 | 9 | // QuickDraw in ApplicationServices has the following conflicts with 10 | // the basic X server headers. Use QD_ to use the QuickDraw 11 | // definition of any of these symbols, or the normal name for the 12 | // X11 definition. 13 | #define Cursor QD_Cursor 14 | #define WindowPtr QD_WindowPtr 15 | #define Picture QD_Picture 16 | #define BOOL OSX_BOOL 17 | #define EventType HIT_EventType 18 | 19 | #include 20 | 21 | #undef Cursor 22 | #undef WindowPtr 23 | #undef Picture 24 | #undef BOOL 25 | #undef EventType 26 | 27 | #endif /* _XQ_SANITIZED_COCOA_H_ */ 28 | -------------------------------------------------------------------------------- /mi/mibstore.h: -------------------------------------------------------------------------------- 1 | /*- 2 | * mibstore.h -- 3 | * Header file for users of the MI backing-store scheme. 4 | * 5 | * Copyright (c) 1987 by the Regents of the University of California 6 | * 7 | * Permission to use, copy, modify, and distribute this 8 | * software and its documentation for any purpose and without 9 | * fee is hereby granted, provided that the above copyright 10 | * notice appear in all copies. The University of California 11 | * makes no representations about the suitability of this 12 | * software for any purpose. It is provided "as is" without 13 | * express or implied warranty. 14 | */ 15 | 16 | #ifndef _MIBSTORE_H 17 | #define _MIBSTORE_H 18 | 19 | #include "screenint.h" 20 | 21 | extern _X_EXPORT void miInitializeBackingStore( 22 | ScreenPtr /*pScreen*/ 23 | ); 24 | 25 | #endif /* _MIBSTORE_H */ 26 | -------------------------------------------------------------------------------- /hw/xnest/Handlers.h: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright 1993 by Davor Matic 4 | 5 | Permission to use, copy, modify, distribute, and sell this software 6 | and its documentation for any purpose is hereby granted without fee, 7 | provided that the above copyright notice appear in all copies and that 8 | both that copyright notice and this permission notice appear in 9 | supporting documentation. Davor Matic makes no representations about 10 | the suitability of this software for any purpose. It is provided "as 11 | is" without express or implied warranty. 12 | 13 | */ 14 | 15 | #ifndef XNESTHANDLERS_H 16 | #define XNESTHANDLERS_H 17 | 18 | void xnestBlockHandler(pointer blockData, OSTimePtr pTimeout, 19 | pointer pReadMask); 20 | void xnestWakeupHandler(pointer blockData, int result, pointer pReadMask); 21 | 22 | #endif /* XNESTHANDLERS_H */ 23 | -------------------------------------------------------------------------------- /hw/kdrive/fbdev/Xfbdev.man: -------------------------------------------------------------------------------- 1 | .\" $RCSId: xc/programs/Xserver/hw/kdrive/fbdev/Xfbdev.man,v 1.4 2001/01/27 18:20:40 dawes Exp $ 2 | .\" 3 | .TH Xfbdev 1 __vendorversion__ 4 | .SH NAME 5 | Xfbdev \- Linux framebuffer device tiny X server 6 | .SH SYNOPSIS 7 | .B Xfbdev 8 | .RI [ :display ] 9 | .RI [ option ...] 10 | .SH DESCRIPTION 11 | .B Xfbdev 12 | is a generic X server for Linux. 13 | .B Xfbdev 14 | doesn't know about any particular hardware, and uses the framebuffer 15 | provided by the Linux framebuffer device. 16 | .SH OPTIONS 17 | .B Xfbdev 18 | accepts the common options of the Xkdrive family of servers. Please 19 | see Xkdrive(1). 20 | .SH KEYBOARD 21 | To be written. 22 | .SH SEE ALSO 23 | X(__miscmansuffix__), Xserver(1), Xkdrive(1), xdm(1), xinit(1). 24 | .SH AUTHORS 25 | The 26 | .B Xfbdev 27 | server was written by Keith Packard. 28 | 29 | -------------------------------------------------------------------------------- /hw/xfree86/loader/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES = libloader.la 2 | 3 | INCLUDES = $(XORG_INCS) -I$(srcdir)/../parser -I$(top_srcdir)/miext/cw \ 4 | -I$(srcdir)/../ddc -I$(srcdir)/../i2c -I$(srcdir)/../modes \ 5 | -I$(srcdir)/../ramdac 6 | 7 | #AM_LDFLAGS = -r 8 | AM_CFLAGS = $(DIX_CFLAGS) $(XORG_CFLAGS) 9 | 10 | EXTRA_DIST = \ 11 | dlloader.h \ 12 | loader.h \ 13 | loaderProcs.h \ 14 | sdksyms.sh 15 | 16 | libloader_la_SOURCES = \ 17 | loader.c \ 18 | loaderProcs.h \ 19 | loadext.c \ 20 | loadmod.c \ 21 | dlloader.c \ 22 | os.c \ 23 | sdksyms.c 24 | libloader_la_LIBADD = $(DLOPEN_LIBS) 25 | 26 | CLEANFILES = sdksyms.c sdksyms.dep 27 | 28 | sdksyms.dep sdksyms.c: sdksyms.sh 29 | CPP='$(CPP)' AWK='$(AWK)' $(srcdir)/sdksyms.sh $(top_srcdir) $(AM_CFLAGS) $(CFLAGS) $(INCLUDES) 30 | 31 | sinclude sdksyms.dep 32 | -------------------------------------------------------------------------------- /hw/xfree86/i2c/fi1236_module.c: -------------------------------------------------------------------------------- 1 | #ifdef HAVE_XORG_CONFIG_H 2 | #include 3 | #endif 4 | 5 | #include "xf86Module.h" 6 | 7 | static MODULESETUPPROTO(fi1236Setup); 8 | 9 | static XF86ModuleVersionInfo fi1236VersRec = 10 | { 11 | "fi1236", 12 | MODULEVENDORSTRING, 13 | MODINFOSTRING1, 14 | MODINFOSTRING2, 15 | XORG_VERSION_CURRENT, 16 | 1, 0, 0, 17 | ABI_CLASS_VIDEODRV, /* This needs the video driver ABI */ 18 | ABI_VIDEODRV_VERSION, 19 | MOD_CLASS_NONE, 20 | {0,0,0,0} 21 | }; 22 | 23 | _X_EXPORT XF86ModuleData fi1236ModuleData = { 24 | &fi1236VersRec, 25 | fi1236Setup, 26 | NULL 27 | }; 28 | 29 | static pointer 30 | fi1236Setup(pointer module, pointer opts, int *errmaj, int *errmin) { 31 | return (pointer)1; 32 | } 33 | -------------------------------------------------------------------------------- /hw/xfree86/i2c/msp3430_module.c: -------------------------------------------------------------------------------- 1 | #ifdef HAVE_XORG_CONFIG_H 2 | #include 3 | #endif 4 | 5 | #include "xf86Module.h" 6 | 7 | static MODULESETUPPROTO(msp3430Setup); 8 | 9 | static XF86ModuleVersionInfo msp3430VersRec = 10 | { 11 | "msp3430", 12 | MODULEVENDORSTRING, 13 | MODINFOSTRING1, 14 | MODINFOSTRING2, 15 | XORG_VERSION_CURRENT, 16 | 1, 0, 0, 17 | ABI_CLASS_VIDEODRV, /* This needs the video driver ABI */ 18 | ABI_VIDEODRV_VERSION, 19 | MOD_CLASS_NONE, 20 | {0,0,0,0} 21 | }; 22 | 23 | _X_EXPORT XF86ModuleData msp3430ModuleData = { 24 | &msp3430VersRec, 25 | msp3430Setup, 26 | NULL 27 | }; 28 | 29 | static pointer 30 | msp3430Setup(pointer module, pointer opts, int *errmaj, int *errmin) { 31 | return (pointer)1; 32 | } 33 | -------------------------------------------------------------------------------- /hw/xfree86/i2c/tda8425_module.c: -------------------------------------------------------------------------------- 1 | #ifdef HAVE_XORG_CONFIG_H 2 | #include 3 | #endif 4 | 5 | #include "xf86Module.h" 6 | 7 | static MODULESETUPPROTO(tda8425Setup); 8 | 9 | static XF86ModuleVersionInfo tda8425VersRec = 10 | { 11 | "tda8425", 12 | MODULEVENDORSTRING, 13 | MODINFOSTRING1, 14 | MODINFOSTRING2, 15 | XORG_VERSION_CURRENT, 16 | 1, 0, 0, 17 | ABI_CLASS_VIDEODRV, /* This needs the video driver ABI */ 18 | ABI_VIDEODRV_VERSION, 19 | MOD_CLASS_NONE, 20 | {0,0,0,0} 21 | }; 22 | 23 | _X_EXPORT XF86ModuleData tda8425ModuleData = { 24 | &tda8425VersRec, 25 | tda8425Setup, 26 | NULL 27 | }; 28 | 29 | static pointer 30 | tda8425Setup(pointer module, pointer opts, int *errmaj, int *errmin) { 31 | return (pointer)1; 32 | } 33 | -------------------------------------------------------------------------------- /hw/xfree86/i2c/tda9850_module.c: -------------------------------------------------------------------------------- 1 | #ifdef HAVE_XORG_CONFIG_H 2 | #include 3 | #endif 4 | 5 | #include "xf86Module.h" 6 | 7 | static MODULESETUPPROTO(tda9850Setup); 8 | 9 | static XF86ModuleVersionInfo tda9850VersRec = 10 | { 11 | "tda9850", 12 | MODULEVENDORSTRING, 13 | MODINFOSTRING1, 14 | MODINFOSTRING2, 15 | XORG_VERSION_CURRENT, 16 | 1, 0, 0, 17 | ABI_CLASS_VIDEODRV, /* This needs the video driver ABI */ 18 | ABI_VIDEODRV_VERSION, 19 | MOD_CLASS_NONE, 20 | {0,0,0,0} 21 | }; 22 | 23 | _X_EXPORT XF86ModuleData tda9850ModuleData = { 24 | &tda9850VersRec, 25 | tda9850Setup, 26 | NULL 27 | }; 28 | 29 | static pointer 30 | tda9850Setup(pointer module, pointer opts, int *errmaj, int *errmin) { 31 | return (pointer)1; 32 | } 33 | -------------------------------------------------------------------------------- /hw/xfree86/i2c/tda9885_module.c: -------------------------------------------------------------------------------- 1 | #ifdef HAVE_XORG_CONFIG_H 2 | #include 3 | #endif 4 | 5 | #include "xf86Module.h" 6 | 7 | static MODULESETUPPROTO(tda9885Setup); 8 | 9 | static XF86ModuleVersionInfo tda9885VersRec = 10 | { 11 | "tda9885", 12 | MODULEVENDORSTRING, 13 | MODINFOSTRING1, 14 | MODINFOSTRING2, 15 | XORG_VERSION_CURRENT, 16 | 1, 0, 0, 17 | ABI_CLASS_VIDEODRV, /* This needs the video driver ABI */ 18 | ABI_VIDEODRV_VERSION, 19 | MOD_CLASS_NONE, 20 | {0,0,0,0} 21 | }; 22 | 23 | _X_EXPORT XF86ModuleData tda9885ModuleData = { 24 | &tda9885VersRec, 25 | tda9885Setup, 26 | NULL 27 | }; 28 | 29 | static pointer 30 | tda9885Setup(pointer module, pointer opts, int *errmaj, int *errmin) { 31 | return (pointer)1; 32 | } 33 | -------------------------------------------------------------------------------- /hw/xfree86/i2c/uda1380_module.c: -------------------------------------------------------------------------------- 1 | #ifdef HAVE_XORG_CONFIG_H 2 | #include 3 | #endif 4 | 5 | #include "xf86Module.h" 6 | 7 | static MODULESETUPPROTO(uda1380Setup); 8 | 9 | static XF86ModuleVersionInfo uda1380VersRec = 10 | { 11 | "uda1380", 12 | MODULEVENDORSTRING, 13 | MODINFOSTRING1, 14 | MODINFOSTRING2, 15 | XORG_VERSION_CURRENT, 16 | 1, 0, 0, 17 | ABI_CLASS_VIDEODRV, /* This needs the video driver ABI */ 18 | ABI_VIDEODRV_VERSION, 19 | MOD_CLASS_NONE, 20 | {0,0,0,0} 21 | }; 22 | 23 | _X_EXPORT XF86ModuleData uda1380ModuleData = { 24 | &uda1380VersRec, 25 | uda1380Setup, 26 | NULL 27 | }; 28 | 29 | static pointer 30 | uda1380Setup(pointer module, pointer opts, int *errmaj, int *errmin) { 31 | return (pointer)1; 32 | } 33 | -------------------------------------------------------------------------------- /include/xwin-config.h.in: -------------------------------------------------------------------------------- 1 | /* 2 | * xwin-config.h.in 3 | * 4 | * This file has all defines used in the xwin ddx 5 | * 6 | */ 7 | #include 8 | 9 | /* Winsock networking */ 10 | #undef HAS_WINSOCK 11 | 12 | /* Cygwin has /dev/windows for signaling new win32 messages */ 13 | #undef HAS_DEVWINDOWS 14 | 15 | /* Switch on debug messages */ 16 | #undef CYGDEBUG 17 | #undef CYGWINDOWING_DEBUG 18 | #undef CYGMULTIWINDOW_DEBUG 19 | 20 | /* Define to 1 if unsigned long is 64 bits. */ 21 | #undef _XSERVER64 22 | 23 | /* Do we require our own snprintf? */ 24 | #undef NEED_SNPRINTF 25 | 26 | /* Short vendor name */ 27 | #undef XVENDORNAMESHORT 28 | 29 | /* Vendor web address for support */ 30 | #undef __VENDORDWEBSUPPORT__ 31 | 32 | /* Location of system.XWinrc */ 33 | #undef SYSCONFDIR 34 | 35 | /* Default log location */ 36 | #undef DEFAULT_LOGDIR 37 | -------------------------------------------------------------------------------- /doc/Makefile.am: -------------------------------------------------------------------------------- 1 | 2 | # Xserver.man covers options generic to all X servers built in this tree 3 | # (i.e. those handled in the os/utils.c options processing instead of in 4 | # the DDX-level options processing) 5 | appmandir = $(APP_MAN_DIR) 6 | appman_PRE = Xserver.man.pre 7 | 8 | appman_PROCESSED = $(appman_PRE:man.pre=man) 9 | appman_DATA = $(appman_PRE:man.pre=@APP_MAN_SUFFIX@) 10 | 11 | BUILT_SOURCES = $(appman_PROCESSED) 12 | CLEANFILES = $(appman_PROCESSED) $(appman_DATA) 13 | 14 | include $(top_srcdir)/cpprules.in 15 | 16 | .man.$(APP_MAN_SUFFIX): 17 | $(AM_V_at)cp $< $@ 18 | 19 | EXTRAMANDEFS = -D__default_font_path__="`echo $(COMPILEDDEFAULTFONTPATH) | $(SED) -e 's/,/, /g'`" 20 | 21 | # Docs about X server internals that we ship with source but don't install 22 | DEVEL_DOCS = smartsched 23 | 24 | EXTRA_DIST = $(DEVEL_DOCS) $(appman_PRE) $(fileman_PRE) 25 | -------------------------------------------------------------------------------- /hw/xfree86/x86emu/Makefile.am: -------------------------------------------------------------------------------- 1 | if INT10_X86EMU 2 | noinst_LTLIBRARIES = libx86emu.la 3 | endif 4 | 5 | libx86emu_la_SOURCES = debug.c \ 6 | decode.c \ 7 | fpu.c \ 8 | ops2.c \ 9 | ops.c \ 10 | prim_ops.c \ 11 | sys.c \ 12 | x86emu.h 13 | 14 | INCLUDES = 15 | 16 | AM_CFLAGS = $(DIX_CFLAGS) $(XORG_CFLAGS) 17 | 18 | EXTRA_DIST = validate.c \ 19 | x86emu/debug.h \ 20 | x86emu/decode.h \ 21 | x86emu/fpu.h \ 22 | x86emu/fpu_regs.h \ 23 | x86emu/ops.h \ 24 | x86emu/prim_asm.h \ 25 | x86emu/prim_ops.h \ 26 | x86emu/prim_x86_gcc.h \ 27 | x86emu/regs.h \ 28 | x86emu/types.h \ 29 | x86emu/x86emui.h 30 | -------------------------------------------------------------------------------- /hw/xfree86/dixmods/extmod/Makefile.am: -------------------------------------------------------------------------------- 1 | sdk_HEADERS = dgaproc.h 2 | 3 | extsmoduledir = $(moduledir)/extensions 4 | extsmodule_LTLIBRARIES = libextmod.la 5 | 6 | if DGA 7 | DGA_SRCS = xf86dga2.c dgaproc.h xf86dgaext.h 8 | endif 9 | 10 | if XV 11 | XV_SRCS = xvmod.c xvmodproc.h 12 | endif 13 | 14 | if XF86VIDMODE 15 | XF86VMODE_SRCS = xf86vmode.c 16 | endif 17 | 18 | AM_CFLAGS = @DIX_CFLAGS@ @XORG_CFLAGS@ 19 | INCLUDES = @XORG_INCS@ \ 20 | -I$(top_srcdir)/dbe \ 21 | -I$(top_srcdir)/hw/xfree86/loader \ 22 | -I$(top_srcdir)/miext/shadow 23 | 24 | libextmod_la_LDFLAGS = -avoid-version 25 | libextmod_la_SOURCES = modinit.c \ 26 | modinit.h \ 27 | $(DGA_SRCS) \ 28 | $(XF86VMODE_SRCS) \ 29 | $(XV_SRCS) 30 | libextmod_la_LIBADD = $(top_builddir)/Xext/libXextmodule.la 31 | -------------------------------------------------------------------------------- /hw/xfree86/modes/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES = libxf86modes.la 2 | 3 | if DGA 4 | DGA_SRCS = xf86DiDGA.c 5 | endif 6 | 7 | libxf86modes_la_SOURCES = \ 8 | xf86Crtc.c \ 9 | xf86Crtc.h \ 10 | xf86Cursors.c \ 11 | xf86cvt.c \ 12 | xf86gtf.c \ 13 | xf86DisplayIDModes.c \ 14 | xf86EdidModes.c \ 15 | xf86Modes.c \ 16 | xf86Modes.h \ 17 | xf86RandR12.c \ 18 | xf86RandR12.h \ 19 | xf86Rename.h \ 20 | xf86Rotate.c \ 21 | $(DGA_SRCS) 22 | 23 | INCLUDES = $(XORG_INCS) -I$(srcdir)/../ddc -I$(srcdir)/../i2c \ 24 | -I$(srcdir)/../loader -I$(srcdir)/../rac -I$(srcdir)/../parser \ 25 | -I$(srcdir)/../vbe -I$(srcdir)/../int10 \ 26 | -I$(srcdir)/../vgahw -I$(srcdir)/../ramdac \ 27 | -I$(srcdir)/../dixmods/extmod 28 | 29 | sdk_HEADERS = \ 30 | xf86Crtc.h \ 31 | xf86Modes.h \ 32 | xf86RandR12.h \ 33 | xf86Rename.h 34 | 35 | AM_CFLAGS = $(DIX_CFLAGS) $(XORG_CFLAGS) 36 | -------------------------------------------------------------------------------- /hw/xfree86/os-support/Makefile.am: -------------------------------------------------------------------------------- 1 | SUBDIRS = bus @XORG_OS_SUBDIR@ misc $(DRI_SUBDIRS) 2 | DIST_SUBDIRS = bsd bus misc linux solaris sysv sco hurd 3 | 4 | sdk_HEADERS = xf86_OSproc.h xf86_OSlib.h 5 | 6 | EXTRA_DIST = int10Defines.h xf86OSpriv.h 7 | 8 | # to get the grouping semantics right, you have to glom these three together 9 | # as one library, otherwise libtool will actively defeat your attempts to 10 | # list them multiple times on the link line. 11 | noinst_LTLIBRARIES = libxorgos.la 12 | libxorgos_la_SOURCES = xorgos.c 13 | libxorgos_la_LIBADD = @XORG_OS_SUBDIR@/lib@XORG_OS_SUBDIR@.la \ 14 | bus/libbus.la \ 15 | misc/libmisc.la 16 | 17 | AM_CFLAGS = $(DIX_CFLAGS) 18 | 19 | xorgos.c: 20 | touch $@ 21 | 22 | DISTCLEANFILES = xorgos.c 23 | 24 | # FIXME: These don't seem to be used anywhere 25 | EXTRA_DIST += \ 26 | shared/bios_devmem.c 27 | -------------------------------------------------------------------------------- /hw/xnest/Drawable.h: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright 1993 by Davor Matic 4 | 5 | Permission to use, copy, modify, distribute, and sell this software 6 | and its documentation for any purpose is hereby granted without fee, 7 | provided that the above copyright notice appear in all copies and that 8 | both that copyright notice and this permission notice appear in 9 | supporting documentation. Davor Matic makes no representations about 10 | the suitability of this software for any purpose. It is provided "as 11 | is" without express or implied warranty. 12 | 13 | */ 14 | 15 | #ifndef XNESTDRAWABLE_H 16 | #define XNESTDRAWABLE_H 17 | 18 | #include "XNWindow.h" 19 | #include "XNPixmap.h" 20 | 21 | #define xnestDrawable(pDrawable) \ 22 | ((pDrawable)->type == DRAWABLE_WINDOW ? \ 23 | xnestWindow((WindowPtr)pDrawable) : \ 24 | xnestPixmap((PixmapPtr)pDrawable)) 25 | 26 | #endif /* XNESTDRAWABLE_H */ 27 | -------------------------------------------------------------------------------- /hw/xnest/Visual.h: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright 1993 by Davor Matic 4 | 5 | Permission to use, copy, modify, distribute, and sell this software 6 | and its documentation for any purpose is hereby granted without fee, 7 | provided that the above copyright notice appear in all copies and that 8 | both that copyright notice and this permission notice appear in 9 | supporting documentation. Davor Matic makes no representations about 10 | the suitability of this software for any purpose. It is provided "as 11 | is" without express or implied warranty. 12 | 13 | */ 14 | 15 | #ifndef XNESTVISUAL_H 16 | #define XNESTVISUAL_H 17 | 18 | Visual *xnestVisual(VisualPtr pVisual); 19 | Visual *xnestVisualFromID(ScreenPtr pScreen, VisualID visual); 20 | Colormap xnestDefaultVisualColormap(Visual *visual); 21 | 22 | #define xnestDefaultVisual(pScreen) \ 23 | xnestVisualFromID((pScreen), (pScreen)->rootVisual) 24 | 25 | #endif /* XNESTVISUAL_H */ 26 | -------------------------------------------------------------------------------- /hw/xnest/icon: -------------------------------------------------------------------------------- 1 | #define icon_width 32 2 | #define icon_height 32 3 | static unsigned char icon_bits[] = { 4 | 0xff, 0x00, 0x00, 0xc0, 0xfe, 0x01, 0x00, 0xc0, 0xfc, 0x03, 0x00, 0x60, 5 | 0xf8, 0x07, 0x00, 0x30, 0xf8, 0x07, 0x00, 0x18, 0xf0, 0x0f, 0x00, 0x0c, 6 | 0xe0, 0x1f, 0x00, 0x06, 0xc0, 0x3f, 0x00, 0x06, 0xc0, 0x3f, 0x00, 0x03, 7 | 0x80, 0x7f, 0x80, 0x01, 0x00, 0xff, 0xc0, 0x00, 0x00, 0xfe, 0x61, 0x00, 8 | 0x00, 0xfe, 0x31, 0x00, 0x00, 0xfc, 0x33, 0x00, 0x00, 0xf8, 0x1b, 0x00, 9 | 0x00, 0xf0, 0x0d, 0x00, 0x00, 0xf0, 0x0e, 0x00, 0x00, 0x60, 0x1f, 0x00, 10 | 0x00, 0xb0, 0x3f, 0x00, 0x00, 0x98, 0x7f, 0x00, 0x00, 0x98, 0x7f, 0x00, 11 | 0x00, 0x0c, 0xff, 0x00, 0x00, 0x06, 0xfe, 0x01, 0x00, 0x03, 0xfc, 0x03, 12 | 0x80, 0x01, 0xfc, 0x03, 0xc0, 0x00, 0xf8, 0x07, 0xc0, 0x00, 0xf0, 0x0f, 13 | 0x60, 0x00, 0xe0, 0x1f, 0x30, 0x00, 0xe0, 0x1f, 0x18, 0x00, 0xc0, 0x3f, 14 | 0x0c, 0x00, 0x80, 0x7f, 0x06, 0x00, 0x00, 0xff}; 15 | -------------------------------------------------------------------------------- /hw/xnest/Screen.h: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright 1993 by Davor Matic 4 | 5 | Permission to use, copy, modify, distribute, and sell this software 6 | and its documentation for any purpose is hereby granted without fee, 7 | provided that the above copyright notice appear in all copies and that 8 | both that copyright notice and this permission notice appear in 9 | supporting documentation. Davor Matic makes no representations about 10 | the suitability of this software for any purpose. It is provided "as 11 | is" without express or implied warranty. 12 | 13 | */ 14 | 15 | #ifndef XNESTSCREEN_H 16 | #define XNESTSCREEN_H 17 | 18 | extern Window xnestDefaultWindows[MAXSCREENS]; 19 | extern Window xnestScreenSaverWindows[MAXSCREENS]; 20 | 21 | ScreenPtr xnestScreen(Window window); 22 | Bool xnestOpenScreen(int index, ScreenPtr pScreen, int argc, char *argv[]); 23 | Bool xnestCloseScreen(int index, ScreenPtr pScreen); 24 | 25 | #endif /* XNESTSCREEN_H */ 26 | -------------------------------------------------------------------------------- /hw/xnest/Events.h: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright 1993 by Davor Matic 4 | 5 | Permission to use, copy, modify, distribute, and sell this software 6 | and its documentation for any purpose is hereby granted without fee, 7 | provided that the above copyright notice appear in all copies and that 8 | both that copyright notice and this permission notice appear in 9 | supporting documentation. Davor Matic makes no representations about 10 | the suitability of this software for any purpose. It is provided "as 11 | is" without express or implied warranty. 12 | 13 | */ 14 | 15 | #ifndef XNESTEVENTS_H 16 | #define XNESTEVENTS_H 17 | 18 | #include 19 | 20 | #define ProcessedExpose (LASTEvent + 1) 21 | 22 | extern CARD32 lastEventTime; 23 | 24 | void SetTimeSinceLastInputEvent(void); 25 | void xnestCollectExposures(void); 26 | void xnestCollectEvents(void); 27 | void xnestQueueKeyEvent(int type, unsigned int keycode); 28 | 29 | #endif /* XNESTEVENTS_H */ 30 | -------------------------------------------------------------------------------- /config/Makefile.am: -------------------------------------------------------------------------------- 1 | AM_CFLAGS = $(DIX_CFLAGS) 2 | 3 | noinst_LTLIBRARIES = libconfig.la 4 | libconfig_la_SOURCES = config.c config-backends.h 5 | 6 | if CONFIG_UDEV 7 | 8 | AM_CFLAGS += $(UDEV_CFLAGS) 9 | libconfig_la_SOURCES += udev.c 10 | libconfig_la_LIBADD = $(UDEV_LIBS) 11 | 12 | xorgconfddir = $(datadir)/X11/$(XF86CONFIGDIR) 13 | xorgconfd_DATA = 10-evdev.conf 14 | 15 | else 16 | 17 | if CONFIG_NEED_DBUS 18 | AM_CFLAGS += $(DBUS_CFLAGS) 19 | libconfig_la_SOURCES += dbus-core.c 20 | libconfig_la_LIBADD = $(DBUS_LIBS) 21 | 22 | if CONFIG_DBUS_API 23 | dbusconfigdir = $(sysconfdir)/dbus-1/system.d 24 | dbusconfig_DATA = xorg-server.conf 25 | 26 | libconfig_la_SOURCES += dbus.c 27 | endif 28 | 29 | if CONFIG_HAL 30 | AM_CFLAGS += $(HAL_CFLAGS) 31 | libconfig_la_SOURCES += hal.c 32 | libconfig_la_LIBADD += $(HAL_LIBS) 33 | endif 34 | 35 | endif # CONFIG_NEED_DBUS 36 | 37 | endif # !CONFIG_UDEV 38 | 39 | EXTRA_DIST = xorg-server.conf x11-input.fdi 10-evdev.conf 40 | -------------------------------------------------------------------------------- /hw/xfree86/dixmods/xkbPrivate.c: -------------------------------------------------------------------------------- 1 | 2 | #ifdef HAVE_DIX_CONFIG_H 3 | #include 4 | #endif 5 | 6 | #ifdef HAVE_XORG_CONFIG_H 7 | #include 8 | #endif 9 | 10 | #include 11 | #include 12 | #include "windowstr.h" 13 | #define XKBSRV_NEED_FILE_FUNCS 14 | #include 15 | 16 | #include "os.h" 17 | #include "xf86.h" 18 | 19 | int 20 | XkbDDXPrivate(DeviceIntPtr dev,KeyCode key,XkbAction *act) 21 | { 22 | XkbAnyAction *xf86act = &(act->any); 23 | char msgbuf[XkbAnyActionDataSize+1]; 24 | 25 | if (xf86act->type == XkbSA_XFree86Private) { 26 | memcpy(msgbuf, xf86act->data, XkbAnyActionDataSize); 27 | msgbuf[XkbAnyActionDataSize]= '\0'; 28 | if (strcasecmp(msgbuf, "-vmode")==0) 29 | xf86ProcessActionEvent(ACTION_PREV_MODE, NULL); 30 | else if (strcasecmp(msgbuf, "+vmode")==0) 31 | xf86ProcessActionEvent(ACTION_NEXT_MODE, NULL); 32 | } 33 | 34 | return 0; 35 | } 36 | -------------------------------------------------------------------------------- /include/kdrive-config.h.in: -------------------------------------------------------------------------------- 1 | /* kdrive-config.h.in: not at all generated. -*- c -*- 2 | */ 3 | 4 | #ifndef _KDRIVE_CONFIG_H_ 5 | #define _KDRIVE_CONFIG_H_ 6 | 7 | #include 8 | #include 9 | 10 | /* Building kdrive server. */ 11 | #undef KDRIVESERVER 12 | 13 | /* Include framebuffer support in X servers */ 14 | #undef KDRIVEFBDEV 15 | 16 | /* Enable touchscreen support */ 17 | #undef TOUCHSCREEN 18 | 19 | /* Support tslib touchscreen abstraction library */ 20 | #undef TSLIB 21 | 22 | /* Support KDrive kbd driver */ 23 | #undef KDRIVE_KBD 24 | 25 | /* Support KDrive mouse driver */ 26 | #undef KDRIVE_MOUSE 27 | 28 | /* Support KDrive evdev driver */ 29 | #undef KDRIVE_EVDEV 30 | 31 | /* Verbose debugging output hilarity */ 32 | #undef DEBUG 33 | 34 | /* Have the backtrace() function. */ 35 | #undef HAVE_BACKTRACE 36 | 37 | /* Have execinfo.h for backtrace(). */ 38 | #undef HAVE_EXECINFO_H 39 | 40 | #endif /* _KDRIVE_CONFIG_H_ */ 41 | -------------------------------------------------------------------------------- /mi/mioverlay.h: -------------------------------------------------------------------------------- 1 | 2 | #ifdef HAVE_DIX_CONFIG_H 3 | #include 4 | #endif 5 | 6 | #ifndef __MIOVERLAY_H 7 | #define __MIOVERLAY_H 8 | 9 | typedef void (*miOverlayTransFunc)(ScreenPtr, int, BoxPtr); 10 | typedef Bool (*miOverlayInOverlayFunc)(WindowPtr); 11 | 12 | extern _X_EXPORT Bool 13 | miInitOverlay( 14 | ScreenPtr pScreen, 15 | miOverlayInOverlayFunc inOverlay, 16 | miOverlayTransFunc trans 17 | ); 18 | 19 | extern _X_EXPORT Bool 20 | miOverlayGetPrivateClips( 21 | WindowPtr pWin, 22 | RegionPtr *borderClip, 23 | RegionPtr *clipList 24 | ); 25 | 26 | extern _X_EXPORT Bool miOverlayCollectUnderlayRegions(WindowPtr, RegionPtr*); 27 | extern _X_EXPORT void miOverlayComputeCompositeClip(GCPtr, WindowPtr); 28 | extern _X_EXPORT Bool miOverlayCopyUnderlay(ScreenPtr); 29 | extern _X_EXPORT void miOverlaySetTransFunction(ScreenPtr, miOverlayTransFunc); 30 | extern _X_EXPORT void miOverlaySetRootClip(ScreenPtr, Bool); 31 | 32 | #endif /* __MIOVERLAY_H */ 33 | -------------------------------------------------------------------------------- /hw/xnest/Pointer.h: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright 1993 by Davor Matic 4 | 5 | Permission to use, copy, modify, distribute, and sell this software 6 | and its documentation for any purpose is hereby granted without fee, 7 | provided that the above copyright notice appear in all copies and that 8 | both that copyright notice and this permission notice appear in 9 | supporting documentation. Davor Matic makes no representations about 10 | the suitability of this software for any purpose. It is provided "as 11 | is" without express or implied warranty. 12 | 13 | */ 14 | 15 | #ifndef XNESTPOINTER_H 16 | #define XNESTPOINTER_H 17 | 18 | #define MAXBUTTONS 256 19 | 20 | #define XNEST_POINTER_EVENT_MASK \ 21 | (ButtonPressMask | ButtonReleaseMask | PointerMotionMask | \ 22 | EnterWindowMask | LeaveWindowMask) 23 | 24 | extern DeviceIntPtr xnestPointerDevice; 25 | 26 | void xnestChangePointerControl(DeviceIntPtr pDev, PtrCtrl *ctrl); 27 | int xnestPointerProc(DeviceIntPtr pDev, int onoff); 28 | 29 | #endif /* XNESTPOINTER_H */ 30 | -------------------------------------------------------------------------------- /hw/xfree86/dri/Makefile.am: -------------------------------------------------------------------------------- 1 | libdri_la_LTLIBRARIES = libdri.la 2 | libdri_la_CFLAGS = -I$(top_srcdir)/hw/xfree86/common \ 3 | -I$(top_srcdir)/hw/xfree86/os-support \ 4 | -I$(top_srcdir)/hw/xfree86/modes \ 5 | -I$(top_srcdir)/hw/xfree86/ddc \ 6 | -I$(top_srcdir)/hw/xfree86/i2c \ 7 | -I$(top_srcdir)/hw/xfree86/parser \ 8 | -I$(top_srcdir)/hw/xfree86/ramdac \ 9 | -I$(top_srcdir)/hw/xfree86/os-support/bus \ 10 | -I$(top_srcdir)/glx \ 11 | -DHAVE_XORG_CONFIG_H \ 12 | @DIX_CFLAGS@ @XORG_CFLAGS@ @DRIPROTO_CFLAGS@ \ 13 | @LIBDRM_CFLAGS@ \ 14 | @DRI_CFLAGS@ 15 | libdri_la_LDFLAGS = -module -avoid-version @LIBDRM_LIBS@ 16 | libdri_ladir = $(moduledir)/extensions 17 | libdri_la_SOURCES = \ 18 | dri.c \ 19 | dri.h \ 20 | drimodule.c \ 21 | dristruct.h \ 22 | sarea.h \ 23 | xf86dri.c 24 | 25 | sdk_HEADERS = dri.h sarea.h dristruct.h 26 | -------------------------------------------------------------------------------- /hw/xfree86/dixmods/recordmod.c: -------------------------------------------------------------------------------- 1 | #ifdef HAVE_XORG_CONFIG_H 2 | #include 3 | #endif 4 | 5 | #include "xf86Module.h" 6 | 7 | extern Bool noTestExtensions; 8 | 9 | static MODULESETUPPROTO(recordSetup); 10 | 11 | extern void RecordExtensionInit(INITARGS); 12 | 13 | static ExtensionModule recordExt = { 14 | RecordExtensionInit, 15 | "RECORD", 16 | &noTestExtensions, 17 | NULL, 18 | NULL 19 | }; 20 | 21 | static XF86ModuleVersionInfo VersRec = { 22 | "record", 23 | MODULEVENDORSTRING, 24 | MODINFOSTRING1, 25 | MODINFOSTRING2, 26 | XORG_VERSION_CURRENT, 27 | 1, 13, 0, 28 | ABI_CLASS_EXTENSION, 29 | ABI_EXTENSION_VERSION, 30 | MOD_CLASS_EXTENSION, 31 | {0,0,0,0} 32 | }; 33 | 34 | _X_EXPORT XF86ModuleData recordModuleData = { &VersRec, recordSetup, NULL }; 35 | 36 | static pointer 37 | recordSetup(pointer module, pointer opts, int *errmaj, int *errmin) 38 | { 39 | LoadExtension(&recordExt, FALSE); 40 | 41 | /* Need a non-NULL return value to indicate success */ 42 | return (pointer)1; 43 | } 44 | 45 | -------------------------------------------------------------------------------- /hw/xfree86/dixmods/dbemodule.c: -------------------------------------------------------------------------------- 1 | #ifdef HAVE_XORG_CONFIG_H 2 | #include 3 | #endif 4 | 5 | #include "xf86Module.h" 6 | #include "globals.h" 7 | 8 | static MODULESETUPPROTO(dbeSetup); 9 | 10 | extern void DbeExtensionInit(INITARGS); 11 | 12 | static ExtensionModule dbeExt = { 13 | DbeExtensionInit, 14 | "DOUBLE-BUFFER", 15 | &noDbeExtension, 16 | NULL, 17 | NULL 18 | }; 19 | 20 | static XF86ModuleVersionInfo VersRec = 21 | { 22 | "dbe", 23 | MODULEVENDORSTRING, 24 | MODINFOSTRING1, 25 | MODINFOSTRING2, 26 | XORG_VERSION_CURRENT, 27 | 1, 0, 0, 28 | ABI_CLASS_EXTENSION, 29 | ABI_EXTENSION_VERSION, 30 | MOD_CLASS_EXTENSION, 31 | {0,0,0,0} 32 | }; 33 | 34 | /* 35 | * Data for the loader 36 | */ 37 | _X_EXPORT XF86ModuleData dbeModuleData = { &VersRec, dbeSetup, NULL }; 38 | 39 | static pointer 40 | dbeSetup(pointer module, pointer opts, int *errmaj, int *errmin) 41 | { 42 | LoadExtension(&dbeExt, FALSE); 43 | 44 | /* Need a non-NULL return value to indicate success */ 45 | return (pointer)1; 46 | } 47 | -------------------------------------------------------------------------------- /hw/xfree86/parser/Makefile.am: -------------------------------------------------------------------------------- 1 | if INSTALL_LIBXF86CONFIG 2 | noinst_LTLIBRARIES = libxf86config_internal.la 3 | lib_LIBRARIES = libxf86config.a 4 | LIBHEADERS = \ 5 | xf86Optrec.h \ 6 | xf86Parser.h 7 | else 8 | noinst_LTLIBRARIES = libxf86config_internal.la 9 | endif 10 | 11 | INTERNAL_SOURCES= \ 12 | Device.c \ 13 | Files.c \ 14 | Flags.c \ 15 | Input.c \ 16 | InputClass.c \ 17 | Layout.c \ 18 | Module.c \ 19 | Video.c \ 20 | Monitor.c \ 21 | Pointer.c \ 22 | Screen.c \ 23 | Vendor.c \ 24 | read.c \ 25 | scan.c \ 26 | write.c \ 27 | DRI.c \ 28 | Extensions.c 29 | 30 | libxf86config_internal_la_SOURCES = \ 31 | $(INTERNAL_SOURCES) 32 | 33 | libxf86config_a_SOURCES = \ 34 | $(INTERNAL_SOURCES) 35 | libxf86config_a_CFLAGS = $(AM_CFLAGS) 36 | 37 | AM_CFLAGS = $(DIX_CFLAGS) $(XORG_CFLAGS) \ 38 | -DSYSCONFDIR=\"$(sysconfdir)\" \ 39 | -DDATADIR=\"$(datadir)\" 40 | 41 | EXTRA_DIST = \ 42 | Configint.h \ 43 | configProcs.h \ 44 | xf86Optrec.h \ 45 | xf86Parser.h \ 46 | xf86tokens.h 47 | 48 | sdk_HEADERS = \ 49 | xf86Parser.h \ 50 | xf86Optrec.h 51 | -------------------------------------------------------------------------------- /hw/xfree86/fbdevhw/fbdevhw.man.pre: -------------------------------------------------------------------------------- 1 | .\" $XFree86: xc/programs/Xserver/hw/xfree86/fbdevhw/fbdevhw.man,v 1.1 2001/01/24 00:06:34 dawes Exp $ 2 | .TH FBDEVHW __drivermansuffix__ __vendorversion__ 3 | .SH NAME 4 | fbdevhw \- os-specific submodule for framebuffer device access 5 | .SH DESCRIPTION 6 | .B fbdevhw 7 | provides functions for talking to a framebuffer device. It is 8 | os-specific. It is a submodule used by other video drivers. 9 | A 10 | .B fbdevhw 11 | module is currently available for linux framebuffer devices. 12 | .PP 13 | fbdev(__drivermansuffix__) is a non-accelerated driver which runs on top of the 14 | fbdevhw module. fbdevhw can be used by other drivers too, this 15 | is usually activated with `Option "UseFBDev"' in the device section. 16 | .SH "SEE ALSO" 17 | __xservername__(__appmansuffix__), __xconfigfile__(__filemansuffix__), 18 | xorgconfig(__appmansuffix__), Xserver(__appmansuffix__), X(__miscmansuffix__), 19 | fbdev(__drivermansuffix__) 20 | .SH AUTHORS 21 | Authors include: Gerd Knorr, based on the XF68_FBDev Server code 22 | (Martin Schaller, Geert Uytterhoeven). 23 | -------------------------------------------------------------------------------- /hw/xquartz/sanitizedCarbon.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Don't #include any of the AppKit, etc stuff directly since it will 3 | * pollute the X11 namespace. 4 | */ 5 | 6 | #ifndef _XQ_SANITIZED_CARBON_H_ 7 | #define _XQ_SANITIZED_CARBON_H_ 8 | 9 | // QuickDraw in ApplicationServices has the following conflicts with 10 | // the basic X server headers. Use QD_ to use the QuickDraw 11 | // definition of any of these symbols, or the normal name for the 12 | // X11 definition. 13 | #define Cursor QD_Cursor 14 | #define WindowPtr QD_WindowPtr 15 | #define Picture QD_Picture 16 | #define BOOL OSX_BOOL 17 | #define EventType HIT_EventType 18 | 19 | #include 20 | #include 21 | #include 22 | #include 23 | #include 24 | #include // For the NXSwap* 25 | 26 | #undef Cursor 27 | #undef WindowPtr 28 | #undef Picture 29 | #undef BOOL 30 | #undef EventType 31 | 32 | #endif /* _XQ_SANITIZED_CARBON_H_ */ 33 | -------------------------------------------------------------------------------- /hw/xnest/Keyboard.h: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright 1993 by Davor Matic 4 | 5 | Permission to use, copy, modify, distribute, and sell this software 6 | and its documentation for any purpose is hereby granted without fee, 7 | provided that the above copyright notice appear in all copies and that 8 | both that copyright notice and this permission notice appear in 9 | supporting documentation. Davor Matic makes no representations about 10 | the suitability of this software for any purpose. It is provided "as 11 | is" without express or implied warranty. 12 | 13 | */ 14 | 15 | #ifndef XNESTKEYBOARD_H 16 | #define XNESTKEYBOARD_H 17 | 18 | #define XNEST_KEYBOARD_EVENT_MASK \ 19 | (KeyPressMask | KeyReleaseMask | FocusChangeMask | KeymapStateMask) 20 | 21 | extern DeviceIntPtr xnestKeyboardDevice; 22 | 23 | void xnestBell(int volume, DeviceIntPtr pDev, pointer ctrl, int cls); 24 | void xnestChangeKeyboardControl(DeviceIntPtr pDev, KeybdCtrl *ctrl); 25 | int xnestKeyboardProc(DeviceIntPtr pDev, int onoff); 26 | void xnestUpdateModifierState(unsigned int state); 27 | 28 | #endif /* XNESTKEYBOARD_H */ 29 | -------------------------------------------------------------------------------- /xkb/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES = libxkb.la libxkbstubs.la 2 | 3 | AM_CFLAGS = $(DIX_CFLAGS) 4 | 5 | DDX_SRCS = \ 6 | ddxBeep.c \ 7 | ddxCtrls.c \ 8 | ddxLEDs.c \ 9 | ddxLoad.c \ 10 | ddxList.c 11 | 12 | DIX_SRCS = \ 13 | xkb.c \ 14 | xkbUtils.c \ 15 | xkbEvents.c \ 16 | xkbAccessX.c \ 17 | xkbSwap.c \ 18 | xkbLEDs.c \ 19 | xkbInit.c \ 20 | xkbActions.c \ 21 | xkbPrKeyEv.c 22 | 23 | # this should be replaced by a common library or something, ideally -d 24 | XKBFILE_SRCS = \ 25 | maprules.c \ 26 | xkmread.c \ 27 | xkbtext.c \ 28 | xkbfmisc.c \ 29 | xkbout.c 30 | 31 | X11_SRCS = \ 32 | XKBMisc.c \ 33 | XKBAlloc.c \ 34 | XKBGAlloc.c \ 35 | XKBMAlloc.c 36 | 37 | libxkb_la_SOURCES = $(DDX_SRCS) $(DIX_SRCS) $(XKBFILE_SRCS) $(X11_SRCS) 38 | libxkbstubs_la_SOURCES = ddxVT.c ddxPrivate.c ddxKillSrv.c 39 | 40 | EXTRA_DIST = xkbDflts.h xkbgeom.h xkb.h 41 | 42 | xkbcompileddir = $(XKB_COMPILED_DIR) 43 | dist_xkbcompiled_DATA = README.compiled 44 | -------------------------------------------------------------------------------- /hw/xnest/XNFont.h: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright 1993 by Davor Matic 4 | 5 | Permission to use, copy, modify, distribute, and sell this software 6 | and its documentation for any purpose is hereby granted without fee, 7 | provided that the above copyright notice appear in all copies and that 8 | both that copyright notice and this permission notice appear in 9 | supporting documentation. Davor Matic makes no representations about 10 | the suitability of this software for any purpose. It is provided "as 11 | is" without express or implied warranty. 12 | 13 | */ 14 | 15 | #ifndef XNESTFONT_H 16 | #define XNESTFONT_H 17 | 18 | typedef struct { 19 | XFontStruct *font_struct; 20 | } xnestPrivFont; 21 | 22 | extern int xnestFontPrivateIndex; 23 | 24 | #define xnestFontPriv(pFont) \ 25 | ((xnestPrivFont *)FontGetPrivate(pFont, xnestFontPrivateIndex)) 26 | 27 | #define xnestFontStruct(pFont) (xnestFontPriv(pFont)->font_struct) 28 | 29 | #define xnestFont(pFont) (xnestFontStruct(pFont)->fid) 30 | 31 | Bool xnestRealizeFont(ScreenPtr pScreen, FontPtr pFont); 32 | Bool xnestUnrealizeFont(ScreenPtr pScreen, FontPtr pFont); 33 | 34 | #endif /* XNESTFONT_H */ 35 | -------------------------------------------------------------------------------- /fb/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES = libfb.la libwfb.la 2 | 3 | INCLUDES = \ 4 | -I$(top_srcdir)/hw/xfree86/os-support \ 5 | -I$(top_srcdir)/hw/xfree86/os-support/bus \ 6 | -I$(top_srcdir)/hw/xfree86/common 7 | AM_CFLAGS = $(DIX_CFLAGS) 8 | 9 | if XORG 10 | sdk_HEADERS = fb.h fbrop.h fboverlay.h wfbrename.h fbpict.h 11 | endif 12 | 13 | libfb_la_CFLAGS = $(AM_CFLAGS) 14 | 15 | libwfb_la_CFLAGS = $(AM_CFLAGS) -DFB_ACCESS_WRAPPER 16 | 17 | libfb_la_SOURCES = \ 18 | fb.h \ 19 | fb24_32.c \ 20 | fb24_32.h \ 21 | fballpriv.c \ 22 | fbarc.c \ 23 | fbbits.c \ 24 | fbbits.h \ 25 | fbblt.c \ 26 | fbbltone.c \ 27 | fbcopy.c \ 28 | fbfill.c \ 29 | fbfillrect.c \ 30 | fbfillsp.c \ 31 | fbgc.c \ 32 | fbgetsp.c \ 33 | fbglyph.c \ 34 | fbimage.c \ 35 | fbline.c \ 36 | fboverlay.c \ 37 | fboverlay.h \ 38 | fbpict.c \ 39 | fbpict.h \ 40 | fbpixmap.c \ 41 | fbpoint.c \ 42 | fbpush.c \ 43 | fbrop.h \ 44 | fbscreen.c \ 45 | fbseg.c \ 46 | fbsetsp.c \ 47 | fbsolid.c \ 48 | fbstipple.c \ 49 | fbtile.c \ 50 | fbtrap.c \ 51 | fbutil.c \ 52 | fbwindow.c 53 | 54 | libwfb_la_SOURCES = $(libfb_la_SOURCES) 55 | 56 | EXTRA_DIST = fbcmap.c fbcmap_mi.c 57 | -------------------------------------------------------------------------------- /hw/xfree86/i2c/tda9850.h: -------------------------------------------------------------------------------- 1 | #ifndef __TDA9850_H__ 2 | #define __TDA9850_H__ 3 | 4 | #include "xf86i2c.h" 5 | 6 | typedef struct { 7 | I2CDevRec d; 8 | 9 | int mux; 10 | int stereo; 11 | int sap; 12 | Bool mute; 13 | Bool sap_mute; 14 | } TDA9850Rec, *TDA9850Ptr; 15 | 16 | #define TDA9850_ADDR_1 0xB4 17 | 18 | #define xf86_Detect_tda9850 Detect_tda9850 19 | extern _X_EXPORT TDA9850Ptr Detect_tda9850(I2CBusPtr b, I2CSlaveAddr addr); 20 | #define xf86_tda9850_init tda9850_init 21 | extern _X_EXPORT Bool tda9850_init(TDA9850Ptr t); 22 | #define xf86_tda9850_setaudio tda9850_setaudio 23 | extern _X_EXPORT void tda9850_setaudio(TDA9850Ptr t); 24 | #define xf86_tda9850_mute tda9850_mute 25 | extern _X_EXPORT void tda9850_mute(TDA9850Ptr t, Bool mute); 26 | #define xf86_tda9850_sap_mute tda9850_sap_mute 27 | extern _X_EXPORT void tda9850_sap_mute(TDA9850Ptr t, Bool sap_mute); 28 | #define xf86_tda9850_getstatus tda9850_getstatus 29 | extern _X_EXPORT CARD16 tda9850_getstatus(TDA9850Ptr t); 30 | 31 | #define TDA9850SymbolsList \ 32 | "Detect_tda9850", \ 33 | "tda9850_init", \ 34 | "tda9850_setaudio", \ 35 | "tda9850_mute", \ 36 | "tda9850_sap_mute" 37 | 38 | #endif 39 | -------------------------------------------------------------------------------- /hw/xfree86/os-support/solaris/Makefile.am: -------------------------------------------------------------------------------- 1 | if SOLARIS_VT 2 | VTSW_SRC = sun_VTsw.c 3 | else 4 | VTSW_SRC = $(srcdir)/../shared/VTsw_noop.c 5 | endif 6 | 7 | if AGP 8 | AGP_SRC = sun_agp.c 9 | else 10 | AGP_SRC = $(srcdir)/../shared/agp_noop.c 11 | endif 12 | 13 | SOLARIS_INOUT_SRC = solaris-@SOLARIS_INOUT_ARCH@.S 14 | DISTCLEANFILES = solaris-@SOLARIS_INOUT_ARCH@.il 15 | 16 | solaris-@SOLARIS_INOUT_ARCH@.il: solaris-@SOLARIS_INOUT_ARCH@.S 17 | $(CPP) -P -DINLINE_ASM $(srcdir)/solaris-@SOLARIS_INOUT_ARCH@.S > $@ 18 | 19 | noinst_LTLIBRARIES = libsolaris.la 20 | libsolaris_la_SOURCES = sun_init.c \ 21 | sun_vid.c sun_bell.c $(AGP_SRC) sun_apm.c \ 22 | $(srcdir)/../shared/kmod_noop.c \ 23 | $(srcdir)/../shared/posix_tty.c \ 24 | $(srcdir)/../shared/sigio.c \ 25 | $(srcdir)/../shared/vidmem.c \ 26 | $(VTSW_SRC) 27 | nodist_libsolaris_la_SOURCES = $(SOLARIS_INOUT_SRC) 28 | 29 | sdk_HEADERS = 30 | nodist_sdk_HEADERS = solaris-@SOLARIS_INOUT_ARCH@.il 31 | 32 | AM_CFLAGS = -DUSESTDRES -DHAVE_SYSV_IPC $(XORG_CFLAGS) $(DIX_CFLAGS) 33 | 34 | INCLUDES = $(XORG_INCS) 35 | 36 | EXTRA_DIST = solaris-amd64.S solaris-ia32.S solaris-sparcv8plus.S \ 37 | apSolaris.shar sun_inout.s 38 | -------------------------------------------------------------------------------- /hw/xfree86/ramdac/BT.h: -------------------------------------------------------------------------------- 1 | 2 | #include "xf86RamDac.h" 3 | 4 | extern _X_EXPORT RamDacHelperRecPtr BTramdacProbe(ScrnInfoPtr pScrn, RamDacSupportedInfoRecPtr ramdacs); 5 | extern _X_EXPORT void BTramdacSave(ScrnInfoPtr pScrn, RamDacRecPtr RamDacRec, RamDacRegRecPtr RamDacRegRec); 6 | extern _X_EXPORT void BTramdacRestore(ScrnInfoPtr pScrn, RamDacRecPtr RamDacRec, RamDacRegRecPtr RamDacRegRec); 7 | extern _X_EXPORT void BTramdacSetBpp(ScrnInfoPtr pScrn, RamDacRegRecPtr RamDacRegRec); 8 | 9 | #define ATT20C504_RAMDAC (VENDOR_BT << 16) | 0x00 10 | #define ATT20C505_RAMDAC (VENDOR_BT << 16) | 0x01 11 | #define BT485_RAMDAC (VENDOR_BT << 16) | 0x02 12 | 13 | /* 14 | * BT registers 15 | */ 16 | 17 | #define BT_WRITE_ADDR 0x00 18 | #define BT_RAMDAC_DATA 0x01 19 | #define BT_PIXEL_MASK 0x02 20 | #define BT_READ_ADDR 0x03 21 | #define BT_CURS_WR_ADDR 0x04 22 | #define BT_CURS_DATA 0x05 23 | #define BT_COMMAND_REG_0 0x06 24 | #define BT_CURS_RD_ADDR 0x07 25 | #define BT_COMMAND_REG_1 0x08 26 | #define BT_COMMAND_REG_2 0x09 27 | #define BT_STATUS_REG 0x0A 28 | #define BT_CURS_RAM_DATA 0x0B 29 | #define BT_CURS_X_LOW 0x0C 30 | #define BT_CURS_X_HIGH 0x0D 31 | #define BT_CURS_Y_LOW 0x0E 32 | #define BT_CURS_Y_HIGH 0x0F 33 | -------------------------------------------------------------------------------- /hw/xquartz/bundle/mk_bundke.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # 'Cause xcodebuild is hard to deal with 4 | 5 | SRCDIR=$1 6 | BUILDDIR=$2 7 | BUNDLE_ROOT=$3 8 | 9 | localities="Dutch English French German Italian Japanese Spanish da fi ko no pl pt pt_PT ru sv zh_CN zh_TW" 10 | for lang in ${localities} ; do 11 | mkdir -p ${BUNDLE_ROOT}/Contents/Resources/${lang}.lproj/main.nib 12 | [ -d ${BUNDLE_ROOT}/Contents/Resources/${lang}.lproj/main.nib ] || exit 1 13 | 14 | for f in InfoPlist.strings Localizable.strings main.nib/keyedobjects.nib ; do 15 | install -m 644 ${SRCDIR}/Resources/${lang}.lproj/$f ${BUNDLE_ROOT}/Contents/Resources/${lang}.lproj/${f} 16 | done 17 | done 18 | 19 | install -m 644 ${SRCDIR}/Resources/English.lproj/main.nib//designable.nib ${BUNDLE_ROOT}/Contents/Resources/English.lproj/main.nib 20 | install -m 644 ${SRCDIR}/Resources/X11.icns ${BUNDLE_ROOT}/Contents/Resources 21 | 22 | install -m 644 ${BUILDDIR}/Info.plist ${BUNDLE_ROOT}/Contents 23 | install -m 644 ${SRCDIR}/PkgInfo ${BUNDLE_ROOT}/Contents 24 | 25 | mkdir -p ${BUNDLE_ROOT}/Contents/MacOS 26 | install -m 755 ${SRCDIR}/X11.sh ${BUNDLE_ROOT}/Contents/MacOS/X11 27 | 28 | if [[ $(id -u) == 0 ]] ; then 29 | chown -R root:admin ${BUNDLE_ROOT} 30 | fi 31 | -------------------------------------------------------------------------------- /hw/xfree86/common/extramodes: -------------------------------------------------------------------------------- 1 | // 2 | // Extra modes to include as default modes in the X server. 3 | // 4 | // $XFree86: xc/programs/Xserver/hw/xfree86/etc/extramodes,v 1.5 2002/06/05 19:43:05 dawes Exp $ 5 | // 6 | 7 | # 832x624 @ 75Hz (74.55Hz) (fix if the official/Apple spec is different) hsync: 49.725kHz 8 | ModeLine "832x624" 57.284 832 864 928 1152 624 625 628 667 -Hsync -Vsync 9 | 10 | # 1400x1050 @ 60Hz (VESA GTF) hsync: 65.5kHz 11 | ModeLine "1400x1050" 122.0 1400 1488 1640 1880 1050 1052 1064 1082 +hsync +vsync 12 | 13 | # 1400x1050 @ 75Hz (VESA GTF) hsync: 82.2kHz 14 | ModeLine "1400x1050" 155.8 1400 1464 1784 1912 1050 1052 1064 1090 +hsync +vsync 15 | 16 | # 1920x1440 @ 85Hz (VESA GTF) hsync: 128.5kHz 17 | Modeline "1920x1440" 341.35 1920 2072 2288 2656 1440 1441 1444 1512 -hsync +vsync 18 | 19 | # 2048x1536 @ 60Hz (VESA GTF) hsync: 95.3kHz 20 | Modeline "2048x1536" 266.95 2048 2200 2424 2800 1536 1537 1540 1589 -hsync +vsync 21 | 22 | # 2048x1536 @ 75Hz (VESA GTF) hsync: 120.2kHz 23 | Modeline "2048x1536" 340.48 2048 2216 2440 2832 1536 1537 1540 1603 -hsync +vsync 24 | 25 | # 2048x1536 @ 85Hz (VESA GTF) hsync: 137.0kHz 26 | Modeline "2048x1536" 388.04 2048 2216 2440 2832 1536 1537 1540 1612 -hsync +vsync 27 | 28 | -------------------------------------------------------------------------------- /hw/xfree86/int10/Makefile.am: -------------------------------------------------------------------------------- 1 | module_LTLIBRARIES = libint10.la 2 | 3 | sdk_HEADERS = xf86int10.h 4 | 5 | EXTRA_CFLAGS = 6 | 7 | libint10_la_LDFLAGS = -avoid-version 8 | 9 | COMMON_SOURCES = \ 10 | helper_exec.c \ 11 | helper_mem.c \ 12 | xf86int10.c \ 13 | xf86int10module.c 14 | 15 | if I386_VIDEO 16 | I386_VIDEO_CFLAGS = -D_PC 17 | endif 18 | 19 | if INT10_VM86 20 | AM_CFLAGS = $(I386_VIDEO_CFLAGS) -D_VM86_LINUX $(DIX_CFLAGS) $(XORG_CFLAGS) $(EXTRA_CFLAGS) 21 | INCLUDES = $(XORG_INCS) 22 | libint10_la_SOURCES = \ 23 | $(COMMON_SOURCES) \ 24 | $(srcdir)/../os-support/linux/int10/vm86/linux_vm86.c \ 25 | $(srcdir)/../os-support/linux/int10/linux.c 26 | endif 27 | 28 | if INT10_X86EMU 29 | AM_CFLAGS = $(I386_VIDEO_CFLAGS) -D_X86EMU -DNO_SYS_HEADERS \ 30 | $(XORG_CFLAGS) $(EXTRA_CFLAGS) $(DIX_CFLAGS) 31 | INCLUDES = $(XORG_INCS) -I$(srcdir)/../x86emu 32 | libint10_la_SOURCES = \ 33 | $(COMMON_SOURCES) \ 34 | xf86x86emu.c \ 35 | generic.c \ 36 | x86emu.c 37 | endif 38 | 39 | if INT10_STUB 40 | AM_CFLAGS = $(I386_VIDEO_CFLAGS) -D_VM86_LINUX $(DIX_CFLAGS) $(XORG_CFLAGS) $(EXTRA_CFLAGS) 41 | INCLUDES = $(XORG_INCS) 42 | libint10_la_SOURCES = stub.c xf86int10module.c 43 | endif 44 | 45 | EXTRA_DIST = xf86x86emu.h INT10.HOWTO 46 | -------------------------------------------------------------------------------- /hw/xnest/Handlers.c: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright 1993 by Davor Matic 4 | 5 | Permission to use, copy, modify, distribute, and sell this software 6 | and its documentation for any purpose is hereby granted without fee, 7 | provided that the above copyright notice appear in all copies and that 8 | both that copyright notice and this permission notice appear in 9 | supporting documentation. Davor Matic makes no representations about 10 | the suitability of this software for any purpose. It is provided "as 11 | is" without express or implied warranty. 12 | 13 | */ 14 | 15 | #ifdef HAVE_XNEST_CONFIG_H 16 | #include 17 | #endif 18 | 19 | #include 20 | #include 21 | #include "screenint.h" 22 | #include "input.h" 23 | #include "misc.h" 24 | #include "scrnintstr.h" 25 | #include "windowstr.h" 26 | #include "servermd.h" 27 | 28 | #include "Xnest.h" 29 | 30 | #include "Display.h" 31 | #include "Events.h" 32 | #include "Handlers.h" 33 | 34 | void 35 | xnestBlockHandler(pointer blockData, OSTimePtr pTimeout, pointer pReadMask) 36 | { 37 | xnestCollectExposures(); 38 | XFlush(xnestDisplay); 39 | } 40 | 41 | void 42 | xnestWakeupHandler(pointer blockData, int result, pointer pReadMask) 43 | { 44 | xnestCollectEvents(); 45 | } 46 | -------------------------------------------------------------------------------- /hw/xfree86/i2c/tda8425.h: -------------------------------------------------------------------------------- 1 | #ifndef __TDA8425_H__ 2 | #define __TDA8425_H__ 3 | 4 | #include "xf86i2c.h" 5 | 6 | typedef struct { 7 | I2CDevRec d; 8 | 9 | int mux; 10 | int stereo; 11 | int v_left; 12 | int v_right; 13 | int bass; 14 | int treble; 15 | int src_sel; 16 | Bool mute; 17 | } TDA8425Rec, *TDA8425Ptr; 18 | 19 | #define TDA8425_ADDR_1 0x82 20 | 21 | /* the third parameter is meant to force detection of tda8425. 22 | This is because tda8425 is write-only and complete implementation 23 | of I2C protocol is not always available. Besides address there is no good 24 | way to autodetect it so we have to _know_ it is there anyway */ 25 | 26 | #define xf86_Detect_tda8425 Detect_tda8425 27 | extern _X_EXPORT TDA8425Ptr Detect_tda8425(I2CBusPtr b, I2CSlaveAddr addr,Bool force); 28 | #define xf86_tda8425_init tda8425_init 29 | extern _X_EXPORT Bool tda8425_init(TDA8425Ptr t); 30 | #define xf86_tda8425_setaudio tda8425_setaudio 31 | extern _X_EXPORT void tda8425_setaudio(TDA8425Ptr t); 32 | #define xf86_tda8425_mute tda8425_mute 33 | extern _X_EXPORT void tda8425_mute(TDA8425Ptr t, Bool mute); 34 | 35 | #define TDA8425SymbolsList \ 36 | "Detect_tda8425", \ 37 | "tda8425_init", \ 38 | "tda8425_setaudio", \ 39 | "tda8425_mute" 40 | 41 | #endif 42 | -------------------------------------------------------------------------------- /hw/xnest/XNPixmap.h: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright 1993 by Davor Matic 4 | 5 | Permission to use, copy, modify, distribute, and sell this software 6 | and its documentation for any purpose is hereby granted without fee, 7 | provided that the above copyright notice appear in all copies and that 8 | both that copyright notice and this permission notice appear in 9 | supporting documentation. Davor Matic makes no representations about 10 | the suitability of this software for any purpose. It is provided "as 11 | is" without express or implied warranty. 12 | 13 | */ 14 | 15 | #ifndef XNESTPIXMAP_H 16 | #define XNESTPIXMAP_H 17 | 18 | extern DevPrivateKey xnestPixmapPrivateKey; 19 | 20 | typedef struct { 21 | Pixmap pixmap; 22 | } xnestPrivPixmap; 23 | 24 | #define xnestPixmapPriv(pPixmap) ((xnestPrivPixmap *) \ 25 | dixLookupPrivate(&(pPixmap)->devPrivates, xnestPixmapPrivateKey)) 26 | 27 | #define xnestPixmap(pPixmap) (xnestPixmapPriv(pPixmap)->pixmap) 28 | 29 | #define xnestSharePixmap(pPixmap) ((pPixmap)->refcnt++) 30 | 31 | PixmapPtr xnestCreatePixmap(ScreenPtr pScreen, int width, int height, 32 | int depth, unsigned usage_hint); 33 | Bool xnestDestroyPixmap(PixmapPtr pPixmap); 34 | RegionPtr xnestPixmapToRegion(PixmapPtr pPixmap); 35 | 36 | #endif /* XNESTPIXMAP_H */ 37 | -------------------------------------------------------------------------------- /config/10-evdev.conf: -------------------------------------------------------------------------------- 1 | # 2 | # Catch-all evdev loader for udev-based systems 3 | # We don't simply match on any device since that also adds accelerometers 4 | # and other devices that we don't really want to use. The list below 5 | # matches everything but joysticks. 6 | 7 | Section "InputClass" 8 | Identifier "evdev pointer catchall" 9 | MatchIsPointer "on" 10 | MatchDevicePath "/dev/input/event*" 11 | Driver "evdev" 12 | EndSection 13 | 14 | Section "InputClass" 15 | Identifier "evdev keyboard catchall" 16 | MatchIsKeyboard "on" 17 | MatchDevicePath "/dev/input/event*" 18 | Driver "evdev" 19 | EndSection 20 | 21 | Section "InputClass" 22 | Identifier "evdev touchpad catchall" 23 | MatchIsTouchpad "on" 24 | MatchDevicePath "/dev/input/event*" 25 | Driver "evdev" 26 | EndSection 27 | 28 | Section "InputClass" 29 | Identifier "evdev tablet catchall" 30 | MatchIsTablet "on" 31 | MatchDevicePath "/dev/input/event*" 32 | Driver "evdev" 33 | EndSection 34 | 35 | Section "InputClass" 36 | Identifier "evdev touchscreen catchall" 37 | MatchIsTouchscreen "on" 38 | MatchDevicePath "/dev/input/event*" 39 | Driver "evdev" 40 | EndSection 41 | -------------------------------------------------------------------------------- /hw/xquartz/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES = libXquartz.la 2 | AM_CFLAGS = $(DIX_CFLAGS) 3 | AM_OBJCFLAGS = $(DIX_CFLAGS) 4 | AM_CPPFLAGS = \ 5 | -DBUILD_DATE=\"$(BUILD_DATE)\" \ 6 | -DXSERVER_VERSION=\"$(VERSION)\" \ 7 | -DINXQUARTZ \ 8 | -DUSE_NEW_CLUT \ 9 | -DXFree86Server \ 10 | -I$(top_srcdir)/miext/rootless \ 11 | -DX11LIBDIR=\"$(libdir)\" 12 | 13 | if GLX 14 | GL_DIR = GL 15 | endif 16 | 17 | SUBDIRS = bundle . $(GL_DIR) xpr pbproxy mach-startup doc 18 | 19 | DIST_SUBDIRS = bundle . GL xpr pbproxy mach-startup doc 20 | 21 | libXquartz_la_SOURCES = \ 22 | $(top_srcdir)/fb/fbcmap_mi.c \ 23 | $(top_srcdir)/mi/miinitext.c \ 24 | X11Application.m \ 25 | X11Controller.m \ 26 | applewm.c \ 27 | darwin.c \ 28 | darwinEvents.c \ 29 | darwinXinput.c \ 30 | keysym2ucs.c \ 31 | pseudoramiX.c \ 32 | quartz.c \ 33 | quartzAudio.c \ 34 | quartzCocoa.m \ 35 | quartzKeyboard.c \ 36 | quartzStartup.c \ 37 | threadSafety.c 38 | 39 | EXTRA_DIST = \ 40 | X11Application.h \ 41 | X11Controller.h \ 42 | applewmExt.h \ 43 | darwin.h \ 44 | darwinfb.h \ 45 | darwinEvents.h \ 46 | keysym2ucs.h \ 47 | pseudoramiX.h \ 48 | quartz.h \ 49 | quartzAudio.h \ 50 | quartzCommon.h \ 51 | quartzKeyboard.h \ 52 | sanitizedCarbon.h \ 53 | sanitizedCocoa.h \ 54 | threadSafety.h 55 | -------------------------------------------------------------------------------- /hw/vfb/Makefile.am: -------------------------------------------------------------------------------- 1 | bin_PROGRAMS = Xvfb 2 | noinst_LIBRARIES = libfbcmap.a 3 | 4 | AM_CFLAGS = -DHAVE_DIX_CONFIG_H \ 5 | -DNO_HW_ONLY_EXTS \ 6 | -DNO_MODULE_EXTS \ 7 | $(XVFBMODULES_CFLAGS) \ 8 | $(DIX_CFLAGS) 9 | 10 | SRCS = InitInput.c \ 11 | InitOutput.c \ 12 | lk201kbd.h \ 13 | $(top_srcdir)/Xext/dpmsstubs.c \ 14 | $(top_srcdir)/Xi/stubs.c \ 15 | $(top_srcdir)/mi/miinitext.c 16 | 17 | libfbcmap_a_CFLAGS = $(AM_CFLAGS) 18 | libfbcmap_a_SOURCES = $(top_srcdir)/fb/fbcmap_mi.c 19 | 20 | Xvfb_SOURCES = $(SRCS) 21 | 22 | XVFB_LIBS = \ 23 | @XVFB_LIBS@ \ 24 | libfbcmap.a \ 25 | $(MAIN_LIB) \ 26 | $(XSERVER_LIBS) 27 | 28 | Xvfb_LDADD = $(XVFB_LIBS) $(XVFB_SYS_LIBS) $(XSERVER_SYS_LIBS) 29 | Xvfb_DEPENDENCIES = $(XVFB_LIBS) 30 | Xvfb_LDFLAGS = $(LD_EXPORT_SYMBOLS_FLAG) 31 | 32 | # Man page 33 | include $(top_srcdir)/cpprules.in 34 | 35 | appmandir = $(APP_MAN_DIR) 36 | 37 | appman_PRE = Xvfb.man 38 | appman_DATA = $(appman_PRE:man=@APP_MAN_SUFFIX@) 39 | 40 | BUILT_SOURCES = $(appman_PRE) 41 | CLEANFILES = $(appman_PRE) $(appman_DATA) 42 | 43 | SUFFIXES += .$(APP_MAN_SUFFIX) .man 44 | 45 | .man.$(APP_MAN_SUFFIX): 46 | -$(AM_V_at)rm -f $@ 47 | $(AM_V_at)$(LN_S) $< $@ 48 | 49 | EXTRA_DIST = Xvfb.man.pre 50 | 51 | relink: 52 | $(AM_V_at)rm -f Xvfb$(EXEEXT) && $(MAKE) Xvfb$(EXEEXT) 53 | -------------------------------------------------------------------------------- /README: -------------------------------------------------------------------------------- 1 | X Server 2 | 3 | The X server accepts requests from client applications to create windows, 4 | which are (normally rectangular) "virtual screens" that the client program 5 | can draw into. 6 | 7 | Windows are then composed on the actual screen by the X server 8 | (or by a separate composite manager) as directed by the window manager, 9 | which usually communicates with the user via graphical controls such as buttons 10 | and draggable titlebars and borders. 11 | 12 | For a comprehensive overview of X Server and X Window System, consult the 13 | following article: 14 | http://en.wikipedia.org/wiki/X_server 15 | 16 | All questions regarding this software should be directed at the 17 | Xorg mailing list: 18 | 19 | http://lists.freedesktop.org/mailman/listinfo/xorg 20 | 21 | Please submit bug reports to the Xorg bugzilla: 22 | 23 | https://bugs.freedesktop.org/enter_bug.cgi?product=xorg 24 | 25 | The master development code repository can be found at: 26 | 27 | git://anongit.freedesktop.org/git/xorg/xserver 28 | 29 | http://cgit.freedesktop.org/xorg/xserver 30 | 31 | For patch submission instructions, see: 32 | 33 | http://www.x.org/wiki/Development/Documentation/SubmittingPatches 34 | 35 | For more information on the git code manager, see: 36 | 37 | http://wiki.x.org/wiki/GitPage 38 | 39 | -------------------------------------------------------------------------------- /include/Makefile.am: -------------------------------------------------------------------------------- 1 | if XORG 2 | sdk_HEADERS = \ 3 | XIstubs.h \ 4 | bstore.h \ 5 | bstorestr.h \ 6 | callback.h \ 7 | closestr.h \ 8 | closure.h \ 9 | colormap.h \ 10 | colormapst.h \ 11 | hotplug.h \ 12 | cursor.h \ 13 | cursorstr.h \ 14 | dix.h \ 15 | dixaccess.h \ 16 | dixevents.h \ 17 | dixfont.h \ 18 | dixfontstr.h \ 19 | dixgrabs.h \ 20 | dixstruct.h \ 21 | events.h \ 22 | exevents.h \ 23 | extension.h \ 24 | extinit.h \ 25 | extnsionst.h \ 26 | gc.h \ 27 | gcstruct.h \ 28 | globals.h \ 29 | input.h \ 30 | inputstr.h \ 31 | list.h \ 32 | misc.h \ 33 | miscstruct.h \ 34 | opaque.h \ 35 | os.h \ 36 | pixmap.h \ 37 | pixmapstr.h \ 38 | privates.h \ 39 | property.h \ 40 | propertyst.h \ 41 | ptrveloc.h \ 42 | region.h \ 43 | regionstr.h \ 44 | registry.h \ 45 | resource.h \ 46 | rgb.h \ 47 | screenint.h \ 48 | scrnintstr.h \ 49 | selection.h \ 50 | servermd.h \ 51 | site.h \ 52 | swaprep.h \ 53 | swapreq.h \ 54 | validate.h \ 55 | window.h \ 56 | windowstr.h \ 57 | xkbfile.h \ 58 | xkbsrv.h \ 59 | xkbstr.h \ 60 | xkbrules.h \ 61 | xserver-properties.h 62 | 63 | nodist_sdk_HEADERS = xorg-server.h 64 | endif 65 | 66 | AM_CFLAGS = $(DIX_CFLAGS) 67 | 68 | EXTRA_DIST = \ 69 | dix-config-apple-verbatim.h \ 70 | eventconvert.h eventstr.h \ 71 | protocol-versions.h \ 72 | xsha1.h 73 | -------------------------------------------------------------------------------- /hw/xfree86/int10/stub.c: -------------------------------------------------------------------------------- 1 | /* 2 | * XFree86 int10 module 3 | * execute BIOS int 10h calls in x86 real mode environment 4 | * Copyright 1999 Egbert Eich 5 | */ 6 | #ifdef HAVE_XORG_CONFIG_H 7 | #include 8 | #endif 9 | 10 | #include "xf86.h" 11 | #include "xf86str.h" 12 | #include "xf86_OSproc.h" 13 | #define _INT10_PRIVATE 14 | #include "xf86int10.h" 15 | 16 | xf86Int10InfoPtr 17 | xf86InitInt10(int entityIndex) 18 | { 19 | return xf86ExtendedInitInt10(entityIndex, 0); 20 | } 21 | 22 | xf86Int10InfoPtr 23 | xf86ExtendedInitInt10(int entityIndex, int Flags) 24 | { 25 | return NULL; 26 | } 27 | 28 | Bool 29 | MapCurrentInt10(xf86Int10InfoPtr pInt) 30 | { 31 | return FALSE; 32 | } 33 | 34 | void 35 | xf86FreeInt10(xf86Int10InfoPtr pInt) 36 | { 37 | return; 38 | } 39 | 40 | void * 41 | xf86Int10AllocPages(xf86Int10InfoPtr pInt,int num, int *off) 42 | { 43 | *off = 0; 44 | return NULL; 45 | } 46 | 47 | void 48 | xf86Int10FreePages(xf86Int10InfoPtr pInt, void *pbase, int num) 49 | { 50 | return; 51 | } 52 | 53 | Bool 54 | xf86Int10ExecSetup(xf86Int10InfoPtr pInt) 55 | { 56 | return FALSE; 57 | } 58 | 59 | void 60 | xf86ExecX86int10(xf86Int10InfoPtr pInt) 61 | { 62 | return; 63 | } 64 | 65 | pointer 66 | xf86int10Addr(xf86Int10InfoPtr pInt, CARD32 addr) 67 | { 68 | return 0; 69 | } 70 | -------------------------------------------------------------------------------- /hw/xquartz/xpr/driWrap.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2009 Apple Computer, Inc. 3 | All Rights Reserved. 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a 6 | copy of this software and associated documentation files (the 7 | "Software"), to deal in the Software without restriction, including 8 | without limitation the rights to use, copy, modify, merge, publish, 9 | distribute, sub license, and/or sell copies of the Software, and to 10 | permit persons to whom the Software is furnished to do so, subject to 11 | the following conditions: 12 | 13 | The above copyright notice and this permission notice (including the 14 | next paragraph) shall be included in all copies or substantial portions 15 | of the Software. 16 | 17 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 18 | OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 19 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. 20 | IN NO EVENT SHALL PRECISION INSIGHT AND/OR ITS SUPPLIERS BE LIABLE FOR 21 | ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 22 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 23 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 24 | */ 25 | 26 | #ifndef DRIWRAP_H 27 | #include "scrnintstr.h" 28 | 29 | Bool DRIWrapInit(ScreenPtr pScreen); 30 | 31 | #endif /*DRIWRAP_H*/ 32 | -------------------------------------------------------------------------------- /hw/xquartz/GL/visualConfigs.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2008 Apple Inc. 3 | * 4 | * Permission is hereby granted, free of charge, to any person obtaining a 5 | * copy of this software and associated documentation files (the "Software"), 6 | * to deal in the Software without restriction, including without limitation 7 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | * and/or sell copies of the Software, and to permit persons to whom the 9 | * Software is furnished to do so, subject to the following conditions: 10 | * 11 | * The above copyright notice and this permission notice shall be included in 12 | * all copies or substantial portions of the Software. 13 | * 14 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 | * THE ABOVE LISTED COPYRIGHT HOLDER(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR 18 | * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 19 | * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 | * DEALINGS IN THE SOFTWARE. 21 | */ 22 | 23 | #ifndef VISUAL_CONFIGS_H 24 | #define VISUAL_CONFIGS_H 25 | 26 | __GLXconfig *__glXAquaCreateVisualConfigs(int *numConfigsPtr, int screenNumber); 27 | 28 | #endif 29 | -------------------------------------------------------------------------------- /mi/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES = libmi.la 2 | 3 | if XORG 4 | sdk_HEADERS = micmap.h miline.h mipointer.h mi.h mibstore.h \ 5 | migc.h mipointrst.h mizerarc.h micoord.h mifillarc.h \ 6 | mispans.h miwideline.h mistruct.h mifpoly.h mioverlay.h 7 | endif 8 | 9 | AM_CFLAGS = $(DIX_CFLAGS) 10 | 11 | libmi_la_SOURCES = \ 12 | mi.h \ 13 | miarc.c \ 14 | mibitblt.c \ 15 | mibstore.c \ 16 | mibstore.h \ 17 | mibstorest.h \ 18 | micmap.c \ 19 | micmap.h \ 20 | micoord.h \ 21 | micopy.c \ 22 | micursor.c \ 23 | midash.c \ 24 | midispcur.c \ 25 | mieq.c \ 26 | miexpose.c \ 27 | mifillarc.c \ 28 | mifillarc.h \ 29 | mifillrct.c \ 30 | mifpolycon.c \ 31 | mifpoly.h \ 32 | migc.c \ 33 | migc.h \ 34 | miglblt.c \ 35 | miline.h \ 36 | mioverlay.c \ 37 | mioverlay.h \ 38 | mipointer.c \ 39 | mipointer.h \ 40 | mipointrst.h \ 41 | mipoly.c \ 42 | mipoly.h \ 43 | mipolycon.c \ 44 | mipolygen.c \ 45 | mipolypnt.c \ 46 | mipolyrect.c \ 47 | mipolyseg.c \ 48 | mipolytext.c \ 49 | mipolyutil.c \ 50 | mipushpxl.c \ 51 | miregion.c \ 52 | miscanfill.h \ 53 | miscrinit.c \ 54 | mispans.c \ 55 | mispans.h \ 56 | misprite.c \ 57 | misprite.h \ 58 | mistruct.h \ 59 | mivaltree.c \ 60 | mivalidate.h \ 61 | miwideline.c \ 62 | miwideline.h \ 63 | miwindow.c \ 64 | mizerarc.c \ 65 | mizerarc.h \ 66 | mizerclip.c \ 67 | mizerline.c 68 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # 2 | # X.Org module default exclusion patterns 3 | # The next section if for module specific patterns 4 | # 5 | # Do not edit the following section 6 | # GNU Build System (Autotools) 7 | aclocal.m4 8 | autom4te.cache/ 9 | autoscan.log 10 | ChangeLog 11 | compile 12 | config.guess 13 | config.h 14 | config.h.in 15 | config.log 16 | config-ml.in 17 | config.py 18 | config.status 19 | config.status.lineno 20 | config.sub 21 | configure 22 | configure.scan 23 | depcomp 24 | .deps/ 25 | INSTALL 26 | install-sh 27 | .libs/ 28 | libtool 29 | libtool.m4 30 | ltmain.sh 31 | lt~obsolete.m4 32 | ltoptions.m4 33 | ltsugar.m4 34 | ltversion.m4 35 | Makefile 36 | Makefile.in 37 | mdate-sh 38 | missing 39 | mkinstalldirs 40 | *.pc 41 | py-compile 42 | stamp-h? 43 | symlink-tree 44 | texinfo.tex 45 | ylwrap 46 | 47 | # Do not edit the following section 48 | # Edit Compile Debug Document Distribute 49 | *~ 50 | *.[0-9] 51 | *.[0-9]x 52 | *.bak 53 | *.bin 54 | core 55 | *.dll 56 | *.exe 57 | *-ISO*.bdf 58 | *-JIS*.bdf 59 | *-KOI8*.bdf 60 | *.kld 61 | *.ko 62 | *.ko.cmd 63 | *.lai 64 | *.l[oa] 65 | *.[oa] 66 | *.obj 67 | *.patch 68 | *.so 69 | *.pcf.gz 70 | *.pdb 71 | *.tar.bz2 72 | *.tar.gz 73 | # 74 | # Add & Override patterns for xserver 75 | # 76 | # Edit the following section as needed 77 | # For example, !report.pc overrides *.pc. See 'man gitignore' 78 | # 79 | doltcompile 80 | doltlibtool 81 | -------------------------------------------------------------------------------- /hw/xfree86/i2c/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES = libi2c.la 2 | 3 | multimediadir = $(moduledir)/multimedia 4 | multimedia_LTLIBRARIES = \ 5 | bt829_drv.la \ 6 | fi1236_drv.la \ 7 | msp3430_drv.la \ 8 | tda8425_drv.la \ 9 | tda9850_drv.la \ 10 | tda9885_drv.la \ 11 | uda1380_drv.la 12 | 13 | libi2c_la_SOURCES = xf86i2c.c 14 | 15 | INCLUDES = $(XORG_INCS) 16 | 17 | AM_CFLAGS = $(DIX_CFLAGS) $(XORG_CFLAGS) 18 | 19 | sdk_HEADERS = xf86i2c.h bt829.h fi1236.h msp3430.h tda8425.h tda9850.h tda9885.h uda1380.h i2c_def.h 20 | 21 | # 22 | # i2c drivers 23 | # 24 | bt829_drv_la_LDFLAGS = -module -avoid-version 25 | bt829_drv_la_SOURCES = bt829.c bt829.h bt829_module.c 26 | 27 | fi1236_drv_la_LDFLAGS = -module -avoid-version 28 | fi1236_drv_la_SOURCES = fi1236.c fi1236.h fi1236_module.c 29 | 30 | msp3430_drv_la_LDFLAGS = -module -avoid-version 31 | msp3430_drv_la_SOURCES = msp3430.c msp3430.h msp3430_module.c 32 | 33 | tda8425_drv_la_LDFLAGS = -module -avoid-version 34 | tda8425_drv_la_SOURCES = tda8425.c tda8425.h tda8425_module.c 35 | 36 | tda9850_drv_la_LDFLAGS = -module -avoid-version 37 | tda9850_drv_la_SOURCES = tda9850.c tda9850.h tda9850_module.c 38 | 39 | tda9885_drv_la_LDFLAGS = -module -avoid-version 40 | tda9885_drv_la_SOURCES = tda9885.c tda9885.h tda9885_module.c 41 | 42 | uda1380_drv_la_LDFLAGS = -module -avoid-version 43 | uda1380_drv_la_SOURCES = uda1380.c uda1380.h uda1380_module.c 44 | -------------------------------------------------------------------------------- /hw/xfree86/shadowfb/shadowfb.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _SHADOWFB_H 3 | #define _SHADOWFB_H 4 | 5 | #include "xf86str.h" 6 | 7 | /* 8 | * User defined callback function. Passed a pointer to the ScrnInfo struct, 9 | * the number of dirty rectangles, and a pointer to the first dirty rectangle 10 | * in the array. 11 | */ 12 | typedef void (*RefreshAreaFuncPtr)(ScrnInfoPtr, int, BoxPtr); 13 | 14 | /* 15 | * ShadowFBInit initializes the shadowfb subsystem. refreshArea is a pointer 16 | * to a user supplied callback function. This function will be called after 17 | * any operation that modifies the framebuffer. The newly dirtied rectangles 18 | * are passed to the callback. 19 | * 20 | * Returns FALSE in the event of an error. 21 | */ 22 | extern _X_EXPORT Bool 23 | ShadowFBInit ( 24 | ScreenPtr pScreen, 25 | RefreshAreaFuncPtr refreshArea 26 | ); 27 | 28 | /* 29 | * ShadowFBInit2 is a more featureful refinement of the original shadowfb. 30 | * ShadowFBInit2 allows you to specify two callbacks, one to be called 31 | * immediately before an operation that modifies the framebuffer, and another 32 | * to be called immediately after. 33 | * 34 | * Returns FALSE in the event of an error 35 | */ 36 | extern _X_EXPORT Bool 37 | ShadowFBInit2 ( 38 | ScreenPtr pScreen, 39 | RefreshAreaFuncPtr preRefreshArea, 40 | RefreshAreaFuncPtr postRefreshArea 41 | ); 42 | 43 | #endif /* _SHADOWFB_H */ 44 | -------------------------------------------------------------------------------- /hw/xwin/xlaunch/COPYING: -------------------------------------------------------------------------------- 1 | 2 | Copyright (c) 2005 Alexander Gottwald 3 | 4 | Permission is hereby granted, free of charge, to any person obtaining a 5 | copy of this software and associated documentation files (the "Software"), 6 | to deal in the Software without restriction, including without limitation 7 | the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | and/or sell copies of the Software, and to permit persons to whom the 9 | Software is furnished to do so, subject to the following conditions: 10 | 11 | The above copyright notice and this permission notice shall be included in 12 | all copies or substantial portions of the Software. 13 | 14 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 | THE ABOVE LISTED COPYRIGHT HOLDER(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR 18 | OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 19 | ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 | DEALINGS IN THE SOFTWARE. 21 | 22 | Except as contained in this notice, the name(s) of the above copyright 23 | holders shall not be used in advertising or otherwise to promote the sale, 24 | use or other dealings in this Software without prior written authorization. 25 | 26 | -------------------------------------------------------------------------------- /dix/buildatoms: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | hfile=../../../include/Xatom.h 3 | cfile=initatoms.c 4 | rm -f $hfile $cfile 5 | umask 222 6 | awk ' 7 | BEGIN { 8 | hfile = "'$hfile'"; 9 | cfile = "'$cfile'"; 10 | hformat = "#define XA_%s ((Atom) %d)\n"; 11 | printf("#ifndef XATOM_H\n") > hfile; 12 | printf("#define XATOM_H 1\n\n") > hfile; 13 | printf("/* THIS IS A GENERATED FILE\n") > hfile; 14 | printf(" *\n") > hfile; 15 | printf(" * Do not change! Changing this file implies a protocol change!\n") > hfile; 16 | printf(" */\n\n") > hfile; 17 | 18 | printf("/* THIS IS A GENERATED FILE\n") > cfile; 19 | printf(" *\n") > cfile; 20 | printf(" * Do not change! Changing this file implies a protocol change!\n") > cfile; 21 | printf(" */\n\n") > cfile; 22 | printf("#include \"X.h\"\n") > cfile; 23 | printf("#include \"Xatom.h\"\n") > cfile; 24 | printf("#include \"misc.h\"\n") > cfile; 25 | printf("#include \"dix.h\"\n") > cfile; 26 | printf("void MakePredeclaredAtoms()\n") > cfile; 27 | printf("{\n") > cfile; 28 | 29 | } 30 | 31 | NF == 2 && $2 == "@" { 32 | printf(hformat, $1, ++atomno) > hfile ; 33 | printf(" if (MakeAtom(\"%s\", %d, 1) != XA_%s) AtomError();\n", $1, length($1), $1) > cfile ; 34 | } 35 | 36 | END { 37 | printf("\n") > hfile; 38 | printf(hformat, "LAST_PREDEFINED", atomno) > hfile ; 39 | printf("#endif /* XATOM_H */\n") > hfile; 40 | printf("}\n") > cfile ; 41 | } 42 | ' BuiltInAtoms 43 | exit 0 44 | -------------------------------------------------------------------------------- /hw/xfree86/doc/README.rapidaccess: -------------------------------------------------------------------------------- 1 | The IBM Rapid Access keyboard have some extra buttons 2 | on it to launch programs, control a cd-player and so on. 3 | 4 | These buttons is not functional when the computer is turned 5 | on but have to be activated by sending the codes 0xea 0x71 6 | to it. 7 | 8 | I've written the following hack to send codes to the keyboard: 9 | 10 | -------------------------------------------------------------- 11 | /* gcc -O2 -s -Wall -osend_to_keyboard send_to_keyboard.c */ 12 | #include 13 | #include 14 | #include 15 | 16 | int main( int argc, char *argv[] ) 17 | { 18 | int i; 19 | 20 | ioperm( 0x60, 3, 1 ); 21 | 22 | for( i = 1; i < argc; i++ ) { 23 | int x = strtol( argv[i], 0, 16 ); 24 | 25 | usleep( 300 ); 26 | outb( x, 0x60 ); 27 | } 28 | 29 | return 0; 30 | } 31 | -------------------------------------------------------------- 32 | 33 | As root you can then call this program (in your boot scripts) 34 | as "send_to_keyboard ea 71" to turn on the extra buttons. 35 | 36 | It's not a good idea to run several instances of this program 37 | at the same time. It is a hack but it works. If you try to 38 | send other codes to the keyboard it probably will lock up. 39 | For other codes see: 40 | 41 | http://www.win.tue.nl/~aeb/linux/kbd/scancodes-2.html#ss2.22 42 | 43 | -- 44 | Dennis Björklund 45 | 46 | 47 | 48 | $XFree86$ 49 | -------------------------------------------------------------------------------- /miext/shadow/shrot16pack.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright © 2000 Keith Packard 3 | * 4 | * Permission to use, copy, modify, distribute, and sell this software and its 5 | * documentation for any purpose is hereby granted without fee, provided that 6 | * the above copyright notice appear in all copies and that both that 7 | * copyright notice and this permission notice appear in supporting 8 | * documentation, and that the name of Keith Packard not be used in 9 | * advertising or publicity pertaining to distribution of the software without 10 | * specific, written prior permission. Keith Packard makes no 11 | * representations about the suitability of this software for any purpose. It 12 | * is provided "as is" without express or implied warranty. 13 | * 14 | * KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 15 | * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO 16 | * EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR 17 | * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, 18 | * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 19 | * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 20 | * PERFORMANCE OF THIS SOFTWARE. 21 | */ 22 | 23 | #define FUNC shadowUpdateRotate16 24 | #define Data CARD16 25 | 26 | #ifdef HAVE_DIX_CONFIG_H 27 | #include 28 | #endif 29 | 30 | #include "shrotpack.h" 31 | -------------------------------------------------------------------------------- /miext/shadow/shrot32pack.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright © 2000 Keith Packard 3 | * 4 | * Permission to use, copy, modify, distribute, and sell this software and its 5 | * documentation for any purpose is hereby granted without fee, provided that 6 | * the above copyright notice appear in all copies and that both that 7 | * copyright notice and this permission notice appear in supporting 8 | * documentation, and that the name of Keith Packard not be used in 9 | * advertising or publicity pertaining to distribution of the software without 10 | * specific, written prior permission. Keith Packard makes no 11 | * representations about the suitability of this software for any purpose. It 12 | * is provided "as is" without express or implied warranty. 13 | * 14 | * KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 15 | * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO 16 | * EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR 17 | * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, 18 | * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 19 | * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 20 | * PERFORMANCE OF THIS SOFTWARE. 21 | */ 22 | 23 | #define FUNC shadowUpdateRotate32 24 | #define Data CARD32 25 | 26 | #ifdef HAVE_DIX_CONFIG_H 27 | #include 28 | #endif 29 | 30 | #include "shrotpack.h" 31 | -------------------------------------------------------------------------------- /miext/shadow/shrot8pack.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright © 2000 Keith Packard 3 | * 4 | * Permission to use, copy, modify, distribute, and sell this software and its 5 | * documentation for any purpose is hereby granted without fee, provided that 6 | * the above copyright notice appear in all copies and that both that 7 | * copyright notice and this permission notice appear in supporting 8 | * documentation, and that the name of Keith Packard not be used in 9 | * advertising or publicity pertaining to distribution of the software without 10 | * specific, written prior permission. Keith Packard makes no 11 | * representations about the suitability of this software for any purpose. It 12 | * is provided "as is" without express or implied warranty. 13 | * 14 | * KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 15 | * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO 16 | * EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR 17 | * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, 18 | * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 19 | * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 20 | * PERFORMANCE OF THIS SOFTWARE. 21 | */ 22 | 23 | #define FUNC shadowUpdateRotate8 24 | #define Data CARD8 25 | 26 | #ifdef HAVE_DIX_CONFIG_H 27 | #include 28 | #endif 29 | 30 | #include "shrotpack.h" 31 | -------------------------------------------------------------------------------- /hw/xnest/Args.h: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright 1993 by Davor Matic 4 | 5 | Permission to use, copy, modify, distribute, and sell this software 6 | and its documentation for any purpose is hereby granted without fee, 7 | provided that the above copyright notice appear in all copies and that 8 | both that copyright notice and this permission notice appear in 9 | supporting documentation. Davor Matic makes no representations about 10 | the suitability of this software for any purpose. It is provided "as 11 | is" without express or implied warranty. 12 | 13 | */ 14 | 15 | #ifndef XNESTARGC_H 16 | #define XNESTARGS_H 17 | 18 | extern char *xnestDisplayName; 19 | extern Bool xnestSynchronize; 20 | extern Bool xnestFullGeneration; 21 | extern int xnestDefaultClass; 22 | extern Bool xnestUserDefaultClass; 23 | extern int xnestDefaultDepth; 24 | extern Bool xnestUserDefaultDepth; 25 | extern Bool xnestSoftwareScreenSaver; 26 | extern int xnestX; 27 | extern int xnestY; 28 | extern unsigned int xnestWidth; 29 | extern unsigned int xnestHeight; 30 | extern int xnestUserGeometry; 31 | extern int xnestBorderWidth; 32 | extern Bool xnestUserBorderWidth; 33 | extern char *xnestWindowName; 34 | extern int xnestNumScreens; 35 | extern Bool xnestDoDirectColormaps; 36 | extern Window xnestParentWindow; 37 | 38 | #endif /* XNESTARGS_H */ 39 | -------------------------------------------------------------------------------- /hw/xfree86/utils/cvt/cvt.man.pre: -------------------------------------------------------------------------------- 1 | .\" $XFree86$ 2 | .TH CVT 1 __vendorversion__ 3 | .SH NAME 4 | cvt - calculate VESA CVT mode lines 5 | .SH SYNOPSIS 6 | .B cvt 7 | .RB [ \-v | \-\-verbose ] 8 | .RB [ \-r | \-\-reduced ] 9 | .I h-resolution 10 | .I v-resolution 11 | .RB [ refresh ] 12 | .SH DESCRIPTION 13 | .I Cvt 14 | is a utility for calculating VESA Coordinated Video Timing modes. Given the 15 | desired horizontal and vertical resolutions, a modeline adhering to the CVT 16 | standard is printed. This modeline can be included in __xservername__ 17 | .B __xconfigfile__(__filemansuffix__) 18 | . 19 | 20 | .SH OPTIONS 21 | .TP 8 22 | .BR refresh 23 | Provide a vertical refresh rate in kHz. The CVT standard prefers either 50.0, 24 | 60.0, 75.0 or 85.0kHz. The default is 60.0kHz. 25 | .TP 8 26 | .BR \-v | \-\-verbose 27 | Warn verbosely when a given mode does not completely correspond with CVT 28 | standards. 29 | .TP 8 30 | .BR \-r | \-\-reduced 31 | Create a mode with reduced blanking. This allows for higher frequency signals, 32 | with a lower or equal dotclock. Not for Cathode Ray Tube based displays though. 33 | 34 | .SH "SEE ALSO" 35 | __xconfigfile__(__filemansuffix__) 36 | .SH AUTHOR 37 | Luc Verhaegen. 38 | .PP 39 | This program is based on the Coordinated Video Timing sample 40 | implementation written by Graham Loveridge. This file is publicly 41 | available at . CVT is a 42 | VESA trademark. 43 | -------------------------------------------------------------------------------- /miext/shadow/shrot8pack_90.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright © 2000 Keith Packard 3 | * 4 | * Permission to use, copy, modify, distribute, and sell this software and its 5 | * documentation for any purpose is hereby granted without fee, provided that 6 | * the above copyright notice appear in all copies and that both that 7 | * copyright notice and this permission notice appear in supporting 8 | * documentation, and that the name of Keith Packard not be used in 9 | * advertising or publicity pertaining to distribution of the software without 10 | * specific, written prior permission. Keith Packard makes no 11 | * representations about the suitability of this software for any purpose. It 12 | * is provided "as is" without express or implied warranty. 13 | * 14 | * KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 15 | * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO 16 | * EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR 17 | * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, 18 | * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 19 | * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 20 | * PERFORMANCE OF THIS SOFTWARE. 21 | */ 22 | 23 | #define FUNC shadowUpdateRotate8_90 24 | #define Data CARD8 25 | #define ROTATE 90 26 | 27 | #ifdef HAVE_DIX_CONFIG_H 28 | #include 29 | #endif 30 | 31 | #include "shrotpack.h" 32 | -------------------------------------------------------------------------------- /miext/shadow/shrot16pack_90.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright © 2000 Keith Packard 3 | * 4 | * Permission to use, copy, modify, distribute, and sell this software and its 5 | * documentation for any purpose is hereby granted without fee, provided that 6 | * the above copyright notice appear in all copies and that both that 7 | * copyright notice and this permission notice appear in supporting 8 | * documentation, and that the name of Keith Packard not be used in 9 | * advertising or publicity pertaining to distribution of the software without 10 | * specific, written prior permission. Keith Packard makes no 11 | * representations about the suitability of this software for any purpose. It 12 | * is provided "as is" without express or implied warranty. 13 | * 14 | * KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 15 | * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO 16 | * EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR 17 | * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, 18 | * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 19 | * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 20 | * PERFORMANCE OF THIS SOFTWARE. 21 | */ 22 | 23 | #define FUNC shadowUpdateRotate16_90 24 | #define Data CARD16 25 | #define ROTATE 90 26 | 27 | #ifdef HAVE_DIX_CONFIG_H 28 | #include 29 | #endif 30 | 31 | #include "shrotpack.h" 32 | -------------------------------------------------------------------------------- /miext/shadow/shrot32pack_90.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright © 2000 Keith Packard 3 | * 4 | * Permission to use, copy, modify, distribute, and sell this software and its 5 | * documentation for any purpose is hereby granted without fee, provided that 6 | * the above copyright notice appear in all copies and that both that 7 | * copyright notice and this permission notice appear in supporting 8 | * documentation, and that the name of Keith Packard not be used in 9 | * advertising or publicity pertaining to distribution of the software without 10 | * specific, written prior permission. Keith Packard makes no 11 | * representations about the suitability of this software for any purpose. It 12 | * is provided "as is" without express or implied warranty. 13 | * 14 | * KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 15 | * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO 16 | * EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR 17 | * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, 18 | * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 19 | * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 20 | * PERFORMANCE OF THIS SOFTWARE. 21 | */ 22 | 23 | #define FUNC shadowUpdateRotate32_90 24 | #define Data CARD32 25 | #define ROTATE 90 26 | 27 | #ifdef HAVE_DIX_CONFIG_H 28 | #include 29 | #endif 30 | 31 | #include "shrotpack.h" 32 | -------------------------------------------------------------------------------- /miext/shadow/shrot8pack_180.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright © 2000 Keith Packard 3 | * 4 | * Permission to use, copy, modify, distribute, and sell this software and its 5 | * documentation for any purpose is hereby granted without fee, provided that 6 | * the above copyright notice appear in all copies and that both that 7 | * copyright notice and this permission notice appear in supporting 8 | * documentation, and that the name of Keith Packard not be used in 9 | * advertising or publicity pertaining to distribution of the software without 10 | * specific, written prior permission. Keith Packard makes no 11 | * representations about the suitability of this software for any purpose. It 12 | * is provided "as is" without express or implied warranty. 13 | * 14 | * KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 15 | * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO 16 | * EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR 17 | * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, 18 | * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 19 | * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 20 | * PERFORMANCE OF THIS SOFTWARE. 21 | */ 22 | 23 | #define FUNC shadowUpdateRotate8_180 24 | #define Data CARD8 25 | #define ROTATE 180 26 | 27 | #ifdef HAVE_DIX_CONFIG_H 28 | #include 29 | #endif 30 | 31 | #include "shrotpack.h" 32 | -------------------------------------------------------------------------------- /miext/shadow/shrot8pack_270.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright © 2000 Keith Packard 3 | * 4 | * Permission to use, copy, modify, distribute, and sell this software and its 5 | * documentation for any purpose is hereby granted without fee, provided that 6 | * the above copyright notice appear in all copies and that both that 7 | * copyright notice and this permission notice appear in supporting 8 | * documentation, and that the name of Keith Packard not be used in 9 | * advertising or publicity pertaining to distribution of the software without 10 | * specific, written prior permission. Keith Packard makes no 11 | * representations about the suitability of this software for any purpose. It 12 | * is provided "as is" without express or implied warranty. 13 | * 14 | * KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 15 | * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO 16 | * EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR 17 | * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, 18 | * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 19 | * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 20 | * PERFORMANCE OF THIS SOFTWARE. 21 | */ 22 | 23 | #define FUNC shadowUpdateRotate8_270 24 | #define Data CARD8 25 | #define ROTATE 270 26 | 27 | #ifdef HAVE_DIX_CONFIG_H 28 | #include 29 | #endif 30 | 31 | #include "shrotpack.h" 32 | -------------------------------------------------------------------------------- /miext/shadow/shrot16pack_180.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright © 2000 Keith Packard 3 | * 4 | * Permission to use, copy, modify, distribute, and sell this software and its 5 | * documentation for any purpose is hereby granted without fee, provided that 6 | * the above copyright notice appear in all copies and that both that 7 | * copyright notice and this permission notice appear in supporting 8 | * documentation, and that the name of Keith Packard not be used in 9 | * advertising or publicity pertaining to distribution of the software without 10 | * specific, written prior permission. Keith Packard makes no 11 | * representations about the suitability of this software for any purpose. It 12 | * is provided "as is" without express or implied warranty. 13 | * 14 | * KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 15 | * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO 16 | * EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR 17 | * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, 18 | * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 19 | * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 20 | * PERFORMANCE OF THIS SOFTWARE. 21 | */ 22 | 23 | #define FUNC shadowUpdateRotate16_180 24 | #define Data CARD16 25 | #define ROTATE 180 26 | 27 | #ifdef HAVE_DIX_CONFIG_H 28 | #include 29 | #endif 30 | 31 | #include "shrotpack.h" 32 | -------------------------------------------------------------------------------- /miext/shadow/shrot16pack_270.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright © 2000 Keith Packard 3 | * 4 | * Permission to use, copy, modify, distribute, and sell this software and its 5 | * documentation for any purpose is hereby granted without fee, provided that 6 | * the above copyright notice appear in all copies and that both that 7 | * copyright notice and this permission notice appear in supporting 8 | * documentation, and that the name of Keith Packard not be used in 9 | * advertising or publicity pertaining to distribution of the software without 10 | * specific, written prior permission. Keith Packard makes no 11 | * representations about the suitability of this software for any purpose. It 12 | * is provided "as is" without express or implied warranty. 13 | * 14 | * KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 15 | * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO 16 | * EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR 17 | * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, 18 | * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 19 | * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 20 | * PERFORMANCE OF THIS SOFTWARE. 21 | */ 22 | 23 | #define FUNC shadowUpdateRotate16_270 24 | #define Data CARD16 25 | #define ROTATE 270 26 | 27 | #ifdef HAVE_DIX_CONFIG_H 28 | #include 29 | #endif 30 | 31 | #include "shrotpack.h" 32 | -------------------------------------------------------------------------------- /miext/shadow/shrot16pack_90YX.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2000 Keith Packard 3 | * 4 | * Permission to use, copy, modify, distribute, and sell this software and its 5 | * documentation for any purpose is hereby granted without fee, provided that 6 | * the above copyright notice appear in all copies and that both that 7 | * copyright notice and this permission notice appear in supporting 8 | * documentation, and that the name of Keith Packard not be used in 9 | * advertising or publicity pertaining to distribution of the software without 10 | * specific, written prior permission. Keith Packard makes no 11 | * representations about the suitability of this software for any purpose. It 12 | * is provided "as is" without express or implied warranty. 13 | * 14 | * KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 15 | * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO 16 | * EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR 17 | * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, 18 | * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 19 | * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 20 | * PERFORMANCE OF THIS SOFTWARE. 21 | */ 22 | 23 | #define FUNC shadowUpdateRotate16_90YX 24 | #define Data CARD16 25 | #define ROTATE 90 26 | 27 | #ifdef HAVE_DIX_CONFIG_H 28 | #include 29 | #endif 30 | 31 | #include "shrotpackYX.h" 32 | -------------------------------------------------------------------------------- /miext/shadow/shrot32pack_180.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright © 2000 Keith Packard 3 | * 4 | * Permission to use, copy, modify, distribute, and sell this software and its 5 | * documentation for any purpose is hereby granted without fee, provided that 6 | * the above copyright notice appear in all copies and that both that 7 | * copyright notice and this permission notice appear in supporting 8 | * documentation, and that the name of Keith Packard not be used in 9 | * advertising or publicity pertaining to distribution of the software without 10 | * specific, written prior permission. Keith Packard makes no 11 | * representations about the suitability of this software for any purpose. It 12 | * is provided "as is" without express or implied warranty. 13 | * 14 | * KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 15 | * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO 16 | * EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR 17 | * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, 18 | * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 19 | * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 20 | * PERFORMANCE OF THIS SOFTWARE. 21 | */ 22 | 23 | #define FUNC shadowUpdateRotate32_180 24 | #define Data CARD32 25 | #define ROTATE 180 26 | 27 | #ifdef HAVE_DIX_CONFIG_H 28 | #include 29 | #endif 30 | 31 | #include "shrotpack.h" 32 | -------------------------------------------------------------------------------- /miext/shadow/shrot32pack_270.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright © 2000 Keith Packard 3 | * 4 | * Permission to use, copy, modify, distribute, and sell this software and its 5 | * documentation for any purpose is hereby granted without fee, provided that 6 | * the above copyright notice appear in all copies and that both that 7 | * copyright notice and this permission notice appear in supporting 8 | * documentation, and that the name of Keith Packard not be used in 9 | * advertising or publicity pertaining to distribution of the software without 10 | * specific, written prior permission. Keith Packard makes no 11 | * representations about the suitability of this software for any purpose. It 12 | * is provided "as is" without express or implied warranty. 13 | * 14 | * KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 15 | * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO 16 | * EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR 17 | * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, 18 | * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 19 | * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 20 | * PERFORMANCE OF THIS SOFTWARE. 21 | */ 22 | 23 | #define FUNC shadowUpdateRotate32_270 24 | #define Data CARD32 25 | #define ROTATE 270 26 | 27 | #ifdef HAVE_DIX_CONFIG_H 28 | #include 29 | #endif 30 | 31 | #include "shrotpack.h" 32 | -------------------------------------------------------------------------------- /damageext/damageext.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright © 2002 Keith Packard 3 | * 4 | * Permission to use, copy, modify, distribute, and sell this software and its 5 | * documentation for any purpose is hereby granted without fee, provided that 6 | * the above copyright notice appear in all copies and that both that 7 | * copyright notice and this permission notice appear in supporting 8 | * documentation, and that the name of Keith Packard not be used in 9 | * advertising or publicity pertaining to distribution of the software without 10 | * specific, written prior permission. Keith Packard makes no 11 | * representations about the suitability of this software for any purpose. It 12 | * is provided "as is" without express or implied warranty. 13 | * 14 | * KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 15 | * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO 16 | * EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR 17 | * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, 18 | * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 19 | * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 20 | * PERFORMANCE OF THIS SOFTWARE. 21 | */ 22 | 23 | #ifdef HAVE_DIX_CONFIG_H 24 | #include 25 | #endif 26 | 27 | #ifndef _DAMAGEEXT_H_ 28 | #define _DAMAGEEXT_H_ 29 | 30 | void 31 | DamageExtensionInit(void); 32 | 33 | #endif /* _DAMAGEEXT_H_ */ 34 | -------------------------------------------------------------------------------- /hw/xfree86/os-support/linux/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES = liblinux.la 2 | 3 | if LINUX_IA64 4 | PLATFORM_PCI_SUPPORT = $(srcdir)/../shared/ia64Pci.c 5 | PLATFORM_INCLUDES = -I$(srcdir)/../shared 6 | endif 7 | if LINUX_ALPHA 8 | noinst_LTLIBRARIES += liblinuxev56.la 9 | PLATFORM_PCI_SUPPORT = \ 10 | $(srcdir)/lnx_axp.c \ 11 | $(srcdir)/../shared/xf86Axp.c 12 | 13 | liblinuxev56_la_CFLAGS = $(AM_CFLAGS) -mcpu=ev56 14 | 15 | liblinuxev56_la_SOURCES = lnx_ev56.c 16 | endif 17 | 18 | if LNXACPI 19 | ACPI_SRCS = lnx_acpi.c lnx_apm.c 20 | XORG_CFLAGS += -DHAVE_ACPI 21 | endif 22 | 23 | if LNXAPM 24 | APM_SRCS = lnx_apm.c 25 | XORG_CFLAGS += -DHAVE_APM 26 | endif 27 | 28 | liblinux_la_SOURCES = lnx_init.c lnx_video.c \ 29 | lnx_agp.c lnx_kmod.c lnx_bell.c \ 30 | $(srcdir)/../shared/bios_mmap.c \ 31 | $(srcdir)/../shared/VTsw_usl.c \ 32 | $(srcdir)/../shared/posix_tty.c \ 33 | $(srcdir)/../shared/vidmem.c \ 34 | $(srcdir)/../shared/sigio.c \ 35 | $(ACPI_SRCS) \ 36 | $(APM_SRCS) \ 37 | $(PLATFORM_PCI_SUPPORT) 38 | 39 | AM_CFLAGS = -DUSESTDRES -DHAVE_SYSV_IPC $(DIX_CFLAGS) $(XORG_CFLAGS) $(PLATFORM_DEFINES) 40 | 41 | INCLUDES = $(XORG_INCS) $(PLATFORM_INCLUDES) $(LIBDRM_CFLAGS) 42 | 43 | EXTRA_DIST = \ 44 | $(srcdir)/../shared/xf86Axp.h 45 | 46 | if LINUX_ALPHA 47 | liblinux_la_LIBADD = liblinuxev56.la 48 | endif 49 | -------------------------------------------------------------------------------- /miext/shadow/shrot16pack_270YX.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2000 Keith Packard 3 | * 4 | * Permission to use, copy, modify, distribute, and sell this software and its 5 | * documentation for any purpose is hereby granted without fee, provided that 6 | * the above copyright notice appear in all copies and that both that 7 | * copyright notice and this permission notice appear in supporting 8 | * documentation, and that the name of Keith Packard not be used in 9 | * advertising or publicity pertaining to distribution of the software without 10 | * specific, written prior permission. Keith Packard makes no 11 | * representations about the suitability of this software for any purpose. It 12 | * is provided "as is" without express or implied warranty. 13 | * 14 | * KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 15 | * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO 16 | * EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR 17 | * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, 18 | * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 19 | * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 20 | * PERFORMANCE OF THIS SOFTWARE. 21 | */ 22 | 23 | #define FUNC shadowUpdateRotate16_270YX 24 | #define Data CARD16 25 | #define ROTATE 270 26 | 27 | #ifdef HAVE_DIX_CONFIG_H 28 | #include 29 | #endif 30 | 31 | #include "shrotpackYX.h" 32 | -------------------------------------------------------------------------------- /hw/xfree86/int10/xf86x86emu.h: -------------------------------------------------------------------------------- 1 | /* 2 | * XFree86 int10 module 3 | * execute BIOS int 10h calls in x86 real mode environment 4 | * Copyright 1999 Egbert Eich 5 | */ 6 | #ifdef HAVE_XORG_CONFIG_H 7 | #include 8 | #endif 9 | 10 | #ifndef XF86X86EMU_H_ 11 | #define XF86X86EMU_H_ 12 | #include 13 | 14 | #define M _X86EMU_env 15 | 16 | #define X86_EAX M.x86.R_EAX 17 | #define X86_EBX M.x86.R_EBX 18 | #define X86_ECX M.x86.R_ECX 19 | #define X86_EDX M.x86.R_EDX 20 | #define X86_ESI M.x86.R_ESI 21 | #define X86_EDI M.x86.R_EDI 22 | #define X86_EBP M.x86.R_EBP 23 | #define X86_EIP M.x86.R_EIP 24 | #define X86_ESP M.x86.R_ESP 25 | #define X86_EFLAGS M.x86.R_EFLG 26 | 27 | #define X86_FLAGS M.x86.R_FLG 28 | #define X86_AX M.x86.R_AX 29 | #define X86_BX M.x86.R_BX 30 | #define X86_CX M.x86.R_CX 31 | #define X86_DX M.x86.R_DX 32 | #define X86_SI M.x86.R_SI 33 | #define X86_DI M.x86.R_DI 34 | #define X86_BP M.x86.R_BP 35 | #define X86_IP M.x86.R_IP 36 | #define X86_SP M.x86.R_SP 37 | #define X86_CS M.x86.R_CS 38 | #define X86_DS M.x86.R_DS 39 | #define X86_ES M.x86.R_ES 40 | #define X86_SS M.x86.R_SS 41 | #define X86_FS M.x86.R_FS 42 | #define X86_GS M.x86.R_GS 43 | 44 | #define X86_AL M.x86.R_AL 45 | #define X86_BL M.x86.R_BL 46 | #define X86_CL M.x86.R_CL 47 | #define X86_DL M.x86.R_DL 48 | 49 | #define X86_AH M.x86.R_AH 50 | #define X86_BH M.x86.R_BH 51 | #define X86_CH M.x86.R_CH 52 | #define X86_DH M.x86.R_DH 53 | 54 | #endif 55 | -------------------------------------------------------------------------------- /include/hotplug.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright © 2006-2007 Daniel Stone 3 | * 4 | * Permission is hereby granted, free of charge, to any person obtaining a 5 | * copy of this software and associated documentation files (the "Software"), 6 | * to deal in the Software without restriction, including without limitation 7 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | * and/or sell copies of the Software, and to permit persons to whom the 9 | * Software is furnished to do so, subject to the following conditions: 10 | * 11 | * The above copyright notice and this permission notice (including the next 12 | * paragraph) shall be included in all copies or substantial portions of the 13 | * Software. 14 | * 15 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 18 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 20 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 21 | * DEALINGS IN THE SOFTWARE. 22 | * 23 | * Author: Daniel Stone 24 | */ 25 | 26 | #ifndef HOTPLUG_H 27 | #define HOTPLUG_H 28 | 29 | extern _X_EXPORT void config_init(void); 30 | extern _X_EXPORT void config_fini(void); 31 | 32 | #endif /* HOTPLUG_H */ 33 | -------------------------------------------------------------------------------- /xkb/xkb.h: -------------------------------------------------------------------------------- 1 | #ifndef _XKB_H 2 | #define _XKB_H 3 | 4 | extern int ProcXkbUseExtension(ClientPtr client); 5 | extern int ProcXkbSelectEvents(ClientPtr client); 6 | extern int ProcXkbBell(ClientPtr client); 7 | extern int ProcXkbGetState(ClientPtr client); 8 | extern int ProcXkbLatchLockState(ClientPtr client); 9 | extern int ProcXkbGetControls(ClientPtr client); 10 | extern int ProcXkbSetControls(ClientPtr client); 11 | extern int ProcXkbGetMap(ClientPtr client); 12 | extern int ProcXkbSetMap(ClientPtr client); 13 | extern int ProcXkbGetCompatMap(ClientPtr client); 14 | extern int ProcXkbSetCompatMap(ClientPtr client); 15 | extern int ProcXkbGetIndicatorState(ClientPtr client); 16 | extern int ProcXkbGetIndicatorMap(ClientPtr client); 17 | extern int ProcXkbSetIndicatorMap(ClientPtr client); 18 | extern int ProcXkbGetNamedIndicator(ClientPtr client); 19 | extern int ProcXkbSetNamedIndicator(ClientPtr client); 20 | extern int ProcXkbGetNames(ClientPtr client); 21 | extern int ProcXkbSetNames(ClientPtr client); 22 | extern int ProcXkbGetGeometry(ClientPtr client); 23 | extern int ProcXkbSetGeometry(ClientPtr client); 24 | extern int ProcXkbPerClientFlags(ClientPtr client); 25 | extern int ProcXkbListComponents(ClientPtr client); 26 | extern int ProcXkbGetKbdByName(ClientPtr client); 27 | extern int ProcXkbGetDeviceInfo(ClientPtr client); 28 | extern int ProcXkbSetDeviceInfo(ClientPtr client); 29 | extern int ProcXkbSetDebuggingFlags(ClientPtr client); 30 | 31 | extern void XkbExtensionInit(void); 32 | #endif 33 | -------------------------------------------------------------------------------- /hw/xnest/XNGC.h: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright 1993 by Davor Matic 4 | 5 | Permission to use, copy, modify, distribute, and sell this software 6 | and its documentation for any purpose is hereby granted without fee, 7 | provided that the above copyright notice appear in all copies and that 8 | both that copyright notice and this permission notice appear in 9 | supporting documentation. Davor Matic makes no representations about 10 | the suitability of this software for any purpose. It is provided "as 11 | is" without express or implied warranty. 12 | 13 | */ 14 | 15 | #ifndef XNESTGC_H 16 | #define XNESTGC_H 17 | 18 | /* This file uses the GC definition form Xlib.h as XlibGC. */ 19 | 20 | typedef struct { 21 | XlibGC gc; 22 | int nClipRects; 23 | } xnestPrivGC; 24 | 25 | extern DevPrivateKey xnestGCPrivateKey; 26 | 27 | #define xnestGCPriv(pGC) ((xnestPrivGC *) \ 28 | dixLookupPrivate(&(pGC)->devPrivates, xnestGCPrivateKey)) 29 | 30 | #define xnestGC(pGC) (xnestGCPriv(pGC)->gc) 31 | 32 | Bool xnestCreateGC(GCPtr pGC); 33 | void xnestValidateGC(GCPtr pGC, unsigned long changes, DrawablePtr pDrawable); 34 | void xnestChangeGC(GCPtr pGC, unsigned long mask); 35 | void xnestCopyGC(GCPtr pGCSrc, unsigned long mask, GCPtr pGCDst); 36 | void xnestDestroyGC(GCPtr pGC); 37 | void xnestChangeClip(GCPtr pGC, int type, pointer pValue, int nRects); 38 | void xnestDestroyClip(GCPtr pGC); 39 | void xnestDestroyClipHelper(GCPtr pGC); 40 | void xnestCopyClip(GCPtr pGCDst, GCPtr pGCSrc); 41 | 42 | #endif /* XNESTGC_H */ 43 | -------------------------------------------------------------------------------- /hw/xnest/xnest-config.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2005 Red Hat Inc., Raleigh, North Carolina. 3 | * 4 | * All Rights Reserved. 5 | * 6 | * Permission is hereby granted, free of charge, to any person obtaining 7 | * a copy of this software and associated documentation files (the 8 | * "Software"), to deal in the Software without restriction, including 9 | * without limitation on the rights to use, copy, modify, merge, 10 | * publish, distribute, sublicense, and/or sell copies of the Software, 11 | * and to permit persons to whom the Software is furnished to do so, 12 | * subject to the following conditions: 13 | * 14 | * The above copyright notice and this permission notice (including the 15 | * next paragraph) shall be included in all copies or substantial 16 | * portions of the Software. 17 | * 18 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 19 | * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 20 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 21 | * NON-INFRINGEMENT. IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS 22 | * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 23 | * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 24 | * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 25 | * SOFTWARE. 26 | */ 27 | 28 | #ifndef XNEST_CONFIG_H 29 | #define XNEST_CONFIG_H 30 | 31 | #include 32 | #include 33 | 34 | #undef MITSHM 35 | 36 | #endif /* XNEST_CONFIG_H */ 37 | -------------------------------------------------------------------------------- /hw/xfree86/utils/gtf/gtf.man.pre: -------------------------------------------------------------------------------- 1 | .\" $XFree86$ 2 | .TH GTF 1 __vendorversion__ 3 | .SH NAME 4 | gtf - calculate VESA GTF mode lines 5 | .SH SYNOPSIS 6 | .B gtf 7 | .I h-resolution 8 | .I v-resolution 9 | .I refresh 10 | .RB [ \-v | \-\-verbose ] 11 | .RB [ \-f | \-\-fbmode ] 12 | .RB [ \-x | \-\-xorgmode ] 13 | .SH DESCRIPTION 14 | .I Gtf 15 | is a utility for calculating VESA GTF modes. Given the desired 16 | horizontal and vertical resolutions and refresh rate (in Hz), the parameters 17 | for a matching VESA GTF mode are printed out. Two output formats are 18 | supported: mode lines suitable for the __xservername__ 19 | .B __xconfigfile__(__filemansuffix__) 20 | file, and mode parameters suitable for the Linux 21 | .B fbset(8) 22 | utility. 23 | 24 | .SH OPTIONS 25 | .TP 8 26 | .BR \-v | \-\-verbose 27 | Enable verbose printouts This shows a trace for each step of the 28 | computation. 29 | .TP 8 30 | .BR \-x | \-\-xorgmode 31 | Print the mode parameters as __xservername__-style mode lines. This is the 32 | default format. 33 | .TP 8 34 | .BR \-f | \-\-fbset 35 | Print the mode parameters in a format suitable for 36 | .BR fbset(8) . 37 | .SH "SEE ALSO" 38 | __xconfigfile__(__filemansuffix__) 39 | .SH AUTHOR 40 | Andy Ritger. 41 | .PP 42 | This program is based on the Generalized Timing Formula (GTF(TM)) Standard 43 | Version: 1.0, Revision: 1.0. The GTF Excel(TM) spreadsheet, a sample 44 | (and the definitive) implementation of the GTF Timing Standard is 45 | available at . 46 | -------------------------------------------------------------------------------- /test/Makefile.am: -------------------------------------------------------------------------------- 1 | if UNITTESTS 2 | SUBDIRS= . xi2 3 | check_PROGRAMS = xkb input xtest 4 | check_LTLIBRARIES = libxservertest.la 5 | 6 | TESTS=$(check_PROGRAMS) 7 | 8 | AM_CFLAGS = $(DIX_CFLAGS) $(GLIB_CFLAGS) @XORG_CFLAGS@ 9 | INCLUDES = @XORG_INCS@ 10 | TEST_LDADD=libxservertest.la $(XORG_SYS_LIBS) $(XSERVER_SYS_LIBS) $(GLIB_LIBS) 11 | 12 | if SPECIAL_DTRACE_OBJECTS 13 | TEST_LDADD += $(OS_LIB) $(DIX_LIB) 14 | endif 15 | 16 | xkb_LDADD=$(TEST_LDADD) 17 | input_LDADD=$(TEST_LDADD) 18 | xtest_LDADD=$(TEST_LDADD) 19 | 20 | libxservertest_la_LIBADD = \ 21 | $(XSERVER_LIBS) \ 22 | $(top_builddir)/hw/xfree86/loader/libloader.la \ 23 | $(top_builddir)/hw/xfree86/os-support/libxorgos.la \ 24 | $(top_builddir)/hw/xfree86/common/libcommon.la \ 25 | $(top_builddir)/hw/xfree86/parser/libxf86config_internal.la \ 26 | $(top_builddir)/hw/xfree86/dixmods/libdixmods.la \ 27 | $(top_builddir)/hw/xfree86/modes/libxf86modes.la \ 28 | $(top_builddir)/hw/xfree86/ramdac/libramdac.la \ 29 | $(top_builddir)/hw/xfree86/ddc/libddc.la \ 30 | $(top_builddir)/hw/xfree86/i2c/libi2c.la \ 31 | $(top_builddir)/hw/xfree86/dixmods/libxorgxkb.la \ 32 | $(top_builddir)/hw/xfree86/libxorg.la \ 33 | $(top_builddir)/mi/libmi.la \ 34 | $(top_builddir)/os/libos.la \ 35 | @XORG_LIBS@ 36 | 37 | CLEANFILES=libxservertest.c 38 | 39 | libxservertest.c: 40 | touch $@ 41 | 42 | endif 43 | -------------------------------------------------------------------------------- /Xext/xf86bigfontsrv.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright © 2010 Yaakov Selkowitz 3 | * 4 | * Permission is hereby granted, free of charge, to any person obtaining 5 | * a copy of this software and associated documentation files (the 6 | * "Software"), to deal in the Software without restriction, including 7 | * without limitation the rights to use, copy, modify, merge, publish, 8 | * distribute, sublicense, and/or sell copies of the Software, and to 9 | * permit persons to whom the Software is furnished to do so, subject to 10 | * the following conditions: 11 | * 12 | * The above copyright notice and this permission notice (including the 13 | * next paragraph) shall be included in all copies or substantial portions 14 | * of the Software. 15 | * 16 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 17 | * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 18 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 19 | * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 20 | * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 21 | * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 22 | * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 23 | */ 24 | 25 | #ifndef _XF86BIGFONTSRV_H_ 26 | #define _XF86BIGFONTSRV_H_ 27 | 28 | #include 29 | 30 | extern void XFree86BigfontExtensionInit(void); 31 | extern void XF86BigfontFreeFontShm(FontPtr); 32 | extern void XF86BigfontCleanup(void); 33 | 34 | #endif 35 | -------------------------------------------------------------------------------- /test/README: -------------------------------------------------------------------------------- 1 | X server test suite 2 | 3 | This suite contains a set of tests to verify the behaviour of functions used 4 | internally to the server. This test suite is based on glib's testing 5 | framework [1]. 6 | 7 | = How it works = 8 | Through some automake abuse, we link the test programs with the same static 9 | libraries as the Xorg binary. The test suites can then call various functions 10 | and verify their behaviour - without the need to start the server or connect 11 | clients. 12 | 13 | This testing only works for functions that do not rely on a particular state 14 | of the X server. Unless the test suite replicates the expected state, which 15 | may be difficult. 16 | 17 | = How to run the tests = 18 | Run "make check" the test directory. This will compile the tests and execute 19 | them in the order specified in the TESTS variable in test/Makefile.am. 20 | 21 | Each set of tests related to a subsystem are available as a binary that can be 22 | executed directly. For example, run "xkb" to perform some xkb-related tests. 23 | 24 | == Adding a new test == 25 | When adding a new test, ensure that you add a short description of what the 26 | test does and what the expected outcome is. If the test reproduces a 27 | particular bug, using g_test_bug(). 28 | 29 | == Misc == 30 | 31 | The programs "gtester" and "gtester-report" may be used to generate XML/HTML 32 | log files of tests succeeded and failed. 33 | 34 | --------- 35 | 36 | [1] http://library.gnome.org/devel/glib/stable/glib-Testing.html 37 | -------------------------------------------------------------------------------- /hw/xnest/Display.h: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright 1993 by Davor Matic 4 | 5 | Permission to use, copy, modify, distribute, and sell this software 6 | and its documentation for any purpose is hereby granted without fee, 7 | provided that the above copyright notice appear in all copies and that 8 | both that copyright notice and this permission notice appear in 9 | supporting documentation. Davor Matic makes no representations about 10 | the suitability of this software for any purpose. It is provided "as 11 | is" without express or implied warranty. 12 | 13 | */ 14 | 15 | #ifndef XNESTCOMMON_H 16 | #define XNESTCOMMON_H 17 | 18 | #define UNDEFINED -1 19 | 20 | #define MAXDEPTH 32 21 | #define MAXVISUALSPERDEPTH 256 22 | 23 | extern Display *xnestDisplay; 24 | extern XVisualInfo *xnestVisuals; 25 | extern int xnestNumVisuals; 26 | extern int xnestDefaultVisualIndex; 27 | extern Colormap *xnestDefaultColormaps; 28 | extern int xnestNumDefaultClormaps; 29 | extern int *xnestDepths; 30 | extern int xnestNumDepths; 31 | extern XPixmapFormatValues *xnestPixmapFormats; 32 | extern int xnestNumPixmapFormats; 33 | extern Pixel xnestBlackPixel; 34 | extern Pixel xnestWhitePixel; 35 | extern Drawable xnestDefaultDrawables[MAXDEPTH + 1]; 36 | extern Pixmap xnestIconBitmap; 37 | extern Pixmap xnestScreenSaverPixmap; 38 | extern XlibGC xnestBitmapGC; 39 | extern unsigned long xnestEventMask; 40 | 41 | void xnestOpenDisplay(int argc, char *argv[]); 42 | void xnestCloseDisplay(void); 43 | 44 | #endif /* XNESTCOMMON_H */ 45 | -------------------------------------------------------------------------------- /Xi/xiallowev.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright © 2009 Red Hat, Inc. 3 | * 4 | * Permission is hereby granted, free of charge, to any person obtaining a 5 | * copy of this software and associated documentation files (the "Software"), 6 | * to deal in the Software without restriction, including without limitation 7 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | * and/or sell copies of the Software, and to permit persons to whom the 9 | * Software is furnished to do so, subject to the following conditions: 10 | * 11 | * The above copyright notice and this permission notice (including the next 12 | * paragraph) shall be included in all copies or substantial portions of the 13 | * Software. 14 | * 15 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 18 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 20 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 21 | * DEALINGS IN THE SOFTWARE. 22 | * 23 | * Author: Peter Hutterer 24 | */ 25 | 26 | #ifdef HAVE_DIX_CONFIG_H 27 | #include 28 | #endif 29 | 30 | #ifndef XIALLOWEV_H 31 | #define XIALLOWEV_H 1 32 | 33 | int ProcXIAllowEvents(ClientPtr client); 34 | int SProcXIAllowEvents(ClientPtr client); 35 | 36 | #endif /* XIALLOWEV_H */ 37 | -------------------------------------------------------------------------------- /hw/xfree86/loader/dlloader.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 1997 Metro Link, Inc. 3 | * Permission to use, copy, modify, distribute, and sell this software and its 4 | * documentation for any purpose is hereby granted without fee, provided that 5 | * the above copyright notice appear in all copies and that both that 6 | * copyright notice and this permission notice appear in supporting 7 | * documentation, and that the name of Metro Link, Inc. not be used in 8 | * advertising or publicity pertaining to distribution of the software without 9 | * specific, written prior permission. Metro Link, Inc. makes no 10 | * representations about the suitability of this software for any purpose. 11 | * It is provided "as is" without express or implied warranty. 12 | * 13 | * METRO LINK, INC. DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 14 | * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO 15 | * EVENT SHALL METRO LINK, INC. BE LIABLE FOR ANY SPECIAL, INDIRECT OR 16 | * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, 17 | * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 18 | * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 19 | * PERFORMANCE OF THIS SOFTWARE. 20 | */ 21 | 22 | #ifdef HAVE_XORG_CONFIG_H 23 | #include 24 | #endif 25 | 26 | #ifndef _DLLOADER_H 27 | #define _DLLOADER_H 28 | 29 | extern void *DLLoadModule(loaderPtr, int flags); 30 | extern void DLUnloadModule(void *); 31 | extern void *DLFindSymbol(const char *name); 32 | 33 | #endif 34 | -------------------------------------------------------------------------------- /hw/xfree86/os-support/hurd/hurd_bell.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright © 2006 Daniel Stone 3 | * 4 | * Permission is hereby granted, free of charge, to any person obtaining a 5 | * copy of this software and associated documentation files (the "Software"), 6 | * to deal in the Software without restriction, including without limitation 7 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | * and/or sell copies of the Software, and to permit persons to whom the 9 | * Software is furnished to do so, subject to the following conditions: 10 | * 11 | * The above copyright notice and this permission notice (including the next 12 | * paragraph) shall be included in all copies or substantial portions of the 13 | * Software. 14 | * 15 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 18 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 20 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 21 | * DEALINGS IN THE SOFTWARE. 22 | * 23 | * Author: Daniel Stone 24 | */ 25 | 26 | #ifdef HAVE_XORG_CONFIG_H 27 | #include 28 | #endif 29 | 30 | #include "xf86.h" 31 | #include "xf86Priv.h" 32 | 33 | void 34 | xf86OSRingBell(int loudness, int pitch, int duration) 35 | { 36 | return; 37 | } 38 | --------------------------------------------------------------------------------