aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2013-01-23added --eval commandline option allowing code to be executed on the commandlineRobin Haberkorn1-1/+19
useful, e.g. in Makefiles
2013-01-23distribute new cmdline.hRobin Haberkorn1-1/+1
2013-01-23cleaned up QRegister state interface (can pass register by reference)Robin Haberkorn4-60/+57
2013-01-23moved StateExpectQReg from parser.h to qregisters.hRobin Haberkorn5-50/+48
* parser.cpp|h should be reserved for generic and misc. stuff. the StateExpectQReg class is used almost exclusively by qregisters.cpp|h * resolves a circular header dependency issue
2013-01-23implemented special save last commandline command ("*" at beginning of ↵Robin Haberkorn8-6/+77
commandline macro) * only works as part of commandline macro, * at the beginning of other macros, it is treated like an arithmetic asterisk * variables defined in cmdline.cpp are now declared by new cmdline.h
2013-01-22fixed: macro program counter is fixed after error occurred while executing ↵Robin Haberkorn1-0/+2
commandline fixes errors in loops or loop interruptions (may leave program counter somewhere in the loop)
2013-01-22This reverts commit 821c61e9967e62fd81038e4b879c5452bffe2dfb.Robin Haberkorn1-9/+30
memory mapping the entire file has been benchmarked to be less efficient than the old implementation (because of more than doubling page faults). A lengthy comment has been written to discuss different implementations of file reading.
2013-01-21improved reading files by using memory-mappingRobin Haberkorn1-6/+9
* file must be in primary memory for scintilla * we cannot write to scintilla's buffer memory directly * so mapping the file is best: in the best case it is not copied to primary memory and resides in kernel cache * in any case, mapping to memory is faster than read()ing into primary memory * copying from mapped virtual memory to scintilla buffer (via SCI_APPENDTEXT) is faster than copying from primary memory
2013-01-21fixed: preserve access mode and ownership (if possible) of file when savingRobin Haberkorn1-19/+109
* 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-20fixed search-replace commands if search fails (do not insert then)Robin Haberkorn2-4/+57
* updated TODO
2013-01-19support only Scinterm >= v1.1 (contains SCI_COLOR_PAIR macro and indirectly ↵Robin Haberkorn1-6/+0
fixes PDCurses support)
2013-01-19updated copyright (2012-2013)Robin Haberkorn26-26/+26
2013-01-19allow <CTRL/C> to be typed; aborts last typed charRobin Haberkorn5-2/+42
* CTRL/C will be a command so it is important to be able to type it directly * aborting character processing is important because it allows aborting infinite loops * since the loop interruption currently relies on SIGINT handling, there is only limited support for XCurses and GTK - CTRL/C has to be typed in the terminal window. later support for input queue polling might be added
2012-12-05windows compatibility changesRobin Haberkorn5-31/+22
* respect executable extensions * do not use weak symbols which appear to be broken on MinGW. Instead, the generated symbol constants contain constructor functions initializing the corresponding objects. Constructor priorities are used to ensure that the initialization takes place after the dummy (NULL) initialization. * do not change the working dir (causes trouble when sciteco gets passed relative paths but the exe is not in the current dir) instead look for teco.ini in program's directory
2012-12-04added copyright notice to every source fileRobin Haberkorn26-0/+442
2012-12-04bootstrapping of build process using preinstalled scitecoRobin Haberkorn1-4/+12
* will also enable crosscompiling SciTECO: first sciteco (or sciteco-minimal) is built for the host platform, then the target binary is built using the host sciteco
2012-12-04additional minor changes: distribution building now possibleRobin Haberkorn2-5/+7
2012-12-04first working version of autotools based build-systemRobin Haberkorn15-9/+106
2012-12-04autoconf preparation: move everything into src/ subdirRobin Haberkorn28-0/+7098