Commit graph

477 commits

Author SHA1 Message Date
Charlie Gordon
77dfc0b6f3 Haiku patch from Francois Revol
* remove unused variables/functions
* remove commented out debug output
* make haiku_dpy static; no need to memcpy() it
* Fix calling [un]init_appplication()
2013-12-19 00:41:22 +00:00
Charlie Gordon
0d64bd2666 configure: fixed -h and -help command line options, added x86_64 arch 2013-12-19 00:13:49 +00:00
Charlie Gordon
8027f3e0dd shell: cosmetic changes 2013-12-18 23:39:53 +00:00
Charlie Gordon
4640153cb5 removed ugly casts 2013-12-17 23:42:52 +00:00
Charlie Gordon
94a0f56bb3 improved protability in configure, use /bin/sh 2013-12-17 23:17:09 +00:00
Charlie Gordon
cce8822e94 fixed tar target, improved portability 2013-12-17 23:13:47 +00:00
Charlie Gordon
2bf4cf3a49 Filter qe-doc.html to remove date dependency
* Added filtering post texi2html to remove date items.
  This makes the output file qe-doc.html time independent
2013-12-17 17:36:50 +00:00
Charlie Gordon
0a8cebb693 work-in-progress Haiku port from Francois Revol
* Fix hardcoded -ldl and -lm in the Makefile
* BeOS does not have -lm (it's part of libroot)
* Add Haiku GUI driver haiku.cpp
* Add helper script haiku-pe2qe.sh to clone color settings from Pe to Qemacs
2013-12-17 16:08:55 +00:00
Charlie Gordon
68b4ba44ab fix for C++ compile (needed for Haiku)
renamed private structure members to priv_data
added casts on assignents from void* (OK in C, not in C++)
2013-12-17 16:06:35 +00:00
Charlie Gordon
407c7d6218 revert haiku patch 2013-12-17 16:01:12 +00:00
Charlie Gordon
10ccf3b91e msg 2013-12-17 14:55:44 +00:00
Charlie Gordon
33446d8d3c msg1 2013-12-17 14:46:19 +00:00
Charlie Gordon
163f7b7d96 make shell output buffers unmodified upon process exit 2013-12-03 17:44:00 +00:00
Charlie Gordon
a3c02ba3d4 display modified and read-only indicators in buffer list
display encoding and home relative filename in buffer list
2013-12-03 17:41:50 +00:00
Charlie Gordon
357cf51a52 display error msg or new current directory in cd command 2013-12-03 17:38:16 +00:00
Charlie Gordon
d29b43912a removed confusing code 2013-12-03 17:36:15 +00:00
Charlie Gordon
c1833a2f53 added make_user_path to compute path relative to user HOME directory 2013-12-03 17:35:06 +00:00
Charlie Gordon
5c678f0236 make pstrcpy return destination buffer 2013-12-03 17:31:49 +00:00
Charlie Gordon
a0201f86bc - display error message on next-error / previous-error
- setting error position was off by one line
- fixed error source handling: use last shell or compile command
2013-11-30 14:18:57 +00:00
Charlie Gordon
b7af4afae6 - fixed potential bug in eb_next_line for offset < 0.
- make it return '\n' and set offset to 0, similar to behavior at EOB
2013-11-30 13:50:12 +00:00
Charlie Gordon
c2155e1d7b added feedback for change-directory command 2013-11-30 12:12:40 +00:00
Charlie Gordon
b9a4189c39 improved man command:
- fixed bug on OS/X to force unlimited lines in shell output buffers
- added pager mode
- made output buffer read only, allow shell output to read only buffer

improved shell mode:
- set buffer encoding from LANG environment variable: utf8 or vt100
- special cased utf8 support for shell output
- handle charset in shell input
- enter / exit shell interactive mode with C-a and C-e (home and end)
- reset error offset upon enter key
2013-11-29 00:32:52 +00:00
Charlie Gordon
9a684a9c25 patch for OS/X to expand user home dir to /Users/xxx instead of /home/xxx
this is a poor solution, should use a more generic method.
2013-11-28 15:52:38 +00:00
Charlie Gordon
ba06d7883e fixed gcc 4.7 warnings about variables set but unused 2013-11-23 19:11:13 +00:00
Charlie Gordon
ee1282ef91 - added test for texi2html install to control doc build
- added config variable CONFIG_HAS_TYPEOF
- improved qe_free type checking with typeof
- fixed gcc 4.4.5 warning on strict anti-aliasing breakage
2013-11-23 10:55:20 +00:00
Charlie Gordon
8ed0526efe remove dSYM directories on target clean 2013-11-23 10:54:32 +00:00
Charlie Gordon
9bd2dfd515 fixed const warning on CmdArg deletion 2013-11-23 10:53:13 +00:00
Charlie Gordon
62ee618b0d - added compile time test for qe_free argument type: must be pointer to pointer
- fixed crash bug in qe_unregister_binding1, missing indirection in qe_free argument
- added Darwin specific definition for 'end' (this is an ugly patch, to be removed)
- fixed crash bug in qe_set_variable, missing indirection in qe_free argument
2013-11-22 20:50:20 +00:00
Charlie Gordon
aa75747155 added darwin config variable 2013-11-22 20:45:09 +00:00
Charlie Gordon
7c76c54229 rebuilt doc with recent texi2html 2013-11-22 20:05:42 +00:00
Charlie Gordon
c821d79709 allow config.mak to set initial CFLAGS, fixed texi2html options 2013-11-22 20:04:40 +00:00
Charlie Gordon
9a03f70927 - force bash because of echo -n
- use shadow file for config.mak to prevent clobbering if identical
- added Darwin target support
- stricter tests on command line options
2013-11-22 20:03:11 +00:00
Charlie Gordon
0bdafcb61e ignore dSYM debugging info inrectories 2013-11-22 19:48:37 +00:00
Charlie Gordon
8c421c1e51 ignore dSYM debugging info inrectories 2013-11-22 19:39:39 +00:00
Charlie Gordon
090f2202d5 more informative status messages 2009-04-20 08:12:31 +00:00
Charlie Gordon
c594189e67 renamed plugins directory 2008-06-05 07:14:12 +00:00
Charlie Gordon
e06c30b59e renamed plugins directory 2008-06-05 07:12:51 +00:00
Charlie Gordon
ce8d7ff0ad moved object files to .objs subtree 2008-06-04 08:49:24 +00:00
Charlie Gordon
269353a654 imported various external charset tables for JIS 2008-05-21 06:48:31 +00:00
Charlie Gordon
5ee19ed240 default ucs2/ucs4 to big endian, remark on iso-2220-jp 2008-05-21 06:42:32 +00:00
Charlie Gordon
23cd92e91c fixed find-charset to use strxfind, implement strxfind correctly 2008-05-04 15:54:39 +00:00
Charlie Gordon
056c5330bb fixed cygwin compile 2008-05-02 17:11:19 +00:00
Charlie Gordon
9cf6a3cb87 simplified buffer decoding methods: pass ptr in CharsetDecodeState 2008-05-02 17:05:38 +00:00
Charlie Gordon
e493a2e99c fixed many problems with charset encodings
added charset methods for buffer line and position computations
added QECharset fields for char_size and variable_size indicator
use charset's eol_char to count lines in buffers: this should fix EBCDIC support
added support for ucs2 and ucs4 little and big endian encodings
charset's decode_func call no longer be NULL
eb_nextc and eb_prev now require non NULL third parameter
2008-05-02 16:04:09 +00:00
Charlie Gordon
9af558752e added about-qemacs command on C-H ? and f1
improved list-variables
2008-04-30 07:18:34 +00:00
Charlie Gordon
b82a15d4e4 added extra help functions:
added command apropos(string)
added command show-bindings(cmd_name)
moved describe-bindings to extras.c
added qe_get_prototype(CmdDef *d, char *buf, int size);
added an extra argument to qe_get_variable() to produce value as source
fixed typo on window variable window-height
fixed type mismatch on mode variable mode-name
added var_domain string array
added strquote conversion function with simplistic implementation
added history tags for all commands
2008-04-29 18:55:14 +00:00
Charlie Gordon
8b592ad49c typo, added argument tag 2008-04-25 10:54:50 +00:00
Charlie Gordon
85c75fb19b typo 2008-04-25 10:54:16 +00:00
Charlie Gordon
caf6950145 renamed CMD_ and CMDV to CMD2 and CMD3 for consistency 2008-04-25 10:46:58 +00:00
Charlie Gordon
cf58a654a3 use union to avoid non portable casts
some simplifications and clarifications
added copyrights
2008-04-24 14:02:42 +00:00