head 1.7;
access;
symbols
pkgsrc-2014Q1:1.5.0.2
pkgsrc-2014Q1-base:1.5
pkgsrc-2013Q4:1.3.0.2
pkgsrc-2013Q4-base:1.3;
locks; strict;
comment @// @;
1.7
date 2014.06.11.00.40.59; author ryoon; state dead;
branches;
next 1.6;
commitid QTw894DEf2Let2Ex;
1.6
date 2014.04.30.15.07.18; author ryoon; state Exp;
branches;
next 1.5;
commitid BxErbE5mH8g3CIyx;
1.5
date 2014.02.20.13.19.03; author ryoon; state Exp;
branches;
next 1.4;
commitid T9GvdtUIEdEreQpx;
1.4
date 2014.02.08.09.36.00; author ryoon; state Exp;
branches;
next 1.3;
commitid ggxuC0XAcatWnhox;
1.3
date 2013.11.05.14.40.49; author ryoon; state Exp;
branches;
next 1.2;
commitid mHGj6GgDvWTO76cx;
1.2
date 2013.11.05.14.20.41; author ryoon; state Exp;
branches;
next 1.1;
commitid y1ziouvp9wgV06cx;
1.1
date 2013.11.02.22.57.55; author ryoon; state Exp;
branches;
next ;
commitid M2FbcKK4JD2lYKbx;
desc
@@
1.7
log
@Update to 30.0
* debug build is broken
Changelog:
New
Sidebars button in browser chrome enables faster access to social, bookmark, & history sidebars
New
Mac OS X command-E sets find term to selected text
New
Support for GStreamer 1.0
Changed
Disallow calling WebIDL constructors as functions on the web
Developer
With the exception of those bundled inside an extension or ones that are whitelisted, plugins will no longer be activated by default (see blog post)
Developer
Fixes to box-shadow and other visual overflow (see bug 480888)
Developer
Mute and volume available per window when using WebAudio
Developer
background-blend-mode enabled by default
Developer
Use of line-height allowed for
Developer
ES6 array and generator comprehensions implemented (read docs for more details)
Developer
Error stack now contains column number
Developer
Support for alpha option in canvas context options (feature description)
Fixed
Ignore autocomplete="off" when offering to save passwords via the password manager (see 956906)
Fixed
TypedArrays don't support new named properties (see 695438)
Fixed
Various security fixes
Fixed in Firefox 30
MFSA 2014-54 Buffer overflow in Gamepad API
MFSA 2014-53 Buffer overflow in Web Audio Speex resampler
MFSA 2014-52 Use-after-free with SMIL Animation Controller
MFSA 2014-51 Use-after-free in Event Listener Manager
MFSA 2014-50 Clickjacking through cursor invisability after Flash interaction
MFSA 2014-49 Use-after-free and out of bounds issues found using Address Sanitizer
MFSA 2014-48 Miscellaneous memory safety hazards (rv:30.0 / rv:24.6)
@
text
@$NetBSD: patch-gfx_skia_src_utils_SkThreadUtils__pthread__linux.cpp,v 1.6 2014/04/30 15:07:18 ryoon Exp $
* Use cpuset(3) for NetBSD. From rmind@@.
--- gfx/skia/src/utils/SkThreadUtils_pthread_linux.cpp.orig 2014-04-18 02:02:58.000000000 +0000
+++ gfx/skia/src/utils/SkThreadUtils_pthread_linux.cpp
@@@@ -12,16 +12,20 @@@@
#include "SkThreadUtils.h"
#include "SkThreadUtils_pthread.h"
+#include
#include
#ifdef __FreeBSD__
#include
#endif
+#ifdef __NetBSD__
+#include
+#endif
#if defined(__FreeBSD__) || defined(__NetBSD__)
#define cpu_set_t cpuset_t
#endif
-#ifndef CPU_COUNT
+#if !defined(CPU_COUNT) && !defined(__NetBSD__)
static int CPU_COUNT(cpu_set_t *set) {
int count = 0;
for (int i = 0; i < CPU_SETSIZE; i++) {
@@@@ -31,7 +35,24 @@@@ static int CPU_COUNT(cpu_set_t *set) {
}
return count;
}
-#endif /* !CPU_COUNT */
+#endif
+
+#if defined(__NetBSD__)
+
+#define CPU_ISSET(c, s) cpuset_isset(c, s)
+
+static int CPU_COUNT(cpuset_t *set) {
+ static const int ncpu = sysconf(_SC_NPROCESSORS_CONF);
+ int count = 0;
+
+ for (int i = 0; i < ncpu; i++) {
+ if (cpuset_isset(i, set)) {
+ count++;
+ }
+ }
+ return count;
+ }
+#endif
static int nth_set_cpu(unsigned int n, cpu_set_t* cpuSet) {
n %= CPU_COUNT(cpuSet);
@@@@ -51,6 +72,7 @@@@ bool SkThread::setProcessorAffinity(unsi
return false;
}
+#if !defined(__NetBSD__)
cpu_set_t parentCpuset;
if (0 != pthread_getaffinity_np(pthread_self(), sizeof(cpu_set_t), &parentCpuset)) {
return false;
@@@@ -62,4 +84,23 @@@@ bool SkThread::setProcessorAffinity(unsi
return 0 == pthread_setaffinity_np(pthreadData->fPThread,
sizeof(cpu_set_t),
&cpuset);
+#else
+ cpuset_t *cpuset = cpuset_create();
+ if (!cpuset) {
+ return false;
+ }
+ size_t csize = cpuset_size(cpuset);
+ if (0 != pthread_getaffinity_np(pthread_self(), csize, cpuset)) {
+ cpuset_destroy(cpuset);
+ return false;
+ }
+
+ int nthcpu = nth_set_cpu(processor, cpuset);
+ cpuset_zero(cpuset);
+ cpuset_set(nthcpu, cpuset);
+
+ bool ok = 0 == pthread_setaffinity_np(pthreadData->fPThread, csize, cpuset);
+ cpuset_destroy(cpuset);
+ return ok;
+#endif
}
@
1.6
log
@Update to 29.0
* Restore html5 audio playback under NetBSD
Changelog:
New
Significant new customization mode makes it easy to personalize your Web experience to access the features you use the most (learn more)
New
A new, easy to access menu sits in the right hand corner of Firefox and includes popular browser controls
New
Sleek new tabs provide an overall smoother look and fade into the background when not active
New
An interactive onboarding tour to guide users through the new Firefox changes
New
The ability to set up Firefox Sync by creating a Firefox account (learn more)
New
Gamepad API finalized and enabled (learn more)
New
HTTPS used for Yahoo Searches performed in en-US locale
New
Malay [ma] locale added
Changed
Clicking on a W3C Web Notification will switch to the originating tab
Developer
'box-sizing' (dropping the -moz- prefix) implemented (learn more)
Developer
Console object available in Web Workers (learn more)
Developer
Promises enabled by default (learn more)
Developer
SharedWorker enabled by default
Developer
implemented and enabled
Developer
implemented and enabled
Developer
Enabled ECMAScript Internationalization API
Developer
Add-on bar has been removed, content moved to navigation bar
Developer
Implemented URLSearchParams from the URL specification (see MDN for details )
Fixed
Various security fixes
Fixed in Firefox 29
MFSA 2014-47 Debugger can bypass XrayWrappers with JavaScript
MFSA 2014-46 Use-after-free in nsHostResolve
MFSA 2014-45 Incorrect IDNA domain name matching for wildcard certificates
MFSA 2014-44 Use-after-free in imgLoader while resizing images
MFSA 2014-43 Cross-site scripting (XSS) using history navigations
MFSA 2014-42 Privilege escalation through Web Notification API
MFSA 2014-41 Out-of-bounds write in Cairo
MFSA 2014-40 Firefox for Android addressbar suppression
MFSA 2014-39 Use-after-free in the Text Track Manager for HTML video
MFSA 2014-38 Buffer overflow when using non-XBL object as XBL
MFSA 2014-37 Out of bounds read while decoding JPG images
MFSA 2014-36 Web Audio memory corruption issues
MFSA 2014-35 Privilege escalation through Mozilla Maintenance Service Installer
MFSA 2014-34 Miscellaneous memory safety hazards (rv:29.0 / rv:24.5)
@
text
@d1 1
a1 1
$NetBSD: patch-gfx_skia_src_utils_SkThreadUtils__pthread__linux.cpp,v 1.5 2014/02/20 13:19:03 ryoon Exp $
@
1.5
log
@Update to 27.0.1
* Fix some syscall definitions in JavaScript are fixed.
Thank you, tho@@.
Changelog:
FIXED
27.0.1 - Fixed stability issues with Greasemonkey and other JS that used ClearTimeoutOrInterval
FIXED
27.0.1 - JS math correctness issue (bug 941381
@
text
@d1 1
a1 1
$NetBSD: patch-gfx_skia_src_utils_SkThreadUtils__pthread__linux.cpp,v 1.3 2013/11/05 14:40:49 ryoon Exp $
d5 1
a5 1
--- gfx/skia/src/utils/SkThreadUtils_pthread_linux.cpp.orig 2013-10-25 22:27:18.000000000 +0000
d7 1
a7 1
@@@@ -12,26 +12,47 @@@@
d29 5
a33 7
if (CPU_ISSET(i, set)) {
count++;
- }
+ }
+ }
+ return count;
+}
d48 3
a50 4
}
return count;
}
-#endif /* !CPU_COUNT */
@
1.4
log
@Update to 27.0
Changelog:
NEW
You can now run more than one service at a time with Firefox SocialAPI, allowing you to receive notifications, chat and more from multiple integrated services
CHANGED
Enabled TLS 1.1 (RFC 4346) and TLS 1.2 (RFC 5246) by default
CHANGED
Added support for SPDY 3.1 protocol
DEVELOPER
Ability to reset style sheets using 'all:unset'
DEVELOPER
You can now choose to deobfuscate javascript in the debugger (see 762761)
DEVELOPER
Added support for scrolled fieldsets (see 261037)
DEVELOPER
Implemented allow-popups directive for iframe sandbox, enabling increased security (see 766282)
DEVELOPER
CSS cursor keywords -moz-grab and -moz-grabbing have been unprefixed (see 880672)
DEVELOPER
Added support for ES6 generators in SpiderMonkey (see blog post)
DEVELOPER
Implemented support for mathematical function Math.hypot() in ES6 (see 896264)
HTML5
Dashed line support on Canvas (see 768067)
FIXED
Get Azure/Skia content rendering working on Linux (see 740200)
FIXED
27.0: Security fixes can be found here
Fixed in Firefox 27
MFSA 2014-13 Inconsistent JavaScript handling of access to Window objects
MFSA 2014-12 NSS ticket handling issues
MFSA 2014-11 Crash when using web workers with asm.js
MFSA 2014-10 Firefox default start page UI content invokable by script
MFSA 2014-09 Cross-origin information leak through web workers
MFSA 2014-08 Use-after-free with imgRequestProxy and image proccessing
MFSA 2014-07 XSLT stylesheets treated as styles in Content Security Policy
MFSA 2014-06 Profile path leaks to Android system log
MFSA 2014-05 Information disclosure with *FromPoint on iframes
MFSA 2014-04 Incorrect use of discarded images by RasterImage
MFSA 2014-03 UI selection timeout missing on download prompts
MFSA 2014-02 Clone protected content with XBL scopes
MFSA 2014-01 Miscellaneous memory safety hazards (rv:27.0 / rv:24.3)
@
text
@d5 1
a5 1
--- gfx/skia/src/utils/SkThreadUtils_pthread_linux.cpp.orig 2014-01-28 04:03:42.000000000 +0000
@
1.3
log
@Add comment to patch.
@
text
@d1 1
a1 1
$NetBSD: patch-gfx_skia_src_utils_SkThreadUtils__pthread__linux.cpp,v 1.2 2013/11/05 14:20:41 ryoon Exp $
d5 1
a5 1
--- gfx/skia/src/utils/SkThreadUtils_pthread_linux.cpp.orig 2013-10-25 22:27:18.000000000 +0000
@
1.2
log
@Bump PKGREVISION
Fix cpuset(3) usage. The patch is from rmind@@. Thank you.
@
text
@d1 3
a3 1
$NetBSD$
@
1.1
log
@Update to 25.0
* Enable pulseaudio by default, OSS support is dropped, and ALSA support
on NetBSD does not work properly for me
* Enable GStremer support for non-webm and non-theora video support
* Create alsa option, and enabled on Linux by default
Changelog:
NEW
Web Audio support
NEW
The find bar is no longer shared between tabs
CHANGED
If away from Firefox for months, you now will be offered the option to reset it to its default state while preserving your essential information
CHANGED
Resetting Firefox no longer clears your browsing session
DEVELOPER
CSS3 background-attachment:local support to control background scrolling
DEVELOPER
Many new ES6 functions implemented
HTML5
iframe document content can now be specified inline
FIXED
Blank or missing page thumbnails when opening a new tab
FIXED
Security fixes can be found here
Fixed in Firefox 25
MFSA 2013-102 Use-after-free in HTML document templates
MFSA 2013-101 Memory corruption in workers
MFSA 2013-100 Miscellaneous use-after-free issues found through ASAN fuzzing
MFSA 2013-99 Security bypass of PDF.js checks using iframes
MFSA 2013-98 Use-after-free when updating offline cache
MFSA 2013-97 Writing to cycle collected object during image decoding
MFSA 2013-96 Improperly initialized memory and overflows in some JavaScript functions
MFSA 2013-95 Access violation with XSLT and uninitialized data
MFSA 2013-94 Spoofing addressbar though SELECT element
MFSA 2013-93 Miscellaneous memory safety hazards (rv:25.0 / rv:24.1 / rv:17.0.10)
@
text
@d5 14
a18 1
@@@@ -21,11 +21,19 @@@@
d22 2
a23 5
+#if defined(__NetBSD__)
+#define CPU_SETSIZE 1024
+#endif
+
#ifndef CPU_COUNT
a26 3
+#if defined(__NetBSD__)
+ if (cpuset_isset(i, set)) {
+#else
d28 6
d35 13
a47 2
count++;
}
d49 5
a53 1
@@@@ -36,7 +44,11 @@@@ static int CPU_COUNT(cpu_set_t *set) {
d56 1
a56 10
for (unsigned int setCpusSeen = 0, currentCpu = 0; true; ++currentCpu) {
+#if defined(__NetBSD__)
+ if (cpuset_isset(currentCpu, cpuSet)) {
+#else
if (CPU_ISSET(currentCpu, cpuSet)) {
+#endif
++setCpusSeen;
if (setCpusSeen > n) {
return currentCpu;
@@@@ -51,15 +63,31 @@@@ bool SkThread::setProcessorAffinity(unsi
d60 1
a60 4
+#if defined(__NetBSD__)
+ cpu_set_t *parentCpuset;
+ if (0 != pthread_getaffinity_np(pthread_self(), sizeof(cpu_set_t *), parentCpuset)) {
+#else
a62 1
+#endif
d64 1
a64 11
}
+#if defined(__NetBSD__)
+ cpu_set_t *cpuset;
+ cpuset_zero(cpuset);
+ cpuset_set(nth_set_cpu(processor, parentCpuset), cpuset);
+#else
cpu_set_t cpuset;
CPU_ZERO(&cpuset);
CPU_SET(nth_set_cpu(processor, &parentCpuset), &cpuset);
+#endif
a65 4
+#if defined(__NetBSD__)
+ sizeof(cpu_set_t *),
+ cpuset);
+#else
d68 18
@