Commit Graph

130713 Commits

Author SHA1 Message Date
neil%parkwaycc.co.uk
ef313d52a0 Bug 193625 Option to mark incoming junk mail as read p=eyalroz@technion.ac.il r=me sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@154973 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-16 10:24:19 +00:00
cbiesinger%web.de
8a8de8d2f6 really fixing camino bustage
git-svn-id: svn://10.0.0.236/trunk@154972 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-16 09:15:38 +00:00
neil%parkwaycc.co.uk
8d3fe4a475 Bug 132450 Remove unused viewString parameter from the OnItemAdded method r=bienvenu sr=mscott
git-svn-id: svn://10.0.0.236/trunk@154971 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-16 08:38:53 +00:00
igor%mir2.org
2436a3402d 1. Change cmp_* functions to return boolean, not int, to simplify code.
2. Move optimizer-only functions from ScriptRuntime.java to optimizer/OptRuntime.java
3. Add ScriptRuntime.wrapBoolean to wrap boolean value and use it in the optimizer


git-svn-id: svn://10.0.0.236/trunk@154970 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-16 07:38:20 +00:00
timeless%mozdev.org
4f2a799f3e Bug 205140 Prefs: remove "network.http.*.timeout"
r=darin sr=darin


git-svn-id: svn://10.0.0.236/trunk@154969 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-16 06:45:05 +00:00
darin%meer.net
e732b15c2f fixes bug 226241 "Anonymous unions may only contain non-static data members and not define types." r=timeless sr=bryner
git-svn-id: svn://10.0.0.236/trunk@154968 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-16 05:46:27 +00:00
darin%meer.net
c3dd72d4a1 patch for bug 232567 "Warn when HTTP URL auth information isn't necessary or when it's provided" r=dougt sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@154967 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-16 04:48:02 +00:00
kyle.yuan%sun.com
8d1d9fd0a6 Bug 237076 Object hierarchy is broken @ nsOuterDocAccessible
r=louie.zhao, sr=henry.jia
explicitly implement GetChildCount for nsOuterDocAccessible


git-svn-id: svn://10.0.0.236/trunk@154966 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-16 02:03:18 +00:00
scott%scott-macgregor.org
5387fb1f06 fix typo
git-svn-id: svn://10.0.0.236/trunk@154964 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-16 00:36:36 +00:00
cbiesinger%web.de
cfaa0e49b1 more bustage
git-svn-id: svn://10.0.0.236/trunk@154963 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-16 00:13:22 +00:00
cbiesinger%web.de
492b0c825c fixing camino bustage
git-svn-id: svn://10.0.0.236/trunk@154962 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-16 00:08:31 +00:00
rlk%trfenv.com
cc498349df Bug 235887 - Add .win, .mac, .pc and .unix classes to show platform-specific help content. r=neil@parkwaycc.co.uk
git-svn-id: svn://10.0.0.236/trunk@154961 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-15 23:39:49 +00:00
rlk%trfenv.com
a67d57c500 Bug 235887 - Add .win, .mac, .pc and .unix classes to show platform-specific help content
git-svn-id: svn://10.0.0.236/trunk@154960 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-15 23:39:04 +00:00
scott%scott-macgregor.org
979719bb52 Follow up to Bug #240138 --> Add pref UI for turning on / off showing just the display name
for contacts you know.


git-svn-id: svn://10.0.0.236/trunk@154958 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-15 23:36:55 +00:00
darin%meer.net
d512bb2e4d fixes bug 239038 "rev IIDs for all interfaces modified since Mozilla 1.6" r=bsmedberg sr=jst
git-svn-id: svn://10.0.0.236/trunk@154957 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-15 23:30:05 +00:00
scott%scott-macgregor.org
190fed703c Bug #239555 --> port Neil's cleanup in 239555 to thunderbird.
git-svn-id: svn://10.0.0.236/trunk@154956 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-15 23:26:03 +00:00
jst%mozilla.jstenback.com
49d0eadb2d Removing extra space.
git-svn-id: svn://10.0.0.236/trunk@154955 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-15 23:16:30 +00:00
edburns%acm.org
d48a0d5e2a javadoc
git-svn-id: svn://10.0.0.236/trunk@154954 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-15 23:03:09 +00:00
edburns%acm.org
7f3d1127ae 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.


git-svn-id: svn://10.0.0.236/trunk@154953 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-15 22:58:08 +00:00
cbiesinger%web.de
f41f90a662 fixing os/2 bustage
git-svn-id: svn://10.0.0.236/trunk@154952 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-15 22:36:56 +00:00
bzbarsky%mit.edu
1c7a6361be 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.


git-svn-id: svn://10.0.0.236/trunk@154950 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-15 22:14:39 +00:00
cbiesinger%web.de
cf213cea0a arrg, more osx fixes
git-svn-id: svn://10.0.0.236/trunk@154949 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-15 22:08:21 +00:00
cbiesinger%web.de
22d0556890 this time, a correct fix...
git-svn-id: svn://10.0.0.236/trunk@154948 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-15 21:58:51 +00:00
cbiesinger%web.de
4b5a2ece3d more mac bustage...
git-svn-id: svn://10.0.0.236/trunk@154946 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-15 21:38:31 +00:00
timeless%mozdev.org
4218cf0321 Fixing build and nspr links
git-svn-id: svn://10.0.0.236/trunk@154945 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-15 21:36:33 +00:00
cbiesinger%web.de
edb5a180b8 fixing osx bustage
git-svn-id: svn://10.0.0.236/trunk@154944 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-15 21:32:11 +00:00
sicking%bigfoot.com
e04994666f Bug 240264: Don't try to store three bits of data in a pointermember, only two are safe.
r/sr=jst


git-svn-id: svn://10.0.0.236/trunk@154943 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-15 21:24:30 +00:00
brendan%mozilla.org
85177cb29b 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).
git-svn-id: svn://10.0.0.236/trunk@154942 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-15 21:01:24 +00:00
cbiesinger%web.de
39f2b721ec Bug 235502 nsIMIMEService, nsIMIMEInfo should use nsACString/nsAString instead of string/wstring
r=bzbarsky sr=darin


git-svn-id: svn://10.0.0.236/trunk@154941 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-15 20:56:37 +00:00
cbiesinger%web.de
fbd68c22ff bug 235504, remove const char* version of nsCString::EqualsWithConversion,
second try
r=darin sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@154940 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-15 20:44:53 +00:00
rbs%maths.uq.edu.au
aff7d184e9 fix typo
git-svn-id: svn://10.0.0.236/trunk@154939 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-15 20:35:35 +00:00
neil%parkwaycc.co.uk
437e8d4453 Bug 233275 Double-clicking an empty area of the suggested word list incorrectly replaces words r=glazou sr=mscott
git-svn-id: svn://10.0.0.236/trunk@154938 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-15 20:32:06 +00:00
mostafah%oeone.com
b20450e3e9 Cleaned up code with reference to attachment 146208 of bug 226209
git-svn-id: svn://10.0.0.236/trunk@154937 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-15 20:27:32 +00:00
neil%parkwaycc.co.uk
450f843df8 Fix for smoketest blocker 240339 bogus prefs interrupt navigator startup r=varga sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@154935 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-15 20:11:02 +00:00
rbs%maths.uq.edu.au
bfe77ca6d3 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
git-svn-id: svn://10.0.0.236/trunk@154934 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-15 19:45:46 +00:00
mkaply%us.ibm.com
ae13fa20bc #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


git-svn-id: svn://10.0.0.236/trunk@154933 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-15 18:39:27 +00:00
blizzard%redhat.com
2ef31262ac 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
git-svn-id: svn://10.0.0.236/trunk@154931 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-15 18:35:38 +00:00
dbaron%dbaron.org
2d7819e1e6 Update version number from 1.7b to 1.8a.
git-svn-id: svn://10.0.0.236/trunk@154929 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-15 18:06:15 +00:00
mkaply%us.ibm.com
b597f1275e #240596
rs=roc, a=dveditz
Add euro to some 8XX codepages and update 862


git-svn-id: svn://10.0.0.236/trunk@154927 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-15 17:22:07 +00:00
timeless%mozdev.org
1d6f0570c5 Bug 240500 JS_DefineFunctions APIDoc for return is wrong
r=brendan


git-svn-id: svn://10.0.0.236/trunk@154926 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-15 16:20:34 +00:00
edburns%acm.org
ef38384ea2 javadoc: add "interfaceName" to getImplFromServices.
git-svn-id: svn://10.0.0.236/trunk@154925 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-15 15:30:00 +00:00
amardare%qnx.com
6a2c5f3cf5 Changes for qnx ( photon ) platform only. They should not affect building/runtime other platforms.
Fixed a building problem due to changes in XRemoteClient.


git-svn-id: svn://10.0.0.236/trunk@154924 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-15 14:57:24 +00:00
amardare%qnx.com
2f1b185c74 Changes for qnx(photon) platform only.
It should not affect runtime/building other platforms.

Fixed a building problem due to change in nsIXRemoteWidgetHelper.


git-svn-id: svn://10.0.0.236/trunk@154923 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-15 14:46:59 +00:00
amardare%qnx.com
cc0d0d9ea5 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 ).


git-svn-id: svn://10.0.0.236/trunk@154922 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-15 14:40:47 +00:00
mostafah%oeone.com
b320d8204f Fixing bustage from check-in of attachment 146150
git-svn-id: svn://10.0.0.236/trunk@154920 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-15 13:54:58 +00:00
brendan%mozilla.org
3ce033390e Fix old watchpoint function vs. clone bug (240577) and undo bogus strict warning from lazy class init (240404 in part).
git-svn-id: svn://10.0.0.236/trunk@154919 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-15 09:05:46 +00:00
neil%parkwaycc.co.uk
16f5bbdb5d 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
git-svn-id: svn://10.0.0.236/trunk@154918 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-15 08:55:28 +00:00
brendan%mozilla.org
57ad8c9b24 Hackaround for bug 240404.
git-svn-id: svn://10.0.0.236/trunk@154917 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-15 08:11:55 +00:00
darin%meer.net
0d2362844d fixes bug 238847 "working path's problem of FTP connection" r=dougt sr=bryner
git-svn-id: svn://10.0.0.236/trunk@154916 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-15 06:10:41 +00:00
justdave%syndicomm.com
b73deff06d Backing out checkin from bug 238865: patch was negatively reviewed post-mortem.
a=justdave


git-svn-id: svn://10.0.0.236/trunk@154915 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-15 05:44:47 +00:00