Commit Graph

2836 Commits

Author SHA1 Message Date
rpotts
88c65ac5b7 Added some missing forward declarations... 1998-07-02 23:38:48 +00:00
rpotts
e8476a622a Fix viewer bug where pages would not load unless the mouse was wiggled... 1998-07-02 23:34:30 +00:00
vidur
d3ba6e36fe Added nsINetContainerApplication interface and a way for netlib to get the user agent, etc. from the containing application 1998-07-01 23:56:46 +00:00
atotic
4bd5c7b252 Added a new export 1998-07-01 22:39:00 +00:00
atotic
092621cdc7 Added nsDocLoader to theproject 1998-07-01 22:29:53 +00:00
atotic
49c72d03a0 Trimmed out some dead code 1998-07-01 18:49:35 +00:00
rpotts
696bcf3e07 Changed PR_ASSERT to NS_ASSERTION... 1998-07-01 12:25:49 +00:00
rpotts
7838c94435 Changed nsIStreamListener to nsIStreamObserver... First pass of changes for the Document Loader... 1998-07-01 11:34:00 +00:00
rpotts
065f2ed232 Changed to use the Document Loader instead of LoadURL(...) 1998-07-01 11:31:24 +00:00
rpotts
faebd53c4d Fixed up Post data to avoid leaks... 1998-07-01 11:30:35 +00:00
rpotts
cb8f2e082c Added nsDocLoader.cpp... 1998-07-01 11:29:20 +00:00
rpotts
7129a830a6 Changed some interface methods to use NS_IMETHOD for consistancy... 1998-07-01 11:28:05 +00:00
rpotts
8da1cdbd6c Changed nsIStreamListener to nsIStreamOBserver. Added the BindToDocument(...) method which is used by the DocumentLoader. 1998-07-01 11:27:06 +00:00
rpotts
2284ed07f4 Added nsIDocumentLoader.h 1998-07-01 11:25:55 +00:00
kipp
ef6865e7f9 Documented a bug 1998-06-30 20:11:34 +00:00
atotic
7d57b8390e Added nsMacFile to the project 1998-06-30 09:04:26 +00:00
atotic
eaf3d1507c Moved file implementation stuff into nsMacFile.cp 1998-06-30 09:03:51 +00:00
atotic
5edb250183 First Checked In. 1998-06-30 09:03:30 +00:00
atotic
4f1b3ce8be Upped the app memory partition to 5 megs 1998-06-30 00:52:43 +00:00
joki
db1bf85ee6 Small change to editor keyCode translation 1998-06-29 21:35:27 +00:00
atotic
7679b38da9 It builds and links 1998-06-27 02:49:08 +00:00
atotic
bb30106321 First Checked In. 1998-06-27 01:28:36 +00:00
scullin
1b5f0f2e48 Added missing library for Linux. 1998-06-26 23:16:18 +00:00
peterl
e6f85cfca6 fixed dumping style contexts 1998-06-26 05:52:40 +00:00
vidur
79b16a3083 Added the nsIScriptContextOwner.h to aid in SCRIPT tag evaluation 1998-06-25 22:25:39 +00:00
kmcclusk
79186ec63c Added libnglcsslay_s library to link against 1998-06-25 22:11:05 +00:00
atotic
9975996bf7 First Checked In. 1998-06-25 18:24:18 +00:00
atotic
87d809172e First Checked In. 1998-06-25 18:17:36 +00:00
kipp
0f87f62a0c Support menu on print-preview window 1998-06-25 16:33:11 +00:00
michaelp
ec4811f612 added init() method to prescontext.
creator of prescontext is responsible for initializing pres context.
devicecontext is now init()ed with a nsNativeWidget.
removed hacky X Display stuff from device context and font metrics.
removed hacky code from windows font metrics.
changed nsNativeWindow to be nsNativeWidget.
added more code for compositor back-to-front pass.
improved text performance on X.
changed nsHTMLTagContent.cpp so that it will build with MSVC 4.1.
1998-06-25 04:24:45 +00:00
kmcclusk
1d95239354 Changed the name of the WEB_WIDGET DLL to match unix name 1998-06-25 00:03:56 +00:00
atotic
0e217c8401 More compile fixes 1998-06-24 01:45:16 +00:00
atotic
839a796540 Making it compile on the Mac 1998-06-24 01:43:10 +00:00
joki
3ce17a3724 Adding editor mode to the viewer 1998-06-24 00:29:00 +00:00
karnaze
3074df2576 named <iframe>s, scrolling attribute, more complete test9.html 1998-06-23 22:25:28 +00:00
vidur
c0e592da07 Separated scripting global object responsibilities from the WebWidget. Added better masking of JS-specific structures in generic interfaces. Creation of a scripting global object interface. 1998-06-23 18:43:49 +00:00
michaelp
6ad59f6a19 added content quality indicator. 1998-06-21 01:23:44 +00:00
karnaze
505cf9d7ac fixed divide by zero, test9 has sub sub doc. 1998-06-18 18:33:34 +00:00
karnaze
126dc3a360 added tst9, improvements to <iframe> 1998-06-18 00:47:18 +00:00
rods
a424c796a0 removed debug printf 1998-06-17 17:20:08 +00:00
rods
531f054a86 Fixed keysym problem for mneumonics 1998-06-17 17:12:25 +00:00
atotic
2d6cf6ce73 Made it compile in the dist world 1998-06-16 21:41:59 +00:00
atotic
2b30eaf7bd First Checked In. 1998-06-16 21:39:13 +00:00
karnaze
b9a228a2b2 more <iframe> support 1998-06-16 21:32:54 +00:00
spider
f16568df10 Fixes to get viewer to render on Unix 1998-06-16 00:57:33 +00:00
rods
f25268f51b removed some debug statement 1998-06-16 00:28:34 +00:00
rods
187b55b1d4 remove GetBasURL call 1998-06-16 00:26:50 +00:00
rods
af912c3021 change callback for open in menu 1998-06-16 00:26:09 +00:00
kmcclusk
9db48f8a75 Added Motif viewer to the build 1998-06-16 00:23:35 +00:00
spider
f4d8a163a1 Change viewer's HandleEvent to HandleEventApp since on Unix it conflicts
with HandleEvent defined in nsView.cpp
1998-06-12 00:55:24 +00:00
kmcclusk
5b38202bfa Wasn't copying bg.jpg to the install directory. 1998-06-11 22:59:09 +00:00
spider
ccea853a2f Support for TrueColor display, add nsNativeDeviceContext to Init method of nsIDeviceContext, fix FontMetrics crash if no RenderingContext is available. 1998-06-11 21:26:21 +00:00
kmcclusk
56f8c6763c Removed commented out defines 1998-06-11 21:04:14 +00:00
kmcclusk
b3044be263 Added code to support getting the URL's for samples using the current working
directory under unix.
1998-06-11 20:57:27 +00:00
kmcclusk
eb233c5c40 Added back MotifMenu's 1998-06-11 16:50:37 +00:00
karnaze
0ccd357a8f initial support for <iframe> 1998-06-11 16:46:33 +00:00
kmcclusk
b692541c9e Removed nsMotifMenus until menu's .h file is checked in. . Added code to stop crash in xpcompat.c 1998-06-11 00:54:25 +00:00
rods
e09efc1dca added motif menus to the viewer 1998-06-10 22:41:43 +00:00
kmcclusk
541f7939ab Copy samples to the correct location 1998-06-09 18:01:15 +00:00
kmcclusk
a648457fa8 Added a two more shareables to link against + added clobber and install directives 1998-06-09 17:38:47 +00:00
kmcclusk
fdcd0dec32 Changed to use NS_NATIVE_WIDGET instead of NS_NATIVE_WINDOW 1998-06-07 22:29:35 +00:00
joki
f6b742babd Adding new test for editor mode 1998-06-07 07:39:03 +00:00
joki
ba397d6ed5 Adding api to get DOM document interface through web widget. 1998-06-07 07:32:17 +00:00
spider
02ffe92ebc Link with Math library since .so needs it 1998-06-05 21:28:50 +00:00
kipp
fe2fe771df Added SizeOf printout support 1998-06-05 21:07:20 +00:00
spider
70908520df Get viewer compiling on IRIX 1998-06-05 20:51:11 +00:00
kmcclusk
760581b764 Now passes native app shell data to the top-level window create. 1998-06-05 18:38:46 +00:00
kmcclusk
b3ae475889 Added a couple of shareable's to link against 1998-06-05 18:26:48 +00:00
kmcclusk
ffa44990c6 Now links sharable's correctly for Linux 1998-06-05 17:14:01 +00:00
kmcclusk
a9dd86f37e Added WIDGET_DLL, GDF_DLL, and VIEWER_DLL defines for unix 1998-06-05 00:04:51 +00:00
kmcclusk
8abf991579 Removed duplicate references to .so's 1998-06-05 00:03:51 +00:00
kmcclusk
02dfd2c011 Added argc and argv to nsViewer:SetupViewer to pass to nsAppShell 1998-06-04 21:49:37 +00:00
kmcclusk
9f97751feb Build .o files in the correct place. 1998-06-04 19:57:38 +00:00
kmcclusk
c29365fdb6 Removed nsStubs.cpp - no longer needed. 1998-06-04 19:51:56 +00:00
rods
2222a3e2ad added params to create of AppShell 1998-06-04 19:45:22 +00:00
kipp
989cd8bef6 Made usage of crt debug conditional on using the debug RTL 1998-06-04 17:46:41 +00:00
kmcclusk
75df8aa66d Added gmbaseunix.so to list of libraries to link against to resolve NS_NEW_Timer 1998-06-04 17:45:22 +00:00
rpotts
53ca67cf12 Minor changes to nsIStreamListener interface... OnStartBinding(...) now passes out the stream content-type. User visible strings are now nsString arguments (for subsequent i18n) 1998-06-04 05:09:32 +00:00
kmcclusk
df00aa9f4c Added Stub file for missing externs when building the viewer 1998-06-04 00:50:34 +00:00
kmcclusk
84e2cda262 Added nsLinkHandler.cpp back into the build 1998-06-03 23:38:21 +00:00
kmcclusk
eed8542a6f Removed nsLinkHandler from the unix Makefile to fix IRIX build 1998-06-03 23:17:22 +00:00
spider
2a913e3ae1 Fix IRIX build bustage 1998-06-03 23:09:29 +00:00
kmcclusk
ab12605cbb Fix for IRIX build 1998-06-03 22:56:29 +00:00
kmcclusk
7316f3c5a7 Added nsraptorwebwidget.so as a library to link against 1998-06-03 22:04:07 +00:00
kmcclusk
7d678e63d3 Now the Linux Makefile actually compiles nsWebWidget and nsLinkHandler. Before it did nothing. 1998-06-03 21:09:08 +00:00
kmcclusk
9049a1e5da Moved XP_PC around nsLinkHandler constructor PL_initEvent and PL_PostEvent 1998-06-03 20:59:32 +00:00
kmcclusk
1dea854825 Linux:Makefile for viewer - Added more sharable libs for the LINUX build 1998-06-03 17:43:03 +00:00
kipp
47408328c6 Updated to COMized doc observer API 1998-06-03 16:01:51 +00:00
kmcclusk
a9ce23f69d Modified Linux:viewer makefile - Added a few more libraries to link against 1998-06-03 00:47:22 +00:00
kmcclusk
4afa71449a In nsViewer::processArguments declared int i, outside of the block.
Placed XP_PC around PL_initialize and PL_event calls in nsViewer.cpp
In nsDocLoader::CancelAll Moved int i declaration out of the loop
1998-06-02 21:17:15 +00:00
kmcclusk
bceb2954b1 Added clobber and install directives to viewer Makefile 1998-06-02 21:02:22 +00:00
kmcclusk
325369b331 Modified viewer Makefile to compile all viewer source files. 1998-06-02 20:34:52 +00:00
scullin
bd51cedb2e Moved nettest into network/module/tests 1998-06-02 18:38:20 +00:00
kmcclusk
56971dd0f3 Removed nsDocLoader.cpp dependency on <windows.h>
Changed MAXPATHLEN to a constant 1024 for viewer
Moved XP_PC to include both event in OnLinkClickEvent::OnLinkClickEvent
1998-06-02 16:44:17 +00:00
troy
6a87c166bb Changed SetBounds() to not request a repaint when resizing the window 1998-06-02 02:46:31 +00:00
rpotts
b6afa84a20 fixed typo in progress notification... 1998-06-02 00:03:49 +00:00
kmcclusk
3c419a0f07 Added Makefile for LINUX viewer build 1998-06-01 22:28:38 +00:00
michaelp
f2bdc12c1a webwidget now specifies a framerate of 25 fps rather than relying on a good
default value in the viewmanager. added synchronous updates if we timeout
before timer fires.
1998-06-01 22:02:02 +00:00
kipp
cb365f4e9d Made the DocObsever a link handler 1998-06-01 20:54:07 +00:00
kipp
d662f8092c Removed post data from OnOverLink method 1998-06-01 20:53:34 +00:00
troy
76258759a8 Added additional parameter to nsIWidget Resize() member functions 1998-06-01 20:26:50 +00:00
kipp
afd61dfad6 Added OnOverLink hook for tracking mouse-over's over links 1998-06-01 19:59:13 +00:00
kipp
431503c3c6 Revised LoadURL to take an nsIStreamListener 1998-06-01 19:58:55 +00:00
kipp
422e37717f Stub out OnOverLink method 1998-06-01 19:57:10 +00:00
kipp
001b9c1a73 Revised LoadURL API to take an nsIStreamListener and pass it to the document while loading 1998-06-01 19:56:53 +00:00
kipp
07bc5318a7 Revised DocLoader to be an nsIStreamListener and then use it to LoadURL's so that it obsevers the nsIStreamListener notifications 1998-06-01 19:55:55 +00:00
kipp
fcd570f47d Pass in null for stream listener to LoadURL 1998-06-01 19:55:19 +00:00
kmcclusk
3ca29b37be Reorganized the viewer app to separate the platform specific code from the
cross-platform code. Converted as much of the WIN32 specific code to cross-platform
code as possible.
1998-06-01 17:14:40 +00:00
karnaze
27dfe99ee7 simplified test8tab.html 1998-06-01 16:52:56 +00:00
kipp
3a6dc218b6 NS_IMETHOD'd some of the API's 1998-05-30 01:36:47 +00:00
karnaze
4de74d7ac1 event improvements 1998-05-29 22:44:13 +00:00
buster
8446057bfd added an optional # to viewer.exe command line switch -p. If a number is provided, it is used as the last sample to load when running in purify. This is useful for running just a the first sample
in purify, or a small number of samples, for example.
1998-05-28 21:39:40 +00:00
kipp
203aea26bd Port to new parser API 1998-05-28 18:40:23 +00:00
jevering
63791bfe84 Added parser message dispatch loop for debug robot to pump netlib
and complete individual parsing.
1998-05-28 00:22:11 +00:00
karnaze
f1382417c0 post submission, file content submission 1998-05-27 17:51:41 +00:00
scullin
f4b4589734 Fix printing of nsString. 1998-05-23 00:28:02 +00:00
kipp
6bb1a20e64 Added -md argument handling 1998-05-22 20:11:14 +00:00
buster
97094cd511 added -r # for specifying a repeat count for batch mode 1998-05-22 17:34:58 +00:00
shaver
07c67b0a77 added missing lib 1998-05-21 23:53:00 +00:00
buster
201cabd179 added a "-f" debug option to read a file for URLs to load
added a "-d" debug option to set the delay between URL loads
1998-05-21 23:41:53 +00:00
peterl
89b89d83ba added load timing 1998-05-20 20:34:54 +00:00
kipp
3d256d15a9 Added command line args for purify/quantify runs 1998-05-20 16:28:40 +00:00
karnaze
57a66855f7 temp hack to test post submission 1998-05-20 00:10:42 +00:00
jevering
c1a7175f43 Debug Robot work. 1998-05-19 19:06:59 +00:00
thom
98b51748ed added worksheet for checking out nglayout from archive 1998-05-19 18:41:40 +00:00
thom
1a34499c10 files to help build the project 1998-05-19 18:37:15 +00:00
karnaze
cbc1ada4b8 better layout, sizing of select 1998-05-19 17:51:21 +00:00
peterl
0e56caa97a added link state api 1998-05-19 00:08:57 +00:00
thom
a2729a12bc Mac checkin 1998-05-18 22:47:24 +00:00
michaelp
2edf0b91fb added stub nsRegionWin.cpp 1998-05-18 22:24:20 +00:00
peterl
4d56c4b41c more style debugging code 1998-05-18 21:12:19 +00:00
karnaze
1189d589e3 fixed nsInputFile::SizeTo 1998-05-18 18:07:01 +00:00
karnaze
8939828111 initial support for <input type=file>, combo box use of widget init data for sizing 1998-05-18 16:39:42 +00:00
thom
2edcd99877 mac project for layout 1998-05-15 22:24:27 +00:00
rpotts
38429654c7 Fixed OnStopBinding(...) to take status arguments... 1998-05-15 09:42:07 +00:00
jevering
a749276c9d Beginning to add visual mode. 1998-05-14 22:16:36 +00:00
jevering
5854af95fa Hooked up debugging robot to viewer shell 1998-05-14 18:25:17 +00:00
karnaze
68b9679002 more select/option support 1998-05-13 17:43:35 +00:00
karnaze
1f1e724312 textarea sizing improvement; use nsCSSLayout::GetStyleSize; fix combo box SizeTo 1998-05-12 18:28:58 +00:00
rpotts
38e5e6b005 Added support for receiving OnProgress(...) notifications... 1998-05-11 20:30:35 +00:00
kipp
2381c5cb04 Wrap document loads with reflow lock calls 1998-05-09 03:20:54 +00:00
karnaze
34036a5a0f more support for textarea, select/option in content sink 1998-05-08 20:18:06 +00:00
michaelp
07f184a0ef when switching documents, the scrollbars are reset. 1998-05-08 17:50:43 +00:00
rods
7feb35813c added Edit menu 1998-05-08 15:06:41 +00:00
michaelp
5393da4e5c added horizontal scrollbar. 1998-05-08 01:25:25 +00:00
rpotts
6e1387edac Ignore the return value from NET_PollSockets(...) since it is FALSE when there are file: URLs waiting to be processed... 1998-05-07 11:01:48 +00:00
rpotts
b3994198a3 fixed up IStreamListener implementation to take a length in the OnDataAvailable(...) method. 1998-05-07 06:53:11 +00:00
rpotts
c27ac243e8 renamed the nsIStreamNotification interface to nsIStreamListener 1998-05-06 22:16:02 +00:00
rpotts
f5e0208bd5 updated to use the URL->Open(...) method for starting an async url load... 1998-05-06 21:20:04 +00:00
troy
b45b6251c2 Fixed build bustage 1998-05-06 18:13:58 +00:00
spider
cd74c826b1 Removing ApplicationShell interfaces from webshell. Will be moved to toplevel 'shell' in near future. 1998-05-04 19:25:58 +00:00
rpotts
aae6dee457 Release the URL object to keep purity happy... 1998-05-02 00:01:41 +00:00
karnaze
0af793f7f1 added <input type=image>, fixed bug where multiple submit buttons sent data 1998-05-01 23:18:44 +00:00
spider
db670a8bd7 Add more Objects to be registered for the ApplicationShell 1998-05-01 20:13:51 +00:00
rpotts
6513d52861 changed to use the new nsIURL support provided by netlib... 1998-05-01 05:07:49 +00:00
rpotts
8079b4ef67 added netlib to the include path... 1998-05-01 05:07:25 +00:00
michaelp
37f645e48b added additional cleanup when shutting down the websidget so that the
ViwManager will actually go away.
1998-05-01 03:11:13 +00:00
spider
24b26eda06 Code Cleanup... 1998-05-01 01:16:44 +00:00
rpotts
3b7fcc1c7a moved the include of windows.h inside of an XP_PC ifdef... 1998-04-30 17:52:15 +00:00
michaelp
9ed0e2f7e3 Arghh .... 1998-04-29 23:57:32 +00:00
spider
a10d8fc983 Fix yet another build bustage by maio ... windows.h was removed somewhere.... 1998-04-29 23:49:38 +00:00
spider
65489c41b9 Fix build bustage of non-existent header file 1998-04-29 23:23:40 +00:00
spider
58a14eee94 Modifications to support new nsIApplicationShell interface 1998-04-29 22:43:33 +00:00
rpotts
c3abd064a0 added windows.h since NSPR no longer includes it... 1998-04-29 20:47:18 +00:00
karnaze
0df7874f85 fix submit crash in nsWindow; more form control functionality 1998-04-28 18:59:38 +00:00
kipp
0e59c2de8c Removed hack 1998-04-27 15:39:58 +00:00
kipp
0de4c14b00 Port to new nsIDocument API 1998-04-25 18:49:06 +00:00
karnaze
1865b0f73a added text area 1998-04-24 22:28:41 +00:00
karnaze
3943ad1a15 added radio groups, select/option, beter sizing. widgets take creation parms. 1998-04-24 21:37:30 +00:00
scullin
c2e1072c4f Removed dependency on Motif 1998-04-24 00:17:36 +00:00
scullin
b6660d91ec Build on IRIX and Linux 1998-04-23 19:55:08 +00:00
scullin
f0f4579809 Linux build fixes. Moved test.cpp to nettest.cpp to allow nettest to
build easily under UNIX.
1998-04-23 19:33:34 +00:00
kipp
e071e45d4f link with plc 1998-04-23 16:51:49 +00:00
kipp
59359e73b4 define win32_lean_and_mean 1998-04-23 16:47:26 +00:00
scullin
1d6d64db53 Unix build patches 1998-04-23 03:51:20 +00:00
scullin
8f8a29c001 Added 1998-04-21 20:10:59 +00:00
dario
c814fbb8a5 changing help menu text 1998-04-17 01:29:45 +00:00
peterl
59c7ff13e8 clear web widget container before releasing it (fix leak) 1998-04-16 21:51:59 +00:00
peterl
74502df8bb fix leaks 1998-04-16 21:51:16 +00:00
kostello
b351025f58 Clean up (we were leaking the DocLoader -- dooh!) 1998-04-16 21:23:48 +00:00
kostello
780e2264b6 Added nsDocLoader and hooked it into the viewer's winmain.
If the MOZ_PURIFY_TEST environment variable is set, then when the
viewer is launched and all the test documents will be loaded.
After the test documents are loaded, the application will exit.
1998-04-16 19:42:34 +00:00
kostello
6dc8194560 Made the demo documents a little prettier 1998-04-15 19:23:17 +00:00
dario
688f20f36c fixing the js console 1998-04-14 19:04:25 +00:00
kipp
e573807e7a Removed woofer 1998-04-13 21:27:25 +00:00
kipp
895113a41c nuked 1998-04-13 21:27:12 +00:00
kipp
098bef52b4 moved to pub 1998-04-13 20:24:54 +00:00