Commit graph

1,001 commits

Author SHA1 Message Date
Charlie Gordon
da7db82cb7 updated copyrights, changed version to 5.0beta 2018-04-11 13:46:03 +00:00
Charlie Gordon
165f558e02 add filelist and archive Makefile target 2018-04-11 13:37:39 +00:00
Charlie Gordon
18900e7573 add filelist and archive Makefile target 2018-04-11 13:37:07 +00:00
Charlie Gordon
cea2008c05 fix flags for embedded scripts and styles in html-src 2018-04-11 09:26:42 +00:00
Charlie Gordon
cdbf781e73 fix linux compilation warnings 2018-04-09 14:41:58 +00:00
Charlie Gordon
7da09b1099 add recent working files to archive target 2018-04-09 14:41:38 +00:00
Charlie Gordon
def241318a stb: fixed prototypes 2018-04-09 14:36:41 +00:00
Charlie Gordon
4e7c0c0add clang: keywords used as object property tags are regular identifiers 2018-04-09 05:28:57 +00:00
Charlie Gordon
a1f7acdc52 Small fixes
- support SF_NUMBER for buffer sort
- fix image scaling
- support ESC c and fix ESC [ J escape sequences
- add C-u C-x C-n to parse nest-error from current buffer offset
2018-02-11 11:44:18 +00:00
Charlie Gordon
997ca7c305 extra-languages: add syntax highlighting for the Eff programming language 2017-06-30 16:28:02 +00:00
Charlie Gordon
5ee626a083 clang: add JS++, Koka and Typescript languages, small improvements
- add alternate name for Objective C, js, as, qs, ec
- js: colorize most type annotations
2017-06-30 16:27:09 +00:00
Charlie Gordon
f0aeea99e0 shell-script-mode: add alternate name for markdown highlighting 2017-06-30 16:23:03 +00:00
Charlie Gordon
039f8c364d markdown-mode: improve highlighting
- space disables matching of bold, emphasis and italics
- highlight link addresses
2017-06-30 16:21:55 +00:00
Charlie Gordon
5b1dca5f04 html-mode: add global variable to enable/disable mode
- add use_html global variable
- default value is 1, set to 0 in ~/.qe/config to disable html parser
2017-06-22 22:02:25 +00:00
Charlie Gordon
cd74e6a50f lua-mode: small fixes in colorizer
- fix number parsing
- support function call syntax for single string or object literal
  without parentheses
2017-06-13 05:27:55 +00:00
Charlie Gordon
fc85c4f8e6 colorizers: some factorisation
- pass initial character to `ustr_get_identifier` and `ustr_get_word`.
- add lowercasing variant `ustr_get_identifier_lc()`
- remove `get_word_lc()` in makemode.c
- remove `get_js_identifier()` in clang.c
2017-05-29 06:21:42 +00:00
Charlie Gordon
a5a6b50bb3 build: fixed typo, remove cruft 2017-05-29 06:05:22 +00:00
Charlie Gordon
40ba28b979 x11: fix toggle-full-screen (bound to C-c f) 2017-05-21 08:10:37 +00:00
Charlie Gordon
efa89670be basic: add syntax colorizer for Falcon
- add generic word converter for syntax parsers:

  // handle qe_isalnum_
  int ustr_get_identifier(char *buf, int buf_size,
                          const unsigned int *str, int i, int n)

  // handle qe_isword
  int ustr_get_word(char *buf, int buf_size,
                    const unsigned int *str, int i, int n)
- simplify Magpie syntax colorizer
- handle nested block comments and char constants in Magpie
- add Falcon syntax colorizer
2017-05-21 07:57:19 +00:00
Charlie Gordon
00cdf34f2a shell: start process in directory of current window 2017-05-20 20:43:14 +00:00
Charlie Gordon
270e8daa10 basic: fix small issues
- fix spurious crash bug on bad qesession file.
- make bold terminal text with colors 0-7 appear brighter
  this makes black bold terminal test appear grey instead
  of invisible
2017-05-18 14:14:28 +00:00
Charlie Gordon
1cd0cb4992 build: fix compilation warning 2017-05-18 14:10:51 +00:00
Charlie Gordon
2f8e1cb041 clang: fix preprocessor continuation line color bug 2017-05-18 14:09:56 +00:00
Charlie Gordon
478a9d9f69 graphics: add graphics viewer for popular image formats
- use stb_image.h to display bmp, jpeg, pmg, gif, targa and other
  popular image formats
- disable text based image converters
2017-05-15 09:58:02 +00:00
Charlie Gordon
7d7103ca70 graphics: add device and generic picture display functions
- add bitmap formats for 4BPP and BGR combinations
- add color palette in QEPicture
- add xfactor and yfactor in QEDisplay for preferred pixel granularity
  yfactor is typically 2 for text mode display
- add dpy_draw_picture() device function
- add bitmap drawing functions:
    qe_create_picture(int width, int height, QEBitmapFormat format, int flags);
    int qe_picture_lock(QEPicture *ip);
    void qe_picture_unlock(QEPicture *ip);
    qe_free_picture(QEPicture **ipp);
    QE_PAL_MODE(r, g, b, incr)
    int qe_picture_set_palette(QEPicture *ip, int mode,
                    unsigned char *p, int count, int tcolor);
    int qe_picture_copy(QEPicture *dst, int dst_x, int dst_y, int dst_w, int dst_h,
                    const QEPicture *src, int src_x, int src_y, int src_w, int src_h,
                    int flags);
    int qe_draw_picture(QEditScreen *s, int dst_x, int dst_y, int dst_w, int dst_h,
                    const QEPicture *ip,
                    int src_x, int src_y, int src_w, int src_h,
                    int flags, QEColor col);
- add 3 compile time selectable image interfaces in flactal.c benchmark
2017-05-15 09:44:21 +00:00
Charlie Gordon
8a4aaca67a extra-modes: add Magpie scripting language 2017-05-15 08:05:24 +00:00
Charlie Gordon
bc392f4ca1 markdown: support more syntaxes for verbatim blocks
- accept :::lang syntax for verbatim block language spec
2017-05-15 08:00:20 +00:00
Charlie Gordon
b30e014175 basic: fix CRC shadow buffer crash bug
- add consistency checks for shadow buffer indexing
- use generic_mode_probe() as default if mode extensions
  are set for all modes, not just MODEF_SYNTAX
- improve mode name construction for modeline
- display TAB as ^I in minibuffer
- prevent display of characters in [128..159] for raw buffers
  this improves display speed in X11-Mac version
- force window content and border invalidation if complete_refresh
2017-05-15 07:57:12 +00:00
Charlie Gordon
6963105415 clang: add support for the wren scripting language
- small fixes in C number parsing
- add CLANG_LINECONT mode flag for line continuation support
- small fixes in javascript parsing: template strings
2017-05-15 07:48:30 +00:00
Charlie Gordon
0ad980192b basic: fix bogus bindings 2017-05-11 10:43:09 +00:00
Charlie Gordon
a69bceb37d display: fix various old bugs
- add st_errno in ModeProbeData so dired only matches wildcards if no
  file exists with that exact name (argument passed probe_mode())
- add LF_NOWILDCARD qe_load_file flag to prevent wildcard handling
- display line numbers and terminal right margin in new gutter style
- free EditState:line_shadow display CRCs when changing modes:
  this fixes an old display bug when switching between html and text mode
- added convenient default bindings:
  C-c ~     -> toggle-read-only
  C-c c     -> set-buffer-file-coding-system
  C-c b     -> toggle-bidir
  C-c C-\   -> set-input-method
  C-c l     -> toggle-line-numbers
  C-c t     -> toggle-truncate-lines
  C-c w     -> word-wrap
- disable terminal emulation on shell buffers without the SF_COLOR flag
- only update mark on process output in interactive terminal emulator buffers
- only compute shell current directory on terminal emulator buffers
- auto select mode and character set after 3MB of output
- update wrap_cols on all windows upon shell-refresh (C-l in shell-mode)
- improve shell_get_curpath(): handle debian default prompt
- updated TODOs
2017-05-10 15:46:16 +00:00
Charlie Gordon
0dc8e11a20 sql: recognise phpMyAdmin SQL Dumps 2017-05-10 15:42:47 +00:00
Charlie Gordon
a6de322430 build: add generic rule to make host utility executables 2017-05-10 15:21:46 +00:00
Charlie Gordon
f0670101bb modes: avoid duplicate mode names
- rename ModeDef.mode_name as alt_name, only use if needed
- remove duplicates from and extend mode name completion list
- remove duplicate html-mode and list-mode commands
- do_set_mode() command bypasses dired pane
2017-05-08 10:47:22 +00:00
Charlie Gordon
c27505b807 shell: simplify do_shell
- publish qe_find_target_window() to bypass dired pane
- simplify do_shell, restart process in last shell buffer
  used and switch to interactive mode
2017-05-08 10:26:56 +00:00
Charlie Gordon
c36cccd4bf build: group all intermediary targets in .objs directory
- each architecture has a specific subdirectory
- object files for qe, xqe and tqe are each in an arch specific subdirectory
- libraries are generated in .objs with an arch specific name
2017-05-08 10:15:43 +00:00
Charlie Gordon
eb97ef08b7 shell: fix spurious crash bug
- add check_mode_data() to verify mode data pointer validity
- avoid double free in qe_free_mode_data() and shell_pid_cb()
2017-05-07 20:32:30 +00:00
Charlie Gordon
c4550e1e7f clang: add Game Monkey scripting language 2017-05-07 20:29:29 +00:00
Charlie Gordon
bc0e355e5c archive: fix small bugs 2017-05-07 20:27:18 +00:00
Charlie Gordon
16359e92ae tests: add test from gnome vte 2017-05-07 08:06:07 +00:00
Charlie Gordon
1b0fc02549 tty: detect and handle AtariST terminal TW100 (F.Revol) 2017-05-07 06:18:40 +00:00
Charlie Gordon
bd44951866 build: fix X11 directory lookup (F.Revol) 2017-05-07 06:17:11 +00:00
Charlie Gordon
2866a48b11 build: Cross-compile using the NetSurf SDK. (F.Revol) 2017-05-07 06:12:39 +00:00
Charlie Gordon
d2d3a7b31e build: detect missing SA_RESTART definition in qe_event_init (F.Revol) 2017-05-07 06:09:19 +00:00
Charlie Gordon
128d0c28dd build: use CONFIG_MMAP when unmapping buffer data in eb_clear() (F.Revol) 2017-05-07 06:08:57 +00:00
Charlie Gordon
4bdbd8bd9e build: use target specific size utility via SIZE configuration variable (F.Revol) 2017-05-07 06:08:32 +00:00
Charlie Gordon
5f0fc5eacf fractal: use graphics API instead of colored buffer text
- use bmp_draw to update the screen instead of generating utf-8 art
- add color parametric color palette and palette shifting
- separate image invalidation from actual redrawing
- changing fractal type also resets origin
- some computation simplifications
2017-05-06 17:18:42 +00:00
Charlie Gordon
cda5479aa0 tty: add graphics emulation with 2 pixels per char 2017-05-05 20:10:51 +00:00
Charlie Gordon
20dbafc03b colors: add macros to extract red, green and blue components 2017-05-05 20:08:52 +00:00
Charlie Gordon
634d3c9165 graphics: add 1 and 8 bit bitmap formats 2017-05-05 20:07:52 +00:00