summaryrefslogtreecommitdiff
path: root/lisp
AgeCommit message (Collapse)Author
2014-09-09Check for pagesize options via autoconf instead of per-platform #ifdefsAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-09-09Copious const cleanupAlan Coopersmith
Removes 1554 gcc warnings of "discards ‘const’ qualifier" Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-12-17Remove obsolete Imake SIGNALRETURNSINTGaetan Nadon
Assume signal handlers return void, as C89 requires Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2012-07-11Do not unconditionally define DEBUG.Thomas Klausner
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2012-05-31Avoid problems with builds with -Werror=format-security.pcpa
Signed-off-by: pcpa <paulo.cesar.pereira.de.andrade@gmail.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2012-05-31Correct 64 bit overflow check and bignum code.pcpa
Signed-off-by: pcpa <paulo.cesar.pereira.de.andrade@gmail.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2012-05-31Update fallback implementation of missing libc functionspcpa
This commit updates realpath.c from http://www.openbsd.org/cgi-bin/cvsweb/src/lib/libc/stdlib/realpath.c?rev=1.14;content-type=text/plain and lisp/env.c from http://www.openbsd.org/cgi-bin/cvsweb/src/lib/libc/stdlib/getenv.c?rev=1.10;content-type=text/plain and http://www.openbsd.org/cgi-bin/cvsweb/src/lib/libc/stdlib/setenv.c?rev=1.13;content-type=text/plain The update reason is to replace files under "4 clause BSD", that is considered problematic or require special documentation notation or conditions when redistributing free software. Signed-off-by: pcpa <paulo.cesar.pereira.de.andrade@gmail.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-12-04Fix builds of lisp/core.c with Solaris Studio compilersAlan Coopersmith
Required in order to build with Studio cc now that xorg-macros is setting -errwarn=E_FUNC_HAS_NO_RETURN_STMT since a bug in the Solaris system headers causes the noreturn attribute to not be correctly applied to the exit() prototype in <stdlib.h> when building with Studio instead of gcc. Otherwise compiler exits with error: "lisp/core.c", line 4329: Function has no return statement : Lisp_Quit Uses Studio-specific pragma instead of adding another exit() prototype with a noreturn attribute to avoid causing gcc to warn about having a redundant prototype for the exit() function. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2009-10-22.gitignore: use common defaults with custom section # 24239Gaetan Nadon
Using common defaults will reduce errors and maintenance. Only the very small or inexistent custom section need periodic maintenance when the structure of the component changes. Do not edit defaults.
2008-12-02Don't put EOF in the unget buffer.Paulo Cesar Pereira de Andrade
2008-11-10Don't highlight quotes in nested syntax tables for "auto" mode.Paulo Cesar Pereira de Andrade
To properly do it, it should also match the pattern for the macro name, to know if it is a plain text one or not, otherwise, it will get confused with usage of the characters (') and (`).
2008-07-10 Update file type pattern matching.Paulo Cesar Pereira de Andrade
Consider a file ending in .l a lisp source file. Allow an arbitrary number of bytes following the filename for xconf and xlog modes. Don't use make mode for "Imakefile". Require a slash before [Mm]akefile.*.
2008-07-02Add python mode.Paulo Cesar Pereira de Andrade
This mode adds syntax highlight and automatic indentation. Unlike most other modes with automatic indentation, this mode most only reads one line back to figure the proper indentation. Some features include: o When the first character in a line is typped, it automatically moves it to the proper tab stop. o Increments one indentation level if line ends in ':'. o Properly handle vector/hash table declarations.
2008-07-02Compile warning fixes.Paulo Cesar Pereira de Andrade
Add parenthesis around a test where after macro expansion it looked like boolexpr==boolres==boolres. "Ansifiy" a function without arguments.
2008-07-02Fix an incorrect buffer size calculation and allocation.Paulo Cesar Pereira de Andrade
2008-07-02Add perl and "auto tools" modes.Paulo Cesar Pereira de Andrade
Auto mode has only syntax highlight mode; needs some tweaking to ignore "'" characters where they are allowed, i.e. usually descriptions. Perl mode has syntax highlight and indentation support. May need some tweaking for some files where it may parse back too much lines before assuming the indentation is correct.
2008-07-02Update syntax highlight table and some minor tweaks including:Paulo Cesar Pereira de Andrade
o Don't cause an warning due to an unused variable after macro expansion in some indentation tables. o Properly handle c++ style comments in preprocessor lines. Also highlight strings and character constants. o Change color of "quote" property in lisp mode. This is mainly due to an undesirable side effect of using the same XrmQuark in different syntax highlight definitions, causing the first one to be used, and later defined ones to be ignored.
2008-07-02Generic lisp interface bug fixes including:Paulo Cesar Pereira de Andrade
o Allow calling disassemble in all function types o Don't limit amount of bytes to generate a hash table o Allow "unreadable" symbol names to be keywords
2008-07-02Add a generic hash table interface to replace the other implementations.Paulo Cesar Pereira de Andrade
2008-07-01Fix a bug in the regex libraryPaulo Cesar Pereira de Andrade
The bug causes the regex parser to enter an infinite loop with certain special patterns with alternatives. Test cases also added to ensure the bug will be triggered by the tests if it is somehow reinstantiated. Also testing commit to xedit git repository.
2005-10-28build fixXORG-6_8_99_903XORG-6_8_99_902Alan Hourihane
2005-10-23Bug #1860: Prevent walking off the end of the scan_types array.Adam Jackson
2005-07-12- lib/lbxutil/lbxutil.pc.in: link to lbxutil, not XfixesXORG-6_8_99_901XORG-6_8_99_900XORG-6_8_99_16XORG-6_8_99_15Søren Sandmann Pedersen
- symlink.sh: add xedit.h, add xedit/lis/mp directory, add xfs - xc/programs/xedit: include "lisp/../xedit.h" instead of xedit/xedit.h - Change include of "foo.h" to <X11/.../foo.h> in various places in xc/programs/lbxproxy and xc/programs/xfs - add build system for xfs - add forgotten lbxproxytrans.c file
2004-12-04Encoding of numerous files changed to UTF-8Markus Kuhn
2004-09-21Merged over libXpm security fix provided by Chris Evans, Matthieu Herrb andEgbert Eich
Alan Coopersmith from release 6.8.1. Fail during initialization with error if font/fontset is not set for widget. This prevents a sig11 later when the non-existent font/fontset structs are referenced. Check if xf86Info.kbdProc pointer is really set before calling it on abort as this pointer won't be set if the new modular keyboard driver is used (Matthias Hopf). Added new libs to the bindist control files. Removed inclusion of unnecessary kernel header on Linux. This may fail in an -ansi environment.
2004-09-02Restore xman and xedit changes that were previously reverted, and makerel-0-6-1lg3d-rel-0-7-0lg3d-baseXORG-6_8_1XORG-6_8_0XORG-6_7_99_904Kevin E Martin
Xprint support optional (Bug #1273, Roland Mainz).
2004-08-16As discussed and agreed on on the release-wranglers meeting of August 16,XORG-6_7_99_903XORG-6_7_99_902XORG-6_7_99_901Kristian Høgsberg
I'm committing the patch from bug #1060 to back out unconditional Xprint functionality. Back out Xprint changes. Revert xman to CVS of June 5, revert xlogo to CVS of May 8, revert xedit to CVS of April 25, to back out unconditional Xprint support. Fix up Xprint config logic to be like the rest of the extensions: BuildXprint is a one-stop option for disabling everything Xprint related. XprtServer controls building Xprt, BuildXprintLib controls building Xprint libs and BuildXprintClients controls building clients related to Xprint. BuiltXprint defaults to YES and the other options respects relevant settings, i.e. BuildServer and BuildServersOnly. Build Xaw regardless of BuildXprintLib setting. Only build xphelloworld, xplsprinters and xprehashprinterlist when BuildXprintClients it YES. Disable building xmore, it has always supported XawPrintShell. Make Xprint support depend on BuildXprintLib.
2004-05-06BugZilla #601: Fixing makedepend choking on floating point exceptionEgbert Eich
because CHAR_BIT is defined to __CHAR_BIT__ which is a compiler intrinsic define. BugZilla #605: Fixing build on IA64 which is broken due to the inclusion of the kernel header asm/page.h. Kernel headers however don't work with -ansi. The inclusion of asm/page.h can however savely be removed as it there are plenty of other ways to determine the page size.
2004-04-23Merging XORG-CURRENT into trunkXACE-SELINUX-MERGEEgbert Eich
2004-03-14Importing vendor version xf86-4_4_99_1 on Sun Mar 14 00:26:39 PST 2004xf86-4_4_99_1Egbert Eich
2004-03-03Importing vendor version xf86-4_4_0 on Wed Mar 3 04:09:24 PST 2004xf86-4_4_0Egbert Eich
2004-02-26readding XFree86's cvs IDsxf86-4_3_99_903Egbert Eich
2004-02-26Importing vendor version xf86-4_3_99_903 on Wed Feb 26 01:21:00 PST 2004Egbert Eich
2004-02-23Import most of XFree86 4.4RC3. This import excludes files which have thexf86-4_3_99_903_specialKaleb Keithley
new license. If we want to, later we can import 4.4RC3 again and pick up the files that have the new license, but for now the vendor branch is "pure."
2004-01-29Importing vendor version xf86-012804-2330 on Thu Jan 29 00:06:33 PST 2004xf86-012804-2330Egbert Eich
2003-12-19XFree86 4.3.99.902 (RC 2)xf86-4_3_99_902Kaleb Keithley
2003-12-19Initial revisionKaleb Keithley
2003-12-04XFree86 4.3.99.901 (RC 1)xf86-4_3_99_901Kaleb Keithley
2003-11-25XFree86 4.3.99.16 Bring the tree up to date for the Cygwin folksxf86-4_3_99_16Kaleb Keithley
2003-11-14Initial revisionKaleb Keithley