aboutsummaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)AuthorFilesLines
2013-03-16common parent state for all file-name-expecting commands: fixes EM ↵Robin Haberkorn4-7/+17
tab-completions * StateExpectFile adds no functionality (currently), but is useful for checking state types
2013-03-16prevent image generation during HTML production, instead generate HTML ↵Robin Haberkorn3-8/+88
tables using htbl.tes preprocessor
2013-03-16fixed: prevent accessing registers in parse-only modeRobin Haberkorn1-0/+10
* they might not already exist, yielding bogus errors * in case the register might be initialized we do not want to do so in parse-only-mode * this fix is only a workaround: currently we must return a register sind got_register() expects one and must be called to determine the next state in parse only mode * proper solution would be to better separate parsing and execution
2013-03-16elaborate on auto-completions in sciteco(7)Robin Haberkorn1-0/+14
2013-03-16wrote introduction, key translation and immedite editing sections for ↵Robin Haberkorn2-1/+339
sciteco(7) manual * images are generated by grohtml. they are not listed in the Automake rules but instead all sciteco.*.png images are installed and cleaned
2013-03-16outline of remaining language referenceRobin Haberkorn1-0/+43
2013-03-16documented remaining commandsRobin Haberkorn6-2/+405
* flow control and other structures have not been documented this ways. I have not yet decided whether they should be documented in separate sections or use the documentation tool.
2013-03-16completed documentation of all commands in parser.cppRobin Haberkorn2-2/+241
* also updated sciteco(7): add SEE ALSO and AUTHORS
2013-03-16mention sciteco(7) in sciteco(1)Robin Haberkorn1-0/+3
2013-03-16documented commands ending in StateStartRobin Haberkorn1-0/+311
2013-03-16fixed break-command: without-param it evaluates the search-statusRobin Haberkorn1-1/+1
2013-03-16added option to build manuals as HTML using GroffRobin Haberkorn3-0/+22
* will be useful for Windows builds since Windows users usally do not have a man-page formatter/reader
2013-03-16documented generate-docs.tes Troff preprocessorRobin Haberkorn1-0/+27
2013-03-16first draft of TECO command documentation generatorRobin Haberkorn4-1/+150
* the language reference is a manually written man-page template * containing special references for generated documentation (\#$...) * SciTECO script generate-docs.tes extracts TECO comments (/*$ ... */) from all source files and transforms them to Troff requests that are inserted into the document template. * TECO doc comments are a rather sophisticated markup: * first part until empty line is called header: simplified command syntax descriptions * the rest is called body: <identifier> is automatically underlined, empty lines generate new paragraphs, lines beginning with "-" or numbers denote an indented unordered or numbered list item. * regular Troff requests/macros can be used for more sophisticated markup * since Autoconf substitutions are performed on the generated man-page, @VARIABLEs@ may be used in doc comments as well
2013-02-25integrate Doxygen into build systemRobin Haberkorn4-2/+1753
* solely for generating developer docs * disabled by default even if Doxygen is installed * Doxygen comments are not used currently
2013-02-25EM...$ command to read macro from file and execute immediately (just like "M")Robin Haberkorn5-2/+22
* useful for using macro libraries
2013-02-24moved QuickSort macros from symbols-extract script into own string.tes macro ↵Robin Haberkorn4-45/+50
library * therefore for bootstrapping to work, the SCITECOPATH is always set explicitly
2013-02-24cleaned up SymbolList class: make attributes privateRobin Haberkorn2-7/+13
* they were logically private but still declared public so that initializer constructor functions could access them. * instead, now use friend classes * has the side effect that initializing priority can be declared using GCC's init_priority attribute which works with earlier compilers than the constructor (with priority) attribute
2013-02-23fixed symbol lists: sort order must correspond with search order (determined ↵Robin Haberkorn3-32/+42
by comparision function) * lists were sorted lexicographically (like strcmp()), but searched caseless (like strcasecmp()) * lists are now sorted with strcasecmp()-like comparision * caselessness is thus a property of the SymbolList * use new language features in symbols-extract.tes
2013-02-22save/restore anchor position along with dot (current position) when editing ↵Robin Haberkorn2-6/+12
documents * fixes search-replace commands when function keys are used since they rely on selections not being disturbed * will also be useful later when there may be other selections
2013-02-22use typedef for SciTECO integers and make it configurable at configure timeRobin Haberkorn13-68/+84
* storage size should always be 64 (gint64) to aid macro portability * however, for performance reasons users compiling from source might explicitly compile with 32 bit integers
2013-02-22added --with-default-scitecopath config option: default value of $SCITECOPATHRobin Haberkorn5-9/+20
useful for Windows where the desired default path does not correspond with the installation dir of the std lib macros
2013-02-22added --with-scinterm site-config option and cleaned up Curses configurationRobin Haberkorn2-24/+27
may be used to have multiple scinterm-versions in the Scintilla source tree
2013-02-22added some default function key macrosRobin Haberkorn3-1/+34
2013-02-22resolved enter-key handling by introducing get_eol()Robin Haberkorn4-22/+19
2013-02-22function key macro support for GTK+ interfaceRobin Haberkorn2-11/+61
* also revised the way in which unhandled keys are interpreted (use gdk_keyval_to_unicode() instead of deprecated GdkEventKey::string) * keep in sync with Curses key handling
2013-02-22fixed global object initialization order issueRobin Haberkorn7-25/+53
* Scintilla is now initialized from main() using Interface::main() * Scintilla initialization depends on initialization of objects in the global namespace (otherwise the Lexer catalogue may not be filled properly and lexing may not work). Lexer modules were initialized after SciTECO interface initialization * merged Scintilla initialization (Interface::main()) with interface option parsing
2013-02-22fixed margin configuration with GTK+ interfaceRobin Haberkorn2-4/+9
* line-number style must be explicitly set, even after CLEARALLSTYLES * margin widhts are in pixels (except in Scinterm), so we must determine the pixels requiered by a number of digits (e.g. 5 digits)
2013-02-22Windows (MinGW) compatibility fixes: suspending impossible and environment ↵Robin Haberkorn2-9/+10
initialization revised * g_get_environ() appears to be broken, at least in Wine and Win2k
2013-02-22VPATH build fixes: SciTECO can now be built from a parallel source treeRobin Haberkorn3-11/+13
...which is useful when crosscompiling for MinGW
2013-02-22updated TODO: Optimizations sectionRobin Haberkorn1-3/+7
2013-02-22removed unused Red-Black tree abstractionsRobin Haberkorn1-180/+0
they didn't work and weren't really necessary either
2013-02-22clean up QRegisterTable::insert|initialize usageRobin Haberkorn3-15/+13
* distinction no longer useful since string part of register is now never pre-initialized
2013-02-22clean up QRegister vs. Buffer redundancies using TECODocument classRobin Haberkorn7-88/+234
* also encapsulates data properly (previously there were many public attributes to avoid permission issues) * new class also cares about saving/and restoring scroll state. now, buffer/q-reg edits and temporary accesses do not reset the scroll state anymore.
2013-02-22clean up SciTECO bootstrapping by building convenience libraryRobin Haberkorn3-27/+33
* pkg-config LIBS should be added to $LIBS so that link order is correct
2013-02-22use preprocessor error if no interface has been selectedRobin Haberkorn1-0/+2
this is often because of a missing "config.h" include, but puzzles me every time...
2013-02-17made UndoStack::push_msg() inlineRobin Haberkorn2-8/+6
2013-02-16fixed commandline replacementsRobin Haberkorn1-15/+16
ensure that undo tokens for first differing characters are actually associated with this character instead of the next. (resulted in strange behaviour on rubout and subsequent replacements)
2013-02-16implemented command to query ASCII code of character (^^x)Robin Haberkorn2-0/+26
2013-02-16function key support (keys without printable representation) using keyboard ↵Robin Haberkorn4-8/+59
macros * if enabled, when a function key is pressed it is looked up in Q-Registers ^F... e.g. HOME key corresponds to register ^FHOME * the string if available is inserted as if it was entered by key-presses (later it may be entered as a single input token which may be removed in a single rubout) * only NCurses currently, key names directly correspond to Curses key names * on Curses if function keys are enabled ESCAPE will be inserted after a delay (because function keys are transmitted via escape sequences). A function key macro may be used to define an alternative escape character
2013-02-15install standard macros into special standard library path (pkgdatadir/lib)Robin Haberkorn9-12/+40
* SCITECOPATH environment variable defaults to this directory * manpage updated * default teco.ini updated: no need to generate it anymore
2013-02-14hide some implementation details in MicroStateMachinesRobin Haberkorn3-19/+20
2013-02-14initialize global Q-Registers (beginning with $) with environment variablesRobin Haberkorn1-0/+23
e.g. G{$HOME} will insert the HOME environment variable
2013-02-14updated TODORobin Haberkorn1-0/+2
2013-02-14updated TODO: long-q-reg names implementedRobin Haberkorn1-4/+2
2013-02-14undo q-register table initializations (insertions) on ruboutRobin Haberkorn2-1/+24
2013-02-14option for q-reg spec state machine to allocate (insert) new q-registersRobin Haberkorn3-9/+38
* enabled for all modifying Q-Reg commands
2013-02-14use Q-Register micro state machine when parsing Q-Reg spec in ↵Robin Haberkorn2-45/+39
string-building commands * allows referring to long Q-Register names in string arguments * currently, long names specified this way use their own string building char parsing (I'm unsure whether this makes any sense)
2013-02-14undo tokens for changing an object pointerRobin Haberkorn1-0/+40
will care about the eventual deletion of the object
2013-02-14micro state machine for Q-Register specifications: allow long Q-Reg namesRobin Haberkorn2-16/+100
syntax is as follows: ["."]("#" CHR1 CHR2 | "{" STRING_BUILDING "}" | CHR1) * the short one/two char names are turned upper case, while no case folding is performed on verbose names