Update to v106r52 release.

byuu says:

I stand corrected, I managed to create and even larger diff than ever.
This one weighs in at 309KiB `>__>`

I'll have to create a changelog later, I'm too tired right now to go
through all of that.
This commit is contained in:
Tim Allen
2018-07-25 22:24:03 +10:00
parent f1a4576ac4
commit 22bd4b9277
171 changed files with 1725 additions and 1403 deletions

View File

@@ -2,7 +2,7 @@
namespace hiro {
static auto BrowserWindow_addFilters(GtkWidget* dialog, string_vector filters) -> void {
static auto BrowserWindow_addFilters(GtkWidget* dialog, vector<string> filters) -> void {
for(auto& filter : filters) {
GtkFileFilter* gtkFilter = gtk_file_filter_new();
gtk_file_filter_set_name(gtkFilter, filter);

View File

@@ -36,11 +36,11 @@ static auto CreateImage(const image& icon, bool scale = false) -> GtkImage* {
return gtkIcon;
}
static auto DropPaths(GtkSelectionData* data) -> string_vector {
static auto DropPaths(GtkSelectionData* data) -> vector<string> {
gchar** uris = gtk_selection_data_get_uris(data);
if(uris == nullptr) return {};
string_vector paths;
vector<string> paths;
for(unsigned n = 0; uris[n] != nullptr; n++) {
gchar* pathname = g_filename_from_uri(uris[n], nullptr, nullptr);
if(pathname == nullptr) continue;

View File

@@ -11,15 +11,15 @@ struct pConsole : pWidget {
auto setForegroundColor(Color color) -> void;
auto setPrompt(const string& prompt) -> void;
auto _keyPress(unsigned scancode, unsigned mask) -> bool;
auto _keyPress(uint scancode, uint mask) -> bool;
auto _seekToEnd() -> void;
auto _seekToMark() -> void;
GtkWidget* subWidget = nullptr;
GtkTextBuffer* textBuffer = nullptr;
string previousPrompt;
string_vector history;
unsigned historyOffset = 0;
vector<string> history;
uint historyOffset = 0;
};
}