summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add a css style test for currentColorwip/matthiasc/node-dumpMatthias Clasen2015-12-294-3/+39
|
* Add a css style test for inherit and initialMatthias Clasen2015-12-294-0/+48
|
* Add a css style test for :first/last/only-childMatthias Clasen2015-12-294-0/+76
|
* Add a css style test for font inheritanceMatthias Clasen2015-12-294-0/+31
|
* Add a test framework for CSS stylesMatthias Clasen2015-12-295-1/+347
| | | | | | | | This uses the same function for dumping CSS nodes and styles as the CSS node test. It can be used to test aspects of inheritance and matching, as well as initial values. No actual tests yet.
* Add CSS node tests for levelbarsMatthias Clasen2015-12-293-0/+122
|
* Add CSS node test for progressbarsMatthias Clasen2015-12-293-0/+70
|
* Add a CSS node test for buttonsMatthias Clasen2015-12-293-2/+178
|
* Add a CSS node test for entriesMatthias Clasen2015-12-293-0/+91
|
* Add a CSS node test for notebooksMatthias Clasen2015-12-293-0/+59
|
* Add a test framework for CSS nodesMatthias Clasen2015-12-295-1/+325
| | | | No actual tests yet.
* Add a function to dump CSS nodes and stylesMatthias Clasen2015-12-295-1/+225
| | | | | | | | Add a gtk_style_context_to_string function that can serialize a CSS node or tree of nodes, optionally including CSS properties as well. This will be useful in writing tests.
* Raleigh: Don't use deprecated pseudo classesBen Iofel2015-12-281-11/+11
|
* Set ID on css node right awayMatthias Clasen2015-12-281-0/+2
| | | | | | Previously, the ID was only set on the CSS node as a side-effect of calling gtk_widget_get_style_context. This was showing up in CSS style tests as nodes lacking their IDs.
* Fix a commentMatthias Clasen2015-12-281-2/+2
|
* Add a transfer annotationMatthias Clasen2015-12-281-1/+1
| | | | This was confusing me momentarily, so add an explicit annotation.
* Updated German translationMario Blättermann2015-12-281-1002/+843
|
* statusicon: Avoid criticalsMatthias Clasen2015-12-281-2/+7
| | | | | | | | | The code handles the possibility of pixbuf being NULL, but after b411c318321fd4de556926119cbc6e3ba14f073a we must be prepared for surface already being NULL. Pointed out by Albert Muktupāvels, https://bugzilla.gnome.org/show_bug.cgi?id=759917
* checkbutton: Update state initiallyMatthias Clasen2015-12-281-4/+13
| | | | | Without this, the check node starts out without the :dir(ltr) state, at least.
* css: Deprecate :sorted pseudo classMatthias Clasen2015-12-271-6/+12
| | | | | This was used with regions in GtkTreeView, and is not used anymore, so deprecate it.
* Fix outline-radius css parser testMatthias Clasen2015-12-272-72/+72
| | | | The outline-radius properties all got a -gtk prefix.
* Fix the pseudo-classes-known css testMatthias Clasen2015-12-274-2/+7
| | | | | | The test needs to be updated for the renamed :dnd pseudo class. We also need to add a .errors file for the deprecation errors that we are now producing.
* css: Redo the pseudo class deprecation warningsMatthias Clasen2015-12-271-23/+24
| | | | | | | Putting the deprecated class behind the official variant does not work for the case of :focus and :focused - we were matching :focus and leave a dangling 'ed'. So, put the deprecated classes before the official variant, and explicitly mark them as deprecated.
* test-css-parser: Add a way to generate outputMatthias Clasen2015-12-271-7/+29
| | | | | | Use test-css-parser --generate foo.css to see the parser output on stdout. This makes it more convenient to add new css files to the testsuite.
* Cosmetic changeMatthias Clasen2015-12-261-1/+2
|
* inspector: Don't leak weak referencesMatthias Clasen2015-12-261-1/+38
| | | | | | | These come back to bite us when the inspector is no longer around at the end of the program. https://bugzilla.gnome.org/show_bug.cgi?id=759768
* inspector: Remove some dead codeMatthias Clasen2015-12-261-4/+0
| | | | | | Since commit bffeae6203ffe5ea91988d4439571568abc95ab7, the tree path is not used for anything useful anymore, so do away with it entirely.
* docs: Add missing value syntax for border-imageMatthias Clasen2015-12-261-1/+1
|
* Fix a surface leakРуслан Ижбулатов2015-12-271-0/+3
| | | | | Was introduced as part of b79a187d47ee5c45952fab60c141fcaed7e05ef6. Results in memory leaks (and GDI objects leaks on W32).
* gtkframe: format fixCarlos Soriano2015-12-261-2/+0
|
* gtkframe: remove unused variableCarlos Soriano2015-12-261-1/+0
| | | | And fix the compiler warning
* Redo the CSS docsMatthias Clasen2015-12-253-1081/+2212
| | | | | | | | | Split the CSS docs off from the GtkCssProvider docs and give them their own chapter. Among other things, this commit introduces more or less complete definitions of the syntax for the supported selectors, a complete list of all supported properties, and definitions for their values. This includes documentation for GTK+-specific properties such as -gtk-icon-source.
* Drop the :dnd syntax altogetherMatthias Clasen2015-12-251-3/+2
| | | | | This was only introduced a few weeks ago. We don't need to keep this around, now that we support the proper CSS syntax.
* Adwaita: Don't use deprecated pseudo classesMatthias Clasen2015-12-253-991/+991
|
* Add deprecation warnings for pseudo statesMatthias Clasen2015-12-251-6/+14
| | | | | Emit a deprecation error in the cases where we have a CSS name for a custom pseudo class.
* Use CSS syntax for drop highlightingMatthias Clasen2015-12-253-5/+7
| | | | | | | I hadn't noticed the :drop() pseudo state in the CSS4 Selectors spec when I added this a while ago. This commit renames GTK_STATE_FLAG_DND to GTK_STATE_FLAG_DROP_ACTIVE and adds :drop(active) as equivalent to the :dnd pseudo state.
* Add docs for GtkCssSectionMatthias Clasen2015-12-251-0/+6
|
* GdkSeat: Use g_intern_static_string() for signal namesCarlos Garnacho2015-12-251-2/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=759857
* Updated Czech translationMarek Černocký2015-12-251-1495/+1606
|
* Adwaita: fix notebook close buttonLapo Calamandrei2015-12-243-22/+17
|
* Adwaita: use min-height/width for entry and button sizingLapo Calamandrei2015-12-233-57/+66
|
* Adwata: fix switch slider border clashLapo Calamandrei2015-12-233-0/+3
|
* label: Deny drag gesture when not selectableFlorian Müllner2015-12-231-1/+1
| | | | | | | | | We don't actually do anything when the label is not selectable except for consuming the event, which breaks for instance titlebar drags with labels that contain links. Simply deny the gesture in that case to allow the event to bubble up normally. https://bugzilla.gnome.org/show_bug.cgi?id=759798
* gtkcssnumbervalue.c: Include fallback-c89.c to fix buildChun-wei Fan2015-12-232-2/+14
| | | | | | ... on older Visual Studio versions, where isinf() is not available, and copy the isinf() implementation from gdk/fallback-c89.c to gtk/fallback-c89.c.
* Forgotten filesMatthias Clasen2015-12-232-0/+54
|
* widget: Be safe against windows losing their frame clockMatthias Clasen2015-12-221-5/+10
| | | | | | gdk_widget_get_frame_clock can return NULL. In particular, this can happen when the drag window is destroyed at the end of a DND operation. Handle this gracefully when it happens.
* gtksettings: notify after property resetAlberts Muktupāvels2015-12-231-0/+1
|
* Add parser tests for animation propertiesMatthias Clasen2015-12-2217-0/+392
| | | | | | | This adds tests for animation-name, animation-duration, animation-timing-function, animation-iteration-count, animation-direction, animation-play-state, animation-delay and animation-fill-mode.
* Add a parser tests for transition propertiesMatthias Clasen2015-12-227-0/+182
| | | | | This adds tests for transition-property, transition-delay and transition-timing-function.
* Add parser tests for min-width and min-heightMatthias Clasen2015-12-224-0/+76
|