Compare commits

...
Author SHA1 Message Date
wolfbeast 1626b5d704 Merge branch 'master' into Basilisk-release 2018-11-03 09:06:25 +01:00
wolfbeast 1d55939c7c Backport some upstream Skia patches.
Backport of:
https://skia.googlesource.com/skia/+/1e259cda4fb7f12e98dd611bd651f40ebef2d14a
https://skia.googlesource.com/skia/+/73be50da2a1fe8944f2623a511fda1957eed708a
2018-11-02 17:04:54 +01:00
wolfbeast cc234ff430 Add overflow checks for extending nsTArrays.
Surprisingly, this was previously not done.
Also, some of this code seems to be incorrect or,
at the very least, wasn't clear what it was trying to do.
2018-11-02 16:05:57 +01:00
wolfbeast 90a73cfe2a Ensure user input suppression works correctly even after document.open. 2018-11-02 12:14:40 +01:00
wolfbeast 030053f1a4 Backport some upstream Skia patches.
Backport of:
https://skia.googlesource.com/skia/+/c3d8a48f1b27370049aa512019cd726c59354743
https://skia.googlesource.com/skia/+/8051d38358293df1e5b8a1a513f8114147ec9fa3
2018-11-02 11:56:17 +01:00
wolfbeast f42d6c39fe Remove ancient workaround in client certificate code
Apparently a prehistoric server implementation would send a certificate_authorities field
that didn't include the outer DER SEQUENCE tag, so PSM attempted to detect this and
work around it.
This prehistoric server implementation isn't in use anywhere anymore, so this 18-yo
server bug workaround can be removed.
2018-11-02 11:39:21 +01:00
wolfbeast 617eb64830 Apply CheckedInt to infoLength for preventing it from overflowing in the future.
CheckedInt propagates the mIsValid in each add operation so that it avoids needing a bunch of code
for the overflow check in each add operation. Additionally, it avoids mismatching parameters
between the computing result and the additional overflow check.

This patch uses CheckedInt to take advantage of those implicit features of it.
2018-11-02 11:15:40 +01:00
wolfbeast 3b2c342f38 Make sure we remove our RefreshDriver observers in CompleteAsyncScroll.
Follow-up to fdbac09596
2018-11-02 10:47:05 +01:00
wolfbeast deba73b3bc Fix a longstanding IndexedDB correctness issue.
Standards Compliance fix, port of Bug 1492737
2018-11-02 10:32:53 +01:00
wolfbeast 09fec033ec Don't allocate PendingAction twice. 2018-11-02 08:33:16 +01:00
wolfbeast 9dc6bf850a WebRTC: Drop DataChannelListener on Destroy(). 2018-11-02 08:20:46 +01:00
wolfbeast 52b989d535 Make sure nsNSSCertList handling checks for valid certs. 2018-11-02 02:08:44 +01:00
wolfbeast 059397bdd2 Remove Query/Ref from the directory listing URI.
Port of Bug 1488061.
2018-11-01 22:14:07 +01:00
wolfbeast f62eee7c51 Bug 1460538 2018-11-01 20:35:06 +01:00
wolfbeast e8f913da98 Reorder boolean expression to take advantage of short-circuiting. 2018-11-01 20:16:49 +01:00
wolfbeast e0de8181d9 Protect main thread in-process access to WinCompositorWidget transparent surface. 2018-11-01 20:16:11 +01:00
wolfbeast 24a83a8136 Simplify SIMD conversion from Uint64 to Double. 2018-11-01 10:33:07 +01:00
wolfbeast a2a8c71d77 Make HTTP/2 compressor more resilient to bad data. 2018-11-01 07:31:23 +01:00
wolfbeast fdbac09596 Ensure that the scroll frame deregisters its refresh driver observers (mAsyncScroll & mAsyncSmoothMSDScroll) before it's destroyed.
Tag #345
2018-10-31 18:47:29 +01:00
wolfbeast 752311fd47 Origin for about: URL should not contain query or ref parts. 2018-10-31 18:32:00 +01:00
wolfbeast 1cfcf17a10 Don't mark MGetFirstDollarIndex as movable. 2018-10-31 17:30:52 +01:00
wolfbeast 2c045d9c55 Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2018-10-29 22:41:56 +01:00
wolfbeast 3332144211 Set CSS error console reporting default to false for performance.
Dev note needed upon release. This resolves #444.
2018-10-29 22:41:12 +01:00
Moonchild 5069a37597 Merge pull request #857 from JustOff/PR_BackgroundPageThumbs_remote
Use a separate process to generate thumbnails only when multi-process mode is enabled
2018-10-28 00:08:32 +02:00
JustOff 6bdbb9cdf6 Use a separate process to generate thumbnails only when multi-process mode is enabled 2018-10-27 21:35:56 +03:00
trav90 76825544ff Update HSTS preload list
Tag #447
2018-10-27 07:32:12 -05:00
Moonchild 4f59678acd Merge pull request #854 from g4jc/nsuserinfo
Issue #795 - Make nsIUserInfo component optional
2018-10-26 09:04:16 +02:00
Gaming4JC 6a2ff38f0f Issue #795 - Make nsIUserInfo component optional
This allows the nsIUserinfo component to be disabled with --disable-userinfo in mozconfig
at build time, but leaves it on by default to avoid any compatibility issues in existing
applications.
2018-10-25 18:12:58 -04:00
Moonchild f5b13e91d1 Merge pull request #852 from wicknix/master
Bug 1489785: Remove a workaround for gcc
2018-10-24 08:58:28 +02:00
wicknix 065f6f9e5e Bug 1489785: Remove a workaround for gcc
Introduced in bug 678607, that is no longer needed that causes hangs in modal dialogs on macOS 10.14
https://hg.mozilla.org/mozilla-central/rev/3920c858319d
2018-10-24 01:16:11 -05:00
wicknix 6db23ae65e Bug 1489785: Remove a workaround for gcc
Introduced in bug 678607, that is no longer needed and causes hangs in modal dialogs on macOS 10.14.
https://hg.mozilla.org/mozilla-central/rev/3920c858319d
2018-10-24 01:10:07 -05:00
Moonchild f71c04d814 Merge pull request #851 from MoonchildProductions/revert-796-nsuserinfo
Revert "Make nsIUserInfo component optional with --disable-userinfo at build time"
2018-10-24 06:41:20 +02:00
Moonchild afe69140a8 Revert "Make nsIUserInfo component optional with --disable-userinfo at build time" 2018-10-24 06:40:38 +02:00
Moonchild d07a4f2ba9 Merge pull request #845 from JustOff/PR_notifications_open_settings
Open about:permissions when notification settings are requested in Pale Moon
2018-10-24 06:02:42 +02:00
Moonchild f85840a053 Merge pull request #796 from g4jc/nsuserinfo
Make nsIUserInfo component optional with --disable-userinfo at build time
2018-10-24 06:02:10 +02:00
Moonchild d1a35c3fa6 Merge pull request #850 from trav90/add-av1-support
Add initial support for AV1 video.
2018-10-24 05:58:24 +02:00
Moonchild 81acc4099a Merge pull request #847 from g4jc/debugspam
Don't use NS_ENSURE_SUCCESS where it causes useless logspam.
2018-10-24 05:54:59 +02:00
Gaming4JC e4cc27a0e7 backport m-c bug 1333172 - Avoid 1100 warnings by replacing NS_ENSURE_SUCCESS in nsNetUtilInlines.h:180 2018-10-23 20:28:01 -04:00
Moonchild e4836ec73a Merge pull request #848 from adeshkp/search-btn-border
Show hidden left border of search button on about:newtab page
2018-10-23 22:30:01 +02:00
Moonchild 70c214344f Merge pull request #849 from adeshkp/basilisk-mac-build
Basilisk: Trivial fixes for Mac build
2018-10-23 22:28:52 +02:00
adeshkp d9c5e2b803 Basilisk: Trivial fixes for Mac build 2018-10-23 16:00:35 -04:00
adeshkp 1b50660404 Show hidden left border of search button on about:newtab page 2018-10-23 15:58:11 -04:00
trav90 192199b03f Revert "Add support for AV1 in MP4"
This commit was incomplete. Will re-land AV1 in MP4 support properly at a future date.

This reverts commit 29f718ef78.
2018-10-23 05:47:41 -05:00
wolfbeast b4e78255c0 Code style improvements (no bug). 2018-10-23 09:44:51 +02:00
wolfbeast 980b7e4da5 Improve graph edge resolution code.
This is a follow-up to ca7ecd37c9 further improving the DiD resolution for CVE-2018-12386.
2018-10-23 09:44:24 +02:00
Moonchild 1d3233c49d Merge pull request #844 from kn-yami/issue768
align Basilisk sidebar context menu behaviour with Pale Moon
2018-10-23 07:40:09 +02:00
Gaming4JC dbac7d6914 backport m-c bug 1333174 - Don't use NS_ENSURE_SUCCESS at nsIOService:793
Log spam fix. Suppresses 1,100 instances of NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80520012 emitted from netwerk/base/nsIOService.cpp during linux64 debug testing. Backports [m-c 1333174](https://bugzilla.mozilla.org/show_bug.cgi?id=1333174).
2018-10-22 21:32:16 -04:00
trav90 23013dda60 Ensure we correctly parse the finalized codec string for av1 2018-10-21 10:14:54 -05:00
trav90 29f718ef78 Add support for AV1 in MP4 2018-10-20 17:40:24 -05:00
wolfbeast 61a05da018 Fix reference to undefined property warnings in toolkit's browser.xml. 2018-10-21 00:05:05 +02:00
trav90 47a01617ea Use larger stack for media decoder threads
This increases the thread size for the platform decoder threads (to prevent stack overflows, particularly when decoding av1), while leaving the others at their default values.
2018-10-20 14:53:15 -05:00
trav90 070c2cb24c Downsample av1 images unconditionally
Adding partial support for 10/12-bit video images seems to have broken the native pixel-stride support we were using to pass 8-bit AV1 frame data formatted in 16-bit pixel values, resulting in vertical green lines.

Revert to the earlier behavior of always downsampling to 8 bit data. This is slower, but at least displays correctly.
2018-10-20 14:50:33 -05:00
trav90 e5b30fc95e Fix canPlayType/isTypeSupported for AV1 content 2018-10-20 14:49:17 -05:00
JustOff 4c488cb7f1 [PALEMOON] Open about:permissions when notification settings are requested 2018-10-20 21:41:07 +03:00
JustOff 0d7afa78f0 [PALEMOON] Add filter query to about:permissions 2018-10-20 21:40:07 +03:00
yami 50050aac0b align Basilisk sidebar context menu behaviour with Pale Moon 2018-10-20 19:37:35 +02:00
Moonchild a9fbfba2ad Merge pull request #843 from kn-yami/issue516
fix naming of getStartupChanges function
2018-10-20 18:39:34 +02:00
yami ca4b2c5023 fix naming of getStartupChanges function 2018-10-20 17:21:32 +02:00
Moonchild 38173d9e4a Merge pull request #839 from kn-yami/issue516
remove named function syntax in several TychoAM components
2018-10-20 16:05:41 +02:00
Moonchild 54deaf4437 Merge pull request #841 from JustOff/PR_css_grid_shrink_wrap
[css-grid] Don't shrink-wrap the inline size when we have an available size when measuring block size
2018-10-20 16:03:35 +02:00
JustOff 7110f93fb1 [css-grid] Reftests for 88671bcc36 2018-10-20 16:27:57 +03:00
JustOff 88671bcc36 [css-grid] Don't shrink-wrap the inline size when we have an available size when measuring block size 2018-10-20 16:25:28 +03:00
trav90 6ddf66542b Put AV1 codec behind a pref
Disabled by default.
2018-10-20 08:24:28 -05:00
Moonchild 714ccb6f88 Merge pull request #838 from FranklinDM/notification-work
Pale Moon: Remove message manager property from tabbrowser.xml
2018-10-20 15:19:21 +02:00
Franklin DM f91ab88b98 Remove superfluous message manager property 2018-10-20 14:44:45 +08:00
trav90 d2499ead93 Update libaom to commit ID 1e227d41f0616de9548a673a83a21ef990b62591 2018-10-19 23:05:03 -05:00
trav90 41fbdea457 Update libaom vendor scripts to account for upstream changes 2018-10-19 23:03:09 -05:00
trav90 ba5a1ea60f [aom] Only build stats code if examples are enabled 2018-10-19 23:01:02 -05:00
trav90 b8df135c97 Update libaom to rev b25610052a1398032320008d69b51d2da94f5928 2018-10-19 23:00:02 -05:00
trav90 a4d3c59dca [aom] No longer necessary to run lint_config.sh anymore
Upstream can now code generate the rtcd interface files directly from the aom_config.h header, so we no longer have to generate an intermediate file by running lint_config.sh. This also means we can remove the code for creating a temporary directory.
2018-10-19 22:58:05 -05:00
trav90 9469bc1961 Add missing : to libaom moz.build 2018-10-19 22:48:01 -05:00
trav90 ee1300453e Updates to AOMDecoder for aom v1.0.0
This reflects the API changes to the aom_codec_decode function and the removal of I440. It also sets allow_lowbitdepth to give proper support for 8 bit video, and removes the git version from the mime type.
2018-10-19 22:11:39 -05:00
trav90 4f63fc3bdd [aom] Fixup moz.build 2018-10-19 22:09:20 -05:00
trav90 ab5b4462a2 Do not build aomstats unless examples are enabled
The aomstats library is only used in the code examples, but we assume that all libraries should be linked into libxul, which leads to an unresolved external dependency on fatal at link time. This adds a guard to only build aomstats if we are building the examples.
2018-10-19 21:55:15 -05:00
trav90 bbcc647725 Update aom to v1.0.0
Update aom to commit id d14c5bb4f336ef1842046089849dee4a301fbbf0.
2018-10-19 21:52:20 -05:00
trav90 14805f6ddb Add support for SSE 4.2 to libaom moz.build 2018-10-19 05:31:30 -05:00
trav90 c410f04e88 Add aom_version.h 2018-10-19 05:30:35 -05:00
trav90 b425400e9a Update generate_sources_mozbuild.sh
This changes generate_sources_mozbuild.sh to call generate_sources_mozbuild.py to generate sources.mozbuild and config files and removes the parts of the script that are no longer necessary.
2018-10-19 05:29:27 -05:00
trav90 5c0c6c73aa Add generate_sources_mozbuild.py
This uses the cmakeparser to generate sources.mozbuild and the config files for each platform.
2018-10-19 05:27:28 -05:00
trav90 39e842a831 Add Python cmake parser
Unfortunately, upstream has removed the configure+make build system our import script relies on to generate code and moz.build files.
2018-10-19 05:26:15 -05:00
wolfbeast 56eb74dbed Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2018-10-19 09:16:25 +02:00
wolfbeast 8c3d0aaca0 Fix a test (#670) 2018-10-19 09:15:54 +02:00
trav90 125aff11b7 Fix aom compile errors with VS2015
Import BUG=aomedia:900
2018-10-18 21:56:49 -05:00
trav90 464c3130fc [av1] Fix build issues
This revision of libaom has some conflicts with our vendor script
and build system. A number of new .asm files have the same basename
as .c files, which our build system cannot handle.

To work around this, I manually renamed the conflicting
files in the filesystem and sources.mozbuild.

Also add av1_convolve_scale_sse4.c to sources.mozbuild manually.
This is needed by the build but for some reason isn't picked up
by generate_sources_mozbuild.sh.
2018-10-18 21:55:31 -05:00
trav90 ec910d8140 Update aom to commit id e87fb2378f01103d5d6e477a4ef6892dc714e614 2018-10-18 21:53:44 -05:00
trav90 01eb57073b [aom] Fix win32 debug build
Visual Studio 2015u3 fails to compile reconintra.c for win32
debug targets. It's confused by the #if conditional inside
the assert macro expansion.

The checks are obsolete upstream. Address the issue by
duplicating the assert calls for each branch of the
conditional.
2018-10-18 19:49:57 -05:00
trav90 0c98b71659 [aom] Don't resample 8-bit images
The libaom av1 decoder will return 16 bit per channel aom_image_t structures with only 8 significant bits.

Detect this case and use the mSkip fields of PlanarYCbCrImage to handle the extra data instead of allocating and performing an extra copy to obtain the necessary 8 bit representation.
2018-10-18 19:47:53 -05:00
trav90 4653be9609 [aom] Resample high bit depth frames
The libaom av1 decoder can return high bit depth frame data now. Handle those frames by downsampling them to 8 bits per channel so they can be passed to our normal playback pipeline.
2018-10-18 19:45:59 -05:00
trav90 e394e20493 [aom] Fix stream info peeking
Backport upstream patch by Sebastian Alaiwan fixing
aom_peek_stream_info after changes to the superblock
location.
2018-10-18 19:41:52 -05:00
trav90 21598d1bdd Export aom_config.h
Recent changes made this a public header, so it needs to be available to callers like AOMDecoder.
2018-10-18 19:39:57 -05:00
trav90 7369c7d7a5 Update aom to commit id f5bdeac22930ff4c6b219be49c843db35970b918 2018-10-18 06:04:57 -05:00
trav90 77887af9c4 [aom] Remove unused option 2018-10-17 23:00:43 -05:00
trav90 4121d75713 [aom] Filter out CONFIG_EXT_PARTITION_TYPES
aom_dsp_rtcd_defs.pl checks only whether this key is present in the config, not whether it is set to true or not. Our script sets CONFIG_FOO=no for disabled options, while the upstream build system omits them, resulting in extra symbol declarations the build will never define.

Work around this by stripping the offending disabled config key if it is disabled.
2018-10-17 22:59:33 -05:00
trav90 ecdaf7930e Make aom_config.asm match upstream 2018-10-17 22:58:23 -05:00
trav90 857b86f25c [aom] Add x86-win32-gcc config 2018-10-17 22:57:24 -05:00
trav90 afda5e384c [av1] Clean up duplicate filenames check 2018-10-17 22:56:27 -05:00
trav90 dddc2aa9ec Add missing includes to FFmpegLibWrapper 2018-10-17 22:49:24 -05:00
trav90 4b5e229567 Fix typo (build bustage) 2018-10-17 22:40:32 -05:00
Moonchild c423bdaf03 Merge pull request #837 from Ascrod/readerview
Reader Updates
2018-10-17 19:10:44 +02:00
Moonchild 46eab94c09 Merge pull request #836 from Ascrod/translation
Basilisk: Remove in-browser translation
2018-10-17 19:10:02 +02:00
trav90 df9477dfa6 Update aom to slightly newer commit ID 2018-10-17 05:59:08 -05:00
trav90 0cc51bc106 Add av1 to MediaSource.isTypeSupported
When av1 video playback is enabled, declare it as supported in the webm container in MediaSource.IsTypeSupported.

Also support special mime types of the form video/webm; codecs=vp9.experimental.<git-commit-id> so test sites can verify playback support of particular encodings while the av1 bitstream is under development.
2018-10-17 05:54:22 -05:00
trav90 1036d1fa0b Remove aom_codec_stream_info_t sz field references
Upstream has removed the requirement to set this when initializing the stream_info struct.
2018-10-17 05:46:09 -05:00
trav90 26dc168e35 Make AOMDecoder actually build 2018-10-15 22:47:27 -05:00
trav90 f452789509 [aom] Enable YASM 2018-10-15 22:12:59 -05:00
trav90 08619db141 [aom] Remove 32-bit Mac OS build config 2018-10-15 22:12:36 -05:00
trav90 e8480f8a78 Add aom to the list of thirdparty code 2018-10-15 22:12:11 -05:00
trav90 e5545e10a6 Add missing includes to WebMDemuxer 2018-10-15 22:11:48 -05:00
trav90 ee2cb65e24 Recognize AV1 in WebMDemuxer
Call AOMDecoder to handle AV1 video tracks from the WebM container. The new decoder is very similar to VPXDecoder so we can use parallel calls. This codec is still build-time conditional.
2018-10-15 22:11:24 -05:00
trav90 3e0443e4c1 Add AOMDecoder to AgnosticDecoderModule 2018-10-15 22:10:46 -05:00
trav90 9aea199da0 Add AOMDecoder
Port the VPXDecoder interface to libaom which uses the same api with the names changed.
2018-10-15 22:09:04 -05:00
trav90 99ed16064a Add --enable-av1 configure switch 2018-10-15 21:48:14 -05:00
trav90 a66e91651a Generate build description for libaom 2018-10-15 21:46:29 -05:00
trav90 68569dee14 Import aom library
This is the reference implementation for the Alliance for Open Media's av1 video code.

The commit used was 4d668d7feb1f8abd809d1bca0418570a7f142a36.
2018-10-15 21:45:30 -05:00
trav90 07c17b6b98 Port the libvpx mozbuild generator to aom
This is a port of the libvpx scripts, themselves a port of Chromium's scripts to generate an external build description using hooks in the upstream configure and make scripts. The libaom library is a fork of libvpx so we can use a similar approach.

The upstream source is located in $(topsrc_dir)/third_party/aom but the build description and any patches are under the media directory with the other codecs, similar to how zlib works. Config files and headers generated by the upstream build system are also under $(topsrc_dir)/media/libaom/.
2018-10-15 21:44:18 -05:00
Ascrod f696173b4a Update Readability from mozilla-central release branch (FF 62.0.3). Tag #361. 2018-10-15 13:52:23 -04:00
Ascrod f6db3fa904 Remove unused import from AboutReader module. Tag #361. 2018-10-15 13:51:49 -04:00
Gaming4JC 19b6f2d9b7 Issue #795 - Make nsIUserInfo component optional
This allows the nsIUserinfo component to be disabled with --disable-userinfo in mozconfig
at build time, but leaves it on by default to avoid any compatibility issues in existing
applications.
2018-10-12 23:17:14 -04:00
trav90 b927e0d5ca Update HSTS preload list
Tag #447
2018-10-12 21:07:35 -05:00
Ascrod 69afcc4f12 Issue #832 Part 3: Remove strings. 2018-10-11 23:35:58 -04:00
Ascrod 7dbe6a3b4c Issue #832 Part 2: Remove styling and images. 2018-10-11 23:35:46 -04:00
Ascrod 98bf922150 Issue #832 Part 1: Remove modules, chrome, and preferences. 2018-10-11 23:34:52 -04:00
Moonchild ea5b5766a9 Merge pull request #830 from trav90/media-work
Several WebM/VPX fixes
2018-10-10 06:37:08 +02:00
Moonchild 237f05bcdc Merge pull request #828 from g4jc/outlook_cve
Fix unwanted navigation from D&D of an Outlook mail message.
2018-10-10 06:36:11 +02:00
Gaming4JC 791e7540d3 backport m-c 1435319: CVE-2018-12381 - Dropping an Outlook email message into the browser window will trigger a page navigation when the message's mail columns are incorrectly interpreted as a URL. 2018-10-09 17:41:02 -04:00
Moonchild bea97848f4 Merge pull request #826 from MaxKoll/MaxKoll-patch-1
Fix in-tab close button behavior
2018-10-09 11:46:57 +02:00
Moonchild e0487e94c4 Merge pull request #827 from trav90/code-cleanup
[ffvpx] Remove support for 32-bit Mac
2018-10-09 11:42:56 +02:00
trav90 81c39ba876 [webm] Don't reject seeks with EOS
The MediaDecoderStateMachine treat seek's EOS as fatal errors, so instead we always resolve the seek promise, and let the next GetSample return EOS.
2018-10-08 21:44:23 -05:00
trav90 632b67483c [webm] Treat demuxing errors differently than EOS
Otherwise the WebM demuxer makes no difference between a genuine EOS and encountering an error.
2018-10-08 21:43:06 -05:00
trav90 3ec54eeacb Call VPXDecoder libvpx wrappers for WebM
Use the new helper functions instead of calling libvpx directly. This simplifies adding other codecs in the future.
2018-10-08 21:16:39 -05:00
trav90 55c6aa422d Implement keyframe and framesize VPXDecoder helpers
Encapsulate code from WebMDemuxer to query keyframe and frame resolution inside VPXDecoder, so we have a clean wrapper for all the libvpx functions we use.
2018-10-08 21:14:24 -05:00
trav90 2a00bf1262 Add Span support to MediaRawData 2018-10-08 21:11:58 -05:00
trav90 5a83ed9eba [vpx] Store VPXDecoder codec as an enum
Use the enum we already have here instead of converting to an int when we pass it around, giving us better type checking.
2018-10-08 21:10:31 -05:00
trav90 ae3cdb4be3 [webm] Store LastSeenFrame dimensions as an nsIntSize
This simplifies the comparison and update logic.
2018-10-08 21:05:52 -05:00
trav90 d95f7b60dc [ffvpx] Remove support for 32-bit Mac 2018-10-08 20:07:27 -05:00
MaxKoll 94757e275a Fix in-tab close button behavior
Fixes #775 (non-responsiveness when closing multiple tabs by rapidly clicking in-tab close buttons).
2018-10-08 14:29:20 +02:00
Moonchild 7ad419ece9 Merge pull request #825 from MaxKoll/revert-811-MaxKoll-patch-1
Revert "Fix in-tab close button behavior"
2018-10-08 14:23:04 +02:00
MaxKoll c602588f11 Revert "Fix in-tab close button behavior" 2018-10-08 14:01:46 +02:00
Moonchild 09987b0bad Merge pull request #824 from MoonchildProductions/revert-822-code-cleanup
Revert "[ffvpx] Remove support for 32-bit Mac"
2018-10-08 13:40:07 +02:00
Moonchild 9847f1f640 Revert "[ffvpx] Remove support for 32-bit Mac" 2018-10-08 13:39:38 +02:00
wolfbeast 6efff99edb Expose browser.download.lastDir.savePerSite
Resolves #823 (alternative suggestion)
2018-10-08 08:47:45 +02:00
wolfbeast 8a63a2f417 Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2018-10-08 08:17:47 +02:00
wolfbeast 24fb2aaa35 Bump Goanna/platform version for layout changes. 2018-10-08 08:17:28 +02:00
Moonchild a844a9b08c Merge pull request #814 from Ascrod/nsis-cleanup
Clean up NSIS installer code
2018-10-08 08:15:41 +02:00
Moonchild 7e96154b87 Merge pull request #818 from trav90/mfbt-work
Add mozilla::Span
2018-10-08 08:15:08 +02:00
Moonchild 0357bf9fb6 Merge pull request #822 from trav90/code-cleanup
[ffvpx] Remove support for 32-bit Mac
2018-10-08 08:11:05 +02:00
trav90 2e3eb22a85 [ffvpx] Remove support for 32-bit Mac 2018-10-07 15:11:09 -05:00
wolfbeast 26ec82f16d Use device pixels instead of CSS pixels for table borders.
This resolves #821 (regression).
2018-10-07 20:35:37 +02:00
wolfbeast 6e48f5e140 Make caret width normal/thick behind CJK char configurable.
Fixes #820 (regression).
2018-10-07 19:46:00 +02:00
trav90 a08ef72265 Fix Span.h constexprs for VS2017 2018-10-06 17:33:48 -05:00
trav90 c2fa384d66 Add mozilla::Span 2018-10-06 17:29:50 -05:00
Ascrod 312b0e42cf Basilisk Installer: Remove unused stub defines and strings. 2018-10-06 18:24:41 -04:00
Ascrod 5e95483716 Pale Moon Installer: Remove unused stub defines and strings. 2018-10-06 18:19:27 -04:00
Moonchild 323cb98de1 Merge pull request #813 from JustOff/PR_SessionStorage_principal_origin
[BASILISK] Protect against nsIPrincipal.origin throwing for about:blank iframes and custom protocol urls
2018-10-06 19:34:45 +02:00
Ascrod 727ed27f08 Basilisk Installer: Update Windows ARP URLs. 2018-10-06 12:55:04 -04:00
Ascrod b3b06d0ffd Pale Moon Installer: Update Windows ARP URLs. 2018-10-06 12:54:04 -04:00
wolfbeast 866ea8dfa5 Set the default action to not lock content scrolling when a menu is open.
This resolves issues with the bookmarks and other menus with submenus if scrollable in case of many items displayed.
2018-10-06 17:46:21 +02:00
JustOff 0c3479b8ba [BASILISK] Protect against nsIPrincipal.origin throwing for about:blank iframes and custom protocols 2018-10-06 15:05:00 +03:00
Moonchild 8860eddcee Merge pull request #811 from MaxKoll/MaxKoll-patch-1
Fix in-tab close button behavior
2018-10-04 22:52:31 +02:00
MaxKoll d745193724 Fix in-tab close button behavior (#775)
- Fixes #775.
- Coincidentally also fixes a regression that prevented opening new tabs via double click on an empty space in the tab bar.
2018-10-04 22:36:30 +02:00
wolfbeast 95379e3377 Ensure we got an nsISSLStatus when deserializing in TransportSecurityInfo. 2018-10-04 22:24:52 +02:00
yami 6667a10d38 make style of amInstallTrigger.js more consistent 2018-10-04 22:19:55 +02:00
yami dd574ec7b2 remove named function syntax in LightweightThemeManager.jsm 2018-10-04 22:13:50 +02:00
yami d218160bfd remove named function syntax in amWebInstallListener.js 2018-10-04 22:09:09 +02:00
yami 06086f82f7 remove named function syntax in AddonManager.jsm 2018-10-04 22:05:58 +02:00
wolfbeast ca7ecd37c9 Bug 1493900.
DiD fix.
2018-10-04 22:04:26 +02:00
yami 0d97c6ada5 remove named function syntax in addonManager.js 2018-10-04 21:34:23 +02:00
wolfbeast e42166a5ba Make all arguments to init*Event() optional except the first
This resolves #810.
2018-10-04 21:07:48 +02:00
Moonchild 26975ccf56 Merge pull request #808 from trav90/media-work
[ffmpeg] Always allocate memory to pass extradata
2018-10-02 09:39:56 +02:00
trav90 c0d9931cff [ffmpeg] Always allocate memory to pass extradata
Despite wording of the documentation to the contrary, we can't provide a static pointer to an immutable object.
2018-10-01 20:51:17 -05:00
Moonchild 69d83c8fbe Merge pull request #806 from trav90/ffvpx-resync
Update ffvpx code to 4.0.2 (take 2)
2018-10-02 00:21:32 +02:00
trav90 41ccd52bfd Clobber for ffvpx update 2018-10-01 10:29:37 -05:00
trav90 82238ada25 [ffvpx] Remove unneeded libavcodec symbols and dummy functions
Fixes linkage errors on Windows.
2018-10-01 10:29:13 -05:00
trav90 ebc8d7e3ca [ffvpx] Update ffvp9/ffvp8 to release 4.0.2 2018-10-01 10:27:24 -05:00
Moonchild 8e8fcee4a5 Merge pull request #805 from MoonchildProductions/revert-801-update-from-upstream
Revert "Update ffvpx code to 4.0.2"
2018-10-01 15:25:44 +02:00
Moonchild 45c24f05d0 Revert "Update ffvpx code to 4.0.2" 2018-10-01 15:25:04 +02:00
Moonchild 79b00fc33b Merge pull request #801 from trav90/update-from-upstream
Update ffvpx code to 4.0.2
2018-10-01 14:34:26 +02:00
Moonchild ab881a3bf5 Merge pull request #804 from JustOff/PR_s4e_FullScreenVideo
[PALEMOON] Use message manager to detect full-screen HTML5 video in S4E module
2018-10-01 14:34:08 +02:00
JustOff 35a1adb076 [PALEMOON] Use message manager to detect full-screen HTML5 video in S4E module 2018-10-01 15:02:11 +03:00
wolfbeast 38e8ee1e6d Remove telemetry reporting functions from CubebUtils
Tag #21.
2018-10-01 13:23:56 +02:00
wolfbeast ec4c6dd42a Remove telemetry from cache v1 service locking (part2).
- Fold Lock(TelemetryID) into Lock();
- Fold nsCacheServiceAutoLock(TelemetryID) into nsCacheServiceAutoLock();

Tag #21.
2018-10-01 11:31:29 +02:00
wolfbeast d718e32b52 Remove telemetry from cache v1 service locking (part1).
Tag #21.
2018-10-01 11:01:01 +02:00
wolfbeast 7b0f3f2f92 Remove unused telemetry functions/variables.
Tag #21.
2018-10-01 11:00:05 +02:00
trav90 7d1ee0e5e4 Clobber for ffvpx update 2018-09-30 11:44:46 -05:00
trav90 edc124b92b [ffvpx] Update ffvp9/ffvp8 to release 4.0.2 2018-09-30 10:40:30 -05:00
wolfbeast 8ba6dd1bd1 Remove cache I/O telemetry.
Tag #21.
2018-09-30 06:56:29 +02:00
wolfbeast ab9edfb54b Remove telemetry probes to get detailed disk cache hit rate.
Tag #21.
2018-09-30 04:39:37 +02:00
wolfbeast 3343a4b474 Remove telemetry probes for cache file system. 2018-09-29 23:55:49 +02:00
wolfbeast 81b341a9b3 Clean up a number of unused variables.
Tag #21.
2018-09-29 23:20:36 +02:00
wolfbeast ddf29811b2 Update telemetry whitelists.
Tag #21.
2018-09-29 23:07:12 +02:00
wolfbeast 6d9103276b Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2018-09-29 22:56:37 +02:00
wolfbeast 0b16007427 Remove telemetry to find optimal cache entry hash size
Tag #21.
2018-09-29 22:56:15 +02:00
Moonchild c7e12ca399 Merge pull request #800 from trav90/update-from-upstream
Update libnestegg from upstream
2018-09-29 21:44:57 +02:00
trav90 704c935398 Update test files for libnestegg update 2018-09-29 10:06:58 -05:00
trav90 778b3c4d7e Update HSTS preload list
Tag #447
2018-09-29 08:37:22 -05:00
wolfbeast 347aea437f Get rid of the incorrect mechanism to remove insecure fallback hosts.
This fixes #797.
2018-09-29 10:09:13 +02:00
trav90 dad1c31db8 Update libnestegg from upstream 2018-09-28 22:59:06 -05:00
trav90 d8434bf156 Update upstream URL and update script for libnestegg 2018-09-28 22:55:06 -05:00
wolfbeast 77af3f1766 Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2018-09-29 00:50:24 +02:00
wolfbeast 57a7d3e35b Rename address bar back to location bar
Tag Issue #765
2018-09-29 00:50:08 +02:00
Matt A. Tobin 9fe00e826d Only opt-in to esr52 search service for select applications 2018-09-28 18:47:30 -04:00
wolfbeast 097f982b32 Remove IndexedDB for content pref.
Tag Issue #765
2018-09-29 00:16:29 +02:00
wolfbeast bb68f6a437 Update permissions manager strings.
Tag Issue #765
2018-09-28 23:59:19 +02:00
wolfbeast f6d46e3212 Rename "Cookies" to "Cookies and Site Data" in preferences where applicable.
Tag Issue #765
2018-09-28 23:02:21 +02:00
wolfbeast 314fb761d1 Merge branch 'master' into Basilisk-release 2018-09-27 09:07:52 +02:00
wolfbeast fbaab39c94 Merge branch 'master' into Basilisk-release 2018-09-27 09:05:25 +02:00
Matt A. Tobin 2b9e0ca0bb Add a conditional to not build the platform so the build system can be exploited for non-binary projects 2018-09-27 02:08:07 -04:00
Moonchild b92dbaf6a1 Merge pull request #791 from g4jc/session_supercookie
Issue #792 - backport mozbug 1334776 - CVE-2017-7797 Header name interning leaks across origins
2018-09-27 00:59:51 +02:00
Moonchild 6387540894 Merge pull request #789 from g4jc/sha256_leakfix
backport mozbug 1444532 - fix a leak in SHA256 in nsHttpConnectionInfo.cpp r=mayhemer
2018-09-27 00:54:34 +02:00
Gaming4JC 475a210a33 backport mozbug 1444532 - fix a leak in SHA256 in nsHttpConnectionInfo.cpp r=mayhemer
The original code (from bug 1200802) declared an XPCOM object as a static bare pointer,
which for future reference is probably never the right thing to do. It might have worked if
it was cleared before shutdown but it never was.
2018-09-26 18:29:45 -04:00
Matt A. Tobin a549e0c4a3 Build nsJSInspector regardless of devtools 2018-09-26 17:49:21 -04:00
Moonchild 6297b563de Merge pull request #790 from g4jc/nsSOCKSIOLayer_nullptr
backport mozbug 1344613 - Avoid possibility of null pointer crash in nsSOCKSIOLayer.cpp r=mayhemer
2018-09-26 14:01:50 +02:00
Moonchild 326611aaae Merge pull request #788 from alaviss/apz-experimental
gfx: add pref for enabling APZ without e10s
2018-09-26 13:55:38 +02:00
Gaming4JC c5c9445e3a backport mozbug 1334776 - CVE-2017-7797 Header name interning leaks across origins
Potential attack: session supercookie.

[Moz Notes](https://bugzilla.mozilla.org/show_bug.cgi?id=1334776#c5):
"The problem is that for unknown header names we store the first one we see and then later we case-insensitively match against that name *globally*. That means you can track if a user agent has already seen a certain header name used (by using a different casing and observing whether it gets normalized). This would allow you to see if a user has used a sensitive service that uses custom header names, or allows you to track a user across sites, by teaching the browser about a certain header case once and then observing if different casings get normalized to that.

What we should do instead is only store the casing for a header name for each header list and not globally. That way it only leaks where it's expected (and necessary) to leak."

[Moz fix note](https://bugzilla.mozilla.org/show_bug.cgi?id=1334776#c8):
"nsHttpAtom now holds the old nsHttpAtom and a string that is case sensitive (only for not standard headers).
So nsHttpAtom holds a pointer to a header name. (header names are store on a static structure). This is how it used to be. I left that part the same but added a nsCString which holds a string that was used to resoled the header name. So when we parse headers we call ResolveHeader with a char*. If it is a new header name the char* will be stored in a HttpHeapAtom, nsHttpAtom::_val will point to HttpHeapAtom::value and the same strings will be stored in mLocalCaseSensitiveHeader. For the first resolve request they will be the same but for the following maybe not. At the end this nsHttpAtom will be stored in nsHttpHeaderArray. For all operation we will used the old char* except when we are returning it to a script using VisitHeaders."
2018-09-25 23:03:28 -04:00
Gaming4JC 5715a00c8c backport mozbug 1344613 - Avoid possibility of null pointer crash in nsSOCKSIOLayer.cpp r=mayhemer 2018-09-25 22:53:09 -04:00
wolfbeast e3508f55be Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2018-09-25 20:44:26 +02:00
wolfbeast 575f07db09 Regression fix: enable ICC v4 profiles by default. 2018-09-25 20:44:04 +02:00
Leorize 1c159bf4dc gfx: add pref for enabling APZ without e10s 2018-09-25 14:55:50 +07:00
Moonchild 8d3931df24 Merge pull request #786 from JustOff/PR_auth_dialog_overflow
Remove window.sizeToContent() from commonDialog.js, as it's useless and leads to overflow in the basic auth dialog
2018-09-24 09:29:11 +02:00
JustOff 43c4091450 Remove window.sizeToContent() from commonDialog.js, as it's useless and leads to overflow in the basic auth dialog 2018-09-23 17:30:43 +03:00
Matt A. Tobin 454110c781 Remove code that prevents binary extensions 2018-09-23 05:14:23 -04:00
Matt A. Tobin 29512806a7 Update list of IDs to never send to AUS in AddonUpdateChecker.jsm 2018-09-23 04:33:22 -04:00
wolfbeast bb81b20763 Use SSM's createCodebasePrincipalFromOrigin() instead of the nonexistent BrowserUtils.principalFromOrigin()
This resolves #734.
2018-09-22 13:37:52 +02:00
Moonchild 3c04affe20 Merge pull request #782 from trav90/class-memaccess-errors
Fix more -Wclass-memaccess warnings (part 3)
2018-09-21 10:33:54 +02:00
Moonchild 07a50b5c52 Merge pull request #781 from JustOff/PR_fileExecutableSecurityWarning
[PALEMOON] Restore strings mistakenly removed from downloads.properties
2018-09-20 21:12:58 +02:00
JustOff 922c13081f [PALEMOON] Restore strings mistakenly removed by [8be0c16be6] 2018-09-20 20:30:24 +03:00
trav90 3b362e9ded Rename TypeSet::clone to TypeSet::cloneIntoUninitialized to indicate that it freshly initializes the TemporaryTypeSet* provided to it.
Also removes existing code that, quite unnecessarily, partly initialized that argument.
2018-09-19 20:31:28 -05:00
trav90 a0737572d4 Don't use PodCopy/PodMove to implement typed-array element-to-element copying
Standard std::copy and std::copy_n are readily optimized to the same thing, and they don't have a non-obvious requirement that the type being copied be trivial.
2018-09-19 19:05:22 -05:00
trav90 33cd07bcee Give uint8_clamped a defaulted (and also trivial) default constructor, copy constructor, and copy-assignment operator.
This also allows uint8_clamped to be permissibly memmove'd and memcpy'd.
2018-09-19 18:59:49 -05:00
Moonchild 4f89ce5af9 Merge pull request #778 from MihailZenkov/master
Fix timer overflow on converting from sec to msec in idleService
2018-09-20 00:37:18 +02:00
Mihail Zenkov 7214d60a12 Fix timer overflow on converting from sec to msec in idleService 2018-09-20 00:13:34 +03:00
wolfbeast 4b90811978 Add a null check in nsHttpTransaction::Close.
This resolves #776.
2018-09-19 15:45:27 +02:00
wolfbeast abb2a2a1d4 Merge branch 'worker-fix' 2018-09-18 16:31:30 +02:00
wolfbeast 89f2f76274 Rewrite the Code of Conduct document.
This is a rewrite of the document by Moonchild. Although the rough layout of the previous document is maintained, it is a significantly expanded and rewritten version no longer related to the contributor-covenant version that was initially used.
2018-09-18 12:02:47 +02:00
JustOff ab47a3a9a6 Use SessionStore.promiseInitialized() to avoid race condition in "about:home" (#774)
* Use SessionStore.promiseInitialized() to avoid race condition in "about:home"

* Improve code style of [d6c3adb91c9f29786f8ed8d93baa14c076494017]
2018-09-17 23:13:21 +02:00
wolfbeast 5bcd1cc228 New cycle version bump. 2018-09-17 09:57:01 +02:00
Moonchild d118d486a6 Merge pull request #770 from JustOff/PR_bgtab_notify
Skip notifications for background tabs when restoring a session in Pale Moon and Basilisk
2018-09-17 01:22:55 +02:00
JustOff c5ea5076e8 [BASILISK] Skip notifications for background tabs when restoring a session 2018-09-16 19:47:19 +03:00
JustOff 465c0a5646 [PALEMOON] Skip notifications for background tabs when restoring a session 2018-09-16 19:46:33 +03:00
Moonchild 08dd8ff760 Merge pull request #767 from trav90/class-memaccess-errors
Fix more -Wclass-memaccess warnings (part 2)
2018-09-16 12:01:55 +02:00
wolfbeast 0384dc34be Send worker-runnables destined for the main thread actually to the main thread.
A case of "one queue too many" here. Instead of worker runnables being sent to the main thread
where they are supposed to run, they are put in a task queue per-worker. This is devastating
for performance if many workers are running.
2018-09-16 11:43:06 +02:00
wolfbeast b2cbc7b654 Stop using the worker MainThreadTaskQueue from dom/fetch. 2018-09-16 10:32:01 +02:00
wolfbeast ad30b92651 Stop using the MainThreadTaskQueue from service workers. 2018-09-16 10:22:11 +02:00
wolfbeast 351ffa462d Fix wrong SVG sizes with non-integer values for viewBox width/height.
Includes a standalone reftest.
2018-09-14 20:54:19 +02:00
trav90 0712ac7f81 Don't memset-zero the BacktrackingAllocator::vregs array of non-trivial VirtualRegister instances 2018-09-12 19:19:12 -05:00
trav90 d902382d8a Call memset on a void*, not a T*, in js_delete_poison to avoid memset-on-nontrivial warnings with gcc that don't matter for an object whose lifetime is about to end 2018-09-12 19:09:07 -05:00
trav90 8bac8c27fa Initialize some asm.js structures using in-class initializers instead of PodZero 2018-09-12 19:07:57 -05:00
trav90 847f12e88f Stop using PodZero in several places to initialize values of non-trivial type 2018-09-12 05:41:41 -05:00
wolfbeast 2fce053e98 Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2018-09-12 07:42:48 +02:00
wolfbeast 2bbbcfc49d Fix clang build bustage.
Follow-up to 9830cd079d
2018-09-12 07:42:09 +02:00
wolfbeast 9f091cf110 Flush some more buildlog output to screen when prudent. 2018-09-12 07:35:53 +02:00
trav90 2f64d5eeec Update HSTS preload list
Tag #447
2018-09-11 17:30:37 -05:00
wolfbeast b07b08f9db Merge branch 'fbgw' 2018-09-11 20:10:59 +02:00
wolfbeast 2713347f0e Merge branch 'ported-upstream' 2018-09-11 20:10:43 +02:00
wolfbeast d086e918b4 Bug 1466991 - Part 2: Reparent nodes when they start being in the XBL scope. 2018-09-11 16:55:24 +02:00
wolfbeast a6d4e65dbf Bug 1466991 - Part 1: Factor out ShouldUseXBLScope. 2018-09-11 15:33:44 +02:00
wolfbeast 9830cd079d Bug 1472925 - Keep a strong reference to MediaStreamGraph from GraphDriver. 2018-09-11 14:48:21 +02:00
wolfbeast a95078a6c6 Bug 1469309 - Remove an unused sensor type. 2018-09-11 14:24:50 +02:00
wolfbeast 6195a2f1e2 Fix build bustage in cbfef7fcdb
- imageDetails.format() needs a cast to SurfaceFormat
- style nit: wrap long lines.
2018-09-11 13:53:06 +02:00
wolfbeast 09319b435f Release mapped surface memory on size check failure to plug a leak. 2018-09-11 12:48:40 +02:00
wolfbeast cbfef7fcdb Move surface data checking to a separate function to make it less "totally nuts" 2018-09-11 12:47:26 +02:00
wolfbeast 6ded94d38c Bug 1467363 - Protect access to mTransparentSurface with a lock. 2018-09-11 11:55:16 +02:00
wolfbeast 1de1ce5770 Bug 1478575 - Unify CamerasChild shutdown paths. 2018-09-11 10:24:52 +02:00
wolfbeast 1bf4a513c8 Remove some unnecessary dependencies from HAL. 2018-09-11 10:18:19 +02:00
wolfbeast e05705fe54 Replace the custom logic in ObserverList with an nsTObserverArray which has all the necessary logic for stable iteration over a potentially changing list of items. 2018-09-11 10:17:37 +02:00
wolfbeast ea86809071 Bug 1473113 - Defer initializing the MAR index until it's needed. 2018-09-11 09:09:21 +02:00
wolfbeast ca36e991ea Cherry-pick libvpx upstream 52add5896661d186dec284ed646a4b33b607d2c7. 2018-09-11 09:02:18 +02:00
wolfbeast 7565513554 Merge branch 'master' into ported-upstream 2018-09-10 23:43:57 +02:00
Moonchild 7bf3d2440e Merge pull request #754 from trav90/class-memaccess-errors
Fix more -Wclass-memaccess warnings (GCC8)
2018-09-10 23:42:44 +02:00
wolfbeast 69b88dfccc Bug 1470260 - Part 2: Make RefreshDriverTimer ref-counted and hold a strong ref on it on the stack when nsRefreshDriver::Tick can be reached. 2018-09-10 22:22:16 +02:00
wolfbeast 4c1f33b169 Bug 1470260 - Part 1: Ensure that 'this' stays alive for the duration of the TickRefreshDriver call. 2018-09-10 22:12:07 +02:00
Ketmar Dark 2e9c525a91 fix mozilla regression in search service (saving user-defined search engines)
this restores some API that is used by search engine management extensions, and
  tells "browser-search-engine-modified"/"engine-changed" signal to save user-defined
  search engines to "%PROFILE%/searchplugins", as it did in Good Old Times.
2018-09-10 18:37:04 +02:00
wolfbeast 7c9b62ee0a Add findbar.termPerTab
Allow the pref to switch between global search term and per-tab search term
2018-09-09 15:41:15 +02:00
wolfbeast a744d76655 Ensure the findbar target content browser follows the active tab. 2018-09-09 10:26:49 +02:00
wolfbeast 1c455d9cb0 Revert "Minimal easy fix -- move findbar getters to tabbrowser."
This reverts commit fb291846a5.
2018-09-09 08:26:13 +02:00
wolfbeast aa9cd0d77d Revert "Transfer findbar data to torn-off tabs."
This reverts commit 333142b5af.
2018-09-09 08:25:50 +02:00
wolfbeast b1a98da753 Revert "[PALEMOON] Findbar - remove unnecessary code (Findbar is no longer in the gBrowser)"
This reverts commit 38f30cdf75.
2018-09-09 08:24:54 +02:00
wolfbeast 95835c0acc Revert "[PALEMOON] Findbar - added the listener also to tabbrowser.xml, remove "_fastFind", a better focus() for the method "updateCurrentBrowser""
This reverts commit 63b10a9b4f.
2018-09-09 08:24:37 +02:00
wolfbeast d9f762df86 Revert "Add tabbrowser findbar styling"
This reverts commit c96d9e5bdd.
2018-09-09 08:23:45 +02:00
wolfbeast 9900def526 Revert "Add tabbrowser findbar styling for Linux and OSX"
This reverts commit e4b01ba844.
2018-09-09 08:23:21 +02:00
Moonchild eb2016063a Merge pull request #758 from trav90/buildsystem-work
Silence the -Wuninitialized warning in mozjemalloc
2018-09-08 18:12:00 +02:00
trav90 41b6745059 Silence the -Wuninitialized warning in mozjemalloc
GCC 7+ warns about too many false positives.
2018-09-08 10:00:10 -05:00
Moonchild a90b6fe53b Merge pull request #755 from g4jc/debugspam
backport mozbug 1350090: Turn off the spammy warning that goes off every time we create an about:blank content viewer; r=mystor
2018-09-08 15:42:46 +02:00
Moonchild 347e6ac31e Merge pull request #757 from trav90/buildsystem-work
RTCCertificate.cpp: output truncated before the last format character
2018-09-08 15:42:16 +02:00
trav90 cb71415364 RTCCertificate.cpp: output truncated before the last format character
Fixes compiler warnings when building with GCC 7+
2018-09-07 22:48:31 -05:00
Gaming4JC 22bb99a322 backport mozbug 1350090: Turn off the spammy warning that goes off every time we create an about:blank content viewer; r=mystor
During a debug session, log spam appears because we are trying to get the origin out of a principal for about:blank, which will throw, which is expected.
2018-09-07 20:31:48 -04:00
Moonchild b728af0225 Merge pull request #753 from trav90/buildsystem-work
[GCC] Add -Wno-noexcept-type to the js build flags
2018-09-07 14:39:36 +02:00
trav90 346ba48dd9 [GCC] Add -Wno-noexcept-type to the js build flags 2018-09-06 22:28:08 -05:00
wolfbeast d31ab5ff44 Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2018-09-07 02:41:04 +02:00
wolfbeast 871530bfe3 Bump goanna version for SVG handling update 2018-09-07 02:40:30 +02:00
Moonchild 6c4be62592 Merge pull request #747 from JustOff/PR_NewtabUrl
Update 'browser.newtab.url' when it's used for new tabs and 'browser.startup.homepage' changes
2018-09-05 19:27:56 +02:00
wolfbeast ddaf09fa2c Merge branch 'Bug_1357432'
Empty code commit (meta only)
Code changes in ae432c6367
2018-09-05 11:23:01 +02:00
wolfbeast bbdd1c9318 Write out serialized search engine files when rebuilding cache.
This makes sure that any in-browser edits of search engines (searchplugins) are made permanent on disk.
Ref: https://forum.palemoon.org/viewtopic.php?f=13&t=20296 (Ketmar)
2018-09-05 11:21:12 +02:00
Moonchild ae432c6367 Bug 1357432 (#750)
* Part 1. Move IsLocalRefURL to nsContentUtils to reuse this function. (port-rewrite)

`IsLocalRefURL` is originally designed to be used by URLValue only.
Since we need this function in SVGUseElement::LookupHref too, move it to nsContentUtils as a util function.

* Revert "Part 1. Move IsLocalRefURL to nsContentUtils to reuse this function. (port-rewrite)"

This reverts commit 19f010c620.

* Part 1. Duplicate IsLocalRefURL to nsContentUtils to reuse this function.

`IsLocalRefURL` is originally designed to be used by URLValue only.
Since we need this function in SVGUseElement::LookupHref too, duplicate it to nsContentUtils as a util function.
This is a duplication because CSSValue uses stringbuffers and not nsStrings.
While Bug 1356060 - "Just use nsString in URLValueData" converts this use from stringbuffer to nsString, it builds on a bunch of vartype refactoring (nsString vs. nsAString, etc.) which is too much of a headache to deal with just to deduplicate this simple function.

* Part 2. Implement nsSVGEffects::GetBaseURLForLocalRef to export local-ref-url-resolving logic.

ResolveURLUsingLocalRef is designed to be internally used by nsSVGEffects::Get-{SVGEffect}-URI functions.
Since we also need it in SVGUseElement::LookupHref, make it public in nsSVGEffects.

* Part 3. Resolve local-ref in SVGUseElement::LookupHref by nsSVGEffects::GetBaseURLForLocalRef.

* Part 4. Reftest for using local-ref as xlink:href value.
2018-09-05 03:20:16 +02:00
wolfbeast 6a7071fdea Part 4. Reftest for using local-ref as xlink:href value. 2018-09-05 02:00:48 +02:00
wolfbeast 246edb5332 Part 3. Resolve local-ref in SVGUseElement::LookupHref by nsSVGEffects::GetBaseURLForLocalRef. 2018-09-05 01:47:58 +02:00
wolfbeast d314fcbcc8 Part 2. Implement nsSVGEffects::GetBaseURLForLocalRef to export local-ref-url-resolving logic.
ResolveURLUsingLocalRef is designed to be internally used by nsSVGEffects::Get-{SVGEffect}-URI functions.
Since we also need it in SVGUseElement::LookupHref, make it public in nsSVGEffects.
2018-09-05 01:44:01 +02:00
wolfbeast 580084e9e1 Merge branch 'master' into Basilisk-release 2018-09-04 20:53:31 +02:00
wolfbeast 32464a0b97 Part 1. Duplicate IsLocalRefURL to nsContentUtils to reuse this function.
`IsLocalRefURL` is originally designed to be used by URLValue only.
Since we need this function in SVGUseElement::LookupHref too, duplicate it to nsContentUtils as a util function.
This is a duplication because CSSValue uses stringbuffers and not nsStrings.
While Bug 1356060 - "Just use nsString in URLValueData" converts this use from stringbuffer to nsString, it builds on a bunch of vartype refactoring (nsString vs. nsAString, etc.) which is too much of a headache to deal with just to deduplicate this simple function.
2018-09-04 19:37:48 +02:00
wolfbeast b43a1afcd3 Revert "Part 1. Move IsLocalRefURL to nsContentUtils to reuse this function. (port-rewrite)"
This reverts commit 19f010c620.
2018-09-04 17:59:40 +02:00
wolfbeast 19f010c620 Part 1. Move IsLocalRefURL to nsContentUtils to reuse this function. (port-rewrite)
`IsLocalRefURL` is originally designed to be used by URLValue only.
Since we need this function in SVGUseElement::LookupHref too, move it to nsContentUtils as a util function.
2018-09-04 17:55:18 +02:00
wolfbeast b28ab55f96 Remove all C++ telemetry autotimers
Tag #21
2018-09-04 10:07:40 +02:00
wolfbeast 93cae908bc Remove all C++ telemetry autotimers 2018-09-04 09:41:24 +02:00
wolfbeast 45ec2bceb4 Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2018-09-04 07:41:14 +02:00
wolfbeast 7d73b3fbfe Add extra check for assembler buffer space. 2018-09-04 07:40:42 +02:00
JustOff fa764a68de Use the default value from 'browser.startup.homepage' instead of the hardcoded 'http://start.palemoon.org/' 2018-09-03 23:27:30 +03:00
JustOff 5359706e7a Update 'browser.newtab.url' when it's used for new tabs and 'browser.startup.homepage' changes 2018-09-03 21:15:53 +03:00
Moonchild 2e00eb87ef Merge pull request #745 from MoonchildProductions/Kill-Telemetry
Remove all C++ Telemetry Accumulation calls.
2018-09-03 18:26:19 +02:00
wolfbeast ab961aeb54 Remove all C++ Telemetry Accumulation calls.
This creates a number of stubs and leaves some surrounding code that may be irrelevant (eg. recorded time stamps, status variables).
Stub resolution/removal should be a follow-up to this.
2018-09-03 10:11:38 +02:00
trav90 47c5bba17a Fix build bustage 2018-09-02 21:01:45 -05:00
trav90 36cb80d1ca Call the relevant scope-data constructor when allocating it, and poison/mark as undefined the memory for the trailing array of BindingNames, ratther than impermissibly PodZero-ing non-trivial classes. 2018-09-02 20:07:47 -05:00
trav90 b4aed63f57 Convert the trailing array of BindingNames at the end of the various kinds of scope data into raw unsigned chars into which those BindingNames are placement-new'd, rather than memcpy-ing non-trivial classes around and failing to comply with the C++ object model 2018-09-02 18:45:56 -05:00
trav90 d79c475021 Make nsScannerIterator a trivial type in order to use memset 2018-09-02 16:45:29 -05:00
trav90 45f9a0daad [ffvpx] Update readme
- Remove non-applicable comment about AVX2.
- Update config documentation for 32-bit darwin.
2018-09-02 10:10:29 -05:00
wolfbeast 2781afdf95 Remove FxA migrator.
This resolves #637
2018-09-02 11:37:51 +02:00
wolfbeast 35f68645a3 [PALEMOON] Update the taskbar preview per tab module for UXP.
- Use placesutils for favicons
- Switch to the PageThumbs service for thumbnails (like QuickDial)
- Make thumb requests asynchronous
- Update canvas handling

This resolves #731
2018-09-02 09:09:45 +02:00
wolfbeast 1425f020c4 Remove support for TLS session caches in TLSServerSocket.
This resolves #738
2018-09-01 23:45:10 +02:00
wolfbeast 69627ad410 Revert "Switch to using a single memory allocation arena"
This reverts commit 4ceb21241e.
2018-09-01 19:06:20 +02:00
wolfbeast 4f504d46be Revert "Bug 1388020. r=nical, a=RyanVM"
This reverts commit e7189e33f5.
2018-08-30 12:36:40 +02:00
wolfbeast 1edc7328f2 Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2018-08-30 12:27:25 +02:00
wolfbeast f214aa5dbe Revert "Bug 1444668 - Avoid allocating large AssemblerBuffers. r=luke, r=bbouvier, a=RyanVM"
This reverts commit 9472136272.
2018-08-30 12:26:26 +02:00
Moonchild f266d26ebd Merge pull request #741 from trav90/media-work
Don't build ffvpx on 32-bit platforms (except Windows)
2018-08-30 11:47:37 +02:00
wolfbeast 0bc2511432 Fix incorrect code removal in ipc.
Follow-up to a930db1c9e
2018-08-29 20:35:26 +02:00
wolfbeast 693656e99b Sync disabled state of number control regardless of appearance. 2018-08-29 11:54:27 +02:00
trav90 cc0e6c7ece Update HSTS preload list
Tag #447
2018-08-27 05:43:33 -05:00
wolfbeast f6d3d16ac5 Update installer strings for Pale Moon to match toolkit nsis installer.
This resolves #735
2018-08-27 11:45:13 +02:00
trav90 a64465bde4 Don't build ffvpx on 32-bit platforms (except Windows)
Our in-tree FFmpeg doesn't support optimized assembly code very well on 32-bit *nix systems, which causes performance issues during video playback.

Essentially, this commit restores the behavior from Pale Moon 27 on 32-bit Linux builds (for video playback rely on the system-installed FFmpeg packages or libvpx if FFmpeg packages can't be found).
2018-08-26 10:56:24 -05:00
Moonchild 2dc1703c09 Merge pull request #733 from JustOff/PR_locale_changed_refresh
Refresh nsStringBundleService and nsHttpHandler when the browser locale is changed
2018-08-26 07:45:17 +02:00
wolfbeast 4cbcba7876 Add missing } 2018-08-25 22:38:58 +02:00
wolfbeast 4ceb21241e Switch to using a single memory allocation arena 2018-08-25 22:32:22 +02:00
wolfbeast f0e053a1b4 Add a horizontal scroll action option for mouse wheel.
Resolves #732
2018-08-25 19:56:18 +02:00
JustOff 02211f8448 Refresh nsStringBundleService and nsHttpHandler when the browser locale is changed 2018-08-25 17:50:02 +03:00
wolfbeast 74c6c585ab Introduce ui.menu.allow_content_scroll
When true, overrides the OS convention to prevent scrolling of content when contextual menus are open.
This resolves #730.
2018-08-24 13:21:17 +02:00
Moonchild b4343ea955 Merge pull request #727 from JustOff/PR_VK_F6
[PALEMOON] Fix document navigation using F6
2018-08-23 22:46:54 +02:00
JustOff 11c17e69a9 [PALEMOON] Fix document navigation using F6 2018-08-23 23:29:38 +03:00
wolfbeast c78bee9c13 Stop pointless recording of telemetry data
Also clear the telemetry URLs and metas "just in case" so nothing can go anywhere even in the case of PEBCAK.
2018-08-23 16:06:53 +02:00
wolfbeast 98b3e34603 Fix code of conduct version ref link. 2018-08-22 18:33:58 +02:00
Moonchild 00ae76ee75 Merge pull request #720 from JustOff/PR_ShouldAddToSessionHistory
Update ShouldAddToSessionHistory() rules for "about:newtab" and "about:logopage"
2018-08-22 15:53:24 +02:00
JustOff c6498fe688 Explicitly specify parentheses in a mixed boolean expression in ShouldAddToSessionHistory() 2018-08-22 14:08:55 +03:00
Moonchild 6ded9a001f Merge pull request #722 from g4jc/importfromunix
Basilisk: Fix locale error on migration.xul on Linux
2018-08-22 13:07:49 +02:00
JustOff de50d15d28 Use "browser.newtabpage.add_to_session_history" to decide whether to store "about:newtab" in the session history 2018-08-22 13:40:19 +03:00
Gaming4JC 432e26d594 Basilisk: Fix locale error on migration.xul on Linux 2018-08-21 20:59:46 -04:00
JustOff d39cf6a112 Update ShouldAddToSessionHistory() rules for "about:newtab" and "about:logopage" 2018-08-21 18:32:45 +03:00
wolfbeast 7231eca3c1 Pale Moon blocklist update 2018-08-21 10:30:35 +02:00
wolfbeast b18f0d51bf Fix toolbar styling in non-Australis toolkit themes part 2
Fix jar manifests.

This resolves #713
2018-08-21 00:04:59 +02:00
wolfbeast e91682563c Fix toolbar styling in non-Australis toolkit themes
This resolves #713
2018-08-21 00:03:07 +02:00
Moonchild cb9a69ec2e Merge pull request #718 from trav90/code-cleanup
Remove unused variable
2018-08-20 13:51:00 +02:00
wolfbeast b5ee49d85a Re-implement custom background color of standalone images.
This resolves #717.

Note: this does not affect other applications because the platform
default is to use the "darknoise" background image for standalone
image, which effectively overrides a bg color.
2018-08-20 13:31:38 +02:00
wolfbeast 134fdc7ec4 Remove TelemetryStopwatch module.
Tag #21
2018-08-20 09:41:05 +02:00
wolfbeast 8c1d34e316 Remove TelemetryStopwatch call sites from mobile components.
Tag #21
2018-08-20 09:38:08 +02:00
wolfbeast f030cc6c05 Remove TelemetryStopwatch call sites from toolkit components.
Tag #21
2018-08-20 09:33:07 +02:00
Moonchild 3499a2e493 Merge pull request #714 from trav90/class-memaccess-errors
Fix more -Wclass-memaccess warnings:

- Avoid using memset on a not-trivial types
- Avoid doing memset on non-POD structures
- Be more restrictive with memset on Array containers
2018-08-20 08:25:06 +02:00
Moonchild 29fbe8f27d Merge pull request #716 from g4jc/remove_telemetry_stopwatch
Basilisk: Remove TelemetryStopwatch
2018-08-20 08:18:55 +02:00
trav90 d570eb5ffc Remove unused variable 2018-08-19 23:59:31 -05:00
Gaming4JC f3ea4b9d7a Basilisk: Remove TelemetryStopwatch 2018-08-19 18:18:36 -04:00
trav90 b5e87d0644 Avoid using memset on a not-trivial type like ServoSizes 2018-08-18 15:22:21 -05:00
trav90 7099e9829b Avoid using memset on a not-trivial type like TabSizes 2018-08-18 15:20:24 -05:00
trav90 450eed08c5 Avoid doing a memset on a non-POD structure
|entryCount| tracks -- in fast-to-check manner -- the number of entries in the hashtable.  But to actually enumerate entries, we have to loop through all of |table|, checking for entries that are actually live.  A live entry is indicated by a zero |hash| in the entry.  The |memset| would properly zero that; removing the memset will not.

It's not entirely clear whether a memset that overwrites a lot of stuff but is maybe simpler, is faster than compiler-generated likely-SIMD code that zeroes out *just* |hash| fields in all the entries.  But I am going to guess that SIMD is good enough.  For now, we should just do the simple and thing: don't distinguish POD and non-POD, and know that the compiler is going to recognize that |mem.addr()->~T()| is a no-op when T is trivial.  So with POD, the loop should degenerate to just zeroing |hash| at consistent offset, and SIMD will eat that up, and it can't be *that* different from the memset in performance (if it is at all).
2018-08-18 15:18:52 -05:00
trav90 f0a708834d memset only the underlying vector from the Array container 2018-08-18 15:12:00 -05:00
trav90 26f02a2001 Avoid using memset on a not-trivial type like nsTabSizes
nsTabSizes is non-trivial only because of the user-defined constructor.  The idea desired here is certainly to zero all the members without listing them -- but the very act of doing so with a user-defined constructor, makes the idea impossible.

Arguably this is something that is permissible in the language, and that the warning should be tailored to permit.  I don't think this falls afoul of any of the issues flagged in https://gcc.gnu.org/ml/gcc-patches/2017-06/msg01527.html for example.  In the meantime, just explicitly zeroing the three member fields is easy and fixes the warnings.
2018-08-18 15:10:01 -05:00
Moonchild f36ad080c6 Merge pull request #712 from JustOff/PR_viewPartialSource
[PALEMOON] Align viewPartialSource with the UXP codebase
2018-08-17 22:30:46 +02:00
wolfbeast bfc5b53cf9 Fix missed in32->int64 in df85212009
Tag #709.
2018-08-17 19:23:37 +02:00
JustOff 7dd67ceb0a [PALEMOON] Align viewPartialSource with the UXP codebase 2018-08-17 16:04:48 +03:00
wolfbeast 26debee733 Reinstate RC4 and mark 3DES weak.
Tag #709
2018-08-17 06:39:04 +02:00
wolfbeast df85212009 Extend {EnabledWeakCiphers} bit field to allow more cipher suites.
Tag #709.
2018-08-17 06:33:23 +02:00
Moonchild a4719ebdd3 Merge pull request #708 from wicknix/master
fix basilisk mac icons, executable name, and min os version
2018-08-16 07:41:14 +02:00
Moonchild 9968672dbd Update CODE_OF_CONDUCT.md
Minor style improvement
2018-08-15 14:40:18 +02:00
wolfbeast bc00f6e190 Move Code of Conduct to where it belongs.
(Damn you, github on-line editor!)
2018-08-15 14:38:31 +02:00
Moonchild 169bc32777 Add Code of Conduct for contributors.
As a recommended document for governance of our project and community.
2018-08-15 14:36:28 +02:00
Matt A. Tobin f86a80ee78 Do not try and include devtools shared l10n when devtools is not built 2018-08-15 03:19:07 -04:00
wicknix f24786477d Add files via upload
remove old mac firefox icns files and replace with basilisk icns files
2018-08-14 18:59:58 -05:00
wicknix 8c21e8ab96 Update Info.plist.in
fix exe name and min osx version
2018-08-14 18:47:32 -05:00
wolfbeast 1102f3c707 Enforce NSS 3.38 for people who still insist on using system NSS. 2018-08-14 19:37:44 +02:00
wolfbeast ab10600379 Update NSS to 3.38
- Added HACL*Poly1305 32-bit (INRIA/Microsoft)
- Updated to final TLS 1.3 draft version (28)
- Removed TLS 1.3 prerelease draft limit check
- Removed NPN code
- Enabled dev/urandom-only RNG on Linux with NSS_SEED_ONLY_DEV_URANDOM for non-standard environments
- Fixed several bugs with TLS 1.3 negotiation
- Updated internal certificate store
- Added support for the TLS Record Size Limit Extension.
- Fixed CVE-2018-0495
- Various security fixes in the ASN.1 code.
2018-08-14 16:42:52 +02:00
wolfbeast f44e99950f Set version for normal unstable channel use. 2018-08-13 19:00:08 +02:00
Moonchild 98be5e9460 Merge pull request #707 from trav90/class-memaccess-errors
Simplify HeapSlot to make it trivially copyable
2018-08-13 18:58:12 +02:00
Moonchild ba2882cf71 Merge pull request #706 from trav90/gcc8
Fix/silence some warnings with GCC 8
2018-08-13 18:52:43 +02:00
Moonchild 727eefc7c4 Merge pull request #704 from trav90/buildsystem-work
Shell quote environment variable values when dumping them in dump_env.py
2018-08-13 18:52:15 +02:00
trav90 9ac48ef831 Simplify HeapSlot to make it trivially copyable
This removes the constructors, which were never called since we allocate arrays of HeapSlot with pod_malloc. The destructor is only ever called explicitly since we free this memory with js_free so it has been renamed to destroy(). Also removed is an unused manual barrier.
2018-08-12 07:57:10 -05:00
trav90 9d1bfd4dc7 Avoid using memcpy on HeapSlot that is not trivially copyable. 2018-08-12 07:51:14 -05:00
trav90 9f1bbe47a5 Shell quote environment variable values when dumping them in dump_env.py
The mozconfig output parsing code already (mostly) handles shell quoted strings, because that's what `set` outputs. By quoting environment variable values, we avoid a bunch of problems with "weird" values.
2018-08-11 16:24:30 -05:00
trav90 9b48c3fa58 Remove the const to fix the -Wignored-qualifiers warning with GCC 8 (Part 2) 2018-08-10 15:21:45 -05:00
trav90 f721952678 Fix a warning with GCC 8: unnecessary parentheses in declaration of 'type name' 2018-08-10 15:12:47 -05:00
trav90 3aa84bd5c0 Disable -Werror on -Wmultistatement-macros
Silences compiler warning spam with GCC 8.
2018-08-10 15:08:10 -05:00
trav90 e7fa5e7cb1 Remove the const to fix the -Wignored-qualifiers warning with GCC 8 2018-08-10 15:04:21 -05:00
trav90 9bda00c75e Initialize mVersion to silence a warning with GCC 8 2018-08-10 14:48:25 -05:00
trav90 aa0f4269e6 js::atomics_wait: Remove unnecessary parentheses in declaration of 'addr'
Silences a warning with GCC 8.
2018-08-10 14:44:03 -05:00
Matt A. Tobin e1ac3350e2 Fix include path 2018-08-06 07:30:35 -04:00
Matt A. Tobin cae0dfbcbf Add a slightly modified version of the gecko/44 search service and use it when building Pale Moon 2018-08-06 07:30:09 -04:00
Matt A. Tobin 82eb8109c9 Move the "native" search service to a subdirectory 2018-08-06 06:11:17 -04:00
Moonchild 3d1043672c Merge pull request #698 from SpockFan02/master
Pale Moon: macOS: Fix icons in editBookmarkOverlay
2018-08-05 22:36:59 +02:00
Moonchild f4e8c30f3e Merge pull request #697 from SpockFan02/undeprecate-appcache
Issue #686: Un-deprecate the Application Cache API
2018-08-05 17:50:00 +02:00
SpockMan02 1ed5ef0ccb Restore some osx icons 2018-08-05 06:15:12 -07:00
SpockMan02 ee7eeac73c Revert osx editBookmarkOverlay.css to osx version 2018-08-05 05:32:46 -07:00
SpockMan02 e5064882f1 Issue #686: Un-deprecate the Application Cache API 2018-08-05 04:08:37 -07:00
Moonchild 559824514d Merge pull request #694 from adeshkp/patch-10
Fix constructor in nsHtml5AtomTable.cpp
2018-08-04 13:43:05 +02:00
wolfbeast 6577d13f01 re-apply "Improve nsHtml5AtomTable performance (#693)" (#695)"
This reverts commit ca87455cc5.
2018-08-04 13:40:55 +02:00
Moonchild ca87455cc5 Revert "Improve nsHtml5AtomTable performance (#693)" (#695)
This reverts commit 2bc00efe7b.
2018-08-04 13:32:09 +02:00
adeshkp 2370b6a532 Fix constructor in nsHtml5AtomTable.cpp
Follow up to 2bc00ef to fix build bustage
2018-08-04 11:17:54 +00:00
adeshkp 2bc00efe7b Improve nsHtml5AtomTable performance (#693)
* cpp change
* h change
2018-08-04 10:52:42 +02:00
wolfbeast 2653f1dd06 Make AC option for devtools (client) an enable_bool to align with the default. 2018-08-04 08:03:36 +02:00
Moonchild 18fc5b0743 Merge pull request #691 from janekptacijarabaci/pm_preferences_applications_always-ask_1
[PALEMOON] Fix "Always ask" for Plugins (in Preferences - Applications)
2018-08-04 06:19:03 +02:00
Moonchild c546de5311 Merge pull request #690 from janekptacijarabaci/netwerk_cors_multiple_1
Fixed misleading console error message for multiple CORS headers
2018-08-04 06:18:06 +02:00
Moonchild 3d5dbe3f75 Merge pull request #692 from SpockFan02/master
Restore Mac bookmark doorhanger styling
2018-08-04 06:17:40 +02:00
SpockMan02 8cc9e93d8d Restore Mac bookmark doorhanger styling 2018-08-03 17:36:03 -07:00
wolfbeast f1f409190c Link to developer site from readme. 2018-08-03 13:59:37 +02:00
Matt A. Tobin 803dfd7b1f Fix theme/os mismatch with full screen/private browsing caption buttons on Macintosh 2018-08-01 23:18:41 -04:00
Moonchild f8761cf8c5 Merge pull request #688 from janekptacijarabaci/about-support_WebGL-information_expand_1
Expand about:support WebGL information
2018-08-01 20:45:58 +02:00
trav90 e79f2ee694 Update HSTS preload list
Tag #447
2018-08-01 05:42:29 -05:00
wolfbeast d66259dc9a Version bump 2018-08-01 09:50:04 +02:00
janekptacijarabaci d84ee90be1 Bug 1341957 - Add webgl.getSupportedExtensions() to about:support 2018-08-01 09:34:24 +02:00
janekptacijarabaci e7f7100ba6 Bug 1335296 - Expand about:support WebGL information 2018-08-01 08:58:59 +02:00
Moonchild ddb2b97680 Merge pull request #685 from trav90/default-pref-updates
Disable battery API by default
2018-08-01 08:01:19 +02:00
wolfbeast b450f90cd7 Tune the network stack
This resolves #684
2018-08-01 07:55:40 +02:00
trav90 66d949a329 Disable battery API by default to reduce private data exposure to the web 2018-07-31 21:41:57 -05:00
Moonchild a92253e8d3 Merge pull request #681 from JustOff/PR_remove_helpviewer_skin
Remove dead Help Viewer skin mapping from Toolkit
2018-07-31 07:27:11 +02:00
janekptacijarabaci 9e91804a7a Fixed misleading console error message for multiple CORS headers 2018-07-31 07:02:39 +02:00
wolfbeast f7b00e782a Enable d3d9 accelerated layers as a fallback.
If d3d 11 can't be used for whatever reason (limited integrated/mobile chipset, etc.)
we should fall back to d3d9. Mozilla blocked this based on experiences with Intel
GPUs/drawing artefacts, but those drivers are blacklisted already. No reason to
disable this path for everyone.
2018-07-30 07:21:04 +02:00
JustOff 68198c5876 Remove dead Help Viewer skin mapping from Toolkit 2018-07-29 14:02:20 +03:00
wolfbeast 017cb0351d Remove dead WebApps code. 2018-07-28 16:14:58 +02:00
Moonchild 43cebecade Merge pull request #680 from janekptacijarabaci/pm_principal_origin-triggering_1
Port across "originPrincipal" and "triggeringPrincipal"
2018-07-28 13:19:35 +02:00
janekptacijarabaci 8d42d5cad7 [PALEMOON] [frontend vs backend] Implemented "originPrincipal" and "triggeringPrincipal"
Issue #679
Follow up #311
2018-07-28 10:06:53 +02:00
Moonchild 09eda489bc Merge pull request #678 from trav90/media-work
[EME] Add support for sbgp and sgpd boxes
2018-07-27 15:12:09 +02:00
wolfbeast 1afcbb90ee Merge branch 'thumbnailplaceholder' 2018-07-27 15:09:03 +02:00
wolfbeast 3555533f7f Convert trinary to more explicit statement. 2018-07-26 23:14:11 +02:00
wolfbeast 0ccb5a03bb Update zlib to 1.2.11
This resolves #676
2018-07-26 21:58:58 +02:00
wolfbeast 9fc1381e11 Fix #include and potentially undefined Capture.options object. 2018-07-26 21:45:34 +02:00
wolfbeast ddd7d45862 Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2018-07-26 17:59:09 +02:00
wolfbeast 6e4c8dd34b Bypass transparency optimization with HC themes.
Don't use transparency optimization for theme items in Windows 8
or later with a high contrast theme in use.

See MoonchildProductions/Pale-Moon#1591
2018-07-26 17:58:48 +02:00
Moonchild c904349ce2 Merge pull request #677 from kn-yami/issue667
remove "learnMoreContainer" leftovers
2018-07-26 17:51:08 +02:00
yami 36033ae5e5 remove "learnMoreContainer" leftovers (part 2) 2018-07-26 13:28:33 +02:00
trav90 b714301304 [EME] Add error handling in MoofParser for sbgp and sgpd boxes 2018-07-25 22:56:45 -05:00
trav90 165a8d5057 [EME] Add support for sbgp and sgpd boxes occuring in the sampletable 2018-07-25 22:39:12 -05:00
trav90 512dcfac01 [EME] Add support for sbgp and sgpd boxes in the traf box 2018-07-25 22:37:39 -05:00
janekptacijarabaci 11da825359 [PALEMOON] Bug 863773 - Changes the way plugin handlers are loaded at the preferences applications pane. Uses enabledPlugin attribute from each navigator.mimeTypes to find the actual plugin used to handle the mime type 2018-07-26 04:31:11 +02:00
wolfbeast d2498873e9 Set up new blocklist infra URLs 2018-07-25 17:15:28 +02:00
wolfbeast 1de0d64e0f Set up new blocklist infra URLs 2018-07-25 17:15:04 +02:00
janekptacijarabaci 2f8302dd63 [PALEMOON] Bug 1034043 - Fix remaining use of "awlaysAsk" attribute in applications pref pane 2018-07-25 15:29:37 +02:00
janekptacijarabaci 58d5c1cca4 [PALEMOON] Bug 480242 - "Always ask" doesn't work for Plugins 2018-07-25 15:28:56 +02:00
janekptacijarabaci da0a9f854f [PALEMOON] Bug 757726 - Populate Preferences' Applications list using PluginHost 2018-07-25 15:26:02 +02:00
wolfbeast 19b35e9251 Use a fixed thumbnail placeholder for blank thumbs (failed to capture). 2018-07-25 13:45:48 +02:00
wolfbeast e437d80133 Use try/catch in PageThumbs writeData to deal with null data from caller.
Quick fix for #670
2018-07-25 12:34:50 +02:00
Moonchild aab5ccc419 Merge pull request #674 from janekptacijarabaci/toolkit_startup_instance-with-profile_1
about:profiles - fix "Launch profile in new browser" (added "-no-remote" for Windows)
2018-07-25 11:41:05 +02:00
Moonchild ed2287aef1 Merge pull request #672 from alaviss/newmoon-desktop
palemoon/unofficial: provides .desktop file
2018-07-25 08:56:45 +02:00
janekptacijarabaci 45cdc5db38 about:profiles - fix "Launch profile in new browser" (added "-no-remote" for Windows) 2018-07-25 07:27:18 +02:00
Leorize 3394b25d2f palemoon/unofficial: provides .desktop file 2018-07-25 09:14:49 +07:00
wolfbeast dd234f025a ANGLE: Initialize uniform blocks before detaching shaders
This resolves #668
2018-07-24 19:48:25 +02:00
wolfbeast a81919b573 Cater Pale Moon's about box to unofficial branding. 2018-07-24 16:41:07 +02:00
wolfbeast 2e7e3c706f Update AUTHORS 2018-07-24 16:40:12 +02:00
Moonchild 6ff51b3dff Merge pull request #666 from kn-yami/issue605
replace "certErrorCodePrefix2" with "certErrorCodePrefix"
2018-07-23 17:18:33 +02:00
yami 5334cff64c remove "learnMoreContainer" leftovers 2018-07-22 22:07:40 +02:00
Moonchild 72e628874a Merge pull request #665 from trav90/media-work
Add some error handling when parsing MP4 files
2018-07-22 17:49:14 +02:00
yami e313e5e2ec remove dead code 2018-07-22 15:46:32 +02:00
yami bdcae58fa6 replace "certErrorCodePrefix2" with "certErrorCodePrefix" 2018-07-22 15:29:06 +02:00
wolfbeast 14c53fcf71 Allow AsyncDrawing for plugins in all versions. 2018-07-22 10:53:21 +02:00
wolfbeast c534a0ca24 Remove incorrect debug assertion.
solves #631, solves #664
2018-07-22 08:24:16 +02:00
trav90 0adebd32d9 Rework MoofParser to return an error when the underlying BufferReader returns an error. 2018-07-21 19:57:42 -05:00
trav90 b3d0eb648b Copy ByteReader to BufferReader and add some error handling 2018-07-21 19:55:18 -05:00
wolfbeast 8896125616 Fix position and size of Permissions Manager main content area.
This resolves #660
2018-07-21 12:48:39 +02:00
Moonchild 826c594000 Merge pull request #662 from janekptacijarabaci/pm_places_controller_clean-up_2
[PALEMOON] Places - remove unnecessary line from controller.js
2018-07-21 12:47:56 +02:00
wolfbeast 01a9c193fc Fix position and size of Permissions Manager main content area.
This resolves #660
2018-07-21 12:42:04 +02:00
janekptacijarabaci 1fdbac9b8c [PALEMOON] Places - remove unnecessary line from controller.js 2018-07-21 11:15:56 +02:00
janekptacijarabaci bc44bb27e4 [PALEMOON] Places - remove unused @param from controller.js 2018-07-21 11:13:30 +02:00
Moonchild 8a4f1defd2 Merge pull request #656 from JustOff/PR_pdf.js_locale
[PALEMOON] Remove localization files for pdf.js
2018-07-21 08:56:29 +02:00
trav90 e205617353 Warn instead of assert if SPS value is incorrect 2018-07-20 22:41:34 -05:00
JustOff e2e4c628a8 [PALEMOON] Remove localization files for pdf.js 2018-07-20 23:36:24 +03:00
Moonchild b4f748a7c5 Merge pull request #653 from JustOff/PR_safebrowsing_leftovers
[PALEMOON] Remove misc leftovers of Google Safebrowsing
2018-07-20 20:00:12 +02:00
Moonchild edc21c9725 Merge pull request #655 from trav90/updater-enable
[PALEMOON] Enable update prefs in Official branding for Linux
2018-07-20 19:58:25 +02:00
trav90 3ac6438dd3 [PALEMOON] Enable update prefs in Official branding for Linux 2018-07-20 12:40:17 -05:00
JustOff e25caee026 [PALEMOON] Remove misc leftovers of Google Safebrowsing 2018-07-20 17:49:48 +03:00
wolfbeast f9265e9565 Version bump 2018-07-20 15:37:22 +02:00
Moonchild 7fce9b4a0a Merge pull request #652 from janekptacijarabaci/dom_document_domain_null_1
Make document.domain non-nullable
2018-07-20 11:13:54 +02:00
Moonchild cba8e7b14e Merge pull request #651 from janekptacijarabaci/dom_DataTransfer_constructor_1
Dom data transfer constructor
2018-07-20 11:10:53 +02:00
Moonchild edc1da82d8 Merge pull request #650 from janekptacijarabaci/css_layout_flex-grid_1
Align Css layout flex grid with latest spec
2018-07-20 11:06:08 +02:00
janekptacijarabaci 1b153b3f2a Bug 958714 Remove obsolete assertion & comment
+ Used "mFrame->GetType()" instead of "mFrame->Type()"
2018-07-20 09:15:48 +02:00
janekptacijarabaci 83459c9277 Bug 958714 Simplify percent-margin/padding resolution code to pass around a single length as the percent basis 2018-07-20 09:13:56 +02:00
janekptacijarabaci b12973bc9a Bug 958714 Remove special case for flex & grid items' percent block-axis margin/padding resolution, to align with other browsers 2018-07-20 09:09:36 +02:00
janekptacijarabaci 24b11942e9 Bug 1434380: Rewrite parts of reftest reference case grid-auto-min-sizing-definite-001-ref.html to be easier to understand & adjust 2018-07-20 09:01:58 +02:00
janekptacijarabaci 568e27db3f Bug 1351193 - Update tests 2018-07-20 07:48:10 +02:00
janekptacijarabaci 9454cd4141 Bug 1351193 - Added new DataTransfer constructor 2018-07-20 07:46:50 +02:00
janekptacijarabaci 324cab5115 Bug 819475 - Make document.domain non-nullable 2018-07-20 07:45:05 +02:00
Moonchild 1475cd9316 Merge pull request #646 from JustOff/PR_locale_updates3
Misc en-US locale updates and fixes
2018-07-20 04:58:07 +02:00
JustOff ebe0f277d0 Fix a typo in aboutRights.dtd 2018-07-19 22:46:59 +03:00
JustOff 9430dc4a7a Remove unused strings left from the migrator 2018-07-19 22:45:45 +03:00
Moonchild 1ef8b01c52 Merge pull request #645 from trav90/media-work
Ignore user data track
2018-07-19 10:24:21 +02:00
trav90 cdd42cc337 Ignore user data track
That's the 'udta' box. They serve no purpose as far as we're concerned and stagefright doesn't handle it very well (as in, prevents playback).

Resolves #616.
2018-07-18 17:55:38 -05:00
wolfbeast fc61780b35 Merge commit '50d3e596bbe89c95615f96eb71f6bc5be737a1db' into Basilisk-release
# Conflicts:
#	browser/app/profile/firefox.js
#	browser/components/preferences/jar.mn
2018-07-18 08:24:24 +02:00
wolfbeast 8be0c16be6 Clean up app strings and legacy download manager after e92808f0eb 2018-07-18 07:14:08 +02:00
Moonchild 50d3e596bb Merge pull request #644 from trav90/HSTS-preload-list
Update HSTS preload list
2018-07-17 16:08:46 +02:00
trav90 4d358ef73c Update HSTS preload list
Tag #447
2018-07-17 05:53:04 -05:00
Moonchild cdb690f0a3 Merge pull request #643 from janekptacijarabaci/pm_permissions_plugins_clickToPlay_vulnerable_1
Fix permissions plugins click to play UI
2018-07-17 12:18:37 +02:00
Moonchild 8eb01c2ce4 Merge pull request #642 from janekptacijarabaci/dom_element_toggleAttribute_1
Add support for Element.toggleAttribute()
2018-07-17 12:14:56 +02:00
janekptacijarabaci 70f5da857c [PALEMOON] Fix Permissions Manager (plugins.click_to_play / vulnerable plugins) 2018-07-17 11:34:02 +02:00
janekptacijarabaci f3dc7095e6 [PALEMOON] Fix Page Info - permissions (plugins.click_to_play / vulnerable plugins) 2018-07-17 11:32:58 +02:00
wolfbeast 0cb3a0ccf1 Don't disable lightweight themes in PB mode.
This resolves #640
2018-07-17 10:24:21 +02:00
wolfbeast 57e08f8dd6 Use expected dialog button ordering in Launch Application dialog.
This resolves #639.
2018-07-16 08:16:07 +02:00
wolfbeast 422a3cda0c Don't try to fetch FxA migration sentinel from non-supporting server.
This resolves #522.
2018-07-15 07:05:26 +02:00
wolfbeast cac6931d80 Update redundant comment 2018-07-14 07:47:31 +02:00
wolfbeast dc9d933d81 Add pref to control CanOptimizeToImageLayer for large downscale factors.
This resolves #626
2018-07-14 07:45:06 +02:00
wolfbeast 6bb3a908d3 Switch to Lanczos scaling from Hamming to get acceptable fast downscaling.
In visual tests we see that Hamming-1 is not as good as
Lanczos-2, however it is about 40% faster, and Lanczos-2 itself is
about 30% faster than Lanczos-3. The use of Hamming-1 has been deemed
an unacceptable trade-off between quality and speed due to the limited
pixel space it operates in, so we pick Lanczos-2 here.
On modern hardware, Lanczos-2 doesn't have any noticeable impact
in normal use.
2018-07-14 07:43:25 +02:00
Matt A. Tobin 1862bf7a35 Issue #634 - aAddon.markAsSeen is not a function newaddon.js 2018-07-13 14:03:34 -04:00
Moonchild 97331d3771 Update requirements.txt 2018-07-13 18:46:32 +02:00
Moonchild ec32d19a84 Merge pull request #628 from janekptacijarabaci/build_bustage_debug_1
Fix Build Bustage - with "--enable-debug"
2018-07-13 15:17:10 +02:00
Moonchild d4b0944e05 Merge pull request #633 from FranklinDM/issue-336-fix
Fix issue #336: Full-screen does not initialized properly when called from an empty new tab
2018-07-13 15:16:21 +02:00
wolfbeast 7e07c1ba57 Update mozharness reqs. 2018-07-13 09:06:01 +02:00
Franklin DM d479089211 Issue #336: Mouse position tracker not set even if chrome is still visible on fullscreen 2018-07-13 14:21:38 +08:00
Franklin DM 012c67fbe0 Issue #336: Mouse position tracker not set even if chrome is still visible on fullscreen 2018-07-13 14:20:46 +08:00
Moonchild 70e0e5ccb7 Merge pull request #632 from janekptacijarabaci/images_tab-closing_never-ending_1
Fix closing a tab when there are many images on the page
2018-07-13 06:25:14 +02:00
wolfbeast 4103fc0a8a Remove recover instruction results after bailouts. 2018-07-13 06:11:55 +02:00
janekptacijarabaci 3945eb4c1d Bug 1346501. Remove mFrameCreateCalled from nsImageLoadingContent, it is now unused 2018-07-12 18:57:25 +02:00
janekptacijarabaci 53cf12d6d8 Bug 1346501. Don't mark every image as visible when a frame is created for it 2018-07-12 18:56:16 +02:00
janekptacijarabaci 71a1c47759 Fix Build Bustage - with "--enable-debug" 2018-07-12 12:34:59 +02:00
wolfbeast 70dd5e7c66 Merge branch 'ANGLE-rollback'
This resolves #624

Note: Cherry-picked some fixes on top of the ANGLE version that we want to keep.
2018-07-11 23:31:02 +02:00
wolfbeast 8481fa25d2 Ad workaround for broken B5G6R5 format in Intel driver. 2018-07-11 23:20:45 +02:00
wolfbeast 4f5813094d Fix incorrect namespace use. 2018-07-11 23:03:23 +02:00
wolfbeast 31166cc4a9 Switch from ShCompileOptions to int. 2018-07-11 23:02:26 +02:00
wolfbeast fb0b7cdb50 Restore emulated functions for OS X 10.8/10.7 2018-07-11 22:58:54 +02:00
wolfbeast 4706e8bed6 Re-apply genericDraw* fixes 2018-07-11 18:25:11 +02:00
wolfbeast 4f2ecd53a9 Roll back to ANGLE/2845 2018-07-11 18:11:13 +02:00
Moonchild 3b7ffb477e Merge pull request #623 from janekptacijarabaci/dom_event_srcElement_1
Add event.srcElement (the alias for event.target)
2018-07-11 12:51:43 +02:00
Moonchild f158494585 Merge pull request #620 from SpockMan02/patch-5
Fix typo
2018-07-11 12:51:27 +02:00
Moonchild 382956b2d1 Merge pull request #619 from SpockMan02/issue-586
Pale Moon: Fix positioning of caption buttons in application-drawn ti…
2018-07-11 12:50:36 +02:00
janekptacijarabaci e6af24eb6c Add event.srcElement (the alias for event.target)
Issue #622
2018-07-11 07:54:50 +02:00
wolfbeast daf0b30772 Make nsAtomicFileOutputStream::DoOpen() fail if the file is read-only.
This means we don't leave behind prefs-<n>.js files when prefs.js is read-only.
2018-07-10 18:16:22 +02:00
SpockFan02 f0d9eddfb6 Fix typo 2018-07-10 06:59:04 +00:00
janekptacijarabaci d4c0def3b8 DOM - Element - add support for Element.toggleAttribute() 2018-07-10 07:19:28 +02:00
Moonchild 4483ac5c5f Merge pull request #613 from SpockMan02/mac-privatebrowsing-mask
Pale Moon: Restore osx private browsing indicator
2018-07-09 20:06:40 +02:00
Moonchild 48ee9becf4 Merge pull request #615 from janekptacijarabaci/devtools_console_new-lines_1
DevTools - display newlines in some console messages
2018-07-09 20:06:22 +02:00
janekptacijarabaci a1b9326fb6 DevTools - display newlines in some console messages
Issue #614
2018-07-09 18:20:19 +02:00
SpockMan02 882aabaf21 Pale Moon: Fix positioning of caption buttons in application-drawn titlebar 2018-07-08 19:11:17 -07:00
SpockMan02 86d78f68c9 Pale Moon: Restore osx private browsing indicator 2018-07-08 18:15:30 -07:00
Moonchild accd3f8c07 Merge pull request #612 from janekptacijarabaci/firefox_name_1
Rename some remaining strings "firefox[-branding].js" to "basilisk[-branding].js" (or [application name].js)
2018-07-08 22:14:59 +02:00
Moonchild cf06d0d055 Merge pull request #611 from janekptacijarabaci/firefox_name_2
[BASILISK] "about:privatebrowsing" - use "Basilisk" instead of "Firefox"
2018-07-08 20:54:58 +02:00
wolfbeast cdace870de Restore pref -- enhanced tiles aren't dead yet.
(without this, the newtab page is broken)
2018-07-08 15:44:29 +02:00
janekptacijarabaci 0b2e92f51c [BASILISK] "about:privatebrowsing" - use "Basilisk" instead of "Firefox"
Issue #610
2018-07-08 09:54:50 +02:00
janekptacijarabaci 85b31d3ea8 Rename some remaining strings "firefox[-branding].js" to "basilisk[-branding.js]" (or [application].js)
Ad:
https://github.com/MoonchildProductions/UXP/commit/30cc819b77891ec4c097156670ecb5ce10b5d9c7
2018-07-08 09:02:03 +02:00
wolfbeast 8c4897f288 Version bump to beta 3 2018-07-08 08:52:19 +02:00
wolfbeast 764d0af25e Reconfigure Pale Moon
Also fold a number of prefs back into the app prefs from shared branding prefs.
This resolves #555.
2018-07-08 08:25:17 +02:00
Moonchild 77800ce3a0 Merge pull request #609 from janekptacijarabaci/devtools_locales_memory_typos-in-comments_1
Fix typos in comments - memory.properties
2018-07-07 19:54:35 +02:00
janekptacijarabaci f3c0ab1ea0 Fix typos in comments - memory.properties 2018-07-07 19:22:57 +02:00
Moonchild 0c5085ace1 Merge pull request #606 from Ascrod/master
Updates to Reader and Narrator components.
2018-07-07 15:18:51 +02:00
Ascrod 6a8ba47855 Revert "Bug 1456652 - SameSite cookie Reader view patch bypass"
This reverts commit 6f64e487f3.
2018-07-07 07:52:35 -04:00
wolfbeast cbd52d48fa Make the page visibility API pref-controlled.
This resolves #607.
2018-07-07 11:53:04 +02:00
wolfbeast 0daa123762 Update about:rights links.
This resolves #603.
2018-07-06 10:31:26 +02:00
wolfbeast b94e5a3a4a Fix redirector paths
This resolves #602.
2018-07-06 10:22:24 +02:00
Ascrod 6f64e487f3 Bug 1456652 - SameSite cookie Reader view patch bypass 2018-07-05 21:00:31 -04:00
Moonchild 52d608c670 Merge pull request #599 from janekptacijarabaci/dom_fetch_request_navigate_1
Added support for Request constructor with "mode: navigate"
2018-07-05 22:23:02 +02:00
Moonchild c3fe7f59c8 Merge pull request #597 from janekptacijarabaci/dom_workers_terminate_1
Sync event loops in workers should be created only if compatible with the worker shutdown status
2018-07-05 22:22:47 +02:00
Moonchild 06ccf0f73a Merge pull request #601 from janekptacijarabaci/security_blocking_data_1_1
nsIContentPolicy::TYPE_DOCUMENT - Use "aLoadInfo->ContextForTopLevelLoad()" instead of "aLoadInfo->LoadingNode()"
2018-07-05 22:22:25 +02:00
Matt A. Tobin 39c7be96de [AllAM] [STRING CHANGES] Appearance -> Themes 2018-07-05 14:45:17 -04:00
janekptacijarabaci 7eee8a9c39 nsIContentPolicy::TYPE_DOCUMENT - Use "aLoadInfo->ContextForTopLevelLoad()" instead of "aLoadInfo->LoadingNode()"
Issue #600
2018-07-05 19:40:43 +02:00
janekptacijarabaci 3815302230 Bug 1331564 - XHR SyncTeardownRunnable must run also when the worker is in killing state 2018-07-05 13:09:18 +02:00
janekptacijarabaci bfeac5c28d Bug 1298823 - Fix Request constructor - with "mode: navigate" 2018-07-05 13:08:32 +02:00
janekptacijarabaci a80267e9e8 Bug 604026 - Sync event loops in workers should be created only if compatible with the worker shutdown status 2018-07-05 13:04:44 +02:00
Ascrod dac5ea4785 Remove telemetry from NarrateControls.jsm. 2018-07-04 21:25:41 -04:00
Ascrod caa2ac23c3 Fix local link handling in Reader Mode. 2018-07-04 21:25:02 -04:00
Moonchild c3916ca1a0 Merge pull request #590 from janekptacijarabaci/pm_devtools_menu_unused-items_1
[PALEMOON] DevTools - remove unused items from browser.dtd
2018-07-05 00:14:45 +02:00
Moonchild 6b4dde0a81 Merge pull request #594 from Lootyhoof/issue-593
[Pale Moon] Adjust popup ID for password manager
2018-07-05 00:14:28 +02:00
wolfbeast de85309fb1 On failure, save a dummy file from the background page thumb capture module.
If a background page thumbnail capture fails (e.g. due to too heavy scripting), we should
write -something- to the thumbnail cache, because otherwise it will try again and again,
which is problematic for bad trap pages, that even if the user has left the page never
to return again, the thumbnail service may still try to capture, and fail.

This resolves the only problem for us in #592.
2018-07-04 23:58:35 +02:00
Lootyhoof 6d356ee950 Adjust popup ID for password manager 2018-07-04 22:47:25 +01:00
janekptacijarabaci 63fe69f2cc [PALEMOON] DevTools - remove unused items from browser.dtd 2018-07-04 06:58:03 +02:00
Moonchild 057bc2ddba Merge pull request #587 from janekptacijarabaci/aboutSessionRestore_error_3
[PALEMOON] about:sessionrestore - fix an error "treeView.treeBox is null" in aboutSessionRestore.js
2018-07-03 21:36:20 +02:00
Moonchild ed1bb1455d Merge pull request #588 from SpockMan02/patch-4
Don't hide caption buttons with a lw theme, either
2018-07-03 21:35:45 +02:00
SpockFan02 e8120c7c80 Don't hide caption buttons with a lw theme, either
Follow-up to #585. I removed this from the PR, but it's actually needed, otherwise the caption buttons are hidden with a lightweight theme!
2018-07-03 18:20:07 +00:00
janekptacijarabaci 366e7e9f98 [PALEMOON] about:sessionrestore - fix an error "treeView.treeBox is null" in aboutSessionRestore.js
Issue #350
2018-07-03 20:18:44 +02:00
Moonchild f17876faf0 Merge pull request #585 from SpockMan02/patch-4
Mac: Do not hide caption buttons or titlebar
2018-07-03 19:13:37 +02:00
SpockFan02 b7dc3016ec Mac: Do not hide caption buttons or titlebar
on private browsing windows or with a lightweight theme installed.

This resolves #491. This resolves #584.
Tag https://github.com/MoonchildProductions/Pale-Moon/issues/623
2018-07-03 17:06:41 +00:00
Moonchild a003b2be94 Merge pull request #583 from janekptacijarabaci/_testBranch_pageInfo_permissions_indexedDB
Remove the UI for indexedDB in Page Info and Permissions Manager
2018-07-03 18:34:45 +02:00
wolfbeast 51098794ed [PALEMOON] On GTK, default to showing the menubar only when alt is pressed
This restores parity with v27
2018-07-03 11:57:05 +02:00
wolfbeast ee5da989be [TychoAM] Make resilient to missing pref lightweightThemes.animation.enabled 2018-07-03 11:08:58 +02:00
wolfbeast 4666691b63 Remove pref confusion around cache v2
- Renames browser.cache.use_new_backend to browser.cache.backend
- Sets browser.cache.backend to 1 (use cache v2)
- Removes browser.cache.use_new_backend_temp
2018-07-03 04:40:24 +02:00
wolfbeast 093b630347 Fix cache v1 compression crash in nsCompressOutputStreamWrapper::Close() 2018-07-03 04:26:29 +02:00
wolfbeast 4b76d6427a Re-implement prompts.tab_modal.focusSwitch control in toolkit. 2018-07-03 04:16:11 +02:00
wolfbeast 30cc819b77 Rename firefox(-branding).js to basilisk(*).js
Bonus: combats some fingerprinting.
2018-07-02 23:40:33 +02:00
janekptacijarabaci 1e48edfc97 Bug 1334411 - Remove the UI for indexedDB in Page Info and Permissions Manager 2018-07-02 21:20:26 +02:00
wolfbeast dc4e425944 Update troubleshooting pref whitelist following 593835e861 2018-07-02 19:08:34 +02:00
wolfbeast e92808f0eb Prevent suppressing executable warnings using the "don't ask me this again" checkbox.
A hidden preference matching the behavior of "browser.download.manager.alertOnEXEOpen" is kept, but is renamed in order to recover cases where the checkbox was used accidentally.
While there, simplify the `confirmLaunchExecutable` function by converting from promises to async function.
Since Basilisk moved this prompting to toolkit, we also clean up some unused duplicate strings from application/basilisk while we're there.

This resolves #581
2018-07-02 19:05:56 +02:00
wolfbeast 4c9914227e Merge branch 'ported-upstream' 2018-07-02 17:51:09 +02:00
wolfbeast de01f1e7fc [PALEMOON] Remove duplicate MOZ_PROFILE_MIGRATOR entry in confvars. 2018-07-02 10:40:35 +02:00
wolfbeast 7011a01ec2 Disable Intersection Observers by default.
This draft implementation does not play nice with several large sites (e.g. Facebook).
2018-07-02 10:31:11 +02:00
wolfbeast 9ee07e9b88 Issue #578: Applications cannot start without /proc (chroot).
UXP uses the current stack frame address and the stack size
as a sort of heuristic for various things in the JavaScript
engine.  The js::GetNativeStackBaseImpl() function is used to
get the base stack address (i.e. the address from which the stack
grows, so this can be either the first or last memory address of
the stack memory space depending on the CPU architecture).

On Linux, this function is implemented using the pthreads APIs.
For non-main threads, the queried thread info is stored in
memory.  The main thread does not have this information on hand,
so it gets the stack memory range via the /proc/self/maps file
(see glibc's pthread_get_attr_np.c).

Fortunately (per discussions with the firefox devs in #jsapi)
the base address only needs to be approximate.  In reality,
environment variables, args, and other things are stored in
stack space between the end/beginning of the mapped stack
memory and the 'top' of the stack space used by stack frames.

When using glibc, we can get the top of this usable stack from
__libc_stack_end, which is a void* set by glibc during program
initialization, avoiding the need to access /proc.
Non-main threads still get their stack-base through the usual
pthreads APIs.
Other libc implementations like musl will fall back to the
standard UNIX-like implementation which calls pthread's
pthread_attr_getstack() also from the main thread, which
may imply /proc access and not work in restricted
environments.
2018-07-02 09:46:06 +02:00
Moonchild a659def00b Merge pull request #579 from JustOff/PR_pmkit_dyn_buttons
[PMkit] Keep the buttons position when they are placed right before space, flexible space or separator
2018-07-01 23:40:32 +02:00
Moonchild 851d621cf2 Merge pull request #580 from janekptacijarabaci/devtools_locales_performance_typos-in-comments_1
Fix typo in a comment - performance.dtd
2018-07-01 23:39:33 +02:00
janekptacijarabaci 4a5b5f0aed Fix typo in a comment - performance.dtd 2018-07-01 20:13:38 +02:00
JustOff 51b321c7f4 [PMkit] Keep the buttons position when they are placed right before space, flexible space or separator 2018-07-01 18:33:47 +03:00
wolfbeast aa6329b694 Don't leak newTemplate in pk11_copyAttributes()
Cherry-pick of NSS fix from 3.37
2018-07-01 16:31:31 +02:00
wolfbeast 46450ce7de Remove errant paste 2018-07-01 16:16:55 +02:00
wolfbeast 8844d3c616 Clamp resolution in PerformanceNavigationTiming. 2018-07-01 16:16:26 +02:00
wolfbeast bad62e9a44 Rework gfxFontUtils::MapCharToGlyphFormat4 to be more robust. DiD 2018-07-01 14:33:10 +02:00
wolfbeast ca3a3b63ee WebRTC: Add DeleteStreams to media conduits. 2018-07-01 12:57:51 +02:00
Pale Moon 8d29394b4b Cherry-pick user sctp rev SVN8789a6da02e2c7c03522bc6f275b302f6ef977fe 2018-06-30 19:50:21 +02:00
wolfbeast 5054d5a119 Confirm launch of executables other than .exe on Windows. 2018-06-30 19:43:44 +02:00
Nicolas Silva 3858dd6de2 Bug 1464039 - Only reject qcms transform with invalid grid size if the transform function uses the grid size. r=Bas a=jcristau 2018-06-30 19:04:10 +02:00
Kyle Machulis bb89f84738 Bug 1436241 - Check redirect status code before forwarding to NPAPI. r=jimm, r=pauljt, a=jcristau
NPAPI may handle a 307 redirect across different origins, while they
should only happen on same origin requests. Have the browser check
this before forwarding to NPAPI.
2018-06-30 18:53:05 +02:00
Paolo Amadini 67d4d2fe18 Bug 1468217 - Add "SettingContent-ms" to the list of executable file extensions. r=Gijs, a=RyanVM 2018-06-30 18:49:19 +02:00
Nicolas Silva 5db0b81f7c Bug 1464039 - Reject some invalid transforms in qcms. r=mwoodrow, a=RyanVM 2018-06-30 18:47:03 +02:00
wolfbeast fdc6f820ca Bug 1413868. 2018-06-30 18:34:19 +02:00
Moonchild 5857b9d9d7 Merge pull request #572 from adeshkp/patch-8
Quick fix to binary file path for Mac packaging
2018-06-30 13:28:56 +02:00
adeshkp 71d8203bd3 Quick fix to binay file path for Mac packaging 2018-06-30 10:45:13 +00:00
Moonchild c2fc3664d1 Merge pull request #567 from SpockMan02/moz-mac-lion-theme
Undo Mozilla Bug 1302937; Reinstate -moz-mac-lion-theme media query
2018-06-30 07:24:17 +02:00
Moonchild 86c08f4c4e Merge pull request #570 from trav90/code-cleanup
Remove unnecessary GCC version checks
2018-06-30 07:23:50 +02:00
Moonchild a3b070147a Merge pull request #569 from Lootyhoof/theme-text
[Pale Moon] Fix a few default theme issues
2018-06-30 07:23:35 +02:00
Moonchild 6b25f35f84 Merge pull request #566 from JustOff/PR_libwebp-1.0.0
Update libwebp to v1.0.0 + known security patches
2018-06-30 06:05:23 +02:00
Lootyhoof e4b01ba844 Add tabbrowser findbar styling for Linux and OSX 2018-06-30 01:54:26 +01:00
Lootyhoof 75920b74f8 Only invert dropmarker by default on glass 2018-06-30 01:04:49 +01:00
Lootyhoof d3037e1e49 Allow menubar items to inherit toolbar text styling 2018-06-30 01:03:38 +01:00
Lootyhoof c96d9e5bdd Add tabbrowser findbar styling 2018-06-30 00:56:32 +01:00
trav90 aad61148c0 Remove unnecessary GCC version checks 2018-06-29 15:33:02 -05:00
JustOff 53407e7bf2 Rename libwebp/MOZCHANGES to libwebp/UXPCHANGES and update it 2018-06-29 21:04:17 +03:00
JustOff 56c9d0f6bf Apply known security patches (webp:381,383,384) to libwebp-1.0.0 2018-06-29 21:02:12 +03:00
JustOff 05e6fcc024 Add new files to libwebp/dsp/moz.build 2018-06-29 20:59:57 +03:00
JustOff 47e9f9d4c1 Sync libwebp sources with https://chromium.googlesource.com/webm/libwebp/+/v1.0.0 2018-06-29 20:57:44 +03:00
JustOff 445ebe5a30 Update libwebp/update.sh script for libwebp-1.0.0 2018-06-29 20:55:26 +03:00
wolfbeast b5b0b28441 Bump Pale Moon to beta 2 2018-06-29 19:49:54 +02:00
wolfbeast 51792b31a3 Revert "Remove unwanted newtab page code"
This reverts commit 277fa0afdc.
2018-06-29 17:41:18 +02:00
wolfbeast 65b4a8ac5e Restore Pale Moon's standalone image viewing style. 2018-06-29 17:40:32 +02:00
wolfbeast 535e9399e6 Remove SSL Error Reporting telemetry 2018-06-29 17:40:01 +02:00
wolfbeast f12fac8ad1 Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2018-06-29 13:23:18 +02:00
wolfbeast 7c6207671c Issue #562 Part 2: Remove unnecessary grid calculation code. 2018-06-29 13:22:46 +02:00
Moonchild 93083c4372 Merge pull request #564 from janekptacijarabaci/devtools_locales_animationinspector_typos-in-comments_1
Fix typos in comments - animationinspector.properties
2018-06-29 11:24:01 +02:00
janekptacijarabaci eb2f77f1a5 Fix typos in comments - animationinspector.properties 2018-06-29 09:56:12 +02:00
Nils Ohlmeier [:drno] 92a7dcc5b7 Bug 1464063 - Remove sdp_getchoosetok. r=bwc, a=RyanVM
WebRTC
2018-06-29 08:39:41 +02:00
Gabriele Svelto 63522e8e28 Remove unused code for managing physical audio devices.
This was only used in B2G/Gonk and can go.
2018-06-29 08:23:41 +02:00
Byron Campen [:bwc] ce38876a4d Bug 1464079 - Bring ICE connection state change callback up to spec. r=jib, a=RyanVM 2018-06-29 08:13:40 +02:00
Byron Campen [:bwc] 0cacba361f Bug 1464079 - Bring ICE connection state change callback up to spec. r=jib, a=RyanVM
WebRTC
2018-06-29 08:01:58 +02:00
Alex Gaynor ffbe05e067 Bug 1462912 - Fixed BufferList::Extract to handle the case where the call consumes the entirety of the BufferList. r=froydnj, a=RyanVM 2018-06-29 07:59:58 +02:00
Alex Gaynor 8ed2f59cc5 Bug 1456189 - Simplify BufferList::Extract to make the lifetimes clearer. r=froydnj, a=RyanVM 2018-06-29 07:58:16 +02:00
wolfbeast 9836c7e104 WebRTC: Nullcheck DataChannel SendPacket calls. 2018-06-29 07:43:21 +02:00
wolfbeast 5dd272f43b Convert the button rect to device coordinates correctly instead of casting CSS coordinates.
This should the correct fix for #559
2018-06-28 23:12:08 +02:00
Matt A. Tobin 260cba24db Make sure application confvars.sh files are apart of CONFIG_STATUS_DEPS 2018-06-28 16:49:56 -04:00
Matt A. Tobin f47536f570 Merge branch 'define-work' 2018-06-28 16:19:27 -04:00
wolfbeast ee4ef87724 Add back the Quickdial show/hide control.
This also slightly tweaks the grid design styling.
Resolves #563
2018-06-28 22:04:10 +02:00
Matt A. Tobin 7664308ab1 Add HYPE_ICEWEASEL where appropriate 2018-06-28 15:50:23 -04:00
Matt A. Tobin ddea471099 Use MOZ_AUSTRALIS to define common shared Australis features 2018-06-28 13:20:53 -04:00
wolfbeast 8efb8f608f Add missing aCurrentBrowser definition in utilityOverlay.js
Follow-up to cadeea97bb
This obsoletes #561.
2018-06-28 17:24:46 +02:00
wolfbeast d441fb58b9 Issue #562 Part 1: Transfix the grid 2018-06-28 15:47:44 +02:00
Moonchild c49f527e9d Merge pull request #556 from JustOff/PR_sanitize_promises
[PALEMOON] Use Promises.jsm instead of promise.js from jetpack in sanitize.js
2018-06-28 15:01:10 +02:00
Moonchild da4fa3b52f Merge pull request #557 from janekptacijarabaci/toolkit_about-support_error_1
Fix "about:support"s "graphics" section when "webgl.disable-extensions" is true
2018-06-28 15:00:52 +02:00
Moonchild 3dea115f2a Merge pull request #558 from JustOff/PR_devtools_locales
[PALEMOON] Include devtools/client when building language packs
2018-06-28 15:00:25 +02:00
JustOff c50a6a21a2 [PALEMOON] Include devtools/client/locales conditionally 2018-06-28 11:27:15 +03:00
JustOff 87c5dd64ab [PALEMOON] Include devtools/client when building language packs 2018-06-27 21:57:17 +03:00
janekptacijarabaci fe0d9a9d21 Fix "about:support"s "graphics" section when "webgl.disable-extensions" is true 2018-06-27 19:32:26 +02:00
JustOff f4205ffd8d [PALEMOON] Remove no more required extra copy of promise.js 2018-06-27 19:29:23 +03:00
wolfbeast 23d70a95d8 Reorganize some internal pages. 2018-06-27 17:27:40 +02:00
JustOff 6f97479367 [PALEMOON] Use Promises.jsm instead of promise.js from jetpack in sanitize.js 2018-06-27 17:29:02 +03:00
wolfbeast ef29d0a300 Enable Intersection Observers in the platform.
This resolves #249.
2018-06-27 16:01:59 +02:00
wolfbeast 8b71cda195 Stabilize and align Intersection Observers
- Fixes several crashes
- Aligns the feature with the W3C WD spec

Tag #249
2018-06-27 16:00:53 +02:00
Moonchild 9168a0fc95 Merge pull request #554 from MoonchildProductions/issue12
Resolve potential null deref crashes in the editor
2018-06-27 14:10:49 +02:00
SpockMan02 6151dca6ea Undo Mozilla Bug 1302937; Reinstate -moz-mac-lion-theme media query 2018-06-27 03:25:34 -07:00
Moonchild a3724697dc Merge pull request #551 from janekptacijarabaci/toolkit_restart_normally_2
"about:support" - added support for "Restart normally"
2018-06-27 10:25:15 +02:00
Matt A. Tobin 2d8e325fbd [WebExAM] Remove E10SAddonsRollout.jsm
The associated preferences will have to remain for the time being because of nsAppRunner.cpp reads them.
2018-06-26 17:34:01 -04:00
Matt A. Tobin cacc5283c0 [WebExAM] Remove unused AddonTestUtils.jsm 2018-06-26 17:06:36 -04:00
Matt A. Tobin c7abad7520 [AllAM] Preprocess extensions.dtd to exclude WebExAM-only strings 2018-06-26 16:22:58 -04:00
Matt A. Tobin fd4f7960e5 Cleanup WebExAM test dependencies 2018-06-26 16:21:28 -04:00
Matt A. Tobin eda567b364 [AllAM] Remove Mozilla Tests 2018-06-26 16:09:08 -04:00
Matt A. Tobin 80eb356d57 [AllAM] De-duplicate Locales 2018-06-26 15:35:33 -04:00
Matt A. Tobin bde02587cd [AllAM] De-duplicate blocklist.js, list.js, newaddon.js, and xpinstallConfirm.js 2018-06-26 15:15:09 -04:00
Matt A. Tobin 5127922450 [AllAM] De-duplicate amContentHander.js 2018-06-26 15:13:40 -04:00
janekptacijarabaci a05046a4d2 Fix throws an error if "winUtils.supportsHardwareH264Decoding" not available
After "Restart normally" - throws an error:
Troubleshoot data provider failed: graphics
[Exception... "Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIDOMWindowUtils.supportsHardwareH264Decoding]"  nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)"  location: "JS frame :: resource://gre/modules/Troubleshoot.jsm :: graphics :: line 348"  data: no]  Troubleshoot.jsm:155
TypeError: invalid 'in' operand data  aboutSupport.js:204:1
2018-06-26 21:10:31 +02:00
Matt A. Tobin 431fe926e0 [AllAM] De-duplicate ChromeManifestParser.jsm and DeferedSave.jsm 2018-06-26 14:43:25 -04:00
janekptacijarabaci e240469e72 "about:support" - added support for "Restart normally"
https://github.com/MoonchildProductions/Pale-Moon/pull/1093 (partially)
2018-06-26 20:20:43 +02:00
Matt A. Tobin 2ec54f1e95 [AllAM] De-duplicate Content.js 2018-06-26 14:17:23 -04:00
Matt A. Tobin cb31466907 Merge branch 'master' into am-work 2018-06-26 14:04:13 -04:00
Matt A. Tobin 015922d371 Make the Error Console accessible from about:console and make it presentable in that context 2018-06-26 14:02:33 -04:00
Matt A. Tobin baf849c626 Revert "Make the Error Console accessible from about:console"
This reverts commit bbbb74e5f0.
2018-06-26 13:56:27 -04:00
Matt A. Tobin 02d374dbe6 Revert "Move the Error Console search box to the eval toolbar"
This reverts commit 2cdd998f8d.
2018-06-26 13:55:58 -04:00
Matt A. Tobin 074ebe60a4 [AllAM] De-duplicate AddonLogging.jsm 2018-06-26 13:54:36 -04:00
janekptacijarabaci 8207d755f1 [BASILISK] Unify strings for "Restart in Safe Mode" (with toolkit - "about:profiles" and "about:support")
https://github.com/MoonchildProductions/Pale-Moon/issues/1563
2018-06-26 19:50:48 +02:00
Matt A. Tobin 2cdd998f8d Move the Error Console search box to the eval toolbar 2018-06-26 13:43:46 -04:00
janekptacijarabaci e906ffafbb "about:profiles" and "about:support" - use "Restart in Safe Mode" instead of "Restart with Add-ons Disabled"
https://github.com/MoonchildProductions/Pale-Moon/issues/1563
2018-06-26 19:43:21 +02:00
Matt A. Tobin bbbb74e5f0 Make the Error Console accessible from about:console 2018-06-26 13:23:24 -04:00
Matt A. Tobin 1d152bb9f4 Merge branch 'am-work' 2018-06-26 12:30:32 -04:00
Matt A. Tobin 3d4aa3593d [WebExAM] Unify the AddonUpdateChecker 2018-06-26 12:27:43 -04:00
Matt A. Tobin e8271c4352 [TychoAM] Make sure console messages from AddonUpdateChecker indicate which parser they originate from 2018-06-26 12:15:55 -04:00
wolfbeast 783b60aae1 Issue #12 Part 5: WidgetEvent shouldn't mark event as consumed if it's not cancelable.
Currently, EventListenerManager calls WidgetEvent::PreventDefault() when the status is nsEventStatus_eConsumeNoDefault.
That causes an unexpected state of events.
To solve this, WidgetEvent should do nothing when it's not cancelable but PreventDefault() is called.
2018-06-26 14:07:51 +02:00
wolfbeast 8a8f0df358 Issue #12 Part 4: Don't access mEditorBase directly.
EditorEventListener should grab mEditorBase in a smaller scope wherever possible and shouldn't access it directly while handling an event.
Each event listener method shouldn't access mEditorBase directly when calling its method since it might be changed to another instance.
2018-06-26 14:05:33 +02:00
wolfbeast 6aa47456c3 Issue #12 Part 3: EditorEventListener should check if it's removed during a call of editor's method.
EditorEventListener doesn't check if mEditorBase is available even after it's removed from the editor.
If it becomes nullptr, i.e., it's detached from editor, it shouldn't continue to handle event.

This patch changes some methods' nsIDOM*Event argument to WidgetEvent since it's simpler.
2018-06-26 13:55:33 +02:00
wolfbeast a7bc62dcfe Issue #12 Part 2: Stop using nsIDOMEvent in IsAcceptableInputEvent. 2018-06-26 13:53:12 +02:00
wolfbeast 783f57d74b Issue #12 Part 1: Stop using nsIDOMEvent in UpdateIMEComposition. 2018-06-26 13:26:07 +02:00
Matt A. Tobin 6ee479e3db Merge branch 'am-work' 2018-06-25 18:41:07 -04:00
Matt A. Tobin ad7e351031 [TychoAM] Issue #409 - Upgrade and enhance AddonUpdateChecker including support for update.json 2018-06-25 18:39:50 -04:00
Moonchild a219152bdd Merge pull request #547 from adeshkp/patch-7
Rewrite assert in alsa_refill_stream to pass back a cubeb error instead.
2018-06-25 21:39:21 +02:00
adeshkp 121434f6f7 Rewrite assert in cubeb_alsa.c: alsa_refill_stream to pass back a cubeb error instead. 2018-06-25 17:36:08 +00:00
Matt A. Tobin 593835e861 [AllAM] Update the target preference 2018-06-25 12:24:13 -04:00
Matt A. Tobin 0c5d7a92f1 [AllAM] Effectively revert Bug 521905 - Make extensions.checkCompatibility be per-application-version 2018-06-25 11:10:36 -04:00
Matt A. Tobin 04005f5cf1 [AllAM] Revert Bug 956990 - PREF_CHECKCOMAT_THEMEOVERRIDE 2018-06-25 11:01:43 -04:00
Moonchild 5a559eb6c9 Merge pull request #545 from janekptacijarabaci/devtools_eyedropper_slow_1
DevTools - Eyedropper Tool - Used "createImageBitmap(canvas.toBlob())" instead of "createImageBitmap(ctx.getImageData())"
2018-06-25 16:26:13 +02:00
Moonchild 03e667b388 Merge pull request #546 from JustOff/PR_locale_updates2
Misc en-US locale updates and fixes
2018-06-25 16:25:15 +02:00
JustOff 2c85822add Replace Firefox with "the browser" in webide.properties. 2018-06-25 16:10:19 +03:00
JustOff 80fc068356 Remove unused strings after #525 2018-06-25 16:07:54 +03:00
wolfbeast a0147e9567 Bump Pale Moon to beta. 2018-06-25 11:17:17 +02:00
wolfbeast 9ac9865817 Remove docshell contract for about:webrtc
Follow-up to 9755c93cff
Tag #536
2018-06-25 00:46:08 +02:00
wolfbeast 9755c93cff Make about:webrtc conditional.
This resolves #536
2018-06-24 23:57:19 +02:00
janekptacijarabaci 0d89d668e4 DevTools - Eyedropper Tool - Used "createImageBitmap(canvas.toBlob())" instead of "createImageBitmap(ctx.getImageData())"
Issue #544
2018-06-24 20:33:07 +02:00
wolfbeast 277fa0afdc Remove unwanted newtab page code
- Get rid of "enhanced" suggested/sponsored tiles in about:newtab
- Remove "compact view"
2018-06-24 18:40:23 +02:00
Moonchild bc0df4c3a5 Merge pull request #543 from janekptacijarabaci/cookies_logins_1
Preferences - Cookies / Saved Passwords - "Remove..." button should not be active if there are no items; "onselect" is not fired twice
2018-06-24 14:12:10 +02:00
Moonchild 364a399fc1 Merge pull request #540 from janekptacijarabaci/security_csp_script_redirect_1
Fix CSP: Scripts with valid nonce should not be blocked if URL redirects
2018-06-24 14:11:54 +02:00
wolfbeast 574156323b Prevent various location-based hazards. 2018-06-24 13:41:23 +02:00
janekptacijarabaci 491fc99b92 Preferences - Show Cookies - <tree onselect>/"onCookieSelected" is not fired twice 2018-06-24 12:25:14 +02:00
janekptacijarabaci 640f9ed3a5 Preferences - Show Cookies - "Remove Selected" button should not be active if there are no items 2018-06-24 12:20:08 +02:00
janekptacijarabaci 1f50e1c476 Preferences - Saved Passwords - "Remove" button should not be active if there are no items 2018-06-24 12:18:48 +02:00
wolfbeast 83be316ca4 Restrict web access to moz-icon:// scheme
This resolves #542
2018-06-24 11:12:28 +02:00
Moonchild d819da37b0 Merge pull request #538 from trav90/code-cleanup
Remove GCC 4.8 workaround in libopus
2018-06-24 03:01:49 +02:00
trav90 949b2ebd16 Remove GCC 4.8 workaround in libopus
This patch removes a workaround when building for ARM platforms using GCC 4.8 (which we no longer support).
2018-06-23 19:50:16 -05:00
Moonchild 0501ac9b4b Merge pull request #537 from janekptacijarabaci/build_error_1
Build - fix "ERROR: preprocessor was not applied to aboutRights.xhtml"
2018-06-24 02:31:52 +02:00
janekptacijarabaci dcabdf8269 Build - fix "ERROR: preprocessor was not applied to aboutRights.xhtml" 2018-06-23 23:04:10 +02:00
Moonchild 696b7d3f9f Merge pull request #532 from janekptacijarabaci/toolkit_create-new-profile_error_1
Toolkit - Fix throws an error from "Create a New Profile"
2018-06-23 22:52:34 +02:00
wolfbeast 1dfd7afd48 Fix about:rights dependencies for Safe Browsing.
This resolves #533.
2018-06-23 21:50:01 +02:00
Moonchild 89ee89f141 Merge pull request #535 from janekptacijarabaci/about_telemetry_error_1
Fix throws an error on "about:telemetry"
2018-06-23 19:04:43 +02:00
janekptacijarabaci 29f434c03c Fix throws an error on "about:telemetry" 2018-06-23 18:37:27 +02:00
janekptacijarabaci 883b156dd1 Toolkit - Fix throws an error from Create a New Profile
Issue #531
2018-06-23 15:03:07 +02:00
Moonchild 362bb20730 Merge pull request #530 from Lootyhoof/close-icon
Add new close icons and make current icons Basilisk-specific
2018-06-23 14:26:57 +02:00
janekptacijarabaci 0097345ad9 Bug 1469150 - CSP: Scripts with valid nonce get blocked if URL redirects is fixed (follow up) 2018-06-23 04:30:08 +02:00
janekptacijarabaci d413e1fb87 Bug 1469150 - Tests added to check scripts with valid nonce is allowed if URL redirects (follow up) 2018-06-23 04:29:34 +02:00
Lootyhoof 87eaf44104 Add new close icons and make current icons Basilisk-specific 2018-06-22 22:30:54 +01:00
wolfbeast f583627901 Improve newtab styling
- De-duplicate controls
- Improve title text position
- Improve pinned site indicator
2018-06-22 16:53:06 +02:00
Moonchild 5f5523bffd Merge pull request #528 from g4jc/remove_browser_ui_telemetry
backport mozbug 1453667: Remove BrowserUITelemetry from Basilisk application
2018-06-22 13:03:45 +02:00
Moonchild 4b65237d5d Merge pull request #525 from MoonchildProductions/newtab-page-work
Newtab page work
2018-06-22 12:55:34 +02:00
wolfbeast 576124e629 Reinstate erroneously removed line. 2018-06-22 12:44:10 +02:00
wolfbeast be93f4a38f Prevent the Quickdial page from stealing focus from the address bar. 2018-06-22 12:14:05 +02:00
wolfbeast cadeea97bb Be more explicit about which browser content object is focused and when. 2018-06-22 12:13:20 +02:00
wolfbeast 65c98eda36 Update jar manifest for removed files. 2018-06-22 11:44:31 +02:00
wolfbeast 3ba661214d Remove unused files. 2018-06-22 11:26:17 +02:00
Gaming4JC e3719ec517 Remove BrowserUITelemetry from Basilisk application 2018-06-21 20:09:48 -04:00
janekptacijarabaci c1315412cc Bug 1469150 - CSP: Scripts with valid nonce get blocked if URL redirects
https://bugzilla.mozilla.org/show_bug.cgi?id=1469150
2018-06-21 20:57:09 +02:00
janekptacijarabaci 3f8a6e2552 CSP: Support for "LoadInfo::GetLoadingContext" and "LoadInfo::GetLoadingContextXPCOM()"
https://bugzilla.mozilla.org/show_bug.cgi?id=1439713 (partially)
2018-06-21 20:56:16 +02:00
New Tobin Paradigm e6f765a270 Merge pull request #526 from trav90/HSTS-preload-list
Update HSTS preload list
2018-06-21 07:05:15 -04:00
trav90 ba241f0825 Update HSTS preload list
Tag #447
2018-06-21 05:29:04 -05:00
wolfbeast b3fd353723 Issue #517 Part 7: Remove enhanced/sponsored links styling and page code 2018-06-21 12:13:12 +02:00
wolfbeast 072b81e0a5 Issue #517 Part 6: Restyle for Pale Moon.
This splits out common rules for different OSes to themes/shared and
applies new styling to the newtab page.
2018-06-21 11:32:13 +02:00
wolfbeast 79ad98f406 Fix typo. 2018-06-21 11:04:25 +02:00
wolfbeast 5d63c967f3 Issue #517 Part 5b: Remove configuration styles + leftovers. 2018-06-21 10:49:24 +02:00
wolfbeast 6caf73c8ce Issue #517 Part 5: Remove configuration menu 2018-06-21 00:54:09 +02:00
wolfbeast a593509d52 Issue #517: Remove leftover contentSearch include. 2018-06-21 00:53:29 +02:00
wolfbeast 7d3b69729b Fix SSL status ambiguity.
- Adds CipherSuite string with the full suite
- Changes CipherName to be the actual cipher name instead of the (erroneous) full suite like Firefox does.
2018-06-20 19:14:58 +02:00
wolfbeast 5c0b3b7d32 Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2018-06-20 18:50:55 +02:00
wolfbeast 475728c698 The Tomato's #507. 2018-06-20 18:50:33 +02:00
Moonchild cd9709ff56 Merge pull request #523 from JustOff/PR_locale_regressions
Fix misc regressions in en-US locale
2018-06-20 18:46:09 +02:00
wolfbeast b5ef99dc4c Issue #517 Part 4: Fix tile pinning 2018-06-20 17:57:59 +02:00
wolfbeast c850e5ab02 Issue #517 Part 3b: Remove compact style pref 2018-06-20 17:46:33 +02:00
wolfbeast bcb0bf1c10 Issue #517 Part 3: Remove compact style 2018-06-20 17:44:20 +02:00
JustOff 00e1f4f566 Fix misc regressions in en-US locale 2018-06-20 18:36:56 +03:00
wolfbeast dd55381507 Remove Google logo from about:home search bar internals. 2018-06-20 16:28:55 +02:00
wolfbeast 56ddb90de1 Issue #517 Part 1: Fix newtab Search 2018-06-20 16:27:18 +02:00
wolfbeast 856d0c991c Issue #517 Part 1: Import newtab page from Basilisk (sans directory service provider module) 2018-06-19 19:44:40 +02:00
Moonchild 2546ae588f Merge pull request #520 from janekptacijarabaci/pm_permissions_clean-up_name-functions_1
[PALEMOON] Remove named function syntax in aboutPermissions.js
2018-06-19 11:47:16 +02:00
Moonchild ca40a51198 Merge pull request #519 from janekptacijarabaci/pm_permissions_2
[PALEMOON] Fix "Permissions Manager" and "Remove All Cookies"
2018-06-19 11:46:40 +02:00
Moonchild 44df810335 Merge pull request #518 from janekptacijarabaci/pm_permissions_1
[PALEMOON] Fix "Permissions Manager" and get cookies
2018-06-19 11:46:15 +02:00
wolfbeast 7c6b5329c0 Fix typo in newtab transformations.js 2018-06-19 11:43:52 +02:00
wolfbeast d84b169e75 Stop using old-style promises module in about:newtab.
- Rewrite to arrow functions.
- Stop using .defer and .promised

Tag #517.
2018-06-19 11:43:12 +02:00
janekptacijarabaci b054fd689e [PALEMOON] Remove named function syntax in aboutPermissions.js
Issue #516
2018-06-19 10:45:48 +02:00
janekptacijarabaci ade2634f6e [PALEMOON] Fix "Permissions Manager" and "Remove All Cookies"
Follow up #273
2018-06-19 10:33:56 +02:00
janekptacijarabaci 7c1e280147 [PALEMOON] Fix "Permissions Manager" and cookies
Follow up #273
2018-06-19 10:13:35 +02:00
Moonchild e7b69b29df Merge pull request #515 from JustOff/PR_devtools_strings
Correct the browser and platform names in DevTools
2018-06-19 02:48:56 +02:00
JustOff 9a19018b37 Add extra Firefox -> browser changes in webide.properties 2018-06-18 19:18:52 +03:00
JustOff 2ab4d666fb Correct the browser and platform names in devtools\client 2018-06-18 18:51:16 +03:00
Moonchild 34302180b3 Merge pull request #509 from janekptacijarabaci/context-menu_save-link-as_principal_1
Added "nsIContentPolicy::TYPE_SAVEAS_DOWNLOAD": The context menu - "Save Link As" feature should use the loading principal instead of the system principal
2018-06-18 13:22:25 +02:00
Moonchild 4ee1656d4a Merge pull request #514 from janekptacijarabaci/pm_findbar_4
[PALEMOON] Fix Findbar: The context menu - "View Page Source"
2018-06-18 13:18:16 +02:00
janekptacijarabaci 63b10a9b4f [PALEMOON] Findbar - added the listener also to tabbrowser.xml, remove "_fastFind", a better focus() for the method "updateCurrentBrowser"
Issue #513
2018-06-18 12:21:28 +02:00
janekptacijarabaci 38f30cdf75 [PALEMOON] Findbar - remove unnecessary code (Findbar is no longer in the gBrowser)
Issue #513
2018-06-18 12:21:11 +02:00
janekptacijarabaci 22f7e8f8a7 nsIContentPolicy: Numbers should not be omitted in nsIContentPolicyBase.idl, rewrite uuid 2018-06-18 00:52:04 +02:00
janekptacijarabaci aebdb991f4 nsIContentPolicy: Their order (in nsIContentPolicyBase.idl) must be retained in nsContentBlocker.cpp 2018-06-18 00:49:45 +02:00
wolfbeast d608016c32 Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2018-06-17 23:55:19 +02:00
wolfbeast 982fd4ba12 [BASILISK] Align ChromeUI identity box label color with Basilisk branding.
This resolves #484
2018-06-17 23:54:52 +02:00
janekptacijarabaci 6e567403cb Added Ci.nsIContentPolicy.TYPE_SAVEAS_DOWNLOAD to next files 2018-06-17 14:20:50 +02:00
janekptacijarabaci 6dd31012f0 Rewrite uuid for ContentPolicy 2018-06-17 14:15:53 +02:00
janekptacijarabaci 3cf5a82600 [PALEMOON] Fix "loadingPrincipal" in nsContextMenu.js 2018-06-17 13:14:07 +02:00
janekptacijarabaci 8eb2350e4f Remove a comment in nsContextMenu.js 2018-06-17 10:32:41 +02:00
janekptacijarabaci e357dfa9b1 Fix typo in nsContentPolicyUtils.h 2018-06-17 10:12:34 +02:00
janekptacijarabaci bf9d01df16 Bug 1430758 - No CSP directive for nsIContentPolicy::TYPE_SAVEAS_DOWNLOAD 2018-06-17 09:43:40 +02:00
janekptacijarabaci 07ee0792c9 Bug 1398229 - Save-link-as feature should use the loading principal - implementation of nsIContentPolicy.TYPE_SAVE_AS_DOWNLOAD 2018-06-17 09:35:48 +02:00
janekptacijarabaci 1f6068bc69 Bug 1398229 - Save-link-as feature should use the loading principal - context menu using nsIContentPolicy.TYPE_SAVE_AS_DOWNLOAD 2018-06-17 09:29:53 +02:00
Moonchild 5a50a171b9 Merge pull request #500 from trav90/uaoverrides-basilisk
[BASILISK] Add UA overrides for YouTube Live
2018-06-16 12:36:12 +02:00
Moonchild d25a51c8e3 Merge pull request #501 from trav90/uaoverrides-palemoon
[PALEMOON] Remove UA override for Google Fonts
2018-06-16 11:45:41 +02:00
Moonchild d6d968f7b9 Merge pull request #503 from janekptacijarabaci/pm_findbar_4_sanitize
[PALEMOON] Sanitize - "Form and search history" sanitize also the Findbar text and history (Ctrl-Z)
2018-06-16 11:45:02 +02:00
Moonchild ce2aae2816 Merge pull request #504 from janekptacijarabaci/devtools_locales_scratchpad_typos-in-comments_1
Fix typos in comments - scratchpad.properties
2018-06-16 11:44:45 +02:00
wolfbeast 4183d67423 Increase max size for GDI classic forced families.
Set the maximum size at which we will force GDI classic mode using
force_gdi_classic_for_families to 17 to prevent some known font
artifacts using d2d.
2018-06-16 01:35:13 +02:00
janekptacijarabaci bcaa292a2a Fix typos in comments - scratchpad.properties 2018-06-15 20:17:43 +02:00
janekptacijarabaci a97887a677 [PALEMOON] Sanitize - "Form and search history" sanitize also the Findbar text and history (Ctrl-Z)
Issue #502
2018-06-15 20:11:19 +02:00
trav90 5c5bac3508 [PALEMOON] Remove UA override for Google Fonts 2018-06-15 12:53:11 -05:00
trav90 65cd3df1b7 [BASILISK] Add UA overrides for YouTube Live 2018-06-15 12:44:48 -05:00
wolfbeast ec2e3bc027 Move native UA compatmode out of branding into app prefs. 2018-06-15 18:36:26 +02:00
Moonchild 6769a48cd4 Merge pull request #498 from adeshkp/patch-6
Add UA mode for unofficial branding
2018-06-15 18:22:11 +02:00
wolfbeast 0b2ad9c9dd Merge branch 'findbar-pertab' 2018-06-15 18:20:24 +02:00
wolfbeast 333142b5af Transfer findbar data to torn-off tabs. 2018-06-15 17:52:59 +02:00
adeshkp b336ab494c Add UA mode for unofficial branding 2018-06-15 15:12:32 +00:00
wolfbeast f54f002abc Add a nullcheck in DOMProxyHandler::EnsureExpandoObject jic. 2018-06-15 14:03:56 +02:00
Matt A. Tobin 129e3c1dbf Clang needs a trailing new line in intl/hyphenation/glue/hnjstdio.cpp 2018-06-14 15:28:51 -04:00
Moonchild 75d6d32bda Merge pull request #497 from janekptacijarabaci/toolkit_troubleshot_pp_2
Remove appConstants usage from Troubleshoot.jsm (follow up)
2018-06-14 17:42:24 +02:00
janekptacijarabaci 386c28be53 Remove appConstants usage from Troubleshoot.jsm (follow up)
Tags:
#65
#494 (follow up)
2018-06-14 03:42:25 +02:00
janekptacijarabaci 2e27360368 Revert "Add a next preprocessing to Troubleshot.jsm"
This reverts commit 6ac05db3d6.
2018-06-14 03:37:43 +02:00
Moonchild 8db9882b68 Merge pull request #494 from janekptacijarabaci/toolkit_troubleshot_pp_1
Remove appConstants usage from Troubleshoot.jsm
2018-06-13 23:24:42 +02:00
Moonchild faa4a1c44f Merge pull request #493 from janekptacijarabaci/toolkit_version_architecture_1
Add architecture detection to "about:" and "about:support"
2018-06-13 23:23:55 +02:00
Moonchild b2cb042783 Merge pull request #495 from JustOff/PR_jxr_clear_accept
[PALEMOON] Remove `image/jxr` from `image.http.accept` until JPEG-XR decoder is implemented
2018-06-13 23:23:40 +02:00
JustOff 3feeaf2098 [PALEMOON] Remove image/jxr from image.http.accept until JPEG-XR decoder is implemented 2018-06-13 23:45:44 +03:00
janekptacijarabaci 6ac05db3d6 Add a next preprocessing to Troubleshot.jsm
Issue #65 (partially)
2018-06-13 17:40:52 +02:00
janekptacijarabaci e08b25667f Add architecture detection to "about:" and "about:support"
Issue #492
2018-06-13 17:31:46 +02:00
wolfbeast 27a19a1464 Revert "Disable WebP decoder until memory leak is resolved"
This reverts commit 7336eef241.
2018-06-13 14:42:55 +02:00
wolfbeast 05e8038c08 Free the decoded image buffer before deleting the WebP decoder.
This should solve #483.
2018-06-13 13:45:56 +02:00
wolfbeast c9320b71b3 Stop making the version text selectable in the about box.
This resolves #478.
2018-06-13 13:27:40 +02:00
Moonchild 660042b0a9 Merge pull request #471 from janekptacijarabaci/pm_move_permissions_1
[PALEMOON] Moving About permissions component files from components/preferences/ to components/permissions/
2018-06-12 22:38:42 +02:00
JustOff 7a1e7c8277 Fix incorrect preprocessor defines for safebrowsing 2018-06-12 22:31:41 +02:00
JustOff 7336eef241 Disable WebP decoder until memory leak is resolved 2018-06-12 22:31:20 +02:00
wolfbeast 9d5f6da70b Belated clobber for PR #477 2018-06-12 22:21:32 +02:00
wolfbeast fb291846a5 Minimal easy fix -- move findbar getters to tabbrowser.
Resolves #487
2018-06-12 22:05:07 +02:00
wolfbeast 518f95c2ba Use newer asyncFetch() instead of asyncFetch2() in LWT image optimizer.
This resolves #485.
2018-06-12 14:57:51 +02:00
Moonchild 6df453dbfc Merge pull request #481 from janekptacijarabaci/pm_update-links_unstable_1
[suggestion] [PALEMOON] Unstable releases - fix some links on Linux
2018-06-12 00:59:06 +02:00
Moonchild b0f5f9bc6b Merge pull request #477 from JustOff/PR_nss-3.36
Update NSS/NSPR to 3.36.4/4.19
2018-06-12 00:58:35 +02:00
janekptacijarabaci b005cf346d [suggestion] [PALEMOON] Unstable releases - fix some links on Linux
Issue #480
2018-06-11 20:37:14 +02:00
JustOff 505a561549 Update build system files for NSRP and NSS 2018-06-11 16:43:35 +03:00
JustOff f83f62e1bf Update NSS to 3.36.4-RTM 2018-06-11 16:42:50 +03:00
JustOff 75323087ae Update NSPR to 4.19 2018-06-11 16:42:09 +03:00
Moonchild b1d82a6225 Merge pull request #474 from JustOff/PR_dnt_two_state
[PALEMOON] Change the three-state DoNotTrack controls to a simple on/off switch
2018-06-11 14:42:11 +02:00
Moonchild bcb73db295 Merge pull request #475 from janekptacijarabaci/pm_package_bustage_devtools_disable_1
[PALEMOON] Fix package bustage if devtools is disabled
2018-06-11 14:41:17 +02:00
janekptacijarabaci 405642d633 [PALEMOON] Fix package bustage if devtools is disabled
Issue #102
2018-06-11 13:06:23 +02:00
JustOff a250b46a0b [PALEMOON] Change the three-state DoNotTrack controls to a simple on/off switch 2018-06-11 13:46:22 +03:00
wolfbeast 24f8b2fd5e Stop also selecting trailing space when word-selecting.
This resolves #472.
2018-06-11 10:35:39 +02:00
janekptacijarabaci f3e445f6e8 [PALEMOON] Moving About permissions component files from components/preferences/ to components/permissions/
Issue #191
2018-06-11 09:52:55 +02:00
Moonchild 27783db85a Merge pull request #469 from JustOff/PR_SB_DoNotTrack
[BASILISK] Remove tracking protection controls from the UI if safebrowsing isn't built
2018-06-10 20:46:30 +02:00
JustOff 7128f0d21d [BASILISK] Hide tracking protection title from aboutPrivateBrowsing if safebrowsing isn't built 2018-06-10 19:17:16 +03:00
JustOff 66077e6cfc [BASILISK] Hide tracking protection description from aboutPrivateBrowsing if safebrowsing isn't built 2018-06-10 19:08:18 +03:00
JustOff 15ae6f885b [BASILISK] Remove tracking protection controls from aboutPrivateBrowsing if safebrowsing isn't built 2018-06-10 19:01:51 +03:00
JustOff 6a9562e5a5 [BASILISK] Remove tracking protection controls from the UI if safebrowsing isn't built 2018-06-10 15:56:51 +03:00
JustOff a0cca670db By default, disable tracking protection in Private Browsing mode if safebrowsing isn't built 2018-06-10 15:56:01 +03:00
wolfbeast 25f9c54ade Bump version to Alpha 4. 2018-06-10 00:51:26 +02:00
wolfbeast 78721fe68a Set Pale Moon Sync specific URLs in application shared prefs.
Tag #468.
2018-06-10 00:45:25 +02:00
Moonchild 3a863bece7 Merge pull request #465 from janekptacijarabaci/pm_sync_strings_1
[PALEMOON] [frontend vs backend] Sync - add missed strings in sync.properties
2018-06-09 12:50:36 +02:00
Moonchild 01f85b1bd8 Merge pull request #466 from janekptacijarabaci/pm_sync_quota_1
[PALEMOON] Sync - fix quota.js (SyntaxError: missing ] after element list)
2018-06-09 12:50:18 +02:00
wolfbeast 16e2a93396 Use a pref for supported Sync server API levels 2018-06-09 11:45:32 +02:00
janekptacijarabaci 95ce3a60f0 [PALEMOON] [frontend vs backend] Sync - add missed strings in sync.properties
Issue #308
2018-06-09 07:57:56 +02:00
janekptacijarabaci bc8718feda [PALEMOON] Sync - fix quota.js (SyntaxError: missing ] after element list)
Issue #308
2018-06-09 07:55:51 +02:00
Moonchild ca8d6d0105 Merge pull request #463 from JustOff/PR_pippki_strings
[PALEMOON] Add missed strings required by page info
2018-06-08 22:31:04 +02:00
JustOff b1ddd8a8af [PALEMOON] Add missed strings required by page info 2018-06-08 19:10:23 +03:00
wolfbeast fcf214cb3b Partially disentangle FxA from Weave so Pale Moon Sync can work. 2018-06-08 17:12:45 +02:00
wolfbeast 5182fe0455 Make sure the waiting message is actually displayed. 2018-06-08 16:31:11 +02:00
wolfbeast d7beb75aa8 Media: harden TrackID handling. 2018-06-07 16:04:56 +02:00
Valentin Gosu 271f1ef600 Sanity-check in nsStandardURL::Deserialize(). r=mayhemer, a=RyanVM
Also add test for faulty nsStandardURL deserialization.

See Bug 1392739.
2018-06-07 15:58:59 +02:00
Boris Zbarsky fa47c8d427 Bug 1464784 - Hold a strong ref to the document in callers of ConvertNodesOrStringsIntoNode. r=smaug, a=abillings 2018-06-07 15:55:55 +02:00
jgilbert@mozilla.com 887e2c8b19 Bug 1458264 - Reset UNPACK_SKIP vars when uploading zeros. 2018-06-07 15:55:02 +02:00
wolfbeast cd4da92df4 Improve the SSSE3 scaler. 2018-06-07 15:53:37 +02:00
Nicolas B. Pierron f3657d6b4d Bug 1464829 - Ensure the recover instruction vector has the expected size. 2018-06-07 15:50:32 +02:00
Olli Pettay c631245c9c Bug 1459693 - Ensure the right anonymous element is focused when calling input.focus(). 2018-06-07 15:48:33 +02:00
Jon Coppeard c951c985c1 Bug 1465108 - Use function pointers rather than virtual run method for GC parallel tasks r=sfink a=abillings a=RyanVM 2018-06-07 15:46:49 +02:00
wolfbeast f13b39a773 Fix count of compacting update tasks started. 2018-06-07 15:41:21 +02:00
Moonchild 306f3865cc Merge pull request #461 from trav90/HSTS
Improve HSTS preload list generation
2018-06-07 15:03:27 +02:00
wolfbeast 32ccd283f6 Update kiss-fft to 1.4.0 and disable OpenMP for it. 2018-06-07 14:54:20 +02:00
trav90 e370a636ba [PALEMOON] Update the pref name for HSTS
This aligns the pref name for Pale Moon with what is used in the platform.
2018-06-07 07:45:16 -05:00
trav90 b789cbe5c1 Regenerate the HSTS preload list 2018-06-07 07:21:38 -05:00
wolfbeast 240f52db8e Reinstate string.prototype.contains()
This adds a compatibility function aliased to string.prototype.includes().
2018-06-07 13:26:01 +02:00
Moonchild c8f1b9fc6c Merge pull request #459 from janekptacijarabaci/pm_findbar_2
[PALEMOON] Fix the Findbar - open when you press "/" or "'" keys after start of browser
2018-06-07 12:37:43 +02:00
wolfbeast 440ed92f38 string.contains() => string.includes() 2018-06-07 08:52:45 +02:00
wolfbeast 0e550f2fb9 Refactor structured clone JSAPI to prevent mismatched scopes.
Roll-up of bugs 1442722, 1455071, 1433642, 1456604 and 1458320.
2018-06-07 08:52:09 +02:00
Pale Moon 835749ed6d Perform some sanity checks on nsMozIconURI. 2018-06-07 06:24:53 +02:00
Kris Maglione dc33e92070 Bug 1450688. r=bz, a=RyanVM
MozReview-Commit-ID: 4KHNpxiziWd

--HG--
extra : source : 008cc230b68fa2bf349923159b4a6e07768e56e5
extra : intermediate-source : 983ff6a90aae872383d52d5189396a47f3db7d17
2018-06-07 06:23:01 +02:00
wolfbeast bd0e550e63 Account for offsets when creating buffers for image textures. 2018-06-07 06:21:57 +02:00
Lee Salzman e810c8a5c0 Bug 1462682 - Skia path bounds rounding fix. r=rhunt, a=RyanVM 2018-06-07 06:18:58 +02:00
wolfbeast cd96ca11cd Fix build bustage.
Follow-up to f35bf8b65d
2018-06-07 06:14:18 +02:00
Jonathan Kew 01e8137368 Update dimensions early in ClearTarget. 2018-06-07 06:12:01 +02:00
Andrea Marchesini f35bf8b65d Bug 1459206 - Use FileSystemSecurity in ContentParent::RecvGetFilesRequest. r=ehsan, a=jcristau
--HG--
extra : rebase_source : 542dca7fe46dd965ecde4c8387685beaf20ec3de
2018-06-07 06:10:12 +02:00
Andrea Marchesini e597487f31 Bug 1452576 - Improve StructuredCloneHolder for fuzzy tests, r=decoder a=jcristau
--HG--
extra : rebase_source : eb2bc60ffcac9afd44da7a2f5c99913829cd4753
2018-06-07 06:09:07 +02:00
David Major 6b36aa089d Bug 1458270: Clean up in the shutdown observer. r=milan a=jcristau
--HG--
extra : amend_source : 7b1277a18a3ed4f441deef8b51cb4ec4dde614cc
2018-06-07 06:08:05 +02:00
janekptacijarabaci d48914545e Using "function()" in browser.js - consistency with the surrounding code
Issue #430
2018-06-07 05:32:41 +02:00
wolfbeast 63d3043689 Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2018-06-07 04:02:34 +02:00
wolfbeast ff901dc526 Change inlining of intrinsics. 2018-06-07 04:02:17 +02:00
Moonchild 99f072c632 Merge pull request #460 from g4jc/gtk_null_fix
backport mozbug #546387: fix assert failure in gtk which prints to the console
2018-06-07 03:18:16 +02:00
André Bargull 12e3ee7696 Update tzdata in ICU data files to 2018e. 2018-06-07 03:02:59 +02:00
Gaming4JC 8e9811c71b backport mozbug #546387: fix assert failure in gtk which prints to the console. 2018-06-06 19:29:03 -04:00
wolfbeast 4a71b30364 Merge branch 'NSS-335' 2018-06-06 21:27:04 +02:00
janekptacijarabaci d4e6ea04fd Fix a comment in browser.js (the FindBar - a tab vs the chrome window's context)
Issue #430
2018-06-06 18:58:12 +02:00
janekptacijarabaci 051495712c [PALEMOON] Fix the Findbar - open when you press "/" or "'" keys after start of browser
Issue #430
2018-06-06 18:46:50 +02:00
wolfbeast d7da727995 Set sync prefs. 2018-06-06 17:21:47 +02:00
wolfbeast a3a78d42f2 Fix for loop in Sync quota dialog. 2018-06-06 17:00:21 +02:00
trav90 cef7fcb377 Restore clearly-delimited format for the HSTS preload list 2018-06-06 08:30:34 -05:00
wolfbeast 2dad0ec41d Revert "Disable TLS 1.3 by default for now until our NSS can be updated to the latest spec."
This reverts commit 6c3f95480a.
2018-06-06 15:24:57 +02:00
JustOff 6603359347 Request NSS to use DBM as the storage file format 2018-06-06 15:24:07 +02:00
wolfbeast 6f84242a35 Revert "Restore NSS default storage file format to DBM when no prefix is given."
This reverts commit b2c78bbf83.
2018-06-06 15:23:14 +02:00
Moonchild fde9b45213 Merge pull request #458 from SpockMan02/patch-3
Issue #448: Pale Moon: Include pinned tabs when warning about closing…
2018-06-06 14:54:19 +02:00
wolfbeast 00dee2f05b Add a helper function in PlacesUIUtils.jsm to cater to HiDPI favicon display with #-moz-resolution=w,h 2018-06-06 14:24:03 +02:00
SpockFan02 cf15c230e5 Issue #448: Pale Moon: Include pinned tabs when warning about closing tabs with more than one window
This resolves #448.
2018-06-06 12:16:28 +00:00
trav90 3b7938d7a1 Increase concurrent lookups to 15 when generating HSTS preload list 2018-06-05 22:25:18 -05:00
trav90 a32e0cb8c7 Update HSTS preload list generation script
Previous behavior: if an entry was in the previously-used list, and there would be an error connecting to or processing the host, it would adopt it using the previous status, with a new minimum required max age TTL.
New behavior: if an entry is in the previously-used list, and there is an error connecting to or processing the host, it will be dropped from the preload list.

The old behavior would allow entries to persist on the HSTS preload list when they drop off the 'net. Considering domain churn, it would cause issues for new owners for having a persisted HSTS entry preloaded in the browser.
Bonus: it keeps our HSTS preload list lean.
2018-06-05 22:23:30 -05:00
wolfbeast b2c78bbf83 Restore NSS default storage file format to DBM when no prefix is given. 2018-06-05 22:38:40 +02:00
wolfbeast 3545238cc6 Update build system files for NSS 3.35 2018-06-05 22:24:37 +02:00
wolfbeast e10349ab8d Update NSS to 3.35-RTM 2018-06-05 22:24:08 +02:00
wolfbeast 75b3dd4cbf Update NSPR to 4.18 2018-06-05 22:23:36 +02:00
wolfbeast a421f38160 Port our stricter cookie gating.
This addresses the critical section of #449.
2018-06-05 15:49:53 +02:00
Moonchild e0058147fa Merge pull request #440 from janekptacijarabaci/pm_url_2
[PALEMOON] Fix "Open Web Location" (Ctrl-L/Alt-D) when nav toolbar hidden
2018-06-05 03:25:51 +02:00
Moonchild 669b017480 Merge pull request #442 from SpockMan02/patch-2
Fix a file path for macOS
2018-06-05 03:02:06 +02:00
SpockFan02 fd614f7ced Fix a file path for macOS
Tag #286
2018-06-05 00:59:02 +00:00
wolfbeast 5ede0a5d17 Fix Basilisk Mac window menu include path.
Tag #286
2018-06-05 02:54:55 +02:00
wolfbeast e63c8998c7 Fix incorrect Pale Moon installer locale paths. 2018-06-04 17:30:58 +02:00
wolfbeast e3b7744bee Merge branch 'move-basilisk' 2018-06-04 15:50:03 +02:00
wolfbeast cbce4f0b6a [PALEMOON] Bump version to Alpha 3 2018-06-04 15:40:14 +02:00
wolfbeast 031afcafe2 Issue #303 Part 3: Update themes for the new Basilisk location.
This also addresses #286.
2018-06-04 13:52:09 +02:00
wolfbeast 81a891179a Issue #303 Part 2: Update build files for the new location 2018-06-04 13:50:39 +02:00
wolfbeast a1be17c1ce Issue #303 Part 1: Move basilisk files from /browser to /application/basilisk 2018-06-04 13:17:38 +02:00
janekptacijarabaci 36e5eacbbf Remove an unnecessary comment when closing the dialog
Issue #434
2018-06-04 04:40:14 +02:00
janekptacijarabaci 0b381c1b36 Style clean up + fix typo
Issue #434
2018-06-04 04:31:15 +02:00
Moonchild bf11fdd304 Merge pull request #441 from janekptacijarabaci/pm_findbar_1
[PALEMOON] Fix the Findbar - open when you press "/" or "'" keys
2018-06-03 22:55:42 +02:00
janekptacijarabaci 8844b141bf [PALEMOON] Fix the Findbar - open when you press "/" or "'" keys
Issue #430
2018-06-03 20:11:54 +02:00
janekptacijarabaci 40ad43a8ad [PALEMOON] Fix "Open Web Location" (Ctrl-L/Alt-D) when nav toolbar hidden
Issue #434
2018-06-03 20:08:31 +02:00
wolfbeast 88e05fc523 Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2018-06-03 14:18:49 +02:00
wolfbeast 87d742b683 Revert "Reinstate tabMinWidth and tabMaxWidth prefs."
This reverts commit 6e8846622a.
2018-06-03 14:17:46 +02:00
New Tobin Paradigm 83394569a1 Merge pull request #436 from Ascrod/readerview
Update Readability from mozilla-central release branch (FF 60.0).
2018-06-03 08:07:20 -04:00
wolfbeast 963472201e Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2018-06-03 12:18:05 +02:00
trav90 2eeab8f39c Always build with SSE2 support when using GCC 2018-06-03 12:17:30 +02:00
Moonchild dd7046209e Merge pull request #433 from Ascrod/UITour
Remove SelfSupportBackend module.
2018-06-03 11:33:33 +02:00
Moonchild fcc1db69ed Merge pull request #429 from JustOff/PR_unpreprocessed_files
Check if there are any unpreprocessed files in '@MOZ_OBJDIR@/dist/bin'
2018-06-03 11:32:37 +02:00
Matt A. Tobin d89e339a5a [PALEMOON] Package helper.exe so Windows Shell Service actually works on a packaged product 2018-06-02 22:00:07 -04:00
Ascrod 984dad43ae Update Readability from mozilla-central release branch (FF 60.0). 2018-06-02 15:49:59 -04:00
JustOff 93774317fa Don't search for directives that are never used alone 2018-06-02 21:05:05 +03:00
Matt A. Tobin 7d9e2a1084 Add a check to prevent a crash when CSP directives are used with chrome content
Chrome content uses System Principle and this kind of speculative preloading of CSP just won't work.
2018-06-02 09:44:18 -04:00
Ascrod ca01936aaf Remove SelfSupportBackend module. 2018-06-01 20:28:01 -04:00
Moonchild 571b7cdbed Merge pull request #424 from Ascrod/UITour
Remove UITour
2018-06-02 01:34:01 +02:00
Moonchild d308bde8a3 Merge pull request #431 from trav90/updater-work
[PALEMOON] Enable update prefs in Unstable branding for Linux
2018-06-02 01:32:48 +02:00
wolfbeast 84d7317168 Move the MOZ_DISABLE_PRECOMPILED_STARTUPCACHE check. 2018-06-01 23:14:53 +02:00
Ascrod d38e7b7784 Remove unused code from SelfSupportBackend module. 2018-06-01 15:40:33 -04:00
trav90 d9984d9e52 [PALEMOON] Enable update prefs in Unstable branding for Linux 2018-06-01 12:27:50 -05:00
wolfbeast b25f1991c8 Partially revert safebrowsing commits to fix "tracking protection".
This resolves #425.
2018-06-01 16:52:16 +02:00
JustOff ced9c8b9df Refine the file extensions even more 2018-06-01 17:39:43 +03:00
wolfbeast d902268f64 Teach moz.configure about --enable-precompiled-startupcache 2018-06-01 15:39:51 +02:00
JustOff 6a28a5559e Update the list of directives and file extensions for check 2018-06-01 16:34:31 +03:00
Ascrod 04f7940bc2 Remove unneeded if condition from SelfSupportBackend module. 2018-06-01 08:21:25 -04:00
wolfbeast 13168ba15b Add build config option to disable startup cache precompilation.
This resolves #418.
2018-06-01 13:21:30 +02:00
Moonchild 6d9ebfac9a Merge pull request #427 from Ascrod/master
Remove duplicate ifdefs in browser-safebrowsing.js
2018-06-01 13:04:10 +02:00
Ascrod 3107ccaa32 Remove duplicate ifdefs in browser-safebrowsing.js 2018-05-31 23:09:27 -04:00
Ascrod d87c1ea739 Remove unused customization tip prefs. 2018-05-31 18:58:55 -04:00
Moonchild 271c7b598d Merge pull request #423 from Ascrod/Social
Remove unused social icons.
2018-06-01 00:57:57 +02:00
Moonchild ec3ddc2021 Merge pull request #421 from JustOff/PR_utilityOverlay_ShellService
[PALEMOON] Use ShellService.jsm to get the shell service in utilityOverlay.js
2018-06-01 00:56:58 +02:00
wolfbeast 69f7f9e5f1 Pre-process blocklists.js 2018-06-01 00:46:44 +02:00
wolfbeast 5df686e5b3 Pre-process blocklists.js 2018-06-01 00:46:07 +02:00
Ascrod d1a4cabf48 Remove tracking protection tour. 2018-05-31 18:37:37 -04:00
JustOff 0468922b50 Check if there are any unpreprocessed files 2018-06-01 00:54:53 +03:00
Ascrod b109b14de6 Remove UITour and customize tips. 2018-05-31 14:23:57 -04:00
Ascrod 3186820353 Remove unused social icons. 2018-05-31 14:19:31 -04:00
wolfbeast 3ab978b4a4 Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2018-05-31 18:03:33 +02:00
wolfbeast 13b342868f Rewrite restoreDimensions to account for mismatched CSS/device pixel sizes.
This resolves the situation where the device pixels per css px does not match the screen DPI.
In that case, the restored width and height would be adjusted if the window width (css px)
would be larger than the screen width (dev pixels). This patch converts everything to css px
before checking if the dimensions fit the screen.

This resolves #411.
2018-05-31 18:03:14 +02:00
JustOff 5441dc0e1e [PALEMOON] Use ShellService.jsm to get the shell service in utilityOverlay.js 2018-05-31 17:09:01 +03:00
Moonchild a516927e1a Merge pull request #419 from janekptacijarabaci/build_warnings_1
Build - Fix throws a warning: 'rv': unreferenced local variable
2018-05-31 13:45:03 +02:00
janekptacijarabaci b2cc2539f6 Build - throws a warning: 'rv': unreferenced local variable
PR #412
2018-05-31 13:15:08 +02:00
wolfbeast 2d4ff8df91 Merge branch 'master' into Basilisk-release 2018-05-31 09:45:25 +02:00
Moonchild 14eb8dc7be Merge pull request #415 from JustOff/PR_default_theme
Fix default theme issues from #414
2018-05-31 09:41:11 +02:00
Moonchild bf1454c8ee Merge pull request #416 from Ascrod/Social
Remove the Social API
2018-05-31 07:53:04 +02:00
Ascrod 5f89c3da66 Remove Social API. 2018-05-30 17:45:05 -04:00
JustOff fa245e46dc [PALEMOON] Package chrome.manifest for default theme across all platforms 2018-05-30 15:05:03 +03:00
JustOff daffc27c57 [PALEMOON] Fix missed notifyPluginCrashed.png on windows and linux 2018-05-30 15:02:53 +03:00
wolfbeast e1084c8b24 Enable blocking of top-level data: navigation. 2018-05-30 12:55:30 +02:00
Moonchild 9f6194d000 Merge pull request #412 from g4jc/hsts_priming_removal_backport
Remove support and tests for HSTS priming from the tree. Fixes #384
2018-05-30 12:47:56 +02:00
wolfbeast 6e8846622a Reinstate tabMinWidth and tabMaxWidth prefs.
This resolves #410.
2018-05-30 00:26:42 +02:00
Matt A. Tobin cf412a59f3 [WebExAM] Use extensions.minCompatibleAppVersion instead of extensions.minCompatiblePlatformVersion for update.json 2018-05-29 14:45:18 -04:00
wolfbeast d58930d925 Fix sec pref locations and enable HPKP checking by default.
Some prefs were incorrectly in all.js (ocsp and hpkp)
2018-05-29 17:27:27 +02:00
wolfbeast 636d127253 Disable HPKP telemetry in Pale Moon. 2018-05-29 17:24:36 +02:00
Moonchild afd9be5008 Merge pull request #407 from JustOff/PR_webapps_cleanup
Remove unused webapps icons from Pale Moon
2018-05-29 16:17:40 +02:00
JustOff 1794ada8ac Remove unused webapps icons files from Pale Moon 2018-05-29 14:54:20 +03:00
JustOff c9518c766c Remove unused webapps icons from Pale Moon 2018-05-29 14:45:55 +03:00
wolfbeast ab57858195 Limit PNG image dimensions. 2018-05-29 13:11:09 +02:00
Moonchild 9a4b7a5b4b Merge pull request #405 from janekptacijarabaci/pm_themes_icons_1
Restore throbber images to global skin.
2018-05-29 12:48:26 +02:00
janekptacijarabaci ff72a8ae46 [PALEMOON] [frontend vs backend] Remove unused webapps-*.png (chrome://global/skin/icons/webapps-*.png)
Issue #121
2018-05-29 12:30:26 +02:00
janekptacijarabaci fad230e402 [PALEMOON] [frontend vs backend] Added icons (fix typo in a path: osx/global/icons)
Issue #121
2018-05-29 12:27:33 +02:00
janekptacijarabaci 72c97ede05 [PALEMOON] [frontend vs backend] Added icons (fix typo in a path: osx/global/icons)
Issue #121
2018-05-29 12:24:41 +02:00
janekptacijarabaci eef027d44a [PALEMOON] [frontend vs backend] Added icons
Issue #121
2018-05-29 07:33:30 +02:00
Moonchild 6f54c3d1fc Merge pull request #404 from janekptacijarabaci/pm_global-scope_1
[PALEMOON] [frontend vs backend] Part 2: Mass-replace global-scope let/const with var in Pale Moon and TychoAM
2018-05-29 00:58:16 +02:00
janekptacijarabaci 170aaecc47 [PALEMOON] [frontend vs backend] Part 2: Mass-replace global-scope let/const with var in Pale Moon and TychoAM
Issue #155

Part 2 for:
https://github.com/MoonchildProductions/UXP/commit/931950a880b3550490422b1855c509be10586858
2018-05-28 21:17:50 +02:00
Matt A. Tobin 258eb6ee9c [WebExAM] Deduplicate toolkit/mozapps/webextensions 2018-05-28 13:27:14 -04:00
Matt A. Tobin 2a36ae70f5 [WebExAM] Follow up to 351cf2703 2018-05-28 11:46:54 -04:00
wolfbeast 13aca83acc Fix typo in 8b9fe0e358 2018-05-28 17:42:13 +02:00
Matt A. Tobin b76b635c95 Merge branch 'update.json' 2018-05-28 10:07:00 -04:00
Matt A. Tobin 351cf27036 [WebExAM] Issue #402 - Make JSON update manifests assume Firefox instead of Toolkit 2018-05-28 10:05:20 -04:00
Pale Moon 8b9fe0e358 Port libopus upstream patch.
Based on https://git.xiph.org/?p=opus.git;a=commitdiff;h=70a3d641b
2018-05-28 13:53:03 +02:00
Moonchild bee00a4a3d Merge pull request #399 from MoonchildProductions/revert-395-buildsystem-work
Revert "Always build with SSE2 support & display an error if not available"
2018-05-28 07:42:21 +02:00
Moonchild a147b68269 Revert "Always build with SSE2 support & display an error if not available" 2018-05-28 05:42:07 +00:00
Moonchild 10623b2a31 Merge pull request #398 from MoonchildProductions/revert-397-buildsystem-work
Revert "Only display SSE2 error dialog on 32-bit Linux"
2018-05-28 07:41:36 +02:00
Moonchild de0157a6c3 Revert "Only display SSE2 error dialog on 32-bit Linux" 2018-05-28 05:41:23 +00:00
Moonchild c8409cc60b Merge pull request #397 from trav90/buildsystem-work
Only display SSE2 error dialog on 32-bit Linux
2018-05-28 03:36:50 +02:00
trav90 7a26ade0a6 Only display SSE2 error dialog on 32-bit Linux
All 64bit CPU's support SSE2 so there's no reason to have this code on 64-bit builds.
2018-05-27 17:23:09 -05:00
wolfbeast c3fc250b0c Make Pale Moon Windows8WindowFrameColor compatible with global scope.
This resolves #396.
2018-05-27 20:18:48 +02:00
Moonchild 7840c750db Merge pull request #395 from trav90/buildsystem-work
Always build with SSE2 support & display an error if not available
2018-05-27 17:54:50 +02:00
Moonchild a65c26ccf5 Merge pull request #394 from janekptacijarabaci/pm_popup_block_1
[PALEMOON] [frontend vs backend] Reduce size of PopupBlocking:UpdateBlockedPopups messages
2018-05-27 17:41:59 +02:00
trav90 3c3c85983f Remove extraneous SSE flag 2018-05-27 10:14:55 -05:00
trav90 c3400bd8e6 Tweak SSE/SSE2 GCC flags 2018-05-27 09:36:16 -05:00
trav90 03d5c40565 Always build with SSE2 support when using GCC 2018-05-27 08:56:34 -05:00
trav90 b9fc7c5eae Display an error on Linux in the absence of SSE2 2018-05-27 08:55:43 -05:00
janekptacijarabaci ed4d22f8ad [PALEMOON] [frontend vs backend] Reduce size of PopupBlocking:UpdateBlockedPopups messages
Issue #392
2018-05-27 15:00:42 +02:00
Moonchild d65ac8d5e0 Merge pull request #390 from janekptacijarabaci/dom_fetch_credentials_1
Make fetch() use "same-origin" credentials by default
2018-05-27 10:11:50 +02:00
Gaming4JC bd85173562 Remove support and tests for HSTS priming from the tree. Fixes #384 2018-05-26 15:42:45 -04:00
janekptacijarabaci 96357e8a7f Bug 1394399 - Fix web-platform-tests to expect "same-origin" default Request.credentials
Issue #389
2018-05-26 17:33:27 +02:00
janekptacijarabaci 240fd66dd3 Bug 1394399 - Fix mochitests to expect "same-origin" default Request.credentials
Issue #389
2018-05-26 17:33:01 +02:00
janekptacijarabaci e03ae4be5c Bug 1394399 - Default Request.credentials to "same-origin" instead of "omit"
Issue #389
2018-05-26 17:32:31 +02:00
Moonchild 3f215e15fb Merge pull request #388 from adeshkp/patch-5
[Pale Moon] Fix white tab text for active tab on Mac
2018-05-26 13:58:49 +02:00
adeshkp e62cb0cb23 Pale Moon - Fix white tab text for active tab on Mac 2018-05-26 10:55:52 +00:00
Moonchild 8f354e52d0 Merge pull request #386 from MoonchildProductions/revert-381-master
Revert "Remove the Social API"
2018-05-25 22:46:40 +02:00
Moonchild 72bab89cf6 Revert "Remove the Social API" 2018-05-25 20:45:48 +00:00
Moonchild d5459982f0 Merge pull request #381 from Ascrod/master
Remove the Social API
2018-05-25 22:00:26 +02:00
Moonchild edccc615f9 Merge pull request #385 from trav90/media-work
Fix null checks in dom/media
2018-05-25 21:53:19 +02:00
trav90 f2d541d3ea Revoke MediaDataDecoder callback after RemoteVideoDecoder has been shut down 2018-05-25 10:35:10 -05:00
trav90 6ca361bd5b Null check the right pointer in RecvReadback 2018-05-25 10:34:21 -05:00
trav90 43470083d1 Perform null check earlier in OggCodecState.cpp 2018-05-25 10:33:40 -05:00
Moonchild b43a5fbeda Merge pull request #383 from trav90/media-work
[MSE] Correct ADTS frame size calculation
2018-05-25 17:22:26 +02:00
trav90 e2464b1391 [MSE] Correct ADTS frame size calculation
This should be bitwise OR rather than logical OR, which just returns 1.
2018-05-25 08:28:17 -05:00
Ascrod f786134c44 Remove MOZ_SOCIAL. 2018-05-24 19:42:03 -04:00
Ascrod 3a9d1b5351 Remove the Social API 2018-05-24 16:29:56 -04:00
wolfbeast b565e2c227 Remove CrashReporterParent leftover.
Tag #20.
2018-05-24 19:53:20 +02:00
wolfbeast 19334fd5af Remove IPC profile functions.
Resolves #378.
2018-05-24 16:18:59 +02:00
wolfbeast ac25827a87 Remove SPS profiler.
- Conditionals and code blocks. (MOZ_ENABLE_PROFILER_SPS)
- Stub out several profiler-only functions.
2018-05-24 14:06:04 +02:00
wolfbeast c8b38a1803 Remove CrashReporterParent leftover.
Tag #20.
2018-05-24 14:03:34 +02:00
wolfbeast 94988a2b4e Remove the jprof profiler.
This resolves #377.
2018-05-23 20:16:00 +02:00
Moonchild 542da56e2c Merge pull request #379 from janekptacijarabaci/pm_places_livemark_add_1
[PALEMOON] [frontend vs backend] Places - fix: adding a livemark doesn't work correctly
2018-05-23 18:31:43 +02:00
wolfbeast fcd7ee3c88 Remove the Dark Matter Detector (DMD) Memeory debugger component.
This resolves #376.
2018-05-23 16:31:42 +02:00
janekptacijarabaci 30cbf0b5ad [PALEMOON] [frontend vs backend] Places - fix: adding a livemark doesn't work correctly
Issue #121
2018-05-23 13:32:52 +02:00
wolfbeast 612459488e Remove IPC CrashReporterClient/Host
Tag #20.
2018-05-22 19:19:56 +02:00
wolfbeast a3e8c9f82f Remove stubbed IPC CrashReporter(Parent/Child) 2018-05-21 16:27:43 +02:00
wolfbeast fbdd52ea57 Remove GMP, Plugin and IPC crash reporter hooks.
Stubs will be removed in follow-up

Tag #20.
2018-05-21 13:56:28 +02:00
wolfbeast 1309bdb541 Remove gfxCrashReporterUtils leftover.
Tag #20.
2018-05-20 12:14:47 +02:00
wolfbeast fc001cc5bf Remove gfxCrashReporterUtils.
Tag #20.
2018-05-20 12:10:50 +02:00
Moonchild 5aafe792b1 Merge pull request #375 from trav90/media-work
[MSE] Add a missing comma in validBoxes
2018-05-20 02:44:05 +02:00
wolfbeast a2c3394170 Update libhyphen's glue code to include overloads for fgetc() and feof().
Follow-up to 41cbe2d931 to fix a crash regression.
This resolves #374.
2018-05-19 21:30:57 +02:00
trav90 91825ae7f5 [MSE] Add a missing comma in validBoxes 2018-05-18 10:02:46 -05:00
wolfbeast b3ebf5ea2f Fix missing include in Skia SafeMath 2018-05-17 13:28:50 +02:00
Moonchild 110050d8e8 Merge pull request #370 from alaviss/system-nss
palemoon/installer: Fix packaging when built --with-system-(nss|nspr)
2018-05-17 12:45:25 +02:00
Leorize 1d70831434 palemoon/installer: Fix packaging when built --with-system-nss/nspr
The variables set by 'configure' for --with-system-(nss|nspr) is named
differently in UXP. This breaks packaging for palemoon when system
nss/nspr is used.

This commit corrects the name of said variables.
2018-05-17 15:06:08 +07:00
Moonchild 4462c345ab Merge pull request #369 from alaviss/crmf
external/nss: Don't link with libcrmf on --with-system-nss builds
2018-05-17 03:02:45 +02:00
Leorize 198f9e9c3c external/nss: Don't link with libcrmf on --with-system-nss builds
Since Bug 1030963, functions that make use of libcrmf has been removed
from the codebase. Therefore, it's no longer necessary to link with
libcrmf.

This commit completely removes the '-lcrmf' for --with-system-nss
builds, as libcrmf is not available on all systems (eg. Arch Linux)

This commit is a follow up to #364
2018-05-17 06:51:28 +07:00
Matt A. Tobin aa41605eec Add blocklist.manifest to Basilisk's package-manifest.in 2018-05-16 17:02:33 -04:00
Moonchild db85231145 Merge pull request #360 from janekptacijarabaci/readview_pageshow_persisted_1
Fix: Reader Mode icon in urlbar is not displayed when close the Reader Mode view
2018-05-16 17:18:04 +02:00
Moonchild f7cf18bfe1 Merge pull request #358 from janekptacijarabaci/notifications_settings_3
[PALEMOON] Fix: The settings icon in the notification is missing (copy some files from webextensions)
2018-05-16 17:17:49 +02:00
Moonchild 25f77cf1c0 Merge pull request #365 from alaviss/wifi
Explicitly specify the AccessPoint interface name
2018-05-16 17:17:29 +02:00
Moonchild 585bf7675f Merge pull request #364 from alaviss/crmf
Don't link against crmf while building --with-system-nss
2018-05-16 17:16:59 +02:00
Moonchild 5f74fe9cf2 Merge pull request #366 from alaviss/bug1384062
Make SystemResourceMonitor.stop more resilient to errors
2018-05-16 17:15:47 +02:00
Moonchild b702d7d32a Merge pull request #368 from trav90/safebrowsing-work
Make safebrowsing optional at build time
2018-05-16 17:11:17 +02:00
Moonchild 90942a2af0 Merge pull request #367 from Ascrod/readerview
Reader and Narrator Updates
2018-05-16 17:10:38 +02:00
wolfbeast 819ca50f16 Clarify Basilisk branding/licensing (official/unofficial) 2018-05-16 16:35:05 +02:00
Mike Hommey 18dec100cc Bug 1384062 - Make SystemResourceMonitor.stop more resilient to errors. r=ahal,gps
The poll() call in SystemResourceMonitor.stop might fail even though
there is something to read from the pipe, in some corner cases, and
python won't let us know about it. In that case, an exception is thrown,
leaving the SystemResourceMonitor (and its callers) in a weird state. In
practice, this leads BuildMonitor.__exit__ to recall stop, which then
fails.

So when poll() throws an exception, we pretend there's still something
to read, and we try to read anyways. If there is something to read,
recv() will return it, otherwise, it will throw an exception of its own,
which we catch, pretending we're done.

Furthermore, when there is nothing to read from the pipe, poll() simply
returns False, and our loop never sets `done` to True, and we then hit
an assert, which doesn't have its place here, so we remove it.

Finally, the other end of the pipe might have died at any time, making
sending over the pipe fail, so we also protect against that.

With all these changes, it feels like the reason to backout bug 1239939
in bug 1272782 should have been dealt with, and we can drop the timeout
again.

--HG--
extra : rebase_source : ac72dd5b2602cf3ffddfb429f95e02380f939893
2018-05-16 17:04:09 +07:00
Jan Steffens 713d6adc6d Bug 1314968 - Explicitly specify the AccessPoint interface name. r=kanru
The DBus specification allows passing an empty string as the interface to the
org.freedesktop.DBus.Properties.GetAll call to get all properties, throwing away the namespace
(interface) information.

However, GDBus does not allow this. When NetworkManager moved to using GDBus, Firefox lost the
ability to retrieve access points from NetworkManager.

Since we're only interested in properties from the org.freedesktop.NetworkManager.AccessPoint
interface, name it explicitly. This works with both the old and the new NetworkManager.

MozReview-Commit-ID: Kc5HaYvwfRZ

--HG--
extra : rebase_source : e1550d327e5a4ea05b8d35d98ef7b27c0add709b
2018-05-16 16:53:12 +07:00
Franziskus Kiefer 831fcf5419 Bug 1371991 - don't link against crmf when building with --with-system-nss, r=ted
Differential Revision: https://phabricator.services.mozilla.com/D836

--HG--
extra : rebase_source : 04127ba88296e8bd6849d227641bb0eebae2c23b
extra : amend_source : dde2e35e2d12316950113e5f320d47a914783623
2018-05-16 16:49:11 +07:00
Ascrod 9ef464a5ac Change Reader API to use events, remove messaging. 2018-05-15 21:06:41 -05:00
Ascrod b70d884598 Initial updates for Reader View. 2018-05-15 21:06:41 -05:00
New Tobin Paradigm 000ac0cc83 Merge pull request #359 from JustOff/PR_about_newtab_fix
Revive the quickdial page (about:newtab)
2018-05-15 20:05:44 -04:00
JustOff ec1aeee6d3 Revive the quickdial page (about:newtab) 2018-05-16 00:28:28 +03:00
janekptacijarabaci d1184bfb49 Bug 1379762 part 2. Use a more reliable test to figure out when we can skip firing onload in nsDocumentViewer::LoadComplete
Issue #357
2018-05-15 22:45:40 +02:00
wolfbeast c9d1a79bd0 Don't linkify data: or javascript: URLs in the web console. 2018-05-15 21:52:48 +02:00
wolfbeast 41cbe2d931 Merge libhyphen fix from upstream. 2018-05-15 21:37:22 +02:00
wolfbeast 0c994ed096 Consistently use PR memory functions. 2018-05-15 21:22:26 +02:00
janekptacijarabaci e968422d29 Bug 1379762 part 1. Don't call MediaFeaturesChanged if our override device pixel ratio is set to its current value
Issue #357
2018-05-15 21:14:18 +02:00
janekptacijarabaci 3ac23df787 [PALEMOON] Fix: The settings icon in the notification is missing (copy some files from webextensions)
Issue #121
Pull #273
2018-05-15 21:04:46 +02:00
wolfbeast 9c075dc4cd Update in-tree freetype2 lib (unused) to 2.9.1 2018-05-15 20:21:34 +02:00
wolfbeast 7bd7473702 Add omitted Skia "Safe Math" includes. 2018-05-15 17:48:16 +02:00
wolfbeast e53fa28135 Check for infinite value in txFormatNumberFunctionCall. 2018-05-15 14:23:06 +02:00
wolfbeast 5d2d2cb043 Use a temporary in Animation::Tick() 2018-05-15 14:06:42 +02:00
wolfbeast ca6136ffb6 Drop invisible characters from downloads filename. 2018-05-15 14:00:38 +02:00
Matt A. Tobin 1ab7016734 Pale Moon version bump 2018-05-15 05:33:56 -04:00
Matt A. Tobin f86673741d Issue #347 - TychoAM nsBlocklistService does not support gfxBlacklist 2018-05-15 05:06:42 -04:00
New Tobin Paradigm 626419cbe2 Merge pull request #356 from JustOff/PR_ssuao_revert_1148544
Revert incorrect UAO optimization that broke SSUAO
2018-05-14 18:29:41 -04:00
JustOff 1c9d6206cb Revert incorrect UAO optimization that broke SSUAO 2018-05-15 00:32:07 +03:00
Matt A. Tobin 4b4b4a59ca [PALEMOON] Override Windows Installer usage of MOZ_APP_DISPLAYNAME when appropriate 2018-05-14 16:12:00 -04:00
Matt A. Tobin 1a0462b458 [*AM] Make soft-blocked phrasing more generic so people will cry less when we do our job 2018-05-14 14:32:47 -04:00
trav90 79edb388a3 Include in-content preferences file security.js in pre-processing 2018-05-14 08:22:11 -05:00
wolfbeast 719803a470 Remove moz_widget_toolkit_gonk
Tag #288
2018-05-14 13:28:04 +02:00
wolfbeast f4b8be889c Merge branch 'master' into Basilisk-release 2018-05-14 12:21:38 +02:00
Moonchild 1dd67a7935 Merge pull request #351 from janekptacijarabaci/aboutSessionRestore_error_2
about:welcomeback - fix an error "invalid 'in' operand gTreeData[idx]" in aboutSessionRestore.js
2018-05-14 12:21:17 +02:00
Moonchild 6a855dbdcf Merge pull request #350 from janekptacijarabaci/aboutSessionRestore_error_1
about:sessionrestore - fix an error "treeView.treeBox is null" in aboutSessionRestore.js
2018-05-14 12:20:40 +02:00
wolfbeast e9dd029f5d Merge branch 'master' into Basilisk-release 2018-05-14 10:50:01 +02:00
wolfbeast 36b8fd734f Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2018-05-14 10:48:32 +02:00
wolfbeast 5f1309e273 Add AMO override. 2018-05-14 10:48:07 +02:00
Matt A. Tobin a327e27e52 [PALEMOON] Remove non-applicable lines from package-manifest.in that block basic macintosh packaging 2018-05-14 00:38:43 -04:00
wolfbeast 1124fb525b Remove other gonk widget conditionals and unused files.
Tag #288.
2018-05-13 22:46:04 +02:00
wolfbeast a6de084670 Remove missed MOZ_WIDGET_GONK ifdef
Tag #288
2018-05-13 21:48:05 +02:00
wolfbeast 74611b6b9e Fix incorrectly removed #includes
Tag #288.
2018-05-13 16:27:15 +02:00
janekptacijarabaci faf4b17b3c about:welcomeback - fix an error "invalid 'in' operand gTreeData[idx]" in aboutSessionRestore.js 2018-05-13 08:29:42 +02:00
janekptacijarabaci 1eaa467afc about:sessionrestore - fix an error "treeView.treeBox is null" in aboutSessionRestore.js 2018-05-13 08:28:44 +02:00
wolfbeast e16bcd08aa Remove MOZ_WIDGET_GONK [2/2]
Tag #288
2018-05-13 00:08:52 +02:00
trav90 41d68e3f70 Make safebrowsing optional at build time - Part 5: preferences 2018-05-12 13:07:29 -05:00
wolfbeast 6571d2ceb4 Remove MOZ_WIDGET_GONK [1/2]
Tag #288
2018-05-12 16:19:58 +02:00
trav90 e07abdd282 Make safebrowsing optional at build time - Part 4: configure 2018-05-12 08:21:53 -05:00
trav90 4e1d60e7db Fix build bustage 2018-05-12 08:20:17 -05:00
trav90 536562284f Make safebrowsing optional at build time - Part 3: toolkit/ 2018-05-12 08:19:07 -05:00
trav90 8e08b8cef2 Make safebrowsing optional at build time - Part 2: mobile/ 2018-05-12 08:18:44 -05:00
trav90 5909cef47a Make safebrowsing optional at build time - Part 1: browser/ 2018-05-12 08:17:44 -05:00
wolfbeast 2f359ed80c Convert uses of KEY_MAP_ANDROID_EXCEPT_B2G to KEY_MAP_ANDROID 2018-05-12 15:03:33 +02:00
wolfbeast b7d9dad58e Remove MOZ_B2G leftovers and some dead B2G-only components. 2018-05-12 14:32:03 +02:00
wolfbeast 73cdd6117d Remove gonk IDL reference in /hal.
Solves build bustage. Follow-up to cfe5ef4ac7
2018-05-12 14:31:10 +02:00
wolfbeast 0264de4c3b Merge branch 'ported-upstream' 2018-05-12 11:12:17 +02:00
wolfbeast 99fe0b7109 Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2018-05-12 11:10:15 +02:00
wolfbeast cfe5ef4ac7 Remove Gonk build directories 2018-05-12 11:09:44 +02:00
Moonchild 34fcf334c8 Merge pull request #342 from JustOff/PR_mse_ui
Remove the obsolete `media.mediasource.format-reader` control from the preferences UI
2018-05-11 22:31:20 +02:00
JustOff 70a2912ae8 Remove the obsolete media.mediasource.format-reader control from the preferences UI 2018-05-11 20:27:36 +03:00
wolfbeast 28cf922aa9 Enable xrender by default.
Resolves perf regressions over remote X, and makes sense for our content back-ends.
Resolves #341.
2018-05-10 22:21:47 +02:00
wolfbeast 0636d878a6 Bug 1449548. 2018-05-10 12:31:01 +02:00
wolfbeast bece236d81 Merge branch 'ported-upstream' 2018-05-10 11:50:47 +02:00
Lee Salzman 04b3d5178c Bug 1454692 - Backport some upstream Skia fixes to ESR52. r=rhunt, a=abillings
--HG--
extra : histedit_source : 0fcd64cabe6f54a2286083d6518e4e6451183a19%2C37f5e7f9dbbfc01102631c33b23329d2af5aa71b
2018-05-10 11:47:03 +02:00
Paul Adenot dc7515e3d7 Bug 1426129 - Hold CamerasChild via promoting "this" to a RefPtr. r=pehrsons, a=RyanVM 2018-05-10 11:45:57 +02:00
Jim Mathies 2218925961 Bug 1447080 - Remove SEE_MASK_FLAG_NO_UI for better Windows 10 compatibility. r=dparks, a=lizzard
MozReview-Commit-ID: FbaKIfQdV8K

--HG--
extra : source : 56bfd2178dcad46a5b611b14e31938f1d96124a0
extra : intermediate-source : ed7be30d31414eedb16d557c0a2e7a9aeb5ec36d
2018-05-10 11:45:09 +02:00
wolfbeast b98c4ed80b Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2018-05-09 19:46:00 +02:00
Moonchild 21c5dd6672 Merge pull request #340 from janekptacijarabaci/preferences_fonts_fallback-character-encoding_1
Add UTF-8 as a default fallback encoding for unknown encodings
2018-05-09 19:46:05 +02:00
wolfbeast fd2b227f19 Merge branch 'intl-ICU-emoji-work' 2018-05-09 19:41:33 +02:00
wolfbeast 2619698a2e Font fallback should detect emoji range for color emoji font. 2018-05-09 17:52:17 +02:00
wolfbeast 361748956b Fix build bustage
Fix nsAtom->nsIAtom and FindAndAddFamilies()
2018-05-09 17:17:40 +02:00
wolfbeast 149b09027c Set font.name-list.emoji for some platforms.
- Twemoji Mozilla for Windows. Can be prefixed with Segoe UI emoji for native Win8+ emoji, but reduces uniformity.
- Apple Color Emoji for OSX
- Twemoji Mozilla for GTK (Linux). fontconfig doesn't support emoji as family name.
- Noto Color Emoji for Android
2018-05-09 15:43:04 +02:00
wolfbeast 84c479afa3 Use font.name-list.emoji preference for emoji presenration. 2018-05-09 15:30:43 +02:00
janekptacijarabaci 7c2dd4fed5 Add UTF-8 as a default fallback encoding for unknown encodings
Issue #315
2018-05-09 15:28:44 +02:00
wolfbeast 78430deb89 Add emoji presentation API 2018-05-09 15:18:14 +02:00
Moonchild aa662adcfc Merge pull request #339 from janekptacijarabaci/devtools_browserconsole_bodies_1
DevTools - fix a comment in webConsole.dtd (Web Console and Browser Console)
2018-05-08 15:51:04 +02:00
janekptacijarabaci eac16a5e59 [follow up] DevTools - fix a comment in webConsole.dtd (Web Console and Browser Console - not in the context menu)
Issue #102 and #337
2018-05-08 06:41:28 +02:00
janekptacijarabaci 2772ce4d2a DevTools - fix a comment in webConsole.dtd (Web Console and Browser Console)
Issue #102
2018-05-07 11:40:08 +02:00
Moonchild 43208a5308 Merge pull request #337 from janekptacijarabaci/devtools_browserconsole_bodies_1
[regression] DevTools - Web and Browser console - Added "Log request and response bodies" preference
2018-05-07 11:39:29 +02:00
janekptacijarabaci 1b0c4bf462 [regression] DevTools - Web and Browser console - Added "Log request and response bodies" preference
Issue #102
2018-05-07 07:23:21 +02:00
Moonchild 5390888b97 Merge pull request #335 from janekptacijarabaci/security_blocking_data_3
moebius#231: Consider blocking top level window data: URIs (tests)
2018-05-06 20:45:22 +02:00
Moonchild 61394bf4ff Merge pull request #334 from JustOff/PR_fullscreen_warning
[PALEMOON] Replace the fullscreen permission dialog with a warning and update the permission management
2018-05-06 20:44:37 +02:00
janekptacijarabaci 26a032c080 moebius#231: Consider blocking top level window data: URIs (tests) - bug 264588
https://github.com/MoonchildProductions/moebius/pull/231/files
https://bugzilla.mozilla.org/show_bug.cgi?id=1264588
2018-05-06 14:32:07 +02:00
janekptacijarabaci 4b7a2c677a moebius#231: Consider blocking top level window data: URIs (tests)
https://github.com/MoonchildProductions/moebius/pull/231
2018-05-06 14:31:20 +02:00
JustOff 79f8a278d9 [PALEMOON] Remove fullscreen and pointer-lock from permission managing 2018-05-06 14:48:52 +03:00
JustOff 5839168a9f [PALEMOON] Replace fullscreen permission dialog with a warning 2018-05-06 14:47:23 +03:00
JustOff 3961587707 [PALEMOON] Update fullscreen activation event to match UXP 2018-05-06 14:42:18 +03:00
Matt A. Tobin 1fbd4d9579 Use application specific application.ini 2018-05-05 15:09:57 -04:00
Matt A. Tobin e899e79624 Rename VisualElementsManifest for Basilisk unofficial branding 2018-05-05 14:56:09 -04:00
Moonchild 7d5f95a8e5 Merge pull request #333 from janekptacijarabaci/notifications_settings_2
[follow up] moebius#154: Notifications - user settings - the immediate duration of the alert (fix for "New layout of XUL Notifications")
2018-05-05 15:44:25 +02:00
janekptacijarabaci 4f82391dfe [follow up] moebius#154: Notifications - user settings - the immediate duration of the alert
https://github.com/MoonchildProductions/moebius/pull/154
https://github.com/MoonchildProductions/UXP/pull/132
2018-05-05 10:46:33 +02:00
Moonchild 3ca0ca4b67 Merge pull request #332 from trav90/master
Remove nameprep.c from moz.build
2018-05-05 10:05:52 +02:00
trav90 769d58f710 Remove nameprep.c from moz.build
Follow up to e6d4a8daf3
2018-05-04 21:18:32 -05:00
Moonchild db33886e27 Merge pull request #330 from JustOff/PR_PMkit_empty_getElementById
[PMkit] Fix Empty string passed to getElementById() warning in buttons.js
2018-05-04 22:48:10 +02:00
wolfbeast 3b28e26d02 Merge branch 'intl-ICU-emoji-work' 2018-05-04 22:42:31 +02:00
wolfbeast 2860601772 Issue #325 Part 15: Remove ENABLE_INTL_API and EXPOSE_INTL_API flags. 2018-05-04 22:13:41 +02:00
wolfbeast 891026d005 Make InitRuntimeNumberState's return type reflect its infallible nature. 2018-05-04 22:02:48 +02:00
wolfbeast 74c62cd337 Issue #325 Part 14: Remove EXPOSE_INTL_API conditionals. 2018-05-04 21:47:32 +02:00
wolfbeast c18d9955df Issue #325 Part 13: Remove Mozilla implementation of the bidi engine completely and use ICU. 2018-05-04 20:36:02 +02:00
wolfbeast 550f4095be Issue #325 Part 12: Manually edit Unicode property tables.
Although this is generated code, the #ifdefs in it are blockers.
!! Do not regenerate these files until the script has been updated !!
See #326.
2018-05-04 17:57:48 +02:00
Moonchild 175efcbab0 Merge pull request #327 from JustOff/PR_grep_invalid_option
Fix regex escaping in old-configure and js/src/old-configure
2018-05-04 17:55:14 +02:00
JustOff 32949bf64b [PMkit] Fix Empty string passed to getElementById() warning in buttons.js 2018-05-04 18:24:47 +03:00
wolfbeast dd9af06efa Issue #325 Part 11: Fix up build files. 2018-05-04 17:22:03 +02:00
New Tobin Paradigm 78310fd7c4 Merge pull request #329 from JustOff/PR_fullscreen_animation
Delay and shorten animation of transition to the full-screen
2018-05-04 11:17:50 -04:00
JustOff bbc8a98409 Delay and shorten animation of transition to the full-screen 2018-05-04 18:05:37 +03:00
wolfbeast 1f18c1fdd6 Issue #325 Part 10: Remove non-Intl conditionals from installer files. 2018-05-04 16:48:08 +02:00
wolfbeast 6f8f1f7121 Issue #325 Part 9: Remove non-Intl legacy code paths from nsNumberControlFrame. 2018-05-04 16:42:31 +02:00
JustOff adf982f3cb Fix regex escaping in old-configure and js/src/old-configure 2018-05-04 17:28:00 +03:00
wolfbeast fdd89d8e3a Issue #325 Part 8: Remove non-Intl legacy code paths from nsChromeRegistry. 2018-05-04 16:20:00 +02:00
wolfbeast 33c8d5d971 Issue #325 Part 7: Remove non-Intl legacy code paths from IndexedDB. 2018-05-04 16:15:59 +02:00
wolfbeast e6bb58fb96 Issue #325 Part 6: Remove non-Intl legacy code paths from line-breaker code. 2018-05-04 15:56:17 +02:00
wolfbeast a2652e5bc4 Issue #325 Part 5: Remove non-Intl legacy code paths from js. 2018-05-04 15:50:01 +02:00
wolfbeast 58751cc2ad Issue #325 Part 4: Remove obsolete and archaic Unicode normalization implementation. 2018-05-04 11:52:49 +02:00
wolfbeast 2eddf19168 Issue #325 Part 3: Remove support for using legacy Gecko normalization in gfxHarfBuzzShaper. 2018-05-04 10:38:17 +02:00
wolfbeast cd1ab47cfd Issue #325 Part 2: Build ICUUtils unconditionally. 2018-05-04 10:27:50 +02:00
wolfbeast e6d4a8daf3 Issue #325 Part 1: Remove the legacy non-IDNA2008 code path from nsIDNService. 2018-05-04 10:20:16 +02:00
wolfbeast bbd3b87eb5 Remove the option to build without INTL/ICU
This resolves #324.
2018-05-04 10:08:02 +02:00
Moonchild 4a2aeb152e Merge pull request #323 from MoonchildProductions/nuke-sandbox
Nuke sandbox
2018-05-04 09:09:10 +02:00
wolfbeast 1e06608c84 Adjust tests for android-enabled Intl. 2018-05-03 21:45:55 +02:00
wolfbeast 0221a30f85 Unconditionally switch on the INTL API on all platforms. 2018-05-03 21:40:14 +02:00
Moonchild 20532e1393 Merge pull request #322 from trav90/ffmpeg-work
Add support for FFmpeg 4.0/libavcodec 58
2018-05-03 07:10:28 +02:00
wolfbeast f265784e8c Remove unused sanbox l10n strings (about:support) 2018-05-03 06:37:05 +02:00
wolfbeast 2fd3f6cf2e Remove nsPluginTag::InitSandboxLevel 2018-05-03 06:28:57 +02:00
wolfbeast 755e3a48bf Remove unused XREShellData 2018-05-03 06:28:20 +02:00
wolfbeast 43f7a588f9 Nuke the sandbox 2018-05-03 05:55:15 +02:00
wolfbeast 4613b91eca Remove sandbox ductwork conditional code. 2018-05-03 01:24:31 +02:00
Moonchild b1728772a7 Merge pull request #318 from janekptacijarabaci/pm_places_keyword_1
[PALEMOON] [frontend vs backend] Places - Fix: "Keyword" reset (to an empty value) does not work
2018-05-02 23:43:12 +02:00
Moonchild 7ea87f571b Merge pull request #319 from janekptacijarabaci/debug_warning_1
moebius#146: Building with "--enable-debug" - fix some warnings
2018-05-02 23:42:32 +02:00
wolfbeast e1490c07e2 Remove GMP sandbox code. 2018-05-02 23:30:36 +02:00
wolfbeast 755e102078 Remove content process sandbox code. 2018-05-02 21:58:04 +02:00
Moonchild 04c8f8f8bc Merge pull request #320 from janekptacijarabaci/instanceof_negations_1
palemoon#1173: Fix unsafe "instanceof" negations
2018-05-02 16:23:14 +02:00
janekptacijarabaci 39902d8998 [PALEMOON] [frontend vs backend] Places - use "let" instead of "var" for the entire function "onKeywordFieldBlur"
Issue #121
2018-05-02 14:09:55 +02:00
janekptacijarabaci 815cb2f404 [PALEMOON] [frontend vs backend] Places - Fix: "Keyword" reset (to an empty value) does not work
Issue #121
2018-05-02 13:46:17 +02:00
janekptacijarabaci 3dfd1412e4 Building with "--enable-debug" - fix some warnings
https://github.com/MoonchildProductions/moebius/pull/146
https://github.com/MoonchildProductions/Pale-Moon/pull/1400
2018-05-02 07:08:14 +02:00
janekptacijarabaci 3442ae7718 Fix unsafe "instanceof" negations
https://github.com/MoonchildProductions/Pale-Moon/pull/1173
2018-05-02 06:57:57 +02:00
Matt A. Tobin 832046aeb7 [TychoAM] Do not allow Jetpack extensions to install if Jetpack isn't actually built
This does not cover the previous case of an application dropping jetpack support.. This follows the WebExtension route. A new case will have to be redeveloped if an existing application drops jetpack support.
2018-05-01 23:37:13 -04:00
Matt A. Tobin a930a790d5 Un-depercate synchronous search initialization 2018-05-01 18:08:22 -04:00
Matt A. Tobin ec1df1e8a2 [TychoAM] Make the Add-ons Manager conditionally devtools free 2018-05-01 16:14:17 -04:00
Matt A. Tobin dc43d59ae3 Issue #316 - Always build heapsnapshot regardless of the rest of the devtools for now 2018-05-01 15:53:52 -04:00
Matt A. Tobin 61de1c80cd Only set and show the dual-guid indicators when dual-guid has been built 2018-05-01 12:26:01 -04:00
Matt A. Tobin 754796d243 [PALEMOON] Update error number for webextensions to match the platform 2018-05-01 10:09:10 -04:00
Moonchild 531a71892f Merge pull request #313 from JustOff/PR_fullscreen_fix_basic
Align Pale Moon codebase with the updated fullscreen API
2018-05-01 15:56:01 +02:00
JustOff 8d439c38e2 [PALEMOON] Align the application with the updated fullscreen API 2018-05-01 14:30:38 +03:00
JustOff ec3d61fb31 [PALEMOON] Use CSS transition instead of JS animation for hiding toolbox in fullscreen mode and simplify related code 2018-05-01 14:26:54 +03:00
JustOff d9b56d39da [PALEMOON] Added padding to toolbar autohide 2018-05-01 14:14:41 +03:00
JustOff 6d579486a9 [PALEMOON] fullscr-toggler element needs to be hidden in DOM fullscreen 2018-05-01 14:08:41 +03:00
Moonchild d0c19e4607 Merge pull request #309 from janekptacijarabaci/build_warnings_4
Build - throws a warning "interface 'nsISelectionPrivate' is scriptable but derives from non-scriptable 'nsISelection'"
2018-05-01 09:55:55 +02:00
Moonchild 0913ffa0cd Merge pull request #307 from janekptacijarabaci/pm_nsBrowserGlue_1
[PALEMOON] Added gBrandBundle lazy getter and use gBrowserBundle in nsBrowserGlue.js
2018-05-01 09:55:37 +02:00
Moonchild 92c59fe350 Merge pull request #306 from JustOff/PR_owner_triggeringPrincipal
[PALEMOON] Replace `owner` with `triggeringPrincipal` to match the updated API
2018-05-01 09:55:22 +02:00
Moonchild 6293134652 Merge pull request #312 from janekptacijarabaci/pm_feeds_1
[PALEMOON] Fix feeds - "Subscribe to this page..."
2018-05-01 09:54:46 +02:00
Moonchild ae45e61da0 Merge pull request #311 from janekptacijarabaci/security_blocking_data_2
Use asyncOpen2() for docshell loads
2018-05-01 09:53:46 +02:00
janekptacijarabaci c906abdbe2 [PALEMOON] Fix feeds - "Subscribe to this page..."
Issue #121
2018-05-01 08:02:38 +02:00
janekptacijarabaci cc4036a9cd Bug 1344706 - Do not reuse originPrincipal as triggeringPrincipal within utilityOverlay.js 2018-05-01 00:22:01 +02:00
janekptacijarabaci 855f11d8f6 Bug 1333726 - use serializeToString instead of non-existant serializePrincipal 2018-05-01 00:16:47 +02:00
janekptacijarabaci 6b0c2a089e Bug 1331686 - Pass correct triggeringPrincipal for tabs openen through ctrl-click and open link in new tab 2018-05-01 00:15:28 +02:00
janekptacijarabaci 67bd9ff3af Bug 1332595 - remove useless click handling 2018-05-01 00:01:56 +02:00
janekptacijarabaci a0643b997c Bug 1348801: Teach TriggeringPrincipal about OA when opening link in private window 2018-04-30 23:58:51 +02:00
janekptacijarabaci 8dcc716efd Bug 1359204 - Test view-source can open link is not blocked by security policies 2018-04-30 23:56:11 +02:00
janekptacijarabaci d735c1c1ad Bug 1359204 - Use SystemPrincipal as TriggeringPrincipal when loading page as view-source 2018-04-30 23:54:01 +02:00
janekptacijarabaci 7c759805d0 Bug 1359204 - Do not query nested URI within CheckChannel in ContentSecurityManager 2018-04-30 23:53:22 +02:00
janekptacijarabaci e0a24e6d4f Bug 1343279 - Use SystemPrincipal when loading canvasToBlobURL 2018-04-30 23:52:21 +02:00
janekptacijarabaci 73b55c16d6 Bug 1333147 - Do not use owner as triggeringPrincipal when creating session history entry 2018-04-30 23:49:41 +02:00
janekptacijarabaci 0695943d2d Bug 1232432 - Convert feeds/feedConverter to use asyncOpen2() 2018-04-30 23:48:34 +02:00
janekptacijarabaci b3a9d03344 Bug 1334875 - Temporarily remove assertion that history loads pass a valid triggeringprincipal 2018-04-30 23:48:06 +02:00
janekptacijarabaci ecea4c51dc Bug 1341754: Test SetURI in Location passes triggeringPrincipal 2018-04-30 23:13:51 +02:00
janekptacijarabaci 71e6952456 Bug 1341754: Provide a valid triggeringPrincipal when calling SetURI in Location 2018-04-30 23:11:43 +02:00
janekptacijarabaci d9abe50072 Bug 1341589 - Test TriggeringPrincipal on history entry for view-source loads 2018-04-30 23:10:01 +02:00
janekptacijarabaci 05e44d895f Bug 1341589 - Set triggeringPrincipal on history entry for view-source loads 2018-04-30 23:08:16 +02:00
janekptacijarabaci 4908838110 Bug 1337622 - Temporarily fall back to SystemPrincipal if History entry does not have a valid triggeringPrincipal 2018-04-30 23:06:51 +02:00
janekptacijarabaci 3dec348f43 Bug 1307736 - Store triggeringPrincipal with all history entries 2018-04-30 23:05:55 +02:00
janekptacijarabaci 2cb9f3ceb8 Bug 1307736 - Ensure History loads pass valid triggeringPrincipal 2018-04-30 23:02:01 +02:00
janekptacijarabaci 6cb841b26e Bug 1332310 - Update AddState and CreateContentViewer to provide an accurate triggeringPrincipal for creating a history entry 2018-04-30 23:00:04 +02:00
janekptacijarabaci 74858918fa Bug 1329032 - Extend loadURIWithOptions by a triggeringPrincipal (without an hard e10s) 2018-04-30 22:57:23 +02:00
janekptacijarabaci 80edefc958 Bug 1182569: Add credentials mode for fetch-frame-resource.https.html wpt test 2018-04-30 22:21:34 +02:00
janekptacijarabaci 41e3d0719a Bug 1182569: Disable hsts priming for loads of type subdocument for wpt tests 2018-04-30 22:20:14 +02:00
janekptacijarabaci b8e6315292 Bug 1182569: Update tests when converting docshell loads to use AynscOpen2 2018-04-30 22:12:53 +02:00
janekptacijarabaci d45c25971c Bug 1182569 - Skip security check for plugins using newstream attribute 2018-04-30 22:09:55 +02:00
janekptacijarabaci f799598d65 Bug 1182569: Update ContentSecurityManager to handle docshell loads 2018-04-30 21:04:56 +02:00
janekptacijarabaci e66562aa8b Bug 1182569: Use AsyncOpen2 for docshell loads 2018-04-30 21:00:21 +02:00
janekptacijarabaci 3ceed6b6db [PALEMOON] Added gBrandBundle lazy getter and use gBrowserBundle in nsBrowserGlue.js
Tag #273
2018-04-30 16:56:27 +02:00
JustOff 1b50c57865 [PALEMOON] Replace serializing nsISHEntry.owner with nsISHEntry.triggeringPrincipal 2018-04-30 17:26:04 +03:00
JustOff 6bca91e940 [PALEMOON] Replace owner with triggeringPrincipal to match the updated UXP docshell 2018-04-30 17:24:47 +03:00
janekptacijarabaci 83e6cb5410 Bug 338865 - Scriptable XPIDL iface inheriting from noscript iface should throw error 2018-04-30 15:02:56 +02:00
janekptacijarabaci 966e69291a Bug 1216885 - Make nsISelectionPrivate not inherit from nsISelection 2018-04-30 15:00:01 +02:00
New Tobin Paradigm fefce8f7cc Merge pull request #299 from janekptacijarabaci/pm_permissions_2_style-clean-up
[PALEMOON] [frontend vs backend] Remove unused styles for Push Notifications
2018-04-30 07:22:38 -04:00
Matt A. Tobin 5287427c57 [PALEMOON] Add required gBrowserBundle lazy getter in nsBrowserGlue.js 2018-04-30 07:19:29 -04:00
New Tobin Paradigm 7c8c0540db Merge pull request #300 from janekptacijarabaci/build_warnings_3
[PALEMOON] Fix a build warning for autocomplete.css
2018-04-30 03:48:27 -04:00
Moonchild fe5af11d68 Merge pull request #301 from janekptacijarabaci/html_input_datetime_4
[regression] [follow up] Error: No such property on self-hosted object: "Intl_getDisplayNames"
2018-04-30 09:40:22 +02:00
janekptacijarabaci b1adc75aed The preprocessor will be used for content/browser/autocomplete.xml
https://github.com/MoonchildProductions/UXP/pull/300#issuecomment-385325335
2018-04-30 09:11:14 +02:00
janekptacijarabaci 1cb62d2845 Fix typo in variables in datetimepopup.xml
Issue #162
2018-04-30 09:02:11 +02:00
janekptacijarabaci fc1eb3a144 [regression] [follow up] Error: No such property on self-hosted object: "Intl_getDisplayNames"
Issue #162 and #264
2018-04-30 09:00:49 +02:00
janekptacijarabaci 5167c8b52f Fix a build warning for autocomplete.css a autocomplete.xml 2018-04-30 08:56:00 +02:00
Matt A. Tobin 8aed9d6ee8 [PALEMOON] Issue #283 - Pale Moon Shell Service is not invoking defalt client check on start 2018-04-30 02:50:07 -04:00
janekptacijarabaci cb002e9939 [PALEMOON] [frontend vs backend] Remove unused styles for Push Notifications
https://github.com/MoonchildProductions/UXP/pull/273#issuecomment-385267814
2018-04-30 07:15:39 +02:00
Matt A. Tobin d2bf1f169d [*AM] Expand the list for excluding internally used IDs from being sent to AUS 2018-04-29 22:35:29 -04:00
wolfbeast 0641c2493a Reconfigure Pale Moon to short-circuit some undesired services/features. 2018-04-30 02:51:19 +02:00
Moonchild 8c146ab24a Merge pull request #297 from janekptacijarabaci/css_text-justify_1
CSS - implement text-justify property
2018-04-29 18:52:17 +02:00
Moonchild b83c51a1a5 Merge pull request #296 from janekptacijarabaci/js_dom_animationcancel_1
DOM - implement animationcancel event
2018-04-29 18:48:43 +02:00
Moonchild 3fe37f6ae8 Merge pull request #287 from SpockMan02/patch-1
Issue #286 - Incorrect filepath
2018-04-29 18:25:59 +02:00
Moonchild 8c4783919b Merge pull request #295 from janekptacijarabaci/_native_52ESR_events_auxclick_1
UI Events - implement auxclick
2018-04-29 17:02:53 +02:00
wolfbeast 32c067857c Create a 1px overlap between tab center and start/end backgrounds.
This visual overlap prevents gaps due to rounding of pixel borders when rounded tab "borders" are exactly flush.
This resolves #268.
2018-04-29 15:45:50 +02:00
Moonchild 64aec5a353 Merge pull request #294 from janekptacijarabaci/js_dom_performance-resource-timing_2
moebius#161: The Performance Resource Timing (make timestamps be relative to startTime)
2018-04-29 14:44:39 +02:00
Moonchild 6fe08dcf34 Merge pull request #293 from janekptacijarabaci/js_dom_performance-resource-timing_1
moebius#158: The Performance Resource Timing (added support for "workerStart")
2018-04-29 14:44:20 +02:00
Moonchild dc35e5c26d Merge pull request #292 from janekptacijarabaci/js_dom_performance-observer_1
moebius#157: The Performance Observer (improvements)
2018-04-29 14:44:02 +02:00
janekptacijarabaci 306db80410 moebius#161: The Performance Resource Timing (make timestamps be relative to startTime)
https://github.com/MoonchildProductions/moebius/pull/161
2018-04-29 14:15:18 +02:00
Bryce Van Dyk 65a580a4ef Bug 1453127 - Do not use iterators in MediaStreamTrack when removing listeners. r=pehrsons a=lizzard
--HG--
extra : source : 6b3aaee40f7507e240da08d6e073cff3c53971f4
extra : intermediate-source : 59e50af7afe19f827dd687ea097d5ba551ab0b1d
2018-04-29 13:41:40 +02:00
Jeff Walden d308db119d Bug 1452619 - Implement mozilla::IsAsciiAlpha. r=froydnj, a=lizzard 2018-04-29 13:39:27 +02:00
wolfbeast 66aa6b595c Bug 1411415. 2018-04-29 13:39:11 +02:00
wolfbeast 927868e8b9 Move --enable-tests out of Python configure and flip the default. 2018-04-29 13:27:12 +02:00
wolfbeast fbeee7692b Create /docs and move contributing guideline to it. 2018-04-29 13:12:21 +02:00
Moonchild fc8634a7fc Merge pull request #291 from adeshkp/buildid-mac
[Pale Moon] Fix buildid on Mac
2018-04-29 13:09:36 +02:00
Moonchild eb6c09c5eb Merge pull request #289 from janekptacijarabaci/pm_referrerPolicy_1
[PALEMOON] [frontend vs backend] Added support for "referrerPolicy"
2018-04-29 13:09:20 +02:00
Moonchild 600ac9cae5 Merge pull request #284 from JustOff/PR_gInitialPages
Fix lexical scope of `gBrowser.gInitialPages`
2018-04-29 13:08:06 +02:00
Moonchild 58a55be1f1 Merge pull request #281 from janekptacijarabaci/pm_devtools_storage_mapURIToAddonId_1
[PALEMOON] [DevTools] Storage inspector throws "AddonPathService.mapURIToAddonId is not a function" when url changes
2018-04-29 13:07:33 +02:00
janekptacijarabaci 92d3042138 Bug 1321261 - partially - "using namespace mozilla"
https://hg.mozilla.org/mozilla-central/diff/9ad9c6b4c8d6/dom/base/nsDOMNavigationTiming.cpp
2018-04-29 12:39:51 +02:00
janekptacijarabaci eeaf0a73ac Bug 1322292 - Some fixes for the Performance API in workers - part 3 - TimeStampToDOMHighRes() in workerPrivate
https://hg.mozilla.org/mozilla-central/rev/b827e4d0dc73
2018-04-29 12:35:55 +02:00
janekptacijarabaci 089a0bd9a4 Bug 1322292 - Some fixes for the Performance API in workers - part 2 - Get rid of NowBaseTimeStamp()
https://hg.mozilla.org/mozilla-central/rev/301231f4165a
2018-04-29 12:32:19 +02:00
janekptacijarabaci 85a83305dd Bug 1322292 - Some fixes for the Performance API in workers - part 1 - Centralized Performance.now()
https://hg.mozilla.org/mozilla-central/rev/291a68ca4825
2018-04-29 12:26:49 +02:00
janekptacijarabaci 30cf4c5d93 Bug 1313420 - Implement Performance.timeOrigin - part 4 - tests
https://hg.mozilla.org/mozilla-central/rev/49305a317143
2018-04-29 12:20:22 +02:00
janekptacijarabaci 1ad6dc807c Bug 1313420 - Implement Performance.timeOrigin - part 3 - tests
https://hg.mozilla.org/mozilla-central/rev/0f869d4c93ef
2018-04-29 12:19:25 +02:00
janekptacijarabaci d564205c58 Bug 1313420 - Implement Performance.timeOrigin - part 2 - tests
https://hg.mozilla.org/mozilla-central/rev/c22f17e0db9d
2018-04-29 12:18:35 +02:00
janekptacijarabaci 98438fa32e Bug 1313420 - Implement Performance.timeOrigin - part 1
https://hg.mozilla.org/mozilla-central/rev/cf0f72f0b0be
2018-04-29 12:15:36 +02:00
janekptacijarabaci 39d4a11267 Bug 1323941 - navigationStart should not be exposed to workers as timing attribute
https://hg.mozilla.org/mozilla-central/rev/6be7eb833b11
2018-04-29 12:11:55 +02:00
janekptacijarabaci 7ee501103a Bug 1322966 - Cleanup performance.cpp
https://hg.mozilla.org/mozilla-central/rev/0ad76084c4c3
2018-04-29 12:07:20 +02:00
janekptacijarabaci de9560af3e Bug 1317297 - nextHopProtocol is an empty string for local fetch
https://hg.mozilla.org/mozilla-central/rev/9e5cd2bf4d66
2018-04-29 11:59:22 +02:00
janekptacijarabaci e040ed9250 moebius#158: The Performance Resource Timing (added support for "workerStart")
https://github.com/MoonchildProductions/moebius/pull/158
2018-04-29 11:49:50 +02:00
adeshkp 8ffaf513ee [Pale Moon] Fix buildid on Mac 2018-04-29 04:06:08 -04:00
janekptacijarabaci aff03b0a67 Merge branch 'master' of https://github.com/MoonchildProductions/UXP into js_dom_performance-resource-timing_1 2018-04-29 09:07:42 +02:00
janekptacijarabaci c21420c94a [PALEMOON] [frontend and backend] Added support for "referrerPolicy"
Issue #121
https://bugzilla.mozilla.org/show_bug.cgi?id=1113431
2018-04-29 08:37:49 +02:00
Matt A. Tobin 11caf6ecb3 [TychoAM] Fix gCertBlocklistService.addRevokedCert is not a function
Mozilla renamed it to revokeCertByIssuerAndSerial
2018-04-28 18:19:42 -04:00
trav90 29c293b100 Add support for libavcodec 58/FFmpeg 4.0 2018-04-28 14:20:52 -05:00
trav90 b45f40ff9b Import FFmpeg 4.0 header files 2018-04-28 13:52:30 -05:00
SpockMan02 d2457cbfcb Issue #286 - Incorrect filepath 2018-04-28 18:41:30 +00:00
JustOff f3e5c57c2b Fix the lexical scope of gBrowser.gInitialPages 2018-04-28 19:05:11 +03:00
wolfbeast f69729b0aa Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2018-04-28 17:57:18 +02:00
wolfbeast b53db93006 Merge branch 'malloc-rewrite'
This resolves #263.
2018-04-28 17:57:05 +02:00
wolfbeast db4b6dc1da Use SRWlocks for mutexes in cairo on Windows. 2018-04-28 17:55:10 +02:00
Moonchild de057c7a56 Merge pull request #282 from JustOff/PR_urlbarChangeTracker
[PALEMOON] Use `urlbarChangeTracker` instead of `userTypedClear` to track address bar changes
2018-04-28 16:23:20 +02:00
Moonchild bddefd4211 Merge pull request #280 from janekptacijarabaci/devtools_storage_style-clean-up_1
[DevTools] Storage - style clean up - a check of the variable to see if it exists
2018-04-28 16:19:14 +02:00
Moonchild adb23ed948 Merge pull request #279 from janekptacijarabaci/pm_devtools_storage_style-clean_up_1
[PALEMOON] [DevTools] Storage inspector throws an error when url changes
2018-04-28 16:18:55 +02:00
Moonchild 6607336b5c Merge pull request #278 from janekptacijarabaci/devtools_storage_arrow-keys_1
[DevTools] Storage inspector throws an error when use arrow keys
2018-04-28 16:18:19 +02:00
Moonchild 9d1869d98e Merge pull request #276 from janekptacijarabaci/pm_url_1
[PALEMOON] [frontend vs backend] Change a function "getShortcutOrURI" to "getShortcutOrURIAndPostData", fix Drag & Drop and a function "Copy Download Link"
2018-04-28 16:17:54 +02:00
wolfbeast 8d6b34f863 Use SRWlocks for js mutexes on Windows. 2018-04-28 15:45:56 +02:00
wolfbeast f7b98c15a1 Use slim reader/writer locks instead of critical sections. 2018-04-28 14:21:19 +02:00
JustOff fd10ee105a Use urlbarChangeTracker instead of userTypedClear to track address bar changes 2018-04-28 14:41:28 +03:00
wolfbeast e56cebf8da Remove the unused and rudimentary arena load balancer.
Lock contention is not something we'd easily have to deal with in our application.
This simplifies our code.
2018-04-28 13:17:57 +02:00
janekptacijarabaci 8f65db7541 [DevTools] Storage - style clean up - a check of the variable to see if it exists (an empty line)
Issue #102
2018-04-28 12:53:10 +02:00
janekptacijarabaci 77e7fcac50 Bug 1263935 - Forward AddonManager.mapURIToAddonId to AddonPathService.mapURIToAddonId
Issue #102
2018-04-28 12:47:07 +02:00
janekptacijarabaci b8145b3d59 Bug 1263935 - Expose native version of mapURIToAddonId via amIAddonPathService
Issue #102
2018-04-28 12:46:29 +02:00
janekptacijarabaci 6bdb9d25d6 [PALEMOON] [DevTools] Storage inspector throws an error when url changes
Issue #102
2018-04-28 12:29:07 +02:00
janekptacijarabaci 775b1b825f [DevTools] Storage - style clean up - a check of the variable to see if it exists
Issue #102
2018-04-28 12:27:35 +02:00
janekptacijarabaci 2d7d421391 [DevTools] Storage inspector throws an error when use arrow keys
Issue #102
2018-04-28 12:23:00 +02:00
janekptacijarabaci c99c89cb40 [PALEMOON] Fix a function "middleMousePaste" ("Save") in browser.js 2018-04-28 11:12:58 +02:00
janekptacijarabaci 383cb2c41e [PALEMOON] Fix typo in tabbrowser.xml 2018-04-28 10:28:44 +02:00
janekptacijarabaci c28caba8bd [PALEMOON] Style clean up in browser.js 2018-04-28 10:06:44 +02:00
wolfbeast 08e66d3512 Make our allocator use multiple arenas based on number of CPU cores. 2018-04-28 08:59:44 +02:00
Moonchild 46a069ec79 Merge pull request #274 from JustOff/PR_AboutRedirector_NewChannel_LoadInfo
Provide LoadInfo for NewChannel() call in 'about' protocol handler
2018-04-28 08:23:08 +02:00
janekptacijarabaci 6b2bba06b4 Merge branch 'master' of https://github.com/MoonchildProductions/UXP into pm_url_1 2018-04-28 07:38:20 +02:00
wolfbeast ffd62ae6c9 Remove jemalloc 4 leftover conditional. 2018-04-27 23:34:26 +02:00
wolfbeast 90920ec0ba Remove single-threaded considerations.
We assume our applications are always going to have multithreaded access to the malloc.
2018-04-27 22:56:03 +02:00
wolfbeast a7ec27a9cc Update credits in BSD-licensed files. 2018-04-27 22:49:31 +02:00
wolfbeast c6177a81ee Remove jemalloc 4 leftover conditional. 2018-04-27 22:48:34 +02:00
wolfbeast 9c07867573 Remove MOZ_REPLACE_JEMALLOC
This was only defined when building jemalloc4 as a replace-malloc library.
2018-04-27 20:23:28 +02:00
wolfbeast 43034a36e1 Remove jemalloc 4 from our tree. 2018-04-27 19:16:45 +02:00
Moonchild c75dae3ed2 Merge pull request #275 from trav90/ffvpx-resync
Resync ffvpx code with 3.4.2-release from upstream
2018-04-27 19:15:26 +02:00
trav90 6ada4b14e4 Update CLOBBER after ffvpx update 2018-04-27 08:23:18 -05:00
JustOff 214690eadd Provide LoadInfo for NewChannel() call in 'about' protocol handler 2018-04-27 15:58:24 +03:00
wolfbeast 077c630844 Remove support for making jemalloc4 the default memory allocator. 2018-04-27 13:56:47 +02:00
Moonchild c82c6d960a Merge pull request #273 from janekptacijarabaci/pm_permissions_1
[PALEMOON] [frontend vs backend] Fix "Permissions Manager" and permissions
2018-04-27 13:03:12 +02:00
janekptacijarabaci e66060388f [PALEMOON] Remove "dom.push.enabled" from aboutPermissions.js (consolidated to "dom.webnotifications.enabled") 2018-04-27 11:13:16 +02:00
janekptacijarabaci 57bc437414 [PALEMOON] Remove double rows from aboutPermissions.js 2018-04-27 10:24:32 +02:00
janekptacijarabaci 3280ec817e Merge branch 'master' of https://github.com/MoonchildProductions/UXP into pm_permissions_1 2018-04-27 10:11:35 +02:00
Moonchild 8acbae6979 Merge pull request #272 from janekptacijarabaci/pm_css_inContentUI_1
[PALEMOON] [frontend vs backend] Fix of non-existent CSS files
2018-04-27 08:58:30 +02:00
Moonchild 32a3bfdad7 Merge pull request #271 from janekptacijarabaci/pm_tab_move_1
[PALEMOON] [frontend vs backend] Move tab to a new window does not work properly
2018-04-27 08:58:12 +02:00
janekptacijarabaci c5e5dfd06b [PALEMOON] [frontend vs backend] Fix of non-existent CSS files (follow up - use preprocessing for OSX and windows)
Issue #121
2018-04-27 05:42:32 +02:00
wolfbeast 9d6a7ae25d Merge branch 'master' into Basilisk-release 2018-04-27 01:28:11 +02:00
Matt A. Tobin 69ac2db129 Partially revert 1ef526f0f - sftkpwd.c
#82 #265
2018-04-26 19:23:01 -04:00
trav90 eee41a3d0a Bump VP9 benchmark version ID 2018-04-26 16:56:57 -05:00
trav90 b2f89250be [ffvpx] Update resync documentation 2018-04-26 16:56:17 -05:00
trav90 622f0610e1 [ffvpx] Re-generate config_*.{h,asm} files 2018-04-26 16:55:30 -05:00
trav90 044b501241 [ffvpx] Re-enable assembly optimized code
It was inadvertently disabled in 8b37a1bc30.
2018-04-26 16:54:31 -05:00
trav90 af2f0e66f5 [ffvpx] Compile ffvpx lib with -ffreestanding to avoid triggering a clang bug 2018-04-26 16:53:28 -05:00
trav90 0676e749b8 [FFmpeg] Add a preemptive stdlib.h include in our libavutil_visibility.h hackaround file 2018-04-26 16:52:38 -05:00
trav90 f4906f9a85 [FFmpeg] Work around a bug with corrupted data
According to FFmpeg documentation, the out parameter is "set to size of parsed buffer or zero if not yet finished." however this is only the case if no error occurred; otherwise it is left untouched. We want the invalid content to generate a decoding error, so we set size to inputSize to ensure decoding failed later.
2018-04-26 16:51:50 -05:00
trav90 ccdde52530 [ffvpx] Remove some files we don't need 2018-04-26 16:50:57 -05:00
trav90 8b37a1bc30 [ffvpx] Update ffvp9/ffvp8 to 3.4.2-release
Structure of code was slightly modified so that it should be no longer necessary to re-generate the config_*.h files, greatly simplifying the resync process in the future.
2018-04-26 16:49:15 -05:00
trav90 56a2df6b25 [ffvpx] Restore AVOptions and dictionary features
FFmpeg requires specific default values in AVCodecContext to be set. Instead of manually setting these each time we resync with upstream, let's use FFmpeg's own AVOptions which automatically sets all the values to their default.
2018-04-26 16:46:31 -05:00
trav90 73aace89c1 [ffvpx] Revert Mozilla hack in FFmpeg code
This hack was added by Mozilla to work around a potential data race, however the root cause was fixed by upstream in release 3.4 so this hack is no longer needed.
2018-04-26 16:45:18 -05:00
janekptacijarabaci 05085ceebe [PALEMOON] [frontend vs backend] Fix of non-existent CSS files
Issue #121
2018-04-26 23:30:48 +02:00
janekptacijarabaci 9414007bde [PALEMOON] Bug 723951 - Popup notification does not continue when the tab move to other window
Issue #121
2018-04-26 23:12:13 +02:00
janekptacijarabaci fc60f65ed1 Bug 1288557 - Part 1: Replace custom exceptions dialog with usage of permissions 2018-04-26 22:45:38 +02:00
janekptacijarabaci e19475faac Bug 1288557 - Part 0: Fix permissions dialog while receiving deleted event 2018-04-26 22:45:12 +02:00
janekptacijarabaci 6a57baf706 Merge branch 'master' of https://github.com/MoonchildProductions/UXP into pm_permissions_1 2018-04-26 21:47:05 +02:00
wolfbeast be1786f7b0 Remove support for system jemalloc. 2018-04-26 17:59:36 +02:00
janekptacijarabaci 1d18a1e8ef [follow up] Bug 1216684 - Notification permissions ... in private windows - implemented "_getBrowserForRequest" function (e10 off only) 2018-04-26 17:12:33 +02:00
Moonchild 9a97c58feb Merge pull request #269 from adeshkp/button_messages
Improve some button labels in preferences
2018-04-26 16:46:59 +02:00
janekptacijarabaci 98d8f632c6 [PALEMOON] Preferences: Fix permissions.xul (an introductory comment) 2018-04-26 16:33:40 +02:00
janekptacijarabaci 83697a652b [follow up] Bug 1192458, Part 1 - Consolidate push and desktop notification permissions 2018-04-26 16:06:38 +02:00
janekptacijarabaci 947461bd29 [follow up] Bug 1216271 - Display a notification upon upgrade for users who currently allow notifications for at least one site 2018-04-26 16:06:24 +02:00
wolfbeast 698b659ee2 Make github file all caps 2018-04-26 14:37:47 +02:00
wolfbeast 43642846e2 Add github contributing guidelines 2018-04-26 14:26:35 +02:00
janekptacijarabaci 7ca378e8c0 [PALEMOON] Permisions Manager: Added a comment 2018-04-26 12:52:13 +02:00
janekptacijarabaci a8b1780786 Bug 1280775 - null check in removePermission to prevent crash: permission manager change 2018-04-26 12:40:03 +02:00
janekptacijarabaci e0b1636542 Bug 1212610 - Fix sorting permissions by site due a legacy property name being referenced 2018-04-26 12:38:26 +02:00
janekptacijarabaci 74995ea938 Bug 1190175 - Update offlineapp listbox to display origin property 2018-04-26 12:37:44 +02:00
janekptacijarabaci 28a3484e2b Bug 1189073 - Handle entering 'localhost:12345' into the cookie exceptions dialog correctly 2018-04-26 12:36:58 +02:00
janekptacijarabaci db90929b34 Bug 1185365 - Correctly deal with full URLs in the cookie exceptions dialog 2018-04-26 12:35:55 +02:00
janekptacijarabaci dbfedf8462 Bug 1173523 - Part 9: Update pageinfo to use the new API for nsIPermission 2018-04-26 12:30:42 +02:00
janekptacijarabaci 0638a11fc4 Bug 1173523 - Part 7: Update advanced.js to use new API for nsIPermission 2018-04-26 12:29:03 +02:00
janekptacijarabaci 33377b3a9e Bug 1173523 - Part 5: Update the preferences permissions UI to use new API for nsIPermission (+ fix typos) 2018-04-26 12:26:15 +02:00
janekptacijarabaci 02f885d124 Bug 1173523 - Part 4: Update about:permissions to use new API for nsIPermission 2018-04-26 12:17:41 +02:00
janekptacijarabaci 94d59b4ebc Bug 1173523 - Part 3: Update PluginContent to use new API for nsIPermission 2018-04-26 10:38:41 +02:00
janekptacijarabaci 2703a13f12 Bug 1221330 - Show the app icon in the XUL upgraded notifications alert 2018-04-26 10:23:42 +02:00
janekptacijarabaci 38dc3017a0 Bug 1220884 - Friendlier string for the notification upgrade UI 2018-04-26 10:22:48 +02:00
janekptacijarabaci 76658b9682 Bug 1216271 - Follow-up to add L10N notes and fix style to use an early return 2018-04-26 10:21:56 +02:00
janekptacijarabaci 79b88b3039 Bug 1216271 - Display a notification upon upgrade for users who currently allow notifications for at least one site 2018-04-26 10:21:03 +02:00
janekptacijarabaci 7b7c12e0a3 Bug 1216684 - Notification permissions cannot be global granted/denied in private windows 2018-04-26 10:11:19 +02:00
janekptacijarabaci d49d212c38 Bug 1192458, Part 2 - New icon for consolidated notification permission 2018-04-26 10:07:36 +02:00
janekptacijarabaci d6213d3f05 Bug 1192458, Part 1 - Consolidate push and desktop notification permissions 2018-04-26 09:54:20 +02:00
adeshkp f506d6fcaa [Toolkit] Change button labels in password manager 2018-04-26 01:53:49 -04:00
adeshkp 4411befc8e [Basilisk] Change button labels in cookies dialog 2018-04-26 01:49:13 -04:00
adeshkp eca7e648bf [Pale Moon] Change button labels in cookies dialog 2018-04-26 01:48:38 -04:00
janekptacijarabaci 4678680983 Bug 661831 - In about:permissions, make Ctrl+f focus the filter box instead of invoking the find bar 2018-04-26 07:25:09 +02:00
janekptacijarabaci eebf4162a9 Bug 1170200 - Part 2: Update JavaScript consumers of nsIPermissionManager::Remove 2018-04-26 07:16:10 +02:00
janekptacijarabaci 49ba38d216 Bug 1039540 - Disable the sorting of rows of sub-dialogs when right clicking (+ style clean up) 2018-04-26 07:12:25 +02:00
janekptacijarabaci cbbc05dd10 Bug 1137870 - Fix mismatching argument counts in permissions.js (partially) 2018-04-26 07:08:26 +02:00
janekptacijarabaci 0bea8f9eff Bug 340432 - Add the ability to cancel site permission changes 2018-04-26 07:06:14 +02:00
janekptacijarabaci b688bdfa9a Bug 574460 - Fix handling of permission deletion notifications in preference dialogs 2018-04-26 06:42:11 +02:00
janekptacijarabaci 522095380f Bug 431901 - Update preference dialogs to treat backspace and delete equivalently on Mac OS X 2018-04-26 06:35:21 +02:00
janekptacijarabaci 90e7b45099 Bug 1006461 - Fix handling of permission notifications in preference dialogs 2018-04-26 06:33:40 +02:00
janekptacijarabaci e33d1d875e Bug 956151 - Remove the perm attribute in permissions.js 2018-04-26 06:32:22 +02:00
janekptacijarabaci 62779a4b8d Bug 1038811 - Push Notifications (observer) 2018-04-26 06:19:39 +02:00
janekptacijarabaci 43caa48ecb Bug 1038811 - Push Notifications - Firefox front end changes for preferences, and permission notification 2018-04-26 06:17:52 +02:00
janekptacijarabaci c86fbfd031 Bug 1115293 - Use "use strict" 2018-04-26 05:40:26 +02:00
janekptacijarabaci b0d7b1bb38 Bug 996448 - Lazify the loading of PluralForm.jsm everywhere 2018-04-26 05:39:27 +02:00
janekptacijarabaci 72def35cd0 [PALEMOON] [frontend vs backend] Downloads: Fix - the context menu - "Copy Download Link"
Issue #121
2018-04-26 00:19:51 +02:00
wolfbeast 42f8488a5f Merge branch 'master' into Basilisk-release 2018-04-25 23:08:37 +02:00
wolfbeast 6c3f95480a Disable TLS 1.3 by default for now until our NSS can be updated to the latest spec. 2018-04-25 21:36:59 +02:00
wolfbeast 7c4d50dccf Revert "Update NSPR to 4.18"
This reverts commit 8781f74555.
2018-04-25 21:33:57 +02:00
wolfbeast fba28f1975 Revert "Update NSS to 3.35-RTM"
This reverts commit f1a0f0a56f.
2018-04-25 21:33:33 +02:00
wolfbeast b4154e043b Revert "Update build system files for NSS 3.35"
This reverts commit a910f57af6.
2018-04-25 21:33:09 +02:00
janekptacijarabaci 1e7bbbf01c Bug 1243445 - Pasting an invalid URL breaks the Downloads View in the Library
Issue #121
2018-04-25 20:27:42 +02:00
janekptacijarabaci fa6fa13eb4 Bug 945707 - Pausing a download fails when done after a retry + follow up (see the description)
Issue #121
[follow up] Bug 92737 - Part 9: Download multiple files when multiple
items are dropped on Downloads view in Library Window
2018-04-25 16:05:19 +02:00
janekptacijarabaci 3ab6c7feee Merge branch 'master' of https://github.com/MoonchildProductions/UXP into pm_url_1 2018-04-25 15:48:44 +02:00
wolfbeast b069dabc91 Avoid calling slice in self-hosted code. DiD
This time without unrelated/incomplete pluralforms junk.
2018-04-25 11:16:14 +02:00
wolfbeast 9349f7f29e Revert "Add pluralrules to JS Intl"
This reverts commit 7686bceecf.
2018-04-25 08:26:25 +02:00
wolfbeast fe8155c118 Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2018-04-25 01:44:14 +02:00
wolfbeast fcfd61829a Honor browser.safebrowsing.UI.enabled
This resolves #266
2018-04-25 01:41:05 +02:00
Moonchild a203f449bb Merge pull request #262 from janekptacijarabaci/js_dom_overflow_1
moebius#138: Optimize operations on root of deeply-nested frame tree
2018-04-25 01:01:08 +02:00
wolfbeast acd4eee44e Tweak fullscreen API 2018-04-24 23:12:55 +02:00
janekptacijarabaci eae8d21428 moebius#138: Optimize operations on root of deeply-nested frame tree
https://github.com/MoonchildProductions/moebius/pull/138
2018-04-24 21:39:13 +02:00
wolfbeast f7edee79a1 Remove build support for HP-UX
Note: 3rd party lib support (NSS, etc.) has not been touched.
2018-04-24 20:27:06 +02:00
janekptacijarabaci d0e748cada Bug 1338053: Make nsFlexContainerFrame::MarkIntrinsicISizesDirty() also call its parent class's method 2018-04-24 20:25:23 +02:00
janekptacijarabaci bf901ae222 Bug 1336708: Reftest 2018-04-24 20:23:20 +02:00
janekptacijarabaci dca75f84eb Bug 1336708: Don't reuse cached flex-item reflow measurements if the item's computed height has changed 2018-04-24 20:21:41 +02:00
janekptacijarabaci 2f87463ea3 Bug 1209697: Cache flex measuring reflows to avoid exponential behavior 2018-04-24 20:18:05 +02:00
janekptacijarabaci 401a0e12af Bug 1209697: Clear ancestor intrinsic sizes when our block size changes 2018-04-24 20:17:56 +02:00
Moonchild 810a3245a8 Merge pull request #259 from janekptacijarabaci/error_CloudSync_2
moebius#209: Throws an error - "CloudSync is not defined"
2018-04-24 19:38:33 +02:00
Moonchild 444b1a26ab Merge pull request #260 from janekptacijarabaci/plugins_placeholder_css_1
palemoon#583 and #1071: Fix: Plugin placeholder image/text (ask to activate) missing + overlay
2018-04-24 19:36:41 +02:00
Moonchild 1b0a03a2e1 Merge pull request #258 from janekptacijarabaci/forgetAboutSite_1
moebius#30 and #37: ForgetAboutSite.jsm - promise - serialize vs. parallel + a comment
2018-04-24 19:34:58 +02:00
Moonchild 844da2ccc6 Merge pull request #243 from janekptacijarabaci/fetch_response_body_null_1
moebius#312: DOM - Fix incorrect TypeError: Response body is given with a null body status
2018-04-24 19:34:41 +02:00
janekptacijarabaci 70c2ad9f47 palemoon#583 and #1071: Fix: Plugin placeholder image/text (ask to activate) missing + overlay
https://github.com/MoonchildProductions/Pale-Moon/pull/583
https://github.com/MoonchildProductions/Pale-Moon/pull/1071
2018-04-24 19:31:32 +02:00
janekptacijarabaci 9b88e7cf78 moebius#209: Throws an error - "CloudSync is not defined"
https://github.com/MoonchildProductions/moebius/pull/209
2018-04-24 19:26:11 +02:00
janekptacijarabaci 846bbb9930 moebius#30 and #37: ForgetAboutSite.jsm - promise - serialize vs. parallel + a comment
https://github.com/MoonchildProductions/moebius/pull/30
https://github.com/MoonchildProductions/moebius/pull/37
2018-04-24 19:23:04 +02:00
New Tobin Paradigm c80777a81c Merge pull request #255 from janekptacijarabaci/pm_preferences_cookies_1
[PALEMOON] [frontend vs backend] Fix cookies in Preferences
2018-04-24 11:03:07 -04:00
New Tobin Paradigm bb87aeab9a Merge pull request #254 from janekptacijarabaci/pm_sanitize_1
[PALEMOON] [frontend vs backend] Fix sanitize ("History" - "Clear Recent History...")
2018-04-24 11:00:56 -04:00
New Tobin Paradigm ce197c4e52 Merge pull request #244 from janekptacijarabaci/pm_toolbars_custom_persist_2
[fix typo] palemoon#903 and #975: Customizable toolbars - persist the attribute "collapsed" (backward compatible)
2018-04-24 11:00:43 -04:00
wolfbeast 1697d6456f Re-introduce some required overrides (why were ALL of them cleared?!) 2018-04-24 16:52:13 +02:00
janekptacijarabaci 2f5ced80c4 [PALEMOON] [frontend vs backend] Fix cookies in Preferences
Issue #121
2018-04-24 15:37:56 +02:00
janekptacijarabaci 11063e9720 [PALEMOON] [frontend vs backend] Fix sanitize ("History" - "Clear Recent History..."):
Issue #121
2018-04-24 15:36:35 +02:00
janekptacijarabaci 765fc0b0e2 [fix typo] palemoon#903 and #975: Customizable toolbars - persist the attribute "collapsed" (backward compatible)
https://github.com/MoonchildProductions/Pale-Moon/pull/903
https://github.com/MoonchildProductions/Pale-Moon/pull/975
https://github.com/MoonchildProductions/UXP/issues/242
2018-04-24 11:57:59 +02:00
janekptacijarabaci 27e021136b moebius#312: DOM - Fix incorrect TypeError: Response body is given with a null body status
https://github.com/MoonchildProductions/moebius/issues/312
2018-04-24 11:47:08 +02:00
wolfbeast 6662cdbeb3 Hard-code the version number for Mozilla's version checker for add-ons. 2018-04-23 22:46:01 +02:00
wolfbeast 681c39a0ec Hard-code the version number for Mozilla's version checker for add-ons. 2018-04-23 17:21:17 +02:00
Moonchild 31187065d9 Merge pull request #240 from JustOff/PR_bootstrap_scope
Fix accessing the bootstrap methods when they are declared in the new lexical scope
2018-04-23 16:37:25 +02:00
JustOff be2b3635ad Fix accessing the bootstrap methods when they are declared in the new lexical scope 2018-04-23 14:52:50 +03:00
Moonchild bccb9c1708 Merge pull request #238 from janekptacijarabaci/js_dom_pointer_events_2
moebius#195: DOM - PointerEvents - improvements (implement pointerup and pointerdown)
2018-04-23 12:17:34 +02:00
janekptacijarabaci d9d3b687b7 moebius#195: DOM - PointerEvent - improvements
https://github.com/MoonchildProductions/moebius/pull/195
2018-04-23 11:54:06 +02:00
Moonchild 1ea8529cfb Merge pull request #233 from janekptacijarabaci/webextensions_sandbox_sandboxName_1
moebius#328: Set a sandboxName on the WebExtensions Content Script sandboxes
2018-04-23 11:46:38 +02:00
Moonchild 8ed46f424e Merge pull request #231 from janekptacijarabaci/security_blocking_data_1
moebius#223, #224, #226, #230: DOM - consider blocking top level window data: URIs
2018-04-23 11:46:21 +02:00
Moonchild 8ffac11aa6 Merge pull request #232 from janekptacijarabaci/webextensions_shortcut_space_1
moebius#221: WebExtensions - commands API does not support shortcuts with space or numbers
2018-04-23 11:45:34 +02:00
Moonchild f5618cd8e9 Merge pull request #235 from janekptacijarabaci/security_windows_certificate-stores_1
moebius#119: (Windows) Security - Certificate Stores - NSSCertDBTrustDomain allows end-entities to be their own trust anchors
2018-04-23 11:45:20 +02:00
Moonchild 3b55277bc5 Merge pull request #237 from janekptacijarabaci/js_dom_getSelection_document_1
moebius#121: DOM - Selection API - getSelection() should exist on XMLDocument / Selection.type
2018-04-23 11:45:04 +02:00
Moonchild d220a5e6aa Merge pull request #236 from janekptacijarabaci/js_dom_createEvent_FocusEvent_1
moebius#123: DOM - Events - support createEvent("FocusEvent")
2018-04-23 11:44:47 +02:00
Moonchild 531abf2551 Merge pull request #234 from janekptacijarabaci/about_errors_1
moebius#65: Fix: various "about:..." system pages errors
2018-04-23 11:44:12 +02:00
janekptacijarabaci 0a9acadcca moebius#121: DOM - Selection API - getSelection() should exist on XMLDocument / Selection.type
https://github.com/MoonchildProductions/moebius/pull/121
2018-04-23 09:16:50 +02:00
janekptacijarabaci 9957290b5a moebius#123: DOM - Events - support createEvent("FocusEvent")
https://github.com/MoonchildProductions/moebius/pull/123
2018-04-23 09:13:00 +02:00
janekptacijarabaci c3ec00a152 moebius#119: (Windows) Security - Certificate Stores - NSSCertDBTrustDomain allows end-entities to be their own trust anchors
https://github.com/MoonchildProductions/moebius/pull/119
2018-04-23 09:10:12 +02:00
janekptacijarabaci b9ecf99332 moebius#65: Fix: "about:..." - throws an errors
https://github.com/MoonchildProductions/moebius/pull/65
2018-04-23 09:02:57 +02:00
janekptacijarabaci ace6085fea moebius#328: Set a sandboxName on the WebExtensions Content Script sandboxes
https://github.com/MoonchildProductions/moebius/pull/328
2018-04-23 08:52:58 +02:00
janekptacijarabaci e2649bc086 moebius#221: WebExtensions - commands API does not support shortcuts with space or numbers
https://github.com/MoonchildProductions/moebius/pull/221
2018-04-23 08:51:40 +02:00
Matt A. Tobin 1916969baa Fix preprocessor conditional precedence in application.ini 2018-04-22 19:15:20 -04:00
Matt A. Tobin 3c48cc8509 Resolve issues with application.ini not allowing non-mcp applications to be official and have their own vendor
Also add BinOC cause two words breaks the build system
2018-04-22 18:36:16 -04:00
janekptacijarabaci ccbd5ecf57 moebius#187: DOM - nsIContentPolicy - context (document)
https://github.com/MoonchildProductions/moebius/pull/187
2018-04-23 00:13:56 +02:00
janekptacijarabaci 30621a6307 Revert "Bug 1182569: Use AsyncOpen2 for docshell loads"
This reverts commit 29bd11c3cd.
2018-04-22 22:17:18 +02:00
janekptacijarabaci 115cf1e322 Revert "Bug 1182569: Update ContentSecurityManager to handle docshell loads"
This reverts commit 2e33335820.
2018-04-22 22:17:09 +02:00
janekptacijarabaci 13f3978a14 Revert "Bug 1182569 - Skip security check for plugins using newstream attribute"
This reverts commit 5b0f4649b3.
2018-04-22 22:16:58 +02:00
janekptacijarabaci ee4f7c4aa1 Revert "Bug 1182569: Update tests when converting docshell loads to use AynscOpen2"
This reverts commit b73225e886.
2018-04-22 22:16:35 +02:00
janekptacijarabaci f5545f8af2 Revert "Bug 1182569: Disable hsts priming for loads of type subdocument for wpt tests"
This reverts commit 5d9ae788d5.
2018-04-22 22:16:22 +02:00
janekptacijarabaci 49989d0f01 Revert "Bug 1182569: Add credentials mode for fetch-frame-resource.https.html wpt test"
This reverts commit d3575bfb5b.
2018-04-22 22:16:11 +02:00
janekptacijarabaci d3575bfb5b Bug 1182569: Add credentials mode for fetch-frame-resource.https.html wpt test
native in moebius
2018-04-22 22:11:33 +02:00
janekptacijarabaci 5d9ae788d5 Bug 1182569: Disable hsts priming for loads of type subdocument for wpt tests
native in moebius
2018-04-22 22:09:32 +02:00
janekptacijarabaci b73225e886 Bug 1182569: Update tests when converting docshell loads to use AynscOpen2
native in moebius
2018-04-22 22:02:20 +02:00
janekptacijarabaci 5b0f4649b3 Bug 1182569 - Skip security check for plugins using newstream attribute
native in moebius
2018-04-22 21:59:46 +02:00
janekptacijarabaci 2e33335820 Bug 1182569: Update ContentSecurityManager to handle docshell loads
native in moebius
2018-04-22 21:51:49 +02:00
janekptacijarabaci 29bd11c3cd Bug 1182569: Use AsyncOpen2 for docshell loads
native in moebius
2018-04-22 21:47:27 +02:00
janekptacijarabaci dbfad99a51 Bug 1323683 - Fold nsIURIWithQuery into nsIURI
native in moebius
2018-04-22 21:20:53 +02:00
janekptacijarabaci 8af1b0c22a Bug 1329570 - Restore missing error check in mozilla::dom::Location::GetPathname
native in moebius
2018-04-22 21:00:39 +02:00
wolfbeast 55eb2832f5 Set preferences for release. 2018-04-22 20:41:43 +02:00
janekptacijarabaci 95c4608241 Bug 1329288: Allow content policy consumers to identify contentPolicy checks from docshell 2018-04-22 20:38:02 +02:00
janekptacijarabaci a38e87d455 Bug 1329288 - Test ContentPolicy blocks opening a new window 2018-04-22 20:37:09 +02:00
janekptacijarabaci 660d01438a moebius#230: Consider blocking top level window data: URIs (part 3/3 without tests)
https://github.com/MoonchildProductions/moebius/pull/230
2018-04-22 20:28:18 +02:00
wolfbeast 8ae405b693 Make sure to keep the safebrowsing entities valid. 2018-04-22 19:48:42 +02:00
wolfbeast eb25a9bd70 Update about:rights legal text. 2018-04-22 19:48:26 +02:00
wolfbeast 3dbe5b2d7b Remove undesired system add-ons (all except PDFjs) 2018-04-22 19:48:09 +02:00
wolfbeast 420458002d Disable Mozilla health report service. 2018-04-22 19:47:53 +02:00
wolfbeast 7ab45761af Remove NPAPI deprecation statement from about:plugins. 2018-04-22 19:47:37 +02:00
janekptacijarabaci f1e5578718 moebius#226: Consider blocking top level window data: URIs (part 2/2 without tests)
https://github.com/MoonchildProductions/moebius/pull/226
2018-04-22 19:03:22 +02:00
janekptacijarabaci 1b4c4256ee moebius#223: Consider blocking top level window data: URIs (part 1/3 without tests)
https://github.com/MoonchildProductions/moebius/pull/223
2018-04-22 18:51:38 +02:00
wolfbeast 003273327d Make sure to keep the safebrowsing entities valid. 2018-04-22 18:17:19 +02:00
Matt A. Tobin c30ebdac27 Fix for loops in AddonRepository_SQLiteMigrator.jsm (SyntaxError: missing ] after element list) 2018-04-22 11:16:08 -04:00
wolfbeast 650371311d Update about:rights legal text. 2018-04-22 14:59:26 +02:00
wolfbeast 1fccd9d8ee Remove undesired system add-ons (all except PDFjs) 2018-04-22 13:19:49 +02:00
wolfbeast f2f6f7e8b0 Disable Mozilla health report service. 2018-04-22 13:16:44 +02:00
wolfbeast e73929a782 Remove NPAPI deprecation statement from about:plugins. 2018-04-22 13:08:18 +02:00
Moonchild c74754d238 Merge pull request #225 from janekptacijarabaci/data-transfer_1
moebius#56: DataTransfer - Pasting image from clipboard fails in some cases
2018-04-22 10:13:13 +02:00
Moonchild cbe93351ee Merge pull request #227 from janekptacijarabaci/devtools_preprocessor_1
Use preprocessor for "chrome://devtools/skin/devtools-browser.css" in browser.xul
2018-04-22 10:13:00 +02:00
Moonchild a558ac8ac9 Merge pull request #228 from janekptacijarabaci/pm_devtools_4_path
[PALEMOON] [frontend vs backend] Use "devtools-browser.css" instead of "global/skin/devtools/common.css" (does not exist) in browser.xul
2018-04-22 10:12:40 +02:00
Moonchild a54f392aff Merge pull request #229 from janekptacijarabaci/devtools_css_warnings_variable_1
[DevTools] Fix warnings: "Property contained reference to invalid variable"
2018-04-22 10:11:15 +02:00
janekptacijarabaci bdb4ff5816 moebius#157: The Performance Observer (improvements)
https://github.com/MoonchildProductions/moebius/pull/157
2018-04-22 04:25:34 +02:00
janekptacijarabaci 752af49b6e [DevTools] Fix warnings: "Property contained reference to invalid variable"
Issue #121
2018-04-22 02:34:33 +02:00
janekptacijarabaci 9e45391482 Use preprocessor for "chrome://devtools/skin/devtools-browser.css" in browser.xul 2018-04-22 02:31:00 +02:00
janekptacijarabaci 766ad26871 [PALEMOON] [frontend vs backend] Use "devtools-browser.css" instead of "global/skin/devtools/common.css" (does not exist) in browser.xul
Issue #121
2018-04-22 02:28:42 +02:00
New Tobin Paradigm 747b7a9cc4 Merge pull request #226 from JustOff/PR_PMkit_part3
Make Add-on SDK (Jetpack) work on Pale Moon || Part 3
2018-04-21 20:02:56 -04:00
JustOff 54db9d2005 [PMkit] Fix the shim for 'sdk/ui/button' 2018-04-22 00:44:42 +03:00
JustOff d002463032 [PMkit] Mark 'sdk/panel' as compatible with Pale Moon 2018-04-22 00:43:24 +03:00
janekptacijarabaci 306690e137 Merge branch 'master' of https://github.com/MoonchildProductions/UXP into data-transfer_1 2018-04-21 18:53:06 +02:00
wolfbeast 0a744b1cfe Remove unused header file for MeeGo Touch 2018-04-21 17:33:10 +02:00
wolfbeast 21f5ffe826 Disallow E10S to run. 2018-04-21 15:05:05 +02:00
Moonchild 844da4597f Merge pull request #221 from janekptacijarabaci/js_dom_pointer_events_1
moebius#71: Pointer Events - improvements
2018-04-21 14:53:24 +02:00
wolfbeast fb37ed0a37 Disable grabbing geo-specific search engines from Mozilla servers. 2018-04-21 02:58:41 +02:00
wolfbeast 7e01cff204 Remove region-specific overrides for search engines. 2018-04-21 02:40:43 +02:00
wolfbeast b2aab9283a Define vendorFullName in Official Branding 2018-04-21 02:33:37 +02:00
Matt A. Tobin 94a484dd7e Merge branch 'master' into xulrunner 2018-04-20 20:16:18 -04:00
Matt A. Tobin 754ad61048 Import XULRunner and make it produce the generic stub 2018-04-20 20:11:26 -04:00
New Tobin Paradigm b3bf60f426 Merge pull request #223 from trav90/glxtest_pipe
Use -1 instead of 0 to indicate absent glxtest_pipe fd
2018-04-20 19:42:04 -04:00
trav90 2828e5db82 Use -1 instead of 0 to indicate absent glxtest_pipe fd 2018-04-20 17:44:53 -05:00
New Tobin Paradigm fc5870128f Merge pull request #222 from trav90/buildsystem-work
Force use of level 1 Liftetime DSE optimization with modern GCC
2018-04-20 18:20:46 -04:00
New Tobin Paradigm 6896f68985 Merge pull request #217 from janekptacijarabaci/webextensions_runtime_onMessageExternal-onConnectExternal_1
moebius#217: WebExtensions - Implemented "runtime.onMessageExternal"/"onConnectExternal"
2018-04-20 17:51:57 -04:00
New Tobin Paradigm 68c11d035c Merge pull request #218 from janekptacijarabaci/webextensions_commands_1
moebius#219: WebExtensions - add-on throws error on load when suggested_key is null / missing
2018-04-20 17:51:40 -04:00
New Tobin Paradigm 55b2b54f43 Merge pull request #220 from JustOff/PR_PMkit_part2
Make Add-on SDK (Jetpack) work on Pale Moon || Part 2
2018-04-20 17:49:47 -04:00
janekptacijarabaci 4549256c2b moebius#56: Fix: DataTransfer - Pasting image from clipboard fails in some cases
https://github.com/MoonchildProductions/moebius/pull/56
2018-04-20 22:54:26 +02:00
janekptacijarabaci 09f456b280 moebius#71: DOM - Pointer Events - improvements
https://github.com/MoonchildProductions/moebius/pull/71
2018-04-20 22:18:52 +02:00
Matt A. Tobin a26cb28c97 [PALEMOON] Replace tabs with 2 spaces in statusbar component 2018-04-20 16:10:23 -04:00
JustOff e00e3008fe [PMkit] Rely on MOZ_WEBEXTENSIONS to include 'sdk/webextension' 2018-04-20 22:45:23 +03:00
Matt A. Tobin 114cc12ee9 Un-deprecate nsNavHistory::GetPageTitle and nsNavBookmarks::GetURIForKeyword 2018-04-20 15:30:42 -04:00
janekptacijarabaci 9b1ba68334 Bug 1302297 - Part 4: Remove every button and buttons used in testcases (partially)
native in moebius
2018-04-20 20:41:48 +02:00
janekptacijarabaci e43cde864f Bug 1299197 Part2: Serialize WidgetPointerHelper in IPC message
native in moebius
2018-04-20 20:30:07 +02:00
janekptacijarabaci 8a6f654e95 Bug 1299197 Part1: Refine WidgetPointerHelper
native in moebius
2018-04-20 20:28:00 +02:00
JustOff 4c0556f928 [PMkit] Remove embedded WebExtensions support 2018-04-20 21:11:18 +03:00
JustOff 7d7df95f28 [PMkit] Provide gContextMenuContentData for 'sdk/context-menu' 2018-04-20 21:10:10 +03:00
janekptacijarabaci d4feeb474e Bug 1322994 - Update pointerevent web-platform-tests (partially - depends on)
https://github.com/MoonchildProductions/moebius/pull/71
2018-04-20 19:44:42 +02:00
janekptacijarabaci 04c7949bc3 Bug 1317030 - Removing/reattaching an element from the DOM triggers spurious mouseenter events
native in moebius
2018-04-20 19:16:00 +02:00
janekptacijarabaci 11c9f20ea8 moebius#219: WebExtensions - add-on throws error on load when suggested_key is null / missing
https://github.com/MoonchildProductions/moebius/pull/219
2018-04-20 18:08:43 +02:00
janekptacijarabaci 0b2e4f1afa moebius#217: WebExtensions - Implemented "runtime.onMessageExternal"/"onConnectExternal"
https://github.com/MoonchildProductions/moebius/pull/217
2018-04-20 17:39:09 +02:00
wolfbeast 20a3f8c006 Move the Mark of the Web pref to GRE pref file. 2018-04-20 16:13:21 +02:00
wolfbeast eb64fb02b6 Make the Mark of the Web preference applicable to all applications.
Follow-up to #215.
2018-04-20 16:09:04 +02:00
wolfbeast 877167cf26 Re-implement pref-able file zone information ("Mark of the Web")
See also:
https://github.com/MoonchildProductions/Pale-Moon/issues/593
https://github.com/MoonchildProductions/Pale-Moon/pull/599
2018-04-20 15:59:23 +02:00
Moonchild 27af68f279 Merge pull request #216 from MoonchildProductions/revert-215-pm_zone-information_1
Revert "[PALEMOON] Reimplemented "Time Zone Information""
2018-04-20 15:52:48 +02:00
Moonchild f5c377092c Revert "[PALEMOON] Reimplemented selection internet zone information on downloaded files" 2018-04-20 13:51:38 +00:00
New Tobin Paradigm 954b1888d2 Merge pull request #215 from janekptacijarabaci/pm_zone-information_1
[PALEMOON] Reimplemented "Time Zone Information"
2018-04-20 09:41:21 -04:00
New Tobin Paradigm 8b0c6d3857 Merge pull request #214 from janekptacijarabaci/pm_cmdline_columns-alignment_1
[PALEMOON] moebius#58: Pale Moon - the cmd line - help (the columns alignment)
2018-04-20 09:41:04 -04:00
New Tobin Paradigm 758d79f4b4 Merge pull request #213 from janekptacijarabaci/cmd_migration_1
moebius#144: Launch command: basilisk "-migration -p" (throws an error)
2018-04-20 09:40:46 -04:00
New Tobin Paradigm 633cc96bce Merge pull request #211 from JustOff/PR_PMkit_part1
Make Add-on SDK (Jetpack) work on Pale Moon || Part 1
2018-04-20 09:40:31 -04:00
trav90 c5a52404bd Style fix 2018-04-20 08:27:35 -05:00
janekptacijarabaci cd05a3a783 [PALEMOON] Reimplemented "Time Zone Information"
https://github.com/MoonchildProductions/Pale-Moon/issues/593
Issue #121
2018-04-20 14:52:33 +02:00
New Tobin Paradigm ae4be7c9eb Merge pull request #212 from janekptacijarabaci/profile_resseting_1
moebius#84, #205: Fix: The profile - resetting (partially)
2018-04-20 07:32:32 -04:00
janekptacijarabaci 66fa3acfbd [PALEMOON] moebius#58: Pale Moon - the cmd line - help (the columns alignment)
https://github.com/MoonchildProductions/UXP/commit/259e214960c23346628311d88427c7ca13bdb335
https://github.com/MoonchildProductions/moebius/pull/58
2018-04-20 13:28:38 +02:00
janekptacijarabaci 6d04705a97 Revert partially (application/palemoon) "moebius#205: Fix: The profile - resetting (the custom profile name)" 2018-04-20 13:09:10 +02:00
janekptacijarabaci a5dc179c32 Revert "[PALEMOON] Fix: The profile resseting - partially"
This reverts commit 4e7e4c2cbe.
2018-04-20 12:08:50 +02:00
janekptacijarabaci 56138c585a moebius#144: Launch command: basilisk "-migration -p" (throws an error)
https://github.com/MoonchildProductions/moebius/pull/144
2018-04-20 08:56:09 +02:00
janekptacijarabaci 2b3b701187 [PALEMOON] Fix: The profile resseting - partially (no the cmd "-migration")
https://github.com/MoonchildProductions/UXP/commit/aaf3409c46a5e472bc539a6ad5902f886c980e1f
2018-04-20 08:30:19 +02:00
janekptacijarabaci 4e7e4c2cbe [PALEMOON] Fix: The profile resseting - partially
https://github.com/MoonchildProductions/UXP/commit/aaf3409c46a5e472bc539a6ad5902f886c980e1f

- Revert migration
- Partially
- no manual migration from Places
- no migration from other browsers
- no the cmd `-migration`
- Fix migration files (`// Tycho:`)
- Something in the last commit (a typo)
2018-04-20 08:28:12 +02:00
JustOff c1a1f487af [PMkit] Allow access to 'sdk/ui/buttons' via require('sdk/ui') 2018-04-19 23:45:44 +03:00
JustOff 304b177667 [PMkit] Add the shim for 'sdk/ui/button' 2018-04-19 23:44:30 +03:00
JustOff 6014cdb2e6 [PMkit] Update 'module.metadata' with the Pale Moon engine where appropriate in 'sdk/*' 2018-04-19 23:42:13 +03:00
JustOff d180f2aaf0 [PMkit] Add Pale Moon to 'modules/system/Startup.js' 2018-04-19 23:37:24 +03:00
JustOff 178989c5f5 [PMkit] Add Pale Moon as a target engine to 'sdk/system/xul-app.jsm' 2018-04-19 23:36:08 +03:00
janekptacijarabaci 8b960b23ac moebius#205: Fix: The profile - resetting (the custom profile name)
https://github.com/MoonchildProductions/moebius/pull/205
2018-04-19 19:49:01 +02:00
trav90 0a6fd85ac1 Force use of level 1 Liftetime DSE optimization on modern GCC
Instead of completely disabling it.
2018-04-19 11:39:02 -05:00
janekptacijarabaci 585c1ec4b2 moebius#84: Fix: The profile - resetting (follow up)
https://github.com/MoonchildProductions/moebius/pull/84
2018-04-19 17:26:39 +02:00
New Tobin Paradigm 0216b346f0 Merge pull request #210 from janekptacijarabaci/pm_installer_1
[PALEMOON] Installer - fix some comments (firefox.exe => palemoon.exe)
2018-04-19 09:01:22 -04:00
janekptacijarabaci 1a1d8ddc8c moebius#84: Fix: The profile - resetting
https://github.com/MoonchildProductions/moebius/pull/184
2018-04-19 14:29:05 +02:00
janekptacijarabaci 54c479af3a Bug 1122124: Fix default profile setting after reset, keep profile name
Native in moebius
https://github.com/MoonchildProductions/moebius/pull/184
2018-04-19 14:21:10 +02:00
janekptacijarabaci 9ce0363260 [PALEMOON] Installer - fix some comments (firefox.exe => palemoon.exe) 2018-04-19 14:01:28 +02:00
wolfbeast e3d08de2d2 Enable requestIdleCallback API
This resolves #209.
2018-04-19 13:37:51 +02:00
Moonchild 493d7334f8 Merge pull request #207 from janekptacijarabaci/js_dom_window_requestIdleCallback_1
moebius#73: DOM - window.requestIdleCallback - improvements
2018-04-19 13:35:14 +02:00
wolfbeast d7df65954a Merge branch 'ported-upstream' 2018-04-19 12:08:25 +02:00
Eric Rahm 9135a11e8c Bug 1452202 - Clean up PLDHashTable move operator. r=froydnj, a=RyanVM
--HG--
extra : source : 9036c64b7a66ffe93e717ca97642a4400e396d9c
extra : intermediate-source : 041d1c561feb5f4d9bcd492f31f7203ca477f938
2018-04-19 12:06:04 +02:00
Boris Zbarsky 3b4a815657 Bug 1453339 - Make it harder to mess up Promise::All. r=peterv, a=RyanVM
MozReview-Commit-ID: UO4wssYHj7
2018-04-19 12:05:25 +02:00
Miko Mynttinen ddbe089a62 Bug 1393367 - Change MOZ_ASSERT to MOZ_RELEASE_ASSERT. r=mstange, r=fbraun, a=RyanVM
--HG--
extra : source : 1908cd8ed88dd4f77a99dff39c193d7d3f435195
extra : intermediate-source : 9718d92fab4d9a39acdc2afb0302b6fcd7997f6c
2018-04-19 12:04:38 +02:00
Ryan VanderMeulen e2403192f5 Bug 1452075 - Backport some upstream pdf.js fixes. 2018-04-19 12:03:19 +02:00
Jan de Mooij 9472136272 Bug 1444668 - Avoid allocating large AssemblerBuffers. r=luke, r=bbouvier, a=RyanVM 2018-04-19 12:01:40 +02:00
Bob Owen f243b7b4af Bug 1451376 - Properly enforce single PrintingParent per content process. r=jld, a=RyanVM
--HG--
extra : source : 6e0fe40d8a55a986a26844393853722824918ffe
extra : intermediate-source : 8364f4c4f877f5edfb03ddf1304840b9f2cf7b11
2018-04-19 12:00:54 +02:00
Randell Jesup 8c9b42d0b9 Bug 1452416 - Release GraphDrivers outside of StableState runnable to avoid spinning the event queue. r=smaug, r=padenot, a=RyanVM
--HG--
extra : source : c90ec782d481f05f5848f171a945cfc5bcf5b0ca
2018-04-19 11:59:36 +02:00
Andrew Osmond e7189e33f5 Bug 1388020. r=nical, a=RyanVM 2018-04-19 11:58:39 +02:00
Randell Jesup d66d343e1b Bug 1448705 - Use input latency for draining. r=jya, a=RyanVM
--HG--
extra : source : b2904f128f854a71216f299b835da5a422ceb3cd
extra : intermediate-source : eae4410ea11d83feed90ca9d3b6bd5a9c67c17a7
2018-04-19 11:57:36 +02:00
André Bargull 3cf71e4513 Bug 1449574 - Update tzdata in ICU data files to 2018d. r=Waldo, a=RyanVM 2018-04-19 11:53:08 +02:00
wolfbeast cd68a2d8e7 Error out on missing or searchplugin or empty list. 2018-04-19 11:51:49 +02:00
Robert Longson acf95284e7 Bug 1448774. r=dholbert, a=RyanVM
--HG--
extra : source : edfd9ffbd7208ef0a59f40a0d77d8dd53c905cb9
extra : intermediate-source : 3784b22ec536b08ce95201d73ae8806340c18b8c
2018-04-19 11:39:36 +02:00
Botond Ballo 1d126c1d56 Bug 1443092 - Avoid calling SVGAnimatedEnumeration::AnimVal() from nsSVGUtils::GetBBox(). r=jwatt, a=RyanVM
AnimVal() is a DOM getter, and it flushes animations, which we don't want
in GetBBox() which is called from display list building cide and
FrameLayerBuilder.

MozReview-Commit-ID: DWgm7wAV7C0
2018-04-19 11:38:48 +02:00
Lee Salzman f90d03e857 Bug 1441941 - Limit allocations in SkTDArray. r=jrmuizel, a=RyanVM 2018-04-19 11:37:58 +02:00
Andrew Osmond 49969faa91 Bug 1409440. r=tnikkel, a=RyanVM 2018-04-19 11:37:13 +02:00
Boris Zbarsky 2b020e9bbb Bug 1444231 - Fix QI implementation for FragmentOrElement. r=mccr8, a=RyanVM
MozReview-Commit-ID: 9mPO2ezk2Y7

--HG--
extra : source : 060024fa93121d878d27f329c959757e6f71017a
extra : intermediate-source : 925d5693c5a1a73806062947b18c98ed13efc6c3
2018-04-19 11:35:08 +02:00
Valentin Gosu e01e302f10 Bug 1433609 - Ensure that deserialized URL is correct. r=mayhemer, a=RyanVM
MozReview-Commit-ID: BMQfPzPhDhc
2018-04-19 11:34:13 +02:00
Thomas Nguyen 09bbda15b2 Bug 1361699 - Add buffer when writing hashstore to file. r=gcp, r=mcmanus, a=RyanVM
We write a lot of 4-bytes prefixes to file which call many system calls.
We should use a buffer and only write to file if the buffer is full or
finish writing. nsIBufferedOutputStream is a good candidate to do that

MozReview-Commit-ID: CzGOd7iXVTv

--HG--
extra : source : 8f2b4efc5f0d3191a7e80d9324933621e111b44a
2018-04-19 11:33:20 +02:00
Henri Sivonen 0b5cb08596 Bug 1443891. r=emk, a=RyanVM
MozReview-Commit-ID: AkUTNnVslMf
2018-04-19 11:32:08 +02:00
Nicolas Silva ba71cc45fe Bug 1440717 - Use RefPtr for CompositingRenderTargetOGL::mGL. r=Bas, a=ritu
--HG--
extra : source : b6d2d55223d2aa5cb85bbdf33075d1d38f2a9a30
extra : intermediate-source : 0ec90964e0bc479412a4da8a61d48b665211736e
2018-04-19 11:24:32 +02:00
Thomas Daede e0013ce522 Bug 1446062: libtremor Vorbis fix. r=jmspeex a=dveditz
--HG--
extra : transplant_source : %D3%CE8%8D%D3%C0%D3%C7%BE%7D%F2m%5DM%E3%A0%E4%0CW%F3
2018-04-19 11:22:17 +02:00
Monty Montgomery cfc10b6a6e Bug 1446062 - Vorbis fix. r=jmspeex, a=lizzard
--HG--
extra : source : 6b4e98424f0dcc024fcad48608ada351e4075e59
extra : intermediate-source : 3db9e3d52b17563efca181ccbb50deb8660c59ae
2018-04-19 11:21:28 +02:00
Moonchild f141ce6db7 Merge pull request #206 from janekptacijarabaci/pm_PopupNotifications.jsm_1
[PALEMOON] [frontend vs backend] Fix: PopupNotifications.jsm (some extra checkbox) + catch exceptions from callbacks
2018-04-19 09:53:32 +02:00
Moonchild 3833d85985 Merge pull request #205 from janekptacijarabaci/pm_engine-manager_keyword_1
[PALEMOON] Engine Manager throws a warning (deprecated)
2018-04-19 09:53:12 +02:00
Moonchild e16685fee9 Merge pull request #204 from janekptacijarabaci/pm_toolbarbutton_badge_1
[PALEMOON] Fix badged button renders
2018-04-19 09:50:58 +02:00
janekptacijarabaci 11cf9b22e9 [PALEMOON] [frontend vs backend] Follow up - ".toolbarbutton-badge-container" was renamed to ".toolbarbutton-badge-stack"
Issue #202
2018-04-19 09:14:44 +02:00
janekptacijarabaci ec0f5a83bc [PALEMOON] Fix: PopupNotifications.jsm (some extra checkbox) + catch exceptions from callbacks
Issue #121
2018-04-19 08:01:45 +02:00
janekptacijarabaci f30a2606d4 [PALEMOON] Engine manager - fix typo (added a name function for debugging)
Issue #121
2018-04-19 06:36:40 +02:00
janekptacijarabaci 810cdf0fc5 [PALEMOON] Engine Manager throws a warning (deprecated)
Issue #121
2018-04-19 06:10:46 +02:00
janekptacijarabaci 3ab2a0b7be [PALEMOON] Fix badged button renders
Issue #202
2018-04-19 06:06:42 +02:00
New Tobin Paradigm 8abaa8c760 Merge pull request #203 from janekptacijarabaci/pm_urlbar_dropmarker_1
[PALEMOON] URL/Address/Location bar - suggestions in location bar cannot be hidden by clicking dropmarker again
2018-04-18 22:48:51 -04:00
janekptacijarabaci e3accd0c01 [PALEMOON] URL/Address/Location bar - suggestions in location bar cannot be hidden by clicking dropmarker again
https://github.com/MoonchildProductions/Pale-Moon/pull/1382
2018-04-19 00:19:39 +02:00
wolfbeast 8bfaf15e55 Use tried-and-proven backends for content rendering and reserve the use of Skia for canvas only.
This should prevent anemic, poorly-spaced and/or cut glyphs in content text.
2018-04-18 21:00:09 +02:00
Moonchild ab174e65d9 Merge pull request #201 from janekptacijarabaci/pm_places_error_1
[PALEMOON] Places - fix: throws an error: 0x80004005 (NS_ERROR_FAILURE) [nsIEditor.transactionManager]
2018-04-18 20:24:38 +02:00
wolfbeast d1b17ef97e Use natural border width rounding.
Round subpixel border widths to nearest integer instead of nearest-below integer.
Split caret widths off from border widths and continue to use rounding to nearest-below integer for that.

Bump Goanna version for visual rendering change.
2018-04-18 20:15:33 +02:00
janekptacijarabaci 37bd28f3ef [PALEMOON] Places - fix: throws an error: 0x80004005 (NS_ERROR_FAILURE) [nsIEditor.transactionManager]
Issue #133
Tag https://github.com/MoonchildProductions/UXP/pull/134
2018-04-18 18:59:02 +02:00
janekptacijarabaci b873b2495a moebius#73: DOM - window.requestIdleCallback - improvements (basic) - follow up
https://github.com/MoonchildProductions/moebius/pull/73
2018-04-18 18:19:42 +02:00
janekptacijarabaci 75b26b28bf Merge branch 'master' of https://github.com/MoonchildProductions/UXP into js_dom_window_requestIdleCallback_1 2018-04-18 15:50:29 +02:00
janekptacijarabaci b16ad4c672 Bug 1337814 - Remove rIC callback from pending callbacks before running it 2018-04-18 15:21:00 +02:00
janekptacijarabaci 718874cf11 Bug 1337814 - Add test for cancelling currently executing rIC callback 2018-04-18 15:19:52 +02:00
janekptacijarabaci 8230982799 Bug 1334904 - Add test for when rIC timeouts doesn't need timeout 2018-04-18 15:18:48 +02:00
janekptacijarabaci dadd11df42 Bug 1336229 - Don't dispatch canceled IdleRequestExecutors 2018-04-18 15:17:55 +02:00
janekptacijarabaci c559e3e30f moebius#73: DOM - window.requestIdleCallback - improvements (basic)
https://github.com/MoonchildProductions/moebius/pull/73
2018-04-18 15:15:49 +02:00
New Tobin Paradigm fe15bb43de Merge pull request #199 from trav90/buildsystem-work
Set default MOZ_OPTIMIZE_FLAGS to -O2 when using GCC
2018-04-18 08:22:09 -04:00
wolfbeast 1ef526f0f0 Strengthen the use of the Master Password.
- Use 30k iterations instead of 1.
- Enforce minimum password length of 8 characters.
- Adjust strength meter accordingly.

This resolves #82.
2018-04-18 14:05:21 +02:00
Matt A. Tobin 8058e08926 [PALEMOON] Only use the private autocomplete binding on the URL bar 2018-04-18 07:22:38 -04:00
wolfbeast 8361c83e41 Add extra JS scope for DownloadUtils in urlbarBinding.xml to cater to global lexical scope. 2018-04-18 10:57:23 +02:00
New Tobin Paradigm 8dea5c84fc Merge pull request #198 from JustOff/PR_asyncOpen2
Use asyncOpen2 instead of asyncOpen everywhere in Pale Moon
2018-04-18 04:02:02 -04:00
trav90 c8f78b1ecf Set default MOZ_OPTIMIZE_FLAGS to -O2 when using GCC 2018-04-17 22:54:30 -05:00
JustOff b702c9adca Use asyncOpen2 instead of asyncOpen everywhere in Pale Moon 2018-04-17 23:16:20 +03:00
New Tobin Paradigm 29de8de78c Merge pull request #168 from janekptacijarabaci/xpcom_exportFunction_length_1
moebius#242: XPCOM: exportFunction() - fix wrong .length attribute
2018-04-17 14:58:10 -04:00
Matt A. Tobin 9fb0fef0d2 [PALEMOON] Localize a private copy of the pre-richlistbox autocomplete ksmodule 2018-04-17 13:15:24 -04:00
Matt A. Tobin e7b772334d [PALEMOON] Localize a private copy of the pre-newawesomebar autocomplete bindings and styling 2018-04-17 09:45:29 -04:00
Matt A. Tobin 2b63f23cf3 Restore nsPlacesAutoComplete 2018-04-17 07:32:19 -04:00
Matt A. Tobin 0bdaa97892 Restore typeAheadResult support in autocomplete 2018-04-17 07:31:18 -04:00
janekptacijarabaci b18a9cf86e Merge branch 'master' of https://github.com/MoonchildProductions/UXP into pm_url_1 2018-04-17 08:26:02 +02:00
janekptacijarabaci 90c68b34ab [PALEMOON] Remove unused Task.jsm in openLocation.js 2018-04-17 08:25:01 +02:00
janekptacijarabaci e3dda3ebd5 [PALEMOON] Fix conflict in openLocation.js
https://github.com/MoonchildProductions/UXP/commit/931950a880b3550490422b1855c509be10586858#diff-2f4cb31954d5857012f1452698b9bfce
2018-04-17 08:19:14 +02:00
Matt A. Tobin e719d7b3be Revert "[PALEMOON] Source nsPlacesAutoComplete from the suite"
This reverts commit 532de8c09d.
2018-04-16 16:53:03 -04:00
Matt A. Tobin 72e2a43c01 Revert "[PALEMOON] Use unified complete in autocompletesearch attribute for urlbar"
This reverts commit 2ccac3373f.
2018-04-16 16:52:31 -04:00
Matt A. Tobin 2ccac3373f [PALEMOON] Use unified complete in autocompletesearch attribute for urlbar 2018-04-16 16:44:55 -04:00
Matt A. Tobin 532de8c09d [PALEMOON] Source nsPlacesAutoComplete from the suite 2018-04-16 16:26:11 -04:00
New Tobin Paradigm 89f23776a8 Merge pull request #195 from janekptacijarabaci/pm_toolbars_custom_persist_1
palemoon#903 a #975: Customizable toolbars - persist the attribute "collapsed" (backward compatible)
2018-04-16 13:40:11 -04:00
New Tobin Paradigm 0b4dae0b3f Merge pull request #196 from JustOff/PR_remove_sync_promo_icon
Remove unused Sync promotion notification icon
2018-04-16 13:37:44 -04:00
JustOff 9ec630afa1 Remove unused Sync promotion notification icon 2018-04-16 20:06:31 +03:00
New Tobin Paradigm 4ee09e622b Merge pull request #194 from JustOff/PR_remove_sync_promobox
Remove the Sync promotion in the add-on install doorhanger
2018-04-16 12:27:33 -04:00
JustOff 8fe7bfe065 Remove Sync promobox from popup-notifications.inc as well 2018-04-16 19:24:21 +03:00
JustOff a4cc727daf Remove the Sync promotion in the add-on install doorhanger 2018-04-16 19:09:53 +03:00
New Tobin Paradigm 9c2269b000 Merge pull request #192 from JustOff/PR_netError.dtd_malformedURI.title_dupe
[PALEMOON] Remove accidentally duplicated 'malformedURI.title' from netError.dtd
2018-04-16 11:25:19 -04:00
New Tobin Paradigm e9cabcecc2 Merge pull request #193 from MoonchildProductions/revert-176-pm_unreachable-code-after-return-statement_1
Revert "[PALEMOON] Fix a warning: "unreachable code after return statement" in urlbarBindings.xml"
2018-04-16 11:25:04 -04:00
New Tobin Paradigm 0763852cb7 Revert "[PALEMOON] Fix a warning: "unreachable code after return statement" in urlbarBindings.xml" 2018-04-16 15:24:14 +00:00
New Tobin Paradigm 00c726eaa1 Merge pull request #176 from janekptacijarabaci/pm_unreachable-code-after-return-statement_1
[PALEMOON] Fix a warning: "unreachable code after return statement" in urlbarBindings.xml
2018-04-16 11:24:08 -04:00
Matt A. Tobin 8a5c700e4e [PALEMOON] Update UA Compatibility modes in a backwards compatible way 2018-04-16 11:20:39 -04:00
JustOff cf58e417d4 [PALEMOON] Remove accidentally duplicated 'malformedURI.title' from netError.dtd 2018-04-16 16:21:19 +03:00
wolfbeast 842e3d91b4 Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2018-04-16 14:48:38 +02:00
wolfbeast 931950a880 Mass-replace global-scope let with var in Pale Moon and TychoAM
tag #155
2018-04-16 14:48:23 +02:00
New Tobin Paradigm 4028f58ce7 Merge pull request #175 from janekptacijarabaci/url_parser_2
moebius#131: URL parser - stop preserving empty passwords
2018-04-16 08:31:05 -04:00
New Tobin Paradigm c394a5f871 Merge pull request #180 from janekptacijarabaci/html_input_datetime_2
HTML - input - datetime - support for "dom.forms.datetime.others"
2018-04-16 08:30:27 -04:00
New Tobin Paradigm a557bfae78 Merge pull request #178 from janekptacijarabaci/html_input_datetime_3
[PALEMOON] [Frontend vs Backend] HTML - input - datetime
2018-04-16 08:30:04 -04:00
New Tobin Paradigm ba80720469 Merge pull request #174 from janekptacijarabaci/url_parser_1
moebius#130: URL parser - fix: don't allow empty host name
2018-04-16 08:25:45 -04:00
New Tobin Paradigm a66e6546c3 Merge pull request #173 from janekptacijarabaci/html_table_editor_contenteditable_1
moebius#190: HTML - table - editor (contenteditable) - post process node array to remove all descendants of replacement node
2018-04-16 08:24:14 -04:00
New Tobin Paradigm ded797b8bb Merge pull request #172 from janekptacijarabaci/svg_canvasImageSource_1
moebius#106: SVG - CanvasImageSource - allow using an SVGImageElement as a CanvasImageSource
2018-04-16 08:23:26 -04:00
janekptacijarabaci 4e2383201d [PALEMOON] Customizable toolbars - added a comment 2018-04-16 04:11:45 +02:00
New Tobin Paradigm 6d7fac8440 Merge pull request #181 from trav90/buildsystem-work
Fix GCC -Wreorder warnings.
2018-04-15 19:54:23 -04:00
New Tobin Paradigm f9e866b739 Merge pull request #182 from adeshkp/patch-3
[Tycho AM] Remove test for experiments framework
2018-04-15 19:53:24 -04:00
New Tobin Paradigm c05ad047ef Merge pull request #183 from adeshkp/patch-4
[WebEx AM] Remove test for experiments framework
2018-04-15 19:53:11 -04:00
New Tobin Paradigm 53bd9f7e59 Merge pull request #171 from janekptacijarabaci/js_location_hash_1
Fix: no escape single quote in location.hash
2018-04-15 19:52:56 -04:00
Matt A. Tobin 7ae62c2981 [PALEMOON] Fix packaging define for ICU 2018-04-15 18:21:23 -04:00
janekptacijarabaci b7115f464e palemoon#975: Customizable toolbars - backward compatible (but unidirectional) 2018-04-15 22:31:31 +02:00
janekptacijarabaci 0f8df53ae7 palemoon#903: Customizable toolbars - persist the attribute "collapsed"
https://github.com/MoonchildProductions/Pale-Moon/pull/903
2018-04-15 22:23:57 +02:00
Matt A. Tobin 4cc139ccb8 [PALEMOON] Fix packaging define 2018-04-15 16:21:35 -04:00
adeshkp 3983e0541e [WebEx AM] Remove test for experiments framework 2018-04-15 19:33:04 +00:00
adeshkp d31fa89c8a [Tycho AM] Remove test for experiments framework 2018-04-15 19:28:43 +00:00
trav90 92e0c93288 Fix GCC -Wreorder warnings. 2018-04-15 14:16:41 -05:00
janekptacijarabaci f8086ef486 [PALEMOON] [Frontend vs Backend] HTML - input - datetime
Issue #162
2018-04-15 17:55:14 +02:00
janekptacijarabaci c55addfa64 Bug 1344642 - Part 2: Add a new pref for input type=week, month and datetime-local 2018-04-15 14:52:09 +02:00
janekptacijarabaci 054dde2728 Bug 1344642 - Part 1: Cleanup dom.forms.datepicker related code 2018-04-15 14:39:19 +02:00
janekptacijarabaci 1b4963fd73 Fix flags for "loadURIWithFlags" in openLocation.js
Issue #121
2018-04-15 12:51:04 +02:00
New Tobin Paradigm 4cfe5d84de Merge pull request #159 from JustOff/PR_remove_places_protocol
Remove dead Places protocol handler in Pale Moon
2018-04-15 06:09:05 -04:00
janekptacijarabaci cfa5951ea8 Maybe fix openLocation.js (to Promise)
Issue #121
2018-04-15 12:07:57 +02:00
janekptacijarabaci cebd1e72e2 Bug 92737 - Part 10: Use browserDragAndDrop.dropLinks in urlbarBindings.xml
Issue #121
2018-04-15 11:53:33 +02:00
janekptacijarabaci 02dffb57c8 Bug 92737 - Part 9: Download multiple files when multiple items are dropped on Downloads view in Library Window
Issue #121
2018-04-15 11:52:31 +02:00
wolfbeast bdd013826b Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2018-04-15 11:51:43 +02:00
wolfbeast fca67bb95d Merge branch 'html_input_datetime_1'
This is almost everything needed for #162.
2018-04-15 11:51:11 +02:00
janekptacijarabaci b15719c7f8 Bug 92737 - Part 8: Download multiple files when multiple items are dropped on Downloads button
Issue #121
2018-04-15 11:49:38 +02:00
janekptacijarabaci c16c115ea7 Bug 92737 - Part 7: Open multiple windows when multiple items are dropped on New Window button
Issue #121
2018-04-15 11:48:06 +02:00
janekptacijarabaci d15edc6fd6 Bug 92737 - Part 6: Open multiple tabs when multiple items are dropped on New Tab button
Issue #121
2018-04-15 11:47:06 +02:00
janekptacijarabaci d432689a50 Bug 92737 - Part 5: Set multiple homepage when multiple items are dropped on Home button
Issue #121
2018-04-15 11:46:16 +02:00
janekptacijarabaci 60d29fb286 Bug 92737 - Part 4: Open multiple tabs when multiple items are dropped on tab
+ Follow up:
Bug 92737 - Part 3: Open multiple tabs when multiple items are dropped
on remote content area
- browser.js: "usercontextid" (default: 0)
2018-04-15 11:43:52 +02:00
janekptacijarabaci 3c93fde763 Bug 92737 - Part 2: Open multiple tabs when multiple items are dropped on non-remote content area
browser.js:

// handleDroppedLink has the following 2 overloads:
//   handleDroppedLink(event, url, name)
//   handleDroppedLink(event, links)
function handleDroppedLink(event, urlOrLinks, name)
{
let links;
if (Array.isArray(urlOrLinks)) {
links = urlOrLinks;
} else {
links = [{ url: urlOrLinks, name, type: "" }];
}

...it is in the previous commit.
2018-04-15 11:29:52 +02:00
janekptacijarabaci 54cd77a551 Bug 1100294 - Turn getShortcutOrURIAndPostData() into a task that uses the new keywords API
Issue #121
2018-04-15 11:14:20 +02:00
janekptacijarabaci 451cbfc039 Bug 1100291 - Make getShortcutOrURIAndPostData() async by calling the passed callback off a zero timeout
Issue #112
2018-04-15 09:48:39 +02:00
janekptacijarabaci f2b4134845 Bug 989984 - getShortcutOrURIAndPostData should have a synchronous callback behavior
Issue #112
2018-04-15 09:46:17 +02:00
janekptacijarabaci 0c6c32a0e6 Bug 846635 - Use asynchronous getCharsetForURI in getShortcutOrURI
Issue #121
2018-04-15 09:31:07 +02:00
janekptacijarabaci b519af5408 [PALEMOON] Fix a warning: "unreachable code after return statement" in urlbarBindings.xml
Issue #121
2018-04-15 08:13:22 +02:00
janekptacijarabaci f138ec95d9 moebius#131: URL parser - stop preserving empty passwords
https://github.com/MoonchildProductions/moebius/issues/131
2018-04-15 08:09:17 +02:00
janekptacijarabaci ae14556114 moebius#130: URL parser - fix: don't allow empty host name
https://github.com/MoonchildProductions/moebius/issues/130
2018-04-15 07:29:18 +02:00
janekptacijarabaci 05bb04a651 moebius#190: HTML - table - editor (contenteditable) - post process node array to remove all descendants of replacement node
https://github.com/MoonchildProductions/moebius/issues/190
2018-04-15 06:55:40 +02:00
janekptacijarabaci f8b9aba821 moebius#106: SVG - CanvasImageSource - allow using an SVGImageElement as a CanvasImageSource 2018-04-15 06:51:24 +02:00
New Tobin Paradigm 8a95c03dcd Merge pull request #169 from janekptacijarabaci/csp_frame-ancestors_1
moebius#159: CSP - support for "frame-ancestors" in "Content-Security-Policy-Report-Only"
2018-04-14 18:14:10 -04:00
New Tobin Paradigm 9282781bdf Merge pull request #167 from janekptacijarabaci/fetch_headers_1
moebius#140: Fix: Fetch - headers should sort and combine
2018-04-14 18:11:24 -04:00
New Tobin Paradigm 8b779470cd Merge pull request #166 from janekptacijarabaci/html_input_maxlength_1
moebius#53: HTML - input - support for dynamic maxlength
2018-04-14 18:10:57 -04:00
Matt A. Tobin da3451bb3d [PALEMOON] Fix gtk conditional in shared branding 2018-04-14 17:59:41 -04:00
New Tobin Paradigm 68011e6ec7 Merge pull request #165 from JustOff/PR_SessionStore_nsICookieManager2_add
Align SessionStore.jsm with the updated nsICookieManager2.add() API
2018-04-14 16:23:42 -04:00
janekptacijarabaci 7d67148f52 moebius#159: CSP - support for "frame-ancestors" in "Content-Security-Policy-Report-Only"
https://github.com/MoonchildProductions/moebius/pull/159
2018-04-14 22:22:59 +02:00
janekptacijarabaci 287ca21a65 moebius#242: XPCOM: exportFunction() - fix wrong .length attribute
https://github.com/MoonchildProductions/moebius/pull/243
2018-04-14 22:20:43 +02:00
janekptacijarabaci 9ee567082c moebius#140: Fix: Fetch - headers should sort and combine
https://github.com/MoonchildProductions/moebius/pull/140
2018-04-14 22:18:47 +02:00
janekptacijarabaci 64875ed348 moebius#53: HTML - input - support for dynamic maxlength
https://github.com/MoonchildProductions/moebius/pull/53
2018-04-14 21:28:42 +02:00
JustOff ead1b037b4 Align SessionStore.jsm with the updated nsICookieManager2.add() API 2018-04-14 22:24:54 +03:00
Matt A. Tobin d594ed2896 [PALEMOON] Move linux icons to moz.build 2018-04-14 14:26:29 -04:00
Matt A. Tobin b189d04718 [PALEMOON] Linux gets emojis too 2018-04-14 14:16:24 -04:00
Matt A. Tobin f5fb45f146 [PALEMOON] Theme chrome.manifest only needs to be packaged on Windows as far as anyone can tell 2018-04-14 14:12:36 -04:00
Moonchild 08cfc34a05 Merge pull request #164 from JustOff/PR_nsContextMenu_unreachable_code
Suppress false-positive warning about unreachable code after return in nsContextMenu.js
2018-04-14 19:47:10 +02:00
Matt A. Tobin 2b8a229ce3 [PALEMOON] Fix depth 2018-04-14 13:07:56 -04:00
JustOff 2054a1205e Suppress false-positive warning about unreachable code after return in nsContextMenu.js 2018-04-14 19:53:25 +03:00
JustOff 01b5b8fd8a Merge branch 'master' of https://github.com/MoonchildProductions/UXP and resolve conflicts 2018-04-14 19:18:40 +03:00
Matt A. Tobin 64204fdb83 Bump Phoenix extensions to allow installing up to Firefox 56.9 2018-04-14 11:29:12 -04:00
Matt A. Tobin e5c2d9acc9 [PALEMOON] Add MOZ_PHOENIX_EXTENSIONS to application specific configure 2018-04-14 11:28:02 -04:00
New Tobin Paradigm c8bdd9c32e Merge pull request #163 from JustOff/PR_SessionStore_getCookiesFromHost
Align SessionStore.jsm with the updated getCookiesFromHost() API
2018-04-14 10:12:52 -04:00
Matt A. Tobin 9147cc1969 Add a hack to deal with defs.mk not always being picked up in Pale Moon's case 2018-04-14 10:03:04 -04:00
Matt A. Tobin 02429a5127 [PALEMOON] Revise packaging 2018-04-14 10:02:15 -04:00
Matt A. Tobin 33406af039 Do not make duplicates fatal while packaging 2018-04-14 10:01:26 -04:00
JustOff 31e756cf05 Align SessionStore.jsm with the updated getCookiesFromHost() API 2018-04-14 14:44:55 +03:00
New Tobin Paradigm f8ad954f7d Merge pull request #160 from janekptacijarabaci/build_warnings_1
Fix a build warning for BrowserComponents.manifest
2018-04-14 07:25:20 -04:00
janekptacijarabaci 77bb1e886c Fix a build warning for BrowserComponents.manifest
[drive]:/[path]/browser/components/BrowserComponents.manifest: WARNING:
no useful preprocessor directives found
2018-04-14 12:18:01 +02:00
JustOff 25370b7f0c Remove dead Places protocol handler in Pale Moon 2018-04-14 13:00:36 +03:00
New Tobin Paradigm c73c73b797 Merge pull request #131 from janekptacijarabaci/js_dom_xmlhttprequest_abort_1
Aligned XMLHttpRequest abort() with the spec
2018-04-14 03:19:49 -04:00
New Tobin Paradigm 63d482639c Merge pull request #156 from janekptacijarabaci/pm_places_downloads_1
[PALEMOON] Downloads - throws an error
2018-04-14 03:11:32 -04:00
janekptacijarabaci 72ad33f3fd [PALEMOON] Downloads - throws an error
Issue #121
2018-04-14 04:53:35 +02:00
New Tobin Paradigm 99ba894a9a Merge pull request #154 from janekptacijarabaci/pm_places_downloads_1
Fix: TypeError: "this._richlistbox.selectedItems.slice is not a function" in allDownloadsViewOverlay.js
2018-04-13 21:54:07 -04:00
janekptacijarabaci facac9b21f Fix: TypeError: "this._richlistbox.selectedItems.slice is not a function" in allDownloadsViewOverlay.js
Issue #121
2018-04-14 03:15:56 +02:00
New Tobin Paradigm 8437051001 Merge pull request #153 from JustOff/PR_SessionFile_NetUtil.newChannel
Use modern syntax to call NetUtil.newChannel() in _SessionFile.jsm
2018-04-13 21:13:29 -04:00
JustOff ca258a9c56 Use modern syntax to call NetUtil.newChannel() in _SessionFile.jsm 2018-04-14 03:08:55 +03:00
New Tobin Paradigm 60c526db50 Merge pull request #152 from JustOff/PR_Favicons_principal
Use document's principal for favicons in browser
2018-04-13 19:05:06 -04:00
JustOff 7494a278ae Use document's principal for favicons in browser 2018-04-14 00:32:14 +03:00
wolfbeast 386266fab1 Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2018-04-13 22:06:46 +02:00
wolfbeast f2bc0785b9 Convert MOZILLA_OFFICIAL conditionals to MC_OFFICIAL where needed.
- `--enable-official-branding` implies `MC_OFFICIAL` (no need to specifically set it)
- `--enable-official-vendor` can be used to set `MC_OFFICIAL` on builds without `--enable-official-branding` that should still be considered official release versions.
- `MC_OFFICIAL` implies `--enable-release`, meaning `DEVELOPER_OPTIONS` isn't set
- `MC_OFFICIAL` makes `nsXULAppInfo.getIsOfficial` return `true`
- `MC_OFFICIAL` makes `AppConstants.MOZILLA_OFFICIAL` (for compatibility in extensions) and `AppConstants.MC_OFFICIAL` return `true`
- Optional, for the time being: `MOZILLA_OFFICIAL` is still present in some places in case someone wants to build a Mozilla-alike official application and has the rights and necessary keys to use Mozilla-official third-party services. This must always be combined with `MC_OFFICIAL` to have a sane combination of defines. This may be removed in the future.
2018-04-13 22:06:20 +02:00
New Tobin Paradigm ccb9e8c834 Merge pull request #150 from janekptacijarabaci/about_1
moebius#173: Fix up "about:" page
2018-04-13 16:04:37 -04:00
New Tobin Paradigm 501db456d4 Merge pull request #151 from janekptacijarabaci/js_dom_selection_crash_1
moebius#76: JS - DOM - Selection API - crashes
2018-04-13 15:43:09 -04:00
New Tobin Paradigm 356c948bbd Merge pull request #149 from janekptacijarabaci/minorFix_styleCleanUp_2
moebius#126: [very minor fix] Fix: Gecko vs Goanna in a comment in NSSCertDBTrustDomain.cpp
2018-04-13 15:42:10 -04:00
New Tobin Paradigm 8096b6a9a1 Merge pull request #148 from janekptacijarabaci/minorFix_styleCleanUp_1
moebius#255: [minor fix] toolkit/themes/linux/global/jar.mn - style clean up (the columns alignment)
2018-04-13 15:41:42 -04:00
New Tobin Paradigm 924ffcac26 Merge pull request #147 from janekptacijarabaci/html_labels_2_test
HTML - implement the labels attribute (added a test)
2018-04-13 15:41:26 -04:00
New Tobin Paradigm efea08ca6c Merge pull request #143 from JustOff/PR_browser_newChannel2
Make JS callers of ios.newChannel call ios.newChannel2 in browser/
2018-04-13 15:41:06 -04:00
janekptacijarabaci dfe1ae6c3e Style clean up in about.dtd
https://github.com/MoonchildProductions/moebius/issues/173
2018-04-13 21:24:38 +02:00
janekptacijarabaci 84e449502f moebius#76: JS - DOM - Selection API - crashes
https://github.com/MoonchildProductions/moebius/pull/76
2018-04-13 20:57:00 +02:00
janekptacijarabaci 0b26d810bd moebius#173: Fix up "about:" page
https://github.com/MoonchildProductions/moebius/issues/173
2018-04-13 20:55:39 +02:00
janekptacijarabaci 374231de93 moebius#126: [very minor fix] Fix typo in a comment in NSSCertDBTrustDomain.cpp
https://github.com/MoonchildProductions/moebius/pull/126
2018-04-13 20:53:27 +02:00
janekptacijarabaci 4461757e44 moebius#255: [minor fix] toolkit/themes/linux/global/jar.mn - style clean up (the columns alignment)
https://github.com/MoonchildProductions/moebius/pull/255
2018-04-13 20:52:01 +02:00
janekptacijarabaci b3eee1b47e HTML - implement the labels attribute (added a test)
https://github.com/MoonchildProductions/UXP/commit/6be9e507077bfdd2b8c82c203cf70f010ecce086#commitcomment-28047433
2018-04-13 20:50:50 +02:00
JustOff c71dd74969 Make JS callers of ios.newChannel call ios.newChannel2 in browser/ 2018-04-13 21:31:38 +03:00
New Tobin Paradigm 314016db7f Merge pull request #142 from janekptacijarabaci/pm_devtools_3_developer-toolbar
Fix: Developer Toolbar (the command: "cookie"; themes)
2018-04-13 13:21:09 -04:00
janekptacijarabaci 96e396f345 Fix a comment: "DevEdition theme" vs "DevTools theme"
Issue #102
2018-04-13 19:13:12 +02:00
janekptacijarabaci 70a08bf916 Fix: Developer Toolbar (the command: cookie; themes)
Issue #102
2018-04-13 19:07:44 +02:00
Matt A. Tobin 4f82d4067a Restyle the findbar 2018-04-13 12:49:13 -04:00
New Tobin Paradigm c17c14ce6a Merge pull request #129 from janekptacijarabaci/_native_52ESR_xulWidgets_menulist_editable_1
Editable menulist loosing editable attribute gets focus stuck (menulist.xml)
2018-04-13 11:22:17 -04:00
New Tobin Paradigm aedeefe898 Merge pull request #141 from janekptacijarabaci/pm_findbar_1
Fix: Findbar broken
2018-04-13 11:15:36 -04:00
janekptacijarabaci da92d37033 Fix typo in a property in tabbrowser.xml
Issue #138
2018-04-13 17:03:44 +02:00
janekptacijarabaci 9243e01613 Fix (to TODO): Findbar throws an error - "nsIPrefBranch.getBoolPref" is not exist in browser.js
Issue #138
2018-04-13 16:40:28 +02:00
New Tobin Paradigm 12c1588b94 Merge pull request #140 from janekptacijarabaci/pm_contentMenu_saveImageURL_2_cleanUp
Style clean up: saveImageURL() in nsContextMenu.js
2018-04-13 08:18:36 -04:00
janekptacijarabaci 2e0e50636f Fix: Findbar broken (basic)
Issue #138
2018-04-13 10:55:02 +02:00
janekptacijarabaci 58e05d90e1 Style clean up: saveImageURL() in nsContextMenu.js
Tag #139
2018-04-13 08:57:25 +02:00
New Tobin Paradigm 5fccd1cabd Merge pull request #139 from janekptacijarabaci/pm_contentMenu_saveImageURL_1
Fix: "DEPRECATION WARNING: saveImageURL should be passed the private state of the containing window" in nsContextMenu.js
2018-04-13 02:33:59 -04:00
janekptacijarabaci c2d77decb2 Fix: DEPRECATION WARNING: saveImageURL should be passed the private state of the in nsContextMenu.js
Issue #121
2018-04-13 08:15:49 +02:00
New Tobin Paradigm cf22ff559b Merge pull request #135 from janekptacijarabaci/aboutSupport_improvements_1
moebius#57: about:support - "Copy text to clipboard": "Places Database" - "Verify" (results)
2018-04-13 00:46:41 -04:00
New Tobin Paradigm a22bf0142f Merge pull request #136 from trav90/gtk-work
Improve GTK3 support
2018-04-13 00:46:18 -04:00
New Tobin Paradigm ff362dd200 Merge pull request #137 from janekptacijarabaci/pm_viewSource_1
Fix: Using "View Source" from Browser Console; Added support for "view_source.editor.external"
2018-04-13 00:45:26 -04:00
janekptacijarabaci 7bbe1c3f3d Fix: Using "View Source" from Browser Console
Issue #121
2018-04-13 06:17:25 +02:00
janekptacijarabaci 99e150cb43 moebius#57: about:support - improvements (Copy text to clipboard)
https://github.com/MoonchildProductions/moebius/pull/57
2018-04-12 23:45:12 +02:00
New Tobin Paradigm e226e36a6c Merge pull request #134 from janekptacijarabaci/places_error_1
Places - fix: throws an error: 0x80004005 (NS_ERROR_FAILURE) [nsIEditor.transactionManager]
2018-04-12 17:40:27 -04:00
New Tobin Paradigm 47354a0f29 Merge pull request #132 from janekptacijarabaci/notifications_settings_1
moebius#154: Notifications - user settings - the immediate duration of the alert
2018-04-12 17:13:48 -04:00
Matt A. Tobin 62ca5cf04a [PALEMOON] Update handle-xul-text-link to deal with json source data 2018-04-12 16:18:04 -04:00
janekptacijarabaci 1170e81edd moebius#154: Notifications - user settings - the immediate duration of the alert
https://github.com/MoonchildProductions/moebius/pull/154
2018-04-12 20:23:00 +02:00
New Tobin Paradigm 63800e14ac Merge pull request #128 from janekptacijarabaci/pm_icons_2_followUp_basilisk
Remove an unused (web)extensions icon in jar.mn
2018-04-12 14:13:01 -04:00
Matt A. Tobin aaf3409c46 [PALEMOON] Remove the migrator 2018-04-12 14:10:27 -04:00
Matt A. Tobin 6386363f89 Password Mananger has migration capabilities for only Basilisk 2018-04-12 13:39:45 -04:00
Matt A. Tobin 2bbed348d4 Revert "Restore Dict.jsm" 2018-04-12 13:35:04 -04:00
janekptacijarabaci 7632870fd9 Remove an unused (web)extensions icon
Follow up: #122
2018-04-12 19:20:29 +02:00
Matt A. Tobin 3589d4f072 Fix loops in Dict.jsm
SyntaxError: missing ] after element list
2018-04-12 12:47:02 -04:00
Matt A. Tobin bda9abd82c Restore Dict.jsm 2018-04-12 12:09:20 -04:00
Matt A. Tobin 3e82feb264 Add missing l10n string 2018-04-12 11:49:34 -04:00
Matt A. Tobin 8d0abc0389 Maybe fix SyntaxError: non-generator method definitions may not contain yield in MigrationUtils.jsm 2018-04-12 11:29:15 -04:00
New Tobin Paradigm 4c2e77404f Merge pull request #126 from janekptacijarabaci/js_X-Content-Type-Options_nosniff_json_1
Align XCTO: nosniff allowed script MIME types with the spec
2018-04-12 10:49:23 -04:00
New Tobin Paradigm a0968fc6a8 Merge pull request #127 from janekptacijarabaci/devtools_appmenu_3
[PALEMOON] [DevTools] Added support of the appmenu for DevTools menuitems (follow up)
2018-04-12 10:49:08 -04:00
janekptacijarabaci 912ac7e228 [PALEMOON] [DevTools] Added support of the appmenu for DevTools menuitems (follow up)
Issue #96
Issue #102
2018-04-12 15:49:28 +02:00
New Tobin Paradigm fb337a69b4 Merge pull request #124 from janekptacijarabaci/pm_about-plugins_1
about:plugins - fix "addMessageListener is not a function" (e10s off - revert bug 1068087 - partially)
2018-04-12 08:04:39 -04:00
New Tobin Paradigm 706493af4e Merge pull request #125 from janekptacijarabaci/pm_loginManager_1
[PALEMOON] Fix Login Manager (Prompter) - basic
2018-04-12 07:33:58 -04:00
New Tobin Paradigm 8c19f94d29 Merge pull request #123 from janekptacijarabaci/pm_devtools_2
[PALEMOON] [DevTools] Fix preferences in preferences.inc
2018-04-12 07:32:50 -04:00
New Tobin Paradigm 3eaf8be961 Merge pull request #122 from janekptacijarabaci/pm_icons_1
[PALEMOON] Update: extension/plugin icons (Windows), passwordmgr icons
2018-04-12 07:31:54 -04:00
Matt A. Tobin 588a484c53 [PALEMOON] Resolve issues with redeclaration according to ES6 2018-04-12 07:28:41 -04:00
Matt A. Tobin 536bc9be40 Revert "[PALEMOON] Fix redeclarations of shorthand Cc, Ci, Cu"
This reverts commit 6fde853fa8.
2018-04-12 06:16:44 -04:00
Matt A. Tobin 85e1c970e9 Revert "[PALEMOON] Use Components.interfaces directly in controller.js, history-panel.js, and treeView.js"
This reverts commit 8e9e05da3d.
2018-04-12 06:15:25 -04:00
janekptacijarabaci fd651c893a [PALEMOON] about:plugins - fix "addMessageListener is not a function" (e10s off - revert bug 1068087 - partially) 2018-04-12 10:18:25 +02:00
janekptacijarabaci cf71cfa4dc [PALEMOON] [DevTools] Fix preferences in preferences.inc
See:
http://xref.palemoon.org/uxp-trunk/source/devtools/client/webconsole/utils.js#269
2018-04-12 10:13:54 +02:00
janekptacijarabaci 9eb4d5e344 [PALEMOON] Update: extension/plugin icons (Windows), passwordmgr icons
https://github.com/MoonchildProductions/Pale-Moon/commit/050f33015bb234c42c88c282dc75dc2133727094
2018-04-12 10:11:05 +02:00
janekptacijarabaci 33f860b25e moebius#117: Login Manager Prompter - auth: Throws an errors
https://github.com/MoonchildProductions/moebius/pull/117
2018-04-12 09:27:21 +02:00
janekptacijarabaci 87bf3b1714 [PALEMOON] [Frontend vs Backend] Password Manager: InsecurePasswordUtils.checkForInsecurePasswords is not a function 2018-04-12 09:24:59 +02:00
janekptacijarabaci 6d10eb1aff Revert "[PALEMOON] Login Manager Prompter: win.gBrowser is undefined"
This reverts commit 263927c717.
2018-04-12 07:06:16 +02:00
Moonchild 038971c8a1 Merge pull request #119 from adeshkp/patch-2
[PALEMOON] Fix depth for toolkit osx/shared.inc
2018-04-11 18:27:54 +02:00
trav90 a0a79a9aa3 [GTK3] Set alpha component appropriately in operator over for -moz-field 2018-04-11 11:14:15 -05:00
adeshkp 8d517b88e5 [PALEMOON] Fix depth for toolkit osx/shared.inc 2018-04-11 15:59:14 +00:00
wolfbeast 0e01190d5f Remove crash reporter part 1.
Merged branch 'remove-crashreporter'
2018-04-11 17:47:35 +02:00
wolfbeast 597fb9fbe3 Rebase on master 2018-04-11 17:45:54 +02:00
wolfbeast ac05ab923a Fix aboutSupport.js
Addresses comments:
https://github.com/MoonchildProductions/UXP/commit/bf6bb142fc5bcb49b053788e06160af304f639e5#commitcomment-28527974
https://github.com/MoonchildProductions/UXP/commit/0f99df52d5309158c7b916581c5a79496b1844db#commitcomment-28527792
2018-04-11 17:30:34 +02:00
janekptacijarabaci 1d1955f1eb [PALEMOON] [Frontend vs Backend] Password Manager - Implemented Popup Notifications (it is not complete) 2018-04-11 13:05:43 +02:00
janekptacijarabaci 87adbf4322 [PALEMOON] Preferences - Security - Password Manager: Use LoginHelper.isMasterPasswordSet instead of _masterPasswordSet 2018-04-11 13:01:25 +02:00
janekptacijarabaci 92207c99ab [PALEMOON] [Frontend vs Backend] Login Manager: Bug 1045987 - Implemented "getBrowserForContentWindow" method in tabbrowser.xml 2018-04-11 12:17:17 +02:00
janekptacijarabaci 263927c717 [PALEMOON] Login Manager Prompter: win.gBrowser is undefined 2018-04-11 12:12:49 +02:00
Matt A. Tobin 70974f59f3 [PALEMOON] Fix depth in baseMenuOverlay.xul 2018-04-11 03:03:43 -04:00
New Tobin Paradigm d05099428f Merge pull request #118 from janekptacijarabaci/pm_sanitize_offlineApps_1
[PALEMOON] Fix Sanitize - Offline Apps (e.g. "Offline" - "Clear Recent History" - "Offline Website Data"): Quota Manager => Quota Manager Service
2018-04-11 02:31:08 -04:00
New Tobin Paradigm df84e6a4f5 Merge pull request #117 from janekptacijarabaci/pm_sanitize_path_console_1
[PALEMOON] [DevTools] Fix a path with Console.jsm (deprecated) - in sanitize.js
2018-04-11 02:29:53 -04:00
New Tobin Paradigm 55c7287553 Merge pull request #116 from janekptacijarabaci/pm_pageinfo_permissions_error_uri_1
[PALEMOON] "Page Info" - "Permissions" - use uri.spec instead of uri in a new Error
2018-04-11 02:29:33 -04:00
Matt A. Tobin be3bf22737 [PALEMOON] Fix depth for toolkit osx shared.inc 2018-04-11 02:27:12 -04:00
janekptacijarabaci 39f12daed6 [PALEMOON] Fix Sanitize (e.g. "Offline" - "Clear Recent History" - "Offline Website Data"): Quota Manager => Quota Manager Service
Issue #57
2018-04-11 07:28:32 +02:00
janekptacijarabaci 540e704435 [PALEMOON] [DevTools] Fix a path with Console.jsm (deprecated) - in sanitize.js
Issue #57
2018-04-11 07:24:12 +02:00
janekptacijarabaci 9a381d423f [PALEMOON] "Page Info" - "Permissions" - use uri.spec instead of uri in a new Error
Issue #112
Issue #57
2018-04-11 07:18:32 +02:00
Matt A. Tobin 5ab84e6642 Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2018-04-11 00:53:50 -04:00
Matt A. Tobin 615be068c3 Only enable general.useragent.appVersionIsBuildID for Basilisk by default 2018-04-11 00:51:08 -04:00
New Tobin Paradigm e341862cac Merge pull request #115 from janekptacijarabaci/pm_pageinfo_permissions_plugins_1
[PALEMOON] "Page Info" - "Permissions": Fix - List of plugins
2018-04-10 17:46:00 -04:00
janekptacijarabaci 5fa956dfe4 [PALEMOON] "Page Info" - "Permissions": Fix - List of plugins
Issue #112
2018-04-10 20:28:53 +02:00
janekptacijarabaci 9929aa7775 [PALEMOON] "Page Info" - "Permissions": Quota Manager => Quota Manager Service
Issue #112
2018-04-10 20:28:06 +02:00
janekptacijarabaci f858398f2f [PALEMOON] "Page Info" - "Permissions": Permission Manager - use URI instead of URI.host
Issue #112
2018-04-10 20:26:59 +02:00
New Tobin Paradigm df185f9fbe Merge pull request #111 from janekptacijarabaci/pm_devtools_2_paths
[PALEMOON] [DevTools] Fix some paths with ToolboxProcess.jsm and Console.jsm (deprecated)
2018-04-09 21:06:20 -04:00
janekptacijarabaci fc249d76a4 [PALEMOON] Fix some paths (deprecated) with Console.jsm (sessionstore, extensions) 2018-04-09 21:15:24 +02:00
janekptacijarabaci bd32d607ad [PALEMOON] [DevTools] Fix some paths with ToolboxProcess.jsm (extensions)
Issue #102
2018-04-09 19:25:12 +02:00
Matt A. Tobin c1852a54a5 [PALEMOON] Enable Devtools by default 2018-04-09 10:19:13 -04:00
Matt A. Tobin 0213b9481f [PALEMOON] Preprocess organizer.css on Windows 2018-04-09 08:34:12 -04:00
Matt A. Tobin 297eabaa99 [PALEMOON] Fix for loops in MigrationUtils.jsm
(SyntaxError: missing ] after element list)
2018-04-09 08:33:14 -04:00
Matt A. Tobin 0d0cf693ac [PALEMOON] Fix for loops in allDownloadsViewOverlay.js
(SyntaxError: missing ] after element list)
2018-04-09 08:32:30 -04:00
Matt A. Tobin 8e9e05da3d [PALEMOON] Use Components.interfaces directly in controller.js, history-panel.js, and treeView.js 2018-04-09 08:09:28 -04:00
Matt A. Tobin 2569bca930 [PALEMOON] Fix for loops in grid.js (included into newTab.js)
(SyntaxError: missing ] after element list)
2018-04-09 07:28:09 -04:00
Matt A. Tobin f5304801ac [PALEMOON] Add an expected pref browser.newtabpage.enhanced 2018-04-09 06:59:18 -04:00
Matt A. Tobin 7e929b2bdc [PALEMOON] Use non-prefixed cancelAnimationFrame in browser-fullscreen.js 2018-04-09 05:51:26 -04:00
New Tobin Paradigm 20f5317e27 Merge pull request #108 from janekptacijarabaci/devtools_browser_cleanUp_followUp_3
[DevTools] Use preprocessing for: a global variable "gDevTools" and the context menu - a function "Inspect Element"
2018-04-08 19:49:12 -04:00
New Tobin Paradigm 7156604f1c Merge pull request #109 from janekptacijarabaci/devtools_appmenu_2
[PALEMOON] [DevTools] Added support of the appmenu for DevTools menuitems (follow up)
2018-04-08 19:48:59 -04:00
Matt A. Tobin be78355e83 [DEVTOOLS] Resolve issues with dynamically created devtools menu items vs hardcoded vs overlay
Follow up to 1a36001
2018-04-08 19:48:21 -04:00
New Tobin Paradigm 93b77160ce Merge pull request #107 from trav90/buildsystem-work
Fix packaging after bf6bb14
2018-04-08 19:13:13 -04:00
janekptacijarabaci 9a94a94cff [PALEMOON] [DevTools] Added support of the appmenu for DevTools menuitems (follow up)
Issue #96
Issue #102
2018-04-08 21:55:44 +02:00
janekptacijarabaci 53808c6578 [DevTools] Use preprocessing for: a global variable "gDevTools" and the context menu - a function "Inspect Element"
Follow up: #106
2018-04-08 21:50:16 +02:00
New Tobin Paradigm 2e7c6320a8 Merge pull request #101 from janekptacijarabaci/devtools_CustomizableUI_2
CustomizableUI.jsm can't be used for Pale Moon - setting conditions
2018-04-08 14:06:12 -04:00
trav90 a4178241ae Fix packaging after bf6bb14 2018-04-08 13:04:38 -05:00
New Tobin Paradigm 5c4c912c9c Merge pull request #106 from janekptacijarabaci/devtools_browser_cleanUp_followUp_2
[DevTools] Follow up: A function "Inspect Element" (nsContextMenu.js)
2018-04-08 13:58:21 -04:00
New Tobin Paradigm d009c9bcf2 Merge pull request #105 from janekptacijarabaci/pm_devtools_1
[PALEMOON] [DevTools] Added support for a new DevTools (basic settings)
2018-04-08 13:47:00 -04:00
janekptacijarabaci 44a46fcdd1 [PALEMOON] [DevTools] Follow up: A function "Inspect Element" (nsContextMenu.js)
Issue #102
2018-04-08 18:28:56 +02:00
Moonchild 6ac47e9531 Merge pull request #94 from trav90/js-work
Fix Value::isGCThing footgun, stop returning true for NullValue
2018-04-08 18:16:01 +02:00
janekptacijarabaci df8d6a8db1 [DevTools] Follow up: A function "Inspect Element" (nsContextMenu.js)
Issue #95
Follow up: #99
2018-04-08 17:58:39 +02:00
janekptacijarabaci e7e96d079c [PALEMOON] [DevTools] Fix + Add some paths to DevTools (installer - package-manifest.in)
Issue #102
2018-04-08 15:09:24 +02:00
janekptacijarabaci edea3b6076 [PALEMOON] [DevTools] Fix some paths to DevTools (themes)
Issue #102
2018-04-08 15:08:02 +02:00
janekptacijarabaci a952e2a3aa [PALEMOON] [DevTools] Fix some paths to DevTools (sessionstore)
Issue #102
2018-04-08 15:07:17 +02:00
janekptacijarabaci 97238e0f43 [PALEMOON] [DevTools] Fix a function "Inspect Element" (nsContextMenu.js)
Issue #102
2018-04-08 15:06:43 +02:00
janekptacijarabaci 0e6c1d1dc3 [PALEMOON] [DevTools] Support for adding menuitems dynamically
Issue #102
2018-04-08 15:04:49 +02:00
wolfbeast bf6bb142fc Remove telemetry experiments framework 2018-04-08 12:24:27 +02:00
janekptacijarabaci 7a480d5571 Style clean up 2018-04-08 08:23:40 +02:00
janekptacijarabaci de97da2446 Use preprocessing instead of AppConstants.jsm 2018-04-08 08:21:28 +02:00
New Tobin Paradigm 309d1ca1f2 Merge pull request #100 from janekptacijarabaci/devtools_appmenu_1
Added support of the appmenu for DevTools menuitems (optional)
2018-04-08 01:10:26 -04:00
New Tobin Paradigm d164660412 Merge pull request #99 from janekptacijarabaci/devtools_browser_cleanUp_1
Remove unused variables (DevTools) in browser.js
2018-04-07 22:33:44 -04:00
New Tobin Paradigm 16c1230184 Merge pull request #98 from janekptacijarabaci/devtools_CustomizableUI_1
Fix some comment in devtools-browser.js
2018-04-07 22:33:05 -04:00
janekptacijarabaci 1a36001469 Added support of the appmenu for DevTools menuitems (optional)
Issue #96
2018-04-08 00:15:48 +02:00
janekptacijarabaci 7b9b08e207 CustomizableUI.jsm can't be used for Pale Moon - setting conditions
Issue #97
2018-04-08 00:14:08 +02:00
janekptacijarabaci a830c90016 Fix some comment in devtools-browser.js 2018-04-08 00:11:24 +02:00
janekptacijarabaci 9f8f40b322 Remove unused variables (DevTools) in browser.js
Issue #95
2018-04-08 00:07:46 +02:00
Matt A. Tobin fdb5aba59a [PALEMOON] Fix dragging when tabs are on top and menubar is disabled 2018-04-07 14:32:34 -04:00
trav90 bbd4001cb2 Fix Value::isGCThing footgun, stop returning true for NullValue 2018-04-07 13:11:38 -05:00
Matt A. Tobin 7c21a025e7 Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2018-04-07 12:36:22 -04:00
Matt A. Tobin 59fb23c666 [PALEMOON] Fix some errors in tabbrowser.xml by adding usercontextid where needed 2018-04-07 12:35:03 -04:00
Matt A. Tobin f887139a97 [PALEMOON] Remove instanceof SVGDocument from browser-thumbnails.js 2018-04-07 12:34:18 -04:00
Matt A. Tobin 45f3d2bf06 [PALEMOON] Fix for loops in DownloadsCommon.jsm and WindowsPreviewPerTab.jsm
(SyntaxError: missing ] after element list)
2018-04-07 12:33:16 -04:00
Moonchild 09b78833b5 Merge pull request #93 from trav90/buildsystem-work
Fix a few GCC build warnings
2018-04-07 18:16:54 +02:00
Matt A. Tobin 03cf69df45 [PALEMOON] Finish incomplete ifdef'ing of MOZ_WEBRTC 2018-04-07 10:48:22 -04:00
Matt A. Tobin ca9f588f31 Update configure variable verification 2018-04-07 09:36:48 -04:00
Matt A. Tobin 11d5826ae1 [PALEMOON] Use an array for Lazy Module Getters 2018-04-07 09:21:20 -04:00
Matt A. Tobin eb09a5738c Make code style consistent across all AboutRedirector's 2018-04-07 08:22:56 -04:00
Matt A. Tobin fb84e0f322 Make about:logopage available to any browser that opts into MOZ_PHOENIX
Follow up to 5e8e0689c
2018-04-07 06:10:48 -04:00
Matt A. Tobin b16ab3f383 [PALEMOON] Fix typo in browser-thumbnails.js
Follow up to a0bfb651b
2018-04-07 03:40:36 -04:00
Matt A. Tobin 987d105f55 [WebExAM] Use a special "platform" ID and version number for WebExtensions in XPIProvider.jsm 2018-04-07 03:29:35 -04:00
trav90 54465cc4ac Fix GTK3 build bustage 2018-04-06 17:38:44 -05:00
wolfbeast 4e38ba8670 Instate unofficial branding (Serpent) 2018-04-06 21:40:39 +02:00
trav90 1b846d4b52 Only add -Wno-null-conversion when building with clang
Fixes some GCC warning spam.
2018-04-06 14:37:18 -05:00
trav90 0433d6e7d1 Fix incorrect assertions in js/src/builtin/
Prevents GCC 7 build warning spam.
2018-04-06 13:29:27 -05:00
trav90 2dba03fd2f [GTK3] Ignore double-click on WM without _NET_WM_MOVERESIZE support
This fixes a crash with GTK3 builds used with a window manager that does not support _NET_WM_MOVERESIZE.
2018-04-06 11:25:22 -05:00
trav90 e08833665d [GTK3] Get styles for menu label, button text and combobox text colors from WidgetCache 2018-04-06 11:14:42 -05:00
trav90 e7b059d943 [GTK3] Don't invalidate style content for missing widgets 2018-04-06 11:03:35 -05:00
trav90 5ddda9321c [GTK3] Invalidate widget style contexts after their ancestors are set
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.
2018-04-06 11:02:43 -05:00
trav90 484a5de81d [GTK3] Force a style resolution on context creation to set GTK 3.4 theming_engine
This works around a GTK bug that led to the default engine being used instead for the first draw.
2018-04-06 10:58:03 -05:00
trav90 50217bd546 [GTK3] For Gtk > 3.20 determine scale trough size from trough CSS node and also add border/padding/margin 2018-04-06 10:37:03 -05:00
trav90 d75e9071f1 [GTK3] Consider also margin when determine range widget slider size 2018-04-06 10:34:41 -05:00
trav90 b1f27cb866 [GTK3] With GTK versions < 3.8 draw menuitem background and frame only when in hover and not a separator 2018-04-06 10:30:12 -05:00
trav90 b0af6c9827 [GTK3] Implement pre-3.20 MOZ_GTK_PROGRESS_CHUNK in WidgetStyleCache 2018-04-06 10:25:03 -05:00
trav90 3c30002e00 [GTK3] Adjust textarea style contexts for GTK 3.20 theming ABI changes 2018-04-06 09:18:33 -05:00
trav90 17a7b835d5 [GTK3] Consider textview root node background in addition to text node for -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.
2018-04-06 09:16:44 -05:00
trav90 08f0754406 [GTK3] Consider textview root node background in addition to text node for -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.
2018-04-06 09:10:47 -05:00
trav90 dfe72009d3 [GTK3] Introduce MOZ_GTK_TEXT_VIEW_TEXT and move MOZ_GTK_RESIZER to 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.
2018-04-06 09:06:33 -05:00
trav90 91d45b1630 [GTK3] Use WidgetCache to get colors at nsLookAndFeelfor menuitems, text and tree view 2018-04-06 09:04:54 -05:00
trav90 fa8c3a20c6 [GTK3] Use WidgetCache to get colors at nsLookAndFeel for GtkButton, GtkWindow, GtkScrollBar 2018-04-06 07:53:35 -05:00
trav90 3203c21a80 [GTK3] Use WidgetCache to get colors at nsLookAndFeel 2018-04-06 07:52:43 -05:00
wolfbeast 3a17b713ef Remove about:home snippets. 2018-04-06 14:07:27 +02:00
trav90 0f83951b6b [GTK3] Adjust menuitem padding and check/radio indicator position for changes in GTK 3.20 2018-04-05 15:51:07 -05:00
trav90 45c75167b0 [GTK3] Rename subtract_margin and rectangle_inset to Inset* and swap InsetByMargin parameters for consistency. 2018-04-05 15:50:31 -05:00
trav90 cf1b29fe47 [GTK] Rename radio/check menuitem and indicator as used with ClaimStyleContext.
The same name is retained for moz_gtk_widget_paint(), which is now more consistent.
2018-04-05 15:49:41 -05:00
trav90 fe4175e799 [GTK3] Use menuitem padding between menuitem and check indicator. 2018-04-05 15:48:29 -05:00
trav90 51c57b41a1 [GTK3] Draw only background and frame of separator menuitems in GTK versions > 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.
2018-04-05 15:47:48 -05:00
trav90 a5a34355e4 [GTK3] Draw separator menuitem background and frame behind separator in menu 2018-04-05 15:47:12 -05:00
trav90 9fed5c8f39 [GTK3] Draw menuitem background even when not in hover 2018-04-05 15:46:38 -05:00
wolfbeast d960419686 Silence for-each-in warnings 2018-04-05 16:04:21 +02:00
Matt A. Tobin 5e8e0689c4 Port over logopage 2018-04-05 09:31:09 -04:00
Matt A. Tobin 43001bdfd7 [PALEMOON] Use unprefixed requestAnimationFrame in tabbrowser.xml 2018-04-05 09:05:44 -04:00
Matt A. Tobin f542c40ee6 [PALEMOON] Swipe Basilisk's browser-fullZoom.js 2018-04-05 08:43:32 -04:00
Matt A. Tobin 3e670d8573 [PALEMOON] Add missing strings to override netError.dtd 2018-04-05 08:42:39 -04:00
Matt A. Tobin 6fde853fa8 [PALEMOON] Fix redeclarations of shorthand Cc, Ci, Cu 2018-04-05 08:10:46 -04:00
Matt A. Tobin 321121c827 [PALEMOON] Switch call to autocomplete from history to unifiedcomplete in tabbrowser.xml 2018-04-05 08:05:31 -04:00
Matt A. Tobin 537d477b30 [PALEMOON] Fix preprocessing on preferences 2018-04-05 07:38:30 -04:00
Matt A. Tobin a0bfb651b6 [PALEMOON] Fix for loops in browser-thumbnails.js (SyntaxError: missing ] after element list) 2018-04-05 07:26:47 -04:00
Matt A. Tobin fef521cb6a [PALEMOON] Fix for loops in treeView.js (SyntaxError: missing ] after element list) 2018-04-05 07:26:12 -04:00
Matt A. Tobin 99889f4cc6 [PALEMOON] Remove check for MSE mixed prefs in nsBrowserGlue.js 2018-04-05 07:03:38 -04:00
Matt A. Tobin 5593323410 Take the following project_flags out of moz.configure: and put them back into old-configure
MOZ_PLACES
MOZ_SOCIAL
MOZ_SERVICES_HEALTHREPORT
MOZ_SERVICES_SYNC
MOZ_SERVICES_CLOUDSYNC
2018-04-05 06:02:02 -04:00
wolfbeast 86f6015894 Remove unused XRE_DONT_SUPPORT_XPSP2 2018-04-05 10:11:55 +02:00
wolfbeast 7838398b62 Make vector image surface caching smarter.
This resolves #91.
2018-04-05 09:58:06 +02:00
Moonchild c352cb6a50 Merge pull request #90 from trav90/fix-build-bustage
Fix Linux build bustage
2018-04-05 07:51:33 +02:00
trav90 b2aba844ee Fix Twemoji GTK build bustage
Followup to b4e843a.
2018-04-04 16:19:55 -05:00
trav90 940f4a53a5 Remove extra "+" signs from jar.nm for Linux theme 2018-04-04 16:09:02 -05:00
janekptacijarabaci 9f7f0f1172 Bug 1288768 - Better error reporting for network errors in workers 2018-04-04 21:36:41 +02:00
janekptacijarabaci aea1fd640e Bug 1288768 - Better error reporting for network errors in workers 2018-04-04 21:36:19 +02:00
Matt A. Tobin 2b97ab29b8 Ensure WebRTC is off by default in old-configure 2018-04-04 10:59:13 -04:00
Moonchild 27c333c6b4 Merge pull request #88 from janekptacijarabaci/devtools_network_openInNewTab_unused_1
[minor fix] Removing an unused variable
2018-04-04 16:33:29 +02:00
Matt A. Tobin c043e5d535 [PALEMOON] Fix preprocessor call for default bookmarks.html 2018-04-04 10:21:46 -04:00
Matt A. Tobin 858eff005a [PALEMOON] Update the Windows Installer 2018-04-04 09:49:48 -04:00
Matt A. Tobin 2af28f35d1 [PALEMOON] Fix fuelApplication.js include depth 2018-04-04 09:26:25 -04:00
Matt A. Tobin 199a592d86 [PALEMOON] Steal Basilisk's nsBrowserApp 2018-04-04 09:22:41 -04:00
Matt A. Tobin 20a62a90e6 [PALEMOON] Resolve externals is browsercomps 2018-04-04 09:21:53 -04:00
Matt A. Tobin 20cae79eb3 [PALEMOON] Wholesale steal Basilisk's shell component 2018-04-04 08:44:14 -04:00
Matt A. Tobin 99831baf2e [PALEMOON] Swipe nsIEHistoryEnumerator from Basilisk 2018-04-04 08:07:51 -04:00
Matt A. Tobin 04e0440f61 [PALEMOON] use nsresult instead of NS_METHOD in nsFeedSniffer 2018-04-04 07:49:29 -04:00
Matt A. Tobin abc1c7eb39 [PALEMOON] Remove the NS_APP_BOOKMARKS_50_FILE directory service key 2018-04-04 07:22:37 -04:00
Matt A. Tobin a1065a8a4b [PALEMOON] Remove nsIAboutModule::GetIndexedDBOriginPostfix(); 2018-04-04 07:18:48 -04:00
Matt A. Tobin 45549dde48 [PALEMOON] Add defines and subst to application specific configure 2018-04-04 06:28:50 -04:00
Matt A. Tobin b86be392ff [PALEMOON] Build the devtools server 2018-04-04 06:15:01 -04:00
Matt A. Tobin 942640c901 [PALEMOON] First pass fix of obvious moz.build issues 2018-04-04 06:05:30 -04:00
Matt A. Tobin fba0b46f53 [PALEMOON] Add moz.configure 2018-04-04 05:55:46 -04:00
Matt A. Tobin ca4209a2da [PALEMOON] Fix Branding Build Files 2018-04-04 05:54:48 -04:00
Matt A. Tobin 63b52f85a8 [PALEMOON] Rewrite confvars.sh 2018-04-04 05:10:13 -04:00
Matt A. Tobin 4a5f6b36cc [PALEMOON] Version bunp 2018-04-04 05:09:43 -04:00
wolfbeast b4e843aa3c Change embedded emoji font from EmojiOne to Twemoji. 2018-04-04 10:35:19 +02:00
Matt A. Tobin 3cf6d2b2d7 Sync Pale Moon code 2018-04-04 03:17:39 -04:00
janekptacijarabaci 3968897fb4 Bug 1431095 - Change Content-Type-Options: nosniff allowed script MIME types to match the spec 2018-04-03 19:50:55 +02:00
janekptacijarabaci 17c5cad601 Removing the unused variable 2018-04-02 18:19:17 +02:00
janekptacijarabaci 1f4ce97ecd moebius#90: CSS - implement text-justify property 2018-04-01 19:32:49 +02:00
janekptacijarabaci f4d1b4804a moebius#110: HTML - input - datetime - Datepicker shows incorrect month for the first day of the month 2018-03-31 11:33:23 +02:00
janekptacijarabaci 78074eb34f moebius#72: Fix Marionette's DateTimeValue when dom.forms.datetime is enabled 2018-03-31 11:12:17 +02:00
janekptacijarabaci 3430e8690a Bug 1446342 - Input type="date" not working if the other form elements has name="document" (any alternative solution) 2018-03-31 11:05:38 +02:00
janekptacijarabaci bbfe249fd0 A nicer button for class="month-year::after"
A small replacement for:
Bug 1282768: https://bugzilla.mozilla.org/show_bug.cgi?id=1282768
2018-03-31 07:14:59 +02:00
janekptacijarabaci 09cc05a97f Bug 1406859 - [DateTimePicker] Let the first picker close gracefully before opening a second picker 2018-03-31 07:07:45 +02:00
janekptacijarabaci 0a2b11d181 Bug 1397114 - Disable smooth scrolling when value changes come from input box 2018-03-31 07:05:58 +02:00
janekptacijarabaci 2f54cd30fc Bug 1401876 - (Part 2) Add browser-chrome test for reopening picker 2018-03-31 07:02:03 +02:00
janekptacijarabaci de16d19667 Bug 1401876 - (Part 1) Close datetime picker on popuphidden 2018-03-31 06:58:52 +02:00
janekptacijarabaci 7e0d05ea58 Bug 1390794 - Use 'norolluponanchor' to avoid closing the picker when the anchored input box is clicked 2018-03-31 06:58:05 +02:00
janekptacijarabaci 94980111da Bug 1371111 - Open picker when input element's padding area is clicked
+ Bug 1341029: https://bugzilla.mozilla.org/show_bug.cgi?id=1341029
(partially - partially - fix typo in removeEventListener):

https://hg.mozilla.org/mozilla-central/diff/6055065a2ed5/toolkit/content/widgets/datetimebox.xml
+ Bug 1410292: https://bugzilla.mozilla.org/show_bug.cgi?id=1410292
2018-03-30 23:54:41 +02:00
janekptacijarabaci 7dfc8b77b9 Bug 1381421 - (Part 2) Add browser chrome tests for the minimum and maximum dates 2018-03-30 23:50:46 +02:00
janekptacijarabaci e14c686ac0 Bug 1381421 - (Part 1) Handle dates earlier than 0001-01-01 and later than 275760-09-13 correctly 2018-03-30 23:50:34 +02:00
janekptacijarabaci 77fbaff2fa Bug 1363672 - Add step support to date picker (follow up)
Bug 1374967: https://bugzilla.mozilla.org/show_bug.cgi?id=1374967
(partially - implement getStep/getStepBase)
2018-03-30 23:25:42 +02:00
janekptacijarabaci 5941771281 Bug 1382175 - Fix time picker step and min/max regressions 2018-03-30 22:46:03 +02:00
janekptacijarabaci 6a44ab2659 Bug 1364026 - (Part 2) Check if min and max attributes on input type date are valid date strings 2018-03-30 21:14:18 +02:00
janekptacijarabaci 5e69b90422 Bug 1364026 - (Part 1) Expose HTMLInputElement.getMinimum/getMaximum methods via webidl 2018-03-30 21:13:59 +02:00
janekptacijarabaci 6f1fcab2d8 Bug 1363672 - Add step support to date picker 2018-03-30 20:56:33 +02:00
wolfbeast eac3e64111 Stop trying to configure nonexistent crashreporter services. 2018-03-30 20:53:10 +02:00
janekptacijarabaci 7f21e9c0cd Bug 1310080 - Implement the step attribute for <input type=datetime-local> 2018-03-30 20:33:02 +02:00
janekptacijarabaci 9f4779f923 Bug 1310078 - Implement valueAsNumber and valueAsDate for <input type=datetime-local> (follow up) 2018-03-30 20:29:17 +02:00
janekptacijarabaci 0679b939f3 Bug 1310079 - Implement the min and max attribute for <input type=datetime-local> 2018-03-30 19:56:09 +02:00
janekptacijarabaci a77308735f Bug 1310078 - Implement valueAsNumber and valueAsDate for <input type=datetime-local> 2018-03-30 19:11:11 +02:00
janekptacijarabaci c4aadf04aa Bug 1287677 - Add mozIntl.getDisplayNames API 2018-03-30 18:58:51 +02:00
wolfbeast 473fb65d33 Remove unused LSPAnnotator 2018-03-30 12:38:37 +02:00
janekptacijarabaci e25430117a moebius#92: HTML - input - datetime
+ native in moebius:

Bug 1317600: https://bugzilla.mozilla.org/show_bug.cgi?id=1317600
A note - not implemented: Bug 1282768:
https://bugzilla.mozilla.org/show_bug.cgi?id=1282768
*.css: filter: url("chrome://global/skin/filters.svg#fill");, fill:

Bug 1283385: https://bugzilla.mozilla.org/show_bug.cgi?id=1283385
Bug 1323109: https://bugzilla.mozilla.org/show_bug.cgi?id=1323109
Bug 1314544: https://bugzilla.mozilla.org/show_bug.cgi?id=1314544
Bug 1286182: https://bugzilla.mozilla.org/show_bug.cgi?id=1286182

Bug 1325922: https://bugzilla.mozilla.org/show_bug.cgi?id=1325922
A note - not implemented: Bug 1282768:
https://bugzilla.mozilla.org/show_bug.cgi?id=1282768
*.css: filter: url("chrome://global/skin/filters.svg#fill");, fill:

Bug 1320225: https://bugzilla.mozilla.org/show_bug.cgi?id=1320225
Bug 1341190: https://bugzilla.mozilla.org/show_bug.cgi?id=1341190
2018-03-30 12:17:17 +02:00
wolfbeast 4e721d14cd Remove MOZ_CRASHREPORTER_NO_REPORT except in /testing 2018-03-30 12:07:42 +02:00
janekptacijarabaci a1a007a485 Merge branch 'master' of https://github.com/MoonchildProductions/UXP into html_input_datetime_1 2018-03-30 09:44:21 +02:00
wolfbeast 4e368f8199 Remove base conditional code for crash reporter and injector. 2018-03-30 08:50:58 +02:00
wolfbeast 59bf4204a8 Update SQLite lib to 3.21.0. 2018-03-29 20:24:18 +02:00
wolfbeast 05cb2b32f2 Get rid of link to irrelevant information after build. 2018-03-29 20:19:27 +02:00
wolfbeast dc8aad9b9d Merge remote-tracking branch 'janek/_testBranch_js_array_values' 2018-03-28 11:33:19 +02:00
wolfbeast 19b9340707 Revert "Enable Array.prototype.values"
This reverts commit 424ed1b165.
2018-03-28 11:32:03 +02:00
wolfbeast e57cba2682 Fix line heights to properly scale to requested size for color-bitmapped SFNTs. 2018-03-27 21:26:25 +02:00
wolfbeast b6a49b6623 Allow bitmap fonts to force scaling and bypass tolerance check in gfxFcPlatformFontList. 2018-03-27 21:20:57 +02:00
wolfbeast cb59151acd Use FC_OUTLINE instead of FC_SCALABLE with Fontconfig to check if a font is scalable. 2018-03-27 21:14:03 +02:00
wolfbeast 424ed1b165 Enable Array.prototype.values
This resolves #85
2018-03-27 17:05:14 +02:00
janekptacijarabaci d990d8ab2c Merge branch 'master' of https://github.com/MoonchildProductions/UXP into js_array_values_1 2018-03-27 15:57:18 +02:00
wolfbeast 8d5ec757ec Merge remote-tracking branch 'janek/js_regexp_lastindex_1' 2018-03-27 13:22:30 +02:00
wolfbeast e197496820 Merge remote-tracking branch 'janek/js_IteratorClose_1' 2018-03-27 13:21:40 +02:00
wolfbeast 72721d1d03 Merge remote-tracking branch 'janek/js_lhs-before-rhs_1' 2018-03-27 13:21:13 +02:00
janekptacijarabaci 70c8cf8db7 Bug 1360839 - Call IteratorClose due to abrupt completion from yield
Issue #74
2018-03-25 19:06:08 +02:00
janekptacijarabaci aafdd31444 Bug 1357075 - Pad a nop to unwind to the scope just before a destructuring iterator close trynote
Issue #74
2018-03-25 18:24:06 +02:00
janekptacijarabaci 05441d12b6 Bug 1346862 - Fix IteratorClose due to non-local jumps being catchable by try statements inside for-of
Issue #74
2018-03-25 18:21:15 +02:00
janekptacijarabaci 727c27a30d Bug 1342553 - Part 0.2: Support JSOP_CHECKISCALLABLE in JIT
Issue #74
2018-03-25 17:00:47 +02:00
janekptacijarabaci b311e8fa71 Bug 1342553, Bug 1343072, Bug 1344753 (details in the description)
Bug 1342553 - Part 0.1: Use try-catch for IteratorClose in for-of
Bug 1343072 - Update HasLiveStackValueAtDepth to follow the change in
JSTRY_FOR_OF
Bug 1344753 - Update for-of stack depth in
ControlFlowGenerator::processWhileOrForInLoop

Issue #74
2018-03-25 16:22:38 +02:00
janekptacijarabaci 2818e8dedb Bug 1334314 - Fix debug mode OSR exception handling for IteratorClose trynotes
Issue #74
2018-03-25 14:49:32 +02:00
janekptacijarabaci e7a220aae2 Bug 1331585 - Allow falsy "done" values for IteratorClose due to exception during array destructuring
Issue #74
2018-03-25 14:48:34 +02:00
janekptacijarabaci 6056525ced Bug 1341339 - Check for duplicates in processIterators
Issue #74
2018-03-25 14:47:39 +02:00
janekptacijarabaci 4ee42e38e0 Bug 1338796 - Do not call iterator.return if iterator.throw is present in yield*
Issue #74
2018-03-25 14:20:11 +02:00
janekptacijarabaci c93787917d Bug 1335996 - Make test for bug 1333946 more reliable
Issue #74
2018-03-25 13:35:18 +02:00
janekptacijarabaci f3c542a6a5 Bug 1333946 - Make IonBuilder::processIterators transitive
Issue #74
2018-03-25 13:34:31 +02:00
janekptacijarabaci e2853b8a8f Bug 1322069 - Add TryEmitter
Issue #74
2018-03-25 13:32:14 +02:00
janekptacijarabaci e641a2c53a Bug 1334799 - Handle stack value in correct order when leaving for-of loop from finally block
Issue #74
2018-03-25 12:56:18 +02:00
janekptacijarabaci 34533e06a7 Bug 1332881 - Handle stack value in correct order when leaving loop and try-finally
Issue #74
2018-03-25 12:38:28 +02:00
janekptacijarabaci 3df7c50fcc Bug 1332155 - Skip non-try-related trynotes when asserting jump targets
Issue #74
2018-03-25 12:37:44 +02:00
janekptacijarabaci 8bb9649135 Bug 1331444 - Keep iterators alive in Ion in for-of loops for IteratorClose due to exceptions
Issue #74
2018-03-25 12:37:06 +02:00
janekptacijarabaci 5fd5b2ac2f Bug 1317397: Only set lastIndex for global or sticky RegExps in RegExpBuiltinExec per ES2017 2018-03-24 16:01:06 +01:00
janekptacijarabaci aae3a11734 Bug 1343375: Update RegExp.prototype.replace and .match to call ToLength(lastIndex) for non-global RegExp and handle recompilations
[Depends on] Bug 1317397: Implement RegExp.lastIndex changes from ES2017
2018-03-24 15:54:49 +01:00
janekptacijarabaci 114eb8bf48 Bug 1147371: Always decompile argument names in self-hosted code in the caller frame
Issue #74
2018-03-24 12:29:12 +01:00
janekptacijarabaci fdedd57c60 Bug 1147371: Implement JSOP_PICK and JSOP_UNPICK in the expression decompiler
Issue #74
2018-03-24 12:28:12 +01:00
janekptacijarabaci 1ea1ed1515 Bug 1147371: Implement calling IteratorClose and "return" on iterators in yield*
Issue #74
2018-03-24 12:27:00 +01:00
janekptacijarabaci 2bb0252ab4 Bug 1147371: Implement IteratorClose for array destructuring
Issue #74
2018-03-24 12:23:14 +01:00
janekptacijarabaci 4b487efb58 Bug 1147371: Convert self-hosted code that need to call IteratorClose to use for-of
Issue #74
2018-03-24 12:15:02 +01:00
janekptacijarabaci 2d2a60cdae Bug 1147371: Rename allowContentSpread to allowContentIter
Issue #74
2018-03-24 12:11:23 +01:00
janekptacijarabaci 7d753c1a8f Bug 1147371: Implement IteratorClose for for-of
Issue #74
2018-03-24 12:09:30 +01:00
wolfbeast 2b7f231ca7 Silence some ICU warning spew 2018-03-21 11:26:25 +01:00
janekptacijarabaci 2a57d73c3b Bug 1204028: Evaluate LHS reference before RHS in destructuring
Issue #73
[Depends on] Bug 1147371: Implement IteratorClose
2018-03-20 12:40:00 +01:00
janekptacijarabaci caa2a53c40 Bug 1322314 - Do not emit ParseNode twice in BytecodeEmitter::emitDestructuringOpsArray
Issue #73
[Depends on] Bug 1147371: Implement IteratorClose
2018-03-20 10:46:22 +01:00
janekptacijarabaci 3ee73ca14c Bug 1322314 - Disallow emitting ParseNode twice
Issue #73
[Depends on] Bug 1147371: Implement IteratorClose
2018-03-20 10:27:23 +01:00
wolfbeast 893a886ea3 Add support for the function name property.
This resolves #78.

Merged remote-tracking branch 'janek/js_function_name_1'
2018-03-20 10:10:12 +01:00
wolfbeast 7197b308fb Make RegExp.prototype return a regular object instead of an instance.
This resolves #77.

Merged remote-tracking branch 'janek/js_regexp_ordinary-object_1'
2018-03-20 10:07:06 +01:00
janekptacijarabaci 6085bfdcec Follow up: A opening bracket { was added; Added "function()->explicitName()" instead of "function()->name()"
Issue #78
2018-03-19 18:11:08 +01:00
janekptacijarabaci f084549e82 Part 6: Update browser and dom tests to follow displayName change
Issue #78
2018-03-19 16:17:28 +01:00
janekptacijarabaci 1a3f098975 Part 5: Update devtools to follow displayName change
Issue #87
2018-03-19 16:15:11 +01:00
janekptacijarabaci eb94521052 Part 4: Fix existing tests
Issue #87
2018-03-19 16:08:36 +01:00
janekptacijarabaci e3f1d0d106 Part 3: Support JSOP_SETFUNNAME in Baseline and Ion
Issue #87
2018-03-19 15:59:22 +01:00
janekptacijarabaci f67a2b88d7 Part 2: Call NameFunctions after emitting
Issue #78
2018-03-19 15:51:02 +01:00
janekptacijarabaci 5ef44cf648 Part 1: Implement ES6 function name property semantics
Issue #78
2018-03-19 15:47:10 +01:00
janekptacijarabaci 6822460d3b Bug 1317309: Throw a TypeError when passing a Symbol value to ToAtom
Issue #78
[Depends on] Bug 883377: Implement ES6 function "name" property
semantics
2018-03-19 15:18:37 +01:00
janekptacijarabaci 213f9ea384 Bug 1320042: Rename BytecodeEmitter::emitConditionallyExecuted{SOMETHING} to BytecodeEmitter::emit{SOMETHING}InBranch
Issue #78
[Depends on] Bug 883377: Implement ES6 function "name" property
semantics
2018-03-19 14:55:56 +01:00
janekptacijarabaci 75db97cb37 Bug 1320388: Move JSFunction::HAS_REST to JSScript and LazyScript
Issue #78
[Depends on] Bug 883377: Implement ES6 function "name" property
semantics
2018-03-19 14:48:24 +01:00
janekptacijarabaci a413cf7288 Update RegExp Xray code
Issue #77
2018-03-19 12:47:01 +01:00
Moonchild 173a526ec0 Merge pull request #81 from janekptacijarabaci/blocklist_update_1
Blocklist update (follow up for "AntiVirus for Firefox")
2018-03-19 10:56:59 +01:00
janekptacijarabaci 3114d48cee Handle RegExp correctly in devtools
Issue #77
2018-03-19 10:47:16 +01:00
janekptacijarabaci 9384b08d87 Tests
Issue #77
2018-03-19 10:46:14 +01:00
janekptacijarabaci df313c5b77 Use ordinary object for RegExp prototype
Issue #77
2018-03-19 10:42:58 +01:00
janekptacijarabaci cf70142093 Bug 1323868: Report object allocation failure when running off-main-thread
Issue #77
[Depends on] Bug 1192038: RegExp.prototype should be an ordinary object
2018-03-19 10:25:44 +01:00
janekptacijarabaci 5b5e5233f5 Blocklist update (follow up for "AntiVirus for Firefox")
Issue https://github.com/MoonchildProductions/Pale-Moon/issues/1644
2018-03-19 10:19:02 +01:00
wolfbeast faa5f0df26 Prototypes should be regular objects.
This resolves #76

Merged remote-tracking branch 'janek/js_error_ordinary-object_1'
2018-03-19 09:23:23 +01:00
Moonchild 393ee744a8 Merge pull request #70 from janekptacijarabaci/js_dom_performancetiming_2
Set "secureConnectionStart" to 0 for pages with HTTP scheme
2018-03-18 20:05:22 +01:00
wolfbeast b2af10d6cf Remove strict arguments poison pill for "caller" property per ES2017
This resolves #79.

Merged remote-tracking branch 'janek/js_strict_arguments_caller_removed_1'
2018-03-18 20:00:50 +01:00
wolfbeast b2331d7622 Correctly tokenize valid JS names when using code points outside of BMP range.
This resolves #72.

Merged remote-tracking branch 'janek/js_variable_unicode_1'
2018-03-18 17:58:37 +01:00
wolfbeast 122938a439 Support ES6's "new function" construct
This resolves #75.

Merged remote-tracking branch 'janek/js_function_new_1'
2018-03-18 17:56:16 +01:00
janekptacijarabaci 427e734662 Correctly tokenize valid JS names when using Unicode mathematical alphanumeric symbols as variable name
Issue https://github.com/MoonchildProductions/Pale-Moon/issues/1647
2018-03-18 14:55:49 +01:00
Pale Moon dda392cd4e Add extra check for path traversal sanity v2. 2018-03-18 10:56:47 +01:00
wolfbeast 912aa47acf Merge branch 'ported-upstream' 2018-03-18 10:56:28 +01:00
janekptacijarabaci 726d2c3093 Remove strict arguments poison pill for "caller" property per ES2017 2018-03-18 09:53:57 +01:00
wolfbeast ea1b2e81e4 Revert "Add extra check for path traversal sanity."
This reverts commit 41bd3e2599.
2018-03-18 02:32:48 +01:00
janekptacijarabaci 77e607426f Add TI for error properties assigned by the initial shape (follow up) 2018-03-17 18:07:21 +01:00
janekptacijarabaci 9472b0a603 Bug 1320198: Land additional Error prototype test 2018-03-17 17:24:28 +01:00
janekptacijarabaci b794d24326 Bug 1319952: Assertion failure: isNurseryAllocAllowed(), at js/src/gc/Allocator.cpp:79 2018-03-17 17:03:00 +01:00
janekptacijarabaci 9ecabc46eb Tests 2018-03-17 17:01:42 +01:00
janekptacijarabaci c00faa3d19 Add TI for error properties assigned by the initial shape 2018-03-17 17:00:25 +01:00
janekptacijarabaci 4a4b951bfc Simplify Error Xray code 2018-03-17 16:59:17 +01:00
janekptacijarabaci 566f1ff8e7 Handle the now ordinary error prototype object in stack 2018-03-17 16:58:26 +01:00
janekptacijarabaci 0a815a6f11 Use ordinary objects for Error prototypes 2018-03-17 16:56:31 +01:00
wolfbeast 6698bbf107 Bug 1426002. Bail out of document.open if beforeunload tears things down. r=mystor 2018-03-17 14:30:49 +01:00
wolfbeast 0ae2ab78b9 Be more explicit with a lock. 2018-03-17 14:30:28 +01:00
janekptacijarabaci a10b23932c Set "secureConnectionStart" to 0 for pages with HTTP scheme
Issue #67
2018-03-17 13:35:25 +01:00
Moonchild a24511ca8e Merge pull request #68 from janekptacijarabaci/js_dom_performancetiming_1
Round down to the nearest 2ms (instead of 1ms) by using timerclamping function
2018-03-17 13:26:47 +01:00
wolfbeast 41bd3e2599 Add extra check for path traversal sanity. 2018-03-17 13:22:41 +01:00
wolfbeast 191ec5415b Use origin instead of documentURI for WebRTC permission requests, when available. 2018-03-17 13:09:02 +01:00
janekptacijarabaci bdaacef069 Deleting "secureConnectionStart" from a test file
Issue #69
2018-03-17 12:38:43 +01:00
janekptacijarabaci e3da3bec40 Round down to the nearest 2ms (instead of 1ms)
Issue #67

https://github.com/MoonchildProductions/UXP/pull/34/commits/c8355b22c047c9737e32f096b816edbb8b0fa181

https://github.com/MoonchildProductions/UXP/commit/a32b7f7c4e4e31669e0787e6321d74e4db71e514

https://github.com/MoonchildProductions/UXP/commit/f0b727eac28244e0fa24a6107dee44e83ad0f561
2018-03-17 11:09:13 +01:00
wolfbeast 56bcb6b5af Handle same-compartment wrappers in TypedArray methods.
CallTypedArrayMethodIfWrapped (and the CallNonGeneric machinery throughout the
engine) unwraps the `this` argument, but the other arguments are only rewrapped
for the target compartment.

The pattern being used before this patch to get the length of a TypedArray or
possible TypedArray wrapper is:
`callFunction(CallTypedArrayMethodIfWrapped, O, O, "TypedArrayLength")`
The first `O` is the `this` value and the second is an argument. If `O` is a
cross-compartment wrapper, this works fine. The first `O` is unwrapped, revealing
the actual TypedArray object; the second `O` is rewrapped for that TypedArray's
compartment, producing the same TypedArray.
However, if `O` is a same-compartment wrapper, this doesn't work. The first `O` is
unwrapped, revealing the actual TypedArray object in the same compartment;
rewrapping the other `O` does nothing to it, since it is already an object in the
target compartment. Thus TypedArrayLength receives a `this` value that's an
unwrapped TypedArray, but an argument that is still a wrapper.

The fix is to have CallTypedArrayMethodIfWrapped targets only expect `this`
to be an unwrapped TypedArray.
2018-03-17 10:47:56 +01:00
wolfbeast e4c64e1a3d Set up the "DRM not available" messages in a saner way. 2018-03-17 10:12:55 +01:00
wolfbeast 77734e5470 Bug 1416940; r=snorp 2018-03-16 22:28:13 +01:00
janekptacijarabaci af300f36f1 Bug 755821: Function() should use the parser's argument parsing code 2018-03-16 11:35:57 +01:00
Karl Tomlinson 338c6a4323 Bug 1426603 - Fallback from audio callback to system clock driver on error only once. r=padenot, a=RyanVM
Usually, mShouldFallbackIfError has been reset to false in DataCallback()
before Stop() is called.  However, if fallback to a system clock driver due to
cubeb error had already occurred, then mShouldFallbackIfError would not have
been reset, and Stop() is still called.  With mShouldFallbackIfError still
true, a cubeb error in stop would have created another fallback thread.

I expect that resetting mShouldFallbackIfError in Stop() would also be an
effective alternative solution, but resetting on StateCallback() happens
earlier, which would be an advantage if any additional errors could possibly
be reported to StateCallback().

MozReview-Commit-ID: E9j7PQmS3O4
2018-03-16 10:28:56 +01:00
janekptacijarabaci 28d4e4a5fa Bug 1318017: Call GetPrototypeFromConstructor for generator/async function and Intl constructors
[Depends on] Bug 755821: Function() should use the parser's argument
parsing code
2018-03-16 09:04:55 +01:00
Moonchild 11bdaa144d Merge pull request #66 from janekptacijarabaci/js_iterable_closures_1
Close iterator after error in: Map, Set, WeakMap, WeakSet, Array.from, Promise.{all,race}
2018-03-16 08:36:30 +01:00
janekptacijarabaci 1147945576 Close iterator after error in Promise.{all,race}
Issue #17
2018-03-15 21:12:39 +01:00
janekptacijarabaci 25550ce903 Close iterator after error in Array.from
Issue #17
2018-03-15 21:12:03 +01:00
janekptacijarabaci 75c9377766 Close iterator after error in {Map,Set,WeakMap,WeakSet} constructors
Issue #17
2018-03-15 21:11:35 +01:00
janekptacijarabaci ee15761a50 Bug 1311798: Align XMLHttpRequest abort() with the spec 2018-03-15 19:18:30 +01:00
wolfbeast 0d3ee51ad2 Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2018-03-15 09:11:46 +01:00
wolfbeast 82b361dc44 Merge branch 'ported-upstream' 2018-03-15 09:11:31 +01:00
Matt A. Tobin caa1b329f1 Fix mozbuild looking for .cargo 2018-03-14 16:58:35 -04:00
wolfbeast 4bb98e2b61 Remove .cargo directory
Tag #58
2018-03-14 20:52:40 +01:00
Ralph Giles 71429dc7ec Bug 1443865 - Use 16-bit eobs count. r=kinetik, a=RyanVM
MozReview-Commit-ID: 4lfBbvSTNPO

--HG--
extra : source : a628b2125a1b860c6d8124387040ec9589c219ab
extra : intermediate-source : e9128973a480c8aedf3a2e1c67d3e168613fa17c
2018-03-14 13:18:27 +01:00
Tom Ritter ea3585702f Bug 1437105 - Remove flaky timing tests from ESR branch that sometimes fail with time clamping. r=baku, a=test-only
Because we hardcode time clamping in ESR (as opposed to having a pref) I
don't see a way to guarentee that this test won't fail when we lose the
race and clamp downwards.

MozReview-Commit-ID: IMwejbOBmDu
2018-03-14 13:17:37 +01:00
Jeff Muizelaar 07148526de Bug 1438425 - Delete DocumentRenderer. r=jesup, r=jgilbert, a=RyanVM
It is unused.
2018-03-14 12:42:38 +01:00
Jeff Gilbert ece34cca42 Bug 1442504 - Disable disjoint timer queries. r=milan, a=RyanVM
MozReview-Commit-ID: IurPcGHzAoQ

--HG--
extra : source : bef3db82d7ca31a188f902e317713c88001938ed
extra : intermediate-source : aeb9e1be02d26d4e21717368755b63821dc2d222
2018-03-14 12:41:05 +01:00
Steve Fink c9e08a8af9 Bug 1434384 - Mark v1 structured clone data as cross-process. r=jorendorff, a=RyanVM
--HG--
extra : source : d85679eb427513cb18650f3d4e7d37a6ccbefbab
extra : intermediate-source : 5c286cc709dfcaca7269b88516e6f71626c98496
2018-03-14 12:40:19 +01:00
wolfbeast 302f17e514 Revert "Bug 1438425 - Delete DocumentRenderer. r=jesup, a=RyanVM"
This reverts commit 5b69e05939.
2018-03-14 12:38:55 +01:00
Tom Ritter 959f6d2881 Bug 1442127 - Allow timestamps to be equal in video delay. r=baku, a=test-only
MozReview-Commit-ID: LsNy7E3bFv6

--HG--
extra : transplant_source : %B4t%00u%DB%EE%86%BD2%81%AA%CD%88X%BF%BC%AE%E8%3D%B7
extra : histedit_source : a16c98faab76929e32d9153b288f4ec5c92a0ba6
2018-03-14 12:37:53 +01:00
Tom Ritter 5e04b38b1d Bug 1442127 - Allow function call times to occur at the same time in browser_profiling-canvas.js for ESR branch. r=baku, a=test-only
MozReview-Commit-ID: Fev1JqBwJYO

--HG--
extra : transplant_source : %ADG%83%28%3B%94f%98%EAO%80%08%8A%DFs%D4%24C9%A8
extra : histedit_source : 4859a7fdd7b324e0c0231feb4e13437f836bdb9c
2018-03-14 12:37:03 +01:00
Jan de Mooij 64d560f52b Bug 1437450 - Disable Ion no-clone optimization for regexps if the graph contains try blocks. r=nbp, a=RyanVM
--HG--
extra : source : 61b461277369e0cec89c79d8526a82c575818e94
extra : intermediate-source : 806696d494300c8c09ad2c0c3141194b5418a706
extra : histedit_source : e38bbe5c22bace744f6da0b8ff39462b64fe5a95
2018-03-14 12:36:13 +01:00
Henri Sivonen e59bc0fea2 Bug 1425520. r=smaug, a=abillings
MozReview-Commit-ID: IoZeR5BGjmQ

--HG--
extra : source : e20052aa341d6da4505eb84be6e061bb7f37de51
extra : intermediate-source : a330f1d4d12a7c144797f3686f35a99c37b0755e
extra : histedit_source : 6d3684d36b39fd065f742ceb577d8b6db4735bcf
2018-03-14 12:35:34 +01:00
Jeff Muizelaar 5b69e05939 Bug 1438425 - Delete DocumentRenderer. r=jesup, a=RyanVM
It is unused.

--HG--
extra : histedit_source : b7af9f250f0330f90547114184873ae9971f20fc
2018-03-14 12:34:36 +01:00
Ben Kelly 2d689a1bc3 Bug 1440775 - Make fetch API force-cache and only-if-cached use VALIDATE_NEVER instead of LOAD_FROM_CACHE. r=mayhemer, a=RyanVM
--HG--
extra : source : 60fb09de57ec145923da102f856399d3323f632b
extra : amend_source : b42db87defcc5615773cfa4659af9ff5b9cd4b72
extra : intermediate-source : 599641c7992def734cb352d9413aa51bf0e9793f
extra : histedit_source : 1d42c837225bdf000d3a68bef46a862be87d4044
2018-03-14 12:33:47 +01:00
janekptacijarabaci 35c61a027d Bug 1264125: Fire transitioncancel event when a transition is canceled (added tests + style clean up)
Issue #55
2018-03-14 12:13:01 +01:00
janekptacijarabaci c58cec26c7 Bug 1202333: AnimationEvent elapsedTime should reflect playbackRate (added tests)
Issue #55
2018-03-14 11:55:23 +01:00
janekptacijarabaci aade91b13a moebius#89: DOM - implement animationcancel event
Issue #55
2018-03-14 11:45:38 +01:00
Tom Ritter 8bd0f36bf1 Bug 1430173 - Add qualifiers to BorrowedAttrInfo. r=baku, a=RyanVM
Because we added a new file, we rearranged the Unified Build order and now
need to fully qualify BorrowedAttrInfo which previously inherited a using statement.

MozReview-Commit-ID: BD45k5t9dQU

--HG--
extra : transplant_source : o%E5%3B%E2dr%DF%A1cP%5E%17%19%19%FF%E1%27%A3%9F%99
2018-03-14 11:32:49 +01:00
Tom Ritter b367c38241 Bug 1430173 - Update tests for 2ms timers. r=baku, a=RyanVM
MozReview-Commit-ID: 6xhQ71a5rDU

--HG--
extra : transplant_source : %C2%D3%A7It%0Cg%92h%BB%3A%95%A2%0D.%86%B9C%9B%2B
2018-03-14 11:32:10 +01:00
Tom Ritter f0b727eac2 Bug 1430173 - Add Timer Rounding tests backported from -central to -esr. r=baku, a=RyanVM
MozReview-Commit-ID: Jl4WZAamgrI

--HG--
extra : transplant_source : E%DC%91lU%1C%A4l%2C%C8%23PCz%EB%F2%81%25%1F%90
2018-03-14 11:31:24 +01:00
Tom Ritter a32b7f7c4e Bug 1430173 - Reduce the precision of all explicit clocks to 2ms. r=baku, a=RyanVM
Backport to ESR where we don't have the ResistFingerprinting component.

MozReview-Commit-ID: 9bjycHjR3SF

--HG--
extra : transplant_source : %EA%03%21%0A%E9%3F%8E%CD%7C%D79f%96%85%96%00%5D%7F%95X
2018-03-14 11:27:26 +01:00
Henri Sivonen bd819cc436 Bug 1440926 - Use overflow-checking math when computing Big5 max length. r=emk, a=RyanVM
MozReview-Commit-ID: 1Gney5cYyhu
2018-03-14 11:21:36 +01:00
wolfbeast 8c25427afc Blocklist update 2018-03-14 11:21:21 +01:00
Brian Hackett 69d5d1e702 Bug 1437507 - Fix JSObject::setFlags to call ensureShape before checking for dictionary mode. r=jandem, a=RyanVM
--HG--
extra : source : ca6b74831ec3db204e024b07f200b0d1ce93557e
extra : intermediate-source : 9d7c295d9570e294851908465f56ec0779547d2a
2018-03-14 11:08:45 +01:00
Makoto Kato 9da00ab58e Bug 1437087 - Call Disconnect on Unlink of cycle collector. r=masayuki, a=RyanVM 2018-03-14 11:07:35 +01:00
Andrew Osmond c0ea2166b9 Bug 1388020. r=nical, a=RyanVM 2018-03-14 11:06:35 +01:00
Ryan VanderMeulen 686954ea84 Bug 1398021 - Update lz4 to version 1.8.0. r=froydnj, a=RyanVM
--HG--
extra : source : 9a4077eda5d80e2f7c7fe271035bee2e2d034cec
extra : histedit_source : 64eb1f6e9b2b08981644d7edccd22997d6463b4b%2C5619daf512a89b3a6bf84eca781190b56e8dea31
2018-03-14 11:05:16 +01:00
Valentin Gosu 879619491f Bug 1334465 - Set mIPCClosed to true before calling SendDeleteSelf in order to avoid race. r=bagder, a=ritu
In the previous code, a race condition could cause us to call SendSetPriority() after calling SendDeleteSelf.

For example:
T1: SendDeleteSelf()
T2: if (!mIPCClosed) SendSetPriority()
T1: mIPCClosed = true

MozReview-Commit-ID: 3XOwCaphb2o

--HG--
extra : rebase_source : d6e6886402d1e0b0afed23c25a9fb18d8ca29ad6
extra : intermediate-source : cfc9afe916091e6449f7d748991e2a19187dc817
extra : source : 4ebdab0e332892378558817e30d0138c95199ce5
2018-03-14 11:03:59 +01:00
Valentin Gosu 8f7686bd7d Bug 1334465 - Make HttpChannelParent::mIPCClosed atomic. r=bagder, a=ritu
MozReview-Commit-ID: 6irCJMAjzjW

--HG--
extra : rebase_source : 2357ab0b9d1d693dac9e5f4f16f34f370c6591b5
extra : intermediate-source : 48b9f6671588c3c2b8d3b4ea6ba1267f5e297f83
extra : source : bd315ae86709c3459a3dbf0778022ff3b1908723
2018-03-14 11:03:06 +01:00
Dan Glastonbury f87d25ee40 Bug 1428947 - Check plane width & stride constraints. r=mattwoodrow, a=ritu
MozReview-Commit-ID: 328ETwMdVnq

--HG--
extra : rebase_source : e16b28d137de080f9d8495c6937e24ac16b16ab1
2018-03-14 11:02:02 +01:00
Daniel Holbert 5babf7dc56 Bug 1324042 - Fix trimmedOffsets arithmetic in GetRenderedText(). r=mats, a=RyanVM
MozReview-Commit-ID: H4ngU8Juyln

--HG--
extra : rebase_source : f4d6ab58ae70e485dfe72d5290cf6fae2c8397dd
extra : intermediate-source : bec50ba1fb12aebde4e4065b2799bc730bc30010
extra : source : fbf54020043bd09c162530907b2a1091a10f4f92
2018-03-14 11:00:47 +01:00
Nicholas Hurley 756fb3e145 Bug 1416529. r=mcmanus, a=ritu
MozReview-Commit-ID: CD1l5vLB4yy

--HG--
extra : rebase_source : d74f8ca96dab4e0d25d79948fcddbf8dab98bb36
2018-03-14 10:59:09 +01:00
Jonathan Watt e749d23a34 Bug 1430557. r=longsonr, a=lizzard
--HG--
extra : rebase_source : 5109c816d9ad1ce1881e3670b8d74ae0dc475223
2018-03-14 10:58:19 +01:00
Samael Wang a089281740 Bug 1416307 - Set triggeringPrincipal to current document's principal, if aPrincipal is not given. r=bz, a=ritu
MozReview-Commit-ID: 8lxKFeUlyzq

--HG--
extra : rebase_source : 5f364f5cf84c12717bee021d752aa0f9ba4619dd
extra : intermediate-source : 9df27a7142ffb065fb56c3fc873298988deacb98
extra : source : 9fcf48189000ab8ee16f236be57c9659c7243b42
2018-03-14 10:57:15 +01:00
Mike Hommey f56791f643 Bug 1424709 - Force disable the OSX system "nano allocator". r=spohl, a=RyanVM
We're not actually using it, and it messes up with the zone allocator in
mozjemalloc after fork(). See the lengthy analysis in
https://bugzilla.mozilla.org/show_bug.cgi?id=1424709#c34 and following.

--HG--
extra : rebase_source : b191048290a907cc7668ad7ab6369ef8661f31dc
extra : intermediate-source : 45c5d467a46077dcc3ccd59feafd0c2784432fef
extra : source : bf1efa161edb20a83fe8db2f96c51f4e66880153
2018-03-14 10:56:20 +01:00
André Bargull d9ef671b04 Bug 1430761 - Update tzdata in ICU data files to 2018c. r=Waldo, a=lizzard
--HG--
extra : rebase_source : cb9ac8a678b6f565091f6d7733b6cd86afde0da7
2018-03-14 10:55:09 +01:00
Bob Owen f13ea6af5b Bug 1426087 - Decrement nsDocumentViewer::mDestroyRefCount in a separate function. r=jwatt, a=RyanVM
--HG--
extra : source : 86d41b5efe074f6988085082df9ef537eee0813a
extra : intermediate-source : ea406489f93a0a8fa05ff568acdff07ce6b118c4
2018-03-14 10:54:03 +01:00
Olli Pettay c7816fd9ee Bug 1434580 - Ensure proper mouseover handling. r=masayuki, a=RyanVM
--HG--
extra : source : bfd4bdfd40b43d0491c66af5b599659427e4e795
extra : intermediate-source : 8660689b18cd25f0110276bfc5bb8e8dd9c325f9
2018-03-14 10:53:02 +01:00
Dan Minor abf6ecee9f Bug 1433005 - Simplify codec pruning in NegotiateCodecs. r=bwc, a=lizzard
--HG--
extra : source : 90ae99509f1e9cb5bdf19350a5fbb1a02d34ff0a
2018-03-14 10:51:46 +01:00
Nils Ohlmeier [:drno] a8f45aba81 Bug 1426988 - Properly exit encoder init in error cases. r=rillian, a=RyanVM 2018-03-14 10:47:26 +01:00
janekptacijarabaci dcc00ffadf Bug 1264125: Queue CSS related event when setting null target effect
Issue #55
2018-03-14 09:18:49 +01:00
janekptacijarabaci 34ef9d4683 Bug 1264125: Call the queueing events when canceling transition via Style or Script
Issue #55
2018-03-14 09:16:03 +01:00
janekptacijarabaci 4644a03770 Bug 1264125: Queue transitioncancel when animation status is idle
Issue #55
2018-03-14 09:10:08 +01:00
janekptacijarabaci 3a9cafda4d Revert - Bug 1324985: Disable firing the transitionrun and transitionstart on Aurora 52
Issue #55
2018-03-14 09:04:22 +01:00
janekptacijarabaci cf4482199c Bug 1264125: Fire transitioncancel event when a transition is canceled - part 1 (in the description)
Issue #55
part 1 - Add transitioncancel event handler
part 2 - Add ontransitioncancel EventHandler to WebIDL
part 3 - Add member of active time to ComputedTiming
2018-03-14 08:52:52 +01:00
janekptacijarabaci c473010029 Bug 1202333: AnimationEvent elapsedTime should reflect playbackRate (without tests)
Issue #55
2018-03-14 08:26:26 +01:00
wolfbeast d2a0a16054 Hard-disable the use of sponsored tiles. 2018-03-13 17:12:06 +01:00
wolfbeast 240ba54a42 Bump max icon size for search engine icons to 32 KB to cater to more common use of HiDPI icons. 2018-03-13 16:39:42 +01:00
Moonchild 5462c41574 Merge pull request #59 from MoonchildProductions/Evapo-Rust
Remove all rust components and libs.
2018-03-13 14:55:45 +01:00
wolfbeast 38d185280e Remove Rust from the tree.
Part 4 for #58
2018-03-13 13:38:57 +01:00
wolfbeast 7c68c5a22c Remove cargo nsstring component
Part 3 for #58
2018-03-13 12:15:45 +01:00
wolfbeast a1f1434202 Remove Rust URL parser CAPI
Part 2 for #58
2018-03-13 11:55:28 +01:00
wolfbeast 565bf75145 Remove Rust MP4 parser
Part 1 for #58
2018-03-13 10:14:21 +01:00
Matt A. Tobin 90e68c3e3f Fix for loops in selectAddons.js (SyntaxError: missing ] after element list) 2018-03-12 16:49:50 -04:00
Matt A. Tobin 4a70c6dd24 Remove the hard blocker on unmodified jetpack extensions from TychoAM
Be sure to remove the now unused string from Pale Moon
2018-03-12 16:22:40 -04:00
Matt A. Tobin e510fcb00c Adjust error number for WebExtensions on TychoAM and add the string to Basilisk
Pale Moon l10n will need an adjustment as well from -5 to -9
2018-03-12 16:20:49 -04:00
Matt A. Tobin ffa04def2f Fix for loops in update.js (SyntaxError: missing ] after element list) 2018-03-12 15:08:29 -04:00
janekptacijarabaci 70a4d7e010 JS - RegExp - match updated spec for /\b/iu and /\B/iu 2018-03-12 14:59:13 +01:00
wolfbeast b392e6d2ea Generate irregexp character tables with make_unicode.py. 2018-03-12 14:15:56 +01:00
wolfbeast ba74a4174d Merge branch 'ported-moebius' 2018-03-12 11:18:06 +01:00
wolfbeast 519775b8d9 Revert "JS - RegExp - match updated spec for /\b/iu and /\B/iu"
This reverts commit 93f8e06bb8.
2018-03-12 11:09:28 +01:00
wolfbeast 2fbd179478 Bustage fix: remove duplicate function def 2018-03-12 11:09:02 +01:00
janekptacijarabaci c43c8f1762 JS - Object - "TypeError: setting a property that has only a getter" without mentioning file and property name 2018-03-12 10:12:53 +01:00
janekptacijarabaci ea44e60b7e HTML - implement the labels attribute (follow up) 2018-03-12 10:01:04 +01:00
janekptacijarabaci 6be9e50707 HTML - implement the labels attribute 2018-03-12 09:59:19 +01:00
janekptacijarabaci 93f8e06bb8 JS - RegExp - match updated spec for /\b/iu and /\B/iu 2018-03-12 09:52:39 +01:00
wolfbeast 1df7811e8e Bump Goanna version for CSS improvements. 2018-03-12 09:52:05 +01:00
janekptacijarabaci 092c61f6e6 CSS: inline-block with a display:block <input> child element has a wrong baseline (HTML forms) 2018-03-12 09:50:12 +01:00
janekptacijarabaci 76e1c016a3 CSS - Grid - transferred min-size contribution of percentage size grid item with an intrinsic ratio 2018-03-12 09:46:33 +01:00
janekptacijarabaci 920519e7c5 CSS - Grid - intristic content with overflow:auto overlaps in grid 2018-03-12 09:46:03 +01:00
janekptacijarabaci 505edf1ba4 [draft] CSS - linear-gradient - zero (0) angle value without degree unit is not correctly interpreted 2018-03-12 08:40:14 +01:00
janekptacijarabaci 017797de49 CSS - Grid - fit-content unexpectedly reserves space for full clamp size in repeat() 2018-03-12 08:39:41 +01:00
janekptacijarabaci b736f53a13 SVG - support radialGradient fr attribute 2018-03-12 08:39:15 +01:00
janekptacijarabaci 4577efd50f Implement DOM page onvisibilitychange. 2018-03-12 08:38:36 +01:00
janekptacijarabaci eda34d02aa [minor fix] Places - deleting folder of livemarks - nsLivemarkService.js - 0x80070057 (NS_ERROR_ILLEGAL_VALUE) 2018-03-11 16:15:52 +01:00
janekptacijarabaci 1275cfecf8 [minor fix] Places - bookmarks - treeView.js - 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsINavHistoryContainerResultNode.getChildIndex] 2018-03-11 16:14:57 +01:00
janekptacijarabaci 8d709fbc81 Bookmarks - HTML export - Write CRLF on Windows systems and LF on others. 2018-03-11 16:10:04 +01:00
Moonchild e3c30c6a4d Merge pull request #53 from janekptacijarabaci/devtools_network_markers_1
DOMContentLoaded and load does not work properly; follow up if "devtools.webconsole.persistlog == true"
2018-03-10 11:11:35 +01:00
Moonchild 9e2ba2237f Merge pull request #51 from trav90/buildsystem-work
Improve support for GCC 7.x
2018-03-10 11:10:35 +01:00
Matt A. Tobin 2e5f399735 Port Pale Moon commit a3044d3 - Exclude default theme from update checks.
Do this both for TychoAM and WebExAM
2018-03-08 12:20:38 -05:00
janekptacijarabaci 2f4fa17a5c DOMContentLoaded and load does not work properly if "devtools.webconsole.persistlog == true" - is getting higher
Issue #52
2018-03-05 20:30:12 +01:00
Moonchild 88cfcc8a55 Merge pull request #50 from adeshkp/patch-1
Fix configure on Mac OS X
2018-03-05 12:04:48 +01:00
adeshkp 94852e675f Fix configure on Mac OS X 2018-03-05 09:14:22 +00:00
Moonchild de97f5dd8e Merge pull request #47 from janekptacijarabaci/devtools_storage_refresh_1
Added a button to refresh the Storage Inspector display
2018-03-05 00:35:56 +01:00
Moonchild b9b1757006 Merge pull request #46 from janekptacijarabaci/devtools_network_curl_1
Copy as cURL (PATCH)
2018-03-05 00:34:20 +01:00
Moonchild 05b5c72bb4 Merge pull request #48 from janekptacijarabaci/devtools_inspector_typo_1
Fix typo in a comment
2018-03-05 00:33:45 +01:00
janekptacijarabaci d24b2d8a1d Added a button to refresh the Storage Inspector display
Issue #45
2018-03-04 23:39:03 +01:00
janekptacijarabaci 25b78dfa6e Copy as cURL (PATCH)
Issue #44
2018-03-04 23:36:49 +01:00
trav90 28b1200181 Fix some WebRTC tests to build with GCC 7.0. 2018-03-04 15:34:58 -06:00
trav90 050973b503 Fix a truncation leading to an error with GCC 7 2018-03-04 15:31:36 -06:00
trav90 141607b6de Disable strict-aliasing for GCC in js/src/jsapi-tests
Compiling our tree with strict-aliasing is not supported.
2018-03-04 15:30:09 -06:00
trav90 3bb7b8e11e Disable -Wimplicit-fallthrough in parser/html
GCC 7 supports the clang option -Wimplicit-fallthrough.
2018-03-04 15:27:53 -06:00
trav90 daab331cf5 Disable -Wimplicit-fallthrough for a chromium file
GCC 7 supports the clang option -Wimplicit-fallthrough.
2018-03-04 15:26:51 -06:00
trav90 704ce7d91c Disable -Wimplicit-fallthrough in jsoncpp
GCC 7 supports the clang option -Wimplicit-fallthrough.
2018-03-04 15:24:28 -06:00
trav90 f2fc563210 Disable -Wimplicit-fallthrough in dom/canvas
GCC 7 supports the clang option -Wimplicit-fallthrough.
2018-03-04 15:19:38 -06:00
trav90 a973e506c1 Add MOZ_FALLTHROUGH macro definition for gcc 7 to suppress -Wimplicit-fallthrough warnings
The generic fallback MOZ_FALLTHROUGH definition is insufficient for GCC 7 and above, resulting in build warning spam and --enable-warnings-as-errors builds failing. The check for clang support is changed to use the __has_cpp_attribute macro, which is more robust than checking the __cplusplus version. Also, MOZ_FALLTHROUGH is now only defined in C++ code, since GCC errors out if it encounters a scoped attribute being used with __has_cpp_attribute in C code. No C code uses MOZ_FALLTHROUGH or derivatives at the moment.
2018-03-04 15:17:01 -06:00
trav90 4537850611 Use |noexcept| instead of an exception-specification in mozalloc.h
We are using |throw(std::bad_alloc)|, but dynamic exception specifications have been deprecated in C++11. The C++11 equivalent is |noexcept(false)|. This causes build warning spam when using newer compilers such as GCC 7.x.
2018-03-04 15:12:03 -06:00
trav90 b9bb9f4cc6 Disable -Wimplicit-fallthrough when building jsdtoa.cpp
GCC 7 supports the clang option -Wimplicit-fallthrough.
2018-03-04 15:09:21 -06:00
trav90 d219b672a3 Disable strict-aliasing for GCC in js/src/gdb
Compiling our tree with strict-aliasing is not supported.
2018-03-04 15:07:25 -06:00
trav90 860efa70ee Disable strict-aliasing for GCC in js/src
Compiling our tree with strict-aliasing is not supported.
2018-03-04 15:05:47 -06:00
Moonchild f6e7a511bc Merge pull request #40 from janekptacijarabaci/devtools_import-from-moebius_3
Port across devtools enhancements - 3
2018-03-04 10:28:35 +01:00
Moonchild eb7399a0ab Merge pull request #42 from trav90/fixbustage
Import lss code from esr52
2018-03-04 10:26:37 +01:00
Moonchild d739fdc17c Merge pull request #41 from trav90/master
Fix line endings on old-configure
2018-03-04 10:25:09 +01:00
wolfbeast 2998d0f5e2 Fix build system translation errors.
Follow-up to 11a8a39f6d
2018-03-04 10:13:33 +01:00
trav90 115952301b Import lss code from esr52
Fixes build bustage on Linux (even with crashreporter disabled).
2018-03-03 19:26:32 -06:00
trav90 c5e46d92a2 Fix line endings on old-configure
Fixes Linux build bustage.
2018-03-03 19:14:27 -06:00
janekptacijarabaci e78a87b418 moebius#346: Storage Inspector should trim port from hosts for cookies
Issue #31
https://github.com/MoonchildProductions/moebius/pull/346
2018-03-04 01:58:43 +01:00
janekptacijarabaci a53fe8f5c9 Bug 1302989: Make storage inspector work with file:// when # is in the URL
Issue #31
2018-03-04 01:35:21 +01:00
wolfbeast bba13e3d34 Merge branch '_native_52ESR_dom_url_origin_ref_1'
This resolves #38
2018-03-03 22:39:11 +01:00
janekptacijarabaci fbc836e285 [minor fix] DevTools - inspector.properties (fix typo) 2018-03-03 22:10:49 +01:00
wolfbeast 9626500a0e Remove testing-only UI components for e10s
This removes front-end tools only applicable for testing e10s (open non-e10s window, etc.)
This resolves #37
2018-03-03 21:26:56 +01:00
janekptacijarabaci c1ba23a015 The origin should not contain the ref part of the URL 2018-03-03 21:23:39 +01:00
Moonchild d252c5b232 Merge pull request #36 from janekptacijarabaci/devtools_import-from-moebius_2
Port across devtools enhancements - 2
2018-03-03 19:42:25 +01:00
janekptacijarabaci 8114b67b64 moebius#93: DevTools: Network - DOMContentLoaded and load
Issue #31
Improvements: #34
https://github.com/MoonchildProductions/moebius/pull/93
2018-03-03 17:44:55 +01:00
wolfbeast c3039dadd9 Add support for CSP v3 "worker-src" directive 2018-03-03 11:22:15 +01:00
wolfbeast 8891f99913 Don't enforce arbitrary TLS profile.
This prevents people from being unable to visit websites based on "best practice" assumptions.
2018-03-03 11:21:17 +01:00
Matt A. Tobin 3e9c160bbb Correct toolkit search component moz.build 2018-03-02 20:07:40 -05:00
janekptacijarabaci 28d03f81da moebius#350: Don't display storage-sidebar after deleting all cookies
Issue #31
https://github.com/MoonchildProductions/moebius/pull/350
2018-03-02 18:46:58 +01:00
janekptacijarabaci f22bc3fd88 moebius#342: Columns are not sorted correctly (Natural Sort algorithm)
Issue #31
https://github.com/MoonchildProductions/moebius/pull/342
2018-03-02 18:22:50 +01:00
janekptacijarabaci 166fb9f289 moebius#339: Make it possible to add cookies, local and session storage entries
Issue #31
https://github.com/MoonchildProductions/moebius/pull/339
2018-03-02 17:52:34 +01:00
janekptacijarabaci 26e53627d6 moebius#337: Added option to remove all session cookies for a specific domain
Issue #31
https://github.com/MoonchildProductions/moebius/pull/337
2018-03-02 16:38:25 +01:00
janekptacijarabaci f0175fb7ab Bug 1321820: Storage Inspector fails with dom.caches.enabled=false
Issue #31
2018-03-02 15:26:16 +01:00
janekptacijarabaci 4240e91e32 Bug 1334252: Find IDB storage for host more directly
Issue #31
2018-03-02 15:06:49 +01:00
janekptacijarabaci 71fd51a863 Bug 1320362: Move indexedDb storage type in the storage inspector into a new column
Issue #31
2018-03-02 14:59:24 +01:00
janekptacijarabaci 43ddb9b8c0 Bug 1276339: Storage inspector doesn't work on chrome:// pages and web extensions
Issue #31
2018-03-02 14:33:20 +01:00
janekptacijarabaci 390894c822 Bug 1146194: Multiple cookies with the same name not shown
Issue #31
2018-03-02 13:36:16 +01:00
Moonchild e272829137 Merge pull request #34 from janekptacijarabaci/devtools_import-from-moebius_1
Port across devtools enhancements
2018-03-02 10:32:45 +01:00
janekptacijarabaci c8355b22c0 Rewrite the comment, use maxResolutionMs 2018-03-02 07:27:21 +01:00
janekptacijarabaci d7d79119ec Rounding to 1ms 2018-03-01 21:17:42 +01:00
janekptacijarabaci 3777f62a00 Fix nit 2018-03-01 20:38:25 +01:00
Matt A. Tobin ba2c2e5301 Remove MOZ_MULET 2018-03-01 14:35:14 -05:00
Matt A. Tobin 11a8a39f6d Use MOZ_FENNEC and MOZ_XULRUNNER instead of checking MOZ_BUILD_APP in most places 2018-03-01 14:26:41 -05:00
Matt A. Tobin 17e72c824e Sync Pale Moon code 2018-03-01 12:21:40 -05:00
Matt A. Tobin b6c2d5f6ae Update 7zSFX 2018-03-01 12:18:10 -05:00
janekptacijarabaci 6ee4e4436c Show the Status Line (e.g. "HTTP/2.0 200 OK") in raw headers (response)
https://github.com/MoonchildProductions/moebius/pull/323
2018-03-01 17:52:39 +01:00
janekptacijarabaci 13a6805652 Properly pass postData into new tab
https://github.com/MoonchildProductions/moebius/pull/352
2018-03-01 17:29:55 +01:00
janekptacijarabaci aa60e7f714 [minor fix] DevTools - Throws an error ("String contains an invalid character")
https://github.com/MoonchildProductions/moebius/pull/162
2018-03-01 15:02:59 +01:00
janekptacijarabaci 0535b0bb38 Fix "help cmd" and "cmd refresh" in the Developer Toolbar
https://github.com/MoonchildProductions/moebius/pull/348
2018-03-01 13:57:10 +01:00
janekptacijarabaci caebf13372 Checking NS_BINDING_ABORTED to avoid dispatching navigate event
https://github.com/MoonchildProductions/moebius/pull/302
2018-03-01 13:50:06 +01:00
janekptacijarabaci 66e6aac506 Restore source-editor commands controller for scratchpad & styleeditor menus
https://github.com/MoonchildProductions/moebius/pull/290
2018-03-01 13:45:40 +01:00
janekptacijarabaci 03f6e7acb3 Add support for -browserconsole (the command line)
https://github.com/MoonchildProductions/moebius/pull/257
2018-03-01 13:40:50 +01:00
janekptacijarabaci 60edea0203 DevTools - network - Copy as cURL (POST)
https://github.com/MoonchildProductions/moebius/pull/167
2018-03-01 13:35:53 +01:00
janekptacijarabaci b43b4f25a8 DevTools - gcli - screenshot - the vertical mode
https://github.com/MoonchildProductions/moebius/pull/166
2018-03-01 13:30:24 +01:00
janekptacijarabaci 12ea568359 DevTools - style editor - StyleSheetsActor should use the parent tabActor to retrieve the list of windows and react to new/removed windows
https://github.com/MoonchildProductions/moebius/pull/124
2018-03-01 13:13:33 +01:00
janekptacijarabaci 644e9db109 DevTools - network - implement the secureConnectionStart property for the PerformanceTiming
https://github.com/MoonchildProductions/moebius/pull/116
("/testing" and "/toolkit" in in the previous commit)
2018-03-01 11:52:50 +01:00
janekptacijarabaci 228d252ab1 DevTools - network - security (improvements)
https://github.com/MoonchildProductions/moebius/pull/113
https://github.com/MoonchildProductions/moebius/pull/118
https://github.com/MoonchildProductions/moebius/pull/127
2018-03-01 09:02:37 +01:00
janekptacijarabaci 46ecf68249 DevTools - Browser Console - restore sessions (follow up)
https://github.com/MoonchildProductions/moebius/pull/112
2018-03-01 08:36:32 +01:00
janekptacijarabaci e59c00a5c5 DevTools - Browser Console - restore sessions
https://github.com/MoonchildProductions/moebius/pull/112
2018-03-01 07:17:50 +01:00
Matt A. Tobin eebeefbf29 Update configure variable verification 2018-02-28 13:00:52 -05:00
janekptacijarabaci abf6005858 Bug 1168376: Show transferred size in request summary instead of decompressed size
https://github.com/MoonchildProductions/moebius/pull/93
- without: DOMContentLoaded and load
2018-02-28 16:02:31 +01:00
janekptacijarabaci 9fafdd4546 basilisk -jsdebugger - Import Console.jsm before calling console.[something]
https://github.com/MoonchildProductions/moebius/pull/250
2018-02-28 15:12:38 +01:00
janekptacijarabaci d5d3cc71b8 Basilisk - the cmd line - help (the columns alignment, error improvements) - follow up
https://github.com/MoonchildProductions/moebius/pull/58
2018-02-28 12:30:08 +01:00
janekptacijarabaci b05346cf37 DevTools - Scratchpad - fix an old bug (Shift+Alt+R / Reload and Run) - follow up (Ctrl+Alt+R does not work)
https://github.com/MoonchildProductions/moebius/pull/50
2018-02-28 12:18:11 +01:00
janekptacijarabaci 627f167bf4 Bug 1309194: Implement summary info in Net Panel Toolbar; Bug 1317205: CSS improvement for summary button
Required for: https://github.com/MoonchildProductions/moebius/pull/93
2018-02-28 12:17:13 +01:00
janekptacijarabaci b19e4e2cf0 DevTools - inspector - data URL source links and their tooltips are unreadable
https://github.com/MoonchildProductions/moebius/pull/95
2018-02-28 08:57:48 +01:00
janekptacijarabaci f7e146b343 [partial fix] DevTools - network - proxy - throws an errors (remoteAddress)
https://github.com/MoonchildProductions/moebius/pull/63
2018-02-28 08:51:01 +01:00
janekptacijarabaci 259e214960 Basilisk - the cmd line - help (the columns alignment, error improvements)
https://github.com/MoonchildProductions/moebius/pull/58
2018-02-28 08:49:42 +01:00
janekptacijarabaci ad35e2a11f DevTools - gcli commands - cookie
https://github.com/MoonchildProductions/moebius/pull/55
2018-02-28 08:41:33 +01:00
janekptacijarabaci 32230477c6 DevTools - Inspector - tooltip get element width/height wrong when browser zoomed
https://github.com/MoonchildProductions/moebius/pull/54
2018-02-28 08:41:01 +01:00
Matt A. Tobin fedcf7249a Remove non-functional nsDragAndDrop due to refactoring 2018-02-27 10:41:24 -05:00
wolfbeast e10dfb62ff Merge branch 'EME-work' 2018-02-24 22:12:27 +01:00
Matt A. Tobin 2772787463 Merge branch 'master' into EME-work 2018-02-24 11:57:59 -05:00
Matt A. Tobin fd6b1ad6f9 WebRTC should be an enable bool in ac configure but enabled in Basilisk 2018-02-24 09:56:36 -05:00
Matt A. Tobin 7a6e7ed0f5 Developer Tools client should be a disable bool in ac configure 2018-02-24 09:49:34 -05:00
wolfbeast 1dbd9799db Fix up leftover merge conflicts.
Tag #26
2018-02-24 11:37:35 +01:00
wolfbeast c88c161875 Remove unnecessary front-end features and pres when not building EME.
Tag #26.
2018-02-24 10:30:41 +01:00
wolfbeast 46ad1199de Don't build EME-specific subroutines without EME.
- Checks for restricted or encrypted content
- Dispatching 'encrypted' events
- Dispatching 'key needed' events
- HTML Media Element media keys system
- EME telemetry
- HTML Media Element EME API

This is the main bulk for #26, isolating EME-specific code.
2018-02-24 10:20:45 +01:00
wolfbeast 55d03738f9 Don't include MediaKeySystemAccess without EME.
This also removes checks for EME content in documents.
This removes practical use of EME by no longer having a keying system. (no-op)
tag #26
2018-02-24 10:13:29 +01:00
wolfbeast 011dac290a Don't build GMP-clearkey when not building EME. 2018-02-24 10:06:22 +01:00
wolfbeast 507827c207 Move --enable-eme out of mozconfigure 2018-02-24 10:02:00 +01:00
wolfbeast dc7ceccf8b Merge branch 'TLS-1.3' 2018-02-24 00:43:43 +01:00
wolfbeast 788c588bf6 Activate TLS 1.3 by default.
This resolves #15.
2018-02-24 00:42:45 +01:00
Matt A. Tobin 6f93b00559 Restore toolkit/obsolete files and reinstate them to toolkit/content 2018-02-23 14:04:34 -05:00
Matt A. Tobin be18578af6 Revert "Restore toolkit/obsolete"
This reverts commit b61927d4cd.
2018-02-23 13:41:53 -05:00
wolfbeast 71119b4926 Merge branch 'security_tls_1-3_1' into TLS-1.3 2018-02-23 12:44:25 +01:00
wolfbeast b884cfd05e Merge branch '_native_52ESR_http_events_1' into TLS-1.3 2018-02-23 12:41:54 +01:00
wolfbeast a910f57af6 Update build system files for NSS 3.35 2018-02-23 11:05:20 +01:00
wolfbeast f1a0f0a56f Update NSS to 3.35-RTM 2018-02-23 11:04:39 +01:00
wolfbeast 8781f74555 Update NSPR to 4.18 2018-02-23 11:03:38 +01:00
wolfbeast 7eb2c156ba Fix typo in f3f9b7b06e (caps) 2018-02-23 09:39:10 +01:00
wolfbeast f3f9b7b06e Prevent issues and possible leaks with the bookmarks menu bar as a result of XBL re-binding. 2018-02-22 11:57:51 +01:00
wolfbeast 7b7ea5c59a Merge branch 'ported-moebius' 2018-02-22 11:47:32 +01:00
janekptacijarabaci cff4a7d0b6 Bug 1217907: [RTL] Wrong direction in about:preferences#general homepage 2018-02-22 11:43:18 +01:00
janekptacijarabaci 6bb68deb2a Propagate plugin permissions from top-level to XO iframes. 2018-02-22 11:37:32 +01:00
janekptacijarabaci 896e23c20e CSP: connect-src 'self' should always include https: and wss: schemes 2018-02-22 11:30:29 +01:00
janekptacijarabaci cdcfbde10d CSP: Support IDNs in connect-src 2018-02-22 11:23:16 +01:00
janekptacijarabaci b4dac5093a CSP: Ignore nonces on <img> per spec 2018-02-22 11:20:38 +01:00
janekptacijarabaci a06ce3f03b CSP: Upgrade SO navigational requests per spec. 2018-02-22 11:18:23 +01:00
janekptacijarabaci 62d5359679 CSP 2 - ignore (x-)frame-options if CSP with frame-ancestors directive exists 2018-02-22 11:15:23 +01:00
wolfbeast b7274fd666 Enable ALSA support by default on Linux.
This will enable PulseAudio by default with a run-time fallback to ALSA (like Firefox <52).
This resolves #115.
PulseAudio will remain enabled by default -- if at runtime it's not available, it will fall back to ALSA.
Building the tree will still require libpulse to be installed, unless using --disable-pulseaudio.
2018-02-22 11:12:45 +01:00
wolfbeast eaac061607 Merge branch 'ported-moebius' 2018-02-22 08:59:14 +01:00
wolfbeast 6f96569b44 Set BASILISK_VERSION override major.minor to 52.9 2018-02-22 08:13:47 +01:00
wolfbeast 3458dde44f Add site-specific overrides and remove the overruling global. 2018-02-22 07:49:13 +01:00
wolfbeast ee221138d4 Restore the dynamic release notes URL from pref 2018-02-22 00:04:26 +01:00
wolfbeast bc0273b478 Strip HHMM from the about dialog displayed version. 2018-02-21 23:50:25 +01:00
wolfbeast 8896ca5c0a Update various texts and references. 2018-02-21 23:31:24 +01:00
wolfbeast 49e8a36e17 Link about dialog version to general.useragent.appVersionIsBuildID.
true: YYYY.MM.DD.HHMM
false: v{internal version number} (YYYY-MM-DD)
2018-02-21 23:15:23 +01:00
wolfbeast 5f813f143b Provide UA Gecko and Firefox slices by default for web compatibility. 2018-02-21 22:31:23 +01:00
wolfbeast 2e07719b30 Identify as Goanna + set Goanna platform version. 2018-02-21 21:42:05 +01:00
wolfbeast c9fc6f4923 Pick up major+minor milestone version from GRE milestone file. 2018-02-21 21:41:23 +01:00
wolfbeast 12640bf26e Read Firefox UA compatmode from a pref instead of hard-coded.
In case of a missing pref, a hard-coded value is still used from the ctor.
2018-02-21 20:14:43 +01:00
wolfbeast 580ebc1056 Replace display version in about box with build ID. 2018-02-21 20:10:22 +01:00
wolfbeast ef9aeb6a08 Update UA construction. 2018-02-21 20:09:30 +01:00
janekptacijarabaci 4fd939e8c9 JS - make window.pageYOffset/pageXOffset/scrollX/scrollY double 2018-02-21 19:52:35 +01:00
janekptacijarabaci a80b5f2728 DevTools - Scratchpad - fix an old bug (Ctrl+Shift+R / Reload and Run) 2018-02-21 19:51:52 +01:00
janekptacijarabaci 2e1e954eac JS - URL - add toJSON support 2018-02-21 19:51:21 +01:00
janekptacijarabaci c023a51e60 Crypto Services (utils) - Support for SHA224-512 2018-02-21 19:50:16 +01:00
janekptacijarabaci d8598c1ed3 Notifications - Run (Desktop) Notifications twice (and more) in a row does not work 2018-02-21 19:49:55 +01:00
janekptacijarabaci 0c36b27511 JS - support for Array.prototype.values() 2018-02-20 21:21:56 +01:00
Moonchild d77729916b Merge pull request #27 from MoonchildProductions/theme-work
Remove Windows XP and Windows Vista theme components and resources.
2018-02-20 18:57:53 +01:00
wolfbeast 4c697043da Remove windows-xp and windows-vista from @media(-moz-os-version) 2018-02-20 14:01:05 +01:00
wolfbeast fd9d8c20d2 Remove Windows XP and Windows Vista theme components and resources. 2018-02-20 12:49:23 +01:00
wolfbeast 8826313be0 Fix build bustage: keep MF_WIN7_VERSION name 2018-02-20 12:23:48 +01:00
wolfbeast 9ecbf33313 Clean up Firefox specific considerations from WindowsVersion.h
Tag #22.
2018-02-20 10:25:50 +01:00
wolfbeast 5d1eb0d3aa Remove more obsolete checks in dom/media and ipc. 2018-02-20 10:19:17 +01:00
wolfbeast a930db1c9e Remove more Vista checks in ipc code 2018-02-20 10:11:31 +01:00
wolfbeast f1e863a490 Remove more Vista checks in dom/media 2018-02-20 10:06:50 +01:00
wolfbeast 20e533f6b5 Remove DLL blocklist checks for Windows XP. 2018-02-19 20:54:12 +01:00
wolfbeast a1bc6f33ef Remove obsolete WinXPWifiScanner class.
Tag #22
2018-02-19 20:29:13 +01:00
wolfbeast 40d8e355ce Remove Windows XP specific code in netwerk. 2018-02-19 20:27:33 +01:00
wolfbeast da8f20a3b0 Remove some obsolete front-end code in Basilisk. 2018-02-19 20:04:11 +01:00
wolfbeast 38ec1c796d Remove gfx/thebes checks for Windows 7+. 2018-02-19 19:22:37 +01:00
wolfbeast f297ef798e Remove some gfx/thebes checks for Windows Vista+. 2018-02-19 19:20:15 +01:00
wolfbeast 13a9ea6486 Remove XPCOM checks for Windows Vista and clean up unused header files.
Tag #22
2018-02-19 16:41:18 +01:00
wolfbeast 4f82d71df0 Remove Windows shell integration checks for Windows Vista.
Tag #22.
2018-02-19 16:28:18 +01:00
wolfbeast 01b1e411bd Remove StartupSpecialSystemDirectory() workaround.
The SHGetKnownFolderPath function declaration is exposed since [85edb1c711] so we no longer need to GetProcAddress("SHGetKnownFolderPath") and we can call it directly.
Also remove a redundant #include <shlobj.h>.
2018-02-19 16:11:56 +01:00
wolfbeast ce1bd4f244 Use thread_local calls on Win and Mac.
This resolves #24.
2018-02-19 15:37:37 +01:00
wolfbeast 616475a0c1 Remove SEH try blocks from a11y code. 2018-02-19 13:46:04 +01:00
wolfbeast a14048f0a2 Use GetTickCount64 without a GetProcAddress check in Timestamp_windows.cpp.
Tag #22.
2018-02-19 12:50:59 +01:00
wolfbeast 39578317ee Remove always-false #if WINVER < 0x0601 (Windows 7) checks in nsWinGesture.h. 2018-02-19 12:33:04 +01:00
wolfbeast 2e0f80af42 Remove always-false #if WINVER < 0x0601 (Windows 7) checks in nsLookAndFeel.h. 2018-02-19 12:31:28 +01:00
wolfbeast 8f1c9fe4f0 Remove always-false #if WINVER < 0x0600 (Windows Vista) check in toolkit/win. 2018-02-19 12:28:55 +01:00
wolfbeast 66248cfbcc Remove always-false #if WINVER < 0x0600 (Windows Vista) checks in widget/windows. 2018-02-19 12:27:14 +01:00
wolfbeast ee70e3a366 Remove always-false block from WMF. 2018-02-19 12:26:37 +01:00
wolfbeast 3d37f61816 Remove useless version check from PDMFactory. 2018-02-19 12:22:29 +01:00
wolfbeast 039f3e49c7 Remove redundant Vista checks in dom/ipc 2018-02-19 12:22:05 +01:00
wolfbeast 2b01522cf3 Remove redundant Vista checks in toolkit/xre 2018-02-19 12:15:47 +01:00
wolfbeast e52c019ec8 Remove dead code in the Windows battery module. 2018-02-19 11:17:11 +01:00
wolfbeast c766897196 Remove the use of GetProcAddress() for shell32
This avoids manually hooking into shell32.dll and using the native shell API instead.
Tag #22.
2018-02-19 10:00:25 +01:00
wolfbeast 85edb1c711 Make the proper Windows APIs natively available to our tree.
Tag #22.
This bypasses custom definitions of some functions for things natively available in Windows 7.
2018-02-19 09:58:44 +01:00
wolfbeast bc9ad467f0 Remove no longer relevant ClearType prefs.
Tag #22
2018-02-18 21:07:51 +01:00
wolfbeast a24398e42d Remove unnecessary code in /widget.
- 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.
2018-02-18 14:56:31 +01:00
wolfbeast b55f0e7f0d Update executable manifests. 2018-02-18 13:27:04 +01:00
wolfbeast 47b8c58d47 Prevent installing stand-alone installers on unsupported environments.
- Prevent installers from installing on XP/Vista.
- Prevent x64 installers from installing on x86.
2018-02-18 13:12:13 +01:00
wolfbeast b6c330e1ca Stop shipping d3dcompiler_43.dll 2018-02-18 12:43:22 +01:00
wolfbeast 51b6354f31 Merge branch 'ported-moebius' 2018-02-18 12:21:38 +01:00
wolfbeast 31c5e63eda Merge branch 'master' into ported-moebius 2018-02-18 11:35:06 +01:00
Matt A. Tobin d38f865699 Part 2 2018-02-18 05:31:26 -05:00
wolfbeast 5839763c82 Merge branch 'master' into ported-moebius
# Conflicts:
#	browser/installer/windows/nsis/stub.nsi
2018-02-18 10:38:55 +01:00
janekptacijarabaci 83c4b04a70 Two (and more) extensions together - http resume - basilisk crashes 2018-02-18 10:30:15 +01:00
wolfbeast 140e3f5c03 Remove arbitrary NPAPI plugin whitelist for 64-bit.
This resolves #204.
2018-02-18 10:29:44 +01:00
wolfbeast aa752bce48 Update names in installer defines.
Having the proper `WindowClass` should resolve #170.
2018-02-18 10:28:36 +01:00
wolfbeast afb673f1b2 Fix installer build bustage.
Follow-up to cdef1d75eabfe6927aa0f4e0c18869653c9f1955
2018-02-18 10:25:59 +01:00
wolfbeast 20b6d5e9c0 Add an option to control automatic filling in of login credentials and switch this off by default.
This resolves #272.
2018-02-18 10:24:25 +01:00
wolfbeast 3cdef72da3 Chase the fox out of the shell service.
"Welcome to branding hell, boys!"
Part 2 for #271.
2018-02-18 10:24:02 +01:00
wolfbeast 1a418cf476 Rename Options to Preferences and unify location.
This also removes OS-specific naming/handling for separate locations.
Fixes #270.
2018-02-18 10:23:42 +01:00
wolfbeast e803a1be81 Change format handlers to Basilisk. 2018-02-18 10:22:51 +01:00
Matt A. Tobin 45f2fcd80d Adjust requirements 2018-02-17 14:50:05 -05:00
Matt A. Tobin 74fbc810ab Make MOZ_SANBOX an enable bool in configure 2018-02-17 14:28:22 -05:00
Matt A. Tobin b19cfd8e7b Basilisk requires devtools client for now so enable it by default but add a temporary exportable variable to bypass that 2018-02-17 14:10:47 -05:00
Matt A. Tobin 9dcf77e4c6 Split MOZ_DEVTOOLS into MOZ_DEVTOOLS (client) and MOZ_DEVTOOLS_SERVER (backend) and make both optional 2018-02-17 14:09:31 -05:00
Matt A. Tobin f28984b853 Add a configure option to disable including jetpack 2018-02-17 14:06:01 -05:00
Matt A. Tobin 8a119434ac Merge branch 'stub-branding-cc' 2018-02-17 11:37:33 -05:00
wolfbeast 050cfdc4ca Merge branch 'ported-moebius' 2018-02-17 17:12:28 +01:00
Matt A. Tobin 170b82c2e2 Reduce redundencies in Basilisk branding 2018-02-17 10:56:35 -05:00
wolfbeast 6f5c57ae74 Align ToolbarIconColor luminance computation with UWP guideline as well to make it consistent with the rest of the browser. 2018-02-17 16:32:49 +01:00
wolfbeast 4ccbe3620e Add a signal preference for dynamic color changes to adjust "brighttext" in 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.
2018-02-17 16:31:25 +01:00
Lootyhoof d6d1c2dad1 Don't force colors in tabbar and menubar 2018-02-17 16:30:56 +01:00
wolfbeast c9b266dc20 Use windows 10 Accent colors. 2018-02-17 16:28:03 +01:00
Matt A. Tobin 827033c57c Don't generate redundant packaging artifacts 2018-02-17 07:58:10 -05:00
Matt A. Tobin 8723b9da93 Add mach installer and mach mar for Windows Installer and MAR file generation 2018-02-17 07:38:02 -05:00
Matt A. Tobin b6ccccbc56 Put generated installers and mar files in dist root 2018-02-17 07:14:10 -05:00
Matt A. Tobin e14ebc03e3 Use BUILDID for package name for Basilisk and ONLY Basilisk 2018-02-17 07:13:21 -05:00
Matt A. Tobin 5b829937bb Remove stub installer - Part 2: Basilisk 2018-02-17 06:36:04 -05:00
Matt A. Tobin 433b047711 Remove stub installer - Part 1: Toolkit 2018-02-17 05:29:44 -05:00
janekptacijarabaci eddd0de2ae [follow up] Bug 1325922 - Add arrows svg file and style month-year button for date picker 2018-02-14 16:10:55 +01:00
janekptacijarabaci 9920472970 Bug 1341190: Date picker panel and email input validation popup close immediately after opening 2018-02-14 14:47:09 +01:00
janekptacijarabaci 73c6f6b3de Bug 1320225: [DateTimeInput] Integration of input type=date input box with picker (part 2) 2018-02-14 14:45:58 +01:00
janekptacijarabaci 8a15fd8d24 Bug 1286182: Implement the layout for <input type=date> 2018-02-14 14:41:19 +01:00
janekptacijarabaci 34125a031e Bug 1314544: [DateTimeInput] browser keyboard shortcut does not work when focus is on input box 2018-02-14 14:10:13 +01:00
janekptacijarabaci 631b690ac3 Bug 1320225: [DateTimeInput] Integration of input type=date input box with picker (part 1) 2018-02-14 14:03:55 +01:00
janekptacijarabaci c87dbe6922 Bug 1325922: [DateTimePicker] Add arrows svg file and style month-year button for date picker 2018-02-14 13:38:47 +01:00
janekptacijarabaci 260e399a1f Bug 1323109: [DateTimePicker] Date time picker popup does not open near input box 2018-02-14 13:24:40 +01:00
janekptacijarabaci 8fd370c9f3 Bug 1283385: Implement UI for <input type="date"> 2018-02-14 12:32:46 +01:00
janekptacijarabaci 30c683d986 Bug 1317600: [DateTimePicker] Spinner arrow buttons shouldn't depend on find bar resources 2018-02-14 08:26:47 +01:00
wolfbeast 1da0e8a095 Never shrink line heights as a result of minimumFontSize.
See: MoonchildProductions/Pale-Moon#1614.
2018-02-13 19:26:43 +01:00
janekptacijarabaci c06b8691e3 Places - throws an error: 0x80004005 (NS_ERROR_FAILURE) [nsIEditor.transactionManager]
Steps to reproduce:

1) The main menu:
"Tools" - "Options" - "Privacy" - "History":
[x] "Remember my browsing and download history"

2) The main menu:
"History" - "Clear Recent History...":
"Today"/"Everything" - "Browsing & Download History" - "OK"

3) Go to: "https://www.palemoon.org/"

4) The main menu:
"History" - "Show All History"

5) Clicking right mouse button on an item "https://www.palemoon.org" in
"History",
clicking on "Delete This Page".

6) Clicking on "History":

Throws an error in Browser Console:
NS_ERROR_FAILURE: Component returned failure code:
0x80004005 (NS_ERROR_FAILURE) [nsIEditor.transactionManager]
editBookmarkOverlay.js:341
2018-02-13 16:57:41 +01:00
janekptacijarabaci 2c0b407f04 JS - location.hash - no escape single quote 2018-02-12 19:40:38 +01:00
wolfbeast 2b6c1f971b Pre-process extensions.js 2018-02-12 18:07:59 +01:00
wolfbeast a7e1d8dc3c Revert "Fix unofficial branding package bustage."
This reverts commit 5b30f18421.
2018-02-12 17:45:51 +01:00
wolfbeast 3156899f74 Revert "Fix package bustage: build files."
This reverts commit 3adc70dadd.
2018-02-12 17:45:37 +01:00
wolfbeast 33855e2472 Never show plugin deprecation notice.
To-Do: remove this notice.
2018-02-12 16:39:03 +01:00
wolfbeast 598dc50dbb Remove leftover flashOnly checks in the plugin registry. 2018-02-12 16:34:33 +01:00
wolfbeast 26163d8988 Hic sunt dracones. 2018-02-12 15:57:07 +01:00
wolfbeast 1201510514 Use more logical pref names for mouse button 4&5
Also improves comment wording.
2018-02-12 15:56:16 +01:00
wolfbeast 4686be40b2 Be less up-tight about script timeouts.
Especially some chrome scripts need ample time, which is causing issues with background scripts firing when the browser is idle.
2018-02-12 15:55:24 +01:00
wolfbeast ae656528f7 Silence macro redefinition warnings in ICU 2018-02-12 15:54:03 +01:00
wolfbeast 3bc0a5c532 Direct feedback links to the forum (Basilisk) 2018-02-12 15:53:30 +01:00
wolfbeast cf71bfa8aa Update application license override.
This resolves #222.
2018-02-12 15:51:11 +01:00
wolfbeast 4cda63fe3f Remove flash-only plugin pref.
Tag issue #38.
2018-02-12 15:38:00 +01:00
janekptacijarabaci 814bfaddb9 [regression] DevTools - network - Copy as cURL (http versions) 2018-02-12 15:30:02 +01:00
janekptacijarabaci 31c0e9aa68 [regression] about:license - the link to about:buildconfig 2018-02-12 15:29:36 +01:00
janekptacijarabaci 442e2e04ef [regression] Places - proper import bookmarks from HTML containing <HR> separators 2018-02-12 15:29:15 +01:00
janekptacijarabaci 0f99df52d5 Exclude Update stuff from about:support if the updater isn't built. 2018-02-12 15:28:44 +01:00
wolfbeast 3adc70dadd Fix package bustage: build files. 2018-02-12 14:43:50 +01:00
wolfbeast 5b30f18421 Fix unofficial branding package bustage. 2018-02-12 12:58:39 +01:00
wolfbeast e1cb581a99 Add a README 2018-02-12 11:59:50 +01:00
wolfbeast 06a13ffb09 Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2018-02-11 19:16:22 +01:00
Matt A. Tobin 3bcc6548c4 Fix test paths for WebExAM 2018-02-11 10:47:51 -05:00
Matt A. Tobin 84ed7160b1 Fix Basilisk packaging when not using WebExtensions enabled Add-on Manager 2018-02-11 09:41:53 -05:00
Matt A. Tobin d49ca9fc0f Fix moz.build 2018-02-11 09:31:31 -05:00
Matt A. Tobin 97ff781ee8 Add UpdateChannel.jsm 2018-02-11 09:25:10 -05:00
janekptacijarabaci 0fca15e1f3 Style clean up 2018-02-11 14:15:29 +01:00
janekptacijarabaci 5c6320cc46 Bug 1344340 - "An unknown error has occurred (804b000c)" appears in the statusbar when loading some sites 2018-02-11 08:03:04 +01:00
janekptacijarabaci 8a9d0dfdbf Bug 1328955 - When a client tries TLS1.3 with EarlyData and a server falls back to tls1.2,we should reconnect using tls1.3 without EarlyData 2018-02-11 08:01:59 +01:00
janekptacijarabaci 753df14c7c Bug 1350388 - Drag&drop some HTTPS links in the download icon displays wrongly download as failed 2018-02-11 07:59:36 +01:00
janekptacijarabaci 40388d5acf Bug 1351392 - Fix transport status events for http2 and ftp 2018-02-11 07:53:16 +01:00
janekptacijarabaci 651b0dd97f Bug 1344890 - h2 tls 1.3 early data problem with https://echo.filippo.io/foo 2018-02-11 07:51:19 +01:00
janekptacijarabaci bb9e155841 Bug 1322373 - TLS 1.3 early-data for http/2 2018-02-11 07:48:28 +01:00
janekptacijarabaci aaa70dac61 Bug 1345240 - h2 stalls on failed early data hard reload 2018-02-11 07:15:08 +01:00
janekptacijarabaci d394b70aa4 Bug 1343600 - Add TLS handshake Start/Stop events 2018-02-11 07:13:53 +01:00
janekptacijarabaci 37ea3b7b87 Bug 1340164 - Fix socket transport status events 2018-02-11 07:09:55 +01:00
janekptacijarabaci 15e4dcdedd Editable menulist loosing editable attribute gets focus stuck
Bug(s):
https://bugzilla.mozilla.org/show_bug.cgi?id=1142224
(native in moebius)
2018-02-04 23:17:10 +01:00
janekptacijarabaci 80f9b75efa Implement auxclick
Bug(s):
https://bugzilla.mozilla.org/show_bug.cgi?id=1304044
(native in moebius)
2018-02-04 23:15:50 +01:00
janekptacijarabaci 2625cde90f Fix socket transport status events
Bug(s):
https://bugzilla.mozilla.org/show_bug.cgi?id=1340164
(native in moebius)
2018-02-04 23:09:17 +01:00
12404 changed files with 819234 additions and 1721009 deletions

No files matched your search

-1
View File
@@ -1 +0,0 @@
config
-6
View File
@@ -1,6 +0,0 @@
[source.crates-io]
registry = 'https://github.com/rust-lang/crates.io-index'
replace-with = 'vendored-sources'
[source.vendored-sources]
directory = '@top_srcdir@/third_party/rust'
+1 -1
View File
@@ -57,7 +57,7 @@ b2g/locales/en-US/b2g-l10n.js
# browser/ exclusions
browser/app/**
browser/branding/**/firefox-branding.js
browser/branding/**/basilisk-branding.js
browser/base/content/browser-social.js
browser/base/content/nsContextMenu.js
browser/base/content/sanitizeDialog.js
+3
View File
@@ -7,6 +7,9 @@ module.exports = {
],
"rules": {
"mozilla/import-globals": "warn",
// No (!foo in bar) or (!object instanceof Class)
"no-unsafe-negation": "error",
},
"env": {
"es6": true
+5 -2
View File
@@ -3,8 +3,10 @@ codebase which lives in this repository. If you make a contribution
here, you may add your name and, optionally, email address in the
appropriate place.
For a full list of the people who are credited with making a
contribution to Mozilla, see http://www.mozilla.org/credits/ .
For a more comprehensive list of the people who are credited with
making a contribution to this project and its Mozilla roots, see
http://www.palemoon.org/Contributors.shtml
<1010mozilla@Ostermiller.com>
Aaron Boodman <aa@google.com>
@@ -650,6 +652,7 @@ Mark Mentovai <mark@moxienet.com>
Mark Pilgrim <pilgrim@gmail.com>
Mark Smith <mcs@pearlcrescent.com>
Mark Steele <mwsteele@gmail.com>
Mark Straver <moonchild@palemoon.org>
Markus G. Kuhn <mkuhn@acm.org>
Markus Stange <mstange@themasta.com>
Martijn Pieters <mj@digicool.com>
+1 -1
View File
@@ -22,4 +22,4 @@
# changes to stick? As of bug 928195, this shouldn't be necessary! Please
# don't change CLOBBER for WebIDL changes any more.
Clobber for un-folding browsercomps
Clobber for updating ffvpx to 4.0.2
-16
View File
@@ -299,13 +299,6 @@ MAKE_SYM_STORE_ARGS += --install-manifest=$(DEPTH)/_build_manifests/install/dist
SYM_STORE_SOURCE_DIRS := $(topsrcdir)
ifdef MOZ_CRASHREPORTER
include $(topsrcdir)/toolkit/mozapps/installer/package-name.mk
SYMBOL_INDEX_NAME = \
$(MOZ_APP_NAME)-$(MOZ_APP_VERSION)-$(OS_TARGET)-$(BUILDID)-$(CPU_ARCH)-symbols.txt
endif
.PHONY: generatesymbols
generatesymbols:
echo building symbol store
@@ -337,18 +330,9 @@ symbolsarchive: generatesymbols
cd $(DIST)/crashreporter-symbols && \
zip -r5D '../$(PKG_PATH)$(SYMBOL_ARCHIVE_BASENAME).zip' . -i '*.sym' -i '*.txt'
ifdef MOZ_CRASHREPORTER
buildsymbols: symbolsfullarchive symbolsarchive
else
buildsymbols:
endif
uploadsymbols:
ifdef MOZ_CRASHREPORTER
ifdef SOCORRO_SYMBOL_UPLOAD_TOKEN_FILE
$(PYTHON) -u $(topsrcdir)/toolkit/crashreporter/tools/upload_symbols.py '$(DIST)/$(PKG_PATH)$(SYMBOL_FULL_ARCHIVE_BASENAME).zip'
endif
endif
.PHONY: update-packaging
update-packaging:
+35
View File
@@ -0,0 +1,35 @@
# Unified XUL Platform (UXP)
This repository holds the code for a unified application platform for XUL-based
applications. It is a hard fork from the Mozilla code repository (mozilla-central)
with an ESR-52 fork point.
In addition to further development based on the Mozilla upstream code, and
selective cherry-picking of directly-applicable patches, this repository has its
own development and holds the base for a future platform to be used by XUL
applications.
This repository will contain at least one application to demonstrate and make use
of the platform: The Basilisk web browser, a close twin to Mozilla's Firefox.
## Additional documentation
Additional documentation relevant to this source code can be found in the `/docs`
directory. This will contain relevant documentation regarding contributing,
using and distributing this code and its binaries.
If you are interested in the development and building side of things, some
information will be available on the [Pale Moon developer wiki](http://developer.palemoon.org).
### A note about trademarks and branding
Although this repository is licensed under Mozilla Public License v2.0, the
trademarks and brands contained herein remain the property of their respective
owners. For more details, please see the notifications in the respective directories.
### Foundation and maintainership
This repository has been founded and is maintained by Moonchild (M.C. Straver).
If you fork this repository to perform your own work on it, please consider
offering improvement patches upstream to its origin to mutually improve the
platform and build a future for XUL.
@@ -591,7 +591,6 @@ void
NotificationController::WillRefresh(mozilla::TimeStamp aTime)
{
PROFILER_LABEL_FUNC(js::ProfileEntry::Category::OTHER);
Telemetry::AutoTimer<Telemetry::A11Y_UPDATE_TIME> updateTimer;
// If the document accessible that notification collector was created for is
// now shut down, don't process notifications anymore.
+4 -4
View File
@@ -14,22 +14,22 @@ namespace a11y {
namespace statistics {
inline void A11yInitialized()
{ Telemetry::Accumulate(Telemetry::A11Y_INSTANTIATED_FLAG, true); }
{ /* STUB */ }
inline void A11yConsumers(uint32_t aConsumer)
{ Telemetry::Accumulate(Telemetry::A11Y_CONSUMERS, aConsumer); }
{ /* STUB */ }
/**
* Report that ISimpleDOM* has been used.
*/
inline void ISimpleDOMUsed()
{ Telemetry::Accumulate(Telemetry::A11Y_ISIMPLEDOM_USAGE_FLAG, true); }
{ /* STUB */ }
/**
* Report that IAccessibleTable has been used.
*/
inline void IAccessibleTableUsed()
{ Telemetry::Accumulate(Telemetry::A11Y_IATABLE_USAGE_FLAG, true); }
{ /* STUB */ }
} // namespace statistics
} // namespace a11y
@@ -53,10 +53,6 @@
#include "Logging.h"
#endif
#ifdef MOZ_CRASHREPORTER
#include "nsExceptionHandler.h"
#endif
#include "nsImageFrame.h"
#include "nsIObserverService.h"
#include "nsLayoutUtils.h"
@@ -1283,12 +1279,6 @@ nsAccessibilityService::Init()
NS_ADDREF(gApplicationAccessible); // will release in Shutdown()
gApplicationAccessible->Init();
#ifdef MOZ_CRASHREPORTER
CrashReporter::
AnnotateCrashReport(NS_LITERAL_CSTRING("Accessibility"),
NS_LITERAL_CSTRING("Active"));
#endif
#ifdef XP_WIN
sPendingPlugins = new nsTArray<nsCOMPtr<nsIContent> >;
sPluginTimers = new nsTArray<nsCOMPtr<nsITimer> >;
-4
View File
@@ -336,12 +336,8 @@ void MaybeShutdownAccService(uint32_t aFormerConsumer);
inline bool
IPCAccessibilityActive()
{
#ifdef MOZ_B2G
return false;
#else
return XRE_IsContentProcess() &&
mozilla::Preferences::GetBool("accessibility.ipc_architecture.enabled", true);
#endif
}
/**
-25
View File
@@ -492,32 +492,7 @@ bool
DocAccessibleParent::RecvGetWindowedPluginIAccessible(
const WindowsHandle& aHwnd, IAccessibleHolder* aPluginCOMProxy)
{
#if defined(MOZ_CONTENT_SANDBOX)
// We don't actually want the accessible object for aHwnd, but rather the
// one that belongs to its child (see HTMLWin32ObjectAccessible).
HWND childWnd = ::GetWindow(reinterpret_cast<HWND>(aHwnd), GW_CHILD);
if (!childWnd) {
// We're seeing this in the wild - the plugin is windowed but we no longer
// have a window.
return true;
}
IAccessible* rawAccPlugin = nullptr;
HRESULT hr = ::AccessibleObjectFromWindow(childWnd, OBJID_WINDOW,
IID_IAccessible,
(void**)&rawAccPlugin);
if (FAILED(hr)) {
// This might happen if the plugin doesn't handle WM_GETOBJECT properly.
// We should not consider that a failure.
return true;
}
aPluginCOMProxy->Set(IAccessibleHolder::COMPtrType(rawAccPlugin));
return true;
#else
return false;
#endif
}
#endif // defined(XP_WIN)
-11
View File
@@ -46,17 +46,6 @@ var PointerRelay = { // jshint ignore:line
'touchend' : true };
break;
case 'gonk':
this._eventsOfInterest = {
'touchstart' : true,
'touchmove' : true,
'touchend' : true,
'mousedown' : false,
'mousemove' : false,
'mouseup': false,
'click': false };
break;
default:
// Desktop.
this._eventsOfInterest = {
@@ -124,14 +124,6 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=753984
"Peaches", {"string": "linkAbbr"}, "Plums", {"string": "linkAbbr"},
{"string": "listAbbr"},
{"string": "cellInfoAbbr", "args": [ 1, 1]}]]
}, {
accOrElmOrID: "date",
expectedUtterance: [[{"string": "textInputType_date"},
{"string": "entry"}, "2011-09-29"], ["2011-09-29",
{"string": "textInputType_date"}, {"string": "entry"}]],
expectedBraille: [[{"string": "textInputType_date"},
{"string": "entryAbbr"}, "2011-09-29"], ["2011-09-29",
{"string": "textInputType_date"}, {"string": "entryAbbr"}]]
}, {
accOrElmOrID: "email",
expectedUtterance: [[{"string": "textInputType_email"},
@@ -619,7 +611,6 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=753984
<label for="password">Secret Password</label><input id="password" type="password"></input>
<label for="radio_unselected">any old radio button</label><input id="radio_unselected" type="radio"></input>
<label for="radio_selected">a unique radio button</label><input id="radio_selected" type="radio" checked></input>
<input id="date" type="date" value="2011-09-29" />
<input id="email" type="email" value="test@example.com" />
<input id="search" type="search" value="This is a search" />
<input id="tel" type="tel" value="555-5555" />
-88
View File
@@ -63,8 +63,6 @@ ia2Accessible::QueryInterface(REFIID iid, void** ppv)
STDMETHODIMP
ia2Accessible::get_nRelations(long* aNRelations)
{
A11Y_TRYBLOCK_BEGIN
if (!aNRelations)
return E_INVALIDARG;
*aNRelations = 0;
@@ -84,16 +82,12 @@ ia2Accessible::get_nRelations(long* aNRelations)
(*aNRelations)++;
}
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2Accessible::get_relation(long aRelationIndex,
IAccessibleRelation** aRelation)
{
A11Y_TRYBLOCK_BEGIN
if (!aRelation || aRelationIndex < 0)
return E_INVALIDARG;
*aRelation = nullptr;
@@ -124,8 +118,6 @@ ia2Accessible::get_relation(long aRelationIndex,
}
return E_INVALIDARG;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
@@ -133,8 +125,6 @@ ia2Accessible::get_relations(long aMaxRelations,
IAccessibleRelation** aRelation,
long *aNRelations)
{
A11Y_TRYBLOCK_BEGIN
if (!aRelation || !aNRelations || aMaxRelations <= 0)
return E_INVALIDARG;
*aNRelations = 0;
@@ -160,15 +150,11 @@ ia2Accessible::get_relations(long aMaxRelations,
}
}
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2Accessible::role(long* aRole)
{
A11Y_TRYBLOCK_BEGIN
if (!aRole)
return E_INVALIDARG;
*aRole = 0;
@@ -204,15 +190,11 @@ ia2Accessible::role(long* aRole)
}
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2Accessible::scrollTo(enum IA2ScrollType aScrollType)
{
A11Y_TRYBLOCK_BEGIN
AccessibleWrap* acc = static_cast<AccessibleWrap*>(this);
if (acc->IsDefunct())
return CO_E_OBJNOTCONNECTED;
@@ -222,16 +204,12 @@ ia2Accessible::scrollTo(enum IA2ScrollType aScrollType)
aScrollType);
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2Accessible::scrollToPoint(enum IA2CoordinateType aCoordType,
long aX, long aY)
{
A11Y_TRYBLOCK_BEGIN
AccessibleWrap* acc = static_cast<AccessibleWrap*>(this);
if (acc->IsDefunct())
return CO_E_OBJNOTCONNECTED;
@@ -244,8 +222,6 @@ ia2Accessible::scrollToPoint(enum IA2CoordinateType aCoordType,
acc->ScrollToPoint(geckoCoordType, aX, aY);
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
@@ -253,8 +229,6 @@ ia2Accessible::get_groupPosition(long* aGroupLevel,
long* aSimilarItemsInGroup,
long* aPositionInGroup)
{
A11Y_TRYBLOCK_BEGIN
if (!aGroupLevel || !aSimilarItemsInGroup || !aPositionInGroup)
return E_INVALIDARG;
@@ -279,15 +253,11 @@ ia2Accessible::get_groupPosition(long* aGroupLevel,
*aPositionInGroup = groupPos.posInSet;
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2Accessible::get_states(AccessibleStates* aStates)
{
A11Y_TRYBLOCK_BEGIN
if (!aStates)
return E_INVALIDARG;
*aStates = 0;
@@ -347,50 +317,36 @@ ia2Accessible::get_states(AccessibleStates* aStates)
*aStates |= IA2_STATE_PINNED;
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2Accessible::get_extendedRole(BSTR* aExtendedRole)
{
A11Y_TRYBLOCK_BEGIN
if (!aExtendedRole)
return E_INVALIDARG;
*aExtendedRole = nullptr;
return E_NOTIMPL;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2Accessible::get_localizedExtendedRole(BSTR* aLocalizedExtendedRole)
{
A11Y_TRYBLOCK_BEGIN
if (!aLocalizedExtendedRole)
return E_INVALIDARG;
*aLocalizedExtendedRole = nullptr;
return E_NOTIMPL;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2Accessible::get_nExtendedStates(long* aNExtendedStates)
{
A11Y_TRYBLOCK_BEGIN
if (!aNExtendedStates)
return E_INVALIDARG;
*aNExtendedStates = 0;
return E_NOTIMPL;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
@@ -398,16 +354,12 @@ ia2Accessible::get_extendedStates(long aMaxExtendedStates,
BSTR** aExtendedStates,
long* aNExtendedStates)
{
A11Y_TRYBLOCK_BEGIN
if (!aExtendedStates || !aNExtendedStates)
return E_INVALIDARG;
*aExtendedStates = nullptr;
*aNExtendedStates = 0;
return E_NOTIMPL;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
@@ -415,38 +367,28 @@ ia2Accessible::get_localizedExtendedStates(long aMaxLocalizedExtendedStates,
BSTR** aLocalizedExtendedStates,
long* aNLocalizedExtendedStates)
{
A11Y_TRYBLOCK_BEGIN
if (!aLocalizedExtendedStates || !aNLocalizedExtendedStates)
return E_INVALIDARG;
*aLocalizedExtendedStates = nullptr;
*aNLocalizedExtendedStates = 0;
return E_NOTIMPL;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2Accessible::get_uniqueID(long* aUniqueID)
{
A11Y_TRYBLOCK_BEGIN
if (!aUniqueID)
return E_INVALIDARG;
AccessibleWrap* acc = static_cast<AccessibleWrap*>(this);
*aUniqueID = AccessibleWrap::GetChildIDFor(acc);
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2Accessible::get_windowHandle(HWND* aWindowHandle)
{
A11Y_TRYBLOCK_BEGIN
if (!aWindowHandle)
return E_INVALIDARG;
*aWindowHandle = 0;
@@ -457,15 +399,11 @@ ia2Accessible::get_windowHandle(HWND* aWindowHandle)
*aWindowHandle = AccessibleWrap::GetHWNDFor(acc);
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2Accessible::get_indexInParent(long* aIndexInParent)
{
A11Y_TRYBLOCK_BEGIN
if (!aIndexInParent)
return E_INVALIDARG;
*aIndexInParent = -1;
@@ -481,15 +419,11 @@ ia2Accessible::get_indexInParent(long* aIndexInParent)
return S_FALSE;
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2Accessible::get_locale(IA2Locale* aLocale)
{
A11Y_TRYBLOCK_BEGIN
if (!aLocale)
return E_INVALIDARG;
@@ -532,15 +466,11 @@ ia2Accessible::get_locale(IA2Locale* aLocale)
// country abbreviations or if there are more than one subcode.
aLocale->variant = ::SysAllocString(lang.get());
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2Accessible::get_attributes(BSTR* aAttributes)
{
A11Y_TRYBLOCK_BEGIN
if (!aAttributes)
return E_INVALIDARG;
*aAttributes = nullptr;
@@ -558,8 +488,6 @@ ia2Accessible::get_attributes(BSTR* aAttributes)
MOZ_ASSERT(!acc->IsProxy());
return E_UNEXPECTED;
A11Y_TRYBLOCK_END
}
////////////////////////////////////////////////////////////////////////////////
@@ -568,22 +496,16 @@ ia2Accessible::get_attributes(BSTR* aAttributes)
STDMETHODIMP
ia2Accessible::get_attribute(BSTR name, VARIANT* aAttribute)
{
A11Y_TRYBLOCK_BEGIN
if (!aAttribute)
return E_INVALIDARG;
return E_NOTIMPL;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2Accessible::get_accessibleWithCaret(IUnknown** aAccessible,
long* aCaretOffset)
{
A11Y_TRYBLOCK_BEGIN
if (!aAccessible || !aCaretOffset)
return E_INVALIDARG;
@@ -611,8 +533,6 @@ ia2Accessible::get_accessibleWithCaret(IUnknown** aAccessible,
(*aAccessible)->AddRef();
*aCaretOffset = caretOffset;
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
@@ -621,8 +541,6 @@ ia2Accessible::get_relationTargetsOfType(BSTR aType,
IUnknown*** aTargets,
long* aNTargets)
{
A11Y_TRYBLOCK_BEGIN
if (!aTargets || !aNTargets || aMaxTargets < 0)
return E_INVALIDARG;
*aNTargets = 0;
@@ -663,16 +581,12 @@ ia2Accessible::get_relationTargetsOfType(BSTR aType,
}
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2Accessible::get_selectionRanges(IA2Range** aRanges,
long *aNRanges)
{
A11Y_TRYBLOCK_BEGIN
if (!aRanges || !aNRanges)
return E_INVALIDARG;
@@ -714,8 +628,6 @@ ia2Accessible::get_selectionRanges(IA2Range** aRanges,
}
return S_OK;
A11Y_TRYBLOCK_END
}
@@ -39,8 +39,6 @@ ia2AccessibleAction::QueryInterface(REFIID iid, void** ppv)
STDMETHODIMP
ia2AccessibleAction::nActions(long* aActionCount)
{
A11Y_TRYBLOCK_BEGIN
if (!aActionCount)
return E_INVALIDARG;
@@ -52,30 +50,22 @@ ia2AccessibleAction::nActions(long* aActionCount)
*aActionCount = acc->ActionCount();
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2AccessibleAction::doAction(long aActionIndex)
{
A11Y_TRYBLOCK_BEGIN
AccessibleWrap* acc = static_cast<AccessibleWrap*>(this);
if (acc->IsDefunct())
return CO_E_OBJNOTCONNECTED;
uint8_t index = static_cast<uint8_t>(aActionIndex);
return acc->DoAction(index) ? S_OK : E_INVALIDARG;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2AccessibleAction::get_description(long aActionIndex, BSTR *aDescription)
{
A11Y_TRYBLOCK_BEGIN
if (!aDescription)
return E_INVALIDARG;
*aDescription = nullptr;
@@ -93,8 +83,6 @@ ia2AccessibleAction::get_description(long aActionIndex, BSTR *aDescription)
*aDescription = ::SysAllocStringLen(description.get(),
description.Length());
return *aDescription ? S_OK : E_OUTOFMEMORY;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
@@ -102,8 +90,6 @@ ia2AccessibleAction::get_keyBinding(long aActionIndex, long aNumMaxBinding,
BSTR **aKeyBinding,
long *aNumBinding)
{
A11Y_TRYBLOCK_BEGIN
if (!aKeyBinding)
return E_INVALIDARG;
*aKeyBinding = nullptr;
@@ -143,15 +129,11 @@ ia2AccessibleAction::get_keyBinding(long aActionIndex, long aNumMaxBinding,
*aNumBinding = 1;
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2AccessibleAction::get_name(long aActionIndex, BSTR *aName)
{
A11Y_TRYBLOCK_BEGIN
if (!aName)
return E_INVALIDARG;
@@ -169,20 +151,14 @@ ia2AccessibleAction::get_name(long aActionIndex, BSTR *aName)
*aName = ::SysAllocStringLen(name.get(), name.Length());
return *aName ? S_OK : E_OUTOFMEMORY;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2AccessibleAction::get_localizedName(long aActionIndex, BSTR *aLocalizedName)
{
A11Y_TRYBLOCK_BEGIN
if (!aLocalizedName)
return E_INVALIDARG;
*aLocalizedName = nullptr;
return E_NOTIMPL;
A11Y_TRYBLOCK_END
}
@@ -41,8 +41,6 @@ ia2AccessibleComponent::QueryInterface(REFIID iid, void** ppv)
STDMETHODIMP
ia2AccessibleComponent::get_locationInParent(long* aX, long* aY)
{
A11Y_TRYBLOCK_BEGIN
if (!aX || !aY)
return E_INVALIDARG;
@@ -75,15 +73,11 @@ ia2AccessibleComponent::get_locationInParent(long* aX, long* aY)
*aX = rect.x - parentRect.x;
*aY = rect.y - parentRect.y;
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2AccessibleComponent::get_foreground(IA2Color* aForeground)
{
A11Y_TRYBLOCK_BEGIN
if (!aForeground)
return E_INVALIDARG;
@@ -98,15 +92,11 @@ ia2AccessibleComponent::get_foreground(IA2Color* aForeground)
*aForeground = frame->StyleColor()->mColor;
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2AccessibleComponent::get_background(IA2Color* aBackground)
{
A11Y_TRYBLOCK_BEGIN
if (!aBackground)
return E_INVALIDARG;
@@ -121,7 +111,5 @@ ia2AccessibleComponent::get_background(IA2Color* aBackground)
*aBackground = frame->StyleBackground()->mBackgroundColor;
return S_OK;
A11Y_TRYBLOCK_END
}
@@ -22,8 +22,6 @@ using namespace mozilla::a11y;
STDMETHODIMP
ia2AccessibleEditableText::copyText(long aStartOffset, long aEndOffset)
{
A11Y_TRYBLOCK_BEGIN
MOZ_ASSERT(!HyperTextProxyFor(this));
HyperTextAccessible* textAcc = static_cast<HyperTextAccessibleWrap*>(this);
@@ -35,15 +33,11 @@ ia2AccessibleEditableText::copyText(long aStartOffset, long aEndOffset)
textAcc->CopyText(aStartOffset, aEndOffset);
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2AccessibleEditableText::deleteText(long aStartOffset, long aEndOffset)
{
A11Y_TRYBLOCK_BEGIN
MOZ_ASSERT(!HyperTextProxyFor(this));
HyperTextAccessible* textAcc = static_cast<HyperTextAccessibleWrap*>(this);
@@ -55,15 +49,11 @@ ia2AccessibleEditableText::deleteText(long aStartOffset, long aEndOffset)
textAcc->DeleteText(aStartOffset, aEndOffset);
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2AccessibleEditableText::insertText(long aOffset, BSTR *aText)
{
A11Y_TRYBLOCK_BEGIN
uint32_t length = ::SysStringLen(*aText);
nsAutoString text(*aText, length);
MOZ_ASSERT(!HyperTextProxyFor(this));
@@ -77,15 +67,11 @@ ia2AccessibleEditableText::insertText(long aOffset, BSTR *aText)
textAcc->InsertText(text, aOffset);
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2AccessibleEditableText::cutText(long aStartOffset, long aEndOffset)
{
A11Y_TRYBLOCK_BEGIN
MOZ_ASSERT(!HyperTextProxyFor(this));
HyperTextAccessible* textAcc = static_cast<HyperTextAccessibleWrap*>(this);
@@ -97,15 +83,11 @@ ia2AccessibleEditableText::cutText(long aStartOffset, long aEndOffset)
textAcc->CutText(aStartOffset, aEndOffset);
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2AccessibleEditableText::pasteText(long aOffset)
{
A11Y_TRYBLOCK_BEGIN
MOZ_ASSERT(!HyperTextProxyFor(this));
HyperTextAccessible* textAcc = static_cast<HyperTextAccessibleWrap*>(this);
@@ -117,16 +99,12 @@ ia2AccessibleEditableText::pasteText(long aOffset)
textAcc->PasteText(aOffset);
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2AccessibleEditableText::replaceText(long aStartOffset, long aEndOffset,
BSTR *aText)
{
A11Y_TRYBLOCK_BEGIN
HyperTextAccessible* textAcc = static_cast<HyperTextAccessibleWrap*>(this);
if (textAcc->IsDefunct())
return CO_E_OBJNOTCONNECTED;
@@ -141,8 +119,6 @@ ia2AccessibleEditableText::replaceText(long aStartOffset, long aEndOffset,
textAcc->InsertText(text, aStartOffset);
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
@@ -45,8 +45,6 @@ ia2AccessibleHyperlink::QueryInterface(REFIID iid, void** ppv)
STDMETHODIMP
ia2AccessibleHyperlink::get_anchor(long aIndex, VARIANT* aAnchor)
{
A11Y_TRYBLOCK_BEGIN
if (!aAnchor)
return E_INVALIDARG;
@@ -77,15 +75,11 @@ ia2AccessibleHyperlink::get_anchor(long aIndex, VARIANT* aAnchor)
aAnchor->punkVal = static_cast<IUnknown*>(instancePtr);
aAnchor->vt = VT_UNKNOWN;
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2AccessibleHyperlink::get_anchorTarget(long aIndex, VARIANT* aAnchorTarget)
{
A11Y_TRYBLOCK_BEGIN
if (!aAnchorTarget) {
return E_INVALIDARG;
}
@@ -124,15 +118,11 @@ ia2AccessibleHyperlink::get_anchorTarget(long aIndex, VARIANT* aAnchorTarget)
aAnchorTarget->bstrVal = ::SysAllocStringLen(stringURI.get(),
stringURI.Length());
return aAnchorTarget->bstrVal ? S_OK : E_OUTOFMEMORY;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2AccessibleHyperlink::get_startIndex(long* aIndex)
{
A11Y_TRYBLOCK_BEGIN
if (!aIndex)
return E_INVALIDARG;
@@ -149,15 +139,11 @@ ia2AccessibleHyperlink::get_startIndex(long* aIndex)
*aIndex = thisObj->StartOffset();
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2AccessibleHyperlink::get_endIndex(long* aIndex)
{
A11Y_TRYBLOCK_BEGIN
if (!aIndex)
return E_INVALIDARG;
@@ -174,15 +160,11 @@ ia2AccessibleHyperlink::get_endIndex(long* aIndex)
*aIndex = thisObj->EndOffset();
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2AccessibleHyperlink::get_valid(boolean* aValid)
{
A11Y_TRYBLOCK_BEGIN
if (!aValid)
return E_INVALIDARG;
@@ -199,7 +181,5 @@ ia2AccessibleHyperlink::get_valid(boolean* aValid)
*aValid = thisObj->IsLinkValid();
return S_OK;
A11Y_TRYBLOCK_END
}
@@ -19,8 +19,6 @@ using namespace mozilla::a11y;
STDMETHODIMP
ia2AccessibleHypertext::get_nHyperlinks(long* aHyperlinkCount)
{
A11Y_TRYBLOCK_BEGIN
if (!aHyperlinkCount)
return E_INVALIDARG;
@@ -34,16 +32,12 @@ ia2AccessibleHypertext::get_nHyperlinks(long* aHyperlinkCount)
*aHyperlinkCount = hyperText->LinkCount();
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2AccessibleHypertext::get_hyperlink(long aLinkIndex,
IAccessibleHyperlink** aHyperlink)
{
A11Y_TRYBLOCK_BEGIN
if (!aHyperlink)
return E_INVALIDARG;
@@ -65,15 +59,11 @@ ia2AccessibleHypertext::get_hyperlink(long aLinkIndex,
static_cast<IAccessibleHyperlink*>(hyperLink);
(*aHyperlink)->AddRef();
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2AccessibleHypertext::get_hyperlinkIndex(long aCharIndex, long* aHyperlinkIndex)
{
A11Y_TRYBLOCK_BEGIN
if (!aHyperlinkIndex)
return E_INVALIDARG;
@@ -87,7 +77,5 @@ ia2AccessibleHypertext::get_hyperlinkIndex(long aCharIndex, long* aHyperlinkInde
*aHyperlinkIndex = hyperAcc->LinkIndexAtOffset(aCharIndex);
return S_OK;
A11Y_TRYBLOCK_END
}
@@ -43,8 +43,6 @@ ia2AccessibleImage::QueryInterface(REFIID iid, void** ppv)
STDMETHODIMP
ia2AccessibleImage::get_description(BSTR* aDescription)
{
A11Y_TRYBLOCK_BEGIN
if (!aDescription)
return E_INVALIDARG;
@@ -61,8 +59,6 @@ ia2AccessibleImage::get_description(BSTR* aDescription)
*aDescription = ::SysAllocStringLen(description.get(), description.Length());
return *aDescription ? S_OK : E_OUTOFMEMORY;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
@@ -70,8 +66,6 @@ ia2AccessibleImage::get_imagePosition(enum IA2CoordinateType aCoordType,
long* aX,
long* aY)
{
A11Y_TRYBLOCK_BEGIN
if (!aX || !aY)
return E_INVALIDARG;
@@ -90,15 +84,11 @@ ia2AccessibleImage::get_imagePosition(enum IA2CoordinateType aCoordType,
*aX = pos.x;
*aY = pos.y;
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2AccessibleImage::get_imageSize(long* aHeight, long* aWidth)
{
A11Y_TRYBLOCK_BEGIN
if (!aHeight || !aWidth)
return E_INVALIDARG;
@@ -113,7 +103,5 @@ ia2AccessibleImage::get_imageSize(long* aHeight, long* aWidth)
*aHeight = size.width;
*aWidth = size.height;
return S_OK;
A11Y_TRYBLOCK_END
}
@@ -34,8 +34,6 @@ IMPL_IUNKNOWN_QUERY_TAIL
STDMETHODIMP
ia2AccessibleRelation::get_relationType(BSTR* aRelationType)
{
A11Y_TRYBLOCK_BEGIN
if (!aRelationType)
return E_INVALIDARG;
@@ -51,43 +49,31 @@ ia2AccessibleRelation::get_relationType(BSTR* aRelationType)
}
return *aRelationType ? S_OK : E_OUTOFMEMORY;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2AccessibleRelation::get_localizedRelationType(BSTR *aLocalizedRelationType)
{
A11Y_TRYBLOCK_BEGIN
if (!aLocalizedRelationType)
return E_INVALIDARG;
*aLocalizedRelationType = nullptr;
return E_NOTIMPL;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2AccessibleRelation::get_nTargets(long *aNTargets)
{
A11Y_TRYBLOCK_BEGIN
if (!aNTargets)
return E_INVALIDARG;
*aNTargets = mTargets.Length();
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2AccessibleRelation::get_target(long aTargetIndex, IUnknown **aTarget)
{
A11Y_TRYBLOCK_BEGIN
if (aTargetIndex < 0 || (uint32_t)aTargetIndex >= mTargets.Length() || !aTarget)
return E_INVALIDARG;
@@ -97,16 +83,12 @@ ia2AccessibleRelation::get_target(long aTargetIndex, IUnknown **aTarget)
(*aTarget)->AddRef();
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2AccessibleRelation::get_targets(long aMaxTargets, IUnknown **aTargets,
long *aNTargets)
{
A11Y_TRYBLOCK_BEGIN
if (!aNTargets || !aTargets)
return E_INVALIDARG;
@@ -120,6 +102,4 @@ ia2AccessibleRelation::get_targets(long aMaxTargets, IUnknown **aTargets,
*aNTargets = maxTargets;
return S_OK;
A11Y_TRYBLOCK_END
}
@@ -60,8 +60,6 @@ ia2AccessibleTable::get_accessibleAt(long aRowIdx, long aColIdx,
STDMETHODIMP
ia2AccessibleTable::get_caption(IUnknown** aAccessible)
{
A11Y_TRYBLOCK_BEGIN
if (!aAccessible)
return E_INVALIDARG;
@@ -75,16 +73,12 @@ ia2AccessibleTable::get_caption(IUnknown** aAccessible)
(*aAccessible = static_cast<IAccessible*>(caption))->AddRef();
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2AccessibleTable::get_childIndex(long aRowIdx, long aColIdx,
long* aChildIdx)
{
A11Y_TRYBLOCK_BEGIN
if (!aChildIdx)
return E_INVALIDARG;
@@ -99,15 +93,11 @@ ia2AccessibleTable::get_childIndex(long aRowIdx, long aColIdx,
*aChildIdx = mTable->CellIndexAt(aRowIdx, aColIdx);
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2AccessibleTable::get_columnDescription(long aColIdx, BSTR* aDescription)
{
A11Y_TRYBLOCK_BEGIN
if (!aDescription)
return E_INVALIDARG;
@@ -125,16 +115,12 @@ ia2AccessibleTable::get_columnDescription(long aColIdx, BSTR* aDescription)
*aDescription = ::SysAllocStringLen(descr.get(), descr.Length());
return *aDescription ? S_OK : E_OUTOFMEMORY;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2AccessibleTable::get_columnExtentAt(long aRowIdx, long aColIdx,
long* aSpan)
{
A11Y_TRYBLOCK_BEGIN
if (!aSpan)
return E_INVALIDARG;
@@ -149,31 +135,23 @@ ia2AccessibleTable::get_columnExtentAt(long aRowIdx, long aColIdx,
*aSpan = mTable->ColExtentAt(aRowIdx, aColIdx);
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2AccessibleTable::get_columnHeader(IAccessibleTable** aAccessibleTable,
long* aStartingRowIndex)
{
A11Y_TRYBLOCK_BEGIN
if (!aAccessibleTable || !aStartingRowIndex)
return E_INVALIDARG;
*aAccessibleTable = nullptr;
*aStartingRowIndex = -1;
return E_NOTIMPL;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2AccessibleTable::get_columnIndex(long aCellIdx, long* aColIdx)
{
A11Y_TRYBLOCK_BEGIN
if (!aColIdx)
return E_INVALIDARG;
@@ -187,15 +165,11 @@ ia2AccessibleTable::get_columnIndex(long aCellIdx, long* aColIdx)
*aColIdx = mTable->ColIndexAt(aCellIdx);
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2AccessibleTable::get_nColumns(long* aColCount)
{
A11Y_TRYBLOCK_BEGIN
if (!aColCount)
return E_INVALIDARG;
@@ -205,15 +179,11 @@ ia2AccessibleTable::get_nColumns(long* aColCount)
*aColCount = mTable->ColCount();
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2AccessibleTable::get_nRows(long* aRowCount)
{
A11Y_TRYBLOCK_BEGIN
if (!aRowCount)
return E_INVALIDARG;
@@ -223,8 +193,6 @@ ia2AccessibleTable::get_nRows(long* aRowCount)
*aRowCount = mTable->RowCount();
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
@@ -236,8 +204,6 @@ ia2AccessibleTable::get_nSelectedChildren(long* aChildCount)
STDMETHODIMP
ia2AccessibleTable::get_nSelectedColumns(long* aColCount)
{
A11Y_TRYBLOCK_BEGIN
if (!aColCount)
return E_INVALIDARG;
@@ -247,15 +213,11 @@ ia2AccessibleTable::get_nSelectedColumns(long* aColCount)
*aColCount = mTable->SelectedColCount();
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2AccessibleTable::get_nSelectedRows(long* aRowCount)
{
A11Y_TRYBLOCK_BEGIN
if (!aRowCount)
return E_INVALIDARG;
@@ -266,15 +228,11 @@ ia2AccessibleTable::get_nSelectedRows(long* aRowCount)
*aRowCount = mTable->SelectedRowCount();
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2AccessibleTable::get_rowDescription(long aRowIdx, BSTR* aDescription)
{
A11Y_TRYBLOCK_BEGIN
if (!aDescription)
return E_INVALIDARG;
@@ -292,15 +250,11 @@ ia2AccessibleTable::get_rowDescription(long aRowIdx, BSTR* aDescription)
*aDescription = ::SysAllocStringLen(descr.get(), descr.Length());
return *aDescription ? S_OK : E_OUTOFMEMORY;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2AccessibleTable::get_rowExtentAt(long aRowIdx, long aColIdx, long* aSpan)
{
A11Y_TRYBLOCK_BEGIN
if (!aSpan)
return E_INVALIDARG;
@@ -315,31 +269,23 @@ ia2AccessibleTable::get_rowExtentAt(long aRowIdx, long aColIdx, long* aSpan)
*aSpan = mTable->RowExtentAt(aRowIdx, aColIdx);
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2AccessibleTable::get_rowHeader(IAccessibleTable** aAccessibleTable,
long* aStartingColumnIndex)
{
A11Y_TRYBLOCK_BEGIN
if (!aAccessibleTable || !aStartingColumnIndex)
return E_INVALIDARG;
*aAccessibleTable = nullptr;
*aStartingColumnIndex = -1;
return E_NOTIMPL;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2AccessibleTable::get_rowIndex(long aCellIdx, long* aRowIdx)
{
A11Y_TRYBLOCK_BEGIN
if (!aRowIdx)
return E_INVALIDARG;
@@ -353,16 +299,12 @@ ia2AccessibleTable::get_rowIndex(long aCellIdx, long* aRowIdx)
*aRowIdx = mTable->RowIndexAt(aCellIdx);
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2AccessibleTable::get_selectedChildren(long aMaxChildren, long** aChildren,
long* aNChildren)
{
A11Y_TRYBLOCK_BEGIN
if (!aChildren || !aNChildren)
return E_INVALIDARG;
@@ -384,36 +326,24 @@ ia2AccessibleTable::get_selectedChildren(long aMaxChildren, long** aChildren,
(*aChildren)[i] = cellIndices[i];
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2AccessibleTable::get_selectedColumns(long aMaxColumns, long** aColumns,
long* aNColumns)
{
A11Y_TRYBLOCK_BEGIN
return get_selectedColumns(aColumns, aNColumns);
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2AccessibleTable::get_selectedRows(long aMaxRows, long** aRows, long* aNRows)
{
A11Y_TRYBLOCK_BEGIN
return get_selectedRows(aRows, aNRows);
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2AccessibleTable::get_summary(IUnknown** aAccessible)
{
A11Y_TRYBLOCK_BEGIN
if (!aAccessible)
return E_INVALIDARG;
@@ -424,15 +354,11 @@ ia2AccessibleTable::get_summary(IUnknown** aAccessible)
*aAccessible = nullptr;
return S_FALSE;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2AccessibleTable::get_isColumnSelected(long aColIdx, boolean* aIsSelected)
{
A11Y_TRYBLOCK_BEGIN
if (!aIsSelected)
return E_INVALIDARG;
@@ -445,15 +371,11 @@ ia2AccessibleTable::get_isColumnSelected(long aColIdx, boolean* aIsSelected)
*aIsSelected = mTable->IsColSelected(aColIdx);
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2AccessibleTable::get_isRowSelected(long aRowIdx, boolean* aIsSelected)
{
A11Y_TRYBLOCK_BEGIN
if (!aIsSelected)
return E_INVALIDARG;
@@ -466,16 +388,12 @@ ia2AccessibleTable::get_isRowSelected(long aRowIdx, boolean* aIsSelected)
*aIsSelected = mTable->IsRowSelected(aRowIdx);
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2AccessibleTable::get_isSelected(long aRowIdx, long aColIdx,
boolean* aIsSelected)
{
A11Y_TRYBLOCK_BEGIN
if (!aIsSelected)
return E_INVALIDARG;
@@ -490,15 +408,11 @@ ia2AccessibleTable::get_isSelected(long aRowIdx, long aColIdx,
*aIsSelected = mTable->IsCellSelected(aRowIdx, aColIdx);
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2AccessibleTable::selectRow(long aRowIdx)
{
A11Y_TRYBLOCK_BEGIN
if (!mTable)
return CO_E_OBJNOTCONNECTED;
@@ -507,15 +421,11 @@ ia2AccessibleTable::selectRow(long aRowIdx)
mTable->SelectRow(aRowIdx);
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2AccessibleTable::selectColumn(long aColIdx)
{
A11Y_TRYBLOCK_BEGIN
if (!mTable)
return CO_E_OBJNOTCONNECTED;
@@ -524,15 +434,11 @@ ia2AccessibleTable::selectColumn(long aColIdx)
mTable->SelectCol(aColIdx);
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2AccessibleTable::unselectRow(long aRowIdx)
{
A11Y_TRYBLOCK_BEGIN
if (!mTable)
return CO_E_OBJNOTCONNECTED;
@@ -541,15 +447,11 @@ ia2AccessibleTable::unselectRow(long aRowIdx)
mTable->UnselectRow(aRowIdx);
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2AccessibleTable::unselectColumn(long aColIdx)
{
A11Y_TRYBLOCK_BEGIN
if (!mTable)
return CO_E_OBJNOTCONNECTED;
@@ -558,8 +460,6 @@ ia2AccessibleTable::unselectColumn(long aColIdx)
mTable->UnselectCol(aColIdx);
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
@@ -569,8 +469,6 @@ ia2AccessibleTable::get_rowColumnExtentsAtIndex(long aCellIdx, long* aRowIdx,
long* aColExtents,
boolean* aIsSelected)
{
A11Y_TRYBLOCK_BEGIN
if (!aRowIdx || !aColIdx || !aRowExtents || !aColExtents || !aIsSelected)
return E_INVALIDARG;
@@ -595,8 +493,6 @@ ia2AccessibleTable::get_rowColumnExtentsAtIndex(long aCellIdx, long* aRowIdx,
*aIsSelected = mTable->IsCellSelected(rowIdx, colIdx);
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
@@ -611,8 +507,6 @@ ia2AccessibleTable::get_modelChange(IA2TableModelChange* aModelChange)
STDMETHODIMP
ia2AccessibleTable::get_cellAt(long aRowIdx, long aColIdx, IUnknown** aCell)
{
A11Y_TRYBLOCK_BEGIN
if (!aCell)
return E_INVALIDARG;
@@ -628,15 +522,11 @@ ia2AccessibleTable::get_cellAt(long aRowIdx, long aColIdx, IUnknown** aCell)
(*aCell = static_cast<IAccessible*>(cell))->AddRef();
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2AccessibleTable::get_nSelectedCells(long* aCellCount)
{
A11Y_TRYBLOCK_BEGIN
if (!aCellCount)
return E_INVALIDARG;
@@ -646,15 +536,11 @@ ia2AccessibleTable::get_nSelectedCells(long* aCellCount)
*aCellCount = mTable->SelectedCellCount();
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2AccessibleTable::get_selectedCells(IUnknown*** aCells, long* aNSelectedCells)
{
A11Y_TRYBLOCK_BEGIN
if (!aCells || !aNSelectedCells)
return E_INVALIDARG;
@@ -682,15 +568,11 @@ ia2AccessibleTable::get_selectedCells(IUnknown*** aCells, long* aNSelectedCells)
*aNSelectedCells = cells.Length();
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2AccessibleTable::get_selectedColumns(long** aColumns, long* aNColumns)
{
A11Y_TRYBLOCK_BEGIN
if (!aColumns || !aNColumns)
return E_INVALIDARG;
@@ -712,15 +594,11 @@ ia2AccessibleTable::get_selectedColumns(long** aColumns, long* aNColumns)
(*aColumns)[i] = colIndices[i];
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2AccessibleTable::get_selectedRows(long** aRows, long* aNRows)
{
A11Y_TRYBLOCK_BEGIN
if (!aRows || !aNRows)
return E_INVALIDARG;
@@ -742,6 +620,4 @@ ia2AccessibleTable::get_selectedRows(long** aRows, long* aNRows)
(*aRows)[i] = rowIndices[i];
return S_OK;
A11Y_TRYBLOCK_END
}
@@ -46,8 +46,6 @@ ia2AccessibleTableCell::QueryInterface(REFIID iid, void** ppv)
STDMETHODIMP
ia2AccessibleTableCell::get_table(IUnknown** aTable)
{
A11Y_TRYBLOCK_BEGIN
if (!aTable)
return E_INVALIDARG;
@@ -63,15 +61,11 @@ ia2AccessibleTableCell::get_table(IUnknown** aTable)
*aTable = static_cast<IAccessible*>(wrap);
(*aTable)->AddRef();
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2AccessibleTableCell::get_columnExtent(long* aSpan)
{
A11Y_TRYBLOCK_BEGIN
if (!aSpan)
return E_INVALIDARG;
@@ -82,16 +76,12 @@ ia2AccessibleTableCell::get_columnExtent(long* aSpan)
*aSpan = mTableCell->ColExtent();
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2AccessibleTableCell::get_columnHeaderCells(IUnknown*** aCellAccessibles,
long* aNColumnHeaderCells)
{
A11Y_TRYBLOCK_BEGIN
if (!aCellAccessibles || !aNColumnHeaderCells)
return E_INVALIDARG;
@@ -118,15 +108,11 @@ ia2AccessibleTableCell::get_columnHeaderCells(IUnknown*** aCellAccessibles,
}
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2AccessibleTableCell::get_columnIndex(long* aColIdx)
{
A11Y_TRYBLOCK_BEGIN
if (!aColIdx)
return E_INVALIDARG;
@@ -136,15 +122,11 @@ ia2AccessibleTableCell::get_columnIndex(long* aColIdx)
*aColIdx = mTableCell->ColIdx();
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2AccessibleTableCell::get_rowExtent(long* aSpan)
{
A11Y_TRYBLOCK_BEGIN
if (!aSpan)
return E_INVALIDARG;
@@ -154,16 +136,12 @@ ia2AccessibleTableCell::get_rowExtent(long* aSpan)
*aSpan = mTableCell->RowExtent();
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2AccessibleTableCell::get_rowHeaderCells(IUnknown*** aCellAccessibles,
long* aNRowHeaderCells)
{
A11Y_TRYBLOCK_BEGIN
if (!aCellAccessibles || !aNRowHeaderCells)
return E_INVALIDARG;
@@ -189,15 +167,11 @@ ia2AccessibleTableCell::get_rowHeaderCells(IUnknown*** aCellAccessibles,
}
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2AccessibleTableCell::get_rowIndex(long* aRowIdx)
{
A11Y_TRYBLOCK_BEGIN
if (!aRowIdx)
return E_INVALIDARG;
@@ -207,8 +181,6 @@ ia2AccessibleTableCell::get_rowIndex(long* aRowIdx)
*aRowIdx = mTableCell->RowIdx();
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
@@ -217,8 +189,6 @@ ia2AccessibleTableCell::get_rowColumnExtents(long* aRowIdx, long* aColIdx,
long* aColExtents,
boolean* aIsSelected)
{
A11Y_TRYBLOCK_BEGIN
if (!aRowIdx || !aColIdx || !aRowExtents || !aColExtents || !aIsSelected)
return E_INVALIDARG;
@@ -234,15 +204,11 @@ ia2AccessibleTableCell::get_rowColumnExtents(long* aRowIdx, long* aColIdx,
*aIsSelected = mTableCell->Selected();
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2AccessibleTableCell::get_isSelected(boolean* aIsSelected)
{
A11Y_TRYBLOCK_BEGIN
if (!aIsSelected)
return E_INVALIDARG;
@@ -252,6 +218,4 @@ ia2AccessibleTableCell::get_isSelected(boolean* aIsSelected)
*aIsSelected = mTableCell->Selected();
return S_OK;
A11Y_TRYBLOCK_END
}
@@ -28,8 +28,6 @@ bool ia2AccessibleText::sLastTextChangeWasInsert = false;
STDMETHODIMP
ia2AccessibleText::addSelection(long aStartOffset, long aEndOffset)
{
A11Y_TRYBLOCK_BEGIN
MOZ_ASSERT(!HyperTextProxyFor(this));
HyperTextAccessible* textAcc = static_cast<HyperTextAccessibleWrap*>(this);
@@ -38,16 +36,12 @@ ia2AccessibleText::addSelection(long aStartOffset, long aEndOffset)
return textAcc->AddToSelection(aStartOffset, aEndOffset) ?
S_OK : E_INVALIDARG;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2AccessibleText::get_attributes(long aOffset, long *aStartOffset,
long *aEndOffset, BSTR *aTextAttributes)
{
A11Y_TRYBLOCK_BEGIN
if (!aStartOffset || !aEndOffset || !aTextAttributes)
return E_INVALIDARG;
@@ -74,15 +68,11 @@ ia2AccessibleText::get_attributes(long aOffset, long *aStartOffset,
*aEndOffset = endOffset;
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2AccessibleText::get_caretOffset(long *aOffset)
{
A11Y_TRYBLOCK_BEGIN
if (!aOffset)
return E_INVALIDARG;
@@ -97,8 +87,6 @@ ia2AccessibleText::get_caretOffset(long *aOffset)
*aOffset = textAcc->CaretOffset();
return *aOffset != -1 ? S_OK : S_FALSE;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
@@ -107,8 +95,6 @@ ia2AccessibleText::get_characterExtents(long aOffset,
long* aX, long* aY,
long* aWidth, long* aHeight)
{
A11Y_TRYBLOCK_BEGIN
if (!aX || !aY || !aWidth || !aHeight)
return E_INVALIDARG;
*aX = *aY = *aWidth = *aHeight = 0;
@@ -129,15 +115,11 @@ ia2AccessibleText::get_characterExtents(long aOffset,
*aWidth = rect.width;
*aHeight = rect.height;
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2AccessibleText::get_nSelections(long* aNSelections)
{
A11Y_TRYBLOCK_BEGIN
if (!aNSelections)
return E_INVALIDARG;
*aNSelections = 0;
@@ -151,8 +133,6 @@ ia2AccessibleText::get_nSelections(long* aNSelections)
*aNSelections = textAcc->SelectionCount();
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
@@ -160,8 +140,6 @@ ia2AccessibleText::get_offsetAtPoint(long aX, long aY,
enum IA2CoordinateType aCoordType,
long* aOffset)
{
A11Y_TRYBLOCK_BEGIN
if (!aOffset)
return E_INVALIDARG;
*aOffset = 0;
@@ -179,16 +157,12 @@ ia2AccessibleText::get_offsetAtPoint(long aX, long aY,
*aOffset = textAcc->OffsetAtPoint(aX, aY, geckoCoordType);
return *aOffset == -1 ? S_FALSE : S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2AccessibleText::get_selection(long aSelectionIndex, long* aStartOffset,
long* aEndOffset)
{
A11Y_TRYBLOCK_BEGIN
if (!aStartOffset || !aEndOffset)
return E_INVALIDARG;
*aStartOffset = *aEndOffset = 0;
@@ -207,15 +181,11 @@ ia2AccessibleText::get_selection(long aSelectionIndex, long* aStartOffset,
*aStartOffset = startOffset;
*aEndOffset = endOffset;
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2AccessibleText::get_text(long aStartOffset, long aEndOffset, BSTR* aText)
{
A11Y_TRYBLOCK_BEGIN
if (!aText)
return E_INVALIDARG;
@@ -239,8 +209,6 @@ ia2AccessibleText::get_text(long aStartOffset, long aEndOffset, BSTR* aText)
*aText = ::SysAllocStringLen(text.get(), text.Length());
return *aText ? S_OK : E_OUTOFMEMORY;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
@@ -249,8 +217,6 @@ ia2AccessibleText::get_textBeforeOffset(long aOffset,
long* aStartOffset, long* aEndOffset,
BSTR* aText)
{
A11Y_TRYBLOCK_BEGIN
if (!aStartOffset || !aEndOffset || !aText)
return E_INVALIDARG;
@@ -287,8 +253,6 @@ ia2AccessibleText::get_textBeforeOffset(long aOffset,
*aText = ::SysAllocStringLen(text.get(), text.Length());
return *aText ? S_OK : E_OUTOFMEMORY;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
@@ -297,8 +261,6 @@ ia2AccessibleText::get_textAfterOffset(long aOffset,
long* aStartOffset, long* aEndOffset,
BSTR* aText)
{
A11Y_TRYBLOCK_BEGIN
if (!aStartOffset || !aEndOffset || !aText)
return E_INVALIDARG;
@@ -335,8 +297,6 @@ ia2AccessibleText::get_textAfterOffset(long aOffset,
*aText = ::SysAllocStringLen(text.get(), text.Length());
return *aText ? S_OK : E_OUTOFMEMORY;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
@@ -345,8 +305,6 @@ ia2AccessibleText::get_textAtOffset(long aOffset,
long* aStartOffset, long* aEndOffset,
BSTR* aText)
{
A11Y_TRYBLOCK_BEGIN
if (!aStartOffset || !aEndOffset || !aText)
return E_INVALIDARG;
@@ -381,15 +339,11 @@ ia2AccessibleText::get_textAtOffset(long aOffset,
*aText = ::SysAllocStringLen(text.get(), text.Length());
return *aText ? S_OK : E_OUTOFMEMORY;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2AccessibleText::removeSelection(long aSelectionIndex)
{
A11Y_TRYBLOCK_BEGIN
MOZ_ASSERT(!HyperTextProxyFor(this));
HyperTextAccessible* textAcc = static_cast<HyperTextAccessibleWrap*>(this);
@@ -398,15 +352,11 @@ ia2AccessibleText::removeSelection(long aSelectionIndex)
return textAcc->RemoveFromSelection(aSelectionIndex) ?
S_OK : E_INVALIDARG;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2AccessibleText::setCaretOffset(long aOffset)
{
A11Y_TRYBLOCK_BEGIN
MOZ_ASSERT(!HyperTextProxyFor(this));
HyperTextAccessible* textAcc = static_cast<HyperTextAccessibleWrap*>(this);
@@ -418,16 +368,12 @@ ia2AccessibleText::setCaretOffset(long aOffset)
textAcc->SetCaretOffset(aOffset);
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2AccessibleText::setSelection(long aSelectionIndex, long aStartOffset,
long aEndOffset)
{
A11Y_TRYBLOCK_BEGIN
MOZ_ASSERT(!HyperTextProxyFor(this));
HyperTextAccessible* textAcc = static_cast<HyperTextAccessibleWrap*>(this);
@@ -436,15 +382,11 @@ ia2AccessibleText::setSelection(long aSelectionIndex, long aStartOffset,
return textAcc->SetSelectionBoundsAt(aSelectionIndex, aStartOffset, aEndOffset) ?
S_OK : E_INVALIDARG;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2AccessibleText::get_nCharacters(long* aNCharacters)
{
A11Y_TRYBLOCK_BEGIN
if (!aNCharacters)
return E_INVALIDARG;
*aNCharacters = 0;
@@ -457,16 +399,12 @@ ia2AccessibleText::get_nCharacters(long* aNCharacters)
*aNCharacters = textAcc->CharacterCount();
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2AccessibleText::scrollSubstringTo(long aStartIndex, long aEndIndex,
enum IA2ScrollType aScrollType)
{
A11Y_TRYBLOCK_BEGIN
MOZ_ASSERT(!HyperTextProxyFor(this));
HyperTextAccessible* textAcc = static_cast<HyperTextAccessibleWrap*>(this);
@@ -478,8 +416,6 @@ ia2AccessibleText::scrollSubstringTo(long aStartIndex, long aEndIndex,
textAcc->ScrollSubstringTo(aStartIndex, aEndIndex, aScrollType);
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
@@ -487,8 +423,6 @@ ia2AccessibleText::scrollSubstringToPoint(long aStartIndex, long aEndIndex,
enum IA2CoordinateType aCoordType,
long aX, long aY)
{
A11Y_TRYBLOCK_BEGIN
uint32_t geckoCoordType = (aCoordType == IA2_COORDTYPE_SCREEN_RELATIVE) ?
nsIAccessibleCoordinateType::COORDTYPE_SCREEN_RELATIVE :
nsIAccessibleCoordinateType::COORDTYPE_PARENT_RELATIVE;
@@ -505,28 +439,18 @@ ia2AccessibleText::scrollSubstringToPoint(long aStartIndex, long aEndIndex,
textAcc->ScrollSubstringToPoint(aStartIndex, aEndIndex,
geckoCoordType, aX, aY);
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2AccessibleText::get_newText(IA2TextSegment *aNewText)
{
A11Y_TRYBLOCK_BEGIN
return GetModifiedText(true, aNewText);
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2AccessibleText::get_oldText(IA2TextSegment *aOldText)
{
A11Y_TRYBLOCK_BEGIN
return GetModifiedText(false, aOldText);
A11Y_TRYBLOCK_END
}
// ia2AccessibleText
@@ -46,8 +46,6 @@ ia2AccessibleValue::QueryInterface(REFIID iid, void** ppv)
STDMETHODIMP
ia2AccessibleValue::get_currentValue(VARIANT* aCurrentValue)
{
A11Y_TRYBLOCK_BEGIN
if (!aCurrentValue)
return E_INVALIDARG;
@@ -68,15 +66,11 @@ ia2AccessibleValue::get_currentValue(VARIANT* aCurrentValue)
aCurrentValue->vt = VT_R8;
aCurrentValue->dblVal = currentValue;
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2AccessibleValue::setCurrentValue(VARIANT aValue)
{
A11Y_TRYBLOCK_BEGIN
if (aValue.vt != VT_R8)
return E_INVALIDARG;
@@ -87,15 +81,11 @@ ia2AccessibleValue::setCurrentValue(VARIANT aValue)
return CO_E_OBJNOTCONNECTED;
return valueAcc->SetCurValue(aValue.dblVal) ? S_OK : E_FAIL;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2AccessibleValue::get_maximumValue(VARIANT* aMaximumValue)
{
A11Y_TRYBLOCK_BEGIN
if (!aMaximumValue)
return E_INVALIDARG;
@@ -116,15 +106,11 @@ ia2AccessibleValue::get_maximumValue(VARIANT* aMaximumValue)
aMaximumValue->vt = VT_R8;
aMaximumValue->dblVal = maximumValue;
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ia2AccessibleValue::get_minimumValue(VARIANT* aMinimumValue)
{
A11Y_TRYBLOCK_BEGIN
if (!aMinimumValue)
return E_INVALIDARG;
@@ -145,7 +131,5 @@ ia2AccessibleValue::get_minimumValue(VARIANT* aMinimumValue)
aMinimumValue->vt = VT_R8;
aMinimumValue->dblVal = minimumValue;
return S_OK;
A11Y_TRYBLOCK_END
}
@@ -110,8 +110,6 @@ AccessibleWrap::Shutdown()
STDMETHODIMP
AccessibleWrap::QueryInterface(REFIID iid, void** ppv)
{
A11Y_TRYBLOCK_BEGIN
if (!ppv)
return E_INVALIDARG;
@@ -165,8 +163,6 @@ AccessibleWrap::QueryInterface(REFIID iid, void** ppv)
(reinterpret_cast<IUnknown*>(*ppv))->AddRef();
return S_OK;
A11Y_TRYBLOCK_END
}
//-----------------------------------------------------
@@ -176,8 +172,6 @@ AccessibleWrap::QueryInterface(REFIID iid, void** ppv)
STDMETHODIMP
AccessibleWrap::get_accParent( IDispatch __RPC_FAR *__RPC_FAR *ppdispParent)
{
A11Y_TRYBLOCK_BEGIN
if (!ppdispParent)
return E_INVALIDARG;
@@ -208,15 +202,11 @@ AccessibleWrap::get_accParent( IDispatch __RPC_FAR *__RPC_FAR *ppdispParent)
*ppdispParent = NativeAccessible(xpParentAcc);
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
AccessibleWrap::get_accChildCount( long __RPC_FAR *pcountChildren)
{
A11Y_TRYBLOCK_BEGIN
if (!pcountChildren)
return E_INVALIDARG;
@@ -230,8 +220,6 @@ AccessibleWrap::get_accChildCount( long __RPC_FAR *pcountChildren)
*pcountChildren = ChildCount();
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
@@ -239,8 +227,6 @@ AccessibleWrap::get_accChild(
/* [in] */ VARIANT varChild,
/* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppdispChild)
{
A11Y_TRYBLOCK_BEGIN
if (!ppdispChild)
return E_INVALIDARG;
@@ -265,8 +251,6 @@ AccessibleWrap::get_accChild(
child.forget(ppdispChild);
return S_OK;
A11Y_TRYBLOCK_END
}
/**
@@ -331,8 +315,6 @@ AccessibleWrap::get_accName(
/* [optional][in] */ VARIANT varChild,
/* [retval][out] */ BSTR __RPC_FAR *pszName)
{
A11Y_TRYBLOCK_BEGIN
if (!pszName || varChild.vt != VT_I4)
return E_INVALIDARG;
@@ -361,8 +343,6 @@ AccessibleWrap::get_accName(
if (!*pszName)
return E_OUTOFMEMORY;
return S_OK;
A11Y_TRYBLOCK_END
}
@@ -371,8 +351,6 @@ AccessibleWrap::get_accValue(
/* [optional][in] */ VARIANT varChild,
/* [retval][out] */ BSTR __RPC_FAR *pszValue)
{
A11Y_TRYBLOCK_BEGIN
if (!pszValue)
return E_INVALIDARG;
@@ -401,16 +379,12 @@ AccessibleWrap::get_accValue(
if (!*pszValue)
return E_OUTOFMEMORY;
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
AccessibleWrap::get_accDescription(VARIANT varChild,
BSTR __RPC_FAR *pszDescription)
{
A11Y_TRYBLOCK_BEGIN
if (!pszDescription)
return E_INVALIDARG;
@@ -432,8 +406,6 @@ AccessibleWrap::get_accDescription(VARIANT varChild,
*pszDescription = ::SysAllocStringLen(description.get(),
description.Length());
return *pszDescription ? S_OK : E_OUTOFMEMORY;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
@@ -441,8 +413,6 @@ AccessibleWrap::get_accRole(
/* [optional][in] */ VARIANT varChild,
/* [retval][out] */ VARIANT __RPC_FAR *pvarRole)
{
A11Y_TRYBLOCK_BEGIN
if (!pvarRole)
return E_INVALIDARG;
@@ -532,8 +502,6 @@ AccessibleWrap::get_accRole(
}
return E_FAIL;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
@@ -541,8 +509,6 @@ AccessibleWrap::get_accState(
/* [optional][in] */ VARIANT varChild,
/* [retval][out] */ VARIANT __RPC_FAR *pvarState)
{
A11Y_TRYBLOCK_BEGIN
if (!pvarState)
return E_INVALIDARG;
@@ -574,8 +540,6 @@ AccessibleWrap::get_accState(
nsAccUtils::To32States(state, &msaaState, nullptr);
pvarState->lVal = msaaState;
return S_OK;
A11Y_TRYBLOCK_END
}
@@ -584,15 +548,11 @@ AccessibleWrap::get_accHelp(
/* [optional][in] */ VARIANT varChild,
/* [retval][out] */ BSTR __RPC_FAR *pszHelp)
{
A11Y_TRYBLOCK_BEGIN
if (!pszHelp)
return E_INVALIDARG;
*pszHelp = nullptr;
return S_FALSE;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
@@ -601,16 +561,12 @@ AccessibleWrap::get_accHelpTopic(
/* [optional][in] */ VARIANT varChild,
/* [retval][out] */ long __RPC_FAR *pidTopic)
{
A11Y_TRYBLOCK_BEGIN
if (!pszHelpFile || !pidTopic)
return E_INVALIDARG;
*pszHelpFile = nullptr;
*pidTopic = 0;
return S_FALSE;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
@@ -618,8 +574,6 @@ AccessibleWrap::get_accKeyboardShortcut(
/* [optional][in] */ VARIANT varChild,
/* [retval][out] */ BSTR __RPC_FAR *pszKeyboardShortcut)
{
A11Y_TRYBLOCK_BEGIN
if (!pszKeyboardShortcut)
return E_INVALIDARG;
*pszKeyboardShortcut = nullptr;
@@ -645,16 +599,12 @@ AccessibleWrap::get_accKeyboardShortcut(
*pszKeyboardShortcut = ::SysAllocStringLen(shortcut.get(),
shortcut.Length());
return *pszKeyboardShortcut ? S_OK : E_OUTOFMEMORY;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
AccessibleWrap::get_accFocus(
/* [retval][out] */ VARIANT __RPC_FAR *pvarChild)
{
A11Y_TRYBLOCK_BEGIN
if (!pvarChild)
return E_INVALIDARG;
@@ -685,8 +635,6 @@ AccessibleWrap::get_accFocus(
}
return S_OK;
A11Y_TRYBLOCK_END
}
/**
@@ -723,8 +671,6 @@ private:
STDMETHODIMP
AccessibleEnumerator::QueryInterface(REFIID iid, void ** ppvObject)
{
A11Y_TRYBLOCK_BEGIN
if (iid == IID_IEnumVARIANT) {
*ppvObject = static_cast<IEnumVARIANT*>(this);
AddRef();
@@ -738,15 +684,11 @@ AccessibleEnumerator::QueryInterface(REFIID iid, void ** ppvObject)
*ppvObject = nullptr;
return E_NOINTERFACE;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
AccessibleEnumerator::Next(unsigned long celt, VARIANT FAR* rgvar, unsigned long FAR* pceltFetched)
{
A11Y_TRYBLOCK_BEGIN
uint32_t length = mArray.Length();
HRESULT hr = S_OK;
@@ -766,29 +708,21 @@ AccessibleEnumerator::Next(unsigned long celt, VARIANT FAR* rgvar, unsigned long
*pceltFetched = celt;
return hr;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
AccessibleEnumerator::Clone(IEnumVARIANT FAR* FAR* ppenum)
{
A11Y_TRYBLOCK_BEGIN
*ppenum = new AccessibleEnumerator(*this);
if (!*ppenum)
return E_OUTOFMEMORY;
NS_ADDREF(*ppenum);
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
AccessibleEnumerator::Skip(unsigned long celt)
{
A11Y_TRYBLOCK_BEGIN
uint32_t length = mArray.Length();
// Check if we can skip the requested number of elements
if (celt > length - mCurIndex) {
@@ -797,8 +731,6 @@ AccessibleEnumerator::Skip(unsigned long celt)
}
mCurIndex += celt;
return S_OK;
A11Y_TRYBLOCK_END
}
/**
@@ -821,8 +753,6 @@ AccessibleEnumerator::Skip(unsigned long celt)
STDMETHODIMP
AccessibleWrap::get_accSelection(VARIANT __RPC_FAR *pvarChildren)
{
A11Y_TRYBLOCK_BEGIN
if (!pvarChildren)
return E_INVALIDARG;
@@ -842,8 +772,6 @@ AccessibleWrap::get_accSelection(VARIANT __RPC_FAR *pvarChildren)
NS_ADDREF(pvarChildren->punkVal = pEnum);
}
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
@@ -851,8 +779,6 @@ AccessibleWrap::get_accDefaultAction(
/* [optional][in] */ VARIANT varChild,
/* [retval][out] */ BSTR __RPC_FAR *pszDefaultAction)
{
A11Y_TRYBLOCK_BEGIN
if (!pszDefaultAction)
return E_INVALIDARG;
@@ -874,8 +800,6 @@ AccessibleWrap::get_accDefaultAction(
*pszDefaultAction = ::SysAllocStringLen(defaultAction.get(),
defaultAction.Length());
return *pszDefaultAction ? S_OK : E_OUTOFMEMORY;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
@@ -883,8 +807,6 @@ AccessibleWrap::accSelect(
/* [in] */ long flagsSelect,
/* [optional][in] */ VARIANT varChild)
{
A11Y_TRYBLOCK_BEGIN
RefPtr<IAccessible> accessible;
HRESULT hr = ResolveChild(varChild, getter_AddRefs(accessible));
if (FAILED(hr)) {
@@ -926,8 +848,6 @@ AccessibleWrap::accSelect(
}
return E_FAIL;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
@@ -938,8 +858,6 @@ AccessibleWrap::accLocation(
/* [out] */ long __RPC_FAR *pcyHeight,
/* [optional][in] */ VARIANT varChild)
{
A11Y_TRYBLOCK_BEGIN
if (!pxLeft || !pyTop || !pcxWidth || !pcyHeight)
return E_INVALIDARG;
@@ -966,8 +884,6 @@ AccessibleWrap::accLocation(
*pcxWidth = rect.width;
*pcyHeight = rect.height;
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
@@ -976,8 +892,6 @@ AccessibleWrap::accNavigate(
/* [optional][in] */ VARIANT varStart,
/* [retval][out] */ VARIANT __RPC_FAR *pvarEndUpAt)
{
A11Y_TRYBLOCK_BEGIN
if (!pvarEndUpAt)
return E_INVALIDARG;
@@ -1060,8 +974,6 @@ AccessibleWrap::accNavigate(
pvarEndUpAt->pdispVal = NativeAccessible(navAccessible);
pvarEndUpAt->vt = VT_DISPATCH;
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
@@ -1070,8 +982,6 @@ AccessibleWrap::accHitTest(
/* [in] */ long yTop,
/* [retval][out] */ VARIANT __RPC_FAR *pvarChild)
{
A11Y_TRYBLOCK_BEGIN
if (!pvarChild)
return E_INVALIDARG;
@@ -1098,16 +1008,12 @@ AccessibleWrap::accHitTest(
return S_FALSE;
}
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
AccessibleWrap::accDoDefaultAction(
/* [optional][in] */ VARIANT varChild)
{
A11Y_TRYBLOCK_BEGIN
RefPtr<IAccessible> accessible;
HRESULT hr = ResolveChild(varChild, getter_AddRefs(accessible));
if (FAILED(hr)) {
@@ -1119,8 +1025,6 @@ AccessibleWrap::accDoDefaultAction(
}
return DoAction(0) ? S_OK : E_INVALIDARG;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
@@ -69,8 +69,6 @@ ApplicationAccessibleWrap::QueryInterface(REFIID iid, void** ppv)
STDMETHODIMP
ApplicationAccessibleWrap::get_appName(BSTR* aName)
{
A11Y_TRYBLOCK_BEGIN
if (!aName)
return E_INVALIDARG;
@@ -86,15 +84,11 @@ ApplicationAccessibleWrap::get_appName(BSTR* aName)
*aName = ::SysAllocStringLen(name.get(), name.Length());
return *aName ? S_OK : E_OUTOFMEMORY;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ApplicationAccessibleWrap::get_appVersion(BSTR* aVersion)
{
A11Y_TRYBLOCK_BEGIN
if (!aVersion)
return E_INVALIDARG;
@@ -110,15 +104,11 @@ ApplicationAccessibleWrap::get_appVersion(BSTR* aVersion)
*aVersion = ::SysAllocStringLen(version.get(), version.Length());
return *aVersion ? S_OK : E_OUTOFMEMORY;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ApplicationAccessibleWrap::get_toolkitName(BSTR* aName)
{
A11Y_TRYBLOCK_BEGIN
if (!aName)
return E_INVALIDARG;
@@ -132,15 +122,11 @@ ApplicationAccessibleWrap::get_toolkitName(BSTR* aName)
*aName = ::SysAllocStringLen(name.get(), name.Length());
return *aName ? S_OK : E_OUTOFMEMORY;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ApplicationAccessibleWrap::get_toolkitVersion(BSTR* aVersion)
{
A11Y_TRYBLOCK_BEGIN
if (!aVersion)
return E_INVALIDARG;
@@ -156,7 +142,5 @@ ApplicationAccessibleWrap::get_toolkitVersion(BSTR* aVersion)
*aVersion = ::SysAllocStringLen(version.get(), version.Length());
return *aVersion ? S_OK : E_OUTOFMEMORY;
A11Y_TRYBLOCK_END
}
@@ -65,8 +65,6 @@ DocAccessibleWrap::get_accParent(
STDMETHODIMP
DocAccessibleWrap::get_accValue(VARIANT aVarChild, BSTR __RPC_FAR* aValue)
{
A11Y_TRYBLOCK_BEGIN
if (!aValue)
return E_INVALIDARG;
*aValue = nullptr;
@@ -90,8 +88,6 @@ DocAccessibleWrap::get_accValue(VARIANT aVarChild, BSTR __RPC_FAR* aValue)
*aValue = ::SysAllocStringLen(url.get(), url.Length());
return *aValue ? S_OK : E_OUTOFMEMORY;
A11Y_TRYBLOCK_END
}
////////////////////////////////////////////////////////////////////////////////
-16
View File
@@ -21,8 +21,6 @@ STDMETHODIMP
ChildrenEnumVariant::Next(ULONG aCount, VARIANT FAR* aItems,
ULONG FAR* aCountFetched)
{
A11Y_TRYBLOCK_BEGIN
if (!aItems || !aCountFetched)
return E_INVALIDARG;
@@ -55,15 +53,11 @@ ChildrenEnumVariant::Next(ULONG aCount, VARIANT FAR* aItems,
(*aCountFetched) = countFetched;
return countFetched < aCount ? S_FALSE : S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ChildrenEnumVariant::Skip(ULONG aCount)
{
A11Y_TRYBLOCK_BEGIN
if (mAnchorAcc->IsDefunct() || mAnchorAcc->GetChildAt(mCurIndex) != mCurAcc)
return CO_E_OBJNOTCONNECTED;
@@ -71,15 +65,11 @@ ChildrenEnumVariant::Skip(ULONG aCount)
mCurAcc = mAnchorAcc->GetChildAt(mCurIndex);
return mCurAcc ? S_OK : S_FALSE;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ChildrenEnumVariant::Reset()
{
A11Y_TRYBLOCK_BEGIN
if (mAnchorAcc->IsDefunct())
return CO_E_OBJNOTCONNECTED;
@@ -87,15 +77,11 @@ ChildrenEnumVariant::Reset()
mCurAcc = mAnchorAcc->GetChildAt(0);
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
ChildrenEnumVariant::Clone(IEnumVARIANT** aEnumVariant)
{
A11Y_TRYBLOCK_BEGIN
if (!aEnumVariant)
return E_INVALIDARG;
@@ -103,6 +89,4 @@ ChildrenEnumVariant::Clone(IEnumVARIANT** aEnumVariant)
(*aEnumVariant)->AddRef();
return S_OK;
A11Y_TRYBLOCK_END
}
@@ -62,25 +62,6 @@ HTMLWin32ObjectAccessible::HTMLWin32ObjectAccessible(void* aHwnd,
{
mHwnd = aHwnd;
if (mHwnd) {
#if defined(MOZ_CONTENT_SANDBOX)
if (XRE_IsContentProcess()) {
DocAccessibleChild* ipcDoc = aDoc->IPCDoc();
MOZ_ASSERT(ipcDoc);
if (!ipcDoc) {
return;
}
IAccessibleHolder proxyHolder;
if (!ipcDoc->SendGetWindowedPluginIAccessible(
reinterpret_cast<uintptr_t>(mHwnd), &proxyHolder)) {
return;
}
mCOMProxy.reset(proxyHolder.Release());
return;
}
#endif
// The plugin is not windowless. In this situation we use
// use its inner child owned by the plugin so that we don't get
// in an infinite loop, where the WM_GETOBJECT's get forwarded
@@ -92,14 +73,6 @@ HTMLWin32ObjectAccessible::HTMLWin32ObjectAccessible(void* aHwnd,
void
HTMLWin32ObjectAccessible::GetNativeInterface(void** aNativeAccessible)
{
#if defined(MOZ_CONTENT_SANDBOX)
if (XRE_IsContentProcess()) {
RefPtr<IAccessible> addRefed = mCOMProxy.get();
addRefed.forget(aNativeAccessible);
return;
}
#endif
if (mHwnd) {
::AccessibleObjectFromWindow(static_cast<HWND>(mHwnd),
OBJID_WINDOW, IID_IAccessible,
@@ -8,10 +8,6 @@
#include "BaseAccessibles.h"
#if defined(MOZ_CONTENT_SANDBOX)
#include "mozilla/mscom/Ptr.h"
#endif
struct IAccessible;
namespace mozilla {
@@ -59,9 +55,6 @@ public:
protected:
void* mHwnd;
#if defined(MOZ_CONTENT_SANDBOX)
mscom::ProxyUniquePtr<IAccessible> mCOMProxy;
#endif
};
} // namespace a11y
-21
View File
@@ -9,10 +9,6 @@
#include "nsDebug.h"
#ifdef MOZ_CRASHREPORTER
#include "nsExceptionHandler.h"
#endif
namespace mozilla {
namespace a11y {
@@ -37,22 +33,5 @@ GetHRESULT(nsresult aResult)
}
}
int
FilterExceptions(unsigned int aCode, EXCEPTION_POINTERS* aExceptionInfo)
{
if (aCode == EXCEPTION_ACCESS_VIOLATION) {
#ifdef MOZ_CRASHREPORTER
// MSAA swallows crashes (because it is COM-based) but we still need to
// learn about those crashes so we can fix them. Make sure to pass them to
// the crash reporter.
CrashReporter::WriteMinidumpForException(aExceptionInfo);
#endif
} else {
NS_NOTREACHED("We should only be catching crash exceptions");
}
return EXCEPTION_CONTINUE_SEARCH;
}
} // namespace a11y
} // namespace mozilla
-24
View File
@@ -79,7 +79,6 @@ virtual HRESULT STDMETHODCALLTYPE QueryInterface(REFIID, void**); \
STDMETHODIMP \
Class::QueryInterface(REFIID aIID, void** aInstancePtr) \
{ \
A11Y_TRYBLOCK_BEGIN \
if (!aInstancePtr) \
return E_INVALIDARG; \
*aInstancePtr = nullptr; \
@@ -88,17 +87,14 @@ Class::QueryInterface(REFIID aIID, void** aInstancePtr) \
#define IMPL_IUNKNOWN_QUERY_TAIL \
return hr; \
A11Y_TRYBLOCK_END \
}
#define IMPL_IUNKNOWN_QUERY_TAIL_AGGREGATED(Member) \
return Member->QueryInterface(aIID, aInstancePtr); \
A11Y_TRYBLOCK_END \
}
#define IMPL_IUNKNOWN_QUERY_TAIL_INHERITED(BaseClass) \
return BaseClass::QueryInterface(aIID, aInstancePtr); \
A11Y_TRYBLOCK_END \
}
#define IMPL_IUNKNOWN_QUERY_IFACE(Iface) \
@@ -158,21 +154,6 @@ Class::QueryInterface(REFIID aIID, void** aInstancePtr) \
IMPL_IUNKNOWN_QUERY_CLASS(Super2); \
IMPL_IUNKNOWN_QUERY_TAIL_INHERITED(Super0)
/**
* Wrap every method body by these macroses to pass exception to the crash
* reporter.
*/
#define A11Y_TRYBLOCK_BEGIN \
MOZ_SEH_TRY {
#define A11Y_TRYBLOCK_END \
} MOZ_SEH_EXCEPT(mozilla::a11y::FilterExceptions(::GetExceptionCode(), \
GetExceptionInformation())) \
{ } \
return E_FAIL;
namespace mozilla {
namespace a11y {
@@ -181,11 +162,6 @@ namespace a11y {
*/
HRESULT GetHRESULT(nsresult aResult);
/**
* Used to pass an exception to the crash reporter.
*/
int FilterExceptions(unsigned int aCode, EXCEPTION_POINTERS* aExceptionInfo);
} // namespace a11y;
} //namespace mozilla;
-64
View File
@@ -28,8 +28,6 @@ using namespace mozilla::a11y;
STDMETHODIMP
sdnAccessible::QueryInterface(REFIID aREFIID, void** aInstancePtr)
{
A11Y_TRYBLOCK_BEGIN
if (!aInstancePtr)
return E_FAIL;
*aInstancePtr = nullptr;
@@ -53,8 +51,6 @@ sdnAccessible::QueryInterface(REFIID aREFIID, void** aInstancePtr)
}
return E_NOINTERFACE;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
@@ -65,8 +61,6 @@ sdnAccessible::get_nodeInfo(BSTR __RPC_FAR* aNodeName,
unsigned int __RPC_FAR* aUniqueID,
unsigned short __RPC_FAR* aNodeType)
{
A11Y_TRYBLOCK_BEGIN
if (!aNodeName || !aNameSpaceID || !aNodeValue || !aNumChildren ||
!aUniqueID || !aNodeType)
return E_INVALIDARG;
@@ -114,8 +108,6 @@ sdnAccessible::get_nodeInfo(BSTR __RPC_FAR* aNodeName,
*aNumChildren = mNode->GetChildCount();
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
@@ -125,8 +117,6 @@ sdnAccessible::get_attributes(unsigned short aMaxAttribs,
BSTR __RPC_FAR* aAttribValues,
unsigned short __RPC_FAR* aNumAttribs)
{
A11Y_TRYBLOCK_BEGIN
if (!aAttribNames || !aNameSpaceIDs || !aAttribValues || !aNumAttribs)
return E_INVALIDARG;
@@ -159,8 +149,6 @@ sdnAccessible::get_attributes(unsigned short aMaxAttribs,
}
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
@@ -169,8 +157,6 @@ sdnAccessible::get_attributesForNames(unsigned short aMaxAttribs,
short __RPC_FAR* aNameSpaceID,
BSTR __RPC_FAR* aAttribValues)
{
A11Y_TRYBLOCK_BEGIN
if (!aAttribNames || !aNameSpaceID || !aAttribValues)
return E_INVALIDARG;
@@ -207,8 +193,6 @@ sdnAccessible::get_attributesForNames(unsigned short aMaxAttribs,
}
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
@@ -218,8 +202,6 @@ sdnAccessible::get_computedStyle(unsigned short aMaxStyleProperties,
BSTR __RPC_FAR* aStyleValues,
unsigned short __RPC_FAR* aNumStyleProperties)
{
A11Y_TRYBLOCK_BEGIN
if (!aStyleProperties || aStyleValues || !aNumStyleProperties)
return E_INVALIDARG;
@@ -257,8 +239,6 @@ sdnAccessible::get_computedStyle(unsigned short aMaxStyleProperties,
*aNumStyleProperties = static_cast<unsigned short>(realIndex);
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
@@ -267,8 +247,6 @@ sdnAccessible::get_computedStyleForProperties(unsigned short aNumStyleProperties
BSTR __RPC_FAR* aStyleProperties,
BSTR __RPC_FAR* aStyleValues)
{
A11Y_TRYBLOCK_BEGIN
if (!aStyleProperties || !aStyleValues)
return E_INVALIDARG;
@@ -291,15 +269,11 @@ sdnAccessible::get_computedStyleForProperties(unsigned short aNumStyleProperties
}
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
sdnAccessible::scrollTo(boolean aScrollTopLeft)
{
A11Y_TRYBLOCK_BEGIN
DocAccessible* document = GetDocument();
if (!document) // that's IsDefunct check
return CO_E_OBJNOTCONNECTED;
@@ -313,15 +287,11 @@ sdnAccessible::scrollTo(boolean aScrollTopLeft)
nsCoreUtils::ScrollTo(document->PresShell(), mNode->AsContent(), scrollType);
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
sdnAccessible::get_parentNode(ISimpleDOMNode __RPC_FAR *__RPC_FAR* aNode)
{
A11Y_TRYBLOCK_BEGIN
if (!aNode)
return E_INVALIDARG;
*aNode = nullptr;
@@ -336,15 +306,11 @@ sdnAccessible::get_parentNode(ISimpleDOMNode __RPC_FAR *__RPC_FAR* aNode)
}
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
sdnAccessible::get_firstChild(ISimpleDOMNode __RPC_FAR *__RPC_FAR* aNode)
{
A11Y_TRYBLOCK_BEGIN
if (!aNode)
return E_INVALIDARG;
*aNode = nullptr;
@@ -359,15 +325,11 @@ sdnAccessible::get_firstChild(ISimpleDOMNode __RPC_FAR *__RPC_FAR* aNode)
}
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
sdnAccessible::get_lastChild(ISimpleDOMNode __RPC_FAR *__RPC_FAR* aNode)
{
A11Y_TRYBLOCK_BEGIN
if (!aNode)
return E_INVALIDARG;
*aNode = nullptr;
@@ -382,15 +344,11 @@ sdnAccessible::get_lastChild(ISimpleDOMNode __RPC_FAR *__RPC_FAR* aNode)
}
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
sdnAccessible::get_previousSibling(ISimpleDOMNode __RPC_FAR *__RPC_FAR* aNode)
{
A11Y_TRYBLOCK_BEGIN
if (!aNode)
return E_INVALIDARG;
*aNode = nullptr;
@@ -405,15 +363,11 @@ sdnAccessible::get_previousSibling(ISimpleDOMNode __RPC_FAR *__RPC_FAR* aNode)
}
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
sdnAccessible::get_nextSibling(ISimpleDOMNode __RPC_FAR *__RPC_FAR* aNode)
{
A11Y_TRYBLOCK_BEGIN
if (!aNode)
return E_INVALIDARG;
*aNode = nullptr;
@@ -428,16 +382,12 @@ sdnAccessible::get_nextSibling(ISimpleDOMNode __RPC_FAR *__RPC_FAR* aNode)
}
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
sdnAccessible::get_childAt(unsigned aChildIndex,
ISimpleDOMNode __RPC_FAR *__RPC_FAR* aNode)
{
A11Y_TRYBLOCK_BEGIN
if (!aNode)
return E_INVALIDARG;
*aNode = nullptr;
@@ -453,15 +403,11 @@ sdnAccessible::get_childAt(unsigned aChildIndex,
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
sdnAccessible::get_innerHTML(BSTR __RPC_FAR* aInnerHTML)
{
A11Y_TRYBLOCK_BEGIN
if (!aInnerHTML)
return E_INVALIDARG;
*aInnerHTML = nullptr;
@@ -482,15 +428,11 @@ sdnAccessible::get_innerHTML(BSTR __RPC_FAR* aInnerHTML)
return E_OUTOFMEMORY;
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
sdnAccessible::get_localInterface(void __RPC_FAR *__RPC_FAR* aLocalInterface)
{
A11Y_TRYBLOCK_BEGIN
if (!aLocalInterface)
return E_INVALIDARG;
*aLocalInterface = nullptr;
@@ -502,15 +444,11 @@ sdnAccessible::get_localInterface(void __RPC_FAR *__RPC_FAR* aLocalInterface)
AddRef();
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
sdnAccessible::get_language(BSTR __RPC_FAR* aLanguage)
{
A11Y_TRYBLOCK_BEGIN
if (!aLanguage)
return E_INVALIDARG;
*aLanguage = nullptr;
@@ -534,6 +472,4 @@ sdnAccessible::get_language(BSTR __RPC_FAR* aLanguage)
return E_OUTOFMEMORY;
return S_OK;
A11Y_TRYBLOCK_END
}
@@ -24,8 +24,6 @@ IMPL_IUNKNOWN_QUERY_TAIL_AGGREGATED(mAccessible)
STDMETHODIMP
sdnDocAccessible::get_URL(BSTR __RPC_FAR* aURL)
{
A11Y_TRYBLOCK_BEGIN
if (!aURL)
return E_INVALIDARG;
*aURL = nullptr;
@@ -40,15 +38,11 @@ sdnDocAccessible::get_URL(BSTR __RPC_FAR* aURL)
*aURL = ::SysAllocStringLen(URL.get(), URL.Length());
return *aURL ? S_OK : E_OUTOFMEMORY;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
sdnDocAccessible::get_title(BSTR __RPC_FAR* aTitle)
{
A11Y_TRYBLOCK_BEGIN
if (!aTitle)
return E_INVALIDARG;
*aTitle = nullptr;
@@ -60,15 +54,11 @@ sdnDocAccessible::get_title(BSTR __RPC_FAR* aTitle)
mAccessible->Title(title);
*aTitle = ::SysAllocStringLen(title.get(), title.Length());
return *aTitle ? S_OK : E_OUTOFMEMORY;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
sdnDocAccessible::get_mimeType(BSTR __RPC_FAR* aMimeType)
{
A11Y_TRYBLOCK_BEGIN
if (!aMimeType)
return E_INVALIDARG;
*aMimeType = nullptr;
@@ -83,15 +73,11 @@ sdnDocAccessible::get_mimeType(BSTR __RPC_FAR* aMimeType)
*aMimeType = ::SysAllocStringLen(mimeType.get(), mimeType.Length());
return *aMimeType ? S_OK : E_OUTOFMEMORY;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
sdnDocAccessible::get_docType(BSTR __RPC_FAR* aDocType)
{
A11Y_TRYBLOCK_BEGIN
if (!aDocType)
return E_INVALIDARG;
*aDocType = nullptr;
@@ -106,16 +92,12 @@ sdnDocAccessible::get_docType(BSTR __RPC_FAR* aDocType)
*aDocType = ::SysAllocStringLen(docType.get(), docType.Length());
return *aDocType ? S_OK : E_OUTOFMEMORY;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
sdnDocAccessible::get_nameSpaceURIForID(short aNameSpaceID,
BSTR __RPC_FAR* aNameSpaceURI)
{
A11Y_TRYBLOCK_BEGIN
if (!aNameSpaceURI)
return E_INVALIDARG;
*aNameSpaceURI = nullptr;
@@ -138,20 +120,14 @@ sdnDocAccessible::get_nameSpaceURIForID(short aNameSpaceID,
nameSpaceURI.Length());
return *aNameSpaceURI ? S_OK : E_OUTOFMEMORY;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
sdnDocAccessible::put_alternateViewMediaTypes(BSTR __RPC_FAR* aCommaSeparatedMediaTypes)
{
A11Y_TRYBLOCK_BEGIN
if (!aCommaSeparatedMediaTypes)
return E_INVALIDARG;
*aCommaSeparatedMediaTypes = nullptr;
return mAccessible->IsDefunct() ? CO_E_OBJNOTCONNECTED : E_NOTIMPL;
A11Y_TRYBLOCK_END
}
@@ -33,8 +33,6 @@ IMPL_IUNKNOWN_QUERY_TAIL_AGGREGATED(mAccessible)
STDMETHODIMP
sdnTextAccessible::get_domText(BSTR __RPC_FAR* aText)
{
A11Y_TRYBLOCK_BEGIN
if (!aText)
return E_INVALIDARG;
*aText = nullptr;
@@ -51,8 +49,6 @@ sdnTextAccessible::get_domText(BSTR __RPC_FAR* aText)
*aText = ::SysAllocStringLen(nodeValue.get(), nodeValue.Length());
return *aText ? S_OK : E_OUTOFMEMORY;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
@@ -63,8 +59,6 @@ sdnTextAccessible::get_clippedSubstringBounds(unsigned int aStartIndex,
int __RPC_FAR* aWidth,
int __RPC_FAR* aHeight)
{
A11Y_TRYBLOCK_BEGIN
nscoord x = 0, y = 0, width = 0, height = 0;
HRESULT rv = get_unclippedSubstringBounds(aStartIndex, aEndIndex,
&x, &y, &width, &height);
@@ -86,8 +80,6 @@ sdnTextAccessible::get_clippedSubstringBounds(unsigned int aStartIndex,
*aWidth = clippedRect.width;
*aHeight = clippedRect.height;
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
@@ -98,8 +90,6 @@ sdnTextAccessible::get_unclippedSubstringBounds(unsigned int aStartIndex,
int __RPC_FAR* aWidth,
int __RPC_FAR* aHeight)
{
A11Y_TRYBLOCK_BEGIN
if (!aX || !aY || !aWidth || !aHeight)
return E_INVALIDARG;
*aX = *aY = *aWidth = *aHeight = 0;
@@ -135,16 +125,12 @@ sdnTextAccessible::get_unclippedSubstringBounds(unsigned int aStartIndex,
*aHeight = presContext->AppUnitsToDevPixels(sum.height);
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
sdnTextAccessible::scrollToSubstring(unsigned int aStartIndex,
unsigned int aEndIndex)
{
A11Y_TRYBLOCK_BEGIN
if (mAccessible->IsDefunct())
return CO_E_OBJNOTCONNECTED;
@@ -159,15 +145,11 @@ sdnTextAccessible::scrollToSubstring(unsigned int aStartIndex,
nsCoreUtils::ScrollSubstringTo(mAccessible->GetFrame(), range,
nsIAccessibleScrollType::SCROLL_TYPE_ANYWHERE);
return GetHRESULT(rv);
A11Y_TRYBLOCK_END
}
STDMETHODIMP
sdnTextAccessible::get_fontFamily(BSTR __RPC_FAR* aFontFamily)
{
A11Y_TRYBLOCK_BEGIN
if (!aFontFamily)
return E_INVALIDARG;
*aFontFamily = nullptr;
@@ -189,8 +171,6 @@ sdnTextAccessible::get_fontFamily(BSTR __RPC_FAR* aFontFamily)
*aFontFamily = ::SysAllocStringLen(name.get(), name.Length());
return *aFontFamily ? S_OK : E_OUTOFMEMORY;
A11Y_TRYBLOCK_END
}
nsIFrame*
@@ -28,24 +28,18 @@ STDMETHODIMP
uiaRawElmProvider::GetObjectForChild(long aIdChild,
__RPC__deref_out_opt IAccessibleEx** aAccEx)
{
A11Y_TRYBLOCK_BEGIN
if (!aAccEx)
return E_INVALIDARG;
*aAccEx = nullptr;
return mAcc->IsDefunct() ? CO_E_OBJNOTCONNECTED : S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
uiaRawElmProvider::GetIAccessiblePair(__RPC__deref_out_opt IAccessible** aAcc,
__RPC__out long* aIdChild)
{
A11Y_TRYBLOCK_BEGIN
if (!aAcc || !aIdChild)
return E_INVALIDARG;
@@ -60,15 +54,11 @@ uiaRawElmProvider::GetIAccessiblePair(__RPC__deref_out_opt IAccessible** aAcc,
mAcc->AddRef();
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
uiaRawElmProvider::GetRuntimeId(__RPC__deref_out_opt SAFEARRAY** aRuntimeIds)
{
A11Y_TRYBLOCK_BEGIN
if (!aRuntimeIds)
return E_INVALIDARG;
@@ -81,16 +71,12 @@ uiaRawElmProvider::GetRuntimeId(__RPC__deref_out_opt SAFEARRAY** aRuntimeIds)
SafeArrayPutElement(*aRuntimeIds, &i, (void*)&(ids[i]));
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
uiaRawElmProvider::ConvertReturnedElement(__RPC__in_opt IRawElementProviderSimple* aRawElmProvider,
__RPC__deref_out_opt IAccessibleEx** aAccEx)
{
A11Y_TRYBLOCK_BEGIN
if (!aRawElmProvider || !aAccEx)
return E_INVALIDARG;
@@ -102,8 +88,6 @@ uiaRawElmProvider::ConvertReturnedElement(__RPC__in_opt IRawElementProviderSimpl
*aAccEx = static_cast<IAccessibleEx*>(instancePtr);
return hr;
A11Y_TRYBLOCK_END
}
////////////////////////////////////////////////////////////////////////////////
@@ -112,39 +96,29 @@ uiaRawElmProvider::ConvertReturnedElement(__RPC__in_opt IRawElementProviderSimpl
STDMETHODIMP
uiaRawElmProvider::get_ProviderOptions(__RPC__out enum ProviderOptions* aOptions)
{
A11Y_TRYBLOCK_BEGIN
if (!aOptions)
return E_INVALIDARG;
// This method is not used with IAccessibleEx implementations.
*aOptions = ProviderOptions_ServerSideProvider;
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
uiaRawElmProvider::GetPatternProvider(PATTERNID aPatternId,
__RPC__deref_out_opt IUnknown** aPatternProvider)
{
A11Y_TRYBLOCK_BEGIN
if (!aPatternProvider)
return E_INVALIDARG;
*aPatternProvider = nullptr;
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
uiaRawElmProvider::GetPropertyValue(PROPERTYID aPropertyId,
__RPC__out VARIANT* aPropertyValue)
{
A11Y_TRYBLOCK_BEGIN
if (!aPropertyValue)
return E_INVALIDARG;
@@ -226,21 +200,15 @@ uiaRawElmProvider::GetPropertyValue(PROPERTYID aPropertyId,
}
return S_OK;
A11Y_TRYBLOCK_END
}
STDMETHODIMP
uiaRawElmProvider::get_HostRawElementProvider(__RPC__deref_out_opt IRawElementProviderSimple** aRawElmProvider)
{
A11Y_TRYBLOCK_BEGIN
if (!aRawElmProvider)
return E_INVALIDARG;
// This method is not used with IAccessibleEx implementations.
*aRawElmProvider = nullptr;
return S_OK;
A11Y_TRYBLOCK_END
}
Vendored
-1
View File
@@ -27,7 +27,6 @@ builtin(include, build/autoconf/icu.m4)dnl
builtin(include, build/autoconf/clang-plugin.m4)dnl
builtin(include, build/autoconf/alloc.m4)dnl
builtin(include, build/autoconf/ios.m4)dnl
builtin(include, build/autoconf/jemalloc.m4)dnl
builtin(include, build/autoconf/sanitize.m4)dnl
MOZ_PROG_CHECKMSYS()
File renamed without changes.
+13
View File
@@ -0,0 +1,13 @@
Please see the file ../toolkit/content/license.html for the copyright
licensing conditions attached to this codebase, including copies of the
licenses concerned.
You are not granted rights or licenses to the trademarks of Moonchild
Productions or any other party, including without limitation the
Basilisk name or logo.
The Serpent logo in branding/unofficial is derived from "Sea Serpent"
by Lorc, licensed under the Creative Commons license CC-BY 3.0
For individual licensing restrictions on branding, see the LICENSE
files in the appropriate branding directories.
File renamed without changes.
File renamed without changes.
+15
View File
@@ -0,0 +1,15 @@
# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
include('/toolkit/toolkit.mozbuild')
if CONFIG['MOZ_EXTENSIONS']:
DIRS += ['/extensions']
DIRS += ['/%s' % CONFIG['MOZ_BRANDING_DIRECTORY']]
# Never add dirs after the browser root because they apparently won't
# get packaged properly on Mac.
DIRS += ['/application/basilisk']
+96
View File
@@ -0,0 +1,96 @@
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
dist_dest = $(DIST)/$(MOZ_MACBUNDLE_NAME)
# hardcode en-US for the moment
AB_CD = en-US
# Build a binary bootstrapping with XRE_main
ifndef MOZ_WINCONSOLE
ifneq (,$(MOZ_DEBUG)$(MOZ_ASAN))
MOZ_WINCONSOLE = 1
else
MOZ_WINCONSOLE = 0
endif
endif
# This switches $(INSTALL) to copy mode, like $(SYSINSTALL), so things that
# shouldn't get 755 perms need $(IFLAGS1) for either way of calling nsinstall.
NSDISTMODE = copy
include $(topsrcdir)/config/config.mk
ifeq ($(OS_ARCH),WINNT)
# Rebuild firefox.exe if the manifest changes - it's included by splash.rc.
# (this dependency should really be just for firefox.exe, not other targets)
# Note the manifest file exists in the tree, so we use the explicit filename
# here.
EXTRA_DEPS += basilisk.exe.manifest
endif
PROGRAMS_DEST = $(DIST)/bin
include $(topsrcdir)/config/rules.mk
ifneq (,$(filter-out WINNT,$(OS_ARCH)))
ifdef COMPILE_ENVIRONMENT
libs::
cp -p $(MOZ_APP_NAME)$(BIN_SUFFIX) $(DIST)/bin/$(MOZ_APP_NAME)-bin$(BIN_SUFFIX)
endif
GARBAGE += $(addprefix $(FINAL_TARGET)/defaults/pref/, basilisk.js)
endif
# channel-prefs.js is handled separate from other prefs due to bug 756325
libs:: $(srcdir)/profile/channel-prefs.js
$(NSINSTALL) -D $(DIST)/bin/defaults/pref
$(call py_action,preprocessor,-Fsubstitution $(PREF_PPFLAGS) $(ACDEFINES) $^ -o $(DIST)/bin/defaults/pref/channel-prefs.js)
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
MAC_APP_NAME = $(MOZ_APP_DISPLAYNAME)
ifdef MOZ_DEBUG
MAC_APP_NAME := $(MAC_APP_NAME)Debug
endif
AB_CD = $(MOZ_UI_LOCALE)
ifeq (zh-TW,$(AB_CD))
LPROJ_ROOT := $(subst -,_,$(AB_CD))
else
LPROJ_ROOT := $(firstword $(subst -, ,$(AB_CD)))
endif
LPROJ := Contents/Resources/$(LPROJ_ROOT).lproj
clean clobber repackage::
$(RM) -r $(dist_dest)
MAC_BUNDLE_VERSION = $(shell $(PYTHON) $(srcdir)/macversion.py --version=$(MOZ_APP_VERSION) --buildid=$(DEPTH)/buildid.h)
.PHONY: repackage
tools repackage:: $(DIST)/bin/$(MOZ_APP_NAME)
$(MKDIR) -p $(dist_dest)/Contents/MacOS
$(MKDIR) -p $(dist_dest)/$(LPROJ)
rsync -a --exclude '*.in' $(srcdir)/macbuild/Contents $(dist_dest) --exclude English.lproj
rsync -a --exclude '*.in' $(srcdir)/macbuild/Contents/Resources/English.lproj/ $(dist_dest)/$(LPROJ)
sed -e 's/%APP_VERSION%/$(MOZ_APP_VERSION)/' -e 's/%MAC_APP_NAME%/$(MAC_APP_NAME)/' -e 's/%MOZ_MACBUNDLE_ID%/$(MOZ_MACBUNDLE_ID)/' -e 's/%MAC_BUNDLE_VERSION%/$(MAC_BUNDLE_VERSION)/' $(srcdir)/macbuild/Contents/Info.plist.in > $(dist_dest)/Contents/Info.plist
sed -e 's/%MAC_APP_NAME%/$(MAC_APP_NAME)/' $(srcdir)/macbuild/Contents/Resources/English.lproj/InfoPlist.strings.in | iconv -f UTF-8 -t UTF-16 > $(dist_dest)/$(LPROJ)/InfoPlist.strings
rsync -a --exclude-from='$(srcdir)/macbuild/Contents/MacOS-files.in' $(DIST)/bin/ $(dist_dest)/Contents/Resources
rsync -a --include-from='$(srcdir)/macbuild/Contents/MacOS-files.in' --exclude '*' $(DIST)/bin/ $(dist_dest)/Contents/MacOS
$(RM) $(dist_dest)/Contents/MacOS/$(MOZ_APP_NAME)
rsync -aL $(DIST)/bin/$(MOZ_APP_NAME) $(dist_dest)/Contents/MacOS
cp -RL $(DIST)/branding/firefox.icns $(dist_dest)/Contents/Resources/firefox.icns
cp -RL $(DIST)/branding/document.icns $(dist_dest)/Contents/Resources/document.icns
ifdef MOZ_UPDATER
$(MKDIR) -p $(dist_dest)/Contents/Library/LaunchServices
mv -f $(dist_dest)/Contents/MacOS/updater.app/Contents/MacOS/org.mozilla.updater $(dist_dest)/Contents/Library/LaunchServices
ln -s ../../../../Library/LaunchServices/org.mozilla.updater $(dist_dest)/Contents/MacOS/updater.app/Contents/MacOS/org.mozilla.updater
endif
printf APPLMOZB > $(dist_dest)/Contents/PkgInfo
endif
+50
View File
@@ -0,0 +1,50 @@
#if MOZ_APP_STATIC_INI
#ifdef MOZ_BUILD_APP_IS_BROWSER
; This file is not used. If you modify it and want the application to use
; your modifications, move it under the browser/ subdirectory and start with
; the "-app /path/to/browser/application.ini" argument.
#else
; This file is not used. If you modify it and want the application to use
; your modifications, start with the "-app /path/to/application.ini"
; argument.
#endif
#endif
#if 0
; This Source Code Form is subject to the terms of the Mozilla Public
; License, v. 2.0. If a copy of the MPL was not distributed with this
; file, You can obtain one at http://mozilla.org/MPL/2.0/.
#endif
#filter substitution
#include @TOPOBJDIR@/buildid.h
#include @TOPOBJDIR@/source-repo.h
[App]
# Vendor=@MOZ_APP_VENDOR@
Vendor=Moonchild Productions
# Name=@MOZ_APP_BASENAME@
Name=Basilisk
RemotingName=@MOZ_APP_REMOTINGNAME@
#ifdef MOZ_APP_DISPLAYNAME
CodeName=@MOZ_APP_DISPLAYNAME@
#endif
Version=@MOZ_APP_VERSION@
#ifdef MOZ_APP_PROFILE
Profile=@MOZ_APP_PROFILE@
#endif
BuildID=@MOZ_BUILDID@
#ifdef MOZ_SOURCE_REPO
SourceRepository=@MOZ_SOURCE_REPO@
#endif
#ifdef MOZ_SOURCE_STAMP
SourceStamp=@MOZ_SOURCE_STAMP@
#endif
ID=@MOZ_APP_ID@
[Gecko]
MinVersion=@GRE_MILESTONE@
MaxVersion=@GRE_MILESTONE@
[XRE]
#ifdef MOZ_PROFILE_MIGRATOR
EnableProfileMigrator=1
#endif
File diff suppressed because it is too large. Load diff
@@ -0,0 +1,229 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleDocumentTypes</key>
<array>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>html</string>
<string>htm</string>
<string>shtml</string>
<string>xht</string>
<string>xhtml</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>document.icns</string>
<key>CFBundleTypeName</key>
<string>HTML Document</string>
<key>CFBundleTypeOSTypes</key>
<array>
<string>HTML</string>
</array>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
</dict>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>svg</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>document.icns</string>
<key>CFBundleTypeMIMETypes</key>
<array>
<string>image/svg+xml</string>
</array>
<key>CFBundleTypeName</key>
<string>SVG document</string>
<key>CFBundleTypeOSTypes</key>
<array>
<string>TEXT</string>
</array>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
<key>NSDocumentClass</key>
<string>BrowserDocument</string>
</dict>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>text</string>
<string>txt</string>
<string>js</string>
<string>log</string>
<string>css</string>
<string>xul</string>
<string>rdf</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>document.icns</string>
<key>CFBundleTypeName</key>
<string>Text Document</string>
<key>CFBundleTypeOSTypes</key>
<array>
<string>TEXT</string>
<string>utxt</string>
</array>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
</dict>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>jpeg</string>
<string>jpg</string>
<string>png</string>
<string>gif</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>fileBookmark.icns</string>
<key>CFBundleTypeName</key>
<string>document.icns</string>
<key>CFBundleTypeOSTypes</key>
<array>
<string>GIFf</string>
<string>JPEG</string>
<string>PNGf</string>
</array>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
</dict>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>oga</string>
<string>ogg</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>document.icns</string>
<key>CFBundleTypeMIMETypes</key>
<array>
<string>audio/ogg</string>
</array>
<key>CFBundleTypeName</key>
<string>HTML5 Audio (Ogg)</string>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
</dict>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>ogv</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>document.icns</string>
<key>CFBundleTypeMIMETypes</key>
<array>
<string>video/ogg</string>
</array>
<key>CFBundleTypeName</key>
<string>HTML5 Video (Ogg)</string>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
</dict>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>webm</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>document.icns</string>
<key>CFBundleTypeMIMETypes</key>
<array>
<string>video/webm</string>
</array>
<key>CFBundleTypeName</key>
<string>HTML5 Video (WebM)</string>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
</dict>
</array>
<key>CFBundleExecutable</key>
<string>basilisk</string>
<key>CFBundleGetInfoString</key>
<string>%MAC_APP_NAME% %APP_VERSION%</string>
<key>CFBundleIconFile</key>
<string>firefox.icns</string>
<key>CFBundleIdentifier</key>
<string>%MOZ_MACBUNDLE_ID%</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>%MAC_APP_NAME%</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>%APP_VERSION%</string>
<key>CFBundleSignature</key>
<string>MOZB</string>
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleURLIconFile</key>
<string>document.icns</string>
<key>CFBundleURLName</key>
<string>http URL</string>
<key>CFBundleURLSchemes</key>
<array>
<string>http</string>
</array>
</dict>
<dict>
<key>CFBundleURLIconFile</key>
<string>document.icns</string>
<key>CFBundleURLName</key>
<string>https URL</string>
<key>CFBundleURLSchemes</key>
<array>
<string>https</string>
</array>
</dict>
<dict>
<key>CFBundleURLName</key>
<string>ftp URL</string>
<key>CFBundleURLSchemes</key>
<array>
<string>ftp</string>
</array>
</dict>
<dict>
<key>CFBundleURLName</key>
<string>file URL</string>
<key>CFBundleURLSchemes</key>
<array>
<string>file</string>
</array>
</dict>
</array>
<key>CFBundleVersion</key>
<string>%MAC_BUNDLE_VERSION%</string>
<key>NSAppleScriptEnabled</key>
<true/>
<key>LSApplicationCategoryType</key>
<string>public.app-category.productivity</string>
<key>LSEnvironment</key>
<dict>
<key>MallocNanoZone</key>
<string>0</string>
</dict>
<key>LSFileQuarantineEnabled</key>
<true/>
<key>LSMinimumSystemVersion</key>
<string>10.7.0</string>
<key>NSSupportsAutomaticGraphicsSwitching</key>
<true/>
<key>NSPrincipalClass</key>
<string>GeckoNSApplication</string>
<key>SMPrivilegedExecutables</key>
<dict>
<key>org.mozilla.updater</key>
<string>identifier "org.mozilla.updater" and ((anchor apple generic and certificate leaf[field.1.2.840.113635.100.6.1.9]) or (anchor apple generic and certificate 1[field.1.2.840.113635.100.6.2.6] and certificate leaf[field.1.2.840.113635.100.6.1.13] and certificate leaf[subject.OU] = "43AQ936H96"))</string>
</dict>
<key>NSDisablePersistence</key>
<true/>
</dict>
</plist>
File renamed without changes.
File renamed without changes.
+75
View File
@@ -0,0 +1,75 @@
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
DIRS += ['profile/extensions']
GeckoProgram(CONFIG['MOZ_APP_NAME'])
JS_PREFERENCE_PP_FILES += [
'profile/basilisk.js',
]
SOURCES += [
'nsBrowserApp.cpp',
]
FINAL_TARGET_FILES += ['blocklist.xml']
FINAL_TARGET_FILES.defaults.profile += ['profile/prefs.js']
FINAL_TARGET_FILES.defaults += ['permissions']
DEFINES['APP_VERSION'] = CONFIG['MOZ_APP_VERSION']
LOCAL_INCLUDES += [
'!/build',
'/toolkit/xre',
'/xpcom/base',
'/xpcom/build',
]
USE_LIBS += [
'mozglue',
]
if CONFIG['LIBFUZZER']:
USE_LIBS += [ 'fuzzer' ]
if CONFIG['_MSC_VER']:
# Always enter a Windows program through wmain, whether or not we're
# a console application.
WIN32_EXE_LDFLAGS += ['-ENTRY:wmainCRTStartup']
if CONFIG['OS_ARCH'] == 'WINNT':
RCINCLUDE = 'splash.rc'
DEFINES['MOZ_PHOENIX'] = True
for cdm in CONFIG['MOZ_EME_MODULES']:
DEFINES['MOZ_%s_EME' % cdm.upper()] = True
# Control the default heap size.
# This is the heap returned by GetProcessHeap().
# As we use the CRT heap, the default size is too large and wastes VM.
#
# The default heap size is 1MB on Win32.
# The heap will grow if need be.
#
# Set it to 256k. See bug 127069.
if CONFIG['OS_ARCH'] == 'WINNT' and not CONFIG['GNU_CC']:
LDFLAGS += ['/HEAP:0x40000']
DISABLE_STL_WRAPPING = True
if CONFIG['MOZ_LINKER']:
OS_LIBS += CONFIG['MOZ_ZLIB_LIBS']
if CONFIG['HAVE_CLOCK_MONOTONIC']:
OS_LIBS += CONFIG['REALTIME_LIBS']
if CONFIG['MOZ_GPSD']:
DEFINES['MOZ_GPSD'] = True
for icon in ('firefox', 'document', 'newwindow', 'newtab', 'pbmode'):
DEFINES[icon.upper() + '_ICO'] = '"%s/dist/branding/%s.ico"' % (
TOPOBJDIR, icon)
@@ -24,16 +24,8 @@
#include "nsStringGlue.h"
#ifdef XP_WIN
#ifdef MOZ_ASAN
// ASAN requires basilisk.exe to be built with -MD, and it's OK if we don't
// support Windows XP SP2 in ASAN builds.
#define XRE_DONT_SUPPORT_XPSP2
#endif
#define XRE_WANT_ENVIRON
#define strcasecmp _stricmp
#ifdef MOZ_SANDBOX
#include "mozilla/sandboxing/SandboxInitialization.h"
#endif
#endif
#include "BinaryPath.h"
@@ -43,8 +35,7 @@
#include "mozilla/Telemetry.h"
#include "mozilla/WindowsDllBlocklist.h"
#if !defined(MOZ_WIDGET_COCOA) && !defined(MOZ_WIDGET_ANDROID) \
&& !(defined(XP_LINUX) && defined(MOZ_SANDBOX))
#if !defined(MOZ_WIDGET_COCOA) && !defined(MOZ_WIDGET_ANDROID)
#define MOZ_BROWSER_CAN_BE_CONTENTPROC
#include "../../ipc/contentproc/plugin-container.cpp"
#endif
@@ -206,13 +197,7 @@ static int do_main(int argc, char* argv[], char* envp[], nsIFile *xreDirectory)
argv[i] = argv[i + 1];
}
XREShellData shellData;
#if defined(XP_WIN) && defined(MOZ_SANDBOX)
shellData.sandboxBrokerServices =
sandboxing::GetInitializedBrokerServices();
#endif
return XRE_XPCShellMain(--argc, argv, envp, &shellData);
return XRE_XPCShellMain(--argc, argv, envp);
}
if (appini) {
@@ -262,18 +247,6 @@ static int do_main(int argc, char* argv[], char* envp[], nsIFile *xreDirectory)
DllBlocklist_CheckStatus() ? NS_XRE_DLL_BLOCKLIST_ENABLED : 0;
#endif
#if defined(XP_WIN) && defined(MOZ_SANDBOX)
sandbox::BrokerServices* brokerServices =
sandboxing::GetInitializedBrokerServices();
#if defined(MOZ_CONTENT_SANDBOX)
if (!brokerServices) {
Output("Couldn't initialize the broker services.\n");
return 255;
}
#endif
appData.sandboxBrokerServices = brokerServices;
#endif
#ifdef LIBFUZZER
if (getenv("LIBFUZZER"))
XRE_LibFuzzerSetMain(argc, argv, libfuzzer_main);
@@ -375,15 +348,6 @@ int main(int argc, char* argv[], char* envp[])
// We are launching as a content process, delegate to the appropriate
// main
if (argc > 1 && IsArg(argv[1], "contentproc")) {
#if defined(XP_WIN) && defined(MOZ_SANDBOX)
// We need to initialize the sandbox TargetServices before InitXPCOMGlue
// because we might need the sandbox broker to give access to some files.
if (IsSandboxedProcess() && !sandboxing::GetInitializedTargetServices()) {
Output("Failed to initialize the sandbox target services.");
return 255;
}
#endif
nsresult rv = InitXPCOMGlue(argv[0], nullptr);
if (NS_FAILED(rv)) {
return 255;
+15
View File
@@ -0,0 +1,15 @@
# This file has default permissions for the permission manager.
# The file-format is strict:
# * matchtype \t type \t permission \t host
# * "origin" should be used for matchtype, "host" is supported for legacy reasons
# * type is a string that identifies the type of permission (e.g. "cookie")
# * permission is an integer between 1 and 15
# See nsPermissionManager.cpp for more...
# XPInstall
origin install 1 https://addons.mozilla.org
origin install 1 https://testpilot.firefox.com
# Remote troubleshooting
origin remote-troubleshooting 1 https://input.mozilla.org
origin remote-troubleshooting 1 https://support.mozilla.org
File diff suppressed because it is too large. Load diff
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -40,16 +40,23 @@ function init(aEvent)
// Pref is unset
}
// Include the build ID and display warning if this is an "a#" (nightly or aurora) build
// Include the build ID
let versionField = document.getElementById("version");
let version = Services.appinfo.version;
let buildID = Services.appinfo.appBuildID;
let year = buildID.slice(0, 4);
let month = buildID.slice(4, 6);
let day = buildID.slice(6, 8);
let hour = buildID.slice(8, 10);
let minute = buildID.slice(10, 12);
if (Services.prefs.getBoolPref("general.useragent.appVersionIsBuildID")) {
versionField.textContent = `${year}.${month}.${day}`;
} else {
versionField.textContent = `v` + version + ` (${year}-${month}-${day})`;
}
// Display warning if this is an "a#" (nightly or aurora) build
if (/a\d+$/.test(version)) {
let buildID = Services.appinfo.appBuildID;
let year = buildID.slice(0, 4);
let month = buildID.slice(4, 6);
let day = buildID.slice(6, 8);
versionField.textContent += ` (${year}-${month}-${day})`;
document.getElementById("experimental").hidden = false;
document.getElementById("communityDesc").hidden = true;
}
@@ -45,7 +45,7 @@
<vbox id="leftBox" flex="1"/>
<vbox id="rightBox" flex="1">
<hbox align="baseline">
#expand <label id="version">__MOZ_APP_VERSION_DISPLAY__</label>
#expand <label id="version"></label>
#ifndef NIGHTLY_BUILD
<label id="releasenotes" class="text-link">&releaseNotes.link;</label>
#endif
@@ -120,20 +120,20 @@
<vbox id="experimental" hidden="true">
<description class="text-blurb" id="warningDesc">
&warningDesc.version;
#ifdef MOZ_TELEMETRY_ON_BY_DEFAULT
&warningDesc.telemetryDesc;
#endif
</description>
<description class="text-blurb" id="communityExperimentalDesc">
&community.exp.start;<label class="text-link" href="http://www.mozilla.org/">&community.exp.mozillaLink;</label>&community.exp.middle;<label class="text-link" useoriginprincipal="true" href="about:credits">&community.exp.creditsLink;</label>&community.exp.end;
</description>
</vbox>
#ifdef MC_PRIVATE_BUILD
<description class="text-blurb" id="communityDesc">
This is a private build of Basilisk. If you did not manually build this copy from source yourself, then please download an official version from the <label class="text-link" href="http://www.basilisk-browser.org/">Basilisk website</label>.
</description>
#else
<description class="text-blurb" id="communityDesc">
&community.start2;<label class="text-link" href="http://www.mozilla.org/">&community.mozillaLink;</label>&community.middle2;<label class="text-link" useoriginprincipal="true" href="about:credits">&community.creditsLink;</label>&community.end3;
Basilisk is community software released by <label class="text-link" href="http://www.palemoon.org/">the Pale Moon team</label> and Mozilla developers. Learn <label class="text-link" useoriginprincipal="true" href="about:credits">who contributed</label> to this software.
</description>
<description class="text-blurb" id="contributeDesc">
&helpus.start;<label class="text-link" href="https://sendto.mozilla.org/page/contribute/Give-Now?source=mozillaorg_default_footer&#38;ref=firefox_about&#38;utm_campaign=firefox_about&#38;tm_source=firefox&#38;tm_medium=referral&#38;utm_content=20140929_FireFoxAbout">&helpus.donateLink;</label>&helpus.middle;<label class="text-link" href="http://www.mozilla.org/contribute/">&helpus.getInvolvedLink;</label>&helpus.end;
Want to help? Please consider <label class="text-link" href="https://www.palemoon.org/donations.shtml">donating</label> or get involved with our <label class="text-link" href="https://github.com/MoonchildProductions/UXP">development</label> of the Unified XUL Platform.
</description>
#endif
</vbox>
</vbox>
</hbox>
@@ -141,7 +141,7 @@
<hbox pack="center">
<label class="text-link bottom-link" useoriginprincipal="true" href="about:license">&bottomLinks.license;</label>
<label class="text-link bottom-link" useoriginprincipal="true" href="about:rights">&bottomLinks.rights;</label>
<label class="text-link bottom-link" href="https://www.mozilla.org/privacy/">&bottomLinks.privacy;</label>
<label class="text-link bottom-link" href="https://www.palemoon.org/privacy.shtml">&bottomLinks.privacy;</label>
</hbox>
<description id="trademark">&trademarkInfo.part1;</description>
</vbox>
@@ -96,11 +96,6 @@
return (node.style.display = toggle[node.style.display]);
}
function showCertificateErrorReporting() {
// Display error reporting UI
document.getElementById("certificateErrorReporting").style.display = "block";
}
function showPrefChangeContainer() {
const panel = document.getElementById("prefChangeContainer");
panel.style.display = "block";
@@ -128,13 +123,6 @@
document.getElementById("advancedButton")
.addEventListener("click", function togglePanelVisibility() {
toggleDisplay(panel);
if (gIsCertError) {
// Toggling the advanced panel must ensure that the debugging
// information panel is hidden as well, since it's opened by the
// error code link in the advanced panel.
var div = document.getElementById("certificateErrorDebugInformation");
div.style.display = "none";
}
if (panel.style.display == "block") {
// send event to trigger telemetry ping
@@ -154,11 +142,6 @@
if (getCSSClass() == "expertBadCert") {
toggleDisplay(document.getElementById("badCertAdvancedPanel"));
// Toggling the advanced panel must ensure that the debugging
// information panel is hidden as well, since it's opened by the
// error code link in the advanced panel.
var div = document.getElementById("certificateErrorDebugInformation");
div.style.display = "none";
}
disallowCertOverridesIfNeeded();
@@ -229,9 +212,6 @@
}
if (err == "sslv3Used") {
document.getElementById("learnMoreContainer").style.display = "block";
var learnMoreLink = document.getElementById("learnMoreLink");
learnMoreLink.href = "https://support.mozilla.org/kb/how-resolve-sslv3-error-messages-firefox";
document.body.className = "certerror";
}
@@ -275,32 +255,6 @@
window.addEventListener("AboutNetErrorOptions", function(evt) {
// Pinning errors are of type nssFailure2
if (getErrorCode() == "nssFailure2" || getErrorCode() == "weakCryptoUsed") {
document.getElementById("learnMoreContainer").style.display = "block";
var learnMoreLink = document.getElementById("learnMoreLink");
// nssFailure2 also gets us other non-overrideable errors. Choose
// a "learn more" link based on description:
if (getDescription().includes("mozilla_pkix_error_key_pinning_failure")) {
learnMoreLink.href = "https://support.mozilla.org/kb/certificate-pinning-reports";
}
if (getErrorCode() == "weakCryptoUsed") {
learnMoreLink.href = "https://support.mozilla.org/kb/how-resolve-weak-crypto-error-messages-firefox";
}
var options = JSON.parse(evt.detail);
if (options && options.enabled) {
var checkbox = document.getElementById("automaticallyReportInFuture");
showCertificateErrorReporting();
if (options.automatic) {
// set the checkbox
checkbox.checked = true;
}
checkbox.addEventListener("change", function(evt) {
var event = new CustomEvent("AboutNetErrorSetAutomatic",
{bubbles:true, detail:evt.target.checked});
document.dispatchEvent(event);
}, false);
}
const hasPrefStyleError = [
"interrupted", // This happens with subresources that are above the max tls
"SSL_ERROR_PROTOCOL_VERSION_ALERT",
@@ -332,7 +286,7 @@
}
}
addDomainErrorLinks();
addDomainErrorLink();
}
function initPageCaptivePortal()
@@ -349,7 +303,7 @@
addAutofocus("openPortalLoginPageButton");
setupAdvancedButton(true);
addDomainErrorLinks();
addDomainErrorLink();
// When the portal is freed, an event is generated by the frame script
// that we can pick up and attempt to reload the original page.
@@ -368,31 +322,10 @@
addAutofocus("returnButton");
setupAdvancedButton(true);
document.getElementById("learnMoreContainer").style.display = "block";
let checkbox = document.getElementById("automaticallyReportInFuture");
checkbox.addEventListener("change", function({target: {checked}}) {
document.dispatchEvent(new CustomEvent("AboutNetErrorSetAutomatic", {
detail: checked,
bubbles: true
}));
});
addEventListener("AboutNetErrorOptions", function(event) {
var options = JSON.parse(event.detail);
if (options && options.enabled) {
// Display error reporting UI
document.getElementById("certificateErrorReporting").style.display = "block";
// set the checkbox
checkbox.checked = !!options.automatic;
}
}, true, true);
let event = new CustomEvent("AboutNetErrorLoad", {bubbles:true});
document.getElementById("advancedButton").dispatchEvent(event);
addDomainErrorLinks();
addDomainErrorLink();
}
/* Only do autofocus if we're the toplevel frame; otherwise we
@@ -411,16 +344,13 @@
}
}
/* Try to preserve the links contained in the error description, like
the error code.
Also, in the case of SSL error pages about domain mismatch, see if
/* In the case of SSL error pages about domain mismatch, see if
we can hyperlink the user to the correct site. We don't want
to do this generically since it allows MitM attacks to redirect
users to a site under attacker control, but in certain cases
it is safe (and helpful!) to do so. Bug 402210
*/
function addDomainErrorLinks() {
function addDomainErrorLink() {
// Rather than textContent, we need to treat description as HTML
var sdid = gIsCertError ? "badCertTechnicalInfo" : "errorShortDescText";
var sd = document.getElementById(sdid);
@@ -429,50 +359,28 @@
// sanitize description text - see bug 441169
// First, find the index of the <a> tags we care about, being
// First, find the index of the <a> tag we care about, being
// careful not to use an over-greedy regex.
var codeRe = /<a id="errorCode" title="([^"]+)">/;
var codeResult = codeRe.exec(desc);
var domainRe = /<a id="cert_domain_link" title="([^"]+)">/;
var domainResult = domainRe.exec(desc);
var re = /<a id="cert_domain_link" title="([^"]+)">/;
var result = domainRe.exec(desc);
// The order of these links in the description is fixed in
// TransportSecurityInfo.cpp:formatOverridableCertErrorMessage.
var firstResult = domainResult;
if (!domainResult)
firstResult = codeResult;
if (!firstResult)
if (!result)
return;
// Remove sd's existing children
sd.textContent = "";
// Everything up to the first link should be text content.
sd.appendChild(document.createTextNode(desc.slice(0, firstResult.index)));
// Everything up to the link should be text content.
sd.appendChild(document.createTextNode(desc.slice(0, result.index)));
// Now create the actual links.
if (domainResult) {
createLink(sd, "cert_domain_link", domainResult[1])
// Append text for anything between the two links.
sd.appendChild(document.createTextNode(desc.slice(desc.indexOf("</a>") + "</a>".length, codeResult.index)));
}
createLink(sd, "errorCode", codeResult[1])
// Now create the link itself.
var anchorEl = document.createElement("a");
anchorEl.setAttribute("id", "cert_domain_link");
anchorEl.setAttribute("title", result[1]);
anchorEl.appendChild(document.createTextNode(result[1]));
sd.appendChild(anchorEl);
// Finally, append text for anything after the last closing </a>.
sd.appendChild(document.createTextNode(desc.slice(desc.lastIndexOf("</a>") + "</a>".length)));
}
if (gIsCertError) {
// Initialize the error code link embedded in the error message to
// display debug information about the cert error.
var errorCode = document.getElementById("errorCode");
if (errorCode) {
errorCode.href = "javascript:void(0)";
errorCode.addEventListener("click", () => {
let debugInfo = document.getElementById("certificateErrorDebugInformation");
debugInfo.style.display = "block";
debugInfo.scrollIntoView({block: "start", behavior: "smooth"});
}, false);
}
// Finally, append text for anything after the closing </a>.
sd.appendChild(document.createTextNode(desc.slice(desc.indexOf("</a>") + "</a>".length)));
}
// Initialize the cert domain link.
@@ -518,23 +426,8 @@
if (link.href && getCSSClass() != "expertBadCert") {
var panelId = gIsCertError ? "badCertAdvancedPanel" : "weakCryptoAdvancedPanel"
toggleDisplay(document.getElementById(panelId));
if (gIsCertError) {
// Toggling the advanced panel must ensure that the debugging
// information panel is hidden as well, since it's opened by the
// error code link in the advanced panel.
var div = document.getElementById("certificateErrorDebugInformation");
div.style.display = "none";
}
}
}
function createLink(el, id, text) {
var anchorEl = document.createElement("a");
anchorEl.setAttribute("id", id);
anchorEl.setAttribute("title", text);
anchorEl.appendChild(document.createTextNode(text));
el.appendChild(anchorEl);
}
]]></script>
</head>
@@ -631,10 +524,6 @@
<!-- Long Description (Note: See netError.dtd for used XHTML tags) -->
<div id="errorLongDesc" />
<div id="learnMoreContainer">
<p><a href="https://support.mozilla.org/kb/what-does-your-connection-is-not-secure-mean" id="learnMoreLink" target="new">&errorReporting.learnMore;</a></p>
</div>
<div id="prefChangeContainer" class="button-container">
<p>&prefReset.longDesc;</p>
<button id="prefResetButton" class="primary" autocomplete="off">&prefReset.label;</button>
@@ -652,15 +541,6 @@
<button id="errorTryAgain" class="primary" autocomplete="off" onclick="retryThis(this);">&retry.label;</button>
</div>
<!-- UI for option to report certificate errors to Mozilla. Removed on
init for other error types .-->
<div id="certificateErrorReporting">
<p class="toggle-container-with-text">
<input type="checkbox" id="automaticallyReportInFuture" />
<label for="automaticallyReportInFuture" id="automaticallyReportInFuture">&errorReporting.automatic2;</label>
</p>
</div>
<div id="advancedPanelContainer">
<div id="weakCryptoAdvancedPanel" class="advanced-panel">
<div id="weakCryptoAdvancedDescription">
@@ -680,12 +560,6 @@
</div>
<div id="certificateErrorDebugInformation">
<button id="copyToClipboard">&certerror.copyToClipboard.label;</button>
<div id="certificateErrorText"/>
<button id="copyToClipboard">&certerror.copyToClipboard.label;</button>
</div>
<!--
- Note: It is important to run the script this way, instead of using
- an onload handler. This is because error pages are loaded as
@@ -49,8 +49,7 @@ a {
background-repeat: no-repeat;
}
#searchIconAndTextContainer,
#snippets {
#searchIconAndTextContainer {
width: 470px;
}
@@ -168,48 +167,6 @@ a {
transition-duration: 0ms;
}
#defaultSnippet1,
#defaultSnippet2,
#rightsSnippet {
display: block;
min-height: 38px;
background: 0 center no-repeat;
padding: 6px 0;
padding-inline-start: 49px;
}
#rightsSnippet[hidden] {
display: none;
}
#defaultSnippet1:dir(rtl),
#defaultSnippet2:dir(rtl),
#rightsSnippet:dir(rtl) {
background-position: right 0 center;
}
#defaultSnippet1 {
background-image: url("chrome://browser/content/abouthome/snippet1.png");
}
#defaultSnippet2 {
background-image: url("chrome://browser/content/abouthome/snippet2.png");
}
#snippets {
display: inline-block;
text-align: start;
margin: 12px 0;
color: #3c3c3c;
font-size: 75%;
/* 12px is the computed font size, 15px the computed line height of the snippets
with Segoe UI on a default Windows 7 setup. The 15/12 multiplier approximately
converts em from units of font-size to units of line-height. The goal is to
preset the height of a three-line snippet to avoid visual moving/flickering as
the snippets load. */
min-height: calc(15/12 * 3em);
}
#launcher {
display: -moz-box;
-moz-box-align: center;
@@ -385,20 +342,6 @@ body[narrow] #restorePreviousSession::before {
background-image: url("chrome://branding/content/about-logo@2x.png");
}
#defaultSnippet1,
#defaultSnippet2,
#rightsSnippet {
background-size: 40px;
}
#defaultSnippet1 {
background-image: url("chrome://browser/content/abouthome/snippet1@2x.png");
}
#defaultSnippet2 {
background-image: url("chrome://browser/content/abouthome/snippet2@2x.png");
}
.launchButton::before,
#aboutMozilla::before {
transform: scale(.5);
@@ -0,0 +1,118 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
"use strict";
/* import-globals-from ../contentSearchUI.js */
// IndexedDB storage constants.
const DATABASE_NAME = "abouthome";
const DATABASE_VERSION = 1;
const DATABASE_STORAGE = "persistent";
var searchText;
// This global tracks if the page has been set up before, to prevent double inits
var gInitialized = false;
var gObserver = new MutationObserver(function (mutations) {
for (let mutation of mutations) {
// The addition of the restore session button changes our width:
if (mutation.attributeName == "session") {
fitToWidth();
}
}
});
window.addEventListener("pageshow", function () {
// Delay search engine setup, cause browser.js::BrowserOnAboutPageLoad runs
// later and may use asynchronous getters.
window.gObserver.observe(document.documentElement, { attributes: true });
window.gObserver.observe(document.getElementById("launcher"), { attributes: true });
fitToWidth();
setupSearch();
window.addEventListener("resize", fitToWidth);
// Ask chrome to update snippets.
var event = new CustomEvent("AboutHomeLoad", {bubbles:true});
document.dispatchEvent(event);
});
window.addEventListener("pagehide", function() {
window.gObserver.disconnect();
window.removeEventListener("resize", fitToWidth);
});
window.addEventListener("keypress", ev => {
if (ev.defaultPrevented) {
return;
}
// don't focus the search-box on keypress if something other than the
// body or document element has focus - don't want to steal input from other elements
// Make an exception for <a> and <button> elements (and input[type=button|submit])
// which don't usefully take keypresses anyway.
// (except space, which is handled below)
if (document.activeElement && document.activeElement != document.body &&
document.activeElement != document.documentElement &&
!["a", "button"].includes(document.activeElement.localName) &&
!document.activeElement.matches("input:-moz-any([type=button],[type=submit])")) {
return;
}
let modifiers = ev.ctrlKey + ev.altKey + ev.metaKey;
// ignore Ctrl/Cmd/Alt, but not Shift
// also ignore Tab, Insert, PageUp, etc., and Space
if (modifiers != 0 || ev.charCode == 0 || ev.charCode == 32)
return;
searchText.focus();
// need to send the first keypress outside the search-box manually to it
searchText.value += ev.key;
});
function onSearchSubmit(aEvent)
{
gContentSearchController.search(aEvent);
}
var gContentSearchController;
function setupSearch()
{
// Set submit button label for when CSS background are disabled (e.g.
// high contrast mode).
document.getElementById("searchSubmit").value =
document.body.getAttribute("dir") == "ltr" ? "\u25B6" : "\u25C0";
// The "autofocus" attribute doesn't focus the form element
// immediately when the element is first drawn, so the
// attribute is also used for styling when the page first loads.
searchText = document.getElementById("searchText");
searchText.addEventListener("blur", function searchText_onBlur() {
searchText.removeEventListener("blur", searchText_onBlur);
searchText.removeAttribute("autofocus");
});
if (!gContentSearchController) {
gContentSearchController =
new ContentSearchUIController(searchText, searchText.parentNode,
"abouthome", "homepage");
}
}
/**
* Inform the test harness that we're done loading the page.
*/
function loadCompleted()
{
}
function fitToWidth() {
if (document.documentElement.scrollWidth > window.innerWidth) {
document.body.setAttribute("narrow", "true");
} else if (document.body.hasAttribute("narrow")) {
document.body.removeAttribute("narrow");
fitToWidth();
}
}
@@ -46,15 +46,6 @@
<input id="searchSubmit" type="button" onclick="onSearchSubmit(event)"
title="&contentSearchSubmit.tooltip;"/>
</div>
<div id="snippetContainer">
<div id="defaultSnippets" hidden="true">
<span id="defaultSnippet1">&abouthome.defaultSnippet1.v1;</span>
<span id="defaultSnippet2">&abouthome.defaultSnippet2.v1;</span>
</div>
<span id="rightsSnippet" hidden="true">&abouthome.rightsSnippet;</span>
<div id="snippets"/>
</div>
</div>
<div class="spacer"/>
@@ -73,7 +64,5 @@
<button class="launchButton" id="restorePreviousSession">&historyRestoreLastSession.label;</button>
</div>
<a id="aboutMozilla" href="https://www.mozilla.org/about/?utm_source=about-home&amp;utm_medium=Referral"
aria-label="&abouthome.aboutMozilla.label;"/>
</body>
</html>
Loaded 100 of 12404 files, more files were not shown because too many files have changed in this diff. Show more