summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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>
2011-09-25Require xt >= 1.0 for appdefaultdirJeremy Huddleston
https://bugs.freedesktop.org/show_bug.cgi?id=7237 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-01-19config: move man pages into their own directoryGaetan Nadon
Use services provided by XORG_MANPAGE_SECTIONS. Use standard Makefile for man pages. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-01-13man: replace hard coded man page section with substitution stringsGaetan Nadon
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-01-13man: remove trailing spaces and tabsGaetan Nadon
Using s/[ \t]*$// Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-01-12config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERSGaetan Nadon
This silences an Autoconf warning
2011-01-12config: replace deprecated AC_HELP_STRING with AS_HELP_STRINGGaetan Nadon
This silences an Automake warning. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-10-30xedit 1.2.0xedit-1.2.0Alan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-10-30config: Remove unnecessary calls from configure.acAlan Coopersmith
AC_PROG_CC & AC_PROG_INSTALL are provided by XORG_DEFAULT_OPTIONS now Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-10-30config: update AC_PREREQ statement to 2.60Gaetan Nadon
Unrelated to the previous patches, the new value simply reflects the reality that the minimum level for autoconf to configure all x.org modules is 2.60 dated June 2006. ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.60.tar.gz Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-07-01Xmu functions are called directly, so include it in PKG_CHECK_MODULESAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-07-01config: upgrade to util-macros 1.8 for additional man page supportAlan Coopersmith
Use MAN_SUBST now supplied in XORG_MANPAGE_SECTIONS The value of MAN_SUBST is the same for all X.Org packages. Use AC_PROG_SED now supplied by XORG_DEFAULT_OPTIONS The existing statement can now be removed from the configuration file. Use automake provided $(AM_V_GEN) and XORG_DEFAULT_OPTIONS provided $(SED) Enables silent rule and use platform appropriate version of sed. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-03-26xprint: remove conditionally defined related C codeGaetan Nadon
Reviewed-by: Jeremy Huddleston <jeremyhu@freedestop.org> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-03-25xprint: remove xprint related C codeGaetan Nadon
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-03-25xprint: remove Xedit-xprint resource fileGaetan Nadon
Remove configuration regarding xprint support Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-03-25config: remove dependency on xaw8Gaetan Nadon
Remove configure option --enable-xprint Remove AM conditional USE_XPRINT Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2009-12-19configure.ac: use backticks rather than $() for cmd subsGaetan Nadon
Use "$PKG_CONFIG" rather than hard coded "pkg-config" Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2009-11-26Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILESGaetan Nadon
Now that the INSTALL file is generated. Allows running make maintainer-clean.
2009-10-28INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206Gaetan Nadon
Add missing INSTALL file. Use standard GNU file on building tarball README may have been updated Remove AUTHORS file as it is empty and no content available yet. Remove NEWS file as it is empty and no content available yet.
2009-10-27Deploy the new XORG_DEFAULT_OPTIONS #24242Gaetan Nadon
This macro aggregate a number of existing macros that sets commmon X.Org components configuration options. It shields the configuration file from future changes.
2009-10-26Makefile.am: ChangeLog not required: EXTRA_DIST or *CLEANFILES #24432Gaetan Nadon
ChangeLog filename is known to Automake and requires no further coding in the makefile.
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.
2009-01-26Set text properties after loading all command line files.Paulo Cesar Pereira de Andrade
This is more of a workaround for a problem where the first file will end up using the "text properties" of the last file with a syntax highlight definition. A more proper correction could be to actually display the last file loaded (and removed the duplicated code in xedit.c:main()).
2009-01-12Correct problems in make distcheck.Paulo Cesar Pereira de Andrade
2008-12-02Use new XORG_CWARNFLAGS and XORG_CHANGELOG macros.Paulo Cesar Pereira de Andrade
Also correct a possible uninitialized variable.
2008-12-02Properly read symbol name in tags interface.Paulo Cesar Pereira de Andrade
If the symbol is not in a full text "Piece", XawTextSourceRead() will return an XawTextBlock that points to an incomplete buffer, and a new call must be made to read the remaining data.
2008-12-02Don't put EOF in the unget buffer.Paulo Cesar Pereira de Andrade
2008-11-16Man page typo fixesA Costa
Debian bug#306707 <http://bugs.debian.org/306707>
2008-11-12Add missing check for symbolic links.Paulo Cesar Pereira de Andrade
It was properly checking when using <tab-completion>+<enter>, but not when using <tab-completion>+<click-on-filename>, what would allow loading the same file with different names (but save would be done to the real file, and not overwrite the link).
2008-11-12reorganize app default filesPeter Breitenlohner
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-11-10avoid race condition for parallel jobsPeter Breitenlohner
2008-11-07Xedit version 1.1.2.xedit-1.1.2Paulo Cesar Pereira de Andrade
Also update to use ``git log'' instead of ``git-log'', to match newer versions of git.
2008-11-07enabled VPATH buildPeter Breitenlohner
2008-10-08Rewrite double click confirmation code.Paulo Cesar Pereira de Andrade
Remove the double_click global boolean, and change dc_state to a bit field, instead of a single state variable. The old code was the xedit original code with minimal changes, but was a bit confusing when two confirmations would be required. Also, this patch moves the check for file overwriting before MaybeCreateFile() as it can actually call creat(), what means that it can no longer ask for confirmations, as the file has been just backed up, and a zero sized one created.
2008-09-26Merge branch 'master' of ssh://pcpa@git.freedesktop.org/git/xorg/app/xeditPaulo Cesar Pereira de Andrade
2008-09-26Proper implementation of AddDoubleClickCallbackPaulo Cesar Pereira de Andrade
I tracked it down to http://cvsweb.xfree86.org/cvsweb/xc/programs/xedit/commands.c?rev=1.5&content-type=text/vnd.viewcvs-markup After my patches to libXaw. Instead of checking for "if (XtIsSubclass(w, asciiSrcObjectClass)) {" it should really do something like "if (isXaw7orNewer) {". But I believe only XFree86 and Xorg versions of Xaw have the XawVersion macro in XawInit.h... This corrects the problem described in http://bugs.freedesktop.org/show_bug.cgi?id=17726 And the main reason is that xedit always default'ed to use a 8 bits iso8859-x locale, while in Xorg it was modified to use multibyte by default.
2008-08-04Fixed filename conflict during compilation on case-insensitive file systems.Jeremy Huddleston
2008-07-31Correct make dist and update to xedit-1.1.1.xedit-1.1.1Paulo Cesar Pereira de Andrade
2008-07-30Update to xedit 1.1.0.xedit-1.1.0Paulo Cesar Pereira de Andrade
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-08 CancelFindFile is almost the same as XeditFocus, and could be merged in aPaulo Cesar Pereira de Andrade
same Xt action. For the moment, automatically leave line_edit in XeditFocus. There is one other bug that should be fixed, that I am trying to repeat (having the same file loaded twice when using tags) before a new release. Thre is also a problem in Xaw when deleting large amounts of selections that crashes xedit, aparently due to Xaw Text widget doing some wrong math and attempting to allocate a huge chunk of memory.
2008-07-02Fix an off by one error check that can lead to an infinite loop.Paulo Cesar Pereira de Andrade
This can happen when using the line edit mode to search&replace regexes.
2008-07-02Warn if a newer version of a file exists before overwritting it.Paulo Cesar Pereira de Andrade
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-02Support multiple make jobs.Paulo Cesar Pereira de Andrade
Minor patch to avoid requiring xedit to have some special rule in a buildsystem that defaults to something like "make -j 16".
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.