summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-02-17Fontviewer: don't crash when opening a non-existing fileraveit651-11/+49
This is only a problem from the command line. taken from: https://git.gnome.org/browse/gnome-font-viewer/commit/?id=baef02a
2017-02-17Fontviewer: font-view, show an error dialog when unable to load a fontraveit651-0/+31
taken from: https://git.gnome.org/browse/gnome-font-viewer/commit/?id=5a8f439
2017-02-17Fontviewer: font-model, emit config-changed when reloading the font listraveit651-3/+3
This ensures the "Install" button uses the correct state when installing a new font. taken from: https://git.gnome.org/browse/gnome-font-viewer/commit/?id=bf15ae0
2017-02-17Fontviewer: font-model: actually cancel the thread when rebuilding font listraveit651-13/+27
Also, we need to protect the font list with a mutex, since we might modify it from the main thread while the load thread is still parsing the previous list. taken from: https://git.gnome.org/browse/gnome-font-viewer/commit/?id=fd3c6a88d7e4833d5be00cf6dc1a398adf46283b
2017-02-17Fontviewer: font-model, cancel previous loading when refreshing font listraveit651-5/+25
This should help in case a refresh is requested before the previous operation completes. Currently, we seem to be crashing when that happens, see https://bugzilla.redhat.com/show_bug.cgi?id=870753 taken from: https://git.gnome.org/browse/gnome-font-viewer/commit/?id=47fbb29
2017-02-17Fontviewer: Set an empty title on the info dialograveit651-1/+1
Currently, it shows up with 'gnome-font-viewer' in the titlebar taken from: https://git.gnome.org/browse/gnome-font-viewer/commit/?id=5d5dfc8
2017-02-17Fontviewer: model: load font names asynchronouslyraveit652-65/+140
This makes loading/populating of the model completely asynchronous. taken from: https://git.gnome.org/browse/gnome-font-viewer/commit/?id=331a080
2017-02-17Fontviewer: model: use a single IO scheduler job to load thumbnail imagesraveit651-64/+64
Instead of firing a new thread for all files. Using g_io_scheduler_job_send_to_mainloop_async() we can load thumbnails into the model as they get created anyway. taken from: https://git.gnome.org/browse/gnome-font-viewer/commit/?id=4f08812
2017-02-17Fontviewer: model: cache tree iters when setting values on the modelraveit652-48/+22
This speeds up model loading again, since we don't need to go through the font list again when setting the thumbnail pixbuf. taken from: https://git.gnome.org/browse/gnome-font-viewer/commit/?id=2120af2
2017-02-17Fontviewer: model, cache the fallback icon in the private structraveit651-27/+29
There's no need to look it up in the icon theme every time; this speeds up loading of the model. taken from: https://git.gnome.org/browse/gnome-font-viewer/commit/?id=a37af39
2017-02-17Fontviewer: font-model, use g_utf8_collation_key to sort the modelraveit652-8/+14
So that we get the right sort order according to the current locale. Store the collation key in the model to avoid a performance hit. Taken from: https://git.gnome.org/browse/gnome-font-viewer/commit/?id=d6a5278
2017-02-17Fontviewer: font-model, use g_io_scheduler_push_job() to refactor ↵raveit651-197/+135
thumbnailing code Always set the fallback pixbuf by default as icon in the model. At the same time, wrap the thumbnailing code in a single thread spawned with g_io_scheduler_push_job(). This makes the code more robust and avoids being too resource-greedy, as described in https://bugzilla.gnome.org/show_bug.cgi?id=677605 taken from: https://git.gnome.org/browse/gnome-font-viewer/commit/?id=1fc4a85
2017-02-17Font-viewer: font-model, don't use sync g_file_query_info()raveit651-10/+23
Use g_file_query_info_async() instead. taken from: https://git.gnome.org/browse/gnome-font-viewer/commit/?id=d360c01
2017-02-17Fontviewer: font-view: don't hardcode ~/.fonts as target install directoryraveit651-16/+57
Instead, detect if the fontconfig data directories include XDG_DATA_HOME, and pick that if they do. If they don't, pick the first directory under $HOME from the configured locations. taken from: https://git.gnome.org/browse/gnome-font-viewer/commit/?id=56e5cf8
2017-02-17Fontviewer: font-model, set a fallback icon if we fail to read the thumbnailraveit651-3/+20
In case we fail to read the thumbnail, set the fallback icon instead of just returning. taken from: https://git.gnome.org/browse/gnome-font-viewer/commit/?id=7ed08a3
2017-02-17Fontviewer: match the font face when getting an iter to update the buttonraveit651-7/+7
Instead of matching the file name, match the font face (i.e. its family/style names). Since we refresh the button appearance when installing a font over to ~/.fonts, the file path will not match at that point, since the preview will still be showing the old uninstalled file. taken from: https://git.gnome.org/browse/gnome-font-viewer/commit/?id=09a6285
2017-02-17Fontviewer: font-model, add API to get an iter from a FT_Faceraveit655-36/+139
We'll need this to update the Install button state when a new font is installed. taken from: https://git.gnome.org/browse/gnome-font-viewer/commit/?id=1a21320
2017-02-17Fontviewer: refresh Install button appearance when model changesraveit651-0/+12
So that we can e.g. change it to "Installed" when the font is copied over to ~/.fonts. taken from: https://git.gnome.org/browse/gnome-font-viewer/commit/?id=94dbcc0
2017-02-17Fontviewer: font-model, install file monitors on fontconfig font directoriesraveit651-0/+78
So we can update our model when a font file is added there. taken from: https://git.gnome.org/browse/gnome-font-viewer/commit/?id=b3c81f6
2017-02-17Fontviewer: main-toolbar sync with Documentsraveit652-242/+405
taken from: https://git.gnome.org/browse/gnome-font-viewer/commit/?id=c859694 https://git.gnome.org/browse/gnome-font-viewer/commit/?id=e0d2a23 Fontviewer: gd-toolbar sync to latest libgd suitable for mate
2017-02-17Fontviewer: don't recreate a different SushiFontWidget every timeraveit651-18/+19
Creating one initializes a FreeType library object, so it's not cheap. It's better to just change the URI on the existing widget, like Sushi does, if possible. taken from: https://git.gnome.org/browse/gnome-font-viewer/commit/?id=39a188f
2017-02-17Fontviewer: move FontConfig init/deinit to the application classraveit652-2/+14
Safely init FontConfig once for the whole app, and de-init it when quitting. taken from: https://git.gnome.org/browse/gnome-font-viewer/commit/?id=beec585
2017-02-17Fontviewer: font-model: set a fallback icon if we fail thumbnailing the font ↵raveit651-11/+46
file taken from: https://git.gnome.org/browse/gnome-font-viewer/commit/?id=a244951
2017-02-17Fontviewer: Update SushiFontLoader and SushiFontWidget from sushiraveit653-70/+161
taken from: https://git.gnome.org/browse/gnome-font-viewer/commit/?id=026e378 https://git.gnome.org/browse/gnome-font-viewer/commit/?id=044842e https://git.gnome.org/browse/gnome-font-viewer/commit/?id=63268c1 https://git.gnome.org/browse/gnome-font-viewer/commit/?id=0d617cf https://git.gnome.org/browse/gnome-font-viewer/commit/?id=4940840 https://git.gnome.org/browse/gnome-font-viewer/commit/?id=f0aac98 and others
2017-02-17Fontviewer: make sure rendered text is black on whiteraveit651-2/+4
Also, don't use deprecated GTK API 'gtk_widget_modify_bg' to set this.
2017-02-17Font-viewer: adjust desktop fileraveit651-2/+7
2017-02-17Font-viewer: add an application menuraveit651-0/+68
taken from: https://git.gnome.org/browse/gnome-font-viewer/commit/?id=3261384
2017-02-17Font-viewer: thumbnailer port to cairo renderingraveit652-245/+137
taken from: https://git.gnome.org/browse/gnome-font-viewer/commit/?id=6fffe82
2017-02-17Font-viewer: first pass at integrating an overview moderaveit651-46/+238
taken from: https://git.gnome.org/browse/gnome-font-viewer/commit/?id=511eb7a
2017-02-17Font-viewer: thumbnailer respect the passed-in size argumentraveit651-1/+1
taken from: https://git.gnome.org/browse/gnome-font-viewer/commit/?id=f5d6bfe
2017-02-17Font-viewer: add FontViewModelraveit654-3/+540
taken from: https://git.gnome.org/browse/gnome-font-viewer/commit/?id=184661h
2017-02-17Font-viewer: use new toolbar-style interfaceraveit651-47/+81
2017-02-17Font-viewer: import GdMainToolbarraveit653-2/+565
2017-02-17Font-viewer: remove ftstream-vfsraveit653-191/+2
taken from: https://git.gnome.org/browse/gnome-font-viewer/commit/?id=0522313
2017-02-17Font-viewer: font-view port to SushiFontWidget and GtkApplicationraveit651-395/+207
taken from: https://git.gnome.org/browse/gnome-font-viewer/commit/?id=79a3e86
2017-02-17Font-viewer: thumbnailer use SushiFontLoaderraveit651-4/+7
2017-02-17Font-viewer: import SushiFontLoader and SushiFontWidgetraveit655-2/+980
taken from: https://git.gnome.org/browse/gnome-font-viewer/commit/?id=f50e4c4
2017-02-17file-transfer-dialog: remove empty GtkTableraveit651-6/+0
2017-02-16pre-bump versionraveit652-1/+3
2017-01-27website is accessed via http, not via htts :)monsta1-1/+1
2017-01-27Fix two memory leaksColomban Wendling1-2/+2
2017-01-27Fix live updating of the various theme detailsColomban Wendling1-0/+1
This got broken in b3e27b1d6a0f11c5835f5829bac3861e2147b17e, which ported to GSettings but stopped calling the supplied callback. 070e7cb765a788c8e27ff3615d3ed36981d3518d restored the initial update, but not the live ones. Fixes #256.
2017-01-26appearance: fix vertical expand on resize in another waymonsta1-2/+4
this one can be backported to 1.16 (won't cause runtime warnings in GTK+2 build)
2017-01-25keyboard: fix vertical expand of content on resize in a few dialogsmonsta3-0/+6
these are layout chooser, model chooser and options dialogs
2017-01-24libslab: wrap labels on the left paneAlexei Sorokin1-0/+2
2017-01-24libslab: force the icon sizeAlexei Sorokin1-0/+1
If an icon only provides some huge sizes, not doing that breaks the layout.
2017-01-24appearance: fix vertical expand of content with window resizemonsta1-0/+1
2017-01-20Bump version to 1.17.2v1.17.2Martin Wimpress2-1/+6
2017-01-20mouse: use input helper to detect both libinput and synaptics touchpadsmonsta1-65/+2
same as done upstream: https://git.gnome.org/browse/gnome-control-center/commit/?id=01fbd4fee0271571d8d685be124e7c6e7c48dbde
2017-01-20mouse: add input helper from m-s-dmonsta3-1/+160
same as done upstream: https://git.gnome.org/browse/gnome-control-center/commit/?id=741723eaf86d9e68ae979b960eb2da3cf4b331d1