c1714c5b35Fixed crash from last commit. Moved the progress messages to a seperate class, and added cancel message.
eidheim
2015-06-26 21:32:11 +0200
dd86269837See TODO. Should fix this before merge.
eidheim
2015-06-26 17:16:18 +0200
5c21533435Fixed a crash when tab was closed before the parsing was done. Juci sometimes crashes when quitting, maybe while parsing for the first time. Will look into it.
eidheim
2015-06-26 17:08:26 +0200
6d7c4ffa09Mainly cleanup of terminal.*. Added first time clang-parsing message in terminal.
eidheim
2015-06-26 16:40:04 +0200
85d3e6aefcInstant file opening (can now see and write code while the file is being parsed for the first time), twice as fast initial parse+reparse, .h-files parsed as c++-files (guess this is ok).
eidheim
2015-06-25 17:30:54 +0200
68ac889879A little cleanup, mostly getting rid of warnings (Added -Wall and -Wno-reorder to compilation).
eidheim
2015-06-25 13:56:00 +0200
eb03b69ccfMerge pull request #5 from cppit/master
Ole Christian Eidheim
2015-06-25 13:13:01 +0200
88c83660c1Cleaned up entry.*. New file now works, but did simplify it abit, that is removed new header and new c++ file, hope that was ok. More cleanup of source.* too.
eidheim
2015-06-25 13:09:43 +0200
749e28a259Started cleaning up notebook.*. Fixed copy of Notebook::Controller::source_config.
eidheim
2015-06-24 13:01:06 +0200
92e2417787Moved basic indentation to Source::View, Clang specific indentation still in Source::ClangView. Some fixes, improved indentation for non-clang files, also added tab_char to Source::Config.
eidheim
2015-06-24 11:14:15 +0200
832ef8881cMade SelectionDialog more general, now receiving Gtk::TextView& instead. Minor cleanup in source.*.
eidheim
2015-06-23 23:07:33 +0200
45706a3905Small fix, copied old code.
eidheim
2015-06-23 18:02:01 +0200
27cff8be26Did not intend to delete this function in last commit.
eidheim
2015-06-23 18:00:11 +0200
d33df03dd7Moved 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.
eidheim
2015-06-23 17:49:16 +0200
d4352ee8b5Moved 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.
eidheim
2015-06-23 17:47:47 +0200
ecc56b66dfFixed annoying indentation issue when entering enter after a bracket.
eidheim
2015-06-23 14:15:53 +0200
e7b6e425a0Small change in setting and using Source::View::project_path.
eidheim
2015-06-23 14:00:13 +0200
efd1a6c2b8Can now open files and directories using the command line, for instance: juci . source.cc notebook.*
eidheim
2015-06-22 19:28:45 +0200
714d87a089Initial 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.
eidheim
2015-06-21 21:13:15 +0200
26bae99661Fixed save changed file dialog activation, and removed Source::Controller::signal_buffer_changed.
eidheim
2015-06-21 16:52:24 +0200
a10a0dc3c0Fixed marking of changed tabs that are not saved.
eidheim
2015-06-21 16:08:24 +0200
a2f68575c9Small fix, parsing of source now also starts right after the file is opened (in the background).
eidheim
2015-06-19 12:33:43 +0200
122fb85390Added mark to tab-label when content is changed and not saved.
eidheim
2015-06-19 12:01:50 +0200
541135cc2dFinished cleaning up source.h/cc for now I think.
eidheim
2015-06-19 10:42:25 +0200
6647377ab5More cleanup: mainly, OnUpdateSyntax->update_syntax moved to Source::Controller.
eidheim
2015-06-18 15:39:26 +0200
4355fcdfabAbit more cleanup, and removal of an accidental path-paste in source.cc.
eidheim
2015-06-18 14:48:15 +0200
9d3cda4199More code cleanup: get_autocomplete_suggestions (previously GetAutoCompleteSuggestions) now only in Source::Parser class.
eidheim
2015-06-18 14:37:32 +0200
ef4f12469asleep_for instead of yield reduces the cpu load.
eidheim
2015-06-18 13:56:35 +0200
394d6284ebjoin the parse_thread only if its joinable (created in this case).
eidheim
2015-06-18 13:48:10 +0200
63dac5e737Forgot to destroy thread in Source::Controller-destructor.
Ole Christian Eidheim
2015-06-18 12:35:02 +0200
b7af345e84Added const to controllers reference.
eidheim
2015-06-17 21:26:31 +0200
81229a287cMore 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.
eidheim
2015-06-17 21:20:57 +0200
b2bf3b317bMerge pull request #4 from cppit/master
Ole Christian Eidheim
2015-06-17 15:55:12 +0200
0bd7470d28Last 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).
eidheim
2015-06-17 15:45:45 +0200
b72d067c83Add more configurations. Font, background, show line numbers, highlight current lineJørgen Lien Sellæg2015-06-15 00:25:40 +0200
80cae66884Yet another minor indentation fix.
eidheim
2015-06-14 20:55:58 +0200
4a97b73cf3minor fix to indentation.
eidheim
2015-06-14 20:26:53 +0200
bd32ff013dIndentation done I think.
eidheim
2015-06-14 19:48:06 +0200
a180682eb2Now, undo does not go back to when textbuffer was empty. Fixed crash when closing tabs while processing source.
eidheim
2015-06-14 16:00:59 +0200
2f88e75581Moved 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.
eidheim
2015-06-13 17:24:36 +0200
f6d9984d79Merge pull request #1 from cppit/master
Ole Christian Eidheim
2015-06-12 16:16:27 +0200
bd3f3739a4Added Gsv::init(), and changed behaviour of home and end keys slightly.
eidheim
2015-06-11 13:56:37 +0200
496e962079Fixes#3 Add undo and redo by hotkey
Jørgen Lien Sellæg
2015-06-10 22:52:05 +0200
954ae00517Removed previous linenumbering. Scrolling now works on both enter and paste text.
eidheim
2015-06-10 12:27:01 +0200
689304712aNow using gtksourceviewmm.
eidheim
2015-06-10 11:41:22 +0200
fa1cce63baAdded some very basic indentation. Improvements needed.
eidheim
2015-06-08 23:17:00 +0200
4e2200ea1bWorks now without std::min(buffer->get_text.size(), raw_size) it seems.
eidheim
2015-06-08 10:38:38 +0200
872a61beb7Removed dangerous use of vector<const char*>. Opening files in a project now work every time.
eidheim
2015-06-07 17:26:53 +0200
e64fe65e09OS X support almost done. Fixed a crash using Glib::Dispatcher, also resulted in simpler code in source.cc.
eidheim
2015-06-07 01:24:09 +0200