Age | Commit message (Collapse) | Author |
|
Use "$PKG_CONFIG" rather than hard coded "pkg-config"
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
|
|
Now that the INSTALL file is generated.
Allows running make maintainer-clean.
|
|
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.
|
|
This macro aggregate a number of existing macros that sets commmon
X.Org components configuration options. It shields the configuration file from
future changes.
|
|
ChangeLog filename is known to Automake and requires no further
coding in the makefile.
|
|
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.
|
|
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()).
|
|
|
|
Also correct a possible uninitialized variable.
|
|
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.
|
|
|
|
Debian bug#306707 <http://bugs.debian.org/306707>
|
|
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).
|
|
|
|
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 (`).
|
|
|
|
Also update to use ``git log'' instead of ``git-log'', to match
newer versions of git.
|
|
|
|
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.
|
|
|
|
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.
|
|
|
|
|
|
|
|
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.*.
|
|
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.
|
|
This can happen when using the line edit mode to search&replace regexes.
|
|
|
|
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.
|
|
Add parenthesis around a test where after macro expansion it looked like
boolexpr==boolres==boolres.
"Ansifiy" a function without arguments.
|
|
Minor patch to avoid requiring xedit to have some special rule in a
buildsystem that defaults to something like "make -j 16".
|
|
|
|
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.
|
|
|
|
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.
|
|
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.
|
|
This works the same way as for vi, i.e. "xedit file +num" will load
file and move cursor to line "num".
|
|
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
|
|
Also allow replacing control characters in the replace pattern as well
as nul characters.
|
|
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.
|
|
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.
|
|
This allows several features, like syntax highlight and indentation,
turned off to be enabled again.
|
|
|
|
Check for existing system functions.
Don't add test program sources with main functions to libraries.
Build test programs.
|
|
|
|
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.
|
|
|
|
|
|
|
|
|