249 Commits (45706a3905cc634709e67f8b0721d6a7f8d49331)

Author SHA1 Message Date
eidheim 45706a3905 Small fix, copied old code. 11 years ago
eidheim 27cff8be26 Did not intend to delete this function in last commit. 11 years ago
eidheim d33df03dd7 Moved completiondialog-code to seperate file: selectiondialog.h/cc. The selectiondialog is now started from Source::ClangView. Some cleanup. See source.cc lines 340-345 for example use of SelectionDialog. 11 years ago
eidheim d4352ee8b5 Moved completiondialog-code to seperate file: selectiondialog.h/cc. The selectiondialog is now started from Source::ClangView. Some cleanup. See source.cc lines 340-345 for example use of SelectionDialog. 11 years ago
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 efd1a6c2b8 Can now open files and directories using the command line, for instance: juci . source.cc notebook.* 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 59449bfcb9 Added missing #include<atomic>. 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 1b1878f5c0 Remove printlines 11 years ago
es d57b18c144 Add custom background color 11 years ago
Jørgen Lien Sellæg 472a6d427d Minor change 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 954ae00517 Removed previous linenumbering. Scrolling now works on both enter and paste text. 11 years ago
eidheim 689304712a Now using gtksourceviewmm. 11 years ago
eidheim fa1cce63ba Added some very basic indentation. Improvements needed. 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 80ecca9d24 Remove comments 11 years ago
Jørgen Lien Sellæg bee11a2504 move lock 11 years ago
oyvang 18ff966814 fixed compile_command cp to source folder 11 years ago
Jørgen Lien Sellæg f7da02341c Fixes 11 years ago
oyvang 765b28cf35 fixed bug with two save listeners 11 years ago
oyvang 78b2de3924 fixed save on compile 11 years ago
oyvang 6401f94465 fixed feedback when file is not saved 11 years ago