head 1.4; access; symbols pkgsrc-2014Q1:1.3.0.4 pkgsrc-2014Q1-base:1.3 pkgsrc-2013Q4:1.3.0.2 pkgsrc-2013Q4-base:1.3 pkgsrc-2013Q2:1.2.0.4 pkgsrc-2013Q2-base:1.2 pkgsrc-2012Q4:1.2.0.2 pkgsrc-2012Q4-base:1.2 pkgsrc-2012Q2:1.1.0.2; locks; strict; comment @// @; 1.4 date 2014.06.22.08.54.39; author ryoon; state dead; branches; next 1.3; commitid PZNghMi9oWIHQuFx; 1.3 date 2013.12.26.13.17.37; author ryoon; state Exp; branches; next 1.2; commitid cLDdAGeBWlZD1Eix; 1.2 date 2012.09.06.12.08.52; author ryoon; state dead; branches; next 1.1; 1.1 date 2012.07.19.17.33.29; author ryoon; state Exp; branches 1.1.2.1; next ; 1.1.2.1 date 2012.07.19.17.33.29; author tron; state dead; branches; next 1.1.2.2; 1.1.2.2 date 2012.07.21.19.58.38; author tron; state Exp; branches; next ; desc @@ 1.4 log @Update to 2.26.1 Changelog: SeaMonkey-specific changes The delimiter for forwarded messages can now be configured. An option to not strip signatures on reply has been added to prevent top signatures from deleting the body. Add to Searchbar (search-engine autodiscovery) was implemented. The location bar tooltip now shows the complete current URL in case it is displayed only partially. See the changes page for a more complete overview. Mozilla platform changes The Gamepad API has been finalized and enabled (learn more). navigator.plugins is no longer enumerable, for user privacy. ECMAScript Internationalization API has been enabled. 'box-sizing' (dropping the -moz- prefix) has been implemented. SharedWorker is now enabled by default. CSS3 variables have been implemented. Console object is now available in Web Workers. Promises have been enabled by default. has been implemented and enabled. has been implemented and enabled. Fixed several stability issues. Fixed in SeaMonkey 2.26.1 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-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) Fixed in SeaMonkey 2.26 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-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-34 Miscellaneous memory safety hazards (rv:29.0 / rv:24.5) @ text @$NetBSD: patch-mozilla_memory_mozalloc_mozalloc.cpp,v 1.3 2013/12/26 13:17:37 ryoon Exp $ --- mozilla/memory/mozalloc/mozalloc.cpp.orig 2013-12-11 04:29:01.000000000 +0000 +++ mozilla/memory/mozalloc/mozalloc.cpp @@@@ -229,3 +229,76 @@@@ namespace mozilla { const fallible_t fallible = fallible_t(); } // namespace mozilla + + +MOZALLOC_EXPORT +void* operator new(size_t size) MOZALLOC_THROW_BAD_ALLOC +{ + return moz_xmalloc(size); +} + +MOZALLOC_EXPORT +void* operator new(size_t size, const std::nothrow_t&) MOZALLOC_THROW_IF_HAS_EXCEPTIONS +{ + return moz_malloc(size); +} + +MOZALLOC_EXPORT +void* operator new[](size_t size) MOZALLOC_THROW_BAD_ALLOC +{ + return moz_xmalloc(size); +} + +MOZALLOC_EXPORT +void* operator new[](size_t size, const std::nothrow_t&) MOZALLOC_THROW_IF_HAS_EXCEPTIONS +{ + return moz_malloc(size); +} + +MOZALLOC_EXPORT +void operator delete(void* ptr) MOZALLOC_THROW_IF_HAS_EXCEPTIONS +{ + return moz_free(ptr); +} + +MOZALLOC_EXPORT +void operator delete(void* ptr, const std::nothrow_t&) MOZALLOC_THROW_IF_HAS_EXCEPTIONS +{ + return moz_free(ptr); +} + +MOZALLOC_EXPORT +void operator delete[](void* ptr) MOZALLOC_THROW_IF_HAS_EXCEPTIONS +{ + return moz_free(ptr); +} + +MOZALLOC_EXPORT +void operator delete[](void* ptr, const std::nothrow_t&) MOZALLOC_THROW_IF_HAS_EXCEPTIONS +{ + return moz_free(ptr); +} + +MOZALLOC_EXPORT +void* operator new(size_t size, const mozilla::fallible_t&) MOZALLOC_THROW_IF_HAS_EXCEPTIONS +{ + return moz_malloc(size); +} + +MOZALLOC_EXPORT +void* operator new[](size_t size, const mozilla::fallible_t&) MOZALLOC_THROW_IF_HAS_EXCEPTIONS +{ + return moz_malloc(size); +} + +MOZALLOC_EXPORT +void operator delete(void* ptr, const mozilla::fallible_t&) MOZALLOC_THROW_IF_HAS_EXCEPTIONS +{ + moz_free(ptr); +} + +MOZALLOC_EXPORT +void operator delete[](void* ptr, const mozilla::fallible_t&) MOZALLOC_THROW_IF_HAS_EXCEPTIONS +{ + moz_free(ptr); +} @ 1.3 log @Update to 2.23 Changelog: SeaMonkey-specific changes Download progress is now shown in the Mac OS X app dock icon. EXIF orientation is now being used when displaying attached images in MailNews. "This folder is being processed... to get messages." alerts on active MailNews folders now identify the account or folder. MailNews notifications have a new look. See the changes page for a more complete overview. Mozilla platform changes All plugins, with the exception of recent Flash plugins, now default to click-to-play. The password manager now supports script-generated password fields. Support for H.264 on Linux is now available if the appropriate GStreamer plugins are installed. Support for MP3 decoding on Windows XP has been added, completing MP3 support across Windows OS versions. The CSP implementation now supports multiple policies, including the case of both an enforced and Report-Only policy, per the spec. There is no longer a prompt when websites use appcache. Support for the CSS image orientation property has been added. IndexedDB can now be used as an "optimistic" storage area so it does not require any prompts and data is stored in a pool with LRU eviction policy, in short temporary storage. When displaying a standalone images, the EXIF orientation information contained within the JPEG image is now matched (bug 298619). Page load times have been improved due to no longer decoding images that are not visible (bug 847223). Support for the AudioToolbox MP3 backend has been added on Mac OS X (bug 914479). Fixed several stability issues. Fixed in SeaMonkey 2.23 MFSA 2013-117 Mis-issued ANSSI/DCSSI certificate MFSA 2013-116 JPEG information leak MFSA 2013-115 GetElementIC typed array stubs can be generated outside observed typesets MFSA 2013-114 Use-after-free in synthetic mouse movement MFSA 2013-113 Trust settings for built-in roots ignored during EV certificate validation MFSA 2013-112 Linux clipboard information disclosure though selection paste MFSA 2013-111 Segmentation violation when replacing ordered list elements MFSA 2013-110 Potential overflow in JavaScript binary search algorithms MFSA 2013-109 Use-after-free during Table Editing MFSA 2013-108 Use-after-free in event listeners MFSA 2013-107 Sandbox restrictions not applied to nested object elements MFSA 2013-106 Character encoding cross-origin XSS attack MFSA 2013-104 Miscellaneous memory safety hazards (rv:26.0 / rv:24.2) @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @Update to 2.12 * Update Mozilla Lightning to 1.7 * Update Enigmail to 1.4.4 (functionality is not tested yet; should be updated) * Regen patches Changelog: SeaMonkey-specific changes None. Mozilla platform changes Added support for SPDY networking protocol v3. Implemented WebGL enhancements, including compressed textures for better performance. Optimized memory usage for add-ons. Implemented the CSS word-break property. Implemented high precision event timer. HTML5: Added native support for the Opus audio codec. HTML5: Added support for the source element media attribute. HTML5: Added support for the audio element and video element played attribute. Fixed several stability issues. Fixed in SeaMonkey 2.12 MFSA 2012-70 Location object security checks bypassed by chrome code MFSA 2012-69 Incorrect site SSL certificate data display MFSA 2012-68 DOMParser loads linked resources in extensions when parsing text/html MFSA 2012-65 Out-of-bounds read in format-number in XSLT MFSA 2012-64 Graphite 2 memory corruption MFSA 2012-63 SVG buffer overflow and use-after-free issues MFSA 2012-62 WebGL use-after-free and memory corruption MFSA 2012-61 Memory corruption with bitmap format images with negative height MFSA 2012-59 Location object can be shadowed using Object.defineProperty MFSA 2012-58 Use-after-free issues found using Address Sanitizer MFSA 2012-57 Miscellaneous memory safety hazards (rv:15.0/ rv:10.0.7) @ text @d1 1 a1 1 $NetBSD: patch-mozilla_memory_mozalloc_mozalloc.cpp,v 1.1 2012/07/19 17:33:29 ryoon Exp $ d3 1 a3 3 * Fix build on NetBSD with mozilla-jemalloc option (functionality is not tested) --- mozilla/memory/mozalloc/mozalloc.cpp.orig 2012-07-15 12:00:39.000000000 +0000 d5 2 a6 1 @@@@ -243,7 +243,7 @@@@ moz_malloc_usable_size(void *ptr) d8 74 a81 7 #if defined(XP_MACOSX) return malloc_size(ptr); -#elif defined(MOZ_MEMORY) || (defined(XP_LINUX) && !defined(ANDROID)) +#elif (defined(MOZ_MEMORY) && !defined(__NetBSD__)) || (defined(XP_LINUX) && !defined(ANDROID)) // Android bionic libc doesn't have malloc_usable_size. return malloc_usable_size(ptr); #elif defined(XP_WIN) @ 1.1 log @Update to 2.11 * Use Lightning 1.6 release * Enigmail is not tested fully Changelog: from http://www.seamonkey-project.org/releases/seamonkey2.11/ SeaMonkey-specific changes A click-to-play option (off by default for now) has been implemented for plugins. Mozilla platform changes The Pointer Lock API has been implemented. A new API to prevent your display from sleeping is available. New text-transform and font-variant CSS improvements have been made for Turkic languages and Greek. Fixed several stability issues. @ text @d1 1 a1 1 $NetBSD$ @ 1.1.2.1 log @file patch-mozilla_memory_mozalloc_mozalloc.cpp was added on branch pkgsrc-2012Q2 on 2012-07-21 19:58:38 +0000 @ text @d1 15 @ 1.1.2.2 log @Pullup ticket #3863 - requested by ryoon www/seamonkey: security update Revisions pulled up: - www/seamonkey/Makefile 1.74 via patch - www/seamonkey/PLIST 1.28 - www/seamonkey/PLIST.lightning 1.4 - www/seamonkey/distinfo 1.84 - www/seamonkey/enigmail.mk 1.5 - www/seamonkey/patches/patch-av 1.5 - www/seamonkey/patches/patch-bd 1.5 - www/seamonkey/patches/patch-mk 1.7 - www/seamonkey/patches/patch-mm 1.9 - www/seamonkey/patches/patch-mozilla_js_src_config_rules.mk 1.2 - www/seamonkey/patches/patch-mozilla_memory_mozalloc_mozalloc.cpp 1.1 - www/seamonkey/patches/patch-mozilla_netwerk_protocol_http_HttpChannelParent.cpp 1.3 - www/seamonkey/patches/patch-mozilla_storage_src_Makefile.in 1.2 - www/seamonkey/patches/patch-mozilla_storage_src_mozStorageService.cpp deleted - www/seamonkey/patches/patch-mozilla_xpcom_idl-parser_Makefile.in 1.2 --- Module Name: pkgsrc Committed By: ryoon Date: Thu Jul 19 17:33:29 UTC 2012 Modified Files: pkgsrc/www/seamonkey: Makefile PLIST PLIST.lightning distinfo enigmail.mk pkgsrc/www/seamonkey/patches: patch-av patch-bd patch-mk patch-mm patch-mozilla_js_src_config_rules.mk patch-mozilla_netwerk_protocol_http_HttpChannelParent.cpp patch-mozilla_storage_src_Makefile.in patch-mozilla_xpcom_idl-parser_Makefile.in Added Files: pkgsrc/www/seamonkey/patches: patch-mozilla_memory_mozalloc_mozalloc.cpp Removed Files: pkgsrc/www/seamonkey/patches: patch-mozilla_storage_src_mozStorageService.cpp Log Message: Update to 2.11 * Use Lightning 1.6 release * Enigmail is not tested fully Changelog: from http://www.seamonkey-project.org/releases/seamonkey2.11/ SeaMonkey-specific changes A click-to-play option (off by default for now) has been implemented for plugins. Mozilla platform changes The Pointer Lock API has been implemented. A new API to prevent your display from sleeping is available. New text-transform and font-variant CSS improvements have been made for Turkic languages and Greek. Fixed several stability issues. @ text @a0 15 $NetBSD$ * Fix build on NetBSD with mozilla-jemalloc option (functionality is not tested) --- mozilla/memory/mozalloc/mozalloc.cpp.orig 2012-07-15 12:00:39.000000000 +0000 +++ mozilla/memory/mozalloc/mozalloc.cpp @@@@ -243,7 +243,7 @@@@ moz_malloc_usable_size(void *ptr) #if defined(XP_MACOSX) return malloc_size(ptr); -#elif defined(MOZ_MEMORY) || (defined(XP_LINUX) && !defined(ANDROID)) +#elif (defined(MOZ_MEMORY) && !defined(__NetBSD__)) || (defined(XP_LINUX) && !defined(ANDROID)) // Android bionic libc doesn't have malloc_usable_size. return malloc_usable_size(ptr); #elif defined(XP_WIN) @