Commit graph

1,121 commits

Author SHA1 Message Date
Charlie Gordon
e00a3d0cfa Improve command consistency
- use `n` instead of `dir` or `delta` when passing premultiplied argval
- describe-xxx commands take `argval` to avoid repetition
- move paragraph functions to extras.c
- bumped version to 5.3.1k
2022-08-15 14:33:30 +02:00
Charlie Gordon
f7c1621ebb Improve paragraph handling
- simplify do_delete_blank_lines(), fix case of non blank line
- remove eb_start_paragraph()
- do_mark_paragraph() takes ARG_VAL, make emacs compatible
- simplify eb_prev_paragraph(), make emacs compatible
- improve fill_paragraph():
  compute actual indent size (handle TABs)
  compute actual word sizes (handle accents and double width glyphs)
- bumped version to 5.3.1j
2022-08-13 16:16:21 +02:00
Charlie Gordon
757a6112f1 Improve word handling
- word_right() and word_left() return s->offset
- minimize buffer changes in do_fill_paragraph()
- eb_changecase() takes input and output offset arguments
- bumped version to 5.3.1i
2022-08-12 17:28:21 +02:00
Charlie Gordon
26fbd52097 Fix compilation warnings
- add explicit cast on snprintf to prevent -Wsuggest-attribute=format warning
- always declare init_all_modules()
2022-08-12 11:48:55 +02:00
Charlie Gordon
9e6c81d65e Improve build process
* remove modules.txt hack
* generate target specific xxx_modules.c source file in OBJS directory
* use same OBJS directory for terminal and X11 object files
* no longer recompile qe.c when any other source file changes
* bumped version to 5.3.1h
2022-08-12 11:37:02 +02:00
Charlie Gordon
c969d3d9eb Fix some completion issues
* fix filename completion bug at directory start when completion
  window is already visible
* full ls display in file completion window
* ignore **.DS_Store** in file completion
2022-08-12 08:29:54 +02:00
Charlie Gordon
ec01d90a76 Makefile: only create object and binary file directory if making targets 2022-08-11 12:43:35 +02:00
Charlie Gordon
0279820f93 Use up to date version v2.27 of stb_image
- bumped version to 5.3.1e
2022-08-10 20:27:23 +02:00
Charlie Gordon
237c159c36 sundries 2022-08-10 19:59:49 +02:00
Charlie Gordon
9f024f5472 fix missing include file 2022-08-10 19:06:31 +02:00
Charlie Gordon
d052ab31ff Fix many compilation warnings for clang -Weverything
- made some local objects static
- fix many const cast issues
- fix comma operator warnings
- add const correct strtol_c(), strtoll_c(), strtold_c()
- add unconst(t) to override const removal warnings
- comment VLAs and flexible arrays
- use get_basename_offset() to enable const correct
  get_basename() and get_basename_nc()
- use get_extension_offset() to enable const correct
  get_extension() and get_extension_nc()
- always include config.h
- use size_t for some size arguments:
  umemmove(), umemcpy(), umemcmp(), qe_memicmp()
- add qe-doc.info and qe-doc.pdf targets
- fix shadowing bug in buf_write: used tor return 0 instead of byte count
- bumped version to 5.3.1e
2022-08-10 18:50:19 +02:00
Quick Emacs project home
c48578ce1c
Merge pull request #4 from cmsigler/testfile
Fix formatting of test file
2022-08-09 16:01:26 +02:00
Clemmitt Sigler
868580ce09 Fix formatting of test file 2022-08-09 07:41:11 -04:00
Charlie Gordon
564934527d fix gcc compilation warning 2022-08-08 16:40:04 +02:00
Charlie Gordon
b96388ee95 Fix infinite loop in memfind()
- memfind used to loop forever trying to match shell_handlers
- match python2.8 and python3 in shbang line
- bump version to 5.3.1d
- this fixes #1 reported by cmsigler, thank you
2022-08-07 03:29:18 +02:00
Charlie Gordon
9df4899257 Bind dired-abort on 'q' (closes #2)
- make q exit dired.
  unlike emacs, it currently keeps the current file in the right window
- bump version to 5.3.1c
2022-08-07 01:54:58 +02:00
Charlie Gordon
f5bde0f68f Add kill-whole-line
- add kill-whole-line, bound to M-K (Meta Shift k)
  cannot bind to C-S-Backspace inside terminal
- bumped version to 5.3.1b
- close #3
2022-08-07 01:50:47 +02:00
Charlie Gordon
fedd90496c Fix compilation warnings
- move erlang_match_char() prototype to qe.h
- made buffer_print_entry() private
2022-08-04 13:11:37 +02:00
Charlie Gordon
87bfb0d046 Fix packaging issues
- remove FILES variable in Makefile: no longer invoke git implicitly in make
- bumped version to 5.3.1
2022-08-04 12:29:16 +02:00
Charlie Gordon
e08de03499 updated credits and copyrights 2022-08-03 17:00:38 +02:00
Charlie Gordon
b72b1773db Fix gcc compilation
- be more careful about snprintf target arrays
- fix bug in qe_load_file(): was testing local array instead of argument
- remove unused indent variable in clang.c
- pass pointer to CSSFile in css_close()
2022-08-03 16:47:12 +02:00
Charlie Gordon
3874a4ea9a Merge branch 'master' of github.com:qemacs/qemacs 2022-08-03 16:30:11 +02:00
Charlie Gordon
1418387ce8 Improve buffer contents sorting
* add progress indicator every 8K comparisons
* add 2 byte cache on line contents
* add chunk offset to skip columns and ignored bytes
  also used for SF_BASENAME
* add filter-matching-lines
* prevent man-mode on .doc files
* allow ^Z bytes in text files
* add extra column syntaxes for compilers error messages
2022-03-21 16:30:28 +01:00
Charlie Gordon
64a225a3bb fix linux compilation 2021-07-09 15:44:16 +02:00
Charlie Gordon
8ccb4b7958 fix bogus boolean test 2021-04-18 22:48:00 +00:00
Charlie Gordon
213eba6ab7 use ptsname and posix_openpt for pseudo-ttys 2021-04-19 00:43:57 +02:00
Charlie Gordon
c554fe0ad9 defaut to clang on FreeBSD and Darwin 2021-04-19 00:34:30 +02:00
Charlie Gordon
30ea93f190 OpenBSD fixes 2021-04-18 19:17:05 +00:00
Charlie Gordon
fda88cdb42 Miscellaneous fixes, add Salmon mode
* more todos
* add Salmon programming language
* disable -Wno-unused-result on OpenBSD
2021-04-18 21:03:45 +02:00
Charlie Gordon
237b3ba1d1 disable unsupported thread_local storage 2021-04-18 20:52:04 +02:00
Charlie Gordon
e7f2307d08 disable blank-hilite at end of file before point 2021-02-04 21:16:13 +01:00
Charlie Gordon
e2e290ec72 Improve libqhtml build
- add dependencies
- support expression syntax in csstoqe
2021-02-03 09:03:51 +01:00
Charlie Gordon
2450fae550 echo config flags in terse output 2021-02-01 20:41:00 +01:00
Charlie Gordon
da22ee7f3b Improve build process
- factorize target rules,
- use recursion for different targets
- make debug versions for all targets
- add help target
2021-02-01 20:38:29 +01:00
Charlie Gordon
e8fc3b130d tidy up module list 2021-01-26 09:39:32 +01:00
Charlie Gordon
fcf9136fdb Improve naming consistency
- rename qe_skip_spaces() as eb_skip_spaces() and take EditBuffer
- rename skip_spaces() as qe_skip_spaces()
- use qe_skip_spaces() return value to simplify loops
2020-11-25 18:55:15 +01:00
Charlie Gordon
803fbace90 remove compile warning 2020-11-24 13:51:39 +01:00
Charlie Gordon
1af2af7d31 fix splint target 2020-11-23 00:00:49 +01:00
Charlie Gordon
9d3c15e85a fix splint target 2020-11-22 23:53:07 +01:00
Charlie Gordon
02f647d02a Fix t1qe target rules 2020-11-21 13:17:39 +01:00
Charlie Gordon
cbe325b000 Split more languages from lang/extra-mode.c:
- add asm inifile postscript modes as separate modules
2020-11-20 23:44:36 +01:00
Charlie Gordon
0212e35f05 Split more languages from lang/extra-mode.c:
- add agena coffee elixir erlang julia ocaml modes as separate modules
2020-11-19 23:54:59 +01:00
Charlie Gordon
3b4f3c9f48 Split more languages from lang/extra-mode.c:
- add ada basic fortran haskell lua pascal python ruby smalltalk sql
  vimscript modes as separate modules
2020-11-18 23:20:57 +01:00
Charlie Gordon
66eef8269b Split exotic languages from lang/extra-mode.c:
- add falcon magpie openscad tiger wolfram modes as separate modules
2020-11-17 23:42:40 +01:00
Charlie Gordon
abe90ade7b sundries 2020-11-16 23:56:35 +01:00
Charlie Gordon
b26563f74f Add odin-mode and fix some language issues
- add icon programming language
- compile rust, swift, icon, groovy and virgil as separate modules
- simplify Makefile accordingly
- handle nested block comments in koka, scala, wren and v modes
2020-11-15 22:07:23 +01:00
Charlie Gordon
c5e4d9d3dc Improve file completion, sundries
- fix bogus test for . and .. in find_file_next()
- use strequal() instead of !strcmp()
- add some emacs-lisp defined symbols
- fixed awk mode for `#` comments
2020-11-14 09:57:48 +01:00
Charlie Gordon
120380987c Improve file completion
- add flags to find_file_open():
  - FF_PATH:    enumerate path argument
  - FF_NODIR:   only match regular files
  - FF_NOXXDIR: do not match . or ..
  - FF_ONLYDIR: do not match non directories
  - 0..15:      max recursion depth
- add recursion level in find_file_next()
- add completion pointer in CompleteState
- add CF_DIRNAME and CF_RESOURCE CompletionDef flags
- pass filename to load_ligatures() and load_input_methods()
- remove find_resource_file() dummy definition in html2png.c
- add dir and resource completion methods
- allow makepath() to modify path in place
- enable completion in `load-resource-file` and `load-file-from-path`
2020-11-12 00:21:50 +01:00
Charlie Gordon
46d9be3442 Reorganize repository tree
- move language syntax handling to `lang` directory
- move other modes to `modes` directory
- move tools to `tools` directory
- compile tools to `bin` directory
- bump version to 5.3alpha
- remove duplicate node names in qe-doc
- update Makefiles
2020-11-11 19:31:07 +01:00
Charlie Gordon
a5de44ba69 simplify tar and archive targets, remove .filelist 2020-11-10 00:30:45 +01:00