Commit Graph

1011 Commits

Author SHA1 Message Date
Joe Drew
ea1f5e5a2d Bug 479328 and bug 481753 - Ensure imgRequest always knows when it's in the cache, and doesn't try to do cache manipulation when it isn't. Also, fix redirect handling to not simply invalidate the cache entry. r=vlad, sr=bzbarsky 2009-03-17 17:07:16 -04:00
Brad Lassey
9f9ecacac9 Bug 479382 - libmar doesn't build on windows ce (uses posix file io); r=benjamin 2009-03-15 14:59:59 +01:00
Stuart Parmenter
64dbc2c06b bug 482091. patch from Jeff Muizelaar. fix cash on maemo with plugins 2009-03-12 08:11:10 -07:00
Joe Drew
aecde3bf69 Backed out changeset 987a23d40e86 because of leaks on a11y tests on Linux 2009-03-12 00:22:50 -04:00
Joe Drew
a49559a6a7 Bug 481753 - imgRequests call imgLoader functions assuming that they're in the cache when they aren't
Teach imgRequest to keep track of when it's in the cache, and not do cache
operations when it isn't.
2009-03-11 21:31:26 -04:00
Blake Kaplan
f7fb1c08eb Bug 482625 - Fix some warnings and remove some unneeded type declarations. r+sr=jst 2009-03-10 16:21:40 -07:00
Dave Camp
bb3fad06d5 Bug 481342 - Fix some unpacking logic. r+sr=bz
--HG--
rename : docshell/test/bug369814.zip => docshell/test/bug369814.jar
2009-03-10 14:58:00 -07:00
Daniel Holbert
eae0d7096d Bug 473904 - Add an about:config option (defaulting to 'false' right now) for toggling SVG animation (SMIL) support. r+sr=roc 2009-03-09 18:20:17 -07:00
Vladimir Vukicevic
162f8e4fdd b=479104; move windows plugin dir service code to UNICODE; r=jst 2009-03-08 22:07:00 -07:00
timeless
d09160243a Bug 462728 crash when using alert from docloaderservice onStateChange listener [@ nsJARChannel::OnStartRequest]
r=biesi
2009-03-05 13:27:48 +01:00
Joe Drew
f7bd752ce7 Bug 481553 - Make imgRequests not try to update their status in the image cache when they aren't stored in it. r=vlad 2009-03-04 22:56:14 -05:00
Phil Ringnalda
4df8d3a341 Bug 224012 - VerReg.c warning: "VR_FILE_SEP redefined", r+sr=dveditz 2009-03-01 17:06:58 -08:00
timeless@mozdev.org
df0b2421b8 Bug 400322 "ASSERTION: nsStandardURL not thread-safe" (nsJARInputThunk marked as threadsafe uses nsJARURI in a non threadsafe manner), r+sr=biesi 2009-03-01 17:06:55 -08:00
Daniel Veditz
943791bbcb bug 478901 update to libpng 1.2.35, patch by Glenn Randers-Pehrson, r=Joe Drew, sr=dveditz, blocking=vlad 2009-03-01 01:15:25 -08:00
Vladimir Vukicevic
a8f8d5c9c7 b=479525; fix nanojit on Windows CE (calling conventions, disable regexp double-char optimization); r=dmandelin 2009-02-26 12:04:37 -08:00
Joe Drew
508f9839eb Bug 479502 - Hold on to a reference to the entry when NotifyExpired is called. r=vlad
The expiration tracker doesn't hold on to references to imgCacheEntries, so if
we're deleting it from the cache, that'll bring its refcount to zero. We
always assume that, when we're calling a function, there exists a reference
that lasts as long as the function does. This patch just makes that true for
the NotifyExpired case.
2009-02-25 14:09:44 -05:00
Jeff Muizelaar
de647c8035 Bug 442109 - youtube videos don't play; r=vladimir 2009-02-25 16:25:12 +01:00
Jonas Sicking
fea9eede61 Bug 479521: Don't follow unsafe same-site to cross-site redirects. Also fix a bug where reusing a XHR object that had been used cross site could result in the second request being more restrictive than it should be. r/sr=jst 2009-02-24 11:46:51 -08:00
Johnny Stenback
3d56357332 Fixing bug 475646. Don't call GetPeer() on plugins as it's apparently not safe to do so on all plugins. r=joshmoz@gmail.com, sr=bzbarsky@mit.edu 2009-02-24 16:28:35 -08:00
Jonas Sicking
b2248a4405 Backed out changeset 4130ff1e52f3 (bug 479521) due to test failures. 2009-02-24 15:38:40 -08:00
Jonas Sicking
ca2acd2b73 Bug 479521: Don't follow unsafe same-site to cross-site redirects. Also fix a bug where reusing a XHR object that had been used cross site could result in the second request being more restrictive than it should be. r/sr=jst 2009-02-24 11:46:51 -08:00
Daniel Veditz ext:(%20/%20Reed%20Loden%20%3Creed%40mozilla.com%3E)
616707832b Bug 479336 - "IDN blacklist needs to include box-drawing characters" [r=dveditz] 2009-02-24 10:50:51 -06:00
Masayuki Nakano
0e2a16f22b Bug 478146 [TSF] When dragging application window, candidate window is not moved with application window r=chenn, sr=roc 2009-02-24 15:36:20 +09:00
Serge Gautherie
a5a2252e81 Bug 446300 - move tools/test-harness/xpcshell-simple to testing/xpcshell
(Ev2-MC) Rename the object tests directory
2009-02-23 19:28:20 +01:00
Sunil Mohan Adapa
7afd1bbd24 Bug 412610 - MAXPATHLEN too small for glibc's realpath(); m-c part; r=*
jsfile.cpp + reg.c + SpecialSystemDirectory.cpp : benjamin
lcms.h : bholley
XRemoteClient.cpp : roc
2009-02-23 19:28:12 +01:00
Josh Aas
61218c204f Sync NPAPI scrolling constants between files. b=477126 r/sr=jst 2009-02-20 16:10:58 -05:00
Nochum Sossonko
1aafbb746e b=478982 Gecko users may need to prevent autoplay for video/audio content in messages r=roc,dolske sr=roc 2009-02-20 17:05:07 +13:00
Doug Turner
cdcc58d70c Bug 461849 - enable icon decoder on Windows Mobile. r=stuart 2009-02-19 18:56:49 -08:00
Jason Duell
8fbc5ad91e Bug 474536. Expose the underlying channel's content-disposition on jar: channels. r+sr=bzbarsky 2009-02-19 15:25:18 -05:00
L. David Baron
671f598185 Backed out changeset 4bd7dd7645c2 (Bug 474536) 2009-02-19 12:37:53 -08:00
Jason Duell
8c27d27270 Bug 474536. Expose the underlying channel's content-disposition on jar: channels. r+sr=bzbarsky 2009-02-19 15:25:18 -05:00
John Tapsell
df5b94d492 Bug 474421 - Qt Widget no longer compiles in testplugin; Minor fix for getting the tests compiling; r=joshmoz 2009-02-18 01:01:56 +01:00
Joe Drew
2774b195e4 Bug 466586 - Only expire cache elements that don't have any proxies/observers. r=stuart sr=vlad a=blocking1.9.1+
The image cache is now composed of two things: a heap of tracked items that
can be expired and evicted, and a superset of that which hashes from URI to
cache element. Cache elements start out in the second set, and are moved to
the first (and start to be tracked for expiry) once they have no observers.
2009-01-30 21:17:47 -05:00
Joe Drew
664b5a4343 Bug 466586 - Test to ensure that we don't have to reload an image that exists in a document. 2009-01-30 21:17:35 -05:00
Boris Zbarsky
ac1ce67cea Bug 455367. Don't just assume that all image loads get data; ask imagelib instead. r=kaie, r=joedrew, sr=jst 2009-02-16 09:11:30 -05:00
Neil Rashbrook
2b7a424a9b Bug 475344 Need a cancellation code to indicate successful load from cache r+sr=bz 2009-02-16 11:27:22 +00:00
Peter Weilbacher
dbb36f6403 Bug 471759 (OS/2-only follow-up): tester code should only be compiled for
builds with OJI, p=wuno@lsvw, r=pweilbacher
2009-02-16 10:20:36 +01:00
Joe Drew
0b154c324c Backed out changeset af9270b650e6 2009-02-13 18:24:22 -05:00
Joe Drew
7ee4e55b58 Bug 466586 - Only expire cache elements that don't have any proxies/observers. r=stuart sr=vlad a=blocking1.9.1+
The image cache is now composed of two things: a heap of tracked items that
can be expired and evicted, and a superset of that which hashes from URI to
cache element. Cache elements start out in the second set, and are moved to
the first (and start to be tracked for expiry) once they have no observers.
2009-01-30 21:17:47 -05:00
Gavin Sharp
48fd346836 Fix typo from patch for bug 476897
--HG--
extra : rebase_source : b91f8f0fa5e96438fb676264a19370a0bedbfc42
2009-02-12 16:34:54 -05:00
Vladimir Vukicevic
65001952b1 b=478140; set some WinCE all.js defaults; r=stuart 2009-02-12 18:26:02 -08:00
Jesse Ruderman
c9eb6349ac Add some crashtests 2009-02-10 16:36:04 -08:00
Blake Kaplan
099408ea29 Bug 477918 - Don't cast the narrower type to a wider type and write to it. r+sr=jst 2009-02-10 16:19:12 -08:00
Taras Glek
44022ace1a bug 476897 - add pref to disable caret browsing/f7 - r=gavin 2009-02-10 15:10:07 -08:00
Jim Chen
6513b5e77c Bug 88831 Support new IME API "Text Services Framework" from Office XP and Windows XP (relanding)
--HG--
rename : content/events/src/nsQueryContentEventHandler.cpp => content/events/src/nsContentEventHandler.cpp
rename : content/events/src/nsQueryContentEventHandler.h => content/events/src/nsContentEventHandler.h
2009-02-11 05:56:51 +09:00
Masayuki Nakano
4755de05c7 Backing out the TSF patch of bug 88831. This might cause a timeout failure on test_keycodes.xul
--HG--
rename : content/events/src/nsContentEventHandler.cpp => content/events/src/nsQueryContentEventHandler.cpp
rename : content/events/src/nsContentEventHandler.h => content/events/src/nsQueryContentEventHandler.h
2009-02-11 03:02:05 +09:00
Oleg Romashin
8d5ffda846 Bug 477586 - We should be able to disable NativeColors using in xpwidgets. 2009-02-10 14:25:00 -05:00
Jim Chen
41a1a807d6 Bug 88831 Support new IME API "Text Services Framework" from Office XP and Windows XP r=masayuki+peterv, sr=roc
--HG--
rename : content/events/src/nsQueryContentEventHandler.cpp => content/events/src/nsContentEventHandler.cpp
rename : content/events/src/nsQueryContentEventHandler.h => content/events/src/nsContentEventHandler.h
2009-02-10 20:15:36 +09:00
Jesse Ruderman
5f1cc5c3ce Add a bunch of crashtests 2009-02-10 00:09:40 -08:00
Marco Bonardo
391f0b1388 Backed out changeset 92a47ed3d54e - Michael Ventnor — Bug 469831 - need gtk2 drawing code for test plugin - due to mochitest leak failures (crash?) 2009-02-10 01:36:46 +01:00
Michael Ventnor
8ce094f4ec Bug 469831 - need gtk2 drawing code for test plugin. r+sr=roc 2009-01-26 11:21:46 -05:00
Josh Aas
63e2d096d1 Clean up nsPluginHostImpl. Removes an old workaround for mac Flash 6. Stop using the phrase "active plugin" to refer to plugin instances. Dead code and spelling fixes. b=476409 r/sr=jst 2009-02-09 13:48:06 -05:00
Patrick McManus
840be56e49 Bug 454990. On Windows, increase the size of our TCP send window to 128KB, from the default of 8KB. The value is already 128KB on other OSes, and it appears that other browsers on Windows change the default in the same way. r=jduell, r+sr=bzbarsky. 2009-02-09 12:31:44 -05:00
Rich Walsh
02717bd898 [OS/2] Bug 476134: allow plugin code to be built with GCC 4.3.x on OS/2 by using the right calling convention, r=josh, sr=jst 2009-02-05 12:21:27 +01:00
Josh Aas
7c8a12cb18 Don't run npapi private browsing tests when the private browsing service is not available. b=476406 r/sr=jst 2009-02-04 22:19:31 -05:00
Vladimir Vukicevic
ff530b54bb Back out bug 466586 (eBay preview image occasionally disappears after briefly appearing), due to 476349 crashes 2009-02-02 21:23:09 -08:00
Vladimir Vukicevic
5491a16c93 Backing out test for bug 466586 2009-02-02 21:14:59 -08:00
Boris Zbarsky
749a81258a Bug 475897. Rev imgIContainer iid in CLOSED TREE 2009-02-03 15:45:27 -05:00
Arpad Borsos
51bf75177c Bug 474116 - Clean up deprecated GTK symbols; r=(bsmedberg + roc) sr=roc 2009-02-02 18:49:58 +01:00
Josh Aas
f1b1a53408 Remove unnecessary NPPVprivateModeBool enum. b=468877 2009-02-01 21:15:44 -05:00
Jim Mathies
8ddad5ef5d Updated reftest.list for Bug 469830. 2009-01-31 15:50:21 -06:00
Jim Mathies
df49001deb Bug 469830 - Windows drawing code for test plugin. r=ted,joshmoz 2009-01-31 15:06:02 -06:00
Joe Drew
ca2541f607 Bug 466586 - Only expire cache elements that don't have any proxies/observers. r=stuart sr=vlad a=blocking1.9.1+
The image cache is now composed of two things: a heap of tracked items that
can be expired and evicted, and a superset of that which hashes from URI to
cache element. Cache elements start out in the second set, and are moved to
the first (and start to be tracked for expiry) once they have no observers.
2009-01-30 21:17:47 -05:00
Joe Drew
a7a5803b59 Bug 466586 - Test to ensure that we don't have to reload an image that exists in a document. 2009-01-30 21:17:35 -05:00
Josh Aas
015a5c7e76 Add API allowing plugins to participate in private browsing. b=468877 r/sr=jst 2009-01-30 16:40:14 -05:00
Jim Mathies
fc1a190574 Bug 455353 - Backout of code added to imagelib in Bug 355555. r=dougt 2009-01-30 13:13:52 -06:00
Peter Weilbacher
15fe4f92fb [OS/2] Bug 476029: fix build break in wrap_XPCOM.cpp (with GCC 3.3.5) following bug 474866 2009-01-30 09:59:26 +01:00
Ehsan Akhgari
d2b5ccb3ce Bug 467672 - need additional bidi.numerals setting for Persian (eastern Arabic-Indic) numerals; r=roc,jfkthame sr=roc 2009-01-30 11:43:17 +03:30
Josh Aas
d98282c9bc Remove libreg dependency on morefilesx. b=464362 r=smichaud sr=bsmedberg 2009-01-29 23:49:27 -05:00
L. David Baron
62e280a661 Remove default value for gfx.downloadable_fonts.enforce_same_site_origin pref, which is no longer implemented. (Bug 457825) r=jdaggett 2009-01-29 12:39:19 -08:00
L. David Baron
d6d6914e7a Conditionally adjust two reftest references to match the non-assembly version of the code. (Bug 465088) r=bholley 2009-01-29 12:39:17 -08:00
Joe Drew
d5cccedfce Bug 473161 - Fix imgRequest::Cancel() to call Cancel() on the loadgroup instead of the channel. The fix to bug 89419 included a mistaken change from cancelling the loadgroup to cancelling the channel. r=bzbarsky, sr=vladimir, a=blocking1.9.1+ 2009-01-29 14:18:56 -05:00
Joe Drew
763c2531bd Backout bug 473161 2009-01-26 17:12:05 -05:00
Joe Drew
4b8233638e Back out tests for bug 466586 2009-01-26 17:09:48 -05:00
Joe Drew
40b7703a1f Backed out changeset 18988bc1c727 2009-01-26 17:08:14 -05:00
Joe Drew
962cd7d3c1 Backed out changeset 72fda0d63f66 2009-01-26 17:07:54 -05:00
Joe Drew
daedbb0955 Backed out changeset 7d9bea3fa51a 2009-01-26 17:07:38 -05:00
Joe Drew
2528fd153b Bug 473161 - Fix imgRequest::Cancel() to call Cancel() on the loadgroup instead of the channel. The fix to bug 89419 included a mistaken change from cancelling the loadgroup to cancelling the channel. r=bzbarsky, sr=vladimir, a=blocking1.9.1+ 2009-01-26 15:34:03 -05:00
Joe Drew
a3bb205467 Bug 466586 - Only expire cache elements that don't have any proxies/observers. r=stuart sr=vlad a=blocking1.9.1+
The image cache is now composed of two things: a heap of tracked items that
can be expired and evicted, and a superset of that which hashes from URI to
cache element. Cache elements start out in the second set, and are moved to
the first (and start to be tracked for expiry) once they have no observers.
2009-01-26 15:34:01 -05:00
Joe Drew
480285ad5f Bug 466586 - Test to ensure that we don't have to reload an image that exists in a document. 2009-01-26 15:33:59 -05:00
Johnny Stenback
b1945926a3 Fixing bug 474866. Make the plugin instance peer have a weak reference to its owner, and make the owner tell the peer once it's no longer its owner so we don't have reference cycles, yet the instance can hold on to its peer while being cached between pages. r+sr=mrbkap@gmail.com 2009-01-25 22:00:12 -08:00
Johnny Stenback
389a938400 Backed out changeset abd5a41c0b70 2009-01-25 11:19:51 -08:00
Johnny Stenback
7b13ea308c Fixing bug 474866. Don't null out the peer when stopping plugins to break reference cycles, as cached plugins depend on the peer remaining set. Null out the owner instead. r=joshmoz@gmail.com, sr=bzbarsky@mit.edu 2009-01-25 09:05:00 -08:00
Chris Pearce
3b0b1c6e28 Bug 451958. Support Access-Controls for media loads. r+sr=roc
--HG--
extra : rebase_source : 4a180379a401040f16c4fce80ef116da139ba2cb
2009-01-25 00:00:17 +13:00
Robert O'Callahan
876f275609 Backed out changeset a87563d6594e
--HG--
extra : rebase_source : e4687a80f8e88f7f0e156a34ca95f96a1eaf85f6
2009-01-23 17:39:45 +13:00
Walter Meinl
627190cf07 Don't try to build plugin tests unless platform is specifically marked as ready. b=474503 r=josh sr=jst 2009-01-22 23:18:47 -05:00
Chris Pearce
f816163290 Bug 451958. Support Access-Controls for media loads. r+sr=roc
--HG--
extra : rebase_source : ab0be3a0dc18e6accfb4059c5d0f3e252b890afc
2009-01-23 16:13:19 +13:00
Martijn Wargers
3aeca987aa Bug 458158 - Crash [@ nsJAR::Open] when passing null argument to open method of zip-reader, r+sr=cbiesinger and r=jwalden+bmo 2009-01-22 16:12:00 +01:00
Daniel Holbert
2a7d88e05a Bug 473236 - Remove executable bit from files that don't need it. (Only changes file mode -- no code changes.) r=bsmedberg 2009-01-21 22:55:08 -08:00
Fred Jendrzejewski
8759b06c00 Bug 466622. Replace nsCStringArray with nsTArray<nsCString> for more consistent code and fewer heap allocations. r+sr=roc,r=bsmedberg
--HG--
extra : rebase_source : b963bf5de9d9c445b14620479691482512e0faf2
2009-01-22 17:15:34 +13:00
Arpad Borsos
89096c497d Bug 471877 - Cleanup GTK includes; further cleanup + system-headers cleanup; r+sr=roc 2009-01-21 16:24:46 +01:00
Edward Lee
a0fa2b97c8 Bug 471903 - pref urlbar.autocomplete.enabled is no longer implemented. r=dietrich
Bug 472943 - Two confusable preferences, "browser.urlbar.search.sources" and "browser.urlbar.default.behavior", should be unified

--HG--
rename : toolkit/components/places/tests/autocomplete/test_search_sources.js => toolkit/components/places/tests/autocomplete/test_enabled.js
2009-01-21 02:00:04 -06:00
Makoto Kato
54d479a36e Bug 456028 - x86_64 Optimization for lcms.r=bholley 2009-01-19 19:35:47 -08:00
Joe Drew
a42f4c7dae Backed out changeset 84c6254be42a; pushing into CLOSED TREE 2009-01-19 13:22:59 -05:00
Joe Drew
ec27a55772 Bug 455508 - Investigating 20% Tp regression on fast Talos machines. Up the image cache to 50 MB and turn off time-based expiry. CLOSED TREE for perf testing. 2009-01-19 12:37:11 -05:00
Joe Drew
fd21e0b388 Backed out changeset 56f630c3bdf6 2009-01-17 12:25:17 -05:00
Joe Drew
1c2f4fde6c But 455508 - Perf test. Up the image cache to 15 MB to see if it affects Tp. CLOSED TREE for perf tests. 2009-01-17 10:27:26 -05:00
Mark Banner
d1a3b2d08b Fix onon-FF build bustage from bug 473577 2009-01-17 11:20:40 +00:00
Ted Mielczarek
ca38450994 bug 473577 - make test plugin usable for reftests. r=josh 2009-01-16 15:03:24 -05:00
Josh Aas
37e61ae8a0 JS delete operator should invoke npruntime removeProperty on NPObject. b=470291 r/sr=jst 2009-01-16 12:14:43 -05:00
rsx11m
1e88f9ff71 Bug 444898 - JPEG writer uses poor quality default options for compression. r=tor+dolske, sr=pavlov 2009-01-16 15:16:32 +01:00
timeless@mozdev.org
8d52a24340 Bug 101294 - make sure that nsPref is never unhappy at construction time, r=caillon, sr=dveditz 2009-01-15 20:02:22 -08:00
Josh Aas
15d1bd14a4 Fix: npruntime NPN_HasMethod forwards to wrong plugin function (hasProperty). b=467945 r/sr=jst 2009-01-15 15:20:10 -05:00
Mark Banner
ab8d03d8dd Bustage fix for some windows systems following bug 386676 2009-01-14 13:11:08 +00:00
Makoto Kato
d3cefcbb3b Should use LONG_PTR for plugin code due to Win64. b=472025 r=josh sr=jst 2009-01-13 13:15:39 -05:00
Walter Meinl
21b7a78f21 A bunch of plugin SDK build fixes. b=471759 r=josh sr=jst 2009-01-13 12:14:40 -05:00
Josh Aas
ac38ef99e1 bustage fixes for some systems, b=386676 2009-01-13 12:09:08 -05:00
Josh Aas
56dc1ce64c get rid of an incorrect comment 2009-01-13 01:47:13 -05:00
Josh Aas
539fcc967d System for testing plugins, take 4. b=386676 r=smichaud sr=roc 2009-01-12 22:06:21 -05:00
Johnny Stenback
71c558dbe8 Fixing bug 470993. Expose the remainder of the Java plugins XPCOM dependency through the NPAPI. r=joshmoz@gmail.com, sr=bzbarsky@mit.edu 2009-01-12 16:55:52 -08:00
Peter Weilbacher
f4df6e9155 [OS/2] Bug 467250: modify font alias list to include other special OS/2 platform fonts that we cannot directly resolve, r=wuno@lsvw 2009-01-12 17:48:24 +01:00
Phil Ringnalda
d5e6a4296b Fix spelling of immediatly, to get more builds going immediately in the CLOSED TREE 2009-01-11 00:06:41 -08:00
Ben Turner
6eaa912dc9 Fix leaky cycle between nsNPAPIPluginInstance and nsPluginInstancePeer. b=472439 r=josh sr=jst 2009-01-10 12:13:31 -05:00
Dave Camp
790d678de5 Bug 442809: respect application caches in imgLoader.cpp. r=joedrew, sr=vlad 2009-01-04 21:52:22 -08:00
Robert O'Callahan
c149ac33a2 Backed out changeset a5587354082a 2009-01-05 16:33:01 +13:00
Chris Pearce
5f79974815 Bug 451958. Implement load policy for media elements. r+sr=roc
--HG--
extra : rebase_source : 6554a080e91e0cf61807dd29ca5103dd35531cd8
2009-01-05 13:50:33 +13:00
Phil Ringnalda
4a7e8ada57 Bug 471439 - Remove long-dead MOZ_SECURITY ifdef, r=ted 2008-12-30 20:53:08 -08:00
Masatoshi Kimura
46abd5b87e Bug 470209 - intl.charsetmenu.browser.unicode should not be included in localizable file; r=smontagu sr=dbaron 2008-12-25 00:47:51 +01:00
Joe Drew
45aaededca Bug 455508 - Revert experimental change. 2008-12-23 23:17:31 -05:00
Joe Drew
4013a75b8d Bug 455508 - Double the image cache size to see if that has a material effect
on fast Tp as theorized. CLOSED TREE for perf numbers.
2008-12-23 22:26:41 -05:00
Joe Drew
141960a0b9 Keep track of the URI we're keyed on in imgRequests. This makes it possible to avoid leaks. b=468160 r=bzbarsky sr=vlad 2008-12-23 20:31:30 -05:00
Joe Drew
aac2d03952 Bug 468160 - Add test that does a redirect to a PNG inside an <object> tag. Our Mochitest framework will test for leaks for us. 2008-12-23 20:31:30 -05:00
Glenn Randers-Pehrson
3a04be0690 Update libpng to 1.2.34 - bug 461935 r+sr=joe 2008-12-22 18:40:01 -05:00
Joe Drew
ba5f4381c0 Handle 302 redirects properly in imagelib. b=89419 r=bzbarsky sr=vlad/pavlov 2008-12-22 17:20:46 -05:00
Justin Dolske
5c689a4061 Bug 455057 - some chrome images have embedded profiles. r=dbaron, ui-r=faaborg 2008-12-20 21:46:38 -08:00
Siddharth Agarwal
67bb2aad37 Bug 469739 - Add support for displaying Vista UAC shield icon; r=joe sr=vladimir 2008-12-21 02:31:35 +01:00
Joe Drew
b3ed052b57 Don't discard animated images so we don't have to worry about how to restore them. b=414259 r/sr=vlad 2008-12-19 17:35:50 -05:00
Joe Drew
a29562512b Bug 393936 - nsIRequest::cancel() must not notify anything sync. Make removal from the loadgroup async, and add another call cancelAndForgetObserver() that removes the listener immediately (since some callsites expect that). Note, however, that this new method shouldn't be used in any new code; it exists only to support code that relied on the broken behaviour prior to this checkin. r=bzbarsky sr=vlad 2008-12-19 17:35:50 -05:00
Josh Aas
4c4299efbe Backed out changeset e28cd33a0335 2008-12-19 05:30:53 -05:00
Josh Aas
170e6896d3 System for testing plugins, take 3. b=386676 r=smichaud sr=roc 2008-12-19 04:10:09 -05:00
Josh Aas
c5d2456c12 Backed out changeset 7b8ca8c944f2 2008-12-19 01:59:15 -05:00
Josh Aas
dd716baaec System for testing plugins, take 2. b=386676 r=smichaud sr=roc 2008-12-19 00:47:08 -05:00
Josh Aas
f23f281e83 npruntime sample plugin build fix. 2008-12-16 23:01:47 -08:00
Josh Aas
d22f132370 NPAPI header updates - comments, cleanup, and webkit compat change. Part of the patch for 386676. r=smichaud sr=roc 2008-12-16 23:48:42 -05:00
Josh Aas
e79f540ada Backed out changeset 2776db2defa2 2008-12-16 14:38:58 -05:00
Josh Aas
6e9c3576aa Add a system for testing plugins. b=386676 r=smichaud sr=roc 2008-12-16 10:27:32 -05:00
Robert Kaiser
91c83d1de9 bug 468337 - Remove "what's related" module, supplementary patch for OS/2 and RDF cleanup, r=pweilbacher sr=Neil 2008-12-15 19:07:42 +01:00
Doug Turner
4d98b5410e Bug 461847 - Windows Mobile build bustage in BZ2. Patch forwarded to bz2 owner, local change reviewed by blassey/bsmedberg 2008-12-15 09:55:29 -08:00
Josh Aas
765a564b23 back out bug 468678 to fix Flash on Mac OS X 2008-12-15 12:29:44 -05:00
Simon Montagu
70d49c14fa Make display of the directional hook on the caret dependent on the bidi.browser.ui pref. Bug 418513, r=uriber, sr=roc (for core) r=mano, gavin.sharp (for browser) 2008-12-14 01:05:39 -08:00
Phil Ringnalda
786f846a65 Bug 465892 - Make wholeText noAccess for mailNews, r+sr=bz 2008-12-12 19:45:07 -08:00
Robert O'Callahan
8786ac7740 Bug 448600. Add prefs to disable Ogg and WAVE backends. r=doublec,sr=bzbarsky 2008-12-12 21:17:57 +13:00
Joe Drew
c77de5254f Backed out changeset 4b22cab7e989 2008-12-11 16:47:47 -08:00
Joe Drew
3670f5ac6c Handle 302 redirects properly in imagelib. b=89419 r=bzbarsky sr=vlad/pavlov 2008-12-11 15:28:58 -08:00
Josh Aas
5295053066 remove support for resource (.rsrc) files in Mac OS X plugins. b=468678 r=smichaud sr=roc 2008-12-11 16:52:42 -05:00
Brad Lassey
13d8550000 Bug 463532 - build changes needed to import freetype2 into the tree r=ted sr=vlad 2008-12-11 11:50:31 -08:00
Brad Lassey
6bb3ad6730 Bug 463532 - import freetype2 into the tree r=ted sr=vlad 2008-12-11 11:50:31 -08:00
Robert Sayre
58f4455a2a Backout JOEDREW! patches for bug 89419 and bug 393936. Looks like they make mochitest leak. 2008-12-11 01:27:58 -08:00
Robert Sayre
a72651bef5 Backout JOEDREW! patches for bug 468160 and bug 414259. Looks like they make mochitest leak. 2008-12-11 00:57:49 -08:00
Joe Drew
cf5541dc63 Fix the obvious mistakes I'd made in the previous patch for bug 468160. 2008-12-10 21:10:03 -08:00
Joe Drew
0f5fffdcd6 Keep track of the URI we're keyed on in imgRequests. This makes it possible to avoid leaks. b=468160 r=bzbarsky sr=vlad 2008-12-10 20:58:28 -08:00
Joe Drew
b1879ea25f Don't discard animated images so we don't have to worry about how to restore them. b=414259 r/sr=vlad 2008-12-10 20:58:28 -08:00
Joe Drew
004fd475bb Handle 302 redirects properly in imagelib. b=89419 r=bzbarsky sr=vlad/pavlov 2008-12-10 16:26:15 -08:00
Joe Drew
294499eab5 Bug 393936 - nsIRequest::cancel() must not notify anything sync. Make removal from the loadgroup async, and add another call cancelAndForgetObserver() that removes the listener immediately (since some callsites expect that). Note, however, that this new method shouldn't be used in any new code; it exists only to support code that relied on the broken behaviour prior to this checkin. r=bzbarsky sr=vlad 2008-12-10 16:25:34 -08:00
Shawn Wilsher
bf0e65a35b Bug 466582 - smarter handling of remote chrome (and not allowing it)
This adds a new flag, URI_IS_LOCAL_RESOURCE, to nsIProtocolHandler that allows
something of this protocol to be registered in chrome.

This changeset removes a runtime check every time we open a chrome channel to
see if it is remote to a registration time check that checks flags.  The old
code could be easily worked around, and allowed for remote resources to be used.

r=bsmedberg
r=bz
sr=bz
2008-12-09 16:27:42 -05:00
Josh Aas
026fa64495 windows bustage fix for bug 462023 2008-12-09 14:00:09 -05:00
Steven Michaud
a6e2974fc4 Don't allow plugin to set NPPVpluginWindowBool on OS X. b=466495 r=josh sr=roc 2008-12-09 11:22:51 -06:00
Josh Aas
e25e7f6560 Fix error case leak in nsPluginFile::GetPluginInfo. b=462023 r=mstange sr=jst 2008-12-09 12:15:49 -05:00
Josh Aas
95febf4b8c whitespace/minor cleanup for nsPluginsDirDarwin.cpp, no bug 2008-12-09 12:01:29 -05:00
Josh Aas
dc31683568 Remove support for "main" as a plugin initialization function. b=467429 r=smichaud sr=roc 2008-12-08 23:52:02 -05:00
Josh Aas
95648c862d remove support for CFM binary plugins. b=467417 r=smichaud sr=roc 2008-12-08 21:34:21 -05:00
Arno Renevier
4c1e936539 npruntime sample does not compile on linux (FALSE not declared). b=464485 r=josh sr=roc 2008-12-08 21:26:51 -05:00
Shawn Wilsher
6ea17d3edc Backed out changeset b6f762fde736 (bug 466582) for unit test orange. 2008-12-08 18:51:46 -05:00
Shawn Wilsher
52fa025019 Bug 466582 - smarter handling of remote chrome (and not allowing it)
r=bsmedberg, r=bz, sr=bz
2008-12-08 17:14:14 -05:00
Ben Newman
2f001df19f Turn on lcms assertions in debug builds - bug 454519.r=bholley,sr=vlad 2008-12-06 23:17:49 -08:00
Vladimir Vukicevic
4b86e322d9 b=455169, PNG rendering problem with color management with null cms xform. r=joe,r=bholley 2008-12-06 23:06:33 -08:00
Bobby Holley
263791c64a LCMS LI16F_FORWARD renamed to LI8F_FORWARD - bug 457626.r=vlad 2008-12-06 22:55:10 -08:00
timeless@mozdev.org
a517ec4d3e crash on loading PNG or JPEG image - bug 463306. r=joe,r=bholley,sr=vlad 2008-12-06 22:46:17 -08:00
Glenn Randers-Pehrson
ce8c35232d Bug 460520 - LCMS detection code for bogus cHRM chunks. r=bholley 2008-12-06 22:36:45 -08:00
Bobby Holley
6a4d40ce2a LCMS bogus profile detection - Bug 460629. r=vlad 2008-12-06 22:32:24 -08:00
Chris Bishop
e05fbb65c7 Bug 465592 - To enable PGO on Thunderbird a module in the Mozilla core needs to have PGO disabled; r=ted.mielczarek 2008-12-06 16:34:59 +01:00
Arpad Borsos
f3e11b0624 Bug 414551 - gCallbacksEnabled in prefapi.cpp is unused and should be killed; r+sr=benjamin 2008-12-06 15:44:35 +01:00
Arpad Borsos
c1c477b539 Bug 462438 - kill MOZ_PROFILESHARING and MOZ_IPCD; build system cleanup + removes, v2; r+sr=benjamin 2008-12-04 15:37:37 +01:00
Arpad Borsos
9c7bb609d5 Bug 462438 - kill MOZ_PROFILESHARING and MOZ_IPCD; libpref cleanup, v3; r+sr=benjamin 2008-12-04 15:31:53 +01:00
Doug Turner
18c468b341 Bug 461845 - windows mobile minor cleanup of lcms r=pavlov 2008-12-03 08:42:03 -05:00
Doug Turner
e1f2c7a82c Bug 461848 - libjar wince cleanup r+sr=dveditz 2008-12-03 08:41:12 -05:00
Josh Aas
11ea2c36ca fix a drawing order glitch in the mac default plugin. b=467580 sr=jst 2008-12-02 16:05:36 -05:00
Arno Renevier
155b03d3b7 Fix npruntime sample compile problem, npupp.h -> npfunctions.h. b=464481 r=josh sr=jst 2008-12-02 14:12:54 -05:00
Serge Gautherie
be4694b633 Bug 458847 - colordepth.html TEST-UNEXPECTED-FAIL on my Windows 2000: 24<->32 bit colors mismatch; (Av2a) Allow higher values, on all platforms; r=dbaron 2008-12-02 13:45:09 +01:00
Bobby Holley
5f7eb68152 Bug 457215 - Fix LCMS memory leak. r=vlad,a191=beltzner 2008-11-28 17:26:39 -08:00
Josh Aas
3522c28f01 npfunctions should reflect different NP_Initialize signature for Mac OS X. r=smichaud sr=jst a=beltzner 2008-11-28 18:17:36 -05:00
Shawn Wilsher
a117a5ad88 Backed out changeset 30adfe786ffa (bug 464362) in an attempt to fix red on tinderbox. 2008-11-28 16:13:12 -08:00
Josh Aas
bbc161055d remove morefilesx dependency in libreg. b=464362 r=smichaud sr=roc a=beltzner 2008-11-28 17:34:32 -05:00
Shawn Wilsher
3120328fa0 Backed out changeset 6d9d920759cb (bug 460520) to investigate a performance regression (bug 467102) 2008-11-28 11:04:27 -08:00
Glenn Randers-Pehrson
eb4f4f25b0 Bug 460520 - LCMS detection code for bogus cHRM chunks. r=bholley,a191=beltzner 2008-11-28 10:16:54 +01:00
Justin Wood
b2458c170c Bug 463824, Introduce GLOBAL_DEPS to build system
r=ted, a1.9.1=beltzner [js bits rs=sdwilsh]
2008-11-27 18:26:44 -08:00
Shawn Wilsher
19fcb4b6ab Backed out changeset 87f6ae0c4324 (bug 435474) for orange. 2008-11-27 13:15:18 -08:00
Justin Wood
293c89f577 Bug 463824, Introduce GLOBAL_DEPS to build system
r=ted, a1.9.1=beltzner
2008-11-27 12:27:41 -08:00
Peter Weilbacher
a2df934c69 [OS/2] Bug 465691: make sure that we matched a font before using it and rename "Deja Vu" to "DejaVu", r=wuno@lsvw, a191b2=beltzner (CLOSED TREE) 2008-11-24 20:18:39 +01:00
Brad Lassey
cc9f2ff870 Bug 460767 - Crash in imgRequest.cpp in OOM conditions r=pavlov r=joedrew a19b2=beltzner. CLOSED TREE 2008-11-24 11:57:47 -05:00
Robert O'Callahan
38b1afff17 Backed out changeset ab6c0cda36b2 to fix test failures 2008-11-19 16:21:08 +13:00
Chris Pearce
21090b1054 Bug 451958. Implement access checks for media elements. r+sr=roc,a=beltzner 2008-11-19 14:08:39 +13:00
Boris Zbarsky
dc71f62826 Bug 462806. Don't init PSM to deal with random JARs. Save that for signed JARs. r=dveditz, sr=vlad, a=beltzner 2008-11-18 14:11:35 -05:00
Robert O'Callahan
b643a46984 Backed out changeset 73fb44504b62 2008-11-17 23:39:07 +13:00
Chris Pearce
4a34b777dd Bug 451958. Implement content-policy and CheckLoadURI checks for video sources. r+sr=roc,a=beltzner 2008-11-17 20:37:20 +13:00
Dave Townsend
c55f69da80 Bug 453545: InstallTrigger Broken when doing multiple signed XPI installs. r=biesi, a1.9.1b2=beltzner 2008-11-13 15:38:16 +00:00
Joe Drew
a2b8f5356f Backed out changeset 6bedb1e92dd0 due to refcount leaks 2008-11-07 15:01:35 -05:00
Joe Drew
8fd1536f32 Bug 393936 - Cancel() must not notify anything sync. Make removal from the loadgroup async, and add another call CancelAndForgetObserver() that removes the listener immediately (since some callsites expect that). r=bz, sr=pavlov, a=blocking1.9.1+ 2008-11-07 14:35:22 -05:00
Dave Townsend
68663a73e2 Backed out changeset 673d1ba18849 from bug 455057 as the likely cause of the Vista Ts regression 2008-11-07 15:21:35 +00:00
Dave Townsend
2545ad97e1 Backed out changeset 673d1ba18849 from bug 455057 as the likely cause of the
Vista Ts regression
2008-11-07 15:21:23 +00:00
Justin Dolske
23299930f7 Bug 455057 - some chrome images have embedded profiles (sRGB chunk removal). ui-r=faaborg, r=dbaron 2008-11-05 19:19:44 -08:00
Joe Drew
6683bd098a Crash [@imgRequest::NotifyProxyListener(imgRequestProxy*)] at tokyomango.com - bug 441563 r=vladimir sr=pavlov 2008-11-06 16:31:20 -05:00
Phil Ringnalda
bbe7e1d08a Bug 461888 - Remove unused PACKAGE_FILE and PACKAGE_VARS and .pkg files, mozilla-central part, r=bsmedberg 2008-11-03 19:46:28 -08:00
Josh Aas
319412e303 NPAPI impl formatting cleanup, round one. no bug, rs=jst 2008-11-03 14:23:07 -05:00
Dave Townsend
92bdda65fa Bug 455213: Plugins get enabled when updating to Firefox 3.1. r=jst, r=josh 2008-11-02 15:49:03 +00:00
Dave Townsend
d13a725406 Bug 455906: Support severities for blocklist entries. r=robstrong, r=jst
--HG--
rename : toolkit/mozapps/extensions/content/list.xul => toolkit/mozapps/extensions/content/blocklist.xul
rename : toolkit/mozapps/extensions/public/nsIBlocklistService.idl => xpcom/system/nsIBlocklistService.idl
2008-11-02 12:13:48 +00:00
Dave Townsend
d81de86f28 Backed out changeset bbccbf2c7456 2008-11-02 03:27:18 +00:00
Dave Townsend
f6b515d08c Bug 455906: Support severities for blocklist entries. r=robstrong, r=jst
--HG--
rename : toolkit/mozapps/extensions/content/list.xul => toolkit/mozapps/extensions/content/blocklist.xul
rename : toolkit/mozapps/extensions/public/nsIBlocklistService.idl => xpcom/system/nsIBlocklistService.idl
2008-11-02 01:34:45 +00:00
Dave Townsend
c801ea2744 Bug 446464: File permissions are not preserved when zipping with zipwriter. r=biesi 2008-10-31 20:10:46 +00:00
Josh Aas
a3f4911317 don't target a specific sdk in the default plugin, bustage fix, b=428973 2008-10-29 14:54:51 -07:00
Josh Aas
b9ead506a6 bustage fix for opt builds, b=428973 2008-10-29 11:00:47 -07:00
Josh Aas
dd1c5e81eb New default plugin for Mac OS X. b=428973 r/sr=jst 2008-10-29 10:43:47 -07:00
Josh Aas
074998c2bd back out changeset 47259b642835, b=456662 2008-10-28 17:00:32 -07:00
Jesse Ruderman
fdd437d15b Add bug number to FIXME comment 2008-10-28 14:42:21 -07:00
Josh Aas
997cd78337 fix new/malloc/delete/free mismatches. b=458104 r=mstange sr=dougt 2008-10-28 12:29:16 -07:00
Josh Aas
6852fb9eee Optimizations and 64-bit work for Mac OS X filesystem code. b=456662 r=smichaud sr=dougt 2008-10-28 12:15:56 -07:00
Blake Kaplan
cd649335ba Merge mozilla-central -> tracemonkey 2008-10-27 17:19:21 -07:00
Gervase Markham
f330d9125e Bug 460517: Add .ar to IDN TLD list. a=dveditz. 2008-10-27 07:52:10 +00:00
Josh Aas
b4275b33dd fix typo in npapi headers, no bug 2008-10-26 12:57:36 -07:00
Andreas Gal
c867e60dfc Merge. 2008-10-23 14:47:00 -07:00
Andreas Gal
459950dce5 Enable JIT by default for content (r=danderson). 2008-10-22 18:48:16 -07:00
Andreas Gal
ffe407c883 Backed out changeset 91277d409f44 (accidentally also touched Makefile.ref and config/Darwin.mk) 2008-10-22 18:46:41 -07:00
Andreas Gal
3b66906c5d Enable JIT by default for content (r=danderson). 2008-10-22 18:21:51 -07:00
Peter Van der Beken
0261cd68b1 Fix for bug 459828 (Remove nsIDOMCustomEvent.idl). r=smaug, sr=sicking. 2008-10-22 15:35:34 +02:00
Josh Aas
a1ed4f2417 Default plugin should communicate type via plist instead of PkgInfo. b=460836 r=smichaud sr=roc 2008-10-21 12:12:13 -04:00
Peter Van der Beken
993024875b Backed out changeset 4bc3dc1f6e11 2008-10-21 11:43:01 +02:00
Peter Van der Beken
3ba81f6270 Fix for bug 459828 (Remove nsIDOMCustomEvent.idl). r=smaug, sr=sicking. 2008-10-21 11:10:47 +02:00
L. David Baron
e8d28f69fd Add a preference for visited link support. (Bug 147777) r+sr=bzbarsky 2008-10-21 09:15:03 +02:00
Josh Aas
c1978008f5 correctly construct PkgInfo so the default plugin can load on Mac OS X. b=460812 r=ted 2008-10-20 16:43:21 -04:00
Josh Aas
3c5947edd0 build fixes for the Mac OS X basic plugin in our plugin SDK. b=459091 sr=dougt 2008-10-16 16:21:54 -04:00
Ian
ee43bba9c1 Bug 251475. Make sure channels don't return null for the originalURI. Initial work by Daniel Kraft <domob@daniel-kraft.net> and Brandon Ferguson <bnferguson@gmail.com>. r+sr=bzbarsky. 2008-10-15 16:05:23 -04:00
Masatoshi Kimura
08a6304f4d Bug 361822 - Native font names are no longer required in font.name-list.* for CJK fonts; r=smontagu sr=roc 2008-10-13 18:44:41 +02:00
Ginn Chen
a4b866e41e Bug 453883, ensure true/false marcos are available, r=joshmoz, sr=jst 2008-10-13 13:25:20 +08:00
Phil Ringnalda
8c39edefbd Bug 458883, r+sr=bzbarsky 2008-10-12 14:42:00 -07:00
Peter Weilbacher
b8af3f6c3f [OS/2] Bug 454956: fix OS/2 build break with GCC 3.4.6 or newer, part 2 2008-10-11 14:49:03 +03:00
Peter Weilbacher
bf4885ba51 [OS/2] Bug 459429: OS/2 build brakes after rename of npupp.h to npfunctions.h 2008-10-11 10:35:51 +03:00
Walter Meinl
a04b09093c Bug 454097 - [OS/2] get rid of VisualAge in configures; m-c part; r=mozilla 2008-10-11 03:01:28 +02:00
Arpad Borsos
8b11d938d2 Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan 2008-10-10 17:04:34 +02:00
Dave Townsend
336531ba7f Backing out changeset 62274f98ccf8 from bug 455213 due to test failures 2008-10-09 12:55:47 +01:00
Dave Townsend
612a33103e Bug 455213: Plugins get enabled when updating to Firefox 3.1. r=jst, r=josh 2008-10-09 10:35:20 +01:00
Brad Lassey
add313bab4 Bug 445988 - no focus rings around text input boxes in fennec p=tonikitoo r=roc sr=roc 2008-10-08 19:28:31 -04:00
Josh Aas
d41fbaa3b2 Clean up npupp.h and rename it to npfunctions.h, part 2. b=455458 r/sr=jst 2008-10-07 21:53:02 -04:00
Josh Aas
7029208c8f Clean up npupp.h and rename it to npfunctions.h. b=455458 r/sr=jst
--HG--
rename : modules/plugin/base/public/npupp.h => modules/plugin/base/public/npfunctions.h
2008-10-07 21:50:25 -04:00
Boris Zbarsky
164afa9a0a Bug 458100. Make sure that we'll also instantiate the plug-in even if the nsPluginDocument has no presshell yet at OnStartRequest time. Thanks to Evgeny <evg.salmin@gmail.com> for pointing out the problem. r+sr=jst 2008-10-07 14:53:23 -04:00
Boris Zbarsky
5964ca6e14 Backed out changeset d07aa0d0712a: Relanding: Bug 373701. Make sure to properly cancel multipart image loads when they need canceling. r=joedrew, sr=biesi 2008-10-02 09:53:35 -04:00
Boris Zbarsky
a1df483e98 Backing out changeset afcc5aa0fb07 to see effect on the Windows Txul 2008-10-01 20:06:48 -04:00
Mike Hommey
a4003e2ade Bug 368428 - "XUL FastLoad cache corruption when application running while upgrading" [r=biesi] 2008-10-01 00:25:29 -05:00
John Daggett
c5d2a8ddfd Bug 441473. Implement user font set object. r+sr=roc 2008-10-01 12:01:53 +09:00
Joe Drew
0e14c97490 Bug 455606 - Remove old cache elements when pushing elements with the same key r/sr=stuart 2008-09-30 17:47:47 -04:00
Doug Turner
e06e303ba0 Merge after pull 2008-09-29 14:20:20 -07:00