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

7291 Коммитов

Автор SHA1 Сообщение Дата
timeless@mozdev.org 791ae3c496 Bug 507404 dialogWindow is unused in DialogOKClicked and DIALOGID is useless
r=karlt
2009-08-26 18:27:59 +02:00
Masatoshi Kimura 3c52da98b5 Bug 509179. Disable compilation of TSF when not available in the SDK. r=ted 2009-08-25 12:13:42 -07:00
Benjamin Smedberg 28fb767bd1 Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted 2009-08-25 08:59:31 -07:00
Josh Aas 6ab4a1d474 Remove java-specific preferences from Firefox UI, hidden prefs. Java should be managed via the addons manager. Also improves accuracy of "window.navigator.javaEnabled()". b=506985 r/sr=jst uireview=faaborg 2009-08-24 15:56:43 -07:00
Alfred Kayser 07c32b8276 Bug 510247 - Simplify the BuildFileList scanner logic to prevent underruns on JAR files. r=tglek 2009-08-25 00:12:02 +02:00
Magnus Melin 82e9a8aa88 Bug 248280: pref "javascript.allow.mailnews" is obsolete and should be removed. r=dmose 2009-08-24 21:12:22 +03:00
Mats Palmgren 3db17e0fb0 Make the nsPluginInstanceTag destructor non-recursive to avoid exhausting stack space. b=486349 r+sr=jst 2009-08-19 02:25:36 +02:00
Hashem Masoud 44f7f9d413 Bug 489502 - Replace NS_ASSERTION(0, ...) by NS_ERROR(...) in mozilla-central; r=benjamin 2009-08-14 16:09:00 +02:00
Jeff Muizelaar 3cbb6b2c45 imported patch jpeg-icc 2009-08-13 18:33:24 -04:00
Bobby Holley 64bbce4cdc Bug 509929 - Reference cycle between nsProgressNotificationProxy and nsHttpChannel on channel redirect. r=biesi 2009-08-13 13:20:41 +02:00
Josh Aas b799c5f197 Various 64-bit fixes for Mac OS X widget and plugin code. b=509947 r=mstange 2009-08-12 18:32:41 -04:00
Taras Glek 99756645a4 Bug 504864: mmap io for JARs r=bsmedberg 2009-08-12 13:50:12 -07:00
Bobby Holley 2fab987d8a Bug 507902 - nsImageFrame static Icon Loads should not use the mListener of the first instantiated nsImageFrame.r=bz,joe 2009-08-12 16:23:38 +02:00
Navin Lal 65e19ef012 Bug 385154 - remove nsInt64 usage from the tree. r=roc 2009-08-12 10:51:46 +02:00
timeless@mozdev.org 0cd940c5da Bug 508021 nsNPAPIPluginInstance::Print does not need to null check mCallbacks
r=jst
2009-08-12 11:49:55 +02:00
timeless@mozdev.org 7a36d5ec13 Bug 505833 NPObjectMember_Convert is the only function that doesn't null check JS_GetInstancePrivate
r=joshmoz@gmail.com
2009-08-12 11:49:53 +02:00
Serge Gautherie 7e911a2315 Backed out "changeset: ff9eba3f8224" of
Bug 504864 - mmap io for JARs; r=benjamin
which does not compile on Windows
2009-08-08 12:40:50 +02:00
Taras Glek 1bed2ff47c Bug 504864 - mmap io for JARs; r=benjamin 2009-08-08 12:07:39 +02:00
Ted Mielczarek e681fe983b bug 459114 - helper function to provide a clean profile directory for xpcshell tests. r=sdwilsh
--HG--
extra : rebase_source : 76f547c1f055f18f57e09c67f1a2f7b2f548c3cd
2009-05-14 07:37:40 -04:00
Ted Mielczarek a52d7c4fc6 Backed out changeset 9ddc25fb2246 - bug 459114 - helper function to provide a clean profile directory for xpcshell tests. r=sdwilsh - for test failures 2009-08-05 15:36:20 -04:00
Ted Mielczarek 506b5a5bca bug 459114 - helper function to provide a clean profile directory for xpcshell tests. r=sdwilsh
--HG--
extra : rebase_source : 7bd4c374609a9eea15d0b244c1415ae853146e84
2009-05-14 07:37:40 -04:00
Joe Drew bc221b3e47 Bug 506063. Add rect emptiness check to imgContainer::ExtractCurrentFrame(). r=vlad
--HG--
extra : rebase_source : 958125394452e818ea3a797e0848ac04373a7080
2009-08-05 14:39:05 +12:00
Robert O'Callahan 457bd15d2a Bug 506304. Support synthesized mouse events being sent to windowless plugins, support reporting mouse event coordinates from the test plugin, and add tests for mouse events. r=josh
--HG--
extra : rebase_source : 5c97644a6db8454f759bbeab7a1e06295aca8325
2009-08-05 13:36:37 +12:00
Margaret Leibovic 65444db3df Bug 462809 - Interpretation of scroll events on Windows and OS X, r=vladimir, ui-r=beltzner 2009-08-04 14:28:17 -07:00
Robert Sayre 67a84d1621 Merge mozilla-central to tracemonkey. 2009-08-02 15:27:09 -07:00
MattN 8717b3d0e7 Bug 446247 - Autocomplete should match any part of the string. r=dolske 2009-08-01 17:30:26 -07:00
Justin Dolske d0d7e1cb05 Bug 504675 - default sans serif font on Windows CE shouldn't be Tahoma. r=vladimir 2009-08-01 17:30:21 -07:00
Peter Weilbacher 897d469207 [OS/2] Bug 413529 - enable WPS icons again for all apps, r=wuno@lsvw 2009-08-01 22:21:08 +03:00
Rich Walsh c8d0b23aa5 [OS/2] Bug 500654: sync OS/2 plugin code with Windows version, to hopefully fix some Flash-related crashes, r=pweilbacher 2009-07-30 21:20:44 +03:00
Robert Sayre 82610b9bb0 Bug 500304. Turn on chrome jit. r=brendan 2009-07-29 17:14:26 -04:00
Christian Biesinger 94c015dd59 Fix memory leaks from changeset dcda49ff1a26 - need to make sure that
the destructor gets called for the hashtable entries.

Also fixes a nit (AddRef() -> NS_ADDREF_THIS())

r+sr=bz
2009-07-28 19:46:04 +02:00
Christian Biesinger 7bde6ce060 Bug 487638 - status bar blames wrong resource when downloading slow responding resource
- Makes nsDocLoader store the last-sent status message for each request in the
corresponding nsRequestInfo, and keeps a flag to indicate whether the request
is done
- When a request finishes, it looks for a random request that is not done and
has a non-empty status, and if it finds one, sends that status message to the
listeners
- To make this all work, the patch also changes imagelib so that status and
state messages sent for images are sent with the imgIRequest as the request and
not the channel. This is necessary because the channel is not part of the
loadgroup for images, only the imgIRequest is.
- Make the BrowserStatusFilter always update its pending status message if it
  is dirty, even when that matches the currently displayed status message

r+sr=bz
2009-07-28 18:13:48 +02:00
Josh Aas 6c0f932a89 Document unscheduleAllTimers scriptable method added to test plugin. 2009-07-27 23:37:52 -04:00
Ryo Kawaguchi b26f170817 Bug 506409: Merge Draw*ImageInternal methods into their Draw*Image callers, and fix a comment in imgIContainer.idl. patch=ryo r=roc 2009-07-27 16:48:13 -07:00
Matthew Noorenberghe 832a18e3c3 Bug 370117 - form autocomplete should sort by frequency of use. r=dolske 2009-07-25 22:05:03 +02:00
Navin Lal 073dca3f02 Bug 74803 - Should make global data const where possible; const changes for nsmodulecomponentinfo; r=dbaron 2009-07-25 03:27:08 +02:00
Taras Glek cadc63acef bug 505784: nuke STANDALONE mode in libjar r=bsmedberg 2009-07-23 11:40:29 -07:00
timeless@mozdev.org f590afd589 Bug 500068 thundersomething addon constantly crashes tb 2.0.0.22 final (win32, winxp) [@ nsCharTraits<unsigned short>::length - nsPref::SetUnicharPref]
r=dveditz
2009-07-22 17:31:04 -05:00
Taras Glek 4c0e909fa2 Bug 505784: nuke STANDALONE mode in libjar r=bsmedberg 2009-07-22 14:43:10 -07:00
Joe Drew 5f61ec3f10 Bug 505474 - Restore tracking of whether we've finished decoding a given GIF frame, so we don't call EndImageFrame() twice for a single frame. r=vlad
Before bug 753 landed, we implicitly tracked whether we'd called
EndImageFrame() by setting mImageFrame to null inside EndImageFrame(). Once
we stopped doing that, we tried writing to memory that had already been freed.

(This memory is actually freed once we error out on the invalid GIF, but the
internal state-tracking mechanics made it so we never wrote to that memory
even though we have stale pointers to it. Unfortunately when we entered
EndImageFrame() a second time, that state tracking was invalid and we
attempted to write to the stale pointer.)

This patch introduces a tracking variable, mCurrentFrame, which is set to the
frame of the currently-decoding frame when we're in the middle of decoding
it, and -1 otherwise. This ensures we don't enter EndImageFrame() a second
time, restoring the functionality we had prior to bug 753.
2009-07-21 21:20:01 -07:00
Joe Drew b6d5181452 Bug 505473 - Fix alpha handling so we composite animated GIFs properly. r=vlad 2009-07-21 21:19:59 -07:00
Robert O'Callahan 93a12375f7 Bug 500910. GTK2 test plugin should take window shapes into account when computing the effective clip region. r=karlt 2009-07-22 12:44:50 +12:00
Rob Arnold 23b0671689 Bug 502711 - imgITools cannot decode images stored in JARs r=joe
--HG--
extra : rebase_source : 002851f48d458d7ab0a4bbf87fd79fc893c425cb
2009-07-21 15:57:25 -07:00
Martin Stránský 71484d8958 Bug 486482 - null deref [@ nsPluginNativeWindowGtk2::CreateXEmbedWindow ]. r=josh, sr=jst 2009-07-21 10:13:38 +02:00
Joe Drew 9c23ca0770 Bug 753 - Remove nsIImage, gfxIImageFrame, and their implementations, and expose an equivalent api on imgIContainer. r=roc,josh,bz,longsonr,vlad,karlt,jimm,bsmedberg,mfinkle,peterw,peterv sr=vlad,roc
--HG--
rename : gfx/src/shared/gfxImageFrame.cpp => modules/libpr0n/src/imgFrame.cpp
rename : gfx/src/shared/gfxImageFrame.h => modules/libpr0n/src/imgFrame.h
2009-07-20 18:50:15 -07:00
Steven Michaud 91a134de7c [OSX] Embedded plugins don't print - NPP_Print not called. b=191046 r=josh,kinetic 2009-07-20 17:10:36 -05:00
Vladimir Vukicevic abcfbf5901 Disable CMS on Windows CE 2009-07-17 16:05:04 -07:00
Justin Dolske 320cf9281f Bustage fix for bug 503138. 2009-07-16 18:55:01 -07:00
Vladimir Vukicevic 3bdb68785c b=503902; put back npapi DOM object access for WinCE; r=jst 2009-07-16 14:13:43 -07:00
Vladimir Vukicevic 2f01c25aad b=503138; choose different default sans-serif font for Windows CE; r=jdaggett 2009-07-16 14:13:38 -07:00
Ehsan Akhgari c9a76a84d0 Bug 496292 - Support changing the Accept header via a preference; r=joedrew sr=bzbarsky 2009-07-15 11:52:40 +04:30
Peter Weilbacher b55bdf1d0c Bug 503950: OS/2 bustage fix for bug 503377, p=wuno@lsvw, r=pweilbacher 2009-07-14 13:34:07 +02:00
Benjamin Smedberg 2bc7e8c59a Windows bustage fix for bug 503377 2009-07-13 12:57:32 -04:00
Benjamin Smedberg 6b2ae89df2 nsIPluginInstance.getMIMEType should be a [shared, const] parameter... it doesn't follow the normal XPCOM rules about allocating memory. r=josh sr=jst 2009-07-13 12:27:46 -04:00
Ginn Chen 2f67902043 Bug 501889 _scheduletimer symbol not found on Solaris r=joshmoz sr=jst 2009-07-13 20:23:41 +08:00
Josh Aas bda5d5825f Remove mIsJavaPlugin variable in nsNPAPIPluginInstance, fix some comments. b=503809 sr=roc 2009-07-12 22:44:48 -04:00
Josh Aas a790c00274 Get rid of GUItoMacEvent and nsPluginEventType. b=503133 sr=roc 2009-07-10 20:20:32 -04:00
Robert O'Callahan 5f4a397603 Backed out changeset 91a43fa9b0da
--HG--
extra : rebase_source : 00ee0eac778112a8aac3e19f1f114e8b8b34580c
2009-07-10 20:13:51 +12:00
Robert O'Callahan 6f17c4e4a5 Bug 501295. The Win32 test plugin needs to compute an accurate clip region. r=jmathies 2009-07-10 14:03:00 +12:00
Robert O'Callahan 70308cfd2b Bug 501295. pluginGetEdge should return coordinates relative to the window frame in the Win32 test plugin. Then we can enable test_plugin_position on Windows. r=jmathies 2009-07-10 14:03:00 +12:00
Robert O'Callahan ced987b58f Bug 500910. GTK2 test plugin should take window shapes into account when computing the effective clip region. r=karlt 2009-07-10 14:02:58 +12:00
gyuyoung kim e22cfc47a5 Bug 456721 - Control GC frequency/a high water mark of Tracemonkey via about:config; r+sr=(brendan + mrbkap) 2009-07-09 14:16:26 +02:00
Josh Aas 52d340c441 Get rid of nsMIMEType type. b=503025 r/sr=jst 2009-07-08 23:25:20 -04:00
=Hiroyuki Ikezoe baafb3d937 bug 498845 - libbz2 can't use fdopen on windows ce r=bsmedberg 2009-07-08 11:49:47 -04:00
Josh Aas 8f211a8bc6 Remove some code that is no longer necessary for the Java plugin on AIX. b=498148 r/sr=jst 2009-07-07 21:01:38 -04:00
Josh Aas ca37de3d5e nsIPlugin and nsIPluginHost should not inherit from nsIFactory. b=502886 r/sr=jst 2009-07-07 21:00:11 -04:00
Neil Deakin 0781cb50a9 Bug 478416, replace chromedir attribute with :moz-locale-dir pseudoclass, r=neil,dao,dbaron,sr=dbaron 2009-07-29 14:33:53 -04:00
Bobby Holley 49940b5bd3 Bug 504822 - Remove XBM support from Mozilla. r=joe sr=vladimir 2009-07-29 10:13:08 -04:00
Justin Dolske d8d288070e Bug 503573 - moz-icon doesn't work on Window CE. r=vlad 2009-07-28 23:19:34 -07:00
Justin Dolske ffe9c01f28 Bug 506811 - nsIconChannel assumes writing to non-aligned 32bit int is ok. r=joe 2009-07-28 23:19:31 -07:00
Vivien Nicolas a03fd8cb2a Bug 506641: Click image resizing for nsImageDocument should be disabled, r=bzbarsky 2009-07-28 23:02:55 -04:00
Mark Finkle 35e9d1187d Bug 500208: select element should update label when script changes selection, r=bzbarsky 2009-07-06 09:39:54 -04:00
Josh Aas e0b2aa0f90 Plugin host cleanup. b=501996 r/sr=jst 2009-07-06 02:10:10 -04:00
Peter Van der Beken a4b3ca413c Fix for bug 482788 (Lightweight DOM wrappers). r=jst, sr=mrbkap. 2009-05-12 22:20:42 +02:00
Robert O'Callahan eb37a0a0a4 Bug 499595. Win32 test plugin needs to double-buffer and look more like other platforms' test plugins. r=jmathies 2009-07-04 21:54:09 +12:00
Robert O'Callahan 7008c5ffd3 Bug 488620. GTK2 test plugin should not assume that ancestor X windows have associated GTK widgets. r=karlt 2009-07-04 21:47:15 +12:00
Josh Aas ae1a6660ff Remove XPCOM plugin code from nsPluginsDirUnix. b=502045 r/sr=jst 2009-07-03 09:53:00 -04:00
Mats Palmgren 91e6321954 Backout bug 486349, due to regression bug 502135. 2009-07-03 13:48:52 +02:00
Josh Aas 3446fff9ef Comment and formatting cleanup for nsIPlugin. No bug. 2009-07-02 15:32:21 -04:00
Mats Palmgren b7033d8cc1 Make the nsPluginInstanceTag destructor non-recursive to avoid exhausting stack space. b=486349 r+sr=jst 2009-07-02 11:57:37 +02:00
Josh Aas b7623b03f7 Rename nsPluginHostImpl to nsPluginHost. No bug, discussed with jst.
--HG--
rename : modules/plugin/base/src/nsPluginHostImpl.cpp => modules/plugin/base/src/nsPluginHost.cpp
rename : modules/plugin/base/src/nsPluginHostImpl.h => modules/plugin/base/src/nsPluginHost.h
2009-07-02 01:48:08 -04:00
Josh Aas dfcd432e66 Remove nsIPluginInstanceInternal, fold it into nsIPluginInstance. b=501786 r/sr=jst 2009-07-02 00:52:07 -04:00
Josh Aas f0487beaad Remove nsIPluginTagInfo2, fold it into nsIPluginTagInfo. b=501812 r/sr=jst 2009-07-01 20:54:18 -04:00
Makoto Kato 00565c45e7 Bug 499460 - Build error in plugin code for Symbian emulator. r=josh, sr=jst 2009-07-02 03:15:22 +09:00
Josh Aas 47ecfe28c4 Add new timer APIs to NPAPI, NPN_ScheduleTimer and NPN_UnscheduleTimer. b=499921 r/sr=jst 2009-07-01 11:09:49 -04:00
Benjamin Smedberg 6732560a10 Bug 500660 - Don't load XPT files from plugin directories any more r=josh sr=jst 2009-07-01 09:34:31 -04:00
Johnny Stenback fae33caf0b Fixing bug 442399. Remove LiveConnect from the tree. r=joshmoz@gmail.com, bclary@bclary.com, sr=brendan@mozilla.org 2009-06-30 15:55:16 -07:00
Josh Aas 95822822da Change plugin unloading behavior to never unload plugins by default. Prior to this patch plugins were unloaded whenever their last instance was destroyed. The old behavior meant that going from one page with a Flash instance to another page with a Flash instance would shut down the entire Flash plugin instead of just destroying one instance and starting another. The new behavior dramatically cuts down on plugin loading/unloading activity. Set "plugins.unloadASAP" to "true" to enable the old behavior of unloading plugins as soon as their last instance is destroyed. b=500925 r=bz sr=jst 2009-06-30 17:16:34 -04:00
Josh Aas a9126f5910 Remove nsPIPluginHost. b=501388 r/sr=jst 2009-06-30 16:49:04 -04:00
Josh Aas 35d3f49bc3 Bug 501194 - Remove nsplugin.h. r/sr=jst 2009-06-30 01:55:05 -04:00
Josh Aas 03e8417745 Remove plugin instance peers (nsIPluginInstancePeer, nsPIPluginInstancePeer). Second and final part of bug 500889. r/sr=jst 2009-06-29 14:53:52 -04:00
Glenn Randers-Pehrson 45f7375e6b Bug 397593. Reject any ancillary chunks after IDAT that have a bad CRC. r=joe,sr=vlad
--HG--
extra : rebase_source : 461bff64a9cff608435520eaab6c78f64e354d51
2009-06-29 11:08:40 +12:00
Kyle Huey 307b222af3 Bug 415761. Support Unicode file names in GetHIconFromFile. r=vlad
--HG--
extra : rebase_source : 855aeee93d123575f1f98c3d9833d31510feae1e
2009-06-24 17:50:36 -04:00
Josh Aas 871f98ac16 Bug 500889 - Remove nsIPluginInstancePeer2 and nsIPluginInstancePeer3, part 1 for removing plugin instance peers. b=500889 r/sr=jst 2009-06-28 19:43:19 -04:00
Henri Sivonen 0734590f00 Bug 487949 - Land HTML5 parser on trunk preffed off r=mrbkap, sr=jonas 2009-06-29 00:44:22 +02:00
Johnny Stenback a1ab92afdf Backed out changeset 168dd0eb7283 2009-06-28 11:47:11 -07:00
Henri Sivonen 4c1eb34c6d Bug 487949 - Land HTML5 parser on trunk preffed off r=mrbkap, sr=jonas 2009-06-28 20:19:05 +03:00
Henri Sivonen 323c609259 Merge trunk into HTML5 repo 2009-06-26 18:22:48 +03:00
Makoto Kato 4650146623 Bug 500122 - cannot build libjar on Symbian. r=cbiesinger 2009-06-26 14:43:15 +09:00
Josh Aas 782b2e2bed Minor cleanup in nsPluginHostImpl, no bug. 2009-06-25 23:33:34 -04:00