Commit Graph

129082 Commits

Author SHA1 Message Date
kyle.yuan%sun.com
39bc3967fa Bug 237076 Object hierarchy is broken @ nsOuterDocAccessible
r=louie.zhao, sr=henry.jia
explicitly implement GetChildCount for nsOuterDocAccessible
2004-04-16 02:03:18 +00:00
scott%scott-macgregor.org
9e3c9a77c5 fix typo 2004-04-16 00:35:56 +00:00
cbiesinger%web.de
6026cdb670 more bustage 2004-04-16 00:13:22 +00:00
cbiesinger%web.de
5fae275817 fixing camino bustage 2004-04-16 00:08:31 +00:00
rlk%trfenv.com
4fc71addea Bug 235887 - Add .win, .mac, .pc and .unix classes to show platform-specific help content. r=neil@parkwaycc.co.uk 2004-04-15 23:39:49 +00:00
rlk%trfenv.com
97c5fdf6d3 Bug 235887 - Add .win, .mac, .pc and .unix classes to show platform-specific help content 2004-04-15 23:39:04 +00:00
scott%scott-macgregor.org
5a877292e3 Follow up to Bug #240138 --> Add pref UI for turning on / off showing just the display name
for contacts you know.
2004-04-15 23:36:17 +00:00
darin%meer.net
c083b41820 fixes bug 239038 "rev IIDs for all interfaces modified since Mozilla 1.6" r=bsmedberg sr=jst 2004-04-15 23:30:05 +00:00
scott%scott-macgregor.org
57712bbcb2 Bug #239555 --> port Neil's cleanup in 239555 to thunderbird. 2004-04-15 23:25:20 +00:00
jst%mozilla.jstenback.com
221422910d Removing extra space. 2004-04-15 23:16:30 +00:00
edburns%acm.org
e78ca37c3a javadoc 2004-04-15 23:03:09 +00:00
edburns%acm.org
c2d7e96b90 The churn continues. After this checkin, BrowserControlFactoryTest
runs, but nothing else does.

As you all probably already know, all mozilla API calls have to happen
on the same thread.  For webclient, this will be the NativeEventThread.
This change-bundle does many many things, here are the main ones.

These changes are in concert with the checkin I just did to the diagram
at
<http://www.mozilla.org/projects/blackwood/webclient/design/20040306-webclient-2_0.zargo>.

M classes_spec/org/mozilla/webclient/impl/WrapperFactory.java
M classes_spec/org/mozilla/webclient/impl/wrapper_native/WrapperFactoryImpl.java

 * <p>This class is the hub of the startup and shutdown sequence for
 * Webclient.  It is a singleton and owns references to other app
 * singletons:</p>
 *
 * 	<ul>
 * 	  <li><p>{@link NativeEventThread}</p></li>
 *
 * 	  <li><p>{@link Bookmarks}</p></li>
 *
 * 	  <li><p>{@link Preferences}</p></li>
 *
 * 	  <li><p>{@link ProfileManager}</p></li>

 * 	  <li><p>the native object singleton corresponding to this java
 * 	  object (if necessary)</p></li>
 *
 *	</ul>
 *
 * <p>It maintains a set of {@link BrowserControlImpl} instances so that
 * we may return the native pointer for each one.</p>
 *
 * <p>This class is responsible for creating and initializing and
 * deleting {@link BrowserControlImpl} instances, as well as ensuring
 * that the native counterpart is proprely maintained in kind.</p>
 *
 * <p>This class has a tight contract with {@link
 * NativeEventThread}.</p>

- make BrowserControl creation and deletion part of this classes
  responsibilities.

- introduce NativeWrapperFactory concept.

- own the one and only NativeEventThread.

M classes_spec/org/mozilla/webclient/impl/wrapper_native/NativeEventThread.java

- make this a singleton.

- remove dependencies on BrowserControl and nativeBrowserControl

 * <p>This is a singleton class.  All native events pass thru this class
 * by virtue of the {@link #pushRunnable} or {@link pushNotifyRunnable}
 * methods.</p>

- remove listener logic.  This'll go into EventRegistration, where it
  belongs.

A src_moz/NativeWrapperFactory.cpp
A src_moz/NativeWrapperFactory.h

- takes the place of the old WebclientContext

- is now a class

M classes_spec/org/mozilla/webclient/impl/BrowserControlImpl.java

- this no longer destroys the nativeBrowserControl.  That is now done by
  WrapperFactoryImpl.

M classes_spec/org/mozilla/webclient/impl/WebclientFactoryImpl.java

- no longer maintain browserControlCount.

M classes_spec/org/mozilla/webclient/impl/wrapper_native/BookmarksImpl.java
M classes_spec/org/mozilla/webclient/impl/wrapper_native/NavigationImpl.java
M classes_spec/org/mozilla/webclient/impl/wrapper_native/PreferencesImpl.java
M classes_spec/org/mozilla/webclient/impl/wrapper_native/ProfileManagerImpl.java

- rename NativeContext to NativeWrapperFactory, to illustrate its
  singletonness.

M classes_spec/org/mozilla/webclient/impl/wrapper_native/EventRegistrationImpl.java

- comment out a bunch of stuff in anticipation of the new threading
  model, currently being fleshed out.

M classes_spec/org/mozilla/webclient/impl/wrapper_native/ImplObjectNative.java

- NativeEventThread is singleton

M src_moz/BookmarksImpl.cpp
M src_moz/PreferencesImpl.cpp
M src_moz/ProfileManagerImpl.cpp
M src_moz/RDFEnumeration.cpp
M src_moz/RDFTreeNode.cpp

- rename WebclientContext to NativeWrapperFactory.

M src_moz/EmbedWindow.cpp

-  mBaseWindow->Destroy();
+  if (mBaseWindow) {
+      mBaseWindow->Destroy();
+  }

M src_moz/Makefile.in

- Bring back NavigationImpl

- add NativeWrapperFactory.

M src_moz/NativeBrowserControl.cpp
M src_moz/NativeBrowserControl.h

- move event queue and java related stuff to NativeWrapperFactory.  This
  class is now essentially a copy of EmbedPrivate in GtkEmbed.

M src_moz/NativeEventThread.cpp

- remove methods, most of it has moved to
  WrapperFactoryImpl/NativeWrapperFactory.

M src_moz/NavigationImpl.cpp

- comment out all methods but LoadURI.

M src_moz/WrapperFactoryImpl.cpp

- take functionality over from NativeEventThread.

M src_moz/ns_util.cpp
M src_moz/ns_util.h

- the eventQueue is owned by NativeWrapperFactory now.

M src_moz/rdf_util.cpp
M src_share/jni_util.cpp

- make all exceptions RuntimeExceptions, so they can be thrown from a
  Runnable.

M test/automated/src/classes/org/mozilla/webclient/impl/wrapper_native/WrapperFactoryImplTest.java

- comment out the meat of this test until I figure out how to test it.

M test/automated/src/test/BrowserControlFactoryTest_correct

- new content.
2004-04-15 22:58:08 +00:00
cbiesinger%web.de
901a8b8a33 fixing os/2 bustage 2004-04-15 22:36:56 +00:00
bzbarsky%mit.edu
26cdb24398 Make nsXULElement::GetChildNodes use the same (live) node list that
nsGenericElement uses.  Bug 240633, r+sr=jst on the C++ changes, r=neil, sr=jst
on the JS changes.
2004-04-15 22:14:39 +00:00
cbiesinger%web.de
f0944a3ee7 arrg, more osx fixes 2004-04-15 22:08:21 +00:00
cbiesinger%web.de
91a4cf7af2 this time, a correct fix... 2004-04-15 21:58:51 +00:00
cbiesinger%web.de
0155a1bd28 more mac bustage... 2004-04-15 21:38:31 +00:00
timeless%mozdev.org
483eb6656a Fixing build and nspr links 2004-04-15 21:36:33 +00:00
cbiesinger%web.de
04be82342f fixing osx bustage 2004-04-15 21:32:11 +00:00
sicking%bigfoot.com
1cf142e193 Bug 240264: Don't try to store three bits of data in a pointermember, only two are safe.
r/sr=jst
2004-04-15 21:24:30 +00:00
brendan%mozilla.org
65d2274604 More cloned function object fixing: don't convert a jsval to a JSFunction, then back up via fun->object -- that leads to the clone-parent, when the value may be the clone we want (240577, r=shaver). 2004-04-15 21:01:24 +00:00
cbiesinger%web.de
14177dedcb Bug 235502 nsIMIMEService, nsIMIMEInfo should use nsACString/nsAString instead of string/wstring
r=bzbarsky sr=darin
2004-04-15 20:56:37 +00:00
cbiesinger%web.de
c88fe8ffac bug 235504, remove const char* version of nsCString::EqualsWithConversion,
second try
r=darin sr=dbaron
2004-04-15 20:44:53 +00:00
rbs%maths.uq.edu.au
54946a0603 fix typo 2004-04-15 20:35:35 +00:00
neil%parkwaycc.co.uk
e4a51a7517 Bug 233275 Double-clicking an empty area of the suggested word list incorrectly replaces words r=glazou sr=mscott 2004-04-15 20:32:06 +00:00
mostafah%oeone.com
c9df57f0cb Cleaned up code with reference to attachment 146208 of bug 226209 2004-04-15 20:27:32 +00:00
neil%parkwaycc.co.uk
80ffb9f963 Fix for smoketest blocker 240339 bogus prefs interrupt navigator startup r=varga sr=dveditz 2004-04-15 20:11:02 +00:00
rbs%maths.uq.edu.au
759d9ab5d3 Add the much requested support for find in <textarea> and text <input> elements. Also fix a long-standing problem with the mutually-exclusion: selecting something in a text field doesn't clear an earlier selection outside. b=58305, r=akkana, sr=jst 2004-04-15 19:45:46 +00:00
mkaply%us.ibm.com
41123bf49f #238962
r=pedemont, sr=blizzard (platform specific), a=mkaply
OS/2 only - use PrfQueryProfileData to get font names since they might be binary, not strings
2004-04-15 18:39:08 +00:00
blizzard%redhat.com
9d4a2b9797 Bug #195078. LOCATION signal was triggered when subframe loads would happen, not just on the primary load. Patch from chpe@gnome.org. r+sr=blizzard 2004-04-15 18:35:38 +00:00
dbaron%dbaron.org
ec96a95d0b Update version number from 1.7b to 1.8a. 2004-04-15 18:06:15 +00:00
mkaply%us.ibm.com
97aa00840e #240596
rs=roc, a=dveditz
Add euro to some 8XX codepages and update 862
2004-04-15 17:22:07 +00:00
timeless%mozdev.org
f0af12bf85 Bug 240500 JS_DefineFunctions APIDoc for return is wrong
r=brendan
2004-04-15 16:20:34 +00:00
edburns%acm.org
4648e3ec0d javadoc: add "interfaceName" to getImplFromServices. 2004-04-15 15:30:00 +00:00
amardare%qnx.com
f1169f4362 Changes for qnx ( photon ) platform only. They should not affect building/runtime other platforms.
Fixed a building problem due to changes in XRemoteClient.
2004-04-15 14:57:14 +00:00
amardare%qnx.com
cbc343c595 Changes for qnx(photon) platform only.
It should not affect runtime/building other platforms.

Fixed a building problem due to change in nsIXRemoteWidgetHelper.
2004-04-15 14:46:59 +00:00
amardare%qnx.com
e16647549c Changes for qnx ( photon ) platform only. They should not affect runtime/building other platforms.
Bug:217943
Patch from jkinraid@clear.net.nz to fix draw international text with special character spacing
( justified text ).
2004-04-15 14:40:47 +00:00
mostafah%oeone.com
a5094d564a Fixing bustage from check-in of attachment 146150 2004-04-15 13:54:58 +00:00
brendan%mozilla.org
ab1b721b28 Fix old watchpoint function vs. clone bug (240577) and undo bogus strict warning from lazy class init (240404 in part). 2004-04-15 09:05:46 +00:00
neil%parkwaycc.co.uk
36d497e924 Bug 186999 Fix RestoreSelection so that sorting scrolls the selected message back into view and selecting messages by key works even when a message is already selected r=bienvenu sr=mscott 2004-04-15 08:55:28 +00:00
brendan%mozilla.org
369750021e Hackaround for bug 240404. 2004-04-15 08:11:55 +00:00
darin%meer.net
56ef759c17 fixes bug 238847 "working path's problem of FTP connection" r=dougt sr=bryner 2004-04-15 06:10:41 +00:00
justdave%syndicomm.com
e917075a69 Backing out checkin from bug 238865: patch was negatively reviewed post-mortem.
a=justdave
2004-04-15 05:44:47 +00:00
bmlk%gmx.de
fcfa993e38 use the desiredsize and not the previous mrect size for the overflow area, bug 233438, r/sr=dbaron 2004-04-15 04:28:28 +00:00
justdave%syndicomm.com
86da9f856f Bug 237638: make bugzilla_email_append.pl work with BugMail.pm instead of processmail
a=justdave
2004-04-15 04:24:39 +00:00
bmlk%gmx.de
ad43c63bf3 make table pixel rounding IE compatible, bug 188377 patch by croo@nm.ru, r=me sr=dbaron 2004-04-15 04:13:11 +00:00
bienvenu%nventure.com
312552003d add ability to open .eml and .msg files into standalone msg window, patch by DIGITALGimpus, r=bienvenu, sr=mscott, 239555, plus some whitespace cleanup, dump statement removal 2004-04-15 03:16:58 +00:00
scott%scott-macgregor.org
702c6ba71e Bug #237029 --> Thunderbird's content policy manager should honor the plugin pref
sr=bienvenu
2004-04-15 02:54:08 +00:00
justdave%syndicomm.com
5f8b20d894 Bug 235752: Mac OS X version of Firefox still thought it was Firebird. Copying the InfoPlist.strings file off the 0.8 branch, which was correct.
r= ben
2004-04-15 02:40:40 +00:00
bzbarsky%mit.edu
7a292c3f22 Make getElementsByAttribute be an nsContentList so that it's got that live
DOMNodeList goodness that all nodelists should have.  Change some JS to not
break, and some other JS to be a little more efficient with the new world of
lazy listness.  Bug 240186, r=neil on the JS changes, r=jst on the content
changes, sr=jst
2004-04-15 01:51:32 +00:00