Compare commits

..

2510 Commits

Author SHA1 Message Date
warren%netscape.com
884d6b6faf Added GetJNIEnv call to startup JVM (should get changed to a GetSecureJNI call).
git-svn-id: svn://10.0.0.236/branches/ServMgrChanges_BRANCH@13480 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-26 21:16:30 +00:00
warren%netscape.com
6657c89b06 Removed StartupJVM/ShutdownJVM.
git-svn-id: svn://10.0.0.236/branches/ServMgrChanges_BRANCH@13304 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-22 04:28:46 +00:00
warren%netscape.com
c741bf8ab0 Added APIs to show/hide java prefs window.
git-svn-id: svn://10.0.0.236/branches/ServMgrChanges_BRANCH@13237 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-21 02:59:17 +00:00
warren%netscape.com
08712aa063 Picking up changes made to the tip.
git-svn-id: svn://10.0.0.236/branches/ServMgrChanges_BRANCH@13236 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-21 02:58:49 +00:00
warren%netscape.com
9d6b22d199 Fixed NSGetFactory for servMgr.
git-svn-id: svn://10.0.0.236/branches/ServMgrChanges_BRANCH@13133 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-19 22:14:48 +00:00
warren%netscape.com
9bb64c62ea Changes for GetBoolPref
git-svn-id: svn://10.0.0.236/branches/ServMgrChanges_BRANCH@12782 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 04:50:19 +00:00
warren%netscape.com
51f9752f37 Fixed up pref stuff
git-svn-id: svn://10.0.0.236/branches/ServMgrChanges_BRANCH@12781 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 04:39:24 +00:00
warren%netscape.com
bf54296f21 Added missing #endif
git-svn-id: svn://10.0.0.236/branches/ServMgrChanges_BRANCH@12780 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 04:38:25 +00:00
warren%netscape.com
a50550d4ab Added nsIJVMWindow superclass for console and prefs window.
git-svn-id: svn://10.0.0.236/branches/ServMgrChanges_BRANCH@12774 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 01:42:44 +00:00
(no author)
d82dfd0b3b This commit was manufactured by cvs2svn to create branch
'ServMgrChanges_BRANCH'.

git-svn-id: svn://10.0.0.236/branches/ServMgrChanges_BRANCH@12771 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 01:36:00 +00:00
warren%netscape.com
8ef3070750 Added error checking code.
git-svn-id: svn://10.0.0.236/branches/ServMgrChanges_BRANCH@12768 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 01:22:19 +00:00
warren%netscape.com
9c40a03037 Added test for nsIPrefsManager
git-svn-id: svn://10.0.0.236/branches/ServMgrChanges_BRANCH@12767 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 01:21:56 +00:00
warren%netscape.com
837b676d36 Changes for XP-COM interfaces.
git-svn-id: svn://10.0.0.236/branches/ServMgrChanges_BRANCH@12766 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 01:18:36 +00:00
warren%netscape.com
25e0bc0b9a Made use of plugin manager be lexically scoped.
git-svn-id: svn://10.0.0.236/branches/ServMgrChanges_BRANCH@12716 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 20:18:09 +00:00
warren%netscape.com
1a080a1ad8 Changes for Unix.
git-svn-id: svn://10.0.0.236/branches/ServMgrChanges_BRANCH@12636 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 23:46:38 +00:00
(no author)
a865f96cfd This commit was manufactured by cvs2svn to create branch
'ServMgrChanges_BRANCH'.

git-svn-id: svn://10.0.0.236/branches/ServMgrChanges_BRANCH@12610 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 21:27:13 +00:00
warren%netscape.com
6553198fc2 Fixed refcount problems.
git-svn-id: svn://10.0.0.236/branches/ServMgrChanges_BRANCH@12386 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 01:17:37 +00:00
warren%netscape.com
b7b4f31ac2 Fixed cleanup/shutdown.
git-svn-id: svn://10.0.0.236/branches/ServMgrChanges_BRANCH@12383 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-09 01:15:52 +00:00
warren%netscape.com
09aa5e7ef9 Fixed to compile.
git-svn-id: svn://10.0.0.236/branches/ServMgrChanges_BRANCH@12237 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 23:05:55 +00:00
warren%netscape.com
07c407d3b8 Service manager changes.
git-svn-id: svn://10.0.0.236/branches/ServMgrChanges_BRANCH@12032 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 06:15:11 +00:00
warren%netscape.com
dca6d49c7a Breaking things out of jvmmgr.cpp.
git-svn-id: svn://10.0.0.236/branches/ServMgrChanges_BRANCH@12029 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 06:01:11 +00:00
(no author)
94274aade6 This commit was manufactured by cvs2svn to create branch
'ServMgrChanges_BRANCH'.

git-svn-id: svn://10.0.0.236/branches/ServMgrChanges_BRANCH@12028 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 05:59:17 +00:00
warren%netscape.com
73865d3b91 Adding new files, breaking things out of jvmmgr.cpp (not online yet).
git-svn-id: svn://10.0.0.236/trunk@12027 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 05:59:16 +00:00
pierre%netscape.com
37d864bc01 fix mozilla build: for some reason, the XP strings (yep, allxpstr.h) are declared and allocated in that file.
git-svn-id: svn://10.0.0.236/trunk@12026 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 05:01:55 +00:00
pierre%netscape.com
4c58e3d1d8 fix build: added nsDOMCSSDeclaration.cpp
git-svn-id: svn://10.0.0.236/trunk@12024 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 04:02:54 +00:00
pinkerton%netscape.com
cebfd85964 Fix hidden virtuals.
git-svn-id: svn://10.0.0.236/trunk@12023 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 03:59:05 +00:00
pinkerton%netscape.com
56d46c1f2c Added tooltip support, better icon drawing support.
git-svn-id: svn://10.0.0.236/trunk@12022 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 03:58:30 +00:00
pinkerton%netscape.com
102595fcd9 Fix hidden virtual functions.
git-svn-id: svn://10.0.0.236/trunk@12021 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 03:57:25 +00:00
pinkerton%netscape.com
8cb84ab943 Added GetImageDimensions() so clients can tell the size of the image. Will fail gracefully if that info is not present.
git-svn-id: svn://10.0.0.236/trunk@12020 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 03:56:56 +00:00
pierre%netscape.com
58372c3183 fix build: remove nsDOMStyleDeclaration.cpp
git-svn-id: svn://10.0.0.236/trunk@12019 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 03:49:40 +00:00
hyatt%netscape.com
d45942f42b WinFE now understands buttonBorderStyle on toolbars.
git-svn-id: svn://10.0.0.236/trunk@12018 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 03:41:14 +00:00
pierre%netscape.com
eae35a983d fix 1000s of link warnings in Mac Raptor / some XP stubs were hiding actual functions
git-svn-id: svn://10.0.0.236/trunk@12017 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 03:00:28 +00:00
pierre%netscape.com
80a468f38c getting obsolete: added #error "use CWPro4 version"
git-svn-id: svn://10.0.0.236/trunk@12016 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 02:56:07 +00:00
pierre%netscape.com
a2d4acfea1 implemented Copy for Mac
git-svn-id: svn://10.0.0.236/trunk@12015 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 02:54:00 +00:00
pierre%netscape.com
9252e79f7d some clean-up and comments
git-svn-id: svn://10.0.0.236/trunk@12014 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 02:52:09 +00:00
rickg%netscape.com
2ee25392b3 added autoclose to DT
git-svn-id: svn://10.0.0.236/trunk@12013 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 02:38:45 +00:00
wtc%netscape.com
fdcdb54326 Removed the "make depend = make clean" hack.
git-svn-id: svn://10.0.0.236/trunk@12012 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 02:38:35 +00:00
wtc%netscape.com
4931f7bde9 Fixed HP-UX classic NSPR build breakage.
git-svn-id: svn://10.0.0.236/trunk@12011 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 02:31:53 +00:00
danm%netscape.com
9da631e64c adding (optional) GlowCode build info. a:warren
git-svn-id: svn://10.0.0.236/trunk@12010 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 02:31:45 +00:00
hyatt%netscape.com
8c4a232466 Changes to support the toolbar icons (in their four different states).
git-svn-id: svn://10.0.0.236/trunk@12009 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 02:31:01 +00:00
hyatt%netscape.com
4b82dfffab Changes to support toolbar icons (the four different states).
git-svn-id: svn://10.0.0.236/trunk@12008 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 02:30:25 +00:00
troy%netscape.com
098c316d23 Fixed ref counting problem that was causing a widget memory leak
git-svn-id: svn://10.0.0.236/trunk@12004 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 02:00:54 +00:00
ramiro%netscape.com
62ecfff5da Replace tab with space.
git-svn-id: svn://10.0.0.236/trunk@11999 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 01:53:36 +00:00
ramiro%netscape.com
e3c23cad0e Comment out unused motif.mk until cls@seawood.org explains why the
FOO_MOTIF_FLAGS are not used here.


git-svn-id: svn://10.0.0.236/trunk@11998 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 01:53:14 +00:00
cls%seawood.org
a52a872ba0 Removed static kludge. Some platforms don't have a static libdl.
git-svn-id: svn://10.0.0.236/trunk@11997 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 01:50:29 +00:00
vidur%netscape.com
f98b82c871 Implemented style sheet and style rule interfaces on CSS classes. Made public new entry point for CSSParser for adding new imports.
git-svn-id: svn://10.0.0.236/trunk@11996 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 01:39:33 +00:00
sdagley%netscape.com
42015f4a45 Picked up sfraser's fix from 4.5 that allows URLs of up to 1K to be dragged to a browser window (old limit was 255 characters)
git-svn-id: svn://10.0.0.236/trunk@11995 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 01:29:50 +00:00
spider%netscape.com
4e42861d4a WIP: MultiUser View
git-svn-id: svn://10.0.0.236/trunk@11994 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 01:27:21 +00:00
kipp%netscape.com
d8069b04db use new body factory method
git-svn-id: svn://10.0.0.236/trunk@11993 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 00:44:35 +00:00
kipp%netscape.com
29aeb0fb6a never create frames when display is none
git-svn-id: svn://10.0.0.236/trunk@11992 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 00:43:48 +00:00
kipp%netscape.com
8d9293f709 Propogate carried out margin flags
git-svn-id: svn://10.0.0.236/trunk@11991 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 00:41:54 +00:00
kipp%netscape.com
55c1c69648 Add in carried out margin values
git-svn-id: svn://10.0.0.236/trunk@11990 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 00:41:35 +00:00
kipp%netscape.com
a363dc37c3 Setup carried out margin state for block reflow
git-svn-id: svn://10.0.0.236/trunk@11989 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 00:41:16 +00:00
kipp%netscape.com
439be2dde9 Export revised body/block factory methods
git-svn-id: svn://10.0.0.236/trunk@11988 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 00:40:54 +00:00
kipp%netscape.com
a0ba1b2fae Use new body ctor api
git-svn-id: svn://10.0.0.236/trunk@11987 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 00:40:41 +00:00
kipp%netscape.com
641a09af8c Support revised margin code
git-svn-id: svn://10.0.0.236/trunk@11986 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 00:40:17 +00:00
kipp%netscape.com
adc78c6515 Parameterized body frame behavior
git-svn-id: svn://10.0.0.236/trunk@11985 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 00:39:17 +00:00
kipp%netscape.com
a38a2a63c2 Cleaned up margin handling some more; added flags to control behavior of the block frame; fixed table reflow bug
git-svn-id: svn://10.0.0.236/trunk@11984 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 00:38:56 +00:00
dp%netscape.com
33c49d9143 Adding NU_CACHE specific defitions for compilation error with VC 5.0
git-svn-id: svn://10.0.0.236/trunk@11983 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 00:36:10 +00:00
troy%netscape.com
f910aa1e8b Changed ReflowChild() to send the WillReflow() notification as well
git-svn-id: svn://10.0.0.236/trunk@11982 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 00:27:22 +00:00
despotdaemon%netscape.com
5212e25a52 Pseudo-automatic update of changes made by relliott@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@11981 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 00:26:54 +00:00
slamm%netscape.com
7df4b316f8 Use a red background cell instead of the animated gif with the 'nocrap' option.
git-svn-id: svn://10.0.0.236/trunk@11979 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 00:24:11 +00:00
despotdaemon%netscape.com
a37ca6d429 Pseudo-automatic update of changes made by cyeh@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@11978 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 00:20:05 +00:00
tomw%netscape.com
27af50b1a7 Remove bad typedef.
git-svn-id: svn://10.0.0.236/trunk@11975 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 00:05:06 +00:00
raman%netscape.com
3df94627a4 Minor fixes to make smartupdate to build
git-svn-id: svn://10.0.0.236/trunk@11969 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 23:39:28 +00:00
slamm%netscape.com
186870f028 Set the sensitivity of the show/hide column buttons.
git-svn-id: svn://10.0.0.236/trunk@11964 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 23:30:45 +00:00
pinkerton%netscape.com
2b53d13163 Better drawing for control tracking on push buttons. Now selects/unselects correctly for mouse clicks.
git-svn-id: svn://10.0.0.236/trunk@11962 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 23:02:49 +00:00
saari%netscape.com
78e84e6836 Merged sfraser's realloc improvements for the Mac memory allocator from Nova to Mozilla.
Referenced by bug #326465


git-svn-id: svn://10.0.0.236/trunk@11961 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 23:00:21 +00:00
gagan%netscape.com
d14117dfe8 Added nsMonitorable.cpp for uninlined functions.
git-svn-id: svn://10.0.0.236/trunk@11960 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 22:58:10 +00:00
gagan%netscape.com
6d1b2c92ca Moved nsMonitorable::MonitorLocker constructor and destructor into their
own cpp file. IRIX NuCache was not accepting inlined ones.


git-svn-id: svn://10.0.0.236/trunk@11957 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 22:48:38 +00:00
tomw%netscape.com
8c5685e51e Pull changes forward from Nova.
New generalized hashing API.


git-svn-id: svn://10.0.0.236/trunk@11956 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 22:47:44 +00:00
beard%netscape.com
5d81fd88c1 Deleted FullSoft Access paths (for sure, this time).
git-svn-id: svn://10.0.0.236/trunk@11955 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 22:47:39 +00:00
tomw%netscape.com
8f57f4ebe9 Pull changes forward from Nova.
Missing typedef.


git-svn-id: svn://10.0.0.236/trunk@11954 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 22:47:13 +00:00
tomw%netscape.com
e076a21847 Pull changes forward from Nova.
Remove unused code.


git-svn-id: svn://10.0.0.236/trunk@11953 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 22:44:57 +00:00
pinkerton%netscape.com
38294b1e0a support toolbarBitmapPosition property.
git-svn-id: svn://10.0.0.236/trunk@11952 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 22:44:47 +00:00
pinkerton%netscape.com
ba6fe71ccc Simple hack to strawman layout to make toolbars with icon on the side create narrow buttons.
git-svn-id: svn://10.0.0.236/trunk@11951 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 22:44:21 +00:00
scc%netscape.com
374f85f6f1 Exploited better syntax for class constants; delay hooking up HT_FEData until creating the HT_Pane to hook it up to; fixed formatting
git-svn-id: svn://10.0.0.236/trunk@11950 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 22:41:32 +00:00
beard%netscape.com
f6c6701b08 Removed extraneous ; from IID macro.
git-svn-id: svn://10.0.0.236/trunk@11949 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 22:37:22 +00:00
beard%netscape.com
d51f6ab011 Now unwraps JSObject references properly.
git-svn-id: svn://10.0.0.236/trunk@11948 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 22:36:51 +00:00
cyeh%netscape.com
9cc05462d5 removing -DMOCHA from Windows build.
git-svn-id: svn://10.0.0.236/trunk@11947 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 22:15:43 +00:00
ramiro%netscape.com
7482281dee Make sure mozilla-export builds even if only one of static/dynamic motif is
present on the system.


git-svn-id: svn://10.0.0.236/trunk@11946 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 22:09:11 +00:00
cls%seawood.org
9cf7c5a5fc ifndef NO_STATIC_LIB, compile mkicons statically to avoid problems during the build due to dynamic libs not being in the LD_LIBRARY_PATH.
git-svn-id: svn://10.0.0.236/trunk@11943 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 21:54:08 +00:00
gagan%netscape.com
11fc8bafe6 NuCache changes.
git-svn-id: svn://10.0.0.236/trunk@11942 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 21:45:37 +00:00
gagan%netscape.com
b7eaabc58c Prefs changed. NuCache prefs handled there.
git-svn-id: svn://10.0.0.236/trunk@11941 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 21:41:01 +00:00
michaelp%netscape.com
6acae2f485 fixed bug where scrolling with the thumb would cause the thumb
to jump down too far on long documents.


git-svn-id: svn://10.0.0.236/trunk@11938 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 21:20:54 +00:00
mjudge%netscape.com
ecc9f4f916 added mailto as dir for MOZ_MAIL_COMPOSE
git-svn-id: svn://10.0.0.236/trunk@11937 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 21:19:47 +00:00
mjudge%netscape.com
cc0165c11c Getting Multipartrelated mime working for Ender mjudge- reviewed kin
git-svn-id: svn://10.0.0.236/trunk@11936 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 21:19:21 +00:00
pinkerton%netscape.com
23c4f86c0f More rollover stuff and pure virtual interfaces in CRDFToolbarItem to get rid of LView reliance in base class.
git-svn-id: svn://10.0.0.236/trunk@11935 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 20:56:03 +00:00
spider%netscape.com
1ea2351bd5 WIP: Multi-user
git-svn-id: svn://10.0.0.236/trunk@11932 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 20:43:12 +00:00
spider%netscape.com
08badee4a8 WIP: Multi-User XML
git-svn-id: svn://10.0.0.236/trunk@11931 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 20:05:01 +00:00
cyeh%netscape.com
0bd4b7509c Remove #define MOCHA 1 from Mac builds.
git-svn-id: svn://10.0.0.236/trunk@11930 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 20:00:01 +00:00
spider%netscape.com
cb70c71f61 WIP: MultiUserView
git-svn-id: svn://10.0.0.236/trunk@11929 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 19:52:15 +00:00
cltbld%netscape.com
f022f86742 Deleted FullSoft Access path
git-svn-id: svn://10.0.0.236/trunk@11928 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 19:41:12 +00:00
ramiro%netscape.com
f99f1f1825 Fix for bugzilla bug 886. compiler warning for missing brakets.
Thanks to Raffaele Sena <raff@aromatic.com> for providing a fix.


git-svn-id: svn://10.0.0.236/trunk@11927 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 19:35:48 +00:00
wtc%netscape.com
c8483143ad Backed out the previous change. We are trying not to introduce
new dependencies on Mozilla into NSPR.


git-svn-id: svn://10.0.0.236/trunk@11926 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 19:34:12 +00:00
ramiro%netscape.com
2b9f774400 Here's a quick patch to get the autoconf build to work under
FreeBSD.  I think this is needed because the old build system
would define BSDI for FreeBSD systems, while autoconf doesn't.
Thanks to skinny <skinny@knowhere.net> for pointing this out.


git-svn-id: svn://10.0.0.236/trunk@11923 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 19:24:33 +00:00
despotdaemon%netscape.com
4b74758833 Pseudo-automatic update of changes made by wtc@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@11922 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 19:23:05 +00:00
wtc%netscape.com
eda3f587e1 Removed all the autoconf *.in files in mozilla/nsprpub.
git-svn-id: svn://10.0.0.236/trunk@11919 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 19:19:56 +00:00
wtc%netscape.com
7c127508ee More mozilla/nsprpub updates, including:
- Patch for MkLinux and glibc 2.1.  Removed the MKLINUX macro.
  This patch is contributed by Tom Rini <trini@kernel.crashing.org>.
- Patch to make the emulated threads work on ARM/Linux.  Contributed
  by raff@netwinder.org.


git-svn-id: svn://10.0.0.236/trunk@11916 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 18:58:25 +00:00
pinkerton%netscape.com
17fb83237d Getting the button class drawing and showing rollover feedback.
git-svn-id: svn://10.0.0.236/trunk@11915 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 18:47:21 +00:00
pinkerton%netscape.com
85c40549cb More code to better create the correct item class, EraseBackground() to do the right thing when HT specifies a colored bg, and some more minor tweaks.
git-svn-id: svn://10.0.0.236/trunk@11914 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 18:46:54 +00:00
cyeh%netscape.com
24bc22fe14 removing obsolete files. use MANIFEST instead.
git-svn-id: svn://10.0.0.236/trunk@11913 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 18:42:02 +00:00
despotdaemon%netscape.com
63034233e4 Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@11908 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 17:28:32 +00:00
terry%netscape.com
33b9f02a45 Whoops; any "Open" partition was just being treated as the same as the
"default".  Which it isn't!


git-svn-id: svn://10.0.0.236/trunk@11907 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 17:27:44 +00:00
cyeh%netscape.com
2143514b37 back out attempted changes
git-svn-id: svn://10.0.0.236/trunk@11906 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 17:20:01 +00:00
ftang%netscape.com
73192ae0f5 add menu csid selector
git-svn-id: svn://10.0.0.236/trunk@11905 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 14:56:00 +00:00
ftang%netscape.com
8bbe6747ef add one selector to access the csid for menu and menu bar
git-svn-id: svn://10.0.0.236/trunk@11904 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 14:29:57 +00:00
ftang%netscape.com
db4afc138e add one selector to access the csid of the menu
git-svn-id: svn://10.0.0.236/trunk@11903 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 14:28:01 +00:00
ftang%netscape.com
920ca2232d add one selector to access the csid id of the resource
git-svn-id: svn://10.0.0.236/trunk@11902 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 14:27:13 +00:00
ftang%netscape.com
7415bbe893 add two API to access cross-platform string
git-svn-id: svn://10.0.0.236/trunk@11901 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 14:25:56 +00:00
ftang%netscape.com
34e5a53d06 add new selector to access csid, add two new interface to access cross-platform string
git-svn-id: svn://10.0.0.236/trunk@11900 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 14:24:57 +00:00
troy%netscape.com
7c7212336e Changed some code to use XPCOM ref counting related macros
git-svn-id: svn://10.0.0.236/trunk@11893 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 05:11:18 +00:00
ramiro%netscape.com
1262860472 This patch makes cmd/xfe link on BSD/OS 4.0. My private patch tree now
is down to 20K, and the majority of lines pertain to the "#ifdef BSD"
warning fixes of Bugzilla bug #424. Mozilla on BSD/OS certainly is
coming along!  Thanks to Bert Driehuis <driehuis@playbeing.org> for
providing the patch.


git-svn-id: svn://10.0.0.236/trunk@11892 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 02:18:33 +00:00
troy%netscape.com
31a923050a Removed calls to MoveTo() BEFORE reflowing a frame. We used to do this
sequence: MoveTo(), Reflow(), SetRect(). Now that we have the WillReflow()/
DidReflow() code sandwhiches we no longer need to do the MoveTo()


git-svn-id: svn://10.0.0.236/trunk@11891 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 00:58:32 +00:00
blizzard%appliedtheory.com
78801239f4 Cleanup of the pixmap rendering code.
git-svn-id: svn://10.0.0.236/trunk@11888 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-04 22:29:34 +00:00
locka%iol.ie
a29fa44634 IE patcher application
git-svn-id: svn://10.0.0.236/trunk@11887 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-04 14:49:16 +00:00
locka%iol.ie
197b35a0b5 Added a few more URLs to the drop down and simple busy/idle indicator
git-svn-id: svn://10.0.0.236/trunk@11886 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-04 14:43:16 +00:00
locka%iol.ie
f557b05110 File is autogenerated and does not need to be in CVS
git-svn-id: svn://10.0.0.236/trunk@11885 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-04 14:41:23 +00:00
locka%iol.ie
fa21f08db7 Added enumeration used by the IWebBrowser::Refresh2 method
git-svn-id: svn://10.0.0.236/trunk@11884 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-04 14:39:58 +00:00
locka%iol.ie
a515845482 Removed some autogenerated files from file list
git-svn-id: svn://10.0.0.236/trunk@11883 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-04 14:38:59 +00:00
locka%iol.ie
7f5769decc Added more assertions and type checking
Added initial implementations of more IWebBrowser methods


git-svn-id: svn://10.0.0.236/trunk@11882 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-04 14:38:05 +00:00
locka%iol.ie
56620ecaf1 Improved diagnostic macros
git-svn-id: svn://10.0.0.236/trunk@11881 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-04 14:36:06 +00:00
locka%iol.ie
8ab55b7392 File is automatically generated by build and does not need to be in CVS
git-svn-id: svn://10.0.0.236/trunk@11880 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-04 13:21:55 +00:00
locka%iol.ie
46e52d9e7e File is generated during build and does not need to be in CVS
git-svn-id: svn://10.0.0.236/trunk@11879 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-04 13:17:25 +00:00
rickg%netscape.com
9f85360cbc fixed a bunch-O-bugs
git-svn-id: svn://10.0.0.236/trunk@11878 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-04 04:56:55 +00:00
rickg%netscape.com
0a294fc002 added radix support in ToInteger()
git-svn-id: svn://10.0.0.236/trunk@11877 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-04 04:52:10 +00:00
cls%seawood.org
f48d02cccf Changed make-resources to accept resources-translations on the commandline.
This fixes the long standing unclickable links problem under autoconf.  Thanks to Ramiro Estrugo <ramiro@netscape.com> for the pointers that led to this fix.


git-svn-id: svn://10.0.0.236/trunk@11876 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-04 03:01:35 +00:00
briano%netscape.com
9904842381 Fixes to help get UnixWare 7 builds off the floor.
git-svn-id: svn://10.0.0.236/trunk@11875 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-04 00:28:14 +00:00
locka%iol.ie
a0cda1dc26 VB test app
git-svn-id: svn://10.0.0.236/trunk@11874 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 23:18:54 +00:00
locka%iol.ie
7527cd9720 C++ sample
git-svn-id: svn://10.0.0.236/trunk@11873 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 23:15:56 +00:00
locka%iol.ie
a5829f2791 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@11872 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 23:14:15 +00:00
locka%iol.ie
a86200f2d9 Added icon back but with binary mode turned on
git-svn-id: svn://10.0.0.236/trunk@11871 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 23:04:53 +00:00
locka%iol.ie
1f1e7231fb Added binary file as text, trying again
git-svn-id: svn://10.0.0.236/trunk@11870 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 23:03:45 +00:00
locka%iol.ie
d8bafa5c50 Added DevStudio project file for convenient editing
git-svn-id: svn://10.0.0.236/trunk@11869 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 22:52:55 +00:00
locka%iol.ie
7d1d696f52 Added icon (same as Mozilla executable) for control
git-svn-id: svn://10.0.0.236/trunk@11868 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 22:51:36 +00:00
locka%iol.ie
105fe4f81b Diagnostic macro file
git-svn-id: svn://10.0.0.236/trunk@11867 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 22:49:47 +00:00
rjc%netscape.com
5033c14fa5 New animation support for containers which are loading. Also, if a load fails for a container, close it and report error to user.
git-svn-id: svn://10.0.0.236/trunk@11866 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 22:39:25 +00:00
locka%iol.ie
f23fda9c45 Updated to reflect recent modifications
git-svn-id: svn://10.0.0.236/trunk@11865 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 22:35:08 +00:00
cls%seawood.org
d533d6b64a Cleaned up check for NSPR libs.
Added check for NSPR headers.
The build will stop if either are not found.


git-svn-id: svn://10.0.0.236/trunk@11864 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 21:27:30 +00:00
cmanske%netscape.com
17132a3598 Fixed infinite loop when dropping table cells, added FE_Alert when not all cells are pasted
git-svn-id: svn://10.0.0.236/trunk@11863 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 20:21:06 +00:00
cls%seawood.org
addb77e373 Modified DEBUG kludge to work with default qt headers.
git-svn-id: svn://10.0.0.236/trunk@11862 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 20:13:57 +00:00
briano%netscape.com
af25256fa4 Yet another case where the perl used by earlier product releases is perl 4, so we (Netscape) will work around it.
git-svn-id: svn://10.0.0.236/trunk@11861 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 19:42:56 +00:00
cmanske%netscape.com
77b77bc5c9 Fixed complete bustage of dragging table cells in Composer
git-svn-id: svn://10.0.0.236/trunk@11860 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 18:38:36 +00:00
ramiro%netscape.com
d08a9fe09d Ok, dammit - we cant link that bastard mkicons dynamically on many dumbass
platforms.  So forgetaboutit, just link the damn binary statically.  It doesnt
get shipped anyway, so who cares ?


git-svn-id: svn://10.0.0.236/trunk@11859 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 15:27:19 +00:00
ramiro%netscape.com
17cb1d8ab7 Define both LIB and DSO MACROS for jpeg, png and zlib.
Should fix the F#(&!%G solaris and IRIX builds.


git-svn-id: svn://10.0.0.236/trunk@11858 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 14:17:39 +00:00
ramiro%netscape.com
6b81b8b1ff Define both LIB and DSO MACROS to conform to the "standard".
Should fix the F#(&!%G solaris and IRIX builds.


git-svn-id: svn://10.0.0.236/trunk@11857 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 14:17:37 +00:00
ramiro%netscape.com
d151ef2f79 Fix irix build. Add -L$(DIST)/bin when needed to catch the dep shared libs.
Should fix the irix build.  Also, add REQUIRES defines for graphics libs.


git-svn-id: svn://10.0.0.236/trunk@11856 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 12:11:33 +00:00
ramiro%netscape.com
fb51a2df5b Add rules for dynamic and shared linking of mkicons. Should fix the irix
build.


git-svn-id: svn://10.0.0.236/trunk@11855 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 12:09:12 +00:00
ramiro%netscape.com
bd18a771ff Include a common makefile and share the damn rules instead of
cut-and-paste-and-hack-and-paste-and-cut-and-break the unix fes all over
the place.


git-svn-id: svn://10.0.0.236/trunk@11854 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 11:03:26 +00:00
ramiro%netscape.com
17582ae7de Add mozilla/cmd/unixfe to MozillaSourceUnixOnly.
git-svn-id: svn://10.0.0.236/trunk@11853 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 10:01:48 +00:00
ramiro%netscape.com
4020c1865b Makefile hackery shared across unix and unik-like Mozilla front ends.
The purpose of this file is to STOP THE INSANITY that has become the XFE
Makefile and that will soon be the gnomefe, qtfe, ybfe and foofe Makfiles.

Anything that can be shared between the unix fes, should be shared.  Always
look here first before adding anything to the toolkit specific Makefiles,
or you will suffer dearly.


git-svn-id: svn://10.0.0.236/trunk@11852 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 09:55:49 +00:00
rjc%netscape.com
fa5945b21d Initialize tv to true.
git-svn-id: svn://10.0.0.236/trunk@11851 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 06:59:01 +00:00
rjc%netscape.com
ab66dd7752 Get "tv" from attribute list before handling assertion.
git-svn-id: svn://10.0.0.236/trunk@11850 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 06:00:40 +00:00
rjc%netscape.com
0821c0ad8e Icon handling rewritten.
git-svn-id: svn://10.0.0.236/trunk@11849 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 06:00:13 +00:00
cls%seawood.org
dba78bf566 Removed NSPR build kludge.
git-svn-id: svn://10.0.0.236/trunk@11848 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 05:02:15 +00:00
troy%netscape.com
576757f155 Removed nsIInlineReflow and folded it into nsIHTMLReflow
git-svn-id: svn://10.0.0.236/trunk@11847 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 04:28:05 +00:00
beard%netscape.com
178d9c9595 Added ::public: to access paths, added nsJNI.cpp, proxy JNI.
git-svn-id: svn://10.0.0.236/trunk@11846 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 03:40:42 +00:00
ramiro%netscape.com
ab234c1b9e Remove really really really dead code.
git-svn-id: svn://10.0.0.236/trunk@11845 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 03:38:58 +00:00
ramiro%netscape.com
64f4744176 Remove really really dead code.
git-svn-id: svn://10.0.0.236/trunk@11844 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 03:32:22 +00:00
beard%netscape.com
0dac3b0b54 Finished proxy JNIEnv. Added security context parameters.
git-svn-id: svn://10.0.0.236/trunk@11841 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 03:18:00 +00:00
beard%netscape.com
ea74314ffe Added NewObjectArray, changed NewArray.
git-svn-id: svn://10.0.0.236/trunk@11840 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 03:16:30 +00:00
cmanske%netscape.com
8efdae1533 More Composer publishing improvements
git-svn-id: svn://10.0.0.236/trunk@11839 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 02:25:13 +00:00
cmanske%netscape.com
435433de1c More Composer publishing improvements. Change cursor when Ctrl is pressed over a link in Composer
git-svn-id: svn://10.0.0.236/trunk@11838 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 02:23:39 +00:00
cls%seawood.org
7af64f49ef Fail if specified FE dir does not exist rather than just warn.
git-svn-id: svn://10.0.0.236/trunk@11837 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 02:21:18 +00:00
cls%seawood.org
907fb412ae Added artificial $(DISTTARGETS) to make parallel builds play nice.
git-svn-id: svn://10.0.0.236/trunk@11836 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 01:37:09 +00:00
kipp%netscape.com
e6c8df823f Fixed to not render trailing whitespace
git-svn-id: svn://10.0.0.236/trunk@11835 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 00:48:19 +00:00
rjc%netscape.com
78cec0025c Revert to only #include "allxpstr.h" for Mac.
git-svn-id: svn://10.0.0.236/trunk@11834 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 00:37:49 +00:00
rjc%netscape.com
2e099bbdb3 When HT wants to send an event to the FE, if its not running on the mozilla_thread, post an event instead of sending the event directly.
git-svn-id: svn://10.0.0.236/trunk@11833 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 00:36:23 +00:00
akkana%netscape.com
73a73407cc Oops, used CF_BACK_COLOR instead of CF_BACK_IMAGE
git-svn-id: svn://10.0.0.236/trunk@11832 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 00:33:50 +00:00
akkana%netscape.com
59ea68234a 314338,325650: fix some table problems
git-svn-id: svn://10.0.0.236/trunk@11831 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 00:29:03 +00:00
slamm%netscape.com
5f77f7a58a Hacks for URLBar. Just bring up the 'Open Page' dialog for now.
git-svn-id: svn://10.0.0.236/trunk@11830 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 00:27:46 +00:00
cls%seawood.org
86328451a6 Fixed silly variable mistake.
git-svn-id: svn://10.0.0.236/trunk@11829 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 00:23:04 +00:00
kipp%netscape.com
4072413f71 Preliminary support for negative top/bottom margins
git-svn-id: svn://10.0.0.236/trunk@11827 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 00:17:44 +00:00
cls%seawood.org
ca11348181 Added -L$(QTDIR)/lib to FE_QT_LIBS
git-svn-id: svn://10.0.0.236/trunk@11826 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 00:09:51 +00:00
slamm%netscape.com
68e524347a Clean up some icon code.
git-svn-id: svn://10.0.0.236/trunk@11825 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 00:03:37 +00:00
slamm%netscape.com
d8dbe1f2d0 Rip out old toolbar code. (Actually, ifdef it out for now).
git-svn-id: svn://10.0.0.236/trunk@11824 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 00:03:29 +00:00
rjc%netscape.com
891b5bea1c When RDF wants to call NET_GetURL(), if its not running on the mozilla_thread, post an event instead of calling NET_GetURL() directly.
git-svn-id: svn://10.0.0.236/trunk@11823 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-03 00:02:25 +00:00
cls%seawood.org
71b0a31a59 Always use -L$(QTDIR)/lib when looking for -lqt. This means that QTDIR must be set when building.
git-svn-id: svn://10.0.0.236/trunk@11822 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 23:46:18 +00:00
slamm%netscape.com
2b732dc45c Fix growing cascades on the toolbar. #938. The cascade callback was called for enter and leave events.
git-svn-id: svn://10.0.0.236/trunk@11821 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 23:26:53 +00:00
rjc%netscape.com
dd2cf5ca2b Pass RDFT into gRDFMWContext().
git-svn-id: svn://10.0.0.236/trunk@11820 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 23:07:27 +00:00
joki%netscape.com
243c9f3a96 Don't look for new webshell during link clicks if no target specified
git-svn-id: svn://10.0.0.236/trunk@11819 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 22:56:52 +00:00
briano%netscape.com
3750297062 Now supports MOZ_DOM, compliments of toshok@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@11818 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 22:43:52 +00:00
cmanske%netscape.com
687b94ff65 Rewrote NET_ParseUploadURL to use NET_ParseURL as much as possible for getting username and password from a URL. Reviewed/approved by valeski
git-svn-id: svn://10.0.0.236/trunk@11817 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 22:36:09 +00:00
warren%netscape.com
f0ffc7b067 Fixed nsIPluginInputStream::Close method to not crash.
git-svn-id: svn://10.0.0.236/trunk@11816 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 22:28:51 +00:00
cmanske%netscape.com
451e941a23 Modified Composer Publishing dialog
git-svn-id: svn://10.0.0.236/trunk@11815 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 22:20:37 +00:00
cmanske%netscape.com
3b8450b511 Added callback to tell Composer when username is entered when uploading. Fixed bug getting username, password for this dialog. Approved/reviewed by valeski
git-svn-id: svn://10.0.0.236/trunk@11814 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 22:19:06 +00:00
cmanske%netscape.com
8731de2fe9 Added new function prototype and a parameter to EDT_SavePublishUsername
git-svn-id: svn://10.0.0.236/trunk@11813 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 22:18:49 +00:00
cmanske%netscape.com
43c841d06d Changes to use SingleSignon for password rememembering
git-svn-id: svn://10.0.0.236/trunk@11812 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 22:18:45 +00:00
cmanske%netscape.com
6bf44ad181 Implemented callback to get username after entered in NetLib's dialog during publishing. Finished removing old password saving in editor.
git-svn-id: svn://10.0.0.236/trunk@11811 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 22:18:24 +00:00
akkana%netscape.com
e64f9c8ba0 Show no-spellchecker-found dialog only if NETSCAPE_COMMERCIAL
git-svn-id: svn://10.0.0.236/trunk@11810 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 22:15:23 +00:00
rjc%netscape.com
4aa3b4b531 Pass RDFT into gRDFMWContext().
git-svn-id: svn://10.0.0.236/trunk@11809 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 22:11:27 +00:00
kipp%netscape.com
ea1e3ff86f Support changing the src url
git-svn-id: svn://10.0.0.236/trunk@11808 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 21:59:59 +00:00
cls%seawood.org
e78d06dd92 Added -lpthread to NSPR_LIBS if --enable-pthreads.
git-svn-id: svn://10.0.0.236/trunk@11807 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 21:59:13 +00:00
kipp%netscape.com
d600ab67e9 Reworked vertical margin collapsing
git-svn-id: svn://10.0.0.236/trunk@11806 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 21:50:53 +00:00
toshok%netscape.com
1ae5aeca9e add DOM_Node's to the other elements (that don't, for some reason, nest LO_Any).
git-svn-id: svn://10.0.0.236/trunk@11805 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 21:50:37 +00:00
kipp%netscape.com
dc27a22fb6 Return ascent/descent info too
git-svn-id: svn://10.0.0.236/trunk@11804 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 21:49:47 +00:00
buster%netscape.com
850f72356a merge goof fixed, now works with new reflow API
git-svn-id: svn://10.0.0.236/trunk@11803 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 21:35:44 +00:00
beard%netscape.com
cea73476ff First Checked In.
git-svn-id: svn://10.0.0.236/trunk@11802 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 21:23:49 +00:00
beard%netscape.com
b83b9ec8ad Added nsISecureJNI2.h
git-svn-id: svn://10.0.0.236/trunk@11801 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 21:22:41 +00:00
scullin%netscape.com
b04b0c1c16 Removed unused, unexported header.
git-svn-id: svn://10.0.0.236/trunk@11800 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 21:09:26 +00:00
cls%seawood.org
586c5d41d8 Added SW_THREADS ifdef around PR_XGetXtHackFD() prototype and call. Removed redundant definiton of NOT_NULL. Moved local headers out of DEBUG_qt kludge which is meant to only affect qt headers.
git-svn-id: svn://10.0.0.236/trunk@11799 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 20:59:36 +00:00
cls%seawood.org
f79012eef3 Rearranged $(NSPR_LIBS) on link command. Removed $(NSPR_LIBS) from *_DEPLIBS. Removed Linux specific build section.
git-svn-id: svn://10.0.0.236/trunk@11798 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 20:50:52 +00:00
buster%netscape.com
68bbfa7e34 minor interface cleanup
git-svn-id: svn://10.0.0.236/trunk@11797 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 20:36:35 +00:00
buster%netscape.com
206051c0e7 fixed coord-width colspan handling in some complex cases
git-svn-id: svn://10.0.0.236/trunk@11796 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 20:34:11 +00:00
shaver%netscape.com
3b3275987e DOM: thread-correctness assertions
git-svn-id: svn://10.0.0.236/trunk@11795 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 20:21:31 +00:00
shaver%netscape.com
8eb40f5e2b DOM: add node to LO_Any and add an exported prototype
git-svn-id: svn://10.0.0.236/trunk@11794 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 20:20:42 +00:00
shaver%netscape.com
9bcb15843b DOM: move POP_LAYER handling into back end and start element->node wiring
git-svn-id: svn://10.0.0.236/trunk@11793 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 20:20:31 +00:00
spider%netscape.com
87aad70453 Removing extinct nsCalScheduler
Removing references to global mpCalendar in the shell (Now owned by nsILayer)
Have Canvas's ask the layer for events for painting


git-svn-id: svn://10.0.0.236/trunk@11790 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 19:40:44 +00:00
cyeh%netscape.com
17a91d1eff according to pinkerton, we no longer use mercutio anymore. poof, gone
git-svn-id: svn://10.0.0.236/trunk@11789 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 19:19:27 +00:00
pinkerton%netscape.com
f1d1af8bad Added CRDFToolbarItem.cp
git-svn-id: svn://10.0.0.236/trunk@11788 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 19:19:23 +00:00
pinkerton%netscape.com
e7852e1574 changes to use CRDFToolbarItem.h
git-svn-id: svn://10.0.0.236/trunk@11787 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 19:18:51 +00:00
pinkerton%netscape.com
78b48b94a6 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@11786 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 19:18:26 +00:00
scullin%netscape.com
a73c10d7e1 Fix further tinderbox bustage
git-svn-id: svn://10.0.0.236/trunk@11785 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 19:11:06 +00:00
leaf%mozilla.org
8b000ed357 Changed MozillaSource to pull all the unix fe's, instead of just xfe
git-svn-id: svn://10.0.0.236/trunk@11784 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 18:59:36 +00:00
scullin%netscape.com
188ca75e76 Fix tinderbox bustage
git-svn-id: svn://10.0.0.236/trunk@11783 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 18:50:36 +00:00
rpotts%netscape.com
c6827c6adb Added GetBrowserWindow() method and passed OnStatus and OnProgress messages out through the nsIBrowserWindow interface...
git-svn-id: svn://10.0.0.236/trunk@11782 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 18:44:56 +00:00
cls%seawood.org
38257c2405 Removed full relative include path for l10n headers. Added -I$(DEPTH)/l10n/us to INCLUDES. Removed $(NSPR_LIBS) from *_DEPLIBS.
git-svn-id: svn://10.0.0.236/trunk@11780 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 18:26:20 +00:00
michaelp%netscape.com
8079c8624c improved documentation. made font handling more robust in the case of
unspecified font.


git-svn-id: svn://10.0.0.236/trunk@11779 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 18:19:30 +00:00
spider%netscape.com
fd5f6a1065 Changes to allow pulling by Date stamp. Approved by kipp
git-svn-id: svn://10.0.0.236/trunk@11778 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 17:50:50 +00:00
spider%netscape.com
c9bcf6735e Make View Update requests Asynchronous
git-svn-id: svn://10.0.0.236/trunk@11777 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 17:34:26 +00:00
cls%seawood.org
cbe9f14862 Removed overlooked libplc21.a from MKICONS_LIB.
git-svn-id: svn://10.0.0.236/trunk@11776 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 17:34:08 +00:00
spider%netscape.com
f535eccc8e Set Font in Rendering Context so don't crash
git-svn-id: svn://10.0.0.236/trunk@11775 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 17:23:58 +00:00
troy%netscape.com
b284b79357 Fixed build bustage by having MyDocument derive from nsMarkupDocument
git-svn-id: svn://10.0.0.236/trunk@11774 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 17:13:41 +00:00
sman%netscape.com
1664f9749a updates to support layers
git-svn-id: svn://10.0.0.236/trunk@11773 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 16:56:30 +00:00
ramiro%netscape.com
019680fe7e Add support for DGUX. Remove my previous dumbass hack.
git-svn-id: svn://10.0.0.236/trunk@11766 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 13:15:23 +00:00
ftang%netscape.com
2d862bd393 convert from/to EDIT control CSID to/from UTF8 to make the inline edit work correctly for HyperTree Widget
git-svn-id: svn://10.0.0.236/trunk@11765 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 12:10:22 +00:00
ftang%netscape.com
f0683051c8 fix the non UTF8 HT_AddToContainer problem by using the UTF8 title from the history entry instead of the non UTF8 title from MWContext
git-svn-id: svn://10.0.0.236/trunk@11764 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 12:08:54 +00:00
ftang%netscape.com
9c4661e97d fix UTF8 html drawing problem problem introduced yesterday when remove cuv stuff
git-svn-id: svn://10.0.0.236/trunk@11763 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 12:03:28 +00:00
pierre%netscape.com
495f665baa as reported by michaelp: set the native font in GetWidth() or DrawString(), not in SetFont().
git-svn-id: svn://10.0.0.236/trunk@11762 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 09:48:30 +00:00
pierre%netscape.com
3ed3b2ff88 a little cleanup (removed the commented-out unix code etc...)
git-svn-id: svn://10.0.0.236/trunk@11761 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 09:44:51 +00:00
cls%seawood.org
63e246df0e Set NSPR_DIR to DIST if --with-nspr is not defined.
git-svn-id: svn://10.0.0.236/trunk@11760 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 08:59:56 +00:00
cls%seawood.org
28e8f85309 Moved NSPR libraries into $(NSPR_LIBS). Changed link commands to use $(NSPR_LDFLAGS) $(NSPR_LIBS).
git-svn-id: svn://10.0.0.236/trunk@11759 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 08:58:54 +00:00
cls%seawood.org
18fd148303 Added ifndef LOSE_NSPR around NSPR build kludge for testers.
git-svn-id: svn://10.0.0.236/trunk@11758 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 08:50:32 +00:00
briano%netscape.com
d22c29162f Added support for Rhapsody.
git-svn-id: svn://10.0.0.236/trunk@11757 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 08:20:52 +00:00
cls%seawood.org
866d101e59 Added NSPR_DIR, NSPR_INCLUDES, NSPR_LDFLAGS and NSPR_LIBS variables.
git-svn-id: svn://10.0.0.236/trunk@11756 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 08:10:31 +00:00
cls%seawood.org
96974a9da4 Added check so libXpm is only looked for if Motif requires it. Undefine certain motif variables if detect_motif.sh returns unknown. Added --with-static-motif. Added --with-nspr.
git-svn-id: svn://10.0.0.236/trunk@11755 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 08:06:03 +00:00
pierre%netscape.com
ea8acbc01c fix mac build: removed nsIRunaround.h
git-svn-id: svn://10.0.0.236/trunk@11754 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 06:18:01 +00:00
mcafee%netscape.com
0fb80f8fbb Adding uname -s entry for Rhapsody
git-svn-id: svn://10.0.0.236/trunk@11753 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 04:57:44 +00:00
morse%netscape.com
5237d06306 fix single signon part of bug 300472
git-svn-id: svn://10.0.0.236/trunk@11752 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 04:54:27 +00:00
mcafee%netscape.com
490d8cc52e Adding X11 support for Rhapsody build
git-svn-id: svn://10.0.0.236/trunk@11751 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 04:46:02 +00:00
troy%netscape.com
c2f93fd8d3 Temp hack to fix Linux circular linkage problem
git-svn-id: svn://10.0.0.236/trunk@11750 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 04:32:11 +00:00
troy%netscape.com
e191c422d9 Eliminated nsIRunaround interface, and folded space manager parameter into
nsHTMLReflowState structure


git-svn-id: svn://10.0.0.236/trunk@11749 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 04:10:00 +00:00
cls%seawood.org
768e5cabcf Made tweak_nspr: an empty target for autoconf as $(MKDEPEND) requires it now.
git-svn-id: svn://10.0.0.236/trunk@11748 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 04:08:00 +00:00
blizzard%appliedtheory.com
403be84b54 Integrate patch from Michael O'Reilly <michael@metal.iinet.net.au>
This patch starts work on displaying pixmaps.


git-svn-id: svn://10.0.0.236/trunk@11747 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 03:01:01 +00:00
briano%netscape.com
efae58c5ae Netscape-specific change to deal with the fact that many of our machines
have Perl 4 installed on them, and need to keep it where it is for historic
reasons.  So, we needed a way to be sure we get Perl 5 when building mozilla.
This change takes care of that.  It may break some people *inside Netscape*
initially, but problems should be minimal, as the solution involves simply
creating a symlink.


git-svn-id: svn://10.0.0.236/trunk@11746 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 02:44:58 +00:00
cls%seawood.org
f01081de2d Changed LCFLAGS to CFLAGS. LCFLAGS doesn't work under autoconf.
git-svn-id: svn://10.0.0.236/trunk@11745 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 02:16:28 +00:00
shaver%netscape.com
7461b6934f (DOM) end style-forced layers
git-svn-id: svn://10.0.0.236/trunk@11744 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 02:12:47 +00:00
cls%seawood.org
02c981296d Removed obsolete autoconf version of tweak_nspr:
git-svn-id: svn://10.0.0.236/trunk@11743 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 02:12:21 +00:00
cls%seawood.org
fef712eced Moved checks for --disable-{shared,static}. Tested a few features. --enable-{java,oji} sets NO_SHARED_LIB= . Removed NSPR_MAKEFILES variable.
git-svn-id: svn://10.0.0.236/trunk@11742 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 02:10:37 +00:00
spider%netscape.com
5bac2746aa Fixes for latest raptor updates
git-svn-id: svn://10.0.0.236/trunk@11741 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 02:06:17 +00:00
toshok%netscape.com
a7a1b90509 remove asserts and replace them with helpful comments.
git-svn-id: svn://10.0.0.236/trunk@11739 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 01:56:37 +00:00
pinkerton%netscape.com
caee05e270 Skeleton code for adding buttons to the toolbars.
git-svn-id: svn://10.0.0.236/trunk@11738 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 01:26:25 +00:00
scc%netscape.com
8ec0ffe69a No relative paths for Mac, please. Wrapped #include in #ifdef XP_MAC.
git-svn-id: svn://10.0.0.236/trunk@11737 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 01:16:14 +00:00
michaelp%netscape.com
7c2022dc32 modified for new fontmetrics/renderingcontext.
git-svn-id: svn://10.0.0.236/trunk@11736 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 01:12:39 +00:00
michaelp%netscape.com
ee87791baf modified for new fontmetrics/renderingcontext.
fixed memory leak.


git-svn-id: svn://10.0.0.236/trunk@11735 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 01:12:24 +00:00
michaelp%netscape.com
b0e5e179b1 moved GetWidth() APIs from fontmetrics to the renderingcontext.
git-svn-id: svn://10.0.0.236/trunk@11734 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 01:07:56 +00:00
mcafee%netscape.com
f5b9ebf9b3 Condensing the BSD case for STATFS #define
git-svn-id: svn://10.0.0.236/trunk@11733 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 00:59:50 +00:00
spider%netscape.com
767614a76e Add lesstif to include path. really need to use config script
for figuring the motif version


git-svn-id: svn://10.0.0.236/trunk@11732 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 00:47:17 +00:00
shaver%netscape.com
484b5c23d8 (#if DOM) initialize variables, check for NULL, call the right functions -- basically, don't be a total moron
git-svn-id: svn://10.0.0.236/trunk@11731 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 00:46:27 +00:00
brendan%netscape.com
9bb121615c nsIEventHandler is not a struct, has not been for a while, and anyway is known by its typedef name here.
git-svn-id: svn://10.0.0.236/trunk@11730 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 00:20:18 +00:00
shaver%netscape.com
9c4fc9bb0f add LM_Set/ClearNodeFlags
git-svn-id: svn://10.0.0.236/trunk@11729 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 00:10:16 +00:00
shaver%netscape.com
0ced7dbdf0 more DOM style stuff, fix some warnings, conditionally prune looks-dead-to-me code, support font-weight:bold/normal
git-svn-id: svn://10.0.0.236/trunk@11728 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 00:09:52 +00:00
shaver%netscape.com
1c2bd7b245 break out MOZILLA_CLIENT db creation for thread purity reasons
git-svn-id: svn://10.0.0.236/trunk@11727 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 00:03:54 +00:00
cls%seawood.org
4c5cd193d7 The first commit apparently didn't take. Restored inclusion of private nspr header in OJI ifdef.
git-svn-id: svn://10.0.0.236/trunk@11726 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 00:01:08 +00:00
joki%netscape.com
51bd8a30f9 Switching order of gfx - dom in build
git-svn-id: svn://10.0.0.236/trunk@11723 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 23:46:55 +00:00
cyeh%netscape.com
ed5c09b09c fix ep for mac
git-svn-id: svn://10.0.0.236/trunk@11722 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 23:35:40 +00:00
briano%netscape.com
8b7e99677f OS_MINOR is no longer needed.
git-svn-id: svn://10.0.0.236/trunk@11721 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 23:32:17 +00:00
briano%netscape.com
b8111503d7 Tweak for NetBSD. Eliminates the OS_MINOR macro that (1) didn't work properly, and (2) was being generated every time NetBSD.mk was included. Approved by ramiro@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@11720 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 23:29:47 +00:00
cls%seawood.org
94dcc80bee Sync'd with Makefile
git-svn-id: svn://10.0.0.236/trunk@11719 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 23:17:22 +00:00
joki%netscape.com
e8b18e86a6 Remove accidental checkin.
git-svn-id: svn://10.0.0.236/trunk@11718 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 23:10:22 +00:00
spider%netscape.com
e702c8ba52 pull zulu nls branch rather than normandy
git-svn-id: svn://10.0.0.236/trunk@11717 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 23:02:49 +00:00
joki%netscape.com
d69a86613b Add gfx libs to dom link list
git-svn-id: svn://10.0.0.236/trunk@11716 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 22:45:55 +00:00
joki%netscape.com
0cea84a3d0 Adding new js window methods/props, moving js string evaluation to UC strings.
git-svn-id: svn://10.0.0.236/trunk@11715 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 22:23:48 +00:00
joki%netscape.com
d5153ccc10 Adding new window methods, moving js evaluate methods to using UC strings.
git-svn-id: svn://10.0.0.236/trunk@11714 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 22:21:59 +00:00
cyeh%netscape.com
13c131ca21 remove old MOCHA define, in preparation for removing DMOCHA from build.
git-svn-id: svn://10.0.0.236/trunk@11712 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 22:04:27 +00:00
cyeh%netscape.com
a5272b4f70 this is a redundent define, since rules.mk includes config.mk, where MOCHA
is already defined. preparation to remove -DMOCHA from build


git-svn-id: svn://10.0.0.236/trunk@11711 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 22:01:24 +00:00
rpotts%netscape.com
0bc5b13542 Pass in a null nsIURLGroup to the image group...
git-svn-id: svn://10.0.0.236/trunk@11710 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 21:53:52 +00:00
rpotts%netscape.com
600c7d04a4 Fire the EndLoadURL(...) notification after all of the URLs have been loaded by the doc loader...
git-svn-id: svn://10.0.0.236/trunk@11709 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 21:49:50 +00:00
pinkerton%netscape.com
ad834619fe add RDF toolbar stuff.
git-svn-id: svn://10.0.0.236/trunk@11708 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 21:49:40 +00:00
pinkerton%netscape.com
415eb197d8 Fix to not merge 'cfrg' resources in Moz_resources and mozdark_resources (again).
Added CRDFToolbar and CRDFToolbarContainer.


git-svn-id: svn://10.0.0.236/trunk@11707 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 21:49:31 +00:00
cls%seawood.org
c4d043d470 Removed use of private NSPR headers. Approved by warren@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@11706 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 21:48:18 +00:00
rpotts%netscape.com
5763a74bc6 The document loader now supports nsIURLGroup interface.
git-svn-id: svn://10.0.0.236/trunk@11705 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 21:48:12 +00:00
rpotts%netscape.com
f41a79a495 Added IsBusy() to determine if a doc loader is actively loading URLs...
git-svn-id: svn://10.0.0.236/trunk@11704 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 21:47:18 +00:00
rpotts%netscape.com
40b191f226 Pass a null nsIURLGroup into the ImageGroup initialize method...
git-svn-id: svn://10.0.0.236/trunk@11703 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 21:46:24 +00:00
rpotts%netscape.com
e21a064e33 Initialize the nsIURLGroup from the document base URL...
git-svn-id: svn://10.0.0.236/trunk@11702 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 21:45:20 +00:00
rpotts%netscape.com
58c795b984 Pass the nsIURLGroup into the ImageGroup...
git-svn-id: svn://10.0.0.236/trunk@11701 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 21:44:16 +00:00
rpotts%netscape.com
e2031c26ba Added GetDocumentURLGroup() method
git-svn-id: svn://10.0.0.236/trunk@11700 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 21:43:49 +00:00
rpotts%netscape.com
a908e3833c Added GetDocumentURLGroup() methodnsIDocument.h
git-svn-id: svn://10.0.0.236/trunk@11699 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 21:43:02 +00:00
pinkerton%netscape.com
087da919b0 oops, remove code that hardcoded the bg image url if one was not set.
git-svn-id: svn://10.0.0.236/trunk@11698 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 21:41:59 +00:00
rpotts%netscape.com
3282d32c99 Added a nsIURLGroup to image URL creation. This allows the URLs to be loaded via the same document loader and use the same load attributes...
git-svn-id: svn://10.0.0.236/trunk@11697 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 21:40:58 +00:00
pinkerton%netscape.com
4de54b5f20 More overrides for CDragBarContainer to not run the code that expects static layout.
git-svn-id: svn://10.0.0.236/trunk@11696 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 21:39:42 +00:00
blythe%netscape.com
7b76be14b2 Fix win95 build problems that do not show up as build errors, revd danm
git-svn-id: svn://10.0.0.236/trunk@11695 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 21:39:18 +00:00
pinkerton%netscape.com
e557c2564a toolbars now draw correctly in all windows (not just in 2nd on up) and respect HT background url property.
git-svn-id: svn://10.0.0.236/trunk@11694 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 21:38:31 +00:00
pinkerton%netscape.com
2311f9eb2b using auto_HT_Pane for managing HTPane ownership.
git-svn-id: svn://10.0.0.236/trunk@11693 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 21:37:50 +00:00
rpotts%netscape.com
900e52ffbe Added a Clone(...) method.
git-svn-id: svn://10.0.0.236/trunk@11692 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 21:37:32 +00:00
pinkerton%netscape.com
af41e832f6 using auto_HT_pane for HTPane ownership.
git-svn-id: svn://10.0.0.236/trunk@11691 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 21:37:23 +00:00
rpotts%netscape.com
74c9fed21f Added nsIURLGroup interface...
git-svn-id: svn://10.0.0.236/trunk@11690 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 21:36:57 +00:00
pinkerton%netscape.com
1f752a7cc1 Fix for #324974 where we weren't sync-ing the selection with HT correctly when nodes were unselected.
git-svn-id: svn://10.0.0.236/trunk@11689 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 21:36:44 +00:00
ramiro%netscape.com
141f180710 fraioli@dg-rtp.dg.com (Marc J. Fraioli) writes the following:
I used the SYS_BYTEORDER_H macro to decide whether or not to
include <sys/byteorder.h>.  This seems appropriate, but I'm happy to
have the feature test changed to DGUX if this breaks some other
platform.

ramiro@netscape.com writes the follwing:

There probably is a proper way to do this in a completely XP way,
but dbm has been hacked so much that such a change is likely to
break a random platform out there.  Im protecting this code with
#if defined(DGUX) to be really safe.


git-svn-id: svn://10.0.0.236/trunk@11688 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 21:36:17 +00:00
pinkerton%netscape.com
c90e722195 fixes so that RDF toolbars can work too.
git-svn-id: svn://10.0.0.236/trunk@11687 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 21:35:41 +00:00
cyeh%netscape.com
ee89664b81 Remove old MOCHA #ifdefs
git-svn-id: svn://10.0.0.236/trunk@11686 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 21:24:22 +00:00
ramiro%netscape.com
4d9c882b95 Add support for DGUX. These are simple #ifdefs that dont affect any other
platforms.  Thanks to fraioli@dg-rtp.dg.com (Marc J. Fraioli) for providing
the patch.


git-svn-id: svn://10.0.0.236/trunk@11685 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 21:22:42 +00:00
rods%netscape.com
e10114cda3 Initial checkin
git-svn-id: svn://10.0.0.236/trunk@11684 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 21:06:09 +00:00
ramiro%netscape.com
3be55f59cd Renamed badly named raise_border to accent_border.
git-svn-id: svn://10.0.0.236/trunk@11683 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 21:00:04 +00:00
kin%netscape.com
54d4f6807c Removed the ... from the editorGoodiesMenu insertHorizontalLine label string
since it doesn't bring up a dialog.


git-svn-id: svn://10.0.0.236/trunk@11682 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 20:56:29 +00:00
scullin%netscape.com
39357fe461 Don't crash if the pref dll isn't registered.
git-svn-id: svn://10.0.0.236/trunk@11681 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 19:59:32 +00:00
dcone%netscape.com
a19bc614b4 Fixed the location problem
git-svn-id: svn://10.0.0.236/trunk@11680 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 19:48:52 +00:00
dcone%netscape.com
8669e95c2b Fixed the thumbsize problem
git-svn-id: svn://10.0.0.236/trunk@11679 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 19:48:31 +00:00
despotdaemon%netscape.com
4b1c1110af Pseudo-automatic update of changes made by wynholds@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@11677 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 19:22:47 +00:00
pierre%netscape.com
16dfef1d5d fixed GetWidth for italic strings
fixed GetMaxAdvance, strikeout, underline, superscript etc...


git-svn-id: svn://10.0.0.236/trunk@11676 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 19:20:09 +00:00
rods%netscape.com
435beabab3 Added {} block in switch statement to make it compile on Linux
git-svn-id: svn://10.0.0.236/trunk@11675 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 19:19:45 +00:00
pierre%netscape.com
df1f7f1a55 Raptor only. Display images on Mac.
git-svn-id: svn://10.0.0.236/trunk@11674 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 19:17:51 +00:00
cltbld%netscape.com
bd3a731b2c Set NavigationLib to weak linked
git-svn-id: svn://10.0.0.236/trunk@11673 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 19:08:39 +00:00
warren%netscape.com
c56943c7b7 Cleaned up messages.
git-svn-id: svn://10.0.0.236/trunk@11672 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 19:07:36 +00:00
buster%netscape.com
c82e3e07ed much better backwards compatibility for autowidth tables
now autowidth columns as assigned a width starting from their minimum.  The remaining
space is proportionately divided among them, never allowing a column to go over its max (for
autowidth tables only.)


git-svn-id: svn://10.0.0.236/trunk@11671 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 18:39:31 +00:00
cyeh%netscape.com
fe26aad290 loosen up check for this error parser since it wasn't finding this
string properly


git-svn-id: svn://10.0.0.236/trunk@11669 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 17:38:04 +00:00
spider%netscape.com
1ee9da5e94 Making LineDDA Much Much Faster ...
git-svn-id: svn://10.0.0.236/trunk@11668 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 17:00:10 +00:00
spider%netscape.com
89bb614f74 Fixes to support Visual C++ 6.0
git-svn-id: svn://10.0.0.236/trunk@11667 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 16:11:36 +00:00
dcone%netscape.com
a4bbf91ad9 Changed the sub projects of some files, Added Troys, Steve C and Peters changes.
git-svn-id: svn://10.0.0.236/trunk@11666 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 15:59:13 +00:00
terry%netscape.com
64e2db8908 Added a link which will generate a script of CVS commands which would
back out the changes listed on the page.


git-svn-id: svn://10.0.0.236/trunk@11665 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 15:05:46 +00:00
ftang%netscape.com
ff645f2c12 removed reference to empty header file
git-svn-id: svn://10.0.0.236/trunk@11664 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 14:33:17 +00:00
dcone%netscape.com
441d17e865 Took out obsolete file (nsFontsache)
git-svn-id: svn://10.0.0.236/trunk@11663 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 14:30:47 +00:00
dcone%netscape.com
2674f559fa fixed a compile error in the stubbed setfont.
git-svn-id: svn://10.0.0.236/trunk@11662 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 14:30:07 +00:00
ftang%netscape.com
c3e31f76c3 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@11661 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 13:45:28 +00:00
ftang%netscape.com
c1996452da remove unused win16 code
git-svn-id: svn://10.0.0.236/trunk@11660 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 13:36:11 +00:00
ftang%netscape.com
9bf20bd0c2 remove unused code
git-svn-id: svn://10.0.0.236/trunk@11659 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 13:31:48 +00:00
ftang%netscape.com
3834660d1a remove a lot of unused win16 and AWT1.0 support stuff
git-svn-id: svn://10.0.0.236/trunk@11658 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 13:27:12 +00:00
ramiro%netscape.com
f5f97bfe7c Create logo only if needed.
git-svn-id: svn://10.0.0.236/trunk@11657 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 08:36:26 +00:00
warren%netscape.com
9b09f591eb Fixed up input stream buffering. Fixed some refcounting problems.
git-svn-id: svn://10.0.0.236/trunk@11656 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 08:08:09 +00:00
mcafee%netscape.com
a4ee4c6189 Rhapsody is building the viewer test app as the first stab at ybfe.
git-svn-id: svn://10.0.0.236/trunk@11655 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 07:51:49 +00:00
mcafee%netscape.com
c0d3255485 Added -lstdc++
git-svn-id: svn://10.0.0.236/trunk@11654 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 07:26:14 +00:00
mcafee%netscape.com
0938c3f4f0 Broke DSO_LDFLAGS out of MKSHLIB
git-svn-id: svn://10.0.0.236/trunk@11653 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 06:55:38 +00:00
radha%netscape.com
eab35c7fc0 Image rendering code back to where it used to be. Fixes the tiled background
rendering problem.


git-svn-id: svn://10.0.0.236/trunk@11652 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 04:57:23 +00:00
radha%netscape.com
19ea8191f4 Image rendering code modified. Normal image rendering now happens
in the usual place at image.cpp. only RDF cases are handled here.


git-svn-id: svn://10.0.0.236/trunk@11651 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 04:55:50 +00:00
radha%netscape.com
798e658b41 Don't free the client data. This makes the crash when you mouse over any
RDF toolbars for the second time.


git-svn-id: svn://10.0.0.236/trunk@11650 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 04:53:44 +00:00
troy%netscape.com
16da9b1f41 Added export of nsIFrameReflow.h
git-svn-id: svn://10.0.0.236/trunk@11647 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 04:47:10 +00:00
troy%netscape.com
7eac0bfdac Separated reflow process out of nsIFrame and into nsIFrameReflow. Also
added nsIHTMLReflow, which is an HTML specific reflow interface


git-svn-id: svn://10.0.0.236/trunk@11646 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 04:46:11 +00:00
ramiro%netscape.com
bf79d12156 Remove uneeded files. Look elsewhere for a demo.
git-svn-id: svn://10.0.0.236/trunk@11645 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 04:44:12 +00:00
ramiro%netscape.com
f79aa8ce77 Backout mcafee's libnetwork link change. For the following good reason. The
next time libnetwork changes, mkicons will break.  It is bad enough to have
the libimg dependancy.  The problem is that libimg depends on stuff in
libnetwork - which is questionable itself.  Instead of doing the "right"
thing, it is important the we do the "wrong" thing to avoid mkicons breaking
more often than it does now.  Add stubs to mkicons instead.  Someone is
working on removing the libimg dependancy on mkicons alltogether.


git-svn-id: svn://10.0.0.236/trunk@11644 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 04:37:51 +00:00
mcafee%netscape.com
bf2b0e13d0 libimg needs NET_EscapeDoubleQuote, which is in libnetwork.
git-svn-id: svn://10.0.0.236/trunk@11643 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 04:23:48 +00:00
michaelp%netscape.com
d3e223d8b6 added new SetFont() that takes fontmetrics.
git-svn-id: svn://10.0.0.236/trunk@11642 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 03:36:06 +00:00
ramiro%netscape.com
1cf449a4c4 Add another stub to the mkicons insanity. Fixes unix builds.
git-svn-id: svn://10.0.0.236/trunk@11641 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 03:31:51 +00:00
brendan%netscape.com
9be7c2eb5f Don't hold layout lock on error return; other misc. cleanups; XXXX todos.
git-svn-id: svn://10.0.0.236/trunk@11640 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 03:24:06 +00:00
mcafee%netscape.com
15398112f6 Moving libnetwork.a around to fix link problem. Still keeping two instances of this lib, looks like the circular dependency is still there.
git-svn-id: svn://10.0.0.236/trunk@11639 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 03:07:12 +00:00
warren%netscape.com
2290dc000a Removed unnecessary field for new networking stuff.
git-svn-id: svn://10.0.0.236/trunk@11638 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 03:01:39 +00:00
warren%netscape.com
0acad8cefd Added networking changes under ifdef NEW_PLUGIN_STREAM_API
git-svn-id: svn://10.0.0.236/trunk@11637 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 02:59:16 +00:00
sdagley%netscape.com
dd9f5e45fc Fix build bustage - if you're going to call an external function INCLUDE THE F**KING HEADER that defines the prototype (i.e. prmem.h for PR_Free()).
git-svn-id: svn://10.0.0.236/trunk@11635 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 02:47:26 +00:00
brendan%netscape.com
0b024eba67 Detabify, 80th column sacrilege fixups, etc.
git-svn-id: svn://10.0.0.236/trunk@11634 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 02:15:01 +00:00
ramiro%netscape.com
5d0b0fb52e I goofed and changed a default value by accident.
git-svn-id: svn://10.0.0.236/trunk@11633 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 01:35:08 +00:00
ramiro%netscape.com
fd27ea05ce Add enter/leave callbacks.
git-svn-id: svn://10.0.0.236/trunk@11632 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 01:28:31 +00:00
ramiro%netscape.com
a50c10eccf Add enter/leave and cell enter/cell leave callbacks.
git-svn-id: svn://10.0.0.236/trunk@11631 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 01:28:09 +00:00
ramiro%netscape.com
da2c95a934 Combine layout and preferred_geometry methods.
git-svn-id: svn://10.0.0.236/trunk@11630 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 01:27:29 +00:00
spider%netscape.com
5cfe3d4eb7 Code to allow MonthView to display VEvents
push mComponentColor from DayView to Component Canvas


git-svn-id: svn://10.0.0.236/trunk@11629 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 01:10:20 +00:00
ramiro%netscape.com
25fb7ecd13 Fix for bugzilla bug 955 just filed by akkana. Tooltip shell was using the
wrong visual and depth info.


git-svn-id: svn://10.0.0.236/trunk@11628 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 01:01:03 +00:00
cmanske%netscape.com
159ca99483 Fixed handling of Blockquote and fixed strings for this as well
git-svn-id: svn://10.0.0.236/trunk@11627 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 01:00:00 +00:00
cyeh%netscape.com
0503c60f2c remove TalkBack Glue shlb until we figure out some nifty wrapping thing for Netscape commercial builds.
git-svn-id: svn://10.0.0.236/trunk@11626 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 00:50:03 +00:00
pinkerton%netscape.com
1724ce9738 Fix for #324967 so that we draw open folders with an open transform if the triggers are not displayed. This matches the finder behavior when triggers are showing.
git-svn-id: svn://10.0.0.236/trunk@11625 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 00:38:56 +00:00
pinkerton%netscape.com
61c528f629 Fix problem where moz_resources target was merging in a bad 'cfrg' resource that caused the app not to launch ("app is damaged or cannot be run on this machine" error in finder).
git-svn-id: svn://10.0.0.236/trunk@11624 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 00:23:24 +00:00
norris%netscape.com
4fc2331228 Fix bug 326297: various security holes caused by lack of quoting around
displayed URLs.


git-svn-id: svn://10.0.0.236/trunk@11623 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 00:23:05 +00:00
cyeh%netscape.com
9da5ac7045 no more pics of bill please
git-svn-id: svn://10.0.0.236/trunk@11622 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 00:15:37 +00:00
cyeh%netscape.com
30fcc5e327 add macbuild directory to JSClient
git-svn-id: svn://10.0.0.236/trunk@11621 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 23:45:50 +00:00
cltbld%netscape.com
616d0ebb63 Added Full Circle Talk Back Glue
git-svn-id: svn://10.0.0.236/trunk@11616 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 23:19:08 +00:00
cyeh%netscape.com
0308b61c32 uncomment out required closed bracket
git-svn-id: svn://10.0.0.236/trunk@11615 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 23:11:09 +00:00
cyeh%netscape.com
65974f5086 add makefiles for Win and UNIX
git-svn-id: svn://10.0.0.236/trunk@11614 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 22:55:04 +00:00
vidur%netscape.com
6e80818402 Added makefile
git-svn-id: svn://10.0.0.236/trunk@11613 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 22:41:22 +00:00
spider%netscape.com
7aff193fb2 Implemented LineStyle's in RenderingContext
git-svn-id: svn://10.0.0.236/trunk@11610 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 22:24:46 +00:00
despotdaemon%netscape.com
f9c9b76aa6 Pseudo-automatic update of changes made by brendan@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@11609 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 22:05:59 +00:00
pnunn%netscape.com
fc16ce65d7 Patch from Adam Moss. Fixes problem with transparency mask on interlaced images.
Much thanks...pn


git-svn-id: svn://10.0.0.236/trunk@11608 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 22:03:58 +00:00
cyeh%netscape.com
a47efe515d wow. i've been really sloppy with the modules file lately. fix JSClient.
git-svn-id: svn://10.0.0.236/trunk@11605 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 21:49:04 +00:00
cyeh%netscape.com
785a91cb80 first pass at replacing mozilla/js line in MozillaSourceCommon with JSClient.
testing builds before replacing...


git-svn-id: svn://10.0.0.236/trunk@11604 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 21:48:03 +00:00
valeski%netscape.com
e9106742a3 HTTP header building optimization. reduced dependency on PL_strlen.
git-svn-id: svn://10.0.0.236/trunk@11602 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 21:45:18 +00:00
troy%netscape.com
bbc0bf61a9 Added XXX warning about retuning an unitialized variable...
git-svn-id: svn://10.0.0.236/trunk@11601 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 21:41:35 +00:00
troy%netscape.com
021a851e00 Missed adding this
git-svn-id: svn://10.0.0.236/trunk@11600 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 21:35:29 +00:00
despotdaemon%netscape.com
b00d6175f9 Pseudo-automatic update of changes made by val4@cornell.edu.
git-svn-id: svn://10.0.0.236/trunk@11598 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 21:15:24 +00:00
beard%netscape.com
900da7d7bf Fixed prototype for newJSPrincipalsFromArray(JSContext *cx, void *principalsArray, void *pNSISecurityContext).
git-svn-id: svn://10.0.0.236/trunk@11597 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 21:15:22 +00:00
troy%netscape.com
80f1fa3170 Moved some files around
git-svn-id: svn://10.0.0.236/trunk@11596 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 21:14:17 +00:00
troy%netscape.com
20f9f2ada0 Moved some files around
git-svn-id: svn://10.0.0.236/trunk@11595 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 21:01:11 +00:00
warren%netscape.com
b392af0777 Broke out LiveConnect callbacks into separate file.
git-svn-id: svn://10.0.0.236/trunk@11592 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 20:55:12 +00:00
sudu%netscape.com
45eadbd609 Changes to support secure liveconnect
git-svn-id: svn://10.0.0.236/trunk@11591 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 20:41:35 +00:00
sudu%netscape.com
5c9f54d6fa Changes to support secure liveconnect and compiling xpcom interfaces only when MOZ_OJI is defined
git-svn-id: svn://10.0.0.236/trunk@11590 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 20:41:25 +00:00
sudu%netscape.com
21583553d5 Added a variable to pass security context from java
git-svn-id: svn://10.0.0.236/trunk@11589 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 20:41:18 +00:00
sudu%netscape.com
e9584f137a Adding new files for secure liveconnect
git-svn-id: svn://10.0.0.236/trunk@11588 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 20:41:15 +00:00
cmanske%netscape.com
9dd48af52e Added more support to change list to blockquote
git-svn-id: svn://10.0.0.236/trunk@11587 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 20:30:51 +00:00
cyeh%netscape.com
d96a585530 Remove NSPR20 #ifdef
git-svn-id: svn://10.0.0.236/trunk@11586 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 20:24:05 +00:00
cls%seawood.org
4182b80068 Make autoconf ignore old setting of MOZ_MEDIUM as well as MOZ_LITE
git-svn-id: svn://10.0.0.236/trunk@11585 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 20:13:35 +00:00
beard%netscape.com
1465c1ea8c Made SpendTime method XP.
git-svn-id: svn://10.0.0.236/trunk@11584 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 20:07:45 +00:00
beard%netscape.com
a7d74f8cc6 Fix for RDF popdown clipping. This should be extended to handle tool tips.
git-svn-id: svn://10.0.0.236/trunk@11583 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 20:03:22 +00:00
spider%netscape.com
afe5d3fcb2 Updates to support latest raptor changes
git-svn-id: svn://10.0.0.236/trunk@11582 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 19:22:29 +00:00
michaelp%netscape.com
261f3660bc we no longer have a public font cache.
git-svn-id: svn://10.0.0.236/trunk@11581 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 19:01:46 +00:00
michaelp%netscape.com
9402cfce2c font cache is no longer public.
git-svn-id: svn://10.0.0.236/trunk@11580 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 18:59:31 +00:00
michaelp%netscape.com
43810cc9dd we now defer plugin enumeration until we need to load one for real.
git-svn-id: svn://10.0.0.236/trunk@11579 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 18:59:03 +00:00
michaelp%netscape.com
1143a7d6da we no longer have a public font cache. removed circular refs between font cache
and device context.


git-svn-id: svn://10.0.0.236/trunk@11578 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 18:58:24 +00:00
cls%seawood.org
a870562949 Moved defines for MOZ_MAIL_COMPOSE out of MOZ_MEDIUM ifdef and placed it under separate MOZ_MAIL_COMPOSE ifdef. Fixes --enable-mail-compose.
git-svn-id: svn://10.0.0.236/trunk@11577 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 18:58:15 +00:00
michaelp%netscape.com
0cac7ec55d added support for deferred plugin enumeration.
git-svn-id: svn://10.0.0.236/trunk@11576 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 18:57:27 +00:00
cls%seawood.org
de1d2d0f7f Moved files out of MOZ_EDITOR ifdef to fix breakage under MOZ_LITE. Thanks to Tim Rowley <tor@cs.brown.edu> for the fix.
git-svn-id: svn://10.0.0.236/trunk@11575 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 18:40:05 +00:00
jfrancis%netscape.com
04b3a18fa9 Making the world safe for MacOS 8.1
git-svn-id: svn://10.0.0.236/trunk@11574 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 18:31:22 +00:00
kin%netscape.com
a5b24e3122 Fix for bug #325661: ENDER: Reseting a form with an HTMLArea displays a dialog.
mozilla/cmd/xfe/forms.c
mozilla/lib/layout/editor.cpp
  - Modified EDT_SetDefaultHTML() to call ReadFromBuffer instead
    of EDT_PasteHTML. It can also handle the case where pHTML is null.

mozilla/lib/layout/edtbuf.cpp
  - Modified ReadFromBuffer to handle case where pBuffer is null.


git-svn-id: svn://10.0.0.236/trunk@11573 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 18:26:53 +00:00
buster%netscape.com
24dc879e22 just synching up some minor cleanup work
git-svn-id: svn://10.0.0.236/trunk@11571 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 18:11:48 +00:00
raman%netscape.com
55e9f6a19d Checking in changes from hshaw. These changes are bug fixes from 4.5. Minor tweaks after the codereview by raman.
git-svn-id: svn://10.0.0.236/trunk@11570 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 18:07:26 +00:00
raman%netscape.com
a630d5010e Reenabled the code that fixes the memory leaks during startup. I have compiled these changes on windows, solaris, linux. Lasttime I checked in, Mac compiled ok.
git-svn-id: svn://10.0.0.236/trunk@11569 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 18:06:19 +00:00
spider%netscape.com
46a085738a Fix Linux Redhat 5.1 build to be compat with config
git-svn-id: svn://10.0.0.236/trunk@11568 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 18:02:28 +00:00
leaf%mozilla.org
6f7eb3d5f4 changed 'cvs co ns/client.mk' to 'cvs co MozillaSourceMotif'
git-svn-id: svn://10.0.0.236/trunk@11567 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 17:18:16 +00:00
spider%netscape.com
03ce3c488e WIP: MonthView canvas
Support for NewModel command in MultiView
support for "target=" in LoadUrl
hookup Day/Week/Month on toolbar and menubar


git-svn-id: svn://10.0.0.236/trunk@11563 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 16:40:31 +00:00
ramiro%netscape.com
b841237f04 Fix tabbing on new unix modules ;-)
git-svn-id: svn://10.0.0.236/trunk@11562 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 15:38:31 +00:00
despotdaemon%netscape.com
410245d9c9 Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@11561 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 15:09:48 +00:00
terry%netscape.com
5c43702c1a Fixed stupid typo.
git-svn-id: svn://10.0.0.236/trunk@11560 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 15:04:04 +00:00
leaf%mozilla.org
645fc600af Changed the mail-recipient to external-tinderbox-incoming@mozilla.org,
so you don't have to be inside the firewall to contribute cycles.


git-svn-id: svn://10.0.0.236/trunk@11559 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 14:58:58 +00:00
ramiro%netscape.com
8853f7e697 Always update the boundary before invoking preferred_geometry.
git-svn-id: svn://10.0.0.236/trunk@11558 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 13:01:25 +00:00
ramiro%netscape.com
21185789eb Remove dead code. Make sure GetChildDimensions() returns non zero values.
git-svn-id: svn://10.0.0.236/trunk@11557 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 13:00:42 +00:00
ramiro%netscape.com
758e338c94 Modularize defaults.
git-svn-id: svn://10.0.0.236/trunk@11556 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 12:55:29 +00:00
ramiro%netscape.com
ea93aeaed8 Modularize translations.
git-svn-id: svn://10.0.0.236/trunk@11555 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 12:20:26 +00:00
ftang%netscape.com
4c5a9df663 check in latest koiu patch. Thanks Dmitry Kohmany dk+mozilla@farm.org from the net
git-svn-id: svn://10.0.0.236/trunk@11554 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 12:16:01 +00:00
ramiro%netscape.com
3427acfaf4 Dont define the detect rules on autoconf builds, otherwise ac builds is
painfully slow.


git-svn-id: svn://10.0.0.236/trunk@11553 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 11:58:59 +00:00
ramiro%netscape.com
276e76e959 Modularize inheritance macros.
git-svn-id: svn://10.0.0.236/trunk@11552 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 11:58:37 +00:00
ftang%netscape.com
3f1dd32657 add two new files to support RDF related UI. I have not connect the RDF related UI code into these file yet...
git-svn-id: svn://10.0.0.236/trunk@11551 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 10:58:21 +00:00
ftang%netscape.com
d19a616951 First add these file to support RDF related UI. I have not connect the RDF related UI code into these file yet...
git-svn-id: svn://10.0.0.236/trunk@11550 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 10:57:15 +00:00
ftang%netscape.com
c08765cf66 check in Vietnamese cp1258 winfe changes . Thanks for Van Le from the net
git-svn-id: svn://10.0.0.236/trunk@11549 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 10:48:13 +00:00
ftang%netscape.com
a919ddc65e check in winfe changes for Vietnamese cp1258 work . Thanks Van Le from the net
git-svn-id: svn://10.0.0.236/trunk@11548 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 10:42:12 +00:00
ftang%netscape.com
825a955cf6 delete unused context argument
git-svn-id: svn://10.0.0.236/trunk@11547 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 10:34:28 +00:00
ftang%netscape.com
401757a253 check in vietnamese cp1258 XP patch from Van Le
git-svn-id: svn://10.0.0.236/trunk@11546 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 10:31:32 +00:00
ftang%netscape.com
971a5378de check in fix for Bugzilla bug 832. Reviewed by rjc
git-svn-id: svn://10.0.0.236/trunk@11543 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 10:28:34 +00:00
despotdaemon%netscape.com
8d6dff5003 Pseudo-automatic update of changes made by locka@cork.cig.mot.com.
git-svn-id: svn://10.0.0.236/trunk@11542 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 08:36:07 +00:00
brendan%netscape.com
35c54850af LO_GetBuiltinByIndex should not be ifdef JAVA or OJI.
git-svn-id: svn://10.0.0.236/trunk@11541 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 07:06:56 +00:00
rjc%netscape.com
a54d63b69f Finish Shack reflection into JavaScript for Win32 by setting HT_Pane reference in lo_builtin struct.
git-svn-id: svn://10.0.0.236/trunk@11540 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 06:12:35 +00:00
shaver%netscape.com
0e6ba073d6 we need RDF now
git-svn-id: svn://10.0.0.236/trunk@11539 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 06:11:58 +00:00
warren%netscape.com
8f2f0ece8a Renamed to shorter name for Mac.
git-svn-id: svn://10.0.0.236/trunk@11538 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 05:45:49 +00:00
valeski%netscape.com
3831bf98d5 fixing build bustage
git-svn-id: svn://10.0.0.236/trunk@11535 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 05:32:13 +00:00
warren%netscape.com
5f491ff820 New OJI networking APIs.
git-svn-id: svn://10.0.0.236/trunk@11533 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 05:29:48 +00:00
shaver%netscape.com
657b6cc157 start on DOM version of lo_SetStyleSheetLayerProperties
git-svn-id: svn://10.0.0.236/trunk@11532 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 05:03:27 +00:00
shaver%netscape.com
972fdcfd77 only build lm_dom.c if DOM set
git-svn-id: svn://10.0.0.236/trunk@11531 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 04:47:55 +00:00
troy%netscape.com
62662fd601 Reserved IID for nsIHTMLReflow
git-svn-id: svn://10.0.0.236/trunk@11530 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 04:15:35 +00:00
shaver%netscape.com
f5afb8bcb4 remove bogus (vestigial?) builtin_count reference
git-svn-id: svn://10.0.0.236/trunk@11529 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 03:48:49 +00:00
brendan%netscape.com
ecce3f68e3 - Need JS_THREADSAFE in mozilla.mak and config.mak (and because of the latter,
don't need it in js/src/makefile.win).
- Added DOM support.
- Break up really long lines in mozilla.mak using backslashes.
- Added /I../../lib/libdom to several places (ugh).
- factor some mime.lib stuff better, but still not consistent in how SMART_MAIL
  and MOZ_MAIL_NEWS select it.
- Include spans and transclusion stuff, shaver and toshok to clean up later.
- Use ?: instead of if/else in layout.c to minimize source and generated code.
- Use strong typing for struct DOM_foo * types without including domstyle.h,
  by using mighty struct tags.
- Fix doc_id signedness in lm_dom.h (also eliminate tabs, but use 8 for
  tab-width).


git-svn-id: svn://10.0.0.236/trunk@11524 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 02:07:26 +00:00
akkana%netscape.com
1094bbfc62 Add rdf dependancy -- fix Linux build
git-svn-id: svn://10.0.0.236/trunk@11523 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 02:05:19 +00:00
brendan%netscape.com
1f28471085 Use XP_ASSERT, not PR_ASSERT, for continuable assertbotches in mozilla.exe.
git-svn-id: svn://10.0.0.236/trunk@11521 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 01:41:04 +00:00
terry%netscape.com
19c004bc33 Mention the file 'checkoutlist' (as suggested by Todd Kennedy
<Todd.Kennedy@Eng.Sun.COM>).


git-svn-id: svn://10.0.0.236/trunk@11520 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 01:22:33 +00:00
cmanske%netscape.com
edae47c804 Added check for USEMAP when deciding default border width in image tag
git-svn-id: svn://10.0.0.236/trunk@11519 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 01:20:14 +00:00
peterl%netscape.com
2832ba164e use new get value as string api
git-svn-id: svn://10.0.0.236/trunk@11518 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 01:09:19 +00:00
peterl%netscape.com
b91b3cb2d5 added get value as string
git-svn-id: svn://10.0.0.236/trunk@11517 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 01:08:59 +00:00
peterl%netscape.com
98aaec70ef make text decoration always an enum
git-svn-id: svn://10.0.0.236/trunk@11516 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 01:08:44 +00:00
rjc%netscape.com
3388b59014 Reflect Shack into JavaScript. New file: lm_tree.c
git-svn-id: svn://10.0.0.236/trunk@11515 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 00:55:11 +00:00
karnaze%netscape.com
c99190b224 fixed case sensitive include for unix
git-svn-id: svn://10.0.0.236/trunk@11514 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 00:55:03 +00:00
rjc%netscape.com
f234b9d8da Reflect Shack into JavaScript. Approval: sdagley
git-svn-id: svn://10.0.0.236/trunk@11513 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 00:53:40 +00:00
cls%seawood.org
f61c2da239 Changed check for EDITOR to MOZ_EDITOR.
git-svn-id: svn://10.0.0.236/trunk@11512 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 00:53:10 +00:00
rjc%netscape.com
52eb848af9 Reflect Shack into JavaScript. Reviewed and approved by Brendan (libMocha) and Nisheeth (Layout).
git-svn-id: svn://10.0.0.236/trunk@11511 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 00:53:09 +00:00
rjc%netscape.com
9c2d9abe68 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@11510 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 00:51:18 +00:00
cls%seawood.org
959419a5dc Replaced checks for NO_EDITOR with checks for MOZ_EDITOR. Changed check for EDITOR to MOZ_EDITOR.
git-svn-id: svn://10.0.0.236/trunk@11509 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 00:50:40 +00:00
cls%seawood.org
e36b6c8d7f Replaced checks for NO_EDITOR with checks for MOZ_EDITOR. Compile embed.cpp with $(CCC) instead of $(CC).
git-svn-id: svn://10.0.0.236/trunk@11508 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 00:49:28 +00:00
cls%seawood.org
e6d0bdcfb8 Replaced checks for NO_EDITOR with checks for MOZ_EDITOR. Removed check for NO_EDITOR from config.mk. Removed EDITOR=1 from config.mk. Set MOZ_EDITOR= ifdef MOZ_LITE.
git-svn-id: svn://10.0.0.236/trunk@11507 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 00:48:23 +00:00
akkana%netscape.com
0fe4cfe496 HFolder should already be caught by the earlier wildcard
git-svn-id: svn://10.0.0.236/trunk@11506 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 00:39:58 +00:00
cls%seawood.org
04bc6f853f Finished off MOZ_USER_DIR patch. This allows developers to change config-dir at compile time. Defaults to .netscape for classic build and .mozilla for autoconf build.
git-svn-id: svn://10.0.0.236/trunk@11505 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 00:38:49 +00:00
akkana%netscape.com
6704e7d531 List Person, People and MailAttach separately to try to unconfuse Linux
git-svn-id: svn://10.0.0.236/trunk@11504 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 00:36:48 +00:00
akkana%netscape.com
316523feef Add HFolder* to icon list -- help fix Linux build
git-svn-id: svn://10.0.0.236/trunk@11503 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 00:34:36 +00:00
sudu%netscape.com
d4a78dc325 Moved .cpp files to CPPSRCS from CSRCS. apprvd checkin cyeh
git-svn-id: svn://10.0.0.236/trunk@11502 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 00:24:03 +00:00
cls%seawood.org
1bad763353 Finished off MOZ_USER_DIR patch. This allows developers to change config-dir at compile time. Defaults to .netscape for classic build and .mozilla for autoconf build.
git-svn-id: svn://10.0.0.236/trunk@11501 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 00:23:45 +00:00
terry%netscape.com
245c74634f Added admin page for changing of default owners (code by Sam Ziegler <sam@ziegler.org>)
git-svn-id: svn://10.0.0.236/trunk@11500 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 00:05:25 +00:00
cmanske%netscape.com
24650b9378 Fixed more Composer bugs
git-svn-id: svn://10.0.0.236/trunk@11499 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-30 00:01:40 +00:00
toshok%netscape.com
1a5aca39ee include prsystem.h to fix build
git-svn-id: svn://10.0.0.236/trunk@11498 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 23:58:54 +00:00
peterl%netscape.com
3a2cfadc61 added nsCSSProps2.cpp
git-svn-id: svn://10.0.0.236/trunk@11497 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 23:51:47 +00:00
peterl%netscape.com
7a1f51163c added attribute & content changed code
git-svn-id: svn://10.0.0.236/trunk@11496 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 23:51:28 +00:00
peterl%netscape.com
42c7b6e79f added hint table
moved non-generated code to nsCSSProps2.cpp


git-svn-id: svn://10.0.0.236/trunk@11495 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 23:50:56 +00:00
cmanske%netscape.com
78ccc9bab1 More Composer bug fixes: Removed password remembering from Publish dialog and removed pixel to % conversion for table and cell widths
git-svn-id: svn://10.0.0.236/trunk@11494 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 23:50:44 +00:00
peterl%netscape.com
ce18c9d686 added change hint to parse declaration
git-svn-id: svn://10.0.0.236/trunk@11493 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 23:50:09 +00:00
peterl%netscape.com
6baee6145d added hint to parse delcaration
git-svn-id: svn://10.0.0.236/trunk@11492 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 23:49:19 +00:00
peterl%netscape.com
2b7136b4b7 added hint to attribute change notification
git-svn-id: svn://10.0.0.236/trunk@11491 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 23:48:38 +00:00
peterl%netscape.com
9b94d90eca moved attribute change code to style sheete
cleaned up content change api


git-svn-id: svn://10.0.0.236/trunk@11490 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 23:48:07 +00:00
peterl%netscape.com
cae2faa839 added content & attribute change to style frame construction
cleaned up api


git-svn-id: svn://10.0.0.236/trunk@11489 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 23:47:03 +00:00
peterl%netscape.com
439691029e added change hints
git-svn-id: svn://10.0.0.236/trunk@11488 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 23:46:25 +00:00
peterl%netscape.com
67328bc930 routed content & attribute change through style set
routed all style frame construction calls directly to style set


git-svn-id: svn://10.0.0.236/trunk@11487 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 23:46:05 +00:00
peterl%netscape.com
6796d080ab removed style frame construction methods
git-svn-id: svn://10.0.0.236/trunk@11486 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 23:44:53 +00:00
peterl%netscape.com
7b5bbd8c57 added change hint to attribute change api
cleaned up content change api


git-svn-id: svn://10.0.0.236/trunk@11485 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 23:44:25 +00:00
peterl%netscape.com
a6cd5428be added change hint to attribute change api
git-svn-id: svn://10.0.0.236/trunk@11484 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 23:43:39 +00:00
peterl%netscape.com
6976204834 added content changed & attribute changed to style frame construction api.
cleaned up api.
added attribute change hint.


git-svn-id: svn://10.0.0.236/trunk@11483 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 23:41:59 +00:00
bjorn%netscape.com
316f030593 Fix for negative values, similar to the one I put into jslock.c. This version
is used when gcc is *not* the compiler.


git-svn-id: svn://10.0.0.236/trunk@11482 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 23:39:11 +00:00
peterl%netscape.com
777dbb325d made alias font use static strings
git-svn-id: svn://10.0.0.236/trunk@11481 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 23:38:50 +00:00
valeski%netscape.com
597390284a fixed crasher. whoever did the mass removal of nspr20 #defines removed a necessary routine.
git-svn-id: svn://10.0.0.236/trunk@11480 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 23:36:58 +00:00
shaver%netscape.com
1af14a8a8d fix sloppy errors in DOM_GetStyleDatabaseFromContext
git-svn-id: svn://10.0.0.236/trunk@11479 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 23:32:58 +00:00
bjorn%netscape.com
1db1439f26 Additional fix to assembly to accommodate for nv < 0.
git-svn-id: svn://10.0.0.236/trunk@11477 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 23:31:27 +00:00
karnaze%netscape.com
ea20d275db initial fieldset, legend content classes. minor cleanup on form control content.
git-svn-id: svn://10.0.0.236/trunk@11476 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 23:22:42 +00:00
shaver%netscape.com
f5c72c7ee3 initialize toplevel <HTML> properly (duh)
git-svn-id: svn://10.0.0.236/trunk@11475 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 23:22:25 +00:00
buster%netscape.com
a0c05dcfa4 fixed a minor bug in colspan layout
the layout strategy can now query the outer frame for the caption min width,
and use it to expand the table if necessary
did some related cleanup while I was in there.


git-svn-id: svn://10.0.0.236/trunk@11473 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 23:15:01 +00:00
rjc%netscape.com
3377016e58 Expose support for Shack.
git-svn-id: svn://10.0.0.236/trunk@11472 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 23:11:32 +00:00
shaver%netscape.com
8d3f61e3ab lock layout when setting up style_db
git-svn-id: svn://10.0.0.236/trunk@11471 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 23:11:05 +00:00
terry%netscape.com
a738d0ced8 Fixed bug which was stomping on "file" field if there was no dir field
and the file field had no slash.


git-svn-id: svn://10.0.0.236/trunk@11470 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 22:54:59 +00:00
valeski%netscape.com
5c97f51f8e removed NET_HostName() routine to cut down on size.
git-svn-id: svn://10.0.0.236/trunk@11468 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 22:52:46 +00:00
valeski%netscape.com
a91fa34c33 removed NET_HostName() call as this routine is no longer implemented.
git-svn-id: svn://10.0.0.236/trunk@11467 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 22:51:30 +00:00
michaelp%netscape.com
b53c67c4da we only notify the plugin instance via the plugin host and only if the notify
data is non-null.


git-svn-id: svn://10.0.0.236/trunk@11466 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 22:47:42 +00:00
valeski%netscape.com
373f454837 Added get/set methods to nsINetService interface for http request version manipulation. You can specify whether or not you want 1.1 or 1.0.
git-svn-id: svn://10.0.0.236/trunk@11464 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 22:43:32 +00:00
akkana%netscape.com
1a84c2242a Turn on MOZ_MAIL_COMPOSE. Approved by Briano
git-svn-id: svn://10.0.0.236/trunk@11463 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 22:43:22 +00:00
bjorn%netscape.com
017dc6f116 Changed the assertion which used to trigger when nv < 0 in CompareAndSwap.
It now triggers when nv == -1. This is only relevant on a Solaris compiled
for SPARC v8.


git-svn-id: svn://10.0.0.236/trunk@11462 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 22:42:08 +00:00
despotdaemon%netscape.com
18c2c409a4 Pseudo-automatic update of changes made by harrison@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@11461 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 22:41:24 +00:00
valeski%netscape.com
7dec1e0b00 initializing line_buffer in build_http_request. added ability to set different http request versions and some optimizations.
git-svn-id: svn://10.0.0.236/trunk@11460 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 22:40:53 +00:00
kipp%netscape.com
d33943c13b Create table-cell's body as a top-level body so that it doesn't shrink wrap around it's children during pass2 table reflow
git-svn-id: svn://10.0.0.236/trunk@11459 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 22:36:30 +00:00
gagan%netscape.com
5cb01b63fc NuCache wasn't building on Unix. Fixed.
git-svn-id: svn://10.0.0.236/trunk@11458 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 22:36:06 +00:00
kipp%netscape.com
70b47dedc6 Better margins
git-svn-id: svn://10.0.0.236/trunk@11457 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 22:35:24 +00:00
kipp%netscape.com
d280ea2fa3 Parse OL/UL type=A|a|I|i properly
git-svn-id: svn://10.0.0.236/trunk@11456 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 22:34:30 +00:00
kipp%netscape.com
42942a6501 Removed duplicate adjustment of the width/height; only use max-size-width if width is unconstrained AND it's a top-level body
git-svn-id: svn://10.0.0.236/trunk@11455 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 22:33:47 +00:00
slamm%netscape.com
f3d387c3e8 Fix build bustage. Put a newline at the end of the file.
git-svn-id: svn://10.0.0.236/trunk@11454 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 22:33:36 +00:00
kipp%netscape.com
51dce78d05 Add in a bottom-line-margin when dealing with a zero-height line that contains a BR frame
git-svn-id: svn://10.0.0.236/trunk@11453 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 22:32:56 +00:00
kipp%netscape.com
655a69e6ba Added SetBRFrame/GetBRFrame for handling 0 height line layout and BR's
git-svn-id: svn://10.0.0.236/trunk@11452 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 22:32:04 +00:00
kipp%netscape.com
4040cf15ce Made BR frames 0,0; inform line layout of presence of the BR frame
git-svn-id: svn://10.0.0.236/trunk@11449 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 22:31:22 +00:00
rods%netscape.com
fd81e0baf9 Added HWND cast for STRICT compiler problem.
git-svn-id: svn://10.0.0.236/trunk@11448 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 22:22:30 +00:00
rods%netscape.com
4a16ee4af9 Commented out the setup of the dispatch listener because the AppViewer
doesn't do anything.


git-svn-id: svn://10.0.0.236/trunk@11447 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 22:18:18 +00:00
rods%netscape.com
3eb99ad5e9 Run method now does an AddRef so it stays alive until the last message can
come through the pump.


git-svn-id: svn://10.0.0.236/trunk@11446 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 22:16:23 +00:00
jsun%netscape.com
cdab24e124 Renamed more classes from Julian* to nsCal*.
Didn't rename JulianPtrArray, JulianString, JulianFormFactory.


git-svn-id: svn://10.0.0.236/trunk@11445 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 22:11:18 +00:00
pinkerton%netscape.com
a74837fd01 remove semicolon after #ifdef.
git-svn-id: svn://10.0.0.236/trunk@11444 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 22:05:27 +00:00
kmcclusk%netscape.com
5f40f50f80 Initialize mFont to nsnull in constructor.
git-svn-id: svn://10.0.0.236/trunk@11443 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 22:01:50 +00:00
cyeh%netscape.com
03c1c646a2 hasta la vista, MOZ_GOLD
git-svn-id: svn://10.0.0.236/trunk@11442 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 21:57:03 +00:00
cyeh%netscape.com
b71a02dd2c Remove old NSPR20 #ifdef
git-svn-id: svn://10.0.0.236/trunk@11441 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 21:55:00 +00:00
pinkerton%netscape.com
1529be322d weak-link against NavServices.
git-svn-id: svn://10.0.0.236/trunk@11440 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 21:43:27 +00:00
cyeh%netscape.com
0a4f762689 Remove old NSPR20 and MOCHA #ifdefs
git-svn-id: svn://10.0.0.236/trunk@11439 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 21:35:57 +00:00
kmcclusk%netscape.com
09cba4e0fd Moved common Create(nsIWidget... and Create(nsNativeWidget to a StandardWindowCreate
utility method then call it from each of the Creates.


git-svn-id: svn://10.0.0.236/trunk@11438 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 21:34:58 +00:00
cyeh%netscape.com
1f2dc12a8e If NSPR20 isn't defined, the makefile wouldn't look in the NSPR header directory.
git-svn-id: svn://10.0.0.236/trunk@11437 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 21:32:29 +00:00
rods%netscape.com
59628ebaa7 Changed the menu creation code
git-svn-id: svn://10.0.0.236/trunk@11436 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 21:32:21 +00:00
rods%netscape.com
02f7f7fe9f Reworked all the menu code and removed nsWindow from several classes
git-svn-id: svn://10.0.0.236/trunk@11435 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 21:30:31 +00:00
gagan%netscape.com
98d3667d0d Wrong version went in. Correcting.
git-svn-id: svn://10.0.0.236/trunk@11434 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 21:30:00 +00:00
cyeh%netscape.com
344f351c38 Remove old NSPR20 #ifdef
git-svn-id: svn://10.0.0.236/trunk@11433 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 21:29:23 +00:00
cyeh%netscape.com
c446d724e8 Remove old NSPR20 #ifdefs
git-svn-id: svn://10.0.0.236/trunk@11432 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 21:28:25 +00:00
shaver%netscape.com
9b0250bbbe update DOM stuff for new style data, and make DOM_HTMLPushNode do more implicit-pop stuff
git-svn-id: svn://10.0.0.236/trunk@11431 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 21:23:15 +00:00
gagan%netscape.com
233be11345 Inlined pref accessor/modifiers.
git-svn-id: svn://10.0.0.236/trunk@11430 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 21:18:53 +00:00
cyeh%netscape.com
9a67de3b3b this file isn't used anymore and is very obsolete
git-svn-id: svn://10.0.0.236/trunk@11429 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 21:13:14 +00:00
cyeh%netscape.com
5e1e651ec3 Remove old NSPR20 and MOCHA #ifdefs
git-svn-id: svn://10.0.0.236/trunk@11428 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 21:12:32 +00:00
cyeh%netscape.com
8c4f04d2f1 Remove old NSPR20 #ifdefs
git-svn-id: svn://10.0.0.236/trunk@11427 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 21:02:23 +00:00
cyeh%netscape.com
b699559c9c Removing old NSPR20 #ifdef
git-svn-id: svn://10.0.0.236/trunk@11426 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 20:59:25 +00:00
nisheeth%netscape.com
b8943d030a Ifdef out support for the window.hardware JS object. If you want support to
get compiled, define NAV_HARDWARE.


git-svn-id: svn://10.0.0.236/trunk@11425 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 20:57:59 +00:00
cyeh%netscape.com
cdf7f130f2 Remove old NSPR20 #ifdef
git-svn-id: svn://10.0.0.236/trunk@11424 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 20:57:07 +00:00
nisheeth%netscape.com
b25b289a93 Remove support for the window.hardware JS object.
git-svn-id: svn://10.0.0.236/trunk@11423 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 20:56:19 +00:00
cyeh%netscape.com
048c08f8a0 Remove old MOCHA #ifdefs
git-svn-id: svn://10.0.0.236/trunk@11422 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 20:55:21 +00:00
cyeh%netscape.com
b5e3e00b52 Removing old NSPR20 and MOCHA #ifdefs
git-svn-id: svn://10.0.0.236/trunk@11421 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 20:50:44 +00:00
valeski%netscape.com
de0426f574 we're now respecting the "Proxy-Connection: close" header. we used to ignore it and eventually discover that the connection had closed. Now we close it when asked to by the proxy.
git-svn-id: svn://10.0.0.236/trunk@11420 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 20:50:20 +00:00
cyeh%netscape.com
fc5d6ce90b remove extra space at the end of a line. oops.
git-svn-id: svn://10.0.0.236/trunk@11418 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 20:34:33 +00:00
pierre%netscape.com
023c4787b4 removed LTextEdit.cp
removed "cmd/macfe/restext"


git-svn-id: svn://10.0.0.236/trunk@11417 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 20:31:42 +00:00
cyeh%netscape.com
383b90e206 adding modules for each unix fe. long live balkanization.
git-svn-id: svn://10.0.0.236/trunk@11416 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 20:31:01 +00:00
terry%netscape.com
a31855bef6 Don't do server-push if the user seems to be using Internet Explorer.
git-svn-id: svn://10.0.0.236/trunk@11415 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 19:20:59 +00:00
rods%netscape.com
0139444535 Changed casting of HMENU native data
git-svn-id: svn://10.0.0.236/trunk@11413 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 18:32:37 +00:00
cyeh%netscape.com
63f046a38e fix instance of C++ comments in a C file
git-svn-id: svn://10.0.0.236/trunk@11412 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 18:28:53 +00:00
rods%netscape.com
af68a75891 This should fix a casting error for VC++ 5.0 with STRICT
git-svn-id: svn://10.0.0.236/trunk@11411 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:50:50 +00:00
pinkerton%netscape.com
007000962c remove explicit LListener inheritance.
git-svn-id: svn://10.0.0.236/trunk@11410 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:35:23 +00:00
pinkerton%netscape.com
377be07e09 Use Client.mcp for stubs generation. These are now obsolete.
git-svn-id: svn://10.0.0.236/trunk@11409 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:35:12 +00:00
pinkerton%netscape.com
c88b3467ef pro4 namespace stuff.
git-svn-id: svn://10.0.0.236/trunk@11408 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:35:07 +00:00
pinkerton%netscape.com
fa9ab071be remove volatile.
git-svn-id: svn://10.0.0.236/trunk@11407 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:33:46 +00:00
terry%netscape.com
515fccd46a Put in some pointers to dolog.pl.
git-svn-id: svn://10.0.0.236/trunk@11406 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:33:37 +00:00
pinkerton%netscape.com
c656ccfa1d use new menu bar (no more mercutio)
git-svn-id: svn://10.0.0.236/trunk@11405 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:32:35 +00:00
pinkerton%netscape.com
250e6f2dc9 casts to make pro4 compiler happy
git-svn-id: svn://10.0.0.236/trunk@11404 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:32:11 +00:00
pinkerton%netscape.com
680bfd8e92 improper use of volatile
git-svn-id: svn://10.0.0.236/trunk@11403 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:31:52 +00:00
pinkerton%netscape.com
8a95424c44 use LTextEditView
git-svn-id: svn://10.0.0.236/trunk@11402 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:31:30 +00:00
pinkerton%netscape.com
9132e4aeb3 make sure we pick up right header files.
git-svn-id: svn://10.0.0.236/trunk@11401 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:31:08 +00:00
terry%netscape.com
75f55bbc32 Whoops; all the comments at the top got lost somehow. Restore them.
git-svn-id: svn://10.0.0.236/trunk@11400 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:30:55 +00:00
pinkerton%netscape.com
dedb0a861b make sure we pick up the correct defines.
git-svn-id: svn://10.0.0.236/trunk@11399 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:30:47 +00:00
pinkerton%netscape.com
914507e698 new pro4 exports.
git-svn-id: svn://10.0.0.236/trunk@11398 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:30:20 +00:00
pinkerton%netscape.com
b48dca7cec LTextEditView changes.
git-svn-id: svn://10.0.0.236/trunk@11397 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:30:01 +00:00
pinkerton%netscape.com
766c1c52b8 pro4 namespace stuff.
git-svn-id: svn://10.0.0.236/trunk@11396 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:29:34 +00:00
pinkerton%netscape.com
e89d08f8df new stuff from pro4
git-svn-id: svn://10.0.0.236/trunk@11395 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:29:08 +00:00
pinkerton%netscape.com
8aad8aafe6 Carbon fixes (if-def'd)
git-svn-id: svn://10.0.0.236/trunk@11394 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:28:57 +00:00
pinkerton%netscape.com
faaea0cb09 make sure defines are set right.
git-svn-id: svn://10.0.0.236/trunk@11393 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:28:38 +00:00
pinkerton%netscape.com
8ccd2c9870 const changes.
git-svn-id: svn://10.0.0.236/trunk@11392 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:28:24 +00:00
pinkerton%netscape.com
a1893d3501 const changes, LTextEditView changes
git-svn-id: svn://10.0.0.236/trunk@11391 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:28:06 +00:00
pinkerton%netscape.com
8693440d91 carbon fixes.
git-svn-id: svn://10.0.0.236/trunk@11390 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:27:42 +00:00
pinkerton%netscape.com
7e81e40bf7 some carbon stuff and LTextEditView
git-svn-id: svn://10.0.0.236/trunk@11389 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:26:59 +00:00
pinkerton%netscape.com
c2e9744557 fix warnings.
git-svn-id: svn://10.0.0.236/trunk@11388 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:25:45 +00:00
pinkerton%netscape.com
d7ae588afc carbon stuff.
git-svn-id: svn://10.0.0.236/trunk@11387 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:25:31 +00:00
pinkerton%netscape.com
d1810dc5f6 new menubar.
git-svn-id: svn://10.0.0.236/trunk@11386 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:25:13 +00:00
pinkerton%netscape.com
39020bc5b7 get ready for Carbon
git-svn-id: svn://10.0.0.236/trunk@11385 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:24:55 +00:00
pinkerton%netscape.com
7230c61711 Get/SetDescriptorLen changes.
git-svn-id: svn://10.0.0.236/trunk@11384 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:24:42 +00:00
pinkerton%netscape.com
e7bfd07afd pro4 stl changes.
git-svn-id: svn://10.0.0.236/trunk@11383 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:23:55 +00:00
pinkerton%netscape.com
ba1aa5767d add new[] and delete[] and fix other stuff (get rid of flushAlloc, etc)
git-svn-id: svn://10.0.0.236/trunk@11382 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:23:18 +00:00
pinkerton%netscape.com
f5670b3a00 extern C stuff.
git-svn-id: svn://10.0.0.236/trunk@11381 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:22:52 +00:00
pinkerton%netscape.com
d56873e49a use new menubar classes.
git-svn-id: svn://10.0.0.236/trunk@11380 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:22:26 +00:00
pinkerton%netscape.com
169698a260 remove obsolete stuff
git-svn-id: svn://10.0.0.236/trunk@11379 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:21:47 +00:00
pinkerton%netscape.com
fd7f64ffab Fixes for Pro4
git-svn-id: svn://10.0.0.236/trunk@11378 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:21:32 +00:00
pinkerton%netscape.com
6810e5d3d6 const changes for Pro4
git-svn-id: svn://10.0.0.236/trunk@11377 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:20:58 +00:00
pinkerton%netscape.com
cb41010640 fix warnings.
git-svn-id: svn://10.0.0.236/trunk@11376 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:20:41 +00:00
pinkerton%netscape.com
2b8037895e pro4 changes
git-svn-id: svn://10.0.0.236/trunk@11375 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:20:12 +00:00
pinkerton%netscape.com
79b39f86c9 pro4 changes.
git-svn-id: svn://10.0.0.236/trunk@11374 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:20:02 +00:00
pinkerton%netscape.com
63ef7ee5c6 changes for carbon (if-def'd)
git-svn-id: svn://10.0.0.236/trunk@11373 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:19:13 +00:00
pinkerton%netscape.com
fb021adc4a changes for Get/SetDescriptorLen
git-svn-id: svn://10.0.0.236/trunk@11372 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:17:20 +00:00
pinkerton%netscape.com
42b5afb8b0 improper use of volatile.
git-svn-id: svn://10.0.0.236/trunk@11371 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:16:59 +00:00
pinkerton%netscape.com
199c229ba3 use LTextEditView instead of LTextEdit
git-svn-id: svn://10.0.0.236/trunk@11370 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:16:40 +00:00
pinkerton%netscape.com
7abff9be9b Pro4 changes.
git-svn-id: svn://10.0.0.236/trunk@11369 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:16:24 +00:00
pinkerton%netscape.com
49373d9d48 fix link problems on mac.
git-svn-id: svn://10.0.0.236/trunk@11368 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:16:06 +00:00
pinkerton%netscape.com
e2a44faaf3 pull in relevant headers instead of defining things here.
git-svn-id: svn://10.0.0.236/trunk@11367 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:15:46 +00:00
pinkerton%netscape.com
700737ffbe make sure we pull in relevant headers.
git-svn-id: svn://10.0.0.236/trunk@11366 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:15:30 +00:00
pinkerton%netscape.com
3a0fba66de new export file for pro4.
git-svn-id: svn://10.0.0.236/trunk@11365 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:14:28 +00:00
pinkerton%netscape.com
214e438015 No longer pull imagelib off a branch. Generate CarbonLib wrapper project. Use Client.mcp for stubs instead of Navigator (which is obsolete).
git-svn-id: svn://10.0.0.236/trunk@11364 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:13:57 +00:00
pinkerton%netscape.com
c93817715c Make CarbonLib wrapper and use Client.mcp for stubs.
git-svn-id: svn://10.0.0.236/trunk@11363 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:12:49 +00:00
pinkerton%netscape.com
870556b705 Pro4 mods (casts).
git-svn-id: svn://10.0.0.236/trunk@11362 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:11:45 +00:00
pinkerton%netscape.com
2b2c1d0f7c Pro4 and Carbon mods. MacFE only.
git-svn-id: svn://10.0.0.236/trunk@11361 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:11:24 +00:00
pinkerton%netscape.com
c60a24416a Updated projects for Pro4. Turned off mod-date caching for depend builds. Using InterfacesStubs wrapper where appropriate for Carbon.
git-svn-id: svn://10.0.0.236/trunk@11359 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 17:11:00 +00:00
rods%netscape.com
8dc2b2c491 Additional signature changes for XPCOM
git-svn-id: svn://10.0.0.236/trunk@11358 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 16:32:04 +00:00
kipp%netscape.com
5d8504ddc6 Fixed nbsp bug on some win95 systems - it turns out the nbsp wasn't being mapped to space in a few of the compression cases (doh!)
git-svn-id: svn://10.0.0.236/trunk@11357 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 16:24:32 +00:00
rods%netscape.com
4f1f66b39a Changed all the signatures to NS_IMETHOD and NS_METHOD
git-svn-id: svn://10.0.0.236/trunk@11356 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 16:12:15 +00:00
rods%netscape.com
cf6fad9414 Added new interfaces
git-svn-id: svn://10.0.0.236/trunk@11355 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 15:32:04 +00:00
pierre%netscape.com
1e3bd4d855 fixed previous checkin
git-svn-id: svn://10.0.0.236/trunk@11354 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 15:26:03 +00:00
dcone%netscape.com
628c7c4c53 added new files from the xpviewer.
git-svn-id: svn://10.0.0.236/trunk@11353 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 15:16:57 +00:00
pierre%netscape.com
864086668f added nsIToolbarItem.h
git-svn-id: svn://10.0.0.236/trunk@11352 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 15:04:19 +00:00
rods%netscape.com
0127f5a5b8 Fixed the menubars are added to an nsWindow
Fixed last item layout for toolbars


git-svn-id: svn://10.0.0.236/trunk@11351 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 15:01:07 +00:00
cyeh%netscape.com
2834447c49 Removed missing file from the project.
git-svn-id: svn://10.0.0.236/trunk@11350 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 15:00:58 +00:00
wtc%netscape.com
1184dba161 Fixed Linux pthreads build breakage. Define _PR_POLL_AVAILABLE on
glibc systems.


git-svn-id: svn://10.0.0.236/trunk@11349 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 14:28:25 +00:00
rods%netscape.com
09621339cd Changed the menu code to use HMENUs instead of casted HWNDs
git-svn-id: svn://10.0.0.236/trunk@11348 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 14:15:32 +00:00
ramiro%netscape.com
4769f4ed9f Add #ifdef EDITOR around usage of edt_ForceTableSelection() which is only
defined if EDITOR is true.  Fixes the autoconf and MOZ_LITE builds.


git-svn-id: svn://10.0.0.236/trunk@11346 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 09:41:19 +00:00
shaver%netscape.com
0f25c0e2fd fix accidental non-OJI build breakage
git-svn-id: svn://10.0.0.236/trunk@11345 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 09:19:45 +00:00
shaver%netscape.com
6d9d3c85c4 track DOM Makefile changes
git-svn-id: svn://10.0.0.236/trunk@11344 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 09:15:05 +00:00
mcafee%netscape.com
3f145d3dcc Warning segfault possibility with XP_ASSERT(0). (bugzilla:349)
git-svn-id: svn://10.0.0.236/trunk@11341 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 07:28:50 +00:00
mcafee%netscape.com
7faca11f33 Woops backing out that last change.
git-svn-id: svn://10.0.0.236/trunk@11339 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 07:17:23 +00:00
mcafee%netscape.com
1c0aacd028 DU4.0 doesn't like casting to int and then enum. (Bugzilla:334)
git-svn-id: svn://10.0.0.236/trunk@11338 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 07:15:27 +00:00
cmanske%netscape.com
769534c943 Added question mark to save file prompt
git-svn-id: svn://10.0.0.236/trunk@11337 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 07:12:13 +00:00
mcafee%netscape.com
d6c1880df0 Cast needed for DU4.0 (Bugzilla:325)
git-svn-id: svn://10.0.0.236/trunk@11336 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 07:11:22 +00:00
mcafee%netscape.com
415902bd10 Cast needed for DU4.0 (Bugzilla:324)
git-svn-id: svn://10.0.0.236/trunk@11335 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 07:08:35 +00:00
mcafee%netscape.com
4e2d3181a2 Cast needed for DU4.0 (Bugzilla:323)
git-svn-id: svn://10.0.0.236/trunk@11334 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 07:05:31 +00:00
mcafee%netscape.com
3039b56681 Cast needed for DU4.0 (Bugzilla:322)
git-svn-id: svn://10.0.0.236/trunk@11333 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 07:02:39 +00:00
mcafee%netscape.com
2a85878803 Cast needed for DU4.0 (Bugzilla:320)
git-svn-id: svn://10.0.0.236/trunk@11332 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 06:58:21 +00:00
mcafee%netscape.com
bab7cabdaf Cast needed for DU4.0 (Bugzilla:319)
git-svn-id: svn://10.0.0.236/trunk@11331 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 06:55:47 +00:00
mcafee%netscape.com
d1cae73c52 Cast needed for DU4.0 (Bugzilla:318)
git-svn-id: svn://10.0.0.236/trunk@11330 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 06:43:05 +00:00
mcafee%netscape.com
5ca1634a4f Cast needed for DU4.0 (Bugzilla:316)
git-svn-id: svn://10.0.0.236/trunk@11329 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 06:37:03 +00:00
mcafee%netscape.com
3bd5da255c Cast needed for DU4.0 (Bugzilla:312)
git-svn-id: svn://10.0.0.236/trunk@11328 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 06:33:42 +00:00
briano%netscape.com
c0ed029036 Cleaned it up and made it work all platforms, not just the ones that support shared libs.
git-svn-id: svn://10.0.0.236/trunk@11327 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 06:30:14 +00:00
chuckb%netscape.com
f9133c97e8 added readme for 9.28
git-svn-id: svn://10.0.0.236/trunk@11324 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 05:33:50 +00:00
cmanske%netscape.com
9feb48edf3 Fixed Delete command inactive when it should be active
git-svn-id: svn://10.0.0.236/trunk@11323 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 05:26:13 +00:00
chuckb%netscape.com
603b4013e3 Java LDAP SDK 3.5 update
git-svn-id: svn://10.0.0.236/trunk@11322 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 05:16:18 +00:00
cmanske%netscape.com
eb0d2daa7e Fixed bug 123391
git-svn-id: svn://10.0.0.236/trunk@11321 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 05:10:58 +00:00
troy%netscape.com
a5e3d80369 Added back in support for absolutely positioned frames
git-svn-id: svn://10.0.0.236/trunk@11320 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 04:47:59 +00:00
mcafee%netscape.com
e8b72d2289 Missing slash, fixes Linux autoconf breakage. Thanks to <smorrison@gte.com>.
git-svn-id: svn://10.0.0.236/trunk@11319 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 04:36:29 +00:00
cmanske%netscape.com
acd3c39d6b Trying to fix Linux build problems
git-svn-id: svn://10.0.0.236/trunk@11318 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 04:12:14 +00:00
kipp%netscape.com
6b67547955 Changed factory method to parameterize the shrink wrapping behavior
git-svn-id: svn://10.0.0.236/trunk@11317 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 03:44:25 +00:00
cmanske%netscape.com
463bba0b61 Trying to appease fussy UNIX compiler
git-svn-id: svn://10.0.0.236/trunk@11316 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 02:42:30 +00:00
pierre%netscape.com
6ae061e2aa make aliases of broken-image and throbber gifs
git-svn-id: svn://10.0.0.236/trunk@11315 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 02:31:12 +00:00
troy%netscape.com
3847b443ca Fixed some bustage I introduced with the factoring
git-svn-id: svn://10.0.0.236/trunk@11314 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 02:18:09 +00:00
rods%netscape.com
ee09a7ae7a Added more casts to HMENU
git-svn-id: svn://10.0.0.236/trunk@11313 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 02:01:31 +00:00
cmanske%netscape.com
982a1ee908 Trying to fix build problem in Linux
git-svn-id: svn://10.0.0.236/trunk@11312 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 01:36:51 +00:00
rods%netscape.com
30de4ae748 Added NetService to SetupRegistry & made some other changes
git-svn-id: svn://10.0.0.236/trunk@11311 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 01:34:50 +00:00
rods%netscape.com
34fcb9def9 fixed menu casting problem.
git-svn-id: svn://10.0.0.236/trunk@11310 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 01:23:40 +00:00
kostello%netscape.com
7b2f4c649c Synch with Rod's changes to nsIWidget
git-svn-id: svn://10.0.0.236/trunk@11309 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 00:58:32 +00:00
kostello%netscape.com
478b06a76b Synch with Rod's new nsIWidget changes
git-svn-id: svn://10.0.0.236/trunk@11308 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 00:55:17 +00:00
shaver%netscape.com
f189c3d804 the perignon stuff can handle pseudoclasses like a real man, so pass them on
git-svn-id: svn://10.0.0.236/trunk@11307 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 00:40:52 +00:00
norris%netscape.com
6e8507905e Fix bug 325937.
Reviewed by brendan.


git-svn-id: svn://10.0.0.236/trunk@11306 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 00:31:47 +00:00
nisheeth%netscape.com
0d5766018c Defensive programming to avoid crashing on a NULL lo_image added to lo_ImageObserver(). Thanks a lot to ben@algroup.co.uk for reporting this problem and providing a partial fix.
git-svn-id: svn://10.0.0.236/trunk@11305 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 00:24:15 +00:00
pierre%netscape.com
1cc0f19cb7 fix drawing over other apps' windows
git-svn-id: svn://10.0.0.236/trunk@11304 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 00:20:50 +00:00
rods%netscape.com
31701a1151 Added the nsIToolbarItem interface and an additional init member to the interface and class
git-svn-id: svn://10.0.0.236/trunk@11303 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 00:12:09 +00:00
cmanske%netscape.com
d4143501ca Fixed problem with displaying borders in Navigator when we shouldn't
git-svn-id: svn://10.0.0.236/trunk@11302 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 00:02:29 +00:00
shaver%netscape.com
f5b3e91eb2 Wire up Perignon stuff #if DOM.
Remove some unused variables.


git-svn-id: svn://10.0.0.236/trunk@11301 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 23:39:17 +00:00
kipp%netscape.com
3d22089622 nuked
git-svn-id: svn://10.0.0.236/trunk@11300 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 23:32:03 +00:00
pierre%netscape.com
f2f80c5973 fixed crash due to missing {} after if() statement
git-svn-id: svn://10.0.0.236/trunk@11299 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 23:30:17 +00:00
troy%netscape.com
90bec832fd Partially enabled support for absolutely positioned elements
git-svn-id: svn://10.0.0.236/trunk@11298 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 23:24:37 +00:00
buster%netscape.com
59dc161081 minor cleanup, removed references to obsolete table content factory methods.
git-svn-id: svn://10.0.0.236/trunk@11297 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 23:16:39 +00:00
radha%netscape.com
e25e2b0762 Change thei default URL for the htmlpane
git-svn-id: svn://10.0.0.236/trunk@11296 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 23:15:24 +00:00
radha%netscape.com
d6a879b766 Toolbar properties hooked up to RDF. Toolbars get their tooltips from the new
tooltip api


git-svn-id: svn://10.0.0.236/trunk@11295 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 23:14:30 +00:00
radha%netscape.com
2ff37a6646 Really make the selector bar buttons work, so that people outside xfe can use
RDF bookmarks etc....
The images don't show up on the selector bar buttons
for some reason. Shall fix it later.


git-svn-id: svn://10.0.0.236/trunk@11294 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 23:11:12 +00:00
cmanske%netscape.com
e9897123d3 Fixed problem with font list
git-svn-id: svn://10.0.0.236/trunk@11293 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 23:07:42 +00:00
rods%netscape.com
d022499d52 Made changes to get it to come up
git-svn-id: svn://10.0.0.236/trunk@11292 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 23:02:09 +00:00
beard%netscape.com
b4c96d5b82 Moved LiveConnect initialization calls to end of lm_ReallyInitMocha, so that the rest of libmocha will be initialized properly.
git-svn-id: svn://10.0.0.236/trunk@11291 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 22:59:08 +00:00
cmanske%netscape.com
7b44c1ed64 Fixed lots and lots of Composer bugs. Implemented more feedback for mouse-over cursors
git-svn-id: svn://10.0.0.236/trunk@11290 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 22:51:56 +00:00
shaver%netscape.com
af556e9173 - Update Unix make goo to handle our new MOZILLA_CLIENT dependencies.
- Added TODO and STYLE_NOTES
- Added style data to DOM_Element
- Added GetCleanEntryData convenience function
- Added internal dom_SetElementAttribute with optional suppressing of callback
  invocation
- Added style init code
- Style support (everything)
- Fix text initialization thinko


git-svn-id: svn://10.0.0.236/trunk@11289 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 22:51:50 +00:00
cmanske%netscape.com
9ec704b72f Fixed lots of Composer bugs. Implemented delete/copy accross table cell boundaries
git-svn-id: svn://10.0.0.236/trunk@11288 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 22:51:10 +00:00
cmanske%netscape.com
5e503390a1 Added strings and error define for feedback when deleting across table boundary. Added new function prototypes
git-svn-id: svn://10.0.0.236/trunk@11287 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 22:48:43 +00:00
rods%netscape.com
612a7e66b8 Added interfaces
git-svn-id: svn://10.0.0.236/trunk@11286 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 22:37:16 +00:00
pinkerton%netscape.com
6a930c6a40 better fix for iterator problem.
git-svn-id: svn://10.0.0.236/trunk@11285 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 22:34:44 +00:00
pinkerton%netscape.com
2fc9e622cf Fix mac build bustage. Variables declared in the init section of a loop are not valid beyond the scope of the loop (regardless of what VC++ says).
git-svn-id: svn://10.0.0.236/trunk@11284 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 22:33:47 +00:00
rods%netscape.com
e8f77bc7cd XPCOM'ed most methods and added a couple of methods to BaseWidget
and added a lot of files


git-svn-id: svn://10.0.0.236/trunk@11283 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 22:32:48 +00:00
mccabe%netscape.com
b99526dfbb Initial checkin of PerlConnect, migrated from the private tree.
Perlconnect is a set of facilities for controlling and interacting
with a perl interpreter from javascript, and vice versa.  It supplies
several mechanisms for transparently reflecting perl scalars, hashes
and arrays as the corresponding types in javascript.

Currently maintained by Vladimir Livshits, val4@cornell.edu


git-svn-id: svn://10.0.0.236/trunk@11282 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 22:05:39 +00:00
cyeh%netscape.com
590829240e don't dist missing header
git-svn-id: svn://10.0.0.236/trunk@11281 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 21:53:14 +00:00
terry%netscape.com
9cc6947214 Akkana now owns Composer.
git-svn-id: svn://10.0.0.236/trunk@11280 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 21:53:08 +00:00
kipp%netscape.com
6e006d63ea Added FIELDSET and LEGEND preliminary support
git-svn-id: svn://10.0.0.236/trunk@11279 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 21:52:10 +00:00
hyatt%netscape.com
1ebd6fd1be Fixing a bug in the SHACK widget.
git-svn-id: svn://10.0.0.236/trunk@11278 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 21:43:34 +00:00
cmanske%netscape.com
153828e990 New function supplied by ftang for Composer checking of bad charsets when loading a page
git-svn-id: svn://10.0.0.236/trunk@11277 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 21:36:23 +00:00
jsun%netscape.com
0ae5282505 Renamed some classes from Julian.* to nsCal.* .
git-svn-id: svn://10.0.0.236/trunk@11276 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 21:35:33 +00:00
slamm%netscape.com
20210efbde Fix spelling errors.
git-svn-id: svn://10.0.0.236/trunk@11275 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 21:34:56 +00:00
karnaze%netscape.com
0c85a290ef bugs 642, 643; also removed unused files.
git-svn-id: svn://10.0.0.236/trunk@11274 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 21:32:24 +00:00
kostello%netscape.com
141b2ee43d Fix bug 658.
Needed to update to nsXIFDTD to match new nsSkippedContentToken API


git-svn-id: svn://10.0.0.236/trunk@11273 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 21:25:22 +00:00
ramiro%netscape.com
0c4c83e60e Add ClientData.[ch].
git-svn-id: svn://10.0.0.236/trunk@11272 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 21:22:45 +00:00
vidur%netscape.com
91958a5028 Fixed image.src=. Forwarded AttributeChanged notifications from nsPlaceholderFrame to its anchored item. Got rid of redundant calls to AttributeChanged.
git-svn-id: svn://10.0.0.236/trunk@11271 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 21:22:31 +00:00
dcone%netscape.com
2e34d13dbf Fixed the growing part of the window, setorigin was messing us up.
git-svn-id: svn://10.0.0.236/trunk@11270 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 21:08:09 +00:00
akkana%netscape.com
84d23710e9 Hope this syntax might make Linux and Solaris happier
git-svn-id: svn://10.0.0.236/trunk@11269 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 21:01:21 +00:00
cyeh%netscape.com
59c5e14f3a remove old MOCHA #ifdefs
git-svn-id: svn://10.0.0.236/trunk@11268 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 20:53:23 +00:00
jsun%netscape.com
9d40b2d0da Renamed files with Julian to nsCal.
git-svn-id: svn://10.0.0.236/trunk@11267 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 20:49:51 +00:00
cyeh%netscape.com
65c201a259 removing old NSPR20 #ifdefs
git-svn-id: svn://10.0.0.236/trunk@11266 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 20:49:33 +00:00
valeski%netscape.com
62f772cb7b Raptor only. Fix crasher.
git-svn-id: svn://10.0.0.236/trunk@11265 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 20:47:49 +00:00
jsun%netscape.com
4cde933916 Renamed classes with Julian.* in front to nsCal.*.
git-svn-id: svn://10.0.0.236/trunk@11264 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 20:47:07 +00:00
jsun%netscape.com
d9b95f11c1 Renamed several classes that had Julian in front.
Changed them to nsCal.
i.e. Julian_Duration -> nsCalDuration.
     JulianRecurrenceID -> nsCalRecurrenceID.


git-svn-id: svn://10.0.0.236/trunk@11263 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 20:46:22 +00:00
cyeh%netscape.com
46c981f3a0 remove old NSPR20 #ifdefs
git-svn-id: svn://10.0.0.236/trunk@11262 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 20:45:35 +00:00
gagan%netscape.com
89c84ffbf6 Prefs changes.
git-svn-id: svn://10.0.0.236/trunk@11261 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 20:42:58 +00:00
cyeh%netscape.com
a8429e9374 removing old NSPR20 #ifdefs
git-svn-id: svn://10.0.0.236/trunk@11260 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 20:42:14 +00:00
buster%netscape.com
1c6e6e88a1 fixed bug 915. Colgroup frames now get Init() calls properly with
synthesized COLs.


git-svn-id: svn://10.0.0.236/trunk@11259 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 20:38:10 +00:00
cyeh%netscape.com
5b7e92b84d removing old NSPR20 #ifdef
git-svn-id: svn://10.0.0.236/trunk@11258 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 20:38:02 +00:00
kostello%netscape.com
aa8449482e raptor checkin, took out the asserts for reading in a file, just so the viewer will work correctly. While fix this soon.
git-svn-id: svn://10.0.0.236/trunk@11255 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 20:34:30 +00:00
gagan%netscape.com
b73b3d94c1 Assertion added.
git-svn-id: svn://10.0.0.236/trunk@11254 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 20:34:28 +00:00
gagan%netscape.com
7bdf6e2c14 Cache Prefs changes. All cache prefs are now read directly by NuCache.
git-svn-id: svn://10.0.0.236/trunk@11253 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 20:32:40 +00:00
kostello%netscape.com
b78ff88d4e updated the OJI build info
git-svn-id: svn://10.0.0.236/trunk@11252 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 20:31:11 +00:00
gagan%netscape.com
1d780b327d Prefs changes. All cache preferences are now read directly by NuCache.
git-svn-id: svn://10.0.0.236/trunk@11251 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 20:30:54 +00:00
cyeh%netscape.com
5f807008d6 removing old NSPR20 and MOCHA #ifdefs
git-svn-id: svn://10.0.0.236/trunk@11250 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 20:26:20 +00:00
cyeh%netscape.com
0c0e7341ef remove old NSPR20 #ifdefs
git-svn-id: svn://10.0.0.236/trunk@11249 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 20:22:36 +00:00
cyeh%netscape.com
12f69944f4 remove old #ifdefs
git-svn-id: svn://10.0.0.236/trunk@11248 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 20:20:42 +00:00
wtc%netscape.com
49d1c3d821 Make 'gmake depend' do a 'gmake clean' temporarily, because I am
going to check in a change to the header file _linux.h and NSPR
makefiles don't implement 'gmake depend'.  I must force the
Tinderbox 'gmake depend' continuous builds to rebuild the files
after the header file change.  I really hate to do this hack but...


git-svn-id: svn://10.0.0.236/trunk@11247 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 20:19:41 +00:00
cyeh%netscape.com
fd70b163fa remove old NSPR20 #ifdef
git-svn-id: svn://10.0.0.236/trunk@11246 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 20:19:24 +00:00
cyeh%netscape.com
30fe8ba751 removing old NSPR20 #ifdefs
git-svn-id: svn://10.0.0.236/trunk@11245 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 20:17:44 +00:00
cyeh%netscape.com
f4402032d4 removing old NSPR20 #ifdef
git-svn-id: svn://10.0.0.236/trunk@11244 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 20:13:36 +00:00
wtc%netscape.com
e372290bb4 Fixed DG/UX build problems in NSPR20 v3.0 beta. The patch is
contributed by Marc J. Fraioli (fraioli@dg-rtp.dg.com).


git-svn-id: svn://10.0.0.236/trunk@11243 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 20:13:23 +00:00
ramiro%netscape.com
419e35b066 Add TIS-620 charset support. Thanks to Samphan Raruenrom <samphan@thai.com>
for providing the patch.


git-svn-id: svn://10.0.0.236/trunk@11242 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 20:09:23 +00:00
cyeh%netscape.com
cc400964fa remove old NSPR20 #ifdef
git-svn-id: svn://10.0.0.236/trunk@11241 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 20:08:32 +00:00
ramiro%netscape.com
599c292c94 Fix bugzilla bug 885. Compiler warning. Thanks to raff@netwinder.org for
pointing this out and providing a fix.


git-svn-id: svn://10.0.0.236/trunk@11240 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 19:57:27 +00:00
cyeh%netscape.com
377c0b4ee8 removing old NSPR20 and MOCHA #ifdefs. Sorry for the rebuild.
git-svn-id: svn://10.0.0.236/trunk@11239 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 19:56:38 +00:00
despotdaemon%netscape.com
db076dcb00 Pseudo-automatic update of changes made by shaver@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@11238 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 19:51:46 +00:00
ramiro%netscape.com
40727f404b Use new tool tip api.
git-svn-id: svn://10.0.0.236/trunk@11237 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 19:42:46 +00:00
ramiro%netscape.com
0ad7be3cb8 Update for doc string callbacks.
git-svn-id: svn://10.0.0.236/trunk@11236 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 19:41:30 +00:00
ramiro%netscape.com
ec4bfbef44 Use the client data manager.
git-svn-id: svn://10.0.0.236/trunk@11234 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 19:39:44 +00:00
ramiro%netscape.com
6a564862be Add XfeToolTipShellSetString().
git-svn-id: svn://10.0.0.236/trunk@11233 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 19:38:57 +00:00
ramiro%netscape.com
039e0051cf Make sure child is centered.
git-svn-id: svn://10.0.0.236/trunk@11232 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 19:37:55 +00:00
kin%netscape.com
bc52ba4678 mozilla/cmd/xfe/resources
mozilla/cmd/xfe/src/EmbeddedEditor.cpp
mozilla/cmd/xfe/src/ComposeView.cpp
  - Modifications to get the insert menu (editorGoodiesMenu), on the embedded
    editor and compose view toolbar, to display text instead of icons.


git-svn-id: svn://10.0.0.236/trunk@11231 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 19:31:25 +00:00
ftang%netscape.com
e01b6671a1 fix cannot convert cases
git-svn-id: svn://10.0.0.236/trunk@11230 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 19:24:13 +00:00
ftang%netscape.com
bc29f82bbb move 4.5 fix into mozilla
git-svn-id: svn://10.0.0.236/trunk@11229 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 19:23:21 +00:00
ramiro%netscape.com
06749a4471 Comment out debug printfs.
git-svn-id: svn://10.0.0.236/trunk@11228 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 19:09:28 +00:00
akkana%netscape.com
3dc6f3ec61 Lotsa minor bug fixes
git-svn-id: svn://10.0.0.236/trunk@11227 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 19:09:26 +00:00
ramiro%netscape.com
74ca811e83 Add client data manager.
git-svn-id: svn://10.0.0.236/trunk@11226 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 19:08:46 +00:00
akkana%netscape.com
a11d6d1880 Eliminate a bunch of warnings
git-svn-id: svn://10.0.0.236/trunk@11225 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 19:06:17 +00:00
kipp%netscape.com
42adeed6a7 Get max-element-size from inline-reflow state and pass it upwards
git-svn-id: svn://10.0.0.236/trunk@11224 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 18:57:28 +00:00
kipp%netscape.com
d7fce242a3 Only set margins if auto/undefined margins are present
git-svn-id: svn://10.0.0.236/trunk@11223 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 18:51:23 +00:00
kipp%netscape.com
6635abfd9a Cleaned up and repaired floater placement and spacemanager manipulation; the comments clearly (hopefully!) state whats going on...
git-svn-id: svn://10.0.0.236/trunk@11222 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 18:50:59 +00:00
kipp%netscape.com
9d96689b75 Setup spacemanager translation correctly
git-svn-id: svn://10.0.0.236/trunk@11221 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 18:50:06 +00:00
rods%netscape.com
26b0390922 Initial checkin
git-svn-id: svn://10.0.0.236/trunk@11220 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 18:02:21 +00:00
dcone%netscape.com
b519e7590e fixed a validrect problem needed for doublebuffer.
Cant call validrect in grow when doublebuffering.  Dont know why yet


git-svn-id: svn://10.0.0.236/trunk@11219 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 17:03:49 +00:00
dcone%netscape.com
bef7dd501e fixed double buffer stuff
git-svn-id: svn://10.0.0.236/trunk@11218 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 17:02:32 +00:00
dcone%netscape.com
49228fb0af fixed some double buffer things
git-svn-id: svn://10.0.0.236/trunk@11217 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 17:02:08 +00:00
rods%netscape.com
0dbf7155a8 Initial Checkin
git-svn-id: svn://10.0.0.236/trunk@11216 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 16:58:20 +00:00
rods%netscape.com
26bdcd45be Initial checkin
git-svn-id: svn://10.0.0.236/trunk@11215 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 16:57:48 +00:00
rods%netscape.com
7e647ddb9d Inial Checkin
git-svn-id: svn://10.0.0.236/trunk@11214 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 16:51:39 +00:00
rods%netscape.com
cd356bc27e Initial checkin
git-svn-id: svn://10.0.0.236/trunk@11213 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 16:32:12 +00:00
ramiro%netscape.com
6d8c13b75d Fix the realization problem so that tooltips can be added at any time whether
a widget, or gadget's parent are realized or not.


git-svn-id: svn://10.0.0.236/trunk@11212 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 11:03:11 +00:00
ramiro%netscape.com
34a324a827 Fix removal of info at item destruction. Fix positioning.
git-svn-id: svn://10.0.0.236/trunk@11211 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 08:11:25 +00:00
mcafee%netscape.com
2650c8148d Fixing more link errors.
git-svn-id: svn://10.0.0.236/trunk@11208 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 07:24:15 +00:00
mcafee%netscape.com
add9d08e27 Added Rhapsody to the long list of OS's that can't handle localtime_r().
git-svn-id: svn://10.0.0.236/trunk@11207 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 07:12:12 +00:00
mcafee%netscape.com
840850d6af Print out not-implemented warnings.
git-svn-id: svn://10.0.0.236/trunk@11206 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 07:06:46 +00:00
mcafee%netscape.com
a772f805cd closer..
git-svn-id: svn://10.0.0.236/trunk@11205 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 07:02:14 +00:00
mcafee%netscape.com
504061f9f5 First real link attempt
git-svn-id: svn://10.0.0.236/trunk@11204 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 06:54:37 +00:00
mcafee%netscape.com
0f4bd530c5 Rhapsody is having trouble linking this with the C++ compiler, linking with cc for now.
git-svn-id: svn://10.0.0.236/trunk@11203 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 06:01:12 +00:00
mcafee%netscape.com
355e72d632 Removing empty export: rule, minor whitespace-tab stuff.
git-svn-id: svn://10.0.0.236/trunk@11202 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 05:42:46 +00:00
mcafee%netscape.com
999f279f03 Removed two local rules, instead relying on global rules in config/rules.mk.
git-svn-id: svn://10.0.0.236/trunk@11201 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 05:37:23 +00:00
mcafee%netscape.com
5e0a3061d0 Missing slash
git-svn-id: svn://10.0.0.236/trunk@11200 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 01:41:50 +00:00
michaelp%netscape.com
529844045a removed libmsgc21.so from link list.
git-svn-id: svn://10.0.0.236/trunk@11199 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 00:28:17 +00:00
michaelp%netscape.com
332e700598 fixes unix build.
git-svn-id: svn://10.0.0.236/trunk@11198 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-27 23:59:42 +00:00
michaelp%netscape.com
345cf022f8 fix build bustage...
git-svn-id: svn://10.0.0.236/trunk@11197 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-27 23:49:21 +00:00
michaelp%netscape.com
2ace49bea4 fixes for unix bustage.
git-svn-id: svn://10.0.0.236/trunk@11196 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-27 23:44:28 +00:00
michaelp%netscape.com
0e5e64e79d hopefully will fix unix builds.
git-svn-id: svn://10.0.0.236/trunk@11195 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-27 23:30:56 +00:00
michaelp%netscape.com
a285a5c984 changes for new nsiplugininstanceowner.
git-svn-id: svn://10.0.0.236/trunk@11194 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-27 22:46:41 +00:00
michaelp%netscape.com
3d73ad1a59 object tag no longer processes it's children (i put troy's change from thursday
in a comment until the parser is sorted out).


git-svn-id: svn://10.0.0.236/trunk@11193 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-27 22:44:26 +00:00
michaelp%netscape.com
96fd8bbebe massive changes to support java plugins.
git-svn-id: svn://10.0.0.236/trunk@11192 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-27 22:42:48 +00:00
michaelp%netscape.com
6201c85ae3 added "param" atom.
git-svn-id: svn://10.0.0.236/trunk@11191 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-27 22:41:01 +00:00
michaelp%netscape.com
54869d3fb6 now reflects our dependence on OJI.
git-svn-id: svn://10.0.0.236/trunk@11190 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-27 22:40:10 +00:00
michaelp%netscape.com
00f8d8614f now supports direct draw using MSVC 5.0.
git-svn-id: svn://10.0.0.236/trunk@11189 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-27 22:35:54 +00:00
michaelp%netscape.com
5a27630275 obsolete.
git-svn-id: svn://10.0.0.236/trunk@11188 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-27 22:25:13 +00:00
michaelp%netscape.com
7c26bd90f5 added support for plugintaginfo2 and jvmtaginfo.
git-svn-id: svn://10.0.0.236/trunk@11187 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-27 22:24:54 +00:00
michaelp%netscape.com
d62a69de3c added support for pluginmanager2 methods.
git-svn-id: svn://10.0.0.236/trunk@11186 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-27 22:23:19 +00:00
michaelp%netscape.com
8674ae2b1c cleanup. now supports stream "as file" and "as file only." added support
for pluginmanager2 methods (largely stubs). now correctly handles URLNotify().
we noew report our user agent as 5.0. can now load 5.0 style plugins from DLLs
and instantiate them properly.


git-svn-id: svn://10.0.0.236/trunk@11185 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-27 22:21:39 +00:00
michaelp%netscape.com
54cd9ac8db removed attribute queries. added ShowStatus().
git-svn-id: svn://10.0.0.236/trunk@11184 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-27 22:17:00 +00:00
michaelp%netscape.com
2a0fe8f7ae we no longer consider failures from GetAttributes() or even expect the
plugin host to implement it.


git-svn-id: svn://10.0.0.236/trunk@11183 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-27 22:16:00 +00:00
michaelp%netscape.com
ff63394ad3 now properly handles queries for nsIFactory.
git-svn-id: svn://10.0.0.236/trunk@11182 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-27 22:14:15 +00:00
michaelp%netscape.com
f96f246d76 now reflect our dependency on OJI.
git-svn-id: svn://10.0.0.236/trunk@11181 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-27 22:12:59 +00:00
michaelp%netscape.com
3a2c5dab40 changes to support using OJI with raptor.
git-svn-id: svn://10.0.0.236/trunk@11180 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-27 22:11:12 +00:00
michaelp%netscape.com
5c7f29b898 now pulls modules/oji.
git-svn-id: svn://10.0.0.236/trunk@11179 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-27 22:09:41 +00:00
raman%netscape.com
0f3ebfecae Backing my last checkin
git-svn-id: svn://10.0.0.236/trunk@11174 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-27 03:15:11 +00:00
cls%seawood.org
a09bfd72e1 Added realclean target.
git-svn-id: svn://10.0.0.236/trunk@11173 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-27 01:30:07 +00:00
raman%netscape.com
2f8770d562 Fixed the memory leaks during startup
git-svn-id: svn://10.0.0.236/trunk@11172 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-27 01:22:41 +00:00
raman%netscape.com
e7290b1b56 exit gracefully if gNavCenter is NULL
git-svn-id: svn://10.0.0.236/trunk@11171 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-27 01:22:03 +00:00
cls%seawood.org
5b3d19ee63 Makes nsinstall not return an error if an intermediate directory already exists.
git-svn-id: svn://10.0.0.236/trunk@11169 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-27 00:02:21 +00:00
pinkerton%netscape.com
931ec67fb2 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@11168 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 23:14:53 +00:00
kipp%netscape.com
982b9a6b49 Fixed mac/unix build problem
git-svn-id: svn://10.0.0.236/trunk@11167 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 22:48:52 +00:00
pinkerton%netscape.com
7cd9153865 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@11166 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 22:25:10 +00:00
morse%netscape.com
eef70acbcd fix bug 325820
git-svn-id: svn://10.0.0.236/trunk@11165 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 21:46:15 +00:00
kipp%netscape.com
e5172e64c4 Fixed up list ordinal handling so that negatives don't work for roman numerals or for alphabetics, and that alphabetics count properly (a==1); this fixes bugzilla bug#589
git-svn-id: svn://10.0.0.236/trunk@11164 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 20:05:09 +00:00
kipp%netscape.com
6bec50c9d7 Added callback to image loading api
git-svn-id: svn://10.0.0.236/trunk@11163 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 18:36:59 +00:00
kipp%netscape.com
082fcd1838 use image-loader call back to trigger bullet frame reflows
git-svn-id: svn://10.0.0.236/trunk@11162 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 18:36:01 +00:00
kipp%netscape.com
1bf34c11eb Use callback to trigger frame reflows instead of hardwiring in a content-changed reflow
git-svn-id: svn://10.0.0.236/trunk@11161 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 18:35:21 +00:00
kipp%netscape.com
98c2ef3acc Dump client-data too
git-svn-id: svn://10.0.0.236/trunk@11160 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 17:39:54 +00:00
kipp%netscape.com
16f9284c0e Fixed background-image rendering so that when the entire background is not covered by the image the background color can be seen
git-svn-id: svn://10.0.0.236/trunk@11159 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 17:29:10 +00:00
kipp%netscape.com
679b3025ae Use modified css rendering API
git-svn-id: svn://10.0.0.236/trunk@11158 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 17:17:20 +00:00
kipp%netscape.com
557c249643 Support a dx,dy value to adjust origin of image rendering; add in partial support for background-position property
git-svn-id: svn://10.0.0.236/trunk@11157 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 17:16:56 +00:00
kipp%netscape.com
f28e3e4139 Diable body margin for now until rendering problem with background images is resolved
git-svn-id: svn://10.0.0.236/trunk@11156 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 17:15:07 +00:00
kipp%netscape.com
128812b271 Use modified css rendering API; handle background images differently (still not quite right)
git-svn-id: svn://10.0.0.236/trunk@11155 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 17:14:35 +00:00
wtc%netscape.com
8720d10f81 Temporary fix: comment out the exit() wrapper so that at least
Mozilla client builds and runs.  We will fix the wrong exit status
bug or zombie sproc bug later (which the exit() wrapper is for).


git-svn-id: svn://10.0.0.236/trunk@11154 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 14:32:11 +00:00
briano%netscape.com
5767fea1c2 Well, it turns out that gcc 2.8.1 for QNX has problems with error status returned by exit(). Seems to work fine, otherwise. Making the native (Watcom) compiler the default again.
git-svn-id: svn://10.0.0.236/trunk@11153 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 07:57:32 +00:00
wtc%netscape.com
80b381b2fb Temporarily comment out the symbol __exit, which is not found
on all versions of IRIX.


git-svn-id: svn://10.0.0.236/trunk@11152 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 07:28:04 +00:00
cls%seawood.org
3e3af38e98 Ok this time I actually removed libmsgc21.
git-svn-id: svn://10.0.0.236/trunk@11151 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 05:31:30 +00:00
pierre%netscape.com
59e5ec855b added nsJSHTMLFieldSetElement.cpp
git-svn-id: svn://10.0.0.236/trunk@11150 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 05:14:01 +00:00
vidur%netscape.com
3fcbc9e5a5 Added nsIDOMHTMLFieldSetElement.h back into the build...
git-svn-id: svn://10.0.0.236/trunk@11149 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 04:47:34 +00:00
vidur%netscape.com
22d8cb3e59 Added nsHTMLFieldSetElement.cpp back...
git-svn-id: svn://10.0.0.236/trunk@11148 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 04:44:53 +00:00
vidur%netscape.com
c15b4671e2 New DOM file
git-svn-id: svn://10.0.0.236/trunk@11147 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 04:41:59 +00:00
vidur%netscape.com
54f0032c94 New DOM header file...
git-svn-id: svn://10.0.0.236/trunk@11146 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 04:40:46 +00:00
kipp%netscape.com
14ab08a8c0 Backed out fieldset part of build
git-svn-id: svn://10.0.0.236/trunk@11145 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 04:28:35 +00:00
briano%netscape.com
9114d55f91 All Linux variants seem to have zip and unzip in /usr/bin, so no need for the extra ifeq to restrict it to ppc.
git-svn-id: svn://10.0.0.236/trunk@11144 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 03:15:26 +00:00
pierre%netscape.com
b51636a5a6 fixing the mac raptor build: undef some of the Mozilla specific stuff
git-svn-id: svn://10.0.0.236/trunk@11143 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 02:56:36 +00:00
pierre%netscape.com
9f185f2e65 removed mozilla/lib/htmldlgs added earlier today: it was a mistake
git-svn-id: svn://10.0.0.236/trunk@11142 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 02:55:14 +00:00
cls%seawood.org
9f87c5d98a Put libi18n after libmisc and added JAVA_OR_OJI ifdef for libjsj.
git-svn-id: svn://10.0.0.236/trunk@11141 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 02:33:18 +00:00
wtc%netscape.com
6c927fbaea Removed reference to nonexisting test file.
git-svn-id: svn://10.0.0.236/trunk@11140 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 02:28:57 +00:00
wtc%netscape.com
2a8fb8402d poll() doesn't work on some Linux machines, so we go back
to using select().


git-svn-id: svn://10.0.0.236/trunk@11139 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 02:23:06 +00:00
cls%seawood.org
86a4ef438d Removed --enable-nspr. Added check for moc.
git-svn-id: svn://10.0.0.236/trunk@11138 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 02:07:08 +00:00
spider%netscape.com
cbf6d101c2 WIP: Multi-Group View
git-svn-id: svn://10.0.0.236/trunk@11137 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 01:38:23 +00:00
briano%netscape.com
aa7252df55 Minor change to the 'test' commands. QNX breaks if there isn't an else block....
git-svn-id: svn://10.0.0.236/trunk@11136 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 01:30:16 +00:00
briano%netscape.com
47c9aa9a2f Minor tweaks to support QNX 4.24.
git-svn-id: svn://10.0.0.236/trunk@11135 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 01:28:27 +00:00
pierre%netscape.com
73efd633b7 fixing mac raptor build after landing of nspr20 v3: added mozilla/lib/htmldlgs to the checkout & makedist lists
git-svn-id: svn://10.0.0.236/trunk@11134 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 01:27:26 +00:00
pierre%netscape.com
dcd143edf3 fixing the mac raptor build after the landing of nspr20 v3
git-svn-id: svn://10.0.0.236/trunk@11133 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 01:00:00 +00:00
vidur%netscape.com
d188bf56ad More leak fixes
git-svn-id: svn://10.0.0.236/trunk@11132 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 00:44:40 +00:00
kipp%netscape.com
c8d5139b8e Fixed memory leak (bug #910)
git-svn-id: svn://10.0.0.236/trunk@11131 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 00:37:26 +00:00
pierre%netscape.com
ca559d3fdb fixed Mac build: removed nsIDOMHTMLFieldSetElement.h
git-svn-id: svn://10.0.0.236/trunk@11130 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 00:12:49 +00:00
wtc%netscape.com
6682416805 Include <sys/time.h> for the definition of FD_SETSIZE.
git-svn-id: svn://10.0.0.236/trunk@11129 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 00:08:49 +00:00
vidur%netscape.com
8bc093e8e2 Fixed memory leak in style change code
git-svn-id: svn://10.0.0.236/trunk@11128 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 00:06:26 +00:00
wtc%netscape.com
4fde6a01fa Define _PR_POLL_AVAILABLE and _PR_USE_POLL only for glibc2.
git-svn-id: svn://10.0.0.236/trunk@11127 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 00:01:16 +00:00
wtc%netscape.com
5a2946eacf Include <poll.h> instead of <sys/poll.h>. Some machines don't
have <sys/poll.h>.


git-svn-id: svn://10.0.0.236/trunk@11126 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 23:54:51 +00:00
pierre%netscape.com
52393d10d5 enabled debugger for some new files (nsScrollbar etc...)
git-svn-id: svn://10.0.0.236/trunk@11125 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 23:54:30 +00:00
cyeh%netscape.com
e3ec535a8f (Actually mlm)
- Remove definition of inline which is breaking linux build


git-svn-id: svn://10.0.0.236/trunk@11124 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 23:49:30 +00:00
cyeh%netscape.com
361e97bb7a (Actually mlm)
- Fix return of NULL that should be (JSCFResult) 0


git-svn-id: svn://10.0.0.236/trunk@11123 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 23:48:51 +00:00
cyeh%netscape.com
afb6aafabc (Actually mlm)
- Remove double definition of LMWindowGroup to avoid lossage


git-svn-id: svn://10.0.0.236/trunk@11122 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 23:48:24 +00:00
kipp%netscape.com
add47d2e83 Added support for percentage base margins to the root, root-content and block frames
git-svn-id: svn://10.0.0.236/trunk@11121 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 23:47:59 +00:00
kipp%netscape.com
e3fbcae900 Added in support for border/padding/background-* properties for the HTML frame; added support for margin properties on the child of the HTML frame
git-svn-id: svn://10.0.0.236/trunk@11120 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 23:39:06 +00:00
kipp%netscape.com
8d56d6cc3c Removed scrollbar sizing from body frame
git-svn-id: svn://10.0.0.236/trunk@11119 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 23:38:30 +00:00
kipp%netscape.com
f296734c02 Added rules to properly setup HTML and BODY and FRAMESET
git-svn-id: svn://10.0.0.236/trunk@11118 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 23:38:10 +00:00
kipp%netscape.com
4908e00095 Fixed the value of the background-image property when it's not set in the composite background property
git-svn-id: svn://10.0.0.236/trunk@11117 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 23:35:55 +00:00
cls%seawood.org
d2b277a624 Moved EDITOR ifdefs as moc does not seem to be able to handle ifdef'ing out entire functions.
git-svn-id: svn://10.0.0.236/trunk@11116 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 23:30:38 +00:00
cls%seawood.org
fab0aaa2cb Removed libmsgc21 from link line. Removed old history files. Removed msg from REQUIRES.
git-svn-id: svn://10.0.0.236/trunk@11115 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 23:29:27 +00:00
cls%seawood.org
9c0f60d63a Removed libmsgc21 from link line.
git-svn-id: svn://10.0.0.236/trunk@11114 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 23:25:54 +00:00
vidur%netscape.com
894b6b95ba Added FieldSetElement interface
git-svn-id: svn://10.0.0.236/trunk@11113 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 23:23:53 +00:00
spider%netscape.com
8349810cb8 Have View look at their Model for deciding how to render
content


git-svn-id: svn://10.0.0.236/trunk@11112 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 23:13:11 +00:00
rpotts%netscape.com
950d054946 Fix build bustage of MODULAR_NETLIB...
git-svn-id: svn://10.0.0.236/trunk@11111 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 23:08:21 +00:00
kipp%netscape.com
e44efe2be7 Backed out last change since it was too aggressive
git-svn-id: svn://10.0.0.236/trunk@11109 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 22:53:48 +00:00
troy%netscape.com
8d229a5a6e Moved ContentReplaced() handler code to style system
git-svn-id: svn://10.0.0.236/trunk@11108 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 22:47:00 +00:00
jsun%netscape.com
7013cde6b8 Remove msgc from link list since not used
git-svn-id: svn://10.0.0.236/trunk@11107 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 22:33:49 +00:00
rpotts%netscape.com
effed693be Initialized the returned rect in GetBounds() even if the HWND is null. This fixed a reference to uninitialized memory...
git-svn-id: svn://10.0.0.236/trunk@11106 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 22:26:28 +00:00
rpotts%netscape.com
f7730500f8 Reworked the way that refresh URLs are handled...
git-svn-id: svn://10.0.0.236/trunk@11105 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 22:25:21 +00:00
rpotts%netscape.com
341298f9e8 Added reference counting to modular netlib Contexts...
git-svn-id: svn://10.0.0.236/trunk@11104 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 22:24:32 +00:00
rpotts%netscape.com
2f92cab9c9 Added a proxy routine for net_CallexitRoutine(...) so it would be called on the correct thread at the proper time...
git-svn-id: svn://10.0.0.236/trunk@11103 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 22:24:09 +00:00
dcone%netscape.com
a035d18976 fixed offset problems and parent heiarchy problems
git-svn-id: svn://10.0.0.236/trunk@11102 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 22:23:58 +00:00
dcone%netscape.com
a377c1f3a3 Added NS_NATIVE_OFFSETX and Y for getnativedata.
Mac needed for the renderingcontext


git-svn-id: svn://10.0.0.236/trunk@11101 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 22:22:57 +00:00
leaf%mozilla.org
998b16b969 (Actually mlm)
Branch landing: Multithreading libmocha in mozilla.

- Add new file lm_wngrp.c


git-svn-id: svn://10.0.0.236/trunk@11100 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 22:22:36 +00:00
rpotts%netscape.com
27c06f1cd0 moved the define of NETLIB_THREAD out into config/config.mak
git-svn-id: svn://10.0.0.236/trunk@11099 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 22:22:32 +00:00
rpotts%netscape.com
21686eca15 changed the call to net_CallExitRoutine to net_CallExitRoutineProxy() so that if netlib is running in its own thread, the call can be dispatched to the correct thread... IF netlib is running in the mozilla thread, net_CallExitRoutine(...) is called directly.
git-svn-id: svn://10.0.0.236/trunk@11098 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 22:21:50 +00:00
leaf%mozilla.org
28ab23b3c8 (Actually mlm)
Branch landing: Multithreading libmocha in mozilla.

- Remove lm_crippled_context from export list.


git-svn-id: svn://10.0.0.236/trunk@11097 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 22:21:40 +00:00
dcone%netscape.com
4af1230f05 Added setorigin to init and destructor
git-svn-id: svn://10.0.0.236/trunk@11096 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 22:19:54 +00:00
rpotts%netscape.com
69c68ff50f Added a reference count field to MWContext when MODULAR_NETLIB is defined. This is necessary because MWContexts are now shared by multiple threads...
git-svn-id: svn://10.0.0.236/trunk@11095 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 22:19:50 +00:00
rpotts%netscape.com
551891377c Added a define for NETLIB_THREAD when the MODULAR_NETLIB environment variable is defined
git-svn-id: svn://10.0.0.236/trunk@11094 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 22:18:43 +00:00
mlm%netscape.com
5654ab2b30 Branch landing: Multithreading libmocha in mozilla.
- Add context parameter to LM_LockJS and friends.


git-svn-id: svn://10.0.0.236/trunk@11092 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 22:12:33 +00:00
mlm%netscape.com
4e157f4183 Branch landing: Multithreading libmocha in mozilla.
- Move jscookie.h to include directory.
- Add JS_BeginRequest and JS_EndRequest for thread safety.


git-svn-id: svn://10.0.0.236/trunk@11091 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 22:11:47 +00:00
mlm%netscape.com
1b4059094b Branch landing: Multithreading in mozilla.
- Move JSCF_Execute to the mocha thread.
- Add JS_BeginRequest and JS_EndRequest for thread safety.


git-svn-id: svn://10.0.0.236/trunk@11090 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 22:10:49 +00:00
mlm%netscape.com
31361a78d0 Branch landing: Multithreading libmocha in mozilla.
- Remove reference to lm_crippled_context; add an accessor function instead.


git-svn-id: svn://10.0.0.236/trunk@11088 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 22:09:58 +00:00
mlm%netscape.com
039d692684 Branch landing: Multithreading libmocha in mozilla.
- Add cx parameter to LM_LockJS and friends.


git-svn-id: svn://10.0.0.236/trunk@11087 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 22:09:03 +00:00
mlm%netscape.com
4486571061 Branch landing: Multithreading libmocha in mozilla.
- Add JS_BeginRequest and JS_EndRequest calls
- Add context parameters to some functions


git-svn-id: svn://10.0.0.236/trunk@11086 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 22:08:28 +00:00
mlm%netscape.com
e8755f7471 Branch landing: Multithreading libmocha in mozilla.
- Add JS_BeginRequest() and JS_EndRequest() to make sure contexts don't
   stomp on each other.


git-svn-id: svn://10.0.0.236/trunk@11085 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 22:07:48 +00:00
michaelp%netscape.com
48c90e8167 New style test
git-svn-id: svn://10.0.0.236/trunk@11084 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 22:07:41 +00:00
mlm%netscape.com
3d33759927 Branch landing: Multithreading libmocha in mozilla.
- Add context parameter to LM_LockJS and friends.


git-svn-id: svn://10.0.0.236/trunk@11083 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 22:06:47 +00:00
mlm%netscape.com
8dd7bb2efd Branch landing: Multithreading in libmocha.
- Add parameters to LM_LockJS and friends.


git-svn-id: svn://10.0.0.236/trunk@11082 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 22:06:09 +00:00
mlm%netscape.com
5ae966a47b Branch landing: Multithreading libmocha in mozilla.
- New file to toss contexts into thread group lists and otherwise deal
   with multithreading data.


git-svn-id: svn://10.0.0.236/trunk@11081 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 22:05:22 +00:00
mlm%netscape.com
a7c8885a86 Branch landing: Multithreading libmocha in mozilla.
- Add multiple window groups to allow windows to execute JS on
   different threads.
- Add new context parameters to JS and libmocha functions for thread
   safety.


git-svn-id: svn://10.0.0.236/trunk@11080 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 22:04:34 +00:00
mlm%netscape.com
7d803aaedd Branch landing: Multithreading libmocha in mozilla.
- Change semantics of LM_LockJS to add context parameter.


git-svn-id: svn://10.0.0.236/trunk@11079 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 22:03:37 +00:00
mlm%netscape.com
aa0f94398c Branch landing: Multithreading libmocha in mozilla.
- Add casts to make -DJS_THREADSAFE work.


git-svn-id: svn://10.0.0.236/trunk@11078 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 22:02:47 +00:00
mlm%netscape.com
6b810bf31d Branch landing: Multithreading libmocha in mozilla.
- Add -DJS_THREADSAFE


git-svn-id: svn://10.0.0.236/trunk@11077 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 22:02:19 +00:00
mlm%netscape.com
c4e91102b0 Branch landing: Multithreading libmocha in mozilla.
- Add jscookie.h
- Move JSCF_ function to mocha thread for thread safety.
- Add functions to libevent.h to deal with multiple window groups.
- Add functions to libmocha.h to deal with multiple window groups.


git-svn-id: svn://10.0.0.236/trunk@11076 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 22:01:25 +00:00
mlm%netscape.com
8a333e014d Branch landing: Multithreading in mozilla.
- Add -DJS_THREADSAFE to builds.


git-svn-id: svn://10.0.0.236/trunk@11075 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 22:00:13 +00:00
mlm%netscape.com
9cc4047100 Branch landing: Multithreading in mozilla.
- Add -DJS_THREADSAFE and new file lm_wngrp.c.


git-svn-id: svn://10.0.0.236/trunk@11074 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 21:59:47 +00:00
toshok%netscape.com
dbf9441ea1 package is addresscard, not AddressCard
git-svn-id: svn://10.0.0.236/trunk@11073 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 21:25:57 +00:00
cyeh%netscape.com
c464bea451 removing obsolete project files
git-svn-id: svn://10.0.0.236/trunk@11072 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 21:18:14 +00:00
toshok%netscape.com
4efdbecf72 package is addresscard, not AddressCard
git-svn-id: svn://10.0.0.236/trunk@11068 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 21:14:20 +00:00
spider%netscape.com
efa1dde27d Shutdown Inet
git-svn-id: svn://10.0.0.236/trunk@11067 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 21:07:57 +00:00
spider%netscape.com
e7b9dd730e Fix for latest raptor code
git-svn-id: svn://10.0.0.236/trunk@11066 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 20:55:26 +00:00
wtc%netscape.com
4b4994d255 Removed unused macro and enum constant definitions.
git-svn-id: svn://10.0.0.236/trunk@11065 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 20:38:11 +00:00
wtc%netscape.com
c0b3e1fb5a NSPR20 v3.0 beta landing from NSPRPUB_RELEASE_3_0_LANDING_BRANCH.
git-svn-id: svn://10.0.0.236/trunk@11064 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 20:34:39 +00:00
morse%netscape.com
f34368eb6a fix up wording for single signon
git-svn-id: svn://10.0.0.236/trunk@11063 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 20:11:05 +00:00
kipp%netscape.com
08a576b7dc Hooked up width/height attributes to style changed reflow
git-svn-id: svn://10.0.0.236/trunk@11062 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 18:25:20 +00:00
kipp%netscape.com
2d8ee39707 Setup repository so that netlib will work
git-svn-id: svn://10.0.0.236/trunk@11061 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 18:18:09 +00:00
kipp%netscape.com
c1117c47db Made SkipRuleSet actually work
git-svn-id: svn://10.0.0.236/trunk@11060 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 18:17:48 +00:00
kipp%netscape.com
194d9f3a48 new
git-svn-id: svn://10.0.0.236/trunk@11059 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 18:17:07 +00:00
rogerl%netscape.com
e47ccc415b Oops, checked in a call to decompileFunctionBody which was for debugging
purposes only.


git-svn-id: svn://10.0.0.236/trunk@11058 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 18:10:27 +00:00
ramiro%netscape.com
c64125cb32 Add comment
git-svn-id: svn://10.0.0.236/trunk@11057 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 18:06:15 +00:00
ramiro%netscape.com
564f6b97d8 Adding QtMozilla to repository (qtfe).
git-svn-id: svn://10.0.0.236/trunk@11056 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 18:04:00 +00:00
spider%netscape.com
b6ec3a6450 Modularized Julian now resided in Zulu
git-svn-id: svn://10.0.0.236/trunk@11055 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 17:58:12 +00:00
kipp%netscape.com
cdf708174f Resurrected tests
git-svn-id: svn://10.0.0.236/trunk@11054 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 17:55:03 +00:00
kipp%netscape.com
9cf94d314b Added tests back into the build
git-svn-id: svn://10.0.0.236/trunk@11053 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 17:54:48 +00:00
kipp%netscape.com
d09c4a01e4 Removed silly SIDE #define
git-svn-id: svn://10.0.0.236/trunk@11052 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 17:50:53 +00:00
kipp%netscape.com
973e769864 Support break-before/after for block frames
git-svn-id: svn://10.0.0.236/trunk@11051 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 17:50:09 +00:00
ramiro%netscape.com
d5ffdf24fe Fix busted build. Dont return a value for a void function.
git-svn-id: svn://10.0.0.236/trunk@11050 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 17:31:36 +00:00
kipp%netscape.com
5c11554cef Don't block incremental loading reflows because of mInMonolithicContainer (it was necessary early on, now it isn't)
git-svn-id: svn://10.0.0.236/trunk@11049 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 17:30:59 +00:00
sman%netscape.com
f35512299b use supplied date range rather than precalculated dates
git-svn-id: svn://10.0.0.236/trunk@11048 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 17:07:58 +00:00
kipp%netscape.com
487b69be96 Removed some dead crud and implemented AttributeChanged
git-svn-id: svn://10.0.0.236/trunk@11047 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 16:35:01 +00:00
kipp%netscape.com
6494f143f9 Support style changes for leaf frames
git-svn-id: svn://10.0.0.236/trunk@11046 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 16:33:38 +00:00
saari%netscape.com
60d87886da This should fix the burning Mac tree...
git-svn-id: svn://10.0.0.236/trunk@11045 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 16:29:55 +00:00
saari%netscape.com
3573cd6a6a next step in fixing the tree
git-svn-id: svn://10.0.0.236/trunk@11044 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 16:23:07 +00:00
kipp%netscape.com
6bf24eee8e Renamed FrameDeleted to FrameRemoved
git-svn-id: svn://10.0.0.236/trunk@11043 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 16:12:13 +00:00
kipp%netscape.com
414858d8e8 Renamed style-changed reflow method; fixed implementation to generate a reflow command
git-svn-id: svn://10.0.0.236/trunk@11042 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 16:11:36 +00:00
kipp%netscape.com
5c2bb7fdc6 Switch over to FrameRemoved instead of FrameDeleted
git-svn-id: svn://10.0.0.236/trunk@11041 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 16:10:49 +00:00
kipp%netscape.com
97462690f6 Support (weakly) style-changed reflow and fixup naming of frame-removed methods
git-svn-id: svn://10.0.0.236/trunk@11040 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 16:10:10 +00:00
kipp%netscape.com
e8d5d6f05d Added StyleChanged reflow command; renamed FrameDeleted to be consistent with everything else
git-svn-id: svn://10.0.0.236/trunk@11039 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 16:09:04 +00:00
saari%netscape.com
784b153508 One more step in fixing the burning tree
git-svn-id: svn://10.0.0.236/trunk@11038 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 16:08:48 +00:00
dcone%netscape.com
7cd8b2a49d updated resize
git-svn-id: svn://10.0.0.236/trunk@11037 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 15:13:29 +00:00
dcone%netscape.com
74febbdf92 fixed some resizing issues
git-svn-id: svn://10.0.0.236/trunk@11036 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 15:12:55 +00:00
dcone%netscape.com
2fbb21a5f0 fixed resizing issues
git-svn-id: svn://10.0.0.236/trunk@11035 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 15:12:22 +00:00
dcone%netscape.com
34f4d1198e fixed some sizing issues
git-svn-id: svn://10.0.0.236/trunk@11034 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 15:12:05 +00:00
saari%netscape.com
16653a269a MacOS only
Modifications to StringLib. It now functions like the Unix version where we have all of the strings in a giant case statement instead of in resources. 

This is necessary for moving to Pro4 and reducing the number of resources in the Mac Navigator.


git-svn-id: svn://10.0.0.236/trunk@11033 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 14:45:53 +00:00
ramiro%netscape.com
3c05de4713 dgux is now DGUX. Thanks to fraioli@dg-rtp.dg.com (Marc J. Fraioli) for
pointing this out.


git-svn-id: svn://10.0.0.236/trunk@11032 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 14:00:00 +00:00
ramiro%netscape.com
5807949b88 Restore the resources to non const. const was causing problems on some
platforms.  Thanks to "Marc J. Fraioli" <fraioli@dg-rtp.dg.com> for pointing
this out.


git-svn-id: svn://10.0.0.236/trunk@11031 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 11:38:07 +00:00
mcafee%netscape.com
5324f744e6 Uninitialized variable warning from gcc
git-svn-id: svn://10.0.0.236/trunk@11030 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 10:47:56 +00:00
mcafee%netscape.com
11448daeb1 More PostScript font names, courtesy <junker@jazz.snu.ac.kr>
git-svn-id: svn://10.0.0.236/trunk@11029 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 10:24:16 +00:00
mcafee%netscape.com
97f42bd09f Added support for paper size, thanks to <junker@jazz.snu.ac.kr> for this fix
git-svn-id: svn://10.0.0.236/trunk@11028 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 10:23:01 +00:00
mcafee%netscape.com
098ffb5bfa Unix Non-latin1 PostScript conversion enhancement, thanks to <junker@jazz.snu.ac.kr> for providing this fix. Details of the fix are at http://jazz.snu.ac.kr/~junker/work/mozilla/unixps.html. Non-latin1 title printing in xl_annotate_page. Give charset info and URL in postscript output. Give attribute info in postscript output. Give papersize info in DSC comment. Be more liberal in parsing AFM files. Non-latin1 underline and strikeout decoration enabled. Japanese printing charset is fixed to SJIS(in resource file).
git-svn-id: svn://10.0.0.236/trunk@11027 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 10:21:50 +00:00
mcafee%netscape.com
46fbd47212 Moved N_FONTS, PS_BBox, PS_CharInfo, PS_FontInfo to include/xlate.h, added XP_ParseAFMFile() to xlate.h
git-svn-id: svn://10.0.0.236/trunk@11026 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 10:19:18 +00:00
mcafee%netscape.com
45d2cd99d5 Added parseAFM.c
git-svn-id: svn://10.0.0.236/trunk@11025 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 10:17:52 +00:00
mcafee%netscape.com
f1617557ac Initial version, thanks to <junker@jazz.snu.ac.kr> for providing this pd source from Adobe.
git-svn-id: svn://10.0.0.236/trunk@11024 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 10:16:57 +00:00
pinkerton%netscape.com
d4c55cfc35 vidur's dom/css changes. Got the rest of them, I hope. Added new grouping (css) and all the files in dom:src:css.
git-svn-id: svn://10.0.0.236/trunk@11023 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 06:19:02 +00:00
pinkerton%netscape.com
cc455f7e52 vidur's dom/css changes. Added a couple of new files.
git-svn-id: svn://10.0.0.236/trunk@11022 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 05:22:06 +00:00
pinkerton%netscape.com
f9389463bb add dom:public:css to manifest list.
git-svn-id: svn://10.0.0.236/trunk@11021 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 05:21:27 +00:00
troy%netscape.com
be32dfbcc4 Moved ContentDeleted() document notification code to the style system which
generates the reflow command


git-svn-id: svn://10.0.0.236/trunk@11020 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 05:13:06 +00:00
wtc%netscape.com
4aaac00988 Removed the inclusion of private NSPR header "prosdep.h" on the Mac.
Reviewed and approved by Warren Harris.


git-svn-id: svn://10.0.0.236/trunk@11019 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 04:43:58 +00:00
wtc%netscape.com
d4861241b8 Removed calls to the obsolete function PR_GetGCInfo(). That function
is only for Java garbage collection and so doesn't matter any more.
Reviewed and approved by Steve Dagley.


git-svn-id: svn://10.0.0.236/trunk@11018 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 04:42:21 +00:00
wtc%netscape.com
43f79c5880 Removed references to the unused libmsgc21 library.
Reviewed and approved by David Hyatt and Daniel Matejka.


git-svn-id: svn://10.0.0.236/trunk@11016 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 04:35:40 +00:00
peterl%netscape.com
ad7699672b handle HTML comment tags as whitespace
git-svn-id: svn://10.0.0.236/trunk@11013 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 01:50:51 +00:00
peterl%netscape.com
a0cc8381c3 fixed bug preventing properties from parsing if followed by whitespace.
ie: color : blue didn't work


git-svn-id: svn://10.0.0.236/trunk@11012 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 01:50:34 +00:00
peterl%netscape.com
445ae993ad removed table default values
git-svn-id: svn://10.0.0.236/trunk@11011 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 01:49:27 +00:00
peterl%netscape.com
f90a6c8656 performance tweaks to apply style change
git-svn-id: svn://10.0.0.236/trunk@11010 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 01:49:10 +00:00
peterl%netscape.com
8026395a26 removed content apis from style context
git-svn-id: svn://10.0.0.236/trunk@11009 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 01:48:22 +00:00
vidur%netscape.com
191acee8d0 Fix build bustage
git-svn-id: svn://10.0.0.236/trunk@11008 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 01:27:44 +00:00
vidur%netscape.com
446f29bffe style test
git-svn-id: svn://10.0.0.236/trunk@11007 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 00:59:01 +00:00
eyork%netscape.com
563a20a8f5 Fix Solaris Build problems
git-svn-id: svn://10.0.0.236/trunk@11005 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 00:57:28 +00:00
eyork%netscape.com
006e394f93 Fix Solaris Build Problem
git-svn-id: svn://10.0.0.236/trunk@11004 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 00:54:04 +00:00
eyork%netscape.com
0a4ce1b600 Fix Solaris build problem
git-svn-id: svn://10.0.0.236/trunk@11003 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 00:52:46 +00:00
vidur%netscape.com
ae2d56cabc Added new style interfaces. Implemented getStyle() on HTMLElement. Moved DOM fields into side struct for nsGenericHTMLElement. Implemented style declaration interface on proxy. Added new entry point to CSSParser and new methods to style declaration.
git-svn-id: svn://10.0.0.236/trunk@11002 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 00:51:45 +00:00
vidur%netscape.com
5e8d2d6415 Added new style interfaces. Modified property slot id allocation.
git-svn-id: svn://10.0.0.236/trunk@11001 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 00:49:44 +00:00
cyeh%netscape.com
d09199c9f8 remove crusty old NSPR20 #ifdef
git-svn-id: svn://10.0.0.236/trunk@11000 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 00:30:06 +00:00
kipp%netscape.com
51957b7f8f Fixed attribute atom typo
git-svn-id: svn://10.0.0.236/trunk@10999 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 00:01:08 +00:00
kipp%netscape.com
386e7b39df Added some attribute handlers for inline frames (temporary)
git-svn-id: svn://10.0.0.236/trunk@10998 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 00:00:55 +00:00
kipp%netscape.com
dfee384cdd Added methods for triggering style/rendering/reflow changes
git-svn-id: svn://10.0.0.236/trunk@10997 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 00:00:22 +00:00
kipp%netscape.com
cc2b0a1cf8 Hooked up noshade attribute to trigger a render
git-svn-id: svn://10.0.0.236/trunk@10996 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 23:57:01 +00:00
kipp%netscape.com
f316e65b76 Disable a certain kind of caching to make incremental style changes work
git-svn-id: svn://10.0.0.236/trunk@10995 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 23:56:45 +00:00
kipp%netscape.com
70a8128e14 Expose remap method
git-svn-id: svn://10.0.0.236/trunk@10994 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 23:56:30 +00:00
kipp%netscape.com
fa13ca7bfd Added in an immedate flag for controlling Invalidate rendering
git-svn-id: svn://10.0.0.236/trunk@10993 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 23:56:15 +00:00
kipp%netscape.com
3aec276c63 Exposed a new method
git-svn-id: svn://10.0.0.236/trunk@10992 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 23:55:48 +00:00
pierre%netscape.com
4cab2fc81b fixing Mac raptor build: define XP_ERRNO only ifndef'd
git-svn-id: svn://10.0.0.236/trunk@10991 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 23:54:31 +00:00
pinkerton%netscape.com
a2804d24b5 use system mdef instead of mercutio for all menus.
git-svn-id: svn://10.0.0.236/trunk@10990 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 23:45:17 +00:00
pinkerton%netscape.com
f7b9865a2e changed all menus that used mercutio to use system mdef instead.
git-svn-id: svn://10.0.0.236/trunk@10989 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 23:44:43 +00:00
pinkerton%netscape.com
26abd44281 Change all menus that used mercutio to use system mdef. Added some xmnu to begin support of shift/cmd accelerators.
git-svn-id: svn://10.0.0.236/trunk@10988 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 23:44:10 +00:00
pinkerton%netscape.com
6aaf8fa7da make all menus that used Mercutio now use system MDEF.
git-svn-id: svn://10.0.0.236/trunk@10987 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 23:43:04 +00:00
hyatt%netscape.com
f76bab1497 Bug fix for dialogs popping up out of popup windows.
git-svn-id: svn://10.0.0.236/trunk@10985 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 23:35:03 +00:00
pinkerton%netscape.com
c1cbae5646 Replace menus that used mercutio with system MDEF.
git-svn-id: svn://10.0.0.236/trunk@10984 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 23:32:46 +00:00
pinkerton%netscape.com
046d358f03 Make all menus use the system MDEF not Mercutio.
git-svn-id: svn://10.0.0.236/trunk@10982 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 23:30:01 +00:00
peterl%netscape.com
67dd35cbe9 cleaned up markup to match descriptions
added text decoration color test


git-svn-id: svn://10.0.0.236/trunk@10981 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 23:28:10 +00:00
pierre%netscape.com
0db2849d84 checkout cmd/macfe/applevnt + central + gui + include + pch + projects+ utility instead of the whole cmd/macfe folder
git-svn-id: svn://10.0.0.236/trunk@10980 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 23:27:22 +00:00
cyeh%netscape.com
06b17102af add more mac directories to Raptor
git-svn-id: svn://10.0.0.236/trunk@10979 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 23:24:39 +00:00
kostello%netscape.com
7cda5258ba Removed:
nsHTMLContent.cpp
nsHTMLTagContent.cpp
nsHTMLContainer.cpp
nsDOMAttributes.cpp
nsDOMIterator.cpp
nsDOMNodeList.cpp


git-svn-id: svn://10.0.0.236/trunk@10978 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 23:18:32 +00:00
pierre%netscape.com
f780ed3335 fixing Mac raptor build: include xp_sock.h
git-svn-id: svn://10.0.0.236/trunk@10977 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 23:08:56 +00:00
pierre%netscape.com
391708a77c added xp_sock.h
git-svn-id: svn://10.0.0.236/trunk@10976 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 23:07:15 +00:00
pinkerton%netscape.com
7974321fff fix mac raptor: removed nsHTMLbullet.cpp; exchanged html/forms files with their counterparts ending in Frame.
git-svn-id: svn://10.0.0.236/trunk@10974 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 22:30:05 +00:00
pinkerton%netscape.com
e726c44723 fix mac raptor, added nsTraceRefcnt.cpp
git-svn-id: svn://10.0.0.236/trunk@10973 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 22:29:09 +00:00
akkana%netscape.com
10411b6036 Remove rosetta references from mail compose code
git-svn-id: svn://10.0.0.236/trunk@10972 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 21:46:32 +00:00
mcafee%netscape.com
4b56adf362 Check for null pointer; print context doesn't have history. r=morse,nisheeth
git-svn-id: svn://10.0.0.236/trunk@10971 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 21:41:53 +00:00
kipp%netscape.com
703b38ab21 Implement revised nsIDocument/nsIDocumentObserver methods
git-svn-id: svn://10.0.0.236/trunk@10970 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 21:39:47 +00:00
kipp%netscape.com
6beaa547d6 changed frame remove methods
git-svn-id: svn://10.0.0.236/trunk@10969 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 21:39:29 +00:00
kipp%netscape.com
84501778aa XPCOM'ized the notification methods; changed frame remove methods; added AttributeChanged
git-svn-id: svn://10.0.0.236/trunk@10968 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 21:39:16 +00:00
kipp%netscape.com
49b247a64d nuked
git-svn-id: svn://10.0.0.236/trunk@10967 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 21:38:05 +00:00
kipp%netscape.com
3e2105525b Fixed up includes to not depend on old content model classes
git-svn-id: svn://10.0.0.236/trunk@10966 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 21:37:45 +00:00
kipp%netscape.com
e43f0e122c Added bullet pseudo-style
git-svn-id: svn://10.0.0.236/trunk@10965 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 21:36:21 +00:00
kipp%netscape.com
966b872fec Eliminate SetAttr/UnsetAttr; use standard 3arg version now; leave the attribute impl macros alone for now; pass on attribute changes to the document when aNotify is PR_TRUE
git-svn-id: svn://10.0.0.236/trunk@10964 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 21:35:52 +00:00
kipp%netscape.com
cd7a6e5c31 Pass through notify argument with UnsetAttribute method
git-svn-id: svn://10.0.0.236/trunk@10963 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 21:34:56 +00:00
kipp%netscape.com
2a6880e526 Removed unused include
git-svn-id: svn://10.0.0.236/trunk@10962 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 21:34:31 +00:00
kipp%netscape.com
0a83117a07 Updated UnsetAttribute to have a notification flag
git-svn-id: svn://10.0.0.236/trunk@10961 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 21:33:56 +00:00
kipp%netscape.com
0740c45e9d Fixed code to not depend on a (bad!) cast and instead use query-interface
git-svn-id: svn://10.0.0.236/trunk@10960 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 21:33:20 +00:00
kipp%netscape.com
f5c05399de Removed bullet pseudo-content and instead use pseudo style to process bullets properly
git-svn-id: svn://10.0.0.236/trunk@10959 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 21:32:39 +00:00
kipp%netscape.com
bd52764a22 Added bullet pseudo style attribute
git-svn-id: svn://10.0.0.236/trunk@10958 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 21:32:12 +00:00
kipp%netscape.com
c51f486001 Removed old source files from the build
git-svn-id: svn://10.0.0.236/trunk@10957 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 21:31:43 +00:00
cyeh%netscape.com
60913d7647 removing old NSPR20 #ifdefs
git-svn-id: svn://10.0.0.236/trunk@10956 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 21:13:36 +00:00
slamm%netscape.com
607fbc6afc Backout accidental checkin.
git-svn-id: svn://10.0.0.236/trunk@10955 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 21:13:24 +00:00
terry%netscape.com
b7913bd532 Fixed bug 890. Apparently, Apache has the habit of lower-casing some
of the boundary strings, so we'll just lower-case them all to make
things work.


git-svn-id: svn://10.0.0.236/trunk@10954 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 21:12:46 +00:00
slamm%netscape.com
a2b4be9279 Back out accidental checkin.
git-svn-id: svn://10.0.0.236/trunk@10953 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 21:10:14 +00:00
cyeh%netscape.com
1181ba7080 remove old MOCHA and NSPR20 #ifdef
git-svn-id: svn://10.0.0.236/trunk@10952 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 21:09:58 +00:00
cyeh%netscape.com
b5597b73c2 remove old NSPR20 #ifdef
git-svn-id: svn://10.0.0.236/trunk@10951 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 21:01:00 +00:00
beard%netscape.com
c4e831c8b9 Added #undef of NS_EXPORT, so it won't conflict with nsCom.h.
git-svn-id: svn://10.0.0.236/trunk@10950 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 20:56:58 +00:00
hyatt%netscape.com
8a95a1cd77 Fix to the title bar drawing code so that the Win98 gradient fill is used.
git-svn-id: svn://10.0.0.236/trunk@10949 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 20:54:52 +00:00
cyeh%netscape.com
2f10b69f3e removing old NSPR20 #ifdefs
git-svn-id: svn://10.0.0.236/trunk@10947 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 20:47:57 +00:00
cyeh%netscape.com
37085171b5 removing old NSPR20 #ifdef
git-svn-id: svn://10.0.0.236/trunk@10946 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 20:36:57 +00:00
troy%netscape.com
5fe4f60324 Added call to ProcessChildren() for OBJECT tag
git-svn-id: svn://10.0.0.236/trunk@10945 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 20:35:59 +00:00
cyeh%netscape.com
66dc92cb7c remove old NSPR20 #ifdef
git-svn-id: svn://10.0.0.236/trunk@10944 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 20:35:44 +00:00
blizzard%appliedtheory.com
4cbd36c8b5 Add changes from Michael O'Reilly <michael@metal.iinet.net.au> which
initialize RDF and point the RDF progress info at a dummy frame.


git-svn-id: svn://10.0.0.236/trunk@10943 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 20:28:56 +00:00
slamm%netscape.com
01045ca981 Add a command for editing the toolbars and reformat the commands into a nicer format.cmd/xfe/src/xfe_commands
git-svn-id: svn://10.0.0.236/trunk@10942 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 20:19:20 +00:00
slamm%netscape.com
b8edcf36ae Trim down formatItem. Some of the function isn't used and hasn't been for a long time.
git-svn-id: svn://10.0.0.236/trunk@10941 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 20:19:11 +00:00
slamm%netscape.com
ebfe14a0ec Fix a crash that happens when quiting.
git-svn-id: svn://10.0.0.236/trunk@10940 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 20:19:07 +00:00
slamm%netscape.com
0a657e68b8 Remove reference to bkmks.h
git-svn-id: svn://10.0.0.236/trunk@10939 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 20:19:04 +00:00
slamm%netscape.com
ae2f333e6a Add a command for editing the toolbars.
git-svn-id: svn://10.0.0.236/trunk@10938 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 20:19:01 +00:00
slamm%netscape.com
a4c746853f Fix spelling errors.
git-svn-id: svn://10.0.0.236/trunk@10937 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 20:18:56 +00:00
dcone%netscape.com
346151d956 added a search path
git-svn-id: svn://10.0.0.236/trunk@10936 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 20:12:47 +00:00
ftang%netscape.com
0fddd3d47e store only UTF8 into history entry
git-svn-id: svn://10.0.0.236/trunk@10935 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 19:50:02 +00:00
av%netscape.com
640c268911 Changed URL for plugin finder page -- approved by amusil
git-svn-id: svn://10.0.0.236/trunk@10934 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 19:46:07 +00:00
spider%netscape.com
2074a3776d Removing old stream listener classes
git-svn-id: svn://10.0.0.236/trunk@10933 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 19:17:13 +00:00
cyeh%netscape.com
18aa694bf9 fix misspelling
git-svn-id: svn://10.0.0.236/trunk@10932 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 19:12:35 +00:00
cyeh%netscape.com
c6f38c4110 fixing bugs in raptor entries.
git-svn-id: svn://10.0.0.236/trunk@10931 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 19:11:37 +00:00
sman%netscape.com
07b0dfd19b Layer updates
git-svn-id: svn://10.0.0.236/trunk@10930 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 18:41:30 +00:00
terry%netscape.com
c904abb332 It turns out that blank lines were being skipped a little too
anxiously.


git-svn-id: svn://10.0.0.236/trunk@10929 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 18:31:05 +00:00
despotdaemon%netscape.com
4d5d3f2423 Pseudo-automatic update of changes made by wtc@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@10928 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 18:07:27 +00:00
troy%netscape.com
ac234bca1a Removed mChildCount from nsContainerFrame
git-svn-id: svn://10.0.0.236/trunk@10927 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 17:56:35 +00:00
kipp%netscape.com
8e06d1108f Fixed block's max-element-size computation for child inline frames
git-svn-id: svn://10.0.0.236/trunk@10926 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 17:47:25 +00:00
kmcclusk%netscape.com
1c65627670 Added INITREFCNT to constructor
git-svn-id: svn://10.0.0.236/trunk@10925 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 17:44:33 +00:00
dcone%netscape.com
b63ef940fd updated project with new files, took out obsolete files
git-svn-id: svn://10.0.0.236/trunk@10924 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 17:31:25 +00:00
kmcclusk%netscape.com
22c1640fcd Removed NS_DECL_ISUPPORTS in classes which would cause multiple mRefCnt member
variables to be delcared


git-svn-id: svn://10.0.0.236/trunk@10923 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 17:28:07 +00:00
buster%netscape.com
0c00c9f654 removed lots of assumptions about frame ordering and containership.
table frames no longer assume they are n levels below the inner table frame
table frames no longer assume their child frames are always the expected type of
frame.  Now they check the display type and use that as sufficient proof that the frame
is of the right type.  This implies a heavy reliance on the frame construction code to do
the right thing and always stamp out the right kind of frame for a given display type.


git-svn-id: svn://10.0.0.236/trunk@10922 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 16:37:22 +00:00
jfrancis%netscape.com
78d84133d6 Continuing Ender work
git-svn-id: svn://10.0.0.236/trunk@10921 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 16:30:04 +00:00
jfrancis%netscape.com
2989001a44 continueing Ender work
git-svn-id: svn://10.0.0.236/trunk@10920 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 16:29:27 +00:00
ramiro%netscape.com
64eef7f67d Link with XfeToolTip.
git-svn-id: svn://10.0.0.236/trunk@10919 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 14:54:35 +00:00
ramiro%netscape.com
7bb7e3e740 Build XfeToolTip and tests by default.
git-svn-id: svn://10.0.0.236/trunk@10918 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 14:35:54 +00:00
kin%netscape.com
0c7eaf3285 Modified edt_InitEscapes() to check for '>'. This will make composer write
out &gt; into the HTML stream instead of the '>' character.


git-svn-id: svn://10.0.0.236/trunk@10917 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 14:33:09 +00:00
kin%netscape.com
f4a511c71e Modifications to XFE_EmbeddedEditor constructor:
- Initialize charset to CS_LATIN1
  - Prevent editor from showing until layout has positioned it and
	wants to display it.
  - Manage toolbox and toolbar ahead of time so we can accurately calculate
    the height of the chrome.
  - Commented out paragraph style and character underline buttons again, they
    got blown away by the previous checkin.
  - Added spellcheck button to toolbar.
  - Moved fe_{add_to,remove_from}_all_MWContext_list() functions from
	EmbeddedEditor.cpp to context_funcs.cpp.


git-svn-id: svn://10.0.0.236/trunk@10916 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 14:31:50 +00:00
ramiro%netscape.com
0afb47919d Finalize doc string support. Add better callbacks.
git-svn-id: svn://10.0.0.236/trunk@10915 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 14:25:56 +00:00
wtc%netscape.com
0ed6d23983 Removed references to the obsolete library libmsgc21 in the comments.
Reviewed and approved by Scott Furman.
Files changed: js/src/{Makefile,Makefile.in},
js/src/xpcom/{Makefile,Makefile.in}.


git-svn-id: svn://10.0.0.236/trunk@10914 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 14:16:52 +00:00
wtc%netscape.com
139f62b7fb Removed unneeded libmsgc21.
Files changed: cmd/xfe/{Makefile,Makefile.in},
cmd/stubfe/{Makefile,Makefile.in}.


git-svn-id: svn://10.0.0.236/trunk@10913 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 14:11:18 +00:00
mcafee%netscape.com
820a06594c Fix mkdir() problem for BSDI, thanks to <driehuis@playbeing.org> for this patch
git-svn-id: svn://10.0.0.236/trunk@10912 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 09:43:55 +00:00
ramiro%netscape.com
a390956176 Fix classic off-by-one strcat buffer error.
Thanks to Michael O'Reilly <michael@metal.iinet.net.au> for providing the fix.


git-svn-id: svn://10.0.0.236/trunk@10911 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 09:27:37 +00:00
ftang%netscape.com
ee5328d780 Make the RDF stuff always render UTF8
git-svn-id: svn://10.0.0.236/trunk@10910 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 09:23:48 +00:00
ftang%netscape.com
e68d1e3642 Fix UTF8 problem
git-svn-id: svn://10.0.0.236/trunk@10909 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 09:23:19 +00:00
ftang%netscape.com
1b787aeb7f fix the wrong measurement problem in UTF8 by calling the new UTF8 function
git-svn-id: svn://10.0.0.236/trunk@10908 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 09:22:32 +00:00
ramiro%netscape.com
136d23f238 Add support for documentation strings.
git-svn-id: svn://10.0.0.236/trunk@10907 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 09:22:27 +00:00
ftang%netscape.com
e61e5700e9 implement better UTF8 drawing support. Implement mid and end truncation for UTF8
git-svn-id: svn://10.0.0.236/trunk@10906 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 09:18:25 +00:00
ftang%netscape.com
5f94fb22be add CDefaultFontFontSwitcher.cp for better UTF8 support
git-svn-id: svn://10.0.0.236/trunk@10905 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 09:17:26 +00:00
mcafee%netscape.com
a29226d213 Moving comment to fix AIX & Digital sed breakage. Maybe sed really does suck, as the comment suggests.
git-svn-id: svn://10.0.0.236/trunk@10904 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 07:54:04 +00:00
jband%netscape.com
8ba7042512 added class to minimize drawinf of list items. lxr friendlier generated files
git-svn-id: svn://10.0.0.236/trunk@10902 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 07:28:52 +00:00
jband%netscape.com
0a736ba31f add targets, generated files use C-stlye comments to be more lxr friendly
git-svn-id: svn://10.0.0.236/trunk@10901 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 07:27:07 +00:00
wtc%netscape.com
29a67aadb5 Got rid of references to "OSF1" in this file. Thanks to
raff@aromatic.com for the problem report and the patch.


git-svn-id: svn://10.0.0.236/trunk@10898 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 06:14:26 +00:00
ramiro%netscape.com
8ade4321f2 Add realize callbacks.
git-svn-id: svn://10.0.0.236/trunk@10896 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 05:19:50 +00:00
troy%netscape.com
d2a134fb41 Removed IsPseudoFrame() from nsContainerFrame
git-svn-id: svn://10.0.0.236/trunk@10895 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 04:57:30 +00:00
troy%netscape.com
aec668d182 Changed signature of PushChildren() member function
git-svn-id: svn://10.0.0.236/trunk@10894 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 04:18:58 +00:00
troy%netscape.com
2bdb85f976 Removed IsLastChild() member function from nsContainerFrame
git-svn-id: svn://10.0.0.236/trunk@10891 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 04:12:01 +00:00
troy%netscape.com
556f680fca Removed ChildIsPseudoFrame() and IsEmpty() from nsContainerFrame
git-svn-id: svn://10.0.0.236/trunk@10890 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 04:06:42 +00:00
troy%netscape.com
43e6ab37a3 Removed PreReflowCheck() and PostReflowCheck() from nsContainerFrame
git-svn-id: svn://10.0.0.236/trunk@10888 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 03:59:30 +00:00
wtc%netscape.com
4cd6f2440e Bugzilla bug #122: merged NetBSD patch contributed by
Frank van der Linden (frank@wins.uva.nl).


git-svn-id: svn://10.0.0.236/trunk@10887 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 03:55:47 +00:00
briano%netscape.com
32ad3a5b70 Changes requested by wtc@netscape.com to support NSPR 3.0.
git-svn-id: svn://10.0.0.236/trunk@10885 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 03:51:10 +00:00
troy%netscape.com
025ab65ab4 Removed some XXX CONSTRUCTION code that was work-in-progress, but is
no longer needed


git-svn-id: svn://10.0.0.236/trunk@10884 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 03:49:45 +00:00
troy%netscape.com
bf40dfa99c Removed mFirstContentOffset, LastContentOffset, and mLastContentIsComplete
from nsContainerFrame


git-svn-id: svn://10.0.0.236/trunk@10883 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 03:36:52 +00:00
briano%netscape.com
d841166270 Applied the last of the changes from Frank van der Linden (frank@wins.uva.nl).
git-svn-id: svn://10.0.0.236/trunk@10880 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 03:11:51 +00:00
spider%netscape.com
eca85e9227 Fix for unresolved external on unix
git-svn-id: svn://10.0.0.236/trunk@10879 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 02:55:18 +00:00
hyatt%netscape.com
a194f12bdf Fixing a crash when the HTML pane in Aurora is deleted.
git-svn-id: svn://10.0.0.236/trunk@10877 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 02:00:44 +00:00
troy%netscape.com
3209460837 Changed the way nsIFrame inherits from nsISupports
git-svn-id: svn://10.0.0.236/trunk@10875 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 01:50:16 +00:00
hyatt%netscape.com
3e71b6dcdd Really fix the problem with undocking. :)
git-svn-id: svn://10.0.0.236/trunk@10874 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 01:43:12 +00:00
hyatt%netscape.com
36c08de126 Fixing a problem with undocking the NavCenter window.
git-svn-id: svn://10.0.0.236/trunk@10873 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 01:40:22 +00:00
hyatt%netscape.com
1b437667c0 Making the toolbars add/remove properly.
git-svn-id: svn://10.0.0.236/trunk@10872 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 01:33:20 +00:00
cyeh%netscape.com
5ca67ee54b remove NORMANDY modules
git-svn-id: svn://10.0.0.236/trunk@10871 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 01:32:21 +00:00
beard%netscape.com
bcf18bfa01 create_java_vm_impl was always failing.
git-svn-id: svn://10.0.0.236/trunk@10870 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 01:20:09 +00:00
fur%netscape.com
5774a72d30 Removed references to now-defunct mozilla/js/jsj directory
git-svn-id: svn://10.0.0.236/trunk@10869 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 01:10:02 +00:00
cyeh%netscape.com
c071ae3970 quick fix
git-svn-id: svn://10.0.0.236/trunk@10868 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 01:07:20 +00:00
cyeh%netscape.com
43ad2f22d6 oops...quick fix
git-svn-id: svn://10.0.0.236/trunk@10867 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 01:06:20 +00:00
cyeh%netscape.com
6a972ef04e new raptor modules per scullin
git-svn-id: svn://10.0.0.236/trunk@10866 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 01:05:34 +00:00
hyatt%netscape.com
23a99f1248 Tweaking the notification handler for the toolbars.
git-svn-id: svn://10.0.0.236/trunk@10865 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 00:38:53 +00:00
fur%netscape.com
1669c00013 Deleting obsolete contents of jsj directory
git-svn-id: svn://10.0.0.236/trunk@10864 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 00:32:24 +00:00
karnaze%netscape.com
9a9aaead6d viewer saves compatibility mode preference
git-svn-id: svn://10.0.0.236/trunk@10863 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 00:21:20 +00:00
raman%netscape.com
b6f7b11a56 Added AllJavaScript target to represent a target that defines all JavaScript privileges. JavaSoft's JVM will use this target to perform privileged operations from Java in JS
git-svn-id: svn://10.0.0.236/trunk@10862 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 00:16:14 +00:00
raman%netscape.com
8c70f80362 Added AllJavaScript target to represent a target that defines all JavaScript privileges. JavaSoft's JVM will use this target to perform privileged operations from Java in JS
git-svn-id: svn://10.0.0.236/trunk@10861 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 00:16:10 +00:00
hyatt%netscape.com
6005513c3c Tweaks to the HTML pane calls to make sure they use the template.
git-svn-id: svn://10.0.0.236/trunk@10860 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 00:07:17 +00:00
hyatt%netscape.com
e9a6a7c042 Making the HTML pane work again.
git-svn-id: svn://10.0.0.236/trunk@10859 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 00:06:54 +00:00
ftang%netscape.com
745bd85555 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@10858 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 00:01:01 +00:00
robinf%netscape.com
369b38ae1e fixing bug #321757; updating help to reflect changed behavior of "Show Introduction Screens" global option
git-svn-id: svn://10.0.0.236/trunk@10857 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 23:42:57 +00:00
terry%netscape.com
11fc680fe3 Don't let people checking in from the outside affect any tree unless that tree has 'external' in its name.
git-svn-id: svn://10.0.0.236/trunk@10856 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 23:29:45 +00:00
valeski%netscape.com
cee7486dc6 NGLayout only. Setting the default dirs for NS_NET_FILE to be rooted in the current working directory rather than hardcoded.
git-svn-id: svn://10.0.0.236/trunk@10855 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 23:29:25 +00:00
karnaze%netscape.com
f2395f2993 viewer can set the compatibility mode
git-svn-id: svn://10.0.0.236/trunk@10851 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 23:02:54 +00:00
karnaze%netscape.com
97e632a2d8 support for getting compatibility mode from preferences
git-svn-id: svn://10.0.0.236/trunk@10850 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 23:02:02 +00:00
robinf%netscape.com
661e6070da Fixing bug #324040; adding new help screen for new flag in global options
git-svn-id: svn://10.0.0.236/trunk@10849 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 23:00:43 +00:00
dcone%netscape.com
ed77d583c6 fixed resizing issues
git-svn-id: svn://10.0.0.236/trunk@10848 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 22:10:40 +00:00
dcone%netscape.com
3332bd0528 fixed resizing problems
git-svn-id: svn://10.0.0.236/trunk@10847 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 22:09:52 +00:00
dcone%netscape.com
702526c746 fixed some sizing issues
git-svn-id: svn://10.0.0.236/trunk@10846 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 22:09:23 +00:00
dcone%netscape.com
fa8a146369 Put in code to offset drawing, hittest, etc
git-svn-id: svn://10.0.0.236/trunk@10845 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 22:08:53 +00:00
troy%netscape.com
bcec7d7c3f Removed a comment that is no longer applicable
git-svn-id: svn://10.0.0.236/trunk@10843 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 21:55:41 +00:00
buster%netscape.com
02997b3c4d re-instated fixed layout strategy
git-svn-id: svn://10.0.0.236/trunk@10842 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 21:50:49 +00:00
buster%netscape.com
4cca9446d0 all frame initialization and related logic has moved into the various table frames' Init() methods
from their respective InitalReflow() methods.
table-layout=fixed now completely skips pass1 reflow and doesn't require maxElementSize
information, saving a tremendous amount of time during initial reflow.


git-svn-id: svn://10.0.0.236/trunk@10841 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 21:48:26 +00:00
spider%netscape.com
27152055ea Fixes to load HTML Views again
git-svn-id: svn://10.0.0.236/trunk@10840 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 21:37:24 +00:00
akkana%netscape.com
8f7c44f6eb config.mk
git-svn-id: svn://10.0.0.236/trunk@10839 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 21:30:15 +00:00
vidur%netscape.com
a909e40cf9 Fixes in CSS interfaces
git-svn-id: svn://10.0.0.236/trunk@10838 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 21:28:06 +00:00
troy%netscape.com
171cbed41d Fixed leak of entire content model...
git-svn-id: svn://10.0.0.236/trunk@10836 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 20:59:57 +00:00
vidur%netscape.com
d955cfca51 Further refinement of style interfaces
git-svn-id: svn://10.0.0.236/trunk@10835 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 20:58:31 +00:00
akkana%netscape.com
dbba3fe731 more rosetta build bustage
git-svn-id: svn://10.0.0.236/trunk@10834 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 20:52:02 +00:00
rogerl%netscape.com
59a95935d3 Added the #define for turning on the default messages. Not sure if this is
the right place for it, but I wanted to get it in before the merge-a-thon.


git-svn-id: svn://10.0.0.236/trunk@10833 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 20:41:13 +00:00
kmcclusk%netscape.com
c4b5c7c1a9 Fixed filewidget query interface failure. The viewer was crashing when trying to open
a file.


git-svn-id: svn://10.0.0.236/trunk@10832 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 20:39:16 +00:00
rogerl%netscape.com
321b7ee962 Changes for error messages - arguments are now jschar.
git-svn-id: svn://10.0.0.236/trunk@10831 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 20:38:23 +00:00
rogerl%netscape.com
855761697c Bug #104766, decompileFunctionBody needed to set scope in printer before
calling decompileCode.


git-svn-id: svn://10.0.0.236/trunk@10830 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 20:37:58 +00:00
rogerl%netscape.com
50fd6c1e43 Changes for error messages - arguments are now jschar.
Bug #104766, decompileFunctionBody needed to set scope in printer before
calling decompileCode.


git-svn-id: svn://10.0.0.236/trunk@10829 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 20:36:18 +00:00
cls%seawood.org
a80dae1416 Fixed problem with FULL_STATIC_BUILD and js libs. Thanks to Tim Rowley <tor@boojum.cs.brown.edu> for the fix.
git-svn-id: svn://10.0.0.236/trunk@10828 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 20:20:07 +00:00
bjorn%netscape.com
7f3510ee2e Now using a lock in prarena instead of compare-and-swap.
git-svn-id: svn://10.0.0.236/trunk@10827 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 20:19:28 +00:00
kipp%netscape.com
298fcbcf3e Fixed up includes
git-svn-id: svn://10.0.0.236/trunk@10826 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 20:12:21 +00:00
kipp%netscape.com
ad717f51e1 Removed bullet factory methods
git-svn-id: svn://10.0.0.236/trunk@10824 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 20:12:07 +00:00
kipp%netscape.com
63bec11667 Removed block frame CID
git-svn-id: svn://10.0.0.236/trunk@10823 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 20:11:50 +00:00
kipp%netscape.com
0de7f63f89 stop including unneeded header file
git-svn-id: svn://10.0.0.236/trunk@10822 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 20:11:37 +00:00
kipp%netscape.com
d79b129f5c nuked
git-svn-id: svn://10.0.0.236/trunk@10821 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 20:11:22 +00:00
kipp%netscape.com
c5cf8a4efb Return error properly if NS_NewBlockFrame fails; stop including unneeded header file
git-svn-id: svn://10.0.0.236/trunk@10820 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 20:11:14 +00:00
kipp%netscape.com
d0b353bec8 Implement bullets here; implement list renumbering cleanly instead of having the bullets blindly do it (fixes a crash and several pagination bugs)
git-svn-id: svn://10.0.0.236/trunk@10819 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 20:10:40 +00:00
kipp%netscape.com
37fc6e5910 Removed nsHTMLBullet from the build
git-svn-id: svn://10.0.0.236/trunk@10817 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 20:09:38 +00:00
kmcclusk%netscape.com
45c17f9410 Fix for Linux build. Moved form lib to come after style lib.
git-svn-id: svn://10.0.0.236/trunk@10816 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 20:08:14 +00:00
bjorn%netscape.com
63784f2ba1 Removed a redundant assignment, f->susp=-1.
git-svn-id: svn://10.0.0.236/trunk@10815 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 19:51:26 +00:00
akkana%netscape.com
42f6400525 Remove obsolete rosetta references
git-svn-id: svn://10.0.0.236/trunk@10814 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 19:49:14 +00:00
kmcclusk%netscape.com
0b9521b1af Factored cross-platform code within nsWindow in nsBaseWidget. Converted headers and footers
to use nsISupports.h macros. Implemented nsToolkits query interface and made it creatable
through the factory.


git-svn-id: svn://10.0.0.236/trunk@10812 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 19:19:23 +00:00
kmcclusk%netscape.com
7931aee9d9 Added nsIToolkit to registry
git-svn-id: svn://10.0.0.236/trunk@10811 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 19:16:59 +00:00
robinf%netscape.com
ba8a2e2955 fixinb bug related to text corrections on these screens
git-svn-id: svn://10.0.0.236/trunk@10810 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 19:07:46 +00:00
akkana%netscape.com
46ec8b4111 Turn on MOZ_MAIL_COMPOSE by default. Approved by briano
git-svn-id: svn://10.0.0.236/trunk@10808 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 18:41:11 +00:00
fur%netscape.com
20b526f9fa When finalizing the prototype objects, don't try to access the JNIEnv, since that can cause the JVM to be unnecessarily loaded
git-svn-id: svn://10.0.0.236/trunk@10807 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 18:36:38 +00:00
cls%seawood.org
90737b279a Fixed problem with 'gmake' not executing libs and install targets. Ordering does matter. :(
git-svn-id: svn://10.0.0.236/trunk@10806 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 18:12:14 +00:00
despotdaemon%netscape.com
88c4fba289 Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@10805 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 18:08:23 +00:00
karnaze%netscape.com
b7d77ef368 added image submit to first form
git-svn-id: svn://10.0.0.236/trunk@10804 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 17:55:28 +00:00
karnaze%netscape.com
353feb2fe6 forgot to add in last checkin
git-svn-id: svn://10.0.0.236/trunk@10802 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 17:44:33 +00:00
karnaze%netscape.com
ea90ff591e Converted forms to use the new content model classes and better separate content from layout.
git-svn-id: svn://10.0.0.236/trunk@10800 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 17:16:51 +00:00
rickg%netscape.com
0069eda5c1 added support for XML processing instructions
git-svn-id: svn://10.0.0.236/trunk@10798 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 16:55:13 +00:00
blizzard%appliedtheory.com
e4b452cfd7 Patch from Bert Driehuis <driehuis@playbeing.org> for returning the view
in the function.


git-svn-id: svn://10.0.0.236/trunk@10797 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 14:04:06 +00:00
pierre%netscape.com
2af99d82b0 added SetFont + call it before calculating the Width or Height
git-svn-id: svn://10.0.0.236/trunk@10796 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 09:29:51 +00:00
pierre%netscape.com
1a15e340d9 added SetFont
git-svn-id: svn://10.0.0.236/trunk@10795 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 09:28:54 +00:00
pierre%netscape.com
edf8a1125e moved SetFont guts to nsFontMetricsMac
git-svn-id: svn://10.0.0.236/trunk@10794 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 09:28:05 +00:00
pierre%netscape.com
be78567e8a handle menu events when there is no window + other fixes
git-svn-id: svn://10.0.0.236/trunk@10793 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 09:24:33 +00:00
pierre%netscape.com
3bfb6cd196 handle menu events when there is no window
git-svn-id: svn://10.0.0.236/trunk@10792 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 09:23:07 +00:00
ramiro%netscape.com
87ef5856b8 Remove 2 extra spaces that were causing Mozilla to crash on startup on some
sun computers.
Thanks to Kurt Swanson <kurt@dna.lth.se> for pointing this out and providing
the fix.


git-svn-id: svn://10.0.0.236/trunk@10791 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 09:21:28 +00:00
pierre%netscape.com
88c6e0ec95 re-enable the scrollbars on Mac, the widgets are now implemented
git-svn-id: svn://10.0.0.236/trunk@10790 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 09:19:55 +00:00
pierre%netscape.com
5edd44880b fixed a GlobalToLocal problem in FindWidgetHit
git-svn-id: svn://10.0.0.236/trunk@10789 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 09:18:46 +00:00
pierre%netscape.com
4bb8a8ed37 added widget/src/mac/manifest
git-svn-id: svn://10.0.0.236/trunk@10788 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 09:12:27 +00:00
pierre%netscape.com
4fa777855a First Checked In.
git-svn-id: svn://10.0.0.236/trunk@10787 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 09:11:08 +00:00
ramiro%netscape.com
82072391aa Fix for bugzilla bug 864. XFE fonts.c file charset array out of whack.
Thanks to raff@aromatic.com for pointing this out and providing the fix.


git-svn-id: svn://10.0.0.236/trunk@10786 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 08:22:25 +00:00
cyeh%netscape.com
8f967ade31 adding JSRef for fur
git-svn-id: svn://10.0.0.236/trunk@10781 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 06:24:00 +00:00
gagan%netscape.com
725ac59f56 Using NET_IsURLInCache instead of NET_IsURLInDiskCache and NET_IsURLInMemCache.
git-svn-id: svn://10.0.0.236/trunk@10780 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 06:06:18 +00:00
gagan%netscape.com
277450790d Added NET_IsURLInCache function.
git-svn-id: svn://10.0.0.236/trunk@10779 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 06:03:45 +00:00
gagan%netscape.com
c1c25bfbf7 Correct check for memory objects.
git-svn-id: svn://10.0.0.236/trunk@10778 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 06:03:27 +00:00
gagan%netscape.com
69512faa8f Added NET_IsURLInCache function. This replaces most cases of NET_IsURLInMemCache || NET_IsURLInDiskCache.
git-svn-id: svn://10.0.0.236/trunk@10777 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 06:03:03 +00:00
gagan%netscape.com
afeb248e3d Misc. changes.
git-svn-id: svn://10.0.0.236/trunk@10776 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 06:01:07 +00:00
gagan%netscape.com
5f53ac2b57 Removed m_Flag, replaced with state variable.
git-svn-id: svn://10.0.0.236/trunk@10775 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 06:00:45 +00:00
gagan%netscape.com
9040db951d Disk access for streams to file.
git-svn-id: svn://10.0.0.236/trunk@10774 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 06:00:13 +00:00
gagan%netscape.com
cd4e898fad Cache Object's state functions.
git-svn-id: svn://10.0.0.236/trunk@10773 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 05:59:04 +00:00
gagan%netscape.com
9446da27fe PRFileDesc instead of XP_file*.
git-svn-id: svn://10.0.0.236/trunk@10772 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 05:58:03 +00:00
gagan%netscape.com
4cea6cdb22 Added State accessor functions.
git-svn-id: svn://10.0.0.236/trunk@10771 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 05:57:06 +00:00
troy%netscape.com
8e2160e6db Fixed bug in InsertNewFrame() that was screwing up the child list
git-svn-id: svn://10.0.0.236/trunk@10770 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 04:45:59 +00:00
troy%netscape.com
5d20ffe429 Fixed an off by one problem in the ContentInserted() code
git-svn-id: svn://10.0.0.236/trunk@10769 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 04:25:49 +00:00
spider%netscape.com
3eefd2153b XPFC Implementation on top ov Views
git-svn-id: svn://10.0.0.236/trunk@10767 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 03:40:00 +00:00
valeski%netscape.com
71efef1ee4 added mkprefs.h to the makefile.in file.
git-svn-id: svn://10.0.0.236/trunk@10766 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 03:03:21 +00:00
kipp%netscape.com
647c79cbaf Disabled some tests :-(
git-svn-id: svn://10.0.0.236/trunk@10764 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 02:36:21 +00:00
kipp%netscape.com
a18a35cc4f Added a list method for outputing top/right/bottom/left objects like border/padding/margins
git-svn-id: svn://10.0.0.236/trunk@10763 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 02:36:07 +00:00
kipp%netscape.com
8a980ec5ee Fixed parsing of margins to allow for auto values
git-svn-id: svn://10.0.0.236/trunk@10762 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 02:35:10 +00:00
kipp%netscape.com
5b0a290d9e Removed VerticallyAlignChildren (it's in nsInlineReflow now)
git-svn-id: svn://10.0.0.236/trunk@10761 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 02:34:43 +00:00
kipp%netscape.com
2f52f16b2b Improved list output for border/padding/margin
git-svn-id: svn://10.0.0.236/trunk@10760 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 02:34:21 +00:00
kipp%netscape.com
f8406870d2 Some improvement to list layout
git-svn-id: svn://10.0.0.236/trunk@10759 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 02:33:37 +00:00
kipp%netscape.com
8673b40ed5 Removed unused include
git-svn-id: svn://10.0.0.236/trunk@10758 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 02:33:23 +00:00
kipp%netscape.com
90fba2953e Added a reminder XXX
git-svn-id: svn://10.0.0.236/trunk@10757 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 02:33:04 +00:00
kipp%netscape.com
9faf57d773 Removed dead includes
git-svn-id: svn://10.0.0.236/trunk@10756 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 02:32:43 +00:00
kipp%netscape.com
9337a6d773 use line-layout's pres-context as a ref not a pointer
git-svn-id: svn://10.0.0.236/trunk@10755 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 02:32:17 +00:00
buster%netscape.com
bb5e1eca75 implementation of table-layout=fixed strategy
git-svn-id: svn://10.0.0.236/trunk@10754 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 02:32:15 +00:00
kipp%netscape.com
6fa4714901 use nsHTMLContainerFrame instead of nsHTMLBase
git-svn-id: svn://10.0.0.236/trunk@10753 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 02:31:48 +00:00
kipp%netscape.com
24df681107 Use pres-context as a ref instead of a pointer
git-svn-id: svn://10.0.0.236/trunk@10752 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 02:31:16 +00:00
kipp%netscape.com
7bc4aa3916 Added methods for counting the number of placed frames; switched the pres-context to a ref from a pointer; removed some debris
git-svn-id: svn://10.0.0.236/trunk@10751 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 02:31:00 +00:00
kipp%netscape.com
a5295b280e Use nsHTMLContainerFrame instead of nsHTMLBase
git-svn-id: svn://10.0.0.236/trunk@10750 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 02:30:21 +00:00
kipp%netscape.com
3bcbd67a5a Updated NS_INLINE_LINE_BREAK_BEFORE macro to not take an argument and explained why in the comment
git-svn-id: svn://10.0.0.236/trunk@10749 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 02:30:00 +00:00
kipp%netscape.com
c45150ede3 Moved some methods from various places into this class
git-svn-id: svn://10.0.0.236/trunk@10748 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 02:29:31 +00:00
kipp%netscape.com
d11f4399bc nuked
git-svn-id: svn://10.0.0.236/trunk@10747 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 02:29:03 +00:00
kipp%netscape.com
22e2ded2a8 moved CreateViewForFrame to nsHTMLContainerFrame; changed usage of line-layout pres-context from pointer to ref
git-svn-id: svn://10.0.0.236/trunk@10746 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 02:27:56 +00:00
kipp%netscape.com
da6504bc4c Added more args to ComputeDesiredSize
git-svn-id: svn://10.0.0.236/trunk@10745 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 02:27:21 +00:00
kipp%netscape.com
3c195f0ff8 Partial implementation of body style width/height support
git-svn-id: svn://10.0.0.236/trunk@10744 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 02:26:29 +00:00
kipp%netscape.com
73439c4818 Spanked hard to reorg code around nsInlineReflow; rework list handling; rework factoring of inline/block reflow
git-svn-id: svn://10.0.0.236/trunk@10743 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 02:25:26 +00:00
kipp%netscape.com
ee877121c9 use line layout pres-context as a ref not a pointer
git-svn-id: svn://10.0.0.236/trunk@10742 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 02:24:49 +00:00
kipp%netscape.com
d01f564c80 Added new source; removed old source
git-svn-id: svn://10.0.0.236/trunk@10741 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 02:24:15 +00:00
kipp%netscape.com
678d6e579e Made DeleteChildsNextInFlow public and virtual
git-svn-id: svn://10.0.0.236/trunk@10740 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 02:23:33 +00:00
kipp%netscape.com
e05239f07c Renamed margin carry in/out variables in the metrics struct
git-svn-id: svn://10.0.0.236/trunk@10739 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 02:21:53 +00:00
kipp%netscape.com
dc118c3bbb new
git-svn-id: svn://10.0.0.236/trunk@10738 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 02:19:05 +00:00
kipp%netscape.com
ba293acaeb Fixed the build
git-svn-id: svn://10.0.0.236/trunk@10737 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 01:47:17 +00:00
sdagley%netscape.com
918d9669f9 Added prototype for lo_ProcessHeader so the Mac will build. How any platform builds without I don't know (but I'd guess they don't have warnings for un-prototyped functions).
git-svn-id: svn://10.0.0.236/trunk@10736 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 01:45:44 +00:00
briano%netscape.com
719d4641d0 Changed EDITOR to MOZ_EDITOR, because EDITOR is almost always defined in the user's environment, and that breaks MOZ_LITE builds. Approved by ramiro@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@10731 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 00:47:17 +00:00
jsun%netscape.com
8ba4677348 added the timestamp and start,end range of events to NSCalendar.
git-svn-id: svn://10.0.0.236/trunk@10730 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 00:04:34 +00:00
briano%netscape.com
a67e0ef2aa Whether or not security is enabled is independent of the MOZ_LITE, MOZ_MEDIUM, MOZ_BLAHBLAHBLAH macros. This should help people building MOZ_LITE.
git-svn-id: svn://10.0.0.236/trunk@10729 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 23:49:58 +00:00
buster%netscape.com
28f1107062 set all the groundwork for FAST table layout based on CSS-2 table-layout property
git-svn-id: svn://10.0.0.236/trunk@10726 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 23:36:06 +00:00
radha%netscape.com
c1945f0c69 Moved MWContext utility functions to context_funcs.cpp
git-svn-id: svn://10.0.0.236/trunk@10724 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 23:32:49 +00:00
cls%seawood.org
d98292211a Moved files accidentally placed in MOZ_EDITOR ifdef.
git-svn-id: svn://10.0.0.236/trunk@10720 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 23:03:47 +00:00
cls%seawood.org
e6336bfaee Sync'd Makefile.ins
git-svn-id: svn://10.0.0.236/trunk@10718 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 23:01:29 +00:00
toshok%netscape.com
4dd4f2823f add handling for header elements in reflow. especially fixes alignment lossage.
git-svn-id: svn://10.0.0.236/trunk@10717 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 22:51:43 +00:00
beard%netscape.com
6bd298bbe0 Defining NS_EXPORT, et. al. for XP_MAC.
git-svn-id: svn://10.0.0.236/trunk@10716 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 22:46:18 +00:00
valeski%netscape.com
cea5b8a6ec mozilla - added mkprefs.h to the builds and replaced "*" pref strings with #defines.
nglayout - added get & set methods for http proxies to nsINetService.


git-svn-id: svn://10.0.0.236/trunk@10714 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 22:41:27 +00:00
radha%netscape.com
979f4bccb3 Check if image->clientData exists before trying to obtain the pixmap
from it.


git-svn-id: svn://10.0.0.236/trunk@10712 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 22:24:29 +00:00
radha%netscape.com
8526f999cd New utility functions to create MWContext and obtain frame handle from
MWContext


git-svn-id: svn://10.0.0.236/trunk@10711 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 22:23:49 +00:00
beard%netscape.com
38c5cbb164 Need a real plugin manager reference.
git-svn-id: svn://10.0.0.236/trunk@10710 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 22:23:35 +00:00
ftang%netscape.com
50defacc4d fix bug 324313 in Mozilla first. Reviwed by erik
git-svn-id: svn://10.0.0.236/trunk@10709 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 22:14:02 +00:00
beard%netscape.com
0bf5ab8b0f Removed redundant (wrong) declaration of local variable err from GetLiveconnect(), which was shadowing another declaration of err in an outer scope.
git-svn-id: svn://10.0.0.236/trunk@10708 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 22:02:33 +00:00
bjorn%netscape.com
b64ec41425 Patched the name JS_USE_ONLY_NSPR_LOCKS.
git-svn-id: svn://10.0.0.236/trunk@10705 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 21:45:13 +00:00
vidur%netscape.com
0608e3fd78 Added method to get property weight
git-svn-id: svn://10.0.0.236/trunk@10703 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 21:30:10 +00:00
vidur%netscape.com
20d458c395 New style interfaces
git-svn-id: svn://10.0.0.236/trunk@10702 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 21:19:11 +00:00
spider%netscape.com
dfdea96b6d Add io.h on windows
git-svn-id: svn://10.0.0.236/trunk@10701 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 20:44:51 +00:00
despotdaemon%netscape.com
c119975970 Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@10698 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 20:26:37 +00:00
despotdaemon%netscape.com
7a16a8a9c6 Pseudo-automatic update of changes made by cyeh@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@10695 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 18:27:59 +00:00
terry%netscape.com
7526772863 Don't forget regexp or column choices when resorting
git-svn-id: svn://10.0.0.236/trunk@10694 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 18:23:14 +00:00
wtc%netscape.com
06d57ca345 NO_NSPR_PRIVATE_HEADER_BRANCH landing. Removed the inclusions of
private NSPR headers (prosdep.h and primpl.h) from the Mozilla source.
The part of prosdep.h that is actually needed by Mozilla was extracted
and put in the new file mozilla/include/xp_path.h.


git-svn-id: svn://10.0.0.236/trunk@10691 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 16:59:57 +00:00
terry%netscape.com
24741b9973 Added disabled, voucher, signedform.
git-svn-id: svn://10.0.0.236/trunk@10690 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 16:56:39 +00:00
kipp%netscape.com
076d53dd27 Added code to map illegal ncr values as per navigator
git-svn-id: svn://10.0.0.236/trunk@10689 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 15:34:50 +00:00
briano%netscape.com
be49e1baf4 Cleaned it up and added in all the .mk files that were 'missing'.
git-svn-id: svn://10.0.0.236/trunk@10688 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 07:20:06 +00:00
rpotts%netscape.com
fb2abb314f Initialize Async DNS during the rest of the netlib initialization. This will take place on the netlib thread (where appropriate...)
git-svn-id: svn://10.0.0.236/trunk@10687 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 07:03:54 +00:00
rpotts%netscape.com
6cd03c57b9 Move DNS initialization out to when Netlib is initialized. This ensures that the initialization takes place on the Netlib Thread.
git-svn-id: svn://10.0.0.236/trunk@10686 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 07:02:20 +00:00
beard%netscape.com
ce650a3936 Added :mozilla:dist:nava-java: to access paths, to override :dist:liveconnect: version of netscape_java_JSObject.h, which #includes <jni.h>.
git-svn-id: svn://10.0.0.236/trunk@10685 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 06:48:07 +00:00
pierre%netscape.com
d4753fee99 handle Quit cmd (added mMacPump in order to call StopRunnning)
git-svn-id: svn://10.0.0.236/trunk@10684 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 04:22:57 +00:00
pierre%netscape.com
0c9c5041c3 implemented menu events
git-svn-id: svn://10.0.0.236/trunk@10683 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 04:21:31 +00:00
pierre%netscape.com
d28dcec76e added DoMenu and StopRunning
git-svn-id: svn://10.0.0.236/trunk@10682 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 04:20:05 +00:00
pierre%netscape.com
7461840b06 destructor closes window
git-svn-id: svn://10.0.0.236/trunk@10681 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 04:18:40 +00:00
raman%netscape.com
a8251d5e68 Turn on the autoupdate preference by default. OK'ed by cathleen and jar. At this point, this is more for demo of Autoupdate feature on windows
git-svn-id: svn://10.0.0.236/trunk@10680 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 04:17:52 +00:00
pierre%netscape.com
fa7548bafd removed nsMacResource.r
git-svn-id: svn://10.0.0.236/trunk@10679 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 04:17:51 +00:00
pierre%netscape.com
422ab7fe0f updated menus
git-svn-id: svn://10.0.0.236/trunk@10678 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 04:16:39 +00:00
raman%netscape.com
5c4056bbea On windows if smartupdate is not enabled, enable autoupdate manually. OK'ed by cathleen and jar. This is more for demo of Autoupdate feature
git-svn-id: svn://10.0.0.236/trunk@10677 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 04:16:31 +00:00
raman%netscape.com
cc95aca1bc Create autoupdt directory if it doesn't exist
git-svn-id: svn://10.0.0.236/trunk@10676 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 04:15:00 +00:00
despotdaemon%netscape.com
7afc87f449 Pseudo-automatic update of changes made by cyeh@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@10675 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 04:12:09 +00:00
troy%netscape.com
adc4d0083e Changed to how broken image is handled
git-svn-id: svn://10.0.0.236/trunk@10674 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 04:01:16 +00:00
cls%seawood.org
8039a94c6a Sync'd Makefile.ins with corresponding Makefiles. Fixed problems with autoconf build. Thanks to Christopher Blizzard <blizzard@appliedtheory.com> and Tom Rini <trini@kernel.crashing.org>.
git-svn-id: svn://10.0.0.236/trunk@10673 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 03:47:27 +00:00
troy%netscape.com
d56bd3fec6 Added display of icon when loading image
git-svn-id: svn://10.0.0.236/trunk@10672 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 03:34:44 +00:00
sdagley%netscape.com
09b9d476ef per pinkerton this call to URDFUtilities::PropertyValueBool is no longer needed (and it's breaking the Mac build)
git-svn-id: svn://10.0.0.236/trunk@10671 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 03:10:12 +00:00
fur%netscape.com
430b53b9e4 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@10670 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 03:07:13 +00:00
spider%netscape.com
3787e9848b Begin hooking up the view manager
git-svn-id: svn://10.0.0.236/trunk@10667 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 02:45:21 +00:00
beard%netscape.com
80cbe1eecc Turned off registering the native methods that are now installed by the plugin.
git-svn-id: svn://10.0.0.236/trunk@10665 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 02:29:36 +00:00
blizzard%appliedtheory.com
004c7abb79 Only build liveconnect methods if OJI is defined
git-svn-id: svn://10.0.0.236/trunk@10664 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 02:26:12 +00:00
blizzard%appliedtheory.com
6c07d1e6f4 Include caps includes for prototypes
git-svn-id: svn://10.0.0.236/trunk@10663 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 02:25:43 +00:00
beard%netscape.com
e4cf2baf78 Changed all interfaces to use UNICODE strings, changed some ints to jints.
git-svn-id: svn://10.0.0.236/trunk@10662 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 02:24:56 +00:00
beard%netscape.com
2feeb0375b Added netscape_javascript_JSObject.h.
git-svn-id: svn://10.0.0.236/trunk@10661 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 02:23:44 +00:00
beard%netscape.com
52e4df93eb #include "prtypes.h" if noone else does.
git-svn-id: svn://10.0.0.236/trunk@10660 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 02:23:23 +00:00
toshok%netscape.com
cb76e927cf rework grid relayout. This fixes lots of things, like the problems of grid cells disappearing on resize, and grid cells that were specified with a fixed size acting like they were assigned a percentage on resize.
git-svn-id: svn://10.0.0.236/trunk@10659 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 02:14:49 +00:00
matt%netscape.com
34170d0ad5 Adding mak file for HP-UXB.10.20
git-svn-id: svn://10.0.0.236/trunk@10658 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 02:13:56 +00:00
peterl%netscape.com
1de0d0e996 don't set attributes that are already set
git-svn-id: svn://10.0.0.236/trunk@10657 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 02:09:26 +00:00
peterl%netscape.com
db24360778 clamp border & padding width to 0
git-svn-id: svn://10.0.0.236/trunk@10656 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 02:08:45 +00:00
peterl%netscape.com
f8aedd9a4c moved skipped content token from the attribute list to it's own slot
git-svn-id: svn://10.0.0.236/trunk@10654 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 02:07:31 +00:00
spider%netscape.com
8619f6dfcc WIP: Prep for ViewManager. Make root canvas at Container level
git-svn-id: svn://10.0.0.236/trunk@10652 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 01:35:53 +00:00
scullin%netscape.com
3e8e5f4f7e Added ngprefs test hooks.
git-svn-id: svn://10.0.0.236/trunk@10651 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 00:57:54 +00:00
scullin%netscape.com
a98743ef50 Added ngprefs dir.
git-svn-id: svn://10.0.0.236/trunk@10650 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 00:56:07 +00:00
scullin%netscape.com
4a845227e2 Added ngprefs build mechanism.
git-svn-id: svn://10.0.0.236/trunk@10649 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 00:55:04 +00:00
spider%netscape.com
0487d6f8e0 Remove old SetWidget method from Cal XML parser
git-svn-id: svn://10.0.0.236/trunk@10648 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 00:52:11 +00:00
slamm%netscape.com
1e1931c9f5 Add a parameter to HT_PaneFromURL (to match backend change that hyatt made). Fix crash on exit (We deleted the notification struct and then HT tried to send us more events).
git-svn-id: svn://10.0.0.236/trunk@10647 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 00:50:25 +00:00
sdagley%netscape.com
da168af872 Yes the tree is in flames but it'll stay that way without this mod. Reviewed/Approved hyatt. Add new paramter for call to HT_PaneFromURL.
git-svn-id: svn://10.0.0.236/trunk@10646 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 00:35:08 +00:00
rpotts%netscape.com
d2ab45317d Changed the order for deleting nsImageRequsts and the ImageGroupContext...
git-svn-id: svn://10.0.0.236/trunk@10645 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 00:27:12 +00:00
hyatt%netscape.com
f7091ec331 Support for templates added to SHACK. More properties added to front end.
git-svn-id: svn://10.0.0.236/trunk@10644 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 00:24:26 +00:00
hyatt%netscape.com
7225c36093 More properties added and template support for SHACK added.
git-svn-id: svn://10.0.0.236/trunk@10643 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 00:23:53 +00:00
scullin%netscape.com
1d2b4fc990 Removed.
git-svn-id: svn://10.0.0.236/trunk@10642 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 00:08:51 +00:00
scullin%netscape.com
6697ab47de Added.
git-svn-id: svn://10.0.0.236/trunk@10641 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 00:08:27 +00:00
cyeh%netscape.com
38029dc0ad sacrificing the chicken: try moving calls before dist
git-svn-id: svn://10.0.0.236/trunk@10640 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 00:06:11 +00:00
nisheeth%netscape.com
fdb56c6f63 Adding code submitted by Ori Kravitz (orik@mercury.co.il) that informs listeners
of keyboard/mouse events before passing the events to JS.  This is part of the
layout probe project that is trying to add test automation interfaces to the
layout engine.


git-svn-id: svn://10.0.0.236/trunk@10639 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 00:01:23 +00:00
rpotts%netscape.com
bba6403a16 Fixes for platforms where NETLIB_THREAD is not defined... only create proxies if NETLIB_THREAD is defined
git-svn-id: svn://10.0.0.236/trunk@10638 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 23:58:55 +00:00
nisheeth%netscape.com
b1e81f16d9 Added code submitted by Ori Kravitz (orik@mercury.co.il) that informs listeners
that all network connections have completed for the current page.  This is part
of the Layout Probe project that is trying to add test automation interfaces to
the layout engine.


git-svn-id: svn://10.0.0.236/trunk@10637 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 23:58:14 +00:00
beard%netscape.com
8c909c2738 Changed use of stricmp to XP_STRCASECMP, fixed reference to platform-specific pText field in LO_TextStruct_struct.
git-svn-id: svn://10.0.0.236/trunk@10636 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 23:51:48 +00:00
pierre%netscape.com
02e822d3bc fixed raptor build: added nsNetThread.cpp to the 'modular' targets
git-svn-id: svn://10.0.0.236/trunk@10635 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 23:45:52 +00:00
terry%netscape.com
4fc22b4fc7 Patch by (mostly) Bert Driehuis <bert_driehuis@nl.compuware.com> --
explain a bit about the versioncache file.


git-svn-id: svn://10.0.0.236/trunk@10634 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 23:29:39 +00:00
spider%netscape.com
004a69c80c Fix to getDefaultCursor on all mouse motion events based on mouse pt
git-svn-id: svn://10.0.0.236/trunk@10632 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 23:25:41 +00:00
pierre%netscape.com
0e14d5b2fa added gif and jpg files to the samples folder
git-svn-id: svn://10.0.0.236/trunk@10631 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 23:16:10 +00:00
spider%netscape.com
6b5cf5e240 Change the cursor based on the splitter's orientation
git-svn-id: svn://10.0.0.236/trunk@10630 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 23:04:32 +00:00
akkana%netscape.com
238a3242ed Fix build error: C++ comment in file included by C files
git-svn-id: svn://10.0.0.236/trunk@10629 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 22:43:50 +00:00
beard%netscape.com
cdb3424e64 Removed nsINetworkManager.
git-svn-id: svn://10.0.0.236/trunk@10628 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 22:18:43 +00:00
nisheeth%netscape.com
9499876f5c Adding files created by Ori Kravitz (orik@mercury.co.il) for exposing
interfaces for testing the layout engine.


git-svn-id: svn://10.0.0.236/trunk@10627 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 22:16:41 +00:00
ramiro%netscape.com
6072a45816 Fix taskbar action button transparency.
git-svn-id: svn://10.0.0.236/trunk@10626 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 22:08:18 +00:00
nisheeth%netscape.com
82480418fa Adding build support for modules/libtest if MOZ_LIBTEST is defined.
git-svn-id: svn://10.0.0.236/trunk@10625 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 22:08:05 +00:00
dcone%netscape.com
48e20a157a scroll bar is drawing, nothing else
git-svn-id: svn://10.0.0.236/trunk@10623 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 21:56:55 +00:00
nisheeth%netscape.com
faed7fd133 Checking in changes made for the Layout Probe API project by Ori Kravitz
(orik@mercury.co.il) and Andrei Romanov (aromanov@segue.com).


git-svn-id: svn://10.0.0.236/trunk@10622 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 21:54:50 +00:00
dcone%netscape.com
d8061bc83e Fixed alpha layer
git-svn-id: svn://10.0.0.236/trunk@10621 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 21:46:39 +00:00
nisheeth%netscape.com
9e48820e1e Add LAYPROBE_API to compiler defines if MOZ_LIBTEST is set.
git-svn-id: svn://10.0.0.236/trunk@10620 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 21:46:38 +00:00
dcone%netscape.com
2318cb3fa3 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@10619 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 21:43:58 +00:00
nisheeth%netscape.com
abeee03606 Adding build support for modules/libtest that exposes interfaces for
testing the layout engine.


git-svn-id: svn://10.0.0.236/trunk@10618 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 21:43:38 +00:00
terry%netscape.com
43c01aad71 Now works under "use strict".
git-svn-id: svn://10.0.0.236/trunk@10617 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 21:15:42 +00:00
sudu%netscape.com
e149fac3a4 Added back a initializer which I missed in last merge
git-svn-id: svn://10.0.0.236/trunk@10616 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 21:01:16 +00:00
spider%netscape.com
f3a593464f WIP: Splittable Canvas
git-svn-id: svn://10.0.0.236/trunk@10615 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 21:00:53 +00:00
ramiro%netscape.com
998d0a9865 Add a margin to taskbar action button.
git-svn-id: svn://10.0.0.236/trunk@10614 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 20:55:53 +00:00
ramiro%netscape.com
09c3da1b92 Remove unused taskbar stuff.
git-svn-id: svn://10.0.0.236/trunk@10613 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 20:51:41 +00:00
ramiro%netscape.com
d763585f82 Unbreak the taskbar some more.
git-svn-id: svn://10.0.0.236/trunk@10612 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 20:50:25 +00:00
beard%netscape.com
145d5f65c1 Added JVM_SpendTime.
git-svn-id: svn://10.0.0.236/trunk@10611 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 20:47:21 +00:00
jsun%netscape.com
2b0e455357 Removed memory leak.
The leak occurred in InitialLoadData when
copying the fetched events from the vector returned by FetchEventsByRange
to the mpShell->m_pCalendar.


git-svn-id: svn://10.0.0.236/trunk@10610 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 20:45:43 +00:00
beard%netscape.com
9596756b89 Added SpendTime to nsIJVMPlugin. Only turned on for XP_MAC, to avoid breaking other's plugins.
git-svn-id: svn://10.0.0.236/trunk@10609 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 20:41:19 +00:00
ramiro%netscape.com
826f56ec53 Add a callback to control which toolbar children are resized to the max
dimensions.


git-svn-id: svn://10.0.0.236/trunk@10608 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 20:20:14 +00:00
ramiro%netscape.com
01e9b6890c Callback reason modularization.
git-svn-id: svn://10.0.0.236/trunk@10605 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 19:49:21 +00:00
troy%netscape.com
225e1b2cb4 Fixed dump-tree problem
git-svn-id: svn://10.0.0.236/trunk@10603 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 19:33:21 +00:00
spider%netscape.com
3a4a8e7217 Add support for ActionCommand's to trickle up the canvas hierarchy
until command gets processed.  Support for LoadUrl in Container also
implemented.


git-svn-id: svn://10.0.0.236/trunk@10602 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 19:27:44 +00:00
sudu%netscape.com
92ec0851aa Bring autoconf build up to date with non-autoconf build
git-svn-id: svn://10.0.0.236/trunk@10599 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 19:25:58 +00:00
terry%netscape.com
803b2253ce Patch by Bert Driehuis <bert_driehuis@nl.compuware.com> -- recognize
BSDI systems.


git-svn-id: svn://10.0.0.236/trunk@10596 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 18:51:33 +00:00
spider%netscape.com
c613528fc5 platform independe libnls libs
git-svn-id: svn://10.0.0.236/trunk@10595 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 18:37:17 +00:00
buster%netscape.com
647a672694 added "center" to table horizontal align attribute as a legal value, although the HTML4 spec
says "middle" for h-align and "center" for v-align.  But Nav4 and IE both accept "center" as
well as "middle", so now we do too.


git-svn-id: svn://10.0.0.236/trunk@10594 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 18:34:30 +00:00
blizzard%appliedtheory.com
a3518e5690 Add the include/private directory to the include path
git-svn-id: svn://10.0.0.236/trunk@10593 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 18:18:29 +00:00
rpotts%netscape.com
34d304090c Moved the code to mangle resource: URLs into file: URLs out of the Url::Open(...) method and into the NetServiceManager...
git-svn-id: svn://10.0.0.236/trunk@10592 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 18:15:26 +00:00
cyeh%netscape.com
326152568e check-in and pray: trying a delay of 10 seconds before each external perl tool call.3
git-svn-id: svn://10.0.0.236/trunk@10591 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 18:12:30 +00:00
terry%netscape.com
79b9bd88b2 Was generating garbage instead of the Cc: line.
git-svn-id: svn://10.0.0.236/trunk@10590 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 18:07:52 +00:00
norris%netscape.com
01993cd6e1 Fix bug 122041 "get illegal url when having foo.html?http://norris.html"
git-svn-id: svn://10.0.0.236/trunk@10588 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 17:49:36 +00:00
cyeh%netscape.com
916de29ee4 adding a 10 second delay in the hopes that this will cause the automation to work.+
git-svn-id: svn://10.0.0.236/trunk@10587 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 17:48:17 +00:00
kin%netscape.com
b4607052d2 Removed the ParagraphStyle and CharacterUnderline buttons from the HTMLArea
toolbar.


git-svn-id: svn://10.0.0.236/trunk@10584 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 17:38:41 +00:00
kin%netscape.com
e4d173eef8 Modified htmlarea_create() use the current_text if it exists. Fixes HTMLArea
reload, page forward and back.


git-svn-id: svn://10.0.0.236/trunk@10583 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 17:36:59 +00:00
kin%netscape.com
685f033647 Fix for bug #318302: "Undo" leaves a line of text
Removed call to StartTyping(), in CEditBuffer::ReturnKey(), for the
case where bTyping is false.
Reviewed by cmanske. Approved by marek.

Added parens around a set of conditions in CEditBuffer::PasteText() to prevent
the occassional dereferencing of a null pointer.


git-svn-id: svn://10.0.0.236/trunk@10582 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 17:33:14 +00:00
blizzard%appliedtheory.com
d7c97208e8 Only try to detect Motif if you plan on building xfe
git-svn-id: svn://10.0.0.236/trunk@10581 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 17:29:32 +00:00
spider%netscape.com
3322333c7d Moving images to subdirectory off of XML ui description files
git-svn-id: svn://10.0.0.236/trunk@10580 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 17:27:21 +00:00
spider%netscape.com
cbce85cf02 Adding NPL's which were mistakenly forgotten upon initial checkin
git-svn-id: svn://10.0.0.236/trunk@10578 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 17:18:04 +00:00
norris%netscape.com
376d6feeba Fix bug 323696 "js12: unimplemented bytecode error in switch test"
Rename js_ResetCodeGenerator to js_FinishCodeGenerator to indicate that
js_InitCodeGenerator must be called after finish before it can be reused.


git-svn-id: svn://10.0.0.236/trunk@10577 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 17:17:26 +00:00
troy%netscape.com
21d3525b26 Fixed a bug introduced with the LastFrame() changes
git-svn-id: svn://10.0.0.236/trunk@10576 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 16:37:38 +00:00
troy%netscape.com
e592c4b9fd Fixed some horkage I introduced
git-svn-id: svn://10.0.0.236/trunk@10575 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 16:35:49 +00:00
troy%netscape.com
558109f391 Updated to latest DOM
git-svn-id: svn://10.0.0.236/trunk@10574 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 16:31:54 +00:00
spider%netscape.com
8279500d2f WIP: NLS stub implementation on NSPR
git-svn-id: svn://10.0.0.236/trunk@10573 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 16:13:08 +00:00
ramiro%netscape.com
6dec4084ff Un-break the taskbar some more.
git-svn-id: svn://10.0.0.236/trunk@10572 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 14:20:52 +00:00
ramiro%netscape.com
9cab6028bc Add XfeTabGetOrientation().
git-svn-id: svn://10.0.0.236/trunk@10571 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 13:47:39 +00:00
ramiro%netscape.com
74ab511457 Add XfeToolBar.
git-svn-id: svn://10.0.0.236/trunk@10570 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 13:22:45 +00:00
ramiro%netscape.com
a670622534 Create the ender toolbar item only when needed.
git-svn-id: svn://10.0.0.236/trunk@10569 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 12:22:38 +00:00
mcafee%netscape.com
d81d62f835 Initial version, borrowed from webshell/tests/viewer
git-svn-id: svn://10.0.0.236/trunk@10568 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 08:03:35 +00:00
mcafee%netscape.com
8f3cae2366 NGLayout source is src2
git-svn-id: svn://10.0.0.236/trunk@10567 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 08:00:15 +00:00
mcafee%netscape.com
f5245c1966 Added FE_GetRelatedLinksContext()
git-svn-id: svn://10.0.0.236/trunk@10566 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 05:30:47 +00:00
mcafee%netscape.com
d72cbff971 Renamed init() to read(), save() to write().
git-svn-id: svn://10.0.0.236/trunk@10565 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 05:29:26 +00:00
mcafee%netscape.com
d66ad63461 Added support for Smart Browsing
git-svn-id: svn://10.0.0.236/trunk@10564 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 05:27:50 +00:00
mcafee%netscape.com
2dac0fce6e read_str is now fe_PrefReadString(), write_str() is fe_PrefWriteString()
git-svn-id: svn://10.0.0.236/trunk@10563 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 05:25:49 +00:00
mcafee%netscape.com
eeef033d32 Added updateRelatedLinksShowing()
git-svn-id: svn://10.0.0.236/trunk@10562 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 05:25:09 +00:00
mcafee%netscape.com
d4ad203ca1 Removed cookie stuff from fe_GlobalPrefs
git-svn-id: svn://10.0.0.236/trunk@10561 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 05:24:30 +00:00
mcafee%netscape.com
f2e7b9f28d Unused variable warning on Linux
git-svn-id: svn://10.0.0.236/trunk@10560 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 04:58:41 +00:00
mcafee%netscape.com
fc6f5d428f Merging SmartBrowsing prefs in from Nova.
git-svn-id: svn://10.0.0.236/trunk@10559 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 04:44:42 +00:00
mcafee%netscape.com
e2b0aa940c Unused variables warnings on Linux
git-svn-id: svn://10.0.0.236/trunk@10558 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 04:43:33 +00:00
mcafee%netscape.com
6b2934e06f Fixing compiler warning on Linux
git-svn-id: svn://10.0.0.236/trunk@10557 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 04:42:13 +00:00
troy%netscape.com
2731820910 Removed references to mFirstContentOffset, mLastContentIsComplete, and mChildCount
git-svn-id: svn://10.0.0.236/trunk@10556 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 03:50:44 +00:00
troy%netscape.com
82426e2926 Removed references to mFirstContentOffset
git-svn-id: svn://10.0.0.236/trunk@10555 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 03:47:45 +00:00
troy%netscape.com
90cbfd4db8 Removed all references to m<First,Last>ContentOffset,mChildCount,mLastContentIsComplete
git-svn-id: svn://10.0.0.236/trunk@10554 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 03:40:32 +00:00
michaelp%netscape.com
f5847039d8 now correctly refreshes the window in ForceRefresh().
git-svn-id: svn://10.0.0.236/trunk@10553 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-20 22:24:21 +00:00
ramiro%netscape.com
6d78dfcafa This is a temprary hack to fix the "off by one" toolbar closed problem that
occurs when all toolbox items are closed.


git-svn-id: svn://10.0.0.236/trunk@10552 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-20 17:17:12 +00:00
ramiro%netscape.com
ff7a8c8a7e Remove superflous XmNchildUsePreferred{Width,Height} resources.
git-svn-id: svn://10.0.0.236/trunk@10551 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-20 17:06:05 +00:00
ramiro%netscape.com
283c2c2a9c Add a comment in place of broken feature.
git-svn-id: svn://10.0.0.236/trunk@10550 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-20 16:14:06 +00:00
ramiro%netscape.com
d1409f23fa Fix a typo.
git-svn-id: svn://10.0.0.236/trunk@10549 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-20 16:13:44 +00:00
ramiro%netscape.com
f3918106e8 A better name. layout_frozen instead of ignore_configure.
git-svn-id: svn://10.0.0.236/trunk@10548 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-20 16:01:12 +00:00
ramiro%netscape.com
63e37513dd Allow each toolbar child's width/height to be forced to the max individually.
Before, it was either all or nothing which was bad when getting dynamic
toolbars to work, especially with complicated toolbar items such as a
combo box.


git-svn-id: svn://10.0.0.236/trunk@10547 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-20 13:32:41 +00:00
ramiro%netscape.com
8d67666fe5 Move unused Splash.cpp into an ifdef NSPR_SPLASH.
git-svn-id: svn://10.0.0.236/trunk@10546 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-20 11:29:58 +00:00
ramiro%netscape.com
427cec04c9 Fix a type and update autoconf makefile.
git-svn-id: svn://10.0.0.236/trunk@10545 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-20 11:22:41 +00:00
ramiro%netscape.com
060696ebcd Remove taskbar widget and use toolbar instead. UNBLOAT.
git-svn-id: svn://10.0.0.236/trunk@10544 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-20 11:05:00 +00:00
ramiro%netscape.com
eb6509d939 Un-break MOZ_TASKBAR.
git-svn-id: svn://10.0.0.236/trunk@10543 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-20 09:18:38 +00:00
ramiro%netscape.com
32e7febdab Add missing rep type.
git-svn-id: svn://10.0.0.236/trunk@10542 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-20 08:37:33 +00:00
ramiro%netscape.com
c8d8550d35 Use a better name: FIXED_SIZE instead of OFFSET.
git-svn-id: svn://10.0.0.236/trunk@10541 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-20 06:48:31 +00:00
ramiro%netscape.com
bf118b3d3d Simplufy the XFE_RDFChromeTreeView class by using a divider instead of all
those broken XmForm hacks.


git-svn-id: svn://10.0.0.236/trunk@10540 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-20 06:39:43 +00:00
ramiro%netscape.com
8f5d66c624 More modularization changes. Move all the string defs and registration
functions to the respective places where they are needed.  Also cleanup up
a bunch of children info stuff.


git-svn-id: svn://10.0.0.236/trunk@10539 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-20 06:38:24 +00:00
ramiro%netscape.com
32bdffd1b0 Add #include <Xfe/Cascade.h>.
git-svn-id: svn://10.0.0.236/trunk@10538 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-20 06:34:28 +00:00
ramiro%netscape.com
a8c02ff8ad Fix crash when creating a chromeless window. Dont de-reference a NULL
toolbar.


git-svn-id: svn://10.0.0.236/trunk@10537 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-20 06:33:35 +00:00
ramiro%netscape.com
c6aad7fa64 Add divider.
git-svn-id: svn://10.0.0.236/trunk@10536 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-20 06:32:11 +00:00
rpotts%netscape.com
ca38b8546f Added NPL and made the implementation threadsafe.
git-svn-id: svn://10.0.0.236/trunk@10535 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-20 05:56:41 +00:00
rpotts%netscape.com
32ede4839b Added NPL and fixed typo in GUID #define
git-svn-id: svn://10.0.0.236/trunk@10534 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-20 05:56:11 +00:00
rpotts%netscape.com
c706bf9b24 Added missing NS_RELEASE(...)
git-svn-id: svn://10.0.0.236/trunk@10533 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-20 05:28:25 +00:00
rpotts%netscape.com
d0c8f23dbc Fixed nettest to work with threaded netlib...
git-svn-id: svn://10.0.0.236/trunk@10531 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-20 05:13:42 +00:00
buster%netscape.com
1524945a4b captions now work properly with new frame layout strategy.
nsTableOuterFrame->mFirstChild==nsTableOuterFrame->mInnerTableFrame, always.


git-svn-id: svn://10.0.0.236/trunk@10530 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-20 04:50:08 +00:00
brendan%netscape.com
0bca4e931e Fix last checkin.
git-svn-id: svn://10.0.0.236/trunk@10528 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-20 02:58:41 +00:00
wtc%netscape.com
ed3165f8cc Removed the NSPR20 macro definition for XP_MAC.
git-svn-id: svn://10.0.0.236/trunk@10527 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-20 01:04:58 +00:00
wtc%netscape.com
23894090e4 Compile this file only if HAVE_SNPRINTF is not defined so that we
won't accidentally override the system's snprintf and vsnprintf
functions.  This patch is contributed by Soren Juul Moller <sjm@nwc.dk>.


git-svn-id: svn://10.0.0.236/trunk@10526 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-20 00:58:30 +00:00
wtc%netscape.com
d01d831960 Backed out the HAVE_LONG_LONG change temporarily because
it breaks binary compatibility.  We will put it back in
after the v3.0 release is branched off.


git-svn-id: svn://10.0.0.236/trunk@10525 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-20 00:50:31 +00:00
wtc%netscape.com
1530a9b3df Bug fix: If the envp argument for PR_CreateProcess is NULL,
call execv (instead of execve) so that the new process inherits
the environment of the parent process.


git-svn-id: svn://10.0.0.236/trunk@10524 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-20 00:21:35 +00:00
wtc%netscape.com
4862b6113f Renamed the 'index' argument for PR_Get/SetThreadPrivate to 'tpdIndex'.
This is because BSD systems have a funciton named 'index' in
<string.h>, and if you compile with the -Wshadow flag, gcc warns
that our declaration of `index' shadows global declaration.
Thanks to Ben Laurie <ben@algroup.co.uk> for the problem report
and the suggested workaround.


git-svn-id: svn://10.0.0.236/trunk@10523 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-20 00:18:18 +00:00
troy%netscape.com
bb6e9bfbd9 Work in progress for displaying icon while laoding image...
git-svn-id: svn://10.0.0.236/trunk@10522 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-20 00:08:24 +00:00
wtc%netscape.com
ee405299d7 Added the 'const' qualifier to the 'fmt' argument for PR_FormatTime.
This patch is contributed by Ben Laurie <ben@algroup.co.uk>.
Files changed: prtime.h and prtime.c.


git-svn-id: svn://10.0.0.236/trunk@10521 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 23:52:13 +00:00
blizzard%appliedtheory.com
a750ddf2ea Bring autoconf build into sync with non-autoconf build
git-svn-id: svn://10.0.0.236/trunk@10520 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 22:40:53 +00:00
blizzard%appliedtheory.com
02582a5d11 Bring autoconf build up to date with non-autoconf build
git-svn-id: svn://10.0.0.236/trunk@10519 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 22:28:51 +00:00
morse%netscape.com
0c6461d468 fix up wording in cookie nag box
git-svn-id: svn://10.0.0.236/trunk@10516 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 16:27:16 +00:00
morse%netscape.com
769ce4cff2 avoid js crash in cookie viewer if cookie->host or cookie->path contain a quote
git-svn-id: svn://10.0.0.236/trunk@10515 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 15:15:59 +00:00
mcafee%netscape.com
691dfa71eb Adding support for Rhapsody
git-svn-id: svn://10.0.0.236/trunk@10514 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 08:51:59 +00:00
mcafee%netscape.com
7f4d9acaeb Rhapsody doesn't like to link with -m
git-svn-id: svn://10.0.0.236/trunk@10513 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 08:48:00 +00:00
mcafee%netscape.com
4a2e9a7966 Fixing Linux breakage
git-svn-id: svn://10.0.0.236/trunk@10512 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 08:42:51 +00:00
mcafee%netscape.com
b8d1e851dd Adding support for non-Linux OS's
git-svn-id: svn://10.0.0.236/trunk@10511 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 08:25:04 +00:00
mcafee%netscape.com
77f908d781 Adding more portable link line for non-Linux OS's
git-svn-id: svn://10.0.0.236/trunk@10510 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 07:49:42 +00:00
mcafee%netscape.com
39523b600e Initial stub version for Rhapsody
git-svn-id: svn://10.0.0.236/trunk@10509 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 07:31:47 +00:00
mcafee%netscape.com
bbc3e473b7 Adding support for Rhapsody
git-svn-id: svn://10.0.0.236/trunk@10508 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 07:21:28 +00:00
mcafee%netscape.com
7b0dbb4932 Initial version for Rhapsody
git-svn-id: svn://10.0.0.236/trunk@10507 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 07:21:02 +00:00
rpotts%netscape.com
9bda26caf9 Added new file nsNetThread.cpp
git-svn-id: svn://10.0.0.236/trunk@10506 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 07:09:45 +00:00
rpotts%netscape.com
5d24c277c9 Added a new file nsNetThread.cpp and the NETLIB_THREAD define
git-svn-id: svn://10.0.0.236/trunk@10505 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 07:08:47 +00:00
rpotts%netscape.com
dc73b41e94 changed the nsNetService to create a dedicated thread for netlib (on windows only for now)
git-svn-id: svn://10.0.0.236/trunk@10504 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 07:08:09 +00:00
rpotts%netscape.com
2845e43acc Made the nsISupports interface threadsafe...
git-svn-id: svn://10.0.0.236/trunk@10503 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 07:06:48 +00:00
rpotts%netscape.com
1ff3503847 Made the nsISupports and nsIRefreshURL interfaces threadsafe...
git-svn-id: svn://10.0.0.236/trunk@10502 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 07:06:07 +00:00
rpotts%netscape.com
39dc7e01c5 Added NSPR DLL to the link which is required for monitors...
git-svn-id: svn://10.0.0.236/trunk@10501 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 07:04:00 +00:00
rpotts%netscape.com
97fe271a46 made URLImpl threadsafe...
git-svn-id: svn://10.0.0.236/trunk@10500 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 07:03:19 +00:00
rpotts%netscape.com
da9754e0a3 Made the netlib blocking stream work correctly when netlib is running on its own thread
git-svn-id: svn://10.0.0.236/trunk@10499 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 07:02:25 +00:00
rpotts%netscape.com
7ba26a9d15 Fixed the reference counting of the URL_Struct being held by the HttpUrl.
git-svn-id: svn://10.0.0.236/trunk@10498 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 07:00:29 +00:00
rpotts%netscape.com
9536efd914 new files which create a dedicated thread for netlib
git-svn-id: svn://10.0.0.236/trunk@10497 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 06:59:33 +00:00
mcafee%netscape.com
cb0dad87de Adding support for Rhapsody
git-svn-id: svn://10.0.0.236/trunk@10496 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 06:58:53 +00:00
rpotts%netscape.com
e5b7068791 Added correct NPL
git-svn-id: svn://10.0.0.236/trunk@10495 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 06:58:32 +00:00
mcafee%netscape.com
90a096689a Initial version, copied from ../unix
git-svn-id: svn://10.0.0.236/trunk@10494 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 06:58:15 +00:00
rpotts%netscape.com
005e45fa59 enabled thread-safe code which was previously only used when JAVA was defined.
git-svn-id: svn://10.0.0.236/trunk@10493 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 06:57:29 +00:00
rpotts%netscape.com
da5741d35d Made nsTraceRefcnt threadsafe...
git-svn-id: svn://10.0.0.236/trunk@10492 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 06:56:22 +00:00
rpotts%netscape.com
70590f0a2a Added threadsafe implementations of Addref()/Release()/QueryInterface()
git-svn-id: svn://10.0.0.236/trunk@10491 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 06:55:30 +00:00
rpotts%netscape.com
1ab1258079 Enabled netlib lock when NS_MT_SUPPORTED is defined
git-svn-id: svn://10.0.0.236/trunk@10490 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 06:54:17 +00:00
rpotts%netscape.com
8db0346764 Turned on Multi-threaded define for windows... (NGLayout only)
git-svn-id: svn://10.0.0.236/trunk@10489 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 06:50:43 +00:00
mcafee%netscape.com
201d6cafda Adding support for non-X11 Unix systems
git-svn-id: svn://10.0.0.236/trunk@10488 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 06:21:01 +00:00
terry%netscape.com
dbab632bf4 Whoops. Ignore anything that tries to override the version number in
the params file.


git-svn-id: svn://10.0.0.236/trunk@10487 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 06:20:13 +00:00
mcafee%netscape.com
437157a453 Fixing -lm not found link error when linking libimg.
git-svn-id: svn://10.0.0.236/trunk@10486 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 06:20:10 +00:00
terry%netscape.com
6169849f2e Updated version string to 2.1 (development)
git-svn-id: svn://10.0.0.236/trunk@10485 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 06:08:15 +00:00
terry%netscape.com
590b42958c Updated version string to 2.0 (shipping)
git-svn-id: svn://10.0.0.236/trunk@10483 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 06:02:20 +00:00
terry%netscape.com
9766a1b60c Make it clear to people that "%version%" will work.
git-svn-id: svn://10.0.0.236/trunk@10482 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 05:48:09 +00:00
terry%netscape.com
9a9d2d401d Change default banner to include version info.
git-svn-id: svn://10.0.0.236/trunk@10481 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 05:47:54 +00:00
troy%netscape.com
4046dc8f39 Changes to nsIFrame
git-svn-id: svn://10.0.0.236/trunk@10480 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 05:03:08 +00:00
terry%netscape.com
de647fe34d Updated version string to 1.3 (development)
git-svn-id: svn://10.0.0.236/trunk@10479 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 04:52:13 +00:00
terry%netscape.com
c8c5bd886a Add simple support for a version string.
git-svn-id: svn://10.0.0.236/trunk@10478 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 04:38:12 +00:00
troy%netscape.com
fcf6ebb325 Changed FrameInserted incremental reflow code to insert the new frame
into the child frame list


git-svn-id: svn://10.0.0.236/trunk@10477 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 04:29:36 +00:00
troy%netscape.com
82c24af034 Removed farme enumeration member functions for indexed access, last child,
and child count


git-svn-id: svn://10.0.0.236/trunk@10475 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 03:24:26 +00:00
ftang%netscape.com
c04615a2c8 fix mac
git-svn-id: svn://10.0.0.236/trunk@10474 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 03:00:21 +00:00
terry%netscape.com
e3271696e2 Patch from Sam Ziegler <ziegler@mediaguaranty.com> -- Don't choke if argv is empty.
git-svn-id: svn://10.0.0.236/trunk@10473 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 02:35:09 +00:00
terry%netscape.com
48fc7dd684 Patch from Sam Ziegler <ziegler@mediaguaranty.com> -- add the URL for TiemDate.
git-svn-id: svn://10.0.0.236/trunk@10472 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 02:34:41 +00:00
pierre%netscape.com
0c5cda0630 added DoResizeWidgets()
git-svn-id: svn://10.0.0.236/trunk@10471 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 01:40:26 +00:00
pierre%netscape.com
55664594c2 added DoResizeWidgets() + fixed Create to handle resize events + imported minor fixes from Windows
git-svn-id: svn://10.0.0.236/trunk@10470 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 01:40:13 +00:00
pierre%netscape.com
55be47f4b9 use PR_IntervalNow() for mLastRefresh
git-svn-id: svn://10.0.0.236/trunk@10469 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 01:39:47 +00:00
pierre%netscape.com
ec7bff8ef9 use UnitConversion macros + some cleanup in DrawString
git-svn-id: svn://10.0.0.236/trunk@10468 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 01:38:51 +00:00
pierre%netscape.com
be6891db14 added 'demo #0'
git-svn-id: svn://10.0.0.236/trunk@10467 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 01:38:37 +00:00
pierre%netscape.com
1182fd5611 implemented resize events and redraw on resize
git-svn-id: svn://10.0.0.236/trunk@10466 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 01:38:26 +00:00
pierre%netscape.com
63d4ed7613 use UnitConversion macros + some cleanup in GetWidth
git-svn-id: svn://10.0.0.236/trunk@10465 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 01:38:10 +00:00
raman%netscape.com
b7141cc833 Added support for unsigned JAR files. This feature is controlled by a preference
git-svn-id: svn://10.0.0.236/trunk@10464 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 01:27:20 +00:00
raman%netscape.com
a36626c6b7 Added a preference to control unsigned JAR files for SmartUpdate
git-svn-id: svn://10.0.0.236/trunk@10463 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 01:26:21 +00:00
raman%netscape.com
394241f708 Added AllJavaPermission target to give complete access to all permissions in Javasoft's JVM
git-svn-id: svn://10.0.0.236/trunk@10462 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 01:25:32 +00:00
raman%netscape.com
92d1f8dbfc Added AllJavaPermission target to give complete access to all permissions in Javasoft's JVM
git-svn-id: svn://10.0.0.236/trunk@10461 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 01:25:05 +00:00
despotdaemon%netscape.com
c8f993367d Pseudo-automatic update of changes made by alecf@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@10460 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 01:10:33 +00:00
despotdaemon%netscape.com
1b6dcf963b Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@10459 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 01:03:27 +00:00
wtc%netscape.com
6a3fdcf92b Moved the obsolete function PR_SetStdioRedirect from probslet.h
back to prproces.h because we don't want to break source
compatibility in this release.


git-svn-id: svn://10.0.0.236/trunk@10458 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 01:00:52 +00:00
ftang%netscape.com
15a65a6da1 Make the history entry to store UTF8 text. We will graduately change FE code also to deal with UTF8 in history database. We need this to make the RDF history access correctly handle Multilingual text
git-svn-id: svn://10.0.0.236/trunk@10457 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 00:33:04 +00:00
ftang%netscape.com
66c7934273 fix bug 147200 by merge nova code
git-svn-id: svn://10.0.0.236/trunk@10456 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 00:30:31 +00:00
ftang%netscape.com
729e100574 Fix the DrawText problem
git-svn-id: svn://10.0.0.236/trunk@10455 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 00:27:03 +00:00
ftang%netscape.com
1aa599717a fix 147200 by merge nova code
git-svn-id: svn://10.0.0.236/trunk@10454 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 00:25:16 +00:00
ftang%netscape.com
cddd352fe4 fix bug 147200 by merge code from nova
git-svn-id: svn://10.0.0.236/trunk@10453 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 00:23:58 +00:00
ftang%netscape.com
c43a7fc0eb fix bug 147200 by merge code from nova
1. Add t61 conversion table
2. change Japanese conversion table on window to use the cp932 table instead.


git-svn-id: svn://10.0.0.236/trunk@10452 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 00:22:09 +00:00
ftang%netscape.com
681f028c40 fix 147200. merged from nova
git-svn-id: svn://10.0.0.236/trunk@10451 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 00:18:00 +00:00
raman%netscape.com
9fab93c0d3 Added CertChain Principal support for Javasoft. Added calls for AskPermission and SetPermission
git-svn-id: svn://10.0.0.236/trunk@10450 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 00:06:44 +00:00
pierre%netscape.com
80554f1b46 added nsScrollbar to fix a build breakage
git-svn-id: svn://10.0.0.236/trunk@10449 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 23:51:30 +00:00
pierre%netscape.com
fb31c68e28 Replaced a faulty line with NS_ERROR in order to fix a build breakage. Don will do the right thing later.
git-svn-id: svn://10.0.0.236/trunk@10448 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 23:50:04 +00:00
pierre%netscape.com
fb8add8fab remove outdated manifest files
(closed tree override: raptor build only)


git-svn-id: svn://10.0.0.236/trunk@10447 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 23:47:52 +00:00
sman%netscape.com
b7358826c8 minor updates to layers.
git-svn-id: svn://10.0.0.236/trunk@10446 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 22:54:48 +00:00
troy%netscape.com
b6ecc473ac Attempt number three...
git-svn-id: svn://10.0.0.236/trunk@10445 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 22:54:16 +00:00
troy%netscape.com
07d650b35f Attempt number two...
git-svn-id: svn://10.0.0.236/trunk@10444 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 22:51:36 +00:00
troy%netscape.com
e2934b277d Attempt number one to fix Linux builds...
git-svn-id: svn://10.0.0.236/trunk@10443 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 22:49:15 +00:00
buster%netscape.com
41b4acb09b made sure that all attributes respect their minimum values as per HTML 4 spec.
fixed some comments.


git-svn-id: svn://10.0.0.236/trunk@10442 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 22:39:16 +00:00
pierre%netscape.com
b5c9c71f16 removed nsIContentDelegate.h
git-svn-id: svn://10.0.0.236/trunk@10441 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 22:38:19 +00:00
buster%netscape.com
d92ddd9be2 added ColIsSpannedInto, ColHasSpanningCells
moved *IsSpannedInto and *HasSpanningCells into cellmap, giving us the oppurtunity
to easily cache results if we want.  These methods are still accessed through nsTableFrame.
changed nsTableFrame::GetCellAt to nsTableFrame::GetCellFrameAt to make it more clear what
the method returns:  a frame, not content.


git-svn-id: svn://10.0.0.236/trunk@10440 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 22:37:14 +00:00
spider%netscape.com
b86ce5eb47 WIP: UnicodeString -> nsString
git-svn-id: svn://10.0.0.236/trunk@10439 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 22:18:44 +00:00
cyeh%netscape.com
ad2a89277e add *.cpp file to fix bustage. really. this time i mean it.
git-svn-id: svn://10.0.0.236/trunk@10438 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 21:52:14 +00:00
spider%netscape.com
7e4368016a Fix windows build bustage
git-svn-id: svn://10.0.0.236/trunk@10437 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 21:42:28 +00:00
troy%netscape.com
037f575ef2 Changes to ContentInserted() handler
git-svn-id: svn://10.0.0.236/trunk@10436 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 21:28:21 +00:00
norris%netscape.com
a9b08a59ee Remove ECMA v2 versioning since v2 is far from settled and we don't know which JavaScript version will implement it.
git-svn-id: svn://10.0.0.236/trunk@10435 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 20:40:35 +00:00
norris%netscape.com
8dd8360df1 Update version number and release date. Use the date of our next customer drop.
git-svn-id: svn://10.0.0.236/trunk@10434 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 20:35:09 +00:00
rogerl%netscape.com
3a8f1c97b7 Bug #315139 (aka 104859). Some discrepancies between JS1.2 behaviour for
matching at empty pattern at end of string. I'm not real confident of
this fix since it removes code that seems to explicitly address the issue,
but it does fix the bug.


git-svn-id: svn://10.0.0.236/trunk@10433 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 20:22:59 +00:00
rogerl%netscape.com
278d3c31db Bug #316839. Re-allocation of space for flat1/flat coalesce wasn't using
sizeof(jschar).


git-svn-id: svn://10.0.0.236/trunk@10432 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 20:20:53 +00:00
jband%netscape.com
79eda77222 (not part of client build) added short description to each source file
git-svn-id: svn://10.0.0.236/trunk@10430 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 19:56:45 +00:00
troy%netscape.com
95d9362a90 Added AttributeChanged() member function for communicating attribute value
changes to the frame


git-svn-id: svn://10.0.0.236/trunk@10429 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 19:53:27 +00:00
spider%netscape.com
43c60ab967 Misc fixes for building trex on unix
git-svn-id: svn://10.0.0.236/trunk@10428 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 19:00:22 +00:00
spider%netscape.com
8276a767de export header files for calendar
git-svn-id: svn://10.0.0.236/trunk@10427 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 18:59:50 +00:00
cyeh%netscape.com
1386512ee7 add needed export for nsMalloc::Create
git-svn-id: svn://10.0.0.236/trunk@10426 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 18:57:35 +00:00
spider%netscape.com
52fe0546c9 exporting classes to get julian to link with nlsstub
git-svn-id: svn://10.0.0.236/trunk@10425 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 18:45:50 +00:00
spider%netscape.com
e3dc03c00d IRIX depend fixes
git-svn-id: svn://10.0.0.236/trunk@10424 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 18:29:14 +00:00
spider%netscape.com
c5c7024db2 Unix fixes for free source julian code
git-svn-id: svn://10.0.0.236/trunk@10423 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 18:22:27 +00:00
fur%netscape.com
0f8f315f7b We decided not to create mini-NSPR
git-svn-id: svn://10.0.0.236/trunk@10421 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 18:09:26 +00:00
spider%netscape.com
fde3223be8 WIP: nlsstub implementation, NPL added to all of nlsstub
git-svn-id: svn://10.0.0.236/trunk@10420 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 18:06:30 +00:00
troy%netscape.com
d670e0e0a8 Removed CreateFrame() from nsIHTMLContent
git-svn-id: svn://10.0.0.236/trunk@10419 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 18:04:42 +00:00
troy%netscape.com
b0bdb9e357 Removed nsIContentDelegate.h
git-svn-id: svn://10.0.0.236/trunk@10418 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 17:34:48 +00:00
troy%netscape.com
b60923ad33 Removed content delegates
git-svn-id: svn://10.0.0.236/trunk@10417 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 17:18:37 +00:00
spider%netscape.com
9d4f222984 Updates to pull the latest free source calendar code
git-svn-id: svn://10.0.0.236/trunk@10416 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 16:26:58 +00:00
spider%netscape.com
7bedfe4f94 Adding nsIModel interface
git-svn-id: svn://10.0.0.236/trunk@10415 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 16:18:50 +00:00
warren%netscape.com
c3f4681a93 Added a copy of nsMalloc to get the build going.
git-svn-id: svn://10.0.0.236/trunk@10382 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 11:30:54 +00:00
warren%netscape.com
fa7106b147 Removed export for nsMalloc::Create.
git-svn-id: svn://10.0.0.236/trunk@10381 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 11:07:06 +00:00
warren%netscape.com
78de9ecbcc Fixes to eliminate nsINetworkManager
git-svn-id: svn://10.0.0.236/trunk@10380 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 10:48:12 +00:00
warren%netscape.com
7e1d05c8e7 Removed nsINetworkManager.h which is obsolete.
git-svn-id: svn://10.0.0.236/trunk@10379 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 10:28:45 +00:00
sar%netscape.com
03d031e481 We want a distinct build number for each build regardless of MOZILLA_OFFICIAL
status. This is needed for fullcircle, but it's also the right thing to do.

so add a target for build_number, and add it as a dependency to the export target
This affects win only, and I've tested it.


git-svn-id: svn://10.0.0.236/trunk@10378 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 10:09:15 +00:00
sar%netscape.com
d6fb21a0ed add nsMalloc.cpp per warren
git-svn-id: svn://10.0.0.236/trunk@10376 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 09:21:54 +00:00
warren%netscape.com
133deb962e Moved nsMalloc.cpp to modules/plugin/src.
git-svn-id: svn://10.0.0.236/trunk@10375 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 08:46:06 +00:00
warren%netscape.com
0cc33c826e Updated Mac MANIFEST files.
git-svn-id: svn://10.0.0.236/trunk@10374 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 08:39:16 +00:00
warren%netscape.com
84892de9bb Removed nsINetworkManager base class.
git-svn-id: svn://10.0.0.236/trunk@10373 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 08:35:11 +00:00
warren%netscape.com
1b2552d97a Removed nsINetworkManager.h include.
git-svn-id: svn://10.0.0.236/trunk@10372 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 07:45:24 +00:00
warren%netscape.com
9dad554faf Moved nsIMalloc and impl from xpcom to modules/plugin.
git-svn-id: svn://10.0.0.236/trunk@10370 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 07:22:48 +00:00
warren%netscape.com
8a3c9ecf3d Moved nsIMalloc and impl from xpcom.
git-svn-id: svn://10.0.0.236/trunk@10369 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 07:22:15 +00:00
warren%netscape.com
4dc47505d5 Eliminated nsINetworkManager and moved it's methods to nsIPluginManager/nsIPluginManager2.
git-svn-id: svn://10.0.0.236/trunk@10368 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 07:21:21 +00:00
ramiro%netscape.com
5580f46827 Fix build bustage, what a dumb ass.
git-svn-id: svn://10.0.0.236/trunk@10362 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 06:46:35 +00:00
ramiro%netscape.com
1cd966972f Move toolbar widgetry to its own library.
git-svn-id: svn://10.0.0.236/trunk@10361 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 06:44:53 +00:00
ramiro%netscape.com
b9e18a4de2 Move toolbar widgetry to its own library.
git-svn-id: svn://10.0.0.236/trunk@10360 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 06:12:45 +00:00
gagan%netscape.com
85642b9189 nucache based changes.
git-svn-id: svn://10.0.0.236/trunk@10359 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 05:52:24 +00:00
gagan%netscape.com
d5ec2468cc Streams fix for MemCache.
git-svn-id: svn://10.0.0.236/trunk@10358 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 05:49:47 +00:00
gagan%netscape.com
d440707c51 CacheStubs- Added InfoAsHTML for about:cache and CacheObject's Reset.
nsCacheManager- InfoAsHTML for about:cache.

nsCacheObject/nsMemStream- Reset function for rereads.


git-svn-id: svn://10.0.0.236/trunk@10357 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 05:49:01 +00:00
rpotts%netscape.com
8d1509f20c Fixed build bustage...
git-svn-id: svn://10.0.0.236/trunk@10356 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 05:25:15 +00:00
troy%netscape.com
873b42bab8 Fixed a compiler warning
git-svn-id: svn://10.0.0.236/trunk@10355 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 03:13:47 +00:00
troy%netscape.com
2abf0e6c62 Removed an unreferenced label
git-svn-id: svn://10.0.0.236/trunk@10354 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 03:10:00 +00:00
troy%netscape.com
28b7bca233 Removed some dead code
git-svn-id: svn://10.0.0.236/trunk@10353 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 03:08:23 +00:00
briano%netscape.com
8cc219ef2a Support for QNX.
git-svn-id: svn://10.0.0.236/trunk@10352 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 02:58:04 +00:00
ramiro%netscape.com
11a6d6003a Fix the "it hangs for ever" problem.
git-svn-id: svn://10.0.0.236/trunk@10351 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 02:57:31 +00:00
briano%netscape.com
ffe4c93b9c Try to support QNX. Need to hack gcc to get it to build/run on this OS ASAP....
git-svn-id: svn://10.0.0.236/trunk@10350 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 02:51:39 +00:00
briano%netscape.com
d9c5508b3d Minor change to support OpenBSD and clean up NetBSD.
git-svn-id: svn://10.0.0.236/trunk@10349 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 02:47:54 +00:00
troy%netscape.com
6a903efb38 Added CreateContinuingFrame()
git-svn-id: svn://10.0.0.236/trunk@10348 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 02:47:03 +00:00
troy%netscape.com
89adfdbbe4 Removed CreateContinuingFrame()
git-svn-id: svn://10.0.0.236/trunk@10347 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 02:46:42 +00:00
sudu%netscape.com
521eac7fdf Removed dependancy on caps/oji plugin stuff in building liveconnect
git-svn-id: svn://10.0.0.236/trunk@10342 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 02:28:50 +00:00
troy%netscape.com
752499e0be Removed some old commented out code
git-svn-id: svn://10.0.0.236/trunk@10341 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 02:28:12 +00:00
troy%netscape.com
ab310b46a0 Removed some code that's no longer needed now that we've switched to
new frame construction


git-svn-id: svn://10.0.0.236/trunk@10340 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 02:22:52 +00:00
briano%netscape.com
3f1e9d981d Got rid of the pointless LINUXy_z macros (again), and made some minor tweaks for ARM systems (NetWinder).
git-svn-id: svn://10.0.0.236/trunk@10339 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 02:16:44 +00:00
wtc%netscape.com
5f37fc94d7 Added PR_ProcessAttrSetCurrentDirectory to allow setting the current
working directory of the new process.  PR_SetStdioRedirect is renamed
PR_ProcessAttrSetStdioRedirect.  The old name is retained but moved
to obsolete/probslet.h.  This work is contributed by Ben Laurie
<ben@algroup.co.ul>.
Files changed: prproces.h, probslet.h, primpl.h, uxproces.c, ntmisc.c,
prinit.c, and parent.c.


git-svn-id: svn://10.0.0.236/trunk@10338 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 02:15:21 +00:00
troy%netscape.com
2ee95ba6e1 Added NS_INIT_REFCNT() to constructor
git-svn-id: svn://10.0.0.236/trunk@10337 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 02:05:46 +00:00
jfrancis%netscape.com
0bbea4a406 Redoing Ender toolbar.
git-svn-id: svn://10.0.0.236/trunk@10336 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 01:38:51 +00:00
warren%netscape.com
aabefb01c6 Abstracted away need for JavaVM object and GetJavaVM plugin API call.
git-svn-id: svn://10.0.0.236/trunk@10335 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 01:29:08 +00:00
jfrancis%netscape.com
49a55eb55e Redoing Ender toolbar.
git-svn-id: svn://10.0.0.236/trunk@10334 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 01:24:28 +00:00
jfrancis%netscape.com
3107ffa7bd Redoing Ender toolbar
git-svn-id: svn://10.0.0.236/trunk@10333 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 01:23:45 +00:00
warren%netscape.com
85fa7333b6 Fixed comments.
git-svn-id: svn://10.0.0.236/trunk@10332 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 01:23:04 +00:00
jfrancis%netscape.com
0452c5d0d8 Redoing the Ender toolbar
git-svn-id: svn://10.0.0.236/trunk@10331 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 01:22:28 +00:00
jband%netscape.com
c878b932b0 (not part of client build) added call/return hooks to js_Invoke and js_Execute. Also added additional accessors to jsdbgapi for JSStackFrame contents. This will better facilitate tracking exceptions as they propagate up the stack, allow for faster stepping schemes, and support less intrusive tracing/profiling schemes.
git-svn-id: svn://10.0.0.236/trunk@10329 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 00:57:11 +00:00
troy%netscape.com
d2df7b2380 Removed some commented out code that's not needed now that we're using the
new frame construction


git-svn-id: svn://10.0.0.236/trunk@10328 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 00:49:40 +00:00
joki%netscape.com
44d5557928 Adding targetting of any named window
git-svn-id: svn://10.0.0.236/trunk@10327 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 00:35:55 +00:00
jgellman%netscape.com
edc8218b01 Remove java API from the build.
git-svn-id: svn://10.0.0.236/trunk@10326 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 00:10:15 +00:00
troy%netscape.com
65a64892ea Removed some code that's no longer needed with the new frame construction code
git-svn-id: svn://10.0.0.236/trunk@10325 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 00:04:55 +00:00
troy%netscape.com
59c46e5471 Removed some code that's no longer needed now that tables are using the
new frame construction code


git-svn-id: svn://10.0.0.236/trunk@10324 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 23:54:47 +00:00
mccabe%netscape.com
6d3c8c3245 Propagate mcafee compile-warning fixes from js/src.
git-svn-id: svn://10.0.0.236/trunk@10323 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 23:48:20 +00:00
troy%netscape.com
6ab448b5ac Removed code that's no longer needed now that tables are using new
frame construction code


git-svn-id: svn://10.0.0.236/trunk@10322 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 23:46:16 +00:00
ebina%netscape.com
a08fa2244d "This doesn't make it work, but it makes it 'better'" - Kipp
git-svn-id: svn://10.0.0.236/trunk@10321 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 22:08:35 +00:00
beard%netscape.com
22e6878541 09171998 LiveConnect Carpool: build bustage: false -> PR_FALSE.
git-svn-id: svn://10.0.0.236/trunk@10320 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 22:03:45 +00:00
jsun%netscape.com
776c60206d No change.
Just wanted to notify Mozilla, Gromit trees that my
checkins (in mozilla\modules\calendar) are not being build by Mozilla or Gromit.

Only Calendar should build these files.


git-svn-id: svn://10.0.0.236/trunk@10318 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 21:40:43 +00:00
kipp%netscape.com
4e20f650e6 Register inet service so that the test works again
git-svn-id: svn://10.0.0.236/trunk@10317 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 21:33:14 +00:00
kipp%netscape.com
90becafe72 Fixed deref of unitialized memory bug in URLImpl::Open
git-svn-id: svn://10.0.0.236/trunk@10316 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 21:32:52 +00:00
troy%netscape.com
54d2e9932f Changed some AddRef/Release calls overto use XP-COM macros
git-svn-id: svn://10.0.0.236/trunk@10315 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 21:27:22 +00:00
jsun%netscape.com
8e56243356 added the changeEventsOwnership method for moving events between calendars.
git-svn-id: svn://10.0.0.236/trunk@10314 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 21:24:52 +00:00
beard%netscape.com
4c83957aaa 09171998 LiveConnect Carpool
git-svn-id: svn://10.0.0.236/trunk@10313 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 20:41:00 +00:00
beard%netscape.com
ae218ef314 09171998 LiveConnect Carpool: build bustage.
git-svn-id: svn://10.0.0.236/trunk@10312 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 20:35:10 +00:00
beard%netscape.com
ada1dee2b0 09171998 LiveConnect Carpool: build bustage (backed out to 3.3 version)
git-svn-id: svn://10.0.0.236/trunk@10311 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 20:33:21 +00:00
troy%netscape.com
b17920e27e Changed some code to use NS_NEWPCOM and NS_DELETEXPCOM
git-svn-id: svn://10.0.0.236/trunk@10310 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 20:25:26 +00:00
beard%netscape.com
2646330d9e 09171998 LiveConnect Carpool: build bustage
git-svn-id: svn://10.0.0.236/trunk@10309 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 20:18:36 +00:00
beard%netscape.com
a6cd82d8fa 09171998 LiveConnect Carpool: build bustage.
git-svn-id: svn://10.0.0.236/trunk@10308 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 20:17:57 +00:00
spider%netscape.com
a279be7c89 Adding CalendarModel framework to core
git-svn-id: svn://10.0.0.236/trunk@10307 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 20:14:25 +00:00
kostello%netscape.com
d409292d6e Fixed textfield problems from widget changes.
git-svn-id: svn://10.0.0.236/trunk@10306 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 20:07:15 +00:00
troy%netscape.com
71760eac75 Replaced some AddRef() and Release() calls with the XP-COM macros
git-svn-id: svn://10.0.0.236/trunk@10305 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 20:02:04 +00:00
valeski%netscape.com
22ce87e890 Now nulling out a variable that was causing a crash on url open.
git-svn-id: svn://10.0.0.236/trunk@10304 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 19:56:30 +00:00
beard%netscape.com
51cd10b5a9 09171998 LiveConnect Carpool: added export for nsRepository::UnregisterFactory(const nsID&,nsIFactory*).
git-svn-id: svn://10.0.0.236/trunk@10303 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 19:55:08 +00:00
troy%netscape.com
21960f2897 Changed some AddRef() and Release() calls to use the XP-COM macros
git-svn-id: svn://10.0.0.236/trunk@10302 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 19:49:10 +00:00
beard%netscape.com
d156d485ce 09171998 LiveConnect Carpool: XP_MAC, added #define of JSJDLL, and preregistering the nsILiveconnect factory.
git-svn-id: svn://10.0.0.236/trunk@10301 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 19:39:46 +00:00
beard%netscape.com
ea3cae2a29 09171998 LiveConnect Carpool: #ifndef NS_EXPORT, to not conflict with nsCom.h definition.
git-svn-id: svn://10.0.0.236/trunk@10300 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 19:22:39 +00:00
sudu%netscape.com
4688f0e06e including config.mak to get default MOZ_OJI flag being set in config
git-svn-id: svn://10.0.0.236/trunk@10299 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 19:22:38 +00:00
beard%netscape.com
1938753e23 09171998 LiveConnect Carpool: XP_MAC, fixed NS_EXPORT to actually export on the Mac.
git-svn-id: svn://10.0.0.236/trunk@10298 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 19:21:43 +00:00
sman%netscape.com
7609d1d6bc moved some files from shell to core
git-svn-id: svn://10.0.0.236/trunk@10297 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 19:21:04 +00:00
beard%netscape.com
576429899f 09171998 LiveConnect Carpool
git-svn-id: svn://10.0.0.236/trunk@10296 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 19:20:20 +00:00
beard%netscape.com
de85d9e164 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@10295 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 19:15:15 +00:00
sudu%netscape.com
4a1c1f1011 removed c++ style comments
git-svn-id: svn://10.0.0.236/trunk@10294 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 19:06:00 +00:00
sudu%netscape.com
4a658933f1 Added nsCCodeSourcePrinicipal.h to export line
git-svn-id: svn://10.0.0.236/trunk@10291 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 18:49:51 +00:00
sudu%netscape.com
3435dc668b Included confg.mk so that MOZ_OJI flag gets picked up from there. Else liveonnect dir would not be traversed
git-svn-id: svn://10.0.0.236/trunk@10290 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 18:35:15 +00:00
sudu%netscape.com
892dd2f1aa Added caps in the include line
git-svn-id: svn://10.0.0.236/trunk@10289 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 18:32:45 +00:00
sudu%netscape.com
6f6bc9a46b Moved NPL_Init after RDF_Init as NPL_Init depends on RDF stuff via caps manager
git-svn-id: svn://10.0.0.236/trunk@10288 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 18:31:47 +00:00
sman%netscape.com
c8c3a3a102 reorganize data loading.
git-svn-id: svn://10.0.0.236/trunk@10287 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 18:28:53 +00:00
sudu%netscape.com
9f4d3b87f6 Added new XPCOM apis to liveconnect
git-svn-id: svn://10.0.0.236/trunk@10285 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 18:21:49 +00:00
terry%netscape.com
c8e4c168d6 Oops. Last checkin had more ambitious code than I meant in it.
git-svn-id: svn://10.0.0.236/trunk@10284 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 18:21:03 +00:00
sudu%netscape.com
c81d4ecd99 removing jni files which were placed by mistake in _jri dir
git-svn-id: svn://10.0.0.236/trunk@10283 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 18:18:16 +00:00
sudu%netscape.com
adf1a3ab65 Resurrecting the files which were placed in wrong dir _jri
git-svn-id: svn://10.0.0.236/trunk@10282 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 18:17:04 +00:00
terry%netscape.com
fc54758da9 Give my full e-mail address.
git-svn-id: svn://10.0.0.236/trunk@10281 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 18:16:01 +00:00
sudu%netscape.com
e1bee63656 New xpcom liveconnect apis
git-svn-id: svn://10.0.0.236/trunk@10280 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 18:13:55 +00:00
sudu%netscape.com
d59e07a06e New caps manager related changes
git-svn-id: svn://10.0.0.236/trunk@10279 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 18:12:52 +00:00
sudu%netscape.com
44ef09dc26 Changed method signature of LM_GetJSPrincipalsFromJavaCaller
git-svn-id: svn://10.0.0.236/trunk@10278 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 18:12:40 +00:00
sudu%netscape.com
db497426f5 Fixed up regenerate rules for jni
git-svn-id: svn://10.0.0.236/trunk@10277 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 18:12:36 +00:00
sudu%netscape.com
a0b23975e0 New xpcom caps manager apis
git-svn-id: svn://10.0.0.236/trunk@10276 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 18:12:32 +00:00
kmcclusk%netscape.com
fb52d0e62d Added back missing nsTextField and nsTextArea widgets to the factory.
git-svn-id: svn://10.0.0.236/trunk@10275 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 17:55:24 +00:00
despotdaemon%netscape.com
bf1dbdd67e Pseudo-automatic update of changes made by cata@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@10274 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 17:49:57 +00:00
spider%netscape.com
89cee3c002 Fix for build bustage
git-svn-id: svn://10.0.0.236/trunk@10273 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 17:43:49 +00:00
despotdaemon%netscape.com
8e62bce178 Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@10272 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 16:55:08 +00:00
kmcclusk%netscape.com
f6aaa1dadb Fix for Irix build.
git-svn-id: svn://10.0.0.236/trunk@10271 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 16:18:29 +00:00
kmcclusk%netscape.com
44a2bd0758 Added fix in nsCheckButton for IRIX build. Made OnPaint and OnResize virtual
in nsWindow.h, this fixes a bug when bringing up Sample5.


git-svn-id: svn://10.0.0.236/trunk@10270 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 15:31:18 +00:00
ramiro%netscape.com
2ed4fe8e98 Add xfeCmdClearUrlBar and deal with it in XFE_BrowserFrame.
git-svn-id: svn://10.0.0.236/trunk@10269 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 14:22:38 +00:00
ramiro%netscape.com
19a0b04a4d Add clearText().
git-svn-id: svn://10.0.0.236/trunk@10268 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 14:20:06 +00:00
ramiro%netscape.com
5426185681 Move the dynamic layout parts of XfeManager to their own superclass
XfeDynamicManager.  This will make it a lot easier to write complicated
layout functions, such as the fancy configurable toolbar stuff.
Renamed a bunch of poorly named methods and data members.


git-svn-id: svn://10.0.0.236/trunk@10267 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 14:11:54 +00:00
radha%netscape.com
012ffdbd4b Call createHTMLPane only once
git-svn-id: svn://10.0.0.236/trunk@10266 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 14:11:23 +00:00
radha%netscape.com
45b1862fe8 Create the HTML pane
git-svn-id: svn://10.0.0.236/trunk@10265 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 14:10:53 +00:00
ramiro%netscape.com
69ff0aa488 Fix default rdf toolbar layout.
git-svn-id: svn://10.0.0.236/trunk@10264 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 13:48:14 +00:00
dcone%netscape.com
09df69244e First scrollbar pass
git-svn-id: svn://10.0.0.236/trunk@10263 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 13:44:46 +00:00
ramiro%netscape.com
adcf99e250 Add button layout test.
git-svn-id: svn://10.0.0.236/trunk@10262 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 10:59:23 +00:00
morse%netscape.com
69565eea61 display domain name instead of host name if domain is setting a cookie
git-svn-id: svn://10.0.0.236/trunk@10261 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 10:30:45 +00:00
ramiro%netscape.com
f0a488a96d Add include path needed for HPUX 10.20.
Thanks to Ralf Hildebrandt <R.Hildebrandt@tu-bs.de> for pointing this out.


git-svn-id: svn://10.0.0.236/trunk@10260 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 10:02:40 +00:00
ramiro%netscape.com
ff64549bac Change 'static XtResource' to 'static const XtResource' types for resources.
Thanks to Joe Keane <jgk@jgk.org>.


git-svn-id: svn://10.0.0.236/trunk@10259 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 09:55:48 +00:00
pierre%netscape.com
402408abd7 fixing mac build: renamed the factory entry point
git-svn-id: svn://10.0.0.236/trunk@10258 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 09:17:39 +00:00
pierre%netscape.com
67c6327950 added the Layout and NetLib factories
git-svn-id: svn://10.0.0.236/trunk@10257 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 09:17:10 +00:00
pierre%netscape.com
882df377a4 added nsNetFactory
git-svn-id: svn://10.0.0.236/trunk@10256 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 09:16:23 +00:00
pierre%netscape.com
dbc1a1f79d added nsLayoutFactory
git-svn-id: svn://10.0.0.236/trunk@10255 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 09:14:36 +00:00
pierre%netscape.com
594d246987 added mozilla:layout:build:MANIFEST to the list
git-svn-id: svn://10.0.0.236/trunk@10254 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 08:50:39 +00:00
pierre%netscape.com
7ebf8f628a SetFont supports styles.
Drawstring doesn't draw the 0's in Unicode strings.


git-svn-id: svn://10.0.0.236/trunk@10253 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 08:08:26 +00:00
pierre%netscape.com
94027acd31 minor cleanup in GetXHeight, GetSuperscriptOffset and GetSubscriptOffset
git-svn-id: svn://10.0.0.236/trunk@10252 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 08:07:02 +00:00
pierre%netscape.com
f8e5880591 added GetMacFontNumber and CheckFontExistence
git-svn-id: svn://10.0.0.236/trunk@10251 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 07:51:12 +00:00
brendan%netscape.com
9dc6f1d1c7 Fix missing ->pseudos and speak the same boolean as the comment uses.
git-svn-id: svn://10.0.0.236/trunk@10250 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 07:43:13 +00:00
brendan%netscape.com
32a8aa7179 Pity the machines that lack long long (and be explicit when losing bits).
git-svn-id: svn://10.0.0.236/trunk@10249 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 06:46:20 +00:00
brendan%netscape.com
d80e0cf9a7 Keep windows building via xp.h, with an XXX comment.
git-svn-id: svn://10.0.0.236/trunk@10248 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 06:44:33 +00:00
rpotts%netscape.com
435c373c8d Fixed up usage of the NS_RELEASE2(...) macro.
git-svn-id: svn://10.0.0.236/trunk@10247 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 05:40:57 +00:00
rpotts%netscape.com
1ce4b0ca1a Changed NS_RELEASE2(...) macro to conditionally NULL the interface argument...
git-svn-id: svn://10.0.0.236/trunk@10246 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 05:38:21 +00:00
troy%netscape.com
64d4e5e4c5 Removed some XXX temp code that was needed until tables were switched
over to the new frame construction code


git-svn-id: svn://10.0.0.236/trunk@10245 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 04:57:50 +00:00
troy%netscape.com
fd4da3a3ed Removed some XXX frame construction work-in-progress code
git-svn-id: svn://10.0.0.236/trunk@10244 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 04:44:27 +00:00
troy%netscape.com
9ec1729d6e Cleaned up frame construction code
git-svn-id: svn://10.0.0.236/trunk@10243 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 04:07:58 +00:00
blizzard%appliedtheory.com
afc18ecdb3 Pixmap creation and updating now use gdk primitives
git-svn-id: svn://10.0.0.236/trunk@10242 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 04:07:14 +00:00
ramiro%netscape.com
60dfee6281 Build MOZ_MAIL_COMPOSE build bustage. Its MOZ_MAIL_COMPOSE, not MOZ_COMPOSE.
Also, a bunch of icons were not being linked in.


git-svn-id: svn://10.0.0.236/trunk@10241 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 03:56:45 +00:00
spider%netscape.com
e9417fee4e WIP: nlsstub implementation
git-svn-id: svn://10.0.0.236/trunk@10240 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 02:39:51 +00:00
spider%netscape.com
486a0b2450 Initial nlsstub implementation to remove libnls dependency
for free source execution


git-svn-id: svn://10.0.0.236/trunk@10239 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 02:07:28 +00:00
vidur%netscape.com
e792ef87b8 Added constructors for DOM JS classes. nsIScriptObjectOwner::ResetScriptObject is now SetScriptObject. New factory for layout. New interface nsIDOMNativeObjectRegistry.
git-svn-id: svn://10.0.0.236/trunk@10238 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 01:53:52 +00:00
slamm%netscape.com
4590c3ac53 Add back some security icons.
git-svn-id: svn://10.0.0.236/trunk@10237 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 01:35:01 +00:00
wtc%netscape.com
b4e70e6d93 Define HAVE_LONG_LONG on BSDI. (Acknowledgements: Bert Driehuis
<driehuis@playbeing.org>.)


git-svn-id: svn://10.0.0.236/trunk@10236 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 01:10:21 +00:00
kmcclusk%netscape.com
7c54e19b31 Fix for IRIX in nsRadioButton.cpp added const to nsRadioButton::SetState.
Removed scrollbar debug printf in nsXtEventHandler.cpp.


git-svn-id: svn://10.0.0.236/trunk@10235 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 00:57:59 +00:00
valeski%netscape.com
edf8a94dff ? network/module/nsNetFactory.cpp
Added nsNetFactory implementation. This allows users to retrieve nsINetService pointers from the service factory manager.

M dom/src/base/nsGlobalWindow.cpp
M gfx/src/nsImageNetContextSync.cpp
M layout/html/document/src/nsHTMLDocument.cpp
M network/module/nsURL.cpp
Replaced NS_NewINetService() calls with nsServiceManager::GetService() calls.

M network/module/Makefile
M network/module/makefile.win
Added nsNetFactory.cpp to the builds.

M network/module/nsINetService.h
Added a #define for the class id of the nsNetService.

M network/module/nsIStreamListener.h
Removed the NS_DEFINE_IID of kIStreamListenerIID from the header file. Each module that wants this will need to delcare it themselves.

M network/module/nsNetFile.cpp
Fixed memory leak.

M network/module/nsNetService.cpp
Globalized the gNetlibService variable so the NetFactory can access it.

M webshell/src/nsDocLoader.cpp
M webshell/src/nsPluginViewer.cpp
NS_DEFINE_IID of kIStreamListenerIID

M webshell/tests/viewer/nsSetupRegistry.cpp
Added the netlib library to the list of libraries in the registry and register the nsNetFactory with the appropriate iid and clsids.


git-svn-id: svn://10.0.0.236/trunk@10234 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 00:55:35 +00:00
kmcclusk%netscape.com
b8062b30c0 Fixed scrollbar scrolling event dispatch.
Wasn't scrolling because OnScroll was not declared virtual in nsWindow.h.


git-svn-id: svn://10.0.0.236/trunk@10233 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 00:49:03 +00:00
kmcclusk%netscape.com
3e5ef8c6ca Removed so releaseref's from nsWindow::OnDestroy
git-svn-id: svn://10.0.0.236/trunk@10232 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 00:30:08 +00:00
terry%netscape.com
632858d72b Bug fix by Brian Jones <cbj@nortel.net> -- was failing to create new users.
git-svn-id: svn://10.0.0.236/trunk@10231 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 00:21:07 +00:00
peterl%netscape.com
ef14f3a242 connected xheight, fixed font realtive sizes,
fixed text-decoration


git-svn-id: svn://10.0.0.236/trunk@10230 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 00:19:47 +00:00
peterl%netscape.com
a1eec07558 fixed bugs dealing with string color values
git-svn-id: svn://10.0.0.236/trunk@10229 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 00:18:57 +00:00
peterl%netscape.com
91ec47226f added decoration rendering code to deal with CSSisms
git-svn-id: svn://10.0.0.236/trunk@10228 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 00:18:25 +00:00
peterl%netscape.com
f78b4d45b2 added decoration metrics api
git-svn-id: svn://10.0.0.236/trunk@10227 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 00:17:43 +00:00
peterl%netscape.com
7592a1906a connected outline metrics
git-svn-id: svn://10.0.0.236/trunk@10226 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 00:17:23 +00:00
peterl%netscape.com
6c08578bd3 changed overline code to use font metrics
git-svn-id: svn://10.0.0.236/trunk@10225 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 00:15:56 +00:00
peterl%netscape.com
c6e9f05f58 change scaling to be based on y pixel size
git-svn-id: svn://10.0.0.236/trunk@10224 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 00:15:22 +00:00
peterl%netscape.com
bcde5a0626 added api for decoration metrics
git-svn-id: svn://10.0.0.236/trunk@10223 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 00:14:45 +00:00
peterl%netscape.com
6cc6f7d1ad added decoration_none
git-svn-id: svn://10.0.0.236/trunk@10222 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 00:13:15 +00:00
pierre%netscape.com
d001449914 add refcount in GetFontMetrics + fix TextSize
git-svn-id: svn://10.0.0.236/trunk@10221 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 00:07:31 +00:00
troy%netscape.com
a880832886 Changed ContentAppended() to not walk up the frame hierarchy looking
for a frame that maps the parent content object that changed


git-svn-id: svn://10.0.0.236/trunk@10220 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 00:06:46 +00:00
sdagley%netscape.com
c2b43ff523 Restored radio group for cookie settings radio buttons
git-svn-id: svn://10.0.0.236/trunk@10219 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 23:57:22 +00:00
kmcclusk%netscape.com
a857bd291e Moved libraptorhtmltable down below libraptorhtmlstyle to try and resolve
a link error.


git-svn-id: svn://10.0.0.236/trunk@10218 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 23:38:59 +00:00
slamm%netscape.com
9195e9e667 Back out button simplification until security stuff is worked out.
git-svn-id: svn://10.0.0.236/trunk@10217 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 23:29:09 +00:00
troy%netscape.com
a0f03120c9 Fixed a problem with tables with COLGROUP and COL elements crashing
because there was a null cellmap


git-svn-id: svn://10.0.0.236/trunk@10216 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 23:24:39 +00:00
joki%netscape.com
8f46a864ae Add null check before queryinterface call
git-svn-id: svn://10.0.0.236/trunk@10215 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 23:16:37 +00:00
kmcclusk%netscape.com
5467b9e959 Added nsInlineLayout to unix Makefile
git-svn-id: svn://10.0.0.236/trunk@10214 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 23:09:42 +00:00
pierre%netscape.com
7c6a2c1807 fix build breakage
git-svn-id: svn://10.0.0.236/trunk@10213 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 22:55:05 +00:00
pierre%netscape.com
c7a76453a7 fix FontMetrics (getting better but still temporary code)
git-svn-id: svn://10.0.0.236/trunk@10212 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 22:49:36 +00:00
pierre%netscape.com
ca40730cd5 re-enable OnPaint() (it crashed because of missing refcounts in nsWindow)
git-svn-id: svn://10.0.0.236/trunk@10211 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 22:48:25 +00:00
pierre%netscape.com
bfacca5f3e fix SetFont (still temporary code)
git-svn-id: svn://10.0.0.236/trunk@10210 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 22:46:36 +00:00
pierre%netscape.com
720b1e9105 add refcount in GetDeviceContext and GetAppShell
git-svn-id: svn://10.0.0.236/trunk@10209 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 22:45:24 +00:00
slamm%netscape.com
9d3a83abde Make sure callbacks are visible to derived classes.
git-svn-id: svn://10.0.0.236/trunk@10207 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 22:28:12 +00:00
jband%netscape.com
877577c907 (not part of client build) moving to mozilla from jsdse_branch of ns/js/jsd/corba. This code constitutes the server side of the Corba/iiop based remote JavaScript debugging system. There is not currently a build system for the C++ code in place
git-svn-id: svn://10.0.0.236/trunk@10206 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 22:24:00 +00:00
kmcclusk%netscape.com
7585eafb04 Added nsLineLayout.cpp to Makefile
git-svn-id: svn://10.0.0.236/trunk@10205 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 21:56:43 +00:00
kmcclusk%netscape.com
0a8de7e776 Added nsInlineFrame.cpp to Makefile for unix
git-svn-id: svn://10.0.0.236/trunk@10204 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 21:51:08 +00:00
slamm%netscape.com
bbf3f0cec1 Add 'ifdef MOZ_MAIL_NEWS' around the mail & news icons.
git-svn-id: svn://10.0.0.236/trunk@10203 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 21:50:00 +00:00
kmcclusk%netscape.com
6c3f0127af Added nsBlockFrame.cpp to Makefile for unix
git-svn-id: svn://10.0.0.236/trunk@10202 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 21:47:22 +00:00
slamm%netscape.com
ccdc105a09 Move some toolbar specific code from RDFMenuToolbarBase to RDFToolbar.
git-svn-id: svn://10.0.0.236/trunk@10201 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 21:46:22 +00:00
slamm%netscape.com
18656de471 Remove unused extern.
git-svn-id: svn://10.0.0.236/trunk@10200 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 21:46:16 +00:00
slamm%netscape.com
5533746860 Use only one icon group per toolbar item. We previously allowed up to four, but no one uses it anymore and it was ugly.
git-svn-id: svn://10.0.0.236/trunk@10199 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 21:46:11 +00:00
slamm%netscape.com
90b6b18b95 Remove mouse-down (md) and insensitive (i) icons. These can be drawn on the fly.
git-svn-id: svn://10.0.0.236/trunk@10198 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 21:45:57 +00:00
slamm%netscape.com
a7129e5059 Get rid of MOZ_LITE hack.
git-svn-id: svn://10.0.0.236/trunk@10197 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 21:44:40 +00:00
slamm%netscape.com
4733fd7870 Add 'ifdef MOZ_MAIL_NEWS' around the mail & news icons.icons.c
git-svn-id: svn://10.0.0.236/trunk@10196 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 21:44:37 +00:00
pinkerton%netscape.com
b879804470 add some asserts and sanity checks on the shelves.
git-svn-id: svn://10.0.0.236/trunk@10195 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 21:18:36 +00:00
pinkerton%netscape.com
e2354d7665 fix pane id of the adSpace in the "no grow box" version of the browser window.
git-svn-id: svn://10.0.0.236/trunk@10194 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 21:17:58 +00:00
kmcclusk%netscape.com
dc7d7e8bb8 Added nsWidgetSupport to Makefile. Removed NS_RELASE in widget factory which
would get called after each widget was instantiated.


git-svn-id: svn://10.0.0.236/trunk@10193 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 21:10:51 +00:00
kmcclusk%netscape.com
48a1e6651f Added nsWidgetSupport.h to exports
git-svn-id: svn://10.0.0.236/trunk@10192 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 21:10:02 +00:00
amusil%netscape.com
b7ae7d273c Ported Java to C++ src files
git-svn-id: svn://10.0.0.236/trunk@10191 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 20:47:46 +00:00
amusil%netscape.com
04d572db49 Ported Java to C++ header files
git-svn-id: svn://10.0.0.236/trunk@10190 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 20:47:01 +00:00
kmcclusk%netscape.com
9ceaa121f9 Added ConvertToDeviceCoordinates method to nsWindow.h
git-svn-id: svn://10.0.0.236/trunk@10189 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 20:34:32 +00:00
troy%netscape.com
a80395bfae Clean up work
git-svn-id: svn://10.0.0.236/trunk@10188 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 20:27:30 +00:00
kmcclusk%netscape.com
b5674d4ead Remove PreCreate method from nsComboBox.h added QueryInterface method to
nsTextWidget.cpp


git-svn-id: svn://10.0.0.236/trunk@10187 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 20:27:23 +00:00
kmcclusk%netscape.com
2562ac522c Added missing addref and releaseref's
git-svn-id: svn://10.0.0.236/trunk@10186 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 20:19:39 +00:00
morse%netscape.com
65c8c4221c second attempt to change Bool to PRBool
git-svn-id: svn://10.0.0.236/trunk@10185 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 20:18:05 +00:00
rods%netscape.com
4c2353f325 Fixes for linking
git-svn-id: svn://10.0.0.236/trunk@10184 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 20:17:17 +00:00
robinf%netscape.com
bc8b34ee53 fixing bug #321762: adding a help screen that describes how to remove a screen from AS.
git-svn-id: svn://10.0.0.236/trunk@10183 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 20:11:57 +00:00
rods%netscape.com
eaede0c25c Changed to new interfaces
git-svn-id: svn://10.0.0.236/trunk@10182 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 19:54:06 +00:00
waterson%netscape.com
4cc8bcc30b Added wrappers for 64-bit arithmetic and PRTime.
git-svn-id: svn://10.0.0.236/trunk@10179 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 19:53:12 +00:00
kmcclusk%netscape.com
a8113ea35f Changed TextField and TextArea to use new inteface definition.
git-svn-id: svn://10.0.0.236/trunk@10178 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 19:48:02 +00:00
spider%netscape.com
f6f9317f35 Updates to latest widget interface changes
git-svn-id: svn://10.0.0.236/trunk@10177 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 19:45:57 +00:00
morse%netscape.com
c42025ef8e back out change to fix build bustage
git-svn-id: svn://10.0.0.236/trunk@10176 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 19:11:51 +00:00
sman%netscape.com
0dcece846a More updates for customer council
git-svn-id: svn://10.0.0.236/trunk@10175 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 19:07:15 +00:00
jband%netscape.com
1c8e695487 (not part of client build) added single makefile controlled switchpoint using awk generated Java source file for ASSERT and DEBUG in ifcui
git-svn-id: svn://10.0.0.236/trunk@10174 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 19:04:53 +00:00
cyeh%netscape.com
81e63bacbf use MMDD instead of julian day
git-svn-id: svn://10.0.0.236/trunk@10173 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 19:00:25 +00:00
pinkerton%netscape.com
3ef224a9c3 Forgot to set fe_data in the text attr struct when dealing with fonts.
git-svn-id: svn://10.0.0.236/trunk@10172 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 18:44:58 +00:00
raman%netscape.com
fc377d03a9 Added AskPermission and SetPermission API calls for OJI. Added the CertChain Principal support for JavaSoft.
git-svn-id: svn://10.0.0.236/trunk@10171 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 18:39:48 +00:00
pinkerton%netscape.com
7ef43433a0 Fixes from 4.5-land for locking up the machine while scanning large global history files and memory leak fixes.
git-svn-id: svn://10.0.0.236/trunk@10170 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 18:32:49 +00:00
kin%netscape.com
3b67ca459e First pass support for the HTMLArea embedded toolbar.
git-svn-id: svn://10.0.0.236/trunk@10169 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 18:27:17 +00:00
morse%netscape.com
9af02680e2 changed Bool and XP_Bool to PRBool
git-svn-id: svn://10.0.0.236/trunk@10168 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 18:26:39 +00:00
kin%netscape.com
548da2dd1a Default input for an HTMLArea is now assumed to be HTML. Replaced all calls
to EDT_SetDefaultText() with calls to EDT_SetDefaultHTML().


git-svn-id: svn://10.0.0.236/trunk@10167 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 18:24:12 +00:00
kin%netscape.com
68ffaede91 Fixed bogus assertion thrown when the toolbox contains only one toolbar.
Fixed crash that occurs when a toolbox contains only one toolbar, and you
try to destroy the toolbar. Reviewed and approved by ramiro.


git-svn-id: svn://10.0.0.236/trunk@10166 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 18:23:37 +00:00
kin%netscape.com
496a27d449 Fix to prevent crashing in layout(), called from Manager.c:DeleteChild(),
when the Chrome and it's children are being destroyed.


git-svn-id: svn://10.0.0.236/trunk@10165 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 18:22:56 +00:00
shaver%netscape.com
d3ba34faaa fix dom.h/dom_priv.h mixup
git-svn-id: svn://10.0.0.236/trunk@10164 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 18:11:22 +00:00
rods%netscape.com
5373f0e6e1 Changed to new interfaces
git-svn-id: svn://10.0.0.236/trunk@10163 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 17:59:11 +00:00
rods%netscape.com
c726ceaa90 Changed to new interfaces
git-svn-id: svn://10.0.0.236/trunk@10162 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 17:45:04 +00:00
rods%netscape.com
245ca0fe2e Changed to new interfaces
git-svn-id: svn://10.0.0.236/trunk@10161 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 17:31:02 +00:00
rods%netscape.com
4d9468d373 Changed to new interface
git-svn-id: svn://10.0.0.236/trunk@10160 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 17:21:19 +00:00
troy%netscape.com
8b2676b6e1 Frame construction changes for tables
git-svn-id: svn://10.0.0.236/trunk@10159 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 17:19:20 +00:00
kmcclusk%netscape.com
f66f963cdc Recheckin in over the last checkin from donc which was bad.
git-svn-id: svn://10.0.0.236/trunk@10158 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 17:18:57 +00:00
dcone%netscape.com
f2d34bbd14 added some coordinate conversion
git-svn-id: svn://10.0.0.236/trunk@10157 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 17:18:56 +00:00
spider%netscape.com
dc8b9e5f19 No longer aggregate nsIWidget in nsIXPFCCanvas. Use the CanvasManager
to maintain history.


git-svn-id: svn://10.0.0.236/trunk@10156 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 17:17:45 +00:00
rods%netscape.com
e9715906c0 Fixes for compiling
git-svn-id: svn://10.0.0.236/trunk@10155 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 17:13:10 +00:00
kmcclusk%netscape.com
5a21d40ab8 Converted to use new nsIComboBox interface.
git-svn-id: svn://10.0.0.236/trunk@10154 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 17:12:32 +00:00
rods%netscape.com
c3a01c701d Changed to new interface
git-svn-id: svn://10.0.0.236/trunk@10153 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 17:01:24 +00:00
rods%netscape.com
7bf0b48df2 Changed to new interfaces
git-svn-id: svn://10.0.0.236/trunk@10152 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 17:01:03 +00:00
kmcclusk%netscape.com
d7345f60a2 More modifications to nsWindow.cpp to match nsIWidget interface.
git-svn-id: svn://10.0.0.236/trunk@10151 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 16:44:25 +00:00
dcone%netscape.com
836d0903d2 fixed some image bugs
git-svn-id: svn://10.0.0.236/trunk@10150 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 16:28:33 +00:00
dcone%netscape.com
a0544cb5e0 Fixed a few image bugs
git-svn-id: svn://10.0.0.236/trunk@10149 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 16:28:07 +00:00
dcone%netscape.com
77bdb3d163 fixed colorspace stuff
git-svn-id: svn://10.0.0.236/trunk@10148 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 16:27:36 +00:00
dcone%netscape.com
c01e583336 fixed mac version
git-svn-id: svn://10.0.0.236/trunk@10147 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 16:24:21 +00:00
terry%netscape.com
203638c58f Get rid of .tcl files; we're a perl app now.
git-svn-id: svn://10.0.0.236/trunk@10146 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 15:08:09 +00:00
shaver%netscape.com
3b655468fd perignon now compiles, and back out brendan's xp.h change
git-svn-id: svn://10.0.0.236/trunk@10145 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 14:45:07 +00:00
terry%netscape.com
a93fb2a92b Fixed bug 827 -- silly me still had a reference to a .tcl file. Oops!
git-svn-id: svn://10.0.0.236/trunk@10144 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 14:36:38 +00:00
ramiro%netscape.com
dc64faa66e Fix for bug 293266. Make sure "Joe User's Bookmarks" item appears as first
item in the "File Bookmarks" menu.


git-svn-id: svn://10.0.0.236/trunk@10143 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 14:19:11 +00:00
gagan%netscape.com
4643c44d68 Ooops.... Forgot the #ifdef NU_CACHE around this addition.
git-svn-id: svn://10.0.0.236/trunk@10142 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 10:23:21 +00:00
gagan%netscape.com
a93f248631 Initializing NuCacheProtocol instead of the MemCacheProtocol. Only in NuCache.
git-svn-id: svn://10.0.0.236/trunk@10141 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 10:20:18 +00:00
gagan%netscape.com
345fb3eadb Added CacheObject_Destroy, IsCompleted to mark end of streams. Added isCompleted field in CacheObject. Changed all PL_strncpy to PL_strncpyz to fix the missing trailing \0 problem. Now deleting streams objects correctly from nsMemCacheObjects. Other misc. changes.
git-svn-id: svn://10.0.0.236/trunk@10140 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 10:18:40 +00:00
gagan%netscape.com
58f88ff535 Miscellaneous changes for streams based objects. Added more comments.
git-svn-id: svn://10.0.0.236/trunk@10139 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 10:13:48 +00:00
gagan%netscape.com
1efbd33f60 Added class description comments.
git-svn-id: svn://10.0.0.236/trunk@10138 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 10:12:12 +00:00
gagan%netscape.com
dbeba878ff Added default comments to header files.
git-svn-id: svn://10.0.0.236/trunk@10137 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 10:10:01 +00:00
gagan%netscape.com
f5bf4b3144 Updated tests for nsMemStream testing.
git-svn-id: svn://10.0.0.236/trunk@10136 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 10:09:34 +00:00
gagan%netscape.com
2a8f50f5c9 Added URL_s updating for content_type, content_encoding, etc. Removed CacheObject_Destroy from complete which was messing up the objects.
git-svn-id: svn://10.0.0.236/trunk@10135 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 10:08:47 +00:00
gagan%netscape.com
37346ef741 Moved the nucacheprotoimpl stuff here.
git-svn-id: svn://10.0.0.236/trunk@10134 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 10:04:07 +00:00
gagan%netscape.com
119964e429 Removed nucacheproto from its own file to mkmemcac.c.
git-svn-id: svn://10.0.0.236/trunk@10133 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 10:03:41 +00:00
mcafee%netscape.com
2d9cca2eec Uninitialized variable compiler warnings on Linux
git-svn-id: svn://10.0.0.236/trunk@10132 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 09:37:45 +00:00
mcafee%netscape.com
3cb9c195d8 Uninitialized variable compiler warnings on Linux
git-svn-id: svn://10.0.0.236/trunk@10131 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 09:01:25 +00:00
mcafee%netscape.com
ce59d8aee1 Uninitialized variable compiler warnings on Linux
git-svn-id: svn://10.0.0.236/trunk@10130 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 08:25:31 +00:00
mcafee%netscape.com
5ca568de4c Uninitialized variable compiler warnings on Linux
git-svn-id: svn://10.0.0.236/trunk@10129 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 08:13:29 +00:00
mcafee%netscape.com
f6757ceb72 Uninitialized variable compiler warnings on Linux
git-svn-id: svn://10.0.0.236/trunk@10128 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 07:45:58 +00:00
mcafee%netscape.com
4d978924ca Uninitialized variable compiler warnings on Linux
git-svn-id: svn://10.0.0.236/trunk@10127 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 07:32:19 +00:00
mcafee%netscape.com
3c593fd2f0 Uninitialized variable compiler warnings on Linux
git-svn-id: svn://10.0.0.236/trunk@10126 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 07:22:06 +00:00
valeski%netscape.com
9287d6504d General memory repairs (leakage, freeing mismatched mem, umrs)
git-svn-id: svn://10.0.0.236/trunk@10125 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 07:17:34 +00:00
mcafee%netscape.com
4579eec269 Uninitialized variable compiler warnings on Linux
git-svn-id: svn://10.0.0.236/trunk@10124 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 07:14:42 +00:00
mcafee%netscape.com
9230756830 Unhandled cases in switch statement
git-svn-id: svn://10.0.0.236/trunk@10123 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 06:57:28 +00:00
mcafee%netscape.com
d688a6f0a0 Uninitialized variable compiler warnings on Linux
git-svn-id: svn://10.0.0.236/trunk@10122 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 06:54:49 +00:00
mcafee%netscape.com
981afce29a Fixing Linux breakage. r=valeski
git-svn-id: svn://10.0.0.236/trunk@10121 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 05:48:26 +00:00
mcafee%netscape.com
035bbf7fb2 Uninitialized variable compiler warnings on Linux
git-svn-id: svn://10.0.0.236/trunk@10120 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 05:16:58 +00:00
mcafee%netscape.com
e0251b80be Uninitialized variable compiler warnings on Linux
git-svn-id: svn://10.0.0.236/trunk@10119 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 04:59:00 +00:00
mcafee%netscape.com
e09369c1f8 Compiler warning on Linux
git-svn-id: svn://10.0.0.236/trunk@10118 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 04:42:09 +00:00
valeski%netscape.com
faf12721d1 Fixing build bustage. c++ comments in c file
git-svn-id: svn://10.0.0.236/trunk@10117 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 02:39:16 +00:00
pierre%netscape.com
50d0c06aec fixed raptor build: added nsLoadAttribs.cpp to the 'modular' targets
git-svn-id: svn://10.0.0.236/trunk@10116 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 02:09:08 +00:00
jband%netscape.com
948f6f521c (not part of client build) initial checkin of mozilla/js/jsdj (migrated from ns/js/jsdj)
git-svn-id: svn://10.0.0.236/trunk@10115 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 02:07:50 +00:00
spider%netscape.com
d2925651e3 Fix for clicking on links
git-svn-id: svn://10.0.0.236/trunk@10114 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 01:54:50 +00:00
pierre%netscape.com
e4f07b9064 XP_FileOpen() now supports aliases
git-svn-id: svn://10.0.0.236/trunk@10113 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 01:26:09 +00:00
pierre%netscape.com
c77e51c99a make alias of ua.css
git-svn-id: svn://10.0.0.236/trunk@10112 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 01:24:52 +00:00
spider%netscape.com
1f6655d43a minor changes...
git-svn-id: svn://10.0.0.236/trunk@10111 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 01:21:14 +00:00
spider%netscape.com
bb4142abf3 Demo UI stuff and support for application/ui in DTD and parser
git-svn-id: svn://10.0.0.236/trunk@10110 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 01:14:48 +00:00
sman%netscape.com
ec7ed76d4d New Images!
git-svn-id: svn://10.0.0.236/trunk@10109 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 01:10:02 +00:00
robinf%netscape.com
2d9c07e281 updating these files for Nova; text changes to fix links, remove Mac and Win16 references
git-svn-id: svn://10.0.0.236/trunk@10108 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 01:04:31 +00:00
jband%netscape.com
beb5a39f8e (not EVEN part of mozilla) fix conditional compile code to allow use of debugger without liveconnect
git-svn-id: svn://10.0.0.236/trunk@10107 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 00:56:47 +00:00
kmcclusk%netscape.com
aa7254cf82 Added nsObject.cpp and nsObject.h files, More mods to nsWindow to match
the nsIWidget interface


git-svn-id: svn://10.0.0.236/trunk@10106 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 00:53:19 +00:00
buster%netscape.com
436c4b73a5 better handling of non-cell frames in rowFrames
support for the case where a nested table is in a cell that has colspan>1


git-svn-id: svn://10.0.0.236/trunk@10105 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 00:48:14 +00:00
valeski%netscape.com
893604c431 M webshell/public/nsIDocumentLoader.h
nsIDocumentLoader interface method change to LoadURL() we now accept a local ip address.


M webshell/public/nsIWebShell.h
1. Extended the nsIWebShell LoadURL() method to take an additional PRUint32 parameter which represents an ip address. If specified, this address will be bound to the socket prior to connection as the local/client ip address to be used. The caller is guarantees the validity of this address.
2. Extended the nsReloadType enumeration to allow both proxy and cache bypass.


M webshell/src/nsDocLoader.cpp
1. Extended nsDocumentBindInfo::Bind() to take an additional nsILoadAttribs pointer. (class definitaion change and implementation).

2. Extended nsDocLoaderImpl::LoadURL() to take an additional PRUint32 param which represents an optional local ip address to bind the connecting socket to, prior to connection. (class definitaion change and implementation) The docloader object maintains a pointer to an nsILoadAttribs interface.


M webshell/src/nsWebShell.cpp
Implemented new LoadURL() routine. Simple pass down to doc loader of PRUint32.


M webshell/tests/ComFactory/makefile.win
Added netlib to the list of prerequisites.


git-svn-id: svn://10.0.0.236/trunk@10104 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 00:40:20 +00:00
cyeh%netscape.com
04aa3caab1 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@10103 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 00:37:28 +00:00
valeski%netscape.com
8304001d60 ? network/module/nsILoadAttribs.h
New nsIloadAttribs interface that defines the load attributes that are will be associated with a url.

? network/module/nsLoadAttribs.cpp
New nsIloadAttribs interface implementation.

M network/main/mkconect.c
Check for a new local ip address to use. If found PR_Bind() is called to bind the connecting socket to the new address.

M network/main/mkgeturl.c
Added logic to determine whether or not skip the proxy for the given url.
M network/main/mktcp.h
api change. Changed NET_BeginConnect() and NET_FinishConnect() function prototypes.

M network/module/MANIFEST
Added nsILoadAttribs.h to exports list

M network/module/Makefile
Added nsILoadAttribs.h to exports list and nsILoadAttribs.cpp to compile lists.

M network/module/makefile.win
Added nsILoadAttribs.h to exports list and nsILoadAttribs.cpp to compile lists.

M network/module/nsIURL.h
Added accessor methods to the url interface for nsILoadAttribs interface pointer.

M network/module/nsNetService.h
Added urlSetup method to class definition.

M network/module/nsNetService.cpp
Condensed url setup (from nsIURL properties to the actual url struct) into a helper routine. URL struct setup now transfers nsILoadAttributes over into the url struct.

M network/module/nsURL.cpp
Added nsILoadAttribs accessor method implementations to the url implementation.

M network/protocol/ftp/mkftp.c
api change. NET_*Connect().

M network/protocol/gopher/mkgopher.c
api change. NET_*Connect().

M network/protocol/http/mkhttp.c
api change. NET_*Connect().

M network/protocol/imap4/mkimap4.cpp
api change. NET_*Connect().

M network/protocol/nntp/mknews.c
api change. NET_*Connect().

M network/protocol/pop3/mkpop3.c
api change. NET_*Connect().

M network/protocol/smtp/mksmtp.c
api change. NET_*Connect().


git-svn-id: svn://10.0.0.236/trunk@10102 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 00:35:32 +00:00
valeski%netscape.com
5473c9c1b2 M include/net.h
Adding two new url_struct attributes. uint32 localIP (can be set to specify a local ip address to bing the connecting socket to), boolean bypassProxy (can be set to skip over any proxies that would've been used.


git-svn-id: svn://10.0.0.236/trunk@10101 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 00:25:53 +00:00
kmcclusk%netscape.com
bd037db210 Massive modifications to use the new nsIWidget interface.
git-svn-id: svn://10.0.0.236/trunk@10100 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 00:21:00 +00:00
pierre%netscape.com
eef1a274fc fix mac build: removed several files, added one
git-svn-id: svn://10.0.0.236/trunk@10099 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 00:13:41 +00:00
gagan%netscape.com
75906a59fc Fix for bug # 323918.
git-svn-id: svn://10.0.0.236/trunk@10098 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 00:01:02 +00:00
robinf%netscape.com
f5924ec122 fixing bug #322037 in aatab.htm; removed win16 note from nmtab.htm
git-svn-id: svn://10.0.0.236/trunk@10097 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 23:54:30 +00:00
pierre%netscape.com
52a78fbd8b fixing mac build (the class name was repeated in the method declaration)
git-svn-id: svn://10.0.0.236/trunk@10096 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 23:39:28 +00:00
slamm%netscape.com
31d14a596b Fix build bustage. xp_ncent.c includes htrdf.h which include pa_parse.h. Adding 'parse' to the REQUIRES line.
git-svn-id: svn://10.0.0.236/trunk@10095 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 23:39:20 +00:00
mcafee%netscape.com
6ef6ddecb3 Sample build date. Build process overwrites this file with a current value. 98=year, 258=julian date, 16=4pm PST. a=donm
git-svn-id: svn://10.0.0.236/trunk@10094 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 22:51:11 +00:00
rjc%netscape.com
b663d9987b When sending VPROP_CHANGED events, also pass along information on which property changed.
git-svn-id: svn://10.0.0.236/trunk@10093 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 22:15:46 +00:00
rjc%netscape.com
ad34d6eb08 Need to reference libparse header file.
git-svn-id: svn://10.0.0.236/trunk@10092 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 22:14:59 +00:00
terry%netscape.com
9d2a2b65f3 Whoops; a bad username was causing perl warning messages.
git-svn-id: svn://10.0.0.236/trunk@10091 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 22:12:52 +00:00
spider%netscape.com
c21d038d36 Add support for aggregation in QueryInterface
git-svn-id: svn://10.0.0.236/trunk@10090 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 22:09:57 +00:00
rjc%netscape.com
a9f87890d8 Additional changes for supporting HT_LayoutComplete().
git-svn-id: svn://10.0.0.236/trunk@10089 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 22:07:34 +00:00
spider%netscape.com
14e48ad656 Final implementation and hookup of user, layer and calcanvas
interfaces


git-svn-id: svn://10.0.0.236/trunk@10088 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 22:05:48 +00:00
dcone%netscape.com
41d9ea989b Added image test support, needed netlib in the link
git-svn-id: svn://10.0.0.236/trunk@10087 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 21:58:25 +00:00
kostello%netscape.com
860f5caafc *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@10086 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 21:56:35 +00:00
kostello%netscape.com
6132966f1a Added nsFileWidget.cpp
git-svn-id: svn://10.0.0.236/trunk@10085 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 21:56:07 +00:00
kostello%netscape.com
16a9f6d08b Fix CreateInstance
git-svn-id: svn://10.0.0.236/trunk@10084 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 21:55:50 +00:00
terry%netscape.com
eeb3fe6af9 Add a few more clues.
git-svn-id: svn://10.0.0.236/trunk@10083 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 21:55:46 +00:00
kostello%netscape.com
6bdea53350 Fix QueryInterface
git-svn-id: svn://10.0.0.236/trunk@10082 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 21:55:22 +00:00
kostello%netscape.com
8174b8a00a Update to synch with pc version
git-svn-id: svn://10.0.0.236/trunk@10081 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 21:54:29 +00:00
terry%netscape.com
763d43f255 Everything has been ported to now run under Perl.
git-svn-id: svn://10.0.0.236/trunk@10080 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 21:49:26 +00:00
cyeh%netscape.com
7cbc1b44d2 added missing about.html build numbering
git-svn-id: svn://10.0.0.236/trunk@10079 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 21:34:52 +00:00
briano%netscape.com
f271c3be83 Fix for cyeh's BUILD_OFFICIAL or MOZILLA_OFFICIAL dilemma.
git-svn-id: svn://10.0.0.236/trunk@10078 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 21:32:15 +00:00
joki%netscape.com
cc5aacfa27 More support for capturing, minor adjustments to window.open behavior.
git-svn-id: svn://10.0.0.236/trunk@10077 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 21:31:58 +00:00
mcafee%netscape.com
f974dd8c58 Adding license file. Decoupling version number from build number, version number will have to use another mechanism. a=sar, r=sar,donm
git-svn-id: svn://10.0.0.236/trunk@10076 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 21:16:39 +00:00
jsun%netscape.com
06ca545ef4 changed clobber_julian depend_julian targets so they now go to
mozilla\modules\calendar rather than ns\julian


git-svn-id: svn://10.0.0.236/trunk@10075 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 21:15:08 +00:00
spider%netscape.com
10e6bcc931 New files for user and core cal canvas implementations
git-svn-id: svn://10.0.0.236/trunk@10074 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 20:48:22 +00:00
spider%netscape.com
fe1de1631a WIP: CalUSer. Fix for rendering transparent images
git-svn-id: svn://10.0.0.236/trunk@10073 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 20:45:35 +00:00
buster%netscape.com
26f6ed9085 nsTableRowGroupFrame no longer assumes all its children are rows, or that all row children are cells.
git-svn-id: svn://10.0.0.236/trunk@10072 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 20:36:42 +00:00
michaelp%netscape.com
a62294de07 cleaned up some link jumping nonsense.
git-svn-id: svn://10.0.0.236/trunk@10071 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 20:22:37 +00:00
michaelp%netscape.com
532b0e2b0c jumping through links now works in full screen plugins.
git-svn-id: svn://10.0.0.236/trunk@10070 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 20:21:10 +00:00
ebina%netscape.com
ef7eb77867 Add the source and Makefile for the new mod_gzip_content module.
git-svn-id: svn://10.0.0.236/trunk@10069 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 20:17:13 +00:00
sman%netscape.com
d41ec0e2a0 better images, with transparent background
git-svn-id: svn://10.0.0.236/trunk@10068 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 20:16:44 +00:00
ebina%netscape.com
7f5217ff50 An example Apache 1.3 configuration file to show how to configure the
new mod_gzip_content module.


git-svn-id: svn://10.0.0.236/trunk@10067 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 20:16:19 +00:00
blizzard%appliedtheory.com
258852664b UpdatePixmap completed
git-svn-id: svn://10.0.0.236/trunk@10066 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 20:14:33 +00:00
spider%netscape.com
ac6725e002 Adding core CalCanvas implementation
git-svn-id: svn://10.0.0.236/trunk@10065 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 20:08:35 +00:00
cyeh%netscape.com
0f0198865f added mozilla/xpfc for scallan
git-svn-id: svn://10.0.0.236/trunk@10064 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 20:02:52 +00:00
ccooper%netscape.com
6185ea9c37 Added NPL to LiveConnect java classes.
New file 'JSWrappedException' is used for passing exceptions between Java
and JavaScript.


git-svn-id: svn://10.0.0.236/trunk@10063 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 19:53:48 +00:00
thom%netscape.com
3c2d58ed0a First Checked In.
git-svn-id: svn://10.0.0.236/trunk@10062 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 19:51:15 +00:00
spider%netscape.com
bafbc69717 Implement Layer Collection management of child layers
git-svn-id: svn://10.0.0.236/trunk@10061 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 19:50:58 +00:00
rjc%netscape.com
06e0f20ba6 Fix build bustage. Need to include "structs.h" for new layout completion support.
git-svn-id: svn://10.0.0.236/trunk@10060 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 19:35:38 +00:00
despotdaemon%netscape.com
50b4d75ff1 Pseudo-automatic update of changes made by mjudge@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@10059 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 19:16:46 +00:00
spider%netscape.com
385f043bcb WIP: Initial Layer interface
git-svn-id: svn://10.0.0.236/trunk@10058 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 19:09:36 +00:00
blizzard%appliedtheory.com
66af3da999 gnomefe now creates pixmaps when asked to by the image layer
git-svn-id: svn://10.0.0.236/trunk@10057 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 19:04:32 +00:00
blizzard%appliedtheory.com
bf8fc9bf2b Remove README file. Information should be on the web site and/or elsewhere
in the tree.


git-svn-id: svn://10.0.0.236/trunk@10056 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 18:54:53 +00:00
nisheeth%netscape.com
3563fa3d18 Build list of meta tags on top_state and pass them to RDF HT once layout
completes.  Delete the meta tag list once RDF HT is done looking at it.
This enables functionality like automatically sucking in META info into the
RDF hierarchy when you add a bookmark.


git-svn-id: svn://10.0.0.236/trunk@10055 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 18:37:49 +00:00
nisheeth%netscape.com
6096872983 Changed HT_LayoutComplete() to accept different parameters.
git-svn-id: svn://10.0.0.236/trunk@10054 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 18:36:03 +00:00
nisheeth%netscape.com
fc6080da78 Changed parameters of HT_LayoutComplete().
git-svn-id: svn://10.0.0.236/trunk@10053 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 18:35:16 +00:00
robinf%netscape.com
39f64e949e Fixing bug #309332; reword text on this screen so it's clearer about the type of information the user will be asked for
git-svn-id: svn://10.0.0.236/trunk@10052 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 18:34:51 +00:00
nisheeth%netscape.com
ff8d76d433 Added TagList struct for passing meta tags to RDF HT from layout.
git-svn-id: svn://10.0.0.236/trunk@10051 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 18:32:50 +00:00
despotdaemon%netscape.com
38981d3af7 Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@10050 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 18:24:13 +00:00
buster%netscape.com
446ae68865 added table content interfaces
git-svn-id: svn://10.0.0.236/trunk@10049 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 18:07:54 +00:00
buster%netscape.com
60f12ef2ba added command line switches for setting window width and height
git-svn-id: svn://10.0.0.236/trunk@10048 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 18:06:19 +00:00
buster%netscape.com
1c8d847337 nsStyleConsts.h added some HTML 4 consts for tables
nsHTMLAtoms.cpp,h             added some HTML 4 strings for tables
nsHTMLParts.h                 added constructors for new table content classes
nsGenericHTMLElement.cpp,h    added table frame creation, common table attribute parsing
nsHTMLTable*Element.cpp       these are the new table content classes
nsHTMLContentSink.cpp         enabled the new content and removed the old
nsHTMLStyleSheet.cpp          fixed the table style optimizations to work with new content
nsTable*Frame.cpp             these work with the new content


git-svn-id: svn://10.0.0.236/trunk@10047 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 17:58:24 +00:00
spider%netscape.com
49ff8f66c4 WIP: XP USer class
git-svn-id: svn://10.0.0.236/trunk@10046 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 17:29:04 +00:00
blizzard%appliedtheory.com
55be84b8dd Add patches from Bert Driehuis <driehuis@playbeing.org> These patches
make sure that the view is properly returned in all functions where it's
supposed to be.


git-svn-id: svn://10.0.0.236/trunk@10045 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 14:31:47 +00:00
ramiro%netscape.com
2451e78bb4 Comment out 2 assertions to get past toolbar layout problem.
git-svn-id: svn://10.0.0.236/trunk@10044 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 11:26:43 +00:00
ramiro%netscape.com
4f1f18498b Make sure motif link path appears before x link path.
git-svn-id: svn://10.0.0.236/trunk@10043 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 08:26:44 +00:00
warren%netscape.com
ef5fc736c3 API changes for GetValue/SetValue and GetURL/PostURL from michaelp.
git-svn-id: svn://10.0.0.236/trunk@10042 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 04:54:46 +00:00
michaelp%netscape.com
80189a3a87 new file for mac build.
git-svn-id: svn://10.0.0.236/trunk@10041 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 04:15:53 +00:00
spider%netscape.com
9e43daf824 Change to pull and build FS cal
git-svn-id: svn://10.0.0.236/trunk@10040 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 04:03:29 +00:00
spider%netscape.com
a1c09d0a73 Build off of FS calendar
git-svn-id: svn://10.0.0.236/trunk@10039 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 04:02:56 +00:00
warren%netscape.com
250e947a34 Fixed nsMalloc::Create for the non-aggregated case.
git-svn-id: svn://10.0.0.236/trunk@10038 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 03:59:21 +00:00
ramiro%netscape.com
a7a093b79f Add dynamic toolbar layout.
git-svn-id: svn://10.0.0.236/trunk@10037 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 03:56:55 +00:00
michaelp%netscape.com
adef5c738a new plugin world.
git-svn-id: svn://10.0.0.236/trunk@10036 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 03:48:58 +00:00
michaelp%netscape.com
3b967286ad changes for new plugin world.
git-svn-id: svn://10.0.0.236/trunk@10035 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 03:46:52 +00:00
michaelp%netscape.com
6adb1c959c fixes for new plugin world.
git-svn-id: svn://10.0.0.236/trunk@10034 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 03:46:05 +00:00
warren%netscape.com
2bb9a8a545 Accepting michaelp's API changes for GetValue/SetValue.
git-svn-id: svn://10.0.0.236/trunk@10033 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 03:45:38 +00:00
michaelp%netscape.com
68b263feca fix so that if our windows get subclassed and we never hear any
WM_DESTROY messages, we still cleanup properly.


git-svn-id: svn://10.0.0.236/trunk@10032 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 03:45:06 +00:00
ramiro%netscape.com
3c169b7d04 Add #include "prefapi.h".
git-svn-id: svn://10.0.0.236/trunk@10031 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 03:41:15 +00:00
ramiro%netscape.com
27a216e69c Add shell placement.
git-svn-id: svn://10.0.0.236/trunk@10030 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 03:33:06 +00:00
spider%netscape.com
e97fd467cd Getting FS Calendar Core to compile...
git-svn-id: svn://10.0.0.236/trunk@10029 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 03:21:18 +00:00
spider%netscape.com
faefa14a3b Add MOZ_TREX to CFLAGS
git-svn-id: svn://10.0.0.236/trunk@10028 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 03:20:14 +00:00
racham%netscape.com
16f90c3fe0 BUG 323175 : Use global registry variable (currentProfileDirectory)
git-svn-id: svn://10.0.0.236/trunk@10027 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 02:55:58 +00:00
racham%netscape.com
419db3f0eb BUG 323175 : Use global registry variable (urrentProfileDirectory)
git-svn-id: svn://10.0.0.236/trunk@10026 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 02:54:59 +00:00
racham%netscape.com
cb7774c7db BUG 323175 : Catch the registry value into a global variable (currentProfileDirectory)
git-svn-id: svn://10.0.0.236/trunk@10025 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 02:53:59 +00:00
racham%netscape.com
26458fe839 BUG 323175 : Sync up with Netscape Registry and Profile Manager changes
git-svn-id: svn://10.0.0.236/trunk@10024 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 02:52:02 +00:00
spider%netscape.com
795f769d5e Whomping latest Nova Calendar Core implementation into FS
NOTE:  Mozilla & Gromit should not be building this stuff.


git-svn-id: svn://10.0.0.236/trunk@10023 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 02:20:22 +00:00
ramiro%netscape.com
53e0d6f4ad Fix the create view label order.
git-svn-id: svn://10.0.0.236/trunk@10022 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 02:07:09 +00:00
kostello%netscape.com
a5a3cc3c2c Update to synch with new Widget interfaces
git-svn-id: svn://10.0.0.236/trunk@10021 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 01:40:16 +00:00
kostello%netscape.com
4ae2383f99 Add nsWidgetSupport MANIFEST
git-svn-id: svn://10.0.0.236/trunk@10020 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 01:39:26 +00:00
kostello%netscape.com
074e2ccc6f Added nsWidgetSupport.cpp
git-svn-id: svn://10.0.0.236/trunk@10019 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 01:38:53 +00:00
kostello%netscape.com
bc20d943c1 Synch with new Widget interfaces
git-svn-id: svn://10.0.0.236/trunk@10018 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 01:36:26 +00:00
kostello%netscape.com
6647fe02ad Synch with new widget interfaces
git-svn-id: svn://10.0.0.236/trunk@10017 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 01:35:27 +00:00
kipp%netscape.com
282257332e nuked
git-svn-id: svn://10.0.0.236/trunk@10016 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 00:21:25 +00:00
kipp%netscape.com
6a52b74171 Removed css/layout directory
git-svn-id: svn://10.0.0.236/trunk@10015 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 00:19:49 +00:00
kipp%netscape.com
4a9593e1f6 Fixed log module name
git-svn-id: svn://10.0.0.236/trunk@10014 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 00:18:10 +00:00
kipp%netscape.com
8d8e8d1a47 Use traceable ctor design pattern
git-svn-id: svn://10.0.0.236/trunk@10013 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 00:17:53 +00:00
kipp%netscape.com
8c8bbed687 Fixed some memory leaks
git-svn-id: svn://10.0.0.236/trunk@10012 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 00:17:13 +00:00
kipp%netscape.com
916f525269 Use nsBrowserWindow::CloseAllWindows to shutdown cleanly; added a missing NS_RELEASE and removed an improper NS_ADDREF
git-svn-id: svn://10.0.0.236/trunk@10011 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 00:16:50 +00:00
kipp%netscape.com
05141d34c2 Changed reference counting rules so that the global array holds a reference; added CloseAllWindows so that clean app shutdown is possible
git-svn-id: svn://10.0.0.236/trunk@10010 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 00:16:12 +00:00
kipp%netscape.com
54d328117f Removed Destroy and added CloseAllWindows
git-svn-id: svn://10.0.0.236/trunk@10009 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 00:14:31 +00:00
kipp%netscape.com
9095fa6e03 Cleaned up ConvertStatus code
git-svn-id: svn://10.0.0.236/trunk@10008 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 00:14:11 +00:00
kipp%netscape.com
68c7e3cf27 Only execute SymLoadModule when tracing is enabled
git-svn-id: svn://10.0.0.236/trunk@10007 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 00:13:35 +00:00
pinkerton%netscape.com
bed315ee6c don't return "boolean" in GetScrollbarMode() when the return value is a tri-state layout constant. return Int8 which is how it's stored.
git-svn-id: svn://10.0.0.236/trunk@10006 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-14 23:32:42 +00:00
vidur%netscape.com
854414df4f Got rid of Construct method from nsIJSScriptObject interface. Added first-pass implementation of reflow case to nsGenericHTMLElement::SetAttr.
git-svn-id: svn://10.0.0.236/trunk@10004 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-14 23:02:32 +00:00
vidur%netscape.com
82f15807dd Got rid of Construct method from nsIJSScriptObject interface.
git-svn-id: svn://10.0.0.236/trunk@10003 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-14 23:01:48 +00:00
slamm%netscape.com
250269edd6 Fix the lines removed count in the +/- column
git-svn-id: svn://10.0.0.236/trunk@10002 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-14 22:58:53 +00:00
sman%netscape.com
d2d2c6ff59 Updated to use the new error codes
git-svn-id: svn://10.0.0.236/trunk@10001 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-14 22:40:42 +00:00
pinkerton%netscape.com
04a5b3b832 Fix bug where we would randomly crash in the RDF notification handler. We weren't properly disposing of the personal toolbar pane and so it would get events long after it was deleted, causing crashes.
git-svn-id: svn://10.0.0.236/trunk@10000 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-14 22:36:43 +00:00
rogerl%netscape.com
93e167fada Fixed bug #316293; when break was very first statement in a loop it wasn't
getting patched and so looped for ever.


git-svn-id: svn://10.0.0.236/trunk@9999 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-14 22:33:19 +00:00
norris%netscape.com
3f06fb0a0a Fix 179417 "crash in with tests with with object"
The problem was that when "w=With()" is executed, the new object "w" is created
such that it shares a scope with Object.prototype. When GC runs and
Object.prototype and "w" are both collected, the test in js_DropObjectMap
currently looks like

     if (MAP_IS_NATIVE(map) && ((JSScope *)map)->object == obj)
        ((JSScope *)map)->object = NULL;

The problem is that MAP_IS_NATIVE is false because the object ops are special
for the With object. Thus map->object is left nonnull and when "w" is collected,
it tries to drop its scope, which causes map->object to be referenced, causing
the null dereference.

Update MAP_IS_NATIVE to include With objects as well.


git-svn-id: svn://10.0.0.236/trunk@9998 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-14 22:01:01 +00:00
troy%netscape.com
4eba509d38 Added overloaded ConstructFrame() member function. Prep work for table
changes


git-svn-id: svn://10.0.0.236/trunk@9997 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-14 21:16:01 +00:00
kostello%netscape.com
79c3cd8a7a Changed to match new Widget interfaces.
git-svn-id: svn://10.0.0.236/trunk@9995 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-14 20:56:27 +00:00
kostello%netscape.com
458aaa4768 Changes implementation to match the new Widget interfaces i.e. t
he signature of many of the "getters" changed.


git-svn-id: svn://10.0.0.236/trunk@9994 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-14 20:54:38 +00:00
kostello%netscape.com
72ded9346c Helper functions for widget manipulation and creation
git-svn-id: svn://10.0.0.236/trunk@9993 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-14 20:49:28 +00:00
kostello%netscape.com
84d1794148 Changes implementation to match the new Widget interfaces. This involves
many calls to QueryInterface because many of the instance members
no longer derive from nsIWidget.
Also, using helper functions in nsWidgetHelper for standard Create calls.


git-svn-id: svn://10.0.0.236/trunk@9992 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-14 20:46:42 +00:00
kostello%netscape.com
84cf5785b0 Changes implementation to match the new Widget interfaces. This involves
many calls to QueryInterface. Also, using helper functions in nsWidgetHelper
for standard Create calls.


git-svn-id: svn://10.0.0.236/trunk@9991 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-14 20:43:58 +00:00
kostello%netscape.com
52bb52faa0 Removed Aggregation and removed multiple inheritance.
Changes implementation to match the new Widget interfaces. This involves
many calls to QueryInterface.


git-svn-id: svn://10.0.0.236/trunk@9990 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-14 20:40:49 +00:00
kostello%netscape.com
2bf19c7d8f Major Change: changed all Widget interfaces so that they no longer
descend from nsIWidget. This conforms better to our standard
of not having interfaces inherit from each other.

Changed many of the interfaces to be XPCOM complient i.e. all methods
return nsresult. Therefore the signature of many of the "getters"
changed.


git-svn-id: svn://10.0.0.236/trunk@9989 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-14 20:38:05 +00:00
mcafee%netscape.com
24c7cf4a57 Merging in XfeToggleButtonIsSet() from Nova branch
git-svn-id: svn://10.0.0.236/trunk@9988 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-14 20:26:48 +00:00
slamm%netscape.com
8b10125355 Quiet a compiler warning
git-svn-id: svn://10.0.0.236/trunk@9987 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-14 19:52:57 +00:00
slamm%netscape.com
4fb6e7c47b Kill some dead code
git-svn-id: svn://10.0.0.236/trunk@9986 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-14 19:52:48 +00:00
slamm%netscape.com
aefa48de5b Use the prefapi directly for the toolbar prefs.
git-svn-id: svn://10.0.0.236/trunk@9985 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-14 19:52:40 +00:00
slamm%netscape.com
29aabfaa4c Use prefapi instead of fe_GlobalPrefs. Remove some unused context fe_data items.
git-svn-id: svn://10.0.0.236/trunk@9984 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-14 19:52:34 +00:00
slamm%netscape.com
0fb575b027 Add a doClose method to do some possible cleanup. Really just moving some old code out of the xfe close to where it should be used.
git-svn-id: svn://10.0.0.236/trunk@9983 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-14 19:52:31 +00:00
slamm%netscape.com
41ba60ca7e Don't need to set top_area in fe_data anymore.
git-svn-id: svn://10.0.0.236/trunk@9982 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-14 19:52:19 +00:00
slamm%netscape.com
12f4c1a56e Remove a bunch of uneeded items from the context fe_data.
git-svn-id: svn://10.0.0.236/trunk@9981 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-14 19:52:15 +00:00
slamm%netscape.com
c7b9024d78 Quiet some compiler warning. Kill some references to fe_data in context that is obsolete.
git-svn-id: svn://10.0.0.236/trunk@9980 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-14 19:52:08 +00:00
slamm%netscape.com
32fd78b726 Remove toolbar prefs from fe_globalPrefs. Use the backend call directly instead. Discard some unused prefs.
git-svn-id: svn://10.0.0.236/trunk@9979 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-14 19:52:01 +00:00
slamm%netscape.com
3bd21ad849 Move an abort clean up from mozilla.c
git-svn-id: svn://10.0.0.236/trunk@9978 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-14 19:51:57 +00:00
slamm%netscape.com
0c4d375986 Kill reference to url_label in fe_data. Quiet a compiler warning.
git-svn-id: svn://10.0.0.236/trunk@9977 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-14 19:51:50 +00:00
slamm%netscape.com
9f26899c8c Kill some dead code. Call prefs directly instead of using fe_globalPrefs.
git-svn-id: svn://10.0.0.236/trunk@9976 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-14 19:51:46 +00:00
pinkerton%netscape.com
82f6d6f453 HTMLPane now respects size from HT (in pixels or percentages).
git-svn-id: svn://10.0.0.236/trunk@9975 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-14 18:44:19 +00:00
wtc%netscape.com
0c4b855072 For Strong Arm 110 (sa110), set the OS_ARCH to "arm".
git-svn-id: svn://10.0.0.236/trunk@9974 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-14 18:09:06 +00:00
sman%netscape.com
4e6631611f saved folders column in a different view
git-svn-id: svn://10.0.0.236/trunk@9973 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-14 18:03:20 +00:00
spider%netscape.com
0470f135c4 xp button and folder birth
git-svn-id: svn://10.0.0.236/trunk@9971 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-14 16:20:50 +00:00
dcone%netscape.com
85c7d18ae3 added some image tests
git-svn-id: svn://10.0.0.236/trunk@9970 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-14 15:46:23 +00:00
toshok%netscape.com
3b6c53da74 Fix bugzilla bug 741 (typo in laybuiltin.c -- builtin->width should be builtin_width. contributed by rkl@connect.org.uk.) Also, move the builtin's layer at the end of lo_UpdateStateAfterBuiltinLayout.
git-svn-id: svn://10.0.0.236/trunk@9969 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-14 08:53:43 +00:00
rpotts%netscape.com
512857d619 Fixed some reference counting problems introduced by the rev 1.20 check in...
git-svn-id: svn://10.0.0.236/trunk@9968 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-14 05:43:54 +00:00
troy%netscape.com
6dc2d7e4d2 Container floated elements are now wrapped in a BODY frame
git-svn-id: svn://10.0.0.236/trunk@9967 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-14 04:01:08 +00:00
troy%netscape.com
d9e727b8ba Moved CreatePlaceholderFrame() to nsCSSContainerFrame so it's shared by
the block and the inline code


git-svn-id: svn://10.0.0.236/trunk@9966 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-13 19:58:02 +00:00
troy%netscape.com
555da3f7a1 Restored some code that I can't remove until tables are changed to work
with the new frane construction code


git-svn-id: svn://10.0.0.236/trunk@9965 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-13 19:18:39 +00:00
raman%netscape.com
dc7639086f Bug fixes to isSecurePrincipal. We weren't checking codebase_principal preference correctly.
git-svn-id: svn://10.0.0.236/trunk@9964 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-13 18:07:59 +00:00
wtc%netscape.com
4541f18760 For DG/UX, rename its OS_ARCH fro "dgux" to "DGUX".
dgux.mk is also renamed DGUX.mk.


git-svn-id: svn://10.0.0.236/trunk@9963 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-13 04:18:06 +00:00
wtc%netscape.com
b4549fd4bb Port to Linux/Strong Arm 110. Only the pthreads version works.
Files changed: Linux.mk, _linux.cfg, _linux.h.


git-svn-id: svn://10.0.0.236/trunk@9962 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-13 03:43:33 +00:00
troy%netscape.com
2f043c9e30 Changed to explicitly create frame of type frameset or outer frame instead
of using CreateFrame() which will be going away


git-svn-id: svn://10.0.0.236/trunk@9961 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-13 02:45:07 +00:00
raman%netscape.com
4ed88cebba Added some more preferences for AutoUpdate
git-svn-id: svn://10.0.0.236/trunk@9960 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-13 02:02:51 +00:00
troy%netscape.com
b8329612af Changed Reflow() to directly create the child frames rather than use
CreateFrame() member function which is going away


git-svn-id: svn://10.0.0.236/trunk@9959 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-12 23:53:28 +00:00
troy%netscape.com
172fff617c Changes ProcessChildren() to return the child list and leave it to the caller
(ConstructFrame() member function) to call Init()


git-svn-id: svn://10.0.0.236/trunk@9958 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-12 23:51:57 +00:00
kipp%netscape.com
83c8cc1fae Work around crash bug with content delegate
git-svn-id: svn://10.0.0.236/trunk@9957 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-12 23:30:23 +00:00
kipp%netscape.com
6e7f4e1670 Added a build variable for enable xpcom refcnt tracing
git-svn-id: svn://10.0.0.236/trunk@9956 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-12 19:35:20 +00:00
kipp%netscape.com
10b6617c48 Fixup AddRef/Release and some constructors to use NS_ADDREF (etc) macros
git-svn-id: svn://10.0.0.236/trunk@9955 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-12 19:33:48 +00:00
kipp%netscape.com
fff296425d whitespace tweak
git-svn-id: svn://10.0.0.236/trunk@9954 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-12 19:31:10 +00:00
kipp%netscape.com
8005dd0043 Use NS_ADDREF macros to enable refcnt tracing
git-svn-id: svn://10.0.0.236/trunk@9953 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-12 19:30:49 +00:00
kipp%netscape.com
feed565fc3 Added missing release's
git-svn-id: svn://10.0.0.236/trunk@9952 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-12 19:30:09 +00:00
kipp%netscape.com
b678988c90 Use ADDREF/RELEASE macros
git-svn-id: svn://10.0.0.236/trunk@9951 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-12 19:29:39 +00:00
kipp%netscape.com
c2d8209d5c Added nsTraceRefcnt to the build and exports
git-svn-id: svn://10.0.0.236/trunk@9950 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-12 19:29:03 +00:00
kipp%netscape.com
f8b196a533 whitespace tidy up
git-svn-id: svn://10.0.0.236/trunk@9949 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-12 19:28:01 +00:00
kipp%netscape.com
6fda7b24bf Use NS_ADDREF/NS_RELEASE macros
git-svn-id: svn://10.0.0.236/trunk@9948 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-12 19:26:52 +00:00
kipp%netscape.com
987394103f Support build-time usage of the nsTraceRefcnt class for tracing refcnt manipulations. In addition, added NS_NEWXPCOM and NS_DELETEXPCOM macros to track create/destroys
git-svn-id: svn://10.0.0.236/trunk@9947 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-12 19:26:36 +00:00
kipp%netscape.com
0b3cf3ff18 Register libraries with the refcnt tracer
git-svn-id: svn://10.0.0.236/trunk@9946 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-12 19:25:28 +00:00
kipp%netscape.com
d9c70e46f0 new
git-svn-id: svn://10.0.0.236/trunk@9945 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-12 19:25:06 +00:00
kipp%netscape.com
f4f2970d0a Added tools directory to windows build
git-svn-id: svn://10.0.0.236/trunk@9944 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-12 19:18:04 +00:00
kipp%netscape.com
13af87effd new
git-svn-id: svn://10.0.0.236/trunk@9943 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-12 17:53:08 +00:00
mcafee%netscape.com
dba7583631 Fixing Solaris bustage
git-svn-id: svn://10.0.0.236/trunk@9937 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-12 05:55:51 +00:00
mcafee%netscape.com
2c5daf4cc9 Solaris needs EOF character
git-svn-id: svn://10.0.0.236/trunk@9936 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-12 05:52:39 +00:00
mcafee%netscape.com
7f26f3101e Adding privacy prefs
git-svn-id: svn://10.0.0.236/trunk@9935 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-12 05:36:51 +00:00
troy%netscape.com
4e069097cb Removed some XXX CONSTRUCTION commented out code
git-svn-id: svn://10.0.0.236/trunk@9934 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-12 04:54:04 +00:00
raman%netscape.com
5200561a75 Commenting out the call for AutoUpdate because Mac was not building
git-svn-id: svn://10.0.0.236/trunk@9933 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-12 04:52:17 +00:00
raman%netscape.com
757204162b Commenting out the call for AutoUpdate because Mac was not building
git-svn-id: svn://10.0.0.236/trunk@9932 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-12 04:50:45 +00:00
troy%netscape.com
8189d75efa Part of frame construction changes
git-svn-id: svn://10.0.0.236/trunk@9931 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-12 04:46:35 +00:00
despotdaemon%netscape.com
847a52c2f3 Pseudo-automatic update of changes made by danda@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@9930 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-12 03:45:23 +00:00
despotdaemon%netscape.com
9fa0b92dd3 Pseudo-automatic update of changes made by danda@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@9929 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-12 03:43:39 +00:00
rjc%netscape.com
6c49d37ebf Exported autoupdt.h to dist area.
git-svn-id: svn://10.0.0.236/trunk@9928 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-12 02:54:33 +00:00
peterl%netscape.com
d5c5ee4080 vend important rule when present
git-svn-id: svn://10.0.0.236/trunk@9927 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-12 02:46:59 +00:00
peterl%netscape.com
1d00b6c9c9 fixed content ref count bugs in ContentAppended
git-svn-id: svn://10.0.0.236/trunk@9926 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-12 02:46:09 +00:00
peterl%netscape.com
cb4c019521 added debug code for ref counting
git-svn-id: svn://10.0.0.236/trunk@9925 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-12 02:45:26 +00:00
peterl%netscape.com
261f51617b init ref count of important rule
git-svn-id: svn://10.0.0.236/trunk@9924 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-12 02:43:48 +00:00
peterl%netscape.com
67d0ec8374 properly addref attr stylesheet before returning
git-svn-id: svn://10.0.0.236/trunk@9923 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-12 02:43:19 +00:00
peterl%netscape.com
b1b127a551 properly release doc & style sheet when setting attributes
git-svn-id: svn://10.0.0.236/trunk@9922 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-12 02:42:44 +00:00
rjc%netscape.com
f4bf910c8a Control the autoupdate via rdf. Changes from raman. Reviewed by rjc
git-svn-id: svn://10.0.0.236/trunk@9921 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-12 02:37:57 +00:00
rjc%netscape.com
921e6a3882 Control the autoupdate via prefereneces. Changes from raman. Reviewed by rjc
git-svn-id: svn://10.0.0.236/trunk@9920 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-12 02:37:24 +00:00
rjc%netscape.com
9fd5f78185 Moved autoupdt code out od MOZ_SMARTUPDATE. Changes from raman. Reviewed by rjc
git-svn-id: svn://10.0.0.236/trunk@9919 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-12 02:37:01 +00:00
cmanske%netscape.com
4ea3729f29 Fixed table editing bugs. Ctrl key now needed to size table with mouse
git-svn-id: svn://10.0.0.236/trunk@9918 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-12 01:46:12 +00:00
cmanske%netscape.com
2a7a771146 Fixed Composer bugs, changed image drag behavior in Composer window - must select image first
git-svn-id: svn://10.0.0.236/trunk@9917 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-12 01:44:20 +00:00
cmanske%netscape.com
051cf3669f Added strings for mouse-over image feedback and changed drag table data struct
git-svn-id: svn://10.0.0.236/trunk@9916 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-12 01:40:46 +00:00
kmcclusk%netscape.com
c55576e6df Fix for Irix build bustage.
git-svn-id: svn://10.0.0.236/trunk@9915 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-12 00:53:57 +00:00
despotdaemon%netscape.com
4ede8ac839 Pseudo-automatic update of changes made by dveditz@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@9914 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-12 00:24:01 +00:00
joki%netscape.com
3199411b18 Add SetProgess method to nsIBrowserWindow interface
git-svn-id: svn://10.0.0.236/trunk@9913 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-12 00:22:27 +00:00
joki%netscape.com
2470c9051f Add SetProgess method
git-svn-id: svn://10.0.0.236/trunk@9912 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-12 00:21:46 +00:00
despotdaemon%netscape.com
e889dde9a5 Pseudo-automatic update of changes made by cyeh@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@9911 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-12 00:13:03 +00:00
mcafee%netscape.com
8f17bab161 comment: warning not to pile anything else on the obsolete fe_globalPrefs structure
git-svn-id: svn://10.0.0.236/trunk@9910 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-12 00:11:32 +00:00
thom%netscape.com
9a8c4bdbe9 Added return value to GetHints method to make compiler happy
git-svn-id: svn://10.0.0.236/trunk@9909 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-12 00:08:31 +00:00
thom%netscape.com
566ec7b92f Added code to load menus
git-svn-id: svn://10.0.0.236/trunk@9908 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-12 00:06:05 +00:00
thom%netscape.com
60d2cf5d1d Added code to handle Menu events
git-svn-id: svn://10.0.0.236/trunk@9907 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-12 00:05:39 +00:00
thom%netscape.com
5795cd1fe0 Added resource file for menu definitions
git-svn-id: svn://10.0.0.236/trunk@9906 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-12 00:05:11 +00:00
vidur%netscape.com
fb061b8d52 Fixed document.writeln problem from http://www.legomindspring.com
git-svn-id: svn://10.0.0.236/trunk@9905 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-12 00:04:22 +00:00
sman%netscape.com
42e08c860c fixes to x400 parsing
git-svn-id: svn://10.0.0.236/trunk@9904 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 23:44:36 +00:00
sman%netscape.com
43fff83d63 better use of x400 parser
git-svn-id: svn://10.0.0.236/trunk@9903 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 23:44:14 +00:00
kmcclusk%netscape.com
057684cbd7 Added 8bit visual support.
git-svn-id: svn://10.0.0.236/trunk@9902 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 23:27:22 +00:00
sman%netscape.com
758261d32e use x400 parser for capi urls
git-svn-id: svn://10.0.0.236/trunk@9901 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 23:22:43 +00:00
jsun%netscape.com
de9c7c9f85 Remove some unnecessary comments.
git-svn-id: svn://10.0.0.236/trunk@9900 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 23:22:39 +00:00
sman%netscape.com
d6d35c2e0c bug fixes
git-svn-id: svn://10.0.0.236/trunk@9899 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 23:20:34 +00:00
jsun%netscape.com
3881a8e7ff Fixed CAPI_DestroyStreams.
git-svn-id: svn://10.0.0.236/trunk@9898 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 23:17:13 +00:00
pinkerton%netscape.com
f9b0b72f25 fix frames and property dialogs by adding back PPob 1005 that I overeagerly pruned last week.
git-svn-id: svn://10.0.0.236/trunk@9897 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 22:36:02 +00:00
clu%netscape.com
aba4ece1da tweaks to the encoding dialog box. also added the page title dialog box for #123601.
git-svn-id: svn://10.0.0.236/trunk@9896 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 22:26:13 +00:00
hyatt%netscape.com
0e8c997df5 Fixes for Aurora custom icons.
git-svn-id: svn://10.0.0.236/trunk@9895 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 22:25:21 +00:00
hyatt%netscape.com
656ff915d3 Fix for Aurora custom icons. Reviewed by Nisheeth and DP.
git-svn-id: svn://10.0.0.236/trunk@9894 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 22:24:27 +00:00
jsun%netscape.com
bc25cacb74 FetchEventsByID now calls callback one more time to send finished message.
git-svn-id: svn://10.0.0.236/trunk@9893 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 22:22:26 +00:00
clu%netscape.com
f549fa7a38 #123601 - headers for CPageTitle.
git-svn-id: svn://10.0.0.236/trunk@9892 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 22:19:47 +00:00
clu%netscape.com
90fce3eb74 implmented CPageTitle for #123601.
git-svn-id: svn://10.0.0.236/trunk@9891 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 22:19:44 +00:00
clu%netscape.com
8908f97b41 #123601 - ask users for page title before saving. Also tweaked at the composer encoding dialog code so the menu item would reflect encoding changes correctly
git-svn-id: svn://10.0.0.236/trunk@9890 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 22:19:39 +00:00
clu%netscape.com
67b7716d4d #123601 - added resource number 1522 for CPageTitle.
git-svn-id: svn://10.0.0.236/trunk@9889 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 22:19:36 +00:00
waterson%netscape.com
9393d087ea Fix bustage on Linux/Motif 2.0 with reflow.
git-svn-id: svn://10.0.0.236/trunk@9888 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 22:12:47 +00:00
jsun%netscape.com
d323240c96 non quoted-printable multiline should work now.
git-svn-id: svn://10.0.0.236/trunk@9887 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 22:07:13 +00:00
pinkerton%netscape.com
f7e694d878 Fix bug in drag and drop where we were passing parent folder and any selected children to HT, which would cause it to die. Affects drag feedback in that selected children are not displayed when their parent container is selected as well.
git-svn-id: svn://10.0.0.236/trunk@9886 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 21:52:42 +00:00
ramiro%netscape.com
61c60b3eb8 Fix the stupid toolbox assertions cause the editor toolbar dont have logos.
git-svn-id: svn://10.0.0.236/trunk@9885 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 20:52:24 +00:00
jband%netscape.com
1135eee803 added CRT_CALL decoration to callback typedefs in jsprvtd.h (it had only been used in jspubtd.h) and moved the last remaining callback typedef (JSTrapHandler) out of jsdbgapi.h and into jsprvtd.h along with the others
git-svn-id: svn://10.0.0.236/trunk@9884 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 19:58:15 +00:00
brendan%netscape.com
40a934496f - Use 8 space hard tabstops like god and IBM intended, but indent-tabs-mode:nil
should eliminate hard tabs anyway (so 8 is just in case one gets thru -- LXR
  was not displaying this source well with 4).
- Don't nest jsapi.h outside the idempotent-include #ifndef in dom.h.
- Include xp.h to get this code working on Windows (to cope with some kind of
  compiled header problem).
- Fix bad JS_GetEmptyStringValue calls that were treated as returning JSString*
  rather than jsval, and fed into STRING_TO_JSVAL.
- Avoid tagging and untagging a jsval to test for a null JSString* return.
- Fiddle formatting in a couple of places.
- Avoid leaving cdata->data null after realloc failure.  Use of a local temp
  (data2) also improves generated code by eliminating memory ambiguity.


git-svn-id: svn://10.0.0.236/trunk@9883 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 19:46:23 +00:00
slamm%netscape.com
592eefc568 Fix resources for RDF Toolbars.
git-svn-id: svn://10.0.0.236/trunk@9882 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 19:33:49 +00:00
pinkerton%netscape.com
a82bc29604 Docked coordinator is now smart enough to show/hide htmlpane as appropriate. Remove (again!) the logic from here.
git-svn-id: svn://10.0.0.236/trunk@9880 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 19:05:51 +00:00
pinkerton%netscape.com
3aa8cb7842 Initializing new member vars for bug#309770
git-svn-id: svn://10.0.0.236/trunk@9879 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 19:04:59 +00:00
pinkerton%netscape.com
b844b790f1 More htmlpane work. Should now appear when it is there and load the url.
git-svn-id: svn://10.0.0.236/trunk@9878 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 19:04:22 +00:00
slamm%netscape.com
d087d7347a Back out some changes. Accidentally check 'em in.
git-svn-id: svn://10.0.0.236/trunk@9877 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 19:04:21 +00:00
pinkerton%netscape.com
d55a65eb6b Fix things to work with first or second shelf being the one that can be closed.
git-svn-id: svn://10.0.0.236/trunk@9876 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 19:03:44 +00:00
pinkerton%netscape.com
6acfcc498d export XP_GetURLForView for HTMLpane stuff.
git-svn-id: svn://10.0.0.236/trunk@9875 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 19:02:10 +00:00
pinkerton%netscape.com
d609e79f3c turn on html area code for mac (now ifdef'd mac/win).
git-svn-id: svn://10.0.0.236/trunk@9874 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 19:01:48 +00:00
pinkerton%netscape.com
3058cbf555 turn on QAP flag and define some methods so things will link.
git-svn-id: svn://10.0.0.236/trunk@9873 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 19:01:09 +00:00
pinkerton%netscape.com
aa492b455d adding QA_Partner support.
git-svn-id: svn://10.0.0.236/trunk@9872 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 19:00:41 +00:00
pinkerton%netscape.com
a3080e873f added CTextColumn.cp for QAP support
git-svn-id: svn://10.0.0.236/trunk@9871 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 18:59:31 +00:00
slamm%netscape.com
abad008765 Add a dependency for resources-translations
git-svn-id: svn://10.0.0.236/trunk@9870 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 18:59:16 +00:00
slamm%netscape.com
697080e7ab Have the popup update when it's first posted. Fix a selection problem caused by improper if-statement grouping.
git-svn-id: svn://10.0.0.236/trunk@9869 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 18:58:58 +00:00
slamm%netscape.com
b19ab88fef Pull hackTranslations members.
git-svn-id: svn://10.0.0.236/trunk@9868 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 18:58:50 +00:00
slamm%netscape.com
c5af2f108c Delete some unused member variables.
git-svn-id: svn://10.0.0.236/trunk@9867 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 18:58:46 +00:00
slamm%netscape.com
5ae5ce5081 Load bookmarks for docked view. Later this will be hooked up with the toolbars.
git-svn-id: svn://10.0.0.236/trunk@9866 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 18:58:43 +00:00
slamm%netscape.com
02f5980d91 Remove unused function prototype.
git-svn-id: svn://10.0.0.236/trunk@9865 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 18:58:39 +00:00
slamm%netscape.com
5c46f0b4a4 Don't require focus for a copy. Allows copy in view source window.
git-svn-id: svn://10.0.0.236/trunk@9864 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 18:58:32 +00:00
slamm%netscape.com
b7587ffc10 Fix some comments that were missing '!' at the beginning of the line
git-svn-id: svn://10.0.0.236/trunk@9863 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 18:58:29 +00:00
slamm%netscape.com
b3b4a8c2c3 Retire the bookmarks and history translation and add navcenter translations
git-svn-id: svn://10.0.0.236/trunk@9862 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 18:58:18 +00:00
slamm%netscape.com
30417a0709 Fixing close window bug for html dialogs. Make html dialogs have the same translations as the browser. This may be overkill. We can trim back the list later. Kill some long dead code.
git-svn-id: svn://10.0.0.236/trunk@9861 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 18:58:12 +00:00
slamm%netscape.com
7758150121 Compress consecutive spaces and tabs down to one space. Saves about 40k bytes.
git-svn-id: svn://10.0.0.236/trunk@9860 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 18:58:09 +00:00
troy%netscape.com
72786e028d Fixed leak of reflow command
git-svn-id: svn://10.0.0.236/trunk@9859 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 18:57:54 +00:00
vidur%netscape.com
9f52b981fe Added stopgap code for aliased constructors
git-svn-id: svn://10.0.0.236/trunk@9858 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 18:31:38 +00:00
sman%netscape.com
98245fe0d9 more updates
git-svn-id: svn://10.0.0.236/trunk@9857 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 18:23:31 +00:00
jsun%netscape.com
509191a3f7 Reads from CAPI much faster
git-svn-id: svn://10.0.0.236/trunk@9856 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 18:21:56 +00:00
spider%netscape.com
fd4a52eaad Remove ref to calnetwork
git-svn-id: svn://10.0.0.236/trunk@9855 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 18:12:07 +00:00
vidur%netscape.com
833ee5f0d5 Added stopgap code for aliased constructors
git-svn-id: svn://10.0.0.236/trunk@9854 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 18:05:11 +00:00
dcone%netscape.com
ec0f060783 fixed some focus bugs
git-svn-id: svn://10.0.0.236/trunk@9853 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 17:49:49 +00:00
dcone%netscape.com
17375f82e9 fixed focus bugs
git-svn-id: svn://10.0.0.236/trunk@9852 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 17:49:32 +00:00
dcone%netscape.com
0f5f3dad67 focus bug fixes
git-svn-id: svn://10.0.0.236/trunk@9851 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 17:47:50 +00:00
sman%netscape.com
e4f3cf32cd bumped maxrepeat up to 17
git-svn-id: svn://10.0.0.236/trunk@9850 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 17:39:46 +00:00
sman%netscape.com
e704f6fd02 need to add x400 parsing to deal with cst server login
git-svn-id: svn://10.0.0.236/trunk@9849 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 17:35:45 +00:00
spider%netscape.com
da872f430b Fix for html
git-svn-id: svn://10.0.0.236/trunk@9848 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 17:24:08 +00:00
terry%netscape.com
bcb7a51ecb Added new "Layout" component to NGLayout.
git-svn-id: svn://10.0.0.236/trunk@9847 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 16:59:02 +00:00
spider%netscape.com
d692b45ef9 Remove calnetwork lib
git-svn-id: svn://10.0.0.236/trunk@9846 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 16:27:02 +00:00
ramiro%netscape.com
36e090e4f2 Split MOZILLA_MOTIF_SEARCH_PATH into two: MOZILLA_MOTIF_INCLUDE_SEARCH_PATH
and MOZILLA_MOTIF_LIB_SEARCH_PATH to deal with "smart" oses like hpux
which place motif headers and libraries in different places.


git-svn-id: svn://10.0.0.236/trunk@9842 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 13:27:04 +00:00
rjc%netscape.com
c22092efe0 More polling mechanism testing.
git-svn-id: svn://10.0.0.236/trunk@9839 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 11:05:50 +00:00
pierre%netscape.com
b93acd208b fix crash when GetFontMetrics() returns nil, which should never happen of course
git-svn-id: svn://10.0.0.236/trunk@9838 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 10:45:26 +00:00
pierre%netscape.com
835c0822af fix SetClipRegion + FillRect / added a temp SetFont / dispose mMainRegion
git-svn-id: svn://10.0.0.236/trunk@9837 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 10:37:36 +00:00
pierre%netscape.com
a55ce54bb1 fix crash on update
git-svn-id: svn://10.0.0.236/trunk@9836 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 10:19:26 +00:00
pierre%netscape.com
dad8efe8bd fix uninitialized mWindowRegion / make the window title bar visible
git-svn-id: svn://10.0.0.236/trunk@9835 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 10:17:02 +00:00
brendan%netscape.com
a006e5dfd3 - Fix js_AllocTryNotes to track how much space has been allocated from tempPool
for trynotes in the current code generator, and grow that space as needed.
- Avoid dividing by a multiple of 3 (JSTryNote is 3 ptrdiff_t's) via (char *)
  arithmetic.


git-svn-id: svn://10.0.0.236/trunk@9834 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 09:25:15 +00:00
pierre%netscape.com
b945f26976 initialize member variables to 0
git-svn-id: svn://10.0.0.236/trunk@9833 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 09:13:02 +00:00
pierre%netscape.com
526d344aad in the works / return hard-coded values instead of 0's
git-svn-id: svn://10.0.0.236/trunk@9832 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 09:12:37 +00:00
pierre%netscape.com
e08ee4cc26 initialize mBounds
git-svn-id: svn://10.0.0.236/trunk@9831 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 09:07:19 +00:00
pierre%netscape.com
d3f5c5243c added and removed plenty of files
git-svn-id: svn://10.0.0.236/trunk@9830 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 09:02:46 +00:00
pierre%netscape.com
e63ed115af added nsDTDUtils
git-svn-id: svn://10.0.0.236/trunk@9829 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 09:02:13 +00:00
pierre%netscape.com
70e16e24c6 added nsPluginViewer
git-svn-id: svn://10.0.0.236/trunk@9828 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 09:01:42 +00:00
rjc%netscape.com
2d16ebc092 Polling mechanism test.
git-svn-id: svn://10.0.0.236/trunk@9827 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 07:45:49 +00:00
mcafee%netscape.com
86ad096869 Moved privacy prefs from Advanced pane to new privacy pane. Removed some white space and bogus comments.
git-svn-id: svn://10.0.0.236/trunk@9826 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 06:48:39 +00:00
kipp%netscape.com
c97827f9d1 Updated Makefile to have the right source file list
git-svn-id: svn://10.0.0.236/trunk@9825 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 05:53:55 +00:00
kipp%netscape.com
1e404fa6c0 Implement ListTag on bullet-frame's so that they dump better
git-svn-id: svn://10.0.0.236/trunk@9824 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 05:42:31 +00:00
kipp%netscape.com
1f0fa5c437 inlined IsSynthetic implementation AND made it work
git-svn-id: svn://10.0.0.236/trunk@9823 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 05:38:25 +00:00
kipp%netscape.com
9f507487e2 Make full-screen plugins deactivate better
git-svn-id: svn://10.0.0.236/trunk@9822 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 04:43:27 +00:00
kipp%netscape.com
fd10278074 Use InitialReflow to layout the image document instead of ResizeReflow so that images layout properly
git-svn-id: svn://10.0.0.236/trunk@9817 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 04:20:30 +00:00
kipp%netscape.com
9685925ebc Removed a bunch of bogus code that (a) did very little (b) doesn't work for image documents
git-svn-id: svn://10.0.0.236/trunk@9815 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 04:17:07 +00:00
kipp%netscape.com
fe3e1e70ce Check in of somewhat bogus handling of the notify values (which is going away!)
git-svn-id: svn://10.0.0.236/trunk@9814 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 04:16:18 +00:00
kipp%netscape.com
1eb826e1fa Support length values for vertical-align
git-svn-id: svn://10.0.0.236/trunk@9813 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 04:15:03 +00:00
kipp%netscape.com
9f2aae11bb Added length tests
git-svn-id: svn://10.0.0.236/trunk@9812 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 04:14:40 +00:00
troy%netscape.com
4e1f178389 Changed new frame construction code to handle floaters
git-svn-id: svn://10.0.0.236/trunk@9811 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 04:13:29 +00:00
jband%netscape.com
8d91096b15 (not part of mozilla build) added source hook to jsdbgapi so that debugger can get clean access to source from jsscan when the JSFILE hack is used
git-svn-id: svn://10.0.0.236/trunk@9810 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 04:04:26 +00:00
kipp%netscape.com
7c46498749 Applied patch to make the timer code independent of motif (thanks goes to cls@seewood.org)
git-svn-id: svn://10.0.0.236/trunk@9809 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 03:58:43 +00:00
gagan%netscape.com
c0154ce534 Added cachelib for Nu_cache. Should not affect the builds.
git-svn-id: svn://10.0.0.236/trunk@9808 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 02:44:07 +00:00
gagan%netscape.com
2ffc303f9b Added nu_cache define.
git-svn-id: svn://10.0.0.236/trunk@9807 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 02:43:05 +00:00
spider%netscape.com
b67f00df07 Implemented asynchronous stream manager for loading multiple
XML UI definitions simultaneously


git-svn-id: svn://10.0.0.236/trunk@9806 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 02:26:35 +00:00
peterl%netscape.com
6b3b4ad6ca added strength api to style rule
git-svn-id: svn://10.0.0.236/trunk@9805 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 02:07:58 +00:00
peterl%netscape.com
5b77f89a4f added important rule support
git-svn-id: svn://10.0.0.236/trunk@9804 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 02:07:46 +00:00
peterl%netscape.com
6185326760 added important rule support
factored declaration processing to a static method


git-svn-id: svn://10.0.0.236/trunk@9803 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 02:07:05 +00:00
peterl%netscape.com
cd8f11ec85 sort style rules by strength
git-svn-id: svn://10.0.0.236/trunk@9802 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 02:05:30 +00:00
peterl%netscape.com
f0ab82d859 added strength
git-svn-id: svn://10.0.0.236/trunk@9801 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 02:05:07 +00:00
thom%netscape.com
d61d9c4575 added new version of getWidth
git-svn-id: svn://10.0.0.236/trunk@9800 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 01:46:45 +00:00
thom%netscape.com
6a7c053dd0 Added new version of getWidth
git-svn-id: svn://10.0.0.236/trunk@9799 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 01:44:43 +00:00
cls%seawood.org
d406d1f9c9 Sync'd.
git-svn-id: svn://10.0.0.236/trunk@9796 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 01:24:33 +00:00
spider%netscape.com
4e00a8e94a WIP: Stream Manager
git-svn-id: svn://10.0.0.236/trunk@9795 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 01:16:25 +00:00
law%netscape.com
cd57b240f5 Completing work on Win98 integration feature
git-svn-id: svn://10.0.0.236/trunk@9794 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 01:14:08 +00:00
cls%seawood.org
bca0cbbde5 Resurrected tweak_nspr kludge for --enable-nspr
git-svn-id: svn://10.0.0.236/trunk@9793 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 01:10:08 +00:00
rickg%netscape.com
396baa380e improved DTD context for better style/structure handling
git-svn-id: svn://10.0.0.236/trunk@9792 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 00:54:36 +00:00
law%netscape.com
9a36fcd388 Fix for Bugzilla bug #489; thanks to Klaus Malorny (Klaus.Malorny@knipp.de) for reporting it and for providing the fix!
git-svn-id: svn://10.0.0.236/trunk@9791 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 00:53:29 +00:00
law%netscape.com
488cc4562f Debug stuff
git-svn-id: svn://10.0.0.236/trunk@9790 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 00:49:00 +00:00
law%netscape.com
33324eac4f Completing check-in of Win98 integration feature
git-svn-id: svn://10.0.0.236/trunk@9789 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 00:46:05 +00:00
law%netscape.com
ee940a4b44 Fix for 4.5 bug; enable -P to be ignored on second launch
git-svn-id: svn://10.0.0.236/trunk@9788 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 00:41:53 +00:00
kipp%netscape.com
12ece32c94 Revised various vertical alignment cases to use font introspection data instead of hard coding in values; corrected middle computation.
git-svn-id: svn://10.0.0.236/trunk@9787 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 23:43:12 +00:00
kipp%netscape.com
ce50d36a6c Fixed a bug with percent values being converted to strings
git-svn-id: svn://10.0.0.236/trunk@9786 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 23:42:18 +00:00
kipp%netscape.com
40c9ee9aaa Added new font intropsection methods to nsIFontMetrics
git-svn-id: svn://10.0.0.236/trunk@9785 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 23:41:25 +00:00
morse%netscape.com
cd1fc89bea fix mac bustage
git-svn-id: svn://10.0.0.236/trunk@9783 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 23:02:23 +00:00
cyeh%netscape.com
cd5f53280c remove dependencies on platform specific installs of perl, macro-ize perl
tool calls


git-svn-id: svn://10.0.0.236/trunk@9782 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 22:51:45 +00:00
cyeh%netscape.com
0051acb625 macro-ize call to PERL
git-svn-id: svn://10.0.0.236/trunk@9781 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 22:50:21 +00:00
mcafee%netscape.com
a7194cbcf7 New privacy preference pane class
git-svn-id: svn://10.0.0.236/trunk@9776 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 22:35:39 +00:00
troy%netscape.com
26a69078c9 Fixed it so bullets work again
git-svn-id: svn://10.0.0.236/trunk@9775 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 22:28:55 +00:00
mjudge%netscape.com
b968139da0 IDIOT!! sorry. added 2 of 4 files
git-svn-id: svn://10.0.0.236/trunk@9774 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 22:25:05 +00:00
shaver%netscape.com
cab0809536 perignon grows (and throbs)
git-svn-id: svn://10.0.0.236/trunk@9773 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 22:14:52 +00:00
dcone%netscape.com
c0daadaa20 added textfield
git-svn-id: svn://10.0.0.236/trunk@9770 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 21:33:56 +00:00
morse%netscape.com
5bde2697ba remove 'remember this decision' from signon nag box
git-svn-id: svn://10.0.0.236/trunk@9769 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 21:27:13 +00:00
dcone%netscape.com
2db5860769 added focus managment, textfields
git-svn-id: svn://10.0.0.236/trunk@9768 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 21:26:46 +00:00
dcone%netscape.com
766161cc44 added focus managment
git-svn-id: svn://10.0.0.236/trunk@9767 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 21:26:01 +00:00
dcone%netscape.com
9e1c876e58 Added focus managment
git-svn-id: svn://10.0.0.236/trunk@9766 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 21:25:47 +00:00
dcone%netscape.com
d081c01058 added textfield widget, focus management
git-svn-id: svn://10.0.0.236/trunk@9765 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 21:25:10 +00:00
mjudge%netscape.com
fe6b790a23 Checks for ender only in #ifdef ENDERS mjudge
git-svn-id: svn://10.0.0.236/trunk@9764 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 21:15:28 +00:00
wtc%netscape.com
adfc66903c In CreateMacPathFromUnixPath, return paramErr if unixPath is nil.
git-svn-id: svn://10.0.0.236/trunk@9763 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 21:08:47 +00:00
troy%netscape.com
f75908c03b Backed out unintentional checkin
git-svn-id: svn://10.0.0.236/trunk@9762 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 21:05:02 +00:00
troy%netscape.com
906fdf619c Hooked back up IFRAME
git-svn-id: svn://10.0.0.236/trunk@9761 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 21:03:16 +00:00
gagan%netscape.com
3b534f76f8 Removed the silly useless parameter in NET_CleanUpCache.
git-svn-id: svn://10.0.0.236/trunk@9760 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 20:55:22 +00:00
gagan%netscape.com
4d5a191c8b cvs to be blamed for a bad merge. Moving to void parameter on NET_CleanupCache. Was giving errors on Mac.
git-svn-id: svn://10.0.0.236/trunk@9759 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 20:54:41 +00:00
wtc%netscape.com
02280d597b In CreateMacPathFromUnixPath, the length of the macPath buffer
should be (strlen(unixPath) + 2) instead of (strlen(unixPath) * 2).
This is because for a zero-length unixPath, the macPath is ":",
which needs two bytes.  Thanks to Patrick Beard <beard@netscape.com>
and Steve Dagley <sdagley@netscape.com> for reporting the bug and
suggesting a fix.


git-svn-id: svn://10.0.0.236/trunk@9758 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 20:49:14 +00:00
brendan%netscape.com
9481d98451 Don't CHECK_BRANCH(len) in GOSUB (len must be > 0) or at all in RETSUB.
git-svn-id: svn://10.0.0.236/trunk@9757 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 20:46:37 +00:00
pinkerton%netscape.com
449c40a89d pass in the main browser context to HTNewPane() for what'sRelated info.
git-svn-id: svn://10.0.0.236/trunk@9756 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 20:43:45 +00:00
pinkerton%netscape.com
0782be9f08 Changed BuildHTPane to take a context where it might have to display What'sRelated info. Now registering each kind of view (shack, popdown, embedded, standalone) with HT so it knows to give the right look/behavior.
git-svn-id: svn://10.0.0.236/trunk@9755 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 20:43:19 +00:00
brendan%netscape.com
97918d4e10 - GOSUB pushes the next pc after it, not its own pc (tradition!) and RETSUB
sets pc to the unbiased result of the pop.
- Use #if JS_HAS_EXCEPTIONS in the decompiler, fiddle similar cosmetic stuff.


git-svn-id: svn://10.0.0.236/trunk@9754 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 20:42:26 +00:00
pinkerton%netscape.com
4d371c0d95 Fix bug#309770 (refresh urltimer bug). added a new member (the reload policy) to CHTMLView so that it can be set correctly in SpendTime(). Now passing the eitire URL_Struct to SetURLTimer() to avoid long param lists.
git-svn-id: svn://10.0.0.236/trunk@9753 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 20:42:05 +00:00
troy%netscape.com
a445aaa66a Fixed frameset crash
git-svn-id: svn://10.0.0.236/trunk@9752 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 20:37:19 +00:00
norris%netscape.com
8105e6a166 Fix 312954 "monkey: on HPUX, special case failure when dividing by -0"
git-svn-id: svn://10.0.0.236/trunk@9751 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 20:27:16 +00:00
brendan%netscape.com
efc54c518a - Added commentary for TOK_DEFSHARP nodes explaining pn_kid's purpose.
- Don't over-commend nearby #endifs at the expense of legibility.


git-svn-id: svn://10.0.0.236/trunk@9750 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 20:13:06 +00:00
gagan%netscape.com
ec0bf10c03 Remaining changes from Nu_Cache. Added nucacheproto.c/h.
git-svn-id: svn://10.0.0.236/trunk@9749 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 20:11:13 +00:00
morse%netscape.com
624c7671ee Change 'About Site' to 'Display Site Info'
git-svn-id: svn://10.0.0.236/trunk@9748 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 20:06:27 +00:00
gagan%netscape.com
14caf39fd4 Nu_cache leftover changes.
git-svn-id: svn://10.0.0.236/trunk@9747 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 20:00:57 +00:00
gagan%netscape.com
e621d4348a nu_cache changes.
git-svn-id: svn://10.0.0.236/trunk@9746 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 19:58:35 +00:00
blizzard%appliedtheory.com
620f9317ad Bring fe up to date which fe header files
git-svn-id: svn://10.0.0.236/trunk@9745 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 19:58:18 +00:00
brendan%netscape.com
eea9ddc5af - Use JSBool for MatchChar's return type and values.
- Spacing nits.


git-svn-id: svn://10.0.0.236/trunk@9744 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 19:58:15 +00:00
gagan%netscape.com
79ca86c7de remaining changes from nu_cache.
git-svn-id: svn://10.0.0.236/trunk@9743 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 19:57:12 +00:00
troy%netscape.com
0c4b9521d5 Phase one of frame construction changes
git-svn-id: svn://10.0.0.236/trunk@9742 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 19:32:14 +00:00
brendan%netscape.com
ee9e8bb28a Remove excessive JS_FRIEND_API uses; clean up nits.
git-svn-id: svn://10.0.0.236/trunk@9740 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 19:18:23 +00:00
rods%netscape.com
4af961e25a GetPosition now uses a binary search for locating the cursor poistion. Also, selection now
uses the half width of a character for moving selection to the next character.


git-svn-id: svn://10.0.0.236/trunk@9739 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 19:18:01 +00:00
mcafee%netscape.com
c3765026b1 Adding Window|Privacy Tools|Display Site Info
git-svn-id: svn://10.0.0.236/trunk@9738 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 19:08:09 +00:00
blizzard%appliedtheory.com
8a40ae10c1 Commit changes from Michael O'Reilly <michael@metal.iinet.net.au>
git-svn-id: svn://10.0.0.236/trunk@9736 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 17:57:58 +00:00
vidur%netscape.com
59e74e9373 Got rid of extra release in Item() method of childNodes array of nsGenericHTMLContent
git-svn-id: svn://10.0.0.236/trunk@9735 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 17:51:30 +00:00
shaver%netscape.com
a5b1f502b6 clean up old assertions and remove vestigial tryLimit
git-svn-id: svn://10.0.0.236/trunk@9734 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 17:45:37 +00:00
karnaze%netscape.com
0247d3a198 in document, renamed nsHTMLFrame.cpp, nsHTMLFrameset.h, nsHTMLFrameset.cpp
git-svn-id: svn://10.0.0.236/trunk@9733 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 17:23:31 +00:00
vidur%netscape.com
6ea82397a3 Fixes to get Rotate.html working
git-svn-id: svn://10.0.0.236/trunk@9732 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 17:11:46 +00:00
shaver%netscape.com
e0896531eb fix memory leak
git-svn-id: svn://10.0.0.236/trunk@9731 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 14:56:58 +00:00
ramiro%netscape.com
16bd46f732 Add support for fixed html pain sizing.
git-svn-id: svn://10.0.0.236/trunk@9730 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 14:55:19 +00:00
ramiro%netscape.com
44cb0fff3d Add a virtual method for specifying the parent to the tree. Have the
RDFTreeView subclasses create the tree.  All this stuff is needed to create
a hierarchy in which the html pain can be created dynamically and sized to
an either arbitrary percentage or fixed height.


git-svn-id: svn://10.0.0.236/trunk@9729 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 14:35:05 +00:00
shaver%netscape.com
a4892e98bf first Perignon work (not built by anything yet) and generic attribute support
git-svn-id: svn://10.0.0.236/trunk@9728 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 14:21:43 +00:00
brendan%netscape.com
fcb837aa66 cvsquery now helps 3.0 JS avoid 'event has no properties' errors.
git-svn-id: svn://10.0.0.236/trunk@9727 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 07:27:31 +00:00
brendan%netscape.com
5867a55bdc Need to prevent GC activation during compile on the compiling context, not
just when evaluating old-style switch case expressions.


git-svn-id: svn://10.0.0.236/trunk@9726 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 07:09:44 +00:00
cls%seawood.org
b63175db20 Added NO_MDUPDATE to NSPR kludge make flags.
git-svn-id: svn://10.0.0.236/trunk@9724 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 05:24:12 +00:00
cls%seawood.org
294f5ecf41 Turned FULL_STATIC_BUILD on by default. Turn it off via --enable switches: min-shared, oji, or java. Turned unix ldap off by default. Added kludge to build NSPR with a separate build process. Added temp --enable-nspr to allow users to still use autoconf for NSPR build.
git-svn-id: svn://10.0.0.236/trunk@9715 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 04:08:00 +00:00
cls%seawood.org
3318a39861 Don't set NSPRDIR if using autoconf. Ignore automatic settings made by MOZ_LITE or lack of MOZ_LITE. Don't add -DDEVELOPER_DEBUG to DEFINES if using autoconf.
git-svn-id: svn://10.0.0.236/trunk@9712 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 03:58:52 +00:00
cls%seawood.org
d78cf05d04 Replaced tweak_nspr kludge with empty target for autoconf.
git-svn-id: svn://10.0.0.236/trunk@9711 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 03:53:20 +00:00
cls%seawood.org
0970218907 Moved libmisc & libprgrss in BASIC_LIBS so that mailto would link ifndef JAVA_OR_OJI.
git-svn-id: svn://10.0.0.236/trunk@9710 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 03:51:36 +00:00
valeski%netscape.com
c33b41f8cc fixing build bustage.
git-svn-id: svn://10.0.0.236/trunk@9709 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 03:28:20 +00:00
hyatt%netscape.com
a65d91f309 Fixes for docking/undocking behavior.
git-svn-id: svn://10.0.0.236/trunk@9708 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 02:35:27 +00:00
spider%netscape.com
442ef3d21b Support new gfx FontMetrics api
git-svn-id: svn://10.0.0.236/trunk@9707 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 02:09:20 +00:00
spider%netscape.com
51035da4ff Fix to return app units instead of twips in GetWidth API call
git-svn-id: svn://10.0.0.236/trunk@9706 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 02:08:20 +00:00
waterson%netscape.com
283e5bb163 Added a call to reflow when all connections complete if the context contains unsized images. r=law
git-svn-id: svn://10.0.0.236/trunk@9705 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 01:19:49 +00:00
peterl%netscape.com
1adaca9cae added to string support
git-svn-id: svn://10.0.0.236/trunk@9704 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 01:19:26 +00:00
peterl%netscape.com
ab0a6e6dd0 removed assert on x-height unit
git-svn-id: svn://10.0.0.236/trunk@9703 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 01:18:27 +00:00
peterl%netscape.com
0ef705b4ba fixed filtering of valid ID selectors
git-svn-id: svn://10.0.0.236/trunk@9702 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 01:18:06 +00:00
peterl%netscape.com
b2413c6722 sync css declaration to xif with new api
git-svn-id: svn://10.0.0.236/trunk@9701 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 01:16:25 +00:00
peterl%netscape.com
4a2003b48a added to string support for style= attributes
git-svn-id: svn://10.0.0.236/trunk@9700 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 01:15:23 +00:00
waterson%netscape.com
91f2930140 Added code to reflow doc when all connections complete if it contains an unsized image. r=sdagley
git-svn-id: svn://10.0.0.236/trunk@9699 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 01:06:56 +00:00
despotdaemon%netscape.com
df8781f1c9 Pseudo-automatic update of changes made by wtc@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@9698 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 01:06:36 +00:00
waterson%netscape.com
d67b4d3f6b Added call to reflow document when all connections complete if it contains an unsized image.
git-svn-id: svn://10.0.0.236/trunk@9697 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 01:05:46 +00:00
despotdaemon%netscape.com
042141318b Pseudo-automatic update of changes made by wtc@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@9696 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 01:05:23 +00:00
waterson%netscape.com
328e79a007 Added code to the process_deferred_image_info() callback to check for new image info on a visible image and do reflow if necessary. r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@9695 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 01:04:56 +00:00
waterson%netscape.com
5c62edba3a Added code to just lay out an image and mark the context as requiring reflow when an unsized image is encountered. Also, dont bother calling LO_SetImageInfo() if w/h hasnt changed. r=nisheeth,mjudge
git-svn-id: svn://10.0.0.236/trunk@9694 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 01:04:51 +00:00
waterson%netscape.com
4e1c527b82 Added a slot to MWContext that indicates whether or not the context requires reflow because an image without width or height was layed out with a default size.
git-svn-id: svn://10.0.0.236/trunk@9693 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 01:04:40 +00:00
mcafee%netscape.com
6eff3c1884 Make stubfe link on Solaris
git-svn-id: svn://10.0.0.236/trunk@9692 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 01:03:02 +00:00
despotdaemon%netscape.com
116624b1b0 Pseudo-automatic update of changes made by cyeh@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@9691 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 01:01:21 +00:00
karnaze%netscape.com
3c618c7265 changed case sensitive include for unix
git-svn-id: svn://10.0.0.236/trunk@9690 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 00:39:38 +00:00
valeski%netscape.com
e0eaf7f00b The changes apply to MODULAR_NETLIB only
mozilla/module/nsINetFile.h
MODULAR_NETLIB only. Added the nsINetFile interface header.

mozilla/module/nsNetFile.cpp
MODULAR_NETLIB only. Added the nsINetFile interface implementation.

mozilla/module/nsNetFile.h
MODULAR_NETLIB only. Added the nsNetFile header.

mozilla/main/mkgeturl.c
MODULAR_NETLIB only. Added directory and file token initialization for new ns_net_file code.

mozilla/main/net_xp_file.h
MODULAR_NETLIB only. Added the new readline routine for ns_net_file.

mozilla/module/makefile.win
MODULAR_NETLIB only. Added the nsNetFile.cpp file to compilation list.

mozilla/module/nsNetService.cpp
MODULAR_NETLIB only. Added the static nsNetFile instance so it gets initailized.

mozilla/module/nsNetStubs.cpp
MODULAR_NETLIB only. Added NET_I_XP_FILE* versions of XP_FILE routines. These routines are compiled and used when NS_NET_FILE is defined.


git-svn-id: svn://10.0.0.236/trunk@9689 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 00:32:40 +00:00
hyatt%netscape.com
176e8c5451 Fixing Related Links.
git-svn-id: svn://10.0.0.236/trunk@9688 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 00:24:54 +00:00
valeski%netscape.com
78ea06c997 fixing compile warning
git-svn-id: svn://10.0.0.236/trunk@9686 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 00:08:33 +00:00
hyatt%netscape.com
3e45e0fcd8 Docked and popup windows can now co-exist.
git-svn-id: svn://10.0.0.236/trunk@9685 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 00:01:00 +00:00
despotdaemon%netscape.com
0236e06fda Pseudo-automatic update of changes made by mang@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@9684 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 23:58:27 +00:00
kipp%netscape.com
ba9d85891c Checked in some bug fixes from michaelp to make fullscreen plugins work better/more often
git-svn-id: svn://10.0.0.236/trunk@9683 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 23:52:16 +00:00
kipp%netscape.com
d87f9d1060 Support (in a shaky way) some various and sundry mime types for plugins
git-svn-id: svn://10.0.0.236/trunk@9682 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 23:51:43 +00:00
kipp%netscape.com
596e7c0a01 Added new source
git-svn-id: svn://10.0.0.236/trunk@9681 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 23:51:19 +00:00
kipp%netscape.com
8957ccb149 new
git-svn-id: svn://10.0.0.236/trunk@9680 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 23:50:46 +00:00
karnaze%netscape.com
e382cf5f41 converted frame/iframe/frameset to new layout/content separation
git-svn-id: svn://10.0.0.236/trunk@9679 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 23:30:30 +00:00
hyatt%netscape.com
9857b1a59e Moving the control strip underneath the title strip.
git-svn-id: svn://10.0.0.236/trunk@9678 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 23:18:38 +00:00
hyatt%netscape.com
5d50ddb72d Fixing damage caused by internationalization. Making it use the right UI font (MS Sans Serif).
git-svn-id: svn://10.0.0.236/trunk@9677 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 23:11:20 +00:00
hyatt%netscape.com
400154027a Removed CIntlWins drawtext call. When they get it working on Windows 95, then
we can hook it back up.


git-svn-id: svn://10.0.0.236/trunk@9676 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 23:05:01 +00:00
spider%netscape.com
949e30c64f Use twips on width calculations for font metrics in app
git-svn-id: svn://10.0.0.236/trunk@9675 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 22:24:00 +00:00
buster%netscape.com
4fb1136a6c integrate caption with new frame creation code
git-svn-id: svn://10.0.0.236/trunk@9674 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 22:18:01 +00:00
despotdaemon%netscape.com
148d6b590e Pseudo-automatic update of changes made by jsun@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@9673 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 22:16:08 +00:00
pinkerton%netscape.com
79727e94d8 fix build bustage (removed call to HT_ToggleTreeMode)
git-svn-id: svn://10.0.0.236/trunk@9672 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 21:36:14 +00:00
buster%netscape.com
f97d444d8f integrates with new frame creation methods
git-svn-id: svn://10.0.0.236/trunk@9671 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 21:34:10 +00:00
hyatt%netscape.com
74584ed8b6 Fixes to the toolbar code.
git-svn-id: svn://10.0.0.236/trunk@9670 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 21:30:28 +00:00
vidur%netscape.com
5e856a67d9 Added nsIJSScriptObject interface to nsGenericHTMLContent class and fixed element.childNodes
git-svn-id: svn://10.0.0.236/trunk@9669 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 21:02:42 +00:00
vidur%netscape.com
c63cdad1a0 Adjusted to change in signature for FE_SetRefreshURLTimer
git-svn-id: svn://10.0.0.236/trunk@9665 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 20:56:47 +00:00
pnunn%netscape.com
22be840209 fix for #309770. Port fix from 4.06 to Moz.
git-svn-id: svn://10.0.0.236/trunk@9663 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 20:47:35 +00:00
hyatt%netscape.com
b06ce42e18 Fixes and improvements to NavCenter.
git-svn-id: svn://10.0.0.236/trunk@9657 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 20:26:33 +00:00
hyatt%netscape.com
bb7136efe1 Added notion of window type (standalone, docked, embedded, popup) to RDF.
git-svn-id: svn://10.0.0.236/trunk@9656 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 20:26:16 +00:00
buster%netscape.com
e325a433cd many fixes that effect http://www.mozilla.org and related pages.
these fixes are for nested tables with percent widths, for tables including both rowspan and colspan,
and for tables with only a single column.
some rounding errors were eliminated.
more debugging output, and some new assertions.


git-svn-id: svn://10.0.0.236/trunk@9655 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 20:00:40 +00:00
slamm%netscape.com
b651be006c Pull netscape-specific hack.
git-svn-id: svn://10.0.0.236/trunk@9654 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 20:00:33 +00:00
slamm%netscape.com
c669313675 Get the 'Change Log' link right. Set 'LANGUAGE=JavaScript' for the SCRIPT tag
git-svn-id: svn://10.0.0.236/trunk@9653 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 19:29:00 +00:00
brendan%netscape.com
1ac77c94fe Remove javaData, left over from original LiveConnect.
git-svn-id: svn://10.0.0.236/trunk@9650 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 19:20:07 +00:00
brendan%netscape.com
74114cf984 Now that SRC_COMMA has been renamed to reflect its generality (SRC_PCDELTA),
and more important, to save a byte of useless note offset, use SRC_CONTINUE
instead of SRC_PCDELTA to annotate JSOP_ENDINIT when there's an extra comma
at the end of an array literal (e.g. [1,2,,]).


git-svn-id: svn://10.0.0.236/trunk@9649 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 19:18:01 +00:00
pnunn%netscape.com
056cdd590e fix for #309770. Porting "RefreshURLTimer" fix from 4.06 to 5.0.
git-svn-id: svn://10.0.0.236/trunk@9648 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 19:13:11 +00:00
pnunn%netscape.com
2f8cb685c4 fix for #309770. Porting "RefreshURLTimer" fix from 4.06 to Moz
git-svn-id: svn://10.0.0.236/trunk@9647 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 19:12:31 +00:00
pnunn%netscape.com
9f7e6c5e8a fix for #309770. Porting "RefreshURLTimer" fix from 4.06 to Moz.
git-svn-id: svn://10.0.0.236/trunk@9646 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 19:11:22 +00:00
pnunn%netscape.com
1558689e2b fix for #309770. Porting RefreshURLTimer fix from 4.06 to Moz.
git-svn-id: svn://10.0.0.236/trunk@9645 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 19:08:32 +00:00
pnunn%netscape.com
3ef73042ff fix for bug#309770. Porting "RefreshURLTimer" fix from 4.06 to Moz.
git-svn-id: svn://10.0.0.236/trunk@9644 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 19:06:55 +00:00
rjc%netscape.com
b49b48f521 Fix some more drag&drop issues (regarding re-ordering of existing local/remote items). Also, on PowerPPC, force compiler to use no byte padding regarding structure alignment.
git-svn-id: svn://10.0.0.236/trunk@9643 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 19:06:23 +00:00
spider%netscape.com
0fba81dc0a Checkin for sman. Support for remote CAPI and User def's
git-svn-id: svn://10.0.0.236/trunk@9642 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 19:00:40 +00:00
pinkerton%netscape.com
0f24b39bdf use CAdSpaceView class for embedded html area.
git-svn-id: svn://10.0.0.236/trunk@9640 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 18:19:19 +00:00
pinkerton%netscape.com
67af347c93 Turned off (ifdef'd) the property to not use selection in the tree view so we get d&d even in single-click modes.
git-svn-id: svn://10.0.0.236/trunk@9639 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 18:19:08 +00:00
pinkerton%netscape.com
44aa69ed84 don't bother trying to close the adSpace shelf here, RestorePlace() usurps it.
git-svn-id: svn://10.0.0.236/trunk@9638 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 18:19:02 +00:00
pinkerton%netscape.com
5d51b8377f close adspace shelf by default. Needs to be done after RestorePlace() so it cannot be done in the coordinator.
git-svn-id: svn://10.0.0.236/trunk@9637 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 18:17:54 +00:00
pinkerton%netscape.com
1894fc9484 register CAdSpaceView
git-svn-id: svn://10.0.0.236/trunk@9635 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 18:17:13 +00:00
pinkerton%netscape.com
78e0c6e329 added CAdSpaceView to special case things for the embedded html pane.
git-svn-id: svn://10.0.0.236/trunk@9634 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 18:17:00 +00:00
mcafee%netscape.com
fe233fddf4 debug stuff for add_row()
git-svn-id: svn://10.0.0.236/trunk@9633 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 18:10:27 +00:00
mcafee%netscape.com
d6c0c53360 HT_PaneFromURL() needs a context passed in from XFE_DisplayBuiltin(), so we now pass the context along.
git-svn-id: svn://10.0.0.236/trunk@9632 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 18:07:10 +00:00
rods%netscape.com
0cf8a140a9 Removed TraverseBlockContent static function
git-svn-id: svn://10.0.0.236/trunk@9631 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 17:42:21 +00:00
slamm%netscape.com
710729e972 Fix the 'Change Log' like to pass along the branch and the root. Trim the email addresses of netscape folks (i.e. slamm%netscape.com becomes slamm).
git-svn-id: svn://10.0.0.236/trunk@9630 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 17:37:12 +00:00
despotdaemon%netscape.com
f0b2db257c Pseudo-automatic update of changes made by blizzard@appliedtheory.com.
git-svn-id: svn://10.0.0.236/trunk@9629 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 17:22:07 +00:00
despotdaemon%netscape.com
87ac646444 Pseudo-automatic update of changes made by shaver@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@9627 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 17:18:46 +00:00
spider%netscape.com
698f313f61 Remove pull_trex_ns target, no longer needed
git-svn-id: svn://10.0.0.236/trunk@9626 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 16:41:42 +00:00
kipp%netscape.com
5d665f2238 Support direct loading of image documents by using the GetImageFromStream method on the image group.
git-svn-id: svn://10.0.0.236/trunk@9625 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 16:19:30 +00:00
kipp%netscape.com
874cb1072c Removed some cruft
git-svn-id: svn://10.0.0.236/trunk@9624 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 16:18:40 +00:00
kipp%netscape.com
f9928a5225 Support reconnect callback
git-svn-id: svn://10.0.0.236/trunk@9623 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 16:17:55 +00:00
kipp%netscape.com
1b47ada470 Added GetImageFromStream
git-svn-id: svn://10.0.0.236/trunk@9622 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 16:15:40 +00:00
kipp%netscape.com
8684bc6d2a Added Reconnect call-back to NS_NewImageNetContext
git-svn-id: svn://10.0.0.236/trunk@9621 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 16:14:49 +00:00
kipp%netscape.com
c759fe4fbd whitespace fixup
git-svn-id: svn://10.0.0.236/trunk@9620 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 16:14:16 +00:00
kipp%netscape.com
c0384026c1 Turned off image load skid marks
git-svn-id: svn://10.0.0.236/trunk@9619 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 16:13:52 +00:00
spider%netscape.com
0c2451e92b WIP: API change on OnResize for ViewManager support.
git-svn-id: svn://10.0.0.236/trunk@9618 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 16:12:03 +00:00
rods%netscape.com
5dd2f359cc XPCOM'ed the Selection and Search methods
git-svn-id: svn://10.0.0.236/trunk@9617 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 16:11:59 +00:00
ramiro%netscape.com
c9dfe90303 Move html pane to XFE_RDFChromeTreeView.
git-svn-id: svn://10.0.0.236/trunk@9615 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 14:43:13 +00:00
ramiro%netscape.com
04671136ea Unbreak MOZ_SELECTOR_BAR for the hell of it.
git-svn-id: svn://10.0.0.236/trunk@9614 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 10:56:48 +00:00
brendan%netscape.com
7b7ccadd57 - Might as well use tempPool to arena-allocate collected_args as well as the
tokenstream in Function, to avoid calling malloc at all.
- But do check for malloc failure under PR_ARENA_ALLOCATE (the old call to
  JS_malloc was unchecked).


git-svn-id: svn://10.0.0.236/trunk@9611 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 10:02:12 +00:00
brendan%netscape.com
5f08bf111e Fix tempPool bloat bugs in Function by mark/release around NewTokenStream.
git-svn-id: svn://10.0.0.236/trunk@9610 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 09:50:40 +00:00
brendan%netscape.com
d06c6009ae - Don't cast malloc's return value, it's void *.
- Don't double-report a scanner error such as illegal character in
  Function("a@b", "return a*b")
- Do report a "malformed formal parameter" error in
  Function("a,b,", "return a*b")
- Fiddle comments to more precisely rule out the above bugs.


git-svn-id: svn://10.0.0.236/trunk@9609 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 09:27:56 +00:00
ramiro%netscape.com
d12da9f536 Many cpp's do not like "#ifdef 0" (it's illegal in strict ANSI C I suspect),
including HP-UX's ANSI C. Line 1633 of cmd/xfe/XfeWidgets/Xfe/Pane.c uses
"#ifdef 0" - it should be "#if 0" of course. HP's ANSI C refuses to compile
this file without it being fixed.
Thanks to rkl@connect.org.uk for pointing this out.


git-svn-id: svn://10.0.0.236/trunk@9608 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 09:09:00 +00:00
brendan%netscape.com
0c04e27eb1 JSMSG_NO_FORMAL duplicated DUPLICATE_FORMAL, now is reborn as BAD_FORMAL.
git-svn-id: svn://10.0.0.236/trunk@9607 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 09:04:35 +00:00
ramiro%netscape.com
f69e90bfdb Fix infinite loop on scrollbar resize from waterson@netscape.com
(Chris Waterson).
The problem with resizing on XFE has to do with the fact that the widget
resize callback is directly calling LO_RelayoutOnResize(), which causes the
scrollbars to get remapped, which causes the resize callback to be called,
which causes LO_RelayoutOnResize() to be called, which causes the scrollbars
to get remapped...you get the idea.


git-svn-id: svn://10.0.0.236/trunk@9606 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 09:03:30 +00:00
ramiro%netscape.com
9206fd904c Fix the hanging problem when invoked with -xpm (and possibly other flags) and
no include/Xm.h is found anywhere.


git-svn-id: svn://10.0.0.236/trunk@9605 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 08:34:48 +00:00
ramiro%netscape.com
71bc545ac6 This script should only do 1 thing: print a reasonable guess for a unique
host identifier.  Overriding should happen in the Makfile or wherever else
this script is invoked.


git-svn-id: svn://10.0.0.236/trunk@9604 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 08:33:49 +00:00
cls%seawood.org
3820e80eb0 Sync'd.
git-svn-id: svn://10.0.0.236/trunk@9603 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 08:15:05 +00:00
ramiro%netscape.com
ea84a1fe8e Allow the 'unique host identity' to be overriden by MOZILLA_CONFIG_HOST_IDENT.
Also make the clean target in config/mkdetect actually work.


git-svn-id: svn://10.0.0.236/trunk@9602 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 08:00:10 +00:00
brendan%netscape.com
dfee645789 Improve TABLESWITCH comment precision and add XXX about JSVERSION_IS_ECMAv2.
git-svn-id: svn://10.0.0.236/trunk@9598 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 06:35:30 +00:00
ramiro%netscape.com
623a1739b0 Add /usr/X to DEFAULT_MOTIF_SEARCH_PATH.
Thanks to tim@trr.metro.NET (Tim Rice).


git-svn-id: svn://10.0.0.236/trunk@9594 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 06:17:46 +00:00
jwz%mozilla.org
a35e03ab51 paragraph break after README (from dawn)
git-svn-id: svn://10.0.0.236/trunk@9593 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 05:14:57 +00:00
gagan%netscape.com
30fe903120 Cache_object for nu_cache.
git-svn-id: svn://10.0.0.236/trunk@9592 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 02:23:27 +00:00
gagan%netscape.com
93979e7a13 Resetting cache_objects.
git-svn-id: svn://10.0.0.236/trunk@9591 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 02:19:30 +00:00
brendan%netscape.com
4976336cd7 Renamed SRC_COMMA to SRC_PCDELTA and fixed related comments.
git-svn-id: svn://10.0.0.236/trunk@9590 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 02:16:19 +00:00
brendan%netscape.com
293dc6ae2d Fix busted version check in JSOP_TABLESWITCH.
git-svn-id: svn://10.0.0.236/trunk@9589 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 02:01:52 +00:00
cyeh%netscape.com
2722c6abf9 revert file
git-svn-id: svn://10.0.0.236/trunk@9588 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 01:37:41 +00:00
joki%netscape.com
8458f73950 Do not allow script errors to stop page parsing.
git-svn-id: svn://10.0.0.236/trunk@9587 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 01:19:52 +00:00
joki%netscape.com
c5e8af16d8 Remove duplicate functionality of nsIBrowserWindow and nsIWebShellContainer.
git-svn-id: svn://10.0.0.236/trunk@9586 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 01:19:11 +00:00
wtc%netscape.com
fb7f0ca845 Fixed dprintf as suggested by Patrick Beard (beard@netscape.com).
Now dprintf calls PR_vsnprintf instead of PR_vsmprintf, so that
dprintf does not allocate memory.  This is because PR_Assert (which
calls dprintf) can get called at interrupt time, and it is unsafe
to allocate memory at interrupt time on the Mac.


git-svn-id: svn://10.0.0.236/trunk@9585 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 01:17:41 +00:00
shaver%netscape.com
f2fe16c9ca initial import of toshok's gnomefe
git-svn-id: svn://10.0.0.236/trunk@9584 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 01:15:49 +00:00
kipp%netscape.com
d56cfbd643 Set fast-8bit-text hint on x windows
git-svn-id: svn://10.0.0.236/trunk@9583 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 01:04:29 +00:00
spider%netscape.com
79d217f984 Adding support for ViewManager into xpfc
Change painting methods to pass around the rendering context
  and dirty rect instead of gui event to be compatible with
  view api's


git-svn-id: svn://10.0.0.236/trunk@9582 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 00:55:35 +00:00
jwz%mozilla.org
1a09b34777 vivat grendel!
git-svn-id: svn://10.0.0.236/trunk@9581 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 00:52:38 +00:00
thom%netscape.com
c96ec32790 added support for DOM dll
git-svn-id: svn://10.0.0.236/trunk@9580 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 00:02:23 +00:00
thom%netscape.com
a90938b7fe added nsDOMFactory.cpp and nsHTMLTagsEnums.cpp
git-svn-id: svn://10.0.0.236/trunk@9579 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 00:01:43 +00:00
slamm%netscape.com
ff2e648658 Call show() on the builtin for SHACK.
git-svn-id: svn://10.0.0.236/trunk@9578 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 00:00:53 +00:00
slamm%netscape.com
824c376c99 Move tree widget management into RDFTreeView. Don't choke when no columns are created.
git-svn-id: svn://10.0.0.236/trunk@9577 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 00:00:42 +00:00
slamm%netscape.com
b7c785dbb9 Move tree widget management into RDFTreeView.
git-svn-id: svn://10.0.0.236/trunk@9576 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 00:00:33 +00:00
slamm%netscape.com
201747cf09 Avoid annoying warnings about _ht_pane being nil.
git-svn-id: svn://10.0.0.236/trunk@9575 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 00:00:23 +00:00
slamm%netscape.com
3b3150a851 Add default constructor call for RDFBase.
git-svn-id: svn://10.0.0.236/trunk@9574 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 00:00:20 +00:00
slamm%netscape.com
5e7c6cadbe Change relationship to RDFTreeView to 'isa' (was 'hasa'). Get SHACK going.
git-svn-id: svn://10.0.0.236/trunk@9573 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 00:00:17 +00:00
kipp%netscape.com
a629c89a47 Use a buffer to translate unichar's into XChar2b's
git-svn-id: svn://10.0.0.236/trunk@9572 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 23:52:29 +00:00
kipp%netscape.com
e12d74e626 Added a buffer used by DrawString
git-svn-id: svn://10.0.0.236/trunk@9571 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 23:52:10 +00:00
kipp%netscape.com
74460cc8e8 Whitespace tidy up
git-svn-id: svn://10.0.0.236/trunk@9570 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 23:51:54 +00:00
cyeh%netscape.com
211c01a1e7 according to scc, use do instead of system
git-svn-id: svn://10.0.0.236/trunk@9569 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 23:50:44 +00:00
spider%netscape.com
81585718f4 No longer use julian as shared library
git-svn-id: svn://10.0.0.236/trunk@9568 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 23:35:54 +00:00
pinkerton%netscape.com
82eb7aec56 sitemap/HTML area registration in docked Aurora view.
git-svn-id: svn://10.0.0.236/trunk@9567 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 23:17:21 +00:00
kipp%netscape.com
f92bc6705a Fixed unix compile bugs
git-svn-id: svn://10.0.0.236/trunk@9566 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 23:17:12 +00:00
kipp%netscape.com
1e5e004c86 Flush font cache before destroying device context to break circular links (ick)
git-svn-id: svn://10.0.0.236/trunk@9565 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 22:38:48 +00:00
kipp%netscape.com
9d8f9aaffa Create HTML-html-element not a root part
git-svn-id: svn://10.0.0.236/trunk@9564 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 22:38:17 +00:00
kipp%netscape.com
3ab02b9896 Implement HandleDOMEvent properly; clean up whitespace
git-svn-id: svn://10.0.0.236/trunk@9563 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 22:37:46 +00:00
kipp%netscape.com
e2c7517492 Use NS_NewBodyFrame and NS_NewHTMLFrame
git-svn-id: svn://10.0.0.236/trunk@9562 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 22:37:24 +00:00
kipp%netscape.com
f49ffdeb17 Renamed source files
git-svn-id: svn://10.0.0.236/trunk@9561 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 22:37:00 +00:00
kipp%netscape.com
4688f4a267 Removed some cruft; added NS_NewBodyFrame
git-svn-id: svn://10.0.0.236/trunk@9560 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 22:36:30 +00:00
kipp%netscape.com
392496f910 CHanged NewFrame method to NS_NewBodyFrame
git-svn-id: svn://10.0.0.236/trunk@9559 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 22:35:54 +00:00
kipp%netscape.com
429035b95e new
git-svn-id: svn://10.0.0.236/trunk@9558 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 22:34:40 +00:00
kipp%netscape.com
60e776c0b1 Added new atoms
git-svn-id: svn://10.0.0.236/trunk@9557 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 22:34:06 +00:00
kipp%netscape.com
3c90229bd1 Revised list of build files
git-svn-id: svn://10.0.0.236/trunk@9556 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 22:33:54 +00:00
kipp%netscape.com
e8824a34c4 Fixed bug caused during XPCOM'ing the nsIContent API
git-svn-id: svn://10.0.0.236/trunk@9555 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 22:32:32 +00:00
kipp%netscape.com
5e56e0d9f0 Implement revised font metrics API
git-svn-id: svn://10.0.0.236/trunk@9554 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 22:32:07 +00:00
kipp%netscape.com
ce87194f82 Revised API
git-svn-id: svn://10.0.0.236/trunk@9553 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 22:31:51 +00:00
kipp%netscape.com
8b0ea79b27 Destroy font metrics before releasing it
git-svn-id: svn://10.0.0.236/trunk@9552 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 22:31:28 +00:00
akkana%netscape.com
c93a7af987 Register type converters for mail compose. This makes "Send Page" work.
Approved by gagan.


git-svn-id: svn://10.0.0.236/trunk@9551 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 22:14:51 +00:00
rods%netscape.com
5b61252657 Changed Find to use all nsIDOMxxx classes instead of nsIContent
git-svn-id: svn://10.0.0.236/trunk@9550 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 22:13:29 +00:00
dcone%netscape.com
1ad612fe04 added a routine gethints() needed by the interface.
git-svn-id: svn://10.0.0.236/trunk@9549 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 22:13:10 +00:00
terry%netscape.com
e82ae91d3b Added 1998-09-04 version.
git-svn-id: svn://10.0.0.236/trunk@9548 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 22:06:33 +00:00
wtc%netscape.com
89a7ea308b Backed out an accidental change of the setting of OBJDIR_NAME in the
previous revision.


git-svn-id: svn://10.0.0.236/trunk@9547 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 21:45:31 +00:00
briano%netscape.com
baef3ff491 Tried to make the differences/similarities between MOZ_LITE, MOZ_MEDIUM, and MOZ_DARK more obvious.
git-svn-id: svn://10.0.0.236/trunk@9546 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 21:40:13 +00:00
cyeh%netscape.com
bacc204129 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@9545 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 21:34:22 +00:00
sdagley%netscape.com
ad616e2ae7 Implement real version of FE_CheckConfirm
git-svn-id: svn://10.0.0.236/trunk@9544 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 21:32:03 +00:00
briano%netscape.com
11e8e272dc Minor cleanup, and changed EDITOR to MOZ_EDITOR.
git-svn-id: svn://10.0.0.236/trunk@9543 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 21:24:12 +00:00
pinkerton%netscape.com
6049d54d57 use IdenticalString instead of RelString to be more localizable.
git-svn-id: svn://10.0.0.236/trunk@9542 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 21:20:19 +00:00
pinkerton%netscape.com
1bce069dc7 don't redraw caption when it doesn't change (avoids flashing).
git-svn-id: svn://10.0.0.236/trunk@9541 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 21:12:26 +00:00
raman%netscape.com
020c0b0f7f Added libsoftupdat.a to the link line when MOZ_SMARTUPDATE is defined. Made SmartUpdate independent of Java
git-svn-id: svn://10.0.0.236/trunk@9540 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 21:06:54 +00:00
raman%netscape.com
7d0b7c66d6 Added building of autoupdt.c
git-svn-id: svn://10.0.0.236/trunk@9539 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 21:00:51 +00:00
shaver%netscape.com
91f063881e ToBoolean behaviour for all non-ECMA versions, not just 1.2
git-svn-id: svn://10.0.0.236/trunk@9538 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 20:59:19 +00:00
rjc%netscape.com
b67d47c22e Allow mixing/repositioning of local/remote items in the same container.
git-svn-id: svn://10.0.0.236/trunk@9537 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 20:55:41 +00:00
dcone%netscape.com
02fcf730c2 added files to html/content area that vidor added to windows project
git-svn-id: svn://10.0.0.236/trunk@9536 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 20:55:14 +00:00
pinkerton%netscape.com
85c80d8532 Since we are now weak-linked against AppearanceLib, make sure it is available and quit if it is not. We were also never initializing UEnvironment's feature set. Call RegisterAppearanceClient() since we are one (again).
git-svn-id: svn://10.0.0.236/trunk@9535 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 20:48:29 +00:00
pinkerton%netscape.com
d3076a4587 weak link against AppearanceLib.
git-svn-id: svn://10.0.0.236/trunk@9534 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 20:47:16 +00:00
pinkerton%netscape.com
2928e184e7 add a new dialog to inform users how to get AppearanceLib.
git-svn-id: svn://10.0.0.236/trunk@9533 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 20:47:01 +00:00
spider%netscape.com
21ba3d6cb8 Removing LIBJULIAN to use julian as standalone dll.
Adding ViewManager on a per 'container' basis.


git-svn-id: svn://10.0.0.236/trunk@9532 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 20:34:42 +00:00
slamm%netscape.com
136fdedb42 Pass through 'nocrap' argument from express.
git-svn-id: svn://10.0.0.236/trunk@9531 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 20:33:28 +00:00
ftang%netscape.com
351bb2c436 check in comment about history code may need to change later. No code change.
git-svn-id: svn://10.0.0.236/trunk@9530 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 20:21:23 +00:00
slamm%netscape.com
e2497544f4 Add toolbar deletion.
git-svn-id: svn://10.0.0.236/trunk@9529 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 20:14:23 +00:00
slamm%netscape.com
83a23b5f1c Avoid adding the wrong nodes to the toolbar
git-svn-id: svn://10.0.0.236/trunk@9528 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 20:14:15 +00:00
slamm%netscape.com
108d88aa73 Avoid opening nodes too soon.
git-svn-id: svn://10.0.0.236/trunk@9527 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 20:14:12 +00:00
slamm%netscape.com
d4508c551c more support for pane creation/deletion.
git-svn-id: svn://10.0.0.236/trunk@9526 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 20:14:06 +00:00
slamm%netscape.com
96eae3899d Break up the constructor into more intelligible parts. Standadize some of the variable names. Massage some ht calls.
git-svn-id: svn://10.0.0.236/trunk@9525 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 20:13:59 +00:00
slamm%netscape.com
4ab5d272a8 Hook up the bookmarks and history windows. Get rid of the unneeded command handing stuff.
git-svn-id: svn://10.0.0.236/trunk@9524 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 20:13:56 +00:00
slamm%netscape.com
ec872fb07e change some extern 'C' functions to static members of the XFE_Image
git-svn-id: svn://10.0.0.236/trunk@9523 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 20:13:51 +00:00
slamm%netscape.com
0fb3e85ef4 create the bookmarks pane in RDFBase.
git-svn-id: svn://10.0.0.236/trunk@9522 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 20:13:46 +00:00
slamm%netscape.com
99f0b0e6ed Move bookmark frame creation to NavCenterFrame.cpp
git-svn-id: svn://10.0.0.236/trunk@9521 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 20:13:43 +00:00
slamm%netscape.com
24a97a12ef Re-commit the 'nocrap'. This time it's not crappy.
git-svn-id: svn://10.0.0.236/trunk@9519 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 19:48:29 +00:00
slamm%netscape.com
6c5d2d1f76 Oops, not ready yet. backout last change.
git-svn-id: svn://10.0.0.236/trunk@9518 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 19:36:56 +00:00
slamm%netscape.com
e75a82953c Add a 'nocrap' flag so the top of the page has useful information (i.e. no image, no legend).
git-svn-id: svn://10.0.0.236/trunk@9517 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 19:34:51 +00:00
akkana%netscape.com
4659274e32 Remove vcards from MOZ_MAIL_COMPOSE; fix unresolved symbols
git-svn-id: svn://10.0.0.236/trunk@9516 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 19:32:10 +00:00
akkana%netscape.com
e759a9f0ec Remove vcards from MOZ_MAIL_COMPOSE
git-svn-id: svn://10.0.0.236/trunk@9515 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 19:30:41 +00:00
despotdaemon%netscape.com
0448460aa8 Pseudo-automatic update of changes made by cyeh@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@9514 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 19:29:51 +00:00
beard%netscape.com
63d006d51c Lazy LiveConnect fixes.
git-svn-id: svn://10.0.0.236/trunk@9513 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 19:11:50 +00:00
buster%netscape.com
8aa191848a fixed 2 small errors in computing table widths.
1) sometimes we were adding 1 too many pixels in constrained tables
2) sometimes we were using the wrong value for the max width as an input to constrained tables


git-svn-id: svn://10.0.0.236/trunk@9512 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 19:11:14 +00:00
beard%netscape.com
34c2fcfcff Changed JavaPackage_resolve, to remove a memory leak.
git-svn-id: svn://10.0.0.236/trunk@9510 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 19:08:09 +00:00
pinkerton%netscape.com
86c01f03ff stupid RidL resources....
git-svn-id: svn://10.0.0.236/trunk@9509 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 18:52:00 +00:00
brendan%netscape.com
7d1f9f8984 Don't emit two SRC_HIDDENs in a row.
git-svn-id: svn://10.0.0.236/trunk@9508 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 18:26:37 +00:00
cyeh%netscape.com
a4b652fb6e remove CHANGES.html
git-svn-id: svn://10.0.0.236/trunk@9507 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 18:25:11 +00:00
norris%netscape.com
7f284fbf17 Fix bug: space was not allocated for terminal '\0' in string.
Spell "JavaScript" correctly.


git-svn-id: svn://10.0.0.236/trunk@9506 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 18:18:52 +00:00
pinkerton%netscape.com
0309575105 increase/decrease font size in html area. Fix column hiding bug in embedded tree.
git-svn-id: svn://10.0.0.236/trunk@9505 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 18:10:54 +00:00
pinkerton%netscape.com
b1ce1292cd increase/decrease font sizes in browser window.
git-svn-id: svn://10.0.0.236/trunk@9504 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 18:10:16 +00:00
pinkerton%netscape.com
b56da5283c use LScrollerView and LScrollBar
git-svn-id: svn://10.0.0.236/trunk@9503 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 18:09:16 +00:00
pinkerton%netscape.com
bb94402f82 Allow the user of the class to pass "" for the requested icon url.
git-svn-id: svn://10.0.0.236/trunk@9502 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 18:08:35 +00:00
pinkerton%netscape.com
f4e66ce9d5 use LScrollerView.
git-svn-id: svn://10.0.0.236/trunk@9501 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 18:07:59 +00:00
pinkerton%netscape.com
88a72b7e1b use LScrollerView
git-svn-id: svn://10.0.0.236/trunk@9500 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 18:07:48 +00:00
pinkerton%netscape.com
fbb3a02aba New HTML area in docked view.
git-svn-id: svn://10.0.0.236/trunk@9499 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 18:07:02 +00:00
pinkerton%netscape.com
d9d2d87c22 Use new FeatureFlags to configure properties.
git-svn-id: svn://10.0.0.236/trunk@9498 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 18:06:26 +00:00
pinkerton%netscape.com
8a3070e4d1 Landing of 4.5 changes to get more flexibility in how divided views are handled.
git-svn-id: svn://10.0.0.236/trunk@9497 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 18:05:48 +00:00
pinkerton%netscape.com
795c474aa2 Move to LScrollerView
git-svn-id: svn://10.0.0.236/trunk@9496 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 18:05:17 +00:00
pinkerton%netscape.com
6acb44cc6b Fixes for font scaling (increase/decrease) in browser.
git-svn-id: svn://10.0.0.236/trunk@9495 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 18:04:59 +00:00
pinkerton%netscape.com
44348b0ffc Using LScrollerView
git-svn-id: svn://10.0.0.236/trunk@9494 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 18:04:30 +00:00
pinkerton%netscape.com
ba637881d0 Adding increase/decrease font size menus.
git-svn-id: svn://10.0.0.236/trunk@9493 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 18:04:00 +00:00
pinkerton%netscape.com
f252f64f26 LScrollerView and HTML area in docked view. Now using includeViews more to avoid duplication.
git-svn-id: svn://10.0.0.236/trunk@9492 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 18:03:44 +00:00
pinkerton%netscape.com
f4175f9d93 changes for LScrollerView
git-svn-id: svn://10.0.0.236/trunk@9491 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 18:03:17 +00:00
pinkerton%netscape.com
c4d121b673 Removed CConfigActiveScroller and CExpandoDivider.
git-svn-id: svn://10.0.0.236/trunk@9490 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 18:03:02 +00:00
pinkerton%netscape.com
2305c46add move to LScrollerView for things that scroll and HTML view in docked Aurora.
git-svn-id: svn://10.0.0.236/trunk@9489 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 18:02:39 +00:00
pinkerton%netscape.com
cdf03c828e More AM classes and moving from LActiveScroller to LScrollerView.
git-svn-id: svn://10.0.0.236/trunk@9488 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 18:01:57 +00:00
dcone%netscape.com
415018ddda added a .h to the file Vidur added
git-svn-id: svn://10.0.0.236/trunk@9487 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 16:37:05 +00:00
ramiro%netscape.com
1dafb61497 Cleanup fe_getPixelFromRGB(). Move it to xfe/colors.c and rename it to
fe_GetPixelFromRGBString().


git-svn-id: svn://10.0.0.236/trunk@9486 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 14:01:20 +00:00
ramiro%netscape.com
b90a717fb1 Use real XtCallbacks instead of a hack.
git-svn-id: svn://10.0.0.236/trunk@9485 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 12:22:21 +00:00
ramiro%netscape.com
5853f77a56 Add layable children info.
git-svn-id: svn://10.0.0.236/trunk@9484 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 12:15:55 +00:00
ramiro%netscape.com
e94feb1a94 Add XfeSubResourceGetWidgetXmStringValue().
git-svn-id: svn://10.0.0.236/trunk@9483 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 11:59:26 +00:00
brendan%netscape.com
8189f39979 Oops! How did that ever work on my Win32 build?
git-svn-id: svn://10.0.0.236/trunk@9476 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 05:49:12 +00:00
brendan%netscape.com
12a9d81b7f js.c jsemit.c jsemit.h jsgc.c jsinterp.c jsopcode.c jsopcode.def
- Switch improvements:
  - JSOP_CONDSWITCH is a 1 byte nop, not variable length with the same kind
    of immediate operand as JSOP_LOOKUPSWITCH (which is useless except for
    decompilation).  New scheme uses SRC_COMMA notes on each JSOP_CASE opcode,
    usually 2 bytes per note, and a typically-1-byte 2nd offset on SRC_SWITCH:
      1 + 2 * ncases
    vs. the previous JSOP_LOOKUPSWITCH immediate, which consumed:
      4 * ncases
    bytes after the switch opcode just for decompilation.
  - SRC_SWITCH has two offsets, first to end of switch as before, the second
    to first case if JSOP_CONDSWITCH, for decompilation.
  - Optimize switches with all-constant cases using JSOP_TABLESWITH, or if
    that can't be used, JSOP_LOOKUPSWITCH, before falling back on ECMAv2's
    JSOP_CONDSWITCH.
  - Use cx->gcDisabled when evaluating case exprs at compile time for old,
    pre-ECMAv2 switches, to prevent branch-callback-based GC invocations
    from ripping apart the unrooted temporary script for each case expr.
  - Fixed up stale SRC_SWITCH comments in jsemit.h.

jsemit.c jsemit.h
  - TREE_CONTEXT_INIT to match ATOM_LIST_INIT, not English word order.
  - Reorganized JSCodeGenerator to sort of match argument order to
    js_InitCodeGenerator.
  - Got rid of confusing CG_RESET* macros and used memset(cg, 0, sizeof *cg)
    and non-zero-default init in js_InitCodeGenerator.  js_ResetCodeGenerator
    just releases the code and temp arena pools and leaves the cg in a state
    where it must be re-initialized (as before, but more obvious).
  - In the same spirit, don't do partial "resets" or src and trynotes in their
    js_FinishTaking*Notes functions -- those are friends of jsscript.c and are
    not general, idempotent functions.

jsapi.c jsapi.h jsarray.c jsatom.c jsatom.h jscntxt.c jsemit.c jsmsg.def
jsnum.c jsobj.c jsopcode.c jsregexp.c jsscan.c jsstr.c jsxdrapi.
  - Use PR_snprintf rather than sprintf always, so we don't have to worry
    about systems with 64-bit longs that overflow 12-byte buffers and open
    Morris-Worm-type security holes.
  - Trim extra spaces, fix hanging indentation, and similar anal retention.
  - Renamed JSMSG_BAD_PROTO_SORT to JSMSG_BAD_SORT_ARG cuz that's what it
    is complaining about.
  - SRC_CATCHGUARD still lived in comments, but it's SRC_CATCH in code.

jscntxt.c jscntxt.h jsinterp.c
  - Packed nearby JSPackedBools and added a new one: gcDisabled, for use by
    jsemit.c's pre-ECMAv2 switch case expr eval.
  - Rip out old js_InterpreterHooks stuff from original liveconnect (moja).
  - Remove javaData and savedErrors from JSContext.  Leaving it to fur or
    shaver to remove javaData from jsscript.h.


git-svn-id: svn://10.0.0.236/trunk@9475 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 05:39:51 +00:00
cls%seawood.org
36609ca04c Changed EDITOR env to MOZ_EDITOR. Submitted by Tim Rowley <tor@cs.brown.edu>
git-svn-id: svn://10.0.0.236/trunk@9474 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 04:52:26 +00:00
cls%seawood.org
e04e2ec644 Unset NO_EDITOR when mail-compose is enabled and removed unused variables.
git-svn-id: svn://10.0.0.236/trunk@9473 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 03:57:15 +00:00
cls%seawood.org
2bfc8c424b Made sure CC is being passed down to detect scripts.
git-svn-id: svn://10.0.0.236/trunk@9472 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 03:50:42 +00:00
cls%seawood.org
5f974b4509 Removed unused variables.
git-svn-id: svn://10.0.0.236/trunk@9471 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 03:45:34 +00:00
cls%seawood.org
f175f1713d Let user set CC & CXX to propagate the c and c++ compiler throughout the main build.
git-svn-id: svn://10.0.0.236/trunk@9470 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 03:33:40 +00:00
briano%netscape.com
55d0da1124 Deleting the 'patcher' subdir from DIRS. Not used.
git-svn-id: svn://10.0.0.236/trunk@9469 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 03:12:37 +00:00
raman%netscape.com
7a4a69ccea Checking bug fixes for SmartUpdate. It is not part of the build system
git-svn-id: svn://10.0.0.236/trunk@9468 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-07 21:49:56 +00:00
kipp%netscape.com
6187415172 Allocated another IID
git-svn-id: svn://10.0.0.236/trunk@9467 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-07 19:15:41 +00:00
kipp%netscape.com
538780b53b Added GetHints to nsIRenderingContext API
git-svn-id: svn://10.0.0.236/trunk@9466 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-07 19:12:44 +00:00
shaver%netscape.com
7191ecc710 remove some unbelievably dump debugging code (I no longer randomly dump core)
git-svn-id: svn://10.0.0.236/trunk@9465 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-07 18:50:13 +00:00
sdagley%netscape.com
219619ac4d Add new Privacy prefs sub-pane under Navifator, move cookie settings there (trusted cookie checkbox and config button not implemented yet), add new prefs checkbox for saving name and password, add new prefs checkbox for warning when server has no privacy policy.
git-svn-id: svn://10.0.0.236/trunk@9464 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-07 06:04:24 +00:00
toshok%netscape.com
e978f4bd52 uhh... remove xphist.* from the build.
git-svn-id: svn://10.0.0.236/trunk@9463 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-06 22:03:50 +00:00
toshok%netscape.com
d511d6f7cf add xp_hist.c/h. not built.
git-svn-id: svn://10.0.0.236/trunk@9462 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-06 22:03:12 +00:00
toshok%netscape.com
80e54a7d35 we need lo_alignStrings when we don't have memory arenas too. not just when EDITOR is defined.
git-svn-id: svn://10.0.0.236/trunk@9461 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-06 21:00:43 +00:00
ramiro%netscape.com
0d56597e86 BSD/OS 3.x and 4.x no longer define ___386BSD__ (which really existed
only for backward compatibility with the old Jolitz BSD releases).
Anyways, this patch makes it compile again.
Thanks to Bert Driehuis <driehuis@playbeing.org>.


git-svn-id: svn://10.0.0.236/trunk@9460 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-06 19:42:08 +00:00
ramiro%netscape.com
3c6f0accb0 Convert '/' to '_' in the output of uname.
Thanks to Bert Driehuis <driehuis@playbeing.org>.


git-svn-id: svn://10.0.0.236/trunk@9459 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-06 19:40:05 +00:00
brendan%netscape.com
828b802387 Remove '(balance' comments, fix hanging indents, other nits.
git-svn-id: svn://10.0.0.236/trunk@9458 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-06 19:23:06 +00:00
brendan%netscape.com
40a84ecba5 Fix switch comments, it's not a ternary node any longer.
git-svn-id: svn://10.0.0.236/trunk@9457 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-06 19:19:04 +00:00
terry%netscape.com
91bc17ca27 Chouck isn't here; fix owner of LibMocha.
git-svn-id: svn://10.0.0.236/trunk@9456 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-06 15:03:41 +00:00
brendan%netscape.com
f85feaca03 - Use consistent spelling in the API: "Callback" not "CallBack" -- it's a one
word neologism, not two words.
- Use consistent neighboring terseness ("error" rather than "err" in intercaps
  identifiers).
- Don't leave pointers in JSErrorReport to freed memory if bailing on OOM in
  jscntxt.c:js_ExpandErrorArguments.
- Hanging indentation, code fusion via continue, and other misc. cleanups.


git-svn-id: svn://10.0.0.236/trunk@9455 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-06 08:07:35 +00:00
kipp%netscape.com
3862b13620 Fixed linux compiling bugs
git-svn-id: svn://10.0.0.236/trunk@9454 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-06 04:16:22 +00:00
kipp%netscape.com
90c7bcd9de Updated to support latest API's
git-svn-id: svn://10.0.0.236/trunk@9453 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-06 00:21:40 +00:00
kipp%netscape.com
7c684bbb7c Create text using NS_NewTextNode API
git-svn-id: svn://10.0.0.236/trunk@9452 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-06 00:21:22 +00:00
kipp%netscape.com
e9662bac89 Use nsITextContent to initialize text node
git-svn-id: svn://10.0.0.236/trunk@9451 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-06 00:20:59 +00:00
kipp%netscape.com
7c2909f337 Cleaned up some whitespace
git-svn-id: svn://10.0.0.236/trunk@9450 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-06 00:19:49 +00:00
kipp%netscape.com
652229634f Expose NS_QuoteForHTML; remove duplicate frame ctor method decls
git-svn-id: svn://10.0.0.236/trunk@9449 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-06 00:19:14 +00:00
kipp%netscape.com
5b597d4bc6 Layer on top of nsGenericDOMData for full implementation
git-svn-id: svn://10.0.0.236/trunk@9448 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-06 00:18:43 +00:00
kipp%netscape.com
d7badd5a07 Added nsTextNode
git-svn-id: svn://10.0.0.236/trunk@9447 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-06 00:18:26 +00:00
kipp%netscape.com
43f634963b Nuked old content code
git-svn-id: svn://10.0.0.236/trunk@9446 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-06 00:18:12 +00:00
kipp%netscape.com
79472d0bf2 Removed some cruft; added NS_NewTextNode
git-svn-id: svn://10.0.0.236/trunk@9445 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-06 00:17:30 +00:00
kipp%netscape.com
50a0d285a1 new
git-svn-id: svn://10.0.0.236/trunk@9444 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-06 00:16:36 +00:00
troy%netscape.com
497b238e4c Reserved an IID
git-svn-id: svn://10.0.0.236/trunk@9443 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-06 00:15:45 +00:00
kipp%netscape.com
65ab40f772 Use allocated IID; update interface to be XPCOM'd and updated the methods
git-svn-id: svn://10.0.0.236/trunk@9442 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-06 00:15:10 +00:00
kipp%netscape.com
53c7e57bc9 Allocated iid for nsITextContent
git-svn-id: svn://10.0.0.236/trunk@9441 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-05 23:28:08 +00:00
kipp%netscape.com
f9c2c2bcd2 Added a macro and normalized auto-string initialization; reordered methods slightly just to annoy rickg :-)
git-svn-id: svn://10.0.0.236/trunk@9440 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-05 23:21:42 +00:00
cls%seawood.org
cb74fa0564 Removed libaddr and libmsg Makefile.ins
git-svn-id: svn://10.0.0.236/trunk@9439 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-05 23:17:44 +00:00
cls%seawood.org
41f723e37a Added missing / to command.c target.
git-svn-id: svn://10.0.0.236/trunk@9438 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-05 21:35:59 +00:00
michaelp%netscape.com
947b11003e added Scrolled() method. and support to call it. fixed NS_RELEASE(rc) bug in
pres shell as reported by pierre.


git-svn-id: svn://10.0.0.236/trunk@9437 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-05 20:57:57 +00:00
cls%seawood.org
6d2f9e6924 Added --enable-mail-compose option.
git-svn-id: svn://10.0.0.236/trunk@9436 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-05 20:40:43 +00:00
kipp%netscape.com
458facb9aa Stub out fe routine so that app will link
git-svn-id: svn://10.0.0.236/trunk@9435 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-05 20:13:34 +00:00
kipp%netscape.com
b884486032 Added missing files to the build
git-svn-id: svn://10.0.0.236/trunk@9434 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-05 20:11:17 +00:00
cls%seawood.org
36caf9e033 Updated.
git-svn-id: svn://10.0.0.236/trunk@9433 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-05 10:25:13 +00:00
pierre%netscape.com
ac435378f8 fixed other crashes in Comparators and ref counts
git-svn-id: svn://10.0.0.236/trunk@9432 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-05 10:25:04 +00:00
cls%seawood.org
420116584d Fixing autoconf breakage. LO_BuiltinStruct is the same for both the OJI and non-OJI cases.
git-svn-id: svn://10.0.0.236/trunk@9431 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-05 10:23:12 +00:00
pierre%netscape.com
66997919f6 fixed other crash
mTimers becomes a LArray, not a LArray*


git-svn-id: svn://10.0.0.236/trunk@9430 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-05 09:16:58 +00:00
pierre%netscape.com
f5e5c0a6f4 fixed crash in SpendTime()
git-svn-id: svn://10.0.0.236/trunk@9429 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-05 08:14:15 +00:00
pierre%netscape.com
367299ddef removed explicit creation of static object ImageManagerInit because "__initialize" was added to the project
git-svn-id: svn://10.0.0.236/trunk@9428 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-05 08:12:08 +00:00
briano%netscape.com
368872de77 If I had been paying attention, I'd have seen that the endian.h problem had already been fixed properly in mcom_db.h.
git-svn-id: svn://10.0.0.236/trunk@9427 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-05 08:11:59 +00:00
pierre%netscape.com
5e61c45025 removed temporary NET_PollSockets()
added OnPaint() call


git-svn-id: svn://10.0.0.236/trunk@9426 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-05 08:10:15 +00:00
pierre%netscape.com
0f30acf71c ported AddMouseListener() and AddEventListener() from Windows
git-svn-id: svn://10.0.0.236/trunk@9425 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-05 08:05:30 +00:00
pierre%netscape.com
4757c8e0e4 added __initialize and __terminate
git-svn-id: svn://10.0.0.236/trunk@9424 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-05 08:03:28 +00:00
ramiro%netscape.com
4049071b62 Comment out code that breaks MOZ_SELECTOR_BAR.
git-svn-id: svn://10.0.0.236/trunk@9423 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-05 06:44:15 +00:00
mcafee%netscape.com
eaecbf611e newPaneFromURL() can now pass paramters to HT_PaneFromURL.
git-svn-id: svn://10.0.0.236/trunk@9422 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-05 06:26:28 +00:00
mcafee%netscape.com
5946788239 SHACK: builtin struct gets passed in now, and we create an XFE_BuiltinTreeView instead of an XFE_NavCenterView.
git-svn-id: svn://10.0.0.236/trunk@9421 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-05 06:23:54 +00:00
mcafee%netscape.com
dacbe3641b added BuiltinTreeView.cpp
git-svn-id: svn://10.0.0.236/trunk@9420 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-05 06:21:30 +00:00
mcafee%netscape.com
91139eba00 Initial version
git-svn-id: svn://10.0.0.236/trunk@9419 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-05 06:21:00 +00:00
shaver%netscape.com
f5b78d1114 add refcounting to lo_TextAttr
git-svn-id: svn://10.0.0.236/trunk@9418 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-05 05:08:18 +00:00
shaver%netscape.com
91df78a054 Start of infrastructure for DOM-as-one-true-attr-source. Implement
DOM_NewElement.  Defend against NULL NodeOps.


git-svn-id: svn://10.0.0.236/trunk@9417 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-05 04:36:38 +00:00
shaver%netscape.com
454d0090b2 Remove DOMSetAttribute event guck (now tweak on mocha thread with layout
lock held, and signal reflow via event).  Check doc_id before trusting
LO_Element *s.  Make <TD>.bgcolor mutable.  Use DOM_NewElement instead
of inline hackery.  Defend against NULL returns from DOM_HTMLPopElementByType.
Make PR_ASSERTs XP_ASSERT for sake of brave users.


git-svn-id: svn://10.0.0.236/trunk@9416 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-05 04:34:13 +00:00
shaver%netscape.com
ab12796192 Add COW textattrs. Clean up lo_SetColor. Make <TD>.bgcolor mutable.
Remove some debugging cruft.


git-svn-id: svn://10.0.0.236/trunk@9415 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-05 04:29:56 +00:00
briano%netscape.com
1b0fc032b5 Added support for OpenBSD. Thanks to Marco Hyman (marc@snafu.org) for the actual work.
git-svn-id: svn://10.0.0.236/trunk@9414 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-05 04:22:25 +00:00
briano%netscape.com
a90118cc0c Support OpenBSD.
git-svn-id: svn://10.0.0.236/trunk@9413 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-05 04:16:15 +00:00
peterl%netscape.com
c728b9f01f changed the way map attributes into is connected
git-svn-id: svn://10.0.0.236/trunk@9412 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-05 04:00:06 +00:00
peterl%netscape.com
c053a8b481 tweaked output of percent values
git-svn-id: svn://10.0.0.236/trunk@9411 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-05 03:59:44 +00:00
peterl%netscape.com
0e107c4842 added content dir to includes
git-svn-id: svn://10.0.0.236/trunk@9410 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-05 03:58:05 +00:00
peterl%netscape.com
07befae09b added content directory to includes
git-svn-id: svn://10.0.0.236/trunk@9409 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-05 03:56:08 +00:00
peterl%netscape.com
ac4e93b3e5 added content to includes
git-svn-id: svn://10.0.0.236/trunk@9408 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-05 03:53:32 +00:00
peterl%netscape.com
dbbef7396e added base url
git-svn-id: svn://10.0.0.236/trunk@9407 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-05 03:52:40 +00:00
peterl%netscape.com
df4d7336c5 removed content from style mapping api
git-svn-id: svn://10.0.0.236/trunk@9406 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-05 03:52:30 +00:00
peterl%netscape.com
22106bc014 removed content from style map api
git-svn-id: svn://10.0.0.236/trunk@9405 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-05 03:51:56 +00:00
peterl%netscape.com
cbd43bb108 added base url accessor
git-svn-id: svn://10.0.0.236/trunk@9404 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-05 03:51:16 +00:00
sdagley%netscape.com
db0b7bc7d0 Merging fix from 4.0x branch. It's not clear that we really want to call GetURLForReferral when the passed referer is NIL since it breaks Smart Browsing keywords and does not actually appear to be needed to fix bug #90892 (which is why it was originally added). It's also a security hole since it causes the URL of the front window to be sent as the referer even if the user manually types in a URL.
git-svn-id: svn://10.0.0.236/trunk@9403 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-05 02:41:28 +00:00
cyeh%netscape.com
7160be3fdb dialup begone.
git-svn-id: svn://10.0.0.236/trunk@9402 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-05 02:04:12 +00:00
briano%netscape.com
55df62eda3 Potential fix for at least part of bug#522. Also turned off -taso for default Mozilla builds; only needed when building the commercial product.
git-svn-id: svn://10.0.0.236/trunk@9401 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-05 01:54:58 +00:00
briano%netscape.com
196d4e0d9a Added MOZ_EDITOR support, and did some minor cleanup.
git-svn-id: svn://10.0.0.236/trunk@9400 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-05 01:10:54 +00:00
waterson%netscape.com
d0a8fe62ca Fix build bustage due to change in header file from Boolean to PRBool
on XFE_Image::isImageLoaded().


git-svn-id: svn://10.0.0.236/trunk@9399 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-05 00:41:05 +00:00
bjorn%netscape.com
945b841d48 Added a missing read in ArenaAllocate.
git-svn-id: svn://10.0.0.236/trunk@9398 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-05 00:36:14 +00:00
bjorn%netscape.com
c4ef934afe Locks with almost no global locking. This will relieve contention.
git-svn-id: svn://10.0.0.236/trunk@9397 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-05 00:34:03 +00:00
cyeh%netscape.com
9d076721e8 this is stupid, since we now have http://www.mozilla.org/bonsai.html
to lookup changes in the tree


git-svn-id: svn://10.0.0.236/trunk@9396 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-05 00:32:35 +00:00
vidur%netscape.com
62fd8be727 Fixed bustage
git-svn-id: svn://10.0.0.236/trunk@9395 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 23:55:37 +00:00
nisheeth%netscape.com
ae9593fa10 Fix for bug #313278. Some links were unclickable. Added initialization code in lo_NewElement() for all the common fields shared across layout elements. Now, all the common fields should get sane values assigned to them at creation time.
git-svn-id: svn://10.0.0.236/trunk@9394 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 23:55:04 +00:00
ftang%netscape.com
78ab560f17 Change to the new selector so Japanese bookmark in UNIX (EUC) could be import correctly. This is a special case where bookmark file is different from the locale csid.
git-svn-id: svn://10.0.0.236/trunk@9393 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 23:25:00 +00:00
ftang%netscape.com
e486040111 add INTL_OldBookmarkCsidSel to support RDF bookmark import
git-svn-id: svn://10.0.0.236/trunk@9392 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 23:22:51 +00:00
cyeh%netscape.com
f7dea89c7a remove libaddr and libmsg from MozillaSourceCommon module
git-svn-id: svn://10.0.0.236/trunk@9391 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 23:17:25 +00:00
ftang%netscape.com
8b5a2b428e add new selector for oldbookmark
git-svn-id: svn://10.0.0.236/trunk@9390 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 23:12:45 +00:00
ftang%netscape.com
944cace649 add INTL_OldBookmarkCsidSel
git-svn-id: svn://10.0.0.236/trunk@9389 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 23:12:04 +00:00
ftang%netscape.com
08f111dd0c Add bookmark import UTF8 conversion code to convert the bookmark entry into UTF8. reviewed by rjc
git-svn-id: svn://10.0.0.236/trunk@9388 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 23:11:05 +00:00
vidur%netscape.com
c849307960 New content code adjusts to getting script objects through a factory interface
git-svn-id: svn://10.0.0.236/trunk@9387 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 23:03:16 +00:00
vidur%netscape.com
c846a918fc Tag enums
git-svn-id: svn://10.0.0.236/trunk@9386 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 23:02:06 +00:00
radha%netscape.com
04645c7a9d Implement singleclick activation for grid widget
git-svn-id: svn://10.0.0.236/trunk@9385 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 22:56:22 +00:00
radha%netscape.com
7847db06f7 Define new resource singleClickActivation for Grid widget
git-svn-id: svn://10.0.0.236/trunk@9384 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 22:55:08 +00:00
radha%netscape.com
52ff426581 Set singleClick activation in docked mode
git-svn-id: svn://10.0.0.236/trunk@9383 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 22:54:17 +00:00
radha%netscape.com
38a53f8448 Change the RDFImage Cache to a doubly linked list instead of a array.
Add a bunch of utility functions


git-svn-id: svn://10.0.0.236/trunk@9382 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 22:53:34 +00:00
radha%netscape.com
e3ce6f3f30 Make the close button close the RDFChromeTreeView
git-svn-id: svn://10.0.0.236/trunk@9381 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 22:52:19 +00:00
radha%netscape.com
d5701c2435 Change the declaration, usage and definition of isImageLoaded().
git-svn-id: svn://10.0.0.236/trunk@9380 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 22:51:29 +00:00
mcafee%netscape.com
779f5ad78d Updating -ncols, -config-dir -h comments.
git-svn-id: svn://10.0.0.236/trunk@9379 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 22:37:20 +00:00
akkana%netscape.com
306ba98b1e Fix some unresolved symbols for MOZ_MAIL_COMPOSE build.
Won't affect default build.


git-svn-id: svn://10.0.0.236/trunk@9378 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 22:30:14 +00:00
akkana%netscape.com
db39744a08 Oops, type in mailto lib name
git-svn-id: svn://10.0.0.236/trunk@9377 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 22:28:06 +00:00
cls%seawood.org
51e2313515 Applied patch by S.J.Moller <sjm@nwc.dk> to fix problem with OPTIMIZER not being overridden by ACCFLAGS.
git-svn-id: svn://10.0.0.236/trunk@9376 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 22:27:13 +00:00
cls%seawood.org
51d9b43023 Swapped order of checking for X libs as Xt requires SM as of X11R6.
git-svn-id: svn://10.0.0.236/trunk@9375 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 22:22:26 +00:00
akkana%netscape.com
97b5c848d9 mailto doesn't need mimevcrd.c after all
git-svn-id: svn://10.0.0.236/trunk@9374 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 22:07:25 +00:00
spider%netscape.com
3bf64af6a4 Adding support for depend and clobber
git-svn-id: svn://10.0.0.236/trunk@9373 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 22:02:21 +00:00
ramiro%netscape.com
f62051d76f Add lib/mailto.
git-svn-id: svn://10.0.0.236/trunk@9372 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 22:01:45 +00:00
dcone%netscape.com
de6c30b510 fixed clipping
git-svn-id: svn://10.0.0.236/trunk@9371 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 21:12:49 +00:00
dcone%netscape.com
4bf9e70937 added checkbutton
git-svn-id: svn://10.0.0.236/trunk@9370 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 21:12:12 +00:00
dcone%netscape.com
bf0f71d504 fixed text
git-svn-id: svn://10.0.0.236/trunk@9369 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 21:10:30 +00:00
dcone%netscape.com
23c40b5c0f new mac version
git-svn-id: svn://10.0.0.236/trunk@9368 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 21:10:13 +00:00
akkana%netscape.com
93682bb687 Fix build bustage -- missed an ifdef MOZ_MAIL
git-svn-id: svn://10.0.0.236/trunk@9367 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 20:26:35 +00:00
akkana%netscape.com
fa2f9817cc Mailto landing: include mime.c ifdef MOZ_MAIL_COMPOSE.
git-svn-id: svn://10.0.0.236/trunk@9366 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 19:27:45 +00:00
terry%netscape.com
f9cd004867 Encourage people to use the secure server.
git-svn-id: svn://10.0.0.236/trunk@9365 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 19:23:40 +00:00
akkana%netscape.com
1d8ede9301 Mailto landing (ifdef MOZ_MAIL_COMPOSE).
Also, add a FULL_STATIC define to the Makefile to allow the option
of compiling a truly static binary (e.g. to test for unresolveds).


git-svn-id: svn://10.0.0.236/trunk@9364 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 19:21:43 +00:00
akkana%netscape.com
a5b7868cf3 Mailto landing. ifdef MOZ_MAIL_COMPOSE, build lib/mailto.
git-svn-id: svn://10.0.0.236/trunk@9363 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 19:08:24 +00:00
akkana%netscape.com
0b1647e004 Mailto landing (ifdef MOZ_MAIL_COMPOSE). Aproved by mwelch.
Turns off MOZILLA_30, which Jamie says is probably a bad idea;
this will be reworked in the future.


git-svn-id: svn://10.0.0.236/trunk@9362 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 19:07:08 +00:00
akkana%netscape.com
3e79243700 Mailto landing.
The mailto library is the mail compose code ripped out of the old
Messenger libmsg library, then cleaned up somewhat
(it could still use more cleaning).
This library should only be built ifdef MOZ_MAIL_COMPOSE.


git-svn-id: svn://10.0.0.236/trunk@9361 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 19:04:30 +00:00
akkana%netscape.com
498b0dfae9 Mailto landing (ifdef MOZ_MAIL_COMPOSE). Approved by ftang.
git-svn-id: svn://10.0.0.236/trunk@9360 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 19:01:58 +00:00
akkana%netscape.com
67c07c175d Mailto landing (ifdef MOZ_MAIL_COMPOSE). Approved by valeski.
git-svn-id: svn://10.0.0.236/trunk@9359 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 18:59:53 +00:00
despotdaemon%netscape.com
93854c4c6b Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@9358 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 18:53:16 +00:00
akkana%netscape.com
b6a185a70e Mailto landing: grok MOZ_MAIL_COMPOSE. Approved by Briano.
git-svn-id: svn://10.0.0.236/trunk@9357 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 18:53:02 +00:00
valeski%netscape.com
0485308878 String insertion was broken if you wanted to insert at the begining (index '0') of a string.
git-svn-id: svn://10.0.0.236/trunk@9356 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 18:49:50 +00:00
shaver%netscape.com
952f75d830 fix ifdef breakage
git-svn-id: svn://10.0.0.236/trunk@9355 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 18:48:16 +00:00
terry%netscape.com
8f8f7701f0 Added "Viewer App" component.
git-svn-id: svn://10.0.0.236/trunk@9354 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 18:26:09 +00:00
dcone%netscape.com
67b43e8565 updated kipps changes
git-svn-id: svn://10.0.0.236/trunk@9353 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 18:01:46 +00:00
dcone%netscape.com
e3b01c7595 fixed to XP again
git-svn-id: svn://10.0.0.236/trunk@9352 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 18:01:00 +00:00
spider%netscape.com
e85e9626d1 adding clobber and depend support for julian
git-svn-id: svn://10.0.0.236/trunk@9351 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 18:00:47 +00:00
dcone%netscape.com
586c0aca07 updated to kipps changes
git-svn-id: svn://10.0.0.236/trunk@9350 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 18:00:21 +00:00
dcone%netscape.com
5cfb45537b updated for the latest kipp changes
git-svn-id: svn://10.0.0.236/trunk@9349 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 17:59:21 +00:00
dcone%netscape.com
245cbae5b2 Fixed mac build for the Kipp changes - Raptor only
git-svn-id: svn://10.0.0.236/trunk@9348 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 17:58:28 +00:00
dcone%netscape.com
f14fd1ee00 fixed the offscreen buffer mac things
git-svn-id: svn://10.0.0.236/trunk@9347 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 17:57:36 +00:00
dcone%netscape.com
40b4bf37e7 Mac Implementation
git-svn-id: svn://10.0.0.236/trunk@9346 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 17:57:04 +00:00
spider%netscape.com
3dc5150cef Adding depend and clobber support
git-svn-id: svn://10.0.0.236/trunk@9345 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 17:34:31 +00:00
spider%netscape.com
52061f624e adding clobber and depend support
git-svn-id: svn://10.0.0.236/trunk@9344 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 17:33:41 +00:00
spider%netscape.com
0ac14e35b2 Adding in depend and clobber support
git-svn-id: svn://10.0.0.236/trunk@9343 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 17:32:19 +00:00
cyeh%netscape.com
059f0b427f changes to CalendarClient module for spider
git-svn-id: svn://10.0.0.236/trunk@9342 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 17:30:56 +00:00
rickg%netscape.com
3615d64e55 new string improvements
git-svn-id: svn://10.0.0.236/trunk@9341 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 17:26:37 +00:00
despotdaemon%netscape.com
ce6c987c8c Pseudo-automatic update of changes made by cyeh@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@9340 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 17:25:45 +00:00
spider%netscape.com
372b246ae4 remove core from garbage
git-svn-id: svn://10.0.0.236/trunk@9339 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 17:14:31 +00:00
kipp%netscape.com
d7cef5dc99 Fixed bug in handling of textarea that caused them to terminate documents
git-svn-id: svn://10.0.0.236/trunk@9338 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 16:33:40 +00:00
kipp%netscape.com
47fb9492d2 new
git-svn-id: svn://10.0.0.236/trunk@9337 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 15:57:54 +00:00
rods%netscape.com
807f7d7725 Fixed up Find to include Replace, replace will be moved to it's
own place later.


git-svn-id: svn://10.0.0.236/trunk@9336 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 15:41:20 +00:00
terry%netscape.com
c1b6656939 Give a better message, in the case that someone changes a bug that had
an invalid component or version field.  (Like, for example, all the
new NGLayout bugs.)


git-svn-id: svn://10.0.0.236/trunk@9335 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 14:30:04 +00:00
ramiro%netscape.com
3a33b18b34 context_funcs.cpp does not build on BSD/OS because no definition for
STATFS is found. This trivial patch adds it back. It sure looks like a
pasto.
Thanks to Bert Driehuis <driehuis@playbeing.org>.


git-svn-id: svn://10.0.0.236/trunk@9334 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 13:44:34 +00:00
rods%netscape.com
70889d7b15 check for mLines being being null in FrameDeletedReflow
git-svn-id: svn://10.0.0.236/trunk@9333 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 13:33:22 +00:00
shaver%netscape.com
5412c22c77 fix ancient #if DOM breakage
git-svn-id: svn://10.0.0.236/trunk@9332 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 11:51:24 +00:00
cls%seawood.org
241c21b75a Changed checks for LINUX to linux as linux is defined by the compiler and fixes autoconf breakage under libc5.
git-svn-id: svn://10.0.0.236/trunk@9331 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 10:37:27 +00:00
cls%seawood.org
6ea484d1f5 Added USE_AUTOCONF to DEFS and made building editor disabled by default.
git-svn-id: svn://10.0.0.236/trunk@9330 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 08:50:18 +00:00
despotdaemon%netscape.com
413fab33e5 Pseudo-automatic update of changes made by brendan@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@9329 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 08:49:47 +00:00
briano%netscape.com
30b0eff13f Added -DHAVE_SNPRINTF, as discussed with wtc.
git-svn-id: svn://10.0.0.236/trunk@9328 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 07:59:55 +00:00
cls%seawood.org
a2db8495bc Replaced JAVA_OR_OJI surrounding ANTHRAX with USE_AUTOCONF until the proper generic combo can be decided upon.
git-svn-id: svn://10.0.0.236/trunk@9327 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 07:36:37 +00:00
cls%seawood.org
48f6f9d56b Surrounded ANTHRAX with ifdef JAVA_OR_OJI to fix non-OJI case.
git-svn-id: svn://10.0.0.236/trunk@9325 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 05:15:42 +00:00
scc%netscape.com
3fbe1524e4 moved FCInitialize() to post pref-init for FULL CIRCLE stuff
git-svn-id: svn://10.0.0.236/trunk@9324 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 03:48:27 +00:00
ftang%netscape.com
018bd46884 add INTL_ConvertLineWithoutAutoDetect and INTL_GetCharSetID to the list
git-svn-id: svn://10.0.0.236/trunk@9323 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 03:47:20 +00:00
ftang%netscape.com
6d2ba575bd add INTL_GetCharSetID from 4.5 tree
git-svn-id: svn://10.0.0.236/trunk@9322 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 03:46:31 +00:00
ftang%netscape.com
bbcb9cc63c add FE_GetCharSetID from 4.5 tree
git-svn-id: svn://10.0.0.236/trunk@9321 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 03:45:51 +00:00
ftang%netscape.com
e9214b000b Add FE_GetCharSetID from 4.5 tree
git-svn-id: svn://10.0.0.236/trunk@9320 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 03:44:52 +00:00
ftang%netscape.com
b88451df35 Add INTL_GetCharSetID from 4.5 tree
git-svn-id: svn://10.0.0.236/trunk@9319 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 03:44:23 +00:00
wtc%netscape.com
38ce488bd0 On Unix, include <sys/types.h> for 'uint'.
git-svn-id: svn://10.0.0.236/trunk@9318 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 03:43:07 +00:00
morse%netscape.com
35c87b9bc6 improve wording on trust label info
git-svn-id: svn://10.0.0.236/trunk@9317 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 03:28:26 +00:00
mcafee%netscape.com
4f7c26fb59 Getting rid of the MOZILLA_NO_FULLCIRCLE hack.
git-svn-id: svn://10.0.0.236/trunk@9316 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 03:01:54 +00:00
briano%netscape.com
2c188de044 Added -DHAVE_SNPRINTF, as discussed with wtc.
git-svn-id: svn://10.0.0.236/trunk@9315 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 02:53:32 +00:00
rickg%netscape.com
227c173869 a few small bug fixes for DTD
git-svn-id: svn://10.0.0.236/trunk@9314 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 02:52:47 +00:00
shaver%netscape.com
34ac502065 added missing #if DOM (bad!)
git-svn-id: svn://10.0.0.236/trunk@9313 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 01:16:11 +00:00
joki%netscape.com
86035599fe Fix makefile
git-svn-id: svn://10.0.0.236/trunk@9312 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 01:09:33 +00:00
kipp%netscape.com
745aee0c4c Use new wbr element
git-svn-id: svn://10.0.0.236/trunk@9311 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 01:03:20 +00:00
kipp%netscape.com
e39b3b0498 Removed old content code
git-svn-id: svn://10.0.0.236/trunk@9310 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 01:03:05 +00:00
kipp%netscape.com
b4b6440297 Added wbr
git-svn-id: svn://10.0.0.236/trunk@9309 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 01:02:54 +00:00
kipp%netscape.com
72917f8f44 Added WBR
git-svn-id: svn://10.0.0.236/trunk@9308 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 01:02:30 +00:00
kipp%netscape.com
cf434cfd08 new
git-svn-id: svn://10.0.0.236/trunk@9307 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 01:02:20 +00:00
kipp%netscape.com
507cb508d7 Create a spacer frame for spacer parts
git-svn-id: svn://10.0.0.236/trunk@9306 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 00:55:47 +00:00
kipp%netscape.com
bc5eaf1b20 Removed some cruft and promoted a few frame creation routines
git-svn-id: svn://10.0.0.236/trunk@9305 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 00:55:20 +00:00
kipp%netscape.com
0398940b8e Removed obsoelte content code
git-svn-id: svn://10.0.0.236/trunk@9304 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 00:54:57 +00:00
kipp%netscape.com
b1bd236e79 Added new atoms
git-svn-id: svn://10.0.0.236/trunk@9303 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 00:54:45 +00:00
kipp%netscape.com
f22d94b95a Create spacer element instead of obsolete spacer part
git-svn-id: svn://10.0.0.236/trunk@9302 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 00:52:49 +00:00
kipp%netscape.com
ce6f7d8d9f New file
git-svn-id: svn://10.0.0.236/trunk@9301 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 00:52:34 +00:00
norris%netscape.com
e41858a470 Previous checkin was mistaken; back it out.
git-svn-id: svn://10.0.0.236/trunk@9300 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 00:47:22 +00:00
joki%netscape.com
720db7820e Add New Window menu item, added window.close()
git-svn-id: svn://10.0.0.236/trunk@9299 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 00:47:15 +00:00
clu%netscape.com
58d40d97e6 tweaks to the encoding dialog box so the xp strings would fit.
git-svn-id: svn://10.0.0.236/trunk@9298 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 00:46:13 +00:00
joki%netscape.com
560e1d1ec1 Adding window.close(), fixing window.opener, window.name
git-svn-id: svn://10.0.0.236/trunk@9297 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 00:46:06 +00:00
norris%netscape.com
bc2d3f5307 Add support for ECMA switch statements. These are like LISP cond in that they
evaluate the case label each time.
Still to do is to optimize so that TABLESWITCH and LOOKUPSWITCH are created
when possible.


git-svn-id: svn://10.0.0.236/trunk@9296 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 00:45:21 +00:00
terry%netscape.com
6e086b553a Amusil now owns plugins.
git-svn-id: svn://10.0.0.236/trunk@9295 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 00:45:20 +00:00
spider%netscape.com
47c94bbe3c Removing no longer used mozilla/shell
git-svn-id: svn://10.0.0.236/trunk@9294 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 00:39:05 +00:00
pierre%netscape.com
ba1fadc3f7 fix a crash in the destructor (don't delete mFrontBuffer)
git-svn-id: svn://10.0.0.236/trunk@9293 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 00:33:49 +00:00
thom%netscape.com
9668f3bd42 Quick hack to get timers working (added call to tickle LPeriodical class)
git-svn-id: svn://10.0.0.236/trunk@9292 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 00:28:35 +00:00
clu%netscape.com
37bfaf7023 got rid of StUseCharFormattingCache for better typing performance. Also added an EDT_SetEncoding call in OBeyCommand to get the encoding dialog box up.
git-svn-id: svn://10.0.0.236/trunk@9291 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 00:28:05 +00:00
thom%netscape.com
a1fd716f3b Fixed crash in timer (AddItem (&something) not AddIten (something))
git-svn-id: svn://10.0.0.236/trunk@9290 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 00:23:30 +00:00
kipp%netscape.com
ca034ab855 Use new content class instead of the old obsolete one
git-svn-id: svn://10.0.0.236/trunk@9289 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 00:20:14 +00:00
kipp%netscape.com
df0413f361 Fold in some code from nsHTMLImage.cpp
git-svn-id: svn://10.0.0.236/trunk@9288 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 00:19:48 +00:00
kipp%netscape.com
859eb894bc Create image frames for images
git-svn-id: svn://10.0.0.236/trunk@9287 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 00:19:32 +00:00
kipp%netscape.com
3b3e4fc761 obsolete
git-svn-id: svn://10.0.0.236/trunk@9286 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 00:19:02 +00:00
kipp%netscape.com
3dd1960b2a Added decl for NS_NewImageFrame
git-svn-id: svn://10.0.0.236/trunk@9285 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 00:18:53 +00:00
kipp%netscape.com
9069de4eea Stop building nsBOdyPart since it's gone
git-svn-id: svn://10.0.0.236/trunk@9284 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 00:18:30 +00:00
kipp%netscape.com
4d72d837be Removed image content code
git-svn-id: svn://10.0.0.236/trunk@9283 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 00:18:18 +00:00
despotdaemon%netscape.com
70d9be09cc Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@9282 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 00:13:54 +00:00
terry%netscape.com
8f441bb341 Detecting the "default" partition wasn't working right.
git-svn-id: svn://10.0.0.236/trunk@9281 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 00:13:17 +00:00
despotdaemon%netscape.com
f59b95da76 Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@9280 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 00:12:04 +00:00
shaver%netscape.com
35c4e01d18 Enable setting of table cell attributes (bgcolor -- still broken), and
expose lo_SetColor to other code (libmocha's DOM stuff, specifically).


git-svn-id: svn://10.0.0.236/trunk@9279 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 00:08:08 +00:00
shaver%netscape.com
18f85f8dd0 Wired up DOM-node destruction after firing onUnload.
Added event guck for altering attributes (will be rewritten to do
poke-and-schedule).
Tentatively blocked out LM_ClearContextStream, which looks like dead code.


git-svn-id: svn://10.0.0.236/trunk@9278 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 00:05:53 +00:00
despotdaemon%netscape.com
a693e71f28 Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@9277 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 23:58:46 +00:00
terry%netscape.com
c9939d1fd3 Make the generated regexps not too general!
git-svn-id: svn://10.0.0.236/trunk@9276 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 23:57:21 +00:00
shaver%netscape.com
b36957e25d Implemented DOM_NewText.
Added stuff for node destruction, including making node_finalize module-public
for use by other node types.
Added new methods to Element (setAttribute + stubs).


git-svn-id: svn://10.0.0.236/trunk@9275 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 23:51:58 +00:00
despotdaemon%netscape.com
9e8f848074 Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@9274 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 23:50:30 +00:00
despotdaemon%netscape.com
5516bd4ec8 Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@9273 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 23:47:49 +00:00
despotdaemon%netscape.com
2d724b771e Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@9272 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 23:45:02 +00:00
despotdaemon%netscape.com
5f5d8230ea Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@9271 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 23:01:06 +00:00
despotdaemon%netscape.com
642ad8797c Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@9270 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 23:00:19 +00:00
rogerl%netscape.com
9f90098dfb Removed redundant #undef
git-svn-id: svn://10.0.0.236/trunk@9269 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 22:50:55 +00:00
terry%netscape.com
95101e1958 Added in NGLayout stuff. (gotta come up with a better way of tweaking
these tables!)


git-svn-id: svn://10.0.0.236/trunk@9268 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 22:50:31 +00:00
kipp%netscape.com
a20cd83e5d new
git-svn-id: svn://10.0.0.236/trunk@9267 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 22:23:41 +00:00
kipp%netscape.com
314b8f7958 Make more objects invisible
git-svn-id: svn://10.0.0.236/trunk@9266 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 22:23:22 +00:00
kipp%netscape.com
93c3e23672 Use new content objects wherever possible
git-svn-id: svn://10.0.0.236/trunk@9265 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 22:23:09 +00:00
kipp%netscape.com
76b3e558b9 tweaked element ctor methods
git-svn-id: svn://10.0.0.236/trunk@9264 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 22:22:34 +00:00
kipp%netscape.com
ab78e4bef0 Removed attribute handling since containers don't get used this way anymore
git-svn-id: svn://10.0.0.236/trunk@9263 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 22:22:16 +00:00
kipp%netscape.com
f3e136fff6 disabled most of the body part code
git-svn-id: svn://10.0.0.236/trunk@9262 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 22:21:57 +00:00
kipp%netscape.com
18a14d6bf5 Implement StringToAttribute/AttributeToString/MapAttributesInto; fix up name of embedded object
git-svn-id: svn://10.0.0.236/trunk@9261 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 22:21:32 +00:00
cyeh%netscape.com
8be3e5f2e2 final warning text
git-svn-id: svn://10.0.0.236/trunk@9260 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 21:47:33 +00:00
slamm%netscape.com
71379d00bf Add a form widget so that subclasses can add their own widgets.
git-svn-id: svn://10.0.0.236/trunk@9259 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 21:44:02 +00:00
slamm%netscape.com
33f1662279 Add ht_event debugging
git-svn-id: svn://10.0.0.236/trunk@9258 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 21:43:55 +00:00
akkana%netscape.com
5d8f30356a New encoding dialog API
git-svn-id: svn://10.0.0.236/trunk@9257 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 21:43:52 +00:00
slamm%netscape.com
60b166ac4d Let RDFBase handle deleting the pane.
git-svn-id: svn://10.0.0.236/trunk@9256 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 21:43:47 +00:00
slamm%netscape.com
f01c807873 Change RDFView to RDFChromeTreeView (per mcafee's request). RDFChromeTreeView inherits from RDFTreeView (adding chrome around it).
git-svn-id: svn://10.0.0.236/trunk@9255 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 21:43:38 +00:00
slamm%netscape.com
24d3f55a34 Make debugging fancier. Cleanup the view and destroy the
pane properly.


git-svn-id: svn://10.0.0.236/trunk@9254 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 21:43:29 +00:00
slamm%netscape.com
ade96f441e Replaced by RDFToolbar.
git-svn-id: svn://10.0.0.236/trunk@9253 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 21:43:27 +00:00
slamm%netscape.com
df22a923c4 With no selector, just pick the first view that comes
along (this will later be replace by something more useful).  Clean up
debugging. change references of RDFView to the new name, RDFChromeTreeView


git-svn-id: svn://10.0.0.236/trunk@9252 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 21:43:21 +00:00
slamm%netscape.com
a0b25e82f5 Replaced by RDFMenuToolbarBase.
git-svn-id: svn://10.0.0.236/trunk@9251 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 21:43:13 +00:00
akkana%netscape.com
953feea5d3 Fix IRIX build problem
git-svn-id: svn://10.0.0.236/trunk@9250 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 21:40:20 +00:00
spider%netscape.com
4785e69585 minor fix to pull calendar instead of trex
git-svn-id: svn://10.0.0.236/trunk@9249 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 21:37:43 +00:00
clu%netscape.com
4bfcd968a7 implmented macfe of the encoding dialog
git-svn-id: svn://10.0.0.236/trunk@9248 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 21:36:11 +00:00
clu%netscape.com
fd4b78e95d implement macfe of the encoding dialog
git-svn-id: svn://10.0.0.236/trunk@9247 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 21:34:40 +00:00
akkana%netscape.com
86867b76dd UI changes to FE_EncodingDialog to coordinate with backend and other FEs
git-svn-id: svn://10.0.0.236/trunk@9246 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 21:33:46 +00:00
cmanske%netscape.com
3584b2144e Added dialog for changing encoding in Composer
git-svn-id: svn://10.0.0.236/trunk@9245 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 21:33:18 +00:00
cmanske%netscape.com
7165b8b1c8 More work on I18N features in Composer
git-svn-id: svn://10.0.0.236/trunk@9244 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 21:33:05 +00:00
cmanske%netscape.com
1cdde3c8d0 Changed spelling of const and removed string not used for Change Encoding dialog
git-svn-id: svn://10.0.0.236/trunk@9243 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 21:33:02 +00:00
thom%netscape.com
d0bc5df348 Added comment to clarify an implementation issue (what conditions did nsITimer callback functions expect).
git-svn-id: svn://10.0.0.236/trunk@9242 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 21:16:41 +00:00
amusil%netscape.com
802e907ae5 MacFE code for Anthrax along with minor XP tweaks
git-svn-id: svn://10.0.0.236/trunk@9241 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 21:08:25 +00:00
racham%netscape.com
31019c1652 Small change in error handling
git-svn-id: svn://10.0.0.236/trunk@9240 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 21:03:21 +00:00
pnunn%netscape.com
a21756dedc fix for #79167. ncols. reviewed by mcafee.
Note: doc message should be changed to reflect
that ncols is added to number of system colors
for total number of colors allowed.


git-svn-id: svn://10.0.0.236/trunk@9239 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 21:02:31 +00:00
racham%netscape.com
976d4ef267 Changes to reflect the transition from Windows to Netscape Registry
git-svn-id: svn://10.0.0.236/trunk@9238 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 21:00:52 +00:00
cyeh%netscape.com
05b2cbb310 remove JSJ.mcp from all builds3
git-svn-id: svn://10.0.0.236/trunk@9237 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 20:54:33 +00:00
ftang%netscape.com
9a8a2fb72b merge one of 4.06 fix. bug 123957 and 311153. approved by mlm
git-svn-id: svn://10.0.0.236/trunk@9236 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 20:53:44 +00:00
cyeh%netscape.com
b355f7ea0e remove JSJDebug.o and JSJ.o files from all targets. also turn modification date caching off to fix dependencies not working
git-svn-id: svn://10.0.0.236/trunk@9235 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 20:53:27 +00:00
ftang%netscape.com
791b3309c8 Merge the fix 311741 from 4.5 tree.
git-svn-id: svn://10.0.0.236/trunk@9234 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 20:47:32 +00:00
rogerl%netscape.com
5bc4554a6e New errorNumber handling.
Fixed bug #317398, for loop without condition wasn't decompiling the body
correctly since the first statement in that body was getting eaten by
mistake when trying to consume the condition expression.


git-svn-id: svn://10.0.0.236/trunk@9233 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 20:44:55 +00:00
rogerl%netscape.com
1400e8fb8b New errorNumber handling
git-svn-id: svn://10.0.0.236/trunk@9232 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 20:35:41 +00:00
rogerl%netscape.com
f039948f09 New break-out of error message text from core engine
git-svn-id: svn://10.0.0.236/trunk@9231 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 20:33:32 +00:00
rogerl%netscape.com
112983b87d New errorNumber handling
git-svn-id: svn://10.0.0.236/trunk@9230 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 20:29:37 +00:00
spider%netscape.com
e46aa34185 fixes for new source tree
git-svn-id: svn://10.0.0.236/trunk@9229 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 20:20:45 +00:00
spider%netscape.com
211f718d25 Misc build fixes for migration to free source
git-svn-id: svn://10.0.0.236/trunk@9228 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 20:20:06 +00:00
spider%netscape.com
0d77d2ea11 Changes relative depth to gconfig
git-svn-id: svn://10.0.0.236/trunk@9227 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 20:14:26 +00:00
rods%netscape.com
b52be5a0e7 Fixed Find (still need to do more clean up)
git-svn-id: svn://10.0.0.236/trunk@9226 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 20:09:33 +00:00
spider%netscape.com
1d4b7fca78 First pass at XPFC migration to Free Source repo
git-svn-id: svn://10.0.0.236/trunk@9225 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 19:38:52 +00:00
spider%netscape.com
da31012521 First pass at XPFC migration to Free Source repo
git-svn-id: svn://10.0.0.236/trunk@9224 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 19:32:45 +00:00
despotdaemon%netscape.com
c343611bf2 Pseudo-automatic update of changes made by cata@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@9223 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 19:03:22 +00:00
spider%netscape.com
e0f3d96f9a First pass at XPFC migration to Free Source repo
git-svn-id: svn://10.0.0.236/trunk@9222 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 18:59:33 +00:00
spider%netscape.com
bb3b7c2ff1 First pass at XPFC migration to Free Source repo
git-svn-id: svn://10.0.0.236/trunk@9221 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 18:47:47 +00:00
spider%netscape.com
bed2259ede First pass migrating Free Source Calendar client to mozilla repo
git-svn-id: svn://10.0.0.236/trunk@9220 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 18:23:17 +00:00
spider%netscape.com
8208dea9e2 First pass migrating Free Source Calendar client to mozilla repo
git-svn-id: svn://10.0.0.236/trunk@9219 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 18:10:14 +00:00
spider%netscape.com
94729cf355 First pass migrating Free Source Calendar client to mozilla repo
git-svn-id: svn://10.0.0.236/trunk@9218 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 18:03:30 +00:00
mcafee%netscape.com
795aee180d More solaris breakage, nsImageUnix::BuildImage() needs to return status.
git-svn-id: svn://10.0.0.236/trunk@9217 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 10:51:54 +00:00
mcafee%netscape.com
083c21c7c6 CreateSeparator() needs to return a widget, how about the one this function creates.
git-svn-id: svn://10.0.0.236/trunk@9216 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 10:48:13 +00:00
mcafee%netscape.com
c3aa33f7e2 nsToolkitErrorhandler() needs to return a value, this breaks Solaris.
git-svn-id: svn://10.0.0.236/trunk@9215 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 10:32:55 +00:00
fur%netscape.com
ae6d9a5466 Backing out check-in of these files that are causing pain with Mozilla builds,
at least until we can properly control search paths on the Mac.


git-svn-id: svn://10.0.0.236/trunk@9214 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 07:28:30 +00:00
ramiro%netscape.com
00780a8a6f Make sure MOZ_SELECTOR_BAR continues to work.
git-svn-id: svn://10.0.0.236/trunk@9213 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 06:55:12 +00:00
ramiro%netscape.com
097307a8f0 Switch the window and bookmarks menus.
git-svn-id: svn://10.0.0.236/trunk@9212 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 06:51:14 +00:00
pierre%netscape.com
5d49bab0b1 fix bug in FE_FileType()
git-svn-id: svn://10.0.0.236/trunk@9211 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 06:21:26 +00:00
pierre%netscape.com
6514a7cdee XP_FileOpen() now uses MSL like the other functions from xp_file.h, not NSPR
git-svn-id: svn://10.0.0.236/trunk@9210 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 06:21:06 +00:00
pierre%netscape.com
69cd9ff712 temporarily call NET_PollSockets() before WNE, waiting for the timers to be implemented
git-svn-id: svn://10.0.0.236/trunk@9209 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 06:20:32 +00:00
pierre%netscape.com
4682b73269 temporarily disable the scrollbars on Mac, waiting for the widgets to be implemented
git-svn-id: svn://10.0.0.236/trunk@9208 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 06:20:12 +00:00
pierre%netscape.com
62f9808ce8 set resourceBase to the magic string "usr/local/netscape/bin/"
git-svn-id: svn://10.0.0.236/trunk@9207 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 06:19:13 +00:00
buster%netscape.com
acbcec3004 fixed minColSpan to always be at least one. This helps support empty rows,
among other problems.


git-svn-id: svn://10.0.0.236/trunk@9206 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 06:15:18 +00:00
kipp%netscape.com
417b9730b3 Fixed body tags for bug reported by dbaron@netaxs.com
git-svn-id: svn://10.0.0.236/trunk@9205 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 05:07:16 +00:00
cyeh%netscape.com
9a3269d91b re-arranged search path so that :dist is searched before the local
project folder.


git-svn-id: svn://10.0.0.236/trunk@9204 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 05:01:40 +00:00
2015 changed files with 487046 additions and 74801 deletions

2651
mozilla/cmd/winfe/feutil.cpp Executable file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,898 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
// npwplat.cpp
#include "stdafx.h"
#include <afxole.h>
#include <afxpriv.h>
#include <afxwin.h>
#include <errno.h>
#include <direct.h>
#include <stdlib.h>
#include <stdio.h>
#ifdef WIN32
#include <io.h>
#include <winver.h>
#else
#include <dos.h>
#include <ver.h>
#endif
#include "npwplat.h"
#include "nppg.h"
#include "plgindll.h"
#include "np.h"
#include "helper.h"
#if defined(OJI)
#include "jvmmgr.h"
#elif defined(JAVA)
#include "java.h"
#endif
#include "edt.h"
#include "npglue.h"
#include "nsIServiceManager.h"
NPPMgtBlk* g_pRegisteredPluginList = NULL;
// Tests that the directory specified by "dir" exists.
// Returns true if it does.
static XP_Bool wfe_CheckDir(const char * dir)
{
int ret;
XP_StatStruct statinfo;
ret = _stat((char *) dir, &statinfo);
if(ret == -1)
return(FALSE);
return(TRUE);
}
// Get the name of the directory where plugins live. "csDirname" is where the
// name of the dir is written to, and the trailing slash is removed.
// It always returns NPERR_NO_ERROR, since the Nav had to be started to get
// here, and the plugin dir is under where Nav started from.
NPError wfe_GetPluginsDirectory(CString& csDirname)
{
char ca_default[_MAX_PATH];
::GetModuleFileName(AfxGetApp()->m_hInstance, ca_default, _MAX_PATH);
char *cp_lastslash = ::strrchr(ca_default, '\\');
*cp_lastslash = NULL;
csDirname = ca_default;
csDirname += "\\plugins";
return NPERR_NO_ERROR;
}
NPError wfe_GetJavaDirectory(CString& csDirname)
{
char ca_default[_MAX_PATH];
::GetModuleFileName(AfxGetApp()->m_hInstance, ca_default, _MAX_PATH);
char *cp_lastslash = ::strrchr(ca_default, '\\');
*cp_lastslash = NULL;
csDirname = ca_default;
csDirname += "\\java\\classes";
return NPERR_NO_ERROR;
}
// Fetches the "MIME type" string from the DLL VERSIONINFO structure.
// "pVersionInfo" is ptr to the VERSIONINFO data, and "pNPMgtBlk" is a handle
// to a plugin management data structure created during fe_RegisterPlugin().
// The string is copied from the VERSIONINFO data into the
// "pNPMgtBlk->szMIMEType" member.
// An error is returned if out of memory. The MIME type string IS
// required, so an error is returned if the string does not exist.
NPError wfe_GetPluginMIMEType(VS_FIXEDFILEINFO* pVersionInfo,
NPPMgtBlk* pNPMgtBlk)
{
// get the mime type of this plugin
static char szMimeTypeBlock[] = "StringFileInfo\\040904E4\\MIMEType";
void* lpBuffer = NULL;
UINT uValueSize = 0;
if(::VerQueryValue(pVersionInfo, szMimeTypeBlock,
&lpBuffer, &uValueSize) == 0) // couldn't find MIME type
return NPERR_GENERIC_ERROR;
pNPMgtBlk->szMIMEType = new char[uValueSize];
if(pNPMgtBlk->szMIMEType == NULL)
return NPERR_OUT_OF_MEMORY_ERROR;
strcpy(pNPMgtBlk->szMIMEType, (const char*)lpBuffer);
return NPERR_NO_ERROR;
}
// Fetches the "File Extents" string from the DLL VERSIONINFO structure.
// "pVersionInfo" is ptr to the VERSIONINFO data, and "pNPMgtBlk" is a handle
// to a plugin management data structure created during fe_RegisterPlugin().
// The string is copied from the VERSIONINFO data into the
// "pNPMgtBlk->szFileExtents" member.
// An error is returned if out of memory, but the extents string is not
// required, so it is not an error if the string does not exist.
NPError wfe_GetPluginExtents(VS_FIXEDFILEINFO* pVersionInfo,
NPPMgtBlk* pNPMgtBlk)
{ // get the file extent list of this plugin
pNPMgtBlk->szFileExtents = NULL;
static char szFileExtentsBlock[] = "StringFileInfo\\040904E4\\FileExtents";
void* lpBuffer = NULL;
UINT uValueSize = 0;
if(::VerQueryValue(pVersionInfo, szFileExtentsBlock,
&lpBuffer, &uValueSize) == 0)
// couldn't find file extent
return NPERR_NO_ERROR;
if((*((char*)lpBuffer) == '\0') || (uValueSize == 0)) // no extents
return NPERR_NO_ERROR;
// alloc char array
pNPMgtBlk->szFileExtents = new char[uValueSize];
if(pNPMgtBlk->szFileExtents == NULL)
return NPERR_OUT_OF_MEMORY_ERROR;
strcpy(pNPMgtBlk->szFileExtents, (const char*)lpBuffer);
return NPERR_NO_ERROR;
}
// Fetches the "File Open Template" string from the DLL VERSIONINFO structure.
// "pVersionInfo" is ptr to the VERSIONINFO data, and "pNPMgtBlk" is a handle
// to a plugin management data structure created during fe_RegisterPlugin().
// The string is copied from the VERSIONINFO data into the
// "pNPMgtBlk->szFileOpenName" member.
// An error is returned if out of memory, but the template string is not
// required, so it is not an error if the string does not exist.
NPError wfe_GetPluginFileOpenTemplate(VS_FIXEDFILEINFO* pVersionInfo,
NPPMgtBlk* pNPMgtBlk)
{ // get the file open template this plugin
pNPMgtBlk->szFileOpenName = NULL;
static char szFileOpenBlock[] = "StringFileInfo\\040904E4\\FileOpenName";
void* lpBuffer = NULL;
UINT uValueSize = 0;
if(::VerQueryValue(pVersionInfo, szFileOpenBlock,
&lpBuffer, &uValueSize) == 0)
// couldn't find file extent
return NPERR_NO_ERROR;
if((*((char*)lpBuffer) == '\0') || (uValueSize == 0)) // no extents
return NPERR_NO_ERROR;
// alloc char array
pNPMgtBlk->szFileOpenName = new char[uValueSize];
if(pNPMgtBlk->szFileOpenName == NULL)
return NPERR_OUT_OF_MEMORY_ERROR;
strcpy(pNPMgtBlk->szFileOpenName, (const char*)lpBuffer);
return NPERR_NO_ERROR;
}
// Fetches the plugin name and description from the resource info.
// Uses predefined version information strings
NPError wfe_GetPluginNameAndDescription(VS_FIXEDFILEINFO* pVersionInfo,
CString& strName,
CString& strDescription)
{
static char szNameBlock[] = "StringFileInfo\\040904E4\\ProductName";
static char szDescBlock[] = "StringFileInfo\\040904E4\\FileDescription";
void* lpBuffer = NULL;
UINT uValueSize = 0;
// Get the product name
if(::VerQueryValue(pVersionInfo, szNameBlock, &lpBuffer, &uValueSize) > 0)
strName = (LPSTR)lpBuffer;
// Get the file description
if(::VerQueryValue(pVersionInfo, szDescBlock, &lpBuffer, &uValueSize) > 0)
strDescription = (LPSTR)lpBuffer;
return NPERR_NO_ERROR;
}
// Loads plugin properties from the DLL VERSIONINFO data structure.
// MIME type and version are required, but file extents and string
// file open templates are optional. "pPluginFilespec" is a string
// containing the file name of a DLL. "pNPMgtBlk" is a handle to a
// plugin management data structure created during fe_RegisterPlugin().
// Returns an error if "pPluginFilespec" did not have the required MIME
// type and version fields.
//
// Also returns the plugin name and description
NPError wfe_GetPluginProperties(char* pPluginFilespec,
NPPMgtBlk* pNPMgtBlk,
CString& strPluginName,
CString& strPluginDescription)
{
// prepare to read the version info tags
DWORD dwHandle = NULL;
DWORD dwVerInfoSize = ::GetFileVersionInfoSize(pPluginFilespec, &dwHandle);
if(dwVerInfoSize == NULL)
return NPERR_GENERIC_ERROR;
VS_FIXEDFILEINFO* pVersionInfo =
(VS_FIXEDFILEINFO*)new char[dwVerInfoSize];
if(pVersionInfo == NULL)
return NPERR_OUT_OF_MEMORY_ERROR;
if(::GetFileVersionInfo(pPluginFilespec, dwHandle,
dwVerInfoSize, pVersionInfo) == 0)
{
delete [] (char*)pVersionInfo;
return NPERR_GENERIC_ERROR;
}
NPError result;
// get the mime type of this plugin
if((result = wfe_GetPluginMIMEType(pVersionInfo, pNPMgtBlk))
!= NPERR_NO_ERROR)
{
delete [] (char*)pVersionInfo;
return result;
}
// get the file extent list of this plugin
if((result = wfe_GetPluginExtents(pVersionInfo, pNPMgtBlk))
!= NPERR_NO_ERROR)
{
delete [] pNPMgtBlk->szMIMEType;
delete [] (char*)pVersionInfo;
return result;
}
// get the file type template string of this plugin
if((result = wfe_GetPluginFileOpenTemplate(pVersionInfo, pNPMgtBlk))
!= NPERR_NO_ERROR)
{
delete [] pNPMgtBlk->szFileExtents;
delete [] pNPMgtBlk->szMIMEType;
delete [] (char*)pVersionInfo;
return result;
}
// get the version of this plugin
void* lpBuffer = NULL;
UINT uValueSize = 0;
if(::VerQueryValue(pVersionInfo, "\\", &lpBuffer, &uValueSize) == 0)
{ // couldn't find versioninfo
delete [] pNPMgtBlk->szFileExtents;
delete [] pNPMgtBlk->szMIMEType;
delete [] (char*)pVersionInfo;
return NPERR_GENERIC_ERROR;
}
pNPMgtBlk->versionMS = ((VS_FIXEDFILEINFO*)lpBuffer)->dwProductVersionMS;
pNPMgtBlk->versionLS = ((VS_FIXEDFILEINFO*)lpBuffer)->dwProductVersionLS;
// get the plugin name and description. It's not fatal if these fail
wfe_GetPluginNameAndDescription(pVersionInfo, strPluginName, strPluginDescription);
delete [] (char*)pVersionInfo;
return NPERR_NO_ERROR;
}
// Given a file open filter, e.g. Text Documents(*.txt), extracts the
// description and returns a copy of it
static LPSTR
ExtractDescription(LPCSTR lpszFileOpenFilter)
{
ASSERT(lpszFileOpenFilter);
LPSTR lpszDescription = XP_STRDUP(lpszFileOpenFilter);
// Strip off an filter pattern at the end
LPSTR lpszPattern = strrchr(lpszDescription, '(');
if (lpszPattern)
*lpszPattern = '\0';
return lpszDescription;
}
// Registers one plugin. "pPluginFilespec" is a string containing the file
// name of a DLL.
// This function can be called more than once so a plugin which has copied
// into the plugins subdir AFTER the Nav has started can be registered
// and loaded.
// The DLL is a plugin candidate, and is qualified during
// this function, by checking the DLL VERSIONINFO data structure for a
// MIME type string. If this string is found successfully, the handle
// of the management block is used to register the plugin for its MIME type.
// The extents which are to be associated with this MIME type are also grokked
// from the VERSIONINFO data structure, once the candidate is accepted.
// This function also takes the opportunity to overrided any helper app, by
// setting a helper app data structure member to allow the plugin to handle
// the MIME type instead of the helper, (pApp->how_handle = HANDLE_VIA_PLUGIN).
// Returns an error if "pPluginFilespec" was not registered.
NPError fe_RegisterPlugin(char* pPluginFilespec)
{
CString strName, strDescription;
// initialize a new plugin list mgt block
NPPMgtBlk* pNPMgtBlk = new NPPMgtBlk;
if(pNPMgtBlk == NULL) // fatal, can't continue
return NPERR_OUT_OF_MEMORY_ERROR;
pNPMgtBlk->pPluginFuncs = NULL;
pNPMgtBlk->pLibrary = NULL;
pNPMgtBlk->uRefCount = 0;
pNPMgtBlk->next = NULL;
// determine the MIME type and version of this plugin
if(wfe_GetPluginProperties(pPluginFilespec, pNPMgtBlk, strName, strDescription) != NPERR_NO_ERROR)
{
delete pNPMgtBlk;
return NPERR_GENERIC_ERROR;
}
// if a plugin is already registered for this MIME type, return. this
// allows downloading and registering new plugins without exiting the nav
for(NPPMgtBlk* pListBlk = g_pRegisteredPluginList; pListBlk != NULL;
pListBlk = pListBlk->next) {
BOOL bSameFile =
(strcmp(pListBlk->pPluginFilename, pPluginFilespec) == 0);
BOOL bSameMIMEtype =
(strstr(pNPMgtBlk->szMIMEType, pListBlk->szMIMEType) != NULL);
if(bSameFile && bSameMIMEtype) {
// the plugin DLL's filename and the MIME type it's registering for
// are the same, don't reregister
delete pNPMgtBlk;
return NPERR_GENERIC_ERROR;
}
}
pNPMgtBlk->pPluginFilename = XP_STRDUP(pPluginFilespec);
if(pNPMgtBlk->pPluginFilename == NULL) // fatal, can't continue
{
delete pNPMgtBlk;
return NPERR_OUT_OF_MEMORY_ERROR;
}
// Register the plugin file with the XP plugin code
NPL_RegisterPluginFile(strName, pNPMgtBlk->pPluginFilename, strDescription,
pNPMgtBlk);
// Iterate through the filename extensions. These are a list which are
// delimited via the '|' character. The list of MIME Types,File Extents,
// and Open Names must all coordinate
char *pStartMIME, *pEndMIME, *pStartExt, *pEndExt, *pStartName, *pEndName;
pStartMIME = pNPMgtBlk->szMIMEType;
pStartExt = pNPMgtBlk->szFileExtents;
pStartName = pNPMgtBlk->szFileOpenName;
pEndMIME = strchr(pStartMIME ,'|');
while (pEndMIME) {
pEndExt = strchr(pStartExt,'|');
pEndName = strchr(pStartName,'|');
if (pEndMIME) *pEndMIME = 0;
else return NPERR_GENERIC_ERROR;
if (pEndExt) *pEndExt = 0;
else return NPERR_GENERIC_ERROR;
if (pEndName) *pEndName = 0;
else return NPERR_GENERIC_ERROR;
// Register the MIME type with the XP plugin code. We need to pass in
// a description. If there's a file open template specified, then use the
// description from there. Otherwise use the MIME type
LPSTR lpszDescription = NULL;
if (pStartName)
lpszDescription = ExtractDescription(pStartName);
NPL_RegisterPluginType(pStartMIME, (LPCSTR)pStartExt, lpszDescription ?
lpszDescription : pStartMIME, (void *)pStartName, pNPMgtBlk, TRUE);
if (lpszDescription)
XP_FREE(lpszDescription);
CHelperApp *pApp;
if(theApp.m_HelperListByType.Lookup(pStartMIME, (CObject *&)pApp)) {
// We've a match.
// Make sure the app is marked to handle the load
// via a plugin
pApp->how_handle = HANDLE_VIA_PLUGIN;
}
if ((pEndMIME+1) && (pEndExt+1) && (pEndName+1)) {
pStartMIME = pEndMIME+1;
pStartExt = pEndExt+1;
pStartName = pEndName+1;
}
pEndMIME = strchr(pStartMIME ,'|');
}
// Register the MIME type with the XP plugin code. We need to pass in
// a description. If there's a file open template specified, then use the
// description from there. Otherwise use the MIME type
LPSTR lpszDescription = NULL;
if (pStartName)
lpszDescription = ExtractDescription(pStartName);
NPL_RegisterPluginType(pStartMIME, (LPCSTR)pStartExt, lpszDescription ?
lpszDescription : pStartMIME, (void *)pStartName, pNPMgtBlk, TRUE);
if (lpszDescription)
XP_FREE(lpszDescription);
CHelperApp *pApp;
if(theApp.m_HelperListByType.Lookup(pStartMIME, (CObject *&)pApp)) {
// We've a match.
// Make sure the app is marked to handle the load
// via a plugin
pApp->how_handle = HANDLE_VIA_PLUGIN;
}
// insert the plugin mgt blk at the head of the list of registered plugins.
// this means they are listed in the reverse order from which they were
// created, which doesn't matter.
pNPMgtBlk->next = g_pRegisteredPluginList;
g_pRegisteredPluginList = pNPMgtBlk;
return NPERR_NO_ERROR;
}
static NS_DEFINE_CID(kPluginManagerCID, NS_PLUGINMANAGER_CID);
static NS_DEFINE_IID(kIPluginManagerIID, NS_IPLUGINMANAGER_IID);
// FE_RegisterPlugins is called from navigator main via npglue's NP_Init(). Finds all
// plugins and begins tracking them using a NPPMgtBlk. Uses the NPPMgtBlk
// block handle to register the plugin with the xp plugin glue. Looks
// in the directory under the netscape.exe dir, named "plugins" and all
// subdirectories in recursive way (see fe_RegisterPlugins). If the
// directory doesn't exist, no warning dialog is shown.
// There are no input or return vals.
void fe_RegisterPlugins(char* pszPluginDir)
{
CString csPluginSpec;
csPluginSpec = pszPluginDir;
#if defined(JAVA)
// add directory to the java path no matter what
LJ_AddToClassPath(pszPluginDir);
#endif
csPluginSpec += "\\*.*";
#ifndef _WIN32
_find_t fileinfo;
unsigned result = _dos_findfirst((LPSTR)((LPCSTR)csPluginSpec), _A_NORMAL | _A_SUBDIR, &fileinfo );
if (result == 0) {
result = _dos_findnext(&fileinfo); // skip "."
result = _dos_findnext(&fileinfo); // skip ".."
CString csFileSpec;
while(result == 0)
{
csFileSpec = pszPluginDir;
csFileSpec += "\\";
csFileSpec += fileinfo.name;
// we got a subdir, call recursively this function to load plugin
if (fileinfo.attrib & _A_SUBDIR ) {
fe_RegisterPlugins((LPSTR)(LPCSTR)csFileSpec);
}
else {
size_t len = strlen(fileinfo.name);
// it's a file, see if it can be a plugin file
if ( len > 6 && // at least "np.dll"
(fileinfo.name[0] == 'n' || fileinfo.name[0] == 'N') &&
(fileinfo.name[1] == 'p' || fileinfo.name[1] == 'P') &&
!_stricmp(fileinfo.name + len - 4, ".dll"))
fe_RegisterPlugin((LPSTR)((LPCSTR)csFileSpec));
#ifdef EDITOR
// If it's a cpXXX.zip file,register it as a composer plugin.
else if ( len > 6 && // at least cp.zip
(fileinfo.name[0] == 'c' || fileinfo.name[0] == 'C') &&
(fileinfo.name[1] == 'p' || fileinfo.name[1] == 'P') &&
(!_stricmp(fileinfo.name + len - 4, ".zip")
|| !_stricmp(fileinfo.name + len - 4, ".jar"))
)
EDT_RegisterPlugin((LPSTR)((LPCSTR)csFileSpec));
#endif /* EDITOR */
}
result = _dos_findnext(&fileinfo);
}
}
#else /* _WIN32 */
_finddata_t fileinfo;
unsigned handle = _findfirst((LPSTR)((LPCSTR)csPluginSpec), &fileinfo );
unsigned result = 0;
if (handle != -1) {
result = _findnext(handle, &fileinfo); // skip "."
result = _findnext(handle, &fileinfo); // skip ".."
CString csFileSpec;
while((result != -1) && (handle != -1))
{
csFileSpec = pszPluginDir;
csFileSpec += "\\";
csFileSpec += fileinfo.name;
// we got a subdir, call recursively this function to load plugin
if (fileinfo.attrib & _A_SUBDIR ) {
fe_RegisterPlugins((LPSTR)(LPCSTR)csFileSpec);
}
else {
size_t len = strlen(fileinfo.name);
// it's a file, see if it can be a plugin file
if ( len > 6 && // at least "np.dll"
(fileinfo.name[0] == 'n' || fileinfo.name[0] == 'N') &&
(fileinfo.name[1] == 'p' || fileinfo.name[1] == 'P') &&
!_stricmp(fileinfo.name + len - 4, ".dll"))
fe_RegisterPlugin((LPSTR)((LPCSTR)csFileSpec));
#ifdef EDITOR
// If it's a cpXXX.zip file, add it to the java class path.
else if ( len > 6 && // at least cp.zip
(fileinfo.name[0] == 'c' || fileinfo.name[0] == 'C') &&
(fileinfo.name[1] == 'p' || fileinfo.name[1] == 'P') &&
(!_stricmp(fileinfo.name + len - 4, ".zip")
|| !_stricmp(fileinfo.name + len - 4, ".jar"))
)
EDT_RegisterPlugin((LPSTR)((LPCSTR)csFileSpec));
#endif
}
result = _findnext(handle, &fileinfo);
}
_findclose(handle);
}
#endif /* _WIN32 */
}
// called from the navigator main, dispatch to the previous function
void FE_RegisterPlugins()
{
CString csPluginDir;
// get the main plugins directory and start the process
wfe_GetPluginsDirectory(csPluginDir);
fe_RegisterPlugins((LPSTR)(LPCSTR)csPluginDir);
CString csJavaDir;
wfe_GetJavaDirectory(csJavaDir);
JVM_AddToClassPath(csJavaDir);
}
// saves the current path in the variable passed. ppPathSave is the
// address of the ptr which stores the path string. returns out of memory
// error if allocation for the string returned by _getcwd() fails. returns
// generic error if the "one deep" stack is already full.
NPError wfe_PushPath(LPSTR *ppPathSave)
{
// only allow "one deep" stack
if(*ppPathSave != NULL)
return NPERR_GENERIC_ERROR;
// save the CWD
*ppPathSave = _getcwd(NULL, 0);
if(*ppPathSave == NULL)
return NPERR_OUT_OF_MEMORY_ERROR;
return NPERR_NO_ERROR;
}
// calculate the drive letter value for _chdrive(). ascii in, int out
int wfe_MapAsciiToDriveNum(char cAsciiNum)
{
int iDriveLetter = cAsciiNum;
if(islower(cAsciiNum))
iDriveLetter = _toupper(cAsciiNum);
// plus one because for _chdrive(), A = 1, B = 2, etc
return iDriveLetter - 'A' + 1;
}
// restores the path from the variable passed. pDirSave stores the pointer
// to the path string. returns an error if a path has never been pushed.
NPError wfe_PopPath(LPSTR pPathSave)
{
// only allows "one deep" stack
if(pPathSave == NULL)
return NPERR_GENERIC_ERROR;
// restore the drive
int chdriveErr = _chdrive(wfe_MapAsciiToDriveNum(pPathSave[0]));
// restore the CWD
int chdirErr = _chdir(pPathSave);
free(pPathSave);
return NPERR_NO_ERROR;
}
static void
fe_MaybeUnloadPlugin(NPPMgtBlk* mgtBlock)
{
nsCanUnloadProc nsCanUnload = (nsCanUnloadProc)
PR_FindSymbol(mgtBlock->pLibrary, "NSCanUnload");
if (nsCanUnload) {
PRBool canUnload = nsCanUnload();
if (canUnload) {
PR_UnloadLibrary(mgtBlock->pLibrary);
mgtBlock->pLibrary = NULL;
}
}
}
// Load a plugin dll. "pluginType" is a handle to a plugin management data
// structure created during FE_RegisterPlugins(). "pNavigatorFuncs" is
// a table of entry points into Navigator, which are the services provided
// by Navigator to plugins, such as requestread() and GetUrl(). These entry
// points are stored and called by the plugin when services are needed.
// The return val is a table of functions which are entry points to the
// newly loaded plugin, such as NewStream() and Write().
NPPluginFuncs* FE_LoadPlugin(void* pluginType, NPNetscapeFuncs* pNavigatorFuncs, np_handle* handle)
{
if(pluginType == NULL)
return NULL;
NPPMgtBlk* pNPMgtBlock = (NPPMgtBlk*)pluginType;
CString csPluginDir;
#ifdef OJI
char* szExplicitDLL = strrchr(pNPMgtBlock->pPluginFilename, '\\');
if( szExplicitDLL ) {
csPluginDir = pNPMgtBlock->pPluginFilename; // MFC copies the string
csPluginDir.SetAt( szExplicitDLL - pNPMgtBlock->pPluginFilename, '\0');
} else {
wfe_GetPluginsDirectory(csPluginDir);
}
#else
wfe_GetPluginsDirectory(csPluginDir);
#endif /* OJI */
LPSTR pPathSave = NULL; // storage for one dir spec
wfe_PushPath(&pPathSave); // save the current drive and dir
// change the default dir so that implib'd plugins won't fail
if(_chdir(csPluginDir) != 0) {
wfe_PopPath(pPathSave); // restore the path
return NULL;
}
// must change the drive as well as the dir path
if(isalpha(csPluginDir[0]) && csPluginDir[1] == ':') {
if(_chdrive(wfe_MapAsciiToDriveNum(csPluginDir[0])) != 0) {
wfe_PopPath(pPathSave); // restore the path
return NULL;
}
}
pNPMgtBlock->pLibrary = PR_LoadLibrary(pNPMgtBlock->pPluginFilename);
// the cross platform code should take care of the 16/32 bit issues
if(pNPMgtBlock->pLibrary == NULL)
return NULL;
nsFactoryProc nsGetFactory = (nsFactoryProc)
PR_FindSymbol(pNPMgtBlock->pLibrary, "NSGetFactory");
if (nsGetFactory != NULL) {
static NS_DEFINE_IID(kIPluginIID, NS_IPLUGIN_IID);
nsIPlugin* plugin = NULL;
nsIServiceManager* serviceMgr = NULL;
nsresult res = nsServiceManager::GetGlobalServiceManager(&serviceMgr);
if (res == NS_OK
&& (res = nsGetFactory(kIPluginIID, (nsIFactory**)&plugin, serviceMgr)) == NS_OK) {
handle->userPlugin = plugin;
plugin->AddRef(); // the browser's reference
pNPMgtBlock->pPluginFuncs = (NPPluginFuncs*)-1; // something to say it's loaded, but != 0
#ifdef LATER // XXX coming soon...
// add the plugin directory if successful
JVM_AddToClassPathRecursively(csPluginDir);
#endif
}
else {
fe_MaybeUnloadPlugin(pNPMgtBlock);
wfe_PopPath(pPathSave); // restore the path
return NULL;
}
}
else {
NP_GETENTRYPOINTS getentrypoints =
(NP_GETENTRYPOINTS)PR_FindSymbol(pNPMgtBlock->pLibrary, "NP_GetEntryPoints");
if(getentrypoints == NULL)
{
fe_MaybeUnloadPlugin(pNPMgtBlock);
wfe_PopPath(pPathSave); // restore the path
return NULL;
}
if(pNPMgtBlock->pPluginFuncs == NULL)
{
pNPMgtBlock->pPluginFuncs = new NPPluginFuncs;
pNPMgtBlock->pPluginFuncs->size = sizeof NPPluginFuncs;
pNPMgtBlock->pPluginFuncs->javaClass = NULL;
if(pNPMgtBlock->pPluginFuncs == NULL) // fatal, can't continue
{
fe_MaybeUnloadPlugin(pNPMgtBlock);
wfe_PopPath(pPathSave); // restore the path
return NULL;
}
}
if(getentrypoints(pNPMgtBlock->pPluginFuncs) != NPERR_NO_ERROR)
{
fe_MaybeUnloadPlugin(pNPMgtBlock);
delete pNPMgtBlock->pPluginFuncs;
pNPMgtBlock->pPluginFuncs = NULL;
wfe_PopPath(pPathSave); // restore the path
return NULL;
}
// if the plugin's major ver level is lower than the Navigator's,
// then they are incompatible, and should return an error
if(HIBYTE(pNPMgtBlock->pPluginFuncs->version) < NP_VERSION_MAJOR)
{
fe_MaybeUnloadPlugin(pNPMgtBlock);
delete pNPMgtBlock->pPluginFuncs;
pNPMgtBlock->pPluginFuncs = NULL;
wfe_PopPath(pPathSave); // restore the path
return NULL;
}
NP_PLUGININIT npinit = NULL;
// if this DLL is not already loaded, call its initialization entry point
if(pNPMgtBlock->uRefCount == 0) {
// the NP_Initialize entry point was misnamed as NP_PluginInit, early
// in plugin project development. Its correct name is documented
// now, and new developers expect it to work. However, I don't want
// to break the plugins already in the field, so I'll accept either
// name
npinit =
(NP_PLUGININIT)PR_FindSymbol(pNPMgtBlock->pLibrary, "NP_Initialize");
if(!npinit) {
npinit =
(NP_PLUGININIT)PR_FindSymbol(pNPMgtBlock->pLibrary, "NP_PluginInit");
}
}
if(npinit == NULL) {
fe_MaybeUnloadPlugin(pNPMgtBlock);
delete pNPMgtBlock->pPluginFuncs;
pNPMgtBlock->pPluginFuncs = NULL;
wfe_PopPath(pPathSave); // restore the path
return NULL;
}
if (npinit(pNavigatorFuncs) != NPERR_NO_ERROR) {
fe_MaybeUnloadPlugin(pNPMgtBlock);
delete pNPMgtBlock->pPluginFuncs;
pNPMgtBlock->pPluginFuncs = NULL;
wfe_PopPath(pPathSave); // restore the path
return NULL;
}
}
pNPMgtBlock->uRefCount++; // all is well, remember it was loaded
// can't pop the path until plugins have been completely loaded/init'd
wfe_PopPath(pPathSave); // restore the path
return pNPMgtBlock->pPluginFuncs;
}
// Unloads a plugin DLL. "pluginType" is a handle to a plugin management data
// structure created during FE_RegisterPlugins(). There is no return val.
void FE_UnloadPlugin(void* pluginType, struct _np_handle* handle)
{
NPPMgtBlk* pNPMgtBlk = (NPPMgtBlk*)pluginType;
if (pNPMgtBlk == NULL)
return;
// XXX Note that we're double refcounting here. If we were rewriting this
// from scratch, we could eliminate this pNPMgtBlk and its refcount and just
// rely on the one in the userPlugin.
pNPMgtBlk->uRefCount--; // another one bites the dust
// if this DLL is the last one, call its shutdown entry point
if (pNPMgtBlk->uRefCount == 0) {
if (handle->userPlugin) {
nsrefcnt cnt = handle->userPlugin->Release();
#if 0 // XXX later...
// remove the plugin directory if successful
JVM_RemoveFromClassPathRecursively(csPluginDir);
#endif
}
else {
// the NP_Shutdown entry point was misnamed as NP_PluginShutdown, early
// in plugin project development. Its correct name is documented
// now, and new developers expect it to work. However, I don't want
// to break the plugins already in the field, so I'll accept either
// name
NP_PLUGINSHUTDOWN npshutdown =
(NP_PLUGINSHUTDOWN)PR_FindSymbol(pNPMgtBlk->pLibrary, "NP_Shutdown");
if (!npshutdown) {
npshutdown =
(NP_PLUGINSHUTDOWN)PR_FindSymbol(pNPMgtBlk->pLibrary, "NP_PluginShutdown");
}
if (npshutdown != NULL) {
NPError result = npshutdown();
}
}
}
fe_MaybeUnloadPlugin(pNPMgtBlk);
if (handle->userPlugin) {
PR_ASSERT(pNPMgtBlk->pPluginFuncs == (NPPluginFuncs*)-1); // set in FE_LoadPlugin
handle->userPlugin = NULL;
}
else {
delete pNPMgtBlk->pPluginFuncs;
}
pNPMgtBlk->pPluginFuncs = NULL;
}
// Removes a plugin DLL from memory, and frees its NPPMgtBlk management block.
// "pluginType" is a handle to the plugin management data structure created
// during FE_RegisterPlugins(). There is no return val.
void FE_UnregisterPlugin(void* pluginType)
{
NPPMgtBlk* pNPMgtBlk = (NPPMgtBlk*)pluginType;
if(pNPMgtBlk == NULL)
return;
if(pNPMgtBlk->pLibrary != NULL)
fe_MaybeUnloadPlugin(pNPMgtBlk);
delete [] (char*)*pNPMgtBlk->pPluginFilename;
delete [] pNPMgtBlk->pPluginFilename;
delete [] pNPMgtBlk->szMIMEType;
delete pNPMgtBlk->pPluginFuncs;
delete pNPMgtBlk;
}
// Provides the entry point used by xp plugin code, (NPGLUE.C), to control
// scroll bars. The inputs are obvious, and there is no return val.
void FE_ShowScrollBars(MWContext* pContext, XP_Bool show)
{
if(ABSTRACTCX(pContext)->IsWindowContext()) {
CPaneCX *pPaneCX = PANECX(pContext);
pPaneCX->ShowScrollBars(SB_BOTH, show);
}
}
#ifdef XP_WIN32
void*
WFE_BeginSetModuleState()
{
return AfxSetModuleState(AfxGetAppModuleState());
}
void
WFE_EndSetModuleState(void* pPrevState)
{
AfxSetModuleState((AFX_MODULE_STATE*)pPrevState);
}
#endif

1307
mozilla/cmd/winfe/woohoo.cpp Normal file

File diff suppressed because it is too large Load Diff

86
mozilla/cmd/xfe/C Normal file
View File

@@ -0,0 +1,86 @@
#
# $XConsortium: C,v 1.4 91/06/29 20:01:32 xguest Exp $
#
# Copyright 1990, 1991 by OMRON Corporation, NTT Software Corporation,
# and Nippon Telegraph and Telephone Corporation
# Copyright 1991 by the Massachusetts Institute of Technology
#
# Permission to use, copy, modify, distribute, and sell this software and its
# documentation for any purpose is hereby granted without fee, provided that
# the above copyright notice appear in all copies and that both that
# copyright notice and this permission notice appear in supporting
# documentation, and that the names of OMRON, NTT Software, NTT, and M.I.T.
# not be used in advertising or publicity pertaining to distribution of the
# software without specific, written prior permission. OMRON, NTT Software,
# NTT, and M.I.T. make no representations about the suitability of this
# software for any purpose. It is provided "as is" without express or
# implied warranty.
#
# OMRON, NTT SOFTWARE, NTT, AND M.I.T. DISCLAIM ALL WARRANTIES WITH REGARD
# TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
# AND FITNESS, IN NO EVENT SHALL OMRON, NTT SOFTWARE, NTT, OR M.I.T. BE
# LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#
# Author: Li Yuhong OMRON Corporation
#
########################################################################
#
# Locale Name: C
#
XLC_ALL
C
END XLC_ALL
XLC_ENCODING
STRING
END XLC_ENCODING
XLC_FONTSET
#
# Definition Format: XLFD
#
# ASCII: ISO 8859-1
iso8859-1:GL
END XLC_FONTSET
XLC_CODESET
#
# type:CS0_mblen
#
L:1
#
# This mapping list was generated by program, DO NOT CHANGE IT!
#
#00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15
#
{
C0, C0, C0, C0, C0, C0, C0, C0, C0, C0, C0, C0, C0, C0, C0, C0,
C0, C0, C0, C0, C0, C0, C0, C0, C0, C0, C0, C0, C0, C0, C0, C0,
CS0,CS0,CS0,CS0,CS0,CS0,CS0,CS0,CS0,CS0,CS0,CS0,CS0,CS0,CS0,CS0,
CS0,CS0,CS0,CS0,CS0,CS0,CS0,CS0,CS0,CS0,CS0,CS0,CS0,CS0,CS0,CS0,
CS0,CS0,CS0,CS0,CS0,CS0,CS0,CS0,CS0,CS0,CS0,CS0,CS0,CS0,CS0,CS0,
CS0,CS0,CS0,CS0,CS0,CS0,CS0,CS0,CS0,CS0,CS0,CS0,CS0,CS0,CS0,CS0,
CS0,CS0,CS0,CS0,CS0,CS0,CS0,CS0,CS0,CS0,CS0,CS0,CS0,CS0,CS0,CS0,
CS0,CS0,CS0,CS0,CS0,CS0,CS0,CS0,CS0,CS0,CS0,CS0,CS0,CS0,CS0,CS0,
ND, ND, ND, ND, ND, ND, ND, ND, ND, ND, ND, ND, ND, ND, ND, ND,
ND, ND, ND, ND, ND, ND, ND, ND, ND, ND, ND, ND, ND, ND, ND, ND,
ND, ND, ND, ND, ND, ND, ND, ND, ND, ND, ND, ND, ND, ND, ND, ND,
ND, ND, ND, ND, ND, ND, ND, ND, ND, ND, ND, ND, ND, ND, ND, ND,
ND, ND, ND, ND, ND, ND, ND, ND, ND, ND, ND, ND, ND, ND, ND, ND,
ND, ND, ND, ND, ND, ND, ND, ND, ND, ND, ND, ND, ND, ND, ND, ND,
ND, ND, ND, ND, ND, ND, ND, ND, ND, ND, ND, ND, ND, ND, ND, ND,
ND, ND, ND, ND, ND, ND, ND, ND, ND, ND, ND, ND, ND, ND, ND, ND,
}
#
# The following conversion list is hexdecimal.
#
# CS0: ASCII, ISO 8859-1
#
(20=20:7f)
END XLC_CODESET
#
# END OF FILE
#

View File

@@ -0,0 +1,301 @@
/***********************************************************
Copyright 1993 Interleaf, Inc.
Permission to use, copy, modify, and distribute this software
and its documentation for any purpose without fee is granted,
provided that the above copyright notice appear in all copies
and that both copyright notice and this permission notice appear
in supporting documentation, and that the name of Interleaf not
be used in advertising or publicly pertaining to distribution of
the software without specific written prior permission.
Interleaf makes no representation about the suitability of this
software for any purpose. It is provided "AS IS" without any
express or implied warranty.
******************************************************************/
Notes/Issues:
- The list menu is posted on the select button release. In order to
be like Windows, the menu would come up on the button press, and allow
the user to drag immediately, without letting go of the select button.
When I wrote the widget, I didn't have time to investigate getting this
drag to work. We would have to simulate the select press inside the
list, I imagine.
- No key pattern matching available.
- Lack of translation table functionality.
1. ComboBox Widget
1.1 Widget Class Name
ComboBox
1.2 Synopsis
#include "ComboBox.h"
widget = DtCreateComboBox(parent, name, arglist, num_args);
XtManageChild(widget);
1.3 Description
1.4 Resources
Property Type Init Access
-------- ---- ---- ------
XmNactivateCallback CallbackList NULL CSG
XmNalignment unsigned char XmALIGNMENT_BEGINNING CSG
XmNarrowSpacing Dimension 0 CSG
XmNarrowSize Dimension dynamic G
XmNarrowType unsigned char XmWINDOWS CSG
XmNcolumns Integer 20 CSG
XmNfocusCallback CallbackList NULL CSG
XmNitemCount Unsigned Integer 0 CSG
XmNitems XmStringTable NULL CSG
XmNlabelString XmString NULL CSG
XmNlist Widget NULL G
XmNlistFontList FontList NULL CSG
XmNlistMarginHeight Dimension 2 CSG
XmNlistMarginWidth Dimension 2 CSG
XmNlistSpacing Dimension 0 CSG
XmNlosingFocusCallback CallbackList NULL CSG
XmNmarginHeight Dimension 2 CSG
XmNmarginWidth Dimension 2 CSG
XmNmaxLength Unsigned Integer MAXINT CSG
XmNmenuPostCallback CallbackList NULL CSG
XmNorientation unsigned char XmRIGHT CSG
XmNpoppedUp Boolean FALSE G
XmNrecomputeSize Boolean TRUE CSG
XmNselectedItem XmString NULL CSG
XmNselectedPosition Unsigned Integer 0 CSG
XmNselectionCallback CallbackList NULL CSG
XmNtextField Widget NULL G
XmNtopItemPosition Unsigned Integer 1 CSG
XmNtype unsigned char XmDROP_DOWN_LIST_BOX CSG
XmNupdateLabel Boolean TRUE CSG
XmNvisibleItemCount Unsigned Integer 10 CSG
XmNactivateCallback:
List of callbacks called when the user does KActivate in
the text-field widget (when ComboBox is
XmDROP_DOWN_COMBO_BOX). See also XmTextFieldWidget.
XmNalignment:
Alignment of the text within the non-editable label.
This only gets used if XmNtype is XmDROP_DOWN_LIST_BOX.
Values are:
XmALIGNMENT_CENTER, XmALIGNMENT_BEGINNING,
XmALIGNMENT_END
See also XmLabelWidget
XmNarrowSpacing:
Amount of space between the arrow and the label or
text-field (in pixels).
XmNarrowSize:
Height/Width of arrow. This is not a settable resource;
it is based on the height of the ComboBox (which is
related to the font used).
XmNarrowType:
Type of down arrow displayed in the ComboBox. The legal
values are: XmWINDOWS, XmMOTIF
Xmcolumns:
This resource is passed on to the text-field widget.
See also XmTextFieldWidget.
XmNfocusCallback:
List of callbacks called when the text-field widget accepts
focus (when ComboBox is editable - XmDROP_DOWN_COMBO_BOX).
See also XmTextFieldWidget.
XmNitemCount:
Total number of items. This value must be the number of
items in XmNitems and must not be negative. It is
automatically updated by the widget whenever an item
is added or deleted.
XmNitems:
A list of xm-strings which will be displayed in the drop
down list box.
XmNlabelString:
This is the string that will be used in the label when the
resource XmNupdateLabel is FALSE. This string will remain
in the label as long as the XmNupdateLayout resource is
FALSE, even if the user picks a new item off the list.
XmNlist:
List widget (which is inside the popup). Gettable only.
XmNlistFontList:
This resource is passed on to the XmListWidget as the
XmNfontList resource.
See also XmListWidget.
XmNlistMarginHeight:
This resource is passed on to the XmListWidget as the
XmNlistMarginHeight resource.
See also XmListWidget.
XmNlistMarginWidth:
This resource is passed on to the XmListWidget as the
XmNlistMarginWidth resource.
See also XmListWidget.
XmNlistSpacing:
This resource is passed on to the XmListWidget as the
XmNlistSpacing resource.
See also XmListWidget.
XmNlosingFocusCallback:
List of callbacks called when the text-field widget loses
focus (when ComboBox is editable - XmDROP_DOWN_COMBO_BOX).
See also XmTextFieldWidget.
XmNmarginHeight:
Vertical distance from the beginning of the widget to the
start of the shadow. Used for making this widget
look like push-buttons, etc.
XmNmarginWidth:
Horizontal distance from the beginning of the widget to
the start of the shadow. Used for making this widget
look like push-buttons, etc.
XmNmaxLength:
Maximum length of the text string that can be entered into
a text-field widget. This resource is passed on to the
text-field (when ComboBox is editable - XmDROP_DOWN_COMBO_BOX).
See also XmTextFieldWidget.
XmNmenuPostCallback:
List of callbacks called right before the list menu
gets put on the screen.
XmNorientation:
Specifies location of down arrow. Legal values are:
XmLEFT, XmRIGHT
XmNpoppedUp:
Returns TRUE if the list menu is mapped; otherwise, FALSE.
XmNrecomputeSize:
If FALSE, the widget will not try to recompute a new
size if setting some other resource would cause it
to grow or shrink.
XmNselectedItem:
Item currently visible in list. Can be used to
change selected item. User must make copy of this
before modifying.
XmNselectedPosition:
Position of item, within scrolling list, currently
visible (in label or text-field). Can be used
to change selected item. Starts at 0.
XmNselectionCallback:
List of callbacks called when the user selects something
off the list (the list's XmNdefaultActionCallback or
XmNbrowseSelectionCallback callbacks).
See also XmListWidget.
XmNtextField:
text-field widget used within the ComboBox when
XmNtype is XmDROP_DOWN_COMBO_BOX.
XmNtopItemPosition:
This resource is passed on to the XmListWidget as the
XmNtopItemPosition resource.
See also XmListWidget.
XmNtype:
Type of combo-box create. Legal values are:
XmDROP_DOWN_LIST_BOX (non-editable, uses label)
XmDROP_DOWN_COMBO_BOX (editable, uses text-field)
XmNupdateLabel:
If TRUE, the contents of the label will change when the
user picks a new item off the list. If FALSE, the
label will not update, and the resource XmNlabelString
will be used as the label.
XmNvisibleItemCount:
This resource is passed on to the XmListWidget as the
XmNvisibleItemCount resource.
See also XmListWidget.
========================================================================
Functions available for ComboBox widget.
Widget
DtCreateComboBox(parent, name, args, num_args)
Widget parent;
char *name;
ArgList args;
int num_args;
{
}
Creates an instance of a ComboBox widget.
void
DtComboBoxAddItem(widget, item, position, unique)
DtComboBoxWidget widget;
XmString item;
int position;
Boolean unique;
Adds the given item to the list at the given position.
position is an integer specifying the position of the new item in the
list. A value of 1 makes the new item the first item in the list; a value
of 2 makes it the second item, and so on. A value of 0 (zero) makes the new
item the last item in the list.
If the unique parameter is TRUE, the item will only be added if it doesn't
already exist. If it is FALSE, the item will always be added.
See also, XmListSelectItem in the Motif reference manual.
void
DtComboBoxDeletePos(widget, position)
DtComboBoxWidget widget;
int position;
Deletes the item at the given position from the list.
position is an integer specifying the position of the item to delete
in the list. A value of 1 indicates that the first item in the list is
to be deleted. A value of 2 indicates the second item, etc. A value of 0
indicates that the last item is to be deleted. See also,
XmListSelectItem in the Motif reference manual.
void
DtComboBoxSetItem(widget, item)
DtComboBoxWidget widget;
XmString item;
Puts the given item into the combo-box label or text-field (this will be the
new value shown). The given item will be positioned at the top of the
list. This may cause problems if the viewing area is larger than the
number of items in the list. The new item will not be selected (use
DtComboBoxSelectItem).
See also, XmListSetItem in the Motif reference manual.
void
DtComboBoxSelectItem(combo, item)
DtComboBoxWidget combo;
XmString item;
Puts the given item into the combo-box label or text-field (this will be the
new value shown). The currently selected item in the list will be deselected
and the given item will be selected. See also, XmListSelectItem in the Motif
reference manual.
------------------------------------------------------------------------

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,153 @@
/*
* ComboBox.h, Interleaf, 16aug93 2:37pm Version 1.1.
*/
/***********************************************************
Copyright 1993 Interleaf, Inc.
Permission to use, copy, modify, and distribute this software
and its documentation for any purpose without fee is granted,
provided that the above copyright notice appear in all copies
and that both copyright notice and this permission notice appear
in supporting documentation, and that the name of Interleaf not
be used in advertising or publicly pertaining to distribution of
the software without specific written prior permission.
Interleaf makes no representation about the suitability of this
software for any purpose. It is provided "AS IS" without any
express or implied warranty.
******************************************************************/
/*
* (C) Copyright 1991,1992, 1993
* Interleaf, Inc.
* Nine Hillside Avenue, Waltham, MA 02154
*
* ComboBox.h:
*
* Public header file for DtComboBoxWidget.
*/
#ifndef _ComboBox_h
#define _ComboBox_h
#ifdef __cplusplus
extern "C" {
#endif
#ifndef AA
#define AA(args) ()
#endif
#include <Xm/Xm.h>
#ifndef XmNarrowSize
#define XmNarrowSize "arrowSize"
#endif
#ifndef XmNarrowSpacing
#define XmNarrowSpacing "arrowSpacing"
#endif
#define XmNarrowType "arrowType"
#ifndef XmNlist
#define XmNlist "list"
#endif
#define XmNlistFontList "listFontList"
#define XmNpoppedUp "poppedUp"
#ifndef XmNselectedPosition
#define XmNselectedPosition "selectedPosition"
#endif
#ifndef XmNselectedItem
#define XmNselectedItem "selectedItem"
#endif
#ifndef XmNtextField
#define XmNtextField "textField"
#endif
#define XmNtype "type"
#define XmNupdateLabel "updateLabel"
#define XmNmoveSelectedItemUp "moveSelectedItemUp"
#define XmNnoCallbackForArrow "noCallbackForArrow"
#ifndef XmCArrowSize
#define XmCArrowSize "ArrowSize"
#endif
#ifndef XmCArrowSpacing
#define XmCArrowSpacing "ArrowSpacing"
#endif
#define XmCArrowType "ArrowType"
#define XmCHorizontalSpacing "HorizontalSpacing"
#ifndef XmCList
#define XmCList "List"
#endif
#define XmCListFontList "ListFontList"
#define XmCPoppedUp "PoppedUp"
#ifndef XmCSelectedPosition
#define XmCSelectedPosition "SelectedPosition"
#endif
#ifndef XmCSelectedItem
#define XmCSelectedItem "SelectedItem"
#endif
#define XmCType "Type"
#ifndef XmCTextField
#define XmCTextField "TextField"
#endif
#define XmCUpdateLabel "UpdateLabel"
#define XmCVerticalSpacing "VerticalSpacing"
#define XmCMoveSelectedItemUp "MoveSelectedItemUp"
#define XmCNoCallbackForArrow "NoCallbackForArrow"
#define XmRArrowType "ArrowType"
#define XmRType "Type"
/* XmNorientation defines */
#define XmLEFT 0
#define XmRIGHT 1
/* ArrowType defines */
#define XmMOTIF 0
#define XmWINDOWS 1
/* XmNtype defines */
#define XmDROP_DOWN_LIST_BOX 0
#define XmDROP_DOWN_COMBO_BOX 1
/* ComboBox callback info */
#ifndef XmNselectionCallback
#define XmNselectionCallback "selectionCallback"
#endif
#define XmNmenuPostCallback "menuPostCallback"
#define XmCR_SELECT 128 /* Large #, so no collisions with XM */
#define XmCR_MENU_POST 129 /* Large #, so no collisions with XM */
typedef struct {
int reason;
XEvent *event;
XmString item_or_text;
int item_position;
} DtComboBoxCallbackStruct;
extern WidgetClass dtComboBoxWidgetClass;
typedef struct _DtComboBoxClassRec *DtComboBoxWidgetClass;
typedef struct _DtComboBoxRec *DtComboBoxWidget;
/*
* External functions which manipulate the ComboBox list of items.
*/
extern Widget DtCreateComboBox (Widget parent, char *name,
Arg *arglist, int num_args);
extern void DtComboBoxAddItem (Widget combo, XmString item,
int pos, Boolean unique);
extern void DtComboBoxDeletePos (Widget combo, int pos);
extern void DtComboBoxDeleteAllItems(Widget combo);
extern void DtComboBoxSetItem (Widget combo, XmString item);
extern void DtComboBoxSelectItem (Widget combo, XmString item);
/* xfe additions */
extern void DtComboBoxAddItemSelected (Widget combo, XmString item, int pos, Boolean unique);
extern void DtComboBoxDeleteAllItems (Widget combo);
#ifdef __cplusplus
};
#endif
#endif /* _ComboBox_h */

View File

@@ -0,0 +1,186 @@
/*
* ComboBoxP.h, Interleaf, 16aug93 2:37pm Version 1.1.
*/
/***********************************************************
Copyright 1993 Interleaf, Inc.
Permission to use, copy, modify, and distribute this software
and its documentation for any purpose without fee is granted,
provided that the above copyright notice appear in all copies
and that both copyright notice and this permission notice appear
in supporting documentation, and that the name of Interleaf not
be used in advertising or publicly pertaining to distribution of
the software without specific written prior permission.
Interleaf makes no representation about the suitability of this
software for any purpose. It is provided "AS IS" without any
express or implied warranty.
******************************************************************/
/*
* (C) Copyright 1991,1992, 1993
* Interleaf, Inc.
* Nine Hillside Avenue, Waltham, MA 02154
*
* ComboBoxP.h:
*
* Private header file for DtComboBoxWidget.
*/
#ifndef _ComboBoxP_h
#define _ComboBoxP_h
#ifndef AA
#define AA(args) ()
#endif
#include <X11/IntrinsicP.h>
#include <X11/ShellP.h>
#include <Xm/DrawnB.h>
#include <Xm/ArrowB.h>
#include <Xm/TextFP.h>
#include <Xm/Label.h>
#include <Xm/Frame.h>
#include <Xm/ListP.h>
#include <Xm/Separator.h>
#include <Xm/ScrolledWP.h>
#include <Xm/ScrollBarP.h>
#include <Xm/ManagerP.h>
#include "ComboBox.h"
/*
* External definitions of syn_resources for our list widget.
*/
#define SYN_RESOURCE_AA AA((Widget w, int resource_offset, XtArgVal *value))
extern void _DtComboBoxGetArrowSize SYN_RESOURCE_AA;
extern void _DtComboBoxGetLabelString SYN_RESOURCE_AA;
extern void _DtComboBoxGetListItemCount SYN_RESOURCE_AA;
extern void _DtComboBoxGetListItems SYN_RESOURCE_AA;
extern void _DtComboBoxGetListFontList SYN_RESOURCE_AA;
extern void _DtComboBoxGetListMarginHeight SYN_RESOURCE_AA;
extern void _DtComboBoxGetListMarginWidth SYN_RESOURCE_AA;
extern void _DtComboBoxGetListSpacing SYN_RESOURCE_AA;
extern void _DtComboBoxGetListTopItemPosition SYN_RESOURCE_AA;
extern void _DtComboBoxGetListVisibleItemCount SYN_RESOURCE_AA;
#define ARROW_MULT .45
#define ARROW_MIN 13
#define MARGIN 2
#define LABEL_PADDING 2
#define LABEL_SHADOW 2
#define TEXT_FIELD_SHADOW 1
/*
* Class Records
*/
typedef struct {
Boolean junk; /* Need something */
} DtComboBoxClassPart;
typedef struct _DtComboBoxClassRec {
CoreClassPart core_class;
CompositeClassPart composite_class;
ConstraintClassPart constraint_class;
XmManagerClassPart manager_class;
DtComboBoxClassPart combo_box_class;
} DtComboBoxClassRec;
extern DtComboBoxClassRec dtComboBoxClassRec;
/*
* Instance Record.
*/
typedef struct _DtComboBoxPart {
/* Private data */
Widget arrow;
Widget shell;
Widget frame;
Widget label;
Widget sep;
Dimension old_width;
Dimension old_height;
Dimension label_max_length;
Dimension label_max_height;
/*
* max_shell_width is the width that is needed to hold the
* list if the longest item was visible. We then use this
* width to figure out if the shell is not wide enough,
* when it gets popped on the screen. This is needed in case the
* combo-box resizes, or if items changes (list will resize).
* Sometimes we change the size of the shell to fit on the screen, or
* to make it at least as large as the combo_box. The next time we pop
* the shell up the size may be different; therefore, we set the shell
* size to the maximum everytime it gets popped up, then we will
* make adjustments, only if needed.
* This value gets saved every time the user updates XmNitems.
*/
Dimension max_shell_width;
Dimension max_shell_height;
/* ComboBox specific resources */
XtCallbackList activate_callback;
unsigned char alignment;
Dimension arrow_size;
Dimension arrow_spacing;
unsigned char arrow_type;
short text_columns;
XtCallbackList focus_callback;
Dimension horizontal_spacing;
int item_count;
XmStringTable items;
XmString label_string;
Widget list;
XmFontList list_font_list;
Dimension list_margin_height;
Dimension list_margin_width;
Dimension list_spacing;
XtCallbackList losing_focus_callback;
Dimension margin_height;
Dimension margin_width;
unsigned int text_max_length;
XtCallbackList menu_post_callback;
unsigned char orientation;
Boolean popped_up;
Boolean recompute_size;
XmString selected_item;
int selected_position;
XtCallbackList selection_callback;
Widget text;
int top_item_position;
unsigned char type;
Boolean update_label;
Dimension vertical_spacing;
int visible_item_count;
Boolean move_selecteditem_up;
Boolean no_callback_for_arrow;
} DtComboBoxPart;
typedef struct _DtComboBoxRec {
CorePart core;
CompositePart composite;
ConstraintPart constraint;
XmManagerPart manager;
DtComboBoxPart combo_box;
} DtComboBoxRec;
/*
* Error defines.
*/
#define COMBO_ALIGNMENT "DtComboButtonWidget: Invalid alignment resource (defaulting to XmALIGNMENT_CENTER)."
#define COMBO_MARGIN_HEIGHT "DtComboButtonWidget: Invalid marginHeight resource (defaulting to 2)."
#define COMBO_MARGIN_WIDTH "DtComboButtonWidget: Invalid marginHeight resource (defaulting to 2)."
#define COMBO_HORIZONTAL_SPACING "DtComboButtonWidget: Invalid horizontalSpacing resource (defaulting to 0)."
#define COMBO_VERTICAL_SPACING "DtComboButtonWidget: Invalid verticalSpacing resource (defaulting to 0)."
#define COMBO_ORIENTATION "DtComboButtonWidget: Invalid orientation resource (defaulting to XmRIGHT)."
#define COMBO_ITEM_COUNT "DtComboButtonWidget: Invalid itemCount resource (defaulting to 0)."
#define COMBO_VISIBLE_ITEM "DtComboButtonWidget: Invalid selectedPosition resource (defaulting to 0)."
#define COMBO_TEXT "DtComboButtonWidget: Unable to set textField resource."
#define COMBO_ITEM_COUNT "DtComboButtonWidget: Invalid itemCount resource (defaulting to 0)."
#define COMBO_SET_ITEM "DtComboBoxWidget: Unable to find item to set (DtComboBoxSetItem)."
#define COMBO_SELECT_ITEM "DtComboBoxWidget: Unable to find item to select (XmComboBoxSelectItem)."
#endif /* _XmComboBoxP_h */

View File

@@ -1,3 +1,4 @@
#! gmake
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
@@ -13,10 +14,12 @@
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
#
# Config stuff for IRIX6.3
#
DEPTH = ../../..
include config/IRIX.mk
MODULE = DtWidgets
LIBRARY_NAME = DtWidgets
CSRCS = ComboBox.c
include $(DEPTH)/config/rules.mk

View File

@@ -0,0 +1,30 @@
#! gmake
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
DEPTH = ../../..
topsrcdir = @top_srcdir@
VPATH = @srcdir@
srcdir = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = DtWidgets
LIBRARY_NAME = DtWidgets
CSRCS = ComboBox.c
include $(topsrcdir)/config/rules.mk

1339
mozilla/cmd/xfe/Makefile Normal file

File diff suppressed because it is too large Load Diff

1358
mozilla/cmd/xfe/Makefile.in Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -1,3 +1,4 @@
#!gmake
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
@@ -13,25 +14,18 @@
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
#
# Config stuff for AIX
# The following source code is part of the Microline Widget Library.
# The Microline widget library is made available to Mozilla developers
# under the Netscape Public License (NPL) by Neuron Data. To learn
# more about Neuron Data, please visit the Neuron Data Home Page at
# http://www.neurondata.com.
#
CC = xlC_r
CCC = xlC_r
RANLIB = ranlib
#.c.o:
# $(CC) -c -MD $*.d $(CFLAGS) $<
ARCH := aix
CPU_ARCH = rs6000
GFX_ARCH = x
INLINES = js_compare_and_swap:js_fast_lock1:js_fast_unlock1:js_lock_get_slot:js_lock_set_slot:js_lock_scope1
OS_CFLAGS = -qarch=com -qinline+$(INLINES) -DXP_UNIX -DAIX -DAIXV3 -DSYSV
OS_LIBS = -lbsd -lsvld -lm
#-lpthreads -lc_r
DEPTH = ../../..
DIRS = XmL
include $(DEPTH)/config/rules.mk

View File

@@ -0,0 +1,36 @@
#!gmake
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
# The following source code is part of the Microline Widget Library.
# The Microline widget library is made available to Mozilla developers
# under the Netscape Public License (NPL) by Neuron Data. To learn
# more about Neuron Data, please visit the Neuron Data Home Page at
# http://www.neurondata.com.
#
DEPTH = ../../..
topsrcdir = @top_srcdir@
VPATH = @srcdir@
srcdir = @srcdir@
include $(DEPTH)/config/autoconf.mk
DIRS = XmL
include $(topsrcdir)/config/rules.mk

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,57 @@
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/*
* The following source code is part of the Microline Widget Library.
* The Microline widget library is made available to Mozilla developers
* under the Netscape Public License (NPL) by Neuron Data. To learn
* more about Neuron Data, please visit the Neuron Data Home Page at
* http://www.neurondata.com.
*/
#ifndef XmLFolderH
#define XmLFolderH
#include <XmL/XmL.h>
#ifdef XmL_CPP
extern "C" {
#endif
extern WidgetClass xmlFolderWidgetClass;
typedef struct _XmLFolderClassRec *XmLFolderWidgetClass;
typedef struct _XmLFolderRec *XmLFolderWidget;
#define XmLIsFolder(w) XtIsSubclass((w), xmlFolderWidgetClass)
Widget XmLCreateFolder(Widget parent, char *name, ArgList arglist,
Cardinal argcount);
Widget XmLFolderAddBitmapTab(Widget w, XmString string,
char *bitmapBits, int bitmapWidth, int bitmapHeight);
Widget XmLFolderAddBitmapTabForm(Widget w, XmString string,
char *bitmapBits, int bitmapWidth, int bitmapHeight);
Widget XmLFolderAddTab(Widget w, XmString string);
Widget XmLFolderAddTabFromClass(Widget w, XmString string);
Widget XmLFolderAddTabForm(Widget w, XmString string);
void XmLFolderSetActiveTab(Widget w, int position, Boolean notify);
#ifdef XmL_CPP
}
#endif
#endif

View File

@@ -0,0 +1,113 @@
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/*
* The following source code is part of the Microline Widget Library.
* The Microline widget library is made available to Mozilla developers
* under the Netscape Public License (NPL) by Neuron Data. To learn
* more about Neuron Data, please visit the Neuron Data Home Page at
* http://www.neurondata.com.
*/
#ifndef XmLFolderPH
#define XmLFolderPH
#include <Xm/XmP.h>
#ifdef MOTIF11
#else
#include <Xm/ManagerP.h>
#endif
#include "Folder.h"
typedef struct _XmLFolderPart
{
int debugLevel;
Boolean serverDrawsArcsLarge;
unsigned char cornerStyle, tabPlacement, resizePolicy;
Boolean allowRotate, autoSelect;
GC gc;
Pixel inactiveBg, inactiveFg, blankBg;
Pixmap blankPix;
WidgetList tabs;
int tabCount, tabAllocCount;
Dimension marginWidth, marginHeight, spacing;
Dimension cornerDimension, highlightThickness;
Dimension pixmapMargin;
Dimension tabHeight, tabWidth, tabBarHeight;
int tabsPerRow, activeRow;
XtTranslations primTrans;
Widget focusW, activeW;
int activeTab;
char allowLayout;
XtCallbackList activateCallback;
XmFontList fontList;
WidgetClass tabWidgetClass;
} XmLFolderPart;
typedef struct _XmLFolderRec
{
CorePart core;
CompositePart composite;
ConstraintPart constraint;
XmManagerPart manager;
XmLFolderPart folder;
} XmLFolderRec;
typedef struct _XmLFolderClassPart
{
int unused;
} XmLFolderClassPart;
typedef struct _XmLFolderClassRec
{
CoreClassPart core_class;
CompositeClassPart composite_class;
ConstraintClassPart constraint_class;
XmManagerClassPart manager_class;
XmLFolderClassPart folder_class;
} XmLFolderClassRec;
extern XmLFolderClassRec xmlFolderClassRec;
typedef struct _XmLFolderConstraintPart
{
Position x, y;
Dimension width, height;
Dimension maxPixWidth, maxPixHeight;
Dimension pixWidth, pixHeight;
Dimension inactPixWidth, inactPixHeight;
int row;
Boolean firstInRow;
Boolean freePix;
Pixmap pix, inactPix;
char *managedName;
Widget managedW;
} XmLFolderConstraintPart;
typedef struct _XmLFolderConstraintRec
{
XmManagerConstraintPart manager;
XmLFolderConstraintPart folder;
} XmLFolderConstraintRec, *XmLFolderConstraintPtr;
#endif

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,147 @@
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/*
* The following source code is part of the Microline Widget Library.
* The Microline widget library is made available to Mozilla developers
* under the Netscape Public License (NPL) by Neuron Data. To learn
* more about Neuron Data, please visit the Neuron Data Home Page at
* http://www.neurondata.com.
*/
#ifndef XmLGridH
#define XmLGridH
#include <XmL/XmL.h>
#include <stdio.h>
#ifdef XmL_CPP
extern "C" {
#endif
extern WidgetClass xmlGridWidgetClass;
typedef struct _XmLGridClassRec *XmLGridWidgetClass;
typedef struct _XmLGridRec *XmLGridWidget;
typedef struct _XmLGridRowRec *XmLGridRow;
typedef struct _XmLGridColumnRec *XmLGridColumn;
typedef struct _XmLGridCellRec *XmLGridCell;
#define XmLIsGrid(w) XtIsSubclass((w), xmlGridWidgetClass)
Widget XmLCreateGrid(Widget parent, char *name, ArgList arglist,
Cardinal argcount);
void XmLGridAddColumns(Widget w, unsigned char type, int position, int count);
void XmLGridAddRows(Widget w, unsigned char type, int position, int count);
Boolean XmLGridColumnIsVisible(Widget w, int column);
Boolean XmLGridCopyPos(Widget w, Time time, unsigned char rowType, int row,
unsigned char columnType, int column, int nrow, int ncolumn);
Boolean XmLGridCopySelected(Widget w, Time time);
void XmLGridDeleteAllColumns(Widget w, unsigned char type);
void XmLGridDeleteAllRows(Widget w, unsigned char type);
void XmLGridDeleteColumns(Widget w, unsigned char type, int position,
int count);
void XmLGridDeleteRows(Widget w, unsigned char type, int position, int count);
void XmLGridDeselectAllCells(Widget w, Boolean notify);
void XmLGridDeselectAllColumns(Widget w, Boolean notify);
void XmLGridDeselectAllRows(Widget w, Boolean notify);
void XmLGridDeselectCell(Widget w, int row, int column, Boolean notify);
void XmLGridDeselectColumn(Widget w, int column, Boolean notify);
void XmLGridDeselectRow(Widget w, int row, Boolean notify);
int XmLGridEditBegin(Widget w, Boolean insert, int row, int column);
void XmLGridEditCancel(Widget w);
void XmLGridEditComplete(Widget w);
XmLGridColumn XmLGridGetColumn(Widget w, unsigned char columnType, int column);
void XmLGridGetFocus(Widget w, int *row, int *column, Boolean *focusIn);
XmLGridRow XmLGridGetRow(Widget w, unsigned char rowType, int row);
int XmLGridGetSelectedCellCount(Widget w);
int XmLGridGetSelectedCells(Widget w, int *rowPositions,
int *columnPositions, int count);
int XmLGridGetSelectedColumnCount(Widget w);
int XmLGridGetSelectedColumns(Widget w, int *positions, int count);
int XmLGridGetSelectedRow(Widget w);
int XmLGridGetSelectedRowCount(Widget w);
int XmLGridGetSelectedRows(Widget w, int *positions, int count);
void XmLGridMoveColumns(Widget w, int newPosition, int position, int count);
void XmLGridMoveRows(Widget w, int newPosition, int position, int count);
Boolean XmLGridPaste(Widget w);
Boolean XmLGridPastePos(Widget w, unsigned char rowType, int row,
unsigned char columnType, int column);
int XmLGridRead(Widget w, FILE *file, int format, char delimiter);
int XmLGridReadPos(Widget w, FILE *file, int format, char delimiter,
unsigned char rowType, int row, unsigned char columnType, int column);
void XmLGridRedrawAll(Widget w);
void XmLGridRedrawCell(Widget w, unsigned char rowType, int row,
unsigned char columnType, int column);
void XmLGridRedrawColumn(Widget w, unsigned char type, int column);
void XmLGridRedrawRow(Widget w, unsigned char type, int row);
void XmLGridReorderColumns(Widget w, int *newPositions,
int position, int count);
void XmLGridReorderRows(Widget w, int *newPositions,
int position, int count);
int XmLGridRowColumnToXY(Widget w, unsigned char rowType, int row,
unsigned char columnType, int column, Boolean clipped, XRectangle *rect);
Boolean XmLGridRowIsVisible(Widget w, int row);
void XmLGridSelectAllCells(Widget w, Boolean notify);
void XmLGridSelectAllColumns(Widget w, Boolean notify);
void XmLGridSelectAllRows(Widget w, Boolean notify);
void XmLGridSelectCell(Widget w, int row, int column, Boolean notify);
void XmLGridSelectColumn(Widget w, int column, Boolean notify);
void XmLGridSelectRow(Widget w, int row, Boolean notify);
int XmLGridSetFocus(Widget w, int row, int column);
int XmLGridSetStrings(Widget w, char *data);
int XmLGridSetStringsPos(Widget w, unsigned char rowType, int row,
unsigned char columnType, int column, char *data);
int XmLGridWrite(Widget w, FILE *file, int format, char delimiter,
Boolean skipHidden);
int XmLGridWritePos(Widget w, FILE *file, int format, char delimiter,
Boolean skipHidden, unsigned char rowType, int row,
unsigned char columnType, int column, int nrow, int ncolumn);
int XmLGridXYToRowColumn(Widget w, int x, int y, unsigned char *rowType,
int *row, unsigned char *columnType, int *column);
int XmLGridPosIsResize(Widget g, int x, int y);
void XmLGridSetVisibleColumnCount(Widget w, int num_visible);
void XmLGridHideRightColumn(Widget w);
void XmLGridUnhideRightColumn(Widget w);
int XmLGridGetRowCount(Widget w);
int XmLGridGetColumnCount(Widget w);
/* extern */ void
XmLGridXYToCellTracking(Widget widget,
int x, /* input only args. */
int y, /* input only args. */
Boolean * m_inGrid, /* input/output args. */
int * m_lastRow, /* input/output args. */
int * m_lastCol, /* input/output args. */
unsigned char * m_lastRowtype,/* input/output args. */
unsigned char * m_lastColtype,/* input/output args. */
int * outRow, /* output only args. */
int * outCol, /* output only args. */
Boolean * enter, /* output only args. */
Boolean * leave); /* output only args. */
void XmLGridGetSort(Widget w, int *column, unsigned char *sortType);
void XmLGridSetSort(Widget w, int column, unsigned char sortType);
#ifdef XmL_CPP
}
#endif
#endif

View File

@@ -0,0 +1,475 @@
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/*
* The following source code is part of the Microline Widget Library.
* The Microline widget library is made available to Mozilla developers
* under the Netscape Public License (NPL) by Neuron Data. To learn
* more about Neuron Data, please visit the Neuron Data Home Page at
* http://www.neurondata.com.
*/
#ifndef XmLGridPH
#define XmLGridPH
#include <Xm/XmP.h>
#include <stdlib.h>
#ifndef MOTIF11
#include <Xm/ManagerP.h>
#include <Xm/DrawP.h>
#include <Xm/DragC.h>
#include <Xm/DropTrans.h>
#endif
#include "Grid.h"
#ifdef XmL_ANSIC
void _XmLGridLayout(XmLGridWidget g);
void _XmLGridCellDrawBackground(XmLGridCell cell, Widget w,
XRectangle *clipRect, XmLGridDrawStruct *ds);
void _XmLGridCellDrawBorders(XmLGridCell cell, Widget w,
XRectangle *clipRect, XmLGridDrawStruct *ds);
void _XmLGridCellDrawValue(XmLGridCell cell, Widget w,
XRectangle *clipRect, XmLGridDrawStruct *ds);
typedef int (*XmLGridPreLayoutProc)(XmLGridWidget g, int isVert);
typedef XmLGridRow (*XmLGridRowNewProc)(Widget grid);
typedef void (*XmLGridRowFreeProc)(XmLGridRow);
typedef void (*XmLGridGetRowValueMaskProc)(XmLGridWidget g,
char *s, long *mask);
typedef void (*XmLGridGetRowValueProc)(XmLGridWidget g, XmLGridRow row,
XtArgVal value, long mask);
typedef int (*XmLGridSetRowValuesProc)(XmLGridWidget g,
XmLGridRow row, long mask);
typedef XmLGridColumn (*XmLGridColumnNewProc)(Widget grid);
typedef void (*XmLGridColumnFreeProc)(XmLGridColumn);
typedef void (*XmLGridGetColumnValueMaskProc)(XmLGridWidget g,
char *s, long *mask);
typedef void (*XmLGridGetColumnValueProc)(XmLGridWidget g, XmLGridColumn col,
XtArgVal value, long mask);
typedef int (*XmLGridSetColumnValuesProc)(XmLGridWidget g,
XmLGridColumn col, long mask);
typedef int (*XmLGridSetCellValuesResizeProc)(XmLGridWidget g,
XmLGridRow row, XmLGridColumn col, XmLGridCell cell, long mask);
typedef int (*XmLGridCellActionProc)(XmLGridCell, Widget,
XmLGridCallbackStruct *);
#else
void _XmLGridLayout();
void _XmLGridCellDrawBackground();
void _XmLGridCellDrawBorders();
void _XmLGridCellDrawValue();
typedef int (*XmLGridPreLayoutProc)();
typedef XmLGridRow (*XmLGridRowNewProc)();
typedef void (*XmLGridRowFreeProc)() ;
typedef void (*XmLGridGetRowValueMaskProc)();
typedef void (*XmLGridGetRowValueProc)();
typedef int (*XmLGridSetRowValuesProc)();
typedef XmLGridColumn (*XmLGridColumnNewProc)() ;
typedef void (*XmLGridColumnFreeProc)() ;
typedef void (*XmLGridGetColumnValueMaskProc)();
typedef void (*XmLGridGetColumnValueProc)();
typedef int (*XmLGridSetColumnValuesProc)();
typedef int (*XmLGridSetCellValuesResizeProc)();
typedef int (*XmLGridCellActionProc)();
#endif
#define XmLGridClassPartOfWidget(w) \
((XmLGridWidgetClass)XtClass(w))->grid_class
#define XmInheritGridPreLayout ((XmLGridPreLayoutProc)_XtInherit)
#define XmInheritGridRowNew ((XmLGridRowNewProc)_XtInherit)
#define XmInheritGridRowFree ((XmLGridRowFreeProc)_XtInherit)
#define XmInheritGridGetRowValueMask ((XmLGridGetRowValueMaskProc)_XtInherit)
#define XmInheritGridGetRowValue ((XmLGridGetRowValueProc)_XtInherit)
#define XmInheritGridSetRowValues ((XmLGridSetRowValuesProc)_XtInherit)
#define XmInheritGridColumnNew ((XmLGridColumnNewProc)_XtInherit)
#define XmInheritGridColumnFree ((XmLGridColumnFreeProc)_XtInherit)
#define XmInheritGridGetColumnValueMask \
((XmLGridGetColumnValueMaskProc)_XtInherit)
#define XmInheritGridGetColumnValue ((XmLGridGetColumnValueProc)_XtInherit)
#define XmInheritGridSetColumnValues ((XmLGridSetColumnValuesProc)_XtInherit)
#define XmInheritGridSetCellValuesResize \
((XmLGridSetCellValuesResizeProc)_XtInherit)
#define XmInheritGridCellAction ((XmLGridCellActionProc)_XtInherit)
/* row value mask for get/set values */
#define XmLGridRowHeight (1L<<0)
#define XmLGridRowSizePolicy (1L<<1)
#define XmLGridRowUserData (1L<<2)
#define XmLGridRowValueMaskLen 3
/* column value mask for get/set values */
#define XmLGridColumnWidth (1L<<0)
#define XmLGridColumnSizePolicy (1L<<1)
#define XmLGridColumnUserData (1L<<2)
#define XmLGridColumnResizable (1L<<3)
#define XmLGridColumnHidden (1L<<4)
#define XmLGridColumnSortType (1L<<5)
#define XmLGridColumnValueMaskLen 6
/* flags for XmLGridCell flags member */
#define XmLGridCellSelectedFlag (1 << 0)
#define XmLGridCellValueSetFlag (1 << 1)
#define XmLGridCellInRowSpanFlag (1 << 2)
#define XmLGridCellInColumnSpanFlag (1 << 3)
#define XmLGridCellDrawSortFlag (1 << 4)
#define XmLGridCellSortAscendingFlag (1 << 5)
/* cell value mask for get/set values */
#define XmLGridCellAlignment (1L<<0)
#define XmLGridCellBackground (1L<<1)
#define XmLGridCellBottomBorderColor (1L<<2)
#define XmLGridCellBottomBorderType (1L<<3)
#define XmLGridCellColumnSpan (1L<<4)
#define XmLGridCellEditable (1L<<5)
#define XmLGridCellFontList (1L<<6)
#define XmLGridCellForeground (1L<<7)
#define XmLGridCellLeftBorderColor (1L<<8)
#define XmLGridCellLeftBorderType (1L<<9)
#define XmLGridCellMarginBottom (1L<<10)
#define XmLGridCellMarginLeft (1L<<11)
#define XmLGridCellMarginRight (1L<<12)
#define XmLGridCellMarginTop (1L<<13)
#define XmLGridCellPixmapF (1L<<14)
#define XmLGridCellPixmapMask (1L<<15)
#define XmLGridCellRightBorderColor (1L<<16)
#define XmLGridCellRightBorderType (1L<<17)
#define XmLGridCellRowSpan (1L<<18)
#define XmLGridCellString (1L<<19)
#define XmLGridCellToggleSet (1L<<20)
#define XmLGridCellTopBorderColor (1L<<21)
#define XmLGridCellTopBorderType (1L<<22)
#define XmLGridCellType (1L<<23)
#define XmLGridCellUserData (1L<<24)
/* This is now a resource */
/* #define XmLICON_SPACING 4 */
enum { DrawAll, DrawHScroll, DrawVScroll, DrawRow, DrawCol, DrawCell };
enum { SelectRow, SelectCol, SelectCell };
enum { CursorNormal, CursorHResize, CursorVResize };
enum { InNormal, InSelect, InResize, InMove };
enum { DragLeft = 1, DragRight = 2, DragUp = 4, DragDown = 8 };
typedef struct
{
int x, y, width, height;
int row, col, nrow, ncol;
} GridReg;
typedef struct
{
int row, col;
} GridDropLoc;
typedef struct
{
unsigned char alignment;
Pixel background;
Pixel bottomBorderColor;
char bottomBorderType;
Dimension bottomMargin;
int columnSpan;
Boolean editable;
short fontHeight;
XmFontList fontList;
short fontWidth;
Pixel foreground;
Pixel leftBorderColor;
char leftBorderType;
Dimension leftMargin;
int refCount;
Pixel rightBorderColor;
char rightBorderType;
Dimension rightMargin;
int rowSpan;
Pixel topBorderColor;
char topBorderType;
Dimension topMargin;
unsigned char type;
void *userData;
} XmLGridCellRefValues;
typedef struct
{
Pixmap pixmap, pixmask;
Dimension width, height;
} XmLGridCellPixmap;
typedef struct
{
XmString string;
XmLGridCellPixmap pix;
} XmLGridCellIcon;
typedef struct _XmLGridCellPart
{
XmLGridCellRefValues *refValues;
unsigned char flags;
void *value;
} XmLGridCellPart;
struct _XmLGridCellRec
{
XmLGridCellPart cell;
};
typedef struct _XmLGridRowPart
{
int pos; /* required first for Array autonumber */
Dimension height;
unsigned char sizePolicy;
Boolean selected;
XtPointer userData;
Dimension heightInPixels;
unsigned int heightInPixelsValid:1;
Widget grid;
int visPos;
XmLArray cellArray;
} XmLGridRowPart;
struct _XmLGridRowRec
{
XmLGridRowPart grid;
};
typedef struct _XmLGridColumnPart
{
int pos; /* required first for Array autonumber */
Dimension width;
unsigned char sizePolicy;
Boolean selected;
XtPointer userData;
XmLGridCellRefValues *defCellValues;
Widget grid;
Dimension widthInPixels;
unsigned int widthInPixelsValid:1;
Boolean resizable;
int visPos;
/* xfe additions */
Boolean hidden;
unsigned char sort;
} XmLGridColumnPart;
struct _XmLGridColumnRec
{
XmLGridColumnPart grid;
};
typedef struct _XmLGridPart
{
/* resource values */
int leftFixedCount, rightFixedCount;
int headingRowCount, footerRowCount;
int topFixedCount, bottomFixedCount;
int headingColCount, footerColCount;
Dimension leftFixedMargin, rightFixedMargin;
Dimension topFixedMargin, bottomFixedMargin;
Dimension scrollBarMargin;
Dimension highlightThickness;
Dimension toggleSize;
Dimension globalPixmapWidth, globalPixmapHeight;
unsigned char selectionPolicy;
Boolean layoutFrozen, immediateDraw;
int debugLevel;
unsigned char vsPolicy, hsPolicy;
unsigned char hsbDisplayPolicy, vsbDisplayPolicy;
int rowCount, colCount;
int hiddenRowCount, hiddenColCount;
int shadowRegions;
unsigned char shadowType;
Widget hsb, vsb, text;
XmFontList fontList;
Pixel blankBg, selectBg, selectFg;
Pixel defaultCellBg, defaultCellFg;
Pixel toggleTopColor, toggleBotColor;
int visibleCols, visibleRows;
char *simpleHeadings, *simpleWidths;
XtTranslations editTrans, traverseTrans;
Boolean allowRowHide, allowColHide;
Boolean allowRowResize, allowColResize;
Boolean allowDrag, allowDrop;
Boolean autoSelect;
Boolean highlightRowMode;
Boolean useAvgWidth;
int scrollRow, scrollCol, cScrollRow, cScrollCol;
XtCallbackList addCallback, deleteCallback;
XtCallbackList cellDrawCallback, cellFocusCallback;
XtCallbackList cellDropCallback, cellPasteCallback;
XtCallbackList activateCallback, editCallback;
XtCallbackList selectCallback, deselectCallback;
XtCallbackList resizeCallback, scrollCallback;
XtCallbackList enterCellCallback;
XtCallbackList leaveCellCallback;
XtCallbackList enterGridCallback;
XtCallbackList leaveGridCallback;
/* XFE Additions */
XtCallbackList popupCallback;
Boolean hideUnhideButtons;
Boolean singleClickActivation;
Widget hideButton;
Widget unhideButton;
XtTranslations hideButtonTrans;
XtTranslations unhideButtonTrans;
Boolean inResize;
Boolean useTextWidget;
Dimension iconSpacing;
Dimension minColWidth;
int lastCursorMotionRow;
int lastCursorMotionCol;
unsigned char colSortType;
/* private data */
GC gc;
Cursor hResizeCursor, vResizeCursor;
XFontStruct *fallbackFont;
char ignoreModifyVerify;
char focusIn, inEdit, inMode;
char singleColScrollMode;
int singleColScrollPos;
char cursorDefined, textHidden, resizeIsVert;
char mayHaveRowSpans;
int layoutStack;
char needsHorizLayout, needsVertLayout;
char recalcHorizVisPos, recalcVertVisPos;
char vertVisChangedHint;
char dragTimerSet;
XtIntervalId dragTimerId;
int resizeRow, resizeCol, resizeLineXY;
int extendRow, extendCol, extendToRow, extendToCol;
Boolean extendSelect;
int lastSelectRow, lastSelectCol;
Time lastSelectTime;
int focusRow, focusCol;
XmLArray rowArray;
XmLArray colArray;
GridReg reg[9];
GridDropLoc dropLoc;
/* resources use by SetSubValues and GetSubValues */
Boolean cellDefaults;
int cellRow, cellCol;
int cellColRangeStart, cellColRangeEnd;
int cellRowRangeStart, cellRowRangeEnd;
int rowStep, colStep;
unsigned char rowType, colType;
Boolean colHidden;
/* cell resources */
XmString cellString;
Boolean cellToggleSet;
Pixmap cellPixmap, cellPixmapMask;
Dimension cellPixmapWidth, cellPixmapHeight;
XmLGridCellRefValues cellValues, *defCellValues;
/* row resources */
Dimension rowHeight;
unsigned char rowSizePolicy;
Boolean rowSelected;
XtPointer rowUserData;
/* column resources */
Dimension colWidth;
unsigned char colSizePolicy;
Boolean colSelected;
XtPointer colUserData;
Boolean colResizable;
/* xfe additions */
/* Edit timer is used for inplace editing */
char editTimerSet;
XtIntervalId editTimerId;
} XmLGridPart;
typedef struct _XmLGridRec
{
CorePart core;
CompositePart composite;
ConstraintPart constraint;
XmManagerPart manager;
XmLGridPart grid;
} XmLGridRec;
typedef struct _XmLGridClassPart
{
int initialRows;
int initialCols;
XmLGridPreLayoutProc preLayoutProc;
int rowRecSize;
XmLGridRowNewProc rowNewProc;
XmLGridRowFreeProc rowFreeProc;
XmLGridGetRowValueMaskProc getRowValueMaskProc;
XmLGridGetRowValueProc getRowValueProc;
XmLGridSetRowValuesProc setRowValuesProc;
int columnRecSize;
XmLGridColumnNewProc columnNewProc;
XmLGridColumnFreeProc columnFreeProc;
XmLGridGetColumnValueMaskProc getColumnValueMaskProc;
XmLGridGetColumnValueProc getColumnValueProc;
XmLGridSetColumnValuesProc setColumnValuesProc;
XmLGridSetCellValuesResizeProc setCellValuesResizeProc;
XmLGridCellActionProc cellActionProc;
} XmLGridClassPart;
typedef struct _XmLGridClassRec
{
CoreClassPart core_class;
CompositeClassPart composite_class;
ConstraintClassPart constraint_class;
XmManagerClassPart manager_class;
XmLGridClassPart grid_class;
} XmLGridClassRec;
extern XmLGridClassRec xmlGridClassRec;
typedef struct _XmLGridConstraintPart
{
int unused;
} XmLGridConstraintPart;
typedef struct _XmLGridConstraintRec
{
XmManagerConstraintPart manager;
XmLGridConstraintPart grid;
} XmLGridConstraintRec, *XmLGridConstraintPtr;
#endif

View File

@@ -0,0 +1,151 @@
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/*----------------------------------------------------------------------*/
/* */
/* Name: <XmL/GridUtil.c> */
/* */
/* Description: XmLGrid misc utilities. They are here in order not to */
/* continue bloating Grid.c beyond hope. */
/* */
/* Author: Ramiro Estrugo <ramiro@netscape.com> */
/* */
/* Created: Thu May 28 21:55:45 PDT 1998 */
/* */
/*----------------------------------------------------------------------*/
#include "GridP.h"
#include <assert.h>
/*----------------------------------------------------------------------*/
/* extern */ int
XmLGridGetRowCount(Widget w)
{
XmLGridWidget g = (XmLGridWidget) w;
assert( g != NULL );
#ifdef DEBUG_ramiro
{
int rows = 0;
XtVaGetValues(w,XmNrows,&rows,NULL);
assert( rows == g->grid.rowCount );
}
#endif
return g->grid.rowCount;
}
/*----------------------------------------------------------------------*/
/* extern */ int
XmLGridGetColumnCount(Widget w)
{
XmLGridWidget g = (XmLGridWidget) w;
assert( g != NULL );
#ifdef DEBUG_ramiro
{
int columns = 0;
XtVaGetValues(w,XmNcolumns,&columns,NULL);
assert( columns == g->grid.colCount );
}
#endif
return g->grid.colCount;
}
/*----------------------------------------------------------------------*/
/* extern */ void
XmLGridXYToCellTracking(Widget widget,
int x, /* input only args. */
int y, /* input only args. */
Boolean * m_inGrid, /* input/output args. */
int * m_lastRow, /* input/output args. */
int * m_lastCol, /* input/output args. */
unsigned char * m_lastRowtype, /* input/output args. */
unsigned char * m_lastColtype,/* input/output args. */
int * outRow, /* output only args. */
int * outCol, /* output only args. */
Boolean * enter, /* output only args. */
Boolean * leave) /* output only args. */
{
int m_totalLines = 0;
int m_numcolumns = 0;
int row = 0;
int column = 0;
unsigned char rowtype = XmCONTENT;
unsigned char coltype = XmCONTENT;
if (0 > XmLGridXYToRowColumn(widget,
x,
y,
&rowtype,
&row,
&coltype,
&column))
{
/* In grid; but, not in any cells
*/
/* treat it as a leave
*/
*enter = FALSE;
*leave = TRUE;
return;
}/* if */
m_totalLines = XmLGridGetRowCount(widget);
m_numcolumns = XmLGridGetColumnCount(widget);
if ((row < m_totalLines) &&
(column < m_numcolumns) &&
((*m_lastRow != row)||
(*m_lastCol != column) ||
(*m_lastRowtype != rowtype)||
(*m_lastColtype != coltype)))
{
*outRow = (rowtype == XmHEADING)?-1:row;
*outCol = column;
if (*m_inGrid == False)
{
*m_inGrid = True;
/* enter a cell
*/
*enter = TRUE;
*leave = FALSE;
}/* if */
else
{
/* Cruising among cells
*/
*enter = TRUE;
*leave = TRUE;
}/* else */
*m_lastRow = row;
*m_lastCol = column;
*m_lastRowtype = rowtype ;
*m_lastColtype = coltype ;
}/* row /col in grid */
}
/*----------------------------------------------------------------------*/

View File

@@ -0,0 +1,82 @@
#! gmake
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
# The following source code is part of the Microline Widget Library.
# The Microline widget library is made available to Mozilla developers
# under the Netscape Public License (NPL) by Neuron Data. To learn
# more about Neuron Data, please visit the Neuron Data Home Page at
# http://www.neurondata.com.
#
##########################################################################
#
# Name: Makefile
# Description: Makefile for Microline Widget library
# Author: Ramiro Estrugo <ramiro@netscape.com>
#
##########################################################################
DEPTH = ../../../..
# XmL headers are exported to dist/public/Microline/XmL
MODULE = Microline/XmL
LIBRARY_NAME = XmL
# There are unused widgets. They are currently not needed to build Mozilla,
# but that might change in the future.
ifdef XFE_WIDGETS_BUILD_UNUSED
XFE_EXTRA_DEFINES += -DXFE_WIDGETS_BUILD_UNUSED
UNUSED_CSRCS = \
Progress.c \
$(NULL)
UNUSED_EXPORTS = \
Progress.h \
ProgressP.h \
$(NULL)
endif
CSRCS = \
$(UNUSED_CSRCS) \
Folder.c \
Grid.c \
GridUtil.c \
Tree.c \
XmL.c \
$(NULL)
REQUIRES = Microline
EXPORTS = \
$(UNUSED_EXPORTS) \
Folder.h \
FolderP.h \
Grid.h \
GridP.h \
Tree.h \
TreeP.h \
XmL.h \
$(NULL)
include $(DEPTH)/config/rules.mk
DEFINES += $(XFE_EXTRA_DEFINES)

View File

@@ -0,0 +1,89 @@
#! gmake
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
# The following source code is part of the Microline Widget Library.
# The Microline widget library is made available to Mozilla developers
# under the Netscape Public License (NPL) by Neuron Data. To learn
# more about Neuron Data, please visit the Neuron Data Home Page at
# http://www.neurondata.com.
#
##########################################################################
#
# Name: Makefile
# Description: Makefile for Microline Widget library
# Author: Ramiro Estrugo <ramiro@netscape.com>
#
##########################################################################
DEPTH = ../../../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
# XmL headers are exported to dist/public/Microline/XmL
MODULE = Microline/XmL
LIBRARY_NAME = XmL
# There are unused widgets. They are currently not needed to build Mozilla,
# but that might change in the future.
ifdef XFE_WIDGETS_BUILD_UNUSED
XFE_EXTRA_DEFINES += -DXFE_WIDGETS_BUILD_UNUSED
UNUSED_CSRCS = \
Progress.c \
$(NULL)
UNUSED_EXPORTS = \
Progress.h \
ProgressP.h \
$(NULL)
endif
CSRCS = \
$(UNUSED_CSRCS) \
Folder.c \
Grid.c \
GridUtil.c \
Tree.c \
XmL.c \
$(NULL)
REQUIRES = Microline
EXPORTS = \
$(UNUSED_EXPORTS) \
Folder.h \
FolderP.h \
Grid.h \
GridP.h \
Tree.h \
TreeP.h \
XmL.h \
$(NULL)
EXPORTS := $(addprefix $(srcdir)/, $(EXPORTS))
include $(topsrcdir)/config/rules.mk
DEFINES += $(XFE_EXTRA_DEFINES)

View File

@@ -0,0 +1,601 @@
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/*
* The following source code is part of the Microline Widget Library.
* The Microline widget library is made available to Mozilla developers
* under the Netscape Public License (NPL) by Neuron Data. To learn
* more about Neuron Data, please visit the Neuron Data Home Page at
* http://www.neurondata.com.
*/
#include "ProgressP.h"
#include <stdio.h>
#include <sys/time.h>
static void ClassInitialize(void);
static void Initialize(Widget , Widget, ArgList, Cardinal *);
static void Resize(Widget);
static void Destroy(Widget);
static void Realize(Widget w, XtValueMask *valueMask,
XSetWindowAttributes *attr);
static void Redisplay(Widget, XEvent *, Region);
static Boolean SetValues(Widget, Widget, Widget, ArgList, Cardinal *);
static void CopyFontList(XmLProgressWidget p);
static void TimeStr(char *, int);
static void DrawBarMeter(XmLProgressWidget p, XRectangle *rect);
static void DrawBoxesMeter(XmLProgressWidget p, XRectangle *rect);
static void DrawString(XmLProgressWidget, XmString, int, int,
int, XRectangle *, XRectangle *);
static Boolean CvtStringToMeterStyle(Display *dpy, XrmValuePtr args,
Cardinal *numArgs, XrmValuePtr fromVal, XrmValuePtr toVal,
XtPointer *data);
static XtResource resources[] =
{
{
XmNcompleteValue, XmCCompleteValue,
XtRInt, sizeof(int),
XtOffset(XmLProgressWidget, progress.completeValue),
XtRImmediate, (caddr_t)100
},
{
XmNnumBoxes, XmCNumBoxes,
XtRInt, sizeof(int),
XtOffset(XmLProgressWidget, progress.numBoxes),
XtRImmediate, (caddr_t)10
},
{
XmNvalue, XmCValue,
XtRInt, sizeof(int),
XtOffset(XmLProgressWidget, progress.value),
XtRImmediate, (caddr_t)0
},
{
XmNfontList, XmCFontList,
XmRFontList, sizeof(XmFontList),
XtOffset(XmLProgressWidget, progress.fontList),
XmRImmediate, (XtPointer)0,
},
{
XmNmeterStyle, XmCMeterStyle,
XmRMeterStyle, sizeof(unsigned char),
XtOffset(XmLProgressWidget, progress.meterStyle),
XmRImmediate, (XtPointer)XmMETER_BAR,
},
{
XmNshowTime, XmCShowTime,
XmRBoolean, sizeof(Boolean),
XtOffset(XmLProgressWidget, progress.showTime),
XmRImmediate, (XtPointer)False
},
{
XmNshowPercentage, XmCShowPercentage,
XmRBoolean, sizeof(Boolean),
XtOffset(XmLProgressWidget, progress.showPercentage),
XmRImmediate, (XtPointer)True
}
};
XmLProgressClassRec xmlProgressClassRec =
{
{ /* Core */
(WidgetClass)&xmPrimitiveClassRec, /* superclass */
"XmLProgress", /* class_name */
sizeof(XmLProgressRec), /* widget_size */
ClassInitialize, /* class_initialize */
NULL, /* class_part_initialize */
FALSE, /* class_inited */
(XtInitProc)Initialize, /* initialize */
NULL, /* initialize_hook */
(XtRealizeProc)Realize, /* realize */
NULL, /* actions */
0, /* num_actions */
resources, /* resources */
XtNumber(resources), /* num_resources */
NULLQUARK, /* xrm_class */
TRUE, /* compress_motion */
FALSE, /* compress_exposure */
TRUE, /* compress_enterleave */
TRUE, /* visible_interest */
(XtWidgetProc)Destroy, /* destroy */
(XtWidgetProc)Resize, /* resize */
(XtExposeProc)Redisplay, /* expose */
(XtSetValuesFunc)SetValues, /* set_values */
NULL, /* set_values_hook */
XtInheritSetValuesAlmost, /* set_values_almost */
NULL, /* get_values_hook */
NULL, /* accept_focus */
XtVersion, /* version */
NULL, /* callback_private */
XtInheritTranslations, /* tm_table */
NULL, /* query_geometry */
NULL, /* display_accelerator */
NULL, /* extension */
},
{ /* Primitive */
(XtWidgetProc)_XtInherit, /* border_highlight */
(XtWidgetProc)_XtInherit, /* border_unhighlight */
XtInheritTranslations, /* translations */
NULL, /* arm_and_activate */
NULL, /* syn_resources */
0, /* num_syn_resources */
NULL, /* extension */
},
{ /* Progress */
0, /* unused */
}
};
WidgetClass xmlProgressWidgetClass = (WidgetClass)&xmlProgressClassRec;
static void
ClassInitialize(void)
{
XmLInitialize();
XtSetTypeConverter(XmRString, XmRMeterStyle, CvtStringToMeterStyle,
0, 0, XtCacheNone, 0);
}
static void
Initialize(Widget reqW,
Widget newW,
ArgList args,
Cardinal *narg)
{
XmLProgressWidget p;
p = (XmLProgressWidget)newW;
if (!p->core.width)
p->core.width = 200;
if (!p->core.height)
p->core.height = 30;
p->progress.gc = 0;
p->progress.startTime = time(0);
CopyFontList(p);
if (p->progress.completeValue < 1)
{
XmLWarning(newW, "Initialize() - complete value can't be < 1");
p->progress.completeValue = 1;
}
if (p->progress.numBoxes < 1)
{
XmLWarning(newW, "Initialize() - number of boxes can't be < 1");
p->progress.numBoxes = 1;
}
if (p->progress.value < 0)
{
XmLWarning(newW, "Initialize() - value can't be < 0");
p->progress.value = 0;
}
if (p->progress.value > p->progress.completeValue)
{
XmLWarning(newW, "Initialize() - value can't be > completeValue");
p->progress.value = p->progress.completeValue;
}
XtVaSetValues(newW, XmNtraversalOn, False, NULL);
}
static void
Resize(Widget w)
{
Display *dpy;
Window win;
if (!XtIsRealized(w))
return;
dpy = XtDisplay(w);
win = XtWindow(w);
XClearArea(dpy, win, 0, 0, 0, 0, True);
}
static void
Destroy(Widget w)
{
Display *dpy;
XmLProgressWidget p;
p = (XmLProgressWidget)w;
dpy = XtDisplay(w);
if (p->progress.gc)
{
XFreeGC(dpy, p->progress.gc);
XFreeFont(dpy, p->progress.fallbackFont);
}
XmFontListFree(p->progress.fontList);
}
static void
Realize(Widget w,
XtValueMask *valueMask,
XSetWindowAttributes *attr)
{
XmLProgressWidget p;
Display *dpy;
WidgetClass superClass;
XtRealizeProc realize;
XGCValues values;
/* XtGCMask mask;*/
p = (XmLProgressWidget)w;
dpy = XtDisplay(p);
superClass = xmlProgressWidgetClass->core_class.superclass;
realize = superClass->core_class.realize;
(*realize)(w, valueMask, attr);
if (!p->progress.gc)
{
p->progress.fallbackFont = XLoadQueryFont(dpy, "fixed");
values.font = p->progress.fallbackFont->fid;
p->progress.gc = XCreateGC(dpy, XtWindow(p), GCFont, &values);
}
}
static void
Redisplay(Widget w,
XEvent *event,
Region region)
{
XmLProgressWidget p;
Display *dpy;
Window win;
XRectangle rect;
int st;
if (!XtIsRealized(w) || !w->core.visible)
return;
p = (XmLProgressWidget)w;
dpy = XtDisplay(w);
win = XtWindow(w);
st = p->primitive.shadow_thickness;
rect.x = st;
rect.y = st;
rect.width = p->core.width - st * 2;
rect.height = p->core.height - st * 2;
if (p->progress.meterStyle == XmMETER_BAR)
DrawBarMeter(p, &rect);
else if (p->progress.meterStyle == XmMETER_BOXES)
DrawBoxesMeter(p, &rect);
#ifdef MOTIF11
_XmDrawShadow(dpy, win,
p->primitive.bottom_shadow_GC,
p->primitive.top_shadow_GC,
p->primitive.shadow_thickness,
0, 0, p->core.width, p->core.height);
#else
_XmDrawShadows(dpy, win,
p->primitive.top_shadow_GC,
p->primitive.bottom_shadow_GC,
0, 0, p->core.width, p->core.height,
p->primitive.shadow_thickness,
XmSHADOW_IN);
#endif
}
static void
DrawBoxesMeter(XmLProgressWidget p,
XRectangle *rect)
{
Display *dpy;
Window win;
int i, j, st, nb, x1, x2;
dpy = XtDisplay(p);
win = XtWindow(p);
st = p->primitive.shadow_thickness;
nb = p->progress.numBoxes;
if (nb * st * 2 > (int)rect->width)
return;
if (p->progress.completeValue)
j = (int)((long)nb * (long)p->progress.value /
(long)p->progress.completeValue);
else
j = 0;
x2 = 0;
for (i = 0; i < nb; i++)
{
if (i < j)
XSetForeground(dpy, p->progress.gc, p->primitive.foreground);
else
XSetForeground(dpy, p->progress.gc, p->core.background_pixel);
x1 = x2;
if (i == nb - 1)
x2 = rect->width;
else
x2 = ((int)rect->width * (i + 1)) / nb;
XFillRectangle(dpy, win, p->progress.gc,
rect->x + x1 + st, rect->y + st,
x2 - x1 - st * 2, rect->height - st * 2);
#ifdef MOTIF11
_XmDrawShadow(dpy, win,
p->primitive.bottom_shadow_GC,
p->primitive.top_shadow_GC,
p->primitive.shadow_thickness,
rect->x + x1, rect->y,
x2 - x1, rect->height);
#else
_XmDrawShadows(dpy, win,
p->primitive.top_shadow_GC,
p->primitive.bottom_shadow_GC,
rect->x + x1, rect->y,
x2 - x1, rect->height,
p->primitive.shadow_thickness,
XmSHADOW_IN);
#endif
}
}
static void
DrawBarMeter(XmLProgressWidget p,
XRectangle *rect)
{
Display *dpy;
Window win;
int timeLeft, timeSoFar;
time_t currentTime;
XmString str;
Dimension strWidth, strHeight;
XRectangle lRect, rRect;
int percent;
char c[10];
long l;
dpy = XtDisplay(p);
win = XtWindow(p);
/* Left Rect */
if (p->progress.completeValue)
l = (long)rect->width * (long)p->progress.value /
(long)p->progress.completeValue;
else
l = 0;
lRect.x = rect->x;
lRect.y = rect->y;
lRect.width = (Dimension)l;
lRect.height = rect->height;
XSetForeground(dpy, p->progress.gc, p->primitive.foreground);
XFillRectangle(dpy, win, p->progress.gc, lRect.x, lRect.y,
lRect.width, lRect.height);
/* Right Rect */
rRect.x = rect->x + (int)l;
rRect.y = rect->y;
rRect.width = rect->width - (Dimension)l;
rRect.height = rect->height;
XSetForeground(dpy, p->progress.gc, p->core.background_pixel);
XFillRectangle(dpy, win, p->progress.gc, rRect.x, rRect.y,
rRect.width, rRect.height);
if (p->progress.completeValue)
percent = (int)(((long)p->progress.value * 100) /
(long)p->progress.completeValue);
else
percent = 0;
/* percent complete */
sprintf(c, "%d%c", percent, '%');
str = XmStringCreateSimple(c);
XmStringExtent(p->progress.fontList, str, &strWidth, &strHeight);
if (p->progress.showPercentage)
DrawString(p, str, rect->x + rect->width / 2 - (int)strWidth / 2,
rect->y + rect->height / 2 - (int)strHeight / 2, strWidth,
&lRect, &rRect);
XmStringFree(str);
/* Left Time */
currentTime = time(0);
timeSoFar = (int)(currentTime - p->progress.startTime);
if (p->progress.showTime && p->progress.value &&
p->progress.value != p->progress.completeValue && timeSoFar)
{
TimeStr(c, timeSoFar);
str = XmStringCreateSimple(c);
XmStringExtent(p->progress.fontList, str,
&strWidth, &strHeight);
DrawString(p, str, rect->x + 5, rect->y + rect->height / 2 -
(int)strHeight / 2, strWidth, &lRect, &rRect);
XmStringFree(str);
}
/* Right Time */
timeLeft = 0;
if (percent)
timeLeft = (timeSoFar * 100 / percent) - timeSoFar;
if (p->progress.showTime && percent && percent != 100 && timeLeft)
{
TimeStr(c, timeLeft);
str = XmStringCreateSimple(c);
XmStringExtent(p->progress.fontList, str,
&strWidth, &strHeight);
DrawString(p, str, rect->x + rect->width - strWidth - 5,
rect->y + rect->height / 2 - (int)strHeight / 2,
strWidth, &lRect, &rRect);
XmStringFree(str);
}
}
static void
DrawString(XmLProgressWidget p,
XmString str,
int x,
int y,
int strWidth,
XRectangle *lRect,
XRectangle *rRect)
{
Display *dpy;
Window win;
dpy = XtDisplay(p);
win = XtWindow(p);
if (lRect->width && lRect->height)
{
XSetForeground(dpy, p->progress.gc, p->core.background_pixel);
XSetClipRectangles(dpy, p->progress.gc, 0, 0, lRect, 1, Unsorted);
XmStringDraw(dpy, win, p->progress.fontList, str,
p->progress.gc, x, y, strWidth, XmALIGNMENT_BEGINNING,
XmSTRING_DIRECTION_L_TO_R, 0);
XSetClipMask(dpy, p->progress.gc, None);
}
if (rRect->width && rRect->height)
{
XSetForeground(dpy, p->progress.gc, p->primitive.foreground);
XSetClipRectangles(dpy, p->progress.gc, 0, 0, rRect, 1, Unsorted);
XmStringDraw(dpy, win, p->progress.fontList, str,
p->progress.gc, x, y, strWidth, XmALIGNMENT_BEGINNING,
XmSTRING_DIRECTION_L_TO_R, 0);
XSetClipMask(dpy, p->progress.gc, None);
}
}
static void
TimeStr(char *c,
int seconds)
{
int h, m, s;
s = seconds;
m = s / 60;
s -= m * 60;
h = m / 60;
m -= h * 60;
if (h > 99)
h = 99;
if (h > 0 && m < 10)
sprintf(c, "%d:0%d hr", h, m);
else if (h > 0)
sprintf(c, "%d:%d hr", h, m);
else if (m > 0 && s < 10)
sprintf(c, "%d:0%d min", m, s);
else if (m > 0)
sprintf(c, "%d:%d min", m, s);
else
sprintf(c, "%d sec", s);
}
static Boolean
SetValues(Widget curW,
Widget reqW,
Widget newW,
ArgList args,
Cardinal *narg)
{
XmLProgressWidget cur, p;
XtAppContext app;
cur = (XmLProgressWidget)curW;
p = (XmLProgressWidget)newW;
app = XtWidgetToApplicationContext(curW);
if (p->progress.value == 0)
p->progress.startTime = time(0);
if (p->progress.completeValue < 1)
{
XmLWarning(newW, "SetValues() - complete value can't be < 1");
p->progress.completeValue = 1;
}
if (p->progress.numBoxes < 1)
{
XmLWarning(newW, "SetValues() - number of boxes can't be < 1");
p->progress.numBoxes = 1;
}
if (p->progress.value < 0)
{
XmLWarning(newW, "SetValues() - value can't be < 0");
p->progress.value = 0;
}
if (p->progress.value > p->progress.completeValue)
{
XmLWarning(newW, "SetValues() - value can't be > completeValue");
p->progress.value = p->progress.completeValue;
}
if (p->progress.fontList != cur->progress.fontList)
{
XmFontListFree(cur->progress.fontList);
CopyFontList(p);
}
/* display changes immediately since we may be not get back
to XNextEvent if the calling application is computing */
if (p->core.background_pixel != cur->core.background_pixel ||
p->primitive.foreground != cur->primitive.foreground ||
p->progress.value != cur->progress.value ||
p->progress.completeValue != cur->progress.completeValue ||
p->progress.fontList != cur->progress.fontList ||
p->progress.showTime != cur->progress.showTime ||
p->progress.showPercentage != cur->progress.showPercentage ||
p->progress.meterStyle != cur->progress.meterStyle ||
p->progress.numBoxes != cur->progress.numBoxes ||
p->primitive.shadow_thickness != cur->primitive.shadow_thickness)
{
Redisplay(newW, 0, 0);
XFlush(XtDisplay(newW));
XmUpdateDisplay(newW);
}
return FALSE;
}
static void
CopyFontList(XmLProgressWidget p)
{
if (!p->progress.fontList)
p->progress.fontList = XmLFontListCopyDefault((Widget)p);
else
p->progress.fontList = XmFontListCopy(p->progress.fontList);
if (!p->progress.fontList)
XmLWarning((Widget)p, "- fatal error - font list NULL");
}
static Boolean
CvtStringToMeterStyle(Display *dpy,
XrmValuePtr args,
Cardinal *narg,
XrmValuePtr fromVal,
XrmValuePtr toVal,
XtPointer *data)
{
static XmLStringToUCharMap map[] =
{
{ "METER_BAR", XmMETER_BAR },
{ "METER_BOXES", XmMETER_BOXES },
{ 0, 0 },
};
return XmLCvtStringToUChar(dpy, "XmRMeterStyle", map, fromVal, toVal);
}
/*
Public Functions
*/
Widget
XmLCreateProgress(Widget parent,
char *name,
ArgList arglist,
Cardinal argcount)
{
return XtCreateWidget(name, xmlProgressWidgetClass, parent,
arglist, argcount);
}

View File

@@ -0,0 +1,57 @@
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/*
* The following source code is part of the Microline Widget Library.
* The Microline widget library is made available to Mozilla developers
* under the Netscape Public License (NPL) by Neuron Data. To learn
* more about Neuron Data, please visit the Neuron Data Home Page at
* http://www.neurondata.com.
*/
#ifndef XmLProgressH
#define XmLProgressH
#include <XmL/XmL.h>
#ifdef XmL_CPP
extern "C" {
#endif
extern WidgetClass xmlProgressWidgetClass;
typedef struct _XmLProgressClassRec *XmLProgressWidgetClass;
typedef struct _XmLProgressRec *XmLProgressWidget;
#define XmLIsProgress(w) XtIsSubclass((w), xmlProgressWidgetClass)
#ifdef XmL_ANSIC
Widget XmLCreateProgress(Widget parent, char *name, ArgList arglist,
Cardinal argcount);
#else
Widget XmLCreateProgress();
#endif
#ifdef XmL_CPP
}
#endif
#endif

View File

@@ -0,0 +1,76 @@
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/*
* The following source code is part of the Microline Widget Library.
* The Microline widget library is made available to Mozilla developers
* under the Netscape Public License (NPL) by Neuron Data. To learn
* more about Neuron Data, please visit the Neuron Data Home Page at
* http://www.neurondata.com.
*/
#ifndef XmLProgressPH
#define XmLProgressPH
#include <Xm/XmP.h>
#include <X11/StringDefs.h>
#ifdef MOTIF11
#else
#include <Xm/PrimitiveP.h>
#include <Xm/DrawP.h>
#endif
#include <sys/types.h>
#include "Progress.h"
typedef struct _XmLProgressPart
{
int completeValue, value;
Boolean showTime;
Boolean showPercentage;
XmFontList fontList;
GC gc;
time_t startTime;
XFontStruct *fallbackFont;
unsigned char meterStyle;
int numBoxes;
} XmLProgressPart;
typedef struct _XmLProgressRec
{
CorePart core;
XmPrimitivePart primitive;
XmLProgressPart progress;
} XmLProgressRec;
typedef struct _XmLProgressClassPart
{
int null;
} XmLProgressClassPart;
typedef struct _XmLProgressClassRec
{
CoreClassPart core_class;
XmPrimitiveClassPart primitive_class;
XmLProgressClassPart progress_class;
} XmLProgressClassRec;
extern XmLProgressClassRec xmlProgressClassRec;
#endif

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,56 @@
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/*
* The following source code is part of the Microline Widget Library.
* The Microline widget library is made available to Mozilla developers
* under the Netscape Public License (NPL) by Neuron Data. To learn
* more about Neuron Data, please visit the Neuron Data Home Page at
* http://www.neurondata.com.
*/
#ifndef XmLTreeH
#define XmLTreeH
#include <XmL/XmL.h>
#include <XmL/Grid.h>
#ifdef XmL_CPP
extern "C" {
#endif
extern WidgetClass xmlTreeWidgetClass;
typedef struct _XmLTreeClassRec *XmLTreeWidgetClass;
typedef struct _XmLTreeRec *XmLTreeWidget;
typedef struct _XmLTreeRowRec *XmLTreeRow;
#define XmLIsTree(w) XtIsSubclass((w), xmlTreeWidgetClass)
Widget XmLCreateTree(Widget parent, char *name, ArgList arglist,
Cardinal argcount);
void XmLTreeAddRow(Widget w, int level, Boolean expands, Boolean isExpaned,
int position, Pixmap pixmap, Pixmap pixmask, XmString string);
void XmLTreeAddRows(Widget w, XmLTreeRowDefinition *rows,
int count, int position);
void XmLTreeDeleteChildren(Widget w, int position);
#ifdef XmL_CPP
}
#endif
#endif

View File

@@ -0,0 +1,125 @@
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/*
* The following source code is part of the Microline Widget Library.
* The Microline widget library is made available to Mozilla developers
* under the Netscape Public License (NPL) by Neuron Data. To learn
* more about Neuron Data, please visit the Neuron Data Home Page at
* http://www.neurondata.com.
*/
#ifndef XmLTreePH
#define XmLTreePH
#include <Xm/XmP.h>
#ifndef MOTIF11
#include <Xm/ManagerP.h>
#include <Xm/DrawP.h>
#endif
#include "Tree.h"
#include "GridP.h"
/* row value mask for get/set values */
#define RVML XmLGridRowValueMaskLen
#define XmLTreeRowLevel (1L << (RVML))
#define XmLTreeRowExpands (1L << (RVML + 1))
#define XmLTreeRowIsExpanded (1L << (RVML + 2))
typedef struct _XmLTreeRowPart
{
Boolean expands;
int level;
Boolean hasChildren, hasSiblings, isExpanded;
Dimension stringWidth;
Boolean stringWidthValid;
} XmLTreeRowPart;
struct _XmLTreeRowRec
{
XmLGridRowPart grid;
XmLTreeRowPart tree;
};
typedef struct _XmLTreePart
{
/* resources */
Dimension levelSpacing;
Pixel lineColor, pmColor;
XtCallbackList collapseCallback, expandCallback;
/* private data */
char *linesData;
int linesSize, linesMaxLevel;
int recalcTreeWidth;
char defaultPixmapsCreated;
Pixel pixColors[4];
Pixmap filePixmask, folderPixmask, folderOpenPixmask;
Pixmap filePixmap, folderPixmap, folderOpenPixmap;
/* row resources */
int rowLevel;
Boolean rowExpands, rowIsExpanded;
/* Causes the tree to NOT render any pixmaps */
Boolean ignorePixmaps;
} XmLTreePart;
typedef struct _XmLTreeRec
{
CorePart core;
CompositePart composite;
ConstraintPart constraint;
XmManagerPart manager;
XmLGridPart grid;
XmLTreePart tree;
} XmLTreeRec;
typedef struct _XmLTreeClassPart
{
int unused;
} XmLTreeClassPart;
typedef struct _XmLTreeClassRec
{
CoreClassPart core_class;
CompositeClassPart composite_class;
ConstraintClassPart constraint_class;
XmManagerClassPart manager_class;
XmLGridClassPart grid_class;
XmLTreeClassPart tree_class;
} XmLTreeClassRec;
extern XmLTreeClassRec xmlTreeClassRec;
typedef struct _XmLTreeConstraintPart
{
int unused;
} XmLTreeConstraintPart;
typedef struct _XmLTreeConstraintRec
{
XmManagerConstraintPart manager;
XmLGridConstraintPart grid;
XmLTreeConstraintPart tree;
} XmLTreeConstraintRec, *XmLTreeConstraintPtr;
#endif

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,658 @@
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/*
* The following source code is part of the Microline Widget Library.
* The Microline widget library is made available to Mozilla developers
* under the Netscape Public License (NPL) by Neuron Data. To learn
* more about Neuron Data, please visit the Neuron Data Home Page at
* http://www.neurondata.com.
*/
#ifndef XmLH
#define XmLH
#include <Xm/Xm.h>
#if defined(__cplusplus) || defined(c_plusplus)
#define XmL_CPP 1
#endif
#if defined(_STDC_) || defined(__STDC__) || defined(XmL_CPP)
#ifndef _NO_PROTO
#define XmL_ANSIC 1
#endif
#endif
#define XmLVERSION_301
#ifdef XmL_CPP
extern "C" {
#endif
/* shared resources */
#define XmNautoSelect "autoSelect"
#define XmCAutoSelect "AutoSelect"
#define XmNblankBackground "blankBackground"
#define XmCBlankBackground "BlankBackground"
#define XmNdebugLevel "debugLevel"
#define XmCDebugLevel "DebugLevel"
/* Folder resources */
#define XmNacceptResize "acceptResize"
#define XmCAcceptResize "AcceptResize"
#define XmNactiveTab "activeTab"
#define XmCActiveTab "ActiveTab"
#define XmNblankBackgroundPixmap "blankBackgroundPixmap"
#define XmCBlankBackgroundPixmap "BlankBackgroundPixmap"
#define XmNcornerDimension "cornerDimension"
#define XmCCornerDimension "CornerDimension"
#define XmNcornerStyle "cornerStyle"
#define XmCCornerStyle "CornerStyle"
#define XmRCornerStyle "CornerStyle"
#define XmNinactiveBackground "inactiveBackground"
#define XmCInactiveBackground "InactiveBackground"
#define XmNinactiveForeground "inactiveForeground"
#define XmCInactiveForeground "InactiveForeground"
#define XmNpixmapMargin "pixmapMargin"
#define XmCPixmapMargin "PixmapMargin"
#define XmCFolderResizePolicy "FolderResizePolicy"
#define XmRFolderResizePolicy "FolderResizePolicy"
#define XmNrotateWhenLeftRight "rotateWhenLeftRight"
#define XmCRotateWhenLeftRight "RotateWhenLeftRight"
#define XmNtabBarHeight "tabBarHeight"
#define XmCTabBarHeight "TabBarHeight"
#define XmNtabCount "tabCount"
#define XmCTabCount "TabCount"
#define XmNtabPlacement "tabPlacement"
#define XmCTabPlacement "TabPlacement"
#define XmRTabPlacement "TabPlacement"
#define XmNtabsPerRow "tabsPerRow"
#define XmCTabsPerRow "TabsPerRow"
#define XmNtabTranslations "tabTranslations"
#define XmNtabWidgetList "tabWidgetList"
#define XmNtabWidgetClass "tabWidgetClass"
#define XmCTabWidgetClass "TabWidgetClass"
/* Folder Constraint resources */
#define XmNtabFreePixmaps "tabFreePixmaps"
#define XmCTabFreePixmaps "TabFreePixmaps"
#define XmNtabInactivePixmap "tabInactivePixmap"
#define XmCTabInactivePixmap "TabInactivePixmap"
#define XmNtabManagedName "tabManagedName"
#define XmCTabManagedName "TabManagedName"
#define XmNtabManagedWidget "tabManagedWidget"
#define XmCTabManagedWidget "TabManagedWidget"
#define XmNtabPixmap "tabPixmap"
#define XmCTabPixmap "TabPixmap"
/* Folder callbacks */
typedef struct
{
int reason;
XEvent *event;
int pos;
int allowActivate;
int layoutNeeded;
} XmLFolderCallbackStruct;
/* Folder defines */
#define XmCORNER_NONE 0
#define XmCORNER_LINE 1
#define XmCORNER_ARC 2
#define XmFOLDER_TOP 0
#define XmFOLDER_LEFT 1
#define XmFOLDER_BOTTOM 2
#define XmFOLDER_RIGHT 3
#define XmRESIZE_STATIC 10
#define XmRESIZE_DYNAMIC 11
/* Grid resources */
#define XmNaddCallback "addCallback"
#define XmNallowColumnHide "allowColumnHide"
#define XmCAllowColumnHide "AllowColumnHide"
#define XmNallowColumnResize "allowColumnResize"
#define XmCAllowColumnResize "AllowColumnResize"
#define XmNallowDragSelected "allowDragSelected"
#define XmCAllowDragSelected "AllowDragSelected"
#define XmNallowDrop "allowDrop"
#define XmCAllowDrop "AllowDrop"
#define XmNallowRowHide "allowRowHide"
#define XmCAllowRowHide "AllowRowHide"
#define XmNallowRowResize "allowRowResize"
#define XmCAllowRowResize "AllowRowResize"
#define XmNbottomFixedCount "bottomFixedCount"
#define XmCBottomFixedCount "BottomFixedCount"
#define XmNbottomFixedMargin "bottomFixedMargin"
#define XmCBottomFixedMargin "BottomFixedMargin"
#define XmNcellDefaults "cellDefaults"
#define XmCCellDefaults "CellDefaults"
#define XmNcellDrawCallback "cellDrawCallback"
#define XmNcellDropCallback "cellDropCallback"
#define XmNcellFocusCallback "cellFocusCallback"
#define XmNcellPasteCallback "cellPasteCallback"
#define XmNdeleteCallback "deleteCallback"
#define XmNdeselectCallback "deselectCallback"
#define XmNeditCallback "editCallback"
#define XmNeditTranslations "editTranslations"
#define XmNfooterColumns "footerColumns"
#define XmCFooterColumns "FooterColumns"
#define XmNfooterRows "footerRows"
#define XmCFooterRows "FooterRows"
#define XmNglobalPixmapHeight "globalPixmapHeight"
#define XmCGlobalPixmapHeight "GlobalPixmapHeight"
#define XmNglobalPixmapWidth "globalPixmapWidth"
#define XmCGlobalPixmapWidth "GlobalPixmapWidth"
#define XmCGridSelectionPolicy "GridSelectionPolicy"
#define XmRGridSelectionPolicy "GridSelectionPolicy"
#define XmRGridSizePolicy "GridSizePolicy"
#define XmNheadingColumns "headingColumns"
#define XmCHeadingColumns "HeadingColumns"
#define XmNheadingRows "headingRows"
#define XmCHeadingRows "HeadingRows"
#define XmNhiddenColumns "hiddenColumns"
#define XmCHiddenColumns "HiddenColumns"
#define XmNhiddenRows "hiddenRows"
#define XmCHiddenRows "HiddenRows"
#define XmNhighlightRowMode "highlightRowMode"
#define XmCHighlightRowMode "HighlightRowMode"
#define XmNhorizontalSizePolicy "horizontalSizePolicy"
#define XmCHorizontalSizePolicy "HorizontalSizePolicy"
#define XmNhsbDisplayPolicy "hsbDisplayPolicy"
#define XmCHsbDisplayPolicy "HsbDisplayPolicy"
#define XmNimmediateDraw "immediateDraw"
#define XmCImmediateDraw "ImmediateDraw"
#define XmNlayoutFrozen "layoutFrozen"
#define XmCLayoutFrozen "LayoutFrozen"
#define XmNleftFixedCount "leftFixedCount"
#define XmCLeftFixedCount "LeftFixedCount"
#define XmNleftFixedMargin "leftFixedMargin"
#define XmCLeftFixedMargin "LeftFixedMargin"
#define XmNrightFixedCount "rightFixedCount"
#define XmCRightFixedCount "RightFixedCount"
#define XmNrightFixedMargin "rightFixedMargin"
#define XmCRightFixedMargin "RightFixedMargin"
#define XmNscrollBarMargin "scrollBarMargin"
#define XmCScrollBarMargin "ScrollBarMargin"
#define XmNscrollCallback "scrollCallback"
#define XmNscrollColumn "scrollColumn"
#define XmCScrollColumn "ScrollColumn"
#define XmNscrollRow "scrollRow"
#define XmCScrollRow "ScrollRow"
#define XmNsimpleHeadings "simpleHeadings"
#define XmCSimpleHeadings "SimpleHeadings"
#define XmNsimpleWidths "simpleWidths"
#define XmCSimpleWidths "SimpleWidths"
#define XmNselectCallback "selectCallback"
#define XmNselectForeground "selectForeground"
#define XmCSelectForeground "SelectForeground"
#define XmNselectBackground "selectBackground"
#define XmCSelectBackground "SelectBackground"
#define XmNshadowRegions "shadowRegions"
#define XmCShadowRegions "ShadowRegions"
#define XmNtextWidget "textWidget"
#define XmCTextWidget "TextWidget"
#define XmNtoggleTopColor "toggleTopColor"
#define XmCToggleTopColor "ToggleTopColor"
#define XmNtoggleBottomColor "toggleBottomColor"
#define XmCToggleBottomColor "ToggleBottomColor"
#define XmNtoggleSize "toggleSize"
#define XmCToggleSize "ToggleSize"
#define XmNtopFixedCount "topFixedCount"
#define XmCTopFixedCount "TopFixedCount"
#define XmNtopFixedMargin "topFixedMargin"
#define XmCTopFixedMargin "TopFixedMargin"
#define XmNtraverseTranslations "traverseTranslations"
#define XmNuseAverageFontWidth "useAverageFontWidth"
#define XmCUseAverageFontWidth "UseAverageFontWidth"
#define XmNverticalSizePolicy "verticalSizePolicy"
#define XmCVerticalSizePolicy "VerticalSizePolicy"
#define XmNvisibleColumns "visibleColumns"
#define XmCVisibleColumns "VisibleColumns"
#define XmNvisibleRows "visibleRows"
#define XmCVisibleRows "VisibleRows"
#define XmNvsbDisplayPolicy "vsbDisplayPolicy"
#define XmCVsbDisplayPolicy "VsbDisplayPolicy"
#define XmNiconSpacing "iconSpacing"
#define XmCIconSpacing "IconSpacing"
/* XFE Additions */
#define XmNhideUnhideButtons "hideUnhideButtons"
#define XmCHideUnhideButtons "HideUnhideButtons"
#define XmNsingleClickActivation "singleClickActivation"
#define XmCSingleClickActivation "SingleClickActivation"
#define XmNuseTextWidget "useTextWidget"
#define XmCUseTextWidget "UseTextWidget"
#define XmNcolumnSortType "columnSortType"
#define XmCColumnSortType "ColumnSortType"
#define XmRColumnSortType "ColumnSortType"
#if 0
#define XmNhideButtonTranslations "hideButtonTranslations"
#define XmNunhideButtonTranslations "unhideButtonTranslations"
#endif /*0*/
#define XmNminColumnWidth "minColumnWidth"
#define XmCMinColumnWidth "MinColumnWidth"
#define XmNenterCellCallback "enterCellCallback"
#define XmNleaveCellCallback "leaveCellCallback"
#define XmNenterGridCallback "enterGridCallback"
#define XmNleaveGridCallback "leaveGridCallback"
/* Grid Row/Column/Cell resources */
#define XmNrow "row"
#define XmCGridRow "row"
#define XmNrowHeight "rowHeight"
#define XmCRowHeight "RowHeight"
#define XmNrowPtr "rowPtr"
#define XmNrowRangeEnd "rowRangeEnd"
#define XmCRowRangeEnd "RowRangeEnd"
#define XmNrowRangeStart "rowRangeStart"
#define XmCRowRangeStart "RowRangeStart"
#define XmNrowSizePolicy "rowSizePolicy"
#define XmCRowSizePolicy "RowSizePolicy"
#define XmNrowStep "rowStep"
#define XmCRowStep "RowStep"
#define XmNrowType "rowType"
#define XmCRowType "RowType"
#define XmRRowType "RowType"
#define XmNrowUserData "rowUserData"
#define XmNcolumn "column"
#define XmCGridColumn "Column"
#define XmNcolumnPtr "columnPtr"
#define XmNcolumnRangeEnd "columnRangeEnd"
#define XmCColumnRangeEnd "ColumnRangeEnd"
#define XmNcolumnRangeStart "columnRangeStart"
#define XmCColumnRangeStart "ColumnRangeStart"
#define XmNcolumnResizable "columnResizable"
#define XmCColumnResizable "ColumnResizable"
#define XmNcolumnSizePolicy "columnSizePolicy"
#define XmCColumnSizePolicy "ColumnSizePolicy"
#define XmNcolumnHidden "columnHidden"
#define XmCColumnHidden "ColumnHidden"
#define XmNcolumnStep "columnStep"
#define XmCColumnStep "ColumnStep"
#define XmNcolumnType "columnType"
#define XmCColumnType "ColumnType"
#define XmRColumnType "ColumnType"
#define XmNcolumnWidth "columnWidth"
#define XmCColumnWidth "ColumnWidth"
#define XmNcolumnUserData "columnUserData"
#define XmNcellAlignment "cellAlignment"
#define XmCCellAlignment "CellAlignment"
#define XmRCellAlignment "CellAlignment"
#define XmNcellBackground "cellBackground"
#define XmCCellBackground "CellBackground"
#define XmRCellBorderType "CellBorderType"
#define XmNcellBottomBorderType "cellBottomBorderType"
#define XmCCellBottomBorderType "CellBottomBorderType"
#define XmNcellBottomBorderColor "cellBottomBorderColor"
#define XmCCellBottomBorderColor "CellBottomBorderColor"
#define XmNcellColumnSpan "cellColumnSpan"
#define XmCCellColumnSpan "CellColumnSpan"
#define XmNcellEditable "cellEditable"
#define XmCCellEditable "CellEditable"
#define XmNcellForeground "cellForeground"
#define XmCCellForeground "CellForeground"
#define XmNcellFontList "cellFontList"
#define XmCCellFontList "CellFontList"
#define XmNcellLeftBorderType "cellLeftBorderType"
#define XmCCellLeftBorderType "CellLeftBorderType"
#define XmNcellLeftBorderColor "cellLeftBorderColor"
#define XmCCellLeftBorderColor "CellLeftBorderColor"
#define XmNcellMarginBottom "cellMarginBottom"
#define XmCCellMarginBottom "CellMarginBottom"
#define XmNcellMarginLeft "cellMarginLeft"
#define XmCCellMarginLeft "CellMarginLeft"
#define XmNcellMarginRight "cellMarginRight"
#define XmCCellMarginRight "CellMarginRight"
#define XmNcellMarginTop "cellMarginTop"
#define XmCCellMarginTop "CellMarginTop"
#define XmNcellPixmap "cellPixmap"
#define XmCCellPixmap "CellPixmap"
#define XmNcellPixmapMask "cellPixmapMask"
#define XmCCellPixmapMask "CellPixmapMask"
#define XmNcellRightBorderType "cellRightBorderType"
#define XmCCellRightBorderType "CellRightBorderType"
#define XmNcellRightBorderColor "cellRightBorderColor"
#define XmCCellRightBorderColor "CellRightBorderColor"
#define XmNcellRowSpan "cellRowSpan"
#define XmCCellRowSpan "CellRowSpan"
#define XmNcellString "cellString"
#define XmNcellToggleSet "cellToggleSet"
#define XmCCellToggleSet "CellToggleSet"
#define XmNcellTopBorderType "cellTopBorderType"
#define XmCCellTopBorderType "CellTopBorderType"
#define XmNcellTopBorderColor "cellTopBorderColor"
#define XmCCellTopBorderColor "CellTopBorderColor"
#define XmNcellType "cellType"
#define XmCCellType "CellType"
#define XmRCellType "CellType"
#define XmNcellUserData "cellUserData"
/* Grid callbacks */
typedef struct _XmLGridDrawStruct
{
GC gc;
XRectangle *cellRect;
Dimension topMargin;
Dimension bottomMargin;
Dimension leftMargin;
Dimension rightMargin;
Pixel foreground;
Pixel background;
Pixel selectForeground;
Pixel selectBackground;
XmFontList fontList;
unsigned char alignment;
Boolean drawSelected;
int drawFocusType;
XmStringDirection stringDirection;
} XmLGridDrawStruct;
typedef struct _XmLGridCallbackStruct
{
int reason;
XEvent *event;
unsigned char rowType, columnType;
int row, column;
XRectangle *clipRect;
XmLGridDrawStruct *drawInfo;
void *object;
} XmLGridCallbackStruct;
#define XmCR_ADD_ROW 900
#define XmCR_ADD_COLUMN 901
#define XmCR_ADD_CELL 902
#define XmCR_CELL_DRAW 903
#define XmCR_CELL_DROP 904
#define XmCR_CELL_FOCUS_IN 905
#define XmCR_CELL_FOCUS_OUT 906
#define XmCR_CELL_PASTE 907
#define XmCR_CONF_TEXT 908
#define XmCR_PREF_WIDTH 909
#define XmCR_DELETE_ROW 910
#define XmCR_DELETE_COLUMN 911
#define XmCR_DELETE_CELL 912
#define XmCR_EDIT_BEGIN 913
#define XmCR_EDIT_INSERT 914
#define XmCR_EDIT_CANCEL 915
#define XmCR_EDIT_COMPLETE 916
#define XmCR_FREE_VALUE 917
#define XmCR_RESIZE_ROW 918
#define XmCR_RESIZE_COLUMN 919
#define XmCR_PREF_HEIGHT 920
#define XmCR_SCROLL_ROW 921
#define XmCR_SCROLL_COLUMN 922
#define XmCR_SELECT_CELL 923
#define XmCR_SELECT_COLUMN 924
#define XmCR_SELECT_ROW 925
#define XmCR_DESELECT_CELL 926
#define XmCR_DESELECT_COLUMN 927
#define XmCR_DESELECT_ROW 928
/* xfe added callback reason */
#define XmCR_RESIZE_GRID 929
#define XmCR_SHOW_POPUP 930
#define XmCR_SINGLECLICK 931
#define XmCR_ENTER_CELL 931
#define XmCR_ENTER_GRID 932
#define XmCR_LEAVE_CELL 933
#define XmCR_LEAVE_GRID 934
/* Grid defines */
#define XmCONTENT 0
#define XmHEADING 1
#define XmFOOTER 2
#define XmALL_TYPES 3
#define XmINVALID_TYPE 4
#define XmICON_CELL 0
#define XmPIXMAP_CELL 1
#define XmSTRING_CELL 2
#define XmBORDER_NONE 0
#define XmBORDER_LINE 1
#define XmBORDER_DASH 2
#define XmFORMAT_DELIMITED 1
#define XmFORMAT_XL 2
#define XmFORMAT_PAD 3
#define XmFORMAT_PASTE 4
#define XmFORMAT_DROP 5
#define XmSELECT_NONE 1
#define XmSELECT_SINGLE_ROW 2
#define XmSELECT_BROWSE_ROW 3
#define XmSELECT_MULTIPLE_ROW 4
#define XmSELECT_CELL 5
#define XmDRAW_FOCUS_NONE 1
#define XmDRAW_FOCUS_CELL 2
#define XmDRAW_FOCUS_LEFT 3
#define XmDRAW_FOCUS_MID 4
#define XmDRAW_FOCUS_RIGHT 5
#define XmTRAVERSE_EXTEND_DOWN 20
#define XmTRAVERSE_EXTEND_LEFT 21
#define XmTRAVERSE_EXTEND_RIGHT 22
#define XmTRAVERSE_EXTEND_UP 23
#define XmTRAVERSE_PAGE_DOWN 24
#define XmTRAVERSE_PAGE_LEFT 25
#define XmTRAVERSE_PAGE_RIGHT 26
#define XmTRAVERSE_PAGE_UP 27
#define XmTRAVERSE_TO_BOTTOM 28
#define XmTRAVERSE_TO_TOP 29
#define XmALIGNMENT_LEFT 0
#ifndef XmALIGNMENT_CENTER
#define XmALIGNMENT_CENTER 1
#endif
#define XmALIGNMENT_RIGHT 2
#define XmALIGNMENT_TOP_LEFT 3
#define XmALIGNMENT_TOP 4
#define XmALIGNMENT_TOP_RIGHT 5
#define XmALIGNMENT_BOTTOM_LEFT 6
#define XmALIGNMENT_BOTTOM 7
#define XmALIGNMENT_BOTTOM_RIGHT 8
/* xfe additions */
#define XmSORT_NONE 0
#define XmSORT_ASCENDING 1
#define XmSORT_DESCENDING 2
/* Progress resources */
#define XmNcompleteValue "completeValue"
#define XmCCompleteValue "CompleteValue"
#define XmNnumBoxes "numBoxes"
#define XmCNumBoxes "NumBoxes"
#define XmNmeterStyle "meterStyle"
#define XmCMeterStyle "MeterStyle"
#define XmRMeterStyle "MeterStyle"
#define XmNshowPercentage "showPercentage"
#define XmCShowPercentage "ShowPercentage"
#define XmNshowTime "showTime"
#define XmCShowTime "ShowTime"
/* Progress defines */
#define XmMETER_BAR 0
#define XmMETER_BOXES 1
/* Tree resources */
#define XmNcollapseCallback "collapseCallback"
#define XmNconnectingLineColor "connectingLineColor"
#define XmCConnectingLineColor "ConnectingLineColor"
#define XmNexpandCallback "expandCallback"
#define XmNlevelSpacing "levelSpacing"
#define XmCLevelSpacing "LevelSpacing"
#define XmNplusMinusColor "plusMinusColor"
#define XmCPlusMinusColor "PlusMinusColor"
#define XmNrowExpands "rowExpands"
#define XmCRowExpands "RowExpands"
#define XmNrowIsExpanded "rowIsExpanded"
#define XmCRowIsExpanded "RowIsExpanded"
#define XmNrowLevel "rowLevel"
#define XmCRowLevel "RowLevel"
#define XmNignorePixmaps "ignorePixmaps"
#define XmCIgnorePixmaps "IgnorePixmaps"
/* Tree callbacks */
typedef struct
{
int level;
Boolean expands;
Boolean isExpanded;
Pixmap pixmap, pixmask;
XmString string;
} XmLTreeRowDefinition;
#define XmCR_COLLAPSE_ROW 950
#define XmCR_EXPAND_ROW 951
/* Backwards compatibility */
#ifdef XmLBACKWARDS_COMPATIBILITY
#define XmNfooterColumnCount "footerColumns"
#define XmNfooterRowCount "footerRows"
#define XmNheadingColumnCount "headingColumns"
#define XmNheadingRowCount "headingRows"
#define XmNcellBottomBorderPixel "cellBottomBorderColor"
#define XmCCellBottomBorderPixel "CellBottomBorderColor"
#define XmNcellLeftBorderPixel "cellLeftBorderColor"
#define XmCCellLeftBorderPixel "CellLeftBorderColor"
#define XmNcellRightBorderPixel "cellRightBorderColor"
#define XmCCellRightBorderPixel "CellRightBorderColor"
#define XmNcellTopBorderPixel "cellTopBorderColor"
#define XmCCellTopBorderPixel "CellTopBorderColor"
#define XmTEXT_CELL 250
#define XmLABEL_CELL 251
typedef void XmLCGridRow;
typedef void XmLCGridColumn;
typedef void XmLCGridCell;
#endif
/* Utility defines */
#define XmDRAWNB_ARROW 0
#define XmDRAWNB_ARROWLINE 1
#define XmDRAWNB_DOUBLEARROW 2
#define XmDRAWNB_SQUARE 3
#define XmDRAWNB_DOUBLEBAR 4
#define XmDRAWNB_STRING 5
#define XmDRAWNB_SMALLARROW 6
#define XmDRAWNB_RIGHT 0
#define XmDRAWNB_LEFT 1
#define XmDRAWNB_UP 2
#define XmDRAWNB_DOWN 3
#define XmSTRING_RIGHT 0
#define XmSTRING_LEFT 1
#define XmSTRING_UP 2
#define XmSTRING_DOWN 3
enum { XmLRectInside, XmLRectOutside, XmLRectPartial };
typedef struct
{
int pos;
} XmLArrayItem;
typedef struct _XmLArrayRec *XmLArray;
typedef struct
{
char *name;
unsigned char value;
} XmLStringToUCharMap;
/* Utility functions */
typedef int (*XmLSortCompareFunc)(void *userData, void *l, void *r);
typedef int (*XmLArrayCompareFunc)(void *, void **, void **);
XmLArray XmLArrayNew(char autonumber, char growFast);
void XmLArrayFree(XmLArray array);
void XmLArrayAdd(XmLArray array, int pos, int count);
int XmLArrayDel(XmLArray array, int pos, int count);
int XmLArraySet(XmLArray array, int pos, void *item);
void *XmLArrayGet(XmLArray array, int pos);
int XmLArrayGetCount(XmLArray array);
int XmLArrayMove(XmLArray array, int newPos, int pos, int count);
int XmLArrayReorder(XmLArray array, int *newPositions,
int pos, int count);
int XmLArraySort(XmLArray array, XmLArrayCompareFunc compare,
void *userData, int pos, int count);
Boolean XmLCvtStringToUChar(Display *dpy, char *resname,
XmLStringToUCharMap *map, XrmValuePtr fromVal, XrmValuePtr toVal);
int XmLDateDaysInMonth(int m, int y);
int XmLDateWeekDay(int m, int d, int y);
void XmLDrawnButtonSetType(Widget w, int drawnType, int drawnDir);
void XmLDrawToggle(Widget w, Boolean state, Dimension size,
unsigned char alignment, GC gc, Pixel backgroundColor,
Pixel topColor, Pixel bottomColor, Pixel checkColor,
XRectangle *rect, XRectangle *clipRect);
XmFontList XmLFontListCopyDefault(Widget widget);
void XmLFontListGetDimensions(XmFontList fontList, short *width,
short *height, Boolean useAverageWidth);
void XmLInitialize(void);
int XmLMessageBox(Widget w, char *string, Boolean okOnly);
void XmLPixmapDraw(Widget w, Pixmap pixmap, Pixmap pixmask,
int pixmapWidth, int pixmapHeight, unsigned char alignment,
GC gc, XRectangle *rect, XRectangle *clipRect);
int XmLRectIntersect(XRectangle *r1, XRectangle *r2);
Widget XmLShellOfWidget(Widget w);
void XmLSort(void *base, int numItems, unsigned int itemSize,
XmLSortCompareFunc, void *userData);
void XmLStringDraw(Widget w, XmString string, XmStringDirection stringDir,
XmFontList fontList, unsigned char alignment, GC gc,
XRectangle *rect, XRectangle *clipRect);
void XmLStringDrawDirection(Display *dpy, Window win, XmFontList fontlist,
XmString string, GC gc, int x, int y, Dimension width,
unsigned char alignment, unsigned char layout_direction,
unsigned char drawing_direction);
void XmLWarning(Widget w, char *msg);
#ifdef XmL_CPP
}
#endif
#endif

View File

@@ -0,0 +1,162 @@
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/*
* The following source code is part of the Microline Widget Library.
* The Microline widget library is made available to Mozilla developers
* under the Netscape Public License (NPL) by Neuron Data. To learn
* more about Neuron Data, please visit the Neuron Data Home Page at
* http://www.neurondata.com.
*/
! Common Resources
value
XmNblankBackground : argument ('blankBackground', color);
XmNautoSelect : argument ('autoSelect', boolean);
XmNdebugLevel : argument ('debugLevel', integer);
! Folder Widget
procedure
XmLCreateFolder();
! Folder Resources
value
XmNcornerDimension : argument ('cornerDimension', integer);
XmNcornerStyle : argument ('cornerStyle', integer);
CornerNone : 0;
CornerLine : 1;
CornerArc : 2;
XmNinactiveBackground : argument ('inactiveBackground', color);
XmNinactiveForeground : argument ('inactiveForeground', color);
XmNpixmapMargin : argument ('pixmapMargin', integer);
ResizeStatic : 10;
ResizeDynamic : 11;
XmNrotateWhenLeftRight : argument ('rotateWhenRightLeft', boolean);
XmNtabPlacement : argument ('tabPlacement', integer);
FolderTop : 0;
FolderLeft : 1;
FolderBottom : 2;
FolderRight : 3;
XmNtabsPerRow : argument ('tabsPerRow', integer);
! Folder Constraint resources
XmNtabFreePixmaps : argument ('tabFreePixmaps', boolean);
XmNtabManagedName : argument ('tabManagedName', string);
XmNtabManagedWidget : argument ('tabManagedWidget', any);
! Grid Widget
procedure
XmLCreateGrid();
! Grid Resources
value
XmNallowColumnHide : argument ('allowColumnHide', boolean);
XmNallowColumnResize : argument ('allowColumnResize', boolean);
XmNallowDragSelected : argument ('allowDragSelected', boolean);
XmNallowDrop : argument ('allowDrop', boolean);
XmNallowRowHide : argument ('allowRowHide', boolean);
XmNallowRowResize : argument ('allowRowResize', boolean);
XmNbottomFixedCount : argument ('bottomFixedCount', integer);
XmNbottomFixedMargin : argument ('bottomFixedMargin', integer);
XmNfooterColumns : argument ('footerColumns', integer);
XmNfooterRows : argument ('footerRows', integer);
XmNglobalPixmapHeight : argument ('globalPixmapHeight', integer);
XmNglobalPixmapWidth : argument ('globalPixmapWidth', integer);
XmNheadingColumns : argument ('headingColumns', integer);
XmNheadingRows : argument ('headingRows', integer);
XmNhighlightRowMode : argument ('highlightRowMode', boolean);
XmNhorizontalSizePolicy : argument ('horizontalSizePolicy', integer);
XmNhsbDisplayPolicy : argument ('hsbDisplayPolicy', integer);
XmNimmediateDraw : argument ('immediateDraw', boolean);
XmNleftFixedCount : argument ('leftFixedCount', integer);
XmNleftFixedMargin : argument ('leftFixedMargin', integer);
XmNrightFixedCount : argument ('rightFixedCount', integer);
XmNrightFixedMargin : argument ('rightFixedMargin', integer);
XmNscrollBarMargin : argument ('scrollBarMargin', integer);
SelectNone : 1;
SelectSingleRow : 2;
SelectBrowseRow : 3;
SelectMultipleRow : 4;
SelectCell : 5;
XmNselectBackground : argument ('selectBackground', color);
XmNselectForeground : argument ('selectForeground', color);
XmNshadowRegions : argument ('shadowRegions', integer);
XmNsimpleHeadings : argument ('simpleHeadings', string);
XmNsimpleWidths : argument ('simpleWidths', string);
XmNtopFixedCount : argument ('topFixedCount', integer);
XmNtopFixedMargin : argument ('topFixedMargin', integer);
XmNuseAverageFontWidth : argument ('useAverageFontWidth', boolean);
XmNverticalSizePolicy : argument ('verticalSizePolicy', integer);
XmNvisibleColumns : argument ('visibleColumns', integer);
XmNvisibleRows : argument ('visibleRows', integer);
XmNvsbDisplayPolicy : argument ('vsbDisplayPolicy', integer);
! Grid Callbacks
value
XmNaddCallback : reason ('addCallback');
XmNcellDrawCallback : reason ('cellDrawCallback');
XmNcellDropCallback : reason ('cellDropCallback');
XmNcellFocusCallback : reason ('cellFocusCallback');
XmNcellPasteCallback : reason ('cellPasteCallback');
XmNdeleteCallback : reason ('deleteCallback');
XmNdeselectCallback : reason ('deselectCallback');
XmNeditCallback : reason ('editCallback');
XmNscrollCallback : reason ('scrollCallback');
XmNselectCallback : reason ('selectCallback');
! Progress Widget
procedure
XmLCreateProgress();
! Progress Resources
value
XmNcompleteValue : argument ('completeValue', integer);
XmNmeterStyle : argument ('meterStyle', integer);
MeterBar : 0;
MeterBoxes : 1;
XmNnumBoxes : argument ('numBoxes', integer);
XmNshowTime : argument ('showTime', boolean);
XmNshowPercentage : argument ('showPercentage', boolean);
! Tree Widget
procedure
XmLCreateTree();
! Tree Resources
value
XmNconnectingLineColor : argument ('connectingLineColor', color);
XmNlevelSpacing : argument ('levelSpacing', integer);
XmNplusMinusColor : argument ('plusMinusColor', color);
! Tree Callbacks
value
XmNexpandCallback : reason ('expandCallback');
XmNcollapseCallback : reason ('collapseCallback');

View File

@@ -0,0 +1,168 @@
#! gmake
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
# This make file was copied from ns/cmd/xfe/XfeWidgets/tests/Makefile
# and tweaked. A lot of the rules and logic can probably be shared.
# Stuff should be shared in
#
#
DEPTH = ../../../..
ifdef XFE_WIDGETS_BUILD_UNUSED
UNUSED_CSRCS = \
demo.c \
prog1.c \
prog2.c \
prog3.c \
uil1.c \
util1.c \
$(NULL)
endif
CSRCS = \
$(UNUSED_CSRCS) \
folder1.c \
folder2.c \
folder3.c \
folder4.c \
grid1.c \
grid2.c \
grid3.c \
grid4.c \
grid5.c \
grid6.c \
tree1.c \
tree2.c \
tree3.c \
tree4.c \
tree5.c \
$(NULL)
REQUIRES = \
Microline
PROGS = $(addprefix $(OBJDIR)/, $(CSRCS:.c=.exe))
include $(DEPTH)/config/rules.mk
include $(DEPTH)/cmd/xfe/XfeWidgets/XfeWidgets.mk
all:: $(PROGS)
install:: $(PROGS)
LDFLAGS =
SHARED_XFE_LIBS = $(DIST)/bin/libXmL.$(DLL_SUFFIX)
STATIC_XFE_LIBS = $(DIST)/lib/libXmL.a
DIST_FLAGS = -L$(DIST)/bin
ifeq ($(OS_ARCH),AIX)
XFE_FLAGS = $(STATIC_XFE_LIBS)
else
XFE_FLAGS = $(SHARED_XFE_LIBS)
endif
ifeq ($(OS_ARCH),Linux)
-include $(DEPTH)/config/motif.mk
endif
XM_LD_FLAGS = -lMrm -lXm $(NS_MOTIF2_XP_LD_FLAGS)
X_LD_FLAGS = $(XM_LD_FLAGS) -lXt -lXmu -lXext -lX11
OS_BEFORE_FLAGS =
OS_AFTER_FLAGS =
ifeq ($(OS_ARCH),SunOS)
OS_BEFORE_LDFLAGS =\
-L/usr/dt/lib \
-L/usr/openwin/lib
OS_AFTER_LDFLAGS =\
-lw \
-lintl \
-lsocket \
-lnsl \
-lgen \
-lm \
-ldl
endif
ifeq ($(OS_ARCH),AIX)
OS_BEFORE_LDFLAGS =\
-L/usr/dt/lib
endif
ifeq ($(OS_ARCH),IRIX)
endif
ifeq ($(OS_ARCH),Linux)
OS_BEFORE_LDFLAGS = -L/usr/X11R6/lib
endif
ifeq ($(OS_ARCH),HP-UX)
OS_BEFORE_LDFLAGS = -L$(DIST)/bin
endif
LDFLAGS =\
$(OS_BEFORE_LDFLAGS) \
$(DIST_FLAGS) \
$(XFE_FLAGS) \
$(X_LD_FLAGS) \
$(OS_AFTER_LDFLAGS)
##
## Test dependancies
##
#OTHER_DEPS = Makefile $(XFE_FLAGS)
OTHER_DEPS = $(XFE_FLAGS)
##
## Resource source rule
##
#$(OBJDIR)/%.ad.c:: %.ad # Makefile
# @$(MAKE_OBJDIR)
# @echo 'char * fallback_resources[] = {' > $@; \
# ./ad2c $< >> $@; \
# echo '0};' >> $@
##
## Resource object rule
##
#$(OBJDIR)/%.ad.o: $(OBJDIR)/%.ad.c
# @$(MAKE_OBJDIR)
# $(CC) -o $@ -c $<
##
## Binary link rule
##
$(OBJDIR)/%.exe: $(OBJDIR)/%.o $(OTHER_DEPS)
@$(MAKE_OBJDIR)
$(XFE_PURIFY) $(CC) -o $@ $< $(LDFLAGS)

View File

@@ -0,0 +1,173 @@
#! gmake
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
# This make file was copied from ns/cmd/xfe/XfeWidgets/tests/Makefile
# and tweaked. A lot of the rules and logic can probably be shared.
# Stuff should be shared in
#
#
DEPTH = ../../../..
topsrcdir = @top_srcdir@
VPATH = @srcdir@
srcdir = @srcdir@
include $(DEPTH)/config/autoconf.mk
ifdef XFE_WIDGETS_BUILD_UNUSED
UNUSED_CSRCS = \
demo.c \
prog1.c \
prog2.c \
prog3.c \
uil1.c \
util1.c \
$(NULL)
endif
CSRCS = \
$(UNUSED_CSRCS) \
folder1.c \
folder2.c \
folder3.c \
folder4.c \
grid1.c \
grid2.c \
grid3.c \
grid4.c \
grid5.c \
grid6.c \
tree1.c \
tree2.c \
tree3.c \
tree4.c \
tree5.c \
$(NULL)
REQUIRES = \
Microline
PROGS = $(addprefix $(OBJDIR)/, $(CSRCS:.c=.exe))
include $(topsrcdir)/config/rules.mk
include $(topsrcdir)/cmd/xfe/XfeWidgets/XfeWidgets.mk
all:: $(PROGS)
install:: $(PROGS)
LDFLAGS =
SHARED_XFE_LIBS = $(DIST)/bin/libXmL.$(DLL_SUFFIX)
STATIC_XFE_LIBS = $(DIST)/lib/libXmL.a
DIST_FLAGS = -L$(DIST)/bin
ifeq ($(OS_ARCH),AIX)
XFE_FLAGS = $(STATIC_XFE_LIBS)
else
XFE_FLAGS = $(SHARED_XFE_LIBS)
endif
ifeq ($(OS_ARCH),Linux)
-include $(DEPTH)/config/motif.mk
endif
XM_LD_FLAGS = -lMrm -lXm $(NS_MOTIF2_XP_LD_FLAGS)
X_LD_FLAGS = $(XM_LD_FLAGS) -lXt -lXmu -lXext -lX11
OS_BEFORE_FLAGS =
OS_AFTER_FLAGS =
ifeq ($(OS_ARCH),SunOS)
OS_BEFORE_LDFLAGS =\
-L/usr/dt/lib \
-L/usr/openwin/lib
OS_AFTER_LDFLAGS =\
-lw \
-lintl \
-lsocket \
-lnsl \
-lgen \
-lm \
-ldl
endif
ifeq ($(OS_ARCH),AIX)
OS_BEFORE_LDFLAGS =\
-L/usr/dt/lib
endif
ifeq ($(OS_ARCH),IRIX)
endif
ifeq ($(OS_ARCH),Linux)
OS_BEFORE_LDFLAGS = -L/usr/X11R6/lib
endif
ifeq ($(OS_ARCH),HP-UX)
OS_BEFORE_LDFLAGS = -L$(DIST)/bin
endif
LDFLAGS =\
$(OS_BEFORE_LDFLAGS) \
$(DIST_FLAGS) \
$(XFE_FLAGS) \
$(X_LD_FLAGS) \
$(OS_AFTER_LDFLAGS)
##
## Test dependancies
##
#OTHER_DEPS = Makefile $(XFE_FLAGS)
OTHER_DEPS = $(XFE_FLAGS)
##
## Resource source rule
##
#$(OBJDIR)/%.ad.c:: %.ad # Makefile
# @$(MAKE_OBJDIR)
# @echo 'char * fallback_resources[] = {' > $@; \
# ./ad2c $< >> $@; \
# echo '0};' >> $@
##
## Resource object rule
##
#$(OBJDIR)/%.ad.o: $(OBJDIR)/%.ad.c
# @$(MAKE_OBJDIR)
# $(CC) -o $@ -c $<
##
## Binary link rule
##
$(OBJDIR)/%.exe: $(OBJDIR)/%.o $(OTHER_DEPS)
@$(MAKE_OBJDIR)
$(XFE_PURIFY) $(CC) -o $@ $< $(LDFLAGS)

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,72 @@
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/*
* The following source code is part of the Microline Widget Library.
* The Microline widget library is made available to Mozilla developers
* under the Netscape Public License (NPL) by Neuron Data. To learn
* more about Neuron Data, please visit the Neuron Data Home Page at
* http://www.neurondata.com.
*/
#include <Xm/Xm.h>
#include <Xm/Label.h>
#include <XmL/Folder.h>
main(argc, argv)
int argc;
char *argv[];
{
XtAppContext app;
Widget shell, folder, form;
XmString str;
char buf[20];
int i;
shell = XtAppInitialize(&app, "Folder1", NULL, 0,
&argc, argv, NULL, NULL, 0);
folder = XtVaCreateManagedWidget("folder",
xmlFolderWidgetClass, shell,
NULL);
for (i = 0; i < 3; i++)
{
/* Add a tab and Form managed by the tab to the Folder */
sprintf(buf, "Tab %d", i);
str = XmStringCreateSimple(buf);
form = XmLFolderAddTabForm(folder, str);
XmStringFree(str);
/* Add a Label as a child of the Form */
sprintf(buf, "Form %d", i);
XtVaCreateManagedWidget(buf,
xmLabelWidgetClass, form,
XmNmarginWidth, 100,
XmNmarginHeight, 80,
XmNtopAttachment, XmATTACH_FORM,
XmNbottomAttachment, XmATTACH_FORM,
XmNleftAttachment, XmATTACH_FORM,
XmNrightAttachment, XmATTACH_FORM,
NULL);
}
XtRealizeWidget(shell);
XtAppMainLoop(app);
}

View File

@@ -0,0 +1,108 @@
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/*
* The following source code is part of the Microline Widget Library.
* The Microline widget library is made available to Mozilla developers
* under the Netscape Public License (NPL) by Neuron Data. To learn
* more about Neuron Data, please visit the Neuron Data Home Page at
* http://www.neurondata.com.
*/
#include <Xm/Xm.h>
#include <Xm/DrawnB.h>
#include <Xm/Form.h>
#include <Xm/Label.h>
#include <XmL/Folder.h>
main(argc, argv)
int argc;
char *argv[];
{
XtAppContext app;
Widget shell, form, folder, tab, folderForm;
XmString str;
char pageName[20], tabName[20];
int i;
shell = XtAppInitialize(&app, "Folder2", NULL, 0,
&argc, argv, NULL, NULL, 0);
form = XtVaCreateManagedWidget("form",
xmFormWidgetClass, shell,
XtVaTypedArg, XmNbackground, XmRString, "#C0C0C0", 8,
XmNmarginWidth, 8,
XmNmarginHeight, 8,
XmNshadowThickness, 0,
NULL);
folder = XtVaCreateManagedWidget("folder",
xmlFolderWidgetClass, form,
XtVaTypedArg, XmNbackground, XmRString, "#C0C0C0", 8,
XtVaTypedArg, XmNforeground, XmRString, "black", 6,
XmNtabPlacement, XmFOLDER_RIGHT,
XmNmarginWidth, 10,
XmNtopAttachment, XmATTACH_FORM,
XmNbottomAttachment, XmATTACH_FORM,
XmNleftAttachment, XmATTACH_FORM,
XmNrightAttachment, XmATTACH_FORM,
NULL);
for (i = 0; i < 3; i++)
{
sprintf(pageName, "Page %d", i);
/* Add a tab (DrawnButton) to the Folder */
sprintf(tabName, "Tab %d", i);
str = XmStringCreateSimple(tabName);
tab = XtVaCreateManagedWidget("tab",
xmDrawnButtonWidgetClass, folder,
XtVaTypedArg, XmNbackground, XmRString, "#C0C0C0", 8,
XtVaTypedArg, XmNforeground, XmRString, "black", 6,
XmNlabelString, str,
XmNtabManagedName, pageName,
NULL);
XmStringFree(str);
/* Add a Form to the Folder which will appear in the page */
/* area. This Form will be managed by the tab created above */
/* because it has the same tabManagedName as the tab widget */
folderForm = XtVaCreateManagedWidget("folderForm",
xmFormWidgetClass, folder,
XtVaTypedArg, XmNbackground, XmRString, "#C0C0C0", 8,
XmNtabManagedName, pageName,
NULL);
/* Add a Label as a child of the Form */
XtVaCreateManagedWidget(pageName,
xmLabelWidgetClass, folderForm,
XtVaTypedArg, XmNbackground, XmRString, "#C0C0C0", 8,
XtVaTypedArg, XmNforeground, XmRString, "black", 6,
XmNmarginWidth, 100,
XmNmarginHeight, 80,
XmNtopAttachment, XmATTACH_FORM,
XmNbottomAttachment, XmATTACH_FORM,
XmNleftAttachment, XmATTACH_FORM,
XmNrightAttachment, XmATTACH_FORM,
NULL);
}
XtRealizeWidget(shell);
XtAppMainLoop(app);
}

View File

@@ -0,0 +1,125 @@
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/*
* The following source code is part of the Microline Widget Library.
* The Microline widget library is made available to Mozilla developers
* under the Netscape Public License (NPL) by Neuron Data. To learn
* more about Neuron Data, please visit the Neuron Data Home Page at
* http://www.neurondata.com.
*/
#include <Xm/Xm.h>
#include <Xm/Form.h>
#include <Xm/Label.h>
#include <Xm/PushB.h>
#include <XmL/Folder.h>
main(argc, argv)
int argc;
char *argv[];
{
XtAppContext app;
Widget shell, form, folder, shellForm, label, button;
XmString str;
char buf[20];
int i;
static char tabName[6][20] =
{
"Standard",
"PTEL Server",
"NTEL Server",
"Advanced",
"Transfer Address",
"Multimedia"
};
shell = XtAppInitialize(&app, "Folder3", NULL, 0,
&argc, argv, NULL, NULL, 0);
form = XtVaCreateManagedWidget("form",
xmFormWidgetClass, shell,
XtVaTypedArg, XmNbackground, XmRString, "#C0C0C0", 8,
XmNmarginWidth, 10,
XmNmarginHeight, 10,
XmNshadowThickness, 0,
NULL);
folder = XtVaCreateManagedWidget("folder",
xmlFolderWidgetClass, form,
XtVaTypedArg, XmNbackground, XmRString, "#C0C0C0", 8,
XtVaTypedArg, XmNforeground, XmRString, "black", 6,
XmNtabsPerRow, 3,
XmNmarginWidth, 10,
XmNtopAttachment, XmATTACH_FORM,
XmNbottomAttachment, XmATTACH_FORM,
XmNleftAttachment, XmATTACH_FORM,
XmNrightAttachment, XmATTACH_FORM,
NULL);
for (i = 0; i < 6; i++)
{
/* Add a tab and Form managed by the tab to the Folder */
str = XmStringCreateSimple(tabName[i]);
shellForm = XmLFolderAddTabForm(folder, str);
XmStringFree(str);
XtVaSetValues(shellForm,
XmNmarginWidth, 8,
XmNmarginHeight, 8,
NULL);
/* Add a Label as a child of the Form */
sprintf(buf, "Label For Page %d", i);
label = XtVaCreateManagedWidget(buf,
xmLabelWidgetClass, shellForm,
XtVaTypedArg, XmNbackground, XmRString, "#C0C0C0", 8,
XtVaTypedArg, XmNforeground, XmRString, "black", 6,
XmNmarginWidth, 100,
XmNmarginHeight, 80,
XmNtopAttachment, XmATTACH_FORM,
XmNleftAttachment, XmATTACH_FORM,
XmNrightAttachment, XmATTACH_FORM,
NULL);
/* Add a Button to pages 0 and 1 */
if (i < 2)
{
button = XtVaCreateManagedWidget("Sample Button",
xmPushButtonWidgetClass, shellForm,
XtVaTypedArg, XmNbackground, XmRString, "#C0C0C0", 8,
XtVaTypedArg, XmNforeground, XmRString, "black", 6,
XmNbottomAttachment, XmATTACH_FORM,
XmNrightAttachment, XmATTACH_FORM,
XmNmarginWidth, 5,
NULL);
XtVaSetValues(label,
XmNbottomAttachment, XmATTACH_WIDGET,
XmNbottomWidget, button,
NULL);
}
else
XtVaSetValues(label,
XmNbottomAttachment, XmATTACH_FORM,
NULL);
}
XtRealizeWidget(shell);
XtAppMainLoop(app);
}

View File

@@ -0,0 +1,228 @@
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/*
* The following source code is part of the Microline Widget Library.
* The Microline widget library is made available to Mozilla developers
* under the Netscape Public License (NPL) by Neuron Data. To learn
* more about Neuron Data, please visit the Neuron Data Home Page at
* http://www.neurondata.com.
*/
#include <Xm/Xm.h>
#include <Xm/DrawnB.h>
#include <Xm/Form.h>
#include <Xm/Label.h>
#include <Xm/PushB.h>
#include <XmL/Folder.h>
void addTab();
void removeTab();
void activate();
#define sphere_width 16
#define sphere_height 16
static unsigned char sphere_bits[] = {
0x00, 0x00, 0x00, 0x00, 0xc0, 0x07, 0xe0, 0x0f, 0xf0, 0x1f, 0x38, 0x3f,
0xb8, 0x3f, 0xf8, 0x3f, 0xf8, 0x3f, 0xf8, 0x3f, 0xf0, 0x1f, 0xe0, 0x0f,
0xc0, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
#define monitor_width 16
#define monitor_height 16
static unsigned char monitor_bits[] = {
0x00, 0x00, 0xf8, 0x3f, 0xf8, 0x3f, 0x18, 0x30, 0x58, 0x37, 0x18, 0x30,
0x58, 0x37, 0x18, 0x30, 0xf8, 0x3f, 0xf8, 0x3f, 0x80, 0x03, 0x80, 0x03,
0xf0, 0x1f, 0xf0, 0x1f, 0x00, 0x00, 0x00, 0x00};
Widget folder, label;
Pixmap monitorPixmap, spherePixmap;
main(argc, argv)
int argc;
char *argv[];
{
XtAppContext app;
Widget shell, form, folderForm, addButton, removeButton;
Pixel black, grey;
shell = XtAppInitialize(&app, "Folder4", NULL, 0,
&argc, argv, NULL, NULL, 0);
XtVaSetValues(shell,
XmNallowShellResize, True,
NULL);
form = XtVaCreateManagedWidget("form",
xmFormWidgetClass, shell,
XtVaTypedArg, XmNbackground, XmRString, "#C0C0C0", 8,
XmNmarginWidth, 8,
XmNmarginHeight, 8,
XmNhorizontalSpacing, 4,
XmNverticalSpacing, 4,
XmNshadowThickness, 0,
NULL);
/* Create Pixmaps with grey background (from form) */
black = BlackPixelOfScreen(XtScreen(shell));
XtVaGetValues(form,
XmNbackground, &grey,
NULL);
spherePixmap = XCreatePixmapFromBitmapData(XtDisplay(shell),
DefaultRootWindow(XtDisplay(shell)),
sphere_bits, sphere_width, sphere_height,
black, grey,
DefaultDepthOfScreen(XtScreen(shell)));
monitorPixmap = XCreatePixmapFromBitmapData(XtDisplay(shell),
DefaultRootWindow(XtDisplay(shell)),
monitor_bits, monitor_width, monitor_height,
black, grey,
DefaultDepthOfScreen(XtScreen(shell)));
removeButton = XtVaCreateManagedWidget("Remove Tab",
xmPushButtonWidgetClass, form,
XtVaTypedArg, XmNbackground, XmRString, "#C0C0C0", 8,
XtVaTypedArg, XmNforeground, XmRString, "black", 6,
XmNrightAttachment, XmATTACH_FORM,
XmNbottomAttachment, XmATTACH_FORM,
XmNmarginWidth, 10,
NULL);
XtAddCallback(removeButton, XmNactivateCallback, removeTab, NULL);
addButton = XtVaCreateManagedWidget("Add Tab",
xmPushButtonWidgetClass, form,
XtVaTypedArg, XmNbackground, XmRString, "#C0C0C0", 8,
XtVaTypedArg, XmNforeground, XmRString, "black", 6,
XmNrightAttachment, XmATTACH_WIDGET,
XmNrightWidget, removeButton,
XmNbottomAttachment, XmATTACH_FORM,
XmNmarginWidth, 20,
NULL);
XtAddCallback(addButton, XmNactivateCallback, addTab, NULL);
folder = XtVaCreateManagedWidget("folder",
xmlFolderWidgetClass, form,
XtVaTypedArg, XmNbackground, XmRString, "#C0C0C0", 8,
XtVaTypedArg, XmNforeground, XmRString, "black", 6,
XmNtabsPerRow, 4,
XmNcornerStyle, XmCORNER_NONE,
XmNspacing, 1,
XmNtopAttachment, XmATTACH_FORM,
XmNbottomAttachment, XmATTACH_WIDGET,
XmNbottomWidget, removeButton,
XmNleftAttachment, XmATTACH_FORM,
XmNrightAttachment, XmATTACH_FORM,
XmNresizePolicy, XmRESIZE_DYNAMIC,
NULL);
XtAddCallback(folder, XmNactivateCallback, activate, NULL);
/* Add a Form to the Folder, this will appear in the page area */
folderForm = XtVaCreateManagedWidget("form",
xmFormWidgetClass, folder,
XtVaTypedArg, XmNbackground, XmRString, "#C0C0C0", 8,
NULL);
/* Add a Label as a child of the Form */
label = XtVaCreateManagedWidget("Page Area",
xmLabelWidgetClass, folderForm,
XtVaTypedArg, XmNbackground, XmRString, "#C0C0C0", 8,
XtVaTypedArg, XmNforeground, XmRString, "black", 6,
XmNmarginWidth, 100,
XmNmarginHeight, 80,
XmNrecomputeSize, False,
XmNtopAttachment, XmATTACH_FORM,
XmNbottomAttachment, XmATTACH_FORM,
XmNleftAttachment, XmATTACH_FORM,
XmNrightAttachment, XmATTACH_FORM,
NULL);
XtRealizeWidget(shell);
XtAppMainLoop(app);
}
void addTab(w, clientData, callData)
Widget w;
XtPointer clientData;
XtPointer callData;
{
Widget tabButton, form;
int count;
char tabName[30];
XmString str;
Pixmap pixmap;
XtVaGetValues(folder,
XmNtabCount, &count,
NULL);
/* Every other tab will have a sphere pixmap */
if (count % 2)
pixmap = spherePixmap;
else
pixmap = monitorPixmap;
/* Add a tab (DrawnButton) to the Folder */
sprintf(tabName, "Tab %d", count);
str = XmStringCreateSimple(tabName);
tabButton = XtVaCreateManagedWidget("tab",
xmDrawnButtonWidgetClass, folder,
XmNlabelString, str,
XmNmarginWidth, 8,
XmNtabPixmap, pixmap,
XmNtabInactivePixmap, pixmap,
NULL);
XmStringFree(str);
}
void removeTab(w, clientData, callData)
Widget w;
XtPointer clientData;
XtPointer callData;
{
int count;
WidgetList tabs;
XtVaGetValues(folder,
XmNtabCount, &count,
XmNtabWidgetList, &tabs,
NULL);
if (!count)
return;
XtDestroyWidget(tabs[count - 1]);
}
void activate(w, clientData, callData)
Widget w;
XtPointer clientData;
XtPointer callData;
{
XmLFolderCallbackStruct *cbs;
XmString str;
char buf[20];
int pos;
/* Change the Label in the page area to reflect */
/* the selected position */
cbs = (XmLFolderCallbackStruct *)callData;
sprintf(buf, "Page %d", cbs->pos);
str = XmStringCreateSimple(buf);
XtVaSetValues(label,
XmNlabelString, str,
NULL);
}

View File

@@ -0,0 +1,67 @@
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/*
* The following source code is part of the Microline Widget Library.
* The Microline widget library is made available to Mozilla developers
* under the Netscape Public License (NPL) by Neuron Data. To learn
* more about Neuron Data, please visit the Neuron Data Home Page at
* http://www.neurondata.com.
*/
#include <Xm/Xm.h>
#include <XmL/Grid.h>
static char *data =
"Europe|CD-ROM|$29\n\
Yugoslovia|Floppy|$39\n\
North America|Tape|$29\n\
South America|CD-ROM|$49\n\
Japan|Tape|$49\n\
Russia|Floppy|$49\n\
Poland|CD-ROM|$39\n\
Norway|CD-ROM|$29\n\
England|Tape|$49\n\
Jordan|CD-ROM|$39";
main(argc, argv)
int argc;
char *argv[];
{
XtAppContext app;
Widget shell, grid;
shell = XtAppInitialize(&app, "Grid1", NULL, 0,
&argc, argv, NULL, NULL, 0);
grid = XtVaCreateManagedWidget("grid",
xmlGridWidgetClass, shell,
XmNrows, 10,
XmNvisibleRows, 7,
XmNcolumns, 3,
XmNsimpleWidths, "20c 8c 8c",
XmNhorizontalSizePolicy, XmVARIABLE,
NULL);
XmLGridSetStrings(grid, data);
XtRealizeWidget(shell);
XtAppMainLoop(app);
}

View File

@@ -0,0 +1,160 @@
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/*
* The following source code is part of the Microline Widget Library.
* The Microline widget library is made available to Mozilla developers
* under the Netscape Public License (NPL) by Neuron Data. To learn
* more about Neuron Data, please visit the Neuron Data Home Page at
* http://www.neurondata.com.
*/
#include <Xm/Xm.h>
#include <Xm/Form.h>
#include <Xm/PushB.h>
#include <XmL/Grid.h>
void showSelected();
static char *data =
"Country|Media|Price\n\
Europe|CD-ROM|$29\n\
Yugoslovia|Floppy|$39\n\
North America|Tape|$29\n\
South America|CD-ROM|$49\n\
Japan|Tape|$49\n\
Russia|Floppy|$49\n\
Poland|CD-ROM|$39\n\
Norway|CD-ROM|$29\n\
England|Tape|$49\n\
Jordan|CD-ROM|$39";
Widget grid;
main(argc, argv)
int argc;
char *argv[];
{
XtAppContext app;
Widget shell, form, button;
XmString str;
shell = XtAppInitialize(&app, "Grid2", NULL, 0,
&argc, argv, NULL, NULL, 0);
form = XtVaCreateManagedWidget("form",
xmFormWidgetClass, shell,
XtVaTypedArg, XmNbackground, XmRString, "#C0C0C0", 8,
XmNmarginWidth, 5,
XmNmarginHeight, 5,
XmNverticalSpacing, 5,
XmNshadowThickness, 0,
NULL);
str = XmStringCreateSimple("Print Selected");
button = XtVaCreateManagedWidget("button",
xmPushButtonWidgetClass, form,
XtVaTypedArg, XmNbackground, XmRString, "#C0C0C0", 8,
XtVaTypedArg, XmNforeground, XmRString, "black", 6,
XmNbottomAttachment, XmATTACH_FORM,
XmNrightAttachment, XmATTACH_FORM,
XmNlabelString, str,
NULL);
XmStringFree(str);
XtAddCallback(button, XmNactivateCallback, showSelected, NULL);
/* Create a Grid in multiple row select mode with 1 heading row */
/* and 3 columns */
grid = XtVaCreateManagedWidget("grid",
xmlGridWidgetClass, form,
XtVaTypedArg, XmNbackground, XmRString, "#C0C0C0", 8,
XtVaTypedArg, XmNforeground, XmRString, "black", 6,
XtVaTypedArg, XmNselectBackground, XmRString, "#000080", 8,
XtVaTypedArg, XmNselectForeground, XmRString, "white", 6,
XtVaTypedArg, XmNblankBackground, XmRString, "white", 6,
XmNheadingRows, 1,
XmNvisibleRows, 7,
XmNcolumns, 3,
XmNsimpleWidths, "20c 10c 10c",
XmNhorizontalSizePolicy, XmVARIABLE,
XmNvsbDisplayPolicy, XmSTATIC,
XmNhighlightRowMode, True,
XmNselectionPolicy, XmSELECT_MULTIPLE_ROW,
XmNshadowThickness, 0,
XmNtopAttachment, XmATTACH_FORM,
XmNbottomAttachment, XmATTACH_WIDGET,
XmNbottomWidget, button,
XmNleftAttachment, XmATTACH_FORM,
XmNrightAttachment, XmATTACH_FORM,
NULL);
/* Set default cell values for new cells (which will be the */
/* cells created when we add content rows) */
XtVaSetValues(grid,
XmNcellDefaults, True,
XtVaTypedArg, XmNcellBackground, XmRString, "white", 6,
XmNcellLeftBorderType, XmBORDER_NONE,
XmNcellRightBorderType, XmBORDER_NONE,
XmNcellTopBorderType, XmBORDER_NONE,
XmNcellBottomBorderType, XmBORDER_NONE,
NULL);
/* Set default cell alignment for new cells in columns 0 and 1 */
XtVaSetValues(grid,
XmNcellDefaults, True,
XmNcolumnRangeStart, 0,
XmNcolumnRangeEnd, 1,
XmNcellAlignment, XmALIGNMENT_LEFT,
NULL);
/* Set default cell alignment for new cells in column 2 */
XtVaSetValues(grid,
XmNcellDefaults, True,
XmNcolumn, 2,
XmNcellAlignment, XmALIGNMENT_RIGHT,
NULL);
/* Add 10 content rows */
XtVaSetValues(grid,
XmNrows, 10,
NULL);
XmLGridSetStrings(grid, data);
XtRealizeWidget(shell);
XtAppMainLoop(app);
}
void showSelected(w, clientData, callData)
Widget w;
XtPointer clientData;
XtPointer callData;
{
int i, count, *pos;
printf ("Selected Rows: ");
count = XmLGridGetSelectedRowCount(grid);
if (count)
{
pos = (int *)malloc(sizeof(int) * count);
XmLGridGetSelectedRows(grid, pos, count);
for (i = 0; i < count; i++)
printf ("%d ", pos[i]);
free((char *)pos);
}
else
printf ("none");
printf ("\n");
}

View File

@@ -0,0 +1,290 @@
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/*
* The following source code is part of the Microline Widget Library.
* The Microline widget library is made available to Mozilla developers
* under the Netscape Public License (NPL) by Neuron Data. To learn
* more about Neuron Data, please visit the Neuron Data Home Page at
* http://www.neurondata.com.
*/
#include <Xm/Xm.h>
#include <Xm/Form.h>
#include <Xm/Text.h>
#include <Xm/Label.h>
#include <Xm/PushB.h>
#include <XmL/Grid.h>
Widget label, text, grid, gridText;
static int busy = 0;
void cellFocus();
void textModify();
void copy();
void paste();
main(argc, argv)
int argc;
char *argv[];
{
XtAppContext app;
Widget shell, form, copyButton, pasteButton;
XmString str;
char buf[4];
int i;
shell = XtAppInitialize(&app, "Grid3", NULL, 0,
&argc, argv, NULL, NULL, 0);
form = XtVaCreateManagedWidget("form",
xmFormWidgetClass, shell,
XtVaTypedArg, XmNbackground, XmRString, "#C0C0C0", 8,
XmNshadowThickness, 0,
NULL);
str = XmStringCreateSimple("(A 1)");
label = XtVaCreateManagedWidget("label",
xmLabelWidgetClass, form,
XtVaTypedArg, XmNbackground, XmRString, "#C0C0C0", 8,
XtVaTypedArg, XmNforeground, XmRString, "black", 6,
XmNtopAttachment, XmATTACH_FORM,
XmNmarginHeight, 4,
XmNleftAttachment, XmATTACH_FORM,
XmNlabelString, str,
NULL);
XmStringFree(str);
pasteButton = XtVaCreateManagedWidget("Paste To Focus",
xmPushButtonWidgetClass, form,
XtVaTypedArg, XmNbackground, XmRString, "#C0C0C0", 8,
XtVaTypedArg, XmNforeground, XmRString, "black", 6,
XmNrightAttachment, XmATTACH_FORM,
XmNmarginHeight, 0,
NULL);
XtAddCallback(pasteButton, XmNactivateCallback, paste, NULL);
copyButton = XtVaCreateManagedWidget("Copy Selected",
xmPushButtonWidgetClass, form,
XtVaTypedArg, XmNbackground, XmRString, "#C0C0C0", 8,
XtVaTypedArg, XmNforeground, XmRString, "black", 6,
XmNrightAttachment, XmATTACH_WIDGET,
XmNrightWidget, pasteButton,
XmNmarginHeight, 0,
NULL);
XtAddCallback(copyButton, XmNactivateCallback, copy, NULL);
text = XtVaCreateManagedWidget("text",
xmTextWidgetClass, form,
XtVaTypedArg, XmNbackground, XmRString, "white", 6,
XtVaTypedArg, XmNforeground, XmRString, "black", 6,
XmNtopAttachment, XmATTACH_FORM,
XmNleftAttachment, XmATTACH_WIDGET,
XmNleftWidget, label,
XmNrightAttachment, XmATTACH_WIDGET,
XmNrightWidget, copyButton,
XmNmarginHeight, 0,
NULL);
/* Create a Grid with 1 heading column and 1 heading row */
grid = XtVaCreateManagedWidget("grid",
xmlGridWidgetClass, form,
XtVaTypedArg, XmNbackground, XmRString, "#C0C0C0", 8,
XtVaTypedArg, XmNforeground, XmRString, "black", 6,
XmNheadingColumns, 1,
XmNcolumns, 26,
XmNvisibleColumns, 8,
XmNhsbDisplayPolicy, XmSTATIC,
XmNrows, 100,
XmNheadingRows, 1,
XmNvisibleRows, 12,
XmNvsbDisplayPolicy, XmSTATIC,
XmNallowDragSelected, True,
XmNallowDrop, True,
XmNallowRowResize, True,
XmNallowColumnResize, True,
XmNtopAttachment, XmATTACH_WIDGET,
XmNtopWidget, text,
XmNtopOffset, 2,
XmNbottomAttachment, XmATTACH_FORM,
XmNleftAttachment, XmATTACH_FORM,
XmNrightAttachment, XmATTACH_FORM,
XmNshadowThickness, 0,
XmNselectionPolicy, XmSELECT_CELL,
NULL);
/* Make all cells in the content rows and content columns */
/* (the data cells) editable and set their borders and color */
XtVaSetValues(grid,
XmNcellEditable, True,
XtVaTypedArg, XmNcellBackground, XmRString, "white", 6,
XmNcellAlignment, XmALIGNMENT_RIGHT,
XmNcellTopBorderType, XmBORDER_NONE,
XmNcellLeftBorderType, XmBORDER_NONE,
XtVaTypedArg, XmNcellRightBorderColor, XmRString, "#606060", 8,
XtVaTypedArg, XmNcellBottomBorderColor, XmRString, "#606060", 8,
NULL);
/* Add callbacks which update the Label and to synchronize */
/* the Text widget outside the Grid with the one inside the Grid */
XtAddCallback(grid, XmNcellFocusCallback, cellFocus, NULL);
XtAddCallback(text, XmNvalueChangedCallback, textModify, NULL);
XtVaGetValues(grid,
XmNtextWidget, &gridText,
NULL);
XtAddCallback(gridText, XmNvalueChangedCallback, textModify, NULL);
XtVaSetValues(gridText,
XtVaTypedArg, XmNbackground, XmRString, "white", 6,
NULL);
/* Set the labels on the heading rows and columns */
for (i = 0; i < 26; i++)
{
sprintf(buf, "%c", 'A' + i);
XmLGridSetStringsPos(grid, XmHEADING, 0, XmCONTENT, i, buf);
}
for (i = 0; i < 100; i++)
{
sprintf(buf, "%d", i + 1);
XmLGridSetStringsPos(grid, XmCONTENT, i, XmHEADING, 0, buf);
}
XtRealizeWidget(shell);
XtAppMainLoop(app);
}
void cellFocus(w, clientData, callData)
Widget w;
XtPointer clientData;
XtPointer callData;
{
XmLGridCallbackStruct *cbs;
XmLGridRow row;
XmLGridColumn column;
Widget sharedText;
XmString str;
char buf[10], *c;
cbs = (XmLGridCallbackStruct *)callData;
if (cbs->reason != XmCR_CELL_FOCUS_IN)
return;
/* Update the Label to reflect the new focus position */
sprintf(buf, "(%c %d)", 'A' + cbs->column, cbs->row + 1);
str = XmStringCreateSimple(buf);
XtVaSetValues(label,
XmNlabelString, str,
NULL);
XmStringFree(str);
/* Set the Text widget outside the Grid to the string contained */
/* in the new focus cell. We set busy here because this change will */
/* generate a valueChanged callback and we want to notify our */
/* valueChanged callback not to do any processing because of */
/* this change */
if (busy)
return;
busy = 1;
row = XmLGridGetRow(w, cbs->rowType, cbs->row);
column = XmLGridGetColumn(w, cbs->columnType, cbs->column);
XtVaGetValues(w,
XmNrowPtr, row,
XmNcolumnPtr, column,
XmNcellString, &str,
NULL);
c = 0;
if (str)
XmStringGetLtoR(str, XmSTRING_DEFAULT_CHARSET, &c);
if (c)
{
XmTextSetString(text, c);
XtFree(c);
XmTextSetSelection(text, 0, XmTextGetLastPosition(text),
CurrentTime);
}
else
XmTextSetString(text, "");
if (str)
XmStringFree(str);
busy = 0;
}
void textModify(w, clientData, callData)
Widget w;
XtPointer clientData;
XtPointer callData;
{
int row, column;
Boolean focusIn;
XmString str;
char *c;
/* If either Text widget changes (the Grid's Text widget or */
/* the Text widget outside of the Grid), update the other one */
/* to reflect to change and update the Grid itself if the */
/* Text widget outside the Grid changes. We set busy in this */
/* function to keep the XmTextSetString() from causing this */
/* callback to be called while inside the callback. */
if (busy)
return;
busy = 1;
c = XmTextGetString(w);
if (w == gridText)
XmTextSetString(text, c);
else
{
XmLGridGetFocus(grid, &row, &column, &focusIn);
if (row != -1 && column != -1)
{
str = XmStringCreateSimple(c);
XtVaSetValues(grid,
XmNrow, row,
XmNcolumn, column,
XmNcellString, str,
NULL);
XmStringFree(str);
XmTextSetString(gridText, c);
}
}
XtFree(c);
busy = 0;
}
void copy(w, clientData, callData)
Widget w;
XtPointer clientData;
XtPointer callData;
{
XmLGridCopySelected(grid, CurrentTime);
}
void paste(w, clientData, callData)
Widget w;
XtPointer clientData;
XtPointer callData;
{
/* This pastes starting at the current focus cell, an alternative */
/* method of pasting would be to have the user select an area */
/* to paste into. To perform this, we could get the selected area */
/* and use XmLGridPastePos() to paste into that area */
XmLGridPaste(grid);
}

View File

@@ -0,0 +1,285 @@
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/*
* The following source code is part of the Microline Widget Library.
* The Microline widget library is made available to Mozilla developers
* under the Netscape Public License (NPL) by Neuron Data. To learn
* more about Neuron Data, please visit the Neuron Data Home Page at
* http://www.neurondata.com.
*/
#include <Xm/Xm.h>
#include <Xm/PushB.h>
#include <Xm/Form.h>
#include <XmL/Grid.h>
void cellSelect();
void showSelected();
#define HEADINGFONT "-*-helvetica-bold-o-*--*-100-*-*-*-*-iso8859-1"
#define CONTENTFONT "-*-helvetica-medium-r-*--*-100-*-*-*-*-iso8859-1"
#define check_width 9
#define check_height 9
static unsigned char check_bits[] = {
0x00, 0x01, 0x80, 0x01, 0xc0, 0x00, 0x61, 0x00, 0x37, 0x00, 0x3e, 0x00,
0x1c, 0x00, 0x08, 0x00, 0x00, 0x00};
#define nocheck_width 9
#define nocheck_height 9
static char nocheck_bits[] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
static char *data[20] =
{
"3|Bob Thompson|bobt@teledyne.com",
"12|Darl Simon|ds@atg.org",
"14|Jacq Frontier|jf@terrax.com",
"19|Patty Lee|patlee@isis.com",
"22|Michal Barnes|mickeyb@softorb.com",
"23|Dave Schultz|daves@timing.com",
"23|Eric Stanley|ericst@aldor.com",
"29|Tim Winters|timw@terra.com",
"31|Agin Tomitu|agt@umn.edu",
"33|Betty Tinner|bett@ost.edu",
"37|Tom Smith|tsmith@netwld.com",
"38|Rick Wild|raw@mlsoft.com",
"41|Al Joyce|aj@ulm.edu",
"41|Tim Burtan|timb@autoc.com",
"41|George Marlin|gjm@eyeln.com",
"41|Bill Boxer|billb@idesk.com",
"41|Maria Montez|marm@ohio.edu",
"41|Yin Fang|aj@utxs.edu",
"41|Suzy Saps|ss@umg.edu",
"41|Jerry Rodgers|jr@lyra.com",
};
Pixmap nocheckPix, checkPix;
Widget grid;
main(argc, argv)
int argc;
char *argv[];
{
XtAppContext app;
Widget shell, form, button;
Pixel blackPixel, whitePixel;
Pixmap pix;
int i;
shell = XtAppInitialize(&app, "Grid4", NULL, 0,
&argc, argv, NULL, NULL, 0);
/* Create the pixmaps used for checkmarks */
blackPixel = BlackPixelOfScreen(XtScreen(shell));
whitePixel = WhitePixelOfScreen(XtScreen(shell));
checkPix = XCreatePixmapFromBitmapData(XtDisplay(shell),
DefaultRootWindow(XtDisplay(shell)),
check_bits, check_width, check_height,
blackPixel, whitePixel,
DefaultDepthOfScreen(XtScreen(shell)));
nocheckPix = XCreatePixmapFromBitmapData(XtDisplay(shell),
DefaultRootWindow(XtDisplay(shell)),
nocheck_bits, nocheck_width, nocheck_height,
blackPixel, whitePixel,
DefaultDepthOfScreen(XtScreen(shell)));
form = XtVaCreateManagedWidget("form",
xmFormWidgetClass, shell,
XtVaTypedArg, XmNbackground, XmRString, "#C0C0C0", 8,
XmNshadowThickness, 0,
NULL);
button = XtVaCreateManagedWidget("Show Selected",
xmPushButtonWidgetClass, form,
XtVaTypedArg, XmNbackground, XmRString, "#C0C0C0", 8,
XtVaTypedArg, XmNforeground, XmRString, "black", 6,
XmNbottomAttachment, XmATTACH_FORM,
XmNleftAttachment, XmATTACH_FORM,
NULL);
XtAddCallback(button, XmNactivateCallback, showSelected, NULL);
/* Create a Grid with 4 columns. We set the fontList in this */
/* function for the Grid to use when calculating the visible rows */
grid = XtVaCreateManagedWidget("grid",
xmlGridWidgetClass, form,
XtVaTypedArg, XmNbackground, XmRString, "#C0C0C0", 8,
XtVaTypedArg, XmNforeground, XmRString, "black", 6,
XtVaTypedArg, XmNfontList, XmRString, CONTENTFONT,
strlen(CONTENTFONT) + 1,
XmNcolumns, 4,
XmNsimpleWidths, "3c 4c 17c 20c",
XmNhorizontalSizePolicy, XmVARIABLE,
XmNvsbDisplayPolicy, XmSTATIC,
XmNvisibleRows, 13,
XmNselectionPolicy, XmSELECT_NONE,
XmNhighlightRowMode, True,
XmNshadowType, XmSHADOW_ETCHED_IN,
XmNtopAttachment, XmATTACH_FORM,
XmNleftAttachment, XmATTACH_FORM,
XmNrightAttachment, XmATTACH_FORM,
XmNbottomAttachment, XmATTACH_WIDGET,
XmNbottomWidget, button,
NULL);
XtAddCallback(grid, XmNselectCallback, cellSelect, NULL);
/* Freeze the Grid's layout since we will be making changes which */
/* would cause the Grid to recompute its layout. The Grid will */
/* recompute its layout when layoutFrozen is set back to False */
XtVaSetValues(grid,
XmNlayoutFrozen, True,
NULL);
/* Set defaults for new cells and aligments for new cells in */
/* columns 1-3. Then, add a heading row */
XtVaSetValues(grid,
XmNcellDefaults, True,
XtVaTypedArg, XmNcellFontList, XmRString, HEADINGFONT,
strlen(HEADINGFONT) + 1,
XtVaTypedArg, XmNcellBackground, XmRString, "#000080", 8,
XtVaTypedArg, XmNcellForeground, XmRString, "white", 6,
XmNcellLeftBorderType, XmBORDER_NONE,
XmNcellRightBorderType, XmBORDER_NONE,
XmNcellTopBorderType, XmBORDER_NONE,
XmNcellBottomBorderType, XmBORDER_NONE,
NULL);
XtVaSetValues(grid,
XmNcellDefaults, True,
XmNcolumn, 1,
XmNcellAlignment, XmALIGNMENT_RIGHT,
NULL);
XtVaSetValues(grid,
XmNcellDefaults, True,
XmNcolumnRangeStart, 2,
XmNcolumnRangeEnd, 3,
XmNcellAlignment, XmALIGNMENT_LEFT,
NULL);
XmLGridAddRows(grid, XmHEADING, -1, 1);
/* Set the headings */
XmLGridSetStrings(grid, "OD|Qty|Name|EMail Addr");
/* Set defaults for new cells. Also, set the default cell type */
/* for cells in column 0 to pixmap cell. Then add the content rows */
XtVaSetValues(grid,
XmNcellDefaults, True,
XtVaTypedArg, XmNcellFontList, XmRString, CONTENTFONT,
strlen(CONTENTFONT) + 1,
XtVaTypedArg, XmNcellBackground, XmRString, "white", 6,
XtVaTypedArg, XmNcellForeground, XmRString, "black", 6,
XmNcellBottomBorderType, XmBORDER_LINE,
XtVaTypedArg, XmNcellBottomBorderColor, XmRString, "black", 6,
NULL);
XtVaSetValues(grid,
XmNcellDefaults, True,
XmNcolumn, 0,
XmNcellType, XmPIXMAP_CELL,
NULL);
XmLGridAddRows(grid, XmCONTENT, -1, 20);
/* Set the content rows, Rows 2, 4, 5, 8 and 13 will have checkmarks */
for (i = 0; i < 20; i++)
{
XmLGridSetStringsPos(grid, XmCONTENT, i, XmCONTENT, 1, data[i]);
if (i == 2 || i == 4 || i == 5 || i == 8 || i == 13)
pix = checkPix;
else
pix = nocheckPix;
XtVaSetValues(grid,
XmNcolumn, 0,
XmNrow, i,
XmNcellPixmap, pix,
NULL);
}
XtVaSetValues(grid,
XmNlayoutFrozen, False,
NULL);
XtRealizeWidget(shell);
XtAppMainLoop(app);
}
void showSelected(w, clientData, callData)
Widget w;
XtPointer clientData;
XtPointer callData;
{
XmLGridRow row;
XmLGridColumn column;
Pixmap pix;
int i, n;
/* Display the selected rows, these are the rows which have a */
/* checkPix Pixmap in the first cell in the row */
printf ("Selected Rows: ");
XtVaGetValues(grid,
XmNrows, &n,
NULL);
for (i = 0; i < n; i++)
{
row = XmLGridGetRow(grid, XmCONTENT, i);
column = XmLGridGetColumn(grid, XmCONTENT, 0);
XtVaGetValues(grid,
XmNrowPtr, row,
XmNcolumnPtr, column,
XmNcellPixmap, &pix,
NULL);
if (pix == checkPix)
printf ("%d ", i);
}
printf ("\n");
}
void cellSelect(w, clientData, callData)
Widget w;
XtPointer clientData;
XtPointer callData;
{
XmLGridCallbackStruct *cbs;
XmLGridRow row;
XmLGridColumn column;
Pixmap pix;
cbs = (XmLGridCallbackStruct *)callData;
if (cbs->reason != XmCR_SELECT_CELL)
return;
if (cbs->rowType != XmCONTENT)
return;
/* Toggle the Pixmap in the first cell */
row = XmLGridGetRow(w, cbs->rowType, cbs->row);
column = XmLGridGetColumn(w, XmCONTENT, 0);
XtVaGetValues(w,
XmNrowPtr, row,
XmNcolumnPtr, column,
XmNcellPixmap, &pix,
NULL);
if (pix == nocheckPix)
pix = checkPix;
else
pix = nocheckPix;
XtVaSetValues(w,
XmNrow, cbs->row,
XmNcolumn, 0,
XmNcellPixmap, pix,
NULL);
}

View File

@@ -0,0 +1,202 @@
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/*
* The following source code is part of the Microline Widget Library.
* The Microline widget library is made available to Mozilla developers
* under the Netscape Public License (NPL) by Neuron Data. To learn
* more about Neuron Data, please visit the Neuron Data Home Page at
* http://www.neurondata.com.
*/
#include <Xm/Xm.h>
#include <XmL/Grid.h>
#define TITLEFONT "-*-helvetica-bold-r-*--*-140-*-*-*-*-iso8859-1"
#define BOLDFONT "-*-helvetica-bold-r-*--*-120-*-*-*-*-iso8859-1"
#define TEXTFONT "-*-helvetica-medium-r-*--*-100-*-*-*-*-iso8859-1"
static char *data =
"|1996 Income Summary\n\
|Shampoo|Conditioner|Soap|Total\n\
Revenues:\n\
Sales|$ 1,600,000|$ 1,000,000|$ 800,000|$ 3,400,000\n\
Less Discounts|(16,000)|(10,000)|(8,000)|(34,000)\n\
Less Return Allowance|(8,000)|(5,000)|(4,000)|(17,000)\n\
Net Revenue|1,576,000|985,000|792,000|3,349,000\n\
\n\
Less Expenses:\n\
Cost of Goods Sold|(640,000)|(330,000)|(264,000)|(1,234,000)\n\
Salary Expense|(380,000)|(280,000)|(180,000)|(840,000)\n\
Marketing Expense|(157,600)|(98,500)|(79,200)|(335,300)\n\
Rent Expense|(36,000)|(36,000)|(36,000)|(108,000)\n\
Misc. Other Expense|(36,408)|(22,335)|(16,776)|(75,519)\n\
Total Expenses|(1,250,008)|(766,835)|(575,976)|(2,592,819)\n\
\n\
Income Tax Expense|(130,397)|(87,266)|(86,410)|(304,072)\n\
Net Income|195,595|130,899|129,614|456,109";
main(argc, argv)
int argc;
char *argv[];
{
XtAppContext app;
Widget shell, grid;
int i, r;
shell = XtAppInitialize(&app, "Grid5", NULL, 0,
&argc, argv, NULL, NULL, 0);
grid = XtVaCreateManagedWidget("grid",
xmlGridWidgetClass, shell,
XtVaTypedArg, XmNbackground, XmRString, "#C0C0C0", 8,
XtVaTypedArg, XmNforeground, XmRString, "black", 6,
XmNheadingColumns, 1,
XmNcolumns, 3,
XmNfooterColumns, 1,
XmNsimpleWidths, "24c 11c 11c 11c 11c",
XmNvisibleColumns, 10,
XmNvisibleRows, 14,
XtVaTypedArg, XmNfontList, XmRString, TEXTFONT,
strlen(TEXTFONT) + 1,
XmNselectionPolicy, XmSELECT_NONE,
NULL);
XtVaSetValues(grid,
XmNlayoutFrozen, True,
NULL);
/* Add 'Income Summary' heading row with yellow background */
XtVaSetValues(grid,
XmNcellDefaults, True,
XtVaTypedArg, XmNcellBackground, XmRString, "#FFFF00", 8,
XtVaTypedArg, XmNcellForeground, XmRString, "#000080", 8,
XmNcellLeftBorderType, XmBORDER_NONE,
XmNcellRightBorderType, XmBORDER_NONE,
XmNcellTopBorderType, XmBORDER_NONE,
XtVaTypedArg, XmNcellBottomBorderColor, XmRString, "black", 6,
XmNcellAlignment, XmALIGNMENT_CENTER,
NULL);
XmLGridAddRows(grid, XmHEADING, -1, 1);
/* Set span on '1996 Income Summary' cell in heading row */
XtVaSetValues(grid,
XmNrowType, XmHEADING,
XmNrow, 0,
XmNcolumn, 0,
XmNcellColumnSpan, 2,
XtVaTypedArg, XmNcellFontList, XmRString, TITLEFONT,
strlen(TITLEFONT) + 1,
NULL);
/* Add 'Shampoo Conditioner Soap' heading row with white background */
XtVaSetValues(grid,
XmNcellDefaults, True,
XtVaTypedArg, XmNcellFontList, XmRString, BOLDFONT,
strlen(BOLDFONT) + 1,
XtVaTypedArg, XmNcellBackground, XmRString, "white", 6,
XtVaTypedArg, XmNcellForeground, XmRString, "black", 6,
XmNcellBottomBorderType, XmBORDER_NONE,
NULL);
XmLGridAddRows(grid, XmHEADING, -1, 1);
/* Add content and footer rows with heading column 0 left justified */
XtVaSetValues(grid,
XmNcellDefaults, True,
XmNcellAlignment, XmALIGNMENT_RIGHT,
XtVaTypedArg, XmNcellFontList, XmRString, TEXTFONT,
strlen(TEXTFONT) + 1,
NULL);
XtVaSetValues(grid,
XmNcellDefaults, True,
XmNcolumnType, XmHEADING,
XmNcolumn, 0,
XmNcellAlignment, XmALIGNMENT_LEFT,
NULL);
XmLGridAddRows(grid, XmCONTENT, -1, 15);
/* Add footer row with blue background */
XtVaSetValues(grid,
XmNcellDefaults, True,
XtVaTypedArg, XmNcellForeground, XmRString, "white", 6,
XtVaTypedArg, XmNcellBackground, XmRString, "#000080", 8,
XtVaTypedArg, XmNcellFontList, XmRString, BOLDFONT,
strlen(BOLDFONT) + 1,
NULL);
XmLGridAddRows(grid, XmFOOTER, -1, 1);
/* Bold 'Revenues' cell */
XtVaSetValues(grid,
XmNcolumnType, XmHEADING,
XmNcolumn, 0,
XmNrow, 0,
XtVaTypedArg, XmNcellFontList, XmRString, BOLDFONT,
strlen(BOLDFONT) + 1,
NULL);
/* Bold 'Less Expenses' cell */
XtVaSetValues(grid,
XmNcolumnType, XmHEADING,
XmNcolumn, 0,
XmNrow, 6,
XtVaTypedArg, XmNcellFontList, XmRString, BOLDFONT,
strlen(BOLDFONT) + 1,
NULL);
/* Grey middle and footer content column */
XtVaSetValues(grid,
XmNcolumnType, XmALL_TYPES,
XmNcolumnRangeStart, 2,
XmNcolumnRangeEnd, 4,
XmNcolumnStep, 2,
XtVaTypedArg, XmNcellBackground, XmRString, "#E8E8E8", 8,
NULL);
/* Grey 'Conditioner' and 'Total' cell in heading row 1 */
XtVaSetValues(grid,
XmNrowType, XmHEADING,
XmNrow, 1,
XmNcolumnType, XmALL_TYPES,
XmNcolumnRangeStart, 2,
XmNcolumnRangeEnd, 4,
XmNcolumnStep, 2,
XtVaTypedArg, XmNcellBackground, XmRString, "#E8E8E8", 8,
NULL);
/* Blue and bold 'Net Revenue' and 'Total Expenses' rows */
XtVaSetValues(grid,
XmNrowRangeStart, 4,
XmNrowRangeEnd, 12,
XmNrowStep, 8,
XmNcolumnType, XmALL_TYPES,
XtVaTypedArg, XmNcellForeground, XmRString, "white", 6,
XtVaTypedArg, XmNcellBackground, XmRString, "#000080", 8,
XtVaTypedArg, XmNcellFontList, XmRString, BOLDFONT,
strlen(BOLDFONT) + 1,
NULL);
XtVaSetValues(grid,
XmNlayoutFrozen, False,
NULL);
XmLGridSetStrings(grid, data);
XtRealizeWidget(shell);
XtAppMainLoop(app);
}

View File

@@ -0,0 +1,465 @@
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/*
* The following source code is part of the Microline Widget Library.
* The Microline widget library is made available to Mozilla developers
* under the Netscape Public License (NPL) by Neuron Data. To learn
* more about Neuron Data, please visit the Neuron Data Home Page at
* http://www.neurondata.com.
*/
#include <Xm/Xm.h>
#include <Xm/Text.h>
#include <XmL/Grid.h>
/* DATABASE PROTOTYPE FUNCTIONS */
int dbTableNumRows = 14;
int dbTableNumColumns = 5;
typedef enum {
ID, Desc, Price, Qty, UnitPrice, Buyer
}
DbTableColumnID;
typedef struct
{
DbTableColumnID id;
char label[15];
int width;
unsigned char cellAlignment;
Boolean cellEditable;
} DbTableColumn;
DbTableColumn dbTableColumns[] =
{
{ Desc, "Description", 16, XmALIGNMENT_LEFT, True },
{ Price, "Price", 9, XmALIGNMENT_LEFT, True },
{ Qty, "Qty", 5, XmALIGNMENT_LEFT, True },
{ UnitPrice, "Unit Prc", 9, XmALIGNMENT_LEFT, False },
{ Buyer, "Buyer", 15, XmALIGNMENT_LEFT, True },
};
typedef struct
{
char key[10];
char desc[20];
float price;
int qty;
char buyer[20];
} DbTableRow;
DbTableRow dbTableRows[] =
{
{ "key01", "Staples", 1.32, 100, "Tim Pick" },
{ "key02", "Notebooks", 1.11, 4, "Mary Miner" },
{ "key03", "3-Ring Binders", 2.59, 2, "Mary Miner" },
{ "key04", "Pads", 1.23, 3, "Tim Pick" },
{ "key05", "Scissors", 4.41, 1, "Mary Miner" },
{ "key06", "Pens", .29, 4, "Mary Miner" },
{ "key07", "Pencils", .10, 5, "Tim Pick" },
{ "key08", "Markers", .95, 3, "Mary Miner" },
{ "key09", "Fax Paper", 3.89, 100, "Bob Coal" },
{ "key10", "3.5\" Disks", 15.23, 30, "Tim Pick" },
{ "key11", "8mm Tape", 32.22, 2, "Bob Coal" },
{ "key12", "Toner", 35.69, 1, "Tim Pick" },
{ "key13", "Paper Cups", 4.25, 3, "Bob Coal" },
{ "key14", "Paper Clips", 2.09, 3, "Tim Pick" },
};
DbTableRow *dbFindRow(rowKey)
char *rowKey;
{
int i;
for (i = 0; i < dbTableNumRows; i++)
if (!strcmp(rowKey, dbTableRows[i].key))
return &dbTableRows[i];
return 0;
}
int dbCompareRowKeys(userData, l, r)
void *userData;
void *l;
void *r;
{
DbTableRow *dbRow1, *dbRow2;
float u1, u2;
dbRow1 = dbFindRow(*(char **)l);
dbRow2 = dbFindRow(*(char **)r);
switch ((int)userData)
{
case Desc:
return strcmp(dbRow1->desc, dbRow2->desc);
case Price:
u1 = dbRow1->price - dbRow2->price;
if (u1 < 0)
return -1;
else if (u1 == 0)
return 0;
return 1;
case Qty:
return dbRow1->qty - dbRow2->qty;
case UnitPrice:
u1 = dbRow1->price / (float)dbRow1->qty;
u2 = dbRow2->price / (float)dbRow2->qty;
if (u1 < u2)
return -1;
else if (u1 == u2)
return 0;
else
return 1;
case Buyer:
return strcmp(dbRow1->buyer, dbRow2->buyer);
}
return (int)(dbRow1 - dbRow2);
}
char **dbGetRowKeysSorted(sortColumnID)
int sortColumnID;
{
char **keys;
int i;
keys = (char **)malloc(sizeof(char *) * dbTableNumRows);
for (i = 0; i < dbTableNumRows; i++)
keys[i] = dbTableRows[i].key;
XmLSort(keys, dbTableNumRows, sizeof(char *),
dbCompareRowKeys, (void *)sortColumnID);
return keys;
}
/* GRID FUNCTIONS */
void setRowKeysInGridSorted(grid, sortColumnID)
Widget grid;
int sortColumnID;
{
char **keys;
int i;
keys = dbGetRowKeysSorted(sortColumnID);
/* Place a pointer to each row key in each rows userData */
for (i = 0; i < dbTableNumRows; i++)
XtVaSetValues(grid,
XmNrow, i,
XmNrowUserData, (XtPointer)keys[i],
NULL);
free((char *)keys);
}
void cellSelect(w, clientData, callData)
Widget w;
XtPointer clientData;
XtPointer callData;
{
XmLGridCallbackStruct *cbs;
XmLGridColumn column;
XtPointer columnUserData;
cbs = (XmLGridCallbackStruct *)callData;
if (cbs->rowType != XmHEADING)
return;
/* Cancel any edits in progress */
XmLGridEditCancel(w);
column = XmLGridGetColumn(w, cbs->columnType, cbs->column);
XtVaGetValues(w,
XmNcolumnPtr, column,
XmNcolumnUserData, &columnUserData,
NULL);
XtVaSetValues(w,
XmNcolumn, cbs->column,
XmNcolumnSortType, XmSORT_ASCENDING,
NULL);
setRowKeysInGridSorted(w, (DbTableColumnID)columnUserData);
XmLGridRedrawAll(w);
}
void cellDraw(w, clientData, callData)
Widget w;
XtPointer clientData;
XtPointer callData;
{
XmLGridCallbackStruct *cbs;
XmLGridDrawStruct *ds;
XmLGridRow row;
XmLGridColumn column;
XtPointer rowUserData, columnUserData;
DbTableRow *dbRow;
XRectangle cellRect;
int horizMargin, vertMargin;
XmString str;
char buf[50];
cbs = (XmLGridCallbackStruct *)callData;
if (cbs->rowType != XmCONTENT)
return;
ds = cbs->drawInfo;
/* Retrieve userData from the cells row */
row = XmLGridGetRow(w, cbs->rowType, cbs->row);
XtVaGetValues(w,
XmNrowPtr, row,
XmNrowUserData, &rowUserData,
NULL);
/* Retrieve userData from cells column */
column = XmLGridGetColumn(w, cbs->columnType, cbs->column);
XtVaGetValues(w,
XmNcolumnPtr, column,
XmNcolumnUserData, &columnUserData,
NULL);
/* Retrieve the cells value from the database */
dbRow = dbFindRow((char *)rowUserData);
switch ((DbTableColumnID)columnUserData)
{
case Desc:
sprintf(buf, "%s", dbRow->desc);
break;
case Price:
sprintf(buf, "$%4.2f", dbRow->price);
break;
case Qty:
sprintf(buf, "%d", dbRow->qty);
break;
case UnitPrice:
sprintf(buf, "$%4.2f", dbRow->price / (float)dbRow->qty);
break;
case Buyer:
sprintf(buf, "%s", dbRow->buyer);
break;
}
/* Compensate for cell margins */
cellRect = *ds->cellRect;
horizMargin = ds->leftMargin + ds->rightMargin;
vertMargin = ds->topMargin + ds->bottomMargin;
if (horizMargin >= (int)cellRect.width ||
vertMargin >= (int)cellRect.height)
return;
cellRect.x += ds->leftMargin;
cellRect.y += ds->topMargin;
cellRect.width -= horizMargin;
cellRect.height -= vertMargin;
/* Draw the string */
str = XmStringCreateSimple(buf);
if (ds->drawSelected == True)
XSetForeground(XtDisplay(w), ds->gc, ds->selectForeground);
else
XSetForeground(XtDisplay(w), ds->gc, ds->foreground);
XmLStringDraw(w, str, ds->stringDirection, ds->fontList,
ds->alignment, ds->gc, &cellRect, cbs->clipRect);
XmStringFree(str);
}
void cellEdit(w, clientData, callData)
Widget w;
XtPointer clientData;
XtPointer callData;
{
XmLGridCallbackStruct *cbs;
XmLGridRow row;
XmLGridColumn column;
XtPointer rowUserData, columnUserData;
DbTableRow *dbRow;
Widget text;
float f;
int i;
char *value;
Boolean redrawRow;
cbs = (XmLGridCallbackStruct *)callData;
/* For a production version, this function should also
handle XmCR_EDIT_INSERT by retrieving the current value
from the database and performing an XmTextSetString on
the text widget in the grid with that value. This allows
a user to hit insert or F2 to modify an existing cell value */
if (cbs->reason != XmCR_EDIT_COMPLETE)
return;
/* Get the value the user just typed in */
XtVaGetValues(w,
XmNtextWidget, &text,
NULL);
value = XmTextGetString(text);
if (!value)
return;
/* Retrieve userData from the cells row */
row = XmLGridGetRow(w, cbs->rowType, cbs->row);
XtVaGetValues(w,
XmNrowPtr, row,
XmNrowUserData, &rowUserData,
NULL);
/* Retrieve userData from cells column */
column = XmLGridGetColumn(w, cbs->columnType, cbs->column);
XtVaGetValues(w,
XmNcolumnPtr, column,
XmNcolumnUserData, &columnUserData,
NULL);
/* Set new value in the database */
redrawRow = False;
dbRow = dbFindRow((char *)rowUserData);
switch ((DbTableColumnID)columnUserData)
{
case Desc:
if ((int)strlen(value) < 20)
strcpy(dbRow->desc, value);
break;
case Price:
if (sscanf(value, "%f", &f) == 1)
{
dbRow->price = f;
redrawRow = True;
}
break;
case Qty:
if (sscanf(value, "%d", &i) == 1)
{
dbRow->qty = i;
redrawRow = True;
}
break;
case Buyer:
if ((int)strlen(value) < 20)
strcpy(dbRow->buyer, value);
break;
}
/* Redraw the row if we need to redisplay unit price */
if (redrawRow == True)
XmLGridRedrawRow(w, cbs->rowType, cbs->row);
/* Set the cellString to NULL - its is set to the value the
user typed in the text widget at this point */
XtVaSetValues(w,
XmNrow, cbs->row,
XmNcolumn, cbs->column,
XmNcellString, NULL,
NULL);
XtFree(value);
}
main(argc, argv)
int argc;
char *argv[];
{
XtAppContext app;
Widget shell, grid;
XmString str;
int i;
shell = XtAppInitialize(&app, "Grid6", NULL, 0,
&argc, argv, NULL, NULL, 0);
grid = XtVaCreateManagedWidget("grid",
xmlGridWidgetClass, shell,
XmNhorizontalSizePolicy, XmVARIABLE,
XmNvisibleRows, 10,
XmNvsbDisplayPolicy, XmSTATIC,
XmNselectionPolicy, XmSELECT_NONE,
XmNshadowThickness, 0,
XtVaTypedArg, XmNbackground, XmRString, "#C0C0C0", 8,
XtVaTypedArg, XmNforeground, XmRString, "black", 6,
NULL);
XtAddCallback(grid, XmNcellDrawCallback, cellDraw, NULL);
XtAddCallback(grid, XmNeditCallback, cellEdit, NULL);
XtAddCallback(grid, XmNselectCallback, cellSelect, NULL);
XtVaSetValues(grid,
XmNlayoutFrozen, True,
NULL);
XmLGridAddColumns(grid, XmCONTENT, -1, dbTableNumColumns);
/* Setup columns and column cell defaults based on */
/* database description */
for (i = 0; i < dbTableNumColumns; i++)
{
/* Set the width and the id on the column */
XtVaSetValues(grid,
XmNcolumn, i,
XmNcolumnUserData, (XtPointer)dbTableColumns[i].id,
XmNcolumnWidth, dbTableColumns[i].width,
NULL);
/* Set the default cell alignment and editibility for */
/* cells in the column */
XtVaSetValues(grid,
XmNcellDefaults, True,
XmNcolumn, i,
XmNcellAlignment, dbTableColumns[i].cellAlignment,
XmNcellEditable, dbTableColumns[i].cellEditable,
NULL);
}
/* Add the heading row */
XmLGridAddRows(grid, XmHEADING, -1, 1);
/* Set the column headings */
for (i = 0; i < dbTableNumColumns; i++)
{
/* Set the column heading label */
str = XmStringCreateSimple(dbTableColumns[i].label);
XtVaSetValues(grid,
XmNrowType, XmHEADING,
XmNrow, 0,
XmNcolumn, i,
XmNcellString, str,
NULL);
XmStringFree(str);
}
/* Set cell defaults for content rows */
XtVaSetValues(grid,
XmNcellDefaults, True,
XtVaTypedArg, XmNcellBackground, XmRString, "white", 6,
XmNcellLeftBorderType, XmBORDER_NONE,
XmNcellRightBorderType, XmBORDER_NONE,
XmNcellTopBorderType, XmBORDER_NONE,
XmNcellBottomBorderType, XmBORDER_NONE,
XmNcellMarginLeft, 1,
XmNcellMarginRight, 1,
NULL);
XmLGridAddRows(grid, XmCONTENT, -1, dbTableNumRows);
XtVaSetValues(grid,
XmNlayoutFrozen, False,
NULL);
/* Set the row keys in the rows */
setRowKeysInGridSorted(grid, Desc);
XtRealizeWidget(shell);
XtAppMainLoop(app);
}

View File

@@ -0,0 +1,55 @@
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/*
* The following source code is part of the Microline Widget Library.
* The Microline widget library is made available to Mozilla developers
* under the Netscape Public License (NPL) by Neuron Data. To learn
* more about Neuron Data, please visit the Neuron Data Home Page at
* http://www.neurondata.com.
*/
#include <Xm/Xm.h>
#include <XmL/Progress.h>
main(argc, argv)
int argc;
char *argv[];
{
XtAppContext app;
Widget shell, progress;
shell = XtAppInitialize(&app, "Prog1", NULL, 0,
&argc, argv, NULL, NULL, 0);
progress = XtVaCreateManagedWidget("progress",
xmlProgressWidgetClass, shell,
XtVaTypedArg, XmNbackground, XmRString, "white", 6,
XtVaTypedArg, XmNforeground, XmRString, "#000080", 8,
XmNwidth, 300,
XmNheight, 25,
NULL);
XtVaSetValues(progress,
XmNvalue, 50,
NULL);
XtRealizeWidget(shell);
XtAppMainLoop(app);
}

View File

@@ -0,0 +1,81 @@
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/*
* The following source code is part of the Microline Widget Library.
* The Microline widget library is made available to Mozilla developers
* under the Netscape Public License (NPL) by Neuron Data. To learn
* more about Neuron Data, please visit the Neuron Data Home Page at
* http://www.neurondata.com.
*/
#include <Xm/Xm.h>
#include <XmL/Progress.h>
Boolean compute();
Widget progress;
main(argc, argv)
int argc;
char *argv[];
{
XtAppContext app;
Widget shell;
shell = XtAppInitialize(&app, "Prog2", NULL, 0,
&argc, argv, NULL, NULL, 0);
progress = XtVaCreateManagedWidget("progress",
xmlProgressWidgetClass, shell,
XmNshowTime, True,
XtVaTypedArg, XmNbackground, XmRString, "white", 6,
XtVaTypedArg, XmNforeground, XmRString, "#800000", 8,
XmNwidth, 300,
XmNheight, 25,
NULL);
XtAppAddWorkProc(app, compute, NULL);
XtRealizeWidget(shell);
XtAppMainLoop(app);
}
Boolean compute(clientData)
XtPointer clientData;
{
int i;
XtVaSetValues(progress,
XmNvalue, 0,
XmNcompleteValue, 7,
NULL);
for (i = 0; i < 7; i++)
{
XtVaSetValues(progress,
XmNvalue, i,
NULL);
/* perform processing */
sleep(1);
}
XtVaSetValues(progress,
XmNvalue, i,
NULL);
return(FALSE);
}

View File

@@ -0,0 +1,84 @@
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/*
* The following source code is part of the Microline Widget Library.
* The Microline widget library is made available to Mozilla developers
* under the Netscape Public License (NPL) by Neuron Data. To learn
* more about Neuron Data, please visit the Neuron Data Home Page at
* http://www.neurondata.com.
*/
#include <Xm/Xm.h>
#include <XmL/Progress.h>
Boolean compute();
Widget progress;
main(argc, argv)
int argc;
char *argv[];
{
XtAppContext app;
Widget shell;
shell = XtAppInitialize(&app, "Prog3", NULL, 0,
&argc, argv, NULL, NULL, 0);
progress = XtVaCreateManagedWidget("progress",
xmlProgressWidgetClass, shell,
XtVaTypedArg, XmNbackground, XmRString, "white", 6,
XtVaTypedArg, XmNforeground, XmRString, "#000080", 8,
XtVaTypedArg, XmNtopShadowColor, XmRString, "#D0D0D0", 8,
XtVaTypedArg, XmNbottomShadowColor, XmRString, "black", 6,
XmNmeterStyle, XmMETER_BOXES,
XmNnumBoxes, 20,
XmNwidth, 300,
XmNheight, 20,
XmNshadowThickness, 1,
NULL);
XtAppAddWorkProc(app, compute, NULL);
XtRealizeWidget(shell);
XtAppMainLoop(app);
}
Boolean compute(clientData)
XtPointer clientData;
{
int i;
XtVaSetValues(progress,
XmNvalue, 0,
XmNcompleteValue, 7,
NULL);
for (i = 0; i < 7; i++)
{
XtVaSetValues(progress,
XmNvalue, i,
NULL);
sleep(1);
}
XtVaSetValues(progress,
XmNvalue, i,
NULL);
return(FALSE);
}

View File

@@ -0,0 +1,87 @@
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/*
* The following source code is part of the Microline Widget Library.
* The Microline widget library is made available to Mozilla developers
* under the Netscape Public License (NPL) by Neuron Data. To learn
* more about Neuron Data, please visit the Neuron Data Home Page at
* http://www.neurondata.com.
*/
#include <Xm/Xm.h>
#include <XmL/Tree.h>
main(argc, argv)
int argc;
char *argv[];
{
XtAppContext app;
Widget shell, tree;
Pixmap pixmap, pixmask;
XmString str;
shell = XtAppInitialize(&app, "Tree1", NULL, 0,
&argc, argv, NULL, NULL, 0);
tree = XtVaCreateManagedWidget("tree",
xmlTreeWidgetClass, shell,
XmNvisibleRows, 10,
XmNwidth, 250,
NULL);
XtVaSetValues(tree,
XmNlayoutFrozen, True,
NULL);
pixmap = XmUNSPECIFIED_PIXMAP;
pixmask = XmUNSPECIFIED_PIXMAP;
str = XmStringCreateSimple("Root");
XmLTreeAddRow(tree, 0, True, True, -1, pixmap, pixmask, str);
XmStringFree(str);
str = XmStringCreateSimple("Level 1 Parent");
XmLTreeAddRow(tree, 1, True, True, -1, pixmap, pixmask, str);
XmStringFree(str);
str = XmStringCreateSimple("1st Child of Level 1 Parent");
XmLTreeAddRow(tree, 2, False, False, -1, pixmap, pixmask, str);
XmStringFree(str);
str = XmStringCreateSimple("2nd Child of Level 1 Parent");
XmLTreeAddRow(tree, 2, False, False, -1, pixmap, pixmask, str);
XmStringFree(str);
str = XmStringCreateSimple("Level 2 Parent");
XmLTreeAddRow(tree, 2, True, True, -1, pixmap, pixmask, str);
XmStringFree(str);
str = XmStringCreateSimple("Child of Level 2 Parent");
XmLTreeAddRow(tree, 3, False, False, -1, pixmap, pixmask, str);
XmStringFree(str);
str = XmStringCreateSimple("Level 1 Parent");
XmLTreeAddRow(tree, 1, True, True, -1, pixmap, pixmask, str);
XmStringFree(str);
str = XmStringCreateSimple("Child of Level 1 Parent");
XmLTreeAddRow(tree, 2, False, False, -1, pixmap, pixmask, str);
XmStringFree(str);
XtVaSetValues(tree,
XmNlayoutFrozen, False,
NULL);
XtRealizeWidget(shell);
XtAppMainLoop(app);
}

View File

@@ -0,0 +1,99 @@
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/*
* The following source code is part of the Microline Widget Library.
* The Microline widget library is made available to Mozilla developers
* under the Netscape Public License (NPL) by Neuron Data. To learn
* more about Neuron Data, please visit the Neuron Data Home Page at
* http://www.neurondata.com.
*/
#include <Xm/Xm.h>
#include <XmL/Tree.h>
main(argc, argv)
int argc;
char *argv[];
{
XtAppContext app;
Widget shell, tree;
int i, n, size;
XmString str;
XmLTreeRowDefinition *rows;
static struct
{
Boolean expands;
int level;
char *string;
} data[] =
{
{ True, 0, "Root" },
{ True, 1, "Level 1 Parent" },
{ False, 2, "1st Child of Level 1 Parent" },
{ False, 2, "2nd Child of Level 1 Parent" },
{ True, 2, "Level 2 Parent" },
{ False, 3, "Child of Level 2 Parent" },
{ True, 1, "Level 1 Parent" },
{ False, 2, "Child of Level 1 Parent" },
};
shell = XtAppInitialize(&app, "Tree2", NULL, 0,
&argc, argv, NULL, NULL, 0);
tree = XtVaCreateManagedWidget("tree",
xmlTreeWidgetClass, shell,
XtVaTypedArg, XmNbackground, XmRString, "#C0C0C0", 6,
XtVaTypedArg, XmNforeground, XmRString, "black", 6,
XtVaTypedArg, XmNblankBackground, XmRString, "white", 6,
XtVaTypedArg, XmNselectBackground, XmRString, "#000080", 8,
XtVaTypedArg, XmNselectForeground, XmRString, "white", 6,
XtVaTypedArg, XmNconnectingLineColor, XmRString, "#808080", 8,
XmNvisibleRows, 10,
XmNwidth, 250,
NULL);
XtVaSetValues(tree,
XmNcellDefaults, True,
XtVaTypedArg, XmNcellBackground, XmRString, "white", 6,
NULL);
/* Create a TreeRowDefinition array from the data array */
/* and add rows to the Tree */
n = 8;
size = sizeof(XmLTreeRowDefinition) * n;
rows = (XmLTreeRowDefinition *)malloc(size);
for (i = 0; i < n; i++)
{
rows[i].level = data[i].level;
rows[i].expands = data[i].expands;
rows[i].isExpanded = True;
rows[i].pixmap = XmUNSPECIFIED_PIXMAP;
rows[i].pixmask = XmUNSPECIFIED_PIXMAP;
rows[i].string = XmStringCreateSimple(data[i].string);
}
XmLTreeAddRows(tree, rows, n, -1);
/* Free the TreeRowDefintion array (and XmStrings) we created above */
for (i = 0; i < n; i++)
XmStringFree(rows[i].string);
free((char *)rows);
XtRealizeWidget(shell);
XtAppMainLoop(app);
}

View File

@@ -0,0 +1,155 @@
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/*
* The following source code is part of the Microline Widget Library.
* The Microline widget library is made available to Mozilla developers
* under the Netscape Public License (NPL) by Neuron Data. To learn
* more about Neuron Data, please visit the Neuron Data Home Page at
* http://www.neurondata.com.
*/
#include <Xm/Xm.h>
#include <XmL/Tree.h>
#define sphere_width 16
#define sphere_height 16
static unsigned char sphere_bits[] = {
0x00, 0x00, 0x00, 0x00, 0xc0, 0x07, 0xe0, 0x0f, 0xf0, 0x1f, 0x38, 0x3f,
0xb8, 0x3f, 0xf8, 0x3f, 0xf8, 0x3f, 0xf8, 0x3f, 0xf0, 0x1f, 0xe0, 0x0f,
0xc0, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
#define monitor_width 16
#define monitor_height 16
static unsigned char monitor_bits[] = {
0x00, 0x00, 0xf8, 0x3f, 0xf8, 0x3f, 0x18, 0x30, 0x58, 0x37, 0x18, 0x30,
0x58, 0x37, 0x18, 0x30, 0xf8, 0x3f, 0xf8, 0x3f, 0x80, 0x03, 0x80, 0x03,
0xf0, 0x1f, 0xf0, 0x1f, 0x00, 0x00, 0x00, 0x00};
main(argc, argv)
int argc;
char *argv[];
{
XtAppContext app;
Widget shell, tree;
XmLTreeRowDefinition *rows;
Pixmap monitorPixmap, spherePixmap;
Pixel black, white;
int i, n, size;
static struct
{
Boolean expands;
int level;
char *string;
} data[] =
{
{ True, 0, "Root" },
{ True, 1, "Parent A" },
{ False, 2, "Node A1" },
{ False, 2, "Node A2" },
{ True, 2, "Parent B" },
{ False, 3, "Node B1" },
{ False, 3, "Node B2" },
{ True, 1, "Parent C" },
{ False, 2, "Node C1" },
{ True, 1, "Parent D" },
{ False, 2, "Node D1" },
};
shell = XtAppInitialize(&app, "Tree3", NULL, 0,
&argc, argv, NULL, NULL, 0);
black = BlackPixelOfScreen(XtScreen(shell));
white = WhitePixelOfScreen(XtScreen(shell));
spherePixmap = XCreatePixmapFromBitmapData(XtDisplay(shell),
DefaultRootWindow(XtDisplay(shell)),
sphere_bits, sphere_width, sphere_height,
black, white,
DefaultDepthOfScreen(XtScreen(shell)));
monitorPixmap = XCreatePixmapFromBitmapData(XtDisplay(shell),
DefaultRootWindow(XtDisplay(shell)),
monitor_bits, monitor_width, monitor_height,
black, white,
DefaultDepthOfScreen(XtScreen(shell)));
/* Create a Tree with 3 columns and 1 heading row in multiple */
/* select mode. We also set globalPixmapWidth and height here */
/* which specifys that every Pixmap we set on the Tree will be */
/* the size specified (16x16). This will increase performance. */
tree = XtVaCreateManagedWidget("tree",
xmlTreeWidgetClass, shell,
XtVaTypedArg, XmNbackground, XmRString, "#C0C0C0", 8,
XtVaTypedArg, XmNforeground, XmRString, "black", 6,
XtVaTypedArg, XmNblankBackground, XmRString, "white", 6,
XtVaTypedArg, XmNselectBackground, XmRString, "#000080", 8,
XtVaTypedArg, XmNselectForeground, XmRString, "white", 6,
XtVaTypedArg, XmNconnectingLineColor, XmRString, "#808080", 8,
XmNallowColumnResize, True,
XmNheadingRows, 1,
XmNvisibleRows, 14,
XmNcolumns, 3,
XmNvisibleColumns, 5,
XmNsimpleWidths, "12c 8c 10c",
XmNsimpleHeadings, "All Folders|SIZE|DATA2",
XmNselectionPolicy, XmSELECT_MULTIPLE_ROW,
XmNhighlightRowMode, True,
XmNglobalPixmapWidth, 16,
XmNglobalPixmapHeight, 16,
NULL);
/* Set default values for new cells (the cells in the content rows) */
XtVaSetValues(tree,
XmNcellDefaults, True,
XtVaTypedArg, XmNcellBackground, XmRString, "white", 6,
XmNcellLeftBorderType, XmBORDER_NONE,
XmNcellRightBorderType, XmBORDER_NONE,
XmNcellTopBorderType, XmBORDER_NONE,
XmNcellBottomBorderType, XmBORDER_NONE,
NULL);
/* Create a TreeRowDefinition array from the data array */
/* and add rows to the Tree */
n = 11;
size = sizeof(XmLTreeRowDefinition) * n;
rows = (XmLTreeRowDefinition *)malloc(size);
for (i = 0; i < n; i++)
{
rows[i].level = data[i].level;
rows[i].expands = data[i].expands;
rows[i].isExpanded = True;
if (data[i].expands)
rows[i].pixmap = spherePixmap;
else
rows[i].pixmap = monitorPixmap;
rows[i].pixmask = XmUNSPECIFIED_PIXMAP;
rows[i].string = XmStringCreateSimple(data[i].string);
}
XmLTreeAddRows(tree, rows, n, -1);
/* Free the TreeRowDefintion array we created above and set strings */
/* in column 1 and 2 */
for (i = 0; i < n; i++)
{
XmStringFree(rows[i].string);
XmLGridSetStringsPos(tree, XmCONTENT, i, XmCONTENT, 1, "1032|1123");
}
free((char *)rows);
XtRealizeWidget(shell);
XtAppMainLoop(app);
}

View File

@@ -0,0 +1,295 @@
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/*
* The following source code is part of the Microline Widget Library.
* The Microline widget library is made available to Mozilla developers
* under the Netscape Public License (NPL) by Neuron Data. To learn
* more about Neuron Data, please visit the Neuron Data Home Page at
* http://www.neurondata.com.
*/
#include <Xm/Xm.h>
#include <Xm/Form.h>
#include <XmL/Grid.h>
#include <XmL/Tree.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <dirent.h>
void rowExpand();
void rowCollapse();
void rowDelete();
void cellSelect();
Widget grid;
main(argc, argv)
int argc;
char *argv[];
{
XtAppContext app;
Widget shell, form, tree;
XmString str;
shell = XtAppInitialize(&app, "Tree4", NULL, 0,
&argc, argv, NULL, NULL, 0);
form = XtVaCreateManagedWidget("form",
xmFormWidgetClass, shell,
XtVaTypedArg, XmNbackground, XmRString, "#C0C0C0", 8,
XmNshadowThickness, 0,
NULL);
/* Add Tree to left of Form */
tree = XtVaCreateManagedWidget("tree",
xmlTreeWidgetClass, form,
XmNhorizontalSizePolicy, XmCONSTANT,
XmNautoSelect, False,
XtVaTypedArg, XmNbackground, XmRString, "#C0C0C0", 8,
XtVaTypedArg, XmNforeground, XmRString, "black", 6,
XtVaTypedArg, XmNblankBackground, XmRString, "white", 6,
XtVaTypedArg, XmNselectBackground, XmRString, "#000080", 8,
XtVaTypedArg, XmNselectForeground, XmRString, "white", 6,
XtVaTypedArg, XmNconnectingLineColor, XmRString, "#808080", 8,
XmNleftAttachment, XmATTACH_FORM,
XmNtopAttachment, XmATTACH_FORM,
XmNbottomAttachment, XmATTACH_FORM,
XmNrightAttachment, XmATTACH_POSITION,
XmNrightPosition, 45,
NULL);
XtVaSetValues(tree,
XmNcellDefaults, True,
XtVaTypedArg, XmNcellBackground, XmRString, "white", 6,
NULL);
/* Add a single row containing the root path to the Tree */
str = XmStringCreateSimple("/");
XmLTreeAddRow(tree, 1, True, False, 0,
XmUNSPECIFIED_PIXMAP, XmUNSPECIFIED_PIXMAP, str);
XmStringFree(str);
XtVaSetValues(tree,
XmNrow, 0,
XmNrowUserData, strdup("/"),
NULL);
XtAddCallback(tree, XmNexpandCallback, rowExpand, NULL);
XtAddCallback(tree, XmNcollapseCallback, rowCollapse, NULL);
XtAddCallback(tree, XmNdeleteCallback, rowDelete, NULL);
XtAddCallback(tree, XmNselectCallback, cellSelect, NULL);
/* Add a Grid to the right of the Form and set cell defaults */
grid = XtVaCreateManagedWidget("grid",
xmlGridWidgetClass, form,
XtVaTypedArg, XmNbackground, XmRString, "#C0C0C0", 8,
XtVaTypedArg, XmNforeground, XmRString, "black", 6,
XtVaTypedArg, XmNblankBackground, XmRString, "white", 6,
XtVaTypedArg, XmNselectBackground, XmRString, "#000080", 8,
XtVaTypedArg, XmNselectForeground, XmRString, "white", 6,
XmNcolumns, 3,
XmNsimpleWidths, "24c 12c 10c",
XmNsimpleHeadings, "Name|Type|Size",
XmNvisibleColumns, 6,
XmNallowColumnResize, True,
XmNheadingRows, 1,
XmNvisibleRows, 16,
XmNhighlightRowMode, True,
XmNleftAttachment, XmATTACH_POSITION,
XmNleftPosition, 46,
XmNtopAttachment, XmATTACH_FORM,
XmNbottomAttachment, XmATTACH_FORM,
XmNrightAttachment, XmATTACH_FORM,
NULL);
XtVaSetValues(grid,
XmNcellDefaults, True,
XtVaTypedArg, XmNcellBackground, XmRString, "white", 6,
XmNcellTopBorderType, XmBORDER_NONE,
XmNcellBottomBorderType, XmBORDER_NONE,
XmNcellRightBorderType, XmBORDER_NONE,
XmNcellLeftBorderType, XmBORDER_NONE,
XmNcellAlignment, XmALIGNMENT_LEFT,
NULL);
XtVaSetValues(grid,
XmNcellDefaults, True,
XmNcolumn, 2,
XmNcellAlignment, XmALIGNMENT_RIGHT,
NULL);
/* Invoke the select callback for the first row in the Tree */
/* to fill the Grid with the data for the root path */
XmLGridSelectRow(tree, 0, True);
XtRealizeWidget(shell);
XtAppMainLoop(app);
}
void rowExpand(w, clientData, callData)
Widget w;
XtPointer clientData, callData;
{
XmLGridCallbackStruct *cbs;
XmLGridRow row;
int level, pos;
DIR *dir;
struct dirent *d;
struct stat s;
char *path, fullpath[1024];
XmString str;
/* Retrieve the path of the directory expanded. This is kept */
/* in the row's rowUserData */
cbs = (XmLGridCallbackStruct *)callData;
row = XmLGridGetRow(w, XmCONTENT, cbs->row);
XtVaGetValues(w,
XmNrowPtr, row,
XmNrowUserData, &path,
XmNrowLevel, &level,
NULL);
pos = cbs->row + 1;
dir = opendir(path);
if (!dir)
return;
/* Add the subdirectories of the directory expanded to the Tree */
XtVaSetValues(w,
XmNlayoutFrozen, True,
NULL);
while (d = readdir(dir))
{
if (!strcmp(d->d_name, ".") || !strcmp(d->d_name, ".."))
continue;
sprintf(fullpath, "%s/%s", path, d->d_name);
if (lstat(fullpath, &s) == -1)
continue;
if (!S_ISDIR(s.st_mode))
continue;
str = XmStringCreateSimple(d->d_name);
XmLTreeAddRow(w, level + 1, True, False, pos,
XmUNSPECIFIED_PIXMAP, XmUNSPECIFIED_PIXMAP, str);
XmStringFree(str);
XtVaSetValues(w,
XmNrow, pos,
XmNrowUserData, strdup(fullpath),
NULL);
pos++;
}
closedir(dir);
XtVaSetValues(w,
XmNlayoutFrozen, False,
NULL);
}
void rowCollapse(w, clientData, callData)
Widget w;
XtPointer clientData, callData;
{
XmLGridCallbackStruct *cbs;
XmLGridRow row;
char *path;
int i, j, level, rows;
/* Collapse the row by deleting the rows in the tree which */
/* are children of the collapsed row. */
cbs = (XmLGridCallbackStruct *)callData;
XmLTreeDeleteChildren(w, cbs->row);
}
void rowDelete(w, clientData, callData)
Widget w;
XtPointer clientData, callData;
{
/* Free the path contained in the rowUserData of the rows deleted */
XmLGridCallbackStruct *cbs;
XmLGridRow row;
char *path;
cbs = (XmLGridCallbackStruct *)callData;
if (cbs->rowType != XmCONTENT || cbs->reason != XmCR_DELETE_ROW)
return;
row = XmLGridGetRow(w, XmCONTENT, cbs->row);
XtVaGetValues(w,
XmNrowPtr, row,
XmNrowUserData, &path,
NULL);
if (path)
free(path);
}
void cellSelect(w, clientData, callData)
Widget w;
XtPointer clientData, callData;
{
XmLGridCallbackStruct *cbs;
XmLGridRow row;
DIR *dir;
struct stat s;
struct dirent *d;
char *path, fullpath[1024], buf[256];
int pos;
/* Retrieve the directory selected */
cbs = (XmLGridCallbackStruct *)callData;
if (cbs->rowType != XmCONTENT)
return;
row = XmLGridGetRow(w, XmCONTENT, cbs->row);
XtVaGetValues(w,
XmNrowPtr, row,
XmNrowUserData, &path,
NULL);
dir = opendir(path);
if (!dir)
return;
/* Add a row for each file in the directory to the Grid */
pos = 0;
XtVaSetValues(grid,
XmNlayoutFrozen, True,
NULL);
XmLGridDeleteAllRows(grid, XmCONTENT);
while (d = readdir(dir))
{
sprintf(fullpath, "%s/%s", path, d->d_name);
if (lstat(fullpath, &s) == -1)
continue;
XmLGridAddRows(grid, XmCONTENT, pos, 1);
XmLGridSetStringsPos(grid, XmCONTENT, pos, XmCONTENT, 0, d->d_name);
if (S_ISDIR(s.st_mode))
sprintf(buf, "Directory");
else if (S_ISLNK(s.st_mode))
sprintf(buf, "Link");
else
sprintf(buf, "File");
XmLGridSetStringsPos(grid, XmCONTENT, pos, XmCONTENT, 1, buf);
sprintf(buf, "%d", (int)s.st_size);
XmLGridSetStringsPos(grid, XmCONTENT, pos, XmCONTENT, 2, buf);
pos++;
}
closedir(dir);
XtVaSetValues(grid,
XmNlayoutFrozen, False,
NULL);
}

View File

@@ -0,0 +1,218 @@
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/*
* The following source code is part of the Microline Widget Library.
* The Microline widget library is made available to Mozilla developers
* under the Netscape Public License (NPL) by Neuron Data. To learn
* more about Neuron Data, please visit the Neuron Data Home Page at
* http://www.neurondata.com.
*/
#include <Xm/Xm.h>
#include <Xm/Form.h>
#include <Xm/PushB.h>
#include <XmL/Tree.h>
#define sphere_width 16
#define sphere_height 16
static unsigned char sphere_bits[] = {
0x00, 0x00, 0x00, 0x00, 0xc0, 0x07, 0xe0, 0x0f, 0xf0, 0x1f, 0x38, 0x3f,
0xb8, 0x3f, 0xf8, 0x3f, 0xf8, 0x3f, 0xf8, 0x3f, 0xf0, 0x1f, 0xe0, 0x0f,
0xc0, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
#define monitor_width 16
#define monitor_height 16
static unsigned char monitor_bits[] = {
0x00, 0x00, 0xf8, 0x3f, 0xf8, 0x3f, 0x18, 0x30, 0x58, 0x37, 0x18, 0x30,
0x58, 0x37, 0x18, 0x30, 0xf8, 0x3f, 0xf8, 0x3f, 0x80, 0x03, 0x80, 0x03,
0xf0, 0x1f, 0xf0, 0x1f, 0x00, 0x00, 0x00, 0x00};
#if 0
void
hide_cb(Widget w, XtPointer clientData, XtPointer cb_data)
{
Widget tree = (Widget) clientData;
XmLGridHideRightColumn(tree);
}
void
show_cb(Widget w, XtPointer clientData, XtPointer cb_data)
{
Widget tree = (Widget) clientData;
XmLGridUnhideRightColumn(tree);
}
#endif /*0*/
main(argc, argv)
int argc;
char *argv[];
{
XtAppContext app;
Widget shell, tree, form, hideB, showB;
XmLTreeRowDefinition *rows;
Pixmap monitorPixmap, spherePixmap;
Pixel black, white;
int i, n, size;
static struct
{
Boolean expands;
int level;
char *string;
} data[] =
{
{ True, 0, "Root" },
{ True, 1, "Parent A" },
{ False, 2, "Node A1" },
{ False, 2, "Node A2" },
{ True, 2, "Parent B" },
{ False, 3, "Node B1" },
{ False, 3, "Node B2" },
{ True, 1, "Parent C" },
{ False, 2, "Node C1" },
{ True, 1, "Parent D" },
{ False, 2, "Node D1" },
};
shell = XtAppInitialize(&app, "Tree3", NULL, 0,
&argc, argv, NULL, NULL, 0);
black = BlackPixelOfScreen(XtScreen(shell));
white = WhitePixelOfScreen(XtScreen(shell));
spherePixmap = XCreatePixmapFromBitmapData(XtDisplay(shell),
DefaultRootWindow(XtDisplay(shell)),
sphere_bits, sphere_width, sphere_height,
black, white,
DefaultDepthOfScreen(XtScreen(shell)));
monitorPixmap = XCreatePixmapFromBitmapData(XtDisplay(shell),
DefaultRootWindow(XtDisplay(shell)),
monitor_bits, monitor_width, monitor_height,
black, white,
DefaultDepthOfScreen(XtScreen(shell)));
form = XtVaCreateManagedWidget("form",
xmFormWidgetClass, shell,
XtVaTypedArg, XmNbackground, XmRString, "#C0C0C0", 8,
XmNshadowThickness, 0,
NULL);
#if 0
hideB = XtVaCreateManagedWidget("hide",
xmPushButtonWidgetClass, form,
XmNleftAttachment, XmATTACH_NONE,
XmNtopAttachment, XmATTACH_POSITION,
XmNtopPosition, 30,
XmNbottomAttachment, XmATTACH_NONE,
XmNrightAttachment, XmATTACH_FORM,
NULL);
showB = XtVaCreateManagedWidget("show",
xmPushButtonWidgetClass, form,
XmNleftAttachment, XmATTACH_NONE,
XmNtopAttachment, XmATTACH_POSITION,
XmNtopPosition, 30,
XmNbottomAttachment, XmATTACH_NONE,
XmNrightAttachment, XmATTACH_WIDGET,
XmNrightWidget, hideB,
NULL);
#endif /*0*/
/* Create a Tree with 3 columns and 1 heading row in multiple */
/* select mode. We also set globalPixmapWidth and height here */
/* which specifys that every Pixmap we set on the Tree will be */
/* the size specified (16x16). This will increase performance. */
tree = XtVaCreateManagedWidget("tree",
xmlTreeWidgetClass, form,
XtVaTypedArg, XmNbackground, XmRString, "#C0C0C0", 8,
XtVaTypedArg, XmNforeground, XmRString, "black", 6,
XtVaTypedArg, XmNblankBackground, XmRString, "white", 6,
XtVaTypedArg, XmNselectBackground, XmRString, "#000080", 8,
XtVaTypedArg, XmNselectForeground, XmRString, "white", 6,
XtVaTypedArg, XmNconnectingLineColor, XmRString, "#808080", 8,
XmNhorizontalSizePolicy, XmRESIZE_IF_POSSIBLE,
XmNallowColumnResize, True,
XmNheadingRows, 1,
XmNvisibleRows, 14,
XmNcolumns, 3,
XmNvisibleColumns, 1,
XmNhideUnhideButtons, True,
XmNsimpleWidths, "80c 40c 40c",
XmNsimpleHeadings, "All Folders|SIZE|DATA2",
XmNselectionPolicy, XmSELECT_MULTIPLE_ROW,
XmNhighlightRowMode, True,
XmNglobalPixmapWidth, 16,
XmNglobalPixmapHeight, 16,
XmNleftAttachment, XmATTACH_FORM,
XmNtopAttachment, XmATTACH_FORM,
XmNbottomAttachment, XmATTACH_FORM,
XmNrightAttachment, XmATTACH_FORM,
#if 0
XmNrightAttachment, XmATTACH_WIDGET,
XmNrightWidget, showB,
#endif /*0*/
XmNdebugLevel, 2,
NULL);
/* Set default values for new cells (the cells in the content rows) */
XtVaSetValues(tree,
XmNcellDefaults, True,
XtVaTypedArg, XmNcellBackground, XmRString, "white", 6,
XmNcellEditable, True,
XmNcellLeftBorderType, XmBORDER_NONE,
XmNcellRightBorderType, XmBORDER_NONE,
XmNcellTopBorderType, XmBORDER_NONE,
XmNcellBottomBorderType, XmBORDER_NONE,
NULL);
#if 0
XtAddCallback(hideB, XmNactivateCallback, hide_cb, (XtPointer)tree);
XtAddCallback(showB, XmNactivateCallback, show_cb, (XtPointer)tree);
#endif /*0*/
/* Create a TreeRowDefinition array from the data array */
/* and add rows to the Tree */
n = 11;
size = sizeof(XmLTreeRowDefinition) * n;
rows = (XmLTreeRowDefinition *)malloc(size);
for (i = 0; i < n; i++)
{
rows[i].level = data[i].level;
rows[i].expands = data[i].expands;
rows[i].isExpanded = True;
if (data[i].expands)
rows[i].pixmap = spherePixmap;
else
rows[i].pixmap = monitorPixmap;
rows[i].pixmask = XmUNSPECIFIED_PIXMAP;
rows[i].string = XmStringCreateSimple(data[i].string);
}
XmLTreeAddRows(tree, rows, n, -1);
/* Free the TreeRowDefintion array we created above and set strings */
/* in column 1 and 2 */
for (i = 0; i < n; i++)
{
XmStringFree(rows[i].string);
XmLGridSetStringsPos(tree, XmCONTENT, i, XmCONTENT, 1, "1032|1123");
}
free((char *)rows);
XtRealizeWidget(shell);
XtAppMainLoop(app);
}

View File

@@ -0,0 +1,98 @@
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/*
* The following source code is part of the Microline Widget Library.
* The Microline widget library is made available to Mozilla developers
* under the Netscape Public License (NPL) by Neuron Data. To learn
* more about Neuron Data, please visit the Neuron Data Home Page at
* http://www.neurondata.com.
*/
#include <Xm/Xm.h>
#include <Mrm/MrmPublic.h>
#include <XmL/Folder.h>
#include <XmL/Grid.h>
#include <XmL/Progress.h>
#include <XmL/Tree.h>
#include <stdio.h>
main(argc, argv)
int argc;
String argv[];
{
Display *dpy;
XtAppContext app;
Widget toplevel, tree, shellForm;
Pixmap pixmap;
XmString str;
MrmHierarchy hier;
MrmCode clas;
static char *files[] = {
"uil1.uid" };
MrmInitialize ();
XtToolkitInitialize();
app = XtCreateApplicationContext();
dpy = XtOpenDisplay(app, NULL, argv[0], "Uil1",
NULL, 0, &argc, argv);
if (dpy == NULL) {
fprintf(stderr, "%s: Can't open display\n", argv[0]);
exit(1);
}
toplevel = XtVaAppCreateShell(argv[0], NULL,
applicationShellWidgetClass, dpy,
XmNwidth, 400,
XmNheight, 300,
NULL);
if (MrmOpenHierarchy (1, files, NULL, &hier) != MrmSUCCESS)
printf ("can't open hierarchy\n");
MrmRegisterClass(0, NULL, "XmLCreateFolder",
XmLCreateFolder, xmlFolderWidgetClass);
MrmRegisterClass(0, NULL, "XmLCreateGrid",
XmLCreateGrid, xmlGridWidgetClass);
MrmRegisterClass(0, NULL, "XmLCreateProgress",
XmLCreateProgress, xmlProgressWidgetClass);
MrmRegisterClass(0, NULL, "XmLCreateTree",
XmLCreateTree, xmlTreeWidgetClass);
if (MrmFetchWidget(hier, "shellForm", toplevel, &shellForm,
&clas) != MrmSUCCESS)
printf("can't fetch shellForm\n");
tree = XtNameToWidget(shellForm, "*tree");
/* Add two rows to the Tree */
pixmap = XmUNSPECIFIED_PIXMAP;
str = XmStringCreateSimple("Root");
XmLTreeAddRow(tree, 0, True, True, -1, pixmap, pixmap, str);
XmStringFree(str);
str = XmStringCreateSimple("Child of Root");
XmLTreeAddRow(tree, 1, False, False, -1, pixmap, pixmap, str);
XmStringFree(str);
XtManageChild(shellForm);
XtRealizeWidget(toplevel);
XtAppMainLoop(app);
return (0);
}

View File

@@ -0,0 +1,172 @@
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/*
* The following source code is part of the Microline Widget Library.
* The Microline widget library is made available to Mozilla developers
* under the Netscape Public License (NPL) by Neuron Data. To learn
* more about Neuron Data, please visit the Neuron Data Home Page at
* http://www.neurondata.com.
*/
module uil1
version = 'v1.0'
names = case_sensitive
include file 'XmL/XmL.uih';
value
grey : color('#C0C0C0', background);
lightGrey : color('#E0E0E0', background);
black : color('#000000', foreground);
white : color('#FFFFFF', background);
darkBlue : color('#000080', foreground);
object shellForm :
XmForm {
arguments {
XmNbackground = grey;
XmNmarginWidth = 10;
XmNmarginHeight = 10;
XmNshadowThickness = 0;
};
controls {
user_defined folder;
};
};
object folder :
user_defined procedure XmLCreateFolder {
arguments {
XmNbackground = grey;
XmNforeground = black;
XmNtabsPerRow = 2;
XmNtopAttachment = XmATTACH_FORM;
XmNbottomAttachment = XmATTACH_FORM;
XmNleftAttachment = XmATTACH_FORM;
XmNrightAttachment = XmATTACH_FORM;
};
controls {
XmDrawnButton tabOne;
XmDrawnButton tabTwo;
XmDrawnButton tabThree;
XmDrawnButton tabFour;
XmForm folderForm;
};
};
object tabOne:
XmDrawnButton {
arguments {
XmNlabelString = compound_string('Configuration');
};
};
object tabTwo:
XmDrawnButton {
arguments {
XmNlabelString = compound_string('Settings');
};
};
object tabThree:
XmDrawnButton {
arguments {
XmNlabelString = compound_string('Resources');
};
};
object tabFour:
XmDrawnButton {
arguments {
XmNlabelString = compound_string('Hardware Types');
};
};
object folderForm :
XmForm {
arguments {
XmNbackground = grey;
XmNhorizontalSpacing = 10;
XmNverticalSpacing = 10;
};
controls {
user_defined tree;
user_defined grid;
user_defined progress;
};
};
object tree :
user_defined procedure XmLCreateTree {
arguments {
XmNbackground = grey;
XmNforeground = black;
XmNleftAttachment = XmATTACH_FORM;
XmNrightAttachment = XmATTACH_FORM;
XmNtopAttachment = XmATTACH_FORM;
XmNbottomAttachment = XmATTACH_POSITION;
XmNbottomPosition = 25;
};
};
object grid :
user_defined procedure XmLCreateGrid {
arguments {
XmNbackground = grey;
XmNforeground = black;
XmNselectBackground = darkBlue;
XmNselectForeground = white;
XmNleftAttachment = XmATTACH_FORM;
XmNrightAttachment = XmATTACH_FORM;
XmNtopAttachment = XmATTACH_POSITION;
XmNtopPosition = 30;
XmNbottomAttachment = XmATTACH_POSITION;
XmNbottomPosition = 80;
XmNcolumns = 5;
XmNheadingRows = 1;
XmNsimpleHeadings = "Name|Width|Height|X|Y";
XmNsimpleWidths = "20c 10c 10c 8c 8c";
XmNrows = 20;
XmNleftFixedCount = 1;
};
};
object progress :
user_defined procedure XmLCreateProgress {
arguments {
XmNtopShadowColor = lightGrey;
XmNbottomShadowColor = black;
XmNbackground = white;
XmNforeground = darkBlue;
XmNleftAttachment = XmATTACH_FORM;
XmNrightAttachment = XmATTACH_FORM;
XmNtopAttachment = XmATTACH_POSITION;
XmNtopPosition = 85;
XmNheight = 20;
XmNshadowThickness = 1;
XmNmeterStyle = MeterBoxes;
XmNnumBoxes = 20;
XmNvalue = 70;
XmNcompleteValue = 200;
};
};
end module;

View File

@@ -0,0 +1,87 @@
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/*
* The following source code is part of the Microline Widget Library.
* The Microline widget library is made available to Mozilla developers
* under the Netscape Public License (NPL) by Neuron Data. To learn
* more about Neuron Data, please visit the Neuron Data Home Page at
* http://www.neurondata.com.
*/
#include <Xm/Xm.h>
#include <Xm/Form.h>
#include <Xm/DrawnB.h>
#include <XmL/XmL.h>
main(argc, argv)
int argc;
char *argv[];
{
XtAppContext app;
Widget shell, form, button[4][5];
int i, j;
static int types[5] =
{
XmDRAWNB_ARROW,
XmDRAWNB_ARROWLINE,
XmDRAWNB_DOUBLEARROW,
XmDRAWNB_SQUARE,
XmDRAWNB_DOUBLEBAR
};
static int dirs[4] =
{
XmDRAWNB_RIGHT,
XmDRAWNB_LEFT,
XmDRAWNB_UP,
XmDRAWNB_DOWN
};
shell = XtAppInitialize(&app, "Grid1", NULL, 0,
&argc, argv, NULL, NULL, 0);
form = XtVaCreateManagedWidget("form",
xmFormWidgetClass, shell,
XmNfractionBase, 5,
XmNshadowThickness, 0,
NULL);
for (i = 0 ; i < 4; i++)
for (j = 0; j < 5; j++)
{
button[i][j] = XtVaCreateManagedWidget("drawnB",
xmDrawnButtonWidgetClass, form,
XmNtopAttachment, XmATTACH_POSITION,
XmNtopPosition, i,
XmNbottomAttachment, XmATTACH_POSITION,
XmNbottomPosition, i + 1,
XmNleftAttachment, XmATTACH_POSITION,
XmNleftPosition, j,
XmNrightAttachment, XmATTACH_POSITION,
XmNrightPosition, j + 1,
XmNwidth, 30,
XmNheight, 30,
NULL);
XmLDrawnButtonSetType(button[i][j], types[j], dirs[i]);
}
XtRealizeWidget(shell);
XtAppMainLoop(app);
}

View File

@@ -0,0 +1,52 @@
.\" The contents of this file are subject to the Netscape Public License
.\" Version 1.0 (the "NPL"); you may not use this file except in
.\" compliance with the NPL. You may obtain a copy of the NPL at
.\" http://www.mozilla.org/NPL/
.\"
.\" Software distributed under the NPL is distributed on an "AS IS" basis,
.\" WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
.\" for the specific language governing rights and limitations under the
.\" NPL.
.\"
.\" The Initial Developer of this code under the NPL is Netscape
.\" Communications Corporation. Portions created by Netscape are
.\" Copyright (C) 1998 Netscape Communications Corporation. All Rights
.\" Reserved.
.\"
.\"
.\"
.\"
.\" The following source code is part of the Microline Widget Library.
.\" The Microline widget library is made available to Mozilla developers
.\" under the Netscape Public License (NPL) by Neuron Data. To learn
.\" more about Neuron Data, please visit the Neuron Data Home Page at
.\" http://www.neurondata.com.
.\"
.\"
.TH XmLArrayAdd 3X "R1" "XML1" "XML"
.SH NAME
XmLArrayAdd \- add space to an array
.SH SYNTAX
void XmLArrayAdd(\fIarray\fP, \fIpos\fP, \fIcount\fP)
.br
XmLArray \fIarray\fP;
.br
int \fIpos\fP;
.br
int \fIcount\fP;
.LP
.SH ARGUMENTS
.IP \fIarray\fP 1i
array to add to
.IP \fIpos\fP 1i
position to add at
.IP \fIcount\fP 1i
size of space to add
.SH DESCRIPTION
Adds (\fIcount\fP * sizeof(void *)) bytes of space at position
\fIpos\fP to the \fIarray\fP given. Use XmLArraySet() to set
the values in the array after adding space.
.SH "SEE ALSO"
XmLArrayDel(3X) XmLArrayFree(3X) XmLArrayGet(3X)
XmLArrayGetCount(3X) XmLArrayMove(3X) XmLArrayNew(3X)
XmLArrayReorder(3X) XmLArraySet(3X) XmLArraySort(3X)

View File

@@ -0,0 +1,54 @@
.\" The contents of this file are subject to the Netscape Public License
.\" Version 1.0 (the "NPL"); you may not use this file except in
.\" compliance with the NPL. You may obtain a copy of the NPL at
.\" http://www.mozilla.org/NPL/
.\"
.\" Software distributed under the NPL is distributed on an "AS IS" basis,
.\" WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
.\" for the specific language governing rights and limitations under the
.\" NPL.
.\"
.\" The Initial Developer of this code under the NPL is Netscape
.\" Communications Corporation. Portions created by Netscape are
.\" Copyright (C) 1998 Netscape Communications Corporation. All Rights
.\" Reserved.
.\"
.\"
.\"
.\"
.\" The following source code is part of the Microline Widget Library.
.\" The Microline widget library is made available to Mozilla developers
.\" under the Netscape Public License (NPL) by Neuron Data. To learn
.\" more about Neuron Data, please visit the Neuron Data Home Page at
.\" http://www.neurondata.com.
.\"
.\"
.TH XmLArrayDel 3X "R1" "XML1" "XML"
.SH NAME
XmLArrayDel \- remove space from an array
.SH SYNTAX
int XmLArrayDel(\fIarray\fP, \fIpos\fP, \fIcount\fP)
.br
XmLArray \fIarray\fP;
.br
int \fIpos\fP;
.br
int \fIcount\fP;
.LP
.SH ARGUMENTS
.IP \fIarray\fP 1i
array to remove from
.IP \fIpos\fP 1i
position to start removal
.IP \fIcount\fP 1i
size of space to remove
.SH DESCRIPTION
Removes (\fIcount\fP * sizeof(void *)) bytes of space at position
\fIpos\fP from the \fIarray\fP given. This call only removes
space from the array, it does not free individual elements.
.SH RETURN VALUE
0 upon success and -1 upon failure (a value passed is out of range).
.SH "SEE ALSO"
XmLArrayAdd(3X) XmLArrayFree(3X) XmLArrayGet(3X)
XmLArrayGetCount(3X) XmLArrayMove(3X) XmLArrayNew(3X)
XmLArrayReorder(3X) XmLArraySet(3X) XmLArraySort(3X)

View File

@@ -0,0 +1,43 @@
.\" The contents of this file are subject to the Netscape Public License
.\" Version 1.0 (the "NPL"); you may not use this file except in
.\" compliance with the NPL. You may obtain a copy of the NPL at
.\" http://www.mozilla.org/NPL/
.\"
.\" Software distributed under the NPL is distributed on an "AS IS" basis,
.\" WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
.\" for the specific language governing rights and limitations under the
.\" NPL.
.\"
.\" The Initial Developer of this code under the NPL is Netscape
.\" Communications Corporation. Portions created by Netscape are
.\" Copyright (C) 1998 Netscape Communications Corporation. All Rights
.\" Reserved.
.\"
.\"
.\"
.\"
.\" The following source code is part of the Microline Widget Library.
.\" The Microline widget library is made available to Mozilla developers
.\" under the Netscape Public License (NPL) by Neuron Data. To learn
.\" more about Neuron Data, please visit the Neuron Data Home Page at
.\" http://www.neurondata.com.
.\"
.\"
.TH XmLArrayFree 3X "R1" "XML1" "XML"
.SH NAME
XmLArrayFree \- free an array
.SH SYNTAX
void XmLArrayFree(\fIarray\fP)
.br
XmLArray \fIarray\fP;
.LP
.SH ARGUMENTS
.IP \fIarray\fP 1i
array to free
.SH DESCRIPTION
Frees the \fIarray\fP given and any space allocated by the array.
This function does not free the individual elements of the array.
.SH "SEE ALSO"
XmLArrayAdd(3X) XmLArrayDel(3X) XmLArrayGet(3X)
XmLArrayGetCount(3X) XmLArrayMove(3X) XmLArrayNew(3X)
XmLArrayReorder(3X) XmLArraySet(3X) XmLArraySort(3X)

View File

@@ -0,0 +1,48 @@
.\" The contents of this file are subject to the Netscape Public License
.\" Version 1.0 (the "NPL"); you may not use this file except in
.\" compliance with the NPL. You may obtain a copy of the NPL at
.\" http://www.mozilla.org/NPL/
.\"
.\" Software distributed under the NPL is distributed on an "AS IS" basis,
.\" WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
.\" for the specific language governing rights and limitations under the
.\" NPL.
.\"
.\" The Initial Developer of this code under the NPL is Netscape
.\" Communications Corporation. Portions created by Netscape are
.\" Copyright (C) 1998 Netscape Communications Corporation. All Rights
.\" Reserved.
.\"
.\"
.\"
.\"
.\" The following source code is part of the Microline Widget Library.
.\" The Microline widget library is made available to Mozilla developers
.\" under the Netscape Public License (NPL) by Neuron Data. To learn
.\" more about Neuron Data, please visit the Neuron Data Home Page at
.\" http://www.neurondata.com.
.\"
.\"
.TH XmLArrayGet 3X "R1" "XML1" "XML"
.SH NAME
XmLArrayGet \- retrieve a pointer from an array
.SH SYNTAX
void *XmLArrayGet(\fIarray\fP, \fIpos\fP)
.br
XmLArray \fIarray\fP;
.br
int \fIpos\fP;
.LP
.SH ARGUMENTS
.IP \fIarray\fP 1i
array to retrieve from
.IP \fIpos\fP 1i
position of the pointer to retrieve
.SH DESCRIPTION
Returns the pointer at the position \fIpos\fP in the \fIarray\fP given.
.SH RETURN VALUE
The pointer at the given position or NULL if the position is invalid.
.SH "SEE ALSO"
XmLArrayAdd(3X) XmLArrayDel(3X) XmLArrayFree(3X)
XmLArrayGetCount(3X) XmLArrayMove(3X) XmLArrayNew(3X)
XmLArrayReorder(3X) XmLArraySet(3X) XmLArraySort(3X)

View File

@@ -0,0 +1,44 @@
.\" The contents of this file are subject to the Netscape Public License
.\" Version 1.0 (the "NPL"); you may not use this file except in
.\" compliance with the NPL. You may obtain a copy of the NPL at
.\" http://www.mozilla.org/NPL/
.\"
.\" Software distributed under the NPL is distributed on an "AS IS" basis,
.\" WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
.\" for the specific language governing rights and limitations under the
.\" NPL.
.\"
.\" The Initial Developer of this code under the NPL is Netscape
.\" Communications Corporation. Portions created by Netscape are
.\" Copyright (C) 1998 Netscape Communications Corporation. All Rights
.\" Reserved.
.\"
.\"
.\"
.\"
.\" The following source code is part of the Microline Widget Library.
.\" The Microline widget library is made available to Mozilla developers
.\" under the Netscape Public License (NPL) by Neuron Data. To learn
.\" more about Neuron Data, please visit the Neuron Data Home Page at
.\" http://www.neurondata.com.
.\"
.\"
.TH XmLArrayGetCount 3X "R1" "XML1" "XML"
.SH NAME
XmLArrayGetCount \- return size of an array
.SH SYNTAX
int XmLArrayGetCount(\fIarray\fP)
.br
XmLArray \fIarray\fP;
.LP
.SH ARGUMENTS
.IP \fIarray\fP 1i
array to query
.SH DESCRIPTION
Returns the size of \fIarray\fP in units of number of pointers it can hold.
.SH RETURN VALUE
The size of the array.
.SH "SEE ALSO"
XmLArrayAdd(3X) XmLArrayDel(3X) XmLArrayFree(3X) XmLArrayGet(3X)
XmLArrayMove(3X) XmLArrayNew(3X)
XmLArrayReorder(3X) XmLArraySet(3X) XmLArraySort(3X)

View File

@@ -0,0 +1,60 @@
.\" The contents of this file are subject to the Netscape Public License
.\" Version 1.0 (the "NPL"); you may not use this file except in
.\" compliance with the NPL. You may obtain a copy of the NPL at
.\" http://www.mozilla.org/NPL/
.\"
.\" Software distributed under the NPL is distributed on an "AS IS" basis,
.\" WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
.\" for the specific language governing rights and limitations under the
.\" NPL.
.\"
.\" The Initial Developer of this code under the NPL is Netscape
.\" Communications Corporation. Portions created by Netscape are
.\" Copyright (C) 1998 Netscape Communications Corporation. All Rights
.\" Reserved.
.\"
.\"
.\"
.\"
.\" The following source code is part of the Microline Widget Library.
.\" The Microline widget library is made available to Mozilla developers
.\" under the Netscape Public License (NPL) by Neuron Data. To learn
.\" more about Neuron Data, please visit the Neuron Data Home Page at
.\" http://www.neurondata.com.
.\"
.\"
.TH XmLArrayMove 3X "R1" "XML1" "XML"
.SH NAME
XmLArrayMove \- move items in an array
.SH SYNTAX
int XmLArrayMove(\fIarray\fP, \fInewPos\fP, \fIpos\fP, \fIcount\fP)
.br
XmLArray \fIarray\fP;
.br
int \fInewPos\fP;
.br
int \fIpos\fP;
.br
int \fIcount\fP;
.LP
.SH ARGUMENTS
.IP \fIarray\fP 1i
array to operate on
.IP \fInewPos\fP 1i
position to move to
.IP \fIpos\fP 1i
position to move from
.IP \fIcount\fP 1i
number of items to move
.SH DESCRIPTION
Moves \fIcount\fP pointers starting at position \fIpos\fP in the
\fIarray\fP to the new position \fInewPos\fP. The existing pointers
at the new location are moved down to accommodate the move. No pointers
are overwritten by this call and the size of the array will remain
unchanged.
.SH RETURN VALUE
0 upon success and -1 upon failure (a value passed is out of range).
.SH "SEE ALSO"
XmLArrayAdd(3X) XmLArrayDel(3X) XmLArrayFree(3X) XmLArrayGet(3X)
XmLArrayGetCount(3X) XmLArrayNew(3X)
XmLArrayReorder(3X) XmLArraySet(3X) XmLArraySort(3X)

View File

@@ -0,0 +1,60 @@
.\" The contents of this file are subject to the Netscape Public License
.\" Version 1.0 (the "NPL"); you may not use this file except in
.\" compliance with the NPL. You may obtain a copy of the NPL at
.\" http://www.mozilla.org/NPL/
.\"
.\" Software distributed under the NPL is distributed on an "AS IS" basis,
.\" WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
.\" for the specific language governing rights and limitations under the
.\" NPL.
.\"
.\" The Initial Developer of this code under the NPL is Netscape
.\" Communications Corporation. Portions created by Netscape are
.\" Copyright (C) 1998 Netscape Communications Corporation. All Rights
.\" Reserved.
.\"
.\"
.\"
.\"
.\" The following source code is part of the Microline Widget Library.
.\" The Microline widget library is made available to Mozilla developers
.\" under the Netscape Public License (NPL) by Neuron Data. To learn
.\" more about Neuron Data, please visit the Neuron Data Home Page at
.\" http://www.neurondata.com.
.\"
.\"
.TH XmLArrayNew 3X "R1" "XML1" "XML"
.SH NAME
XmLArrayNew \- creates an array object
.SH SYNTAX
XmLArray XmLArrayNew(\fIautonumber\fP, \fIgrowFast\fP)
.br
char \fIautonumber\fP;
.br
char \fIgrowFast\fP;
.LP
.SH ARGUMENTS
.IP \fIautonumber\fP 1i
If set to 1, the pointers in the array are assumed to be
pointers to structures containing an integer as the first
element which will be set to the position of the item
in the array. The array will set this value with the
current position of the element whenever position
of the item changes. If set to 0, the array will never
dereference the pointers contained in the array.
.IP \fIgrowFast\fP 1i
If set to 1, the array will grow quickly as items are added
to it. This will cause the amount of memory the array takes
up to usually be greater than the current space for elements.
If set to 0, the array will always be the size of the current
space for the elements contained in the array.
.SH DESCRIPTION
Creates an array object and returns it. An array object is used to
hold an array of pointers. This object should be freed with XmLArrayFree()
when it is no longer used.
.SH RETURN VALUE
The newly allocate array object.
.SH "SEE ALSO"
XmLArrayAdd(3X) XmLArrayDel(3X) XmLArrayFree(3X) XmLArrayGet(3X)
XmLArrayGetCount(3X) XmLArrayMove(3X)
XmLArrayReorder(3X) XmLArraySet(3X) XmLArraySort(3X)

View File

@@ -0,0 +1,60 @@
.\" The contents of this file are subject to the Netscape Public License
.\" Version 1.0 (the "NPL"); you may not use this file except in
.\" compliance with the NPL. You may obtain a copy of the NPL at
.\" http://www.mozilla.org/NPL/
.\"
.\" Software distributed under the NPL is distributed on an "AS IS" basis,
.\" WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
.\" for the specific language governing rights and limitations under the
.\" NPL.
.\"
.\" The Initial Developer of this code under the NPL is Netscape
.\" Communications Corporation. Portions created by Netscape are
.\" Copyright (C) 1998 Netscape Communications Corporation. All Rights
.\" Reserved.
.\"
.\"
.\"
.\"
.\" The following source code is part of the Microline Widget Library.
.\" The Microline widget library is made available to Mozilla developers
.\" under the Netscape Public License (NPL) by Neuron Data. To learn
.\" more about Neuron Data, please visit the Neuron Data Home Page at
.\" http://www.neurondata.com.
.\"
.\"
.TH XmLArrayReorder 3X "R1" "XML1" "XML"
.SH NAME
XmLArrayReorder \- reorder items in an array
.SH SYNTAX
int XmLArrayReorder(\fIarray\fP, \fInewPositions\fP, \fIpos\fP, \fIcount\fP)
.br
XmLArray \fIarray\fP;
.br
int \fInewPositions\fP;
.br
int \fIpos\fP;
.br
int \fIcount\fP;
.LP
.SH ARGUMENTS
.IP \fIarray\fP 1i
array to operate on
.IP \fInewPositions\fP 1i
new positions of items
.IP \fIpos\fP 1i
start position of items to reorder
.IP \fIcount\fP 1i
number of items to reorder
.SH DESCRIPTION
Reorders the \fIarray\fP by ordering \fIcount\fP pointers at position
\fIpos\fP to the positions specified in the \fInewPositions\fP array.
The newPositions array should contain numbers starting at pos and
ending at pos + count - 1. This function does not free the newPositions
array passed in.
.SH RETURN VALUE
0 upon success and -1 upon failure (a value passed is out of range).
.SH "SEE ALSO"
XmLArrayAdd(3X) XmLArrayDel(3X) XmLArrayFree(3X) XmLArrayGet(3X)
XmLArrayGetCount(3X) XmLArrayNew(3X)
XmLArrayReorder(3X) XmLArraySet(3X) XmLArraySort(3X)

View File

@@ -0,0 +1,54 @@
.\" The contents of this file are subject to the Netscape Public License
.\" Version 1.0 (the "NPL"); you may not use this file except in
.\" compliance with the NPL. You may obtain a copy of the NPL at
.\" http://www.mozilla.org/NPL/
.\"
.\" Software distributed under the NPL is distributed on an "AS IS" basis,
.\" WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
.\" for the specific language governing rights and limitations under the
.\" NPL.
.\"
.\" The Initial Developer of this code under the NPL is Netscape
.\" Communications Corporation. Portions created by Netscape are
.\" Copyright (C) 1998 Netscape Communications Corporation. All Rights
.\" Reserved.
.\"
.\"
.\"
.\"
.\" The following source code is part of the Microline Widget Library.
.\" The Microline widget library is made available to Mozilla developers
.\" under the Netscape Public License (NPL) by Neuron Data. To learn
.\" more about Neuron Data, please visit the Neuron Data Home Page at
.\" http://www.neurondata.com.
.\"
.\"
.TH XmLArraySet 3X "R1" "XML1" "XML"
.SH NAME
XmLArraySet \- set a pointer element in an array
.SH SYNTAX
int XmLArraySet(\fIarray\fP, \fIpos\fP, \fIitem\fP)
.br
XmLArray \fIarray\fP;
.br
int \fIpos\fP;
.br
void *\fIitem\fP;
.LP
.SH ARGUMENTS
.IP \fIarray\fP 1i
array to set in
.IP \fIpos\fP 1i
position of the pointer to set
.IP \fIitem\fP 1i
value of the item to set
.SH DESCRIPTION
Sets the pointer at the position \fIpos\fP in the \fIarray\fP given to
\fIitem\fP.
.SH RETURN VALUE
0 upon success and -1 upon failure (a value passed is out of range).
.SH "SEE ALSO"
XmLArrayAdd(3X) XmLArrayDel(3X) XmLArrayFree(3X)
XmLArrayGetCount(3X) XmLArrayMove(3X) XmLArrayNew(3X)
XmLArrayReorder(3X) XmLArraySet(3X) XmLArraySort(3X)

View File

@@ -0,0 +1,64 @@
.\" The contents of this file are subject to the Netscape Public License
.\" Version 1.0 (the "NPL"); you may not use this file except in
.\" compliance with the NPL. You may obtain a copy of the NPL at
.\" http://www.mozilla.org/NPL/
.\"
.\" Software distributed under the NPL is distributed on an "AS IS" basis,
.\" WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
.\" for the specific language governing rights and limitations under the
.\" NPL.
.\"
.\" The Initial Developer of this code under the NPL is Netscape
.\" Communications Corporation. Portions created by Netscape are
.\" Copyright (C) 1998 Netscape Communications Corporation. All Rights
.\" Reserved.
.\"
.\"
.\"
.\"
.\" The following source code is part of the Microline Widget Library.
.\" The Microline widget library is made available to Mozilla developers
.\" under the Netscape Public License (NPL) by Neuron Data. To learn
.\" more about Neuron Data, please visit the Neuron Data Home Page at
.\" http://www.neurondata.com.
.\"
.\"
.TH XmLArraySort 3X "R1" "XML1" "XML"
.SH NAME
XmLArraySort \- sort an array
.SH SYNTAX
int XmLArraySort(\fIarray\fP, \fIcompare\fP, \fIuserData\fP, \
\fIpos\fP, \fIcount\fP)
.br
XmLArray \fIarray\fP;
.br
XmLArrayCompareFunc \fIcompare\fP;
.br
void *\fIuserData\fP;
.br
int \fIpos\fP;
.br
int \fIcount\fP;
.LP
.SH ARGUMENTS
.IP \fIarray\fP 1i
the array to sort
.IP \fIcompare\fP 1i
the comparison function for pointers in the array
.IP \fIuserData\fP 1i
an application defined pointer to pass to the sort function
.IP \fIpos\fP 1i
start position in array to sort
.IP \fIcount\fP 1i
number of items in array to sort
.SH DESCRIPTION
Sorts \fIcount\fP number of elements starting at position
\fIpos\fP in \fIarray\fP using the \fIcompare\fP function given.
The \fIuserData\fP argument is passed as data to the comparison
function.
.SH RETURN VALUE
0 upon success and -1 upon failure (a value passed is out of range).
.SH "SEE ALSO"
XmLArrayAdd(3X) XmLArrayDel(3X) XmLArrayFree(3X) XmLArrayGet(3X)
XmLArrayGetCount(3X) XmLArrayMove(3X) XmLArrayNew(3X)
XmLArrayReorder(3X) XmLArraySet(3X)

View File

@@ -0,0 +1,54 @@
.\" The contents of this file are subject to the Netscape Public License
.\" Version 1.0 (the "NPL"); you may not use this file except in
.\" compliance with the NPL. You may obtain a copy of the NPL at
.\" http://www.mozilla.org/NPL/
.\"
.\" Software distributed under the NPL is distributed on an "AS IS" basis,
.\" WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
.\" for the specific language governing rights and limitations under the
.\" NPL.
.\"
.\" The Initial Developer of this code under the NPL is Netscape
.\" Communications Corporation. Portions created by Netscape are
.\" Copyright (C) 1998 Netscape Communications Corporation. All Rights
.\" Reserved.
.\"
.\"
.\"
.\"
.\" The following source code is part of the Microline Widget Library.
.\" The Microline widget library is made available to Mozilla developers
.\" under the Netscape Public License (NPL) by Neuron Data. To learn
.\" more about Neuron Data, please visit the Neuron Data Home Page at
.\" http://www.neurondata.com.
.\"
.\"
.TH XmLCreateFolder 3X "R1" "XML1" "XML"
.SH NAME
XmLCreateFolder \- create an instance of a Folder widget
.SH SYNTAX
Widget XmLCreateFolder(\fIparent\fP, \fIname\fP, \fIarglist\fP, \fIargcount\fP)
.br
Widget \fIparent\fP;
.br
char *\fIname\fP;
.br
ArgList \fIarglist\fP;
.br
Cardinal \fIargcount\fP;
.LP
.SH ARGUMENTS
.IP \fIparent\fP 1i
new widgets parent widget ID
.IP \fIname\fP 1i
name of the newly created widget
.IP \fIarglist\fP 1i
resource name/value pairs
.IP \fIargcount\fP 1i
count of pairs in arglist
.SH DESCRIPTION
Creates an instance of a Folder widget and returns its widget ID.
.SH RETURN VALUE
The widget ID of the newly created Folder widget.
.SH "SEE ALSO"
XmLFolder(3X)

View File

@@ -0,0 +1,54 @@
.\" The contents of this file are subject to the Netscape Public License
.\" Version 1.0 (the "NPL"); you may not use this file except in
.\" compliance with the NPL. You may obtain a copy of the NPL at
.\" http://www.mozilla.org/NPL/
.\"
.\" Software distributed under the NPL is distributed on an "AS IS" basis,
.\" WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
.\" for the specific language governing rights and limitations under the
.\" NPL.
.\"
.\" The Initial Developer of this code under the NPL is Netscape
.\" Communications Corporation. Portions created by Netscape are
.\" Copyright (C) 1998 Netscape Communications Corporation. All Rights
.\" Reserved.
.\"
.\"
.\"
.\"
.\" The following source code is part of the Microline Widget Library.
.\" The Microline widget library is made available to Mozilla developers
.\" under the Netscape Public License (NPL) by Neuron Data. To learn
.\" more about Neuron Data, please visit the Neuron Data Home Page at
.\" http://www.neurondata.com.
.\"
.\"
.TH XmLCreateGrid 3X "R1" "XML1" "XML"
.SH NAME
XmLCreateGrid \- create an instance of a Grid widget
.SH SYNTAX
Widget XmLCreateGrid(\fIparent\fP, \fIname\fP, \fIarglist\fP, \fIargcount\fP)
.br
Widget \fIparent\fP;
.br
char *\fIname\fP;
.br
ArgList \fIarglist\fP;
.br
Cardinal \fIargcount\fP;
.LP
.SH ARGUMENTS
.IP \fIparent\fP 1i
new widgets parent widget ID
.IP \fIname\fP 1i
name of the newly created widget
.IP \fIarglist\fP 1i
resource name/value pairs
.IP \fIargcount\fP 1i
count of pairs in arglist
.SH DESCRIPTION
Creates an instance of a Grid widget and returns its widget ID.
.SH RETURN VALUE
The widget ID of the newly created Grid widget.
.SH "SEE ALSO"
XmLGrid(3X)

View File

@@ -0,0 +1,55 @@
.\" The contents of this file are subject to the Netscape Public License
.\" Version 1.0 (the "NPL"); you may not use this file except in
.\" compliance with the NPL. You may obtain a copy of the NPL at
.\" http://www.mozilla.org/NPL/
.\"
.\" Software distributed under the NPL is distributed on an "AS IS" basis,
.\" WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
.\" for the specific language governing rights and limitations under the
.\" NPL.
.\"
.\" The Initial Developer of this code under the NPL is Netscape
.\" Communications Corporation. Portions created by Netscape are
.\" Copyright (C) 1998 Netscape Communications Corporation. All Rights
.\" Reserved.
.\"
.\"
.\"
.\"
.\" The following source code is part of the Microline Widget Library.
.\" The Microline widget library is made available to Mozilla developers
.\" under the Netscape Public License (NPL) by Neuron Data. To learn
.\" more about Neuron Data, please visit the Neuron Data Home Page at
.\" http://www.neurondata.com.
.\"
.\"
.TH XmLCreateProgress 3X "R1" "XML1" "XML"
.SH NAME
XmLCreateProgress \- create an instance of a Progress widget
.SH SYNTAX
Widget XmLCreateProgress(\fIparent\fP, \fIname\fP, \fIarglist\fP,
\fIargcount\fP)
.br
Widget \fIparent\fP;
.br
char *\fIname\fP;
.br
ArgList \fIarglist\fP;
.br
Cardinal \fIargcount\fP;
.LP
.SH ARGUMENTS
.IP \fIparent\fP 1i
new widgets parent widget ID
.IP \fIname\fP 1i
name of the newly created widget
.IP \fIarglist\fP 1i
resource name/value pairs
.IP \fIargcount\fP 1i
count of pairs in arglist
.SH DESCRIPTION
Creates an instance of a Progress widget and returns its widget ID.
.SH RETURN VALUE
The widget ID of the newly created Progress widget.
.SH "SEE ALSO"
XmLProgress(3X)

View File

@@ -0,0 +1,54 @@
.\" The contents of this file are subject to the Netscape Public License
.\" Version 1.0 (the "NPL"); you may not use this file except in
.\" compliance with the NPL. You may obtain a copy of the NPL at
.\" http://www.mozilla.org/NPL/
.\"
.\" Software distributed under the NPL is distributed on an "AS IS" basis,
.\" WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
.\" for the specific language governing rights and limitations under the
.\" NPL.
.\"
.\" The Initial Developer of this code under the NPL is Netscape
.\" Communications Corporation. Portions created by Netscape are
.\" Copyright (C) 1998 Netscape Communications Corporation. All Rights
.\" Reserved.
.\"
.\"
.\"
.\"
.\" The following source code is part of the Microline Widget Library.
.\" The Microline widget library is made available to Mozilla developers
.\" under the Netscape Public License (NPL) by Neuron Data. To learn
.\" more about Neuron Data, please visit the Neuron Data Home Page at
.\" http://www.neurondata.com.
.\"
.\"
.TH XmLCreateTree 3X "R1" "XML1" "XML"
.SH NAME
XmLCreateTree \- create an instance of a Tree widget
.SH SYNTAX
Widget XmLCreateTree(\fIparent\fP, \fIname\fP, \fIarglist\fP, \fIargcount\fP)
.br
Widget \fIparent\fP;
.br
char *\fIname\fP;
.br
ArgList \fIarglist\fP;
.br
Cardinal \fIargcount\fP;
.LP
.SH ARGUMENTS
.IP \fIparent\fP 1i
new widgets parent widget ID
.IP \fIname\fP 1i
name of the newly created widget
.IP \fIarglist\fP 1i
resource name/value pairs
.IP \fIargcount\fP 1i
count of pairs in arglist
.SH DESCRIPTION
Creates an instance of a Tree widget and returns its widget ID.
.SH RETURN VALUE
The widget ID of the newly created Tree widget.
.SH "SEE ALSO"
XmLTree(3X)

View File

@@ -0,0 +1,65 @@
.\" The contents of this file are subject to the Netscape Public License
.\" Version 1.0 (the "NPL"); you may not use this file except in
.\" compliance with the NPL. You may obtain a copy of the NPL at
.\" http://www.mozilla.org/NPL/
.\"
.\" Software distributed under the NPL is distributed on an "AS IS" basis,
.\" WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
.\" for the specific language governing rights and limitations under the
.\" NPL.
.\"
.\" The Initial Developer of this code under the NPL is Netscape
.\" Communications Corporation. Portions created by Netscape are
.\" Copyright (C) 1998 Netscape Communications Corporation. All Rights
.\" Reserved.
.\"
.\"
.\"
.\"
.\" The following source code is part of the Microline Widget Library.
.\" The Microline widget library is made available to Mozilla developers
.\" under the Netscape Public License (NPL) by Neuron Data. To learn
.\" more about Neuron Data, please visit the Neuron Data Home Page at
.\" http://www.neurondata.com.
.\"
.\"
.TH XmLCvtStringToUChar 3X "R1" "XML1" "XML"
.SH NAME
XmLCvtStringToUChar \- unsigned char resource converter
.SH SYNTAX
Boolean XmLCvtStringToUChar(\fIdpy\fP, \fIresname\fP, \fImap\fP, \
\fIfromVal\fP, \fItoVal\fP)
.br
Display *\fIdpy\fP;
.br
char *\fIresname\fP;
.br
XmLStringToUCharMap *\fImap\fP;
.br
XrmValuePtr \fIfromVal\fP;
.br
XrmValuePtr \fItoVal\fP;
.LP
.SH ARGUMENTS
.IP \fIdpy\fP 1i
the display
.IP \fIresname\fP 1i
the resource name
.IP \fImap\fP 1i
the mappings of string to unsigned char
.IP \fIfromVal\fP 1i
the resource value from
.IP \fItoVal\fP 1i
the resource value to
.SH DESCRIPTION
This function can be used in a widget to perform resource conversion
from a string to an unsigned char. This function should be called inside
a widgets resource converter where parameters \fIdpy\fP,
\fIfromVal\fP and \fItoVal\fP are available to be passed in. The
\fIresname\fP parameter identifies the resource and the \fImap\fP
array is an array of mappings from strings to unsigned chars. A
NULL string should be used in the last array element to terminate
the array.
.SH RETURN VALUE
True if conversion was successful and toVal is filled in and False if
conversion was unsuccessful.

View File

@@ -0,0 +1,47 @@
.\" The contents of this file are subject to the Netscape Public License
.\" Version 1.0 (the "NPL"); you may not use this file except in
.\" compliance with the NPL. You may obtain a copy of the NPL at
.\" http://www.mozilla.org/NPL/
.\"
.\" Software distributed under the NPL is distributed on an "AS IS" basis,
.\" WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
.\" for the specific language governing rights and limitations under the
.\" NPL.
.\"
.\" The Initial Developer of this code under the NPL is Netscape
.\" Communications Corporation. Portions created by Netscape are
.\" Copyright (C) 1998 Netscape Communications Corporation. All Rights
.\" Reserved.
.\"
.\"
.\"
.\"
.\" The following source code is part of the Microline Widget Library.
.\" The Microline widget library is made available to Mozilla developers
.\" under the Netscape Public License (NPL) by Neuron Data. To learn
.\" more about Neuron Data, please visit the Neuron Data Home Page at
.\" http://www.neurondata.com.
.\"
.\"
.TH XmLDateDaysInMonth 3X "R1" "XML1" "XML"
.SH NAME
XmLDateDaysInMonth \- calculates number of days in month
.SH SYNTAX
int XmLDateDaysInMonth(\fIm\fP, \fIy\fP)
.br
int \fIm\fP;
.br
int \fIy\fP;
.LP
.SH ARGUMENTS
.IP \fIm\fP 1i
month 1 to 12
.IP \fIy\fP 1i
year 1753 to 9999
.SH DESCRIPTION
Calculates the number of days in a given month \fIm\fP and year \fIy\fP.
.SH RETURN VALUE
The number of days in the given month and year. A value of -1 is
returned if a passed value is out of range.
.SH "SEE ALSO"
XmLDateWeekDay(3X)

View File

@@ -0,0 +1,52 @@
.\" The contents of this file are subject to the Netscape Public License
.\" Version 1.0 (the "NPL"); you may not use this file except in
.\" compliance with the NPL. You may obtain a copy of the NPL at
.\" http://www.mozilla.org/NPL/
.\"
.\" Software distributed under the NPL is distributed on an "AS IS" basis,
.\" WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
.\" for the specific language governing rights and limitations under the
.\" NPL.
.\"
.\" The Initial Developer of this code under the NPL is Netscape
.\" Communications Corporation. Portions created by Netscape are
.\" Copyright (C) 1998 Netscape Communications Corporation. All Rights
.\" Reserved.
.\"
.\"
.\"
.\"
.\" The following source code is part of the Microline Widget Library.
.\" The Microline widget library is made available to Mozilla developers
.\" under the Netscape Public License (NPL) by Neuron Data. To learn
.\" more about Neuron Data, please visit the Neuron Data Home Page at
.\" http://www.neurondata.com.
.\"
.\"
.TH XmLDateWeekDay 3X "R1" "XML1" "XML"
.SH NAME
XmLDateWeekDay \- calculates the weekday for a given date
.SH SYNTAX
int XmLDateWeekDay(\fIm\fP, \fId\fP, \fIy\fP)
.br
int \fIm\fP;
.br
int \fId\fP;
.br
int \fIy\fP;
.LP
.SH ARGUMENTS
.IP \fIm\fP 1i
month 1 to 12
.IP \fId\fP 1i
day 1 to number of days in month
.IP \fIy\fP 1i
year 1753 to 9999
.SH DESCRIPTION
Calculates the weekday for the given day \fId\fP, month \fIm\fP, and year
\fIy\fP.
.SH RETURN VALUE
0 for Sunday, 1 for Monday and so on through 6 for Saturday. A value
of -1 is returned if a passed value is out of range.
.SH "SEE ALSO"
XmLDateDaysInMonth(3X)

View File

@@ -0,0 +1,54 @@
.\" The contents of this file are subject to the Netscape Public License
.\" Version 1.0 (the "NPL"); you may not use this file except in
.\" compliance with the NPL. You may obtain a copy of the NPL at
.\" http://www.mozilla.org/NPL/
.\"
.\" Software distributed under the NPL is distributed on an "AS IS" basis,
.\" WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
.\" for the specific language governing rights and limitations under the
.\" NPL.
.\"
.\" The Initial Developer of this code under the NPL is Netscape
.\" Communications Corporation. Portions created by Netscape are
.\" Copyright (C) 1998 Netscape Communications Corporation. All Rights
.\" Reserved.
.\"
.\"
.\"
.\"
.\" The following source code is part of the Microline Widget Library.
.\" The Microline widget library is made available to Mozilla developers
.\" under the Netscape Public License (NPL) by Neuron Data. To learn
.\" more about Neuron Data, please visit the Neuron Data Home Page at
.\" http://www.neurondata.com.
.\"
.\"
.TH XmLDrawnButtonSetType 3X "R1" "XML1" "XML"
.SH NAME
XmLDrawnButtonSetType \- adds graphics to a DrawnButton widget
.SH SYNTAX
void XmLDrawnButtonSetType(\fIwidget\fP, \fIdrawnType\fP, \fIdrawnDir\fP)
.br
Widget \fIwidget\fP;
.br
int \fIdrawnType\fP;
.br
int \fIdrawnDir\fP;
.LP
.SH ARGUMENTS
.IP \fIwidget\fP 1i
DrawnButton widget ID
.IP \fIdrawnType\fP 1i
type of button to display
.IP \fIdrawnDir\fP 1i
direction of button to display
.SH DESCRIPTION
Given a \fIwidget\fP of class XmDrawnButton this function attaches
expose and realize callbacks to the widget to display the specified graphic
in the button. This function also sets the widget's XmNpushButtonEnabled
resource to True. The \fIdrawnType\fP value given must be one of
the following: XmDRAWNB_ARROW, XmDRAWNB_ARROWLINE, XmDRAWNB_DOUBLEARROW,
XmDRAWNB_SQUARE ,XmDRAWNB_DOUBLEBAR or XmDRAWNB_STRING.
The \fIdrawnDir\fP value given must be
XmDRAWNB_RIGHT, XmDRAWNB_LEFT, XmDRAWNB_UP, or XmDRAWNB_DOWN.
The graphics inside the button are drawn in the widget's foreground color.

View File

@@ -0,0 +1,352 @@
.\" The contents of this file are subject to the Netscape Public License
.\" Version 1.0 (the "NPL"); you may not use this file except in
.\" compliance with the NPL. You may obtain a copy of the NPL at
.\" http://www.mozilla.org/NPL/
.\"
.\" Software distributed under the NPL is distributed on an "AS IS" basis,
.\" WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
.\" for the specific language governing rights and limitations under the
.\" NPL.
.\"
.\" The Initial Developer of this code under the NPL is Netscape
.\" Communications Corporation. Portions created by Netscape are
.\" Copyright (C) 1998 Netscape Communications Corporation. All Rights
.\" Reserved.
.\"
.\"
.\"
.\"
.\" The following source code is part of the Microline Widget Library.
.\" The Microline widget library is made available to Mozilla developers
.\" under the Netscape Public License (NPL) by Neuron Data. To learn
.\" more about Neuron Data, please visit the Neuron Data Home Page at
.\" http://www.neurondata.com.
.\"
.\"
.TH XmLFolder 3X "R1" "XML1" "XML"
.SH NAME
XmLFolder
.SH SYNOPSIS
#include <XmL/Folder.h>
.LP
.SH DESCRIPTION
Provides a Folder containing tabs along the top, bottom, left or
right and an area managed by the tabs in the center. Each tab
consists of a Primitive widget surrounded by tab decorations including
an optional pixmap. Any non-Primitive widget children of the Folder
are placed in the center area. The widgets contained in the tabs
can be assigned a non-Primitive widget to display/manage when the
tab widget is selected.
.SS Class Information
Folder inherits from XmManager, Constraint, Composite and Core. Its
class pointer is xmlFolderWidgetClass. Its class name is XmLFolder.
.SS New Resources
.nf
.ft B
Name Class
Type Default Access
.ft P
XmNactiveTab XmCActiveTab
int -1 G
XmNautoSelect XmCAutoSelect
Boolean True CSG
XmNblankBackground XmCBlankBackground
Pixel dynamic CSG
XmNblankBackgroundPixmap XmCBlankBackgroundPixmap
Pixmap dynamic CSG
XmNcornerDimension XmCCornerDimension
Dimension 2 CSG
XmNcornerStyle XmCCornerStyle
unsigned char XmCORNER_ARC CSG
XmNdebugLevel XmCDebugLevel
int 0 CSG
XmNfontList XmCFontList
XmFontList dynamic CSG
XmNhighlightThickness XmCHighlightThickness
Dimension 2 CSG
XmNinactiveBackground XmCInactiveBackground
Pixel dynamic CSG
XmNinactiveForeground XmCInactiveForeground
Pixel dynamic CSG
XmNmarginHeight XmCMarginHeight
Dimension 0 CSG
XmNmarginWidth XmCMarginWidth
Dimension 0 CSG
XmNpixmapMargin XmCPixmapMargin
Dimension 2 CSG
XmNresizePolicy XmCFolderResizePolicy
XmRFolderResizePolicy XmRESIZE_STATIC CSG
XmNrotateWhenLeftRight XmCRotateWhenLeftRight
Boolean True CSG
XmNspacing XmCSpacing
Dimension 0 CSG
XmNtabBarHeight XmCTabBarHeight
Dimension dynamic G
XmNtabCount XmCTabCount
int 0 G
XmNtabPlacement XmCTabPlacement
unsigned char XmFOLDER_TOP CSG
XmNtabsPerRow XmCTabsPerRow
int 0 CSG
XmNtabTranslations XmCTranslations
XtTranslations [focus translations] CG
XmNtabWidgetList XmCReadOnly
WidgetList dynamic G
.fi
.IP XmNactiveTab
The position of the currently active tab. The first tab on the
left has a position of 0. If no tab is active, this value equals -1.
.IP XmNautoSelect
If True (the default), the Folder will activate its first tab
when it is realized. No callback is generated by this action.
If False, no initial tab will be activated.
.IP XmNblankBackground
The color of the area between tabs, around tabs, and between
tabs and the edge of the Folder.
.IP XmNblankBackgroundPixmap
The pixmap to display as a background (tiled) in the blank background
area. See XmNblankBackground.
.IP XmNcornerDimension
If XmNcornerStyle is XmCORNER_LINE, this value is used to determine
the length of the lines that clip the corners of the tabs. The
greater this value is, the longer the corner lines will be. If
XmNcornerStyle is XmCORNER_ARC, this value is used to determine
the sizes of the arcs in the corners of the tabs. If XmNcornerStyle
is XmCORNER_NONE, this resource has no effect.
.IP XmNcornerStyle
Defines the type of corners on the individual tabs. Possible values:
.nf
XmCORNER_NONE /* no corners */
XmCORNER_LINE /* corners are beveled */
XmCORNER_ARC /* corners are round */
.fi
.IP XmNdebugLevel
If set to a value greater than 0, debugging messages will be
printed to stderr. When set to 0 (the default) only error
messages will be generated.
.IP XmNfontList
The default font list for tabs created with the XmLFolderAddTab()
functions. Changing this value does not affect existing widgets.
If this value is NULL, a font list is obtained from the nearest
parent that is a subclass of BulletinBoard, MenuShell, or VendorShell.
.IP XmNhighlightThickness
The thickness of the highlight drawn around the Primitive widget
contained in the active tab. When a Primitive widget is added to
the Folder, its highlightThickness is set to 0. The Folder is
responsible for drawing the highlight in the active tab.
This is necessary because if the Primitive widget were allowed
to draw the highlight, it would erase the highlight with
an incorrect color.
.IP XmNinactiveBackground
The background color of inactive tabs. This value is initially set
to the background color of the Folder widget.
.IP XmNinactiveForeground
The foreground color of inactive tabs. This value is initially
set to the foreground color of the Folder widget.
.IP XmNmarginHeight
If tab placement is on the top or bottom, this value is the margin
between tab widgets and the top of tabs, and between tab widgets
and the bottom of tabs. If tab placement is on the left or right,
this value is the margin between tab widgets and the left of tabs,
and between tab widgets and the right of tabs.
.IP XmNmarginWidth
If tab placement is on the top or bottom, this value is the margin
between tab widgets and the left of tabs, and between tab widgets
and the right of tabs. If tab placement is on the left
or right, this value is the margin between tab widgets and the top of
tabs and between tab widgets and bottoms of tabs.
.IP XmNpixmapMargin
The margin between the tab widget and any pixmap to its left.
.IP XmNresizePolicy
This policy determines when the Folder should perform a request
for a new size from its parent.
A policy of XmRESIZE_STATIC (the default) will cause the Folder
to initially request a size which includes the preferred size of
its children and then reject any subsequent resize requests from
its non-tab widget children. A policy of XmRESIZE_DYNAMIC will
cause the Folder to resize itself to include the preferred size
of any of its children whenever its children change size. A
policy of XmRESIZE_NONE will cause the Folder to never generate
a resize request and also will cause it not to perform geometry
management on its non-tab widget children. Possible values:
.nf
XmRESIZE_NONE /* no resize requests and no
placement or geometry management
of non-tab children */
XmRESIZE_STATIC /* initially layout to include
preferred size of children */
XmRESIZE_DYNAMIC /* dynamically resize as children
request new size */
.fi
.IP XmNrotateWhenLeftRight
If True, XmDrawnButton based tabs (including tabs created with the
XmLFolderAddTab() functions) will display their text vertically
instead of horizontally if they are placed on the left or right
of the Folder. This occurs when the Folder's XmNtabPlacement
resource is XmFOLDER_LEFT or XmFOLDER_RIGHT. Tabs on the
left would have their text drawn up and tabs on the right
would have their text drawn down. If False, tabs are left
oriented horizontally regardless of their placement.
.IP XmNspacing
The amount of space between tabs.
.IP XmNtabBarHeight
The height, in pixels, of the tab bar. If tab placement is on
the left or right, this value is the width of the tab bar.
This value may not be set and is only valid after the Folder
has been managed and has performed its layout.
.IP XmNtabCount
The number of tabs displayed.
.IP XmNtabPlacement
Where to place the tabs. Possible values:
.nf
XmFOLDER_TOP /* top left to right */
XmFOLDER_BOTTOM /* bottom left to right */
XmFOLDER_LEFT /* left top to bottom */
XmFOLDER_RIGHT /* right top to bottom */
.fi
.IP XmNtabsPerRow
If set to 0 (the default), the Folder will place tabs in a
single row one after another during layout. If non-zero,
this value specifies the number of rows of tabs to appear
in the Folder and the Folder will pad each row to the width
of the Folder by proportionally sizing the tabs based on
their contents and the width of the row.
.IP XmNtabTranslations
The translation table used to augment the translations of
Primitive widgets added to the Folder. The Folder overrides
the FocusIn and FocusOut translations of its Primitive widget
children allowing it to draw and erase tab highlights.
.IP XmNtabWidgetList
The list of widgets contained inside the tabs. These widgets
are subclasses of XmPrimitive.
.SS Constraint Resources
Folder defines the following constraint resources.
.nf
.ft B
Name Class
Type Default Access
.ft P
XmNtabFreePixmaps XmCTabFreePixmap
Boolean False CSG
XmNtabInactivePixmap XmCTabInactivePixmap
Pixmap XmUNSPECIFIED_PIXMAP CSG
XmNtabManagedName XmCTabManagedName
String NULL CSG
XmNtabManagedWidget XmCTabManagedWidget
Widget NULL CSG
XmNtabPixmap XmCTabPixmap
Pixmap XmUNSPECIFIED_PIXMAP CSG
.fi
.IP XmNtabFreePixmaps
If True, the Folder will call XFreePixmap on the XmNtabPixmap and
XmNtabInactivePixmap pixmaps when this widget is destroyed.
This value is set to True for tabs created by the
XmLFolderAddBitmapTab() functions.
.IP XmNtabInactivePixmap
The pixmap to appear in the left of the tab when the tab is inactive.
.IP XmNtabManagedName
By setting a managed name on a tab widget and setting the same
managed name on a Manager widget, you specify that the tab
manages the Manager widget. You can also specify that a tab
manages a specific Manager widget by setting the managed name
on the tab widget to the name (XtName) of the Manager widget.
If a tab widget has a managed name, the XmNtabManagedWidget
resource of the tab widget is ignored.
.IP XmNtabManagedWidget
Specifies a widget to be managed when this widget is activated.
When this widget is deactivated, its managed widget will be
unmanaged. This resource allows Manager widgets contained in the
center of the Folder to be attached to tabs, so when a user
selects a tab its attached Manager widget will be displayed on
the screen.
.IP XmNtabPixmap
The pixmap to appear in the left of the tab when the tab is active.
.SS Callback Resources
Folder defines the following callback resources.
.nf
.ft B
Callback Reason
.ft P
XmNactivateCallback XmCR_ACTIVATE
.fi
.SS Callback Structure
Each callback function is passed a pointer to the structure shown below.
.nf
typedef struct
{
int reason; /* callback reason */
XEvent *event; /* event callback or NULL */
int pos; /* position of tab to act */
int allowActivate; /* allow/disallow act (1/0) */
} XmLFolderCallbackStruct;
.fi
pos will be set to the position of the tab (with 0 as the first tab
on the left) to activate for XmNactivateCallback callbacks.
If allowActivate is set to 0 by the callback function, the tab will not
be activated and the attempt to activate the given tab will be rejected.
.SS Inherited Resources
Folder inherits the resources shown below.
.nf
.ft B
Resource From Resource From
.ft P
XmNaccelerators Core XmNinitialResourcePersist Core
XmNancestorSensitive Core XmNinsertPosition Composite
XmNbackground Core XmNmappedWhenManaged Core
XmNbackgroundPixmap Core XmNnavagationType Manager
XmNborderColor Core XmNnumChildren Composite
XmNborderPixmap Core XmNscreen Core
XmNborderWidth Core XmNsensitive Core
XmNbottomShadowColor Manager XmNshadowThicknses Manager
XmNbottomShadowPixmap Manager XmNstringDirection Manager
XmNchildren Composite XmNtopShadowColor Manager
XmNcolormap Core XmNtopShadowPixmap Manager
XmNdepth Core XmNtranslations Core
XmNdestroyCallback Core XmNtraversalOn Manager
XmNforeground Manager XmNunitType Manager
XmNheight Core XmNuserData Manager
XmNhelpCallback Manager XmNwidth Core
XmNhighlightColor Manager XmNx Core
XmNhighlightPixmap Manager XmNy Core
.fi
.SS Folder Translations
Folder defines the translations shown below.
.nf
.ft B
Event Action
.ft P
BSelect Press XmLFolderActivate()
.fi
.SS Folder Primitive Translations
Folder overrides the translations shown below for all of
its Primitive widget children.
.nf
.ft B
Event Action
.ft P
FocusIn PrimitiveFocusIn() XmLFolderPrimFocusIn()
FocusOut PrimtiveFocusOut() XmLFolderPrimFocusOut()
.fi
.SS Action Routines
Folder defines the actions shown below.
.IP XmLFolderActivate()
Activates the tab at the location of the event passed to the action routine.
.IP XmLFolderPrimFocusIn()
Draws a highlight around the given widget.
.IP XmLFolderPrimFocusOut()
Erases the highlight around the given widget.
.SH "SEE ALSO"
XmLCreateFolder(3X) XmLFolderAddBitmapTab(3X) XmLFolderAddBitmapTabForm(3X)
XmLFolderAddTab(3X) XmLFolderAddTabForm(3X) XmLFolderSetActiveTab(3X)

View File

@@ -0,0 +1,60 @@
.\" The contents of this file are subject to the Netscape Public License
.\" Version 1.0 (the "NPL"); you may not use this file except in
.\" compliance with the NPL. You may obtain a copy of the NPL at
.\" http://www.mozilla.org/NPL/
.\"
.\" Software distributed under the NPL is distributed on an "AS IS" basis,
.\" WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
.\" for the specific language governing rights and limitations under the
.\" NPL.
.\"
.\" The Initial Developer of this code under the NPL is Netscape
.\" Communications Corporation. Portions created by Netscape are
.\" Copyright (C) 1998 Netscape Communications Corporation. All Rights
.\" Reserved.
.\"
.\"
.\"
.\"
.\" The following source code is part of the Microline Widget Library.
.\" The Microline widget library is made available to Mozilla developers
.\" under the Netscape Public License (NPL) by Neuron Data. To learn
.\" more about Neuron Data, please visit the Neuron Data Home Page at
.\" http://www.neurondata.com.
.\"
.\"
.TH XmLFolderAddBitmapTab 3X "R1" "XML1" "XML"
.SH NAME
XmLFolderAddBitmapTab \- add a tab to a Folder containing a string and bitmap
.SH SYNTAX
Widget XmLFolderAddBitmapTab(\fIwidget\fP, \fIstring\fP, \
\fIbitmapBits\fP, \fIbitmapWidth\fP, \fIbitmapHeight\fP)
.br
Widget \fIwidget\fP;
.br
XmString \fIstring\fP;
.br
char *\fIbitmapBits\fP;
.br
int \fIbitmapWidth\fP;
.br
int \fIbitmapHeight\fP;
.LP
.SH ARGUMENTS
.IP \fIwidget\fP 1i
Folder widget ID
.IP \fIstring\fP 1i
string to display in the tab
.IP \fIbitmapBits\fP 1i
bitmap to display in the tab
.IP \fIbitmapWidth\fP 1i
width of the bitmap in pixels
.IP \fIbitmapHeight\fP 1i
height of the bitmap in pixels
.SH DESCRIPTION
Adds a tab to the Folder \fIwidget\fP containing the \fIstring\fP and
\fIbitmap\fP specified.
.SH RETURN VALUE
Returns the widget ID of the DrawnButton widget contained in the tab.
.SH "SEE ALSO"
XmLFolderAddBitmapTabForm(3X) XmLFolderAddTab(3X) XmLFolder(3X)

View File

@@ -0,0 +1,62 @@
.\" The contents of this file are subject to the Netscape Public License
.\" Version 1.0 (the "NPL"); you may not use this file except in
.\" compliance with the NPL. You may obtain a copy of the NPL at
.\" http://www.mozilla.org/NPL/
.\"
.\" Software distributed under the NPL is distributed on an "AS IS" basis,
.\" WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
.\" for the specific language governing rights and limitations under the
.\" NPL.
.\"
.\" The Initial Developer of this code under the NPL is Netscape
.\" Communications Corporation. Portions created by Netscape are
.\" Copyright (C) 1998 Netscape Communications Corporation. All Rights
.\" Reserved.
.\"
.\"
.\"
.\"
.\" The following source code is part of the Microline Widget Library.
.\" The Microline widget library is made available to Mozilla developers
.\" under the Netscape Public License (NPL) by Neuron Data. To learn
.\" more about Neuron Data, please visit the Neuron Data Home Page at
.\" http://www.neurondata.com.
.\"
.\"
.TH XmLFolderAddBitmapTabForm 3X "R1" "XML1" "XML"
.SH NAME
XmLFolderAddBitmapTabForm \- add a tab to a Folder containing a string
and bitmap and a form managed by the tab
.SH SYNTAX
Widget XmLFolderAddBitmapTabForm(\fIwidget\fP, \fIstring\fP, \
\fIbitmapBits\fP, \fIbitmapWidth\fP, \fIbitmapHeight\fP)
.br
Widget \fIwidget\fP;
.br
XmString \fIstring\fP;
.br
char *\fIbitmapBits\fP;
.br
int \fIbitmapWidth\fP;
.br
int \fIbitmapHeight\fP;
.LP
.SH ARGUMENTS
.IP \fIwidget\fP 1i
Folder widget ID
.IP \fIstring\fP 1i
string to display in the tab
.IP \fIbitmapBits\fP 1i
bitmap to display in the tab
.IP \fIbitmapWidth\fP 1i
width of the bitmap in pixels
.IP \fIbitmapHeight\fP 1i
height of the bitmap in pixels
.SH DESCRIPTION
Adds a tab to the Folder \fIwidget\fP containing the \fIstring\fP and
\fIbitmap\fP specified and adds a form (XmForm widget) to the Folder
which is managed by that tab.
.SH RETURN VALUE
Returns the widget ID of the Form widget managed by the new tab.
.SH "SEE ALSO"
XmLFolderAddTab(3X) XmLFolder(3X)

View File

@@ -0,0 +1,46 @@
.\" The contents of this file are subject to the Netscape Public License
.\" Version 1.0 (the "NPL"); you may not use this file except in
.\" compliance with the NPL. You may obtain a copy of the NPL at
.\" http://www.mozilla.org/NPL/
.\"
.\" Software distributed under the NPL is distributed on an "AS IS" basis,
.\" WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
.\" for the specific language governing rights and limitations under the
.\" NPL.
.\"
.\" The Initial Developer of this code under the NPL is Netscape
.\" Communications Corporation. Portions created by Netscape are
.\" Copyright (C) 1998 Netscape Communications Corporation. All Rights
.\" Reserved.
.\"
.\"
.\"
.\"
.\" The following source code is part of the Microline Widget Library.
.\" The Microline widget library is made available to Mozilla developers
.\" under the Netscape Public License (NPL) by Neuron Data. To learn
.\" more about Neuron Data, please visit the Neuron Data Home Page at
.\" http://www.neurondata.com.
.\"
.\"
.TH XmLFolderAddTab 3X "R1" "XML1" "XML"
.SH NAME
XmLFolderAddTab \- add a tab to a Folder containing a string
.SH SYNTAX
Widget XmLFolderAddTab(\fIwidget\fP, \fIstring\fP)
.br
Widget \fIwidget\fP;
.br
XmString \fIstring\fP;
.LP
.SH ARGUMENTS
.IP \fIwidget\fP 1i
Folder widget ID
.IP \fIstring\fP 1i
string to display in the tab
.SH DESCRIPTION
Adds a tab to a Folder containing the \fIstring\fP specified.
.SH RETURN VALUE
Returns the widget ID of the DrawnButton widget contained in the tab.
.SH "SEE ALSO"
XmLFolderAddBitmapTab(3X) XmLFolder(3X)

View File

@@ -0,0 +1,49 @@
.\" The contents of this file are subject to the Netscape Public License
.\" Version 1.0 (the "NPL"); you may not use this file except in
.\" compliance with the NPL. You may obtain a copy of the NPL at
.\" http://www.mozilla.org/NPL/
.\"
.\" Software distributed under the NPL is distributed on an "AS IS" basis,
.\" WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
.\" for the specific language governing rights and limitations under the
.\" NPL.
.\"
.\" The Initial Developer of this code under the NPL is Netscape
.\" Communications Corporation. Portions created by Netscape are
.\" Copyright (C) 1998 Netscape Communications Corporation. All Rights
.\" Reserved.
.\"
.\"
.\"
.\"
.\" The following source code is part of the Microline Widget Library.
.\" The Microline widget library is made available to Mozilla developers
.\" under the Netscape Public License (NPL) by Neuron Data. To learn
.\" more about Neuron Data, please visit the Neuron Data Home Page at
.\" http://www.neurondata.com.
.\"
.\"
.TH XmLFolderAddTabForm 3X "R1" "XML1" "XML"
.SH NAME
XmLFolderAddTabForm \- add a tab to a Folder containing a string and
a form managed by the tab
.SH SYNTAX
Widget XmLFolderAddTabForm(\fIwidget\fP, \fIstring\fP)
.br
Widget \fIwidget\fP;
.br
XmString \fIstring\fP;
.LP
.SH ARGUMENTS
.IP \fIwidget\fP 1i
Folder widget ID
.IP \fIstring\fP 1i
string to display in the tab
.SH DESCRIPTION
Adds a tab to the Folder \fIwidget\fP containing the \fIstring\fP
specified and adds a form (XmForm widget) to the Folder which is
managed by that tab.
.SH RETURN VALUE
Returns the widget ID of the Form widget managed by the new tab.
.SH "SEE ALSO"
XmLFolderAddBitmapTabForm(3X) XmLFolder(3X)

View File

@@ -0,0 +1,52 @@
.\" The contents of this file are subject to the Netscape Public License
.\" Version 1.0 (the "NPL"); you may not use this file except in
.\" compliance with the NPL. You may obtain a copy of the NPL at
.\" http://www.mozilla.org/NPL/
.\"
.\" Software distributed under the NPL is distributed on an "AS IS" basis,
.\" WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
.\" for the specific language governing rights and limitations under the
.\" NPL.
.\"
.\" The Initial Developer of this code under the NPL is Netscape
.\" Communications Corporation. Portions created by Netscape are
.\" Copyright (C) 1998 Netscape Communications Corporation. All Rights
.\" Reserved.
.\"
.\"
.\"
.\"
.\" The following source code is part of the Microline Widget Library.
.\" The Microline widget library is made available to Mozilla developers
.\" under the Netscape Public License (NPL) by Neuron Data. To learn
.\" more about Neuron Data, please visit the Neuron Data Home Page at
.\" http://www.neurondata.com.
.\"
.\"
.TH XmLFolderSetActiveTab 3X "R1" "XML1" "XML"
.SH NAME
XmLFolderSetActiveTab \- activate a tab at a given position
.SH SYNTAX
void XmLFolderSetActiveTab(\fIwidget\fP, \fIposition\fP, \fInotify\fP)
.br
Widget \fIwidget\fP;
.br
int \fIposition\fP;
.br
Boolean \fInotify\fP;
.LP
.SH ARGUMENTS
.IP \fIwidget\fP 1i
Folder widget ID
.IP \fIposition\fP 1i
active tab position
.IP \fInotify\fP 1i
if True, activate callback will be called
.SH DESCRIPTION
Activates a tab at the given \fIposition\fP. If the activated tab
manages a widget, that widget will be managed and any other widgets
managed by other tabs will be unmanaged. The Folder's XmNactivateCallback
callbacks will be called if \fInotify\fP is True and the position passed
is different from the current active position.
.SH "SEE ALSO"
XmLFolder(3X)

View File

@@ -0,0 +1,42 @@
.\" The contents of this file are subject to the Netscape Public License
.\" Version 1.0 (the "NPL"); you may not use this file except in
.\" compliance with the NPL. You may obtain a copy of the NPL at
.\" http://www.mozilla.org/NPL/
.\"
.\" Software distributed under the NPL is distributed on an "AS IS" basis,
.\" WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
.\" for the specific language governing rights and limitations under the
.\" NPL.
.\"
.\" The Initial Developer of this code under the NPL is Netscape
.\" Communications Corporation. Portions created by Netscape are
.\" Copyright (C) 1998 Netscape Communications Corporation. All Rights
.\" Reserved.
.\"
.\"
.\"
.\"
.\" The following source code is part of the Microline Widget Library.
.\" The Microline widget library is made available to Mozilla developers
.\" under the Netscape Public License (NPL) by Neuron Data. To learn
.\" more about Neuron Data, please visit the Neuron Data Home Page at
.\" http://www.neurondata.com.
.\"
.\"
.TH XmLFontListCopyDefault 3X "R1" "XML1" "XML"
.SH NAME
XmLFontListCopyDefault \- returns a copy of the default font list for a widget
.SH SYNTAX
XmLFontList XmLFontListCopyDefault(\fIwidget\fP)
.br
Widget \fIwidget\fP;
.LP
.SH ARGUMENTS
.IP \fIwidget\fP 1i
widget to retrieve default font list for
.SH DESCRIPTION
Returns a copy of the default font list for the given \fIwidget\fP.
The default font list is found by looking for the font list default
of the nearest BulletinBoard, MenuShell or VendorShell parent.
.SH RETURN VALUE
A copy of the default font list for the given \fIwidget\fP.

View File

@@ -0,0 +1,56 @@
.\" The contents of this file are subject to the Netscape Public License
.\" Version 1.0 (the "NPL"); you may not use this file except in
.\" compliance with the NPL. You may obtain a copy of the NPL at
.\" http://www.mozilla.org/NPL/
.\"
.\" Software distributed under the NPL is distributed on an "AS IS" basis,
.\" WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
.\" for the specific language governing rights and limitations under the
.\" NPL.
.\"
.\" The Initial Developer of this code under the NPL is Netscape
.\" Communications Corporation. Portions created by Netscape are
.\" Copyright (C) 1998 Netscape Communications Corporation. All Rights
.\" Reserved.
.\"
.\"
.\"
.\"
.\" The following source code is part of the Microline Widget Library.
.\" The Microline widget library is made available to Mozilla developers
.\" under the Netscape Public License (NPL) by Neuron Data. To learn
.\" more about Neuron Data, please visit the Neuron Data Home Page at
.\" http://www.neurondata.com.
.\"
.\"
.TH XmLFontListGetDimensions 3X "R1" "XML1" "XML"
.SH NAME
XmLFontListGetDimensions \- calculates overall width and height of characters
in a font list
.SH SYNTAX
void XmLFontListGetDimensions(\fIfontList\fP, \fIwidth\fP, \
\fIheight\fP, \fIuseAverageWidth\fP)
.br
XmFontList \fIfontList\fP;
.br
short *\fIwidth\fP;
.br
short *\fIheight\fP;
.br
Boolean \fIuseAverageWidth\fP;
.LP
.SH ARGUMENTS
.IP \fIfontList\fP 1i
font list
.IP \fIwidth\fP 1i
maximum or average character width in fontlist
.IP \fIheight\fP 1i
maximum character height in fontlist
.IP \fIuseAverageWidth\fP 1i
if True, return average glyph width instead of maximum glyph width
.SH DESCRIPTION
Calculates the overall \fIwidth\fP and \fIheight\fP of the characters in
a given \fIfontList\fP. The height returned is the height of the tallest
glyph. If \fIuseAverageWidth\fP is False, the width returned is the
width of the widest glyph. If True, the width returned is the average
width of all of the glyphs.

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,61 @@
.\" The contents of this file are subject to the Netscape Public License
.\" Version 1.0 (the "NPL"); you may not use this file except in
.\" compliance with the NPL. You may obtain a copy of the NPL at
.\" http://www.mozilla.org/NPL/
.\"
.\" Software distributed under the NPL is distributed on an "AS IS" basis,
.\" WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
.\" for the specific language governing rights and limitations under the
.\" NPL.
.\"
.\" The Initial Developer of this code under the NPL is Netscape
.\" Communications Corporation. Portions created by Netscape are
.\" Copyright (C) 1998 Netscape Communications Corporation. All Rights
.\" Reserved.
.\"
.\"
.\"
.\"
.\" The following source code is part of the Microline Widget Library.
.\" The Microline widget library is made available to Mozilla developers
.\" under the Netscape Public License (NPL) by Neuron Data. To learn
.\" more about Neuron Data, please visit the Neuron Data Home Page at
.\" http://www.neurondata.com.
.\"
.\"
.TH XmLGridAddColumns 3X "R1" "XML1" "XML"
.SH NAME
XmLGridAddColumns \- add columns to a Grid
.SH SYNTAX
void XmLGridAddColumns(\fIwidget\fP, \fItype\fP, \
\fIposition\fP, \fIcount\fP)
.br
Widget \fIwidget\fP;
.br
unsigned char \fItype\fP;
.br
int \fIposition\fP;
.br
int \fIcount\fP;
.LP
.SH ARGUMENTS
.IP \fIwidget\fP 1i
Grid widget ID
.IP \fItype\fP 1i
type of column
.IP \fIposition\fP 1i
position of first column
.IP \fIcount\fP 1i
number of columns to add
.SH DESCRIPTION
Adds \fIcount\fP columns of the given \fItype\fP at the specified
\fIposition\fP. See the XmLGrid man page for an explaination of column
types. A position of 0 indicates the first column
of the given type. A position of -1 specifies after the last
position of that column type. The Grid will call its XmNaddCallback
callbacks for each column and cell it creates. It will remain
scrolled to the column scrolled to prior to the addition of
columns, and focus will remain in the column which had focus
prior to the addition of the columns.
.SH "SEE ALSO"
XmLGrid(3X) XmLGridAddRows(3X)

View File

@@ -0,0 +1,61 @@
.\" The contents of this file are subject to the Netscape Public License
.\" Version 1.0 (the "NPL"); you may not use this file except in
.\" compliance with the NPL. You may obtain a copy of the NPL at
.\" http://www.mozilla.org/NPL/
.\"
.\" Software distributed under the NPL is distributed on an "AS IS" basis,
.\" WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
.\" for the specific language governing rights and limitations under the
.\" NPL.
.\"
.\" The Initial Developer of this code under the NPL is Netscape
.\" Communications Corporation. Portions created by Netscape are
.\" Copyright (C) 1998 Netscape Communications Corporation. All Rights
.\" Reserved.
.\"
.\"
.\"
.\"
.\" The following source code is part of the Microline Widget Library.
.\" The Microline widget library is made available to Mozilla developers
.\" under the Netscape Public License (NPL) by Neuron Data. To learn
.\" more about Neuron Data, please visit the Neuron Data Home Page at
.\" http://www.neurondata.com.
.\"
.\"
.TH XmLGridAddRows 3X "R1" "XML1" "XML"
.SH NAME
XmLGridAddRows \- add rows to a Grid
.SH SYNTAX
void XmLGridAddRows(\fIwidget\fP, \fItype\fP, \
\fIposition\fP, \fIcount\fP)
.br
Widget \fIwidget\fP;
.br
unsigned char \fItype\fP;
.br
int \fIposition\fP;
.br
int \fIcount\fP;
.LP
.SH ARGUMENTS
.IP \fIwidget\fP 1i
Grid widget ID
.IP \fItype\fP 1i
type of row
.IP \fIposition\fP 1i
position of first row
.IP \fIcount\fP 1i
number of rows to add
.SH DESCRIPTION
Adds \fIcount\fP rows of the given \fItype\fP at the specified
\fIposition\fP. See the XmLGrid man page for an explaination of row
types. A position of 0 indicates the first row
of the given type. A position of -1 specifies after the last
position of that row type. The Grid will call its XmNaddCallback
callbacks for each row and cell it creates. It will remain
scrolled to the row scrolled to prior to the addition of
rows, and focus will remain in the row which had focus
prior to the addition of the rows.
.SH "SEE ALSO"
XmLGrid(3X) XmLGridAddColumns(3X)

View File

@@ -0,0 +1,47 @@
.\" The contents of this file are subject to the Netscape Public License
.\" Version 1.0 (the "NPL"); you may not use this file except in
.\" compliance with the NPL. You may obtain a copy of the NPL at
.\" http://www.mozilla.org/NPL/
.\"
.\" Software distributed under the NPL is distributed on an "AS IS" basis,
.\" WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
.\" for the specific language governing rights and limitations under the
.\" NPL.
.\"
.\" The Initial Developer of this code under the NPL is Netscape
.\" Communications Corporation. Portions created by Netscape are
.\" Copyright (C) 1998 Netscape Communications Corporation. All Rights
.\" Reserved.
.\"
.\"
.\"
.\"
.\" The following source code is part of the Microline Widget Library.
.\" The Microline widget library is made available to Mozilla developers
.\" under the Netscape Public License (NPL) by Neuron Data. To learn
.\" more about Neuron Data, please visit the Neuron Data Home Page at
.\" http://www.neurondata.com.
.\"
.\"
.TH XmLGridColumnIsVisible 3X "R1" "XML1" "XML"
.SH NAME
XmLGridColumnIsVisible \- determine visiblily of a content column
.SH SYNTAX
void XmLGridColumnIsVisible(\fIwidget\fP, \fIcolumn\fP)
.br
Widget \fIwidget\fP;
.br
int \fIcolumn\fP;
.LP
.SH ARGUMENTS
.IP \fIwidget\fP 1i
Grid widget ID
.IP \fIcolumn\fP 1i
position of content column
.SH DESCRIPTION
Determines visibility of a content column.
.SH RETURN VALUE
Returns True if any part of the content column given is visible
to the user, and False otherwise.
.SH "SEE ALSO"
XmLGrid(3X) XmLGridRowIsVisible(3X)

View File

@@ -0,0 +1,78 @@
.\" The contents of this file are subject to the Netscape Public License
.\" Version 1.0 (the "NPL"); you may not use this file except in
.\" compliance with the NPL. You may obtain a copy of the NPL at
.\" http://www.mozilla.org/NPL/
.\"
.\" Software distributed under the NPL is distributed on an "AS IS" basis,
.\" WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
.\" for the specific language governing rights and limitations under the
.\" NPL.
.\"
.\" The Initial Developer of this code under the NPL is Netscape
.\" Communications Corporation. Portions created by Netscape are
.\" Copyright (C) 1998 Netscape Communications Corporation. All Rights
.\" Reserved.
.\"
.\"
.\"
.\"
.\" The following source code is part of the Microline Widget Library.
.\" The Microline widget library is made available to Mozilla developers
.\" under the Netscape Public License (NPL) by Neuron Data. To learn
.\" more about Neuron Data, please visit the Neuron Data Home Page at
.\" http://www.neurondata.com.
.\"
.\"
.TH XmLGridCopyPos 3X "R1" "XML1" "XML"
.SH NAME
XmLGridCopyPos \- copy the string contents of cells in a Grid at a
given location to the clipboard
.SH SYNTAX
Boolean XmLGridCopyPos(\fIwidget\fP, \fItime\fP, \fIrowType\fP, \fIrow\fP, \
\fIcolumnType\fP, \fIcolumn\fP, \fInrow\fP, \fIncolumn\fP)
.br
Widget \fIwidget\fP;
.br
Time \fItime\fP;
.br
unsigned char \fIrowType\fP;
.br
int \fIrow\fP;
.br
unsigned char \fIcolumnType\fP;
.br
int \fIcolumn\fP;
.br
int \fInrow\fP;
.br
int \fIncolumn\fP;
.LP
.SH ARGUMENTS
.IP \fIwidget\fP 1i
Grid widget ID
.IP \fItime\fP 1i
Time of event
.IP \fIrowType\fP 1i
type of first row
.IP \fIrow\fP 1i
location of first row
.IP \fIcolumnType\fP 1i
type of first column
.IP \fIcolumn\fP 1i
location of first column
.IP \fInrow\fP 1i
number of rows
.IP \fIncolumn\fP 1i
number of columns
.SH DESCRIPTION
Copies the contents of cells in \fInrow\fP number of rows and
\fIncolumn\fP number of columns to the clipboard
starting at the row and column specified by
\fIrowType\fP, \fIrow\fP, \fIcolumnType\fP, and \fIcolumn\fP.
The \fItime\fP parameter should be set to the time of the event
(most likely CurrentTime).
.SH RETURN VALUE
A value of True is returned upon success, and False is returned
upon failure.
.SH "SEE ALSO"
XmLGridCopySelected(3X) XmLGridPaste(3X)

View File

@@ -0,0 +1,49 @@
.\" The contents of this file are subject to the Netscape Public License
.\" Version 1.0 (the "NPL"); you may not use this file except in
.\" compliance with the NPL. You may obtain a copy of the NPL at
.\" http://www.mozilla.org/NPL/
.\"
.\" Software distributed under the NPL is distributed on an "AS IS" basis,
.\" WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
.\" for the specific language governing rights and limitations under the
.\" NPL.
.\"
.\" The Initial Developer of this code under the NPL is Netscape
.\" Communications Corporation. Portions created by Netscape are
.\" Copyright (C) 1998 Netscape Communications Corporation. All Rights
.\" Reserved.
.\"
.\"
.\"
.\"
.\" The following source code is part of the Microline Widget Library.
.\" The Microline widget library is made available to Mozilla developers
.\" under the Netscape Public License (NPL) by Neuron Data. To learn
.\" more about Neuron Data, please visit the Neuron Data Home Page at
.\" http://www.neurondata.com.
.\"
.\"
.TH XmLGridCopySelected 3X "R1" "XML1" "XML"
.SH NAME
XmLGridCopySelected \- copy the string contents of selected cells in a Grid
to the clipboard
.SH SYNTAX
Boolean XmLGridCopySelected(\fIwidget\fP, \fItime\fP)
.br
Widget \fIwidget\fP;
.br
Time \fItime\fP;
.LP
.SH ARGUMENTS
.IP \fIwidget\fP 1i
Grid widget ID
.IP \fItime\fP 1i
Time of event
.SH DESCRIPTION
Copies the contents any selected cells in a Grid to the clipboard.
The \fItime\fP parameter should be set to the time of the event
(most likely CurrentTime).
.SH RETURN VALUE
True is returned upon success, and False is returned upon failure.
.SH "SEE ALSO"
XmLGridCopyPos(3X) XmLGridPaste(3X)

View File

@@ -0,0 +1,53 @@
.\" The contents of this file are subject to the Netscape Public License
.\" Version 1.0 (the "NPL"); you may not use this file except in
.\" compliance with the NPL. You may obtain a copy of the NPL at
.\" http://www.mozilla.org/NPL/
.\"
.\" Software distributed under the NPL is distributed on an "AS IS" basis,
.\" WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
.\" for the specific language governing rights and limitations under the
.\" NPL.
.\"
.\" The Initial Developer of this code under the NPL is Netscape
.\" Communications Corporation. Portions created by Netscape are
.\" Copyright (C) 1998 Netscape Communications Corporation. All Rights
.\" Reserved.
.\"
.\"
.\"
.\"
.\" The following source code is part of the Microline Widget Library.
.\" The Microline widget library is made available to Mozilla developers
.\" under the Netscape Public License (NPL) by Neuron Data. To learn
.\" more about Neuron Data, please visit the Neuron Data Home Page at
.\" http://www.neurondata.com.
.\"
.\"
.TH XmLGridDeleteAllColumns 3X "R1" "XML1" "XML"
.SH NAME
XmLGridDeleteAllColumns \- delete all columns of a given type
.SH SYNTAX
void XmLGridDeleteAllColumns(\fIwidget\fP, \fItype\fP)
.br
Widget \fIwidget\fP;
.br
unsigned char \fItype\fP;
.LP
.SH ARGUMENTS
.IP \fIwidget\fP 1i
Grid widget ID
.IP \fItype\fP 1i
type of column
.SH DESCRIPTION
Deletes all columns of the given type. The Grid will call its
XmNdeleteCallback callbacks for each column and cell deleted.
If possible, the focus will remain in the column which had focus
prior to the deletion of columns. If the cell which has focus
is in one of the columns deleted, the Grid's XmNcellFocusCallback
callbacks will be called with a reason of XmCR_CELL_FOCUS_OUT before
that column is deleted. If a cell in one of the columns is
currently being edited, the Grid's XmNeditCallback callbacks
will be called with a reason of XmCR_EDIT_CANCEL before that
column is deleted.
.SH "SEE ALSO"
XmLGrid(3X) XmLGridDeleteColumns(3X) XmLGridDeleteAllRows(3X)

View File

@@ -0,0 +1,53 @@
.\" The contents of this file are subject to the Netscape Public License
.\" Version 1.0 (the "NPL"); you may not use this file except in
.\" compliance with the NPL. You may obtain a copy of the NPL at
.\" http://www.mozilla.org/NPL/
.\"
.\" Software distributed under the NPL is distributed on an "AS IS" basis,
.\" WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
.\" for the specific language governing rights and limitations under the
.\" NPL.
.\"
.\" The Initial Developer of this code under the NPL is Netscape
.\" Communications Corporation. Portions created by Netscape are
.\" Copyright (C) 1998 Netscape Communications Corporation. All Rights
.\" Reserved.
.\"
.\"
.\"
.\"
.\" The following source code is part of the Microline Widget Library.
.\" The Microline widget library is made available to Mozilla developers
.\" under the Netscape Public License (NPL) by Neuron Data. To learn
.\" more about Neuron Data, please visit the Neuron Data Home Page at
.\" http://www.neurondata.com.
.\"
.\"
.TH XmLGridDeleteAllRows 3X "R1" "XML1" "XML"
.SH NAME
XmLGridDeleteAllRows \- delete all rows of a given type
.SH SYNTAX
void XmLGridDeleteAllRows(\fIwidget\fP, \fItype\fP)
.br
Widget \fIwidget\fP;
.br
unsigned char \fItype\fP;
.LP
.SH ARGUMENTS
.IP \fIwidget\fP 1i
Grid widget ID
.IP \fItype\fP 1i
type of row
.SH DESCRIPTION
Deletes all rows of the given type. The Grid will call its
XmNdeleteCallback callbacks for each row and cell deleted.
If possible, the focus will remain in the row which had focus
prior to the deletion of rows. If the cell which has focus
is in one of the rows deleted, the Grid's XmNcellFocusCallback
callbacks will be called with a reason of XmCR_CELL_FOCUS_OUT before
that row is deleted. If a cell in one of the rows is
currently being edited, the Grid's XmNeditCallback callbacks
will be called with a reason of XmCR_EDIT_CANCEL before that
row is deleted.
.SH "SEE ALSO"
XmLGrid(3X) XmLGridDeleteRows(3X) XmLGridDeleteAllColumns(3X)

View File

@@ -0,0 +1,64 @@
.\" The contents of this file are subject to the Netscape Public License
.\" Version 1.0 (the "NPL"); you may not use this file except in
.\" compliance with the NPL. You may obtain a copy of the NPL at
.\" http://www.mozilla.org/NPL/
.\"
.\" Software distributed under the NPL is distributed on an "AS IS" basis,
.\" WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
.\" for the specific language governing rights and limitations under the
.\" NPL.
.\"
.\" The Initial Developer of this code under the NPL is Netscape
.\" Communications Corporation. Portions created by Netscape are
.\" Copyright (C) 1998 Netscape Communications Corporation. All Rights
.\" Reserved.
.\"
.\"
.\"
.\"
.\" The following source code is part of the Microline Widget Library.
.\" The Microline widget library is made available to Mozilla developers
.\" under the Netscape Public License (NPL) by Neuron Data. To learn
.\" more about Neuron Data, please visit the Neuron Data Home Page at
.\" http://www.neurondata.com.
.\"
.\"
.TH XmLGridDeleteColumns 3X "R1" "XML1" "XML"
.SH NAME
XmLGridDeleteColumns \- delete columns in a Grid
.SH SYNTAX
void XmLGridDeleteColumns(\fIwidget\fP, \fItype\fP, \
\fIposition\fP, \fIcount\fP)
.br
Widget \fIwidget\fP;
.br
unsigned char \fItype\fP;
.br
int \fIposition\fP;
.br
int \fIcount\fP;
.LP
.SH ARGUMENTS
.IP \fIwidget\fP 1i
Grid widget ID
.IP \fItype\fP 1i
type of column
.IP \fIposition\fP 1i
position of first column
.IP \fIcount\fP 1i
number of columns to delete
.SH DESCRIPTION
Deletes \fIcount\fP columns of the given \fItype\fP in the Grid at
the specified \fIposition\fP. A position of 0 indicates the
first column of the given type. The Grid will call its
XmNdeleteCallback callbacks for each column and cell deleted.
If possible, the focus will remain in the column which had
focus prior to the deletion of columns. If the cell which has
focus is in one of the columns deleted, the Grid's
XmNcellFocusCallback callbacks will be called with a reason of
XmCR_CELL_FOCUS_OUT before that column is deleted.
If a cell in one of the columns is currently being edited,
the Grid's XmNeditCallback callbacks will be called with a
reason of XmCR_EDIT_CANCEL before that column is deleted.
.SH "SEE ALSO"
XmLGrid(3X) XmLGridDeleteRows(3X)

View File

@@ -0,0 +1,64 @@
.\" The contents of this file are subject to the Netscape Public License
.\" Version 1.0 (the "NPL"); you may not use this file except in
.\" compliance with the NPL. You may obtain a copy of the NPL at
.\" http://www.mozilla.org/NPL/
.\"
.\" Software distributed under the NPL is distributed on an "AS IS" basis,
.\" WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
.\" for the specific language governing rights and limitations under the
.\" NPL.
.\"
.\" The Initial Developer of this code under the NPL is Netscape
.\" Communications Corporation. Portions created by Netscape are
.\" Copyright (C) 1998 Netscape Communications Corporation. All Rights
.\" Reserved.
.\"
.\"
.\"
.\"
.\" The following source code is part of the Microline Widget Library.
.\" The Microline widget library is made available to Mozilla developers
.\" under the Netscape Public License (NPL) by Neuron Data. To learn
.\" more about Neuron Data, please visit the Neuron Data Home Page at
.\" http://www.neurondata.com.
.\"
.\"
.TH XmLGridDeleteRows 3X "R1" "XML1" "XML"
.SH NAME
XmLGridDeleteRows \- delete rows in a Grid
.SH SYNTAX
void XmLGridDeleteRows(\fIwidget\fP, \fItype\fP, \
\fIposition\fP, \fIcount\fP)
.br
Widget \fIwidget\fP;
.br
unsigned char \fItype\fP;
.br
int \fIposition\fP;
.br
int \fIcount\fP;
.LP
.SH ARGUMENTS
.IP \fIwidget\fP 1i
Grid widget ID
.IP \fItype\fP 1i
type of row
.IP \fIposition\fP 1i
position of first row
.IP \fIcount\fP 1i
number of rows to delete
.SH DESCRIPTION
Deletes \fIcount\fP rows of the given \fItype\fP in the Grid at
the specified \fIposition\fP. A position of 0 indicates the
first row of the given type. The Grid will call its
XmNdeleteCallback callbacks for each row and cell deleted.
If possible, the focus will remain in the row which had
focus prior to the deletion of rows. If the cell which has
focus is in one of the rows deleted, the Grid's
XmNcellFocusCallback callbacks will be called with a reason of
XmCR_CELL_FOCUS_OUT before that row is deleted.
If a cell in one of the rows is currently being edited,
the Grid's XmNeditCallback callbacks will be called with a
reason of XmCR_EDIT_CANCEL before that row is deleted.
.SH "SEE ALSO"
XmLGrid(3X) XmLGridDeleteColumns(3X)

View File

@@ -0,0 +1,46 @@
.\" The contents of this file are subject to the Netscape Public License
.\" Version 1.0 (the "NPL"); you may not use this file except in
.\" compliance with the NPL. You may obtain a copy of the NPL at
.\" http://www.mozilla.org/NPL/
.\"
.\" Software distributed under the NPL is distributed on an "AS IS" basis,
.\" WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
.\" for the specific language governing rights and limitations under the
.\" NPL.
.\"
.\" The Initial Developer of this code under the NPL is Netscape
.\" Communications Corporation. Portions created by Netscape are
.\" Copyright (C) 1998 Netscape Communications Corporation. All Rights
.\" Reserved.
.\"
.\"
.\"
.\"
.\" The following source code is part of the Microline Widget Library.
.\" The Microline widget library is made available to Mozilla developers
.\" under the Netscape Public License (NPL) by Neuron Data. To learn
.\" more about Neuron Data, please visit the Neuron Data Home Page at
.\" http://www.neurondata.com.
.\"
.\"
.TH XmLGridDeselectAllCells 3X "R1" "XML1" "XML"
.SH NAME
XmLGridDeselectAllCells \- deselect all content cells
.SH SYNTAX
void XmLGridDeselectAllCells(\fIwidget\fP, \fInotify\fP)
.br
Widget \fIwidget\fP;
.br
Boolean \fInotify\fP;
.LP
.SH ARGUMENTS
.IP \fIwidget\fP 1i
Grid widget ID
.IP \fInotify\fP 1i
if True, deselect callbacks will be called
.SH DESCRIPTION
Deselects all content cells in the Grid. If \fInotify\fP is True,
the Grid's XmNdeselectCallback callbacks will be called for
each cell deselected.
.SH "SEE ALSO"
XmLGridDeselectAllRows(3X) XmLGridDeselectAllColumns(3X)

View File

@@ -0,0 +1,46 @@
.\" The contents of this file are subject to the Netscape Public License
.\" Version 1.0 (the "NPL"); you may not use this file except in
.\" compliance with the NPL. You may obtain a copy of the NPL at
.\" http://www.mozilla.org/NPL/
.\"
.\" Software distributed under the NPL is distributed on an "AS IS" basis,
.\" WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
.\" for the specific language governing rights and limitations under the
.\" NPL.
.\"
.\" The Initial Developer of this code under the NPL is Netscape
.\" Communications Corporation. Portions created by Netscape are
.\" Copyright (C) 1998 Netscape Communications Corporation. All Rights
.\" Reserved.
.\"
.\"
.\"
.\"
.\" The following source code is part of the Microline Widget Library.
.\" The Microline widget library is made available to Mozilla developers
.\" under the Netscape Public License (NPL) by Neuron Data. To learn
.\" more about Neuron Data, please visit the Neuron Data Home Page at
.\" http://www.neurondata.com.
.\"
.\"
.TH XmLGridDeselectAllColumns 3X "R1" "XML1" "XML"
.SH NAME
XmLGridDeselectAllColumns \- deselect all content columns
.SH SYNTAX
void XmLGridDeselectAllColumns(\fIwidget\fP, \fInotify\fP)
.br
Widget \fIwidget\fP;
.br
Boolean \fInotify\fP;
.LP
.SH ARGUMENTS
.IP \fIwidget\fP 1i
Grid widget ID
.IP \fInotify\fP 1i
if True, deselect callbacks will be called
.SH DESCRIPTION
Deselects all content columns in the Grid. If \fInotify\fP is True,
the Grid's XmNdeselectCallback callbacks will be called for
each column deselected.
.SH "SEE ALSO"
XmLGridDeselectAllCells(3X) XmLGridDeselectAllRows(3X)

View File

@@ -0,0 +1,46 @@
.\" The contents of this file are subject to the Netscape Public License
.\" Version 1.0 (the "NPL"); you may not use this file except in
.\" compliance with the NPL. You may obtain a copy of the NPL at
.\" http://www.mozilla.org/NPL/
.\"
.\" Software distributed under the NPL is distributed on an "AS IS" basis,
.\" WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
.\" for the specific language governing rights and limitations under the
.\" NPL.
.\"
.\" The Initial Developer of this code under the NPL is Netscape
.\" Communications Corporation. Portions created by Netscape are
.\" Copyright (C) 1998 Netscape Communications Corporation. All Rights
.\" Reserved.
.\"
.\"
.\"
.\"
.\" The following source code is part of the Microline Widget Library.
.\" The Microline widget library is made available to Mozilla developers
.\" under the Netscape Public License (NPL) by Neuron Data. To learn
.\" more about Neuron Data, please visit the Neuron Data Home Page at
.\" http://www.neurondata.com.
.\"
.\"
.TH XmLGridDeselectAllRows 3X "R1" "XML1" "XML"
.SH NAME
XmLGridDeselectAllRows \- deselect all content rows
.SH SYNTAX
void XmLGridDeselectAllRows(\fIwidget\fP, \fInotify\fP)
.br
Widget \fIwidget\fP;
.br
Boolean \fInotify\fP;
.LP
.SH ARGUMENTS
.IP \fIwidget\fP 1i
Grid widget ID
.IP \fInotify\fP 1i
if True, deselect callbacks will be called
.SH DESCRIPTION
Deselects all content rows in the Grid. If \fInotify\fP is True,
the Grid's XmNdeselectCallback callbacks will be called for
each row deselected.
.SH "SEE ALSO"
XmLGridDeselectAllCells(3X) XmLGridDeselectAllColumns(3X)

View File

@@ -0,0 +1,57 @@
.\" The contents of this file are subject to the Netscape Public License
.\" Version 1.0 (the "NPL"); you may not use this file except in
.\" compliance with the NPL. You may obtain a copy of the NPL at
.\" http://www.mozilla.org/NPL/
.\"
.\" Software distributed under the NPL is distributed on an "AS IS" basis,
.\" WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
.\" for the specific language governing rights and limitations under the
.\" NPL.
.\"
.\" The Initial Developer of this code under the NPL is Netscape
.\" Communications Corporation. Portions created by Netscape are
.\" Copyright (C) 1998 Netscape Communications Corporation. All Rights
.\" Reserved.
.\"
.\"
.\"
.\"
.\" The following source code is part of the Microline Widget Library.
.\" The Microline widget library is made available to Mozilla developers
.\" under the Netscape Public License (NPL) by Neuron Data. To learn
.\" more about Neuron Data, please visit the Neuron Data Home Page at
.\" http://www.neurondata.com.
.\"
.\"
.TH XmLGridDeselectCell 3X "R1" "XML1" "XML"
.SH NAME
XmLGridDeselectCell \- deselect a cell
.SH SYNTAX
void XmLGridDeselectCell(\fIwidget\fP, \fIrow\fP, \
\fIcolumn\fP, \fInotify\fP)
.br
Widget \fIwidget\fP;
.br
int \fIrow\fP;
.br
int \fIcolumn\fP;
.br
Boolean \fInotify\fP;
.LP
.SH ARGUMENTS
.IP \fIwidget\fP 1i
Grid widget ID
.IP \fIrow\fP 1i
position of content row
.IP \fIcolumn\fP 1i
position of content column
.IP \fInotify\fP 1i
if True, deselect callbacks will be called
.SH DESCRIPTION
Deselects the cell in the Grid at the content \fIrow\fP and
content \fIcolumn\fP specified. If \fInotify\fP is True
and the cell is currently selected, the Grid's XmNdeselectCallback
callbacks will be called.
.SH "SEE ALSO"
XmLGridDeselectAllCells(3X) XmLGridDeselectRow(3X)
XmLGridDeselectColumn(3X)

View File

@@ -0,0 +1,50 @@
.\" The contents of this file are subject to the Netscape Public License
.\" Version 1.0 (the "NPL"); you may not use this file except in
.\" compliance with the NPL. You may obtain a copy of the NPL at
.\" http://www.mozilla.org/NPL/
.\"
.\" Software distributed under the NPL is distributed on an "AS IS" basis,
.\" WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
.\" for the specific language governing rights and limitations under the
.\" NPL.
.\"
.\" The Initial Developer of this code under the NPL is Netscape
.\" Communications Corporation. Portions created by Netscape are
.\" Copyright (C) 1998 Netscape Communications Corporation. All Rights
.\" Reserved.
.\"
.\"
.\"
.\"
.\" The following source code is part of the Microline Widget Library.
.\" The Microline widget library is made available to Mozilla developers
.\" under the Netscape Public License (NPL) by Neuron Data. To learn
.\" more about Neuron Data, please visit the Neuron Data Home Page at
.\" http://www.neurondata.com.
.\"
.\"
.TH XmLGridDeselectColumn 3X "R1" "XML1" "XML"
.SH NAME
XmLGridDeselectColumn \- deselect a column
.SH SYNTAX
void XmLGridDeselectColumn(\fIwidget\fP, \fIcolumn\fP, \fInotify\fP)
.br
Widget \fIwidget\fP;
.br
int \fIcolumn\fP;
.br
Boolean \fInotify\fP;
.LP
.SH ARGUMENTS
.IP \fIwidget\fP 1i
Grid widget ID
.IP \fIcolumn\fP 1i
position of content column
.IP \fInotify\fP 1i
if True, deselect callbacks will be called
.SH DESCRIPTION
Deselects the specified content \fIcolumn\fP in the Grid. If \fInotify\fP
is True and the column is currently selected, the Grid's
XmNdeselectCallback callbacks will be called.
.SH "SEE ALSO"
XmLGridDeselectAllColumns(3X)

View File

@@ -0,0 +1,50 @@
.\" The contents of this file are subject to the Netscape Public License
.\" Version 1.0 (the "NPL"); you may not use this file except in
.\" compliance with the NPL. You may obtain a copy of the NPL at
.\" http://www.mozilla.org/NPL/
.\"
.\" Software distributed under the NPL is distributed on an "AS IS" basis,
.\" WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
.\" for the specific language governing rights and limitations under the
.\" NPL.
.\"
.\" The Initial Developer of this code under the NPL is Netscape
.\" Communications Corporation. Portions created by Netscape are
.\" Copyright (C) 1998 Netscape Communications Corporation. All Rights
.\" Reserved.
.\"
.\"
.\"
.\"
.\" The following source code is part of the Microline Widget Library.
.\" The Microline widget library is made available to Mozilla developers
.\" under the Netscape Public License (NPL) by Neuron Data. To learn
.\" more about Neuron Data, please visit the Neuron Data Home Page at
.\" http://www.neurondata.com.
.\"
.\"
.TH XmLGridDeselectRow 3X "R1" "XML1" "XML"
.SH NAME
XmLGridDeselectRow \- deselect a row
.SH SYNTAX
void XmLGridDeselectRow(\fIwidget\fP, \fIrow\fP, \fInotify\fP)
.br
Widget \fIwidget\fP;
.br
int \fIrow\fP;
.br
Boolean \fInotify\fP;
.LP
.SH ARGUMENTS
.IP \fIwidget\fP 1i
Grid widget ID
.IP \fIrow\fP 1i
position of content row
.IP \fInotify\fP 1i
if True, deselect callbacks will be called
.SH DESCRIPTION
Deselects the specified content \fIrow\fP in the Grid. If \fInotify\fP is
True and the row is currently selected, the Grid's
XmNdeselectCallback callbacks will be called.
.SH "SEE ALSO"
XmLGridDeselectAllRows(3X)

Some files were not shown because too many files have changed in this diff Show More