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

937 Коммитов

Автор SHA1 Сообщение Дата
edburns%acm.org 0cd35326bc for_firebug 2008-02-27 02:36:55 +00:00
edburns%acm.org 302cb93787 new_style_document_xpconnect_usage 2007-12-27 05:27:37 +00:00
edburns%acm.org 2b095bf3aa update 2007-12-27 03:02:01 +00:00
edburns%acm.org 8450dfe58e update 2007-12-26 14:30:48 +00:00
edburns%acm.org ff79fd85d3 remove_until_needed 2007-12-26 14:23:24 +00:00
edburns%acm.org 6eb9099aa4 ? style
? MediaPlayer/build
M index.html
M jmfplayer/src/main/web/test01.html
M simple/src/main/web/index.html
2007-12-26 13:47:06 +00:00
edburns%acm.org d4aab3d6e7 M dist/build.xml
M dist/netbeans/nbproject/project.properties
M examples/simple/src/main/java/simple/SimplePluglet.java
M examples/simple/src/main/web/index.html
M src/Pluglet.cpp

New release.  Now with JavaScript to Pluglet calling.
2007-12-23 03:08:19 +00:00
edburns%acm.org a0f9a5ea85 A src/nsIPluglet.idl
M classes/org/mozilla/pluglet/Registry.java
M dist/build.xml
M examples/simple/src/main/java/simple/SimplePluglet.java
M examples/simple/src/main/web/index.html
M mozilla/Makefile.in
M mozilla/nppluglet.cpp
M mozilla/nppluglet.h
M mozilla/nsScriptablePeer.cpp
M netbeans/nbproject/build-impl.xml
M netbeans/nbproject/genfiles.properties
M netbeans/nbproject/project.properties
M netbeans/nbproject/project.xml
M src/Makefile.in
M src/Pluglet.cpp
M src/Pluglet.h
M src/PlugletEngine.cpp
M src/PlugletFactory.cpp
M src/Registry.cpp
M src/Registry.h
R mozilla/nsIPluglet.idl

- At this point, I can call from JavaScript and locate an arbitratily
  named method on the Pluglet instance that conforms to the signature of
  returning String, and taking 0 or more Strings as arguments.
2007-12-22 01:40:58 +00:00
edburns%acm.org 0e1f0fc804 checkpoint_basic_scriptability 2007-12-21 20:59:24 +00:00
edburns%acm.org 77a8a5aa3a checkpoint_basic_scriptability 2007-12-21 20:19:57 +00:00
reed%reedloden.com ed7b87b141 Bug 403221 - "Fix typo: |explaination| -> |explanation|" [p=sgautherie.bz@free.fr (Serge Gautherie)] 2007-11-13 06:51:37 +00:00
edburns%acm.org 7bb8f4c7cd remove unnecessary addNotify override 2007-11-12 22:54:00 +00:00
edburns%acm.org 35050b578f build_on_xp 2007-11-02 18:35:57 +00:00
edburns%acm.org 87ce6cd7c0 long_awaited_cvs_remove_of_obsolete_blackconnect_code 2007-11-01 16:50:17 +00:00
edburns%acm.org d114d67b35 copy_from_deployed_project_back_to_cvs_workarea 2007-09-25 00:52:05 +00:00
edburns%acm.org 90d341c731 winxp 2007-09-22 19:12:34 +00:00
edburns%acm.org 4b7e243d1f M README
M dist/build.xml
A dist/dummy-main/src/main/resources/plugin-prefs.js
M dist/netbeans/build.xml
M dist/netbeans/pluglet.properties
M dist/netbeans/nbproject/build-impl.xml
M dist/netbeans/nbproject/genfiles.properties
M dist/netbeans/nbproject/project.properties
M dist/netbeans/nbproject/project.xml

Repeatable project build.
2007-09-12 14:59:22 +00:00
edburns%acm.org 1c504711ec delete_pluginreg_compreg_xpti 2007-09-10 22:33:17 +00:00
edburns%acm.org e96fd4b654 all_files_in_order 2007-09-10 21:52:36 +00:00
edburns%acm.org a495880392 resolve_dependencies 2007-09-10 20:02:32 +00:00
edburns%acm.org e83ccfbeb5 create_build_process_for_binary_release 2007-09-10 19:38:48 +00:00
edburns%acm.org d14c48d859 restart_notes 2007-09-09 00:53:45 +00:00
edburns%acm.org 07e38e165b build_include_path_mods 2007-09-09 00:47:52 +00:00
jwalden%mit.edu 80ebc4b76c Bug 348748 - Remove casts from java/. r=bsmedberg on the script, a=NPOTB+no-functionality-change 2007-09-05 07:25:16 +00:00
edburns%acm.org c1660bee3c test_for_empty_string_values 2007-08-31 17:57:44 +00:00
edburns%acm.org 6b31ccf2ec M dist/mcp-test/src/test/java/immosearch/ImmoSearchTest.java
- Be more resiliant to changes in what the server sends back via ajax

M dist/netbeans/build.xml
M dist/netbeans/webclient.properties
M webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/WrapperFactoryImpl.java

  Added copyProxySettingsIfNecessary() to copy the proxy settings from
  the java system properties into the firefox properties format
  documented at
  http://developer.mozilla.org/en/docs/Mozilla_Embedding_FAQ:How_do_I...#How_do_I_set_the_network_proxy.3F
2007-08-31 15:05:19 +00:00
edburns%acm.org 25d4d32bc0 non-ide files for rc2 2007-08-28 15:58:29 +00:00
edburns%acm.org 4710635137 alpha_9 2007-07-02 17:36:22 +00:00
edburns%acm.org ca09157689 xp new window event 2007-07-02 16:25:47 +00:00
edburns%acm.org ea7c962ada xp new window 2007-07-02 16:14:53 +00:00
edburns%acm.org 1c1e0c63d2 xp new window 2007-07-02 16:12:11 +00:00
edburns%acm.org 58293e595c dist/build.xml
dist/netbeans/build.xml
dist/netbeans/nbproject/project.properties

- change to alpha 9 release

dist/netbeans/webclient.properties

- comment out test.browser.url

webclient/test/automated/src/classes/org/mozilla/webclient/MouseListenerTest.java

- remove mouse exited test
2007-07-02 16:00:10 +00:00
edburns%acm.org 76c73c55d1 M webclient/classes_spec/org/mozilla/webclient/NewWindowEvent.java
- changes for new responsibilities of NewWindowEvent

 * <p>Indicates the browser is requesting a new window be created to
 * display a new <code>BrowserControlCanvas</code> instance.  This
 * mechanism is only necessary if your embedding application wishes to
 * allow the browser to pop up new windows (or tabs).  Such is often the
 * case when the user clicks on an href with a "target" attribute, or
 * the embedding application wants to enable some right-click "open in
 * new window" or "open in new tab" feature.</p>

M webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/NativeBrowserControlCanvas.java
M webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/CocoaBrowserControlCanvas.java
M webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/Win32BrowserControlCanvas.java

- introduce new performPlatformAppropriateNewWindowRealization

     * Allow platform specific handling of new window creation.

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

- modify the contract for new window creation

M webclient/test/automated/src/classes/org/mozilla/webclient/WindowCreatorTest.java

- verify it all works.
2007-06-28 12:05:07 +00:00
edburns%acm.org 0a3a7e27fa MouseListenerTest 2007-06-27 23:29:15 +00:00
edburns%acm.org e1f44a679f Ready for demo 2007-06-26 12:39:04 +00:00
edburns%acm.org eec2a7932b ImmoSearch test 2007-06-26 11:29:27 +00:00
edburns%acm.org 110fd116e4 ImmoSearch test 2007-06-26 07:17:26 +00:00
edburns%acm.org 36ab54e08c M dist/build.xml
M dist/netbeans/build.xml

- support for building a mac os x universal binary distribution

M dist/mcp-test/src/test/java/cardemo/CarDemoTest.java

- re-enable cardemo test.  The right way to disable this is to
  do it in the build file.

M dist/mcp-test/src/test/java/jsf_jmaki/JsfjMakiTest.java

- use getAnchors() to get the right link.

M dist/netbeans/nbproject/project.properties

- add junit to classpath

dist/build.xml dist/mcp-test/src/test/java/cardemo/CarDemoTest.java dist/mcp-test/src/test/java/jsf_jmaki/JsfjMakiTest.java dist/netbeans/build.xml dist/netbeans/nbproject/project.properties
2007-06-22 03:41:15 +00:00
edburns%acm.org ed8f91bdee handle_exception_when_running_runnable 2007-06-21 20:47:05 +00:00
edburns%acm.org 16a5afe7c9 universal_binary 2007-06-21 18:59:58 +00:00
edburns%acm.org 5d5c865b60 modify_includes_for_correct_resolution_of_jni.h 2007-06-20 03:16:31 +00:00
edburns%acm.org 00c7bb9581 This change-bundle allows Webclient to work on Mac OS X Cocoa.
A webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/NativeBrowserControlCanvas.java

- The base class for all native browser controls

M build.xml

- rm -rf dist/classes on clean

M dist/mcp-test/src/test/java/cardemo/CarDemoTest.java

- disable, due to https://bugzilla.mozilla.org/show_bug.cgi?id=366619
  not being fixed on FIREFOX_2_0_0_3_RELEASE branch.

M dom/jni/nativeDOMProxyListener.cpp

- Need extra void ** cast for first argument to AttachCurrentThread

M dom/jni/org_mozilla_dom_ElementImpl.cpp

- modify handleInterceptableAttr to adjust screenX,screenY per cross
  platform fudge factors.

M dom/src/nsJavaDOMImpl.cpp

- use %p instead of %x when printing out pointers

- Need extra void ** cast for first argument to AttachCurrentThread

M webclient/classes_spec/org/mozilla/mcp/MCP.java

- remove fudge factor, moved into DOM layer.

M webclient/classes_spec/org/mozilla/webclient/BrowserControlCanvas.java

- add logging

- push some code down to NativeBrowserControlCanvas

M webclient/classes_spec/org/mozilla/webclient/NewWindowEvent.java

- change the contract of how a new window event is handled.

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

- correctly case where exception is thrown on the AppKit thread when
  doing a ReturnRunnable.

M webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/CocoaBrowserControlCanvas.java
M webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/Win32BrowserControlCanvas.java

- make this extend NativeBrowserControlCanvas

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

- new contract for NewWindowListener

M webclient/src_moz/NativeEventThread.cpp

- fix compiler warning.

M webclient/src_moz/WindowCreator.cpp

- add logging

M webclient/test/automated/src/classes/org/mozilla/webclient/DOMTest.java
M webclient/test/automated/src/classes/org/mozilla/webclient/KeyListenerTest.java
M webclient/test/automated/src/classes/org/mozilla/webclient/MouseListenerTest.java
M webclient/test/automated/src/classes/org/mozilla/webclient/WindowCreatorTest.java

- use dom to get the screen coordinates of elements on which to click,
  instead of using hard coded screen coordinates, which are not cross
  platform friendly.

M webclient/test/automated/src/test/WindowCreatorTest0.html

- add ids to some elements for use in testcases.
2007-06-19 20:18:13 +00:00
edburns%acm.org db899a8bbd One unit test is still failing: WindowCreator. Oof. Threading problem.
M webclient/build.xml

- separate out "compile.binaries" target

M webclient/classes_spec/org/mozilla/mcp/MCP.java

- account for mac coordinate wierdness.

M webclient/src_moz/AjaxListener.cpp
M webclient/src_moz/CBrowserContainer.cpp
M webclient/src_moz/EmbedEventListener.cpp
M webclient/src_moz/ns_util.h

- make sure to initialize the buffer before calling WC_ITOA

M webclient/test/automated/src/classes/org/mozilla/webclient/CurrentPageTest.java
M webclient/test/automated/src/classes/org/mozilla/webclient/KeyListenerTest.java
M webclient/test/automated/src/classes/org/mozilla/webclient/MouseListenerTest.java

- Make these tests run

M webclient/test/automated/src/test/HistoryTest0.html

- add an ID.

M webclient/test/manual/src/classes/org/mozilla/webclient/test/TestBrowser.java

- print out coordinates
2007-06-14 02:03:34 +00:00
edburns%acm.org 996449e8c8 M dist/build.xml
- added a target to ease iterative development

M dist/netbeans/logging.properties

- turn on logging for all mozilla java classes

M webclient/classes_spec/org/mozilla/mcp/MCP.java

- make the logger package private

A webclient/classes_spec/org/mozilla/mcp/RandomHTMLInputStream.java
R webclient/classes_spec/org/mozilla/webclient/test/RandomHTMLInputStream.java
R webclient/test/automated/src/classes/org/mozilla/webclient/RandomHTMLInputStream.java

- rewrote and copied this here so THTTPD could use it.

M webclient/classes_spec/org/mozilla/mcp/THTTPD.java

- use RandomHtmlInputStream for the NavigationTest.stopTest().


M webclient/classes_spec/org/mozilla/webclient/test/EMWindow.java
M webclient/test/automated/src/classes/org/mozilla/webclient/NavigationTest.java

- use THTTPD to create RandomHTMLInputStream instances.
2007-06-13 16:57:17 +00:00
edburns%acm.org ae92884e5c allow for y screen coordinate differences between mac and windows 2007-06-12 14:50:51 +00:00
edburns%acm.org 2abe21fa72 account for native toolkit inconsistencies 2007-06-12 14:21:02 +00:00
edburns%acm.org 4d608fcba5 M dist/netbeans/build.xml
- Correctly exclude Gtk test on Mac

M dist/netbeans/logging.properties

- turn on all webclient logging

M dist/netbeans/webclient.properties

- Use correct extension for jnilib on mac os x

M webclient/src_moz/EmbedWindow.cpp
M webclient/src_moz/NativeBrowserControl.cpp

- extra logging

M webclient/src_moz/WindowControlImpl.cpp

- correct ifdef logic to exclude some Gtk specific code.
2007-06-12 13:06:17 +00:00
edburns%acm.org 227a0957ac SECTION: Changes
M webclient/classes_spec/org/mozilla/webclient/impl/WrapperFactory.java
M webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/WrapperFactoryImpl.java
M webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/NativeEventThread.java

- get rid of the wait/notifyAll in favor of using the CountDownLatch()

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

- When running code on the AppKit thread, log exceptions before rethowing.

M webclient/src_moz/cocoa/CocoaBrowserControlCanvas.mm
M webclient/src_share/jni_util.cpp

- Make exception error messages more descriptive.
2007-06-12 01:16:09 +00:00
edburns%acm.org 57c23da8a1 no_return_from_non_void_method 2007-06-12 00:55:05 +00:00
edburns%acm.org ec2c4cca97 At long last, I have webclient running on Mac OSX. I only have a
PowerBook G4, so the only binary I can produce is for the PowerPC.
Perhaps someone lucky enough to own a MacBookPro can produce a binary
for me on that processor architecture.

Many thanks to the generous folks on #developers, in particular, timeless,
cbarrett, sdwilsh, and jhpedemonte.

Here are the changes.

SECTION: Changes

M dist/build.xml

- propogate clean on mac os x

- On mac os x, there is .jnilib and also .dylib

M dom/build.xml

- propogate make on mac os x

M webclient/build.xml

- new file for javah on mac

- propogate clobber_all on mac

M webclient/classes_spec/org/mozilla/webclient/BrowserControlCanvas.java

- get the tree lock before calling to native code to get the native window

A webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/CocoaAppKitThreadDelegatingNativeEventThread.java

- Allows running arbitrary code on the AppKit thread.  Prevents Thread
  Safety assertions.

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

- adhere to informal protocol to create NativeEventThread

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

- use NativeEventThread.instance.isNativeEventThread()

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

- implement isNativeEventThread()

M webclient/src_moz/Makefile.in

- turn on objc-exceptions on mac os x

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

- work with cocoa

M webclient/src_moz/NativeEventThread.cpp
M webclient/src_moz/cocoa/CocoaBrowserControlCanvas.h
M webclient/src_moz/cocoa/CocoaBrowserControlCanvasImpl.cpp

- two methods to run arbitrary code on the AppKit thread

M webclient/src_moz/cocoa/CocoaBrowserControlCanvas.mm
M webclient/test/manual/src/classes/org/mozilla/webclient/test/TestBrowser.java
2007-06-10 16:24:12 +00:00