summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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.
2008-07-02Add support for scrolling textwindow with mouse wheel.Paulo Cesar Pereira de Andrade
2008-07-02Add a tags interface to xedit.Paulo Cesar Pereira de Andrade
To use the tags, first create a tags file with a command like "ctags -R". The interface can be disabled with resources, see the updated man page. Tag files are searched descending to the root directory. Multiple tags files are properly handled, and multiple symbol definitions can be searched.
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-02Add support to enter line number in command line.Paulo Cesar Pereira de Andrade
This works the same way as for vi, i.e. "xedit file +num" will load file and move cursor to line "num".
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-02Fix several problems in the line edit mode.Paulo Cesar Pereira de Andrade
Also allow replacing control characters in the replace pattern as well as nul characters.
2008-07-02Fix several generic bugs including:Paulo Cesar Pereira de Andrade
o Several memory read/write errors. o Implement smarter XeditPrintf that will show how many times a text has been printed. o Check all arguments to XeditPrintf to ensure the '%' character cannot be sent to it. o Some minor reindentation to code that still had the original 2 spaces indentation.
2008-07-02Make ispell interface work correctly again.Paulo Cesar Pereira de Andrade
This new interface should work properly with asciiSrc and multiSrc widgets, i.e. single byte and multibyte. Also added an empty dictionary entry that is understood by aspell as the "default" dictionary. Code is also more robust to detect aspell exiting too early.
2008-07-02Readd support for *international resource and default to false.Paulo Cesar Pereira de Andrade
This allows several features, like syntax highlight and indentation, turned off to be enabled again.
2008-07-02Add a generic hash table interface to replace the other implementations.Paulo Cesar Pereira de Andrade
2008-07-02Update build for sane defaults.Paulo Cesar Pereira de Andrade
Check for existing system functions. Don't add test program sources with main functions to libraries. Build test programs.
2008-07-02Add updated/meaningful README, COPYING and AUTHORS files.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.
2007-12-06Replace static ChangeLog with dist-hook to generate from git logJames Cloos
2007-09-03Add *~ to .gitignore to skip patch/emacs droppingsJames Cloos
2007-08-23Rename .cvsignore to .gitignoreJames Cloos
2006-04-26Bump to 1.0.2xedit-1_0_2XORG-7_1Adam Jackson
2006-04-03Bug #6480: Cygwin build fix. (Yaakov Selkowitz)XORG-7_0_99_901Adam Jackson
2005-12-21Update package version for X11R7 release.XORG-7_0Kevin E Martin
2005-12-19Stub COPYING filesAdam Jackson
2005-12-15Update package version number for final X11R7 release candidate.XORG-6_99_99_904Kevin E Martin
2005-12-07Change to use the app-defaults default dir configured in libXt.MODULAR_COPYKevin E Martin
2005-12-06Change *man_SOURCES ==> *man_PRE to fix autotools warnings.Kevin E Martin
2005-12-03Update package version number for X11R7 RC3 release.XORG-6_99_99_903Kevin E Martin
2005-11-28Change *mandir targets to use new *_MAN_DIR variables set by xorg-macros.m4Alan Coopersmith
update to fix bug #5167 (Linux prefers *.1x man pages in man1 subdir)
2005-11-21Another pass at .cvsignores for apps.Eric Anholt
2005-11-20Add/improve .cvsignore files for apps.Eric Anholt
2005-11-20Add dependency on xp module when building with Xprint support.Alan Coopersmith
2005-11-09Update package version number for X11R7 RC2 release.XORG-6_99_99_902Kevin E Martin
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-10-21remove redundant includeAlan Hourihane
2005-10-20programs/xedit/xedit.hAlan Hourihane
//bugs.freedesktop.org/show_bug.cgi?id=790)
2005-10-19Update package version number for RC1 release.XORG-6_99_99_901Kevin E Martin
2005-10-18Change default install dir for app-default files fromAlan Coopersmith
$(sysconfdir)/X11/app-defaults to $(libdir)/X11/app-defaults to match the monolith & allow localization