aboutsummaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)AuthorFilesLines
2014-02-15report stack overflows as errors & fixed ValueStack dtorRobin Haberkorn1-1/+5
* ValueStack destruction might have resulted in Segfaults at shutdown
2014-02-15all interface classes define the same type InterfaceCurrent, simplifying the ↵Robin Haberkorn4-11/+8
interface object definition * they still define their own classes (e.g. InterfaceNCurses), InterfaceCurrent is a typedef
2014-02-15catch division by zero errorsRobin Haberkorn1-8/+29
* C++ runtime does not automatically throw an exception
2014-02-15added State::StdError class for constructing errors from std::exception objectsRobin Haberkorn3-6/+19
2014-02-15use GLib's GError information to yield errorsRobin Haberkorn7-19/+27
* results in better error messages, e.g. when opening files * the case that a file to be opened (EB) exists but is not readably is handled for the first time
2014-02-15fixed Execute::macro() and Execute::file() exceptionsRobin Haberkorn2-8/+69
* might throw other exceptions that must be associated with the parent macro level's (stack frame) * add position information to "label not found" errors * Error copy constructors
2014-02-15removed most exception specifications: allow bad_allocs to propagateRobin Haberkorn12-111/+110
* specifications resulted in runtime errors (unexpected exception) when bad_alloc ocurred * specs should be used scarcely: only when the errors that may be thrown are all known and for documentary purposes
2014-02-15glib allocation functions throw std::bad_alloc exceptions now; catch all ↵Robin Haberkorn2-4/+69
bad_allocs and convert them to State::Error * will allow some degree of OOM handling * currently does not work since the exception specifications prevent bad_allocs from propagating. exception specification usage must be completely revised
2014-02-15fixed formatting of "Text Editor and Corrector"Robin Haberkorn2-2/+2
2014-02-15String::get_coord() calculates line and column of a string positionRobin Haberkorn4-12/+53
* use to get line and column into a stack frame
2014-02-15added support for TECO stack tracingRobin Haberkorn6-37/+171
* when an error is thrown, stack frames are collected on clean up, up to the toplevel macro * the toplevel macro decides how to display the error * now errors in interactive and batch mode are displayed differently * in batch mode, a backtrace is displayed as a sequence of messages * Execute::file() forwards errors correctly * the correct error in the file is displayed in interactive mode * necessary to build the stack trace
2014-02-15added EMCurses/Emscripten supportRobin Haberkorn6-65/+177
by building with Emscripten support, SciTECO may be embedded into web pages. * sciteco.html is not a piece of documentation but a sample SciTECO embedding
2013-07-25updated TODO: reversing EWfilename$ (save as) is brokenRobin Haberkorn1-0/+1
2013-07-23updated TODORobin Haberkorn1-0/+1
2013-07-09fixed compilation of the GTK+ interfaceRobin Haberkorn2-2/+2
* there was a compile-time race condition that could result in the GObjects not being built (with Gob2). So I removed the symbols generation from BUILT_SOURCES. * apparently either Scintilla depends on gmodule since I last tested or the gtk+-2.0 pkg-config package no longer includes gmodule, so we must explicitly depend on it
2013-07-05updated TODORobin Haberkorn1-1/+9
2013-07-05only allow command-line replacements when actually editing the replacement ↵Robin Haberkorn1-0/+7
register I felt the urge to implement that after accidentally rubbing out my entire commandline (the work of an hour) just by pressing "}"...
2013-07-05fixed INSTALL instructions and added patch for Scintilla v3.3.1 compatibilityRobin Haberkorn2-3/+17
2013-07-04updated lexer config: CMake and XML lexingRobin Haberkorn1-0/+87
2013-05-11Merge branch 'master' of https://github.com/Yomin/scitecoRobin Haberkorn1-1/+1
2013-04-11set LC_ALL=C when executing 'date' for manpageMartin Roedel1-1/+1
2013-03-28added missing debian copyright notice for BSD headersRobin Haberkorn1-0/+5
2013-03-20./distribute: allow not to upload original sources (UPLOAD_SRC=no)v0.5Robin Haberkorn1-4/+12
* useful when uploading into PPA for different series
2013-03-20fixed zipping of Windows binaries: missing -r flagRobin Haberkorn1-1/+1
2013-03-20updated version to 0.5Robin Haberkorn3-3/+3
2013-03-20moved and updated installation infos into INSTALLRobin Haberkorn2-29/+95
* list download archives in README instead
2013-03-20added ./distribute rule to put a debian source package into the sciteco PPARobin Haberkorn1-0/+5
2013-03-20./distribute debian SIGN=yes: sign source/binary packagesRobin Haberkorn1-2/+8
2013-03-20use a Debian version and branch by defaultRobin Haberkorn2-1/+8
* distributed binary packages are standard debian packages * ./distribute might fix up the package version and branch for Ubuntu/PPA
2013-03-20replace GNU readlink dependency with custom canonicalize() shell functionRobin Haberkorn1-9/+10
* some build environments (like XCode) do not have a GNU readlink by default
2013-03-20default Scintilla-path is ../scintillaRobin Haberkorn3-5/+5
so no additional --with-scintilla is necessary when building from a source bundle
2013-03-20use 0,xED instead of ED#xED in teco.iniRobin Haberkorn1-2/+2
2013-03-19fixed windows packagingRobin Haberkorn1-2/+5
2013-03-19add ./distribute clean targetRobin Haberkorn1-0/+5
2013-03-19added minor scinterm patches and cleaned up patch systemRobin Haberkorn6-9/+38
* MinGW binaries are built from source bundles * patches are applied to the source bundle * so all necessary patches must be in the repository and distributed * use a leading number in patch names to ensure proper application order
2013-03-19distribution script (Makefile)Robin Haberkorn1-0/+89
* can build source bundles * debian source and binary packages * Zipped Windows binary
2013-03-19debianized SciTECORobin Haberkorn6-0/+116
* prepared for upload to Ubuntu PPA * debian package will not be in autoconf source distro * will only build as a non-native package based on a source bundle that contains scintilla, scinterm and has patches applied
2013-03-19fixed minor Troff error: ".." is not allowedRobin Haberkorn2-2/+2
2013-03-19updated README: gcc 4.4 and later are supportedRobin Haberkorn1-8/+12
* cleaned up dependency list
2013-03-19avoid delete-non-virtual-dtor warning on g++ 4.7Robin Haberkorn2-0/+2
* the warning itself makes sense but in the cases reportet they were irrelevant
2013-03-19rewritten CHR2STR() using compound statementRobin Haberkorn2-3/+8
* fixes compilation on g++ 4.7 where compound literals are suddenly temporaries (from which you cannot get a pointer) * the compound statement (also GCC extension) should ensure that the string is allocated on the stack with automatic lifetime
2013-03-18explicitly instantiate MicroStateMachine: fixes compilation with gcc-4.4Robin Haberkorn4-7/+7
2013-03-18add check for CLang: use clang-specific warnings only when compiling with CLangRobin Haberkorn2-1/+8
* fixes gcc-4.4 which does not have -Wno-mismatched-tags and no -Wunknown-warning
2013-03-18remove all unused-attributes for parametersRobin Haberkorn5-17/+11
* compiler does not warn by default: this actually makes sense * so we don't need any unused-attributes * less GCC-extension based * on older GCCs I think -Wunused-parameters was enabled by -Wall we should add -Wno-unused-parameters if that's the case
2013-03-18declare State::Error::Error() as printf-likeRobin Haberkorn1-1/+1
2013-03-18declare all global inter-dependant objects in main.cpp and get rid of ↵Robin Haberkorn16-51/+62
init_priority attribute * we cannot use weak symbols in MinGW, so we avoid init_priority for symbol initialization by compiling the empty definitions into sciteco-minimal but the real ones into sciteco (had to add new file symbols-minimal.cpp) * this fixes compilation/linking on LLVM Clang AND Dragonegg since their init_priority attribute is broken! this will likely be fixed in the near future but broken versions will be around for some time
2013-03-18disable some bogus warnings for LLVM/ClangRobin Haberkorn1-1/+1
* -Wmismatched-tags does not appear to exist on GCC: but we need to be able to refer to classes with both struct and class keywords because of the BSD data types * -Wchar-subscripts exists on GCC and may or may not be in -Wall. We disable it since we use character literals as subscripts - they are actually of type char in C++, in contrast to C where they are of type int.
2013-03-18make sure a (void*)0 is used as sentinelsRobin Haberkorn6-12/+18
since including glib.h on LLVM-Clang (32-bit) results in NULL being redefined to 0 and compiler warnings being emitted when NULL is used as sentinels
2013-03-18prefer $HOME over passdb when looking for .teco_iniRobin Haberkorn1-1/+1
* fixes sudo sciteco: will still use the real user's .teco_ini * when run with real user as root, will look in root's home dir * use g_get_home_dir() as a fallback
2013-03-18always recreate doxygen/Robin Haberkorn1-0/+1
* work around frequent Doxygen error