github andmarti1424/sc-im v0.8.2

latest releases: v0.8.4, v0.8.3
3 years ago

v0.8.2 - 14/05/2021

Changes

  • Improved yank and undo alloc'ing. Malloc as much we need from start in a long batch and avoid small mallocs.

  • Changed the way lua scripts are referenced in formulas. Now they are input as any other string formula,
    like this: "@lua("script_name.lua", 1)
    being 1 if the reference should be added to the depgraph or not, making it evaluated just once or
    every time the depgraph is evaluated.
    NOTE that if set to 0 and the cell is referenced by another cell, it will be executed nonetheless.

  • Added new exec_lua configuration variable.

  • Rows now can have height higher than one LINE. See fj and fk in normal mode or :formatrow in command mode.

  • Wrap cell content. new autowrap config value. works when nooverlap and notruncate are set.

  • Open URL or file specified on cell (PR 401)

  • Import mkd files

  • Multiple frozen rows/columns (fr / fc in normal mode)

Added mapping_timeout configuration variable with a default value of 1500ms (used to be a fixed value of 800ms).
Added mouse support in insert and command mode. The selection of a cell gets copied to inputbar.
Added command_timeout configuration variable.
handle hidden rows/cols in undo/redo of ir/ic/dr/dc
Added backwards search with '?'
Restore \* from old SC. \{char} fills the cell with n occurrences of {char} to complete its width
Store frozen rows and cols when saving file
Added :formatcol command (handling its undo as well)
Added :formatrow command (handling its undo as well)
Added undo of freeze row and col
Handle \n in cell input, and with autowrap
Handle undoing changes in row height produced by string input

Changed input bar from window to pad: permits entering string longer than COLS.

@count counts cells with strings as well, and not just with numbers.

Handle entering a label after :datefmt for datetime value edition.

New dracula / papercolor themes.

  • Added EvalRange() so that the graph is not evaluated entirely all the time.
    Replaced 'EvalAll' with 'EvalRange'.
    Removed unneeded parameters on EvalJustVertex"
    Added eval_order in EvalRange and rebuild_graph.

Added @evaluate / @sevaluate functions

Handle @nval dependencies.
Handle @mycol/@myrow calls during startup when no EvalJustOneVertex is yet called

Added @getent (FR issue #451)

  • The saving format for :w command would be according to current file format. #493
    modified savefile() of file.c to check current file format before saving a file.
    Keep consistent with other format such as csv and save the file with the same format as current file.

Added HELP_HIGHLIGHT definition color for help page.

Renamed GRID_PAIR to GRID_EVEN in color.c.

UNDO of :fsum is handled by let.

calc_offscr_rows/cols rewriten and renamed to calc_mobile_rows/cols

Fixes

Fix old sc bug - issue #371
Fix when saving sc files of cells that has some string expressions - issue #541
Fix leak in nval.
Fix Issue #372.
Free lua memory at exit.
Fix when saving marks in file after importing xlsx file and saving it in sc format.
EXPR and NUMBER colors were overloaded by STRING color #546
Fix markdown export when empty col was added left to data
Fix in :showrows command.
:fsum added to command mode commands. It was missing.
Added :showcols command that was missing.
Handled issue #429
handled issue #374
Ignore SIGWINCH outside ncurses.
triggers: Avoid segfault when not being able to load module. Issue #325

--
Thanks to all that helped and created PR.
Thanks to all who support and use this program.

Andrés Martinelli
andmarti1424

Don't miss a new sc-im release

NewReleases is sending notifications on new releases.