summaryrefslogtreecommitdiffstats
path: root/widget
Commit message (Collapse)AuthorAgeLines
* [GTK3] Invalidate widget style contexts after their ancestors are settrav902018-04-06-0/+14
| | | | Although this is only known to affect buttons with builtin child widgets, it is difficult to audit all GTK widgets for similar situations, and so the same defense is applied to all widgets.
* [GTK3] Force a style resolution on context creation to set GTK 3.4 ↵trav902018-04-06-0/+15
| | | | | | theming_engine This works around a GTK bug that led to the default engine being used instead for the first draw.
* [GTK3] For Gtk > 3.20 determine scale trough size from trough CSS node and ↵trav902018-04-06-10/+8
| | | | also add border/padding/margin
* [GTK3] Consider also margin when determine range widget slider sizetrav902018-04-06-3/+20
|
* [GTK3] With GTK versions < 3.8 draw menuitem background and frame only when ↵trav902018-04-06-4/+10
| | | | in hover and not a separator
* [GTK3] Implement pre-3.20 MOZ_GTK_PROGRESS_CHUNK in WidgetStyleCachetrav902018-04-06-11/+9
|
* [GTK3] Adjust textarea style contexts for GTK 3.20 theming ABI changestrav902018-04-06-4/+11
|
* [GTK3] Consider textview root node background in addition to text node for ↵trav902018-04-06-17/+15
| | | | | | -moz-appearance:textfield-multiline This is necessary for GTK versions > 3.18 because windows no longer clear their backgrounds since https://git.gnome.org/browse/gtk+/commit/?id=580ea227a6bb19ad6c6d4766b3a36dbad24583f3 and Ambiance for 3.20 has a transparent background for the "text" window.
* [GTK3] Consider textview root node background in addition to text node for ↵trav902018-04-06-2/+28
| | | | | | -moz-field This is necessary for GTK versions > 3.18 because windows no longer clear their backgrounds since https://git.gnome.org/browse/gtk+/commit/?id=580ea227a6bb19ad6c6d4766b3a36dbad24583f3 and Ambiance for 3.20 has a transparent background for the "text" window.
* [GTK3] Introduce MOZ_GTK_TEXT_VIEW_TEXT and move MOZ_GTK_RESIZER to ↵trav902018-04-06-32/+49
| | | | | | | WidgetStyleCache The style context for MOZ_GTK_TEXT_VIEW is now created by copying from the widget instead of caching a widget and using its context. No rendering changes are expected, unless themes are animating GtkTextView backgrounds.
* [GTK3] Use WidgetCache to get colors at nsLookAndFeelfor menuitems, text and ↵trav902018-04-06-9/+11
| | | | tree view
* [GTK3] Use WidgetCache to get colors at nsLookAndFeel for GtkButton, ↵trav902018-04-06-57/+31
| | | | GtkWindow, GtkScrollBar
* [GTK3] Use WidgetCache to get colors at nsLookAndFeeltrav902018-04-06-46/+38
|
* [GTK3] Adjust menuitem padding and check/radio indicator position for ↵trav902018-04-05-14/+37
| | | | changes in GTK 3.20
* [GTK3] Rename subtract_margin and rectangle_inset to Inset* and swap ↵trav902018-04-05-11/+10
| | | | InsetByMargin parameters for consistency.
* [GTK] Rename radio/check menuitem and indicator as used with ClaimStyleContext.trav902018-04-05-29/+28
| | | | The same name is retained for moz_gtk_widget_paint(), which is now more consistent.
* [GTK3] Use menuitem padding between menuitem and check indicator.trav902018-04-05-1/+1
|
* [GTK3] Draw only background and frame of separator menuitems in GTK versions ↵trav902018-04-05-0/+3
| | | | | | > 3.20 In GTK 3.20, gtk_menu_item_draw() just draws the root widget gadget, depending on the theme to style menu items with CSS name "separator" appropriately.
* [GTK3] Draw separator menuitem background and frame behind separator in menutrav902018-04-05-0/+8
|
* [GTK3] Draw menuitem background even when not in hovertrav902018-04-05-24/+20
|
* Implement DOM page onvisibilitychange.janekptacijarabaci2018-03-12-0/+3
|
* Remove windows-xp and windows-vista from @media(-moz-os-version)wolfbeast2018-02-20-4/+1
|
* Remove always-false #if WINVER < 0x0601 (Windows 7) checks in nsWinGesture.h.wolfbeast2018-02-19-153/+2
|
* Remove always-false #if WINVER < 0x0601 (Windows 7) checks in nsLookAndFeel.h.wolfbeast2018-02-19-14/+1
|
* Remove always-false #if WINVER < 0x0600 (Windows Vista) checks in ↵wolfbeast2018-02-19-102/+2
| | | | widget/windows.
* Remove the use of GetProcAddress() for shell32wolfbeast2018-02-19-43/+4
| | | | | This avoids manually hooking into shell32.dll and using the native shell API instead. Tag #22.
* Make the proper Windows APIs natively available to our tree.wolfbeast2018-02-19-2/+6
| | | | | Tag #22. This bypasses custom definitions of some functions for things natively available in Windows 7.
* Remove unnecessary code in /widget.wolfbeast2018-02-18-1162/+199
| | | | | | | | | - Remove numerous blocklist entries that no longer apply. - Remove CanComputeVirtualKeyCodeFromScanCode(), because it's always true. - Remove ShowXP{Folder,File}Picker(), since we have native pickers on supported Windows versions. - Remove the config.trim_on_minimize preference, which is pointless on NT6+ and will just cause problems if used. Tag #22.
* Add a signal preference for dynamic color changes to adjust "brighttext" in ↵wolfbeast2018-02-17-0/+2
| | | | | | | | the front-end. This makes all relevant toolbars pick up the fact that the Windows accent color has changed and should check and if necessary update the "brighttext" property on them for styling of controls. This is a bit of a hack-around to the fact that there is no real easy way otherwise to notify the front-end of color changes without needing a change in focus of the window. There is a deliberate 300ms delay built in, because otherwise the styles might not have propagated yet, resulting in brighttext not being updated properly.
* Use more logical pref names for mouse button 4&5wolfbeast2018-02-12-8/+9
| | | | Also improves comment wording.
* Un-fold browsercomps.* from libxulwolfbeast2018-02-11-1/+0
| | | | This resolves #16.
* Add -moz-windows-accent-color-is-darkwolfbeast2018-02-04-0/+22
| | | | #31 point 4
* Split out the check for accent color luminance.wolfbeast2018-02-04-8/+20
|
* Add -moz-win-accentcolor(text)wolfbeast2018-02-04-5/+122
| | | | #31 points 1 and 2
* Add `@media(-moz-windows-accent-color-applies)`wolfbeast2018-02-04-0/+15
| | | | #31 point 3
* Add m-esr52 at 52.6.0Matt A. Tobin2018-02-02-0/+292726