mirror of https://gitlab.com/cppit/jucipp
100 changed files with 353 additions and 353 deletions
@ -1,5 +1,5 @@ |
|||||||
#include "autocomplete.h" |
#include "autocomplete.hpp" |
||||||
#include "selection_dialog.h" |
#include "selection_dialog.hpp" |
||||||
|
|
||||||
Autocomplete::Autocomplete(Gtk::TextView *view, bool &interactive_completion, guint &last_keyval, bool pass_buffer_and_strip_word) |
Autocomplete::Autocomplete(Gtk::TextView *view, bool &interactive_completion, guint &last_keyval, bool pass_buffer_and_strip_word) |
||||||
: view(view), interactive_completion(interactive_completion), pass_buffer_and_strip_word(pass_buffer_and_strip_word) { |
: view(view), interactive_completion(interactive_completion), pass_buffer_and_strip_word(pass_buffer_and_strip_word) { |
||||||
@ -1,7 +1,7 @@ |
|||||||
#pragma once |
#pragma once |
||||||
#include "dispatcher.h" |
#include "dispatcher.hpp" |
||||||
#include "mutex.h" |
#include "mutex.hpp" |
||||||
#include "tooltips.h" |
#include "tooltips.hpp" |
||||||
#include <atomic> |
#include <atomic> |
||||||
#include <thread> |
#include <thread> |
||||||
|
|
||||||
@ -1,9 +1,9 @@ |
|||||||
#include "cmake.h" |
#include "cmake.hpp" |
||||||
#include "compile_commands.h" |
#include "compile_commands.hpp" |
||||||
#include "config.h" |
#include "config.hpp" |
||||||
#include "dialogs.h" |
#include "dialogs.hpp" |
||||||
#include "filesystem.h" |
#include "filesystem.hpp" |
||||||
#include "terminal.h" |
#include "terminal.hpp" |
||||||
#include <regex> |
#include <regex> |
||||||
|
|
||||||
CMake::CMake(const boost::filesystem::path &path) { |
CMake::CMake(const boost::filesystem::path &path) { |
||||||
@ -1,7 +1,7 @@ |
|||||||
#include "compile_commands.h" |
#include "compile_commands.hpp" |
||||||
#include "clangmm.h" |
#include "clangmm.h" |
||||||
#include "config.h" |
#include "config.hpp" |
||||||
#include "terminal.h" |
#include "terminal.hpp" |
||||||
#include <algorithm> |
#include <algorithm> |
||||||
#include <boost/property_tree/json_parser.hpp> |
#include <boost/property_tree/json_parser.hpp> |
||||||
#include <regex> |
#include <regex> |
||||||
@ -1,7 +1,7 @@ |
|||||||
#include "config.h" |
#include "config.hpp" |
||||||
#include "files.h" |
#include "files.hpp" |
||||||
#include "filesystem.h" |
#include "filesystem.hpp" |
||||||
#include "terminal.h" |
#include "terminal.hpp" |
||||||
#include <algorithm> |
#include <algorithm> |
||||||
#include <exception> |
#include <exception> |
||||||
#include <iostream> |
#include <iostream> |
||||||
@ -1,5 +1,5 @@ |
|||||||
#pragma once |
#pragma once |
||||||
#include "dispatcher.h" |
#include "dispatcher.hpp" |
||||||
#include <boost/filesystem.hpp> |
#include <boost/filesystem.hpp> |
||||||
#include <boost/property_tree/json_parser.hpp> |
#include <boost/property_tree/json_parser.hpp> |
||||||
#include <string> |
#include <string> |
||||||
@ -1,8 +1,8 @@ |
|||||||
#include "ctags.h" |
#include "ctags.hpp" |
||||||
#include "config.h" |
#include "config.hpp" |
||||||
#include "filesystem.h" |
#include "filesystem.hpp" |
||||||
#include "project_build.h" |
#include "project_build.hpp" |
||||||
#include "terminal.h" |
#include "terminal.hpp" |
||||||
#include <climits> |
#include <climits> |
||||||
#include <vector> |
#include <vector> |
||||||
|
|
||||||
@ -1,12 +1,12 @@ |
|||||||
#include "debug_lldb.h" |
#include "debug_lldb.hpp" |
||||||
#include <cstdio> |
#include <cstdio> |
||||||
#ifdef __APPLE__ |
#ifdef __APPLE__ |
||||||
#include <cstdlib> |
#include <cstdlib> |
||||||
#endif |
#endif |
||||||
#include "config.h" |
#include "config.hpp" |
||||||
#include "filesystem.h" |
#include "filesystem.hpp" |
||||||
#include "process.hpp" |
#include "process.hpp" |
||||||
#include "terminal.h" |
#include "terminal.hpp" |
||||||
#include <boost/filesystem.hpp> |
#include <boost/filesystem.hpp> |
||||||
#include <iostream> |
#include <iostream> |
||||||
|
|
||||||
@ -1,5 +1,5 @@ |
|||||||
#pragma once |
#pragma once |
||||||
#include "mutex.h" |
#include "mutex.hpp" |
||||||
#include <boost/filesystem.hpp> |
#include <boost/filesystem.hpp> |
||||||
#include <list> |
#include <list> |
||||||
#include <lldb/API/LLDB.h> |
#include <lldb/API/LLDB.h> |
||||||
@ -1,4 +1,4 @@ |
|||||||
#include "dialogs.h" |
#include "dialogs.hpp" |
||||||
#include <cmath> |
#include <cmath> |
||||||
|
|
||||||
Dialog::Message::Message(const std::string &text) : Gtk::Window(Gtk::WindowType::WINDOW_POPUP) { |
Dialog::Message::Message(const std::string &text) : Gtk::Window(Gtk::WindowType::WINDOW_POPUP) { |
||||||
@ -1,4 +1,4 @@ |
|||||||
#include "dialogs.h" |
#include "dialogs.hpp" |
||||||
|
|
||||||
std::string Dialog::open_folder(const boost::filesystem::path &path) { |
std::string Dialog::open_folder(const boost::filesystem::path &path) { |
||||||
return gtk_dialog(path, "Open Folder", |
return gtk_dialog(path, "Open Folder", |
||||||
@ -1,6 +1,6 @@ |
|||||||
#include "dialogs.h" |
#include "dialogs.hpp" |
||||||
#include "juci.h" |
#include "juci.hpp" |
||||||
#include "singletons.h" |
#include "singletons.hpp" |
||||||
|
|
||||||
#undef NTDDI_VERSION |
#undef NTDDI_VERSION |
||||||
#define NTDDI_VERSION NTDDI_VISTA |
#define NTDDI_VERSION NTDDI_VISTA |
||||||
@ -1,10 +1,10 @@ |
|||||||
#include "directories.h" |
#include "directories.hpp" |
||||||
#include "entrybox.h" |
#include "entrybox.hpp" |
||||||
#include "filesystem.h" |
#include "filesystem.hpp" |
||||||
#include "notebook.h" |
#include "notebook.hpp" |
||||||
#include "source.h" |
#include "source.hpp" |
||||||
#include "terminal.h" |
#include "terminal.hpp" |
||||||
#include "utility.h" |
#include "utility.hpp" |
||||||
#include <algorithm> |
#include <algorithm> |
||||||
|
|
||||||
bool Directories::TreeStore::row_drop_possible_vfunc(const Gtk::TreeModel::Path &path, const Gtk::SelectionData &selection_data) const { |
bool Directories::TreeStore::row_drop_possible_vfunc(const Gtk::TreeModel::Path &path, const Gtk::SelectionData &selection_data) const { |
||||||
@ -1,7 +1,7 @@ |
|||||||
#pragma once |
#pragma once |
||||||
#include "boost/filesystem.hpp" |
#include "boost/filesystem.hpp" |
||||||
#include "dispatcher.h" |
#include "dispatcher.hpp" |
||||||
#include "git.h" |
#include "git.hpp" |
||||||
#include <atomic> |
#include <atomic> |
||||||
#include <gtkmm.h> |
#include <gtkmm.h> |
||||||
#include <string> |
#include <string> |
||||||
@ -1,4 +1,4 @@ |
|||||||
#include "dispatcher.h" |
#include "dispatcher.hpp" |
||||||
#include <vector> |
#include <vector> |
||||||
|
|
||||||
Dispatcher::Dispatcher() { |
Dispatcher::Dispatcher() { |
||||||
@ -1,5 +1,5 @@ |
|||||||
#pragma once |
#pragma once |
||||||
#include "mutex.h" |
#include "mutex.hpp" |
||||||
#include <functional> |
#include <functional> |
||||||
#include <gtkmm.h> |
#include <gtkmm.h> |
||||||
#include <list> |
#include <list> |
||||||
@ -1,4 +1,4 @@ |
|||||||
#include "documentation.h" |
#include "documentation.hpp" |
||||||
#include <unordered_map> |
#include <unordered_map> |
||||||
|
|
||||||
std::string Documentation::CppReference::get_url(const std::string &symbol) noexcept { |
std::string Documentation::CppReference::get_url(const std::string &symbol) noexcept { |
||||||
@ -1,4 +1,4 @@ |
|||||||
#include "entrybox.h" |
#include "entrybox.hpp" |
||||||
|
|
||||||
std::unordered_map<std::string, std::vector<std::string>> EntryBox::entry_histories; |
std::unordered_map<std::string, std::vector<std::string>> EntryBox::entry_histories; |
||||||
|
|
||||||
@ -1,6 +1,6 @@ |
|||||||
#pragma once |
#pragma once |
||||||
#include "gtkmm.h" |
|
||||||
#include <functional> |
#include <functional> |
||||||
|
#include <gtkmm.h> |
||||||
#include <list> |
#include <list> |
||||||
#include <string> |
#include <string> |
||||||
#include <unordered_map> |
#include <unordered_map> |
||||||
@ -1,4 +1,4 @@ |
|||||||
#include "git.h" |
#include "git.hpp" |
||||||
#include <cstring> |
#include <cstring> |
||||||
#include <unordered_map> |
#include <unordered_map> |
||||||
|
|
||||||
@ -1,5 +1,5 @@ |
|||||||
#pragma once |
#pragma once |
||||||
#include "mutex.h" |
#include "mutex.hpp" |
||||||
#include <boost/filesystem.hpp> |
#include <boost/filesystem.hpp> |
||||||
#include <giomm.h> |
#include <giomm.h> |
||||||
#include <git2.h> |
#include <git2.h> |
||||||
@ -1,8 +1,8 @@ |
|||||||
#include "grep.h" |
#include "grep.hpp" |
||||||
#include "config.h" |
#include "config.hpp" |
||||||
#include "filesystem.h" |
#include "filesystem.hpp" |
||||||
#include "project_build.h" |
#include "project_build.hpp" |
||||||
#include "terminal.h" |
#include "terminal.hpp" |
||||||
|
|
||||||
Grep::Grep(const boost::filesystem::path &path, const std::string &pattern, bool case_sensitive, bool extended_regex) { |
Grep::Grep(const boost::filesystem::path &path, const std::string &pattern, bool case_sensitive, bool extended_regex) { |
||||||
auto build = Project::Build::create(path); |
auto build = Project::Build::create(path); |
||||||
@ -1,4 +1,4 @@ |
|||||||
#include "info.h" |
#include "info.hpp" |
||||||
|
|
||||||
Info::Info() { |
Info::Info() { |
||||||
set_hexpand(false); |
set_hexpand(false); |
||||||
@ -1,17 +1,17 @@ |
|||||||
#include "juci.h" |
#include "juci.hpp" |
||||||
#include "config.h" |
#include "config.hpp" |
||||||
#include "directories.h" |
#include "directories.hpp" |
||||||
#include "filesystem.h" |
#include "filesystem.hpp" |
||||||
#include "menu.h" |
#include "menu.hpp" |
||||||
#include "notebook.h" |
#include "notebook.hpp" |
||||||
#include "terminal.h" |
#include "terminal.hpp" |
||||||
#include "window.h" |
#include "window.hpp" |
||||||
#ifndef _WIN32 |
#ifndef _WIN32 |
||||||
#include <csignal> |
#include <csignal> |
||||||
#endif |
#endif |
||||||
#ifdef __APPLE__ |
#ifdef __APPLE__ |
||||||
#include "dispatcher.h" |
#include "dispatcher.hpp" |
||||||
#include "window_macos.h" |
#include "window_macos.hpp" |
||||||
#endif |
#endif |
||||||
|
|
||||||
int Application::on_command_line(const Glib::RefPtr<Gio::ApplicationCommandLine> &cmd) { |
int Application::on_command_line(const Glib::RefPtr<Gio::ApplicationCommandLine> &cmd) { |
||||||
@ -1,5 +1,5 @@ |
|||||||
#include "menu.h" |
#include "menu.hpp" |
||||||
#include "config.h" |
#include "config.hpp" |
||||||
#include <iostream> |
#include <iostream> |
||||||
#include <string> |
#include <string> |
||||||
|
|
||||||
@ -1,9 +1,9 @@ |
|||||||
#include "meson.h" |
#include "meson.hpp" |
||||||
#include "compile_commands.h" |
#include "compile_commands.hpp" |
||||||
#include "config.h" |
#include "config.hpp" |
||||||
#include "dialogs.h" |
#include "dialogs.hpp" |
||||||
#include "filesystem.h" |
#include "filesystem.hpp" |
||||||
#include "terminal.h" |
#include "terminal.hpp" |
||||||
#include <regex> |
#include <regex> |
||||||
|
|
||||||
Meson::Meson(const boost::filesystem::path &path) { |
Meson::Meson(const boost::filesystem::path &path) { |
||||||
@ -1,13 +1,13 @@ |
|||||||
#include "notebook.h" |
#include "notebook.hpp" |
||||||
#include "config.h" |
#include "config.hpp" |
||||||
#include "filesystem.h" |
#include "filesystem.hpp" |
||||||
#include "gtksourceview-3.0/gtksourceview/gtksourcemap.h" |
#include "project.hpp" |
||||||
#include "project.h" |
#include "selection_dialog.hpp" |
||||||
#include "selection_dialog.h" |
#include "source_clang.hpp" |
||||||
#include "source_clang.h" |
#include "source_generic.hpp" |
||||||
#include "source_generic.h" |
#include "source_language_protocol.hpp" |
||||||
#include "source_language_protocol.h" |
|
||||||
#include <fstream> |
#include <fstream> |
||||||
|
#include <gtksourceview-3.0/gtksourceview/gtksourcemap.h> |
||||||
#include <regex> |
#include <regex> |
||||||
|
|
||||||
Notebook::TabLabel::TabLabel(const std::function<void()> &on_close) { |
Notebook::TabLabel::TabLabel(const std::function<void()> &on_close) { |
||||||
@ -1,6 +1,6 @@ |
|||||||
#pragma once |
#pragma once |
||||||
#include "gtkmm.h" |
#include "source.hpp" |
||||||
#include "source.h" |
#include <gtkmm.h> |
||||||
#include <iostream> |
#include <iostream> |
||||||
#include <map> |
#include <map> |
||||||
#include <sigc++/sigc++.h> |
#include <sigc++/sigc++.h> |
||||||
@ -1,22 +1,22 @@ |
|||||||
#include "project.h" |
#include "project.hpp" |
||||||
#include "config.h" |
#include "config.hpp" |
||||||
#include "directories.h" |
#include "directories.hpp" |
||||||
#include "filesystem.h" |
#include "filesystem.hpp" |
||||||
#include "menu.h" |
#include "menu.hpp" |
||||||
#include "mutex.h" |
#include "mutex.hpp" |
||||||
#include "notebook.h" |
#include "notebook.hpp" |
||||||
#include "selection_dialog.h" |
#include "selection_dialog.hpp" |
||||||
#include "terminal.h" |
#include "terminal.hpp" |
||||||
#include <fstream> |
#include <fstream> |
||||||
#ifdef JUCI_ENABLE_DEBUG |
#ifdef JUCI_ENABLE_DEBUG |
||||||
#include "debug_lldb.h" |
#include "debug_lldb.hpp" |
||||||
#endif |
#endif |
||||||
#include "ctags.h" |
#include "ctags.hpp" |
||||||
#include "info.h" |
#include "info.hpp" |
||||||
#include "snippets.h" |
#include "snippets.hpp" |
||||||
#include "source_clang.h" |
#include "source_clang.hpp" |
||||||
#include "source_language_protocol.h" |
#include "source_language_protocol.hpp" |
||||||
#include "usages_clang.h" |
#include "usages_clang.hpp" |
||||||
#include <future> |
#include <future> |
||||||
|
|
||||||
boost::filesystem::path Project::debug_last_stop_file_path; |
boost::filesystem::path Project::debug_last_stop_file_path; |
||||||
@ -1,7 +1,7 @@ |
|||||||
#pragma once |
#pragma once |
||||||
#include "dispatcher.h" |
#include "dispatcher.hpp" |
||||||
#include "project_build.h" |
#include "project_build.hpp" |
||||||
#include "tooltips.h" |
#include "tooltips.hpp" |
||||||
#include <atomic> |
#include <atomic> |
||||||
#include <boost/filesystem.hpp> |
#include <boost/filesystem.hpp> |
||||||
#include <gtkmm.h> |
#include <gtkmm.h> |
||||||
@ -1,6 +1,6 @@ |
|||||||
#include "project_build.h" |
#include "project_build.hpp" |
||||||
#include "config.h" |
#include "config.hpp" |
||||||
#include "filesystem.h" |
#include "filesystem.hpp" |
||||||
#include <boost/algorithm/string.hpp> |
#include <boost/algorithm/string.hpp> |
||||||
|
|
||||||
std::unique_ptr<Project::Build> Project::Build::create(const boost::filesystem::path &path) { |
std::unique_ptr<Project::Build> Project::Build::create(const boost::filesystem::path &path) { |
||||||
@ -1,6 +1,6 @@ |
|||||||
#pragma once |
#pragma once |
||||||
#include "cmake.h" |
#include "cmake.hpp" |
||||||
#include "meson.h" |
#include "meson.hpp" |
||||||
#include <boost/filesystem.hpp> |
#include <boost/filesystem.hpp> |
||||||
|
|
||||||
namespace Project { |
namespace Project { |
||||||
@ -1,4 +1,4 @@ |
|||||||
#include "selection_dialog.h" |
#include "selection_dialog.hpp" |
||||||
#include <algorithm> |
#include <algorithm> |
||||||
|
|
||||||
SelectionDialogBase::ListViewText::ListViewText(bool use_markup) : Gtk::TreeView(), use_markup(use_markup) { |
SelectionDialogBase::ListViewText::ListViewText(bool use_markup) : Gtk::TreeView(), use_markup(use_markup) { |
||||||
@ -1,6 +1,6 @@ |
|||||||
#pragma once |
#pragma once |
||||||
#include "gtkmm.h" |
|
||||||
#include <functional> |
#include <functional> |
||||||
|
#include <gtkmm.h> |
||||||
#include <unordered_map> |
#include <unordered_map> |
||||||
|
|
||||||
class SelectionDialogBase { |
class SelectionDialogBase { |
||||||
@ -1,7 +1,7 @@ |
|||||||
#include "snippets.h" |
#include "snippets.hpp" |
||||||
#include "config.h" |
#include "config.hpp" |
||||||
#include "filesystem.h" |
#include "filesystem.hpp" |
||||||
#include "terminal.h" |
#include "terminal.hpp" |
||||||
#include <boost/property_tree/json_parser.hpp> |
#include <boost/property_tree/json_parser.hpp> |
||||||
|
|
||||||
void Snippets::load() { |
void Snippets::load() { |
||||||
@ -1,14 +1,14 @@ |
|||||||
#include "source.h" |
#include "source.hpp" |
||||||
#include "config.h" |
#include "config.hpp" |
||||||
#include "ctags.h" |
#include "ctags.hpp" |
||||||
#include "directories.h" |
#include "directories.hpp" |
||||||
#include "filesystem.h" |
#include "filesystem.hpp" |
||||||
#include "git.h" |
#include "git.hpp" |
||||||
#include "info.h" |
#include "info.hpp" |
||||||
#include "menu.h" |
#include "menu.hpp" |
||||||
#include "selection_dialog.h" |
#include "selection_dialog.hpp" |
||||||
#include "terminal.h" |
#include "terminal.hpp" |
||||||
#include "utility.h" |
#include "utility.hpp" |
||||||
#include <algorithm> |
#include <algorithm> |
||||||
#include <boost/property_tree/json_parser.hpp> |
#include <boost/property_tree/json_parser.hpp> |
||||||
#include <boost/spirit/home/qi/char.hpp> |
#include <boost/spirit/home/qi/char.hpp> |
||||||
@ -1,7 +1,7 @@ |
|||||||
#pragma once |
#pragma once |
||||||
#include "source_diff.h" |
#include "source_diff.hpp" |
||||||
#include "source_spellcheck.h" |
#include "source_spellcheck.hpp" |
||||||
#include "tooltips.h" |
#include "tooltips.hpp" |
||||||
#include <boost/filesystem.hpp> |
#include <boost/filesystem.hpp> |
||||||
#include <boost/property_tree/xml_parser.hpp> |
#include <boost/property_tree/xml_parser.hpp> |
||||||
#include <set> |
#include <set> |
||||||
@ -1,11 +1,11 @@ |
|||||||
#include "source_base.h" |
#include "source_base.hpp" |
||||||
#include "config.h" |
#include "config.hpp" |
||||||
#include "filesystem.h" |
#include "filesystem.hpp" |
||||||
#include "git.h" |
#include "git.hpp" |
||||||
#include "info.h" |
#include "info.hpp" |
||||||
#include "selection_dialog.h" |
#include "selection_dialog.hpp" |
||||||
#include "terminal.h" |
#include "terminal.hpp" |
||||||
#include "utility.h" |
#include "utility.hpp" |
||||||
#include <fstream> |
#include <fstream> |
||||||
#include <gtksourceview/gtksource.h> |
#include <gtksourceview/gtksource.h> |
||||||
#include <regex> |
#include <regex> |
||||||
@ -1,7 +1,7 @@ |
|||||||
#pragma once |
#pragma once |
||||||
|
|
||||||
#include "mutex.h" |
#include "mutex.hpp" |
||||||
#include "snippets.h" |
#include "snippets.hpp" |
||||||
#include <boost/filesystem.hpp> |
#include <boost/filesystem.hpp> |
||||||
#include <gtksourceviewmm.h> |
#include <gtksourceviewmm.h> |
||||||
#include <list> |
#include <list> |
||||||
@ -1,18 +1,18 @@ |
|||||||
#include "source_clang.h" |
#include "source_clang.hpp" |
||||||
#include "config.h" |
#include "config.hpp" |
||||||
#include "project_build.h" |
#include "project_build.hpp" |
||||||
#include "terminal.h" |
#include "terminal.hpp" |
||||||
#ifdef JUCI_ENABLE_DEBUG |
#ifdef JUCI_ENABLE_DEBUG |
||||||
#include "debug_lldb.h" |
#include "debug_lldb.hpp" |
||||||
#endif |
#endif |
||||||
#include "compile_commands.h" |
#include "compile_commands.hpp" |
||||||
#include "ctags.h" |
#include "ctags.hpp" |
||||||
#include "dialogs.h" |
#include "dialogs.hpp" |
||||||
#include "documentation.h" |
#include "documentation.hpp" |
||||||
#include "filesystem.h" |
#include "filesystem.hpp" |
||||||
#include "info.h" |
#include "info.hpp" |
||||||
#include "selection_dialog.h" |
#include "selection_dialog.hpp" |
||||||
#include "usages_clang.h" |
#include "usages_clang.hpp" |
||||||
|
|
||||||
const std::regex include_regex(R"(^[ \t]*#[ \t]*include[ \t]*[<"]([^<>"]+)[>"].*$)"); |
const std::regex include_regex(R"(^[ \t]*#[ \t]*include[ \t]*[<"]([^<>"]+)[>"].*$)"); |
||||||
|
|
||||||
@ -1,10 +1,10 @@ |
|||||||
#pragma once |
#pragma once |
||||||
#include "autocomplete.h" |
#include "autocomplete.hpp" |
||||||
#include "clangmm.h" |
#include "clangmm.h" |
||||||
#include "dispatcher.h" |
#include "dispatcher.hpp" |
||||||
#include "mutex.h" |
#include "mutex.hpp" |
||||||
#include "source.h" |
#include "source.hpp" |
||||||
#include "terminal.h" |
#include "terminal.hpp" |
||||||
#include <atomic> |
#include <atomic> |
||||||
#include <map> |
#include <map> |
||||||
#include <set> |
#include <set> |
||||||
@ -1,8 +1,8 @@ |
|||||||
#include "source_diff.h" |
#include "source_diff.hpp" |
||||||
#include "config.h" |
#include "config.hpp" |
||||||
#include "filesystem.h" |
#include "filesystem.hpp" |
||||||
#include "info.h" |
#include "info.hpp" |
||||||
#include "terminal.h" |
#include "terminal.hpp" |
||||||
#include <boost/version.hpp> |
#include <boost/version.hpp> |
||||||
|
|
||||||
Source::DiffView::Renderer::Renderer() : Gsv::GutterRenderer() { |
Source::DiffView::Renderer::Renderer() : Gsv::GutterRenderer() { |
||||||
@ -1,8 +1,8 @@ |
|||||||
#pragma once |
#pragma once |
||||||
#include "dispatcher.h" |
#include "dispatcher.hpp" |
||||||
#include "git.h" |
#include "git.hpp" |
||||||
#include "mutex.h" |
#include "mutex.hpp" |
||||||
#include "source_base.h" |
#include "source_base.hpp" |
||||||
#include <atomic> |
#include <atomic> |
||||||
#include <boost/filesystem.hpp> |
#include <boost/filesystem.hpp> |
||||||
#include <map> |
#include <map> |
||||||
@ -1,9 +1,9 @@ |
|||||||
#include "source_generic.h" |
#include "source_generic.hpp" |
||||||
#include "filesystem.h" |
#include "filesystem.hpp" |
||||||
#include "info.h" |
#include "info.hpp" |
||||||
#include "selection_dialog.h" |
#include "selection_dialog.hpp" |
||||||
#include "snippets.h" |
#include "snippets.hpp" |
||||||
#include "terminal.h" |
#include "terminal.hpp" |
||||||
#include <algorithm> |
#include <algorithm> |
||||||
|
|
||||||
Source::GenericView::GenericView(const boost::filesystem::path &file_path, const Glib::RefPtr<Gsv::Language> &language) : BaseView(file_path, language), View(file_path, language, true), autocomplete(this, interactive_completion, last_keyval, false) { |
Source::GenericView::GenericView(const boost::filesystem::path &file_path, const Glib::RefPtr<Gsv::Language> &language) : BaseView(file_path, language), View(file_path, language, true), autocomplete(this, interactive_completion, last_keyval, false) { |
||||||
@ -1,8 +1,8 @@ |
|||||||
#pragma once |
#pragma once |
||||||
|
|
||||||
#include "autocomplete.h" |
#include "autocomplete.hpp" |
||||||
#include "mutex.h" |
#include "mutex.hpp" |
||||||
#include "source.h" |
#include "source.hpp" |
||||||
#include <atomic> |
#include <atomic> |
||||||
|
|
||||||
namespace Source { |
namespace Source { |
||||||
@ -1,15 +1,15 @@ |
|||||||
#include "source_language_protocol.h" |
#include "source_language_protocol.hpp" |
||||||
#include "filesystem.h" |
#include "filesystem.hpp" |
||||||
#include "info.h" |
#include "info.hpp" |
||||||
#include "notebook.h" |
#include "notebook.hpp" |
||||||
#include "project.h" |
#include "project.hpp" |
||||||
#include "selection_dialog.h" |
#include "selection_dialog.hpp" |
||||||
#include "terminal.h" |
#include "terminal.hpp" |
||||||
#ifdef JUCI_ENABLE_DEBUG |
#ifdef JUCI_ENABLE_DEBUG |
||||||
#include "debug_lldb.h" |
#include "debug_lldb.hpp" |
||||||
#endif |
#endif |
||||||
#include "config.h" |
#include "config.hpp" |
||||||
#include "menu.h" |
#include "menu.hpp" |
||||||
#include <future> |
#include <future> |
||||||
#include <limits> |
#include <limits> |
||||||
#include <regex> |
#include <regex> |
||||||
@ -1,8 +1,8 @@ |
|||||||
#pragma once |
#pragma once |
||||||
#include "autocomplete.h" |
#include "autocomplete.hpp" |
||||||
#include "mutex.h" |
#include "mutex.hpp" |
||||||
#include "process.hpp" |
#include "process.hpp" |
||||||
#include "source.h" |
#include "source.hpp" |
||||||
#include <atomic> |
#include <atomic> |
||||||
#include <boost/property_tree/json_parser.hpp> |
#include <boost/property_tree/json_parser.hpp> |
||||||
#include <list> |
#include <list> |
||||||
@ -1,7 +1,7 @@ |
|||||||
#include "source_spellcheck.h" |
#include "source_spellcheck.hpp" |
||||||
#include "config.h" |
#include "config.hpp" |
||||||
#include "info.h" |
#include "info.hpp" |
||||||
#include "selection_dialog.h" |
#include "selection_dialog.hpp" |
||||||
#include <iostream> |
#include <iostream> |
||||||
|
|
||||||
AspellConfig *Source::SpellCheckView::spellcheck_config = nullptr; |
AspellConfig *Source::SpellCheckView::spellcheck_config = nullptr; |
||||||
@ -1,5 +1,5 @@ |
|||||||
#pragma once |
#pragma once |
||||||
#include "source_base.h" |
#include "source_base.hpp" |
||||||
#include <aspell.h> |
#include <aspell.h> |
||||||
|
|
||||||
namespace Source { |
namespace Source { |
||||||
@ -1,9 +1,9 @@ |
|||||||
#include "terminal.h" |
#include "terminal.hpp" |
||||||
#include "config.h" |
#include "config.hpp" |
||||||
#include "filesystem.h" |
#include "filesystem.hpp" |
||||||
#include "info.h" |
#include "info.hpp" |
||||||
#include "notebook.h" |
#include "notebook.hpp" |
||||||
#include "project.h" |
#include "project.hpp" |
||||||
#include <iostream> |
#include <iostream> |
||||||
#include <regex> |
#include <regex> |
||||||
#include <thread> |
#include <thread> |
||||||
@ -1,11 +1,11 @@ |
|||||||
#pragma once |
#pragma once |
||||||
#include "dispatcher.h" |
#include "dispatcher.hpp" |
||||||
#include "gtkmm.h" |
#include "mutex.hpp" |
||||||
#include "mutex.h" |
|
||||||
#include "process.hpp" |
#include "process.hpp" |
||||||
#include "source_base.h" |
#include "source_base.hpp" |
||||||
#include <boost/filesystem.hpp> |
#include <boost/filesystem.hpp> |
||||||
#include <functional> |
#include <functional> |
||||||
|
#include <gtkmm.h> |
||||||
#include <iostream> |
#include <iostream> |
||||||
#include <tuple> |
#include <tuple> |
||||||
|
|
||||||
@ -1,9 +1,9 @@ |
|||||||
#include "tooltips.h" |
#include "tooltips.hpp" |
||||||
#include "config.h" |
#include "config.hpp" |
||||||
#include "filesystem.h" |
#include "filesystem.hpp" |
||||||
#include "info.h" |
#include "info.hpp" |
||||||
#include "notebook.h" |
#include "notebook.hpp" |
||||||
#include "selection_dialog.h" |
#include "selection_dialog.hpp" |
||||||
#include <algorithm> |
#include <algorithm> |
||||||
#include <regex> |
#include <regex> |
||||||
|
|
||||||
@ -1,6 +1,6 @@ |
|||||||
#pragma once |
#pragma once |
||||||
#include "gtkmm.h" |
|
||||||
#include <functional> |
#include <functional> |
||||||
|
#include <gtkmm.h> |
||||||
#include <list> |
#include <list> |
||||||
#include <set> |
#include <set> |
||||||
#include <string> |
#include <string> |
||||||
@ -1,9 +1,9 @@ |
|||||||
#include "usages_clang.h" |
#include "usages_clang.hpp" |
||||||
#include "compile_commands.h" |
#include "compile_commands.hpp" |
||||||
#include "config.h" |
#include "config.hpp" |
||||||
#include "dialogs.h" |
#include "dialogs.hpp" |
||||||
#include "filesystem.h" |
#include "filesystem.hpp" |
||||||
#include "utility.h" |
#include "utility.hpp" |
||||||
#include <chrono> |
#include <chrono> |
||||||
#include <fstream> |
#include <fstream> |
||||||
#include <regex> |
#include <regex> |
||||||
@ -1,6 +1,6 @@ |
|||||||
#pragma once |
#pragma once |
||||||
#include "clangmm.h" |
#include "clangmm.h" |
||||||
#include "mutex.h" |
#include "mutex.hpp" |
||||||
#include <atomic> |
#include <atomic> |
||||||
#include <boost/archive/text_iarchive.hpp> |
#include <boost/archive/text_iarchive.hpp> |
||||||
#include <boost/archive/text_oarchive.hpp> |
#include <boost/archive/text_oarchive.hpp> |
||||||
@ -1,4 +1,4 @@ |
|||||||
#include "utility.h" |
#include "utility.hpp" |
||||||
|
|
||||||
ScopeGuard::~ScopeGuard() { |
ScopeGuard::~ScopeGuard() { |
||||||
if(on_exit) |
if(on_exit) |
||||||
@ -1,20 +1,20 @@ |
|||||||
#include "window.h" |
#include "window.hpp" |
||||||
#include "config.h" |
#include "config.hpp" |
||||||
#ifdef JUCI_ENABLE_DEBUG |
#ifdef JUCI_ENABLE_DEBUG |
||||||
#include "debug_lldb.h" |
#include "debug_lldb.hpp" |
||||||
#endif |
#endif |
||||||
#include "compile_commands.h" |
#include "compile_commands.hpp" |
||||||
#include "dialogs.h" |
#include "dialogs.hpp" |
||||||
#include "directories.h" |
#include "directories.hpp" |
||||||
#include "entrybox.h" |
#include "entrybox.hpp" |
||||||
#include "filesystem.h" |
#include "filesystem.hpp" |
||||||
#include "grep.h" |
#include "grep.hpp" |
||||||
#include "info.h" |
#include "info.hpp" |
||||||
#include "menu.h" |
#include "menu.hpp" |
||||||
#include "notebook.h" |
#include "notebook.hpp" |
||||||
#include "project.h" |
#include "project.hpp" |
||||||
#include "selection_dialog.h" |
#include "selection_dialog.hpp" |
||||||
#include "terminal.h" |
#include "terminal.hpp" |
||||||
|
|
||||||
Window::Window() { |
Window::Window() { |
||||||
Gsv::init(); |
Gsv::init(); |
||||||
@ -1,5 +1,5 @@ |
|||||||
#pragma once |
#pragma once |
||||||
#include "source_base.h" |
#include "source_base.hpp" |
||||||
#include <atomic> |
#include <atomic> |
||||||
#include <boost/filesystem.hpp> |
#include <boost/filesystem.hpp> |
||||||
#include <gtkmm.h> |
#include <gtkmm.h> |
||||||
@ -1,4 +1,4 @@ |
|||||||
#include "compile_commands.h" |
#include "compile_commands.hpp" |
||||||
#include <glib.h> |
#include <glib.h> |
||||||
#include <gtkmm.h> |
#include <gtkmm.h> |
||||||
#include <gtksourceviewmm.h> |
#include <gtksourceviewmm.h> |
||||||
@ -1,4 +1,4 @@ |
|||||||
#include "filesystem.h" |
#include "filesystem.hpp" |
||||||
#include <glib.h> |
#include <glib.h> |
||||||
|
|
||||||
int main() { |
int main() { |
||||||
@ -1,4 +1,4 @@ |
|||||||
#include "debug_lldb.h" |
#include "debug_lldb.hpp" |
||||||
#include <atomic> |
#include <atomic> |
||||||
#include <boost/filesystem.hpp> |
#include <boost/filesystem.hpp> |
||||||
#include <glib.h> |
#include <glib.h> |
||||||
@ -1,5 +1,5 @@ |
|||||||
#include "meson.h" |
#include "meson.hpp" |
||||||
#include "project.h" |
#include "project.hpp" |
||||||
#include <glib.h> |
#include <glib.h> |
||||||
|
|
||||||
int main() { |
int main() { |
||||||
@ -1,6 +1,6 @@ |
|||||||
#include "config.h" |
#include "config.hpp" |
||||||
#include "filesystem.h" |
#include "filesystem.hpp" |
||||||
#include "source_clang.h" |
#include "source_clang.hpp" |
||||||
#include <glib.h> |
#include <glib.h> |
||||||
|
|
||||||
std::string main_error = R"(int main() { |
std::string main_error = R"(int main() { |
||||||
@ -1,4 +1,4 @@ |
|||||||
#include "source_generic.h" |
#include "source_generic.hpp" |
||||||
#include <glib.h> |
#include <glib.h> |
||||||
|
|
||||||
int main() { |
int main() { |
||||||
@ -1,5 +1,5 @@ |
|||||||
#include "config.h" |
#include "config.hpp" |
||||||
#include "source.h" |
#include "source.hpp" |
||||||
#include <glib.h> |
#include <glib.h> |
||||||
|
|
||||||
//Requires display server to work
|
//Requires display server to work
|
||||||
@ -1,5 +1,5 @@ |
|||||||
#include "filesystem.h" |
#include "filesystem.hpp" |
||||||
#include "source.h" |
#include "source.hpp" |
||||||
#include <glib.h> |
#include <glib.h> |
||||||
|
|
||||||
std::string hello_world = R"(#include <iostream> |
std::string hello_world = R"(#include <iostream> |
||||||
@ -0,0 +1,3 @@ |
|||||||
|
#include "config.hpp" |
||||||
|
|
||||||
|
Config::Config() {} |
||||||
@ -1,4 +1,4 @@ |
|||||||
#include "dialogs.h" |
#include "dialogs.hpp" |
||||||
|
|
||||||
Dialog::Message::Message(const std::string &text) : Gtk::Window(Gtk::WindowType::WINDOW_POPUP) {} |
Dialog::Message::Message(const std::string &text) : Gtk::Window(Gtk::WindowType::WINDOW_POPUP) {} |
||||||
|
|
||||||
@ -1,4 +1,4 @@ |
|||||||
#include "directories.h" |
#include "directories.hpp" |
||||||
|
|
||||||
Directories::Directories() : ListViewText(1) {} |
Directories::Directories() : ListViewText(1) {} |
||||||
|
|
||||||
@ -1,4 +1,4 @@ |
|||||||
#include "info.h" |
#include "info.hpp" |
||||||
|
|
||||||
Info::Info() {} |
Info::Info() {} |
||||||
|
|
||||||
@ -1,4 +1,4 @@ |
|||||||
#include "notebook.h" |
#include "notebook.hpp" |
||||||
|
|
||||||
Notebook::Notebook() {} |
Notebook::Notebook() {} |
||||||
|
|
||||||
@ -1,3 +1,3 @@ |
|||||||
#include "project.h" |
#include "project.hpp" |
||||||
|
|
||||||
std::shared_ptr<Project::Base> Project::current; |
std::shared_ptr<Project::Base> Project::current; |
||||||
@ -1,4 +1,4 @@ |
|||||||
#include "selection_dialog.h" |
#include "selection_dialog.hpp" |
||||||
|
|
||||||
SelectionDialogBase::ListViewText::ListViewText(bool use_markup) {} |
SelectionDialogBase::ListViewText::ListViewText(bool use_markup) {} |
||||||
|
|
||||||
@ -1,4 +1,4 @@ |
|||||||
#include "terminal.h" |
#include "terminal.hpp" |
||||||
#include <glib.h> |
#include <glib.h> |
||||||
#include <gtksourceviewmm.h> |
#include <gtksourceviewmm.h> |
||||||
|
|
||||||
@ -1,4 +1,4 @@ |
|||||||
#include "tooltips.h" |
#include "tooltips.hpp" |
||||||
#include <glib.h> |
#include <glib.h> |
||||||
#include <gtkmm.h> |
#include <gtkmm.h> |
||||||
|
|
||||||
@ -1,8 +1,8 @@ |
|||||||
#include "clangmm.h" |
#include "clangmm.h" |
||||||
#include "compile_commands.h" |
#include "compile_commands.hpp" |
||||||
#include "meson.h" |
#include "meson.hpp" |
||||||
#include "project.h" |
#include "project.hpp" |
||||||
#include "usages_clang.h" |
#include "usages_clang.hpp" |
||||||
#include <cassert> |
#include <cassert> |
||||||
#include <fstream> |
#include <fstream> |
||||||
#include <gtksourceviewmm.h> |
#include <gtksourceviewmm.h> |
||||||
Loading…
Reference in new issue