Commit Graph

32 Commits

Author SHA1 Message Date
Jeff Walden
b7753477cf Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
Jeff Walden
eb2cb918a4 Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail 2011-10-12 12:21:53 -07:00
Jeff Walden
77ebbde4ab Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
--HG--
extra : rebase_source : 860a8271bf7e51cde358f2a4185c410de1fc2960
2011-10-10 22:50:08 -07:00
Michael Wu
d8e503c38b Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Mats Palmgren
ccb640b088 Bug 686581 - Implement -moz-is-resource-document media query. r=roc 2011-09-24 10:28:54 +02:00
Masayuki Nakano
f15fd02ef4 Bug 669028 part.11 layout/style should use mozilla;LookAndFeel rather than nsILookAndFeel r=dbaron 2011-09-09 11:27:12 +09:00
Markus Stange
076571f0ef Bug 679717 - Add "mac-lion-theme" system metric in order to allow for Lion-specific CSS rules without the need for per-file manifest overrides. r=dbaron 2011-08-18 10:40:27 +02:00
Zack Weinberg
dd67585463 Bug 651017, part 5: mechanical changes.
--HG--
extra : rebase_source : 8bbdf48488736b51d05e734e2e9316c1460cfed5
2011-04-16 18:22:44 -07:00
Zack Weinberg
51864c09d8 Bug 651017, part 1: minimize inclusion of ns*DeviceContext.h; move the printing error codes to nsIDeviceContextSpec.h; os2 small widget cleanup.
--HG--
extra : rebase_source : 5b7cebe68f71a760463e3522b159c7cde8a72f5e
2011-04-16 18:22:41 -07:00
Mark Finkle
03f0b98a1e Bug 618016 - Make a new media query for device orientation [r=dbaron a=blassey] 2010-12-10 13:35:36 -05:00
Jim Mathies
4aed135ef5 Bug 543910 - Layout support for -moz-windows-theme. r=dbaron, a=final. 2010-10-09 15:53:45 -05:00
L. David Baron
c8d807ef1f Remove null-checks for infallible array allocations. (Bug 520234) r=bzbarsky a=blocking2.0:beta7 2010-09-15 08:11:27 -07:00
Josh Matthews
0984e327c5 Bug 474356 - Add -moz-device-pixel-ratio media query. r=dbaron a=approval2.0
--HG--
extra : rebase_source : 3a477fe6eab09f693538008aafa9c8bf880597b1
2010-09-10 16:27:52 -04:00
Josh Matthews
37d6567b57 Backed out changeset ec2ffd935bd9 a=test-bustage 2010-09-11 21:04:09 -04:00
Josh Matthews
3576dc896d Bug 474356 - Add -moz-device-pixel-ratio media query. r=dbaron a=approval2.0
--HG--
extra : rebase_source : 1455dfbf13b66ac58cd2a66514c88adc76ff1a6c
2010-09-11 19:21:48 -04:00
Robert O'Callahan
20c2a19d6a Bug 537890. Part 10: Fix nsPresContext and nsIDeviceContext unit-conversion methods to be explicit about using CSS logical units instead of physical units. r=dbaron 2010-08-13 21:58:04 +12:00
Michael Ventnor ext:(%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
d512b62fb4 Bug 566480 - Make dragging the menubar drag the window on GTK themes where that should work (and also fix GTK resize drags to initialize drag better). r=karlt,dbaron,enn,dao 2010-07-17 10:11:54 +02:00
L. David Baron
30ac481d4d Add media queries for all of our system metrics exposed in :-moz-system-metric(). (Bug 522149) r=bzbarsky 2009-10-15 17:23:19 -07:00
L. David Baron
2c64d5b55a Pass the media feature to media feature value getters. (Bug 522149) r=bzbarsky 2009-10-15 17:23:18 -07:00
L. David Baron
b52b7d6d82 Make nsMediaFeature::mKeywordTable an mData union. (Bug 522149) r=bzbarsky 2009-10-15 17:23:18 -07:00
L. David Baron
c2612afa26 Avoid flushing during media query evaluation. (Bug 507457) r=bzbarsky 2009-08-04 15:39:53 -07:00
L. David Baron
eed7111013 Fix handling of 'orienation' feature in print-preview. (Bug 468645) r+sr=bzbarsky 2008-12-29 10:07:36 -05:00
L. David Baron
8e85e47bd1 Make the Windows widget code report 24-bit color depth when the display driver reports 32, since it's the same number of bits per pixel. (Bug 466669) r=vlad 2008-12-23 09:06:56 -05:00
L. David Baron
399b58f316 Make 'width', 'height', and 'aspect-ratio' features use the page size when printing. (Bug 466559) r+sr=bzbarsky a=blocking1.9.1+ 2008-12-04 08:09:53 -08:00
Arpad Borsos
8b11d938d2 Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan 2008-10-10 17:04:34 +02:00
Boris Zbarsky
d674c8ca02 Bug 433616 part 1. Make it possible to create a document viewer with no parent widget or container, and make various code saner about handling null document/prescontext/documentviewer containers. r=roc, sr=jst 2008-09-28 15:14:28 -04:00
Boris Zbarsky
012ae72fd1 Backing out changesets 2ea77fa990af, 7d2d8869e73c, 93441e4f521e, 43d2ee100f3b, a2d84821ea71 to see whether they're causing the Windows Txul or Mac Tp regressions 2008-09-29 08:51:29 -04:00
Boris Zbarsky
10026a0921 Bug 433616 part 1. Make it possible to create a document viewer with no parent widget or container, and make various code saner about handling null document/prescontext/documentviewer containers. r=roc, sr=jst 2008-09-28 15:14:28 -04:00
L. David Baron
ffb24827c5 Update to new parsing rules for grid media query per http://lists.w3.org/Archives/Public/www-style/2008Aug/0191.html . (Bug 453759) r+sr=bzbarsky 2008-09-06 07:04:28 -07:00
L. David Baron
4eda4573f0 Fix media queries calculation of screen size for at least multi-monitor mirroring cases (where test_media_queries fails). (Bug 156716) r+sr=roc 2008-07-26 09:14:49 -07:00
L. David Baron
07bbfcbe0b Implement Media Queries, part 4: infrastructure for dynamic change handling at the pres context level. (Bug 156716) r+sr=bzbarsky 2008-07-26 09:14:48 -07:00
L. David Baron
10045a5167 Implement Media Queries. (Bug 156716) r+sr=bzbarsky 2008-07-26 09:14:48 -07:00