aboutsummaryrefslogtreecommitdiffhomepage
path: root/TODO
AgeCommit message (Collapse)AuthorFilesLines
2015-06-30updated TODORobin Haberkorn1-25/+60
2015-05-25updated TODORobin Haberkorn1-5/+5
2015-03-18updated TODOv0.6.4Robin Haberkorn1-0/+4
2015-03-17updated TODORobin Haberkorn1-0/+34
2015-03-16implemented automatic EOL translation supportRobin Haberkorn1-2/+8
* activated via bit 4 of the ED flag (enabled by default) * automatic EOL guessing on file loading and translation to LFs. * works with files that have inconsistent EOL sequences. * automatic translation to original EOL sequences on file saving * works with inconsistent EOL sequences in the buffer. This should usually not happen if the file was read in with automatic EOL translation enabled. * also works with the EC and EG commands * performance is OK, depending on the file being translated. When reading files with UNIX EOLs, the overhead is minimal typically-sized files. For DOS EOLs the overhead is larger but still acceptable. * Return (line feed) is now an immediate editing command. This centralizes EOL sequence insertion. Later, other features like auto-indent could be added to the editing command. * get_eol() has been moved to main.cpp (now called get_eol_seq() * Warn if file ownership could not be preserved when saving files. * IOView has been almost completely rewritten based on GIOChannels. The EOL translation code is also in IOView.
2015-03-12updated TODORobin Haberkorn1-7/+15
2015-03-07updated TODORobin Haberkorn1-3/+23
2015-03-02updated TODORobin Haberkorn1-9/+11
2015-02-23implemented to undo stack memory limitingRobin Haberkorn1-1/+0
* acts as a safe-guard against uninterrupted infinite loops or other operations that are costly to undo in interactive mode. If we're out of memory, it is usually too late to react properly. This implementation tries to avoid OOMs due to SciTECO behaviour. We cannot fully exclude the chance of an OOM error. * The undo stack size is only approximated using the UndoToken::get_size() method. Other ways to measure the exact amount of allocated heap (including size fields in every heap object or using sbrk(0) and similar) are either costly in terms of memory or platform-specific. This implementation does not need any additional memory per heap object or undo token but exploits the fact that undo tokens are virtual already. The size of an undo token is determined at compile time. * Default memory limit of 500mb should be OK for most people. * The current limit can be queried with "2EJ" and set with <x>,2EJ. This also works interactively (a bit tricky!) * Limiting can be disabled. In this case, undo token processing is a bit faster. * closes #3
2015-02-14updated Scintilla submodule: fixed tab stop calculation on CursesRobin Haberkorn1-1/+0
* also did some whitespace cleanup in SciTECO now that tabs are displayed properly
2015-02-11updated TODORobin Haberkorn1-0/+7
2014-12-15updated TODORobin Haberkorn1-3/+11
2014-12-09Curses: support cycling through long lists of possible auto-completions and ↵Robin Haberkorn1-2/+0
optimized screen refreshing/redrawing * pressing e.g. TAB when the popup is showing a list of auto-completions will show the next page, eventually beginning at the first one again. * do not redraw curses windows in the UI methods directly. this resulted in flickering during command-line editing macros and ordinary macro calls because the physical screen was updated immediately. Instead, window refreshing and updated is done centrally in event_loop_iter() only after a key has been processed. Also we use wnoutrefresh() and doupdate() to send as little to the terminal (emulator) as possible.
2014-11-24updated TODORobin Haberkorn1-7/+10
2014-11-17updated TODORobin Haberkorn1-4/+1
2014-11-11refactored SciTECO runtime errors: moved from parser.cpp to error.cppRobin Haberkorn1-1/+0
* the GError expection has been renamed to GlibError, to avoid nameclashes when working from the SciTECO namespace
2014-11-10updated TODORobin Haberkorn1-1/+3
2014-11-09documented EC and EG commandsRobin Haberkorn1-2/+0
2014-11-02changed syntax for long Q-Register names: use [] brackets instead of {}Robin Haberkorn1-1/+0
this breaks many existing scripts, and means you may have to rebuild SciTECO with ./configure --enable-bootstrap The syntax of SciTECO might change in backwards-incompatible until version 1.0 is released.
2014-11-01fixed reversing EW (save as)Robin Haberkorn1-1/+1
when the file name changes, there will no longer be a use-less save point file. instead the new file is deleted upon rubout. * save points are properly created if a file already exists with the same name, even though it was not known to SciTECO before the save. (e.g. you do save-as to a file that already exists). * more effects of the save command can now be rubbed out correctly
2014-08-02ensure that expressions.eval(true) pops the brace "operator"Robin Haberkorn1-1/+0
test case: 1<()> * an empty brace (or content that does not leave anything on the stack) resulted in the brace op to be left on the stack which makes the op stack inconsistent
2014-02-18removed unreliable CHR2STR() macroRobin Haberkorn1-2/+0
* referencing temporaries is unreliable/buggy in GNU C++, at least since v4.7 * in higher optimization levels it resulted in massive memory corruptions * this is responsible for the build issues (PPA build issues) * instead, always declare a buffer on the stack which guarantees that the variable lives long enough * the g_strdup(CHR2STR(x)) idiom has been replaced with String::chrdup(x)
2014-02-16updated minimum required Scintilla version to v3.3.7 / Scinterm v1.2Robin Haberkorn1-0/+1
* allows us to remove most patches. One however is still necessary (Scinterm Makefile bug!) * TECO-style control code echoing is now set up using the SCI_SETREPRESENTATION message * updated copyrights * updated TODO
2014-02-15updated TODORobin Haberkorn1-1/+5
2013-07-25updated TODO: reversing EWfilename$ (save as) is brokenRobin Haberkorn1-0/+1
2013-07-23updated TODORobin Haberkorn1-0/+1
2013-07-05updated TODORobin Haberkorn1-1/+9
2013-03-16updated TODO: written language referenceRobin Haberkorn1-2/+1
2013-03-16updated TODORobin Haberkorn1-5/+9
2013-02-22updated TODO: Optimizations sectionRobin Haberkorn1-3/+7
2013-02-14updated TODORobin Haberkorn1-0/+2
2013-02-14updated TODO: long-q-reg names implementedRobin Haberkorn1-4/+2
2013-02-08updated TODORobin Haberkorn1-2/+13
2013-02-08updated TODO: implemented "{" and "}" commandsRobin Haberkorn1-1/+0
2013-01-29updated TODORobin Haberkorn1-0/+4
2013-01-22fixed: macro program counter is fixed after error occurred while executing ↵Robin Haberkorn1-2/+2
commandline fixes errors in loops or loop interruptions (may leave program counter somewhere in the loop)
2013-01-21fixed: preserve access mode and ownership (if possible) of file when savingRobin Haberkorn1-1/+4
* works with/without save-points (i.e. in batch and interactive mode, both were broken) * improved file-saving performance (avoid buffer gap removal) * only root can preserve the ownership of a file owned by another user after file saving
2013-01-20added manpage highlighting program invocation and batch modeRobin Haberkorn1-1/+0
language and commands will be described in separate documents
2013-01-20fixed search-replace commands if search fails (do not insert then)Robin Haberkorn1-3/+7
* updated TODO
2013-01-20added patch enabling TECO-style (^X) control code echoing in ScintillaRobin Haberkorn1-1/+1
in the future, I might submit a more elaborate Scintilla patch for configuring the control code strings.
2013-01-19added TODO listRobin Haberkorn1-0/+30
also updated AUTHORS