82105 Commits

Author SHA1 Message Date
ashuk%eng.sun.com
ea2739771e Bug=78610
author=ashuk
ra=edburns

File modifed: java/webclient/src_moz/CBrowserContainer.cpp

This patch enables focus in a form field inside Webclient.

Index: CBrowserContainer.cpp
===================================================================
RCS file: /cvsroot/mozilla/java/webclient/src_moz/CBrowserContainer.cpp,v
retrieving revision 1.19
diff -u -r1.19 CBrowserContainer.cpp
--- CBrowserContainer.cpp       2001/05/10 20:47:06     1.19
+++ CBrowserContainer.cpp       2001/05/11 19:04:09
@@ -28,6 +28,7 @@
 #include "CBrowserContainer.h"
 #include "nsCWebBrowser.h"
 #include "nsIWebBrowser.h"
+#include "nsIWebBrowserFocus.h"
 #include "nsIRequest.h"
 #include "nsIDOMNamedNodeMap.h"
 #include "nsIDOMWindow.h"
@@ -619,6 +620,10 @@
 nsresult JNICALL
 CBrowserContainer::doEndDocumentLoad(nsIWebProgress *aWebProgress)
 {
+
+    nsCOMPtr<nsIWebBrowserFocus> focus(do_GetInterface(mInitContext->webBrowser));
+    focus->Activate();
+
     nsCOMPtr<nsIDOMWindow> domWin;

     if (nsnull != aWebProgress) {
2001-05-11 19:06:54 +00:00
mjudge%netscape.com
9cb20c1f7d reverting method for getting selection controller. this WAS to stop selection from snapping from outer document to inside the text field. unfortunately this caused a regression with copying. r= kin a= leaf 2001-05-11 18:51:43 +00:00
mkaply%us.ibm.com
6939408334 senna REQUIRES bustage - a lot of these components in this REQUIRES can probably be removed 2001-05-11 18:10:07 +00:00
justdave%syndicomm.com
66952b81d2 Fix for bug 38859: escape invalid email addresses for HTML before displaying to the user.
Patch by Myk Melez <myk@mozilla.org>
r= jake@acutex.net, justdave@syndicomm.com
2001-05-11 18:02:38 +00:00
nboyd%atg.com
8961afa95f Hi, Norris!
The attached patch allows subclasses of IdScriptable to override
hasIdValur/deleteIdValue and uses lazy initialization for idMapData
array to avoid its creation when an IdScriptable descendant does not
have any functions. The patch also touches NativeMath.java to replace in
its scopeInit method
        super.scopeInit(cx, scope, sealed);
by
        activateIdMap(cx, sealed);
This is the only reason NativeMath needs to call
IdScriptable.scopeInit() which is intended for creation
constructor/prototype pair.

Regards, Igor
2001-05-11 17:41:00 +00:00
mkaply%us.ibm.com
431fa5a72b senna requires bustage 2001-05-11 16:43:24 +00:00
kin%netscape.com
ab0e977a52 Fix non-debug build bustage. 2001-05-11 15:19:28 +00:00
cls%seawood.org
dbbfa197bf Fix |make clean| for Mac OSX
Bug #75895
2001-05-11 14:48:36 +00:00
ftang%netscape.com
6131e86653 fix bug 73251. r=ftang sr=blizzard
author = simon@softel.co.il
chagne bidi property table
2001-05-11 14:42:29 +00:00
ftang%netscape.com
81953be03a fix 76689. r=harishd sr=blizzard
fix non-ASCII xml element name display in the end tag at xml view source
2001-05-11 14:39:17 +00:00
attinasi%netscape.com
b696e7f9a5 Fixes crash deleting legend frame. r=rods sr=waterson b=70648 2001-05-11 14:26:04 +00:00
valeski%netscape.com
f9a681041f r=saari, sr=blizzard 64349. adding GetFocusedElement to nsWebBrowser.cpp. patch submitted by DebugWeyers@yahoo.com. 2001-05-11 14:19:39 +00:00
kin%netscape.com
0eba0b4b07 Fix for bug #79177: nsIEditorShell editor property should not be [noscript]
Removed the [noscript] notation on the editor attribute.

    editor/idl/nsIEditorShell.idl

r/sr=sfraser@netscape.com
2001-05-11 13:59:45 +00:00
kin%netscape.com
729a670d51 Fix for bug #75305: Doing Undo and Redo crashes browser
Added nsAutoUpdateViewBatch class, and use it in
nsPlaintexteditor::Undo()/Redo().

    editor/base/nsEditorUtils.h
    editor/base/nsPlaintextEditor.cpp

r=jfrancis@netscape.com   sr=sfraser@netscape.com
2001-05-11 13:59:11 +00:00
kin%netscape.com
91d049b213 Fix for bug #79157: Resurrect plain text editor
Moved Citer/Wrap files into core editor list. Ifdef'd out HTML
specific transactions with ifndef MOZILLA_PLAINTEXT_EDITOR_ONLY.

   editor/base/Makefile.in
   editor/base/TransactionFactory.cpp
   editor/base/makefile.win

r=akkana@netscape.com  sr=sfraser@netscape.com
2001-05-11 13:58:31 +00:00
ftang%netscape.com
2c3595cab7 fix bug 79276
r=bstell sr=blizzard
add additional charset naem for gb18030
should not impact the build
2001-05-11 13:54:56 +00:00
kmcclusk%netscape.com
2f0ac23db7 Fix nsIDrawingSurface::GetPixelFormat() on WIN32 by removing aPixFormat argument passed to CreateBitmapObject and use mPixFormat instead. bug 77895 patch from alex.fritze@crocodile-clips.com; r=dcone@netscape.com sr=attinasi@netscape.com 2001-05-11 13:54:42 +00:00
peterv%netscape.com
9c2c0d19e0 Partial fix for bug 72142 - only for windows and mac (Add XSLT component to installers). r=sgehani, sr=jst. 2001-05-11 13:50:37 +00:00
ftang%netscape.com
1640678728 fix bug 79680
r/sr = kin
add bidi additional string
should not impact the build
2001-05-11 13:49:54 +00:00
glazman%netscape.com
431b63f164 Advanced Dialog for CSS properties should rely on ElementCSSInlineStyle; b=80000, r=cmanske, sr=kin 2001-05-11 13:49:34 +00:00
ftang%netscape.com
0d019dae21 fid bug 79677. add bidi option to the dtd
r/sr = kin
should not impact the tree
2001-05-11 13:47:48 +00:00
ftang%netscape.com
f1b9dddcba fix bug 79675 add new dtd files. r/sr=kin
not part of the build yet
should not impact the build
2001-05-11 13:46:03 +00:00
ftang%netscape.com
f3d18aef4d fix bug 79387. r=nhotta sr=blizzard
regroup the charset name for new charsaets
properties file chane. Should not impact the build
2001-05-11 13:44:35 +00:00
ftang%netscape.com
96e90c7b30 add additional charset name
fix bug 79387
r=bstll sr=blizzard
properties file additional. Should not impact the build
2001-05-11 13:41:20 +00:00
ftang%netscape.com
7b3e061946 update cp936map.h
fix bug 79276.
r=bstell sr=blizzard
2001-05-11 13:38:01 +00:00
ftang%netscape.com
d1b1d11d6b fix bug 79276. Additional uf and ut file for GB18030
not part of the build yet. Should not hurt build
r=bstell sr=blizzard
2001-05-11 13:37:05 +00:00
jfrancis%netscape.com
af56a727cb fixing worms bustage 2001-05-11 13:32:32 +00:00
cls%seawood.org
cb8228ce90 Set NO_MDUPDATE when building NSS as NSS makes silly assumptions w/o checking with the compiler if you don't. 2001-05-11 13:29:40 +00:00
brade%netscape.com
50a1c5a282 rename GetScrollView to GetScrollableView to match Set; bug #65124 2001-05-11 13:25:38 +00:00
brade%netscape.com
cbc456fb1d fill in the scrolling methods; add GetScrollableView; bug #65124 2001-05-11 13:24:43 +00:00
brade%netscape.com
fc0f0c61c8 add GetScrollableView; bug #65124 2001-05-11 13:24:28 +00:00
mkaply%us.ibm.com
b96a7af920 senna REQUIRES bustage 2001-05-11 13:09:28 +00:00
jfrancis%netscape.com
56ac4a4d19 bug 65557 and cast of thousands: making the editor behave more intelligently wrt html whitespace rules. Improved ws handling for: insert text, insert break, join blocks, split block, delete Yet to be tackled is html copy & paste. r=fm; sr=kin 2001-05-11 12:43:22 +00:00
leaf%mozilla.org
d1a70597de Automated update 2001-05-11 12:14:50 +00:00
peterv%netscape.com
b2a66f4486 Backing out till we figure out why this breaks now. 2001-05-11 12:00:16 +00:00
mkaply%us.ibm.com
d90f63d182 OS/2 TB breakage
Normally in this case we would ifeq OS2 and use a semicolon
in the VPATH, but I am going to attempt to fix this with a space
so that I can see if this fix will work on other compilers. Using
a space is acceptable according to the GMAKE docs.
2001-05-11 12:00:05 +00:00
mkaply%us.ibm.com
996855da28 senna REQUIRES bustage 2001-05-11 11:55:38 +00:00
leaf%mozilla.org
b713ea8381 Automated update 2001-05-11 10:59:52 +00:00
peterv%netscape.com
5bb2a07a4b 72141 (Enable XSLT in default builds). r=cls. 2001-05-11 10:44:44 +00:00
peterv%netscape.com
b266a24692 Bustage fix. 2001-05-11 10:13:38 +00:00
peterlubczynski%netscape.com
db195a6c81 Adding code I accidentally removed in last check-in 2001-05-11 09:43:13 +00:00
ssu%netscape.com
207d79cdf4 changing the wording of a message in a .ini file. not part of tinderbox builds. 2001-05-11 08:59:48 +00:00
ssu%netscape.com
21f3f6dd1a fixing bug 73870 - Proxy saves http proxy information as ftp preferences. r=dveditz, sr=mscott. affects only windows platforms/builds 2001-05-11 08:56:34 +00:00
leaf%mozilla.org
e663493a3d Automated update 2001-05-11 08:44:49 +00:00
peterv%netscape.com
d5a6b02631 72141 (Enable XSLT in default builds). r=nisheeth, sr=jst. 2001-05-11 08:43:45 +00:00
ben%netscape.com
8c4082ae26 Bug 79948, fix pref window size. r=pchen, sr=waterson & bonus fix for 79949 2001-05-11 08:42:42 +00:00
ben%netscape.com
aa33a2858b Bug 79948, fix pref window size. r=pchen, sr=waterson 2001-05-11 08:41:33 +00:00
scc%mozilla.org
c4bd966c8f bug #74726, partial fix, r=vidur, sr=jst: make |nsCommon[C]String| re-bindable; make constructors |explicit|; fix clients. bug #75169, r=jst, sr=waterson: fix string warnings on Windows; fix some typos 2001-05-11 08:41:21 +00:00
bryner%uiuc.edu
ec224b9d73 removing mailnews/cthandlers/signstub/Makefile. r=cls. 2001-05-11 08:33:33 +00:00
peterv%netscape.com
6872330b5f 72141 (Enable XSLT in default builds) and 74879 (Makefiles must die). r=nisheeth, sr=jst. 2001-05-11 08:33:21 +00:00