Граф коммитов

7036 Коммитов

Автор SHA1 Сообщение Дата
Joe Drew 8dda864ce7 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 934bb1d83e 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 ae67fdbbc6 bug 482091. patch from Jeff Muizelaar. fix cash on maemo with plugins 2009-03-12 08:11:10 -07:00
Joe Drew 2c5f20991a Backed out changeset 987a23d40e86 because of leaks on a11y tests on Linux 2009-03-12 00:22:50 -04:00
Joe Drew 99fa336c94 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 e301b54816 Bug 482625 - Fix some warnings and remove some unneeded type declarations. r+sr=jst 2009-03-10 16:21:40 -07:00
Dave Camp 09d711d78c 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 1fa7eaa3b7 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 a795d22323 b=479104; move windows plugin dir service code to UNICODE; r=jst 2009-03-08 22:07:00 -07:00
timeless 9bc5482866 Bug 462728 crash when using alert from docloaderservice onStateChange listener [@ nsJARChannel::OnStartRequest]
r=biesi
2009-03-05 13:27:48 +01:00
Joe Drew c941fa06fa 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 f307080661 Bug 224012 - VerReg.c warning: "VR_FILE_SEP redefined", r+sr=dveditz 2009-03-01 17:06:58 -08:00
timeless@mozdev.org 08a1b9e832 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 0c3d68845e 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 56f8c64c87 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 8ce3b9950b 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 410e53149e Bug 442109 - youtube videos don't play; r=vladimir 2009-02-25 16:25:12 +01:00
Jonas Sicking 3da7544b33 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 b6e4256d62 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 780503094f Backed out changeset 4130ff1e52f3 (bug 479521) due to test failures. 2009-02-24 15:38:40 -08:00
Jonas Sicking f325176e29 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) 7728e4c165 Bug 479336 - "IDN blacklist needs to include box-drawing characters" [r=dveditz] 2009-02-24 10:50:51 -06:00
Masayuki Nakano 181f814d9f 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 ca145dbf74 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 888b8c30ba 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 a23d9e71cc Sync NPAPI scrolling constants between files. b=477126 r/sr=jst 2009-02-20 16:10:58 -05:00
Nochum Sossonko 89a220614f 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 a6c2a0a171 Bug 461849 - enable icon decoder on Windows Mobile. r=stuart 2009-02-19 18:56:49 -08:00
Jason Duell ba26d17227 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 df6ff8f5bb Backed out changeset 4bd7dd7645c2 (Bug 474536) 2009-02-19 12:37:53 -08:00
Jason Duell 0b10eee40b 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 fe85742cee 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 3223dac22e 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 a9a6ccd621 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 2f5743f4e3 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 fdc70ffbdd 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 a8b3772702 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 852bb11f8e Backed out changeset af9270b650e6 2009-02-13 18:24:22 -05:00
Joe Drew 4576ca256c 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 3f817e72f2 Fix typo from patch for bug 476897
--HG--
extra : rebase_source : b91f8f0fa5e96438fb676264a19370a0bedbfc42
2009-02-12 16:34:54 -05:00
Vladimir Vukicevic f8e6185165 b=478140; set some WinCE all.js defaults; r=stuart 2009-02-12 18:26:02 -08:00
Jesse Ruderman aab1c02b20 Add some crashtests 2009-02-10 16:36:04 -08:00
Blake Kaplan 598cdd7a3b 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 5c302ab936 bug 476897 - add pref to disable caret browsing/f7 - r=gavin 2009-02-10 15:10:07 -08:00
Jim Chen 1882cf9a2f 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 02e59d3cbf 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 2e2b85b6c4 Bug 477586 - We should be able to disable NativeColors using in xpwidgets. 2009-02-10 14:25:00 -05:00
Jim Chen 096291dfe5 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 d10d1967a8 Add a bunch of crashtests 2009-02-10 00:09:40 -08:00
Marco Bonardo f72ba8e98c 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 0119891115 Bug 469831 - need gtk2 drawing code for test plugin. r+sr=roc 2009-01-26 11:21:46 -05:00
Josh Aas 7d78f40925 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 5d3fca7a62 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 9043879337 [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 e9e98e4f88 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 949ccffcad 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 7e48444fb3 Backing out test for bug 466586 2009-02-02 21:14:59 -08:00
Boris Zbarsky 307c9433b9 Bug 475897. Rev imgIContainer iid in CLOSED TREE 2009-02-03 15:45:27 -05:00
Arpad Borsos 760ddfdea5 Bug 474116 - Clean up deprecated GTK symbols; r=(bsmedberg + roc) sr=roc 2009-02-02 18:49:58 +01:00
Josh Aas ca78c132e1 Remove unnecessary NPPVprivateModeBool enum. b=468877 2009-02-01 21:15:44 -05:00
Jim Mathies 115dc74b34 Updated reftest.list for Bug 469830. 2009-01-31 15:50:21 -06:00
Jim Mathies b1eb90c3f5 Bug 469830 - Windows drawing code for test plugin. r=ted,joshmoz 2009-01-31 15:06:02 -06:00
Joe Drew 44eb9666ea 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 b48c3c3af8 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 023787822c Add API allowing plugins to participate in private browsing. b=468877 r/sr=jst 2009-01-30 16:40:14 -05:00
Jim Mathies a698949e31 Bug 455353 - Backout of code added to imagelib in Bug 355555. r=dougt 2009-01-30 13:13:52 -06:00
Peter Weilbacher 64bacca1ea [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 e19367ce33 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 aa7a78acbf Remove libreg dependency on morefilesx. b=464362 r=smichaud sr=bsmedberg 2009-01-29 23:49:27 -05:00
L. David Baron d876898f3b 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 afe7c8342d 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 3adff5d0db 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 b3d2e7020c Backout bug 473161 2009-01-26 17:12:05 -05:00
Joe Drew 9c637be6a6 Back out tests for bug 466586 2009-01-26 17:09:48 -05:00
Joe Drew b530f2f103 Backed out changeset 18988bc1c727 2009-01-26 17:08:14 -05:00
Joe Drew 756e29c85d Backed out changeset 72fda0d63f66 2009-01-26 17:07:54 -05:00
Joe Drew 590a9c1914 Backed out changeset 7d9bea3fa51a 2009-01-26 17:07:38 -05:00
Joe Drew e75703cef3 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 ad62f61dee 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 a56cb85c08 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 133470f2bc 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 07c46af0fe Backed out changeset abd5a41c0b70 2009-01-25 11:19:51 -08:00
Johnny Stenback e246f1bee7 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 a227af805f 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 5fa5cf0556 Backed out changeset a87563d6594e
--HG--
extra : rebase_source : e4687a80f8e88f7f0e156a34ca95f96a1eaf85f6
2009-01-23 17:39:45 +13:00
Walter Meinl 432b5e2ed9 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 d1f7b43e39 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 cd9326ec0f 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 c755eee8e7 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 fd612bd117 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 7523e7d43d Bug 471877 - Cleanup GTK includes; further cleanup + system-headers cleanup; r+sr=roc 2009-01-21 16:24:46 +01:00
Edward Lee e27afd6054 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 0ba87edb97 Bug 456028 - x86_64 Optimization for lcms.r=bholley 2009-01-19 19:35:47 -08:00
Joe Drew 9049acadc0 Backed out changeset 84c6254be42a; pushing into CLOSED TREE 2009-01-19 13:22:59 -05:00
Joe Drew 114684ec4e 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 b3b7c71522 Backed out changeset 56f630c3bdf6 2009-01-17 12:25:17 -05:00
Joe Drew d7e87c9765 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 b19731b935 Fix onon-FF build bustage from bug 473577 2009-01-17 11:20:40 +00:00
Ted Mielczarek c6beb154b2 bug 473577 - make test plugin usable for reftests. r=josh 2009-01-16 15:03:24 -05:00
Josh Aas 06a33031ee JS delete operator should invoke npruntime removeProperty on NPObject. b=470291 r/sr=jst 2009-01-16 12:14:43 -05:00