Commit Graph
52 Commits
Author SHA1 Message Date
Gabriele Svelto f03cdb2b2d Bug 1600545 - Remove useless inclusions of header files generated from IDL files in modules/, netwerk/, parser/, security/, startupcache/, storage/, toolkit/, tools/, uriloader/, widget/, xpcom/ and xpfe/ r=Ehsan
The inclusions were removed with the following very crude script and the
resulting breakage was fixed up by hand. The manual fixups did either
revert the changes done by the script, replace a generic header with a more
specific one or replace a header with a forward declaration.

find . -name "*.idl" | grep -v web-platform | grep -v third_party | while read path; do
    interfaces=$(grep "^\(class\|interface\).*:.*" "$path" | cut -d' ' -f2)
    if [ -n "$interfaces" ]; then
        if [[ "$interfaces" == *$'\n'* ]]; then
          regexp="\("
          for i in $interfaces; do regexp="$regexp$i\|"; done
          regexp="${regexp%%\\\|}\)"
        else
          regexp="$interfaces"
        fi
        interface=$(basename "$path")
        rg -l "#include.*${interface%%.idl}.h" . | while read path2; do
            hits=$(grep -v "#include.*${interface%%.idl}.h" "$path2" | grep -c "$regexp" )
            if [ $hits -eq 0 ]; then
                echo "Removing ${interface} from ${path2}"
                grep -v "#include.*${interface%%.idl}.h" "$path2" > "$path2".tmp
                mv -f "$path2".tmp "$path2"
            fi
        done
    fi
done

Differential Revision: https://phabricator.services.mozilla.com/D55444
2019-12-06 09:17:57 +00:00
Sylvestre Ledru b31009da86 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D22514
2019-03-13 10:19:06 +01:00
Kris Maglione ff71cb208e Bug 1524687: Part 10 - Convert Windows widget module to static registration. r=erahm 2019-01-25 15:20:36 -08:00
arthur.iakab 26670b522e Backed out 5 changesets (bug 1524687) for causing build bustages on platform.h CLOSED TREE
Backed out changeset 0f06a6b51bfe (bug 1524687)
Backed out changeset 7a1ef487a9e7 (bug 1524687)
Backed out changeset accad7b4cbc7 (bug 1524687)
Backed out changeset eb33f7e6467c (bug 1524687)
Backed out changeset 86cf09db340b (bug 1524687)
2019-02-21 02:04:02 +02:00
Kris Maglione 2cd0c0cc35 Bug 1524687: Part 10 - Convert Windows widget module to static registration. r=erahm 2019-01-25 15:20:36 -08:00
Ehsan Akhgari 498e2df734 Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre
# ignore-this-changeset
2019-01-18 10:16:18 +01:00
Dragana Damjanovic ccf5ab925a Bug 1513059 - Use the minimal XPCOM for the socket process.r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D15024
2019-01-16 23:05:11 +00:00
Sylvestre Ledru e5a134f73a Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
# ignore-this-changeset
2018-11-30 11:46:48 +01:00
Daosheng Mu fc16b7ec8f Bug 1498625 - Part 2: Switch VR process to TYPE_MOZILLA_CHILD message loop type. r=froydnj,handyman
Differential Revision: https://phabricator.services.mozilla.com/D10643
2018-11-05 21:28:38 +00:00
Edouard Oger accd081f26 Bug 1155505 - Part 2. Implement native Window Toasts as a notification backend. r=jmathies
Implemnt notification backend by Windows Toast API that is from Windows 8+.

Original patch is me and add some features by eoger.

Differential Revision: https://phabricator.services.mozilla.com/D3003
2018-10-03 17:57:23 +09:00
Ciure Andrei a6e096bc79 Backed out 4 changesets (bug 1155505) for win2012 build bustages CLOSED TREE
Backed out changeset af0781ab02a6 (bug 1155505)
Backed out changeset f5e706d5a143 (bug 1155505)
Backed out changeset 5400ec20792c (bug 1155505)
Backed out changeset 82e129f7545e (bug 1155505)
2018-10-03 09:16:27 +03:00
Makoto Kato 07939f33c6 Bug 1155505 - Part 4. Fix bustage for mingw32. r=me CLOSED TREE 2018-10-03 15:08:41 +09:00
Edouard Oger c52ac42d86 Bug 1155505 - Part 2. Implement native Window Toasts as a notification backend. r=jmathies
Implemnt notification backend by Windows Toast API that is from Windows 8+.

Original patch is me and add some features by eoger.

Differential Revision: https://phabricator.services.mozilla.com/D3003
2018-10-03 13:15:43 +09:00
Ehsan Akhgari c1ae138840 Bug 1491594 - Remove the XPCOM registration for the native theme renderer r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D6275
2018-09-20 01:20:55 +00:00
Ehsan Akhgari 40d5d94552 Backout changeset b4f8cb6afab6 (bug 1491594) for talos performance regressions 2018-09-18 18:33:56 -04:00
Ehsan Akhgari d805dceab3 Bug 1491595 - Remove the XPCOM registration for the bidi keyboard; r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D5962
2018-09-17 00:02:58 -04:00
Narcis Beleuzu d460c661c9 Backed out changeset 87d667d7ad73 (bug 1491595) for geckoview-junit failures on nsContentUtils. CLOSED TREE 2018-09-16 22:12:43 +03:00
Ehsan Akhgari eff30b7778 Bug 1491595 - Remove the XPCOM registration for the bidi keyboard; r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D5962
2018-09-16 13:52:38 -04:00
Ehsan Akhgari dcce9ea453 Bug 1491594 - Remove the XPCOM registration for the native theme renderer; r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D5961
2018-09-16 13:51:21 -04:00
Ehsan Akhgari 6f492336b2 Bug 1484848 - Remove the XPCOM component registrations for window and child window; r=mstange 2018-08-21 16:20:28 -04:00
Jonathan Watt 273d5cc4e0 Bug 144114 part 2 - Rename nsPrintOptions and its subclasses to nsPrintSettingsService*. r=bobowen
MozReview-Commit-ID: HQSmyrMBdS8
2017-12-19 10:42:15 +00:00
Jonathan Watt bfacaee30c Bug 144114 part 1 - Rename the files for nsPrintOptions and its subclasses. r=bobowen
MozReview-Commit-ID: EcotGH6pXCR
2017-12-19 10:06:39 +00:00
Jean-Yves Avenard 725e308c78 Bug 1417442 - P2. fix nsIGfxInfo in GPU process. r=dvander
MozReview-Commit-ID: FiU8Ygfh86s
2017-11-15 23:33:37 +01:00
Mantaroh Yoshinaga 2616fde2a1 Bug 1405210 - Part 1: Add PrintDialogService to windows widget. r=jimm,mshal
In order to move print native dialog code to windows widget, this patch will
create skeleton of PrintDialogService to windows widget.
Toolkit code(i.e. nsIPrintingPrompotService) will call this PrintDialogService.

Note that this PrintingDialogService suppose running on main process, so we
should call this interface from main process(i.e. nsPrintingPromptService, not
nsPrintingProxy).

MozReview-Commit-ID: 3P6kac9I9W4
2017-10-19 11:04:13 +09:00
Jean-Yves Avenard 5dfde8b787 Bug 1352016 - P2. Allow nsIGfxInfo service in GPU process on Windows. r=dvander
We'll need it to determine if NV12 D3D11 surface are operationals.

MozReview-Commit-ID: FvsxGhnv7H1
2017-09-13 16:35:14 +02:00
Brendan Dahl dde87ea5e4 Bug 1387168 - Use custom clipboard constructor instead of singleton. r=jrmuizel
This allows instances of the clipboard to be created (like it
was pre-headless).
2017-08-09 09:46:51 -07:00
Mats Palmgren ee81b4f595 Bug 1377490 - Make nsWindow 'final' to possibly devirtualize some calls. r=jimm
MozReview-Commit-ID: 6woRy5Wkogy
2017-07-05 23:14:48 +02:00
Thomas Nguyen 4943e33df8 Bug 1363163 - Playing sound in a seperated thread to avoid jank r=masayuki
MozReview-Commit-ID: KYN7fhA541S
2017-06-08 11:08:49 +08:00
Brendan Dahl 9d1b131459 Bug 1355150 - Enable headless mode on windows. r=automatedtester, r=jrmuizel 2017-06-20 15:27:02 -07:00
Kan-Ru Chen 3659552119 Bug 1194751 - Part 7. Implement ScreenHelperWin and delete old nsScreenManagerWin/nsScreenWin. r=jimm
ScreenHelperWin is the platform dependent part of the original
nsScreenManagerWin and nsScreenWin. It listens the WM_DISPLAYCHANGE
message and pushes updates to ScreenManager. See patch part 4. for how
ScreenManager works.

MozReview-Commit-ID: 20A3ZQKmH9a
2017-03-09 19:32:31 +08:00
David Anderson d8d38b281e Initialize nsAppShell in the GPU process. (bug 1294350 part 5, r=nfroyd) 2016-08-22 22:57:36 -07:00
Makoto Kato a9bbe03105 Bug 1033488 - Send RTL information to child process by WM_INPUTLANGCHANGE. r=masayuki
MozReview-Commit-ID: KB9ok2oly7y
2016-03-11 17:48:10 +09:00
Jim Mathies c4df3eeb95 Bug 1096804 - Add a new asynchronous callback interface for Windows taskbar thumbnail and preview image requests. r=roc 2016-01-12 11:08:33 -06:00
Gijs Kruitbosch 963d6e0d47 Bug 1170522 - expose whether or not we're in tablet mode to xul/js/css, r=jimm,ted 2015-06-16 19:51:29 +01:00
Kartikaya Gupta ebe4a3e37e Bug 1039866 - Rip out a bunch of metro-only code. r=jimm,gavin,rstrong 2015-04-23 15:10:30 -04:00
Masayuki Nakano f1536d537d Bug 1119609 part.3 Implement converting methods from key/code value to key/code name index r=smaug 2015-02-19 15:50:19 +09:00
Mike Conley 401e1aee9d Bug 1082579 - Introduce PPrinting.ipdl and proxies for opening printing UI. r=blassey. 2014-10-28 11:59:08 -04:00
Mike Conley bf9347dcdd Bug 1002354 - Proxy nsIScreenManager and nsIScreen's from the child process to the parent process, with caching. r=roc,jimm,smichaud,snorp.
Changes to nsIScreen and nsIScreenManager were reviewed by roc.
Changes to dom/ipc were reviewed by jimm.
Changes to gfx/src/nsDeviceContext.cpp were reviewed by roc.
Changes to widget/android were reviewed by snorp.
Changes to widget/cocoa were reviewed by smichaud.
Changes to widget/gtk were reviewed by roc.
Changes to widget/windows were reviewed by jimm.
Changes to widget/xpwidgets were reviewed by roc.
2014-07-14 13:22:26 -04:00
Mike Conley 66d80357a6 Backed out bdf72cebcd85 to fix a CLOSED TREE. 2014-07-14 12:20:16 -04:00
Mike Conley 9f79707de3 Bug 1002354 - Proxy nsIScreenManager and nsIScreen's from the child process to the parent process, with caching. r=roc,jimm,smichaud,snorp.
Changes to nsIScreen and nsIScreenManager were reviewed by roc.
Changes to dom/ipc were reviewed by jimm.
Changes to gfx/src/nsDeviceContext.cpp were reviewed by roc.
Changes to widget/android were reviewed by snorp.
Changes to widget/cocoa were reviewed by smichaud.
Changes to widget/gtk were reviewed by roc.
Changes to widget/windows were reviewed by jimm.
Changes to widget/xpwidgets were reviewed by roc.
2014-07-14 11:57:06 -04:00
Bill McCloskey 45aef40105 Bug 966467 - Enable some service proxies only in content processes (r=vlad) 2014-02-09 16:13:05 -08:00
Bill McCloskey 0f951bc49b Bug 966467 - Disable some unused services in content processes (r=vlad) 2014-02-09 16:13:01 -08:00
Birunthan Mohanathas 3d1c72e40f Bug 784739 - Switch from NULL to nullptr in widget/windows/ (2/3); r=ehsan 2013-10-08 14:48:20 -04:00
Arnaud Bienner 2cfd608008 Bug 875754 - Implement <input type="color">: Windows widget/color picker. r=jimm 2013-06-23 18:48:24 +02:00
Masayuki Nakano c5113cfb1e Bug 855975 part.1 Make widget::KeyboardLayout a singleton class r=jimm 2013-05-29 15:34:47 +09:00
Trevor Saunders ec71d09ed6 no bug - remove a bunch of extra ';'s to make -pedantic happy 2013-01-11 05:14:04 -05:00
Jim Mathies 1af6ce1ff7 Bug 750901 - Elm to mc migration work - metro related changes to Windows widget src to support building metro winrt bits (nsWidgetFactory, nsWindowGfx, nsToolkit, WinUtils). Also landing nsIWinMetroUtils.idl. r=bbondy 2012-11-02 06:54:44 -05:00
Bonnie Surender 4e40418e97 Fixing bug 715041. Add support for Idle API. r=bent, jst 2012-06-29 01:32:21 -07:00
Gervase Markham cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Masayuki Nakano 3e57e130c5 Bug 672175 part.1 Implement MouseScrollHandler for Windows r=jimm 2012-03-06 12:20:28 +09:00