76 Commits (ecc56b66df656023ff8311a0ce4d2d7af2407e93)

Author SHA1 Message Date
eidheim ecc56b66df Fixed annoying indentation issue when entering enter after a bracket. 11 years ago
eidheim e7b6e425a0 Small change in setting and using Source::View::project_path. 11 years ago
eidheim 714d87a089 Initial restructure of source.h/cc. If its decided to restructure further, this will form an ok starting point for this work. Source::ClangView is now used for cpp-files, and Source::GenericView is used for other files. Source::View is inherited in both cases. See TODO-comment regarding new files. 11 years ago
eidheim 26bae99661 Fixed save changed file dialog activation, and removed Source::Controller::signal_buffer_changed. 11 years ago
eidheim a10a0dc3c0 Fixed marking of changed tabs that are not saved. 11 years ago
eidheim a2f68575c9 Small fix, parsing of source now also starts right after the file is opened (in the background). 11 years ago
eidheim 122fb85390 Added mark to tab-label when content is changed and not saved. 11 years ago
eidheim 541135cc2d Finished cleaning up source.h/cc for now I think. 11 years ago
eidheim 6647377ab5 More cleanup: mainly, OnUpdateSyntax->update_syntax moved to Source::Controller. 11 years ago
eidheim 4355fcdfab Abit more cleanup, and removal of an accidental path-paste in source.cc. 11 years ago
eidheim 9d3cda4199 More code cleanup: get_autocomplete_suggestions (previously GetAutoCompleteSuggestions) now only in Source::Parser class. 11 years ago
eidheim ef4f12469a sleep_for instead of yield reduces the cpu load. 11 years ago
eidheim 394d6284eb join the parse_thread only if its joinable (created in this case). 11 years ago
Ole Christian Eidheim 63dac5e737 Forgot to destroy thread in Source::Controller-destructor. 11 years ago
eidheim b7af345e84 Added const to controllers reference. 11 years ago
eidheim 81229a287c More code cleanup. Removed dependency notebook.h from the Source-classes. Support for other languages than C++ can soon be added by implementing an interface of Source::Parser, but this is not something I will prioritize. 11 years ago
eidheim 0bd7470d28 Last crash when writing code hopefully fixed. Taking care now not to read from view-buffer in a thread (only do this in GTK-main-thread). 11 years ago
eidheim f5954ee786 is_saved and is_changed is set in source.h I saw now. 11 years ago
eidheim d324d99c05 Cleanup of Source::Model (renamed Source::Parser) and Source::Controller. 11 years ago
es d57b18c144 Add custom background color 11 years ago
Jørgen Lien Sellæg b72d067c83 Add more configurations. Font, background, show line numbers, highlight current line 11 years ago
eidheim 80cae66884 Yet another minor indentation fix. 11 years ago
eidheim 4a97b73cf3 minor fix to indentation. 11 years ago
eidheim bd32ff013d Indentation done I think. 11 years ago
eidheim a180682eb2 Now, undo does not go back to when textbuffer was empty. Fixed crash when closing tabs while processing source. 11 years ago
eidheim 88a0713128 Fixed crash. 11 years ago
eidheim 2f88e75581 Moved indenting to source.cc, added tab_size in config.json, some smaller bugfixes, Gsv::init is in juci.cc, right after Gtk::Application::create as in examples. Also some improvements to indenting. 11 years ago
eidheim bd3f3739a4 Added Gsv::init(), and changed behaviour of home and end keys slightly. 11 years ago
Jørgen Lien Sellæg 496e962079 Fixes #3 Add undo and redo by hotkey 11 years ago
eidheim 689304712a Now using gtksourceviewmm. 11 years ago
eidheim 4e2200ea1b Works now without std::min(buffer->get_text.size(), raw_size) it seems. 11 years ago
eidheim 872a61beb7 Removed dangerous use of vector<const char*>. Opening files in a project now work every time. 11 years ago
eidheim e64fe65e09 OS X support almost done. Fixed a crash using Glib::Dispatcher, also resulted in simpler code in source.cc. 11 years ago
Jørgen Lien Sellæg f7da02341c Fixes 11 years ago
oyvang 6bb936e059 Fixed extensions and compile bug 11 years ago
tedjk 136e70d15b fixed legal extensions to parse in source and notebook, with GM 11 years ago
tedjk 41b745b83d added legal file-extensions to source 11 years ago
Jørgen Lien Sellæg c05692546a add log messages 11 years ago
Jørgen Lien Sellæg 96b863e488 Add flushing of log file 11 years ago
oyvang de2c64ee60 fixed terminal view and compile and run 11 years ago
Jørgen Lien Sellæg 839949b7fe edit logging service 11 years ago
oyvang aac51b73ee Fixed save and save as 11 years ago
Jørgen Lien Sellæg 5a41847518 Moves the clang index to notebook for better parsing between edited files 11 years ago
Jørgen Lien Sellæg 64ce7473ed juci working auto complete 11 years ago
Jørgen Lien Sellæg 63d69c6ca3 add vector as parameter 11 years ago
Jørgen Lien Sellæg a27517293c add autocompletion demo 11 years ago
Jørgen Lien Sellæg a411cb3f76 Add multiline syntax 11 years ago
Jørgen Lien Sellæg efc8eccadf fix syntax 11 years ago
Jørgen Lien Sellæg f0c622fb89 betaalpha syntax highlighting 11 years ago
Jørgen Lien Sellæg 2e0a497bae working proof of concept syntax 11 years ago