Compare commits

..

1812 Commits

Author SHA1 Message Date
montulli
271a26b658 merge montulli1 branch with tip
git-svn-id: svn://10.0.0.236/branches/montulli@4889 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 02:41:04 +00:00
(no author)
f318652e4c This commit was manufactured by cvs2svn to create branch 'montulli'.
git-svn-id: svn://10.0.0.236/branches/montulli@4880 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 01:20:40 +00:00
cmanske
0be124206f Fixed Composer SF1 in bugs 26852, 123355, 148474, 233518. Reviewed by mjudge
git-svn-id: svn://10.0.0.236/trunk@4879 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 01:20:39 +00:00
cmanske
d0817b8097 New function declared as part of fix for SF1 in bug 26852. Reviewed by mjudge
git-svn-id: svn://10.0.0.236/trunk@4878 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 01:18:54 +00:00
ricardob
ad2308a031 Use MOZ_SECURITY
git-svn-id: svn://10.0.0.236/trunk@4877 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 01:15:11 +00:00
joki
922f48ccea Remove temporary setFocus() call. Focus shift moved to nsScrollingView
git-svn-id: svn://10.0.0.236/trunk@4876 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 01:14:28 +00:00
joki
642b35a5e1 Move scrolling event code into new event handler to keep it out of DOM loop
git-svn-id: svn://10.0.0.236/trunk@4875 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 01:13:09 +00:00
vidur
206737c1d6 Fixed casting problems on Linux
git-svn-id: svn://10.0.0.236/trunk@4874 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 01:10:21 +00:00
ricardob
8e67359d7b free world changes
git-svn-id: svn://10.0.0.236/trunk@4873 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 01:09:54 +00:00
jevering
26b3044dfc Use the new allocating ReplaceElementAt so that the context and style
stacks aren't sliding memory buffers all over the place (and over
allocating).


git-svn-id: svn://10.0.0.236/trunk@4859 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 00:29:59 +00:00
jevering
1aaeb9f146 Modified ReplaceElementAt to grow the array if an index out of the
allocated boundary was requested.


git-svn-id: svn://10.0.0.236/trunk@4858 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 00:28:56 +00:00
ricardob
e34f8d1521 added SOCKET_ERRNO for mail-news
git-svn-id: svn://10.0.0.236/trunk@4855 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 00:19:29 +00:00
kipp
7b08ae6046 Fixed some dom methods
git-svn-id: svn://10.0.0.236/trunk@4854 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 00:04:44 +00:00
kipp
54de62f7b7 Removed unneeded duplicate code
git-svn-id: svn://10.0.0.236/trunk@4853 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 00:04:26 +00:00
kipp
b3a82d5b57 First pass implementation of content insertion/deletion handling code (untested at this point); also did some misc cleanup
git-svn-id: svn://10.0.0.236/trunk@4852 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 00:04:12 +00:00
kipp
d341e19414 new
git-svn-id: svn://10.0.0.236/trunk@4851 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 00:02:42 +00:00
vidur
4b22c2900e Added nsINetContainerApplication interface and a way for netlib to get the user agent, etc. from the containing application
git-svn-id: svn://10.0.0.236/trunk@4850 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 23:56:46 +00:00
vidur
eedd12e63c Added nsINetContainerApplication interface and a way to get the user agent, etc. from the containing application
git-svn-id: svn://10.0.0.236/trunk@4849 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 23:56:20 +00:00
vidur
3723c3cdee Added window.navigator and Navigator interface
git-svn-id: svn://10.0.0.236/trunk@4848 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 23:55:40 +00:00
pinkerton
cb2127bb18 Columns now work again, after Normandy added mLastShowableColumn field. (bug #243547, appr don).
git-svn-id: svn://10.0.0.236/trunk@4847 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 23:47:06 +00:00
ricardob
a82eabfb8a added missing glyph 02070
git-svn-id: svn://10.0.0.236/trunk@4846 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 23:46:53 +00:00
ricardob
463038e496 Fixed mozilla call parametrs to compose new msg
git-svn-id: svn://10.0.0.236/trunk@4845 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 23:35:51 +00:00
thom
4ef089e668 Mac linux fix.
git-svn-id: svn://10.0.0.236/trunk@4844 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 23:31:42 +00:00
thom
eb30684bba Fixes for mac linux
git-svn-id: svn://10.0.0.236/trunk@4843 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 23:29:55 +00:00
blythe
2efd71c3c6 aprvd don, transparency fixes, dithering improvements, submitted by martin.nilsson@bigfoot.com
git-svn-id: svn://10.0.0.236/trunk@4842 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 23:10:18 +00:00
blythe
624c4e6369 aprvd don, fix 95 print scale problem, submitted by ajtal@ezlink.com
git-svn-id: svn://10.0.0.236/trunk@4840 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 22:50:42 +00:00
atotic
8336cedefe Fixed the for (PRInt32 i=) problem
git-svn-id: svn://10.0.0.236/trunk@4839 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 22:40:00 +00:00
atotic
6124ae0d42 Added a new export
git-svn-id: svn://10.0.0.236/trunk@4838 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 22:39:00 +00:00
valeski
c744b665a8 fixed cookies reset by server bug. 241770, approved by don
git-svn-id: svn://10.0.0.236/trunk@4837 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 22:36:44 +00:00
atotic
d1d35e3d54 Added nsDocLoader to theproject
git-svn-id: svn://10.0.0.236/trunk@4836 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 22:29:53 +00:00
troy
6b8fcf2004 Eliminated some usage of ChildAt()
git-svn-id: svn://10.0.0.236/trunk@4835 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 22:22:28 +00:00
kipp
3cc9a6fb23 Fixed up iframe layout (again)
git-svn-id: svn://10.0.0.236/trunk@4834 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 22:21:13 +00:00
thom
d3fa69c290 (scullin) fix for mac linux?
git-svn-id: svn://10.0.0.236/trunk@4831 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 21:16:14 +00:00
valeski
00950ed234 fixed netlib debug trace messages, approved by don
git-svn-id: svn://10.0.0.236/trunk@4828 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 21:07:28 +00:00
karnaze
53cf2c58ae more nav4 compatibility, radio group bug fixes
git-svn-id: svn://10.0.0.236/trunk@4825 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 20:11:57 +00:00
shaver
c00692bd31 forgot the NPL
git-svn-id: svn://10.0.0.236/trunk@4824 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 19:59:06 +00:00
beard
feeaf633f6 Fixed unintended assignment warning in lookup_member_by_id.
git-svn-id: svn://10.0.0.236/trunk@4823 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 18:58:29 +00:00
beard
546d7d594b Fixed unintended assignment warning in access_java_array_element.
git-svn-id: svn://10.0.0.236/trunk@4822 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 18:55:49 +00:00
atotic
f75efd0b13 Trimmed out some dead code
git-svn-id: svn://10.0.0.236/trunk@4821 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 18:49:35 +00:00
beard
9d8774e021 Added prototype for jsj_ConvertJavaStringToJSString.
git-svn-id: svn://10.0.0.236/trunk@4820 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 18:48:12 +00:00
beard
87f6d6e462 enter_js now static, since it had no external prototype.
git-svn-id: svn://10.0.0.236/trunk@4819 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 18:47:26 +00:00
beard
93f8eb2a1a define_JavaPackage now static since it had no external prototype.
git-svn-id: svn://10.0.0.236/trunk@4818 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 18:46:23 +00:00
beard
2a4bff8f61 JavaObject_getObjectOps now static since it had no external prototype.
git-svn-id: svn://10.0.0.236/trunk@4817 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 18:45:32 +00:00
beard
65dfe85d74 JavaClass_getObjectOps, jsj_new_JavaClass now static, since they had no external prototypes anyway.
git-svn-id: svn://10.0.0.236/trunk@4816 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 18:44:50 +00:00
gagan
e601145c2c Fixes the cache bug that was causing PR_ASSERTs to fire. (Fixes animated gifs too). See bug #226203,
#241297 (main) for details.


git-svn-id: svn://10.0.0.236/trunk@4815 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 18:44:28 +00:00
beard
10021cd9dc Made JavaArray_getObjectOps static to fix no prototype warning.
git-svn-id: svn://10.0.0.236/trunk@4814 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 18:43:16 +00:00
beard
f56b7bed0f Fixed unintended assignment warnings, made default_map_java_object_to_js_object static to fix no prototype warning.
git-svn-id: svn://10.0.0.236/trunk@4813 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 18:42:27 +00:00
atotic
61dd96b918 Ooops, forgot to check in full implementation
git-svn-id: svn://10.0.0.236/trunk@4812 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 18:40:46 +00:00
beard
618e21bd13 Removed some dead code.
git-svn-id: svn://10.0.0.236/trunk@4811 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 18:37:43 +00:00
vidur
e9cf900c9c Deal with NULL object case for parameters to methods
git-svn-id: svn://10.0.0.236/trunk@4810 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 18:36:59 +00:00
vidur
2e6a3bf88b Deal with NULL object case before asking if its an object
git-svn-id: svn://10.0.0.236/trunk@4809 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 18:32:35 +00:00
shaver
d72485a1e5 adding XPCOM interface support (non-functional) -- not part of Gromit
git-svn-id: svn://10.0.0.236/trunk@4808 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 18:18:00 +00:00
kipp
ec2ff1035a Fixed a js-stub generating problem with null's vs's objects (vidur told me what to type)
git-svn-id: svn://10.0.0.236/trunk@4807 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 17:00:18 +00:00
terry
fca689e773 Patch by Dawn Endico <dawn@cannibal.mi.org> -- add comment at top.
git-svn-id: svn://10.0.0.236/trunk@4806 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 13:53:28 +00:00
rpotts
4a68238526 Changed PR_ASSERT to NS_ASSERTION...
git-svn-id: svn://10.0.0.236/trunk@4805 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 12:25:49 +00:00
rpotts
f81e4d3483 Changed nsIStreamListener to nsIStreamObserver... First pass of changes for the Document Loader...
git-svn-id: svn://10.0.0.236/trunk@4804 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 11:34:00 +00:00
rpotts
344e29cf59 Changed to use the Document Loader instead of LoadURL(...)
git-svn-id: svn://10.0.0.236/trunk@4803 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 11:31:24 +00:00
rpotts
0f96131583 Fixed up Post data to avoid leaks...
git-svn-id: svn://10.0.0.236/trunk@4802 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 11:30:35 +00:00
rpotts
d6ef25d76d Added nsDocLoader.cpp...
git-svn-id: svn://10.0.0.236/trunk@4801 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 11:29:20 +00:00
rpotts
a93275bb44 Changed some interface methods to use NS_IMETHOD for consistancy...
git-svn-id: svn://10.0.0.236/trunk@4800 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 11:28:05 +00:00
rpotts
4f2d809c6b Changed nsIStreamListener to nsIStreamOBserver. Added the BindToDocument(...) method which is used by the DocumentLoader.
git-svn-id: svn://10.0.0.236/trunk@4799 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 11:27:06 +00:00
rpotts
66272b6db3 Added nsIDocumentLoader.h
git-svn-id: svn://10.0.0.236/trunk@4798 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 11:25:55 +00:00
rpotts
2d2875f4c9 Fixed up IID for nsIStreamListener
git-svn-id: svn://10.0.0.236/trunk@4797 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 11:24:10 +00:00
rpotts
210c8cb5c5 Split the nsIStreamListner interface into nsIStreamObserver and nsIStreamListener
git-svn-id: svn://10.0.0.236/trunk@4796 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 11:23:17 +00:00
rpotts
c9139d013b Changed sprintf(...) to PR_snprintf(...)
git-svn-id: svn://10.0.0.236/trunk@4795 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 11:22:25 +00:00
rpotts
e9b3947be4 Changed LoadURL(...) to StartDocumentLoad(...) TestAttributes.cpp TestInlineFrame.cpp
git-svn-id: svn://10.0.0.236/trunk@4794 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 11:21:41 +00:00
rpotts
6fefbee45b Reworked Post data to avoid memory leaks...
git-svn-id: svn://10.0.0.236/trunk@4793 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 11:18:39 +00:00
rpotts
e80a02583e Now uses nsIViewerContainer interface and the Document Loader...
git-svn-id: svn://10.0.0.236/trunk@4792 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 11:17:41 +00:00
rpotts
765a97fd10 Reworked Post data to avoid memory leaks... Removed nsIDocument::LoadURL(...). Added nsIDocument::StartDocumentLoad(...) as a callback method for the DocumentLoader...
git-svn-id: svn://10.0.0.236/trunk@4791 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 11:16:09 +00:00
rpotts
e79df5b7d0 Fix crash by checking whether a link handler was returned bu GetLinkHandler(...)
git-svn-id: svn://10.0.0.236/trunk@4790 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 11:15:20 +00:00
rpotts
e6b61670d4 Changed nsIStreamListener to nsIStreamObserver...
git-svn-id: svn://10.0.0.236/trunk@4789 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 11:11:44 +00:00
rpotts
e608595a3f Changed nsIStreamListener to nsIStreamObserver. Added BeginParse(...) method for the DocumentLoader...
git-svn-id: svn://10.0.0.236/trunk@4788 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 11:11:05 +00:00
rpotts
8d1882ed56 Fixed up IID for nsIStreamListener interface
git-svn-id: svn://10.0.0.236/trunk@4787 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 11:09:49 +00:00
fur
d4018e3656 If the same JSObject is reflected into Java more than once then we should
return the same Java object, both for efficiency and so that the '=='
operator works as expected in Java when comparing two JSObjects.
However, it is not possible to hold a reference to a Java object without
inhibiting GC of that object, at least not in a way that is portable
to all vendor's JVMs, i.e. a weak reference. So, for now, JSObject identity
is broken.


git-svn-id: svn://10.0.0.236/trunk@4782 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 06:11:39 +00:00
fur
fe603e369e Added equals() method to override java.lang.Object.equals(). This is
necessary because the '==' operator won't work with LC2.


git-svn-id: svn://10.0.0.236/trunk@4781 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 06:00:10 +00:00
wtc
a046f097da In _PR_MD_OPEN_DIR, we append \*.* to the directory name,
but if the directory name ends in a slash or backslash,
we do not append the backslash.
Files changed: ntio.c and w95io.c.


git-svn-id: svn://10.0.0.236/trunk@4780 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 05:13:10 +00:00
troy
a4008f60fb Some work-in-progress for incremental reflow
git-svn-id: svn://10.0.0.236/trunk@4779 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 04:55:15 +00:00
troy
e7ec0d1a2b Removed some vertical margin collapsing stuff that wasn't needed
git-svn-id: svn://10.0.0.236/trunk@4777 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 03:03:32 +00:00
brendan
cc6ce74501 - Remove duplicate error fprintf from js.c:Load.
- Revise exception handling runtime info (now called trynotes a la srcnotes)
  for more efficient loop control under JSOP_THROW.  Avoid all uses of catch
  and throw while at it, to make C++ lusers happy.
- Combine JSStackFrame.exception with rval, and rename
  JSStackFrame.exceptPending to be ...throwing.
- Optimize JS_TypeOfValue a bit.
- Name, control flow, whitespace, etc. cleanup.


git-svn-id: svn://10.0.0.236/trunk@4772 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 02:12:45 +00:00
kipp
bc2524278c Keep view around so that it moves properly
git-svn-id: svn://10.0.0.236/trunk@4767 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 00:54:54 +00:00
beard
69e8927cbd Changed jsj_HashJavaObject to conform to JSJHashFunction.
git-svn-id: svn://10.0.0.236/trunk@4766 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-01 00:21:18 +00:00
kipp
33f162ccc8 Revised logging code to work with nspr properly; updated to support incremental content appended reflow
git-svn-id: svn://10.0.0.236/trunk@4764 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 23:51:53 +00:00
kipp
a64c2b851a Added state recovery logic for FrameAppendedReflow (though it still reflows too much)
git-svn-id: svn://10.0.0.236/trunk@4763 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 23:51:26 +00:00
gagan
e2848f697b Fixes the great netlib initialization problem. NET_FinishInitNetLib was
never being called. Moved some stuff from NET_InitNetlib to this function.
See bug #231596 for details. Rev. by stever/valeski.


git-svn-id: svn://10.0.0.236/trunk@4762 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 23:48:14 +00:00
gagan
ba6e3a1e81 Fixes the great netlib initialization problem. NET_FinishInitNetLib was
never being called. See bug #231596.


git-svn-id: svn://10.0.0.236/trunk@4761 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 23:42:17 +00:00
kipp
9990bec890 Fixed memory overwrite bug
git-svn-id: svn://10.0.0.236/trunk@4760 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 23:37:35 +00:00
troy
4b6f9cce8d Changed reflow processing for floaters
git-svn-id: svn://10.0.0.236/trunk@4759 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 23:19:10 +00:00
beard
5959c9b500 #defined PR_IMPLEMENT for XP_MAC/XP_UNIX cases.
git-svn-id: svn://10.0.0.236/trunk@4744 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 22:18:23 +00:00
beard
35cfe6062d Fixed JSVAL_TO_JLONG_JVALUE macro for XP_MAC -- can't assign 0 directly to a jlong.
git-svn-id: svn://10.0.0.236/trunk@4743 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 22:17:19 +00:00
briano
6348093892 Support for SINIX-Z (x86) as well as SINIX-N (mips).
git-svn-id: svn://10.0.0.236/trunk@4742 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 22:15:47 +00:00
beard
16ea61e480 Added jsj_hash.c, turned on debugging by default.
git-svn-id: svn://10.0.0.236/trunk@4741 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 22:15:38 +00:00
briano
eac3161141 Support for NetBSD.
git-svn-id: svn://10.0.0.236/trunk@4740 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 22:14:55 +00:00
briano
38f24f1df5 Welcome to the club, NetBSD.
git-svn-id: svn://10.0.0.236/trunk@4739 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 22:13:11 +00:00
jevering
5edc77d9f9 Added the nsVoidArray support to the COtherDTD class.
git-svn-id: svn://10.0.0.236/trunk@4738 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 22:11:24 +00:00
ricardob
a33d1273aa Dont build ns_mime with no sec
git-svn-id: svn://10.0.0.236/trunk@4737 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 22:06:09 +00:00
troy
5eaf9b56bf Changed a XXX comment that was now out of date
git-svn-id: svn://10.0.0.236/trunk@4736 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 21:37:30 +00:00
jevering
e2038d6968 Changed the context stack and style stacks to be nsVoidArray to avoid
stack overflow.


git-svn-id: svn://10.0.0.236/trunk@4735 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 21:36:10 +00:00
troy
7002f99964 Changed anchor frames to forward content notifications to the real frame
git-svn-id: svn://10.0.0.236/trunk@4734 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 21:35:07 +00:00
kipp
3962528be4 Use new PropagateContentOffsets API
git-svn-id: svn://10.0.0.236/trunk@4733 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 20:22:44 +00:00
kipp
d6205b6157 Avoid crashing when no link handler is involved
git-svn-id: svn://10.0.0.236/trunk@4732 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 20:22:27 +00:00
kipp
381be9a9e1 update to new nsIInlineReflow API
git-svn-id: svn://10.0.0.236/trunk@4731 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 20:22:04 +00:00
kipp
434a14b512 Implement new PropagateContentOffsets to avoid looking at floaters
git-svn-id: svn://10.0.0.236/trunk@4730 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 20:21:57 +00:00
kipp
8a3fff4ae9 Pretend to map STYLE attributes back to strings to avoid crashing
git-svn-id: svn://10.0.0.236/trunk@4729 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 20:20:51 +00:00
kipp
ad35cb911a disabled calls to PropagateContentOffsets for now
git-svn-id: svn://10.0.0.236/trunk@4728 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 20:20:29 +00:00
kipp
c5d042d339 Pass attribute-to-string calls to superclass when it's an unkown attribute/type
git-svn-id: svn://10.0.0.236/trunk@4727 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 20:15:37 +00:00
kipp
b30632e73a Improved listing output
git-svn-id: svn://10.0.0.236/trunk@4726 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 20:14:33 +00:00
kipp
8a408fc3a8 Updated APIs
git-svn-id: svn://10.0.0.236/trunk@4725 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 20:14:16 +00:00
kipp
f824480796 Various pagination related bug fixes; pass in reflow command to FindTextRuns
git-svn-id: svn://10.0.0.236/trunk@4724 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 20:14:04 +00:00
kipp
20726b50dc Added aReflowCommand argument so that inline frames can properly determine what is triggering the TextRun discovery and properly avoid (or not avoid) creating new frames
git-svn-id: svn://10.0.0.236/trunk@4723 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 20:13:07 +00:00
buster
28ed0c4991 fixed-width cells no longer improperly impact the available size
of subsequent cells in reflow pass 1

we correctly distribute extra space in a table proportionately.
We try to give the extra space to auto-width columns first,
and if there are none we distribute it to all columns.
The percentage is based on the cell content's desired size.


git-svn-id: svn://10.0.0.236/trunk@4722 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 20:12:45 +00:00
kipp
8c86ab671a Reworked PropagateContentOffsets so that the update to the offsets is done by the frame itself instead of the child whacking the parent directly; this allows subclasses to override the whackage.
git-svn-id: svn://10.0.0.236/trunk@4721 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 20:12:23 +00:00
kipp
5f9fb5d239 Documented a bug
git-svn-id: svn://10.0.0.236/trunk@4720 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 20:11:34 +00:00
troy
f1abc17cde Added ContentDeleted() member function
git-svn-id: svn://10.0.0.236/trunk@4719 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 20:11:10 +00:00
jevering
bcf0aab923 Temporarily crank up the context stack size.. we are overrunning it.
I will put a growable stack in later.
This could be a security hole.


git-svn-id: svn://10.0.0.236/trunk@4715 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 18:23:21 +00:00
fur
09fea5f8fe = Replicate the JS engine machinery that gives the appearance of converting
all element access expressions to strings, e.g. so that obj["3"] and
  obj[3] refer to the same property for a JavaArray object.

= Return false when using 'delete' operator on JavaArray objects.


git-svn-id: svn://10.0.0.236/trunk@4714 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 18:18:03 +00:00
joki
175b270a7f Allow hex values in numbers
git-svn-id: svn://10.0.0.236/trunk@4712 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 18:12:40 +00:00
fur
88bc9aaf64 Return false when using the 'delete' operator on JavaClass or JavaObject objects.
git-svn-id: svn://10.0.0.236/trunk@4711 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 18:10:14 +00:00
terry
3cae29b636 Oops; left out one sentence.
git-svn-id: svn://10.0.0.236/trunk@4709 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 17:46:26 +00:00
terry
e21d22fea3 Add some explaination of what "the hook" is.
git-svn-id: svn://10.0.0.236/trunk@4708 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 17:39:57 +00:00
terry
7e41c4c394 Patch by Dawn Endico <dawn@cannibal.mi.org> -- cleaned up some
comments, added a README file.


git-svn-id: svn://10.0.0.236/trunk@4707 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 14:06:34 +00:00
fur
5bc94271e8 Eliminated the last uses of the JNIEnv global variable. Unfortunately, this
means that we had to switch from using NSPR hash tables to a private version.
The new jsj_hash.c file is derived from plhash.c, but it provides for an additional
argument to be passed to the hash key comparison function.  This capability
is used to pass in the JNIEnv pointer.

On shutdown, LiveConnect now removes all references to Java objects and classes,
so that the JVM might be able to GC them.


git-svn-id: svn://10.0.0.236/trunk@4706 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 10:04:32 +00:00
atotic
6b66b065a7 Added nsMacFile to the project
git-svn-id: svn://10.0.0.236/trunk@4705 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 09:04:26 +00:00
atotic
d956c44f83 Moved file implementation stuff into nsMacFile.cp
git-svn-id: svn://10.0.0.236/trunk@4704 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 09:03:51 +00:00
atotic
b65cd51bc2 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@4703 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 09:03:30 +00:00
atotic
86f2b8fdbc Code browser was inactive
git-svn-id: svn://10.0.0.236/trunk@4702 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 09:03:04 +00:00
atotic
29f3c2b7ec Real timer implementation
git-svn-id: svn://10.0.0.236/trunk@4701 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 09:01:11 +00:00
vidur
77fe01a990 Deal with hex values in numerical values
git-svn-id: svn://10.0.0.236/trunk@4696 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 02:23:59 +00:00
vidur
45d118ce09 Deal with hex values in numerical values
git-svn-id: svn://10.0.0.236/trunk@4694 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 02:18:05 +00:00
troy
1d0565bf04 Moved shrink wrap code from table frame to table row group frame
git-svn-id: svn://10.0.0.236/trunk@4693 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 02:11:07 +00:00
gagan
b578914a6f Fix for bug #226203. Setup Prefs was not being called.
git-svn-id: svn://10.0.0.236/trunk@4688 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 01:11:22 +00:00
atotic
2b3b67505c Upped the app memory partition to 5 megs
git-svn-id: svn://10.0.0.236/trunk@4685 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 00:52:43 +00:00
atotic
0360fc5b81 Added making of aliases to .SYM files in the viewer_debug directory.
git-svn-id: svn://10.0.0.236/trunk@4684 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 00:52:06 +00:00
buster
192935238f columns that are fixed-width due to an attribute on the corresponding cell in the first row
now work correctly.
extra space is now properly apportioned in the "table fits" case when the table contains auto-width cells.


git-svn-id: svn://10.0.0.236/trunk@4683 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 00:37:03 +00:00
ricardob
81dd8a938c updated rules
git-svn-id: svn://10.0.0.236/trunk@4682 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-30 00:04:44 +00:00
cmanske
a7a6b3c351 New artwork checkin for Composer toolbar and other images. Requested by brade
git-svn-id: svn://10.0.0.236/trunk@4681 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-29 23:53:40 +00:00
valeski
cf71d459fc 152993 approved by don, rev'd by Lou. fixes (debug builds only) a random crasher when posting data.
git-svn-id: svn://10.0.0.236/trunk@4677 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-29 22:29:52 +00:00
norris
8c66cb57c2 (Not part of Communicator build.)
fur's fix for repeating properties in enumeration bug.


git-svn-id: svn://10.0.0.236/trunk@4675 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-29 22:01:22 +00:00
norris
efab4ced7d (Not part of Communicator build.)
Handle NaNs better for non-PC platforms as well.


git-svn-id: svn://10.0.0.236/trunk@4674 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-29 22:00:11 +00:00
joki
b68afd8642 Small change to editor keyCode translation
git-svn-id: svn://10.0.0.236/trunk@4673 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-29 21:35:27 +00:00
joki
4f5389f76c Validity check for focus event during nsWindow destruction
git-svn-id: svn://10.0.0.236/trunk@4671 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-29 21:18:19 +00:00
buster
4028747412 cells no longer monkey with their available width based on attribute constraints.
The row does this work now. This makes table layout more properly top-down.


git-svn-id: svn://10.0.0.236/trunk@4670 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-29 20:38:22 +00:00
atotic
c5296c8b14 Forgot to check out libpwcac
git-svn-id: svn://10.0.0.236/trunk@4669 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-29 18:38:11 +00:00
terry
1b8454b4ec Oops; backed out last change. (I need to learn how to use CVS. :-)
git-svn-id: svn://10.0.0.236/trunk@4667 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-29 17:37:06 +00:00
terry
ac1101d225 Patches by Matthew Wilson <msw@gimp.org> -- added much of the missing configuration ability.
git-svn-id: svn://10.0.0.236/trunk@4666 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-29 16:21:41 +00:00
terry
e263a5365f Updated to reflect new config stuff introduced by Matthew Wilson <msw@gimp.org>
git-svn-id: svn://10.0.0.236/trunk@4665 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-29 16:20:46 +00:00
kipp
aafff5aeab Made sub/sup look more like navigator
git-svn-id: svn://10.0.0.236/trunk@4664 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-29 16:10:41 +00:00
kipp
f11c9d4401 Fixed bug where percentage width in an unconstrained situation was yielding a bad size
git-svn-id: svn://10.0.0.236/trunk@4663 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-29 16:09:44 +00:00
kipp
15cf5294da Condensed switch statement, treat sub/sup like other span tags
git-svn-id: svn://10.0.0.236/trunk@4662 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-29 16:08:57 +00:00
terry
097a96580e Patch by Artem Belevich <abelevic@ctron.com> -- don't choke so easily when parsing modules files.
git-svn-id: svn://10.0.0.236/trunk@4661 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-29 15:40:24 +00:00
buster
545749c070 minor tweaks for table layout
git-svn-id: svn://10.0.0.236/trunk@4660 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-29 03:09:14 +00:00
ramiro
ef1650b53f Generate and build the get_info programs only once to speed things up.
git-svn-id: svn://10.0.0.236/trunk@4657 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-28 10:56:03 +00:00
fur
eab84ce532 Aggressively track and release JNI local references to constructed
Java objects, because otherwise at least one JVM is reticent about
GC'ing them.


git-svn-id: svn://10.0.0.236/trunk@4656 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-28 07:53:04 +00:00
fur
4afcf18993 = Force result to zero when converting JS NaN to Java integral types.
= Aggressively track and release JNI local references to constructed
  Java objects, because otherwise at least one JVM is reticent about
  GC'ing them.


git-svn-id: svn://10.0.0.236/trunk@4655 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-28 07:52:23 +00:00
fur
60abeb293c Added toString() method for JavaPackage objects.
git-svn-id: svn://10.0.0.236/trunk@4654 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-28 07:51:27 +00:00
fur
64ba961948 Property deletion should be silent for ECMA-conformant versions of JS.
git-svn-id: svn://10.0.0.236/trunk@4653 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-28 07:50:47 +00:00
fur
94fedc809c Property deletion should be silent for ECMA-conformant versions of JS.
git-svn-id: svn://10.0.0.236/trunk@4652 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-28 07:39:58 +00:00
kipp
72b609913c Take text content and join it together so reduce the size of the content model
git-svn-id: svn://10.0.0.236/trunk@4651 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-27 22:57:52 +00:00
kipp
493f039a09 Use revised inline reflow status; fixed bug in pre-return status to indicate when continuations are needed after line breaks
git-svn-id: svn://10.0.0.236/trunk@4650 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-27 22:57:26 +00:00
kipp
d8cbf8103f Use revised inline reflow status
git-svn-id: svn://10.0.0.236/trunk@4649 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-27 22:56:59 +00:00
kipp
ace86ab545 Revised nsInlineReflowStatus to (a) use nsReflowStatus directly and to (b) seperate out completion and break status as orthogonal status
git-svn-id: svn://10.0.0.236/trunk@4648 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-27 22:56:09 +00:00
kipp
562f6ee466 Added NS_IS_REFLOW_ERROR; updated reflow status comment to indicate which bits are reserved by nsIFrame API's
git-svn-id: svn://10.0.0.236/trunk@4647 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-27 22:54:58 +00:00
beard
bfa75471f4 Added code that guarantees MRJ will be shutdown when the program exits.
git-svn-id: svn://10.0.0.236/trunk@4646 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-27 18:24:26 +00:00
atotic
9e5ef1500e OK, one more project typo
git-svn-id: svn://10.0.0.236/trunk@4644 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-27 03:24:33 +00:00
atotic
989d1592ba Ooooh, more directories are needed by checkout script
git-svn-id: svn://10.0.0.236/trunk@4642 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-27 03:07:26 +00:00
atotic
c9ca5d305a Bug fix for picking what you want to do
git-svn-id: svn://10.0.0.236/trunk@4641 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-27 02:50:12 +00:00
atotic
fb06985c98 That for (int i)... problem fix
git-svn-id: svn://10.0.0.236/trunk@4640 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-27 02:49:36 +00:00
atotic
10a86048e8 It builds and links
git-svn-id: svn://10.0.0.236/trunk@4639 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-27 02:49:08 +00:00
atotic
de08420b29 Another class reference inside class declaration problem
class A {
  void A:method
};
is bad


git-svn-id: svn://10.0.0.236/trunk@4638 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-27 02:48:39 +00:00
atotic
ddf76d4a60 Fixed mac warnings
git-svn-id: svn://10.0.0.236/trunk@4637 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-27 02:47:44 +00:00
atotic
de5bb38c01 Added/removed some files
git-svn-id: svn://10.0.0.236/trunk@4636 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-27 02:47:08 +00:00
atotic
332d1b7cbe Fixed the exports
git-svn-id: svn://10.0.0.236/trunk@4635 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-27 02:46:16 +00:00
atotic
bab4147ba1 More build fixes
git-svn-id: svn://10.0.0.236/trunk@4634 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-27 02:45:22 +00:00
atotic
5fef11e3ce First Checked In.
git-svn-id: svn://10.0.0.236/trunk@4631 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-27 01:28:36 +00:00
atotic
7c54f578d3 More build fixes
git-svn-id: svn://10.0.0.236/trunk@4630 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-27 01:26:41 +00:00
atotic
a2c3b797ef NetworkModular changes
git-svn-id: svn://10.0.0.236/trunk@4629 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-27 01:18:08 +00:00
atotic
5ca7fcdc5c MODULAR_NETLIB fixes for netlib
git-svn-id: svn://10.0.0.236/trunk@4628 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-27 00:16:36 +00:00
atotic
169f395747 MODULAR_NETLIB fixes for theMac
git-svn-id: svn://10.0.0.236/trunk@4627 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-27 00:14:34 +00:00
terry
fdd3fee1f5 Artem Belevich <abelevic@ctron.com> has provided absolutely wonderful
installation instructions.


git-svn-id: svn://10.0.0.236/trunk@4626 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-27 00:03:19 +00:00
atotic
3f1c3913f1 Making it compile on the Mac
git-svn-id: svn://10.0.0.236/trunk@4618 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 23:55:37 +00:00
atotic
cb8305eb86 Fixed the Mac build
git-svn-id: svn://10.0.0.236/trunk@4617 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 23:55:11 +00:00
atotic
0e21a5e5ab Moved MacBinSupport to network project, fixed more imglib stuff
git-svn-id: svn://10.0.0.236/trunk@4616 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 23:54:31 +00:00
atotic
d574fb0cb4 Fixing up the imglib project
git-svn-id: svn://10.0.0.236/trunk@4615 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 23:53:58 +00:00
sman
c9c79c527a Whether or not we compile CALENDAR, we still want to image VCARDs.
Had to move a define 2 lines down to make this happen.


git-svn-id: svn://10.0.0.236/trunk@4614 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 23:43:04 +00:00
atotic
8b55892494 Removed MacBinSupport from the list of exportable headers
git-svn-id: svn://10.0.0.236/trunk@4613 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 23:42:00 +00:00
atotic
2f3828e7a8 Remove NavigatorStubs dependency
Added new targets (JavaScriptNoJSJ$D) to build JavaScript without JSJ dependency.


git-svn-id: svn://10.0.0.236/trunk@4611 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 23:37:04 +00:00
atotic
8b49e55a21 Implemented MyReadLocation inline to remove the NavigatorStubs dependency
git-svn-id: svn://10.0.0.236/trunk@4610 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 23:35:01 +00:00
buster
3b31c107da support for Nav4 compatibility -- auto-width cells with 0-width content are 1 pixel wide
git-svn-id: svn://10.0.0.236/trunk@4609 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 23:31:33 +00:00
atotic
ad145690b3 Moved to mozilla/network/main
git-svn-id: svn://10.0.0.236/trunk@4608 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 23:31:02 +00:00
atotic
e7755f506e Moved MacBinSupport to network project
git-svn-id: svn://10.0.0.236/trunk@4606 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 23:21:36 +00:00
atotic
27d6dc3afe Moved MacBinSupport to network from the main client project
git-svn-id: svn://10.0.0.236/trunk@4605 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 23:20:56 +00:00
scullin
cf28176dc2 Added missing library for Linux.
git-svn-id: svn://10.0.0.236/trunk@4604 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 23:16:18 +00:00
atotic
645c73eb32 Moved MacBinary support where it is used (netlib) from the old
location mozilla/cmd/macfe/utility/


git-svn-id: svn://10.0.0.236/trunk@4603 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 23:15:40 +00:00
atotic
49743eaff7 More exports are needed for Raptor
git-svn-id: svn://10.0.0.236/trunk@4602 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 23:02:03 +00:00
atotic
b2747fec01 Moved libimg out of a main project into a static library
git-svn-id: svn://10.0.0.236/trunk@4601 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 22:55:18 +00:00
atotic
671152c9ac Made libimg and png part of the build.
git-svn-id: svn://10.0.0.236/trunk@4600 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 22:49:58 +00:00
atotic
689e0d3897 Fixing up the imglib project
git-svn-id: svn://10.0.0.236/trunk@4599 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 22:49:26 +00:00
atotic
7c0c96c740 Alias optimization in MakeAlias: if correct alias already exists, do not create a new one.
git-svn-id: svn://10.0.0.236/trunk@4597 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 22:28:20 +00:00
vidur
e9b72399a1 Added code to relative->absolute URL conversion path to deal with .. and . in the path
git-svn-id: svn://10.0.0.236/trunk@4596 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 22:09:18 +00:00
vidur
7f1d93488b Fail if the FirstWrite for the image returns an error
git-svn-id: svn://10.0.0.236/trunk@4595 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 22:08:03 +00:00
wtc
481c4718e5 Bug #180965: Mac gets PR_IO_PENDING_ERROR. In
SendReceiveStream and SendReceiveDgram, make
sure that we set the io_pending flag of the current
thread to PR_FALSE before we return.
In gethostbyname(), just store the OS error code in
me->md.osErrCode.  Do not call macsock_map_error()
to map to NSPR error code.


git-svn-id: svn://10.0.0.236/trunk@4588 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 20:24:25 +00:00
terry
a5ff6897c0 More patches from Matthew Wilson <msw@gimp.org> -- keep popup layer location; quote some URLs better.
git-svn-id: svn://10.0.0.236/trunk@4587 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 19:00:22 +00:00
troy
85ae51a4b3 Changed absolutely positioned elements to have the body as their
geometric parent


git-svn-id: svn://10.0.0.236/trunk@4586 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 18:49:30 +00:00
terry
6e9e47a27c Use time2str instead of ctime; ctime seems to return different things on different systems.
git-svn-id: svn://10.0.0.236/trunk@4585 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 18:37:51 +00:00
terry
64dbc6721a Patch from Matthew Wilson <msw@gimp.org> -- keep the popup layer in a reasonable place on the screen.
git-svn-id: svn://10.0.0.236/trunk@4584 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 18:12:08 +00:00
kipp
abfe3d303b Removed PutCachedData(etc) API from nsIPresShell
git-svn-id: svn://10.0.0.236/trunk@4582 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 16:26:24 +00:00
kipp
49464f4fc7 Removed spurious includes of nsIPresShell
git-svn-id: svn://10.0.0.236/trunk@4581 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 16:23:48 +00:00
kipp
866b1583c9 Make a title object that's a child of the head when we get a title
git-svn-id: svn://10.0.0.236/trunk@4580 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 16:12:51 +00:00
kipp
8a60c93be8 Added NS_NewHTMLComment and NS_NewHTMLTitle
git-svn-id: svn://10.0.0.236/trunk@4579 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 16:12:22 +00:00
kipp
0b12f1c173 new
git-svn-id: svn://10.0.0.236/trunk@4578 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 16:11:41 +00:00
kipp
9da360fb43 new files
git-svn-id: svn://10.0.0.236/trunk@4577 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 16:11:26 +00:00
terry
f43e17d413 Patch from Matthew Wilson <msw@gimp.org> -- was not parsing dates correctly.
git-svn-id: svn://10.0.0.236/trunk@4576 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 16:02:03 +00:00
terry
6629a8d833 Patch from Artem Belevich <ABelevic@ctron.com> -- greatly increase speed when rebuilding database by caching everything. Probably makes the runtime huge, but who cares?
git-svn-id: svn://10.0.0.236/trunk@4574 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 15:42:01 +00:00
kipp
6d26e61d89 Updated for irix
git-svn-id: svn://10.0.0.236/trunk@4573 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 15:31:45 +00:00
kipp
4593b1d8dd Removed stale reference to nsHTMLMeta
git-svn-id: svn://10.0.0.236/trunk@4572 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 15:15:58 +00:00
kipp
f6b5d7af28 Link new content library in
git-svn-id: svn://10.0.0.236/trunk@4571 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 15:12:06 +00:00
kipp
c70ccbc299 Removed obsolete justify-reflow method
git-svn-id: svn://10.0.0.236/trunk@4570 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 15:11:53 +00:00
kipp
465ae2a4de Added content directory and moved some code
git-svn-id: svn://10.0.0.236/trunk@4569 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 15:08:55 +00:00
kipp
410a0c4bb2 Eliminated IRIX compiler warnings (and a bug)
git-svn-id: svn://10.0.0.236/trunk@4568 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 15:07:09 +00:00
dcone
dbc3bfcab0 Blending now uses the Upper left to place the source image
git-svn-id: svn://10.0.0.236/trunk@4566 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 14:06:34 +00:00
ramiro
bc225f01f6 Fix the linux motif/glibc config problems once and for all. Build a small
test program to find out if we are using gnu libc2.  Build a small test
program to determine the version of motif/lesstif being used.  Use the
output of these to set flags used in the xfe.  See config/Makefile for
comments.


git-svn-id: svn://10.0.0.236/trunk@4563 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 12:20:30 +00:00
fur
38185cca7b Tweaked error messages and comments.
git-svn-id: svn://10.0.0.236/trunk@4562 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 06:46:15 +00:00
fur
c74bb371ca Store overloaded methods in the same order as they arrive from the JVM, so
that overloaded method resolution works the same as before, although probably
only with the Sun JVM, because this order isn't specified anywhere.


git-svn-id: svn://10.0.0.236/trunk@4561 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 06:45:04 +00:00
peterl
8d43a01b94 fixed dumping style contexts
git-svn-id: svn://10.0.0.236/trunk@4560 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 05:52:40 +00:00
peterl
9571138f52 added ! important support
git-svn-id: svn://10.0.0.236/trunk@4559 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 05:51:55 +00:00
peterl
dcad152f0b fixed equal weight rule ordering
git-svn-id: svn://10.0.0.236/trunk@4558 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 05:50:10 +00:00
peterl
75f693e437 fixed context dumping
git-svn-id: svn://10.0.0.236/trunk@4557 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 05:49:01 +00:00
fur
b2ea090c2b When running in ECMA-compatibility mode, silently ignore attempts to delete
properties of JavaArray objects.


git-svn-id: svn://10.0.0.236/trunk@4556 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 05:44:02 +00:00
pierre
f78a2c806d getting prepared for MOZ_DARK
git-svn-id: svn://10.0.0.236/trunk@4555 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 04:20:29 +00:00
pierre
a4ea2629bd added comments from other '.pl' files
git-svn-id: svn://10.0.0.236/trunk@4554 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 04:19:47 +00:00
pierre
0f66720816 For some reason, this file was not landed yesterday. Fixing that...
git-svn-id: svn://10.0.0.236/trunk@4553 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 03:28:26 +00:00
pierre
05614074d3 Fix bad landing of binary files
git-svn-id: svn://10.0.0.236/trunk@4552 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 03:08:50 +00:00
kipp
7f636c5180 Made blink act more like bold
git-svn-id: svn://10.0.0.236/trunk@4551 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 01:12:32 +00:00
buster
9c71826ed6 fixed some nested table bugs and made some minor adjustments to Kipp's new line layout code.
git-svn-id: svn://10.0.0.236/trunk@4550 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 00:48:44 +00:00
sar
b23516e974 per spider, approved by montulli
include config.mak to make sure that MOZ_MAIL_NEWS definition makes sense.
This is to fix MOZ_DARK link error.


git-svn-id: svn://10.0.0.236/trunk@4549 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 00:43:24 +00:00
kipp
8b57280e24 Removed gratuitous if's
git-svn-id: svn://10.0.0.236/trunk@4548 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 00:31:44 +00:00
spider
d2ee8b1e43 Bitmap on trunk never made it in Normandy merge... MOZ_DARK only
git-svn-id: svn://10.0.0.236/trunk@4547 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-26 00:22:20 +00:00
timm
9ca001f79e fix trace to be var args
git-svn-id: svn://10.0.0.236/trunk@4545 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 23:46:39 +00:00
pierre
cff1eb4400 #176047. Reverted bad code introduced in Nova -> Normandy -> Gromit generating frequent crashes.
git-svn-id: svn://10.0.0.236/trunk@4544 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 23:40:06 +00:00
kipp
e1321a1af8 Bug fix for loading www.espn.com; the reflow-command wasn't getting passed down appropriately when the image size update occured.
git-svn-id: svn://10.0.0.236/trunk@4543 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 23:35:53 +00:00
spider
4a14093166 MOZ_DARK build fix
git-svn-id: svn://10.0.0.236/trunk@4542 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 23:18:11 +00:00
kipp
2b85e97019 Added code to giving floating children a width to reflow into when they don't specify one themselves
git-svn-id: svn://10.0.0.236/trunk@4540 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 23:09:04 +00:00
vidur
dc5b85be54 Hooked up SCRIPT tag evaluation. Added the nsIScriptContextOwner interface.
git-svn-id: svn://10.0.0.236/trunk@4539 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 22:26:52 +00:00
kipp
da3ed94619 Fixed images/form-elements in tables being incorrectly positioned by preventing nested body's from pre-maturely DidReflowing their children
git-svn-id: svn://10.0.0.236/trunk@4538 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 22:26:35 +00:00
vidur
cf184906ab Hooked up SCRIPT tag evaluation.
git-svn-id: svn://10.0.0.236/trunk@4537 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 22:26:20 +00:00
vidur
e3e4d2ffbb Added the nsIScriptContextOwner.h to aid in SCRIPT tag evaluation
git-svn-id: svn://10.0.0.236/trunk@4536 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 22:25:39 +00:00
michaelp
a6474a3611 removed flushgc in setfont.
git-svn-id: svn://10.0.0.236/trunk@4535 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 22:20:30 +00:00
kmcclusk
2cf6f5a9c9 Added libnglcsslay_s library to link against
git-svn-id: svn://10.0.0.236/trunk@4534 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 22:11:05 +00:00
timm
518061b72e change 'debug' to a static
git-svn-id: svn://10.0.0.236/trunk@4533 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 22:05:51 +00:00
spider
451d946237 Perf improvement...
git-svn-id: svn://10.0.0.236/trunk@4532 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 21:42:39 +00:00
timm
97cd879894 added trace facility
git-svn-id: svn://10.0.0.236/trunk@4531 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 21:39:35 +00:00
kipp
1eab3719eb Change ParseColor to be more compatible with navigator
git-svn-id: svn://10.0.0.236/trunk@4530 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 21:37:07 +00:00
kipp
5f67ed05d3 Support text attribute in body tags
git-svn-id: svn://10.0.0.236/trunk@4529 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 21:36:51 +00:00
kipp
f7cd4556fb Use different (implicit copy) constructor to get proper reason passed through for better handling of incremental reflow
git-svn-id: svn://10.0.0.236/trunk@4528 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 21:11:12 +00:00
montulli
bad847c57a fix purify warning
git-svn-id: svn://10.0.0.236/trunk@4527 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 20:58:07 +00:00
kipp
a5e669bb29 Better handling of incremental reflow commands that pass through the block/inlines; it also makes sure that the incremental reflow happens only once, even if the frame is reflowed more than once.
git-svn-id: svn://10.0.0.236/trunk@4526 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 20:51:04 +00:00
ricardob
e30366bfb1 change to compliment 22087
git-svn-id: svn://10.0.0.236/trunk@4523 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 20:09:03 +00:00
ricardob
f88736bac8 trying to fix compile error for HG22087 with rosetta.h
git-svn-id: svn://10.0.0.236/trunk@4522 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 20:03:52 +00:00
kipp
a65d313301 Rework the way that bullets are detected; this fixes up the http://client/nova page
git-svn-id: svn://10.0.0.236/trunk@4521 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 19:02:15 +00:00
spider
36ab8f1482 fixed.
git-svn-id: svn://10.0.0.236/trunk@4520 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 18:43:50 +00:00
kipp
d768b1fc02 Link html .so properly
git-svn-id: svn://10.0.0.236/trunk@4517 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 18:38:59 +00:00
kipp
733cd2f24b Fixed library name
git-svn-id: svn://10.0.0.236/trunk@4516 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 18:38:40 +00:00
mccabe
4722c241c8 (Not part of the client build.)
Parenthesized assignment-in-conditional to quiet gcc compiler warning.


git-svn-id: svn://10.0.0.236/trunk@4513 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 18:36:53 +00:00
mccabe
3a9f94eeae Extend #ifdef SHELL_HACK from recent fix to 187538 (mistakenly 187537)
to avoid compiler warning on defined-but-unused 'Exec'.


git-svn-id: svn://10.0.0.236/trunk@4512 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 18:34:13 +00:00
michaelp
38592a6b8d killed commented hackyfontname junk. removed malloc()/free(), etc. from unichar
text measurement.


git-svn-id: svn://10.0.0.236/trunk@4511 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 18:27:26 +00:00
atotic
2f3716ca23 Making it compile on the Mac
git-svn-id: svn://10.0.0.236/trunk@4510 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 18:25:36 +00:00
atotic
1799bff666 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@4509 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 18:24:18 +00:00
atotic
ddb5399fbe First Checked In.
git-svn-id: svn://10.0.0.236/trunk@4508 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 18:17:36 +00:00
atotic
5fc112b33b Keeping projects up to date
git-svn-id: svn://10.0.0.236/trunk@4507 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 18:01:28 +00:00
atotic
3028d48c7d More mac build work
git-svn-id: svn://10.0.0.236/trunk@4506 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 18:01:11 +00:00
atotic
d823427289 Making it compile & run....
git-svn-id: svn://10.0.0.236/trunk@4505 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 18:00:52 +00:00
atotic
e5e63e85fe More defines for Raptor
git-svn-id: svn://10.0.0.236/trunk@4504 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 17:59:42 +00:00
atotic
dc337feee7 New DOM manifests
git-svn-id: svn://10.0.0.236/trunk@4503 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 17:59:26 +00:00
gordon
5033963d20 Bug #188317, approved by Don Melton. Removing the setting of the CLASSPATH environment variable from the 'Envi' 128 resource so we use the default classpath provided by lj_GrovelForClasses() instead.
git-svn-id: svn://10.0.0.236/trunk@4502 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 17:29:27 +00:00
kipp
aaf9103f63 Work around infinite-width bug by not passing down an infinite width to a block child of a block
git-svn-id: svn://10.0.0.236/trunk@4500 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 17:26:40 +00:00
kipp
8589831de4 Fixed irix build bustage
git-svn-id: svn://10.0.0.236/trunk@4499 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 17:23:32 +00:00
kipp
b640ec4e66 Fixed unix makefile
git-svn-id: svn://10.0.0.236/trunk@4497 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 16:58:59 +00:00
kipp
462705c804 Support menu on print-preview window
git-svn-id: svn://10.0.0.236/trunk@4496 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 16:33:11 +00:00
kipp
55b2683b92 New and improved (?) line layout
git-svn-id: svn://10.0.0.236/trunk@4495 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 16:33:10 +00:00
spider
c76e6db235 Attempt to fix Solaris bustage
git-svn-id: svn://10.0.0.236/trunk@4494 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 16:25:15 +00:00
norris
d1f93f089d (Not part of Communicator build.)
Fix GC bug involving load().


git-svn-id: svn://10.0.0.236/trunk@4493 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 15:56:19 +00:00
dcone
739975230a added the offset for blending, and a routine to save off bits
git-svn-id: svn://10.0.0.236/trunk@4492 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 15:07:31 +00:00
kipp
a434431b96 Revised page size computation
git-svn-id: svn://10.0.0.236/trunk@4491 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 15:05:35 +00:00
kipp
fb607410da Removed include of stdio.h
git-svn-id: svn://10.0.0.236/trunk@4490 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 15:03:49 +00:00
kipp
55e3a7b15c Assign values to reflow reason so that when printing them numerically it's easier to map the integer back to the enum
git-svn-id: svn://10.0.0.236/trunk@4489 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 15:03:37 +00:00
kipp
5d74b31feb Added missing include line; minor tidy up as well
git-svn-id: svn://10.0.0.236/trunk@4488 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 15:01:13 +00:00
kipp
b99656a4f5 Init mSink
git-svn-id: svn://10.0.0.236/trunk@4487 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 14:58:46 +00:00
kipp
9cd3ec0d05 Made unknown image size be 1,1 twips instead of 0,0 so that other code doesn't eliminate images; added left and right margins around floating images ala ebina
git-svn-id: svn://10.0.0.236/trunk@4486 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 14:56:46 +00:00
kipp
d2b8ec4315 Added CreateFrame method
git-svn-id: svn://10.0.0.236/trunk@4485 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 14:55:15 +00:00
kipp
4760c13c27 Added the same skip-over-non-body-content code that's in the root content frame code
git-svn-id: svn://10.0.0.236/trunk@4484 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 14:53:45 +00:00
kipp
5d9ce13196 Init refcnt so that it behaves properly
git-svn-id: svn://10.0.0.236/trunk@4483 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 14:51:48 +00:00
spider
aa9d1e5eb1 Fix build bustage for routine not available in modular world
git-svn-id: svn://10.0.0.236/trunk@4481 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 08:52:31 +00:00
spider
5717a9f052 mkabook needed for Mail/News only
git-svn-id: svn://10.0.0.236/trunk@4480 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 08:47:25 +00:00
spider
085a502492 a little cleanup for unix.
git-svn-id: svn://10.0.0.236/trunk@4479 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 05:54:12 +00:00
spider
d56dcfe52f NORMANDY_DDAY merge...
git-svn-id: svn://10.0.0.236/trunk@4478 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 05:50:45 +00:00
gagan
9039d5a21d Not is the build yet.
git-svn-id: svn://10.0.0.236/trunk@4477 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 05:44:21 +00:00
spider
a92180be2c once again runs under unix.
git-svn-id: svn://10.0.0.236/trunk@4476 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 05:39:02 +00:00
spider
b602c75268 once again runs under linux.
git-svn-id: svn://10.0.0.236/trunk@4475 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 05:37:54 +00:00
spider
1d875e2e40 fixed build errors.
git-svn-id: svn://10.0.0.236/trunk@4474 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 04:59:17 +00:00
michaelp
c0d17b54f9 added init() method to prescontext.
creator of prescontext is responsible for initializing pres context.
devicecontext is now init()ed with a nsNativeWidget.
removed hacky X Display stuff from device context and font metrics.
removed hacky code from windows font metrics.
changed nsNativeWindow to be nsNativeWidget.
added more code for compositor back-to-front pass.
improved text performance on X.
changed nsHTMLTagContent.cpp so that it will build with MSVC 4.1.


git-svn-id: svn://10.0.0.236/trunk@4472 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 04:24:45 +00:00
michaelp
d68195318d fixed build.
git-svn-id: svn://10.0.0.236/trunk@4469 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 03:25:22 +00:00
timm
5daf4bc516 change to use images instead of text
git-svn-id: svn://10.0.0.236/trunk@4466 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 03:16:42 +00:00
timm
1cdf28e6e1 new images
git-svn-id: svn://10.0.0.236/trunk@4464 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 03:16:03 +00:00
friedman%netscape.com
448f35b3b4 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@4462 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 02:20:13 +00:00
mccabe
d40b3992ac Fix to 187537. The 'assign' hack was interacting with the 'shell
command' hack - the resolver defined by js.c would get called to look
up 'assign' - and on Irix systems, it would find the 'assign' command
in the current path, and decide to define a function called 'assign'
in the global object that would run the assign command.  Then when an
attempt was made to assign a property to the global object, the assign
command would get run, and unexpected behavior followed.


git-svn-id: svn://10.0.0.236/trunk@4461 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 02:07:13 +00:00
root
ba61bdc750 initial checkin
git-svn-id: svn://10.0.0.236/trunk@4460 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 02:05:56 +00:00
root
68a9bd6bba initial checkin
git-svn-id: svn://10.0.0.236/trunk@4459 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 02:05:55 +00:00
jevering
210ccda853 Added the new debug file.
git-svn-id: svn://10.0.0.236/trunk@4458 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 01:58:55 +00:00
jevering
df9a6e8401 Removed parser's knowledge of the Parser Debugger.
The Parser debugger has been moved out and renamed to DTDDebugger since this actually what it is doing.
I cant totally remove the DTDDebugger parameter passed to the parser under the DTD creation is somehow moved from the parser.


git-svn-id: svn://10.0.0.236/trunk@4456 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 01:42:50 +00:00
timm
68e604e881 fix busted javascript
git-svn-id: svn://10.0.0.236/trunk@4449 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 00:05:44 +00:00
kmcclusk
5e26d51304 Changed the name of the WEB_WIDGET DLL to match unix name
git-svn-id: svn://10.0.0.236/trunk@4448 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-25 00:03:56 +00:00
kmcclusk
eb75a2c002 Fixed PRInt16 cast
git-svn-id: svn://10.0.0.236/trunk@4446 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-24 23:58:59 +00:00
kmcclusk
a82aee8e6e fix 16bit visuals
git-svn-id: svn://10.0.0.236/trunk@4442 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-24 22:51:16 +00:00
blythe
c2f2f0c743 aprvd don, bitmap changes from martin.nilsson@bigfoot.com - no more political arguments over bitmaps
git-svn-id: svn://10.0.0.236/trunk@4441 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-24 22:37:46 +00:00
troy
c792cab9c2 Added some asserts to the incremental reflow code
git-svn-id: svn://10.0.0.236/trunk@4440 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-24 22:05:59 +00:00
timm
ef8075f2b3 123505 remove case dependency
git-svn-id: svn://10.0.0.236/trunk@4438 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-24 21:51:04 +00:00
kmcclusk
4ef63b0456 Added code to allow more than one top-level window.
git-svn-id: svn://10.0.0.236/trunk@4435 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-24 21:12:39 +00:00
buster
49fc78ed8a fixed some bugs related to rowspans. This gets us closer on pages like Mozilla.org that were getting wild table heights.
git-svn-id: svn://10.0.0.236/trunk@4429 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-24 19:13:19 +00:00
troy
baaf01afc1 Changed to make sure we set the (x,y) for the frame before we reflow it
git-svn-id: svn://10.0.0.236/trunk@4424 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-24 18:09:47 +00:00
kipp
76c90bc42c snapshot
git-svn-id: svn://10.0.0.236/trunk@4423 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-24 17:52:42 +00:00
scullin
fb1436ff0e Memory fixes from my branch.
git-svn-id: svn://10.0.0.236/trunk@4422 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-24 17:38:21 +00:00
atotic
25d01cc00e Fixed the exports
git-svn-id: svn://10.0.0.236/trunk@4421 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-24 17:37:49 +00:00
troy
344f630d8d Changed to make sure we link the child frame into the list of frames before
we reflow it


git-svn-id: svn://10.0.0.236/trunk@4420 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-24 16:35:21 +00:00
clu
6a86699f96 #145304 and #145305; reviewed by saari; approved by scc.
added two fields in CEDTableContain to prefill rows and cols.


git-svn-id: svn://10.0.0.236/trunk@4419 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-24 15:46:15 +00:00
clu
77a64a0436 #145304 and #145305; reviewed by sarri; approved by scc.
fixed table format dialog so that it pre-fills rows and cols.  Also fixed the crashing bug caused by hitting enter, return, or escape.


git-svn-id: svn://10.0.0.236/trunk@4418 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-24 15:42:47 +00:00
fur
d322c107cd Conversion to a primitive now results in a string value, even with a
hint of JSTYPE_NUMBER.  This is a case that nobody cares about, but it's
used in a LiveConnect test case.

Added more registered Java packages for reduced server-roundtrips.  Also,
loosened restrictions on accessing unregistered packages under "java" and
some of the other packages, in case Sun or somebody adds a "java.fooBar"
package.


git-svn-id: svn://10.0.0.236/trunk@4398 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-24 05:47:46 +00:00
fur
a572d8d419 Allow closures when the JS version is JSVERSION_DEFAULT.
git-svn-id: svn://10.0.0.236/trunk@4395 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-24 05:37:44 +00:00
fur
a36a121a82 Fix bug in which leaving the JS version as JSVERSION_DEFAULT would return
all enumerated property names as strings, as was the case in JS1.1, instead
of the modern (>=JS1.2) behavior of allowing either string or integer property
names.


git-svn-id: svn://10.0.0.236/trunk@4394 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-24 05:36:46 +00:00
troy
45ccdb4fb7 Some incremental reflow changes
git-svn-id: svn://10.0.0.236/trunk@4391 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-24 04:38:52 +00:00
troy
9451bc42a8 Work around for the case where a content change notification has
no corresponding frame in the frame hierarchy


git-svn-id: svn://10.0.0.236/trunk@4390 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-24 04:37:11 +00:00
fur
7f94e92383 Ignore generated files
git-svn-id: svn://10.0.0.236/trunk@4388 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-24 03:18:48 +00:00
fur
f42952dbf1 Files moved to liveconnect/macbuild subdir
git-svn-id: svn://10.0.0.236/trunk@4386 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-24 03:09:57 +00:00
beard
894dc59a2f Updated Mac build instructions.
git-svn-id: svn://10.0.0.236/trunk@4384 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-24 02:44:30 +00:00
beard
83d8209393 Turned off LIVECONNECT for default case.
git-svn-id: svn://10.0.0.236/trunk@4382 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-24 02:25:36 +00:00
beard
ab046e8823 Made JavaSession stuff conditional on LIVECONNECT.
git-svn-id: svn://10.0.0.236/trunk@4381 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-24 02:24:58 +00:00
beard
7a57954a31 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@4380 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-24 02:20:45 +00:00
beard
2866a9403e builds standalone JS shell, without LiveConnect.
git-svn-id: svn://10.0.0.236/trunk@4379 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-24 02:15:02 +00:00
atotic
99d58d1f50 More compile fixes
git-svn-id: svn://10.0.0.236/trunk@4378 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-24 01:45:16 +00:00
atotic
ebb4953de4 More defines for Raptor
git-svn-id: svn://10.0.0.236/trunk@4377 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-24 01:45:00 +00:00
atotic
230cdbbd39 More project fixes
git-svn-id: svn://10.0.0.236/trunk@4376 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-24 01:44:20 +00:00
atotic
731abceda1 Making it compile on the Mac
git-svn-id: svn://10.0.0.236/trunk@4374 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-24 01:43:10 +00:00
atotic
16e158b38e First Checked In.
git-svn-id: svn://10.0.0.236/trunk@4372 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-24 01:41:16 +00:00
atotic
16d5dda6f2 Making it compile & run....
git-svn-id: svn://10.0.0.236/trunk@4371 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-24 01:37:58 +00:00
atotic
0cdb0a8059 Fixed the following Mac compile error:
Error   : inconsistent linkage: 'extern' object redeclared as 'static'
nsNetService.cpp line 292   {



git-svn-id: svn://10.0.0.236/trunk@4369 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-24 01:17:51 +00:00
buster
33a90e073e now tables with precent width nested within tables with auto width work
git-svn-id: svn://10.0.0.236/trunk@4366 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-24 00:40:33 +00:00
brade
f4f56933fc first pass at #122807
git-svn-id: svn://10.0.0.236/trunk@4364 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-24 00:34:50 +00:00
joki
842aa4055d Focus method modification for editor.
git-svn-id: svn://10.0.0.236/trunk@4363 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-24 00:30:41 +00:00
joki
0d600c0e19 Adding editor mode to the viewer
git-svn-id: svn://10.0.0.236/trunk@4362 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-24 00:29:00 +00:00
brade
33fd8d0516 [clu] #72864; reviewed brade; approved don.
changed the icon resource number in Selection Contains Link dialog.


git-svn-id: svn://10.0.0.236/trunk@4359 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-24 00:06:36 +00:00
jgellman
b4e140c36a added empty file on tip before adding to branch
git-svn-id: svn://10.0.0.236/trunk@4353 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 23:41:03 +00:00
norris
ded6dd1b99 (Not part of Communicator build)
Fix warning for unspecified prototype.


git-svn-id: svn://10.0.0.236/trunk@4350 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 23:28:36 +00:00
buster
fe4ba8793e lots of nested tables look much better
misc. nav4 compatibility enhancements
added the ability to QueryInterface for some specific table frame types


git-svn-id: svn://10.0.0.236/trunk@4348 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 23:23:21 +00:00
vidur
2b9c958220 Removed old files nsIScriptObject.h nsIDOMIterators.h and nsDOM.h
git-svn-id: svn://10.0.0.236/trunk@4345 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 22:51:07 +00:00
troy
55cdbb41d8 Initialized mColLayoutData to nsnull
git-svn-id: svn://10.0.0.236/trunk@4343 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 22:45:26 +00:00
fur
fbfc042f83 Allow NULL name argument for JS_NewFunction()
git-svn-id: svn://10.0.0.236/trunk@4341 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 22:40:24 +00:00
karnaze
175a8e2054 named <iframe>s, scrolling attribute, more complete test9.html
git-svn-id: svn://10.0.0.236/trunk@4335 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 22:25:28 +00:00
jgellman
0f5ff984bd adding empty files on the tip before adding them on the branch
git-svn-id: svn://10.0.0.236/trunk@4330 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 22:03:06 +00:00
jgellman
b15f666fdc adding empty files on the tip before adding real ones on the branch
git-svn-id: svn://10.0.0.236/trunk@4329 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 21:57:32 +00:00
joki
b48db24dcc Slight change to nsGUIEvent struct internals
git-svn-id: svn://10.0.0.236/trunk@4328 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 21:54:43 +00:00
jgellman
a764a89d8b adding empty files on tip before adding the real ones on the branch
git-svn-id: svn://10.0.0.236/trunk@4327 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 21:54:06 +00:00
joki
4520e7ae2d Event handling additions for DOM suport. Adding additional event pathway through HandleDOMEvent
git-svn-id: svn://10.0.0.236/trunk@4326 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 21:53:02 +00:00
joki
9d7f91a94a Modifications to event listener interfaces.
git-svn-id: svn://10.0.0.236/trunk@4325 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 21:51:30 +00:00
joki
eedd7b9238 Change order of event handling to go children then view, not view then children.
git-svn-id: svn://10.0.0.236/trunk@4324 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 21:50:30 +00:00
kmcclusk
cd04468943 Added code to fix reference counting and destroy widgets when their refcount goes to 0
git-svn-id: svn://10.0.0.236/trunk@4323 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 21:48:41 +00:00
rods
3bd48e46f6 Initial checkin
git-svn-id: svn://10.0.0.236/trunk@4322 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 21:19:12 +00:00
rods
908b020900 Last few changes to make everything work.
git-svn-id: svn://10.0.0.236/trunk@4321 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 21:18:43 +00:00
fur
709cef3527 Print java error messages even when netscape.javascript classes
are not accessible.


git-svn-id: svn://10.0.0.236/trunk@4320 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 21:11:37 +00:00
norris
c56b8776fa (Not part of Communicator build)
Fix 111202 ECMA: division and modulo operator special cases (/ %)
Another instance of the MSVC NaN == 0 bug.


git-svn-id: svn://10.0.0.236/trunk@4319 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 20:53:12 +00:00
vidur
b48ae874e5 Added js dependency
git-svn-id: svn://10.0.0.236/trunk@4317 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 19:11:22 +00:00
vidur
c3ec7cb982 Changed over to asynchronous image loading
git-svn-id: svn://10.0.0.236/trunk@4316 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 18:49:06 +00:00
rpotts
656e8a8c9c Made the destructors on some XPCOM objects virtual (and protected) to make sure everything gets cleaned up...
git-svn-id: svn://10.0.0.236/trunk@4315 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 18:44:06 +00:00
vidur
002ed7ef49 Separated scripting global object responsibilities from the WebWidget. Added better masking of JS-specific structures in generic interfaces. Creation of a scripting global object interface.
git-svn-id: svn://10.0.0.236/trunk@4314 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 18:43:49 +00:00
vidur
140a853e4f Added autogeneration of XPCOM headers and JavaScript stub classes. Added better masking of JS-specific structures in generic interfaces. Creation of a scripting global object interface.
git-svn-id: svn://10.0.0.236/trunk@4313 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 18:43:06 +00:00
rpotts
333af92193 Some reference counting to make things go away...
git-svn-id: svn://10.0.0.236/trunk@4312 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 18:40:18 +00:00
rpotts
037d815078 Keep a global reference to the Image Manager to prevent it from being deleted.
git-svn-id: svn://10.0.0.236/trunk@4311 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 18:38:33 +00:00
rpotts
c65579b402 Do not crash if the Font cache has not been initialized yet...
git-svn-id: svn://10.0.0.236/trunk@4310 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 18:37:49 +00:00
norris
adc6800400 (Not part of Communicator build.)
Fix array length updating for negative indices.


git-svn-id: svn://10.0.0.236/trunk@4309 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 18:20:59 +00:00
norris
0af9ed1cc1 (Not part of Communicator build)
Fix 105721 ECMA: assigning String.prototype.indexOf to the global object


git-svn-id: svn://10.0.0.236/trunk@4308 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 18:16:02 +00:00
michaelp
3dc293a3fe killed debug code.
git-svn-id: svn://10.0.0.236/trunk@4303 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 17:50:19 +00:00
michaelp
c72c6f20c7 made led prettier.
git-svn-id: svn://10.0.0.236/trunk@4302 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 17:47:06 +00:00
brade
6363cfd142 Back out part of Normandy merge that shouldn't have been checked in.
git-svn-id: svn://10.0.0.236/trunk@4300 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 17:34:02 +00:00
cyeh
d2b684e8cf add back $DEBUG flag accidentily deleted in previous rev
git-svn-id: svn://10.0.0.236/trunk@4294 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 14:45:56 +00:00
fur
1c23e4b83c Prevent crash when accessing numeric properties of a JavaPackage
object.  (Such properties should never exist, but we shouldn't crash.)


git-svn-id: svn://10.0.0.236/trunk@4292 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 08:15:40 +00:00
sdagley
868cbdc597 Fix merge error that caused first character of URL typed into Location field to be lost (pierre/sdagley)
git-svn-id: svn://10.0.0.236/trunk@4286 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 06:41:18 +00:00
fur
b1bd546218 Simplifications and aesthetic tweaks to changes required to build on the Mac.
Also, eliminated uses of tab characters.


git-svn-id: svn://10.0.0.236/trunk@4285 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 06:28:14 +00:00
fur
76dd7ed969 Ignore generated files
git-svn-id: svn://10.0.0.236/trunk@4284 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 06:09:44 +00:00
cyeh
dd2f836cb0 removing yet more conflicts as a result of the normandy merge. ARGH.
git-svn-id: svn://10.0.0.236/trunk@4283 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 05:56:23 +00:00
troy
a1d33a1377 Some work-in-progress for table incremental reflow
git-svn-id: svn://10.0.0.236/trunk@4282 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 05:43:27 +00:00
michaelp
4f01298ca8 fixed build.
git-svn-id: svn://10.0.0.236/trunk@4281 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 05:26:58 +00:00
cyeh
ac5c46ab5e remove conflict caused by NORAMNDY_BEACH merge.
git-svn-id: svn://10.0.0.236/trunk@4280 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 05:19:54 +00:00
troy
ef681df8af pubbed
git-svn-id: svn://10.0.0.236/trunk@4279 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 05:13:58 +00:00
troy
528197bb09 Initial check-in
git-svn-id: svn://10.0.0.236/trunk@4278 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 05:13:22 +00:00
cyeh
4037846d63 make it match BuildMozillaDebug.pl. normandy landing missed this file, that's why the continous builds were failing, but manual builds were succeeding without an error.
git-svn-id: svn://10.0.0.236/trunk@4277 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 04:21:35 +00:00
pierre
3b4f6b4413 Normandy landing: added CBrowserApplicationsMediator.cp and UDeferredTask.cp
git-svn-id: svn://10.0.0.236/trunk@4276 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 02:58:53 +00:00
mlm
cbb79e399a - Merge with 4.06 sources: Add another byte to source numbering so that
scripts that start on lines >32K still work.
- Fix is from fur


git-svn-id: svn://10.0.0.236/trunk@4275 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 02:32:45 +00:00
beard
3a654f69c4 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@4274 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 02:05:14 +00:00
beard
3b7b6e6234 Added prototype for strdup.
git-svn-id: svn://10.0.0.236/trunk@4273 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 02:04:48 +00:00
beard
6a65dfcde7 #define LIVECONNECT 1
git-svn-id: svn://10.0.0.236/trunk@4272 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 02:04:22 +00:00
beard
235352e5a0 Added prosdep.h to get strdup prototype.
git-svn-id: svn://10.0.0.236/trunk@4271 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 02:03:59 +00:00
beard
a0981c3b35 Added XP_MAC changes to export the JSObject native methods.
git-svn-id: svn://10.0.0.236/trunk@4270 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 02:03:10 +00:00
beard
2f60f039b8 Added XP_MAC changes for struct-based jlongs.
git-svn-id: svn://10.0.0.236/trunk@4269 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 02:01:53 +00:00
beard
8613a2c1bf Added prosdep.h to get strdup prototype. Corrected JSJ_InitJSContext to match its prototype.
git-svn-id: svn://10.0.0.236/trunk@4268 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 01:59:26 +00:00
beard
20827ef061 MacOS/MSL malloc also needs non-zero size.
git-svn-id: svn://10.0.0.236/trunk@4267 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 01:57:05 +00:00
beard
0e0889da3d Added XP_MAC initialization function.
git-svn-id: svn://10.0.0.236/trunk@4266 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 01:55:31 +00:00
beard
070e336e44 Added Mac build instructions.
git-svn-id: svn://10.0.0.236/trunk@4265 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 01:54:20 +00:00
timm
f89fd96ee4 123973 go to a different error page for 1st and 2nd dial errors
git-svn-id: svn://10.0.0.236/trunk@4264 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 01:51:11 +00:00
beard
2e9f413f82 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@4263 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 01:48:49 +00:00
spider
e3fbeeb7de Normandy checkin for MacFE ... woohoo!
git-svn-id: svn://10.0.0.236/trunk@4261 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 01:36:59 +00:00
rickg
96fcb89fb0 fixed API mismatch
git-svn-id: svn://10.0.0.236/trunk@4260 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 01:35:25 +00:00
rickg
63134a16f2 added support for doc quality
git-svn-id: svn://10.0.0.236/trunk@4259 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 01:34:25 +00:00
beard
e288d22f49 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@4258 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 01:31:44 +00:00
jwz
2d3b8bb1f0 dawn@cannibal.mi.org:
htmlify descriptions in directory listings

   remove some more style file stuff


git-svn-id: svn://10.0.0.236/trunk@4255 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 01:01:39 +00:00
jwz
9c9afb7761 dawn@cannibal.mi.org:
</TD> was getting gobbled up


git-svn-id: svn://10.0.0.236/trunk@4254 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 01:01:26 +00:00
jwz
283951a1c5 dawn@cannibal.mi.org:
yet another attempt at adding descriptions to directory listings.
This time use the following search criterion for rcs variables
which hopefully won't confuse cvs.  /Id: $filename/

mozilla/README directory was confusing lxr. Added a check
that README is a regular file before its displayed in the directory
listing.


git-svn-id: svn://10.0.0.236/trunk@4253 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 01:01:11 +00:00
michaelp
5e2a441d76 added ability to set behavior of scrollbars in scrollable views.
git-svn-id: svn://10.0.0.236/trunk@4252 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 00:53:56 +00:00
rickg
f755281cca more API cleanup; home.netscape.com working again
git-svn-id: svn://10.0.0.236/trunk@4251 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 00:53:50 +00:00
rickg
40ee4ec401 added a new secret argument to Parse()
git-svn-id: svn://10.0.0.236/trunk@4250 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 00:52:21 +00:00
spider
31269e1554 More libmsg Normandy stuff
git-svn-id: svn://10.0.0.236/trunk@4243 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-22 22:54:34 +00:00
spider
72ff943e29 Adding libmsg in Normandy merge
git-svn-id: svn://10.0.0.236/trunk@4242 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-22 22:39:40 +00:00
spider
309f310c15 Normandy Merge
git-svn-id: svn://10.0.0.236/trunk@4241 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-22 22:02:09 +00:00
troy
2b41d4547a Eliminated mFirstPassValid and changed code to key off the reflow
reason


git-svn-id: svn://10.0.0.236/trunk@4240 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-22 21:59:43 +00:00
spider
38483fbd67 Adding libaddr as part of Normandy merge
git-svn-id: svn://10.0.0.236/trunk@4239 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-22 21:46:46 +00:00
spider
074ad167d8 Fix nasty crash dereferncing mContext
git-svn-id: svn://10.0.0.236/trunk@4237 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-22 21:33:12 +00:00
ltabb
b0475728c8 added the ability to disable builds instead of removing them from the page
git-svn-id: svn://10.0.0.236/trunk@4236 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-22 21:28:47 +00:00
spider
f7bedbedd5 Normandy Merge ....
git-svn-id: svn://10.0.0.236/trunk@4232 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-22 21:21:28 +00:00
spider
957093e8c5 Normandy Merge ....
git-svn-id: svn://10.0.0.236/trunk@4231 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-22 21:19:46 +00:00
norris
a43d7627c5 (Not part of Communicator build.)
Fix crash occurring on most tests, nits from brendan code review.


git-svn-id: svn://10.0.0.236/trunk@4228 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-22 17:53:05 +00:00
fur
ff5959553f Minor updates to build instructions and file descriptions
git-svn-id: svn://10.0.0.236/trunk@4226 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-22 17:41:18 +00:00
fur
f45d82f8e7 [Not used for Mozilla builds]
These project files were just checked in temporarily and are replaced by the
LiveConnectShell project files located in the js/ref/liveconnect subdirectory.


git-svn-id: svn://10.0.0.236/trunk@4225 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-22 17:28:12 +00:00
fur
f11cb1211a [Doesn't build with mozilla]
Java files associated with new LiveConnect.


git-svn-id: svn://10.0.0.236/trunk@4224 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-22 17:23:57 +00:00
dcone
d75bcda183 took out printf's and cleaned up code
git-svn-id: svn://10.0.0.236/trunk@4223 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-22 17:06:13 +00:00
terry
11d4cd401a Last change also included a patch from Matthew Wilson <msw@gimp.org> to make things correctly deal with RCS files that somehow get an extra CR at the end. Thanks Matthew!
git-svn-id: svn://10.0.0.236/trunk@4222 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-22 16:36:43 +00:00
rods
a09331a942 Added basic support for nsTextAreaWidget
git-svn-id: svn://10.0.0.236/trunk@4221 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-22 16:27:57 +00:00
terry
7260888d18 Don't hardcode the bonsai directory name.
git-svn-id: svn://10.0.0.236/trunk@4220 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-22 15:43:47 +00:00
dcone
216c671d5e fixed some bugs, intermediate checkin
git-svn-id: svn://10.0.0.236/trunk@4219 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-22 14:41:23 +00:00
troy
38dc935943 Started hooking up incremental reflow. So far we only handle changed
captions


git-svn-id: svn://10.0.0.236/trunk@4218 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-22 05:34:17 +00:00
kmcclusk
1dc5a40b18 Fix for GIF animation color table bug. Don't create a new color table when converting to a new image format
git-svn-id: svn://10.0.0.236/trunk@4217 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-22 01:57:13 +00:00
kmcclusk
03ea1800a9 Changes to nsImageUnix.cpp to support GIF animation. Works but color table is still wrong.
git-svn-id: svn://10.0.0.236/trunk@4216 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-22 01:37:17 +00:00
kmcclusk
4cea57c1b1 Fixed places which were deleting the mImageBits which was causing viewer to crash. Also fixes some of the GIF animation problems.
git-svn-id: svn://10.0.0.236/trunk@4215 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-21 23:55:08 +00:00
cmanske
bcad3efc4e UI changes needed as part of SF1 bug 122061, adding support for multiple META tags with same NAME. Reviewed by mjudge
git-svn-id: svn://10.0.0.236/trunk@4214 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-21 19:04:54 +00:00
cmanske
bd3fe3289f Fixed SF1 Composer bugs 117881, 122061, 147518, 148003. Reviewed by mjudge
git-svn-id: svn://10.0.0.236/trunk@4213 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-21 19:03:10 +00:00
cmanske
7ca7bcba8c Added field to support multiple META tags with same NAME, SF1 bug 122061. Reviewed by mjudge
git-svn-id: svn://10.0.0.236/trunk@4212 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-21 19:00:42 +00:00
spider
81d3b16346 Support for Optimized GC and Regions in Rendering
git-svn-id: svn://10.0.0.236/trunk@4211 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-21 07:02:44 +00:00
fur
084c69d9c7 Added the getClass() method for backward-compatibility with old LiveConnect.
git-svn-id: svn://10.0.0.236/trunk@4210 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-21 06:51:27 +00:00
fur
cf01601caa Removed all ifdef NO_JSOBJECTOPS code. This was older code that used the
"classic" JSAPI, rather than the new, faster JSObjectOps API.


git-svn-id: svn://10.0.0.236/trunk@4206 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-21 05:17:15 +00:00
michaelp
0c5cf13fbb added content quality indicator.
git-svn-id: svn://10.0.0.236/trunk@4203 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-21 01:23:44 +00:00
fur
28549242ec [Not in the mozilla build]
This new vendor-neutral version of LiveConnect is designed to replace the older
one in the js/jsj directory, which only works with the Netscape JVM.  It is part
of the OJI initiative.


git-svn-id: svn://10.0.0.236/trunk@4202 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-20 17:46:42 +00:00
jwz
2059495936 oh, fuck me
git-svn-id: svn://10.0.0.236/trunk@4198 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-20 01:31:01 +00:00
jwz
f0cfa012a8 backed out the last few changes; it's all messed up and I don't feel like messing with it right now.
git-svn-id: svn://10.0.0.236/trunk@4197 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-20 01:29:23 +00:00
mccabe
98d71cb6fb ECMA (sort of) fix to 156615, platform-dependent troubles on Solaris.
There was a check in our mini-nspr against asking the OS time services
what the DST offset was for time 0... but the check didn't do what the
comment said it did.  So we got the wrong DST offset for... (drum roll
please) the two seconds on either side of the eve of 1970 GMT.

I have a similar fix ready for prmjtime.c, but I'll wait until the
stability freeze settles down.


git-svn-id: svn://10.0.0.236/trunk@4196 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-20 01:21:01 +00:00
jwz
6f0c951205 fixed cvs botch
git-svn-id: svn://10.0.0.236/trunk@4195 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-20 01:09:35 +00:00
troy
4b7e8b60ba Changed AddObserver() to check if the observer is already in the list.
This worksaround a problem with the pres shell being added twice


git-svn-id: svn://10.0.0.236/trunk@4189 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-20 00:45:05 +00:00
slamm
ca2d3a6f5c Make a warning debug-only. #123912 (SF1 in).
git-svn-id: svn://10.0.0.236/trunk@4188 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-20 00:42:41 +00:00
slamm
8f9c129f18 Pull extra warning message. #123912 (SF1 in).
git-svn-id: svn://10.0.0.236/trunk@4186 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-20 00:41:43 +00:00
rickg
1a752708f9 added support for empty (XML) tags
git-svn-id: svn://10.0.0.236/trunk@4178 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-20 00:12:10 +00:00
troy
592bc7771f Changed TextFrame to implement ContentChanged() notification and generate
a reflow command


git-svn-id: svn://10.0.0.236/trunk@4177 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-20 00:04:22 +00:00
norris
d3cb14f1ce (Not part of Communicator build.)
Add implementation version API call.


git-svn-id: svn://10.0.0.236/trunk@4175 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 23:47:07 +00:00
slamm
dc535aadd0 Fix monochrome icons. Fixes #148544 (SF1 in). Thanks to Juergen Keil <jk@tools.de> for the fix.
git-svn-id: svn://10.0.0.236/trunk@4173 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 23:24:48 +00:00
akkana
930884cf0b 94115: don't show unnecessary horizontal scrollbars on resize.
git-svn-id: svn://10.0.0.236/trunk@4172 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 23:18:59 +00:00
akkana
35c979295d 94115: don't show unnecessary horizontal scrollbars on resize.
Reviewed by cmanske.


git-svn-id: svn://10.0.0.236/trunk@4171 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 23:18:04 +00:00
spider
250660d652 Fix dcone bustage
git-svn-id: svn://10.0.0.236/trunk@4170 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 23:16:07 +00:00
jwz
6d400b0656 from dawn: cleverly generate stuff for the "Description" column in LXR directory listings.
git-svn-id: svn://10.0.0.236/trunk@4169 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 23:06:50 +00:00
cyeh
82cf712377 added some more documentation
git-svn-id: svn://10.0.0.236/trunk@4168 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 23:05:51 +00:00
norris
d4519bab58 (Not part of Communicator build.)
Fix 153640 monkey crash calling Math as function or constructor
Just added a null pointer check


git-svn-id: svn://10.0.0.236/trunk@4166 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 22:21:36 +00:00
dcone
4830bb0faa fixed some image problems, put 16 bit support in
git-svn-id: svn://10.0.0.236/trunk@4165 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 22:02:12 +00:00
norris
35c260396c (Not part of Communicator build.)
Fix 123724 hippo: problems declaring var in an eval statement
This ended up being more complex than I initially thought it would be.
See comments in jsparse.c.


git-svn-id: svn://10.0.0.236/trunk@4164 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 21:52:14 +00:00
rods
7cb149b36e Added ListBox and fixed RadioButton to be managed
git-svn-id: svn://10.0.0.236/trunk@4161 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 21:38:32 +00:00
kmcclusk
4a723c28ff Removed the explict setting of the width and height of the main window. This lets the frame window stay the fixed width and height causing the main window to grow. This fixes a bug in the Linux viewer where scrollbars are the wronng size.
git-svn-id: svn://10.0.0.236/trunk@4156 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 21:20:08 +00:00
mlm
7755b587a3 Merge Win16 "fixes" from Dogbert4xDevelopment_BRANCH
- Reorder identical code
 - Move scope of local variable
 - ifdef out stderr


git-svn-id: svn://10.0.0.236/trunk@4155 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 20:13:15 +00:00
rods
91c8cf72a8 fixed the factory to check the internal mClassID instead of the incoming interface id
git-svn-id: svn://10.0.0.236/trunk@4154 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 20:09:18 +00:00
rods
3a5db91e92 removed the initial 'button' string from create
git-svn-id: svn://10.0.0.236/trunk@4153 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 20:08:40 +00:00
rods
a1097b9c70 add XP_UNIX size temporary fixes
git-svn-id: svn://10.0.0.236/trunk@4152 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 20:07:35 +00:00
kipp
239e473481 Fixed pullup logic for ReflowLine to not de-reference deleted nextLine's
git-svn-id: svn://10.0.0.236/trunk@4151 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 19:57:59 +00:00
kipp
0c2560432d Added more assertions; commented the cases where continuations are created and not created; fixed up kidContentIndex in all cases; fixed return result error in the pullup code
git-svn-id: svn://10.0.0.236/trunk@4150 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 19:57:14 +00:00
rods
6ba2af7cb6 Optimize fixes
git-svn-id: svn://10.0.0.236/trunk@4149 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 19:45:47 +00:00
kipp
c49fafa043 snapshot
git-svn-id: svn://10.0.0.236/trunk@4147 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 18:23:28 +00:00
michaelp
65cd847520 fixed for real. yikes.
git-svn-id: svn://10.0.0.236/trunk@4146 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 17:44:03 +00:00
terry
a0dc174c92 Don't be chatty.
git-svn-id: svn://10.0.0.236/trunk@4144 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 15:36:21 +00:00
terry
afea16062a cd to the real tinderbox dir.
git-svn-id: svn://10.0.0.236/trunk@4143 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 15:32:07 +00:00
terry
6fc7fab2b0 Don't show diffs for files that we're 'hiding'.
git-svn-id: svn://10.0.0.236/trunk@4142 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 15:13:40 +00:00
terry
b311d3be21 Use POST for multidiff, since the URL otherwise can get too big.
git-svn-id: svn://10.0.0.236/trunk@4141 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 14:58:19 +00:00
rods
e1d2005761 Fixed up images even more, added calls to get the appropriate bits_per_pixel
git-svn-id: svn://10.0.0.236/trunk@4140 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 14:47:36 +00:00
troy
57e7d240bb Work in progress for incremental reflow
git-svn-id: svn://10.0.0.236/trunk@4135 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 05:21:45 +00:00
spider
5eb2bf4c3b Fix previous runtime bustage by placing XP_UNIX ifdef correctly
git-svn-id: svn://10.0.0.236/trunk@4134 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 05:03:26 +00:00
spider
66cd6e3dd5 Unix fix as per mmp
git-svn-id: svn://10.0.0.236/trunk@4133 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 04:11:01 +00:00
mjudge
671fe78e81 Bugs numbers 78936,78922,78925,78926,78934,78939,105689,139286,139301,139359
git-svn-id: svn://10.0.0.236/trunk@4132 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 04:00:49 +00:00
michaelp
103248f21c painting fixes...
git-svn-id: svn://10.0.0.236/trunk@4129 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 02:46:25 +00:00
rickg
12eeecf8db fixed another containment bug; DTD's are very cool
git-svn-id: svn://10.0.0.236/trunk@4118 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 01:15:19 +00:00
rickg
3564703faa more bug fixes; changed nsHTMLParser to nsParser.
git-svn-id: svn://10.0.0.236/trunk@4110 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 01:00:27 +00:00
troy
6ab2c7e66c Eliminated nsTableCaptionFrame and now we just use a nsBodyFrame instead
git-svn-id: svn://10.0.0.236/trunk@4107 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 00:34:12 +00:00
atotic
49772e50d5 Removed prstrm includes
git-svn-id: svn://10.0.0.236/trunk@4105 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 00:15:19 +00:00
pnunn
08af2b82f9 SF1in #142422.
git-svn-id: svn://10.0.0.236/trunk@4104 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 00:05:19 +00:00
cyeh
edb1f32e81 these were moved to mozilla/README
git-svn-id: svn://10.0.0.236/trunk@4103 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-19 00:05:05 +00:00
kipp
07058f3c89 snapshot
git-svn-id: svn://10.0.0.236/trunk@4102 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 23:44:30 +00:00
norris
347031bfd2 (Not part of Communicator build.)
Change C++ keyword "catch" (and Java keyword "finally" for good measure)
to other identifiers to help out embedders calling JS from C++.


git-svn-id: svn://10.0.0.236/trunk@4101 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 23:43:51 +00:00
cyeh
f0600ac0c9 moved README dir to reside under mozilla/
git-svn-id: svn://10.0.0.236/trunk@4100 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 23:42:13 +00:00
cyeh
30ccf955e6 updating and moving README's to the toplevel of the mozilla hierarchy. this
is to conform to the new tree layout standards.


git-svn-id: svn://10.0.0.236/trunk@4099 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 23:41:22 +00:00
spider
84c96864fd Remove NOISY_FONTS ifdef so not printing so much
git-svn-id: svn://10.0.0.236/trunk@4098 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 23:32:58 +00:00
jevering
4678cb1baa Forgot to check in the robot changes for new object.
git-svn-id: svn://10.0.0.236/trunk@4097 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 23:26:55 +00:00
kipp
ebb9839152 new
git-svn-id: svn://10.0.0.236/trunk@4095 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 23:16:18 +00:00
kipp
62199e67d7 snapshot
git-svn-id: svn://10.0.0.236/trunk@4094 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 23:16:00 +00:00
spider
67b33b7986 Cache visual and depth information in drawing surface since it is not available
when the surface is an offscreen PixMap


git-svn-id: svn://10.0.0.236/trunk@4093 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 23:00:05 +00:00
jevering
ccd797086b Major whacking of the debug robot code.
The Debug robot has now been moved into it's own class (xp_com object)
and is fairly well separated from the rest of the parser.
An argument to pass the ParserDebug object into the parsing process
has been added to the Parse member.  This should clean up Unix a bit
as well as provide the ability to multiple simultaneous robots.
This also cleaned up the global variable hackage.


git-svn-id: svn://10.0.0.236/trunk@4092 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 22:57:25 +00:00
dcone
b2fb00f735 fixing up images
git-svn-id: svn://10.0.0.236/trunk@4089 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 22:19:08 +00:00
spider
b6d52d26ea Fix bustage. Change tabbing to be compatible with mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@4087 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 22:15:31 +00:00
dcone
fb9a20b637 fixed a cast to PRInt8
git-svn-id: svn://10.0.0.236/trunk@4085 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 22:05:26 +00:00
dcone
6d09a53058 made some changes
git-svn-id: svn://10.0.0.236/trunk@4084 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 22:04:23 +00:00
racham
50c0b09a76 BUG 123498 : Connect to ISP icon back in place
git-svn-id: svn://10.0.0.236/trunk@4083 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 21:54:54 +00:00
racham
0300b5237a BUG 118078:minor text changes
git-svn-id: svn://10.0.0.236/trunk@4082 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 21:53:30 +00:00
kmcclusk
add7919a1e Initialize mDelay in constructor + Set delay in Init(aDelay)
git-svn-id: svn://10.0.0.236/trunk@4079 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 20:40:30 +00:00
karnaze
ae1802e8be fixed divide by zero, test9 has sub sub doc.
git-svn-id: svn://10.0.0.236/trunk@4073 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 18:33:34 +00:00
kmcclusk
2cda5cddc8 Commented out code to auto-repeat on timers.
git-svn-id: svn://10.0.0.236/trunk@4072 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 18:18:43 +00:00
kmcclusk
c0473eefb7 Made Motif/timer implementation always repeat
git-svn-id: svn://10.0.0.236/trunk@4070 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 18:12:02 +00:00
kmcclusk
834b97c84c Added a real timer implementation for Motif
git-svn-id: svn://10.0.0.236/trunk@4069 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 18:06:56 +00:00
terry
507ecde94d Implement CheckHidden(), so that we can have some semblance of security.
git-svn-id: svn://10.0.0.236/trunk@4068 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 16:47:00 +00:00
terry
00bbd8e8dd Document some config files.
git-svn-id: svn://10.0.0.236/trunk@4067 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 16:45:03 +00:00
kipp
680ab812cb new
git-svn-id: svn://10.0.0.236/trunk@4066 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 16:25:41 +00:00
ftang
de0cc7d081 fix 147582 5.0SF1 IN
git-svn-id: svn://10.0.0.236/trunk@4064 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 16:21:24 +00:00
rods
9c1c280aeb Fixed up scrolling a little
git-svn-id: svn://10.0.0.236/trunk@4063 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 15:59:51 +00:00
terry
215cb74e52 Removed mention of "crontab".
git-svn-id: svn://10.0.0.236/trunk@4062 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 15:10:34 +00:00
dcone
5f03c74dcc Added the computmetrics call, fixed some small bugs
git-svn-id: svn://10.0.0.236/trunk@4061 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 14:17:17 +00:00
rods
61ceac5110 changed AToms to Atoms in include
git-svn-id: svn://10.0.0.236/trunk@4060 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 13:58:19 +00:00
gagan
b9d6ee983f NOT in BUILD! Progress on new cache architecture-
Flat file design, Background Thread, C stubs, Flat file test, etc.


git-svn-id: svn://10.0.0.236/trunk@4059 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 07:52:34 +00:00
troy
e4e28bc903 Fixed a problem with thick left border edges being the wrong thickness
git-svn-id: svn://10.0.0.236/trunk@4057 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 05:43:32 +00:00
blythe
4e53dbf190 Fix bug 148458, crash on multiple startups
git-svn-id: svn://10.0.0.236/trunk@4051 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 01:47:30 +00:00
kmcclusk
1b02a519c8 Optimized compression of resize events
git-svn-id: svn://10.0.0.236/trunk@4050 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 01:45:44 +00:00
spider
25831f6082 Really fix Unix builds - should be a pointer
git-svn-id: svn://10.0.0.236/trunk@4049 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 01:30:06 +00:00
scullin
7cb1ce6e45 Fix rickg's linux build bustage.
git-svn-id: svn://10.0.0.236/trunk@4047 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 01:04:46 +00:00
kmcclusk
8e76676ca2 Added generation of NS_PAINT event after a NS_SIZE event.
git-svn-id: svn://10.0.0.236/trunk@4046 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 00:58:10 +00:00
kmcclusk
d3d61c4c2a Changed new of mImageBits to PRUint8 instead of unsinged char. doesn't like this under IRIX.
git-svn-id: svn://10.0.0.236/trunk@4044 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 00:54:07 +00:00
montulli
acfa75410a merge tip with montulli branch and create montulli1
git-svn-id: svn://10.0.0.236/trunk@4042 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 00:54:05 +00:00
karnaze
4f49b39027 added tst9, improvements to <iframe>
git-svn-id: svn://10.0.0.236/trunk@4041 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 00:47:18 +00:00
kmcclusk
9aca26fbdf Changes to support the compression of resize events on multiple windows
git-svn-id: svn://10.0.0.236/trunk@4036 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 00:28:06 +00:00
spider
628ea38d70 Implement GetRenderingContext
git-svn-id: svn://10.0.0.236/trunk@4033 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 00:16:52 +00:00
norris
4ccbcd8856 (Not part of Communicator build.)
More functionality for debug print functions.


git-svn-id: svn://10.0.0.236/trunk@4032 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 00:13:08 +00:00
norris
6c4178b690 (Not part of Communicator build.)
This comment is for checkin of version 1.8: mistakenly gave wrong comment
for that version.
Fix 123724 hippo: problems declaring var in an eval statement
The problem was that Variable() in jsparse.c used the scope from calling
js_FindVariableScope to determine whether or not to convert the operator
to GETVAR, but LookupArgOrVar did not. This caused a mismatched set and
get in the code generated from the eval script due to the presence of the
var in the function frame.


git-svn-id: svn://10.0.0.236/trunk@4031 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 00:11:51 +00:00
norris
ccc7a613b2 (Not part of Communicator build.)
More functionality for debug print functions.


git-svn-id: svn://10.0.0.236/trunk@4030 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 00:04:38 +00:00
kipp
86b808a102 Disabled saving the source file cuz it crashes on windows
git-svn-id: svn://10.0.0.236/trunk@4029 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-18 00:02:36 +00:00
kmcclusk
9c6911dc42 More changes for resize under Linux
git-svn-id: svn://10.0.0.236/trunk@4028 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-17 23:56:23 +00:00
kmcclusk
19fbe7d367 Added some code to try fixing resizing problems in Linux viewer.
git-svn-id: svn://10.0.0.236/trunk@4026 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-17 23:43:45 +00:00
rickg
c430c0421c huge refactoring effort; transient style support; tables fixes, and more
git-svn-id: svn://10.0.0.236/trunk@4025 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-17 23:13:28 +00:00
dcone
8094f759f8 Commented out ComputeMetrics
git-svn-id: svn://10.0.0.236/trunk@4024 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-17 23:01:28 +00:00
dcone
177e5f790f added code for image, fixed a bug
git-svn-id: svn://10.0.0.236/trunk@4023 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-17 22:55:42 +00:00
spider
73cc3b7998 fontmetrics now work. fixed random crap in rendering context.
git-svn-id: svn://10.0.0.236/trunk@4020 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-17 22:23:36 +00:00
troy
9a5c27ee64 Reduced the number of polygon calls
git-svn-id: svn://10.0.0.236/trunk@4019 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-17 22:14:20 +00:00
slamm
b6bdddd24a Fix for crash after opening/closing NavCenter. Thanks to Juergen Keil <jk@tools.de> for the fix. Fixes bugs #148369(P0 & SF1 in) & mozilla #423.
git-svn-id: svn://10.0.0.236/trunk@4016 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-17 21:35:22 +00:00
montulli
3e379c3d21 merge branch to tip. This file is not yet in the build
git-svn-id: svn://10.0.0.236/trunk@4014 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-17 21:29:32 +00:00
montulli
428510e815 merge branch to tip. This directory is not in the build yet
git-svn-id: svn://10.0.0.236/trunk@4013 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-17 21:27:01 +00:00
waterson
e050825d32 Bug 127280. Approved by don. Make sure reference count is properly initialized in NP_LoadPluginByType().
git-svn-id: svn://10.0.0.236/trunk@4010 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-17 21:15:23 +00:00
waterson
6e6aecec3d Bug 127182. Approved by don. Added libprgrss.a to libs linked with OJI.
git-svn-id: svn://10.0.0.236/trunk@4008 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-17 21:12:27 +00:00
dcone
574096a239 rename commit
git-svn-id: svn://10.0.0.236/trunk@4006 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-17 20:43:32 +00:00
dcone
7533b10fa9 add compute metrics
git-svn-id: svn://10.0.0.236/trunk@4005 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-17 20:37:58 +00:00
dcone
55afdc7f17 Take out mMask
git-svn-id: svn://10.0.0.236/trunk@4003 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-17 20:36:24 +00:00
dcone
80719f623d Add some member variables
git-svn-id: svn://10.0.0.236/trunk@4002 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-17 20:35:21 +00:00
dcone
c565924ef7 alpha fix
git-svn-id: svn://10.0.0.236/trunk@4001 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-17 20:31:21 +00:00
terry
be6d491414 Whoops; the version of dolog.pl we had was ancient and wrong.
git-svn-id: svn://10.0.0.236/trunk@3997 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-17 20:09:55 +00:00
dcone
99525b6a9d First nsimage work
git-svn-id: svn://10.0.0.236/trunk@3996 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-17 20:03:40 +00:00
troy
1f2fd602e4 Changed to remember the text color rather than set/restore it each time we
render text


git-svn-id: svn://10.0.0.236/trunk@3994 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-17 19:53:57 +00:00
buster
937b504950 minor updates and fixes
git-svn-id: svn://10.0.0.236/trunk@3993 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-17 19:51:51 +00:00
brendan
6a22adee5c - Fix function in with statement to form a closure with the right scope chain
on activation (120172, mlm).
- Use #ifdef CHECK_RETURN_EXPR to hide CheckFinalReturn as well as its calls.
- 80th column tyranny, typedef symmetry, other cosmetics.


git-svn-id: svn://10.0.0.236/trunk@3992 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-17 19:37:53 +00:00
mccabe
021b3ef3b3 (Not part of the mozilla build)
Added a guard against casting infinity->int, towards porting to alpha linux.


git-svn-id: svn://10.0.0.236/trunk@3991 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-17 19:36:29 +00:00
rods
3677bf1dca removed debug printf
git-svn-id: svn://10.0.0.236/trunk@3984 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-17 17:20:08 +00:00
rods
4bfa23089b Fixed keysym problem for mneumonics
git-svn-id: svn://10.0.0.236/trunk@3983 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-17 17:12:25 +00:00
buster
dc23f3a90e Separated table content from table layout. This paves the way for XML/CSS-2 tables.
Lots and lots of optimizations.


git-svn-id: svn://10.0.0.236/trunk@3982 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-17 16:38:24 +00:00
law
25cc2cea0b Fixed bug #129272. Reviewed by hyatt. Re-architected docking/undocking process
git-svn-id: svn://10.0.0.236/trunk@3980 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-17 16:32:34 +00:00
rods
39e2eec3b1 Fixed build problem, removed scrollbar errors
git-svn-id: svn://10.0.0.236/trunk@3979 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-17 16:27:05 +00:00
norris
cab40bd8c8 (Not part of Communicator build.)
Fix warning messages for lack of function prototype.


git-svn-id: svn://10.0.0.236/trunk@3978 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-17 16:23:29 +00:00
rods
f625f48977 Fixed the page up page down for the thumb on the scrollbar
git-svn-id: svn://10.0.0.236/trunk@3977 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-17 16:07:28 +00:00
rods
01e0113a3e Fixed up scrolling a bit by discarding multiple expose events
git-svn-id: svn://10.0.0.236/trunk@3976 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-17 15:52:55 +00:00
troy
89e4c2e7c3 Addded some helper functions to determine whether a content object is
a table cell


git-svn-id: svn://10.0.0.236/trunk@3975 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-17 15:21:02 +00:00
rods
3785352769 rename AGGRRGATE to AGGREGATE
made all the aggregate inner classes friend of the enclosing class


git-svn-id: svn://10.0.0.236/trunk@3973 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-17 14:54:52 +00:00
troy
ccb6081f95 Changed cast of content objects to nsTableContent* to query interface
of nsITableContent


git-svn-id: svn://10.0.0.236/trunk@3966 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-17 05:28:36 +00:00
cmanske
fa6a96a166 Fixed SF1 bug 123401. Crash hiding composition toolbar. Fix supplied and reviewed by hyatt
git-svn-id: svn://10.0.0.236/trunk@3961 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-17 02:10:02 +00:00
rods
c67336287e trying to fix scrollbar and exposure
git-svn-id: svn://10.0.0.236/trunk@3957 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 23:51:44 +00:00
jwz
7a0229065d *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@3955 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 23:41:58 +00:00
jwz
477cbc8ed4 expanded disclaimer
git-svn-id: svn://10.0.0.236/trunk@3953 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 23:32:48 +00:00
jwz
e8ec7ccbff added disclaimer
git-svn-id: svn://10.0.0.236/trunk@3952 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 23:32:15 +00:00
norris
1ad43c2b65 (Not part of Communicator build)
Add ability for scripts to access their arguments.


git-svn-id: svn://10.0.0.236/trunk@3950 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 23:10:57 +00:00
hyatt
b3d49f6d20 Fixes for bug #122733 and #123245. Both reviewed by blythe.
git-svn-id: svn://10.0.0.236/trunk@3949 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 23:10:17 +00:00
karnaze
e882b3963e fixed makefile to recognize html/document/public
git-svn-id: svn://10.0.0.236/trunk@3948 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 22:57:51 +00:00
atotic
028bc701d1 More build fixes
git-svn-id: svn://10.0.0.236/trunk@3947 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 22:56:31 +00:00
atotic
7b738b9c62 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@3946 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 22:55:47 +00:00
atotic
7d7895397a Wrong name, should be libimg.mcp
git-svn-id: svn://10.0.0.236/trunk@3945 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 22:41:03 +00:00
atotic
d576e4b4e1 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@3942 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 22:36:24 +00:00
vidur
fecd170def Changed name to wstring
git-svn-id: svn://10.0.0.236/trunk@3939 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 22:00:47 +00:00
troy
3be45036db Changed DrawString() to use ExtTextOut(), and moved SetBkMode() call to
SetupDC()


git-svn-id: svn://10.0.0.236/trunk@3937 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 21:57:46 +00:00
karnaze
7804754bc8 added
git-svn-id: svn://10.0.0.236/trunk@3936 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 21:55:52 +00:00
atotic
01bdb8898c Last enum should not be followed by a ','. This generates warnings on the Mac
git-svn-id: svn://10.0.0.236/trunk@3935 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 21:45:48 +00:00
atotic
db3b194f04 static void nsHTMLTagContent::ParseValueOrPercentOrProportional(const nsString& aString,
is not legal C++ inside a class declaration.


git-svn-id: svn://10.0.0.236/trunk@3934 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 21:45:10 +00:00
atotic
e4627435f4 Mac needed a definition of PR_GetEnv
git-svn-id: svn://10.0.0.236/trunk@3933 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 21:44:38 +00:00
atotic
170ae1638a Made all required Raptor libraries that I know about build. Next step, first raptor project
git-svn-id: svn://10.0.0.236/trunk@3932 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 21:44:03 +00:00
terry
0d01ac7bc3 Bonsai and Tinderbox have been freed.
git-svn-id: svn://10.0.0.236/trunk@3931 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 21:43:24 +00:00
atotic
295576c927 More exports are needed
git-svn-id: svn://10.0.0.236/trunk@3929 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 21:42:32 +00:00
atotic
70db1ebf42 Made it compile in the dist world
git-svn-id: svn://10.0.0.236/trunk@3928 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 21:41:59 +00:00
atotic
cce0b7b03b Made the projects compile in the dist world
git-svn-id: svn://10.0.0.236/trunk@3927 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 21:41:31 +00:00
atotic
076c95f122 More changes, have many pull and build options now
git-svn-id: svn://10.0.0.236/trunk@3926 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 21:40:51 +00:00
atotic
af6ec95cfa First Checked In.
git-svn-id: svn://10.0.0.236/trunk@3925 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 21:39:13 +00:00
karnaze
f37ddeefc2 more <iframe> support
git-svn-id: svn://10.0.0.236/trunk@3923 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 21:32:54 +00:00
jwz
40dcf39805 emit a mostly-correct Last-Modified header on the generated pages.
git-svn-id: svn://10.0.0.236/trunk@3913 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 20:23:42 +00:00
jwz
77ec0869a9 Recognise .jpeg, .pjpg, and .pjpeg as JPEG extensions.
Put a label next to embedded images.

When the extension of a file is unrecognised, look at the first
line of the file to guess whether it is text or binary; if it
looks binary, emit a link, instead of dumping out the whole file.


git-svn-id: svn://10.0.0.236/trunk@3911 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 19:53:43 +00:00
ftang
d45e047883 Fix bug 123533
git-svn-id: svn://10.0.0.236/trunk@3909 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 19:44:06 +00:00
jwz
b4e5f72dc3 use "checkout -P" to prune empty unused directories
(like cmd/xfe/icons/anim-sgi/)


git-svn-id: svn://10.0.0.236/trunk@3905 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 19:10:03 +00:00
scullin
8922832581 fix build bustage
git-svn-id: svn://10.0.0.236/trunk@3904 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 18:51:22 +00:00
norris
596a0147f0 (Not part of Communicator build.)
Fix 129824 monkey: evaling a function with many arguments fails


git-svn-id: svn://10.0.0.236/trunk@3903 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 18:36:57 +00:00
rods
0566816b88 initial
git-svn-id: svn://10.0.0.236/trunk@3902 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 18:25:35 +00:00
rods
64cc86a661 added nsListBox
git-svn-id: svn://10.0.0.236/trunk@3901 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 18:23:51 +00:00
rods
94ffc48fa5 fixed some resizing problems
git-svn-id: svn://10.0.0.236/trunk@3900 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 18:23:25 +00:00
valeski
f22cec83ae 123702 - we weren't handling http 100 "continue" status codes properly. rev'd by gagan, approved by don
git-svn-id: svn://10.0.0.236/trunk@3898 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 17:52:42 +00:00
michaelp
578d20afe5 fixed client versus non-client get bounds problems.
git-svn-id: svn://10.0.0.236/trunk@3895 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 17:16:59 +00:00
michaelp
3e60e0bb89 added method to nsIView to get offset from nearest window.
added method to nsIView to get nearest scroll offset.
killed AdjustChildWidgets in nsIView.
lots of painting fixes.
added support for scrolling subviews.
added beginning of back-to-front compositing pass.
views, views with widgets and views with specific clips will now have their
outlines rendered in different colors. to turn this off see the top of nsView.cpp.


git-svn-id: svn://10.0.0.236/trunk@3893 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 17:05:42 +00:00
racham
6881937057 BUG114867 : Modified text associated with layers
git-svn-id: svn://10.0.0.236/trunk@3892 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 17:03:16 +00:00
michaelp
84b3c23319 the view manager is now used when manipulating views.
git-svn-id: svn://10.0.0.236/trunk@3891 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 16:51:01 +00:00
michaelp
90a0523f94 PopState() now returns PR_TRUE if there is an empty clip region after the pop.
git-svn-id: svn://10.0.0.236/trunk@3890 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 16:49:29 +00:00
cyeh
6937a54504 removing duplicate entry for nsprpub
git-svn-id: svn://10.0.0.236/trunk@3885 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 14:18:08 +00:00
dcone
dea1b480e6 intermeditate updates to blend and test program. It now works in 24 bit
git-svn-id: svn://10.0.0.236/trunk@3884 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 13:09:46 +00:00
jwz
380d355469 lose the useless search boxes; they're clutter.
git-svn-id: svn://10.0.0.236/trunk@3883 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 09:13:15 +00:00
jwz
0a7ce4cd79 use the $baseurl symbolic name instead of /webtools/lxr/
git-svn-id: svn://10.0.0.236/trunk@3882 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 09:12:47 +00:00
jwz
b91205199d maintain the illusion of directoryhood; refer to "source/" not "source".
git-svn-id: svn://10.0.0.236/trunk@3881 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 09:12:13 +00:00
jwz
dc20ae98f4 Well basically, I hate those layers popups that-aren't-quite-menus.
They've got to go.  The information that was on them is only one
click away anyhow.


git-svn-id: svn://10.0.0.236/trunk@3880 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 09:03:40 +00:00
jwz
96528ae3cd allow the $banner file names to wrap, by emitting a space after each slash.
git-svn-id: svn://10.0.0.236/trunk@3879 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 08:42:22 +00:00
jwz
d7afec3b45 dawn says she didn't write the intro blurb that I assumed she had.
took out the attribution.


git-svn-id: svn://10.0.0.236/trunk@3864 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 04:19:05 +00:00
jwz
950468895a go hog-wild: let's check out the whole "mozilla" directory, instead of just
what's in the "MozillaSource" module.


git-svn-id: svn://10.0.0.236/trunk@3861 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 03:17:27 +00:00
nisheeth
6ce86321db Fix for bug#124552. No code review needed coz fix is smaller than 5 lines.
Now text layout looks at both the state structure and the current text block
for propagating anchor information when a new text layout element is created.


git-svn-id: svn://10.0.0.236/trunk@3860 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 03:05:10 +00:00
spider
7ccbf52e90 Fix some Unichar HTML Rendering
git-svn-id: svn://10.0.0.236/trunk@3858 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 02:21:46 +00:00
jwz
78d33cb85f template-source-tail was identical to template-tail; nuked it.
git-svn-id: svn://10.0.0.236/trunk@3857 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 02:15:51 +00:00
jwz
a7b53c51c0 made the "changes" links show only the HEAD revisions.
added a "full change log" link.


git-svn-id: svn://10.0.0.236/trunk@3856 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 02:15:26 +00:00
jwz
aa1782248f made the "changes" links show only the HEAD revisions.
git-svn-id: svn://10.0.0.236/trunk@3855 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 02:15:13 +00:00
cmanske
8c585749a9 Fixed Composer SF1 bugs 92797 and 138116. Reviewed by mjudge.
git-svn-id: svn://10.0.0.236/trunk@3853 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 01:34:48 +00:00
jwz
709de5de5d yuck. you can't use ".." in otherwise-fully-qualified URLs, so I had
to add another template variable, $dotdoturl, that is just like $baseurl
but points to one directory higher.  Sucks!


git-svn-id: svn://10.0.0.236/trunk@3852 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 01:18:34 +00:00
jevering
dacd85f8fd Hooked up the <BLINK> tag in the parser.
git-svn-id: svn://10.0.0.236/trunk@3851 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 01:15:56 +00:00
jwz
1e81e5631f patches from dawn to sync with latest official lxr
git-svn-id: svn://10.0.0.236/trunk@3849 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 00:57:48 +00:00
jevering
dd51e4bead Fixed many a parser memory leaks.
Attribute tokens where being leaked.  Fixed by making CToken destructor virtual.
The DTDs were not being properly deleted.  Added a member to nsITokenizerDelegate to Destroy()
Fixed a few spots here and there where tokens were getting allocated, but not deleted when a
kError is passed back invalid.


git-svn-id: svn://10.0.0.236/trunk@3848 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 00:57:45 +00:00
spider
b6b71a9c97 Fixes to get viewer to render on Unix
git-svn-id: svn://10.0.0.236/trunk@3847 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 00:57:33 +00:00
jwz
796d715059 added a number of new template files:
instead of just "htmlhead" and "htmltail" there are now:

    "sourcehead" and "sourcetail"
    "sourcedirhead" and "sourcedirtail"
    "findhead" and "findtail"
    "identhead" and "identtail"
    "searchhead" and "searchtail"

so that each CGI can have its own custom headers and footers.
If (for example) identhead isn't configured in lxr.conf, then
htmlhead will be used instead.

"sourcedir*" is used in preference to "source*" when the output
of the "source" script is a CGI.  If sourcedir* aren't configured,
then it falls back to "source*" (and from there to "html*")


git-svn-id: svn://10.0.0.236/trunk@3846 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 00:51:27 +00:00
atotic
0ce193c365 Removed class ifstream declaration.
git-svn-id: svn://10.0.0.236/trunk@3845 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 00:49:39 +00:00
rods
0d12280f37 removed some debug statement
git-svn-id: svn://10.0.0.236/trunk@3844 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 00:28:34 +00:00
rods
1c130a4750 remove GetBasURL call
git-svn-id: svn://10.0.0.236/trunk@3843 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 00:26:50 +00:00
rods
ffeb36dd70 change callback for open in menu
git-svn-id: svn://10.0.0.236/trunk@3842 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 00:26:09 +00:00
kmcclusk
83aa1c5e5e Added Motif viewer to the build
git-svn-id: svn://10.0.0.236/trunk@3841 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 00:23:35 +00:00
rods
79f0a2edf4 fixed UNIX resource protocol
git-svn-id: svn://10.0.0.236/trunk@3840 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 00:04:43 +00:00
jevering
f2d9d749bb Added prstrm.cpp to cpp file list.
git-svn-id: svn://10.0.0.236/trunk@3839 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-16 00:02:03 +00:00
kmcclusk
622362fb0b Added resource protocol support under unix.
git-svn-id: svn://10.0.0.236/trunk@3838 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-15 23:42:16 +00:00
kmcclusk
16f5cb18a1 Added makefile directive to copy ua.css to $(DIST)/bin/res
git-svn-id: svn://10.0.0.236/trunk@3837 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-15 23:07:41 +00:00
kmcclusk
f03579ec58 Removed reference to method no longer in the class
git-svn-id: svn://10.0.0.236/trunk@3834 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-15 22:42:25 +00:00
rods
7f48e999ac removed NoNotify
git-svn-id: svn://10.0.0.236/trunk@3833 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-15 22:35:31 +00:00
jwz
cb985ad9da If a file is less than 1k, print its size in bytes.
git-svn-id: svn://10.0.0.236/trunk@3829 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-15 22:18:06 +00:00
atotic
1501fd1cc3 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@3828 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-15 22:13:46 +00:00
rods
a37fb0b9e5 removed radiogroup functionality
git-svn-id: svn://10.0.0.236/trunk@3826 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-15 22:05:24 +00:00
rods
d49a0191ac removed RadioGroup methods
git-svn-id: svn://10.0.0.236/trunk@3825 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-15 22:02:13 +00:00
atotic
a6cf1d8e3c Make it build in the brave new world
git-svn-id: svn://10.0.0.236/trunk@3824 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-15 21:54:52 +00:00
jwz
2117acdd16 Print the date flush-right; leave about one space between columns.
git-svn-id: svn://10.0.0.236/trunk@3823 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-15 21:52:14 +00:00
jwz
964207a394 Print the date like ls does: "Mmm dd hh:mm" if it is newer than six months,
else "Mmm dd yyyy" if it is older.

Use the internal-gopher-* images instead of the GIFs in /icons/.

Print a "-" for the size of directories.


git-svn-id: svn://10.0.0.236/trunk@3822 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-15 21:51:41 +00:00
cmanske
041e9f52ee Finished fix for SF1 bug 123355 - force JavaScript on for Composer Plugins. Reviewed by mjudge.
git-svn-id: svn://10.0.0.236/trunk@3820 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-15 21:44:23 +00:00
atotic
978ccf5e5e First Checked In.
git-svn-id: svn://10.0.0.236/trunk@3814 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-15 21:07:17 +00:00
vidur
f2f38f2d03 First pass at makefile for generation of xpcom headers and JavaScript stub classes
git-svn-id: svn://10.0.0.236/trunk@3812 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-15 20:57:23 +00:00
kipp
e0a754f66e Revised keyword tables
git-svn-id: svn://10.0.0.236/trunk@3811 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-15 20:40:27 +00:00
kipp
1983702a10 Added in steve's new keywords
git-svn-id: svn://10.0.0.236/trunk@3810 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-15 20:40:07 +00:00
vidur
a79a8d680c Added error handling to InitClass
git-svn-id: svn://10.0.0.236/trunk@3809 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-15 20:35:45 +00:00
atotic
70ae505b5f First Checked In.
git-svn-id: svn://10.0.0.236/trunk@3808 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-15 20:27:14 +00:00
kipp
6d71a51561 Added opacity
git-svn-id: svn://10.0.0.236/trunk@3807 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-15 20:25:28 +00:00
rods
d491c2be81 set internal full path/file correctly, and uses it's own event loop with a kludge from nsAppShell
git-svn-id: svn://10.0.0.236/trunk@3806 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-15 20:25:24 +00:00
rods
f608aae41e no longer derived nsWindow, it is truely a delegated helper
git-svn-id: svn://10.0.0.236/trunk@3805 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-15 20:24:17 +00:00
rods
b8801d1043 changed QueryInterface to QueryObject, it now derived from nsWindow and hasa nsTextHelper
git-svn-id: svn://10.0.0.236/trunk@3804 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-15 20:23:40 +00:00
rods
431ca46b09 added kludge for nsFileWidget
git-svn-id: svn://10.0.0.236/trunk@3803 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-15 20:22:43 +00:00
kipp
de128ce874 Makefile tweaked to not build nsHTMLTags.cpp
git-svn-id: svn://10.0.0.236/trunk@3802 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-15 20:21:08 +00:00
atotic
a4f652e939 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@3800 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-15 20:15:59 +00:00
troy
1f60015e7e Changed to set the polygon fill mode in CommonInit() instead of when drawing
polygons


git-svn-id: svn://10.0.0.236/trunk@3793 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-15 18:50:08 +00:00
jwz
9e854f3e3f I'm a chimp; I didn't test the last change, and left out the blank line after
the headers.


git-svn-id: svn://10.0.0.236/trunk@3792 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-15 17:15:35 +00:00
rods
03bc217f2a more fixes for irix
git-svn-id: svn://10.0.0.236/trunk@3791 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-15 17:08:33 +00:00
kmcclusk
a23a3d4402 Added support for XPCOM Aggregation in the Motif Widget library
git-svn-id: svn://10.0.0.236/trunk@3789 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-15 16:50:53 +00:00
rods
b45f98980c fixing irix build
git-svn-id: svn://10.0.0.236/trunk@3788 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-15 16:34:18 +00:00
rods
16afc2f022 added additional FileWidget support
git-svn-id: svn://10.0.0.236/trunk@3787 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-15 16:29:00 +00:00
rods
4f6c3c4a5e added sow/hise and resize
git-svn-id: svn://10.0.0.236/trunk@3786 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-15 16:28:42 +00:00
rods
e302fbc7ae fixed up resize events
git-svn-id: svn://10.0.0.236/trunk@3785 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-15 15:36:28 +00:00
rods
6fedb69d2e added File Widget
git-svn-id: svn://10.0.0.236/trunk@3784 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-15 15:36:09 +00:00
rods
53be4673a6 added nsFIleWidget.cpp
git-svn-id: svn://10.0.0.236/trunk@3783 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-15 15:35:56 +00:00
rods
8fe0b0d706 initial working version
git-svn-id: svn://10.0.0.236/trunk@3782 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-15 15:35:35 +00:00
jwz
c63806cecc don't send last-modified headers with a static date...
git-svn-id: svn://10.0.0.236/trunk@3781 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-15 05:08:14 +00:00
troy
0b65f7fd78 Changed some GetStyleContext/GetStyleData calls to use nsIFrame::GetStyleData
instead. This saves the AddRef/Release overhead


git-svn-id: svn://10.0.0.236/trunk@3780 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-14 05:23:59 +00:00
troy
445135f411 Changed some GetStyleContext/GetStyleData pairs to use nsIFrame::GetStyleData
instead


git-svn-id: svn://10.0.0.236/trunk@3779 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-14 05:14:17 +00:00
troy
045ec7477e Changed some pairs of GetStyleContext/GetStyleData calls to a single call
to nsIFrame::GetStyleData


git-svn-id: svn://10.0.0.236/trunk@3778 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-14 05:00:38 +00:00
troy
02ba158334 Changed a GetStyleContext/GetStyleData pair to use the nsIFrame::GetStyleData
member function instead. This saves a pair of AddRef/Release calls


git-svn-id: svn://10.0.0.236/trunk@3777 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-14 04:40:52 +00:00
troy
aef1ccc739 Changed PaintChildren() to only paint those children that intersect
the dirty rect


git-svn-id: svn://10.0.0.236/trunk@3776 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-14 00:45:21 +00:00
mcafee
4deae010b7 Get SparcLinux to link properly. This doesn't affect any other builds.
git-svn-id: svn://10.0.0.236/trunk@3775 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-13 22:40:18 +00:00
jwz
82650fafb0 Wow, how lame. The only way I could get the table columns to line up was
to increase the field size from 6 to 8!  That's robust...  It seems that
</FORM> inserts a paragraph break even when it comes just before </TD>,
so the "use this field" text must be inside the </FORM> in order to be
snugly against the text field.  But, if "Text Search" isn't in the same
<TR> as the text field, they won't line up properly vertically.  So
I can't figure out how to combine all of the <FORM>s into one table to
make the columns all line up without introducing lots of vertical space.


git-svn-id: svn://10.0.0.236/trunk@3774 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-13 18:47:35 +00:00
jwz
8618f75641 I hadn't realized that "ident" did case-sensitive exact matches instead of
regexp searches.  Updated the instructions to reflect this.


git-svn-id: svn://10.0.0.236/trunk@3773 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-13 18:26:54 +00:00
jevering
c5c8aef9b7 Fixed a few memory leaks.
git-svn-id: svn://10.0.0.236/trunk@3752 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-13 02:20:04 +00:00
jwz
9133959599 "text" is more meaningful than "glimpse"
git-svn-id: svn://10.0.0.236/trunk@3751 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-13 01:38:31 +00:00
jwz
1733061310 thank the authors, too
git-svn-id: svn://10.0.0.236/trunk@3750 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-13 01:25:58 +00:00
jwz
670f3b0caf apparently glimpseindex wants to run "whereis", so I added /usr/ucb to $PATH
git-svn-id: svn://10.0.0.236/trunk@3749 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-13 01:15:11 +00:00
jwz
114ebcdc2d *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@3748 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-13 01:12:23 +00:00
jwz
ca06e848ee reformatted
git-svn-id: svn://10.0.0.236/trunk@3747 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-13 01:11:09 +00:00
mccabe
75a2fd1cff Undid the ECMA fix that disallowed '08' and '09' numeric literals. According to the ECMA lexical grammar, these literals should be scanned as two consecutive NUMBER tokens ('0' and '9') - which is always a syntax error under the grammar. Unfortunately, the javascript engine has supported these literals (with mathematical values 8 and 9) in the past, and they're likely to crop up in date code... so we probably need to remove this fix. This leaves us a superset of ECMA - by accepting these literals, we accept scripts that are not valid ECMA scripts.
git-svn-id: svn://10.0.0.236/trunk@3746 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-13 01:10:30 +00:00
jwz
3e5690ef7b *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@3745 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-13 00:45:02 +00:00
jwz
07a11059eb print date to log; know where cvs is
git-svn-id: svn://10.0.0.236/trunk@3744 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-13 00:43:15 +00:00
beard
b913753a69 Revised target names to be more consistent with new build system (.o no .shlb for static libraries).
git-svn-id: svn://10.0.0.236/trunk@3742 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 23:13:40 +00:00
sar
1fe1409d5d adding NormandyBeachMac module
git-svn-id: svn://10.0.0.236/trunk@3741 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 22:41:30 +00:00
nisheeth
3ec85aec75 Fix for bug#112027. Reviewed by Dan. The crash was occuring for the case
when the MULTICOL tag had no content.  Fixed lo_rl_FitMultiColumn()
to handle that case.


git-svn-id: svn://10.0.0.236/trunk@3740 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 22:35:50 +00:00
vidur
0dae2f4900 Added iid generation, dealing with the void keyword and fixed bugs in generation code
git-svn-id: svn://10.0.0.236/trunk@3739 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 22:34:39 +00:00
jwz
4c27757921 lose cvs1.mozilla.org
git-svn-id: svn://10.0.0.236/trunk@3738 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 22:27:22 +00:00
atotic
7d18a34d8f First Checked In.
git-svn-id: svn://10.0.0.236/trunk@3735 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 22:24:09 +00:00
norris
65e0df27c8 (Not part of Communicator build.)
Tweak last fix not to depend on size of char.


git-svn-id: svn://10.0.0.236/trunk@3734 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 22:20:06 +00:00
norris
f11fae67c4 (Not part of Communicator build.)
Fix bug 123802 hippo / js1.2 some regular expression tests fail


git-svn-id: svn://10.0.0.236/trunk@3733 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 22:17:13 +00:00
vidur
9b293711e9 Asynchronous loading of images
git-svn-id: svn://10.0.0.236/trunk@3732 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 22:08:39 +00:00
jwz
433811f789 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@3731 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 22:06:58 +00:00
jwz
275969156d update the lxr sources too; and log.
git-svn-id: svn://10.0.0.236/trunk@3730 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 22:03:28 +00:00
jwz
2b27db57e8 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@3729 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 21:58:38 +00:00
jwz
44adb1e8c7 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@3728 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 21:48:51 +00:00
jwz
c268281089 linked in dawn's search help doc
git-svn-id: svn://10.0.0.236/trunk@3727 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 21:42:37 +00:00
jwz
d7e8cd1022 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@3725 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 20:52:28 +00:00
jwz
472b9deca8 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@3724 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 20:25:05 +00:00
jwz
c9519735f0 we don't need this
git-svn-id: svn://10.0.0.236/trunk@3723 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 20:24:06 +00:00
jwz
020ba78100 tweaked tables
git-svn-id: svn://10.0.0.236/trunk@3722 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 20:20:24 +00:00
jwz
a293b251d9 tweaked tables
git-svn-id: svn://10.0.0.236/trunk@3721 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 20:08:12 +00:00
jwz
2ee58fc80f *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@3720 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 19:41:29 +00:00
jwz
6f66daeeb2 fixed #!
git-svn-id: svn://10.0.0.236/trunk@3717 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 18:55:52 +00:00
spider
8ea5562eda Documentation cleanup
git-svn-id: svn://10.0.0.236/trunk@3716 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 18:30:53 +00:00
norris
bf64e5a774 (Not part of Communicator build.)
Fix 111199 ECMA: don't enumerate parseInt.length


git-svn-id: svn://10.0.0.236/trunk@3714 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 17:22:04 +00:00
mjudge
056b81d373 bug 113680 fix for horizontal rule strangeness after tables. when reflowing tables, do not reflow beyond the last cell
git-svn-id: svn://10.0.0.236/trunk@3713 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 16:05:46 +00:00
nisheeth
c13dcad447 Fix for bug 123984. Approved by don. LO_SelectAll was crashing in
lo_FindDocumentEdge() because state->end_last_line was not being set
properly during layout of the document.  Fixed.


git-svn-id: svn://10.0.0.236/trunk@3712 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 06:09:51 +00:00
troy
e3a40ebb34 Changed ResizeReflowPass1() to default to the reflow reason that was
passed in and not resize


git-svn-id: svn://10.0.0.236/trunk@3711 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 04:28:07 +00:00
troy
e30c089c3e Fixed some places where the reflow reason wasn't getting correctly set for
the initial reflow


git-svn-id: svn://10.0.0.236/trunk@3710 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 04:11:41 +00:00
troy
92687a73dd Changed RootContentFrame to correctly set the reflow reason for the
initial reflow


git-svn-id: svn://10.0.0.236/trunk@3709 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 03:02:15 +00:00
jevering
2687956d1e Fixing my Unix bustage. use PR_MkDir instead of mkdir
git-svn-id: svn://10.0.0.236/trunk@3707 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 02:27:25 +00:00
jevering
529ef6d19a Removed _MAX_PATH to fix builds on Irix and Linux.
git-svn-id: svn://10.0.0.236/trunk@3706 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 02:14:18 +00:00
jevering
f33388d50f Fixed double ended queue to accept a callback in the constructor
to a function which frees the inserted objects.


git-svn-id: svn://10.0.0.236/trunk@3703 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 01:36:24 +00:00
jevering
5dacfac8a0 Fixed up the base dubugrobot function.. mostly cleaning up.
Properly setting the verification directory.


git-svn-id: svn://10.0.0.236/trunk@3702 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 01:35:36 +00:00
jevering
b44966774c More debug robot work. I added some statistic gathering information
as well as hooking up the context vector validation stuff.  The
debug robot now makes two files in the root verification directory
for mapping context vector to debug source dumps as well as occurance
tracking of good and bad context vectors.


git-svn-id: svn://10.0.0.236/trunk@3701 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 01:34:49 +00:00
spider
ce8a77d383 Fix for rendering problem where everything goes black AFTER the first paint on non-8 bit displays
git-svn-id: svn://10.0.0.236/trunk@3700 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 01:30:52 +00:00
cmanske
32186c46a1 Fixed SF1 bug 65190, reviewed by mjudge. Removed duplicate define accidentally introduced by branch merge in edprops.h. Approved by brade, don
git-svn-id: svn://10.0.0.236/trunk@3699 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 01:22:45 +00:00
cmanske
342d8e16e5 Fixed SF1 bugs 65190, 105787, 123355. Reviewed by mjudge, approved by brade, don
git-svn-id: svn://10.0.0.236/trunk@3698 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 01:22:22 +00:00
cmanske
8c6890eb9b Part of fix for SF1 bug 123355, reviewed by fur. Approved by brade, don
git-svn-id: svn://10.0.0.236/trunk@3697 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 01:22:14 +00:00
nisheeth
eee6bb3c86 Fix for bug #108358. No code review coz its a one liner. Fixes the infinite
loop by letting us break out on a condition that wasn't being checked
earlier in lo_LayoutTextBlock() in laytext.c.  Thanks a lot to Jeff
Caldwell (look@shell.lazerlink.net) for the patch.


git-svn-id: svn://10.0.0.236/trunk@3696 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 01:16:59 +00:00
spider
8149b432e3 Change viewer's HandleEvent to HandleEventApp since on Unix it conflicts
with HandleEvent defined in nsView.cpp


git-svn-id: svn://10.0.0.236/trunk@3695 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 00:55:24 +00:00
mccabe
0cb471d35b (Not part of the gromit/mozilla build.)
Added NPL notice.


git-svn-id: svn://10.0.0.236/trunk@3694 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 00:54:15 +00:00
beard
0ca64acf15 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@3693 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 00:13:32 +00:00
norris
6622fa3251 (Not part of Communicator build.)
Fix 123552 Array length updating is incorrect


git-svn-id: svn://10.0.0.236/trunk@3692 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 00:10:52 +00:00
norris
61a2bf2e56 (Not build as part of Communicator)
Fix 123788 test crashes spidermonkey: simple null pointer check


git-svn-id: svn://10.0.0.236/trunk@3691 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-12 00:09:08 +00:00
jwz
5a974a2708 initial revision of lxr (note that this code is under the GPL.)
git-svn-id: svn://10.0.0.236/trunk@3689 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-11 23:56:23 +00:00
spider
53a8ad98c1 Defining dbopen on Unix too. Reviewed by rpotts.
git-svn-id: svn://10.0.0.236/trunk@3687 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-11 23:46:52 +00:00
nisheeth
f59e1428bf Fix for bug 124273. Reviewed by toshok. Commented out call to
LO_PopStyleSheetTagByIndex() in lo_RelayoutCell() in laytable.c.
This should fix lots of crashes on rendering pages with stylesheets.


git-svn-id: svn://10.0.0.236/trunk@3686 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-11 23:39:15 +00:00
valeski
8a4901c308 122606: ftp password request text change. approved by don
git-svn-id: svn://10.0.0.236/trunk@3685 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-11 23:36:55 +00:00
karnaze
4c6419d544 initial loading of <iframe> documents
git-svn-id: svn://10.0.0.236/trunk@3684 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-11 23:29:15 +00:00
blythe
5d1bd9c14c approved don/lloyd, new mozilla artwork, including the contest winning animation, submitted by martin.nilsson@bigfoot.com
git-svn-id: svn://10.0.0.236/trunk@3683 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-11 23:25:23 +00:00
blythe
da9ea6ff61 approved don/lloyd, support multiple periods in save file names, fix by brian@inforum.net
git-svn-id: svn://10.0.0.236/trunk@3682 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-11 23:23:38 +00:00
rods
12743b4872 kludge for now
git-svn-id: svn://10.0.0.236/trunk@3681 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-11 23:10:41 +00:00
kmcclusk
1dfa345cb5 Wasn't copying bg.jpg to the install directory.
git-svn-id: svn://10.0.0.236/trunk@3680 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-11 22:59:09 +00:00
pinkerton
c43991fa0a Fix for bug #126717 (crash dropping at end of personal toolbar). Rev sdagley, appr don.
git-svn-id: svn://10.0.0.236/trunk@3679 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-11 22:52:56 +00:00
troy
c99c4732b8 Changed how cell layout data is accessed
git-svn-id: svn://10.0.0.236/trunk@3678 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-11 22:51:54 +00:00
troy
c5d8a9d8f3 Added an additional constructor
git-svn-id: svn://10.0.0.236/trunk@3677 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-11 22:48:25 +00:00
rods
4cfb89e845 removed nsFileWidget
git-svn-id: svn://10.0.0.236/trunk@3673 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-11 21:59:45 +00:00
rods
f643695511 fixed build problem
git-svn-id: svn://10.0.0.236/trunk@3672 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-11 21:56:42 +00:00
rods
887310f664 added nsFileWidget
git-svn-id: svn://10.0.0.236/trunk@3671 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-11 21:35:26 +00:00
spider
c47938cca0 Support for TrueColor display, add nsNativeDeviceContext to Init method of nsIDeviceContext, fix FontMetrics crash if no RenderingContext is available.
git-svn-id: svn://10.0.0.236/trunk@3670 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-11 21:26:21 +00:00
kmcclusk
3b6a1d81ef Removed commented out defines
git-svn-id: svn://10.0.0.236/trunk@3669 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-11 21:04:14 +00:00
kmcclusk
eed046b3da Added code to support getting the URL's for samples using the current working
directory under unix.


git-svn-id: svn://10.0.0.236/trunk@3668 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-11 20:57:27 +00:00
waldemar
7d191cd32e Fixed compiler warning
git-svn-id: svn://10.0.0.236/trunk@3665 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-11 20:27:22 +00:00
rods
1396986c19 added GetBitInfo to fix the build
git-svn-id: svn://10.0.0.236/trunk@3664 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-11 19:43:26 +00:00
kmcclusk
aa61feb82f Added support for nsDispatchListener's under Motif.
git-svn-id: svn://10.0.0.236/trunk@3663 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-11 19:29:57 +00:00
troy
c1f731addb Eliminated FindCellLayoutData() and changed code to use GetCellLayoutData()
instead


git-svn-id: svn://10.0.0.236/trunk@3662 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-11 18:50:17 +00:00
buster
40b11809ed more separation between table content and frames
git-svn-id: svn://10.0.0.236/trunk@3660 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-11 17:50:51 +00:00
dcone
cbba62dbf3 updated blending code, and tests
git-svn-id: svn://10.0.0.236/trunk@3659 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-11 17:33:26 +00:00
kmcclusk
c317f26d66 Added back MotifMenu's
git-svn-id: svn://10.0.0.236/trunk@3658 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-11 16:50:37 +00:00
karnaze
da12569a7e initial support for <iframe>
git-svn-id: svn://10.0.0.236/trunk@3657 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-11 16:46:33 +00:00
buster
3609fb407a continuing work to separate content from frames
git-svn-id: svn://10.0.0.236/trunk@3656 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-11 15:46:37 +00:00
troy
49eac66b52 Added some XXX performance reminders
git-svn-id: svn://10.0.0.236/trunk@3652 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-11 04:57:56 +00:00
atotic
1ae22c0e72 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@3651 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-11 03:58:24 +00:00
raman
25a223aba2 Fix for 123352. 5.0SF1-In P0 bug. Approved by Don. Reviewed by waterson. Default simulate_signature_on_system_classes to true until we get signed system classes working.
git-svn-id: svn://10.0.0.236/trunk@3648 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-11 02:25:51 +00:00
spider
c304ed40d7 Draw text from upper left rather than baseline
git-svn-id: svn://10.0.0.236/trunk@3647 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-11 02:15:12 +00:00
spider
6dfde18d7b Force the Drawing Area to have zero border width:
git-svn-id: svn://10.0.0.236/trunk@3645 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-11 01:54:07 +00:00
spider
ab50f26b6a Remove duplicate drawingsurface. fix memory leak
git-svn-id: svn://10.0.0.236/trunk@3644 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-11 01:22:26 +00:00
kmcclusk
2e3862383e Removed nsMotifMenus until menu's .h file is checked in. . Added code to stop crash in xpcompat.c
git-svn-id: svn://10.0.0.236/trunk@3643 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-11 00:54:25 +00:00
buster
d62220ccdf more cleanup and frame/content separation
git-svn-id: svn://10.0.0.236/trunk@3642 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-11 00:41:09 +00:00
spider
698e0cb1a0 Compute TWIPS during Init() of DeviceContext rather than waiting
until the RenderingContext is created.


git-svn-id: svn://10.0.0.236/trunk@3639 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-11 00:32:29 +00:00
buster
0d87d412e5 some tentative steps towards content/frame separation in tables
git-svn-id: svn://10.0.0.236/trunk@3637 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-11 00:13:18 +00:00
rods
92da2f6bf8 add stdlib.h to pick exit() on irix
git-svn-id: svn://10.0.0.236/trunk@3635 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-10 23:33:15 +00:00
gordon
ea82f7554a Fixing Mac bustage by adding typecast. Approved by sar.
git-svn-id: svn://10.0.0.236/trunk@3634 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-10 23:04:18 +00:00
law
774adf441e Fixed Bug #124155; minor change to enable telnet: URLs on some Win systems
git-svn-id: svn://10.0.0.236/trunk@3633 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-10 22:42:51 +00:00
rods
83ed7683b6 changed signature of OnResize
git-svn-id: svn://10.0.0.236/trunk@3632 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-10 22:42:34 +00:00
rods
6943b0f95b added motif menus to the viewer
git-svn-id: svn://10.0.0.236/trunk@3631 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-10 22:41:43 +00:00
waldemar
af8de6ee7b Fixed bugs 123565, 123874, 122877, 122882, 123560, and 77391, all having to do with various errors in reading integers and floating-point numbers and interpreting whitespace around them. Whitespace was being treated inconsistently in parseInt, parseFloat, and ToNumber; made all of these accept any Unicode whitespace in anticipation of the future ECMA v2.
git-svn-id: svn://10.0.0.236/trunk@3625 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-10 21:18:05 +00:00
waldemar
753acc4b7c Changed js_strtod and js_strtointeger APIs to fix bugs 123565, 123874, 122877, 122882, 123560, and 77391. Added comments.
git-svn-id: svn://10.0.0.236/trunk@3624 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-10 21:14:41 +00:00
waldemar
69a73252a5 Updated for changed js_strtod and js_strtointeger APIs needed to fix bugs 123565, 123874, 122877, 122882, 123560, and 77391.
git-svn-id: svn://10.0.0.236/trunk@3623 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-10 21:13:52 +00:00
waldemar
ff457f223c Added js_SkipWhiteSpace.
git-svn-id: svn://10.0.0.236/trunk@3622 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-10 21:11:00 +00:00
rods
15ebeaee23 initial
git-svn-id: svn://10.0.0.236/trunk@3618 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-10 20:42:04 +00:00
rods
312ff5aa54 added PRUint32 cast to unbreak the build
git-svn-id: svn://10.0.0.236/trunk@3614 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-10 20:34:38 +00:00
scullin
9d18a95bec Fix mac build.
git-svn-id: svn://10.0.0.236/trunk@3612 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-10 20:28:49 +00:00
toshok
c4be407277 fix relayout of preformatted text (and hopefully help out in the
relayout of normal text as well.)  Make sure we start at the element
immediately following the LO_TextBlock (if possible, otherwise start
at the startTextElement.)  Also, loop up to and including the
endElement.  Lastly, insert new soft line breaks after recycling the
old ones.


git-svn-id: svn://10.0.0.236/trunk@3610 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-10 19:12:01 +00:00
toshok
ca99e17719 Make line breaks at the start and end of a PRE section hard, so they persist across resizes (part of the fix for 123300.
git-svn-id: svn://10.0.0.236/trunk@3609 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-10 18:58:14 +00:00
scullin
8f043ecc46 Fix serious date parsing bug. Approved ltabb.
git-svn-id: svn://10.0.0.236/trunk@3608 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-10 18:57:41 +00:00
rods
631240da82 24 bit color fix
git-svn-id: svn://10.0.0.236/trunk@3604 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-10 18:18:35 +00:00
spider
6cb3b0c91d Attempt to do the right thing on 24 bit displays ... good luck
git-svn-id: svn://10.0.0.236/trunk@3603 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-10 17:29:11 +00:00
toshok
9e5f59d520 Add one liners about the PRE_*, QUOTE_* and SUBDOC_* #defines.
git-svn-id: svn://10.0.0.236/trunk@3602 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-10 16:54:35 +00:00
pinkerton
76a8fb7fce Fix bug #12413 in single signon (appr don, rev morse).
git-svn-id: svn://10.0.0.236/trunk@3601 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-10 15:20:06 +00:00
warren
ae16350c75 Added softupdt dependency for OJI
git-svn-id: svn://10.0.0.236/trunk@3595 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-10 07:06:09 +00:00
nisheeth
8f4e34f57b Fix for bug 123208. Fixes the problem of nested tables with 100% height
getting heights of 10000 pixels.  Thanks to Tim Rowley (tor@cs.brown.edu)
for providing a patch that was very close to the real fix.  You saved me
a lot of work!


git-svn-id: svn://10.0.0.236/trunk@3594 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-10 06:56:10 +00:00
troy
9e702bf0fa Changed block to do the initial reflow of a floater. Also fixed a problem
with floated tables crashing


git-svn-id: svn://10.0.0.236/trunk@3591 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-10 05:33:38 +00:00
raman
b1a0365b9b Fixed to make OJI to build with MOZ_SECURITY. Reviewed by warren. Approved by don. Bug# 124222. This change is under MOZ_OJI and it doesn't affect the regular builds. Deleted call to VR_initialize a non exiting function
git-svn-id: svn://10.0.0.236/trunk@3590 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-10 04:18:00 +00:00
raman
f9e56baefe Fixed to make OJI to build with MOZ_SECURITY. Reviewed by warren. Approved by don. Bug# 124222. This change is under MOZ_OJI and it doesn't affect the regular builds
git-svn-id: svn://10.0.0.236/trunk@3589 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-10 04:16:45 +00:00
danm
361c946ddd allow early password dialog access to the mouse. probably bug 93715, certainly bug 110098. a:don
git-svn-id: svn://10.0.0.236/trunk@3588 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-10 03:00:05 +00:00
spider
ef0e3280ef Removing no longer needed test files
git-svn-id: svn://10.0.0.236/trunk@3585 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-10 02:15:15 +00:00
spider
b82f4532a4 WIP: XLib Image stuff
git-svn-id: svn://10.0.0.236/trunk@3583 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-10 01:59:11 +00:00
spider
75c09cf88b More Region fixes
git-svn-id: svn://10.0.0.236/trunk@3579 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-10 00:44:43 +00:00
donm
7afd539d0f libprgrss needs to come after libsoftupdate for commercial build.
git-svn-id: svn://10.0.0.236/trunk@3578 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-10 00:34:04 +00:00
spider
fcb998a8dc Region fixes - need to create region before they can be used
git-svn-id: svn://10.0.0.236/trunk@3577 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-10 00:06:38 +00:00
spider
3d2ea48913 Update Unix Shell Factory
git-svn-id: svn://10.0.0.236/trunk@3576 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 23:51:23 +00:00
akkana
d6de5c66c7 124129: Editor prefs should be under EDITOR, not MOZ_MAIL_NEWS
git-svn-id: svn://10.0.0.236/trunk@3575 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 23:36:50 +00:00
fur
aea62596b0 Propagation of numerous bug fixes from 4.06 (which have been reviewed
and tested in that release):

#114564: Fix JS_Enumerate to return an empty id array instead of null
#115395: Fix JS garbage collection
#115200: Security dialog no longer blows assertion
#123211: Make sure output of sort array function is -1, 0, or 1.
#116195: Fix ImportProperty(), cope with an existing local variable
         of the same name as the imported property
         Unbusticate JS_invoke() so that closures work again
#115384,#115395: Handle bugs in toSource that strike when
         getProperty is non-idempotent.  Fix crash during JavaScript
         garbage collection after enumerating object properties.

#??????: mjudge - Win16 files to make ptrdiff_t be 32 bits on Win16


git-svn-id: svn://10.0.0.236/trunk@3573 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 23:04:48 +00:00
blythe
e12b980037 Printing page with a missing image icon no longer crashes
git-svn-id: svn://10.0.0.236/trunk@3571 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 22:43:09 +00:00
hardts
1c07ad6ec2 accidentally undeleted during the layout integration branch landing
git-svn-id: svn://10.0.0.236/trunk@3570 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 22:41:49 +00:00
akkana
e74a7de962 Make auto-save pref work: needed for testing 122182
git-svn-id: svn://10.0.0.236/trunk@3569 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 22:38:28 +00:00
akkana
4fb992785d 122182: fix periodic crashes from no-longer extant editor frames
git-svn-id: svn://10.0.0.236/trunk@3568 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 22:23:24 +00:00
hyatt
3effe29202 Fix for status bar not appearing in a navigator window when
Aurora is initially collapsed.  (An SF1 In bug.)


git-svn-id: svn://10.0.0.236/trunk@3566 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 21:46:19 +00:00
shaver
d0ef1a83a8 added JS_YieldRequest to API (me), and removed assertion in InitClass (mlm)
git-svn-id: svn://10.0.0.236/trunk@3565 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 21:39:58 +00:00
shaver
a4c7b3bca0 added JS_YieldRequest to API
git-svn-id: svn://10.0.0.236/trunk@3564 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 21:24:14 +00:00
rods
b9a0147cfc added text support
git-svn-id: svn://10.0.0.236/trunk@3562 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 21:12:35 +00:00
shaver
2bbfb94096 first arg to Script.prototype.exec is scopeobj, not second-with-ignored-first
git-svn-id: svn://10.0.0.236/trunk@3561 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 21:10:45 +00:00
spider
af7f55c68f Bad load fix
git-svn-id: svn://10.0.0.236/trunk@3560 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 21:07:43 +00:00
fur
c4f601320e Replacement for stddef.h in the JS interpreter which defines ptrdiff_t to be 32 bits rather than 16 bits on Win16 only
git-svn-id: svn://10.0.0.236/trunk@3559 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 21:05:54 +00:00
kmcclusk
c2b5ee5c2b Added mBounds field
git-svn-id: svn://10.0.0.236/trunk@3558 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 21:02:19 +00:00
kmcclusk
62a927fcf6 GetBounds now returns the rect given in the Create if the Widget has not
been realized yet.


git-svn-id: svn://10.0.0.236/trunk@3555 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 20:20:14 +00:00
kmcclusk
26c45c0fdf Copy samples to the correct location
git-svn-id: svn://10.0.0.236/trunk@3553 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 18:01:15 +00:00
kipp
c06c37bb90 Set maxwordwith whenever we are not wrapping
git-svn-id: svn://10.0.0.236/trunk@3552 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 17:48:54 +00:00
kipp
61fdecc0ce Set width properly when not wrapping
git-svn-id: svn://10.0.0.236/trunk@3551 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 17:48:02 +00:00
kipp
4c6c58495b Fixed a pending-break clear bug; use new ReflowInlineChild API
git-svn-id: svn://10.0.0.236/trunk@3550 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 17:47:49 +00:00
kipp
f8ecd0e7d8 Added nsIInlineFrame interface
git-svn-id: svn://10.0.0.236/trunk@3549 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 17:47:20 +00:00
kipp
bb06d20da4 Implement ReflowChild directly so that it uses nsIInlineFrame is available
git-svn-id: svn://10.0.0.236/trunk@3548 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 17:40:21 +00:00
kipp
6bd968fb36 new iids
git-svn-id: svn://10.0.0.236/trunk@3547 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 17:39:42 +00:00
kmcclusk
e63985490c Added a two more shareables to link against + added clobber and install directives
git-svn-id: svn://10.0.0.236/trunk@3546 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 17:38:47 +00:00
kipp
f44c451b15 Implement ReflowInlineChild to check for nsIInlineFrame and use it when available
git-svn-id: svn://10.0.0.236/trunk@3545 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 17:32:52 +00:00
kipp
c14564612f Updated reflow-inline-child to handle the new nsIInlineFrame api
git-svn-id: svn://10.0.0.236/trunk@3544 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 17:32:27 +00:00
kipp
153a8c0c0d Made BRFrame implement nsIInlineFrame
git-svn-id: svn://10.0.0.236/trunk@3543 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 17:31:59 +00:00
kipp
ddcb788e1c Added rules to make TD's, TH's behave more like navigator
git-svn-id: svn://10.0.0.236/trunk@3542 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 17:31:34 +00:00
shaver
ea99a264a9 first arg to Script.prototype.exec is scopeobj, not second-with-ignored-first
git-svn-id: svn://10.0.0.236/trunk@3541 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 17:28:41 +00:00
spider
0aab677def Add Exposure mask code back into event handlers, modify Makefile so
source actually builds (it wasn't on IRIX since the first .cpp had a'#'
sign in it commenting out the rest), and add a char * passwd so nsXtEventHandler
will compile.


git-svn-id: svn://10.0.0.236/trunk@3540 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 16:58:59 +00:00
norris
b7d3aba53f Fix 123552 Array length updating is incorrect
js> a = new Array()

js> a["3.00"] = "three"
three
js> a.length
4

Since "3.00" is not an array index as defined by ECMA, a.length should be 0.


git-svn-id: svn://10.0.0.236/trunk@3539 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 16:47:00 +00:00
troy
90ad65a58a Added nsIReflowCommand interface
git-svn-id: svn://10.0.0.236/trunk@3538 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 04:51:44 +00:00
buster
1f5bdbcecd backed out an inline for UNIX build
git-svn-id: svn://10.0.0.236/trunk@3536 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 03:53:35 +00:00
wtc
c46f521185 Bugzilla bug #351: Removed two extra '>' characters.
Thanks to Romain Vignes <rvignes@cal.fr> for the problem report and fix.


git-svn-id: svn://10.0.0.236/trunk@3530 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 01:14:56 +00:00
wtc
d6cf513c1d Port to Sparc Linux. Files changed: _linux.cfg, _linux.h.
git-svn-id: svn://10.0.0.236/trunk@3527 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 00:51:10 +00:00
kipp
04b0acd125 Added another tracing log message
git-svn-id: svn://10.0.0.236/trunk@3526 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 00:49:12 +00:00
kipp
d5a5ed5a43 Updated tracing messages; fixed bugs where things that shouldn't be pulled up were (blocks, BR's)
git-svn-id: svn://10.0.0.236/trunk@3525 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 00:48:56 +00:00
hardts
775a1569ce fixed ifdef error from landing layout integration branch
git-svn-id: svn://10.0.0.236/trunk@3523 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 00:28:57 +00:00
wtc
d002883d9c On HP-UX, we should just include <model.h> and use its definition
of the types int8, int16, and int32.  This way people can include
nspr header and model.h in any order and won't get "type defined
twice" errors.


git-svn-id: svn://10.0.0.236/trunk@3522 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 23:45:45 +00:00
wtc
dff8f5b6cf Change to improve GC benchmarks, from Raman Tenneti <raman@netscape.com>
of the Java group.


git-svn-id: svn://10.0.0.236/trunk@3521 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 23:44:47 +00:00
wtc
cea54447b7 Use -32 flag for compiler and linker explicitly on IRIX 6.x. This is
necessary on IRIX 6.4 where -n32 is the default.  Thanks to Tomi (a
CS student in Finland whose last name I forget) for the patch.


git-svn-id: svn://10.0.0.236/trunk@3520 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 23:43:33 +00:00
norris
b44d1646cf Fix bug 104191 "ECMA: multiple params w/ same name":
Decompiling "function f(a,b,a) { ... }" would only print two parameters.


git-svn-id: svn://10.0.0.236/trunk@3519 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 23:41:54 +00:00
brade
e5a5cb6bf0 ensure that a title tag is always written before publish; table dialog fixes
git-svn-id: svn://10.0.0.236/trunk@3518 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 23:27:01 +00:00
brade
f5d6dad7f8 #ifdef DEBUG around DebugStr; always set something for title string
git-svn-id: svn://10.0.0.236/trunk@3517 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 23:19:48 +00:00
brade
d0cdc076f0 bug #122011; random crashing bug in Macintosh Composer when user has edited page via browser; zero URLStruct's savedData as done for macfe printing and winfe Composer
git-svn-id: svn://10.0.0.236/trunk@3516 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 23:11:09 +00:00
rods
1e059435ae moved inlined SetCellAt to body
git-svn-id: svn://10.0.0.236/trunk@3515 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 22:07:15 +00:00
rods
58ac8519cc disabled nsTextHelper.cpp build
git-svn-id: svn://10.0.0.236/trunk@3514 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 21:46:55 +00:00
waterson
b421b3d0af Added plugin to list of directories so the nsIPlug.h gets exported. Needed for OJI to build.
git-svn-id: svn://10.0.0.236/trunk@3513 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 21:38:35 +00:00
waterson
aa1da2ec82 Added code to export nsIPlug.h to the public plugins directory. Needed for OJI to build.
git-svn-id: svn://10.0.0.236/trunk@3512 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 21:38:10 +00:00
rods
1bafcce9e2 added more functionality
git-svn-id: svn://10.0.0.236/trunk@3511 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 21:31:33 +00:00
blythe
6294ee0e8b partial fix for crash on printing, assertion on quit
git-svn-id: svn://10.0.0.236/trunk@3510 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 21:28:02 +00:00
pnunn
4368a03480 fix for #122211. reviewed by toshok. ok'd by don.
git-svn-id: svn://10.0.0.236/trunk@3509 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 21:14:42 +00:00
buster
d49c07ece7 less inlining, for UNIX and Linux builds
git-svn-id: svn://10.0.0.236/trunk@3508 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 20:53:43 +00:00
hardts
9d569118c1 stubs and other glue needed for the layout integration build
git-svn-id: svn://10.0.0.236/trunk@3505 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 20:23:48 +00:00
mcafee
713e30651e telnet ports should be an unsigned int, port 32786 was showing up as -1. a,r=ramiro
git-svn-id: svn://10.0.0.236/trunk@3504 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 20:07:51 +00:00
buster
c1f648a966 most HTML 4 attributes supported (though some are still ignored)
lots of methods made inline


git-svn-id: svn://10.0.0.236/trunk@3503 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 19:57:04 +00:00
spider
0980df24e4 Clean up Factory Creation
git-svn-id: svn://10.0.0.236/trunk@3502 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 19:44:54 +00:00
mccabe
afa5375ed6 ECMA fix to bug (93557). When excecuting the Function constructor,
treat all the 'arguments arguments' as if they were concatenated
together as a comma-separated list, and treat the list as if it were
the arguments list in a normal function declaration.  That is, allow
comments, arbitrary whitespace, etc.

Fixed by introducing a TokenStream instance in the Function contructor
code.


git-svn-id: svn://10.0.0.236/trunk@3500 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 19:04:17 +00:00
buster
cb72a8e498 complete HTML 3.2 attribute support
git-svn-id: svn://10.0.0.236/trunk@3491 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 17:19:26 +00:00
gordon
863a3366d3 Renamed debug target output file to match target name: LibMochaDebug.o.
git-svn-id: svn://10.0.0.236/trunk@3490 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 17:19:18 +00:00
shaver
cc464c7409 added XDR-based compile-and-run examples
git-svn-id: svn://10.0.0.236/trunk@3489 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 16:16:10 +00:00
buster
d19132565a more attributes: cell nowrap, caption align, some misc HTML 4 attributes too
git-svn-id: svn://10.0.0.236/trunk@3488 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 15:47:03 +00:00
gordon
44d2c79d3a Spelling counts. Changed name of CustomStaticLib.o target.
git-svn-id: svn://10.0.0.236/trunk@3486 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 15:18:56 +00:00
gordon
93f4577661 Moveed build of Custom Static Libraries later to resolve timing issue.
git-svn-id: svn://10.0.0.236/trunk@3485 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 14:35:30 +00:00
gordon
59fc4365de Changed the names of the static libraries to match what Client.mcp is looking for.
git-svn-id: svn://10.0.0.236/trunk@3484 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 13:03:26 +00:00
gordon
66a06d0d63 Added stub function for SSL_DataPending() so we can export it for other libraries.
git-svn-id: svn://10.0.0.236/trunk@3483 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 13:02:49 +00:00
gordon
89f0be6365 Changes for value-added builds.
git-svn-id: svn://10.0.0.236/trunk@3482 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 11:19:51 +00:00
gordon
147e430796 #ifndef XP_MAC'd out the inclusion of java_lang_Integer.c and code that used it. It seems kind of goofy including a C file that's already in the JavaRuntime project. The recent change also caused JRI headers and stubs to get generated for java_lang_Integer, and elsewhere we are using the JDK headers and stubs. Well sort this out this week.
git-svn-id: svn://10.0.0.236/trunk@3481 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 11:14:04 +00:00
gordon
2055df88c1 #ifndef XP_MAC'd out a call to FE_DiskSpaceAvailable() which doesn't exist on the Mac yet. Left an assert(false), to force us to fix it.
git-svn-id: svn://10.0.0.236/trunk@3480 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 11:08:30 +00:00
gordon
1562727036 Added these exports:
SSL_DataPending
 SHA1_Update
 SHA1_Begin
 SHA1_NewContext
 SHA1_DestroyContext
 SHA1_End
 SECNAV_signedAppletPrivileges
 NET_SetNewContext
 ET_StartSoftUpdate
 FE_GetNetHelpDir
...and regenerated the file using the AnnotateExports tool.


git-svn-id: svn://10.0.0.236/trunk@3479 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 11:06:33 +00:00
gordon
0270ff8171 Add typecast in principalsCanAccessTarget(), necessary to satisfy the Mac's more stringent compilers. The parameter should be double checked by someone who's had more sleep.
git-svn-id: svn://10.0.0.236/trunk@3478 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 11:05:01 +00:00
gordon
10ba94b06d Remove unnecessary include for XP_MAC.
git-svn-id: svn://10.0.0.236/trunk@3477 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 11:02:20 +00:00
gordon
f2dd9325ac Include needed header for XP_MAC.
git-svn-id: svn://10.0.0.236/trunk@3475 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 11:01:39 +00:00
morse
dfaee48e18 cookie management changes
git-svn-id: svn://10.0.0.236/trunk@3474 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 04:14:31 +00:00
joki
8edbb0a851 Removing no longer used file from Makefiles
git-svn-id: svn://10.0.0.236/trunk@3472 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 02:03:31 +00:00
joki
9e1e7ac7da Makefile fixes
git-svn-id: svn://10.0.0.236/trunk@3471 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 01:56:31 +00:00
joki
fd1a60be5a Fixing uuid and whitespace
git-svn-id: svn://10.0.0.236/trunk@3470 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 01:33:06 +00:00
joki
f33f428c69 Adding makefile changes to make raptor build new dom event dirs
git-svn-id: svn://10.0.0.236/trunk@3469 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 00:57:44 +00:00
joki
d6a1da45ce Adding new event handling mechanism into raptor.
git-svn-id: svn://10.0.0.236/trunk@3468 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-08 00:57:15 +00:00
kmcclusk
d2a0886326 Added NS_NATIVE_WIDGET support. Returns the HWND same as NS_NATIVE_WINDOW. This change
is required to support the cross-platform viewer


git-svn-id: svn://10.0.0.236/trunk@3466 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-07 22:30:46 +00:00
kmcclusk
12b914949d Changed to use NS_NATIVE_WIDGET instead of NS_NATIVE_WINDOW
git-svn-id: svn://10.0.0.236/trunk@3465 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-07 22:29:35 +00:00
morse
6dcb8ed201 Single Signon
git-svn-id: svn://10.0.0.236/trunk@3464 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-07 21:30:15 +00:00
morse
824dfaa4c7 fix tree bustage on mac
git-svn-id: svn://10.0.0.236/trunk@3463 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-07 17:24:46 +00:00
morse
9783d4159d change for cookie management
git-svn-id: svn://10.0.0.236/trunk@3462 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-07 16:07:47 +00:00
morse
88a024f80f change for single signon
git-svn-id: svn://10.0.0.236/trunk@3461 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-07 16:06:49 +00:00
morse
695f8f46a9 cookie management changes
git-svn-id: svn://10.0.0.236/trunk@3460 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-07 16:01:49 +00:00
morse
2a4fe52ab9 single signon changes
git-svn-id: svn://10.0.0.236/trunk@3459 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-07 15:56:07 +00:00
dveditz
3c5ebf82b0 merge cleanup
git-svn-id: svn://10.0.0.236/trunk@3458 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-07 12:11:28 +00:00
joki
8ab8f76b76 Comment change
git-svn-id: svn://10.0.0.236/trunk@3457 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-07 11:28:08 +00:00
dveditz
2a3a296216 shorten long line to avoid compiler limit
git-svn-id: svn://10.0.0.236/trunk@3456 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-07 11:19:42 +00:00
dveditz
31e9bc0f4b wrapping long lines
git-svn-id: svn://10.0.0.236/trunk@3455 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-07 11:07:34 +00:00
dveditz
63b64203d0 merging from SMARTUPDATE_BRANCH
git-svn-id: svn://10.0.0.236/trunk@3454 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-07 10:55:40 +00:00
dveditz
2d70ca8248 merging from SMARTUPDATE_BRANCH
git-svn-id: svn://10.0.0.236/trunk@3453 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-07 10:38:53 +00:00
dveditz
d0cee3ba7d merging from SMARTUPDATE_BRANCH
git-svn-id: svn://10.0.0.236/trunk@3452 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-07 10:30:56 +00:00
dveditz
f731488658 merging from SMARTUPDATE_BRANCH
git-svn-id: svn://10.0.0.236/trunk@3450 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-07 10:20:08 +00:00
dveditz
6af537410c merging from SMARTUPDATE_BRANCH
git-svn-id: svn://10.0.0.236/trunk@3449 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-07 09:57:07 +00:00
dveditz
009f73e442 merging from SMARTUPDATE_BRANCH
git-svn-id: svn://10.0.0.236/trunk@3448 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-07 09:47:23 +00:00
dveditz
03ee705d70 merging from SMARTUPDATE_BRANCH
git-svn-id: svn://10.0.0.236/trunk@3447 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-07 09:23:42 +00:00
dveditz
e975445d91 merging from SMARTUPDATE_BRANCH
git-svn-id: svn://10.0.0.236/trunk@3446 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-07 09:10:29 +00:00
dveditz
b8698a5c3c merging from SMARTUPDATE_BRANCH
git-svn-id: svn://10.0.0.236/trunk@3445 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-07 09:02:21 +00:00
dveditz
3ee83ac54b merging from SMARTUPDATE_BRANCH
git-svn-id: svn://10.0.0.236/trunk@3444 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-07 08:55:22 +00:00
joki
69bfcc4be4 Adding parts of dom event flow to layout.
git-svn-id: svn://10.0.0.236/trunk@3443 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-07 07:55:55 +00:00
joki
1e97d505b1 Adding parts of dom event flow into layout.
git-svn-id: svn://10.0.0.236/trunk@3442 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-07 07:54:32 +00:00
joki
9727916f62 Adding non-core event interfaces to repository
git-svn-id: svn://10.0.0.236/trunk@3441 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-07 07:42:19 +00:00
joki
503be487bf Adding core DOM event interfaces to repository
git-svn-id: svn://10.0.0.236/trunk@3440 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-07 07:41:39 +00:00
joki
8a9b2a54f8 Adding new test for editor mode
git-svn-id: svn://10.0.0.236/trunk@3439 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-07 07:39:03 +00:00
joki
c2005f486b Adding api to get DOM document interface through web widget.
git-svn-id: svn://10.0.0.236/trunk@3438 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-07 07:32:17 +00:00
kipp
85bcfaecd7 Made option code more robust
git-svn-id: svn://10.0.0.236/trunk@3433 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-06 20:25:11 +00:00
waterson
54bd6545a2 Moved -DAWT_XXX to JAVA_DEFINES, where it shouldve been in the first place.
git-svn-id: svn://10.0.0.236/trunk@3429 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-06 16:50:16 +00:00
waterson
332231576e Added code to simulate CODEBASE attribute on the APPLET tag for OJI.
git-svn-id: svn://10.0.0.236/trunk@3428 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-06 16:31:20 +00:00
waterson
7fe0d11eb4 Added C defines for AWT_11/AWT_102.
git-svn-id: svn://10.0.0.236/trunk@3427 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-06 16:29:58 +00:00
gordon
150acab213 Remove SoftUpdate from mozilla/dist population because it isn't built for mozilla and has a conflict with the Nav-Java stubs directory.
git-svn-id: svn://10.0.0.236/trunk@3426 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-06 11:22:30 +00:00
gordon
6ae6e8212a Export nsHashTable methods.
git-svn-id: svn://10.0.0.236/trunk@3425 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-06 11:19:14 +00:00
gordon
2d8a5b4b42 Fixing build breakage by adding mozilla/network/util/mkreg.c to the network.mcp project so NET_RegExpMatch and NET_RegExpValid can be found by the main project.
git-svn-id: svn://10.0.0.236/trunk@3424 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-06 09:21:59 +00:00
spider
663a45e9c8 Fix for not using TREX_WIDGET branch anymore
git-svn-id: svn://10.0.0.236/trunk@3421 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-06 05:53:23 +00:00
scullin
f092d3c340 Fake out mac build.
git-svn-id: svn://10.0.0.236/trunk@3420 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-06 03:30:11 +00:00
kipp
a7566784d7 Don't strip trailing whitespace otherwise underlines render wrong; set max element width properly when not wrapping
git-svn-id: svn://10.0.0.236/trunk@3418 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-06 01:54:20 +00:00
kipp
56377ec47d Fixed table cell's so that translate valign back to a string properly
git-svn-id: svn://10.0.0.236/trunk@3417 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-06 01:48:10 +00:00
spider
0e33530dd1 Implement SetClipRect
git-svn-id: svn://10.0.0.236/trunk@3416 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-06 01:41:42 +00:00
kmcclusk
936c8fc7eb Cast nsNativeWindow to Widget to fix IRIX build. NS_NATIVE_WINDOW returns the XtWindow like it used to.
git-svn-id: svn://10.0.0.236/trunk@3415 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-06 01:37:59 +00:00
scullin
77dd3699cf Shouldn't have landed.
git-svn-id: svn://10.0.0.236/trunk@3414 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-06 01:24:18 +00:00
kipp
08c372edfa Fixed options to have their text stripped of junk and whitespace compressed before creating the widget
git-svn-id: svn://10.0.0.236/trunk@3412 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-06 01:08:43 +00:00
kipp
27884478a3 Fixed GetContent/SetContent to be virtual making Option tags provide the proper text content for display
git-svn-id: svn://10.0.0.236/trunk@3411 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-06 01:06:52 +00:00
scullin
976cec59a1 Removed xp_reg.c
git-svn-id: svn://10.0.0.236/trunk@3410 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-06 00:59:13 +00:00
scullin
7b1cbccaf1 Move to network/util/mkreg.c
git-svn-id: svn://10.0.0.236/trunk@3409 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-06 00:58:32 +00:00
scullin
b8041e32e0 Ok, remove the deleted files from the makefile.
git-svn-id: svn://10.0.0.236/trunk@3408 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-06 00:57:59 +00:00
scullin
242058260c Put lib in correct spot. (I hope)
git-svn-id: svn://10.0.0.236/trunk@3407 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-06 00:54:45 +00:00
kmcclusk
966aabcbb6 Made window support child windows under Linux:lesstif
git-svn-id: svn://10.0.0.236/trunk@3406 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-06 00:53:24 +00:00
scullin
2d47f8c016 Attempt to fix mac build.
git-svn-id: svn://10.0.0.236/trunk@3405 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-06 00:42:33 +00:00
morse
795f917346 cookie management changes
git-svn-id: svn://10.0.0.236/trunk@3403 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-06 00:22:03 +00:00
morse
98f5241915 single signon changes
git-svn-id: svn://10.0.0.236/trunk@3402 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-06 00:21:25 +00:00
mervin
f8a9b9e48e Added NormandyBeachUnix and NormandyBeachWin to allow tinderbox to pull
libmsg and libaddr.


git-svn-id: svn://10.0.0.236/trunk@3401 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-06 00:19:46 +00:00
scullin
74828c6842 Added libnetutil.a
git-svn-id: svn://10.0.0.236/trunk@3400 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-06 00:15:15 +00:00
scullin
98971da88b Added netutil.lib
git-svn-id: svn://10.0.0.236/trunk@3399 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-06 00:13:10 +00:00
scullin
2389863783 Added network:util to manifest list
git-svn-id: svn://10.0.0.236/trunk@3397 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 23:49:03 +00:00
scullin
8a716c097e Moved xp_reg to network/utils/mkreg. It was only used in netlib, anyway.
git-svn-id: svn://10.0.0.236/trunk@3396 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 23:45:30 +00:00
scullin
cea2139f3d Removed xp_reg.h
git-svn-id: svn://10.0.0.236/trunk@3395 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 23:43:37 +00:00
scullin
105a87aebc Moved to network/utils/mkreg.h
git-svn-id: svn://10.0.0.236/trunk@3394 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 23:43:09 +00:00
scullin
6be1b59ced Use real implementation of xp_hash for now.
git-svn-id: svn://10.0.0.236/trunk@3392 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 23:23:24 +00:00
scullin
26dbcbf55a Add xp_hash to the modular netlib files.
git-svn-id: svn://10.0.0.236/trunk@3391 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 23:23:05 +00:00
kipp
030a9a7fd5 Fixed bug where &'s followed by whitespace were losing the whitespace
git-svn-id: svn://10.0.0.236/trunk@3390 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 23:20:21 +00:00
danm
70e884be71 added smart browsing prefs a:don
git-svn-id: svn://10.0.0.236/trunk@3387 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 23:01:21 +00:00
buster
c544e9ad78 clean up, and still better cell width attribute layout
git-svn-id: svn://10.0.0.236/trunk@3386 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 22:50:03 +00:00
spider
2f331893bb Fix nested comments in nsTextHelper.cpp. Also check for null widget
when querying Window Bounds


git-svn-id: svn://10.0.0.236/trunk@3383 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 22:08:07 +00:00
kipp
1bda2cfaf6 Revised SizeOf methods to add in nsString's, nsIAtom's and nsVoidArray's properly
git-svn-id: svn://10.0.0.236/trunk@3382 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 21:50:57 +00:00
scullin
421b6407cf Fix typo.
git-svn-id: svn://10.0.0.236/trunk@3381 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 21:47:00 +00:00
kipp
bc4023da9b Added SizeOf method
git-svn-id: svn://10.0.0.236/trunk@3380 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 21:38:36 +00:00
rods
2fa39f82f5 added nsTextHelper
git-svn-id: svn://10.0.0.236/trunk@3379 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 21:37:19 +00:00
spider
cf813e066f Fix Unix build bustage: Case sensitivity on new file added
git-svn-id: svn://10.0.0.236/trunk@3378 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 21:34:42 +00:00
spider
7415205d76 Link with Math library since .so needs it
git-svn-id: svn://10.0.0.236/trunk@3377 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 21:28:50 +00:00
rods
09438744fa added CheckButton support
git-svn-id: svn://10.0.0.236/trunk@3376 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 21:27:08 +00:00
rods
7d0c7b12e5 added CheckButton to factory
git-svn-id: svn://10.0.0.236/trunk@3375 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 21:26:44 +00:00
rods
5012049ec8 implements full Event support
git-svn-id: svn://10.0.0.236/trunk@3374 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 21:26:16 +00:00
rods
444b2db14b implemented Move
git-svn-id: svn://10.0.0.236/trunk@3373 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 21:25:46 +00:00
kipp
7f598f1ac3 Added SizeOf printout support
git-svn-id: svn://10.0.0.236/trunk@3372 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 21:07:20 +00:00
kipp
5d5168f17a Sprinkled SizeOf methods around
git-svn-id: svn://10.0.0.236/trunk@3371 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 21:06:24 +00:00
spider
230e5ca174 Buf fix: Remove extra colormap install. Also remove clip flags from
rendering context


git-svn-id: svn://10.0.0.236/trunk@3370 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 21:04:18 +00:00
spider
70c26b56ab Get viewer compiling on IRIX
git-svn-id: svn://10.0.0.236/trunk@3369 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 20:51:11 +00:00
kipp
e4f32b3895 Added nsSizeOfHandler.cpp to build
git-svn-id: svn://10.0.0.236/trunk@3368 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 20:46:48 +00:00
kipp
ae29e7fcd5 Added public to build dirs
git-svn-id: svn://10.0.0.236/trunk@3367 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 20:46:34 +00:00
kipp
eef3662dde new
git-svn-id: svn://10.0.0.236/trunk@3366 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 20:46:23 +00:00
raman
1b3aba72b3 Fix to make OJI to build.
git-svn-id: svn://10.0.0.236/trunk@3363 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 19:34:36 +00:00
raman
e9827af888 Moved strings from nsUserDialogHelper into this file. Cleanup for OJI. Oked by reliott.
git-svn-id: svn://10.0.0.236/trunk@3362 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 19:34:27 +00:00
raman
b2e264c1b7 include libcaps library for OJI also. Fix to make OJI to build.
git-svn-id: svn://10.0.0.236/trunk@3361 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 19:34:23 +00:00
scullin
9ad7e28ab6 Added network:mimetype to export list
git-svn-id: svn://10.0.0.236/trunk@3360 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 18:59:54 +00:00
spider
f2ed68df6b Complete double buffering implementation. Be sure to reset the offscreen
device upon destruction of the drawing surface


git-svn-id: svn://10.0.0.236/trunk@3359 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 18:56:42 +00:00
scullin
fd661b7ff0 Try that again.
git-svn-id: svn://10.0.0.236/trunk@3358 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 18:48:20 +00:00
scullin
c80aeae43d Moved mkformat.h
git-svn-id: svn://10.0.0.236/trunk@3357 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 18:47:30 +00:00
spider
1f02a0925c Add in double buffering support
git-svn-id: svn://10.0.0.236/trunk@3356 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 18:46:51 +00:00
kmcclusk
fc97b06293 Now passes native app shell data to the top-level window create.
git-svn-id: svn://10.0.0.236/trunk@3355 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 18:38:46 +00:00
scullin
af3f2216c4 Moved mkformat.h to network/mimetype
git-svn-id: svn://10.0.0.236/trunk@3354 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 18:36:14 +00:00
kmcclusk
e7d6541b54 Added a couple of shareable's to link against
git-svn-id: svn://10.0.0.236/trunk@3352 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 18:26:48 +00:00
scullin
eac569ca9b Moved to network/mimetype. Aleks claims this should just work on
the Mac. We'll see.


git-svn-id: svn://10.0.0.236/trunk@3351 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 18:22:28 +00:00
buster
4955cecaaa column widths with cells that span columns now work in most cases, for pixels and percents
not yet implemented for the "constrained" case


git-svn-id: svn://10.0.0.236/trunk@3349 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 18:11:20 +00:00
kipp
1451adbd34 Added spacer tag to the list of things that are containable
git-svn-id: svn://10.0.0.236/trunk@3348 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 17:56:31 +00:00
kipp
c91ba70277 Use serif instead of times roman directly
git-svn-id: svn://10.0.0.236/trunk@3347 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 17:53:46 +00:00
kipp
a8a4ae0952 Added no-wrap support
git-svn-id: svn://10.0.0.236/trunk@3346 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 17:53:28 +00:00
kipp
54516b02fe Added a reminder
git-svn-id: svn://10.0.0.236/trunk@3345 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 17:53:11 +00:00
kipp
bde16ad5ad Set family when PRE VARIABLE is used
git-svn-id: svn://10.0.0.236/trunk@3344 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 17:53:02 +00:00
fur
14c7110ef5 Added jsstddef.h
git-svn-id: svn://10.0.0.236/trunk@3343 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 17:52:18 +00:00
scullin
8befd533f6 Getting ready for mac.
git-svn-id: svn://10.0.0.236/trunk@3342 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 17:48:24 +00:00
kmcclusk
d429cfbdf4 Now links sharable's correctly for Linux
git-svn-id: svn://10.0.0.236/trunk@3341 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 17:14:01 +00:00
cmanske
c442051de0 Fixed SF1 list HTML bugs for Composer. Reviewed by mjudge.
git-svn-id: svn://10.0.0.236/trunk@3340 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 15:00:23 +00:00
cmanske
6ffc4dbb88 Fixed SF1 list HTML bugs for Composer. Reviewed by mjudge
git-svn-id: svn://10.0.0.236/trunk@3339 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 14:58:55 +00:00
pierre
db1cb1b70b First Checked In.
git-svn-id: svn://10.0.0.236/trunk@3323 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 06:14:09 +00:00
peterl
bc184de5ad sync up to new style data apis
git-svn-id: svn://10.0.0.236/trunk@3322 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 06:09:09 +00:00
peterl
472d214d92 added accessor to rules for save code
git-svn-id: svn://10.0.0.236/trunk@3321 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 06:07:08 +00:00
peterl
69d1612017 now track rules by insertion order as well as weighted order
added accessor to rules for save code


git-svn-id: svn://10.0.0.236/trunk@3320 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 06:06:50 +00:00
peterl
82a3e00141 changed GetData to GetStyleData and made its return const
added GetMutableStyleData and support for unique contexts


git-svn-id: svn://10.0.0.236/trunk@3319 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 06:01:55 +00:00
peterl
c65120081c added flag to get unique style context during resolve
git-svn-id: svn://10.0.0.236/trunk@3318 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 06:00:55 +00:00
peterl
ddb2f11c7f changed GetStyleData to return const pointers to style structs
new method GetMutableStyleData to get non-const pointer


git-svn-id: svn://10.0.0.236/trunk@3317 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 05:59:34 +00:00
peterl
7238f94887 added flag to force return of unique style context
git-svn-id: svn://10.0.0.236/trunk@3316 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 05:58:20 +00:00
buster
1187bf4578 cells with colspans and width attributes now work correctly
git-svn-id: svn://10.0.0.236/trunk@3303 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 02:50:46 +00:00
sar
0b0ae70fc9 nglglue.cpp should only be in MOZ_NGLAYOUT build
git-svn-id: svn://10.0.0.236/trunk@3302 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 02:36:40 +00:00
buster
a8657b2060 cell width calculations are working (not for colspan cells yet)
some bug fixes and optimizations
some of the more elaborate test cases are closer to Nav4-compatible


git-svn-id: svn://10.0.0.236/trunk@3301 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 02:36:25 +00:00
scullin
915ced6172 Back out dbm use on windows because of lame build order dependency.
git-svn-id: svn://10.0.0.236/trunk@3300 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 02:23:15 +00:00
spider
7dfcbbde39 Remove first Dispatch of Paint message. There should (I believe) be
only 1 paint message dispatched and the first one did not even have
a rendering context associated with it which would cause any app trying
to paint to crash.


git-svn-id: svn://10.0.0.236/trunk@3299 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 02:04:16 +00:00
scullin
6941a0c728 Removed libpwcac stubs.
git-svn-id: svn://10.0.0.236/trunk@3298 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 01:42:15 +00:00
spider
e01f3d38ca WIP ... GraphicsState maintenance
git-svn-id: svn://10.0.0.236/trunk@3297 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 01:39:53 +00:00
scullin
ef4ca0042d Used libdbm and libpwcac instead of stubs.
git-svn-id: svn://10.0.0.236/trunk@3296 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 01:39:31 +00:00
scullin
269c61ddcd Pull and build libdbm and libpwcac
git-svn-id: svn://10.0.0.236/trunk@3295 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 01:38:52 +00:00
scullin
47391107e3 Start using real dbm and pwcac libraries.
git-svn-id: svn://10.0.0.236/trunk@3293 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 01:24:59 +00:00
scullin
057cc9b4e8 Pull and build dbm and libpwcac
git-svn-id: svn://10.0.0.236/trunk@3292 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 01:23:05 +00:00
scullin
76bf7a6f10 Clean up for use in modular netlib, create library on windows.
git-svn-id: svn://10.0.0.236/trunk@3291 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 01:08:32 +00:00
hardts
591887a3b5 touching down layout integration branch
git-svn-id: svn://10.0.0.236/trunk@3290 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 01:03:18 +00:00
kipp
ebe32bd77d WIP checkin
git-svn-id: svn://10.0.0.236/trunk@3289 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 01:02:30 +00:00
kipp
7d546d7479 Fixed to return proper reflow status
git-svn-id: svn://10.0.0.236/trunk@3288 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 00:54:03 +00:00
spider
dedd1a5b72 Implement Matrix Transformation
git-svn-id: svn://10.0.0.236/trunk@3287 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 00:52:54 +00:00
scc
ae0343a5c3 Merge PrepareDist into DistMozilla; switch DistMozilla over to MANIFEST files (away from export.mac files); use mkpath directly.
git-svn-id: svn://10.0.0.236/trunk@3286 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 00:32:15 +00:00
donm
525d99b7af added Normandy Landing area.
git-svn-id: svn://10.0.0.236/trunk@3285 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 00:15:38 +00:00
kipp
f21bd6d2a5 Use PL_strcasecmp so that netlib can link again when it's modular
git-svn-id: svn://10.0.0.236/trunk@3284 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 00:08:17 +00:00
kmcclusk
3ec0dec124 Added WIDGET_DLL, GDF_DLL, and VIEWER_DLL defines for unix
git-svn-id: svn://10.0.0.236/trunk@3283 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 00:04:51 +00:00
kmcclusk
5d55e0cad9 Removed duplicate references to .so's
git-svn-id: svn://10.0.0.236/trunk@3282 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-05 00:03:51 +00:00
pinkerton
af542f456a First Checked In.
git-svn-id: svn://10.0.0.236/trunk@3281 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 23:45:13 +00:00
pinkerton
0e30b271ad FE code for internet keyword tooltip moved over from 4.06 (appr don).
git-svn-id: svn://10.0.0.236/trunk@3280 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 23:44:59 +00:00
pinkerton
f745465766 Added InternetKeywordTooltipPane.cp for internet keywords (appr don).
git-svn-id: svn://10.0.0.236/trunk@3279 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 23:44:26 +00:00
danm
1508d6fd5c internet keyword tooltip a:don
git-svn-id: svn://10.0.0.236/trunk@3278 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 23:38:53 +00:00
danm
e15f1040dc added internet keyword tooltip extraction a:don
git-svn-id: svn://10.0.0.236/trunk@3277 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 23:25:53 +00:00
spider
52109e0c47 Finish Implementation of the DeviceContext on Xlib .. twips units, gamma tables, etc..
git-svn-id: svn://10.0.0.236/trunk@3276 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 23:12:07 +00:00
kipp
b93f43db48 Fixed spacer to work again
git-svn-id: svn://10.0.0.236/trunk@3275 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 23:10:26 +00:00
kipp
06c374c6f3 Verify that mIsBlock is correct
git-svn-id: svn://10.0.0.236/trunk@3274 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 23:10:15 +00:00
kipp
e8ee07264a Pass through x,y events to an imagemap that is a map but doesn't use a named map
git-svn-id: svn://10.0.0.236/trunk@3273 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 23:09:52 +00:00
kipp
d4e22b1e8e Removed dead code
git-svn-id: svn://10.0.0.236/trunk@3272 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 23:08:59 +00:00
kipp
7c11316fb4 IMplement ReflowBlockChild
git-svn-id: svn://10.0.0.236/trunk@3271 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 23:08:49 +00:00
kipp
37de578581 Removed ReflowChild that handles space manager (troy can stop nagging me now :-)
git-svn-id: svn://10.0.0.236/trunk@3270 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 23:08:24 +00:00
scc
611382fedf First Checked In.
git-svn-id: svn://10.0.0.236/trunk@3268 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 22:51:07 +00:00
kmcclusk
f6f9a3e3cd Added argc and argv to nsViewer:SetupViewer to pass to nsAppShell
git-svn-id: svn://10.0.0.236/trunk@3266 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 21:49:37 +00:00
rods
4c0f3f49d0 add GetNativeData pure
git-svn-id: svn://10.0.0.236/trunk@3265 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 21:37:14 +00:00
karnaze
0d4b1a5121 radio, checkbox padding done through MapAttributesInto
git-svn-id: svn://10.0.0.236/trunk@3264 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 21:34:41 +00:00
kipp
5669e4858d Create head part and insert it into the model
git-svn-id: svn://10.0.0.236/trunk@3263 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 21:33:44 +00:00
kipp
5beabd3a5c Only layout the body child in the root part
git-svn-id: svn://10.0.0.236/trunk@3262 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 21:33:23 +00:00
rods
e9f9266430 added nsnull to the end of all the XtVaSet methods
git-svn-id: svn://10.0.0.236/trunk@3261 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 21:33:08 +00:00
kipp
b155494bd2 Added a head part
git-svn-id: svn://10.0.0.236/trunk@3260 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 21:33:07 +00:00
kipp
2d5d55029d new
git-svn-id: svn://10.0.0.236/trunk@3259 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 21:32:50 +00:00
sfraser
405b5f37db Remove an include that was breaking windows and UNIX builds.
git-svn-id: svn://10.0.0.236/trunk@3258 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 21:32:45 +00:00
kipp
5ddead2b78 Work around body bug with placeholder code to avoid dup free's of placeholder's child frame
git-svn-id: svn://10.0.0.236/trunk@3257 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 21:04:50 +00:00
kipp
2658cd8f61 Pass through style rules
git-svn-id: svn://10.0.0.236/trunk@3256 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 21:04:22 +00:00
kipp
f2f2d99718 Made absolute frame a container too to work around the pseudo-frame problem
git-svn-id: svn://10.0.0.236/trunk@3255 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 21:04:07 +00:00
rods
200c7c0786 added GetNativeData method
git-svn-id: svn://10.0.0.236/trunk@3254 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 21:00:40 +00:00
rods
781e978bcf fixed param problem
git-svn-id: svn://10.0.0.236/trunk@3253 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 20:59:14 +00:00
pinkerton
0430752b98 Adding prefs pane from 4.x land for smart browsing (appr don).
git-svn-id: svn://10.0.0.236/trunk@3250 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 20:42:53 +00:00
kipp
5dcf2afa80 removed blather code
git-svn-id: svn://10.0.0.236/trunk@3249 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 20:41:14 +00:00
kipp
5803f64ce5 Made View list a little more helpful about widget size and location
git-svn-id: svn://10.0.0.236/trunk@3248 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 20:02:30 +00:00
kmcclusk
7b001eebd2 Build .o files in the correct place.
git-svn-id: svn://10.0.0.236/trunk@3247 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 19:57:38 +00:00
rods
ccde07aebc fixed Create method
git-svn-id: svn://10.0.0.236/trunk@3246 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 19:56:12 +00:00
rods
b7334ef74f add retucn for OnScroll
git-svn-id: svn://10.0.0.236/trunk@3245 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 19:55:42 +00:00
scullin
43fce049c1 Stub out NET_NewStream.
git-svn-id: svn://10.0.0.236/trunk@3244 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 19:54:11 +00:00
kmcclusk
53c473ebec Removed nsStubs.cpp - no longer needed.
git-svn-id: svn://10.0.0.236/trunk@3243 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 19:51:56 +00:00
kmcclusk
c786ddbad8 Added nsAbsoluteFrame to the make for Linux
git-svn-id: svn://10.0.0.236/trunk@3242 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 19:49:19 +00:00
rods
67d4406aa9 added params to create of AppShell
git-svn-id: svn://10.0.0.236/trunk@3241 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 19:45:22 +00:00
rods
5f90b47d32 added GetNative method
git-svn-id: svn://10.0.0.236/trunk@3239 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 18:59:53 +00:00
rods
616ee37f0d fixed event dispatcher
git-svn-id: svn://10.0.0.236/trunk@3237 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 18:53:22 +00:00
rods
c8cb8adbfc fixed event dispatcher code
git-svn-id: svn://10.0.0.236/trunk@3236 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 18:53:00 +00:00
spider
49cdcfdd1b Fix for converting from NS to X RGB Components
git-svn-id: svn://10.0.0.236/trunk@3235 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 18:41:47 +00:00
rods
85f0a988be turned on motif builds
git-svn-id: svn://10.0.0.236/trunk@3232 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 18:20:40 +00:00
rods
ffa4888e9a first working version window, button scrollbar
git-svn-id: svn://10.0.0.236/trunk@3231 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 18:19:50 +00:00
rods
d9a26a778c changed the Create method
git-svn-id: svn://10.0.0.236/trunk@3230 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 18:12:10 +00:00
kipp
ecc388064f Updated tracing; if the body has no children then collapse to nothingness
git-svn-id: svn://10.0.0.236/trunk@3229 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 18:03:14 +00:00
hardts
d0089912d1 removed -A so can be used more easily by client.mak to pull nglayout source
git-svn-id: svn://10.0.0.236/trunk@3228 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 18:00:36 +00:00
kipp
d8e8d2503d Eliminate css margins around block elements (so that ebina margins are used instead)
git-svn-id: svn://10.0.0.236/trunk@3227 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 17:52:22 +00:00
kipp
e836ab5f4c Made a subclass of nsContainerFrame to deal with PropogateContentOffsets because placeholders contain pseudo-frames
git-svn-id: svn://10.0.0.236/trunk@3226 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 17:52:02 +00:00
kipp
04e1032b03 Added code to do ebina style margins; perform horizontal alignment and relative positioning for blocks
git-svn-id: svn://10.0.0.236/trunk@3225 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 17:51:27 +00:00
kipp
95f8a82db4 Log view creation when it's done; create view when child and parent opacities differ
git-svn-id: svn://10.0.0.236/trunk@3224 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 17:50:53 +00:00
kipp
e265ed4281 Draw a different colored border when showing visual frame boundaries if the frame has a view; only draw if rectangle has area; create scroll frame when requested stylistically
git-svn-id: svn://10.0.0.236/trunk@3223 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 17:50:19 +00:00
kipp
0697c02104 Added mPrevMarginSynthetic flag
git-svn-id: svn://10.0.0.236/trunk@3222 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 17:49:29 +00:00
kipp
8da209ec0a Added a hack to only do incremental painting for the block whish is reflowing the html BODY; improved trace msgs; added code to collapse into nothingness empty blocks
git-svn-id: svn://10.0.0.236/trunk@3221 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 17:49:15 +00:00
kipp
2b8579f527 Add scroll frame to build
git-svn-id: svn://10.0.0.236/trunk@3220 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 17:48:08 +00:00
kipp
5276c045f8 new
git-svn-id: svn://10.0.0.236/trunk@3219 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 17:47:49 +00:00
pinkerton
b19294133c Fix some mac problems in single signon and cookie management. Also fix problems when no security is available (ie, free source).
git-svn-id: svn://10.0.0.236/trunk@3218 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 17:47:31 +00:00
kipp
601ec1d78c Draw a different colored border when showing visual frame boundaries if the frame has a view
git-svn-id: svn://10.0.0.236/trunk@3217 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 17:47:30 +00:00
kipp
c487af9554 Made usage of crt debug conditional on using the debug RTL
git-svn-id: svn://10.0.0.236/trunk@3216 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 17:46:41 +00:00
pinkerton
276ebcf945 Support for single sigon and cookie management features.
git-svn-id: svn://10.0.0.236/trunk@3215 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 17:46:27 +00:00
kmcclusk
215de8d5eb Added gmbaseunix.so to list of libraries to link against to resolve NS_NEW_Timer
git-svn-id: svn://10.0.0.236/trunk@3214 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 17:45:22 +00:00
kmcclusk
d331df24e8 Added unix directory to build nsTimer.cpp
git-svn-id: svn://10.0.0.236/trunk@3213 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 17:31:35 +00:00
karnaze
9f44e1e4a3 added modes for backward compatibility
git-svn-id: svn://10.0.0.236/trunk@3211 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 17:23:48 +00:00
scullin
8c158ec767 Add libmimetype.so
git-svn-id: svn://10.0.0.236/trunk@3210 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 15:23:32 +00:00
scullin
ac93017214 Remove cvview.c from the MODULAR_NETLIB build.
git-svn-id: svn://10.0.0.236/trunk@3209 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 14:51:26 +00:00
scullin
446d0a2707 Re-added LO_getNextTabableElement for UNIX.
git-svn-id: svn://10.0.0.236/trunk@3208 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 14:35:09 +00:00
pierre
d6eaf43870 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@3205 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 10:03:05 +00:00
ramiro
0d359e06c5 Make the Navigation center mroe useable. Allow the user to resize it.
git-svn-id: svn://10.0.0.236/trunk@3198 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 09:04:36 +00:00
ramiro
7296cd99a5 Comment out a printf.
git-svn-id: svn://10.0.0.236/trunk@3197 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 08:51:10 +00:00
ramiro
de0194ed03 Allow XmNpaneChildType to be changed. So that panes can swap children
on the fly.


git-svn-id: svn://10.0.0.236/trunk@3196 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 08:50:26 +00:00
ramiro
6765d1100a Dont redefine _XfeSwap().
git-svn-id: svn://10.0.0.236/trunk@3195 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 08:49:52 +00:00
ramiro
ab892e76b8 Use _XfeGetValuesCastAndAssign().
git-svn-id: svn://10.0.0.236/trunk@3194 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 08:49:17 +00:00
ramiro
6bdd93c2fe Fix problems (like core dumps) with static strings. Use malloc instead.
git-svn-id: svn://10.0.0.236/trunk@3193 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 08:48:30 +00:00
ramiro
ed737ceac6 Add _XfeGetValuesCastAndAssign() and _XfeSwap().
git-svn-id: svn://10.0.0.236/trunk@3192 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 08:47:34 +00:00
sfraser
3629a74f65 Forgot to build the new custom static libs target.
git-svn-id: svn://10.0.0.236/trunk@3191 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 08:43:47 +00:00
spider
9589ad09d6 Implemented nsRegionUnix
git-svn-id: svn://10.0.0.236/trunk@3190 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 08:40:58 +00:00
spider
009a095c51 support for pull and build in one macro.
Use widget branch


git-svn-id: svn://10.0.0.236/trunk@3189 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 08:03:31 +00:00
spider
416a970b2a Linux fix
git-svn-id: svn://10.0.0.236/trunk@3188 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 07:54:50 +00:00
spider
c7429130db Misc Linux fixes
git-svn-id: svn://10.0.0.236/trunk@3187 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 07:54:39 +00:00
sfraser
2af886c859 Switch over to using Perl's manifest instead of MakeDist, and mess with the relative paths. Also write out progress messages.
git-svn-id: svn://10.0.0.236/trunk@3186 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 07:35:50 +00:00
sfraser
f5b33596a5 Added a needed prototype for the Mac build
git-svn-id: svn://10.0.0.236/trunk@3185 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 07:34:52 +00:00
sfraser
de9ad20b56 Add targets for custom static libraries
git-svn-id: svn://10.0.0.236/trunk@3184 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 07:31:45 +00:00
sfraser
10c9cf8571 Fixes to allow us to compile Progress with this obsolete class for now.
git-svn-id: svn://10.0.0.236/trunk@3183 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 07:31:29 +00:00
sfraser
516b71fe64 Added needed include if JAVA is on
git-svn-id: svn://10.0.0.236/trunk@3182 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 07:30:56 +00:00
sfraser
730de7924f Changed profile.h/cp to userprofile.h/cp, moved libmocha files into a separate static library, added custom shared and static libs for easy addition of internal Netscape code.
git-svn-id: svn://10.0.0.236/trunk@3181 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 07:30:35 +00:00
spider
2dd6efcdc4 Support for Archive Libs on Linux and shared data in executable
git-svn-id: svn://10.0.0.236/trunk@3180 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 07:20:48 +00:00
sfraser
1b6c939920 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@3179 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 07:08:46 +00:00
sfraser
959418a240 Changed so that the output library is called Security.o (for compat with commercial build).
git-svn-id: svn://10.0.0.236/trunk@3176 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 06:58:58 +00:00
sfraser
9f8a0a1466 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@3175 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 06:57:39 +00:00
sfraser
6885c0ed04 Give the NavigatorDebugExtras stub lib the correct fragment name
git-svn-id: svn://10.0.0.236/trunk@3174 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 06:51:46 +00:00
sfraser
a229fda7eb include xp_error
git-svn-id: svn://10.0.0.236/trunk@3173 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 06:51:17 +00:00
sfraser
f0ca7e10dc Add a new header to export
git-svn-id: svn://10.0.0.236/trunk@3172 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 06:50:25 +00:00
sfraser
d8b5714a7f Fix projects and prefix files for new build system
git-svn-id: svn://10.0.0.236/trunk@3171 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 06:49:45 +00:00
sfraser
632fc197e5 #if JAVA to #ifdef JAVA
git-svn-id: svn://10.0.0.236/trunk@3170 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 06:48:49 +00:00
sfraser
d00662f8ea Do #define FOO 1 not #define FOO
git-svn-id: svn://10.0.0.236/trunk@3169 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 06:48:24 +00:00
spider
ee5893e1f7 Linux fix
git-svn-id: svn://10.0.0.236/trunk@3168 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 06:45:05 +00:00
spider
7aa0c2f2da Fix for building on Linux
git-svn-id: svn://10.0.0.236/trunk@3167 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 06:31:05 +00:00
kipp
30b50d2d6f Fixed another GetDesiredSize case that troy missed
git-svn-id: svn://10.0.0.236/trunk@3165 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 05:49:45 +00:00
spider
caa377c8b5 Add unix to build process by default now
git-svn-id: svn://10.0.0.236/trunk@3164 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 05:16:18 +00:00
spider
8e8a4e5f07 Remove all references to Xt and use only Xlib.
On Linux, add Library Path to Xlib in Makefile


git-svn-id: svn://10.0.0.236/trunk@3163 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 05:15:35 +00:00
spider
77b6dca274 Add NS_NATIVE_DISPLAY support
git-svn-id: svn://10.0.0.236/trunk@3162 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 05:14:25 +00:00
spider
ce5d822171 Add NS_NATIVE_DISPLAY so gfx on UNIX can retrieve a Display
pointer from the Widget


git-svn-id: svn://10.0.0.236/trunk@3161 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 05:13:36 +00:00
rpotts
f9515f9806 Minor changes to nsIStreamListener interface... OnStartBinding(...) now passes out the stream content-type. User visible strings are now nsString arguments (for subsequent i18n)
git-svn-id: svn://10.0.0.236/trunk@3160 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 05:09:32 +00:00
kipp
7cd20442b9 Allow build to not use debug msvcrt
git-svn-id: svn://10.0.0.236/trunk@3159 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 05:03:50 +00:00
wtc
ced5bd5eca In debug build, define MOZ_NO_DEBUG_RTL to use the nondebug version
of the Microsoft VC run-time library.


git-svn-id: svn://10.0.0.236/trunk@3158 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 04:55:37 +00:00
michaelp
225ca0d6a6 made scrolling views more self sufficient.
git-svn-id: svn://10.0.0.236/trunk@3156 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 02:02:08 +00:00
pnunn
2d3b97de62 backing out changes for #1222111 and #112970.
These fixes caused bug#123040. Will reopen the above bugs.


git-svn-id: svn://10.0.0.236/trunk@3155 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 01:46:32 +00:00
hyatt
adbf640de7 Bug fixes to animated gifs in the tree view and in the dropdown menus.
git-svn-id: svn://10.0.0.236/trunk@3154 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 01:45:42 +00:00
jevering
3f6ceaf928 Dont process anything but html files from within the debug robot.
ProcessLink() ignores anything else using a gawd-awful nasty hack.


git-svn-id: svn://10.0.0.236/trunk@3153 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 01:19:25 +00:00
kmcclusk
4e917e24ee Added Stub file for missing externs when building the viewer
git-svn-id: svn://10.0.0.236/trunk@3151 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 00:50:34 +00:00
mccabe
84e1fd30b8 Added a few (JSOp) casts to appease Macintosh compiler workings.
Enums are types!


git-svn-id: svn://10.0.0.236/trunk@3150 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 00:22:55 +00:00
kmcclusk
01af3747ff Added nsFrameImageLoader to the unix make
git-svn-id: svn://10.0.0.236/trunk@3149 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 23:44:08 +00:00
vidur
e231c04da5 Auto-generation of JavaScript stubs
git-svn-id: svn://10.0.0.236/trunk@3148 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 23:39:45 +00:00
kmcclusk
4266592600 Added nsLinkHandler.cpp back into the build
git-svn-id: svn://10.0.0.236/trunk@3147 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 23:38:21 +00:00
vidur
75137db85b idl test file
git-svn-id: svn://10.0.0.236/trunk@3146 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 23:36:47 +00:00
vidur
4f73ab90e5 JavaScript global object interface
git-svn-id: svn://10.0.0.236/trunk@3144 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 23:33:05 +00:00
vidur
f52a9131c7 Auto-generation of JavaScript stubs
git-svn-id: svn://10.0.0.236/trunk@3143 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 23:32:26 +00:00
kmcclusk
97df3e7c17 Added unix nsTimer. Note nsTimer's methods need to be implemented.
git-svn-id: svn://10.0.0.236/trunk@3142 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 23:25:12 +00:00
kmcclusk
0b162eeaa4 Removed nsLinkHandler from the unix Makefile to fix IRIX build
git-svn-id: svn://10.0.0.236/trunk@3140 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 23:17:22 +00:00
hyatt
b7d899c986 Custom icons got broken when merging from the RDF_BRANCH to the tip. Fixing this and
a problem with animated Gifs in Aurora.


git-svn-id: svn://10.0.0.236/trunk@3139 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 23:12:49 +00:00
spider
9fef03acb6 Missed last nsIRegion checkin ... add substract back in...
git-svn-id: svn://10.0.0.236/trunk@3138 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 23:12:02 +00:00
spider
5e22a31518 Fix IRIX build bustage
git-svn-id: svn://10.0.0.236/trunk@3137 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 23:09:29 +00:00
sfraser
c523da7016 Changes to project and prefix files for Mac commercial build
git-svn-id: svn://10.0.0.236/trunk@3136 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 23:01:03 +00:00
sfraser
a8f32baee9 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@3135 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 23:00:41 +00:00
sfraser
9112321535 Need to export CPluginView.ObeyCommand for AWT
git-svn-id: svn://10.0.0.236/trunk@3133 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 22:59:52 +00:00
sfraser
c7a0b7ebcf Add target for debug extra stubs
git-svn-id: svn://10.0.0.236/trunk@3132 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 22:59:02 +00:00
sfraser
2b620625ad Need to #include <Folders.h> on the mac build
git-svn-id: svn://10.0.0.236/trunk@3130 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 22:57:51 +00:00
kmcclusk
aeba943fa5 Fix for IRIX build
git-svn-id: svn://10.0.0.236/trunk@3129 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 22:56:29 +00:00
sfraser
ae0ac2c1a3 Remove the ldap2rdf.c file so that this puppy builds with MOZ_LDAP on
git-svn-id: svn://10.0.0.236/trunk@3127 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 22:50:06 +00:00
michaelp
ee11b8ede1 added support for handling transparent views to viewmanager. added
transparency query to nsIFrame.


git-svn-id: svn://10.0.0.236/trunk@3126 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 22:49:45 +00:00
sfraser
40d7a64adc Fix to work with the commercial build.
git-svn-id: svn://10.0.0.236/trunk@3125 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 22:46:47 +00:00
sfraser
e67c33c66f Fix the typedef enum
git-svn-id: svn://10.0.0.236/trunk@3124 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 22:45:30 +00:00
sfraser
9ccbad287c Changes to project and prefix files for Mac commercial build
git-svn-id: svn://10.0.0.236/trunk@3122 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 22:38:12 +00:00
sfraser
cbeee24ad2 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@3121 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 22:38:01 +00:00
beard
64b4f9d327 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@3120 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 22:32:10 +00:00
jgellman
310237fad9 don't forget the build rule
git-svn-id: svn://10.0.0.236/trunk@3119 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 22:31:39 +00:00
jgellman
2aed34e750 put jrt3240.dll in the right directory when OJI is not defined
git-svn-id: svn://10.0.0.236/trunk@3117 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 22:11:42 +00:00
kmcclusk
43eee44f50 Added nsraptorwebwidget.so as a library to link against
git-svn-id: svn://10.0.0.236/trunk@3116 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 22:04:07 +00:00
kmcclusk
48bf4919e1 Added nsLineLayout.cpp to linux makefile
git-svn-id: svn://10.0.0.236/trunk@3115 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 21:59:53 +00:00
slamm
0ffb44a1d0 Tie selections to the rdf backend and hookup the context menu
git-svn-id: svn://10.0.0.236/trunk@3114 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 21:50:55 +00:00
slamm
8bb3b005f2 Split the XFE_PopupMenu class into two classes. This way we can derive XFE_SimplePopupMenu that does not depend on the XFE command system.
git-svn-id: svn://10.0.0.236/trunk@3113 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 21:50:52 +00:00
slamm
48168be769 Add support for popup menus.
git-svn-id: svn://10.0.0.236/trunk@3112 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 21:50:48 +00:00
wtc
f7f84ca625 Backed out revision 3.7. First, XP_PC not only means Win NT and Win 95,
but also WIN16 and OS2.  I don't think WIN16 and OS2 have GetLastError().
Second, we always call DllErrorInternal() with the argument
_MD_ERRNO(), and _MD_ERRNO() is defined as GetLastError() on NT and
Win95.


git-svn-id: svn://10.0.0.236/trunk@3111 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 21:46:18 +00:00
slamm
9627f50c53 Fix visual problem on solaris. Thanks to Juergen Keil <jk@tools.de> for the patch.
git-svn-id: svn://10.0.0.236/trunk@3110 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 21:42:48 +00:00
hyatt
613f622674 Plugging a memory leak in FlushIconInfo.
git-svn-id: svn://10.0.0.236/trunk@3109 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 21:38:06 +00:00
michaelp
5365a33b57 added optimization so that as we render top->bottom, if the clip region ever
becomes empty, we stop rendering.


git-svn-id: svn://10.0.0.236/trunk@3108 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 21:30:51 +00:00
wtc
380fa328db Backed out revision 3.2. In C and C++, a pointer to any datatype
can be implicitly cast to void *.  So the explicit (void *) cast
in the argument for PR_Free() should not be necessary.


git-svn-id: svn://10.0.0.236/trunk@3105 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 21:23:24 +00:00
rods
e10588ace6 removed nsdefs.h include
git-svn-id: svn://10.0.0.236/trunk@3104 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 21:17:44 +00:00
rods
eae5124c31 removed nsObject from it
git-svn-id: svn://10.0.0.236/trunk@3103 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 21:16:10 +00:00
rods
3b6d52a3d8 uses sharded instead of static libs
git-svn-id: svn://10.0.0.236/trunk@3102 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 21:15:13 +00:00
kmcclusk
a82d7eadbf Now the Linux Makefile actually compiles nsWebWidget and nsLinkHandler. Before it did nothing.
git-svn-id: svn://10.0.0.236/trunk@3101 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 21:09:08 +00:00
kmcclusk
8f66119835 Moved XP_PC around nsLinkHandler constructor PL_initEvent and PL_PostEvent
git-svn-id: svn://10.0.0.236/trunk@3100 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 20:59:32 +00:00
kipp
f66e84a6e1 Fixed install bug on unix
git-svn-id: svn://10.0.0.236/trunk@3099 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 20:50:02 +00:00
rods
490f2c0dbc initial check in
git-svn-id: svn://10.0.0.236/trunk@3098 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 20:07:49 +00:00
rjc
8d2f4aa454 Add export for XP_ParseTimeString (from RDF_BRANCH)
git-svn-id: svn://10.0.0.236/trunk@3097 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 19:13:10 +00:00
spider
78612ca265 Change some colors and link with gfxunix
git-svn-id: svn://10.0.0.236/trunk@3095 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 19:02:29 +00:00
spider
05f37f4879 Remove old Subtrct method from nsRegion due to interface changes
Add support for 8 bit color on ro and rw devices
Add ConvertPixel() routine to convert from gfx to X


git-svn-id: svn://10.0.0.236/trunk@3094 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 19:01:41 +00:00
rjc
7497d654a5 Landing RDF_BRANCH.
git-svn-id: svn://10.0.0.236/trunk@3093 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 18:57:19 +00:00
kipp
08994aa817 Install broke-image.gif
git-svn-id: svn://10.0.0.236/trunk@3091 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 18:56:45 +00:00
kipp
957f7882a1 Avoid scaling image when rendering the broken-image image
git-svn-id: svn://10.0.0.236/trunk@3089 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 18:56:11 +00:00
kipp
10477b257e Added logging events
git-svn-id: svn://10.0.0.236/trunk@3088 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 18:55:23 +00:00
rjc
ab4f8a26bb Fix warnings on Mac (from RDF_BRANCH)
git-svn-id: svn://10.0.0.236/trunk@3086 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 18:50:29 +00:00
law
32c00e262e Fix for defect #122687: Bypass VC++ v5 optimizer bug
git-svn-id: svn://10.0.0.236/trunk@3085 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 18:33:25 +00:00
kipp
1b464bb3a3 new
git-svn-id: svn://10.0.0.236/trunk@3084 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 18:31:14 +00:00
kipp
1e008b80d6 Fixed so that document still gets set even when notify is false
git-svn-id: svn://10.0.0.236/trunk@3083 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 18:31:07 +00:00
kipp
161881f7ea Adjust count of data to append by offset when offset is non-zero
git-svn-id: svn://10.0.0.236/trunk@3082 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 18:29:43 +00:00
rjc
da0ffa18ca Fix warnings.
git-svn-id: svn://10.0.0.236/trunk@3081 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 18:29:23 +00:00
rjc
a92c502365 Fix crash bug regarding buffer size. (Reported by Juergen Keil - jk@tools.de)
git-svn-id: svn://10.0.0.236/trunk@3080 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 18:29:00 +00:00
rjc
28b1c7fbea More RDF_BRANCH fun.
git-svn-id: svn://10.0.0.236/trunk@3079 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 18:17:09 +00:00
michaelp
3118124379 fixed bug bug in new region code where region was not Init()ed.
git-svn-id: svn://10.0.0.236/trunk@3078 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 18:13:12 +00:00
kipp
eb13fa059a Fixed up usage of insert/append/remove/replace api return values in dom methods
git-svn-id: svn://10.0.0.236/trunk@3077 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 18:09:17 +00:00
rjc
42ec16d39b Add new file (find2rdf.c) into Mac project from RDF_BRANCH.
git-svn-id: svn://10.0.0.236/trunk@3076 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 18:03:44 +00:00
kipp
c57b1143c9 When root content frame doesn't have any children make sure the aDesiredSize out parameter is properly setup
git-svn-id: svn://10.0.0.236/trunk@3075 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 17:44:23 +00:00
kmcclusk
f66782a740 Linux:Makefile for viewer - Added more sharable libs for the LINUX build
git-svn-id: svn://10.0.0.236/trunk@3074 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 17:43:03 +00:00
rjc
101c731c0d Landing the RDF_Branch for the WinFE (Dave Hyatt really landing this).
git-svn-id: svn://10.0.0.236/trunk@3073 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 17:38:33 +00:00
rjc
7877916b0f Landing RDF_BRANCH.
git-svn-id: svn://10.0.0.236/trunk@3072 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 17:35:31 +00:00
rjc
babb77abcf Merging RDF_BRANCH onto tip.
git-svn-id: svn://10.0.0.236/trunk@3071 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 17:32:56 +00:00
cyeh
ea6c9261ad update change log for preparation of new tarball code drop
git-svn-id: svn://10.0.0.236/trunk@3070 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 17:22:20 +00:00
waterson
d33d1e2854 Added compiler defines for AWT_11 to keep AWT 1.0.2 building when
MOZ_JAVA is set in commercial build.


git-svn-id: svn://10.0.0.236/trunk@3069 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 17:08:27 +00:00
kipp
deaf80d08d Updated to COMized doc observer API
git-svn-id: svn://10.0.0.236/trunk@3067 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 16:01:51 +00:00
kipp
ef269b8949 Updated to new api
git-svn-id: svn://10.0.0.236/trunk@3066 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 16:01:25 +00:00
kipp
0d2a492c8f Whacked to implement revised COMized insert/delete/remove/append child methods from nsIContent
git-svn-id: svn://10.0.0.236/trunk@3065 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 16:01:02 +00:00
kipp
facc2bd67b Use revised GetDocument API from content
git-svn-id: svn://10.0.0.236/trunk@3064 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 16:00:40 +00:00
kipp
d2b66aa21a Print out percentage values properly
git-svn-id: svn://10.0.0.236/trunk@3063 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 16:00:15 +00:00
kipp
9b8851361f Disable notifications during construction of select container
git-svn-id: svn://10.0.0.236/trunk@3062 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 15:59:56 +00:00
kipp
5abd6d1e3b Disable notifications during construction of file container
git-svn-id: svn://10.0.0.236/trunk@3061 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 15:59:44 +00:00
kipp
e6ac50ef0f Use new GetDocument API
git-svn-id: svn://10.0.0.236/trunk@3060 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 15:59:24 +00:00
kipp
2a34a0afa1 Fixed IID reference and added a reminder comment
git-svn-id: svn://10.0.0.236/trunk@3059 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 15:59:09 +00:00
kipp
1ae8f2fbce Use revised Presentation shell API; control notifications directly; propogate end of document load to document so that observers can be notified
git-svn-id: svn://10.0.0.236/trunk@3058 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 15:58:52 +00:00
kipp
5ce48810fe Fixed logging messages to say Reflow not ResizeReflow
git-svn-id: svn://10.0.0.236/trunk@3057 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 15:57:39 +00:00
kipp
97e9354074 Print out view during listings
git-svn-id: svn://10.0.0.236/trunk@3056 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 15:57:24 +00:00
kipp
0c523b77e3 Wrap created frames in a view if necessary
git-svn-id: svn://10.0.0.236/trunk@3055 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 15:57:08 +00:00
kipp
3ead278eb6 Added GetLoadImageFailed method
git-svn-id: svn://10.0.0.236/trunk@3054 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 15:56:50 +00:00
kipp
3f96e00b1a Create view for the image always; update to use new API's; use nsHTMLFrame to create view
git-svn-id: svn://10.0.0.236/trunk@3053 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 15:56:40 +00:00
kipp
0dc9302aa8 Implement stubs for revised insert/delete/remove/append api's
git-svn-id: svn://10.0.0.236/trunk@3052 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 15:56:15 +00:00
kipp
b270330541 disable notifies during synthetic content insertion
git-svn-id: svn://10.0.0.236/trunk@3051 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 15:55:49 +00:00
kipp
17741db54e Implement revised COMized API
git-svn-id: svn://10.0.0.236/trunk@3050 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 15:54:57 +00:00
kipp
b63b1179d0 Print out view during listings; try to support broken image handling better
git-svn-id: svn://10.0.0.236/trunk@3049 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 15:52:01 +00:00
kipp
7935c3c6e9 Print out views during listings
git-svn-id: svn://10.0.0.236/trunk@3048 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 15:51:17 +00:00
kipp
fd73209bce Implement ListTag; print out view during listings
git-svn-id: svn://10.0.0.236/trunk@3047 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 15:50:58 +00:00
kipp
a5d21d7287 Added nsHTMLFrame to build
git-svn-id: svn://10.0.0.236/trunk@3046 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 15:49:09 +00:00
kipp
52710ca83c new
git-svn-id: svn://10.0.0.236/trunk@3045 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 15:49:00 +00:00
kipp
76d0d1ca7a declare and implement revised content api
git-svn-id: svn://10.0.0.236/trunk@3044 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 15:48:14 +00:00
kipp
7292ea6df8 Init fEntireContent
git-svn-id: svn://10.0.0.236/trunk@3043 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 15:47:48 +00:00
kipp
4db8f5a2b0 Declare factory here for now
git-svn-id: svn://10.0.0.236/trunk@3042 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 15:47:34 +00:00
kipp
284512c2d1 IMplement factory in this class; AddRef during QueryInterface like it should; init refcnt in ctor
git-svn-id: svn://10.0.0.236/trunk@3041 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 15:47:22 +00:00
kipp
6d4fd8c715 Implement COMized document observer API; added logging of doc observer methods
git-svn-id: svn://10.0.0.236/trunk@3040 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 15:46:54 +00:00
kipp
13f033e4fe Tell document that content changed not shell's
git-svn-id: svn://10.0.0.236/trunk@3039 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 15:46:04 +00:00
kipp
5d9fa5cc8c Display view during listings
git-svn-id: svn://10.0.0.236/trunk@3038 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 15:45:48 +00:00
kipp
14bf58f141 Decleare BeginLoad/EndLoad
git-svn-id: svn://10.0.0.236/trunk@3037 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 15:45:36 +00:00
kipp
7fe1da5fe0 Pass on Begin/End Load to observers; removed selection factory method
git-svn-id: svn://10.0.0.236/trunk@3036 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 15:45:25 +00:00
kipp
42cf02aaad Print out view during listings
git-svn-id: svn://10.0.0.236/trunk@3035 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 15:41:53 +00:00
kipp
720a2a0f67 Presentation shell is no longer a subclass of nsIDocumentObserver (the implementation still is however, it's just not publicized)
git-svn-id: svn://10.0.0.236/trunk@3034 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 15:41:39 +00:00
kipp
693b5fa149 COMized API; added Begin/End reflow and Begin/End Load methods
git-svn-id: svn://10.0.0.236/trunk@3033 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 15:40:56 +00:00
kipp
9751be15df Added begin/end load methods
git-svn-id: svn://10.0.0.236/trunk@3032 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 15:39:45 +00:00
kipp
6401e9ace6 COMized some of the API; added a notify flag to the child insert/replace/append/remove methods
git-svn-id: svn://10.0.0.236/trunk@3031 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 15:39:32 +00:00
kipp
7c943247ed Poke stream listener after finishing the parse
git-svn-id: svn://10.0.0.236/trunk@3030 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 15:38:57 +00:00
warren
4688e91a24 Fix for mozilla build w/o MOZ_JAVA
git-svn-id: svn://10.0.0.236/trunk@3026 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 07:45:44 +00:00
mcafee
ccdba975a1 SunOS 4.1.4 doesn't have Xfuncproto.h
git-svn-id: svn://10.0.0.236/trunk@3023 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 07:18:49 +00:00
warren
decc407471 Merged changes from OJI_19980528_TEMP_BRANCH
git-svn-id: svn://10.0.0.236/trunk@3022 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 06:55:24 +00:00
jgellman
011b0cb5c2 Merges from OJI_19980528_TEMP_BRANCH
git-svn-id: svn://10.0.0.236/trunk@3021 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 06:19:45 +00:00
mccabe
b0eb2c7a3d Reinstated backed-out changes.
git-svn-id: svn://10.0.0.236/trunk@3020 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 06:08:21 +00:00
warren
9702009d99 Didn't get mergedcp foo.h nsscd.h!
git-svn-id: svn://10.0.0.236/trunk@3012 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 05:27:15 +00:00
warren
82a703ac90 Merge didn't get checked in for oji changes? - fixing
git-svn-id: svn://10.0.0.236/trunk@3011 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 05:12:24 +00:00
jgellman
62698e3e5f back out change. inadvertently checked in self-modifying build code
git-svn-id: svn://10.0.0.236/trunk@3010 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 04:43:17 +00:00
mccabe
7880652747 Hopefully removed the offending jsstddef.h for good.
git-svn-id: svn://10.0.0.236/trunk@3006 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 03:55:10 +00:00
michaelp
6dabba1783 added support of irregular damage regions to viewmanager.
git-svn-id: svn://10.0.0.236/trunk@2999 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 03:12:52 +00:00
sar
964270c59d backing out mccabes checkin
git-svn-id: svn://10.0.0.236/trunk@2997 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 02:30:46 +00:00
troy
5eeca9f78f Initialized nsBlockReflowState::mStyleSizeFlags to 0
git-svn-id: svn://10.0.0.236/trunk@2996 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 02:27:39 +00:00
jgellman
5e3f2a67cf fix for MSCV 4.21 compiler -- explicit cast
git-svn-id: svn://10.0.0.236/trunk@2994 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 02:19:42 +00:00
jgellman
11e2c71ddd added modules/oji MozillaSourceCommon
git-svn-id: svn://10.0.0.236/trunk@2992 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 01:22:16 +00:00
warren
0df611e3d9 Added modules/oji
git-svn-id: svn://10.0.0.236/trunk@2990 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 00:59:04 +00:00
jgellman
fc5e2900ca add export.mac file for header files
git-svn-id: svn://10.0.0.236/trunk@2989 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 00:58:33 +00:00
timm
efd8b6210d added oneStepMode flag
git-svn-id: svn://10.0.0.236/trunk@2988 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 00:51:34 +00:00
timm
fb0ac74596 117395 cannot find phone book entry
git-svn-id: svn://10.0.0.236/trunk@2987 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 00:50:58 +00:00
kmcclusk
3f2357b685 Modified Linux:viewer makefile - Added a few more libraries to link against
git-svn-id: svn://10.0.0.236/trunk@2985 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 00:47:22 +00:00
tague
9066c7420c fix header error
git-svn-id: svn://10.0.0.236/trunk@2983 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 00:44:52 +00:00
buster
c660db67ef a variety of fixes and optimizations
together with a fix troy just checked in, this makes a lot of real-world tables look a whole lot better


git-svn-id: svn://10.0.0.236/trunk@2982 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 00:43:53 +00:00
jgellman
cb4014892b merge from OJI branch
git-svn-id: svn://10.0.0.236/trunk@2980 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 00:37:20 +00:00
mccabe
1ccdb802f9 Removed reference to jsstddef.h - which got propagated over from
recent changes to js/ref.  We need to fix prconv.sed or check in
src/jsstddef.h!


git-svn-id: svn://10.0.0.236/trunk@2975 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 00:23:57 +00:00
blythe
ad8817f5b7 Fix a bug where we would attempt to execute c:\autoexec.bat, which is a bad thing
git-svn-id: svn://10.0.0.236/trunk@2974 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 00:23:00 +00:00
scc
8d6d952a29 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@2973 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 00:12:50 +00:00
troy
7bf65a52da Changed Paint() to use GetCoordValue() instead of GetIntValue()
git-svn-id: svn://10.0.0.236/trunk@2972 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-03 00:11:15 +00:00
troy
28e235cd46 Changed GetReflowMetrics() to initial maxElementSize to (0,0)
git-svn-id: svn://10.0.0.236/trunk@2968 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 23:57:03 +00:00
scc
d1e463682a First Checked In.
git-svn-id: svn://10.0.0.236/trunk@2965 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 23:54:58 +00:00
mccabe
d032f71431 Cleanup of parseInt checkin, including comment changes. The code is
now a little more explit about when it expects js strings to be
null-terminated.


git-svn-id: svn://10.0.0.236/trunk@2964 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 23:21:08 +00:00
blythe
20deb9ce7a When using a blank page as the homepage, sometimes the wait cursor hangs around. This fixes that.
git-svn-id: svn://10.0.0.236/trunk@2963 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 22:42:43 +00:00
cyeh
3755bc56e1 remove duplicate entries
git-svn-id: svn://10.0.0.236/trunk@2962 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 22:18:37 +00:00
cyeh
879cf382f1 add the entire libfont directory to MozillaSourceMacOnly
git-svn-id: svn://10.0.0.236/trunk@2961 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 22:16:37 +00:00
michaelp
8415266052 added additional protection against NULL parent views.
git-svn-id: svn://10.0.0.236/trunk@2960 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 22:06:29 +00:00
michaelp
495b7681f4 prevented infinite paint/damage loop.
git-svn-id: svn://10.0.0.236/trunk@2959 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 22:05:45 +00:00
michaelp
06c9f10a6f now calls viewmanager to effect view changes.
git-svn-id: svn://10.0.0.236/trunk@2958 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 22:04:54 +00:00
waldemar
c309352e95 Fixed bug 122884
git-svn-id: svn://10.0.0.236/trunk@2957 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 22:04:31 +00:00
michaelp
bf64f5f09c added ability to select regions into rendering context.
git-svn-id: svn://10.0.0.236/trunk@2956 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 22:04:09 +00:00
waldemar
c72135749d Updated comment after new-expression bug fix
git-svn-id: svn://10.0.0.236/trunk@2955 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 22:03:04 +00:00
pinkerton
4d8c3a4949 Backing out appearance manager changes because Apple won't be able to deliver an SDK that fits our needs and works with pre 8.5 systems. Code is still in the tree if it ever wants to be pulled out again later (appr sdagley).
git-svn-id: svn://10.0.0.236/trunk@2954 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 21:39:14 +00:00
blythe
d7608e4b39 Remove behavior of loading first item in previous window history, in order to correct a bug and allow better end user customization
git-svn-id: svn://10.0.0.236/trunk@2953 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 21:25:08 +00:00
blythe
5f74af3312 Due to recent changes to the splash screen, I now desire to see it on startup
git-svn-id: svn://10.0.0.236/trunk@2952 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 21:24:20 +00:00
kmcclusk
c4164898a7 In nsViewer::processArguments declared int i, outside of the block.
Placed XP_PC around PL_initialize and PL_event calls in nsViewer.cpp
In nsDocLoader::CancelAll Moved int i declaration out of the loop


git-svn-id: svn://10.0.0.236/trunk@2951 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 21:17:15 +00:00
pinkerton
72df74e2cc Backing out appearance manager changes and removal of CPPb's since they're out of date anyway.
git-svn-id: svn://10.0.0.236/trunk@2950 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 21:15:02 +00:00
troy
b706f86e4e Added null pointer check for mRootView in Composite()
git-svn-id: svn://10.0.0.236/trunk@2949 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 21:05:00 +00:00
kmcclusk
4cb77517c8 Added clobber and install directives to viewer Makefile
git-svn-id: svn://10.0.0.236/trunk@2948 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 21:02:22 +00:00
pinkerton
30ab6c79df Backing out appearance manager changes because Apple won't be able to deliver an SDK that fits our needs and works with pre 8.5 systems. Code is still in the tree if it ever wants to be pulled out again later (appr sdagley).
git-svn-id: svn://10.0.0.236/trunk@2947 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 21:00:07 +00:00
pinkerton
92710b3f3a Prepare for column saving in HT (appr sdagley).
git-svn-id: svn://10.0.0.236/trunk@2946 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 20:56:28 +00:00
pinkerton
4f1311a489 Make columns work correctly in nav center (appr sdagley).
git-svn-id: svn://10.0.0.236/trunk@2945 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 20:56:06 +00:00
kmcclusk
849b47cbfb Modified viewer Makefile to compile all viewer source files.
git-svn-id: svn://10.0.0.236/trunk@2943 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 20:34:52 +00:00
rpotts
f8991743c8 Turned off the load_background flag when loading URLs... This allows netlib to produce more status information which gets pushed out of nsIStreamListener::OnProgress(...)
git-svn-id: svn://10.0.0.236/trunk@2941 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 20:17:17 +00:00
spider
59e4679ec9 Implement Native Text Width routines for char and unicode
git-svn-id: svn://10.0.0.236/trunk@2940 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 19:57:35 +00:00
scullin
def158f53b Added NSPR logging. Set NSPR_LOG_MODULES=NSRepository:4 to get
bunches o' logging.


git-svn-id: svn://10.0.0.236/trunk@2938 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 19:54:52 +00:00
rods
2433841941 uses sharded instead of static libs
git-svn-id: svn://10.0.0.236/trunk@2937 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 19:45:39 +00:00
rods
cbd487ede0 disabled the build of the test app
git-svn-id: svn://10.0.0.236/trunk@2936 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 19:44:16 +00:00
spider
c3b729e06d Minor Rendering fixes. FontMetric hardcoded to get by. Implemented
FillPolygon/DrawPolygon.


git-svn-id: svn://10.0.0.236/trunk@2935 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 19:35:41 +00:00
anthonyd
b58cb6e4d6 added euro character to known entities array - awd
git-svn-id: svn://10.0.0.236/trunk@2933 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 18:53:18 +00:00
scullin
849e7a56a6 Added tests sub-directory.
git-svn-id: svn://10.0.0.236/trunk@2932 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 18:39:17 +00:00
scullin
c2a8909ca2 Moved nettest into network/module/tests
git-svn-id: svn://10.0.0.236/trunk@2931 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 18:38:20 +00:00
blythe
c447239b67 martin.nilsson@bigfoot.com updated the images slightly
git-svn-id: svn://10.0.0.236/trunk@2928 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 17:53:52 +00:00
valeski
8bad9285c7 fixing shorted mem allocation call.
git-svn-id: svn://10.0.0.236/trunk@2927 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 17:24:15 +00:00
kmcclusk
3dd92e3efc Removed nsDocLoader.cpp dependency on <windows.h>
Changed MAXPATHLEN to a constant 1024 for viewer
Moved XP_PC to include both event in OnLinkClickEvent::OnLinkClickEvent


git-svn-id: svn://10.0.0.236/trunk@2924 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 16:44:17 +00:00
kipp
ff2bdc8dd4 removed
git-svn-id: svn://10.0.0.236/trunk@2923 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 16:33:52 +00:00
troy
ae8b22d156 Turned on incremental painting
git-svn-id: svn://10.0.0.236/trunk@2919 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 05:29:44 +00:00
troy
1674499c38 Added member function Invalidate()
git-svn-id: svn://10.0.0.236/trunk@2918 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 05:28:11 +00:00
troy
1d7d0dce90 Turned off CS_HREDRAW and CS_VREDRAW
git-svn-id: svn://10.0.0.236/trunk@2917 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 05:27:08 +00:00
troy
0c4dc6781c Made damage rect passed to UpdateView() be a const
git-svn-id: svn://10.0.0.236/trunk@2916 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 05:26:42 +00:00
wtc
eaab02615c Moved the definition of _AIX_AtomicSet() to the outside of the
#ifndef AIX4_1 block.  Thanks to C. Fung <carsonf@torolab.ibm.com>
for reporting this problem.


git-svn-id: svn://10.0.0.236/trunk@2910 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 03:25:22 +00:00
scullin
ad7350902b Fix nglayout build.
git-svn-id: svn://10.0.0.236/trunk@2909 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 02:54:02 +00:00
briano
43c446b4fa Support for SINIX-Z and QNX.
git-svn-id: svn://10.0.0.236/trunk@2908 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 02:50:14 +00:00
troy
1d99d8539e Changed SetBounds() to not request a repaint when resizing the window
git-svn-id: svn://10.0.0.236/trunk@2907 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 02:46:31 +00:00
briano
7e9c5668a6 Added a test for snprintf().
git-svn-id: svn://10.0.0.236/trunk@2906 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 02:44:34 +00:00
troy
d81dd07553 Changed WM_WINDOWPOSCHANGED handling to ignore z-order (and activation)
changes


git-svn-id: svn://10.0.0.236/trunk@2905 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 02:33:29 +00:00
spider
84e03c0f3a IRIX fixes
git-svn-id: svn://10.0.0.236/trunk@2904 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 02:30:39 +00:00
troy
07b5d7d386 Fixed a problem that was causing a crash
git-svn-id: svn://10.0.0.236/trunk@2903 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 02:11:26 +00:00
waldemar
24465967b0 Fixed bugs 76103 and 122787: parsing of new-expressions
git-svn-id: svn://10.0.0.236/trunk@2902 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 01:54:31 +00:00
spider
b7b9eb3a5f Add support for LD_LIBS for shared objects
git-svn-id: svn://10.0.0.236/trunk@2901 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 01:48:14 +00:00
scullin
a7238af662 Add libmimetype.a
git-svn-id: svn://10.0.0.236/trunk@2900 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 01:44:27 +00:00
kipp
83a80513ca Make bullets transparent to whitespace compression
git-svn-id: svn://10.0.0.236/trunk@2899 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 01:43:02 +00:00
scullin
36e92aab3d Fix netlib pull
git-svn-id: svn://10.0.0.236/trunk@2898 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 01:40:17 +00:00
scullin
0cee2799b7 Landing modular netlib on UNIX.
git-svn-id: svn://10.0.0.236/trunk@2897 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 01:34:57 +00:00
scullin
a124c2757e Moved from /webshell/tests
git-svn-id: svn://10.0.0.236/trunk@2894 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 01:27:17 +00:00
spider
8d3748a920 Unix support
git-svn-id: svn://10.0.0.236/trunk@2892 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 01:22:56 +00:00
spider
bfd7d03e24 Use DSO instead of archive libs. Using archives will cause problems
since XPCOM was not intended to be used that way.


git-svn-id: svn://10.0.0.236/trunk@2890 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 01:21:29 +00:00
spider
24f5983667 Change to using .so's in Makefile. Temporarily hardcode some
TextMetrics stuff


git-svn-id: svn://10.0.0.236/trunk@2889 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 01:16:48 +00:00
spider
2db297135e Change link of shared libs to take OS_LIBS after application libs.
Also, change default loader on IRIX from ld to CC, since DSO's with
C++ code need to use the C++ loader.  Using ld causes memory
trashing.


git-svn-id: svn://10.0.0.236/trunk@2888 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 01:15:45 +00:00
scullin
d34a12faf5 Landing modular netlib
git-svn-id: svn://10.0.0.236/trunk@2884 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 01:08:47 +00:00
warren
fb3891dfc9 Factored nsplugin.h into nsIPlug.h and nsILCPlg.h. nsplugin.h will get obsoleted.
git-svn-id: svn://10.0.0.236/trunk@2880 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 00:32:49 +00:00
scullin
0c084c2df2 Landing modular netlib on UNIX
git-svn-id: svn://10.0.0.236/trunk@2879 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 00:23:17 +00:00
toshok
e9b46ed3c1 Fix build on FreeBSD. don't hardcode '.so', some platforms don't use it.
git-svn-id: svn://10.0.0.236/trunk@2878 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 00:18:45 +00:00
sfraser
7568367029 Remove obsoleted files
git-svn-id: svn://10.0.0.236/trunk@2877 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 00:17:23 +00:00
mcafee
ffc68e0235 XP_FindNameContextInList() can return null if looking for a target of type _new, adding a check for this case (122092) r=toshok, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@2876 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 00:16:29 +00:00
rpotts
1de9286637 fixed typo in progress notification...
git-svn-id: svn://10.0.0.236/trunk@2875 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-02 00:03:49 +00:00
ramiro
1bde9e9008 Add resources for toolbar toggle behavior.
git-svn-id: svn://10.0.0.236/trunk@2874 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 23:44:42 +00:00
kipp
bc9886e177 Set first child during reflow unmapped; leave white space compression flag alone for zero sized frames
git-svn-id: svn://10.0.0.236/trunk@2873 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 23:39:40 +00:00
kipp
60001a81c2 Map DIR attribute into style
git-svn-id: svn://10.0.0.236/trunk@2872 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 23:38:55 +00:00
kipp
226afcde60 Fixed block frame Clear method to work properly
git-svn-id: svn://10.0.0.236/trunk@2871 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 23:38:40 +00:00
kipp
8551f6afad Added SetFirstChild; made line layout a friend of block frame
git-svn-id: svn://10.0.0.236/trunk@2870 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 23:37:55 +00:00
pinkerton
776ef73489 remove cvactive.h to fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@2866 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 23:33:36 +00:00
troy
c43afb8da0 Changed nsLeafFrane's GetdesiredSize() to not pass in the max size
since it's now part of nsReflowState


git-svn-id: svn://10.0.0.236/trunk@2865 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 23:31:30 +00:00
scullin
f2738cccfa Long live NSPR.
git-svn-id: svn://10.0.0.236/trunk@2864 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 23:18:57 +00:00
spider
23935446f9 The beginnings of some font stuff
git-svn-id: svn://10.0.0.236/trunk@2862 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 22:41:01 +00:00
gagan
435a1bad4e Added check to increase the number of cache elements only if its a new entry. Thanks
TenThumbs <tenthumbs@cybernex.net>


git-svn-id: svn://10.0.0.236/trunk@2861 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 22:35:23 +00:00
pinkerton
32ef3fc858 Added SetMaxValue() method.
git-svn-id: svn://10.0.0.236/trunk@2860 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 22:29:57 +00:00
kmcclusk
e0a786cd7b Added Makefile for LINUX viewer build
git-svn-id: svn://10.0.0.236/trunk@2859 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 22:28:38 +00:00
raman
36e3ae7e52 Added the clone method. Approved by warren
git-svn-id: svn://10.0.0.236/trunk@2858 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 22:11:06 +00:00
raman
1bb74be857 Stub functions for Signed JS and Applets end user UI
git-svn-id: svn://10.0.0.236/trunk@2857 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 22:11:01 +00:00
raman
461bff960f Code to display the Signed JS and Applets UI on Mozilla thread by posting an event. Coded by morse. Approved by norris.
git-svn-id: svn://10.0.0.236/trunk@2856 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 22:10:54 +00:00
raman
78b2dece6d Added handling of buttons for Signed JS and Applets UI. Coded by morse. Approved by nisheeth
git-svn-id: svn://10.0.0.236/trunk@2855 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 22:10:21 +00:00
raman
8b089c3edf Updated the Signed JS and Applets UI strings. Coded by morse. Reviewed by raman.
git-svn-id: svn://10.0.0.236/trunk@2854 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 22:10:17 +00:00
raman
3051da8664 Added linking of libcaps library as part of MOZ_JAVA build.
git-svn-id: svn://10.0.0.236/trunk@2853 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 22:10:13 +00:00
michaelp
a0d49e1458 webwidget now specifies a framerate of 25 fps rather than relying on a good
default value in the viewmanager. added synchronous updates if we timeout
before timer fires.


git-svn-id: svn://10.0.0.236/trunk@2852 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 22:02:02 +00:00
donm
b60fce5759 removing reference to FE_Trace not used anymore.
git-svn-id: svn://10.0.0.236/trunk@2851 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 21:40:42 +00:00
rods
9cfbcebe9a oops backed out changes from Linux
git-svn-id: svn://10.0.0.236/trunk@2850 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 21:29:23 +00:00
buster
7dd2b9314d made tables quiet again
git-svn-id: svn://10.0.0.236/trunk@2849 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 21:07:56 +00:00
rods
f37f445be2 initial
git-svn-id: svn://10.0.0.236/trunk@2848 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 20:56:12 +00:00
kipp
4e9e60ae79 null terminate empty auto string properly
git-svn-id: svn://10.0.0.236/trunk@2847 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 20:55:46 +00:00
kipp
b26e400397 Removed some debug printfs
git-svn-id: svn://10.0.0.236/trunk@2846 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 20:55:28 +00:00
kipp
5ff66ccb56 Support nsILinkHandler::OnOverLink
git-svn-id: svn://10.0.0.236/trunk@2845 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 20:55:10 +00:00
kipp
ee728a1bbd Made the DocObsever a link handler
git-svn-id: svn://10.0.0.236/trunk@2844 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 20:54:07 +00:00
kipp
8454ef1a05 Removed post data from OnOverLink method
git-svn-id: svn://10.0.0.236/trunk@2843 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 20:53:34 +00:00
kipp
369a35ae14 Quiet please
git-svn-id: svn://10.0.0.236/trunk@2842 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 20:53:01 +00:00
troy
1a852af754 Added additional parameter to nsIWidget Resize() member functions
git-svn-id: svn://10.0.0.236/trunk@2841 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 20:26:50 +00:00
buster
e2175a52f2 much better fixed and percentage width layout
git-svn-id: svn://10.0.0.236/trunk@2839 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 20:21:05 +00:00
spider
fc776998fb Change order of libs for link
git-svn-id: svn://10.0.0.236/trunk@2838 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 20:20:23 +00:00
kipp
ecf1901eb3 Added OnOverLink hook for tracking mouse-over's over links
git-svn-id: svn://10.0.0.236/trunk@2836 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 19:59:13 +00:00
kipp
db59603e61 Revised LoadURL to take an nsIStreamListener
git-svn-id: svn://10.0.0.236/trunk@2835 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 19:58:55 +00:00
kipp
0f722d9990 Stub out OnOverLink method
git-svn-id: svn://10.0.0.236/trunk@2834 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 19:57:10 +00:00
troy
3613e8b151 Work in progress for floaters to handle percentage based
width/height


git-svn-id: svn://10.0.0.236/trunk@2833 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 19:56:58 +00:00
kipp
433400adb1 Revised LoadURL API to take an nsIStreamListener and pass it to the document while loading
git-svn-id: svn://10.0.0.236/trunk@2832 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 19:56:53 +00:00
kipp
90f696b51b Revised DocLoader to be an nsIStreamListener and then use it to LoadURL's so that it obsevers the nsIStreamListener notifications
git-svn-id: svn://10.0.0.236/trunk@2831 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 19:55:55 +00:00
kipp
86bcb9fa92 Pass in null for stream listener to LoadURL
git-svn-id: svn://10.0.0.236/trunk@2830 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 19:55:19 +00:00
kipp
4e88c06a1e updated
git-svn-id: svn://10.0.0.236/trunk@2829 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 19:53:38 +00:00
kipp
78b05a04e5 Updated LoadURL API to take an nsIStreamListener
git-svn-id: svn://10.0.0.236/trunk@2828 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 19:53:27 +00:00
kipp
962f3e4dfd Updated LoadURL API to take an nsIStreamListener; pass on listener to parser
git-svn-id: svn://10.0.0.236/trunk@2827 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 19:53:19 +00:00
troy
441d523dd3 Added some support for percentage based width/height. Currently only works
for the initial reflow


git-svn-id: svn://10.0.0.236/trunk@2826 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 19:52:53 +00:00
kipp
4c50963f60 Revised LoadURL to take an nsIStreamListener; removed old document load hooks
git-svn-id: svn://10.0.0.236/trunk@2825 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 19:52:39 +00:00
kipp
61a25c7c1d Changed Parse to take an nsIStreamListener to pass notifications too; changed parser to pass them on
git-svn-id: svn://10.0.0.236/trunk@2823 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 19:51:52 +00:00
kipp
c11f861455 Use new loadurl api
git-svn-id: svn://10.0.0.236/trunk@2822 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 19:51:19 +00:00
scullin
b541a1647b Moved to network/cnvts
git-svn-id: svn://10.0.0.236/trunk@2821 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 18:43:07 +00:00
kipp
6b3bf9b342 Fixed interface decl to be consistent with everything else
git-svn-id: svn://10.0.0.236/trunk@2820 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 18:37:21 +00:00
scullin
948a664e1c Added mimetype library, removed old netlib code.
git-svn-id: svn://10.0.0.236/trunk@2819 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 18:33:51 +00:00
scullin
3d2f4b9b3a Start building mime type routines as separate library.
git-svn-id: svn://10.0.0.236/trunk@2818 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 18:29:28 +00:00
scullin
1d45e2f5c4 Moved from main
git-svn-id: svn://10.0.0.236/trunk@2817 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 18:19:25 +00:00
spider
50845aa3d3 Linux build fix
git-svn-id: svn://10.0.0.236/trunk@2816 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 17:55:47 +00:00
spider
49496c13e1 IRIX build fix
git-svn-id: svn://10.0.0.236/trunk@2815 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 17:51:50 +00:00
cmanske
b456437586 Removed hard-coded strings for image conversion
git-svn-id: svn://10.0.0.236/trunk@2814 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 17:34:24 +00:00
kmcclusk
f0ed4e7b76 Reorganized the viewer app to separate the platform specific code from the
cross-platform code. Converted as much of the WIN32 specific code to cross-platform
code as possible.


git-svn-id: svn://10.0.0.236/trunk@2813 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 17:14:40 +00:00
kmcclusk
76c18f5955 GetBounds returns the client area not the window area
Resize new returns the client area not the window area
Removed the commented out RelayEvent method in nsWindow.cpp
Add a nsDispatchListener for nsIAppShell.


git-svn-id: svn://10.0.0.236/trunk@2812 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 17:04:16 +00:00
karnaze
480e732ab3 simplified test8tab.html
git-svn-id: svn://10.0.0.236/trunk@2811 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 16:52:56 +00:00
fur
3f80334382 JavaScript project file for MSVC5
git-svn-id: svn://10.0.0.236/trunk@2810 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 16:39:11 +00:00
blythe
1d528ed486 New splash screens. Conversion by martin.nilsson@bigfoot.com
git-svn-id: svn://10.0.0.236/trunk@2809 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 16:35:52 +00:00
fur
73bfeaea67 Temporary check-in of project files to build LiveConnect-enabled shell
git-svn-id: svn://10.0.0.236/trunk@2808 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 16:26:13 +00:00
cmanske
7dc862fe1b Added outdent list level when Enter key is pressed and current item is empty
git-svn-id: svn://10.0.0.236/trunk@2807 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 16:21:19 +00:00
ramiro
d1a6dc43c4 Cleanup menu pane creation code. Use ONE function instead of cut-and-pasting
the code all over.


git-svn-id: svn://10.0.0.236/trunk@2806 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 11:43:43 +00:00
ramiro
21035923e3 Add XfeMenuCreatePulldownPane() and XfeMenuCreateCascadeItem().
git-svn-id: svn://10.0.0.236/trunk@2805 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 11:42:30 +00:00
ramiro
005eb7c7eb Fix for major xfe horkage caused by last checkin. Change the 'TRUE' to
'true'.  The unix prefs probably munged the 'TRUE' to something funny in
code, which later caused all sorts of unpredictable errors in xp_file and
reading preferences in general.  Lots of fun.


git-svn-id: svn://10.0.0.236/trunk@2804 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 09:04:58 +00:00
ramiro
a55e4d428a Cleanup the XfeBm library. Remove circular dependancy on XfeBm from
XfeWidgets.


git-svn-id: svn://10.0.0.236/trunk@2803 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 07:49:21 +00:00
spence
b6cf7f3640 fixed some shack layout problems
git-svn-id: svn://10.0.0.236/trunk@2802 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 07:28:55 +00:00
spider
6fa5ada475 Add Flags to support exported symbols in ELF binaries. Also add Xp and Xext link
git-svn-id: svn://10.0.0.236/trunk@2799 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 04:05:49 +00:00
spider
2e5098d961 Change LD_OPTS to dupport DSO on Linux
git-svn-id: svn://10.0.0.236/trunk@2798 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 04:04:53 +00:00
spider
df8c8ad5da Add raptorgfx to link list
git-svn-id: svn://10.0.0.236/trunk@2797 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 03:41:42 +00:00
spider
39d2734866 Update for new interfaces (stubs)
git-svn-id: svn://10.0.0.236/trunk@2794 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 03:23:40 +00:00
spider
a354fad2b4 Add nsRegionUnix.cpp to .so. dlopen() on Linux 2.0 would fail since it can't
resolve this class.


git-svn-id: svn://10.0.0.236/trunk@2793 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 03:19:41 +00:00
fur
76813139a0 Merge several bug fixes from client 4.1 branch
git-svn-id: svn://10.0.0.236/trunk@2791 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 00:31:59 +00:00
cboatwri
879f687471 added build instructions to module
git-svn-id: svn://10.0.0.236/trunk@2787 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-01 00:20:45 +00:00
jgellman
808d3dea0e one blank line
git-svn-id: svn://10.0.0.236/trunk@2782 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-31 19:50:00 +00:00
jgellman
3ebd27d487 adding placeholder files for file's that'll be added on the branch before moving them to the tip
git-svn-id: svn://10.0.0.236/trunk@2781 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-31 19:32:40 +00:00
jgellman
c7de739535 merge from OJI_19980430_BRANCH
git-svn-id: svn://10.0.0.236/trunk@2780 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-31 19:21:42 +00:00
cboatwri
8266ee5c60 Removed trailing space from line 314
git-svn-id: svn://10.0.0.236/trunk@2774 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-31 07:35:57 +00:00
troy
9725cced48 Added a comment to GetStyleDimension indicating that computed percentage
values are being handled incorrectly


git-svn-id: svn://10.0.0.236/trunk@2773 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-31 04:45:21 +00:00
troy
a53a8a9faf Fixed an assert
git-svn-id: svn://10.0.0.236/trunk@2772 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 23:56:28 +00:00
cmanske
36db5c6c2b Composer bug fixes and features (table editing, font size, color picker, etc)
git-svn-id: svn://10.0.0.236/trunk@2770 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 23:05:39 +00:00
cmanske
04be3a6cb5 Composer bug fixes and continued table and color picker features
git-svn-id: svn://10.0.0.236/trunk@2766 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 23:04:10 +00:00
cmanske
d2329bf15c Composer bug fixes and continued table and color picker features
git-svn-id: svn://10.0.0.236/trunk@2765 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 23:04:03 +00:00
cmanske
750c9123aa Composer bug fixes and more feature work
git-svn-id: svn://10.0.0.236/trunk@2764 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 22:51:37 +00:00
morse
3bf3240a70 lock the signon list when it is in use
git-svn-id: svn://10.0.0.236/trunk@2763 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 22:37:35 +00:00
cmanske
8979acbd8f New Composer preferences added for background color and fill new cell with space mode
git-svn-id: svn://10.0.0.236/trunk@2762 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 22:26:41 +00:00
morse
6171514e62 bug 122126
git-svn-id: svn://10.0.0.236/trunk@2761 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 22:16:41 +00:00
kipp
359bf0f99c Revised API so that correct percentage width/height could be computed
git-svn-id: svn://10.0.0.236/trunk@2760 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 21:22:17 +00:00
kipp
69de10fd12 Updated a few table API's so that percentage width could be properly computed
git-svn-id: svn://10.0.0.236/trunk@2759 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 21:21:51 +00:00
kipp
630af1711c Updated to new GetDesiredSize api's (so that percentage width's could be properly calculated)
git-svn-id: svn://10.0.0.236/trunk@2758 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 21:21:11 +00:00
kipp
0b5419d5e6 fixed value to string for percentages to include the '%'
git-svn-id: svn://10.0.0.236/trunk@2757 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 21:20:07 +00:00
kipp
a6d9e41ff0 Removed dead code
git-svn-id: svn://10.0.0.236/trunk@2756 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 21:19:36 +00:00
kipp
e158e3f059 Updated to new GetDesiredSize API; reworkd width handling
git-svn-id: svn://10.0.0.236/trunk@2755 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 21:19:11 +00:00
kipp
be4ed98aae Use new cssLayout api
git-svn-id: svn://10.0.0.236/trunk@2753 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 21:18:32 +00:00
kipp
6afff43de1 Use new mPendingBreak state
git-svn-id: svn://10.0.0.236/trunk@2748 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 17:46:11 +00:00
kipp
5f78a9d123 Support BR tags in inline frames
git-svn-id: svn://10.0.0.236/trunk@2747 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 17:45:46 +00:00
kipp
312f0bab39 Partial support for BR clear behavior
git-svn-id: svn://10.0.0.236/trunk@2746 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 17:45:15 +00:00
kipp
5e7dbfe635 Cleaned up; use new slot in nsLineLayout state to support clear semantics
git-svn-id: svn://10.0.0.236/trunk@2745 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 17:44:50 +00:00
cyeh
1180d9e2ba added mozilla/cmd/winfe/mkfiles32 to DirectorySDKSourceBuild.
git-svn-id: svn://10.0.0.236/trunk@2744 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 17:02:43 +00:00
ftang
31e69b66ea add new font info
git-svn-id: svn://10.0.0.236/trunk@2743 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 08:37:40 +00:00
ftang
81ab34143d add HTML 4.0 entity
git-svn-id: svn://10.0.0.236/trunk@2742 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 08:15:07 +00:00
ftang
82eb72f5fa add new name and alias
git-svn-id: svn://10.0.0.236/trunk@2741 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 08:02:50 +00:00
ftang
5a65252863 add several csid as the base for future open source implementation
git-svn-id: svn://10.0.0.236/trunk@2740 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 08:01:55 +00:00
briano
eebcbe882b Added the first of S.J. Moller's (sjm@nwc.dk) proposed changes for Solaris 2.6.
git-svn-id: svn://10.0.0.236/trunk@2734 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 04:28:03 +00:00
scc
b988eb163e First Checked In.
git-svn-id: svn://10.0.0.236/trunk@2730 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 03:18:48 +00:00
rickg
f7bb7a3928 added support for NOBR and fixed MAP and AREA behavior
git-svn-id: svn://10.0.0.236/trunk@2729 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 03:14:55 +00:00
scc
4b835c8f8b BuildMozilla() no longer changes to the correct directory, so I have to.
git-svn-id: svn://10.0.0.236/trunk@2727 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 03:13:20 +00:00
scc
9c41007355 Added InstallFromManifest(), the critical routine to doing the dist file copying.
git-svn-id: svn://10.0.0.236/trunk@2726 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 03:13:10 +00:00
scc
a36e933292 Added DistMozilla() function. Now build the MakeDist project condisitonall based on $main::use_DistMozilla. No longer chdir to the right place. You have to do it yourself before calling BuildMozilla() or DistMozilla().
git-svn-id: svn://10.0.0.236/trunk@2725 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 03:12:25 +00:00
spider
c64aa4a750 Remove lib prefix on windows
git-svn-id: svn://10.0.0.236/trunk@2711 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 02:12:28 +00:00
kipp
47927e90c0 NS_IMETHOD'd some of the API's
git-svn-id: svn://10.0.0.236/trunk@2710 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 01:36:47 +00:00
kipp
08bde0f034 NS_IMETHOD'd some of the API's; rewrote insert/delete/append/replace dom methods so they actually work
git-svn-id: svn://10.0.0.236/trunk@2709 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 01:36:00 +00:00
kipp
ddc066eda5 Add attributes to result in ToHTML
git-svn-id: svn://10.0.0.236/trunk@2708 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 01:34:56 +00:00
kipp
56f4b2db53 Added QuoteForHTML method
git-svn-id: svn://10.0.0.236/trunk@2707 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 01:34:03 +00:00
kipp
bb23579666 process DIR attribute and lang attribute
git-svn-id: svn://10.0.0.236/trunk@2706 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 01:32:50 +00:00
kipp
590c1b085b updated
git-svn-id: svn://10.0.0.236/trunk@2705 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 01:32:10 +00:00
kipp
fb55a13041 enter/exit reflow lock automatically in content changed (temporary maybe)
git-svn-id: svn://10.0.0.236/trunk@2704 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 01:31:04 +00:00
kipp
1dbd4255ee new
git-svn-id: svn://10.0.0.236/trunk@2692 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 00:44:38 +00:00
pinkerton
09ceda3afd Added support for chrome close callback.
git-svn-id: svn://10.0.0.236/trunk@2681 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 00:23:43 +00:00
pinkerton
49abc8c7f2 make chromeless dialog use new progress bar.
git-svn-id: svn://10.0.0.236/trunk@2680 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-30 00:23:27 +00:00
morse
a388b7cff4 Removing a string at Rick Elliott's request
git-svn-id: svn://10.0.0.236/trunk@2670 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 23:36:10 +00:00
morse
7f65c296b6 fix buid bustage
git-svn-id: svn://10.0.0.236/trunk@2669 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 23:32:51 +00:00
scullin
6999d6872a Fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@2668 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 23:28:49 +00:00
rpotts
6322e54de4 Moved defines for cookie management from WIN32 into config.mak along with all of the other defines...
git-svn-id: svn://10.0.0.236/trunk@2667 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 23:26:58 +00:00
troy
a17b565c12 Placeholder now wraps container content in a body pseudo frame
git-svn-id: svn://10.0.0.236/trunk@2666 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 23:12:26 +00:00
cboatwri
7de1b959cd Added additional tcp-ip stuff for mac project
git-svn-id: svn://10.0.0.236/trunk@2662 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 23:08:33 +00:00
troy
17e3730981 Changed ReflowChild() to handle the 'OccupiedMultiple' case
git-svn-id: svn://10.0.0.236/trunk@2660 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 23:06:08 +00:00
troy
7f2889ff7b Changed ComputeAvailSpaceRect() to handle the 'OccupiedMultiple' case
git-svn-id: svn://10.0.0.236/trunk@2659 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 23:05:12 +00:00
scullin
ec7be8a3b3 Change XP_IS_ macros to NET_IS_ macros.
git-svn-id: svn://10.0.0.236/trunk@2658 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 23:04:49 +00:00
scullin
090874feb6 Work on landing UNIX modular netlib
git-svn-id: svn://10.0.0.236/trunk@2657 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 22:54:31 +00:00
scc
d8d8f14abf Greatly expanded documentation. Second argument of MakeAlias isn't optional. CloseErrorLog() now does the right thing if we were still stopping for errors.
git-svn-id: svn://10.0.0.236/trunk@2656 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 22:53:12 +00:00
rpotts
c782f2cd0c Fix to get raptor building again... These changes should/will be moved to config.mak
git-svn-id: svn://10.0.0.236/trunk@2655 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 22:45:52 +00:00
karnaze
b7849c378e event improvements
git-svn-id: svn://10.0.0.236/trunk@2654 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 22:44:13 +00:00
cboatwri
a309bce80e Added build instructions
git-svn-id: svn://10.0.0.236/trunk@2653 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 22:40:40 +00:00
scullin
ff8dc5a86f Added environment variable warnings.
git-svn-id: svn://10.0.0.236/trunk@2652 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 22:37:52 +00:00
michaelp
5967a4b32f fixed over-releasing of views in DeleteFrame().
git-svn-id: svn://10.0.0.236/trunk@2651 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 22:36:21 +00:00
cboatwri
8c6a4d8d0f Added makefile for unix
git-svn-id: svn://10.0.0.236/trunk@2650 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 22:33:50 +00:00
cyeh
ff0b698015 adding LDAP SDK to modules file
git-svn-id: svn://10.0.0.236/trunk@2649 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 22:30:22 +00:00
buster
a4a065bae0 some proportional column balancing now works
the <TABLE> COLS attribute is supported via proportional column balancing.


git-svn-id: svn://10.0.0.236/trunk@2648 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 22:08:19 +00:00
scullin
0b1ff18c35 Changed XP_TO_ macros to NET_TO_ macros. Lame, but it doesn't
really warrent a grander solution.


git-svn-id: svn://10.0.0.236/trunk@2647 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 22:06:10 +00:00
pnunn
519a06e169 fix for #112970. timer problem with animated gif with frame larger than header screen size.
This fix should allow a graceful handling of error. pnunn


git-svn-id: svn://10.0.0.236/trunk@2646 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 21:44:08 +00:00
ramiro
da7952d3f3 ToolTip abstraction step one: Move XmLGrid hacks to the XmL library.
git-svn-id: svn://10.0.0.236/trunk@2645 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 21:03:26 +00:00
troy
003a885b86 Changed nsReflowState structs to be linked together
git-svn-id: svn://10.0.0.236/trunk@2643 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 20:36:05 +00:00
pinkerton
9ab9f40a6c Back/forward button popups actually do the right thing now.
git-svn-id: svn://10.0.0.236/trunk@2642 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 20:23:14 +00:00
pnunn
f787b8da08 fix for bug#122211. Corrupted animated gif caused crash.
git-svn-id: svn://10.0.0.236/trunk@2640 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 19:29:36 +00:00
morse
5a4fd3404f turn single signon and cookie management back on
git-svn-id: svn://10.0.0.236/trunk@2638 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 19:18:01 +00:00
morse
dd2d9fd68e add htmldlgs.h to list of include files
git-svn-id: svn://10.0.0.236/trunk@2637 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 19:15:45 +00:00
morse
b4b33b01a3 remove absolute path on include file
git-svn-id: svn://10.0.0.236/trunk@2635 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 19:15:05 +00:00
mcafee
c976b5efb8 Fix nested /* warning on Solaris.
git-svn-id: svn://10.0.0.236/trunk@2631 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 18:45:31 +00:00
slamm
830719efa4 Hook up cell editing.
git-svn-id: svn://10.0.0.236/trunk@2630 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 18:27:21 +00:00
slamm
ebefb3e328 Make editing work with cell of type XmICON_CELL and Tree cells. Make edit start when user clicks twice on a cell. Rename a few functions.
git-svn-id: svn://10.0.0.236/trunk@2629 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 18:26:49 +00:00
kipp
7d5d32c9d9 Consolidated list handling state variables
git-svn-id: svn://10.0.0.236/trunk@2628 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 18:25:14 +00:00
morse
453d1560ac temporarily fix tree bustage by turning off cookie management and single signon
git-svn-id: svn://10.0.0.236/trunk@2627 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 17:01:31 +00:00
pinkerton
95835afeef Gets rid of assert because status bar is now in line with browser. Removed extra border chrome around html area.
git-svn-id: svn://10.0.0.236/trunk@2626 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 16:42:20 +00:00
pinkerton
dd4a9ae4dc More appearance changes so that it draws correctly in other themes.
git-svn-id: svn://10.0.0.236/trunk@2625 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 16:41:16 +00:00
morse
815738ea01 bug 122126, reviewed by blythe
git-svn-id: svn://10.0.0.236/trunk@2622 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 15:01:48 +00:00
morse
438b0cd964 bug 122126, reviewed by briano
git-svn-id: svn://10.0.0.236/trunk@2621 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 15:00:25 +00:00
morse
e5e56d4665 bug 122126
git-svn-id: svn://10.0.0.236/trunk@2620 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 14:55:28 +00:00
morse
495a8d9833 bug 122126, reviewed by relliott
git-svn-id: svn://10.0.0.236/trunk@2619 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 14:52:57 +00:00
mcafee
95fdec563b DisplayBuiltin() and FreeBuiltinElement() undefined for Solaris, adding stubs.
git-svn-id: svn://10.0.0.236/trunk@2615 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 05:20:06 +00:00
kipp
0299dcf2cc Disabled assertions for now (sigh); removed DoResizeReflow and collapsed it into Reflow
git-svn-id: svn://10.0.0.236/trunk@2613 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 02:34:19 +00:00
kipp
7645d0b01d Disabled assertions for now (sigh)
git-svn-id: svn://10.0.0.236/trunk@2612 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 02:34:02 +00:00
kipp
b61c3eed08 Removed some unused list layout cruft
git-svn-id: svn://10.0.0.236/trunk@2611 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 02:33:50 +00:00
kipp
2107e79f42 nuked
git-svn-id: svn://10.0.0.236/trunk@2610 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 02:18:17 +00:00
kipp
7751154a8b pass url into image loader
git-svn-id: svn://10.0.0.236/trunk@2609 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 02:16:46 +00:00
kipp
51e7d9f5fe Use outside bullets again
git-svn-id: svn://10.0.0.236/trunk@2608 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 02:16:29 +00:00
kipp
256fceb2eb Get initial reflow state set right during child reflow; support list bullets directly
git-svn-id: svn://10.0.0.236/trunk@2607 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 02:15:46 +00:00
kipp
b9e5bd7ba9 Pass on initial reflow to ProcessInitialReflow
git-svn-id: svn://10.0.0.236/trunk@2606 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 02:15:00 +00:00
kipp
ab9930aa04 Added bullet creator
git-svn-id: svn://10.0.0.236/trunk@2605 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 02:14:41 +00:00
kipp
047d393c62 Revised image loader API slightly
git-svn-id: svn://10.0.0.236/trunk@2604 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 02:14:30 +00:00
kipp
c414a816ef Revised image loader API slightly and used it to setup url spec via src attr
git-svn-id: svn://10.0.0.236/trunk@2603 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 02:14:17 +00:00
kipp
c590ea97c8 stub out IsSynthetic API
git-svn-id: svn://10.0.0.236/trunk@2602 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 02:13:50 +00:00
kipp
63e30f0836 Added initial reflow hook; setup list bullets using it
git-svn-id: svn://10.0.0.236/trunk@2601 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 02:13:25 +00:00
kipp
5c844c6ff3 Added initial reflow hook
git-svn-id: svn://10.0.0.236/trunk@2600 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 02:13:13 +00:00
kipp
4161660a5b Treat list-item like block when creating frames
git-svn-id: svn://10.0.0.236/trunk@2599 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 02:12:59 +00:00
kipp
e7abe8a2fb Assert that reflow reason is correct
git-svn-id: svn://10.0.0.236/trunk@2598 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 02:11:50 +00:00
kipp
559a3545f9 Added list state for line layout
git-svn-id: svn://10.0.0.236/trunk@2597 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 02:11:38 +00:00
kipp
8b462655bd Set list state in block reflow state for line layout; assert that reflow reason is correct; pass initial reflow into ProcessInitialReflow hook
git-svn-id: svn://10.0.0.236/trunk@2596 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 02:11:27 +00:00
kipp
d091d8c074 Removed nsListItemFrame and added nsHTMLBullet
git-svn-id: svn://10.0.0.236/trunk@2595 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 02:10:51 +00:00
kipp
06ff982939 IMplement new content method
git-svn-id: svn://10.0.0.236/trunk@2594 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 02:10:27 +00:00
kipp
b8275ba4ad Clear both frame-in-reflow and frame-first-reflow bits on finished didreflow
git-svn-id: svn://10.0.0.236/trunk@2593 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 02:10:12 +00:00
kipp
fa1ff937d8 Added a new content method to see if a piece of content is synthetic or not
git-svn-id: svn://10.0.0.236/trunk@2592 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 02:09:38 +00:00
kipp
8d6ad2250a Added another state bit
git-svn-id: svn://10.0.0.236/trunk@2591 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 02:09:18 +00:00
kipp
0badd6029b new
git-svn-id: svn://10.0.0.236/trunk@2590 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-29 02:01:43 +00:00
toshok
decebf4ea9 Use LO_GetDocumentMargins, not fe_GetMargin, since the latter always returns 8/8 instead of what the document specifies. For example, resizing www.mozilla.org puts an 8x8 margin on the document, when the HTML specifies 0x0
git-svn-id: svn://10.0.0.236/trunk@2588 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 23:49:37 +00:00
akkana
03e38ae032 Fix XtWarnings at startup
git-svn-id: svn://10.0.0.236/trunk@2586 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 23:09:27 +00:00
timm
e01ba4e043 tweak for preselected radio button fix
git-svn-id: svn://10.0.0.236/trunk@2585 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 23:06:14 +00:00
timm
d3593083fb remove 2stpwrap.htm
git-svn-id: svn://10.0.0.236/trunk@2583 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 22:38:53 +00:00
timm
66236a4c4d tweak progress bar
git-svn-id: svn://10.0.0.236/trunk@2582 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 22:38:00 +00:00
sfraser
e2ed047744 Added vr_stubs.c (which contains an implementation of strdup which overrides our strdup in NSStdLib, which is dangerous).
git-svn-id: svn://10.0.0.236/trunk@2579 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 22:24:38 +00:00
sfraser
5d8522be4e Changed to use .exp file for exports, so that stuff gets exported.
git-svn-id: svn://10.0.0.236/trunk@2576 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 22:23:41 +00:00
sfraser
b69b700d4a First Checked In.
git-svn-id: svn://10.0.0.236/trunk@2575 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 22:23:16 +00:00
troy
a09b0a2a9a Changed it so we don't position or size the view while in the middle
of reflowing. Now that's done in DidReflow()


git-svn-id: svn://10.0.0.236/trunk@2574 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 21:55:13 +00:00
buster
fb47d7c6ec added an optional # to viewer.exe command line switch -p. If a number is provided, it is used as the last sample to load when running in purify. This is useful for running just a the first sample
in purify, or a small number of samples, for example.


git-svn-id: svn://10.0.0.236/trunk@2571 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 21:39:40 +00:00
buster
d3a587c5ca set the groundwork for handling COLS attribute, and attributes on COLGROUP and COL tags. WIP.
set the groundwork for handling percentage-width tables.  Troy is adding a hook for me to get the correct width info from the parent.  WIP.


git-svn-id: svn://10.0.0.236/trunk@2570 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 21:39:22 +00:00
sfraser
5fde1a3b17 Fix the include files so that Types.r is found
git-svn-id: svn://10.0.0.236/trunk@2569 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 21:29:32 +00:00
rickg
a53de4875b fixed 2 bugs that prevented home.netscape.com from loading. WIP.
git-svn-id: svn://10.0.0.236/trunk@2565 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 21:14:27 +00:00
sfraser
a01dc1681b Fix {IncludeFiles}
git-svn-id: svn://10.0.0.236/trunk@2564 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 21:04:01 +00:00
sfraser
022c2e2b9b Export nsError.h
git-svn-id: svn://10.0.0.236/trunk@2562 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 20:50:24 +00:00
sfraser
3f35772326 Really fix the library name this time.
git-svn-id: svn://10.0.0.236/trunk@2561 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 20:49:02 +00:00
sfraser
43af9ee582 Fix the output directory, and the lib name for the debug shlb target
git-svn-id: svn://10.0.0.236/trunk@2559 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 20:29:47 +00:00
troy
54994fbcc6 Added some more WillReflow() calls
git-svn-id: svn://10.0.0.236/trunk@2558 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 20:12:02 +00:00
sfraser
43eda5dfda Don't define MOZILLA_CLIENT again (on the Mac), fer cryin' out loud
git-svn-id: svn://10.0.0.236/trunk@2557 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 20:10:18 +00:00
sfraser
fde346e8cc Fix a problem with the debug library name.
git-svn-id: svn://10.0.0.236/trunk@2556 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 20:03:23 +00:00
cyeh
72afdaae50 * remove all those annoying ^M's in the file.
* changed documentation to reflect new build system.
  NewAlias MPW tool now required.
  MacPerl application now required.
  StreamEdit MPW tool now required.
  Headers are exported to new dist area.
  Perl is now the scripting engine.


git-svn-id: svn://10.0.0.236/trunk@2555 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 20:01:37 +00:00
kipp
3f52aba142 Use mOpacity as a float in the nsStyleColor struct
git-svn-id: svn://10.0.0.236/trunk@2554 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 19:55:42 +00:00
kipp
afcc812131 Set value to 1.0F as a float
git-svn-id: svn://10.0.0.236/trunk@2553 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 19:55:15 +00:00
kipp
760038f9f4 Simplified mOpacity to a float
git-svn-id: svn://10.0.0.236/trunk@2552 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 19:54:50 +00:00
kipp
b6437fc343 Added STYLE= support (partially)
git-svn-id: svn://10.0.0.236/trunk@2551 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 19:44:36 +00:00
sfraser
bd05843056 Correct comment
git-svn-id: svn://10.0.0.236/trunk@2550 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 19:40:34 +00:00
sfraser
63e6adbdb0 Fix a warning about an uninitialized variable
git-svn-id: svn://10.0.0.236/trunk@2549 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 19:39:58 +00:00
sfraser
905fc56f75 Fix #error pragmas
git-svn-id: svn://10.0.0.236/trunk@2548 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 19:39:28 +00:00
sfraser
df88812a48 Fix a warning about an uninitialized variable when JAVA is not defined.
git-svn-id: svn://10.0.0.236/trunk@2547 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 19:39:05 +00:00
sfraser
5f093de03e Switch tinderbox to the new list of projects
git-svn-id: svn://10.0.0.236/trunk@2545 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 19:37:21 +00:00
sfraser
b41cc2365d Activate export.mac in mozilla:config:mac which should now be in the module
git-svn-id: svn://10.0.0.236/trunk@2544 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 19:37:02 +00:00
sfraser
ae22f11289 Turn on more compiler warnings
git-svn-id: svn://10.0.0.236/trunk@2542 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 19:36:37 +00:00
sfraser
3f19ee2dc6 Changes for the new build system, and unify prefix files.
git-svn-id: svn://10.0.0.236/trunk@2541 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 19:36:09 +00:00
cyeh
da75a2635e remove duplicate entry of mozilla/modules/schdulr in MozillaSourceCommon
git-svn-id: svn://10.0.0.236/trunk@2540 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 19:33:55 +00:00
pnunn
31ed1f7d62 fix #84300. print images to printer rez not screen rez.
git-svn-id: svn://10.0.0.236/trunk@2539 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 19:32:00 +00:00
sfraser
4b3df200c6 Changes for the new build system, and unify prefix files.
git-svn-id: svn://10.0.0.236/trunk@2538 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 19:27:24 +00:00
sfraser
9045ffc345 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@2537 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 19:24:32 +00:00
sfraser
e51185d273 Changes for new build system, and unified prefix files.
git-svn-id: svn://10.0.0.236/trunk@2536 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 19:22:54 +00:00
sfraser
b4abce86b4 Changes for new build system and unified prefix files.
git-svn-id: svn://10.0.0.236/trunk@2535 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 19:19:09 +00:00
sfraser
644516c52a Updating for new build system and prefix files.
git-svn-id: svn://10.0.0.236/trunk@2534 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 19:16:03 +00:00
pnunn
156cabb819 fix for #84300. print images at printer rez not screen rez
git-svn-id: svn://10.0.0.236/trunk@2533 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 19:07:40 +00:00
sfraser
710a5ed2a5 Changes for the new build system; unify prefix files.
git-svn-id: svn://10.0.0.236/trunk@2532 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 19:04:58 +00:00
troy
363a605781 Changed VerifyTree() to check that NS_FRAME_IN_REFLOW isn't set
git-svn-id: svn://10.0.0.236/trunk@2531 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 19:00:31 +00:00
sfraser
0f5ae2a51d Changed for new build system
git-svn-id: svn://10.0.0.236/trunk@2530 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 18:58:33 +00:00
pnunn
fc6eb86d7c fix #84300. print images at printer rez not screen rez.
git-svn-id: svn://10.0.0.236/trunk@2529 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 18:58:11 +00:00
sfraser
d4a52ff18f Changed for new build system, and comments on how this thing works.
git-svn-id: svn://10.0.0.236/trunk@2528 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 18:58:09 +00:00
sfraser
6f382af498 Changed for new build system, and to inlcude long comment about how this whole thing works.
git-svn-id: svn://10.0.0.236/trunk@2527 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 18:57:55 +00:00
sfraser
a1f9da0d57 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@2526 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 18:57:26 +00:00
pnunn
c9e85bd720 fix #84300. print image at printer rez not screen rez.
git-svn-id: svn://10.0.0.236/trunk@2525 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 18:57:05 +00:00
sfraser
6e50378dd1 Changed for new build system, and to put output of stubs project in dist:client_stubs
git-svn-id: svn://10.0.0.236/trunk@2524 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 18:53:57 +00:00
pnunn
0dddecb63a fix for #84300. print images at printer resolution not screen resolution.
git-svn-id: svn://10.0.0.236/trunk@2523 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 18:53:31 +00:00
sfraser
0fc30e6b1c Changed prefix file for new build system
git-svn-id: svn://10.0.0.236/trunk@2522 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 18:53:07 +00:00
sfraser
6c5edb8104 Replace a MIN with a locally defined Min()
git-svn-id: svn://10.0.0.236/trunk@2521 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 18:48:57 +00:00
kipp
482d1c4451 Port to new parser API
git-svn-id: svn://10.0.0.236/trunk@2520 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 18:40:23 +00:00
kipp
ea98683ca1 Revised argument handling and added code to test the ParseDeclarations css parser capability
git-svn-id: svn://10.0.0.236/trunk@2519 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 18:40:07 +00:00
kipp
1bf0cfd0b6 Revised API to be com-ish and added ParseDeclarations; implement ParseDeclartions using basic declaration handling routines
git-svn-id: svn://10.0.0.236/trunk@2518 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 18:39:42 +00:00
kipp
15197431ac Revised API to be com-ish and added ParseDeclarations
git-svn-id: svn://10.0.0.236/trunk@2517 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 18:39:08 +00:00
kipp
e5a638c35c Init refcnt properly
git-svn-id: svn://10.0.0.236/trunk@2516 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 18:38:32 +00:00
cyeh
845c6e85ce add mozilla/config/mac to MozillaSourceMacOnly as part of new build system.
git-svn-id: svn://10.0.0.236/trunk@2515 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 18:38:02 +00:00
troy
ea3a30a606 Added WillReflow() calls around reflowing of child frame
git-svn-id: svn://10.0.0.236/trunk@2514 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 18:37:56 +00:00
kostello
066a9ee625 Fix crasher loading mozilla.org page
git-svn-id: svn://10.0.0.236/trunk@2513 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 18:31:44 +00:00
selmer
0d0c63b1f0 Back out the IP stuff again
git-svn-id: svn://10.0.0.236/trunk@2512 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 18:20:00 +00:00
slamm
81cfe6418a change getURL() to take one less argument.
git-svn-id: svn://10.0.0.236/trunk@2511 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 18:14:00 +00:00
slamm
28ed9d31bd Make a distinction between stand-alone and embedded views. Stand-alone views show all the columns. Views embedded in the browser only show one column.
git-svn-id: svn://10.0.0.236/trunk@2510 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 17:41:47 +00:00
slamm
f49100e498 Change the nav center context from MWContextHistory to MWContextPane.
git-svn-id: svn://10.0.0.236/trunk@2509 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 17:41:44 +00:00
slamm
26d1e2f7fe Change getURL() to take only the urlStruct and not skip_get_url. It wasn't being used and it was confusing.src/BrowserDrop.cpp
git-svn-id: svn://10.0.0.236/trunk@2508 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 17:41:40 +00:00
slamm
4523b7631a Add a test case for the show/hide column behavior.
git-svn-id: svn://10.0.0.236/trunk@2507 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 17:41:34 +00:00
slamm
f1f6f0e1ab Add show/hide column buttons. Overload XmNvisibleColumns to set the actual number of visible columns when XmRESIZE_IF_POSIBLE is set. Previously, XmNvisibleColumns was used to request a width equal to an average column width times the number given. That behavior is still available when the horizontal size policy is XmCONSTANT.
git-svn-id: svn://10.0.0.236/trunk@2506 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 17:41:31 +00:00
morse
e29e2bc604 bug 122126, reviewed by mjudge
git-svn-id: svn://10.0.0.236/trunk@2504 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 17:41:09 +00:00
morse
c55ad343d6 bug 122126, reviewed by mjudge
git-svn-id: svn://10.0.0.236/trunk@2503 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 17:13:10 +00:00
kipp
1143ad5087 Default alignment of HR's is center
git-svn-id: svn://10.0.0.236/trunk@2501 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 17:10:17 +00:00
morse
774dc66bfd bug 122126, reviewed by valeski
git-svn-id: svn://10.0.0.236/trunk@2500 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 17:07:23 +00:00
kipp
3bcb8b4996 Fixed infinite loop in GetStyleSize code
git-svn-id: svn://10.0.0.236/trunk@2499 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 17:06:43 +00:00
kipp
03f29947f5 Eliminated bogus style from HR rule
git-svn-id: svn://10.0.0.236/trunk@2498 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 17:06:15 +00:00
kipp
a822df4a63 Support sizing properly; support width/height css (and attribute) style; elminate manual attribute storage
git-svn-id: svn://10.0.0.236/trunk@2497 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 17:05:39 +00:00
karnaze
36d98ad2fb fix bug in get submission
git-svn-id: svn://10.0.0.236/trunk@2495 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 16:00:15 +00:00
morse
d5565089fc bug 122126, reviewed by blythe
git-svn-id: svn://10.0.0.236/trunk@2494 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 15:35:21 +00:00
nisheeth
8baba2f927 Fix for bug 113155. We were losing the form_data->value of hidden text fields when executing "history.go(0)". Now we keep the value around between session history traversals. Thanks to ludovic for the fix.
----------------------------------------------------------------------


git-svn-id: svn://10.0.0.236/trunk@2492 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 14:24:16 +00:00
rickg
4d75e96e6d fixed class name crasher
git-svn-id: svn://10.0.0.236/trunk@2491 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 07:38:28 +00:00
ramiro
db5ab6bd3d Add macros to build unused widgets.
git-svn-id: svn://10.0.0.236/trunk@2490 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 07:26:08 +00:00
rickg
d26713dc46 modest improvements to push, and various bug fixes
git-svn-id: svn://10.0.0.236/trunk@2489 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 07:12:08 +00:00
sfraser
2d3e959eb3 Fix some project and lib names
git-svn-id: svn://10.0.0.236/trunk@2488 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 06:18:36 +00:00
sfraser
4027034ebc Fix the variable substitution, again
git-svn-id: svn://10.0.0.236/trunk@2486 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 05:52:42 +00:00
troy
c582c6488b Make sure we set the (x,y) before reflowing the frame
git-svn-id: svn://10.0.0.236/trunk@2485 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 05:41:59 +00:00
sfraser
397aea4430 Fix the variable substitution
git-svn-id: svn://10.0.0.236/trunk@2484 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 05:32:47 +00:00
sfraser
15edde0fe9 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@2483 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 05:16:58 +00:00
sfraser
0891fd8e06 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@2482 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 05:16:43 +00:00
sfraser
3894b2d566 Temporarily commenting out export.mac file in mozilla:config:mac, since this directory needs to be added to the MozillaSourceMac module.
git-svn-id: svn://10.0.0.236/trunk@2481 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 05:03:46 +00:00
rpotts
b5c0efe548 removed the B1M define... Use MODULAR_NETLIB instead...
git-svn-id: svn://10.0.0.236/trunk@2480 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 04:56:44 +00:00
rpotts
05a096f37c Removed B1M define and used MODULAR_NETLIB instead...
git-svn-id: svn://10.0.0.236/trunk@2479 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 04:55:51 +00:00
troy
27d5b5bdbe Changed Paint() to not check if the frame is a pseudo frame
git-svn-id: svn://10.0.0.236/trunk@2478 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 04:38:28 +00:00
cboatwri
5d7f7dc59d Added Directory (ldap) SDK source files for public release
git-svn-id: svn://10.0.0.236/trunk@2477 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 04:29:26 +00:00
cboatwri
bcc6f383bb Added Directory (ldap) SDK source files for public release
git-svn-id: svn://10.0.0.236/trunk@2476 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 04:23:42 +00:00
sfraser
bbe33e24af Fix a bug in the quoting of file names which caused problems with files with a hyphen in the name.
git-svn-id: svn://10.0.0.236/trunk@2475 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 04:07:53 +00:00
sfraser
07d9f8cb3d First Checked In.
git-svn-id: svn://10.0.0.236/trunk@2472 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 03:19:00 +00:00
scullin
f3a658f096 Checked in from the wrong $@%$#%$ tree.
git-svn-id: svn://10.0.0.236/trunk@2471 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 03:15:39 +00:00
mcafee
99dc022e95 Initial fullcircle module checkin
git-svn-id: svn://10.0.0.236/trunk@2470 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 03:00:49 +00:00
troy
4423b06d16 Added 'ns' prefix to class name
git-svn-id: svn://10.0.0.236/trunk@2468 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 02:37:37 +00:00
kipp
243bbe4f16 Added style support for the new css opacity property
git-svn-id: svn://10.0.0.236/trunk@2467 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 02:02:43 +00:00
kipp
0af82d79bd Revised HorizontallyPlaceChildren API to support a default alignment based on the layout direction
git-svn-id: svn://10.0.0.236/trunk@2466 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 02:02:22 +00:00
kipp
0f84787aa8 Use revised HorziontallyPlaceChildren api
git-svn-id: svn://10.0.0.236/trunk@2465 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 02:01:50 +00:00
kipp
a1e84139ce Use default text alignment; setup opacity properly
git-svn-id: svn://10.0.0.236/trunk@2464 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 02:01:19 +00:00
kipp
855722caee Added text_align_default for better direction handling
git-svn-id: svn://10.0.0.236/trunk@2463 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 02:00:59 +00:00
kipp
1842fc5cd8 Added mOpacity to nsStyleColor
git-svn-id: svn://10.0.0.236/trunk@2462 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 01:59:38 +00:00
kipp
f0567815a9 new
git-svn-id: svn://10.0.0.236/trunk@2461 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 01:58:58 +00:00
morse
3a25f69d6e check-in for garrett
git-svn-id: svn://10.0.0.236/trunk@2460 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 01:49:21 +00:00
scullin
3097cad210 Fix mac build bustage.
git-svn-id: svn://10.0.0.236/trunk@2459 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 01:31:47 +00:00
sfraser
28d26264cc First Checked In.
git-svn-id: svn://10.0.0.236/trunk@2457 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 01:24:19 +00:00
scullin
e7cc5af4d2 Fix Mac build.
git-svn-id: svn://10.0.0.236/trunk@2454 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 01:18:42 +00:00
kipp
834cd63031 Added a new property
git-svn-id: svn://10.0.0.236/trunk@2453 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 01:11:30 +00:00
cyeh
28a5660932 sigh. one more time. add mozilla/modules/libnls as part of the mail/news
integration effort.


git-svn-id: svn://10.0.0.236/trunk@2452 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 01:08:55 +00:00
cyeh
abb3b256a3 added mozilla/modules/calendar to MozillaCommon as part of the mail/news
integration effort


git-svn-id: svn://10.0.0.236/trunk@2451 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 01:00:19 +00:00
jevering
354c2123f5 Unwhack Rick's change.
git-svn-id: svn://10.0.0.236/trunk@2450 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 00:57:25 +00:00
scullin
a03e49ff46 Fully land MODULAR_NETLIB branch on windows.
git-svn-id: svn://10.0.0.236/trunk@2449 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 00:52:44 +00:00
ftang
3c7d0866f3 add euro sign. approved by dp
git-svn-id: svn://10.0.0.236/trunk@2448 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 00:49:35 +00:00
karnaze
c71fc09344 fixed memory leak from prev checkin
git-svn-id: svn://10.0.0.236/trunk@2447 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 00:42:26 +00:00
spider
ea64ef1e2e Fixes to support latest GFX changes
git-svn-id: svn://10.0.0.236/trunk@2443 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 00:23:10 +00:00
spider
5937630273 Fix NSPR circly dependency thing
git-svn-id: svn://10.0.0.236/trunk@2442 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 00:22:34 +00:00
jevering
672bf8b1cb Added parser message dispatch loop for debug robot to pump netlib
and complete individual parsing.


git-svn-id: svn://10.0.0.236/trunk@2441 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 00:22:11 +00:00
spider
7faae8033a Get TREX running on UNIX again
git-svn-id: svn://10.0.0.236/trunk@2440 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 00:21:57 +00:00
jevering
21f4b2f1e9 Changing the debug robot to be able to cope with the parser push model.
Updated the robot sink apis.
Fixed the global url holder in the destructor of the parser.
Changed the robot observer to set a flag when completed parsing of a
url so that it doesn't create lottsa little parsers.


git-svn-id: svn://10.0.0.236/trunk@2439 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 00:21:34 +00:00
scullin
4157160681 Remove SOCKET_ERRNO and xp_sock.h from network
git-svn-id: svn://10.0.0.236/trunk@2438 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 00:19:49 +00:00
scc
a5eee274d7 Exploit new routine BuildProjectClean($;$). Fixed $dist_dir use to be consistent with standard use of variables for directories (i.e., include the trailing colon). Unified some small $DEBUG logic.
git-svn-id: svn://10.0.0.236/trunk@2437 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 00:19:43 +00:00
scullin
b713c5c1a8 Remove SOCKET_ERRNO from mozilla/network.
git-svn-id: svn://10.0.0.236/trunk@2436 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 00:18:29 +00:00
scullin
bbfde797e0 Eliminate SOCKET_ERRNO and xp_sock.h
git-svn-id: svn://10.0.0.236/trunk@2435 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 00:17:37 +00:00
scc
8b1d7177ce Added additional parameter to BuildProject: a boolean which, when true, forces a full build via `remove object code'
git-svn-id: svn://10.0.0.236/trunk@2434 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 00:16:44 +00:00
scc
4e38154099 Added BuildProjectClean($;$), like BuildProject, but forces a `remove object code'. Factored the two routines into a private build_project($$$)
git-svn-id: svn://10.0.0.236/trunk@2433 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 00:15:54 +00:00
karnaze
4fda063ac0 gui events store nsISupports; improved forms event handling
git-svn-id: svn://10.0.0.236/trunk@2432 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 23:58:07 +00:00
sfraser
0d27b0a629 Changed exports
git-svn-id: svn://10.0.0.236/trunk@2430 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 23:57:48 +00:00
sfraser
de6e715c62 Changed the target name to "Stubs" so that remove binaries happens each time, to guarentee that dist happens.
git-svn-id: svn://10.0.0.236/trunk@2429 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 23:54:02 +00:00
sfraser
9234dfdcee Changed the target name of the MakeDist project to "Stubs" so that binaries are removed on every build.
git-svn-id: svn://10.0.0.236/trunk@2428 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 23:53:31 +00:00
eyork
e3c9d24c1c Adding files for calendar mime handler. This is not yet hooked into mozilla.
git-svn-id: svn://10.0.0.236/trunk@2427 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 23:44:03 +00:00
kipp
9c836bc876 Parse (and ignore) important declarations
git-svn-id: svn://10.0.0.236/trunk@2426 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 23:38:16 +00:00
kipp
39db2c7f41 new
git-svn-id: svn://10.0.0.236/trunk@2425 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 23:37:21 +00:00
pinkerton
5fead38dcc obsolete just a few more LGA* files.
git-svn-id: svn://10.0.0.236/trunk@2423 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 23:23:23 +00:00
wtc
e1c7878a44 Removed unused variables. Thanks to Wei Tsang Ooi
<weitsang@cs.cornell.edu> for the patch.


git-svn-id: svn://10.0.0.236/trunk@2422 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 23:21:10 +00:00
wtc
4d04c2a5ce Use the stabs debug format on Solaris x86, because the default dwarf
format does not work.  This patch is provided by Soren Juul Moller
<sjm@nwc.dk>.


git-svn-id: svn://10.0.0.236/trunk@2420 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 23:15:32 +00:00
wtc
491e021a91 Merged gcc support from the HP-UX Mozilla Patching Kit version 3.00
(http://hpux.csc.liv.ac.uk/hppd/mozilla/), maintained by
Richard K Lloyd <hpux@csc.liv.ac.uk>.


git-svn-id: svn://10.0.0.236/trunk@2419 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 23:13:47 +00:00
rpotts
c1108773df Changed NET_WritePostData(...) to only send a CRLF between headers and data if both are present... On in the modular netlib, headers can be placed in the URL_s->post_data... This cahnge is ifdef B1M
git-svn-id: svn://10.0.0.236/trunk@2418 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 23:07:13 +00:00
rpotts
16efd4b73b Added B1M define if the MODULAR_NETLIB environment variable is defined...
git-svn-id: svn://10.0.0.236/trunk@2417 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 23:05:18 +00:00
rpotts
7fe06ecb1d Added support for XP_FindCOntextOfType(....) This is needed to turn off the poll_netlib_all_the_time flag after a POST has occurred
git-svn-id: svn://10.0.0.236/trunk@2416 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 23:04:11 +00:00
rpotts
75cb8edc90 Null terminate the post databuffer...
git-svn-id: svn://10.0.0.236/trunk@2415 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 23:03:05 +00:00
cyeh
40ed381c57 turn on moz_medium (turn off moz_lite)
git-svn-id: svn://10.0.0.236/trunk@2414 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 22:57:32 +00:00
sfraser
89cd69560c Fix warnings
git-svn-id: svn://10.0.0.236/trunk@2413 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 22:55:38 +00:00
sfraser
9649279ca2 Remove an obsolete prefix file
git-svn-id: svn://10.0.0.236/trunk@2412 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 22:53:47 +00:00
sfraser
c30964cead Changed to use NewAlias instead of dupicate for making headers in dist
git-svn-id: svn://10.0.0.236/trunk@2411 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 22:53:17 +00:00
sfraser
4849021fab Fix warnings
git-svn-id: svn://10.0.0.236/trunk@2410 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 22:47:28 +00:00
sfraser
c10c97cb1b Added a need comma, and added lines to build Client resource targets. Also changed name of final project from Navigator to Client.
git-svn-id: svn://10.0.0.236/trunk@2409 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 22:47:14 +00:00
scc
ed6abb94e6 missing project files now counts as an error w.r.t. StopForErrors(). Cleaned up MakeAlias a little.
git-svn-id: svn://10.0.0.236/trunk@2408 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 22:40:36 +00:00
kipp
6aeed36e66 Set x,y coordinate of frame before reflowing it
git-svn-id: svn://10.0.0.236/trunk@2407 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 22:24:57 +00:00
scullin
0375c753f7 Landing MODULAR_NETLIB_BRANCH on windows.
git-svn-id: svn://10.0.0.236/trunk@2406 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 22:13:00 +00:00
scullin
6a0c8ea696 Fix bool type mismatch.
git-svn-id: svn://10.0.0.236/trunk@2403 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 21:18:25 +00:00
cyeh
b4cb3f29b7 updated LEGAL file to reflect non-infringement of WANG patent, and option
to appeal.


git-svn-id: svn://10.0.0.236/trunk@2402 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 21:17:37 +00:00
sfraser
35dee2f6a2 Fixed MakeAlias to give better errors, and to work.
git-svn-id: svn://10.0.0.236/trunk@2401 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 21:14:11 +00:00
sfraser
3627d9d93f Added code to remove binaries from stubs targets before building them.
git-svn-id: svn://10.0.0.236/trunk@2400 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 21:13:29 +00:00
sfraser
56f8574831 Added copyright, put in MOZ_LITE definition.
git-svn-id: svn://10.0.0.236/trunk@2399 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 21:12:59 +00:00
sfraser
2554c38ada Updated to point to the new projects, and use the MakeAlias routine.
git-svn-id: svn://10.0.0.236/trunk@2398 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 21:10:54 +00:00
kipp
90a0e806d2 Use new line layout struct; pass in word break info to line layout
git-svn-id: svn://10.0.0.236/trunk@2397 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 21:07:30 +00:00
kipp
c7f7ce710d Moved certain line layout state into a state struct that can be saved/restored for word breaking
git-svn-id: svn://10.0.0.236/trunk@2396 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 21:07:10 +00:00
kipp
61dcf31ce0 Moved certain line layout state into a state struct that can be saved/restored for word breaking; updated code to use it; fixed up split line logic to use state to compute push count; added in word breaking logic; eliminated old word break code
git-svn-id: svn://10.0.0.236/trunk@2395 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 21:06:55 +00:00
kipp
f10d10eb50 Added DidFit/CanFit predicates; removed cruft
git-svn-id: svn://10.0.0.236/trunk@2394 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 21:06:03 +00:00
kipp
ba58cf168c Removed cruft; fixed to use canfit/didfit predicates that check on word-breaking state; fixed long standing bug with last-content-complete in pullup code
git-svn-id: svn://10.0.0.236/trunk@2393 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 21:05:47 +00:00
kipp
73e6662d13 Updated to use lineLayout struct changes
git-svn-id: svn://10.0.0.236/trunk@2392 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 21:05:13 +00:00
kipp
ac90a0457e nop
git-svn-id: svn://10.0.0.236/trunk@2391 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 21:04:53 +00:00
kipp
fef14caafd Only perform horizontal alignment when there is room to do it
git-svn-id: svn://10.0.0.236/trunk@2390 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 21:04:33 +00:00
karnaze
7e760f96e7 removed printf
git-svn-id: svn://10.0.0.236/trunk@2389 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 21:04:23 +00:00
cyeh
09e6e142e3 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@2386 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 20:38:39 +00:00
sfraser
08b5bba656 Updated comment
git-svn-id: svn://10.0.0.236/trunk@2385 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 20:35:52 +00:00
akkana
6ea3a86934 Re-enable -composer and -edit flags (they were disabled under MOZ_MAIL_NEWS).
Also clean up a couple of warnings.


git-svn-id: svn://10.0.0.236/trunk@2384 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 20:26:01 +00:00
scc
925bc36315 removed erroneous commas from export lists
git-svn-id: svn://10.0.0.236/trunk@2383 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 20:19:31 +00:00
waldemar
3f6f86757c Fixed bug 114508: delete can now delete fields of objects put into scope by with statements
git-svn-id: svn://10.0.0.236/trunk@2381 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 20:10:13 +00:00
morse
599a68f6e5 removed ifdefs, mac busted fixed
git-svn-id: svn://10.0.0.236/trunk@2379 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 20:06:00 +00:00
hardts
d224ba7688 change raptor to nglayout
git-svn-id: svn://10.0.0.236/trunk@2378 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 20:00:40 +00:00
karnaze
b2212278c9 fix irix build
git-svn-id: svn://10.0.0.236/trunk@2377 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 19:57:03 +00:00
pinkerton
55e683689b Port to new AM classes of security button.
git-svn-id: svn://10.0.0.236/trunk@2376 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 19:55:09 +00:00
pinkerton
0795bce6bf add NET_DeleteCookie for RDF.
git-svn-id: svn://10.0.0.236/trunk@2375 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 19:54:01 +00:00
scc
cc9c1e39ae Added MakeAlias, an error checking synonym for symlink. Moved some routines to @EXPORT from @EXPORT_OK, to make for more concise clients.
git-svn-id: svn://10.0.0.236/trunk@2374 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 19:52:28 +00:00
morse
daacb3e5e2 bug 122126, reviewd by valeski
git-svn-id: svn://10.0.0.236/trunk@2373 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 19:46:30 +00:00
morse
e033f40035 bug 122126, reviewed by valeski
git-svn-id: svn://10.0.0.236/trunk@2369 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 19:34:31 +00:00
morse
3ac0fa7e60 bug 122126, approved by valeski
git-svn-id: svn://10.0.0.236/trunk@2367 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 19:32:19 +00:00
scullin
f63d10a871 Strip out XP functions from last bug fix.
git-svn-id: svn://10.0.0.236/trunk@2364 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 18:50:54 +00:00
karnaze
ca8a2b30ce post submission, file content submission
git-svn-id: svn://10.0.0.236/trunk@2355 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 17:51:41 +00:00
pinkerton
ac438678e6 Removal of LGA* stuff in prefs.
git-svn-id: svn://10.0.0.236/trunk@2354 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 17:29:01 +00:00
pinkerton
2e899db9e9 removal of LGA* stuff
git-svn-id: svn://10.0.0.236/trunk@2353 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 17:27:50 +00:00
michaelp
9c7b6d8d1b added region to factory.
git-svn-id: svn://10.0.0.236/trunk@2352 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 17:11:37 +00:00
morse
4de633d5a8 attempt to fix mac bustage
git-svn-id: svn://10.0.0.236/trunk@2350 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 15:08:35 +00:00
shaver
aca06adb66 tracking ref fixes: XDR and jsnum
git-svn-id: svn://10.0.0.236/trunk@2349 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 14:24:39 +00:00
shaver
69c0f00221 allow NULL Scripts for JS_NewScriptObject
git-svn-id: svn://10.0.0.236/trunk@2348 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 14:18:51 +00:00
morse
1c50215a24 bug 122126, reviewed by guha
git-svn-id: svn://10.0.0.236/trunk@2347 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 08:15:49 +00:00
morse
3cbd932a72 bug 122126, reviewed by valeski
git-svn-id: svn://10.0.0.236/trunk@2345 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 08:06:33 +00:00
hshaw
82e7979a06 Fix for Rhapsody build, thanks toshok@netscape.com, also remove some improper wording
git-svn-id: svn://10.0.0.236/trunk@2342 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 07:33:12 +00:00
morse
6dd0737902 bug 122126, reviewed by atotic
git-svn-id: svn://10.0.0.236/trunk@2340 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 07:31:15 +00:00
morse
48c842a852 bug 122126, reviewed by aoki
git-svn-id: svn://10.0.0.236/trunk@2339 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 07:24:36 +00:00
scc
8215a118ba added symlink lines, most still need to be completed with final product names; dist directory probably needs to be set correctly
git-svn-id: svn://10.0.0.236/trunk@2338 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 05:46:21 +00:00
mccabe
1403ada266 Conditionalized a (jsint) cast to ask JSDOUBLE_IS_NaN first -
hopefully avoiding a SIGPFE on Alpha Linux.  (And others?)


git-svn-id: svn://10.0.0.236/trunk@2335 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 04:53:37 +00:00
timm
9144c3b087 fix threading problem with thermo bar
git-svn-id: svn://10.0.0.236/trunk@2334 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 03:36:23 +00:00
timm
f70fcc46ce Sols changes
git-svn-id: svn://10.0.0.236/trunk@2333 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 03:35:09 +00:00
timm
4d6fd3d15c remove debugging stubs
git-svn-id: svn://10.0.0.236/trunk@2332 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 03:34:57 +00:00
timm
2328897d3e add getSelectedISPName
git-svn-id: svn://10.0.0.236/trunk@2331 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 03:34:14 +00:00
timm
c2b35bd975 remove debugging stub
git-svn-id: svn://10.0.0.236/trunk@2330 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 03:33:37 +00:00
timm
fea8bc8078 117255 fix for null exception
git-svn-id: svn://10.0.0.236/trunk@2329 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 03:32:53 +00:00
timm
bea1cec239 Sols changes, fix for 97647
git-svn-id: svn://10.0.0.236/trunk@2328 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 03:31:09 +00:00
spider
582fd7877f Allow mkdepend to be built on windoze
git-svn-id: svn://10.0.0.236/trunk@2327 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 02:27:09 +00:00
spider
2afd1eef7d windows dep. stuff
git-svn-id: svn://10.0.0.236/trunk@2326 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 02:14:26 +00:00
michaelp
d4e2a5a20c added support for front-to-back view rendering.
git-svn-id: svn://10.0.0.236/trunk@2325 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 02:13:28 +00:00
tague
55e417dfe9 added libnls headers to public build
git-svn-id: svn://10.0.0.236/trunk@2324 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 02:02:27 +00:00
scullin
35ec9fcc3e Enable html coloring stream converter in modular netlib.
git-svn-id: svn://10.0.0.236/trunk@2322 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 01:28:29 +00:00
scullin
5fdece0330 Change magic emacs line to reflect correct tab size.
git-svn-id: svn://10.0.0.236/trunk@2321 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 01:27:50 +00:00
scullin
0dbf249dce Don't build mkstream.c with modular netlib
git-svn-id: svn://10.0.0.236/trunk@2320 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 01:26:05 +00:00
scullin
d960e37ced Enable more protocols
git-svn-id: svn://10.0.0.236/trunk@2319 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 01:24:22 +00:00
scullin
31fb3c746d Rebuild when sub-libraries change.
git-svn-id: svn://10.0.0.236/trunk@2318 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 01:24:05 +00:00
spider
06abfe228b Adding makedep to gconfig
git-svn-id: svn://10.0.0.236/trunk@2316 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 00:59:31 +00:00
sfraser
7f9b0a7fe2 Added some more headers to export
git-svn-id: svn://10.0.0.236/trunk@2315 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 00:53:55 +00:00
sfraser
4d0cc4402f First Checked In.
git-svn-id: svn://10.0.0.236/trunk@2314 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 00:53:25 +00:00
sfraser
8703114e8b Addd some more export files
git-svn-id: svn://10.0.0.236/trunk@2313 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 00:53:11 +00:00
sfraser
5f209ad760 Updated the list of export.mac files
git-svn-id: svn://10.0.0.236/trunk@2311 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 00:50:22 +00:00
sfraser
df4052e541 Fixing bugs in the scripts that copy headers into dist. Now allow trailing #comments, and handle whitespace after file names.
git-svn-id: svn://10.0.0.236/trunk@2310 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-27 00:50:08 +00:00
buster
db2f93e156 fixed case-sensitive include
git-svn-id: svn://10.0.0.236/trunk@2307 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-26 23:28:48 +00:00
peterl
e232225565 added visibility style attribute
git-svn-id: svn://10.0.0.236/trunk@2306 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-26 23:17:29 +00:00
peterl
86b7ae08b5 moved attributes around
git-svn-id: svn://10.0.0.236/trunk@2305 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-26 23:16:55 +00:00
peterl
779a602187 added visibility style attribute
moved attributes from position to display struct


git-svn-id: svn://10.0.0.236/trunk@2304 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-26 23:15:47 +00:00
peterl
ef76e4aa4a use context graph for finding contexts
git-svn-id: svn://10.0.0.236/trunk@2303 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-26 23:14:56 +00:00
peterl
9050d134bb cleaned up visibility
git-svn-id: svn://10.0.0.236/trunk@2302 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-26 23:14:29 +00:00
peterl
f264deae62 reworked up reset code
added child list


git-svn-id: svn://10.0.0.236/trunk@2301 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-26 23:14:09 +00:00
peterl
2a8bcff4d7 cleanup
git-svn-id: svn://10.0.0.236/trunk@2300 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-26 23:13:26 +00:00
peterl
16a18a6b6d moved overflow from position to display struct
git-svn-id: svn://10.0.0.236/trunk@2299 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-26 23:13:15 +00:00
peterl
e280fe1c34 documented reset vs inherited attributes
shuffled some attributes around


git-svn-id: svn://10.0.0.236/trunk@2298 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-26 23:12:14 +00:00
waldemar
6f622be91c Fixed bug 117404: typeof should return "function" on scripts and regular expressions.
git-svn-id: svn://10.0.0.236/trunk@2295 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-26 22:11:00 +00:00
buster
314c1c9eb4 table width computation using style system (more than it used to, at least)
git-svn-id: svn://10.0.0.236/trunk@2294 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-26 22:03:16 +00:00
waldemar
66bf5ae377 Fixed syntax errors
git-svn-id: svn://10.0.0.236/trunk@2291 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-26 21:25:41 +00:00
kostello
b9b928f869 Updated Table Border code to render HTML3.2 compatible borders (no longer using the cool,
CSS borders).
Fixed Table but submitted by Isaac David Guedalia <daniel_sh@gezernet.co.il>.


git-svn-id: svn://10.0.0.236/trunk@2288 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-26 20:57:24 +00:00
kostello
557fb3323f Moved Get3DColors from HRPart to CSSRendering.
Modified Border Drawing Code to use Get3DColors for backwards compatibility purposes.


git-svn-id: svn://10.0.0.236/trunk@2287 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-26 20:52:59 +00:00
kostello
3b45b56e92 Moved Get3DColors from HRPart to CSSRendering.
git-svn-id: svn://10.0.0.236/trunk@2286 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-26 20:52:12 +00:00
scc
17b0861b94 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@2283 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-26 19:48:03 +00:00
scc
0b0f644879 Added code to handle the `stop for errors, but not logging' case; moved copyright to (newly added) POD section
git-svn-id: svn://10.0.0.236/trunk@2282 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-26 19:46:36 +00:00
scc
9bc43c2d77 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@2281 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-26 19:36:10 +00:00
scc
ceebd16267 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@2280 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-26 19:34:23 +00:00
ftang
bdcc75c122 fix the x-x-big5(and also gb2312, ksc5601) problem MS FrontPage introduced
for UNIX and Mac. The Window fixed eariler.


git-svn-id: svn://10.0.0.236/trunk@2278 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-26 19:18:47 +00:00
radha
002970c8f4 Re-fix for earlier fix for bug # 104761. Re-fix provided by timm. See bug report
for further details.


git-svn-id: svn://10.0.0.236/trunk@2277 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-26 19:05:32 +00:00
ftang
6e7465ed87 Fix NO-ending-SI problem for EUC-KR to ISO-2022-KR conversion
Thanks Jungshik Shin <jshin@pantheon.yale.edu> from the net and Erik van der Poel


git-svn-id: svn://10.0.0.236/trunk@2276 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-26 18:52:50 +00:00
radha
0bf82aa7dc New resources for the "Show/Hide Navigation Center" menu option
git-svn-id: svn://10.0.0.236/trunk@2275 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-26 18:52:01 +00:00
radha
33443f536a Add new command xfeToggleNavCenter to show/hide Aurora pane
git-svn-id: svn://10.0.0.236/trunk@2274 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-26 18:51:12 +00:00
radha
493b237768 Add BrowserView to the source files list.
git-svn-id: svn://10.0.0.236/trunk@2273 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-26 18:50:25 +00:00
radha
fabf4d340b Use BrowserView instead of HTML View. BrowserView holds a HTML view and a
NavCenter. Create a new menu option "Show/Hide NavCenter".


git-svn-id: svn://10.0.0.236/trunk@2272 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-26 18:49:53 +00:00
radha
5cf9772f51 Initial Checkin. This is the new view for all browser frames. It holds a HTML
View and a Nav Center View. Navcenter is currently turned off by default. It
can be  turned on with the "Show Navigation Center"  menu option.


git-svn-id: svn://10.0.0.236/trunk@2271 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-26 18:48:14 +00:00
pinkerton
3f7244a881 Status bar now uses appearance to draw progress bar separate from status text. Related Netscape classes that do the same thing obsoleted.
git-svn-id: svn://10.0.0.236/trunk@2267 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-26 16:32:05 +00:00
pinkerton
e5d0c4da33 default button again works in profile picker dialog.
git-svn-id: svn://10.0.0.236/trunk@2266 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-26 16:30:42 +00:00
ltabb
bbbb26567e this is a test for judd, no code effect
git-svn-id: svn://10.0.0.236/trunk@2265 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-26 14:51:51 +00:00
shaver
ca7d9cbe28 actually define the function properties of a script when decoding
git-svn-id: svn://10.0.0.236/trunk@2262 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-26 13:25:26 +00:00
shaver
6b2c0b6ca0 preserve sprop->id across XDR
git-svn-id: svn://10.0.0.236/trunk@2261 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-26 12:18:18 +00:00
ramiro
a67670f676 Change the logic of the || operators. This fixes a problem where the
bookmark window was asserting for no reason.
Thanks to Andrew Veliath <andrewtv@usa.net>


git-svn-id: svn://10.0.0.236/trunk@2260 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-26 12:15:44 +00:00
ramiro
fc422af5d8 In mozilla.c it says that XFE_InitDNS_Early is called before NSPR, etc.; but
the LOG macro calls PR_smprintf which fires up NSPR.    Use fprintf instead
of LOG() for this case.
Thanks to tenthumbs@cybernex.net.


git-svn-id: svn://10.0.0.236/trunk@2259 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-26 11:08:10 +00:00
ramiro
110ffa00cd Mozilla crashed after visiting a page with plugin. This is caused
by an access to a NULL pointer (plugin->handle).
Thanks to weitsang@yahoo.com
Fixes bugzilla #409.


git-svn-id: svn://10.0.0.236/trunk@2258 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-26 10:58:59 +00:00
troy
d2d4e15ea4 Merged ResizeReflow() and IncrementalReflow() into one Reflow() member function
git-svn-id: svn://10.0.0.236/trunk@2253 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-25 17:31:49 +00:00
guha
75cecf8781 Mac ifdef bustage fixage
git-svn-id: svn://10.0.0.236/trunk@2249 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-24 01:13:55 +00:00
guha
36a7576bb9 Add test.c : This file is not in the client build but is meant as
a sample file for those who want to use the XML module in standalone
mode.

Added a bunch of ifdefs for getting the standalone mode.


git-svn-id: svn://10.0.0.236/trunk@2248 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-24 00:27:54 +00:00
spider
a329725d0b Support for resource files on win32 - other platforms currently
ignore the RESFILE and RCFILE variables


git-svn-id: svn://10.0.0.236/trunk@2246 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-23 18:34:48 +00:00
spider
7fcbc136f4 Support for Julian and nls prior to FreeSource move to /m/pub
git-svn-id: svn://10.0.0.236/trunk@2245 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-23 18:34:15 +00:00
scullin
19b636f12a Only build module with nglayout.
git-svn-id: svn://10.0.0.236/trunk@2241 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-23 03:54:56 +00:00
briano
924dbfe9d2 Fixing the SCO OpenServer builds. Need to define _SVID3 in this special case so including statvfs.h will give us what we need. Anyone want to volunteer a more elegant solution? Approved by ramiro@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@2240 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-23 03:46:19 +00:00
scullin
22acc06189 Landing modular netlib on Window.
git-svn-id: svn://10.0.0.236/trunk@2236 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-23 01:38:10 +00:00
scullin
14adc6359a Added modular netlib to nglayout/Raptor
git-svn-id: svn://10.0.0.236/trunk@2235 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-23 01:36:28 +00:00
scullin
6e902be1c6 Updated for modular netlib
git-svn-id: svn://10.0.0.236/trunk@2234 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-23 01:35:51 +00:00
scullin
9916a96f39 Fix nglayout build.
git-svn-id: svn://10.0.0.236/trunk@2232 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-23 01:28:11 +00:00
sfraser
4d3a73a6a0 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@2231 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-23 01:14:17 +00:00
scullin
97ebcd1ae6 Fix printing of nsString.
git-svn-id: svn://10.0.0.236/trunk@2228 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-23 00:28:02 +00:00
rjc
596d7a6b33 Fix FTP on Mac. (Approval by module owner: gagan)
git-svn-id: svn://10.0.0.236/trunk@2227 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-23 00:09:18 +00:00
scullin
10222065f1 Landed raptor modular netlib stuff
git-svn-id: svn://10.0.0.236/trunk@2225 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 23:38:40 +00:00
hardts
cfef75c533 XPCOM has now landed on the tip
git-svn-id: svn://10.0.0.236/trunk@2224 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 22:41:37 +00:00
hardts
053114cc3c was 0 length file after landing branch, copy in the branch version
git-svn-id: svn://10.0.0.236/trunk@2223 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 22:34:32 +00:00
hardts
35e38c9902 TestID.cpp didn't get branch changes for some reason, adding them now.
git-svn-id: svn://10.0.0.236/trunk@2221 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 22:30:53 +00:00
cyeh
cd4e15a1f7 add file vr_stubs.c to libreg as part of the XPCOM_BRANCH landing
git-svn-id: svn://10.0.0.236/trunk@2219 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 22:01:45 +00:00
hardts
217d4a9900 landing XPCOM_BRANCH
git-svn-id: svn://10.0.0.236/trunk@2218 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 21:56:30 +00:00
hardts
d583c3a3b9 land XPCOM_BRANCH
git-svn-id: svn://10.0.0.236/trunk@2217 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 21:55:49 +00:00
cyeh
4222ef6c58 assist with XPCOM_BRANCH landing. add files nsDebug.cpp and nsSupportsArray.cpp to projects
git-svn-id: svn://10.0.0.236/trunk@2215 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 21:52:45 +00:00
pinkerton
6fc714fb0e More appearance manager changes. Support for toolbar buttons being AM savvy. (appr sdagley).
git-svn-id: svn://10.0.0.236/trunk@2213 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 20:25:42 +00:00
pinkerton
29536f7fbb First Checked In.
git-svn-id: svn://10.0.0.236/trunk@2212 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 20:23:25 +00:00
kipp
2f9b3b6470 Including missing nsCoord
git-svn-id: svn://10.0.0.236/trunk@2211 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 20:11:42 +00:00
kipp
3ff4de3bf3 Added -md argument handling
git-svn-id: svn://10.0.0.236/trunk@2210 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 20:11:14 +00:00
rickg
8da56df062 fixed bug in form -- form flag was never being set to true
git-svn-id: svn://10.0.0.236/trunk@2204 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 19:31:38 +00:00
cyeh
b41a29c6af A utility batch file for setting all the necessary environment variables
that needed to build Mozilla for Win32.  Contributed by Lucas Gonze
(lucas@gonze.com) and Rick Ekle (rekle@iconect.net).  You'll need to edit
this file to point it at the location of your development environment and your
local copy of the source tree.


git-svn-id: svn://10.0.0.236/trunk@2203 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 19:30:23 +00:00
rickg
57d6142350 fixed a minor build problem with blender
git-svn-id: svn://10.0.0.236/trunk@2202 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 19:16:08 +00:00
guha
bb4e0c0672 Fix crashing bug caused by very long string being passed to FE_Trace
git-svn-id: svn://10.0.0.236/trunk@2201 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 18:51:38 +00:00
kipp
5906363e28 Let .cpp compilations KEEP the .cfg file too
git-svn-id: svn://10.0.0.236/trunk@2200 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 18:43:34 +00:00
kipp
04d414f623 Fixed windows cvpack problem
git-svn-id: svn://10.0.0.236/trunk@2199 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 18:41:08 +00:00
kipp
c6d6b4ec78 Removed a pile of includes
git-svn-id: svn://10.0.0.236/trunk@2198 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 18:39:28 +00:00
kipp
a38d94f629 Move padding out of UL/OL and into LI's that are in UL/OL's
git-svn-id: svn://10.0.0.236/trunk@2197 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 18:39:11 +00:00
kipp
3409cd9d61 Use new GetVisibleArea API
git-svn-id: svn://10.0.0.236/trunk@2196 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 18:38:33 +00:00
kipp
bd1b101779 Support LI's with padding instead of UL padding
git-svn-id: svn://10.0.0.236/trunk@2195 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 18:38:11 +00:00
gagan
abcef8c094 Unix builds. Not in the main build yet.
git-svn-id: svn://10.0.0.236/trunk@2194 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 18:38:10 +00:00
kipp
72ef1d9055 Removed some dead code; added code to DidReflow children at a good spot
git-svn-id: svn://10.0.0.236/trunk@2193 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 18:37:49 +00:00
kipp
48eb9c0084 Removed some includes
git-svn-id: svn://10.0.0.236/trunk@2192 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 18:37:25 +00:00
kipp
08c1e11e08 Removed an include
git-svn-id: svn://10.0.0.236/trunk@2191 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 18:37:15 +00:00
kipp
32b44a6565 Declare nsStylePosition
git-svn-id: svn://10.0.0.236/trunk@2190 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 18:37:04 +00:00
kipp
8e76027a72 Removed includes; updated GetVisibleArea API
git-svn-id: svn://10.0.0.236/trunk@2189 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 18:36:40 +00:00
kipp
d81b9d196e updated GetVisibleArea API
git-svn-id: svn://10.0.0.236/trunk@2188 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 18:36:27 +00:00
gagan
b64eb63d71 strlen to PL_strlen. Not in the build yet.
git-svn-id: svn://10.0.0.236/trunk@2187 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 18:34:22 +00:00
kipp
60a0ef89f7 Removed includes
git-svn-id: svn://10.0.0.236/trunk@2186 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 18:28:40 +00:00
kipp
acaaec9578 Only verify last is complete when enabled
git-svn-id: svn://10.0.0.236/trunk@2185 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 18:28:29 +00:00
kipp
e62719b058 Removed unneeded include
git-svn-id: svn://10.0.0.236/trunk@2184 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 18:28:02 +00:00
kipp
3cf90601b8 Repaired GetVisibleArea API
git-svn-id: svn://10.0.0.236/trunk@2183 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 18:27:48 +00:00
kipp
6a7bc663f3 new
git-svn-id: svn://10.0.0.236/trunk@2182 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 18:27:25 +00:00
jevering
7c150df597 Fixed about: URL's from crashing the viewer.
git-svn-id: svn://10.0.0.236/trunk@2181 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 18:10:08 +00:00
buster
483b518e3e added -r # for specifying a repeat count for batch mode
git-svn-id: svn://10.0.0.236/trunk@2179 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-22 17:34:58 +00:00
2550 changed files with 531242 additions and 35644 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -1,15 +1,18 @@
Please be apprised of the following Legal Notices:
A) Wang contends that its U.S. Patent No. 4, 751,669 ("the '669
Patent") disclosing a "video text" system, is infringed by the following
functionality in the Netscape Navigator code: 1) the animated logo and
status line indicators --See Claims 1,8 and 9; 2) the "File Save As"
function --See Claims 23-27; 3) Bookmarks and Rename Bookmarks in the
Properties window --See Claims 20-22; 4) storing HTML, GIF, and JPEG
files and adding filename extensions based on mime types (performed in
Windows OS) --See Claim 38. Netscape believes the '669 Patent is
invalid and non-infringed. Netscape is vigorously defending against
Wang's claims.
A) The U.S. District Court for the Eastern District of Virginia has
ruled that the Netscape Navigator code does not infringe Wang's U.S.
Patent No. 4,751,669 ("the '669 Patent") because: 1) HTML is not
Videotex as defined by the '669 patent; 2) web servers are not central
suppliers; and 3) Navigator does not "connect," as defined by the '669
Patent, to web servers on the Internet. Wang may appeal this decision to
the Federal Circuit. Wang contended that its Patent disclosing a
"Videotext" system, is infringed by the following functionality in the
Netscape Navigator code: 1) the animated logo and status line indicators
--See Claims 1,8 and 9; 2) the "File Save As" function --See Claims
23-27; 3) Bookmarks and Rename Bookmarks in the Properties window --See
Claims 20-22; 4) storing HTML, GIF, and JPEG files and adding filename
extensions --See Claim 38
B) Intermind owns pending U.S. patent applications on communications
systems which employ metadata ("channel objects") to define a control

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

@@ -0,0 +1,400 @@
<HTML>
<HEAD>
<TITLE>Building Mozilla on the Macintosh PPC platform</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000EE" VLINK="#551A8B"
ALINK="#FF0000">
<HR>
<H1>
Building Mozilla on the Macintosh PPC platform</H1>
<H2>
Daniel Nunes, <TT><A HREF="mailto:leaf@netscape.com">leaf@netscape.com</A></TT>
</H2>
v 1.0, June 1998
<P>
<HR><I>How to build Mozilla on a Macintosh PPC System.</I>
<HR>
<H2>1. <A HREF="#s1">Introduction</A></H2>
<H2>2. <A HREF="#s2">Building Mozilla</A></H2>
<UL>
<LI>
<A HREF="#ss2.1">2.1 Get the Code </A></LI>
<LI>
<A HREF="#ss2.2">2.2 Requirements</A></LI>
<LI>
<A HREF="#ss2.3">2.3 Set up the Build Environment</A></LI>
<LI>
<A HREF="#ss2.4">2.4 Build the Lizard </A></LI>
</UL>
<H2>3. <A HREF="#s3"> Common Problems </A></H2>
<H2>4. <A HREF="#s4"> Credits </A></H2>
<HR>
<H2><A NAME="s1">1. Introduction</A></H2>
<P>
What this document is: A guide to building the Mozilla application.
This includes:
<OL>
<LI> A listing of the development tools you will need to build Mozilla. </LI>
<LI> A list of environment variables you will need to set before building. </LI>
</OL>
<P>
If you're looking for documentation on developing features or fixing bugs,
the Mozilla
<A HREF="http://www.mozilla.org/docs/tplist/tplist.html">Technical Documents
</A> or <A HREF="http://www.mozilla.org/library.html"> Library </A>
are probably what you're looking for.
<P>
<HR>
<H2><A NAME="s2">2. Building Mozilla </A></H2>
<P>
<UL>Each of the following subsections describes, or gives references to
descriptions of, the steps necessary to build Mozilla.
<H2><A NAME="ss2.1">2.1 Get the Code</A></H2>
<P>
<UL>
There are two principal ways of getting the code,
<A HREF="http://www.mozilla.org/download.html"> ftp</A> and
<A HREF="http://www.mozilla.org/cvs.html"> CVS</A>.
CVS will provide the most current code for building, but is
slower than ftp (takes longer to download).
</UL>
<P>
<H2><A NAME="ss2.2">2.2 Requirements</A></H2>
The following need to be installed:
<UL>
<LI>CodeWarrior (CW) 2 - obtainable from
<A HREF="http://www.metrowerks.com">Metrowerks</A>.
See <A HREF="#s3">Common Sticking Points</A> if you have a different
version.
</LI>
<LI>PowerPlant 1.8 - obtainable from the CodeWarrior CD.</LI>
<LI>MSL - the Metrowerks Standard Library, obtainable from the
CodeWarrior CD</LI>
<LI><A HREF="ftp://ftp.boingo.com//dan/WASTE/waste-13.hqx">WASTE
1.3</A></LI>
<LI><A HREF="http://www.bact.wisc.edu/CWASTEEdit/CWASTEEdit.sit.hqx">CWASTE
1.6.2</A></LI>
<LI>
<A HREF="ftp://ftp.scripting.com/userland/menuSharingToolkit4.1.sit.hqx">
Menu Sharing Toolkit</A> (from UserLand)</LI>
<LI>
<A HREF="ftp://ftp.digitalalchemy.com/pub/digitalalchemy/mercutio-SDK.sit.bin">
Mercutio 1.5 SDK</A> (only download the SDK, not the entire package, else
the access paths will be wrong)</LI>
<LI>
<A HREF="ftp://ftp.share.com/pub/internet-configuration/ICProgKit1.4.sit">
Internet Config 1.4 SDK</A></LI>
<LI><A HREF="http://www.mooseyard.com/Jens/Software/">AEGizmos
1.4.2</A></LI>
<LI><A HREF="ftp://sunsite.cnlab-switch.ch/software/platform/macos/perl/Mac_Perl_520r4_tool.bin">
MacPerl 5 MPW Tool</A></LI>
<LI>
<A HREF="ftp://sunsite.cnlab-switch.ch/software/platform/macos/perl/Mac_Perl_520r4_appl.bin">MacPerl 5 Application</A></LI>
<LI>MakeStub - MPW (installed with CodeWarrior Heaven option). If
you choose not to install MPW, it is located on the MacOS Tools CD
in "CW Pro 2 Tools:CodeWarrior MPW:MPW:Tools"</LI>
<LI>RunTSScript - in Mozilla source distribution
(mozilla:build:mac:RunTSScript), needs to be installed by hand</LI>
<LI><A HREF="ftp://dev.apple.com/devworld/Tool_Chest/Core_Mac_OS_Tools/MPW_etc./MPW-GM/MPW/ToolServer.sit.hqx">ToolServer</A>
- or in the CW distribution (CW Pro 2 Tools:Apple Development
Tools:ToolServer 3.4.1.sit). <B>We recommend pulling it off the
CD</B> because it comes with configuration files for CodeWarrior
which you would have to create manually were you to pull it off
the net.</LI>
<LI>
<A HREF="http://people.netscape.com/sfraser/software/NewAlias_tool.sit.hqx">
New Alias MPW Tool</A> An MPW tool that creates Finder aliases for files.
</LI>
<LI>StreamEdit MPW Tool - MPW (installed with CodeWarrior Heaven option). If
you choose not to install MPW, it is located on the MacOS Tools CD
in "CW Pro 2 Tools:CodeWarrior MPW:MPW:Tools"</LI>
</LI>
<LI>
<A HREF="ftp://dev.apple.com/devworld/Periodicals/develop/develop25/develop_Issue_25_code/ToolFrontEnd.sit.hqx">ToolFrontEnd</A></LI>
<LI>
<A HREF="http://sunsite.cnlab-switch.ch/ftp/software/platform/macos/src/HTML/MPW_C.html">
patch 2.1</A></LI>
</UL>
<P>
Hardware/OS
<UL>
<LI>To build Navigator, you need a fast PPC Mac. The faster the
better. You can't build with a 68K machine because we have too many
resources, and the build process will crash when trying to generate
resources out of our cross-platform strings. See the discussion below
for a way around this.
</LI>
<LI>You will need about 96 MB of physical RAM to "fast link" the app.
You can still fast link if you give your machine 96 MB of virtual
memory, but then the VM hit is large enough to counteract any
improvement. One of our beta testers had a machine with only 64MB of
physical RAM (VM was off) and it ran out of memory trying to link.
Turning VM on got it to link, but build time increased greatly.
</LI>
<LI>Reports from the net indicate that the optimized version
(MozillaPPC) take much less RAM to build than the 96MB we suggest. If
you are running out of memory, try building that instead of the debug
version (the debug symbols require a lot of RAM come link time).
</LI>
<LI>You should be ok with a 400MB disk partition, even when fully
built. This does not include tools like the IDE, just source.
</LI>
<LI>On an HFS+ volume, a full build takes about 110MB. HFS+ is good,
but utilities are sparse.
</LI>
</UL>
<P>
<H2><A NAME="ss2.3">2.3 Setup the Build Environment</A></H2>
<P>
<OL>
<LI>Install CodeWarrior from the CD. While it is large, installing
the "CodeWarrior Heaven" option will guarantee that you have
everything you need. This will give you PowerPlant, MSL, and MPW.
If you choose to install less, proceed at your own risk.</LI>
<LI>In the Finder, increase the memory partition of the IDE to
15MB (you can get by with 12, if need be).</LI>
<LI>Download ToolFrontEnd. After expanding it, in "ToolFrontEnd
Folder:Drop-Ins" there are three items:
<UL>
<LI><I>#include</I></LI>
<LI><I>ToolFrontEnd</I></LI>
<LI><I>ToolFrontEnd Panel</I></LI>
</UL>
<P>Create a folder named "Include Scanners". Place the file
"#include" into the Include Scanners folder. Move the Include
Scanners folder to the CodeWarrior Plugins folder. Create a folder
named "ToolFrontEnd". Place the files "ToolFrontEnd" and
"ToolFrontEnd Panel" into the ToolFrontEnd folder. Place this
folder in the CodeWarrior Plugins folder.</P></LI>
<LI>Open "ToolFrontEnd Panel" with ResEdit. Change the file type
from <B>'Panl'</B> to <B>'PanL'</B>. Save.</LI>
<LI>Uncompress the StuffIt Archive for ToolServer. The goal is to
let ToolServer and MPW share the same Tools directory so you don't
need to have multiple versions of tools. Do the following:
<OL>
<LI>Open ToolServer's Tools folder. There is one file called
"RMetrowerks". </LI>
<LI>Move RMetrowerks to Tools folder of MPW. MPW folder must be
at "Metrowerks:Codewarrior MPW:MPW" if you installed
Codewarrior Heaven. </LI>
<LI>Remove ToolServer's Tools folder.</LI>
<LI>Now create an alias of Tools folder in "CodeWarrior MPW"
and move it to your ToolServer folder. Rename the alias
(probably called "Tools alias") to "Tools"</LI>
<LI><FONT COLOR="#FF0000"><B>IMPORTANT</B></FONT>: Make sure
you only have one instance of ToolServer on your machine. If
the build script finds the wrong one, the correct tools will
not be found and strange things will happen.</LI>
</OL>
</LI>
<LI>After installing the MacPerl MPW Tool distribution (run the
InstallerVISE application), in the "MacPerl &#131;" folder, there
will be an MPW tool named "perl". Install this in MPW's tools
folder.</LI>
<LI>Install the MacPerl Application (run the
InstallerVISE application). You can install this anywhere, but it is
recommended that you install it inside of your CodeWarrior folder for
easy reference. After installation, you will need to set a preference
to enable double-click launch of the perl scripts. This preference is set
by going under the Edit Menu to Preferences. Click on the "Script" button
and hit the radio button "Run Scripts opened from Finder"</LI>
<LI>Install the "patch", "MakeStub", "NewAlias" and "StreamEdit" Tools in the
tools
folder. Note that "MakeStub" and "StreamEdit" are automatically installed by the
"CodeWarrior Heaven" install option.</LI>
<LI>Install RunTSScript (found in the Mozilla source distribution)
in the compilers folder in your build environment
("Metrowerks:Metrowerks Codewarrior:Codewarrior
Plugins:Compilers")</LI>
<LI>Next, after downloading all the 3rd party software components,
drag WASTE, CWASTE, Menu Sharing, Mercutio, Internet Config, and
the AEGizmo folders (just as they are) into the "MacOS Support"
folder in your build environment.</LI>
<LI>Start ToolServer from within CodeWarrior (or use MPW if you
are brave enough). We're about to patch some files. Make sure the
ToolServer menu is in the CodeWarrior menu bar by turning on the
<A HREF="IDEPrefs.gif">preference</A> under the "Extras" panel in
the IDE Preferences (not the project preferences!). The menu bar
should look like this:
<P><IMG SRC="IDEMenuBar.gif" WIDTH=359 HEIGHT=20 X-CLARIS-USEIMAGEWIDTH X-CLARIS-USEIMAGEHEIGHT ALIGN=bottom></P>
<P>Choose "Start ToolServer" from the ToolServer menu (this is the
icon menu between "Window" and "Help" in the menubar above). You
will now see a window with no close box. This is your ToolServer
Worksheet where you will type (or cut &amp; paste) the commands
for the following steps.</P>
<P>In case you have never used MPW/ToolServer before, the
following is <B>very important</B>. Pressing "return" does not
execute commands like you might think. It just inserts a newline
into the worksheet like a normal text editor. <B>To actually get
ToolServer to execute the command, you must press "Enter" (lower
right of numeric keypad).</B> This executes the line that the
cursor is on, and only that line. If you want to execute multiple
lines at once, select them all and hit Enter.</P></LI>
<LI>Set the shell variables {IDE} and {Source} to the correct
paths for your build environment. {IDE} is where your CodeWarrior
IDE is located. {Source} is the folder containing the toplevel
"ns" folder of the Mozilla source. Mine look like this (don't
forget to keep the quotes if your path includes spaces), yours
will almost certainly be different (<FONT COLOR="#FF0000">to
punctuate this, the things you need to change are in red</FONT>).
<PRE>Set IDE "<FONT COLOR="#FF0000">Develop:Source331 Build Environment:CW Pro 2:Metrowerks CodeWarrior:</FONT>"
Set Source "<FONT COLOR="#FF0000">Source:FreeSource:</FONT>"</PRE>
</LI>
<LI>If you are using CWPro2, execute the following lines to patch
LDropFlag to draw correcly over non-white backgrounds.
<PRE>directory "{IDE}MacOS Support:PowerPlant:_In Progress:_Table Classes:"
patch LDropFlag.cp "{Source}mozilla:lib:mac:patches:LDropFlag.patch"
duplicate -y "{Source}mozilla:lib:mac:patches:DropFlag Icons.rsrc" "{IDE}MacOS Support:PowerPlant:PowerPlant Resources:"</PRE></LI>
<LI>Execute the following lines to patch menusharing.c to allow it
to compile with the new Universal Headers. It references an
obsolete header file (GestaltEqu.h).
<PRE>directory "{IDE}MacOS Support:Menu Sharing Toolkit 4.1:"
patch menusharing.c "{Source}mozilla:lib:mac:patches:menusharing.patch"</PRE></LI>
<LI>If you are using CWPro2 straight off the CD, you need to patch
AppleEvents.r to fix a problem with the Universal Headers (the
definition of the 'aedt' resource was omitted). <B>You do not have
to do this if you have applied the netborne patch to Pro2e
</B> because it has been fixed.
<PRE>directory "{IDE}MacOS Support:Headers:Rez Headers:"
patch AppleEvents.r "{Source}mozilla:lib:mac:patches:AppleEvents.r.patch"</PRE></LI>
<LI>You need to patch stat.mac.h to fix a problem in MSL where
lines were omitted.
<PRE>directory "{IDE}Metrowerks Standard Library:MSL C:MSL Mac:Public Includes"
patch stat.mac.h "{Source}mozilla:lib:mac:patches:stat.mac.h.patch"</PRE></LI>
<LI>Congratulations! Now you are ready to build. Once these steps
are done, you don't have to repeat these setups the next
time!</LI>
</OL>
<P>
<H2><A NAME="ss2.4">2.4 Run the build </A></H2>
<UL>
<P>In the folder mozilla:build:mac:, there are several Perl scripts with
names of the form BuildMozillaXXX.pl, where XXX is "Optimized",
"Debug", "Tinderbox", et al. Each script builds the corresponding
version of Mozilla. If you configured the MacPerl application to
execute scripts that are opened from the finder, all you have to do is
double click on the appropriate one; otherwise, launch MacPerl, and
run the appropriate script from the "Run Script..." menu item.</P>
<P>These `configured build' scripts are simple, and you might want to
make your own to force your build to StopForErrors(), or alternatively
DontStopForErrors(), et al. You can set up certain build-script
variables and (soon) compile-time flags. Compare the supplied scripts
to figure out what you might want. Note that CodeWarriorLib, Moz.pm,
and BuildList.pm, are AppleScript libraries and Perl modules meant to
be used by a `configured build'. Use your favorite POD viewer (Shuck
comes with MacPerl) to view the documentation in the Perl scripts.</P>
<P>If there were any errors in any of the projects along the way, the
script will stop at that point and the IDE will tell you the errors.
You can fix them and make sure they current project builds, but to
continue the automation, you have to start from the beginning by
double-clicking the script again. This isn't quite as bad as it
sounds because the previous projects are already built (unless you
changed some major header file). Please note that stopping the script
once it has started is difficult. We are working to address
this issue.</P>
<P>After the build is complete, you can find aliases to the built libraries
and the final Mozilla application. Debug builds are built to
Mozilla:dist:client_debug, while optimized builds are built to Mozilla:dist:client.
</P>
<P>Don't worry too much about the numerous warnings generated during
the build. We try our best to get the XP teams to use real compilers,
but alas, they continue to write warning-laden code. There is also
some generated code (Java is one example) that has a lot of warnings
that we can't help either. If you write any new code, please help us
in our quest to get zero warnings.</P>
</UL>
</UL>
<HR>
<H2><A NAME="s3">3. Common Sticking Points</A></H2>
<UL>
<LI><B>I have CodeWarrior3, how do i build with it?</B>
<UL> Currently, the answer is, "You don't." Eventually, the distribution
will be modified to allow building using CodeWarrior3, but for now
CodeWarrior2 is the only IDE that is supported.
</UL>
</LI>
</UL>
<HR>
<H2><A NAME="s4">4. Credits</A></H2>
<UL>
The majority of this document is taken from the build document included
in the Mozilla source distribution at README:mozilla:macbuild.htm written
by Mike Pinkerton, <A HREF="mailto:pinkerton@netscape.com">
pinkerton@netscape.com</A>.
</BODY>
</HTML>

View File

@@ -0,0 +1,137 @@
<HTML>
<HEAD>
<TITLE>Building Mozilla on unix platforms</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000EE" VLINK="#551A8B"
ALINK="#FF0000">
<HR>
<H1>
Building Mozilla on Unix platforms</H1>
<H2>
Daniel Nunes, <TT><A HREF="mailto:leaf@netscape.com">leaf@netscape.com</A></TT></H2>
v 1.0, June 1998
<P>
<HR><I>How to build Mozilla on a Unix System.</I>
<HR>
<H2>1. <A HREF="#s1">Introduction</A></H2>
<H2>2. <A HREF="#s2">Building Mozilla</A></H2>
<UL>
<LI>
<A HREF="#ss2.1">2.1 Get the Code </A></LI>
<LI>
<A HREF="#ss2.2">2.2 Requirements</A></LI>
<LI>
<A HREF="#ss2.3">2.3 Set up the Build Environment</A></LI>
<LI>
<A HREF="#ss2.4">2.4 Build the Lizard </A></LI>
</UL>
<H2>3. <A HREF="#s3"> Common Problems </A></H2>
<HR>
<H2><A NAME="s1">1. Introduction</A></H2>
<P>
What this document is: A guide to building the Mozilla application.
<BR>
This includes:
<OL>
<LI> A listing of the development tools you will need to build Mozilla. </LI>
<LI> A list of environment variables you will need to set before building. </LI>
</OL>
<P>
If you're looking for documentation on developing features or fixing bugs,
the Mozilla
<A HREF="http://www.mozilla.org/docs/tplist/tplist.html">Technical Documents
</A> or <A HREF="http://www.mozilla.org/library.html"> Library </A>
are probably what you're looking for.
<P>
<HR>
<H2><A NAME="s2">2. Building Mozilla </A></H2>
<P>
<UL>Each of the following subsections describes, or gives references to
descriptions of, the steps necessary to build Mozilla.
</UL>
<H2><A NAME="ss2.1">2.1 Get the Code</A></H2>
<P>
<UL>
There are two principal ways of getting the code,
<A HREF="http://www.mozilla.org/download.html"> ftp</A> and
<A HREF="http://www.mozilla.org/cvs.html"> CVS</A>.
CVS will provide the least outdated code for building, but is
slower than ftp.
</UL>
<P>
<H2><A NAME="ss2.2">2.2 Requirements</A></H2>
<UL>
The following need to be installed:
<UL>
<LI>Motif 1.2 (2.1 recommended for RedHat Linux)
<LI>GNU C/C++ compiler 2.7.2
<LI>GNU make 3.74 or better
<LI>Perl (or, if you have no Perl, then set <CODE>PERL=/bin/echo</CODE>)
</UL>
<P>
Your hardware should be equal to, or better than:
<UL>
32 MB RAM, 128 MB swap (64 MB RAM recommended)
</UL>
</UL>
<P>
<H2><A NAME="ss2.3">2.3 Setup the Build Environment</A></H2>
<P>
<UL>
The following environment variables need to be set:
<CODE>
<PRE>
MOZILLA_CLIENT=1
MOZ_MEDIUM=1
NO_SECURITY=1
NO_MDUPDATE=1
</PRE>
</CODE>
Optionally, you can set <CODE>BUILD_OPT=1</CODE> if you don't want a debug
build.
<BR>
Environment variables are set by the shell, and each shell may or may not have
its own way of setting them. Type <CODE>man setenv</CODE> to find out how your
shell sets variables, if you don't know already.
<P>
</UL>
<H2><A NAME="ss2.4">2.4 Run the build </A></H2>
<UL>
Change to the directory you copied the source into (for example,
<CODE>cd /builds</CODE>). If this directory was empty before you
installed the source, there should be two directories here:
<CODE>README</CODE> and <CODE>mozilla</CODE>.
<CODE>
<PRE>
cd mozilla
gmake
</PRE>
</CODE>
</UL>
<HR>
<H2><A NAME="s3">3. Common Sticking Points</A></H2>
<LI>My linker dies with this error: undefined reference to `_Xsetlocale'
<UL>If this error occurs, you might have to recompile libX11.so
with the -DX_LOCALE flag (thanks to Scott Lampert,
<A HREF="mailto:fortunato@heavymetal.org">fortunato@heavymetal.org</A>).
This problem stems from use of an older version of RedHat Motif.
Moving to Motif 2.1 should resolve this. There are probably other problems
with using the older versions of Motif, but i haven't encountered them.
</UL>
<HR>
</BODY>
</HTML>

View File

@@ -0,0 +1,209 @@
<HTML>
<HEAD>
<TITLE>Building Mozilla on Microsoft Windows 32-bit platforms</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000EE" VLINK="#551A8B"
ALINK="#FF0000">
<HR>
<H1>
Building Mozilla on Microsoft Windows 32-bit platforms</H1>
<H2>
Daniel Nunes, <TT><A HREF="mailto:leaf@netscape.com">leaf@netscape.com</A></TT>
</H2>
v 1.0, June 1998
<P>
<HR><I>How to build Mozilla on a Microsoft Windows 32-bit System.</I>
<HR>
<H2>1. <A HREF="#s1">Introduction</A></H2>
<H2>2. <A HREF="#s2">Building Mozilla</A></H2>
<UL>
<LI>
<A HREF="#ss2.1">2.1 Get the Code </A></LI>
<LI>
<A HREF="#ss2.2">2.2 Requirements</A></LI>
<LI>
<A HREF="#ss2.3">2.3 Set up the Build Environment</A></LI>
<LI>
<A HREF="#ss2.4">2.4 Build the Lizard </A></LI>
</UL>
<H2>3. <A HREF="#s3"> Common Problems </A></H2>
<HR>
<H2><A NAME="s1">1. Introduction</A></H2>
<P>
What this document is: A guide to building the Mozilla application.
<BR>
This includes:
<OL>
<LI> A listing of the development tools you will need to build Mozilla. </LI>
<LI> A list of environment variables you will need to set before building. </LI>
</OL>
<P>
If you're looking for documentation on developing features or fixing bugs,
the Mozilla
<A HREF="http://www.mozilla.org/docs/tplist/tplist.html">Technical Documents
</A> or <A HREF="http://www.mozilla.org/library.html"> Library </A>
are probably what you're looking for.
<P>
<HR>
<H2><A NAME="s2">2. Building Mozilla </A></H2>
<P>
<UL>Each of the following subsections describes, or gives references to
descriptions of, the steps necessary to build Mozilla.
<H2><A NAME="ss2.1">2.1 Get the Code</A></H2>
<P>
<UL>
There are two principal ways of getting the code,
<A HREF="http://www.mozilla.org/download.html"> ftp</A> and
<A HREF="http://www.mozilla.org/cvs.html"> CVS</A>.
CVS will provide the least outdated code for building, but is
slower than ftp.
</UL>
<P>
<H2><A NAME="ss2.2">2.2 Requirements</A></H2>
<UL>
The following need to be installed:
<UL>
<LI>Microsoft Visual C++ version 4.2 or later
<LI>GNU Tools for Microsoft Windows, located:
<UL>
<LI><A HREF="http://www.cygnus.com/misc/gnu-win32">Cygnus</A></LI>
<LI><A HREF="http://www.gnu.org/order/ftp.html">GNU home page</A></LI>
<LI><A HREF="ftp://prep.ai.mit.edu/pub/gnu">MIT</A></LI>
</UL>
Specifically, you'll need:
<UL><CODE>
cp.exe<BR>
rm.exe<BR>
uname.exe<BR>
</CODE>
</UL>
Netscape has internally modified version of gmake, shmsdos and win32gnu
that we use to get around some problems we were having keeping in sync
with the Unix version of gmake. This version of gmake can be found in the
Windows Build Tools package, which can be ftp'd from
<A HREF="http://www.mozilla.org/download-mozilla.html"> the Mozilla
Download page</A>.
The three files you will need are:
<UL><CODE>
gmake.exe<BR>
shmsdos.exe<BR>
uname.exe<BR>
</CODE>
</UL>
</UL>
<P>
Hardware/OS
<UL>
<LI>Pentium 133 MHz or better</LI>
<LI>64 MB RAM, 128 MB recommended</LI>
<LI>250 MB NTFS or 500 MB FAT disk space</LI>
<LI>NT 4.0 is preferred; NT 3.51 will also work.
</LI>
</UL>
</UL>
<P>
<H2><A NAME="ss2.3">2.3 Setup the Build Environment</A></H2>
<P>
<UL>
The following environment variables need to be set:
<UL>
<CODE>
set MOZ_BITS=32
<BR>
set MOZ_DEBUG=1 (set this only if you want to build a debug build)
<BR>
set MOZ_GOLD=1
<BR>
set MOZ_MEDIUM=1
<BR>
set MOZ_NT=351 (if running NT3.51)
<BR>
set MOZ_OUT=(optional: specifies location of resultant executable)
<BR>
set MOZ_SRC=(top of your tree, for example: set MOZ_SRC=d:\mozilla_source
if this is the directory where you checked or unzipped the source into)
<BR>
set MOZ_TOOLS=(location of the bin directory of your GNU tools. The build
looks for MOZ_TOOLS\bin\gmake.exe, so make sure that the gmake.exe from
the Windows Build Tools package resides there.)
<BR>
set NO_SECURITY=1
<BR>
set NSPR20=1
<BR>
set _MSC_VER=1100 (if you are running VC++ 5.0 or higher)
<BR>
</CODE>
</UL>
<BR>
<P>
</UL>
<H2><A NAME="ss2.4">2.4 Run the build </A></H2>
<UL>
Change to the directory you copied the source into (for example,
<CODE>cd d:\mozilla_source</CODE>). If this directory was empty before you
installed the source, there should be two directories here:
<CODE>README</CODE> and <CODE>mozilla</CODE>.
<CODE>
<PRE>
cd mozilla\config
nmake /f makefile.win
cd ..
nmake /f client.mak
</PRE>
</CODE>
</UL>
</UL>
<HR>
<H2><A NAME="s3">3. Common Sticking Points</A></H2>
<UL>
<LI><B>nmake has a 'fatal error', listing one of the GNU commands and a
hexadecimal return code.</B>
<UL>
This will happen as a result of not having the GNU tools and Windows Build
tools in your path. Add the directories with the appropriate binaries to your
path.
</UL>
</LI>
<LI>
<B>It fails with the message "'.\WIN32' unexpected": </B>
<UL>
You didn't properly
set the environment variables -- you must not include a space at the end
of the set statements (be careful if you are cut'n'pasting).
</UL>
</LI>
<LI>
<B>It fails to build, with directory-related errors: </B>
<UL>
The full path
to the source must not include any spaces. Additionally, the source must
be extracted with an intact directory structure by a utility that understands
long filenames. If in doubt, grab Info-Zip at
<A HREF="ftp://ftp.cdrom.com/pub/infozip">ftp://ftp.cdrom.com/pub/infozip</A>
</UL>
</LI>
<LI>
<B>I'm not running a 32-bit windows system, how do i build?</B>
<UL>
Currently, the build process depends on a 32-bit operating system.
Windows NT 4.0 is the recommended windows operating system.
</UL>
</UL>
<HR>
</BODY>
</HTML>

View File

@@ -0,0 +1,53 @@
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Author" CONTENT="Chris Yeh">
<META NAME="GENERATOR" CONTENT="Mozilla/4.05 [en]C-NSCP (WinNT; U) [Netscape]">
<TITLE>Running Mozilla...</TITLE>
</HEAD>
<BODY>
<H2>
<FONT FACE="Arial,Helvetica">Running Mozilla Without Trashing Netscape
Installation</FONT></H2>
This document explains how to run <TT>mozilla.exe</TT> separately from
<TT>netscape.exe</TT> without trashing your regular installation of Netscape
Communicator. This is necessary if, for example, you want to use Communicator's
mail client while you work on Mozilla development.
<BR>
<HR WIDTH="100%">
<OL>
<LI>
Before running <TT>mozilla.exe</TT>, create a new user profile either from
a Netscape 4.0x installation using the "User Profile Manager" shortcut
in the Utilities folder (on Windows) or by using&nbsp; the <TT>-new_account</TT>
option on the command line of either <TT>netscape.exe</TT> or <TT>mozilla.exe</TT>.&nbsp;
We suggest calling the profile "<TT>mozilla</TT>."</LI>
<LI>
Always use that new account when running <TT>mozilla.exe</TT>, and never
run <TT>netscape.exe</TT> using that same account profile.</LI>
</OL>
To make things easier, you can start the application with the user account
on the command line, for example:
<UL><TT>mozilla.exe -P"mozilla"</TT></UL>
This assures that prefs and the cache will not interfere between the two
versions. This will be especially
<BR>important as new prefs are added to the Mozilla product. Note that
you must use quotes around the name and there can be no space between the
"P" and the profile name. Otherwise, the application won't catch the profile
switch, and it will try to load the profile name as the initial URL.
<P>
<HR WIDTH="100%">
<BR>You can copy your <TT>bookmark.htm</TT> file from an existing profile
to your new profile directory if you want to share bookmarks.
<P>After the initial 3/31 release, we will add some code to Mozilla to
prevent running with a profile that is already being used by <TT>netscape.exe</TT>.
<BR>&nbsp;
<HR WIDTH="100%">
<BR><FONT SIZE=-1>Copyright &copy; 1998 <A HREF="http://home.netscape.com/misc/contact_info.html">Netscape
Communications Corporation</A></FONT>
</BODY>
</HTML>

View File

@@ -0,0 +1,184 @@
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=x-mac-roman">
<META NAME="GENERATOR" CONTENT="Mozilla/4.04 [en] (WinNT; I) [Netscape]">
<META NAME="KeyWords" CONTENT="client, source, documentation">
<META NAME="Author" CONTENT="Kipp E.B. Hickman">
<TITLE>NGLayout Windows Build Instructions</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF">
<H2>
<FONT FACE="Arial,Helvetica">NGLayout Windows Build Instructions</FONT></H2>
This document explains how to build NGLayout for the Windows platform.&nbsp;
<HR><B><FONT SIZE=+1>Required Tools:</FONT></B>
<UL>
<LI>
<B>Microsoft Visual C++ version 4.2 or later</B></LI>
<LI>
<B>The same set of tools for building <A HREF="http://www.mozilla.org/docs/tplist/catBuild/winbuild.htm">Mozilla</A></B></LI>
</UL>
<B><FONT SIZE=+1>Setting up:</FONT></B>
<UL>
<LI>
You need a Pentium with at least a 133 MHz processor and at least 250 megs
(NTFS partition) or 500 megs (FAT partition) of hard drive space. You need
to have a minimum of 64 megs of memory in order to build this tree. These
numbers are approximations.</LI>
<LI>
The preferred platform is NT 4.0. NT 3.51 will also work, and Win95 might
work if you're lucky. Maybe.</LI>
<LI>
Install MSVC. If you don't choose to have the MSVC install modify your
environment variables for PATH, INCLUDE, and LIB information, be sure to
run VCVARS32.BAT out of the MSVC bin directory prior to attempting to build.</LI>
<LI>
Download and install GNU tools. Put them in your path.</LI>
<LI>
Install NGLayout source.</LI>
<UL>
<LI>
cd &lt;your-source-area></LI>
<LI>
unzip -o -q win-19980415.zip</LI>
</UL>
<LI>
There are several environment variables you will need to set, either manually
or via a script within a command session, or by setting them in your system
environment located through the Control Panel | System icon.</LI>
<P>&nbsp;<B>Note: There is an additional variable for building NGLayout!
Use this list carefully!</B>
<P>&nbsp;The variables are:
<UL>
<LI>
set MOZ_BITS=32</LI>
<LI>
set MOZ_DEBUG=1 (don't set this if you want to build an optimized release
build)</LI>
<LI>
set MOZ_GOLD=1</LI>
<LI>
set MOZ_MEDIUM=1</LI>
<LI>
set MOZ_NT=351 (if running NT 3.51, don't set otherwise)</LI>
<LI>
set MOZ_OUT=(location of resulting executable and totally optional, see
Notes for more details)</LI>
<LI>
set MOZ_SRC=(top of your tree, drive letter and path, i.e. set MOZ_SRC=d:\mozilla_src.
The topmost directory under this should be mozilla)</LI>
<LI>
set MOZ_TOOLS=(location of the bin directory containing your GNU tools.
The build looks for MOZ_TOOLS\bin\gmake.exe, so make sure your MOZ_TOOLS
is figured appropriately)</LI>
<LI>
set NO_SECURITY=1</LI>
<LI>
set NSPR20=1</LI>
<LI>
if you are running VC++ 5.0 or higher: set _MSC_VER=1100; if you are running
VC++ 4.2 then set MOZ_VCVER=42</LI>
<LI>
<B>set STANDALONE_IMAGE_LIB=1</B></LI>
<LI>
<B>set MODULAR_NETLIB=1</B></LI>
</UL>
</UL>
<B><FONT SIZE=+1>Building:</FONT></B>
<UL>
<LI>
You need to be running a vanilla command prompt. Other shells may work,
but you might have to tweak makefiles.</LI>
<LI>
<B>Build the tools:</B> This generates several tools that handle things
like dependency generation</LI>
<UL>
<LI>
cd mozilla\config</LI>
<LI>
nmake /f makefile.win</LI>
</UL>
<LI>
<B>Build the NGLayout:</B> This will do a complete build of the source
tree. You will end up with a viewer.exe at the end. The viewer.exe will
be in your dist\win32_[OD].obj\bin directory (O will be used when you don't
set MOZ_DEBUG; D will be used when you set MOZ_DEBUG).</LI>
<UL>
<LI>
cd mozilla</LI>
<LI>
nmake /f nglayout.mak</LI>
</UL>
</UL>
<B><FONT SIZE=+1>Running:</FONT></B>
<UL>
<LI>
Once you have built the system, do this to run the viewer program (the
viewer program is a simple test program that uses the nsIWebWidget API
to embed a web widget object). The viewer program has a few basic menu
items, include "Samples" which load sample tests.</LI>
<UL>
<LI>
cd mozilla\dist\win32_[OD].obj\bin</LI>
<LI>
.\viewer.exe</LI>
</UL>
</UL>
<B><FONT SIZE=+1>Notes:</FONT></B>
<UL>
<LI>
This build process does not use Visual C++ generated project files for
several reasons having to do with (among other things) size, maintainability,
and the long term desire to start using more of tools like gmake, or plug
and play developer tools. This does not preclude you from using the Visual
C++ IDE, or it's debugger. Once you have built a viewer.exe do this to
run it under the debugger:</LI>
</UL>
<UL>
<UL>
<LI>
cd mozilla\dist\win32_[OD].obj\bin</LI>
<LI>
msdev viewer.exe</LI>
</UL>
</UL>
<HR WIDTH="100%">
<CENTER><FONT SIZE=-1>Copyright &copy; 1998 <A HREF="http://home.netscape.com/misc/contact_info.html">Netscape
Communications Corporation</A></FONT></CENTER>
&nbsp;
</BODY>
</HTML>

View File

@@ -0,0 +1,302 @@
#!perl
package BuildList;
require Exporter;
@ISA = qw(Exporter);
@EXPORT = qw(BuildMozilla DistMozilla);
=head1 NAME
BuildList - build the [ordered] set of projects needed to construct Mozilla
=head1 SYNOPSIS
...
=head1 COPYRIGHT
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.
=cut
use Moz;
use File::Path;
sub BuildMozilla()
{
if ( $main::DEBUG )
{
$D = "Debug";
$dist_dir = ":mozilla:dist:client_debug:";
}
else
{
$D = "";
$dist_dir = ":mozilla:dist:client:";
}
#
# Build the appropriate target of each project
#
BuildProjectClean(":mozilla:lib:mac:NSStdLib:NSStdLib.mcp", "Stubs");
BuildProjectClean(":mozilla:lib:mac:NSRuntime:NSRuntime.mcp", "Stubs");
BuildProjectClean(":mozilla:lib:mac:MacMemoryAllocator:MemAllocator.mcp", "Stubs");
BuildProjectClean(":mozilla:cmd:macfe:projects:client:NavigatorStubs.mcp", "Stubs");
BuildProject(":mozilla:lib:mac:NSRuntime:NSRuntime.mcp", "NSRuntime$D.shlb");
MakeAlias(":mozilla:lib:mac:NSRuntime:NSRuntime$D.shlb", "$dist_dir");
BuildProject(":mozilla:cmd:macfe:restext:StringLib.mcp", "Strings$D.shlb");
MakeAlias(":mozilla:cmd:macfe:restext:Strings$D.shlb", "$dist_dir");
BuildProject(":mozilla:lib:mac:MoreFiles:build:MoreFilesPPC.mcp", "MoreFiles$D.shlb");
MakeAlias(":mozilla:lib:mac:MoreFiles:build:MoreFiles$D.shlb", "$dist_dir");
BuildProject(":mozilla:nsprpub:macbuild:NSPR20PPC.mcp", "NSPR20$D.shlb");
MakeAlias(":mozilla:nsprpub:macbuild:NSPR20$D.shlb", "$dist_dir");
BuildProject(":mozilla:dbm:macbuild:DBMPPC.mcp", "DBM$D.shlb");
MakeAlias(":mozilla:dbm:macbuild:DBM$D.shlb", "$dist_dir");
BuildProject(":mozilla:lib:mac:MacMemoryAllocator:MemAllocator.mcp", "MemAllocator$D.shlb");
MakeAlias(":mozilla:lib:mac:MacMemoryAllocator:MemAllocator$D.shlb", "$dist_dir");
BuildProject(":mozilla:lib:mac:NSStdLib:NSStdLib.mcp", "NSStdLib$D.shlb");
MakeAlias(":mozilla:lib:mac:NSStdLib:NSStdLib$D.shlb", "$dist_dir");
BuildProject(":mozilla:xpcom:macbuild:xpcomPPC.mcp", "xpcom$D.shlb");
MakeAlias(":mozilla:xpcom:macbuild:xpcom$D.shlb", "$dist_dir");
BuildProject(":mozilla:lib:mac:PowerPlant:PowerPlant.mcp", "PowerPlant$D.shlb");
MakeAlias(":mozilla:lib:mac:PowerPlant:PowerPlant$D.shlb", "$dist_dir");
BuildProject(":mozilla:modules:zlib:macbuild:zlib.mcp", "zlib$D.shlb");
MakeAlias(":mozilla:modules:zlib:macbuild:zlib$D.shlb", "$dist_dir");
BuildProject(":mozilla:jpeg:macbuild:JPEG.mcp", "JPEG$D.shlb");
MakeAlias(":mozilla:jpeg:macbuild:JPEG$D.shlb", "$dist_dir");
BuildProject(":mozilla:sun-java:stubs:macbuild:JavaStubs.mcp", "JavaRuntime$D.shlb");
MakeAlias(":mozilla:sun-java:stubs:macbuild:JavaRuntime$D.shlb", "$dist_dir");
BuildProject(":mozilla:js:jsj:macbuild:JSJ_PPC.mcp", "JSJ$D.o");
BuildProject(":mozilla:js:macbuild:JavaScriptPPC.mcp", "JavaScript$D.shlb");
MakeAlias(":mozilla:js:macbuild:JavaScript$D.shlb", "$dist_dir");
BuildProject(":mozilla:nav-java:stubs:macbuild:NavJavaStubs.mcp", "NavJava$D.shlb");
MakeAlias(":mozilla:nav-java:stubs:macbuild:NavJava$D.shlb", "$dist_dir");
BuildProject(":mozilla:modules:rdf:macbuild:RDF.mcp", "RDF$D.shlb");
MakeAlias(":mozilla:modules:rdf:macbuild:RDF$D.shlb", "$dist_dir");
BuildProject(":mozilla:modules:xml:macbuild:XML.mcp", "XML$D.shlb");
MakeAlias(":mozilla:modules:xml:macbuild:XML$D.shlb", "$dist_dir");
BuildProject(":mozilla:modules:schedulr:macbuild:Schedulr.mcp", "Scheduler$D.shlb");
MakeAlias(":mozilla:modules:schedulr:macbuild:Scheduler$D.shlb", "$dist_dir");
BuildProject(":mozilla:build:mac:CustomLib:CustomLib.mcp", "CustomLib$D.shlb");
MakeAlias(":mozilla:build:mac:CustomLib:CustomLib$D.shlb", "$dist_dir");
BuildProject(":mozilla:modules:security:freenav:macbuild:NoSecurity.mcp", "Security.o");
BuildProject(":mozilla:modules:libfont:macbuild:FontBroker.mcp", "FontBroker$D.o");
BuildProject(":mozilla:lib:libmocha:macbuild:LibMocha.mcp", "LibMocha$D.o");
BuildProject(":mozilla:network:macbuild:network.mcp", "Network$D.o");
BuildProject(":mozilla:modules:libimg:macbuild:png.mcp", "png$D.o");
BuildProject(":mozilla:modules:libimg:macbuild:libimg.mcp", "libimg$D.o");
BuildProject(":mozilla:build:mac:CustomLib:CustomLib.mcp", "CustomStaticLib$D.o");
if ( $main::MOZ_MEDIUM == 1 || $main::MOZ_DARK == 1 )
{
BuildProject(":mozilla:cmd:macfe:Composer:build:Composer.mcp", "Composer$D.o");
if ( $main::MOZ_DARK == 1 )
{
BuildProject(":mozilla:lib:libmsg:macbuild:MsgLib.mcp", "MsgLib$D.o");
BuildProject(":mozilla:cmd:macfe:MailNews:build:MailNews.mcp", "MailNews$D.o");
BuildProject(":mozilla:directory:c-sdk:ldap:libraries:macintosh:LDAPClient.mcp","LDAPClient$D.o");
}
else
{
BuildProject(":mozilla:cmd:macfe:projects:dummies:MakeDummies.mcp", "MsgLib$D.o");
BuildProject(":mozilla:cmd:macfe:projects:dummies:MakeDummies.mcp", "MailNews$D.o");
BuildProject(":mozilla:cmd:macfe:projects:dummies:MakeDummies.mcp", "LDAPClient$D.o");
}
# Build the appropriate resources target
BuildProject(":mozilla:cmd:macfe:projects:client:Client.mcp", "Moz_Resources");
}
else
{
# Build a project with dummy targets to make stub libraries
BuildProject("cmd:macfe:projects:dummies:MakeDummies.mcp", "Composer$D.o");
# Build the appropriate resources target
BuildProject(":mozilla:cmd:macfe:projects:client:Client.mcp", "Nav_Resources");
}
BuildProject(":mozilla:cmd:macfe:projects:client:Client.mcp", "Client$D");
}
sub DistMozilla()
{
mkpath([ ":mozilla:dist:", ":mozilla:dist:client:", ":mozilla:dist:client_debug:", ":mozilla:dist:client_stubs:" ]);
#INCLUDE
InstallFromManifest(":mozilla:config:mac:MANIFEST", ":mozilla:dist:config:");
InstallFromManifest(":mozilla:include:MANIFEST", ":mozilla:dist:include:");
InstallFromManifest(":mozilla:cmd:macfe:pch:MANIFEST", ":mozilla:dist:include:");
#MAC_COMMON
InstallFromManifest(":mozilla:build:mac:MANIFEST", ":mozilla:dist:mac:common:");
InstallFromManifest(":mozilla:lib:mac:NSStdLib:include:MANIFEST", ":mozilla:dist:mac:common:");
InstallFromManifest(":mozilla:lib:mac:MacMemoryAllocator:include:MANIFEST", ":mozilla:dist:mac:common:");
InstallFromManifest(":mozilla:lib:mac:Misc:MANIFEST", ":mozilla:dist:mac:common:");
InstallFromManifest(":mozilla:lib:mac:MoreFiles:MANIFEST", ":mozilla:dist:mac:common:morefiles:");
InstallFromManifest(":mozilla:cmd:macfe:MANIFEST", ":mozilla:dist:mac:macfe:");
#NSPR
InstallFromManifest(":mozilla:nsprpub:pr:include:MANIFEST", ":mozilla:dist:nspr:");
InstallFromManifest(":mozilla:nsprpub:pr:src:md:mac:MANIFEST", ":mozilla:dist:nspr:mac:");
InstallFromManifest(":mozilla:nsprpub:lib:ds:MANIFEST", ":mozilla:dist:nspr:");
InstallFromManifest(":mozilla:nsprpub:lib:libc:include:MANIFEST", ":mozilla:dist:nspr:");
InstallFromManifest(":mozilla:nsprpub:lib:msgc:include:MANIFEST", ":mozilla:dist:nspr:");
#DBM
InstallFromManifest(":mozilla:dbm:include:MANIFEST", ":mozilla:dist:dbm:");
#LIBIMAGE
InstallFromManifest(":mozilla:modules:libimg:png:MANIFEST", ":mozilla:dist:libimg:");
InstallFromManifest(":mozilla:modules:libimg:src:MANIFEST", ":mozilla:dist:libimg:");
InstallFromManifest(":mozilla:modules:libimg:public:MANIFEST", ":mozilla:dist:libimg:");
#SECURITY_freenav
InstallFromManifest(":mozilla:modules:security:freenav:MANIFEST", ":mozilla:dist:security:");
#XPCOM
InstallFromManifest(":mozilla:xpcom:src:MANIFEST", ":mozilla:dist:xpcom:");
#ZLIB
InstallFromManifest(":mozilla:modules:zlib:src:MANIFEST", ":mozilla:dist:zlib:");
#JPEG
InstallFromManifest(":mozilla:jpeg:MANIFEST", ":mozilla:dist:jpeg:");
#JSJ
InstallFromManifest(":mozilla:js:jsj:MANIFEST", ":mozilla:dist:jsj:");
#JSDEBUG
InstallFromManifest(":mozilla:js:jsd:MANIFEST", ":mozilla:dist:jsdebug:");
#JS
InstallFromManifest(":mozilla:js:src:MANIFEST", ":mozilla:dist:js:");
#RDF
InstallFromManifest(":mozilla:modules:rdf:include:MANIFEST", ":mozilla:dist:rdf:");
#XML
InstallFromManifest(":mozilla:modules:xml:glue:MANIFEST", ":mozilla:dist:xml:");
InstallFromManifest(":mozilla:modules:xml:expat:xmlparse:MANIFEST", ":mozilla:dist:xml:");
#LIBFONT
InstallFromManifest(":mozilla:modules:libfont:MANIFEST", ":mozilla:dist:libfont:");
InstallFromManifest(":mozilla:modules:libfont:src:MANIFEST", ":mozilla:dist:libfont:");
#LDAP
if ( $main::MOZ_LDAP || $main::MOZ_DARK )
{
InstallFromManifest(":mozilla:directory:c-sdk:ldap:include:MANIFEST", ":mozilla:dist:ldap:");
}
#SCHEDULER
InstallFromManifest(":mozilla:modules:schedulr:public:MANIFEST", ":mozilla:dist:schedulr:");
#NETWORK
InstallFromManifest(":mozilla:network:cache:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:client:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:cnvts:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:cstream:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:main:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:mimetype:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:util:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:protocol:about:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:protocol:certld:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:protocol:dataurl:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:protocol:file:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:protocol:ftp:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:protocol:gopher:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:protocol:http:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:protocol:js:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:protocol:mailbox:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:protocol:marimba:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:protocol:nntp:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:protocol:pop3:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:protocol:remote:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:protocol:smtp:MANIFEST", ":mozilla:dist:network:");
#HTML_DIALOGS
InstallFromManifest(":mozilla:lib:htmldlgs:MANIFEST", ":mozilla:dist:htmldlgs:");
#LAYOUT
InstallFromManifest(":mozilla:lib:layout:MANIFEST", ":mozilla:dist:layout:");
#LAYERS
InstallFromManifest(":mozilla:lib:liblayer:include:MANIFEST", ":mozilla:dist:layers:");
#PARSE
InstallFromManifest(":mozilla:lib:libparse:MANIFEST", ":mozilla:dist:libparse:");
#STYLE
InstallFromManifest(":mozilla:lib:libstyle:MANIFEST", ":mozilla:dist:libstyle:");
#PLUGIN
InstallFromManifest(":mozilla:lib:plugin:MANIFEST", ":mozilla:dist:plugin:");
#LIBHOOK
InstallFromManifest(":mozilla:modules:libhook:public:MANIFEST", ":mozilla:dist:libhook:");
#LIBPREF
InstallFromManifest(":mozilla:modules:libpref:public:MANIFEST", ":mozilla:dist:libpref:");
#LIBREG
InstallFromManifest(":mozilla:modules:libreg:include:MANIFEST", ":mozilla:dist:libreg:");
#LIBUTIL
InstallFromManifest(":mozilla:modules:libutil:public:MANIFEST", ":mozilla:dist:libutil:");
#PROGRESS
InstallFromManifest(":mozilla:modules:progress:public:MANIFEST", ":mozilla:dist:progress:");
#EDTPLUG
InstallFromManifest(":mozilla:modules:edtplug:include:MANIFEST", ":mozilla:dist:edtplug:");
#NAV_JAVA
InstallFromManifest(":mozilla:nav-java:stubs:include:MANIFEST", ":mozilla:dist:nav-java:");
InstallFromManifest(":mozilla:nav-java:stubs:macjri:MANIFEST", ":mozilla:dist:nav-java:");
#SUN_JAVA
InstallFromManifest(":mozilla:sun-java:stubs:include:MANIFEST", ":mozilla:dist:sun-java:");
InstallFromManifest(":mozilla:sun-java:stubs:macjri:MANIFEST", ":mozilla:dist:sun-java:");
}
1;

View File

@@ -0,0 +1,143 @@
#!perl
package BuildListObsolete;
require Exporter;
@ISA = qw(Exporter);
@EXPORT = qw(BuildMozilla);
=head1 NAME
BuildList - build the [ordered] set of projects needed to construct Mozilla
=head1 SYNOPSIS
...
=head1 COPYRIGHT
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.
=cut
sub BuildMozilla()
{
use Moz;
chdir(":::"); # assuming this script is in "...:mozilla:build:mac:", change dir to just inside "mozilla"
if ( $main::DEBUG )
{
$D = " (Debug)";
$LibD = "Debug";
$dist_dir = ":dist:client_debug:";
}
else
{
$D = "";
$LibD = "";
$dist_dir = ":dist:client:";
}
#
# Build the appropriate target of each project
#
BuildProjectClean(":lib:mac:NSStdLib:NSStdLib.mcp", "Stub Library");
BuildProjectClean(":lib:mac:MacMemoryAllocator:MemAllocator.mcp", "Stub Library");
BuildProjectClean(":cmd:macfe:projects:client:Navigator.mcp", "Stub Library");
BuildProject(":lib:mac:NSRuntime:NSRuntime.mcp");
MakeAlias(":lib:mac:NSRuntime:NSRuntimePPCLib", "$dist_dir");
BuildProject(":cmd:macfe:restext:NavStringLibPPC.mcp");
MakeAlias(":cmd:macfe:restext:StringsPPCLib", "$dist_dir");
BuildProject(":lib:mac:MoreFiles:build:MoreFilesPPC.prj");
MakeAlias(":lib:mac:MoreFiles:build:MoreFilesPPC.lib", "$dist_dir");
BuildProject(":nsprpub:macbuild:NSPR20PPC".$LibD.".mcp");
MakeAlias(":nsprpub:macbuild:NSPR20PPC".$LibD."Lib", "$dist_dir");
BuildProject(":dbm:macbuild:DBMPPC".$LibD.".mcp");
MakeAlias(":dbm:macbuild:DBMPPC".$LibD."Lib", "${dist_dir}");
BuildProject(":lib:mac:MacMemoryAllocator:MemAllocator.mcp", "PPC Shared Library$D");
MakeAlias(":lib:mac:MacMemoryAllocator:MemAllocatorPPC".$LibD."Lib", "$dist_dir");
BuildProject(":lib:mac:NSStdLib:NSStdLib.mcp", "PPC Shared Library");
MakeAlias(":lib:mac:NSStdLib:NSStdLibPPCLib", "$dist_dir");
BuildProject(":modules:security:freenav:macbuild:NoSecurity.mcp", "PPC Shared Library$D");
MakeAlias(":modules:security:freenav:macbuild:NoSecurity".$LibD."Lib", "$dist_dir");
BuildProject(":xpcom:macbuild:xpcomPPC".$LibD.".mcp");
MakeAlias(":xpcom:macbuild:xpcomPPC".$LibD."Lib", "$dist_dir");
BuildProject(":lib:mac:PowerPlant:PowerPlant.mcp");
MakeAlias(":lib:mac:PowerPlant:PowerPlantPPC".$LibD."Lib", "$dist_dir");
BuildProject(":modules:zlib:macbuild:zlib.mcp", "PPC Shared Library$D");
MakeAlias(":modules:zlib:macbuild:zlibPPC".$LibD."Lib", "$dist_dir");
BuildProject(":jpeg:macbuild:JPEG.mcp", "PPC Shared Library$D");
MakeAlias(":jpeg:macbuild:JPEGPPC".$LibD."Lib", "$dist_dir");
BuildProject(":sun-java:stubs:macbuild:JavaStubs.mcp", "PPC Shared Library$D");
MakeAlias(":sun-java:stubs:macbuild:JavaRuntimePPC".$LibD."Lib", "$dist_dir");
BuildProject(":js:jsj:macbuild:JSJ_PPC".$LibD.".mcp");
BuildProject(":js:macbuild:JavaScriptPPC".$LibD.".mcp");
MakeAlias(":js:macbuild:JavaScriptPPC".$LibD."Lib", "$dist_dir");
BuildProject(":nav-java:stubs:macbuild:NavJavaStubs.mcp", "PPC Shared Library$D");
MakeAlias(":nav-java:stubs:macbuild:NavJavaPPC".$LibD."Lib", "$dist_dir");
if ( $main::DEBUG )
{
BuildProject(":modules:rdf:macbuild:RDF.mcp", "PPC Shared Library +D -LDAP");
MakeAlias(":modules:rdf:macbuild:RDFPPCDebugLib", "${dist_dir}");
}
else
{
Moz::BuildProject(":modules:rdf:macbuild:RDF.mcp", "PPC Shared Library -LDAP");
MakeAlias(":modules:rdf:macbuild:RDFPPCLib", "${dist_dir}");
}
BuildProject(":modules:xml:macbuild:XML.mcp", "PPC Shared Library$D");
MakeAlias(":modules:xml:macbuild:XMLPPC".$LibD."Lib", "$dist_dir");
BuildProject(":modules:libfont:macbuild:FontBroker.mcp", "PPC Library$D");
BuildProject(":modules:schedulr:macbuild:Schedulr.mcp", "PPC Shared Library$D");
MakeAlias(":modules:schedulr:macbuild:Schedulr".$LibD."PPCLib", "$dist_dir");
BuildProject(":network:macbuild:network.mcp", "PPC Library (Debug Moz)");
if ( $main::MOZ_LITE == 0 )
{
BuildProject(":cmd:macfe:Composer:build:Composer.mcp", "PPC Library$D");
}
BuildProject(":cmd:macfe:projects:client:Navigator.mcp", "Moz PPC App$D");
}
1;

View File

@@ -18,41 +18,23 @@
#
use Moz;
use BuildList;
$DEBUG = 0;
chdir("::::"); # assuming this script is in "...:mozilla:build:mac:", change dir to just above "mozilla"
Moz::Configure(":Mozilla.Configuration");
Moz::OpenErrorLog("::Mozilla.BuildLog");
# One of them should be 1. This will come from a config file at some stage.
# In the meanwhile, it should match mozilla/config/mac/MacConfig.h
$MOZ_LITE = 0;
$MOZ_MEDIUM = 1;
$MOZ_DARK = 0;
Moz::OpenErrorLog(":::Mozilla.BuildLog");
Moz::StopForErrors();
#
# Build the appropriate target of each project
#
chdir("::::");
Moz::BuildProject(":mozilla:lib:mac:NSStdLib:NSStdLib.mcp", "Stub Library");
Moz::BuildProject(":mozilla:lib:mac:MacMemoryAllocator:MemAllocator.mcp", "Stub Library");
Moz::BuildProject(":mozilla:cmd:macfe:projects:client:Navigator.mcp", "Stub Library");
# Make and popuplate the dist directory
DistMozilla();
Moz::BuildProject(":mozilla:lib:mac:NSRuntime:NSRuntime.mcp");
Moz::BuildProject(":mozilla:cmd:macfe:restext:NavStringLibPPC.mcp");
Moz::BuildProject(":mozilla:lib:mac:MoreFiles:build:MoreFilesPPC.prj");
Moz::BuildProject(":mozilla:nsprpub:macbuild:NSPR20PPCDebug.mcp");
Moz::BuildProject(":mozilla:dbm:macbuild:DBMPPCDebug.mcp");
Moz::BuildProject(":mozilla:lib:mac:MacMemoryAllocator:MemAllocator.mcp", "PPC Shared Library (Debug)");
Moz::BuildProject(":mozilla:lib:mac:NSStdLib:NSStdLib.mcp", "PPC Shared Library");
Moz::BuildProject(":mozilla:modules:security:freenav:macbuild:NoSecurity.mcp", "PPC Shared Library (Debug)");
Moz::BuildProject(":mozilla:xpcom:macbuild:xpcomPPCDebug.mcp");
Moz::BuildProject(":mozilla:lib:mac:PowerPlant:PowerPlant.mcp");
Moz::BuildProject(":mozilla:modules:zlib:macbuild:zlib.mcp", "PPC Shared Library (Debug)");
Moz::BuildProject(":mozilla:jpeg:macbuild:JPEG.mcp", "PPC Shared Library (Debug)");
Moz::BuildProject(":mozilla:sun-java:stubs:macbuild:JavaStubs.mcp", "PPC Shared Library (Debug)");
Moz::BuildProject(":mozilla:js:jsj:macbuild:JSJ_PPCDebug.mcp");
Moz::BuildProject(":mozilla:js:macbuild:JavaScriptPPCDebug.mcp");
Moz::BuildProject(":mozilla:nav-java:stubs:macbuild:NavJavaStubs.mcp", "PPC Shared Library (Debug)");
Moz::BuildProject(":mozilla:modules:rdf:macbuild:RDF.mcp", "PPC Shared Library +D -LDAP");
Moz::BuildProject(":mozilla:modules:xml:macbuild:XML.mcp", "PPC Shared Library (Debug)");
Moz::BuildProject(":mozilla:modules:libfont:macbuild:FontBroker.mcp", "PPC Library (Debug)");
Moz::BuildProject(":mozilla:modules:schedulr:macbuild:Schedulr.mcp", "PPC Shared Library (Debug)");
Moz::BuildProject(":mozilla:network:macbuild:network.mcp", "PPC Library (Debug Moz)");
Moz::BuildProject(":mozilla:cmd:macfe:Composer:build:Composer.mcp", "PPC Library (Debug)");
Moz::BuildProject(":mozilla:cmd:macfe:projects:client:Navigator.mcp", "Moz PPC App (Debug)");
# Now build the projects
BuildMozilla();

View File

@@ -0,0 +1,124 @@
#!perl
package BuildMozilla;
require Exporter;
@ISA = qw(Exporter);
@EXPORT = qw(BuildMozilla);
=head1 NAME
BuildMozilla - build the [ordered] set of projects needed to construct Mozilla
=head1 COPYRIGHT
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.
=cut
sub BuildMozilla()
{
use Moz;
chdir("::::"); # assuming this script is in "...:mozilla:build:mac:", change dir to just above "mozilla"
# Ideally, we would set the target name like so:
# $target = $main::DEBUG ? "debug" : "optimized";
# ...and all projects would have corresponding targets
$D = $main::DEBUG ? " (Debug)" : ""; # $D becomes a suffix to target names for selecting either the debug or non-debug target of a project
#
# Build the appropriate target of each project
#
Moz::BuildProject(":mozilla:lib:mac:NSStdLib:NSStdLib.mcp", "Stub Library");
Moz::BuildProject(":mozilla:lib:mac:MacMemoryAllocator:MemAllocator.mcp", "Stub Library");
Moz::BuildProject(":mozilla:cmd:macfe:projects:client:Navigator.mcp", "Stub Library");
Moz::BuildProject(":mozilla:lib:mac:NSRuntime:NSRuntime.mcp");
Moz::BuildProject(":mozilla:cmd:macfe:restext:NavStringLibPPC.mcp");
Moz::BuildProject(":mozilla:lib:mac:MoreFiles:build:MoreFilesPPC.prj");
if ( $main::DEBUG )
{
Moz::BuildProject(":mozilla:nsprpub:macbuild:NSPR20PPCDebug.mcp");
Moz::BuildProject(":mozilla:dbm:macbuild:DBMPPCDebug.mcp");
}
else
{
Moz::BuildProject(":mozilla:nsprpub:macbuild:NSPR20PPC.mcp");
Moz::BuildProject(":mozilla:dbm:macbuild:DBMPPC.mcp");
}
Moz::BuildProject(":mozilla:lib:mac:MacMemoryAllocator:MemAllocator.mcp", "PPC Shared Library$D");
Moz::BuildProject(":mozilla:lib:mac:NSStdLib:NSStdLib.mcp", "PPC Shared Library");
Moz::BuildProject(":mozilla:modules:security:freenav:macbuild:NoSecurity.mcp", "PPC Shared Library$D");
if ( $main::DEBUG )
{
Moz::BuildProject(":mozilla:xpcom:macbuild:xpcomPPCDebug.mcp");
}
else
{
Moz::BuildProject(":mozilla:xpcom:macbuild:xpcomPPC.mcp");
}
Moz::BuildProject(":mozilla:lib:mac:PowerPlant:PowerPlant.mcp");
Moz::BuildProject(":mozilla:modules:zlib:macbuild:zlib.mcp", "PPC Shared Library$D");
Moz::BuildProject(":mozilla:jpeg:macbuild:JPEG.mcp", "PPC Shared Library$D");
Moz::BuildProject(":mozilla:sun-java:stubs:macbuild:JavaStubs.mcp", "PPC Shared Library$D");
if ( $main::DEBUG )
{
Moz::BuildProject(":mozilla:js:jsj:macbuild:JSJ_PPCDebug.mcp");
Moz::BuildProject(":mozilla:js:macbuild:JavaScriptPPCDebug.mcp");
}
else
{
Moz::BuildProject(":mozilla:js:jsj:macbuild:JSJ_PPC.mcp");
Moz::BuildProject(":mozilla:js:macbuild:JavaScriptPPC.mcp");
}
Moz::BuildProject(":mozilla:nav-java:stubs:macbuild:NavJavaStubs.mcp", "PPC Shared Library$D");
# the following `if' can be fixed when we either rename the debug target of the RDF project, or of all the other projects
if ( $main::DEBUG )
{
Moz::BuildProject(":mozilla:modules:rdf:macbuild:RDF.mcp", "PPC Shared Library +D -LDAP");
}
else
{
Moz::BuildProject(":mozilla:modules:rdf:macbuild:RDF.mcp", "PPC Shared Library -LDAP");
}
Moz::BuildProject(":mozilla:modules:xml:macbuild:XML.mcp", "PPC Shared Library$D");
Moz::BuildProject(":mozilla:modules:libfont:macbuild:FontBroker.mcp", "PPC Library$D");
Moz::BuildProject(":mozilla:modules:schedulr:macbuild:Schedulr.mcp", "PPC Shared Library$D");
Moz::BuildProject(":mozilla:network:macbuild:network.mcp", "PPC Library (Debug Moz)");
Moz::BuildProject(":mozilla:cmd:macfe:Composer:build:Composer.mcp", "PPC Library$D");
Moz::BuildProject(":mozilla:cmd:macfe:projects:client:Navigator.mcp", "Moz PPC App$D");
}
1;

View File

@@ -0,0 +1,40 @@
#!perl
#
# 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.
#
use Moz;
use BuildList;
$DEBUG = 1;
# One of them should be 1. This will come from a config file at some stage.
# In the meanwhile, it should match mozilla/config/mac/MacConfig.h
$MOZ_LITE = 0;
$MOZ_MEDIUM = 1;
$MOZ_DARK = 0;
Moz::OpenErrorLog(":::Mozilla.BuildLog");
Moz::StopForErrors();
chdir("::::");
# Make and popuplate the dist directory
DistMozilla();
# Now build the projects
BuildMozilla();

View File

@@ -0,0 +1,128 @@
#!perl
#
# 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.
#
#
# nglayout build script (debug)
#
use NGLayoutBuildList;
use Cwd;
use Moz;
# configuration variables
$DEBUG = 1;
$pull{all} = 0;
$pull{lizard} = 0;
$pull{xpcom} = 0;
$pull{imglib} = 0;
$pull{netlib} = 0;
$pull{nglayout} = 0;
$pull{mac} = 0;
$build{all} = 0;
$build{dist} = 0;
$build{common}= 0;
$build{nglayout}= 0;
#
# UI
#
@choices = ("pull_and_build_all",
"pull_all",
"build_all",
"pull_nglayout",
"build_dist",
"build_projects");
#damn, this does not work on
if (0)
{
while (GetFrontProcess () != GetCurrentProcess())
{
SetFrontProcess( GetCurrentProcess() );
}
@pick = MacPerl::Pick("What would you like to do?", @choices);
$pull{all} = 0;
$build{all} = 1;
foreach $i (@pick)
{
if ($i eq "pull_and_build_all")
{
$pull{all} = 1;
$build{all} = 1;
}
elsif ($i eq "pull_all")
{
$pull{all} = 1;
}
elsif ($i eq "build_all")
{
$build{all} = 1;
}
elsif ($i eq "build_dist")
{
$build{dist} = 1;
}
elsif ($i eq "build_projects")
{
$build{projects} = 1;
}
}
}
else
{
$pull{all} = 1;
$build{all} = 1;
# $pull{netlib} = 1;
# $pull{nglayout} = 1;
# $build{common} = 1;
# $build{nglayout} = 1;
# $build{dist} = 1;
# $pull{nglayout} = 1;
}
if ($pull{all})
{
foreach $k (keys(%pull))
{
$pull{$k} = 1;
}
}
if ($build{all})
{
foreach $k (keys(%build))
{
$build{$k} = 1;
}
}
# do the work
# you should not have to edit anything bellow
chdir("::::");
$MOZ_SRC = cwd();
Moz::StopForErrors();
#Moz::DontStopForErrors();
OpenErrorLog("::NGLayoutBuildLog");
Checkout();
chdir($MOZ_SRC);
BuildDist();
chdir($MOZ_SRC);
BuildProjects();
print "Build layout complete\n";

Binary file not shown.

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.
#
if {#} != 1
echo "CopyExports requires 1 parameters:"
echo "Parameter 1: path relative to {SourceRootDir} of the file which contains"
echo " the list of files to be copied, one per line. This path"
echo " may not begin with a colon"
echo
Exit 1
end if
Set SourceList "{SourceRootDir}{1}"
Set ScriptsDir "{SourceRootDir}mozilla:build:mac:"
#set sourceList "{SourceRootDir}mozilla:{1}"
if {verbose}
echo "Source list is in file ¶"{SourceList}¶""
echo "Scripts directory is ¶"{ScriptsDir}¶""
end if
# for each line in the source file, remove it if it starts with #, otherwise quote it
for curLine in `streamedit "{sourceList}" -e '/¥#Å/ Delete; /¥/ Replace /(Å)¨1/ "¶""¨1"¶""'`
echo "{curLine}"
# ignore empty lines
if `evaluate "{{curLine}}" != ""`
echo "{curLine}"
# strip out trailing comments
if `evaluate "{curLine}" =~ /(Å)¨1[ ¶t]+(#Å)¨2/`
set sourceLine "{¨1}"
# echo "Discarding comment {¨2}"
else
set sourceLine "{curLine}"
end if
if `evaluate "{sourceLine}" =~ /([Â ¶t]+)¨1[ ¶t]+[:]*(Å)¨2/`
if {verbose}
echo "Cur line is {sourceLine}"
end if
set exportFile "{¨1}"
set theTarget "{¨2}"
if {verbose}
echo "Export file name is {exportFile}"
echo "Target directory is {theTarget}"
end if
"{ScriptsDir}CopyList.script" "{exportFile}" "{theTarget}"
end if
end if
end for

View File

@@ -0,0 +1,81 @@
#
# 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 is the controlling script for a set of scripts that copy public
# header files in one or more source trees into a single, "dist" directory.
#
# It relies on the two accompanying scripts, ÒCopyList.scriptÓ and
# ÒCopyExports.scriptÓ, which must be in the same directory.
#
# To execute this script, select everything from "# Get the..." to
# " the end" and hit the Enter key.
#
# Known bugs:
# Header files are always copied if the export.mac file contains
# non-local paths.
# Spurious output is produced even when verbose is off.
#
# Uncomment this to get some progress information
# set -e verbose 1
# Get the root of everything
set magicfilepath "{systempfolder}filepath" # Temporary items folder, "filepath"
if !`Exists "{{magicFilePath}}"`
Echo "No file path file seems to have been created in the temporary items folder."
Echo "Was this script executed from the perl script? That's the way it was designed."
Exit 1
end if
set myDirectory "`catenate "{{magicFilePath}}"`"
delete -i "{{magicFilePath}}"
Set SourceList "{myDirectory}{1}"
(Evaluate "{myDirectory}" =~ /(Å:)¨1[Â:]+:[Â:]+:[Â:]+/) #·· dev:null
Set -e mozillaDir "{¨1}"
if !`Exists "{{mozillaDir}}"`
Echo "A file path was passed, but it doesn't seem to be the mozilla directory."
Exit 1
end if
echo "Mozilla directory found at {mozillaDir}"
#Calculate the root directory by stripping off the leaf name.
(Evaluate "{mozillaDir}" =~ /(Å:)¨1([Â:]+)¨2/) #·· dev:null
Set -e SourceRootDir "{¨1}"
Set -e DestRootDir "{mozillaDir}dist:"
# Ensure the build and stubs folders exist
if !`exists -d "{mozillaDir}dist"`
newfolder "{mozillaDir}dist"
end if
if !`exists -d "{mozillaDir}dist:client"`
newfolder "{mozillaDir}dist:client"
end if
if !`exists -d "{mozillaDir}dist:client_debug"`
newfolder "{mozillaDir}dist:client_debug"
end if
if !`exists -d "{mozillaDir}dist:client_stubs"`
newfolder "{mozillaDir}dist:client_stubs"
end if
"{SourceRootDir}mozilla:build:mac:CopyExports.script" "mozilla:build:mac:MacExportListPublic"
# the end

View File

@@ -0,0 +1,97 @@
#
# 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.
#
if {#} != 2
echo "CopyList requires 2 parameters:"
echo "Parameter 1: path relative to {SourceRootDir} of the file which contains"
echo " the list of files to be copied, one per line. This path"
echo " may not begin with a colon"
echo
echo "Parameter 2: path relative to {DestRootDir} of the directory where all the"
echo " files are to be copied. No initial colons!"
echo
Exit 1
end if
set debugEcho "" # This setting will actually duplicate the files
#set debugEcho "echo" # This setting will merely print the "duplicate" commands.
set sourceList "{SourceRootDir}{1}"
set targetDir "{DestRootDir}{2}"
# targetDir may not end in a colon for this script to work.
if `Evaluate "{targetDir}" =~ /(Å)¨1:/`
#echo "Removed a colon"
set targetDir "{¨1}"
end if
#Ensure the target hierarchy exists
# Volume name
(Evaluate "{TargetDir}" =~ /([Â:]+)¨1:Å/) ·· dev:null
Set PartialPath "{¨1}"
Loop
(Evaluate "{TargetDir}" =~ /("{PartialPath}":[Â:]+)¨1([:]*)¨2Å/) ·· dev:null
Set PartialPath "{¨1}"
Set Exit 0
(NewFolder "{PartialPath}") ·· dev:null
Set Exit 1
break if "{¨2}" == ""
End Loop
#Calculate the source directory by stripping off the leaf name.
(Evaluate "{SourceList}" =~ /(Å:)¨1([Â:]+)¨2/) #·· dev:null
Set SourceDir "{¨1}"
if {verbose}
echo "Source list is in file ¶"{sourceList}¶""
echo "Source directory is ¶"{SourceDir}¶""
echo "Target directory is ¶"{targetDir}¶""
end if
# Strip all comment lines, pipe the stripped lines into the "for" loop.
# We quote each whole line here so that we deal with a line at a time in the
# for loop. Don't ya just love MPW quoting rulesÉ
for f in `streamedit "{sourceList}" -e '/¥#Å/ Delete; /¥/ Replace /(Å)¨1/ "¶""¨1"¶""'`
if `evaluate "{{f}}" != ""`
# strip out trailing comments (in fact, anything following whitespace)
if `evaluate "{f}" =~ /([Â ¶t]+)¨1[ ¶t]+([#]*Å)¨2/`
set sourceFile "{¨1}"
# echo "Discarding comment {¨2}"
else
set sourceFile "{f}"
end if
# sourceFile can be a relative path, so need to get the file name for date comparisons
if `evaluate "{sourceFile}" =~ /Å:([Â:]+)¨1/`
set filename "{¨1}"
else
set filename "{sourceFile}"
end if
# now copy the file if newer
if "`Newer "{sourceDir}{sourceFile}" "{targetDir}:{filename}"`" #|| !`Exists "{targetDir}:{filename}"`
if {verbose} ; echo "{sourceDir}{sourceFile} is newer than {targetDir}:{filename}" ; end if
#{debugEcho} duplicate -y "{sourceDir}{sourceFile}" "{targetDir}"
{debugEcho} newalias "{sourceDir}{sourceFile}" "{targetDir}:{filename}"
end if
end if
end for

View File

@@ -0,0 +1,4 @@
/* This library only exists to provide a dummy library for the final project */
/* There is nothing to do here. */

Binary file not shown.

View File

@@ -0,0 +1,69 @@
#
# 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 is the controlling script for a set of scripts that copy public
# header files in one or more source trees into a single, "dist" directory.
#
# It relies on the two accompanying scripts, ÒCopyList.scriptÓ and
# ÒCopyExports.scriptÓ, which must be in the same directory.
#
# To execute this script, select everything from "# Get the..." to
# " the end" and hit the Enter key.
#
# Known bugs:
# Spurious output is produced even when verbose is off.
#
# Uncomment this to get some progress information
# set -e verbose 1
# Get the root of everything
set moz ""
loop
set mozillaDir `GetFileName -d -m "Please select the ÒmozillaÓ directory"`
#set SourceRootDir
(Evaluate "{mozillaDir}" =~ /(Å:)¨1([Â:]+)¨2:/) #·· dev:null
set moz "{¨2}"
break if "{moz}" == "mozilla"
Alert "Sorry, this only works if you select the folder called ÒmozillaÓ."
end loop
#Calculate the root directory by stripping off the leaf name.
(Evaluate "{mozillaDir}" =~ /(Å:)¨1([Â:]+)¨2/) #·· dev:null
Set -e SourceRootDir "{¨1}"
Set -e DestRootDir "{mozillaDir}dist:"
# Ensure the build and stubs folders exist
if !`exists -d "{mozillaDir}dist"`
newfolder "{mozillaDir}dist"
end if
if !`exists -d "{mozillaDir}dist:client"`
newfolder "{mozillaDir}dist:client"
end if
if !`exists -d "{mozillaDir}dist:client_debug"`
newfolder "{mozillaDir}dist:client_debug"
end if
if !`exists -d "{mozillaDir}dist:client_stubs"`
newfolder "{mozillaDir}dist:client_stubs"
end if
"{SourceRootDir}mozilla:build:mac:CopyExports.script" "mozilla:build:mac:MacExportListPublic"
# the end

View File

@@ -26,63 +26,69 @@
*/
/* warning pragmas */
#pragma warn_hidevirtual on
#pragma warn_hidevirtual on
#pragma warn_emptydecl on
#pragma warn_unusedvar on
#pragma warn_extracomma on
#pragma warn_illpragma on
#pragma warn_possunwant on
#pragma warn_unusedarg off /* turned off to reduce warnings */
#pragma check_header_flags on
#pragma check_header_flags on
/* Language features that must be the same across libraries... */
#pragma enumsalwaysint on
#pragma unsigned_char off
#pragma exceptions on
#pragma bool on
#pragma enumsalwaysint on
#pragma unsigned_char off
#pragma exceptions on
#pragma bool on
/* Save as much space as possible with strings... */
#pragma pool_strings on
#pragma dont_reuse_strings off
#pragma dont_reuse_strings off
#pragma options align=native
#pragma sym on /* Takes no memory. OK in non-debug. */
#pragma sym on /* Takes no memory. OK in non-debug. */
#ifdef powerc /* ...generating PowerPC */
#pragma toc_data on
#pragma fp_contract on
#pragma readonly_strings on
#pragma toc_data on
#pragma fp_contract on
#pragma readonly_strings on
#ifdef DEBUG
#pragma traceback on
#pragma global_optimizer off
#pragma scheduling off
#pragma peephole off
#pragma optimize_for_size off
#pragma traceback on
#pragma global_optimizer off
#pragma scheduling off
#pragma peephole off
#pragma optimize_for_size off
#else
#pragma traceback off
#pragma global_optimizer on
#pragma optimization_level 4
#pragma scheduling 604
#pragma peephole on
#pragma optimize_for_size on
#pragma traceback off
#pragma global_optimizer on
#pragma optimization_level 4
#pragma scheduling 604
#pragma peephole on
#pragma optimize_for_size on
#endif
#else /* ...generating 68k */
#pragma code68020 on
#pragma code68881 off
#pragma code68020 on
#pragma code68881 off
/* Far everything... */
#pragma far_code
#pragma far_data on
#pragma far_strings on
#pragma far_vtables on
#pragma far_data on
#pragma far_strings on
#pragma far_vtables on
#pragma fourbyteints on /* 4-byte ints */
#pragma IEEEdoubles on /* 8-byte doubles (as required by Java and NSPR) */
#pragma fourbyteints on /* 4-byte ints */
#pragma IEEEdoubles on /* 8-byte doubles (as required by Java and NSPR) */
#ifdef DEBUG
#pragma macsbug on
#pragma macsbug on
#pragma oldstyle_symbols off
#else
#pragma macsbug off
#pragma macsbug off
#endif
#endif

View File

@@ -0,0 +1,5 @@
#
# This is a list of local files which get copied to the mozilla:dist directory
#
IDE_Options.h

198
mozilla/build/mac/MacCVS.pm Normal file
View File

@@ -0,0 +1,198 @@
#!perl -w
package MacCVS;
# package Mac::Apps::MacCVS; this should really be the name of the package
# but due to our directory hierarchy in mozilla, I am not doing it
require 5.004;
require Exporter;
use strict;
use vars qw($VERSION @ISA @EXPORT $MacCVSLib);
use Mac::StandardFile;
use Moz;
use Cwd;
use Exporter;
use File::Basename;
@ISA = qw(Exporter);
@EXPORT = qw( new print checkout);
$VERSION = "1.00";
# Architecture:
# cvs session object:
# name - session name
# session_file - session file
#
# globals
# $MacCVSLib - location of MacCVS applescript library
#
#
#
# utility routines
#
# just like Mac::DoAppleScript, 1 is success, 0 is failure
sub _myDoAppleScript($)
{
my($script) = @_;
my $asresult = MacPerl::DoAppleScript($script);
if ($asresult eq "0")
{
return 1;
}
else
{
print STDERR "AppleScript error: $asresult\n";
print STDERR "AppleScript was: \n $script \n";
return 0;
}
}
# _useMacCVSLib
# returns 1 on success
# Search the include path for the file called MacCVSLib
sub _useMacCVSLib()
{
unless ( defined($MacCVSLib) )
{
my($libname) = "MacCVSLib";
# try the directory we were run from
my($c) = dirname($0) . ":" . $libname;
if ( -e $c)
{
$MacCVSLib = $c;
}
else
{
# now search the include directories
foreach (@INC)
{
unless ( m/^Dev:Pseudo/ ) # This is some bizarre MacPerl special-case directory
{
$c = $_ . $libname;
if (-e $c)
{
$MacCVSLib = $c;
last;
}
}
}
}
if (! (-e $MacCVSLib))
{
print STDERR "MacCVS lib could not be found! $MacCVSLib";
return 0;
}
}
return 1;
}
#
# Session object methods
#
sub new {
my ( $proto, $session_file) = @_;
my $class = ref($proto) || $proto;
my $self = {};
if ( defined($session_file) && ( -e $session_file) )
{
$self->{"name"} = basename( $session_file );
$self->{"session_file"} = $session_file;
bless $self, $class;
return $self;
}
else
{
print STDERR "MacCVS->new cvs file < $session_file > does not exist\n";
return;
}
}
# makes sure that the session is open
# assertSessionOpen()
# returns 1 on failure
sub assertSessionOpen() {
my ($self) = shift;
_useMacCVSLib() || die "Could not load MacCVSLib\n";
my $script = <<END_OF_APPLESCRIPT;
tell (load script file "$MacCVSLib") to OpenSession("$self->{session_file}")
END_OF_APPLESCRIPT
return _myDoAppleScript($script);
}
# prints the cvs object, used mostly for debugging
sub print {
my($self) = shift;
print "MacCVS:: name: ", $self->{name}, " session file: ", $self->{session_file}, "\n";
}
# checkout( self, module, revision, date)
# MacCVS checkout command
# returns 1 on failure
sub checkout {
my($self, $module, $revision, $date ) = @_;
unless( defined ($module) ) { $module = ""; } # get rid of the pesky undefined warnings
unless( defined ($revision) ) { $revision = ""; }
unless( defined ($date) ) { $date = ""; }
$self->assertSessionOpen() || return 1;
my $script = <<END_OF_APPLESCRIPT;
tell (load script file "$MacCVSLib") to Checkout given sessionName:"$self->{name}", module:"$module", revision:"$revision", date:"$date"
END_OF_APPLESCRIPT
return _myDoAppleScript($script);
}
1;
=pod
=head1 NAME
MacCVS - Interface to MacCVS
=head1 SYNOPSIS
use MacCVS;
$session = MacCVS->new( <session_file_path>) || die "cannot create session";
$session->checkout([module] [revision] [date]) || die "Could not check out";
=head1 DESCRIPTION
This is a MacCVS interface for talking to MacCVS Pro client.
MacCVSSession is the class used to manipulate the session
=item new
MacCVS->new( <cvs session file path>);
Creates a new session. Returns undef on failure.
=item checkout( <module> [revision] [date] )
cvs checkout command. Revision and date are optional
returns 0 on failure
=cut
=head1 SEE ALSO
=over
=item MacCVS Home Page
http://www.maccvs.org/
=back
=head1 AUTHORS
Aleks Totic atotic@netscape.com
=cut
__END__

BIN
mozilla/build/mac/MacCVSLib Normal file

Binary file not shown.

View File

@@ -0,0 +1,159 @@
#
# 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 is a list of paths to export.mac files, and destination
# directories for the copied headers. Destinations are relative
# to "mozilla:dist".
###################
# PUBLIC TREE
###################
# LDAP
mozilla:directory:c-sdk:ldap:include:MANIFEST :ldap
#INCLUDE
mozilla:config:mac:export.mac :config
mozilla:include:export.mac :include
mozilla:cmd:macfe:pch:export.mac :include
#MAC_COMMON
mozilla:build:mac:export.mac :mac:common
mozilla:lib:mac:NSStdLib:include:export.mac :mac:common
mozilla:lib:mac:MacMemoryAllocator:include:export.mac :mac:common
mozilla:lib:mac:Misc:export.mac :mac:common
mozilla:lib:mac:MoreFiles:export.mac :mac:common:morefiles
mozilla:cmd:macfe:export.mac :mac:macfe
#NSPR
mozilla:nsprpub:pr:include:export.mac :nspr
mozilla:nsprpub:pr:src:md:mac:export.mac :nspr:mac
mozilla:nsprpub:lib:ds:export.mac :nspr
mozilla:nsprpub:lib:libc:include:export.mac :nspr
mozilla:nsprpub:lib:msgc:include:export.mac :nspr
#DBM
mozilla:dbm:include:export.mac :dbm
#LIBIMAGE
mozilla:modules:libimg:png:export.mac :libimg
mozilla:modules:libimg:src:export.mac :libimg
mozilla:modules:libimg:public:export.mac :libimg
#SECURITY_freenav
mozilla:modules:security:freenav:export.mac :security
#XPCOM
mozilla:xpcom:src:export.mac :xpcom
#ZLIB
mozilla:modules:zlib:src:export.mac :zlib
#JPEG
mozilla:jpeg:export.mac :jpeg
#JSJ
mozilla:js:jsj:export.mac :jsj
#JSDEBUG
mozilla:js:jsd:export.mac :jsdebug
#JS
mozilla:js:src:export.mac :js
#RDF
mozilla:modules:rdf:include:export.mac :rdf
#XML
mozilla:modules:xml:glue:export.mac :xml
mozilla:modules:xml:expat:xmlparse:export.mac :xml
#LIBFONT
mozilla:modules:libfont:public:export.mac :libfont
mozilla:modules:libfont:src:export.mac :libfont
#SCHEDULER
mozilla:modules:schedulr:public:export.mac :schedulr
#NETWORK
#This stuff is all in libnet on the branch.
#mozilla:network:cache:export.mac :network
#mozilla:network:client:export.mac :network
#mozilla:network:cnvts:export.mac :network
#mozilla:network:cstream:export.mac :network
#mozilla:network:main:export.mac :network
#ozilla:network:protocol:about:export.mac :network
#mozilla:network:protocol:certld:export.mac :network
#mozilla:network:protocol:dataurl:export.mac :network
#mozilla:network:protocol:file:export.mac :network
#mozilla:network:protocol:ftp:export.mac :network
#mozilla:network:protocol:gopher:export.mac :network
#mozilla:network:protocol:http:export.mac :network
#mozilla:network:protocol:js:export.mac :network
#mozilla:network:protocol:mailbox:export.mac :network
#mozilla:network:protocol:marimba:export.mac :network
#mozilla:network:protocol:nntp:export.mac :network
#mozilla:network:protocol:pop3:export.mac :network
#mozilla:network:protocol:remote:export.mac :network
#mozilla:network:protocol:smtp:export.mac :network
#NORMANDY_BRANCH only
mozilla:lib:libnet:export.mac :libnet
#HTML_DIALOGS
mozilla:lib:htmldlgs:export.mac :htmldlgs
#LAYOUT
mozilla:lib:layout:export.mac :layout
#LAYERS
mozilla:lib:liblayer:include:export.mac :layers
#PARSE
mozilla:lib:libparse:export.mac :libparse
#STYLE
mozilla:lib:libstyle:export.mac :libstyle
#LIBHOOK
mozilla:modules:libhook:public:export.mac :libhook
#LIBPREF
mozilla:modules:libpref:public:export.mac :libpref
#LIBREG
mozilla:modules:libreg:include:export.mac :libreg
#LIBUTIL
mozilla:modules:libutil:public:export.mac :libutil
#OJI
mozilla:modules:oji:src:export.mac :oji
#PROGRESS
mozilla:modules:progress:public:export.mac :progress
#SOFTUPDATE
mozilla:modules:softupdt:include:export.mac :softupdate
#NAV_JAVA
mozilla:nav-java:stubs:macjri:export.mac :nav-java:macjri
mozilla:nav-java:stubs:include:export.mac :nav-java
#SUN_JAVA
mozilla:sun-java:stubs:include:export.mac :sun-java:include
mozilla:sun-java:stubs:macjri:export.mac :sun-java:macjri

Binary file not shown.

View File

@@ -1,30 +1,43 @@
#!perl
=head1 NAME
B<Moz> - routines for automating CodeWarrior builds, and some extra-curricular activities related to building Mozilla
=head1 SYNOPSIS
use Moz;
OpenErrorLog(":::BuildLog");
StopForErrors();
$Moz::QUIET = 1;
InstallFromManifest(":projects:MANIFEST", $dist_dir);
BuildProjectClean(":projects:SomeProject.mcp", "SomeTarget");
MakeAlias(":projects:SomeProject.shlb", $dist_dir);
DontStopForErrors();
BuildProject(":projects:SomeOtherProject.mcp", "SomeTarget");
=head1 DESCRIPTION
B<Moz> comprises the routines needed to slap CodeWarrior around, force it to build a sequence of projects, report the results, and a few other things.
=cut
#
# 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.
#
package Moz;
require Exporter;
@ISA = qw(Exporter);
@EXPORT = qw();
@EXPORT_OK = qw(BuildProject,OpenErrorLog,CloseErrorLog,UseCodeWarriorLib,Configure,StopForErrors,DontStopForErrors);
@EXPORT = qw(BuildProject BuildProjectClean OpenErrorLog MakeAlias StopForErrors DontStopForErrors InstallFromManifest);
@EXPORT_OK = qw(CloseErrorLog UseCodeWarriorLib QUIET);
use Cwd;
use File::Path;
use ExtUtils::Manifest 'maniread';
sub current_directory()
{
@@ -49,6 +62,16 @@ sub full_path_to($)
return $path;
}
=head2 Setup
Pretty much, everything is taken care of for you.
However, B<Moz> does use a little compiled AppleScript library (the file CodeWarriorLib) for some of its communcication with CodeWarrior.
If this library isn't in the same directory as "Moz.pm", then you need to tell B<Moz> where to find it.
Call C<UseCodeWarriorLib($path_to_CodeWarriorLib)>.
This routine is not exported by default, nor are you likely to need it.
=cut
sub UseCodeWarriorLib($)
{
($CodeWarriorLib) = @_;
@@ -68,15 +91,25 @@ BEGIN
activate_CodeWarrior();
}
sub Configure($)
{
my ($config_file) = @_;
# read in the configuration file
}
$logging = 0;
$recent_errors_file = "";
$stop_on_1st_error = 1;
$QUIET = 0;
=head2 Logging all the errors and warnings - C<OpenErrorLog($log_file)>, C<CloseErrorLog()>
The warnings and errors generated in the course of building projects can be logged to a file.
Tinderbox uses this facility to show why a remote build failed.
Logging is off by default.
Start logging at any point in your build process with C<OpenErrorLog($log_file)>.
Stop with C<CloseErrorLog()>.
You never need to close the log explicitly, unless you want to just log a couple of projects in the middle of a big list.
C<CloseErrorLog()> is not exported by default.
=cut
sub CloseErrorLog()
{
@@ -84,9 +117,12 @@ sub CloseErrorLog()
{
close(ERROR_LOG);
$logging = 0;
StopForErrors() if $stop_on_1st_error;
}
}
sub OpenErrorLog($)
{
my ($log_file) = @_;
@@ -104,9 +140,28 @@ sub OpenErrorLog($)
}
}
=head2 Stopping before it's too late - C<StopForErrors()>, C<DontStopForErrors()>
When building a long list of projects, you decide whether to continue building subsequent projects when one fails.
By default, your build script will C<die> after the first project that generates an error while building.
Change this behavior with C<DontStopForErrors()>.
Re-enable it with C<StopForErrors()>.
=cut
sub StopForErrors()
{
$stop_on_1st_error = 1;
# Can't stop for errors unless we notice them.
# Can't notice them unless we are logging.
# If the user didn't explicitly request logging, log to a temporary file.
if ( ! $recent_errors_file )
{
OpenErrorLog("${TMPDIR}BuildResults");
}
}
sub DontStopForErrors()
@@ -137,14 +192,14 @@ sub log_recent_errors($)
{
my ($project_name) = @_;
my $found_errors = 0;
if ( $logging )
{
open(RECENT_ERRORS, "<$recent_errors_file");
while( <RECENT_ERRORS> )
{
if ( $_ =~ m/^Error/ )
if ( /^Error/ || /^CouldnÕt find project file/ )
{
$found_errors = 1;
}
@@ -154,7 +209,7 @@ sub log_recent_errors($)
close(RECENT_ERRORS);
unlink("$recent_errors_file");
}
if ( $stop_on_1st_error && $found_errors )
{
print ERROR_LOG "### Build failed.\n";
@@ -162,9 +217,9 @@ sub log_recent_errors($)
}
}
sub BuildProject($;$)
sub build_project($$$)
{
my ($project_path, $target_name) = @_;
my ($project_path, $target_name, $clean_build) = @_;
$project_path = full_path_to($project_path);
$project_path =~ m/.+:(.+)/;
@@ -172,9 +227,18 @@ sub BuildProject($;$)
log_message_with_time("### Building \"$project_path\"");
# Check that the given project exists
if (! -e $project_path)
{
print ERROR_LOG "### Build failed.\n";
die "### Can't find project file \"$project_path\".\n";
}
print "Building \"$project_path\"\n";
$had_errors =
MacPerl::DoAppleScript(<<END_OF_APPLESCRIPT);
tell (load script file "$CodeWarriorLib") to BuildProject("$project_path", "$project_name", "$target_name", "$recent_errors_file")
tell (load script file "$CodeWarriorLib") to BuildProject("$project_path", "$project_name", "$target_name", "$recent_errors_file", $clean_build)
END_OF_APPLESCRIPT
# Append any errors to the globally accumulated log file
@@ -184,4 +248,126 @@ END_OF_APPLESCRIPT
}
}
1;
=head2 Getting CodeWarrior to build projects - C<BuildProject($project, $opt_target)>, C<BuildProjectClean($project, $opt_target)>
C<BuildProject()> and C<BuildProjectClean()> are identical, except that the latter first removes object code.
In both, CodeWarrior opens the project if it wasn't already open; builds the given (or else current) target; and finally closes
the project, if it wasn't already open.
=cut
sub BuildProject($;$)
{
my ($project_path, $target_name) = @_;
build_project($project_path, $target_name, "false");
}
sub BuildProjectClean($;$)
{
my ($project_path, $target_name) = @_;
build_project($project_path, $target_name, "true");
}
=head2 Miscellaneous
C<MakeAlias($old_file, $new_file)> functions like C<symlink()>, except with better argument defaulting and more explicit error messages.
=cut
sub MakeAlias($$)
{
my ($old_file, $new_file) = @_;
# if the directory to hold $new_file doesn't exist, create it
if ( ($new_file =~ m/(.+:)/) && !-d $1 )
{
mkpath($1);
}
# if a leaf name wasn't specified for $new_file, use the leaf from $old_file
if ( ($new_file =~ m/:$/) && ($old_file =~ m/.+:(.+)/) )
{
$new_file .= $1;
}
my $message = "Can't create a Finder alias (at \"$new_file\")\n for \"$old_file\";";
# die "$message symlink doesn't work on directories.\n" if -d $old_file;
die "$message because \"$old_file\" doesn't exist.\n" unless -e $old_file;
#check if the alias is already pointing to the right direction
my ($aliasto) = readlink($new_file);
my ($full_old_file) = ( $old_file =~ m/^:/ ) ? cwd() . $old_file : $old_file;
unless ($aliasto && ($aliasto eq $full_old_file))
{
unlink $new_file;
# print "symlink(\"$old_file\", \"$new_file\");\n";
symlink($old_file, $new_file) || die "$message symlink returned an unexpected error.\n";
}
}
=pod
C<InstallFromManifest()>
=cut
sub InstallFromManifest($;$)
{
my ($manifest_file, $dest_dir) = @_;
$dest_dir ||= ":";
$manifest_file =~ m/(.+):/;
my $source_dir = $1;
chop($dest_dir) if $dest_dir =~ m/:$/;
print "Doing manifest on \"$manifest_file\"\n" unless $QUIET;
my $read = maniread(full_path_to($manifest_file));
foreach $file (keys %$read)
{
next unless $file;
$subdir = ":";
if ( $file =~ /:.+:/ )
{
$subdir = $&;
}
$file = ":$file" unless $file =~ m/^:/;
MakeAlias("$source_dir$file", "$dest_dir$subdir");
}
}
1;
=head1 AUTHORS
Scott Collins <scc@netscape.com>, Simon Fraser <sfraser@netscape.com>
=head1 SEE ALSO
BuildMozillaDebug.pl (et al), BuildList.pm, CodeWarriorLib (an AppleScript library)
=head1 COPYRIGHT
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.
=cut

View File

@@ -0,0 +1,388 @@
#!perl -w
package NGLayoutBuildList;
require 5.004;
require Exporter;
use strict;
use vars qw( @ISA @EXPORT );
# perl includes
use Mac::StandardFile;
use Mac::Processes;
use Cwd;
use File::Path;
# homegrown
use Moz;
use MacCVS;
@ISA = qw(Exporter);
@EXPORT = qw( Checkout BuildDist BuildProjects BuildCommonProjects BuildLayoutProjects);
# NGLayoutBuildList builds the nglayout project
# it is configured by setting the following variables in the caller:
# Usage:
# caller variables that affect behaviour:
# DEBUG : 1 if we are building a debug version
# 3-part build process: checkout, dist, and build_projects
# Hack alert:
# NGLayout defines are located in :mozilla:config:mac:NGLayoutConfigInclude.h
# An alias "MacConfigInclude.h" to this file is created inside dist:config
# Note that the name of alias is different than the name of the file. This
# is to trick CW into including NGLayout defines
#
# Utility routines
#
# pickWithMemoryFile stores the information about the user pick inside
# the file $session_storage
sub _pickWithMemoryFile($)
{
my ($sessionStorage) = @_;
my $cvsfile;
if (( -e $sessionStorage) &&
open( SESSIONFILE, $sessionStorage ))
{
# Read in the path if available
$cvsfile = <SESSIONFILE>;
chomp $cvsfile;
close SESSIONFILE;
if ( ! -e $cvsfile )
{
print STDERR "$cvsfile has disappeared\n";
undef $cvsfile;
}
}
unless (defined ($cvsfile))
{
print "Choose a CVS session file in file dialog box:\n"; # no way to display a prompt?
# make sure that MacPerl is a front process
while (GetFrontProcess () != GetCurrentProcess())
{
SetFrontProcess( GetCurrentProcess() );
}
# prompt user for the file name, and store it
my $macFile = StandardGetFile( 0, "McvD");
if ( $macFile->sfGood() )
{
$cvsfile = $macFile->sfFile();
# save the choice if we can
if ( open (SESSIONFILE, ">" . $sessionStorage))
{
printf SESSIONFILE $cvsfile, "\n";
close SESSIONFILE;
}
else
{
print STDERR "Could not open storage file\n";
}
}
}
return $cvsfile;
}
# assert that we are in the correct directory for the build
sub _assertRightDirectory()
{
unless (-e ":mozilla")
{
my($dir) = cwd();
print STDERR "NGLayoutBuildList called from incorrect directory: $dir";
}
}
sub _getDistDirectory()
{
return $main::DEBUG ? ":mozilla:dist:viewer_debug:" : ":mozilla:dist:viewer:";
}
#
# MAIN ROUTINES
#
sub Checkout()
{
_assertRightDirectory();
my($cvsfile) = _pickWithMemoryFile("::nglayout.cvsloc");
my($session) = MacCVS->new( $cvsfile );
unless (defined($session)) { die "Checkout aborted. Cannot create session file: $session" }
if ($main::pull{lizard})
{
$session->checkout("mozilla/LICENSE") || die "checkout failure";
$session->checkout("mozilla/LEGAL") || die "checkout failure";
$session->checkout("mozilla/config") || die "checkout failure";
$session->checkout("mozilla/lib/liblayer") || die "checkout failure";
$session->checkout("mozilla/modules/zlib") || die "checkout failure";
$session->checkout("mozilla/modules/libutil") || die "checkout failure";
$session->checkout("mozilla/nsprpub") || die "checkout failure";
$session->checkout("mozilla/sun-java") || die "checkout failure";
$session->checkout("mozilla/nav-java") || die "checkout failure";
$session->checkout("mozilla/js") || die "checkout failure";
$session->checkout("mozilla/modules/security/freenav") || die "checkout failure";
$session->checkout("mozilla/modules/libpref") || die "checkout failure";
$session->checkout("mozilla/lib/libparse") || die "checkout failure";
$session->checkout("mozilla/lib/layout") || die "checkout failure";
$session->checkout("mozilla/lib/libstyle") || die "checkout failure";
$session->checkout("mozilla/lib/libpwcac") || die "checkout failure";
}
if ($main::pull{xpcom})
{
$session->checkout("mozilla/modules/libreg ") || die "checkout failure";
$session->checkout("mozilla/xpcom") || die "checkout failure";
}
if ($main::pull{imglib})
{
my($IMGLIB_BRANCH) = "MODULAR_IMGLIB_BRANCH";
$session->checkout("mozilla/jpeg ", $IMGLIB_BRANCH) || die "checkout failure";
$session->checkout("mozilla/modules/libutil", $IMGLIB_BRANCH) || die "checkout failure";
$session->checkout("mozilla/modules/libimg", $IMGLIB_BRANCH) || die "checkout failure";
}
if ($main::pull{netlib})
{
$session->checkout("mozilla/lib/xp ") || die "checkout failure";
$session->checkout("mozilla/network") || die "checkout failure";
$session->checkout("mozilla/include") || die "checkout failure";
}
if ($main::pull{nglayout})
{
$session->checkout("mozilla/base ") || die "checkout failure";
$session->checkout("mozilla/dom") || die "checkout failure";
$session->checkout("mozilla/gfx") || die "checkout failure";
$session->checkout("mozilla/htmlparser") || die "checkout failure";
$session->checkout("mozilla/layout") || die "checkout failure";
$session->checkout("mozilla/view") || die "checkout failure";
$session->checkout("mozilla/webshell") || die "checkout failure";
$session->checkout("mozilla/widget") || die "checkout failure";
}
if ($main::pull{mac})
{
$session->checkout("mozilla/build/mac ") || die "checkout failure";
$session->checkout("mozilla/cmd/macfe") || die "checkout failure";
$session->checkout("mozilla/lib/mac/MacMemoryAllocator") || die "checkout failure";
$session->checkout("mozilla/lib/mac/NSStdLib") || die "checkout failure";
$session->checkout("mozilla/lib/mac/MoreFiles") || die "checkout failure";
$session->checkout("mozilla/lib/mac/NSRuntime") || die "checkout failure";
$session->checkout("mozilla/lib/mac/Misc") || die "checkout failure";
}
}
# builds the dist directory
sub BuildDist()
{
unless ( $main::build{dist} ) { return;}
_assertRightDirectory();
# we really do not need all these paths, but many client projects include them
mkpath([ ":mozilla:dist:", ":mozilla:dist:client:", ":mozilla:dist:client_debug:", ":mozilla:dist:client_stubs:" ]);
mkpath([ ":mozilla:dist:viewer:", ":mozilla:dist:viewer_debug:" ]);
my($distdirectory) = ":mozilla:dist";
my($distlist) = [
#MAC_COMMON
[":mozilla:build:mac:MANIFEST", "$distdirectory:mac:common:"],
[":mozilla:lib:mac:NSStdLib:include:MANIFEST", "$distdirectory:mac:common:"],
[":mozilla:lib:mac:MacMemoryAllocator:include:MANIFEST", "$distdirectory:mac:common:"],
[":mozilla:lib:mac:Misc:MANIFEST", "$distdirectory:mac:common:"],
[":mozilla:lib:mac:MoreFiles:MANIFEST", "$distdirectory:mac:common:morefiles:"],
#INCLUDE
[":mozilla:config:mac:MANIFEST", "$distdirectory:config:"],
[":mozilla:include:MANIFEST", "$distdirectory:include:"],
[":mozilla:cmd:macfe:pch:MANIFEST", "$distdirectory:include:"],
#NSPR
[":mozilla:nsprpub:pr:include:MANIFEST", "$distdirectory:nspr:"],
[":mozilla:nsprpub:pr:src:md:mac:MANIFEST", "$distdirectory:nspr:mac:"],
[":mozilla:nsprpub:lib:ds:MANIFEST", "$distdirectory:nspr:"],
[":mozilla:nsprpub:lib:libc:include:MANIFEST", "$distdirectory:nspr:"],
[":mozilla:nsprpub:lib:msgc:include:MANIFEST", "$distdirectory:nspr:"],
#JPEG
[":mozilla:jpeg:MANIFEST", "$distdirectory:jpeg:"],
#LIBREG
[":mozilla:modules:libreg:include:MANIFEST", "$distdirectory:libreg:"],
#XPCOM
[":mozilla:xpcom:src:MANIFEST", "$distdirectory:xpcom:"],
#ZLIB
[":mozilla:modules:zlib:src:MANIFEST", "$distdirectory:zlib:"],
#LIBUTIL
[":mozilla:modules:libutil:public:MANIFEST", "$distdirectory:libutil:"],
#SUN_JAVA
[":mozilla:sun-java:stubs:include:MANIFEST", "$distdirectory:sun-java:"],
[":mozilla:sun-java:stubs:macjri:MANIFEST", "$distdirectory:sun-java:"],
#NAV_JAVA
[":mozilla:nav-java:stubs:include:MANIFEST", "$distdirectory:nav-java:"],
[":mozilla:nav-java:stubs:macjri:MANIFEST", "$distdirectory:nav-java:"],
#JS
[":mozilla:js:src:MANIFEST", "$distdirectory:js:"],
#SECURITY_freenav
[":mozilla:modules:security:freenav:MANIFEST", "$distdirectory:security:"],
#LIBPREF
[":mozilla:modules:libpref:public:MANIFEST", "$distdirectory:libpref:"],
#LIBIMAGE
[":mozilla:modules:libimg:png:MANIFEST", "$distdirectory:libimg:"],
[":mozilla:modules:libimg:src:MANIFEST", "$distdirectory:libimg:"],
[":mozilla:modules:libimg:public:MANIFEST", "$distdirectory:libimg:"],
#PARSE
[":mozilla:lib:libparse:MANIFEST", "$distdirectory:libparse:"],
#OLD LAYOUT
[":mozilla:lib:layout:MANIFEST", "$distdirectory:layout:"],
#STYLE
[":mozilla:lib:libstyle:MANIFEST", "$distdirectory:libstyle:"],
#LAYERS
[":mozilla:lib:liblayer:include:MANIFEST", "$distdirectory:layers:"],
#NETWORK
[":mozilla:network:cache:MANIFEST", "$distdirectory:network:"],
[":mozilla:network:client:MANIFEST", "$distdirectory:network:"],
[":mozilla:network:cnvts:MANIFEST", "$distdirectory:network:"],
[":mozilla:network:cstream:MANIFEST", "$distdirectory:network:"],
[":mozilla:network:main:MANIFEST", "$distdirectory:network:"],
[":mozilla:network:mimetype:MANIFEST", "$distdirectory:network:"],
[":mozilla:network:util:MANIFEST", "$distdirectory:network:"],
[":mozilla:network:protocol:about:MANIFEST", "$distdirectory:network:"],
[":mozilla:network:protocol:certld:MANIFEST", "$distdirectory:network:"],
[":mozilla:network:protocol:dataurl:MANIFEST", "$distdirectory:network:"],
[":mozilla:network:protocol:file:MANIFEST", "$distdirectory:network:"],
[":mozilla:network:protocol:ftp:MANIFEST", "$distdirectory:network:"],
[":mozilla:network:protocol:gopher:MANIFEST", "$distdirectory:network:"],
[":mozilla:network:protocol:http:MANIFEST", "$distdirectory:network:"],
[":mozilla:network:protocol:js:MANIFEST", "$distdirectory:network:"],
[":mozilla:network:protocol:mailbox:MANIFEST", "$distdirectory:network:"],
[":mozilla:network:protocol:marimba:MANIFEST", "$distdirectory:network:"],
[":mozilla:network:protocol:nntp:MANIFEST", "$distdirectory:network:"],
[":mozilla:network:protocol:pop3:MANIFEST", "$distdirectory:network:"],
[":mozilla:network:protocol:remote:MANIFEST", "$distdirectory:network:"],
[":mozilla:network:protocol:smtp:MANIFEST", "$distdirectory:network:"],
[":mozilla:network:module:MANIFEST","$distdirectory:network:module"],
#BASE
[":mozilla:base:src:MANIFEST", "$distdirectory:base:"],
[":mozilla:base:public:MANIFEST", "$distdirectory:base:"],
#WEBSHELL
[":mozilla:webshell:public:MANIFEST", "$distdirectory:webshell:"],
#LAYOUT
[":mozilla:layout:base:public:MANIFEST", "$distdirectory:layout:"],
[":mozilla:layout:html:style:public:MANIFEST", "$distdirectory:layout:"],
[":mozilla:layout:html:base:src:MANIFEST", "$distdirectory:layout:"],
[":mozilla:layout:html:document:public:MANIFEST", "$distdirectory:layout:"],
#WIDGET
[":mozilla:widget:public:MANIFEST", "$distdirectory:widget:"],
#GFX
[":mozilla:gfx:src:MANIFEST", "$distdirectory:gfx:"],
#VIEW
[":mozilla:view:public:MANIFEST", "$distdirectory:view:"],
#DOM
[":mozilla:dom:public:MANIFEST", "$distdirectory:dom:"],
[":mozilla:dom:public:coreDom:MANIFEST", "$distdirectory:dom:"],
[":mozilla:dom:public:coreEvents:MANIFEST", "$distdirectory:dom:"],
[":mozilla:dom:public:events:MANIFEST", "$distdirectory:dom:"],
#HTMLPARSER
[":mozilla:htmlparser:src:MANIFEST", "$distdirectory:htmlparser:"],
];
foreach $a (@$distlist)
{
InstallFromManifest( $a->[0], $a->[1]);
}
# To get out defines in all the project, dummy alias NGLayoutConfigInclude.h into MacConfigInclude.h
MakeAlias(":mozilla:config:mac:NGLayoutConfigInclude.h", ":mozilla:dist:config:MacConfigInclude.h");
}
# builds all projects
# different targets controlled by $main::build
sub BuildCommonProjects()
{
unless( $main::build{common} ) { return; }
_assertRightDirectory();
# $D becomes a suffix to target names for selecting either the debug or non-debug target of a project
my($D) = $main::DEBUG ? "Debug" : "";
my($dist_dir) = _getDistDirectory();
# clean projects
Moz::BuildProjectClean(":mozilla:lib:mac:NSStdLib:NSStdLib.mcp", "Stubs");
Moz::BuildProjectClean(":mozilla:lib:mac:NSRuntime:NSRuntime.mcp", "Stubs");
Moz::BuildProjectClean(":mozilla:lib:mac:MacMemoryAllocator:MemAllocator.mcp", "Stubs");
# shared
Moz::BuildProject(":mozilla:lib:mac:NSRuntime:NSRuntime.mcp");
MakeAlias(":mozilla:lib:mac:NSRuntime:NSRuntime$D.shlb", "$dist_dir");
$main::DEBUG ? MakeAlias(":mozilla:lib:mac:NSRuntime:NSRuntime$D.shlb.xSYM", "$dist_dir") : 0;
Moz::BuildProject(":mozilla:lib:mac:MoreFiles:build:MoreFilesPPC.mcp", "MoreFiles$D.shlb");
MakeAlias(":mozilla:lib:mac:MoreFiles:build:MoreFiles$D.shlb", "$dist_dir");
$main::DEBUG ? MakeAlias(":mozilla:lib:mac:MoreFiles:build:MoreFiles$D.shlb.xSYM", "$dist_dir") : 0;
BuildProject(":mozilla:nsprpub:macbuild:NSPR20PPC.mcp", "NSPR20$D.shlb");
MakeAlias(":mozilla:nsprpub:macbuild:NSPR20$D.shlb", "$dist_dir");
$main::DEBUG ? MakeAlias(":mozilla:nsprpub:macbuild:NSPR20$D.shlb.xSYM", "$dist_dir") : 0;
BuildProject(":mozilla:lib:mac:MacMemoryAllocator:MemAllocator.mcp", "MemAllocator$D.shlb");
MakeAlias(":mozilla:lib:mac:MacMemoryAllocator:MemAllocator$D.shlb", "$dist_dir");
$main::DEBUG ? MakeAlias(":mozilla:lib:mac:MacMemoryAllocator:MemAllocator$D.shlb.xSYM", "$dist_dir") : 0;
BuildProject(":mozilla:lib:mac:NSStdLib:NSStdLib.mcp", "NSStdLib$D.shlb");
MakeAlias(":mozilla:lib:mac:NSStdLib:NSStdLib$D.shlb", "$dist_dir");
$main::DEBUG ? MakeAlias(":mozilla:lib:mac:NSStdLib:NSStdLib$D.shlb.xSYM", "$dist_dir") : 0;
BuildProject(":mozilla:xpcom:macbuild:xpcomPPC.mcp", "xpcom$D.shlb");
MakeAlias(":mozilla:xpcom:macbuild:xpcom$D.shlb", "$dist_dir");
$main::DEBUG ? MakeAlias(":mozilla:xpcom:macbuild:xpcom$D.shlb.xSYM", "$dist_dir") : 0;
BuildProject(":mozilla:jpeg:macbuild:JPEG.mcp", "JPEG$D.shlb");
MakeAlias(":mozilla:jpeg:macbuild:JPEG$D.shlb", "$dist_dir");
$main::DEBUG ? MakeAlias(":mozilla:jpeg:macbuild:JPEG$D.shlb.xSYM", "$dist_dir") : 0;
BuildProject(":mozilla:js:macbuild:JavaScriptPPC.mcp", "JavaScriptNoJSJ$D.shlb");
MakeAlias(":mozilla:js:macbuild:JavaScript$D.shlb", "$dist_dir");
$main::DEBUG ? MakeAlias(":mozilla:js:macbuild:JavaScript$D.shlb.xSYM", "$dist_dir") : 0;
BuildProject(":mozilla:modules:zlib:macbuild:zlib.mcp", "zlib$D.shlb");
MakeAlias(":mozilla:modules:zlib:macbuild:zlib$D.shlb", "$dist_dir");
$main::DEBUG ? MakeAlias(":mozilla:modules:zlib:macbuild:zlib$D.shlb.xSYM", "$dist_dir") : 0;
# static
BuildProject(":mozilla:modules:security:freenav:macbuild:NoSecurity.mcp", "Security.o");
BuildProject(":mozilla:modules:libimg:macbuild:png.mcp", "png$D.o");
BuildProject(":mozilla:modules:libimg:macbuild:libimg.mcp", "libimg$D.o");
BuildProject(":mozilla:network:macbuild:network.mcp", "networkModular$D.o");
}
sub BuildLayoutProjects()
{
unless( $main::build{nglayout} ) { return; }
_assertRightDirectory();
# $D becomes a suffix to target names for selecting either the debug or non-debug target of a project
my($D) = $main::DEBUG ? "Debug" : "";
my($dist_dir) = _getDistDirectory();
BuildProject(":mozilla:base:macbuild:base.mcp", "base$D.o");
BuildProject(":mozilla:htmlparser:macbuild:htmlparser.mcp", "htmlparser$D.o");
BuildProject(":mozilla:dom:macbuild:dom.mcp", "dom$D.o");
BuildProject(":mozilla:gfx:macbuild:gfx.mcp", "gfx$D.o");
BuildProject(":mozilla:layout:macbuild:layout.mcp", "layout$D.o");
BuildProject(":mozilla:webshell:macbuild:webshell.mcp", "webshell$D.o");
BuildProject(":mozilla:webshell:tests:viewer:mac:viewer.mcp", "viewer$D");
}
sub BuildProjects()
{
BuildCommonProjects();
BuildLayoutProjects();
}

View File

@@ -16,6 +16,8 @@
* Reserved.
*/
#error "DonÕt use me!"
#define OLDROUTINELOCATIONS 0
#define XP_MAC 1
#ifndef NSPR20
@@ -27,6 +29,9 @@
#define NETSCAPE 1
#define OTUNIXERRORS 1 /* We want OpenTransport error codes */
#define OJI 1
#define MOCHA 1
/*
This compiles in heap dumping utilities and other good stuff
for developers -- maybe we only want it in for a special SDK

View File

@@ -0,0 +1,40 @@
#!perl
#
# 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.
#
use Moz;
use BuildList;
$DEBUG = 1;
# One of them should be 1. This will come from a config file at some stage.
# In the meanwhile, it should match mozilla/config/mac/MacConfig.h
$MOZ_LITE = 0;
$MOZ_MEDIUM = 1;
$MOZ_DARK = 0;
Moz::OpenErrorLog("::::Mozilla.BuildLog");
#Moz::StopForErrors();
chdir("::::");
# Make and popuplate the dist directory
DistMozilla();
# Now build the projects
BuildMozilla();

View File

@@ -0,0 +1,5 @@
#
# This is a list of local files which get copied to the mozilla:dist directory
#
IDE_Options.h

View File

@@ -0,0 +1,26 @@
/* -*- 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 only job of this file is for make dependencies:
include files here that you want to cause MakeDist
to happen again when they change.
*/
#include "MacExportListPublic"

View File

@@ -0,0 +1,76 @@
#
# 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 is the controlling script for a set of scripts that copy public
# header files in one or more source trees into a single, "dist" directory.
#
# It relies on the two accompanying scripts, ÒCopyList.scriptÓ and
# ÒCopyExports.scriptÓ, which must be in the same directory.
#
#
# Known bugs:
# Header files are always copied if the export.mac file contains
# non-local paths.
# Spurious output is produced even when verbose is off.
#
set echo 0
Evaluate % = ("{{SourceFile}}" =~ /(Å:)¨0Å/)
Directory "{{¨0}}"
set mozillaDir "{¨0}"
if `evaluate "{mozillaDir}" =~ /(Å:)¨1[Â:]+:[Â:]+:/`
set -e mozillaDir "{¨1}"
else
echo "Failed to find mozilla directory. Exitting"
exit 1;
end if
# Sanity check for mozilla
if !`exists -d "{mozillaDir}"`
echo "Failed to find mozilla directory. Exitting"
exit 1;
end if
# Calculate the root directory by stripping off the leaf name.
(Evaluate "{mozillaDir}" =~ /(Å:)¨1([Â:]+)¨2:/)
Set -e SourceRootDir "{¨1}"
Set -e DestRootDir "{mozillaDir}dist:"
# Ensure the build and stubs folders exist
if !`exists -d "{mozillaDir}dist"`
newfolder "{mozillaDir}dist"
end if
if !`exists -d "{mozillaDir}dist:client"`
newfolder "{mozillaDir}dist:client"
end if
if !`exists -d "{mozillaDir}dist:client_debug"`
newfolder "{mozillaDir}dist:client_debug"
end if
if !`exists -d "{mozillaDir}dist:client_stubs"`
newfolder "{mozillaDir}dist:client_stubs"
end if
# Now do the grunt work of copying headers. This can take some time
"{SourceRootDir}mozilla:build:mac:CopyExports.script" "mozilla:build:mac:MacExportListPublic"

View File

@@ -24,22 +24,13 @@ MOZ_TOP=mozilla
!endif
#//------------------------------------------------------------------------
#// Defines specific to MOZ_RAPTOR
#// Defines specific to MOZ_NGLAYOUT
#//------------------------------------------------------------------------
!if defined(MOZ_RAPTOR)
RAPTOR_MAKEFILE=raptor.mak
!if defined(MOZ_NGLAYOUT)
NGLAYOUT_MAKEFILE=nglayout.mak
NGLAYOUT_ENV_VARS=STANDALONE_IMAGE_LIB=1 MODULAR_NETLIB=1 NGLAYOUT_BUILD_PREFIX=1
MOZNGLAYOUT_BRANCH=RAPTOR_INTEGRATION0_BRANCH
CVSCO = cvs -q co -P
# Branch tags we use
NETLIB_BRANCH = MODULAR_NETLIB_BRANCH
MOZRAPTOR_BRANCH = RAPTOR_INTEGRATION0_BRANCH
# CVS commands to pull the appropriate branch versions
CVSCO_NETLIB = $(CVSCO) -r $(NETLIB_BRANCH)
CVSCO_CONFIG = $(CVSCO) -r $(MOZRAPTOR_BRANCH)
MOZ_BRANCH=$(MOZRAPTOR_BRANCH)
!endif
@@ -88,45 +79,64 @@ pull_clobber_build_all:: pull_all \
clobber_build_all:: clobber_all \
build_all
!if defined(MOZ_RAPTOR)
pull_all:: pull_client_source_product pull_raptor pull_netlib
!if defined(MOZ_NGLAYOUT)
# The MOZ_NGLAYOUT pull is complicated, be very careful choosing which files are on
# the tip and which are on the branches.
pull_all:: pull_client_source_product pull_nglayout pull_netlib repull_ngl_integration pull_imglib repull_include
!else
pull_all:: pull_client_source_product
!endif
!if defined(MOZ_RAPTOR)
pull_raptor:
!if defined(MOZ_NGLAYOUT)
pull_nglayout:
@cd $(MOZ_SRC)
$(CVSCO) $(MOZ_TOP)/raptor.mak
$(CVSCO) $(MOZ_TOP)/$(NGLAYOUT_MAKEFILE)
@cd $(MOZ_SRC)/$(MOZ_TOP)
$(NMAKE) -f $(RAPTOR_MAKEFILE) pull_xpcom pull_imglib pull_raptor
$(NMAKE) -f $(NGLAYOUT_MAKEFILE) pull_nglayout $(NGLAYOUT_ENV_VARS)
pull_netlib:
@cd $(MOZ_SRC)\.
$(CVSCO_NETLIB) $(MOZ_TOP)/lib/xp
$(CVSCO_NETLIB) $(MOZ_TOP)/lib/libnet
$(CVSCO_NETLIB) $(MOZ_TOP)/include/net.h $(MOZ_TOP)/include/npapi.h
@cd $(MOZ_SRC)/$(MOZ_TOP)
$(NMAKE) -f $(NGLAYOUT_MAKEFILE) pull_netlib $(NGLAYOUT_ENV_VARS)
# Here is where we pull everything on the layout integration branch
repull_ngl_integration:
@cd $(MOZ_SRC)
$(CVSCO) -r $(MOZNGLAYOUT_BRANCH) $(MOZ_TOP)/include $(MOZ_TOP)/cmd $(MOZ_TOP)/lib $(MOZ_TOP)/modules
@cd $(MOZ_SRC)/$(MOZ_TOP)
# Careful to put this after repull_ngl_integration, want modules/libutil and
# modules/libimg to be on imglib branch
pull_imglib:
@cd $(MOZ_SRC)/$(MOZ_TOP)
$(NMAKE) -f $(NGLAYOUT_MAKEFILE) pull_imglib $(NGLAYOUT_ENV_VARS)
# Want certain files in the include directory to be on the tip
repull_include:
@cd $(MOZ_SRC)
$(CVSCO) -A $(MOZ_TOP)/include/net.h
!endif
pull_client_source_product:
@echo +++ client.mak: checking out the client with "$(CVS_BRANCH)"
cd $(MOZ_SRC)\.
-cvs -q co $(CVS_BRANCH) MozillaSourceWin
!if defined(MOZ_RAPTOR)
build_all: build_raptor \
!if defined(MOZ_NGLAYOUT)
# Build NGLayout first.
build_all: build_nglayout \
build_dist \
build_client
!else
build_all: build_dist \
build_all: build_dist \
build_client
!endif
!if defined(MOZ_RAPTOR)
build_raptor:
!if defined(MOZ_NGLAYOUT)
build_nglayout:
cd $(MOZ_SRC)\$(MOZ_TOP)
$(NMAKE) -f $(RAPTOR_MAKEFILE) STANDALONE_IMAGE_LIB=1 RAPTOR=1
$(NMAKE) -f $(NGLAYOUT_MAKEFILE) $(NGLAYOUT_ENV_VARS)
!endif
build_dist:
@@ -148,8 +158,8 @@ build_client:
#
# remove all source files from the tree and print a report of what was missed
#
!if defined(MOZ_RAPTOR)
clobber_all:: clobber_moz clobber_raptor
!if defined(MOZ_NGLAYOUT)
clobber_all:: clobber_moz clobber_nglayout
!else
clobber_all:: clobber_moz
!endif
@@ -164,10 +174,10 @@ clobber_moz:
$(NMAKE) -f nsldap.mak clobber_all
!endif
!if defined(MOZ_RAPTOR)
clobber_raptor:
!if defined(MOZ_NGLAYOUT)
clobber_nglayout:
cd $(MOZ_SRC)\$(MOZ_TOP)
$(NMAKE) -f $(RAPTOR_MAKEFILE) STANDALONE_IMAGE_LIB=1 RAPTOR=1 clobber
$(NMAKE) -f $(NGLAYOUT_MAKEFILE) clobber $(NGLAYOUT_ENV_VARS)
!endif
depend:

View File

@@ -21,7 +21,7 @@
<HEAD>
<TITLE>Account Setup</TITLE>
<SCRIPT LANGUAGE = "JavaScript" ARCHIVE="asw.jar" SRC="2step.js"></SCRIPT>
<SCRIPT LANGUAGE="JavaScript" ARCHIVE="asw.jar" SRC="2step.js"></SCRIPT>
<LINK REL=STYLESHEET TYPE="text/JavaScript" ARCHIVE="asw.jar" HREF="sheet.js"></LINK>
</HEAD>
@@ -29,8 +29,7 @@
<!-- The layer below contains the Account Setup identifier. -->
<LAYER NAME = "tagtext" LEFT = 420 TOP = 0 VISIBILITY = SHOW>
<LAYER NAME="tagtext" LEFT=420 TOP=0 VISIBILITY=SHOW>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=200 ID="nospace">
<TR><TD HEIGHT=20 VALIGN=MIDDLE BACKGROUND="images/tag.gif">
<B CLASS="previewtag">ACCOUNT SETUP</B>
@@ -40,10 +39,19 @@
<!-- The layer below contains the headline and text of this screen -->
<P CLASS="title"><B>Download</B></P>
<P>Connect to Internet Service Provider for account creation</P>
<P CLASS="title"><B>Connect to
<SCRIPT LANGUAGE="JavaScript" ID="2step101">insertISPName();</SCRIPT>
</B></P>
<P>Account Setup will now connect you to
<SCRIPT LANGUAGE="JavaScript" ID="2step102">insertISPName();</SCRIPT>
so that you can create an account with this ISP. (Note: It may take a minute for your modem to connect to this ISP.)</P>
<P>After you have connected to
<SCRIPT LANGUAGE="JavaScript" ID="2step103">insertISPName();</SCRIPT>
you will be asked to supply account and billing information, such as your desired electronic mail name and password, and credit card information.</P>
<CENTER>
<SCRIPT LANGUAGE = "JavaScript" ID="2step101">
<SCRIPT LANGUAGE="JavaScript" ID="2step104">
generatePopNumberList();
</SCRIPT>
</CENTER>

View File

@@ -17,19 +17,21 @@
*/
<!-- to hide script contents from old browsers
var globals = parent.parent.globals;
var controls = parent.controls;
function go( msg )
{
netscape.security.PrivilegeManager.enablePrivilege( "AccountSetup" );
// * skip if we're in edit mode
if ( parent.parent.globals.document.vars.editMode.value != "yes" )
if ( globals.document.vars.editMode.value != "yes" )
{
if ( document.forms && document.forms[ 0 ] && document.forms[ 0 ].popList )
parent.parent.globals.document.setupPlugin.CreateConfigIAS(
parent.parent.globals.selectedISP, document.forms[ 0 ].popList.selectedIndex );
globals.document.setupPlugin.CreateConfigIAS(
globals.selectedISP, document.forms[ 0 ].popList.selectedIndex );
else
parent.parent.globals.document.setupPlugin.CreateConfigIAS(
parent.parent.globals.selectedISP, -1 );
globals.document.setupPlugin.CreateConfigIAS( globals.selectedISP, -1 );
return true;
}
@@ -44,27 +46,37 @@ function checkData()
return true;
}
function loadData()
{
if ( parent.controls.generateControls )
parent.controls.generateControls();
}
function saveData()
{
}
function insertISPName()
{
document.write( globals.getSelectedISPName() );
}
function loadData()
{
//parent.twostepfooter.document.writeln( "<BODY BACKGROUND='images/bg.gif' BGCOLOR='cccccc'>" );
//parent.twostepfooter.document.writeln( "<P>If you have trouble setting up your account call " );
//parent.twostepfooter.document.writeln( globals.getSelectedISPName() );
//parent.twostepfooter.document.writeln( "at (support number).</P>" );
//parent.twostepfooter.document.close();
if ( controls.generateControls )
controls.generateControls();
}
function generatePopNumberList()
{
netscape.security.PrivilegeManager.enablePrivilege( "AccountSetup" );
var list = parent.parent.globals.document.setupPlugin.GetISPPopList(
parent.parent.globals.selectedISP );
var list = globals.document.setupPlugin.GetISPPopList( globals.selectedISP );
parent.parent.globals.debug( "generating pop list" );
globals.debug( "generating pop list" );
if ( list && list.length > 0 )
{
parent.parent.globals.debug( "emitting table" );
globals.debug( "emitting table" );
document.writeln( "<TABLE CELLPADDING=2 CELLSPACING=0 ID='minspace'><TR><TD ALIGN=LEFT VALIGN=TOP HEIGHT=25><spacer type=vertical size=2><B>Pick a phone number from the following list to connect to:</B></TD><TD ALIGN=LEFT VALIGN=TOP><FORM><SELECT NAME='popList'>");
for ( var x = 0; x < list.length; x++ )
{

View File

@@ -49,7 +49,6 @@ Choose "Edit | Preferences | Advanced" and enable JavaScript, then reload this p
<LAYER NAME="controls" WIDTH=620 HEIGHT=55 TOP=0 LEFT=0>
<LAYER NAME="help" LEFT=4 TOP=0 WIDTH=200 VISIBILITY=HIDE>
<LAYER LEFT=4 TOP=6>
<A HREF="about:blank" onClick="document.images['help'].src='images/hlp_down.gif';var flag=go('Help');document.images['help'].src='images/hlp_up.gif';return false"
onMouseOver="document.images['help'].src='images/hlp_mo.gif'"
@@ -63,7 +62,6 @@ Choose "Edit | Preferences | Advanced" and enable JavaScript, then reload this p
</LAYER>
<LAYER NAME="exit" LEFT=50 TOP=0 WIDTH=200 VISIBILITY=HIDE>
<LAYER LEFT=4 TOP=6>
<A HREF="about:blank" onClick="document.images['exit'].src='images/ext_down.gif';var flag=go('Exit');document.images['exit'].src='images/ext_up.gif';return false"
onMouseOver="document.images['exit'].src='images/ext_mo.gif'"
@@ -150,7 +148,20 @@ Choose "Edit | Preferences | Advanced" and enable JavaScript, then reload this p
</LAYER>
<LAYER LEFT=8 TOP=43>
<B CLASS="clayer">CONNECT TO SERVER</B>
<B CLASS="clayer">CONNECT TO NETSCAPE</B>
</LAYER>
</LAYER>
<LAYER NAME="connectisp" LEFT=310 TOP=0 WIDTH=200 VISIBILITY=HIDE>
<LAYER LEFT=4 TOP=6>
<A HREF="about:blank" onClick="document.images['connectisp'].src='images/cn_down.gif';var flag=go('Next');document.images['connectisp'].src='images/cn_up.gif';return false"
onMouseOver="document.images['connectisp'].src='images/cn_mo.gif'"
onMouseOut="document.images['connectisp'].src='images/cn_up.gif'" ID="clayer114">
<IMG NAME="connectisp" SRC="images/cn_up.gif" BORDER=0 HEIGHT=32 WIDTH=32></A>
</LAYER>
<LAYER LEFT=8 TOP=43>
<B CLASS="clayer">CONNECT TO ISP</B>
</LAYER>
</LAYER>

View File

@@ -75,22 +75,22 @@ function checkEditMode()
pages=new Array();
pages = new Array();
pages[0]=new Array();
pages[0][0]=new page("main.htm",null,null);
pages[0][1]=new method("ipreview/inpvw1.htm","parent.content.go('Internet Preview')",true);
pages[0][2]=new method("preview/duepvw1.htm","parent.content.go('Preview')",true);
pages[0][3]=new method("intro/intro1.htm","parent.controls.checkShowIntroFlag('')",true);
pages[ 0 ] = new Array();
pages[ 0 ][ 0 ] = new page( "main.htm",null,null);
pages[ 0 ][ 1 ] = new method( "ipreview/inpvw1.htm", "parent.content.go( 'Internet Preview' )", true );
pages[ 0 ][ 2 ] = new method( "preview/duepvw1.htm", "parent.content.go( 'Preview' )", true );
pages[ 0 ][ 3 ] = new method( "intro/intro1.htm", "parent.controls.checkShowIntroFlag( '' )", true );
//pages[0][4]=new condition("intro/intro1.htm","Mode Selection","Show_Intro_Screens","yes");
//pages[0][5]=new condition("needs1.htm","Mode Selection","ForceNew","yes");
//pages[0][6]=new condition("useAcct.htm","Mode Selection","ForceExisting","yes");
//pages[0][7]=new action("accounts.htm");
pages[1]=new Array();
pages[1][0]=new page("accounts.htm",null,null);
pages[1][1]=new method("needs1.htm","parent.content.go('New Path')",true);
pages[1][2]=new method("useAcct.htm","parent.content.go('Existing Path')",true);
pages[ 1 ] = new Array();
pages[ 1 ][ 0 ] = new page( "accounts.htm", null, null);
pages[ 1 ][ 1 ] = new method( "needs1.htm", "parent.content.go( 'New Path' )", true );
pages[ 1 ][ 2 ] = new method( "useAcct.htm", "parent.content.go( 'Existing Path' )", true );
// New Account Path
@@ -102,25 +102,25 @@ pages[ 2 ][ 2 ] = new method( "newAcct.htm", "parent.content.go('')", true );
pages[ 3 ] = new Array();
pages[ 3 ][ 0 ] = new page( "newAcct.htm", "New Acct Mode", "AskPersonalInfo" );
pages[ 3 ][ 1 ] = new condition( "billing.htm", "New Acct Mode", "AskPersonalInfo", "no" );
pages[ 3 ][ 2 ] = new method( "billing.htm", "parent.content.go('')", true );
pages[ 3 ][ 2 ] = new method( "billing.htm", "parent.content.go( '' )", true );
pages[ 4 ] = new Array();
pages[ 4 ][ 0 ] = new page( "billing.htm", "New Acct Mode", "AskBillingInfo" );
pages[ 4 ][ 1 ] = new condition( "modem1.htm", "New Acct Mode", "AskBillingInfo", "no" );
pages[ 4 ][ 2 ] = new method( "modem1.htm", "parent.content.go('')", true );
pages[ 4 ][ 2 ] = new method( "modem1.htm", "parent.content.go( '' )", true );
pages[ 5 ] = new Array();
pages[ 5 ][ 0 ] = new page( "modem1.htm", null, null );
pages[ 5 ][ 1 ] = new method( "dialinf1.htm", "parent.content.go('')", true );
pages[ 5 ][ 1 ] = new method( "dialinf1.htm", "parent.content.go( '' )", true );
pages[ 6 ] = new Array();
pages[ 6 ][ 0 ] = new page( "dialinf1.htm", null, null );
pages[ 6 ][ 1 ] = new method( "dialinf2.htm", "parent.content.go('')", true );
pages[ 6 ][ 1 ] = new method( "dialinf2.htm", "parent.content.go( '' )", true );
pages[ 7 ] = new Array();
pages[ 7 ][ 0 ] = new page( "dialinf2.htm", null, null );
pages[ 7 ][ 1 ] = new method( "download.htm", "parent.content.go('New Path')", true );
pages[ 7 ][ 2 ] = new method( "connect2.htm", "parent.content.go('Existing Path')", true );
pages[ 7 ][ 1 ] = new method( "download.htm", "parent.content.go( 'New Path' )", true );
pages[ 7 ][ 2 ] = new method( "connect2.htm", "parent.content.go( 'Existing Path' )", true );
pages[ 53 ] = new Array();
pages[ 53 ][ 0 ] = new page( "download.htm", null, null );
@@ -203,20 +203,24 @@ pages[19][2]=new method("error.htm","parent.content.go('error.htm')",true);
// Final Screens
pages[20]=new Array();
pages[20][0]=new page("ok.htm",null,null);
pages[ 20 ] = new Array();
pages[ 20 ][ 0 ] = new page( "ok.htm", null, null );
pages[21]=new Array();
pages[21][0]=new page("okreboot.htm",null,null);
pages[ 21 ] = new Array();
pages[ 21 ][ 0 ] = new page( "okreboot.htm", null, null );
pages[22]=new Array();
pages[22][0]=new page("error.htm",null,null);
pages[22][1]=new method("register.htm","parent.content.go('New Path')",true);
pages[22][2]=new method("connect2.htm","parent.content.go('Existing Path')",true);
pages[ 22 ] = new Array();
pages[ 22 ][ 0 ] = new page( "error.htm", null, null );
pages[ 22 ][ 1 ] = new method( "register.htm", "parent.content.go( 'New Path' )", true );
pages[ 22 ][ 2 ] = new method( "connect2.htm", "parent.content.go( 'Existing Path' )", true );
pages[23]=new Array();
pages[23][0]=new page("later.htm",null,null);
pages[23][1]=new method("later.htm","parent.content.go('Done')",true);
pages[ 23 ] = new Array();
pages[ 23 ][ 0 ] = new page( "later.htm", null, null );
pages[ 23 ][ 1 ] = new method( "later.htm", "parent.content.go( 'Done' )", true );
pages[ 59 ] = new Array();
pages[ 59 ][ 0 ] = new page( "error2.htm", null, null );
pages[ 59 ][ 1 ] = new method( "1step.htm", "parent.content.go( '' )", true );
// Settings
@@ -662,7 +666,8 @@ function go( msg )
{
pageName = pageHistory.substring( x + 1, pageHistory.length );
globals.document.vars.pageHistory.value = pageHistory.substring( 0, x + 1 );
if ( ( pageName == "register.htm" ) || ( pageName == "error.htm" ) )
if ( ( pageName == "register.htm" ) || ( pageName == "error.htm" ) ||
( pageName == "error2.htm" ) )
historyCleanup = true;
}
else
@@ -765,19 +770,21 @@ function go( msg )
longMsgFlag = false;
else if ( formName.indexOf( "aboutbox.htm" ) >= 0 )
longMsgFlag = false;
else if (formName.indexOf( "error.htm" ) >= 0 )
else if ( formName.indexOf( "error.htm" ) >= 0 )
longMsgFlag = false;
else if (formName.indexOf( "intro/" ) >= 0 )
else if ( formName.indexOf( "error2.htm" ) >= 0 )
longMsgFlag = false;
else if (formName.indexOf( "ipreview/" ) >= 0 )
else if ( formName.indexOf( "intro/" ) >= 0 )
longMsgFlag = false;
else if (formName.indexOf( "preview/" ) >= 0 )
else if ( formName.indexOf( "ipreview/" ) >= 0 )
longMsgFlag = false;
else if ( formName.indexOf( "preview/" ) >= 0 )
longMsgFlag = false;
if ( longMsgFlag == true )
{
if ( globals.document.vars.editMode.value.toLowerCase() != "yes" )
confirmFlag = confirm( "Your haven't finished setting up your account. Are you sure you want to quit Account Setup?" );
confirmFlag = confirm( "You haven't finished setting up your account. Are you sure you want to quit Account Setup?" );
else // this is for the account setup editor
confirmFlag = confirm( "Are you sure you want to quit the Account Setup Editor?" );
}

View File

@@ -127,6 +127,7 @@ function generateControls()
var showBack = true;
var showNext = true;
var showConnectServer = false;
var showConnectISP = false;
var showConnectNow = false;
var showDownload = false;
var showConnectLater = false;
@@ -257,10 +258,11 @@ function generateControls()
if ( editMode == true )
showBack = true;
}
//else if ( formName == "2stpwrap.htm" )
else if ( formName == "2step.htm" )
{
showNext = false;
showConnectServer = true;
showConnectISP = true;
if ( editMode == true )
showScreenOptions = true;
}
@@ -398,7 +400,10 @@ function generateControls()
editMode = false;
}
if ( document && document.layers && document.layers[ "controls" ] && document.layers[ "controls" ].document && document.layers[ "controls" ].document.layers && document.layers[ "controls" ].document.layers.length > 0 )
if ( document && document.layers && document.layers[ "controls" ] &&
document.layers[ "controls" ].document &&
document.layers[ "controls" ].document.layers &&
document.layers[ "controls" ].document.layers.length > 0 )
{
document.layers[ "controls" ].layers[ "help" ].visibility = ( ( showHelp == true ) ? "show" : "hide" );
document.layers[ "controls" ].layers[ "exit" ].visibility = ( ( showExit == true ) ? "show" : "hide" );
@@ -407,6 +412,7 @@ function generateControls()
document.layers[ "controls" ].layers[ "connectnow" ].visibility = ( ( showConnectNow == true ) ? "show" : "hide" );
document.layers[ "controls" ].layers[ "download" ].visibility = ( ( showDownload == true ) ? "show" : "hide" );
document.layers[ "controls" ].layers[ "connectserver" ].visibility = ( ( showConnectServer == true ) ? "show" : "hide" );
document.layers[ "controls" ].layers[ "connectisp" ].visibility = ( ( showConnectISP == true ) ? "show" : "hide" );
document.layers[ "controls" ].layers[ "connectagain" ].visibility = ( ( showAgain == true ) ? "show" : "hide" );
document.layers[ "controls" ].layers[ "done" ].visibility = ( ( showDone == true) ? "show" : "hide" );
document.layers[ "controls" ].layers[ "restart" ].visibility = ( ( showRestart == true ) ? "show" : "hide" );

View File

@@ -33,11 +33,12 @@
</LAYER>
<P CLASS="title"><B>Compare Internet Service Providers</B></P>
<BR>
<P CLASS="compare"><B>Provider Highlights:&nbsp;</B></P>
<P CLASS="comparesmall">
<IMG SRC="metadata/images/feature1.gif" HEIGHT=16 WIDTH=16><B>Free Account Time!&nbsp;</B>
<IMG SRC="metadata/images/feature2.gif" HEIGHT=16 WIDTH=16>Phone Bill Billing&nbsp;
<P>Select an Internet Service Provider (ISP) to get more information and begin
account creation.</P>
<P CLASS="comparesmall">
<B CLASS="compare">Provider Highlights:</B>
<IMG SRC="metadata/images/feature1.gif" HEIGHT=16 WIDTH=16><B>Free Account Time!</B>
<IMG SRC="metadata/images/feature2.gif" HEIGHT=16 WIDTH=16>Phone Bill Billing
<IMG SRC="metadata/images/feature3.gif" HEIGHT=16 WIDTH=16>Web Page Hosting
</P>
</BODY>

View File

@@ -18,10 +18,10 @@
<HTML>
<HEAD>
<TITLE>Account Setup</TITLE>
<SCRIPT LANGUAGE = "JavaScript" ARCHIVE="asw.jar" SRC="compwrap.js"></SCRIPT>
<SCRIPT LANGUAGE="JavaScript" ARCHIVE="asw.jar" SRC="compwrap.js"></SCRIPT>
</HEAD>
<FRAMESET rows="120,*" BORDER=0 FRAMEBORDER="no">
<FRAMESET rows="140,*" BORDER=0 FRAMEBORDER="no">
<FRAME NAME="compareheader" SRC="cmprehd.htm" NORESIZE SCROLLING="no">
<FRAME NAME="compare" SRC="compare.htm" NORESIZE>
</FRAMESET>

View File

@@ -20,10 +20,10 @@
function go( msg )
{
parent.parent.globals.debug( "compwrap go" );
parent.parent.globals.debug( compare.ispRadio );
if ( compare.ispRadio != null && compare.ispRadio != "" )
{
parent.parent.globals.debug( compare.ispRadio );
parent.parent.globals.selectedISP = compare.ispRadio;
return true;
}

View File

@@ -24,7 +24,7 @@ Description=Netscape Internet Account Server
SiteName=Netscape Internet Account Server
[IP]
RegCGI=http://206.217.225.10/IAS5/docs/reg.cgi
RegCGI=https://reggie.netscape.com/IAS5/docs/reg.cgi
DNSAddress2=205.217.225.20
DNSAddress=205.217.225.10
DomainName=netscape.com
@@ -33,7 +33,7 @@ Enabled=Yes
[Configuration]
REG_SCRIPTING=
RegRoot=http://206.217.225.10/IAS5/docs/
RegRoot=https://reggie.netscape.com/IAS5/docs/
[Security]
SecurityDevice=No

View File

@@ -36,7 +36,9 @@
<!-- The layer below contains the headline and text of this screen -->
<FORM>
<P CLASS="title"><B>Phone Number of Your Location</B></P>
<P>Please enter the phone number of the line that you are using to connect--the line that is now connected to your computer or modem. Account Setup uses this information to set up your connection software to access the Internet.</P>
<P>Please enter the phone number of the line that you are currently using--
the line that is now connected to your computer or modem. Account Setup will use this
information to set up your connection software to access the Internet.</P>
<SPACER TYPE=HORIZONTAL SIZE=72>
<TABLE CELLPADDING="0" CELLSPACING="0" BORDER="0">
<TR>
@@ -67,8 +69,8 @@
</TD>
</TR>
</TABLE>
<P>Please enter optional alternate area codes that you can call from your location to access and Internet service
provider.</P>
<P>Optional: If an ISP is not available in your area, Account Setup will check up to 3
additional area codes to find an Internet service provider you can access.</P>
<SPACER TYPE=HORIZONTAL SIZE=72>
<TABLE CELLPADDING="0" CELLSPACING="0" BORDER="0">
<TR>

View File

@@ -51,22 +51,24 @@
<P CLASS="title"><B>Download</B></P>
<P CLASS="title"><B>Connect to Netscape</B></P>
<P>Account Setup will now connect you to the Internet account server, to download information about available account plans.
It may take as long as two minutes for the information to be retrieved.</P>
<P>Account Setup will now connect you to the Netscape's Internet account server,
to download information about available Internet Service Providers (ISPs)
and their account plans. (Note: It may take as long as two minutes
for the information to be retrieved.)</P>
<P>When evaluating account plans, think about these questions:</P>
<UL>
<LI>How much time do you think you'll spend on the Internet each month?</LI>
<LI>What are the monthly or hourly rates?</LI>
<LI>What technical support is offered?</LI>
<LI>What services are offered?</LI>
</UL>
<P ID="nospace">Make sure your modem is properly connected and turned on, then click Download to begin.</P>
<P ID="nospace">Make sure your modem is properly connected and turned on, then click "Connect to Netscape" to begin.</P>
<CENTER>
<SCRIPT LANGUAGE = "JavaScript" ID="connect101">

View File

@@ -21,7 +21,7 @@
function go( msg )
{
parent.parent.globals.debug( "download go" );
// parent.parent.globals.debug( "download go" );
netscape.security.PrivilegeManager.enablePrivilege( "AccountSetup" );

View File

@@ -17,62 +17,56 @@
*/
<!-- to hide script contents from old browsers
function go(msg)
function go( msg )
{
if (parent.parent.globals.document.vars.editMode.value != "yes")
if ( parent.parent.globals.document.vars.editMode.value != "yes" )
{
if ( msg == parent.parent.globals.document.vars.path.value )
{
if (msg == parent.parent.globals.document.vars.path.value) {
parent.parent.globals.document.vars.tryAgain.value = "yes";
return(checkData());
}
return(false);
return checkData();
}
else {
if (msg == parent.parent.globals.document.vars.path.value)
alert("Sorry, you cannot connect while in using the Account Setup Editor.");
return(false);
}
return false;
}
else
{
if ( msg == parent.parent.globals.document.vars.path.value )
alert( "Sorry, you cannot connect while in using the Account Setup Editor." );
return false;
}
}
function checkData()
{
return(true);
return true;
}
function showErrorLayer()
{
if (document.layers["IAS Mode"] && document.layers["NCI Mode"]) {
if (parent.parent.globals.document.vars.path.value == "Existing Path") {
document.layers["IAS Mode"].visibility = "hide";
document.layers["NCI Mode"].visibility = "show";
}
else {
document.layers["IAS Mode"].visibility = "show";
document.layers["NCI Mode"].visibility = "hide";
}
if ( document.layers[ "IAS Mode" ] && document.layers[ "NCI Mode" ] )
{
if ( parent.parent.globals.document.vars.path.value == "Existing Path" )
{
document.layers[ "IAS Mode" ].visibility = "hide";
document.layers[ "NCI Mode" ].visibility = "show";
}
else {
setTimeout("showErrorLayer()",1000);
else
{
document.layers[ "IAS Mode" ].visibility = "show";
document.layers[ "NCI Mode" ].visibility = "hide";
}
}
else
setTimeout( "showErrorLayer()", 1000 );
}
function loadData()
{
setTimeout("showErrorLayer()",1000);
if (parent.controls.generateControls) parent.controls.generateControls();
setTimeout( "showErrorLayer()", 1000 );
if ( parent.controls.generateControls )
parent.controls.generateControls();
}
function saveData()
{
}

View File

@@ -0,0 +1,106 @@
<!-- -*- Mode: HTML; tab-width: 8; indent-tabs-mode: nil -*-
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.
-->
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3.0//EN">
<HTML>
<HEAD>
<TITLE>Account Setup</TITLE>
<SCRIPT LANGUAGE = "JavaScript" ARCHIVE="asw.jar" SRC="error2.js">
</SCRIPT>
<LINK REL=STYLESHEET TYPE="text/JavaScript" ARCHIVE="asw.jar" HREF="sheet.js">
</LINK>
</HEAD>
<BODY BACKGROUND="images/bg.gif" BGCOLOR="cccccc" onLoad="loadData()" ID="error2100">
<!-- The layer below contains the Account Setup identifier. -->
<LAYER NAME = "tagtext" LEFT = 420 TOP = 0 VISIBILITY = SHOW>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=200 ID="nospace">
<TR><TD HEIGHT=20 VALIGN=MIDDLE BACKGROUND="images/tag.gif">
<B CLASS="previewtag">ACCOUNT SETUP</B>
</TD></TR>
</TABLE>
</LAYER>
<!-- The layer below contains the headline of this screen -->
<P CLASS="title"><B>Connection Error...</B></P>
<!-- The layer below contains the text displayed for errors encountered while the user
is in IAS mode -->
<LAYER NAME="IAS Mode" VISIBILITY=HIDE>
<SPACER TYPE=HORIZONTAL SIZE=72>
<TABLE BORDER="0" CELLPADDING="6" CELLSPACING="0" WIDTH=470>
<TR>
<TD ALIGN=LEFT VALIGN=TOP BGCOLOR="FFFFFF">
<P ID="nomargins">Your connection to the Internet account server closed before you finished creating an account.</P>
<P ID="nomargins">If you exited the Internet account server before you were finished creating an account, you can reconnect to the server later by launching Account Setup from the Netscape Communicator folder.</P>
<P ID="nomargins">If Account Setup wasn't able to establish a connection with the Internet account server, make sure that your modem is installed properly, connected, and turned on. Also make sure that the telephone line you are using has an ordinary dial tone. When you're ready to try connecting again, click Connect Again.</P>
<P ID="nomargins">For more troubleshooting tips, click Help.</P>
</TD>
</TR>
</TABLE>
</LAYER>
<!-- The layer below contains the text displayed for errors encountered while the user
is in NCI mode -->
<LAYER NAME="NCI Mode" VISIBILITY=HIDE>
<SPACER TYPE=HORIZONTAL SIZE=72>
<TABLE BORDER="0" CELLPADDING="6" CELLSPACING="0" WIDTH=500>
<TR>
<TD ALIGN=LEFT VALIGN=TOP BGCOLOR="FFFFFF">
<P ID="nomargins">Account Setup wasn't able to establish a connection to your account. Make sure that your modem is installed properly, connected, and turned on. Also make sure that the telephone line you are using has an ordinary dial tone. When you're ready to try connecting again, click Connect Again.</P>
<P ID="nomargins">For more troubleshooting tips, click Help.</P>
</TD>
</TR>
</TABLE>
</LAYER>
</BODY>
</HTML>

View File

@@ -0,0 +1,76 @@
/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil -*-
*
* 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.
*/
<!-- to hide script contents from old browsers
function go( msg )
{
if ( parent.parent.globals.document.vars.editMode.value != "yes" )
{
if ( msg == parent.parent.globals.document.vars.path.value )
{
parent.parent.globals.document.vars.tryAgain.value = "yes";
return checkData();
}
return false;
}
else
{
if ( msg == parent.parent.globals.document.vars.path.value )
alert( "Sorry, you cannot connect while in using the Account Setup Editor." );
return false;
}
}
function checkData()
{
return true;
}
function showErrorLayer()
{
if ( document.layers[ "IAS Mode" ] && document.layers[ "NCI Mode" ] )
{
if ( parent.parent.globals.document.vars.path.value == "Existing Path" )
{
document.layers[ "IAS Mode" ].visibility = "hide";
document.layers[ "NCI Mode" ].visibility = "show";
}
else
{
document.layers[ "IAS Mode" ].visibility = "show";
document.layers[ "NCI Mode" ].visibility = "hide";
}
}
else
setTimeout( "showErrorLayer()", 1000 );
}
function loadData()
{
setTimeout( "showErrorLayer()", 1000 );
if ( parent.controls.generateControls )
parent.controls.generateControls();
}
function saveData()
{
}
// end hiding contents from old browsers -->

View File

@@ -32,6 +32,7 @@
Debug Mode: <INPUT NAME="debugMode" TYPE="Text" VALUE="yes"><BR>
Edit Mode: <INPUT NAME="editMode" TYPE="Text" VALUE="no"><BR>
QA Mode: <INPUT NAME="qaMode" TYPE="Text" VALUE="no"><BR>
1Step Mode: <INPUT NAME="oneStepMode" TYPE="Text" VALUE="no"><BR>
International Mode: <INPUT NAME="intlMode" TYPE="Text"><BR>
Startup File: <INPUT NAME="startupFile" TYPE="Text"><BR>
Registration server: <INPUT NAME="regServer" TYPE="text"><BR>

View File

@@ -164,7 +164,14 @@ function remove_message()
window.status = "";
}
function getSelectedISPName()
{
netscape.security.PrivilegeManager.enablePrivilege( "AccountSetup" );
var ispDisplayName = document.setupPlugin.GetISPDisplayName( selectedISP );
return ispDisplayName;
}
function checkPluginExists( name, generateOutputFlag )
{
@@ -359,28 +366,34 @@ function loadUserInput()
document.vars.altAreaCode3.value = GetNameValuePair( userInputFile, theSection, "altAreaCode3" );
document.vars.cwData.value = GetNameValuePair(userInputFile,theSection,"cwData");
if (document.vars.cwData.value != null && document.vars.cwData.value != "") {
if (document.vars.cwData.value != null && document.vars.cwData.value != "")
{
// document.vars.prefix.cwOFF=1;
}
else {
}
else
{
// document.vars.prefix.cwOFF=0;
}
}
document.vars.prefixData.value = GetNameValuePair(userInputFile,theSection,"prefixData");
if (document.vars.prefixData.value != null && document.vars.prefixData.value != "") {
if (document.vars.prefixData.value != null && document.vars.prefixData.value != "")
{
// document.vars.prefix.checked=1;
}
else {
}
else
{
// document.vars.prefix.checked=0;
}
}
document.vars.dialMethod.value = GetNameValuePair(userInputFile,theSection,"dialMethod");
document.vars.providername.value = GetNameValuePair(userInputFile,theSection,"providername");
if (intlMode=="yes") {
if (intlMode=="yes")
{
document.vars.accountAreaCode.value="";
}
else {
}
else
{
document.vars.accountAreaCode.value = GetNameValuePair(userInputFile,theSection,"accountAreaCode");
}
}
document.vars.accountPhoneNumber.value = GetNameValuePair(userInputFile,theSection,"accountPhoneNumber");
document.vars.accountName.value = GetNameValuePair(userInputFile,theSection,"accountName");
@@ -475,7 +488,13 @@ function loadGlobalData()
document.vars.path.value = "New Path";
else if ( existingPathFlag == "yes" && newPathFlag != "yes" )
document.vars.path.value = "Existing Path";
document.vars.oneStepMode.value = "";
var oneStepModeFlag = parent.parent.globals.GetNameValuePair( acctSetupFile, "Mode Selection", "OneStepMode" );
oneStepModeFlag = oneStepModeFlag.toLowerCase();
if ( oneStepModeFlag == "yes" )
document.vars.oneStepMode = "yes";
if ( document.vars.debugMode.value.toLowerCase() != "yes" && ( document.vars.editMode.value.toLowerCase() != "yes" ) )
if (checkPluginExists( "application/x-netscape-autoconfigure-dialer", false ) )
document.setupPlugin.SetKiosk( true );
@@ -543,30 +562,30 @@ function loadGlobalData()
setRegisterMode( 1 );
}
function saveExternalEditor()
{
// Since we don't do a saveGlobalData in editMode, we need an alternate way to save the externalEditor
// as a preference in ACCTSET.DAT. This is it.
netscape.security.PrivilegeManager.enablePrivilege("AccountSetup");
netscape.security.PrivilegeManager.enablePrivilege( "AccountSetup" );
var userInputFile = document.setupPlugin.GetCurrentProfileDirectory();
if (userInputFile != null && userInputFile != "") {
if ( userInputFile != null && userInputFile != "" )
{
userInputFile = userInputFile + "ACCTSET.DAT";
var theSection="Account Setup User Input";
SetNameValuePair(userInputFile,theSection,"externalEditor", document.vars.externalEditor.value);
}
var theSection = "Account Setup User Input";
SetNameValuePair( userInputFile, theSection, "externalEditor", document.vars.externalEditor.value );
}
}
function saveGlobalData()
{
netscape.security.PrivilegeManager.enablePrivilege("AccountSetup");
netscape.security.PrivilegeManager.enablePrivilege( "AccountSetup" );
if (document.vars.editMode.value.toLowerCase() == "yes") return;
if ( document.vars.editMode.value.toLowerCase() == "yes" )
return;
if (document.setupPlugin == null) return;
if ( document.setupPlugin == null )
return;
/*
if (document.vars.debugMode.value.toLowerCase() != "yes" && (document.vars.editMode.value.toLowerCase() != "yes")) {
if (checkPluginExists("application/x-netscape-autoconfigure-dialer",false)) {
@@ -581,22 +600,25 @@ function saveGlobalData()
top.personalbar.visible=true; // was directory
*/
if (document.vars.cookieWarning.value == "yes") {
if (document.vars.cookieWarning.value == "yes")
{
navigator.preference("network.cookie.warnAboutCookies", true);
}
else {
}
else
{
navigator.preference("network.cookie.warnAboutCookies", false);
}
}
if (document.vars.offlineMode.value != "undefined") {
if (document.vars.offlineMode.value != "undefined")
{
navigator.preference("offline.startup_mode", document.vars.offlineMode.value);
}
// save user input (if any)
var userInputFile = document.setupPlugin.GetCurrentProfileDirectory();
if (userInputFile != null && userInputFile != "") {
if (userInputFile != null && userInputFile != "")
{
userInputFile = userInputFile + "ACCTSET.DAT";
var theSection="Account Setup User Input";
@@ -642,8 +664,9 @@ function saveGlobalData()
SetNameValuePair(userInputFile,theSection,"scriptEnabled", document.vars.scriptEnabled.value);
SetNameValuePair(userInputFile,theSection,"scriptFile", document.vars.scriptFile.value);
SetNameValuePair(userInputFile,theSection,"lckFilename", document.vars.lckFilename.value);
}
else {
}
else
{
SetNameValuePair(userInputFile,theSection,"cardnumber", "");
SetNameValuePair(userInputFile,theSection,"path", "");
SetNameValuePair(userInputFile,theSection,"pageHistory", "");
@@ -654,7 +677,7 @@ function saveGlobalData()
SetNameValuePair(userInputFile,theSection,"emailPasswordCheck", "");
SetNameValuePair(userInputFile,theSection,"publishPassword", "");
SetNameValuePair(userInputFile,theSection,"publishPasswordCheck", "");
}
}
SetNameValuePair(userInputFile,theSection,"month", document.vars.month.value);
SetNameValuePair(userInputFile,theSection,"year", document.vars.year.value);

Binary file not shown.

After

Width:  |  Height:  |  Size: 306 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 258 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 345 B

View File

@@ -87,13 +87,7 @@ and Communicator detects exactly one configured user profile. -->
<LAYER NAME = "Profile_Configured" TOP="0" LEFT="0" VISIBILITY = HIDE>
<P CLASS="body">You are about to use Account Setup to replace your Internet account with another account. While you can safely use Account Setup in this way, we recommend that you create a new user profile first, then use Account Setup. </P>
<P CLASS="bodysecondparagraph">
<SPACER TYPE= HORIZONTAL SIZE=47>To continue, click Start Account Setup. To create a
<BR><SPACER TYPE= HORIZONTAL SIZE=70>new profile, launch the User Profile Manager
<BR><SPACER TYPE= HORIZONTAL SIZE=79>from the Netscape Communicator folder
<BR><SPACER TYPE= HORIZONTAL SIZE=86>or program group.</P>
<P CLASS="body">You are about to use Account Setup to replace the Internet account you selected with a new account. To continue, click Start Account Setup.</P>
</LAYER>
@@ -103,7 +97,10 @@ and Communicator detects no existing Communicator user preferences or user profi
<LAYER NAME = "Profile_Manager_Entrance" TOP="0" LEFT="0" VISIBILITY = HIDE>
<P CLASS="body">You are about to use Account Setup to create access to an Internet account and associate the account with your new user profile. To begin, click Start Account Setup.</P>
<P CLASS="body">Netscape Communicator is your one solution for getting all that the Internet has to offer. Once you've set up Communicator to access the Internet, you can use it to browse the World Wide Web, send and receive electronic mail, publish your own web pages, and more.</P>
<P CLASS="bodysecondparagraph">
<SPACER TYPE= HORIZONTAL SIZE=55>To set up Communicator, click Start Account Setup.</P>
</LAYER>

View File

@@ -18,9 +18,17 @@
<!-- to hide script contents from old browsers
var ispRadio = null;
var out = java.lang.System.out;
//var out = java.lang.System.out;
//window.captureEvents( Event.MOUSEUP| Event.MOUSEDOWN| Event.MOUSEDRAG );
function loadData()
{
radioValue = document.layers[ "allisp" ].layers[ "level1isp" ].
layers[ "levelDisplay" ].layers[ 0 ].
layers[ "moreInfoButton" ].document.
forms[ 0 ].elements[ 0 ].value;
radioClick( radioValue );
}
function tabIndex( tab )
{
@@ -66,7 +74,7 @@ function syncTabs()
function toggleTab( tab )
{
out.println( "toggleTab" );
// out.println( "toggleTab" );
allisp = document.layers[ "allisp" ];
for ( i = tabIndex( tab ); i < allisp.layers.length; i++ )
@@ -77,14 +85,14 @@ function toggleTab( tab )
showLayer = controls.layers[ "show" ];
hideLayer = controls.layers[ "hide" ];
out.println( "pageY: " + levelLayer.pageY );
// out.println( "pageY: " + levelLayer.pageY );
if ( tab == levelLayer )
{
// toggleState == false is closed
if ( levelLayer.toggleState == false )
{
out.println( "OPENING" );
// out.println( "OPENING" );
// open "tab"
showLayer.visibility = "hide";
hideLayer.visibility = "show";
@@ -95,7 +103,7 @@ function toggleTab( tab )
}
else
{
out.println( "CLOSING" );
// out.println( "CLOSING" );
// close "tab"
hideLayer.visibility = "hide";
showLayer.visibility = "show";
@@ -133,6 +141,8 @@ function toggle( tabName )
function radioClick( radioValue )
{
// out.println( "radioClick: " + radioValue );
if ( radioValue != ispRadio )
{
allisp = document.layers[ "allisp" ];
@@ -147,7 +157,7 @@ function radioClick( radioValue )
form = buttonlayer.document.forms[ 0 ];
radio = form.elements[ 0 ];
if ( radio.value == radioValue )
radio.check == "1";
radio.checked=true;
else
form.reset();
}

View File

@@ -22,7 +22,7 @@
<LINK REL=STYLESHEET TYPE="text/JavaScript" ARCHIVE="asw.jar" HREF="sheet.js"></LINK>
</HEAD>
<BODY BGCOLOR="FFFFFF">
<BODY BGCOLOR="FFFFFF" ONLOAD="loadData()">
<!-- The layer below contains the headline and text of this screen -->
@@ -30,7 +30,7 @@
<ILAYER LEFT=0 NAME="level1isp">
<LAYER NAME="control" HEIGHT=20>
<LAYER LEFT=200 NAME="hide"><P CLASS="compare">Level 1</P></LAYER>
<LAYER LEFT=200 NAME="hide"><P CLASS="compare"></P></LAYER>
<LAYER LEFT=200 NAME="show"></LAYER>
</LAYER>
<LAYER TOP=20 NAME="levelDisplay">
@@ -40,10 +40,26 @@
<ILAYER LEFT=0 NAME="level2isp">
<LAYER NAME="control" HEIGHT=20>
<LAYER LEFT=200 NAME="hide"><A HREF="about:blank" onClick="toggle( 'level2isp' ); return false;"><P CLASS="compare">Hide Level 2</P></A></LAYER>
<LAYER LEFT=200 NAME="show"><A HREF="about:blank" onClick="toggle( 'level2isp' ); return false;"><P CLASS="compare">Show Level 2</P></A></LAYER>
<LAYER LEFT=200 NAME="hide">
<A HREF="about:blank"
onClick="document.images['hide'].src='metadata/images/preshide.gif'; toggle( 'level2isp' ); document.images['hide'].src='metadata/images/nomohide.gif'; return false;"
onMouseOver="document.images['hide'].src='metadata/images/mohide.gif'"
onMouseOut="document.images['hide'].src='metadata/images/nomohide.gif'">
<IMG NAME="hide" SRC="metadata/images/nomohide.gif" BORDER=0 HEIGHT=19 WIDTH=187>
</A>
</LAYER>
<LAYER LEFT=200 NAME="show">
<A HREF="about:blank"
onClick="document.images['show'].src='metadata/images/presshow.gif'; toggle( 'level2isp' ); document.images['show'].src='metadata/images/nomoshow.gif'; return false;"
onMouseOver="document.images['show'].src='metadata/images/moshow.gif'"
onMouseOut="document.images['show'].src='metadata/images/nomoshow.gif'">
<IMG NAME="show" SRC="metadata/images/nomoshow.gif" BORDER=0 HEIGHT=19 WIDTH=187>
</A>
</LAYER>
</LAYER>
<LAYER TOP=20 NAME="levelDisplay">
###level2###
</LAYER>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@@ -23,18 +23,17 @@ function loadData()
"/client_data/html/sales.html";
parent.moreinfo.location.replace( fileToLoad );
if ( parent.parent.controls.generateControls )
parent.parent.controls.generateControls();
}
function generateHeader()
{
netscape.security.PrivilegeManager.enablePrivilege( "AccountSetup" );
// parent.parent.parent.globals.debug( "ispDisplayName" + ispDisplayName );
var ispDisplayName = parent.parent.parent.globals.document.setupPlugin.GetISPDisplayName(
parent.parent.parent.globals.selectedISP );
parent.parent.parent.globals.debug( "ispDisplayName" + ispDisplayName );
document.writeln( "More Information about " + ispDisplayName );
document.writeln( "More Information about " +
parent.parent.parent.globals.getSelectedISPName() );
}
// end hiding contents from old browers -->

View File

@@ -27,8 +27,8 @@ import java.lang.*;
public class CPGeneratorProgress extends ProgressApplet
{
final static String DOWNLOAD_STRING = "Downloading:";
final static String UNJAR_STRING = "Uncompressing:";
final static String DOWNLOAD_STRING = "Downloading...";
final static String UNJAR_STRING = "Uncompressing...";
final static String DONE_STRING = "Done...";
final static String CONTACTING_SERVER = "Contacting registration server...";
final static String SENDING = "Sending registration information...";
@@ -37,14 +37,8 @@ public class CPGeneratorProgress extends ProgressApplet
final static String ABORT = "There were problems with the server connection...";
final static String DIALING_STRING = "Calling registration server...";
protected int getState()
{
if ( ServerDownload.getState() == ServerDownload.IDLE )
return CPGenerator.getState();
else
return ServerDownload.getState();
}
final static double PEG_DOWNLOAD = 0.90;
public void init()
{
super.init();
@@ -61,14 +55,14 @@ public class CPGeneratorProgress extends ProgressApplet
int lastState = CPGenerator.DONE;
int thisState = CPGenerator.DONE;
String lastString = "";
String thisString = "";
//String lastString = "";
//String thisString = "";
while ( CPGenerator.done == false )
{
//Trace.TRACE( "CPGenerator not done" );
thisState = getState();
thisString = new String( CPGenerator.currentFile );
thisState = CPGenerator.getState();
//thisString = new String( CPGenerator.currentFile );
if ( thisState != lastState )
{
@@ -76,56 +70,80 @@ public class CPGeneratorProgress extends ProgressApplet
switch ( thisState )
{
case ServerDownload.DOWNLOADING:
buffer = DOWNLOAD_STRING;
case CPGenerator.IDLE:
buffer = "";
break;
case ServerDownload.UNJARRING:
buffer = UNJAR_STRING;
case CPGenerator.DOWNLOADING:
buffer = DOWNLOAD_STRING;
break;
case CPGenerator.UNJARRING:
buffer = UNJAR_STRING;
break;
case CPGenerator.CONTACTING_SERVER:
buffer = CONTACTING_SERVER;
buffer = CONTACTING_SERVER;
break;
case CPGenerator.SENDING:
buffer = SENDING;
buffer = SENDING;
break;
case CPGenerator.WAITING:
buffer = WAITING;
buffer = WAITING;
break;
case CPGenerator.RECEIVING_RESPONSE:
buffer = RECEIVING_RESPONSE;
buffer = RECEIVING_RESPONSE;
break;
case CPGenerator.DONE:
buffer = DONE_STRING;
buffer = DONE_STRING;
break;
case CPGenerator.ABORT:
buffer = ABORT;
buffer = ABORT;
break;
}
}
status.setText( buffer );
lastState = thisState;
}
if ( thisString.compareTo( lastString ) != 0 )
{
progress.setText( thisString );
lastString = thisString;
}
//if ( thisString.compareTo( lastString ) != 0 )
//{
// progress.setText( thisString );
// lastString = thisString;
//}
if ( ServerDownload.getBytesDownloaded() == 0 || CPGenerator.totalBytes == 0 )
progressBar.setPercent( 0.0 );
else
progressBar.setPercent( (double)ServerDownload.getBytesDownloaded() / (double)CPGenerator.totalBytes );
{
double percent;
if ( thisState == CPGenerator.DOWNLOADING )
{
percent = (double)ServerDownload.getBytesDownloaded() /
(double)CPGenerator.totalBytes;
percent = percent * PEG_DOWNLOAD;
}
else
{
percent = (double)ServerDownload.getBytesUnjarred() /
(double)CPGenerator.totalBytes;
percent = ( 1.0 - PEG_DOWNLOAD ) * percent;
percent = percent + PEG_DOWNLOAD;
}
progressBar.setPercent( percent );
}
repaint();
Thread.sleep( 50 );
Thread.yield();
//Thread.sleep( 50 );
}
Trace.TRACE( "CPGenerator done" );
@@ -134,7 +152,8 @@ public class CPGeneratorProgress extends ProgressApplet
status.setText( DONE_STRING );
repaint();
Thread.sleep( 1000 );
final int FOREVER = 100000;
Thread.sleep( FOREVER );
}
}
catch (Exception e)

View File

@@ -30,6 +30,9 @@ import netscape.security.*;
public class CPGenerator
{
public static final int IDLE = 1;
public static final int DOWNLOADING = 2;
public static final int UNJARRING = 3;
public static final int SENDING = 4;
public static final int RECEIVING_RESPONSE = 5;
public static final int WAITING = 6;
@@ -63,7 +66,7 @@ public class CPGenerator
//static CPGeneratorProgress progress = null;
// static final String regservMimeData = "http://seaspace.netscape.com:8080/programs/ias5/regserv/docs/reg.cgi";
// static final String regservMimeData = "http://seaspace.netscape.com:8080/programs/ias5/regserv/docs/reg.cgi";
public static int getState()
{
@@ -604,6 +607,8 @@ public class CPGenerator
private static void downloadAndUnzipMetadata( String rootURL ) throws Throwable
{
state = DOWNLOADING;
String zipFileURL = rootURL + "metadata.jar";
String localFileName = getLocalPath() + "metadata.jar";
@@ -613,6 +618,8 @@ public class CPGenerator
private static void downloadJarFiles( Vector ispList, String rootURL ) throws Throwable
{
state = DOWNLOADING;
// * download the ".jar" for each ISP
for ( int i = 0; i < ispList.size(); i++ )
{
@@ -627,7 +634,7 @@ public class CPGenerator
String ispLocalFileName = getJarFilePath( ispData );
currentFile = new String( ispData.name );
currentFile = new String( ispData.getName() );
Trace.TRACE( "downloading: " + zipFileURL );
ServerDownload.downloadURL( zipFileURL, ispLocalFileName );
@@ -636,6 +643,8 @@ public class CPGenerator
private static void decompressJarFiles( Vector ispList ) throws Throwable
{
state = UNJARRING;
// * decompress the ".jar" for each ISP
for ( int i = 0; i < ispList.size(); i++ )
{
@@ -681,7 +690,7 @@ public class CPGenerator
nvSet.setValue( ispDirectorySymbol, new String( ispData.language + "/" + ispData.name + "/client_data" ) );
parseFeatureSet( nvSet, featureMappings );
returnSets.addElement( nvSet );
//nvSet.printNameValueSet();
//nvSet.printNameValueSet();
}
return returnSets;
}
@@ -690,7 +699,8 @@ public class CPGenerator
String sRootURL, String metadataMode, String reggieData[] )
{
done = false;
state = IDLE;
Trace.TRACE( "Hello" );
NameValueSet featureMappings = null;
@@ -698,6 +708,10 @@ public class CPGenerator
localPath = new String( inLocalPath );
ServerDownload.resetBytesDownloaded();
ServerDownload.resetBytesUnjarred();
try
{
//if ( progress == null )
@@ -713,12 +727,7 @@ public class CPGenerator
if ( metadataMode.toLowerCase().compareTo( "no" ) != 0 )
downloadAndUnzipMetadata( sRootURL );
ServerDownload.resetBytesDownloaded();
downloadJarFiles( ispList, sRootURL );
ServerDownload.resetBytesDownloaded();
decompressJarFiles( ispList );
//Trace.TRACE( "features.cfg settings: " );
@@ -754,55 +763,51 @@ public class CPGenerator
bufferedReader.close();
done = true;
Thread.yield();
result = true;
state = IDLE;
//System.in.read(); // prevent console window from going away
}
catch ( MalformedURLException e )
{
done = true;
result = false;
Trace.TRACE( e.getMessage() );
e.printStackTrace();
}
catch ( ConnectException e )
{
done = true;
result = false;
Trace.TRACE( e.getMessage() );
e.printStackTrace();
}
catch ( UnknownHostException e )
{
done = true;
result = false;
Trace.TRACE( e.getMessage() );
e.printStackTrace();
}
catch ( FileNotFoundException e )
{
done = true;
result = false;
Trace.TRACE( e.getMessage() );
e.printStackTrace();
}
catch ( Exception e )
{
done = true;
result = false;
Trace.TRACE( e.getMessage() );
e.printStackTrace();
}
catch ( Throwable e )
{
done = true;
result = false;
Trace.TRACE( "caught an exception" );
Trace.TRACE( e.getMessage() );
e.printStackTrace();
}
finally
{
done = true;
state = IDLE;
}
Trace.TRACE( "returning result: " + result );
done = false;
return result;
}
}

View File

@@ -42,23 +42,25 @@ class UnjarException extends Exception
public class ServerDownload
{
public static final boolean SLEEP = false;
public static final int IDLE = 0;
public static final int DOWNLOADING = 1;
public static final int UNJARRING = 2;
static int state = IDLE;
static int bytesDownloaded = 0;
public static int getState()
{
return state;
}
static int bytesUnjarred = 0;
public static int getBytesDownloaded()
{
return bytesDownloaded;
}
public static int getBytesUnjarred()
{
return bytesUnjarred;
}
public static void resetBytesUnjarred()
{
bytesUnjarred = 0;
}
public static void resetBytesDownloaded()
{
bytesDownloaded = 0;
@@ -106,8 +108,6 @@ public class ServerDownload
public static boolean unjarURL( String sURL, String sLocalFolder, boolean bDelTempFile )
throws Exception
{
state = IDLE;
boolean bResult = false;
// * downloaded file name: append filename to provided local folder
@@ -156,8 +156,6 @@ public class ServerDownload
//Trace.TRACE( "downloading " + sURL );
state = ServerDownload.DOWNLOADING;
urlSrc = new URL( sURL );
// This is a really gross fix to a stupid little problem:
@@ -220,7 +218,6 @@ public class ServerDownload
bResult = true;
state = IDLE;
return bResult;
}
@@ -234,8 +231,6 @@ public class ServerDownload
public static boolean unJarFile( String sCompFile, boolean bDeleteJarFile )
throws Exception
{
state = UNJARRING;
boolean bResult = false;
final int nBuffSize = 500;
@@ -284,7 +279,7 @@ public class ServerDownload
fileout = new FileOutputStream( zEntryFile.getPath() );
while ( ( nBytesRead = inflaterin.read( buffer, 0, nBuffSize ) ) != -1 )
{
bytesDownloaded += nBytesRead;
bytesUnjarred += nBytesRead;
fileout.write( buffer, 0, nBytesRead );
if ( SLEEP )
@@ -314,7 +309,6 @@ public class ServerDownload
inflaterin.close();
}
state = IDLE;
return bResult;
}
}

View File

@@ -29,7 +29,7 @@ public class SetupPlugin extends Plugin
{
static private Hashtable iniFileCache = new Hashtable();
final public void debug( String s )
static final public void debug( String s )
{
System.out.println( s );
}

View File

@@ -22,19 +22,21 @@ import java.lang.*;
public class SuffixFilter implements FilenameFilter
{
String suffix;
String suffix;
public SuffixFilter( String inSuffix )
{
suffix = inSuffix.toUpperCase();
}
public SuffixFilter( String inSuffix )
{
suffix = inSuffix;
}
public boolean accept( File f, String s )
{
String sUpper = s.toUpperCase();
public boolean accept( File f, String s )
{
if ( s.endsWith( suffix ) )
return true;
return false;
}
if ( sUpper.endsWith( suffix ) )
return true;
return false;
}
}

View File

@@ -197,5 +197,6 @@ void SizeofRASNT40(); // ini WinNT RAS sizes
#endif // WIN32
void SizeofRAS(); // init Win95 & Win3.1 RAS sizes
void trace( const char* traceStatement, ... );
#endif // _INC_PLUGIN_H_

View File

@@ -27,7 +27,7 @@
#include <npapi.h>
#include "plugin.h"
#include <stdarg.h>
// resource include
#ifdef WIN32 // **************************** WIN32 *****************************
@@ -70,6 +70,8 @@ extern void DialerHangup();
// keep a global execution environment
JRIEnv* env;
const BOOL gEnableTrace = TRUE;
// Keeps track of OS version, either win95, winNT, or win16
#ifdef WIN32
int platformOS;
@@ -88,7 +90,6 @@ HINSTANCE DLLinstance = NULL;
JRIGlobalRef g_globalRefReg = NULL;
//********************************************************************************
//
// NPP_Initialize
@@ -106,7 +107,8 @@ NPError NPP_Initialize(void)
//register_java_lang_String(env); //Not necessary?
}
trace( "initialized plug-in" );
#ifdef WIN32 // ******************* WIN32 ***********************
// gets the OS version
// note: we need another way to check for win31
@@ -627,6 +629,35 @@ native_netscape_npasw_SetupPlugin_SECURE_0005fCheckEnvironment(JRIEnv* env,
return (TRUE);
}
void trace( const char* traceStatement, ... )
{
static char buffer[ 10000 ];
int len = 0;
va_list stack;
if ( !gEnableTrace )
return;
if ( !env )
return;
java_lang_Class* self = (java_lang_Class*)NPP_GetJavaClass();
if ( !self )
return;
va_start( stack, traceStatement );
(void)vsprintf( buffer, traceStatement, stack );
va_end( stack );
len = strlen( buffer );
java_lang_String* traceString = JRI_NewStringPlatform( env, buffer,
len, NULL, 0 );
netscape_npasw_SetupPlugin_debug( env, self, traceString );
}
/*******************************************************************************
* Native Methods:
* These are the signatures of the native methods which you must implement.

View File

@@ -61,7 +61,7 @@
#include "allxpstr.h"
#undef WANT_ENUM_STRING_IDS
//#include <LGAPopup.h>
#include <LGAPopup.h>
#ifdef PROFILE
#include <profiler.h>
@@ -167,12 +167,14 @@ CComposerAwareURLDragMixin :: ReceiveDragItem ( DragReference inDragRef, DragAtt
ItemReference inItemRef, Rect & inItemBounds,
SPoint32 & inMouseLoc )
{
try {
try
{
FlavorType useFlavor;
FindBestFlavor ( inDragRef, inItemRef, useFlavor );
Size theDataSize = 0;
switch ( useFlavor ) {
switch ( useFlavor )
{
case emComposerNativeDrag:
{
@@ -200,8 +202,11 @@ CComposerAwareURLDragMixin :: ReceiveDragItem ( DragReference inDragRef, DragAtt
} // switch on best flavor
}
catch ( ... ) {
catch ( ... )
{
#ifdef DEBUG
DebugStr ( "\pCan't find the flavor we want; g" );
#endif
}
} // ReceiveDragItem
@@ -261,8 +266,8 @@ void CEditView::FinishCreateSelf(void)
while (view->GetSuperView())
view = view->GetSuperView();
mParagraphToolbarPopup = (LControl *)view->FindPaneByID( cmd_Paragraph_Hierarchical_Menu );
mSizeToolbarPopup = (LControl *)view->FindPaneByID( cmd_Font_Size_Hierarchical_Menu );
mParagraphToolbarPopup = (LGAPopup *)view->FindPaneByID( cmd_Paragraph_Hierarchical_Menu );
mSizeToolbarPopup = (LGAPopup *)view->FindPaneByID( cmd_Font_Size_Hierarchical_Menu );
mAlignToolbarPopup = (CPatternButtonPopup *)view->FindPaneByID( cmd_Align_Hierarchical_Menu );
mFontToolbarPopup = (CFontMenuPopup *)view->FindPaneByID( 'Font' );
mColorPopup = (CColorPopup *)view->FindPaneByID( 'Colr' );
@@ -460,10 +465,34 @@ Bool CEditView::SaveDocumentAs()
if ( pLocalName )
{
int16 saveCsid = (GetContext())->GetWinCSID();
char newName[32];
strncpy( newName, (char *)&sfReply.sfFile.name[1], sfReply.sfFile.name[0] );
newName[ sfReply.sfFile.name[0] ] = 0; /* null-terminate */
EDT_PageData *pagedata;
pagedata = EDT_GetPageData( *GetContext() );
if ( pagedata )
{
/* this code assumes that EDT_SetPageData is not going to free the title */
if ( ( pagedata->pTitle == NULL )
|| ( pagedata->pTitle && pagedata->pTitle[0] == 0 ) )
{
XP_FREEIF( pagedata->pTitle );
pagedata->pTitle = newName;
if ( pagedata->pTitle )
{
EDT_SetPageData( *GetContext(), pagedata );
/* set to NULL since we didn't malloc this data & don't want it freed in EDT_FreePageData */
pagedata->pTitle = NULL;
}
}
EDT_FreePageData( pagedata );
}
if (hist_ent->title == NULL)
{
CStr31 newName( sfReply.sfFile.name );
StrAllocCopy( ((MWContext *)*GetContext())->title, newName );
SHIST_SetTitleOfCurrentDoc( *GetContext() );
}

View File

@@ -27,6 +27,7 @@ Boolean GetCaretPosition(MWContext *context, LO_Element * element, int32 caretPo
int32* caretX, int32* caretYLow, int32* caretYHigh );
class LGAPopup;
class CPatternButtonPopup;
class CColorPopup;
class CComposeSession;
@@ -178,8 +179,8 @@ public:
CEditView &view;
};
LControl * mParagraphToolbarPopup;
LControl * mSizeToolbarPopup;
LGAPopup * mParagraphToolbarPopup;
LGAPopup * mSizeToolbarPopup;
CFontMenuPopup * mFontToolbarPopup;
CPatternButtonPopup * mAlignToolbarPopup;
CColorPopup * mColorPopup;

View File

@@ -159,7 +159,11 @@ CEditorWindow* CEditorWindow::MakeEditWindow( MWContext* old_context, URL_Struct
{
url = SHIST_CreateURLStructFromHistoryEntry( old_context, entry );
if ( url )
{
url->force_reload = NET_NORMAL_RELOAD;
XP_MEMSET( &url->savedData, 0, sizeof( SHIST_SavedData ) );
}
}
// if we don't have a history entry, we're kind of screwed-->just load a blank page
}
@@ -305,7 +309,6 @@ void CEditorWindow::NoteDocTitleChanged( const char* inNewTitle )
CNSContext *theContext = GetWindowContext();
CStr255 title( inNewTitle );
char *baseName = LO_GetBaseURL( theContext->operator MWContext*() ); // don't free this...
// strip out username and password so user doesn't see them in window title
char *location = NULL;
@@ -344,12 +347,20 @@ void CEditorWindow::NoteDocTitleChanged( const char* inNewTitle )
netscapeTitle += " ";
netscapeTitle += subTitle;
netscapeTitle += " - [";
if ( inNewTitle && *inNewTitle )
// set up page title manually; rather than rely on XP string passed in
EDT_PageData * pageData = EDT_GetPageData( theContext->operator MWContext*() );
if ( pageData && pageData->pTitle && pageData->pTitle[0] )
{
netscapeTitle += title;
netscapeTitle += pageData->pTitle;
if (csBaseURL.Length())
netscapeTitle += " : ";
}
if ( pageData )
EDT_FreePageData( pageData );
// add file path to end
netscapeTitle += csBaseURL;
netscapeTitle += "]";

View File

@@ -556,7 +556,18 @@ void CMacSpellChecker::GetSelection(int32 &selStart, int32 &selEnd)
}
}
else
mTextView->GetSelection( &selStart, &selEnd );
{
long localStart, localEnd;
mTextView->GetSelection( &localStart, &localEnd );
// bug fix
// only return the selection if it is not empty.
if (localStart != localEnd)
{
selStart = localStart;
selEnd = localEnd;
}
}
}

View File

@@ -23,7 +23,7 @@
// You typically won't need to change anything in this file.
// ÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑ
#include "Moz_DebugConfig.h"
#include "MacPrefix_debug.h"
// ÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑ
// ¥ When we split out the procompiled headers seperately, we will not

View File

@@ -30,7 +30,7 @@
//
// ÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑ
#include "Moz_Config.h"
#include "MacPrefix.h"
#ifdef powerc
#pragma precompile_target "Composer_HeadersPPC"

View File

@@ -31,7 +31,7 @@
//
// ÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑ
#include "Moz_Config.h"
#include "MacPrefix.h"
#ifdef powerc
#pragma precompile_target "Composer_HeadersPPC++"

View File

@@ -23,7 +23,7 @@
// You typically won't need to change anything in this file.
// ÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑ
#include "Moz_Config.h"
#include "MacPrefix.h"
// ÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑ
// ¥ When we split out the procompiled headers seperately, we will not

View File

@@ -22,7 +22,8 @@
#include "CEditView.h"
#include "edt.h"
#include "pa_tags.h"
#include "secnav.h" // SECNAV_MungeString, SECNAV_UnMungeString (password munging calls for publishing)
#include "secnav.h"
#include "rosetta.h"
// macfe
#include "ulaunch.h" // StartDocInApp
@@ -111,9 +112,11 @@ static Boolean GetExtraHTML( char *pExtra, char **newExtraHTML , int16 win_csid)
XP_FREE( pCurrent );
theMessage = handler.DoDialog();
// case msg_Help:
// newWindow->Help();
// break;
//case msg_help:
// newWindow->Help();
// break;
} while ( theMessage != msg_OK && theMessage != msg_Cancel );
if ( theMessage == msg_OK )
@@ -204,83 +207,70 @@ void CEditorPrefContain::DrawSelf()
Boolean CEditDialog::Start(ResIDT inWindowID, MWContext * context, short initTabValue, Boolean insert)
{
CEditDialog *dlog = (CEditDialog *)URobustCreateWindow::CreateWindow( inWindowID, LCommander::GetTopCommander() );
if ( dlog == NULL )
return false;
UReanimator::LinkListenerToControls( dlog, dlog, inWindowID ); // the handler is listening; but we want a crack at the messages also...
dlog->SetContext( context );
dlog->SetInitTabValue( initTabValue );
dlog->SetInWindowID( inWindowID );
dlog->SetInsertFlag( insert );
dlog->InitializeDialogControls();
dlog->Show();
CEditDialog* newWindow = NULL;
LEditField* theEditField = NULL;
return true;
}
void CEditDialog::ListenToMessage( MessageT inMessage, void* ioParam )
{
switch ( inMessage )
{
case msg_Help:
Help();
break;
StBlockingDialogHandler handler(inWindowID, LCommander::GetTopCommander()); // inSuperCommander
newWindow = (CEditDialog*)handler.GetDialog();
ThrowIfNULL_(newWindow);
UReanimator::LinkListenerToControls( newWindow, newWindow, inWindowID ); // the handler is listening; but we want a crack at the messages also...
newWindow->SetContext(context);
newWindow->SetInitTabValue(initTabValue);
newWindow->SetInWindowID(inWindowID);
newWindow->SetInsertFlag(insert);
newWindow->InitializeDialogControls();
newWindow->Show();
case 'Xtra':
char * newExtraHTML = NULL;
INTL_CharSetInfo csi = LO_GetDocumentCharacterSetInfo( GetContext() );
Boolean canceled = !GetExtraHTML( pExtra, &newExtraHTML ,INTL_GetCSIWinCSID(csi) );
if (!canceled)
{
if ( pExtra )
XP_FREE( pExtra );
pExtra = newExtraHTML;
}
break;
EDT_BeginBatchChanges(context);
case msg_OK:
case msg_Apply:
LCommander* theTarget = GetTarget();
if ( theTarget == NULL || theTarget->SwitchTarget(this) )
{
if ( CommitChanges( true ) )
{
if ( inMessage == msg_OK )
{
if ( mUndoInited )
EDT_EndBatchChanges( fContext );
LDialogBox::ListenToMessage( cmd_Close, ioParam );
return;
}
while (TRUE) { // Loop FOREVER. We exit from the loop by returning from particular cases.
MessageT theMessage = handler.DoDialog();
LCommander* theTarget = GetTarget();
switch (theMessage) {
case msg_Help:
newWindow->Help();
break;
case msg_Apply:
if (theTarget == NULL || theTarget->SwitchTarget(newWindow))
if (newWindow->CommitChanges(TRUE)) {
LStdControl* cancel = (LStdControl*)FindPaneByID( 'CANC' );
if (cancel)
{
StringHandle CloseHandle = GetString(CLOSE_STR_RESID);
if ( CloseHandle )
{
SInt8 hstate = HGetState( (Handle)CloseHandle );
HLock( (Handle)CloseHandle );
cancel->SetDescriptor( *CloseHandle );
HSetState( (Handle)CloseHandle, hstate );
LStdControl* cancel = (LStdControl*)newWindow->FindPaneByID( 'CANC' );
if (cancel) {
StringHandle CloseHandle = GetString(CLOSE_STR_RESID);
CStr255 Close = **( (CStr255**)CloseHandle ); // Lock it? I don't think so.
cancel->SetDescriptor(Close);
}
}
}
break;
case msg_OK:
if (theTarget == NULL || theTarget->SwitchTarget(newWindow))
if (newWindow->CommitChanges(TRUE)) {
EDT_EndBatchChanges(context);
return TRUE; // Bye Bye!!
}
break;
case msg_Cancel: {
EDT_EndBatchChanges(context);
return FALSE; // Bye Bye!!
}
break;
case msg_Cancel:
if ( mUndoInited )
EDT_EndBatchChanges( fContext );
LDialogBox::ListenToMessage( cmd_Close, ioParam );
break;
default:
LDialogBox::ListenToMessage( inMessage, ioParam );
default:
// this should never happen; hopefully, non-debug code makes this case go away
XP_ASSERT( 0 );
break;
}
}
}
@@ -288,33 +278,7 @@ void CEditDialog::ListenToMessage( MessageT inMessage, void* ioParam )
Boolean CEditDialog::AllowSubRemoval( LCommander * /* inSub */ )
{
// don't allow removal
return false;
}
// copied from StDialogHandler
void CEditDialog::FindCommandStatus(
CommandT /* inCommand */,
Boolean &outEnabled,
Boolean& /* outUsesMark */,
Char16& /* outMark */,
Str255 /* outName */)
{
// Don't enable any commands except cmd_About, which will keep
// the Apple menu enabled. This function purposely does not
// call the inherited FindCommandStatus, thereby suppressing
// commands that are handled by SuperCommanders. Only those
// commands enabled by SubCommanders will be active.
//
// This is usually what you want for a moveable modal dialog.
// Commands such as "New", "Open" and "Quit" that are handled
// by the Applcation are disabled, but items within the dialog
// can enable commands. For example, an EditField would enable
// items in the "Edit" menu.
outEnabled = false;
// actually we don't want to enable "about" either as it might open
// a browser window or ??? which would be very bad
return false;
}
@@ -578,7 +542,7 @@ void CUnknownTag::ListenToMessage( MessageT inMessage, void* ioParam )
break;
default:
CEditDialog::ListenToMessage( inMessage, ioParam );
LDialogBox::ListenToMessage( inMessage, ioParam );
break;
}
}
@@ -930,7 +894,16 @@ Boolean CPublish::CommitChanges( Boolean /* isAllPanes */ )
if ( titleField )
pageData->pTitle = titleField->GetLongDescriptor();
if ( pageData->pTitle && pageData->pTitle[0] == 0 )
{
XP_FREE( pageData->pTitle );
pageData->pTitle = NULL;
}
if ( pageData->pTitle == NULL )
pageData->pTitle = strdup( " " );
EDT_SetPageData( fContext, pageData );
EDT_FreePageData( pageData );
}
@@ -1001,7 +974,7 @@ Boolean CPublish::CommitChanges( Boolean /* isAllPanes */ )
if (fSavePassword->GetValue())
{
char *result;
result = SECNAV_MungeString(pass);
result = HG99875(pass);
if ( result && (strcmp( result, pass ) == 0) )
{
// munging didn't do anything so we'll write out ""
@@ -1134,7 +1107,7 @@ void CPublish::ListenToMessage( MessageT inMessage, void* ioParam )
if (NET_ParseUploadURL(text, &location, &user, &pass)) {
if (pass && *pass) {
char *newpass = SECNAV_UnMungeString(pass);
char *newpass = HG99876(pass);
XP_FREE(pass);
pass = newpass;
}
@@ -1166,7 +1139,7 @@ void CPublish::ListenToMessage( MessageT inMessage, void* ioParam )
if (NET_ParseUploadURL(BrowseLoc, &location, &user, &pass)) {
if (pass && *pass) {
char *newpass = SECNAV_UnMungeString(pass);
char *newpass = HG99876(pass);
XP_FREE(pass);
pass = newpass;
}
@@ -1192,7 +1165,7 @@ void CPublish::ListenToMessage( MessageT inMessage, void* ioParam )
break;
default:
CEditDialog::ListenToMessage( inMessage, ioParam );
LDialogBox::ListenToMessage( inMessage, ioParam );
break;
}
}
@@ -2026,7 +1999,7 @@ void CTableInsertDialog::ListenToMessage( MessageT inMessage, void* ioParam )
break;
default:
CEditDialog::ListenToMessage( inMessage, ioParam );
LDialogBox::ListenToMessage( inMessage, ioParam );
break;
}
}
@@ -2035,6 +2008,9 @@ void CTableInsertDialog::ListenToMessage( MessageT inMessage, void* ioParam )
void CEDTableContain::FinishCreateSelf()
{
// Find Controls
fNumRowsEditText = (LGAEditField*)this->FindPaneByID( 'rows' );
fNumColsEditText = (LGAEditField*)this->FindPaneByID( 'cols' );
fBorderCheckBox = (LControl*)FindPaneByID( 'BrdW' );
fBorderCheckBox->SetValueMessage( 'BrdW' );
@@ -2118,8 +2094,12 @@ void CEDTableContain::PrefsFromControls()
EDT_TableData *fData = EDT_GetTableData(fContext);
if (fData == NULL)
return;
LO_Color backgroundColor;
fData->iRows = fNumRowsEditText->GetValue();
fData->iColumns = fNumColsEditText->GetValue();
GetTableDataFromControls( fData, fBorderCheckBox, fBorderWidthEditText,
fCellSpacingEditText, fCellPaddingEditText,
fCustomWidth, fWidthPopup, fWidthEditText,
@@ -2213,6 +2193,12 @@ void CEDTableContain::ControlsFromPref()
EDT_TableData* fData = EDT_GetTableData(fContext);
if (fData == NULL)
return;
fNumColsEditText->SetValue( fData->iColumns );
fNumColsEditText->Enable();
fNumRowsEditText->SetValue( fData->iRows );
fNumRowsEditText->Enable();
switch (fData->align)
{
@@ -2278,6 +2264,24 @@ void CEDTableContain::ControlsFromPref()
Boolean CEDTableContain::AllFieldsOK()
{
EDT_TableData* fData = EDT_GetTableData(fContext);
if (fData == NULL)
return FALSE;
int upperBoundRows = fData->iRows > 100 ? fData->iRows : 100; // just in case iRows is over 100
if (!IsEditFieldWithinLimits(fNumRowsEditText, fData->iRows, upperBoundRows)) {
SwitchTarget( fNumRowsEditText );
fNumRowsEditText->SelectAll();
return FALSE;
}
int upperBoundCols = fData->iColumns > 100 ? fData->iColumns : 100;
if (!IsEditFieldWithinLimits(fNumColsEditText, fData->iColumns, upperBoundCols)) {
SwitchTarget( fNumColsEditText );
fNumColsEditText->SelectAll();
return FALSE;
}
if ( fBorderCheckBox->GetValue() )
{
if (!IsEditFieldWithinLimits(fBorderWidthEditText, 0, 10000)) {
@@ -2478,12 +2482,17 @@ void CEDTableCellContain::PrefsFromControls()
if (cellData == NULL)
return;
if ( fRowSpanEditText->IsEnabled() )
if ( fRowSpanEditText->IsEnabled() ) /* assume CF_ROWSPAN bit already set properly */
cellData->iRowSpan = fRowSpanEditText->GetValue();
if ( fColSpanEditText->IsEnabled() )
if ( fColSpanEditText->IsEnabled() ) /* assume CF_COLSPAN bit already set properly */
cellData->iColSpan = fColSpanEditText->GetValue();
switch ( fHorizontalAlignment->GetValue() )
int curValue;
curValue = fHorizontalAlignment->GetValue();
if ( !(cellData->mask & CF_ALIGN ) && curValue != 4 )
cellData->mask |= CF_ALIGN;
switch ( curValue )
{
default:
case 1: cellData->align = ED_ALIGN_LEFT; break;
@@ -2492,59 +2501,96 @@ void CEDTableCellContain::PrefsFromControls()
case 4: break; // mixed state; don't reset
}
switch ( fVerticalAlignment->GetValue() )
curValue = fVerticalAlignment->GetValue();
if ( !(cellData->mask & CF_VALIGN ) && curValue != 5 )
cellData->mask |= CF_VALIGN;
switch ( curValue )
{
default:
case 1: cellData->valign = ED_ALIGN_ABSTOP;
case 2: cellData->valign = ED_ALIGN_ABSCENTER;
case 3: cellData->valign = ED_ALIGN_BASELINE;
case 4: cellData->valign = ED_ALIGN_ABSBOTTOM;
case 1: cellData->valign = ED_ALIGN_ABSTOP; break;
case 2: cellData->valign = ED_ALIGN_ABSCENTER; break;
case 3: cellData->valign = ED_ALIGN_BASELINE; break;
case 4: cellData->valign = ED_ALIGN_ABSBOTTOM; break;
case 5: break; // mixed state; don't reset
}
cellData->bHeader = fHeaderStyle->GetValue();
cellData->bNoWrap = fWrapText->GetValue();
if ( fCustomWidth->GetValue() )
curValue = fHeaderStyle->GetValue();
if ( curValue != 2 )
{
if ( !(cellData->mask & CF_HEADER ) )
cellData->mask |= CF_HEADER;
cellData->bHeader = curValue;
}
curValue = fWrapText->GetValue();
if ( curValue != 2 )
{
if ( !(cellData->mask & CF_NOWRAP ) )
cellData->mask |= CF_NOWRAP;
cellData->bNoWrap = curValue;
}
curValue = fCustomWidth->GetValue();
if ( !(cellData->mask & CF_WIDTH ) && curValue != 2 )
cellData->mask |= CF_WIDTH;
if ( curValue == 1 )
{
cellData->bWidthDefined = TRUE;
cellData->bWidthPercent = fWidthPopup->GetValue() == kPercentOfWindowItem;
cellData->iWidth = fWidthEditText->GetValue();
}
else
else if ( curValue == 0 )
cellData->bWidthDefined = FALSE;
if (fCustomHeight->GetValue())
curValue = fCustomHeight->GetValue();
if ( !(cellData->mask & CF_HEIGHT ) && curValue != 2 )
cellData->mask |= CF_HEIGHT;
if ( curValue == 1 )
{
cellData->bHeightDefined = TRUE;
cellData->bHeightPercent = fHeightPopup->GetValue() == kPercentOfWindowItem;
cellData->iHeight = fHeightEditText->GetValue();
}
else
else if ( curValue == 0 )
cellData->bHeightDefined = FALSE;
XP_FREEIF( cellData->pColorBackground ); // we'll replace it with our own if we use it at all.
cellData->pColorBackground = NULL;
LO_Color pColor;
if ( fCustomColor->GetValue() )
curValue = fCustomColor->GetValue();
if ( curValue != 2 && !(cellData->mask & CF_BACK_COLOR ) )
cellData->mask |= CF_BACK_COLOR;
if ( curValue == 1 )
{
pColor = UGraphics::MakeLOColor(fColorCustomColor->GetColor());
cellData->pColorBackground = &pColor;
}
else
else if ( curValue == 0 )
cellData->pColorBackground = NULL;
XP_FREEIF( cellData->pBackgroundImage );
cellData->pBackgroundImage = NULL;
if ( mUseImage->GetValue() )
curValue = mUseImage->GetValue();
if ( !(cellData->mask & CF_BACK_IMAGE ) && curValue != 2 )
cellData->mask |= CF_BACK_IMAGE;
if ( curValue == 1 )
cellData->pBackgroundImage = mImageFileName->GetLongDescriptor();
cellData->bBackgroundNoSave = mLeaveImage->GetValue();
curValue = mLeaveImage->GetValue();
if ( curValue != 2 )
{
if ( !(cellData->mask & CF_BACK_NOSAVE ) )
cellData->mask |= CF_BACK_NOSAVE;
cellData->bBackgroundNoSave = curValue;
}
LView* extrahtmlbutton = (LView *)FindPaneByID( 'Xtra' );
XP_ASSERT( extrahtmlbutton != NULL );
if ( extrahtmlbutton->IsEnabled() )
if ( !(cellData->mask & CF_EXTRA_HTML ) )
XP_ASSERT( 1 );
if ( extrahtmlbutton && extrahtmlbutton->IsEnabled() )
{
XP_FREEIF( cellData->pExtra );
cellData->pExtra = pExtra;
@@ -2560,32 +2606,6 @@ void CEDTableCellContain::PrefsFromControls()
EDT_FreeTableCellData( cellData );
}
#if FIRST_PASS_AT_MASK
typedef enum {
ED_ALIGN_LEFT_MASK = 0x0001,
ED_ALIGN_CENTER_MASK = 0x0002,
ED_ALIGN_RIGHT_MASK = 0x0004,
ED_ALIGN_ABSTOP_MASK = 0x0010,
ED_ALIGN_ABSCENTER_MASK = 0x0020,
ED_ALIGN_BASELINE_MASK = 0x0040,
ED_ALIGN_ABSBOTTOM_MASK = 0x0080
} ED_AlignmentMask;
/* ED_AlignmentMask: add the values which are set */
/* Boolean: true means all agree; false means selection has different values */
struct _EDT_TableCellMask {
ED_AlignmentMask bHalign;
ED_AlignmentMask bValign;
Boolean bColAndRowSpan;
Boolean bHeader;
Boolean bNoWrap;
Boolean bWidth;
Boolean bHeight;
Boolean bColor;
Boolean bBackgroundImage;
Boolean bExtraHTML;
};
#endif
// Initialize from preferences
void CEDTableCellContain::ControlsFromPref()
@@ -2594,21 +2614,10 @@ void CEDTableCellContain::ControlsFromPref()
if (cellData == NULL)
return;
#if FIRST_PASS_AT_MASK
_EDT_TableCellMask cellDataMask;
cellDataMask.bHalign = ED_ALIGN_LEFT_MASK;
cellDataMask.bValign = ED_ALIGN_BASELINE_MASK;
cellDataMask.bColAndRowSpan = true;
cellDataMask.bHeader = cellDataMask.bNoWrap = true;
cellDataMask.bWidth = cellDataMask.bHeight = true;
cellDataMask.bColor = cellDataMask.bBackgroundImage = true;
cellDataMask.bExtraHTML = true;
#endif
// set popup menus depending if nested in another table or just in window
short resID;
CStr255 title;
StringHandle titleH;
if (EDT_IsInsertPointInNestedTable(fContext))
resID = EDITOR_PERCENT_PARENT_CELL;
else
@@ -2619,7 +2628,7 @@ void CEDTableCellContain::ControlsFromPref()
{
SInt8 hstate = HGetState( (Handle)titleH );
HLock( (Handle)titleH );
title = *titleH;
CStr255 title = *titleH;
HSetState( (Handle)titleH, hstate );
MenuHandle menuh = ((LGAPopup *)fWidthPopup)->GetMacMenuH();
@@ -2637,56 +2646,57 @@ void CEDTableCellContain::ControlsFromPref()
}
}
/* col and row span */
#if FIRST_PASS_AT_MASK
if ( cellDataMask.bColAndRowSpan )
#endif
/* col span */
if ( (cellData->mask & CF_COLSPAN) )
{
fColSpanEditText->SetValue( cellData->iColSpan );
fColSpanEditText->Enable();
}
else
fColSpanEditText->Disable();
/* row span */
if ( (cellData->mask & CF_ROWSPAN) )
{
fRowSpanEditText->SetValue( cellData->iRowSpan );
fColSpanEditText->SetValue( cellData->iColSpan );
fRowSpanEditText->Enable();
}
#if FIRST_PASS_AT_MASK
else
{
fRowSpanEditText->Disable();
fColSpanEditText->Disable();
// should disable the rest of this too...
}
#endif
/* horizontal alignment */
switch ( cellData->align )
if ( (cellData->mask & CF_ALIGN) )
{
case ED_ALIGN_LEFT: fHorizontalAlignment->SetValue( 1 ); break;
case ED_ALIGN_ABSCENTER: fHorizontalAlignment->SetValue( 2 ); break;
case ED_ALIGN_RIGHT: fHorizontalAlignment->SetValue( 3 ); break;
default: /* mixed */ fHorizontalAlignment->SetValue( 4 ); break;
switch ( cellData->align )
{
case ED_ALIGN_DEFAULT:
case ED_ALIGN_LEFT: fHorizontalAlignment->SetValue( 1 ); break;
case ED_ALIGN_ABSCENTER: fHorizontalAlignment->SetValue( 2 ); break;
case ED_ALIGN_RIGHT: fHorizontalAlignment->SetValue( 3 ); break;
}
}
else
fHorizontalAlignment->SetValue( 4 );
/* vertical alignment */
switch ( cellData->valign )
if ( (cellData->mask & CF_VALIGN) )
{
case ED_ALIGN_ABSTOP: fVerticalAlignment->SetValue( 1 ); break;
case ED_ALIGN_ABSCENTER: fVerticalAlignment->SetValue( 2 ); break;
case ED_ALIGN_BASELINE: fVerticalAlignment->SetValue( 3 ); break;
case ED_ALIGN_ABSBOTTOM: fVerticalAlignment->SetValue( 4 ); break;
default: /* mixed */ fVerticalAlignment->SetValue( 5 ); break;
switch ( cellData->valign )
{
case ED_ALIGN_ABSTOP: fVerticalAlignment->SetValue( 1 ); break;
case ED_ALIGN_ABSCENTER: fVerticalAlignment->SetValue( 2 ); break;
case ED_ALIGN_BASELINE: fVerticalAlignment->SetValue( 3 ); break;
case ED_ALIGN_ABSBOTTOM: fVerticalAlignment->SetValue( 4 ); break;
}
}
else
fVerticalAlignment->SetValue( 5 );
/* text */
#if FIRST_PASS_AT_MASK
fHeaderStyle->SetValue( cellDataMask.bHeader ? cellData->bHeader : 2 );
fWrapText->SetValue( cellDataMask.bNoWrap ? cellData->bNoWrap : 2 );
#else
fHeaderStyle->SetValue( cellData->bHeader );
fWrapText->SetValue( cellData->bNoWrap );
#endif
fHeaderStyle->SetValue( (cellData->mask & CF_HEADER) ? cellData->bHeader : 2 );
fWrapText->SetValue( (cellData->mask & CF_NOWRAP) ? cellData->bNoWrap : 2 );
#if FIRST_PASS_AT_MASK
fCustomWidth->SetValue( cellDataMask.bWidth ? cellData->bWidthDefined : 2 );
#else
fCustomWidth->SetValue( cellData->bWidthDefined );
#endif
fCustomWidth->SetValue( (cellData->mask & CF_WIDTH) ? cellData->bWidthDefined : 2 );
if ( cellData->bWidthDefined )
{
fWidthEditText->SetValue( cellData->iWidth );
@@ -2698,11 +2708,7 @@ void CEDTableCellContain::ControlsFromPref()
fWidthPopup->SetValue( kPercentOfWindowItem );
}
#if FIRST_PASS_AT_MASK
fCustomHeight->SetValue( cellDataMask.bHeight ? cellData->bHeightDefined : 2 );
#else
fCustomHeight->SetValue( cellData->bHeightDefined );
#endif
fCustomHeight->SetValue( (cellData->mask & CF_HEIGHT) ? cellData->bHeightDefined : 2 );
if ( cellData->bHeightDefined )
{
fHeightEditText->SetValue(cellData->iHeight);
@@ -2714,7 +2720,7 @@ void CEDTableCellContain::ControlsFromPref()
fHeightPopup->SetValue( kPercentOfWindowItem );
}
fCustomColor->SetValue( cellData->pColorBackground != NULL );
fCustomColor->SetValue( (cellData->mask & CF_BACK_COLOR) ? cellData->pColorBackground != NULL : 2 );
RGBColor rgb;
if ( cellData->pColorBackground )
rgb = UGraphics::MakeRGBColor( *cellData->pColorBackground );
@@ -2722,32 +2728,24 @@ void CEDTableCellContain::ControlsFromPref()
rgb = UGraphics::MakeRGBColor( 0xFF, 0xFF, 0xFF ); // something pretty... (or, better yet, get the default color - yeah, right!)
fColorCustomColor->SetColor( rgb );
if ( cellData->pBackgroundImage )
{
mImageFileName->SetLongDescriptor( cellData->pBackgroundImage );
// turn on after we set the descriptor so we don't handle as click when msg is broadcast
TurnOn( mUseImage );
}
mLeaveImage->SetValue( cellData->bBackgroundNoSave );
mImageFileName->SetLongDescriptor( cellData->pBackgroundImage ? cellData->pBackgroundImage : "" );
mUseImage->SetValue( (cellData->mask & CF_BACK_IMAGE) ? cellData->pBackgroundImage != NULL : 2 );
mLeaveImage->SetValue( (cellData->mask & CF_BACK_NOSAVE) ? cellData->bBackgroundNoSave : 2 );
LView* extrahtmlbutton = (LView *)FindPaneByID( 'Xtra' );
XP_ASSERT( extrahtmlbutton != NULL );
#if FIRST_PASS_AT_MASK
if ( cellDataMask.bExtraHTML )
#endif
if ( (cellData->mask & CF_EXTRA_HTML) )
{
extrahtmlbutton->Enable();
pExtra = cellData->pExtra;
cellData->pExtra = NULL; // don't let backend free!
}
#if FIRST_PASS_AT_MASK
else
{
/* don't agree; disable for now */
extrahtmlbutton->Disable();
pExtra = NULL;
}
#endif
EDT_FreeTableCellData(cellData);
AdjustEnable();
@@ -2812,30 +2810,47 @@ void CEDTableCellContain::ListenToMessage( MessageT inMessage, void* /* ioParam
{
switch ( inMessage )
{
case 'TsPU': /* popup menu item was changed */
case 'PREV':
case 'NEXT':
/* AllFieldsOK?, Cancel->Close, Apply */
// CEditDialog::ListenToMessage( msg_Apply, NULL );
/* select next */
/* HACK ALERT!!!!!!! For now, let's just tab to the next cell */
EDT_TabKey( fContext, true, false );
/* approprate selection */
ED_HitType moveType = ED_HIT_SEL_CELL;
LGAPopup * tableSelectionPopup = (LGAPopup*)FindPaneByID( 'TsPU' );
if ( tableSelectionPopup )
{
switch ( tableSelectionPopup->GetValue() )
{
case 1: /* cell */
moveType = ED_HIT_SEL_CELL;
break;
case 2: /* row */
moveType = ED_HIT_SEL_ROW;
break;
case 3: /* column */
moveType = ED_HIT_SEL_COL;
break;
}
}
ED_MoveSelType moveDirection;
if (inMessage == 'PREV')
moveDirection = ED_MOVE_PREV;
else if (inMessage == 'NEXT')
moveDirection = ED_MOVE_NEXT;
else if (inMessage == 'TsPU')
moveDirection = ED_MOVE_NONE;
EDT_ChangeTableSelection( fContext, moveType, moveDirection, NULL );
/* fill in new data */
ControlsFromPref();
break;
case 'PREV':
/* AllFieldsOK */
/* Apply */
/* select next */
/* HACK ALERT!!!!!!! For now, let's just tab to the previous cell */
EDT_TabKey( fContext, false, false );
/* fill in new data */
SysBeep(0);
break;
case 'cwth':
case 'chgt':
case 'cclr':

View File

@@ -76,9 +76,6 @@ public:
static Boolean Start(ResIDT inWindowID, MWContext * context = NULL, short initTabValue = 0, Boolean insert = FALSE);
Boolean AllowSubRemoval( LCommander *inSub );
void FindCommandStatus( CommandT inCommand, Boolean &outEnabled,
Boolean&, Char16&, Str255);
virtual void ListenToMessage( MessageT inMessage, void* ioParam );
virtual void InitializeDialogControls() = NULL;
@@ -760,6 +757,9 @@ public:
virtual Boolean AllFieldsOK();
protected:
LGAEditField* fNumRowsEditText;
LGAEditField* fNumColsEditText;
LControl* fBorderCheckBox;
LGAEditField* fBorderWidthEditText;
LGAEditField* fCellSpacingEditText;

View File

View File

@@ -0,0 +1,247 @@
/* -*- 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.
*/
#include "rosetta.h"
#include "CABContainerDialogs.h"
#include "ABcom.h"
#ifdef MOZ_NEWADDR
#include "xp_mcom.h"
#include "msgnet.h"
#include "prefapi.h"
#include "dirprefs.h"
#include "CValidEditField.h"
#include "RandomFrontEndCrap.h"
#include "pascalString.h"
#include "CTSMEditField.h"
#include "LGAPushButton.h"
#include "LGACheckbox.h"
#include "LGADialogBox.h"
#include "UmodalDialogs.h"
#include "PP_Messages.h"
#include "macgui.h"
CLDAPPropertyDialogManager::CLDAPPropertyDialogManager( DIR_Server* server, MSG_Pane* inPane )
{
StDialogHandler dialogHandler( eLDAPServerPropertiesDialogResID, NULL );
LGADialogBox* dialog = dynamic_cast<LGADialogBox*>( dialogHandler.GetDialog() ) ;
Assert_( dialog );
Setup( dialog, server );
if( dialog )
{
dialog->Show();
MessageT theMessage = msg_Nothing;
while ( (theMessage != msg_Cancel) && (theMessage != msg_OK) )
{
theMessage = dialogHandler.DoDialog();
switch( theMessage )
{
case cmd_HelpButton: // help button
// ShowHelp(mHelpTopic);
break;
// toggle the port numbers in the port field
case eGarbledBox:
Int32 value = eLDAPStandardPort;
if (mGarbledBox->GetValue())
value = eLDAPGarbledPort;
mPortNumber->SetValue(eLDAPGarbledPort);
break;
case eUpdateButton:
UpdateDirServerToUI ();
// The Net_ReplicationDirectory call requires that this flag be set
DIR_ForceFlag( mServer, DIR_REPLICATION_ENABLED, true );
NET_ReplicateDirectory( NULL, mServer );
break;
case msg_OK:
if( !UpdateDirServerToUI() )
theMessage = msg_Nothing;
break;
default:
break;
}
}
if ( theMessage == msg_OK )
{
// I think I am supposed to go context digging for the pane?
AB_UpdateDIRServerForContainerPane( inPane, mServer );
}
}
}
Boolean CLDAPPropertyDialogManager::UpdateDirServerToUI()
{
// first check to make sure that the two validated edit fields are ok. If not,
// then break out of here and don't accept the OK, forcing the user to
// fix them.
Boolean rtnValue = true;
if ( !MaxHitsValidationFunc(mPortNumber) || !PortNumberValidationFunc(mMaxHits) )
rtnValue = false;
XP_FREEIF(mServer->searchBase);
XP_FREEIF(mServer->serverName);
XP_FREEIF(mServer->description);
CStr255 pBuffer;
mDescription->GetDescriptor(pBuffer);
mServer->description = XP_STRDUP(CStr255( pBuffer ) );
mLdapServer->GetDescriptor(pBuffer);
mServer->serverName = XP_STRDUP(CStr255( pBuffer ));
mSearchRoot->GetDescriptor(pBuffer);
mServer->searchBase = XP_STRDUP(CStr255( pBuffer ));
DIR_ForceFlag( mServer, DIR_REPLICATION_ENABLED, mDownloadCheckBox->GetValue( ) );
mServer->port = mPortNumber->GetValue();
mServer->maxHits = mMaxHits->GetValue();
HG51388
mServer->savePassword = mSavePasswordBox->GetValue()? true: false;
DIR_SetServerFileName(mServer, mServer->serverName);
return rtnValue;
}
void CLDAPPropertyDialogManager::Setup( LGADialogBox* inDialog , DIR_Server *inServer )
{
mServer = inServer;
mDescription = (CTSMEditField *) inDialog->FindPaneByID(eDescriptionEditField);
XP_ASSERT(mDescription);
mLdapServer = (LEditField *) inDialog->FindPaneByID(eLDAPServerEditField);
XP_ASSERT(mLdapServer);
mSearchRoot = (LEditField *) inDialog->FindPaneByID(eSearchRootEditField);
XP_ASSERT(mSearchRoot);
mPortNumber = (CValidEditField *) inDialog->FindPaneByID(ePortNumberEditField);
XP_ASSERT(mPortNumber);
mMaxHits = (CValidEditField *) inDialog->FindPaneByID(eMaxHitsEditField);
XP_ASSERT(mMaxHits);
mGarbledBox = (LGACheckbox *) inDialog->FindPaneByID(eGarbledBox);
XP_ASSERT(mGarbledBox);
mSavePasswordBox = dynamic_cast<LGACheckbox *>(inDialog->FindPaneByID ( eSaveLDAPServerPasswordBox) );
Assert_( mSavePasswordBox );
mDownloadCheckBox = dynamic_cast<LGACheckbox* >( inDialog->FindPaneByID ( eDownloadCheckBox ) );
Assert_( mDownloadCheckBox );
UReanimator::LinkListenerToControls( inDialog, inDialog, eLDAPServerPropertiesDialogResID );
mPortNumber->SetValidationFunction(PortNumberValidationFunc);
mMaxHits->SetValidationFunction(MaxHitsValidationFunc);
mDescription->SetDescriptor(CStr255( mServer->description) );
mLdapServer->SetDescriptor(CStr255 (mServer->serverName ));
mSearchRoot->SetDescriptor(CStr255( mServer->searchBase ));
mDownloadCheckBox->SetValue( DIR_TestFlag( mServer, DIR_REPLICATION_ENABLED ) );
mPortNumber->SetValue(mServer->port);
mMaxHits->SetValue(mServer->maxHits);
HG51389
mSavePasswordBox->SetValue(mServer->savePassword ? 1: 0);
// If the directories are locked, disable everything but cancel so the user can't make any changes. This
// allows them to view the information but not edit it.
XP_Bool serversLocked = PREF_PrefIsLocked("ldap_1.number_of_directories");
if ( serversLocked )
{
inDialog->Disable();
LGAPushButton *canelButton = (LGAPushButton *)(inDialog->FindPaneByID('CnBt') );
XP_ASSERT(canelButton);
canelButton->Enable();
}
}
Boolean CLDAPPropertyDialogManager::PortNumberValidationFunc(CValidEditField *portNumber)
// Makes sure the port number field of the dialog is between 0 and 32767, but sets
// a reasonable default if the field is left blank.
{
Boolean result;
Str255 currentValue;
portNumber->GetDescriptor(currentValue);
if (!currentValue[0])
{
portNumber->SetValue(eLDAPStandardPort);
HG51387
portNumber->SelectAll();
result = false;
}
else
{
result = ConstrainEditField(portNumber, 0, 32767);
}
if (!result)
{
StPrepareForDialog prepare;
::StopAlert(1068, NULL);
}
return result;
}
Boolean CLDAPPropertyDialogManager::MaxHitsValidationFunc(CValidEditField *maxHits)
// Makes sure the max hits field of the dialog is between 1 and 65535.
{
Boolean result;
result = ConstrainEditField(maxHits, 1, 65535);
if (!result)
{
// If it was constrained to 1 then make it 100 instead.
if (1 == maxHits->GetValue() )
{
maxHits->SetValue(100);
maxHits->SelectAll();
}
StPrepareForDialog prepare;
::StopAlert(1069, NULL);
}
return result;
}
#pragma mark --CPABPropertyDialogManager--
CPABPropertyDialogManager::CPABPropertyDialogManager( DIR_Server *inServer, MSG_Pane* inPane )
{
StDialogHandler dialogHandler( ePABPropertyWindowID, NULL );
LGADialogBox* dialog = dynamic_cast<LGADialogBox*>( dialogHandler.GetDialog() ) ;
Assert_( dialog );
LGAEditField* nameField = dynamic_cast<LGAEditField*>( dialog->FindPaneByID( eNamePaneID ) );
nameField->SetDescriptor( CStr255 ( inServer->description ) );
MessageT theMessage = msg_Nothing;
while ( (theMessage != msg_Cancel) && (theMessage != msg_OK) )
{
theMessage = dialogHandler.DoDialog();
}
if ( theMessage == msg_OK )
{
XP_FREEIF( inServer->description );
CStr255 pBuffer;
nameField->GetDescriptor(pBuffer);
inServer->description = XP_STRDUP(CStr255( pBuffer ) );
AB_UpdateDIRServerForContainerPane( inPane, inServer );
}
}
#endif

View File

@@ -0,0 +1,95 @@
/* -*- 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.
*/
typedef struct MSG_Pane MSG_Pane;
typedef struct DIR_Server DIR_Server;
class CValidEditField;
class LEditField;
class LGACheckbox;
class LGADialogBox;
class CTSMEditField;
//------------------------------------------------------------------------------
// ¥ CLDAPPropertyDialogManager
//------------------------------------------------------------------------------
class CLDAPPropertyDialogManager
{
public:
CLDAPPropertyDialogManager( DIR_Server* ioServer, MSG_Pane* inPane );
private:
Boolean UpdateDirServerToUI();
void Setup( LGADialogBox* inDialog , DIR_Server *inServer );
public:
// PUBLIC CONSTANTS
enum {
class_ID = 'LDSP',
eLDAPServerPropertiesDialogResID = 12002,
cmd_HelpButton = 3
};
// Port ID's
enum {
eLDAPStandardPort = 389,
eLDAPGarbledPort = 636
};
// Pane ID's for dialog
enum {
eDescriptionEditField = 10,
eLDAPServerEditField,
eSearchRootEditField,
ePortNumberEditField,
eMaxHitsEditField,
eGarbledBox = 20,
eSaveLDAPServerPasswordBox = 21,
eUpdateButton = 22,
eDownloadCheckBox = 23
};
static Boolean MaxHitsValidationFunc(CValidEditField *maxHits) ;
static Boolean PortNumberValidationFunc(CValidEditField *portNumber) ;
private:
const char* mHelpTopic; // help string for NetHelp
DIR_Server* mServer; // the LDAP server
CTSMEditField* mDescription; // Items in dialog
LEditField* mLdapServer;
LEditField* mSearchRoot;
CValidEditField* mPortNumber;
CValidEditField* mMaxHits;
LGACheckbox* mGarbledBox;
LGACheckbox* mSavePasswordBox;
LGACheckbox* mDownloadCheckBox;
};
//------------------------------------------------------------------------------
// ¥ CPABPropertyDialogManager
//------------------------------------------------------------------------------
class CPABPropertyDialogManager
{
enum { eNamePaneID = 'NmEd' };
enum { ePABPropertyWindowID = 8995 };
public:
CPABPropertyDialogManager( DIR_Server *inServer, MSG_Pane* inPane );
};

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,327 @@
/* -*- 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) 1997 Netscape Communications Corporation. All Rights
* Reserved.
*/
// CAddressBookViews.h
#include "CMailFlexTable.h"
#include "PascalString.h"
#include "abcom.h"
#include "dirprefs.h"
class CSearchEditField;
class LDividedView;
class LGAPushButton;
class CPatternProgressCaption;
// These should be replaced as there is a JS pref
enum { eDontCheckTypedown = 0xFFFFFFFF, eCheckTypedownInterval = 30 /* 1/2 sec */ , eNewTarget = 'NwTg'};
struct SAddressDelayedDragInfo;
#pragma mark CAddressBookPane
//------------------------------------------------------------------------------
// ¥ CAddressBookPane
//------------------------------------------------------------------------------
//
class CAddressBookPane : public CMailFlexTable, public LPeriodical
{
private:
typedef CMailFlexTable Inherited;
public:
enum EColType
{ // Sort column header ids
eTableHeaderBase = 'col0'
, eCol0 = eTableHeaderBase
, eCol1
, eCol2
, eCol3
, eCol4
, eCol5
, eCol6
};
enum
{ // Command sort
cmd_SortAscending = 'Ascd'
, cmd_SortDescending = 'Dscd'
};
enum
{
eInvalidCachedRowIDType = 0x7FFFFFFF
, eNewEntryID = 0x7FFFFFFF
, eInvalidEntryID = 0
};
enum
{ // Icon resource IDs
ics8_Person = 15260
, ics8_List = 15263
};
CAddressBookPane(LStream *inStream);
UInt32 SortTypeFromColumnType(EColType inColType);
AB_CommandType SortCommandFromColumnType(EColType inColType);
virtual Boolean ObeyCommand(CommandT inCommand, void *ioParam);
virtual void FindCommandStatus(CommandT inCommand, Boolean &outEnabled,
Boolean &outUsesMark, Char16 &outMark,
Str255 outName);
virtual void DeleteSelection();
virtual AB_ContainerInfo* GetContainer( TableIndexT /* inRow */ ) { return mContainer; }
Boolean CurrentBookIsPersonalBook();
virtual void PaneChanged( MSG_Pane *inPane, MSG_PANE_CHANGED_NOTIFY_CODE inNotifyCode, int32 value);
virtual Boolean CellInitiatesDrag(const STableCell &/*inCell*/) const { return true; }
virtual Boolean ItemIsAcceptable( DragReference inDragRef, ItemReference inItemRef );
protected:
virtual void GetCellDisplayData(const STableCell &inCell, ResIDT &ioIcon, CStr255 &ioDisplayString );
virtual void DestroyMessagePane(MSG_Pane* inPane);
virtual void SpendTime(const EventRecord &inMacEvent);
virtual Boolean CellHasDropFlag(const STableCell &/*inCell*/, Boolean &/*outIsExpanded*/) const { return false; }
virtual void DrawCellContents(const STableCell &inCell, const Rect &inLocalRect);
AB_AttribID GetAttribForColumn( TableIndexT col );
virtual ResIDT GetIconID(TableIndexT inRow) const;
void DrawCellText( const STableCell& inCell, const Rect& inLocalRect, AB_AttribID inAttrib );
virtual void OpenRow(TableIndexT inRow);
void SetCellExpansion( const STableCell& inCell, Boolean inExpanded);
virtual Boolean RowCanAcceptDrop(
DragReference inDragRef,
TableIndexT inDropRow);
virtual Boolean RowCanAcceptDropBetweenAbove(
DragReference inDragRef,
TableIndexT inDropRow);
virtual void ReceiveDragItem(
DragReference inDragRef,
DragAttributes inDragAttrs,
ItemReference inItemRef,
Rect& inItemBounds);
protected:
AB_ContainerInfo* mContainer;
AB_CommandType mColumnSortCommand[7];
AB_AttribID mColumnAttribID[7];
// Delayed drag info
SAddressDelayedDragInfo *mDelayedDragInfo;
};
#pragma mark CAddressBookTableView
//------------------------------------------------------------------------------
// ¥ CAddressBookTableView
//------------------------------------------------------------------------------
//
class CAddressBookTableView : public CAddressBookPane
{
private:
typedef CAddressBookPane Inherited;
public:
enum { class_ID = 'AbTb' };
enum { eTableEditField = 'TbEd' };
CAddressBookTableView(LStream *inStream) :
CAddressBookPane(inStream),mIsLDAPSearching ( false ) {
};
virtual ~CAddressBookTableView();
Boolean LoadAddressBook( AB_ContainerInfo* inContainer, MWContext* inContext );
void SetColumnHeaders();
virtual void ChangeSort(const LTableHeader::SortChange *inSortChange);
void UpdateToTypedownText(CStr255 inTypedownText);
void ConferenceCall( );
void SetLDAPSearching( Boolean inIsSearching ) { mIsLDAPSearching = inIsSearching; }
char* GetFullAddress( TableIndexT inRow );
Boolean IsLDAPSearching() const { return mIsLDAPSearching; }
protected:
virtual void ChangeFinished(MSG_Pane *inPane, MSG_NOTIFY_CODE inChangeCode,
TableIndexT inStartRow, SInt32 inRowCount);
virtual void AddRowDataToDrag(TableIndexT inRow, DragReference inDragRef);
virtual void EnableStopButton(Boolean inBusy);
private:
Boolean mIsLDAPSearching;
};
#pragma mark CMailingListTableView
//------------------------------------------------------------------------------
// ¥ CMailingListTableView
//------------------------------------------------------------------------------
//
class CMailingListTableView : public CAddressBookPane
{
private:
typedef CAddressBookPane Inherited;
public:
enum { class_ID = 'AlTb' };
enum { // Broadcast messages
msg_EntriesAddedToList = 'EnAd' // this
, msg_EntriesRemovedFromList ='EnRe'
};
CMailingListTableView(LStream *inStream) :
CAddressBookPane(inStream) {
};
virtual ~CMailingListTableView();
void LoadMailingList( MSG_Pane* inPane );
virtual AB_ContainerInfo* GetContainer( TableIndexT inRow );
protected:
virtual void GetCellDisplayData(const STableCell &inCell, ResIDT& ioIcon, CStr255 &ioDisplayString );
virtual void DestroyMessagePane(MSG_Pane* inPane);
};
#pragma mark CAddressBookContainerView
//------------------------------------------------------------------------------
// ¥ CAddressBookContainerView
//------------------------------------------------------------------------------
//
class CAddressBookContainerView : public CAddressBookPane
{
private:
typedef CAddressBookPane Inherited;
public:
enum { class_ID = 'AcTb' };
// Place holders while I wait for the final art work
enum {
ics8_LDAP = CAddressBookPane::ics8_Person ,
ics8_List = CAddressBookPane::ics8_List ,
ics8_PAB = CAddressBookPane::ics8_Person
};
CAddressBookContainerView(LStream *inStream);
virtual ~CAddressBookContainerView();
void Setup( MWContext* inContext);
virtual AB_ContainerInfo* GetContainer( TableIndexT inRow );
void SetIndexToSelectOnLoad( Int32 index){ mDirectoryRowToLoad = index; }
protected:
virtual Boolean CellHasDropFlag( const STableCell& inCell, Boolean& outIsExpanded) const;
virtual UInt16 GetNestedLevel(TableIndexT inRow) const;
virtual ResIDT GetIconID(TableIndexT inRow) const;
void DrawCellText( const STableCell& inCell, const Rect& inLocalRect );
virtual void DrawCellContents( const STableCell& inCell, const Rect& inLocalRect );
virtual void DrawIconsSelf( const STableCell& inCell, IconTransformType inTransformType, const Rect& inIconRect) const;
private:
MWContext* mContext;
Int32 mDirectoryRowToLoad;
};
#pragma mark CAddressBookController
//------------------------------------------------------------------------------
// ¥ CAddressBookController
//------------------------------------------------------------------------------
//
class CAddressBookController:public LView,
public LListener, public LPeriodical, public LCommander
{
private:
typedef LView Inherited;
public:
enum { class_ID = 'AbCn' };
enum {
paneID_DirServers = 'DRSR' // CDirServersPopupMenu *, this
, paneID_Search = 'SRCH' // MSG_Pane *, search button
, paneID_Stop = 'STOP' // nil, stop button
, paneID_AddressBookTable = 'Tabl' // Address book table
, paneID_TypedownName = 'TYPE' // Typedown name search edit field in window
, paneID_SearchEnclosure = 'SCHE' // Enclosure for search items
, paneID_DividedView = 'A2Vw' // the divided view
, paneID_ContainerView = 'AcTb',
paneID_DirectoryName = 'DiCp' // Directory caption
};
CAddressBookController(LStream* inStream );
~CAddressBookController();
virtual void ReadStatus(LStream *inStatusData);
virtual void WriteStatus(LStream *outStatusData);
CAddressBookTableView* GetAddressBookTable() const { return mAddressBookTable; }
CAddressBookContainerView* GetAddressBookContainerView() const { return mABContainerView; }
virtual Boolean HandleKeyPress(const EventRecord &inKeyEvent);
virtual Boolean ObeyCommand(CommandT inCommand, void *ioParam);
virtual void FindCommandStatus(CommandT inCommand, Boolean &outEnabled,
Boolean &outUsesMark, Char16 &outMark,
Str255 outName);
protected:
virtual void FinishCreateSelf();
virtual void ListenToMessage(MessageT inMessage, void *ioParam);
virtual void SpendTime(const EventRecord &inMacEvent);
virtual void ActivateSelf() {
StartRepeating();
Inherited::ActivateSelf();
}
virtual void DeactivateSelf() {
StopRepeating();
Inherited::DeactivateSelf();
}
public:
void SelectDirectoryServer( AB_ContainerInfo* inContainer );
void SetContext( MWContext* inContext) { mContext = inContext; }
protected:
void Search();
void StopSearch( );
protected:
MWContext* mContext;
UInt32 mNextTypedownCheckTime;
CSearchEditField* mTypedownName;
LDividedView* mDividedView;
CAddressBookTableView* mAddressBookTable;
CMailNewsContext* mAddressBookContext;
CAddressBookContainerView* mABContainerView;
LGAPushButton* mSearchButton;
LGAPushButton* mStopButton;
};

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,299 @@
/* -*- 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) 1997 Netscape Communications Corporation. All Rights
* Reserved.
*/
// CAddressBookWindows.h
#pragma once
#include "abcom.H"
#ifdef MOZ_NEWADDR
class CComposeAddressTableView;
/*====================================================================================*/
#pragma mark INCLUDE FILES
/*====================================================================================*/
#include "CMailNewsWindow.h"
#include "CMailNewsContext.h"
#include "LGADialogBox.h"
#include "MailNewsCallbacks.h"
class CSearchEditField;
class LBroadcasterEditField;
class CNamePropertiesWindow;
class CListPropertiesWindow;
class CMailingListTableView;
class CAddressBookController;
#pragma mark -
/*====================================================================================*/
#pragma mark TYPEDEFS
/*====================================================================================*/
typedef struct DIR_Server DIR_Server;
typedef struct _XP_List XP_List;
typedef UInt32 ABID;
#pragma mark -
/*====================================================================================*/
#pragma mark CONSTANTS
/*====================================================================================*/
// Save window status version
static const UInt16 cAddressSaveWindowStatusVersion = 0x0219;
static const UInt16 cNamePropertiesSaveWindowStatusVersion = 0x0202;
static const UInt16 cListPropertiesSaveWindowStatusVersion = 0x0202;
#pragma mark -
extern "C"
{
int MacFe_ShowModelessPropertySheetForAB2( MSG_Pane * pane, MWContext* inContext);
int MacFE_ShowPropertySheetForDir(
DIR_Server* server, MWContext* context, MSG_Pane * srcPane, XP_Bool newDirectory );
}
class CAddressBookWindow;
class CAddressBookManager
{
public:
// Should be called when the application starts up
static void OpenAddressBookManager(void);
// Should be called when the application closes
static void CloseAddressBookManager(void);
static void ImportLDIF(const FSSpec& inSpec);
static CAddressBookWindow* ShowAddressBookWindow(void);
static XP_List *GetDirServerList(void);
static void SetDirServerList(XP_List *inList, Boolean inSavePrefs = true);
static DIR_Server *GetPersonalBook(void);
static void FailAddressError(Int32 inError);
private:
static void RegisterAddressBookClasses(void);
static int DirServerListChanged(const char*, void*)
{
CAddressBookManager::sDirServerListChanged = true;
return 0;
}
// Instance variables
static XP_List *sDirServerList;
static Boolean sDirServerListChanged;
};
class CAddressBookWindow : public CMailNewsWindow
{
private:
typedef CMailNewsWindow Inherited;
public:
enum { class_ID = 'AbWn', pane_ID = class_ID, res_ID = 8900 };
// IDs for panes in associated view, also messages that are broadcast to this object
enum {
paneID_DirServers = 'DRSR' // CDirServersPopupMenu *, this
, paneID_Search = 'SRCH' // MSG_Pane *, search button
, paneID_Stop = 'STOP' // nil, stop button
, paneID_AddressBookTable = 'Tabl' // Address book table
, paneID_TypedownName = 'TYPE' // Typedown name search edit field in window
, paneID_SearchEnclosure = 'SCHE' // Enclosure for search items
, paneID_AddressBookController = 'AbCn'
};
// Stream creator method
CAddressBookWindow(LStream *inStream) :
CMailNewsWindow(inStream, WindowType_Address),
mAddressBookController(nil)
{
SetPaneID(pane_ID);
SetRefreshAllWhenResized(false);
}
virtual ~CAddressBookWindow();
virtual ResIDT GetStatusResID() const { return res_ID; }
static MWContext *GetMailContext();
virtual CNSContext* CreateContext() const;
virtual CMailFlexTable* GetActiveTable();
CAddressBookController* GetAddressBookController() const { return mAddressBookController; }
protected:
// Overriden methods
virtual void FinishCreateSelf();
// Utility methods
virtual void ReadWindowStatus(LStream *inStatusData);
virtual void WriteWindowStatus(LStream *outStatusData);
virtual UInt16 GetValidStatusVersion() const { return cAddressSaveWindowStatusVersion; }
protected:
CAddressBookController *mAddressBookController;
};
class CAddressBookChildWindow : public LGADialogBox
{
private:
typedef LGADialogBox Inherited;
public:
CAddressBookChildWindow(LStream *inStream) :
Inherited (inStream), mMSGPane( NULL )
{
SetRefreshAllWhenResized(false);
}
virtual void UpdateBackendToUI() = 0L;
virtual void UpdateUIToBackend( MSG_Pane* inPane ) = 0L;
protected:
// Overriden methods
virtual void ListenToMessage(MessageT inMessage, void *ioParam = nil);
virtual void UpdateTitle()=0;
// Instance variables
MSG_Pane* mMSGPane;
};
class CListPropertiesWindow : public CAddressBookChildWindow {
private:
typedef CAddressBookChildWindow Inherited;
public:
enum { class_ID = 'LpWn', pane_ID = class_ID, res_ID = 8940 };
// IDs for panes in associated view, also messages that are broadcast to this object
enum {
paneID_Name = 'NAME'
, paneID_Nickname = 'NICK'
, paneID_Description = 'DESC'
, paneID_AddressBookListTable = 'Tabl' // Address book list table
};
CListPropertiesWindow(LStream *inStream);
virtual ~CListPropertiesWindow();
virtual void UpdateBackendToUI();
virtual void UpdateUIToBackend( MSG_Pane* inPane );
protected:
virtual void FinishCreateSelf();
virtual void DrawSelf();
virtual void UpdateTitle();
// Instance variables
CMailingListTableView *mAddressBookListTable;
CSearchEditField *mTitleField;
};
class CMailWindowCallbackListener: public CMailCallbackListener
{
void CMailWindowCallBackListener( LWindow* inWindow )
{
mWindow = inWindow;
}
private:
virtual void PaneChanged(
MSG_Pane* inPane,
MSG_PANE_CHANGED_NOTIFY_CODE inNotifyCode,
int32 value);
LWindow *mWindow;
};
//------------------------------------------------------------------------------
// ¥ CNamePropertiesWindow
//------------------------------------------------------------------------------
//
class CNamePropertiesWindow : public CAddressBookChildWindow
{
private:
typedef CAddressBookChildWindow Inherited;
public:
enum { class_ID = 'NpWn', pane_ID = class_ID, res_ID = 8930 };
// IDs for panes in associated view, also messages that are broadcast to this object
enum {
paneID_GeneralView = 'GNVW' // General preferences view
, paneID_FirstName = 'FNAM'
, paneID_LastName = 'LNAM'
, paneID_DisplayName = 'DNAM'
, paneID_EMail = 'EMAL'
, paneID_Nickname = 'NICK'
, paneID_Notes = 'NOTE'
, paneID_PrefersHTML = 'HTML'
, paneID_ContactView = 'CNVW' // Contact preferences view
, paneID_Company = 'COMP'
, paneID_Title = 'TITL'
, paneID_Department = 'DPRT'
, paneID_Address = 'ADDR'
, paneID_City = 'CITY'
, paneID_State = 'STAT'
, paneID_ZIP = 'ZIP '
, paneID_Country = 'Coun'
, paneID_WorkPhone = 'WPHO'
, paneID_FaxPhone = 'FPHO'
, paneID_PagerPhone = 'PPHO'
, paneID_HomePhone = 'HPHO'
, paneID_CelluarPhone = 'CPHO'
, paneID_SecurityView = 'SCVW' // Security preferences view
, paneID_CooltalkView = 'CLVW' // Cooltalk preferences view
, paneID_ConferenceAddress = 'CAED'
, paneID_ConferenceServer = 'CnPu'
, paneID_None = 'NONE'
};
enum { // Broadcast messages
paneID_ConferencePopup ='CoPU' // conference pop up button
};
CNamePropertiesWindow(LStream *inStream);
virtual void UpdateBackendToUI();
void UpdateUIToBackend( MSG_Pane *inPane );
void SetConferenceText( );
protected:
virtual void FinishCreateSelf();
virtual void ListenToMessage(MessageT inMessage, void *ioParam = nil);
virtual void UpdateTitle();
private:
int32 GetPaneAndAttribID( TableIndexT index, PaneIDT& outPaneID, AB_AttribID &outAttrib );
PaneIDT FindPaneForAttribute ( AB_AttribID inAttrib );
protected:
CMailWindowCallbackListener mCallBackListener;
LBroadcasterEditField *mFirstNameField;
LBroadcasterEditField *mLastNameField;
};
#endif // NEWADDR

View File

@@ -0,0 +1,274 @@
/* -*- 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) 1997 Netscape Communications Corporation. All Rights
* Reserved.
*/
// CAddressPickerWindow.cp
#include "CAddressPickerWindow.h"
// #include "CAddressBookWindows.h"
#ifdef MOZ_NEWADDR
#include "SearchHelpers.h"
#include "CAddressBookViews.h"
#include "xp_Help.h"
#include "UStdDialogs.h"
#include "libi18n.h"
#include "CProgressListener.h"
#include "StBlockingDialogHandler.h"
#include "CKeyStealingAttachment.h"
// Code in the tables depends on recieving key up events hence this class
class StKeyUpDialogHandler : public StBlockingDialogHandler
{
public:
StKeyUpDialogHandler(
ResIDT inDialogResID,
LCommander* inSuper): StBlockingDialogHandler( inDialogResID, inSuper) {};
void EventKeyUp(const EventRecord &inMacEvent)
{
/* if it's a CKeyUpReceiver, send the key up. We used to send keyups to
* targets if a browser view was on duty, which had two disadvantages: it required
* any potential targets in a browser view to handle a key up, and sometimes
* the commander chain would be incorrect so key ups were sent to a target in a
* view that was not on duty.
*/
if (dynamic_cast<CKeyUpReceiver *>(sTarget))
sTarget->ProcessKeyPress(inMacEvent);
}
};
//------------------------------------------------------------------------------
// ¥ DoPickerDialog
//------------------------------------------------------------------------------
// Bring up and runs the picker dialog
//
void CAddressPickerWindow::DoPickerDialog( CComposeAddressTableView* initialTable )
{
StKeyUpDialogHandler handler ( 8990, nil );
CAddressPickerWindow* dialog = dynamic_cast< CAddressPickerWindow* >( handler.GetDialog() );
dialog->Setup( initialTable );
dialog->Show();
MessageT message;
do
{
message = handler.DoDialog();
} while ( message != eOkayButton && message != eCancelButton ) ;
}
//------------------------------------------------------------------------------
// ¥ CAddressPickerWindow
//------------------------------------------------------------------------------
//
CAddressPickerWindow::CAddressPickerWindow(LStream *inStream)
: Inherited( inStream ), CSaveWindowStatus( this ), mInitialTable( nil ), mPickerAddresses(nil),
mAddressBookController(nil), mProgressListener( nil ), mMailNewsContext ( nil ), mLastAction ( eToButton )
{
}
//------------------------------------------------------------------------------
// ¥ ~CAddressPickerWindow
//------------------------------------------------------------------------------
//
CAddressPickerWindow::~CAddressPickerWindow()
{
if (mMailNewsContext)
mMailNewsContext->RemoveUser(this);
delete mProgressListener;
}
//------------------------------------------------------------------------------
// ¥ Setup
//------------------------------------------------------------------------------
// Copies takes in a CComposeAddressTableView and copies its data to the picker bucket
// The passed in table will be updated if necessary when the window is closed
//
void CAddressPickerWindow::Setup( CComposeAddressTableView* initialTable )
{
// Copy the old table to the new one
Assert_( initialTable );
Assert_( mPickerAddresses );
TableIndexT numRows;
mInitialTable = initialTable;
initialTable->GetNumRows(numRows);
STableCell cell;
Uint32 size;
char* address = NULL;
for ( int32 i = 1; i <= numRows; i++ )
{
EAddressType type = initialTable->GetRowAddressType( i );
cell.row = i;
cell.col = 2;
size = sizeof(address);
initialTable->GetCellData(cell, &address, size);
mPickerAddresses->InsertNewRow( type, address, false );
}
}
//------------------------------------------------------------------------------
// ¥ FinishCreateSelf
//------------------------------------------------------------------------------
//
void CAddressPickerWindow::FinishCreateSelf()
{
Inherited::FinishCreateSelf();
mAddressBookController =
dynamic_cast< CAddressBookController* >(FindPaneByID( CAddressBookWindow::paneID_AddressBookController) ) ;
CSaveWindowStatus::FinishCreateWindow();
// Context creation
mMailNewsContext = new CMailNewsContext( MWContextAddressBook);
if (!mProgressListener)
mProgressListener = new CProgressListener(this, mMailNewsContext);
ThrowIfNULL_(mProgressListener);
// The progress listener should be "just a bit" lazy during network activity
mProgressListener->SetLaziness(CProgressListener::lazy_NotAtAll);
mMailNewsContext->AddListener(mProgressListener);
mMailNewsContext->AddUser(this);
mMailNewsContext->SetWinCSID(INTL_DocToWinCharSetID(mMailNewsContext->GetDefaultCSID()));
// Have the AddressBook Controller listen to the context
mMailNewsContext->AddListener(mAddressBookController);
mAddressBookController->SetContext( *mMailNewsContext );
mAddressBookController->GetAddressBookContainerView()->Setup( *mMailNewsContext );
mAddressBookController->GetAddressBookTable()->SetNotifyOnSelectionChange( true );
mAddressBookController->GetAddressBookTable()->StartBroadcasting();
mPickerAddresses = dynamic_cast< CComposeAddressTableView* >( FindPaneByID( 'Addr' ) );
FailNILRes_( mPickerAddresses );
(mAddressBookController->GetAddressBookTable() )->AddListener( this );
UReanimator::LinkListenerToControls(this, this,CAddressPickerWindow:: res_ID);
// Setup KeySnatcher for our fancy default button behavior
CKeyStealingAttachment* keyStealer = new CKeyStealingAttachment(this);
mAddressBookController->GetAddressBookTable()->AddAttachment(keyStealer);
mAddressBookController->GetAddressBookContainerView()->AddAttachment(keyStealer );
keyStealer->StealKey( char_Enter );
keyStealer->StealKey( char_Return );
// Adjust button state
ListenToMessage ( CStandardFlexTable::msg_SelectionChanged, nil );
}
//------------------------------------------------------------------------------
// ¥ ListenToMessage
//------------------------------------------------------------------------------
//
void CAddressPickerWindow::ListenToMessage(MessageT inMessage, void * /* ioParam */ )
{
switch( inMessage )
{
case eOkayButton:
SaveStatusInfo();
CComposeAddressTableStorage* oldTableStorage =dynamic_cast< CComposeAddressTableStorage*> (mInitialTable->GetTableStorage() );
mPickerAddresses->EndEditCell();
mInitialTable->SetTableStorage( mPickerAddresses->GetTableStorage() );
mInitialTable->Refresh();
mPickerAddresses->SetTableStorage( oldTableStorage );
break;
case eHelp:
ShowHelp( HELP_SELECT_ADDRESSES );
break;
case eToButton:
mLastAction = eToButton;
AddSelection ( eToType );
break;
case eCcButton:
mLastAction = eCcButton;
AddSelection ( eCcType );
break;
case eBccButton:
mLastAction = eBccButton;
AddSelection( eBccType );
break;
case ePropertiesButton:
break;
case CStandardFlexTable::msg_SelectionChanged:
Boolean enable = mAddressBookController->GetAddressBookTable()->GetSelectedRowCount() >0;
SetDefaultButton( mLastAction );
USearchHelper::EnableDisablePane( USearchHelper::FindViewControl( this ,eToButton ), enable, true );
USearchHelper::EnableDisablePane( USearchHelper::FindViewControl( this ,eCcButton ), enable, true );
USearchHelper::EnableDisablePane( USearchHelper::FindViewControl( this ,eBccButton ), enable, true );
USearchHelper::EnableDisablePane( USearchHelper::FindViewControl( this ,ePropertiesButton ), enable, true );
break;
default:
break;
}
}
//------------------------------------------------------------------------------
// ¥ AddSelection
//------------------------------------------------------------------------------
// Adds the table selection to the address bucket.
//
//
void CAddressPickerWindow::AddSelection( EAddressType inAddressType )
{
char* address = NULL;
Uint32 size= sizeof(address);
TableIndexT row = 0;
while ( mAddressBookController->GetAddressBookTable()->GetNextSelectedRow( row ) )
{
address = mAddressBookController->GetAddressBookTable()->GetFullAddress( row );
mPickerAddresses->InsertNewRow( inAddressType, address, false );
XP_FREE( address );
}
SetDefaultButton( eOkayButton );
}
//------------------------------------------------------------------------------
// ¥ ReadWindowStatus
//------------------------------------------------------------------------------
// Adjust the window to stored preferences.
//
void CAddressPickerWindow::ReadWindowStatus(LStream *inStatusData)
{
if ( inStatusData != nil )
{
mAddressBookController->ReadStatus( inStatusData );
}
}
//------------------------------------------------------------------------------
// ¥ WriteWindowStatus
//------------------------------------------------------------------------------
// Write window stored preferences.
//
void CAddressPickerWindow::WriteWindowStatus(LStream *outStatusData)
{
mAddressBookController->WriteStatus(outStatusData);
}
#endif //NEWADDR

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) 1997 Netscape Communications Corporation. All Rights
* Reserved.
*/
// CAddressPickerWindow.h
#pragma once
#include "abcom.h"
#ifdef MOZ_NEWADDR
#include "LGADialogBox.h"
#include "CSaveWindowStatus.h"
#include "CComposeAddressTableView.h"
class CAddressBookTableView;
class CAddressBookController;
class CMailNewsContext;
static const UInt16 cAddressPickerWindowStatusVersion = 0x006;
//------------------------------------------------------------------------------
// ¥ CAddressPickerWindow
//------------------------------------------------------------------------------
//
class CAddressPickerWindow : public LGADialogBox, public CSaveWindowStatus
{
public:
static void DoPickerDialog( CComposeAddressTableView* initialTable );
private:
typedef LGADialogBox Inherited;
public:
enum { class_ID = 'ApWn', pane_ID = class_ID, res_ID = 8990 };
// Control IDs
enum EButton {
eOkayButton = 'OkBt',
eCancelButton ='CnBt',
eHelp ='help',
eToButton = 'ToBt',
eCcButton = 'CcBt',
eBccButton = 'BcBt',
ePropertiesButton = 'PrBt'
} ;
CAddressPickerWindow(LStream *inStream);
~CAddressPickerWindow();
void Setup( CComposeAddressTableView* initialTable );
virtual ResIDT GetStatusResID() const { return res_ID; }
protected:
virtual void FinishCreateSelf();
virtual void ListenToMessage(MessageT inMessage, void *ioParam);
void AddSelection( EAddressType inAddressType );
virtual void ReadWindowStatus(LStream *inStatusData);
virtual void WriteWindowStatus(LStream *outStatusData);
virtual UInt16 GetValidStatusVersion() const { return cAddressPickerWindowStatusVersion; }
private:
CComposeAddressTableView* mInitialTable;
CComposeAddressTableView* mPickerAddresses;
CAddressBookController* mAddressBookController;
CMailNewsContext* mMailNewsContext;
CProgressListener* mProgressListener;
EButton mLastAction;
};
#endif

View File

@@ -0,0 +1,387 @@
/* -*- 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) 1997 Netscape Communications Corporation. All Rights
* Reserved.
*/
// CLDAPQueryDialog.cp
#include "CLDAPQueryDialog.h"
#include "pascalstring.h"
#include "LGAEditField.h"
#include "prefapi.h"
#include "SearchHelpers.h"
#include "resgui.h"
#include "xp_help.h"
//------------------------------------------------------------------------------
// ¥ CLDAPBasicHandler
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
// ¥ Setup
//------------------------------------------------------------------------------
//
void CLDAPBasicHandler::Setup( MSG_Pane *inSearchPane, DIR_Server *inServer, LView *inView )
{
Assert_( inSearchPane != NULL );
Assert_( inServer != NULL );
Assert_(inView != NULL );
mView = inView;
int maxItems = 4;
// Get Basic Search attributes
MSG_SearchError error = MSG_GetBasicLdapSearchAttributes (
inServer, &mSearchAttributes[0], &maxItems);
// Update the captions to reflect their new attributes
for( int32 captionNumber = 0; captionNumber < maxItems; captionNumber++ )
{
LCaption* caption = dynamic_cast< LCaption*>( mView->FindPaneByID (eBasicSearchCaption+ captionNumber ) );
Assert_( caption );
caption->SetDescriptor ( CStr255(mSearchAttributes[ captionNumber ].name ));
}
}
//------------------------------------------------------------------------------
// ¥ GetSearchParameters
//------------------------------------------------------------------------------
// Get the current search parameters. outSearchParams must be able to hold at least
// 4 elements. Strings are output as c-strings.
//
Int32 CLDAPBasicHandler::GetSearchParameters(SearchLevelParamT* levelParam )
{
CStr255 valueString;
MSG_SearchOperator op = (MSG_SearchOperator) opContains;;
int maxItems = 4;
Int32 currentLevel = 0;
for( int32 i = 0; i < maxItems; i++ )
{
LGAEditField* editField = dynamic_cast< LGAEditField*>( mView->FindPaneByID (eBasicSearchTerm+ i ) );
Assert_( editField );
editField->GetDescriptor ( valueString );
if ( valueString.Length() )
{
levelParam[ currentLevel ].val.attribute = MSG_SearchAttribute( mSearchAttributes[ i ].attrib );
XP_STRCPY( levelParam[ currentLevel ].val.u.string, valueString );
levelParam[ currentLevel ].op = op;
levelParam[ currentLevel ].boolOp = true;
currentLevel++;
}
}
return currentLevel;
}
//------------------------------------------------------------------------------
// ¥ SetSearchParameters
//------------------------------------------------------------------------------
// This works by taking the first occurence of an Param whose attribute
// which matches a basic search criteria attribute.
//
void CLDAPBasicHandler::SetSearchParameters ( SearchLevelParamT* levelParam , int32 numLevels )
{
int maxItems = 4;
Int32 currentLevel = 0;
MSG_SearchAttribute attribute;
for( int32 basic = 0; basic < maxItems; basic++ )
{
attribute = MSG_SearchAttribute( mSearchAttributes[ basic ].attrib );
for ( int32 currentLevel = 0; currentLevel<numLevels; currentLevel++ )
{
if ( levelParam[ currentLevel ].val.attribute == attribute )
{
LGAEditField* editField = dynamic_cast< LGAEditField*>( mView->FindPaneByID (eBasicSearchTerm+ basic ) );
Assert_( editField );
editField->SetDescriptor( CStr255( levelParam[ currentLevel ].val.u.string) );
break;
}
}
}
}
//------------------------------------------------------------------------------
// ¥ Setup
//------------------------------------------------------------------------------
// Advanced Search Routines
// Most of the work is done by delagation to the Search Manager
//
void CLDAPAdvancedHandler::Setup( MSG_Pane *inSearchPane, DIR_Server *inServer, LView *inView )
{
Assert_( inSearchPane != NULL );
Assert_( inServer != NULL );
Assert_(inView != NULL );
mSearchFolders.InsertItemsAt(1, LArray::index_First, &inServer);
mSearchManager.InitSearchManager( inView, NULL, scopeLdapDirectory, & mSearchFolders );
}
//------------------------------------------------------------------------------
// ¥ GetSearchParameters
//------------------------------------------------------------------------------
//
Int32 CLDAPAdvancedHandler::GetSearchParameters ( SearchLevelParamT* levelParam )
{
mSearchManager.GetSearchParameters( levelParam );
return mSearchManager.GetNumVisibleLevels();
}
//------------------------------------------------------------------------------
// ¥ SetSearchParameters
//------------------------------------------------------------------------------
//
void CLDAPAdvancedHandler::SetSearchParameters ( SearchLevelParamT* levelParam , int32 numLevels )
{
mSearchManager.SetSearchParameters ( numLevels, levelParam );
}
//------------------------------------------------------------------------------
// ¥ ~CLDAPQueryDialog
//------------------------------------------------------------------------------
//
CLDAPQueryDialog::~CLDAPQueryDialog()
{
if( mMSGPane ) // If the search manager isn't initialized don't save the window data
{
PREF_SetBoolPref("mail.addr_book.useAdvancedSearch", mAdvancedSearch);
CSaveWindowStatus::SaveStatusInfo();
}
}
//------------------------------------------------------------------------------
// ¥ BuildQuery
//------------------------------------------------------------------------------
//
Boolean CLDAPQueryDialog::BuildQuery()
{
// Initial Search setup
Assert_( mMSGPane );
MSG_SearchFree ( mMSGPane );
MSG_SearchAlloc ( mMSGPane );
if( MSG_AddLdapScope( mMSGPane, mDirServer ) != SearchError_Success )
return false;
if( AddParametersToSearch( ) != SearchError_Success)
return false;
return true;
};
//------------------------------------------------------------------------------
// ¥ AddParametersToSearch
//------------------------------------------------------------------------------
//
MSG_SearchError CLDAPQueryDialog::AddParametersToSearch( )
{
Assert_(mMSGPane != nil);
MSG_SearchError error = SearchError_Success;
// Get the search parameters
StSearchDataBlock searchParams( mMaxLevels, StSearchDataBlock::eAllocateStrings);
SearchLevelParamT *curLevel = searchParams.GetData();
int32 numLevels = mHandler[ mAdvancedSearch ]->GetSearchParameters( curLevel );
// Add parameters to the search
for ( Int32 i=0; i< numLevels; i++ )
{
#ifdef FE_IMPLEMENTS_BOOLEAN_OR
error = MSG_AddSearchTerm(mMSGPane, curLevel[i].val.attribute, curLevel[i].op,
&curLevel[i].val, curLevel[i].boolOp, NULL ) ;
#else
error = MSG_AddSearchTerm(mMSGPane, curLevel[i].val.attribute, curLevel[i].op,
&curLevel[i].val) ;
#endif
if ( error != SearchError_Success )
break;
}
return error;
}
//------------------------------------------------------------------------------
// ¥ Setup
//------------------------------------------------------------------------------
//
void CLDAPQueryDialog::Setup( MSG_Pane* inPane, DIR_Server* inServer )
{
mMSGPane = inPane;
mDirServer = inServer;
// Set the name of the group box
LView* box = dynamic_cast<LView* >( FindPaneByID('ScBx') );
Assert_( box);
CStr255 name;
box->GetDescriptor( name );
name+= mDirServer->description;
box->SetDescriptor( name );
// Setup the Handlers
mBasicView = dynamic_cast<LView*>( box->FindPaneByID( eBasicEnclosure ) );
Assert_( mBasicView );
mHandler[ eBasic ]->Setup( inPane, inServer, mBasicView );
USearchHelper::LinkListenerToBroadcasters( mBasicView, this );
mAdvancedView = dynamic_cast<LView*>( box->FindPaneByID( eAdvancedEnclosure ) );
Assert_( mAdvancedView );
mHandler[ eAdvanced ]->Setup( inPane, inServer, mAdvancedView );
CLDAPAdvancedHandler* advancedLDAP = dynamic_cast<CLDAPAdvancedHandler*>(mHandler[ eAdvanced ]);
Assert_( advancedLDAP );
mSearchManager = advancedLDAP->GetSearchManager();
mSearchManager->AddListener( this );
XP_Bool isAdvanced = false;
if (PREF_GetBoolPref("mail.addr_book.useAdvancedSearch", &isAdvanced)== PREF_NOERROR )
mAdvancedSearch = isAdvanced;
CSaveWindowStatus::FinishCreateWindow();
mIsModified = false;
ShowHandler();
Show();
}
//------------------------------------------------------------------------------
// ¥ ListenToMessage
//------------------------------------------------------------------------------
//
void CLDAPQueryDialog::ListenToMessage(MessageT inMessage, void *ioParam)
{
switch( inMessage )
{
case paneID_Search:
BuildQuery();
break;
case CSearchManager::msg_SearchParametersResized:
ResizeWindowBy( 0, *((Int16 *) ioParam) );
break;
case CSearchEditField::msg_UserChangedText:
mIsModified = true;
break;
case msg_Help:
if ( mAdvancedSearch )
ShowHelp( HELP_SEARCH_LDAP_ADVANCED );
else
ShowHelp( HELP_SEARCH_LDAP_BASIC );
break;
case paneID_Advanced:
case paneID_Basic:
if ( !PREF_PrefIsLocked( "mail.addr_book.useAdvancedSearch") )
mAdvancedSearch = !mAdvancedSearch;
ShowHandler();
break;
};
}
//------------------------------------------------------------------------------
// ¥ FinishCreateSelf
//------------------------------------------------------------------------------
//
void CLDAPQueryDialog::FinishCreateSelf()
{
mHandler[ eBasic ] = new CLDAPBasicHandler;
mHandler[ eAdvanced ] = new CLDAPAdvancedHandler;
UReanimator::LinkListenerToControls( this, this, CLDAPQueryDialog::res_ID );
Inherited::FinishCreateSelf();
}
//------------------------------------------------------------------------------
// ¥ ShowHandler
//------------------------------------------------------------------------------
//
void CLDAPQueryDialog::ShowHandler()
{
Assert_ ( mSearchManager );
Int32 windowHeight = 130;
if ( mAdvancedSearch )
{
Int16 deltaLevels = 5 - mSearchManager->GetNumVisibleLevels();
windowHeight = 220 - deltaLevels * 23 ;
}
ResizeWindowTo ( 500, windowHeight );
// modify contents, always do when going from advanced to basic
// Only do when going from basic to advanced if there has been a modification
if ( mIsModified || !mAdvancedSearch)
{
StSearchDataBlock searchParams( mMaxLevels, StSearchDataBlock::eAllocateStrings);
SearchLevelParamT *curLevel = searchParams.GetData();
int32 numLevels = mHandler[ !mAdvancedSearch ]->GetSearchParameters( curLevel );
mHandler[ mAdvancedSearch ]->SetSearchParameters( curLevel, numLevels );
mIsModified = false;
}
// Swap the Buttons
USearchHelper::ShowHidePane( FindPaneByID(paneID_Advanced), !mAdvancedSearch);
USearchHelper::ShowHidePane( FindPaneByID( paneID_Basic ), mAdvancedSearch);
// Swap the panes
USearchHelper::ShowHidePane( mBasicView, !mAdvancedSearch);
USearchHelper::ShowHidePane( mAdvancedView, mAdvancedSearch);
}
//------------------------------------------------------------------------------
// ¥ ReadWindowStatus
//------------------------------------------------------------------------------
//
void CLDAPQueryDialog::ReadWindowStatus(LStream *inStatusData)
{
CSaveWindowStatus::ReadWindowStatus(inStatusData);
mSearchManager->ReadSavedSearchStatus(inStatusData);
}
//------------------------------------------------------------------------------
// ¥ WriteWindowStatus
//------------------------------------------------------------------------------
//
void CLDAPQueryDialog::WriteWindowStatus(LStream *outStatusData)
{
CSaveWindowStatus::WriteWindowStatus(outStatusData);
if( mAdvancedSearch == 0 )
{
mAdvancedSearch = true;
ShowHandler();
}
mSearchManager->WriteSavedSearchStatus(outStatusData);
}

View File

@@ -0,0 +1,128 @@
/* -*- 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) 1997 Netscape Communications Corporation. All Rights
* Reserved.
*/
// CLDAPQueryDialog.h
#pragma once
#include "LGADialogBox.h"
#include "CSearchManager.h"
#include "CSaveWindowStatus.h"
//------------------------------------------------------------------------------
// ¥ CLDAPHandlerInterface
//------------------------------------------------------------------------------
// I am defining a simple interface for getting Search Parameters
// an alternative would have been to subclass CSearchManager
// but that class does a lot more than just building queries
//
class CLDAPHandlerInterface
{
public:
virtual void Setup( MSG_Pane *inSearchPane, DIR_Server *inServer, LView *inView ) = 0;
virtual Int32 GetSearchParameters ( SearchLevelParamT* levelParam ) = 0;
virtual void SetSearchParameters ( SearchLevelParamT* levelParam , int32 numLevels ) = 0;
protected:
LView * mView;
};
//------------------------------------------------------------------------------
// ¥ CLDAPBasicHandler
//------------------------------------------------------------------------------
// Handles building queries from basic search pane
//
class CLDAPBasicHandler: public CLDAPHandlerInterface
{
public:
enum { eBasicSearchTerm = 8965, eBasicSearchCaption = 8961 };
virtual void Setup( MSG_Pane *inSearchPane, DIR_Server *inServer, LView *inView );
virtual Int32 GetSearchParameters ( SearchLevelParamT* levelParam );
virtual void SetSearchParameters ( SearchLevelParamT* levelParam , int32 numLevels );
private:
MSG_SearchMenuItem mSearchAttributes[4]; // The names and attributes of the 4 editfields
};
//------------------------------------------------------------------------------
// ¥ CLDAPAdvancedHandler
//------------------------------------------------------------------------------
// Handles building queries from the advanced pane
//
class CLDAPAdvancedHandler: public CLDAPHandlerInterface
{
public:
virtual void Setup( MSG_Pane *inSearchPane, DIR_Server *inServer, LView *inView ) ;
virtual Int32 GetSearchParameters ( SearchLevelParamT* levelParam ) ;
virtual void SetSearchParameters ( SearchLevelParamT* levelParam , int32 numLevels ) ;
CSearchManager* GetSearchManager() { return &mSearchManager; }
private:
CSearchManager mSearchManager;
LArray mSearchFolders;
};
static const UInt16 cLDAPSaveWindowStatusVersion = 0x0214;
//------------------------------------------------------------------------------
// ¥ CLDAPQueryDialog
//------------------------------------------------------------------------------
// The query building dialog box
// if the user hits okay a query will be build for the given message pane
//
class CLDAPQueryDialog: public LGADialogBox, public CSaveWindowStatus
{
private:
typedef LGADialogBox Inherited;
public:
enum { class_ID = 'LdDb', res_ID = 8980 };
enum { eBasic = 0, eAdvanced = 1 };
enum { eBasicEnclosure = 'BaVw', eAdvancedEnclosure = 'PENC'};
enum { paneID_Search = 'SRCH', paneID_Advanced = 'AdBt', paneID_Basic = 'BaBt'};
CLDAPQueryDialog( LStream* inStream ): LGADialogBox( inStream ), CSaveWindowStatus ( this )
,mMaxLevels(5), mAdvancedSearch( 0 ),mSearchManager( NULL ),
mMSGPane(NULL ), mDirServer(NULL ), mIsModified( false) {};
~CLDAPQueryDialog();
void Setup( MSG_Pane* inPane, DIR_Server* inServer );
Boolean BuildQuery();
protected:
virtual void FinishCreateSelf();
virtual void ListenToMessage(MessageT inMessage, void *ioParam);
// Status window
virtual ResIDT GetStatusResID() const { return res_ID; }
virtual UInt16 GetValidStatusVersion() const { return cLDAPSaveWindowStatusVersion; }
virtual void ReadWindowStatus(LStream *inStatusData);
virtual void WriteWindowStatus(LStream *outStatusData);
private:
void ShowHandler();
MSG_SearchError AddParametersToSearch();
CLDAPHandlerInterface* mHandler[2];
LView* mBasicView;
LView* mAdvancedView;
Int32 mAdvancedSearch;
Boolean mIsModified;
MSG_Pane* mMSGPane;
DIR_Server* mDirServer;
CSearchManager* mSearchManager;
Int32 mMaxLevels;
};

View File

@@ -0,0 +1,414 @@
/* -*- 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.
*/
// CNameCompletionPicker.cp
#include "abcom.H"
#ifdef MOZ_NEWADDR
#include "CNameCompletionPicker.h"
#include "UStdDialogs.h"
#include "SearchHelpers.h"
#include "LGAPushButton.h"
LEditField* CNameCompletionPicker::mLastReceivedEditField = nil;
MSG_Pane* CNameCompletionPicker::mLastReceivedPickerPane = nil;
CMailNewsContext* CNameCompletionPicker::mLastReceivedContext = nil;
int CNameCompletionPicker::mLastReceivedNumResults = 0;
//----------------------------------------------------------------------------
// ¥ CNameCompletionTable class [static]
//----------------------------------------------------------------------------
//
CNameCompletionTable::CNameCompletionTable(LStream* inStream )
: CMailFlexTable(inStream)
{
}
CNameCompletionTable::~CNameCompletionTable()
{
SetMessagePane(NULL);
// Do it here so that our DestroyMessagePane() is called.
// If we let the inherited CMailFlexTable do it, it will call
// its own DestroyMessagePane() because ours is already destroyed
// and the PickerPane will be deleted (which is something we
// don't want because it belongs to the CMailAddressEditField).
}
//----------------------------------------------------------------------------
// ¥ CNameCompletionTable::DestroyMessagePane
//----------------------------------------------------------------------------
// Don't delete the MSG_PickerPane: it belongs to the CMailAddressEditField
//
void CNameCompletionTable::DestroyMessagePane(MSG_Pane* /*inPane*/)
{
}
//----------------------------------------------------------------------------
// ¥ CNameCompletionTable::SetColumnHeaders
//----------------------------------------------------------------------------
//
void CNameCompletionTable::SetColumnHeaders()
{
LTableViewHeader* tableHeader = GetTableHeader();
PaneIDT headerPaneID;
// Column #1 = 'Type' is the container type (Address Book / LDAP server).
// Column #2 = 'Col0' is the entry type (User / Mailing list).
// The other columns have configurable headers.
for (short col = 2; col <= tableHeader->CountColumns(); col ++)
{
headerPaneID = tableHeader->GetColumnPaneID(col);
Int32 index = headerPaneID - eTableHeaderBase;
AB_ColumnInfo *info = AB_GetColumnInfoForPane(GetMessagePane(), AB_ColumnID(index));
LCaption* headerPane = dynamic_cast<LCaption*>(GetSuperView()->FindPaneByID(headerPaneID));
if (headerPane) headerPane->SetDescriptor(CStr255(info->displayString));
AB_FreeColumnInfo(info);
}
}
//----------------------------------------------------------------------------
// ¥ CNameCompletionTable::SelectionChanged
//----------------------------------------------------------------------------
//
void CNameCompletionTable::SelectionChanged()
{
Inherited::SelectionChanged();
StartBroadcasting();
// Long story: the CTableKeyAttachment from CStandardFlexTable
// calls StopBroadcasting() on keyDown and StartBroadcasting()
// on keyUp. Problem: we are in a dialog and we never get keyUp's.
}
//----------------------------------------------------------------------------
// ¥ CNameCompletionTable::OpenRow
//----------------------------------------------------------------------------
//
void CNameCompletionTable::OpenRow(TableIndexT inRow)
{
if (IsValidRow(inRow))
{
BroadcastMessage(msg_OK, nil);
}
}
//----------------------------------------------------------------------------
// ¥ CNameCompletionTable::GetCellDisplayData
//----------------------------------------------------------------------------
// Entirely copied from CMailingListTableView
//
void CNameCompletionTable::GetCellDisplayData(const STableCell &inCell, ResIDT& ioIcon, CStr255 &ioDisplayString)
{
ioIcon = 0;
ioDisplayString = "";
// Get the attribute corresponding to the current column
LTableViewHeader* tableHeader = GetTableHeader();
PaneIDT headerPaneID = tableHeader->GetColumnPaneID(inCell.col);
Int32 index = headerPaneID - eTableHeaderBase;
AB_ColumnInfo *info = AB_GetColumnInfoForPane(GetMessagePane(), AB_ColumnID(index));
AB_AttribID attrib = info->attribID;
AB_FreeColumnInfo(info);
// Get the data
uint16 numItems = 1;
AB_AttributeValue* value;
if (AB_GetEntryAttributesForPane(GetMessagePane(), inCell.row-1, &attrib, &value, &numItems) == AB_SUCCESS)
{
if (attrib == AB_attribEntryType)
{
ioIcon = (value->u.entryType == AB_MailingList ? 15263 : 15260);
}
else
{
ioDisplayString = value->u.string ;
}
AB_FreeEntryAttributeValue(value);
}
}
//----------------------------------------------------------------------------
// ¥ CNameCompletionTable::DrawCellContents
//----------------------------------------------------------------------------
// Mostly copied from CMailingListTableView
//
void CNameCompletionTable::DrawCellContents(const STableCell &inCell, const Rect &inLocalRect)
{
ResIDT iconID = 0;
PaneIDT cellType = GetCellDataType(inCell);
switch (cellType)
{
case 'Type':
AB_ContainerType container = AB_GetEntryContainerType(GetMessagePane(), inCell.row-1);
switch (container)
{
case AB_LDAPContainer: iconID = 15250; break; // remote folder
case AB_MListContainer: iconID = 15258; break; // address book
case AB_PABContainer: iconID = 15258; break; // address book
case AB_UnknownContainer: iconID = 0; break;
}
if (iconID)
DrawIconFamily(iconID, 16, 16, 0, inLocalRect);
break;
// case 'Col0':
// ...
// case 'Col6':
default:
CStr255 displayString;
GetCellDisplayData(inCell, iconID, displayString);
if (iconID)
DrawIconFamily(iconID, 16, 16, kTransformNone, inLocalRect);
else
DrawTextString(displayString, &mTextFontInfo, 0, inLocalRect);
break;
}
}
#pragma mark -
//----------------------------------------------------------------------------
// ¥ CNameCompletionPicker::DisplayDialog [static]
//----------------------------------------------------------------------------
// Show the name completion dialog
//
int CNameCompletionPicker::DisplayDialog(LEditField* inEditField, MSG_Pane* inPane, CMailNewsContext* inContext, int inNumResults)
{
// put up dialog
mLastReceivedEditField = inEditField;
mLastReceivedPickerPane = inPane;
mLastReceivedContext = inContext;
mLastReceivedNumResults = inNumResults;
RegisterClass_(CNameCompletionPicker);
RegisterClass_(CNameCompletionTable);
StStdDialogHandler handler(CNameCompletionPicker::res_ID, NULL);
CNameCompletionPicker* dlog = (CNameCompletionPicker*)handler.GetDialog();
// run the dialog
MessageT message;
do
{
message = handler.DoDialog();
} while (message != msg_OK && message != msg_Cancel);
// return the result
STableCell aCell(0,0);
if (message == msg_OK)
aCell = dlog->GetActiveTable()->GetFirstSelectedCell();
// explicitly close the dialog to save its status
dlog->DoClose();
return (aCell.row);
}
#pragma mark -
//----------------------------------------------------------------------------
// ¥ CNameCompletionPicker class
//----------------------------------------------------------------------------
//
CNameCompletionPicker::CNameCompletionPicker(LStream *inStream)
: CMailNewsWindow(inStream, WindowType_NameCompletion)
{
}
CNameCompletionPicker::~CNameCompletionPicker()
{
}
//----------------------------------------------------------------------------
// ¥ CNameCompletionPicker::FinishCreateSelf
//----------------------------------------------------------------------------
//
void CNameCompletionPicker::FinishCreateSelf()
{
// transmit parameters from the Compose window to the list
ReceiveComposeWindowParameters();
mNameCompletionTable = dynamic_cast<CNameCompletionTable *>(USearchHelper::FindViewSubview(this, paneID_NameCompletionTable));
FailNILRes_(mNameCompletionTable);
mNameCompletionTable->ReceiveMessagePane(mPickerPane);
// finish create stuff
Inherited::FinishCreateSelf();
CSaveWindowStatus::FinishCreateWindow();
// prepare list
mNameCompletionTable->SetColumnHeaders();
mNameCompletionTable->SetRowCount();
STableCell cellToSelect(2, 1);
mNameCompletionTable->SelectCell(cellToSelect);
// default button
LGAPushButton * defaultBtn = dynamic_cast<LGAPushButton*>(FindPaneByID(paneID_OkButton));
if (defaultBtn) defaultBtn->SetDefaultButton(true, true);
mNameCompletionTable->AddListener(this);
// show window
this->Show();
this->Select();
}
//----------------------------------------------------------------------------
// ¥ CNameCompletionPicker::DoClose
//----------------------------------------------------------------------------
//
void CNameCompletionPicker::DoClose()
{
// Save table data and window position
SaveStatusInfo();
// Close window
Inherited::DoClose();
}
//----------------------------------------------------------------------------
// ¥ CNameCompletionPicker::CalcStandardBoundsForScreen
//----------------------------------------------------------------------------
// Zoom in the vertical direction only.
//
void CNameCompletionPicker::CalcStandardBoundsForScreen(
const Rect &inScreenBounds,
Rect &outStdBounds) const
{
LWindow::CalcStandardBoundsForScreen(inScreenBounds, outStdBounds);
Rect contRect = UWindows::GetWindowContentRect(mMacWindowP);
outStdBounds.left = contRect.left;
outStdBounds.right = contRect.right;
}
//----------------------------------------------------------------------------
// ¥ CNameCompletionPicker::ListenToMessage
//----------------------------------------------------------------------------
//
void CNameCompletionPicker::ListenToMessage(MessageT inMessage, void */*ioParam*/)
{
if (inMessage == msg_OK)
{
LControl* keyButton = (LControl*)FindPaneByID(paneID_OkButton);
keyButton->SimulateHotSpotClick(kControlButtonPart);
}
}
//----------------------------------------------------------------------------
// ¥ CNameCompletionPicker::HandleKeyPress
//----------------------------------------------------------------------------
// Handle Escape and Cmd-Period (copied from LDialogBox)
//
Boolean CNameCompletionPicker::HandleKeyPress(const EventRecord &inKeyEvent)
{
Boolean keyHandled = false;
PaneIDT keyButtonID = 0;
switch (inKeyEvent.message & charCodeMask)
{
case char_Enter:
case char_Return:
keyButtonID = paneID_OkButton;
break;
case char_Escape:
if ((inKeyEvent.message & keyCodeMask) == vkey_Escape)
keyButtonID = paneID_CancelButton;
break;
default:
if (UKeyFilters::IsCmdPeriod(inKeyEvent))
keyButtonID = paneID_CancelButton;
else
keyHandled = LWindow::HandleKeyPress(inKeyEvent);
break;
}
if (keyButtonID != 0)
{
LControl* keyButton = (LControl*)FindPaneByID(keyButtonID);
keyButton->SimulateHotSpotClick(kControlButtonPart);
keyHandled = true;
}
return keyHandled;
}
//----------------------------------------------------------------------------
// ¥ CNameCompletionPicker::ReadWindowStatus
//----------------------------------------------------------------------------
// Put the window next to the edit field and try to restore its last size.
//
void CNameCompletionPicker::ReadWindowStatus(LStream *inStatusData)
{
// get last window size
Rect savedBounds;
if (inStatusData != nil)
*inStatusData >> savedBounds;
else
{
GetPaneGlobalBounds(this, &savedBounds);
savedBounds.right = savedBounds.left + 320; //¥ TODO: remove these hard-coded values
}
// put the window at the right of the caret position in the edit field
TEHandle teH = mEditField->GetMacTEH();
short caretPos = (*teH)->selStart;
Rect actualBounds;
mEditField->CalcPortFrameRect(actualBounds);
mEditField->PortToGlobalPoint(topLeft(actualBounds));
actualBounds.top -= 44; //¥ TODO: remove these hard-coded values
actualBounds.left += (caretPos + 3) * 7; //¥ TODO:
actualBounds.bottom = actualBounds.top + (savedBounds.bottom - savedBounds.top);
actualBounds.right = actualBounds.left + (savedBounds.right - savedBounds.left);
VerifyWindowBounds(this, &actualBounds);
DoSetBounds(actualBounds);
// restore table data
if (inStatusData != nil)
mNameCompletionTable->ReadSavedTableStatus(inStatusData);
}
//----------------------------------------------------------------------------
// ¥ CNameCompletionPicker::WriteWindowStatus
//----------------------------------------------------------------------------
// Save window size and table data.
//
void CNameCompletionPicker::WriteWindowStatus(LStream *outStatusData)
{
CSaveWindowStatus::WriteWindowStatus(outStatusData);
mNameCompletionTable->WriteSavedTableStatus(outStatusData);
}
#endif //MOZ_NEWADDR

View File

@@ -0,0 +1,135 @@
/* -*- 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.
*/
// CNameCompletionPicker.h
#pragma once
#include "abcom.H"
#ifdef MOZ_NEWADDR
#include "CMailNewsWindow.h"
//¥#include "CAddressBookViews.h"
#include "CMailFlexTable.h"
#include "msgcom.h"
#include "PascalString.h"
//----------------------------------------------------------------------------
// ¥ CNameCompletionTable class
//
//----------------------------------------------------------------------------
//
class CNameCompletionTable : public CMailFlexTable
{
public:
typedef CMailFlexTable Inherited;
enum { class_ID = 'NcVw', pane_ID = 'Tabl' };
enum EColType {
eTableHeaderBase = 'Col0' // Columns are called 'Col0', 'Col1', 'Col2' etc...
}; // but 'Col0' is not used (it used to contain the person/list icon)
public:
CNameCompletionTable(LStream *inStream);
virtual ~CNameCompletionTable();
void SetColumnHeaders();
virtual void DeleteSelection() {};
virtual void SelectionChanged();
virtual void OpenRow(TableIndexT inRow);
virtual void ReceiveMessagePane(MSG_Pane* inMsgPane) {SetMessagePane(inMsgPane);};
virtual void DestroyMessagePane( MSG_Pane* inPane );
protected:
virtual void GetCellDisplayData(const STableCell &inCell, ResIDT &ioIcon, CStr255 &ioDisplayString );
virtual void DrawCellContents(
const STableCell &inCell,
const Rect &inLocalRect);
};
//----------------------------------------------------------------------------
// ¥ CNameCompletionPicker class
//
//----------------------------------------------------------------------------
//
static const UInt16 cNameCompletionSaveWindowStatusVersion = 0x0200;
class CNameCompletionPicker : public CMailNewsWindow
, public LListener
{
public:
typedef CMailNewsWindow Inherited;
enum { class_ID = 'NcWn', pane_ID = class_ID, res_ID = 8970 };
enum {
paneID_OkButton = 'BtOk',
paneID_CancelButton = 'Canc',
paneID_NameCompletionTable = 'Tabl'
};
// Dialog handler
static int DisplayDialog(LEditField* inEditField, MSG_Pane* inPane, CMailNewsContext* inContext, int inNumResults);
// Stream creator method
CNameCompletionPicker(LStream *inStream);
virtual ~CNameCompletionPicker();
virtual ResIDT GetStatusResID() const { return res_ID; }
virtual CNSContext* CreateContext() const { return (CNSContext*)mLastReceivedContext; }
virtual void CalcStandardBoundsForScreen(
const Rect &inScreenBounds,
Rect &outStdBounds) const;
virtual void DoClose();
virtual void ListenToMessage(
MessageT inMessage,
void *ioParam);
protected:
// Overriden methods
virtual void FinishCreateSelf();
virtual Boolean HandleKeyPress(const EventRecord &inKeyEvent);
// Utility methods
virtual CMailFlexTable* GetActiveTable() { return mNameCompletionTable; }
virtual void ReadWindowStatus(LStream *inStatusData);
virtual void WriteWindowStatus(LStream *outStatusData);
virtual UInt16 GetValidStatusVersion() const { return cNameCompletionSaveWindowStatusVersion;}
virtual void ReceiveComposeWindowParameters() {
mEditField = mLastReceivedEditField;
mPickerPane = mLastReceivedPickerPane;
mContext = mLastReceivedContext;
mNumResults = mLastReceivedNumResults;
}
// Instance variables
CNameCompletionTable *mNameCompletionTable;
LEditField* mEditField;
MSG_Pane* mPickerPane;
CMailNewsContext* mContext;
int mNumResults;
private:
static LEditField* mLastReceivedEditField;
static MSG_Pane* mLastReceivedPickerPane;
static CMailNewsContext* mLastReceivedContext;
static int mLastReceivedNumResults;
};
#endif //MOZ_NEWADDR

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) 1997 Netscape Communications Corporation. All Rights
* Reserved.
*/
// UAddressBookUtilities.cp
#include "UAddressBookUtilities.h"
#ifdef MOZ_NEWADDR
#include "MailNewsgroupWindow_Defines.h"
#include "resgui.h"
#include "CMailFlexTable.h"
#include "UMailSelection.h"
#include "CAddressBookViews.h" // Need for pane ID's that should be fixed
//------------------------------------------------------------------------------
// ¥ GetABCommand
//------------------------------------------------------------------------------
// Convert a powerplant command into a AB_CommandType
//
AB_CommandType UAddressBookUtilites::GetABCommand( CommandT inCommand )
{
switch ( inCommand )
{
case cmd_NewMailMessage:
case cmd_ComposeMailMessage: return AB_NewMessageCmd;
case cmd_ImportAddressBook: return AB_ImportCmd;
case cmd_SaveAs: return AB_SaveCmd;
// case cmd_Close: return AB_CloseCmd;
case cmd_NewAddressBook: return AB_NewAddressBook;
case cmd_NewDirectory: return AB_NewLDAPDirectory;
case cmd_Undo: return AB_UndoCmd;
case cmd_Redo: return AB_RedoCmd;
case UAddressBookUtilites::cmd_DeleteEntry: return AB_DeleteCmd;
// case return AB_LDAPSearchCmd,
case CAddressBookPane::eCol0: return AB_SortByColumnID0;
case CAddressBookPane::eCol1: return AB_SortByColumnID1;
case CAddressBookPane::eCol2: return AB_SortByColumnID2;
case CAddressBookPane::eCol3: return AB_SortByColumnID3;
case CAddressBookPane::eCol4: return AB_SortByColumnID4;
case CAddressBookPane::eCol5: return AB_SortByColumnID5;
case CAddressBookPane::cmd_SortAscending: return AB_SortAscending;
case CAddressBookPane::cmd_SortDescending: return AB_SortDescending;
case cmd_NewAddressCard: return AB_AddUserCmd;
case cmd_NewAddressList: return AB_AddMailingListCmd;
case cmd_EditProperties: return AB_PropertiesCmd;
case cmd_ConferenceCall: return AB_CallCmd;
// case return AB_ImportLdapEntriesCmd
default: return AB_CommandType( invalid_command );
}
}
//------------------------------------------------------------------------------
// ¥ ABCommandStatus
//------------------------------------------------------------------------------
// Determine if a command should be enabled.
//
//
void UAddressBookUtilites::ABCommandStatus(
CMailFlexTable* inTable,
AB_CommandType inCommand,
Boolean &outEnabled,
Boolean &outUsesMark,
Char16 &outMark,
Str255 outName)
{
if( inCommand != UAddressBookUtilites::invalid_command )
{
XP_Bool selectable;
MSG_COMMAND_CHECK_STATE checkedState;
const char* display_string = nil;
XP_Bool plural;
// Get table selection
CMailSelection selection;
inTable->GetSelection(selection);
// Check command status
if ( AB_CommandStatusAB2(
inTable->GetMessagePane(),
inCommand,
(MSG_ViewIndex*)selection.GetSelectionList(),
selection.selectionSize,
&selectable,
&checkedState,
&display_string,
&plural)
>= 0)
{
outEnabled = (Boolean)selectable;
outUsesMark = true;
if (checkedState == MSG_Checked)
outMark = checkMark;
else
outMark = 0;
if (display_string && *display_string)
*(CStr255*)outName = display_string;
}
}
}
//------------------------------------------------------------------------------
// ¥ ABCommand
//------------------------------------------------------------------------------
// Execute a menu command
// NOTE: this takes a PowerPlant Command
//
Boolean UAddressBookUtilites::ABCommand( CMailFlexTable* inTable, AB_CommandType inCommand)
{
Assert_( inTable );
Boolean enabled, usesMark;
Char16 mark;
Str255 name;
if ( inCommand == invalid_command )
return AB_INVALID_COMMAND;
// Check to see if the command was enabled for this table
UAddressBookUtilites::ABCommandStatus( inTable, inCommand, enabled, usesMark, mark, name );
if ( !enabled )
return AB_INVALID_COMMAND;
// Get table Selection
CMailSelection selection;
inTable->GetSelection(selection);
// Execute the command
return AB_CommandAB2( inTable->GetMessagePane(), inCommand,
(MSG_ViewIndex*)selection.GetSelectionList(), selection.selectionSize );
}
#endif

View File

@@ -0,0 +1,122 @@
/* -*- 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) 1997 Netscape Communications Corporation. All Rights
* Reserved.
*/
// UAddressBookUtilities.h
#pragma once
#include "MailNewsAddressBook.h"
#include "abcom.h"
#ifdef MOZ_NEWADDR
class CMailFlexTable;
//------------------------------------------------------------------------------
// ¥ UAddressBookUtilites
//------------------------------------------------------------------------------
//
class UAddressBookUtilites
{
public:
enum { // Command IDs
cmd_NewAddressCard = 'NwCd' // New Card
, cmd_NewAddressList = 'NwLs' // New List
, cmd_NewAddressBook = 'NwAb'
, cmd_NewDirectory = 'NwDr'
, cmd_HTMLDomains = 'HtDm' // domains dialog.
, cmd_EditProperties = 'EdPr' // Edit properties for a list or card
, cmd_DeleteEntry = 'DeLe' // Delete list or card
, cmd_ComposeMailMessage = 'Cmps' // Compose a new mail message
, cmd_ConferenceCall = 'CaLL'
, cmd_ViewMyCard = 'vmyC'
, invalid_command = 0xFFFFFFFF
};
static AB_CommandType GetABCommand( CommandT inCommand );
static void ABCommandStatus(
CMailFlexTable* inTable, AB_CommandType inCommand,
Boolean &outEnabled, Boolean &outUsesMark,
Char16 &outMark, Str255 outName
);
static Boolean ABCommand( CMailFlexTable* inTable, AB_CommandType inCommand);
};
// The following stack based classes are designed to help with the memory managment
// of attributes return from the backend for the Continer and Entry attributes
//------------------------------------------------------------------------------
// ¥ StABEntryAttribute
//------------------------------------------------------------------------------
// Handles memory management for ABEntryAttributes
//
class StABEntryAttribute
{
public:
StABEntryAttribute ( MSG_Pane* inPane, MSG_ViewIndex inIndex, AB_AttribID inAttrib)
{
if(AB_GetEntryAttributeForPane ( inPane, inIndex-1, inAttrib , &mValue ) != AB_SUCCESS )
mValue = NULL;
}
StABEntryAttribute()
{
if ( mValue )
AB_FreeEntryAttributeValue ( mValue );
}
char* GetChar() const { return ( mValue ? mValue->u.string : NULL ); }
Int16 GetShort() const { return ( mValue ? mValue->u.shortValue : 0 ) ;}
XP_Bool GetBoolean() const { return ( mValue ? mValue->u.boolValue : false ); }
AB_EntryType GetEntryType() const { return( mValue ? mValue->u.entryType : AB_Person); }
private:
AB_AttributeValue *mValue ;
};
//------------------------------------------------------------------------------
// ¥ StABContainerAttribute
//------------------------------------------------------------------------------
// Handles memory management for ABEContainerAttributes
//
class StABContainerAttribute
{
public:
StABContainerAttribute ( MSG_Pane* inPane, MSG_ViewIndex inIndex, AB_ContainerAttribute inAttrib)
{
if( AB_GetContainerAttributeForPane ( inPane, inIndex-1, inAttrib , &mValue ) != AB_SUCCESS )
mValue = NULL;
}
StABContainerAttribute()
{
if ( mValue )
AB_FreeContainerAttribValue ( mValue );
}
char* GetChar() const {return( mValue ? mValue->u.string : NULL ); }
Int32 GetNumber() const { return( mValue ? mValue->u.number: 0 ) ;}
AB_ContainerInfo* GetContainerInfo() const { return( mValue ? mValue->u.container : NULL ); }
AB_ContainerType GetContainerType() const { return( mValue ? mValue->u.containerType : AB_PABContainer ); }
private:
AB_ContainerAttribValue *mValue ;
};
#endif

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