Commit Graph

1208 Commits

Author SHA1 Message Date
Steven Michaud
1c421efa41 Bug 1178984 - Crashes at nsMenuBarX::RemoveMenuAtIndex. r=spohl 2015-07-01 14:28:05 -05:00
Andrew McCreight
53e8d2ac49 Bug 958641 - De-holder nsIXPConnect::WrapNative. r=gabor 2015-07-01 11:17:17 -07:00
Nathan Froyd
974d8120f2 Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan
This conversion was done with the script:

  find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl' | \
    egrep -v 'cairo-win32-refptr.h|RefPtr.h|TestRefPtr.cpp' | \
    xargs sed -i -e 's/mozilla::TemporaryRef</already_AddRefed</g' \
                 -e 's/TemporaryRef</already_AddRefed</g'

Manual fixups were performed in the following instances:

- We handled mfbt/RefPtr.h manually so as to not convert TemporaryRef itself
  into already_AddRefed.

- The following files had explicit Move() calls added to make up for the lack
  of a copy constructor on already_AddRefed:

  dom/base/ImageEncoder.cpp
  dom/media/MediaTaskQueue.{h,cpp}
  dom/media/webaudio/PannerNode.cpp

- A redundant overload for MediaTaskQueue::Dispatch was deleted.

- A few manual fixups were required in mfbt/tests/TestRefPtr.cpp.

- Comments, using declarations, and forward declarations relating to
  TemporaryRef in dom/canvas/ and gfx/layers/ were changed to refer to
  already_AddRefed.
2015-06-17 10:00:52 -04:00
Ryan VanderMeulen
5f5c327690 Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage. 2015-06-25 19:48:42 -04:00
Juan Gomez
702a59d135 Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
--HG--
extra : rebase_source : 2ecbe6c1dd8a7ad8dc529b53349ad431cf1116c9
2015-06-24 14:11:00 -04:00
Chris Peterson
cd8ae89cff Bug 1175049 - Fix non-universal 32-bit build on OS X with Xcode 6.3 tools. r=josh 2015-06-14 00:20:27 -07:00
David Anderson
d50c97dfca Add nsIGfxInfo::ListMonitors support for OS X. (bug 1175005 part 3, r=mstange) 2015-06-17 23:12:06 -07:00
Markus Stange
5113a01350 Bug 1119106 - Give these enums better names. r=smichaud
--HG--
extra : rebase_source : 6bbfde25fd11ebc8fbc4574a803d4f0ef58b1713
2015-06-08 16:19:47 -04:00
Markus Stange
e11fa56d49 Bug 1119106 - Add an explanatory comment. r=smichaud
--HG--
extra : rebase_source : df67c54a8f1702cfa065118473eb7cb232e1fd16
2015-06-08 16:17:41 -04:00
Markus Stange
f06291ba8d Bug 1119106 - Increase the radio button rendering bottom margin on 10.10 so that the button hits its frame more accurately. r=smichaud
--HG--
extra : rebase_source : 34db754cd1ddbd811ef032551e2fbeec05ce3234
2015-06-02 17:49:57 -04:00
Markus Stange
9aa09929e3 Bug 1119106 - Increase the maximum focus ring width on 10.10 to 7 pixels. r=smichaud
--HG--
extra : rebase_source : ba0709ad72f16c494bf000f76a553cfeebed5b04
2015-06-02 18:05:17 -04:00
Markus Stange
d510bed052 Bug 1119106 - Stop double-drawing focus rings for checkboxes and radio buttons on 10.10. r=smichaud
--HG--
extra : rebase_source : 9fa5c99fce184329121dd3020f4eb75b9ecae578
2015-06-10 19:02:30 -04:00
Xidorn Quan
7699870266 Bug 1161802 part 1 - Add FullscreenChanged callback in WidgetListener. r=roc
--HG--
extra : source : dcfb961149d8c8e56ff787fa812dc781a491ee53
2015-06-10 23:13:12 +12:00
Xidorn Quan
6822bb6669 Bug 1172664 - Use [NSApplication setPresentationOptions:] instead of SetSystemUIMode for hide os chrome. r=smichaud
--HG--
extra : source : 2508b0bb8b91a883e39a1026364bab0947266288
2015-06-10 13:13:49 +12:00
Jonathan Kew
f05c9dee41 Bug 1113206 patch 2: Disable use of Cocoa and Gtk native-theme dropdown rendering that doesn't play well with vertical writing mode. r=roc 2015-06-08 07:21:42 +01:00
Neil Deakin
9e7bedeacf Bug 1121947, Implement e10 cursor drag feedback on Mac, r=smaug 2015-06-05 08:33:29 -04:00
Xidorn Quan
67ff323331 Bug 1105939 part 7 - Use tranditional fullscreen on Mac for DOM fullscreen. r=smichaud
--HG--
extra : source : 5e5b3e8eb96f07b24e2c10522ba92fe13c3f9c05
2015-06-04 13:49:34 +12:00
Xidorn Quan
de413a07a8 Bug 1105939 part 4 - Treat cocoa window without titlebar as fullscreen to avoid drawing rounded corners on it. r=mstange
--HG--
extra : source : d78709d5377839af0ae698ee75474558dea15053
2015-06-04 13:49:34 +12:00
Xidorn Quan
f01f25d5ae Bug 1105939 part 3 - Save and restore window collection behavior when showing/hiding window chrome. r=mstange
--HG--
extra : source : d27f4451457a57a25bdc5e25b8ede4f9d81d6e9c
2015-06-04 13:49:34 +12:00
Xidorn Quan
59695c3ccb Bug 1105939 part 2 - Suppress windows animation when hiding chrome on OS X. r=smichaud
--HG--
extra : source : 5037dc2e6f68745ac37293fba7bcf2b68c2cbe68
2015-06-04 13:49:34 +12:00
Xidorn Quan
5e157a787e Bug 1105939 part 1 - Backout workaround from bug 740923. r=smichaud
--HG--
extra : source : f2b0c20d69e22c14dd20c39d462302a4f715abc4
2015-06-04 13:49:34 +12:00
Eric Rahm
75c4bebb79 Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
  PR_LOG_ERROR   -> LogLevel::Error
  PR_LOG_WARNING -> LogLevel::Warning
  PR_LOG_WARN    -> LogLevel::Warning
  PR_LOG_INFO    -> LogLevel::Info
  PR_LOG_DEBUG   -> LogLevel::Debug
  PR_LOG_NOTICE  -> LogLevel::Debug
  PR_LOG_VERBOSE -> LogLevel::Verbose

Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.

Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-03 15:25:57 -07:00
Eric Rahm
cc58068318 Bug 1165515 - Part 5: Convert instances of PR_LOG_ALWAYS. r=froydnj
Most instances were converted to PR_LOG_INFO, some to PR_LOG_DEBUG, and some
to PR_LOG_ERROR.
2015-06-03 15:22:30 -07:00
Eric Rahm
f50b813989 Bug 1165515 - Part 3: Convert PR_LOG_TEST to MOZ_LOG_TEST. r=froydnj 2015-06-03 15:22:28 -07:00
Steven Michaud
edb79b5fd7 Bug 1151345 - Firefox app menu sometimes contains only "Quit" on OS X. r=spohl 2015-06-03 16:19:51 -05:00
Carsten "Tomcat" Book
5471309381 Backed out 14 changesets (bug 1165515) for linux x64 e10s m2 test failures
Backed out changeset d68dcf2ef372 (bug 1165515)
Backed out changeset 7c3b45a47811 (bug 1165515)
Backed out changeset b668b617bef2 (bug 1165515)
Backed out changeset d0916e1283a2 (bug 1165515)
Backed out changeset ac4dc7489942 (bug 1165515)
Backed out changeset e9632ce8bc65 (bug 1165515)
Backed out changeset c16d215cc7e4 (bug 1165515)
Backed out changeset e4d474f3c51a (bug 1165515)
Backed out changeset d87680bf9f7c (bug 1165515)
Backed out changeset b3c0a45ba99e (bug 1165515)
Backed out changeset 9370fa197674 (bug 1165515)
Backed out changeset 50970d668ca1 (bug 1165515)
Backed out changeset ffa4eb6d24b9 (bug 1165515)
Backed out changeset 5fcf1203cc1d (bug 1165515)

--HG--
extra : rebase_source : 6fb850d063cbabe738f97f0380302153e3eae97a
2015-06-02 13:05:56 +02:00
Eric Rahm
a9afd68cef Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
  PR_LOG_ERROR   -> LogLevel::Error
  PR_LOG_WARNING -> LogLevel::Warning
  PR_LOG_WARN    -> LogLevel::Warning
  PR_LOG_INFO    -> LogLevel::Info
  PR_LOG_DEBUG   -> LogLevel::Debug
  PR_LOG_NOTICE  -> LogLevel::Debug
  PR_LOG_VERBOSE -> LogLevel::Verbose

Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.

Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-01 22:17:33 -07:00
Eric Rahm
28978ade8c Bug 1165515 - Part 5: Convert instances of PR_LOG_ALWAYS. r=froydnj
Most instances were converted to PR_LOG_INFO, some to PR_LOG_DEBUG, and some
to PR_LOG_ERROR.
2015-06-01 22:17:21 -07:00
Eric Rahm
141e0ff4a2 Bug 1165515 - Part 3: Convert PR_LOG_TEST to MOZ_LOG_TEST. r=froydnj 2015-06-01 22:17:19 -07:00
Wes Kocher
4e9f80ed2e Backed out 14 changesets (bug 1165515) for b2g mochitest-6 permafail CLOSED TREE
Backed out changeset 9b97e2aa2ed9 (bug 1165515)
Backed out changeset 150606c022a2 (bug 1165515)
Backed out changeset 4e875a488349 (bug 1165515)
Backed out changeset 467e7feeb546 (bug 1165515)
Backed out changeset d6b6cc373197 (bug 1165515)
Backed out changeset 0615265b593c (bug 1165515)
Backed out changeset fafd1dce9f08 (bug 1165515)
Backed out changeset d1df869245f9 (bug 1165515)
Backed out changeset 6876a7c63611 (bug 1165515)
Backed out changeset b7841c94a9a3 (bug 1165515)
Backed out changeset e5e3617f7c73 (bug 1165515)
Backed out changeset 39be3db95978 (bug 1165515)
Backed out changeset 0ec74176f8de (bug 1165515)
Backed out changeset 5b928dd10d71 (bug 1165515)
2015-06-01 17:57:58 -07:00
Eric Rahm
f82c0e7caf Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
  PR_LOG_ERROR   -> LogLevel::Error
  PR_LOG_WARNING -> LogLevel::Warning
  PR_LOG_WARN    -> LogLevel::Warning
  PR_LOG_INFO    -> LogLevel::Info
  PR_LOG_DEBUG   -> LogLevel::Debug
  PR_LOG_NOTICE  -> LogLevel::Debug
  PR_LOG_VERBOSE -> LogLevel::Verbose

Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.

Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-01 14:31:01 -07:00
Eric Rahm
0a502beb23 Bug 1165515 - Part 5: Convert instances of PR_LOG_ALWAYS. r=froydnj
Most instances were converted to PR_LOG_INFO, some to PR_LOG_DEBUG, and some
to PR_LOG_ERROR.
2015-06-01 14:31:00 -07:00
Eric Rahm
dc090e3fe5 Bug 1165515 - Part 3: Convert PR_LOG_TEST to MOZ_LOG_TEST. r=froydnj 2015-06-01 14:31:00 -07:00
Kartikaya Gupta
ddb0ba167d Bug 1167693 - Ensure device and vendor IDs are zero-padded. r=mstange 2015-06-01 17:04:15 -04:00
Mike Conley
a1d6a9cf9c Bug 1091112 - Proxy opening the print dialog on OS X to the parent. r=mstange
--HG--
extra : commitid : JRKXD6lod1d
extra : rebase_source : b2bfa7c4f750852c0654367708cc4f0a6c607a24
extra : histedit_source : f0da46869101dc23b8d6b654416298951b078ccb
2015-05-06 14:10:21 -04:00
Chris Peterson
b6535b95f8 Bug 1167834 - Fix -Wwritable-strings warnings in widget/cocoa/. r=smichaud 2015-05-20 23:02:59 -07:00
stefanh@inbox.com
bb3b4ef66e Bug 889085 - Remove an extra comma that accidentally slipped in from a7c9a6e1394e. 2015-05-26 20:23:47 +02:00
stefanh@inbox.com
540e84dadf Bug 889085 - Make sheets styled with '-moz-appearance: dialog;' vibrant/semi-transparent. r=mstange, roc. 2015-05-26 19:55:08 +02:00
Markus Stange
587a8d7b4b Bug 1164625 - Don't redraw the titlebar for unified toolbar height changes when the titlebar is under Gecko's control. r=smichaud 2015-05-21 17:49:56 -04:00
Nathan Froyd
db188ea282 Bug 1160485 - remove implicit conversion from RefPtr<T> to TemporaryRef<T>; r=ehsan
Having this implicit conversion means that we can silently do extra
refcounting when it's completely unnecessary.  It's also an obstacle to
making RefPtr more nsRefPtr-like, so let's get rid of it.
2015-05-01 09:14:16 -04:00
Eric Rahm
3925a960aa Bug 1165515 - Part 1: Convert PR_LOG to MOZ_LOG. r=froydnj 2015-05-21 13:22:04 -07:00
Eric Rahm
4879ae86f4 Bug 1165518 - Part 2: Replace prlog.h with Logging.h. rs=froydnj 2015-05-19 11:15:34 -07:00
David Anderson
8a9daf3775 Enable APZ for all Desktop windows if E10s is enabled. (bug 1163115, r=kats) 2015-05-12 01:26:01 -04:00
Brian Grinstead
b3c9169963 Bug 1162649 - Don't call setOpaque:NO or setHasShadow:NO for non-popup windows;r=mstange 2015-05-08 14:49:29 -07:00
Eric Rahm
229a2376c1 Bug 1162293 - Part 2: Fix string leak in logging code. r=froydnj
If logging is enabled the result from |ToNewCString| will be leaked. Switched
to |NS_LossyConvertUTF16toASCII| instead.
2015-05-07 09:43:39 -07:00
Eric Rahm
15f7146909 Bug 1162293 - Part 1: Remove instances of #ifdef PR_LOGGING. r=froydnj
PR_LOGGING is now always defined, we can remove #ifdefs checking for it.
2015-05-07 09:43:38 -07:00
Kartikaya Gupta
83a95ac8fd Bug 1161206 - Implement native mousewheel event synthesization on OS X. r=mstange 2015-05-05 14:45:11 -04:00
Anthony Tseng
6fe5a1137f Bug 1158425 - Rename _SYNTH event names. r=smaug
--HG--
extra : rebase_source : 533cc7e18cf7f92d95a146d61f7aa2da7c0b8e48
2015-05-01 22:06:00 -04:00
Markus Stange
97573e94f6 Bug 947753 - Make sure nsChildView::ComputeShouldAccelerate returns true even if it's called before layout lets the window know about whether it's transparent. r=smichaud 2015-04-22 17:13:45 -04:00
Mike Hommey
924c9eb636 Bug 1134923 - Remove NS_Alloc/NS_Realloc/NS_Free. r=nfroyd
They are kept around for the sake of the standalone glue, which is used
for e.g. webapprt, which doesn't have direct access to jemalloc, and thus
still needs a wrapper to go through the xpcom function list and get to
jemalloc from there.
2015-05-01 09:40:30 +09:00