Don't needlessly change source files every time.
This commit is contained in:
parent
0685fb57e1
commit
b06a8ca976
|
@ -1,10 +1,7 @@
|
||||||
// Package bigreq is the X client API for the BIG-REQUESTS extension.
|
// Package bigreq is the X client API for the BIG-REQUESTS extension.
|
||||||
package bigreq
|
package bigreq
|
||||||
|
|
||||||
/*
|
// This file is automatically generated from bigreq.xml. Edit at your peril!
|
||||||
This file was generated by bigreq.xml on Aug 11 2013 8:39:42pm EDT.
|
|
||||||
This file is automatically generated. Edit at your peril!
|
|
||||||
*/
|
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/BurntSushi/xgb"
|
"github.com/BurntSushi/xgb"
|
||||||
|
|
|
@ -1,10 +1,7 @@
|
||||||
// Package composite is the X client API for the Composite extension.
|
// Package composite is the X client API for the Composite extension.
|
||||||
package composite
|
package composite
|
||||||
|
|
||||||
/*
|
// This file is automatically generated from composite.xml. Edit at your peril!
|
||||||
This file was generated by composite.xml on Aug 11 2013 8:39:43pm EDT.
|
|
||||||
This file is automatically generated. Edit at your peril!
|
|
||||||
*/
|
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/BurntSushi/xgb"
|
"github.com/BurntSushi/xgb"
|
||||||
|
|
|
@ -1,10 +1,7 @@
|
||||||
// Package damage is the X client API for the DAMAGE extension.
|
// Package damage is the X client API for the DAMAGE extension.
|
||||||
package damage
|
package damage
|
||||||
|
|
||||||
/*
|
// This file is automatically generated from damage.xml. Edit at your peril!
|
||||||
This file was generated by damage.xml on Aug 11 2013 8:39:43pm EDT.
|
|
||||||
This file is automatically generated. Edit at your peril!
|
|
||||||
*/
|
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/BurntSushi/xgb"
|
"github.com/BurntSushi/xgb"
|
||||||
|
|
|
@ -1,10 +1,7 @@
|
||||||
// Package dpms is the X client API for the DPMS extension.
|
// Package dpms is the X client API for the DPMS extension.
|
||||||
package dpms
|
package dpms
|
||||||
|
|
||||||
/*
|
// This file is automatically generated from dpms.xml. Edit at your peril!
|
||||||
This file was generated by dpms.xml on Aug 11 2013 8:39:43pm EDT.
|
|
||||||
This file is automatically generated. Edit at your peril!
|
|
||||||
*/
|
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/BurntSushi/xgb"
|
"github.com/BurntSushi/xgb"
|
||||||
|
|
|
@ -1,10 +1,7 @@
|
||||||
// Package dri2 is the X client API for the DRI2 extension.
|
// Package dri2 is the X client API for the DRI2 extension.
|
||||||
package dri2
|
package dri2
|
||||||
|
|
||||||
/*
|
// This file is automatically generated from dri2.xml. Edit at your peril!
|
||||||
This file was generated by dri2.xml on Aug 11 2013 8:39:43pm EDT.
|
|
||||||
This file is automatically generated. Edit at your peril!
|
|
||||||
*/
|
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/BurntSushi/xgb"
|
"github.com/BurntSushi/xgb"
|
||||||
|
|
|
@ -1,10 +1,7 @@
|
||||||
// Package ge is the X client API for the Generic Event Extension extension.
|
// Package ge is the X client API for the Generic Event Extension extension.
|
||||||
package ge
|
package ge
|
||||||
|
|
||||||
/*
|
// This file is automatically generated from ge.xml. Edit at your peril!
|
||||||
This file was generated by ge.xml on Aug 11 2013 8:39:43pm EDT.
|
|
||||||
This file is automatically generated. Edit at your peril!
|
|
||||||
*/
|
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/BurntSushi/xgb"
|
"github.com/BurntSushi/xgb"
|
||||||
|
|
|
@ -1,10 +1,7 @@
|
||||||
// Package glx is the X client API for the GLX extension.
|
// Package glx is the X client API for the GLX extension.
|
||||||
package glx
|
package glx
|
||||||
|
|
||||||
/*
|
// This file is automatically generated from glx.xml. Edit at your peril!
|
||||||
This file was generated by glx.xml on Aug 11 2013 8:39:43pm EDT.
|
|
||||||
This file is automatically generated. Edit at your peril!
|
|
||||||
*/
|
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/BurntSushi/xgb"
|
"github.com/BurntSushi/xgb"
|
||||||
|
|
|
@ -1,10 +1,7 @@
|
||||||
// Package randr is the X client API for the RANDR extension.
|
// Package randr is the X client API for the RANDR extension.
|
||||||
package randr
|
package randr
|
||||||
|
|
||||||
/*
|
// This file is automatically generated from randr.xml. Edit at your peril!
|
||||||
This file was generated by randr.xml on Aug 11 2013 8:39:43pm EDT.
|
|
||||||
This file is automatically generated. Edit at your peril!
|
|
||||||
*/
|
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/BurntSushi/xgb"
|
"github.com/BurntSushi/xgb"
|
||||||
|
|
|
@ -1,10 +1,7 @@
|
||||||
// Package record is the X client API for the RECORD extension.
|
// Package record is the X client API for the RECORD extension.
|
||||||
package record
|
package record
|
||||||
|
|
||||||
/*
|
// This file is automatically generated from record.xml. Edit at your peril!
|
||||||
This file was generated by record.xml on Aug 11 2013 8:39:43pm EDT.
|
|
||||||
This file is automatically generated. Edit at your peril!
|
|
||||||
*/
|
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/BurntSushi/xgb"
|
"github.com/BurntSushi/xgb"
|
||||||
|
|
|
@ -1,10 +1,7 @@
|
||||||
// Package render is the X client API for the RENDER extension.
|
// Package render is the X client API for the RENDER extension.
|
||||||
package render
|
package render
|
||||||
|
|
||||||
/*
|
// This file is automatically generated from render.xml. Edit at your peril!
|
||||||
This file was generated by render.xml on Aug 11 2013 8:39:43pm EDT.
|
|
||||||
This file is automatically generated. Edit at your peril!
|
|
||||||
*/
|
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/BurntSushi/xgb"
|
"github.com/BurntSushi/xgb"
|
||||||
|
|
|
@ -1,10 +1,7 @@
|
||||||
// Package res is the X client API for the X-Resource extension.
|
// Package res is the X client API for the X-Resource extension.
|
||||||
package res
|
package res
|
||||||
|
|
||||||
/*
|
// This file is automatically generated from res.xml. Edit at your peril!
|
||||||
This file was generated by res.xml on Aug 11 2013 8:39:43pm EDT.
|
|
||||||
This file is automatically generated. Edit at your peril!
|
|
||||||
*/
|
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/BurntSushi/xgb"
|
"github.com/BurntSushi/xgb"
|
||||||
|
|
|
@ -1,10 +1,7 @@
|
||||||
// Package screensaver is the X client API for the MIT-SCREEN-SAVER extension.
|
// Package screensaver is the X client API for the MIT-SCREEN-SAVER extension.
|
||||||
package screensaver
|
package screensaver
|
||||||
|
|
||||||
/*
|
// This file is automatically generated from screensaver.xml. Edit at your peril!
|
||||||
This file was generated by screensaver.xml on Aug 11 2013 8:39:43pm EDT.
|
|
||||||
This file is automatically generated. Edit at your peril!
|
|
||||||
*/
|
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/BurntSushi/xgb"
|
"github.com/BurntSushi/xgb"
|
||||||
|
|
|
@ -1,10 +1,7 @@
|
||||||
// Package shape is the X client API for the SHAPE extension.
|
// Package shape is the X client API for the SHAPE extension.
|
||||||
package shape
|
package shape
|
||||||
|
|
||||||
/*
|
// This file is automatically generated from shape.xml. Edit at your peril!
|
||||||
This file was generated by shape.xml on Aug 11 2013 8:39:43pm EDT.
|
|
||||||
This file is automatically generated. Edit at your peril!
|
|
||||||
*/
|
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/BurntSushi/xgb"
|
"github.com/BurntSushi/xgb"
|
||||||
|
|
|
@ -1,10 +1,7 @@
|
||||||
// Package shm is the X client API for the MIT-SHM extension.
|
// Package shm is the X client API for the MIT-SHM extension.
|
||||||
package shm
|
package shm
|
||||||
|
|
||||||
/*
|
// This file is automatically generated from shm.xml. Edit at your peril!
|
||||||
This file was generated by shm.xml on Aug 11 2013 8:39:43pm EDT.
|
|
||||||
This file is automatically generated. Edit at your peril!
|
|
||||||
*/
|
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/BurntSushi/xgb"
|
"github.com/BurntSushi/xgb"
|
||||||
|
|
|
@ -1,10 +1,7 @@
|
||||||
// Package sync is the X client API for the SYNC extension.
|
// Package sync is the X client API for the SYNC extension.
|
||||||
package sync
|
package sync
|
||||||
|
|
||||||
/*
|
// This file is automatically generated from sync.xml. Edit at your peril!
|
||||||
This file was generated by sync.xml on Aug 11 2013 8:39:43pm EDT.
|
|
||||||
This file is automatically generated. Edit at your peril!
|
|
||||||
*/
|
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/BurntSushi/xgb"
|
"github.com/BurntSushi/xgb"
|
||||||
|
|
|
@ -1,10 +1,7 @@
|
||||||
// Package xcmisc is the X client API for the XC-MISC extension.
|
// Package xcmisc is the X client API for the XC-MISC extension.
|
||||||
package xcmisc
|
package xcmisc
|
||||||
|
|
||||||
/*
|
// This file is automatically generated from xc_misc.xml. Edit at your peril!
|
||||||
This file was generated by xc_misc.xml on Aug 11 2013 8:39:43pm EDT.
|
|
||||||
This file is automatically generated. Edit at your peril!
|
|
||||||
*/
|
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/BurntSushi/xgb"
|
"github.com/BurntSushi/xgb"
|
||||||
|
|
|
@ -1,10 +1,7 @@
|
||||||
// Package xevie is the X client API for the XEVIE extension.
|
// Package xevie is the X client API for the XEVIE extension.
|
||||||
package xevie
|
package xevie
|
||||||
|
|
||||||
/*
|
// This file is automatically generated from xevie.xml. Edit at your peril!
|
||||||
This file was generated by xevie.xml on Aug 11 2013 8:39:43pm EDT.
|
|
||||||
This file is automatically generated. Edit at your peril!
|
|
||||||
*/
|
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/BurntSushi/xgb"
|
"github.com/BurntSushi/xgb"
|
||||||
|
|
|
@ -1,10 +1,7 @@
|
||||||
// Package xf86dri is the X client API for the XFree86-DRI extension.
|
// Package xf86dri is the X client API for the XFree86-DRI extension.
|
||||||
package xf86dri
|
package xf86dri
|
||||||
|
|
||||||
/*
|
// This file is automatically generated from xf86dri.xml. Edit at your peril!
|
||||||
This file was generated by xf86dri.xml on Aug 11 2013 8:39:43pm EDT.
|
|
||||||
This file is automatically generated. Edit at your peril!
|
|
||||||
*/
|
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/BurntSushi/xgb"
|
"github.com/BurntSushi/xgb"
|
||||||
|
|
|
@ -1,10 +1,7 @@
|
||||||
// Package xf86vidmode is the X client API for the XFree86-VidModeExtension extension.
|
// Package xf86vidmode is the X client API for the XFree86-VidModeExtension extension.
|
||||||
package xf86vidmode
|
package xf86vidmode
|
||||||
|
|
||||||
/*
|
// This file is automatically generated from xf86vidmode.xml. Edit at your peril!
|
||||||
This file was generated by xf86vidmode.xml on Aug 11 2013 8:39:44pm EDT.
|
|
||||||
This file is automatically generated. Edit at your peril!
|
|
||||||
*/
|
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/BurntSushi/xgb"
|
"github.com/BurntSushi/xgb"
|
||||||
|
|
|
@ -1,10 +1,7 @@
|
||||||
// Package xfixes is the X client API for the XFIXES extension.
|
// Package xfixes is the X client API for the XFIXES extension.
|
||||||
package xfixes
|
package xfixes
|
||||||
|
|
||||||
/*
|
// This file is automatically generated from xfixes.xml. Edit at your peril!
|
||||||
This file was generated by xfixes.xml on Aug 11 2013 8:39:44pm EDT.
|
|
||||||
This file is automatically generated. Edit at your peril!
|
|
||||||
*/
|
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/BurntSushi/xgb"
|
"github.com/BurntSushi/xgb"
|
||||||
|
|
|
@ -6,7 +6,6 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"log"
|
"log"
|
||||||
"sort"
|
"sort"
|
||||||
"time"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
// Context represents the protocol we're converting to Go, and a writer
|
// Context represents the protocol we're converting to Go, and a writer
|
||||||
|
@ -56,11 +55,8 @@ func (c *Context) Morph(xmlBytes []byte) {
|
||||||
c.protocol.PkgName(), c.protocol.ExtXName)
|
c.protocol.PkgName(), c.protocol.ExtXName)
|
||||||
c.Putln("package %s", c.protocol.PkgName())
|
c.Putln("package %s", c.protocol.PkgName())
|
||||||
c.Putln("")
|
c.Putln("")
|
||||||
c.Putln("/*")
|
c.Putln("// This file is automatically generated from %s.xml. "+
|
||||||
c.Putln("\tThis file was generated by %s.xml on %s.",
|
"Edit at your peril!", c.protocol.Name)
|
||||||
c.protocol.Name, time.Now().Format("Jan 2 2006 3:04:05pm MST"))
|
|
||||||
c.Putln("\tThis file is automatically generated. Edit at your peril!")
|
|
||||||
c.Putln("*/")
|
|
||||||
c.Putln("")
|
c.Putln("")
|
||||||
|
|
||||||
// Write imports. We always need to import at least xgb.
|
// Write imports. We always need to import at least xgb.
|
||||||
|
|
|
@ -1,10 +1,7 @@
|
||||||
// Package xinerama is the X client API for the XINERAMA extension.
|
// Package xinerama is the X client API for the XINERAMA extension.
|
||||||
package xinerama
|
package xinerama
|
||||||
|
|
||||||
/*
|
// This file is automatically generated from xinerama.xml. Edit at your peril!
|
||||||
This file was generated by xinerama.xml on Aug 11 2013 8:39:44pm EDT.
|
|
||||||
This file is automatically generated. Edit at your peril!
|
|
||||||
*/
|
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/BurntSushi/xgb"
|
"github.com/BurntSushi/xgb"
|
||||||
|
|
|
@ -1,10 +1,7 @@
|
||||||
// Package xinput is the X client API for the XInputExtension extension.
|
// Package xinput is the X client API for the XInputExtension extension.
|
||||||
package xinput
|
package xinput
|
||||||
|
|
||||||
/*
|
// This file is automatically generated from xinput.xml. Edit at your peril!
|
||||||
This file was generated by xinput.xml on Aug 11 2013 8:39:44pm EDT.
|
|
||||||
This file is automatically generated. Edit at your peril!
|
|
||||||
*/
|
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/BurntSushi/xgb"
|
"github.com/BurntSushi/xgb"
|
||||||
|
|
|
@ -1,10 +1,7 @@
|
||||||
// Package xprint is the X client API for the XpExtension extension.
|
// Package xprint is the X client API for the XpExtension extension.
|
||||||
package xprint
|
package xprint
|
||||||
|
|
||||||
/*
|
// This file is automatically generated from xprint.xml. Edit at your peril!
|
||||||
This file was generated by xprint.xml on Aug 11 2013 8:39:44pm EDT.
|
|
||||||
This file is automatically generated. Edit at your peril!
|
|
||||||
*/
|
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/BurntSushi/xgb"
|
"github.com/BurntSushi/xgb"
|
||||||
|
|
|
@ -1,10 +1,7 @@
|
||||||
// Package xproto is the X client API for the extension.
|
// Package xproto is the X client API for the extension.
|
||||||
package xproto
|
package xproto
|
||||||
|
|
||||||
/*
|
// This file is automatically generated from xproto.xml. Edit at your peril!
|
||||||
This file was generated by xproto.xml on Aug 11 2013 8:39:44pm EDT.
|
|
||||||
This file is automatically generated. Edit at your peril!
|
|
||||||
*/
|
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/BurntSushi/xgb"
|
"github.com/BurntSushi/xgb"
|
||||||
|
|
|
@ -1,10 +1,7 @@
|
||||||
// Package xselinux is the X client API for the SELinux extension.
|
// Package xselinux is the X client API for the SELinux extension.
|
||||||
package xselinux
|
package xselinux
|
||||||
|
|
||||||
/*
|
// This file is automatically generated from xselinux.xml. Edit at your peril!
|
||||||
This file was generated by xselinux.xml on Aug 11 2013 8:39:44pm EDT.
|
|
||||||
This file is automatically generated. Edit at your peril!
|
|
||||||
*/
|
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/BurntSushi/xgb"
|
"github.com/BurntSushi/xgb"
|
||||||
|
|
|
@ -1,10 +1,7 @@
|
||||||
// Package xtest is the X client API for the XTEST extension.
|
// Package xtest is the X client API for the XTEST extension.
|
||||||
package xtest
|
package xtest
|
||||||
|
|
||||||
/*
|
// This file is automatically generated from xtest.xml. Edit at your peril!
|
||||||
This file was generated by xtest.xml on Aug 11 2013 8:39:44pm EDT.
|
|
||||||
This file is automatically generated. Edit at your peril!
|
|
||||||
*/
|
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/BurntSushi/xgb"
|
"github.com/BurntSushi/xgb"
|
||||||
|
|
|
@ -1,10 +1,7 @@
|
||||||
// Package xv is the X client API for the XVideo extension.
|
// Package xv is the X client API for the XVideo extension.
|
||||||
package xv
|
package xv
|
||||||
|
|
||||||
/*
|
// This file is automatically generated from xv.xml. Edit at your peril!
|
||||||
This file was generated by xv.xml on Aug 11 2013 8:39:44pm EDT.
|
|
||||||
This file is automatically generated. Edit at your peril!
|
|
||||||
*/
|
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/BurntSushi/xgb"
|
"github.com/BurntSushi/xgb"
|
||||||
|
|
|
@ -1,10 +1,7 @@
|
||||||
// Package xvmc is the X client API for the XVideo-MotionCompensation extension.
|
// Package xvmc is the X client API for the XVideo-MotionCompensation extension.
|
||||||
package xvmc
|
package xvmc
|
||||||
|
|
||||||
/*
|
// This file is automatically generated from xvmc.xml. Edit at your peril!
|
||||||
This file was generated by xvmc.xml on Aug 11 2013 8:39:44pm EDT.
|
|
||||||
This file is automatically generated. Edit at your peril!
|
|
||||||
*/
|
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/BurntSushi/xgb"
|
"github.com/BurntSushi/xgb"
|
||||||
|
|
Loading…
Reference in New Issue