CVS Update: xc (branch: trunk)
CVSROOT:/home/x-cvs Module name:xc Changes by: [EMAIL PROTECTED] 04/04/28 16:31:12 Log message: Check the value of the variables config_hsyncrange and config_vsyncrange before printing it to the generated XF86Config (the variables can be null or an empty string, in wich case nothing is printed). Modified files: xc/programs/Xserver/hw/xfree86/xf86config/: xf86config.c Revision ChangesPath 3.71 +5 -3 xc/programs/Xserver/hw/xfree86/xf86config/xf86config.c ___ Cvs-commit mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/cvs-commit
CVS Update: xc (branch: trunk)
CVSROOT:/home/x-cvs Module name:xc Changes by: [EMAIL PROTECTED] 04/02/04 12:49:09 Log message: Fix indentation of 'while' expressions. This patch corrects problems of an extra indentation being added sometimes, but adds the side effect that expressions like: do do exp; while (exp); while (exp); will no longer be automatically correctly indented. But expressions like: do { do { exp; } while (exp); } while (exp); works correctly. Modified files: xc/programs/xedit/lisp/modules/progmodes/: c.lsp Revision ChangesPath 1.28 +1 -3 xc/programs/xedit/lisp/modules/progmodes/c.lsp ___ Cvs-commit mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/cvs-commit
CVS Update: xc (branch: trunk)
CVSROOT:/home/x-cvs Module name:xc Changes by: [EMAIL PROTECTED] 04/01/08 13:29:14 Log message: Use a more explicit xlfd specification. Apparently it is required due to changes in fontfile/fontfile.c. Modified files: xc/programs/xedit/lisp/modules/: syntax.lsp xc/programs/xedit/lisp/modules/progmodes/: imake.lsp lisp.lsp make.lsp man.lsp rpm.lsp sgml.lsp sh.lsp xlog.lsp xrdb.lsp Revision ChangesPath 1.12 +12 -12xc/programs/xedit/lisp/modules/syntax.lsp 1.3 +5 -5 xc/programs/xedit/lisp/modules/progmodes/imake.lsp 1.10 +5 -5 xc/programs/xedit/lisp/modules/progmodes/lisp.lsp 1.3 +4 -4 xc/programs/xedit/lisp/modules/progmodes/make.lsp 1.3 +6 -6 xc/programs/xedit/lisp/modules/progmodes/man.lsp 1.2 +3 -3 xc/programs/xedit/lisp/modules/progmodes/rpm.lsp 1.3 +2 -2 xc/programs/xedit/lisp/modules/progmodes/sgml.lsp 1.2 +4 -4 xc/programs/xedit/lisp/modules/progmodes/sh.lsp 1.2 +6 -6 xc/programs/xedit/lisp/modules/progmodes/xlog.lsp 1.3 +3 -3 xc/programs/xedit/lisp/modules/progmodes/xrdb.lsp ___ Cvs-commit mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/cvs-commit
CVS Update: xc (branch: trunk)
CVSROOT:/home/x-cvs Module name:xc Changes by: [EMAIL PROTECTED] 03/12/11 08:03:31 Log message: Add a simple syntax highlight description for patch files. It understands normal, context and unified diffs. Modified files: xc/programs/xedit/lisp/modules/: Imakefile xedit.lsp Added files: xc/programs/xedit/lisp/modules/progmodes/: patch.lsp Revision ChangesPath 1.17 +1 -0 xc/programs/xedit/lisp/modules/Imakefile 1.11 +2 -0 xc/programs/xedit/lisp/modules/xedit.lsp ___ Cvs-commit mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/cvs-commit
CVS Update: xc (branch: trunk)
CVSROOT:/home/x-cvs Module name:xc Changes by: [EMAIL PROTECTED] 03/09/17 15:28:09 Log message: Minor xedit lisp patches: o hash.c: Fix incorrect memory reallocation when rehashing hash tables. o helper.c: Fix inverted logic when checking an object type. Modified files: xc/programs/xedit/lisp/: hash.c helper.c Revision ChangesPath 1.6 +7 -3 xc/programs/xedit/lisp/hash.c 1.51 +2 -2 xc/programs/xedit/lisp/helper.c ___ Cvs-commit mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/cvs-commit
CVS Update: xc (branch: trunk)
CVSROOT:/home/x-cvs Module name:xc Changes by: [EMAIL PROTECTED] 03/08/13 13:30:03 Log message: 375. Fix for the Brazilian ABNT2 keyboard extra key that now translates to a different keycode value. Patch suggested by Ivan Pascal. Thanks to Ivan Pascal for suggesting a simpler/cleaner patch, previously I had changed keycodes/br to match K73. Modified files: xc/programs/xkbcomp/keycodes/: xfree86 xc/programs/Xserver/hw/xfree86/: CHANGELOG Revision ChangesPath 3.24 +2 -1 xc/programs/xkbcomp/keycodes/xfree86 3.2808+3 -1 xc/programs/Xserver/hw/xfree86/CHANGELOG ___ Cvs-commit mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/cvs-commit
CVS Update: xc (branch: trunk)
CVSROOT:/home/x-cvs Module name:xc Changes by: [EMAIL PROTECTED] 03/04/04 13:31:34 Log message: o Minor fixes to allow compiling the modules, and fixed compiler warnings. o Changed time.c to return NIL instead of NULL for OS/2. o Fix bug in the parse-integer function. Modified files: xc/programs/xedit/lisp/: require.c string.c time.c xc/programs/xedit/lisp/modules/: Imakefile x11.c xaw.c xt.c Revision ChangesPath 1.17 +3 -3 xc/programs/xedit/lisp/require.c 1.23 +7 -1 xc/programs/xedit/lisp/string.c 1.9 +2 -2 xc/programs/xedit/lisp/time.c 1.14 +2 -2 xc/programs/xedit/lisp/modules/Imakefile 1.11 +15 -15xc/programs/xedit/lisp/modules/x11.c 1.15 +1 -2 xc/programs/xedit/lisp/modules/xaw.c 1.20 +12 -10xc/programs/xedit/lisp/modules/xt.c ___ Cvs-commit mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/cvs-commit
CVS Update: xc (branch: trunk)
CVSROOT:/home/x-cvs Module name:xc Changes by: [EMAIL PROTECTED] 03/03/17 15:52:28 Log message: 979. Fix typo that caused incorrect initialization of xkb memory (John Heasley). Modified files: xc/programs/Xserver/xkb/: xkbInit.c xc/programs/Xserver/hw/xfree86/: CHANGELOG Revision ChangesPath 3.27 +1 -1 xc/programs/Xserver/xkb/xkbInit.c 3.2597+3 -1 xc/programs/Xserver/hw/xfree86/CHANGELOG ___ Cvs-commit mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/cvs-commit
CVS Update: xc (branch: trunk)
CVSROOT:/home/x-cvs Module name:xc Changes by: [EMAIL PROTECTED] 03/02/15 18:33:12 Log message: Minor fix, was printing the list of mouse protocols just before cleaning the screen. Modified files: xc/programs/Xserver/hw/xfree86/xf86config/: xf86config.c Revision ChangesPath 3.68 +1 -4 xc/programs/Xserver/hw/xfree86/xf86config/xf86config.c ___ Cvs-commit mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/cvs-commit
CVS Update: xc (branch: trunk)
CVSROOT:/home/x-cvs Module name:xc Changes by: [EMAIL PROTECTED] 03/02/14 21:37:59 Log message: xf86config/xf86config.c: o Changed xf86config to exit with status 1 if ^D is pressed. o Reordered mouse descriptions/protocols, and modified help text. Basically, now it just suggests using the default/first listed protocol. o Also added a loop while printing mouse protocols/descriptions, as the entire text will not always fit in 24 lines. xf86cfg/mouse-cfg.c xf86cfg/text-mode.c: o Reordered also mouse configuration for FreeBSD, to not show extended PS/2 protocols, as they are handled by moused and don't work with the XFree86 mouse driver. xf86cfg/cards.c: o Fix an infinite loop in xf86cfg when running with the -verify option. os-support/bsd/bsd_mouse.c: o Set mode.level to 1 in bsd/bsd_mouse.c when using the Auto or the SysMouse protocol, Auto normally detects SysMouse, but specifying SysMouse was not working as expected. Modified files: xc/programs/Xserver/hw/xfree86/xf86config/: xf86config.c xc/programs/Xserver/hw/xfree86/xf86cfg/: cards.c mouse-cfg.c text-mode.c xc/programs/Xserver/hw/xfree86/os-support/bsd/: bsd_mouse.c Revision ChangesPath 3.66 +129 -98 xc/programs/Xserver/hw/xfree86/xf86config/xf86config.c 1.15 +2 -2 xc/programs/Xserver/hw/xfree86/xf86cfg/cards.c 1.10 +15 -13xc/programs/Xserver/hw/xfree86/xf86cfg/mouse-cfg.c 1.21 +14 -12xc/programs/Xserver/hw/xfree86/xf86cfg/text-mode.c 1.24 +3 -2 xc/programs/Xserver/hw/xfree86/os-support/bsd/bsd_mouse.c ___ Cvs-commit mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/cvs-commit
CVS Update: xc (branch: trunk)
CVSROOT:/home/x-cvs Module name:xc Changes by: [EMAIL PROTECTED] 03/02/08 22:29:22 Log message: Fix problem in XkbInitKeyboardDeviceStruct(). Thanks to David Dawes for telling about the problem, caused by a previous patch by me. I also added a comment in the code explaining the reason the strings need to be duplicated. The problem is that XkbInitKeyboardDeviceStruct() is an entry point for xkb, and the function arguments are not guaranteed to be allocated, they may point to static strings, command line parameters, etc. In the worst case, there will be a pseudo leak of six strings that are used only when the server is initialized; the strings are reachable from xf86Info.xkbxxx, or equivalent data structure for xwin, xnest, etc. Modified files: xc/programs/Xserver/xkb/: xkbInit.c Revision ChangesPath 3.26 +20 -13xc/programs/Xserver/xkb/xkbInit.c ___ Cvs-commit mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/cvs-commit
CVS Update: xc (branch: trunk)
CVSROOT:/home/x-cvs Module name:xc Changes by: [EMAIL PROTECTED] 03/02/06 21:46:53 Log message: 853. Use strtol instead of atoi in xf86cfg 'expert' mode. Make pauses when printing keyboard models in xf86config (#5609, Chisato Yamauchi). All calls to atoi in expert.c were replaced by strtol and strtoul, the existing ones, especifying the base weren't changed. Soon it may be required pauses in more xf86config options, mouse protocol selection requires exactly 25 lines. Modified files: xc/programs/Xserver/hw/xfree86/: CHANGELOG xc/programs/Xserver/hw/xfree86/xf86config/: xf86config.c xc/programs/Xserver/hw/xfree86/xf86cfg/: expert.c Revision ChangesPath 3.2533+3 -1 xc/programs/Xserver/hw/xfree86/CHANGELOG 3.65 +21 -13xc/programs/Xserver/hw/xfree86/xf86config/xf86config.c 1.14 +18 -18xc/programs/Xserver/hw/xfree86/xf86cfg/expert.c ___ Cvs-commit mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/cvs-commit
CVS Update: xc (branch: trunk)
CVSROOT:/home/x-cvs Module name:xc Changes by: [EMAIL PROTECTED] 03/02/03 12:12:01 Log message: Fix random crashes when running xkbcomp -C to generate a C source xkb description due incorrect buffer size calculation. strlen(tmp+1) = strlen(tmp)+1 Modified files: xc/lib/xkbfile/: cout.c Revision ChangesPath 3.8 +2 -2 xc/lib/xkbfile/cout.c ___ Cvs-commit mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/cvs-commit
CVS Update: xc (branch: trunk)
CVSROOT:/home/x-cvs Module name:xc Changes by: [EMAIL PROTECTED] 03/01/19 21:29:08 Log message: Fix help text for mouse protocol selection. Modified files: xc/programs/Xserver/hw/xfree86/xf86config/: xf86config.c Revision ChangesPath 3.64 +12 -8 xc/programs/Xserver/hw/xfree86/xf86config/xf86config.c ___ Cvs-commit mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/cvs-commit
CVS Update: xc (branch: trunk)
CVSROOT:/home/x-cvs Module name:xc Changes by: [EMAIL PROTECTED] 03/01/18 20:44:45 Log message: o Fix use of uninitliazed variable in xmag/xmag.c (A.1525, Keith Packard) Also updated Xmag.ad to use proper comment prefix and add XFree86 ident. The callback was being called twice due to wrong translation table for the pixLabel widget, that was removed. o Initialize structure field man_globals-search_widget to NULL in xman code, the help message states that pressing Ctrl+S in the help window has no effect, but in some cases it would crash xman. Modified files: xc/programs/Xserver/hw/xfree86/: CHANGELOG xc/programs/xmag/: Xmag.ad xmag.c xc/programs/xman/: buttons.c handler.c Revision ChangesPath 3.2483+2 -1 xc/programs/Xserver/hw/xfree86/CHANGELOG 1.2 +2 -2 xc/programs/xmag/Xmag.ad 1.11 +3 -8 xc/programs/xmag/xmag.c 1.4 +3 -1 xc/programs/xman/buttons.c 1.6 +8 -5 xc/programs/xman/handler.c ___ Cvs-commit mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/cvs-commit
CVS Update: xc (branch: trunk)
CVSROOT:/home/x-cvs Module name:xc Changes by: [EMAIL PROTECTED] 03/01/17 23:27:18 Log message: 753. Changed the default mouse device for FreeBSD to sysmouse and the protocol to auto when running X -configure (#5584, Eric Anholt). 752. Changed the default mouse device for xf86cfg and xf86config to /dev/sysmouse for FreeBSD (#5582, #5583, Eric Anholt). I changed a bit #5582 and #5583. Moved wsmouse to the second option for xf86cfg -textmode (the first one is Auto), and added an Auto detect option to xf86config, also moved wsmouse to the second option. Also changed macro definitions in xf86config.c to allow cleaner patches later. Modified files: xc/programs/Xserver/hw/xfree86/xf86cfg/: text-mode.c xc/programs/Xserver/hw/xfree86/common/: xf86Configure.c xc/programs/Xserver/hw/xfree86/xf86config/: xf86config.c xc/programs/Xserver/hw/xfree86/: CHANGELOG Revision ChangesPath 1.20 +7 -5 xc/programs/Xserver/hw/xfree86/xf86cfg/text-mode.c 3.78 +4 -1 xc/programs/Xserver/hw/xfree86/common/xf86Configure.c 3.63 +53 -44xc/programs/Xserver/hw/xfree86/xf86config/xf86config.c 3.2480+5 -1 xc/programs/Xserver/hw/xfree86/CHANGELOG ___ Cvs-commit mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/cvs-commit
CVS Update: xc (branch: trunk)
CVSROOT:/home/x-cvs Module name:xc Changes by: [EMAIL PROTECTED] 03/01/15 22:25:53 Log message: o Fixed a problem in the xedit regex library, was using wrong code to reallocate space when merging character matches in a single string match. The problem did not appear early because the buffer size is increased at 16 (or 32 for case insensitive) bytes at a time. o Added a new syntax-highlight definition to allow easier viewing XFree86 log files. It will highlight the XFree86 version, the release date, the build operating system as well as (WW) warning, (EE) error lines, and use a very pale background color for (==) default, (**) config and (--) probed lines. Log of command line options and uncommon (notice, not implemented and unknown) messages will be highlighted almost identically to warnings. Modified files: xc/programs/xedit/lisp/modules/: Imakefile xedit.lsp xc/programs/xedit/lisp/re/: rec.c Added files: xc/programs/xedit/lisp/modules/progmodes/: xlog.lsp Revision ChangesPath 1.13 +2 -1 xc/programs/xedit/lisp/modules/Imakefile 1.10 +3 -1 xc/programs/xedit/lisp/modules/xedit.lsp 1.4 +5 -5 xc/programs/xedit/lisp/re/rec.c ___ Cvs-commit mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/cvs-commit
CVS Update: xc (branch: trunk)
CVSROOT:/home/x-cvs Module name:xc Changes by: [EMAIL PROTECTED] 03/01/12 19:57:59 Log message: o Minor change in how objects are gc protected while being read, this was done as an experiment to avoid fragmentation and a pseudo copying-gc, since the gains where smaller than 10% I kept the old simpler gc for now, but having more long lived objets stored sequentially isn't a bad idea. o Added a call to XFlush before entering the lisp interpreter from the C code, this is an attempt to fix a problem that may happen when the computer is heavily loaded, and Xlib routines are called from the timeout signal handler to check for user requested interrupts. o Some fixes for the automatic indentation for the C language. Now it will ignore spaces followed by a collon, since it joins everything in a single :expression token, it was treating ternary expressions and bitfield declarations as labels (and dedenting when the collon was typed). Fixed also the code for fastly finding a safe point from where to start calculating the indentation; could become confused with code like: for (exp1, exp2; test; inc) Also added handling for code like: if (t1) if (t2) do exp; while (test); Now it should correctly align the while with the do. This isn't a very important feature, as writting code without braces may become confusing. Modified files: xc/programs/xedit/lisp/: read.c xedit.c xc/programs/xedit/lisp/modules/progmodes/: c.lsp Revision ChangesPath 1.34 +10 -11xc/programs/xedit/lisp/read.c 1.24 +2 -1 xc/programs/xedit/lisp/xedit.c 1.24 +23 -2 xc/programs/xedit/lisp/modules/progmodes/c.lsp ___ Cvs-commit mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/cvs-commit
CVS Update: xc (branch: trunk)
CVSROOT:/home/x-cvs Module name:xc Changes by: [EMAIL PROTECTED] 03/01/07 21:07:40 Log message: Fix infinite loop when replacing an empty regex match. Normally an infinite loop will be started when replacing with an empty string, but it is possible that after replacing with a non empty string, the match will always happen. Modified files: xc/programs/xedit/: hook.c Revision ChangesPath 1.9 +9 -1 xc/programs/xedit/hook.c ___ Cvs-commit mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/cvs-commit
CVS Update: xc (branch: trunk)
CVSROOT:/home/x-cvs Module name:xc Changes by: [EMAIL PROTECTED] 03/01/01 11:22:25 Log message: o Added a new EOL_TOKEN to the parser, that is generated every time a new line is read from the config file, and most times just ignored, but is useful for configurations that may wish to know if all options are in the same line. o This patch also doesn't allow '#' in identifiers, before the patch, the parser could get confused with input like EndSection# comment. o Fix potencial problem in xf86cfg, when changing inplace an option value, it was also freeing it's comment but not setting the comment field to NULL. This is the second version of a patch to fix a problem described by Mike Harris: -- For example, if the original file contains: # If you'd like to switch the positions of your capslock and # control keys, use: # Option XkbOptionsctrl:nocaps #Option XkbOptions Identifier Keyboard0 Driver keyboard Option XkbRules xfree86 Option XkbModel pc105 Option XkbLayout us #Option XkbVariant After reading in with libxf86config and writing back out, it looks like: # If you'd like to switch the positions of your capslock and # control keys, use: # Option XkbOptionsctrl:nocaps #Option XkbOptions Identifier Keyboard0 Driver keyboard Option XkbRules xfree86 Option XkbModel pc105 Option XkbLayout us#Option XkbVariant The '#Option XkbVariant' part moved to the previous line. -- Note that comments aren't guaranteed to be restored to the exact format before being read by libxf86config, particularly, if an explanation should be done for a given section, the comment must be inside the section, for example: -- # comment Section InputDevice ... -- when saving the file with libxf86config, '# comment' will be placed in the start of the file, while: -- Section InputDevice # comment ... -- will be correctly restored. Modified files: xc/programs/Xserver/hw/xfree86/parser/: DRI.c Device.c Files.c Flags.c Input.c Keyboard.c Layout.c Module.c Monitor.c Pointer.c Screen.c Vendor.c Video.c read.c scan.c xf86tokens.h xc/programs/Xserver/hw/xfree86/xf86cfg/: keyboard-cfg.c Revision ChangesPath 1.13 +3 -1 xc/programs/Xserver/hw/xfree86/parser/DRI.c 1.25 +3 -1 xc/programs/Xserver/hw/xfree86/parser/Device.c 1.14 +3 -1 xc/programs/Xserver/hw/xfree86/parser/Files.c 1.21 +3 -1 xc/programs/Xserver/hw/xfree86/parser/Flags.c 1.12 +3 -1 xc/programs/Xserver/hw/xfree86/parser/Input.c 1.14 +3 -1 xc/programs/Xserver/hw/xfree86/parser/Keyboard.c 1.21 +5 -1 xc/programs/Xserver/hw/xfree86/parser/Layout.c 1.10 +4 -1 xc/programs/Xserver/hw/xfree86/parser/Module.c 1.26 +7 -1 xc/programs/Xserver/hw/xfree86/parser/Monitor.c 1.11 +3 -1 xc/programs/Xserver/hw/xfree86/parser/Pointer.c 1.23 +5 -1 xc/programs/Xserver/hw/xfree86/parser/Screen.c 1.15 +5 -1 xc/programs/Xserver/hw/xfree86/parser/Vendor.c 1.11 +5 -1 xc/programs/Xserver/hw/xfree86/parser/Video.c 1.22 +3 -1 xc/programs/Xserver/hw/xfree86/parser/read.c 1.23 +6 -2 xc/programs/Xserver/hw/xfree86/parser/scan.c 1.18 +2 -1 xc/programs/Xserver/hw/xfree86/parser/xf86tokens.h 1.22 +3 -1 xc/programs/Xserver/hw/xfree86/xf86cfg/keyboard-cfg.c ___ Cvs-commit mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/cvs-commit
CVS Update: xc (branch: trunk)
CVSROOT:/home/x-cvs Module name:xc Changes by: [EMAIL PROTECTED] 02/12/29 21:37:56 Log message: o Minor fix, use a single exit point for some functions, and add missing break statement in some code doing linear searches. Modified files: xc/programs/xedit/lisp/: lisp.c Revision ChangesPath 1.84 +21 -18xc/programs/xedit/lisp/lisp.c ___ Cvs-commit mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/cvs-commit
CVS Update: xc (branch: trunk)
CVSROOT:/home/x-cvs Module name:xc Changes by: [EMAIL PROTECTED] 02/12/25 22:34:28 Log message: o Fix problem when building mask for modified regions, was not building the correct mask when resolving text regions with no property, easy case to reproduce was opening/closing multiline C comments. Wasn't always correctly repainting text after comment. o Fix some problem when calling Xlib functions from a signal handler, to check if user have interrupted the lisp interpreter. Modified files: xc/programs/xedit/lisp/: xedit.c Revision ChangesPath 1.23 +23 -3 xc/programs/xedit/lisp/xedit.c ___ Cvs-commit mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/cvs-commit
CVS Update: xc (branch: trunk)
CVSROOT:/home/x-cvs Module name:xc Changes by: [EMAIL PROTECTED] 02/12/21 10:49:04 Log message: 680. Correct problem when the server prints the name of a 'private xkb action' in a format that xkbcomp cannot understand, and was causing problems when calling XkbGetKeyboard (Ivan Pascal). Message from Ivan Pascal describing the problem below: -- Hi, But there is yet another (probably) simple problem that I have noticed, and just did patches to not allow xf86cfg to crash, when it starts, it tries to load the current xkb configuration, in previous versions of XFree86 the current code in xc/programs/Xserver/hw/xfree86/xf86cfg/keywboard-cfg.c:InitializeKeyboard() was working fine, but now it always timeouts (actually, the timeout check and several tries was added because an already resolved problem with signals and interrupted reads when forking the Xserver to call xkbcomp). Fortunatly it was a simple bug. The thing is when you call XkbGetKeyboard the server converts a current xkb description to the text form, calls the xkbcomp and feeds it with this text, reads an XKM format file that the xkbcomp produces and finally sends this data to application. (I didn't know it is so complicated. I thought the server simply sends its internal structures. :( ) The problem is (was) there are some bugs in the procedures which write the xkb format file. And in some case they produce the text that the xkbcomp can't understand. (I say 'bugs' becouse I suspect there are some other besides one I caught.) In problem you describe the bug is a printing the name of 'the private xkb action'. As you know there are xkb actions recently added for server actions such as a VT mode switching. And in original files they looks like Private(type=0x86, data=...) and it is the form that the xkbcomp understands. But the 'reverse procudures' print it as 0x86(type=0x86, data[0]=...) As the result the xkbcomp can't read the text description, doesn't produce the XKM file and the XkbGetKeyboard procedure fails. I attached a patch. As you can see it is simplest. :) -- Ivan U. Pascal | e-mail: [EMAIL PROTECTED] Administrator of | Tomsk State University University Network | Tomsk, Russia -- Thanks to Ivan Pascal for fixing this problem. Modified files: xc/lib/xkbfile/: xkbtext.c xc/programs/Xserver/hw/xfree86/: CHANGELOG Revision ChangesPath 3.11 +1 -1 xc/lib/xkbfile/xkbtext.c 3.2459+4 -1 xc/programs/Xserver/hw/xfree86/CHANGELOG ___ Cvs-commit mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/cvs-commit
CVS Update: xc (branch: trunk)
CVSROOT:/home/x-cvs Module name:xc Changes by: [EMAIL PROTECTED] 02/12/20 12:18:39 Log message: 676. If some LEDs are lighting when one reloads the XKB keyboard map (using setxkbmap or xf86cfg) the LEDs become 'frozen' and can't be switched off. The patch fixes this bug. (#5544, Ivan Pascal). 675. Fix some problems with the addition of multi-layout scheme to xkb: some keys that aren't 'alphabetic' should be treated as such to allow CapsLock+Shift working as expected; sometimes it is required to load an include file more than once due to multi-layout configuration, also fix some typos (#5545, Ivan Pascal). 674. XKB programable 'special combinations' (such as Ctrl+Alt+key) also send usual key evants (press and release). Although the keysym generated in this case is NoSymbol such events can confuse some applications (#5546, Ivan Pascal). 673. Fix some remaining memory leaks in xkb initialization code (Paulo César Pereira de Andrade). Many thanks to Ivan Pascal for fixing these bugs and reviewing my patch for fixing remaining memory leaks. Modified files: xc/programs/xkbcomp/: symbols.c misc.c xc/programs/xkbcomp/symbols/pc/: latin cz mt_us pl2 sk xc/lib/xkbfile/: xkbmisc.c xc/programs/Xserver/xkb/: xkbActions.c xkb.c ddxConfig.c xkbInit.c xc/programs/Xserver/hw/xfree86/: CHANGELOG Revision ChangesPath 3.14 +18 -10xc/programs/xkbcomp/symbols.c 3.6 +2 -6 xc/programs/xkbcomp/misc.c 1.3 +0 -2 xc/programs/xkbcomp/symbols/pc/latin 1.4 +0 -2 xc/programs/xkbcomp/symbols/pc/cz 1.4 +1 -1 xc/programs/xkbcomp/symbols/pc/mt_us 1.3 +1 -1 xc/programs/xkbcomp/symbols/pc/pl2 1.4 +0 -2 xc/programs/xkbcomp/symbols/pc/sk 1.4 +66 -9 xc/lib/xkbfile/xkbmisc.c 3.10 +66 -2 xc/programs/Xserver/xkb/xkbActions.c 3.18 +14 -4 xc/programs/Xserver/xkb/xkb.c 3.8 +4 -4 xc/programs/Xserver/xkb/ddxConfig.c 3.24 +6 -12 xc/programs/Xserver/xkb/xkbInit.c 3.2457+16 -1 xc/programs/Xserver/hw/xfree86/CHANGELOG ___ Cvs-commit mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/cvs-commit
CVS Update: xc (branch: trunk)
CVSROOT:/home/x-cvs Module name:xc Changes by: [EMAIL PROTECTED] 02/12/19 20:32:48 Log message: o Store documentation in the atom segment, so that documentation will not be traversed in every gc call, also, associate it with the atom symbol structure instead of storing documentation in a global list. o Add setf method for documentation, argument to the setf method must be either a string to replace/create the doc-string, or nil to explicitly release the memory used for documentation. Also, documentation memory is never automatically released, that is, it is possible to have a symbol with no function associated, but with a function doc-string, this should make it easier to, for example, store documentation in a file, and optionally load it, as most times documentation is not required. o Fix bug in indentation definition for the C language, preprocessor lines were sometimes interfering incorrectly with the indentation calculation, simple case is: #else c-code the indentation code was treating #else as a normal else. o Correct pattern for identifier in progmodes/lisp.lsp, after previous patch was not highlighting package names. Modified files: xc/programs/xedit/lisp/: core.c core.h lisp.c private.h xc/programs/xedit/lisp/modules/: indent.lsp lisp.lsp xc/programs/xedit/lisp/modules/progmodes/: c.lsp lisp.lsp Revision ChangesPath 1.69 +54 -13xc/programs/xedit/lisp/core.c 1.35 +2 -1 xc/programs/xedit/lisp/core.h 1.83 +44 -137 xc/programs/xedit/lisp/lisp.c 1.39 +11 -11xc/programs/xedit/lisp/private.h 1.5 +2 -2 xc/programs/xedit/lisp/modules/indent.lsp 1.10 +2 -1 xc/programs/xedit/lisp/modules/lisp.lsp 1.23 +5 -7 xc/programs/xedit/lisp/modules/progmodes/c.lsp 1.7 +2 -136xc/programs/xedit/lisp/modules/progmodes/lisp.lsp ___ Cvs-commit mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/cvs-commit
CVS Update: xc (branch: trunk)
CVSROOT:/home/x-cvs Module name:xc Changes by: [EMAIL PROTECTED] 02/12/16 12:48:53 Log message: Minor change to allow us_intl to work with pc10? models, instead of only pc101. Modified files: xc/programs/xkbcomp/rules/: xfree86 Revision ChangesPath 3.46 +1 -1 xc/programs/xkbcomp/rules/xfree86 ___ Cvs-commit mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/cvs-commit
CVS Update: xc (branch: trunk)
CVSROOT:/home/x-cvs Module name:xc Changes by: [EMAIL PROTECTED] 02/12/09 19:59:04 Log message: o Fix two bugs show by the new file test/regex.lsp: + when compiling with RE_NOSUB only one result is returned; actually this is a xedit regex extension, NOSUB is mean't to only know if regex matches or not, but in xedit regex it means that parenthesis are used only for grouping patterns. + was not returning group offsets for zero length matches. o Fix some problems with lisp function open when using it to merely test the existence of a file, i.e. using :if-exists of :if-does-not-exist set to nil. These tests showed some possibilities to do when a more complete io code be rewritten, one nice thing to have would probably be only literaly create the file when the first write is done, so that for example, if an error happens and the file stream is garbage collected (or it is never cosed), and nothing was written, an empty file would not be created. The tests should also be merged, almost all test files have the test functions redefined, probably a Makefile options, something like: make test Modified files: xc/programs/xedit/lisp/: regex.c stream.c xc/programs/xedit/lisp/test/: stream.lsp Added files: xc/programs/xedit/lisp/test/: regex.lsp Revision ChangesPath 1.9 +17 -16xc/programs/xedit/lisp/regex.c 1.21 +41 -43xc/programs/xedit/lisp/stream.c 1.4 +53 -10xc/programs/xedit/lisp/test/stream.lsp ___ Cvs-commit mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/cvs-commit
CVS Update: xc (branch: trunk)
CVSROOT:/home/x-cvs Module name:xc Changes by: [EMAIL PROTECTED] 02/12/06 08:19:57 Log message: 580. lib/Xaw/MultiSrc.c improperly checks open() return value (A.1415, Jaromir Dolecek), Fix provided by Hideo Saito in NetBSD. Modified files: xc/programs/Xserver/hw/xfree86/: CHANGELOG xc/lib/Xaw/: MultiSrc.c Revision ChangesPath 3.2429+3 -1 xc/programs/Xserver/hw/xfree86/CHANGELOG 1.29 +2 -2 xc/lib/Xaw/MultiSrc.c ___ Cvs-commit mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/cvs-commit
CVS Update: xc (branch: trunk)
CVSROOT:/home/x-cvs Module name:xc Changes by: [EMAIL PROTECTED] 02/12/05 13:59:01 Log message: Don't enter an infinite loop setting a new timer when one expires. Problem easy to reproduce, press Alt+Shift+NumLock to enable/disable MouseKeys and it will never stop beeping, even switching to the console does not stop it. The problem also happens when enabling beeps in accessx to notice state changes. Modified files: xc/programs/Xserver/xkb/: ddxBeep.c Revision ChangesPath 3.9 +1 -1 xc/programs/Xserver/xkb/ddxBeep.c ___ Cvs-commit mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/cvs-commit
CVS Update: xc (branch: trunk)
CVSROOT:/home/x-cvs Module name:xc Changes by: [EMAIL PROTECTED] 02/12/04 10:43:19 Log message: o Don't print the contents of string streams. This is not the expected behaviour, and was also causing a problem in lisp/xedit.c, since it was not making a copy of the string, but using data returned by XawTextSourceRead. That data that cannot be modified, but was calling realloc on it, what could cause corruption of the text or a crash. Modified files: xc/programs/xedit/lisp/: write.c Revision ChangesPath 1.30 +2 -8 xc/programs/xedit/lisp/write.c ___ Cvs-commit mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/cvs-commit
CVS Update: xc (branch: trunk)
CVSROOT:/home/x-cvs Module name:xc Changes by: [EMAIL PROTECTED] 02/12/03 10:07:59 Log message: 568. XEditResCheckMessages trashed XtMalloced memory on some widget hierarchies, due to using incorrect indexes when removing duplicates (A.1409, Rob Arthan). I don't remember exactly how much of this was an extension I added, but at least the search for resources of type XtRWidget was done by me, and the wrong code to remove duplicates. Thanks to Rob Arthan for finding the bug (I think that code was never efectivelly tested, i.e. never checked agains't widget trees that would show duplicates). Modified files: xc/programs/Xserver/hw/xfree86/: CHANGELOG xc/lib/Xmu/: EditresCom.c Revision ChangesPath 3.2421+4 -1 xc/programs/Xserver/hw/xfree86/CHANGELOG 1.17 +2 -2 xc/lib/Xmu/EditresCom.c ___ Cvs-commit mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/cvs-commit
CVS Update: xc (branch: trunk)
CVSROOT:/home/x-cvs Module name:xc Changes by: [EMAIL PROTECTED] 02/12/03 21:28:01 Log message: o Several read and write functions were not checking if some argument was unspecified, in which case it should default to NIL. These problems were shown in the new tests in test/stream.lsp. o Added code to not allow '\0' in a symbol name, this could cause trouble as most code dealing with symbols assumes nul terminated symbol names. o Code to wrap writes to stderr was incorrect, XeditPrintf assumes a nul terminated string, but since Stderr is a buffered LispFile structure it was not passing a nul terminated string to WriteToStderr. o Added several new tests to test/stream.lsp. This patch is basically corrections to problems shown in the new set of tests. There is yet a large TODO list for the lisp interpreter, but I plan only bug fixes and more regression tests until XFree86 4.3.0 is out. Some things that should be done: + I just noticed some problems when running with MALLOC_OPTIONS set to AJ (FreeBSD malloc) the problems only happens when running the lisp interpreter inside xedit, this has high priority. Probably is a problem is lisp/xedit.c, but I do not discard the possibility of being a problem in Xaw triggered by the code in lisp/xedit.c. + Write more regression tests and merge the current ones to share a single file for the definition of functions like eq*-test and eq*-eval. + Check the tests with Clisp, Cmucl and Xlispstat at least, and make it run properly on these, some functions returns lists where order of elements may vary, or more than one result is correct, for example. Modified files: xc/programs/xedit/: lisp.c util.c xc/programs/xedit/lisp/: core.c core.h io.c lisp.c read.c stream.c stream.h string.c write.c write.h xedit.c xc/programs/xedit/lisp/modules/: lisp.lsp xc/programs/xedit/lisp/test/: stream.lsp Revision ChangesPath 1.20 +2 -2 xc/programs/xedit/lisp.c 1.25 +24 -19xc/programs/xedit/util.c 1.67 +1 -25 xc/programs/xedit/lisp/core.c 1.34 +1 -2 xc/programs/xedit/lisp/core.h 1.14 +6 -2 xc/programs/xedit/lisp/io.c 1.81 +9 -4 xc/programs/xedit/lisp/lisp.c 1.33 +19 -6 xc/programs/xedit/lisp/read.c 1.19 +3 -41 xc/programs/xedit/lisp/stream.c 1.7 +1 -4 xc/programs/xedit/lisp/stream.h 1.22 +5 -2 xc/programs/xedit/lisp/string.c 1.29 +97 -2 xc/programs/xedit/lisp/write.c 1.9 +6 -1 xc/programs/xedit/lisp/write.h 1.21 +15 -8 xc/programs/xedit/lisp/xedit.c 1.9 +9 -2 xc/programs/xedit/lisp/modules/lisp.lsp 1.2 +258 -1xc/programs/xedit/lisp/test/stream.lsp ___ Cvs-commit mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/cvs-commit
CVS Update: xc (branch: trunk)
CVSROOT:/home/x-cvs Module name:xc Changes by: [EMAIL PROTECTED] 02/12/02 06:49:45 Log message: Fix problem added in the last commit, syntax highlight stoped working. Change code in Lisp_Replace to use memmove instead of memcpy as strings may be the same. Modified files: xc/programs/xedit/lisp/: compile.c core.c Revision ChangesPath 1.12 +7 -0 xc/programs/xedit/lisp/compile.c 1.66 +1 -1 xc/programs/xedit/lisp/core.c ___ Cvs-commit mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/cvs-commit
CVS Update: xc (branch: trunk)
CVSROOT:/home/x-cvs Module name:xc Changes by: [EMAIL PROTECTED] 02/11/30 15:13:14 Log message: o Added a new test file test/stream.lsp. o Always evaluate aux arguments, actually they should be transformed soon to replace the function body with a let* block, as the effect is the same, but the variables will be added in the function/macro body itself, not in the caller code. o Updated ignore-errors to also restore the state in lisp__data.mem, in case of errors, this is required as ignore-errors does not return to the toplevel where any memory not passed to LispMused is freed, this also fixes any potential leak that would be generated. o Fixed several format problems that were shown in the new test file stream.lsp. o Added an wrapper to write functions, so while executing lisp functions in the xedit *scratch* buffer, anything that would be printed to stdout is printed to the *scratch* buffer and anything that would be printed to stderr is printed in the messages window. There isn't yet a wrapper for read, it is easy to do, but I will study it a bit better, as it should ask for input in the filename window, and it is already being used for filename, tab completion and regex search, probably need to allow the user know what is the current usage of the text window, maybe adding a simple prompt. o Changed wrong code that was doing a linear search in the symbols hash table, now when running the test/list.lsp instead of 600K calls to strcmp it is doing 60K. o Added calls to the macros {ENABLE,DISABLE}_INTERRUPT() in LispBeginBlock and also added a check for the stack depth, there isn't yet check for infinite recursion in macro expansion and bytecode. o Changed code in pathname.c to properly handle pathnames with embeded nuls and also to use default directory components as well as several fixes for problems that were shown by the new file test/stream.lsp. o Better floating point print functions, wasn't doing what was expected in some cases for ~G and not always doing correct rounding. Modified files: xc/programs/xedit/lisp/: compile.c core.c format.c internal.h io.c io.h lisp.c package.c pathname.c private.h read.c stream.c write.c xedit.c xc/programs/xedit/lisp/modules/: lisp.lsp xc/programs/xedit/lisp/test/: math.lsp Added files: xc/programs/xedit/lisp/test/: stream.lsp Revision ChangesPath 1.11 +2 -9 xc/programs/xedit/lisp/compile.c 1.65 +22 -2 xc/programs/xedit/lisp/core.c 1.28 +31 -24xc/programs/xedit/lisp/format.c 1.47 +1 -2 xc/programs/xedit/lisp/internal.h 1.13 +18 -5 xc/programs/xedit/lisp/io.c 1.7 +8 -2 xc/programs/xedit/lisp/io.h 1.80 +38 -47xc/programs/xedit/lisp/lisp.c 1.20 +33 -39xc/programs/xedit/lisp/package.c 1.16 +168 -97 xc/programs/xedit/lisp/pathname.c 1.38 +4 -1 xc/programs/xedit/lisp/private.h 1.32 +9 -10 xc/programs/xedit/lisp/read.c 1.18 +32 -42xc/programs/xedit/lisp/stream.c 1.28 +62 -47xc/programs/xedit/lisp/write.c 1.20 +42 -5 xc/programs/xedit/lisp/xedit.c 1.8 +2 -2 xc/programs/xedit/lisp/modules/lisp.lsp 1.4 +3 -3 xc/programs/xedit/lisp/test/math.lsp ___ Cvs-commit mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/cvs-commit
CVS Update: xc (branch: trunk)
CVSROOT:/home/x-cvs Module name:xc Changes by: [EMAIL PROTECTED] 02/11/24 18:35:32 Log message: o Better handling of multiple values, if a function/macro uses multiple values, the counter is reset before calling it, else reset after calling it. o Extended a bit the SeqInfo structure and added an initial macro to initialize it. This should be extended and generalized more, and will be mandatory as soon as more complete vector data start being supported/required. o Added a few new lisp functions, including defparameter, nset-exclusive-or, psetq and psetf. o Setf rewritten for slightly faster performance, but it the bytecode compiler should soon compile it, for true reasonable performance, and for interpreted code, LispFuncall should be extended to accept an extra argument, so that Lisp_Setf does not need to allocate a list to build function arguments, and this way, avoiding unnecessary gc time. o Changed way hash-tables are marked, if a hash table key or value was the hash-table itself, it would enter an infinite loop. o Progv reimplemented to follow the specification, and bind the symbols dynamically, and reset the state once the progv block is finished. o Search reimplemented as a model for the use of the SeqInfo structure and to make only one vector copy when :from-end != nil. o Removed the internal function lisp::set-symbol-value, just lisp::set is enough as now it has the correct behavior. o String*-trim reimplemented to work properly with strings containing nuls and this new implementation should be slightly faster/cleaner. o Made all string comparison functions be implemented in a single function called LispStringCompare, and also this new implementation should correctly handle strings with nuls. o String-{upcase,downcase,capitalize} reimplemented, as well as the inplace version of the functions added, this new version should be slightly faster and properly handle strings with nuls. o Added several new tests to test/list.lsp, these new tests allowed triggering several problems in the interpreter, and the problems are now fixed. The last patches are not optimization patches, but correctness updates, some incorrect optimizations were removed, but they can be readded, as they only do not work in a few cases, that are known and can be a flag set in the LispBuiltin structure. Modified files: xc/programs/xedit/lisp/: bytecode.c core.c core.h helper.c helper.h lisp.c string.c string.h xc/programs/xedit/lisp/modules/: lisp.lsp xc/programs/xedit/lisp/modules/progmodes/: c.lsp xc/programs/xedit/lisp/re/: rep.h xc/programs/xedit/lisp/test/: list.lsp Revision ChangesPath 1.14 +15 -5 xc/programs/xedit/lisp/bytecode.c 1.63 +556 -227 xc/programs/xedit/lisp/core.c 1.32 +5 -2 xc/programs/xedit/lisp/core.h 1.46 +2 -94 xc/programs/xedit/lisp/helper.c 1.15 +1 -8 xc/programs/xedit/lisp/helper.h 1.77 +53 -39xc/programs/xedit/lisp/lisp.c 1.20 +357 -259 xc/programs/xedit/lisp/string.c 1.11 +7 -1 xc/programs/xedit/lisp/string.h 1.6 +2 -2 xc/programs/xedit/lisp/modules/lisp.lsp 1.21 +6 -1 xc/programs/xedit/lisp/modules/progmodes/c.lsp 1.3 +2 -2 xc/programs/xedit/lisp/re/rep.h 1.4 +400 -1xc/programs/xedit/lisp/test/list.lsp ___ Cvs-commit mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/cvs-commit
CVS Update: xc (branch: trunk)
CVSROOT:/home/x-cvs Module name:xc Changes by: [EMAIL PROTECTED] 02/11/23 00:26:54 Log message: o Changed builtin functions to not allow using aux and default values for optional and key arguments. o Builtin functions now receive a special object called UNSPEC when an arguments was not specified, this allows triggering errors when NIL cannot be used, but was specified. Basically adds consistency to builtin functions, and this way it is also not required to add sforms to builtin function. o Changed code to always create a new list for rest arguments, and in the bytecode compiler, it checks if it is a list of constants, and also, if the function being called may retain/change the arguments, and in that case, allocates a new list. o Some simplifications for predicate tests, use integers instead of objects when comparing the result of the predicate. o Added a few new lisp functions, including mapc, mapl, symbol-value, etc. o Changed lisp function member to not share the same implementation of assoc, this function is commonly used enough to deserve an optimized implementation. o Added a writable field to strings, currently only used to make sure one does not try to change the string returned by symbol-name. o Several updates to the (kind of) regression test file test/list.lsp o Changed progmodes/c.lsp to define the variable *c-mode* after the function c-indent have been defined, this is basically for stronger type checking. o Several minor cleanups and sharing of code. Modified files: xc/programs/xedit/lisp/: README TODO bytecode.c bytecode.h compile.c core.c core.h hash.c helper.c internal.h lisp.c lsp.c math.c package.c package.h pathname.c private.h read.c regex.c require.c stream.c string.c string.h struct.c write.c xedit.c xc/programs/xedit/lisp/modules/: lisp.lsp psql.c x11.c xaw.c xt.c xc/programs/xedit/lisp/modules/progmodes/: c.lsp xc/programs/xedit/lisp/test/: list.lsp math.lsp Revision ChangesPath 1.12 +2 -5 xc/programs/xedit/lisp/README 1.8 +2 -9 xc/programs/xedit/lisp/TODO 1.13 +50 -6 xc/programs/xedit/lisp/bytecode.c 1.5 +3 -1 xc/programs/xedit/lisp/bytecode.h 1.8 +23 -24xc/programs/xedit/lisp/compile.c 1.61 +495 -386 xc/programs/xedit/lisp/core.c 1.30 +9 -1 xc/programs/xedit/lisp/core.h 1.4 +12 -7 xc/programs/xedit/lisp/hash.c 1.45 +19 -14xc/programs/xedit/lisp/helper.c 1.44 +8 -1 xc/programs/xedit/lisp/internal.h 1.75 +145 -136 xc/programs/xedit/lisp/lisp.c 1.7 +4 -2 xc/programs/xedit/lisp/lsp.c 1.21 +6 -6 xc/programs/xedit/lisp/math.c 1.17 +34 -27xc/programs/xedit/lisp/package.c 1.5 +3 -1 xc/programs/xedit/lisp/package.h 1.15 +42 -42xc/programs/xedit/lisp/pathname.c 1.36 +11 -2 xc/programs/xedit/lisp/private.h 1.31 +27 -10xc/programs/xedit/lisp/read.c 1.8 +10 -15xc/programs/xedit/lisp/regex.c 1.16 +6 -3 xc/programs/xedit/lisp/require.c 1.17 +15 -12xc/programs/xedit/lisp/stream.c 1.19 +20 -5 xc/programs/xedit/lisp/string.c 1.10 +2 -1 xc/programs/xedit/lisp/string.h 1.22 +28 -27xc/programs/xedit/lisp/struct.c 1.26 +26 -28xc/programs/xedit/lisp/write.c 1.18 +58 -64xc/programs/xedit/lisp/xedit.c 1.5 +3 -1 xc/programs/xedit/lisp/modules/lisp.lsp 1.12 +2 -2 xc/programs/xedit/lisp/modules/psql.c 1.10 +40 -22xc/programs/xedit/lisp/modules/x11.c 1.14 +5 -5 xc/programs/xedit/lisp/modules/xaw.c 1.19 +13 -11xc/programs/xedit/lisp/modules/xt.c 1.20 +115 -115 xc/programs/xedit/lisp/modules/progmodes/c.lsp 1.2 +309 -45 xc/programs/xedit/lisp/test/list.lsp 1.3 +2 -1 xc/programs/xedit/lisp/test/math.lsp ___ Cvs-commit mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/cvs-commit
CVS Update: xc (branch: trunk)
CVSROOT:/home/x-cvs Module name:xc Changes by: [EMAIL PROTECTED] 02/11/23 13:41:53 Log message: o Fix a nasty bug inserted in the previous patch, when editing c files, instead of replacing the text from the start of the line until the correct indentation position, it was replacing from the start of the file. Was a bug inserted in the bytecode compiler, when running interpreted functions it would not happen. o More cleanup to core.c. o Added some new lisp functions, including every, some, nunion, nintersection, etc. Most of these are just adding extra flags to existing functions, or have a single function that receives some flag, as the logic is almost identical. o Some cleanup and correct handling of multiple values for builtin macros/special operators. o Several new additions to test/list.lsp, these showed several problems in the interpreter, and are fixed in the current patch. What is not yet fixed in commented in test/list.lsp. Modified files: xc/programs/xedit/lisp/: compile.c core.c core.h internal.h lisp.c math.c package.c package.h xedit.c xc/programs/xedit/lisp/test/: list.lsp Revision ChangesPath 1.9 +3 -3 xc/programs/xedit/lisp/compile.c 1.62 +587 -119 xc/programs/xedit/lisp/core.c 1.31 +14 -1 xc/programs/xedit/lisp/core.h 1.45 +1 -4 xc/programs/xedit/lisp/internal.h 1.76 +22 -12xc/programs/xedit/lisp/lisp.c 1.22 +4 -2 xc/programs/xedit/lisp/math.c 1.18 +14 -1 xc/programs/xedit/lisp/package.c 1.6 +2 -1 xc/programs/xedit/lisp/package.h 1.19 +4 -2 xc/programs/xedit/lisp/xedit.c 1.3 +238 -7xc/programs/xedit/lisp/test/list.lsp ___ Cvs-commit mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/cvs-commit
CVS Update: xc (branch: trunk)
CVSROOT:/home/x-cvs Module name:xc Changes by: [EMAIL PROTECTED] 02/11/21 00:04:08 Log message: Oops, did not check all side effects of previous change, and syntax highlight stoped working. There were yet some bugs, and better type checking showed a problem in c.lsp. Modified files: xc/programs/xedit/lisp/: internal.h lisp.c struct.c xc/programs/xedit/lisp/modules/progmodes/: c.lsp Revision ChangesPath 1.43 +6 -1 xc/programs/xedit/lisp/internal.h 1.74 +4 -1 xc/programs/xedit/lisp/lisp.c 1.21 +4 -4 xc/programs/xedit/lisp/struct.c 1.19 +2 -2 xc/programs/xedit/lisp/modules/progmodes/c.lsp ___ Cvs-commit mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/cvs-commit
CVS Update: xc (branch: trunk)
CVSROOT:/home/x-cvs Module name:xc Changes by: [EMAIL PROTECTED] 02/11/20 23:25:18 Log message: o Added two new object types: LispFunction_t and LispFunctionQuote_t, to correctly distinguish 'function-name from #'function-name. o Changed bytecode compiler to compile lambda inline. o Added copy-alist and copy-tree. o Fix format when printing characters with ~S, was not correctly printing due to previous patch. o Changed equalp do the correct comparison for arrays, structures and hash-tables. o Added a few more character functions, including char-code, code-char, lower-case-p, etc. o Changed ignore-errors to not allow error messages to be printed, but return a string with the error message as it's second value. o Changed code that create bignum objects to call LispMused in LispNewBignum and LispNewBigratio. o Changed some offsets to use signed int instead of unsigned, because in some tests it would start with value - 1, what could cause incorrect values/offsets being tested. o Added the file test/list.lsp, to extend the tests to the interpreter. More tests will be added, and probably the tests will be integrated with the ones in test/math.lsp as well as at least two new files should be added, to test format and pathnames. Modified files: xc/programs/xedit/lisp/: bytecode.c compile.c core.c core.h format.c helper.c internal.h lisp.c math.c mathimp.c private.h read.c string.c string.h write.c xedit.c Added files: xc/programs/xedit/lisp/test/: list.lsp Revision ChangesPath 1.12 +9 -2 xc/programs/xedit/lisp/bytecode.c 1.7 +47 -10xc/programs/xedit/lisp/compile.c 1.60 +99 -24xc/programs/xedit/lisp/core.c 1.29 +3 -1 xc/programs/xedit/lisp/core.h 1.27 +9 -13 xc/programs/xedit/lisp/format.c 1.44 +70 -9 xc/programs/xedit/lisp/helper.c 1.42 +7 -1 xc/programs/xedit/lisp/internal.h 1.73 +86 -17xc/programs/xedit/lisp/lisp.c 1.20 +2 -6 xc/programs/xedit/lisp/math.c 1.13 +1 -6 xc/programs/xedit/lisp/mathimp.c 1.35 +10 -6 xc/programs/xedit/lisp/private.h 1.30 +12 -16xc/programs/xedit/lisp/read.c 1.17 +207 -138 xc/programs/xedit/lisp/string.c 1.9 +5 -1 xc/programs/xedit/lisp/string.h 1.25 +150 -1xc/programs/xedit/lisp/write.c 1.17 +2 -7 xc/programs/xedit/lisp/xedit.c ___ Cvs-commit mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/cvs-commit
CVS Update: xc (branch: trunk)
CVSROOT:/home/x-cvs Module name:xc Changes by: [EMAIL PROTECTED] 02/11/19 23:44:43 Log message: o Reimplemented lisp function append to generate the correct result with only one argument and create dotted lists. o Added lisp function nbutlast. o Added lisp macro ignore-errors, it cannot yet be fully implemented, but this version does the basic task, just leaving it's block if an error happens. o Changed LispXalloc functions to use a size_t instead of an unsigned argument. o Added a binary bit flag for streams and a line number field for file and string stream structures, if the stream is not binary, the column field is updated on writes and the line in reads. o Added more calls to DISABLE_INTERRUPTS() and ENABLE_INTERRUPTS(), not all the cases are being protected yet, but the code inside these now should be almost enough to avoid things like recursive free and malloc. o Added memory allocation hooks to the mp library, now it uses the LispXalloc functions, so that if an error is generated, any memory allocated by the library should be released. o Changed the read code to print more meaningful error messages, for example, if the file finishes before a list was completely read, it will print an error message telling which line the list started. o Changed the printed string of file streams to also print the current line number. o The *print-escape* behaviour is now only controled by the value of the variable, no escape state is stored in streams (what was incorrect). o Minor fix to the interactive callback when resolving offsets to reparse, now should not sometimes redraw a lot more of what was changed. It is still required some smarter code, for example, if it is not being able to update the screen contents as fast as the user types, it should just remember offsets to update as soon as it becomes idle. I am writting a set of tests for most of the currently implemented functions, but somethings that should be implemented soon include true vectors and either a new special file stream object or add an option to every existing stream to allow it to call a wrapper read/write/fcntl/etc function, this would make it very easy to make read calls in *standard-input* just call a callback that would return text typed in some text field, etc. Modified files: xc/programs/xedit/lisp/: core.c core.h internal.h io.c io.h lisp.c math.c mathimp.c read.c write.c write.h xedit.c xc/programs/xedit/lisp/mp/: mp.c mp.h mpi.c xc/programs/xedit/lisp/test/: math.lsp Revision ChangesPath 1.59 +114 -24 xc/programs/xedit/lisp/core.c 1.28 +3 -1 xc/programs/xedit/lisp/core.h 1.41 +8 -6 xc/programs/xedit/lisp/internal.h 1.12 +84 -18xc/programs/xedit/lisp/io.c 1.6 +7 -4 xc/programs/xedit/lisp/io.h 1.72 +49 -26xc/programs/xedit/lisp/lisp.c 1.19 +6 -1 xc/programs/xedit/lisp/math.c 1.12 +1 -5 xc/programs/xedit/lisp/mathimp.c 1.29 +165 -60 xc/programs/xedit/lisp/read.c 1.24 +28 -47xc/programs/xedit/lisp/write.c 1.8 +1 -11 xc/programs/xedit/lisp/write.h 1.16 +2 -3 xc/programs/xedit/lisp/xedit.c 1.3 +87 -9 xc/programs/xedit/lisp/mp/mp.c 1.5 +13 -4 xc/programs/xedit/lisp/mp/mp.h 1.12 +2 -2 xc/programs/xedit/lisp/mp/mpi.c 1.2 +54 -52xc/programs/xedit/lisp/test/math.lsp ___ Cvs-commit mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/cvs-commit
CVS Update: xc (branch: trunk)
CVSROOT:/home/x-cvs Module name:xc Changes by: [EMAIL PROTECTED] 02/11/08 00:01:01 Log message: Changed all functions to use a global LispMac pointer. The interpreter never alowed more than one instance, so there is no need to make it an argument to every function. Just doing it made some tests 10% faster. This is the first step in a major change I am doing. I almost finished a new math driver, that makes it easier to have different sized objects, and will also make it easy to have integers and characters encoded in the object pointer. The next patch should add the change to have integers encoded in the pointer, and thus, free gc for loop counters and integers that can be represented in 28 bits for a 32 bits computer. Modified files: xc/programs/xedit/: Xedit-sample lisp.c xc/programs/xedit/lisp/: README TODO bytecode.c bytecode.h compile.c core.c core.h debugger.c debugger.h format.c format.h hash.c hash.h helper.c helper.h internal.h io.c io.h lisp.c lisp.cf lisp.h lisp.rules lsp.c math.c math.h mathimp.c package.c package.h pathname.c pathname.h private.h read.c read.h regex.c regex.h require.c require.h stream.c stream.h string.c string.h struct.c struct.h time.c time.h write.c write.h xedit.c xedit.h xc/programs/xedit/lisp/modules/: psql.c x11.c xaw.c xt.c xc/programs/xedit/lisp/mp/: Imakefile mp.c mp.h mpr.c xc/programs/xedit/lisp/re/: Imakefile tests.txt xc/programs/xedit/lisp/test/: hello.lsp widgets.lsp Revision ChangesPath 1.10 +0 -0 xc/programs/xedit/Xedit-sample 1.15 +10 -9 xc/programs/xedit/lisp.c 1.10 +0 -0 xc/programs/xedit/lisp/README 1.7 +1 -4 xc/programs/xedit/lisp/TODO 1.9 +305 -313 xc/programs/xedit/lisp/bytecode.c 1.4 +6 -6 xc/programs/xedit/lisp/bytecode.h 1.5 +88 -130 xc/programs/xedit/lisp/compile.c 1.54 +511 -526 xc/programs/xedit/lisp/core.c 1.26 +155 -155 xc/programs/xedit/lisp/core.h 1.22 +118 -107 xc/programs/xedit/lisp/debugger.c 1.7 +2 -2 xc/programs/xedit/lisp/debugger.h 1.24 +205 -212 xc/programs/xedit/lisp/format.c 1.3 +2 -2 xc/programs/xedit/lisp/format.h 1.2 +39 -39xc/programs/xedit/lisp/hash.c 1.2 +13 -13xc/programs/xedit/lisp/hash.h 1.40 +124 -128 xc/programs/xedit/lisp/helper.c 1.12 +20 -20xc/programs/xedit/lisp/helper.h 1.35 +166 -127 xc/programs/xedit/lisp/internal.h 1.10 +32 -28xc/programs/xedit/lisp/io.c 1.4 +5 -5 xc/programs/xedit/lisp/io.h 1.66 +831 -856 xc/programs/xedit/lisp/lisp.c 1.6 +0 -0 xc/programs/xedit/lisp/lisp.cf 1.5 +9 -11 xc/programs/xedit/lisp/lisp.h 1.11 +0 -0 xc/programs/xedit/lisp/lisp.rules 1.6 +7 -6 xc/programs/xedit/lisp/lsp.c 1.16 +146 -146 xc/programs/xedit/lisp/math.c 1.6 +58 -58xc/programs/xedit/lisp/math.h 1.9 +929 -963 xc/programs/xedit/lisp/mathimp.c 1.15 +92 -96xc/programs/xedit/lisp/package.c 1.4 +20 -20xc/programs/xedit/lisp/package.h 1.13 +64 -71xc/programs/xedit/lisp/pathname.c 1.4 +21 -21xc/programs/xedit/lisp/pathname.h 1.32 +79 -75xc/programs/xedit/lisp/private.h 1.23 +223 -223 xc/programs/xedit/lisp/read.c 1.2 +2 -2 xc/programs/xedit/lisp/read.h 1.6 +18 -20xc/programs/xedit/lisp/regex.c 1.3 +5 -5 xc/programs/xedit/lisp/regex.h 1.14 +13 -13xc/programs/xedit/lisp/require.c 1.4 +3 -3 xc/programs/xedit/lisp/require.h 1.14 +81 -82xc/programs/xedit/lisp/stream.c 1.5 +24 -24xc/programs/xedit/lisp/stream.h 1.15 +124 -125 xc/programs/xedit/lisp/string.c 1.8 +48 -48xc/programs/xedit/lisp/string.h 1.17 +38 -38xc/programs/xedit/lisp/struct.c 1.5 +7 -7 xc/programs/xedit/lisp/struct.h 1.7 +12 -12xc/programs/xedit/lisp/time.c 1.3 +2 -2 xc/programs/xedit/lisp/time.h 1.15 +208 -208 xc/programs/xedit/lisp/write.c 1.5 +27 -30xc/programs/xedit/lisp/write.h 1.7 +94 -101 xc/programs/xedit/lisp/xedit.c 1.4 +32 -32xc/programs/xedit/lisp/xedit.h 1.10 +112 -113 xc/programs/xedit/lisp/modules/psql.c 1.8 +91 -91xc/programs/xedit/lisp/modules/x11.c 1.12 +96 -99xc/programs/xedit/lisp/modules/xaw.c 1.17 +175 -182 xc/programs/xedit/lisp/modules/xt.c 1.3 +0 -0 xc/programs/xedit/lisp/mp/Imakefile 1.2 +0 -0
CVS Update: xc (branch: trunk)
CVSROOT:/home/x-cvs Module name:xc Changes by: [EMAIL PROTECTED] 02/11/04 22:57:06 Log message: Xedit could crash when listing contents of directories with permission r--, so at least for now, if it can opendir a directory, but cannot stat() a pathname inside the directory, it will not be listed, and the return value of realpath is also being checked. Minor fix to syntax.lsp, in the first call, when the interactive flag is not set, it must set the property list associated with the file format even it is empty, the C code expects it. Modified files: xc/programs/xedit/: commands.c xc/programs/xedit/lisp/modules/: syntax.lsp Revision ChangesPath 1.29 +21 -9 xc/programs/xedit/commands.c 1.10 +7 -4 xc/programs/xedit/lisp/modules/syntax.lsp ___ Cvs-commit mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/cvs-commit
CVS Update: xc (branch: trunk)
CVSROOT:/home/x-cvs Module name:xc Changes by: [EMAIL PROTECTED] 02/11/03 12:10:28 Log message: o Some changes to the c-should-indent lisp function to allow the user adjust the indentation if the indentation code does not get it right. o Fix wrong check in Xaw when rebuilding the line table. If the width a line becomes smaller should clear to eol. o Fix a more hard to detect problem, and this one should have an exported interface due to the conditions it happens, basically: o indent a line o call the undo action + since the undo action is called, the callback telling that text was changed will also be called, but in this case, no change in the text should be done. The situation is currently only detectable looking at the interal state of the text source object. This fix the problems I noticed in Xaw with the auto indentation interface, but the problem with the undo action is not generalized, should have a way to query the state without needing to check the widget's internal state. Modified files: xc/lib/Xaw/: Text.c xc/programs/xedit/lisp/: xedit.c xc/programs/xedit/lisp/modules/progmodes/: c.lsp Revision ChangesPath 3.52 +1 -1 xc/lib/Xaw/Text.c 1.4 +5 -2 xc/programs/xedit/lisp/xedit.c 1.16 +23 -22xc/programs/xedit/lisp/modules/progmodes/c.lsp ___ Cvs-commit mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/cvs-commit
CVS Update: xc (branch: trunk)
CVSROOT:/home/x-cvs Module name:xc Changes by: [EMAIL PROTECTED] 02/11/03 20:15:53 Log message: Fixed bug in the code that tries to minimze the amount of text redrawn. Added an interface to allow interrupting the lisp code. This was probably the major problem after changing to run everything in the same process space. I think the way it was implemented was the most portable one, basically poll every second to check if Control+G was pressed using SIGALRM. I believe the Xlib code being called from the signal handler is safe, but not 100% sure. If you have any problems, please let me know. Maybe should use XCheckIfEvent to not remove anything typed before pressing C-g... Modified files: xc/programs/xedit/: lisp.c xc/programs/xedit/lisp/: lisp.c private.h xedit.c xedit.h Revision ChangesPath 1.14 +2 -3 xc/programs/xedit/lisp.c 1.65 +65 -21xc/programs/xedit/lisp/lisp.c 1.31 +9 -1 xc/programs/xedit/lisp/private.h 1.5 +86 -39xc/programs/xedit/lisp/xedit.c 1.3 +2 -2 xc/programs/xedit/lisp/xedit.h ___ Cvs-commit mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/cvs-commit
CVS Update: xc (branch: trunk)
CVSROOT:/home/x-cvs Module name:xc Changes by: [EMAIL PROTECTED] 02/11/02 14:58:11 Log message: o Fixed a bug in the regex library, was checking one byte after the end of the string when matching Eow, the result would only be guaranteed to be true for null terminated strings. o Fixed several problems in the bytecode compiler, including: + was not compiling functions with key parameters + was not working properly when calling bytecode from bytecode Now there is a new opcode XBC_BYTECALL, to allow fastly calling bytecode from bytecode. This needs a review, because there are some problems: + function may be redefined. the bytecode will call the old definition, and the old definition is gc-protected in the toplevel bytecode. this is not the better solution, if a function is redefined, the bytecode should be updated. + default argument values and aux parameters should be processed in the function body, not in the caller. o Added lisp functions find, find-if and find-if-not, sharing most of the code with the definitions of position{,-if,-if-not}. o Fixed lisp function search, algorithm was completely wrong. o Added a completely new (experimental) code for indentation. Basically it uses regex to get tokens, and then allows searching high-level patterns in the result, while scanning the file backwards, tokens are generated with definitions like: (indtoken \\if\\ :c-if) (indtoken ( :oparen :nospec t) (indtoken ) :cparen :nospec t) ... and then rules are created to search the patterns, rules have a format like: (indreduce :parens t ((:oparen (not oparen) :cparen)) ) (indreduce :if t ((:c-if :parens)) ) The indentation is calculated in 3 steps, one step to search for tokens with regex patterns, one reduction step, to search for high-level patterns (in this step the parsers may terminate, rejecting tokens if it thinks a safe-place was found; a safe-place is a point from where it can calculate indentation based on the indentation of this safe place), and a last step where user code is called for every final token. See the file progmodes/c.lsp for a sample of the concept, and the file indent.lsp for the indent-macro defintion. The user code attached to the rules is the argument for several macros, so that it is possible to bytecode compile the resulting parser/matcher. Modified files: xc/programs/xedit/lisp/: TODO bytecode.c bytecode.h compile.c core.c core.h internal.h lisp.c package.c xc/programs/xedit/lisp/modules/: Imakefile syntax.lsp xc/programs/xedit/lisp/modules/progmodes/: c.lsp xc/programs/xedit/lisp/re/: re.c Added files: xc/programs/xedit/lisp/modules/: indent.lsp Revision ChangesPath 1.6 +22 -1 xc/programs/xedit/lisp/TODO 1.8 +189 -26 xc/programs/xedit/lisp/bytecode.c 1.3 +5 -1 xc/programs/xedit/lisp/bytecode.h 1.4 +68 -36xc/programs/xedit/lisp/compile.c 1.53 +93 -47xc/programs/xedit/lisp/core.c 1.25 +5 -1 xc/programs/xedit/lisp/core.h 1.34 +2 -1 xc/programs/xedit/lisp/internal.h 1.64 +12 -5 xc/programs/xedit/lisp/lisp.c 1.14 +4 -2 xc/programs/xedit/lisp/package.c 1.11 +1 -0 xc/programs/xedit/lisp/modules/Imakefile 1.9 +6 -3 xc/programs/xedit/lisp/modules/syntax.lsp 1.13 +697 -957 xc/programs/xedit/lisp/modules/progmodes/c.lsp 1.6 +3 -2 xc/programs/xedit/lisp/re/re.c ___ Cvs-commit mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/cvs-commit
CVS Update: xc (branch: trunk)
CVSROOT:/home/x-cvs Module name:xc Changes by: [EMAIL PROTECTED] 02/11/02 16:47:30 Log message: Minor fixes for constructs like: if (...) { and switch (...) { these were working in an intermediate version of the parser. Modified files: xc/programs/xedit/lisp/modules/progmodes/: c.lsp Revision ChangesPath 1.14 +13 -4 xc/programs/xedit/lisp/modules/progmodes/c.lsp ___ Cvs-commit mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/cvs-commit
CVS Update: xc (branch: trunk)
CVSROOT:/home/x-cvs Module name:xc Changes by: [EMAIL PROTECTED] 02/11/02 21:01:19 Log message: Minor fix. Invert order of two rules to properly indent GNU style, was not decrementing one indentation for code like: if (...) { ... } _= cursor was not being placed in the correct indentation. The :newline-indent option is not working properly also, will fix it later. Modified files: xc/programs/xedit/lisp/modules/progmodes/: c.lsp Revision ChangesPath 1.15 +5 -5 xc/programs/xedit/lisp/modules/progmodes/c.lsp ___ Cvs-commit mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/cvs-commit
CVS Update: xc (branch: trunk)
CVSROOT:/home/x-cvs Module name:xc Changes by: [EMAIL PROTECTED] 02/10/20 21:18:36 Log message: Add a stylized XCalc-color. Make sure the XF86Config_path string is always writable, and if xf86cfg fails to open the config file, check if the path ends in '-4', and if it is true, try removing the ending '-4'. Minor change to the indentation code, when there are nested switches. I will study some alternative to the current indentation code, it is too much complex and does not allow easily creating rules for other languages, at least not smart rules, that truly understand the code. Modified files: xc/programs/xcalc/: XCalc-col.ad xc/programs/xedit/lisp/modules/progmodes/: c.lsp xc/programs/Xserver/hw/xfree86/xf86cfg/: config.c interface.c Revision ChangesPath 1.2 +99 -37xc/programs/xcalc/XCalc-col.ad 1.12 +6 -4 xc/programs/xedit/lisp/modules/progmodes/c.lsp 1.8 +15 -2 xc/programs/Xserver/hw/xfree86/xf86cfg/config.c 1.37 +2 -2 xc/programs/Xserver/hw/xfree86/xf86cfg/interface.c ___ Cvs-commit mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/cvs-commit