summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* GtkIconTheme: Drop the code for parsing .icon filesiconthemeMatthias Clasen2014-06-171-307/+9
| | | | Modern icon themes don't ship .icon files anyway.
* GtkIconTheme: Deprecate functionality related to .icon filesMatthias Clasen2014-06-172-4/+12
| | | | This functionality is not used at all in modern icon themes.
* Drop the builtin icon cacheMatthias Clasen2014-06-1785-17365/+6
| | | | | We don't need it anymore, now that the non-standard stock icons are using resources.
* GtkPageSetupDialog: Use orientation icons as resourcesMatthias Clasen2014-06-171-8/+4
| | | | | They will no longer be available as named icons when we drop the builtin icons.
* Add non-standard stock icons as resourcesMatthias Clasen2014-06-1744-24/+155
| | | | | This will allow us to remove the builtin icon cache in the future while keeping the deprecated stock icons working.
* Drop all standard icons from the builtin iconthemeMatthias Clasen2014-06-17346-55348/+4
| | | | | | We're going to require a complete icon theme, and we have a test that checks for all the icons we use, so there is no need to include all these fallback icons.
* Include image data in the builtin icon theme cacheMatthias Clasen2014-06-171-1/+1
| | | | | | | | | When we switched the default for gtk-update-icon-cache to not include image data, we should have thought about the builtin icons. For them, we rely on image data being included. This made the notify test fail in gnome-continuous, where we build from git and always regenerate the builtin cache.
* Add a test for builtin iconsMatthias Clasen2014-06-171-5/+22
| | | | | We want to get rid of these, but as long as we still have them, make sure they work.
* icon theme: Fix crash for builtin iconsAlexander Larsson2014-06-171-1/+5
| | | | | | | | | | This pushes the initialization of is_svg to an earlier point when the GtkIconInfo is created. This is needed because an icon info doesn't necessarily always have a filename that we can later extract the suffix from. For instance, builtin icons have NULL filename. https://bugzilla.gnome.org/show_bug.cgi?id=721895
* Adwaita: selection mode buttons to have borders and fillJakub Steiner2014-06-174-13/+18
|
* Adwaita: symbolic checkboxes for selection mode.Jakub Steiner2014-06-173-50/+99
|
* Adwaita: make bash actually call sassJakub Steiner2014-06-171-1/+1
|
* Visual Studio Builds: "Install" the Stock IconsChun-wei Fan2014-06-172-0/+40
| | | | | | Copy the icons in stock_icons accordingly, so that the built-in icons can be found by GTK, as it seems that not all of them are built into gtkbuiltincache.h.
* testsuite: Add test for latest commitBenjamin Otte2014-06-174-0/+9
|
* cssprovider: Names starting with -gtk- aren't style propsBenjamin Otte2014-06-171-2/+14
| | | | | | | | | | | | We want to have the "-gtk-" prefix for our custom CSS properties. But we also want to parse names starting with a "-" as style properties. So make sure that "-gtk-" is treated like a normal property and we emit errors when somebody uses it wrong. This is to catch errors with people typing -gtk-iconsource: none; instead of the correct -gtk-icon-source: none;
* Revert "gtkbin: replace internal api"Matthias Clasen2014-06-166-13/+36
| | | | | | This reverts commit 0f4751c08e22a4f45d58e2368e4ae82df407d330. This causes warnings from the notebook and combobox code.
* Updated POTFILES.skipPiotr Drąg2014-06-162-0/+8
|
* menu binding: emit submenu close after activateRyan Lortie2014-06-162-2/+24
| | | | | | | | | | | | | | | | | | We want to make sure that the submenu action is changed back to FALSE _after_ the menu item has been activated. This prevents the menu teardown handler from deleting the menu item before it can be activated. Unfortunately, GtkMenuShell emits "hide" before the item activation. This is probably done to prevent the application from doing things like showing dialogs when the menu is still holding the grab. In the case where we are doing an activate, set a boolean flag on each of the open menus (following the parent stack) indicating that we'll be emitting another signal soon (selection done). If that flag is set, we defer the setting of the submenu action until we receive the second signal. https://bugzilla.gnome.org/show_bug.cgi?id=729820
* Makefile: Add a few more cleanfile / ignore rulesJasper St. Pierre2014-06-162-4/+10
|
* Makefile: Add gtk.gresource.xml to gitignoreJasper St. Pierre2014-06-161-1/+1
|
* Adwaita: list-row stylingLapo Calamandrei2014-06-163-5/+22
|
* testsuite: Remove a testBenjamin Otte2014-06-161-57/+0
| | | | | | | That test is not working anymore by design since commit 57c4f01e. It was introduced pre-3.0.0 in commit 12d6b588 and the feature was never utilized. So it seems safe to just remove the test.
* colorswatch: handle clip for box-shadowBenjamin Otte2014-06-161-0/+3
|
* Adwaita: fix a typoLapo Calamandrei2014-06-163-3/+3
|
* Adwaita: GtkPaned separator invisible border shrinkingLapo Calamandrei2014-06-163-6/+6
|
* Adwaita: fix column-header backdrop stateLapo Calamandrei2014-06-163-0/+6
|
* gtkicontheme: Fix a missing case where we forget to set is_svgJasper St. Pierre2014-06-161-0/+2
| | | | | | | | When duplicating the icon_info, we forgot to set is_svg. This meant that any application that used gtk_icon_info_load_icon_async wouldn't have is_svg set properly. This fixes blurry icons in the gnome-shell app picker.
* util: Add missing git.mk includeJasper St. Pierre2014-06-161-0/+2
|
* Adwaita: column headers visual simplificationLapo Calamandrei2014-06-163-39/+86
|
* GtkInspector: Use Adwaita by Default on Windows TooChun-wei Fan2014-06-161-4/+0
| | | | | As we are using Adwaita by default on all platforms, do the same for GtkInspector, to be consistent with the rest of GTK+.
* TextView: render the background of border windowsPaolo Borelli2014-06-153-48/+37
| | | | | | Set the .top, .left, etc css classes and render the background of the border windows. Change the reftest implementation accordingly.
* Add a TextView reftests checking border-windowsPaolo Borelli2014-06-155-0/+194
| | | | | | | TextView border windows are internal windows used to draw on the gutter of the textview (e.g. line numbers). The test uses the gmodule hook to programmatically draw on the border-windows at each side of the textview and compares the result with 3x3 grid of labels.
* TextView margin reftestPaolo Borelli2014-06-154-0/+54
| | | | | | add a reftest that checks GtkTextView text margin property comparing with the normal margin added to the widget (they are the same when there is nothing drawn in the gutter like line numbers etc).
* Dist recently added reftestsPaolo Borelli2014-06-151-0/+3
|
* Fix another typoKalev Lember2014-06-151-1/+1
|
* Fix a typoMatthias Clasen2014-06-151-1/+1
|
* Install all icons for installed testsMatthias Clasen2014-06-141-1/+5
| | | | Otherwise the icontheme test fails in continuous.
* Revert "Fixes GtkMenuTrackerItem visible flag reference"Matthias Clasen2014-06-141-1/+1
| | | | This reverts commit ceed0ee7032810476e1563884a7cb04c8fad8ce8.
* Fixes GtkMenuTrackerItem visible flag referenceWill Greenberg2014-06-141-1/+1
| | | | | | | | Previously GtkMenuTracker tried to access "gtk_menu_tracker_item_get_is_visible", but the correct getter is "_gtk_menu_tracker_item_is_visible". This commit corrects this reference https://bugzilla.gnome.org/show_bug.cgi?id=731430
* gtk-update-icon-cache: Add an --include-image-data optionMatthias Clasen2014-06-142-1/+11
| | | | | Now that we don't include the image data by default anymore, lets add an option that does it.
* gtkicontheme: Don't query CONTENT_TYPE to determine svgMatthias Clasen2014-06-141-35/+10
| | | | | | We already know based on the suffix of the filename. https://bugzilla.gnome.org/show_bug.cgi?id=721895
* updateiconcache: Don't include image data by default anymoreJasper St. Pierre2014-06-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since large images are in the icon cache, and apps don't tend to use that many icons anymore, simply don't include image data and instead make apps load files from disk. Additionally, since they're stored in GdkPixbuf data, that means that we have to first convert them either to a cairo_surface_t, which requires converting pixel data to be premulitplied, or an OpenGL texture, which requires a whole GPU upload anyway. So, even with the icon cache, the goal of icons through zero-copy, mmap()'d data from disk just isn't doable with the icon cache format we have. The icon cache on my disk is nearing 100MB, since we include a bunch of high-resolution application icons, that I doubt would be used by apps at all. Removing this inefficient pixel data makes memory usage for all applications go down, with no speed loss. The icon cache also, however, has an index of what icons are in each folder, which prevents a readdir() and allows GTK+ to know what icon is where without having to do a bunch of stat(); calls. Keeping this data is good for GTK+, so we should still keep the index. It doesn't make sense to remove any code for mapping pixel data from the icon cache. There's a plan in the works to have a symbolic icon cache that does pixel math on 16x16 icons to prevent slow SVG rendering. 16x16 pixels are fairly small, and such images are flat colors, which should compress easily, so the icon cache would be worthwhile here. So let's keep the code around in preparation for that case. https://bugzilla.gnome.org/show_bug.cgi?id=721895
* notebook: set tab position style class on the main framePaolo Borelli2014-06-144-22/+131
| | | | | | We want to have .top etc also on the notebook frame, not only on the header frame. The patch includes a reftest by Benjamin.
* GtkIconTheme: Don't treat svg icons speciallyMatthias Clasen2014-06-141-39/+24
| | | | | | | | | | This changes makes svg icons go through the same scale calculation code as png icons. As a consequence, an svg that is put into the 32x32 directory will actually be loaded at size 32, even if it gets requested at a bigger size. This will let us avoid giant spinners. https://bugzilla.gnome.org/show_bug.cgi?id=731658
* Add more icontheme testsMatthias Clasen2014-06-146-7/+186
| | | | | This test is focused on svgs, and how we scale them when loading.
* Adwaita: try to make scrollbars near paned separator usable.Lapo Calamandrei2014-06-143-3/+13
|
* Remove duplicate lines in Azerbaijani translation headersPiotr Drąg2014-06-141-24/+0
|
* Adwaita: comment addedLapo Calamandrei2014-06-141-2/+2
|
* Adwaita: fix GtkScale outline offset and radiusLapo Calamandrei2014-06-143-2/+11
|
* Adwaita: GtkscaleLapo Calamandrei2014-06-14101-494/+2502
| | | | | | - added slider assets for scales with marks - experimental touch friendly fine-tune mode, grow the trough istead of shrinking the slider