Compare commits

..

5393 Commits

Author SHA1 Message Date
(no author)
e99fb1da7b This commit was manufactured by cvs2svn to create branch 'jsd'.
git-svn-id: svn://10.0.0.236/branches/jsd@10728 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 23:39:14 +00:00
fur%netscape.com
a4156ea8c1 Fix windows compilation error
git-svn-id: svn://10.0.0.236/branches/SpiderMonkey140_BRANCH@10727 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 23:39:13 +00:00
fur%netscape.com
4e17e7d0b6 Updated dependencies
git-svn-id: svn://10.0.0.236/branches/SpiderMonkey140_BRANCH@10723 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 23:27:41 +00:00
fur%netscape.com
0b9f4a6066 Make it build on the Mac
git-svn-id: svn://10.0.0.236/branches/SpiderMonkey140_BRANCH@10669 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 02:57:17 +00:00
fur%netscape.com
88e2efb86c Make it build on the Mac
git-svn-id: svn://10.0.0.236/branches/SpiderMonkey140_BRANCH@10668 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 02:47:25 +00:00
fur%netscape.com
f70c006cd2 Strange...some initialization of prmjtime.c is actually done in NSPR.
I had to copy the routines out of prtime.c so that prmjtime.c would
not be dependent on NSPR.


git-svn-id: svn://10.0.0.236/branches/SpiderMonkey140_BRANCH@10666 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 02:37:06 +00:00
fur%netscape.com
2d43318eeb Replace PR_snprintf's
git-svn-id: svn://10.0.0.236/branches/SpiderMonkey140_BRANCH@10655 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 02:07:32 +00:00
fur%netscape.com
464cfb0128 + Added missing conversion of PR_*printf functions to JS_*printf.
+ Changed jsopcode.def to jsopcode.tbl


git-svn-id: svn://10.0.0.236/branches/SpiderMonkey140_BRANCH@10653 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 01:52:52 +00:00
fur%netscape.com
ccd9fea75c *** empty log message ***
git-svn-id: svn://10.0.0.236/branches/SpiderMonkey140_BRANCH@10633 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 23:28:00 +00:00
fur%netscape.com
adbbf081d4 Changes to build ref/src merged files on Win32 platform.
git-svn-id: svn://10.0.0.236/branches/SpiderMonkey140_BRANCH@10607 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 20:04:13 +00:00
fur%netscape.com
087895e0d4 Standalone makefiles for js ref/src merge
git-svn-id: svn://10.0.0.236/branches/SpiderMonkey140_BRANCH@10606 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 20:03:11 +00:00
fur%netscape.com
f53236bbe5 Replaced with js*.h
git-svn-id: svn://10.0.0.236/branches/SpiderMonkey140_BRANCH@10598 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 18:58:46 +00:00
fur%netscape.com
4525a93346 Replaced with jsdtoa.c
git-svn-id: svn://10.0.0.236/branches/SpiderMonkey140_BRANCH@10597 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 18:57:51 +00:00
fur%netscape.com
92ce8e0953 This check-in is a first attempt at reducing JavaScript's dependency
on NSPR.


git-svn-id: svn://10.0.0.236/branches/SpiderMonkey140_BRANCH@10589 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 17:54:36 +00:00
fur%netscape.com
4f506cbcbc prarena.c is now jsarena.c
git-svn-id: svn://10.0.0.236/branches/SpiderMonkey140_BRANCH@10586 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 17:47:37 +00:00
fur%netscape.com
53fed9d6ad This check-in is a first attempt at reducing JavaScript's dependency
on NSPR.  In fact, the JS C-engine no longer depends on NSPR at all in
a single-threaded environment and the multi-threaded version relies on
NSPR strictly for its threading primitives.  This change was made for
several reasons:

 + To merge the js/src and js/ref directories, which differ only in that
   the former is designed to link with NSPR2, but the latter makes use of
   an NSPR1 subset.  The automatic generation of src from ref often led
   to confusion and sometimes to merge-related errors.

 + To avoid the requirement to link against multiple versions of NSPR
   when delivering JS binaries. (Different internal customers of JS have
   standardized upon different NSPR releases.)

 + To shield JS from incompatible changes to NSPR.

Most of the changes involved simple renaming of types, macros,
identifiers and file names, i.e. from pr* to js*.  In some cases, this
transformation resulted in name collisions and a different name was
chosen.  One place where renaming was *not* performed was in the
definition of simple scalar types, i.e. int32, uint16, etc.  The
jsotypes.h header file was specially handled so as to avoid typename
collision with NSPR types of the same name.


git-svn-id: svn://10.0.0.236/branches/SpiderMonkey140_BRANCH@10585 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 17:45:48 +00:00
fur%netscape.com
a7fb2e53b5 Removing dependency on NSPR
git-svn-id: svn://10.0.0.236/branches/SpiderMonkey140_BRANCH@10579 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 17:21:23 +00:00
(no author)
cddacc3fc7 This commit was manufactured by cvs2svn to create branch
'SpiderMonkey140_BRANCH'.

git-svn-id: svn://10.0.0.236/branches/SpiderMonkey140_BRANCH@10431 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 19:56:46 +00:00
fur%netscape.com
6f925ed79a We decided not to do mini-nspr
git-svn-id: svn://10.0.0.236/branches/SpiderMonkey140_BRANCH@10422 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 18:21:58 +00:00
fur%netscape.com
91ff9d9174 Checkpoint mini-nspr files, even though we're probably not going to use mini-nspr
git-svn-id: svn://10.0.0.236/branches/SpiderMonkey140_BRANCH@10292 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 18:55:29 +00:00
fur%netscape.com
cb5c11135f Make it build on unix
git-svn-id: svn://10.0.0.236/branches/SpiderMonkey140_BRANCH@9520 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 19:58:23 +00:00
(no author)
d02f29a398 This commit was manufactured by cvs2svn to create branch
'SpiderMonkey140_BRANCH'.

git-svn-id: svn://10.0.0.236/branches/SpiderMonkey140_BRANCH@9511 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 19:08:10 +00:00
fur%netscape.com
5b2c2e76fb Added Mac-specific defines.
git-svn-id: svn://10.0.0.236/trunk@9203 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 03:52:13 +00:00
fur%netscape.com
2d3f594b08 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@9202 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 03:51:38 +00:00
fur%netscape.com
eed8c3afc6 Ignore generated files
git-svn-id: svn://10.0.0.236/trunk@9201 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 03:47:13 +00:00
fur%netscape.com
512995a690 Checked in wrong version of project by mistake. This is the right one.
git-svn-id: svn://10.0.0.236/trunk@9200 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 03:46:25 +00:00
fur%netscape.com
b983a196aa Added comments and declaration of PR_Abort().
git-svn-id: svn://10.0.0.236/trunk@9198 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 03:40:50 +00:00
thom%netscape.com
3717641c6c File names change HTMLFoo changed to HTMLFooElement
git-svn-id: svn://10.0.0.236/trunk@9197 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 02:54:46 +00:00
thom%netscape.com
39b855dfd3 Copy and paste error (SomethingClassWin needed to change to somethingClassMac)
git-svn-id: svn://10.0.0.236/trunk@9196 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 02:54:11 +00:00
thom%netscape.com
77361183d1 Fixed an XP change that wasn't XP (_MAX_PATH is already defined on the mac)
git-svn-id: svn://10.0.0.236/trunk@9195 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 02:53:25 +00:00
joki%netscape.com
d2023dac41 Fix typo
git-svn-id: svn://10.0.0.236/trunk@9194 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 01:58:54 +00:00
cmanske%netscape.com
24789aba9f Removed unused string
git-svn-id: svn://10.0.0.236/trunk@9193 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 01:32:09 +00:00
joki%netscape.com
9628820de0 This useragent code is wrong anyway but change it to at least send a backwards compat string.
git-svn-id: svn://10.0.0.236/trunk@9192 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 01:24:59 +00:00
joki%netscape.com
728fea362d Moving script event listener registration back to SetAttributes out of SetDocument
git-svn-id: svn://10.0.0.236/trunk@9191 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 01:23:59 +00:00
joki%netscape.com
f0699eac56 Standardize order during content creation to be setDoc, addAttr, appendChild
git-svn-id: svn://10.0.0.236/trunk@9190 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 01:23:12 +00:00
joki%netscape.com
6fe10b9054 Cleaning up unused code
git-svn-id: svn://10.0.0.236/trunk@9189 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 01:21:48 +00:00
joki%netscape.com
899ed70268 Adding event.cancelBubble
git-svn-id: svn://10.0.0.236/trunk@9188 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 01:20:29 +00:00
joki%netscape.com
968d59a50f Adding window.opener, window.focus, window.blur, event.cancelBubble, and modifying window.open
git-svn-id: svn://10.0.0.236/trunk@9187 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 01:19:58 +00:00
cmanske%netscape.com
4853d699d7 Added new strings for Composer I18N work
git-svn-id: svn://10.0.0.236/trunk@9186 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 01:18:48 +00:00
karnaze%netscape.com
b413a9ba42 frameset/frame border resizing via mouse; NORESIZE, BORDERCOLOR
git-svn-id: svn://10.0.0.236/trunk@9185 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 01:16:27 +00:00
cmanske%netscape.com
de39922342 Fixed problems with PA_Block and busted file loading into Composer
git-svn-id: svn://10.0.0.236/trunk@9184 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 01:10:13 +00:00
cyeh%netscape.com
443c21dc15 change version number to reflect ALPHA stage
git-svn-id: svn://10.0.0.236/trunk@9183 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 01:08:47 +00:00
kipp%netscape.com
e29bad58eb Added new files to the build
git-svn-id: svn://10.0.0.236/trunk@9182 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 01:04:04 +00:00
kipp%netscape.com
c39cd1d7a2 new
git-svn-id: svn://10.0.0.236/trunk@9181 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 01:03:33 +00:00
danm%netscape.com
3c22121f48 about: wasn't working. is now.
git-svn-id: svn://10.0.0.236/trunk@9180 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 01:02:27 +00:00
cyeh%netscape.com
7f08256f2f added changed warning text for absolute timebombs. WARNING: ugly short lived hack.
git-svn-id: svn://10.0.0.236/trunk@9179 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 01:01:19 +00:00
terry%netscape.com
c8fc80fb77 Send mail to Christopher Seawood's machine, so that he can run his own Bonsai.
git-svn-id: svn://10.0.0.236/trunk@9178 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 00:57:23 +00:00
cyeh%netscape.com
1c891d2dd6 set timebombs to always warn. not a part of the build, so okay to check-in
git-svn-id: svn://10.0.0.236/trunk@9177 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 00:31:39 +00:00
kipp%netscape.com
8151679e48 Updated to build new source
git-svn-id: svn://10.0.0.236/trunk@9176 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 00:05:52 +00:00
kipp%netscape.com
a0783a4a5a Fixed SetAttribute where the leaf classes StringToAttribute wasn't being called
git-svn-id: svn://10.0.0.236/trunk@9175 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 00:03:58 +00:00
kipp%netscape.com
a75c02b0f1 Use new element ctors
git-svn-id: svn://10.0.0.236/trunk@9174 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 23:53:49 +00:00
kipp%netscape.com
af61e4b99f Spanked
git-svn-id: svn://10.0.0.236/trunk@9173 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 23:53:16 +00:00
kipp%netscape.com
9a826752e8 Renamed element creation routines
git-svn-id: svn://10.0.0.236/trunk@9172 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 23:52:38 +00:00
kipp%netscape.com
5a6d57899a Added new atoms
git-svn-id: svn://10.0.0.236/trunk@9171 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 23:52:24 +00:00
cyeh%netscape.com
6aa7d36e69 do the right thing and parameterize calls to SetTimeBomb
git-svn-id: svn://10.0.0.236/trunk@9170 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 23:31:57 +00:00
cyeh%netscape.com
1e31df0004 removing debugging statements, support timebombs of 0
git-svn-id: svn://10.0.0.236/trunk@9169 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 23:22:59 +00:00
cyeh%netscape.com
de4253f385 set timebombs to have 0 warning days by default, so that the user
is presented with the warning dialog on every launch


git-svn-id: svn://10.0.0.236/trunk@9168 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 23:20:17 +00:00
buster%netscape.com
68a912b36d put "quickdraw" in an #ifdef NS_MAC
git-svn-id: svn://10.0.0.236/trunk@9167 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 23:01:35 +00:00
despotdaemon%netscape.com
651e6b46d0 Pseudo-automatic update of changes made by mang@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@9166 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 22:58:43 +00:00
buster%netscape.com
f5e2a5ce2f fixed a space leak for tables with rowspans
git-svn-id: svn://10.0.0.236/trunk@9165 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 22:55:37 +00:00
cyeh%netscape.com
179b369fde after speaking to scc, moving utility functions to Moz.pm where they belong.
git-svn-id: svn://10.0.0.236/trunk@9164 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 22:52:49 +00:00
fur%netscape.com
815859a7bb Project files to build standalone JS using mini-NSPR
git-svn-id: svn://10.0.0.236/trunk@9163 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 22:38:20 +00:00
fur%netscape.com
d9185a5a7e Minimal NSPR subset required to build JS engine
git-svn-id: svn://10.0.0.236/trunk@9161 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 22:37:14 +00:00
fur%netscape.com
d1c09d04ff ignore generated files
git-svn-id: svn://10.0.0.236/trunk@9160 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 22:36:05 +00:00
terry%netscape.com
87de70d7ac Oops; mention nomail and maillock. (Thanks to
Sam Ziegler <ziegler@mediaguaranty.com> for pointing out their lack.)


git-svn-id: svn://10.0.0.236/trunk@9159 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 22:31:50 +00:00
buster%netscape.com
08dcf151a6 nsBrowserWindow.cpp,h
added filter name param to DumpFrames
nsViewerApp.cpp
  added -o <outputDirPath> for specifying where output files should go
  added -filter <filterName> for specifying that <filterName> should be used in an automated fashion for
dumping frames for every URL visited.
nsWebCrawler.cpp,h
  added  support methods to handle output dirs, output file name building from URL, and filter names
  added DumpFrames to ::OnStopBinding when the right state is set (from -filter option)
  added dependancies on:  nsIPresShell.h, nsIPresContext.h, and nsIFrame.h


git-svn-id: svn://10.0.0.236/trunk@9158 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 22:07:42 +00:00
dcone%netscape.com
96ef1297af mac fixes
git-svn-id: svn://10.0.0.236/trunk@9157 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 22:01:18 +00:00
buster%netscape.com
9a7b48eb26 expanded nsIFrame::List to include nsIListFilter *aFilter param, by default nsnull.
aFilter is useful for determining if a frame should output itself during
a List().  In any event, the children of the frame are always processed.
added nsIListFilter, an interface for any object that wants to act like a filter for frame dumps
added   static NS_LAYOUT nsIListFilter * GetFilter(nsString *aFilterName);
currently, only TableListFilter implements nsIListFilter.
in response to List(...TableListFilter), the frame model is dumped in a way that is useful
for table layout regression testing.  Currently this is controlled by command line switches on the viewer app.


git-svn-id: svn://10.0.0.236/trunk@9156 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 21:59:54 +00:00
dcone%netscape.com
e8732ba214 add the macradiobutton
git-svn-id: svn://10.0.0.236/trunk@9155 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 21:54:14 +00:00
dcone%netscape.com
c985cb4b0e made it a mac version
git-svn-id: svn://10.0.0.236/trunk@9154 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 21:53:49 +00:00
buster%netscape.com
51b30845c1 fixed a space leak caused by incorrect ~nsCellMap iteration through
the new data structures.


git-svn-id: svn://10.0.0.236/trunk@9153 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 21:51:01 +00:00
dcone%netscape.com
c1f3f02117 enabled the nsRadiobutton factory
git-svn-id: svn://10.0.0.236/trunk@9152 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 21:48:05 +00:00
dcone%netscape.com
364b725c28 Mac implementation, first pass
git-svn-id: svn://10.0.0.236/trunk@9151 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 21:47:47 +00:00
dcone%netscape.com
3799ccc7b8 used my own mousemoved tracking for better speed
git-svn-id: svn://10.0.0.236/trunk@9150 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 21:47:25 +00:00
dcone%netscape.com
b1a6f655d7 added better tracking
git-svn-id: svn://10.0.0.236/trunk@9149 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 21:46:53 +00:00
spider%netscape.com
18df3a3df2 Fix for modifier key state on keyboard messages
git-svn-id: svn://10.0.0.236/trunk@9148 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 21:14:45 +00:00
despotdaemon%netscape.com
7df5e2ec9a Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@9147 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 20:03:42 +00:00
rods%netscape.com
8aafdcac95 Removed nsDeviceCOntextUnix header file and replaced it with nsIDeviceContext
git-svn-id: svn://10.0.0.236/trunk@9146 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 20:01:41 +00:00
mccabe%netscape.com
c918d7df77 Further exception work - added 'message' to the js_ErrorToException
call, and experimented with copying the original JSErrorReport into
private data.  Much of this to support a toString method for exception
objects.

It's not polished, but I wanted to get toString available quickly.


git-svn-id: svn://10.0.0.236/trunk@9145 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 20:01:34 +00:00
rods%netscape.com
53df78b377 Fixed a bug in ConvertPixel
git-svn-id: svn://10.0.0.236/trunk@9144 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 19:51:32 +00:00
rods%netscape.com
65e3dacb58 Implemented ConvertPixel
git-svn-id: svn://10.0.0.236/trunk@9143 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 19:33:01 +00:00
rods%netscape.com
9db59e2782 Implemented ConvertPixel
git-svn-id: svn://10.0.0.236/trunk@9142 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 19:26:43 +00:00
rods%netscape.com
3f2149f1d8 Added ConvertPixel to nsIDeviceContext
git-svn-id: svn://10.0.0.236/trunk@9141 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 19:24:05 +00:00
sar%netscape.com
fc0025b59b Smartupdate landing. Added autoinstl to project.
git-svn-id: svn://10.0.0.236/trunk@9140 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 19:19:51 +00:00
raman%netscape.com
ad49532330 Build Smartupdate when MOZ_SMARTUPDATE is defined
git-svn-id: svn://10.0.0.236/trunk@9139 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 19:16:07 +00:00
cyeh%netscape.com
b562308535 change version number to reflect reality
git-svn-id: svn://10.0.0.236/trunk@9138 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 19:12:26 +00:00
raman%netscape.com
baba7c683c Added CPPSRCS
git-svn-id: svn://10.0.0.236/trunk@9137 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 19:11:06 +00:00
raman%netscape.com
8a29b1f0b1 Added getSigners API for SmartUpate
git-svn-id: svn://10.0.0.236/trunk@9136 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 19:10:57 +00:00
cyeh%netscape.com
c9567944e7 change version number to reflect alpha reality
git-svn-id: svn://10.0.0.236/trunk@9135 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 19:10:53 +00:00
raman%netscape.com
4215e79a8b Merging 4.5 softupdate changes and converting Java code into C++ code and making smartupdate build when MOZ_SMARTUPDATE is defined
git-svn-id: svn://10.0.0.236/trunk@9134 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 19:09:53 +00:00
raman%netscape.com
6342a98244 Merging 4.5 Libreg changes
git-svn-id: svn://10.0.0.236/trunk@9133 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 19:09:30 +00:00
raman%netscape.com
03a634f27d removing smartupdate related code, because it is not dependent on Java
git-svn-id: svn://10.0.0.236/trunk@9132 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 19:09:03 +00:00
raman%netscape.com
fa2721bd60 Added a background/autoupdate pulling of URLs
git-svn-id: svn://10.0.0.236/trunk@9131 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 19:08:32 +00:00
raman%netscape.com
803782c140 Added a background, autoupdate pulling of URLs
git-svn-id: svn://10.0.0.236/trunk@9130 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 19:08:00 +00:00
raman%netscape.com
37d6196690 Added SmartUpdate related strings
git-svn-id: svn://10.0.0.236/trunk@9129 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 19:05:49 +00:00
raman%netscape.com
5db8e09c17 Added SmartUpdate related strings
git-svn-id: svn://10.0.0.236/trunk@9128 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 19:05:48 +00:00
raman%netscape.com
6b27df86ca Merging 4.5 SmartUpdate changes
git-svn-id: svn://10.0.0.236/trunk@9127 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 19:05:33 +00:00
raman%netscape.com
bfa28a9e3a Build SmartUpdate when MOZ_SMARTUPDATE is defined
git-svn-id: svn://10.0.0.236/trunk@9126 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 19:05:13 +00:00
cyeh%netscape.com
20de3f4004 disable setting the agent for right now
git-svn-id: svn://10.0.0.236/trunk@9125 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 19:04:13 +00:00
terry%netscape.com
8695c64724 Patch by Sam Ziegler <ziegler@mediaguaranty.com> -- allow querying for
empty resolution.


git-svn-id: svn://10.0.0.236/trunk@9124 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 19:02:30 +00:00
terry%netscape.com
67e772ba10 Changelog of important Bugzilla changes.
git-svn-id: svn://10.0.0.236/trunk@9123 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 18:56:48 +00:00
cls%seawood.org
f1b39ff147 Sync'd with Makefile.
git-svn-id: svn://10.0.0.236/trunk@9122 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 18:56:17 +00:00
terry%netscape.com
978e4f71bb Changed the way password validation works. We now keep a
crypt'd version of the password in the database, and check against
that.  (This is silly, because we're also keeping the plaintext
version there, but I have plans...)  Stop passing the plaintext
password around as a cookie; instead, we have a cookie that references
a record in a new database table, logincookies.

IMPORTANT: if updating from an older version of Bugzilla, you must run
the following commands to keep things working:

 ./makelogincookiestable.sh
 echo "alter table profiles add column cryptpassword varchar(64);" | mysql bugs
 echo "update profiles set cryptpassword = encrypt(password,substring(rand(),3, 4));" | mysql bugs


git-svn-id: svn://10.0.0.236/trunk@9121 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 18:54:54 +00:00
cls%seawood.org
c36a681815 Removed OJI ifdef from LO_GetBuiltInAttribute() as the LO_BuiltinStruct is the same for both cases.
git-svn-id: svn://10.0.0.236/trunk@9120 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 18:54:53 +00:00
cls%seawood.org
bdceeef8ff Added check for HAVE_SYSERRLIST to get rid of redefinition warning when using autoconf.
git-svn-id: svn://10.0.0.236/trunk@9119 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 18:52:56 +00:00
kipp%netscape.com
ffd0bfbf4a Added new atoms
git-svn-id: svn://10.0.0.236/trunk@9118 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 18:40:08 +00:00
terry%netscape.com
c59042bc00 Mention the "comments" file.
git-svn-id: svn://10.0.0.236/trunk@9117 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 18:34:04 +00:00
kostello%netscape.com
137860a951 Add nsILookAndFeel.h MANIFEST
git-svn-id: svn://10.0.0.236/trunk@9116 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 17:58:37 +00:00
pinkerton%netscape.com
db81b82093 fix build bustage on mac (rev mjudge).
git-svn-id: svn://10.0.0.236/trunk@9115 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 16:15:43 +00:00
cmanske%netscape.com
291759bd6f Fixed build bustage for Mac
git-svn-id: svn://10.0.0.236/trunk@9114 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 16:08:46 +00:00
ramiro%netscape.com
b1712051f1 Add support for -config-dir command line flag. That means mozilla can now
use a configdir other that ~/.netscape without having to do HOME environment
hacks.
Thanks to Aleksey Nogin (ayn2@cornell.edu) for doing all the work and being
patient for me to actually check the stuff in.


git-svn-id: svn://10.0.0.236/trunk@9113 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 14:29:42 +00:00
cmanske%netscape.com
a1fc084b4f Composer work: Check for valid charset in metatag, paste character style, split table cell, optimization for table cell layout (not turned on), remove P_MENU, P_DIRECTORY support for UIs
git-svn-id: svn://10.0.0.236/trunk@9112 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 14:21:41 +00:00
cmanske%netscape.com
4146681d02 Fixed comflicts with mjudge changes for Ender toolbar
git-svn-id: svn://10.0.0.236/trunk@9111 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 13:22:13 +00:00
cmanske%netscape.com
ded4aa73f8 Composer work: Menus, paste style, paragraph properties dialog improvements, remove P_MENU, P_DIRECTORY
git-svn-id: svn://10.0.0.236/trunk@9110 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 13:12:58 +00:00
cmanske%netscape.com
4f6a05c971 Added strings for new I18N features in Composer: correct bad charset param in tag
git-svn-id: svn://10.0.0.236/trunk@9109 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 13:12:40 +00:00
cmanske%netscape.com
ad98d60489 Added strings for new I18N features in Composer: correct bad charset param in tag
git-svn-id: svn://10.0.0.236/trunk@9108 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 13:12:39 +00:00
ramiro%netscape.com
99d378c03f Add support for OpenBSD. Thanks to Marco S Hyman <marc@snafu.org>.
git-svn-id: svn://10.0.0.236/trunk@9107 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 12:36:18 +00:00
mcafee%netscape.com
b04526e650 Moving getBuiltInAttribute() from winfe to layout, it's now LO_GetBuiltInAttribute(). a+r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@9106 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 09:13:50 +00:00
mccabe%netscape.com
09183e892f Another platform!
Thanks go to Marc Fraioli <fraioli@dg-rtp.dg.com> for
the initial port of the js/ref standalone javascript
engine to DG/UX.


git-svn-id: svn://10.0.0.236/trunk@9105 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 08:19:31 +00:00
mccabe%netscape.com
5274fdddfe Fixes for NetBSD and OpenBSD.
Thanks Marco S Hyman <marc@snafu.org>.


git-svn-id: svn://10.0.0.236/trunk@9104 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 07:56:50 +00:00
rickg%netscape.com
061a6cb718 added new EnableParser() routine for kipp; WIP
git-svn-id: svn://10.0.0.236/trunk@9103 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 07:12:49 +00:00
cls%seawood.org
c46c240ec5 Tweaks to remove XFE dependencies from other parts of the tree. Approved by {gagan,malmer,ramiro}%netscape.com.
git-svn-id: svn://10.0.0.236/trunk@9102 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 07:02:04 +00:00
morse%netscape.com
e7f07b3856 enable trust labels for unix
git-svn-id: svn://10.0.0.236/trunk@9101 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 05:06:15 +00:00
tomw%netscape.com
324119b646 Whoops. Use NETSCAPE_OFFICIAL, not BUILD_OFFICIAL
git-svn-id: svn://10.0.0.236/trunk@9100 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 03:20:44 +00:00
valeski%netscape.com
e753d19e38 added net_xp_file.h to #include
git-svn-id: svn://10.0.0.236/trunk@9099 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 03:01:14 +00:00
tomw%netscape.com
5da415cc22 Generate exports table for Cartman. This stuff needs to get moved out of
mozilla at some point.


git-svn-id: svn://10.0.0.236/trunk@9098 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 02:25:40 +00:00
peterl%netscape.com
ceda89bcfc reversed doc style sheet ordering in the style set
git-svn-id: svn://10.0.0.236/trunk@9097 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 02:13:37 +00:00
peterl%netscape.com
4ed0ab4604 fixed unit assumptions in map attributes into
git-svn-id: svn://10.0.0.236/trunk@9096 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 02:12:41 +00:00
peterl%netscape.com
9b0743f19a COMified interface
made first attribute local
added support for attr uniquing


git-svn-id: svn://10.0.0.236/trunk@9095 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 02:10:44 +00:00
peterl%netscape.com
c285c5e211 COMified style rule interface
git-svn-id: svn://10.0.0.236/trunk@9094 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 02:09:43 +00:00
peterl%netscape.com
5c26a357cc sync to attribute container api change
git-svn-id: svn://10.0.0.236/trunk@9093 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 02:08:14 +00:00
peterl%netscape.com
c1e4733c3b added DTD mode
git-svn-id: svn://10.0.0.236/trunk@9092 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 02:07:42 +00:00
peterl%netscape.com
60f33a4ff1 reversed style sheet order in the set
added DTD mode


git-svn-id: svn://10.0.0.236/trunk@9091 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 02:06:39 +00:00
peterl%netscape.com
4c10477c7c added support for uniquing attr containers
git-svn-id: svn://10.0.0.236/trunk@9090 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 02:05:53 +00:00
peterl%netscape.com
61a871690c added support for uniquing attribute containers
git-svn-id: svn://10.0.0.236/trunk@9089 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 02:05:13 +00:00
peterl%netscape.com
f4f7396cb9 COMified some interfaces
git-svn-id: svn://10.0.0.236/trunk@9088 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 02:03:24 +00:00
peterl%netscape.com
48058fdd77 turned around doc style sheet order
git-svn-id: svn://10.0.0.236/trunk@9087 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 02:02:53 +00:00
peterl%netscape.com
704c2ac772 comment about style sheet ordering
git-svn-id: svn://10.0.0.236/trunk@9086 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 02:02:30 +00:00
peterl%netscape.com
9ff39fd8a4 reversed style sheet ordering in the set
git-svn-id: svn://10.0.0.236/trunk@9085 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 02:02:14 +00:00
peterl%netscape.com
6a5da9f5b6 comments on sheet/rule ordering
git-svn-id: svn://10.0.0.236/trunk@9084 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 02:00:24 +00:00
peterl%netscape.com
cdc1c65a3d COMified
git-svn-id: svn://10.0.0.236/trunk@9083 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 02:00:05 +00:00
peterl%netscape.com
65f20a2d5a changed HashCode to HashValue and fixed return type
git-svn-id: svn://10.0.0.236/trunk@9082 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 01:59:30 +00:00
akkana%netscape.com
7c2b2d86a6 new FE_EncodingDialog to match new API in edtutil.cpp
git-svn-id: svn://10.0.0.236/trunk@9081 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 01:39:39 +00:00
mcafee%netscape.com
ed5c09e2ca Solaris wants EOF character, added comment for #endif.
git-svn-id: svn://10.0.0.236/trunk@9080 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 01:35:54 +00:00
kipp%netscape.com
a19b11738f Added new atoms
git-svn-id: svn://10.0.0.236/trunk@9079 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 01:08:32 +00:00
kipp%netscape.com
ea7ccf3372 New content spanking to use new impl macros for attributes
git-svn-id: svn://10.0.0.236/trunk@9078 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 01:08:23 +00:00
kipp%netscape.com
03e3476df4 Added new source to the build
git-svn-id: svn://10.0.0.236/trunk@9077 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 01:08:15 +00:00
valeski%netscape.com
80669eb600 Adding layer of abstraction (via #defines) between netlib and file code (XP_File*). This will allow raptor to build with a different file implementation (nsINetFile) and no longer rely on XP_File*(). All XP_File*() routines were renamed to NET_XP_File*(). The #define to do the masking is mozilla/network/main/net_xp_file.h .
Aleks told me all I had to do in order to export net_xp_file.h on the mac was to include it in mozilla/network/main/manifest. I did that, so, if mac builds break in netlib, it's likely the exporting of the file isn't happening (I'm not sure of the state of manifest files anymore) and I don't have a mac. So if MAC BREAKS, please add the file to the mac project and check it in (thank you).

I'll be at 408.867.2701 or cell - 415.307.7101 tonight.


git-svn-id: svn://10.0.0.236/trunk@9076 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 01:00:42 +00:00
kipp%netscape.com
17c6dc528b new
git-svn-id: svn://10.0.0.236/trunk@9075 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 00:56:01 +00:00
cls%seawood.org
4fadfde870 Sync'd Makefile.ins
git-svn-id: svn://10.0.0.236/trunk@9074 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 00:54:34 +00:00
cls%seawood.org
6ba7c9234f Added blizzard@appliedtheory.com's patches for gnomefe and enable-pthreads.
git-svn-id: svn://10.0.0.236/trunk@9073 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 00:52:55 +00:00
cls%seawood.org
dafe049ebd Sync'd and moved GARBAGE before rules.mk.
git-svn-id: svn://10.0.0.236/trunk@9072 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 00:34:07 +00:00
rpotts%netscape.com
ca9ef3c2e8 Fixed return value from PerformNastyWindowsAsyncDNSHack(...)
git-svn-id: svn://10.0.0.236/trunk@9071 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 00:27:54 +00:00
slamm%netscape.com
034db9db1f Dynamically add items (previously we rebuilt the whole thing).
git-svn-id: svn://10.0.0.236/trunk@9070 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 00:26:27 +00:00
slamm%netscape.com
9bee1c7ae6 Add support for FE commands from RDF.
git-svn-id: svn://10.0.0.236/trunk@9069 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 00:26:24 +00:00
slamm%netscape.com
bb5aa010d4 Get rid of unused notification.
git-svn-id: svn://10.0.0.236/trunk@9068 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 00:26:21 +00:00
slamm%netscape.com
be1460ac84 Add const'ness to function.
git-svn-id: svn://10.0.0.236/trunk@9067 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 00:26:18 +00:00
slamm%netscape.com
f0d2463f35 Translate 'stop' to xfeCmdStopLoading (in addition to 'abort'). This is used by the RDF command translation.
git-svn-id: svn://10.0.0.236/trunk@9066 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 00:26:15 +00:00
beard%netscape.com
dd8e829ab2 Added call to np_UnloadPluginClass in NPL_Shutdown.
git-svn-id: svn://10.0.0.236/trunk@9065 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 23:57:50 +00:00
kostello%netscape.com
2a60b87633 Removed nsHTMLParts.cpp
git-svn-id: svn://10.0.0.236/trunk@9064 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 23:56:40 +00:00
beard%netscape.com
45912ca0ac Added call to NPL_Shutdown.
git-svn-id: svn://10.0.0.236/trunk@9063 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 23:55:59 +00:00
terry%netscape.com
2be4d8d00a Tell people that they have to "create database bugs;".
git-svn-id: svn://10.0.0.236/trunk@9062 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 23:55:45 +00:00
ltabb%netscape.com
0ec2537a01 added CalendarClient
git-svn-id: svn://10.0.0.236/trunk@9061 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 23:48:27 +00:00
sdagley%netscape.com
f6180ffc6f Fix #316690. Reviewed/approved aoki (in veditz's absence). Fix hard coded reference to "Netscape Registry" so that Mozilla uses its own "Navigator Regsitry".
git-svn-id: svn://10.0.0.236/trunk@9060 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 23:44:31 +00:00
despotdaemon%netscape.com
c90e52b4c2 Pseudo-automatic update of changes made by ltabb@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@9059 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 23:42:53 +00:00
kmcclusk%netscape.com
94082b87b8 More 8BIT visual support.
git-svn-id: svn://10.0.0.236/trunk@9058 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 23:22:49 +00:00
rods%netscape.com
04398eaf11 Cast mWidget to Widget
git-svn-id: svn://10.0.0.236/trunk@9057 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 23:21:38 +00:00
rods%netscape.com
5e494d6339 Fixed SetLabel and Get Label in nsDialog
git-svn-id: svn://10.0.0.236/trunk@9056 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 23:13:43 +00:00
rods%netscape.com
d2416e1378 Added Top 100
git-svn-id: svn://10.0.0.236/trunk@9055 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 22:49:58 +00:00
rods%netscape.com
119a854357 The statusbar is now sized via the LookAndFeel defaults
git-svn-id: svn://10.0.0.236/trunk@9054 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 22:49:16 +00:00
danm%netscape.com
d5e7ca614a save/restore toolbar collapsed state from RDF
git-svn-id: svn://10.0.0.236/trunk@9053 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 22:48:17 +00:00
rods%netscape.com
badc0769db Fixed an include and a few nsString defs
git-svn-id: svn://10.0.0.236/trunk@9052 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 22:48:08 +00:00
rods%netscape.com
566557a3f0 Added InstallColormap call to ConvertPixel
git-svn-id: svn://10.0.0.236/trunk@9051 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 22:44:17 +00:00
rods%netscape.com
05aeccd5ca Exported nsDeviceContentUnix.h its needed by nsWindow for SetForegroundColor
and SetBackgroundColor


git-svn-id: svn://10.0.0.236/trunk@9050 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 22:43:38 +00:00
guha%netscape.com
6332596a4d Fix extra comma problem --- (jgellman)
git-svn-id: svn://10.0.0.236/trunk@9049 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 22:43:32 +00:00
rods%netscape.com
76b95ee227 SetForegroundColor and SetBackground work properly
Enabled implemented


git-svn-id: svn://10.0.0.236/trunk@9048 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 22:42:13 +00:00
rods%netscape.com
9478439139 SetForegroundColor and SetBackground work properly
git-svn-id: svn://10.0.0.236/trunk@9047 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 22:41:39 +00:00
rpotts%netscape.com
d49946e886 Fixed build bustage due to NSRepository renaming...
git-svn-id: svn://10.0.0.236/trunk@9046 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 22:37:27 +00:00
pinkerton%netscape.com
d11dbb57ab Removing const on pass-by-value params.
git-svn-id: svn://10.0.0.236/trunk@9045 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 22:30:24 +00:00
akkana%netscape.com
08357fe683 Call new FE_EncodingDialog
git-svn-id: svn://10.0.0.236/trunk@9044 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 22:19:12 +00:00
guha%netscape.com
1f401e1f45 Bunch of bug fixes, etc. Reviewd by jgellman
git-svn-id: svn://10.0.0.236/trunk@9043 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 22:18:34 +00:00
clu%netscape.com
f5ddf2b63e I18N work for encoding menu (reviewed brade)
git-svn-id: svn://10.0.0.236/trunk@9042 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 22:15:46 +00:00
kmcclusk%netscape.com
c3aa4dba38 Add some 8-bit color support + removed bit conversion in nsImageUnix.cpp Draw.
git-svn-id: svn://10.0.0.236/trunk@9041 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 21:24:32 +00:00
cmanske%netscape.com
1b05ddb812 Added FE_EncodingDialog stub necessary for futher encoding work (and build won't crash!)
git-svn-id: svn://10.0.0.236/trunk@9040 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 21:09:30 +00:00
rods%netscape.com
05b008edf1 Added LookAndFeel
git-svn-id: svn://10.0.0.236/trunk@9039 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 21:08:32 +00:00
terry%netscape.com
110fe5a836 Patch inspired by Sam Ziegler <ziegler@mediaguaranty.com> -- deal
better with product names that have spaces or other weird stuff in them.


git-svn-id: svn://10.0.0.236/trunk@9038 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 21:01:44 +00:00
terry%netscape.com
8b1f3d52f9 Patch by Sam Ziegler <ziegler@mediaguaranty.com> -- add a handy link
to enter a new bug.


git-svn-id: svn://10.0.0.236/trunk@9037 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 21:01:10 +00:00
rods%netscape.com
acef905cbe Fixed small compiler error
git-svn-id: svn://10.0.0.236/trunk@9036 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 20:57:16 +00:00
rods%netscape.com
d4db10c832 Renamed the enums to be more compiliant with naming conventions,
Changed API to be XP_COM correct
Added eMetric_TextHeight enum


git-svn-id: svn://10.0.0.236/trunk@9035 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 20:54:39 +00:00
terry%netscape.com
eba879a8ca Use POST, not GET. Allow for boolean params.
git-svn-id: svn://10.0.0.236/trunk@9034 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 20:54:24 +00:00
danm%netscape.com
14d930dc6d add new toolbar properties, fix early freemem in HT_SetNodeData, bmkNotifFunc notifies for all unassertions regardless of property type. r:rjc
git-svn-id: svn://10.0.0.236/trunk@9033 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 20:51:45 +00:00
cyeh%netscape.com
f86d88868b Dates are implemented in the non-standard way of starting from 1904 instead of 1970. As a result, we must add back those lost years in order to get cross platform compatibility with other perl time implementations. Special thanks to Chris Nandor (pudge@pobox.com) for unsticking my brain and providing a rough conversion routine.
git-svn-id: svn://10.0.0.236/trunk@9032 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 20:41:45 +00:00
kmcclusk%netscape.com
e1725a42b9 Removed mouse debug printf.
git-svn-id: svn://10.0.0.236/trunk@9031 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 20:32:56 +00:00
pinkerton%netscape.com
593aba4abe back to the AM version.
git-svn-id: svn://10.0.0.236/trunk@9030 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 20:30:55 +00:00
kmcclusk%netscape.com
9a65fa5b1b Added support for 16-bit visuals.
git-svn-id: svn://10.0.0.236/trunk@9029 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 20:30:42 +00:00
dcone%netscape.com
11f76bfa6b Fixed mouseup messaging
git-svn-id: svn://10.0.0.236/trunk@9028 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 20:24:54 +00:00
cls%seawood.org
76268b0341 Sync'd.
git-svn-id: svn://10.0.0.236/trunk@9027 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 20:24:24 +00:00
pinkerton%netscape.com
96501b1fca turn on trust labels for mac.
git-svn-id: svn://10.0.0.236/trunk@9026 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 20:23:44 +00:00
cls%seawood.org
c20beab072 Added DOM changes.
git-svn-id: svn://10.0.0.236/trunk@9025 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 20:23:24 +00:00
pinkerton%netscape.com
71712134bd add mkaccess.h to dist
git-svn-id: svn://10.0.0.236/trunk@9024 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 20:22:23 +00:00
pinkerton%netscape.com
2214a2a3e7 turn on trust labels for mac and fix mac problem.
git-svn-id: svn://10.0.0.236/trunk@9023 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 20:22:11 +00:00
pinkerton%netscape.com
d9a4819ca7 turn on trust labels on mac.
git-svn-id: svn://10.0.0.236/trunk@9022 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 20:21:19 +00:00
bjorn%netscape.com
7b045fdab6 Added compare-and-swap patches for AIX (_check_lock) and Solaris (stbar).
git-svn-id: svn://10.0.0.236/trunk@9021 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 20:21:11 +00:00
pinkerton%netscape.com
3263b3a8ac use function to get at global image cache.
git-svn-id: svn://10.0.0.236/trunk@9020 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 20:20:29 +00:00
kostello%netscape.com
85648460a7 Added nsHTMLBody.cpp, nsHTMLDList.cpp, nsHTMLDel.cpp, nsHTMLDirectory.cpp, nsHTMLDiv.cpp
git-svn-id: svn://10.0.0.236/trunk@9019 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 20:20:06 +00:00
pinkerton%netscape.com
767b0ee7b1 pull out unused lines.
git-svn-id: svn://10.0.0.236/trunk@9018 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 20:19:53 +00:00
pinkerton%netscape.com
fb40581e50 making RefreshRowRange const.
git-svn-id: svn://10.0.0.236/trunk@9017 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 20:19:34 +00:00
pinkerton%netscape.com
61cec2f531 making stuff const, making other stuff non-virtual.
git-svn-id: svn://10.0.0.236/trunk@9016 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 20:19:14 +00:00
pinkerton%netscape.com
b34a4917dc use new function to get global.
git-svn-id: svn://10.0.0.236/trunk@9015 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 20:18:23 +00:00
pinkerton%netscape.com
828552e105 Renaming class to CImageCache because that's what it is.
git-svn-id: svn://10.0.0.236/trunk@9014 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 20:18:10 +00:00
pinkerton%netscape.com
887b5a178a Making some more stuff const.
git-svn-id: svn://10.0.0.236/trunk@9013 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 20:17:46 +00:00
pinkerton%netscape.com
8c86df56bf Added CProgressCaption
git-svn-id: svn://10.0.0.236/trunk@9012 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 20:17:11 +00:00
pinkerton%netscape.com
b257b57e1b updated for new CProgressCaption.
git-svn-id: svn://10.0.0.236/trunk@9011 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 20:16:59 +00:00
pinkerton%netscape.com
4e5e360aa2 updated for new CProgressCaption
git-svn-id: svn://10.0.0.236/trunk@9010 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 20:16:43 +00:00
pinkerton%netscape.com
4c0e52f3e9 fix some code for offline to use the new progress bar class.
git-svn-id: svn://10.0.0.236/trunk@9009 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 20:14:08 +00:00
pinkerton%netscape.com
b43dcc8fd2 New progress bar based on AM.
git-svn-id: svn://10.0.0.236/trunk@9008 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 20:13:48 +00:00
pinkerton%netscape.com
abcc2d45a0 Registering some AM classes for the progress bar and removing obsolete ones we wrong ourselves.
git-svn-id: svn://10.0.0.236/trunk@9007 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 20:13:10 +00:00
pinkerton%netscape.com
186be1466f Removed CProgressBar and CPatternProgressBar because CProgressCaption replaces it.
git-svn-id: svn://10.0.0.236/trunk@9006 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 20:12:34 +00:00
pinkerton%netscape.com
3c3fb4e000 splash screen to match windows.
git-svn-id: svn://10.0.0.236/trunk@9005 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 20:11:09 +00:00
pinkerton%netscape.com
a1a2c8e6de Redundant implementation (lib/mac/UserInterface is the good one).
git-svn-id: svn://10.0.0.236/trunk@9004 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 20:10:25 +00:00
gagan%netscape.com
4835fef626 Changes from NuCache. Should'nt affect the build.
git-svn-id: svn://10.0.0.236/trunk@9003 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 20:00:07 +00:00
cls%seawood.org
fd1035a222 Fixed problems with parallel make.
git-svn-id: svn://10.0.0.236/trunk@9002 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 19:50:28 +00:00
cls%seawood.org
f4db6709de Added ifdef OJI around JVMPlugin define
git-svn-id: svn://10.0.0.236/trunk@9001 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 19:45:35 +00:00
valeski%netscape.com
ed5f2fad9f xp_dir to pr_dir
git-svn-id: svn://10.0.0.236/trunk@8999 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 19:18:00 +00:00
vidur%netscape.com
9eb23637ff Proper shutdown of JS engine
git-svn-id: svn://10.0.0.236/trunk@8998 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 19:13:36 +00:00
kipp%netscape.com
ad009e1438 Added new source to build
git-svn-id: svn://10.0.0.236/trunk@8997 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 19:13:02 +00:00
kipp%netscape.com
dcc313a3b7 Added new methods
git-svn-id: svn://10.0.0.236/trunk@8996 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 19:10:14 +00:00
akkana%netscape.com
d1fff060c6 New FE encoding dialog
git-svn-id: svn://10.0.0.236/trunk@8995 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 19:09:28 +00:00
kipp%netscape.com
5db3c8ded9 Added new files to build
git-svn-id: svn://10.0.0.236/trunk@8994 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 19:08:44 +00:00
kipp%netscape.com
3f4b2f7d99 Fixed boolean handling in hr
git-svn-id: svn://10.0.0.236/trunk@8993 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 19:08:36 +00:00
kipp%netscape.com
c4f158b374 new
git-svn-id: svn://10.0.0.236/trunk@8992 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 19:07:50 +00:00
akkana%netscape.com
61e70e439f Type and prototype for new FE encoding dialog
git-svn-id: svn://10.0.0.236/trunk@8991 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 19:07:27 +00:00
valeski%netscape.com
c66827cc8b adding net_xp_file.h to the list of exports
git-svn-id: svn://10.0.0.236/trunk@8990 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 18:59:17 +00:00
valeski%netscape.com
f217d60eb4 this file adds a level of abstraction between netlib and xp_file routines.
git-svn-id: svn://10.0.0.236/trunk@8989 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 18:55:22 +00:00
mjudge%netscape.com
edb5d85d3c Ender reload and new toolbar code
git-svn-id: svn://10.0.0.236/trunk@8988 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 18:53:36 +00:00
mjudge%netscape.com
bcc969ba8d more Ender things... Reload ect.
git-svn-id: svn://10.0.0.236/trunk@8987 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 18:52:52 +00:00
mjudge%netscape.com
f774effd17 Reload for Ender
git-svn-id: svn://10.0.0.236/trunk@8986 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 18:52:11 +00:00
mjudge%netscape.com
b55d68ba95 Fixes for ender to beat 9-1 reviewed winfe specific changes from Bill Law
git-svn-id: svn://10.0.0.236/trunk@8985 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 18:51:22 +00:00
ftang%netscape.com
d40148503c check in RDF UTF8 drawing, reviewed by hyatt severl days ago
git-svn-id: svn://10.0.0.236/trunk@8984 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 18:50:05 +00:00
scc%netscape.com
7ec8f8f604 Added a constructor from SPaneInfo and SViewInfo instead of an LStream; factored behavior from constructors into |common_initialization()|
git-svn-id: svn://10.0.0.236/trunk@8983 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 18:42:52 +00:00
scc%netscape.com
4444e89bbc new method |AddBar| as with RDF, not all bars come from the construction stream; also fixed routines that expected all bars to exist instantly to be a little more forgiving
git-svn-id: svn://10.0.0.236/trunk@8982 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 18:41:28 +00:00
scc%netscape.com
d7f0325595 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@8981 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 18:39:08 +00:00
buster%netscape.com
f79492b78c empty rows now handled properly
git-svn-id: svn://10.0.0.236/trunk@8980 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 17:49:05 +00:00
despotdaemon%netscape.com
925fbc076c Pseudo-automatic update of changes made by rogerl@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@8979 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 17:34:16 +00:00
rods%netscape.com
6d66f71fcf Removed some windows specific code and changed to xp code.
git-svn-id: svn://10.0.0.236/trunk@8978 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 16:29:05 +00:00
rods%netscape.com
4543df6c4b Changed the Windows platform specific dialogs to cross platform dialogs
git-svn-id: svn://10.0.0.236/trunk@8977 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 16:15:16 +00:00
despotdaemon%netscape.com
4e885a8ae1 Pseudo-automatic update of changes made by shaver@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@8976 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 16:05:55 +00:00
kostello%netscape.com
de53dbf358 Added new content objects to project file:
nsHTMLArea
nsHTMLBaseFont
nsHTMLInput
nsHTMLLink
nsHTMLParam
nsHTMLScript
nsHTMLStyle


git-svn-id: svn://10.0.0.236/trunk@8975 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 15:30:45 +00:00
rods%netscape.com
1e8647294a Added nsDialog
git-svn-id: svn://10.0.0.236/trunk@8974 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 15:29:47 +00:00
rods%netscape.com
25d3af84a1 Added the managed widget to make it work.
git-svn-id: svn://10.0.0.236/trunk@8973 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 15:28:40 +00:00
terry%netscape.com
72367ff251 Use the "urlbase" param. Make regeneration easier.
git-svn-id: svn://10.0.0.236/trunk@8972 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 14:02:13 +00:00
shaver%netscape.com
8b8a2d4790 don't call layout from the mocha thread, and other progress
git-svn-id: svn://10.0.0.236/trunk@8971 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 12:54:17 +00:00
shaver%netscape.com
eb8ec7d6d1 fix dumb typo (how embarrassing)
git-svn-id: svn://10.0.0.236/trunk@8970 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 12:52:30 +00:00
shaver%netscape.com
00bff720d0 if throwing, cx->exception is a valid root
git-svn-id: svn://10.0.0.236/trunk@8969 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 12:38:59 +00:00
ramiro%netscape.com
39c80534b0 Add XfeTopShadowColor() and XfeBottomShadowColor().
git-svn-id: svn://10.0.0.236/trunk@8968 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 08:26:03 +00:00
ramiro%netscape.com
5cf0cf98f7 Add virtual functions getFGPixel() getBGPixel() getTopShadowPixel()
getBottomShadowPixel().


git-svn-id: svn://10.0.0.236/trunk@8967 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 08:24:40 +00:00
ramiro%netscape.com
1a13e6103c Protect the usage of m_toplevel with XP_ASSERT().
git-svn-id: svn://10.0.0.236/trunk@8966 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 08:23:37 +00:00
rpotts%netscape.com
b1f6a2ce4b Added a new windows-only subdirectory called embed/AcviveX which contains an ActiveX wrapper control for NGLayout
git-svn-id: svn://10.0.0.236/trunk@8965 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 08:07:56 +00:00
nisheeth%netscape.com
8252421f26 Fix for bug# 313278. Random links on the page were unclickable.
The problem was that the width and height of the dummy floating element that gets appended to the line list were not being initialized to 0 in lo_AppendFloatToLineList() and was
fooling the selection code into thinking that the floating element is insanely large.
So, the link wasn't being returned to the FE when you moused over it.


git-svn-id: svn://10.0.0.236/trunk@8964 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 05:40:50 +00:00
terry%netscape.com
51c3eedb87 Oh, gee, djw doesn't work here anymore, and doesn't own the Layout
module anymore.  Whoops.

I gotta make all our "lists of owners" sync'd together...


git-svn-id: svn://10.0.0.236/trunk@8963 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 04:58:10 +00:00
terry%netscape.com
ad73b379e6 Fixed bug #541 -- sorting by "assignee" now works.
git-svn-id: svn://10.0.0.236/trunk@8962 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 04:41:58 +00:00
warren%netscape.com
0440512d07 Removed secstubn.h for mac build.
git-svn-id: svn://10.0.0.236/trunk@8961 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 04:35:11 +00:00
terry%netscape.com
865baefe82 Added parameters to specify the HTML that goes at the top of every
page.  The banner.html and blurb.html files are now obsolete!


git-svn-id: svn://10.0.0.236/trunk@8960 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 04:33:37 +00:00
terry%netscape.com
1732adfa07 Whine at people who haven't been checking their NEW bugs.
git-svn-id: svn://10.0.0.236/trunk@8959 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 04:22:32 +00:00
terry%netscape.com
fcf05717c4 Allow editing of parameters via a web page.
git-svn-id: svn://10.0.0.236/trunk@8958 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 04:21:45 +00:00
warren%netscape.com
6a09708500 Changed c++ comments for inclusion in c files.
git-svn-id: svn://10.0.0.236/trunk@8957 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 04:15:07 +00:00
warren%netscape.com
d3527a8a0b Added xpcom dependency.
git-svn-id: svn://10.0.0.236/trunk@8956 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 03:30:59 +00:00
jgellman%netscape.com
2f90c9532f remove bogus assertions
git-svn-id: svn://10.0.0.236/trunk@8955 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 03:26:16 +00:00
warren%netscape.com
937ce00468 Added requires for xpcom.
git-svn-id: svn://10.0.0.236/trunk@8954 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 02:45:39 +00:00
warren%netscape.com
8f61f8eb54 Added requires for oji and ojiimpl
git-svn-id: svn://10.0.0.236/trunk@8953 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 01:59:14 +00:00
terry%netscape.com
29bafb193c Fix up NPL and comments that cls%seawood.org horked.
git-svn-id: svn://10.0.0.236/trunk@8952 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 01:41:07 +00:00
terry%netscape.com
f2de337030 Fix up indentation that cls%seawood.org horked.
git-svn-id: svn://10.0.0.236/trunk@8951 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 01:40:24 +00:00
kipp%netscape.com
bcae082904 Added some style rules for new content objects
git-svn-id: svn://10.0.0.236/trunk@8950 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 01:37:43 +00:00
kipp%netscape.com
887320a8d2 Implement NS_CreateHTMLElement using same code that content sink uses; create various and sundry new content objects
git-svn-id: svn://10.0.0.236/trunk@8949 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 01:37:17 +00:00
kipp%netscape.com
bfcb0c92bc Stop building nsHTMLParts.cpp (obsolete)
git-svn-id: svn://10.0.0.236/trunk@8948 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 01:36:39 +00:00
kipp%netscape.com
9a73352750 Moved over more attribute parsing routines
git-svn-id: svn://10.0.0.236/trunk@8947 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 01:36:11 +00:00
kipp%netscape.com
8fe9b5e86a Added new source files
git-svn-id: svn://10.0.0.236/trunk@8946 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 01:35:34 +00:00
kipp%netscape.com
a716f18685 Revised factory method argument order (normalized)
git-svn-id: svn://10.0.0.236/trunk@8945 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 01:35:19 +00:00
kipp%netscape.com
2e717f67f3 Added missing atoms
git-svn-id: svn://10.0.0.236/trunk@8944 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 01:34:32 +00:00
kipp%netscape.com
ade8b21e54 Added factory method names for all the new content objects
git-svn-id: svn://10.0.0.236/trunk@8943 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 01:33:19 +00:00
kipp%netscape.com
a1599a84e2 added new atoms
git-svn-id: svn://10.0.0.236/trunk@8942 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 01:32:58 +00:00
kipp%netscape.com
0435e1c021 Unset boolean attributes (noshade)
git-svn-id: svn://10.0.0.236/trunk@8941 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 01:32:05 +00:00
kipp%netscape.com
7528331669 Twiddled object frame argument order
git-svn-id: svn://10.0.0.236/trunk@8940 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 01:31:50 +00:00
cyeh%netscape.com
42e5816d97 FTSO MacPerl. Dates are implemented in the non-standard way of starting from 1904 instead of 1970. As a result, we must add back those lost years in order to get cross platform compatibility with other perl time implementations. Please shoot me.
git-svn-id: svn://10.0.0.236/trunk@8939 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 01:31:32 +00:00
kipp%netscape.com
77788c00a0 new content version
git-svn-id: svn://10.0.0.236/trunk@8938 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 01:31:20 +00:00
kipp%netscape.com
663af9cca3 new
git-svn-id: svn://10.0.0.236/trunk@8937 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 01:27:08 +00:00
beard%netscape.com
2e03ecb2b3 Fixed nsRepository exports, and return type signature change for nsHashtable::Enumerate() which used to return int, and now returns void.
git-svn-id: svn://10.0.0.236/trunk@8936 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 01:23:54 +00:00
beard%netscape.com
752f4aefc8 Moved Checking nsServiceManager.cpp into the xpcom - src folder.
git-svn-id: svn://10.0.0.236/trunk@8935 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 01:22:23 +00:00
terry%netscape.com
0dbb7eb2fd Do some simple sanity checks.
git-svn-id: svn://10.0.0.236/trunk@8934 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 01:20:36 +00:00
warren%netscape.com
b6420f1ff6 Added ojiimpl requirement for jvmmgr.h
git-svn-id: svn://10.0.0.236/trunk@8933 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 01:19:59 +00:00
mccabe%netscape.com
cead6ec411 restore npl.
git-svn-id: svn://10.0.0.236/trunk@8932 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 01:16:45 +00:00
mccabe%netscape.com
f3c665324e More runtime errors now bound to exceptions.
Most of these will require a second look, but I wanted to get all of
them (that need exceptions) throwing something interesting.


git-svn-id: svn://10.0.0.236/trunk@8931 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 01:15:16 +00:00
cls%seawood.org
15cbb4eeb5 A few fixes to allow things to work relatively out of the box.
git-svn-id: svn://10.0.0.236/trunk@8930 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 01:14:20 +00:00
pierre%netscape.com
1892f9e030 enable debugger
git-svn-id: svn://10.0.0.236/trunk@8929 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 01:12:58 +00:00
pierre%netscape.com
716b9901a9 Make aliases of sample files.
(closed tree override: raptor checkin only)


git-svn-id: svn://10.0.0.236/trunk@8928 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 01:12:34 +00:00
cls%seawood.org
50516e8f79 Make a couple of tweaks to allow complete admin (expect setting passwd) via webpages.
git-svn-id: svn://10.0.0.236/trunk@8927 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 01:11:34 +00:00
cls%seawood.org
31a4d80bf5 Initial version
git-svn-id: svn://10.0.0.236/trunk@8926 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 01:09:43 +00:00
despotdaemon%netscape.com
6e43d75756 Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@8925 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 00:59:46 +00:00
cyeh%netscape.com
7998ef60b2 we need a mac specific version of set-timebomb.pl. how annoying.
git-svn-id: svn://10.0.0.236/trunk@8923 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 00:30:17 +00:00
warren%netscape.com
d623edaca1 Renamed NSRepository to nsRepository.
git-svn-id: svn://10.0.0.236/trunk@8922 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 00:26:28 +00:00
warren%netscape.com
59dcb2a7df Added closure argument to nsHashtable::Enumerate. Renamed NSRepository to nsRepository.
git-svn-id: svn://10.0.0.236/trunk@8921 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 00:23:47 +00:00
warren%netscape.com
7730de5796 Changes for lazy java initialization.
git-svn-id: svn://10.0.0.236/trunk@8920 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 00:23:43 +00:00
warren%netscape.com
8fc72c0a4b Fixed Create to work with new nsAgg.h
git-svn-id: svn://10.0.0.236/trunk@8919 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 00:17:49 +00:00
warren%netscape.com
226ae1a7bb Changed NSServiceManager to nsServiceManager.
git-svn-id: svn://10.0.0.236/trunk@8918 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 00:17:47 +00:00
warren%netscape.com
324484e756 Made QI try the current object delegating to outer. Removed QI for kISupportsIID (which returned Internal). Added nsIOuter interfacewhich allows for notification of child release.
git-svn-id: svn://10.0.0.236/trunk@8917 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 00:17:28 +00:00
warren%netscape.com
78dddd29b1 Added FindProxyForURL.
git-svn-id: svn://10.0.0.236/trunk@8916 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 00:17:25 +00:00
warren%netscape.com
c2d6c41bed Added PR_DestroyLogModule.
git-svn-id: svn://10.0.0.236/trunk@8915 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 00:17:18 +00:00
warren%netscape.com
da4ceaa4fd Made counts be unsigned.
git-svn-id: svn://10.0.0.236/trunk@8914 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 00:17:09 +00:00
warren%netscape.com
99cc319bb3 Fixed signature of Write method.
git-svn-id: svn://10.0.0.236/trunk@8913 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 00:17:01 +00:00
warren%netscape.com
ef858a1b5a Replaced some Java error strings with OJI error strings.
git-svn-id: svn://10.0.0.236/trunk@8912 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 00:16:57 +00:00
warren%netscape.com
62c0a73a69 Added AWT_11 to NSJVM builds.
git-svn-id: svn://10.0.0.236/trunk@8911 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 00:16:53 +00:00
warren%netscape.com
24b7d5e489 Added closure argument to nsHashtable::Enumerate.
git-svn-id: svn://10.0.0.236/trunk@8910 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 00:16:47 +00:00
warren%netscape.com
6f46cc2695 Changes for lazy java initialization.
git-svn-id: svn://10.0.0.236/trunk@8909 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 00:16:08 +00:00
cyeh%netscape.com
1a58709bfd updated examples that are cleaner and multiple platform friendly.
git-svn-id: svn://10.0.0.236/trunk@8908 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 00:08:02 +00:00
leaf%mozilla.org
711e1f40e4 Added timebomb setting for MOZILLA_OFFICIAL builds
git-svn-id: svn://10.0.0.236/trunk@8907 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 00:02:58 +00:00
leaf%mozilla.org
e25b1dc5b6 Included the config directory if MOZILLA_OFFICIAL is set
git-svn-id: svn://10.0.0.236/trunk@8906 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-01 00:02:11 +00:00
beard%netscape.com
ce8cf140f2 The equals method isn't native in the Mozilla tree.
git-svn-id: svn://10.0.0.236/trunk@8905 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-31 23:39:51 +00:00
beard%netscape.com
005646cae3 Changed JavaPackage_resolve so that it doesn't return immediately if quiet_resolve_failure is true. Otherwise, pre_define_java_packages fails.
git-svn-id: svn://10.0.0.236/trunk@8904 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-31 23:39:04 +00:00
cyeh%netscape.com
1dd4359338 i hate it when i fuck up
git-svn-id: svn://10.0.0.236/trunk@8903 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-31 23:27:51 +00:00
cyeh%netscape.com
c3c997183a added support for automagically setting timebombs in the build. only used for mozilla official builds, shouldn't affect anything. (famous last words i know)
git-svn-id: svn://10.0.0.236/trunk@8902 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-31 22:54:56 +00:00
cyeh%netscape.com
1e3714bd28 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@8901 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-31 22:51:26 +00:00
shaver%netscape.com
e413d25e7d JS_InternString is volatile, so I'll avoid its use
git-svn-id: svn://10.0.0.236/trunk@8900 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-31 22:46:06 +00:00
dcone%netscape.com
5e8902c242 fixed the mouse enter and exit routines
git-svn-id: svn://10.0.0.236/trunk@8899 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-31 22:42:44 +00:00
dcone%netscape.com
35560b569a fixed update action
git-svn-id: svn://10.0.0.236/trunk@8898 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-31 22:42:06 +00:00
shaver%netscape.com
34f95bbbdd update NodeOps APIs
git-svn-id: svn://10.0.0.236/trunk@8897 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-31 22:32:57 +00:00
shaver%netscape.com
3c890f1602 avoid dangerous JS_InternString call, and update NodeOps APIs
git-svn-id: svn://10.0.0.236/trunk@8896 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-31 22:31:44 +00:00
kipp%netscape.com
cf548d3884 Make sure we don't run off the end of the string when translating entities in attribute values
git-svn-id: svn://10.0.0.236/trunk@8895 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-31 22:00:04 +00:00
rods%netscape.com
8c7e275201 Fixed several crash bugs in Find
git-svn-id: svn://10.0.0.236/trunk@8894 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-31 21:56:57 +00:00
rickg%netscape.com
31ccae0cec fixed a few infinite loops in new DTD code
git-svn-id: svn://10.0.0.236/trunk@8893 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-31 21:52:47 +00:00
dcone%netscape.com
f8fe2acdde tracking updates
git-svn-id: svn://10.0.0.236/trunk@8892 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-31 21:50:59 +00:00
dcone%netscape.com
f0e842dc4a fixed some update and drawing routines
git-svn-id: svn://10.0.0.236/trunk@8891 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-31 21:50:36 +00:00
dcone%netscape.com
726f629ae1 Re-wrote the drawing routines for this widget
git-svn-id: svn://10.0.0.236/trunk@8890 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-31 21:49:49 +00:00
cyeh%netscape.com
19a361f674 add timebomb perl script to mac pull
git-svn-id: svn://10.0.0.236/trunk@8889 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-31 21:28:39 +00:00
buster%netscape.com
cb664f26da reimplemented cell map in terms of nsVoidArrays for incremental building.
the cellmap is now built incrementally, driven by nsTableRowFrame::InitialReflow


git-svn-id: svn://10.0.0.236/trunk@8888 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-31 21:23:28 +00:00
cyeh%netscape.com
afe1ba95d3 change tool call from perl5 to perl, so that i can actually build
on my primary linux machine. this is purely a selfish change, and only
enabled for official type builds.

reviewed: cyeh. approved: cyeh


git-svn-id: svn://10.0.0.236/trunk@8887 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-31 21:19:04 +00:00
terry%netscape.com
145536c5fa Patch by Sam Ziegler <ziegler@mediaguaranty.com> -- was crashing if
you have exactly one product defined.  Oops!


git-svn-id: svn://10.0.0.236/trunk@8886 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-31 20:41:13 +00:00
terry%netscape.com
da880edc7c Patch by Sam Ziegler <ziegler@mediaguaranty.com> -- do some sanity
checking on the list of column names we're given.


git-svn-id: svn://10.0.0.236/trunk@8885 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-31 20:38:47 +00:00
warren%netscape.com
1ce76af0e9 Added jsj_JavaMember.c (Changes from SpiderMonkey131_BRANCH of js/ref/liveconnect.)
git-svn-id: svn://10.0.0.236/trunk@8884 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-31 20:17:31 +00:00
beard%netscape.com
72cd4eeaee Changes from SpiderMonkey131_BRANCH of ns/ref/liveconnect.
git-svn-id: svn://10.0.0.236/trunk@8883 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-31 20:15:32 +00:00
beard%netscape.com
721a9a478f Added jsj_JavaMember.c (Changes from SpiderMonkey131_BRANCH of ns/ref/liveconnect.)
git-svn-id: svn://10.0.0.236/trunk@8882 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-31 20:12:42 +00:00
spider%netscape.com
d5529afe80 Updates for new XPCOM interface changes to the font metrics
git-svn-id: svn://10.0.0.236/trunk@8881 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-31 20:11:08 +00:00
spider%netscape.com
44eb3af0f3 Adding netlib to the deps for nsIURL.h
git-svn-id: svn://10.0.0.236/trunk@8880 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-31 20:10:40 +00:00
kostello%netscape.com
08848b2e92 Added nsHTMLBR.cpp to project file
git-svn-id: svn://10.0.0.236/trunk@8879 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-31 19:53:21 +00:00
kostello%netscape.com
142620bced These changes match the Windows/Unix changes to methods to take a parameter instead of returning a value.
git-svn-id: svn://10.0.0.236/trunk@8876 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-31 19:09:55 +00:00
kostello%netscape.com
d599cef011 Add nsIDialog.h and nsILabel.h to MANIFEST
git-svn-id: svn://10.0.0.236/trunk@8875 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-31 19:00:38 +00:00
kipp%netscape.com
5bba47b39c Use new SetAttr API
git-svn-id: svn://10.0.0.236/trunk@8874 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-31 18:44:11 +00:00
kipp%netscape.com
bc26d54909 Use NS_NewHTMLBR to create BR content objects
git-svn-id: svn://10.0.0.236/trunk@8873 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-31 18:40:39 +00:00
kipp%netscape.com
6efc1700b6 Added NS_NewHTMLBR
git-svn-id: svn://10.0.0.236/trunk@8872 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-31 18:40:16 +00:00
kipp%netscape.com
fe9e562295 Removed old content code
git-svn-id: svn://10.0.0.236/trunk@8871 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-31 18:40:03 +00:00
kipp%netscape.com
fe08b8a496 Use new SetAttr API; implement (cheesy) version of new SetAttr entry points
git-svn-id: svn://10.0.0.236/trunk@8870 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-31 18:39:46 +00:00
kipp%netscape.com
a71e2703a2 Define new SetAttr api
git-svn-id: svn://10.0.0.236/trunk@8869 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-31 18:39:13 +00:00
kipp%netscape.com
255014182e Use new SetAttr API
git-svn-id: svn://10.0.0.236/trunk@8868 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-31 18:38:53 +00:00
kipp%netscape.com
e209c98eab Added new source file
git-svn-id: svn://10.0.0.236/trunk@8867 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-31 18:38:37 +00:00
kipp%netscape.com
6a4a0f9c36 new
git-svn-id: svn://10.0.0.236/trunk@8866 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-31 18:38:27 +00:00
kipp%netscape.com
5c7786f39f Added entity reduction for attributes; fixed a bug with incremental loading that would cause some content to seemingly disappear
git-svn-id: svn://10.0.0.236/trunk@8865 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-31 17:51:32 +00:00
ebina%netscape.com
2fd7cc20b7 Transfer encoded gzip streams were sent to this converter, but the
transfer-encoding was never removed from the URL structure, causing
infinite recursion.  This fixes that bug.


git-svn-id: svn://10.0.0.236/trunk@8864 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-31 16:31:12 +00:00
kipp%netscape.com
a7b4e24cf4 Fixed porting bug when porting to xpcom'd nsIContent API
git-svn-id: svn://10.0.0.236/trunk@8863 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-31 16:09:06 +00:00
dcone%netscape.com
4470edff4a fixed some updating problems
git-svn-id: svn://10.0.0.236/trunk@8862 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-31 15:14:48 +00:00
dcone%netscape.com
b33d20d927 update fix
git-svn-id: svn://10.0.0.236/trunk@8861 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-31 15:10:01 +00:00
dcone%netscape.com
85b4a44fb1 fixed updating
git-svn-id: svn://10.0.0.236/trunk@8860 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-31 15:08:46 +00:00
ramiro%netscape.com
8843e8b87e Replace duplicate functions fe_GravityCorrectForms() and fe_ScrollForms() with
XfeMoveChildrenByOffset().


git-svn-id: svn://10.0.0.236/trunk@8859 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-31 14:30:56 +00:00
ramiro%netscape.com
fcf525416f Make sure the debug event comments are printed only for slamm.
git-svn-id: svn://10.0.0.236/trunk@8858 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-31 14:14:59 +00:00
ramiro%netscape.com
768c0e1048 Workaround for broken automated browser tests.
git-svn-id: svn://10.0.0.236/trunk@8857 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-31 14:10:50 +00:00
mccabe%netscape.com
a7b8207a95 Further runtime error work... expose many new errors as catchable
exceptions.  Mostly syntax errors, so far.  Fixed missing #if
JS_HAS_ERROR_EXCEPTIONS


git-svn-id: svn://10.0.0.236/trunk@8856 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-31 09:49:43 +00:00
mccabe%netscape.com
1cf03b53f5 Added a call to js_ErrorToException to
the compile-error reporting mechanism,
providing a way to associate exceptions
(very likely SyntaxError exceptions)
with compile-time errors.

(Hopefully this is temporary, as I'd
prefer one central place in the
error-reporting process to put the
js_ErrorToException call.)

Also changed the error reporter in js.c
to only ignore error reports marked with
the JSREPORT_EXCEPTION advisory flag when
the error occurs during javascript execution.

If it's at the toplevel compilation
level, then the error is still reported
(and the exception discarded.)

The api is feeling slightly dirtier, but
it still seems like the best
compromise...


git-svn-id: svn://10.0.0.236/trunk@8855 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-31 08:17:40 +00:00
mccabe%netscape.com
d4a8ee886c Added jsmsg.def to the list of files used by the
'make tar' target.


git-svn-id: svn://10.0.0.236/trunk@8854 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-31 07:33:13 +00:00
mccabe%netscape.com
e02c67ff07 Made the enum JSErrNum into a typedef
enum JSErrNum, and changed a uintN
errorNumber declaration to JSErrNum.

It'd be nice to change the uintN
errorNumber field in JSErrorReport to
JSErrNum, but it's not clear that
JSErrNum is or should be exposed in the
API.  Any C esthetes want to offer their
opinions?

It made my debugger slightly happier.


git-svn-id: svn://10.0.0.236/trunk@8853 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-31 07:07:26 +00:00
cls%seawood.org
a10067bd62 More fixes.
git-svn-id: svn://10.0.0.236/trunk@8852 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-31 03:57:13 +00:00
cls%seawood.org
0aee1faed1 Fixed problem with file permissions not being set.
git-svn-id: svn://10.0.0.236/trunk@8851 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-31 03:33:55 +00:00
ddrinan%netscape.com
e365a381c6 Set NETSCAPE_OFFICIAL in order to trigger the perl script that generates the Cartman hooks
git-svn-id: svn://10.0.0.236/trunk@8850 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-31 02:49:51 +00:00
cls%seawood.org
2c89e09d03 Made the people:who field large enough for username%domain
git-svn-id: svn://10.0.0.236/trunk@8849 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-31 01:08:41 +00:00
troy%netscape.com
fd0d7ccb59 Changes nsIView and nsIScrollableView interfaces to conform to
XPCOM conventions


git-svn-id: svn://10.0.0.236/trunk@8848 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-30 19:16:11 +00:00
morse%netscape.com
e72a6e6400 fix bustage on all platforms
git-svn-id: svn://10.0.0.236/trunk@8847 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-30 16:42:20 +00:00
morse%netscape.com
7c4dc96e03 still trying to fix up mac
git-svn-id: svn://10.0.0.236/trunk@8846 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-30 15:59:53 +00:00
morse%netscape.com
0c4eb3452c one more attempt to clean up mac build
git-svn-id: svn://10.0.0.236/trunk@8845 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-30 15:43:56 +00:00
morse%netscape.com
9787972139 disable trust labels for mac
git-svn-id: svn://10.0.0.236/trunk@8844 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-30 13:55:38 +00:00
morse%netscape.com
2b8a3458a8 I give up, backing out trust labels
git-svn-id: svn://10.0.0.236/trunk@8843 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-30 08:49:56 +00:00
morse%netscape.com
ea58f0d336 giving up on mac for now, backing out some but not all of the changes
git-svn-id: svn://10.0.0.236/trunk@8842 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-30 07:09:27 +00:00
morse%netscape.com
e03f574b38 another attempt to fix linux bustage
git-svn-id: svn://10.0.0.236/trunk@8841 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-30 06:46:25 +00:00
morse%netscape.com
115715a1d8 attempt to fix build bustage on Sun in gromit tinderbox
git-svn-id: svn://10.0.0.236/trunk@8840 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-30 06:10:12 +00:00
morse%netscape.com
fbfaab83ad fix compile error
git-svn-id: svn://10.0.0.236/trunk@8839 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-30 06:01:22 +00:00
morse%netscape.com
ba2b3e9469 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@8838 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-30 05:54:08 +00:00
morse%netscape.com
4768c7b5e1 second attempt to fix linux bustage on gromit
git-svn-id: svn://10.0.0.236/trunk@8837 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-30 05:47:25 +00:00
morse%netscape.com
66e6aa031c attempt to fix bustage on the mac
git-svn-id: svn://10.0.0.236/trunk@8836 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-30 05:09:35 +00:00
morse%netscape.com
5dcb038fa0 attempt to fix linux bustage on gromit
git-svn-id: svn://10.0.0.236/trunk@8835 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-30 04:49:13 +00:00
morse%netscape.com
6d2505f53f added trust labels
git-svn-id: svn://10.0.0.236/trunk@8834 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-30 03:40:51 +00:00
morse%netscape.com
4f44efb156 mkaccess.h
git-svn-id: svn://10.0.0.236/trunk@8833 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-30 03:23:42 +00:00
morse%netscape.com
1ad2e68e4b fixed background color on signon viewer
git-svn-id: svn://10.0.0.236/trunk@8832 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-30 03:22:40 +00:00
morse%netscape.com
e2077b95a4 added string for cookie management
git-svn-id: svn://10.0.0.236/trunk@8831 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-30 03:21:00 +00:00
leaf%mozilla.org
c18bed5a9b removed the offending _jri entry
git-svn-id: svn://10.0.0.236/trunk@8830 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-30 00:12:52 +00:00
shaver%netscape.com
bdaf9a8ddf don't use JS_InternString for now -- weird crash in JS_AtomizeString
git-svn-id: svn://10.0.0.236/trunk@8829 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-29 23:46:47 +00:00
cls%seawood.org
4a37c272a1 Tweaked clobber_all dependency for autoconf tinderbox build.
git-svn-id: svn://10.0.0.236/trunk@8828 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-29 22:37:34 +00:00
cls%seawood.org
6f9015b67e Needed for --enable-dom.
git-svn-id: svn://10.0.0.236/trunk@8827 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-29 22:28:46 +00:00
cls%seawood.org
664ce07f1a Fixed problem of autoconf not using ACCFLAGS when using --enable-debug.
git-svn-id: svn://10.0.0.236/trunk@8826 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-29 22:12:53 +00:00
kipp%netscape.com
54c474764c Fixed bug introduced during nsIContent porting
git-svn-id: svn://10.0.0.236/trunk@8825 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-29 20:44:42 +00:00
kipp%netscape.com
29e64a354f XPCOM'ized nsIContent and nsIHTMLContent
git-svn-id: svn://10.0.0.236/trunk@8824 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-29 20:20:38 +00:00
kipp%netscape.com
96b63db44c Added error module for the layout system
git-svn-id: svn://10.0.0.236/trunk@8823 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-29 20:20:00 +00:00
kipp%netscape.com
8a06d2f5c0 Port to updated nsIContent API
git-svn-id: svn://10.0.0.236/trunk@8822 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-29 20:19:32 +00:00
rickg%netscape.com
07289be70e improved script handling--required by changes to DTD
git-svn-id: svn://10.0.0.236/trunk@8821 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-29 19:32:30 +00:00
rickg%netscape.com
04d51e2437 improved script handling--required by changes to DTD
git-svn-id: svn://10.0.0.236/trunk@8820 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-29 19:31:00 +00:00
despotdaemon%netscape.com
a236f89786 Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@8819 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-29 15:11:19 +00:00
despotdaemon%netscape.com
91269b50d0 Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@8818 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-29 15:10:49 +00:00
rickg%netscape.com
bc1fcf5d5a added noembed support
git-svn-id: svn://10.0.0.236/trunk@8817 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-29 06:52:17 +00:00
briano%netscape.com
6e313c1a0a Not needed.
git-svn-id: svn://10.0.0.236/trunk@8816 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-29 06:31:58 +00:00
briano%netscape.com
311bf3dfb6 Added an optimization fix.
git-svn-id: svn://10.0.0.236/trunk@8815 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-29 06:31:18 +00:00
rpotts%netscape.com
f48912ead3 Changes to allow building when STRICT is defined.
git-svn-id: svn://10.0.0.236/trunk@8814 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-29 06:30:49 +00:00
rpotts%netscape.com
791769f2e4 Changes to allow building when STRICT is defined.
git-svn-id: svn://10.0.0.236/trunk@8813 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-29 06:21:50 +00:00
rpotts%netscape.com
e61cbfd632 Added casts to allow building with STRICT defined...
git-svn-id: svn://10.0.0.236/trunk@8812 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-29 06:19:23 +00:00
rpotts%netscape.com
f267a054e1 Added specific GDI casts to allow building when STRICT is defined
git-svn-id: svn://10.0.0.236/trunk@8811 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-29 06:18:17 +00:00
cls%seawood.org
58743f3d5d Only link against -ljsj if JAVA_OR_OJI.
git-svn-id: svn://10.0.0.236/trunk@8810 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-29 06:17:01 +00:00
cls%seawood.org
cf4fa97a21 Commented out outdated non-OJI section.
git-svn-id: svn://10.0.0.236/trunk@8809 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-29 06:12:03 +00:00
cls%seawood.org
09107f3813 Added ifdef JAVA_OR_OJI around jsjava.h include.
git-svn-id: svn://10.0.0.236/trunk@8808 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-29 05:50:45 +00:00
rickg%netscape.com
6b0996df7c lots of performance work, bug fixes, and tag handling upgrades
git-svn-id: svn://10.0.0.236/trunk@8807 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-29 05:08:20 +00:00
rickg%netscape.com
9923f54f7f added BinarySearch method for faster string searches
git-svn-id: svn://10.0.0.236/trunk@8806 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-29 05:06:50 +00:00
sdagley%netscape.com
d9a9d0c30c When you add a call to an external function, include the F**KING header!!
git-svn-id: svn://10.0.0.236/trunk@8805 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-29 03:45:23 +00:00
warren%netscape.com
d20f81781c Premature checkin of renamed nsRepository.
git-svn-id: svn://10.0.0.236/trunk@8804 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-29 03:42:29 +00:00
mcafee%netscape.com
9c9dabf8b6 Fixing build bustage on Linux
git-svn-id: svn://10.0.0.236/trunk@8803 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-29 03:33:31 +00:00
mcafee%netscape.com
b23a134de1 Fixing build bustage on Linux
git-svn-id: svn://10.0.0.236/trunk@8802 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-29 03:27:09 +00:00
troy%netscape.com
d68daf37b3 Added some comments
git-svn-id: svn://10.0.0.236/trunk@8801 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-29 03:26:33 +00:00
kipp%netscape.com
d44a503526 Create anchors using NS_NewHTMLAnchor
git-svn-id: svn://10.0.0.236/trunk@8800 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-29 03:17:02 +00:00
kipp%netscape.com
64ec20b0cd Use AddRef instead of mRefCnt++; make implementation classes implement HandleDOMEvent; provide HandleDOMEvent generic routine for base behavior; provide TriggerLink for link clicking behavior
git-svn-id: svn://10.0.0.236/trunk@8799 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-29 03:16:46 +00:00
kipp%netscape.com
a025e7517b Implement nsHTMLGenericContainerContent; removed anchor code from HandleDOMEvent; implement TriggerLink
git-svn-id: svn://10.0.0.236/trunk@8798 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-29 03:15:55 +00:00
kipp%netscape.com
fa7b263033 Stubbed out HandleDOMEvent; and initialized refcnt (doh!)
git-svn-id: svn://10.0.0.236/trunk@8797 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-29 03:14:46 +00:00
kipp%netscape.com
0e6478e9bb Added new source
git-svn-id: svn://10.0.0.236/trunk@8796 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-29 03:13:56 +00:00
kipp%netscape.com
4c85e1db08 new
git-svn-id: svn://10.0.0.236/trunk@8795 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-29 03:13:29 +00:00
kipp%netscape.com
4fdac61f25 Added NewHTMLAnchor
git-svn-id: svn://10.0.0.236/trunk@8794 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-29 03:13:15 +00:00
kipp%netscape.com
e247d39ff4 Added new atoms
git-svn-id: svn://10.0.0.236/trunk@8793 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-29 03:13:03 +00:00
fur%netscape.com
1ab259806c Shane's makefiles
git-svn-id: svn://10.0.0.236/trunk@8792 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-29 03:04:11 +00:00
fur%netscape.com
65bdc27683 New file to deal with case of Java field and method with same name.
git-svn-id: svn://10.0.0.236/trunk@8791 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-29 03:03:51 +00:00
fur%netscape.com
8a8bb3d77e Error messages, in separate file for internationalization purposes.
git-svn-id: svn://10.0.0.236/trunk@8790 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-29 03:03:05 +00:00
fur%netscape.com
4eb3df0d29 Transferred work from private ns tree back into mozilla.
git-svn-id: svn://10.0.0.236/trunk@8789 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-29 03:00:50 +00:00
shaver%netscape.com
5f49f22fb7 Move current_node and top_node to top_state, to protect them from tables.
Handle table and row and cell data.
(We do nested-table text now.)


git-svn-id: svn://10.0.0.236/trunk@8788 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-29 02:52:27 +00:00
shaver%netscape.com
8e2e51702b move top_node and current_node into top_state, where they're invulnerable to the evil tactics of table layout
git-svn-id: svn://10.0.0.236/trunk@8787 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-29 02:49:13 +00:00
fur%netscape.com
c3bc213bef Somehow, montulli resurrected this dead file. Killing it again.
git-svn-id: svn://10.0.0.236/trunk@8786 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-29 02:47:25 +00:00
troy%netscape.com
1568e2814d Changed interface nsIFontMetrics to use the XPCOM conventions for returning
a nsresult


git-svn-id: svn://10.0.0.236/trunk@8785 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-29 02:34:34 +00:00
warren%netscape.com
6edcfe6a82 Fixed typo
git-svn-id: svn://10.0.0.236/trunk@8784 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-29 02:24:41 +00:00
mcafee%netscape.com
1a33421fe1 Fixing bustage on Solaris, Linux.
git-svn-id: svn://10.0.0.236/trunk@8783 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-29 02:23:08 +00:00
warren%netscape.com
9f2fefb606 Moved nsresult from nsISupports.h to nsError.h (so that it's defined for C files).
git-svn-id: svn://10.0.0.236/trunk@8782 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-29 02:21:49 +00:00
fur%netscape.com
8d0f6d433f Updated Mac build instructions.
git-svn-id: svn://10.0.0.236/trunk@8781 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-29 02:20:24 +00:00
fur%netscape.com
5ac9b15456 Replaced with new CodeWarrior project file macbuild/JSRef.mcp
git-svn-id: svn://10.0.0.236/trunk@8780 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-29 02:20:00 +00:00
mccabe%netscape.com
2ae960ccbd More loose ends towards merging the development branch.
git-svn-id: svn://10.0.0.236/trunk@8779 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-29 01:53:39 +00:00
warren%netscape.com
2ab76ffdb1 Added test for service manager.
git-svn-id: svn://10.0.0.236/trunk@8778 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-29 01:51:44 +00:00
pierre%netscape.com
f3a8b74f77 fixed freeze in XP_FileOpen()
git-svn-id: svn://10.0.0.236/trunk@8777 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-29 01:38:21 +00:00
pierre%netscape.com
25ac0a5f73 added nsHTMLGenericContent.cpp + nsHTMLHR.cpp
git-svn-id: svn://10.0.0.236/trunk@8776 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-29 01:27:11 +00:00
sdagley%netscape.com
e106f26073 Checking in for warren. Added nsIServiceManager.h to MANIFEST and nsServiceManager.cpp to xpcomPPC.mcp.
git-svn-id: svn://10.0.0.236/trunk@8775 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-29 01:17:19 +00:00
terry%netscape.com
77e993115e OK, turn it on -- changes will now actually have effect.
git-svn-id: svn://10.0.0.236/trunk@8774 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-29 00:51:15 +00:00
ftang%netscape.com
9dd07e6ba0 add XP_ASSERT IsUTF8String for more data source. reviewed by rjc
git-svn-id: svn://10.0.0.236/trunk@8773 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-29 00:42:07 +00:00
terry%netscape.com
22e2a9d2bf Need full pathname for CVS_PASSFILE, since change directories before using cvs.
git-svn-id: svn://10.0.0.236/trunk@8772 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-29 00:41:24 +00:00
mccabe%netscape.com
eb64550ea4 New platforms! More work from development branch.
git-svn-id: svn://10.0.0.236/trunk@8771 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-29 00:40:07 +00:00
mccabe%netscape.com
ac4f37b0a5 Propagate lots 'o work from the development branch.
Including:

Preliminary work on internationalizing error messages

Preliminary work on exposing runtime errors as catchable exceptions

ECMA-proposed throw and try/catch/finally, with multiple catch clauses
and catchguards

ECMA-proposed in/instanceof operators

IEEE-conformant number to string conversion

Fixes and other good stuff.


git-svn-id: svn://10.0.0.236/trunk@8770 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-29 00:38:43 +00:00
ftang%netscape.com
354837520c add XP_ASSERT for IsUTF8String, reviewed by rjc
git-svn-id: svn://10.0.0.236/trunk@8769 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-29 00:37:15 +00:00
terry%netscape.com
a7a3a142df Oops; wrong environment variable name.
git-svn-id: svn://10.0.0.236/trunk@8768 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-29 00:36:03 +00:00
ftang%netscape.com
63b976aae5 make HT Find/property dialogbox work with UTF8. reviewed by rjc
git-svn-id: svn://10.0.0.236/trunk@8767 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-29 00:35:53 +00:00
terry%netscape.com
7879e50a84 Keep a .cvspass in our own directory.
git-svn-id: svn://10.0.0.236/trunk@8766 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-29 00:35:19 +00:00
terry%netscape.com
16c17cd55c We have a variable containing the full path to the cvs executable; use it!
git-svn-id: svn://10.0.0.236/trunk@8765 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-29 00:20:10 +00:00
terry%netscape.com
e9a056744d Got to quote those stupid at-signs.
git-svn-id: svn://10.0.0.236/trunk@8764 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 23:57:42 +00:00
terry%netscape.com
9aa5b62699 Initial public checkin of despot.
git-svn-id: svn://10.0.0.236/trunk@8763 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 23:50:39 +00:00
ddrinan%netscape.com
72c4d2a866 Perl script to generate all export symbols
git-svn-id: svn://10.0.0.236/trunk@8762 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 23:48:13 +00:00
ddrinan%netscape.com
b540c7a2e7 Perl script to generate the dispatcher module.
git-svn-id: svn://10.0.0.236/trunk@8761 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 23:47:10 +00:00
ddrinan%netscape.com
9f84fe1bf0 Added dispatcher generation and populatio step. Need for Cartman
git-svn-id: svn://10.0.0.236/trunk@8760 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 23:45:59 +00:00
ddrinan%netscape.com
a0270fc060 Added Cartman hook and dispather tables export
git-svn-id: svn://10.0.0.236/trunk@8759 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 23:44:13 +00:00
kipp%netscape.com
9c9e082f74 Use -Zi and PDB's for dll creation too
git-svn-id: svn://10.0.0.236/trunk@8758 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 23:32:47 +00:00
kipp%netscape.com
83d75c3fa0 Stub out new nsIHTMLContent methods
git-svn-id: svn://10.0.0.236/trunk@8757 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 23:32:27 +00:00
kipp%netscape.com
dce19ba23f Added AttributeToString and StringToAttribute methods
git-svn-id: svn://10.0.0.236/trunk@8756 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 23:31:44 +00:00
kipp%netscape.com
44d2a050e0 Export new HTML-HR factory method
git-svn-id: svn://10.0.0.236/trunk@8755 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 23:31:28 +00:00
kipp%netscape.com
e0da233ad3 Stub out StringToAttribute
git-svn-id: svn://10.0.0.236/trunk@8754 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 23:31:12 +00:00
kipp%netscape.com
457a57d4bc Implement StringToAttribute; AttributeToString is now public
git-svn-id: svn://10.0.0.236/trunk@8753 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 23:30:50 +00:00
kipp%netscape.com
27a5a65695 Make AttributeToString abstract
git-svn-id: svn://10.0.0.236/trunk@8752 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 23:30:22 +00:00
kipp%netscape.com
dfe6b9472a Removed content code and exposed a factory method for creating HR frames; made the HR frame code content neutral
git-svn-id: svn://10.0.0.236/trunk@8751 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 23:29:36 +00:00
kipp%netscape.com
a2b0c41087 Added new atoms
git-svn-id: svn://10.0.0.236/trunk@8750 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 23:29:05 +00:00
kipp%netscape.com
948d0b54b0 Use new factory method for HR's
git-svn-id: svn://10.0.0.236/trunk@8749 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 23:27:55 +00:00
kipp%netscape.com
575b985fb8 new
git-svn-id: svn://10.0.0.236/trunk@8748 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 23:27:19 +00:00
kipp%netscape.com
3f8cc11cae Added new source files to the build
git-svn-id: svn://10.0.0.236/trunk@8747 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 23:25:56 +00:00
rods%netscape.com
9da3e5c9c9 Fixed nsLabel and nsDialog to compile and link correctly
git-svn-id: svn://10.0.0.236/trunk@8746 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 23:00:03 +00:00
rods%netscape.com
78dd60c020 initial checkin for nsLabel and nsDialog
git-svn-id: svn://10.0.0.236/trunk@8745 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 22:49:12 +00:00
rods%netscape.com
5bcda3f0f2 Added nsLabel and nsDialog
git-svn-id: svn://10.0.0.236/trunk@8744 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 22:48:50 +00:00
cls%seawood.org
d6fc11d98a Fixed problem with makedepend under autoconf.
git-svn-id: svn://10.0.0.236/trunk@8743 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 22:40:14 +00:00
rods%netscape.com
e23a0b6401 Fixed Focus issues with text field in Find Dialog
git-svn-id: svn://10.0.0.236/trunk@8742 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 22:36:10 +00:00
rods%netscape.com
57b7fafb37 Fixed OnPaint to draw Dialog and children correctly.
git-svn-id: svn://10.0.0.236/trunk@8741 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 22:11:04 +00:00
warren%netscape.com
9f4a9bc9a2 Added class ID to OnShutdown.
git-svn-id: svn://10.0.0.236/trunk@8740 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 21:47:44 +00:00
kipp%netscape.com
a877826048 Use kIHTMLContentSinkIID so that inferior compilers will work
git-svn-id: svn://10.0.0.236/trunk@8739 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 21:29:50 +00:00
warren%netscape.com
7876a9e765 Added service manager mechanism.
git-svn-id: svn://10.0.0.236/trunk@8738 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 21:28:35 +00:00
warren%netscape.com
31ab835636 Added service manager mechanism.
git-svn-id: svn://10.0.0.236/trunk@8737 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 21:25:34 +00:00
cyeh%netscape.com
7a3853ed06 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@8736 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 21:03:57 +00:00
ftang%netscape.com
7f80acda40 change rdf winfe to make it render UTF8. reviewed by hyatt
git-svn-id: svn://10.0.0.236/trunk@8735 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 20:58:01 +00:00
ftang%netscape.com
eb3d75865f fix UTF8 input problem when switch input method back to roman . reviewed by brade.
git-svn-id: svn://10.0.0.236/trunk@8734 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 20:52:12 +00:00
slamm%netscape.com
43c5f4b46f Bring back the commercial animation.
git-svn-id: svn://10.0.0.236/trunk@8733 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 20:41:53 +00:00
pinkerton%netscape.com
6890fabd3c Added RowIsContainer() with additional param to say if container is open or closed.
git-svn-id: svn://10.0.0.236/trunk@8732 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 20:34:43 +00:00
pinkerton%netscape.com
e44c8223ff Use new CNavCenterScroller and tell it to adjust the scroll bar when the column headers appear or disappear.
git-svn-id: svn://10.0.0.236/trunk@8731 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 20:33:42 +00:00
pinkerton%netscape.com
dd7e62a93c Fix mozilla problem with not showing "about:" page when security is not present.
git-svn-id: svn://10.0.0.236/trunk@8730 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 20:33:08 +00:00
pinkerton%netscape.com
20a62cdd6c Changed type of scroller in NavCenter panes to be a CNavCenterScroller to better handle scroll bar adjustments on mode switches.
git-svn-id: svn://10.0.0.236/trunk@8729 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 20:32:36 +00:00
pinkerton%netscape.com
3958cd059f New RowIsContainer method which can replace CellHasDropFlag to determine if the row is a container and if it is currently expanded or collapsed. Fixed auto-expand d&d to use this instead of CellHasDropFlag so it will still autoexpand when drop flags are not used.
git-svn-id: svn://10.0.0.236/trunk@8728 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 20:32:00 +00:00
pinkerton%netscape.com
53c9fd8dcb Add CNavCenterScroller.cp
git-svn-id: svn://10.0.0.236/trunk@8727 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 20:30:24 +00:00
pinkerton%netscape.com
be05c26268 Register CNavCenterScroller
git-svn-id: svn://10.0.0.236/trunk@8726 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 20:29:57 +00:00
spider%netscape.com
8e70f7c6b3 Initialize the device context to null. This was causing a crash if the
device context for a widget were queried prior the window getting
created.


git-svn-id: svn://10.0.0.236/trunk@8725 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 20:29:04 +00:00
pinkerton%netscape.com
f7238017b5 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@8723 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 20:24:25 +00:00
briano%netscape.com
064ec3f07b New file to support DG/UX. Thanks to Marc Fraioli (fraioli@dg-rtp.dg.com) for doing all the work.
git-svn-id: svn://10.0.0.236/trunk@8722 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 20:20:15 +00:00
terry%netscape.com
53b92f890a Get rid of "verified_ts" and "resolved_ts" stuff; we aren't keeping
that stuff in this database.


git-svn-id: svn://10.0.0.236/trunk@8721 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 20:19:31 +00:00
briano%netscape.com
9b4a75a2f8 Added support for DG/UX, and a fix for bug#254.
git-svn-id: svn://10.0.0.236/trunk@8720 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 20:17:38 +00:00
morse%netscape.com
25fa2a9395 strings for cookie trust labels
git-svn-id: svn://10.0.0.236/trunk@8719 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 20:10:32 +00:00
rods%netscape.com
516bef3e06 Fixed ref count problem in FindNext (should be able to switch docs now)
git-svn-id: svn://10.0.0.236/trunk@8718 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 19:55:03 +00:00
despotdaemon%netscape.com
74735ce7ed Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@8717 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 19:45:55 +00:00
terry%netscape.com
a7f2ec4561 Back out last change. No diffs are showing up at all!
git-svn-id: svn://10.0.0.236/trunk@8716 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 19:23:41 +00:00
terry%netscape.com
5faec3d6ed Fixed bug 544 -- now use unified diffs instead of context diffs in mail.
git-svn-id: svn://10.0.0.236/trunk@8715 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 19:17:59 +00:00
despotdaemon%netscape.com
9db2998134 Pseudo-automatic update of changes made by ddrinan@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@8714 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 18:52:19 +00:00
terry%netscape.com
326cdd5d93 Fixed bug 513 -- adding CC field caused crash.
git-svn-id: svn://10.0.0.236/trunk@8713 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 18:32:15 +00:00
terry%netscape.com
d777ef9189 Debugging support -- if we get an SQL error, show the SQL command that failed.
git-svn-id: svn://10.0.0.236/trunk@8712 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 18:31:05 +00:00
rods%netscape.com
90439d8478 Added a couple of data members to the header and cleanup some of the
ref count problems


git-svn-id: svn://10.0.0.236/trunk@8711 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 18:15:14 +00:00
cyeh%netscape.com
86bed95f8a add set-timebomb.pl to MozillaSourceUnix module. grrrr...
git-svn-id: svn://10.0.0.236/trunk@8710 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 17:31:08 +00:00
kipp%netscape.com
29d4a0272c Spanked hard to support multiple sink contexts; incremental reflow now happens only on WillInterrupt
git-svn-id: svn://10.0.0.236/trunk@8709 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 16:20:16 +00:00
kipp%netscape.com
52524023bc Avoid a crash bug
git-svn-id: svn://10.0.0.236/trunk@8708 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 16:19:38 +00:00
kipp%netscape.com
69abb91cd8 Added a new atom
git-svn-id: svn://10.0.0.236/trunk@8707 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 16:19:27 +00:00
kipp%netscape.com
22faac0a08 Removed the PushMark method
git-svn-id: svn://10.0.0.236/trunk@8706 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 16:18:14 +00:00
rods%netscape.com
3817dceba6 Added XP Find dialog
git-svn-id: svn://10.0.0.236/trunk@8705 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 16:14:37 +00:00
rods%netscape.com
9423ca5271 Added registration of nsIDialog and nsILabel
git-svn-id: svn://10.0.0.236/trunk@8704 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 16:13:56 +00:00
rods%netscape.com
1dab6ce3ed Enabled the "Find" menu item
git-svn-id: svn://10.0.0.236/trunk@8703 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 16:12:51 +00:00
rods%netscape.com
143a4edd02 Added selection code that is currently ifdef out (but it is needed)
git-svn-id: svn://10.0.0.236/trunk@8702 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 16:06:22 +00:00
rods%netscape.com
adec4ac54a Fixed up some of the selection methods
git-svn-id: svn://10.0.0.236/trunk@8701 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 16:02:33 +00:00
rods%netscape.com
db20bc1720 Added FindNext method
git-svn-id: svn://10.0.0.236/trunk@8700 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 15:59:24 +00:00
rods%netscape.com
8d96945b15 Adjusted the method signatures on most of the Selection methods
git-svn-id: svn://10.0.0.236/trunk@8699 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 15:58:37 +00:00
rods%netscape.com
a012be6a6d Added FindNext Method for Find/Search
git-svn-id: svn://10.0.0.236/trunk@8698 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 15:57:59 +00:00
rods%netscape.com
0c8b07b665 Fixed bugs and adjusted TextFrame to match revised method signatures
git-svn-id: svn://10.0.0.236/trunk@8697 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 15:56:40 +00:00
rods%netscape.com
3434b35d86 Added Find/Search capability and supporting methods
git-svn-id: svn://10.0.0.236/trunk@8696 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 15:55:31 +00:00
troy%netscape.com
ffd571769e Interface change
git-svn-id: svn://10.0.0.236/trunk@8695 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 15:19:44 +00:00
despotdaemon%netscape.com
c54323a1f8 Pseudo-automatic update of changes made by shaver@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@8694 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 14:29:58 +00:00
terry%netscape.com
b248dd0fc8 Get rid of the "read and eat" line; it doesn't make sense here.
git-svn-id: svn://10.0.0.236/trunk@8693 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 13:50:41 +00:00
shaver%netscape.com
207c272479 actually reflow altered text
git-svn-id: svn://10.0.0.236/trunk@8692 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 13:42:25 +00:00
shaver%netscape.com
f7c264af72 wire up DOM_Nodes and LO_Elements; maybe fix <LI> CSS bug? (all #if DOM)
git-svn-id: svn://10.0.0.236/trunk@8691 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 10:29:42 +00:00
shaver%netscape.com
c55c619ff7 current_node is always the current_node now. also: set up for text mutation
git-svn-id: svn://10.0.0.236/trunk@8690 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 10:23:35 +00:00
shaver%netscape.com
85c33a05a7 break universal dep on lm_dom.h; start wiring DOM_Node<->LO_Element
git-svn-id: svn://10.0.0.236/trunk@8689 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 07:53:18 +00:00
shaver%netscape.com
4d1d70ca76 switch to void * in lo_DocState, not DOM_Node * because too many places #include "layout.h"
git-svn-id: svn://10.0.0.236/trunk@8688 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 07:52:07 +00:00
cls%seawood.org
04dcdb28d2 More tweaks for make depend under autoconf.
git-svn-id: svn://10.0.0.236/trunk@8687 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 07:07:47 +00:00
cyeh%netscape.com
0a30b35651 change default homepage
git-svn-id: svn://10.0.0.236/trunk@8686 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 07:03:39 +00:00
cls%seawood.org
59a413497e ifdef'd out MOZ_OJI as only the bare minimum should be on by default for the autoconf buld.
git-svn-id: svn://10.0.0.236/trunk@8685 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 07:00:13 +00:00
cls%seawood.org
e24cdf321b Removed SHACK and added DOM.
git-svn-id: svn://10.0.0.236/trunk@8684 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 06:55:52 +00:00
cls%seawood.org
ccf2f2da9b Removed check for thread libs as they conflicted with nsprpub threads. Added option for dom and removed option for shack.
git-svn-id: svn://10.0.0.236/trunk@8683 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 06:54:06 +00:00
troy%netscape.com
d4260119a8 Changed nsIFontCache to conform to XPCOM standards
git-svn-id: svn://10.0.0.236/trunk@8682 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 05:16:41 +00:00
troy%netscape.com
e9e900374e Changed nsIViewManager interface to conform to XPCOM conventions
git-svn-id: svn://10.0.0.236/trunk@8681 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 04:56:56 +00:00
toshok%netscape.com
7b65e1900d use $(MAKE) instead of make, so it does not break on bsd machines, where make and gmake are *completely* different
git-svn-id: svn://10.0.0.236/trunk@8680 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 04:37:44 +00:00
morse%netscape.com
92b0d35986 fix bug found by mjudge
git-svn-id: svn://10.0.0.236/trunk@8679 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 04:10:08 +00:00
danm%netscape.com
43ea3d3f41 plug leak in LayoutButtons
git-svn-id: svn://10.0.0.236/trunk@8678 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 03:10:14 +00:00
michaelp%netscape.com
65433b951d changes for new viewobserver stuff.
git-svn-id: svn://10.0.0.236/trunk@8677 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 03:09:22 +00:00
michaelp%netscape.com
6702cf7961 changes to support viewobserver and troy's spankage of the device context.
git-svn-id: svn://10.0.0.236/trunk@8676 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 03:05:23 +00:00
michaelp%netscape.com
7b063335be DeleteFrame() now takes a pres context.
git-svn-id: svn://10.0.0.236/trunk@8675 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 03:02:39 +00:00
troy%netscape.com
b69cf1e950 Fixed call to GetFontCache
git-svn-id: svn://10.0.0.236/trunk@8674 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 02:56:22 +00:00
michaelp%netscape.com
1b64af0c9b added support for view observer.
git-svn-id: svn://10.0.0.236/trunk@8673 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 02:54:06 +00:00
michaelp%netscape.com
cdc8077956 DeleteFrame() now takes a pres context. now uses view's setclientdata().
git-svn-id: svn://10.0.0.236/trunk@8672 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 02:52:54 +00:00
troy%netscape.com
c9c414f1c0 Turned off gamma correction
git-svn-id: svn://10.0.0.236/trunk@8671 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 02:50:19 +00:00
michaelp%netscape.com
d1419737b5 deleteframe() now takes a pres context.
git-svn-id: svn://10.0.0.236/trunk@8670 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 02:50:17 +00:00
michaelp%netscape.com
a230da72a6 made resizereflow() an ns_imethod.
git-svn-id: svn://10.0.0.236/trunk@8669 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 02:49:49 +00:00
michaelp%netscape.com
a2271263d0 changed to pass in prescontext to deleteframe().
git-svn-id: svn://10.0.0.236/trunk@8668 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 02:49:15 +00:00
jgellman%netscape.com
dc657f64cd little patch trouble. whups.
git-svn-id: svn://10.0.0.236/trunk@8667 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 02:10:16 +00:00
troy%netscape.com
c9a229357c nsIDeviceContext API change
git-svn-id: svn://10.0.0.236/trunk@8666 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 01:58:02 +00:00
jgellman%netscape.com
fbb1f40d77 Remove data source entries from cache table when the data source is destroyed
git-svn-id: svn://10.0.0.236/trunk@8665 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 01:33:36 +00:00
thom%netscape.com
cded20b7b6 fixed heap corruption in mac version of the function mangleResourceIntoFileURL. This change ONLY effects macs
git-svn-id: svn://10.0.0.236/trunk@8664 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 01:33:14 +00:00
danm%netscape.com
0e8ef25cee teach RDF toolbars to work with toolbar display mode property. r:hyatt
git-svn-id: svn://10.0.0.236/trunk@8663 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 01:22:30 +00:00
danm%netscape.com
0be3f7f951 new toolbar property, new function which fetches templates, fix hashtable bug, bmkNotifFunc notifies regardless of property type. r:rjc
git-svn-id: svn://10.0.0.236/trunk@8662 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 01:19:41 +00:00
thom%netscape.com
4fb9e17b43 got the file in sync with troy's fontCache changes
git-svn-id: svn://10.0.0.236/trunk@8661 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 00:28:10 +00:00
slamm%netscape.com
d96f914fc1 Standardize the format of the translation resources. Make it easier to see errors.
git-svn-id: svn://10.0.0.236/trunk@8660 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 00:20:44 +00:00
kostello%netscape.com
1d4ec605a7 Added support for hit testing and mac support methods for translating between mac coordinate system and nsRects
git-svn-id: svn://10.0.0.236/trunk@8659 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 23:04:30 +00:00
troy%netscape.com
eb362e45da fixed my bustage.
git-svn-id: svn://10.0.0.236/trunk@8658 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 23:02:03 +00:00
kostello%netscape.com
993b43f31c Added methods to update window bounds rect during resize and drag
git-svn-id: svn://10.0.0.236/trunk@8657 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 23:01:56 +00:00
kostello%netscape.com
8711902173 Added Mac to nsRect support. Added HitTest logic
git-svn-id: svn://10.0.0.236/trunk@8656 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 23:01:17 +00:00
despotdaemon%netscape.com
2f43037e94 Pseudo-automatic update of changes made by mwelch@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@8655 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 22:55:53 +00:00
troy%netscape.com
15c93f90c2 More changes to nsIDeviceContext interface
git-svn-id: svn://10.0.0.236/trunk@8654 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 22:45:35 +00:00
pierre%netscape.com
6d97cac430 In the previous checkin, the path "powerplant/utility" was added to the 'domDebug.o' target only. Adding it to 'dom.o' now and verified that it was already in the 'shlb' target.
git-svn-id: svn://10.0.0.236/trunk@8653 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 22:16:56 +00:00
troy%netscape.com
ce4befff05 Fixed build bustage
git-svn-id: svn://10.0.0.236/trunk@8652 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 22:12:26 +00:00
pierre%netscape.com
555a919ddd added path "powerplant/utility"
added files jsurl.cpp + nsFrameList.cpp + nsJSWindowCollection.cpp


git-svn-id: svn://10.0.0.236/trunk@8651 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 22:11:05 +00:00
pierre%netscape.com
5847c66bb7 added nsHTMLLayer.cpp
git-svn-id: svn://10.0.0.236/trunk@8650 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 22:09:02 +00:00
pierre%netscape.com
349def3a94 re-enabled the View, Web and Pref factories
git-svn-id: svn://10.0.0.236/trunk@8649 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 22:08:39 +00:00
cyeh%netscape.com
f4f16f6856 added subroutine to adjust agent number everytime you build. for official releases only.
git-svn-id: svn://10.0.0.236/trunk@8648 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 22:04:19 +00:00
morse%netscape.com
bdcafcea64 added apple keychain
git-svn-id: svn://10.0.0.236/trunk@8647 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 21:14:41 +00:00
pinkerton%netscape.com
8ee4b70edd Fix bug where if rdf file specified that all columns should be hidden the heap would get corrupted. Now forces at least one column to be visible.
git-svn-id: svn://10.0.0.236/trunk@8646 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 21:10:07 +00:00
troy%netscape.com
917cd408ec Change to GetRenderingContext
git-svn-id: svn://10.0.0.236/trunk@8645 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 21:09:25 +00:00
morse%netscape.com
ef190fe835 single-signon fix
git-svn-id: svn://10.0.0.236/trunk@8644 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 21:05:58 +00:00
troy%netscape.com
26782f0ba7 API change to nsIDeviceContext
git-svn-id: svn://10.0.0.236/trunk@8643 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 20:45:56 +00:00
troy%netscape.com
9c277134e0 More API changes to nsIDeviceContext
git-svn-id: svn://10.0.0.236/trunk@8642 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 20:43:04 +00:00
troy%netscape.com
ad7971ffd1 Another attempt
git-svn-id: svn://10.0.0.236/trunk@8641 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 20:31:39 +00:00
rods%netscape.com
049f316091 Added InitData struct
git-svn-id: svn://10.0.0.236/trunk@8640 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 20:29:59 +00:00
pinkerton%netscape.com
8ef5bef118 Respond better to column add/delete events.
git-svn-id: svn://10.0.0.236/trunk@8639 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 20:27:10 +00:00
pinkerton%netscape.com
d85b33f31d More 4.5 merges. Fix problem with not showing form data in viewSource, print, saveAs.
git-svn-id: svn://10.0.0.236/trunk@8638 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 20:26:40 +00:00
rods%netscape.com
6a3942478b Added nsLabel and nsDialog to build
git-svn-id: svn://10.0.0.236/trunk@8637 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 20:26:30 +00:00
pinkerton%netscape.com
6ec83383e2 Fix bug that caused crash when you clicked onany blank area of the toolbar.
git-svn-id: svn://10.0.0.236/trunk@8636 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 20:25:21 +00:00
cyeh%netscape.com
b10aaddcd7 disable updating the build number in about-all.html everytime you build. needs to be turned on for official releases only until ckid/mcvs resource problem is solved. editing about-all.html causes file to be blown away.
git-svn-id: svn://10.0.0.236/trunk@8635 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 20:20:06 +00:00
shaver%netscape.com
abea434d80 tell people how to change their new password
git-svn-id: svn://10.0.0.236/trunk@8634 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 20:18:13 +00:00
rods%netscape.com
ee0e8ac41f Initial working checkin
git-svn-id: svn://10.0.0.236/trunk@8633 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 20:16:20 +00:00
cyeh%netscape.com
64c2293952 udpate the build number in about-all.html everytime you build.
git-svn-id: svn://10.0.0.236/trunk@8632 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 20:15:30 +00:00
rods%netscape.com
c900d89367 Added nsILabel.h and nsIDialog.h
git-svn-id: svn://10.0.0.236/trunk@8631 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 20:09:16 +00:00
cls%seawood.org
656bd9c3e8 Added timebomb target.
git-svn-id: svn://10.0.0.236/trunk@8630 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 19:53:30 +00:00
cls%seawood.org
16915211df Enabled dependencies for autoconf.
git-svn-id: svn://10.0.0.236/trunk@8629 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 19:52:22 +00:00
cls%seawood.org
0343f30ff3 Removed HistoryFrame.cpp
git-svn-id: svn://10.0.0.236/trunk@8628 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 19:48:25 +00:00
cls%seawood.org
519fb35777 Put DEBUG ifdefs around debugEvent() call. Approved by shaver%netscape.com
git-svn-id: svn://10.0.0.236/trunk@8627 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 19:47:48 +00:00
troy%netscape.com
29ae90ea2b More changes to nsIDeviceContext API
git-svn-id: svn://10.0.0.236/trunk@8626 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 18:47:22 +00:00
troy%netscape.com
6d5ab64685 Fixed build bustage
git-svn-id: svn://10.0.0.236/trunk@8625 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 18:46:51 +00:00
troy%netscape.com
c37f617b06 Combined GetScrollBarWidth/GetScrollBarHeight into one function
GetScrollBarDimensions


git-svn-id: svn://10.0.0.236/trunk@8624 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 18:30:55 +00:00
terry%netscape.com
08b3a23aa0 Hacky preventative for bug 540 -- disable the "edit long description"
feature entirely.


git-svn-id: svn://10.0.0.236/trunk@8623 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 18:14:14 +00:00
dcone%netscape.com
b816bd348e Fixed some small bugs.
git-svn-id: svn://10.0.0.236/trunk@8622 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 18:03:15 +00:00
dcone%netscape.com
754bbcabc4 updated some routines
git-svn-id: svn://10.0.0.236/trunk@8621 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 17:46:58 +00:00
dcone%netscape.com
9583aa7936 Updated to use regions
git-svn-id: svn://10.0.0.236/trunk@8620 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 17:36:13 +00:00
dcone%netscape.com
6ffe0079d6 updated some routines
git-svn-id: svn://10.0.0.236/trunk@8619 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 17:35:49 +00:00
dcone%netscape.com
36dc0329f9 Updated the clipping region, and some coordinate fixes
git-svn-id: svn://10.0.0.236/trunk@8618 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 17:33:51 +00:00
dcone%netscape.com
ce98b2dc7d Fixed the messaging and local/global point location
git-svn-id: svn://10.0.0.236/trunk@8617 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 17:32:57 +00:00
dcone%netscape.com
d3fa62c6e9 added a region native data type
git-svn-id: svn://10.0.0.236/trunk@8616 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 17:31:59 +00:00
troy%netscape.com
d90e450524 Fixed some bustage I intriduced
git-svn-id: svn://10.0.0.236/trunk@8615 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 17:26:48 +00:00
terry%netscape.com
0a02093753 Fixed bug 538 -- can now search through summary and description fields.
git-svn-id: svn://10.0.0.236/trunk@8614 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 17:22:23 +00:00
despotdaemon%netscape.com
c0a315bbec Pseudo-automatic update of changes made by leaf@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@8613 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 16:10:26 +00:00
terry%netscape.com
ce187b5865 The default product is now called "Mozilla".
git-svn-id: svn://10.0.0.236/trunk@8612 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 15:30:25 +00:00
terry%netscape.com
9e813ee681 Sort the list of products.
git-svn-id: svn://10.0.0.236/trunk@8611 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 15:30:01 +00:00
terry%netscape.com
e0dadcef2d Fixed bug 539 -- cope with multiple products in the system.
git-svn-id: svn://10.0.0.236/trunk@8610 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 14:56:19 +00:00
terry%netscape.com
9b69df4fe2 I'd prefer to be known as terry@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@8609 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 14:55:27 +00:00
shaver%netscape.com
f6d9f7194c start to flesh out lm_CDataOp (you can set the title!) and remove attrs from HTMLElementPrivate
git-svn-id: svn://10.0.0.236/trunk@8608 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 09:13:00 +00:00
shaver%netscape.com
a59d815420 implemented cdata_setter
git-svn-id: svn://10.0.0.236/trunk@8607 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 09:11:45 +00:00
valeski%netscape.com
3574dedce6 nsString.h - the mBuf member data type was the raw PRUnichar type, changed it to chartype.
nsString.cpp - we were dropping the ending null-byte/unichar when expanding/growing strings


git-svn-id: svn://10.0.0.236/trunk@8606 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 08:15:40 +00:00
mcafee%netscape.com
164839f6fb Fixing compile warnings on Linux
git-svn-id: svn://10.0.0.236/trunk@8605 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 07:13:15 +00:00
mcafee%netscape.com
89e50ae71e Fixing Solaris warning, native compiler
git-svn-id: svn://10.0.0.236/trunk@8604 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 07:02:04 +00:00
shaver%netscape.com
917fc12442 protect against multiple inclusion (possibe now with DOM/layout/libmocha)
git-svn-id: svn://10.0.0.236/trunk@8603 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 05:54:56 +00:00
shaver%netscape.com
0f715858f6 DOM stub tweakage and fixed Text/CData init
git-svn-id: svn://10.0.0.236/trunk@8602 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 05:54:01 +00:00
shaver%netscape.com
903f2bc165 small DOM changes (new and old)
git-svn-id: svn://10.0.0.236/trunk@8601 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 05:51:47 +00:00
troy%netscape.com
50594d5ee2 Made sure that _I32_MIN is defined (it appears to be a Windows only thing)
git-svn-id: svn://10.0.0.236/trunk@8600 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 05:28:32 +00:00
shaver%netscape.com
0e484541ef Added CData operations (append, insert, delete, replace, substring).
Added Element {[sg]et,remove}Attribute
Check for illegal child in Node ops appendChild, insertBefore and replaceChild.


git-svn-id: svn://10.0.0.236/trunk@8599 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 05:25:40 +00:00
troy%netscape.com
3a6cdd1b67 Changes to nsIDeviceContext API
git-svn-id: svn://10.0.0.236/trunk@8598 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 05:14:35 +00:00
troy%netscape.com
9b42ea4cb1 Changed nsIDeviceContext interface to conform [more] with COM conventions
git-svn-id: svn://10.0.0.236/trunk@8597 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 05:05:03 +00:00
beard%netscape.com
7ddcb2ecb1 Removed hotlist.c from non-debug target as well.
git-svn-id: svn://10.0.0.236/trunk@8596 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 03:48:28 +00:00
saari%netscape.com
2d833c1592 Fix for bug # 311002
Fixed Pinkerton's Mac scrolling optimization so that it doesn't grab the bits of floating windows above Navigator.

This is Mac only.


git-svn-id: svn://10.0.0.236/trunk@8595 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 02:43:43 +00:00
kipp%netscape.com
59188b9ffd Fixed compiler problem with other compilers by removing useless const in front of void
git-svn-id: svn://10.0.0.236/trunk@8594 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 02:39:36 +00:00
akkana%netscape.com
044185b9c7 Add a PR_ASSERT (yes, a crash) for unreproducible crash 113534;
add code for "Send now" under Publish menu, but only if MOZ_MAIL_NEWS.


git-svn-id: svn://10.0.0.236/trunk@8593 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 01:55:52 +00:00
brendan%netscape.com
541a9954be Fix funky whitespace.
git-svn-id: svn://10.0.0.236/trunk@8591 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 01:48:25 +00:00
cyeh%netscape.com
863cdb6dda added lib/libdom for shaver to MozillaSourceCommon
git-svn-id: svn://10.0.0.236/trunk@8590 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 01:13:27 +00:00
peterl%netscape.com
2512a98a4d hacked colgroup & col handling
git-svn-id: svn://10.0.0.236/trunk@8589 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 01:04:22 +00:00
peterl%netscape.com
b27c2c0f07 added default attribute handling
git-svn-id: svn://10.0.0.236/trunk@8588 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 00:57:24 +00:00
peterl%netscape.com
b3ace934f1 no longer force unique style contexts
git-svn-id: svn://10.0.0.236/trunk@8587 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 00:57:05 +00:00
peterl%netscape.com
6655d27071 remove text attribute processing
git-svn-id: svn://10.0.0.236/trunk@8586 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 00:56:17 +00:00
peterl%netscape.com
6a79a8665f removed hack attibute
removed attribute propogation form rows & row groups


git-svn-id: svn://10.0.0.236/trunk@8585 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 00:55:30 +00:00
peterl%netscape.com
25d65b9397 added table dir to includes
git-svn-id: svn://10.0.0.236/trunk@8584 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 00:51:11 +00:00
peterl%netscape.com
2a62f344d7 added table cell style rule inheritance
git-svn-id: svn://10.0.0.236/trunk@8583 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 00:50:52 +00:00
peterl%netscape.com
6a2a44c8c2 reversed rule ordering
git-svn-id: svn://10.0.0.236/trunk@8582 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 00:49:55 +00:00
peterl%netscape.com
fbcc465682 made col tag be handled as a leaf
git-svn-id: svn://10.0.0.236/trunk@8581 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 00:48:53 +00:00
peterl%netscape.com
bc4211d1ed added td & th
git-svn-id: svn://10.0.0.236/trunk@8580 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 00:48:06 +00:00
peterl%netscape.com
bf5ece7e7a reversed sheet/rule ordering
added backstop rule count


git-svn-id: svn://10.0.0.236/trunk@8579 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 00:47:15 +00:00
leaf%mozilla.org
16725b12a1 Added a timebomb target for "MOZILLA_OFFICIAL" builds, w/unix and perl5.
git-svn-id: svn://10.0.0.236/trunk@8578 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 00:47:14 +00:00
peterl%netscape.com
edecfc5a4c commented on sheet/rule ordering
git-svn-id: svn://10.0.0.236/trunk@8577 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 00:46:34 +00:00
peterl%netscape.com
c85bf386f6 added backstop rule count
git-svn-id: svn://10.0.0.236/trunk@8576 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 00:46:13 +00:00
mlm%netscape.com
173d73ff3c Fix from Jeff Garzik (jgarzik@pobox.com): remove SIZE_MIN and SIZE_MAX
from the include file, as they're not referenced anywhere.


git-svn-id: svn://10.0.0.236/trunk@8575 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 00:29:24 +00:00
rjc%netscape.com
f329c08189 Expose HT_LayoutComplete() API for layout notification.
git-svn-id: svn://10.0.0.236/trunk@8574 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 00:27:59 +00:00
rjc%netscape.com
a2915eebfa Disable personal toolbar relations (important for Mac). Also, when removing columns
during pane deletion, adjust internal list.


git-svn-id: svn://10.0.0.236/trunk@8573 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 00:27:18 +00:00
shaver%netscape.com
f5d79b0ece fix typo and kill warning
git-svn-id: svn://10.0.0.236/trunk@8572 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 00:17:40 +00:00
shaver%netscape.com
16523d1fdc build libdom (if DOM)
git-svn-id: svn://10.0.0.236/trunk@8571 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 00:14:53 +00:00
shaver%netscape.com
d5d47cefc1 add libdom to link, if DOM set
git-svn-id: svn://10.0.0.236/trunk@8570 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 00:14:34 +00:00
shaver%netscape.com
816b75fd0b added code to drive the lib/libdom stuff
git-svn-id: svn://10.0.0.236/trunk@8569 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 00:09:43 +00:00
shaver%netscape.com
fce77d4a7b added hooks to lib/libdom stuff, and exposed lo_IsEmptyTag for use by libmocha DOM hooks
git-svn-id: svn://10.0.0.236/trunk@8568 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 00:05:26 +00:00
terry%netscape.com
70ff2bd9be Don't choke if the user hits a space or something in the 'changed in
last ___ days' field.


git-svn-id: svn://10.0.0.236/trunk@8567 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 00:03:27 +00:00
shaver%netscape.com
f1886e2f6b added first cut of Level-1 DOM (not layout or XML dependent)
git-svn-id: svn://10.0.0.236/trunk@8566 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-27 00:02:31 +00:00
despotdaemon%netscape.com
c2826b34ce Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@8564 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 23:06:50 +00:00
despotdaemon%netscape.com
5704816c0b Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@8563 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 23:05:15 +00:00
kostello%netscape.com
a6e15c2d3c Remove Widget from the build list (it shouldn't have been their in the first place) -- my error.
git-svn-id: svn://10.0.0.236/trunk@8562 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 22:58:54 +00:00
terry%netscape.com
7d0b388dfa Oops; mail the right URL.
git-svn-id: svn://10.0.0.236/trunk@8561 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 22:51:52 +00:00
despotdaemon%netscape.com
95ddf7bfd9 Pseudo-automatic update of changes made by briano@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@8560 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 22:48:51 +00:00
jwz%mozilla.org
d3b1cdd2e4 give the image a border
git-svn-id: svn://10.0.0.236/trunk@8559 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 22:36:44 +00:00
jwz%mozilla.org
04599c8a68 smaller version of the ant image (8k instead of 17k.)
git-svn-id: svn://10.0.0.236/trunk@8558 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 22:36:05 +00:00
terry%netscape.com
91fea0ae34 Turn on mail notifications.
git-svn-id: svn://10.0.0.236/trunk@8557 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 22:23:00 +00:00
ramiro%netscape.com
280d940b0a Remove unused include.
git-svn-id: svn://10.0.0.236/trunk@8556 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 21:38:46 +00:00
despotdaemon%netscape.com
094a26a86b Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@8555 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 21:35:49 +00:00
slamm%netscape.com
f2557c4d40 Have cvs ingnore the generated '.c' files.
git-svn-id: svn://10.0.0.236/trunk@8554 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 21:29:46 +00:00
michaelp%netscape.com
c6b1a0acee killed Set/GetRootWindow() methods in viewmanager. this is now inferred from
the root view. added ability to select painting in view resizing.


git-svn-id: svn://10.0.0.236/trunk@8553 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 21:24:58 +00:00
michaelp%netscape.com
56715faccc killed viewmanager SetRootWindow() call.
git-svn-id: svn://10.0.0.236/trunk@8552 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 21:24:19 +00:00
rickg%netscape.com
dac30eb9e4 various bug fixes, performance wip
git-svn-id: svn://10.0.0.236/trunk@8551 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 21:20:41 +00:00
leaf%mozilla.org
b8dc6ccf8e kill warnings and '?' lines when people update with obj files, etc.
git-svn-id: svn://10.0.0.236/trunk@8550 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 21:17:04 +00:00
hyatt%netscape.com
aba751fdab Improvements to the control strip in the RDF tree widget. Fixes for two P0 bugs:
#311916 and #314414.


git-svn-id: svn://10.0.0.236/trunk@8549 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 20:51:01 +00:00
robinf%netscape.com
215bbb6978 removing outdated Mac dialer help file
git-svn-id: svn://10.0.0.236/trunk@8548 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 20:37:22 +00:00
robinf%netscape.com
66ab409858 removing outdated files
git-svn-id: svn://10.0.0.236/trunk@8547 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 20:36:09 +00:00
beard%netscape.com
09c7594e49 Removed hotlist.c, which was obsoleted (bad, bad!) before verifying on the Mac.
git-svn-id: svn://10.0.0.236/trunk@8546 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 20:33:53 +00:00
donm%netscape.com
0ba7886e77 reverting to ifdef BUILD_OFFICIAL around the build_numbering system.
git-svn-id: svn://10.0.0.236/trunk@8545 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 20:27:11 +00:00
terry%netscape.com
e12ca36c15 About the Bugzilla source.
git-svn-id: svn://10.0.0.236/trunk@8544 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 20:15:06 +00:00
beard%netscape.com
02ad7fd44b Removed obsolete files: bkmks.h, hotlist.h so build will work.
git-svn-id: svn://10.0.0.236/trunk@8543 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 19:41:55 +00:00
av%netscape.com
764e512976 Anthrax changes
git-svn-id: svn://10.0.0.236/trunk@8542 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 19:30:58 +00:00
terry%netscape.com
8cc794caff Stop looking for "target_fix_version".
git-svn-id: svn://10.0.0.236/trunk@8541 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 19:26:59 +00:00
pinkerton%netscape.com
b6e496388d No more netcaster. Minor 4.5 merges (added referrer to DoGetURL).
git-svn-id: svn://10.0.0.236/trunk@8540 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 19:07:03 +00:00
pinkerton%netscape.com
608220c2a7 Column support in tree view.
git-svn-id: svn://10.0.0.236/trunk@8539 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 19:04:54 +00:00
pinkerton%netscape.com
3805b9c59e no more netcaster.
git-svn-id: svn://10.0.0.236/trunk@8538 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 19:02:43 +00:00
pinkerton%netscape.com
c15c254fa0 No more netcaster.
git-svn-id: svn://10.0.0.236/trunk@8537 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 19:02:26 +00:00
pinkerton%netscape.com
0a32d2eefa More printing fixes and 4.5 landings. Mostly minor except for print fix.
git-svn-id: svn://10.0.0.236/trunk@8536 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 19:02:13 +00:00
slamm%netscape.com
30412e1a6d Have cvs ignore the generated files.
git-svn-id: svn://10.0.0.236/trunk@8535 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 18:36:12 +00:00
slamm%netscape.com
84edad5824 Make cvs ignore the dist directory
git-svn-id: svn://10.0.0.236/trunk@8533 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 18:36:09 +00:00
slamm%netscape.com
f3068af283 Add a few .html files to ignore.
git-svn-id: svn://10.0.0.236/trunk@8532 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 18:36:02 +00:00
slamm%netscape.com
cc89363c8d Clear up some warnings.
git-svn-id: svn://10.0.0.236/trunk@8531 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 18:35:59 +00:00
slamm%netscape.com
016e174f1c Remove the old-style bookmarks. RDF is the way.
git-svn-id: svn://10.0.0.236/trunk@8530 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 18:35:54 +00:00
gagan%netscape.com
2c6d5481f0 Merge from NuCache_BRANCH. Will not affect the build process.
git-svn-id: svn://10.0.0.236/trunk@8529 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 18:35:28 +00:00
slamm%netscape.com
275be6a065 Hookup NETSCAPE_COMMERCIAL for the Unix builds.
git-svn-id: svn://10.0.0.236/trunk@8528 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 18:35:26 +00:00
slamm%netscape.com
6f20578d40 Superseded by RDFTreeView.(cpp|h).
git-svn-id: svn://10.0.0.236/trunk@8527 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 18:35:23 +00:00
slamm%netscape.com
2e92dea938 Remove stuff that had to do with old-style bookmarks. Still need tohookup the new RDF stuff.
git-svn-id: svn://10.0.0.236/trunk@8526 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 18:35:16 +00:00
slamm%netscape.com
de8df47d71 Use RDFBase class.
git-svn-id: svn://10.0.0.236/trunk@8525 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 18:35:01 +00:00
slamm%netscape.com
6ec52ecc85 Create a group of toolbars from RDF.
git-svn-id: svn://10.0.0.236/trunk@8524 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 18:34:55 +00:00
slamm%netscape.com
0f28d99589 RDF toolbars. Currently only creates buttons for bookmarks.
git-svn-id: svn://10.0.0.236/trunk@8523 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 18:34:52 +00:00
slamm%netscape.com
3b785e0993 Was BookmarkBase. Base class for RDF menus and toolbars.
git-svn-id: svn://10.0.0.236/trunk@8522 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 18:34:49 +00:00
slamm%netscape.com
2e52f29f54 New base class for accessing RDF backend.
git-svn-id: svn://10.0.0.236/trunk@8521 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 18:34:42 +00:00
slamm%netscape.com
f07932374c Plug a memory leak.
git-svn-id: svn://10.0.0.236/trunk@8520 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 18:34:39 +00:00
slamm%netscape.com
ab55e92f0c ifdef out the selector bar and use the new RDFBase class
git-svn-id: svn://10.0.0.236/trunk@8519 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 18:34:36 +00:00
slamm%netscape.com
efc662e171 Replace old-style bookmarks with RDF and clean up the openFileAction
git-svn-id: svn://10.0.0.236/trunk@8518 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 18:34:34 +00:00
slamm%netscape.com
85f0826660 Add beginnings of RDF Toolbars and replace old-style bookmarks with RDF.
git-svn-id: svn://10.0.0.236/trunk@8517 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 18:34:26 +00:00
slamm%netscape.com
25493021ad Add beginnings of RDF Toolbars
git-svn-id: svn://10.0.0.236/trunk@8516 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 18:34:23 +00:00
slamm%netscape.com
9b02416f9a Replace old-style bookmarks and history with RDF.
git-svn-id: svn://10.0.0.236/trunk@8515 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 18:34:17 +00:00
slamm%netscape.com
ee2f6bf759 Fix a UMR
git-svn-id: svn://10.0.0.236/trunk@8514 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 18:34:05 +00:00
slamm%netscape.com
661ba6dce5 Get rid of references to the old bookmarks backend and replace it with RDF
git-svn-id: svn://10.0.0.236/trunk@8513 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 18:33:55 +00:00
slamm%netscape.com
781f32753d Split out the translation resources. Use and '@INCLUDE <file>@' directive in the resources file. Eventually we can replace 'sed' with 'perl' to do this in a more general way.
git-svn-id: svn://10.0.0.236/trunk@8512 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 18:33:51 +00:00
slamm%netscape.com
2284ad2c19 Zap some compiler warnings.
git-svn-id: svn://10.0.0.236/trunk@8511 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 18:33:42 +00:00
slamm%netscape.com
f248fe0fb6 Move remote command 'addbookmark' to src dir. Delete some unused defines
git-svn-id: svn://10.0.0.236/trunk@8510 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 18:33:39 +00:00
slamm%netscape.com
2573e08295 Toss dead bkmks code.
git-svn-id: svn://10.0.0.236/trunk@8509 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 18:33:34 +00:00
gagan%netscape.com
b19f886c20 Test checkin to verify merge. Not in build process.
git-svn-id: svn://10.0.0.236/trunk@8508 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 18:31:05 +00:00
buster%netscape.com
b741cf53cc fixed a minor bug handling tables with COLS attribute
git-svn-id: svn://10.0.0.236/trunk@8505 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 17:53:47 +00:00
buster%netscape.com
663dc8e0c4 more content decoupling
support work for style optimizations
fixed a bug in table columns  -- the attribute repeat defaults to 1, not 0


git-svn-id: svn://10.0.0.236/trunk@8504 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 17:26:38 +00:00
dcone%netscape.com
3d8bc3335c Major redo based on a new GFX library
git-svn-id: svn://10.0.0.236/trunk@8503 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 14:16:51 +00:00
dcone%netscape.com
84c5fb38d5 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@8502 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 14:15:58 +00:00
dcone%netscape.com
7d4f3d041d Mac work for Raptor
git-svn-id: svn://10.0.0.236/trunk@8501 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 14:15:34 +00:00
dcone%netscape.com
26bccfb7fb doing Mac work, temporary file
git-svn-id: svn://10.0.0.236/trunk@8500 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 14:14:50 +00:00
dcone%netscape.com
4f173c4c7e fixed some port bugs
git-svn-id: svn://10.0.0.236/trunk@8499 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 14:13:36 +00:00
cls%seawood.org
2979dc680a Fixed problem with files being generated in the srcdir.
git-svn-id: svn://10.0.0.236/trunk@8498 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 08:58:26 +00:00
ramiro%netscape.com
8ec1898b2d Fix EXPORTS.
git-svn-id: svn://10.0.0.236/trunk@8497 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 06:32:25 +00:00
ramiro%netscape.com
0c42478791 First step in moving the tooltip insanity out of the xfe and onto its own
library.


git-svn-id: svn://10.0.0.236/trunk@8496 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 06:30:33 +00:00
shaver%netscape.com
9013b35743 JS_ConstructObject: fill NULL proto/parent like JSOP_NEW would
git-svn-id: svn://10.0.0.236/trunk@8495 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 06:14:55 +00:00
terry%netscape.com
502157a1c3 Bugzilla source.
git-svn-id: svn://10.0.0.236/trunk@8494 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 06:14:20 +00:00
ramiro%netscape.com
d404f00d25 First step in moving the tooltip insanity out of the xfe and onto its own
library.


git-svn-id: svn://10.0.0.236/trunk@8493 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 05:59:32 +00:00
rpotts%netscape.com
bf872ac3ec Removed optimization which was causing timer skew and unreliable callbacks...
git-svn-id: svn://10.0.0.236/trunk@8492 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 05:40:35 +00:00
cls%seawood.org
bde336e65a Updates to autoconf files.
git-svn-id: svn://10.0.0.236/trunk@8491 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 04:04:57 +00:00
troy%netscape.com
a362d09c18 Changed ImageUpdated() to only do gamma correction if the gamma value
is not 1.0


git-svn-id: svn://10.0.0.236/trunk@8490 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 03:27:54 +00:00
pierre%netscape.com
6690f04312 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@8489 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 03:13:44 +00:00
troy%netscape.com
470cc500f6 Added nsHTMLLayer.cpp
git-svn-id: svn://10.0.0.236/trunk@8488 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 02:24:18 +00:00
troy%netscape.com
01d498dee2 Work in progress for LAYER tag
git-svn-id: svn://10.0.0.236/trunk@8487 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 02:23:21 +00:00
av%netscape.com
2f7cb6dd66 Temporarily fixing build problems
git-svn-id: svn://10.0.0.236/trunk@8486 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 02:08:03 +00:00
akkana%netscape.com
f34bdf6247 fix 309734, nesting of 'delete past table cell boundary' dialogs
git-svn-id: svn://10.0.0.236/trunk@8485 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 00:51:36 +00:00
ftang%netscape.com
438b28d444 add XP_ASSERT(IsUTFString) to verify RDF_Assert. Reviewed by rjc
git-svn-id: svn://10.0.0.236/trunk@8484 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 00:20:49 +00:00
cyeh%netscape.com
e6984159d7 added two perl scripts to the Mac only module to handle the
build number thingy on mac


git-svn-id: svn://10.0.0.236/trunk@8483 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-26 00:10:22 +00:00
av%netscape.com
2046d01aaf Anthrax feature for Windows
git-svn-id: svn://10.0.0.236/trunk@8482 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 23:45:14 +00:00
valeski%netscape.com
47fc00a267 removed some macros (for debugging ease). Changed the XP_OpenDir and an XP dir status routine to PR_* to get local file system directory listings working in Raptor.
git-svn-id: svn://10.0.0.236/trunk@8481 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 23:33:28 +00:00
av%netscape.com
9a0edc87f3 Anthrax feature for Windows
git-svn-id: svn://10.0.0.236/trunk@8480 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 23:22:26 +00:00
akkana%netscape.com
199dec9b31 Ender: make toolbars update as cursor or selection is moved.
git-svn-id: svn://10.0.0.236/trunk@8479 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 23:10:27 +00:00
despotdaemon%netscape.com
214781436a Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@8478 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 22:53:33 +00:00
cmanske%netscape.com
c5ea8ac346 Removed attempt to optimize editor layout by not relaying out entire line. Must find another solution
git-svn-id: svn://10.0.0.236/trunk@8477 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 22:48:27 +00:00
cmanske%netscape.com
8ffebb5d83 Composer FE bug fixes. Reverted background drawing change - fixed in XP code
git-svn-id: svn://10.0.0.236/trunk@8476 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 22:47:40 +00:00
pinkerton%netscape.com
e69fd8c60c remove string for IBM3270 stuff (unused).
git-svn-id: svn://10.0.0.236/trunk@8475 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 21:34:54 +00:00
cyeh%netscape.com
613e49ec9f generate build numbers all the time, since Mozilla is going to need
this number as well.


git-svn-id: svn://10.0.0.236/trunk@8474 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 21:23:32 +00:00
preed%netscape.com
f9278ea76d Adds functionality to write multiple comments to a log with one
submission. Also fixes some bugs and UI problems. Reviewed by terry.


git-svn-id: svn://10.0.0.236/trunk@8473 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 21:22:32 +00:00
valeski%netscape.com
9ca2937a83 we're now respecting success/failure return values from PREF_Get* routines, for the most part. imap, pop, news weren't cleaned up (nor was nucache).
Default values are now used when PREFs are down.


git-svn-id: svn://10.0.0.236/trunk@8472 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 21:17:03 +00:00
pinkerton%netscape.com
ec0bffcbe8 Removed old constant for location bar (from 3.0 days), using new one everywhere.
git-svn-id: svn://10.0.0.236/trunk@8471 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 20:33:07 +00:00
pinkerton%netscape.com
9f356b6ca1 updated for new constants, etc. Removing old cruft.
git-svn-id: svn://10.0.0.236/trunk@8470 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 20:32:29 +00:00
pinkerton%netscape.com
1ce4f42986 #ifdef Moz_mail_news stuff we don't use anymore.
git-svn-id: svn://10.0.0.236/trunk@8469 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 20:32:13 +00:00
pinkerton%netscape.com
38a5206b50 #ifdef MOZ_MAIL_NEWS stuff we don't use anymore.
git-svn-id: svn://10.0.0.236/trunk@8468 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 20:31:48 +00:00
pinkerton%netscape.com
6215521227 Move over some of McMullen's fixes for printing form elements correctly. Doesn't work, though.
git-svn-id: svn://10.0.0.236/trunk@8467 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 20:31:26 +00:00
pinkerton%netscape.com
5755542d9b remove some nethelp code.
git-svn-id: svn://10.0.0.236/trunk@8466 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 20:30:35 +00:00
pinkerton%netscape.com
86b84b5ad7 move constant from resgui into here.
git-svn-id: svn://10.0.0.236/trunk@8465 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 20:30:18 +00:00
pinkerton%netscape.com
eae7f86101 Fix bug where flex table was too large for the bookmarks window resulting in the last line being lost off the bottom.
git-svn-id: svn://10.0.0.236/trunk@8464 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 20:30:04 +00:00
pinkerton%netscape.com
9e9ec97bb3 #ifdef MOZ_MAIL_NEWS some stuff we don't use anymore.
git-svn-id: svn://10.0.0.236/trunk@8463 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 20:29:41 +00:00
pinkerton%netscape.com
85d4b6191e New "sort bookmarks menu" item.
git-svn-id: svn://10.0.0.236/trunk@8462 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 20:29:06 +00:00
pinkerton%netscape.com
2d68b2e312 Removing mail/news/conference/netcaster/3270/calendar cruft from global constants.
git-svn-id: svn://10.0.0.236/trunk@8461 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 20:28:50 +00:00
pinkerton%netscape.com
a5aa8e2640 use the new constants for form element messages.
git-svn-id: svn://10.0.0.236/trunk@8460 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 20:27:58 +00:00
pinkerton%netscape.com
c7852e9248 4.5 landing. Better drawing during printing and making the "inherited" typedefs private.
git-svn-id: svn://10.0.0.236/trunk@8459 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 20:27:38 +00:00
pinkerton%netscape.com
487b504545 No more 3270 support.
git-svn-id: svn://10.0.0.236/trunk@8458 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 20:26:11 +00:00
pinkerton%netscape.com
a66e5a4570 Allow tooltip to show up even when not on a valid cell.
git-svn-id: svn://10.0.0.236/trunk@8457 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 20:25:15 +00:00
pinkerton%netscape.com
1354f252f5 Better tooltip support (uses new tooltip for all columns).
git-svn-id: svn://10.0.0.236/trunk@8456 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 20:24:20 +00:00
cmanske%netscape.com
675baf0e9c Backed out change intended for testing only
git-svn-id: svn://10.0.0.236/trunk@8455 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 20:24:04 +00:00
pinkerton%netscape.com
6ed01ceeef Better handling of UTF8.
git-svn-id: svn://10.0.0.236/trunk@8454 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 20:23:47 +00:00
cmanske%netscape.com
9fe6bf1f51 Composer performance optimization work - FixupTableData optimizations. Added SingleSignon feature for Composer publishing. Fixed layout cell background bug - permission by nisheeth
git-svn-id: svn://10.0.0.236/trunk@8453 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 20:16:10 +00:00
cmanske%netscape.com
be91aa1f5c Removed global function not used by FEs
git-svn-id: svn://10.0.0.236/trunk@8452 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 20:16:00 +00:00
ftang%netscape.com
c9dd72cbff clean up intlwin.cpp to delete obsoleted Win16 stuff...
git-svn-id: svn://10.0.0.236/trunk@8451 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 20:05:52 +00:00
ftang%netscape.com
7fc6a69d45 fix window UTF8 problem. But the UTF8 to UTF8 conversion before Vietnamese
git-svn-id: svn://10.0.0.236/trunk@8450 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 20:03:34 +00:00
toshok%netscape.com
7da2228989 added check for sys_errlist/sys_nerr. defines HAVE_SYSERRLIST if they are present.
git-svn-id: svn://10.0.0.236/trunk@8449 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 19:57:01 +00:00
toshok%netscape.com
161a7ca9f5 get rid of all the platform ifdefs around sys_errlist. replace them all with #ifdef HAVE_SYSERRLIST, which is defined in the config/*.mk's and which should be tested for by configure.in
git-svn-id: svn://10.0.0.236/trunk@8448 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 19:44:12 +00:00
toshok%netscape.com
2040ea16b7 add NetBSD libs
git-svn-id: svn://10.0.0.236/trunk@8447 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 19:41:07 +00:00
ramiro%netscape.com
5ad56223a2 Add support for DG/UX.
Thanks to fraioli@dg-rtp.dg.com (Marc J. Fraioli).


git-svn-id: svn://10.0.0.236/trunk@8446 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 19:35:56 +00:00
jwz%mozilla.org
9f5ba2cbd4 All Unix versions of Mozilla link against libmime, so they should all
call MIME_RegisterConverters() to register the converter for documents
of type message/rfc822.

On Windows, that converter is currently only registered if SMART_MAIL is
defined.

On Mac, it's never registered at all.

Someone needs to consolidate all this.


git-svn-id: svn://10.0.0.236/trunk@8445 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 19:19:13 +00:00
spider%netscape.com
59049b4802 Unix fixes
git-svn-id: svn://10.0.0.236/trunk@8444 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 19:00:32 +00:00
prasad%netscape.com
7dfcb88001 don't hardcode domestic
git-svn-id: svn://10.0.0.236/trunk@8443 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 18:48:36 +00:00
donm%netscape.com
40260bd5fa adding files for new perl build_numbering system.
git-svn-id: svn://10.0.0.236/trunk@8442 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 17:15:41 +00:00
prasad%netscape.com
ba87cf3d53 take out Prasad node
git-svn-id: svn://10.0.0.236/trunk@8441 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 15:35:55 +00:00
spider%netscape.com
c232433e11 Updates to invalidate throbber after last image has completed loading
git-svn-id: svn://10.0.0.236/trunk@8440 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 14:45:24 +00:00
spider%netscape.com
c51c3e4af2 Updates for trex
git-svn-id: svn://10.0.0.236/trunk@8439 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 14:44:46 +00:00
brendan%netscape.com
68cdb7d0b0 Fix typos, int type mismatch, white-space, and layout style nits.
git-svn-id: svn://10.0.0.236/trunk@8438 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 08:23:34 +00:00
brendan%netscape.com
71e7443c33 Fix typos, white-space, and layout style nits.
git-svn-id: svn://10.0.0.236/trunk@8437 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 08:22:27 +00:00
brendan%netscape.com
6d7164c0d9 Propagate js/src back-out of fur's incompatible closure version-check mod.
git-svn-id: svn://10.0.0.236/trunk@8436 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 08:21:55 +00:00
brendan%netscape.com
9e306d15ea Propagate warren's OJI-related XP_MAC pragma change from js/src.
git-svn-id: svn://10.0.0.236/trunk@8435 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 08:21:09 +00:00
brendan%netscape.com
7d61af5201 Fix nits.
git-svn-id: svn://10.0.0.236/trunk@8434 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 07:56:42 +00:00
brendan%netscape.com
9667d8e074 Cope with uninitialized MWContext charset id (312759, mlm).
git-svn-id: svn://10.0.0.236/trunk@8433 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 07:37:52 +00:00
brendan%netscape.com
b9f6014b69 Fix indentation nit.
git-svn-id: svn://10.0.0.236/trunk@8432 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 07:32:25 +00:00
rpotts%netscape.com
9cf0bd7e44 Evil fix for deadlock during synchronous http url loads...
git-svn-id: svn://10.0.0.236/trunk@8431 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 05:51:40 +00:00
despotdaemon%netscape.com
f5dcaa87f4 Pseudo-automatic update of changes made by friedman@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@8430 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 05:09:33 +00:00
pierre%netscape.com
ed2b109deb added ":mozilla:dom:src:jsurl:MANIFEST"
git-svn-id: svn://10.0.0.236/trunk@8429 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 03:25:46 +00:00
rjc%netscape.com
db5c8c0aab If not set, default to data being local.
git-svn-id: svn://10.0.0.236/trunk@8428 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 01:57:51 +00:00
akkana%netscape.com
c263f6010e Fix IRIX build breakage -- add arg to isrequestorAlive call
git-svn-id: svn://10.0.0.236/trunk@8427 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 00:36:25 +00:00
pinkerton%netscape.com
95abb167e3 Changes for move of EClickState to netscape_constants (rev brade).
git-svn-id: svn://10.0.0.236/trunk@8426 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 00:23:38 +00:00
akkana%netscape.com
a0ebc626fd Show which Ender area is active by changing the frame shadow type.
git-svn-id: svn://10.0.0.236/trunk@8425 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 00:08:37 +00:00
pinkerton%netscape.com
2dfc6dd811 new UTF8 drawing routines (yay!)
git-svn-id: svn://10.0.0.236/trunk@8424 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 00:04:34 +00:00
thom%netscape.com
b96f8df857 fixed mac compile error in the initialization code
git-svn-id: svn://10.0.0.236/trunk@8423 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 00:04:27 +00:00
pinkerton%netscape.com
fc901a8a36 added new CTableTooltipPane pane.
git-svn-id: svn://10.0.0.236/trunk@8422 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 00:04:05 +00:00
pinkerton%netscape.com
b6cc01fc9a Move EClickState enums here, consolodating from several places.
git-svn-id: svn://10.0.0.236/trunk@8421 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 00:03:51 +00:00
pinkerton%netscape.com
4d8a97e52f Get new table tooltips in Aurora.
git-svn-id: svn://10.0.0.236/trunk@8420 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 00:03:32 +00:00
pinkerton%netscape.com
8a85601fbb Landing code from 4.5. Allows tooltips to stay around between areas that want them, instead of hiding each time.
git-svn-id: svn://10.0.0.236/trunk@8419 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 00:03:19 +00:00
pinkerton%netscape.com
ee01686f81 Landing of 4.5 changes to get new tooltips, bug fixes, and spring-loaded folders. Caused some APIs to change, I hope I got them all in derrived classes.
git-svn-id: svn://10.0.0.236/trunk@8418 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 00:02:34 +00:00
pinkerton%netscape.com
7c9b537c94 Changes from 4.5 to support new tooltips that don't go away when you move between two areas that desire a tooltip.
git-svn-id: svn://10.0.0.236/trunk@8417 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 00:01:56 +00:00
pinkerton%netscape.com
f04379a06b API change in tooltips from 4.5
git-svn-id: svn://10.0.0.236/trunk@8416 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 00:01:10 +00:00
pinkerton%netscape.com
f82ecce7e0 Some API changes from 4.5 version of CStandardFlexTable. Also pick up new tooltips and spring-loaded folders.
git-svn-id: svn://10.0.0.236/trunk@8415 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-25 00:00:54 +00:00
pinkerton%netscape.com
e096a51037 EClickState moved to Netscape_Constants
git-svn-id: svn://10.0.0.236/trunk@8413 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 23:59:57 +00:00
pinkerton%netscape.com
2411187e34 Move EClickState to Netscape_Constants
git-svn-id: svn://10.0.0.236/trunk@8412 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 23:58:57 +00:00
pinkerton%netscape.com
e0fbee679f Make Aurora tooltips use new table tooltips.
git-svn-id: svn://10.0.0.236/trunk@8411 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 23:57:43 +00:00
pinkerton%netscape.com
ae1decdd93 Added CTableTooltipPane.cp
git-svn-id: svn://10.0.0.236/trunk@8410 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 23:57:22 +00:00
pinkerton%netscape.com
79903994ab Register new table tooltip pane/attachment.
git-svn-id: svn://10.0.0.236/trunk@8409 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 23:56:42 +00:00
pinkerton%netscape.com
6560b573d4 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@8408 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 23:54:19 +00:00
cyeh%netscape.com
d8d12b4a6e adding module for the Messaging Server SDK
git-svn-id: svn://10.0.0.236/trunk@8407 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 23:38:36 +00:00
radha%netscape.com
7df87a5a4c Fix the inline editing part in navigation and management mode
git-svn-id: svn://10.0.0.236/trunk@8406 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 23:17:29 +00:00
donm%netscape.com
1ebde02c9f new perl build numbering system.
git-svn-id: svn://10.0.0.236/trunk@8405 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 23:08:56 +00:00
prasad%netscape.com
6dd5bddaf6 got rid of unnecessary stuff
git-svn-id: svn://10.0.0.236/trunk@8404 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 22:43:58 +00:00
prasad%netscape.com
f244a3ad6d taking out last change
git-svn-id: svn://10.0.0.236/trunk@8403 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 22:40:11 +00:00
prasad%netscape.com
9c58911966 adding new sources
git-svn-id: svn://10.0.0.236/trunk@8402 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 22:38:06 +00:00
prasad%netscape.com
920bfbe0de adding new sources
git-svn-id: svn://10.0.0.236/trunk@8401 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 22:31:18 +00:00
prasad%netscape.com
876243b61b adding new sources
git-svn-id: svn://10.0.0.236/trunk@8400 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 22:22:59 +00:00
prasad%netscape.com
7bee483657 adding new srcs
git-svn-id: svn://10.0.0.236/trunk@8397 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 21:33:09 +00:00
prasad%netscape.com
e112123845 changed C advaced to Advanced1 from Advanced_1 due to cvs error
git-svn-id: svn://10.0.0.236/trunk@8395 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 21:30:19 +00:00
prasad%netscape.com
67dde617f8 adding new srcs
git-svn-id: svn://10.0.0.236/trunk@8391 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 21:19:49 +00:00
prasad%netscape.com
559dde90ba adding new srcs
git-svn-id: svn://10.0.0.236/trunk@8388 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 21:13:27 +00:00
prasad%netscape.com
ceb9848678 adding new srcs
git-svn-id: svn://10.0.0.236/trunk@8386 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 21:07:59 +00:00
prasad%netscape.com
1e87ed3d72 ReadMeC.htm
git-svn-id: svn://10.0.0.236/trunk@8385 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 21:03:36 +00:00
prasad%netscape.com
91de9f6012 Adding new sources
git-svn-id: svn://10.0.0.236/trunk@8384 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 21:01:04 +00:00
prasad%netscape.com
855a68f423 adding new srcsMakefile
git-svn-id: svn://10.0.0.236/trunk@8383 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 20:58:37 +00:00
akkana%netscape.com
8cdace045c m_table is now passed in at creation time; we shouldn't delete it in dtor.
git-svn-id: svn://10.0.0.236/trunk@8382 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 20:50:56 +00:00
prasad%netscape.com
b16e806fe6 adding msg sdk sources
git-svn-id: svn://10.0.0.236/trunk@8381 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 20:50:36 +00:00
prasad%netscape.com
4d7b6655cf adding msg sdk sources*.c
git-svn-id: svn://10.0.0.236/trunk@8380 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 20:49:09 +00:00
rpotts%netscape.com
e236e09406 NGLayout only... Added a synchronous command line option for testing synchronous URL fetching.
git-svn-id: svn://10.0.0.236/trunk@8379 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 20:46:44 +00:00
prasad%netscape.com
184f5a1771 adding new files
git-svn-id: svn://10.0.0.236/trunk@8378 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 20:45:49 +00:00
prasad%netscape.com
6fe333d053 adding msg sdk sources
git-svn-id: svn://10.0.0.236/trunk@8377 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 20:42:22 +00:00
ftang%netscape.com
3916050cde fix NULL problem for IsUTF8String
git-svn-id: svn://10.0.0.236/trunk@8376 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 20:38:02 +00:00
despotdaemon%netscape.com
41d4882169 Pseudo-automatic update of changes made by cyeh@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@8375 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 20:28:48 +00:00
radha%netscape.com
9bd2fd58bd Move image rendering code to Image.cpp
git-svn-id: svn://10.0.0.236/trunk@8374 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 20:19:46 +00:00
radha%netscape.com
b6e62df847 Call fe_DisplayPixmap instead of DisplayPixmap
git-svn-id: svn://10.0.0.236/trunk@8373 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 20:17:51 +00:00
despotdaemon%netscape.com
f6c0d5546c Pseudo-automatic update of changes made by cyeh@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@8372 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 20:15:14 +00:00
radha%netscape.com
90af9ad2ff Add Image.cpp to the build list
git-svn-id: svn://10.0.0.236/trunk@8371 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 20:14:02 +00:00
radha%netscape.com
a6091b5668 Call RDFImage to draw background pixmap
git-svn-id: svn://10.0.0.236/trunk@8370 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 20:13:43 +00:00
radha%netscape.com
054abd49c4 Re-arrange the Cache code and add more utility functions
git-svn-id: svn://10.0.0.236/trunk@8369 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 20:11:25 +00:00
dcone%netscape.com
ca6bf4c1bd Finished the first pass at implementation
git-svn-id: svn://10.0.0.236/trunk@8368 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 20:10:57 +00:00
radha%netscape.com
aeda3891a5 RDFImages cache moved to RDFImage.cpp
git-svn-id: svn://10.0.0.236/trunk@8367 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 20:09:43 +00:00
radha%netscape.com
a18d7d3b91 Generic Image rendering functions moved to this new file. Initial checkin.
git-svn-id: svn://10.0.0.236/trunk@8366 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 20:09:05 +00:00
radha%netscape.com
4a21d8ddd0 Rename function DisplayPixmap to fe_DisplayPixmap
git-svn-id: svn://10.0.0.236/trunk@8365 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 20:07:32 +00:00
pinkerton%netscape.com
e3b10e7fa4 Do single-click mode in a better way.
git-svn-id: svn://10.0.0.236/trunk@8364 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 19:53:36 +00:00
pinkerton%netscape.com
11f93e6320 On mode switch, make sure tree has right # of clicks to open row.
git-svn-id: svn://10.0.0.236/trunk@8363 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 19:53:10 +00:00
pinkerton%netscape.com
e6060a48e8 Ability to set # of clicks to open row from API.
git-svn-id: svn://10.0.0.236/trunk@8362 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-24 19:52:47 +00:00
waterson%netscape.com
dec0b322d5 Fixed bad read references noticed by Jud with Quantify.
git-svn-id: svn://10.0.0.236/trunk@8357 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-23 22:15:21 +00:00
waterson%netscape.com
ebde099e8c Fixed the #ifdef NO_TIMING macros.
git-svn-id: svn://10.0.0.236/trunk@8356 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-23 22:12:07 +00:00
rickg%netscape.com
56bdc1241a more WIP for logparse
git-svn-id: svn://10.0.0.236/trunk@8355 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-23 20:21:58 +00:00
morse%netscape.com
5d78e78888 added routines for composer publishing
git-svn-id: svn://10.0.0.236/trunk@8354 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-23 15:19:19 +00:00
troy%netscape.com
11d9b958f7 Changed ParseValueorPercent() to return a PRBool
git-svn-id: svn://10.0.0.236/trunk@8353 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-23 02:10:44 +00:00
rickg%netscape.com
7623c4ab6e added iostream output to nsString
git-svn-id: svn://10.0.0.236/trunk@8352 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-22 17:50:13 +00:00
rickg%netscape.com
0c804eb8f6 new improved logparse
git-svn-id: svn://10.0.0.236/trunk@8351 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-22 17:49:36 +00:00
troy%netscape.com
a3923f12f8 Changed ParseValue() to return a PRBool result
git-svn-id: svn://10.0.0.236/trunk@8350 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-22 04:55:28 +00:00
morse%netscape.com
dcda670ab9 fix up multi-user logic for single singon
git-svn-id: svn://10.0.0.236/trunk@8349 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-22 02:46:49 +00:00
rpotts%netscape.com
661ca3e5d1 Added support to shut down netlib and the nsINetService instance...
git-svn-id: svn://10.0.0.236/trunk@8348 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-22 00:12:54 +00:00
raman%netscape.com
73df9e69d0 Converting Smartupdate code from Java to C++.
git-svn-id: svn://10.0.0.236/trunk@8347 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 23:46:11 +00:00
troy%netscape.com
afea246aeb Made sure clipChildren member of widget init data is initialized
git-svn-id: svn://10.0.0.236/trunk@8346 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 23:06:01 +00:00
akkana%netscape.com
9336325332 Fixes for switching focus on Ender toolbars
git-svn-id: svn://10.0.0.236/trunk@8345 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 23:02:19 +00:00
akkana%netscape.com
356705cb89 Fixes for switching focus on Ender toolbars. Also, clean up code wrt virtual declarations.
git-svn-id: svn://10.0.0.236/trunk@8344 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 23:01:55 +00:00
joki%netscape.com
be271d814a Fix makefile typo to fix unix builds
git-svn-id: svn://10.0.0.236/trunk@8343 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 21:59:08 +00:00
joki%netscape.com
3e45079cd6 Fix nsIWidget's GetParent call to return parent, not self.
git-svn-id: svn://10.0.0.236/trunk@8342 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 21:41:36 +00:00
joki%netscape.com
ba9796126f Adding DOM append child interface and implementing window.frames array.
git-svn-id: svn://10.0.0.236/trunk@8341 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 21:39:27 +00:00
joki%netscape.com
7e064bbd3a Modifying nsIContent's AppendChild -> AppendChildTo to stop conflict with
DOM interfaces.


git-svn-id: svn://10.0.0.236/trunk@8340 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 21:38:26 +00:00
morse%netscape.com
d80772b5de added comment requested by relliott
git-svn-id: svn://10.0.0.236/trunk@8339 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 20:45:59 +00:00
morse%netscape.com
6ad29b6117 get privacy tutorial from outside the firewall so web users can see it
git-svn-id: svn://10.0.0.236/trunk@8338 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 20:42:20 +00:00
morse%netscape.com
929cfbda61 hook up about-site menu item
git-svn-id: svn://10.0.0.236/trunk@8337 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 20:41:06 +00:00
morse%netscape.com
2def2e94bf pass current url rather than base url to single signon
git-svn-id: svn://10.0.0.236/trunk@8336 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 20:38:28 +00:00
preed%netscape.com
41bcfb40ff This is a bug fix; when two tree were displayed at once, the argument in
the menu for "addnote.cgi" was passed as tree1 and tree2, not the specific
buildtree for that block. This problem was experienced with the other menu
items, but corrected before the first checkin. This checkin fixes this
problem with addnote.cgi as well.


git-svn-id: svn://10.0.0.236/trunk@8335 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 18:40:26 +00:00
kostello%netscape.com
9bbbdd2773 Synched with Pasteboard code on the branch
git-svn-id: svn://10.0.0.236/trunk@8334 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 18:28:48 +00:00
dcone%netscape.com
f268fc7fbf *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@8333 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 17:14:30 +00:00
dcone%netscape.com
3b53441efb Added GFX factory creation, this allows the nsDeviceContext to be created.
git-svn-id: svn://10.0.0.236/trunk@8332 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 17:13:52 +00:00
dcone%netscape.com
6baa307fd1 Major redo based on a new GFX library
git-svn-id: svn://10.0.0.236/trunk@8331 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 17:13:14 +00:00
dcone%netscape.com
f252c39e4e Added the creation of the device context.
git-svn-id: svn://10.0.0.236/trunk@8330 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 17:12:32 +00:00
dcone%netscape.com
b8d3f3b8bb Updated to the correct way the DeviceContext should work, added the twips calculation
git-svn-id: svn://10.0.0.236/trunk@8329 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 17:11:15 +00:00
ramiro%netscape.com
933646ed20 Move the bookmarks menu to the top level menubar.
git-svn-id: svn://10.0.0.236/trunk@8327 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 10:43:27 +00:00
mcafee%netscape.com
fa3ec6839a Link with $(CCC).
git-svn-id: svn://10.0.0.236/trunk@8326 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 09:30:35 +00:00
mcafee%netscape.com
d6f87350e9 Changed project
git-svn-id: svn://10.0.0.236/trunk@8325 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 09:20:23 +00:00
mcafee%netscape.com
7de4af812b Include paths and defines from Makefile.mozilla
git-svn-id: svn://10.0.0.236/trunk@8324 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 09:18:32 +00:00
mcafee%netscape.com
e815ceb3a8 Adding test CFLAG
git-svn-id: svn://10.0.0.236/trunk@8323 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 09:16:07 +00:00
mcafee%netscape.com
6f28405e11 FE_UnloadPlugin() prototype added struct _np_handle* paramter.
git-svn-id: svn://10.0.0.236/trunk@8322 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 08:48:22 +00:00
mcafee%netscape.com
5aeab4a954 FE_PromptIMAPSubscriptionUpgrade() prototype changed.
git-svn-id: svn://10.0.0.236/trunk@8321 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 08:47:40 +00:00
mcafee%netscape.com
70ee80b38e _IMGCB_DisplayPixmap() prototype changed.
git-svn-id: svn://10.0.0.236/trunk@8320 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 08:47:11 +00:00
mcafee%netscape.com
72205ff75c Missing EmbedWindow calls, CheckConfirm, SelectDialog
git-svn-id: svn://10.0.0.236/trunk@8319 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 08:46:39 +00:00
mcafee%netscape.com
0506db4654 Added ybmisc.c, REQUIRES needs java, plugimpl, security.
git-svn-id: svn://10.0.0.236/trunk@8318 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 08:45:51 +00:00
mcafee%netscape.com
71b1b72d93 Initial checkin
git-svn-id: svn://10.0.0.236/trunk@8317 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 08:45:10 +00:00
mcafee%netscape.com
69d26fc990 nspr20 -> nsprpub
git-svn-id: svn://10.0.0.236/trunk@8316 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 08:31:34 +00:00
mcafee%netscape.com
b161581f85 minor comment
git-svn-id: svn://10.0.0.236/trunk@8315 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 08:16:20 +00:00
mcafee%netscape.com
4137f588cf Initial checkin
git-svn-id: svn://10.0.0.236/trunk@8314 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 08:14:20 +00:00
brendan%netscape.com
297f681a94 Insist on / after builtin at front of MIME type.
git-svn-id: svn://10.0.0.236/trunk@8313 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 08:12:14 +00:00
brendan%netscape.com
2ee8e38a4a Use text/html, not HTMLAREA, as value of TEXTAREA TYPE field; debloat code.
git-svn-id: svn://10.0.0.236/trunk@8312 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 08:11:13 +00:00
brendan%netscape.com
f2a071f8f4 Defend against null from FE_FindFileExt in CRDFImage::ProcessIcon (hyatt).
git-svn-id: svn://10.0.0.236/trunk@8311 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 08:09:01 +00:00
mcafee%netscape.com
3107038651 minor text formatting
git-svn-id: svn://10.0.0.236/trunk@8310 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 08:04:58 +00:00
mcafee%netscape.com
f293558ca7 Includes from Makefile.mozilla
git-svn-id: svn://10.0.0.236/trunk@8309 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 07:52:10 +00:00
mcafee%netscape.com
b31421ce85 Initial checkin
git-svn-id: svn://10.0.0.236/trunk@8308 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 07:41:49 +00:00
mcafee%netscape.com
ed2cfdfed2 Moving Mozilla-specific stuff to Makefile.mozilla for now
git-svn-id: svn://10.0.0.236/trunk@8307 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 07:31:53 +00:00
mcafee%netscape.com
9f847ad970 Initial checkin
git-svn-id: svn://10.0.0.236/trunk@8306 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 07:25:08 +00:00
mcafee%netscape.com
952af2cdc8 Initial checkin
git-svn-id: svn://10.0.0.236/trunk@8305 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 07:19:32 +00:00
valeski%netscape.com
16b4397839 fixing UMR (unitialized memory read) error in netlib timer tracing.
git-svn-id: svn://10.0.0.236/trunk@8304 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 07:01:22 +00:00
morse%netscape.com
bb272f36f1 fix build bustage on mac
git-svn-id: svn://10.0.0.236/trunk@8303 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 06:26:41 +00:00
rpotts%netscape.com
c88eb2fd9c Fixed a crash when Destroy(...) was called without first calling Init(...)
git-svn-id: svn://10.0.0.236/trunk@8302 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 06:21:52 +00:00
joki%netscape.com
375b5308ba Okay, another guess at this bustage.
git-svn-id: svn://10.0.0.236/trunk@8301 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 06:13:03 +00:00
joki%netscape.com
e2d66462b8 Why can't all those little slashes just get along.
git-svn-id: svn://10.0.0.236/trunk@8300 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 05:12:27 +00:00
morse%netscape.com
ffb6a2c5e7 added privacy central
git-svn-id: svn://10.0.0.236/trunk@8299 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 05:04:12 +00:00
morse%netscape.com
7cb07d6bc8 Makefile
git-svn-id: svn://10.0.0.236/trunk@8298 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 04:40:39 +00:00
morse%netscape.com
5b69c849ce added privacy central
git-svn-id: svn://10.0.0.236/trunk@8297 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 04:39:59 +00:00
joki%netscape.com
9c033f7d60 Fix this darned unix redness.
git-svn-id: svn://10.0.0.236/trunk@8296 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 04:38:43 +00:00
cls%seawood.org
724f7bde45 Restoring file biff'd in merge.
git-svn-id: svn://10.0.0.236/trunk@8295 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 03:50:48 +00:00
cls%seawood.org
e0052638a0 Restoring file biff'd in merge.
git-svn-id: svn://10.0.0.236/trunk@8293 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 03:34:44 +00:00
joki%netscape.com
191a3d156d Modify mouseover url messages to send empty string when leaving links.
git-svn-id: svn://10.0.0.236/trunk@8292 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 03:28:44 +00:00
cls%seawood.org
d50e1798e7 Fixed problem with Irix when $x_includes is not set.
git-svn-id: svn://10.0.0.236/trunk@8291 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 03:11:33 +00:00
clu%netscape.com
4911dc6d39 implemented FE of Convert Table to Text and Convert Text to Table. reviewed by sarri.
git-svn-id: svn://10.0.0.236/trunk@8290 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 03:08:41 +00:00
clu%netscape.com
d5f3797dde adding cmd ids for composer Convert_Text_To_Table and Convert_Table_To_Text. reviewed by sarri.
git-svn-id: svn://10.0.0.236/trunk@8289 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 03:06:20 +00:00
clu%netscape.com
7dbbfd73de #313490 - activation and deactivation of image dialog captions. reviewed by sarri.
git-svn-id: svn://10.0.0.236/trunk@8288 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 03:05:01 +00:00
clu%netscape.com
8c94f1f92c fix to #312039 - font toolbar update. Also implemented FE for Convert Text to Table and Convert Table to Text. reviewed by sarri.
git-svn-id: svn://10.0.0.236/trunk@8287 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 03:04:59 +00:00
clu%netscape.com
794ef9319b partial fix for #312859; reviewed by sarri.
git-svn-id: svn://10.0.0.236/trunk@8286 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 03:04:57 +00:00
leaf%mozilla.org
77970cfb5d added mozilla/config/autoconf.mk.in to MozillaSourceUnixOnly module
git-svn-id: svn://10.0.0.236/trunk@8284 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 02:42:59 +00:00
rickg%netscape.com
dfdf0fbcb9 Too many bugs to mention; tables, skipped content; perf; memory
git-svn-id: svn://10.0.0.236/trunk@8283 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 02:04:39 +00:00
rickg%netscape.com
71238ab307 fixed off by one error in Pop()
git-svn-id: svn://10.0.0.236/trunk@8282 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 02:03:56 +00:00
morse%netscape.com
9f0db52c2f fix problem caused by dereferencing null pointer
git-svn-id: svn://10.0.0.236/trunk@8281 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 01:53:08 +00:00
jevering%netscape.com
a4e04b1a1e Moving plugin directory stuff.
git-svn-id: svn://10.0.0.236/trunk@8280 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 01:12:53 +00:00
pinkerton%netscape.com
049d5d84a6 Fix rowRefresh() boo-boo so now it actually redraws the cell when the custom icon loads. Cells with custom icons now draw with the correct text color in all modes.
git-svn-id: svn://10.0.0.236/trunk@8279 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 00:40:34 +00:00
vidur%netscape.com
7aadac9126 Fixed build bustage
git-svn-id: svn://10.0.0.236/trunk@8278 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-21 00:24:40 +00:00
vidur%netscape.com
1336fb61cc Fixed build bustage.
git-svn-id: svn://10.0.0.236/trunk@8277 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 23:07:31 +00:00
vidur%netscape.com
5e62f96c2c Fixed build bustage.
git-svn-id: svn://10.0.0.236/trunk@8276 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 23:00:52 +00:00
mcafee%netscape.com
5587f1d8d2 Initial checkin
git-svn-id: svn://10.0.0.236/trunk@8275 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 22:46:05 +00:00
vidur%netscape.com
128b33e018 Used IIDs for nsIConnectionInfo and nsIDocumentLoadInfo
git-svn-id: svn://10.0.0.236/trunk@8274 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 22:29:22 +00:00
vidur%netscape.com
74ab64f3f0 Added nsIDocumentLoadInfo interface. Temporarily added service startup inside WebShell factory.
git-svn-id: svn://10.0.0.236/trunk@8273 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 22:28:52 +00:00
vidur%netscape.com
4c4c6f8445 Added nsIConnectionInfo interface. Temporarily special-cased javascript: URLs in URL parsing.
git-svn-id: svn://10.0.0.236/trunk@8272 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 22:28:09 +00:00
vidur%netscape.com
d5ef9d3965 Exported NET_StreamBuilder and NET_RegisterProtocolImplementation for modular netlib
git-svn-id: svn://10.0.0.236/trunk@8271 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 22:27:20 +00:00
vidur%netscape.com
693f5d1915 Exported NET_StreamBuilder for modular netlib
git-svn-id: svn://10.0.0.236/trunk@8270 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 22:26:31 +00:00
vidur%netscape.com
b9d512330b Added javascript: URL handling. Added AddNamedReference and RemovedNamedReference to script context interface.
git-svn-id: svn://10.0.0.236/trunk@8269 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 22:25:21 +00:00
jevering%netscape.com
92c2b89717 Moved the ART image hack to the tip.
git-svn-id: svn://10.0.0.236/trunk@8268 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 22:10:06 +00:00
pinkerton%netscape.com
deb24c7782 Handle d&d between multiple popdown trees. Make sure we broadcast that the current view has changed so that the title strip picks it up.
git-svn-id: svn://10.0.0.236/trunk@8267 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 21:51:10 +00:00
pinkerton%netscape.com
dc17b4d9a5 Fix hilight redraw bugs during d&d.
git-svn-id: svn://10.0.0.236/trunk@8266 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 21:50:12 +00:00
pinkerton%netscape.com
175ff9ffad Correctly do dragging between popdown trees in the same window. Also only open the first item in the selection when in a popdown.
git-svn-id: svn://10.0.0.236/trunk@8265 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 21:49:56 +00:00
pinkerton%netscape.com
990a507247 Broadcast message on mouse-up.
git-svn-id: svn://10.0.0.236/trunk@8264 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 21:49:11 +00:00
pinkerton%netscape.com
3f5a9b51ac Handle redrawing the popdown tree during d&d when one goes away and a new one appears. Also close on mouse-up when clicking outside of popdown.
git-svn-id: svn://10.0.0.236/trunk@8263 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 21:48:34 +00:00
jgellman%netscape.com
4d840695e9 2nd try; new parser from james clark
git-svn-id: svn://10.0.0.236/trunk@8262 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 21:20:50 +00:00
kmcclusk%netscape.com
5b9b614171 Added XP_UNIX code to leave the top slash for absolute file paths under UNIX.
This fixes a problem where all of the slashs get stripped off because the URL
is asked to parse a previously parsed url string.


git-svn-id: svn://10.0.0.236/trunk@8261 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 20:32:52 +00:00
jgellman%netscape.com
679d9e3f03 back out last checkin -- bad Macintosh karma, need more time
git-svn-id: svn://10.0.0.236/trunk@8260 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 20:05:26 +00:00
jgellman%netscape.com
a7f3d8c6b3 new XML parser from James Clark
git-svn-id: svn://10.0.0.236/trunk@8259 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 19:24:29 +00:00
karnaze%netscape.com
928a6de8a5 checked for null form manager & fixed memory leak in win95 hack code
git-svn-id: svn://10.0.0.236/trunk@8256 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 18:27:13 +00:00
buster%netscape.com
0e5df88ea8 verify that proportionate-width columns (1* format, or COLS attribute)
get sized to at least their minimum width


git-svn-id: svn://10.0.0.236/trunk@8255 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 17:31:20 +00:00
warren%netscape.com
cf540377a4 Fixed copyright.
git-svn-id: svn://10.0.0.236/trunk@8252 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 07:58:32 +00:00
warren%netscape.com
9abf0ee471 Added from SpiderMonkey131_BRANCH of ns/js/ref/liveconnect
git-svn-id: svn://10.0.0.236/trunk@8251 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 07:58:00 +00:00
rpotts%netscape.com
586e2e3691 moving changes in 3.55.2.1 onto the tip...
git-svn-id: svn://10.0.0.236/trunk@8250 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 06:19:11 +00:00
rpotts%netscape.com
b142e0f478 moving changes in 1.36.2.1 onto the tip...
git-svn-id: svn://10.0.0.236/trunk@8248 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 06:17:47 +00:00
rpotts%netscape.com
4b2b401905 moving 3.23.4.1 to the tip...
git-svn-id: svn://10.0.0.236/trunk@8246 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 06:16:32 +00:00
uid401
6c4b8f671a Documentation improvements.
git-svn-id: svn://10.0.0.236/trunk@8244 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 04:51:19 +00:00
mcafee%netscape.com
9cb384db89 Initial version
git-svn-id: svn://10.0.0.236/trunk@8243 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 03:24:24 +00:00
mcafee%netscape.com
1e98a8b997 Switching to test OS_ARCH for Rhapsody instead of using RHAPSODY.
git-svn-id: svn://10.0.0.236/trunk@8242 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 03:09:31 +00:00
mcafee%netscape.com
04523afd75 Woops, we should test OS_ARCH for Rhapsody instead of using RHAPSODY.
git-svn-id: svn://10.0.0.236/trunk@8241 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 03:09:01 +00:00
mcafee%netscape.com
0f70da9c01 Added FE_PromptIMAPSubscriptionUpgrade()
git-svn-id: svn://10.0.0.236/trunk@8240 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 02:32:50 +00:00
mcafee%netscape.com
3c5be0ed02 Added FE_ShowMinibuffer()
git-svn-id: svn://10.0.0.236/trunk@8239 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 02:32:25 +00:00
morse%netscape.com
78ddac7d6f remove lock from SI_LogNewURL to assure it won't deadlock
git-svn-id: svn://10.0.0.236/trunk@8238 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 02:31:57 +00:00
mcafee%netscape.com
560b3337b0 Added FE_AlternateCompose()
git-svn-id: svn://10.0.0.236/trunk@8237 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 02:31:42 +00:00
mcafee%netscape.com
66c2c448f7 _IMGCB_DisplayPixmap()'s paramters changed; added IMGCBFactory_Create().
git-svn-id: svn://10.0.0.236/trunk@8236 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 02:31:13 +00:00
mcafee%netscape.com
f7ebc021a8 FE_UnloadPlugin()'s parameters changed.
git-svn-id: svn://10.0.0.236/trunk@8235 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 02:30:38 +00:00
mcafee%netscape.com
5794639481 Added XFE_AskStreamQuestion to link stubfe.
git-svn-id: svn://10.0.0.236/trunk@8234 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 02:30:00 +00:00
mcafee%netscape.com
20e701cebc Added STUBFE_CreateEmbedWindow STUBFE_SaveEmbedWindow STUBFE_RestoreEmbedWindow STUBFE_DestroyEmbedWindow STUBFE_FreeBuiltinElement STUBFE_DisplayBuiltin STUBFE_CheckConfirm STUBFE_SelectDialog.
git-svn-id: svn://10.0.0.236/trunk@8233 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 02:29:26 +00:00
mcafee%netscape.com
3a38b24d07 Updated libraries to link this on Solaris. Stripped out release stuff. Took out some XFE hacks.
git-svn-id: svn://10.0.0.236/trunk@8232 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 02:28:32 +00:00
ftang%netscape.com
66656c9da5 add XP_ASSERT(IsUTF8String) to some HT api
git-svn-id: svn://10.0.0.236/trunk@8230 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 00:58:52 +00:00
mcafee%netscape.com
41f3bf64df Switch to using OS_ARCH instead of shell command. r=ramiro
git-svn-id: svn://10.0.0.236/trunk@8229 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 00:51:42 +00:00
pinkerton%netscape.com
191fdd6738 Don't let popdown tree go off the right side of window. Push it back to left if it would.
git-svn-id: svn://10.0.0.236/trunk@8228 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 00:48:01 +00:00
pinkerton%netscape.com
0f9d2f989b Fix problems with popdown tree crashing when closing on double-click (again) by making every browser window have its own version of it and have a static member which points to the currently active one so we can still do things like clip it out when blitting images in the html area w/out having to know about the browser window.
git-svn-id: svn://10.0.0.236/trunk@8227 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 00:40:08 +00:00
pinkerton%netscape.com
34e9f3e491 Don't call HT_CanDropURLOn with bogus data.
git-svn-id: svn://10.0.0.236/trunk@8226 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 00:38:45 +00:00
scullin%netscape.com
c9fa0f4535 Fix hack incompatibility.
git-svn-id: svn://10.0.0.236/trunk@8225 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 00:33:26 +00:00
cyeh%netscape.com
bb95f3bd18 adding file: merge from AUTOCONF_1_0
git-svn-id: svn://10.0.0.236/trunk@8224 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 00:31:17 +00:00
cyeh%netscape.com
72e703144e merging files from AUTOCONF_1_0 branch
git-svn-id: svn://10.0.0.236/trunk@8223 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 00:30:12 +00:00
scullin%netscape.com
053a936966 Move form element hack from branch.
git-svn-id: svn://10.0.0.236/trunk@8222 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 00:24:29 +00:00
cyeh%netscape.com
3e7e71b99a fixing biffed autoconf_1_0 merge
git-svn-id: svn://10.0.0.236/trunk@8221 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-20 00:18:03 +00:00
cyeh%netscape.com
dc77a65bd2 merge autoconf branch to tip
git-svn-id: svn://10.0.0.236/trunk@8220 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 23:36:20 +00:00
cyeh%netscape.com
190a99330b resurrect file toasted from tip
git-svn-id: svn://10.0.0.236/trunk@8219 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 23:34:46 +00:00
valeski%netscape.com
0317dc7bb0 fixed memory leak a little more safely :)
git-svn-id: svn://10.0.0.236/trunk@8217 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 23:33:46 +00:00
valeski%netscape.com
fe7b858a07 fixed memory leak
git-svn-id: svn://10.0.0.236/trunk@8216 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 23:32:43 +00:00
preed%netscape.com
0ac409a746 Fixes some bugs in the way messages of the day were stored; certain
characters could cause tinderbox to bomb out because they weren't escaped,
and the '1;' at the end was missing (which is bad because this is needed
if it's required). Reviewed by terry.


git-svn-id: svn://10.0.0.236/trunk@8215 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 23:31:52 +00:00
preed%netscape.com
b086f7409c Added features to allow popup menu's in showbuilds.cgi (requsted), and
modified a chop to chomp to make SURE it does what we want. Reviewed by
terry.


git-svn-id: svn://10.0.0.236/trunk@8214 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 23:20:45 +00:00
troy%netscape.com
3dd6745dd7 Changed web shell widget to NOT clip children
git-svn-id: svn://10.0.0.236/trunk@8213 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 23:13:00 +00:00
troy%netscape.com
703ca9af2b Added clipChildren option to nsWidgetInitData
git-svn-id: svn://10.0.0.236/trunk@8212 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 23:11:41 +00:00
valeski%netscape.com
277cec0087 webshell/public/nsIDocumentLoader.h
Extended the nsIDocumentLoader interface's LoadURL() method to take a reload type parameter.

webshell/public/nsIWebShell.h
Extended the nsIWebShell interface's LoadURL() method to take a reload type parameter.

webshell/src/nsDocLoader.cpp
1. Extended the nsIDocumentBindInfo interface's Bind() method to take a reload type parameter. The Bind() method now takes the reload parameter and passes it to the nsIUrl it creates.
2. Added support to the DocumentLoader for the extended LoadURL() parameter list. It now passes the reload type down into the Bind() method of the nsIDocumentBindInfo.

webshell/src/nsWebShell.cpp
1. Added support to the nsWebShell to use the new reload type parameter during loads.
2. Hooked up the reload type parameter in the nsWebShell::Reload() method so we actually use it.


git-svn-id: svn://10.0.0.236/trunk@8211 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 23:01:52 +00:00
valeski%netscape.com
b4d5c7e4ce RAPTOR ONLY CHECKIN
network/module/nsIURL.h
Added Get/Set ReloadType methods so a user can query/set the reload type for the url. The default is normal reload.

network/module/nsURL.cpp
Added support for the new nsIURL interface methods (Get/Set ReloadType).

network/module/nsNetService.cpp
OpenStream and OpenBlockingStream now query the nsIURL for it's reload type before creating the url struct. This way we can control how the url is loaded.


git-svn-id: svn://10.0.0.236/trunk@8210 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 23:00:15 +00:00
karnaze%netscape.com
fe7799e863 removed calls to DidReflow on browse button and text area
git-svn-id: svn://10.0.0.236/trunk@8206 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 21:43:46 +00:00
scullin%netscape.com
0c740efd34 Move resource hack to tip.
git-svn-id: svn://10.0.0.236/trunk@8205 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 21:38:57 +00:00
michaelp%netscape.com
f41b11459c fixed bug in loading one of the icons where the handle to load from was never
specified.


git-svn-id: svn://10.0.0.236/trunk@8204 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 21:05:50 +00:00
michaelp%netscape.com
a59b85078e added support for opening new windows with _blank url targets.
git-svn-id: svn://10.0.0.236/trunk@8203 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 21:00:51 +00:00
chuckb%netscape.com
d495a73e5b Java SDK build instructions
git-svn-id: svn://10.0.0.236/trunk@8202 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 20:57:12 +00:00
michaelp%netscape.com
0f6556178c added assert to warn you of recursive painting.
git-svn-id: svn://10.0.0.236/trunk@8201 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 20:56:52 +00:00
michaelp%netscape.com
2aa2b60dad tiny change to get things to work under the 4.1 compiler.
git-svn-id: svn://10.0.0.236/trunk@8200 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 20:56:27 +00:00
cls%seawood.org
4288391d23 AUTOCONF_1_0 landing.
git-svn-id: svn://10.0.0.236/trunk@8198 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 20:42:14 +00:00
buster%netscape.com
214f7beda3 fixes a layout bug where subsequent cells in a column when colspans are involved
could select the wrong starting width for the column, causing it to have the
wrong ending width.


git-svn-id: svn://10.0.0.236/trunk@8197 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 20:41:06 +00:00
buster%netscape.com
7adfe644b7 modified the resize reflow optimization so max element size is returned
if requested without triggering a reflow if the width hasn't changed.


git-svn-id: svn://10.0.0.236/trunk@8196 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 18:40:33 +00:00
despotdaemon%netscape.com
0e3954d4bd Pseudo-automatic update of changes made by gem@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@8195 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 18:25:53 +00:00
troy%netscape.com
88d691c869 Re-ordered code that adds loader object to the array of loaders
git-svn-id: svn://10.0.0.236/trunk@8194 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 18:07:27 +00:00
troy%netscape.com
b9f04152ae Changed call to UpdateView() to be synchronous. This keeps us from
going re-entrant


git-svn-id: svn://10.0.0.236/trunk@8193 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 17:45:28 +00:00
cyeh%netscape.com
ecc5be6ea7 change to the modules file per Chuck Boatwright, LDAP owner
git-svn-id: svn://10.0.0.236/trunk@8192 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 17:33:00 +00:00
dcone%netscape.com
539998ec1a fixed list up a little for gfx build
git-svn-id: svn://10.0.0.236/trunk@8191 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 17:26:50 +00:00
dcone%netscape.com
645dadc9f8 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@8190 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 17:24:14 +00:00
dcone%netscape.com
a9d4cc2a1b Re wrote these files to reflect the correct way of building Devicecontexts
git-svn-id: svn://10.0.0.236/trunk@8189 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 17:24:13 +00:00
dcone%netscape.com
23d55d5115 Added some project info, files
git-svn-id: svn://10.0.0.236/trunk@8188 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 17:21:53 +00:00
dcone%netscape.com
ca72a23f3d Re-syn
git-svn-id: svn://10.0.0.236/trunk@8187 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 17:21:06 +00:00
dcone%netscape.com
b29ee2f9e9 Major redo based on a new GFX library
git-svn-id: svn://10.0.0.236/trunk@8186 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 17:20:31 +00:00
buster%netscape.com
ad76084cb9 improved colspan handling.
cells with colspans and specified widths divide their width provisionally between the columns they span. This provisional division is ammended by any cell in any of the effected columns that:
1) has a colspan=1, and
2) has a width specified
the widths of all other columns must be adjusted for cells like these.  Further complicating matters is that it seems <faith> that if multiple colspanning cells intersect a column and each has a width
specified such that the column would have a different width depending on which is used, only the first such cell is used </faith>.  I can neither confirm nor deny this reading the mozilla code.

I also taught the cell map how to deal with this situation:

 colspan=1 | colspan=2 | colspan=1
 colspan=1 | colspan=2 | colspan=1

This table "really" has 4 columns, but the middle cells are treated as if they have no colspan.
Trust me, it matters.  The original colspan attributes can't simply be thrown away because Mr. DOM
could come along at any time and add/remove a cell that would make them important.


git-svn-id: svn://10.0.0.236/trunk@8185 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 15:43:51 +00:00
mcafee%netscape.com
78a287cde8 Compile flag needed to get expat/xmlparse/xmlparse.c to compile correctly.
git-svn-id: svn://10.0.0.236/trunk@8184 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 08:29:56 +00:00
mcafee%netscape.com
b05ae4a7ce Adding RHAPSODY define so we don't have to do shell commands for ifdef's in Makefiles
git-svn-id: svn://10.0.0.236/trunk@8183 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 08:26:15 +00:00
mcafee%netscape.com
e2f15157aa Adding ybfe, YellowBox/Rhapsody front-end
git-svn-id: svn://10.0.0.236/trunk@8182 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 07:23:28 +00:00
joki%netscape.com
f300c374d7 Moving view selection for event handling into nsViewManager, Adding GrabMouseEvents and GrabKeyEvents
git-svn-id: svn://10.0.0.236/trunk@8181 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 05:35:20 +00:00
troy%netscape.com
e2ff812829 Added some comments
git-svn-id: svn://10.0.0.236/trunk@8180 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 05:06:59 +00:00
troy%netscape.com
2a617558d9 Changed CopyOffScreenBits() to make sure the logical palette is selected
into the screen DC.


git-svn-id: svn://10.0.0.236/trunk@8179 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 04:41:48 +00:00
troy%netscape.com
0ea8197cc3 Changed WM_QUERYNEWPALETTE code to return TRUE to indicate that
a palette was realized


git-svn-id: svn://10.0.0.236/trunk@8176 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 02:31:08 +00:00
morse%netscape.com
3bde6edabc fixed incorrect return type on NET_CookiePermission
git-svn-id: svn://10.0.0.236/trunk@8175 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 02:30:25 +00:00
clu%netscape.com
3bcc29c1be #71944. reviewed by jfrancis.
git-svn-id: svn://10.0.0.236/trunk@8174 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 02:18:02 +00:00
clu%netscape.com
154eccdf6a adding cmd ids for composer Split Cell and Merge Cell. reviewed by jfrancis.
git-svn-id: svn://10.0.0.236/trunk@8173 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 02:18:01 +00:00
clu%netscape.com
e0c34a0c13 implementing macfe Split Cell and Merge Cell. Included AutoKey in the conditional statements for backspace delete and regular key input to help with typing efficiency. reviewed by jfrancis.
git-svn-id: svn://10.0.0.236/trunk@8172 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 02:18:00 +00:00
clu%netscape.com
2ca1451b24 checking in ftang's fix for the correct positioning of the asian language input window.
git-svn-id: svn://10.0.0.236/trunk@8171 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 02:17:59 +00:00
troy%netscape.com
1067da29bd Changed to realize the palette in the background
git-svn-id: svn://10.0.0.236/trunk@8170 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 01:58:17 +00:00
peterl%netscape.com
61c45a8a04 handle body's marginwidth/height via a special style rule
git-svn-id: svn://10.0.0.236/trunk@8169 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 01:16:40 +00:00
peterl%netscape.com
a458984ea5 handle marginwidth/height via a special style rule
git-svn-id: svn://10.0.0.236/trunk@8168 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 01:16:21 +00:00
mcafee%netscape.com
21157c248b Adding support for XP_UNIX && NO_X11. r,a=warren
git-svn-id: svn://10.0.0.236/trunk@8167 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 01:13:08 +00:00
troy%netscape.com
30842a5c4b Changed palette code to get the palette from the device context
git-svn-id: svn://10.0.0.236/trunk@8166 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 00:57:02 +00:00
troy%netscape.com
1d7149f1d1 Added GetPaletteInfo()
git-svn-id: svn://10.0.0.236/trunk@8165 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-19 00:37:05 +00:00
valeski%netscape.com
b4eb4f5402 webshell/public/nsIDocumentLoader.h
Removed support for the underlying timer/refreshurl infrastructure.

webshell/src/nsDocLoader.cpp
1. Added support in nsDocumentBindInfo for the new nsIRefreshUrl method for cancelling.
1.5 Changed the refreshurl() method so it delegates to the container's (i.e. webshell's) refreshurl() method.
2. Removed the "actual" refresh url implementation (timers) from the nsDocumentBindInfo. It's now in the webshell and nsDocumentBindInfo's implementation of nsIRefreshUrl simply delegates to the "container" (i.e. the webshell).
3. Added call to new NS_NewURL() routine which takes an nsISupports pointer as an arg, if the nsDocumentBindInfo has a container to pass along.

webshell/src/nsWebShell.cpp
Added support for the nsIRefreshUrl interface to nsWebShell (this includes the underlying timers and callback mechanism).


git-svn-id: svn://10.0.0.236/trunk@8164 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 23:25:17 +00:00
valeski%netscape.com
a192f6bdd0 network/module/nsIRefreshUrl.h
Extended the nsIRefreshUrl interface to include a cancel method.

network/module/nsNetService.cpp
1. Added code to hook the nsConnectionInfo object up to the nsISupports pointer in the url being loaded.
2. Removed the redirect logic in bam_exit_routine(). The backend dependency on the front end is gone.

network/module/nsNetStream.cpp
Added initialization/destruction of the nsISupports pointer in the nsConnectionInfo.

network/module/nsNetStream.h
Added the nsISupports member declaration to nsConnectionInfo, and remvoed the redirect member variable.

network/module/nsNetStubs.cpp
FE_SetRefreshURLTimer() routine has been modified so it no longer relies on the pConsumer (i.e. nsDocumentBindInfo) which was causing us to leak it. Now we use the nsISupports pointer in the nsConnectionInfo object to access the nsIRefreshURL interface so we can reload the url.

network/module/nsStubContext.cpp
Modified stub_complete() so we no longer pay attention to the redirect member of the nsConnectionInfo object.

network/module/nsIURL.h
1. Added GetContainer() method to nsIURL which returns the nsISupports pointer of the container for this url.
2. created a new NS_NewURL() routine which takes an nsISupports pointer as a parameter.

network/module/nsURL.cpp
1. Added a new nsURL constructor that takes a nsISupports pointer as a param.
2. Added GetContainer() method and nsISupports pointer initialization/destruction.


git-svn-id: svn://10.0.0.236/trunk@8163 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 23:24:28 +00:00
cmanske%netscape.com
182ab83bed Fixed build bustage
git-svn-id: svn://10.0.0.236/trunk@8162 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 23:18:24 +00:00
cls%seawood.org
8ac3fcb06a Added ifdefs for MOZ_NATIVE_{JPEG,PNG,ZLIB}. Approved by pnunn%netscape.com.
git-svn-id: svn://10.0.0.236/trunk@8161 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 22:59:14 +00:00
kostello%netscape.com
662cb6cd5d Added nsButton to libraries
git-svn-id: svn://10.0.0.236/trunk@8160 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 22:49:21 +00:00
kostello%netscape.com
0c173edadd Fixed FindWidgetHit. Added conditional checks for enumerator code.
git-svn-id: svn://10.0.0.236/trunk@8159 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 22:48:35 +00:00
kostello%netscape.com
e5e014b0d5 Comment back in nsIButton code
git-svn-id: svn://10.0.0.236/trunk@8158 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 22:46:07 +00:00
kostello%netscape.com
5e64f2c123 Add support for nsButton
git-svn-id: svn://10.0.0.236/trunk@8157 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 22:45:21 +00:00
kostello%netscape.com
c130b91c69 Check for null
git-svn-id: svn://10.0.0.236/trunk@8156 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 22:44:43 +00:00
kostello%netscape.com
5eaf433084 Added mControl -- temporarily, code from nsButton will probably be moved to a superclass
git-svn-id: svn://10.0.0.236/trunk@8155 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 22:44:02 +00:00
kostello%netscape.com
1d4b465870 First step in converting motif code to mac code.
git-svn-id: svn://10.0.0.236/trunk@8154 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 22:43:08 +00:00
kostello%netscape.com
08e8a4c960 Changed comment from motif to mac
git-svn-id: svn://10.0.0.236/trunk@8153 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 22:42:23 +00:00
valeski%netscape.com
e05d07e172 fixed a memory leak
git-svn-id: svn://10.0.0.236/trunk@8152 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 22:38:03 +00:00
leif%netscape.com
fa2deda6fe *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@8150 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 22:35:57 +00:00
leif%netscape.com
2d5d4601ca *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@8149 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 22:26:44 +00:00
leif%netscape.com
8ef6152a7d Added the setDefaultRebindProc() function back...
git-svn-id: svn://10.0.0.236/trunk@8148 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 22:26:30 +00:00
pnunn%netscape.com
22b4719a0f fix for #314603. pnunn. code error introduced during the modimglib-branch
landing for nglayout.


git-svn-id: svn://10.0.0.236/trunk@8147 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 22:24:59 +00:00
cmanske%netscape.com
425a7c0d6d Fixed multiple-freeing of clipboard formats
git-svn-id: svn://10.0.0.236/trunk@8146 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 22:17:18 +00:00
michaelp%netscape.com
31d0b724ac when killing a window, we now set the GWL_USERDATA to NULL. this will basically
kill the "parent" pointer.


git-svn-id: svn://10.0.0.236/trunk@8145 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 22:03:34 +00:00
karnaze%netscape.com
b35734172b marginwidth, marginheight set in <frame> is passed to sub doc and added to padding
git-svn-id: svn://10.0.0.236/trunk@8144 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 22:02:23 +00:00
scullin%netscape.com
986f93c67c Tweek interface to be compatible with branch for now.
git-svn-id: svn://10.0.0.236/trunk@8143 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 22:01:50 +00:00
dcone%netscape.com
f69f171885 added MANIFEST file for cmd/macfe/utility
git-svn-id: svn://10.0.0.236/trunk@8142 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 21:57:10 +00:00
dcone%netscape.com
c6822e5ecf First Checked In.
git-svn-id: svn://10.0.0.236/trunk@8141 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 21:55:56 +00:00
cmanske%netscape.com
9d683269ec Removed unused strings and function
git-svn-id: svn://10.0.0.236/trunk@8140 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 20:25:19 +00:00
cmanske%netscape.com
587d0f6a3b Removed unused strings and function
git-svn-id: svn://10.0.0.236/trunk@8139 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 20:25:17 +00:00
cmanske%netscape.com
aac0f510b3 Table editing menu work, fixing cell display problems.
git-svn-id: svn://10.0.0.236/trunk@8138 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 20:24:39 +00:00
cmanske%netscape.com
148ca16ff1 More table editing work: convert Excel spreadsheet to internal table format for more flexible paste options
git-svn-id: svn://10.0.0.236/trunk@8137 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 20:24:37 +00:00
morse%netscape.com
1030b2ab89 changes for privacy-central pane
git-svn-id: svn://10.0.0.236/trunk@8136 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 20:00:37 +00:00
morse%netscape.com
7240ed73e9 added string for one-site cookie viewer
git-svn-id: svn://10.0.0.236/trunk@8135 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 19:58:45 +00:00
morse%netscape.com
9005c1b29b make it compile with rhapsody compiler
git-svn-id: svn://10.0.0.236/trunk@8134 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 19:40:55 +00:00
ftang%netscape.com
9ae659900c Add vietnam.c into libi18n (libi18l for historic mistake) . Approved by steve.
git-svn-id: svn://10.0.0.236/trunk@8133 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 19:06:24 +00:00
ftang%netscape.com
eb6d9431cc add Vietname VNI into WinFE ui. Thanks Van Le levan@hotmail.com from the net
git-svn-id: svn://10.0.0.236/trunk@8132 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 19:03:36 +00:00
pinkerton%netscape.com
8700ac667d Now generating xSYM info for nsMacMessagePump.cpp in debug target.
git-svn-id: svn://10.0.0.236/trunk@8130 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 17:54:17 +00:00
kostello%netscape.com
77000c658c Fix mac build
git-svn-id: svn://10.0.0.236/trunk@8129 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 17:24:55 +00:00
pinkerton%netscape.com
8f5a39cdcc Removed full paths to PowerPlant and replaced them with compiler relative ones in shlb target.
git-svn-id: svn://10.0.0.236/trunk@8128 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 17:24:43 +00:00
kostello%netscape.com
192779608e These were checked in by mistake
git-svn-id: svn://10.0.0.236/trunk@8127 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 16:45:33 +00:00
despotdaemon%netscape.com
fb46f2e159 Pseudo-automatic update of changes made by freier@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@8126 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 16:37:34 +00:00
dcone%netscape.com
933b9fd29b Added paint and mousemove events, messagepump
git-svn-id: svn://10.0.0.236/trunk@8125 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 16:27:05 +00:00
dcone%netscape.com
7fc549fd57 Added paint and mousemove events
git-svn-id: svn://10.0.0.236/trunk@8124 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 16:23:13 +00:00
wtc%netscape.com
be00ad7fad Define HAVE_LONG_LONG because gcc/g++ support 'long long'.
git-svn-id: svn://10.0.0.236/trunk@8123 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 15:00:22 +00:00
mcafee%netscape.com
32d514c5b4 Next attempt at getting shared libs to build properly
git-svn-id: svn://10.0.0.236/trunk@8122 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 09:07:32 +00:00
mcafee%netscape.com
fa0dd8ad23 Support DLL_SUFFIX if build overrides .so default
git-svn-id: svn://10.0.0.236/trunk@8121 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 09:06:48 +00:00
mcafee%netscape.com
4cafb49f48 Break up some logic so the Rhapsody compiler can handle it.
git-svn-id: svn://10.0.0.236/trunk@8120 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 08:06:12 +00:00
mcafee%netscape.com
bc24633161 Adding support for Unix && NO_X11
git-svn-id: svn://10.0.0.236/trunk@8119 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 07:47:59 +00:00
mcafee%netscape.com
29b92b686f Support for Intel
git-svn-id: svn://10.0.0.236/trunk@8118 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 07:29:04 +00:00
mcafee%netscape.com
b6ffcd996c Rhapsody doesn't have malloc.h
git-svn-id: svn://10.0.0.236/trunk@8117 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 04:43:46 +00:00
troy%netscape.com
ff933d5110 Added GetLogicalPalette() to nsDeviceContextWin
git-svn-id: svn://10.0.0.236/trunk@8116 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 04:11:01 +00:00
joki%netscape.com
8df994b2d9 A couple of macros for getting basic event types
git-svn-id: svn://10.0.0.236/trunk@8115 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 03:47:24 +00:00
hshaw%netscape.com
cd85334f21 Fix build bustage, moral of the story, be very careful with macros which implicitly take & of your arguments
git-svn-id: svn://10.0.0.236/trunk@8114 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 02:54:13 +00:00
troy%netscape.com
2da30889d0 Changed destructor to Interrupt() image group before realeasing reference
git-svn-id: svn://10.0.0.236/trunk@8113 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 01:43:35 +00:00
jgellman%netscape.com
22c8b015c6 changes from wtc and the net for 64 bit machines, almost certainly not the last of them either
git-svn-id: svn://10.0.0.236/trunk@8112 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 01:24:30 +00:00
hshaw%netscape.com
1f308ef5fc Fix buffering problem and memory leak for gzip compressed content. Generic problem was causing assert failure on Windows only
git-svn-id: svn://10.0.0.236/trunk@8111 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 00:14:32 +00:00
kostello%netscape.com
9cd4a71b7c Fix mac build
git-svn-id: svn://10.0.0.236/trunk@8110 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-18 00:09:48 +00:00
buster%netscape.com
2cd93059a0 fixed nested tables for the case where both parent and child table are %-width,
and the columns are any variety of width types


git-svn-id: svn://10.0.0.236/trunk@8109 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-17 23:37:04 +00:00
kostello%netscape.com
2441f8be8f Added WidgetDebug.o to library
git-svn-id: svn://10.0.0.236/trunk@8108 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-17 23:36:16 +00:00
troy%netscape.com
99d339efe3 Changed CreateILColorSpace() to GetILColorSpace() (device context now
owns the color space), and cleaned up image renderer code


git-svn-id: svn://10.0.0.236/trunk@8107 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-17 23:20:42 +00:00
pnunn%netscape.com
6703ee5d5a fix for #313251, migrating #312030 to mozilla. pnunn. ok'd by nisheeth.
git-svn-id: svn://10.0.0.236/trunk@8106 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-17 22:20:27 +00:00
raman%netscape.com
0415ac2bca Updated the code to get error messages from allxpstr.h
git-svn-id: svn://10.0.0.236/trunk@8105 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-17 21:12:30 +00:00
rjc%netscape.com
43815ef0da Import IE favorites and history on Mac might like how its also done on Windows.
git-svn-id: svn://10.0.0.236/trunk@8104 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-17 20:17:06 +00:00
norris%netscape.com
3f00361c40 Allow setting document.domain to remove the port part of the URL for later origin checks.
git-svn-id: svn://10.0.0.236/trunk@8103 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-17 20:04:23 +00:00
leif%netscape.com
8947cb6020 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@8102 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-17 19:24:50 +00:00
leif%netscape.com
2d28609b8c *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@8101 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-17 19:24:04 +00:00
leif%netscape.com
aa63828e84 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@8100 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-17 19:21:33 +00:00
buster%netscape.com
fad7c8e1ab fixed a memory leak where a style context was not being released when
the table cell set the table column's style.


git-svn-id: svn://10.0.0.236/trunk@8098 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-17 19:03:36 +00:00
kmcclusk%netscape.com
c871e3a274 Implemented SetFocus.
git-svn-id: svn://10.0.0.236/trunk@8095 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-17 17:58:37 +00:00
karnaze%netscape.com
ec48384b65 removed text field and browse button of <input type=text> from content model.
git-svn-id: svn://10.0.0.236/trunk@8094 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-17 17:46:08 +00:00
rods%netscape.com
fab918d441 Add SetFocus so keyboard navigation works.
git-svn-id: svn://10.0.0.236/trunk@8093 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-17 16:43:07 +00:00
dcone%netscape.com
9be255dd28 fixed up messaging
git-svn-id: svn://10.0.0.236/trunk@8092 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-17 15:18:28 +00:00
jfrancis%netscape.com
d108641113 Correcting command handling for htmlarea form widgets. Now they no longer take over a host of browser commands like Print, Save, etc.
git-svn-id: svn://10.0.0.236/trunk@8091 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-17 10:41:54 +00:00
jfrancis%netscape.com
73d4b06bf1 First pass at getting a toolbar up for htmlarea form widgets. It's limping...
git-svn-id: svn://10.0.0.236/trunk@8090 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-17 09:23:45 +00:00
jfrancis%netscape.com
6cc6d647e1 First pass at getting a toolbar up for htmlarea form widgets. it's limping...
git-svn-id: svn://10.0.0.236/trunk@8089 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-17 09:22:39 +00:00
raman%netscape.com
f2d3791cf7 C++ implementation of Java objects. These files are not part of the build system yet.
git-svn-id: svn://10.0.0.236/trunk@8088 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-17 00:45:51 +00:00
raman%netscape.com
3c0523a89e Header files for Java to C conversion. They are not part of the build system yet.
git-svn-id: svn://10.0.0.236/trunk@8087 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-17 00:44:45 +00:00
ramiro%netscape.com
b30eac787c chilren was being freed twice - what a dumbass error.
Thanks to Matti Aarnio <matti.aarnio@sonera.fi> for pointing this out.


git-svn-id: svn://10.0.0.236/trunk@8086 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-17 00:12:39 +00:00
morse%netscape.com
61d94c0076 restore reference to MK_SIGNON_SELECTUSER, Linux bustage is a dependency-build problem
git-svn-id: svn://10.0.0.236/trunk@8085 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-16 22:57:02 +00:00
morse%netscape.com
cb017264a4 removed MK_SIGNON_SELECTUSER until I determine why it broke Linux dep build on Gromit
git-svn-id: svn://10.0.0.236/trunk@8084 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-16 21:12:53 +00:00
morse%netscape.com
f8d004b1a5 fixed problems when there are multiple usernames for the same form
git-svn-id: svn://10.0.0.236/trunk@8083 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-16 19:41:16 +00:00
morse%netscape.com
98736dbcfa change for single signon
git-svn-id: svn://10.0.0.236/trunk@8082 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-16 19:36:16 +00:00
morse%netscape.com
b9a8b563d0 change for single singon
git-svn-id: svn://10.0.0.236/trunk@8081 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-16 19:35:27 +00:00
mcafee%netscape.com
3869e5eb0f Fixing /* warning on Linux.
git-svn-id: svn://10.0.0.236/trunk@8078 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-15 18:59:11 +00:00
troy%netscape.com
931e45da01 Destructor now releases ref to image maps
git-svn-id: svn://10.0.0.236/trunk@8076 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-15 16:25:33 +00:00
morse%netscape.com
17ae035cd9 fix bug in cookie viewer
git-svn-id: svn://10.0.0.236/trunk@8075 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-15 15:42:18 +00:00
morse%netscape.com
02b6167b4f fixed bug in sigon viewer
git-svn-id: svn://10.0.0.236/trunk@8074 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-15 15:40:46 +00:00
jfrancis%netscape.com
6633d45f86 Fixing bug #313498
git-svn-id: svn://10.0.0.236/trunk@8073 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-15 10:11:34 +00:00
jfrancis%netscape.com
6d2b55c44a Adding comment to help prevent recurrences of bug #313498
git-svn-id: svn://10.0.0.236/trunk@8072 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-15 10:11:17 +00:00
jgellman%netscape.com
4c68be3695 add new arg for HT_PaneFromURL
git-svn-id: svn://10.0.0.236/trunk@8071 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-15 07:31:21 +00:00
guha%netscape.com
1feb6d428c Fix broken build
git-svn-id: svn://10.0.0.236/trunk@8070 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-15 06:40:13 +00:00
jgellman%netscape.com
1be8dcf35e Need to add the argument to gRDFMWContext() in one more place
git-svn-id: svn://10.0.0.236/trunk@8068 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-15 05:57:28 +00:00
troy%netscape.com
ed55c3c760 Added missing NS_INIT_REFCNT()
git-svn-id: svn://10.0.0.236/trunk@8065 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-15 03:24:27 +00:00
troy%netscape.com
098866905a Changed PR_FREEIF to delete[] (call to nsString::ToNewCString)
git-svn-id: svn://10.0.0.236/trunk@8064 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-15 01:53:38 +00:00
guha%netscape.com
2608a095ee output rfc822 (reviewed by rjc)
git-svn-id: svn://10.0.0.236/trunk@8063 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-15 01:33:39 +00:00
guha%netscape.com
885c4f8eed Some smart mail related stuff. Reviewed by rjc
git-svn-id: svn://10.0.0.236/trunk@8062 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-15 01:32:53 +00:00
mcafee%netscape.com
b9c34b08ec Some libraries (jpeg, xpcom) include nsprpub header files and need to know about USE_PTHREADS for some platforms (SparcLinux/RH5.1).
git-svn-id: svn://10.0.0.236/trunk@8061 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-15 01:27:17 +00:00
mcafee%netscape.com
a343fc80f6 Moving USE_PTHREADS define over to mozilla/config/config.mk, more than jpeg needs this.
git-svn-id: svn://10.0.0.236/trunk@8060 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-15 01:25:44 +00:00
mcafee%netscape.com
510af228fe jpeg includes nsprpub header files and thus needs to know about USE_PTHREADS for some platforms. Fixes SparcLinux.
git-svn-id: svn://10.0.0.236/trunk@8059 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-15 01:19:59 +00:00
morse%netscape.com
0c8d2da8cb fix problems in signon viewer
git-svn-id: svn://10.0.0.236/trunk@8058 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-15 01:18:40 +00:00
morse%netscape.com
a3efcf5b6f fix problems in cookie viewer
git-svn-id: svn://10.0.0.236/trunk@8057 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-15 01:17:50 +00:00
law%netscape.com
bbea53da38 Fixing bug in Default Browser dialog's Details... button processing
git-svn-id: svn://10.0.0.236/trunk@8056 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-15 01:01:32 +00:00
law%netscape.com
963a66acfb Adding Control Panel extension; not part of build process yet
git-svn-id: svn://10.0.0.236/trunk@8055 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-15 00:23:37 +00:00
radha%netscape.com
8491e73254 Declare fe_getPixelFromRGB explicitly to fix bustage in IRIX 6.2
git-svn-id: svn://10.0.0.236/trunk@8054 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-15 00:20:10 +00:00
joki%netscape.com
250f935f96 Sanity check return values on window.parent, window.top
git-svn-id: svn://10.0.0.236/trunk@8053 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-15 00:13:51 +00:00
gagan%netscape.com
0a8aacf896 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@8051 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 23:48:05 +00:00
toshok%netscape.com
8980cb4162 Track guha's change to allxpstr.rc
git-svn-id: svn://10.0.0.236/trunk@8050 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 23:44:26 +00:00
scullin%netscape.com
db73f7e25e Checked in api changes and some other small changes from the branch.
git-svn-id: svn://10.0.0.236/trunk@8049 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 23:08:54 +00:00
kmcclusk%netscape.com
1dfe01a8e4 Now detects Alt key during keypress and mouse events.
git-svn-id: svn://10.0.0.236/trunk@8048 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 22:58:07 +00:00
thom%netscape.com
cf7eeb834d add nsJLocation and nsLocation to project file
git-svn-id: svn://10.0.0.236/trunk@8047 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 22:53:51 +00:00
kmcclusk%netscape.com
b91145fa0b Now sets shift and control fields in the mouse and keyboard events properly.
git-svn-id: svn://10.0.0.236/trunk@8046 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 22:47:38 +00:00
joki%netscape.com
ad6f7835d1 Modify window.open method to use sizing and location parameters
git-svn-id: svn://10.0.0.236/trunk@8045 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 22:31:38 +00:00
leif%netscape.com
0dc883f526 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@8043 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 22:10:29 +00:00
kmcclusk%netscape.com
e2a7a9f113 Fixed keycode translation. Now Page_Up Page_Down Arrow and control keys can
be detected.


git-svn-id: svn://10.0.0.236/trunk@8042 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 22:07:52 +00:00
leif%netscape.com
13cbf0a551 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@8041 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 22:03:08 +00:00
leif%netscape.com
ef1a098d84 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@8040 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 21:45:39 +00:00
thom%netscape.com
1d944d9fe8 added nsIRefreshUrl.h to manifest
git-svn-id: svn://10.0.0.236/trunk@8039 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 21:35:42 +00:00
rods%netscape.com
0b456b77a7 Added Page Up, Page Down, Arrow up and Arrow Down key processing.
git-svn-id: svn://10.0.0.236/trunk@8038 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 21:13:40 +00:00
kmcclusk%netscape.com
f027285066 Changed DispatchMouseEvent to take a & (ref).
git-svn-id: svn://10.0.0.236/trunk@8037 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 21:09:36 +00:00
troy%netscape.com
b6c3703c9b Changed destructor to release reference to child form element, and
changed Release() to not check for external references to child form
elements


git-svn-id: svn://10.0.0.236/trunk@8036 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 21:03:16 +00:00
ftang%netscape.com
04fa44a916 add vni support from the net for WinFE. Thansk Van Le <levan@hotmail.com> and folks
git-svn-id: svn://10.0.0.236/trunk@8035 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 20:40:27 +00:00
ftang%netscape.com
58aaeb13e5 Check in new version of vietnam.c Thansk Van Le <levan@hotmail.com> and folks
git-svn-id: svn://10.0.0.236/trunk@8034 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 20:39:52 +00:00
ftang%netscape.com
9370f25853 add additional interface. Thansk Van Le <levan@hotmail.com> and folks
git-svn-id: svn://10.0.0.236/trunk@8033 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 20:39:29 +00:00
ftang%netscape.com
9718b4120d fix typo for last check in
git-svn-id: svn://10.0.0.236/trunk@8032 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 20:38:08 +00:00
ftang%netscape.com
e9cc907767 remove obsolete csid
git-svn-id: svn://10.0.0.236/trunk@8031 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 20:37:06 +00:00
uid402
02adef8fc4 Changed the install instructions in the README slightly.
git-svn-id: svn://10.0.0.236/trunk@8030 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 20:36:55 +00:00
troy%netscape.com
bebcdd15aa Changed NS_NewHTMLInputFile() to release reference to onput text and
input browse content objects


git-svn-id: svn://10.0.0.236/trunk@8029 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 20:36:36 +00:00
joki%netscape.com
31b1bd5683 Fix queryinterface calls on window.top and window.parent
git-svn-id: svn://10.0.0.236/trunk@8028 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 20:36:31 +00:00
ftang%netscape.com
0874ae8463 fix assert problem after add csid
git-svn-id: svn://10.0.0.236/trunk@8027 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 20:35:18 +00:00
uid402
e8010cbccf Perl script to install the Perl binaries without the Makefile. Platform
independent.
run: perl install-bin


git-svn-id: svn://10.0.0.236/trunk@8026 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 20:32:35 +00:00
scullin%netscape.com
c30c6b85f9 Added a COM false value.
git-svn-id: svn://10.0.0.236/trunk@8025 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 20:17:20 +00:00
radha%netscape.com
379bb4f52d Set HT properties for the tree view and titlebar.
git-svn-id: svn://10.0.0.236/trunk@8024 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 20:08:14 +00:00
radha%netscape.com
c75713c87a Register the NavCenter Context menu and HT pane with the XP api.
git-svn-id: svn://10.0.0.236/trunk@8023 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 20:06:37 +00:00
radha%netscape.com
57faa90884 Fix scrollbar warning messages that appear with opening NavCenter
git-svn-id: svn://10.0.0.236/trunk@8022 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 20:05:37 +00:00
despotdaemon%netscape.com
5ec399bec7 Pseudo-automatic update of changes made by srilatha@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@8021 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 17:31:19 +00:00
buster%netscape.com
b7b8a5e07f * migrated and improved some fixes from the branch to the tip
* fixes sample6, yahoo resizing
* added BasicTableLayoutStrategy::ColIsSpecifiedAsMinimumWidth helper function,
which tells us if the given column has a width attribute that means "make me as small as possible"
* nsTableFrame methods now no longer use mCellMap directly, they ask for it from
GetCellMap which gets the cell map from the first-in-flow.  Only the first-in-flow has a
cell map because the cellmap refers to the table as a single object, not to each table frame.
* Likewise, continuing table frames do not call BalanceColumnWidths or SetTableWidth
which are "global" operations.  Responsibility for these lies with the first-in-flow.


git-svn-id: svn://10.0.0.236/trunk@8020 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 16:16:43 +00:00
troy%netscape.com
00c45ce33c Added NS_RELEASE in ProcessTEXTAREATag(). This fixes a problem with
text area content objects being leaked


git-svn-id: svn://10.0.0.236/trunk@8018 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 05:21:43 +00:00
troy%netscape.com
b459abce80 Added NS_RELEASE of list box widget interface pointer
git-svn-id: svn://10.0.0.236/trunk@8017 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 04:45:30 +00:00
danm%netscape.com
2e33d85796 fix compilation error
git-svn-id: svn://10.0.0.236/trunk@8016 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 03:44:39 +00:00
troy%netscape.com
247047d6f2 Added NS_IF_RELEASE(mAttributes) to destructor
git-svn-id: svn://10.0.0.236/trunk@8015 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 03:32:39 +00:00
ramiro%netscape.com
e1893561e7 Add tool tips.
git-svn-id: svn://10.0.0.236/trunk@8014 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 03:19:24 +00:00
ramiro%netscape.com
3fa2781275 Fix geometry management.
git-svn-id: svn://10.0.0.236/trunk@8013 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 03:19:04 +00:00
ramiro%netscape.com
6d62afd5d0 Add combo test.
git-svn-id: svn://10.0.0.236/trunk@8010 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 03:06:39 +00:00
ramiro%netscape.com
f4cfbcda1f Update link behavior test.
git-svn-id: svn://10.0.0.236/trunk@8009 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 03:06:01 +00:00
cmanske%netscape.com
f9a003f82d Fixed bug that prevented placing caret in empty table cell
git-svn-id: svn://10.0.0.236/trunk@8008 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 03:04:11 +00:00
cmanske%netscape.com
e7aa118264 Tweaked fix for 311835
git-svn-id: svn://10.0.0.236/trunk@8007 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 02:44:43 +00:00
cmanske%netscape.com
01fe200e68 Tweaked fix for 312346 - enable OK button after automatically filling in Alt Text field in dialog
git-svn-id: svn://10.0.0.236/trunk@8006 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 02:35:41 +00:00
spider%netscape.com
ac462a8989 Using JULIAN_TREX_BRANCH again...
git-svn-id: svn://10.0.0.236/trunk@8005 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 01:56:17 +00:00
joki%netscape.com
0e0f4e9f83 Modify editor mode to work in frames
git-svn-id: svn://10.0.0.236/trunk@8004 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 01:51:00 +00:00
cmanske%netscape.com
1d32638925 Fixed warnings thanks to UNIX compilers
git-svn-id: svn://10.0.0.236/trunk@8003 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 01:38:35 +00:00
warren%netscape.com
76776edbf5 Fixed problem where enums were being cast to ints and misaligned causing crash.
git-svn-id: svn://10.0.0.236/trunk@8002 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 01:35:53 +00:00
warren%netscape.com
dd87774491 Fixed GetMIMEDescription for new plugin API.
git-svn-id: svn://10.0.0.236/trunk@8001 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 01:34:01 +00:00
sdagley%netscape.com
696d1114ff Fix a functionality problem with my previous checkin - change the MacFE stubs for FE_CheckConfirm and FE_SelectDialog to the workaround versions until the actual versions are implemented. Yes the tree is in flames but these files aren't related and folks are all over the problem (akkana and jfrancis have checked in fixes for X and Mac).
git-svn-id: svn://10.0.0.236/trunk@8000 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 01:21:46 +00:00
jfrancis%netscape.com
b7d0b14f7c need to use enum ED_PASTE_NORMAL instead of int 0.
git-svn-id: svn://10.0.0.236/trunk@7999 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 01:01:09 +00:00
mcafee%netscape.com
f1af70f3d3 Privacy is passing in nil arguments to ET_PostCheckConfirmBox(), we now check for this. a=joki
git-svn-id: svn://10.0.0.236/trunk@7998 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 00:57:55 +00:00
akkana%netscape.com
9b98bc699e The word from cmanske: build bustage on Mac requires use of enum types,
better do the same on Unix.


git-svn-id: svn://10.0.0.236/trunk@7997 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 00:49:22 +00:00
mcafee%netscape.com
9ef8edddc4 Stubs to fix breakage from privacy backend change.
git-svn-id: svn://10.0.0.236/trunk@7996 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 00:29:13 +00:00
mcafee%netscape.com
57344a9f71 Fixing more XFE breakage
git-svn-id: svn://10.0.0.236/trunk@7995 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 00:26:37 +00:00
leif%netscape.com
f87700665e Added instructions for using CVS.
git-svn-id: svn://10.0.0.236/trunk@7994 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 00:18:56 +00:00
cmanske%netscape.com
c9bab79483 Fixed missing () for function call Unlink. Stupid Windows compiler.
git-svn-id: svn://10.0.0.236/trunk@7993 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-14 00:07:50 +00:00
friedman%netscape.com
5747833a78 Add PerLDAP module.
git-svn-id: svn://10.0.0.236/trunk@7991 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 23:48:58 +00:00
joki%netscape.com
dc5a875ea9 Adding more window properties and slightly refCnt declaration.
git-svn-id: svn://10.0.0.236/trunk@7990 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 23:37:54 +00:00
leif
aa3ae981e5 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@7989 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 23:34:50 +00:00
leif
d527e8e9ac First version.
git-svn-id: svn://10.0.0.236/trunk@7988 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 23:34:45 +00:00
leif
f0786bfcad Cleanup.
git-svn-id: svn://10.0.0.236/trunk@7987 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 23:34:09 +00:00
leif
00efea357c Fixed the automated installs stuff...
git-svn-id: svn://10.0.0.236/trunk@7986 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 23:33:49 +00:00
mcafee%netscape.com
f244ced87e Re-adding FE_CheckConfirm() and FE_Select() to match the privacy backend changes.
git-svn-id: svn://10.0.0.236/trunk@7985 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 23:17:36 +00:00
clu%netscape.com
3952944dd8 adding a third parameter to EDT_PasteHTML
git-svn-id: svn://10.0.0.236/trunk@7984 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 23:16:16 +00:00
cmanske%netscape.com
524aea47b2 Fixed lots of Composer bugs. Implemented drag/drop/paste cells into existing table. Fixed Reload problems in Navigator (must reload from net to show doc color changes) - permission by blythe
git-svn-id: svn://10.0.0.236/trunk@7983 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 23:14:59 +00:00
akkana%netscape.com
d733007663 Track cmanske's editor backend API change to EDT_PasteHTML().
git-svn-id: svn://10.0.0.236/trunk@7982 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 23:14:34 +00:00
cmanske%netscape.com
a43dcf60dd Fixed lots of bugs. Implemented drag/drop/paste cells into existing table.
git-svn-id: svn://10.0.0.236/trunk@7981 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 23:14:33 +00:00
cmanske%netscape.com
d94f74549a Fixed lots of bugs, more implementation of Composer table editing: drag/drop/paste into existing tables.
git-svn-id: svn://10.0.0.236/trunk@7980 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 23:14:29 +00:00
troy%netscape.com
4b4f5da5cc Changed enumerator class to use a nsVoidArray object to manage the
list of child widgets


git-svn-id: svn://10.0.0.236/trunk@7979 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 23:01:01 +00:00
leif
b9ac02df78 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@7978 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 22:41:10 +00:00
leif
e5bbed718c *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@7977 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 22:40:53 +00:00
ftang%netscape.com
46b9e3c2a8 add vietnamese support. Thanks Van Le levan@hotmail.com from the net
git-svn-id: svn://10.0.0.236/trunk@7976 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 22:25:08 +00:00
rpotts%netscape.com
964caa3cf2 Checking in changes from the branch rev 1.7.2.2...
git-svn-id: svn://10.0.0.236/trunk@7975 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 22:18:57 +00:00
sdagley%netscape.com
0f1f79fdd1 Add MacFE stubs for FE_CheckConfirm and FE_SelectDialog for morse's privacy code. danm acquired the appropriate permissions from the module owners for the XP spammage.
git-svn-id: svn://10.0.0.236/trunk@7974 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 22:17:51 +00:00
danm%netscape.com
bedd666c6c synching with FE callback API changes just made by sdagley
git-svn-id: svn://10.0.0.236/trunk@7973 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 22:14:38 +00:00
sdagley%netscape.com
d5018d8a54 Add MacFE stubs for FE_CheckConfirm and FE_SelectDialog for morse's privacy code. danm acquired the appropriate permissions from the module owners for the XP spammage.
git-svn-id: svn://10.0.0.236/trunk@7972 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 22:11:56 +00:00
leif
293e8b27b5 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@7971 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 22:03:42 +00:00
rjc%netscape.com
2dab5107cd Changes for better importing of IE favorites, Win9x/NT recent documents, and start menu.
git-svn-id: svn://10.0.0.236/trunk@7970 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 21:55:12 +00:00
akkana%netscape.com
c5d230a0fe Enable toolbars for Ender.
git-svn-id: svn://10.0.0.236/trunk@7969 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 21:51:02 +00:00
leif
636d56aae6 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@7968 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 21:32:50 +00:00
rjc%netscape.com
1a88b30501 Now always show "More Options" in properties dialog.
git-svn-id: svn://10.0.0.236/trunk@7967 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 21:24:29 +00:00
despotdaemon%netscape.com
b7e7517807 Pseudo-automatic update of changes made by leif@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@7966 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 21:20:49 +00:00
dcone%netscape.com
9d748269bf fixed project a memory size
git-svn-id: svn://10.0.0.236/trunk@7965 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 21:09:26 +00:00
dcone%netscape.com
9b406f30e2 new creation technique
git-svn-id: svn://10.0.0.236/trunk@7964 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 21:09:01 +00:00
dcone%netscape.com
012700d3f9 reworked the window creation
git-svn-id: svn://10.0.0.236/trunk@7963 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 21:08:11 +00:00
dcone%netscape.com
b1c554316f reworked message pump and window creation
git-svn-id: svn://10.0.0.236/trunk@7962 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 21:07:35 +00:00
dcone%netscape.com
84b722c90b First Checked In.
git-svn-id: svn://10.0.0.236/trunk@7961 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 21:06:30 +00:00
vidur%netscape.com
dbaa6e8414 Unqualified references to location need to go through a resolve method
git-svn-id: svn://10.0.0.236/trunk@7960 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 20:46:11 +00:00
michaelp%netscape.com
ea5ad75fbf fixed really nasty allocation error.
git-svn-id: svn://10.0.0.236/trunk@7959 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 20:39:30 +00:00
pinkerton%netscape.com
e113e25c26 Tree view icon support and refreshing individual rows.
git-svn-id: svn://10.0.0.236/trunk@7958 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 20:13:07 +00:00
pinkerton%netscape.com
0a6ba7b96e Dispose of FE icon data and refresh appropriate rows when necessary.
git-svn-id: svn://10.0.0.236/trunk@7957 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 20:12:36 +00:00
valeski%netscape.com
09a03524ca network/module/Makefile -
1. 310133 - Added nsIRefreshUrl.h to the list of exports.

network/module/makefile.win -
1. 310133 - Added nsIRefreshUrl.h to the list of exports.

network/module/nsIHttpUrl.h -
1. 310133 - Extended the nsIHttpUrl interface to include the AddMimeHeader() method which adds an http header to the url.

network/module/nsHttpUrl.cpp -
310133 - 1. Added support for the AddMimeHeader() method so http urls can have headers added outside of the actual data retrieval in netlib. This method calls NET_ParseMimeHeader() directly.
2. Added a public member, a pointer to the netlib URL_Struct that was created for this nsHttpUrlImpl. This pointer is the link between netlib and the outside world; the adhesive agent between url structs and nsURLImpls.

network/module/nsNetStream.h -
1. 310133 - Added a public memeber variable to nsConnectionInfo. It's a bool that tells us whether or not a redirect has occurred.

network/module/nsNetStream.cpp -
1. 310133 - Added initialization (FALSE) of new redirect member.

network/module/nsNetStubs.cpp -
1. 310133 - Implemented FE_SetRefreshURLTimer(). This function is called from NET_GetURL() when we recognize that we have a url to refresh.

network/module/nsStubContext.cpp -
1. 310133 - Added check to see if we're redirecting in stub_complete() which gets called when a stream completes. If we are, we don't want to release/destroy the pConsumer, this will happen in nsNetService's bam_exit_routine().

network/module/nsNetService.cpp -
1. 310133 - added nsConnectionInfo->redirect check in bam_exit_routine() so we give the consumer a successful binding event if the consumer is still around. This is iffy.


git-svn-id: svn://10.0.0.236/trunk@7956 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 20:10:49 +00:00
valeski%netscape.com
3deae00620 310133 - Injected code into HTMLContentSink::ProcessMETATag() to check for an "http-equiv" header (specifically the Refresh header). If found, an nsIHTTPUrl interface is retrieved so the "http-equiv" header can be added to the url struct.
git-svn-id: svn://10.0.0.236/trunk@7955 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 20:09:10 +00:00
valeski%netscape.com
51e34f63fd webshell/src/nsDocLoader.cpp -
310133 - 1. added LoadURLOnTimer() and CancelLoadURLTimer() implementations to the nsDocLoaderImpl class.
2. Changed nsDocumentBindInfo class to support the nsIRefreshUrl interface.
3. Changed the nsDocumentBindInfo contructor to set the m_ExtraInfo variable to the aExtraInfo pointer passed in. This must have been an oversight on the part of the original implementor.
4. Added a simple data placeholder class to hold the data that will be used to load the url on the timer.

webshell/src/nsWebShell.cpp -
1. 310133 - When the webshell is destructed or about to load a new url, the loader now calls CancelLoadURLTimer() which cancels and releases the timers.


git-svn-id: svn://10.0.0.236/trunk@7954 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 20:08:19 +00:00
valeski%netscape.com
82dfe101eb 310133 - Extended the nsIDocumentLoader interface to include LoadURLOnTimer() and CancelLoadURLTimer() methods.
git-svn-id: svn://10.0.0.236/trunk@7953 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 20:07:17 +00:00
valeski%netscape.com
4fb073d7b5 310133 - Added nsIRefreshUrl.h to the build. This file defines the nsIRefreshUrl interface which simply declares a method that allows a url to be refreshed/reloaded after a given interval.
git-svn-id: svn://10.0.0.236/trunk@7952 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 20:05:13 +00:00
ftang%netscape.com
9167901dff vietnamese Unicode conversion table. Thanks Van Le <levan@hotmail.com> from the net
git-svn-id: svn://10.0.0.236/trunk@7951 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 19:36:43 +00:00
ftang%netscape.com
09aa7d4f87 add vietnamese support. Thanks Van Le <levan@hotmail.com> from the net
git-svn-id: svn://10.0.0.236/trunk@7950 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 19:33:52 +00:00
ftang%netscape.com
2fd51b0ffd add/change vietnamese csid. Thanks Van Le <levan@hotmail.com> from the net
git-svn-id: svn://10.0.0.236/trunk@7949 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 19:29:31 +00:00
ftang%netscape.com
a7f64fc9f6 extend the unicode conversion from max 64 to max 128
git-svn-id: svn://10.0.0.236/trunk@7948 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 19:26:19 +00:00
vidur%netscape.com
fed6b7c5b9 Implemented document.location.
git-svn-id: svn://10.0.0.236/trunk@7947 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 19:08:01 +00:00
vidur%netscape.com
fcc42987f9 Implemented document.location and better handling of named lookups that fail.
git-svn-id: svn://10.0.0.236/trunk@7946 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 19:07:45 +00:00
vidur%netscape.com
a7c49785ad Fixed problem with mSpec being allocated with something other than PR_Malloc
git-svn-id: svn://10.0.0.236/trunk@7945 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 19:05:36 +00:00
clayton
e09bd6817c This version contains the ldap_set_default_rebind function.
git-svn-id: svn://10.0.0.236/trunk@7944 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 13:10:24 +00:00
leif
381c9be10d *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@7943 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 12:05:09 +00:00
leif
ca9f7091d0 Fixed bug with ldap_modify().
git-svn-id: svn://10.0.0.236/trunk@7942 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 12:02:27 +00:00
leif
3ae40d6231 Tons of smaller changes...
git-svn-id: svn://10.0.0.236/trunk@7941 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 11:02:56 +00:00
leif
8d40d7c328 This actually works now...
git-svn-id: svn://10.0.0.236/trunk@7940 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 11:02:40 +00:00
leif
650f5e5be6 Updated docs, minor changes...
git-svn-id: svn://10.0.0.236/trunk@7939 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 11:02:28 +00:00
leif
6795a4601b *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@7938 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 11:02:16 +00:00
leif
0ff2f0e243 Lots of minor changes...
git-svn-id: svn://10.0.0.236/trunk@7937 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 11:02:11 +00:00
leif
4df7ac1232 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@7936 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 09:56:03 +00:00
leif
11c4d15935 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@7935 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 09:35:23 +00:00
leif
d9ee777d88 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@7934 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 09:28:05 +00:00
leif
6a76ad2121 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@7933 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 09:15:00 +00:00
rickg%netscape.com
bfb431615a a few more bug fixes. Ain't life grand
git-svn-id: svn://10.0.0.236/trunk@7931 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 08:51:52 +00:00
rickg%netscape.com
306a961f75 a host of propagation bugs and a comment bug to boot
git-svn-id: svn://10.0.0.236/trunk@7930 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 08:33:18 +00:00
rpotts%netscape.com
246f5b3065 Fixed OnDataAvailable(...) to abort the stream if it returns a failure code...
git-svn-id: svn://10.0.0.236/trunk@7929 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 08:19:49 +00:00
law%netscape.com
1674edc74a Add support for showing stand-alone preferences
git-svn-id: svn://10.0.0.236/trunk@7924 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 07:09:49 +00:00
law%netscape.com
a761017acc Now using new nsIDefaultBrowser interface
git-svn-id: svn://10.0.0.236/trunk@7923 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 07:07:20 +00:00
law%netscape.com
741055ce9e Adding nsIDefaultBrowser.cpp to the build
git-svn-id: svn://10.0.0.236/trunk@7922 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 07:05:48 +00:00
law%netscape.com
b5b7132400 Suppport for m_bShowPrefsOnStartup
git-svn-id: svn://10.0.0.236/trunk@7921 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 07:02:55 +00:00
law%netscape.com
6ab9e7bf1d Adding support for Details... button on Default Browser dialog
git-svn-id: svn://10.0.0.236/trunk@7920 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 06:58:58 +00:00
law%netscape.com
4b476db077 Added support for -prefs cmd line arg
git-svn-id: svn://10.0.0.236/trunk@7919 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 06:50:08 +00:00
law%netscape.com
f81a5a6de9 Adding m_bShowPrefsOnStartup to handle showing prefs on startup (duh)
git-svn-id: svn://10.0.0.236/trunk@7918 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 06:47:17 +00:00
law%netscape.com
f329135fce Enabled new Details... button on Default Browser dialog
git-svn-id: svn://10.0.0.236/trunk@7917 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 06:44:47 +00:00
law%netscape.com
3efd86a555 Added #define for new Details... button on Default Browser dialog
git-svn-id: svn://10.0.0.236/trunk@7916 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 06:42:19 +00:00
law%netscape.com
4432299836 New 'default browser' interface
git-svn-id: svn://10.0.0.236/trunk@7915 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 06:36:39 +00:00
law%netscape.com
b83f90da3f Adding support for new 'desktop' preferences
git-svn-id: svn://10.0.0.236/trunk@7914 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 06:34:31 +00:00
vidur%netscape.com
e93758344d Implemented Reload() on nsIWebShell
git-svn-id: svn://10.0.0.236/trunk@7911 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 04:49:16 +00:00
vidur%netscape.com
3357387df9 Correctly implemented reload
git-svn-id: svn://10.0.0.236/trunk@7910 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 04:48:57 +00:00
wtc%netscape.com
c73172bda1 Deleted the code that sets BYTE_ORDER to LITTLE_ENDIAN on Linux, whic
on big-endian machines.  Use __osf__ instead of __alpha to identify
Digital Unix, which has <machine/endian.h>.
Files changed: mozilla/include/mcom_db.h, mozilla/dbm/include/mcom_db.h.


git-svn-id: svn://10.0.0.236/trunk@7909 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 04:47:03 +00:00
clayton
1861d5eee1 Removed a few stale files
Updated the MANIFEST to reflect these removals
Made a few minor changes to the top bits of test_api


git-svn-id: svn://10.0.0.236/trunk@7908 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 04:40:02 +00:00
wtc%netscape.com
8d30332e71 Use $< so that VPATH works.
git-svn-id: svn://10.0.0.236/trunk@7907 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 04:39:45 +00:00
wtc%netscape.com
b0a48fbf1e Increase the timer interval from 1ms to 8ms.
git-svn-id: svn://10.0.0.236/trunk@7906 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 04:38:42 +00:00
vidur%netscape.com
0108cd6479 Added modifyHistory option to LoadURL.
git-svn-id: svn://10.0.0.236/trunk@7905 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 04:36:42 +00:00
vidur%netscape.com
7ea13344a9 Added better handling of search component of URL. Added GetSearch() method to nsIURL.
git-svn-id: svn://10.0.0.236/trunk@7904 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 04:35:37 +00:00
wtc%netscape.com
f29f8fce60 OPTIMIZER: use -O2 in optimized builds. Do not use -g (for now) in
debug builds because it would produce a huge executable.


git-svn-id: svn://10.0.0.236/trunk@7902 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 04:35:20 +00:00
vidur%netscape.com
b4cfda9c36 Implemented window.location
git-svn-id: svn://10.0.0.236/trunk@7901 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 04:34:53 +00:00
clayton
c009851510 Release Notes
git-svn-id: svn://10.0.0.236/trunk@7900 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 04:34:42 +00:00
clayton
fa9ddfc227 Fixed the documentation a bit. Still needs lots of work.
git-svn-id: svn://10.0.0.236/trunk@7898 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 04:11:20 +00:00
spider%netscape.com
171bde7d61 Create a GC for toplevel window to. Some app's need to modify that
DC also.


git-svn-id: svn://10.0.0.236/trunk@7896 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 02:36:40 +00:00
mcafee%netscape.com
026f6b6932 Backing out stubs, waiting for mac.
git-svn-id: svn://10.0.0.236/trunk@7895 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 01:04:47 +00:00
michaelp%netscape.com
07f92ff77f fixed build.
git-svn-id: svn://10.0.0.236/trunk@7893 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 00:07:09 +00:00
michaelp%netscape.com
c340b6115c fixed crash where widgets would return null clientdata because they were going
away, but the view was assuming the clientdata was non-null.


git-svn-id: svn://10.0.0.236/trunk@7892 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 00:03:41 +00:00
mcafee%netscape.com
3b3f387ff8 Checking in stubs for FE_CheckConfirm() and FE_SelectDialog() to match backend changes from danm.
git-svn-id: svn://10.0.0.236/trunk@7891 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 00:02:06 +00:00
joki%netscape.com
9248af60f9 Adding url and lineno to script evaluation
git-svn-id: svn://10.0.0.236/trunk@7890 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 23:37:50 +00:00
despotdaemon%netscape.com
9a07fcffbe Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@7889 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 23:25:07 +00:00
toshok%netscape.com
503bc43e9d Fix non windows build - FE_CheckConfirm needs to have the same number of arguments in both the XP_WIN/not XPWIN cases.
git-svn-id: svn://10.0.0.236/trunk@7888 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 22:59:36 +00:00
radha%netscape.com
bdfe2c7f8d Cut and refresh context menus fixed. basic code for "rename" context menu. It doesn't work though.
git-svn-id: svn://10.0.0.236/trunk@7887 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 22:55:16 +00:00
toshok%netscape.com
8cf64a1e7a add elements for SUPER and SUB, so that we don't lose the basline adjustment on resize (bug 313426).
git-svn-id: svn://10.0.0.236/trunk@7886 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 22:33:32 +00:00
joki%netscape.com
e3c22b329f Fix script src equals problem when src contained in quotes.
git-svn-id: svn://10.0.0.236/trunk@7885 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 22:28:50 +00:00
mccabe%netscape.com
6b768767e5 Towards running w/o crashing on alpha linux; add -mieee flag to ask
the compiler to puhleeze let us used denormalized floating point
values, as required by the ECMA spec.  Thanks to various contributors,
including Torsten Rüger <torsten@ponton-hamburg.de>, for working on
numeric issues.  Fix courtesy wtc.


git-svn-id: svn://10.0.0.236/trunk@7884 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 22:09:21 +00:00
michaelp%netscape.com
57d078a555 with -np plugins will no longer be initialized due to frames.
git-svn-id: svn://10.0.0.236/trunk@7883 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 22:06:00 +00:00
karnaze%netscape.com
4b3c007400 fixed destructor problems causing www.goto.com to crash when hitting a link
git-svn-id: svn://10.0.0.236/trunk@7882 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 21:50:11 +00:00
danm%netscape.com
12210d405c XP_WIN versions of the privacy FE dialogs
git-svn-id: svn://10.0.0.236/trunk@7881 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 21:46:09 +00:00
joki%netscape.com
7d9a5f054b Change so browser window doesn't assume it has toolbars.
git-svn-id: svn://10.0.0.236/trunk@7878 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 21:41:05 +00:00
spider%netscape.com
8ab71a4f33 win fix
git-svn-id: svn://10.0.0.236/trunk@7877 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 21:36:51 +00:00
saari%netscape.com
4a3b86fd65 Mac only I/O buffer size increases
Eliminating speed bottlenecks.


git-svn-id: svn://10.0.0.236/trunk@7875 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 21:30:26 +00:00
kmcclusk%netscape.com
74d9f63edf Removed bogus ValidateDocData, XP_ReBuffer and XP_Trace stubs. They exists in
their correct form in nsStubs.cpp


git-svn-id: svn://10.0.0.236/trunk@7874 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 21:24:25 +00:00
wtc%netscape.com
eab72fa10c Linux/Alpha needs the -mieee compiler flag to turn on IEEE floating
point arithmetics.


git-svn-id: svn://10.0.0.236/trunk@7873 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 21:18:20 +00:00
michaelp%netscape.com
245e23bf94 we now allocate a single offscreen buffer.
git-svn-id: svn://10.0.0.236/trunk@7872 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 21:17:52 +00:00
kmcclusk%netscape.com
effee43052 Added output to indicate when a stubbed function is called.
git-svn-id: svn://10.0.0.236/trunk@7871 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 21:13:52 +00:00
kmcclusk%netscape.com
cd2fea256c Added stubs for ValidateDocData XP_ReBuffer and XP_Trace to
get Linux build to work.


git-svn-id: svn://10.0.0.236/trunk@7870 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 21:04:30 +00:00
kipp%netscape.com
b2394552d2 Allocate IID's for nsLoggingSink and nsILoggingSink
git-svn-id: svn://10.0.0.236/trunk@7869 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 21:04:13 +00:00
ftang%netscape.com
781c66d991 add vps.u{f,t} . Thanks Van Le <levan@hotmail.com> from the net
git-svn-id: svn://10.0.0.236/trunk@7868 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 21:00:20 +00:00
ftang%netscape.com
d967652794 add credit lines
git-svn-id: svn://10.0.0.236/trunk@7867 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 20:58:12 +00:00
leif
e2da977586 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@7866 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 20:56:38 +00:00
rjc%netscape.com
faf5a18763 Small context changes for HT_Properties() and HT_Find().
git-svn-id: svn://10.0.0.236/trunk@7863 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 20:17:23 +00:00
rods%netscape.com
946b729944 Changed the WindowStyle so the scrollbar appears when the list is larger
than the given bounding rectangle.


git-svn-id: svn://10.0.0.236/trunk@7862 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 20:10:41 +00:00
rods%netscape.com
2fae720c82 Change the calculation of how big the dropdown list should be. The max size
is now 20.


git-svn-id: svn://10.0.0.236/trunk@7861 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 20:05:25 +00:00
rjc%netscape.com
de0f1197c4 Export XP_StripLine (needed by RDF)
git-svn-id: svn://10.0.0.236/trunk@7860 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 19:58:53 +00:00
rjc%netscape.com
9a73eb510a Fix SMART_MAIL for Mac.
git-svn-id: svn://10.0.0.236/trunk@7859 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 19:58:08 +00:00
kmcclusk%netscape.com
5121e1c95d Save the alpha buffer in a member variable.
git-svn-id: svn://10.0.0.236/trunk@7858 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 19:57:05 +00:00
kmcclusk%netscape.com
93e107e40c Added unix support for PR_ProcessPendingEvents.
git-svn-id: svn://10.0.0.236/trunk@7857 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 19:54:39 +00:00
kmcclusk%netscape.com
77190afa2b Added support for PR_ProcessPendingEvents. This allows the unix viewer to
support clicks on links + submitting form data.


git-svn-id: svn://10.0.0.236/trunk@7856 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 19:52:03 +00:00
michaelp%netscape.com
12aba7b5f6 fixed *massive* memory leak.
git-svn-id: svn://10.0.0.236/trunk@7855 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 19:50:13 +00:00
mccabe%netscape.com
0124b1e0d6 modified #if from __alpha to __osf__, because Alpha/Linux also runs on
an alpha processor, and we really want to know osf instead.  Courtesy
wtc.


git-svn-id: svn://10.0.0.236/trunk@7854 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 19:45:04 +00:00
ftang%netscape.com
48bed973ed Add vps.txt for unicode conversion . Thaks Van Le <levan@hotmail.com> from the net
git-svn-id: svn://10.0.0.236/trunk@7853 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 19:18:59 +00:00
ftang%netscape.com
80c21af885 fix problem with #
git-svn-id: svn://10.0.0.236/trunk@7852 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 19:16:01 +00:00
ftang%netscape.com
67f2e2e9d0 fix # problem
git-svn-id: svn://10.0.0.236/trunk@7851 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 19:10:35 +00:00
ftang%netscape.com
449630c7aa Merge changes from nhotta's fix in 4.5. Approved by blythe
git-svn-id: svn://10.0.0.236/trunk@7850 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 19:03:57 +00:00
pinkerton%netscape.com
0d81ee22e3 Bring in edges on popdown tree for sunken bevel.
git-svn-id: svn://10.0.0.236/trunk@7849 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 18:48:42 +00:00
pinkerton%netscape.com
5dd51c3800 Draw popdown tree with a sunken bevel border.
git-svn-id: svn://10.0.0.236/trunk@7848 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 18:48:27 +00:00
pinkerton%netscape.com
952cfce6fc No longer try and cache the popdown tree. Just delete/recreate every time because of problems with LScroller and changing windows.
git-svn-id: svn://10.0.0.236/trunk@7847 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 18:47:54 +00:00
blythe%netscape.com
533a094be9 fix from martin.nilsson@bigfoot.com for transparency problems in bitmap
git-svn-id: svn://10.0.0.236/trunk@7846 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 18:47:46 +00:00
peterl%netscape.com
0b78318def made parse color compress whitespace first
git-svn-id: svn://10.0.0.236/trunk@7845 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 18:28:55 +00:00
spider%netscape.com
871644f0ce win fix
git-svn-id: svn://10.0.0.236/trunk@7844 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 18:06:34 +00:00
kostello%netscape.com
e44707e1f4 Added widgetDebug.o as a target
git-svn-id: svn://10.0.0.236/trunk@7843 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 18:05:30 +00:00
spider%netscape.com
8389ba629e more platform libs
git-svn-id: svn://10.0.0.236/trunk@7842 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 18:05:19 +00:00
kostello%netscape.com
a248b2ece8 Added support for widget project
git-svn-id: svn://10.0.0.236/trunk@7841 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 18:02:57 +00:00
kipp%netscape.com
50897d17a2 Use new forwarding macros
git-svn-id: svn://10.0.0.236/trunk@7840 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 18:00:04 +00:00
spider%netscape.com
2c6a47a86f Adding Verions_number
git-svn-id: svn://10.0.0.236/trunk@7839 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 17:59:45 +00:00
kipp%netscape.com
1bc6522fc6 Revised forwarding macros
git-svn-id: svn://10.0.0.236/trunk@7838 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 17:57:25 +00:00
vidur%netscape.com
f13227df6b Correctly deal with BODY tag BACKGROUND attribute that is an empty string.
git-svn-id: svn://10.0.0.236/trunk@7837 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 17:51:31 +00:00
vidur%netscape.com
1e93a4fa52 null check before we release a stream in the failure case.
git-svn-id: svn://10.0.0.236/trunk@7835 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 17:14:54 +00:00
dcone%netscape.com
9e295aa4b3 added client routine
git-svn-id: svn://10.0.0.236/trunk@7834 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 15:23:23 +00:00
dcone%netscape.com
bb56671c90 added client routine
git-svn-id: svn://10.0.0.236/trunk@7833 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 15:23:04 +00:00
dcone%netscape.com
4c73c57cc0 took out method causing link errors
git-svn-id: svn://10.0.0.236/trunk@7832 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 13:46:34 +00:00
dcone%netscape.com
efdb6ba539 took out some functions causing link problem
git-svn-id: svn://10.0.0.236/trunk@7831 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 13:46:08 +00:00
dcone%netscape.com
642ce908b4 put quit when a key is hit - temporary
git-svn-id: svn://10.0.0.236/trunk@7830 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 13:45:13 +00:00
kin%netscape.com
5a4087e268 Fix for bug #313408: Need to update HG10297 and HG81272 macros in rosetta.h
and fix for Memory leak introduced in yesterdays checkin.
Files checked in: Command.cpp, Command.h and EditorView.cpp


git-svn-id: svn://10.0.0.236/trunk@7829 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 12:38:38 +00:00
chuckb%netscape.com
931784787e inadvertant change
git-svn-id: svn://10.0.0.236/trunk@7827 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 11:01:24 +00:00
chuckb%netscape.com
fe67c57f68 Mac project
git-svn-id: svn://10.0.0.236/trunk@7822 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 10:54:12 +00:00
chuckb%netscape.com
8208d07569 Manifest file
git-svn-id: svn://10.0.0.236/trunk@7821 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 10:52:51 +00:00
chuckb%netscape.com
3b12429626 DIRECTORY_C_SDK_30_BRANCH to TRUNK merge
git-svn-id: svn://10.0.0.236/trunk@7820 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 10:44:46 +00:00
chuckb%netscape.com
371fd21165 DIRECTORY_C_SDK_30_BRANCH to TRUNK merge
git-svn-id: svn://10.0.0.236/trunk@7819 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 10:35:35 +00:00
rickg%netscape.com
2167e0743c many parser bugs; better backward propagation
git-svn-id: svn://10.0.0.236/trunk@7818 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 08:53:55 +00:00
rickg%netscape.com
a6d383461e fixed objectAT() offset error
git-svn-id: svn://10.0.0.236/trunk@7817 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 08:53:03 +00:00
troy%netscape.com
f2ddc6fce9 Fixed potential leak of alpha bits if image is destroyed before
being optimized


git-svn-id: svn://10.0.0.236/trunk@7814 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 05:40:03 +00:00
troy%netscape.com
7846ca35d8 Fixed leak of an HTML Meta content object
git-svn-id: svn://10.0.0.236/trunk@7813 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 05:27:21 +00:00
joki%netscape.com
1e5f0b9259 Adding new doc loader observer interface.
git-svn-id: svn://10.0.0.236/trunk@7812 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 05:15:38 +00:00
troy%netscape.com
828d5f7aa0 Made sure event state manager was always released
git-svn-id: svn://10.0.0.236/trunk@7811 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 05:09:07 +00:00
joki%netscape.com
9106b337ee Adding partial load event support, removing script context Run_GC method adding partial script error support
git-svn-id: svn://10.0.0.236/trunk@7810 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 04:56:40 +00:00
troy%netscape.com
96b2f94853 Eliminated circular reference between table row and table cell
git-svn-id: svn://10.0.0.236/trunk@7809 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 04:45:17 +00:00
troy%netscape.com
aa64a059e4 Added release of row group context object
git-svn-id: svn://10.0.0.236/trunk@7808 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 04:09:43 +00:00
morse%netscape.com
bbdb3cc988 improved signon viewer
git-svn-id: svn://10.0.0.236/trunk@7807 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 04:03:33 +00:00
morse%netscape.com
ddca9da0a2 improved cookie viewer, approved by valeski
git-svn-id: svn://10.0.0.236/trunk@7806 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 03:59:45 +00:00
troy%netscape.com
4293d95f15 Eliminated memory leak of a content object in ProcessInitialReflow() when
doing special processing for list-item containers


git-svn-id: svn://10.0.0.236/trunk@7804 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 03:22:24 +00:00
michaelp%netscape.com
218b5af820 added changes for using directx draw with msvc 5.0.
git-svn-id: svn://10.0.0.236/trunk@7803 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 02:21:06 +00:00
karnaze%netscape.com
1dc52f388d ref counting, destruction fixes
git-svn-id: svn://10.0.0.236/trunk@7802 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 02:04:41 +00:00
troy%netscape.com
6b980541fe Fixed a leak of the HTML title
git-svn-id: svn://10.0.0.236/trunk@7801 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 01:36:25 +00:00
spider%netscape.com
f5f5f829b6 Fix Raptor Unix bustage. SignleSignon not supported when using modular
netlib.


git-svn-id: svn://10.0.0.236/trunk@7800 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 01:31:21 +00:00
troy%netscape.com
641b8e79ca Fixed leak of a bullet content object
git-svn-id: svn://10.0.0.236/trunk@7799 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 01:26:25 +00:00
donm%netscape.com
26ba1bf6a8 Fixing 5.0 bustage. This is a big hack. Kin will fix soon.
git-svn-id: svn://10.0.0.236/trunk@7798 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 01:14:26 +00:00
michaelp%netscape.com
7d07ec46f1 fixed nasty DeleteDC() in destructor.
git-svn-id: svn://10.0.0.236/trunk@7797 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 01:05:40 +00:00
michaelp%netscape.com
1d2a0b6edf changes to support use of DirectDraw.
git-svn-id: svn://10.0.0.236/trunk@7796 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 00:59:00 +00:00
kostello%netscape.com
2902b0ff40 Synched with windows build
git-svn-id: svn://10.0.0.236/trunk@7795 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 00:52:13 +00:00
cmanske%netscape.com
ef6f578730 Removing comment that doesn't apply anymore. With permission of pnunn
git-svn-id: svn://10.0.0.236/trunk@7794 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 00:40:33 +00:00
gagan%netscape.com
d32b05510e Fixed bug #313386. Very classic example of not using const keyword. rev/cmanske app/pnunn.
git-svn-id: svn://10.0.0.236/trunk@7793 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 00:33:53 +00:00
spider%netscape.com
1eb74866f3 Use Nav45 branch instead of julian
git-svn-id: svn://10.0.0.236/trunk@7792 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 00:28:26 +00:00
spider%netscape.com
d34a9f8b08 Use Nav45_BRANCH of julian instead of TREX_BRANCH
git-svn-id: svn://10.0.0.236/trunk@7791 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-12 00:25:05 +00:00
peterl%netscape.com
74371d3099 re-enable non-truetype fonts
git-svn-id: svn://10.0.0.236/trunk@7789 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 23:54:29 +00:00
peterl%netscape.com
5d334db003 force aliasing of courier font
git-svn-id: svn://10.0.0.236/trunk@7788 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 23:54:04 +00:00
kostello%netscape.com
54564cce76 Added nsHTMLEntities.h
git-svn-id: svn://10.0.0.236/trunk@7787 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 23:42:06 +00:00
akkana%netscape.com
640890cfd1 Don't show caret on inactive Ender areas. Reviewed by cmanske.
git-svn-id: svn://10.0.0.236/trunk@7786 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 22:59:45 +00:00
wtc%netscape.com
e239c9639f Added dgux.mk, contributed by Marc Fraioli <fraioli@dg-rtp.dg.com>.
git-svn-id: svn://10.0.0.236/trunk@7785 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 22:47:22 +00:00
troy%netscape.com
abd69964ac Added NS_RELEASE in FlushText() of interface returned from QueryInterface()
git-svn-id: svn://10.0.0.236/trunk@7784 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 22:44:28 +00:00
ftang%netscape.com
f1bb7fc419 fix bug 302137 by fallback to - on Mac. This is not really a fix . The real fix won't be here untill we have full Unicode support
git-svn-id: svn://10.0.0.236/trunk@7783 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 22:40:06 +00:00
wtc%netscape.com
c6841eb8dc Checked in DG/UX port contributed by Marc Fraioli <fraioli@dg-rtp.dg.com>.
New files: dgux.mk, _dgux.cfg, _dgux.h, and dgux.c.
Files changed: lib/msgc/tests/Makefile, pr/include/md/Makefile,
_unixos.h, prosdep.h, prsocket.c, pr/src/md/unix/Makefile,
pr/src/md/unix/objs.mk, unix.c.


git-svn-id: svn://10.0.0.236/trunk@7782 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 22:29:48 +00:00
ftang%netscape.com
c263a0fa0b add koi8u to the cyrillic list, also fix bug 76586 by adding font list rearrange code
git-svn-id: svn://10.0.0.236/trunk@7781 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 22:22:42 +00:00
pnunn%netscape.com
50e4394083 still need jerror.h. Thanks, Rick.
git-svn-id: svn://10.0.0.236/trunk@7780 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 22:08:39 +00:00
kin%netscape.com
eb56983f0b Modifications neccessary to route commands to the correct ENDER object
(HTMLArea) on the page. Approved and reviewd by ramiro and akkana.

Command.cpp
Command.h
    - Modified the XFE_ViewCommand constructor to take a view
      argument (defaults to NULL when not provided). If not NULL,
      this view is used to dispatch the command.

EditorView.cpp
EditorView.h
    - Modified all XFE_EditorViewCommands to take a view argument
      for their constructors to pass on to XFE_ViewCommand. Only
      ENDERs pass non-NULL views to the constructors, so the Editor
      still dispatches commands the way it always has.

Frame.cpp
Frame.h
    - Modified xfe_ExecuteCommand to take a cmdDispatcher argument.
      If non-null, it is casted to either a frame or view and then
      used to dispatch the command passed in. If it is null,
      xfe_ExecuteCommand dispatches as it always has.

Menu.cpp
Menu.h
PopupMenu.cpp
PopupMenu.h
    - Modified XFE_Menu and XFE_PopupMenu constructors to take a
      cmdDispatch argument. If it is non null, it is used to dispatch
      the command that is attatched to the menuitem.

MozillaApp.cpp
    - Modified xfeDoCommandAction ENDER code to call xfe_ExecuteCommand(),
      passing in the view as the cmdDispatcher.

View.cpp
    - Removed unused local variable in removeView(), to fix compiler
      warning.
    - Modified getCommandView() to recurse down the entire View tree
      to find a view that can handle a command. The old code only looked
      one level deep.


git-svn-id: svn://10.0.0.236/trunk@7778 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 21:50:47 +00:00
jgellman%netscape.com
1aa1a35e7d got jwz's libmime changes building on windows
git-svn-id: svn://10.0.0.236/trunk@7777 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 21:30:43 +00:00
jgellman%netscape.com
b933a69e6a added ifdef's needed
git-svn-id: svn://10.0.0.236/trunk@7776 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 21:27:14 +00:00
jgellman%netscape.com
489cc97f73 got jwz's libmime changes building on windows
git-svn-id: svn://10.0.0.236/trunk@7775 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 21:24:29 +00:00
ftang%netscape.com
2583671f73 fix typo in Ukrainian
git-svn-id: svn://10.0.0.236/trunk@7774 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 21:14:47 +00:00
karnaze%netscape.com
3e00e74d71 removed references to nsIWebFrame
git-svn-id: svn://10.0.0.236/trunk@7773 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 21:13:37 +00:00
pnunn%netscape.com
c325f7569e Removed extraneous include file. Tom Lane, committed by pnunn.
git-svn-id: svn://10.0.0.236/trunk@7772 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 20:45:59 +00:00
pnunn%netscape.com
da1819c629 remove dependencies on jpeg files. Tom Lane, committed by pnunn.
git-svn-id: svn://10.0.0.236/trunk@7771 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 20:45:18 +00:00
dcone%netscape.com
f0ea5eb238 mac initialzation is now working
git-svn-id: svn://10.0.0.236/trunk@7770 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 20:26:01 +00:00
dcone%netscape.com
cba5da1580 implemented some messaging
git-svn-id: svn://10.0.0.236/trunk@7769 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 20:25:31 +00:00
dcone%netscape.com
731a26d264 started messaging
git-svn-id: svn://10.0.0.236/trunk@7768 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 20:25:18 +00:00
dcone%netscape.com
540f20c743 updated message pump
git-svn-id: svn://10.0.0.236/trunk@7767 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 20:17:06 +00:00
dcone%netscape.com
376a356f16 update to use a mac Widgettest.cpp
git-svn-id: svn://10.0.0.236/trunk@7766 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 20:16:08 +00:00
dcone%netscape.com
a56281e7e8 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@7765 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 20:15:33 +00:00
pinkerton%netscape.com
6419c99b49 Support for pop-down tree views.
git-svn-id: svn://10.0.0.236/trunk@7764 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 19:20:01 +00:00
pinkerton%netscape.com
3bf9b78322 Don't draw over popdown tree if showing.
git-svn-id: svn://10.0.0.236/trunk@7763 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 19:19:35 +00:00
pinkerton%netscape.com
4f3ff0508d Overrides for the popdown flex table to close at the right times, etc.
git-svn-id: svn://10.0.0.236/trunk@7762 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 19:19:18 +00:00
pinkerton%netscape.com
96f14004b1 Build a window from an HT_Resource or RDF_Resource.
git-svn-id: svn://10.0.0.236/trunk@7761 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 19:18:57 +00:00
pinkerton%netscape.com
d1f792fc78 Hacks for showing a container docked, popup, or standalone, with a hack for drag and drop.
git-svn-id: svn://10.0.0.236/trunk@7760 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 19:17:36 +00:00
pinkerton%netscape.com
dcb26bda57 Better support for opening a tree popup, docked, or standalone.
git-svn-id: svn://10.0.0.236/trunk@7759 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 19:17:19 +00:00
pinkerton%netscape.com
7dd8faa2dc Register popdown tree classes.
git-svn-id: svn://10.0.0.236/trunk@7758 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 19:16:37 +00:00
pinkerton%netscape.com
04772e56d3 API to Create panes from RDF_Resources as well.
git-svn-id: svn://10.0.0.236/trunk@7757 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 19:15:59 +00:00
pinkerton%netscape.com
b99e4334e1 Fix redraw problem on refresh with inline editing.
git-svn-id: svn://10.0.0.236/trunk@7756 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 19:15:28 +00:00
pinkerton%netscape.com
34eb41447f Don't draw over the popdown tree if one is showing.
git-svn-id: svn://10.0.0.236/trunk@7755 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 19:15:05 +00:00
pinkerton%netscape.com
98ebb9e586 Popdown tree.
git-svn-id: svn://10.0.0.236/trunk@7754 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 19:14:40 +00:00
pinkerton%netscape.com
041d22a313 Support command to popup standalone on any HT_Resource and make Bookmarks/History to do the same.
git-svn-id: svn://10.0.0.236/trunk@7753 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 19:14:28 +00:00
morse%netscape.com
3b61327da2 changes for cookie and single signon viewers, reviewed and approved by relliott
git-svn-id: svn://10.0.0.236/trunk@7752 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 19:12:45 +00:00
kin%netscape.com
81a42507bd Modified lo_BeginTextareaTag() to call XP_STRCASECMP() when looking for
"HTMLAREA". Approved by nisheeth and toshok.


git-svn-id: svn://10.0.0.236/trunk@7751 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 19:10:47 +00:00
valeski%netscape.com
9b9206ef08 added the transfer_encoding reset code to all builds (no longer #ifdef'd) and placed it everywhere we were doing content_encoding clearing. Also did some reformatting. Ran the transfer_encoding stuff by gagan.
git-svn-id: svn://10.0.0.236/trunk@7750 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 19:07:55 +00:00
karnaze%netscape.com
1a7586d04a put back previous sizing of text fields due to changes in fixed width font
git-svn-id: svn://10.0.0.236/trunk@7749 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 19:07:25 +00:00
karnaze%netscape.com
cef6bb6be9 removed nsIWebFrame
git-svn-id: svn://10.0.0.236/trunk@7748 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 18:52:35 +00:00
buster%netscape.com
06d077240f first cut at implementing %-width columns inside of auto-width tables.
This is about 50% done, which covers about 90% of the cases.


git-svn-id: svn://10.0.0.236/trunk@7747 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 18:42:10 +00:00
donm%netscape.com
76143ccc43 adding MOZ_SINGLESIGNON and MOZ_COOKIEMANAGE to MOZ_MEDIUM define.
git-svn-id: svn://10.0.0.236/trunk@7746 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 18:41:01 +00:00
kipp%netscape.com
b8c3881140 Work around frame-appended reflows that don't grow the child of the body
git-svn-id: svn://10.0.0.236/trunk@7744 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 17:38:46 +00:00
karnaze%netscape.com
83d81a5ec8 added missing NS_RELEASE statements
git-svn-id: svn://10.0.0.236/trunk@7743 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 16:52:05 +00:00
kipp%netscape.com
2b2afba13d Elminated top/bottom margins around center tags
git-svn-id: svn://10.0.0.236/trunk@7741 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 15:32:12 +00:00
ramiro%netscape.com
aa9474bd0c Move the tree widgetry from XFE_RDFView to XFE_RDFTreeView.
git-svn-id: svn://10.0.0.236/trunk@7739 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 11:51:25 +00:00
ramiro%netscape.com
12c2311fa4 Make the stand alone state of XFE_RDFView a member that can be toggled.
Fix a bunch of warnings.
Make the notif_cb a static member of XFE_NavCenterView as it should be.


git-svn-id: svn://10.0.0.236/trunk@7737 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 09:10:23 +00:00
valeski%netscape.com
45a036d316 nglayout - clear the transfer encoding field in the url_s before doing a redirect so it doesn't interfer with the redirecting url stream selection
git-svn-id: svn://10.0.0.236/trunk@7734 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 05:19:03 +00:00
valeski%netscape.com
f271e1406c another memory leak and formatting changes
git-svn-id: svn://10.0.0.236/trunk@7733 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 04:52:12 +00:00
troy%netscape.com
962a468486 Fixed a memory leak. In some error cases we weren't calling NR_RegClose()
git-svn-id: svn://10.0.0.236/trunk@7730 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 04:06:28 +00:00
nisheeth%netscape.com
4ab2c23d31 Fixes bug 311240. We were crashing in layout when a new bookmark was added.
The real problem here is that RDF is overloading the HTML stream converter to 
get at the META tags.  I have a hacky fix to layout that checks for the special 
RDF slave context type and does not layout any tag other than META and HEAD.
This will get backed out as soon as we come up with a better solution...


git-svn-id: svn://10.0.0.236/trunk@7729 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 04:03:10 +00:00
danm%netscape.com
a9e4d75b26 moved privacy prefs to their own (private) pane
git-svn-id: svn://10.0.0.236/trunk@7728 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 03:40:14 +00:00
valeski%netscape.com
f2ee0c64b3 someone forgot to add parenthesis which could cause memory leaks on redirects. Not anymore! Parenthesis added.
git-svn-id: svn://10.0.0.236/trunk@7727 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 02:59:31 +00:00
spider%netscape.com
e93ed8d2c4 Add support for DEBUG with USERNAME
git-svn-id: svn://10.0.0.236/trunk@7717 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 00:30:09 +00:00
wtc%netscape.com
f11d0a9875 Deleted obsolete code for OSF1V4.
git-svn-id: svn://10.0.0.236/trunk@7716 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 00:23:59 +00:00
wtc%netscape.com
481ad4d991 Enable pthreads-based build. The key is to ifdef all the code related
to the "Xt hack" with SW_THREADS.  I believe the Xt hack is only needed
by user-level threads (i.e., SW_THREADS).


git-svn-id: svn://10.0.0.236/trunk@7715 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 00:19:29 +00:00
kipp%netscape.com
927fe7a55a Make sure text at the end of the document is reflowed properly
git-svn-id: svn://10.0.0.236/trunk@7714 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 00:19:11 +00:00
wtc%netscape.com
afc7ecd5b1 Miscellaneous fixes: Removed redundant occurences of libcaps.a and
libxpcom.a in BASIC_LIBS.  They only need to appear in BASIC_LIBS_2.
Put $(NSPR_LIB) in front of $(OTHER_LIBS) and $(OTHER_DYN_MOTIF_LIBS).
Enable pthreads-based build for Linux.  Define DYNAMIC_SYMBOLS_F to
be null on OSF1.


git-svn-id: svn://10.0.0.236/trunk@7712 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 00:18:07 +00:00
wtc%netscape.com
89f4721199 Do not declare variables in a 'for' statement because the scope
of such variables is compiler-dependent.  (approved by kipp@netscape.com)


git-svn-id: svn://10.0.0.236/trunk@7711 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-11 00:10:36 +00:00
wtc%netscape.com
9a1521192c Shared libraries on FreeBSD must have version numbers in their names.
So set DLL_SUFFIX to so.1.0.  Thanks to Bret Ford <bford@uop.cs.uop.edu>
for reporting the problem and Thomas Mueller <tmueller@privat.prodata.de>
for verifying the fix.


git-svn-id: svn://10.0.0.236/trunk@7710 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 23:42:03 +00:00
wtc%netscape.com
542d02e511 The local threads don't work on RedHat 5.1 Sparc Linux (with glibc2).
I suspect it's because glibc2's setjmp/longjmp (Sparc version) does
not allow us to modify the jmp_buf.  So I added some comments and
a #error directive to force the build to fail.


git-svn-id: svn://10.0.0.236/trunk@7709 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 23:38:38 +00:00
wtc%netscape.com
5296156091 Enable pthreads-based Mozilla build. TO do a pthreads-based build,
set the environment variable USE_PTHREADS to 1.
Files changed: mozilla/config/OSF1.mk, mozilla/nsprpub/config/OSF1.mk.


git-svn-id: svn://10.0.0.236/trunk@7708 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 23:37:06 +00:00
ftang%netscape.com
5f4f4eb739 Add cp1252 conversion tolower table and make winfe to use it.
Thanks for from the net  Antoine.Leca@renault.fr (Antoine Leca)


git-svn-id: svn://10.0.0.236/trunk@7707 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 23:29:27 +00:00
peterl%netscape.com
192504ea49 made check font existence ignore non-truetype fonts
git-svn-id: svn://10.0.0.236/trunk@7706 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 23:29:21 +00:00
kmcclusk%netscape.com
ad9de2a9d5 Added back commented out destruction of XImages and buffers
git-svn-id: svn://10.0.0.236/trunk@7705 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 23:27:32 +00:00
peterl%netscape.com
72666bde8e connected LINKed style sheets
git-svn-id: svn://10.0.0.236/trunk@7703 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 23:02:39 +00:00
robinf%netscape.com
df61f28833 minor text updates to reflect latest UI
git-svn-id: svn://10.0.0.236/trunk@7702 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 22:57:36 +00:00
blythe%netscape.com
db8d25594d Fix bugzilla bug #120
git-svn-id: svn://10.0.0.236/trunk@7701 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 22:45:14 +00:00
kmcclusk%netscape.com
70bd69fe6e Removed debug printf's #if 0 code + moved resize code
from nsXtEventHandler.cpp nsWindow.cpp.


git-svn-id: svn://10.0.0.236/trunk@7699 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 22:37:46 +00:00
troy%netscape.com
f19ca7ceaf Added a NS_RELEASE of the URL reader in OnStartBinding()
git-svn-id: svn://10.0.0.236/trunk@7698 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 22:21:18 +00:00
kmcclusk%netscape.com
27136314b0 Removed commented out code and debug printf's.
git-svn-id: svn://10.0.0.236/trunk@7697 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 22:18:28 +00:00
wtc%netscape.com
f643011e53 Enable pthreads-based build. The macro SW_THREADS is defined only
if USE_PTHREADS is not defined.  If USE_PTHREADS is defined, add
-lpthread to OS_LIBS.


git-svn-id: svn://10.0.0.236/trunk@7695 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 22:05:33 +00:00
thom%netscape.com
43a79f53c1 added 'extern "C"' to declaration of NS_NewHTMLLoggingSink to fix mac link error...
git-svn-id: svn://10.0.0.236/trunk@7694 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 21:56:32 +00:00
clayton
92a6b6c8d0 Added a first draft of POD documentation for the API commands. I wrote a
script to generate most of it and am going back to fix the pieces that
couldn't be automatically generated.  I've gotten through ldap_compare
so far and will be done with all API docs by Tuesday night.


git-svn-id: svn://10.0.0.236/trunk@7693 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 21:56:09 +00:00
peterl%netscape.com
11ff304260 connect marginwidth & marginheight in body tag
git-svn-id: svn://10.0.0.236/trunk@7691 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 21:50:32 +00:00
kipp%netscape.com
ab499551e6 Disabled old entity routines
git-svn-id: svn://10.0.0.236/trunk@7690 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 21:38:10 +00:00
kipp%netscape.com
aa0b382d4a Used generated entities file to translate entities
git-svn-id: svn://10.0.0.236/trunk@7689 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 21:37:55 +00:00
kipp%netscape.com
97c07adc50 Build generate entities file
git-svn-id: svn://10.0.0.236/trunk@7688 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 21:37:36 +00:00
kin%netscape.com
a335158b84 Turn on ENDER by default in the builds.
git-svn-id: svn://10.0.0.236/trunk@7687 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 21:22:27 +00:00
kmcclusk%netscape.com
7c529e0547 Added a XtManageWidget implementation lifted from the XFE code. This fixes problems where the drawing area would
spontaneously resize itself to fit its contents.


git-svn-id: svn://10.0.0.236/trunk@7686 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 21:21:34 +00:00
kipp%netscape.com
a24d4696bf Open the file for writing (doh)
git-svn-id: svn://10.0.0.236/trunk@7685 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 21:12:10 +00:00
kipp%netscape.com
d2684b2846 Short circuit auto-detect logic (cuz it doesn't work here)
git-svn-id: svn://10.0.0.236/trunk@7684 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 21:11:31 +00:00
kin%netscape.com
2a4cf3eb53 Modified form_element_get_size() to call fe_HackTranslations() for all
form elements except the HTMLArea.


git-svn-id: svn://10.0.0.236/trunk@7683 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 21:11:07 +00:00
kipp%netscape.com
ef2aed49ad Updated
git-svn-id: svn://10.0.0.236/trunk@7682 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 21:10:36 +00:00
kipp%netscape.com
872b060f20 Build entities table
git-svn-id: svn://10.0.0.236/trunk@7681 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 21:10:04 +00:00
kipp%netscape.com
e51698ec95 Fixed assertion message
git-svn-id: svn://10.0.0.236/trunk@7680 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 21:08:36 +00:00
kipp%netscape.com
268de5a50d Handle EOF better for file streams
git-svn-id: svn://10.0.0.236/trunk@7679 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 21:08:21 +00:00
kin%netscape.com
802f04f7c5 Commented out some debug statements with ifdef DEBUG_kin.
git-svn-id: svn://10.0.0.236/trunk@7678 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 21:08:10 +00:00
kipp%netscape.com
b07c398579 new
git-svn-id: svn://10.0.0.236/trunk@7677 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 21:07:40 +00:00
spider%netscape.com
eefc86349a julian is 50 in free world
git-svn-id: svn://10.0.0.236/trunk@7676 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 20:38:48 +00:00
donm%netscape.com
2ea7df3487 Fixes Unix build problem with MOZ_COOKIEMANAGE and MOZ_SINGLESIGNON
flags turned on.  Approved by: Steve Morse


git-svn-id: svn://10.0.0.236/trunk@7675 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 20:38:26 +00:00
morse%netscape.com
b28b86c55a fixed bug involving freeing of memory that was never allocated, reviewed by Pinkerton
git-svn-id: svn://10.0.0.236/trunk@7674 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 20:36:41 +00:00
spider%netscape.com
82da783cbe Unix changes to support xpfc
git-svn-id: svn://10.0.0.236/trunk@7673 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 20:01:52 +00:00
spider%netscape.com
ccddf33924 Updates for XPFC ... we've moved
git-svn-id: svn://10.0.0.236/trunk@7671 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 19:56:59 +00:00
spider%netscape.com
a8e186a7d1 Updates for XPFC
git-svn-id: svn://10.0.0.236/trunk@7670 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 19:56:34 +00:00
spider%netscape.com
73adf57091 fixes for new xpfc
git-svn-id: svn://10.0.0.236/trunk@7669 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 19:46:33 +00:00
spider%netscape.com
f307a7b044 Fix build bustage
git-svn-id: svn://10.0.0.236/trunk@7668 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 18:50:59 +00:00
troy%netscape.com
d4bb51be47 Added code to delete nsBrowserWindow object
git-svn-id: svn://10.0.0.236/trunk@7667 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 18:20:20 +00:00
michaelp%netscape.com
b4b3615aa5 should fix build errors on unix.
git-svn-id: svn://10.0.0.236/trunk@7665 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 18:02:56 +00:00
rods%netscape.com
a1b9598742 Fixed edge case for selection, selection at starting of line and moving to new content.
git-svn-id: svn://10.0.0.236/trunk@7664 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 17:46:34 +00:00
troy%netscape.com
8f682521ef Stopped allocating array of size 0...
git-svn-id: svn://10.0.0.236/trunk@7663 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 17:44:54 +00:00
kipp%netscape.com
f7457a3f72 Fixed documents w/o titles bug #313016
git-svn-id: svn://10.0.0.236/trunk@7662 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 17:39:48 +00:00
troy%netscape.com
1a7be428bd Removed an extra NS_ADDREF call that was keeping the timer object from
ever getting freed


git-svn-id: svn://10.0.0.236/trunk@7661 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 17:32:57 +00:00
karnaze%netscape.com
e4a8306fd3 fixed "return" submission on a single text field
git-svn-id: svn://10.0.0.236/trunk@7660 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 17:26:20 +00:00
troy%netscape.com
e16a20aed0 Fixed ClearTimeout() to free the timer closure struct
git-svn-id: svn://10.0.0.236/trunk@7659 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 17:25:35 +00:00
troy%netscape.com
92ce65c672 Added GetClosure() member function
git-svn-id: svn://10.0.0.236/trunk@7658 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 17:24:36 +00:00
troy%netscape.com
0a2de0954f Added memset of lfFaceName array to 0 for debug builds. This eliminates
a Purify warning


git-svn-id: svn://10.0.0.236/trunk@7657 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 16:53:14 +00:00
despotdaemon%netscape.com
dca21a9bbf Pseudo-automatic update of changes made by jdunn@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@7656 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 15:43:01 +00:00
jfrancis%netscape.com
e912d3d58d Turning on ENDER.
git-svn-id: svn://10.0.0.236/trunk@7655 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 15:18:32 +00:00
troy%netscape.com
c91029acf9 Added call to Shutdown() of prefs object
git-svn-id: svn://10.0.0.236/trunk@7654 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 05:12:25 +00:00
sdagley%netscape.com
1e87c9adfa Fix #309842. For some reason the call to NET_FinishInitNetLib() was commened out in the MacFE. Since this is where the cache is initialized and cookies are initially read, among other useful stuff, it seems like a bad idea to not call it.
git-svn-id: svn://10.0.0.236/trunk@7653 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 04:49:58 +00:00
karnaze%netscape.com
770938c13f adjusted sizing for text controls; default control is text; assertion cleanup
git-svn-id: svn://10.0.0.236/trunk@7652 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 04:28:17 +00:00
troy%netscape.com
f16c07c6f6 Fixed leak of an IL color space in NewPixmap()
git-svn-id: svn://10.0.0.236/trunk@7651 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 04:25:35 +00:00
jwz%mozilla.org
870d80ee1d I could tell you what this patch was for, but then I'd have to shoot you.
git-svn-id: svn://10.0.0.236/trunk@7650 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 03:50:04 +00:00
troy%netscape.com
075416e02c Fixed leak of async net context. Now there's only one net context used
for all image requests and its released when the image group is
destroyed


git-svn-id: svn://10.0.0.236/trunk@7649 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 03:33:49 +00:00
troy%netscape.com
1e7f67e20c Stopped holding a reference to the device context, because the device context
holds a reference to the font cache and this was causing a circular reference


git-svn-id: svn://10.0.0.236/trunk@7648 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 02:34:00 +00:00
joki%netscape.com
6dc09b67c8 Move disassociation of frame from view up from destructor to DeleteFrame to prevent event entrance during destruction
git-svn-id: svn://10.0.0.236/trunk@7647 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 02:28:23 +00:00
buster%netscape.com
fc65291463 percent-width nested tables in fixed-width cells now use the computed
column width if available for computing their own width.


git-svn-id: svn://10.0.0.236/trunk@7646 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 02:16:18 +00:00
joki%netscape.com
315d19a499 Additional fixes to allow child webshells in framesets to be properly released.
git-svn-id: svn://10.0.0.236/trunk@7645 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 01:36:02 +00:00
joki%netscape.com
06a2ca93d0 Add RunGC method onto ScriptContext interface. Probably temporary until we have auto-gc'ing set up.
git-svn-id: svn://10.0.0.236/trunk@7644 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 01:33:34 +00:00
joki%netscape.com
dffea3f81d Fix possible addref on null pointer
git-svn-id: svn://10.0.0.236/trunk@7643 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 01:30:29 +00:00
karnaze%netscape.com
da7fa463af added GetMarginWidth, SetMarginWidth, GetMarginHeight, SetMarginHeight to web widget, frameset codes calls it.
git-svn-id: svn://10.0.0.236/trunk@7642 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 01:01:27 +00:00
jwz%mozilla.org
252080d0bd add -DNO_SECURITY so that it works on the internal Netscape builds as well
(which do have security, but which do not have a libmime with S/MIME code.)


git-svn-id: svn://10.0.0.236/trunk@7641 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-10 00:24:00 +00:00
valeski%netscape.com
47516b0967 removed the http:// assumption code from here to nsWebShell.cpp
git-svn-id: svn://10.0.0.236/trunk@7640 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-09 21:23:54 +00:00
valeski%netscape.com
196f89df7e moved http:// assumption code into nsWebShell.cpp from nsBrowserWindow.cpp
git-svn-id: svn://10.0.0.236/trunk@7639 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-09 21:22:18 +00:00
waterson%netscape.com
213c76750c Added some info to the begin-session timing trace.
git-svn-id: svn://10.0.0.236/trunk@7638 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-09 20:32:48 +00:00
waterson%netscape.com
91ad084c9b Modified timing macros to include MWContext parameter.
git-svn-id: svn://10.0.0.236/trunk@7637 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-09 20:32:30 +00:00
waterson%netscape.com
cb3e361cc8 Added some more timing traces to WinFE. Approved by blythe.
git-svn-id: svn://10.0.0.236/trunk@7636 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-09 20:28:53 +00:00
waterson%netscape.com
be7874976b Added context parameter to timing macros.
git-svn-id: svn://10.0.0.236/trunk@7635 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-09 20:28:04 +00:00
troy%netscape.com
5a0c300836 Changed destructor to release reference to image request observer objects. This
fixes a memory leak


git-svn-id: svn://10.0.0.236/trunk@7632 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-09 16:53:24 +00:00
troy%netscape.com
f06d6cad13 Now deletes the images and releases the reference to the image group
git-svn-id: svn://10.0.0.236/trunk@7631 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-09 16:42:06 +00:00
mcafee%netscape.com
0bea3d5c5f Compiler warning on IRIX.
git-svn-id: svn://10.0.0.236/trunk@7629 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-09 09:10:55 +00:00
joki%netscape.com
9a4b4d35b9 Partial fix for frame based and general memory leaks of webshells and prescontexts
git-svn-id: svn://10.0.0.236/trunk@7628 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-09 07:43:22 +00:00
jwz%mozilla.org
fbd360d63b oops, typo'ed an extra ";" that gcc doesn't like.
git-svn-id: svn://10.0.0.236/trunk@7626 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-09 06:02:27 +00:00
troy%netscape.com
d545466115 Added code to destructor to delete mVisited
git-svn-id: svn://10.0.0.236/trunk@7624 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-09 05:00:24 +00:00
despotdaemon%netscape.com
46893f02e1 Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@7623 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-09 04:00:46 +00:00
despotdaemon%netscape.com
7f359d5cec Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@7622 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-09 03:59:28 +00:00
jwz%mozilla.org
0f2d91d145 build and link against libmime (on Unix only, until I find some victims to
test things out on the other platforms.)


git-svn-id: svn://10.0.0.236/trunk@7621 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-09 03:53:14 +00:00
jwz%mozilla.org
abbaaba6be various tweaks to get libmime to build, and be linkable with the
rest of Mozilla.


git-svn-id: svn://10.0.0.236/trunk@7620 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-09 03:51:51 +00:00
jwz%mozilla.org
94c97d19b5 in order to make libmime compile without libmsg, moved some
utility functions from libmsg/msgutil.c to new files
libxp/xp_linebuf.c and libnet/mkbuf.c:

	msg_GrowBuffer ==> XP_GrowBuffer
	msg_LineBuffer ==> XP_LineBuffer
	msg_ReBuffer ==> XP_ReBuffer
	msg_MakeRebufferingStream ==> NET_MakeRebufferingStream


git-svn-id: svn://10.0.0.236/trunk@7619 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-09 03:49:12 +00:00
beard%netscape.com
70c2f26e11 Added nsIPluginInstance* and NPWindow* data members to CPluginInstancePeer, fixed some reference counting bugs. Changed instance->pdata to point to the peer, so it can be accessed independently.
git-svn-id: svn://10.0.0.236/trunk@7618 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-09 03:17:39 +00:00
troy%netscape.com
ad1ac559f3 Added release of mAppShell
git-svn-id: svn://10.0.0.236/trunk@7617 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-09 02:13:29 +00:00
beard%netscape.com
230a20f31d Fixed a C string copy bug in CPluginInstancePeer::CPluginInstancePeer, added strcasecmp for XP_MAC.
git-svn-id: svn://10.0.0.236/trunk@7616 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-09 01:55:13 +00:00
troy%netscape.com
786bb2438d Cleaned up widget reference counting. In particular parent widgets
release their references to child widgets


git-svn-id: svn://10.0.0.236/trunk@7615 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-09 01:37:30 +00:00
leif
2701eafa8a - Lots of modifications, minor changes etc.
- Updated all documentation.
- Added a few new functions.


git-svn-id: svn://10.0.0.236/trunk@7614 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-09 01:16:55 +00:00
jevering%netscape.com
80ca6e2b8c Fixed build. forgot prenv.h
git-svn-id: svn://10.0.0.236/trunk@7613 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-09 00:02:40 +00:00
jevering%netscape.com
6c6b309e49 Set Home page for viewer.
git-svn-id: svn://10.0.0.236/trunk@7612 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-08 22:01:46 +00:00
beard%netscape.com
5ef3aa0f18 Changed all uses of lo_NVList to not depend on OJI being defined.
git-svn-id: svn://10.0.0.236/trunk@7610 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-08 20:50:22 +00:00
michaelp%netscape.com
8eeb4425f1 merged changes from branch.
git-svn-id: svn://10.0.0.236/trunk@7609 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-08 19:21:40 +00:00
ramiro%netscape.com
d667b404da Fix xpcom linking problem under some versions of gcc and egcs.
Add libxpcom.a to link line after libraries that reference symbols in it.


git-svn-id: svn://10.0.0.236/trunk@7608 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-08 06:37:47 +00:00
troy%netscape.com
06a522099a Change to object lifetime management. Views are no longer ref counted
git-svn-id: svn://10.0.0.236/trunk@7605 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-08 04:23:33 +00:00
despotdaemon%netscape.com
a2c1d50d52 Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@7603 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-08 03:38:06 +00:00
cyeh%netscape.com
9f3b6e8934 added more *.in files under JavaStubsUnix for cls autoconf work
git-svn-id: svn://10.0.0.236/trunk@7602 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-08 02:41:47 +00:00
jwz%mozilla.org
cbf12721dd Got libmime and the mimefilt program to build in the public Mozilla code base.
Mostly I did this by turning on -DMOZILLA_30, which eliminates most of
the, uh, "progress" made in libmime since 3.0.  That this worked highlights
the fact that the 3.x libmime had far fewer cross-dependencies on libmsg
than 4.x did.


git-svn-id: svn://10.0.0.236/trunk@7601 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-08 02:20:33 +00:00
jwz%mozilla.org
0a29f06a82 In 2.x/3.x, this file was lib/libmsg/addr.c.
In 4.x, it was lib/libmsg/addrutil.cpp.  (They felt the need to convert it
to C++ for no adequately explainable reason, and to add some dependencies
on the rest of libmsg.)

Since libmime needs this, and libmsg isn't being built, I converted it
back to C, removed the libmsg dep, and put a copy of this file here.

Someday, something more sensible should be done.  Like deleting the copy
in libmsg, perhaps.


git-svn-id: svn://10.0.0.236/trunk@7600 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-08 02:17:51 +00:00
cmanske%netscape.com
568fe32f26 Fixed P0 Composer bug 312249 (backspacing when lines wrap) with help/review/approval by nisheeth. Also layout's part of fix to 310966 (changing doc colorsof current windows)
git-svn-id: svn://10.0.0.236/trunk@7598 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-08 02:06:57 +00:00
cyeh%netscape.com
f10ef2e77a added corresponding Makefile.in files at request of cls for autoconf
work


git-svn-id: svn://10.0.0.236/trunk@7597 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-08 01:56:40 +00:00
cyeh%netscape.com
b030ceac7e \ characters are not used on the last line of a module.
git-svn-id: svn://10.0.0.236/trunk@7596 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-08 01:27:20 +00:00
cmanske%netscape.com
8bb7f094a7 Fixed image loading problem in composer. Bug 312056. Reviewed and checkin permission by gagan
git-svn-id: svn://10.0.0.236/trunk@7595 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-08 01:23:26 +00:00
nisheeth%netscape.com
fdf8b180d7 Fixes bugs 301002, 206090, and 312021. Blocked tags were getting misordered.
lo_FinishLayout() was getting called multiple times.  These fixes were migrated
over from the 4.06 branch.


git-svn-id: svn://10.0.0.236/trunk@7593 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 23:59:48 +00:00
nisheeth%netscape.com
da6cf88f6f lo_FillinImageGeometry() was not being called before the image load was started
for the case when an <IMG> tag was processed while layout was blocked.  Fixed.


git-svn-id: svn://10.0.0.236/trunk@7592 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 23:45:27 +00:00
vidur%netscape.com
bbd5036562 Better JSConsole return values
git-svn-id: svn://10.0.0.236/trunk@7591 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 23:19:20 +00:00
vidur%netscape.com
d6598dbb16 Implemented additional document and form interfaces. Implemented named elements for documents and forms. nsInput now implements nsIDOMHTMLInputElement.
git-svn-id: svn://10.0.0.236/trunk@7588 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 23:08:00 +00:00
vidur%netscape.com
55b6f5c540 Better support for interface families in the IDL (named elements). Netscape interfaces for HTMLDocument and HTMLFormElement (for backwards compatibility.
git-svn-id: svn://10.0.0.236/trunk@7587 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 23:01:52 +00:00
kostello%netscape.com
2582b8062f Put both AOLMAIL and html/text of the pasteboard
git-svn-id: svn://10.0.0.236/trunk@7586 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 22:35:44 +00:00
buster%netscape.com
28e4b99d4b bug #312932. fixes nested tables with percent widths that also have
content with percent widths.


git-svn-id: svn://10.0.0.236/trunk@7583 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 21:53:27 +00:00
cyeh%netscape.com
f2a8ac10f9 adding mozilla/Makefile.in and mozilla/configure.in to MozillaSourceUnix at
request of chris seawood for autoconf work.


git-svn-id: svn://10.0.0.236/trunk@7582 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 21:13:06 +00:00
rods%netscape.com
5ec76384fd Shift click (without first clicking) no longer crashes the viewer
git-svn-id: svn://10.0.0.236/trunk@7578 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 20:15:36 +00:00
rods%netscape.com
c295c87d48 Select All no turns on selection in the document and renders it selected.
git-svn-id: svn://10.0.0.236/trunk@7577 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 20:14:39 +00:00
kmcclusk%netscape.com
be82118997 Correctly set shift and control flags on mouse and keyboard events.
git-svn-id: svn://10.0.0.236/trunk@7576 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 19:38:28 +00:00
kostello%netscape.com
d10145255f Fix mac build
git-svn-id: svn://10.0.0.236/trunk@7574 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 18:34:13 +00:00
law%netscape.com
a8177a1d9a Fixing stupid off-by-one bug that breaks rel builds
git-svn-id: svn://10.0.0.236/trunk@7573 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 18:34:03 +00:00
troy%netscape.com
f5d7d63a42 Removed MoveTo() and SizeTo() member functions that were for debug
purposes, and are no longer needed


git-svn-id: svn://10.0.0.236/trunk@7571 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 18:17:34 +00:00
robinf%netscape.com
314ddcb0d7 this is help file that goest with as_html/2step.htm; re: bug 3000065
git-svn-id: svn://10.0.0.236/trunk@7568 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 18:10:18 +00:00
robinf%netscape.com
ff54448ac3 removing this file so I can replace it with renamed file "2step.htm" to fix bug # 3000065
git-svn-id: svn://10.0.0.236/trunk@7567 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 18:08:29 +00:00
karnaze%netscape.com
bdf4fa6853 removed overloaded GetAttribute on nsInput
git-svn-id: svn://10.0.0.236/trunk@7566 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 17:39:27 +00:00
kmcclusk%netscape.com
07da1c6708 Changed NSIMETHOD to NS_METHOD in nsWindow.h
Changed eCursor_arrow_east and east_plus to west and west_plus for
duplicate switch statement


git-svn-id: svn://10.0.0.236/trunk@7565 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 17:13:04 +00:00
kmcclusk%netscape.com
5e5b3e766f Changed nsFontMetrixWin to nsFontMetrixUnix for GetWidth member function.
git-svn-id: svn://10.0.0.236/trunk@7564 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 16:43:52 +00:00
rods%netscape.com
0f71b811b5 Bug fixes for memory crash, and added blue triangle instead of red line
git-svn-id: svn://10.0.0.236/trunk@7562 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 16:14:07 +00:00
ramiro%netscape.com
a2ab13ee10 Fix the unix build bustage cause of undefined NET_DisplayCookieInfoAsHTML().
git-svn-id: svn://10.0.0.236/trunk@7561 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 15:37:30 +00:00
spider%netscape.com
63940c35da Cursor support
git-svn-id: svn://10.0.0.236/trunk@7560 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 15:35:27 +00:00
despotdaemon%netscape.com
1b2c68ed55 Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@7559 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 14:56:51 +00:00
spider%netscape.com
8f307fdad4 Adding several new cursor types
git-svn-id: svn://10.0.0.236/trunk@7558 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 14:45:46 +00:00
ramiro%netscape.com
359faed83b fix attachment.
git-svn-id: svn://10.0.0.236/trunk@7557 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 11:03:30 +00:00
ramiro%netscape.com
12722e7f70 dfm's privacy tools menu.
git-svn-id: svn://10.0.0.236/trunk@7556 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 09:51:55 +00:00
clu%netscape.com
bc1b400fad modified a conditional statement in ChangeTableSelection so that table selection can be correct on the mac when the movement is ED_MOVE_NONE (unlike other platforms, macfe passes in a NULL pData). Reviewed by cmanske and brade.
git-svn-id: svn://10.0.0.236/trunk@7555 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 09:17:19 +00:00
clu%netscape.com
f1c8ac0646 changed composer table select submenu so it can now select row, col, cell, and all cells correctly. Reviewed by brade.
git-svn-id: svn://10.0.0.236/trunk@7554 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 09:11:11 +00:00
clu%netscape.com
77c7a847f5 added resource numbers 1320 through 1323 to support table menu selection. Reviewed by brade.
git-svn-id: svn://10.0.0.236/trunk@7553 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 09:06:20 +00:00
clu%netscape.com
268ac9858e implemented code to respond to table selection from the menu. reviewed by brade.
git-svn-id: svn://10.0.0.236/trunk@7552 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 09:03:54 +00:00
clu%netscape.com
242bd33386 separating #ifdef MOZ_MAIL_NEWS from #ifdef EDITOR so that CComposerFind can work with just the EDITOR but not MOZ_MAIL_NEWS turned on. #312288; reviewed by brade.
git-svn-id: svn://10.0.0.236/trunk@7551 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 09:01:50 +00:00
ramiro%netscape.com
b90bfa4721 Granting some dude's wish.
git-svn-id: svn://10.0.0.236/trunk@7550 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 08:44:04 +00:00
joki%netscape.com
6fa9146055 Fix mouseover in url messages by initializing event result messages.
git-svn-id: svn://10.0.0.236/trunk@7549 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 08:11:20 +00:00
peterl%netscape.com
e561f6fa33 IRIX build fix
git-svn-id: svn://10.0.0.236/trunk@7548 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 06:24:38 +00:00
gagan%netscape.com
0e21ceef57 Fix schtupid warning on schMac.
git-svn-id: svn://10.0.0.236/trunk@7547 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 06:24:05 +00:00
cls%seawood.org
1df7026b42 Not quite sure what happened. It was in the repository but was not
showing up on bonsai and I could not commit any changes.


git-svn-id: svn://10.0.0.236/trunk@7545 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 06:20:02 +00:00
cls%seawood.org
9dc23ae8bd Run autoconf on this file to generate the configure script.
git-svn-id: svn://10.0.0.236/trunk@7544 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 06:01:37 +00:00
troy%netscape.com
941b44b69a Added GetClientData() and SetClientData() member functions
git-svn-id: svn://10.0.0.236/trunk@7533 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 05:19:40 +00:00
joki%netscape.com
4fac7be2a1 Added support for click event on form buttons
git-svn-id: svn://10.0.0.236/trunk@7532 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 05:19:07 +00:00
morse%netscape.com
b4be9ca1a8 fix build bustage on mac
git-svn-id: svn://10.0.0.236/trunk@7531 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 05:15:03 +00:00
joki%netscape.com
e562c4ba4b Adding window.open method, fixing editormode in release builds, various event fixes
git-svn-id: svn://10.0.0.236/trunk@7528 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 04:45:03 +00:00
peterl%netscape.com
dedd0a2fc1 fix build
git-svn-id: svn://10.0.0.236/trunk@7523 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 03:43:20 +00:00
morse%netscape.com
b8f354a7e7 alphabetize entries in viewers, put up nag boxes
git-svn-id: svn://10.0.0.236/trunk@7518 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 03:15:53 +00:00
morse%netscape.com
aa83c449d4 changes for single signon
git-svn-id: svn://10.0.0.236/trunk@7517 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 03:13:05 +00:00
morse%netscape.com
b8c13329df change for single singon, reviewed by dfm
git-svn-id: svn://10.0.0.236/trunk@7516 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 03:12:04 +00:00
rickg%netscape.com
52c71bfad7 too many bug fixes to name, but all legit scopus bugs
git-svn-id: svn://10.0.0.236/trunk@7515 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 03:09:24 +00:00
peterl%netscape.com
3fc016f2ac fixed processing of font face (preserve original quotes)
git-svn-id: svn://10.0.0.236/trunk@7513 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 02:17:56 +00:00
peterl%netscape.com
289d347c74 save quote char on string tokens
git-svn-id: svn://10.0.0.236/trunk@7512 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 02:17:10 +00:00
peterl%netscape.com
56fd682070 fixed font face support
git-svn-id: svn://10.0.0.236/trunk@7511 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 02:16:38 +00:00
peterl%netscape.com
dda3150013 changed nsFont to contain face lists in name
git-svn-id: svn://10.0.0.236/trunk@7510 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 02:12:34 +00:00
buster%netscape.com
bd14f040ee synch with branch
fixed the following bugs: 312653 312656 312655
the fixes were:

1. cells now inherit their bgcolor from the row, if available.  This is the
Nav4 way of drawing row bgcolor, rather than having the row paint its own bgcolor. (Troy, I intend to make this conditional
based on the compatibility mode)

2. colspans across cols that are all specified width no longer try to proportionately
divide the width of the span between the cols.  see http://www.city.net (now it's really fixed, without breaking nested tables in
constrained situations.)  A happy side effect is nested tables in general behave better when constrained.

3. min table sizes are fixed, so min width changes to content now effect the
table correctly during incremental reflow.  This fixes the table layout portion of the bugs on the http://www.aol.com/corp tree.
Rick will check in the other half of this fix soon.  Until then, don't expect to see much improvement.

4. fixed bug 312799.  Table cell now always reserve at least the maxElementSize
of its content, fixing problems when desiredSize<maxElementSize


git-svn-id: svn://10.0.0.236/trunk@7509 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 02:11:51 +00:00
peterl%netscape.com
d854ad04ea performance tweak in trim
git-svn-id: svn://10.0.0.236/trunk@7508 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 02:11:13 +00:00
kipp%netscape.com
0e8da14ade Landed non-branch version on the tip
git-svn-id: svn://10.0.0.236/trunk@7507 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 02:10:11 +00:00
kipp%netscape.com
a817acde89 Fixed embed/flush-text bug #312433
git-svn-id: svn://10.0.0.236/trunk@7503 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 01:50:12 +00:00
kipp%netscape.com
141943b382 new
git-svn-id: svn://10.0.0.236/trunk@7502 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 01:39:40 +00:00
pinkerton%netscape.com
5bf53af107 Fix problem that made mgmt mode double-click (default property was wrong when not specified by ht).
git-svn-id: svn://10.0.0.236/trunk@7501 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 01:01:23 +00:00
amusil%netscape.com
2a64af000b Fixes Bug# 117905. This fix has been in the 4x tree since 4.04.
git-svn-id: svn://10.0.0.236/trunk@7500 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 00:21:42 +00:00
saari%netscape.com
3cac2c90bd Fixing a checkin error for the MacMemAllocator changes.
This fixes some recent instability in Mac Grommit.


git-svn-id: svn://10.0.0.236/trunk@7499 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 00:21:29 +00:00
pinkerton%netscape.com
32ab184ea2 Don't use constants from selector (or include it's header file). Define them here instead.
git-svn-id: svn://10.0.0.236/trunk@7497 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 00:16:47 +00:00
pinkerton%netscape.com
cc0db74b42 Don't #include selector header because it's not being used.
git-svn-id: svn://10.0.0.236/trunk@7495 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 00:15:50 +00:00
pinkerton%netscape.com
f0e626e6e7 Add context menus and fix scrolling in shack.
git-svn-id: svn://10.0.0.236/trunk@7494 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 00:15:17 +00:00
pinkerton%netscape.com
3c5713388b Remove dependance on CNavCenterSelector's constants and make the title strips LCommanders so they can have context menus.
git-svn-id: svn://10.0.0.236/trunk@7493 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 00:14:26 +00:00
pinkerton%netscape.com
d2bf3066eb Make single-click mode work correctly (on mouse up, not mouse down).
git-svn-id: svn://10.0.0.236/trunk@7491 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 00:12:49 +00:00
timm%netscape.com
490ee44a3f fix for long timeout on cancelled or dropped connections
git-svn-id: svn://10.0.0.236/trunk@7490 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 00:07:27 +00:00
law%netscape.com
dde56e728d Turn on new Desktop integration prefs pane
git-svn-id: svn://10.0.0.236/trunk@7489 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 00:07:22 +00:00
law%netscape.com
36496b7353 Added new property pane for windows (98) Desktop integration
git-svn-id: svn://10.0.0.236/trunk@7488 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 00:05:00 +00:00
law%netscape.com
9bf63f5436 New 'default browser' dialog
git-svn-id: svn://10.0.0.236/trunk@7487 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-07 00:02:46 +00:00
law%netscape.com
c03b26049f More tweaks
git-svn-id: svn://10.0.0.236/trunk@7486 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 23:54:37 +00:00
preed%netscape.com
8d48e7639a addition to code to allow open/closed information on tinderbox pages
(essentially turned this functionality on again). reviewed by ltabb.


git-svn-id: svn://10.0.0.236/trunk@7485 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 23:35:58 +00:00
robinf%netscape.com
6173188e4d Corrected the name of the Show More ISPs button in this help screen; removed author comment from text.
git-svn-id: svn://10.0.0.236/trunk@7483 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 23:23:02 +00:00
robinf%netscape.com
a2463063c4 updated name of this help screen so that it says "Connect to Netscape" instead of "Retrieve Accnt Plan Info".
git-svn-id: svn://10.0.0.236/trunk@7481 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 23:20:10 +00:00
timm%netscape.com
a436acef6b remove busted error logic from error.js
git-svn-id: svn://10.0.0.236/trunk@7480 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 23:18:49 +00:00
akkana%netscape.com
8c3fc93a3c ifdef Ender: calculate row/column size of Ender htmlareas, and put a
frame around embeded editor components.


git-svn-id: svn://10.0.0.236/trunk@7477 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 22:40:24 +00:00
spider%netscape.com
ac2b072cf1 Register the menus
git-svn-id: svn://10.0.0.236/trunk@7476 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 22:02:06 +00:00
spider%netscape.com
54beb36fea Separating out the shellfactory for modularity
git-svn-id: svn://10.0.0.236/trunk@7475 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 21:54:26 +00:00
dcone%netscape.com
b9abec933a updated projects to use static libs
git-svn-id: svn://10.0.0.236/trunk@7474 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 21:53:08 +00:00
dcone%netscape.com
1ffe0d0129 implemented newcwindow
git-svn-id: svn://10.0.0.236/trunk@7473 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 21:51:14 +00:00
dcone%netscape.com
9abd073417 fixed bugs, implemented new window
git-svn-id: svn://10.0.0.236/trunk@7472 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 21:50:56 +00:00
dcone%netscape.com
363d87dd98 fixed some bugs
git-svn-id: svn://10.0.0.236/trunk@7471 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 21:50:30 +00:00
spider%netscape.com
01b8b8e2c9 reordering files to appropriate directories
git-svn-id: svn://10.0.0.236/trunk@7469 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 21:32:49 +00:00
despotdaemon%netscape.com
0e060bf013 Pseudo-automatic update of changes made by dhiren@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@7468 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 21:03:49 +00:00
timm%netscape.com
55301fe6ab move removal of support window to compare page
git-svn-id: svn://10.0.0.236/trunk@7467 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 20:55:40 +00:00
timm%netscape.com
9ffaaca2e8 added code to pull down the support window
git-svn-id: svn://10.0.0.236/trunk@7466 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 20:43:07 +00:00
timm%netscape.com
72cec2c321 added document close call to force pane to clear
git-svn-id: svn://10.0.0.236/trunk@7465 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 20:40:34 +00:00
ramiro%netscape.com
e5e3f5f701 DONT USE C++ COMMENT IN C FILES. Fix bustage.
git-svn-id: svn://10.0.0.236/trunk@7464 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 20:32:12 +00:00
kipp%netscape.com
3ac69641d1 new
git-svn-id: svn://10.0.0.236/trunk@7463 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 20:29:07 +00:00
kipp%netscape.com
9b4b2ca63d Added code to create logging sinks
git-svn-id: svn://10.0.0.236/trunk@7462 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 20:27:57 +00:00
kipp%netscape.com
f2811d2878 Build logging sink
git-svn-id: svn://10.0.0.236/trunk@7461 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 20:27:27 +00:00
pinkerton%netscape.com
69637617ce Fix 2000 link warnings problem caused by including lots o' libraries in this static lib. (rev beard).
git-svn-id: svn://10.0.0.236/trunk@7460 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 20:24:11 +00:00
kin%netscape.com
7563aa1e6a Updated DisplayPixmap() prototype to use PRInt32 to match function definition
in Frame.cpp.


git-svn-id: svn://10.0.0.236/trunk@7459 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 20:12:29 +00:00
kin%netscape.com
e4854ccbe6 Added support for the new HTMLArea form element. All changes are ifdef'd ENDER.
git-svn-id: svn://10.0.0.236/trunk@7458 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 20:10:37 +00:00
blythe%netscape.com
3a1663e603 Fix MOZ_LITE builds busted by previous checkin
git-svn-id: svn://10.0.0.236/trunk@7457 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 20:04:24 +00:00
kipp%netscape.com
30ebba07e7 Landed changes made on branch (bug #312572)
git-svn-id: svn://10.0.0.236/trunk@7456 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 19:52:48 +00:00
toshok%netscape.com
14538a820a actually fix the freebsd conditional.
git-svn-id: svn://10.0.0.236/trunk@7455 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 19:49:15 +00:00
toshok%netscape.com
9744146269 FreeBSD doesn't need (and complains about) -rdynamic
git-svn-id: svn://10.0.0.236/trunk@7454 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 19:48:00 +00:00
norris%netscape.com
14026ac04a Get signed JavaScript working using the non-Java capabilities code.
Also, implement a preference to run only signed JavaScript.


git-svn-id: svn://10.0.0.236/trunk@7453 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 19:46:03 +00:00
norris%netscape.com
a237948169 Add routine to initialize capabilities code.
Code was actually written by raman.


git-svn-id: svn://10.0.0.236/trunk@7452 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 19:41:12 +00:00
karnaze%netscape.com
4e121eb837 implemented border, frameborder attributes in <frameset>
git-svn-id: svn://10.0.0.236/trunk@7451 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 19:40:37 +00:00
rods%netscape.com
b3a1eadaa4 Memory Leak in selection and a crash bug where a stack varible is being deleted.
git-svn-id: svn://10.0.0.236/trunk@7450 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 19:28:44 +00:00
danm%netscape.com
48600d89cf (optionally) include GlowCode lib. a:warren,fur
git-svn-id: svn://10.0.0.236/trunk@7448 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 18:52:34 +00:00
dcone%netscape.com
aa9710597a backed out my changes for mac
git-svn-id: svn://10.0.0.236/trunk@7447 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 18:01:26 +00:00
dcone%netscape.com
b1cb10571b update to new static factory methods.
git-svn-id: svn://10.0.0.236/trunk@7446 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 17:47:55 +00:00
dcone%netscape.com
e4220c7379 update to static library factory methods
git-svn-id: svn://10.0.0.236/trunk@7445 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 17:47:21 +00:00
dcone%netscape.com
d8565d833c update to new static way
git-svn-id: svn://10.0.0.236/trunk@7444 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 17:47:02 +00:00
dcone%netscape.com
01091788dd updated to new factory methods using static libraries
git-svn-id: svn://10.0.0.236/trunk@7443 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 17:45:47 +00:00
dcone%netscape.com
5d0d0ae116 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@7442 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 17:44:43 +00:00
dcone%netscape.com
8ae952d655 Raptor change, worked on factory methods
git-svn-id: svn://10.0.0.236/trunk@7441 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 17:44:15 +00:00
rods%netscape.com
7876bbcfce Commented out the FOCUS event cases, it cleared up several crashes
It's unclear whether we need to notified of these events.


git-svn-id: svn://10.0.0.236/trunk@7440 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 17:23:49 +00:00
donm%netscape.com
3785833de4 FE_Trace needed #ifdef DEBUG wrapper for optimized builds.
git-svn-id: svn://10.0.0.236/trunk@7439 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 16:59:39 +00:00
terry%netscape.com
f242f678bf Patch by Erik Bruchez <Erik.Bruchez@iname.com> -- cope with "-d" in
the modules file.


git-svn-id: svn://10.0.0.236/trunk@7437 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 16:54:50 +00:00
rods%netscape.com
568016a686 Fixed: Links now work.
Fixed: Selection cursor no longer shows when clicking on a link.
(These are the same fixes as Stability branch bugs 312562 and 312563)


git-svn-id: svn://10.0.0.236/trunk@7436 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 16:29:45 +00:00
joki%netscape.com
4c583f107e Fix links not working.
git-svn-id: svn://10.0.0.236/trunk@7433 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 07:55:05 +00:00
ftang%netscape.com
dc9435f1c2 check in viscii unicode conversion table. Thanks for
Thu Nguyen <tnn@neomagic.com> from the net


git-svn-id: svn://10.0.0.236/trunk@7432 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 06:15:27 +00:00
warren%netscape.com
1e9141a534 Removed version of file with name that's too long for the mac.
git-svn-id: svn://10.0.0.236/trunk@7431 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 05:10:35 +00:00
troy%netscape.com
4ea1793e34 Some improvements to the ref counting
git-svn-id: svn://10.0.0.236/trunk@7430 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 05:06:24 +00:00
law%netscape.com
61c35d08cb Updates for Win(98) integration feature (not yet being built)
git-svn-id: svn://10.0.0.236/trunk@7429 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 03:53:29 +00:00
ramiro%netscape.com
25b3a13b12 Change usage of jint to PRint32. Fixes the current unix build bustage.
git-svn-id: svn://10.0.0.236/trunk@7428 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 03:10:34 +00:00
troy%netscape.com
da3ff76116 Fixed shoddy reference counting in FindBrowserFor(), and changed
Destroy() to release references on six widgets


git-svn-id: svn://10.0.0.236/trunk@7426 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 02:21:23 +00:00
spider%netscape.com
f4acade67c Unix fixes
git-svn-id: svn://10.0.0.236/trunk@7425 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 02:16:51 +00:00
troy%netscape.com
aa05f15f17 Added code to Ondestroy() to do an AddRef() before calling DispatchStandardEvent()
and then a Release() afterwards. This ensures the object doesn't get destroyed until
after we've dispatched the event


git-svn-id: svn://10.0.0.236/trunk@7424 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 02:11:43 +00:00
spider%netscape.com
40fdc5ba22 win fix
git-svn-id: svn://10.0.0.236/trunk@7423 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 02:07:49 +00:00
racham%netscape.com
7c3d59e796 Correcting 1step & 2step navigational errors
git-svn-id: svn://10.0.0.236/trunk@7422 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 01:58:14 +00:00
spider%netscape.com
dd5f361b85 Unix updates
git-svn-id: svn://10.0.0.236/trunk@7421 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 01:56:22 +00:00
spider%netscape.com
4357a53292 Add julian dll to list of abstractions
git-svn-id: svn://10.0.0.236/trunk@7420 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 01:55:28 +00:00
rjc%netscape.com
1c0de889c0 File system is now read/write on Mac.
git-svn-id: svn://10.0.0.236/trunk@7418 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 01:36:42 +00:00
radha%netscape.com
8a2d9fdff0 Change usage of jint to PRint32. One of he fixes from the net.
git-svn-id: svn://10.0.0.236/trunk@7417 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 01:31:57 +00:00
kin%netscape.com
497c60823c Modified fe_GravityCorrectForms() to call XtMoveWidget() instead of setting
the widget's x,y values directly. This allows SHACK and ENDER widgets to scroll
with the HTML page.


git-svn-id: svn://10.0.0.236/trunk@7416 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 01:28:53 +00:00
rjc%netscape.com
fa64ddaf6d On remote AFP volumes, don't show invisible files/folders.
git-svn-id: svn://10.0.0.236/trunk@7415 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 01:27:45 +00:00
spider%netscape.com
702a43e7f8 WIP: Menubar and Popup's
git-svn-id: svn://10.0.0.236/trunk@7414 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 01:23:37 +00:00
rjc%netscape.com
2f5b521dac Add some prototypes for Mac, but a bug where "db" was used by not initialied to anything.
git-svn-id: svn://10.0.0.236/trunk@7411 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 01:15:04 +00:00
rjc%netscape.com
3317e1a21f Small changes, including bug fix regarding passed in string being potentially changed.
git-svn-id: svn://10.0.0.236/trunk@7410 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 01:04:20 +00:00
sudu%netscape.com
1119d39d7c Fix to build js classes when NSJVM=1.
git-svn-id: svn://10.0.0.236/trunk@7409 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 01:01:42 +00:00
michaelp%netscape.com
2bba405161 changed to work with stuff on branch.
git-svn-id: svn://10.0.0.236/trunk@7408 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 00:59:11 +00:00
beard%netscape.com
7265fcd8b5 Turning OJI on.
git-svn-id: svn://10.0.0.236/trunk@7406 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-06 00:40:45 +00:00
timm%netscape.com
24a92854b3 renamed and obsoleted
git-svn-id: svn://10.0.0.236/trunk@7405 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 23:50:07 +00:00
timm%netscape.com
ab4db5575a fix anchor ugliness
git-svn-id: svn://10.0.0.236/trunk@7404 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 23:38:32 +00:00
timm%netscape.com
f8d3c63f19 fix ugly buttons
git-svn-id: svn://10.0.0.236/trunk@7403 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 23:35:49 +00:00
racham%netscape.com
0ee27f7629 Added help file 2step mode register page
git-svn-id: svn://10.0.0.236/trunk@7402 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 23:30:52 +00:00
racham%netscape.com
9e9c3fe191 Added help file 1step mode register page
git-svn-id: svn://10.0.0.236/trunk@7401 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 23:30:30 +00:00
racham%netscape.com
570b05cd0a Added help file 2step mode dialinfo page
git-svn-id: svn://10.0.0.236/trunk@7400 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 23:29:28 +00:00
racham%netscape.com
cd33518a06 Added help file 1step mode dialinfo page
git-svn-id: svn://10.0.0.236/trunk@7399 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 23:29:02 +00:00
robinf%netscape.com
46e8d238fb updating terminology to reflect the UI
git-svn-id: svn://10.0.0.236/trunk@7398 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 23:27:24 +00:00
guha%netscape.com
3332ed7459 pop in client
git-svn-id: svn://10.0.0.236/trunk@7397 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 22:47:23 +00:00
guha%netscape.com
ac354900fe pop mail stuff
git-svn-id: svn://10.0.0.236/trunk@7396 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 22:44:29 +00:00
rods%netscape.com
c4b82f67ab Removed debug statement
git-svn-id: svn://10.0.0.236/trunk@7393 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 22:39:02 +00:00
rods%netscape.com
84a20c8618 Additional selection changes
git-svn-id: svn://10.0.0.236/trunk@7392 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 22:38:24 +00:00
pierre%netscape.com
b5b464a381 declared NSGetFactory_WIDGET_DLL() as "C" function (even though it's still out-commented for now)
git-svn-id: svn://10.0.0.236/trunk@7391 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 22:28:37 +00:00
karnaze%netscape.com
ed1560d42a support for frameset cells without frames, fixed nsCSSRendering paint background divide by zero
git-svn-id: svn://10.0.0.236/trunk@7390 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 22:24:56 +00:00
rods%netscape.com
24d1b7f443 Fixed a warning in SelectAll
git-svn-id: svn://10.0.0.236/trunk@7389 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 22:23:03 +00:00
rods%netscape.com
0fdb88d53c Added a new GetWidth that take a nsIDeviceContext
git-svn-id: svn://10.0.0.236/trunk@7388 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 22:21:21 +00:00
kipp%netscape.com
0856501791 Added decls for framesets
git-svn-id: svn://10.0.0.236/trunk@7387 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 22:08:33 +00:00
troy%netscape.com
3b4e4530a6 Added some release calls for mBack, mForward, and mLocation
git-svn-id: svn://10.0.0.236/trunk@7386 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 22:06:58 +00:00
kostello%netscape.com
f7e923f8f1 Transfered CollectAttributes from CNavDTD.cpp -- code which was commented out
as part of a previous checkin


git-svn-id: svn://10.0.0.236/trunk@7385 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 21:50:20 +00:00
dcone%netscape.com
cb0c2c5600 fixed the plugin checkout to pull off of the tip
git-svn-id: svn://10.0.0.236/trunk@7384 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 21:48:44 +00:00
law%netscape.com
5da5e55fa0 I take back what I said about mjudge; he did screw up. But I think I've saved his butt for sure this time.
git-svn-id: svn://10.0.0.236/trunk@7383 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 21:16:55 +00:00
kin%netscape.com
b6a0aff66a Fixed ENDER related compiler warnings.
git-svn-id: svn://10.0.0.236/trunk@7382 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 20:21:43 +00:00
kin%netscape.com
3a5af378fa Added code to define ENDER if MOZ_ENDER is set.
Approved by wtc.


git-svn-id: svn://10.0.0.236/trunk@7381 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 20:21:13 +00:00
kin%netscape.com
77adf03846 Changed C++ comment to C comment.
git-svn-id: svn://10.0.0.236/trunk@7380 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 19:13:08 +00:00
kin%netscape.com
34850048ef Initial check-in of HTMLArea (embedded composer widget) form
element feature. All Ender related code is ifdef'd ENDER.


git-svn-id: svn://10.0.0.236/trunk@7379 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 19:08:58 +00:00
law%netscape.com
6032f49576 doh! mjudge didn't screw up after all. No, I'm not talking about the upcoming nuptials. Turning his /DENDER back on...
git-svn-id: svn://10.0.0.236/trunk@7378 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 19:00:15 +00:00
dfm%netscape.com
a96c4e838d Enabled privacy policies in winfe. Approved: garrett
git-svn-id: svn://10.0.0.236/trunk@7377 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 18:36:32 +00:00
despotdaemon%netscape.com
2e01a7f9c4 Pseudo-automatic update of changes made by martinl@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@7376 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 18:34:15 +00:00
despotdaemon%netscape.com
600d9aac6d Pseudo-automatic update of changes made by martinl@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@7375 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 18:33:23 +00:00
kostello%netscape.com
ae3ac55caa Added GetDepth
git-svn-id: svn://10.0.0.236/trunk@7374 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 18:14:16 +00:00
kostello%netscape.com
9e4dc10edf Added GetDepth method
git-svn-id: svn://10.0.0.236/trunk@7373 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 18:12:41 +00:00
michaelp%netscape.com
11139cfbd9 we now set the correct stretchblt mode. as a result scaled images look a lot sweeter.
git-svn-id: svn://10.0.0.236/trunk@7372 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 18:06:19 +00:00
kmcclusk%netscape.com
fc4129cfcc Really fix IRIX build.
git-svn-id: svn://10.0.0.236/trunk@7371 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 17:56:56 +00:00
kmcclusk%netscape.com
9e179a6c72 Fix for Linux build.
git-svn-id: svn://10.0.0.236/trunk@7370 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 17:32:14 +00:00
dcone%netscape.com
12be85a50e First Checked In.
git-svn-id: svn://10.0.0.236/trunk@7369 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 17:24:06 +00:00
despotdaemon%netscape.com
c95ba78de0 Pseudo-automatic update of changes made by jwz@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@7368 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 17:19:56 +00:00
kmcclusk%netscape.com
7dd69421a1 Fix for animated gifs.
git-svn-id: svn://10.0.0.236/trunk@7367 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 17:06:00 +00:00
dcone%netscape.com
85037cfadf First Checked In.
git-svn-id: svn://10.0.0.236/trunk@7366 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 17:01:56 +00:00
kmcclusk%netscape.com
32b2d94a95 Changed XtSetValues to XtMoveWidget for Scrolling.
git-svn-id: svn://10.0.0.236/trunk@7365 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 16:51:54 +00:00
troy%netscape.com
640244ef6c Changed 8 bit images to use DIB_PAL_COLORS. Also changed it so that
8-bit images aren't dithered to the color cube on a true color device


git-svn-id: svn://10.0.0.236/trunk@7364 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 15:51:31 +00:00
dcone%netscape.com
e329e37de4 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@7363 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 15:44:36 +00:00
troy%netscape.com
55ab0c808f Added GetDepth() member function
git-svn-id: svn://10.0.0.236/trunk@7362 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 15:26:15 +00:00
ramiro%netscape.com
206a86201d Fix the mozilla-motif-export target linking.
git-svn-id: svn://10.0.0.236/trunk@7361 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 15:17:43 +00:00
kmcclusk%netscape.com
cc31f8a99d Changed STATUS_HEIGHT constant for unix. It wasn't big enough.
Left STATUS_HEIGHT as is for windows.


git-svn-id: svn://10.0.0.236/trunk@7360 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 15:11:46 +00:00
jfrancis%netscape.com
466ea47fda First pass of the htmlarea form element, aka Ender. Module owners dagley and brade ok'd.
git-svn-id: svn://10.0.0.236/trunk@7359 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 12:38:53 +00:00
jfrancis%netscape.com
118c97805b First pass of the htmlarea form element for macfe, aka Ender. module owners dagley and brade ok'd.
git-svn-id: svn://10.0.0.236/trunk@7358 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 12:36:53 +00:00
pierre%netscape.com
90847ac95f fix build on Windows and Unix
git-svn-id: svn://10.0.0.236/trunk@7357 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 09:02:52 +00:00
beard%netscape.com
dec5335dea Disabled object stack item caching, as stale cache entries are living longer than the PA_Tags they are associated with. This is the cause of defect ID: 311147 in bugsplat.
git-svn-id: svn://10.0.0.236/trunk@7356 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 09:01:09 +00:00
ftang%netscape.com
9d7c3da55f add viscii to unicode conversion source
thanks Thu Nguyen <tnn@neomagic.com> from the net.


git-svn-id: svn://10.0.0.236/trunk@7355 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 08:45:21 +00:00
pierre%netscape.com
462cbb441c build xpcom as a static lib
git-svn-id: svn://10.0.0.236/trunk@7354 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 08:32:38 +00:00
pierre%netscape.com
e6c188ac32 added "view", "libpref" and "plugin" groups
git-svn-id: svn://10.0.0.236/trunk@7353 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 08:31:41 +00:00
pierre%netscape.com
82e3a8508c added targets to build static libs
git-svn-id: svn://10.0.0.236/trunk@7352 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 08:30:44 +00:00
pierre%netscape.com
e5e43f569f added base64.c to fix Raptor build
git-svn-id: svn://10.0.0.236/trunk@7351 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 08:30:07 +00:00
pierre%netscape.com
1f117b43ba added several files in "base", "events" and "html/document" groups
git-svn-id: svn://10.0.0.236/trunk@7350 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 08:29:20 +00:00
pierre%netscape.com
c752f086bd added nsParserFactory.cpp
git-svn-id: svn://10.0.0.236/trunk@7349 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 08:28:24 +00:00
pierre%netscape.com
5dc5abc3be added the "mac" group
git-svn-id: svn://10.0.0.236/trunk@7348 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 08:27:38 +00:00
pierre%netscape.com
0737abbdec added header files to fix Raptor build
git-svn-id: svn://10.0.0.236/trunk@7347 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 08:26:45 +00:00
pierre%netscape.com
4109c4f50e fixed to compile on Mac
git-svn-id: svn://10.0.0.236/trunk@7346 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 08:26:03 +00:00
pierre%netscape.com
7585290428 removed NS_IMPL_IDS: it moved to nsPref.cpp
git-svn-id: svn://10.0.0.236/trunk@7345 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 08:25:24 +00:00
pierre%netscape.com
f7ba479251 fix build on Mac
git-svn-id: svn://10.0.0.236/trunk@7344 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 08:23:13 +00:00
pierre%netscape.com
e10aa9e151 include nsMacRepository.h
git-svn-id: svn://10.0.0.236/trunk@7343 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 08:22:38 +00:00
pierre%netscape.com
4137a7050a added dozens of missing pure virtual functions
git-svn-id: svn://10.0.0.236/trunk@7342 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 08:21:01 +00:00
pierre%netscape.com
61e1b08588 On Mac only, explicitly create the ImageManagerInit
git-svn-id: svn://10.0.0.236/trunk@7341 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 08:20:01 +00:00
pierre%netscape.com
3d3c42a6c7 renamed NSGetFactory to build on Mac
git-svn-id: svn://10.0.0.236/trunk@7340 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 08:17:06 +00:00
pierre%netscape.com
f3ed50246f added declaration of pure virtual functions to fix build on Mac
git-svn-id: svn://10.0.0.236/trunk@7338 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 08:11:01 +00:00
pierre%netscape.com
97aee721c3 defined MOZ_NGLAYOUT
git-svn-id: svn://10.0.0.236/trunk@7336 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 08:07:39 +00:00
pierre%netscape.com
3fc4edcce4 added nsMacRepository.h
git-svn-id: svn://10.0.0.236/trunk@7335 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 08:06:50 +00:00
pierre%netscape.com
07ee5e3104 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@7334 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 08:06:33 +00:00
pierre%netscape.com
29130e6ef7 fix build errors with Raptor
git-svn-id: svn://10.0.0.236/trunk@7333 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 08:02:20 +00:00
ftang%netscape.com
d2aca792ab check in KOI8-U support for XFE. Thanks
Dmitry Kohmanyuk dk+@ua.net from the net


git-svn-id: svn://10.0.0.236/trunk@7332 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 07:29:55 +00:00
beard%netscape.com
36e48fa33a For OJI, macroized access to LO_BuiltinStruct. Should really put these macros in layout.h.
git-svn-id: svn://10.0.0.236/trunk@7331 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 05:44:47 +00:00
beard%netscape.com
70d4ea64e6 Removed redundant declaration of gForcingRedraw.
git-svn-id: svn://10.0.0.236/trunk@7330 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 05:38:36 +00:00
beard%netscape.com
3b05b85628 Version check breaks HTML dialogs.
git-svn-id: svn://10.0.0.236/trunk@7329 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 05:25:12 +00:00
michaelp%netscape.com
f6f0263fa5 changes for plugins.
git-svn-id: svn://10.0.0.236/trunk@7328 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 04:23:21 +00:00
michaelp%netscape.com
c273de6a07 added tags for plugins.
git-svn-id: svn://10.0.0.236/trunk@7327 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 04:22:51 +00:00
michaelp%netscape.com
80cbe36b7a latest changes to get plugins working...
git-svn-id: svn://10.0.0.236/trunk@7326 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 04:21:36 +00:00
pinkerton%netscape.com
f299f54987 Comment out lines that aren't being used. Also fixes build bustage.
git-svn-id: svn://10.0.0.236/trunk@7325 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 04:07:29 +00:00
morse%netscape.com
e4811f323a fix minor bugs, alphabetize items in cookie viewer lists
git-svn-id: svn://10.0.0.236/trunk@7324 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 03:34:16 +00:00
rickg%netscape.com
945143176c fixed a potential crash in case of empty documents
git-svn-id: svn://10.0.0.236/trunk@7323 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 03:16:51 +00:00
pinkerton%netscape.com
62c171618b Register a bunch of new classes for the new aurora ui.
git-svn-id: svn://10.0.0.236/trunk@7322 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 03:01:02 +00:00
pinkerton%netscape.com
850cfd8fa1 moving CChameleonCaption out to its own class (appr brade).
git-svn-id: svn://10.0.0.236/trunk@7321 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 03:00:31 +00:00
pinkerton%netscape.com
b74f4ec3de Shack stuff.
git-svn-id: svn://10.0.0.236/trunk@7320 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 03:00:13 +00:00
pinkerton%netscape.com
efce6dbe46 Tons of stuff for color and behavior properties.
git-svn-id: svn://10.0.0.236/trunk@7319 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 02:59:42 +00:00
pinkerton%netscape.com
cf147546f6 Implement ListenToMessage and trap the message from the IconCache to call a pure virtual. Means subclasses don't have to override ListenToMessage.
git-svn-id: svn://10.0.0.236/trunk@7318 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 02:59:23 +00:00
pinkerton%netscape.com
a8a0b63ffe REmoved CCaption and added CColorCaption.
git-svn-id: svn://10.0.0.236/trunk@7317 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 02:58:26 +00:00
pinkerton%netscape.com
38ebbe44b8 Rewritten and broken out so that the same base class can be used for both the title strip and the command strip.
git-svn-id: svn://10.0.0.236/trunk@7316 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 02:57:56 +00:00
pinkerton%netscape.com
c5841c0cbd use a constant instead of hard-coded pane id.
git-svn-id: svn://10.0.0.236/trunk@7315 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 02:57:26 +00:00
pinkerton%netscape.com
a44f6a0bd8 sfraser's fix for less flashing when showing a window for the first time.
git-svn-id: svn://10.0.0.236/trunk@7314 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 02:57:06 +00:00
pinkerton%netscape.com
d32cf4e9ea More rewrites for the new UI. Command area, mode switching, colors and behavior properties fully implemented.
git-svn-id: svn://10.0.0.236/trunk@7313 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 02:56:24 +00:00
warren%netscape.com
33abdfdfe3 Removed
git-svn-id: svn://10.0.0.236/trunk@7312 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 02:56:18 +00:00
pinkerton%netscape.com
9b0f6210d7 New suite of CreateHTPane methods to take a variety of parameters.
git-svn-id: svn://10.0.0.236/trunk@7311 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 02:55:38 +00:00
pinkerton%netscape.com
d036475b83 Added a target to DoGetURL so shack can dispatch correctly.
git-svn-id: svn://10.0.0.236/trunk@7310 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 02:55:07 +00:00
warren%netscape.com
b3837b8667 lib/plugin is obsolete -- moved to modules/plugin
git-svn-id: svn://10.0.0.236/trunk@7309 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 02:55:03 +00:00
pinkerton%netscape.com
f4dbc31508 More stuff for RDF properties as well as fixing color parsing.
git-svn-id: svn://10.0.0.236/trunk@7308 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 02:54:32 +00:00
pinkerton%netscape.com
420c492a7e some new traits for Aurora.
git-svn-id: svn://10.0.0.236/trunk@7307 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 02:53:31 +00:00
pinkerton%netscape.com
d2c950ad1d new UI for Aurora (mode switching, command pane).
git-svn-id: svn://10.0.0.236/trunk@7306 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 02:53:18 +00:00
warren%netscape.com
627233819d Added av's changes back in from lib/plugin/npglue.cpp -- Adding sizing feature to the plugin API. Reviewed by Nisheeth.
git-svn-id: svn://10.0.0.236/trunk@7305 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 02:53:11 +00:00
pinkerton%netscape.com
c842c7a21e Updated ctyp's for CRDFCoordinator and created a new one for CBroadcastChameleonCaption
git-svn-id: svn://10.0.0.236/trunk@7304 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 02:52:49 +00:00
pinkerton%netscape.com
dad17cf475 Moving CChameleonCaption to a separate file. (appr brade).
git-svn-id: svn://10.0.0.236/trunk@7303 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 02:52:10 +00:00
pinkerton%netscape.com
5b550b6e3a First Checked In.
git-svn-id: svn://10.0.0.236/trunk@7302 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 02:50:38 +00:00
kin%netscape.com
47af53e22b Fix Linux build bustage when ENDER is defined. Changed C++ comment to C
comment. Approved by nisheeth.


git-svn-id: svn://10.0.0.236/trunk@7301 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 02:41:21 +00:00
spider%netscape.com
febb683597 Minor fix for release builds
git-svn-id: svn://10.0.0.236/trunk@7300 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 02:17:36 +00:00
karnaze%netscape.com
01254d8747 fixed bug when size=0 is specified on form control
git-svn-id: svn://10.0.0.236/trunk@7299 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 02:16:26 +00:00
rickg%netscape.com
8f5813c0a2 WIP for token reduction and a few bug fixes
git-svn-id: svn://10.0.0.236/trunk@7298 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 02:01:44 +00:00
rickg%netscape.com
6355c16731 improved deque API a tad
git-svn-id: svn://10.0.0.236/trunk@7297 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 01:59:34 +00:00
morse%netscape.com
fa337bf2b3 change for anonymous mode, reviewed by dfm
git-svn-id: svn://10.0.0.236/trunk@7296 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 01:49:15 +00:00
morse%netscape.com
80db92eef0 change for anonymous mode
git-svn-id: svn://10.0.0.236/trunk@7295 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 01:47:15 +00:00
kipp%netscape.com
51b373aef4 Added an assertion and a little more debug noise when nspr logging is maxed out
git-svn-id: svn://10.0.0.236/trunk@7294 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 01:43:42 +00:00
kipp%netscape.com
9734b7b092 Use flexible library naming
git-svn-id: svn://10.0.0.236/trunk@7293 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 01:40:20 +00:00
warren%netscape.com
ed2c784ba2 Fixed version umber for js3250.lib.
git-svn-id: svn://10.0.0.236/trunk@7292 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 01:33:36 +00:00
kipp%netscape.com
e940baebe7 Fix windows build to use js3250.dll
git-svn-id: svn://10.0.0.236/trunk@7291 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 01:33:07 +00:00
rickg%netscape.com
c4b5ce8b7d kipps changes
git-svn-id: svn://10.0.0.236/trunk@7290 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 01:31:14 +00:00
ftang%netscape.com
c42af0e216 back up cp9xx table check in rev 3.3 untill more test got perform
git-svn-id: svn://10.0.0.236/trunk@7289 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 01:23:24 +00:00
warren%netscape.com
1a15f88bcf Added include of config.mk so that MOZ_OJI gets defined.
git-svn-id: svn://10.0.0.236/trunk@7288 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 01:19:53 +00:00
warren%netscape.com
3dbe7c3077 Added
git-svn-id: svn://10.0.0.236/trunk@7287 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 00:50:56 +00:00
hyatt%netscape.com
2b64f6786f Improving drag feedback.
git-svn-id: svn://10.0.0.236/trunk@7286 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 00:38:41 +00:00
warren%netscape.com
35941018bd Changes to build with MOZ_OJI, and optionally build NSJVM. Changes to regenerate jar files. Changed version number to 50.
git-svn-id: svn://10.0.0.236/trunk@7285 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 00:36:13 +00:00
kin%netscape.com
009d01704d Fixed build bustage on Linux when ENDER is defined. Replaced C++ comment with
a C comment.


git-svn-id: svn://10.0.0.236/trunk@7284 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-05 00:07:19 +00:00
raman%netscape.com
87bf85eb79 Adde context as argument to all caps public methods that could be used by JS
git-svn-id: svn://10.0.0.236/trunk@7283 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 23:54:29 +00:00
av%netscape.com
4360e22d9b Adding sizing feature to the plugin API. Reviewed by Nisheeth.
git-svn-id: svn://10.0.0.236/trunk@7282 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 23:49:09 +00:00
kin%netscape.com
00a0f2f6d1 Fixed Unix build bustage when ENDER is defined.
Reviewed and approved by brendan.


git-svn-id: svn://10.0.0.236/trunk@7281 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 23:18:10 +00:00
kipp%netscape.com
48351d5ffc Init refcnt for html anchor rules
git-svn-id: svn://10.0.0.236/trunk@7280 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 23:06:39 +00:00
jgellman%netscape.com
49dff19b5f whups! cpp ifdefs aren't the same as nmake ifdefs!
git-svn-id: svn://10.0.0.236/trunk@7279 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 22:59:24 +00:00
jgellman%netscape.com
f89cd110eb link against pop3url.lib if RDF mail is being built
git-svn-id: svn://10.0.0.236/trunk@7278 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 22:58:08 +00:00
waterson%netscape.com
3d8af28698 Added timing for top-level table blockage.
git-svn-id: svn://10.0.0.236/trunk@7277 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 22:56:15 +00:00
waterson%netscape.com
1975e743f5 Added timing/tracking for cache hits.
git-svn-id: svn://10.0.0.236/trunk@7276 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 22:55:25 +00:00
toshok%netscape.com
c6a007a728 Fix problem of alignment inside table cells getting lost. fixes 311994 (www.zdnet.com) and 311983 (www.mozilla.org) initial layout.
git-svn-id: svn://10.0.0.236/trunk@7275 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 22:26:42 +00:00
robinf%netscape.com
16e28d0024 changed title and button names to match UI
git-svn-id: svn://10.0.0.236/trunk@7274 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 21:55:31 +00:00
despotdaemon%netscape.com
ea7619260a Pseudo-automatic update of changes made by ddrinan@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@7273 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 21:55:02 +00:00
saari%netscape.com
b88d0a311b Merging in sfraser's MacMemAllocator changes from 4.5, along with improved MacMemAllocator/cache behavior.
git-svn-id: svn://10.0.0.236/trunk@7272 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 21:50:56 +00:00
troy%netscape.com
cb2e01c0ab Removed some annoying printf messages
git-svn-id: svn://10.0.0.236/trunk@7271 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 21:44:42 +00:00
warren%netscape.com
379619f4e4 Fixed crashes in reporting errors on failure to initialize.
git-svn-id: svn://10.0.0.236/trunk@7269 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 21:37:16 +00:00
radha%netscape.com
e71e2315ba Context menu changes
git-svn-id: svn://10.0.0.236/trunk@7268 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 21:20:45 +00:00
radha%netscape.com
3032438c7d Implement some of the RDFView context menu features.
git-svn-id: svn://10.0.0.236/trunk@7267 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 21:20:13 +00:00
kipp%netscape.com
8c7c80abed Reworked floater handling and sanitized space manager usage
git-svn-id: svn://10.0.0.236/trunk@7266 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 21:18:16 +00:00
kipp%netscape.com
af8125b945 Updates for better floater support
git-svn-id: svn://10.0.0.236/trunk@7265 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 21:17:56 +00:00
kipp%netscape.com
c2e7c19613 Cleanup frame-first-reflow bit
git-svn-id: svn://10.0.0.236/trunk@7264 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 21:17:18 +00:00
kipp%netscape.com
2c1def0a9e snapshot
git-svn-id: svn://10.0.0.236/trunk@7263 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 21:16:58 +00:00
kipp%netscape.com
c63ad2aed0 Tell line layout about floater
git-svn-id: svn://10.0.0.236/trunk@7262 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 21:16:32 +00:00
kipp%netscape.com
f6db301b4d Enable refresh after document is loaded
git-svn-id: svn://10.0.0.236/trunk@7261 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 21:16:13 +00:00
kipp%netscape.com
736e58effc Removed nextid tag
git-svn-id: svn://10.0.0.236/trunk@7260 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 21:14:19 +00:00
ftang%netscape.com
d07b10ac8d these are meaningless check in to attach comment for my last check in.
Accidentally, my last check do not include comment.
Below is the comment for last check in;
Add KOI8-U support for UNIX
Add XP_ASSERT to Unicode converter


git-svn-id: svn://10.0.0.236/trunk@7259 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 21:11:09 +00:00
rods%netscape.com
e197487ae9 Fixed the fix
git-svn-id: svn://10.0.0.236/trunk@7258 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 21:06:35 +00:00
rods%netscape.com
21f2943467 Added a check for a null hWnd on call to ScreenToClient, DESTROY event
can cause wHnd to be null


git-svn-id: svn://10.0.0.236/trunk@7257 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 21:04:02 +00:00
hyatt%netscape.com
440b725854 Fixes for bugs 301228 and 311949. Approved by blythe.
git-svn-id: svn://10.0.0.236/trunk@7256 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 21:00:44 +00:00
ftang%netscape.com
8297ae1a85 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@7255 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 20:53:37 +00:00
ftang%netscape.com
cd1f026c73 Switch to the windows cp9xx Unicode conversion table instead
git-svn-id: svn://10.0.0.236/trunk@7254 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 20:53:11 +00:00
troy%netscape.com
e001e89faa Fixed memory leak (mObservers wasn't being freed)
git-svn-id: svn://10.0.0.236/trunk@7253 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 20:46:00 +00:00
bjorn%netscape.com
30ead9145f Additional xpcom support for JS. Currently not in use by anyone. See MyScriptable.{h,cpp}
for an example of how to use this interface.


git-svn-id: svn://10.0.0.236/trunk@7252 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 20:34:20 +00:00
troy%netscape.com
92be964d2d Moved DoSelectAll() outside of a #ifdef NS_DEBUG
git-svn-id: svn://10.0.0.236/trunk@7251 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 20:04:55 +00:00
waterson%netscape.com
d633694d11 Fixed bustage that I'd missed while merging.
git-svn-id: svn://10.0.0.236/trunk@7250 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 19:44:07 +00:00
rickg%netscape.com
53a4ef4f1e lets try this again
git-svn-id: svn://10.0.0.236/trunk@7249 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 19:38:46 +00:00
waterson%netscape.com
93138f6445 Changes to timing to support clocks. Layout changes approved by toshok, netlib changes approved by gagan.
git-svn-id: svn://10.0.0.236/trunk@7248 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 19:35:56 +00:00
ftang%netscape.com
7b30af3acf Comment out problemtic XP_ASSERT. We should double check editor when we
introduce Thai line breaking into mozill


git-svn-id: svn://10.0.0.236/trunk@7247 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 19:12:42 +00:00
beard%netscape.com
4e7e554922 Added oji[Debug].o static libraries, and access path to find them. Also added LiveConnect[Debug].shlb shared libraries, which are found via the aliases in the client[_debug] build directories.
git-svn-id: svn://10.0.0.236/trunk@7246 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 19:10:16 +00:00
ftang%netscape.com
c644a9b9d9 Correct KOI8-U conversion table and add .ut and .uf file.
Thanks Dmitry Kohmanyuk dk@farm.org from the net. However, we are
not sure the mapping for Bullet is correct.


git-svn-id: svn://10.0.0.236/trunk@7245 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 19:09:29 +00:00
beard%netscape.com
f195af1848 No longer processing mozilla/js/jsj/MANIFEST, which is superseded by mozilla/js/src/liveconnect/MANIFEST.
git-svn-id: svn://10.0.0.236/trunk@7244 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 19:08:47 +00:00
rickg%netscape.com
647cb7ac32 get parser back on line
git-svn-id: svn://10.0.0.236/trunk@7243 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 19:04:14 +00:00
nisheeth%netscape.com
bad06dcb17 Fix for bug 129639: Only add the new linefeed for preformatted text inside
lo_RelayoutTextElements().  This fixes the extra line feeds that were
being generated for regular text.


git-svn-id: svn://10.0.0.236/trunk@7242 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 19:01:27 +00:00
karnaze%netscape.com
45f1e4583c form submission on carriage return in some cases; replaced NS_RELEASE with NS_IF_RELEASE in nsFrame destructor
git-svn-id: svn://10.0.0.236/trunk@7241 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 18:19:51 +00:00
hyatt%netscape.com
871b8909f6 Fixing Windows build bustage.
git-svn-id: svn://10.0.0.236/trunk@7240 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 17:45:56 +00:00
buster%netscape.com
0438f71bc7 removed an overly-aggressive assertion that prevents nested tables from laying out
git-svn-id: svn://10.0.0.236/trunk@7239 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 17:16:56 +00:00
karnaze%netscape.com
b3c9dd780b test9 no longer uses test6
git-svn-id: svn://10.0.0.236/trunk@7238 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 16:57:44 +00:00
rickg%netscape.com
cf891caa2b fixed serious parser bug from earlier today
git-svn-id: svn://10.0.0.236/trunk@7237 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 10:16:09 +00:00
rickg%netscape.com
d9c958d147 minor tweak to remove tabs
git-svn-id: svn://10.0.0.236/trunk@7236 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 10:12:45 +00:00
hyatt%netscape.com
344492bee8 Improvements to the control strip on the nav bar. Fix for the status bar bug
where the status bar isn't taking over the whole area at the bottom like it
should.


git-svn-id: svn://10.0.0.236/trunk@7235 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 08:25:37 +00:00
troy%netscape.com
7fb8a37109 Fixed Win95 transparent image problem
git-svn-id: svn://10.0.0.236/trunk@7234 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 05:24:14 +00:00
dfm%netscape.com
32bdbc5e22 Added ifdefs around morse's single signon calls.
git-svn-id: svn://10.0.0.236/trunk@7233 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 05:15:53 +00:00
michaelp%netscape.com
9fed2ea8af hacks to get the build going on IRIX.
git-svn-id: svn://10.0.0.236/trunk@7232 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 04:57:24 +00:00
warren%netscape.com
07f21d02f5 Added cross-java jar files so we don't have to build them every time.
git-svn-id: svn://10.0.0.236/trunk@7231 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 04:21:00 +00:00
dfm%netscape.com
c8e1dac630 Removed ifdefs from dependency on privacy module.
git-svn-id: svn://10.0.0.236/trunk@7230 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 04:16:53 +00:00
michaelp%netscape.com
2201d863cf fix for unix build.
git-svn-id: svn://10.0.0.236/trunk@7229 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 04:07:59 +00:00
warren%netscape.com
329caf5f7c Added cross-java jar files so we don't have to build them every time.
git-svn-id: svn://10.0.0.236/trunk@7228 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 03:57:46 +00:00
dfm%netscape.com
6c6412630d Fixing build bustage. Removed conditional compilation of privacy.
git-svn-id: svn://10.0.0.236/trunk@7227 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 03:51:01 +00:00
leif
35b2c182d7 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@7226 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 03:50:56 +00:00
michaelp%netscape.com
4cb90a9f6d attempt to fix busted Unix builds...
git-svn-id: svn://10.0.0.236/trunk@7225 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 03:21:43 +00:00
clayton
8249797f6f Fixed relatively stupid error on my part in the avref2berptrptr function.
This broke binary modifies.  Tested fix on Solaris and NT.  Works fine
without leaking memory or dumping core on both platforms.


git-svn-id: svn://10.0.0.236/trunk@7224 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 02:28:12 +00:00
morse%netscape.com
c1ca573fea back out change to fix tree bustage
git-svn-id: svn://10.0.0.236/trunk@7223 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 02:20:15 +00:00
ramiro%netscape.com
f7b46c4dff Fix privacy build bustage.
git-svn-id: svn://10.0.0.236/trunk@7222 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 01:58:43 +00:00
timm%netscape.com
e26eb9ad36 change compServ to .NRS
git-svn-id: svn://10.0.0.236/trunk@7221 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 01:44:37 +00:00
dfm%netscape.com
89354588b2 Added export of laylayer.h, as needed for privacy module.
git-svn-id: svn://10.0.0.236/trunk@7220 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 01:41:21 +00:00
timm%netscape.com
8cf5fc67d1 add call to SetCacheState
git-svn-id: svn://10.0.0.236/trunk@7219 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 01:38:43 +00:00
clu%netscape.com
b28fd3472e changed composer table insert menu items. reviewed by jfrancis.
git-svn-id: svn://10.0.0.236/trunk@7218 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 01:30:13 +00:00
timm%netscape.com
62cf538626 change .IAS to .NRS
git-svn-id: svn://10.0.0.236/trunk@7217 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 01:28:55 +00:00
dfm%netscape.com
4cf65288f8 Removed temporary privacy policy warning dialog.
git-svn-id: svn://10.0.0.236/trunk@7216 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 01:26:57 +00:00
timm%netscape.com
7603b93dec change extension from .IAS to .NRS to avoid conflict with those files
git-svn-id: svn://10.0.0.236/trunk@7215 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 01:24:52 +00:00
clu%netscape.com
54584c9b08 changes to table menu items.
git-svn-id: svn://10.0.0.236/trunk@7214 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 01:24:40 +00:00
dfm%netscape.com
83642a4545 Removed ifdefs from privacy calls. Approved: nisheeth
git-svn-id: svn://10.0.0.236/trunk@7213 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 01:17:43 +00:00
hyatt%netscape.com
0dab428c74 Added control strip, removed selector bar and HTML pane, and added support
for template data fetching from the back end.


git-svn-id: svn://10.0.0.236/trunk@7212 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 01:10:49 +00:00
timm%netscape.com
cc3c8aaae1 change to use compServer
git-svn-id: svn://10.0.0.236/trunk@7211 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 01:06:49 +00:00
timm%netscape.com
d472fba684 add support for cache writethrough
git-svn-id: svn://10.0.0.236/trunk@7210 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 01:06:09 +00:00
timm%netscape.com
79de90379f fix getBrowserVersionNumber
git-svn-id: svn://10.0.0.236/trunk@7209 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 01:05:37 +00:00
timm%netscape.com
6a78520926 fix acctSetupFolder
git-svn-id: svn://10.0.0.236/trunk@7208 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 01:05:22 +00:00
timm%netscape.com
3832c2eff7 add compServer form element
git-svn-id: svn://10.0.0.236/trunk@7207 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 01:04:41 +00:00
timm%netscape.com
d481afb151 change to use compServer not regServer
git-svn-id: svn://10.0.0.236/trunk@7206 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 01:04:19 +00:00
timm%netscape.com
c91fae1434 remove debugging stubs
git-svn-id: svn://10.0.0.236/trunk@7205 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 01:03:49 +00:00
buster%netscape.com
da8f241ef3 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@7204 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 00:58:34 +00:00
buster%netscape.com
e514cbfa57 backed out a mistake from my last checkin. table min sizes are ok again
git-svn-id: svn://10.0.0.236/trunk@7203 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 00:56:57 +00:00
warren%netscape.com
caf7891083 Removed struct/class warning for _jobject.
git-svn-id: svn://10.0.0.236/trunk@7202 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 00:53:49 +00:00
morse%netscape.com
e45542c650 change for anonymous mode
git-svn-id: svn://10.0.0.236/trunk@7201 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 00:51:34 +00:00
preed%netscape.com
e05c2829b5 Added testfailed status; modified gz filenames to add buildates; reviewed
by ltabb.


git-svn-id: svn://10.0.0.236/trunk@7200 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 00:29:17 +00:00
hyatt%netscape.com
a80f62eebb Messed up the names of two properties. Approved by RJC.
git-svn-id: svn://10.0.0.236/trunk@7199 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 00:28:03 +00:00
gagan%netscape.com
54436a0c32 Fix for 309403. Support for WebSTAR FTP server added.
git-svn-id: svn://10.0.0.236/trunk@7198 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 00:24:06 +00:00
kin%netscape.com
0d93b2dba9 Fix for bug crasher bug that occurs when communicator is built with ENDER
defined and a page with a textarea is loaded.
Reviewed and approved by nisheeth.


git-svn-id: svn://10.0.0.236/trunk@7197 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 00:21:36 +00:00
gagan%netscape.com
c96822cc25 Prefetching enabled and architechtural changes put in. Anchor tags for prefetching is deprecated.
git-svn-id: svn://10.0.0.236/trunk@7196 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 00:20:38 +00:00
robinf%netscape.com
49c42adc1e fixed line endings
git-svn-id: svn://10.0.0.236/trunk@7195 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 00:20:24 +00:00
dfm%netscape.com
74c9764f83 Removed MOZ_PRIVACY switch, added MOZ_TRANSACTION_RECEIPTS switch.
Approved: sar


git-svn-id: svn://10.0.0.236/trunk@7194 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 00:20:15 +00:00
dfm%netscape.com
7477ff1f3d Changed name of privacy policy pref. Approved: garrett
git-svn-id: svn://10.0.0.236/trunk@7193 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 00:18:29 +00:00
gagan%netscape.com
43db707ad6 Calling PRE_fetch now. Removed a parameter from Addtoprefetch list. Approved by Nisheeth.
git-svn-id: svn://10.0.0.236/trunk@7192 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 00:18:07 +00:00
vidur%netscape.com
c6800e0a6e Added generation of declaration and forwarding macros. Better handling of families of interfaces.
git-svn-id: svn://10.0.0.236/trunk@7191 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 00:08:29 +00:00
vidur%netscape.com
c6fd3f22ca Added document.forms. Specialized interfaces for images and forms. Better handling of childNodes collection.
git-svn-id: svn://10.0.0.236/trunk@7190 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 00:05:22 +00:00
despotdaemon%netscape.com
2e756b326f Pseudo-automatic update of changes made by preed@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@7189 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-04 00:05:17 +00:00
dfm%netscape.com
a9eb638cb7 Removed ifdefs from inclusion of privacy module. Approved: garrett
git-svn-id: svn://10.0.0.236/trunk@7188 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 23:58:08 +00:00
gagan%netscape.com
c5071756e1 Prefetching changes. Removed pre-fetch values on a per tag basis. Pref is now the max number of docs to prefetch.
git-svn-id: svn://10.0.0.236/trunk@7187 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 23:53:58 +00:00
dfm%netscape.com
3829b4cba0 Removed ifdefs from build of privacy module. Approved: sar
git-svn-id: svn://10.0.0.236/trunk@7186 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 23:44:11 +00:00
hyatt%netscape.com
7c9b9b19ed Added more control strip properties. Approved by RJC.
git-svn-id: svn://10.0.0.236/trunk@7185 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 23:41:58 +00:00
dfm%netscape.com
10ca389632 Removed ifdefs from privacy-policy fields. Approved: gagan
git-svn-id: svn://10.0.0.236/trunk@7184 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 23:39:51 +00:00
rods%netscape.com
d4e21d533b Fixed the release problem on shell and doc and added a default paramenter to
Display Selection


git-svn-id: svn://10.0.0.236/trunk@7183 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 23:39:16 +00:00
dfm%netscape.com
3d03cc7019 Added privacy.warn_no_policy preference; default is off.
git-svn-id: svn://10.0.0.236/trunk@7182 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 23:32:13 +00:00
dfm%netscape.com
d103f8b2d1 Removed ifdefs from netlib privacy-policy code. Approved: gagan
git-svn-id: svn://10.0.0.236/trunk@7181 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 23:29:48 +00:00
troy%netscape.com
220c86b242 Added ASSERT for the case where we get passed a reflow reason of initial
when we've already been reflowed once


git-svn-id: svn://10.0.0.236/trunk@7180 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 23:29:35 +00:00
hyatt%netscape.com
c3e3652fa7 Fixing Mac build bustage. Approved by RJC and Pinkerton.
git-svn-id: svn://10.0.0.236/trunk@7179 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 23:23:30 +00:00
rods%netscape.com
114c8b9669 Added repaint is forced on Select All
git-svn-id: svn://10.0.0.236/trunk@7178 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 23:14:54 +00:00
kmcclusk%netscape.com
a14366b05b Derive nsDeviceContextUnix from nsDeviceContext and removed redudant methods
and fields


git-svn-id: svn://10.0.0.236/trunk@7177 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 23:06:05 +00:00
kmcclusk%netscape.com
1c82fde593 Derived nsDeviceContextUnix from nsDeviceContextImpl and removed redudant
methods + fields.


git-svn-id: svn://10.0.0.236/trunk@7176 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 23:05:13 +00:00
dfm%netscape.com
2af09e7b08 Added fields (removed ifdefs) for privacy policies. Approved: gagan
git-svn-id: svn://10.0.0.236/trunk@7175 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 23:01:13 +00:00
dfm%netscape.com
166afd5dc6 Removed temporary SD macro for privacy policy dialogs.
git-svn-id: svn://10.0.0.236/trunk@7174 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 22:57:37 +00:00
troy%netscape.com
ab3a9de57d Changed rendering context to use stock black brush (this reduces our GDI
usage ever so slightly), and added some XXX comments


git-svn-id: svn://10.0.0.236/trunk@7173 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 22:56:16 +00:00
rods%netscape.com
794fc90afc Small selection fix, force update when frane changes but content stays the same.
git-svn-id: svn://10.0.0.236/trunk@7172 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 22:53:27 +00:00
dfm%netscape.com
c28e6ce625 Added laylayer.h export for privacy module. Approved: nisheeth
git-svn-id: svn://10.0.0.236/trunk@7171 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 22:52:16 +00:00
dfm%netscape.com
071b1bb9ce Added unconditional dependency on privacy module, switch for
MOZ_TRANSACTION_RECEIPTS. Reviewed: nisheeth


git-svn-id: svn://10.0.0.236/trunk@7170 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 22:49:38 +00:00
dfm%netscape.com
fb88cf7972 Added export of laylayer.h for privacy module, even though the Mac build
system is cheating right now and doesn't need it. Reviewed: nisheeth


git-svn-id: svn://10.0.0.236/trunk@7169 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 22:45:14 +00:00
guha%netscape.com
116123ed08 One more small thing in the name of mail
git-svn-id: svn://10.0.0.236/trunk@7168 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 22:38:10 +00:00
rods%netscape.com
cfa99ac119 added select all and fixed the foreground colors for the URL and Status bars
git-svn-id: svn://10.0.0.236/trunk@7167 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 22:32:34 +00:00
hyatt%netscape.com
22d404b970 Added notion of templates to HT. Added several configurable properties.
git-svn-id: svn://10.0.0.236/trunk@7166 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 22:32:19 +00:00
rods%netscape.com
605968f8d8 Add method void nsTextWidget::SubclassWindow(BOOL bState)
and LRESULT CALLBACK nsTextWidget::TextWindowProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
 to filter out the "ding" when the return key is pressed.


git-svn-id: svn://10.0.0.236/trunk@7165 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 22:31:07 +00:00
rods%netscape.com
29c7563ade Implemented SetUpForPaint, but it doesn't do the SetBkMode
git-svn-id: svn://10.0.0.236/trunk@7164 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 22:28:49 +00:00
rods%netscape.com
19959a047b Added the method SetUpForPaint for setting up the proper foreground
and background colors for the WM_CTLCOLORXXXX messages


git-svn-id: svn://10.0.0.236/trunk@7163 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 22:28:00 +00:00
rods%netscape.com
339fff0c28 Added ref counting for nsIContent, made selection rendering changes
git-svn-id: svn://10.0.0.236/trunk@7162 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 22:23:32 +00:00
dfm%netscape.com
7abd0f037e Altered privacy module build to exclude receipt.c unless
MOZ_TRANSACTION_RECEIPTS is set. Reviewed: morse


git-svn-id: svn://10.0.0.236/trunk@7161 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 22:23:10 +00:00
guha%netscape.com
c37fed4be6 More random mail stuff
git-svn-id: svn://10.0.0.236/trunk@7160 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 22:22:40 +00:00
rods%netscape.com
3d6e85a342 Added ref counting for nsIContent and made a a lot of fixes to selection
git-svn-id: svn://10.0.0.236/trunk@7159 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 22:22:27 +00:00
guha%netscape.com
d38f09efa7 Added SMART_MAIL ifdef
git-svn-id: svn://10.0.0.236/trunk@7158 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 22:21:58 +00:00
rods%netscape.com
0ca0bb5fbd Added ref counting on nsIContent and changed select all to only select the body
and it's content


git-svn-id: svn://10.0.0.236/trunk@7157 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 22:21:53 +00:00
rods%netscape.com
b63dfc3b9d Added ref counting on nsIContent
git-svn-id: svn://10.0.0.236/trunk@7156 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 22:20:41 +00:00
guha%netscape.com
04f2e83271 Fix Hyatt's bug + some more
git-svn-id: svn://10.0.0.236/trunk@7155 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 22:20:20 +00:00
rods%netscape.com
6d0e0f6b8c Added ref counting
git-svn-id: svn://10.0.0.236/trunk@7154 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 22:19:40 +00:00
dfm%netscape.com
2765798f81 Created MOZ_TRANSACTION_RECEIPTS ifdef for that frozen feature; removed obsolete
MOZ_PRIVACY. Approved: sar


git-svn-id: svn://10.0.0.236/trunk@7153 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 22:18:53 +00:00
robinf%netscape.com
17be3d57d0 rewording this help screen title
git-svn-id: svn://10.0.0.236/trunk@7152 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 22:18:28 +00:00
robinf%netscape.com
a5fd82f6f0 rewordking the title of thies screen to say "Start Accnt Setup"
git-svn-id: svn://10.0.0.236/trunk@7151 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 22:17:46 +00:00
pierre%netscape.com
d21ba2bc87 updated build log file path for Tinderbox (again)
git-svn-id: svn://10.0.0.236/trunk@7150 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 22:06:56 +00:00
warren%netscape.com
abd529162e Fixed NPP_GetValue signature for new npapi.h header.
git-svn-id: svn://10.0.0.236/trunk@7149 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 21:56:21 +00:00
warren%netscape.com
6f3eccdd4c Removed ifdef NSPR20 for unix text plugin.
git-svn-id: svn://10.0.0.236/trunk@7148 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 21:53:49 +00:00
blythe%netscape.com
638e21f9cb VC6 compatibility, aprv kipp
git-svn-id: svn://10.0.0.236/trunk@7147 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 21:38:59 +00:00
rickg%netscape.com
0609a6954b fixed problem in testCRT. GetUnicode returns a const ptr
git-svn-id: svn://10.0.0.236/trunk@7146 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 21:33:32 +00:00
danm%netscape.com
5748a66d65 adding (optional) glowcode build stuff
git-svn-id: svn://10.0.0.236/trunk@7145 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 21:29:18 +00:00
clu%netscape.com
4d923a4e26 Re-checking in previous changes. Also changed all CCaption objects to LGACaption objects.
git-svn-id: svn://10.0.0.236/trunk@7144 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 21:14:48 +00:00
troy%netscape.com
5b71155170 Added release of throbber in the hopes that this would allow the image
group and hence the image manager to be released, but it doesn't quite do
the trick because the ref count of the throbber is 2...


git-svn-id: svn://10.0.0.236/trunk@7143 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 21:11:22 +00:00
ftang%netscape.com
c84a30b007 add cp936,949,950,932 conversion table based on
ftp://ftp.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS


git-svn-id: svn://10.0.0.236/trunk@7142 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 21:09:36 +00:00
troy%netscape.com
e07f1e5e78 Fixed reference counting of singleton image manager
git-svn-id: svn://10.0.0.236/trunk@7141 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 21:05:36 +00:00
rickg%netscape.com
84cc2596cf major perf changes; a few WIP's
git-svn-id: svn://10.0.0.236/trunk@7140 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 21:04:54 +00:00
timm%netscape.com
0df059b336 123505 fix for NCI files not showing up in pick list
git-svn-id: svn://10.0.0.236/trunk@7139 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 21:04:38 +00:00
rickg%netscape.com
e325840a5d added a few assertions, just to be safe
git-svn-id: svn://10.0.0.236/trunk@7138 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 21:03:49 +00:00
akkana%netscape.com
2703eb7627 Bring Table menu and table properties dialog up to intended 5.0 functionality.
git-svn-id: svn://10.0.0.236/trunk@7137 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 20:51:45 +00:00
akkana%netscape.com
0d4603f2d4 Add new option menu convenience routine: fe_get_current_attribute_option
git-svn-id: svn://10.0.0.236/trunk@7136 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 20:49:30 +00:00
akkana%netscape.com
94099529c0 fix a warning
git-svn-id: svn://10.0.0.236/trunk@7135 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 20:48:21 +00:00
rickg%netscape.com
b8cd75c6bf major upgrade to string class implementation
git-svn-id: svn://10.0.0.236/trunk@7134 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 20:46:38 +00:00
law%netscape.com
bc049a77b2 Windows(98) integration feature
git-svn-id: svn://10.0.0.236/trunk@7133 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 20:33:38 +00:00
buster%netscape.com
ef08d853f8 fixed this case: (an image tag with no width attribute) inside (a specified-width column) inside
(a nested table with specified width) inside (an auto-width column)
inside (a specified-width table).  Got that?
The problem was that we we not setting state correctly during incremental reflow
when the image returned its proper metrics after giving default metrics that
were for its ALT text.


git-svn-id: svn://10.0.0.236/trunk@7132 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 20:27:59 +00:00
law%netscape.com
20f0381b2d Fixing res problem on Windows95-98
git-svn-id: svn://10.0.0.236/trunk@7131 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 20:24:45 +00:00
scc%netscape.com
bba26953c4 Oops. since build_project is no longer AppleScript, "false" should be 0. That's why we were building too often.
git-svn-id: svn://10.0.0.236/trunk@7130 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 20:20:53 +00:00
leif
260b4cb667 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@7129 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 19:25:03 +00:00
leif
e6867c039a Now handles no extra arguments, and also weird arguments like \@foo.
git-svn-id: svn://10.0.0.236/trunk@7128 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 19:23:01 +00:00
kipp%netscape.com
d72db37d83 Fixed reference counting bugs with OPTION tag handling
git-svn-id: svn://10.0.0.236/trunk@7127 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 19:21:26 +00:00
karnaze%netscape.com
6e825c79fc fixed bug where <select> assummed all children were <option>s
git-svn-id: svn://10.0.0.236/trunk@7126 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 19:04:55 +00:00
pierre%netscape.com
b24dcd399e updated build log file path for Tinderbox
git-svn-id: svn://10.0.0.236/trunk@7125 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 18:44:01 +00:00
kostello%netscape.com
e2862d846d First Checked In.
git-svn-id: svn://10.0.0.236/trunk@7124 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 18:37:30 +00:00
kipp%netscape.com
285d26c57c Undid previous change because it didn't work right (doh)
git-svn-id: svn://10.0.0.236/trunk@7123 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 18:12:42 +00:00
kipp%netscape.com
85bb024632 Disable VerifyTree for now
git-svn-id: svn://10.0.0.236/trunk@7122 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 18:12:13 +00:00
kipp%netscape.com
7240e492ab Normalized style tag handling
git-svn-id: svn://10.0.0.236/trunk@7121 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 18:10:43 +00:00
buster%netscape.com
ca7239e43e HR's min width is its specified width, if there is one.
Otherwise, it's one pixel for "springy-ness"


git-svn-id: svn://10.0.0.236/trunk@7120 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 17:17:50 +00:00
kipp%netscape.com
0e73ea661f Stub out VerifyTree to avoid crashes; remove List methods and add in ListTag methods so that listings look better
git-svn-id: svn://10.0.0.236/trunk@7119 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 17:09:37 +00:00
kipp%netscape.com
b55b6911f1 Pre-size the text-run array to reduce the number of malloc/free's
git-svn-id: svn://10.0.0.236/trunk@7118 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 17:08:57 +00:00
kipp%netscape.com
4346e26007 Added finer grained DidReflow code and then disabled it until we solve the nested view x,y problem
git-svn-id: svn://10.0.0.236/trunk@7117 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 17:07:44 +00:00
kipp%netscape.com
e3c9c8ed12 Use FirstChild method so that implementation can be reused by subclasses
git-svn-id: svn://10.0.0.236/trunk@7116 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 17:06:42 +00:00
hshaw%netscape.com
07133ba64f DEBUG_hshaw ifdef for splash window
git-svn-id: svn://10.0.0.236/trunk@7115 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 12:54:30 +00:00
ramiro%netscape.com
0bad008399 Rename mkicons.c to mkicons.cpp. Needs to be built with c++ because of libimg
dependancy.  Libimg has recently been "improved" by being made c++ only.


git-svn-id: svn://10.0.0.236/trunk@7114 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 08:32:31 +00:00
leif
24d0734ea9 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@7113 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 08:12:21 +00:00
ramiro%netscape.com
8f48ba05ed Make it work with optimized builds.
git-svn-id: svn://10.0.0.236/trunk@7112 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 08:06:17 +00:00
leif
c67cf143ce *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@7111 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 07:54:08 +00:00
leif
899881af79 First version, mainly ported to the new API. Also merged in some code from
LdapUtils.pm so that this file is more self sustained.


git-svn-id: svn://10.0.0.236/trunk@7110 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 07:53:31 +00:00
leif
d578a728de Fixed the modifyRDN function.
git-svn-id: svn://10.0.0.236/trunk@7109 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 07:50:54 +00:00
leif
60dcbee3be Removed the DESTROY method.
git-svn-id: svn://10.0.0.236/trunk@7108 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 06:58:21 +00:00
leif
52f1012d17 * Added getLD() function.
* Fixed the getErrorCode() function, and added support for (optionally)
retrieving the match and extra error strings.

* Fixed reference bug in the add() method.


git-svn-id: svn://10.0.0.236/trunk@7107 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 06:58:01 +00:00
leif
7e12448830 Fixed the ldap_get_lderrno() function so that it now supports:
ldap_get_lderrno($ld, undef, undef);
ldap_get_lderrno($ld, \$match, undef);
ldap_get_lderrno($ld, undef, \$msg);
ldap_get_lderrno($ld, \$match, \$msg);


I think this should work ok, but a code review is probably a good idea.


git-svn-id: svn://10.0.0.236/trunk@7106 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 06:53:23 +00:00
ramiro%netscape.com
7324202ecb Deal with common pixel/pixmap/sensitive resources in SetValues().
git-svn-id: svn://10.0.0.236/trunk@7105 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 06:52:06 +00:00
ramiro%netscape.com
9452a0966b Change XfeManagerApply() so it can conditionaly deal with private components.
git-svn-id: svn://10.0.0.236/trunk@7104 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 06:51:37 +00:00
ramiro%netscape.com
6d688e1f6c Fix a SetValues() bug. XfePrimitive was not responding to changes in
XmNbackground.  Geez, unbelievably, no bitched about it before.


git-svn-id: svn://10.0.0.236/trunk@7103 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 06:48:31 +00:00
ramiro%netscape.com
22813daadf Add _XfeManagerPropagateSetValues().
git-svn-id: svn://10.0.0.236/trunk@7102 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 06:45:15 +00:00
ramiro%netscape.com
6c58d6a8ed Fix a typo.
git-svn-id: svn://10.0.0.236/trunk@7101 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 06:42:44 +00:00
ramiro%netscape.com
3a28cc4a40 Change top/bottom shadow change detection order. yes, im anal.
git-svn-id: svn://10.0.0.236/trunk@7100 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 06:42:31 +00:00
nisheeth%netscape.com
7ad3e20406 Fix for bug# 301664.
We needed to initialize the LO_CELL element's pointers
to table state inside lo_SquishSubDocToCell().  The LO_CELL element in this function
is used to hold the contents of a <CAPTION> tag and does not have a peer lo_TableCell
structure.  The uninitialized pointers to table state in this element get dereferenced
when the table is freed and cause the app to crash.  Initializing the pointers fixes
the crash.


git-svn-id: svn://10.0.0.236/trunk@7099 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 06:41:58 +00:00
ramiro%netscape.com
67b18412ef Get editres working again.
git-svn-id: svn://10.0.0.236/trunk@7098 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 06:38:48 +00:00
troy%netscape.com
8128f46778 Added #include of "ns_util.h"
git-svn-id: svn://10.0.0.236/trunk@7097 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 05:34:28 +00:00
troy%netscape.com
c9a599ad14 More work in progress for palette support
git-svn-id: svn://10.0.0.236/trunk@7096 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 05:32:52 +00:00
troy%netscape.com
40d67100a8 Work in progress for Windows palette support
git-svn-id: svn://10.0.0.236/trunk@7095 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 05:24:59 +00:00
troy%netscape.com
7332039d2d API changes to how an image group context is created
git-svn-id: svn://10.0.0.236/trunk@7094 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 05:10:14 +00:00
troy%netscape.com
33c952da3a API changes to image group
git-svn-id: svn://10.0.0.236/trunk@7093 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 04:55:21 +00:00
troy%netscape.com
83ab7dd4d9 Image group now holds a reference to a nsIDeviceContext and not a
nsIRenderingContext. Optimize() member function of nsIImage changed
to take a nsIDeviceContext


git-svn-id: svn://10.0.0.236/trunk@7092 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 04:53:25 +00:00
troy%netscape.com
6334db57d5 Device context changes
git-svn-id: svn://10.0.0.236/trunk@7091 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 04:51:17 +00:00
leif
6b401b57b8 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@7090 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 04:26:32 +00:00
clayton
62ace165eb Whoops...These files were last checked in after editing in VIM under NT.
Usually VIM detects UNIX format files (LF), but this time it seems to have
used CR/LF.  I've fixed this problem and checked in working versions.


git-svn-id: svn://10.0.0.236/trunk@7089 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 02:35:26 +00:00
guha%netscape.com
70a36f7935 Fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@7088 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 01:39:03 +00:00
clayton
66d925b4d9 Updated version number to 1.00 to prepare for release version. Still need
to add 'all' to the EXPORT_TAGS and test.


git-svn-id: svn://10.0.0.236/trunk@7087 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 00:29:25 +00:00
clayton
de4c7422a6 Makefile.PL - Changed it quite a bit. Asks less stupid questions...now works
with LDAPv2 and LDAPv3 SDKs.

README - Write a skeleton version.  Needs lots of work.


git-svn-id: svn://10.0.0.236/trunk@7086 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 00:27:51 +00:00
clayton
a2a6dea886 API.xs - Added missing functions (bind/bind_s)
api.pl - Made a few misc changes...minor... (removed system calls/fixed rebind)

constant.h - Completely changed this file to streamline response.
    Might still want to move SUCCESS, SCOPE, and a few others out of the
    new switch/case thing.


git-svn-id: svn://10.0.0.236/trunk@7085 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 00:26:38 +00:00
toshok%netscape.com
378c43d6cc Support JavaScript version 1.4. Patch by Mike Shaver <shaver@netscape.com>
git-svn-id: svn://10.0.0.236/trunk@7084 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-03 00:11:24 +00:00
troy%netscape.com
1c6314ed8a Fixed some ref counting problems with the nsIImage
git-svn-id: svn://10.0.0.236/trunk@7083 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-02 17:04:53 +00:00
troy%netscape.com
dcdf341134 Added NS_IF_RELEASE of mImage
git-svn-id: svn://10.0.0.236/trunk@7082 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-02 17:03:08 +00:00
joki%netscape.com
2a080256d0 Fix bug 311157, mouseover crashes release builds.
git-svn-id: svn://10.0.0.236/trunk@7081 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-02 04:15:08 +00:00
michaelp%netscape.com
df05d6f25f additional plugins work.
git-svn-id: svn://10.0.0.236/trunk@7080 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-02 03:20:22 +00:00
shaver%netscape.com
4d73b7f9f2 forgot to add NPL (bad Mike\!)
git-svn-id: svn://10.0.0.236/trunk@7079 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 23:56:38 +00:00
guha%netscape.com
7413297e63 Additions for pop mail based on shack.
ifdefed out.


git-svn-id: svn://10.0.0.236/trunk@7078 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 23:18:26 +00:00
guha%netscape.com
c8c9d707e9 Additions for Pop mail. Approved by Judson.
(ifdefed out)


git-svn-id: svn://10.0.0.236/trunk@7077 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 23:17:45 +00:00
michaelp%netscape.com
2a2636582a another hack to get Unix to be happy.
git-svn-id: svn://10.0.0.236/trunk@7076 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 23:02:14 +00:00
michaelp%netscape.com
8573e8fcd1 added CheckFontExistence().
git-svn-id: svn://10.0.0.236/trunk@7075 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 22:29:55 +00:00
michaelp%netscape.com
8e72cf5556 more unix hackery...
git-svn-id: svn://10.0.0.236/trunk@7074 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 22:23:35 +00:00
michaelp%netscape.com
3a0d81fb4e tiny change to see if the unix build will come back to life.
git-svn-id: svn://10.0.0.236/trunk@7073 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 22:19:05 +00:00
michaelp%netscape.com
33c7c278ac changed to see if unix build might work again.
git-svn-id: svn://10.0.0.236/trunk@7072 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 22:17:29 +00:00
michaelp%netscape.com
27433a2ce4 fixed IRIX build problem.
git-svn-id: svn://10.0.0.236/trunk@7071 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 21:56:24 +00:00
michaelp%netscape.com
c4bd8ca7d5 got the plugin code off the OJI branch.
git-svn-id: svn://10.0.0.236/trunk@7069 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 21:41:56 +00:00
michaelp%netscape.com
eda302622f added docs for function.
git-svn-id: svn://10.0.0.236/trunk@7068 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 21:37:40 +00:00
michaelp%netscape.com
15e34a049a added font existence API.
git-svn-id: svn://10.0.0.236/trunk@7067 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 21:36:05 +00:00
law%netscape.com
4a20761ebc Still cleaning up after mjudge (just touching cxpane.cpp to force it to be recompiled)
git-svn-id: svn://10.0.0.236/trunk@7066 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 21:13:16 +00:00
law%netscape.com
b0e78cde31 Undoing mjudge's last screwup as a single man
git-svn-id: svn://10.0.0.236/trunk@7065 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 20:35:58 +00:00
buster%netscape.com
a228539105 made auto-width tables that have all-fixed-width columns act like
fixed-width tables.


git-svn-id: svn://10.0.0.236/trunk@7064 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 20:31:40 +00:00
joki%netscape.com
f6fc5baf9a Adding submit and reset events
git-svn-id: svn://10.0.0.236/trunk@7063 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 20:30:11 +00:00
shaver%netscape.com
8899f4d056 added JSVERSION_1_4, removed prconv.sed NULs
git-svn-id: svn://10.0.0.236/trunk@7062 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 19:52:50 +00:00
shaver%netscape.com
e450ec31e8 added JSVersion JSVERSION_1_4
git-svn-id: svn://10.0.0.236/trunk@7061 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 19:43:23 +00:00
mjudge%netscape.com
ad6622db39 turning on ENDER father forgive me. if this is bad, backout this mozilla.mak change only please
git-svn-id: svn://10.0.0.236/trunk@7060 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 19:32:58 +00:00
mjudge%netscape.com
8204439408 one more fix to default to treeview in builtin
git-svn-id: svn://10.0.0.236/trunk@7059 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 19:29:51 +00:00
mjudge%netscape.com
c74c65c72f left builtin to default to treeview
git-svn-id: svn://10.0.0.236/trunk@7058 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 19:29:02 +00:00
mjudge%netscape.com
34cdc9e40d font fix and kill focus problem correction for toolbars. long live ender
git-svn-id: svn://10.0.0.236/trunk@7057 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 19:26:52 +00:00
mjudge%netscape.com
f97a76b68d Font correction.
git-svn-id: svn://10.0.0.236/trunk@7056 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 19:13:31 +00:00
law%netscape.com
3039c74045 mozprobe feature (approved by blythe/don); mozprobe.dll implementation, plus C/C++ test programs
git-svn-id: svn://10.0.0.236/trunk@7055 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 19:12:04 +00:00
shaver%netscape.com
eedb2202bc added XMLGraph and XMLParser JS/XML glue
git-svn-id: svn://10.0.0.236/trunk@7054 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 19:08:05 +00:00
law%netscape.com
8f1df79429 mozprobe feature (approved by blythe/don); Add code to process mozprobe IPC requests
git-svn-id: svn://10.0.0.236/trunk@7053 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 19:05:02 +00:00
law%netscape.com
8a8a4a5267 mozprobe feature (approved by blythe/don); expose ProcessIPCRequst even without mail/news
git-svn-id: svn://10.0.0.236/trunk@7052 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 19:01:55 +00:00
law%netscape.com
85c7d17a0d mozprobe feature (approved by blythe/don); interface to mozprobe.dll
git-svn-id: svn://10.0.0.236/trunk@7051 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 19:00:03 +00:00
morse%netscape.com
d0d981bccf change tutorial http address to inside the firewall
git-svn-id: svn://10.0.0.236/trunk@7050 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 17:02:14 +00:00
morse%netscape.com
b62ce08b4f backing out change
git-svn-id: svn://10.0.0.236/trunk@7049 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 16:09:55 +00:00
morse%netscape.com
37ca678ba8 backing out change to fix build bustage
git-svn-id: svn://10.0.0.236/trunk@7048 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 16:08:35 +00:00
morse%netscape.com
4930ad811a fix build bustage
git-svn-id: svn://10.0.0.236/trunk@7047 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 15:56:23 +00:00
morse%netscape.com
2806f82fc9 changes for anonymous mode, reviewed by rdf
git-svn-id: svn://10.0.0.236/trunk@7046 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 15:00:35 +00:00
morse%netscape.com
90f4be2d7b change for anonymous mode, reviewed by nisheeth
git-svn-id: svn://10.0.0.236/trunk@7045 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 14:55:14 +00:00
morse%netscape.com
1f93fdf7b6 change for anonymous mode, reviewed by valeski
git-svn-id: svn://10.0.0.236/trunk@7044 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 14:52:41 +00:00
morse%netscape.com
49fca03352 changes for anonymous mode, reviewed by valeski
git-svn-id: svn://10.0.0.236/trunk@7043 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 14:51:15 +00:00
morse%netscape.com
3fd68b1053 add routines needed for anonymous mode
git-svn-id: svn://10.0.0.236/trunk@7042 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 14:48:51 +00:00
morse%netscape.com
e44920ed5d add field needed for anonymous mode
git-svn-id: svn://10.0.0.236/trunk@7041 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 14:47:43 +00:00
wtc%netscape.com
04cef24c72 Backed out accidental check-in from OJI branch merge.
git-svn-id: svn://10.0.0.236/trunk@7040 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 14:35:39 +00:00
ftang%netscape.com
debf18bbba correct typo in the resource name
git-svn-id: svn://10.0.0.236/trunk@7039 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 09:19:53 +00:00
ftang%netscape.com
8b84cabf97 Add Thai Unicode conersion table for Mac
git-svn-id: svn://10.0.0.236/trunk@7038 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 09:18:28 +00:00
ftang%netscape.com
38fcda1489 add macthai.uf and macthai.ut which build based on
ftp://ftp.unicode.org/Public/MAPPINGS/VENDORS/APPLE/THAI.TXT
dated Feb 6,1998


git-svn-id: svn://10.0.0.236/trunk@7037 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 09:13:51 +00:00
rpotts%netscape.com
fe90fe64c6 Disable NET_PollSockets(...) optimization until it works correctly...
git-svn-id: svn://10.0.0.236/trunk@7036 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 09:13:20 +00:00
ftang%netscape.com
9eada2ea36 Check in new cp874.ut cp874.uf based on the one which include EURO sign.
The source is posted in ftp://ftp.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/PC/CP874.TXT
and date as Apr 15, 1998 by cpxlate@microsoft.com


git-svn-id: svn://10.0.0.236/trunk@7035 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 09:04:33 +00:00
ftang%netscape.com
bd5bbb0616 add Unicode conversion table for Thai
git-svn-id: svn://10.0.0.236/trunk@7034 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 08:46:02 +00:00
ftang%netscape.com
450443c152 Make the table easier to change and read.
git-svn-id: svn://10.0.0.236/trunk@7033 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 08:03:19 +00:00
ftang%netscape.com
318d37b780 Check in submit by Samphan Raruenrom <samphan@email.ksc.net> for Thai support.
git-svn-id: svn://10.0.0.236/trunk@7032 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 07:53:24 +00:00
ftang%netscape.com
4cb0b7d10c Check in submit by Samphan Raruenrom <samphan@email.ksc.net> for Thai languages
git-svn-id: svn://10.0.0.236/trunk@7031 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 07:52:36 +00:00
ftang%netscape.com
8cdb0ab306 Check in changes for Thai WinFE UI changes. Approved by Garrett Blythe
submitted by samphan@email.ksc.net (with slight changes)


git-svn-id: svn://10.0.0.236/trunk@7030 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 07:49:21 +00:00
ftang%netscape.com
412d0bb646 Check in change to make it easier to do different line breaking.
Prepare for Thai line break to land. approved by thshok


git-svn-id: svn://10.0.0.236/trunk@7029 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 07:44:33 +00:00
ftang%netscape.com
556baa99b8 Add NPL to file in fromftp .
Check in unicode table submit by chenxy@sun.ihep.ac.cn


git-svn-id: svn://10.0.0.236/trunk@7028 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 07:42:06 +00:00
ftang%netscape.com
47ff0d6d0d check in the changes in 3.4 again after teh tree is green
git-svn-id: svn://10.0.0.236/trunk@7027 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 07:35:18 +00:00
rpotts%netscape.com
1c2b66d0d1 Added a new test for the raptorweb.dll COM factory. This is WIN32 only
git-svn-id: svn://10.0.0.236/trunk@7026 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 06:48:28 +00:00
rpotts%netscape.com
99f9d9ce10 Added support (on WIN32 only) for the raptorweb.dll to be a COM component...
git-svn-id: svn://10.0.0.236/trunk@7025 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 06:46:38 +00:00
rpotts%netscape.com
05ff888e16 Added check to see if DocLoader exists before dereferencing the pointer...
git-svn-id: svn://10.0.0.236/trunk@7024 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 06:45:43 +00:00
mjudge%netscape.com
b611fe765a Ender checkins got Nisheeth's approval. whew last one
git-svn-id: svn://10.0.0.236/trunk@7023 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 06:18:19 +00:00
mjudge%netscape.com
9f99464fef Damn almost let that one by.
git-svn-id: svn://10.0.0.236/trunk@7022 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 06:16:47 +00:00
mjudge%netscape.com
f6972e7936 Ender checkins got Nisheeth's approval.
git-svn-id: svn://10.0.0.236/trunk@7021 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 06:14:59 +00:00
mjudge%netscape.com
446b48f5ce Error if ENDER turned on. inside ifdef
git-svn-id: svn://10.0.0.236/trunk@7020 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 06:09:47 +00:00
mjudge%netscape.com
fc954d3e8a Ender checkins got Nisheeth's approval.
git-svn-id: svn://10.0.0.236/trunk@7019 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 06:08:32 +00:00
michaelp%netscape.com
c16cdc6288 plugin changes.
git-svn-id: svn://10.0.0.236/trunk@7018 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 05:47:53 +00:00
michaelp%netscape.com
fcde59601b turned on plugins.
git-svn-id: svn://10.0.0.236/trunk@7017 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 05:47:34 +00:00
michaelp%netscape.com
0d0da6883a changes for plugins.
git-svn-id: svn://10.0.0.236/trunk@7016 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 05:47:19 +00:00
michaelp%netscape.com
eaa37a2444 changes for plugin support.
git-svn-id: svn://10.0.0.236/trunk@7015 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 05:46:47 +00:00
pierre%netscape.com
bb5be67502 Changed to the log filename to "Mozilla.BuildLog" as required by the Tinderbox script.
git-svn-id: svn://10.0.0.236/trunk@7014 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 02:37:32 +00:00
buster%netscape.com
e8a410eac4 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@7013 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 02:36:31 +00:00
buster%netscape.com
66c58fcd10 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@7012 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 02:32:27 +00:00
buster%netscape.com
7a18ab6e6c fixed cases where we were not computing the table width correctly
fixed cases where we were inappropriately portioning out
a spanning cell's min width to the columns it spanned.


git-svn-id: svn://10.0.0.236/trunk@7011 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 02:31:55 +00:00
buster%netscape.com
c5e030feb0 fixed a memory leak on a style context
git-svn-id: svn://10.0.0.236/trunk@7010 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 02:30:35 +00:00
spider%netscape.com
86ede49e0d Prefs support
git-svn-id: svn://10.0.0.236/trunk@7009 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 01:43:57 +00:00
peterl%netscape.com
da229082e2 sync to new unit conversion functions
git-svn-id: svn://10.0.0.236/trunk@7008 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 01:08:36 +00:00
warren%netscape.com
3aa25d856d Added compile of base for mozilla.
git-svn-id: svn://10.0.0.236/trunk@7007 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 01:01:27 +00:00
peterl%netscape.com
59508a6259 re-added backed-out changes
git-svn-id: svn://10.0.0.236/trunk@7006 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 00:56:28 +00:00
despotdaemon%netscape.com
7431dbd43b Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@7005 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 00:42:01 +00:00
warren%netscape.com
f7983eaff1 removed jsj for MOZ_JAVA
git-svn-id: svn://10.0.0.236/trunk@7004 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-01 00:03:31 +00:00
donm%netscape.com
fd2f6646d6 backing out changes made while trying to land OJI.
git-svn-id: svn://10.0.0.236/trunk@7003 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 23:58:26 +00:00
warren%netscape.com
e5b5100917 Stubbed out nsZig.c
git-svn-id: svn://10.0.0.236/trunk@7002 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 23:58:02 +00:00
beard%netscape.com
827e053795 For OJI landing, changed access paths from mozila/lib/plugin to mozilla/modules/plugin/src, added Caps[Debug].o static libraries.
git-svn-id: svn://10.0.0.236/trunk@7001 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 23:49:49 +00:00
warren%netscape.com
51701bcb12 Changes from OJI_19980727_BRANCH since the OJI_19980727_TIP_MERGE tag.
git-svn-id: svn://10.0.0.236/trunk@7000 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 23:41:45 +00:00
peterl%netscape.com
ac2ec1a340 rounding support
git-svn-id: svn://10.0.0.236/trunk@6999 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 23:34:45 +00:00
michaelp%netscape.com
2f0ac5c990 Fixed Raptor build bustage caused by the OJI landing...
git-svn-id: svn://10.0.0.236/trunk@6997 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 23:32:08 +00:00
peterl%netscape.com
ad487cbb39 replaced macros with inline functions
git-svn-id: svn://10.0.0.236/trunk@6996 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 23:27:36 +00:00
warren%netscape.com
cf5f61ee24 Fixed mysterious c++ name mangling problem.
git-svn-id: svn://10.0.0.236/trunk@6995 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 23:19:02 +00:00
warren%netscape.com
f0afa16a2f Added plugin dir
git-svn-id: svn://10.0.0.236/trunk@6994 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 23:14:42 +00:00
peterl%netscape.com
1f85b02bec temporarily removed CvtURL test to fix build
git-svn-id: svn://10.0.0.236/trunk@6993 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 22:56:02 +00:00
donm%netscape.com
51f1a96c5d backing out change made during OJIcarpool.
git-svn-id: svn://10.0.0.236/trunk@6992 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 22:54:04 +00:00
joki%netscape.com
e21130395e Change AddScriptListener call to get EventManager from window, not tag content
git-svn-id: svn://10.0.0.236/trunk@6991 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 22:53:00 +00:00
thom%netscape.com
1040fc9cbe Added new domDebug.slib target. Envolved added a bunch of shared libraries, but only for that target. Also added all the DOM files that weren't in the project previously and grouped them. This change was for ALL targets.
git-svn-id: svn://10.0.0.236/trunk@6990 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 22:49:58 +00:00
warren%netscape.com
a8abe80143 Added plugimpl include path (even though it's the current dir) to fix irix breakage.
git-svn-id: svn://10.0.0.236/trunk@6989 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 22:49:31 +00:00
warren%netscape.com
972b565f31 Added caps
git-svn-id: svn://10.0.0.236/trunk@6988 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 22:43:05 +00:00
kmcclusk%netscape.com
bdae8e6b98 Removed call to XtMoveWidget since this breaks the IRIX build.
git-svn-id: svn://10.0.0.236/trunk@6987 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 22:36:54 +00:00
warren%netscape.com
48bb689076 fixed irix -rdynamic (again)
git-svn-id: svn://10.0.0.236/trunk@6986 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 22:25:23 +00:00
joki%netscape.com
ddaa767e02 Filling out document event handlers, adding form events
git-svn-id: svn://10.0.0.236/trunk@6985 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 22:09:51 +00:00
joki%netscape.com
741dfdf08c Adding form events in, filling out window event handling code.
git-svn-id: svn://10.0.0.236/trunk@6984 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 22:09:03 +00:00
thom%netscape.com
3ffd801f50 Added MOZ_NGLAYOUT. This had better not effect any other platforms or we're doomed.
git-svn-id: svn://10.0.0.236/trunk@6983 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 22:08:15 +00:00
joki%netscape.com
2cccada0d4 More new event types
git-svn-id: svn://10.0.0.236/trunk@6981 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 22:01:42 +00:00
warren%netscape.com
5e49404e07 Removed build of java classes.
git-svn-id: svn://10.0.0.236/trunk@6980 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 21:54:16 +00:00
warren%netscape.com
07bd30dde7 removed bad rules from old ns tree
git-svn-id: svn://10.0.0.236/trunk@6979 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 21:38:13 +00:00
kmcclusk%netscape.com
a2f786f21a Removed debug output.
git-svn-id: svn://10.0.0.236/trunk@6978 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 21:37:51 +00:00
warren%netscape.com
1e26476c44 Removed -rdynamic for irix.
git-svn-id: svn://10.0.0.236/trunk@6977 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 21:34:15 +00:00
warren%netscape.com
af74b07970 Fixed _jni dir problem
git-svn-id: svn://10.0.0.236/trunk@6976 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 21:22:43 +00:00
clayton
62a3e61147 Makefile.PL - Fixed a build problem with NT and Perl 5.005
- Added define for LDAPV3.
            - Needs gobs of work before release
               o LDAPv2 Library Support
               o Better UI
               o Consistent environment variable usage.


git-svn-id: svn://10.0.0.236/trunk@6975 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 21:18:29 +00:00
clayton
d07d7bbac2 Fixed the 'use' line in the examples. Removed a few lines from api.pl
and added a configuration option to set the number of adds.


git-svn-id: svn://10.0.0.236/trunk@6974 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 21:16:32 +00:00
kmcclusk%netscape.com
3238987342 Fixed SetCursor
git-svn-id: svn://10.0.0.236/trunk@6973 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 21:13:31 +00:00
warren%netscape.com
20b5610704 Removed unzip step.
git-svn-id: svn://10.0.0.236/trunk@6972 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 21:12:32 +00:00
warren%netscape.com
63a5564d72 Fixed breakage on irix -- couldn't cast void* to int.
git-svn-id: svn://10.0.0.236/trunk@6971 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 21:06:04 +00:00
kmcclusk%netscape.com
f5749c3dcc Fixed up scrolling some more.
git-svn-id: svn://10.0.0.236/trunk@6970 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 20:48:30 +00:00
warren%netscape.com
5254948d65 Landing changes in the OJI_19980727_BRANCH since the OJI_19980727_TIP_MERGE tag.
git-svn-id: svn://10.0.0.236/trunk@6969 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 20:46:45 +00:00
warren%netscape.com
d149ed5625 Landing changes in the OJI_19980727_BRANCH since the OJI_19980727_TIP_MERGE tag.
git-svn-id: svn://10.0.0.236/trunk@6968 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 20:31:14 +00:00
warren%netscape.com
3c42f93bf9 Landing changes in the OJI_19980727_BRANCH since the OJI_19980727_TIP_MERGE tag.
git-svn-id: svn://10.0.0.236/trunk@6967 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 20:19:50 +00:00
kmcclusk%netscape.com
16d692ef0b Fix for Linux.
git-svn-id: svn://10.0.0.236/trunk@6966 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 20:06:41 +00:00
kostello%netscape.com
ede619c82a Add NS_RELEASE in save code
git-svn-id: svn://10.0.0.236/trunk@6965 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 18:35:19 +00:00
kostello%netscape.com
a7b5f12c78 Fix retail build problem
git-svn-id: svn://10.0.0.236/trunk@6964 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 18:34:53 +00:00
joki%netscape.com
3666aec195 Adding get status method to nsIBrowserWindow
git-svn-id: svn://10.0.0.236/trunk@6963 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 18:22:27 +00:00
joki%netscape.com
098159977e Adding support for event handlers in html tags and moving event handler IIDs to central file.
git-svn-id: svn://10.0.0.236/trunk@6962 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 18:21:37 +00:00
karnaze%netscape.com
aa933a2dd5 temporary fix of bug causing www.stocksite.com to crash
git-svn-id: svn://10.0.0.236/trunk@6961 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 17:47:50 +00:00
kmcclusk%netscape.com
d5612e4264 Added extern reference for XtMoveWidget to fix Irix build.
git-svn-id: svn://10.0.0.236/trunk@6960 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 17:40:43 +00:00
kmcclusk%netscape.com
d7c85290bf Removed XmP.h include
git-svn-id: svn://10.0.0.236/trunk@6957 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 16:57:02 +00:00
kostello%netscape.com
eaeb75712d Moved DoCopy and related methods out of debug build into public
git-svn-id: svn://10.0.0.236/trunk@6956 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 16:53:45 +00:00
kmcclusk%netscape.com
eec5a10700 Fix for Irix. Pass Positions to XtMoveWidget
git-svn-id: svn://10.0.0.236/trunk@6955 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 16:39:43 +00:00
kmcclusk%netscape.com
e46ccabec6 Fix for IRIX build.
git-svn-id: svn://10.0.0.236/trunk@6954 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 15:52:20 +00:00
ramiro%netscape.com
651ee361f4 Fix small typo.
git-svn-id: svn://10.0.0.236/trunk@6953 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 11:37:03 +00:00
ramiro%netscape.com
8ef332b25b Make it build on solaris.
git-svn-id: svn://10.0.0.236/trunk@6952 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 11:30:03 +00:00
ramiro%netscape.com
2eddd55d12 Make it build on losing platforms.
git-svn-id: svn://10.0.0.236/trunk@6951 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 11:28:35 +00:00
ramiro%netscape.com
b9dc591ecb oops. check the value, not the pointer.
git-svn-id: svn://10.0.0.236/trunk@6950 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 11:25:15 +00:00
ramiro%netscape.com
fe09c443a4 Pick a dumbass pixmap default for loser platforms.
git-svn-id: svn://10.0.0.236/trunk@6949 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 11:23:36 +00:00
ramiro%netscape.com
e46af11968 I want to build these tests on platforms that dont have xpm, so i added
some ifdefs to allow building on loser platforms that dont ship xpm.


git-svn-id: svn://10.0.0.236/trunk@6948 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 11:00:24 +00:00
ramiro%netscape.com
e09030687b Add caption files.
git-svn-id: svn://10.0.0.236/trunk@6947 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 10:46:34 +00:00
ramiro%netscape.com
f2b0de0319 Unbloat the XfeWidgets a little bit. Move the combo stuff to their own lib.
git-svn-id: svn://10.0.0.236/trunk@6946 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 10:22:09 +00:00
peterl%netscape.com
1431e4c8e5 connected prefs
git-svn-id: svn://10.0.0.236/trunk@6945 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 06:02:06 +00:00
peterl%netscape.com
2a63cbc80b connected prefs, tweaked UI font sizes
git-svn-id: svn://10.0.0.236/trunk@6944 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 06:01:45 +00:00
peterl%netscape.com
effad0e88b renamed LoadImage
git-svn-id: svn://10.0.0.236/trunk@6943 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 05:59:31 +00:00
mcafee%netscape.com
825dd8b76e These files moved to Netscape private tree, ns/fullsoft.
git-svn-id: svn://10.0.0.236/trunk@6942 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 05:59:17 +00:00
peterl%netscape.com
78fe4d5089 connected prefs to the webshell
git-svn-id: svn://10.0.0.236/trunk@6941 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 05:58:41 +00:00
peterl%netscape.com
456b6e2d39 cleaned up
git-svn-id: svn://10.0.0.236/trunk@6940 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 05:58:13 +00:00
peterl%netscape.com
2acc4cfa0e renamed LoadImage to avoid conflicts with windows headers
git-svn-id: svn://10.0.0.236/trunk@6939 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 05:55:41 +00:00
peterl%netscape.com
5411e49c2d connected prefs
added compatibility mode


git-svn-id: svn://10.0.0.236/trunk@6938 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 05:54:59 +00:00
peterl%netscape.com
f28d7e2a30 improved font rounding when app units aren't twips
git-svn-id: svn://10.0.0.236/trunk@6937 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 05:53:55 +00:00
sdagley%netscape.com
1095e94380 Merging fix for #311292
git-svn-id: svn://10.0.0.236/trunk@6936 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 05:37:56 +00:00
mjudge%netscape.com
92bd81fc60 Updating files for Ender, should all be ifdefed. reviewed->danm
git-svn-id: svn://10.0.0.236/trunk@6935 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 05:31:02 +00:00
mjudge%netscape.com
fda02295cd Adding files for Ender, should all be ifdefed. reviewed->danm
git-svn-id: svn://10.0.0.236/trunk@6934 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 05:27:32 +00:00
mjudge%netscape.com
e9d1eee5d3 Adding file for Ender's toolbar reviewed->danm
git-svn-id: svn://10.0.0.236/trunk@6933 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 05:26:44 +00:00
karnaze%netscape.com
8fa66a552f sizing improvements of form controls for nav4 compatibility
git-svn-id: svn://10.0.0.236/trunk@6932 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 05:22:35 +00:00
guha%netscape.com
ebc10caa28 Fix build breakage
git-svn-id: svn://10.0.0.236/trunk@6927 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 03:29:24 +00:00
toshok%netscape.com
f1c203035b make sure we use the right size for an LO_FLOAT element.
git-svn-id: svn://10.0.0.236/trunk@6926 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 03:25:08 +00:00
toshok%netscape.com
17e01443e6 track change to lo_AppendFloatInLineList, and plug a style sheet memory leak.
git-svn-id: svn://10.0.0.236/trunk@6925 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 03:23:54 +00:00
toshok%netscape.com
32ed47adb3 Change lo_AppendFloatInLineList to use lo_NewElement instead of XP_NEW_ZAP. This fixes a memory leak, since now it's allocated from the arena instead of just random heap space.
git-svn-id: svn://10.0.0.236/trunk@6924 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 03:22:35 +00:00
toshok%netscape.com
581b791ae3 Add LO_SPACER to the list of elements to ignore in lo_DisplayElement.
git-svn-id: svn://10.0.0.236/trunk@6923 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 03:19:21 +00:00
toshok%netscape.com
ad26fcbbfc plug memory leak.
git-svn-id: svn://10.0.0.236/trunk@6922 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 03:11:30 +00:00
guha%netscape.com
9e61e87372 Make related links work again
git-svn-id: svn://10.0.0.236/trunk@6921 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 02:55:27 +00:00
guha%netscape.com
7681c7bed8 Make Related links work again
git-svn-id: svn://10.0.0.236/trunk@6920 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 02:54:10 +00:00
mcafee%netscape.com
5bfeb23563 Moving this file to the Netscape private tree @ ns/fullsoft/public/fullsoft.h
git-svn-id: svn://10.0.0.236/trunk@6919 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 02:25:43 +00:00
thom%netscape.com
84f17a989b Someone forgot to add nsParserCIID.h to the manifest, broke mac build (what about the others?)
git-svn-id: svn://10.0.0.236/trunk@6918 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 02:24:24 +00:00
leif
f93b06cfdf *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@6917 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 02:22:50 +00:00
ftang%netscape.com
5b5645a301 back up last check in untill Mac Gromit tree green
git-svn-id: svn://10.0.0.236/trunk@6916 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 01:55:21 +00:00
mccabe%netscape.com
cd73b6485a Another attempt to remove trailing nul characters added courtesy CVS.
git-svn-id: svn://10.0.0.236/trunk@6915 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 01:45:05 +00:00
buster%netscape.com
741b4316ae LengthOf defined in both debug and non-debug builds
git-svn-id: svn://10.0.0.236/trunk@6914 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 01:40:21 +00:00
clu%netscape.com
7a3534c2f3 Backing out changes.
git-svn-id: svn://10.0.0.236/trunk@6913 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 00:43:46 +00:00
buster%netscape.com
7e38cceda4 we now paint backgrounds regardless of our content. Cell borders are
still conditionally painted based on whether the cell's content has
0=size or not.


git-svn-id: svn://10.0.0.236/trunk@6912 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 00:32:27 +00:00
buster%netscape.com
fa31586077 fixed an error where min width of col spanners were getting proportionately distributed
only desired width gets distributed, not min size.


git-svn-id: svn://10.0.0.236/trunk@6911 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 00:31:09 +00:00
mjudge%netscape.com
ad7d54c91e ENDER checkins. all Ifdef'd out
git-svn-id: svn://10.0.0.236/trunk@6910 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 00:24:57 +00:00
blythe%netscape.com
3289858341 Remove unneeded functions
git-svn-id: svn://10.0.0.236/trunk@6909 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 00:18:30 +00:00
warren%netscape.com
b5a5fc2ebe Added dummy privilege manager classes.
git-svn-id: svn://10.0.0.236/trunk@6908 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 00:14:18 +00:00
mccabe%netscape.com
b32b6c20e8 Propagating numerous fixes from js/ref
and development branches, including but
not limited to:

- Preliminary exception handling per
ECMA proposal; try, multiple
catchblocks, and finally.  Catchblocks
are of the form catch (v) or
catch(v:<guard>), where guard is an
optional boolean expression that is
evaluated to determine whether the
exception is to be caught by that block.

- ECMA-proposed 'in' operator; "'foo' in
o" or "4 in o" asks if o has property
foo or element 4.

- Added a new set of defines in
jsconfig.h for js 1.4
features-in-progress.  (in, instanceof,
exception handling.)  Default build
version is now 1.4.  Fixed a few
conditional features that had become
broken.

- Progress towards porting to FreeBSD
and Alpha; casts of NaN and friends to
int are a little more localized.  Not
there yet...

- New config files to compile on more
OSes; various fixes to improve
portability.


git-svn-id: svn://10.0.0.236/trunk@6907 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 00:07:22 +00:00
ftang%netscape.com
8eb80556d6 Fix 310625. Change single byte conversion table in macfe.r to convert EURO sign from 0x80 (cp1252) to 0xDB (MacRoman)
git-svn-id: svn://10.0.0.236/trunk@6906 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 23:58:53 +00:00
mccabe%netscape.com
5dce40da3b Propagating work and bug fixes from
development branch:

- Preliminary exception handling per
ECMA proposal; try, multiple
catchblocks, and finally.  Catchblocks
are of the form catch (v) or
catch(v:<guard>), where guard is an
optional boolean expression that is
evaluated to determine whether the
exception is to be caught by that block.

- ECMA-proposed 'in' operator; "'foo' in
o" or "4 in o" asks if o has property
foo or element 4.

- Added a new set of defines in
jsconfig.h for js 1.4
features-in-progress.  (in, instanceof,
exception handling.)  Default build
version is now 1.4.  Fixed a few
conditional features that had become
broken.

- Progress towards porting to FreeBSD
and Alpha; casts of NaN and friends to
int are a little more localized.  Not
there yet...

- New config files to compile on more
OSes; various fixes to improve
portability.


git-svn-id: svn://10.0.0.236/trunk@6905 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 23:46:29 +00:00
mccabe%netscape.com
b289a7e9f5 Added NPL.
git-svn-id: svn://10.0.0.236/trunk@6904 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 23:44:39 +00:00
spider%netscape.com
e421318622 Use new raptor gfx stuff
git-svn-id: svn://10.0.0.236/trunk@6903 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 23:33:17 +00:00
michaelp%netscape.com
2ee65356fb improved performance of background rendering.
git-svn-id: svn://10.0.0.236/trunk@6902 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 23:31:42 +00:00
scullin%netscape.com
3ee1c27792 Fixed date struct overflow.
git-svn-id: svn://10.0.0.236/trunk@6901 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 23:30:10 +00:00
spider%netscape.com
a67a24d215 New rules to pull/build raptor as dist
git-svn-id: svn://10.0.0.236/trunk@6900 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 23:28:03 +00:00
spider%netscape.com
34a0f53dec Update to new nsIWidget interface
git-svn-id: svn://10.0.0.236/trunk@6899 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 23:26:58 +00:00
clu%netscape.com
ffaeff57e7 #300214; #300216; #300212; reviewed by jfrancis.
Fixed PREV and NEXT in cell dialog in order that it would apply the changes before moving down to the next selection.  Fixed the color chip in cell dialog so it now updates correctly.  Captions in the cell dialog are now enabled and disabled with their respective edit fields.


git-svn-id: svn://10.0.0.236/trunk@6898 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 23:25:34 +00:00
spider%netscape.com
2b601bf2f4 Removing NS_NewParserNode method
git-svn-id: svn://10.0.0.236/trunk@6897 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 23:14:18 +00:00
kmcclusk%netscape.com
53a506556c Fixes for scrolling. Each widget does an AddChild to insert it in it's parent's
list of children.


git-svn-id: svn://10.0.0.236/trunk@6896 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 23:06:32 +00:00
pierre%netscape.com
9364207962 fix tinderbox: compile the MemAllocator stubs before NSRuntime
git-svn-id: svn://10.0.0.236/trunk@6895 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 22:54:07 +00:00
spider%netscape.com
443dbc8a98 XPCOM'ing the parser. Use repository to get a parser now.
git-svn-id: svn://10.0.0.236/trunk@6893 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 22:42:27 +00:00
spider%netscape.com
4c38e53112 Support for parser changes
git-svn-id: svn://10.0.0.236/trunk@6892 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 22:29:10 +00:00
troy%netscape.com
918e7f33f8 Removed assertion in image complete code that assumed we have gotten at
least one pixmap update notification


git-svn-id: svn://10.0.0.236/trunk@6891 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 22:24:11 +00:00
leif
515a889e19 Changed all hardcoded index references, e.g. 0 to $[.
git-svn-id: svn://10.0.0.236/trunk@6890 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 22:12:24 +00:00
leif
a018b1f1ba - Changed all hardcoded index numbers (from 0 to $[).
- Added modifyRDN, not tested yet...


git-svn-id: svn://10.0.0.236/trunk@6889 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 22:12:02 +00:00
thom%netscape.com
3b31111d11 Added Shared Library target. Shouldn't affect any current targets.
git-svn-id: svn://10.0.0.236/trunk@6888 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 21:36:21 +00:00
karnaze%netscape.com
9644a5c3c8 turn off frameborders ala nav4; mouse sensitive to frame borders, but can't yet resize
git-svn-id: svn://10.0.0.236/trunk@6884 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 21:25:35 +00:00
kmcclusk%netscape.com
31595bc655 Build XImage on each draw only if Optimize has not been called.
git-svn-id: svn://10.0.0.236/trunk@6883 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 20:42:15 +00:00
troy%netscape.com
197e645830 Fixed some crashes where it wa assumes mStr was non-NULL
git-svn-id: svn://10.0.0.236/trunk@6882 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 20:36:51 +00:00
buster%netscape.com
c3210c7b46 fixed non-Debug build by making LengthOf part of both debug and non-Debug builds
git-svn-id: svn://10.0.0.236/trunk@6881 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 19:54:17 +00:00
rickg%netscape.com
18cb3820b8 more string improvements
git-svn-id: svn://10.0.0.236/trunk@6880 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 18:35:58 +00:00
rickg%netscape.com
6a4fa58e55 fixed string assignment bug
git-svn-id: svn://10.0.0.236/trunk@6879 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 18:26:46 +00:00
troy%netscape.com
93da04bdcf Added some calls to NS_RELEASE() when exiting the function
git-svn-id: svn://10.0.0.236/trunk@6878 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 17:46:33 +00:00
kmcclusk%netscape.com
2135ae7e66 Changed Enumerator constructor to initialize mRefCnt to 1 instead of 0.
git-svn-id: svn://10.0.0.236/trunk@6877 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 17:40:22 +00:00
troy%netscape.com
711459c9ae Re-ordered some code to ensure we don't miss a Release() call
git-svn-id: svn://10.0.0.236/trunk@6876 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 17:39:41 +00:00
kmcclusk%netscape.com
911790834d Changed back to initialize refcount to 1 instead of 0 for now.
git-svn-id: svn://10.0.0.236/trunk@6875 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 17:37:26 +00:00
troy%netscape.com
123d50d86b Added XXX comment about the lack of proper ref counting...
git-svn-id: svn://10.0.0.236/trunk@6874 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 17:30:44 +00:00
kmcclusk%netscape.com
c55ea2573c Fix for loading second document in the viewer
git-svn-id: svn://10.0.0.236/trunk@6873 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 17:29:22 +00:00
kipp%netscape.com
a6afed5582 Make gamma 1.0
git-svn-id: svn://10.0.0.236/trunk@6872 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 16:07:18 +00:00
kipp%netscape.com
ca5c9e43cc Removed ForceRefresh call
git-svn-id: svn://10.0.0.236/trunk@6871 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 16:07:04 +00:00
kipp%netscape.com
1348d186a9 Moved root creation into WillBuildModel; added code to enable refresh of the display on the first StartLayout call
git-svn-id: svn://10.0.0.236/trunk@6870 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 16:06:22 +00:00
dfm%netscape.com
4d1f5e2897 Moved a couple necessary things out of receipt.c into privacy.c. This
file doesn't build on the tip.


git-svn-id: svn://10.0.0.236/trunk@6869 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 14:55:50 +00:00
leif
6bc4a36c04 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@6868 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 10:14:41 +00:00
leif
9407f90220 This mostly works now.
git-svn-id: svn://10.0.0.236/trunk@6867 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 10:13:23 +00:00
leif
9630a95462 This actually works now, mostly...
git-svn-id: svn://10.0.0.236/trunk@6866 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 10:08:31 +00:00
leif
2ca35af400 Fixed references to normalizeDN.
git-svn-id: svn://10.0.0.236/trunk@6865 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 10:08:00 +00:00
leif
feedc2e63c - Bug fixes in normalizeDN, because of calling convention changed.
- Added the answer function, from our LdapUtils.pm module.


git-svn-id: svn://10.0.0.236/trunk@6864 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 10:06:56 +00:00
leif
655135bbdc *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@6863 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 09:55:12 +00:00
leif
cd7a2de712 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@6862 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 09:52:33 +00:00
leif
71fd832d76 Minor changes.
git-svn-id: svn://10.0.0.236/trunk@6861 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 09:52:19 +00:00
leif
79ab6e22ec * Bug fixes.
* Changed the update code, works.

* Added some debug code for the LDAPMod code.


git-svn-id: svn://10.0.0.236/trunk@6860 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 09:51:35 +00:00
leif
73eaecc323 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@6859 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 09:22:15 +00:00
leif
8d74f72858 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@6858 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 09:02:33 +00:00
leif
c956783074 Added unixCrypt. This is non-portable, since it doesn't exist on
Windows...


git-svn-id: svn://10.0.0.236/trunk@6857 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 08:43:06 +00:00
leif
afb8179583 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@6856 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 08:42:31 +00:00
chuckb%netscape.com
3b81970ba8 Small fix for killing connections
git-svn-id: svn://10.0.0.236/trunk@6855 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 07:35:57 +00:00
valeski%netscape.com
a86457db07 309383 - http:// is now assumed by the browser shell window url bar.
git-svn-id: svn://10.0.0.236/trunk@6854 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 06:57:02 +00:00
leif
0a43abaf6c *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@6853 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 06:49:18 +00:00
leif
3da0615f40 This is the first version, of a script originally implemented at Netscape.
git-svn-id: svn://10.0.0.236/trunk@6852 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 06:49:03 +00:00
slamm%netscape.com
6654b1f9f5 Reverting to 3.4. Changes were breaking the builds.
git-svn-id: svn://10.0.0.236/trunk@6851 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 06:11:41 +00:00
leif
5ebce5fcdf *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@6848 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 05:26:08 +00:00
troy%netscape.com
d67ed45304 Changed BuildCellMap() to iterate table cell frames using the sibling
list instead of ChildAt()


git-svn-id: svn://10.0.0.236/trunk@6847 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 04:50:38 +00:00
pierre%netscape.com
8ac7ba0910 fixing Unix build
git-svn-id: svn://10.0.0.236/trunk@6846 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 04:47:44 +00:00
cmanske%netscape.com
8be1a4ec6d Fixed build bustage
git-svn-id: svn://10.0.0.236/trunk@6845 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 04:38:01 +00:00
pierre%netscape.com
24e28fb9d2 removed nsDocLoader.cpp which already sits in webshell.mcp
git-svn-id: svn://10.0.0.236/trunk@6844 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 03:41:26 +00:00
pierre%netscape.com
4c46861f34 fixing Mac build: added "ostrstream.h"
git-svn-id: svn://10.0.0.236/trunk@6843 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 03:38:37 +00:00
pierre%netscape.com
83de131366 added ostrstream.h
git-svn-id: svn://10.0.0.236/trunk@6842 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 03:32:43 +00:00
pierre%netscape.com
e5201ae718 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@6841 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 03:32:20 +00:00
leif
8e9e2b911a *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@6840 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 03:08:03 +00:00
troy%netscape.com
4cfdd62847 Changed nsString to nsAutoString to eliminate heap allocation
git-svn-id: svn://10.0.0.236/trunk@6838 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 02:49:13 +00:00
despotdaemon%netscape.com
19d0b80056 Pseudo-automatic update of changes made by jwz@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@6837 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 02:47:33 +00:00
gagan%netscape.com
5af3525e5e Fix for 309717 and 64550.
git-svn-id: svn://10.0.0.236/trunk@6835 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 02:32:48 +00:00
cmanske%netscape.com
db02faf87d Backed out hack for loading image problems in Composer
git-svn-id: svn://10.0.0.236/trunk@6834 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 02:32:46 +00:00
cmanske%netscape.com
23a6ffe225 Backed out hack for loading image problems in Composer. Also fixed other Composer bugs
git-svn-id: svn://10.0.0.236/trunk@6833 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 02:30:35 +00:00
cmanske%netscape.com
dee408681b Backed out hack for loading image problems in Composer. The correct mime converter is now being used
git-svn-id: svn://10.0.0.236/trunk@6832 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 02:20:52 +00:00
ramiro%netscape.com
af9d5f0304 Add clobber_all target to make mozilla build system happy.
git-svn-id: svn://10.0.0.236/trunk@6831 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 02:05:13 +00:00
slamm%netscape.com
694ab1fe1c Fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@6830 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 01:53:30 +00:00
scc%netscape.com
26b948db34 added Chris Nandor's changes to call CodeWarriorLib.pm instead of using AppleScript.
git-svn-id: svn://10.0.0.236/trunk@6827 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 01:09:52 +00:00
scc%netscape.com
b972bab520 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@6826 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 01:04:27 +00:00
scc%netscape.com
d884324335 removed Talkback glue library
git-svn-id: svn://10.0.0.236/trunk@6825 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 01:02:37 +00:00
scc%netscape.com
0db2e2e30f removed FullCircle headers
git-svn-id: svn://10.0.0.236/trunk@6824 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 01:01:17 +00:00
scc%netscape.com
905181057a conditionalized references to FullCircle routines and headers
git-svn-id: svn://10.0.0.236/trunk@6823 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 00:58:34 +00:00
racham%netscape.com
ccbc26fbe6 1step & 2step changes
git-svn-id: svn://10.0.0.236/trunk@6822 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 00:42:52 +00:00
blythe%netscape.com
ac6882437f winpref optimization, submitted by rix2k@radsoft.net
git-svn-id: svn://10.0.0.236/trunk@6821 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 00:27:35 +00:00
racham%netscape.com
42b41ca723 Added Onestepmode checkbox text
git-svn-id: svn://10.0.0.236/trunk@6820 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 00:23:01 +00:00
racham%netscape.com
c507f796aa 1step mode is set to default
git-svn-id: svn://10.0.0.236/trunk@6819 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 00:21:55 +00:00
racham%netscape.com
5b140ce414 1step & 2step changes
git-svn-id: svn://10.0.0.236/trunk@6818 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 00:18:47 +00:00
hardts%netscape.com
1380afdee5 make NGLayout use tip imagelib
git-svn-id: svn://10.0.0.236/trunk@6817 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-30 00:16:06 +00:00
timm%netscape.com
617756d545 put in old Reggie 4.0 stuff for allowing old style reg serv connections... moved the new stuff to CompServ.IAS
git-svn-id: svn://10.0.0.236/trunk@6816 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 23:57:29 +00:00
timm%netscape.com
4379fc6a87 fix up button showing for error2.htm
git-svn-id: svn://10.0.0.236/trunk@6815 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 23:56:06 +00:00
pierre%netscape.com
3c74a5eaa1 fixing Mac build: moved NS_IMPL_IDS
git-svn-id: svn://10.0.0.236/trunk@6814 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 23:43:22 +00:00
rickg%netscape.com
2016c7c883 fixed attribute bug and factored DTDDebug interfaces
git-svn-id: svn://10.0.0.236/trunk@6813 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 23:43:20 +00:00
slamm%netscape.com
1d3f47fe60 An even easier way to fix the commercial animation.
git-svn-id: svn://10.0.0.236/trunk@6812 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 23:37:27 +00:00
pierre%netscape.com
1b97e85cdb fixing Mac build: moved NS_IMPL_IDS
git-svn-id: svn://10.0.0.236/trunk@6811 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 23:37:15 +00:00
troy%netscape.com
47dbd5c803 Changed CreateFrame() to do quick style resolution for text by calling
ResolvePseudoStyleContextFor()


git-svn-id: svn://10.0.0.236/trunk@6810 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 23:31:56 +00:00
slamm%netscape.com
57d723d6ea Fix pull of commercial animation.
git-svn-id: svn://10.0.0.236/trunk@6809 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 23:24:23 +00:00
pinkerton%netscape.com
94cd62c965 Updated "no-close-box" browser window to not have selector bar.
git-svn-id: svn://10.0.0.236/trunk@6808 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 23:17:05 +00:00
troy%netscape.com
be511b110e Changed default constructor to leave capacity at 0 and not allocate
a buffer of 24 bytes


git-svn-id: svn://10.0.0.236/trunk@6807 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 23:06:21 +00:00
kmcclusk%netscape.com
2f5683111e Added debug menu items to bring motif viewer in sync with win32 viewer.
git-svn-id: svn://10.0.0.236/trunk@6806 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 22:56:25 +00:00
pinkerton%netscape.com
37e44bb207 Turning on privacy features for dfm.
git-svn-id: svn://10.0.0.236/trunk@6805 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 22:49:24 +00:00
pinkerton%netscape.com
2ee9b92e03 Added privacy.c for dfm.
git-svn-id: svn://10.0.0.236/trunk@6804 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 22:49:01 +00:00
hardts%netscape.com
c4600fcf79 Finally use the tip imagelib
git-svn-id: svn://10.0.0.236/trunk@6803 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 22:48:44 +00:00
dfm%netscape.com
7afa6f4df7 Minor changes; this file does not yet build on tip.
git-svn-id: svn://10.0.0.236/trunk@6802 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 22:45:03 +00:00
hardts%netscape.com
1dc2e6d9d6 Reenable Charlie's editor hack to deal with IL_ViewStream/IL_NewStream problems
git-svn-id: svn://10.0.0.236/trunk@6801 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 22:42:44 +00:00
hardts%netscape.com
4672676a7f add more stub functions to ImageURLImpl to deal with changes in nsIURL
git-svn-id: svn://10.0.0.236/trunk@6800 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 22:39:28 +00:00
dfm%netscape.com
0228a06e22 Removed privacy dependencies on transaction receipt functions.
This file does not yet build in the default tree configuration.


git-svn-id: svn://10.0.0.236/trunk@6799 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 22:39:12 +00:00
pierre%netscape.com
c6d7eb9a7a fixing Windows build bustage: moved NS_IMPL_IDS
git-svn-id: svn://10.0.0.236/trunk@6798 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 22:33:29 +00:00
kmcclusk%netscape.com
4dcba7ae30 Implemented SetCursor
git-svn-id: svn://10.0.0.236/trunk@6797 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 22:33:03 +00:00
scullin%netscape.com
a34505b241 Added motif LAF stubs.
git-svn-id: svn://10.0.0.236/trunk@6796 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 22:16:24 +00:00
scullin%netscape.com
5869dcb368 Ref count fixes, fix widget test app.
git-svn-id: svn://10.0.0.236/trunk@6795 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 22:15:18 +00:00
timm%netscape.com
36ef104588 get CompServer value from ACCTSET.INI, not RegServer value for IAS file to dial
git-svn-id: svn://10.0.0.236/trunk@6794 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 22:09:37 +00:00
timm%netscape.com
c507506992 change RegSource to DUE5, add CompServer which points to compare page server
git-svn-id: svn://10.0.0.236/trunk@6793 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 22:08:46 +00:00
timm%netscape.com
81d169809e new file for compare page dial
git-svn-id: svn://10.0.0.236/trunk@6792 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 21:59:17 +00:00
sdagley%netscape.com
ff306adb95 Fix build hoarkage caused by missing access path in one of the project targets
git-svn-id: svn://10.0.0.236/trunk@6791 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 21:55:32 +00:00
akkana%netscape.com
d04aa84313 Lots of table resizing, object resizing, and table editing fixes.
git-svn-id: svn://10.0.0.236/trunk@6790 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 21:45:52 +00:00
scc%netscape.com
61b0eb02e1 added :mozilla:privacy:public:MANIFEST
git-svn-id: svn://10.0.0.236/trunk@6788 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 21:36:20 +00:00
timm%netscape.com
9cbd03adf7 change to 888
git-svn-id: svn://10.0.0.236/trunk@6787 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 21:31:56 +00:00
pinkerton%netscape.com
19c5c7aaa2 Use new CDockedRDFCoordinator and bumped saved state version #. (rev saari, appr sdagley)
git-svn-id: svn://10.0.0.236/trunk@6786 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 21:23:40 +00:00
pinkerton%netscape.com
e9d4fccf05 Remove stuff dealing with selector bar. (rev saari, appr sdagley)
git-svn-id: svn://10.0.0.236/trunk@6785 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 21:22:55 +00:00
pinkerton%netscape.com
6a5afa63e9 Removed obsolete command (rev saari, appr sdagley)
git-svn-id: svn://10.0.0.236/trunk@6784 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 21:22:37 +00:00
pinkerton%netscape.com
a8832f6ea0 removed obsolete constants (selector bar is no more).
git-svn-id: svn://10.0.0.236/trunk@6783 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 21:22:13 +00:00
scc%netscape.com
e2d0e914d3 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@6782 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 21:22:10 +00:00
pinkerton%netscape.com
90498eb149 SHACK changes (rev saari, appr sdagley)
git-svn-id: svn://10.0.0.236/trunk@6781 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 21:21:52 +00:00
kmcclusk%netscape.com
bca21726d0 Added the <strstream.h> for all non WIN32 platforms. Removed the ifdef WIN32 in DoCopy
git-svn-id: svn://10.0.0.236/trunk@6780 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 21:21:08 +00:00
pinkerton%netscape.com
5b4f890482 Removed selector bar. (rev saari, appr sdagley)
git-svn-id: svn://10.0.0.236/trunk@6779 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 21:20:35 +00:00
pinkerton%netscape.com
7fdf152aba No more selector bar, and broke out docked stuff into a new CDockedRDFCoordinator class. (rev saari, appr sdagley)
git-svn-id: svn://10.0.0.236/trunk@6778 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 21:20:16 +00:00
pinkerton%netscape.com
aae50b72a8 Shack stub implementations (rev saari, appr sdagley)
git-svn-id: svn://10.0.0.236/trunk@6777 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 21:19:49 +00:00
pinkerton%netscape.com
895233ceed Shack methods (rev saari, appr sdagley)
git-svn-id: svn://10.0.0.236/trunk@6776 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 21:19:31 +00:00
pinkerton%netscape.com
de0e98511d Removed Guide submenu (rev saari, appr sdagley)
git-svn-id: svn://10.0.0.236/trunk@6775 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 21:18:56 +00:00
pinkerton%netscape.com
351854c5e9 Removed selector bar stuff, and some other small stuff (rev saari, appr sdagley)
git-svn-id: svn://10.0.0.236/trunk@6774 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 21:18:16 +00:00
pinkerton%netscape.com
cf1ac0c58b Removed CNavCenterSelectorBar.cp (rev saari, appr sdagley)
git-svn-id: svn://10.0.0.236/trunk@6773 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 21:17:57 +00:00
pinkerton%netscape.com
228061140f Changed CTYP for CRDFCoordinator because it no longer has a selector bar. (rev saari, appr sdagley)
git-svn-id: svn://10.0.0.236/trunk@6772 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 21:17:36 +00:00
pinkerton%netscape.com
e5f36930ea Removed selector bar (rev saari, appr sdagley) and using new CDockedRDFCoordinator.
git-svn-id: svn://10.0.0.236/trunk@6771 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 21:17:09 +00:00
blythe%netscape.com
717caf714f Fix Build bustage, totally my fault
git-svn-id: svn://10.0.0.236/trunk@6770 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 21:15:23 +00:00
pierre%netscape.com
89f3d25c47 added nsSetupRegistry.cpp and nsWebCrawler.cpp
git-svn-id: svn://10.0.0.236/trunk@6769 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 21:09:25 +00:00
pierre%netscape.com
34090236fe fixing Mac build: moved NS_IMPL_IDS
git-svn-id: svn://10.0.0.236/trunk@6768 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 21:06:19 +00:00
scullin%netscape.com
db399badcd More refcount fixes.
git-svn-id: svn://10.0.0.236/trunk@6767 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 21:04:44 +00:00
pierre%netscape.com
dd40185241 pull the correct branches for imglib and plugin, no longer pull the 5.0 layout libs
git-svn-id: svn://10.0.0.236/trunk@6766 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 21:03:47 +00:00
pierre%netscape.com
4dee89d0c6 changed the 'modular' targets: removed cvpics.c, added cvmime.c and nsRelatedLinks.cp
git-svn-id: svn://10.0.0.236/trunk@6765 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 20:57:11 +00:00
pierre%netscape.com
4421a53984 added a bunch of cpp files according to the Window make file
git-svn-id: svn://10.0.0.236/trunk@6763 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 20:54:38 +00:00
scullin%netscape.com
c47cbfadcc Fix ref count oddities.
git-svn-id: svn://10.0.0.236/trunk@6761 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 20:49:28 +00:00
akkana%netscape.com
ac20e0a2b1 EditHdrDialog should be part of MOZ_MAIL_NEWS.
git-svn-id: svn://10.0.0.236/trunk@6760 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 20:46:18 +00:00
hardts%netscape.com
cf5fd08af6 Change from JRI_PUBLIC_API to PR_PUBLIC_API so NGLayout build will work
git-svn-id: svn://10.0.0.236/trunk@6759 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 20:38:47 +00:00
toshok%netscape.com
e587c8d3a2 Always initialize clear_type. gets rid of UMR.
git-svn-id: svn://10.0.0.236/trunk@6758 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 20:30:24 +00:00
despotdaemon%netscape.com
71608a398f Pseudo-automatic update of changes made by gagan@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@6757 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 20:20:06 +00:00
kipp%netscape.com
101913b9b5 Remove most compiler warnings on IRIX
git-svn-id: svn://10.0.0.236/trunk@6756 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 20:19:08 +00:00
akkana%netscape.com
580743b370 Fix build bustage for MOZ_MEDIUM (which doesn't show up on Tinderbox!):
Move fe_make_option_menu and friends from MOZ_MAIL_NEWS to all.


git-svn-id: svn://10.0.0.236/trunk@6755 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 20:04:14 +00:00
kmcclusk%netscape.com
0b0fe0850a Added check in CreateInstance to see if QueryObject returns NS_OK. If it doesn't then release the interface.
git-svn-id: svn://10.0.0.236/trunk@6754 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 20:04:05 +00:00
toshok%netscape.com
5b7053a1c6 make sure to initialize all parts of the LO_TextStruct structure. this was causing UMR's in the XFE (and causing the text to just not be displayed).
git-svn-id: svn://10.0.0.236/trunk@6753 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 19:41:17 +00:00
kipp%netscape.com
9fd4236998 Disabled widget&view for now; render the object so that people know code is coming
git-svn-id: svn://10.0.0.236/trunk@6752 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 19:33:48 +00:00
kipp%netscape.com
70f2d42c59 Tidy up the rendering; don't take space when show-borders is on
git-svn-id: svn://10.0.0.236/trunk@6751 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 19:33:27 +00:00
kipp%netscape.com
159a848417 When debugging allow zero width/height frames to render; do not render show-borders around them however
git-svn-id: svn://10.0.0.236/trunk@6750 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 19:33:00 +00:00
blythe%netscape.com
0cf565fe00 VC6 compiler support changes, had to rename structure as now defined in system headers
git-svn-id: svn://10.0.0.236/trunk@6749 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 19:15:05 +00:00
scullin%netscape.com
f2f0d180f6 Normalize widget api on UNIX and Win.
git-svn-id: svn://10.0.0.236/trunk@6748 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 18:57:26 +00:00
scullin%netscape.com
845b37a7b7 Added LAF implementation.
git-svn-id: svn://10.0.0.236/trunk@6747 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 18:55:25 +00:00
scullin%netscape.com
47287b80cc Added LAF interface.
git-svn-id: svn://10.0.0.236/trunk@6746 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 18:54:36 +00:00
scullin%netscape.com
1af12fa1dc Normalize widget api on UNIX and win, add LAF interface, make sample
apps function again.


git-svn-id: svn://10.0.0.236/trunk@6745 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 18:51:45 +00:00
scullin%netscape.com
e8b12694fb Normalize widget api on UNIX and Win
git-svn-id: svn://10.0.0.236/trunk@6744 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 18:50:51 +00:00
scullin%netscape.com
a3a8ac0459 Make widget tests work again, normalize widget api on UNIX and Win, and
add start of platform LAF interface.


git-svn-id: svn://10.0.0.236/trunk@6743 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 18:47:50 +00:00
scullin%netscape.com
9eb212f8af Safety check our automatic context deleting. (NGLayout only)
git-svn-id: svn://10.0.0.236/trunk@6742 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 18:44:23 +00:00
rods%netscape.com
cbb188e7fa added NS_RELEASE in DoToggleSelection
git-svn-id: svn://10.0.0.236/trunk@6740 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 17:39:28 +00:00
timm%netscape.com
149282bbac change to use language value from dynamic data
git-svn-id: svn://10.0.0.236/trunk@6739 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 17:21:46 +00:00
timm%netscape.com
41b5b09c96 change to hardcoded IP numbers
git-svn-id: svn://10.0.0.236/trunk@6738 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 17:18:33 +00:00
despotdaemon%netscape.com
b34ee30d13 Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@6737 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 14:10:37 +00:00
ramiro%netscape.com
9b734c20fb Add underline drawing support to XfeButton - XmNunderlineThickness.
git-svn-id: svn://10.0.0.236/trunk@6736 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 12:10:32 +00:00
ramiro%netscape.com
e785b8dd24 Add XmNarmForeground resource.
git-svn-id: svn://10.0.0.236/trunk@6735 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 10:50:34 +00:00
rpotts%netscape.com
d204bd4f80 Call nsIWebShell::Destroy() when the Browser window is going away...
git-svn-id: svn://10.0.0.236/trunk@6734 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 10:49:51 +00:00
rpotts%netscape.com
2f4d8826cb Added a Destroy() method which is called when the WebShell container is going away...
git-svn-id: svn://10.0.0.236/trunk@6733 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 10:49:01 +00:00
rpotts%netscape.com
9c1ca7e3d2 Added a missing Release() which should allow the nsDocument to be destroyed...
git-svn-id: svn://10.0.0.236/trunk@6732 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 10:47:52 +00:00
ramiro%netscape.com
077da1fbd3 I screwed up. Backout changes that should not have gone in.
git-svn-id: svn://10.0.0.236/trunk@6731 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 10:06:53 +00:00
ramiro%netscape.com
923a5b4c6f Fix a bunch of comments that got screwed when the license was pasted. Also,
add a basic defines header where to put commonly accesed macros without
having to include all the stuff in <Xfe/Xfe.h>.


git-svn-id: svn://10.0.0.236/trunk@6730 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 09:53:53 +00:00
leif
eabb9f8d80 Added ChangeLog for main and example directories.
git-svn-id: svn://10.0.0.236/trunk@6729 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 09:14:06 +00:00
leif
3a1c5fa430 Added monitor.pl
git-svn-id: svn://10.0.0.236/trunk@6728 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 09:13:21 +00:00
leif
0aefd13b24 First version, this actually works as well.
git-svn-id: svn://10.0.0.236/trunk@6727 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 09:12:37 +00:00
leif
fabbed1c05 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@6726 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 09:09:20 +00:00
leif
044aeb6fa1 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@6725 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 09:01:12 +00:00
leif
f9afb384c1 Added support for passing a hash array of arguments, as returned by the
ldapArgs() function.


git-svn-id: svn://10.0.0.236/trunk@6724 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 09:00:51 +00:00
leif
07133eaf0b First working version.
git-svn-id: svn://10.0.0.236/trunk@6723 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 08:59:14 +00:00
leif
fe233a2e11 Changed to not import the Utils name space into this object. Bad Leif.
git-svn-id: svn://10.0.0.236/trunk@6722 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 08:41:39 +00:00
leif
185de4543c Minor changes, to look better.
git-svn-id: svn://10.0.0.236/trunk@6721 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 08:36:45 +00:00
leif
885158f827 Added more functions.
git-svn-id: svn://10.0.0.236/trunk@6720 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 08:29:07 +00:00
leif
f705a7fbe7 Minor change, to do regex match on osname=MSwin.
git-svn-id: svn://10.0.0.236/trunk@6719 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 08:27:00 +00:00
leif
4c6ab90699 Changed some of the "reserved" hash indexes, to make sure they all both
start and end with the "_". This makes it easy to isolate them, with the
regexp /^_.*_$/.


git-svn-id: svn://10.0.0.236/trunk@6718 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 08:25:57 +00:00
leif
c01960c631 * Got it to work.
* Changed some of the error handling functions, this needs to be tested.
* Converts attribute values from arrays to pointers to arrays.
* Changed the bind API calls.


git-svn-id: svn://10.0.0.236/trunk@6717 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 08:23:53 +00:00
leif
a1b398d580 Changed to use Exporter::export_ok_tags().
git-svn-id: svn://10.0.0.236/trunk@6716 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 08:21:44 +00:00
leif
84cd95d233 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@6715 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 08:19:12 +00:00
toshok%netscape.com
ee971790f0 Free the cloned tag of the LO_LIST element.
git-svn-id: svn://10.0.0.236/trunk@6713 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 07:37:14 +00:00
toshok%netscape.com
f7e76b6217 call lo_FreeLayoutData when we're done relaying out -- stop leaking memory on resizes
git-svn-id: svn://10.0.0.236/trunk@6712 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 07:36:54 +00:00
toshok%netscape.com
c80a2e0d7b plug memory leak when reading/writing font_specs.
git-svn-id: svn://10.0.0.236/trunk@6711 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 07:35:05 +00:00
waterson%netscape.com
d1bf922eed Added FE hooks to dynamically enable/disable runtime tracing. Approved by blythe.
git-svn-id: svn://10.0.0.236/trunk@6709 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 06:05:33 +00:00
rpotts%netscape.com
e4f888c485 Removed all calls to NET_PollSockets(...). Netlib now does this itself...
git-svn-id: svn://10.0.0.236/trunk@6708 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 06:03:29 +00:00
waterson%netscape.com
55e8dd989c Added runtime tracing calls. Approved by gagan.
git-svn-id: svn://10.0.0.236/trunk@6707 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 06:03:10 +00:00
rpotts%netscape.com
fa4119dae4 Removed all calls to NET_PollSockets(...). Netlib now does the polling itself...
git-svn-id: svn://10.0.0.236/trunk@6706 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 06:01:57 +00:00
rpotts%netscape.com
9c98d36f7e Removed the need for clients to explicitly call NET_PollSockets(...). This has been replaced with a timer based polling scheme
git-svn-id: svn://10.0.0.236/trunk@6705 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 06:01:11 +00:00
waterson%netscape.com
6d82776c4e Added timing.h file for runtime performance tracing. Approved by gagan.
git-svn-id: svn://10.0.0.236/trunk@6704 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 06:00:38 +00:00
leif
be7f1e0133 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@6703 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 05:56:54 +00:00
rickg%netscape.com
bd7f2685e8 improved parser handling of pathologic attributes
git-svn-id: svn://10.0.0.236/trunk@6702 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 05:13:35 +00:00
kipp%netscape.com
ef71e68407 Clean up stuff during destruction
git-svn-id: svn://10.0.0.236/trunk@6697 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 04:08:27 +00:00
kipp%netscape.com
eb3766b3d2 Free up some stuff during shutdown
git-svn-id: svn://10.0.0.236/trunk@6696 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 04:07:54 +00:00
kipp%netscape.com
27dee5dead Dont' release browser after destroying it
git-svn-id: svn://10.0.0.236/trunk@6695 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 04:07:27 +00:00
kipp%netscape.com
943b5f0770 Release font metrics when done
git-svn-id: svn://10.0.0.236/trunk@6693 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 04:06:37 +00:00
kipp%netscape.com
230a9dbfac Made placeholders implement nsIInlineReflow so that their existance wouldn't screw up whitespace compression
git-svn-id: svn://10.0.0.236/trunk@6692 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 04:05:49 +00:00
kipp%netscape.com
fa400ce72c Added support for hspace and vspace style attributes
git-svn-id: svn://10.0.0.236/trunk@6691 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 04:05:04 +00:00
kipp%netscape.com
abcc6dc4b8 Added missing NS_RELEASE call
git-svn-id: svn://10.0.0.236/trunk@6690 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 04:04:39 +00:00
kipp%netscape.com
85f83e02fc Added code to try (poorly unfortunately) to give events to floating objects before regular objects
git-svn-id: svn://10.0.0.236/trunk@6689 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 04:04:01 +00:00
kipp%netscape.com
d2a90e7073 cleaned up handling of list bullets; fixed FindFloaters to not recurse into child blocks (doh!); get x,y coordinate right for blocks that don't implement IRunAround; place floaters in nested blocks properly
git-svn-id: svn://10.0.0.236/trunk@6688 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 04:03:12 +00:00
kipp%netscape.com
a6b61cb882 When computing the max avail space for a frame, allow zero as a legal answer so that zero width objects on the same line stay on the line (e.g. BR's); fixed reflow routines to translate the spacemanager x,y
git-svn-id: svn://10.0.0.236/trunk@6687 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 03:59:33 +00:00
kipp%netscape.com
95e52c80f6 updated
git-svn-id: svn://10.0.0.236/trunk@6686 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 03:57:40 +00:00
kipp%netscape.com
5dae01efa5 Fixed GetFontMetrics API to AddRef
git-svn-id: svn://10.0.0.236/trunk@6685 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 03:57:27 +00:00
leif
9cfd62203f *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@6684 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 03:53:52 +00:00
donm%netscape.com
824e466d47 fixing build bustage where ldap is required without MOZ_LDAP set.
git-svn-id: svn://10.0.0.236/trunk@6683 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 03:47:59 +00:00
clayton
e36b8520f9 MANIFEST - Changed Connection.pm to Conn.pm
Makefile.PL - Added Interactive and Automatic Makefile creation
test.pl - Added Automatic Testing through use of environment variables.


git-svn-id: svn://10.0.0.236/trunk@6682 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 03:43:34 +00:00
leif
bffe7206dc *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@6681 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 03:30:26 +00:00
leif
c6d936194f Fixed the #include for <ldap.h>
git-svn-id: svn://10.0.0.236/trunk@6679 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 02:58:54 +00:00
leif
a7e90811c0 Changed this file to be Conn.pm.
git-svn-id: svn://10.0.0.236/trunk@6675 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 02:45:53 +00:00
sar%netscape.com
2da3296ca7 backing out toshok's changes made to a closed burning tree
git-svn-id: svn://10.0.0.236/trunk@6674 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 02:41:52 +00:00
leif
af18f1f6a8 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@6673 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 02:41:11 +00:00
troy%netscape.com
c03ad51328 Added LoadIconImage() for Unix
git-svn-id: svn://10.0.0.236/trunk@6671 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 01:31:59 +00:00
toshok%netscape.com
3ca2ba26f0 plug memory leak when reading/writing font_specs.
git-svn-id: svn://10.0.0.236/trunk@6669 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 00:52:46 +00:00
troy%netscape.com
991de4f579 Added LoadIconImage member function to nsIDeviceContext, and added new
network context for doing sync load (used when loading icons)


git-svn-id: svn://10.0.0.236/trunk@6668 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 00:42:50 +00:00
toshok%netscape.com
d0694efad3 call lo_FreeLayoutData when we're done relaying out -- stop leaking memory on resizes.
git-svn-id: svn://10.0.0.236/trunk@6667 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 00:37:32 +00:00
toshok%netscape.com
754905c3b1 Free the cloned tag of the LO_LIST element.
git-svn-id: svn://10.0.0.236/trunk@6666 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 00:37:04 +00:00
sar%netscape.com
3f7ace6ead removing npwplat.cpp and .h because they are mysteriously breaking gromit
git-svn-id: svn://10.0.0.236/trunk@6665 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 00:23:08 +00:00
kipp%netscape.com
2b08aad70b Setup metrics better for closer navigator compatability (and fix a bug)
git-svn-id: svn://10.0.0.236/trunk@6663 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 23:34:01 +00:00
kipp%netscape.com
5cb6cac74f Bottom align BR's to make the compatible with nav
git-svn-id: svn://10.0.0.236/trunk@6662 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 23:33:31 +00:00
leif
1fbbe7b925 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@6659 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 23:28:53 +00:00
leif
ed6be948b3 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@6657 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 23:28:29 +00:00
leif
42f5e7735f *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@6656 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 23:28:18 +00:00
leif
6ce5ffb62f First version, migrated from my Netscape source.
git-svn-id: svn://10.0.0.236/trunk@6655 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 23:27:17 +00:00
spider%netscape.com
818952ccf3 Add WIN#@_LEAN_AND_MEAN
git-svn-id: svn://10.0.0.236/trunk@6654 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 22:37:09 +00:00
timm%netscape.com
1daa7eff14 new templates for more info page
git-svn-id: svn://10.0.0.236/trunk@6651 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 21:31:33 +00:00
despotdaemon%netscape.com
2a2f4dfd4e Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@6643 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 20:40:22 +00:00
jwz%netscape.com
c9bb816841 from Dawn Endico <dawn@cannibal.mi.org>:
Make the url prefix for bonsai configurable.


git-svn-id: svn://10.0.0.236/trunk@6638 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 19:18:54 +00:00
jwz%netscape.com
7024b10684 from Dawn Endico <dawn@cannibal.mi.org>:
add bonsaihome configuration variable


git-svn-id: svn://10.0.0.236/trunk@6637 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 19:17:42 +00:00
jwz%netscape.com
0c7f1b1eb1 from Dawn Endico <dawn@cannibal.mi.org>:
export $Path variable. Local.pm needs it as a global variable.

htmlify file names and email addresses


git-svn-id: svn://10.0.0.236/trunk@6636 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 19:17:30 +00:00
jwz%netscape.com
9252ea44ab from Dawn Endico <dawn@cannibal.mi.org>:
remove the hard space from the template. Its now the job of the
description function to provide a space in case of a blank desc.


git-svn-id: svn://10.0.0.236/trunk@6635 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 19:17:14 +00:00
jwz%netscape.com
bbaf60067d from Dawn Endico <dawn@cannibal.mi.org>:
move description functions to the new Local.pm module


git-svn-id: svn://10.0.0.236/trunk@6634 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 19:17:03 +00:00
jwz%netscape.com
467e984c7d from Dawn Endico <dawn@cannibal.mi.org>:
use the new bonsaihome configuration variable


git-svn-id: svn://10.0.0.236/trunk@6633 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 19:16:48 +00:00
jwz%netscape.com
3019692d1a from Dawn Endico <dawn@cannibal.mi.org>:
Place installation specific subroutines into their own module.
New improved file/directory description hackery goes here.


git-svn-id: svn://10.0.0.236/trunk@6632 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 19:16:34 +00:00
selmer%netscape.com
7d7ed29a10 Changed reference of 'yeahr' to 'year'
git-svn-id: svn://10.0.0.236/trunk@6631 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 17:22:05 +00:00
sar%netscape.com
a29a980565 backing out Akanna's changes that broke Irix
git-svn-id: svn://10.0.0.236/trunk@6627 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 08:33:24 +00:00
pierre%netscape.com
c88159a432 renamed some header files > 31 chars but left them ifdef'ed out XP_MAC because of other problems
git-svn-id: svn://10.0.0.236/trunk@6625 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 07:56:55 +00:00
pierre%netscape.com
d98b37220d added modules/plugin in the Checkout and Manifest lists
git-svn-id: svn://10.0.0.236/trunk@6624 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 07:55:23 +00:00
pierre%netscape.com
161249f916 updated to Windows make file (removed "npupp.h" from the list)
git-svn-id: svn://10.0.0.236/trunk@6623 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 07:54:29 +00:00
pierre%netscape.com
a0405018f5 renamed some filenames > 31 chars
git-svn-id: svn://10.0.0.236/trunk@6622 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 07:53:45 +00:00
pierre%netscape.com
8adf059210 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@6620 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 07:52:53 +00:00
pierre%netscape.com
f02b246974 fix build breakage from previous checkin
git-svn-id: svn://10.0.0.236/trunk@6618 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 05:31:01 +00:00
troy%netscape.com
f2399dd3fa Added dependency on raptorgfx_s.lib
git-svn-id: svn://10.0.0.236/trunk@6617 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 05:09:31 +00:00
pierre%netscape.com
999df4ec5e added nsWebCrawler.cpp
git-svn-id: svn://10.0.0.236/trunk@6616 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 04:18:01 +00:00
pierre%netscape.com
38b94a423c fix Mac build: include <fstream.h>
git-svn-id: svn://10.0.0.236/trunk@6614 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 04:16:13 +00:00
pierre%netscape.com
b100b34267 fix Mac build (is this file obsolete?)
git-svn-id: svn://10.0.0.236/trunk@6613 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 04:15:46 +00:00
pierre%netscape.com
2814f6638f fix Mac build: include <iosfwd.h>
git-svn-id: svn://10.0.0.236/trunk@6612 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 04:14:58 +00:00
pierre%netscape.com
134996a137 use standalone imglib from tips, added dom:public:html:MANIFEST, build Navigator stubs
git-svn-id: svn://10.0.0.236/trunk@6611 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 04:14:22 +00:00
pierre%netscape.com
97a888a6e4 raptor: added mkstream.c to the 'modular' targets
git-svn-id: svn://10.0.0.236/trunk@6610 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 04:09:06 +00:00
pierre%netscape.com
635ae3f59c updated to Windows make file
git-svn-id: svn://10.0.0.236/trunk@6609 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 04:08:33 +00:00
pierre%netscape.com
e859e783ed added the 2 'standalone' targets
git-svn-id: svn://10.0.0.236/trunk@6608 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 04:05:23 +00:00
pierre%netscape.com
cc15527c71 added CParserContext.cpp (for now... we may need to add plenty of other files later)
git-svn-id: svn://10.0.0.236/trunk@6607 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 04:04:23 +00:00
rickg%netscape.com
d914584ab7 unwound changes to skipped content consumption
git-svn-id: svn://10.0.0.236/trunk@6606 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 04:00:38 +00:00
rickg%netscape.com
640b8153eb even more improvements to containment creation
git-svn-id: svn://10.0.0.236/trunk@6605 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 02:54:02 +00:00
warren%netscape.com
6cf0255e58 Committed from OJI_19980618_TIP_MERGE1.
git-svn-id: svn://10.0.0.236/trunk@6602 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 02:11:07 +00:00
warren%netscape.com
450194e0b1 Moved to modules/plugin/bad
git-svn-id: svn://10.0.0.236/trunk@6601 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 01:49:33 +00:00
rickg%netscape.com
3778c0a397 fixed build buster; seems VC doesn't know false
git-svn-id: svn://10.0.0.236/trunk@6600 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 01:39:55 +00:00
pinkerton%netscape.com
5d87d25bcd Now that the cache actually works, make sure we put the entry into the icon cache _before_ we go to the net to try to fetch it.
git-svn-id: svn://10.0.0.236/trunk@6599 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 01:25:14 +00:00
rickg%netscape.com
bce39df640 too many fixes to enumerate
git-svn-id: svn://10.0.0.236/trunk@6598 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 01:08:12 +00:00
chuckb%netscape.com
a85bc4645d Java LDAP SDK
git-svn-id: svn://10.0.0.236/trunk@6597 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 00:58:49 +00:00
akkana%netscape.com
e4a5b58d33 Move fe_make_option_menu from SearchRuleView to Menu so that it no
longer is bound to MOZ_MAIL_NEWS.


git-svn-id: svn://10.0.0.236/trunk@6596 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 00:58:40 +00:00
buster%netscape.com
011fab0947 made this test case a bit flashier
git-svn-id: svn://10.0.0.236/trunk@6595 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 00:51:53 +00:00
pinkerton%netscape.com
36ebd21591 Respond to even more properties in HT, esp ones that allow creation of a Simple View.
git-svn-id: svn://10.0.0.236/trunk@6594 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 00:46:33 +00:00
pinkerton%netscape.com
c6a25fe8a4 don't allow context menu when the HT property is turned off.
git-svn-id: svn://10.0.0.236/trunk@6593 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 00:45:52 +00:00
pinkerton%netscape.com
231bc767e7 Added GetColor() and PropertyValueBool() and rewrote most utility routines (for chrome color) to use these.
git-svn-id: svn://10.0.0.236/trunk@6592 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 00:45:31 +00:00
pinkerton%netscape.com
ae7de3af09 Added clickCountToOpen() and made some methods const.
git-svn-id: svn://10.0.0.236/trunk@6591 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 00:44:27 +00:00
pinkerton%netscape.com
5a5d658338 consolodate Post() and Post1() into one routine with one API.
git-svn-id: svn://10.0.0.236/trunk@6590 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 00:43:42 +00:00
pinkerton%netscape.com
aa7298e2ef Adding new behavior properties for tree view (rev/appr rjc)
git-svn-id: svn://10.0.0.236/trunk@6589 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 00:43:07 +00:00
buster%netscape.com
3fbc040e9a fix for distributing spanned width that is less than the column minimums it spans.
git-svn-id: svn://10.0.0.236/trunk@6588 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 00:23:01 +00:00
michaelp%netscape.com
547a56e5a1 fixed webcrawler relater build bustage.
git-svn-id: svn://10.0.0.236/trunk@6587 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 00:05:32 +00:00
michaelp%netscape.com
2d351f43df fixed build bustage.
git-svn-id: svn://10.0.0.236/trunk@6586 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-28 00:00:35 +00:00
despotdaemon%netscape.com
0200b3b5d0 Pseudo-automatic update of changes made by av@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@6585 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 23:54:20 +00:00
buster%netscape.com
d5270b8dea more span fixes
git-svn-id: svn://10.0.0.236/trunk@6584 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 23:47:54 +00:00
rods%netscape.com
1c3decd6bd Removed a debug printf
git-svn-id: svn://10.0.0.236/trunk@6583 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 23:30:49 +00:00
rods%netscape.com
4777c88f25 removed DO_SELECTION #define
git-svn-id: svn://10.0.0.236/trunk@6582 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 23:20:35 +00:00
kipp%netscape.com
f585f169b0 Fixed -p flag; fixed so that it exits on last window close
git-svn-id: svn://10.0.0.236/trunk@6581 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 23:19:06 +00:00
rods%netscape.com
9adea67d43 Added processing for the mouse up event
git-svn-id: svn://10.0.0.236/trunk@6580 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 23:17:10 +00:00
rods%netscape.com
03b9fd94cc Added drag scrolling, and event processing for mouse events
outside the scrolling view.


git-svn-id: svn://10.0.0.236/trunk@6579 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 23:14:31 +00:00
michaelp%netscape.com
1c0dd973b4 hooked up the plugin manager to the webshell.
git-svn-id: svn://10.0.0.236/trunk@6578 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 23:08:52 +00:00
kipp%netscape.com
feaa1ebcb4 Added max-pages
git-svn-id: svn://10.0.0.236/trunk@6577 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 23:01:06 +00:00
kipp%netscape.com
4ca88f4858 Limit crawling to a max number of pages
git-svn-id: svn://10.0.0.236/trunk@6576 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 23:00:50 +00:00
kipp%netscape.com
6f93197da6 Make crawler exit properly; added -N argument
git-svn-id: svn://10.0.0.236/trunk@6575 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 23:00:11 +00:00
kipp%netscape.com
13773b205c Skip over junky url's
git-svn-id: svn://10.0.0.236/trunk@6574 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 22:42:12 +00:00
kmcclusk%netscape.com
36ce6ff732 Added implementation for nsScrollbar::Create passing a nsNativeWidget.
Also check for nsnull cliprect in ScrollTo


git-svn-id: svn://10.0.0.236/trunk@6573 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 22:25:43 +00:00
kipp%netscape.com
c2707a82ec time to crawl
git-svn-id: svn://10.0.0.236/trunk@6572 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 22:16:13 +00:00
kipp%netscape.com
be3b2b8207 Use web crawler instead of doc loader; new argument support code for web crawler
git-svn-id: svn://10.0.0.236/trunk@6571 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 22:15:58 +00:00
kipp%netscape.com
d0f020831f Switch to nsWebCrawler
git-svn-id: svn://10.0.0.236/trunk@6570 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 22:15:30 +00:00
pinkerton%netscape.com
4b1663ca70 backing out dcone's addition of nsRelatedLinks.cpp to project.
git-svn-id: svn://10.0.0.236/trunk@6568 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 22:15:18 +00:00
despotdaemon%netscape.com
6ca35e3037 Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@6565 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 21:42:39 +00:00
dcone%netscape.com
5c399e2012 defined NS_IMPL_IDS for the mac build only
git-svn-id: svn://10.0.0.236/trunk@6564 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 21:37:49 +00:00
despotdaemon%netscape.com
10fb35f292 Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@6563 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 21:36:59 +00:00
michaelp%netscape.com
d4a702b3f9 documented GetClipView() API.
git-svn-id: svn://10.0.0.236/trunk@6562 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 21:30:14 +00:00
dcone%netscape.com
3a46dd85d5 fixed up the project to use the cross platform files
git-svn-id: svn://10.0.0.236/trunk@6561 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 21:26:29 +00:00
terry%netscape.com
cc89ce6837 Expand email addresses properly when sending tree opened, tree closed notices.
git-svn-id: svn://10.0.0.236/trunk@6560 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 21:10:16 +00:00
kostello%netscape.com
41a83c0d74 Really fix unix build bustage
git-svn-id: svn://10.0.0.236/trunk@6559 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 21:10:02 +00:00
michaelp%netscape.com
a9864345c6 made color handling code in css part of the gfx color utilities.
git-svn-id: svn://10.0.0.236/trunk@6557 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 21:07:47 +00:00
terry%netscape.com
d0c9a2719a Munge the username to a proper email address before sending mail.
git-svn-id: svn://10.0.0.236/trunk@6556 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 20:57:51 +00:00
ramiro%netscape.com
3e4135e7f3 Remove un needed xmversion.sh. The file has been 'cvs rm'ed already.
git-svn-id: svn://10.0.0.236/trunk@6555 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 20:57:31 +00:00
terry%netscape.com
860721ac93 Deal better with % in the middle of usernames.
git-svn-id: svn://10.0.0.236/trunk@6554 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 20:53:06 +00:00
despotdaemon%netscape.com
2e70f238d8 Pseudo-automatic update of changes made by gordon@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@6553 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 20:40:17 +00:00
dcone%netscape.com
810d77c032 defined a mac WH_TempName for modular Netlib. Raptor change.
git-svn-id: svn://10.0.0.236/trunk@6552 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 19:53:51 +00:00
dcone%netscape.com
b27a458d85 turned on the compilation of mkstream.c
git-svn-id: svn://10.0.0.236/trunk@6551 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 19:50:40 +00:00
donm%netscape.com
d55464fe49 fixing build bustage on linux.
git-svn-id: svn://10.0.0.236/trunk@6550 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 19:27:12 +00:00
kostello%netscape.com
559cf2d43a Removed DoCopy for all but the Win32 build. We are
having build problems because of the ostrstream class.


git-svn-id: svn://10.0.0.236/trunk@6549 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 19:26:18 +00:00
kostello%netscape.com
0b713b26ad Fix UNIX bustage
git-svn-id: svn://10.0.0.236/trunk@6548 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 19:11:51 +00:00
kostello%netscape.com
2469387b1d Fix build problem
git-svn-id: svn://10.0.0.236/trunk@6547 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 18:52:31 +00:00
kostello%netscape.com
aefcc6d34a Implemented DoCopy to put HTML on the pasteboard
Added Dialog for DoDebugSave


git-svn-id: svn://10.0.0.236/trunk@6546 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 18:17:07 +00:00
kostello%netscape.com
d4d89af1ef Moved pretty printing interfaces inside implementation of nsHTMLContentSinkStream
Added interfaces to turn pretty printing on/off -- support for copy/paste


git-svn-id: svn://10.0.0.236/trunk@6545 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 18:16:01 +00:00
kostello%netscape.com
8835c76c61 Added support for the copy command (converting the selection to XIF)
Changed XIF interface


git-svn-id: svn://10.0.0.236/trunk@6544 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 18:11:14 +00:00
kostello%netscape.com
0442716683 Added support for saving the selection (important for copy).
Change XIF interfaces


git-svn-id: svn://10.0.0.236/trunk@6543 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 18:08:58 +00:00
kipp%netscape.com
0ea28e0b66 Fixed a top-100 url
git-svn-id: svn://10.0.0.236/trunk@6542 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 18:05:55 +00:00
kostello%netscape.com
167baa01ed Added support for toggling selection on/off in a document.
Added more support methods for selection, made parameters const
where possible.
Changed XIF interfaces


git-svn-id: svn://10.0.0.236/trunk@6541 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 18:05:35 +00:00
kipp%netscape.com
9d6b2116f7 Some hackery for image documents
git-svn-id: svn://10.0.0.236/trunk@6540 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 18:05:34 +00:00
kipp%netscape.com
f69df9e46f Added some trace messages
git-svn-id: svn://10.0.0.236/trunk@6539 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 18:05:11 +00:00
kipp%netscape.com
7a8119443f Disable releasing atoms for now
git-svn-id: svn://10.0.0.236/trunk@6538 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 18:04:58 +00:00
kipp%netscape.com
2504bb6855 Added some more logging; discard dangling frame's
git-svn-id: svn://10.0.0.236/trunk@6537 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 18:04:38 +00:00
kostello%netscape.com
04527bd3a6 Changed XIF interface
git-svn-id: svn://10.0.0.236/trunk@6536 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 18:04:04 +00:00
kostello%netscape.com
277877cda2 Added method for toggling selection on/off in a document.
Added more support methods for selection, made parameters const
where possible.


git-svn-id: svn://10.0.0.236/trunk@6535 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 18:03:16 +00:00
kipp%netscape.com
6bf078cf47 Added nsImageDocument
git-svn-id: svn://10.0.0.236/trunk@6534 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 18:01:06 +00:00
kipp%netscape.com
54fea7573f snapshot
git-svn-id: svn://10.0.0.236/trunk@6533 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 17:55:17 +00:00
kipp%netscape.com
68f4e124c0 REference NS_NewImageDocument too
git-svn-id: svn://10.0.0.236/trunk@6532 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 17:51:56 +00:00
kipp%netscape.com
951f0e17ca Added NS_NewImageDocument
git-svn-id: svn://10.0.0.236/trunk@6531 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 17:51:42 +00:00
kipp%netscape.com
bbdead3958 Fixed a typo
git-svn-id: svn://10.0.0.236/trunk@6530 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 17:51:17 +00:00
kipp%netscape.com
2dd71806c2 new
git-svn-id: svn://10.0.0.236/trunk@6529 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 17:50:58 +00:00
cmanske%netscape.com
2907537361 Tweaked return key handling to pay attention to m_bUseCurrentTextFormat value when adjusting text format
git-svn-id: svn://10.0.0.236/trunk@6528 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 16:34:48 +00:00
dcone%netscape.com
be2fb0c641 added some manifest support for layout/event includes
git-svn-id: svn://10.0.0.236/trunk@6527 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 16:30:48 +00:00
dcone%netscape.com
833f51e679 Added nsEventListenerManager.h
git-svn-id: svn://10.0.0.236/trunk@6526 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 16:29:58 +00:00
dcone%netscape.com
2785da3077 added nsIStateManager.h, nsIEventListenerManager.h, nsIPrivateDOMEvent.h
git-svn-id: svn://10.0.0.236/trunk@6525 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 16:29:24 +00:00
hardts%netscape.com
ddbb64f57e landing MODULAR_IMGLIB_BRANCH
git-svn-id: svn://10.0.0.236/trunk@6524 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 16:14:32 +00:00
cmanske%netscape.com
3e2fbbd7f5 Added check for null pointer in lo_ValidEditableElement
git-svn-id: svn://10.0.0.236/trunk@6523 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 16:14:29 +00:00
hardts%netscape.com
198fb52d49 renaming .c files to .cpp for landing MODULAR_IMGLIB_BRANCH
git-svn-id: svn://10.0.0.236/trunk@6522 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 16:12:07 +00:00
cmanske%netscape.com
25cc9f3bac Implemented smart detection of character format (to be used for next text type) depending on last arrow key usage
git-svn-id: svn://10.0.0.236/trunk@6521 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 15:45:27 +00:00
cmanske%netscape.com
55eee39394 Fixed problem with deleting Meta tag entry in Composer dialog
git-svn-id: svn://10.0.0.236/trunk@6520 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 15:42:24 +00:00
dcone%netscape.com
701aa2cc9f Added manifiest file so the nsIEventListenerManager could be public
git-svn-id: svn://10.0.0.236/trunk@6519 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 15:30:14 +00:00
dcone%netscape.com
0d71371179 Added this file so nsEventListenerManager.h is public
git-svn-id: svn://10.0.0.236/trunk@6518 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 14:41:36 +00:00
ramiro%netscape.com
0a7ca31ae0 Add xfe pref for toggling PORT and PASV ftp modes.
Thanks to Christopher Seawood <cls@seawood.org>.


git-svn-id: svn://10.0.0.236/trunk@6516 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 11:19:28 +00:00
ramiro%netscape.com
d54301919c Add xfe pref for toggling PORT and PASV ftp modes.
Thanks to Christopher Seawood <cls@seawood.org>.


git-svn-id: svn://10.0.0.236/trunk@6515 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 10:41:02 +00:00
buster%netscape.com
e61f20a237 empty cells do not render border or background color
git-svn-id: svn://10.0.0.236/trunk@6514 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 07:37:57 +00:00
buster%netscape.com
d257e2c1e8 minor fixes for spans
git-svn-id: svn://10.0.0.236/trunk@6513 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 07:20:03 +00:00
karnaze%netscape.com
70d80c6f21 more robust frameset layout; <frame>, <iframe> borders; reenabled scrolling attr for <iframe>
git-svn-id: svn://10.0.0.236/trunk@6512 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 05:59:37 +00:00
buster%netscape.com
97be0fee7f cleaner version of earlier code. still buggy on some pages for no apparent reason.
git-svn-id: svn://10.0.0.236/trunk@6511 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 05:32:50 +00:00
cmanske%netscape.com
450a45329e Fixed Composer bug 153443. Move delete button in meta tag editor. Changed tab labels in Table property dialogs
git-svn-id: svn://10.0.0.236/trunk@6510 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 04:46:11 +00:00
cmanske%netscape.com
69bc9b643f Fixed Composer bug 227527 - Implemented autodelete of single space in table cell when new text is typed.
git-svn-id: svn://10.0.0.236/trunk@6509 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 04:17:18 +00:00
buster%netscape.com
5eeba2d305 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@6508 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 03:02:32 +00:00
buster%netscape.com
c017339e1c much better handling of tables who have fixed-width columns that make the table wider than it is allowed to be
added some sanity checking in BalanceColumnWidths be ensure that a column width
can never be less than the minimum element in that column.


git-svn-id: svn://10.0.0.236/trunk@6507 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 02:15:37 +00:00
cmanske%netscape.com
0de1753c64 Added detection of element clicked on to determine text format to use
git-svn-id: svn://10.0.0.236/trunk@6506 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 02:01:51 +00:00
troy%netscape.com
d5bd3a30e4 Added a #undef NS_EXPORT_ before defining it so that we don't get all
the warnings. Our definition is defined differently than in nsCom.h in
xpcom. The problem with the way it's defined in xpcom is that the 4.x
compiler generates a compiler error


git-svn-id: svn://10.0.0.236/trunk@6505 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 01:42:13 +00:00
cmanske%netscape.com
3818c4e571 Fixed lots of Composer bugs, modified property dialogs for tables, images; menu updates
git-svn-id: svn://10.0.0.236/trunk@6504 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 01:18:38 +00:00
cmanske%netscape.com
82028137ff Lots of Composer bug fixes and continued work on table and list editing
git-svn-id: svn://10.0.0.236/trunk@6503 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 01:09:58 +00:00
troy%netscape.com
7362b47fb3 Defined macros for Unix and Mac
git-svn-id: svn://10.0.0.236/trunk@6502 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 00:45:35 +00:00
michaelp%netscape.com
9137aba336 changed order of stuff in new macros.
git-svn-id: svn://10.0.0.236/trunk@6501 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 00:32:36 +00:00
cmanske%netscape.com
1fd568b4a9 Added comments for no-longer supported alignments for Composer
git-svn-id: svn://10.0.0.236/trunk@6500 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 00:01:18 +00:00
troy%netscape.com
ae50bd2628 Combined raptorgfx.dll and raptorgfxwin.dll into one DLL
git-svn-id: svn://10.0.0.236/trunk@6499 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-26 23:52:36 +00:00
troy%netscape.com
33313b0fda Added some variants of NS_EXPORT and NS_IMPORT that take a type and
declare the function __stdcall


git-svn-id: svn://10.0.0.236/trunk@6498 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-26 23:40:58 +00:00
michaelp%netscape.com
35726078d4 a tiny fix for scrollbars in scrolling views made without a widget association.
git-svn-id: svn://10.0.0.236/trunk@6497 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-26 23:32:33 +00:00
michaelp%netscape.com
89fd53967c fixed troy's bustage.
git-svn-id: svn://10.0.0.236/trunk@6496 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-26 23:25:05 +00:00
troy%netscape.com
a9d89fc3c0 Added DeviceContextImpl base class
git-svn-id: svn://10.0.0.236/trunk@6495 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-26 04:28:48 +00:00
michaelp%netscape.com
fa4330329c form elements, etc. (i.e. sub widgets) now scroll smoothly.
git-svn-id: svn://10.0.0.236/trunk@6494 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-26 04:24:42 +00:00
buster%netscape.com
a264875bff COLS attribute ignored if any column width info is specified (like <TD width=100>)
fixed lots of COLS related bugs.
handle min width spec (<TD width=0 or width=0% or width=0*>)
major fix to colspan handling


git-svn-id: svn://10.0.0.236/trunk@6493 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-26 04:23:01 +00:00
ramiro%netscape.com
ab5b0557eb Insert an intermediate cast when casting (void *) to enum. Fixes the OSF
build.
Thanks to wtc@netscape.com for providing the fix.


git-svn-id: svn://10.0.0.236/trunk@6492 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-25 08:26:42 +00:00
wtc%netscape.com
c269e80a83 Use -std1 (strict ANSI C) instead of -std (ANSI C but allows common
programming practices disallowed by the standard).  Define OSF1V4
for all V4.x versions.


git-svn-id: svn://10.0.0.236/trunk@6487 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-25 04:58:47 +00:00
wtc%netscape.com
3bb3e18910 We should not use -I/usr/include/machine. That is not the right way
to fix the endian.h inclusion problem in mcom_db.h.  We should fix
mcom_db.h to say:
#ifdef __osf__
#include <machine/endian.h>
#endif
Using -I/usr/include/machine will pull in <machine/signal.h>, which
is incompatible with the intended <signal.h>.


git-svn-id: svn://10.0.0.236/trunk@6483 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-25 04:46:55 +00:00
peterl%netscape.com
e51bea9ab6 fixed build on unix
git-svn-id: svn://10.0.0.236/trunk@6482 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-25 02:17:13 +00:00
racham%netscape.com
10c921aa07 Corrected NPL comment style.
git-svn-id: svn://10.0.0.236/trunk@6481 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-25 02:15:52 +00:00
racham%netscape.com
d9d6119f49 BUG 181242 : ASE 1step&2step sync-up. Corrected path for windows ACCTSET.INI file
git-svn-id: svn://10.0.0.236/trunk@6480 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-25 02:11:54 +00:00
rickg%netscape.com
192449c4bc warning removal
git-svn-id: svn://10.0.0.236/trunk@6479 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-25 02:11:02 +00:00
racham%netscape.com
753fbc325b BUG 181242 : ASE 1step & 2step sync-up. Added check box to control OneStepMode Flag.
git-svn-id: svn://10.0.0.236/trunk@6478 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-25 02:09:30 +00:00
racham%netscape.com
ffdc7c9c14 BUG 181242 : ASE sync-up between 1step and 2step worlds. Added OneStepMode flag handling.
git-svn-id: svn://10.0.0.236/trunk@6477 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-25 02:07:10 +00:00
joki%netscape.com
f59e41e644 Fix for unitialized var and missing add/release ref pair in the GetScriptGlobalObject call
git-svn-id: svn://10.0.0.236/trunk@6476 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-25 01:53:54 +00:00
joki%netscape.com
30a68f1ef5 Fix for missing add/release ref pair in the GetScriptGlobalObject call
git-svn-id: svn://10.0.0.236/trunk@6475 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-25 01:53:15 +00:00
racham%netscape.com
64042f998a BUG 181240 : added OneStepMode flag (OneStepMode=no)
git-svn-id: svn://10.0.0.236/trunk@6474 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-25 01:35:03 +00:00
racham%netscape.com
d0876ea50f BUG 181240 : added control statements to decide 1step vs 2step
git-svn-id: svn://10.0.0.236/trunk@6473 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-25 01:29:14 +00:00
peterl%netscape.com
3fd424e374 added accessor for html style sheet
git-svn-id: svn://10.0.0.236/trunk@6472 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-25 01:26:12 +00:00
racham%netscape.com
50f3cd6f98 BUG 181240 : 1step vs 2step changes
git-svn-id: svn://10.0.0.236/trunk@6471 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-25 01:22:46 +00:00
peterl%netscape.com
1be2f50f93 added font scaling support
git-svn-id: svn://10.0.0.236/trunk@6470 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-25 01:22:10 +00:00
peterl%netscape.com
f13e8293ce made anchor pseudo classes not resolve unless anchor has an href
git-svn-id: svn://10.0.0.236/trunk@6469 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-25 01:21:47 +00:00
peterl%netscape.com
f22a2a560b added body link color support
git-svn-id: svn://10.0.0.236/trunk@6468 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-25 01:20:48 +00:00
peterl%netscape.com
d9316198c0 added bosy link color support
added font scaling support


git-svn-id: svn://10.0.0.236/trunk@6467 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-25 01:17:42 +00:00
vidur%netscape.com
b1a93e7680 Added recursive document.write
git-svn-id: svn://10.0.0.236/trunk@6465 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-25 01:13:23 +00:00
peterl%netscape.com
b04e60046d added Nav's magic font scaler
git-svn-id: svn://10.0.0.236/trunk@6464 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-25 01:11:49 +00:00
rickg%netscape.com
d59fdb0f14 fixed a state problem in parser related to nesting levels
git-svn-id: svn://10.0.0.236/trunk@6463 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-25 01:02:01 +00:00
vidur%netscape.com
62319c5f57 Added methods to nsINetService to get and set cookie string for a URL
git-svn-id: svn://10.0.0.236/trunk@6459 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-25 00:32:32 +00:00
vidur%netscape.com
640de09889 Added document.cookie. HTMLCollection.namedItem looks for both NAME and ID attributes
git-svn-id: svn://10.0.0.236/trunk@6458 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-25 00:31:52 +00:00
rickg%netscape.com
1cc0a2a7f3 added line number support to nodes for Javascript
git-svn-id: svn://10.0.0.236/trunk@6457 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-25 00:29:15 +00:00
rickg%netscape.com
3e91f727ac even more progress in the parser
git-svn-id: svn://10.0.0.236/trunk@6456 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-25 00:05:29 +00:00
kin%netscape.com
b5ea9e187d Fix for 5.0SF1 in bug #300901: Lose <br> inside a cell in a table
Modified lo_LayoutTag() to set hard linebreaks for NSDTs.
Reviewed by toshok and nisheeth.


git-svn-id: svn://10.0.0.236/trunk@6455 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 23:59:46 +00:00
vidur%netscape.com
96502a2a0f Added PR_EXTERN_C macros necessry for Raptor
git-svn-id: svn://10.0.0.236/trunk@6454 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 23:52:27 +00:00
morse%netscape.com
f43582b3bb fix bug 309831, reviewed by gagan
git-svn-id: svn://10.0.0.236/trunk@6453 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 23:38:25 +00:00
waterson%netscape.com
dd6486ad2f Removed until approval from modul owner.
git-svn-id: svn://10.0.0.236/trunk@6452 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 23:33:15 +00:00
rickg%netscape.com
45deb3064c first pass at getting javascript to work in parser
git-svn-id: svn://10.0.0.236/trunk@6451 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 23:29:30 +00:00
akkana%netscape.com
aa5e0e516c New composer Table menu.
git-svn-id: svn://10.0.0.236/trunk@6449 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 23:26:39 +00:00
buster%netscape.com
de71f78fb7 NOWRAP turned off in fixed-width cells for backwards compatibility
we handle inconsistent width attributes better


git-svn-id: svn://10.0.0.236/trunk@6448 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 23:26:23 +00:00
akkana%netscape.com
9fb0d085b6 Strings for table menu and replace dialog
git-svn-id: svn://10.0.0.236/trunk@6447 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 23:26:05 +00:00
akkana%netscape.com
a5d27ceb5d Split off find dialog into new file; add optional Replace functionality to it.
git-svn-id: svn://10.0.0.236/trunk@6446 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 23:25:16 +00:00
mccabe%netscape.com
171803661a typedef of int64 for osf now avoids long long - because long long is a
compiler extension, and we want to be able to turn off compiler
extensions for osf.  And longs are long long there anyway.

Propagated from nspr, courtesy wtc.


git-svn-id: svn://10.0.0.236/trunk@6445 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 23:12:09 +00:00
waterson%netscape.com
eaad300991 Initial revision.
git-svn-id: svn://10.0.0.236/trunk@6444 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 23:07:58 +00:00
kin%netscape.com
3c85661c1e Fix for bug #300809: Composer adds and deletes tags; bad image display;
HTML does not validate
Modified CEditContainerElement::PrintEnd() to fix problem where we were
not closing all CENTER tags.


git-svn-id: svn://10.0.0.236/trunk@6443 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 23:04:39 +00:00
blythe%netscape.com
5e83276d6e Fix a few pref calls to check or assert for errors
git-svn-id: svn://10.0.0.236/trunk@6442 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 22:56:50 +00:00
danm%netscape.com
9cc5d97580 fixing glowcode build stompage from landing of jpeg branch
git-svn-id: svn://10.0.0.236/trunk@6441 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 22:49:02 +00:00
waterson%netscape.com
b2e56958d6 Fixed MOZ_PROF to include symbols, build optimized.
git-svn-id: svn://10.0.0.236/trunk@6438 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 22:47:22 +00:00
waterson%netscape.com
d161cfc014 Fixed MOZ_PROF to build optimized with symbols.
git-svn-id: svn://10.0.0.236/trunk@6437 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 22:46:44 +00:00
blythe%netscape.com
3af887bde9 VC6 support, aprvd Suresh Duddi
git-svn-id: svn://10.0.0.236/trunk@6436 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 22:46:04 +00:00
blythe%netscape.com
2fe9fa8ecb VC6 support, aprvd module owner
git-svn-id: svn://10.0.0.236/trunk@6435 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 22:45:25 +00:00
timm%netscape.com
aa0dbf56cd turn off trace in non-debug builds
git-svn-id: svn://10.0.0.236/trunk@6434 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 22:43:39 +00:00
timm%netscape.com
890b559654 add GetISPSupportPhoneNumber
git-svn-id: svn://10.0.0.236/trunk@6433 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 22:42:52 +00:00
timm%netscape.com
716900606e remove trace statements
git-svn-id: svn://10.0.0.236/trunk@6432 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 22:42:14 +00:00
robinf%netscape.com
c52e5c3bcb fixed corrupted file
git-svn-id: svn://10.0.0.236/trunk@6431 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 22:41:58 +00:00
timm%netscape.com
12cf6870b1 fix path bug
git-svn-id: svn://10.0.0.236/trunk@6430 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 22:41:37 +00:00
timm%netscape.com
d3f0b6a904 add isp support number window
git-svn-id: svn://10.0.0.236/trunk@6429 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 22:41:21 +00:00
timm%netscape.com
adde46a635 make sure to rm ispplans.htm
git-svn-id: svn://10.0.0.236/trunk@6428 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 22:41:04 +00:00
timm%netscape.com
d6c49742c1 was going to wrong error page
git-svn-id: svn://10.0.0.236/trunk@6427 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 22:40:04 +00:00
robinf%netscape.com
18615611ed Main.htm: removed text about profiles; dialinf1.htm: reworded description of outside line dialing prefix
git-svn-id: svn://10.0.0.236/trunk@6426 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 22:39:42 +00:00
clayton
a8566748df Fixed some constant handling for constants that return strings or other
non-numeric data.  Fixes problem with LDAP_OPT_ON/LDAP_OPT_OFF.


git-svn-id: svn://10.0.0.236/trunk@6425 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 22:31:03 +00:00
rickg%netscape.com
a927f7ef63 tons-o-fixes in the parser
git-svn-id: svn://10.0.0.236/trunk@6422 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 21:57:43 +00:00
michaelp%netscape.com
d6b827040d re-added optimization with the ability to use it anywhere by setting the
NS_VMREFRESH_AUTO_DOUBLE_BUFFER when calling UpdateView().


git-svn-id: svn://10.0.0.236/trunk@6421 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 21:49:02 +00:00
michaelp%netscape.com
e54b780b41 backed out change for a moment.
git-svn-id: svn://10.0.0.236/trunk@6420 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 21:32:02 +00:00
michaelp%netscape.com
62cb870d39 re-added conditional double buffering based on screen area thresholding.
git-svn-id: svn://10.0.0.236/trunk@6419 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 21:29:47 +00:00
kostello%netscape.com
3b64843424 Added SetDefaultString for the Save dialog
git-svn-id: svn://10.0.0.236/trunk@6418 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 21:12:19 +00:00
michaelp%netscape.com
b8cc27a234 added APIs to viewmanager to enable and disable all rendering.
made Refresh() APIs of viewmanager implementation private.


git-svn-id: svn://10.0.0.236/trunk@6417 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 21:05:50 +00:00
sman%netscape.com
461d137537 libmime updates: security cleansing
git-svn-id: svn://10.0.0.236/trunk@6416 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 21:05:24 +00:00
rpotts%netscape.com
1d8ecc8b94 Get rid of those unix warnings...
git-svn-id: svn://10.0.0.236/trunk@6415 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 21:03:33 +00:00
rpotts%netscape.com
ce01187b95 Get rid of some unix warnings...
git-svn-id: svn://10.0.0.236/trunk@6414 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 20:53:38 +00:00
sman%netscape.com
ae398f4411 libmime updates: move crypto into rosetta
git-svn-id: svn://10.0.0.236/trunk@6413 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 20:47:34 +00:00
clayton
4ea2e640fb - Moved everything from @EXPORT to @EXPORT_OK and %EXPORT_TAGS
- Removed references to 'donley@cig.mot.com' substituted 'donley@wwa.com'


git-svn-id: svn://10.0.0.236/trunk@6411 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 19:01:51 +00:00
kipp%netscape.com
4ae741811a snapshot
git-svn-id: svn://10.0.0.236/trunk@6410 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 18:20:55 +00:00
kipp%netscape.com
01a663f33e Added base tag support
git-svn-id: svn://10.0.0.236/trunk@6409 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 18:20:27 +00:00
kipp%netscape.com
01768db263 support base href/target
git-svn-id: svn://10.0.0.236/trunk@6408 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 18:18:05 +00:00
kipp%netscape.com
d66f99c127 Support base_href attributes
git-svn-id: svn://10.0.0.236/trunk@6407 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 18:17:36 +00:00
kipp%netscape.com
11ea3f2bd6 New atoms for base tag handling
git-svn-id: svn://10.0.0.236/trunk@6406 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 18:16:24 +00:00
kipp%netscape.com
dc04c5339f Handle absolute url's better
git-svn-id: svn://10.0.0.236/trunk@6405 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 18:16:05 +00:00
dcone%netscape.com
c0015d5b1d New file for the macintosh main viewer routine
git-svn-id: svn://10.0.0.236/trunk@6404 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 17:19:44 +00:00
buster%netscape.com
2f95de4aac turn off debug
git-svn-id: svn://10.0.0.236/trunk@6403 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 17:15:12 +00:00
buster%netscape.com
5c09b61055 GetColCount now returns the effective column count of the table, adjusted
for nonsense COLSPANs at the edge of a table.  Fixed some bugs this uncovered
where the cell was being asked for its colspan attribute rather than the table
being asked for the cell's effective col span.


git-svn-id: svn://10.0.0.236/trunk@6402 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 16:51:16 +00:00
kipp%netscape.com
44408c2dc0 Check style unit before translating relative position coords
git-svn-id: svn://10.0.0.236/trunk@6401 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 16:22:54 +00:00
despotdaemon%netscape.com
8a69b9ef71 Pseudo-automatic update of changes made by harishd@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@6400 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 16:16:23 +00:00
kipp%netscape.com
e573e3c06b Futz the fonts a bit to make it look a little softer
git-svn-id: svn://10.0.0.236/trunk@6399 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 16:03:11 +00:00
kipp%netscape.com
927512c9f4 Allow most everything to live in a caption, just like a table cell
git-svn-id: svn://10.0.0.236/trunk@6398 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 15:54:18 +00:00
clayton
2b5a9cae67 Adding write.pl test program - again...
git-svn-id: svn://10.0.0.236/trunk@6397 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 15:35:52 +00:00
clayton
faaa021048 Actually adding the files that were under t/
git-svn-id: svn://10.0.0.236/trunk@6396 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 15:32:08 +00:00
clayton
752e571041 Moved t to test_api, as 't' is a special use directory for running multiple
automated tests.  Perhaps we will change our tests to run this way in
   the future, but until then, it breaks 'make test'.


git-svn-id: svn://10.0.0.236/trunk@6395 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 15:21:41 +00:00
spider%netscape.com
6a5a9ab7c7 Pull JULIAN_TREX_BRANCH instead of Nav45
git-svn-id: svn://10.0.0.236/trunk@6394 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 15:20:54 +00:00
clayton
fd87d7144a Fixed conflicts from last checkin.
git-svn-id: svn://10.0.0.236/trunk@6393 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 15:19:10 +00:00
spider%netscape.com
bd3d6d162c Pull JULIAN_TREX_BRANCH rather than Nav45_BRANCH
git-svn-id: svn://10.0.0.236/trunk@6392 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 14:48:51 +00:00
spider%netscape.com
179d62077d If MOZ_DEBUG set, force USE_DEBUG_RTL
git-svn-id: svn://10.0.0.236/trunk@6391 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 14:27:06 +00:00
spider%netscape.com
83deae3fe0 Module Specific Error Generation
git-svn-id: svn://10.0.0.236/trunk@6390 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 13:47:09 +00:00
rpotts%netscape.com
b174cb490f Added IStreamListener::OnStatus(...)...
git-svn-id: svn://10.0.0.236/trunk@6389 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 10:02:50 +00:00
morse%netscape.com
6d7c9aeb3e fix build bustage
git-svn-id: svn://10.0.0.236/trunk@6388 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 08:27:56 +00:00
morse%netscape.com
00f1429fcc moved variables from FE to BE, reviewed by dfm
git-svn-id: svn://10.0.0.236/trunk@6386 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 07:29:38 +00:00
morse%netscape.com
4f1c5ed789 moved some privacy variables from FE to BE, reviewed by blythe
git-svn-id: svn://10.0.0.236/trunk@6385 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 07:26:46 +00:00
morse%netscape.com
1fe6378eb7 remove receipt transactions from emenu, reviewed by blythe
git-svn-id: svn://10.0.0.236/trunk@6384 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 07:21:37 +00:00
morse%netscape.com
a218080548 add prefs for privacy features
git-svn-id: svn://10.0.0.236/trunk@6383 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 07:19:42 +00:00
rpotts%netscape.com
3f44a70bba When stopping a TextTimer Cancel(...) the nsTimer before releasing it...
git-svn-id: svn://10.0.0.236/trunk@6381 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 05:41:34 +00:00
rpotts%netscape.com
9b3fc28076 Fixed up some reference counting issues...
git-svn-id: svn://10.0.0.236/trunk@6380 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 05:39:18 +00:00
rpotts%netscape.com
dcf0540afc Removed an incorrect comment...
git-svn-id: svn://10.0.0.236/trunk@6379 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 05:33:29 +00:00
joki%netscape.com
0b0de7e5d8 Adding GetScriptGlobalObject function to nsIScriptContextOwner interface
git-svn-id: svn://10.0.0.236/trunk@6378 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 05:07:51 +00:00
joki%netscape.com
5333c0c290 Adding a few more events types.
git-svn-id: svn://10.0.0.236/trunk@6377 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 05:07:07 +00:00
joki%netscape.com
fb49c0d645 Hooking up window element to event chain and adding in support for a few more event types.
git-svn-id: svn://10.0.0.236/trunk@6376 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 05:06:44 +00:00
joki%netscape.com
ff52657708 Hooking up the 'window' object into the event chain.
git-svn-id: svn://10.0.0.236/trunk@6375 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 05:05:42 +00:00
timm%netscape.com
169e3faf3a 242587 change text on page to UI spec
git-svn-id: svn://10.0.0.236/trunk@6374 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 05:05:17 +00:00
timm%netscape.com
158355fa13 300984 fix feature icons
git-svn-id: svn://10.0.0.236/trunk@6373 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 05:01:14 +00:00
timm%netscape.com
fa69365814 added abililty to make release builds
git-svn-id: svn://10.0.0.236/trunk@6372 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 04:36:26 +00:00
timm%netscape.com
f2b16bf5ec make level match
git-svn-id: svn://10.0.0.236/trunk@6371 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 04:35:58 +00:00
timm%netscape.com
58dea11975 added call to generate compare page contents
git-svn-id: svn://10.0.0.236/trunk@6370 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 04:35:20 +00:00
timm%netscape.com
a7b6073bb3 renamed message to setMessage and remove_message to clearMessage
git-svn-id: svn://10.0.0.236/trunk@6369 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 04:34:20 +00:00
timm%netscape.com
be48a74d02 fixed javascript ids
git-svn-id: svn://10.0.0.236/trunk@6368 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 04:33:48 +00:00
timm%netscape.com
1ef3f5a16c added functionality for more info page
git-svn-id: svn://10.0.0.236/trunk@6367 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 04:33:22 +00:00
brade%netscape.com
b4266e4fea make editor call API change
git-svn-id: svn://10.0.0.236/trunk@6366 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 04:15:11 +00:00
brade%netscape.com
f1ce19d2c1 remove warnings on Macintosh; clean up internal API calls
git-svn-id: svn://10.0.0.236/trunk@6365 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 04:14:39 +00:00
brade%netscape.com
0e8f476059 remove warnings on Macintosh; clean up internal API calls
(if'd out for now)


git-svn-id: svn://10.0.0.236/trunk@6364 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 04:12:58 +00:00
brade%netscape.com
29d322c2d2 remove warnings on Macintosh; clean up internal API calls
git-svn-id: svn://10.0.0.236/trunk@6363 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 04:05:16 +00:00
brade%netscape.com
b237fb9611 fix warnings (only for Macintosh)
git-svn-id: svn://10.0.0.236/trunk@6362 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 03:58:28 +00:00
buster%netscape.com
37153913f6 fixed column balancing for case where minColWidth > specifiedFixedColumnWidth
git-svn-id: svn://10.0.0.236/trunk@6361 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 03:53:59 +00:00
troy%netscape.com
1de4ef58fe Changed PaintChildren() to check for lines that intersect the damage
area


git-svn-id: svn://10.0.0.236/trunk@6359 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 03:18:35 +00:00
despotdaemon%netscape.com
d95db16f30 Pseudo-automatic update of changes made by mjudge@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@6356 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 03:05:22 +00:00
brade%netscape.com
e8fbbb15f2 fix warning on Macintosh
git-svn-id: svn://10.0.0.236/trunk@6354 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 01:56:47 +00:00
brade%netscape.com
5c1e57c90a new resizing; cursor stuff; other stuff
git-svn-id: svn://10.0.0.236/trunk@6353 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 01:55:23 +00:00
scullin%netscape.com
ee9b5b7370 Really fix cookies for modular netlib.
git-svn-id: svn://10.0.0.236/trunk@6352 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 01:34:52 +00:00
blythe%netscape.com
d27423a88c aprvd Scott Furman, changes to support VC6 compiler
git-svn-id: svn://10.0.0.236/trunk@6351 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 01:30:02 +00:00
blythe%netscape.com
7257a7479d VC6 compiler support changes, editor files reviewed by mjudge
git-svn-id: svn://10.0.0.236/trunk@6350 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 01:12:13 +00:00
despotdaemon%netscape.com
23ac6801ae Pseudo-automatic update of changes made by harishd@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@6349 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 01:10:18 +00:00
despotdaemon%netscape.com
fb4ca610ec Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@6348 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 01:03:54 +00:00
wtc%netscape.com
94bbe5a07a Merged Linux/MIPS patch contributed by Ralf <ralf@uni-koblenz.de>.
Files changed: _linux.cfg and _linux.h.


git-svn-id: svn://10.0.0.236/trunk@6347 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 00:52:44 +00:00
pierre%netscape.com
8776327b1e Back to MOZ_MEDIUM: updated the splashscreen.
git-svn-id: svn://10.0.0.236/trunk@6346 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 00:52:00 +00:00
blythe%netscape.com
8c1000970a Support VC6 compiler
git-svn-id: svn://10.0.0.236/trunk@6345 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 00:48:33 +00:00
buster%netscape.com
ec0b3d1318 any table with a nonsense rowspan lays out better
git-svn-id: svn://10.0.0.236/trunk@6344 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 00:43:09 +00:00
akkana%netscape.com
1021fec2f1 244341: infinite loop/hang in text layout. Reviewed by Nisheeth.
Thanks to Matthew Dillon <dillon@backplane.com> for the fix!


git-svn-id: svn://10.0.0.236/trunk@6343 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 00:39:30 +00:00
michaelp%netscape.com
8e0db3595b fixed resource leak.
git-svn-id: svn://10.0.0.236/trunk@6342 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 00:29:17 +00:00
clu%netscape.com
c5602959cb #71523; reviewed by jfrancis.
Added EDITDLG_BROWSE_PUBLISHED, a new dialog resource id.


git-svn-id: svn://10.0.0.236/trunk@6341 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 00:22:35 +00:00
clu%netscape.com
1bf750dd57 #103493; #71523; #300239; reviewed by jfrancis.
1) Brings up extra-html help window.
2) Added a new dialog box to see if the user wants to browse the the default location after publishing.  
3) Selects the row field when the table info dialog box first pops up.


git-svn-id: svn://10.0.0.236/trunk@6340 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 00:20:48 +00:00
slamm%netscape.com
624b40b849 Clear dropdown history in location bar when the user clears the history (in Prefs). Bug #114674 (P1 & TS1). This change also keeps all the dropdown lists in sync.
git-svn-id: svn://10.0.0.236/trunk@6339 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 00:19:21 +00:00
clu%netscape.com
459baf5730 #300236; #300209; #300231.
New layout in table and cell dialogs.  Also changed tab order in table info, and disable/enable popup menus in table info correctly.


git-svn-id: svn://10.0.0.236/trunk@6338 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 00:15:34 +00:00
clu%netscape.com
bd6227ad48 #300219 and #67722; reviewed by jfrancis.
Fixed carret redrawing in tables.  Also fixed bullet undo/redo.


git-svn-id: svn://10.0.0.236/trunk@6337 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 00:10:09 +00:00
troy%netscape.com
6ea9614ff6 CHanged Invalidate() to pass the NS_VMREFRESH_NO_SYNC flag. Temporary
measure to keep us from painting before the DidReflow() notifications
have been sent...


git-svn-id: svn://10.0.0.236/trunk@6336 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-24 00:01:53 +00:00
rjc%netscape.com
f070701e0c Bug fix re: HT_SetNodeData()
git-svn-id: svn://10.0.0.236/trunk@6335 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 23:51:12 +00:00
pinkerton%netscape.com
43591af1ce Fix bug where an infinite loop in the RDF data file could blow out the stack. Limits menu to 5 levels.
git-svn-id: svn://10.0.0.236/trunk@6334 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 23:48:46 +00:00
troy%netscape.com
8f713e8e5f Tweaked the repaint code in Reflow() to make sure the entire frame is
repainted for a resize reflow


git-svn-id: svn://10.0.0.236/trunk@6333 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 23:28:03 +00:00
kipp%netscape.com
1b1be3143d Use proper cast path for query-interfaces
git-svn-id: svn://10.0.0.236/trunk@6332 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 23:13:39 +00:00
vidur%netscape.com
e5d5261a5e Simple document.write test
git-svn-id: svn://10.0.0.236/trunk@6331 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 22:47:32 +00:00
vidur%netscape.com
9f87056a2e Added missing parameter to scanner constructor in the case where we're parsing a string
git-svn-id: svn://10.0.0.236/trunk@6330 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 22:46:48 +00:00
kmcclusk%netscape.com
03a157cd07 Added mAlphaBit field to prevent crashes when loading images in the viewer
git-svn-id: svn://10.0.0.236/trunk@6329 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 22:46:02 +00:00
scullin%netscape.com
6fed7dc68b Fix operator grouping warning.
git-svn-id: svn://10.0.0.236/trunk@6328 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 22:27:53 +00:00
bjorn%netscape.com
8b53ff3864 Restoring tree to previous version. Should not affect the build. The previous
checkin had no impact on the build either, but I'll wait with these changes until
the tree is open again. Sorry for the inconvenience.


git-svn-id: svn://10.0.0.236/trunk@6327 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 22:25:16 +00:00
michaelp%netscape.com
4235b6cfbb added libraptorplugin.so to link libs.
git-svn-id: svn://10.0.0.236/trunk@6326 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 22:12:09 +00:00
dcone%netscape.com
57e35a7302 added new manifest support for layout/base/src
git-svn-id: svn://10.0.0.236/trunk@6325 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 22:07:20 +00:00
vidur%netscape.com
73ae93f3a5 nsHTMLDocument now holds on to its parser till loading is complete. Hooked up document.write and document.writeln
git-svn-id: svn://10.0.0.236/trunk@6324 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 22:06:05 +00:00
dcone%netscape.com
dc272fac46 added manifest file
git-svn-id: svn://10.0.0.236/trunk@6323 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 22:05:51 +00:00
dcone%netscape.com
d5136b7105 fixed the project so the Async image file for nsImageContext is used
git-svn-id: svn://10.0.0.236/trunk@6322 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 22:04:02 +00:00
buster%netscape.com
73c07a04f5 completed AdjustTableThatIsTooWide, now gets the table down to the right width.
git-svn-id: svn://10.0.0.236/trunk@6321 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 21:55:45 +00:00
michaelp%netscape.com
6c788bcc59 unix will build again...
git-svn-id: svn://10.0.0.236/trunk@6320 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 21:54:26 +00:00
troy%netscape.com
c76ea311f7 Added XXX description of floater problem
git-svn-id: svn://10.0.0.236/trunk@6319 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 21:35:53 +00:00
troy%netscape.com
4bf14165ae Fixed nbody code to do a WillReflow() and to size the frame when incrementally
reflowing an absolutely positioned frame


git-svn-id: svn://10.0.0.236/trunk@6316 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 21:16:09 +00:00
rickg%netscape.com
55ada9fcc7 bug fixes; more docs; lots of new testing
git-svn-id: svn://10.0.0.236/trunk@6315 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 21:10:19 +00:00
michaelp%netscape.com
4ab5768050 removed double pull of plugins... oops again.
git-svn-id: svn://10.0.0.236/trunk@6314 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 21:02:31 +00:00
michaelp%netscape.com
6c911103de oops again...
git-svn-id: svn://10.0.0.236/trunk@6313 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 20:59:45 +00:00
michaelp%netscape.com
214d4a18ac oops.
git-svn-id: svn://10.0.0.236/trunk@6312 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 20:57:34 +00:00
michaelp%netscape.com
5828551631 modified to pull plugins.
git-svn-id: svn://10.0.0.236/trunk@6311 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 20:55:32 +00:00
dcone%netscape.com
6502e2da9d first version
git-svn-id: svn://10.0.0.236/trunk@6310 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 20:49:20 +00:00
bjorn%netscape.com
f507367ff5 New version of jsIScriptable.h (clobbers the old one). New files added for
testing (MyScriptable) and embedding support (JSWrapper,jsIScriptable,main).


git-svn-id: svn://10.0.0.236/trunk@6309 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 20:46:28 +00:00
michaelp%netscape.com
117c98f47a modified for new streaming APIs.
git-svn-id: svn://10.0.0.236/trunk@6308 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 20:43:08 +00:00
michaelp%netscape.com
5887cc994a added in plugins and cleaned up.
git-svn-id: svn://10.0.0.236/trunk@6306 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 20:36:48 +00:00
michaelp%netscape.com
d3c5fd6e43 cleaning and plugin preparation.
git-svn-id: svn://10.0.0.236/trunk@6305 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 20:36:06 +00:00
michaelp%netscape.com
b492b0ebd1 modified for new streaming APIs.
git-svn-id: svn://10.0.0.236/trunk@6304 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 20:35:43 +00:00
kmcclusk%netscape.com
af0caa0115 Added KeyRelease event generation
git-svn-id: svn://10.0.0.236/trunk@6303 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 20:34:46 +00:00
michaelp%netscape.com
8afa74e8ef modified streaming APIs to be what the OJI guys want.
git-svn-id: svn://10.0.0.236/trunk@6302 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 20:34:01 +00:00
dcone%netscape.com
a86f7df66e first version of manifest for this directory
git-svn-id: svn://10.0.0.236/trunk@6301 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 20:31:35 +00:00
slamm%netscape.com
467d2a3ccf Bring over another change from the RDFBranch.
git-svn-id: svn://10.0.0.236/trunk@6300 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 20:29:01 +00:00
troy%netscape.com
5b0c4cb47f Moved cde that does damage repair for a resize reflow from the
body to the root content frame


git-svn-id: svn://10.0.0.236/trunk@6299 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 20:19:05 +00:00
guha%netscape.com
58eae65277 Fix for crashing bug when related links pane is docked
git-svn-id: svn://10.0.0.236/trunk@6298 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 20:08:27 +00:00
spider%netscape.com
289fec2239 Backing out nsError.h revision 3.2 until the tree opens...
git-svn-id: svn://10.0.0.236/trunk@6297 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 20:08:13 +00:00
kipp%netscape.com
9939f47884 new
git-svn-id: svn://10.0.0.236/trunk@6296 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 19:58:09 +00:00
kipp%netscape.com
33be9dd48b Removed hack reflow code now that body/block do it properly
git-svn-id: svn://10.0.0.236/trunk@6295 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 19:56:11 +00:00
kipp%netscape.com
2b5bf809b8 Handle floaters better by triggering a resize-reflow on the body's content frame after reflowing the floater
git-svn-id: svn://10.0.0.236/trunk@6294 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 19:55:27 +00:00
kipp%netscape.com
9b7a4a531c Fix floater placement by removing it's old location before adding it again; use proper reflow state when getting a floaters style-size; don't forget to place below-current-line-floaters on frame-appended reflow
git-svn-id: svn://10.0.0.236/trunk@6293 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 19:54:44 +00:00
slamm%netscape.com
b243f33db6 Change some extern'd functions to static. Fixes Solaris build bustage.
git-svn-id: svn://10.0.0.236/trunk@6292 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 19:51:30 +00:00
slamm%netscape.com
0451077787 Fix more Solaris build bustage.
git-svn-id: svn://10.0.0.236/trunk@6291 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 19:43:11 +00:00
slamm%netscape.com
8be75e77c8 Fix more build bustage on Solaris.
git-svn-id: svn://10.0.0.236/trunk@6290 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 19:39:37 +00:00
spider%netscape.com
d87285d4ce Added Support for Module Specific Error Codes which are compatible with
the native platform.


git-svn-id: svn://10.0.0.236/trunk@6289 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 19:28:00 +00:00
slamm%netscape.com
da5747b7fb Kill a warning.
git-svn-id: svn://10.0.0.236/trunk@6288 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 19:26:31 +00:00
slamm%netscape.com
45706a2dab Add some casts to fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@6287 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 19:12:31 +00:00
rjc%netscape.com
0efa4ab3f7 Propagate change to notification handler parameters to all clients (RDF_BRANCH landing).
git-svn-id: svn://10.0.0.236/trunk@6286 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 19:05:47 +00:00
racham%netscape.com
baee9c9c09 BUG 181240 : Added dial2stp.js to support dial2stp.htm
git-svn-id: svn://10.0.0.236/trunk@6285 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 18:44:40 +00:00
racham%netscape.com
97c75cd418 BUG 181240 : Added dial1stp.js to support dial1stp.htm
git-svn-id: svn://10.0.0.236/trunk@6284 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 18:43:25 +00:00
racham%netscape.com
818c1598c1 BUG 181240 : Added dial2stp.htm which is equivalent ot dialinf2.htm
git-svn-id: svn://10.0.0.236/trunk@6283 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 18:42:42 +00:00
racham%netscape.com
16c214e981 Added dial1stp.htm file that is required for 1step world
git-svn-id: svn://10.0.0.236/trunk@6282 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 18:41:32 +00:00
racham%netscape.com
01e39bf79a BUG 181240 : Setting right syntax for variable oneStepMode
git-svn-id: svn://10.0.0.236/trunk@6281 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 18:40:06 +00:00
ramiro%netscape.com
b3dc7a2697 Mege from RDF_BRANCH_060398 branch. Also known as RDF landing.
git-svn-id: svn://10.0.0.236/trunk@6280 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 18:38:03 +00:00
racham%netscape.com
5067649fe6 BUG 181240 : Changed Javascript ID to Connect 102
git-svn-id: svn://10.0.0.236/trunk@6279 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 18:37:50 +00:00
racham%netscape.com
348a392e75 BUG 181240 : Added display control for 1step world
git-svn-id: svn://10.0.0.236/trunk@6278 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 18:36:16 +00:00
racham%netscape.com
1ab28e6260 BUG 181240 : Added Connect to Server to the control panel
git-svn-id: svn://10.0.0.236/trunk@6277 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 18:34:58 +00:00
racham%netscape.com
17453d56f0 BUG 181240 : Changed navigation to allow 1step and 2step modes
git-svn-id: svn://10.0.0.236/trunk@6276 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 18:32:29 +00:00
scullin%netscape.com
2be66236a5 Fixed build bustage. I can't believe people are still adding context
functions. They should be shot.


git-svn-id: svn://10.0.0.236/trunk@6275 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 18:31:05 +00:00
pinkerton%netscape.com
4c0a98ae4d Two new params added for column support (RDF_BRANCH landing).
git-svn-id: svn://10.0.0.236/trunk@6274 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 18:26:26 +00:00
pinkerton%netscape.com
1a647b3201 Update vocab used in properties for RDF_BRANCH landing
git-svn-id: svn://10.0.0.236/trunk@6273 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 18:26:08 +00:00
pinkerton%netscape.com
0cb550e1b2 Added laybuiltin.c for SHACK.
git-svn-id: svn://10.0.0.236/trunk@6272 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 18:25:49 +00:00
pinkerton%netscape.com
44752b9db7 Added support for SHACK and RDF_BRANCH landing.
git-svn-id: svn://10.0.0.236/trunk@6271 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 18:25:35 +00:00
ramiro%netscape.com
8a953006b3 C++ comment begone from c code. thank you.
git-svn-id: svn://10.0.0.236/trunk@6270 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 18:22:43 +00:00
peterl%netscape.com
0911285865 properly setup fonts and backgound colors
git-svn-id: svn://10.0.0.236/trunk@6269 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 18:16:11 +00:00
kmcclusk%netscape.com
cc5d2e7044 Initialize event structure for mouse events
git-svn-id: svn://10.0.0.236/trunk@6268 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 18:07:42 +00:00
peterl%netscape.com
b1788da65c replaced with one more useful
git-svn-id: svn://10.0.0.236/trunk@6267 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 18:05:35 +00:00
peterl%netscape.com
590cae8cb1 factored backgound finding code to nsStyleUtil
git-svn-id: svn://10.0.0.236/trunk@6266 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 18:05:03 +00:00
peterl%netscape.com
7dcc12313b added nsStyleUtil.cpp
git-svn-id: svn://10.0.0.236/trunk@6265 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 18:04:24 +00:00
peterl%netscape.com
dd9f55d2a4 factored font sizing code to nsStyleUtil
implemented font flags


git-svn-id: svn://10.0.0.236/trunk@6264 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 18:03:55 +00:00
peterl%netscape.com
ccca01f09b added nsStyleUtil.h
git-svn-id: svn://10.0.0.236/trunk@6263 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 18:02:55 +00:00
peterl%netscape.com
88f335a54b factored font size= code to style utils
added font flag support
body tag now sets default color


git-svn-id: svn://10.0.0.236/trunk@6262 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 17:58:22 +00:00
peterl%netscape.com
cbaf7c38af added font flags
git-svn-id: svn://10.0.0.236/trunk@6261 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 17:57:16 +00:00
peterl%netscape.com
37869e4433 added setters for default colors
git-svn-id: svn://10.0.0.236/trunk@6260 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 17:57:00 +00:00
peterl%netscape.com
986889e04c removed threed text hack, added font flags
git-svn-id: svn://10.0.0.236/trunk@6259 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 17:55:02 +00:00
peterl%netscape.com
6b8b1e525d tweaks to rounding problems with twips to pixels and font point sizes
added hack to support desdemona font for test cases


git-svn-id: svn://10.0.0.236/trunk@6258 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 17:52:40 +00:00
rjc%netscape.com
69afc71335 Export XP_GetNavCenterContext
git-svn-id: svn://10.0.0.236/trunk@6257 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 17:52:36 +00:00
rjc%netscape.com
77999d0f25 Add Java Security code into Mac project.
git-svn-id: svn://10.0.0.236/trunk@6256 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 17:50:48 +00:00
rjc%netscape.com
f9f414f38a Add prototypes.
git-svn-id: svn://10.0.0.236/trunk@6255 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 17:50:27 +00:00
hyatt%netscape.com
093c33bb46 Landing the WinFE RDF branch.
git-svn-id: svn://10.0.0.236/trunk@6254 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 17:48:39 +00:00
kmcclusk%netscape.com
9ce4fd6a3d Added key event support.
git-svn-id: svn://10.0.0.236/trunk@6253 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 17:47:28 +00:00
hyatt%netscape.com
9c0a5be316 Landing SHACK changes for RDF_BRANCH.
git-svn-id: svn://10.0.0.236/trunk@6252 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 17:44:53 +00:00
hyatt%netscape.com
94d927d118 Landing SHACK changes from RDF branch.
git-svn-id: svn://10.0.0.236/trunk@6251 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 17:44:04 +00:00
hyatt%netscape.com
93e1523a5b Committing changes for RDF branch landing.
git-svn-id: svn://10.0.0.236/trunk@6250 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 17:38:51 +00:00
hyatt%netscape.com
589041359f Landing the RDF branch.
git-svn-id: svn://10.0.0.236/trunk@6249 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 17:36:59 +00:00
dcone%netscape.com
fe06c4c582 deleted nsCellCol, nsCollColl and nsHTMLIFrame.cpp
git-svn-id: svn://10.0.0.236/trunk@6248 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 17:06:48 +00:00
dcone%netscape.com
8fa6cfff0c added nsIContentViewerContainer.h and nsIWebshell.h
git-svn-id: svn://10.0.0.236/trunk@6247 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 17:05:42 +00:00
kipp%netscape.com
fbc199b1b4 Work around scrolling bug and fix a memory leak with #ref url's
git-svn-id: svn://10.0.0.236/trunk@6246 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 15:29:04 +00:00
clayton
a89aaf3810 Fixed memory leak in hash2mod
Fixed segfault in avref2*
Replaced calls to av2modvals with avref2*


git-svn-id: svn://10.0.0.236/trunk@6244 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 12:34:32 +00:00
leif
43126b9a90 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@6243 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 11:05:59 +00:00
rickg%netscape.com
9e4bdbf96e tried again to fix linux build
git-svn-id: svn://10.0.0.236/trunk@6242 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 09:17:45 +00:00
rickg%netscape.com
4922d71172 fixed a linux build problem
git-svn-id: svn://10.0.0.236/trunk@6241 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 09:01:24 +00:00
ftang%netscape.com
d86de835bd fix bug #bug 122043; . This have been check in into 4.06 already.
git-svn-id: svn://10.0.0.236/trunk@6240 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 08:50:11 +00:00
ftang%netscape.com
ab5a9206b1 seperate Encoding menu into different menu spec so it will make sense
according to the type of window. Approved by ramiro


git-svn-id: svn://10.0.0.236/trunk@6239 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 08:44:30 +00:00
rickg%netscape.com
1988983aeb table bug fixes, heading fixes, performance, docs
git-svn-id: svn://10.0.0.236/trunk@6238 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 08:21:02 +00:00
leif
3eaf5c79b8 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@6237 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 05:31:22 +00:00
leif
d035e5af1a *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@6236 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 05:25:09 +00:00
troy%netscape.com
9da17705fc Moved code to invalidate dirty area for an initial reflow from the
body frame to the root content frame


git-svn-id: svn://10.0.0.236/trunk@6235 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 05:00:39 +00:00
joki%netscape.com
50ac03bebf Fix addref problem during mouseovers.
git-svn-id: svn://10.0.0.236/trunk@6233 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 04:53:14 +00:00
rpotts%netscape.com
431c95c8f5 Get rid of those tabs...
git-svn-id: svn://10.0.0.236/trunk@6231 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 04:26:07 +00:00
rpotts%netscape.com
181523663d Fixed uninitialized variable...
git-svn-id: svn://10.0.0.236/trunk@6230 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 04:25:20 +00:00
rpotts%netscape.com
cb4fec62ef Added GetDocumentLoader(...) and support for creating nested document loaders if the webshell is nested itself...
git-svn-id: svn://10.0.0.236/trunk@6229 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 04:24:36 +00:00
rpotts%netscape.com
56a717417c Added GetDocumentLoader(...).
git-svn-id: svn://10.0.0.236/trunk@6228 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 04:23:00 +00:00
troy%netscape.com
e67dda592f Added code to Reflow() to invalidate the damaged areas
git-svn-id: svn://10.0.0.236/trunk@6227 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 04:22:41 +00:00
troy%netscape.com
4a9451f206 Changed MoveViewTo() so it doesn't do any painting unless the
origin actually changes


git-svn-id: svn://10.0.0.236/trunk@6226 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 04:21:05 +00:00
cmanske%netscape.com
5919a65f53 Added status info for table cursors. Implemented new drag cursor and drag table and cell behavior
git-svn-id: svn://10.0.0.236/trunk@6225 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 04:20:38 +00:00
cmanske%netscape.com
8ac0270738 Fixed bugs 174178, 188530, 299735. Implemented new drag cell and table behavior
git-svn-id: svn://10.0.0.236/trunk@6224 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 04:18:49 +00:00
cmanske%netscape.com
170d9ecd11 Added strings for table editing status. Added function to give user feedback to select line in Composer
git-svn-id: svn://10.0.0.236/trunk@6223 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 04:18:07 +00:00
cmanske%netscape.com
7fb2283c96 Added new cursor to indicate selecting a line in Composer
git-svn-id: svn://10.0.0.236/trunk@6222 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 04:07:24 +00:00
pinkerton%netscape.com
1b584db1e9 Fix warning about assignment to temp (thanks to paule@edmark.com).
git-svn-id: svn://10.0.0.236/trunk@6221 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 04:03:02 +00:00
pinkerton%netscape.com
252797444a Migrate over bugfixes for bug #116389 (form submission fixes).
git-svn-id: svn://10.0.0.236/trunk@6220 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 04:02:03 +00:00
joki%netscape.com
5352fa5b8e More event stuff. Modified HandleDOMEvent, modified nsGUIEvent types, added mouseover, mouseout.
git-svn-id: svn://10.0.0.236/trunk@6219 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 02:55:33 +00:00
despotdaemon%netscape.com
718c6d0a66 Pseudo-automatic update of changes made by benito@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@6214 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-23 00:14:54 +00:00
kipp%netscape.com
60401b4303 Implement scroll to ref
git-svn-id: svn://10.0.0.236/trunk@6210 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 23:42:47 +00:00
kipp%netscape.com
677f8123bb Init mStatus
git-svn-id: svn://10.0.0.236/trunk@6209 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 23:41:36 +00:00
kipp%netscape.com
021f275c40 Implement GetURL
git-svn-id: svn://10.0.0.236/trunk@6208 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 23:40:54 +00:00
kipp%netscape.com
b6847ea0a2 Added GetURL method
git-svn-id: svn://10.0.0.236/trunk@6207 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 23:40:27 +00:00
kipp%netscape.com
17974ca433 Implement ScrollTo method
git-svn-id: svn://10.0.0.236/trunk@6206 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 23:39:56 +00:00
kipp%netscape.com
03ec186995 Added ScrollTo method
git-svn-id: svn://10.0.0.236/trunk@6205 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 23:39:23 +00:00
kipp%netscape.com
4a3ed7cb7d Added in parsing for references
git-svn-id: svn://10.0.0.236/trunk@6204 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 23:38:20 +00:00
vidur%netscape.com
d1ec90d994 Reenabled JSConsole.
git-svn-id: svn://10.0.0.236/trunk@6203 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 23:34:07 +00:00
vidur%netscape.com
63fb0a9b04 Fixed HTMLDocument and HTMLCollection interfaces
git-svn-id: svn://10.0.0.236/trunk@6202 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 23:33:17 +00:00
vidur%netscape.com
5c9e91ae0c Introduced nsContentLists. Added a DocumentWillBeDestroyed method to nsIDocumentObserver. Added a document parameter to all DocumentObserver notifications. Added the nsIDOMHTMLDocument interface to HTMLDocument. Implemented document.images, etc and getElementsByTagName.
git-svn-id: svn://10.0.0.236/trunk@6201 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 23:32:19 +00:00
jevering%netscape.com
43474df1cd Fixed build problem on NT 5.0 with null exports line.
git-svn-id: svn://10.0.0.236/trunk@6200 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 23:25:35 +00:00
scullin%netscape.com
1aba8c9108 Fix win95 build bustage.
git-svn-id: svn://10.0.0.236/trunk@6199 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 23:21:23 +00:00
leif
6d635e52a6 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@6198 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 22:49:55 +00:00
leif
103fac8e49 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@6195 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 22:38:38 +00:00
leif
4b70ba63b9 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@6194 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 22:35:46 +00:00
troy%netscape.com
282ad01de6 Changed mEmptyString to be a static const nsAutoString, and commented
out mName because it isn't being used


git-svn-id: svn://10.0.0.236/trunk@6193 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 22:18:14 +00:00
hshaw%netscape.com
86f2db9106 Changes for bug#301401, remove java from build, ldap library is needed independent of MOZ_JAVA
git-svn-id: svn://10.0.0.236/trunk@6192 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 22:04:31 +00:00
spider%netscape.com
05f3322529 Pull Nav45_BRANCH for Julian now
git-svn-id: svn://10.0.0.236/trunk@6191 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 22:02:33 +00:00
rods%netscape.com
c4bfa9d561 turning off debug
git-svn-id: svn://10.0.0.236/trunk@6190 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 22:01:46 +00:00
spider%netscape.com
99fce32288 Pull Nav45_BRANCH of Julian instead
git-svn-id: svn://10.0.0.236/trunk@6189 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 22:01:08 +00:00
rods%netscape.com
bb3075fd02 selection improvements
git-svn-id: svn://10.0.0.236/trunk@6188 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 22:00:23 +00:00
rods%netscape.com
18fe376320 selection improvements
git-svn-id: svn://10.0.0.236/trunk@6187 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 21:56:48 +00:00
troy%netscape.com
522244780d Added some '=' operator member functions to nsAutoString
git-svn-id: svn://10.0.0.236/trunk@6185 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 21:38:48 +00:00
sar%netscape.com
49a6d2747e Pam Nunn- JPEG landing
git-svn-id: svn://10.0.0.236/trunk@6184 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 21:33:05 +00:00
pnunn%netscape.com
a4d038762d Landing JPEG_BRANCH
git-svn-id: svn://10.0.0.236/trunk@6182 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 21:17:01 +00:00
pnunn%netscape.com
c544a8329e Landing JPEG_BRANCH.
git-svn-id: svn://10.0.0.236/trunk@6181 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 21:15:59 +00:00
terry%netscape.com
a1d0935400 Call ldap with only 20 people at a time, because it sometimes seems to
choke if you give it too many at once.


git-svn-id: svn://10.0.0.236/trunk@6180 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 21:12:19 +00:00
buster%netscape.com
87d38283ca fixed-width columns now respected when their content desired width exceeds
the specified width.


git-svn-id: svn://10.0.0.236/trunk@6179 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 20:06:31 +00:00
terry%netscape.com
b27eb6980d Can't use /bin/mail, so be disgusting and use dolog.pl just to cause mail to be sent.
git-svn-id: svn://10.0.0.236/trunk@6178 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 19:02:30 +00:00
terry%netscape.com
4877d40dd3 Fix to deal with new '%' style of usernames.
git-svn-id: svn://10.0.0.236/trunk@6177 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 19:01:47 +00:00
kipp%netscape.com
4db8df159f Pretend we are 4.05 since some websites can't handle 5.0 yet
git-svn-id: svn://10.0.0.236/trunk@6176 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 18:50:17 +00:00
kipp%netscape.com
747b6f6fd4 Implement block in inline
git-svn-id: svn://10.0.0.236/trunk@6175 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 18:38:57 +00:00
troy%netscape.com
b6576e3de5 Fixed it so backgrounds are properly tiled again
git-svn-id: svn://10.0.0.236/trunk@6174 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 18:34:14 +00:00
buster%netscape.com
00a794eb94 BasicTableLayoutStrategy::Initialize now properly re-iinitializes instance variables
git-svn-id: svn://10.0.0.236/trunk@6173 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 18:22:12 +00:00
kipp%netscape.com
9bc848dc75 Avoid excessive content-changed reflows during text appending
git-svn-id: svn://10.0.0.236/trunk@6172 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 17:40:05 +00:00
rpotts%netscape.com
0a063a503f nsIWebShell now supports a single observer for all documents loads...
git-svn-id: svn://10.0.0.236/trunk@6168 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 11:26:18 +00:00
rpotts%netscape.com
71f151059e nsIWebShell now supports a single observer for all document loads...The DocLoader now stops any pending binds when a new document is requested...
git-svn-id: svn://10.0.0.236/trunk@6167 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 11:24:50 +00:00
rpotts%netscape.com
15b08d846d First pass at nested document loaders...
git-svn-id: svn://10.0.0.236/trunk@6166 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 11:23:32 +00:00
rpotts%netscape.com
d99534a520 nsIWebShell now supports a single observer for all document loads...
git-svn-id: svn://10.0.0.236/trunk@6165 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 11:22:59 +00:00
rpotts%netscape.com
fe21e56f28 Allow OnDataAvailable(...) to abort a binding operation by returning an error code...
git-svn-id: svn://10.0.0.236/trunk@6164 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 11:21:27 +00:00
rpotts%netscape.com
3bc4158ab9 Removed some signed/unsigned warnings...
git-svn-id: svn://10.0.0.236/trunk@6163 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 11:20:37 +00:00
rpotts%netscape.com
be262a9a8f IWebShell now supports a single observer...
git-svn-id: svn://10.0.0.236/trunk@6162 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 11:19:54 +00:00
despotdaemon%netscape.com
6483954dab Pseudo-automatic update of changes made by davidm@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@6161 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 07:36:44 +00:00
ramiro%netscape.com
848b28b7b5 Allow the user to ignore the OS_VERSION, which is usually irrelevant.
git-svn-id: svn://10.0.0.236/trunk@6155 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 05:38:53 +00:00
buster%netscape.com
97ce24b2ed fixed table width problems when there are colspanning cells
git-svn-id: svn://10.0.0.236/trunk@6154 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 05:38:41 +00:00
troy%netscape.com
878c1d1350 Changed PaintBorder() to use the (x,y) that's passed in
git-svn-id: svn://10.0.0.236/trunk@6152 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 05:02:07 +00:00
ramiro%netscape.com
cc38f9f94a Define proper macros for linux 2.2.
git-svn-id: svn://10.0.0.236/trunk@6150 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 04:59:29 +00:00
ramiro%netscape.com
8a21134be1 Allow the user to override the default host identity.
git-svn-id: svn://10.0.0.236/trunk@6149 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 04:53:19 +00:00
troy%netscape.com
4f2b172ab6 Changed clip operation to intersect
git-svn-id: svn://10.0.0.236/trunk@6148 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 04:49:09 +00:00
buster%netscape.com
26234a5a97 * reworked the way colspan and rowspans are handled in table layout strategy. We do less work, and we look better.
* fixed more margin code.  we're inching towards correctness.
* the width contributed by a colspanning cell is now proportionately distributed to the columns based on the columns "effective width"
* added logic for handling illegal COLS attribute on a table (like COLS=4 in a 3-column table).  See nsTableFrame::GetEffectiveCOLSAttribute()
* added logic for handling illegal COLSPAN attribute on a cell (like COLSPAN=4 in a 3-column table).  See nsTableFrame::GetEffectiveColSpan().  This is wrong, and will get reworked soon.
* added the ability for cell width attributes to effect column width like Nav4.


git-svn-id: svn://10.0.0.236/trunk@6145 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 03:53:43 +00:00
scullin%netscape.com
e6798021cc Fix crash _and_ memory leak? Is it too much to hope?
git-svn-id: svn://10.0.0.236/trunk@6144 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 03:48:17 +00:00
scullin%netscape.com
264497527a Fix crash, leak again.
git-svn-id: svn://10.0.0.236/trunk@6137 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 02:56:50 +00:00
troy%netscape.com
e727c63ed5 Changed nsCSSRendering::PaintBorder() so the entire rect is used
and not just the width and height


git-svn-id: svn://10.0.0.236/trunk@6136 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 02:46:00 +00:00
troy%netscape.com
e926f6207a Added support for displaying inset border and alt-text while loading
an image


git-svn-id: svn://10.0.0.236/trunk@6135 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 02:44:44 +00:00
ramiro%netscape.com
19cf1d19e5 Add realclean target to be compatible with the rest of the build system.
git-svn-id: svn://10.0.0.236/trunk@6134 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 01:19:28 +00:00
valeski%netscape.com
8d0b4bad42 299916. no longer sending gratuitus connection header if we don't need to. and no longer sending uname/password in referer fields (edge case bug)
git-svn-id: svn://10.0.0.236/trunk@6133 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 01:04:01 +00:00
sar%netscape.com
134a79fff9 adding mozilla/base in preparaion for landing OJI
git-svn-id: svn://10.0.0.236/trunk@6132 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 00:56:55 +00:00
valeski%netscape.com
adac52bc7f 123018, changing http authentication mechanism.
git-svn-id: svn://10.0.0.236/trunk@6131 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 00:49:51 +00:00
selmer%netscape.com
f28d93a148 Include stubs for vanilla build
git-svn-id: svn://10.0.0.236/trunk@6130 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 00:47:51 +00:00
scullin%netscape.com
5c0ed389df Propagate alerts, confirms and prompts up to browser window.
git-svn-id: svn://10.0.0.236/trunk@6128 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 00:26:23 +00:00
scullin%netscape.com
ece788d507 Fix context leakage.
git-svn-id: svn://10.0.0.236/trunk@6127 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-22 00:16:00 +00:00
law%netscape.com
679388d3aa Fix for bug #49584
git-svn-id: svn://10.0.0.236/trunk@6126 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 23:59:38 +00:00
robinf%netscape.com
a24c0b9a96 Fixinb bug # 300065; adding help screen for Connect to ISP screen in Accnt setup
git-svn-id: svn://10.0.0.236/trunk@6125 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 23:45:57 +00:00
danm%netscape.com
1634836c14 copy fullsoft runtime files
git-svn-id: svn://10.0.0.236/trunk@6124 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 23:41:39 +00:00
cmanske%netscape.com
bf2df107ef Fixed problem with clearing is_new_document flag in edit buffer when reusing existing new-doc buffer
git-svn-id: svn://10.0.0.236/trunk@6123 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 23:36:03 +00:00
karnaze%netscape.com
51d7d8a151 set attributes on <frame>, <frameset> layout
git-svn-id: svn://10.0.0.236/trunk@6121 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 23:20:04 +00:00
cmanske%netscape.com
59ebdc3a76 Fixed bad XP_BOOL usage. Submitted by Kazushi Marukawa (jam@pobox.com)
git-svn-id: svn://10.0.0.236/trunk@6120 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 22:57:04 +00:00
hshaw%netscape.com
1038485a49 Fix for NETBSD from toshok@netscape.com via net (don't have email address to assign credit to)
git-svn-id: svn://10.0.0.236/trunk@6119 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 22:40:49 +00:00
dcone%netscape.com
07eb8f4373 Fixed build for this, took out files not needed.
git-svn-id: svn://10.0.0.236/trunk@6115 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 21:53:32 +00:00
dcone%netscape.com
ce48cf9e85 added nsIContentViewerContainer.h and nsIWebshell.h
git-svn-id: svn://10.0.0.236/trunk@6114 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 21:49:35 +00:00
dcone%netscape.com
4e21959daf added nsHTMLTAGS.h
git-svn-id: svn://10.0.0.236/trunk@6113 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 21:48:26 +00:00
dcone%netscape.com
217141c147 removed nsHTMLTags.cpp
git-svn-id: svn://10.0.0.236/trunk@6112 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 21:47:41 +00:00
dcone%netscape.com
593a7a9486 added nsIScriptEventListener.h
git-svn-id: svn://10.0.0.236/trunk@6111 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 21:46:32 +00:00
danm%netscape.com
674e1eacd6 plug leaking URL in Icon_GetUrlExitRoutine. r:hyatt
git-svn-id: svn://10.0.0.236/trunk@6110 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 21:37:45 +00:00
scullin%netscape.com
f3792def27 Default implementation of QueryInterface needs to NULL result on failure.
git-svn-id: svn://10.0.0.236/trunk@6109 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 21:32:52 +00:00
kmcclusk%netscape.com
c58eb3c9b0 Fixed bug where child window is not being displayed in Viewer. Show() now
manages and unmanages the widget directly without testing visibility.


git-svn-id: svn://10.0.0.236/trunk@6108 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 21:26:17 +00:00
scullin%netscape.com
1aa94e896b Added rules to install/clobber resource gifs.
git-svn-id: svn://10.0.0.236/trunk@6107 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 21:22:25 +00:00
kipp%netscape.com
5fec00d851 Set max-element-size when computing reflow metrics
git-svn-id: svn://10.0.0.236/trunk@6106 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 21:20:55 +00:00
danm%netscape.com
e6c9332b26 plug leak, ensure viewstream initialization in IL_ViewStream. a:pnunn
git-svn-id: svn://10.0.0.236/trunk@6105 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 21:17:58 +00:00
ftang%netscape.com
54d2ce0bd9 Seperate "View:Encoding" submenu into different menu so the content can make sense
git-svn-id: svn://10.0.0.236/trunk@6103 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 20:40:51 +00:00
valeski%netscape.com
4bf506b49c switching a trace macro around
git-svn-id: svn://10.0.0.236/trunk@6102 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 20:40:03 +00:00
ftang%netscape.com
e256481bce fix 241429
git-svn-id: svn://10.0.0.236/trunk@6101 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 20:38:27 +00:00
valeski%netscape.com
88c98253cd No longer setting the referrer field on retrieveal of image urls. 299916.
git-svn-id: svn://10.0.0.236/trunk@6100 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 20:35:44 +00:00
scullin%netscape.com
629d196dca Hook up status remarks from netlib, add interface for prompts and alerts.
git-svn-id: svn://10.0.0.236/trunk@6099 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 20:27:59 +00:00
selmer%netscape.com
9ec6531e85 Include stubs for vanilla build
git-svn-id: svn://10.0.0.236/trunk@6098 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 20:26:23 +00:00
selmer%netscape.com
c8b6434e08 Add stubs for vanilla build
git-svn-id: svn://10.0.0.236/trunk@6097 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 20:25:50 +00:00
scullin%netscape.com
399fd53444 Add field for modular netlib data to MWContext (sigh).
git-svn-id: svn://10.0.0.236/trunk@6096 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 20:18:42 +00:00
scullin%netscape.com
af41501a41 Export lib as soon as it is built, instead of waiting until install
phase.


git-svn-id: svn://10.0.0.236/trunk@6095 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 20:17:44 +00:00
scullin%netscape.com
cca057f5f8 Use resource urls for icons, close stream on completion, and clean up
generated html, all only for nglayout.


git-svn-id: svn://10.0.0.236/trunk@6094 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 20:16:16 +00:00
scullin%netscape.com
05829765bd Include different types table in nglayout that uses resource urls instead
of internal icons.


git-svn-id: svn://10.0.0.236/trunk@6093 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 20:14:50 +00:00
scullin%netscape.com
c748d35ec8 mkformat.c was inadvertantly resurrected by montulli, re-removing.
git-svn-id: svn://10.0.0.236/trunk@6092 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 20:12:47 +00:00
scullin%netscape.com
4df989a34e Internal news url type is obsolete, according to montulli.
git-svn-id: svn://10.0.0.236/trunk@6091 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 20:12:21 +00:00
scullin%netscape.com
2616593e0f Fix to allow stderr tracing on windows.
git-svn-id: svn://10.0.0.236/trunk@6090 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 20:11:17 +00:00
scullin%netscape.com
6c862c7f6a Add cvmime back into nglayout build. Not hooked up, though.
git-svn-id: svn://10.0.0.236/trunk@6089 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 20:10:27 +00:00
scullin%netscape.com
0e61d096db Comment out assert that's problematic for ftp without a disk cache.
git-svn-id: svn://10.0.0.236/trunk@6088 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 20:09:08 +00:00
selmer%netscape.com
7a2c9a7176 Adding stubs for vanilla build
git-svn-id: svn://10.0.0.236/trunk@6087 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 20:07:31 +00:00
scullin%netscape.com
d9de96f70c Icons for ftp/file directories.
git-svn-id: svn://10.0.0.236/trunk@6086 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 19:35:35 +00:00
scullin%netscape.com
0f1d8f5b7d Allow multipe urls on command line.
NGLayout only.


git-svn-id: svn://10.0.0.236/trunk@6083 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 18:44:20 +00:00
scullin%netscape.com
73407b8a14 Ready to accept status messages from netlib.
git-svn-id: svn://10.0.0.236/trunk@6082 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 18:42:50 +00:00
scullin%netscape.com
8bf713df1d Include xp strings.
NGLayout build only.


git-svn-id: svn://10.0.0.236/trunk@6081 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 18:40:42 +00:00
scullin%netscape.com
cfb0210f8f These were inadvertantly resurrected by montulli. Moved to network/mimetype.
Not part of any build.


git-svn-id: svn://10.0.0.236/trunk@6080 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 18:38:21 +00:00
scullin%netscape.com
7203a3e8df Fix release build.
git-svn-id: svn://10.0.0.236/trunk@6079 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 18:09:53 +00:00
rods%netscape.com
efc42cfbad fixed the bug for setting background color on controls
git-svn-id: svn://10.0.0.236/trunk@6078 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 18:04:18 +00:00
rods%netscape.com
b6afa0b36e commented out the setting of the statusbar's background color
git-svn-id: svn://10.0.0.236/trunk@6077 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 18:03:15 +00:00
dcone%netscape.com
146e25619c fixed libpref to pull off of XPCOM
git-svn-id: svn://10.0.0.236/trunk@6076 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 17:55:19 +00:00
kipp%netscape.com
b73cf8f832 Fixed map tag and area tag handling
git-svn-id: svn://10.0.0.236/trunk@6073 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 17:35:48 +00:00
kipp%netscape.com
8a7c46a03f Implement Open File dialog and -q option
git-svn-id: svn://10.0.0.236/trunk@6072 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 16:45:21 +00:00
kipp%netscape.com
bc6df48804 Support aggregation (sort of)
git-svn-id: svn://10.0.0.236/trunk@6071 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 16:44:45 +00:00
kipp%netscape.com
c37a73c664 Enable scripts
git-svn-id: svn://10.0.0.236/trunk@6070 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 16:44:22 +00:00
kipp%netscape.com
80a892fcdc include script directly
git-svn-id: svn://10.0.0.236/trunk@6069 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 16:44:09 +00:00
kipp%netscape.com
ef426ce17e Get correct url to open for script src=
git-svn-id: svn://10.0.0.236/trunk@6068 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 16:43:48 +00:00
kipp%netscape.com
0667f6d4e3 Repaired script tag handling so that attributes make it through
git-svn-id: svn://10.0.0.236/trunk@6067 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 16:43:25 +00:00
kipp%netscape.com
3021463397 Fixed GetGlobalObject
git-svn-id: svn://10.0.0.236/trunk@6066 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 16:43:02 +00:00
kipp%netscape.com
edc794281a Added missing refcnt; use an explicit cast to nsIDOMWindow
git-svn-id: svn://10.0.0.236/trunk@6065 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 16:41:42 +00:00
troy%netscape.com
fab674a39b Fixed MakeSide() so it does a better job of drawing the correct pixels in
the case of 1-pixel thick lines


git-svn-id: svn://10.0.0.236/trunk@6064 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 09:30:03 +00:00
troy%netscape.com
a237b859e6 Fixed it so tables that don't want a border don't get a border
git-svn-id: svn://10.0.0.236/trunk@6063 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 08:12:22 +00:00
troy%netscape.com
23025b2d69 Commented out code that was forcing the border style to solid rather
than using whatever is in the default ua style sheet (inset)


git-svn-id: svn://10.0.0.236/trunk@6062 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 07:47:46 +00:00
warren%netscape.com
3ae4ac68e3 Added generated files for when we're not building java anymore.
git-svn-id: svn://10.0.0.236/trunk@6059 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 05:42:12 +00:00
kipp%netscape.com
84c3cb94bf Removed IScriptContextOwner from browser impl
git-svn-id: svn://10.0.0.236/trunk@6058 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 04:47:14 +00:00
kipp%netscape.com
b30217fe4a Implement IScriptContextOwner API
git-svn-id: svn://10.0.0.236/trunk@6057 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 04:46:55 +00:00
kipp%netscape.com
72bc3d12af Added code (currently disabled) to setup the script context appropriately
git-svn-id: svn://10.0.0.236/trunk@6056 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 04:46:35 +00:00
cmanske%netscape.com
2a928c28d9 Added flag to signal editor when laying out images in Composer
git-svn-id: svn://10.0.0.236/trunk@6055 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 04:13:04 +00:00
ramiro%netscape.com
4f472ea5d9 Fix build bustage. Remove unused ",".
git-svn-id: svn://10.0.0.236/trunk@6053 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 04:01:14 +00:00
sar%netscape.com
c7b1990d86 adding mozilla/modules/plugin in preparation for OJI branch landing
git-svn-id: svn://10.0.0.236/trunk@6051 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 03:11:17 +00:00
kipp%netscape.com
5bcb76b2a7 Fixed unix build
git-svn-id: svn://10.0.0.236/trunk@6049 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 02:45:39 +00:00
leif
393e3ce985 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@6048 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 02:43:28 +00:00
leif
48c89df8e2 Added the MPL license to all files.
git-svn-id: svn://10.0.0.236/trunk@6047 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 02:42:38 +00:00
cmanske%netscape.com
bfa2b247ce Fixed problem with loading images in Composer
git-svn-id: svn://10.0.0.236/trunk@6046 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 02:38:18 +00:00
leif
567b3713fa *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@6044 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 02:32:13 +00:00
danm%netscape.com
2712d45df7 fix leak in NET_FreeURLStruct r:gagan
git-svn-id: svn://10.0.0.236/trunk@6043 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 02:20:45 +00:00
akkana%netscape.com
ac2ab0818b Add new functionality for the new 5.0 table dialog.
Consolidate "new table" and "table properties" dialogs into one.
Includes massive move/redesign of code out of editordialogs.c
into new C++ class XFE_EditTableDialog.


git-svn-id: svn://10.0.0.236/trunk@6042 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 02:14:23 +00:00
akkana%netscape.com
0e1d664058 Improve table selection
git-svn-id: svn://10.0.0.236/trunk@6041 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 02:11:06 +00:00
cmanske%netscape.com
fc352cb59a Fixed SF1 bug 148158 as well as problems with loading images into an editor document
git-svn-id: svn://10.0.0.236/trunk@6040 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 01:59:47 +00:00
cmanske%netscape.com
52de04840b Removed clearing of is_new_document flag so images loaded into Composer do not kill the new doc state
git-svn-id: svn://10.0.0.236/trunk@6039 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 01:57:59 +00:00
cmanske%netscape.com
e543027dc6 Added use of flag in IL_GetImage to identify an Editor when loading images, and use of that flag in IL_ViewStream to do use IL_NewStream instead (fixes regresion bug)
git-svn-id: svn://10.0.0.236/trunk@6038 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 01:55:52 +00:00
valeski%netscape.com
9dd807b6d0 63313 - Bugsplat query page now loads faster. This was a problem with javascript pages. approved by don.
git-svn-id: svn://10.0.0.236/trunk@6037 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 01:53:10 +00:00
cmanske%netscape.com
7011559bb7 Added a comment to explain how Editor uses the owner_id field in URL_Struct
git-svn-id: svn://10.0.0.236/trunk@6036 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 01:44:25 +00:00
kipp%netscape.com
fbfcf0a2e5 Enabled the js-console accelerators
git-svn-id: svn://10.0.0.236/trunk@6035 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 01:22:52 +00:00
kipp%netscape.com
a89427d59d byebye
git-svn-id: svn://10.0.0.236/trunk@6034 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 01:04:09 +00:00
kipp%netscape.com
4d83794d2a Fixed unix porting bugs
git-svn-id: svn://10.0.0.236/trunk@6032 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 01:03:28 +00:00
kipp%netscape.com
c3fd39a44f Spanked to get most of the menus working again
git-svn-id: svn://10.0.0.236/trunk@6030 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 00:48:35 +00:00
kipp%netscape.com
a5f64bdca9 Added two getters: GetBounds and GetWebShell
git-svn-id: svn://10.0.0.236/trunk@6029 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 00:48:10 +00:00
despotdaemon%netscape.com
3f30d6ac28 Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@6028 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-21 00:00:01 +00:00
despotdaemon%netscape.com
91510a3429 Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@6027 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 23:59:17 +00:00
troy%netscape.com
5e3cee8013 Changed Paint() to use the parent frame's color style struct. We can't use our
color style struct because we're a pseudo frame and so the style system forces
us to have a transparent background


git-svn-id: svn://10.0.0.236/trunk@6026 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 23:58:00 +00:00
troy%netscape.com
6b933cd127 Changed Paint() to render the background if there is one
git-svn-id: svn://10.0.0.236/trunk@6025 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 23:56:17 +00:00
troy%netscape.com
690770da55 Changed SetAttribute() to call nsTableTagContent base class version so that
processing of things like "style=" happens


git-svn-id: svn://10.0.0.236/trunk@6024 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 23:50:46 +00:00
troy%netscape.com
3771cc3a17 Changed MapAttributesInto() to call MapBackgroundAttributesInto() so that
the bgcolor attribute is properly handled


git-svn-id: svn://10.0.0.236/trunk@6022 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 23:30:49 +00:00
spider%netscape.com
7bbcb73e57 Fix for latest cvs server move
git-svn-id: svn://10.0.0.236/trunk@6021 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 23:21:01 +00:00
scullin%netscape.com
3ace1794b6 Fix release mode.
git-svn-id: svn://10.0.0.236/trunk@6013 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 22:45:35 +00:00
kipp%netscape.com
187754c11c Resurrected DoDebugSave method
git-svn-id: svn://10.0.0.236/trunk@6012 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 22:22:13 +00:00
kipp%netscape.com
475c61f41a Updated to match revised menu api
git-svn-id: svn://10.0.0.236/trunk@6011 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 22:16:26 +00:00
kipp%netscape.com
97ea75bbb4 Ported to unix
git-svn-id: svn://10.0.0.236/trunk@6010 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 22:13:11 +00:00
kipp%netscape.com
43a309b147 new
git-svn-id: svn://10.0.0.236/trunk@6007 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 22:11:02 +00:00
dfm%netscape.com
37263592a8 Fixed morse's typo.
git-svn-id: svn://10.0.0.236/trunk@6000 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 21:50:15 +00:00
kipp%netscape.com
483e5874f6 Switch to new source files
git-svn-id: svn://10.0.0.236/trunk@5997 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 21:17:13 +00:00
kipp%netscape.com
a8d837c019 Implement a pile of debug methods and menu code; abstract out menu bar creation into a native subclass
git-svn-id: svn://10.0.0.236/trunk@5996 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 21:16:38 +00:00
kipp%netscape.com
c3a8f7b177 Get pref-id's properly setup
git-svn-id: svn://10.0.0.236/trunk@5995 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 21:16:12 +00:00
kipp%netscape.com
7f7af5b81b new
git-svn-id: svn://10.0.0.236/trunk@5994 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 21:15:52 +00:00
kipp%netscape.com
332e9db934 Added chrome control for the menu bar
git-svn-id: svn://10.0.0.236/trunk@5993 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 21:15:21 +00:00
morse%netscape.com
342e6afcee Landing privacy features (con't)
git-svn-id: svn://10.0.0.236/trunk@5992 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 21:13:22 +00:00
dfm%netscape.com
52c72a5e73 Fixed winfe bustage, morse's whitespace clobber..
git-svn-id: svn://10.0.0.236/trunk@5991 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 21:13:09 +00:00
robinf%netscape.com
7deafae3d2 added thes files for our dialup builds
git-svn-id: svn://10.0.0.236/trunk@5990 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 21:11:08 +00:00
timm%netscape.com
88dd91fc24 fix path to routine to append last slash
git-svn-id: svn://10.0.0.236/trunk@5989 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 21:04:08 +00:00
robinf%netscape.com
2a4aa4df97 merging help files for generic dialup build
git-svn-id: svn://10.0.0.236/trunk@5987 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 20:57:38 +00:00
robinf%netscape.com
35a5b775f2 Checing in the generic dialup readme
git-svn-id: svn://10.0.0.236/trunk@5985 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 20:52:28 +00:00
dcone%netscape.com
12f3018569 removed nsDomnodeiterator.cpp, nsHTMLTagContent.cpp
git-svn-id: svn://10.0.0.236/trunk@5984 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 20:52:14 +00:00
dcone%netscape.com
cab1c3b003 removed nsJSAttributeList.cpp, nsJSNodeIterator.cpp, nsJSDocumentContext.cpp, nsJSTreeIterator.cpp
git-svn-id: svn://10.0.0.236/trunk@5983 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 20:50:44 +00:00
robinf%netscape.com
1cc1c1b96f checking in the version that turns off billing and dialing screesn
git-svn-id: svn://10.0.0.236/trunk@5982 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 20:50:12 +00:00
robinf%netscape.com
f641426a5f checking in the de-prestonized versions of these files which are needed for the dialup version.
git-svn-id: svn://10.0.0.236/trunk@5981 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 20:48:58 +00:00
morse%netscape.com
fca0b01d09 temporary hack to fix build bustage
git-svn-id: svn://10.0.0.236/trunk@5980 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 20:47:32 +00:00
dcone%netscape.com
3eab84b56a fixed so the fstream include is added.
git-svn-id: svn://10.0.0.236/trunk@5979 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 20:47:07 +00:00
dcone%netscape.com
3ae6209204 removed nsIHtmlcontentsink.cpp from project
git-svn-id: svn://10.0.0.236/trunk@5978 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 20:45:56 +00:00
dcone%netscape.com
750c3136b1 Removed nsIWebwidget.h and nsIDocumentWidget.h from the
file for building dist


git-svn-id: svn://10.0.0.236/trunk@5977 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 20:34:36 +00:00
karnaze%netscape.com
201c38b1f8 initial support for <frameset> <frame> in content sink
git-svn-id: svn://10.0.0.236/trunk@5969 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 18:52:40 +00:00
dfm%netscape.com
3d17427a85 Landed privacy features from PRIVACY_BRANCH_070898; Transaction Receipts
and Privacy Policies are still switched off, so mozilla/privacy doesn't
build by default.


git-svn-id: svn://10.0.0.236/trunk@5968 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 18:40:09 +00:00
despotdaemon%netscape.com
95184a8af4 Pseudo-automatic update of changes made by radha@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5967 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 18:16:46 +00:00
saari%netscape.com
f0f8f6a60e Merging sfraser's MacMemAllocator changes from 4.5
git-svn-id: svn://10.0.0.236/trunk@5966 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 18:10:48 +00:00
despotdaemon%netscape.com
c75c1577ba Pseudo-automatic update of changes made by jdunn@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5965 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 17:47:07 +00:00
kipp%netscape.com
918f834845 Fixed Makefile
git-svn-id: svn://10.0.0.236/trunk@5963 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 16:38:04 +00:00
kipp%netscape.com
1cc17408d9 Added missing nsweb.h
git-svn-id: svn://10.0.0.236/trunk@5962 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 16:37:52 +00:00
kipp%netscape.com
507d263bab Moved nsBrowserWindow in
git-svn-id: svn://10.0.0.236/trunk@5961 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 16:19:22 +00:00
kipp%netscape.com
58c3ef71e3 Removed factory proc
git-svn-id: svn://10.0.0.236/trunk@5960 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 16:19:00 +00:00
kipp%netscape.com
6b7723a631 Moved nsBrowserWindow out
git-svn-id: svn://10.0.0.236/trunk@5959 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 16:18:42 +00:00
pinkerton%netscape.com
e961d2ef86 Export right symbols for mac. THis will get whomped by RDF_BRANCH landing.
git-svn-id: svn://10.0.0.236/trunk@5958 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 16:18:00 +00:00
pinkerton%netscape.com
fe2a29a909 Util routines for setting fg/bg colors in presence (or absence) of HT properties and appearance manager. Also checking with HT to see if it wants to handle loading urls.
git-svn-id: svn://10.0.0.236/trunk@5957 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 16:13:06 +00:00
pinkerton%netscape.com
359e02bf13 Call HT before loading urls. Handle about:XXX.gif for Aurora gifs.
git-svn-id: svn://10.0.0.236/trunk@5956 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 16:11:54 +00:00
pinkerton%netscape.com
ce545afbea Adding Tang resource id's for aurora gifs.
git-svn-id: svn://10.0.0.236/trunk@5955 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 16:11:23 +00:00
pinkerton%netscape.com
87feb577c8 Re-added CTargetFramer, as it got lost somewhere.
git-svn-id: svn://10.0.0.236/trunk@5954 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 16:11:06 +00:00
pinkerton%netscape.com
2f006739cf lots of stuff that was private is now public to support drawing of gifs anywhere we want, not just in html views.
git-svn-id: svn://10.0.0.236/trunk@5953 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 16:10:48 +00:00
pinkerton%netscape.com
d569f4f205 Fix so that images can be displayed in places other than HTML views.
git-svn-id: svn://10.0.0.236/trunk@5952 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 16:10:21 +00:00
pinkerton%netscape.com
fc92503ee8 Add aurora gifs as 'Tang' resources.
git-svn-id: svn://10.0.0.236/trunk@5951 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 16:09:57 +00:00
pinkerton%netscape.com
901e2ae790 turn on Hyatt's hack for chrome images on mac. Still off on X.
git-svn-id: svn://10.0.0.236/trunk@5950 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 16:09:34 +00:00
pinkerton%netscape.com
027c9ef5ae Lots o' utility routines, some new, some code moved from other parts of the app. Things like building and extracting the most common flavor data types.
git-svn-id: svn://10.0.0.236/trunk@5949 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 16:09:05 +00:00
pinkerton%netscape.com
4eec5875b6 Preliminary stuff for turning off drag feedback if container is sorted. Bug fixes for dropping at end of list. Handle tabbing into in Pro2 way.
git-svn-id: svn://10.0.0.236/trunk@5948 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 16:08:17 +00:00
pinkerton%netscape.com
1b74cc2212 Bug fixes, use gifs and bg and icons, fix tabbing problems, rearchitect FE data for views.
git-svn-id: svn://10.0.0.236/trunk@5947 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 16:07:09 +00:00
pinkerton%netscape.com
afff616187 use more stuff in CURLDragHelper.
git-svn-id: svn://10.0.0.236/trunk@5946 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 16:06:03 +00:00
pinkerton%netscape.com
6d2613cf62 Added parameter so data can be passed in before drag for bookmarks flavor. Needed so Aurora can work.
git-svn-id: svn://10.0.0.236/trunk@5945 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 16:05:38 +00:00
terry%netscape.com
6267ed2bcb Don't exec mail any more.
git-svn-id: svn://10.0.0.236/trunk@5944 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 16:05:37 +00:00
pinkerton%netscape.com
53a3c681fb Pass correct data to HT on drag and drop, fixes in d&d, check with HT before loading URL.
git-svn-id: svn://10.0.0.236/trunk@5943 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 16:04:52 +00:00
pinkerton%netscape.com
61c42a6a49 Draw using HT properties for colors or bg gif.
git-svn-id: svn://10.0.0.236/trunk@5942 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 16:04:20 +00:00
pinkerton%netscape.com
1a325a3d4f Draw selector images using gifs.
git-svn-id: svn://10.0.0.236/trunk@5941 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 16:03:59 +00:00
pinkerton%netscape.com
d74acc7b1e Added CImageIconMixin, CIconCache, CIconContext. Removed CGuidePopup.
git-svn-id: svn://10.0.0.236/trunk@5940 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 16:03:16 +00:00
pinkerton%netscape.com
e7a4fcd2ae Drag and drop rewrites (pass valid data to HT), draw using HT properties for colors, etc. BG can now be a gif. Check with HT before loading url.
git-svn-id: svn://10.0.0.236/trunk@5939 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 16:02:14 +00:00
pinkerton%netscape.com
6ccd891149 No longer an LTabGroup so tabbing works again, can now drag text out of the window, double-click words to select them. Added ScrollBits scrolling fix to make scrolling smooth again.
git-svn-id: svn://10.0.0.236/trunk@5938 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 16:01:13 +00:00
pinkerton%netscape.com
0604784464 Can now double-click on words to select them and drag selected text out of the browser window.
git-svn-id: svn://10.0.0.236/trunk@5937 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 15:59:42 +00:00
pinkerton%netscape.com
c38f543d15 expose HT_Pane to those who may need it.
git-svn-id: svn://10.0.0.236/trunk@5936 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 15:59:11 +00:00
pinkerton%netscape.com
ebbe807887 Check with HT before loading URL.
git-svn-id: svn://10.0.0.236/trunk@5935 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 15:58:48 +00:00
pinkerton%netscape.com
bcafc84299 Add CTargetFramer (which we lost somehow) and remove the guide popup button.
git-svn-id: svn://10.0.0.236/trunk@5934 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 15:57:47 +00:00
pinkerton%netscape.com
2fcda19cbc First Checked In.
git-svn-id: svn://10.0.0.236/trunk@5933 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 15:55:36 +00:00
spider%netscape.com
e9f390557c Re-Exporting CNavDTD class, until a *better* solution is implemented...
git-svn-id: svn://10.0.0.236/trunk@5932 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 15:39:48 +00:00
ramiro%netscape.com
44638680ff Use -r instead of -x to test for existence of libs - since the permissions
are not always 755.
Thanks to "Gábor Lipták" <gliptak@hotmail.com> for poiting this out.


git-svn-id: svn://10.0.0.236/trunk@5931 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-20 08:55:30 +00:00
troy%netscape.com
484403779a Changed it so image frames don't have a view, and turned on transparent
images


git-svn-id: svn://10.0.0.236/trunk@5930 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-19 05:48:46 +00:00
kipp%netscape.com
c35f90152c Added a reminder comment
git-svn-id: svn://10.0.0.236/trunk@5929 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-19 04:07:59 +00:00
kipp%netscape.com
dceaa480b6 Implement
git-svn-id: svn://10.0.0.236/trunk@5928 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-19 04:07:44 +00:00
kipp%netscape.com
ea492cae9b Upgraded API
git-svn-id: svn://10.0.0.236/trunk@5927 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-19 04:07:32 +00:00
kipp%netscape.com
7f47a93775 Removed registry init into a seperate file; use browser window instead of old code
git-svn-id: svn://10.0.0.236/trunk@5926 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-19 04:07:20 +00:00
kipp%netscape.com
9055c4fbf5 Moved windows init into winmain
git-svn-id: svn://10.0.0.236/trunk@5925 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-19 04:06:47 +00:00
kipp%netscape.com
c1e243702e Build new source
git-svn-id: svn://10.0.0.236/trunk@5924 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-19 04:06:25 +00:00
kipp%netscape.com
98981d49fb new
git-svn-id: svn://10.0.0.236/trunk@5923 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-19 04:06:14 +00:00
kipp%netscape.com
8926d26f0c Fixed ommision of include of nscore.h
git-svn-id: svn://10.0.0.236/trunk@5922 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-19 02:03:59 +00:00
kipp%netscape.com
797eee3958 Allocate some IIDs
git-svn-id: svn://10.0.0.236/trunk@5921 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-19 01:19:30 +00:00
kipp%netscape.com
4a74506b36 Whacked to use new pluggable throbber
git-svn-id: svn://10.0.0.236/trunk@5920 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-19 01:18:57 +00:00
kipp%netscape.com
4c4eb24536 Implement new title API's; normalized factory code
git-svn-id: svn://10.0.0.236/trunk@5919 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-19 01:18:40 +00:00
kipp%netscape.com
c4f7797c4b Normalized factory code
git-svn-id: svn://10.0.0.236/trunk@5918 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-19 01:18:15 +00:00
kipp%netscape.com
4be9528519 Added new files
git-svn-id: svn://10.0.0.236/trunk@5917 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-19 01:17:50 +00:00
kipp%netscape.com
1421902e3a Added title controls; normalized factory API; added GetRootWebShell; removed 2nd arg from AddChild
git-svn-id: svn://10.0.0.236/trunk@5916 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-19 01:17:39 +00:00
kipp%netscape.com
42b52ac30b Updated copyright and IID; removed useless Init method
git-svn-id: svn://10.0.0.236/trunk@5915 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-19 01:17:09 +00:00
kipp%netscape.com
b0aa64a6c6 Normalized factory api
git-svn-id: svn://10.0.0.236/trunk@5914 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-19 01:16:46 +00:00
kipp%netscape.com
bf301b12e7 Export new files
git-svn-id: svn://10.0.0.236/trunk@5913 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-19 01:15:26 +00:00
kipp%netscape.com
926e41da39 Pass title to web shell if we are wrapped in one
git-svn-id: svn://10.0.0.236/trunk@5912 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-19 01:14:53 +00:00
kipp%netscape.com
3d7769be04 Removed SetTitle
git-svn-id: svn://10.0.0.236/trunk@5911 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-19 01:14:21 +00:00
kipp%netscape.com
64f17cd3d4 new
git-svn-id: svn://10.0.0.236/trunk@5910 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-19 01:13:06 +00:00
kipp%netscape.com
f7f11b5f3f Updated exports list
git-svn-id: svn://10.0.0.236/trunk@5909 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 22:01:25 +00:00
kipp%netscape.com
70e5a7a7c2 Allocated some IID's
git-svn-id: svn://10.0.0.236/trunk@5908 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 21:51:28 +00:00
kipp%netscape.com
a3d19a5501 Spanked to use web-shell API's
git-svn-id: svn://10.0.0.236/trunk@5907 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 21:51:03 +00:00
kipp%netscape.com
e67298a126 Updated build list
git-svn-id: svn://10.0.0.236/trunk@5906 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 21:50:41 +00:00
kipp%netscape.com
63f46c6f39 Updated to use revised API's; pass UA style sheet to nsIDocumentViewer instance
git-svn-id: svn://10.0.0.236/trunk@5905 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 21:50:29 +00:00
kipp%netscape.com
a5f12624a7 obsoleted
git-svn-id: svn://10.0.0.236/trunk@5904 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 21:49:35 +00:00
kipp%netscape.com
e1d02e5761 Updated exports list
git-svn-id: svn://10.0.0.236/trunk@5903 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 21:49:11 +00:00
kipp%netscape.com
73efbb3649 Decoupled from web widget
git-svn-id: svn://10.0.0.236/trunk@5902 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 21:49:03 +00:00
kipp%netscape.com
542f84d4a3 Seperated out nsIViewerContainer and nsIContentViewer API's
git-svn-id: svn://10.0.0.236/trunk@5901 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 21:48:47 +00:00
kipp%netscape.com
a9a829dd34 Obsolete
git-svn-id: svn://10.0.0.236/trunk@5900 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 21:48:26 +00:00
kipp%netscape.com
f2faff6fb7 Port to new nsIWebShell and related API's
git-svn-id: svn://10.0.0.236/trunk@5899 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 21:47:56 +00:00
kipp%netscape.com
67fd58be8c Added missing includes
git-svn-id: svn://10.0.0.236/trunk@5898 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 21:46:51 +00:00
kipp%netscape.com
33803d96e8 Added AddFloater method (not yet used)
git-svn-id: svn://10.0.0.236/trunk@5897 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 21:45:40 +00:00
kipp%netscape.com
3f5bbb2c14 Find floaters after placing line so that floater list is kept up to date
git-svn-id: svn://10.0.0.236/trunk@5896 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 21:45:17 +00:00
kipp%netscape.com
11356346b9 Disabled selection noise with an ifdef
git-svn-id: svn://10.0.0.236/trunk@5895 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 21:44:11 +00:00
kipp%netscape.com
a0cb50b4de new
git-svn-id: svn://10.0.0.236/trunk@5894 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 21:43:02 +00:00
rods%netscape.com
5ccadb7f78 made changes to selection for debugging
git-svn-id: svn://10.0.0.236/trunk@5893 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 18:19:41 +00:00
rods%netscape.com
b43d68f5f5 changed GetNextContent to pas back next leaf node content
git-svn-id: svn://10.0.0.236/trunk@5892 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 18:18:53 +00:00
rods%netscape.com
b70f709081 made minor changes to selection
git-svn-id: svn://10.0.0.236/trunk@5891 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 18:18:20 +00:00
rods%netscape.com
499d780d00 exported nsSelectionPoint.h
git-svn-id: svn://10.0.0.236/trunk@5890 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 18:17:08 +00:00
troy%netscape.com
ae75899844 Eliminated some unnecessary image rendering
git-svn-id: svn://10.0.0.236/trunk@5889 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 15:26:03 +00:00
rods%netscape.com
088defba07 turned off selection
git-svn-id: svn://10.0.0.236/trunk@5888 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 14:03:43 +00:00
ramiro%netscape.com
4fc83a8447 Fix a dumbass typo.
git-svn-id: svn://10.0.0.236/trunk@5887 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 07:42:15 +00:00
ramiro%netscape.com
6d5ebec537 Remove circular dependancy on config/config.mk from config/mkdepend.
git-svn-id: svn://10.0.0.236/trunk@5886 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 07:38:13 +00:00
ramiro%netscape.com
f9e0ae9815 Add x11 include flags so the motif detection can work on plaforms that dont
have /usr/include/X11 links.  Like solaris, for instance.


git-svn-id: svn://10.0.0.236/trunk@5884 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 06:55:12 +00:00
ramiro%netscape.com
44b495a951 Add -xif, --set-x11-include-flags - Set X11 include flags.
git-svn-id: svn://10.0.0.236/trunk@5883 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 06:52:27 +00:00
ramiro%netscape.com
e4d2d9db4f Look for include/X11/Xlib.h instead as well. Safer Xlib detection.
git-svn-id: svn://10.0.0.236/trunk@5882 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 06:32:55 +00:00
ramiro%netscape.com
552f7e970b Dont use "function" since it breaks on some bourne shells.
git-svn-id: svn://10.0.0.236/trunk@5881 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 06:28:19 +00:00
ramiro%netscape.com
793c609e30 Remove old motif.mk hack. No longer needed. See config/mkdepend for a better
solution.


git-svn-id: svn://10.0.0.236/trunk@5880 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 05:27:15 +00:00
ramiro%netscape.com
ca467285d4 Remove old motif.mk hack.
git-svn-id: svn://10.0.0.236/trunk@5879 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 05:15:49 +00:00
troy%netscape.com
e67414d867 Added some comments clarifying that the value returned are in
device units (pixels)


git-svn-id: svn://10.0.0.236/trunk@5878 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 03:52:37 +00:00
ramiro%netscape.com
cb4b5239a1 Adding support for detecting various platform specific libraries, paths and
other things (anything, really).

Should make building mozilla on diverse platforms such as linux/lesstif
much easier.

Currently Linux is the only platform that supports detection.

The new detection mechanism is very scaleable.  We will be able to add support
for other operating systems as well as more permutations of linux/arch/toolkit.

It has received the Reverend Ostrom blessing of approval.

So the lesstif people can stop bitching.  thank you for the feedback ;-)


git-svn-id: svn://10.0.0.236/trunk@5877 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 03:34:56 +00:00
ramiro%netscape.com
3b55437db6 Adding support for detecting various platform specific libraries, paths and
other things (anything, really).

Should make building mozilla on diverse platforms such as linux/lesstif
much easier.

Currently Linux is the only platform that supports detection.

The new detection mechanism is very scaleable.  We will be able to add support
for other operating systems as well as more permutations of linux/arch/toolkit.

It has received the Reverend Ostrom blessing of approval.

So the lesstif people can stop bitching.  thank you for the feedback ;-)

Notice how much simpler the Linux chunk of the xfe Makfile has become.


git-svn-id: svn://10.0.0.236/trunk@5876 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 03:34:26 +00:00
ramiro%netscape.com
ead3497f44 Adding support for detecting various platform specific libraries, paths and
other things (anything, really).

Should make building mozilla on diverse platforms such as linux/lesstif
much easier.

Currently Linux is the only platform that supports detection.

The new detection mechanism is very scaleable.  We will be able to add support
for other operating systems as well as more permutations of linux/arch/toolkit.

It has received the Reverend Ostrom blessing of approval.

So the lesstif people can stop bitching.  thank you for the feedback ;-)

The shell script detection magic is very modular and can be easily shared
with other build schemes (autoconf for instance).


git-svn-id: svn://10.0.0.236/trunk@5875 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 03:33:07 +00:00
ramiro%netscape.com
8493233a99 Adding support for detecting various platform specific libraries, paths and
other things (anything, really).

Should make building mozilla on diverse platforms such as linux/lesstif
much easier.

Currently Linux is the only platform that supports detection.

The new detection mechanism is very scaleable.  We will be able to add support
for other operating systems as well as more permutations of linux/arch/toolkit.

It has received the Reverend Ostrom blessing of approval.

So the lesstif people can stop bitching.  thank you for the feedback ;-)


git-svn-id: svn://10.0.0.236/trunk@5874 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 03:26:34 +00:00
ramiro%netscape.com
7975e66ba8 Added mkdetect sub directory to mozilla/config.
git-svn-id: svn://10.0.0.236/trunk@5873 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 03:22:00 +00:00
kipp%netscape.com
7b704db54c Fixed a regression: we were eating the character following a bare ampersand that isn't an entity; in addition tables were being kicked out of paragraphs which is no-no
git-svn-id: svn://10.0.0.236/trunk@5869 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 01:35:45 +00:00
kipp%netscape.com
97c2d3d296 Fixed crasher bug
git-svn-id: svn://10.0.0.236/trunk@5867 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 01:06:30 +00:00
donm%netscape.com
0698bcec4d added NPL. approved by: briano
git-svn-id: svn://10.0.0.236/trunk@5866 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 00:29:29 +00:00
despotdaemon%netscape.com
8536c4fcdd Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@5865 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-18 00:27:36 +00:00
michaelp%netscape.com
cccd011826 the throbbing N lives. yuck.
git-svn-id: svn://10.0.0.236/trunk@5862 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 23:48:58 +00:00
ftang%netscape.com
ef73aa833d add EUR for &EURO; ascii fallback
git-svn-id: svn://10.0.0.236/trunk@5861 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 23:46:26 +00:00
ftang%netscape.com
da6158e6bc Add several unicode tables
Fix the problem in cp1251/2
Add euro sign into mac unicode table


git-svn-id: svn://10.0.0.236/trunk@5860 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 23:45:44 +00:00
despotdaemon%netscape.com
da4b03c81d Pseudo-automatic update of changes made by clu@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5859 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 23:43:54 +00:00
despotdaemon%netscape.com
4a9f595d63 Pseudo-automatic update of changes made by clu@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5858 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 23:41:33 +00:00
wtc%netscape.com
d9b16d723f Bugzilla bug #263: Merged the NetBSD port of NSPR contributed by
Frank van der Linden <frank@wins.uva.nl>.


git-svn-id: svn://10.0.0.236/trunk@5857 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 23:33:36 +00:00
kostello%netscape.com
165a6f7dd0 Changed name of method from ToXIF to CreateXIF
git-svn-id: svn://10.0.0.236/trunk@5856 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 23:02:53 +00:00
kostello%netscape.com
8a1b7e11ba 1) Move the CSS dependent methods out of nsDocument and placed them
in a new class nsMarkupDocument. The point of nsMarkupDocument is
to hold methods which are common to HTML and XML but not relevant
to the base nsDocument class.

2) Added Selection support methods for Rod.

3) Added LookupProperty to nsCSSProperty:
Given a property ID and Property Index returns back the string representation
of the property. This was need to convert CSSValues back to strings for saving.
TODO: Make sure that our URL Information stored in a CSSDeclaration contains
enough information to return it to it's original form on output.


git-svn-id: svn://10.0.0.236/trunk@5855 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 23:00:54 +00:00
michaelp%netscape.com
a9572472c4 throbber now has 14 frames and works as a button.
git-svn-id: svn://10.0.0.236/trunk@5853 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 22:58:11 +00:00
kipp%netscape.com
89c8f4ba2a Removed redundant DidReflow's
git-svn-id: svn://10.0.0.236/trunk@5851 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 21:50:43 +00:00
troy%netscape.com
54fb369e34 Fixed DuplicateImage() code to copy alpha bits properly
git-svn-id: svn://10.0.0.236/trunk@5850 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 21:37:55 +00:00
kipp%netscape.com
e879a5e8b9 Fixed nesting headings in lists bug
git-svn-id: svn://10.0.0.236/trunk@5849 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 21:27:42 +00:00
mccabe%netscape.com
2320e36eef added some more #if JS_HAS_SHARP_VARS checks so towards compiliation
under version 120 in jsconfig.h.  Other fixes needed, though...


git-svn-id: svn://10.0.0.236/trunk@5848 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 21:18:41 +00:00
kipp%netscape.com
530abde14f Implement dom access to the SRC attribute
git-svn-id: svn://10.0.0.236/trunk@5847 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 21:16:43 +00:00
kipp%netscape.com
2d1f589401 new
git-svn-id: svn://10.0.0.236/trunk@5846 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 21:16:18 +00:00
despotdaemon%netscape.com
5f1491d0a6 Pseudo-automatic update of changes made by cmanske@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5845 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 21:09:57 +00:00
despotdaemon%netscape.com
f3a23f8ca2 Pseudo-automatic update of changes made by ltabb@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5843 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 21:07:23 +00:00
buster%netscape.com
2d3b42883a fixed a space leak/logic error handling colspans
added backwards compatibility for percent width tables inside of auto width tables (see http://webreview.com/wr/pub  warning:  you'll have to look at a local copy until
Troy/Vidur/somebody fixes an image problem.)


git-svn-id: svn://10.0.0.236/trunk@5842 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 21:02:28 +00:00
despotdaemon%netscape.com
6ab6eefc24 Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5841 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 21:01:11 +00:00
despotdaemon%netscape.com
8caad06268 Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5840 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 20:58:17 +00:00
mccabe%netscape.com
005974ff02 Fixed #ifdef to #if for various features defined in jsconfig.h -
JS_HAS_IN_OPERATOR, and JS_HAS_INITIALIZERS.


git-svn-id: svn://10.0.0.236/trunk@5839 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 20:46:12 +00:00
despotdaemon%netscape.com
d2b73548fa Pseudo-automatic update of changes made by cyeh@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5833 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 19:33:53 +00:00
despotdaemon%netscape.com
dd442f6895 Pseudo-automatic update of changes made by cyeh@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5832 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 19:33:18 +00:00
joki%netscape.com
479fac2162 Fix notation on key event enum values.
git-svn-id: svn://10.0.0.236/trunk@5831 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 19:25:14 +00:00
mccabe%netscape.com
beb8b2b683 Fixed interpretation of JSOP_IN to match our ECMA proposal - throw a
runtime error if the RHS is not an object.


git-svn-id: svn://10.0.0.236/trunk@5830 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 19:10:46 +00:00
kipp%netscape.com
4d15ea17d4 get dom document directly instead of from defunct web-widget api
git-svn-id: svn://10.0.0.236/trunk@5829 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 18:14:56 +00:00
kipp%netscape.com
5211cc650a Only break from next-in-flow when we have a next-in-flow
git-svn-id: svn://10.0.0.236/trunk@5828 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 18:14:23 +00:00
scullin%netscape.com
5758ee1ca9 Moved from branch
git-svn-id: svn://10.0.0.236/trunk@5827 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 18:07:21 +00:00
kipp%netscape.com
373f9cfa70 Implement debug methods in nsViewer not in WindowData or WebWidget
git-svn-id: svn://10.0.0.236/trunk@5826 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 17:55:47 +00:00
kipp%netscape.com
13e95eaebb Added GetContentViewer API; removed debug dump methods
git-svn-id: svn://10.0.0.236/trunk@5825 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 17:55:21 +00:00
kipp%netscape.com
928cbbee13 Removed debug dump methods
git-svn-id: svn://10.0.0.236/trunk@5824 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 17:55:00 +00:00
kipp%netscape.com
37c51a47ec Init unintialized variable
git-svn-id: svn://10.0.0.236/trunk@5823 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 17:54:46 +00:00
buster%netscape.com
2280d3dcab fixed table maxElementSize
git-svn-id: svn://10.0.0.236/trunk@5821 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 17:51:55 +00:00
buster%netscape.com
8928761040 we now allow empty rows
git-svn-id: svn://10.0.0.236/trunk@5820 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 17:51:43 +00:00
scullin%netscape.com
a75d8a4287 Fixed odd 24 bit gamma problem where gamme correction was being applied
in the reverse direction pixels were coming in, resulting in jpgs
being only half gamma corrected.


git-svn-id: svn://10.0.0.236/trunk@5818 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 17:35:22 +00:00
troy%netscape.com
409c3597f9 Changed array of points to be a const for DrawPolygon() and FillPolygon()
git-svn-id: svn://10.0.0.236/trunk@5817 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 17:32:53 +00:00
troy%netscape.com
8afd0cc8f1 Added DrawPolyline
git-svn-id: svn://10.0.0.236/trunk@5816 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 17:26:21 +00:00
leaf%mozilla.org
f3d165b58d added bdate.c
git-svn-id: svn://10.0.0.236/trunk@5815 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 17:24:13 +00:00
despotdaemon%netscape.com
ad7faa941a Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@5814 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 17:22:32 +00:00
troy%netscape.com
a03f7427cd Changed to use MaskBlt() under NT when rendering a transparent image
git-svn-id: svn://10.0.0.236/trunk@5813 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 16:50:32 +00:00
despotdaemon%netscape.com
e922be9270 Pseudo-automatic update of changes made by dionisio@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5812 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 16:44:09 +00:00
kipp%netscape.com
cac20d9639 Don't create new frames when a continuation is being reflowed for the first time
git-svn-id: svn://10.0.0.236/trunk@5811 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 16:16:19 +00:00
kipp%netscape.com
79338bbe55 Removed doc-observer LoadURL method and fixedup progress printf's and start throbber at a better time
git-svn-id: svn://10.0.0.236/trunk@5810 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 15:30:59 +00:00
joki%netscape.com
19e7899868 More of the fixe for IRIX weirdness on enums in switches
git-svn-id: svn://10.0.0.236/trunk@5809 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 07:36:50 +00:00
joki%netscape.com
06c8df51e8 Adding JS event handler test
git-svn-id: svn://10.0.0.236/trunk@5808 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 07:32:13 +00:00
joki%netscape.com
37ee608cea Fix IRIX issues with enums in case statements.
git-svn-id: svn://10.0.0.236/trunk@5807 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 07:10:43 +00:00
rpotts%netscape.com
40c0155b10 Split the Content viewer out of the WebWidget. The WebWidget is now a ContentViewer Container (supporting the nsIViewerContainer interface)...
git-svn-id: svn://10.0.0.236/trunk@5806 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 06:32:39 +00:00
rpotts%netscape.com
e223754865 Split the Content viewer out of the WebWidget. The WebWidget is now a ContentViewer Container (supporting the nsIViewerContainer interface)...nsHTMLDocument.h
git-svn-id: svn://10.0.0.236/trunk@5805 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 06:30:00 +00:00
rpotts%netscape.com
9307060f24 Added XXX comment to a particularly nasty piece of code...
git-svn-id: svn://10.0.0.236/trunk@5804 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 06:27:37 +00:00
joki%netscape.com
8608c3d067 Change DIRS order to fix Unix build
git-svn-id: svn://10.0.0.236/trunk@5803 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 06:05:39 +00:00
peterl%netscape.com
7a6d281274 added comment support
git-svn-id: svn://10.0.0.236/trunk@5802 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 05:50:35 +00:00
peterl%netscape.com
fb2f836259 fixed @import parsing
rejected malformed id selectors
sync to declaration api change


git-svn-id: svn://10.0.0.236/trunk@5801 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 05:50:07 +00:00
peterl%netscape.com
19ed791fd0 fixed fixed font handling
git-svn-id: svn://10.0.0.236/trunk@5800 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 05:49:03 +00:00
peterl%netscape.com
22e8ae3d18 added fixed font support
better font size support


git-svn-id: svn://10.0.0.236/trunk@5799 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 05:46:12 +00:00
peterl%netscape.com
40d6b240c1 removed body & table default settings
changed heading sizes to absolute instead of length
removed form element font hacks


git-svn-id: svn://10.0.0.236/trunk@5798 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 05:45:22 +00:00
peterl%netscape.com
9c49287aa8 better font support
git-svn-id: svn://10.0.0.236/trunk@5797 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 05:44:27 +00:00
peterl%netscape.com
d6c861205a added fixed pitch font
added default color support
added content pointer
added style reset for table cells & captions
added linear links


git-svn-id: svn://10.0.0.236/trunk@5796 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 05:43:31 +00:00
peterl%netscape.com
17dc517b22 added default fixed pitch font & default colors
git-svn-id: svn://10.0.0.236/trunk@5795 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 05:41:41 +00:00
peterl%netscape.com
f3fd63b465 added fixed pitch font, added content pointer
git-svn-id: svn://10.0.0.236/trunk@5794 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 05:41:02 +00:00
joki%netscape.com
cf64669911 Modifying editor code to correspond to slight change in event interfaces.
git-svn-id: svn://10.0.0.236/trunk@5793 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 04:53:01 +00:00
joki%netscape.com
20c386dbe1 Adding new DOM stuff to handle JS event handlers
git-svn-id: svn://10.0.0.236/trunk@5792 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 04:52:12 +00:00
troy%netscape.com
71a267fe0b Added a #if 0 around the code to turn on transparent images
git-svn-id: svn://10.0.0.236/trunk@5791 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 04:41:35 +00:00
joki%netscape.com
1077b49b25 Turning on scripts by default. This should just show an error or two
and not affect how pages show up.  If this proves not to be true we'll
turn it back off.  But it will help show where we are.


git-svn-id: svn://10.0.0.236/trunk@5790 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 04:38:47 +00:00
troy%netscape.com
cbcbc0a7f3 Added code to do bit-blt with a mask using a SRCAND of the mask
followed by a SRCPAINT of the image


git-svn-id: svn://10.0.0.236/trunk@5789 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 04:37:18 +00:00
joki%netscape.com
304337f7d9 Adding new events code to JS event handler support
git-svn-id: svn://10.0.0.236/trunk@5788 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 04:29:16 +00:00
troy%netscape.com
29a03e020f Sets the frame's view to indicate transparency if an image
associated with the frame is transparent


git-svn-id: svn://10.0.0.236/trunk@5787 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 03:43:46 +00:00
mccabe%netscape.com
24714d3ec7 Modified grammar for for/in and the in operator to exclude parsing the
'in' keyword as an operator in the init clause of for loops; this
disambiguates for/in loop parsing.  (Previously, there was some
treenode examination magic going on.)  Per recent ECMA submission.


git-svn-id: svn://10.0.0.236/trunk@5784 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 02:56:04 +00:00
rickg%netscape.com
d11a9fb1d2 major changes to nested tag handling
git-svn-id: svn://10.0.0.236/trunk@5783 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 02:35:23 +00:00
despotdaemon%netscape.com
1f306cc5bb Pseudo-automatic update of changes made by sudu@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5781 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 00:57:34 +00:00
despotdaemon%netscape.com
9ff7ccaeba Pseudo-automatic update of changes made by friedman@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5779 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 00:54:09 +00:00
pierre%netscape.com
d0fede611a #301870 (Subscribe dialog: crash on Cancel) call AttemptClose() instead of DoClose(). Full explanations in the bug report.
git-svn-id: svn://10.0.0.236/trunk@5777 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 00:49:17 +00:00
troy%netscape.com
8d0ccc1717 Some more work on transparent images
git-svn-id: svn://10.0.0.236/trunk@5774 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 00:09:19 +00:00
pierre%netscape.com
5d311683b9 Imported the Offline panels from Nova.
git-svn-id: svn://10.0.0.236/trunk@5773 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 00:02:23 +00:00
donm%netscape.com
f838bb527d update build number automatically. approved by: briano
git-svn-id: svn://10.0.0.236/trunk@5772 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 23:58:00 +00:00
donm%netscape.com
bd7a00be8d update build_number automatically. approved by: briano
git-svn-id: svn://10.0.0.236/trunk@5771 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 23:57:55 +00:00
spider%netscape.com
53921f2a93 Fix for throbber and offset painting
git-svn-id: svn://10.0.0.236/trunk@5769 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 23:50:29 +00:00
kmcclusk%netscape.com
d4808d75b9 Removed setting the boundary size in the resize callback directly. This fixes a bug
where the web widget window does not display initially.


git-svn-id: svn://10.0.0.236/trunk@5768 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 23:46:54 +00:00
despotdaemon%netscape.com
494fab093b Pseudo-automatic update of changes made by robinf@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5767 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 23:43:22 +00:00
vidur%netscape.com
5d9aef20dd Rotation test revamped
git-svn-id: svn://10.0.0.236/trunk@5766 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 23:39:08 +00:00
kipp%netscape.com
4782a5dbe9 Implement paint method
git-svn-id: svn://10.0.0.236/trunk@5765 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 23:32:04 +00:00
kipp%netscape.com
4e57742055 Size the placeholder differently when visually debugging; render it too:
git-svn-id: svn://10.0.0.236/trunk@5764 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 23:31:53 +00:00
kipp%netscape.com
4281a0c565 Tweaked assertions
git-svn-id: svn://10.0.0.236/trunk@5763 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 23:31:33 +00:00
kipp%netscape.com
668b4d6bc1 Remove descent from BR
git-svn-id: svn://10.0.0.236/trunk@5762 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 23:31:08 +00:00
kipp%netscape.com
c26cf113d8 Treat floating tables better; place below current line floaters BEFORE clearing over them for nav compatability
git-svn-id: svn://10.0.0.236/trunk@5761 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 23:30:49 +00:00
kipp%netscape.com
2c0cf21ae5 Build win-dns too
git-svn-id: svn://10.0.0.236/trunk@5760 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 23:29:34 +00:00
kipp%netscape.com
a4af6bed5c Enable async-dns for windows in the modular netlib
git-svn-id: svn://10.0.0.236/trunk@5759 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 23:29:18 +00:00
kipp%netscape.com
e3e84177aa updated a comment
git-svn-id: svn://10.0.0.236/trunk@5758 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 23:28:47 +00:00
kipp%netscape.com
ed43b74945 new
git-svn-id: svn://10.0.0.236/trunk@5757 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 23:28:21 +00:00
law%netscape.com
00acaea3c1 Fix for bug#301644; don't call SetContext if we ain't got no context
git-svn-id: svn://10.0.0.236/trunk@5756 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 23:26:42 +00:00
buster%netscape.com
5ec227a946 ua.css changed to match Nav default for cell padding
git-svn-id: svn://10.0.0.236/trunk@5755 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 23:24:53 +00:00
buster%netscape.com
6ec4e2be88 fundemental overhaul of the BasicTableLayoutStrategy
We now cache lots of useful info in the colframes
we now properly account for margins just as uniform cellspacing


git-svn-id: svn://10.0.0.236/trunk@5754 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 23:23:31 +00:00
despotdaemon%netscape.com
4988910e53 Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5752 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 23:16:22 +00:00
kin%netscape.com
5a773283e4 Fix for 5.0 SF1in bug #301716: Table WIDTH parameter lost when loaded in
composer

Changed the type of the m_iWidth field of the CEditTableElement class from
XP_Bool to int32.

Reviewed by mjudge.


git-svn-id: svn://10.0.0.236/trunk@5751 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 22:19:46 +00:00
troy%netscape.com
0cd5c7bd84 Fixed Init() to compute the mask row size correctly
git-svn-id: svn://10.0.0.236/trunk@5750 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 22:18:36 +00:00
kipp%netscape.com
fe90cdc817 Fix incremental reflow bug
git-svn-id: svn://10.0.0.236/trunk@5748 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 22:15:02 +00:00
spider%netscape.com
4ab8449abd Performance Optimization: Do not create a writeable GC on every
instantiation of a rendering context.  Re-use the old one.


git-svn-id: svn://10.0.0.236/trunk@5743 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 22:02:36 +00:00
spider%netscape.com
331e3930f0 Optimization: Don't create a writeable GC for non-html drawing area
git-svn-id: svn://10.0.0.236/trunk@5741 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 22:01:47 +00:00
kin%netscape.com
46f318388c Fix for 5.0 SF1in bug #300809: Composer adds and deletes tags; bad image
display; HTML does not validate
There are actually 3 different bugs reported in 300809. This checkin fixes
the problem where the spacing and the image are too close: <P></P><BR><IMG>

edtbuf.cpp:
    - Modified CEditBuffer::ParseOpenTag() so we don't discard a <BR> that
      comes after a </P>.
    - Commented out code that adds a blank container before a table that
      follows a </P>.

edtele.cpp:
    - Modified CEditContainerElement::AdjustContainers() to add a blank
      container after a paragraph that ends with a </P> tag.


git-svn-id: svn://10.0.0.236/trunk@5740 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 21:56:54 +00:00
kmcclusk%netscape.com
a917ff1639 Removed commented out CreateWindow code
git-svn-id: svn://10.0.0.236/trunk@5739 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 21:43:15 +00:00
spider%netscape.com
34075737ce Do not reset the clip mask when drawing to onscreen buffer.
git-svn-id: svn://10.0.0.236/trunk@5738 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 21:36:39 +00:00
vidur%netscape.com
c5a2b254f9 Fixed memory leak in the case where a view already exists for a frame
git-svn-id: svn://10.0.0.236/trunk@5737 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 21:36:25 +00:00
despotdaemon%netscape.com
a04aa720a3 Pseudo-automatic update of changes made by hoi@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5736 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 21:33:38 +00:00
kmcclusk%netscape.com
bd5ae348cd Added code to set the XmNx and XmNy attributes in the resize method
git-svn-id: svn://10.0.0.236/trunk@5735 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 21:28:51 +00:00
despotdaemon%netscape.com
9ade803eca Pseudo-automatic update of changes made by petitta@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5734 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 21:15:54 +00:00
vidur%netscape.com
79d4e9fa87 Rotation test
git-svn-id: svn://10.0.0.236/trunk@5733 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 21:13:10 +00:00
despotdaemon%netscape.com
a4c716f7ce Pseudo-automatic update of changes made by rods@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5731 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 20:43:38 +00:00
despotdaemon%netscape.com
e4855f7555 Pseudo-automatic update of changes made by ricardob@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5730 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 20:37:32 +00:00
despotdaemon%netscape.com
97160293e8 Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5729 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 20:34:37 +00:00
karnaze%netscape.com
39be1d110e revised hack for input controls
git-svn-id: svn://10.0.0.236/trunk@5726 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 19:50:03 +00:00
karnaze%netscape.com
e811304f41 removed hack for input, textarea
git-svn-id: svn://10.0.0.236/trunk@5725 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 19:48:37 +00:00
rickg%netscape.com
0affe937f5 fixed frameset/frames
git-svn-id: svn://10.0.0.236/trunk@5724 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 19:36:28 +00:00
jevering%netscape.com
5316230e71 null out related links item.
git-svn-id: svn://10.0.0.236/trunk@5722 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 19:00:11 +00:00
spider%netscape.com
31ac77393a Remove broken-image.gif from install of Makefile. It was moved
to layout/html...


git-svn-id: svn://10.0.0.236/trunk@5721 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 18:44:32 +00:00
troy%netscape.com
580a3e6cb1 Turned back on optimized images
git-svn-id: svn://10.0.0.236/trunk@5720 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 18:32:17 +00:00
kmcclusk%netscape.com
48931652e9 Removed #ifdef (!XP_PC) so the VIEWER_UI is defined for Unix
git-svn-id: svn://10.0.0.236/trunk@5719 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 18:24:56 +00:00
guha%netscape.com
086796380f Fix for bug reported by Mr. Hickman
git-svn-id: svn://10.0.0.236/trunk@5717 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 18:22:23 +00:00
kipp%netscape.com
cf157da228 Deal with lingering leaf content properly during append reflow
git-svn-id: svn://10.0.0.236/trunk@5716 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 18:19:53 +00:00
spider%netscape.com
4557a59f98 Update for new cvs server
git-svn-id: svn://10.0.0.236/trunk@5714 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 17:54:57 +00:00
despotdaemon%netscape.com
c097f3ec61 Pseudo-automatic update of changes made by waterson@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5713 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 17:54:15 +00:00
spider%netscape.com
b887e12c4f Misc fixes to build on Unix
git-svn-id: svn://10.0.0.236/trunk@5712 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 17:53:13 +00:00
kmcclusk%netscape.com
1efa86d99c Changed CopyOffScreenBits to copy from 0,0 instead of using the aBounds (x,y)
git-svn-id: svn://10.0.0.236/trunk@5711 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 17:40:47 +00:00
despotdaemon%netscape.com
7bd0b31bd7 Pseudo-automatic update of changes made by jfrancis@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5710 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 17:22:48 +00:00
troy%netscape.com
5017300bbc Fixed some more nsColor.h captitalization problems
git-svn-id: svn://10.0.0.236/trunk@5709 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 17:09:26 +00:00
nisheeth%netscape.com
d917a74fa9 Fix for bug #300477 to stabilize the table freeing changes. This fixes
the crash that occurred when you aborted the loading of the Netscape home
page.


git-svn-id: svn://10.0.0.236/trunk@5705 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 08:42:43 +00:00
ramiro%netscape.com
023a2014d0 Fix a broken INCLUDES += ./
Should be INCLUDES += -I./
Im not really sure why this is needed since the current mime is on the
REQUIRES list.  I had to fix this cause 'make depend' was breaking because
of the misplaced './'


git-svn-id: svn://10.0.0.236/trunk@5703 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 07:25:12 +00:00
mlm%netscape.com
3a7ff11ae4 Fix for bug 122467 (P0 SF1 In): Merge from 4.06 fix for 123836.
If two layers come in with the same name, rename the first one
to avoid a layer getting prematurely garbage collected or GC'd
twice.  Originally reviewed by brendan, chouck, and nisheeth.


git-svn-id: svn://10.0.0.236/trunk@5696 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 05:20:45 +00:00
kipp%netscape.com
3c214f8066 Fixed include
git-svn-id: svn://10.0.0.236/trunk@5694 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 05:04:01 +00:00
troy%netscape.com
7ff89af8f6 Changed background color to be a const
git-svn-id: svn://10.0.0.236/trunk@5693 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 04:51:12 +00:00
troy%netscape.com
1648bbf5e6 Added background color to image loading member functions
git-svn-id: svn://10.0.0.236/trunk@5690 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 04:34:59 +00:00
despotdaemon%netscape.com
d60a52e529 Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5684 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 03:39:22 +00:00
gagan%netscape.com
0540d29926 Fix for #300506 and #300207.
git-svn-id: svn://10.0.0.236/trunk@5683 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 03:36:10 +00:00
gagan%netscape.com
f2ba7567ee Fix for bug #300506 and #300207. Incompatible cache formats between gromit and mozilla were causing the crash/asserts. Cleaning your cache before using this should fix everything.
git-svn-id: svn://10.0.0.236/trunk@5682 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 03:33:34 +00:00
troy%netscape.com
f6f52c69d7 Fixed some build bustage I introduced
git-svn-id: svn://10.0.0.236/trunk@5681 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 03:09:33 +00:00
troy%netscape.com
03207dfebf Changed image group GetImage() member function so the background color
is a pointer and not a color by value. This allows it to be NULL if the
caller wants a transparency mask to be created


git-svn-id: svn://10.0.0.236/trunk@5680 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 02:32:08 +00:00
kipp%netscape.com
78c22abb8f Setup includes for unix
git-svn-id: svn://10.0.0.236/trunk@5679 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 02:21:30 +00:00
kipp%netscape.com
efa878fad9 Fixed exporting makefile bug
git-svn-id: svn://10.0.0.236/trunk@5678 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 02:16:05 +00:00
despotdaemon%netscape.com
bc12ec3db4 Pseudo-automatic update of changes made by nisheeth@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5677 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 02:04:25 +00:00
despotdaemon%netscape.com
b19c26c59c Pseudo-automatic update of changes made by ltabb@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5676 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 01:55:28 +00:00
kipp%netscape.com
2a17e31d0d build workage for windows
git-svn-id: svn://10.0.0.236/trunk@5675 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 01:53:55 +00:00
kipp%netscape.com
b332b3527a Fix unix build woes
git-svn-id: svn://10.0.0.236/trunk@5674 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 01:19:02 +00:00
kipp%netscape.com
afaab7b6e4 new
git-svn-id: svn://10.0.0.236/trunk@5673 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 01:16:47 +00:00
despotdaemon%netscape.com
c665396945 Pseudo-automatic update of changes made by ramiro@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5672 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 01:10:06 +00:00
despotdaemon%netscape.com
8d9e76babf Pseudo-automatic update of changes made by ltabb@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5671 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 01:08:17 +00:00
despotdaemon%netscape.com
21c2c436de Pseudo-automatic update of changes made by waterson@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5670 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 01:02:33 +00:00
despotdaemon%netscape.com
4e7df64507 Pseudo-automatic update of changes made by ltabb@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5669 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 01:01:13 +00:00
despotdaemon%netscape.com
08dc50491e Pseudo-automatic update of changes made by rickg@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5668 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 00:36:03 +00:00
despotdaemon%netscape.com
afcb3283db Pseudo-automatic update of changes made by ltabb@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5667 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 00:33:04 +00:00
rpotts%netscape.com
71ff145fb3 Fix for view reference counting... A reference to the scrolling view was not being release. This prevented Scrolling views from being destroyed.
git-svn-id: svn://10.0.0.236/trunk@5666 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 00:14:03 +00:00
guha%netscape.com
7f12704c8a Fix bug in related links
git-svn-id: svn://10.0.0.236/trunk@5665 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 00:10:48 +00:00
despotdaemon%netscape.com
e7e4e7e2b2 Pseudo-automatic update of changes made by slamm@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5664 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 00:07:37 +00:00
despotdaemon%netscape.com
c2e61578c6 Pseudo-automatic update of changes made by ltabb@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5663 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-16 00:04:50 +00:00
despotdaemon%netscape.com
43b525e379 Pseudo-automatic update of changes made by rjc@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5662 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 23:50:01 +00:00
vidur%netscape.com
2e9c34fbe0 Got rid of unnecessary file
git-svn-id: svn://10.0.0.236/trunk@5661 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 23:49:22 +00:00
karnaze%netscape.com
035ea058c0 initial framesets, nsHTMLIFrame.cpp absorbed by nsHTMLFrame.cpp
git-svn-id: svn://10.0.0.236/trunk@5660 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 23:42:14 +00:00
guha%netscape.com
b5e791727c Remove duplicates from related links
git-svn-id: svn://10.0.0.236/trunk@5659 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 23:39:14 +00:00
kipp%netscape.com
639971d701 Allocated IID's for nsIHTMLContentSink, nsIContentSink, nsIDTD
git-svn-id: svn://10.0.0.236/trunk@5658 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 22:51:30 +00:00
scullin%netscape.com
da0680f5c0 Attempting to fix raptor mac build (not part of grommit or mozilla build)
git-svn-id: svn://10.0.0.236/trunk@5657 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 22:41:57 +00:00
rpotts%netscape.com
ced3fe0f75 Added nsIURL argument to the nsIStreamListener interface
git-svn-id: svn://10.0.0.236/trunk@5656 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 22:38:01 +00:00
kipp%netscape.com
34e87dc2dc Updated to XPCOM'ized sink api
git-svn-id: svn://10.0.0.236/trunk@5653 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 22:31:10 +00:00
kipp%netscape.com
04161762b4 Revised sink API's and others to be more xpcom'ish
git-svn-id: svn://10.0.0.236/trunk@5652 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 22:30:39 +00:00
kipp%netscape.com
950b54bd25 Cleaned up exports list
git-svn-id: svn://10.0.0.236/trunk@5651 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 22:04:21 +00:00
kipp%netscape.com
ed753de2b5 Fixed build issue
git-svn-id: svn://10.0.0.236/trunk@5650 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 22:03:56 +00:00
despotdaemon%netscape.com
524459db1d Pseudo-automatic update of changes made by shaver@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5649 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 22:02:47 +00:00
terry%netscape.com
2bf9ff773f Testing Bonsai, try 11.
git-svn-id: svn://10.0.0.236/trunk@5648 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 21:40:59 +00:00
despotdaemon%netscape.com
57629c5dca Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5647 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 21:32:47 +00:00
despotdaemon%netscape.com
47cbac7838 Pseudo-automatic update of changes made by gagan@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5646 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 21:31:12 +00:00
despotdaemon%netscape.com
175c5255a7 Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5645 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 21:28:42 +00:00
despotdaemon%netscape.com
60f3889b09 Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5644 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 21:26:26 +00:00
despotdaemon%netscape.com
2554945201 Pseudo-automatic update of changes made by blythe@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5643 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 21:21:41 +00:00
kipp%netscape.com
7c9fe2aa68 Fixed up to build
git-svn-id: svn://10.0.0.236/trunk@5642 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 21:07:47 +00:00
kipp%netscape.com
dc021cf11b fix directory name
git-svn-id: svn://10.0.0.236/trunk@5641 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 21:03:38 +00:00
terry%netscape.com
585c039d35 Testing Bonsai, try 10.
git-svn-id: svn://10.0.0.236/trunk@5640 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 20:56:25 +00:00
terry%netscape.com
b82af375e5 Testing Bonsai, try 9.
git-svn-id: svn://10.0.0.236/trunk@5639 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 20:50:31 +00:00
terry%netscape.com
7584b406cd Use the CVS_ROOT environment variable.
git-svn-id: svn://10.0.0.236/trunk@5638 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 20:50:10 +00:00
terry%netscape.com
b8960a3212 Testing Bonsai, try 8.
git-svn-id: svn://10.0.0.236/trunk@5637 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 20:47:57 +00:00
terry%netscape.com
2b35e8bea8 Testing Bonsai, try 7.
git-svn-id: svn://10.0.0.236/trunk@5636 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 19:56:37 +00:00
terry%netscape.com
fb6ddda634 Testing Bonsai, try 6.
git-svn-id: svn://10.0.0.236/trunk@5635 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 19:50:56 +00:00
terry%netscape.com
81e3585758 Testing Bonsai, try 5.
git-svn-id: svn://10.0.0.236/trunk@5634 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 19:43:52 +00:00
terry%netscape.com
44096764a6 Doesn't seem to know what "localhost" is. Try "127.0.0.1" instead.
git-svn-id: svn://10.0.0.236/trunk@5633 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 19:43:19 +00:00
terry%netscape.com
f88fa00a15 Testing Bonsai, try 4.
git-svn-id: svn://10.0.0.236/trunk@5632 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 19:41:56 +00:00
terry%netscape.com
5e730b77d7 Testing Bonsai, try 3.
git-svn-id: svn://10.0.0.236/trunk@5631 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 19:39:32 +00:00
terry%netscape.com
7bd8088f2b Oops; still wasn't quite right.
git-svn-id: svn://10.0.0.236/trunk@5630 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 19:39:01 +00:00
terry%netscape.com
7c460a98ff Testing Bonsai, try 2.
git-svn-id: svn://10.0.0.236/trunk@5629 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 19:37:24 +00:00
terry%netscape.com
66bf2e0829 Speak SMTP directly.
git-svn-id: svn://10.0.0.236/trunk@5628 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 19:36:44 +00:00
danm%netscape.com
ac4fd77ecc bumping the revision number some more. making last checkin more likely to work. bug 301138.
git-svn-id: svn://10.0.0.236/trunk@5627 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 19:22:02 +00:00
despotdaemon%netscape.com
e38f77bc0f Pseudo-automatic update of changes made by wtc@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5626 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 19:19:54 +00:00
terry%netscape.com
fd2945836b Just testing to make sure we haven't busted Bonsai.
git-svn-id: svn://10.0.0.236/trunk@5625 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 19:18:58 +00:00
despotdaemon%netscape.com
2a9c0f80b3 Pseudo-automatic update of changes made by wtc@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5624 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 19:18:11 +00:00
despotdaemon%netscape.com
406902047f Pseudo-automatic update of changes made by wtc@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5623 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 19:16:01 +00:00
troy
ef7aa18cc4 Unused
git-svn-id: svn://10.0.0.236/trunk@5622 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 18:58:44 +00:00
kipp
3af0a3fee5 nuked
git-svn-id: svn://10.0.0.236/trunk@5621 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 18:55:53 +00:00
despotdaemon%netscape.com
51be4c224e Pseudo-automatic update of changes made by wtc@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5620 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 18:55:37 +00:00
kipp
aed38e36a1 new
git-svn-id: svn://10.0.0.236/trunk@5619 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 18:54:51 +00:00
jevering
52fabf17ef Hooked up the related links code to the demo. Getting duplicated now,
hopefully get that fixed soon.


git-svn-id: svn://10.0.0.236/trunk@5616 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 18:45:16 +00:00
despotdaemon%netscape.com
97066c53f3 Pseudo-automatic update of changes made by saari@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5615 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 18:44:55 +00:00
jevering
0eabd76492 Related links stuff.. Guha's related links code stolen from 4.5 and
spanked seriously.. then jammed into netlib.  Nice huh?


git-svn-id: svn://10.0.0.236/trunk@5614 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 18:44:26 +00:00
despotdaemon%netscape.com
51152f3442 Pseudo-automatic update of changes made by wtc@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5613 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 18:42:38 +00:00
despotdaemon%netscape.com
38d381c811 Pseudo-automatic update of changes made by takacs@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5612 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 18:35:16 +00:00
despotdaemon%netscape.com
94b4e02014 Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@5611 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 18:31:47 +00:00
vidur
8c254f6bc3 Added HTML idl definitions. Changed directory structure in src
git-svn-id: svn://10.0.0.236/trunk@5610 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 18:30:35 +00:00
vidur
ce2208290b Added HTML idl definitions. Changed directory structure in src
git-svn-id: svn://10.0.0.236/trunk@5608 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 17:36:53 +00:00
danm
72a189d7d8 plugging leaks. bug 301138 a:don.
git-svn-id: svn://10.0.0.236/trunk@5607 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 17:26:32 +00:00
kipp
e79ebcce8a Handle unconstrained width during percentage width computations
git-svn-id: svn://10.0.0.236/trunk@5606 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 17:07:20 +00:00
kipp
ff251ca05b Fixed HR style
git-svn-id: svn://10.0.0.236/trunk@5605 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 17:07:00 +00:00
kipp
663bd5580e Speed up doc loading by not reflowing after appending leaf elements (temporary hack)
git-svn-id: svn://10.0.0.236/trunk@5604 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 17:06:53 +00:00
kipp
6e34ee0270 Indent tweak
git-svn-id: svn://10.0.0.236/trunk@5603 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 17:05:59 +00:00
kipp
a223ac715f Stop storing image attrs directly; changed layout code to not use nsHTMLImage directly
git-svn-id: svn://10.0.0.236/trunk@5602 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 17:05:49 +00:00
troy
ca3a5dd4c3 Some more changes of nsIPresContext* to nsIPresContext&
git-svn-id: svn://10.0.0.236/trunk@5601 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 17:05:21 +00:00
kmcclusk
20068e802e Put all EXPORT's on a single line. Didn't work on Linux when they were on separate lines.
git-svn-id: svn://10.0.0.236/trunk@5600 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 17:04:56 +00:00
kipp
c2ab0d6da9 Make bullets a bit smaller to look better
git-svn-id: svn://10.0.0.236/trunk@5599 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 17:04:30 +00:00
spider
e1e1054268 Fix for multitude of print statements that SHM is not available when
displaying on Hummingbird PC X Display Server


git-svn-id: svn://10.0.0.236/trunk@5598 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 17:03:53 +00:00
shaver
469e36a3d2 more jsI?Context stuff, some Scriptable hackery
git-svn-id: svn://10.0.0.236/trunk@5597 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 16:59:47 +00:00
kostello
cd12d6b39a Fix Unix build bustage
git-svn-id: svn://10.0.0.236/trunk@5596 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 16:54:29 +00:00
vidur
fa88168f3b Added HTML idl definitions. Changed directory structure in src
git-svn-id: svn://10.0.0.236/trunk@5595 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 16:54:19 +00:00
kipp
0e0312bc86 Use GetStyleSize to get a better width; store away computed width so that paint code doesn't have to compute it
git-svn-id: svn://10.0.0.236/trunk@5594 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 16:49:07 +00:00
kipp
6ecb9b1752 Keep unconstrained flowing downward
git-svn-id: svn://10.0.0.236/trunk@5593 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 16:48:21 +00:00
danm
f644f74ce6 removing Windows-specific obsolete version of Full Circle code. bug 300132 a:don.
git-svn-id: svn://10.0.0.236/trunk@5592 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 16:39:21 +00:00
ftang
c5fa348c20 Partially fix 5.0 SF1 In bug 122807 and hand it to clu per brade request.
git-svn-id: svn://10.0.0.236/trunk@5591 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 16:33:40 +00:00
terry%netscape.com
e0b760ddcd Sync up with the way things worked on /m/pub.
git-svn-id: svn://10.0.0.236/trunk@5590 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 14:05:24 +00:00
terry%netscape.com
c482a50b05 Turn on Bonsai notification in new repository.
git-svn-id: svn://10.0.0.236/trunk@5589 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 14:03:09 +00:00
ramiro
080cc049b6 Nasty hack to deal with hpux 10.x ANSI C compiler bug. Do the expression
expansion "by hand".
HPUX patches from http://hpux.csc.liv.ac.uk/hppd/mozilla/patch.html.


git-svn-id: svn://10.0.0.236/trunk@5588 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 10:34:34 +00:00
ramiro
937dba67cc Replace (un-hardcode) /usr/lib/libm.a with -lm.
HP-UX patches from http://hpux.csc.liv.ac.uk/hppd/mozilla/patch.html.
This is a good change for all platforms.  ITs dumb to hardcode the library
like that.  If for some reason a particular paltform requires a hard coded
path to libm, then it should be special cased.


git-svn-id: svn://10.0.0.236/trunk@5587 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 10:30:51 +00:00
ramiro
6952561c18 Add support for HPUX A.09. Cleanup HPUX B.10 defines. Add hpux support for
NS_USE_GCC.
Comment out an unused variable.
HP-UX patches from http://hpux.csc.liv.ac.uk/hppd/mozilla/patch.html.


git-svn-id: svn://10.0.0.236/trunk@5586 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 10:19:36 +00:00
ramiro
e4ad3c0509 Turn editres off on hpux. Declare missing XmString function on motif 2.x.
HP-UX patches from http://hpux.csc.liv.ac.uk/hppd/mozilla/patch.html.


git-svn-id: svn://10.0.0.236/trunk@5585 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 10:09:51 +00:00
ramiro
c1c1d6f094 Turn EDITRES of on hpux. HP-UX patches from http://hpux.csc.liv.ac.uk/hppd/mozilla/patch.html.
git-svn-id: svn://10.0.0.236/trunk@5584 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 10:04:44 +00:00
troy
ee770f6c01 Added an XXX to remind me to talk with Cujo about how we determine
whether the column widths have changed...


git-svn-id: svn://10.0.0.236/trunk@5581 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 04:52:32 +00:00
troy
fea23176e8 Turned off some code that was accidently turned on
git-svn-id: svn://10.0.0.236/trunk@5580 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 04:46:51 +00:00
troy
daf7150ca5 Some improvements to the incremental reflow logic to handle all the
cases handled by resize reflow


git-svn-id: svn://10.0.0.236/trunk@5579 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 04:45:58 +00:00
danm
9f30d47e7f use ns/fullsoft dll if MOZ_FULLCIRCLE
git-svn-id: svn://10.0.0.236/trunk@5577 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 04:07:56 +00:00
danm
9855ad6bbb build Full Circle using /ns source, and only ifdef MOZ_FULLCIRCLE. bug 300132 a:don.
git-svn-id: svn://10.0.0.236/trunk@5576 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 04:05:21 +00:00
pierre
1b081b8d0b 300635 (Missing icons in Aurora control bar). Put back the 3 Aurora icons ('ics8' 16251-3) inadvertently removed during the last MOZ_DARK checkin.
git-svn-id: svn://10.0.0.236/trunk@5573 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 03:31:57 +00:00
troy
eb7fa8a66e Changed API for CreateContinuingFrame and GetReflowMetrics to take
a reference to a nsIPresContext


git-svn-id: svn://10.0.0.236/trunk@5569 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 03:23:23 +00:00
racham
ccdfb61a55 Error Checking statements added at various locations
git-svn-id: svn://10.0.0.236/trunk@5568 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 03:12:25 +00:00
mccabe
b00377b8ce Added configuration section for js 1.4, with in/instanceof/exceptions turned
on.  (Default configuration is still 1.3.)


git-svn-id: svn://10.0.0.236/trunk@5567 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 03:00:24 +00:00
troy
81b8ba2d1c Changed GetReflowMetrics() to take a reference to a nsIPresContext
git-svn-id: svn://10.0.0.236/trunk@5566 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 02:59:06 +00:00
troy
547dc8ae9b Changed Reflow() member function to take a reference to a nsIPresContext
instead of a pointer


git-svn-id: svn://10.0.0.236/trunk@5565 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 02:53:09 +00:00
spider
497caf9280 Fix for crash on servers not supporting MIT-SHM
git-svn-id: svn://10.0.0.236/trunk@5564 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 02:29:10 +00:00
rickg
7bf871658d eliminated warnings from linux build
git-svn-id: svn://10.0.0.236/trunk@5563 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 02:08:19 +00:00
rickg
8a3ce47586 fixed linux warnings
git-svn-id: svn://10.0.0.236/trunk@5562 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 02:01:00 +00:00
rickg
3ee5a73f35 fixed linux tinderbox error
git-svn-id: svn://10.0.0.236/trunk@5561 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 01:58:02 +00:00
akkana
2948f23337 Bug 112612: Don't do anything with mail/news-specific preferences unless
MOZ_MAIL_NEWS is defined, so we won't save garbage out. r=brade.


git-svn-id: svn://10.0.0.236/trunk@5560 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 01:52:21 +00:00
spider
4db20609da query the server for the pixmap format rather than trying to guess ourselves
git-svn-id: svn://10.0.0.236/trunk@5559 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 01:29:20 +00:00
spider
d5e479a7da MIT-SHM implementation for offscreen drawables
git-svn-id: svn://10.0.0.236/trunk@5558 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 01:08:35 +00:00
ramiro
0f726a9fe6 Protect debug printf with #ifdef.
git-svn-id: svn://10.0.0.236/trunk@5557 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 00:56:51 +00:00
kipp
dc79c6750a Treat embed properly as a leaf; fixed typo with object tag
git-svn-id: svn://10.0.0.236/trunk@5556 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 00:49:26 +00:00
kipp
f809f86477 Made applet's, embed's and object's inlines
git-svn-id: svn://10.0.0.236/trunk@5555 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 00:48:56 +00:00
kipp
72d875c3de Rebased to use nsObjectContent to share common code
git-svn-id: svn://10.0.0.236/trunk@5554 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 00:48:39 +00:00
kipp
165aa88ae1 new
git-svn-id: svn://10.0.0.236/trunk@5553 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 00:48:22 +00:00
kipp
c7a0a24011 Added nsObjectContent
git-svn-id: svn://10.0.0.236/trunk@5552 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 00:48:15 +00:00
kipp
bb375cde2c More hacks for floating embed's, object's and applet's
git-svn-id: svn://10.0.0.236/trunk@5551 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 00:47:46 +00:00
kipp
2532972048 Treat embed just like img
git-svn-id: svn://10.0.0.236/trunk@5550 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 00:47:19 +00:00
briano
0ef6d5c477 Fix for Mozilla bug#117. Thanks to thorsten@wurzelausix.cs.uni-sb.de and wtc@netscape.com for the suggestions.
git-svn-id: svn://10.0.0.236/trunk@5549 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 00:37:11 +00:00
morse
4b4dfdf1d8 fix bug 161346, reviewed by valeski
git-svn-id: svn://10.0.0.236/trunk@5548 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 00:29:04 +00:00
kipp
b3e9e70eb9 Handle null pointers better
git-svn-id: svn://10.0.0.236/trunk@5547 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 00:23:31 +00:00
kipp
bac02831ad Added applet, object and embed support
git-svn-id: svn://10.0.0.236/trunk@5546 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 00:23:07 +00:00
kipp
ec1f86413c Added nsObjectFrame
git-svn-id: svn://10.0.0.236/trunk@5545 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 00:22:56 +00:00
kipp
9f488fc36a new
git-svn-id: svn://10.0.0.236/trunk@5544 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 00:22:30 +00:00
kipp
3fb1d547c1 Handle applet, object and embed tags
git-svn-id: svn://10.0.0.236/trunk@5543 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 00:22:15 +00:00
kipp
66f0ceca5c Use NS_NewObjectFrame
git-svn-id: svn://10.0.0.236/trunk@5542 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 00:21:51 +00:00
kipp
00dccbb4e9 added nsHTMLEmbed
git-svn-id: svn://10.0.0.236/trunk@5541 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 00:21:43 +00:00
rickg
c02241edaa fixed a tinderbox problem introduced in latest contentsinkstream
git-svn-id: svn://10.0.0.236/trunk@5540 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 00:21:39 +00:00
briano
f4329226d6 Fix for Mozilla bug#249. Thanks to armen@unx.dec.com for doing the testing for me.
git-svn-id: svn://10.0.0.236/trunk@5539 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 23:49:35 +00:00
radha
8af45b29f5 Fix for Gromit SF1 in bug # 123826. COde reviewed by Judson Valeski.
Type of change:
--------------
Set the timer to call NET_ProcessNet() after a request for network access
is made. See bug report for more details.


git-svn-id: svn://10.0.0.236/trunk@5538 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 23:40:16 +00:00
joki
26b73797ac Change these to PR boolean values
git-svn-id: svn://10.0.0.236/trunk@5537 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 23:34:37 +00:00
kostello
dd53fc97c8 Sync with new DOM interfaces
git-svn-id: svn://10.0.0.236/trunk@5536 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 23:30:44 +00:00
rickg
bd87244c26 fixed 's' tag which broke with introduction of nsHTMLTags
git-svn-id: svn://10.0.0.236/trunk@5535 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 23:29:25 +00:00
briano
9377549c32 Fix for mozilla bug#477. Thanks to sjm@nwc.dk for the info.
git-svn-id: svn://10.0.0.236/trunk@5533 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 23:24:30 +00:00
law
1a1678d85a Fix for bug#197179
git-svn-id: svn://10.0.0.236/trunk@5531 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 23:11:05 +00:00
vidur
00cf93dbea Added square-bracket indexing for any interface that has an item() method.
git-svn-id: svn://10.0.0.236/trunk@5530 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 23:07:26 +00:00
chuang
f6f78f53ed Fix300421 Edit Preferences doesn't work, reviewed by putterman
git-svn-id: svn://10.0.0.236/trunk@5528 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 23:03:07 +00:00
karnaze
c8d410f8d0 made "get" the default for submission when method is omitted
git-svn-id: svn://10.0.0.236/trunk@5526 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 22:52:07 +00:00
ramiro
d701cb3361 Fix for 124262 5.0 SF1 in bug.
Thanks to for providing the initial fix Juergen Keil <jk@tools.de>.


git-svn-id: svn://10.0.0.236/trunk@5525 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 22:51:57 +00:00
kostello
4a76768a22 Added XIF Support. XIF is a Netscape internal XML format which is
designed to allow for easy conversion from the NGLayoutContent model
to other formats. It's primary focus is to allow easy conversion to
HTML3.2 and HTML4.0 formats. Other formats may be supported in the future.


git-svn-id: svn://10.0.0.236/trunk@5523 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 22:37:51 +00:00
spider
d7ff18d3fe Removing incorrectly added Mac specific files from Motif directory
git-svn-id: svn://10.0.0.236/trunk@5522 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 22:35:56 +00:00
kostello
99d792b211 Added XIF (XML Interchange Format) Support. XIF is designed
as an Netscape internal XML application. It is designed to
allow conversion from our content model to any output format --
most importantly to HTML 3.2 and HTML4.0 format.


git-svn-id: svn://10.0.0.236/trunk@5521 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 22:34:27 +00:00
despotdaemon%netscape.com
80c2608628 Pseudo-automatic update of changes made by terry.
git-svn-id: svn://10.0.0.236/trunk@5520 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 22:30:28 +00:00
kostello
2a61f0d9df Helper object that creates a buffer of XIF data
git-svn-id: svn://10.0.0.236/trunk@5519 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 22:29:21 +00:00
jevering
2719dea262 Turned on location bar in windows.
git-svn-id: svn://10.0.0.236/trunk@5518 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 22:29:01 +00:00
kostello
ca721596f3 DTD to take XIF input and write to a IHTMLContentSinkStream
git-svn-id: svn://10.0.0.236/trunk@5517 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 22:26:38 +00:00
toshok
6fbaecdce2 Only call lo_SetLineBreak if we indeed inserted a line break - fixes SF1 P0 bug 300047.
git-svn-id: svn://10.0.0.236/trunk@5516 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 22:16:21 +00:00
despotdaemon%netscape.com
6896c191b6 Pseudo-automatic update of changes made by cyeh@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5515 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 21:53:12 +00:00
danm
011bd0d82f plug small memory leak. bug 300980 a:don.
git-svn-id: svn://10.0.0.236/trunk@5514 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 21:51:36 +00:00
toshok
858173e862 switch order of if checks. gets rid of a SF1 P0 bug 300045.
git-svn-id: svn://10.0.0.236/trunk@5512 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 21:39:00 +00:00
despotdaemon%netscape.com
563ed8fb9b Pseudo-automatic update of changes made by ebina@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5511 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 21:26:32 +00:00
cyeh
2e82e0f7a3 fix for Macintosh raptor build. target name was mispelled, so the build defaulted to the wrong networking target. corrected spelling so that modular netlib is built instead. (not a part of mozilla or gromit builds, reviewed cyeh)
git-svn-id: svn://10.0.0.236/trunk@5510 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 21:13:23 +00:00
spider
f8b19557c3 Fix for not unloading fonts no longer needed
git-svn-id: svn://10.0.0.236/trunk@5509 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 20:32:33 +00:00
joki
d670f3d6e9 Generated JS from IDL now calls backdoor routine all the time from js getters/setters
git-svn-id: svn://10.0.0.236/trunk@5508 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 20:19:28 +00:00
spider
25ff908892 Export the CNavDTD interface so DTD's residing in remote shared libraries
can use it.


git-svn-id: svn://10.0.0.236/trunk@5506 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 19:24:54 +00:00
rickg
b4dce18854 added a few missing tags
git-svn-id: svn://10.0.0.236/trunk@5505 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 19:18:06 +00:00
rickg
a943a03baf added a few missing tags
git-svn-id: svn://10.0.0.236/trunk@5504 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 19:10:42 +00:00
kipp
085aef855b Add factory methods for applets and objects
git-svn-id: svn://10.0.0.236/trunk@5503 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 18:54:20 +00:00
kipp
ee1d54a263 new
git-svn-id: svn://10.0.0.236/trunk@5502 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 18:52:27 +00:00
vidur
1b41003b82 Moved over to a new version of Level 1. NodeIterators and AttributeLists out. NodeLists and NamedNodeMaps in.
git-svn-id: svn://10.0.0.236/trunk@5501 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 18:44:44 +00:00
scullin
9a53260754 Turn on image caching.
git-svn-id: svn://10.0.0.236/trunk@5500 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 18:43:47 +00:00
kipp
f5f0f625ca Use FirstChild method so that more subclasses can use the method
git-svn-id: svn://10.0.0.236/trunk@5499 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 18:38:11 +00:00
kipp
c05fb3bd95 Check for silly width/height's and repair them; fixed bug where a silly height was created; removed redundant handle-event code
git-svn-id: svn://10.0.0.236/trunk@5498 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 18:37:51 +00:00
spider
064ddf3fe8 Add Network support for UI Loading
git-svn-id: svn://10.0.0.236/trunk@5497 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 18:22:27 +00:00
despotdaemon%netscape.com
80101e87ac Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5496 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 17:55:03 +00:00
terry%netscape.com
a73edc1475 Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5495 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 17:43:16 +00:00
spider
de2747552e Performance Optimization: Cache the XFontInfo struct so don't need
to call XQueryFont on every GetWidth.


git-svn-id: svn://10.0.0.236/trunk@5494 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 17:41:06 +00:00
terry%netscape.com
077a01033e Pseudo-automatic update of changes made by despotdaemon@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5493 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 17:38:45 +00:00
kmcclusk
19b25d95ae Added #ifdef VIEWER_UI to OnStopBinding to prevent crash when running without GUI
git-svn-id: svn://10.0.0.236/trunk@5492 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 17:37:42 +00:00
scullin
3c4fca0705 Didn't mean to start pulling the XPCOM branch for xpcom or libreg again.
(sigh).


git-svn-id: svn://10.0.0.236/trunk@5491 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 17:24:26 +00:00
terry%netscape.com
f3edbed615 Pseudo-automatic update of changes made by terry.
git-svn-id: svn://10.0.0.236/trunk@5490 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 17:19:13 +00:00
terry%netscape.com
f435b2615c Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5489 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 17:17:52 +00:00
terry%netscape.com
2d34ff75f9 Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5488 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 17:16:25 +00:00
terry%netscape.com
7b02fa1fc5 Pseudo-automatic update of changes made by terry.
git-svn-id: svn://10.0.0.236/trunk@5487 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 17:12:43 +00:00
terry%netscape.com
283136ab27 Turn on commitcheck.pl
git-svn-id: svn://10.0.0.236/trunk@5486 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 16:52:16 +00:00
terry%netscape.com
fac1ed544a Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@5485 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 16:49:58 +00:00
terry%netscape.com
85fb64814f Pseudo-automatic update of changes made by terry.
git-svn-id: svn://10.0.0.236/trunk@5484 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 16:42:51 +00:00
terry%netscape.com
36ec67254e Automatically generated script to implement despot control.
git-svn-id: svn://10.0.0.236/trunk@5483 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 16:27:59 +00:00
troy
5d54fed53c Incremental reflow changes
git-svn-id: svn://10.0.0.236/trunk@5482 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 15:29:50 +00:00
kipp
5d58dac108 Hack around url parsing bug; urls that start with / are not absolute even if they contain a colon
git-svn-id: svn://10.0.0.236/trunk@5481 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 15:24:32 +00:00
kipp
b5e35e2bd9 Handle null pointer bugs
git-svn-id: svn://10.0.0.236/trunk@5480 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 15:22:30 +00:00
kipp
f13e4e5b36 Made tables look more real by eliminating ebina auto margins
git-svn-id: svn://10.0.0.236/trunk@5479 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 15:22:11 +00:00
kipp
46bda6f8ac Commented out an unused variable
git-svn-id: svn://10.0.0.236/trunk@5478 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 15:21:50 +00:00
kipp
d9a3931568 Removed MoveTo/SizeTo; added DidReflow and changed it so that on final placement the widget is made visible; during widget creation the widget is created hidden; updated hack font name to match ua.css
git-svn-id: svn://10.0.0.236/trunk@5477 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 15:21:36 +00:00
kipp
86d409d25c Removed MoveTo/SizeTo and added DidReflow
git-svn-id: svn://10.0.0.236/trunk@5476 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 15:20:43 +00:00
kipp
b7b5e4a567 Removed WS_VISIBLE from everywhere so that windows when created are hidden until positioned and shown
git-svn-id: svn://10.0.0.236/trunk@5475 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 15:17:29 +00:00
danm
109f9fbcdf fix %@# goof from the _last_ fix checkin. time to go home.
git-svn-id: svn://10.0.0.236/trunk@5467 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 03:20:52 +00:00
kipp
218d170d43 Stop using GetText for node tag names whenever possible
git-svn-id: svn://10.0.0.236/trunk@5460 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 01:57:51 +00:00
rickg
8ee1bc17c0 better support for applet/param tags; also converted DIR/MENU to UL
git-svn-id: svn://10.0.0.236/trunk@5459 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 01:57:25 +00:00
kipp
8287b3a383 Put prlog.h back in again
git-svn-id: svn://10.0.0.236/trunk@5458 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 01:45:01 +00:00
kin
b2dec3ba0c Fix for 5.0 SF1in bug 299978: html compose fails: can't save file:///Untitled
Ignore autosave code in fe_EditorCleanup() if the context is for a
MWContextMessageComposition.  Reviewed by akkana.


git-svn-id: svn://10.0.0.236/trunk@5456 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 01:29:37 +00:00
pierre
fbf09cf662 Following my MOZ_DARK checkin 2 weeks ago, changed a "((long (*) (char *, uint32, void *))" to "((int32 (*) (char *, uint32, void *))". Just in case...
git-svn-id: svn://10.0.0.236/trunk@5455 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 01:17:15 +00:00
scullin
0da10cc6ec Attempt to fix build.
git-svn-id: svn://10.0.0.236/trunk@5454 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 01:09:34 +00:00
scullin
605bf92aef Fix UNIX link problems.
git-svn-id: svn://10.0.0.236/trunk@5453 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 00:57:49 +00:00
kipp
08a2fe283f Removed bogus include
git-svn-id: svn://10.0.0.236/trunk@5452 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 00:57:16 +00:00
kipp
14c8e34ecb Clamp bullet x coordinate to stay in the available area; if we have a bullet then the first 2 frames are considered the first frame
git-svn-id: svn://10.0.0.236/trunk@5451 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 00:56:49 +00:00
raman
f3152cb469 Added caps to the pull. caps is not part of the build system. caps is checked into both the tip and it is part of the OJI branch. When OJI branch lands on the tip, the build of caps will be enabled. Permission warren/ltabb
git-svn-id: svn://10.0.0.236/trunk@5450 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 00:56:33 +00:00
kipp
f4279ba768 Added have-bullet flag
git-svn-id: svn://10.0.0.236/trunk@5449 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 00:55:43 +00:00
kipp
ee32cc07cd Revamp list handling so that the LI frame is placed differently then regular frames by the LI container
git-svn-id: svn://10.0.0.236/trunk@5448 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 00:55:28 +00:00
kipp
4d29852f8a Removed LI hack
git-svn-id: svn://10.0.0.236/trunk@5447 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 00:54:21 +00:00
scullin
ccf0a01c00 Fix nglayout UNIX build?
git-svn-id: svn://10.0.0.236/trunk@5446 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 00:17:00 +00:00
scullin
6e47abf3ed Fix build?
git-svn-id: svn://10.0.0.236/trunk@5445 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-14 00:13:49 +00:00
briano
9b218551c3 Fix for bug#356. Cleaned up the logic a bit and got rid of the pointless checks for NSPR20.
git-svn-id: svn://10.0.0.236/trunk@5443 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 23:57:26 +00:00
pollmann
4f6e01509a Bugfixes 5.0 SF1 in (Bug #300542)
git-svn-id: svn://10.0.0.236/trunk@5442 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 23:57:14 +00:00
danm
058b2de7f3 fix Win95 bustage introduced last version. Sorry about that.
git-svn-id: svn://10.0.0.236/trunk@5441 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 23:52:48 +00:00
sar
0ab9bdbda4 adding libmsg and libaddr to MozillaSourceCommon now that they are free. NormandyBeach* will be going away as soon as aclimation is ensured.
git-svn-id: svn://10.0.0.236/trunk@5439 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 23:50:22 +00:00
scullin
20cdc31eeb Re-enable normal netlib stream handling. Caching and chunking should
work now.


git-svn-id: svn://10.0.0.236/trunk@5438 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 23:43:13 +00:00
scullin
350aab065b Re-add mkstream to nglayout build, give a default value to memory
cache pref if defaults aren't loaded.
Approved, reviewed by ltabb.


git-svn-id: svn://10.0.0.236/trunk@5437 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 23:41:21 +00:00
scullin
795f43a5f6 Added NGLAYOUT FO_ type, used only by nglayout. Approved, reviewed by
ltabb.


git-svn-id: svn://10.0.0.236/trunk@5436 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 23:39:43 +00:00
scullin
94e0117e46 Added pref initialization.
git-svn-id: svn://10.0.0.236/trunk@5435 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 23:38:08 +00:00
pollmann
0ec35225ab Bugfixes 5.0 SF1 in (Bug #300542)
git-svn-id: svn://10.0.0.236/trunk@5433 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 23:35:44 +00:00
kin
d15e036243 Fix for SF1in bug 299356: Indentation increases line spacing for same indent
level
Modified CEditBuffer::IndentContainer (case 0) to combine adjacent
blockquote containers.

Reviewed by mjudge.


git-svn-id: svn://10.0.0.236/trunk@5432 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 23:22:50 +00:00
mjudge
773f9f69fb 117388 110370 are both solved by this change. tadaaa
git-svn-id: svn://10.0.0.236/trunk@5430 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 22:55:01 +00:00
timm
d4df13696f fix typo
git-svn-id: svn://10.0.0.236/trunk@5429 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 22:33:21 +00:00
timm
1ea42370c1 changed text
git-svn-id: svn://10.0.0.236/trunk@5428 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 22:24:47 +00:00
kipp
e87676f371 Fixed UL/OL to be blocks again (whoops)
git-svn-id: svn://10.0.0.236/trunk@5421 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 22:12:58 +00:00
kipp
3343b49fd2 Fixed bug with dangling empty lines
git-svn-id: svn://10.0.0.236/trunk@5420 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 22:12:43 +00:00
rickg
7a41228ec0 quick fix to deal with applet tags
git-svn-id: svn://10.0.0.236/trunk@5419 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 21:56:26 +00:00
rickg
48495d02d4 fixed a few problems with unix build
git-svn-id: svn://10.0.0.236/trunk@5418 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 21:42:45 +00:00
kipp
9d6bd8a74c work around build bug
git-svn-id: svn://10.0.0.236/trunk@5417 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 21:37:26 +00:00
kipp
38ae948bcb Fixed tracing macro bug
git-svn-id: svn://10.0.0.236/trunk@5416 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 21:32:26 +00:00
kipp
cbddf0bf47 Fixed rickg's build bustage
git-svn-id: svn://10.0.0.236/trunk@5415 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 21:26:18 +00:00
kipp
68b5b8e074 Added code so that TR VALIGN's will dump properly when content is dumped
git-svn-id: svn://10.0.0.236/trunk@5414 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 21:16:51 +00:00
rickg
434bedca96 added WIP support for reentrancy in the parser
git-svn-id: svn://10.0.0.236/trunk@5413 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 21:13:09 +00:00
buster
d23536257e turned debug noise off
git-svn-id: svn://10.0.0.236/trunk@5412 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 20:44:07 +00:00
buster
1a959d659a for Nav compatibility, 0-width cells do not have insets
git-svn-id: svn://10.0.0.236/trunk@5411 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 20:41:38 +00:00
kipp
043e7f9a28 Removed extra semicolon
git-svn-id: svn://10.0.0.236/trunk@5410 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 19:56:19 +00:00
kipp
af77c269f2 Added LoadURL method to observer; cleaned up load progress messages
git-svn-id: svn://10.0.0.236/trunk@5409 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 19:53:50 +00:00
kipp
fd28796530 Added LoadURL method to observer
git-svn-id: svn://10.0.0.236/trunk@5408 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 19:53:32 +00:00
kipp
02eae4377e Removed unused variable
git-svn-id: svn://10.0.0.236/trunk@5407 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 19:53:18 +00:00
kipp
5215d98a83 Added back in the current url to the observer so that it can print it out during load progress
git-svn-id: svn://10.0.0.236/trunk@5406 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 19:53:03 +00:00
kipp
4e1de881b6 Removed dead code; moved some printf's into nspr logging
git-svn-id: svn://10.0.0.236/trunk@5405 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 19:52:37 +00:00
kipp
90e2fb29ad Cleaned up style sheet
git-svn-id: svn://10.0.0.236/trunk@5404 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 19:49:53 +00:00
kipp
c6d347ff1a Implement VerifyReflow
git-svn-id: svn://10.0.0.236/trunk@5403 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 19:49:42 +00:00
kipp
689bb0f583 Added reflow verification api
git-svn-id: svn://10.0.0.236/trunk@5402 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 19:49:20 +00:00
kipp
139edf2c4d updated a few comments
git-svn-id: svn://10.0.0.236/trunk@5401 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 19:49:07 +00:00
buster
b481b4f1eb added Nav4 compatibility code for 0-width cells
git-svn-id: svn://10.0.0.236/trunk@5400 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 19:22:45 +00:00
buster
e51faf6d00 fixed 2 minor space leaks having to do with temporary structs allocated
to handle colspans


git-svn-id: svn://10.0.0.236/trunk@5398 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 18:11:12 +00:00
ftang
d1f7fd0548 Fix 5.0 SF1 in bug 123225. merged from 4.5 fix.
git-svn-id: svn://10.0.0.236/trunk@5397 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 16:51:53 +00:00
ftang
a2b983aa2a Fix crashing bug # Approved by jar. This bug currently tag as 4.5 bug but since it is
a crashing bug, jar approve to check it in. We didn't change the bug Target FIX version
to 5.0 SF1 in because Nova also need to track it.


git-svn-id: svn://10.0.0.236/trunk@5396 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 16:38:30 +00:00
ftang
61bcbc2473 Fix crashing bug #241466 Approved by jar. This bug currently tag as 4.5 bug but since it is
a crashing bug, jar approve to check it in. We didn't change the bug Target FIX version
to 5.0 SF1 in because Nova also need to track it.


git-svn-id: svn://10.0.0.236/trunk@5395 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 16:37:49 +00:00
kipp
e7a3f07580 Support progressive loading
git-svn-id: svn://10.0.0.236/trunk@5394 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 16:25:15 +00:00
shaver
afca99d6a9 support int JSVALs in XDRValue (duh)
git-svn-id: svn://10.0.0.236/trunk@5393 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 16:12:41 +00:00
danm
a677161106 optionally include GlowCode. bug 299200 a:don.
git-svn-id: svn://10.0.0.236/trunk@5392 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-13 00:22:53 +00:00
shaver
e2c90b8b76 modules subdir doesn't build, but mozilla doesn't seem to need it?
removed from subdirs list to let it build again.
(r=nobody, a=nobody...sorry)


git-svn-id: svn://10.0.0.236/trunk@5377 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-12 01:15:13 +00:00
kipp
231947e27f Empty the style stack when closing out a td/th
git-svn-id: svn://10.0.0.236/trunk@5376 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-12 01:12:34 +00:00
kipp
c6eae7d71d Reflow child when max-element-size is requested (this works around a purify detected crash)
git-svn-id: svn://10.0.0.236/trunk@5375 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-12 00:19:17 +00:00
kipp
88e680a7ba Set max-element-size
git-svn-id: svn://10.0.0.236/trunk@5374 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-12 00:18:36 +00:00
kipp
121e87e365 Added code to move content in bad spots in tables out
git-svn-id: svn://10.0.0.236/trunk@5373 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-12 00:18:26 +00:00
kipp
5d59509372 Work around table bugs in a different way
git-svn-id: svn://10.0.0.236/trunk@5372 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-12 00:17:50 +00:00
ramiro
da9ab54d23 Fix broken '#if defined' and no new line at end of makefile.
git-svn-id: svn://10.0.0.236/trunk@5367 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-11 12:45:01 +00:00
rpotts
f1c061e017 Fixed up CVS merge problem that was horking reference counts...
git-svn-id: svn://10.0.0.236/trunk@5365 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-11 08:07:17 +00:00
michaelp
ff99d20bf4 fixed copying of anims10.gif in Makefile.
git-svn-id: svn://10.0.0.236/trunk@5364 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-11 06:23:49 +00:00
michaelp
408d13cd26 killed much hated borders on views...
git-svn-id: svn://10.0.0.236/trunk@5363 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-11 06:17:09 +00:00
michaelp
e95e8e4755 added throbber.
git-svn-id: svn://10.0.0.236/trunk@5362 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-11 05:33:00 +00:00
michaelp
b37f92956d fixed.
git-svn-id: svn://10.0.0.236/trunk@5361 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-11 05:28:22 +00:00
michaelp
2f8b0194f3 new gifs for throbber animation...
git-svn-id: svn://10.0.0.236/trunk@5360 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-11 05:24:57 +00:00
troy
fd17693b35 Added back in some changes that got lost in the previous
check-in


git-svn-id: svn://10.0.0.236/trunk@5359 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-11 04:16:29 +00:00
kipp
40973d714e Improved tracing somewhat; fixed map handling; removed some dead code
git-svn-id: svn://10.0.0.236/trunk@5354 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-11 03:51:50 +00:00
kipp
c2c3112e46 Split HandleEvent between the two classes; in theory this is because the RootContentFrame gets the scroll adjusted x,y coordinate and RootFrame doesnt
git-svn-id: svn://10.0.0.236/trunk@5353 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-11 03:51:18 +00:00
kipp
a7f407ad3b Disabled some code to make cursors over links work
git-svn-id: svn://10.0.0.236/trunk@5352 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-11 03:50:14 +00:00
kipp
1c19e35dbc Adjust coordinates to account for borders; don't consume the event when just mouse overing (only consume it when clicking); this fixes cursors oddly enough
git-svn-id: svn://10.0.0.236/trunk@5351 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-11 03:49:56 +00:00
kipp
49715b7ad9 Tweaked
git-svn-id: svn://10.0.0.236/trunk@5350 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-11 03:49:17 +00:00
kipp
ee315c54c3 Removed GetCursorAt code
git-svn-id: svn://10.0.0.236/trunk@5348 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-11 03:48:33 +00:00
kipp
8ede9c3501 Avoid crashing when we have no content
git-svn-id: svn://10.0.0.236/trunk@5347 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-11 03:47:56 +00:00
kipp
a0967f2628 Made GetCursorAt looping generic so that more subclasses could use it
git-svn-id: svn://10.0.0.236/trunk@5346 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-11 03:47:37 +00:00
briano
13492a0183 Finally added most of Richard Lloyd's (hpux@csc.liv.ac.uk) changes, in a manner that I think will work for everyone.
git-svn-id: svn://10.0.0.236/trunk@5333 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-11 01:44:28 +00:00
warren
5764b360ff Added simple LiveConnected plugin test case that used backward adapter.
git-svn-id: svn://10.0.0.236/trunk@5331 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-11 01:40:24 +00:00
warren
63804b1d7f Fixed up and moved backward adapter from oji dir.
git-svn-id: svn://10.0.0.236/trunk@5330 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-11 01:39:51 +00:00
warren
318510e6b4 Removed bogus npupp.h -- clean one on mozilla/include
git-svn-id: svn://10.0.0.236/trunk@5328 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-11 01:23:27 +00:00
buster
27d15214e7 fixed unix build, and one small uninitialized variable problem
git-svn-id: svn://10.0.0.236/trunk@5326 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-11 00:47:29 +00:00
briano
da33ac3419 Added a few minor requested changes.
git-svn-id: svn://10.0.0.236/trunk@5324 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-11 00:08:56 +00:00
buster
8baeb40126 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@5323 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-11 00:08:08 +00:00
buster
7e8cc1207b major hackage to the table data structures. slimmer, simpler, faster
this work exposed a few bugs and slow spots, which have been fixed
for the aol page, I added some additional backwards compatibility code
to proportionately distribute width when a fixed-width cell has colspans


git-svn-id: svn://10.0.0.236/trunk@5322 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-11 00:00:31 +00:00
rpotts
dc3c10b49e Fixed circular reference problem between the nsScrollingView and its scrollbars...
git-svn-id: svn://10.0.0.236/trunk@5321 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 23:10:26 +00:00
troy
5b2534fcda More code re-shuffling. I need to hurry and check-in before Cujo
whacks the tree


git-svn-id: svn://10.0.0.236/trunk@5320 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 22:56:13 +00:00
pinkerton
944e9273a8 Really fix bug #299909 (appr don, rev rjc).
git-svn-id: svn://10.0.0.236/trunk@5314 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 22:19:56 +00:00
warren
2d45ee2644 Moved lib/plugin to modules/plugin.
git-svn-id: svn://10.0.0.236/trunk@5313 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 21:45:46 +00:00
kipp
75f8dd277f Fixed max-element-size to account for the border+padding
git-svn-id: svn://10.0.0.236/trunk@5312 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 21:45:30 +00:00
rpotts
38bff0f0ed Fixed reference counting leak when processing mouse button down events...
git-svn-id: svn://10.0.0.236/trunk@5311 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 21:44:15 +00:00
kmcclusk
c81bc9c159 Factored CreateWindow code into CreateMainWindow and CreateChildWindow code.
git-svn-id: svn://10.0.0.236/trunk@5310 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 21:26:46 +00:00
raman
8547f117f6 This is not part of any build system. caps is part of OJI effort. It will be used by JavaScript in future. Approved by warren/jar/jsw.
git-svn-id: svn://10.0.0.236/trunk@5307 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 21:12:19 +00:00
kipp
0afd53b9cc Generate automatic margin values for most blocks; this emulates ebina margins fairly well
git-svn-id: svn://10.0.0.236/trunk@5306 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 20:30:23 +00:00
kipp
fe64e82ae0 Removed SetMargins call; the default ctor zeros things out now
git-svn-id: svn://10.0.0.236/trunk@5305 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 20:28:30 +00:00
kipp
46cfe4e14b Made it more ebina ish
git-svn-id: svn://10.0.0.236/trunk@5304 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 20:28:04 +00:00
kipp
93e0331886 Pass on DidReflow always so that sub-frames that contain views can get notified and move the views
git-svn-id: svn://10.0.0.236/trunk@5303 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 20:27:43 +00:00
kipp
c36e74b064 initialize reflow metrics and reflow state to avoid downstream bugs
git-svn-id: svn://10.0.0.236/trunk@5302 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 20:26:20 +00:00
kipp
7bc7766680 Fixed case of nsString.h include
git-svn-id: svn://10.0.0.236/trunk@5301 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 20:19:03 +00:00
troy
99f12e096a Deprecated the SetFirstContentOffset/SetLastContentOffset member
functions that take a nsIFrame*


git-svn-id: svn://10.0.0.236/trunk@5297 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 19:04:06 +00:00
jevering
91b4ec0238 Fixing Linux & Irix builds...
git-svn-id: svn://10.0.0.236/trunk@5296 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 18:49:02 +00:00
jevering
0039b478e5 Fix parser build bustage on win32.
git-svn-id: svn://10.0.0.236/trunk@5292 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 18:14:11 +00:00
rods
a232c4f55a Turned off debugging.
git-svn-id: svn://10.0.0.236/trunk@5291 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 17:29:03 +00:00
rods
bf3d278b06 Added the proper initialization for the DeviceContext and the toolkit
git-svn-id: svn://10.0.0.236/trunk@5289 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 17:22:58 +00:00
hyatt
c520053213 Fix for 300331. Reviewed by blythe, approved by don.
git-svn-id: svn://10.0.0.236/trunk@5288 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 17:22:06 +00:00
rods
52818a7c17 Fixed positioning errors.
git-svn-id: svn://10.0.0.236/trunk@5287 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 17:22:05 +00:00
hyatt
992f858aff Fixes for bugs 299992, 299994, 300042. Reviewed by blythe, approved by don.
git-svn-id: svn://10.0.0.236/trunk@5286 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 17:10:25 +00:00
dcone
716e464d23 fixed back to async
git-svn-id: svn://10.0.0.236/trunk@5284 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 13:25:36 +00:00
dcone
504a76af04 16 bit speed testing code
git-svn-id: svn://10.0.0.236/trunk@5283 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 12:53:15 +00:00
nisheeth
82329d36b5 Fix the Mac build bustage...
git-svn-id: svn://10.0.0.236/trunk@5282 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 07:05:12 +00:00
rickg
837fc0806e dynamic DTD support
git-svn-id: svn://10.0.0.236/trunk@5278 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 05:35:23 +00:00
troy
45923e2e1b Changed it so we assume that rows are always complete
git-svn-id: svn://10.0.0.236/trunk@5277 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 05:23:05 +00:00
troy
c54f7d9d1c Some incremental improvements
git-svn-id: svn://10.0.0.236/trunk@5276 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 04:00:38 +00:00
raman
6db3ca35c1 This is not part of any build system. caps is part of OJI effort. It will be used by JavaScript in future
git-svn-id: svn://10.0.0.236/trunk@5275 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 03:19:59 +00:00
peterl
f3f3b09d24 tweaking <FONT size=x> handling
git-svn-id: svn://10.0.0.236/trunk@5274 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 02:45:18 +00:00
cyeh
ed6e9c3fa8 remove xp_sec.c, it's not being used anyway. removing cruft.
git-svn-id: svn://10.0.0.236/trunk@5273 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 02:23:01 +00:00
cyeh
0224c80093 make changes to remove xp_sec.c and xp_sec.h from macbuild. they aren't used anywhere.
git-svn-id: svn://10.0.0.236/trunk@5272 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 02:17:54 +00:00
mccabe
407732a410 Added newline in 2nd comment to make the LXR indexer slightly happier.
Thanks to Dawn Endico <dawn@cannibal.mi.org> for LXR hacking.


git-svn-id: svn://10.0.0.236/trunk@5271 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 02:13:17 +00:00
danm
6a6b1ec5ab glowcode, the right way. bug 299200 a:don
git-svn-id: svn://10.0.0.236/trunk@5270 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 02:04:46 +00:00
pierre
6352135f15 Added MailNewsPrefPanes.cnst
git-svn-id: svn://10.0.0.236/trunk@5269 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 01:13:52 +00:00
pierre
bc774c261c Removed the MailNews resources: they are stored in MailNewsPrefPanes.cnst.
git-svn-id: svn://10.0.0.236/trunk@5268 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 01:12:58 +00:00
pierre
3a061708cd First Checked In.
git-svn-id: svn://10.0.0.236/trunk@5267 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 01:11:18 +00:00
nisheeth
2b6e32c052 Fix for bug #173417 and bug #186496. Reviewed by toshok.
We redo the way tables get freed.
Earlier when the LO_TABLE element got freed, it would free stuff that hangs
of the subsequent LO_CELL elements.  Now, only table related stuff gets freed
and the LO_CELL peer data structures get freed when the LO_CELL is freed.
Lots of code that was if-defed or commented out since Mariner hit the tip
has been removed to improve code readability.


git-svn-id: svn://10.0.0.236/trunk@5266 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 01:03:46 +00:00
clu
9baa06d225 #300180; reviewed by brade. Added editor.r to the project file.
git-svn-id: svn://10.0.0.236/trunk@5265 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 00:53:56 +00:00
kmcclusk
37a2860a21 Added fields mXstring and mXstringSize
git-svn-id: svn://10.0.0.236/trunk@5264 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 00:49:04 +00:00
kmcclusk
ed7d989a06 Modified GetWidth to give correct values under Linux
git-svn-id: svn://10.0.0.236/trunk@5263 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 00:20:38 +00:00
rjc
e7964eff27 Fix bug # 124117
git-svn-id: svn://10.0.0.236/trunk@5261 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 23:00:29 +00:00
rjc
a944e4ae45 Fix bug # 129629
git-svn-id: svn://10.0.0.236/trunk@5260 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 22:53:25 +00:00
rjc
d1fdea91c6 Fix bug # 299980 (disable FTP output into Aurora, until RDF_BRANCH_060398 lands)
git-svn-id: svn://10.0.0.236/trunk@5259 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 22:48:38 +00:00
rjc
9b1be8298a Fixes for bugs # 299744 and # 299909.
git-svn-id: svn://10.0.0.236/trunk@5258 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 22:43:11 +00:00
jevering
c107cb777f Added Top 100 site viewer.
git-svn-id: svn://10.0.0.236/trunk@5256 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 21:07:58 +00:00
troy
d003171be2 Added some new sizing constraints
git-svn-id: svn://10.0.0.236/trunk@5255 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 20:53:37 +00:00
rods
9b86931409 Changed cast to XID (for IRIX)
git-svn-id: svn://10.0.0.236/trunk@5254 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 19:51:53 +00:00
timm
4d04825004 added GetFileContents
git-svn-id: svn://10.0.0.236/trunk@5253 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 19:23:46 +00:00
timm
6aeccc21cf some routines from globals1.js
git-svn-id: svn://10.0.0.236/trunk@5252 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 19:22:49 +00:00
timm
4109e233c8 added new makefile
git-svn-id: svn://10.0.0.236/trunk@5251 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 19:22:01 +00:00
timm
d606bc7217 115784 and separated out js
git-svn-id: svn://10.0.0.236/trunk@5250 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 19:21:12 +00:00
timm
a47765d689 seperate from the html files
git-svn-id: svn://10.0.0.236/trunk@5249 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 19:19:00 +00:00
rods
3b078d34d2 Add support for initializing the Device Context and Toolkit
git-svn-id: svn://10.0.0.236/trunk@5248 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 19:10:35 +00:00
rods
c51912ce5d Added methods for initializing the Device Context and the Toolkit
git-svn-id: svn://10.0.0.236/trunk@5247 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 19:10:04 +00:00
rods
980a891e7c Implemented SetFont and created separate methods for initializing
the DeviceContext and the Toolkit


git-svn-id: svn://10.0.0.236/trunk@5246 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 19:09:19 +00:00
rods
96429025ab Added error callback
git-svn-id: svn://10.0.0.236/trunk@5245 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 19:03:30 +00:00
troy
612be3f747 Added a check for multiple frames occupying a trapezoid. This keeps us from
crashing


git-svn-id: svn://10.0.0.236/trunk@5239 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 18:14:19 +00:00
karnaze
12532e9214 borders
git-svn-id: svn://10.0.0.236/trunk@5238 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 17:47:33 +00:00
cyeh
dca7e82da4 add example tinderbox client scripts
git-svn-id: svn://10.0.0.236/trunk@5237 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 17:36:13 +00:00
kipp
0e49486b51 Added debug code that syncs up the display when running slow so that incremental loading reflow can be visible
git-svn-id: svn://10.0.0.236/trunk@5236 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 17:08:40 +00:00
kipp
f3712a5860 tweaked nested lists style; add in bottom margins for most block elements
git-svn-id: svn://10.0.0.236/trunk@5235 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 17:08:09 +00:00
kipp
ed6bbc7c7f Init passed in margins
git-svn-id: svn://10.0.0.236/trunk@5234 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 17:07:39 +00:00
kipp
66e26827d4 Implement css collapsing margins
git-svn-id: svn://10.0.0.236/trunk@5233 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 17:06:35 +00:00
kipp
633b008454 Added some slots to nsReflowMetrics specifically to support collapsing css margins; it needs to go somewhere else!
git-svn-id: svn://10.0.0.236/trunk@5232 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 17:06:12 +00:00
kipp
fc4de87351 Added a temporary hack to normalize nested lists
git-svn-id: svn://10.0.0.236/trunk@5231 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 17:05:36 +00:00
kipp
fb77f4be1c fixed comments
git-svn-id: svn://10.0.0.236/trunk@5230 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 17:04:45 +00:00
kipp
7d2cd32a5f tweak
git-svn-id: svn://10.0.0.236/trunk@5229 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 17:04:31 +00:00
slamm
a0b4e23e2e Fix off by one error. Messed up inplace editing.
git-svn-id: svn://10.0.0.236/trunk@5228 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 16:42:08 +00:00
slamm
9e0f06faeb Fix double click behavior in such a way that inline editing still works. #149082 SF1 in.
git-svn-id: svn://10.0.0.236/trunk@5227 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 16:42:06 +00:00
danm
99159ddc96 glowcode. bug 299200 a:don.
git-svn-id: svn://10.0.0.236/trunk@5225 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 16:33:15 +00:00
vidur
e68955f859 Fixed build breakage on Unix
git-svn-id: svn://10.0.0.236/trunk@5224 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 16:30:26 +00:00
troy
b936040985 Changed it so the inner table is reflowed by using the Reflow()
member function rather than poking the individual pass 1, pass 2, ...
member functions


git-svn-id: svn://10.0.0.236/trunk@5223 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 14:30:34 +00:00
dcone
09291e63da 16 bit blending is now operational
git-svn-id: svn://10.0.0.236/trunk@5222 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 14:08:36 +00:00
warren
fba9d30962 Breaking out oji interfaces into separate headers.
git-svn-id: svn://10.0.0.236/trunk@5218 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 08:57:00 +00:00
warren
82c371bd69 Breaking out new plugin APIs into separate classes. Moving lib/plugin into a module.
git-svn-id: svn://10.0.0.236/trunk@5217 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 08:42:58 +00:00
mcafee
f30cbd2d2c woops, if -> ifdef
git-svn-id: svn://10.0.0.236/trunk@5215 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 06:18:07 +00:00
mcafee
d83114b4df MOZ_FULLCIRCLE was on by default, turning this off. MOZ_FULLCIRCLE=1 turns this on now.
git-svn-id: svn://10.0.0.236/trunk@5214 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 06:17:07 +00:00
mcafee
4e331d5e84 Turning on full circle crash-reporting (5.0). r=donm, a=jar
git-svn-id: svn://10.0.0.236/trunk@5210 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 05:21:34 +00:00
mcafee
e95f941870 set NO_MOZ_FULLCIRCLE=1 if you need to turn full circle off.
git-svn-id: svn://10.0.0.236/trunk@5209 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 05:20:53 +00:00
pierre
5d607d63c2 Mac MOZ_DARK: landing resources from Nova. Note: these resources are from May 26 while the Normandy branch was tagged on May 11.
git-svn-id: svn://10.0.0.236/trunk@5208 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 05:18:18 +00:00
pierre
2587a7a394 Mac MOZ_DARK: updated stream contructor (why didn't that land before?)
git-svn-id: svn://10.0.0.236/trunk@5207 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 05:14:58 +00:00
pierre
0d3e4adba1 Mac MOZ_DARK: replaced unnecessary references to CTSMEditField with references to LEditField.
git-svn-id: svn://10.0.0.236/trunk@5206 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 05:13:47 +00:00
mcafee
9599246c21 Turning on Full Circle crash-reporting for glibc2 only. Need to check for other vendors later. r=donm, a=jar
git-svn-id: svn://10.0.0.236/trunk@5205 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 05:11:39 +00:00
mcafee
93552004a2 Added NETSCAPE_BUILD to include the private tree; added full circle crash reporting compiler flag. r=donm, a=jar
git-svn-id: svn://10.0.0.236/trunk@5204 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 05:10:20 +00:00
blythe
cdd9cab217 Partial fix for 299200, get glowcode and purify support into the makefiles for stability
git-svn-id: svn://10.0.0.236/trunk@5203 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 05:03:15 +00:00
mcafee
72ec7ea178 Initial full circle crash-reporting checkin. r=donm
git-svn-id: svn://10.0.0.236/trunk@5202 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 05:00:33 +00:00
mcafee
3173aa0fa3 Prefs for full circle crash-reporting (5.0). r=donm
git-svn-id: svn://10.0.0.236/trunk@5201 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 04:59:31 +00:00
mcafee
b579a92aed Adding full circle crash-reporting for 5.0
git-svn-id: svn://10.0.0.236/trunk@5200 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 04:58:02 +00:00
dfm
9bc114facb Added single signon code. THIS IS NOT YET PART OF THE BUILD.
Fixing sync problem with PRIVACY_BRANCH. Approved by don.


git-svn-id: svn://10.0.0.236/trunk@5197 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 03:25:30 +00:00
guha
8e98ccf173 Fix for 299931 and an attempt to fix 124173
git-svn-id: svn://10.0.0.236/trunk@5193 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 02:19:37 +00:00
blythe
b4f421a273 Fix bug 290445, FCInitialize happens after prefs initialized to allow turning it off
git-svn-id: svn://10.0.0.236/trunk@5192 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 02:14:11 +00:00
blythe
73f19b2625 Fix Bug 291002, MOZ_LITE now builds with OJI/JAVA turned on
git-svn-id: svn://10.0.0.236/trunk@5191 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 02:11:44 +00:00
law
2d29b15a2c Fixing bug#105062; reviewed by mjudge
git-svn-id: svn://10.0.0.236/trunk@5188 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 00:41:14 +00:00
morse
d5525d1ff7 fix bug 159169, reviewed by rpotts & valeski
git-svn-id: svn://10.0.0.236/trunk@5187 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-09 00:37:11 +00:00
vidur
0d5cbcbbdc Timer test
git-svn-id: svn://10.0.0.236/trunk@5186 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-08 23:46:56 +00:00
vidur
6a96048a04 Moved ScriptContextOwner-ship from WebWidget to the DocObserver
git-svn-id: svn://10.0.0.236/trunk@5185 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-08 23:46:01 +00:00
vidur
fc2a2d0c41 Added back asynchronous image loading
git-svn-id: svn://10.0.0.236/trunk@5184 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-08 23:45:10 +00:00
vidur
5879143695 Added setTimeout/setInterval to Window. Added ellipsis special-case to IDL generation code. Slightly better error reporting in generated JavaScript stub classes
git-svn-id: svn://10.0.0.236/trunk@5183 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-08 23:44:46 +00:00
kipp
f7850f3d9a Worked around a startup problem that caused body's attributes and style context to be prematurely mapped before the attributes were read in or the ua.css was read in
git-svn-id: svn://10.0.0.236/trunk@5182 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-08 23:15:32 +00:00
kmcclusk
c722ac6974 Modified the order of the source shareables so all of the symbols
are in the single destination shareable for Linux.


git-svn-id: svn://10.0.0.236/trunk@5178 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-08 21:11:09 +00:00
troy
6044ce3680 Changes to the caption handling code
git-svn-id: svn://10.0.0.236/trunk@5176 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-08 20:21:17 +00:00
ricardob
44d8450357 Fix unix bustage on xxx
git-svn-id: svn://10.0.0.236/trunk@5159 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-08 19:17:11 +00:00
rods
f3ef30b6b7 Fixed argc problem
git-svn-id: svn://10.0.0.236/trunk@5157 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-08 17:40:16 +00:00
leaf
7a18ca09ed Added toplevel directory 'privacy'
git-svn-id: svn://10.0.0.236/trunk@5156 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-08 17:35:36 +00:00
kipp
9941cf0373 Fixed unix build
git-svn-id: svn://10.0.0.236/trunk@5155 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-08 17:34:26 +00:00
rods
b35633e6db Added Focus processing
git-svn-id: svn://10.0.0.236/trunk@5154 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-08 17:01:37 +00:00
rods
0922fee126 Fixed the radio buttons so they work.
git-svn-id: svn://10.0.0.236/trunk@5153 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-08 17:00:18 +00:00
rods
9f840f2c48 The necessary fixes to get Scribble working.
git-svn-id: svn://10.0.0.236/trunk@5152 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-08 16:58:51 +00:00
donm
803595712c still working on the 5.0 build bustage.
git-svn-id: svn://10.0.0.236/trunk@5151 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-08 16:54:24 +00:00
shaver
878a85e07b start at jsContext and jsRuntime implementations, enough to run trivial script
git-svn-id: svn://10.0.0.236/trunk@5148 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-08 16:53:49 +00:00
danm
981a316abd form text element widgets now subclassed so they can activate their window in response to a WM_MOUSEACTIVATE message. bug 126974 r:blythe a:don
git-svn-id: svn://10.0.0.236/trunk@5147 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-08 16:28:16 +00:00
dcone
eb99bfd773 Intermediate 16 bit blending
git-svn-id: svn://10.0.0.236/trunk@5141 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-08 14:31:31 +00:00
mccabe
1301adda9f Changed the definition of JSDOUBLE_IS_INT(d, i) to delay a (jsint)d
cast until after the double in question has been determined to be
finite, not NaN, etc.  This may make the code a little more XP for
platforms like BSD and Alpha Linux that don't like casting strange
values to int.  Thanks go to Uncle George <gatgul@voicenet.com> and
hankin <hankin@consultco.com> for their porting work.


git-svn-id: svn://10.0.0.236/trunk@5137 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-08 07:56:43 +00:00
briano
ba7ca55a17 Okay, so I'm an idiot. It helps to put the fix in the right place....
git-svn-id: svn://10.0.0.236/trunk@5136 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-08 05:05:21 +00:00
troy
e3b310d6e6 Tables not allow only one caption
git-svn-id: svn://10.0.0.236/trunk@5134 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-08 04:49:01 +00:00
briano
52ba1a8002 Fixed the build error that Tinderbox is catching, but not reporting as a failure.
git-svn-id: svn://10.0.0.236/trunk@5133 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-08 04:35:55 +00:00
briano
4cc3b63923 Added Mike Shaver's (shaver@netscape.com) changes to allow for better
differentiation between libraries and executables built in the same
directory, and the ability to build only shared libraries if the user
prefers.


git-svn-id: svn://10.0.0.236/trunk@5132 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-08 03:49:31 +00:00
briano
9ea8549725 Changes to support SINIX-Z (x86-based). This will, unfortunately, cause
the object directory name for mips-based SINIX versions to change, requiring
a complete rebuild.  Sorry, but there was no acceptable alternative....


git-svn-id: svn://10.0.0.236/trunk@5131 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-08 03:43:53 +00:00
mccabe
c575d8c493 Made the assign hack conditional on JSVERSION_IS_ECMA.
git-svn-id: svn://10.0.0.236/trunk@5117 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-07 23:59:45 +00:00
donm
a29bf2cae2 messed up libldap line in Makefile, fixed.
git-svn-id: svn://10.0.0.236/trunk@5116 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-07 23:21:40 +00:00
jevering
eda808f4ca Fixing optimized build.
git-svn-id: svn://10.0.0.236/trunk@5114 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-07 22:20:00 +00:00
jevering
b937870e02 Fixed optimized build.
git-svn-id: svn://10.0.0.236/trunk@5113 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-07 22:07:35 +00:00
michaelp
c907c2baed when a view is the root, it's position will now always be 0, 0.
git-svn-id: svn://10.0.0.236/trunk@5112 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-07 21:51:57 +00:00
thom
dc2387b8a6 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@5111 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-07 21:26:45 +00:00
thom
423669d5b6 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@5110 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-07 21:07:54 +00:00
ricardob
6c25b0b56f fixed call to free bug reported from outside
git-svn-id: svn://10.0.0.236/trunk@5109 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-07 20:00:18 +00:00
cltbld
0ffbcdf75c fixing linking problem for 5.0 product.
git-svn-id: svn://10.0.0.236/trunk@5108 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-07 19:35:52 +00:00
ricardob
bb030154e8 free mail unix changes
git-svn-id: svn://10.0.0.236/trunk@5105 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-07 18:29:09 +00:00
ricardob
6d4821b427 use libmsg only with security
git-svn-id: svn://10.0.0.236/trunk@5104 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-07 18:28:11 +00:00
ricardob
44ae7fbb1c free mail unix fixes
git-svn-id: svn://10.0.0.236/trunk@5103 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-07 18:27:05 +00:00
ricardob
1e96e7fae8 Free mail unix fixes
git-svn-id: svn://10.0.0.236/trunk@5102 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-07 18:26:15 +00:00
ricardob
2c222c8f6e free mail fixes
git-svn-id: svn://10.0.0.236/trunk@5101 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-07 18:23:47 +00:00
rods
4be012a3cb Removed Windows specific code
git-svn-id: svn://10.0.0.236/trunk@5099 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-07 18:00:06 +00:00
rods
b95c8c73f0 Removed the RadioGroup and fixed the RadioButtons so they would work
git-svn-id: svn://10.0.0.236/trunk@5098 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-07 17:56:24 +00:00
mjudge
be75387a7b Fixing Sf1in. no number but definate crash. no initializer for int i=0
git-svn-id: svn://10.0.0.236/trunk@5097 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-07 16:49:37 +00:00
timm
d4b0d09e4a new routines for isp phone number
git-svn-id: svn://10.0.0.236/trunk@5096 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-07 16:26:19 +00:00
timm
d3f74f0d4c added error checking
git-svn-id: svn://10.0.0.236/trunk@5095 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-07 16:25:30 +00:00
timm
8bb3a04137 change for new button size
git-svn-id: svn://10.0.0.236/trunk@5094 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-07 16:24:14 +00:00
timm
757d6e0d6e new buttons
git-svn-id: svn://10.0.0.236/trunk@5093 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-07 16:23:52 +00:00
timm
f12ea743dd interface changes
git-svn-id: svn://10.0.0.236/trunk@5092 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-07 16:22:35 +00:00
kipp
dc7de1f2ae Added a reminder to not mess with the NS_ISUPPORTS IID
git-svn-id: svn://10.0.0.236/trunk@5091 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-07 16:08:55 +00:00
kipp
df2369f8bc Allocated IID for nsIFrame
git-svn-id: svn://10.0.0.236/trunk@5090 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-07 16:07:35 +00:00
kipp
dbf41fac3d new
git-svn-id: svn://10.0.0.236/trunk@5089 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-07 16:04:02 +00:00
nisheeth
dd9ba14445 Fix for bug 123318. Only do the textblock checks in lo_BoundaryJumpingPrev()
and lo_BoundaryJumpingNext() for the editor context.
If you don't do it the editor, backspacing between lines gets hosed.
If you do it for the browser, selection goes into an infinite loop.


git-svn-id: svn://10.0.0.236/trunk@5088 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-07 06:31:07 +00:00
ramiro
0678c47f1a Documentation fixes. Cleanups for dead/changed file/class names.
No code changes, only comments.  Makes the xfe LXR pages better.
Approved by don.
Thanks do Dawn Endico <dawn@cannibal.mi.org> for providing the patch.


git-svn-id: svn://10.0.0.236/trunk@5087 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-07 06:15:49 +00:00
nisheeth
0cf2d30e72 Fix for bug 232611 which was a duplicate of bug 120234 which got fixed in 4.06.
Fix was reviewed by rjc and dp when it went into the 4.06 branch.
Fixed the case where an unclosed single quote in a
tag causes the STYLE attribute to not be found. This was causing
an infinite loop where layout would process the style attribute repeatedly.
See bug report for details. Affected code is inside lo_ProcessStyleAttribute().


git-svn-id: svn://10.0.0.236/trunk@5086 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-07 05:57:50 +00:00
troy
276aea3a61 Cleaned up ShrinkWrapChildren so pass 1 doesn't resize the rows
git-svn-id: svn://10.0.0.236/trunk@5084 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-07 03:48:21 +00:00
kipp
661a411e3d Implement back/forward/location handling
git-svn-id: svn://10.0.0.236/trunk@5083 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-07 01:40:05 +00:00
buster
38ee9372e2 fixed 3 dumb bugs I introduced recently.
1. cellmap couldn't properly delete CellData because definition was unavailable
2. optimized table cells made taller wouldn't shrink when they should because we were not
remembering the previous desired height of the cell.
3. rows were placing cells on the left edge, and not adding in the left margin.


git-svn-id: svn://10.0.0.236/trunk@5082 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-07 01:06:51 +00:00
troy
3b5b47465b More incremental reflow changes
git-svn-id: svn://10.0.0.236/trunk@5081 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-07 00:49:07 +00:00
kipp
df781def35 Snapshot of history code
git-svn-id: svn://10.0.0.236/trunk@5080 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-07 00:32:09 +00:00
buster
07691d8960 fix for empty tables. we now support tables that have no content.
git-svn-id: svn://10.0.0.236/trunk@5079 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-07 00:20:21 +00:00
kipp
3d550e4049 Added some UI to the viewer (currently disabled)
git-svn-id: svn://10.0.0.236/trunk@5078 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-07 00:17:34 +00:00
buster
4771ca51e3 fixed a few bugs with distributing excess/restricted space inappropriately.
we now pass around info about whether we're an auto width table.


git-svn-id: svn://10.0.0.236/trunk@5074 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-06 22:48:19 +00:00
briano
2abab16f50 Added support for NetBSD, and support for Steve Morse's (morse@netscape.com) Cookie Management and Single Sign-on code.
git-svn-id: svn://10.0.0.236/trunk@5073 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-06 22:45:22 +00:00
briano
7a9f13ca9e Use a more elegant mechanism to set OS-version-specific -D flags.
git-svn-id: svn://10.0.0.236/trunk@5072 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-06 22:37:17 +00:00
warren
0ff15a9587 Added Backward Adapter for new Plugin API (runs 5.0-style plugins in 4.0 browser).
git-svn-id: svn://10.0.0.236/trunk@5071 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-06 22:21:12 +00:00
kipp
68e2cde37d Changed AttributeToString to handle empty value types
git-svn-id: svn://10.0.0.236/trunk@5070 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-06 22:16:23 +00:00
kipp
c452bc7501 Create head & body object during init phase to avoid having the root content frame code have to renumber it's child frames when the head section shows up)
git-svn-id: svn://10.0.0.236/trunk@5069 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-06 22:15:55 +00:00
kipp
a258f5b6dd Removed obsolete tags header file generation rules
git-svn-id: svn://10.0.0.236/trunk@5068 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-06 22:15:22 +00:00
kmcclusk
696e9e439f Removed _s files from Linux link
git-svn-id: svn://10.0.0.236/trunk@5066 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-06 22:06:05 +00:00
troy
a40632c113 Incremental reflow work-in-progress
git-svn-id: svn://10.0.0.236/trunk@5065 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-06 21:39:23 +00:00
rods
d56e753015 fixed a few minor things and removed the GetSelectedItem test for MultiList
git-svn-id: svn://10.0.0.236/trunk@5064 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-06 21:38:18 +00:00
kipp
b90bf87135 Implement ContentDeleted
git-svn-id: svn://10.0.0.236/trunk@5063 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-06 21:37:33 +00:00
kipp
5645981087 Fixed a few bugs in ContentDeleted reflow; implemented a cheesy version of FrameDeletedReflow
git-svn-id: svn://10.0.0.236/trunk@5062 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-06 21:37:08 +00:00
rods
25aa7ef690 activated the build of the widget test and scribble apps
git-svn-id: svn://10.0.0.236/trunk@5061 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-06 21:36:55 +00:00
rods
53a1e6716e Removed RadioGroup and fixed the "Create" of the AppShell
git-svn-id: svn://10.0.0.236/trunk@5060 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-06 21:36:17 +00:00
kipp
c8141809f6 new
git-svn-id: svn://10.0.0.236/trunk@5059 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-06 21:36:00 +00:00
rods
e6aa541d3e Implemented Get/Set Caret and Insert
git-svn-id: svn://10.0.0.236/trunk@5058 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-06 21:31:01 +00:00
rods
8741f5374c Changed GetSelectedItem so it throws an exception when it is call by nsListBox
git-svn-id: svn://10.0.0.236/trunk@5057 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-06 21:30:08 +00:00
buster
ead43eee9f added support for "effective column widths", the width of a column pretending that spanning cells have no effect.
this gets us some more Nav4 compatibility.
several minor fixes.


git-svn-id: svn://10.0.0.236/trunk@5056 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-06 21:00:11 +00:00
rods
17cbd670c0 Fixed cast
git-svn-id: svn://10.0.0.236/trunk@5055 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-06 20:27:57 +00:00
rods
a8236ce79d Commented out the SetBKColor in the callback
git-svn-id: svn://10.0.0.236/trunk@5053 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-06 19:58:36 +00:00
rods
724441e9cf Minor fix to get it compiling on Windows
git-svn-id: svn://10.0.0.236/trunk@5052 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-06 19:56:08 +00:00
rods
f90f37fa1e Added more tests
git-svn-id: svn://10.0.0.236/trunk@5051 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-06 19:34:50 +00:00
rods
092dfdad74 Changed the array of widget to be of type "Widget" instead of "long"
git-svn-id: svn://10.0.0.236/trunk@5050 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-06 19:26:06 +00:00
kmcclusk
ce6ada8e5a Moved *._s files into Linux specific EX_LIBS
git-svn-id: svn://10.0.0.236/trunk@5049 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-06 19:21:07 +00:00
rods
a5f947a523 Added SetSelectedIndices method (no implementation)
git-svn-id: svn://10.0.0.236/trunk@5048 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-06 19:16:45 +00:00
rods
40a8090171 Filled in more of the methods and added additional tests
git-svn-id: svn://10.0.0.236/trunk@5047 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-06 18:13:38 +00:00
kmcclusk
af0217dd64 Removed unused define and commented out code.
git-svn-id: svn://10.0.0.236/trunk@5046 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-06 18:06:30 +00:00
kmcclusk
a9e59b9598 Added missing libraries to get viewer to link under Linux
git-svn-id: svn://10.0.0.236/trunk@5045 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-06 17:55:38 +00:00
kipp
e47d50b7fd Changed the event loop to install a timer to make sure that the net will always get some cycles
git-svn-id: svn://10.0.0.236/trunk@5044 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-06 17:41:27 +00:00
terry
ef1e53f505 Patch by Matthew Wilson <msw@gimp.org> -- more layer poisition fixes.
git-svn-id: svn://10.0.0.236/trunk@5041 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-06 17:09:33 +00:00
terry
e1cd689fd7 Needs to loadConfigData() so that it can get the value of $rcsdiffcommand.
git-svn-id: svn://10.0.0.236/trunk@5040 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-06 16:50:08 +00:00
nisheeth
5eb51a940a Fix for Mac build bustage.
git-svn-id: svn://10.0.0.236/trunk@5038 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-05 01:51:33 +00:00
nisheeth
8620a5332d Approved by Don. Checking in latest Layout Probe API implementation from
the 4.06 branch into the mozilla tip.  This API is not being called from
anywhere and hence cannot affect stability.


git-svn-id: svn://10.0.0.236/trunk@5037 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-04 23:25:24 +00:00
shaver
818813f0fd tentative and likely useless script verifier for XDR (-DJS_XDR_SCRIPT_VERIFIER)
git-svn-id: svn://10.0.0.236/trunk@5036 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-04 19:45:46 +00:00
guha
3ff88d3e72 Fix the major RDF bugs on the tip.
git-svn-id: svn://10.0.0.236/trunk@5035 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-04 19:13:55 +00:00
kipp
e2b3d76321 Don't build shared library
git-svn-id: svn://10.0.0.236/trunk@5032 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 23:54:25 +00:00
kipp
56f0019027 Removed some compiler warnings
git-svn-id: svn://10.0.0.236/trunk@5031 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 23:16:43 +00:00
kipp
09ade9fd5b Eliminate some compiler warnings
git-svn-id: svn://10.0.0.236/trunk@5030 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 23:14:21 +00:00
kipp
137defc4e7 Don't forget to build nsHTMLTags.o
git-svn-id: svn://10.0.0.236/trunk@5029 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 23:13:37 +00:00
kipp
c5fdde395f Don't build shared libraries
git-svn-id: svn://10.0.0.236/trunk@5028 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 23:12:11 +00:00
kipp
61de46f180 Updated makefile to be single pass so that clobber, etc. work correctly now
git-svn-id: svn://10.0.0.236/trunk@5027 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 23:09:42 +00:00
kipp
e222065446 Added rules to export and generate nsHTMLTags.h, nsHTMLTags.cpp
git-svn-id: svn://10.0.0.236/trunk@5023 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 20:33:10 +00:00
kipp
0b41fee071 Removed obsolete files
git-svn-id: svn://10.0.0.236/trunk@5020 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 19:09:41 +00:00
fur
77b26c0ea1 These files were moved to js/ref/liveconnect/macbuild/JavaSession.
git-svn-id: svn://10.0.0.236/trunk@5018 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 19:00:59 +00:00
kipp
5c6ac69ca4 Added some style for html4 tags and some nav tags
git-svn-id: svn://10.0.0.236/trunk@5017 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 18:41:44 +00:00
kipp
3646c57ad5 Removed some cruft
git-svn-id: svn://10.0.0.236/trunk@5016 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 18:40:45 +00:00
kipp
f311729b88 updated
git-svn-id: svn://10.0.0.236/trunk@5015 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 18:40:25 +00:00
kipp
aabbf4cd5c Fixed tag enum table to start at 1
git-svn-id: svn://10.0.0.236/trunk@5014 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 18:40:12 +00:00
kipp
d11614eec7 Removed a test
git-svn-id: svn://10.0.0.236/trunk@5013 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 17:51:45 +00:00
kipp
a6c0242128 Build nsHTMLParts too
git-svn-id: svn://10.0.0.236/trunk@5012 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 17:50:53 +00:00
kipp
25695317b1 Use NS_CreateHTMLElement to implement dom create-element method
git-svn-id: svn://10.0.0.236/trunk@5011 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 17:50:25 +00:00
kipp
5fe453f4cb new
git-svn-id: svn://10.0.0.236/trunk@5010 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 17:50:00 +00:00
kipp
040bb08d84 Added NS_CreateHTMLElement
git-svn-id: svn://10.0.0.236/trunk@5009 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 17:49:49 +00:00
kipp
61f8058f13 Reworked ContentInserted handling
git-svn-id: svn://10.0.0.236/trunk@5008 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 17:46:44 +00:00
kipp
2dcbeaa53e new
git-svn-id: svn://10.0.0.236/trunk@5007 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 17:19:58 +00:00
kipp
812efebb8f Use new generated tags table/search routines
git-svn-id: svn://10.0.0.236/trunk@5006 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 17:19:26 +00:00
fur
90721aa429 + Fixed heap corruption caused by free'ing of an uninitialized pointer.
+ Changed the way JS wrapper functions for Java instance methods are constructed.

  Previously, these were computed the first time that an instance method was
  accessed for a particular JavaObject and cached in the native, private portion
  of that JavaObject.  However, the required call to JS_AddRoot() causes an root
  to appear as a link in a cyclical graph, leading to uncollectible objects, i.e.
  the JavaObject has a root pointer to the function object and the function has
  a parent that points back to the JavaObject.  Now, we compute the functions
  at the time a class is reflected and use JS_CloneFunctionObject() each time
  a JS wrapper function is needed, which is slower, but avoids this GC problem.


git-svn-id: svn://10.0.0.236/trunk@5005 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 15:50:16 +00:00
mcafee
18be643b7c Full Circle assembly files hangs the compiler w/o this flag.
git-svn-id: svn://10.0.0.236/trunk@5004 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 13:15:40 +00:00
rpotts
d81b006e8f Added error checking to the document creation. IF a document cannot be found, the network load will fail and the old document will not be deleted...
git-svn-id: svn://10.0.0.236/trunk@4990 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 06:16:02 +00:00
rpotts
5273f998d4 Cause the netlib load to fail if OnStartBinding(...) returns an error.
git-svn-id: svn://10.0.0.236/trunk@4989 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 06:15:06 +00:00
scullin
00a860dea1 Attempt to fix mac build.
git-svn-id: svn://10.0.0.236/trunk@4988 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 05:09:43 +00:00
fur
5d2426cebb Tweaked comment.
git-svn-id: svn://10.0.0.236/trunk@4985 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 02:43:34 +00:00
fur
c583e2e8f7 Fix Win32 warnings that were introduced as a result of curing Mac warnings.
git-svn-id: svn://10.0.0.236/trunk@4984 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 02:42:16 +00:00
fur
0318d6d143 Got rid of debug printf().
git-svn-id: svn://10.0.0.236/trunk@4983 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 02:41:31 +00:00
fur
cf3292cbf7 Added Compatibility discussion.
Tweaked Mac build instructions.


git-svn-id: svn://10.0.0.236/trunk@4982 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 02:40:48 +00:00
ricardob
d523ee5063 fix winfe mozilla mapi call
git-svn-id: svn://10.0.0.236/trunk@4981 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 01:12:50 +00:00
vidur
c4b7d2a4c9 Moved core DOM interfaces to coreDom directory
git-svn-id: svn://10.0.0.236/trunk@4976 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 00:50:16 +00:00
vidur
5cd417ba06 Moved core DOM interfaces to coreDom directory
git-svn-id: svn://10.0.0.236/trunk@4975 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 00:48:44 +00:00
vidur
467a104f6a Added special case for global object. Changed geniid.pl to take multiple directories
git-svn-id: svn://10.0.0.236/trunk@4974 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 00:48:06 +00:00
ricardob
0e823fac83 Comment out again temp define for Gromit, use addrbook.h instead
git-svn-id: svn://10.0.0.236/trunk@4968 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 00:35:22 +00:00
ricardob
f000ca1fb8 Use kGromitxxx definition from addrbook.h
git-svn-id: svn://10.0.0.236/trunk@4967 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 00:34:45 +00:00
fur
e121f64e4f Fixed incorect argument type in jlong_to_jdouble() which was causing Java long values to get mangled.
git-svn-id: svn://10.0.0.236/trunk@4964 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-03 00:00:15 +00:00
atotic
9224c5657e Aaah, someone split the MANIFEST file inside config/mac
git-svn-id: svn://10.0.0.236/trunk@4962 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 23:54:24 +00:00
ricardob
bfe67a1902 fix for free moz in unix
git-svn-id: svn://10.0.0.236/trunk@4961 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 23:50:34 +00:00
guha
5cdf2a86a6 Back out changes.
git-svn-id: svn://10.0.0.236/trunk@4960 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 23:48:19 +00:00
kipp
97c6970030 Fixed a typo (blush)
git-svn-id: svn://10.0.0.236/trunk@4959 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 23:44:46 +00:00
ricardob
4612d1aa32 fix for free moz in unix
git-svn-id: svn://10.0.0.236/trunk@4958 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 23:42:42 +00:00
rpotts
9f3a0b265a Fixes to make the automated document loader work again...
git-svn-id: svn://10.0.0.236/trunk@4955 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 23:39:38 +00:00
rpotts
66adbc5795 Added some missing forward declarations...
git-svn-id: svn://10.0.0.236/trunk@4954 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 23:38:48 +00:00
rpotts
285c8dc2af Fix viewer bug where pages would not load unless the mouse was wiggled...
git-svn-id: svn://10.0.0.236/trunk@4953 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 23:34:30 +00:00
pierre
4a0ecc19d2 Fixing Mac MOZ_MEDIUM: ifndef'd XP_MAC the "misc temp kludges"
git-svn-id: svn://10.0.0.236/trunk@4952 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 23:32:15 +00:00
troy
91626f8759 More work-in-progress incremental reflow code
git-svn-id: svn://10.0.0.236/trunk@4951 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 23:19:31 +00:00
pierre
9e30c0e9d0 Fixing MOZ_MEDIUM: ifdef'd XP_MAC the "#include" added yesterday.
git-svn-id: svn://10.0.0.236/trunk@4950 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 23:05:50 +00:00
kipp
b530035104 Moved initial reflow processing into InitialReflow method (doh)
git-svn-id: svn://10.0.0.236/trunk@4941 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 22:55:15 +00:00
kipp
99f5e93df3 Added more asserts to catch bad behavior of parents and children
git-svn-id: svn://10.0.0.236/trunk@4940 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 22:54:53 +00:00
terry
f7a4cda1e7 Patch by Matthew Wilson <msw@gimp.org> -- removed extraneous apostrophe.
git-svn-id: svn://10.0.0.236/trunk@4938 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 22:54:16 +00:00
kipp
07047d35f3 new
git-svn-id: svn://10.0.0.236/trunk@4937 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 22:53:47 +00:00
ricardob
a5c069ecdf put back include string, instead of glyph
git-svn-id: svn://10.0.0.236/trunk@4933 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 22:47:25 +00:00
guha
ee5c33a9bf Fix the RDF backend P0 bugs
git-svn-id: svn://10.0.0.236/trunk@4932 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 22:45:01 +00:00
ricardob
c755e95d1f changes for free mozilla and fix builds (also in mknews.c)
git-svn-id: svn://10.0.0.236/trunk@4931 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 22:43:34 +00:00
rods
91b3925529 fixed build problem
git-svn-id: svn://10.0.0.236/trunk@4930 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 22:43:08 +00:00
ricardob
b5b69976cd changes for free mozilla
git-svn-id: svn://10.0.0.236/trunk@4929 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 22:42:36 +00:00
atotic
fefb11aebd Fixed mac build bustage
git-svn-id: svn://10.0.0.236/trunk@4928 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 22:34:46 +00:00
pierre
f1f75b2298 Fixing MOZ_MEDIUM: fixed 2 paths like in the previous checkin and added Progress.mcp
git-svn-id: svn://10.0.0.236/trunk@4926 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 21:46:01 +00:00
pierre
dd951f6fe1 Fixing MOZ_MEDIUM.
git-svn-id: svn://10.0.0.236/trunk@4925 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 21:39:17 +00:00
ricardob
33eea4007c fix build
git-svn-id: svn://10.0.0.236/trunk@4924 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 21:35:53 +00:00
pierre
205756968b Fixing MOZ_MEDIUM
git-svn-id: svn://10.0.0.236/trunk@4923 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 21:28:46 +00:00
kipp
9397552bbe updated test
git-svn-id: svn://10.0.0.236/trunk@4922 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 21:26:54 +00:00
kipp
8c01eeea23 Bug fix for content-appended reflow
git-svn-id: svn://10.0.0.236/trunk@4921 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 21:26:34 +00:00
kipp
659ef637cf Fixed up logging to use the frame logging
git-svn-id: svn://10.0.0.236/trunk@4920 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 21:26:00 +00:00
kipp
7cf6711c96 Fixed bug where tables weren't returning a proper set of metrics
git-svn-id: svn://10.0.0.236/trunk@4919 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 21:24:56 +00:00
atotic
bc993aea8c Added CNavDTD.h
git-svn-id: svn://10.0.0.236/trunk@4918 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 21:21:53 +00:00
rods
682732e96f Continued to implement the remain methods
git-svn-id: svn://10.0.0.236/trunk@4917 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 21:18:04 +00:00
troy
89a3525fb4 Moved code that resized the table row cells from the row group frame
to the row frame. It's now handled as part of the DidReflow() post-
processing code


git-svn-id: svn://10.0.0.236/trunk@4916 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 20:35:23 +00:00
donm
631802630d Approved by: Don Melton. Let's fix this bustage!
git-svn-id: svn://10.0.0.236/trunk@4915 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 20:03:09 +00:00
sar
2ec3379c19 adding needed include paths, removing bad export headers
git-svn-id: svn://10.0.0.236/trunk@4914 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 20:03:03 +00:00
rpotts
c0cda15aab Initialized the file extension to content-type mappings to allow netlib to determine the content-type of a file based on its extension...
git-svn-id: svn://10.0.0.236/trunk@4913 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 19:44:56 +00:00
kipp
942da4bbb6 half attempt to build on unix
git-svn-id: svn://10.0.0.236/trunk@4908 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 18:21:12 +00:00
vidur
95e4fbc39d Fixed casting problems on Linux
git-svn-id: svn://10.0.0.236/trunk@4907 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 17:46:15 +00:00
cyeh
d4c96a9d4a fill out path when building MOZ_MEDIUM target. This looks like an
incorrect copy/paste of code.


git-svn-id: svn://10.0.0.236/trunk@4906 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 17:41:56 +00:00
buster
192406dc56 added an optimization that skips pass2 cell reflows when the new available width is unchanged
from the prior available width.  Some real-world test cases sped up
1-2 orders of magnitude for resize reflow.  Initial reflow is unchanged because
we still need to get pass1 metrics on all content.
fixed nsCSSBlockFrame.cpp to take margins into account when computing parent's available width
fixed distribution of excess space to table cells when table is bigger than the content it holds.
not quite finished yet, but better.


git-svn-id: svn://10.0.0.236/trunk@4905 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 17:40:56 +00:00
buster
10397594d9 now takew margins into account when computing parent's available width
git-svn-id: svn://10.0.0.236/trunk@4904 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 17:40:02 +00:00
cyeh
1c12a499e2 added "Couldn't find project file " error. This happens when a CW project
can't find the file to compile.


git-svn-id: svn://10.0.0.236/trunk@4903 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 17:26:48 +00:00
donm
fb81f23298 Approved by: Don Melton build bustage fixage.
git-svn-id: svn://10.0.0.236/trunk@4902 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 17:26:07 +00:00
sar
9af0d1543f add needed headers for mail/news. approved by don.
git-svn-id: svn://10.0.0.236/trunk@4901 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 17:25:37 +00:00
sar
3c19f144a0 wrapping mkcertld.h in ifdef MOZ_SECURITY to fix some breakage. approved by don. suggested by ricardob. corresponding fix in makefiles will come along soon.
git-svn-id: svn://10.0.0.236/trunk@4900 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 17:24:35 +00:00
donm
8fef0b686f approved by: Don Melton fixing build bustage.
git-svn-id: svn://10.0.0.236/trunk@4899 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 17:05:05 +00:00
pierre
122ed386c8 For some reason, the file previously checked-in was corrupted.
git-svn-id: svn://10.0.0.236/trunk@4898 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 10:40:54 +00:00
pierre
c4690718a0 Fixing MOZ_MEDIUM: build the right target in network.mcp
git-svn-id: svn://10.0.0.236/trunk@4897 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 10:21:58 +00:00
pierre
e8e75fab9e First Checked In.
git-svn-id: svn://10.0.0.236/trunk@4896 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 10:20:18 +00:00
pierre
cf14f98ad6 Fixing MOZ_MEDIUM: created two "mailnews" targets
git-svn-id: svn://10.0.0.236/trunk@4895 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 10:19:25 +00:00
rickg
5ec2e184eb major improvements to parser API's; fixed a few bugs
git-svn-id: svn://10.0.0.236/trunk@4894 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 08:14:22 +00:00
troy
5984f25221 Some work-in-progress for incremental reflow
git-svn-id: svn://10.0.0.236/trunk@4892 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 05:39:10 +00:00
fur
b601507a5e Use Types.h instead of more modern MacTypes.h so that we can build with CodeWarrior 2 on the Mac.
git-svn-id: svn://10.0.0.236/trunk@4891 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 04:11:53 +00:00
montulli
20e270f2b3 merge montulli1 branch with tip
git-svn-id: svn://10.0.0.236/trunk@4889 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 02:41:04 +00:00
pierre
b388d6f208 Mac MOZ_DARK
git-svn-id: svn://10.0.0.236/trunk@4888 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 02:38:19 +00:00
pierre
000a0cdc17 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@4887 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 02:24:28 +00:00
ricardob
fe2c9afdc2 fixed typo in free mail api
git-svn-id: svn://10.0.0.236/trunk@4886 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 02:01:55 +00:00
ricardob
ea6c1c8097 xfe free world changes
git-svn-id: svn://10.0.0.236/trunk@4884 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 01:38:15 +00:00
cmanske
da9cc14599 Part of fix for Composer SF1 in bug 148474. Reviewed by mjudge
git-svn-id: svn://10.0.0.236/trunk@4883 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 01:32:06 +00:00
akkana
d42d73c42b 226857: Normandy landing didn't include kini's notification center fix.
git-svn-id: svn://10.0.0.236/trunk@4882 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 01:31:12 +00:00
akkana
abfc075e28 BUG 224560: Stever's netlib checkin didn't fix the cookie persistence bug
on the XFE; he says we need to replace the GH_InitGlobalHistory with one
to NET_FinishInitNetLib.


git-svn-id: svn://10.0.0.236/trunk@4881 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-02 01:25:49 +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
402 changed files with 75192 additions and 196012 deletions

View File

@@ -1,165 +0,0 @@
/* -*- Mode: Java; 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.
*/
pref("editor.html_editor", "");
pref("editor.image_editor", "");
pref("editor.author", "");
pref("editor.auto_save_delay", 10); // minutes
pref("editor.html_editor", "");
pref("editor.image_editor", "");
pref("editor.fontsize_mode", 0);
pref("editor.template_location", "http://home.netscape.com/home/gold3.0_templates.html");
pref("editor.default_template_location", "http://home.netscape.com/home/gold3.0_templates.html");
pref("editor.template_last_loc", "");
pref("editor.template_history_0", "");
pref("editor.template_history_1", "");
pref("editor.template_history_2", "");
pref("editor.template_history_3", "");
pref("editor.template_history_4", "");
pref("editor.template_history_5", "");
pref("editor.template_history_6", "");
pref("editor.template_history_7", "");
pref("editor.template_history_8", "");
pref("editor.template_history_9", "");
pref("editor.template_history_10", "");
pref("editor.template_history_11", "");
pref("editor.template_history_12", "");
pref("editor.template_history_13", "");
pref("editor.template_history_14", "");
pref("editor.template_history_15", "");
pref("editor.template_history_16", "");
pref("editor.template_history_17", "");
pref("editor.template_history_18", "");
pref("editor.template_history_19", "");
pref("editor.url_history.TITLE_0", "");
pref("editor.url_history.TITLE_1", "");
pref("editor.url_history.TITLE_2", "");
pref("editor.url_history.TITLE_3", "");
pref("editor.url_history.TITLE_4", "");
pref("editor.url_history.TITLE_5", "");
pref("editor.url_history.TITLE_6", "");
pref("editor.url_history.TITLE_7", "");
pref("editor.url_history.TITLE_8", "");
pref("editor.url_history.TITLE_9", "");
pref("editor.url_history.URL_0", "");
pref("editor.url_history.URL_1", "");
pref("editor.url_history.URL_2", "");
pref("editor.url_history.URL_3", "");
pref("editor.url_history.URL_4", "");
pref("editor.url_history.URL_5", "");
pref("editor.url_history.URL_6", "");
pref("editor.url_history.URL_7", "");
pref("editor.url_history.URL_8", "");
pref("editor.url_history.URL_9", "");
localDefPref("editor.html_directory", "C:\\My Documents");
localDefPref("editor.image_directory", "C:\\My Documents");
localDefPref("editor.background_image", "");
pref("editor.last_pref_page", 0);
pref("editor.last_text_page", 0);
pref("editor.last_doc_page", 0);
pref("editor.last_table_page", 0);
pref("editor.use_custom_colors", false);
pref("editor.use_background_image", true);
pref("editor.publish_keep_links", true);
pref("editor.publish_keep_images", true);
pref("editor.show_copyright", true);
pref("editor.show_character_toolbar", true);
pref("editor.show_paragraph_toolbar", true);
pref("editor.text_color", "#000000");
pref("editor.link_color", "#0000FF");
pref("editor.active_link_color", "#000088");
pref("editor.followed_link_color", "#FF0000");
pref("editor.background_color", "#FFFFFF");
pref("editor.auto_save", false);
pref("editor.javascript_color", "#FF0000");
pref("editor.color_scheme", "Netscape Default Colors");
pref("editor.hints.bookmark", true);
pref("editor.hints.image", true);
pref("editor.hints.sitemanager", true);
pref("editor.hints.copyright", true);
pref("editor.hints.removelinks", true);
localDefPref("editor.hrule.height", 2);
localDefPref("editor.hrule.width", 100);
pref("editor.hrule.width_percent", true);
pref("editor.hrule.shading", true);
pref("editor.hrule.align", 0); // match types in edttypes.h ED_ALIGN_CENTER
pref("editor.publish_username", "");
pref("editor.publish_password", "");
pref("editor.publish_save_password", false);
pref("editor.publish_location", "");
pref("editor.publish_browse_location", "");
pref("editor.publish_last_loc", "");
pref("editor.publish_last_pass", "");
pref("editor.publish_history_0", "");
pref("editor.publish_history_1", "");
pref("editor.publish_history_2", "");
pref("editor.publish_history_3", "");
pref("editor.publish_history_4", "");
pref("editor.publish_history_5", "");
pref("editor.publish_history_6", "");
pref("editor.publish_history_7", "");
pref("editor.publish_history_8", "");
pref("editor.publish_history_9", "");
pref("editor.publish_history_10", "");
pref("editor.publish_history_11", "");
pref("editor.publish_history_12", "");
pref("editor.publish_history_13", "");
pref("editor.publish_history_14", "");
pref("editor.publish_history_15", "");
pref("editor.publish_history_16", "");
pref("editor.publish_history_17", "");
pref("editor.publish_history_18", "");
pref("editor.publish_history_19", "");
pref("editor.publish_password_0", "");
pref("editor.publish_password_1", "");
pref("editor.publish_password_2", "");
pref("editor.publish_password_3", "");
pref("editor.publish_password_4", "");
pref("editor.publish_password_5", "");
pref("editor.publish_password_6", "");
pref("editor.publish_password_7", "");
pref("editor.publish_password_8", "");
pref("editor.publish_password_9", "");
pref("editor.publish_password_10", "");
pref("editor.publish_password_11", "");
pref("editor.publish_password_12", "");
pref("editor.publish_password_13", "");
pref("editor.publish_password_14", "");
pref("editor.publish_password_15", "");
pref("editor.publish_password_16", "");
pref("editor.publish_password_17", "");
pref("editor.publish_password_18", "");
pref("editor.publish_password_19", "");
pref("editor.custom_color_0", "0,0,0");
pref("editor.custom_color_1", "99,0,0");
pref("editor.custom_color_2", "CC,0,0");
pref("editor.custom_color_3", "FF,0,0");
pref("editor.custom_color_4", "0,99,0");
pref("editor.custom_color_5", "0,CC,0");
pref("editor.custom_color_6", "0,FF,0");
pref("editor.custom_color_7", "0,0,99");
pref("editor.custom_color_8", "0,0,CC");
pref("editor.custom_color_9", "0,0,FF");

View File

@@ -1,664 +0,0 @@
/* -*- Mode: C; tab-width: 8; 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.
*/
#ifndef _AB_COM_H_
#define _AB_COM_H_
#include "xp_core.h"
#include "msgcom.h"
#include "abdefn.h"
#include "dirprefs.h"
#ifdef XP_CPLUSPLUS
class AB_Pane;
class AB_ContainerPane;
class AB_ContainerInfo;
class AB_MailingListPane;
class AB_PersonPane;
#else
typedef struct AB_Pane AB_Pane;
typedef struct AB_ContainerPane AB_ContainerPane;
typedef struct AB_ContainerInfo AB_ContainerInfo;
typedef struct AB_MailingListPane AB_MailingListPane;
typedef struct AB_PersonPane AB_PersonPane;
#endif
XP_BEGIN_PROTOS
#define AB_API extern "C"
#if defined(XP_MAC)
#define FE_IMPLEMENTS_SHOW_PROPERTY_SHEET
#endif
const ABID AB_ABIDUNKNOWN = 0; /* Find a better home for this somewhere! */
/* new errors added by mscott for the 2 pane AB UI. I will eventually name this enumerated type AB_Error */
enum
{
AB_SUCCESS = 0,
AB_FAILURE,
AB_INVALID_PANE,
AB_INVALID_CONTAINER,
AB_INVALID_ATTRIBUTE,
AB_OUT_OF_MEMORY
};
/* these are the types of possible containers */
typedef enum
{
AB_LDAPContainer,
AB_MListContainer, /* a mailing list */
AB_PABContainer /* a personal AB */
} AB_ContainerType;
/* AB_ContainerAttributes define the types of information FEs can ask the BE about
a AB_ContainerInfo in the ABContainerPane. */
typedef enum
{
attribContainerType, /* mailing list? LDAP directory? PAB? */
attribName, /* the name for the container */
attribNumChildren, /* how many child containers does this container have? */
attribDepth, /* container depth in the overall hierarchy. 0 == root ctr, 1 == one level below a root container, etc. */
attribContainerInfo /* FEs might want to get the container Info * for a line in the container pane */
} AB_ContainerAttribute;
typedef struct AB_ContainerAttribValue
{
AB_ContainerAttribute attrib; /* used to determine value of the union */
union{
char * string;
int32 number; /* used by numchildren & depth */
AB_ContainerType containerType;
AB_ContainerInfo * container;
} u;
} AB_ContainerAttribValue;
typedef enum
{
AB_Drag_Not_Allowed = 0x00000000,
AB_Require_Copy = 0x00000001,
AB_Require_Move = 0x00000002,
AB_Default_Drag = 0xFFFFFFFF
} AB_DragEffect;
typedef enum
{
AB_attribUnknown = 0, /* unrecognized attribute */
AB_attribEntryType, /* mailing list or person entry */
AB_attribEntryID,
AB_attribFullName,
AB_attribNickName,
AB_attribGivenName, /* all of the following are person entry specific */
AB_attribMiddleName,
AB_attribFamilyName,
AB_attribCompanyName,
AB_attribLocality,
AB_attribRegion,
AB_attribEmailAddress,
AB_attribInfo,
AB_attribHTMLMail,
AB_attribExpandedName,
AB_attribTitle,
AB_attribPOAddress,
AB_attribStreetAddress,
AB_attribZipCode,
AB_attribCountry,
AB_attribWorkPhone,
AB_attribFaxPhone,
AB_attribHomePhone,
AB_attribDistName,
AB_attribSecurity,
AB_attribCoolAddress,
AB_attribUseServer,
AB_attribPager,
AB_attribCellularPhone,
AB_attribDisplayName,
AB_attribWinCSID, /* character set id */
AB_attribOther /* any attrib with this value or higher is always a string type (our dyanmic attributes) */
} AB_AttribID;
/* WARNING!!! WILL BE PHASING THIS STRUCTURE OUT!!!! */
typedef struct AB_EntryAttributeItem{
AB_AttribID id;
char * description; /* resource string specifying a user-readable descript for the attrib i.e. "First Name" */
XP_Bool sortable; /* is this attribute sortable? (may help FEs display the column if they know if it can be sorted or not */
}AB_EntryAttributeItem;
typedef enum{
AB_MailingList = 0,
AB_Person
} AB_EntryType;
typedef struct AB_AttributeValue
{
AB_AttribID attrib; /* we need this to know how to read the union */
union{
char * string;
XP_Bool boolValue;
AB_EntryType entryType; /* mailing list or person entry */
int16 shortValue; /* use for server type or WinCSID field */
} u;
} AB_AttributeValue;
/* New Column ID structure used to abstract the columns in the AB_Pane used by the FEs from the attributes thos columns actually
represent. */
typedef enum{
AB_ColumnID0 = 0,
AB_ColumnID1,
AB_ColumnID2,
AB_ColumnID3,
AB_ColumnID4,
AB_ColumnID5,
AB_ColumnID6,
AB_NumberOfColumns /* make sure this is always the last one!! */
} AB_ColumnID;
typedef struct AB_ColumnInfo{
AB_AttribID attribID; /* the attrib ID this column is displaying */
char * displayString; /* column display string */
XP_Bool sortable; /* is this column attribute sortable? i.e. phone number is not! */
} AB_ColumnInfo;
/**********************************************************************************************
FE Call back functions. We'll show the types here...NOTE: FEs must now register their call back
functions through these APIs so the back end knows which return to use.
*********************************************************************************************/
/* FEs must register this function with the appropriate pane, it is called by the back end in
response to the following commands: AB_PropertiesCmd, AB_AddUserCmd, AB_AddMailingListCmd */
/* typedef int AB_ShowPropertySheetForEntryFunc (MSG_Pane * pane, AB_EntryType entryType); */
typedef int AB_ShowPropertySheetForEntryFunc (MSG_Pane * pane, MWContext * context);
int AB_SetShowPropertySheetForEntryFunc(
MSG_Pane * abPane,
AB_ShowPropertySheetForEntryFunc * func);
/* BE sets the type for the DIR_Server and hands it to the FEs to be displayed & filled out in a
pane. It is called by the back end in response to the following commands: AB_PropertiesCmd,
AB_NewLDAPDirectory, AB_NewAddressBook. */
typedef int AB_ShowPropertySheetForDirFunc(DIR_Server * server, MWContext * context, XP_Bool newDirectory /* is it a new directory? */);
int AB_SetShowPropertySheetForDirFunc(
MSG_Pane * abcPane, /* container pane */
AB_ShowPropertySheetForDirFunc * func);
/***************************************************************************************
DON'T USE THIS FUNCTION!!!! THIS WILL BE PHASING OUT!!!!!! #mscott 01/21/98
This is a callback into the FE instructing them to bring up a person entry pane or a
mailing list pane. The back end has already created the pane. A type is included to let the FE
determine if the pane is a mailing list or person entry pane. In addition, in the case of a mailing list
pane, the FE must still initialize the mailing list pane before it can be used
***************************************************************************************/
#ifdef FE_IMPLEMENTS_SHOW_PROPERTY_SHEET
extern int FE_ShowPropertySheetForAB2(
MSG_Pane * pane, /* BE created mailing list or person entry pane */
AB_EntryType entryType); /* mailing list or person entry */
#endif
/***************************************************************************************
None pane-specific APIs. These function work on many panes
***************************************************************************************/
int AB_ClosePane(MSG_Pane * pane);
/****************************************************************************************
Address Book Pane General APIs - creating, initializing, closing, changing containers,
searching, etc.
*****************************************************************************************/
int AB_CreateABPane(
MSG_Pane ** abPane,
MWContext * context,
MSG_Master * master);
int AB_InitializeABPane(
MSG_Pane * abPane,
AB_ContainerInfo * abContainer);
/* to change the container the abPane is currently displaying */
int AB_ChangeABContainer(
MSG_Pane * abPane,
AB_ContainerInfo * container); /* the new containerInfo to display */
int AB_GetEntryIndex(
MSG_Pane * abPane,
ABID id, /* entry id in the database */
MSG_ViewIndex * index); /* FE allocated, BE fills with index */
int AB_GetABIDForIndex(
MSG_Pane * abPane,
MSG_ViewIndex index,
ABID * id); /* FE allocated. BE fills with the id you want */
int AB_SearchDirectoryAB2(
MSG_Pane * abPane,
char * searchString);
int AB_LDAPSearchResultsAB2(
MSG_Pane * abPane,
MSG_ViewIndex index,
int32 num);
int AB_FinishSearchAB2(MSG_Pane * abPane);
int AB_CommandAB2(
MSG_Pane * srcPane, /* NOTE: this can be a ABpane or an ABContainerPane!!! you can delete containers & entries */
AB_CommandType command, /* delete or mailto are the only currently supported commands */
MSG_ViewIndex * indices,
int32 numIndices);
int AB_CommandStatusAB2(
MSG_Pane * srcPane, /* NOTE: Can be an ABPane or an ABContainerPane!! */
AB_CommandType command,
MSG_ViewIndex * indices,
int32 numIndices,
XP_Bool * selectable_p,
MSG_COMMAND_CHECK_STATE * selected_p,
const char ** displayString,
XP_Bool * plural_p);
/* still need to add registering and unregistering compose windows */
/****************************************************************************************
AB_ContainerInfo General APIs - adding users and a sender. Doesn't require a pane.
*****************************************************************************************/
int AB_AddUserAB2(
AB_ContainerInfo * abContainer, /* the container to add the person to */
AB_AttributeValue * values, /* FE defined array of attribute values for the new user. FE must free this array */
uint16 numItems,
ABID * entryID); /* BE returns the ABID for this new user */
int AB_AddUserWithUIAB2(
AB_ContainerInfo * abContainer,
AB_AttributeValue * values,
uint16 numItems,
XP_Bool lastOneToAdd);
int AB_AddSenderAB2(
AB_ContainerInfo * abContainer,
char * author,
char * url);
/****************************************************************************************
Drag and Drop Related APIs - vcards, ab lines, containers, etc.
*****************************************************************************************/
int AB_DragEntriesIntoContainer(
MSG_Pane * srcPane, /* could be an ABPane or ABCPane */
const MSG_ViewIndex * srcIndices, /* indices of items to be dragged */
int32 numIndices,
AB_ContainerInfo * destContainer,
AB_DragEffect request); /* copy or move? */
/* FE's should call this function to determine if the drag & drop they want to perform is
valid or not. I would recommend calling it before the FE actually performs the drag & drop call */
AB_DragEffect AB_DragEntriesIntoContainerStatus(
MSG_Pane * abPane,
const MSG_ViewIndex * indices,
int32 numIndices,
AB_ContainerInfo * destContainer,
AB_DragEffect request); /* do you want to do a move? a copy? default drag? */
/****************************************************************************************
Importing and Exporting - ABs from files, vcards...
*****************************************************************************************/
typedef enum
{
AB_Filename, /* char * in import and export APIs contain an FE allocated/freed filename */
AB_PromptForFileName, /* prompt for file name on import or export */
AB_Vcard,
AB_CommaList, /* comma separated list of email addresses */
AB_RawData /* we don't know what it is, will try to extract email addresses */
} AB_ImportExportType;
int AB_ImportData(
AB_ContainerInfo * destContainer,
const char * buffer, /* could be a filename or NULL (if type = prompt for filename) or a block of data to be imported */
int32 bufSize, /* how big is the buffer? */
AB_ImportExportType dataType); /* valid types: All */
/* returns TRUE if the container accepts imports of the data type and FALSE otherwise */
XP_Bool AB_ImportDataStatus(
AB_ContainerInfo * destContainer,
AB_ImportExportType dataType);
/* exporting always occurs to a file unless the data type is vcard. Only valid export data types are: vcard,
filename, prompt for filename */
int AB_ExportData(
AB_ContainerInfo * srcContainer,
char ** buffer, /* filename or NULL. Or if type = Vcard, the BE allocated vcard. FE responosible for freeing it?? */
int32 * bufSize, /* ignored unless VCard is data type in which case FE allocates, BE fills */
AB_ImportExportType dataType); /* valid types: filename, prompt for filename, vcard */
/****************************************************************************************
ABContainer Pane --> Creation, Loading, getting line data for each container.
*****************************************************************************************/
int AB_CreateContainerPane(
MSG_Pane ** abContainerPane, /* BE will pass back ptr to pane through this */
MWContext * context,
MSG_Master * master);
int AB_InitializeContainerPane(MSG_Pane * abContainerPane);
/* this will return MSG_VIEWINDEXNONE if the container info is not in the pane */
MSG_ViewIndex AB_GetIndexForContainer(
MSG_Pane * abContainerPane,
AB_ContainerInfo * container); /* container you want the index for */
/* this will return NULL if the index is invalid */
AB_ContainerInfo * AB_GetContainerForIndex(
MSG_Pane * abContainerPane,
const MSG_ViewIndex index);
/* the following set of APIs support getting/setting container pane line data out such as the container's
name, type, etc. We are going to try a particular discipline for memory management of AB_ContainerAttribValues.
For APIs which get an attribute value, the BE will actually allocate the struct. To free the space, the FE should
call AB_FreeContainerAttribValue. For any API which sets an attribute value, the FE is responsible for allocating and
de-allocating the data. */
int AB_GetContainerAttributeForPane(
MSG_Pane * abContainerPane,
MSG_ViewIndex index, /* index of container you want information for */
AB_ContainerAttribute attrib, /* attribute FE wants to know */
AB_ContainerAttribValue ** value); /* BE allocates struct. FE should call AB_FreeContainerAttribValue to free space when done */
int AB_SetContainerAttributeForPane(
MSG_Pane * abContainerPane,
MSG_ViewIndex index,
AB_ContainerAttribValue * value); /* FE handles all memory allocation! */
int AB_GetContainerAttribute(
AB_ContainerInfo * ctr,
AB_ContainerAttribute attrib,
AB_ContainerAttribValue ** value); /* BE allocates struct. FE should call AB_FreeContainerAttribValue to free space when donee */
int AB_SetContainerAttribute(
AB_ContainerInfo * ctr,
AB_ContainerAttribValue * value); /* FE handles all memory allocateion / deallocation! */
int AB_GetContainerAttributes(
AB_ContainerInfo * ctr,
AB_ContainerAttribute * attribsArray,
AB_ContainerAttribValue ** valuesArray,
uint16 * numItems);
int AB_SetContainerAttributes(
AB_ContainerInfo * ctr,
AB_ContainerAttribValue * valuesArray,
uint16 numItems);
/* getting and setting multiple container attributes on a per container pane basis */
int AB_GetContainerAttributesForPane(
MSG_Pane * abContainerPane,
MSG_ViewIndex index,
AB_ContainerAttribute * attribsArray,
AB_ContainerAttribValue ** valuesArray,
uint16 * numItems);
int AB_SetContainerAttributesForPane(
MSG_Pane * abContainerPane,
MSG_ViewIndex index,
AB_ContainerAttribValue * valuesArray,
uint16 numItems);
int AB_FreeContainerAttribValue(AB_ContainerAttribValue * value); /* BE will free the attribute value */
int AB_FreeContainerAttribValues(AB_ContainerAttribValue * valuesArray, uint16 numItems);
XP_Bool AB_IsStringContainerAttribValue(AB_ContainerAttribValue * value); /* use this to determine if your attrib is a string attrib */
/* Use the following two functions to build the combo box in the Address Window of all the root level containers.
You first ask for the number of root level (PABs and LDAP directories). Use this number to allocate an array of
AB_ContainerInfo ptrs. Give this array to the back end and we will fill it. FE can destroy array when done with it.
FE shoud NOT be deleting the individual AB_ContainerInfo ptrs. */
int AB_GetNumRootContainers(
MSG_Pane * abContainerPane,
int32 * numRootContainers);
int AB_GetOrderedRootContainers(
MSG_Pane * abContainerPane,
AB_ContainerInfo ** ctrArray, /* FE Allocated & Freed */
int32 * numCtrs); /* in - # of elements in ctrArray. out - BE fills with # root containers stored in ctrArray */
/* sometimes you want to get a handle on the DIR_Sever for a particular container. Both return NULL if for some
reason there wasn't a DIR_Server. If the container is a mailing list, returns DIR_Server of the PAB the list is in.
NOTE: If you modify any of the DIR_Server properties, you should call AB_UpdateDIRServerForContainer to make sure that the container
(and hence any pane views on the container) are updated */
DIR_Server * AB_GetDirServerForContainer(AB_ContainerInfo * container);
/* Please don't call this function. It is going away!!! Use AB_UpdateDirServerForContainerPane instead!! */
int AB_UpdateDIRServerForContainer(AB_ContainerInfo * container);
/* will create a new container in the container pane if the directory does not already exist. Otherwise updates the
directory's container in the pane */
int AB_UpdateDIRServerForContainerPane(
MSG_Pane * abContainerPane,
DIR_Server * directory);
/*******************************************************************************************************************
Old Column Header APIs. These will be phased out!!! Please don't use them
******************************************************************************************************************/
int AB_GetNumEntryAttributesForContainer(
AB_ContainerInfo * container,
uint16 * numItems); /* BE will fill this integer with the number of available attributes for the container */
int AB_GetEntryAttributesForContainer(
AB_ContainerInfo * container,
AB_EntryAttributeItem * items, /* FE allocated array which BE fills with values */
uint16 * maxItems); /* FE passes in # elements allocated in array. BE returns # elements filled in array */
/********************************************************************************************************************
Our New Column Header APIs. We'll be phasing out AB_GetNumEntryAttributesForContainer and AB_GetEntryAttributesForContainer
********************************************************************************************************************/
AB_ColumnInfo * AB_GetColumnInfo(
AB_ContainerInfo * container,
AB_ColumnID columnID);
int AB_GetNumColumnsForContainer(AB_ContainerInfo * container);
int AB_GetColumnAttribIDs(
AB_ContainerInfo * container,
AB_AttribID * attribIDs, /* FE allocated array of attribs. BE fills with values */
int * numAttribs); /* FE passes in # elements allocated in array. BE returns # elements filled */
int AB_FreeColumnInfo(AB_ColumnInfo * columnInfo);
/****************************************************************************************
AB Pane List Data -> how to get ab pane line attributes such as name, address, phone, etc.
*****************************************************************************************/
/* to actually get an entry attribute */
int AB_GetEntryAttributeForPane(
MSG_Pane * abPane,
MSG_ViewIndex index,
AB_AttribID attrib, /* what attribute do you want? */
AB_AttributeValue ** valueArray); /* BE handles memory allocation. FE must call AB_FreeEntryAttributeValue when done */
int AB_GetEntryAttribute(
AB_ContainerInfo * container,
ABID entryid, /* an identifier or key used to name the object in the container */
AB_AttribID attrib, /* attribute type the FE wants to know */
AB_AttributeValue ** valueArray); /* BE handles memory allocation. FE must call AB_FreeEntryAttributeValue when done */
int AB_SetEntryAttribute(
AB_ContainerInfo * container,
ABID entryid, /* an identifier or key used to name the object in the container */
AB_AttributeValue * value); /* FE handles all memory allocation */
int AB_SetEntryAttributeForPane(
MSG_Pane * abPane,
MSG_ViewIndex index,
AB_AttributeValue * value); /* FE handles all memory allocation */
/* we also allow you to set entry attributes in batch by passing in an array of attribute values */
int AB_SetEntryAttributes(
AB_ContainerInfo * container,
ABID entryID,
AB_AttributeValue * valuesArray, /* FE allocated array of attribute values to set */
uint16 numItems); /* FE passes in # items in array */
int AB_SetEntryAttributesForPane(
MSG_Pane * abPane,
MSG_ViewIndex index,
AB_AttributeValue * valuesArray,
uint16 numItems);
int AB_GetEntryAttributes(
AB_ContainerInfo * container,
ABID entryID,
AB_AttribID * attribs, /* FE allocated array of attribs that you want */
AB_AttributeValue ** values, /* BE allocates & fills an array of values for the input array of attribs */
uint16 * numItems); /* IN: size of attribs array. OUT: # of values in value array */
int AB_GetEntryAttributesForPane(
MSG_Pane * abPane,
MSG_ViewIndex index,
AB_AttribID * attribs, /* FE allocated array of attribs that you want */
AB_AttributeValue ** values,
uint16 * numItems);
/* Memory allocation APIs for setting/getting entry attribute values */
int AB_FreeEntryAttributeValue(AB_AttributeValue * value /* pointer to a value */);
int AB_FreeEntryAttributeValues(AB_AttributeValue * values /* array of values */, uint16 numItems);
int AB_CopyEntryAttributeValue(
AB_AttributeValue * srcValue, /* already allocated attribute value you want to copy from */
AB_AttributeValue * destValue); /* already allocated attribute value you want to copy into */
XP_Bool AB_IsStringEntryAttributeValue(AB_AttributeValue * value);
/****************************************************************************************
Sorting
*****************************************************************************************/
/* sorting by first name is a global setting. It is set per abPane and does not change
when you load a new container into the abPane */
XP_Bool AB_GetSortByFirstNameAB2(MSG_Pane * abPane); /* is the pane sorting by first name? */
void AB_SortByFirstNameAB2(
MSG_Pane * abPane,
XP_Bool sortByFirstName); /* true for sort by first, false for last first */
/* Insert our sort by column stuff here */
int AB_SortByAttribute(
MSG_Pane * abPane,
AB_AttribID id, /* attribute we want to sort by */
XP_Bool sortAscending);
int AB_GetPaneSortedByAB2(
MSG_Pane * abPane,
AB_AttribID * attribID); /* BE fills with the attribute we are sorting by */
XP_Bool AB_GetPaneSortedAscendingAB2(MSG_Pane * abPane);
/*****************************************************************************************
APIs for the Mailing List Pane. In addition to these, the mailing list pane responds to
previous AB APIs such as AB_Close, MSG_GetNumLines().
****************************************************************************************/
int AB_InitializeMailingListPaneAB2(MSG_Pane * mailingListPane);
AB_ContainerInfo * AB_GetContainerForMailingList(MSG_Pane * mailingListPane);
/* this could return ABID = 0 for a new entry that is not in the database */
ABID AB_GetABIDForMailingListIndex(
MSG_Pane * mailingListPane,
const MSG_ViewIndex index);
MSG_ViewIndex AB_GetMailingListIndexForABID(
MSG_Pane * mailingListPane,
ABID entryID); /* this function could return MSG_VIEWINDEXNONE if entryID = 0 or not in list */
/* Use these two APIs to get Mailing List ENTRY attributes (i.e. people or other mailing list attributes in this mailing list) */
int AB_SetMailingListEntryAttributes(
MSG_Pane * pane,
const MSG_ViewIndex index,
AB_AttributeValue * valuesArray, /* FE allocated array of attribute values you want to set */
uint16 numItems);
int AB_GetMailingListEntryAttributes(
MSG_Pane * mailingListPane,
const MSG_ViewIndex index,
AB_AttribID * attribs, /* FE allocated & freed array of attribs you want */
AB_AttributeValue ** values, /* BE allocates & fills values for the input array of attribs */
uint16 * numItems); /* FE provides # attribs in array. BE fills with # values returned in values */
/* Use these two APIs to Set and Get the Mailing List properties. */
int AB_GetMailingListAttributes(
MSG_Pane * mailingListPane,
AB_AttribID * attribs, /* FE allocated array of attribs */
AB_AttributeValue ** values, /* BE allocates & fills values. FE must call a free to the back end */
uint16 * numItems);
int AB_SetMailingListAttributes(
MSG_Pane * mailingListPane,
AB_AttributeValue * valuesArray, /* FE allocated array of attribute values you want to set */
uint16 numItems);
/*******************************************************************************************
APIs for the person entry pane aka the person property sheets. The person entry pane is created
by the back end and given to the front end in the call FE_ShowPropertySheetFor. In the current
incarnation, person atributes are set and retrieved through the person entry pane and NOT through
the AB_ContainerInfo the person is in. If you "cheat" and go through the container directly, you may
not be getting the correct information. When the person entry pane is committed, the changes are pushed
back into the container. During the commit process, if it is a new person then a new entry is made in the
database.
********************************************************************************************/
AB_ContainerInfo * AB_GetContainerForPerson(MSG_Pane * personPane);
ABID AB_GetABIDForPerson(MSG_Pane * personPane); /* could return 0 if new user */
/* get and set the person attributes here */
int AB_SetPersonEntryAttributes(
MSG_Pane * personPane,
AB_AttributeValue * valuesArray,
uint16 numItems);
int AB_GetPersonEntryAttributes(
MSG_Pane * personPane,
AB_AttribID * attribs, /* FE allocted & freed array of attribs they want */
AB_AttributeValue ** values, /* BE allocates & fills values */
uint16 * numItems); /* in - FE provides # of attribs. out - BE fills with # values */
int AB_CommitChanges(MSG_Pane * pane); /* commits changes to a mailing list pane or a person entry pane! */
XP_END_PROTOS
#endif /* _AB_COM_H */

View File

@@ -1,200 +0,0 @@
/* -*- 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.
*/
#ifndef _ABDefn_H_
#define _ABDefn_H_
/* max lengths for address book fields */
const int kMaxFullNameLength = 256; /* common name */
const int kMaxNameLength = 64; /* given, middle, family */
const int kMaxCompanyLength = 128; /* company name */
const int kMaxLocalityLength = 128; /* city */
const int kMaxRegionLength = 128; /* state */
const int kMaxCountryLength = 128; /* state */
const int kMaxEmailAddressLength = 256;
const int kMaxInfo = 1024;
const int kMaxTitle = 64;
const int kMaxAddress = 128;
const int kMaxZipCode = 40;
const int kMaxPhone = 32;
const int32 kMaxDN = 32768;
const int kMaxCoolAddress = 256;
const int kMaxAddressEntry = 1000;
const short kDefaultDLS = 0;
const short kSpecificDLS = 1;
const short kHostOrIPAddress = 2;
typedef uint32 ABID;
/* This structure represents a single line in the address book pane
*/
typedef struct AB_EntryLineTag
{
ABID entryType; /* type of entry either person or list */
char fullname[256];
char emailAddress[256];
char companyName[128];
char nickname[64];
char locality[128];
char workPhone[32];
#ifdef XP_CPLUSPLUS
public:
void Initialize();
#endif
} AB_EntryLine;
typedef struct PersonEntryTag {
char * pNickName;
char * pGivenName;
char * pMiddleName;
char * pFamilyName;
char * pCompanyName;
char * pLocality;
char * pRegion;
char * pEmailAddress;
char * pInfo;
XP_Bool HTMLmail;
char * pTitle;
char * pPOAddress;
char * pAddress;
char * pZipCode;
char * pCountry;
char * pWorkPhone;
char * pFaxPhone;
char * pHomePhone;
char * pDistName;
short Security;
char * pCoolAddress;
short UseServer;
int16 WinCSID;
#ifdef XP_CPLUSPLUS
public:
void Initialize();
void CleanUp();
#endif
} PersonEntry;
typedef struct MailingListEntryTag {
char * pFullName;
char * pNickName;
char * pInfo;
char * pDistName;
int16 WinCSID;
#ifdef XP_CPLUSPLUS
public:
void Initialize();
void CleanUp();
#endif
} MailingListEntry;
const ABID ABTypeAll = 35;
const ABID ABTypePerson = 36;
const ABID ABTypeList = 37;
const unsigned long ABTypeEntry = 0x70634944; /* ASCII - 'pcID' */
const unsigned long ABFullName = 0x636E2020; /* ASCII - 'cn ' */
const unsigned long ABNickname = 0x6E69636B; /* ASCII - 'nick' */
const unsigned long ABEmailAddress = 0x6D61696C; /* ASCII - 'mail' */
const unsigned long ABLocality = 0x6C6F6320; /* ASCII - 'loc ' */
const unsigned long ABCompany = 0x6F726720; /* ASCII - 'org ' */
/* defines for vcard support */
#define vCardClipboardFormat "+//ISBN 1-887687-00-9::versit::PDI//vCard"
#define vCardMimeFormat "text/x-vcard"
typedef enum
{
/* FILE MENU
=========
*/
AB_NewMessageCmd, /* Send a new message to the selected entries */
AB_ImportCmd, /* import a file into the address book */
AB_SaveCmd, /* export to a file */
AB_CloseCmd, /* close the address book window */
AB_NewAddressBook, /* Create a new personal address book */
AB_NewLDAPDirectory, /* Create a new LDAP directory */
/* EDIT MENU
=========
*/
AB_UndoCmd, /* Undoes the last operation. */
AB_RedoCmd, /* Redoes the last undone operation. */
AB_DeleteCmd, /* Causes the given entries to be
deleted. */
AB_DeleteAllCmd, /* Causes all occurrences of the given entries to be deleted. */
AB_LDAPSearchCmd, /* Perform an LDAP search */
/* VIEW/SORT MENUS
===============
*/
AB_SortByTypeCmd, /* Sort alphabetized by type. */
AB_SortByFullNameCmd, /* Sort alphabetizedby full name. */
AB_SortByLocality, /* Sort by state */
AB_SortByNickname, /* Sort by nickname */
AB_SortByEmailAddress, /* Sort by email address */
AB_SortByCompanyName, /* Sort by email address */
AB_SortAscending, /* Sort current column ascending */
AB_SortDescending, /* Sort current column descending */
/* these are the new sort command IDs added for the 2 pane AB. Use these instead of the previous ones...*/
AB_SortByColumnID0,
AB_SortByColumnID1,
AB_SortByColumnID2,
AB_SortByColumnID3,
AB_SortByColumnID4,
AB_SortByColumnID5,
AB_SortByColumnID6,
/* ITEM MENU
============
*/
AB_AddUserCmd, /* Add a user to the address book */
AB_AddMailingListCmd, /* Add a mailing list to the address book */
AB_PropertiesCmd, /* Get the properties of an entry */
AB_CallCmd, /* Call the entry using CallPoint */
AB_ImportLdapEntriesCmd, /* Add a user to the AB from an LDAP directory */
/* Mailing List Pane Specific Commands!!! */
AB_InsertLineCmd, /* Insert a blank entry line into the mailing list pane */
AB_ReplaceLineCmd /* Replace the entry in the mailing list pane with a blank entry */
} AB_CommandType;
#endif

View File

@@ -1,449 +0,0 @@
/* -*- 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.
*/
#ifndef _AddrBook_H_
#define _AddrBook_H_
#include "xp_core.h"
#include "msgcom.h"
#include "abdefn.h"
#include "dirprefs.h"
#ifdef XP_CPLUSPLUS
class MLPane;
class ABPane;
class AddressPane;
class ABook;
#else
typedef struct MLPane MLPane;
typedef struct ABPane ABPane;
typedef struct AddressPane AddressPane;
typedef struct ABook ABook;
#endif
XP_BEGIN_PROTOS
#define AB_kGromitDbFileName "da5id.nab"
#define AB_CONFIG_USE_GROMIT_FILE_FORMAT 1
/****************************************************************************/
/* Get the address book .*/
/****************************************************************************/
ABook* FE_GetAddressBook(MSG_Pane* pane);
/****************************************************************************/
/* This is a callback into the FE to bring up a modal property sheet */
/* for modifying an existing entry or creating a new one from a */
/* person structure. If entryId != MSG_MESSAGEIDNONE then it is the */
/* entryID of the entry to modify. Each FE should Return TRUE if the user */
/* hit ok return FALSE if they hit cancel and return -1 if there was a */
/* problem creating the window or something */
/****************************************************************************/
int FE_ShowPropertySheetFor (MWContext* context, ABID entryID,
PersonEntry* pPerson);
/****************************************************************************/
/* Return whether or not to attach the users */
/* vcard to outgoing messages */
/****************************************************************************/
XP_Bool AB_AttachUsersvCard(void);
/****************************************************************************/
/* Convert the address book error code to .*/
/****************************************************************************/
int AB_ConvertABErrToMKErr(uint32 err);
/****************************************************************************/
/* Create and initialize the address book pane which is the a view on an */
/* address book. It will provide a sorted list of all the address book */
/* entries ids . This is intended to be used in a two step */
/* process of create and then initialize */
/****************************************************************************/
int AB_InitAddressBookPane(ABPane** ppABookPane,
DIR_Server* dir,
ABook* pABook,
MWContext* context,
MSG_Master* master,
unsigned long sortBy,
XP_Bool sortForward);
/****************************************************************************/
/* Create the address book pane which is the a view on an */
/* address book. */
/****************************************************************************/
int AB_CreateAddressBookPane(ABPane** ppABookPane,
MWContext* context,
MSG_Master* master);
/****************************************************************************/
/* Initialize the address book pane which is the a view on an */
/* address book. It will provide a sorted list of all the address book */
/* entries ids .*/
/****************************************************************************/
int AB_InitializeAddressBookPane(ABPane* ppABookPane,
DIR_Server* dir,
ABook* pABook,
unsigned long sortBy,
XP_Bool sortForward);
/****************************************************************************/
/* Close the address book pane. Called when the view on an address book */
/* is being closed */
/****************************************************************************/
int AB_CloseAddressBookPane(ABPane** ppABookPane);
/****************************************************************************/
/* Create and initialize a mailing list pane which is the a view on an */
/* mailing list. It will provide a sorted view of all the entries in a */
/* mailing list. This is intended to be used in as a one one step process */
/****************************************************************************/
int AB_InitMailingListPane(MLPane** ppABookPane,
ABID* listID,
DIR_Server* dir,
ABook* pABook,
MWContext* context,
MSG_Master* master,
unsigned long sortBy,
XP_Bool sortForward);
/****************************************************************************/
/* Create a mailing list pane which is the a view on an */
/* mailing list. This is intended to be used in a two step */
/* process of create and then initialize */
/****************************************************************************/
int AB_CreateMailingListPane(MLPane** ppABookPane,
MWContext* context,
MSG_Master* master);
/****************************************************************************/
/* Initialize a mailing list pane which is the a view on an */
/* mailing list. It will provide a sorted view of all the entries in a */
/* mailing list.*/
/****************************************************************************/
int AB_InitializeMailingListPane(MLPane* pABookPane,
ABID* listID,
DIR_Server* dir,
ABook* pABook);
/****************************************************************************/
/* Close the mailing list pane. Called when the view on an mailing list */
/* is being closed */
/****************************************************************************/
int AB_CloseMailingListPane(MLPane** ppMLPane);
/****************************************************************************/
/* Register a compose window with the address book */
/* The composition pane should do this everytime it opens */
/* so that name completion can take place */
/****************************************************************************/
int AB_RegisterComposeWindow(ABook* pABook, DIR_Server* directory);
/****************************************************************************/
/* Unregister a compose window with the address book */
/* The composition pane should do this when it is getting closed */
/****************************************************************************/
int AB_UnregisterComposeWindow(ABook* pABook, DIR_Server* directory);
/****************************************************************************/
/* Change the Current directory */
/****************************************************************************/
int AB_ChangeDirectory(ABPane* pABookPane, DIR_Server* directory);
/****************************************************************************/
/* Begin a search on the LDAP directory */
/****************************************************************************/
int AB_SearchDirectory(ABPane* pABookPane, char* searchString);
/****************************************************************************/
/* Process LDAP search results*/
/****************************************************************************/
int AB_LDAPSearchResults(ABPane* pABookPane, MSG_ViewIndex index, int32 num);
/****************************************************************************/
/* Finish an LDAP search */
/****************************************************************************/
int AB_FinishSearch(ABPane* pABookPane, MWContext* context);
/****************************************************************************/
/* Create and initialize the address book database */
/****************************************************************************/
int AB_InitAddressBook(DIR_Server* directory, ABook** ppABook);
/****************************************************************************/
/* Create and initialize the address book database */
/* upgrading the old html address book if we need to*/
/****************************************************************************/
int AB_InitializeAddressBook(DIR_Server* directory, ABook** ppABook,
const char * pOldHTMLBook);
/****************************************************************************/
/* Close the address book database */
/****************************************************************************/
int AB_CloseAddressBook(ABook** ppABook);
/****************************************************************************/
/* Add a person entry to the database */
/****************************************************************************/
int AB_AddUser(DIR_Server* dir, ABook* pABook, PersonEntry* pPerson,
ABID* entryID);
int AB_AddUserWithUI (MWContext *context, PersonEntry *person,
DIR_Server *pab, XP_Bool lastOneToAdd);
/****************************************************************************/
/* Add an entry to the database from a url*/
/****************************************************************************/
int AB_AddSenderToAddBook(ABook* pABook, MWContext* context, char* author,
char* url);
/****************************************************************************/
/* Add a mailing list to the database */
/****************************************************************************/
int AB_AddMailingList(DIR_Server* dir, ABook* pABook,
MailingListEntry* pABList, ABID* entryID);
/****************************************************************************/
/* Perform a command on the selected indices */
/* Right now this will only work on delete and mail to */
/****************************************************************************/
int AB_Command (ABPane* pane, AB_CommandType command,
MSG_ViewIndex* indices, int32 numindices);
/****************************************************************************/
/* Before the front end displays any menu (each time), it should call this */
/* function for each command on that menu to determine how it should be */
/* displayed. */
/****************************************************************************/
int AB_CommandStatus (ABPane* pane,
AB_CommandType command,
MSG_ViewIndex* indices, int32 numindices,
XP_Bool *selectable_p,
MSG_COMMAND_CHECK_STATE *selected_p,
const char **display_string,
XP_Bool *plural_p);
/****************************************************************************/
/* Get and Set how full names are constructed for people entries */
/* first last or last first */
/****************************************************************************/
XP_Bool AB_GetSortByFirstName(ABook* pABook);
void AB_SetSortByFirstName(ABook* pABook, XP_Bool sortby);
/****************************************************************************/
/* Import Export various formats that will prompt for filename */
/****************************************************************************/
int AB_ImportFromFile(ABPane* pABookPane, MWContext* context);
int AB_ExportToFile(ABPane* pABookPane, MWContext* context);
/****************************************************************************/
/* This is only used right now for drop/paste of a vcard */
/****************************************************************************/
int AB_ImportFromVcard(AddressPane* pABookPane, const char* pVcard);
/****************************************************************************/
/* This is only used right now for drop of a vcard */
/* It it a helper function that can be called by the FE to */
/* convert a vcard to an valid rfc822 address that can be used */
/* in the address widget of the compose window */
/****************************************************************************/
int AB_ConvertVCardsToExpandedName(ABook* pABook, const char* vCardString,
XP_List ** ppEntries, int32 * numEntries);
/****************************************************************************/
/* Import Export various formats that wont do any prompting */
/* This is needed for the command line interface and automatic upgrading */
/****************************************************************************/
int AB_ImportFromFileNamed(ABook* pABook, char* filename);
int AB_ExportToFileNamed(ABook* pABook, char* filename);
/****************************************************************************/
/* This function is only called from the backend. */
/* It is used to process the addbook url that is only used in mimevcrd.c */
/* It probably will never be called by an FE */
/****************************************************************************/
int AB_ImportFromVcardURL(ABook* pABook, MWContext* context, const char* pVcard);
/****************************************************************************/
/* This will create a buffer with a vcard in it. It is used for constructing */
/* a buffer that can be used in drag/drop or copy to the clipboard */
/****************************************************************************/
int AB_ExportToVCard(ABook* pABook, DIR_Server* dir, ABID entryID,
char** ppVcard);
int AB_ExportToVCardFromPerson(ABook* pABook, PersonEntry* pPerson,
char** ppVcard);
/****************************************************************************/
/* This will create a temp file for a vcard. This function is only called */
/* from the backend compose window for constructing a vcard attachment */
/* It probably will never be called by an FE */
/****************************************************************************/
int AB_ExportToVCardTempFile(ABook* pABook, DIR_Server* dir, ABID entryID,
char** filename);
/****************************************************************************/
/* Operations on panes/view */
/****************************************************************************/
/****************************************************************************/
/* Get the unique database id at a particular pane index */
/****************************************************************************/
ABID AB_GetEntryIDAt(AddressPane* pABookPane, uint32 index);
uint32 AB_GetIndexOfEntryID (AddressPane* pABookPane, ABID entryID);
int AB_GetEntryLine (ABPane * pABookPane, uint32 index,
AB_EntryLine * pEntryLine);
/****************************************************************************/
/* Get info about how a pane is sorted */
/****************************************************************************/
XP_Bool AB_GetPaneSortedAscending(ABPane * pABookPane);
ABID AB_GetPaneSortedBy(ABPane * pABookPane);
/****************************************************************************/
/* Get number of entries */
/* For the address book you can ask for ALL, people, or mailing lists */
/* For mailing list panes you will only be returned ALL */
/****************************************************************************/
int AB_GetEntryCount(DIR_Server* dir, ABook* pABook, uint32* count,
ABID etype, ABID listID);
/****************************************************************************/
/* Modify information for an entry (person or mailing list) */
/****************************************************************************/
int AB_ModifyUser(DIR_Server* dir, ABook* pABook, ABID entryID, PersonEntry* pPerson);
int AB_ModifyMailingList(DIR_Server* dir, ABook* pABook, ABID entryID,
MailingListEntry* pEntry);
/****************************************************************************/
/* Modify information for a mailing list that has been modified */
/* but not committed in a mailing list pane */
/****************************************************************************/
int AB_ModifyMailingListAndEntries(MLPane* pMLPane, MailingListEntry* pABList);
/****************************************************************************/
/* Modify information for a mailing list that has been modified */
/* but not committed in a mailing list pane. Some of the error checking */
/* that was perfomed in add/replace in a mailing list had to be moved to */
/* here. The fe's should be calling this function instead of the one above */
/****************************************************************************/
int AB_ModifyMailingListAndEntriesWithChecks(MLPane* pMLPane, MailingListEntry* pList,
MSG_ViewIndex *index, MSG_ViewIndex begIndex);
/****************************************************************************/
/* Get information for every entry (person or mailing list) */
/****************************************************************************/
int AB_GetType(DIR_Server* dir, ABook* pABook, ABID entryID, ABID* type);
int AB_GetFullName(DIR_Server* dir, ABook* pABook, ABID entryID, char* pname);
int AB_GetNickname(DIR_Server* dir, ABook* pABook, ABID entryID, char* pname);
/****************************************************************************/
/* Get information for every person entry */
/****************************************************************************/
int AB_GetGivenName(DIR_Server* dir, ABook* pABook, ABID entryID, char* pname);
int AB_GetMiddleName(DIR_Server* dir, ABook* pABook, ABID entryID, char* pname);
int AB_GetFamilyName(DIR_Server* dir, ABook* pABook, ABID entryID, char* pname);
int AB_GetCompanyName(DIR_Server* dir, ABook* pABook, ABID entryID, char* pname);
int AB_GetLocality(DIR_Server* dir, ABook* pABook, ABID entryID, char* pname);
int AB_GetRegion(DIR_Server* dir, ABook* pABook, ABID entryID, char* pname);
int AB_GetEmailAddress(DIR_Server* dir, ABook* pABook, ABID entryID, char* paddress);
int AB_GetInfo(DIR_Server* dir, ABook* pABook, ABID entryID, char* pinfo);
int AB_GetHTMLMail(DIR_Server* dir, ABook* pABook, ABID entryID, XP_Bool* pHTML);
int AB_GetExpandedName(DIR_Server* dir, ABook* pABook, ABID entryID, char** pname);
int AB_GetTitle(DIR_Server* dir, ABook* pABook, ABID entryID, char* ptitle);
int AB_GetPOAddress(DIR_Server* dir, ABook* pABook, ABID entryID, char* ppoaddress);
int AB_GetStreetAddress(DIR_Server* dir, ABook* pABook, ABID entryID, char* pstreet);
int AB_GetZipCode(DIR_Server* dir, ABook* pABook, ABID entryID, char* pzip);
int AB_GetCountry(DIR_Server* dir, ABook* pABook, ABID entryID, char* pcountry);
int AB_GetWorkPhone(DIR_Server* dir, ABook* pABook, ABID entryID, char* pphone);
int AB_GetFaxPhone(DIR_Server* dir, ABook* pABook, ABID entryID, char* pphone);
int AB_GetHomePhone(DIR_Server* dir, ABook* pABook, ABID entryID, char* pphone);
int AB_GetDistName(DIR_Server* dir, ABook* pABook, ABID entryID, char* pname);
int AB_GetSecurity(DIR_Server* dir, ABook* pABook, ABID entryID, short* security);
int AB_GetCoolAddress(DIR_Server* dir, ABook* pABook, ABID entryID, char* paddress);
int AB_GetUseServer(DIR_Server* dir, ABook* pABook, ABID entryID, short* use);
int AB_GetEntryIDForPerson(DIR_Server* dir, ABook* pABook, ABID* entryID,
PersonEntry* pPerson);
/****************************************************************************/
/* Add/Remove entries for a mailing list */
/****************************************************************************/
int AB_GetEntryCountInMailingList(MLPane* pMLPane, uint32* count);
int AB_AddIDToMailingListAt(MLPane* pMLPane, ABID entryID, MSG_ViewIndex index);
int AB_RemoveIDFromMailingListAt(MLPane* pMLPane, MSG_ViewIndex index);
int AB_ReplaceIDInMailingListAt(MLPane* pMLPane, ABID entryID, MSG_ViewIndex index);
int AB_AddPersonToMailingListAt(MLPane* pMLPane, PersonEntry* person,
MSG_ViewIndex index, ABID* entryID);
/****************************************************************************/
/* Find index to first entry in a pane that matches the typedown */
/****************************************************************************/
int AB_GetIndexMatchingTypedown(ABPane* pABookPane,
MSG_ViewIndex* index, const char* aValue, MSG_ViewIndex startIndex);
/****************************************************************************/
/* Return the id of the name/nickname entries that match a string. If we */
/* find a nickname that uniquely matches then return otherwise check the */
/* full name field. */
/****************************************************************************/
int AB_GetIDForNameCompletion(ABook* pABook, DIR_Server* dir, ABID* entryID,
ABID* field, const char* aValue);
/****************************************************************************/
/* Return a string of expanded addresses from the address book */
/****************************************************************************/
char* AB_ExpandHeaderString(ABook* pABook, const char* addresses,
XP_Bool expandfull);
/****************************************************************************/
/* Return the ids of mailing lists that a entry is a member of */
/* This was mentioned at one time as a requirement in the ui but it may */
/* go away */
/****************************************************************************/
int AB_GetMailingListsContainingID(ABook* pABook, MSG_ViewIndex* plist,
ABID entryID);
/****************************************************************************/
/* This should not be called by any of the fes. I placed it here so it */
/* could be called in the backend by other functions such as those in libmsg */
/* This allows for an increase in performance when adding a bunch of entries */
/* to the database */
/****************************************************************************/
int AB_SetIsImporting(ABook* pABook, XP_Bool isImporting);
/****************************************************************************/
/* This should not be called by any of the fes. I placed it here so it */
/* could be called in the backend by other functions in libmsg */
/* This will set the wantsHTML boolean to be set for all address book */
/* entries with that match the name and email address. */
/****************************************************************************/
int AB_SetHTMLForPerson(DIR_Server* dir, ABook* pABook, PersonEntry* pPerson);
/****************************************************************************/
/* This should not be called by any of the fes. I placed it here so it */
/* could be called in the backend by other functions in libmsg */
/* This will break a name apart into first name and last name. */
/* Be sure and set the WinCSID in the person structure */
/****************************************************************************/
int AB_BreakApartFirstName (ABook* pABook, PersonEntry* pPerson);
XP_END_PROTOS
#endif

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1,700 +0,0 @@
/* -*- 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.
*/
#ifndef BKMKS_H
#define BKMKS_H
#include "xp_mcom.h"
#include "ntypes.h"
XP_BEGIN_PROTOS
#define BM_LAST_CELL 0xFFFF /* See BMFE_RefreshCells */
typedef time_t BM_Date;
typedef enum {
BM_Cmd_Invalid, /* XFE in particular likes to have an invalid
ID code as one of the entries here...*/
BM_Cmd_Open, /* Open a new bookmark file. */
BM_Cmd_ImportBookmarks, /* Import entries from another bookmark
file. */
BM_Cmd_SaveAs, /* Save these bookmarks into another file. */
BM_Cmd_Close, /* Close the bookmarks window. (NYI ###) */
BM_Cmd_Undo, /* Undo the last command. */
BM_Cmd_Redo, /* Redo the last undone command. */
BM_Cmd_Cut, /* Cut the selected bookmarks. */
BM_Cmd_Copy, /* Copy the selected bookmarks. */
BM_Cmd_Paste, /* Paste in the most recent cut/copy. */
BM_Cmd_Delete, /* Delete the selected bookmarks without
affecting the clipboard. */
BM_Cmd_SelectAllBookmarks, /* Select every bookmark in the window. */
BM_Cmd_Find, /* Find a string. */
BM_Cmd_FindAgain, /* Find the same string again. */
BM_Cmd_BookmarkProps, /* Bring up the properties window. */
BM_Cmd_GotoBookmark, /* Load the selected bookmark in a browser
window. */
/* Sort the bookmarks. NYI### */
BM_Cmd_Sort_Name,
BM_Cmd_Sort_Name_Asc,
BM_Cmd_Sort_Address,
BM_Cmd_Sort_Address_Asc,
BM_Cmd_Sort_AddDate,
BM_Cmd_Sort_AddDate_Asc,
BM_Cmd_Sort_LastVisit,
BM_Cmd_Sort_LastVisit_Asc,
BM_Cmd_Sort_Natural,
BM_Cmd_InsertBookmark, /* Insert a new bookmark (or a new address if
in addressbook). */
BM_Cmd_InsertHeader, /* Insert a new header. */
BM_Cmd_InsertSeparator, /* Insert a separator. */
BM_Cmd_MakeAlias, /* Make an alias of this bookmark. */
BM_Cmd_SetAddHeader, /* Make the current header be the one where new
bookmarks are added. */
BM_Cmd_SetMenuHeader /* Make the current header be the one which the
pulldown menu is created from. */
} BM_CommandType;
#define BM_Cmd_SortBookmarks BM_Cmd_Sort_Name
typedef enum
{
BM_Sort_NONE = -1,
BM_Sort_Name,
BM_Sort_Name_Asc,
BM_Sort_Address,
BM_Sort_Address_Asc,
BM_Sort_AddDate,
BM_Sort_AddDate_Asc,
BM_Sort_LastVisit,
BM_Sort_LastVisit_Asc,
BM_Sort_Natural
} BM_SortType;
/* The various types of bookmark entries (as returned by BM_GetType). */
typedef uint16 BM_Type;
#define BM_TYPE_HEADER 0x0001
#define BM_TYPE_URL 0x0002
#define BM_TYPE_ADDRESS 0x0004
#define BM_TYPE_SEPARATOR 0x0008
#define BM_TYPE_ALIAS 0x0010
/* This represents one line in the bookmarks window -- a URL, a
separater, an addressbook entry, a header, etc. It's also already
defined in ntypes.h, and some compilers bitch and moan about seeing it
twice, so I've commented it out here. */
/* typedef struct BM_Entry_struct BM_Entry; */
/* information for the find dialog */
typedef struct BM_FindInfo {
char* textToFind;
XP_Bool checkNickname; /* Meaningful only in addressbook */
XP_Bool checkName;
XP_Bool checkLocation;
XP_Bool checkDescription;
XP_Bool matchCase;
XP_Bool matchWholeWord;
BM_Entry* lastEntry;
} BM_FindInfo;
struct BM_Entry_Focus {
BM_Entry* saveFocus;
XP_Bool foundSelection;
};
extern XP_Bool BM_IsHeader(BM_Entry* entry);
extern XP_Bool BM_IsUrl(BM_Entry* entry);
extern XP_Bool BM_IsAddress(BM_Entry* entry);
extern XP_Bool BM_IsSeparator(BM_Entry* entry);
extern XP_Bool BM_IsAlias(BM_Entry* entry);
extern XP_Bool BM_IsFolded(BM_Entry* entry);
extern XP_Bool BM_IsSelected(BM_Entry* entry);
/* Returns the state of whether this is a "changed URL"; that is, a URL whose
contents have apparently changed since we last visited it. */
#define BM_CHANGED_YES 1
#define BM_CHANGED_NO 0
#define BM_CHANGED_UNKNOWN -1
extern int32 BM_GetChangedState(BM_Entry* entry);
/* Get/Set the header that is to be the root of the pulldown menu. */
extern BM_Entry* BM_GetMenuHeader(MWContext* context);
extern void BM_SetMenuHeader(MWContext* context, BM_Entry* entry);
/* Get/Set the header that is to be the container of new items added from
browser windows. */
extern BM_Entry* BM_GetAddHeader(MWContext* context);
extern void BM_SetAddHeader(MWContext* context, BM_Entry* entry);
typedef void (*EntryFunc)(MWContext* context, BM_Entry* entry, void* closure);
/* Executes the given function on every single entry in the bookmark file. */
extern void BM_EachEntryDo(MWContext* context, EntryFunc func, void* closure);
/* Executes the given function for every entry that is selected. */
extern void BM_EachSelectedEntryDo(MWContext* context, EntryFunc func,
void* closure);
/* Executes the given function for every entry that is selected and is not a
descendent of a header that is not folded or selected. */
extern void BM_EachProperSelectedEntryDo(MWContext* context, EntryFunc func,
void* closure, struct BM_Entry_Focus* bmFocus);
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* Front end stubs -- each FE needs to implement these. */
/* Refresh each cell between and including first and last in the bookmarks
widget (if now is TRUE, the FE is expected to redraw them BEFORE returning,
otherwise the FE can simply invalidate them and wait for the redraw to
happen). If BM_LAST_CELL is passed in as last, then it means paint from
the first to the end. */
extern void BMFE_RefreshCells(MWContext* context, int32 first, int32 last,
XP_Bool now);
/* Resize the widget to accomodate "visibleCount" number of entries vertically
and the width of widest entry the actual widget should NOT change size, just
the size of the scrollable area under it */
extern void BMFE_SyncDisplay(MWContext* context);
/* measure the item and assign the width and height required to draw it into
the widget into width and height. This is used only by BM_WidestEntry(); if
you don't need that call, you can just make this an empty stub. */
extern void BMFE_MeasureEntry(MWContext* context, BM_Entry* entry,
uint32* width, uint32* height);
/* Save the given bucket o' bits as the clipboard. This same bucket needs to
be returned later if BMFE_GetClipContents() is called. */
extern void BMFE_SetClipContents(MWContext* context, void* buffer,
int32 length);
/* return the clipboard contents */
extern void* BMFE_GetClipContents(MWContext* context, int32* length);
/* Copy the selected items from a history window to the clipboard (as bookmarks) */
extern char *BM_ClipCopyHistorySelection( void *pHistCsr, uint32 *pSelections, int iCount, int *pSize, XP_Bool bLongFormat );
/* Insert the block into the list */
extern void BM_DropBlockL( MWContext *pContext, char *pData, BM_Entry *firstSelected );
/* Create the bookmarks property window. If one already exists, just bring it
to the front. This will always be immediately followed by a call to
BMFE_EditItem(). */
extern void BMFE_OpenBookmarksWindow(MWContext* context);
/* Edit the given item in the bookmarks property window. If there is no
bookmarks property window currently, then the FE should ignore this call.
If the bookmarks property window is currently displaying some other entry,
then it should save any changes made to that entry (by calling BM_SetName,
etc.) before loading up this entry. */
extern void BMFE_EditItem(MWContext* context, BM_Entry* entry);
/* The given entry is no longer valid (i.e., the user just deleted it). So,
the given pointer is about to become invalid, and the FE should remove any
references to it it may have. In particular, if it is the one being edited
in the bookmarks property window, then the FE should clear that window. */
extern void BMFE_EntryGoingAway(MWContext* context, BM_Entry* entry);
/* The user has requested to view the given url. Show it to him in, using some
appropriate context. Url may be targeted to a different window */
extern void BMFE_GotoBookmark(MWContext* context,
const char* url, const char* target);
/* Create the find dialog, and fill it in as specified in the given
structure. When the user hits the "Find" button in the dialog, call
BM_DoFindBookmark. */
extern void* BMFE_OpenFindWindow(MWContext* context, BM_FindInfo* findInfo);
/* Make sure that the given entry is visible. */
extern void BMFE_ScrollIntoView(MWContext* context, BM_Entry* entry);
/* The list of bookmarks has changed somehow, so any "bookmarks" menu needs to
be recreated. This should be a cheap call, just setting a flag in the FE so
that it knows to recreate the menu later (like, when the user tries to view
it). Recreating it immediately would be bad, because this can get called
much more often than is reasonable. */
extern void BMFE_BookmarkMenuInvalid(MWContext* context);
/* We're in the process of doing a What's Changed operation. The What's
Changed window should update to display the URL, the percentage (calculate
as done*100/total), and the total estimated time (given here as a
pre-formatted string). The What's Changed window should end up looking
something like this:
Checking <URL>... (<13> left)
{===================== } (progress bar)
Estimated time remaining: <2 hours 13 minutes>
(Remaining time depends on the sites selected and
the network traffic).
[ Cancel ]
It's up to the FE to notice the first time this is called and change its
window to display the info instead of the initial What's Changed screen.
If the user ever hits Cancel (or does something equivilant, like destroys
the window), the FE must call BM_CancelWhatsChanged(). */
extern void BMFE_UpdateWhatsChanged(MWContext* context,
const char* url, /* If NULL, just display
"Checking..." */
int32 done, int32 total,
const char* totaltime);
/* We've finished processing What's Changed. The What's Changed window should
change to display the summary of what happened. It should look something
like this:
Done checking <157> Bookmarks.
<134> documents were reached.
<27> documents have changed and are marked in blue.
[ OK ]
When the user clicks on the OK, the FE should just take down the window.
(It doesn't matter if the FE calls BM_CancelWhatsChanged(); it will be a
no-op in this situtation.) */
extern void BMFE_FinishedWhatsChanged(MWContext* context, int32 totalchecked,
int32 numreached, int32 numchanged);
#ifdef XP_WIN
/* The current bookmarks file is about to change */
extern void BMFE_ChangingBookmarksFile(void);
/* The current bookmarks file has been changed */
extern void BMFE_ChangedBookmarksFile(void);
#endif
#ifdef XP_UNIX
/* Use these to know when to allow refresh */
extern void BMFE_StartBatch(MWContext* context);
extern void BMFE_EndBatch(MWContext* context);
#endif
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* Initialize a new bookmarks context. (returns negative on failure) */
extern int BM_InitializeBookmarksContext(MWContext* context);
/* Prepare to destroy a bookmarks context. Will save any changes that have
been made. */
extern void BM_CleanupBookmarksContext(MWContext* context);
/* Set some FE data to associate with a bookmarks context. */
extern void BM_SetFEData(MWContext* context, void* data);
/* Get the FE data previously associated with a context. */
extern void* BM_GetFEData(MWContext* context);
/* Create a new url entry. */
extern BM_Entry* BM_NewUrl(const char* name, const char* address,
const char* content_type, BM_Date last_visit);
/* Create a new header. */
extern BM_Entry* BM_NewHeader(const char* name);
/* Create a copy of an existing bookmark. If the bookmark is a folder
it will also contain a copy of all of the bookmarks in the folder.*/
extern BM_Entry* BM_CopyBookmark(MWContext* context, BM_Entry* original);
/* Frees an entry. This should never be called unless you are sure the entry
has not been added to some header, and is not the object of some alias. In
other words, be sure nothing could possibly have a pointer to this it.
If the object is a header, this will also free all of its descendents. */
extern void BM_FreeEntry(MWContext* context, BM_Entry* entry);
/* Get the type of this bookmark. (Returns one of the BM_TYPE_* values.) */
extern BM_Type BM_GetType(BM_Entry* entry);
extern char* BM_GetName(BM_Entry* entry);
extern char* BM_GetAddress(BM_Entry* entry);
extern char* BM_GetTarget(BM_Entry* entry, XP_Bool recurse);
extern char* BM_GetDescription(BM_Entry* entry);
extern char* BM_GetNickName(BM_Entry* entry); /* Only meaningful in address
book. */
/* Get the full name and address of the given entry (which must be an
address book entry or header). Result is returned in a newly allocated
string; free it with XP_FREE() when through. */
extern char* BM_GetFullAddress(MWContext* context, BM_Entry* entry);
/* These return prettily formated info about the bookmark. They each
return the result in a staticly allocated string, so if you call the
same function twice the results get stomped. */
extern char* BM_PrettyLastVisitedDate(BM_Entry* entry);
extern char* BM_PrettyAddedOnDate(BM_Entry* entry);
extern char* BM_PrettyAliasCount(MWContext* context, BM_Entry* entry);
/* Get the root node of a context. */
extern BM_Entry* BM_GetRoot(MWContext* context);
/* Given a node, return the first of its children (if any). */
extern BM_Entry* BM_GetChildren(BM_Entry* entry);
/* Given a node, return the next node that has the same parent (if any). */
extern BM_Entry* BM_GetNext(BM_Entry* entry);
/* Given a node, returns its parent (or NULL if this is the root) */
extern BM_Entry* BM_GetParent(BM_Entry* entry);
/* Does this node have a sibling somewhere below it? */
extern XP_Bool BM_HasNext(BM_Entry* entry);
/* Does this node have a sibling somewhere above it? Note that there is *not*
an API to actually get that sibling, as this is not a simple call. However,
determing the existance of such a child is easy, and that's what Windows
needs to paint its pipes. */
extern XP_Bool BM_HasPrev(BM_Entry* entry);
/* Routines to change the name/address/description of an entry. These routines
will take care of updating the display as necessary. */
extern void BM_SetName(MWContext* context, BM_Entry* entry,
const char* newName);
extern void BM_SetAddress(MWContext* context, BM_Entry* entry,
const char* newAddress);
extern void BM_SetTarget(MWContext* context, BM_Entry* entry,
const char* newTarget);
extern void BM_SetDescription(MWContext* context, BM_Entry* entry,
const char* newDesc);
/* Only meaningful in addressbook (on an address or header or alias to same) */
extern XP_Bool BM_SetNickName(MWContext* context, BM_Entry* entry,
const char* newName);
/* The user just hit "Cancel" on the properties window, which was editing
the given item. This gives the bookmarks code a chance to delete the
item if it was just newly created. */
extern void BM_CancelEdit(MWContext* context, BM_Entry* entry);
/* fold or unfold the header according to "fold" and all its subfolders if
foldAll is TRUE */
extern void BM_FoldHeader(MWContext* context, BM_Entry* entry, XP_Bool fold,
XP_Bool refresh, XP_Bool foldAll);
/* clear all the selection flags, and cause a redisplay if refresh is set. */
extern void BM_ClearAllSelection(MWContext* context, XP_Bool refresh);
/* Clear all the child selections of the passes header and redisplay if refresh
is set. */
extern void BM_ClearAllChildSelection(MWContext* context, BM_Entry* at,
XP_Bool refresh);
/* Select everything. */
extern void BM_SelectAll(MWContext* context, XP_Bool refresh);
/* selects the item, call BMFE_Refresh on it if "refresh" and calls
BM_ClearSelection first if extend is FALSE */
extern void BM_SelectItem(MWContext* context, BM_Entry* item, XP_Bool refresh,
XP_Bool extend, XP_Bool select);
/* Adds a range of bookmarks to the current selection. To be called by the FE
when the user Shift-Clicks in the window. This will unselect everything and
then select a range of bookmarks, from the last bookmark that was selected
with BM_SelectItem to the one given here. */
extern void BM_SelectRangeTo(MWContext* context, BM_Entry* item);
/* toggles the selected state of the item, call BMFE_Refresh on it if "refresh"
and calls BM_ClearSelection if extend is FALSE */
extern void BM_ToggleItem(MWContext* context, BM_Entry* item, XP_Bool refresh,
XP_Bool extend );
/* returns the first selected entry */
extern BM_Entry* BM_FirstSelectedItem(MWContext* context);
extern BM_Date BM_GetLastVisited(BM_Entry *);
extern BM_Date BM_GetAdditionDate(BM_Entry *);
/* return the number of bookmarks */
extern int32 BM_GetCount(MWContext* context);
/* return the number of visible bookmarks */
extern int32 BM_GetVisibleCount(MWContext* context);
/* returns an integer index of the item in the list */
extern int32 BM_GetIndex(MWContext* context, BM_Entry* item);
/* returns an integer index of the item in the list and does not pay attention
to the is_folded value */
extern int32 BM_GetUnfoldedIndex(MWContext* context, BM_Entry* item);
/* returns the object associated with the index returned by BM_GetIndex() */
extern BM_Entry* BM_AtIndex(MWContext* context, int32 index);
/* returns the object associated with the index returned by
BM_GetUnfoldedIndex() */
extern BM_Entry* BM_AtUnfoldedIndex(MWContext* context, int32 index);
/* returns an integer depth of the item in the list starting
at zero */
extern int32 BM_GetDepth(MWContext* context, BM_Entry* item);
/* Execute a find operation according to the data in the given structure. This
will cause the appropriate entry to be selected and made visible. */
extern void BM_DoFindBookmark(MWContext* context, BM_FindInfo* findInfo);
/* For addressbook only: find and return the entry (if any) for the e-mail
address within the given mailto: url. (used by libmsg) */
extern BM_Entry* BM_FindAddress(MWContext* context, const char* mailtourl);
/* For addressbook only: edit the entry for the e-mail address within the
given mailto: url, creating the entry if necessary. (used by libmsg) */
extern void BM_EditAddress(MWContext* context, const char* mailtourl);
/* For addressbook only: if the given list of addresses includes a nickname
from the addresses, then return a new string with the addresses expanded.
If expandfull is True, then all mailing list entries are expanded too,
otherwise, mailing list entries are only expanded to include their name.
(used by libmsg). */
extern char* BM_ExpandHeaderString(MWContext* context, const char* value,
XP_Bool expandfull);
/* Checks every bookmark context for a url and updates the last accessed
time. (For use by global history code; FE's probably don't need this.) */
extern void BM_UpdateBookmarksTime(URL_Struct* URL_s, BM_Date cur_time);
/* returns TRUE if the second argument is a direct descendent of the first
argument, returns FALSE otherwise */
extern XP_Bool BM_IsDescendent(MWContext* context, BM_Entry* parent,
BM_Entry* possible_child);
/* The front end can use this call to determine what the indentation depth is
needed to display all the icons in the bookmarks. The XFE uses this to
dynamically resize the icon column. In true C style, the number returned is
actually one bigger than the biggest depth the FE will ever get. */
extern int BM_GetMaxDepth(MWContext* context);
/* This is called during a drag operation. The user is dragging some bookmarks
and is currently pointing at the given line. (If under is True, then the
user is really pointing between the given line and the next line.) This
returns TRUE if the FE should draw a box around the given line, and FALSE if
it should underline it. */
extern XP_Bool BM_IsDragEffectBox(MWContext* context, int line, XP_Bool under);
/* Actually do a drop in a drag-n-drop reordering operation. The arguments are
the same as BM_IsDragEffectBox(); the selected items will be moved. */
extern void BM_DoDrop(MWContext* ctnx, int line, XP_Bool under);
/* find and return the widest visible entry in the bookmarks tree. This makes
sense only if your FE has defined a meaningful BMFE_MeasureEntry(). */
extern BM_Entry* BM_WidestEntry(MWContext* context);
/* insert an item after another item in the bm if the insert_after item is NULL
or not found the item will be inserted at the end of the list */
extern void BM_InsertItemAfter(MWContext* context, BM_Entry* insert_after,
BM_Entry* insertee);
/* insert an item in a header if "insert_after" is a Header type, or after the
item if "insert after" is not a header type. if the insert_after item is
NULL or not found the item will be inserted at the end of the bm */
extern void BM_InsertItemInHeaderOrAfterItem(MWContext* context,
BM_Entry* insert_after,
BM_Entry* insertee );
/* Cause the given item to be inserted at the end of the given header. The
header passed in here is usually BM_GetAddHeader(). */
extern void BM_AppendToHeader(MWContext* context, BM_Entry* header,
BM_Entry* entry);
extern void BM_PrependChildToHeader(MWContext* context, BM_Entry* parent, BM_Entry* child);
/* Removes the given item from bookmarks without deleting it*/
extern void BM_RemoveChildFromHeader(MWContext* context, BM_Entry* parent, BM_Entry* child);
/* Cause the given bookmark to be displayed in a browser window somewhere.
The given item must be an URL (BM_IsUrl must return TRUE). */
extern void BM_GotoBookmark(MWContext* context, BM_Entry* item);
/* Reads the hostlist from disk, what else? Pass in the bm filename and a
relative URL which represents the original location of the html file. If
you are reading the default bm you should pass in a file URL of the form
file://localhost/PATH */
extern void BM_ReadBookmarksFromDisk(MWContext* context, const char* filename,
const char* relative_url);
/* saves the bm to a file. If the given filename is NULL, then save it back to
where it was loaded from and only if changes have been made. Returns
negative on failure. */
extern int32 BM_SaveBookmarks(MWContext* context, const char* filename);
/* Returns the filename that the bookmarks are saved in. */
extern const char* BM_GetFileName(MWContext* context);
/* read in a new bookmarks file (esp for LI use). */
extern void BM_Open_File(MWContext* context, char* newFile);
/* ability to set the modified to true or false (esp for LI use). */
extern void BM_SetModified(MWContext* context, XP_Bool mod);
/* Whether the file will be written when Save is called. */
extern XP_Bool BM_Modified(MWContext* context);
/* Convert a number of selections in a bm list into a block of memory that the
user can use for cut and paste operations */
extern char* BM_ConvertSelectionsToBlock(MWContext* context,
XP_Bool bLongFormat,
int32* lTotalLen);
/* Take a block of memory and insert the bm items it represents into the
current bm */
extern void BM_InsertBlockAt(MWContext* context, char* pOriginalBlock,
BM_Entry* addTo, XP_Bool bLongFormat,
int32 lTotalLen);
/* select all aliases for an entry */
extern void BM_SelectAliases(MWContext* context, BM_Entry* forEntry );
/* Count how many aliases there are to the given entry. */
extern int32 BM_CountAliases(MWContext* context, BM_Entry* forEntry);
/* Make an alias for each of the currently selected entries. */
extern void BM_MakeAliases(MWContext* context);
/* Returns the real item that an alias points to. The given entry must be an
alias (BM_IsAlias must return TRUE on it). */
extern BM_Entry* BM_GetAliasOriginal(BM_Entry*);
/* Start a What's Changed operation. Before calling this routine, it's up to
the FE to present a dialog like this when What's Changed starts:
Look for documents that have changed on:
(o) All bookmarks
( ) Selected bookmarks
[ Start Checking ] [ Cancel ]
Then the FE calls this routine when the user clicks Start Checking. The FE
will immediately get called via BMFE_UpdateWhatsChanged(), and the FE should
change the dialog box's appearance to match. */
extern int BM_StartWhatsChanged(MWContext* context,
XP_Bool do_only_selected);
/* Cancel a running What's Changed operation. */
extern int BM_CancelWhatsChanged(MWContext* context);
/* Returns whether the given command can be executed right now. Should be
used to decide whether to disable a menu item for this command. */
extern XP_Bool BM_FindCommandStatus(MWContext* context,
BM_CommandType command);
/* Execute the given command. */
extern void BM_ObeyCommand(MWContext* context, BM_CommandType command );
/* Clean up the undo queue */
void BM_ResetUndo(MWContext * context);
XP_END_PROTOS
#endif /* BMLIST_H */

View File

@@ -1,159 +0,0 @@
/* -*- 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.
*/
/*
* Copyright (c) 1991, 1993
* The Regents of the University of California. All rights reserved.
*
* This code is derived from software contributed to Berkeley by
* Berkeley Software Design, Inc.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* @(#)cdefs.h 8.7 (Berkeley) 1/21/94
*/
#ifndef _CDEFS_H_
#define _CDEFS_H_
#ifdef __BEGIN_DECLS
#undef __BEGIN_DECLS
#endif
#ifdef __END_DECLS
#undef __END_DECLS
#endif
#if defined(__cplusplus)
#define __BEGIN_DECLS extern "C" {
#define __END_DECLS }
#else
#define __BEGIN_DECLS
#define __END_DECLS
#endif
/*
* The __CONCAT macro is used to concatenate parts of symbol names, e.g.
* with "#define OLD(foo) __CONCAT(old,foo)", OLD(foo) produces oldfoo.
* The __CONCAT macro is a bit tricky -- make sure you don't put spaces
* in between its arguments. __CONCAT can also concatenate double-quoted
* strings produced by the __STRING macro, but this only works with ANSI C.
*/
#undef __P
#undef __CONCAT
#undef __STRING
#if defined(__STDC__) || defined(__cplusplus) || defined(_WINDOWS) || defined(XP_OS2)
#define __P(protos) protos /* full-blown ANSI C */
#define __CONCAT(x,y) x ## y
#define __STRING(x) #x
#define __const const /* define reserved names to standard */
#define __signed signed
#define __volatile volatile
#ifndef _WINDOWS
#if defined(__cplusplus)
#define __inline inline /* convert to C++ keyword */
#else
#ifndef __GNUC__
#define __inline /* delete GCC keyword */
#endif /* !__GNUC__ */
#endif /* !__cplusplus */
#endif /* !_WINDOWS */
#else /* !(__STDC__ || __cplusplus) */
#define __P(protos) () /* traditional C preprocessor */
#define __CONCAT(x,y) x/**/y
#define __STRING(x) "x"
#ifndef __GNUC__
#define __const /* delete pseudo-ANSI C keywords */
#define __inline
#define __signed
#define __volatile
/*
* In non-ANSI C environments, new programs will want ANSI-only C keywords
* deleted from the program and old programs will want them left alone.
* When using a compiler other than gcc, programs using the ANSI C keywords
* inline, signed etc. as normal identifiers should define -DNO_ANSI_KEYWORDS.
* When using "gcc -traditional", we assume that this is the intent; if
* __GNUC__ is defined but __STDC__ is not, we leave the new keywords alone.
*/
#ifndef NO_ANSI_KEYWORDS
#define inline /* delete ANSI C keywords */
#define signed
#define volatile
#endif
#endif /* !__GNUC__ */
#endif /* !(__STDC__ || __cplusplus) */
/*
* GCC1 and some versions of GCC2 declare dead (non-returning) and
* pure (no side effects) functions using "volatile" and "const";
* unfortunately, these then cause warnings under "-ansi -pedantic".
* GCC2 uses a new, peculiar __attribute__((attrs)) style. All of
* these work for GNU C++ (modulo a slight glitch in the C++ grammar
* in the distribution version of 2.5.5).
*/
#if !defined(__GNUC__) || __GNUC__ < 2 || __GNUC_MINOR__ < 5
#define __attribute__(x) /* delete __attribute__ if non-gcc or gcc1 */
#if defined(__GNUC__) && !defined(__STRICT_ANSI__)
#define __dead __volatile
#define __pure __const
#endif
#endif
/* Delete pseudo-keywords wherever they are not available or needed. */
#ifndef __dead
#define __dead
#define __pure
#endif
#ifdef AIXV3
/* Wont compile without const. Need a cleaner way to handle this. */
#ifdef const
#undef const
#endif
#endif
#endif /* !_CDEFS_H_ */

View File

@@ -1,76 +0,0 @@
/* -*- 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.
*/
#ifndef __cgi_h_
#define __cgi_h_
/*
** CGI assist library. Portability layer for writing correctly behaving
** CGI programs.
*/
#include "ds.h"
XP_BEGIN_PROTOS
/*
** Read in the input, generating a single long string out of it. CGI
** programs normally get the value of various forms elements as input.
*/
extern char *CGI_GatherInput(FILE *in);
/*
** Given a null terminated string, compress it in place, converting
** "funny characters" into their ascii equivalent. Maps "+" to space and
** %xx to the binary version of xx, where xx is a pair of hex digits.
*/
extern void CGI_CompressString(char *s);
/*
** Convert a string into an argument vector. This seperates the incoming
** string into pieces, and calls CGI_CompressString to compress the
** pieces. This allocates memory for the return value only.
*/
extern char **CGI_ConvertStringToArgVec(char *string, int *argcp);
/*
** Look for the variable called "name" in the argv. Return a pointer to
** the value portion of the variable if found, zero otherwise. this does
** not malloc memory.
*/
extern char *CGI_GetVariable(char *name, int argc, char **argv);
/* Return non-zero if the variable string is not empty */
#define CGI_IsEmpty(var) (!(var) || ((var)[0] == 0))
/*
** Return true if the server that started the cgi running is using
** security (https).
*/
extern DSBool CGI_IsSecureServer(void);
/*
** Concatenate strings to produce a single string.
*/
extern char *CGI_Cat(char *, ...);
/* Escape a string, cgi style */
char *CGI_Escape(char *in);
XP_END_PROTOS
#endif /* __cgi_h_ */

View File

@@ -1,59 +0,0 @@
/* -*- 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.
*/
/*
* This file should be included after xp_mcom.h
*
* All definitions for intermodule communications in the Netscape
* client should be contained in this file
*/
#ifndef _CLIENT_H_
#define _CLIENT_H_
#define NEW_FE_CONTEXT_FUNCS
/* include header files needed for prototypes/etc */
#include "xp_mcom.h"
#include "ntypes.h" /* typedefs for commonly used Netscape data structures */
#include "fe_proto.h" /* all the standard FE functions */
#include "proto.h" /* library functions */
/* global data structures */
#include "structs.h"
#include "merrors.h"
#ifndef XP_MAC /* don't include everything in the world */
/* --------------------------------------------------------------------- */
/* include other bits of the Netscape client library */
#include "lo_ele.h" /* Layout structures */
#include "net.h"
#include "gui.h"
#include "shist.h"
#include "hotlist.h"
#include "glhist.h"
#include "mime.h"
#endif /* !XP_MAC */
#endif /* _CLIENT_H_ */

View File

@@ -1,222 +0,0 @@
/* -*- 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.
*/
/* csid.h */
#ifndef _CSID_H_
#define _CSID_H_
/* Codeset type */
#define SINGLEBYTE 0x0000 /* 0000 0000 0000 0000 = 0 */
#define MULTIBYTE 0x0100 /* 0000 0001 0000 0000 = 256 */
#define STATEFUL 0x0200 /* 0000 0010 0000 0000 = 512 */
#define WIDECHAR 0x0300 /* 0000 0011 0000 0000 = 768 */
#define CODESET_MASK 0x0F00 /* 0000 1111 0000 0000 = 3840 */
/*
* Check for double byte encodings
* (should distinguish 2 byte from true multibyte)
*/
#define IS_16BIT_ENCODING(x) (((x)&CODESET_MASK) == MULTIBYTE)
/* line-break on spaces */
#define CS_SPACE 0x0400 /* 0000 0100 0000 0000 = 1024 */
/* Auto Detect Mode */
#define CS_AUTO 0x0800 /* 0000 1000 0000 0000 = 2048 */
/* Code Set IDs */
/* CS_DEFAULT: used if no charset param in header */
/* CS_UNKNOWN: used for unrecognized charset */
/* type id */
#define CS_DEFAULT (SINGLEBYTE | 0) /* 0 */
#define CS_ASCII (SINGLEBYTE | 1) /* 1 */
#define CS_LATIN1 (SINGLEBYTE | 2) /* 2 */
#define CS_JIS (STATEFUL | 3) /* 515 */
#define CS_SJIS (MULTIBYTE | 4) /* 260 */
#define CS_EUCJP (MULTIBYTE | 5) /* 261 */
#define CS_JIS_AUTO (CS_AUTO|STATEFUL | 3) /* 2563 */
#define CS_SJIS_AUTO (CS_AUTO|MULTIBYTE | 4) /* 2308 */
#define CS_EUCJP_AUTO (CS_AUTO|MULTIBYTE | 5) /* 2309 */
#define CS_MAC_ROMAN (SINGLEBYTE | 6) /* 6 */
#define CS_BIG5 (MULTIBYTE | 7) /* 263 */
#define CS_GB_8BIT (MULTIBYTE | 8) /* 264 */
#define CS_CNS_8BIT (MULTIBYTE | 9) /* 265 */
#define CS_LATIN2 (SINGLEBYTE | 10) /* 10 */
#define CS_MAC_CE (SINGLEBYTE | 11) /* 11 */
#define CS_KSC_8BIT (MULTIBYTE|CS_SPACE | 12) /* 1292 */
#define CS_KSC_8BIT_AUTO (CS_AUTO | MULTIBYTE|CS_SPACE | 12)
#define CS_2022_KR (STATEFUL | 13) /* 525 */
#define CS_8859_3 (SINGLEBYTE | 14) /* 14 */
#define CS_8859_4 (SINGLEBYTE | 15) /* 15 */
#define CS_8859_5 (SINGLEBYTE | 16) /* 16 ISO Cyrillic */
#define CS_8859_6 (SINGLEBYTE | 17) /* 17 ISO Arabic */
#define CS_8859_7 (SINGLEBYTE | 18) /* 18 ISO Greek */
#define CS_8859_8 (SINGLEBYTE | 19) /* 19 ISO Hebrew */
#define CS_8859_9 (SINGLEBYTE | 20) /* 20 */
#define CS_SYMBOL (SINGLEBYTE | 21) /* 21 */
#define CS_DINGBATS (SINGLEBYTE | 22) /* 22 */
#define CS_DECTECH (SINGLEBYTE | 23) /* 23 */
#define CS_CNS11643_1 (MULTIBYTE | 24) /* 280 */
#define CS_CNS11643_2 (MULTIBYTE | 25) /* 281 */
#define CS_JISX0208 (MULTIBYTE | 26) /* 282 */
#define CS_JISX0201 (SINGLEBYTE | 27) /* 27 */
#define CS_KSC5601 (MULTIBYTE | 28) /* 284 */
#define CS_TIS620 (SINGLEBYTE | 29) /* 29 */
#define CS_JISX0212 (MULTIBYTE | 30) /* 286 */
#define CS_GB2312 (MULTIBYTE | 31) /* 287 */
#define CS_UCS2 (WIDECHAR | 32) /* 810 */
#define CS_UCS4 (WIDECHAR | 33) /* 811 */
#define CS_UTF8 (MULTIBYTE | 34) /* 290 */
#define CS_UTF7 (STATEFUL | 35) /* 35 */
#define CS_NPC (MULTIBYTE | 36) /* 292 */
#define CS_X_BIG5 (MULTIBYTE | 37) /* 293 */
#define CS_USRDEF2 (SINGLEBYTE | 38) /* 38 */
#define CS_KOI8_R (SINGLEBYTE | 39) /* 39 */
#define CS_MAC_CYRILLIC (SINGLEBYTE | 40) /* 40 */
#define CS_CP_1251 (SINGLEBYTE | 41) /* 41 CP1251 Windows Cyrillic */
#define CS_MAC_GREEK (SINGLEBYTE | 42) /* 42 */
/* CS_CP_1253 should be deleted, we should use CS_8859_7 instead */
#define CS_CP_1253 (SINGLEBYTE | 43) /* 43 CP1253 Windows Greek */
#define CS_CP_1250 (SINGLEBYTE | 44) /* 44 CP1250 Windows C. Europe */
/* CS_CP_1254 should be deleted, we should use CS_8859_9 instead */
#define CS_CP_1254 (SINGLEBYTE | 45) /* 45 CP1254 Windows Turkish */
#define CS_MAC_TURKISH (SINGLEBYTE | 46) /* 46 */
#define CS_GB2312_11 (MULTIBYTE | 47) /* 303 */
#define CS_JISX0208_11 (MULTIBYTE | 48) /* 304 */
#define CS_KSC5601_11 (MULTIBYTE | 49) /* 305 */
#define CS_CNS11643_1110 (MULTIBYTE | 50) /* 306 */
#define CS_UCS2_SWAP (WIDECHAR | 51) /* 819 */
#define CS_IMAP4_UTF7 (STATEFUL | 52) /* 564 */
#define CS_CP_850 (SINGLEBYTE | 53) /* 53 PC Latin 1 */
#define CS_CP_852 (SINGLEBYTE | 54) /* 54 PC Latin 2 */
#define CS_CP_855 (SINGLEBYTE | 55) /* 55 PC Cyrillic */
#define CS_CP_857 (SINGLEBYTE | 56) /* 56 PC Turkish */
#define CS_CP_862 (SINGLEBYTE | 57) /* 57 PC Hebrew */
#define CS_CP_864 (SINGLEBYTE | 58) /* 58 PC Arabic */
#define CS_CP_866 (SINGLEBYTE | 59) /* 59 PC Russian */
#define CS_CP_874 (SINGLEBYTE | 60) /* 60 PC Thai */
#define CS_CP_1257 (SINGLEBYTE | 61) /* 61 Windows Baltic */
#define CS_CP_1258 (SINGLEBYTE | 62) /* 62 Windows Vietnamese */
#define CS_ARMSCII8 (SINGLEBYTE | 63) /* 63 Armenian ArmSCII-8 */
#define INTL_CHAR_SET_MAX 64 /* must be highest + 1 */
#define CS_USER_DEFINED_ENCODING (SINGLEBYTE | 254) /* 254 */
#define CS_UNKNOWN (SINGLEBYTE | 255) /* 255 */
#define IS_UTF8_CSID(x) (((x)&0xFF)== (CS_UTF8&0xFF))
#define IS_UNICODE_CSID(x) \
( (((x)&0xFF)== (CS_UCS2&0xFF)) \
|| (((x)&0xFF)== (CS_UTF8&0xFF)) \
|| (((x)&0xFF)== (CS_UTF7&0xFF)) )
/* The trigger is passing the parameter to
PA_FetchParamValue() to satisfy its signature */
#ifdef XP_MAC
#define CS_FE_ASCII CS_MAC_ROMAN
#else
#define CS_FE_ASCII CS_LATIN1
#endif
/* Codeset # sorted by number */
#if 0
0 CS_DEFAULT 0
1 CS_ASCII 1
2 CS_LATIN1 2
6 CS_MAC_ROMAN 6
10 CS_LATIN2 10
11 CS_MAC_CE 11
14 CS_8859_3 14
15 CS_8859_4 15
16 CS_8859_5 16
17 CS_8859_6 17
18 CS_8859_7 18
19 CS_8859_8 19
20 CS_8859_9 20
21 CS_SYMBOL 21
22 CS_DINGBATS 22
23 CS_DECTECH 23
27 CS_JISX0201 27
29 CS_TIS620 29
35 CS_UTF7 35
38 CS_USRDEF2 38
39 CS_KOI8_R 39
40 CS_MAC_CYRILLIC 40
41 CS_CP_1251 41
42 CS_MAC_GREEK 42
43 CS_CP_1253 43
44 CS_CP_1250 44
45 CS_CP_1254 45
46 CS_MAC_TURKISH 46
53 CS_CP_850 53
54 CS_CP_852 54
55 CS_CP_855 55
56 CS_CP_857 56
57 CS_CP_862 57
58 CS_CP_864 58
59 CS_CP_866 59
60 CS_CP_874 60
61 CS_CP_1257 61
62 CS_CP_1258 62
63 CS_ARMSCII8 63
64 INTL_CHAR_SET_MAX 64
254 CS_USER_DEFINED_ENCODING 254
255 CS_UNKNOWN 255
260 CS_SJIS 260
261 CS_EUCJP 261
263 CS_BIG5 263
264 CS_GB_8BIT 264
265 CS_CNS_8BIT 265
280 CS_CNS11643_1 280
281 CS_CNS11643_2 281
282 CS_JISX0208 282
284 CS_KSC5601 284
286 CS_JISX0212 286
287 CS_GB2312 287
290 CS_UTF8 290
292 CS_NPC 292
293 CS_X_BIG5 293
303 CS_GB2312_11 303
304 CS_JISX0208_11 304
305 CS_KSC5601_11 305
306 CS_CNS11643_1110 306
515 CS_JIS 515
525 CS_2022_KR 525
564 CS_IMAP4_UTF7 564
810 CS_UCS2 810
811 CS_UCS4 811
819 CS_UCS2_SWAP 819
1292 CS_KSC_8BIT 1292
2308 CS_SJIS_AUTO 2308
2309 CS_EUCJP_AUTO 2309
2563 CS_JIS_AUTO 2563
#endif
#endif /* _CSID_H_ */

View File

@@ -1,41 +0,0 @@
/* -*- 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.
*/
#ifndef CV_ACTIVE
#define CV_ACTIVE
#include "net.h"
/* define a constant to be passed to CV_MakeMultipleDocumentStream
* as the data_object to signify that it should return
* MK_END_OF_MULTIPART_MESSAGE when it gets to the end
* of the multipart instead of waiting for the complete
* function to be called
*/
#define CVACTIVE_SIGNAL_AT_END_OF_MULTIPART 999
XP_BEGIN_PROTOS
extern NET_StreamClass *
CV_MakeMultipleDocumentStream (int format_out,
void *data_object,
URL_Struct *URL_s,
MWContext *window_id);
XP_END_PROTOS
#endif /* CV_ACTIVE */

View File

@@ -1,223 +0,0 @@
/* -*- 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.
*/
#ifndef _DIRPREFS_H_
#define _DIRPREFS_H_
#define kCurrentListVersion 1
/* DIR_Server.dirType */
typedef enum
{
LDAPDirectory,
HTMLDirectory,
PABDirectory
} DirectoryType;
typedef enum
{
cn,
givenname,
sn,
mail,
telephonenumber,
o,
ou,
l,
street,
auth,
custom1,
custom2,
custom3,
custom4,
custom5
} DIR_AttributeId;
typedef struct _DIR_ReplicationInfo DIR_ReplicationInfo;
typedef struct DIR_Server
{
char *description; /* human readable name */
char *serverName; /* network host name */
char *searchBase; /* DN suffix to search at */
char *fileName; /* XP path name of local DB */
char *prefId; /* name of this server's tree in JS prefs */
int port; /* network port number */
int maxHits; /* maximum number of hits to return */
XP_Bool isSecure; /* use SSL? */
XP_Bool saveResults;
XP_Bool efficientWildcards; /* server can match substrings */
char *lastSearchString; /* required if saving results */
DirectoryType dirType;
uint32 flags;
/* site-configurable attributes and filters */
XP_List *customFilters;
XP_List *customAttributes;
char *tokenSeps;
XP_Bool stopFiltersOnHit;
XP_Bool isOffline;
/* site-configurable list of attributes whose values are DNs */
char **dnAttributes;
int dnAttributesCount;
/* site-configurable list of attributes we shouldn't display in HTML */
char **suppressedAttributes;
int suppressedAttributesCount;
/* site-configurable list of attributes for the Basic Search dialog */
DIR_AttributeId *basicSearchAttributes;
int basicSearchAttributesCount;
/* site-configurable URL to open LDAP results */
char *customDisplayUrl;
/* authentication fields */
XP_Bool enableAuth; /* Use DN and password when binding? */
XP_Bool savePassword; /* Remember the DN and password we gave? */
char *authDn; /* DN to give to authenticate as */
char *password; /* Password for the DN */
/* replication fields */
DIR_ReplicationInfo *replInfo;
} DIR_Server;
XP_BEGIN_PROTOS
/* Return the list of directory servers
* each front end hangs on to the list
*/
XP_List * FE_GetDirServers(void);
/* Since the strings in DIR_Server are allocated, we have bottleneck
* routines to help with memory mgmt
*/
int DIR_CopyServer (DIR_Server *in, DIR_Server **out);
int DIR_DeleteServer (DIR_Server *);
int DIR_InitServer (DIR_Server *);
int DIR_ValidateServer (DIR_Server *);
XP_Bool DIR_AreServersSame (DIR_Server *first, DIR_Server *second);
int DIR_DeleteServerList(XP_List *wholeList);
int DIR_GetLdapServers (XP_List *wholeList, XP_List *subList);
int DIR_ReorderLdapServers (XP_List *wholeList);
/* These two routines should be called to initialize and save
* directory preferences from the XP Java Script preferences
*/
int DIR_GetServerPreferences (XP_List **list, const char* pabFile);
int DIR_SaveServerPreferences (XP_List *wholeList);
/* This routine will clean up files for deleted directories */
int DIR_CleanUpServerPreferences(XP_List *deletedList);
#if 1
/* Returns a pointer into the list (not allocated, so don't free) */
int DIR_GetPersonalAddressBook (XP_List *wholeList, DIR_Server **pab);
int DIR_GetComposeNameCompletionAddressBook (XP_List *wholeList, DIR_Server **cab);
#else
/* Returns an allocated list of all personal address books, excluding
* LDAP directories, replicated directories, and CABs
*/
XP_List *DIR_GetPersonalAddressBooks (XP_List *wholeList);
XP_List *DIR_GetAddressBooksForCompletion (XP_List *wholeList);
#endif
void DIR_GetServerFileName(char** filename, const char* leafName);
void DIR_SetServerFileName(DIR_Server* pServer, const char* leafName);
/* APIs for site-configurability of LDAP attribute names and
* search filter behavior.
*
* Strings are NOT allocated, and arrays are NULL-terminated
*/
const char *DIR_GetAttributeName (DIR_Server *server, DIR_AttributeId id);
const char **DIR_GetAttributeStrings (DIR_Server *server, DIR_AttributeId id);
const char *DIR_GetFirstAttributeString (DIR_Server *server, DIR_AttributeId id);
const char *DIR_GetFilterString (DIR_Server *server);
const char *DIR_GetTokenSeparators (DIR_Server *server);
XP_Bool DIR_RepeatFilterForTokens (DIR_Server *server, const char *filter);
XP_Bool DIR_SubstStarsForSpaces (DIR_Server *server, const char *filter);
XP_Bool DIR_UseCustomAttribute (DIR_Server *server, DIR_AttributeId id);
XP_Bool DIR_IsDnAttribute (DIR_Server *s, const char *attr);
XP_Bool DIR_IsAttributeExcludedFromHtml (DIR_Server *s, const char *attr);
int DIR_AttributeNameToId (const char *attrName, DIR_AttributeId *id);
/* APIs for authentication */
void DIR_SetAuthDN (DIR_Server *s, const char *dn);
void DIR_SetPassword (DIR_Server *s, const char *password);
/* APIs for unescaping LDAP special chars */
char *DIR_Unescape (const char *src, XP_Bool makeHtml);
XP_Bool DIR_IsEscapedAttribute (DIR_Server *s, const char *attrib);
/* APIs for replication */
int DIR_ValidateRootDSE (DIR_Server *s, int32 gen, int32 first, int32 last);
/* API for building a URL */
char *DIR_BuildUrl (DIR_Server *s, const char *dn, XP_Bool forAddToAB);
/* Flags manipulation */
#define DIR_AUTO_COMPLETE_ENABLED 0x00000001
#define DIR_ENABLE_AUTH 0x00000002
#define DIR_SAVE_PASSWORD 0x00000004
#define DIR_UTF8_DISABLED 0x00000008 /* not used by the FEs */
#define DIR_IS_SECURE 0x00000010
#define DIR_SAVE_RESULTS 0x00000020 /* not used by the FEs */
#define DIR_EFFICIENT_WILDCARDS 0x00000040 /* not used by the FEs */
#define DIR_LDAPV3_SUPPORTED 0x00000080 /* not used by the FEs */
#define DIR_LDAPV3_NOT_SUPPORTED 0x00000100 /* not used by the FEs */
#define DIR_VIRTUAL_LISTBOX_SUPPORTED 0x00000200 /* not used by the FEs */
#define DIR_VIRTUAL_LISTBOX_NOT_SUPPORTED 0x00000400 /* not used by the FEs */
void DIR_SetAutoCompleteEnabled (XP_List *list, DIR_Server *server, XP_Bool onOrOff);
XP_Bool DIR_TestFlag (DIR_Server *server, uint32 flag);
void DIR_SetFlag (DIR_Server *server, uint32 flag);
void DIR_ClearFlag (DIR_Server *server, uint32 flag);
void DIR_ForceFlag (DIR_Server *server, uint32 flag, XP_Bool forceOnOrOff);
char *DIR_ConvertToServerCharSet (DIR_Server *s, char *src, int16 srcCsid);
char *DIR_ConvertFromServerCharSet (DIR_Server *s, char *src, int16 dstCsid);
#ifdef MOZ_LDAP
/* Does the LDAP client lib work for SSL */
#include "ldap.h"
int DIR_SetupSecureConnection (LDAP *ld);
#endif /* MOZ_LDAP */
XP_END_PROTOS
#endif /* dirprefs.h */

View File

@@ -1,267 +0,0 @@
/* -*- 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.
*/
#ifndef __DS_h_
#define __DS_h_
#ifdef XP_WIN32
#include <windows.h>
#endif /* XP_WIN32 */
#ifdef XP_OS2
#define INCL_WIN
#define INCL_GPI
#define TID OS2TID /* global rename in OS2 H's! */
#include <os2.h>
#undef TID /* and restore */
#endif
#include "xp_mcom.h"
XP_BEGIN_PROTOS
/* Typedefs */
typedef struct DSArrayStr DSArray;
typedef struct DSLinkStr DSLink;
typedef struct DSListStr DSList;
typedef struct DSArenaStr DSArena;
#define DS_MIN(a,b) ((a)<(b)?(a):(b))
#define DS_MAX(a,b) ((a)>(b)?(a):(b))
/*
** Your basic boolean. Done as an enum to cause compiler warnings when a
** boolean procedure doesn't return the right value.
** LISA SEZ: Please do not use this; use PRBool instead. Eventually
** (as soon as I can "make it so") DSBool is going away in favor of PRBool.
*/
typedef enum DSBoolEnum {
DSTrue = 1,
DSFalse = 0
} DSBool;
/*
** A status code. Status's are used by procedures that return status
** values. Again the motivation is so that a compiler can generate
** warnings when return values are wrong. Correct testing of status codes:
**
** DSStatus rv;
** rv = some_function (some_argument);
** if (rv != DSSuccess)
** do_an_error_thing();
**
*/
typedef enum DSStatusEnum {
DSWouldBlock = -2,
DSFailure = -1,
DSSuccess = 0
} DSStatus;
/*
** A comparison code. Used for procedures that return comparision
** values. Again the motivation is so that a compiler can generate
** warnings when return values are wrong.
*/
typedef enum DSComparisonEnum {
DSLessThan = -1,
DSEqual = 0,
DSGreaterThan = 1
} DSComparison;
typedef void (*DSElementFreeFunc)(void *e1, DSBool freeit);
typedef int (*DSElementCompareFunc)(void *e1, void *e2);
/************************************************************************/
/*
** Simple variable length array of pointers. The array keeps a NULL
** pointer at the end of the array.
*/
struct DSArrayStr {
void **things;
DSElementFreeFunc freeElement;
};
extern DSArray *DS_CreateArray(int slots);
extern DSStatus DS_GrowArray(DSArray *da, int slots);
extern void DS_SetArrayMethods(DSArray *da, DSElementFreeFunc free);
extern void DS_DestroyArray(DSArray *da, DSBool freeit);
extern void DS_Sort(DSArray *da, DSElementCompareFunc compare);
extern int DS_Elements(DSArray *da);
extern DSStatus DS_AddElement(DSArray *da, void *element);
extern void DS_RemoveElement(DSArray *da, void *element);
/************************************************************************/
/*
** Circular linked list. Each link contains a pointer to the object that
** is actually in the list.
*/
struct DSLinkStr {
DSLink *next;
DSLink *prev;
void *thing;
};
struct DSListStr {
DSLink link;
};
#define DS_InitList(lst) \
{ \
(lst)->link.next = &(lst)->link; \
(lst)->link.prev = &(lst)->link; \
(lst)->link.thing = 0; \
}
#define DS_ListEmpty(lst) \
((lst)->link.next == &(lst)->link)
#define DS_ListHead(lst) \
((lst)->link.next)
#define DS_ListTail(lst) \
((lst)->link.prev)
#define DS_ListIterDone(lst,lnk) \
((lnk) == &(lst)->link)
#define DS_AppendLink(lst,lnk) \
{ \
(lnk)->next = &(lst)->link; \
(lnk)->prev = (lst)->link.prev; \
(lst)->link.prev->next = (lnk); \
(lst)->link.prev = (lnk); \
}
#define DS_InsertLink(lst,lnk) \
{ \
(lnk)->next = (lst)->link.next; \
(lnk)->prev = &(lst)->link; \
(lst)->link.next->prev = (lnk); \
(lst)->link.next = (lnk); \
}
#define DS_RemoveLink(lnk) \
{ \
(lnk)->next->prev = (lnk)->prev; \
(lnk)->prev->next = (lnk)->next; \
(lnk)->next = 0; \
(lnk)->prev = 0; \
}
extern DSLink *DS_NewLink(void *thing);
extern DSLink *DS_FindLink(DSList *lst, void *thing);
extern void DS_DestroyLink(DSLink *lnk, DSBool freeit);
/************************************************************************/
/*
** Memory manager
*/
/*
** at one time XP_Block was a float* to force clients to cast things
** before use. Now DSBlock is defined since that will be most convenient
** for almost all uses.
*/
typedef unsigned char *DSBlock;
/*
** Allocate some memory. Always allocates at least one byte of memory.
*/
extern void *DS_Alloc(size_t bytes);
/*
** Reallocate some memory, growing or shrinking the memory.
*/
extern void *DS_Realloc(void *oldptr, size_t bytes);
/*
** Allocate and then zero some memory. Always allocates at least one byte
** of memory.
*/
extern void *DS_Zalloc(size_t bytes);
/*
** Allocate a block of memory. Always allocates at least one byte of
** memory.
*/
extern DSBlock DS_AllocBlock(size_t bytes);
/*
** Reallocate a block of memory, growing or shrinking the memory block.
*/
extern DSBlock DS_ReallocBlock(DSBlock block, size_t newBytes);
/*
** Free a block of memory. Safe to use on null pointers.
*/
extern void DS_FreeBlock(DSBlock block);
/*
** Free a chunk of memory. Safe to use on null pointers.
*/
extern void DS_Free(void *ptr);
/*
** Zero and then free a chunk of memory. Safe to use on null pointers.
*/
extern void DS_Zfree(void *ptr, size_t bytes);
/*
* Low cost Malloc Arenas.
*
* The chunks are a linked list.
* The beginning of each chunk is a pointer to the next chunk.
*/
struct DSArenaStr {
unsigned long chunkSize; /* size of each chunk */
unsigned int refCount; /* reference count */
void ** firstChunk; /* pointer to first chunk */
void ** lastChunk; /* pointer to last chunk */
void * pLast; /* last item allocated */
void * pCur; /* beginning of free area */
void * pCurEnd; /* end of free area in current chunk */
};
/* make a new arena */
extern DSArena *
DS_NewArena(unsigned long chunkSize);
/* destroy an arena, and free all memory associated with it */
extern void
DS_FreeArena(DSArena *arena, DSBool zero);
/* malloc a chunk of data from the arena */
extern void *
DS_ArenaAlloc(DSArena *arena, unsigned long size);
/* malloc a chunk of data from the arena, zero filling it */
extern void *
DS_ArenaZalloc(DSArena *arena, unsigned long size);
/* change the size of an object, works best if it was the last object
* allocated
*/
extern void *
DS_ArenaGrow(DSArena *arena, void *pOld, unsigned long oldsize,
unsigned long newsize);
XP_END_PROTOS
#endif /* __DS_h_ */

File diff suppressed because it is too large Load Diff

View File

@@ -1,644 +0,0 @@
/* -*- 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.
*/
/*
* File defines external editor types.
*
* These types are remapped internally to the editor.
*/
#ifndef _edt_types_h_
#define _edt_types_h_
#ifndef EDITOR_TYPES
#define ED_Element void
#define ED_Buffer void
#define ED_TagCursor void
#define ED_BitArray void
#endif
#include "xp_core.h"
/* Number of "Netscape Colors" All are in
* Color cube
*/
#define MAX_NS_COLORS 70
typedef int32 ED_BufferOffset;
/*
* Handle to Internal structure used for maintaining links.
*/
typedef struct ED_Link* ED_LinkId;
#define ED_LINK_ID_NONE 0
/* this id is passed to FE_GetImageData.. when it returns, we know to pass
* the call to EDT_SetImageData
*/
#define ED_IMAGE_LOAD_HACK_ID -10
typedef enum {
ED_ELEMENT_NONE, /* Not returned from EDT_GetCurrentElement, needed to have a "not known" value */
ED_ELEMENT_SELECTION, /* a selection instead of a single element */
ED_ELEMENT_TEXT,
ED_ELEMENT_IMAGE,
ED_ELEMENT_HRULE,
ED_ELEMENT_UNKNOWN_TAG,
ED_ELEMENT_TARGET,
ED_ELEMENT_TABLE, /* Keep these at the end so we can use type >= ED_ELEMENT_TABLE to test for any of them */
ED_ELEMENT_CELL,
ED_ELEMENT_ROW, /* May not need these. Currently returning ED_ELEMENT_CELL instead */
ED_ELEMENT_COL
} ED_ElementType;
typedef enum {
ED_CARET_BEFORE = 0,
ED_CARET_AFTER = 1
} ED_CaretObjectPosition;
#define TF_NONE 0
#define TF_BOLD 1
#define TF_ITALIC 2
#define TF_FIXED 4
#define TF_SUPER 8
#define TF_SUB 0x10
#define TF_STRIKEOUT 0x20
#define TF_BLINK 0x40
#define TF_FONT_COLOR 0x80 /* set if font has color */
#define TF_FONT_SIZE 0x100 /* set if font has size */
#define TF_HREF 0x200
#define TF_SERVER 0x400
#define TF_SCRIPT 0x800
#define TF_STYLE 0x1000
#define TF_UNDERLINE 0x2000
#define TF_FONT_FACE 0x4000
#define TF_NOBREAK 0x8000
#define TF_SPELL 0x10000
#define TF_INLINEINPUT 0x20000
#define TF_INLINEINPUTTHICK 0x40000
#define TF_INLINEINPUTDOTTED 0x80000
#define TF_FONT_WEIGHT 0x100000
#define TF_FONT_POINT_SIZE 0x200000
typedef int32 ED_TextFormat; /* Prefered type for the editor text format. */
typedef ED_TextFormat ED_ETextFormat; /* Alias for old code. Remove when possible. */
/* Similar to ED_TextFormat. Used when multiple cells are represented in EDT_TableCellData */
#define CF_NONE 0
#define CF_ALIGN 1
#define CF_VALIGN 2
#define CF_COLSPAN 4
#define CF_ROWSPAN 8
#define CF_HEADER 0x10
#define CF_NOWRAP 0x20
#define CF_WIDTH 0x40
#define CF_HEIGHT 0x80
#define CF_BACK_COLOR 0x100
#define CF_BACK_IMAGE 0x200
#define CF_BACK_NOSAVE 0x400
#define CF_EXTRA_HTML 0x800
typedef int32 ED_CellFormat; /* Prefered type for the editor cell format. */
/*
* The names here are confusing, and have a historical basis that is
* lost in the mists of time. The trouble is that the "ED_ALIGN_CENTER"
* tag is really "abscenter", while the ED_ALIGN_ABSCENTER tag is
* really "center". (and the same for the TOP and BOTTOM tags.)
*
* Someday, if we have a lot of spare time we could switch the names.
*/
/* CLM: Swapped bottom and center tags -- should match latest extensions now?
* Note: BASELINE is not written out (this is default display mode)
*/
typedef enum {
ED_ALIGN_DEFAULT = -1,
ED_ALIGN_CENTER = 0, /* abscenter */
ED_ALIGN_LEFT = 1, /* left */
ED_ALIGN_RIGHT = 2, /* right */
ED_ALIGN_TOP = 3, /* texttop */
ED_ALIGN_BOTTOM = 4, /* absbottom */
ED_ALIGN_BASELINE = 5, /* baseline */
ED_ALIGN_ABSCENTER = 6, /* center */
ED_ALIGN_ABSBOTTOM = 7, /* bottom */
ED_ALIGN_ABSTOP = 8 /* top */
} ED_Alignment;
/*------------------- TABLE SIZING AND SELECTION --------------------*/
/* SizeStyle defines */
#define ED_SIZE_NONE 0
#define ED_SIZE_TOP 0x0001
#define ED_SIZE_RIGHT 0x0002
#define ED_SIZE_BOTTOM 0x0004
#define ED_SIZE_LEFT 0x0008
#define ED_SIZE_ADD_ROWS 0x0010
#define ED_SIZE_ADD_COLS 0x0020
/* Hotspot at corners */
#define ED_SIZE_TOP_RIGHT (ED_SIZE_TOP | ED_SIZE_RIGHT)
#define ED_SIZE_BOTTOM_RIGHT (ED_SIZE_BOTTOM | ED_SIZE_RIGHT)
#define ED_SIZE_TOP_LEFT (ED_SIZE_TOP | ED_SIZE_LEFT)
#define ED_SIZE_BOTTOM_LEFT (ED_SIZE_BOTTOM | ED_SIZE_LEFT)
typedef intn ED_SizeStyle;
typedef enum { /* Return value for EDT_GetTableHitRegion) */
ED_HIT_NONE,
ED_HIT_SEL_TABLE, /* Upper left corner */
ED_HIT_SEL_COL, /* Near top table border */
ED_HIT_SEL_ROW, /* Near left table border */
ED_HIT_SEL_CELL, /* Near top cell border */
ED_HIT_SEL_ALL_CELLS, /* Upper left corner when Ctrl is pressed */
ED_HIT_SIZE_TABLE_WIDTH, /* Near right table border */
ED_HIT_SIZE_TABLE_HEIGHT, /* Near bottom table border */
ED_HIT_SIZE_COL, /* Near right border of a cell and between columns */
ED_HIT_SIZE_ROW, /* Near bottom border of a cell and between columns */
ED_HIT_ADD_ROWS, /* Lower left corner */
ED_HIT_ADD_COLS, /* Lower right corner */
ED_HIT_DRAG_TABLE, /* Near bottom border and between rows when table or cell is already selected */
ED_HIT_CHANGE_COLSPAN, /* Near Right border of cell having COLSPAN (Not used yet) */
ED_HIT_CHANGE_ROWSPAN /* Bottom edge of cell having ROWSPAN (Not used yet) */
} ED_HitType;
typedef enum { /* Return types for EDT_GetTableDragDropRegion */
ED_DROP_NONE, /* Don't allow drop - when pasting wouldn't change anything */
ED_DROP_NORMAL, /* No special table behavior - do the same as any HTML drop */
ED_DROP_INSERT_BEFORE, /* Between columns - near left border of cell when source = column */
ED_DROP_INSERT_AFTER, /* Between columns - near right border of cell when source = column */
ED_DROP_INSERT_ABOVE, /* Between rows - near top border of cell when source = row */
ED_DROP_INSERT_BELOW, /* Between rows - near bottom border of cell when source = row */
ED_DROP_REPLACE_CELL, /* Inside cell - when we want to replace cell contents */
ED_DROP_APPEND_CONTENTS /* Inside cell - when we append to existing contents */
} ED_DropType;
struct _EDT_DragTableData {
ED_HitType iSourceType; /* One of the ED_HIT_SEL_... enums */
ED_DropType iDropType; /* One of above enum values */
LO_Element *pFirstSelectedCell; /* First cell in source being dragged */
LO_Element *pDragOverCell; /* Cell being dragged over */
intn iRows; /* Number of rows */
intn iColumns; /* and columns in selection */
int32 X; /* Location to place highlighting or make caret */
int32 Y; /* to show where to drop cells */
int32 iWidth;
int32 iHeight;
};
typedef struct _EDT_DragTableData EDT_DragTableData;
typedef enum { /* Return values from EDT_GetMergeCellsType */
ED_MERGE_NONE,
ED_MERGE_NEXT_CELL,
ED_MERGE_SELECTED_CELLS
} ED_MergeType;
/* Used with EDT_ChangeTableSelection to tell if we should move
* to next Cell, Row, or Columns along with changing the selected cells
*/
typedef enum {
ED_MOVE_NONE,
ED_MOVE_PREV,
ED_MOVE_NEXT
} ED_MoveSelType;
/*--------------------------- HREF --------------------------------*/
struct _EDT_HREFData {
char *pURL;
char *pExtra;
};
typedef struct _EDT_HREFData EDT_HREFData;
/*--------------------------- Image --------------------------------*/
struct _EDT_ImageData {
XP_Bool bIsMap;
/* char *pUseMap; created with XP_ALLOC() Now in pExtra, hardts */
ED_Alignment align;
char *pSrc;
char *pLowSrc;
char *pName;
char *pAlt;
int32 iWidth;
int32 iHeight;
XP_Bool bWidthPercent; /* Range: 1 - 100 if TRUE, else = pixels (default) */
XP_Bool bHeightPercent;
int32 iHSpace;
int32 iVSpace;
int32 iBorder;
/* Added hardts */
XP_Bool bNoSave;
/* Added by CLM: */
int32 iOriginalWidth; /* Width and Height we got on initial loading */
int32 iOriginalHeight;
EDT_HREFData *pHREFData;
char *pExtra;
};
typedef struct _EDT_ImageData EDT_ImageData;
/*--------------------------- Target --------------------------------*/
struct _EDT_TargetData {
char *pName;
char *pExtra;
};
typedef struct _EDT_TargetData EDT_TargetData;
/*--------------------------- Character --------------------------------*/
#define ED_FONT_POINT_SIZE_DEFAULT 0
#define ED_FONT_POINT_SIZE_MIN 1
#define ED_FONT_POINT_SIZE_MAX 1000
#define ED_FONT_WEIGHT_MIN 100
#define ED_FONT_WEIGHT_NORMAL 400
#define ED_FONT_WEIGHT_BOLD 700
#define ED_FONT_WEIGHT_MAX 900
enum {
ED_FONT_VARIABLE,
ED_FONT_FIXED,
ED_FONT_LOCAL
};
struct _EDT_CharacterData {
ED_TextFormat mask; /* bits to set or get */
ED_TextFormat values; /* values of the bits in the mask */
LO_Color *pColor; /* color if mask bit is set */
int32 iSize; /* size if mask bit is set */
EDT_HREFData *pHREFData; /* href if mask bit is set */
ED_LinkId linkId; /* internal use only */
char* pFontFace; /* FontFace name */
int16 iWeight; /* font weight range = 100-900, 400=Normal, 700=Bold*/
int16 iPointSize; /* not sure what default is! Use 0 to mean "default" */
};
typedef struct _EDT_CharacterData EDT_CharacterData;
/*--------------------------- Horizonal Rule --------------------------------*/
struct _EDT_HorizRuleData {
ED_Alignment align; /* only allows left and right alignment */
int32 size; /* value 1 to 100 indicates line thickness */
int32 iWidth; /* CM: default = 100% */
XP_Bool bWidthPercent; /* Range: 1 - 100 if TRUE(default), else = pixels */
XP_Bool bNoShade;
char *pExtra;
};
typedef struct _EDT_HorizRuleData EDT_HorizRuleData;
/*--------------------------- ContainerData --------------------------------*/
struct _EDT_ContainerData {
ED_Alignment align; /* only allows left and right alignment */
char *pExtra;
};
typedef struct _EDT_ContainerData EDT_ContainerData;
/*--------------------------- TableData --------------------------------*/
struct _EDT_TableData {
ED_Alignment align; /* ED_ALIGN_LEFT, ED_ALIGN_ABSCENTER, ED_ALIGN_RIGHT */
ED_Alignment malign; /* margin alignment: ED_ALIGN_DEFAULT, ED_ALIGN_LEFT, ED_ALIGN_RIGHT */
XP_Bool bUseCols; /* TRUE means COLS= will be output, which speeds up layout in 4.0 */
int32 iRows;
int32 iColumns;
XP_Bool bBorderWidthDefined;
int32 iBorderWidth;
int32 iCellSpacing;
int32 iCellPadding;
XP_Bool bWidthDefined;
XP_Bool bWidthPercent;
int32 iWidth;
int32 iWidthPixels;
XP_Bool bHeightDefined;
XP_Bool bHeightPercent;
int32 iHeight;
int32 iHeightPixels;
LO_Color *pColorBackground; /* null in the default case */
char *pBackgroundImage; /* null in the default case */
XP_Bool bBackgroundNoSave;
char *pExtra;
};
typedef struct _EDT_TableData EDT_TableData;
/*--------------------------- TableCaptionData --------------------------------*/
struct _EDT_TableCaptionData {
ED_Alignment align;
char *pExtra;
};
typedef struct _EDT_TableCaptionData EDT_TableCaptionData;
/*--------------------------- TableRowData --------------------------------*/
struct _EDT_TableRowData {
ED_Alignment align;
ED_Alignment valign;
LO_Color *pColorBackground; /* null in the default case */
char *pBackgroundImage; /* null in the default case */
XP_Bool bBackgroundNoSave;
char *pExtra;
};
typedef struct _EDT_TableRowData EDT_TableRowData;
/*--------------------------- TableCellData --------------------------------*/
struct _EDT_TableCellData {
ED_CellFormat mask; /* bits to tell us what we know for all cells */
ED_HitType iSelectionType; /* Either: ED_HIT_SEL_CELL, ED_HIT_SEL_COL, ED_HIT_SEL_ROW, or ED_HIT_NONE */
intn iSelectedCount; /* Number of cells selected. Usually >= 1 */
ED_Alignment align;
ED_Alignment valign;
int32 iColSpan;
int32 iRowSpan;
XP_Bool bHeader; /* TRUE == th, FALSE == td */
XP_Bool bNoWrap;
int32 X;
int32 Y;
intn iRow;
XP_Bool bWidthDefined;
XP_Bool bWidthPercent;
int32 iWidth;
int32 iWidthPixels;
XP_Bool bHeightDefined;
XP_Bool bHeightPercent;
int32 iHeight;
int32 iHeightPixels;
LO_Color *pColorBackground; /* null in the default case */
char *pBackgroundImage; /* null in the default case */
XP_Bool bBackgroundNoSave;
char *pExtra;
};
typedef struct _EDT_TableCellData EDT_TableCellData;
/*--------------------------- LayerData --------------------------------*/
struct _EDT_LayerData {
char *pExtra;
};
typedef struct _EDT_LayerData EDT_LayerData;
/*--------------------------- DivisionData --------------------------------*/
struct _EDT_DivisionData {
ED_Alignment align;
char *pExtra;
};
typedef struct _EDT_DivisionData EDT_DivisionData;
/*--------------------------- Page Properties --------------------------------*/
struct _EDT_MetaData {
XP_Bool bHttpEquiv; /* true, http-equiv="fdsfds", false name="fdsfds" */
char *pName; /* http-equiv's or name's value */
char *pContent;
};
typedef struct _EDT_MetaData EDT_MetaData;
struct _EDT_PageData {
LO_Color *pColorBackground; /* null in the default case */
LO_Color *pColorLink;
LO_Color *pColorText;
LO_Color *pColorFollowedLink;
LO_Color *pColorActiveLink;
char *pBackgroundImage;
XP_Bool bBackgroundNoSave;
char *pFontDefURL; /* For Web Fonts. */
XP_Bool bFontDefNoSave;
char *pTitle;
XP_Bool bKeepImagesWithDoc;
};
typedef struct _EDT_PageData EDT_PageData;
typedef enum {
ED_COLOR_BACKGROUND,
ED_COLOR_LINK,
ED_COLOR_TEXT,
ED_COLOR_FOLLOWED_LINK
} ED_EColor;
/*
* CLM: Java and PlugIn data structures
*/
struct _EDT_ParamData {
char *pName;
char *pValue;
};
typedef struct _EDT_ParamData EDT_ParamData;
typedef int32 EDT_ParamID;
struct _EDT_PlugInData {
EDT_ParamID ParamID; /* Identifies which Param list is associated */
char *pSrc;
XP_Bool bHidden;
ED_Alignment align;
int32 iWidth;
int32 iHeight;
XP_Bool bWidthPercent; /* Range: 1 - 100 if TRUE, else = pixels default) */
XP_Bool bHeightPercent;
XP_Bool bForegroundPalette; /* PC systems only. For controling 256-color palette wars */
int32 iHSpace;
int32 iVSpace;
int32 iBorder;
};
typedef struct _EDT_PlugInData EDT_PlugInData;
struct _EDT_JavaData {
EDT_ParamID ParamID;
char *pCode;
char *pCodebase;
char *pName;
ED_Alignment align;
char *pSrc;
int32 iWidth;
int32 iHeight;
XP_Bool bWidthPercent; /* Range: 1 - 100 if TRUE, else = pixels default) */
XP_Bool bHeightPercent;
int32 iHSpace;
int32 iVSpace;
int32 iBorder;
};
typedef struct _EDT_JavaData EDT_JavaData;
/* CLM: Error codes for file writing
* Return 0 if no error
*/
typedef enum {
ED_ERROR_NONE,
ED_ERROR_READ_ONLY, /* File is marked read-only */
ED_ERROR_BLOCKED, /* Can't write at this time, edit buffer blocked */
ED_ERROR_BAD_URL, /* URL was not a "file:" type or no string */
ED_ERROR_FILE_OPEN,
ED_ERROR_FILE_WRITE,
ED_ERROR_CREATE_BAKNAME,
ED_ERROR_DELETE_BAKFILE,
ED_ERROR_FILE_RENAME_TO_BAK,
ED_ERROR_CANCEL,
ED_ERROR_FILE_EXISTS, /* We really didn't save -- file existed and no overwrite */
ED_ERROR_SRC_NOT_FOUND,
ED_ERROR_FILE_READ,
/* The following are used internally by the editor and will not be passed to the front end. */
ED_ERROR_PUBLISHING, /* When netlib encounters an error http or ftp publishing. */
ED_ERROR_TAPEFS_COMPLETION /* The tape file system for saving encountered an error when
the Complete() method was called. E.g. an error sending a
mail message. */
} ED_FileError;
typedef enum {
ED_TAG_OK,
ED_TAG_UNOPENED,
ED_TAG_UNCLOSED,
ED_TAG_UNTERMINATED_STRING,
ED_TAG_PREMATURE_CLOSE,
ED_TAG_TAGNAME_EXPECTED
} ED_TagValidateResult;
typedef enum {
ED_LIST_TYPE_DEFAULT,
ED_LIST_TYPE_DIGIT,
ED_LIST_TYPE_BIG_ROMAN,
ED_LIST_TYPE_SMALL_ROMAN,
ED_LIST_TYPE_BIG_LETTERS,
ED_LIST_TYPE_SMALL_LETTERS,
ED_LIST_TYPE_CIRCLE,
ED_LIST_TYPE_SQUARE,
ED_LIST_TYPE_DISC,
ED_LIST_TYPE_CITE /* For Mail Quoting */
} ED_ListType;
struct _EDT_ListData {
/* This should be TagType, but there are problems with the include file dependencies. */
int8 iTagType; /* P_UNUM_LIST, P_NUM_LIST, P_BLOCKQUOTE, */
/* P_DIRECTOR, P_MENU, P_DESC_LIST */
XP_Bool bCompact;
ED_ListType eType;
int32 iStart; /* automatically maps, start is one */
char *pBaseURL; /* If an ED_LIST_TYPE_CITE, this is the URL from the enclosing <BASE> tag.
Don't expose this to users because not actually written out in the HTML. */
char *pExtra;
};
typedef struct _EDT_ListData EDT_ListData;
typedef enum {
ED_BREAK_NORMAL, /* just break the line, ignore images */
ED_BREAK_LEFT, /* break so it passes the image on the left */
ED_BREAK_RIGHT, /* break past the right image */
ED_BREAK_BOTH /* break past both images */
} ED_BreakType;
typedef enum {
ED_SAVE_OVERWRITE_THIS,
ED_SAVE_OVERWRITE_ALL,
ED_SAVE_DONT_OVERWRITE_THIS,
ED_SAVE_DONT_OVERWRITE_ALL,
ED_SAVE_CANCEL
} ED_SaveOption;
/* After saving, what to do with the editor buffer. */
typedef enum {
ED_FINISHED_GOTO_NEW, /* Point the editor to the location of the
newly saved document. */
ED_FINISHED_REVERT_BUFFER, /* Revert the buffer to the state before
the save operation began. */
ED_FINISHED_SAVE_DRAFT, /* Like ED_FINISHED_REVERT_BUFFER, except clears the dirty flag
on success. */
ED_FINISHED_MAIL_SEND /* If we succeed we're going to throw the buffer
away, so don't revert it. If failure, revert the buffer.
Used for mail compose, we don't
want the editor to start any operation that
causes problems when libmsg destroys the editor
context. */
} ED_SaveFinishedOption;
/* For FE_SaveDialogCreate */
typedef enum {
ED_SAVE_DLG_SAVE_LOCAL, /* "saving files to local disk" */
ED_SAVE_DLG_PUBLISH, /* "uploading files to remote server" */
ED_SAVE_DLG_PREPARE_PUBLISH /* "preparing files to publish" */
} ED_SaveDialogType;
typedef int32 EDT_ClipboardResult;
#define EDT_COP_OK 0
#define EDT_COP_DOCUMENT_BUSY 1
#define EDT_COP_SELECTION_EMPTY 2
#define EDT_COP_SELECTION_CROSSES_TABLE_DATA_CELL 3
/* For the result EDT_COP_CLIPBOARD_BAD the XP code has already
* given the user an error dialog. So FE code should not
* give an additional error dialog. (Only occurs on
* paste and paste-like operations.)
*/
#define EDT_COP_CLIPBOARD_BAD 4
#ifdef FIND_REPLACE
#define ED_FIND_FIND_ALL_WORDS 1 /* used to enumerate all words in a */
/* buffer */
#define ED_FIND_MATCH_CASE 2 /* default is to ignore case */
#define ED_FIND_REPLACE 4 /* call back the replace routine */
#define ED_FIND_WHOLE_BUFFER 8 /* start search from the top */
#define ED_FIND_REVERSE 0x10 /* reverse search from this point */
typedef intn ED_FindFlags;
typedef void (*EDT_PFReplaceFunc)( void *pMWContext,
char *pFoundWord,
char **pReplaceWord );
struct _EDT_FindAndReplaceData {
char* pSearchString;
ED_FindFlags fflags;
EDT_PFReplaceFunc pfReplace;
};
typedef struct _EDT_FindAndReplaceData EDT_FindAndReplaceData;
#endif /* FIND_REPLACE */
/* Callback function for image encoder */
typedef int32 EDT_ImageEncoderReference;
typedef unsigned char EDT_ImageEncoderStatus;
#define ED_IMAGE_ENCODER_OK 0
#define ED_IMAGE_ENCODER_USER_CANCELED 1
#define ED_IMAGE_ENCODER_EXCEPTION 2
typedef void (*EDT_ImageEncoderCallbackFn)(EDT_ImageEncoderStatus status, void* hook);
#endif

View File

@@ -1,104 +0,0 @@
#
# This is a list of local files which get copied to the mozilla:dist directory
#
abcom.h
abdefn.h
addrbook.h
allxpstr.h
bkmks.h
cdefs.h
cgi.h
client.h
csid.h
ctxtfunc.h
cvactive.h
dirprefs.h
ds.h
dserr.h
edt.h
edttypes.h
fe_proto.h
fe_rgn.h
fullsoft.h
garray.h
glhist.h
gui.h
hotlist.h
imap.h
intl_csi.h
itapefs.h
libcnv.h
libc_r.h
libevent.h
libi18n.h
libmime.h
libmocha.h
libnet.h
libstyle.h
lo_ele.h
mcom_db.h
mcom_ndbm.h
merrors.h
mime.h
mimeenc.h
minicom.h
mk_cx_fn.h
msgcom.h
msgmapi.h
msgnet.h
msgtypes.h
msg_filt.h
msg_srch.h
m_cvstrm.h
ncompat.h
net.h
np.h
npapi.h
npassoc.h
nsldap.h
nslocks.h
ntos.h
ntypes.h
pics.h
prefetch.h
proto.h
pwcacapi.h
resdef.h
shist.h
shistele.h
shr_str.h
spellchk.h
structs.h
undo.h
unix-dns.h
vcc.h
vobject.h
winfile.h
xlate.h
xp.h
xpassert.h
xpgetstr.h
xplocale.h
xp_core.h
xp_debug.h
xp_error.h
xp_file.h
xp_hash.h
xp_help.h
xp_list.h
xp_mcom.h
xp_md5.h
xp_mem.h
xp_mesg.h
xp_ncent.h
xp_qsort.h
xp_reg.h
xp_rgb.h
xp_sec.h
xp_sock.h
xp_str.h
xp_thrmo.h
xp_time.h
xp_trace.h
xupfonts.h

File diff suppressed because it is too large Load Diff

View File

@@ -1,133 +0,0 @@
/* -*- 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.
*/
/* Region-related definitions and prototypes */
#ifndef _FE_RGN_H_
#define _FE_RGN_H_
#ifdef LAYERS
#include "xp_core.h"
#include "xp_rect.h"
/******************Definitions and Types************/
/* For Windows only: Should we use the MFC CRgn class for region stuff? */
#ifdef XP_WIN
#undef FE_RGN_USE_MFC
#endif /* XP_WIN */
#ifdef XP_WIN
#ifdef FE_RGN_USE_MFC
#define FE_GetMDRegion(rgn) ((CRgn *)rgn)
#else
/*
* Note that the resultant CRgn * does not have to be
* explicitly deleted. It is considered a temporary object
* by the MFC and is deleted the next time we have idle
* time in the event loop.
*/
#define FE_GetMDRegion(rgn) ((HRGN)rgn)
#endif /* FE_RGN_USE_MFC */
#elif defined(XP_UNIX)
#define FE_GetMDRegion(rgn) ((Region)rgn)
#elif defined(XP_MAC)
#define FE_GetMDRegion(rgn) ((RgnHandle)rgn)
#else
#define FE_GetMDRegion(rgn) (rgn)
#endif /* XP_WIN */
#ifdef XP_WIN
#define FE_MAX_REGION_COORDINATE 0x7FFFFFFF
#else
#define FE_MAX_REGION_COORDINATE 0x7FFF
#endif
/* Setting the clip region to this effectively unsets the clip */
#define FE_NULL_REGION NULL
#define FE_CLEAR_REGION(region) \
do {FE_SubtractRegion((region), (region), (region)); } while (0)
/* Function called by FE_ForEachRectInRegion */
typedef void (*FE_RectInRegionFunc)(void *closure, XP_Rect *rect);
/*******************Prototypes**********************/
XP_BEGIN_PROTOS
extern FE_Region FE_CreateRegion(void);
/* Creates a region from a rectangle. Returns */
/* NULL if region can't be created. */
extern FE_Region FE_CreateRectRegion(XP_Rect *rect);
/* Destroys region. */
extern void FE_DestroyRegion(FE_Region region);
/* Makes a copy of a region. If dst is NULL, creates a new region */
extern FE_Region FE_CopyRegion(FE_Region src, FE_Region dst);
/* Set an existing region to a rectangle */
extern FE_Region FE_SetRectRegion(FE_Region region, XP_Rect *rect);
/* dst = src1 intersect sr2 */
/* dst can be one of src1 or src2 */
extern void FE_IntersectRegion(FE_Region src1, FE_Region src2, FE_Region dst);
/* dst = src1 union src2 */
/* dst can be one of src1 or src2 */
extern void FE_UnionRegion(FE_Region src1, FE_Region src2, FE_Region dst);
/* dst = src1 - src2 */
/* dst can be one of src1 or src2 */
extern void FE_SubtractRegion(FE_Region src1, FE_Region src2, FE_Region dst);
/* Returns TRUE if the region contains no pixels */
extern XP_Bool FE_IsEmptyRegion(FE_Region region);
/* Returns the bounding rectangle of the region */
extern void FE_GetRegionBoundingBox(FE_Region region, XP_Rect *bbox);
/* TRUE if rgn1 == rgn2 */
extern XP_Bool FE_IsEqualRegion(FE_Region rgn1, FE_Region rgn2);
/* Moves a region by the specified offsets */
extern void FE_OffsetRegion(FE_Region region, int32 xOffset, int32 yOffset);
/* Is any part of the rectangle in the specified region */
extern XP_Bool FE_RectInRegion(FE_Region region, XP_Rect *rect);
/* For each rectangle that makes up this region, call the func */
extern void FE_ForEachRectInRegion(FE_Region region,
FE_RectInRegionFunc func,
void * closure);
#ifdef DEBUG
extern void FE_HighlightRect(void *context, XP_Rect *rect, int how_much);
extern void FE_HighlightRegion(void *context, FE_Region region, int how_much);
#endif /* DEBUG */
XP_END_PROTOS
#endif /* LAYERS */
#endif /* _FE_RGN_H_ */

View File

@@ -1,222 +0,0 @@
/*--------------------------------------------------------------------
* fullsoft.h
*
* Created: 10/15/97
* Author: Matt Kendall
*
* Copyright (C) 1997-98, Full Circle Software, Inc., All Rights Reserved
*
* Full Circle "Spiral" Application API Definition
* - mkk 1/19/98 renamed from "spiral.h" to "fullsoft.h"
*
*--------------------------------------------------------------------*/
#if !defined(__FULLSOFT_H)
#define __FULLSOFT_H
/* define NO_FC_API to disable all calls to the Full Circle library */
/* define FC_TRACE to enable the Full Circle TRACE macro */
/* define FC_ASSERT to enable the Full Circle ASSERT macro */
/* define FC_TRACE_PARAM to enable the Full Circle TRACE_PARAM macro */
/* define FC_ASSERT_PARAM to enable the Full Circle TRACE_PARAM macro */
#if !defined(FAR)
#define FAR
#endif /* !FAR */
#if !defined(FCAPI)
#define FCAPI
#endif /* defined FCAPI */
typedef const char FAR * FC_KEY ;
typedef const char FAR * FC_TRIGGER ;
typedef unsigned long FC_DATE ;
typedef unsigned long FC_UINT32 ;
typedef void FAR * FC_PVOID ;
typedef const char FAR * FC_STRING ;
typedef void FAR * FC_CONTEXT ;
#define FC_CONTEXT_NONE ((FC_CONTEXT) -1)
typedef enum {
FC_DATA_TYPE_BINARY,
FC_DATA_TYPE_STRING,
FC_DATA_TYPE_INTEGER,
FC_DATA_TYPE_DATE,
FC_DATA_TYPE_COUNTER
} FC_DATA_TYPE ;
typedef enum {
FC_ERROR_OK = 0,
FC_ERROR_CANT_INITIALIZE,
FC_ERROR_NOT_INITIALIZED,
FC_ERROR_ALREADY_INITIALIZED,
FC_ERROR_FAILED,
FC_ERROR_OUT_OF_MEMORY,
FC_ERROR_INVALID_PARAMETER
} FC_ERROR ;
#if defined(__cplusplus)
extern "C" {
#endif /* __cplusplus */
/* define NO_FC_API to disable all calls to the Full Circle library */
#if !defined(NO_FC_API)
FC_ERROR FCAPI
FCInitialize( void ) ;
FC_ERROR FCAPI
FCCreateKey(
FC_KEY key,
FC_DATA_TYPE type,
FC_UINT32 first_count,
FC_UINT32 last_count,
FC_UINT32 max_element_size) ;
FC_ERROR FCAPI
FCCreatePersistentKey(
FC_KEY key,
FC_DATA_TYPE type,
FC_UINT32 first_count,
FC_UINT32 last_count,
FC_UINT32 max_element_size) ;
FC_ERROR FCAPI
FCAddDataToKey(
FC_KEY key,
FC_PVOID buffer,
FC_UINT32 data_length) ;
FC_ERROR FCAPI
FCAddIntToKey(
FC_KEY key,
FC_UINT32 data) ;
FC_ERROR FCAPI
FCAddStringToKey(
FC_KEY key,
FC_STRING string) ;
FC_ERROR FCAPI
FCAddDateToKey(
FC_KEY key,
FC_DATE date) ;
FC_ERROR FCAPI
FCSetCounter(
FC_KEY key,
FC_UINT32 value) ;
FC_ERROR FCAPI
FCIncrementCounter(
FC_KEY key,
FC_UINT32 value) ;
FC_ERROR FCAPI
FCRegisterMemory(
FC_KEY key,
FC_DATA_TYPE type,
FC_PVOID buffer,
FC_UINT32 length,
FC_UINT32 dereference_count,
FC_CONTEXT context) ;
FC_ERROR FCAPI
FCUnregisterMemory( FC_CONTEXT context ) ;
FC_ERROR FCAPI
FCTrigger( FC_TRIGGER trigger ) ;
void FCAPI
FCTrace(FC_STRING fmt, ... ) ;
void FCAPI
FCAssert() ;
void FCAPI
FCTraceParam(
FC_UINT32 track,
FC_UINT32 level,
FC_STRING fmt,
... ) ;
void FCAPI
FCAssertParam(
FC_UINT32 track,
FC_UINT32 level ) ;
#if defined(FC_ASSERT)
#if defined(ASSERT)
#undef ASSERT
#endif /* defined ASSERT */
#define ASSERT(a) { if( !(a) ) FCAssert() ; }
#endif /* FC_ASSERT */
#if defined(FC_TRACE)
#if defined(TRACE)
#undef TRACE
#endif /* defined TRACE */
#define TRACE FCTrace
#endif /* FC_TRACE */
#if defined(FC_ASSERT_PARAM)
#if defined(ASSERT_PARAM)
#undef ASSERT_PARAM
#endif /* defined ASSERT_PARAM */
#define ASSERT_PARAM(a,b,c) { if ( !(c) ) FCAssertParam(a,b) ; }
#endif /* FC_ASSERT_PARAM */
#if defined(FC_TRACE_PARAM)
#if defined(TRACE_PARAM)
#undef TRACE_PARAM
#endif /* defined TRACE_PARAM */
#define TRACE_PARAM FCTraceParam
#endif /* FC_TRACE_PARAM */
#else /* NO_FC_API */
#define FCInitialize() FC_ERROR_OK
#define FCCreateKey(a,b,c,d,e) FC_ERROR_OK
#define FCCreatePersistentKey(a,b,c,d,e) FC_ERROR_OK
#define FCAddDataToKey(a,b,c) FC_ERROR_OK
#define FCAddIntToKey(a,b) FC_ERROR_OK
#define FCAddStringToKey(a,b) FC_ERROR_OK
#define FCAddDateToKey(a,b) FC_ERROR_OK
#define FCRegisterMemory(a,b,c,d,e,f) FC_ERROR_OK
#define FCUnregisterMemory(a) FC_ERROR_OK
#define FCTrigger(a) FC_ERROR_OK
#define FCSetCounter(a,b) FC_ERROR_OK
#define FCIncrementCounter(a,b) FC_ERROR_OK
#if defined(FC_ASSERT)
#define ASSERT(f) ((void)0)
#endif /* FC_ASSERT */
#if defined(FC_TRACE)
void FCAPI FCTrace(FC_STRING fmt,...) ;
#define TRACE 1 ? (void)0 : FCTrace
#endif /* FC_TRACE */
#if defined(FC_ASSERT_PARAM)
#define ASSERT_PARAM(a,b,c) ((void)0)
#endif /* FC_ASSERT_PARAM */
#if defined(FC_TRACE_PARAM)
void FCAPI FCTraceParam(
FC_UINT32 track,
FC_UINT32 level,
FC_STRING fmt,
... ) ;
#define TRACE_PARAM 1 ? (void) 0 : FCTraceParam
#endif /* FC_TRACE_PARAM */
#endif /* NO_FC_API */
#if defined(__cplusplus)
}
#endif /* __cplusplus */
#endif /* __FULLSOFT_H */

View File

@@ -1,256 +0,0 @@
/* -*- Mode: C; tab-width: 8; 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.
*/
//
// Warning: This is a C++ file.
//
//
// This implements cross platform Growable arrays of Pointers.
//
#ifndef _GARRAY_H_
#define _GARRAY_H_
//
// On Unix (well at least Solaris) we are having troubles with
// templates, so hey, we won't use them...djw.
//
// On Mac we are having troubles as well, so add me to the list.
// Now, why even have templates?...jar
//
#if ! ( defined(XP_WIN16) || defined(XP_UNIX) || defined(XP_MAC) )
#define TEMPLATE_SUPPORT 1
#endif
class CXP_GrowableArray {
protected:
void **m_pData;
int m_iSize;
int m_iAllocSize;
int NewSize( int iMinSize){
int iNewSize = MAX( m_iAllocSize,16) ;
while( iNewSize < iMinSize ){
iNewSize = iNewSize+iNewSize;
}
return iNewSize;
}
//
// this is the routine that does the actual work. Should be in
// its own file.
//
void GuaranteeSize(int iSize){
if(m_iAllocSize <= iSize){
int iNewSize = NewSize( iSize );
if( m_iAllocSize ){
void ** pNewData = new void*[iNewSize];
XP_BCOPY( m_pData, pNewData, m_iAllocSize * sizeof(void*) );
delete [] m_pData;
m_pData = pNewData;
}
else{
m_pData = new void*[iNewSize];
}
m_iAllocSize = iNewSize;
}
}
public:
CXP_GrowableArray(int iStartSize=0): m_pData(0),m_iSize(0),m_iAllocSize(0){
if( iStartSize ){
GuaranteeSize( iStartSize );
}
};
~CXP_GrowableArray(){ delete [] m_pData; }
int Size(){ return m_iSize; }
void SetSize( int iSize ){
GuaranteeSize( iSize );
m_iSize = iSize;
}
void* operator[](int nIndex) const { return m_pData[nIndex]; }
void*& operator[](int nIndex){ return m_pData[nIndex]; }
int Add(void* newElement){
GuaranteeSize(m_iSize+1);
m_pData[m_iSize] = newElement;
/* Return index to last item in list */
return m_iSize++;
}
int Insert(void* newElement, int nIndex){
intn iLowerLimit;
GuaranteeSize(m_iSize+1);
if( nIndex < 0 )
nIndex = 0;
if( nIndex < m_iSize )
{
iLowerLimit = max(1, nIndex);
/* Shuffle pointers at and above insert index up */
for( int i = m_iSize; i >= iLowerLimit; i-- )
{
m_pData[i] = m_pData[i-1];
}
/* Overwrite pointer at designated location */
m_pData[nIndex] = newElement;
} else {
/* nIndex is too large - just add at end */
m_pData[m_iSize] = newElement;
}
/* Return index to last item in list */
return m_iSize++;
}
int Delete( int nIndex ){
if( nIndex < m_iSize )
{
/* Shuffle remaining pointers down */
for( int i = nIndex; i < m_iSize-1; i++ )
{
m_pData[i] = m_pData[i+1];
}
m_iSize--;
}
/* Return index to last item in list */
return (m_iSize-1);
}
int Delete( void* element ){
for( int i = 0; i < m_iSize; i++ )
{
if( m_pData[i] == element )
{
return Delete(i);
}
}
return (m_iSize-1);
}
int Find( void* element ){
for( int i = 0; i < m_iSize; i++ )
{
if( m_pData[i] == element )
{
return i;
}
}
return -1;
}
void Empty(){
m_iSize = 0;
}
};
class CXP_PtrStack : public CXP_GrowableArray{
public:
int m_iTop;
CXP_PtrStack(): m_iTop(-1){}
Bool IsEmpty(){ return m_iTop == -1; }
void Push( void* t ){
if( ++m_iTop >= Size() ) {
Add( t );
}
else {
(*this)[m_iTop] = t;
}
}
void* Top(){ return (*this)[m_iTop]; }
void* Pop(){ return (*this)[m_iTop--];}
void Reset(){ m_iTop = -1; }
int StackSize() { return m_iTop + 1; }
};
#ifdef TEMPLATE_SUPPORT
template<class PTRTYPE>
class TXP_GrowableArray: public CXP_GrowableArray {
public:
PTRTYPE operator[](int nIndex) const { return (PTRTYPE)(int32)m_pData[nIndex]; }
PTRTYPE& operator[](int nIndex){ return *(PTRTYPE*)&m_pData[nIndex]; }
int Add(PTRTYPE newElement){ return CXP_GrowableArray::Add( (void*) newElement ); }
};
#define Declare_GrowableArray(NAME,PTRTYPE) \
typedef TXP_GrowableArray<PTRTYPE> TXP_GrowableArray_##NAME;
#else
#define Declare_GrowableArray(NAME,PTRTYPE) \
class TXP_GrowableArray_##NAME: public CXP_GrowableArray { \
public: \
PTRTYPE operator[](int nIndex) const { return (PTRTYPE)(int32)m_pData[nIndex]; }\
PTRTYPE& operator[](int nIndex){ return *(PTRTYPE*)&m_pData[nIndex]; } \
int Add(PTRTYPE newElement){ return CXP_GrowableArray::Add( (void*) newElement ); } \
}; \
#endif
//
// PtrStack Imlementation
//
#ifdef TEMPLATE_SUPPORT
template<class PTRTYPE>
class TXP_PtrStack : public TXP_GrowableArray<PTRTYPE> {
public:
int m_iTop;
TXP_PtrStack(): m_iTop(-1){}
Bool IsEmpty(){ return m_iTop == -1; }
void Push( PTRTYPE t ){
if( ++m_iTop >= Size() ) {
Add( t );
}
else {
(*this)[m_iTop] = t;
}
}
PTRTYPE Top(){ return (*this)[m_iTop]; }
PTRTYPE Pop(){ return (*this)[m_iTop--];}
void Reset(){ m_iTop = -1; }
int StackSize(){ return m_iTop + 1; }
};
#define Declare_PtrStack(NAME,PTRTYPE) \
typedef TXP_PtrStack<PTRTYPE> TXP_PtrStack_##NAME;
#else // No template support
#define Declare_PtrStack(NAME, PTRTYPE) \
class TXP_PtrStack_##NAME : public CXP_PtrStack { \
public: \
void Push( PTRTYPE t ){ CXP_PtrStack::Push((void*)(int32)t); } \
PTRTYPE Top(){ return (PTRTYPE)(int32)CXP_PtrStack::Top(); } \
PTRTYPE Pop(){ return (PTRTYPE)(int32)CXP_PtrStack::Pop(); } \
PTRTYPE operator[](int nIndex) const { return (PTRTYPE)(int32)m_pData[nIndex]; }\
PTRTYPE& operator[](int nIndex){ return *(PTRTYPE*)&m_pData[nIndex]; } \
int Add(PTRTYPE newElement){ return CXP_GrowableArray::Add( (void*)(int32)newElement ); } \
}; \
#endif
#endif

View File

@@ -1,188 +0,0 @@
/* -*- 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.
*/
#ifndef GLHIST_H
#define GLHIST_H
#include "ntypes.h"
typedef enum gh_SortColumn
{
eGH_NoSort = -1,
eGH_NameSort,
eGH_LocationSort,
eGH_FirstDateSort,
eGH_LastDateSort,
eGH_VisitCountSort
}gh_SortColumn;
typedef struct _gh_HistEntry
{
char * address;
time_t last_accessed;
time_t first_accessed;
int32 iCount;
int32 iFlags;
char * pszName;
}gh_HistEntry;
typedef struct _gh_HistEntryData
{
time_t last_accessed;
time_t first_accessed;
int32 iCount;
int32 iFlags;
char * pszName;
}gh_HistEntryData;
typedef enum gh_FilterOp
{
eGH_FOEquals,
eGH_FOEqualsNot,
eGH_FOGreater,
eGH_FOGreaterEqual,
eGH_FOLess,
eGH_FOLessEqual,
eGH_FOHas,
eGH_FOHasNot
}gh_FilterOp;
typedef enum gh_FilterLogOp
{
eGH_FLOAnd,
eGH_FLOOr
}gh_FilterLogOp;
typedef struct _gh_FilterCondition
{
enum gh_SortColumn enCol;
enum gh_FilterOp enOp;
union
{
char * pszTest;
int32 iTest;
} tests;
}gh_FilterCondition;
typedef struct _gh_Filter
{
int32 iNumConditions;
gh_FilterCondition * pConditions;
gh_FilterLogOp * enOps;
}gh_Filter;
typedef struct _gh_NotifyMsg
{
int32 iNotifyMsg;
char * pszKey;
void * pUserData;
} gh_NotifyMsg;
typedef void * GHHANDLE;
typedef void * GHURHANDLE;
#define GH_NOTIFY_UPDATE 1
#define GH_NOTIFY_DELETE 2
#ifdef XP_WIN
typedef int (__cdecl *GHISTORY_NOTIFYPROC)( gh_NotifyMsg *pMsg );
#else
typedef int (*GHISTORY_NOTIFYPROC)( gh_NotifyMsg *pMsg );
#endif
XP_BEGIN_PROTOS
/* if the url was found in the global history then the then number of seconds since
* the last access is returned. if the url is not found -1 is returned
*/
extern int GH_CheckGlobalHistory(char * url);
/* add or update the url in the global history
*/
extern void GH_UpdateGlobalHistory(URL_Struct * URL_s);
/* save the global history to a file and remove the list from memory
*/
/*extern void GH_CleanupGlobalHistory(void);*/
/* save the global history to a file and remove the list from memory
*/
extern void GH_SaveGlobalHistory(void);
/* free the global history list
*/
extern void GH_FreeGlobalHistory(void);
/* clear the entire global history list
*/
extern void GH_ClearGlobalHistory(void);
#if defined(XP_MAC) || defined(XP_UNIX)
/* set the maximum time for an object in the Global history in
* number of seconds
*/
extern void GH_SetGlobalHistoryTimeout(int32 timeout_interval);
#endif
/* start global history tracking
*/
extern void GH_InitGlobalHistory(void);
/* create an HTML stream and push a bunch of HTML about
* the global history
*
* returns -1
*/
extern int NET_DisplayGlobalHistoryInfoAsHTML( MWContext *context, URL_Struct *URL_s, int format_out );
/*
// Context/Handle based functions to retrieve a pseudo cursor on the
// Global History list (using a specified sort/index).
*/
extern GHHANDLE GH_GetContext( enum gh_SortColumn enGHSort,
gh_Filter * pFilter,
GHISTORY_NOTIFYPROC pfNotifyProc,
GHURHANDLE hUR,
void * pUserData );
extern void GH_ReleaseContext( GHHANDLE pContext, Bool bReleaseUR );
extern gh_HistEntry * GH_GetRecord( GHHANDLE pContext, uint32 uRow );
extern void GH_DeleteRecord( GHHANDLE pContext, uint32 uRow, Bool bGroup );
extern uint32 GH_GetNumRecords( GHHANDLE pContext );
extern gh_SortColumn GH_GetSortField( GHHANDLE pContext );
extern int GH_UpdateURLTitle( URL_Struct *pUrl, char *pszTitle, Bool bFrameCell );
extern int32 GH_GetRecordNum( GHHANDLE pContext, char *pszLocation );
extern int GH_GetMRUPage( char *pszURL, int iMaxLen );
extern void GH_FileSaveAsHTML( GHHANDLE pContext, MWContext *pMWContext );
extern GHURHANDLE GH_GetURContext( GHHANDLE pContext );
extern void GH_SupportUndoRedo( GHHANDLE pContext );
extern void GH_Undo( GHHANDLE pContext );
extern void GH_Redo( GHHANDLE pContext );
extern Bool GH_CanUndo( GHHANDLE pContext );
extern Bool GH_CanRedo( GHHANDLE pContext );
/* AutoComplete stuff */
enum autoCompStatus {foundDone, notFoundDone, stillSearching, dontCallOnIdle};
extern enum autoCompStatus urlMatch(const char *criteria, char **result, Bool freshStart, Bool scroll);
extern void NET_RegisterEnableUrlMatchCallback(void);
XP_END_PROTOS
#endif /* GLHIST_H */

View File

@@ -1,64 +0,0 @@
/* -*- 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.
*/
#ifndef _GUI_H_
#define _GUI_H_
/* These are defined in libnet/mkhttp.c.
XP_AppName The name of the client program - usually "Netscape", but
possibly something else for bundled versions, like the
MCI client.
XP_AppCodeName The name sent at the HTTP vendor ID string; regardless of
the value of XP_AppName, this must be "Mozilla" or
everything will break.
XP_AppVersion The version number of the client as a string. This is the
string sent along with the vendor ID string, so it should be
of the form "1.1N (Windows)" or "1.1N (X11; SunOS 4.1.3)".
XP_AppLanguage The language of the navigator client. Usually a two-letter
code (EN, FR) but could be a 5-letter code for translations
where a sub-language designation is appropriate (FR_CA)
XP_AppPlatform The compiled flavor of the navigator (as opposed to what
it may actually be running on).
*/
XP_BEGIN_PROTOS
#if defined(XP_WIN) || defined(XP_OS2)
extern char *XP_AppName, *XP_AppCodeName, *XP_AppVersion;
extern char *XP_AppLanguage, *XP_AppPlatform;
#else
extern const char *XP_AppName, *XP_AppCodeName, *XP_AppVersion;
extern const char *XP_AppLanguage, *XP_AppPlatform;
#endif
XP_END_PROTOS
/* this define is needed for error message efficiency
*
* please don't comment it out for UNIX - LJM
*/
/* this is constant across languages - do NOT localize it */
#define XP_CANONICAL_CLIENT_NAME "Netscape"
/* name of the program */
/* XP_LOCAL_CLIENT_NAME was never used consistently: use XP_AppName instead. */
#endif /* _GUI_H_ */

View File

@@ -1,250 +0,0 @@
/* -*- 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.
*/
#ifndef HOTLIST_H
#define HOTLIST_H
#include "xp_mcom.h"
#include "ntypes.h"
XP_BEGIN_PROTOS
typedef enum HOT_Type {
HOT_URLType, HOT_HeaderType, HOT_SeparatorType } HOT_Type;
typedef struct HotlistStruct_ {
HOT_Type type;
Bool is_folded; /* if it's a header is it folded? */
XP_List *children; /* a list of children, only headers have these */
char *name; /* a title */
char *address; /* the URL address */
char *description; /* random text */
time_t last_visit;
time_t addition_date;
char *content_type;
struct HotlistStruct_ *parent; /* My hotlist parent */
XP_List *lParent; /* The XP_List object that points to my parent or NULL */
} HotlistStruct;
/* tell the hotlist code that the hotlist has been modified
* so that it gets saved the next time SaveHotlist is called
*/
extern void HOT_SetModified(void);
/* changes a entry to a header type from a non header type
* and vice versa. If the object was a header and
* has children, the children will be blown away. (very bad)
*/
extern void HOT_ChangeEntryType(HotlistStruct * entry, HOT_Type new_type);
/* Fold or unfold a hotlist header
*
* set the Boolean to True to fold the list and
* False to unfold
*/
extern void HOT_FoldHeader(HotlistStruct * item, Bool fold);
/* checks the hotlist for a url and updates the last accessed
* time
*/
extern void HOT_UpdateHotlistTime(URL_Struct *URL_s, time_t cur_time);
/* Performs regular expression match on hotlist name and address
* fields. Returns the found object, or NULL if not
* found.
*
* start_obj specifies the object to start searching
* on. The start_num object WILL NOT be searched but all those
* after it will be.
* To search the whole list give NULL as start_obj.
*
* If headers became unfolded because of the search then redisplay_all
* will be set to TRUE
*/
extern HotlistStruct * HOT_SearchHotlist(char * search_string,
HotlistStruct * start_obj,
Bool * redisplay_all);
/* returns TRUE if the second argument is a direct
* descendent of the first argument.
*
* returns FALSE otherwise
*/
extern Bool HOT_IsDescendent(HotlistStruct *parent, HotlistStruct *possible_child);
/* Reads the hostlist from disk, what else?
*
* pass in the hotlist filename and a relative URL which represents
* the original location of the html file. If you are reading the
* default hotlist you should pass in a file URL of the form
* file://localhost/PATH
*
*/
extern void HOT_ReadHotlistFromDisk (char * filename, char * relative_url);
/* returns an integer index of the item in the list
*/
extern int HOT_GetIndex(HotlistStruct * item);
/* returns an integer index of the item in the list
* and does not pay attention to the is_folded value
*/
extern int HOT_GetUnfoldedIndex(HotlistStruct * item);
/* returns the object associated with the index returned by
* HOT_GetIndex()
*/
extern HotlistStruct * HOT_IndexOf(int index);
/* returns the object associated with the index returned by
* HOT_GetUnfoldedIndex()
*/
extern HotlistStruct * HOT_UnfoldedIndexOf(int index);
/* returns an integer depth of the item in the list starting at zero
*/
extern int HOT_GetDepth(HotlistStruct * item);
/* return a pointer to the main hotlist list
*
* returns NULL if nothing has ever been
* added to the hotlist
*/
extern XP_List * HOT_GetHotlistList(void);
/* saves the hotlist to a configuration file
*/
extern int HOT_SaveHotlist (char * filename);
/* Free's the entire hotlist
*/
extern void HOT_FreeHotlist (void);
/* create a hotlist entry struct and fill it in with
* the passed in data
*
* returns NULL on out of memory error.
*/
extern HotlistStruct *
HOT_CreateEntry(HOT_Type type,
const char *name,
const char *address,
const char *content_type,
time_t last_visit);
/* free's a hotlist entry
*/
extern void HOT_FreeEntry(HotlistStruct * entry);
/* create a completely new copy of the entry passed in
*/
extern HotlistStruct * HOT_CopyEntry(HotlistStruct * entry);
/* insert an item before another item in the hotlist
*
* if the insert_before item is NULL or not found the item
* will be inserted at the begining of the list
*/
extern void HOT_InsertItemBefore(HotlistStruct * insert_before, HotlistStruct * insertee);
/* insert an item after another item in the hotlist
*
* if the insert_after item is NULL or not found the item
* will be inserted at the end of the list
*/
extern void HOT_InsertItemAfter(HotlistStruct * insert_after, HotlistStruct * insertee);
/* insert an item in a header if "insert_after" is a
* Header type, or after the item if "insert after" is
* not a header type.
*
* if the insert_after item is NULL or not found the item
* will be inserted at the end of the hotlist
*/
extern void
HOT_InsertItemInHeaderOrAfterItem(HotlistStruct * insert_after,
HotlistStruct * insertee);
/* remove an item from the hotlist and free's it
*
* returns TRUE on success, FALSE if not found
*/
extern Bool HOT_RemoveItem(HotlistStruct * old_item);
/* remove an item from the hotlist and doesn't free it
*
* returns TRUE on success, FALSE if not found
*/
extern Bool HOT_RemoveItemFromList(HotlistStruct * old_item);
/* move an item up in the list
*/
extern void HOT_MoveObjectUp(HotlistStruct * item);
/* move an item down in the list
*/
extern void HOT_MoveObjectDown(HotlistStruct * item);
/* returns True if the object can be moved Up
* False if the object cannot be moved Up or if
* it cannot be found in the list
*/
extern Bool HOT_ObjectCanGoUp(HotlistStruct * item);
/* returns True if the object can be moved down
* False if the object cannot be moved down or if
* it cannot be found in the list
*/
extern Bool HOT_ObjectCanGoDown(HotlistStruct * item);
/* Whether the file will be written when Save is called. */
extern Bool HOT_Modified(void);
/*
* Gets the top node of the hotlist
*/
extern HotlistStruct*
HOT_GetHotlist (void);
/*
* Convert a number of selections in a hotlist list into a block of
* memory that the user can use for cut and paste operations
*/
extern char *
HOT_ConvertSelectionsToBlock(HotlistStruct ** list,
int iCount,
int bLongFormat,
int32 * lTotalLen);
/*
* Take a block of memory and insert the hotlist items it represents into
* the current hotlist
*/
extern void
HOT_InsertBlockAt(char * pOriginalBlock,
HotlistStruct * item,
int bLongFormat,
int32 lTotalLen);
XP_END_PROTOS
#endif /* HOTLIST_H */

View File

@@ -1,480 +0,0 @@
/* -*- 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.
*/
#ifndef __imap__
#define __imap__
#include "structs.h"
#include "msgcom.h"
/* used for communication between libmsg and libnet */
#define kNoFlags 0x00 /* RFC flags */
#define kMarked 0x01
#define kUnmarked 0x02
#define kNoinferiors 0x04
#define kNoselect 0x08
#define kImapTrash 0x10 /* Navigator flag */
#define kJustExpunged 0x20 /* This update is a post expunge url update. */
#define kPersonalMailbox 0x40 /* this mailbox is in the personal namespace */
#define kPublicMailbox 0x80 /* this mailbox is in the public namespace */
#define kOtherUsersMailbox 0x100 /* this mailbox is in the other users' namespace */
/* flags for individual messages */
/* currently the ui only offers \Seen and \Flagged */
#define kNoImapMsgFlag 0x0000
#define kImapMsgSeenFlag 0x0001
#define kImapMsgAnsweredFlag 0x0002
#define kImapMsgFlaggedFlag 0x0004
#define kImapMsgDeletedFlag 0x0008
#define kImapMsgDraftFlag 0x0010
#define kImapMsgRecentFlag 0x0020
#define kImapMsgForwardedFlag 0x0040 /* Not always supported, check mailbox folder */
#define kImapMsgMDNSentFlag 0x0080 /* Not always supported. check mailbox folder */
#define kImapMsgSupportUserFlag 0x8000 /* This seems to be the most cost effective way of
* piggying back the server support user flag
* info.
*/
typedef enum {
kPersonalNamespace = 0,
kOtherUsersNamespace,
kPublicNamespace,
kDefaultNamespace,
kUnknownNamespace
} EIMAPNamespaceType;
typedef int32 imap_uid;
#ifdef XP_CPLUSPLUS
class TImapFlagAndUidState;
#else
typedef struct TImapFlagAndUidState TImapFlagAndUidState;
#endif
/* forward declaration */
typedef void ImapActiveEntry;
/* url used to signify that filtering is complete so
we can tell the fe that the inbox thread pane is
loaded */
#define kImapFilteringCompleteURL "Mailbox://?filteringcomplete"
/* url used to signify that online/offline synch is complete */
#define kImapOnOffSynchCompleteURL "Mailbox://?onoffsynchcomplete"
/* if a url creator does not know the hierarchySeparator, use this */
#define kOnlineHierarchySeparatorUnknown ' '
struct mailbox_spec {
int32 folder_UIDVALIDITY;
int32 number_of_messages;
int32 number_of_unseen_messages;
int32 number_of_recent_messages;
uint32 box_flags;
char *allocatedPathName;
char hierarchySeparator;
const char *hostName;
TNavigatorImapConnection *connection;
TImapFlagAndUidState *flagState;
XP_Bool folderSelected;
XP_Bool discoveredFromLsub;
const char *smtpPostAddress;
};
typedef struct mailbox_spec mailbox_spec;
enum EIMAPSubscriptionUpgradeState {
kEverythingDone,
kBringUpSubscribeUI
};
enum ImapOnlineCopyState {
kInProgress,
kSuccessfulCopy,
kFailedCopy,
kSuccessfulDelete,
kFailedDelete,
kReadyForAppendData,
kFailedAppend
};
struct folder_rename_struct {
char *fOldName;
char *fNewName;
};
typedef struct folder_rename_struct folder_rename_struct;
/* this file defines the syntax of the imap4 url's and offers functions
that create url strings. If the functions do not offer enough
functionality then let kevin know before you starting creating strings
from scratch. */
#include "xp_mcom.h"
XP_BEGIN_PROTOS
/* need mailbox status urls to get the number of message and the
number of unread messages */
/* Selecting a mailbox */
/* imap4://HOST?select?MAILBOXPATH */
char *CreateImapMailboxSelectUrl(const char *imapHost,
const char *mailbox,
char hierarchySeparator,
const char *undoDeleteIdentifierList);
/* lite select, used to verify UIDVALIDITY while going on/offline */
char *CreateImapMailboxLITESelectUrl(const char *imapHost,
const char *mailbox,
char hierarchySeparator);
/* expunge, used in traditional imap delete model */
char *CreateImapMailboxExpungeUrl(const char *imapHost,
const char *mailbox,
char hierarchySeparator);
/* Creating a mailbox */
/* imap4://HOST?create?MAILBOXPATH */
char *CreateImapMailboxCreateUrl(const char *imapHost, const char *mailbox, char hierarchySeparator);
/* discover the children of this mailbox */
char *CreateImapChildDiscoveryUrl(const char *imapHost, const char *mailbox, char hierarchySeparator);
/* discover the n-th level children of this mailbox */
char *CreateImapLevelChildDiscoveryUrl(const char *imapHost, const char *mailbox, char hierarchySeparator, int n);
/* discover the mailboxes of this account */
char *CreateImapAllMailboxDiscoveryUrl(const char *imapHost);
/* discover the mailboxes of this account, and the subscribed mailboxes */
char *CreateImapAllAndSubscribedMailboxDiscoveryUrl(const char *imapHost);
/* deleting a mailbox */
/* imap4://HOST?delete?MAILBOXPATH */
char *CreateImapMailboxDeleteUrl(const char *imapHost, const char *mailbox, char hierarchySeparator);
/* renaming a mailbox */
/* imap4://HOST?rename?OLDNAME?NEWNAME */
char *CreateImapMailboxRenameLeafUrl(const char *imapHost,
const char *oldBoxPathName,
char hierarchySeparator,
const char *newBoxLeafName);
/* renaming a mailbox, moving hierarchy */
/* imap4://HOST?movefolderhierarchy?OLDNAME?NEWNAME */
/* oldBoxPathName is the old name of the child folder */
/* destinationBoxPathName is the name of the new parent */
char *CreateImapMailboxMoveFolderHierarchyUrl(const char *imapHost,
const char *oldBoxPathName,
char oldHierarchySeparator,
const char *destinationBoxPathName,
char newHierarchySeparator);
/* listing available mailboxes */
/* imap4://HOST?list */
char *CreateImapListUrl(const char *imapHost,
const char *mailbox,
const char hierarchySeparator);
/* biff */
char *CreateImapBiffUrl(const char *imapHost,
const char *mailbox,
char hierarchySeparator,
uint32 uidHighWater);
/* fetching RFC822 messages */
/* imap4://HOST?fetch?<UID/SEQUENCE>?MAILBOXPATH?x */
/* 'x' is the message UID or sequence number list */
/* will set the 'SEEN' flag */
char *CreateImapMessageFetchUrl(const char *imapHost,
const char *mailbox,
char hierarchySeparator,
const char *messageIdentifierList,
XP_Bool messageIdsAreUID);
/* fetching the headers of RFC822 messages */
/* imap4://HOST?header?<UID/SEQUENCE>?MAILBOXPATH?x */
/* 'x' is the message UID or sequence number list */
/* will not affect the 'SEEN' flag */
char *CreateImapMessageHeaderUrl(const char *imapHost,
const char *mailbox,
char hierarchySeparator,
const char *messageIdentifierList,
XP_Bool messageIdsAreUID);
/* search an online mailbox */
/* imap4://HOST?search?<UID/SEQUENCE>?MAILBOXPATH?SEARCHSTRING */
char *CreateImapSearchUrl(const char *imapHost,
const char *mailbox,
char hierarchySeparator,
const char *searchString,
XP_Bool messageIdsAreUID);
/* delete messages */
/* imap4://HOST?deletemsg?<UID/SEQUENCE>?MAILBOXPATH?x */
/* 'x' is the message UID or sequence number list */
char *CreateImapDeleteMessageUrl(const char *imapHost,
const char *mailbox,
char hierarchySeparator,
const char *messageIds,
XP_Bool idsAreUids);
/* delete all messages */
/* imap4://HOST?deleteallmsgs?MAILBOXPATH */
char *CreateImapDeleteAllMessagesUrl(const char *imapHost,
const char *mailbox,
char hierarchySeparator);
/* store +flags url */
/* imap4://HOST?store+flags?<UID/SEQUENCE>?MAILBOXPATH?x?f */
/* 'x' is the message UID or sequence number list */
/* 'f' is the byte of flags */
char *CreateImapAddMessageFlagsUrl(const char *imapHost,
const char *mailbox,
char hierarchySeparator,
const char *messageIds,
imapMessageFlagsType flags,
XP_Bool idsAreUids);
/* store -flags url */
/* imap4://HOST?store-flags?<UID/SEQUENCE>?MAILBOXPATH?x?f */
/* 'x' is the message UID or sequence number list */
/* 'f' is the byte of flags */
char *CreateImapSubtractMessageFlagsUrl(const char *imapHost,
const char *mailbox,
char hierarchySeparator,
const char *messageIds,
imapMessageFlagsType flags,
XP_Bool idsAreUids);
/* set flags url, make the flags match */
char *CreateImapSetMessageFlagsUrl(const char *imapHost,
const char *mailbox,
char hierarchySeparator,
const char *messageIds,
imapMessageFlagsType flags,
XP_Bool idsAreUids);
/* copy messages from one online box to another */
/* imap4://HOST?onlineCopy?<UID/SEQUENCE>?
SOURCEMAILBOXPATH?x?DESTINATIONMAILBOXPATH */
/* 'x' is the message UID or sequence number list */
char *CreateImapOnlineCopyUrl(const char *imapHost,
const char *sourceMailbox,
char sourceHierarchySeparator,
const char *messageIds,
const char *destinationMailbox,
char destinationHierarchySeparator,
XP_Bool idsAreUids,
XP_Bool isMove); /* cause delete after copy */
/* copy a message from an online box to an offline box */
/* imap4://HOST?ontooffCopy?SOURCEMAILBOXPATH?number=x?
DESTINATIONMAILBOXPATH */
/* 'x' is the message sequence number */
char *CreateImapOnToOfflineCopyUrl( const char *imapHost,
const char *sourceMailbox,
char sourceHierarchySeparator,
const char *messageIds,
const char *destinationMailbox,
XP_Bool idsAreUids,
XP_Bool isMove); /* cause delete after copy */
/* copy messages from an offline box to an online box */
/* imap4://HOST?offtoonCopy?DESTINATIONMAILBOXPATH */
/* the number of messages and their sizes are negotiated later */
char *CreateImapOffToOnlineCopyUrl(const char *imapHost,
const char *destinationMailbox,
char destinationHierarchySeparator);
/* Subscribe to a mailbox on the given IMAP host */
char *CreateIMAPSubscribeMailboxURL(const char *imapHost, const char *mailboxName);
/* Unsubscribe from a mailbox on the given IMAP host */
char *CreateIMAPUnsubscribeMailboxURL(const char *imapHost, const char *mailboxName);
/* get mail account rul */
/* imap4://HOST?NETSCAPE */
char *CreateImapManageMailAccountUrl(const char *imapHost);
/* append message from file */
/* imap4://HOST?appendmsgfromfile?MSGFILEPATH?DESTINATIONMAILBOXPATH */
char *CreateImapAppendMessageFromFileUrl(const char *imapHost,
const char *destinationMailboxPath,
const char hierarchySeparator,
XP_Bool isDraft);
/* refresh the ACL for a folder */
char *CreateIMAPRefreshACLForFolderURL(const char *imapHost, const char *mailbox);
/* refresh the ACL for all folders on given host*/
char *CreateIMAPRefreshACLForAllFoldersURL(const char *imapHost);
/* Run the auto-upgrade to IMAP Subscription */
char *CreateIMAPUpgradeToSubscriptionURL(const char *imapHost, XP_Bool subscribeToAll);
NET_StreamClass *CreateIMAPDownloadMessageStream(ImapActiveEntry *ce, uint32 msgSize);
void UpdateIMAPMailboxInfo(mailbox_spec *adoptedBoxSpec, MWContext *currentContext);
#define kUidUnknown -1
int32 GetUIDValidityForSpecifiedImapFolder(const char *hostName, const char *canonicalimapName, MWContext *currentContext);
enum EMailboxDiscoverStatus {
eContinue,
eContinueNew,
eListMyChildren,
eNewServerDirectory,
eCancelled };
enum EMailboxDiscoverStatus DiscoverIMAPMailbox(mailbox_spec *adoptedBoxSpec, MSG_Master *master, MWContext *currentContext);
void ReportSuccessOfOnlineCopy(MWContext *currentContext, enum ImapOnlineCopyState copyState);
void ReportSuccessOfOnlineDelete(MWContext *currentContext, const char *mailboxName);
void ReportFailureOfOnlineCreate(MWContext *currentContext, const char *mailboxName);
void ReportSuccessOfOnlineRename(MWContext *currentContext, folder_rename_struct *names);
void ReportMailboxDiscoveryDone(MWContext *currentContext, URL_Struct *URL_s);
void ReportSuccessOfChildMailboxDiscovery(MWContext *currentContext);
void NotifyHeaderFetchCompleted(MWContext *currentContext, TNavigatorImapConnection *imapConnection);
void ReportLiteSelectUIDVALIDITY(MSG_Pane *receivingPane, uint32 UIDVALIDITY);
typedef void (UploadCompleteFunctionPointer)(void*);
void BeginMessageUpload(MWContext *currentContext,
PRFileDesc *ioSocket,
UploadCompleteFunctionPointer *completeFunction,
void *completionFunctionArgument);
void IMAP_DoNotDownLoadAnyMessageHeadersForMailboxSelect(TNavigatorImapConnection *connection);
void IMAP_DownLoadMessagesForMailboxSelect(TNavigatorImapConnection *connection,
uint32 *messageKeys, /* uint32* is adopted */
uint32 numberOfKeys);
void IMAP_DownLoadMessageBodieForMailboxSelect(TNavigatorImapConnection *connection,
uint32 *messageKeys, /* uint32* is adopted */
uint32 numberOfKeys);
void IMAP_BodyIdMonitor(TNavigatorImapConnection *connection, XP_Bool enter);
const char *IMAP_GetCurrentConnectionUrl(TNavigatorImapConnection *connection);
void IMAP_UploadAppendMessageSize(TNavigatorImapConnection *connection, uint32 msgSize, imapMessageFlagsType flags);
void IMAP_ResetAnyCachedConnectionInfo();
XP_Bool IMAP_CheckNewMail(TNavigatorImapConnection *connection);
XP_Bool IMAP_NewMailDetected(TNavigatorImapConnection *connection);
TImapFlagAndUidState *IMAP_CreateFlagState(int numberOfMessages);
void IMAP_DeleteFlagState(TImapFlagAndUidState *state);
int IMAP_GetFlagStateNumberOfMessages(TImapFlagAndUidState *state);
imap_uid IMAP_GetUidOfMessage(int zeroBasedIndex, TImapFlagAndUidState *state);
imapMessageFlagsType IMAP_GetMessageFlags(int zeroBasedIndex, TImapFlagAndUidState *state);
imapMessageFlagsType IMAP_GetMessageFlagsFromUID(imap_uid uid, XP_Bool *foundIt, TImapFlagAndUidState *state);
void IMAP_TerminateConnection (TNavigatorImapConnection *connection);
char *IMAP_CreateOnlineSourceFolderNameFromUrl(const char *url);
void IMAP_FreeBoxSpec(mailbox_spec *victim);
const char *IMAP_GetPassword();
void IMAP_SetPassword(const char *password);
/* called once only by MSG_InitMsgLib */
void IMAP_StartupImap();
/* called once only by MSG_ShutdownMsgLib */
void IMAP_ShutdownImap();
/* used to prevent recursive listing of mailboxes during discovery */
int64 IMAP_GetTimeStampOfNonPipelinedList();
/* returns TRUE if either we have a password or we were preAuth'd by SSL certs */
XP_Bool IMAP_HaveWeBeenAuthenticated();
/* used by libmsg when creating an imap message display stream */
int IMAP_InitializeImapFeData (ImapActiveEntry * ce);
MSG_Pane *IMAP_GetActiveEntryPane(ImapActiveEntry * ce);
NET_StreamClass *IMAP_CreateDisplayStream(ImapActiveEntry * ce, XP_Bool clearCacheBit, uint32 msgSize);
/* used by libmsg when a new message is loaded to interrupt the load of the previous message */
void IMAP_PseudoInterruptFetch(MWContext *context);
void IMAP_URLFinished(URL_Struct *URL_s);
XP_Bool IMAP_HostHasACLCapability(const char *hostName);
/**** IMAP Host stuff - used for communication between MSG_IMAPHost (in libmsg) and TImapHostInfo (in libnet) ****/
/* obsolete? */
/*void IMAP_SetNamespacesFromPrefs(const char *hostName, char *personalDir, char *publicDir, char *otherUsersDir);*/
/* Sets the preference of whether or not we should always explicitly LIST the INBOX for given host */
void IMAP_SetShouldAlwaysListInboxForHost(const char *hostName, XP_Bool shouldList);
/* Gets the number of namespaces in use for a given host */
int IMAP_GetNumberOfNamespacesForHost(const char *hostName);
/* Sets the currently-used default personal namespace for a given host. Used for updating from libnet when
we get a NAMESPACE response. */
void MSG_SetNamespacePrefixes(MSG_Master *master, const char *hostName, EIMAPNamespaceType type, const char *prefix);
/* Check to see if we need upgrade to IMAP subscription */
extern XP_Bool MSG_ShouldUpgradeToIMAPSubscription(MSG_Master *mast);
extern void MSG_ReportSuccessOfUpgradeToIMAPSubscription(MWContext *context, enum EIMAPSubscriptionUpgradeState *state);
/* Adds a set of ACL rights for the given folder on the given host for the given user. If userName is NULL, it means
the currently authenticated user (i.e. my rights). */
extern void MSG_AddFolderRightsForUser(MSG_Master *master, const char *hostName, const char*mailboxName, const char *userName, const char *rights);
/* Clears all ACL rights for the given folder on the given host for all users. */
extern void MSG_ClearFolderRightsForFolder(MSG_Master *master, const char *hostName, const char *mailboxName);
/* Refreshes the icon / flags for a given folder, based on new ACL rights */
extern void MSG_RefreshFolderRightsViewForFolder(MSG_Master *master, const char *hostName, const char *mailboxName);
extern XP_Bool MSG_GetFolderNeedsSubscribing(MSG_FolderInfo *folder);
/* Returns TRUE if this folder needs an auto-refresh of the ACL (on a folder open, for example) */
extern XP_Bool MSG_GetFolderNeedsACLListed(MSG_FolderInfo *folder);
/* Returns TRUE if this folder has NEVER (ever) had an ACL retrieved for it */
extern XP_Bool MSG_IsFolderACLInitialized(MSG_Master *master, const char *folderName, const char *hostName);
extern char *IMAP_SerializeNamespaces(char **prefixes, int len);
extern int IMAP_UnserializeNamespaces(const char *str, char **prefixes, int len);
XP_END_PROTOS
#endif

View File

@@ -1,369 +0,0 @@
/* -*- 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.
*/
/* intl_csi.h */
#ifndef INTL_CSI_H
#define INTL_CSI_H
/*
Using the i18n Character-Set-Information (CSI) accessor functions:
1) include the header file
#include "intl_csi.h"
2) get the i18n CSI object (generally from MWContext)
INTL_CharSetInfo csi = LO_GetDocumentCharacterSetInfo(context);
3) access (read/set) the data element
int16 doc_csid = INTL_GetCSIDocCSID(csi);
INTL_SetCSIDocCSID(csi, new_doc_csid);
int16 win_csid = INTL_GetCSIWinCSID(csi);
INTL_SetCSIWinCSID(csi, new_win_csid);
char *mime_name = INTL_GetCSIMimeCharset(csi);
INTL_SetCSIMimeCharset(csi, new_mime_charset);
int16 relayout_flag = INTL_GetCSIRelayoutFlag(csi);
INTL_SetCSIRelayoutFlag(csi, new_relayout_flag);
*/
XP_BEGIN_PROTOS
#include "ntypes.h"
#include "libi18n.h"
/**
* Cookie for INTL_CSIInfo.
*
* This is a Magic Cookie to validate the pointer to INTL_CSIInfo in MWContext.
*
*/
#define INTL_TAG 0x494E544C
/**@name Character Set Information (CSI) */
/*@{*/
/**
* Allocate a new charset info object, and clear it with zeroes.
*
* @return The new charset info object
* @see INTL_CSIInitialize, INTL_CSIDestroy
*/
PUBLIC INTL_CharSetInfo INTL_CSICreate(void);
/**
* Frees the given charset info object.
*
* @param obj Specifies the charset info object
* @see INTL_CSICreate
*/
PUBLIC void INTL_CSIDestroy(
INTL_CharSetInfo obj
);
/**
* Sets all the charset info object fields to initial values.
*
* The override, HTTP, HTML META, document and window charset IDs are all set
* to CS_DEFAULT. The MIME charset is set to NULL. The relayout flag is set
* to METACHARSET_NONE.
*
* @param obj Specifies the charset info object
* @see INTL_CSIInitialize
*/
PUBLIC void INTL_CSIReset(
INTL_CharSetInfo obj
);
/**
* Initializes the charset info object.
*
* <UL>
* <LI>
* If the given is_metacharset_reload argument is FALSE, INTL_CSIReset is
* called, passing the given charset info object.
*
* <LI>
* If the given is_metacharset_reload argument is TRUE, the charset info
* object's relayout flag is set to METACHARSET_RELAYOUTDONE.
*
* <LI>
* Otherwise, if the override charset ID is previously set in this object,
* it is set in the document charset ID field.
*
* <LI>
* Otherwise, if the given HTTP charset is known, it is set in the HTTP
* charset field.
*
* <LI>
* Otherwise, the document charset ID field is set to the given
* defaultDocCharSetID, unless the type is mail/news, in which case CS_DEFAULT
* is used. This is because the META charset in mail/news is sometimes wrong.
*
* <LI>
* Finally, the window charset ID is set, based on the document charset ID.
* </UL>
*
* @param obj Specifies the charset info object
* @param is_metacharset_reload TRUE if it is currently reloading because
* the layout code found HTML META charset.
* FALSE otherwise.
* @param http_charset Specifies the charset name if it is presented in
* HTTP Content-Type header
* @param type Specifies the context type
* @param defaultDocCharSetID Specifies the default document charset ID.
* @see
*/
PUBLIC void INTL_CSIInitialize(
INTL_CharSetInfo obj,
XP_Bool is_metacharset_reload,
char *http_charset,
int type,
uint16 defaultDocCharSetID
);
/**
* Sets HTML META charset info in the given charset info object.
*
* <UL>
* <LI>
* If the given charset is unknown, this function returns.
*
* <LI>
* If the given context type is mail or news, this function returns,
* since mail/news sometimes has wrong HTML META charsets.
*
* <LI>
* If the relayout flag is set to something other than METACHARSET_NONE, this
* function returns, to avoid setting the META charset more than once.
*
* <LI>
* Otherwise, the HTML META charset field is set, and the relayout flag is
* set to METACHARSET_HASCHARSET.
* If the previous document charset was known,
* and was different from the new META charset, the relayout flag is set to
* METACHARSET_REQUESTRELAYOUT.
* The window charset ID is also checked against the new one.
* If they are different, the relayout flag is set to
* METACHARSET_REQUESTRELAYOUT.
* </UL>
*
* @param obj Specifies the charset info object
* @param charset_tag Specifies the HTML META charset
* @param type Specifies the context type
* @see INTL_GetCSIMetaDocCSID, INTL_GetCSIRelayoutFlag
*/
PUBLIC void INTL_CSIReportMetaCharsetTag(
INTL_CharSetInfo obj,
char *charset_tag,
int type
);
/**
* Returns the context's charset info object.
*
* @param context Specifies the context
* @return The context's charset info object
* @see INTL_CSICreate
*/
PUBLIC INTL_CharSetInfo LO_GetDocumentCharacterSetInfo(
MWContext *context
);
/**
* Returns the document charset ID of the given charset info object.
*
* @param obj Specifies the charset info object
* @return The document charset ID
* @see INTL_SetCSIDocCSID
*/
PUBLIC int16 INTL_GetCSIDocCSID(
INTL_CharSetInfo obj
);
/**
* Sets the document charset ID field of the given charset info object.
*
* The document charset ID field is only set if the higher precedence fields
* (override, HTTP and META) are all set to CS_DEFAULT.
*
* @param obj Specifies the charset info object
* @param docCharSetID Specifies the document charset ID
* @see INTL_GetCSIDocCSID
*/
PUBLIC void INTL_SetCSIDocCSID(
INTL_CharSetInfo obj,
int16 docCharSetID
);
/**
* Returns the override document charset ID of the given charset info object.
*
* @param obj Specifies the charset info object
* @return The override document charset ID
* @see INTL_SetCSIOverrideDocCSID
*/
PUBLIC int16 INTL_GetCSIOverrideDocCSID(
INTL_CharSetInfo obj
);
/**
* Sets the override document charset ID of the given charset info object.
*
* @param obj Specifies the charset info object
* @param overrideDocCharSetID Specifies the override document charset ID
* @see INTL_GetCSIOverrideDocCSID
*/
PUBLIC void INTL_SetCSIOverrideDocCSID(
INTL_CharSetInfo obj,
int16 overrideDocCharSetID
);
/**
* Returns the HTML META document charset ID of the given charset info object.
*
* @param obj Specifies the charset info object
* @return The HTML META document charset ID
* @see INTL_SetCSIMetaDocCSID
*/
PUBLIC int16 INTL_GetCSIMetaDocCSID(
INTL_CharSetInfo obj
);
/**
* Sets the HTML META document charset ID of the given charset info object.
*
* The HTML META document charset ID field is only set if the higher precedence
* fields (override and HTTP) are all set to CS_DEFAULT.
*
* @param obj Specifies the charset info object
* @param metaCharSetID Specifies the HTML META document charset ID
* @see INTL_GetCSIMetaDocCSID
*/
PUBLIC void INTL_SetCSIMetaDocCSID(
INTL_CharSetInfo obj,
int16 metaCharSetID
);
/**
* Returns the HTTP document charset ID of the given charset info object.
*
* @param obj Specifies the charset info object
* @return The HTTP document charset ID
* @see INTL_SetCSIHTTPDocCSID
*/
PUBLIC int16 INTL_GetCSIHTTPDocCSID(
INTL_CharSetInfo obj
);
/**
* Sets the HTTP document charset ID of the given charset info object.
*
* The HTTP document charset ID field is only set if the higher precedence
* field (override) is set to CS_DEFAULT.
*
* @param obj Specifies the charset info object
* @param httpDocCharSetID Specifies the HTTP document charset ID
* @see INTL_GetCSIHTTPDocCSID
*/
PUBLIC void INTL_SetCSIHTTPDocCSID(
INTL_CharSetInfo obj,
int16 httpDocCharSetID
);
/**
* Returns the window charset ID of the given charset info object.
*
* @param obj Specifies the charset info object
* @return The window charset ID
* @see INTL_SetCSIWinCSID
*/
PUBLIC int16 INTL_GetCSIWinCSID(
INTL_CharSetInfo obj
);
/**
* Sets the window charset ID field of the given charset info object.
*
* @param obj Specifies the charset info object
* @param winCharSetID Specifies the window charset ID
* @see INTL_GetCSIWinCSID
*/
PUBLIC void INTL_SetCSIWinCSID(
INTL_CharSetInfo obj,
int16 winCharSetID
);
/**
* Returns the MIME charset field of the given charset info object.
*
* @param obj Specifies the charset info object
* @return The MIME charset
* @see INTL_SetCSIMimeCharset
*/
PUBLIC char *INTL_GetCSIMimeCharset(
INTL_CharSetInfo obj
);
/**
* Sets the MIME charset field of the given charset info object.
*
* If the charset info object already contains a pointer to a MIME charset,
* that charset is freed. Then the given charset is copied, and the copy is
* converted to lower case. The copy is then set in the MIME charset field.
*
* @param obj Specifies the charset info object
* @param mime_charset Specifies the MIME charset
* @see INTL_GetCSIMimeCharset
*/
PUBLIC void INTL_SetCSIMimeCharset(
INTL_CharSetInfo obj,
char *mime_charset
);
/**
* Returns the relayout field of the given charset info object.
*
* @param obj Specifies the charset info object
* @return The relayout field
* @see INTL_SetCSIRelayoutFlag
*/
PUBLIC int16 INTL_GetCSIRelayoutFlag(
INTL_CharSetInfo obj
);
/**
* Sets the relayout field of the given charset info object.
*
* @param obj Specifies the charset info object
* @param relayout Specifies the relayout field
* @see INTL_GetCSIRelayoutFlag
*/
PUBLIC void INTL_SetCSIRelayoutFlag(
INTL_CharSetInfo obj,
int16 relayout
);
/*@}*/
XP_END_PROTOS
#endif /* INTL_CSI_H */

View File

@@ -1,176 +0,0 @@
/* -*- 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.
*/
#ifndef ITAPEFS_H
#define ITAPEFS_H
#ifdef EDITOR
//
// Abstract output file stream.
//
class IStreamOut {
public:
IStreamOut();
virtual ~IStreamOut();
virtual void Write( char *pBuffer, int32 iCount )=0;
// NOTICE: the implementation is not pure. There is a default
// implementation that implements this function interms of
// 'Write'.
virtual int Printf( char * pFormat, ... );
enum EOutStreamStatus {
EOS_NoError,
EOS_DeviceFull,
EOS_FileError
};
virtual EOutStreamStatus Status(){ return EOS_NoError; }
// implemented in terms of the interface.
void WriteInt( int32 i ){ Write( (char*)&i, sizeof( int32 ) ); }
void WriteZString( char* pString);
void WritePartialZString( char* pString, int32 start, int32 end);
private:
char* stream_buffer; // used to implement Printf
};
//-----------------------------------------------------------------------
// Abstract File System
//-----------------------------------------------------------------------
typedef void
EDT_ITapeFileSystemComplete( XP_Bool bSuccess, void *pArg );
class ITapeFileSystem {
PRBool m_FirstBinary; // is the first file really binary, not text?
public:
ITapeFileSystem() { m_FirstBinary = PR_FALSE; }
// ITapeFileSystem::File, ITapeFileSystem::Publish, or
// ITapeFileSystem::MailSend,
enum {File,Publish,MailSend};
virtual intn GetType() = 0;
// This function is called before anything else. It tells the file
// system the base url for the URLs added in AddFile().
// An actual file, not a directory.
virtual void SetSourceBaseURL( char* pURL )=0;
// DESCRIPTION:
//
// Add a name to the file system. It is up to the file system to localize
// the name. For example, I could add 'http://home.netsacpe.com/
// and the file system might decide that it should be called 'index.html'
// if the file system were DOS, the url might be converted to INDEX.HTML
//
// pMIMEType may be NULL. In this case if the tape file system needs the
// MIME type, it must figure it out by itself.
//
// RETURNS: index of the file (0 based), OR
// ITapeFileSystem::Error if an error adding name, OR
// ITapeFileSystem::SourceDestSame if adding
// this name would result in the source and destination being the same, and thus
// no point in copying the file.
//
// The first file added must be the root HTML document. (It is ok for the root
// document to have the same source and dest URL).
//
virtual intn AddFile( char* pURL, char *pMIMEType, int16 iCharSetID)=0;
// Return the number of files added to the file system.
virtual intn GetNumFiles()=0;
// Returns the absolute version of the URL given in AddFile(), using the
// URL given in SetSourceBaseURL() as the base.
// Allocated with XP_STRDUP().
virtual char* GetSourceURL(intn iFileIndex)=0;
// Return the absolute destination of the HTML doc if meaningful, else return
// NULL. Almost the same as "GetDestPathURL()+GetDestURL(0)" except that this call
// will work before file 0 has been added to the file system.
virtual char* GetDestAbsURL()=0;
// Gets the name of the RELATIVE url to place in the file. String is
// allocated with XP_STRDUP();
//
virtual char* GetDestURL( intn iFileIndex )=0;
// Return the path URL associated with the ITapeFilesystem or NULL if there is none.
// If NULL is returned, all URLs returned by GetDestURL() must be absolute.
//
// i.e. for a file or remote HTTP based ITapeFileSystem, this is the directory where the images are
// stored. For a MHTML ITapeFileSystem this is NULL.
//
// String is allocated with XP_STRDUP().
virtual char* GetDestPathURL() = 0;
//
// Returns the name to display when saving the file, can be the same as
// GetURLName. String is allocated with XP_STRDUP();
//
virtual char* GetHumanName( intn iFileIndex )=0;
enum {
Error = -1, SourceDestSame = -2
};
// Does the file referenced by iFileIndex already exist?
// E.g. for the MHTML version, this will always return FALSE.
virtual XP_Bool FileExists(intn iFileIndex) = 0;
// Will we be creating a new non-temporary file on the local machine.
// Used to update SiteManager.
virtual XP_Bool IsLocalPersistentFile(intn iFileIndex) = 0;
// ### mwelch Added so that multipart/related message saver can properly construct
// messages using quoted/forwarded part data.
// Tell the tape file system the mime type of a particular part.
// Calling this overrides any previously determined mime type for this part.
virtual void CopyURLInfo(intn iFileIndex, const URL_Struct *pURL) = 0;
//
// Opens the output stream. Returns a stream that can be written to or NULL if error. All
// 'AddFile's occur before the first OpenStream.
// Do not delete the returned stream, just call CloseStream() when done.
//
virtual IStreamOut *OpenStream( intn iFileIndex )=0;
virtual void CloseStream( intn iFileIndex )=0;
// Called on completion, TRUE if completed successfully, FALSE if it failed.
// The caller should not reference the ITapeFileSystem after calling Complete().
// Caller does not free up memory for ITapeFileSystem, Complete() causes file system to delete itself.
//
// The tape file system will call pfComplete with pArg and with whether the ITapeFileSystem
// completed successfully. Note: the ITapeFileSystem may call pfComplete() with TRUE even if
// ITapeFileSystem::Complete() was given FALSE.
// pfComplete may be NULL. Call to pfComplete may be synchronous or asynchronous.
//
// The ITapeFileSystem will call pfComplete(success,pArg) before deleting itself. I.e. the ITapeFileSystem is still valid
// when it calls pfComplete().
virtual void Complete( Bool bSuccess, EDT_ITapeFileSystemComplete *pfComplete, void *pArg )=0;
inline PRBool IsFirstBinary(void) { return m_FirstBinary; }
inline void SetFirstBinary(void) { m_FirstBinary = PR_TRUE; }
inline void ResetFirstBinary(void) { m_FirstBinary = PR_FALSE; }
};
#endif // EDITOR
#endif

View File

@@ -1,139 +0,0 @@
/* -*- 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.
*/
/* libc_r.h -- macros, defines, etc. to make using reentrant libc calls */
/* a bit easier. This was initially done for AIX pthreads, */
/* but should be usable for anyone... */
/* Most of these use locally defined space instead of static library space. */
/* Because of this, we use the _INIT_R to declare/allocate space (stack), */
/* and the plain routines to actually do it..._WARNING_: avoid allocating */
/* memory wherever possible. Memory allocation is fairly expensive, at */
/* least on AIX...use arrays instead (which allocate from the stack.) */
/* I know the names are a bit strange, but I wanted to be fairly certain */
/* that we didn't have any namespace corruption...in general, the inits are */
/* R_<name>_INIT_R(), and the actual calls are R_<name>_R(). */
#ifndef _LIBC_R_H
#define _LIBC_R_H
/************/
/* strtok */
/************/
#define R_STRTOK_INIT_R() \
char *r_strtok_r=NULL
#define R_STRTOK_R(return,source,delim) \
return=strtok_r(source,delim,&r_strtok_r)
#define R_STRTOK_NORET_R(source,delim) \
strtok_r(source,delim,&r_strtok_r)
/**************/
/* strerror */
/**************/
#define R_MAX_STRERROR_LEN_R 8192 /* Straight from limits.h */
#define R_STRERROR_INIT_R() \
char r_strerror_r[R_MAX_STRERROR_LEN_R]
#define R_STRERROR_R(val) \
strerror_r(val,r_strerror_r,R_MAX_STRERROR_LEN_R)
/*****************/
/* time things */
/*****************/
#define R_ASCTIME_INIT_R() \
char r_asctime_r[26]
#define R_ASCTIME_R(val) \
asctime_r(val,r_asctime_r)
#define R_CTIME_INIT_R() \
char r_ctime_r[26]
#define R_CTIME_R(val) \
ctime_r(val,r_ctime_r)
#define R_GMTIME_INIT_R() \
struct tm r_gmtime_r
#define R_GMTIME_R(time) \
gmtime_r(time,&r_gmtime_r)
#define R_LOCALTIME_INIT_R() \
struct tm r_localtime_r
#define R_LOCALTIME_R(val) \
localtime_r(val,&r_localtime_r)
/***********/
/* crypt */
/***********/
#include <crypt.h>
#define R_CRYPT_INIT_R() \
CRYPTD r_cryptd_r; \
bzero(&r_cryptd_r,sizeof(CRYPTD))
#define R_CRYPT_R(pass,salt) \
crypt_r(pass,salt,&r_cryptd_r)
/**************/
/* pw stuff */
/**************/
#define R_MAX_PW_LEN_R 1024
/* The following must be after the last declaration, but */
/* before the first bit of code... */
#define R_GETPWNAM_INIT_R(pw_ptr) \
struct passwd r_getpwnam_pw_r; \
char r_getpwnam_line_r[R_MAX_PW_LEN_R]; \
pw_ptr = &r_getpwnam_pw_r
#define R_GETPWNAM_R(name) \
getpwnam_r(name,&r_getpwnam_pw_r,r_getpwnam_line_r,R_MAX_PW_LEN_R)
/*******************/
/* gethost stuff */
/*******************/
#define R_GETHOSTBYADDR_INIT_R() \
struct hostent r_gethostbyaddr_r; \
struct hostent_data r_gethostbyaddr_data_r
#define R_GETHOSTBYADDR_R(addr,len,type,xptr_ent) \
bzero(&r_gethostbyaddr_r,sizeof(struct hostent)); \
bzero(&r_gethostbyaddr_data_r,sizeof(struct hostent_data)); \
xptr_ent = &r_gethostbyaddr_r; \
if (gethostbyaddr_r(addr,len,type, \
&r_gethostbyaddr_r,&r_gethostbyaddr_data_r) == -1) { \
xptr_ent = NULL; \
}
#define R_GETHOSTBYNAME_INIT_R() \
struct hostent r_gethostbyname_r; \
struct hostent_data r_gethostbyname_data_r
#define R_GETHOSTBYNAME_R(name,xptr_ent) \
bzero(&r_gethostbyname_r,sizeof(struct hostent)); \
bzero(&r_gethostbyname_data_r,sizeof(struct hostent_data)); \
xptr_ent = &r_gethostbyname_r; \
if (gethostbyname_r(name, \
&r_gethostbyname_r,&r_gethostbyname_data_r) == -1) { \
xptr_ent = NULL; \
}
#endif /* _LIBC_R_H */

View File

@@ -1,209 +0,0 @@
/* -*- 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.
*/
//"libcnv.h"
#ifndef _LIBCNV_H
#define _LIBCNV_H
#ifndef _IMAGE_CONVERT
#error _IMAGE_CONVERT SYMBOL NEEDED BEFORE INCLUSION
#endif /*_IMAGE_CONVERT*/
#ifndef __cplusplus
typedef unsigned char BYTE;
typedef uint32 DWORD;
#endif
#include "xp_core.h"/*defines of int32 ect*/
#include "xp_file.h"
#include "xp_mem.h"/*XP_HUGE*/
#define MAXIMAGEPATHLEN 255
typedef enum
{
CONV_CANCEL,
CONV_OK,
CONVERR_INVALIDSOURCE,
CONVERR_INVALIDDEST,
CONVERR_INVALIDFILEHEADER,
CONVERR_INVALIDIMAGEHEADER,
CONVERR_INVALIDBITDEPTH,
CONVERR_INVALIDCOLORMAP,
CONVERR_BADREAD,
CONVERR_OUTOFMEMORY,
CONVERR_JPEGERROR,
CONVERR_COMPRESSED,
CONVERR_BADPLANES,
CONVERR_BADWRITE,
CONVERR_INVALIDPARAMS,
CONVERR_UNKNOWN,
NUM_CONVERR
}CONVERT_IMAGERESULT;
typedef BYTE * CONVERT_IMG_ROW;
typedef CONVERT_IMG_ROW * CONVERT_IMG_ARRAY;
typedef enum
{
conv_unknown,
conv_png,
conv_jpeg,
conv_bmp,
conv_pict,
conv_xpm,
conv_rgb,
conv_plugin
}convimgenum;
typedef struct tagCONVERT_IMG_STREAM
{
XP_HUGE_CHAR_PTR m_mem;
FILE *m_file;/*used only with type 0 -must allready be opened for read or write does not use current index ect.*/
int16 m_type;/*0=CONVERT_FILE 1=CONVERT_MEMORY*/
DWORD m_streamsize;/* 0== unlimited */
DWORD m_currentindex;
}CONVERT_IMG_STREAM;
/*Sent in a BITMAP structure*/
#define CONVERT_MEMORY 1
#define CONVERT_FILE 0
typedef struct tagCONVERT_IMGCONTEXT CONVERT_IMGCONTEXT;
typedef struct tagCONVERT_IMG_INFO CONVERT_IMG_INFO;
typedef CONVERT_IMAGERESULT (*CONVERT_DIALOGIMAGECALLBACK)(CONVERT_IMGCONTEXT *input,
CONVERT_IMGCONTEXT *outputarray,
CONVERT_IMG_INFO *imginfo,
int16 numoutput,
CONVERT_IMG_ARRAY imagearray);
typedef CONVERT_IMAGERESULT (*CONVERT_COMPLETECALLBACK)(CONVERT_IMGCONTEXT *outputarray,int16 p_numoutputs,void *hook);
typedef void (*CONVERT_BUFFERCALLBACK)(void *);/*j_common_ptr);*/
typedef struct tagCONVERT_CALLBACKS
{
CONVERT_DIALOGIMAGECALLBACK m_dialogimagecallback;
CONVERT_BUFFERCALLBACK m_displaybuffercallback;
CONVERT_COMPLETECALLBACK m_completecallback;
}CONVERT_CALLBACKS;
typedef struct tagCONVERT_IMGCONTEXT
{
convimgenum m_imagetype;
CONVERT_IMG_STREAM m_stream;/*used with m_streamtype 1,2*/
int16 m_quality;
char m_filename[MAXIMAGEPATHLEN];/*will not be used to open FILE *. used for output. maybe in future will open file?*/
CONVERT_CALLBACKS m_callbacks;
#ifdef XP_OS2
XP_OS2_ARG(void *m_parentwindow);/*used for callbacks to bring up dialog boxes. void * = CWnd *for Windows*/
#else
XP_WIN_ARG(void *m_parentwindow);/*used for callbacks to bring up dialog boxes. void * = CWnd *for Windows*/
#endif
void *m_pMWContext;//used for callbacks to insert the image. and for plugins
}CONVERT_IMGCONTEXT;
typedef struct tagCONVERT_IMG_INFO
{
BYTE *m_colormap;
int16 m_numcolorentries;
uint16 m_X_density;
uint16 m_Y_density;
int16 m_density_unit;
int16 m_in_color_space;
int16 m_input_components;
int16 m_data_precision;
int16 m_image_width;/*pixel width*/
int16 m_image_height;/*pixel_height*/
int16 m_bitsperpixel;
int16 m_row_width;/*width in bytes*/
int16 m_stride; /*row_width-(pixel_width*bpp)/8 */
DWORD m_image_size; /*informational purposes*/
}CONVERT_IMG_INFO;
#ifdef __cplusplus
extern "C"
{
#endif
/****************************/
/*API CALLS AND DECLARATIONS*/
/****************************/
/*converts input to p_numoutput many outputs*/
/*p_outpuffilenames must be a PREALLOCATED array of char *s at least p_numoutputs char *s these pointers will
point to output filenames that YOU will be responsible to destroy!
you may pass in null for p_outputfilenames and it wil*/
CONVERT_IMAGERESULT convert_stream2image(CONVERT_IMGCONTEXT p_input,CONVERT_IMG_INFO *p_imageinfo,int16 p_numoutputs,char **p_outputfilenames);
/*quantize_pixels will change the imagearray to have only maxcolors distinct values*/
CONVERT_IMAGERESULT convert_quantize_pixels(CONVERT_IMG_ARRAY imagearray,int16 imagewidth,int16 imageheight,int16 maxcolorvalue);
/*given a imagecontext, it will tell you if it is a png,bmp,gif ect*/
convimgenum select_file_type (CONVERT_IMGCONTEXT * p_input);
/****************************/
/*END API CALLS AND DECLARATIONS*/
/****************************/
/****************************/
/*STREAM DECLARATIONS*/
/****************************/
/*CONV_IMG_FREAD taken from JPEG libraries for independence from common header file*/
#define CONV_IMG_FREAD(file,buf,sizeofbuf) \
((size_t) fread((void *) (buf), (size_t) 1, (size_t) (sizeofbuf), (file)))
#define ReadOK(file,buffer,len) (CONV_IMG_FREAD(file,buffer,len) == ((size_t) (len)))
int16 read_mem_stream(CONVERT_IMG_STREAM *p_stream,void *p_dest,uint16 p_bytecount);
BYTE read_mem_stream_byte(CONVERT_IMG_STREAM *p_stream);
int16 read_param(CONVERT_IMG_STREAM *p_input,void *p_dest,uint16 p_bytecount);
BYTE read_param_byte(CONVERT_IMG_STREAM *p_input);
/****************************/
/*END STREAM DECLARATIONS*/
/****************************/
#ifdef __cplusplus
}
#endif
#endif

View File

@@ -1,773 +0,0 @@
/* -*- 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.
*/
/*
* Header file for event passing between the mozilla thread and
* the mocha thread
*/
#ifndef libevent_h___
#define libevent_h___
#include "libmocha.h"
#include "prtypes.h"
#ifndef NSPR20
#include "prevent.h"
#else
#include "plevent.h"
#endif
#include "shist.h"
#include "fe_proto.h"
#include "lo_ele.h"
NSPR_BEGIN_EXTERN_C
extern PREventQueue * mozilla_event_queue;
/*
* XXX - should we use the same event values as layer events?
*/
/* Event bits stored in the low end of decoder->event_mask. */
#define EVENT_MOUSEDOWN 0x00000001
#define EVENT_MOUSEUP 0x00000002
#define EVENT_MOUSEOVER 0x00000004 /* user is mousing over a link */
#define EVENT_MOUSEOUT 0x00000008 /* user is mousing out of a link */
#define EVENT_MOUSEMOVE 0x00000010
#define EVENT_MOUSEDRAG 0x00000020
#define EVENT_CLICK 0x00000040 /* input element click in progress */
#define EVENT_DBLCLICK 0x00000080
#define EVENT_KEYDOWN 0x00000100
#define EVENT_KEYUP 0x00000200
#define EVENT_KEYPRESS 0x00000400
#define EVENT_DRAGDROP 0x00000800 /* not yet implemented */
#define EVENT_FOCUS 0x00001000 /* input focus event in progress */
#define EVENT_BLUR 0x00002000 /* loss of focus event in progress */
#define EVENT_SELECT 0x00004000 /* input field selection in progress */
#define EVENT_CHANGE 0x00008000 /* field value change in progress */
#define EVENT_RESET 0x00010000 /* form submit in progress */
#define EVENT_SUBMIT 0x00020000 /* form submit in progress */
#define EVENT_SCROLL 0x00040000 /* window is being scrolled */
#define EVENT_LOAD 0x00080000 /* layout parsed a loaded document */
#define EVENT_UNLOAD 0x00100000
#define EVENT_XFER_DONE 0x00200000 /* document has loaded */
#define EVENT_ABORT 0x00400000
#define EVENT_ERROR 0x00800000
#define EVENT_LOCATE 0x01000000
#define EVENT_MOVE 0x02000000
#define EVENT_RESIZE 0x04000000
#define EVENT_FORWARD 0x08000000
#define EVENT_HELP 0x10000000 /* for handling of help events */
#define EVENT_BACK 0x20000000
/* #define EVENT_PRINT 0x20000000 *//* To be removed per joki */
#define STATUS_STOP 0x00000001 /* stop processing */
#define STATUS_IGNORE 0x00000002 /* no new messages */
#define EVENT_ALT_MASK 0x00000001
#define EVENT_CONTROL_MASK 0x00000002
#define EVENT_SHIFT_MASK 0x00000004
#define EVENT_META_MASK 0x00000008
#define ARGTYPE_NULL 0x00000001
#define ARGTYPE_INT32 0x00000002
#define ARGTYPE_BOOL 0x00000004
#define ARGTYPE_STRING 0x00000008
#define SIZE_MAX 0x00000001
#define SIZE_MIN 0X00000002
/*
* When the event has been processed by the backend, there will be
* a front-end callback that gets called. If the event processed
* successfully, the callback will be passed EVENT_OK. If the
* event wasn't successful (i.e. the user canceled it) the return
* status will be EVENT_CANCEL. If something radical happened
* and the front-end should do nothing (i.e. mocha changed the
* underlying context) the status will be EVENT_PANIC and the
* front end should treat the context and element passed to the
* exit routine as bogus
*/
typedef enum {
EVENT_OK,
EVENT_CANCEL,
EVENT_PANIC
} ETEventStatus;
/*
* When a given event gets processed we may need to tell the front
* end about it so that they can update the UI / continue the
* operation. The context, lo_element, lType and whatever
* field are all supplied by the original ET_SendEvent() call.
* See ET_SendEvent() for a description of the values for
* the status parameter
*/
typedef void
(*ETClosureFunc)(MWContext * pContext, LO_Element * lo_element,
int32 lType, void * whatever, ETEventStatus status);
/*
* Someone has initiated a call to LM_EvaluateBuffer(). This function
* gets called back with the result
*/
typedef void
(*ETEvalAckFunc)(void * data, char * result_string, size_t result_length,
char * wysiwyg_url, char * base_href, Bool valid);
/*
* This function is called back after a layer's state has been restored
* in a resize_relayout.
*/
typedef void
(*ETRestoreAckFunc)(void * data, LO_BlockInitializeStruct *param);
/*
* Typedef for a function taking a void pointer and
* returning nothing
*/
typedef void
(*ETVoidPtrFunc)(void * data);
/*
* Typedef for a function taking a void pointer and
* returning a bool
*/
typedef PRBool
(*ETBoolPtrFunc)(void * data);
/*
* Typedef for a function taking a void pointer and
* returning a int32
*/
typedef int32
(*ETIntPtrFunc)(void * data);
/*
* Typedef for a function taking a void pointer and
* returning a char *
*/
typedef char *
(*ETStringPtrFunc)(void * data);
/*
* Struct for passing JS typed variable info through C interface calls
*/
typedef union ArgVal {
int32 intArg;
XP_Bool boolArg;
char * stringArg;
} ArgVal;
typedef struct {
uint8 type; /* arg type as defined at top of file */
ArgVal value;
} JSCompArg;
/*
* Typedef for a function used to verify installed components and
* get back components utility functions.
*/
typedef PRBool
(*ETVerifyComponentFunc)(void **active_callback, void **startup_callback);
/*
* Generic function for JS setting values with native calls.
*/
typedef void
(*ETCompPropSetterFunc)(char *name, void *value);
/*
* Generic function for JS getting values from native calls.
*/
typedef void*
(*ETCompPropGetterFunc)(char *name);
/*
* Generic function for JS calling native methods.
*/
typedef void*
(*ETCompMethodFunc)(int32 argc, JSCompArg *argv);
/* --------------------------------------------------------------------------
* Common prologue for talking between the mocha thread and the mozilla
* thread
*/
typedef struct {
PREvent event; /* the PREvent structure */
MWContext* context; /* context */
int32 doc_id; /* doc id of context when event launched */
PRPackedBool handle_eagerly;
} ETEvent;
/*
* Struct to send back from front end in order to get additional
* event information without having to initialize event object
* until necessary. Yow, there is a lot of junk in here now
* can we make a union out of some of these or are they always
* needed?
*/
typedef struct {
ETEvent ce;
MochaDecoder * decoder;
JSObject * object;
int32 type;
int32 layer_id;
int32 id;
LO_Element * lo_element;
ETClosureFunc fnClosure; /* event sender closure */
void * whatever; /* anything other state */
int32 x,y;
int32 docx,docy;
int32 screenx,screeny;
uint32 which;
uint32 modifiers;
void * data;
uint32 dataSize;
PRPackedBool saved;
PRPackedBool event_handled;
} JSEvent;
/*
* Tell the backend about a new event.
* The event is placed onto an event queue, it is not processed
* immediately. If the event is the type that can be cancelled
* by the backend (i.e. a button click or a submit) the front
* end must wait until the callback routine gets called before
* continuing with the operation. The ETEventStatus will be
* EVENT_OK if the operation is to continue or EVENT_CANCEL
* if it got cancelled.
*
* The processing of the event may cause the document to change
* or even the whole window to close. In those cases the callback
* will still get called in case there is any front-end cleanup
* to do but the ETEventStatus will be set to EVENT_PANIC
*
*/
extern JSBool
ET_SendEvent(MWContext * pContext, LO_Element *pElement, JSEvent *pEvent,
ETClosureFunc fnClosure, void * whatever);
/*
* Tell the backend about a new document load event. We need a
* closure so that libparse/layout knows when its safe to discard
* the old document when they were waiting for onunload events to
* finish processing
*/
extern void
ET_SendLoadEvent(MWContext * pContext, int32 type, ETVoidPtrFunc fnClosure,
NET_StreamClass *stream, int32 layer_id, Bool resize_reload);
/*
* Tell the backend about a new image event. Async. No closure
*/
extern void
ET_SendImageEvent(MWContext * pContext, LO_ImageStruct *image_data,
LM_ImageEvent event);
/*
* Send an interrupt event to the current context
* Remove all pending events for the event queue of the given context.
*/
extern void
ET_InterruptContext(MWContext * pContext);
extern JSBool
ET_ContinueProcessing(MWContext * pContext);
/*
* Tell mocha to destroy the given context's data. The callback
* function gets called when mocha is done with all of its data
* that was associated with the context
*/
extern void
ET_RemoveWindowContext(MWContext * context, ETVoidPtrFunc fn,
void * data);
typedef struct {
uint len, line_no;
char * scope_to;
void * data;
JSVersion version;
JSPrincipals * principals;
JSBool want_result;
JSBool unicode;
} ETEvalStuff;
/*
* Evaluate the mocha code in the given buffer
*/
extern void
ET_EvaluateBuffer(MWContext * context, char * buffer, uint buflen,
uint line_no, char * scope_to, JSBool want_result,
ETEvalAckFunc fn, void * data,
JSVersion ver, struct JSPrincipals *);
extern void
ET_EvaluateScript(MWContext * context, char * buffer, ETEvalStuff * stuff,
ETEvalAckFunc fn);
/*
* Ask Mocha to reflect the given object into JavaScript
*/
extern void
ET_ReflectObject(MWContext * pContext, void * lo_ele, void * tag,
int32 layer_id, uint index, ReflectedObject type);
void
ET_ReflectFormElement(MWContext * pContext, void * form,
LO_FormElementStruct * form_element, PA_Tag * tag);
extern void
ET_ReflectWindow(MWContext * pContext,
PA_Block onLoad, PA_Block onUnload,
PA_Block onFocus, PA_Block onBlur, PA_Block onHelp,
PA_Block onMouseOver, PA_Block onMouseOut, PA_Block onDragDrop,
PA_Block onMove, PA_Block onResize,
PA_Block id, char *all,
Bool bDelete, int newline_count);
/*
* Tell mocha we are processing a form
*/
extern void
ET_SetActiveForm(MWContext * pContext, struct lo_FormData_struct * loElement);
/*
* Tell mocha which layer we are processing
*/
void
ET_SetActiveLayer(MWContext * pContext, int32 layer_id);
/*
** Tell mocha where to send its output
*/
extern void
ET_ClearDecoderStream(MWContext * context, NET_StreamClass * old_stream);
extern void
ET_SetDecoderStream(MWContext * context, NET_StreamClass *stream,
URL_Struct *url_struct, JSBool free_stream_on_close);
/*
** Remember the current nesting URL in the MochaDecoder
*/
extern void
ET_SetNestingUrl(MWContext * context, char * szUrl);
/*
** Remember the current language version in the MochaDecoder
*/
extern void
ET_SetVersion(MWContext * context, JSVersion version);
/*
* Tell mocha to trash the current document. around and around...
*/
extern void
ET_ReleaseDocument(MWContext * pContext, JSBool resize_reload);
/*
* Tell mocha to trash the layer's document.
*/
extern void
ET_DestroyLayer(MWContext * pContext, JSObject *layer_obj);
extern void
ET_MochaStreamComplete(MWContext * context, void * buf, int len,
char * content_type, Bool isUnicode);
extern void
ET_MochaStreamAbort(MWContext * context, int status);
/*
* Called when a layer's contents are changing and we want to create
* a new layer document.
*/
extern void
ET_NewLayerDocument(MWContext *pContext, int32 layer_id);
extern void
ET_DocWriteAck(MWContext *pContext, int status);
extern void
ET_RegisterComponent(char *name, void *active_callback, void *startup_callback);
extern void
ET_RegisterComponentProp(char *comp, char *name, uint8 retType, void *setter,
void *getter);
extern void
ET_RegisterComponentMethod(char *comp, char *name, uint8 retType, void *method,
int32 argc);
/* =============================================================== */
/*
* This event can be sent to both the mozilla thread and the moacha thread
*/
typedef struct {
ETEvent ce;
TimeoutCallbackFunction fnCallback;
void* pClosure;
uint32 ulTime;
void* pTimerId;
} MozillaEvent_Timeout;
/* =============================================================== */
/*
* Busy loop waiting for events to come along
*/
extern void PR_CALLBACK
lm_wait_for_events(void *);
/*
* global mocha event queues. It would be nice to not have these
* exported this globally
*/
extern PREventQueue *lm_InterpretQueue;
extern PREventQueue *lm_PriorityQueue;
/*
* Ways to send events to the front end
*/
extern JSBool
ET_PostMessageBox(MWContext* context, char* szMessage,
JSBool bConfirm);
extern void
ET_PostProgress(MWContext* context, const char* szMessage);
/* --- timeout routines --- */
/*
* Set (or clear) a timeout to go off. The timeout will go off in the
* mozilla thread so we will use the routine ET_FireTimeoutCallBack()
* to get back into our thread to actually run the closure
*/
extern void *
ET_PostSetTimeout(TimeoutCallbackFunction fnCallback,
void * pClosure, uint32 ulTime, int32 doc_id);
extern void
ET_PostClearTimeout(void * stuff);
extern void
ET_FireTimeoutCallBack(void *);
/* --- end of timeout routines --- */
extern void
ET_PostDestroyWindow(MWContext * context);
extern void
ET_PostManipulateForm(MWContext * context, LO_Element * pForm, int32 action);
extern void
ET_PostClearView(MWContext * context);
extern void
ET_PostFreeImageElement(MWContext * context, void * stuff);
extern void
ET_PostFreeImageContext(MWContext *context, IL_GroupContext *img_cx);
extern void
ET_PostFreeAnonImages(MWContext *context, IL_GroupContext *img_cx);
extern void
ET_PostDisplayImage(MWContext *, int, LO_ImageStruct *);
extern void
ET_PostGetUrl(MWContext *, URL_Struct * pUrl);
extern char *
ET_PostPrompt(MWContext* context, const char* szMessage,
const char * szDefault);
extern MWContext *
ET_PostNewWindow(MWContext* context, URL_Struct * pUrl,
char * szName, Chrome * pChrome);
extern void
ET_PostUpdateChrome(MWContext* context, Chrome * pChrome);
extern void
ET_PostQueryChrome(MWContext* context, Chrome * pChrome);
extern void
ET_PostGetScreenSize(MWContext* context, int32 *pX, int32 *pY);
extern void
ET_PostGetAvailScreenRect(MWContext* context, int32 *pX, int32 *pY,
int32 *pLeft, int32 *pTop);
extern void
ET_PostGetColorDepth(MWContext* context, int32 *pPixel, int32 *pPallette);
extern char *
ET_PostGetSelectedText(MWContext* context);
extern void
ET_PostScrollDocTo(MWContext* context, int loc, int32 x, int32 y);
extern void
ET_PostScrollDocBy(MWContext* context, int loc, int32 x, int32 y);
extern void
ET_PostBackCommand(MWContext* context);
extern void
ET_PostForwardCommand(MWContext* context);
extern void
ET_PostHomeCommand(MWContext* context);
extern JSBool
ET_PostFindCommand(MWContext* context, char * szName, JSBool matchCase,
JSBool searchBackward);
extern void
ET_PostPrintCommand(MWContext* context);
extern void
ET_PostOpenFileCommand(MWContext* context);
extern void
ET_MakeHTMLAlert(MWContext * context, const char * szString);
/* respond to events sent to the mocha thread by the mozilla thread */
extern void
ET_PostJsEventAck(MWContext* context, LO_Element * pEle, int type,
ETClosureFunc fnClosure, void * pStuff,
ETEventStatus status);
extern void
ET_PostEvalAck(MWContext * context, int doc_id, void * data,
char * str, size_t len, char * wysiwyg_url,
char * base_href, Bool valid, ETEvalAckFunc fn);
extern void
ET_PostRestoreAck(void *data, LO_BlockInitializeStruct *param,
ETRestoreAckFunc fn);
/* netlib events */
extern char *
ET_net_GetCookie(MWContext* context, int32 doc_id);
extern char *
ET_net_SetCookieString(MWContext* context, char * szCookie, int32 doc_id);
extern NET_StreamClass *
ET_net_CacheConverter(FO_Present_Types format, void * obj,
URL_Struct *pUrl, MWContext * pContext);
extern void
ET_net_FindURLInCache(URL_Struct * pUrl, MWContext * pContext);
extern NET_StreamClass *
ET_net_StreamBuilder(FO_Present_Types format, URL_Struct *pUrl,
MWContext * pContext);
/* layout events */
extern void
ET_lo_ResetForm(MWContext * pContext, LO_Element * ele);
void
ET_fe_SubmitInputElement(MWContext * pContext, LO_Element * ele);
/*
* Synchronously shove the given text down the parser's processing
* queue. If the currently loaded document is not equal to
* doc_id, this message should be ignored since it arrived too
* late for the intended document
*/
extern int
ET_lo_DoDocWrite(JSContext *cx, MWContext * context, NET_StreamClass * stream,
char * str, size_t len, int32 doc_id);
extern void
ET_il_GetImage(const char * str, MWContext * pContext, IL_GroupContext *img_cx,
LO_ImageStruct * image_data, NET_ReloadMethod how);
extern void
ET_il_SetGroupObserver(MWContext * pContext, IL_GroupContext *pImgCX, void *pDpyCX,
JSBool bAddObserver);
extern void
ET_InterruptImgCX(MWContext * pContext);
/*
* Tell layout to trash the current document.
*/
extern void
ET_lo_DiscardDocument(MWContext * pContext);
/*
* Tell layout to prepare a layer for writing.
*/
extern Bool
ET_lo_PrepareLayerForWriting(MWContext *context, int32 layer_id,
const char *referer);
/*
* Return a copy of the current history element. Caller must free
*/
extern History_entry *
ET_shist_GetCurrent(MWContext * pContext);
/*
* Return the current security status.
*/
extern int
ET_GetSecurityStatus(MWContext * pContext);
/*
* Make sure Mocha/Java glue is ready. Returns the same return code as
* LM_InitMoja.
*/
extern int
ET_InitMoja(MWContext * pContext);
/*
* Pack up toys and go home
*/
extern void
ET_FinishMocha(void);
/*
* Used to call a stream completion function in the mozilla
* thread
*/
extern void
ET_moz_CallFunction(ETVoidPtrFunc fn, void * data);
extern void
ET_moz_CallFunctionAsync(ETVoidPtrFunc fn, void * data);
extern PRBool
ET_moz_CallFunctionBool(ETBoolPtrFunc fn, void * data);
extern int32
ET_moz_CallFunctionInt(ETIntPtrFunc fn, void * data);
extern char *
ET_moz_CallFunctionString(ETStringPtrFunc fn, void * data);
extern void
ET_moz_CallAsyncAndSubEventLoop(ETVoidPtrFunc fn, void *data,
MWContext *context);
extern void
ET_moz_Abort(MKStreamAbortFunc fn, void * data, int status);
extern void
ET_moz_SetMochaWriteStream(MochaDecoder * decoder);
extern NET_StreamClass *
ET_moz_DocCacheConverter(MWContext * context, URL_Struct * pUrl,
char * wysiwyg_url, int32 layer_id);
extern PRBool
ET_moz_VerifyComponentFunction(ETVerifyComponentFunc fn, ETBoolPtrFunc *pActive_callback,
ETVoidPtrFunc *pStartup_callback);
extern void
ET_moz_CompSetterFunction(ETCompPropSetterFunc fn, char *name, void *data);
extern void *
ET_moz_CompGetterFunction(ETCompPropGetterFunc fn, char *name);
extern void *
ET_moz_CompMethodFunction(ETCompMethodFunc fn, int32 argc, JSCompArg *argv);
typedef enum {
CL_Move,
CL_MoveX,
CL_MoveY,
CL_Offset,
CL_Resize,
CL_SetBboxWidth,
CL_SetBboxHeight,
CL_SetBboxTop,
CL_SetBboxLeft,
CL_SetBboxBottom,
CL_SetBboxRight,
CL_SetHidden,
CL_MoveInZ,
CL_SetSrc,
CL_SetSrcWidth,
CL_SetZ,
CL_SetBgColor,
CL_SetBackdrop
} ETLayerOp;
extern int
ET_TweakLayer(MWContext * context, CL_Layer * layer, int32 x, int32 y,
void *param_ptr, int32 param_val, ETLayerOp op,
const char *referer, int32 doc_id);
extern void
ET_RestoreLayerState(MWContext *context, int32 layer_id,
LO_BlockInitializeStruct *param, ETRestoreAckFunc fn,
void *data);
extern int32
ET_npl_RefreshPluginList(MWContext* context, XP_Bool refreshInstances);
extern JSBool
ET_HandlePref(JSContext * cx, uint argc, jsval * argv, jsval * rval);
extern void
ET_SetPluginWindow(MWContext * pContext, void * app);
#ifdef DOM
typedef enum {
SP_SetColor,
SP_SetBackground,
SP_SetFontWeight,
SP_SetFontFamily,
SP_SetFontSize,
SP_SetFontSlant
} ETSpanOp;
extern int
ET_TweakSpan(MWContext * context, void *name_rec, void *param_ptr,
int32 param_val, ETSpanOp op, int32 doc_id);
typedef enum {
TR_SetHref,
TR_SetVisibility,
TR_SetData
} ETTransclusionOp;
extern int
ET_TweakTransclusion(MWContext * context, void *xmlFile, void *param_ptr,
int32 param_val, ETTransclusionOp op, int32 doc_id);
#endif
NSPR_END_EXTERN_C
#endif /* libevent_h___ */

File diff suppressed because it is too large Load Diff

View File

@@ -1,538 +0,0 @@
/* -*- 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.
*/
/* libmime.h --- external interface to libmime.a
Created: Jamie Zawinski <jwz@netscape.com>, 15-May-96.
*/
#ifndef _LIBMIME_H_
#define _LIBMIME_H_
#include "xp.h"
#ifndef MOZILLA_30
# define MIME_DRAFTS
#endif
/* Opaque object describing a block of message headers, and a couple of
routines for extracting data from one.
*/
typedef struct MimeHeaders
{
char *all_headers; /* A char* of the entire header section. */
int32 all_headers_fp; /* The length (it is not NULL-terminated.) */
int32 all_headers_size; /* The size of the allocated block. */
XP_Bool done_p; /* Whether we've read the end-of-headers marker
(the terminating blank line.) */
char **heads; /* An array of length n_headers which points
to the beginning of each distinct header:
just after the newline which terminated
the previous one. This is to speed search.
This is not initialized until all the
headers have been read.
*/
int32 heads_size; /* The length (and consequently, how many
distinct headers are in here.) */
char *obuffer; /* This buffer is used for output. */
int32 obuffer_size;
int32 obuffer_fp;
char *munged_subject; /* What a hack. This is a place to write down
the subject header, after it's been
charset-ified and stuff. Remembered so that
we can later use it to generate the
<TITLE> tag. */
} MimeHeaders;
typedef struct MimeDisplayOptions MimeDisplayOptions;
typedef struct MimeParseStateObject MimeParseStateObject;
#ifndef MOZILLA_30
typedef struct MSG_AttachmentData MSG_AttachmentData;
#endif
XP_BEGIN_PROTOS
/* Given the name of a header, returns the contents of that header as
a newly-allocated string (which the caller must free.) If the header
is not present, or has no contents, NULL is returned.
If `strip_p' is TRUE, then the data returned will be the first token
of the header; else it will be the full text of the header. (This is
useful for getting just "text/plain" from "text/plain; name=foo".)
If `all_p' is FALSE, then the first header encountered is used, and
any subsequent headers of the same name are ignored. If TRUE, then
all headers of the same name are appended together (this is useful
for gathering up all CC headers into one, for example.)
*/
extern char *MimeHeaders_get(MimeHeaders *hdrs,
const char *header_name,
XP_Bool strip_p,
XP_Bool all_p);
/* Given a header of the form of the MIME "Content-" headers, extracts a
named parameter from it, if it exists. For example,
MimeHeaders_get_parameter("text/plain; charset=us-ascii", "charset")
would return "us-ascii".
Returns NULL if there is no match, or if there is an allocation failure.
*/
extern char *MimeHeaders_get_parameter (const char *header_value,
const char *parm_name);
extern MimeHeaders *MimeHeaders_copy (MimeHeaders *srcHeaders);
extern void MimeHeaders_free (MimeHeaders *hdrs);
/* Some defines for various standard header field names.
*/
#define HEADER_BCC "BCC"
#define HEADER_CC "CC"
#define HEADER_CONTENT_BASE "Content-Base"
#define HEADER_CONTENT_DESCRIPTION "Content-Description"
#define HEADER_CONTENT_DISPOSITION "Content-Disposition"
#define HEADER_CONTENT_ENCODING "Content-Encoding"
#define HEADER_CONTENT_LENGTH "Content-Length"
#define HEADER_CONTENT_NAME "Content-Name"
#define HEADER_CONTENT_TRANSFER_ENCODING "Content-Transfer-Encoding"
#define HEADER_CONTENT_TYPE "Content-Type"
#define HEADER_DATE "Date"
#define HEADER_DISTRIBUTION "Distribution"
#define HEADER_FCC "FCC"
#define HEADER_FOLLOWUP_TO "Followup-To"
#define HEADER_FROM "From"
#define HEADER_LINES "Lines"
#define HEADER_MESSAGE_ID "Message-ID"
#define HEADER_MIME_VERSION "MIME-Version"
#define HEADER_NEWSGROUPS "Newsgroups"
#define HEADER_ORGANIZATION "Organization"
#define HEADER_REFERENCES "References"
#define HEADER_REPLY_TO "Reply-To"
#define HEADER_RESENT_COMMENTS "Resent-Comments"
#define HEADER_RESENT_DATE "Resent-Date"
#define HEADER_RESENT_FROM "Resent-From"
#define HEADER_RESENT_MESSAGE_ID "Resent-Message-ID"
#define HEADER_RESENT_SENDER "Resent-Sender"
#define HEADER_RESENT_TO "Resent-To"
#define HEADER_RESENT_CC "Resent-CC"
#define HEADER_SENDER "Sender"
#define HEADER_SUBJECT "Subject"
#define HEADER_TO "To"
#define HEADER_X_MAILER "X-Mailer"
#define HEADER_X_NEWSREADER "X-Newsreader"
#define HEADER_X_POSTING_SOFTWARE "X-Posting-Software"
#define HEADER_X_MOZILLA_STATUS "X-Mozilla-Status"
#define HEADER_X_MOZILLA_NEWSHOST "X-Mozilla-News-Host"
#define HEADER_X_MOZILLA_DRAFT_INFO "X-Mozilla-Draft-Info"
#define HEADER_X_UIDL "X-UIDL"
#define HEADER_XREF "XREF"
#define HEADER_X_SUN_CHARSET "X-Sun-Charset"
#define HEADER_X_SUN_CONTENT_LENGTH "X-Sun-Content-Length"
#define HEADER_X_SUN_CONTENT_LINES "X-Sun-Content-Lines"
#define HEADER_X_SUN_DATA_DESCRIPTION "X-Sun-Data-Description"
#define HEADER_X_SUN_DATA_NAME "X-Sun-Data-Name"
#define HEADER_X_SUN_DATA_TYPE "X-Sun-Data-Type"
#define HEADER_X_SUN_ENCODING_INFO "X-Sun-Encoding-Info"
#define HEADER_X_PRIORITY "X-Priority"
#define HEADER_PARM_BOUNDARY "BOUNDARY"
#define HEADER_PARM_FILENAME "FILENAME"
#define HEADER_PARM_NAME "NAME"
#define HEADER_PARM_TYPE "TYPE"
typedef enum {
MimeHeadersAll, /* Show all headers */
MimeHeadersSome, /* Show all "interesting" headers */
MimeHeadersSomeNoRef, /* Same, but suppress the `References' header
(for when we're printing this message.) */
MimeHeadersMicro, /* Show a one-line header summary */
MimeHeadersMicroPlus, /* Same, but show the full recipient list as
well (To, CC, etc.) */
MimeHeadersCitation /* A one-line summary geared toward use in a
reply citation ("So-and-so wrote:") */
} MimeHeadersState;
/* The signature for various callbacks in the MimeDisplayOptions structure.
*/
typedef char *(*MimeHTMLGeneratorFunction) (const char *data, void *closure,
MimeHeaders *headers);
struct MimeDisplayOptions
{
const char *url; /* Base URL for the document. This string should
be freed by the caller, after the parser
completes (possibly at the same time as the
MimeDisplayOptions itself.) */
#ifndef MOZILLA_30
MSG_Pane* pane; /* The libmsg pane object that corresponds to
what we're showing. This is used by very
little... */
#endif /* !MOZILLA_30 */
MimeHeadersState headers; /* How headers should be displayed. */
XP_Bool fancy_headers_p; /* Whether to do clever formatting of headers
using tables, instead of spaces. */
#ifndef MOZILLA_30
XP_Bool output_vcard_buttons_p; /* Whether to output the buttons */
/* on vcards. */
#endif /* !MOZILLA_30 */
XP_Bool fancy_links_p; /* Whether to insert fancy links, so you can
do things like click on an email address to
add it to your address book. Something you
don't want to do while printing. */
XP_Bool variable_width_plaintext_p; /* Whether text/plain messages should
be in variable width, or fixed. */
XP_Bool wrap_long_lines_p; /* Whether to wrap long lines in text/plain
messages. */
XP_Bool rot13_p; /* Whether text/plain parts should be rotated
Set by "?rot13=true" */
XP_Bool no_inline_p; /* Whether inline display of attachments should
be suppressed. Set by "?inline=false" */
char *part_to_load; /* The particular part of the multipart which
we are extracting. Set by "?part=3.2.4" */
XP_Bool write_html_p; /* Whether the output should be HTML, or raw. */
XP_Bool decrypt_p; /* Whether all traces of encryption should be
eradicated -- this is only meaningful when
write_html_p is FALSE; we set this when
attaching a message for forwarding, since
forwarding someone else a message that wasn't
encrypted for them doesn't work. We have to
decrypt it before sending it.
*/
#ifndef MOZILLA_30
XP_Bool nice_html_only_p; /* If TRUE, then we only should write html if
it's pretty HTML (stuff that we're willing
to get shipped out in mail messages). If we
can't generate nice stuff for some part,
then don't say anything at all. */
XP_Bool dont_touch_citations_p; /* If TRUE, then we should leave citations
alone in plaintext parts. If FALSE, then
go ahead and tweak the fonts according
to preferences. */
#endif /* !MOZILLA_30 */
char *default_charset; /* If this is non-NULL, then it is the charset to
assume when no other one is specified via a
`charset' parameter.
*/
char *override_charset; /* If this is non-NULL, then we will assume that
all data is in this charset, regardless of what
the `charset' parameter of that part says.
This overrides `default_charset' as well.
(This is to cope with the fact that, in the
real world, many messages are mislabelled with
the wrong charset.)
*/
/* =======================================================================
Stream-related callbacks; for these functions, the `closure' argument
is what is found in `options->stream_closure'. (One possible exception
is for output_fn; see "output_closure" below.)
*/
void *stream_closure;
/* For setting up the display stream, so that the MIME parser can inform
the caller of the type of the data it will be getting. */
int (*output_init_fn) (const char *type,
const char *charset,
const char *name,
const char *x_mac_type,
const char *x_mac_creator,
void *stream_closure);
/* How the MIME parser feeds its output (HTML or raw) back to the caller. */
int (*output_fn) (char *buf, int32 size, void *closure);
/* Closure to pass to the above output_fn. If NULL, then the
stream_closure is used. */
void *output_closure;
/* A callback used to encapsulate an HTML section and to reset the
HTML parser to its default state at the end of a section.
start_p indicates whether this is being called just before the
start or immediately after the end of the encapsulated HTML.
layer_encapsulate_p indicates whether or not to put special
ILAYER container tags around the HTML -- Also, when start_p is
FALSE, this function should close off any tags we've left open,
reset the font size and face, etc. This may be called multiple
times -- in particular, it will be called at the end of each
message part which might contain human-generated (and thus
arbitrarily buggy) markup. The `abort_p' argument specifies
whether it's ok for data to be discarded.
*/
int (*set_html_state_fn) (void *stream_closure,
XP_Bool layer_encapsulate_p,
XP_Bool start_p,
XP_Bool abort_p);
/* A hook for the caller to perform charset-conversion before HTML is
returned. Each set of characters which originated in a mail message
(body or headers) will be run through this filter before being converted
into HTML. (This should return bytes which may appear in an HTML file,
ie, we must be able to scan through the string to search for "<" and
turn it in to "&lt;", and so on.)
`input' is a non-NULL-terminated string of a single line from the message.
`input_length' is how long it is.
`input_charset' is a string representing the charset of this string (as
specified by MIME headers.)
`output_charset' is the charset to which conversion is desired.
`output_ret' is where a newly-malloced string is returned. It may be
NULL if no translation is needed.
`output_size_ret' is how long the returned string is (it need not be
NULL-terminated.).
*/
int (*charset_conversion_fn) (const char *input_line, int32 input_length,
const char *input_charset,
const char *output_charset,
char **output_ret, int32 *output_size_ret,
void *stream_closure);
/* A hook for the caller to perform both charset-conversion and decoding of
MIME-2 header fields (using RFC-1522 encoding.) Arguments and returned
values are as for `charset_conversion_fn'.
*/
int (*rfc1522_conversion_fn) (const char *input_line, int32 input_length,
const char *input_charset,
const char *output_charset,
char **output_ret, int32 *output_size_ret,
void *stream_closure);
/* A hook for the caller to translate a time string into a prettier or more
compact or localized form. */
char *(*reformat_date_fn) (const char *old_date, void *stream_closure);
/* A hook for the caller to turn a file name into a content-type. */
char *(*file_type_fn) (const char *filename, void *stream_closure);
/* A hook for the caller to turn a content-type into descriptive text. */
char *(*type_description_fn) (const char *content_type,void *stream_closure);
/* A hook for the caller to turn a content-type into an image icon. */
char *(*type_icon_name_fn) (const char *content_type, void *stream_closure);
/* A hook by which the user may be prompted for a password by the security
library. (This is really of type `SECKEYGetPasswordKey'; see sec.h.) */
void *(*passwd_prompt_fn)(void *arg1, void *arg2);
void *passwd_prompt_fn_arg;
/* =======================================================================
Various callbacks; for all of these functions, the `closure' argument
is what is found in `html_closure'.
*/
void *html_closure;
/* For emitting some HTML before the start of the outermost message
(this is called before any HTML is written to layout.) */
MimeHTMLGeneratorFunction generate_header_html_fn;
/* For emitting some HTML after the outermost header block, but before
the body of the first message. */
MimeHTMLGeneratorFunction generate_post_header_html_fn;
/* For emitting some HTML at the very end (this is called after libmime
has written everything it's going to write.) */
MimeHTMLGeneratorFunction generate_footer_html_fn;
/* For turning a message ID into a loadable URL. */
MimeHTMLGeneratorFunction generate_reference_url_fn;
/* For turning a mail address into a mailto URL. */
MimeHTMLGeneratorFunction generate_mailto_url_fn;
/* For turning a newsgroup name into a news URL. */
MimeHTMLGeneratorFunction generate_news_url_fn;
/* =======================================================================
Callbacks to handle the backend-specific inlined image display
(internal-external-reconnect junk.) For `image_begin', the `closure'
argument is what is found in `stream_closure'; but for all of the
others, the `closure' argument is the data that `image_begin' returned.
*/
/* Begins processing an embedded image; the URL and content_type are of the
image itself. */
void *(*image_begin) (const char *image_url, const char *content_type,
void *stream_closure);
/* Stop processing an image. */
void (*image_end) (void *image_closure, int status);
/* Dump some raw image data down the stream. */
int (*image_write_buffer) (char *buf, int32 size, void *image_closure);
/* What HTML should be dumped out for this image. */
char *(*make_image_html) (void *image_closure);
/* =======================================================================
Other random opaque state.
*/
MimeParseStateObject *state; /* Some state used by libmime internals;
initialize this to 0 and leave it alone.
*/
#ifdef MIME_DRAFTS
/* =======================================================================
Mail Draft hooks -- 09-19-1996
*/
XP_Bool decompose_file_p; /* are we decomposing a mime msg
into separate files */
XP_Bool done_parsing_outer_headers; /* are we done parsing the outer message
headers; this is really useful when
we have multiple Message/RFC822
headers */
XP_Bool is_multipart_msg; /* are we decomposing a multipart
message */
int decompose_init_count; /* used for non multipart message only
*/
XP_Bool signed_p; /* to tell draft this is a signed
message */
/* Callback to gather the outer most headers so we could use the
information to initialize the addressing/subject/newsgroups fields
for the composition window. */
int (*decompose_headers_info_fn) (void *closure,
MimeHeaders *headers);
/* Callbacks to create temporary files for drafts attachments. */
int (*decompose_file_init_fn) (void *stream_closure,
MimeHeaders *headers );
int (*decompose_file_output_fn) (char *buf, int32 size,
void *stream_closure);
int (*decompose_file_close_fn) (void *stream_closure);
#endif /* MIME_DRAFTS */
int32 attachment_icon_layer_id; /* Hackhackhack. This is zero if we have
not yet emitted the attachment layer
stuff. If we have, then this is the
id number for that layer, which is a
unique random number every time, to keep
evil people from writing javascript code
to hack it. */
};
/* Mozilla-specific interfaces
*/
/* Given a URL, this might return a better suggested name to save it as.
When you have a URL, you can sometimes get a suggested name from
URL_s->content_name, but if you're saving a URL to disk before the
URL_Struct has been filled in by netlib, you don't have that yet.
So if you're about to prompt for a file name *before* you call FE_GetURL
with a format_out of FO_SAVE_AS, call this function first to see if it
can offer you advice about what the suggested name for that URL should be.
(This works by looking in a cache of recently-displayed MIME objects, and
seeing if this URL matches. If it does, the remembered content-name will
be used.)
*/
extern char *MimeGuessURLContentName(MWContext *context, const char *url);
/* Given a URL, return the content type for the mime part, if the passed context
recently parsed a message containing the part specified by the URL.
This is used to figure out if we need to open the url in a browser window,
or if we're just going to do a save as, anyay.
*/
extern char *MimeGetURLContentType(MWContext *context, const char *url);
/* Determines whether the given context is currently showing a text/html
message. (Used by libmsg to determine if replys should bring up the
text/html editor. */
extern XP_Bool MimeShowingTextHtml(MWContext* context);
/* Yeech, hack... Determine the URL to use to save just the HTML part of the
currently-displayed message to disk. If the current message doesn't have
a text/html part, returns NULL. Otherwise, the caller must free the
returned string using XP_FREE(). */
extern char* MimeGetHtmlPartURL(MWContext* context);
/* Return how many attachments are in the currently-displayed message. */
extern int MimeGetAttachmentCount(MWContext* context);
/* Returns what attachments are being viewed in the currently-displayed
message. The returned data must be free'd using
MimeFreeAttachmentList(). */
extern int MimeGetAttachmentList(MWContext* context,
MSG_AttachmentData** data);
extern void MimeFreeAttachmentList(MSG_AttachmentData* data);
/* Call this when destroying a context; this frees up some memory.
*/
extern void MimeDestroyContextData(MWContext *context);
/* After a message has been fully displayed (the document has finished
loading) FEs call this with a Mail or News window to determine how
the "security" toolbar button should be rendered.
The first two values are whether it was an encrypted and/or signed
message; the second two are whether it was *valid*.
*/
extern void MIME_GetMessageCryptoState(MWContext *context,
XP_Bool *signed_return,
XP_Bool *encrypted_return,
XP_Bool *signed_ok_return,
XP_Bool *encrypted_ok_return);
#ifndef MOZILLA_30
/* Used only by libnet, this indicates that the user bonked on the "show me
details about attachments" button. */
extern int MIME_DisplayAttachmentPane(MWContext* context);
#endif /* MOZILLA_30 */
XP_END_PROTOS
#endif /* _LIBMIME_H_ */

View File

@@ -1,577 +0,0 @@
/* -*- 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.
*/
/*
* Header file for Mocha in the Navigator (libmocha).
*/
#ifndef libmocha_h___
#define libmocha_h___
#include "ntypes.h"
#include "il_types.h"
#include "prtypes.h"
#include "plhash.h"
#include "prthread.h"
#include "jsapi.h"
/* enable JavaScript Debugger support */
#if defined (_WIN32) || defined(XP_UNIX) || defined(powerc) || defined(__powerc) || defined(XP_OS2)
#ifdef JAVA
#define JSDEBUGGER 1
#endif
#endif
NSPR_BEGIN_EXTERN_C
typedef struct JSTimeout JSTimeout;
typedef struct JSPrincipalsList JSPrincipalsList;
typedef struct JSNestingUrl JSNestingUrl;
/*
* There exists one MochaDecoder per top-level MWContext that decodes Mocha,
* either from an HTML page or from a "mocha:[expr]" URL.
*/
typedef struct MochaDecoder {
int32 forw_count; /* forward reference count */
int32 back_count; /* back (up the tree) count */
JSContext *js_context;
MWContext *window_context;
JSObject *window_object;
NET_StreamClass *stream;
int32 stream_owner; /* id of layer that's loading the stream */
URL_Struct *url_struct;
JSTimeout *timeouts;
JSTimeout *saved_timeouts;
uint16 signature_ordinal;
PRPackedBool replace_location;
PRPackedBool resize_reload;
PRPackedBool load_event_sent;
PRPackedBool visited;
PRPackedBool writing_input;
PRPackedBool free_stream_on_close;
PRPackedBool in_window_quota;
PRPackedBool called_win_close;
PRPackedBool principals_compromised;
const char *source_url;
JSNestingUrl *nesting_url;
uint32 error_count;
uint32 event_mask;
int32 active_layer_id;
uint32 active_form_id;
uint32 event_bit;
int32 doc_id;
/*
* Class prototype objects, in alphabetical order. Must be CLEARed (set
* to null) in LM_PutMochaDecoder, HELD (GC roots added) in lm_NewWindow,
* and DROPped (removed as GC roots) in lm_DestroyWindow.
* XXXbe clean up, clear via bzero, using a sub-structure.
*/
JSObject *anchor_prototype;
JSObject *bar_prototype;
JSObject *document_prototype;
JSObject *event_prototype;
JSObject *event_capturer_prototype;
JSObject *event_receiver_prototype;
JSObject *form_prototype;
JSObject *image_prototype;
JSObject *input_prototype;
JSObject *layer_prototype;
JSObject *option_prototype;
JSObject *rect_prototype;
JSObject *url_prototype;
#ifdef DOM
JSObject *span_prototype;
JSObject *transclusion_prototype;
#endif
/*
* Window sub-objects. These must also follow the CLEAR/HOLD/DROP
* protocol mentioned above.
*/
JSObject *document;
JSObject *history;
JSObject *location;
JSObject *navigator;
JSObject *components;
JSObject *screen;
JSObject *hardware;
JSObject *crypto;
JSObject *pkcs11;
/*
* Ad-hoc GC roots.
*/
JSObject *event_receiver;
JSObject *opener;
JSVersion firstVersion; /* First JS script tag version. */
/*
* Security info for all of this decoder's scripts, except those
* contained in layers.
*/
JSPrincipals *principals;
JSPrincipalsList*early_access_list;
IL_GroupContext *image_context; /* Image context for anonymous images */
/*
* Table that maintains an id to JS object mapping for reflected
* elements. This is used during resize to reestablish the connection
* between layout elements and their corresponding JS object.
* Form elements are special, since they can't use the same keying
*/
PRHashTable *id_to_object_map;
} MochaDecoder;
/*
* Number of buckets for the id-to-object hash table.
*/
#define LM_ID_TO_OBJ_MAP_SIZE 20
#define LM_FORM_ELEMENT_MAP_SIZE 10
/*
* Types of objects reflected into Mocha
*/
typedef enum {
LM_APPLETS = 0,
LM_FORMS,
LM_LINKS,
LM_NAMEDANCHORS,
LM_EMBEDS,
LM_IMAGES,
LM_FORMELEMENTS,
LM_LAYERS
#ifdef DOM
, LM_SPANS
, LM_TRANSCLUSIONS
#endif
} ReflectedObject;
/*
* Generates an id-to-object mapping key from the ReflectedObject
* type, the containing layer id and the id of the object itself.
* The key is 4 bits type, 14 bits layer_id and 14 bits id.
*/
#define LM_GET_MAPPING_KEY(obj_type, layer_id, id) \
(void *)(((((uint32)obj_type) << 28) & 0xF0000000UL) | \
((((uint32)layer_id) << 14) & 0x0FFFC000UL) | \
(((uint32)id) & 0x00003FFFUL))
/*
* Public, well-known string constants.
*/
extern char js_language_name[]; /* "JavaScript" */
extern char js_content_type[]; /* "application/x-javascript" */
/*
* Initialize and finalize Mocha-in-the-client.
*/
extern void LM_InitMocha(void);
extern void LM_FinishMocha(void);
/*
* Force mocha on in the given context, even if the user pref is set to
* disable mocha.
*/
extern void LM_ForceJSEnabled(MWContext *cx);
/*
* Initialize and finalize Mocha-Java connection
*/
#define LM_MOJA_UNINITIALIZED 0
#define LM_MOJA_OK 1
#define LM_MOJA_JAVA_FAILED 2
#define LM_MOJA_OUT_OF_MEMORY 3
extern int LM_InitMoja(void);
extern void LM_FinishMoja(void);
extern int LM_IsMojaInitialized(void);
/*
* Enter or leave the big mocha lock. Any thread which wants to
* preserve JavaScript run-to-completion semantics must bracket
* JavaScript evaluation with these calls.
*/
typedef void
(PR_CALLBACK *JSLockReleaseFunc)(void * data);
extern void PR_CALLBACK LM_LockJS(void);
extern void PR_CALLBACK LM_UnlockJS(void);
extern JSBool PR_CALLBACK LM_AttemptLockJS(JSLockReleaseFunc fn, void * data);
extern JSBool PR_CALLBACK LM_ClearAttemptLockJS(JSLockReleaseFunc fn, void * data);
extern PRBool PR_CALLBACK
LM_HandOffJSLock(PRThread * oldOwner, PRThread *newOwner);
/*
* For interruption purposes we will sometimes need to know the
* context who is holding the JS lock
*/
extern void LM_JSLockSetContext(MWContext * context);
extern MWContext * LM_JSLockGetContext(void);
/*
* Enable/disable for Mocha-in-the-client.
*/
#define LM_SwitchMocha(toggle) LM_SetMochaEnabled(toggle)
extern JSBool
LM_GetMochaEnabled(void);
/*
* Get (create if necessary) a MochaDecoder for context, adding a reference
* to its window_object. Put drops the reference, destroying window_object
* when the count reaches zero. These functions should only be called in
* the mocha thread or while holding the JS-lock
*/
extern MochaDecoder *
LM_GetMochaDecoder(MWContext *context);
extern void
LM_PutMochaDecoder(MochaDecoder *decoder);
/*
* Get the source URL for script being loaded by document. This URL will be
* the document's URL for inline script, or the SRC= URL for included script.
* The returned pointer is safe only within the extent of the function that
* calls LM_GetSourceURL().
*/
extern const char *
LM_GetSourceURL(MochaDecoder *decoder);
/*
* Set the current layer and hence the current scope for script evaluation.
*/
extern void
LM_SetActiveLayer(MWContext * context, int32 layer_id);
/*
* Get the current layer and hence the current scope for script evaluation.
*/
extern int32
LM_GetActiveLayer(MWContext * context);
/*
* Evaluate the contents of a SCRIPT tag. You can specify the JSObject
* to use as the base scope. Pass NULL to use the default window_object
*/
extern JSBool
LM_EvaluateBuffer(MochaDecoder *decoder, void *base, size_t length,
uint lineno, char * scope_to, struct JSPrincipals *principals,
JSBool unicode, jsval *result);
/*
* Evaluate an expression entity in an HTML attribute (WIDTH="&{height/2};").
* Returns null on error, otherwise a pointer to the malloc'd string result.
* The caller is responsible for freeing the string result.
*/
extern char *
LM_EvaluateAttribute(MWContext *context, char *expr, uint lineno);
/*
* Remove any MochaDecoder window_context pointer to an MWContext that's
* being destroyed.
*/
extern void
LM_RemoveWindowContext(MWContext *context, History_entry * he);
extern void
LM_DropSavedWindow(MWContext *context, void *window);
/*
* Set and clear the HTML stream and URL for the MochaDecoder
* associated with the given context
*/
extern JSBool
LM_SetDecoderStream(MWContext * context, NET_StreamClass *stream,
URL_Struct *url_struct, JSBool free_stream_on_close);
/*
* Start caching HTML or plain text generated by document.write() where the
* script is running on mc, the document is being generated into decoder's
* window, and url_struct tells about the generator.
*/
extern NET_StreamClass *
LM_WysiwygCacheConverter(MWContext *context, URL_Struct *url_struct,
const char * wysiwyg_url, const char * base_href);
/*
* Skip over the "wysiwyg://docid/" in url_string and return a pointer to the
* real URL hidden after the prefix. If url_string is not of "wysiwyg:" type,
* just return url_string. Never returns null.
*/
extern const char *
LM_StripWysiwygURLPrefix(const char *url_string);
/*
* This function works only on "wysiwyg:" type URLs -- don't call it unless
* you know that NET_URL_Type(url_string) is WYSIWYG_TYPE_URL. It'll return
* null if url_string seems too short, or if it can't find the third slash.
*/
extern const char *
LM_SkipWysiwygURLPrefix(const char *url_string);
/*
* Return a pointer to a malloc'd string of the form "<BASE HREF=...>" where
* the "..." URL is the directory of cx's origin URL. Such a base URL is the
* default base for relative URLs in generated HTML.
*/
extern char *
LM_GetBaseHrefTag(JSContext *cx, JSPrincipals *principals);
/*
* XXX Make these public LO_... typedefs in lo_ele.h/ntypes.h?
*/
struct lo_FormData_struct;
struct lo_NameList_struct;
extern struct lo_FormData_struct *
LO_GetFormDataByID(MWContext *context, int32 layer_id, intn form_id);
extern uint
LO_EnumerateForms(MWContext *context, int32 layer_id);
extern struct LO_ImageStruct_struct *
LO_GetImageByIndex(MWContext *context, int32 layer_id, intn image_id);
extern uint
LO_EnumerateImages(MWContext *context, int32 layer_id);
/*
* Reflect display layers into Mocha.
*/
extern JSObject *
LM_ReflectLayer(MWContext *context, int32 layer_id, int32 parent_layer_id,
PA_Tag *tag);
extern LO_FormElementStruct *
LO_GetFormElementByIndex(struct lo_FormData_struct *form_data, int32 index);
extern uint
LO_EnumerateFormElements(MWContext *context,
struct lo_FormData_struct *form_data);
/*
* Layout helper function to find a named anchor by its index in the
* document.anchors[] array.
*/
extern struct lo_NameList_struct *
LO_GetNamedAnchorByIndex(MWContext *context, int32 layer_id, uint index);
extern uint
LO_EnumerateNamedAnchors(MWContext *context, int32 layer_id);
#ifdef DOM
/*
* Layout helper function to find a span by its index in the
* document.spans[] array.
*/
extern struct lo_NameList_struct *
LO_GetSpanByIndex(MWContext *context, int32 layer_id, uint index);
extern uint
LO_EnumerateSpans(MWContext *context, int32 layer_id);
extern JSObject *
LO_GetMochaObjectOfParentSpan( LO_Element *ele);
#endif
/*
* Layout Mocha helper function to find an HREF Anchor by its index in the
* document.links[] array.
*/
extern LO_AnchorData *
LO_GetLinkByIndex(MWContext *context, int32 layer_id, uint index);
extern uint
LO_EnumerateLinks(MWContext *context, int32 layer_id);
extern LO_JavaAppStruct *
LO_GetAppletByIndex(MWContext *context, int32 layer_id, uint index);
extern uint
LO_EnumerateApplets(MWContext *context, int32 layer_id);
extern LO_EmbedStruct *
LO_GetEmbedByIndex(MWContext *context, int32 layer_id, uint index);
extern uint
LO_EnumerateEmbeds(MWContext *context, int32 layer_id);
/*
* Get and set a color attribute in the current document state.
*/
extern void
LO_GetDocumentColor(MWContext *context, int type, LO_Color *color);
extern void
LO_SetDocumentColor(MWContext *context, int type, LO_Color *color);
/*
* Layout function to reallocate the lo_FormElementOptionData array pointed at
* by lo_FormElementSelectData's options member to include space for the number
* of options given by selectData->option_cnt.
*/
extern XP_Bool
LO_ResizeSelectOptions(lo_FormElementSelectData *selectData);
/*
* Discard the current document and all its subsidiary objects.
*/
extern void
LM_ReleaseDocument(MWContext *context, JSBool resize_reload);
/*
* Search if a the event is being captured in the frame hierarchy.
*/
extern XP_Bool
LM_EventCaptureCheck(MWContext *context, uint32 current_event);
/*
* Scroll a window to the given point.
*/
extern void LM_SendOnScroll(MWContext *context, int32 x, int32 y);
/*
* Display a help topic.
*/
extern void LM_SendOnHelp(MWContext *context);
/*
* Send a load or abort event for an image to a callback.
*/
typedef enum LM_ImageEvent {
LM_IMGUNBLOCK = 0,
LM_IMGLOAD = 1,
LM_IMGABORT = 2,
LM_IMGERROR = 3,
LM_LASTEVENT = 3
} LM_ImageEvent;
extern void
LM_ProcessImageEvent(MWContext *context, LO_ImageStruct *image_data,
LM_ImageEvent event);
/* This should be called when a named anchor is located. */
extern JSBool
LM_SendOnLocate(MWContext *context, struct lo_NameList_struct *name_rec);
extern JSObject *
LM_ReflectApplet(MWContext *context, LO_JavaAppStruct *applet_data,
PA_Tag * tag, int32 layer_id, uint index);
extern JSObject *
LM_ReflectEmbed(MWContext *context, LO_EmbedStruct *lo_embed,
PA_Tag * tag, int32 layer_id, uint index);
struct lo_FormData_struct;
struct lo_NameList_struct;
extern JSObject *
LM_ReflectForm(MWContext *context, struct lo_FormData_struct *form_data,
PA_Tag * tag, int32 layer_id, uint index);
extern JSObject *
LM_ReflectFormElement(MWContext *context, int32 layer_id, int32 form_id,
int32 element_id, PA_Tag * tag);
extern JSObject *
LM_ReflectLink(MWContext *context, LO_AnchorData *anchor_data, PA_Tag * tag,
int32 layer_id, uint index);
extern JSObject *
LM_ReflectNamedAnchor(MWContext *context, struct lo_NameList_struct *name_rec,
PA_Tag * tag, int32 layer_id, uint index);
extern JSObject *
LM_ReflectImage(MWContext *context, LO_ImageStruct *image_data,
PA_Tag * tag, int32 layer_id, uint index);
#ifdef DOM
/* Function prototype to make JS know about <SPAN> elements */
extern JSObject *
LM_ReflectSpan(MWContext *context, struct lo_NameList_struct *name_rec,
PA_Tag *tag, int32 layer_id, uint index);
extern JSObject *
LM_ReflectTransclusion(MWContext *context, void *ele, int32 layer_id, uint index);
#endif
extern JSBool
LM_CanDoJS(MWContext *context);
extern JSBool
LM_IsActive(MWContext *context);
/*
* Security.
*/
extern JSPrincipals *
LM_NewJSPrincipals(URL_Struct *archive, char *name, const char *codebase);
extern char *
LM_ExtractFromPrincipalsArchive(JSPrincipals *principals, char *name,
uint *length);
extern JSBool
LM_SetUntransformedSource(JSPrincipals *principals, char *original,
char *transformed);
extern JSPrincipals * PR_CALLBACK
LM_GetJSPrincipalsFromJavaCaller(JSContext *cx, int callerDepth);
/*
* LM_RegisterPrincipals will verify and register a set of principals
* in the decoder, modifying decoder->principals in the process. It
* returns the modified decoder.
*
* The "name" parameter may be NULL if "principals" was created with a name.
*/
extern JSPrincipals *
LM_RegisterPrincipals(MochaDecoder *decoder, JSPrincipals *principals,
char *name, char *src);
/*
* JavaScript Debugger support
*/
#ifdef JSDEBUGGER
extern NET_StreamClass*
LM_StreamBuilder( int format_out,
void *data_obj,
URL_Struct *URL_s,
MWContext *mwcontext );
extern JSBool
LM_GetJSDebugActive(void);
extern void
LM_JamSourceIntoJSDebug( const char *filename,
const char *str,
int32 len,
MWContext *mwcontext );
#endif
NSPR_END_EXTERN_C
#endif /* libmocha_h___ */

View File

@@ -1,29 +0,0 @@
/* -*- 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.
*/
/*-----------------------------------------------------------------------------
Collection of all the public libnet functions
-----------------------------------------------------------------------------*/
#ifndef _libnet_
#define _libnet_
#include "mkutils.h"
#include "mkstream.h"
#include "mkgeturl.h"
#endif /* _libnet_ */

File diff suppressed because it is too large Load Diff

View File

@@ -1,93 +0,0 @@
/* -*- 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.
*/
/*
** Mac_Convert_Stream.h
** --------------------
**
** The header file for the constructing functions of apple file
** encode/decode stream.
**
** 27sep95 mym created.
*/
#ifndef M_CVStrm_h
#define M_CVStrm_h
XP_BEGIN_PROTOS
PUBLIC NET_StreamClass *
fe_MakeBinHexEncodeStream (int format_out,
void *data_obj,
URL_Struct *URL_s,
MWContext *window_id,
char* dst_filename);
PUBLIC NET_StreamClass *
fe_MakeBinHexDecodeStream (int format_out,
void *data_obj,
URL_Struct *URL_s,
MWContext *window_id );
PUBLIC NET_StreamClass *
fe_MakeAppleDoubleDecodeStream (int format_out,
void *data_obj,
URL_Struct *URL_s,
MWContext *window_id,
XP_Bool write_as_binhex,
char *dst_filename);
PUBLIC NET_StreamClass *
fe_MakeAppleSingleDecodeStream (int format_out,
void *data_obj,
URL_Struct *URL_s,
MWContext *window_id,
XP_Bool write_as_binhex,
char *dst_filename);
#ifdef XP_MAC
PUBLIC NET_StreamClass *
fe_MakeAppleDoubleEncodeStream (int format_out,
void *data_obj,
URL_Struct *URL_s,
MWContext *window_id,
char* src_filename,
char* dst_filename,
char* separator);
XP_Bool isMacFile(char* filename);
#endif
PUBLIC NET_StreamClass *
fe_MakeAppleDoubleDecodeStream_1 (int format_out,
void *data_obj,
URL_Struct *URL_s,
MWContext *window_id);
PUBLIC NET_StreamClass *
fe_MakeAppleSingleDecodeStream_1 (int format_out,
void *data_obj,
URL_Struct *URL_s,
MWContext *window_id);
XP_END_PROTOS
#endif

View File

@@ -1,56 +0,0 @@
#!gmake
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#//------------------------------------------------------------------------
#//
#// Makefile to install NSPR/INCLUDE header files into the distribution
#// directory.
#//
#//------------------------------------------------------------------------
#//------------------------------------------------------------------------
#//
#// Specify the depth of the current directory relative to the
#// root of NS
#//
#//------------------------------------------------------------------------
DEPTH = ..
#//------------------------------------------------------------------------
#//
#// Specify any "command" targets. (ie. DIRS, INSTALL_FILES, ...)
#// (these must come before the common makefiles are included)
#//
#// DIRS - There is a subdirectory to process
#// INSTALL_FILES - Files to be installed in the distribution area
#//
#//------------------------------------------------------------------------
#INSTALL_FILE_LIST=*.h
#INSTALL_DIR=$(XPDIST)\public\coreincl
#//------------------------------------------------------------------------
#//
#// Include the common makefile rules
#//
#//------------------------------------------------------------------------
include <$(DEPTH)/config/rules.mak>
#export:: INSTALL_FILES

View File

@@ -1,443 +0,0 @@
/* -*- 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.
*/
/*-
* Copyright (c) 1990, 1993, 1994
* The Regents of the University of California. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* @(#)db.h 8.7 (Berkeley) 6/16/94
*/
#ifndef _DB_H_
#define _DB_H_
#include "prtypes.h"
#ifdef __sgi
#define BYTE_ORDER BIG_ENDIAN
#define BIG_ENDIAN 4321
#define LITTLE_ENDIAN 1234 /* LSB first: i386, vax, all NT risc */
#define __BIT_TYPES_DEFINED__
#endif
#ifdef __sun
#define BIG_ENDIAN 4321
#define LITTLE_ENDIAN 1234 /* LSB first: i386, vax, all NT risc */
#ifndef SVR4
/* compat.h is only in 4.1.3 machines. - dp */
#include <compat.h>
#endif
/* XXX - dp
* Need to find a general way of defining endian-ness in SunOS 5.3
* SunOS 5.4 defines _BIG_ENDIAN and _LITTLE_ENDIAN
* SunOS 5.3 does nothing like this.
*/
#ifndef BYTE_ORDER
#if defined(_BIG_ENDIAN)
#define BYTE_ORDER BIG_ENDIAN
#elif defined(_LITTLE_ENDIAN)
#define BYTE_ORDER LITTLE_ENDIAN
#elif !defined(SVR4)
/* 4.1.3 is always BIG_ENDIAN as it was released only on sparc platforms. */
#define BYTE_ORDER BIG_ENDIAN
#elif !defined(vax) && !defined(ntohl) && !defined(lint) && !defined(i386)
/* 5.3 big endian. Copied this above line from sys/byteorder.h */
/* Now we are in a 5.3 SunOS rather non 5.4 or above SunOS */
#define BYTE_ORDER BIG_ENDIAN
#else
#define BYTE_ORDER LITTLE_ENDIAN
#endif
#endif /* !BYTE_ORDER */
#endif /* __sun */
#ifdef __linux
# include <endian.h>
# ifndef BYTE_ORDER
# define BYTE_ORDER __BYTE_ORDER
# define BIG_ENDIAN __BIG_ENDIAN
# define LITTLE_ENDIAN __LITTLE_ENDIAN
# endif
#endif /* __linux */
#if defined(SCO) || defined(UNIXWARE) || defined(SNI) || defined(NCR) || defined(NEC)
#include <sys/types.h>
#include <sys/byteorder.h>
#endif
#ifdef SCO
#include <sys/bitypes.h>
#define MAXPATHLEN 1024
#endif
#ifdef SNI
#define BYTE_ORDER BIG_ENDIAN
#define BIG_ENDIAN 4321
#define LITTLE_ENDIAN 1234
#endif
#ifdef NCR
#include <sys/endian.h>
#endif
#ifdef macintosh
#include <unix.h>
#endif
#ifndef macintosh
#include <fcntl.h>
#endif
#if defined(_WINDOWS) || defined(XP_OS2)
#include <stdio.h>
#include <io.h>
#include <limits.h>
#ifndef XP_OS2
#define MAXPATHLEN 1024
#else
#include "os2file.h" /* includes dirent.h */
#endif
#define EFTYPE EINVAL /* POSIX 1003.1 format errno. */
#ifndef STDERR_FILENO
#define STDIN_FILENO 0 /* ANSI C #defines */
#define STDOUT_FILENO 1
#define STDERR_FILENO 2
#endif
#ifndef O_ACCMODE /* POSIX 1003.1 access mode mask. */
#define O_ACCMODE (O_RDONLY|O_WRONLY|O_RDWR)
#endif
#ifdef BYTE_ORDER
#undef BYTE_ORDER
#endif
#define BYTE_ORDER LITTLE_ENDIAN
#define LITTLE_ENDIAN 1234 /* LSB first: i386, vax, all NT risc */
#define BIG_ENDIAN 4321
#endif
#if defined(_WINDOWS) && !defined(_WIN32)
/* 16 bit windows defines */
#define MAX_PAGE_NUMBER 0xffffffff /* >= # of pages in a file */
#endif
#ifdef macintosh
#include <stdio.h>
#include "xp_mcom.h"
#ifndef NSPR20
#include "prmacos.h"
#endif
#define BIG_ENDIAN 4321
#define LITTLE_ENDIAN 1234
#define BYTE_ORDER BIG_ENDIAN
#define O_ACCMODE 3 /* Mask for file access modes */
#define EFTYPE 2000
XP_BEGIN_PROTOS
int mkstemp(const char *path);
XP_END_PROTOS
#endif /* MACINTOSH */
#if defined(XP_OS2)
#include <xp_mcom.h>
#include <pros2os.h>
XP_BEGIN_PROTOS
int mkstemp(char *path);
XP_END_PROTOS
#endif
#ifndef macintosh
#include <sys/types.h>
#endif
#if !defined(_WINDOWS) && !defined(macintosh) && !defined(XP_OS2)
#include <sys/stat.h>
#include <errno.h>
#endif
#include "cdefs.h"
#ifndef _WINDOWS /* included above to prevent spurious warnings chouck 12-Sep-95 */
#include <limits.h>
#endif
#ifndef MIN
#define MIN(x, y) (((x) < (y)) ? (x) : (y))
#endif
#ifndef MAX
#define MAX(x, y) (((x) > (y)) ? (x) : (y))
#endif
#define RET_ERROR -1 /* Return values. */
#define RET_SUCCESS 0
#define RET_SPECIAL 1
#if defined(__386BSD__) || defined(SCO)
#define __BIT_TYPES_DEFINED__
#endif
#define MAX_PAGE_NUMBER 0xffffffff /* >= # of pages in a file */
#ifndef __sgi
typedef uint32 pgno_t;
#endif
#define MAX_PAGE_OFFSET 65535 /* >= # of bytes in a page */
typedef uint16 indx_t;
#define MAX_REC_NUMBER 0xffffffff /* >= # of records in a tree */
typedef uint32 recno_t;
/* define EFTYPE since most don't */
#ifndef EFTYPE
#define EFTYPE EINVAL /* POSIX 1003.1 format errno. */
#endif
/* Key/data structure -- a Data-Base Thang. */
typedef struct {
void *data; /* data */
size_t size; /* data length */
} DBT;
/* Routine flags. */
#define R_CURSOR 1 /* del, put, seq */
#define __R_UNUSED 2 /* UNUSED */
#define R_FIRST 3 /* seq */
#define R_IAFTER 4 /* put (RECNO) */
#define R_IBEFORE 5 /* put (RECNO) */
#define R_LAST 6 /* seq (BTREE, RECNO) */
#define R_NEXT 7 /* seq */
#define R_NOOVERWRITE 8 /* put */
#define R_PREV 9 /* seq (BTREE, RECNO) */
#define R_SETCURSOR 10 /* put (RECNO) */
#define R_RECNOSYNC 11 /* sync (RECNO) */
typedef enum { DB_BTREE, DB_HASH, DB_RECNO } DBTYPE;
typedef enum { LockOutDatabase, UnlockDatabase } DBLockFlagEnum;
/*
* !!!
* The following flags are included in the dbopen(3) call as part of the
* open(2) flags. In order to avoid conflicts with the open flags, start
* at the top of the 16 or 32-bit number space and work our way down. If
* the open flags were significantly expanded in the future, it could be
* a problem. Wish I'd left another flags word in the dbopen call.
*
* !!!
* None of this stuff is implemented yet. The only reason that it's here
* is so that the access methods can skip copying the key/data pair when
* the DB_LOCK flag isn't set.
*/
#if UINT_MAX > 65535
#define DB_LOCK 0x20000000 /* Do locking. */
#define DB_SHMEM 0x40000000 /* Use shared memory. */
#define DB_TXN 0x80000000 /* Do transactions. */
#else
#define DB_LOCK 0x2000 /* Do locking. */
#define DB_SHMEM 0x4000 /* Use shared memory. */
#define DB_TXN 0x8000 /* Do transactions. */
#endif
/* Access method description structure. */
typedef struct __db {
DBTYPE type; /* Underlying db type. */
int (*close) (struct __db *);
int (*del) (const struct __db *, const DBT *, uint);
int (*get) (const struct __db *, const DBT *, DBT *, uint);
int (*put) (const struct __db *, DBT *, const DBT *, uint);
int (*seq) (const struct __db *, DBT *, DBT *, uint);
int (*sync) (const struct __db *, uint);
void *internal; /* Access method private. */
int (*fd) (const struct __db *);
} DB;
#define BTREEMAGIC 0x053162
#define BTREEVERSION 3
/* Structure used to pass parameters to the btree routines. */
typedef struct {
#define R_DUP 0x01 /* duplicate keys */
uint32 flags;
uint cachesize; /* bytes to cache */
int maxkeypage; /* maximum keys per page */
int minkeypage; /* minimum keys per page */
uint psize; /* page size */
int (*compare) /* comparison function */
(const DBT *, const DBT *);
size_t (*prefix) /* prefix function */
(const DBT *, const DBT *);
int lorder; /* byte order */
} BTREEINFO;
#define HASHMAGIC 0x061561
#define HASHVERSION 2
/* Structure used to pass parameters to the hashing routines. */
typedef struct {
uint bsize; /* bucket size */
uint ffactor; /* fill factor */
uint nelem; /* number of elements */
uint cachesize; /* bytes to cache */
uint32 /* hash function */
(*hash) (const void *, size_t);
int lorder; /* byte order */
} HASHINFO;
/* Structure used to pass parameters to the record routines. */
typedef struct {
#define R_FIXEDLEN 0x01 /* fixed-length records */
#define R_NOKEY 0x02 /* key not required */
#define R_SNAPSHOT 0x04 /* snapshot the input */
uint32 flags;
uint cachesize; /* bytes to cache */
uint psize; /* page size */
int lorder; /* byte order */
size_t reclen; /* record length (fixed-length records) */
uint8 bval; /* delimiting byte (variable-length records */
char *bfname; /* btree file name */
} RECNOINFO;
/* #ifdef __DBINTERFACE_PRIVATE */
/*
* Little endian <==> big endian 32-bit swap macros.
* M_32_SWAP swap a memory location
* P_32_SWAP swap a referenced memory location
* P_32_COPY swap from one location to another
*/
#define M_32_SWAP(a) { \
uint32 _tmp = a; \
((char *)&a)[0] = ((char *)&_tmp)[3]; \
((char *)&a)[1] = ((char *)&_tmp)[2]; \
((char *)&a)[2] = ((char *)&_tmp)[1]; \
((char *)&a)[3] = ((char *)&_tmp)[0]; \
}
#define P_32_SWAP(a) { \
uint32 _tmp = *(uint32 *)a; \
((char *)a)[0] = ((char *)&_tmp)[3]; \
((char *)a)[1] = ((char *)&_tmp)[2]; \
((char *)a)[2] = ((char *)&_tmp)[1]; \
((char *)a)[3] = ((char *)&_tmp)[0]; \
}
#define P_32_COPY(a, b) { \
((char *)&(b))[0] = ((char *)&(a))[3]; \
((char *)&(b))[1] = ((char *)&(a))[2]; \
((char *)&(b))[2] = ((char *)&(a))[1]; \
((char *)&(b))[3] = ((char *)&(a))[0]; \
}
/*
* Little endian <==> big endian 16-bit swap macros.
* M_16_SWAP swap a memory location
* P_16_SWAP swap a referenced memory location
* P_16_COPY swap from one location to another
*/
#define M_16_SWAP(a) { \
uint16 _tmp = a; \
((char *)&a)[0] = ((char *)&_tmp)[1]; \
((char *)&a)[1] = ((char *)&_tmp)[0]; \
}
#define P_16_SWAP(a) { \
uint16 _tmp = *(uint16 *)a; \
((char *)a)[0] = ((char *)&_tmp)[1]; \
((char *)a)[1] = ((char *)&_tmp)[0]; \
}
#define P_16_COPY(a, b) { \
((char *)&(b))[0] = ((char *)&(a))[1]; \
((char *)&(b))[1] = ((char *)&(a))[0]; \
}
/* #endif */
__BEGIN_DECLS
DB *dbopen (const char *, int, int, DBTYPE, const void *);
/* set or unset a global lock flag to disable the
* opening of any DBM file
*/
void dbSetOrClearDBLock(DBLockFlagEnum type);
/* #ifdef __DBINTERFACE_PRIVATE */
DB *__bt_open (const char *, int, int, const BTREEINFO *, int);
DB *__hash_open (const char *, int, int, const HASHINFO *, int);
DB *__rec_open (const char *, int, int, const RECNOINFO *, int);
void __dbpanic (DB *dbp);
/* #endif */
__END_DECLS
#if defined(linux) && !defined(MKLINUX) && !defined(__mc68000__)
/*
* Why you would want to override the system defines?
*/
#if BYTE_ORDER != LITTLE_ENDIAN
#define BYTE_ORDER LITTLE_ENDIAN
#endif
#endif
#if defined(__hpux) || defined(__hppa)
#define BYTE_ORDER BIG_ENDIAN
#define BIG_ENDIAN 4321
#define LITTLE_ENDIAN 1234 /* LSB first: i386, vax, all NT risc */
#endif
#if defined(AIXV3)
/* BYTE_ORDER, LITTLE_ENDIAN, BIG_ENDIAN are all defined here */
#include <sys/machine.h>
#endif
#ifdef __alpha
#include <endian.h>
#endif
#endif /* !_DB_H_ */

View File

@@ -1,94 +0,0 @@
/* -*- 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.
*/
/*-
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
*
* This code is derived from software contributed to Berkeley by
* Margo Seltzer.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* @(#)ndbm.h 8.1 (Berkeley) 6/2/93
*/
#ifndef _NDBM_H_
#define _NDBM_H_
#include "mcom_db.h"
/* Map dbm interface onto db(3). */
#define DBM_RDONLY O_RDONLY
/* Flags to dbm_store(). */
#define DBM_INSERT 0
#define DBM_REPLACE 1
/*
* The db(3) support for ndbm(3) always appends this suffix to the
* file name to avoid overwriting the user's original database.
*/
#define DBM_SUFFIX ".db"
typedef struct {
char *dptr;
int dsize;
} datum;
typedef DB DBM;
#define dbm_pagfno(a) DBM_PAGFNO_NOT_AVAILABLE
__BEGIN_DECLS
void dbm_close (DBM *);
int dbm_delete (DBM *, datum);
datum dbm_fetch (DBM *, datum);
datum dbm_firstkey (DBM *);
long dbm_forder (DBM *, datum);
datum dbm_nextkey (DBM *);
DBM *dbm_open (const char *, int, int);
int dbm_store (DBM *, datum, datum, int);
int dbm_dirfno (DBM *);
__END_DECLS
#endif /* !_NDBM_H_ */

View File

@@ -1,74 +0,0 @@
/* -*- Mode: C; tab-width: 8; 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.
*/
/* merrors.h --- error codes for netlib. */
#ifndef _MERRORS_H_
#define _MERRORS_H_
/*
* Return codes
*/
#define MK_INTERRUPTED -201
#define MK_UNABLE_TO_CONVERT -208
#define MK_UNABLE_TO_LOGIN -210
#define MK_NO_NEWS_SERVER -224
#define MK_USE_FTP_INSTEAD -225
#define MK_USE_COPY_FROM_CACHE -226
#define MK_EMPTY_NEWS_LIST -227
#define MK_MAILTO_NOT_READY -228
#define MK_OBJECT_NOT_IN_CACHE -239
#define MK_UNABLE_TO_LISTEN_ON_SOCKET -244
#define MK_WAITING_FOR_LOOKUP -248 /* response for async dns */
#define MK_DO_REDIRECT -249 /* tells mkgeturl to redirect */
#define MK_MIME_NEED_B64 -270 /* used internally */
#define MK_MIME_NEED_QP -271 /* used internally */
#define MK_MIME_NEED_TEXT_CONVERTER -272 /* used internally */
#define MK_MIME_NEED_PS_CONVERTER -273 /* used internally */
#define MK_IMAGE_LOSSAGE -277
#define MK_TOO_MANY_OPEN_FILES -310
#define MK_FILE_WRITE_ERROR -350
#define MK_GET_REST_OF_PARTIAL_FILE_FROM_NETWORK -399
#define MK_MULTIPART_MESSAGE_COMPLETED -437
#define MK_OFFLINE -438
/* success codes */
#define MK_DATA_LOADED 1
#define MK_NO_DATA 2
#define MK_NO_ACTION 3
#define MK_CHANGING_CONTEXT 4
#endif /* _MERRORS_H_ */

View File

@@ -1,115 +0,0 @@
/* -*- 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.
*/
#ifndef MIME_H
#define MIME_H
#include "ntypes.h"
#include "mimeenc.h"
XP_BEGIN_PROTOS
extern PUBLIC const char *FE_UsersOrganization(void);
/* Returns the appropriate contents of a From: field of a mail message
originating from the current user. This calls FE_UsersFullName()
and FE_UsersMailAddress() and correctly munges the values, using
MSG_MakeFullAddress()
A new string is returned, which you must free when you're done with it.
*/
extern PUBLIC char *MIME_MakeFromField (void);
extern PUBLIC void MISC_ValidateSignature (MWContext *context,
const char *sig);
/* This does a very rough sanity-check on the return email address specified
in preferences, and pops up a dialog and returns negative if there is
something obviously wrong. MSG_ComposeMessage() calls this, and won't
let messages be composed until the problem is corrected. The FEs should
call this after preferences have been edited as well.
The address should be just the email address, not including the real name.
*/
extern PUBLIC int MISC_ValidateReturnAddress (MWContext *context,
const char *addr);
/* Convert a block of text to the MIME quoted-printable encoding.
Returns a new string and its size, or NULL if it couldn't allocate.
*/
extern PUBLIC void MIME_EncodeQuotedPrintableString(const unsigned char *input,
uint32 input_size,
unsigned char **output,
uint32 *output_size);
/* Convert a block of text to the MIME base64 encoding.
Returns a new string and its size, or NULL if it couldn't allocate.
*/
extern PUBLIC void MIME_EncodeBase64String(const unsigned char *input,
uint32 input_size,
unsigned char **output,
uint32 *output_size);
/* build a mailto: url address given a to field
*
* returns a malloc'd string
*/
extern char *
MIME_BuildMailtoURLAddress(const char * to);
/* build a news: url address to post to, given a partial news-post
* URL and the newsgroups line
*
* returns a malloc'd string
*/
extern char *
MIME_BuildNewspostURLAddress(const char *partial_newspost_url,
const char *newsgroups);
/* If the argument is true, we use quoted-printable encoding on mail and
news messages which have 8bit characters in them. Otherwise, we assume
that the mail and news transport will not strip the eighth bit (a bad
assumption.) */
extern void MIME_ConformToStandard (XP_Bool conform_p);
/* Generate headers for a form post to a mailto: URL.
This lets the URL specify additional headers, but is careful to
ignore headers which would be dangerous. It may modify the URL
(because of CC) so a new URL to actually post to is returned.
*/
extern int MIME_GenerateMailtoFormPostHeaders (const char *old_post_url,
const char *referer,
char **new_post_url_return,
char **headers_return);
extern NET_StreamClass *
NET_MimeMakePartialEncodingConverterStream (int format_out,
void *data_obj,
URL_Struct *URL_s,
MWContext *window_id,
NET_StreamClass *next_stream);
extern int MIME_HasAttachments(MWContext *context);
XP_END_PROTOS
#endif /* mime.h */

View File

@@ -1,85 +0,0 @@
/* -*- 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.
*/
/* mimeenc.c --- MIME encoders and decoders, version 2 (see mimei.h)
Created: Jamie Zawinski <jwz@netscape.com>, 15-May-96.
*/
#ifndef _MIMEENC_H_
#define _MIMEENC_H_
#include "xp.h"
/* This file defines interfaces to generic implementations of Base64,
Quoted-Printable, and UU decoders; and of Base64 and Quoted-Printable
encoders.
*/
/* Opaque objects used by the encoder/decoder to store state. */
typedef struct MimeDecoderData MimeDecoderData;
typedef struct MimeEncoderData MimeEncoderData;
XP_BEGIN_PROTOS
/* functions for creating that opaque data.
*/
MimeDecoderData *MimeB64DecoderInit(int (*output_fn) (const char *buf,
int32 size,
void *closure),
void *closure);
MimeDecoderData *MimeQPDecoderInit (int (*output_fn) (const char *buf,
int32 size,
void *closure),
void *closure);
MimeDecoderData *MimeUUDecoderInit (int (*output_fn) (const char *buf,
int32 size,
void *closure),
void *closure);
MimeEncoderData *MimeB64EncoderInit(int (*output_fn) (const char *buf,
int32 size,
void *closure),
void *closure);
MimeEncoderData *MimeQPEncoderInit (int (*output_fn) (const char *buf,
int32 size,
void *closure),
void *closure);
MimeEncoderData *MimeUUEncoderInit (char *filename,
int (*output_fn) (const char *buf,
int32 size,
void *closure),
void *closure);
/* Push data through the encoder/decoder, causing the above-provided write_fn
to be called with encoded/decoded data. */
int MimeDecoderWrite (MimeDecoderData *data, const char *buffer, int32 size);
int MimeEncoderWrite (MimeEncoderData *data, const char *buffer, int32 size);
/* When you're done encoding/decoding, call this to free the data. If
abort_p is FALSE, then calling this may cause the write_fn to be called
one last time (as the last buffered data is flushed out.)
*/
int MimeDecoderDestroy(MimeDecoderData *data, XP_Bool abort_p);
int MimeEncoderDestroy(MimeEncoderData *data, XP_Bool abort_p);
XP_END_PROTOS
#endif /* _MIMEENC_H_ */

View File

@@ -1,123 +0,0 @@
/* -*- 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.
*/
/*******************************************************************************
* Mini Component Object Model
******************************************************************************/
#ifndef MINICOM_H
#define MINICOM_H
#ifdef __cplusplus
extern "C" {
#endif
/******************************************************************************/
#if defined(XP_PC) && !defined(XP_OS2)
#if defined(_WIN32)
#include "objbase.h"
#else
#include <windows.h>
#include "compobj.h"
#endif
#else /* !XP_PC or XP_OS2*/
#if defined(XP_OS2)
#define TID OS2TID /* global rename in OS2 H's! */
#include <os2.h>
#undef TID /* and restore */
#endif
typedef struct _GUID {
long Data1;
short Data2;
short Data3;
char Data4[8];
} GUID;
typedef GUID IID;
typedef GUID CLSID;
typedef IID* REFIID;
typedef GUID* REFGUID;
typedef CLSID* REFCLSID;
#ifdef __cplusplus
#define EXTERN_C extern "C"
#else
#define EXTERN_C
#endif /* cplusplus */
#ifndef INITGUID
#define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
EXTERN_C const GUID name
#else
#define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
EXTERN_C const GUID name \
= { l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } }
#endif /* INITGUID */
#endif /* !XP_PC or XP_OS2*/
#define JRI_DEFINE_GUID(name, l, w1, w2) \
DEFINE_GUID(name, l, w1, w2, \
0xbb, 0x58, 0x00, 0x80, 0x5f, 0x74, 0x03, 0x79)
typedef long
(*MCOM_QueryInterface_t)(void* self, REFIID id, void* *result);
typedef long
(*MCOM_AddRef_t)(void* self);
typedef long
(*MCOM_Release_t)(void* self);
#if !defined(XP_PC) || defined(XP_OS2)
typedef struct IUnknown {
MCOM_QueryInterface_t QueryInterface;
MCOM_AddRef_t AddRef;
MCOM_Release_t Release;
} IUnknown;
#define IUnknown_QueryInterface(self, interfaceID, resultingInterface) \
(((*((IUnknown**)self))->QueryInterface)(self, interfaceID, resultingInterface))
#define IUnknown_AddRef(self) \
(((*((IUnknown**)self))->AddRef)(self))
#define IUnknown_Release(self) \
(((*((IUnknown**)self))->Release)(self))
#endif /* !XP_PC or XP_OS2*/
typedef long
(*MCOM_CreateInstance_t)(void* self, IUnknown* outer, REFIID interfaceID,
void** newInstance);
typedef long
(*MCOM_LockServer_t)(void* self, int doLock);
/******************************************************************************/
#ifdef __cplusplus
}
#endif
#endif /* MINICOM_H */
/******************************************************************************/

View File

@@ -1,155 +0,0 @@
/* -*- 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.
*/
/*
** This file is Michael Toy's fault. If you hate it or have troubles figuring
** it out, you should bother him about it.
**
** This file generates both the fields of the front end structure, and the
** fe specific prototypes for your front end implementations, AND the
** the code to fill in the structure in your context initilization code
**
** To use it:
**
** #define MAKE_FE_FUNCS_STRUCT
** #include "mk_cx_fn.h"
** This will generate the field definitions for the structure.
**
** #define MAKE_FE_FUNCS_PREFIX(func) prefix_##func
** #define MAKE_FE_FUNCS_ASSIGN cx->
** #include "mk_cx_fn.h"
** Substitute your naming prefix for "prefix" (e.g XFE)
** This will generate the assignment statements to fill in the structure,
** the definition of MAKE_FE_FUNCS_ASSIGN will be the left hand side of the
** assignment statement.
**
** #define MAKE_FE_FUNCS_PREFIX(func) prefix_##func
** #define MAKE_FE_FUNCS_EXTERN
** #include "mk_cx_fn.h"
** This will generate the prototypes for all your front end functions.
*/
#if defined(MAKE_FE_FUNCS_TYPES)
#define FE_DEFINE(func, returns, args) typedef returns (*MAKE_FE_TYPES_PREFIX(func)) args;
#elif defined(MAKE_FE_FUNCS_STRUCT)
#define FE_DEFINE(func, returns, args) returns (*func) args;
#elif defined(MAKE_FE_FUNCS_EXTERN)
#define FE_DEFINE(func, returns, args) extern returns MAKE_FE_FUNCS_PREFIX(func) args;
#elif defined(MAKE_FE_FUNCS_ASSIGN)
#define FE_DEFINE(func, returns, args) MAKE_FE_FUNCS_ASSIGN func = MAKE_FE_FUNCS_PREFIX(func);
#elif !defined(FE_DEFINE)
You;Should;Read;The;Header;For;This;File;Before;Including;Error;Error;Error;
#endif
FE_DEFINE(CreateNewDocWindow, MWContext*, (MWContext * calling_context,URL_Struct * URL))
FE_DEFINE(LayoutNewDocument, void, (MWContext *context, URL_Struct *url_struct, int32 *iWidth, int32 *iHeight, int32 *mWidth, int32 *mHeight))
FE_DEFINE(SetDocTitle,void, (MWContext * context, char * title))
FE_DEFINE(FinishedLayout,void, (MWContext *context))
FE_DEFINE(TranslateISOText,char *, (MWContext * context, int charset, char *ISO_Text))
FE_DEFINE(GetTextInfo,int, (MWContext * context, LO_TextStruct *text, LO_TextInfo *text_info))
#ifdef XP_MAC
FE_DEFINE(MeasureText,int, (MWContext * context, LO_TextStruct *text, short *charLocs))
#endif
FE_DEFINE(GetEmbedSize,void, (MWContext * context, LO_EmbedStruct *embed_struct, NET_ReloadMethod force_reload))
FE_DEFINE(GetJavaAppSize,void, (MWContext * context, LO_JavaAppStruct *java_struct, NET_ReloadMethod force_reload))
FE_DEFINE(GetFormElementInfo,void, (MWContext * context, LO_FormElementStruct * form_element))
FE_DEFINE(GetFormElementValue,void, (MWContext * context, LO_FormElementStruct * form_element, XP_Bool hide))
FE_DEFINE(ResetFormElement,void, (MWContext * context, LO_FormElementStruct * form_element))
FE_DEFINE(SetFormElementToggle,void, (MWContext * context, LO_FormElementStruct * form_element, XP_Bool toggle))
FE_DEFINE(FreeEmbedElement,void, (MWContext *context, LO_EmbedStruct *))
#ifdef SHACK
FE_DEFINE(FreeBuiltinElement,void, (MWContext *context, LO_BuiltinStruct *))
#endif
FE_DEFINE(CreateEmbedWindow, void, (MWContext *context, NPEmbeddedApp *app))
FE_DEFINE(SaveEmbedWindow, void, (MWContext *context, NPEmbeddedApp *app))
FE_DEFINE(RestoreEmbedWindow, void, (MWContext *context, NPEmbeddedApp *app))
FE_DEFINE(DestroyEmbedWindow, void, (MWContext *context, NPEmbeddedApp *app))
FE_DEFINE(FreeJavaAppElement,void, (MWContext *context, struct LJAppletData *appletData))
FE_DEFINE(HideJavaAppElement,void, (MWContext *context, struct LJAppletData *))
FE_DEFINE(FreeEdgeElement,void, (MWContext *context, LO_EdgeStruct *))
FE_DEFINE(FormTextIsSubmit,void, (MWContext * context, LO_FormElementStruct * form_element))
FE_DEFINE(DisplaySubtext,void, (MWContext * context, int iLocation, LO_TextStruct *text, int32 start_pos, int32 end_pos, XP_Bool need_bg))
FE_DEFINE(DisplayText,void, (MWContext * context, int iLocation, LO_TextStruct *text, XP_Bool need_bg))
FE_DEFINE(DisplayEmbed,void, (MWContext * context, int iLocation ,LO_EmbedStruct *embed_struct))
#ifdef SHACK
FE_DEFINE(DisplayBuiltin,void, (MWContext * context, int iLocation ,LO_BuiltinStruct *builtin_struct))
#endif
FE_DEFINE(DisplayJavaApp,void, (MWContext * context, int iLocation ,LO_JavaAppStruct *java_struct))
FE_DEFINE(DisplayEdge,void, (MWContext * context, int iLocation ,LO_EdgeStruct *edge_struct))
FE_DEFINE(DisplayTable,void, (MWContext * context, int iLocation ,LO_TableStruct *table_struct))
FE_DEFINE(DisplayCell,void, (MWContext * context, int iLocation ,LO_CellStruct *cell_struct))
#ifdef XP_MAC
FE_DEFINE(InvalidateEntireTableOrCell,void, (MWContext * context, LO_Element *element))
FE_DEFINE(DisplayAddRowOrColBorder,void, (MWContext * context, XP_Rect* r ,XP_Bool bErase))
#endif
FE_DEFINE(DisplaySubDoc,void, (MWContext * context, int iLocation ,LO_SubDocStruct *subdoc_struct))
FE_DEFINE(DisplayLineFeed,void, (MWContext * context, int iLocation , LO_LinefeedStruct *line_feed, XP_Bool need_bg))
FE_DEFINE(DisplayHR,void, (MWContext * context, int iLocation , LO_HorizRuleStruct *HR_struct))
FE_DEFINE(DisplayBullet,void, (MWContext *context, int iLocation, LO_BullettStruct *bullet))
FE_DEFINE(DisplayFormElement,void, (MWContext * context, int iLocation, LO_FormElementStruct * form_element))
FE_DEFINE(DisplayBorder,void, (MWContext *context, int iLocation, int x, int y, int width, int height, int bw, LO_Color *color, LO_LineStyle style))
#ifdef XP_MAC
FE_DEFINE(UpdateEnableStates,void, (MWContext *context))
#endif
FE_DEFINE(DisplayFeedback,void, (MWContext *context, int iLocation, LO_Element *element))
FE_DEFINE(ClearView,void, (MWContext * context, int which))
FE_DEFINE(SetDocDimension,void, (MWContext *context, int iLocation, int32 iWidth, int32 iLength))
FE_DEFINE(SetDocPosition,void, (MWContext *context, int iLocation, int32 iX, int32 iY))
FE_DEFINE(GetDocPosition,void, (MWContext *context, int iLocation, int32 *iX, int32 *iY))
FE_DEFINE(BeginPreSection,void, (MWContext *context))
FE_DEFINE(EndPreSection,void, (MWContext *context))
FE_DEFINE(SetProgressBarPercent,void, (MWContext *context, int32 percent))
FE_DEFINE(SetBackgroundColor,void, (MWContext *context, uint8 red, uint8 green, uint8 blue))
FE_DEFINE(Progress, void, (MWContext * cx, const char *msg))
FE_DEFINE(Alert, void, (MWContext * cx, const char *msg))
FE_DEFINE(SetCallNetlibAllTheTime, void, (MWContext * win_id))
FE_DEFINE(ClearCallNetlibAllTheTime, void, (MWContext * win_id))
FE_DEFINE(GraphProgressInit, void, (MWContext *context, URL_Struct *URL_s, int32 content_length))
FE_DEFINE(GraphProgressDestroy, void, (MWContext *context, URL_Struct *URL_s, int32 content_length, int32 total_bytes_read))
FE_DEFINE(GraphProgress, void, (MWContext *context, URL_Struct *URL_s, int32 bytes_received, int32 bytes_since_last_time, int32 content_length))
FE_DEFINE(UseFancyFTP, XP_Bool, (MWContext * window_id))
FE_DEFINE(UseFancyNewsgroupListing, XP_Bool, (MWContext *window_id))
FE_DEFINE(FileSortMethod, int, (MWContext * window_id))
FE_DEFINE(ShowAllNewsArticles, XP_Bool, (MWContext *window_id))
FE_DEFINE(Confirm, XP_Bool,(MWContext * context, const char * Msg))
FE_DEFINE(Prompt,char*,(MWContext * context, const char * Msg, const char * dflt))
FE_DEFINE(PromptWithCaption,char*,(MWContext * context, const char *caption, const char * Msg, const char * dflt))
FE_DEFINE(PromptUsernameAndPassword, XP_Bool, (MWContext *,const char *,char **, char **))
FE_DEFINE(PromptPassword,char*,(MWContext * context, const char * Msg))
FE_DEFINE(EnableClicking,void,(MWContext*))
FE_DEFINE(AllConnectionsComplete,void,(MWContext * context))
#ifdef XP_OS2 /* performance */
FE_DEFINE(GetMaxWidth,int, (MWContext * context, LO_TextStruct *text))
#endif
#ifdef LAYERS
FE_DEFINE(EraseBackground, void, (MWContext *, int, int32, int32, uint32, uint32, LO_Color *))
FE_DEFINE(SetDrawable, void, (MWContext *, CL_Drawable *))
FE_DEFINE(GetTextFrame, void, (MWContext *, LO_TextStruct *, int32, int32, XP_Rect *))
#ifdef XP_MAC
FE_DEFINE(GetDefaultBackgroundColor, void, (MWContext* context, LO_Color* color))
#endif
#endif
/* these functions are to allow dealyed native window applet creation and transparent applet */
FE_DEFINE(HandleClippingView, void, (MWContext *pContext, struct LJAppletData *appletD, int x, int y, int width, int height))
FE_DEFINE(DrawJavaApp, void, (MWContext *pContext, int iLocation, LO_JavaAppStruct *pJava))
#undef FE_DEFINE
#undef MAKE_FE_FUNCS_PREFIX
#undef MAKE_FE_FUNCS_ASSIGN
#undef MAKE_FE_FUNCS_EXTERN
#undef MAKE_FE_FUNCS_STRUCT

View File

@@ -1,219 +0,0 @@
/* -*- 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.
*/
/* foobar Public API for mail (and news?) filters */
#ifndef MSG_RULE_H
#define MSG_RULE_H
/*
Terminology - Filter - either a Rule (defined with GUI) or a (Java) Script
Rule -
*/
#include "msg_srch.h"
typedef enum
{
FilterError_Success = 0, /* no error */
FilterError_First = SearchError_Last + 1, /* no functions return this; just for bookkeeping */
FilterError_NotImplemented, /* coming soon */
FilterError_OutOfMemory, /* out of memory */
FilterError_FileError, /* error reading or writing the rules file */
FilterError_InvalidVersion, /* invalid filter file version */
FilterError_InvalidIndex, /* Invalid filter index */
FilterError_InvalidMotion, /* invalid filter move motion */
FilterError_InvalidFilterType, /* method doesn't accept this filter type */
FilterError_NullPointer, /* a required pointer parameter was null */
FilterError_NotRule, /* tried to get rule for non-rule filter */
FilterError_NotScript, /* tried to get a script name for a non-script filter */
FilterError_InvalidAction, /* invalid action */
FilterError_SearchError, /* error in search code */
FilterError_Last /* no functions return this; just for bookkeeping */
} MSG_FilterError;
typedef enum
{
acNone, /* uninitialized state */
acMoveToFolder,
acChangePriority,
acDelete,
acMarkRead,
acKillThread,
acWatchThread
} MSG_RuleActionType;
typedef enum
{
filterInboxRule = 0x1,
filterInboxJavaScript = 0x2,
filterInbox = 0x3,
filterNewsRule = 0x4,
filterNewsJavaScript = 0x8,
filterNews=0xb,
filterAll=0xf
} MSG_FilterType;
typedef enum
{
filterUp,
filterDown
} MSG_FilterMotion;
typedef int32 MSG_FilterIndex;
/* opaque struct defs - defined in libmsg/pmsgfilt.h */
#ifdef XP_CPLUSPLUS
struct MSG_Filter;
struct MSG_Rule;
struct MSG_RuleAction;
struct MSG_FilterList;
#else
typedef struct MSG_FilterList MSG_FilterList;
typedef struct MSG_Filter MSG_Filter;
typedef struct MSG_Rule MSG_Rule;
typedef struct MSG_RuleAction MSG_RuleAction;
#endif
XP_BEGIN_PROTOS
/* Front ends call MSG_OpenFilterList to get a handle to a FilterList, of existing MSG_Filter *.
These are manipulated by the front ends as a result of user interaction
with dialog boxes. To apply the new list, fe's call MSG_CloseFilterList.
For example, if the user brings up the rule management UI, deletes a rule,
and presses OK, the front end calls MSG_RemoveFilterListAt, and
then MSG_CloseFilterList.
*/
MSG_FilterError MSG_OpenFilterList(MSG_Master *master, MSG_FilterType type, MSG_FilterList **filterList);
MSG_FilterError MSG_OpenFolderFilterList(MSG_Pane *pane, MSG_FolderInfo *folder, MSG_FilterType type, MSG_FilterList **filterList);
MSG_FilterError MSG_CloseFilterList(MSG_FilterList *filterList);
MSG_FilterError MSG_SaveFilterList(MSG_FilterList *filterList); /* save without deleting */
MSG_FilterError MSG_CancelFilterList(MSG_FilterList *filterList);
MSG_FolderInfo *MSG_GetFolderInfoForFilterList(MSG_FilterList *filterList);
MSG_FilterError MSG_GetFilterCount(MSG_FilterList *filterList, int32 *pCount);
MSG_FilterError MSG_GetFilterAt(MSG_FilterList *filterList,
MSG_FilterIndex filterIndex, MSG_Filter **filter);
/* these methods don't delete filters - they just change the list. FE still must
call MSG_DestroyFilter to delete a filter.
*/
MSG_FilterError MSG_SetFilterAt(MSG_FilterList *filterList,
MSG_FilterIndex filterIndex, MSG_Filter *filter);
MSG_FilterError MSG_RemoveFilterAt(MSG_FilterList *filterList,
MSG_FilterIndex filterIndex);
MSG_FilterError MSG_MoveFilterAt(MSG_FilterList *filterList,
MSG_FilterIndex filterIndex, MSG_FilterMotion motion);
MSG_FilterError MSG_InsertFilterAt(MSG_FilterList *filterList,
MSG_FilterIndex filterIndex, MSG_Filter *filter);
MSG_FilterError MSG_EnableLogging(MSG_FilterList *filterList, XP_Bool enable);
XP_Bool MSG_IsLoggingEnabled(MSG_FilterList *filterList);
/* In general, any data gotten with MSG_*Get is good until the owning object
is deleted, or the data is replaced with a MSG_*Set call. For example, the name
returned in MSG_GetFilterName is valid until either the filter is destroyed,
or MSG_SetFilterName is called on the same filter.
*/
MSG_FilterError MSG_CreateFilter (MSG_FilterType type, char *name, MSG_Filter **result);
MSG_FilterError MSG_DestroyFilter(MSG_Filter *filter);
MSG_FilterError MSG_GetFilterType(MSG_Filter *, MSG_FilterType *filterType);
MSG_FilterError MSG_EnableFilter(MSG_Filter *, XP_Bool enable);
MSG_FilterError MSG_IsFilterEnabled(MSG_Filter *, XP_Bool *enabled);
MSG_FilterError MSG_GetFilterRule(MSG_Filter *, MSG_Rule ** result);
MSG_FilterError MSG_GetFilterName(MSG_Filter *, char **name);
MSG_FilterError MSG_SetFilterName(MSG_Filter *, const char *name);
MSG_FilterError MSG_GetFilterDesc(MSG_Filter *, char **description);
MSG_FilterError MSG_SetFilterDesc(MSG_Filter*, const char *description);
MSG_FilterError MSG_GetFilterScript(MSG_Filter *, char **name);
MSG_FilterError MSG_SetFilterScript(MSG_Filter *, const char *name);
MSG_FilterError MSG_RuleAddTerm(MSG_Rule *,
MSG_SearchAttribute attrib, /* attribute for this term */
MSG_SearchOperator op, /* operator e.g. opContains */
MSG_SearchValue *value, /* value e.g. "Dogbert" */
XP_Bool BooleanAND, /* TRUE if AND is the boolean operator. FALSE if OR is the boolean operators */
char * arbitraryHeader); /* arbitrary header specified by user. ignored unless attrib = attribOtherHeader */
MSG_FilterError MSG_RuleGetNumTerms(MSG_Rule *, int32 *numTerms);
MSG_FilterError MSG_RuleGetTerm(MSG_Rule *, int32 termIndex,
MSG_SearchAttribute *attrib, /* attribute for this term */
MSG_SearchOperator *op, /* operator e.g. opContains */
MSG_SearchValue *value, /* value e.g. "Dogbert" */
XP_Bool *BooleanAnd, /* TRUE if AND is the boolean operator. FALSE if OR is the boolean operator */
char ** arbitraryHeader); /* arbitrary header specified by user. ignore unless attrib = attribOtherHeader */
MSG_FilterError MSG_RuleSetScope(MSG_Rule *, MSG_ScopeTerm *scope);
MSG_FilterError MSG_RuleGetScope(MSG_Rule *, MSG_ScopeTerm **scope);
/* if type is acChangePriority, value is a pointer to priority.
If type is acMoveToFolder, value is pointer to folder name.
Otherwise, value is ignored.
*/
MSG_FilterError MSG_RuleSetAction(MSG_Rule *, MSG_RuleActionType type, void *value);
MSG_FilterError MSG_RuleGetAction(MSG_Rule *, MSG_RuleActionType *type, void **value);
/* help FEs manage menu choices in Filter dialog box */
/* Use this to help build menus in the filter dialogs. See APIs below */
typedef struct MSG_RuleMenuItem
{
int16 attrib;
char name[32];
} MSG_RuleMenuItem;
MSG_FilterError MSG_GetRuleActionMenuItems (
MSG_FilterType type, /* type of filter */
MSG_RuleMenuItem *items, /* array of caller-allocated structs */
uint16 *maxItems); /* in- max array size; out- num returned */
MSG_FilterError MSG_GetFilterWidgetForAction( MSG_RuleActionType action,
MSG_SearchValueWidget *widget );
MSG_SearchError MSG_GetValuesForAction( MSG_RuleActionType action,
MSG_SearchMenuItem *items,
uint16 *maxItems);
void MSG_ViewFilterLog(MSG_Pane *pane);
/*
** Adding/editting javascript filters.
**
** The FE calls one of the below functions, along with a callback and some closure
** data. This callback is invoked when the user clicks OK in the JS filter dialog.
** If CANCEL is pressed, the callback is not invoked.
**
** If the user called MSG_EditJSFilter, the filter_index parameter of the callback
** is the same one passed in. If the user called MSG_NewJSFilter, the filter_index
** parameter is -1.
**
** The filter_changed parameter is TRUE if the user modified any of the fields of
** the javascript filter, and FALSE otherwise.
*/
typedef void (*JSFilterCallback)(void* arg, MSG_FilterIndex filter_index, XP_Bool filter_changed);
void MSG_EditJSFilter(MWContext *context, MSG_FilterList *filter_list,
MSG_FilterIndex filter_index,
JSFilterCallback cb, void *arg);
void MSG_NewJSFilter(MWContext *context, MSG_FilterList *filter_list,
MSG_FilterType filter_type, JSFilterCallback cb, void *arg);
XP_END_PROTOS
#endif

View File

@@ -1,447 +0,0 @@
/* -*- 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.
*/
/*
* Public API for searching mail, news, and LDAP
* pieces of this API are also used by filter rules and address book
*
*/
#ifndef _MSG_SRCH_H
#define _MSG_SRCH_H
#include "msgcom.h" /* for MSG_PRIORITY, MessageKey */
#include "dirprefs.h" /* for DIR_AttributeId */
#define FE_IMPLEMENTS_BOOLEAN_OR
#define B3_SEARCH_API
typedef enum
{
SearchError_First, /* no functions return this; just for bookkeeping */
SearchError_Success, /* no error */
SearchError_NotImplemented, /* coming soon */
SearchError_OutOfMemory, /* can't allocate required memory */
SearchError_NullPointer, /* a req'd pointer parameter was null */
SearchError_ScopeAgreement, /* attr or op not supp in this scope */
SearchError_ListTooSmall, /* menu item array not big enough */
SearchError_ResultSetEmpty, /* search done, no matches found */
SearchError_ResultSetTooBig, /* too many matches to get them all */
SearchError_InvalidAttribute, /* specified attrib not in enum */
SearchError_InvalidScope, /* specified scope not in enum */
SearchError_InvalidOperator, /* specified op not in enum */
SearchError_InvalidSearchTerm, /* cookie for search term is bogus */
SearchError_InvalidScopeTerm, /* cookie for scope term is bogus */
SearchError_InvalidResultElement, /* cookie for result element is bogus */
SearchError_InvalidPane, /* context probably bogus */
SearchError_InvalidStream, /* in strm bad (too short? bad magic?) */
SearchError_InvalidFolder, /* given folderInfo isn't searchable */
SearchError_InvalidIndex, /* the passed index is invalid */
SearchError_HostNotFound, /* couldn't connect to server */
SearchError_Timeout, /* network didn't respond */
SearchError_DBOpenFailed, /* couldn't open off-line msg db */
SearchError_NotAMatch, /* used internally for term eval */
SearchError_ScopeDone, /* used internally for scope list eval */
SearchError_Unknown, /* some random error */
SearchError_Last /* no functions return this; just for bookkeeping */
} MSG_SearchError;
typedef enum
{
scopeMailFolder,
scopeNewsgroup,
scopeLdapDirectory,
scopeOfflineNewsgroup,
scopeAllSearchableGroups
} MSG_ScopeAttribute;
/* NB: If you add elements to this enum, add only to the end, since
* RULES.DAT stores enum values persistently
*/
typedef enum
{
attribSender = 0, /* mail and news */
attribSubject,
attribBody,
attribDate,
attribPriority, /* mail only */
attribMsgStatus,
attribTo,
attribCC,
attribToOrCC,
attribCommonName, /* LDAP only */
attrib822Address,
attribPhoneNumber,
attribOrganization,
attribOrgUnit,
attribLocality,
attribStreetAddress,
attribSize,
attribAnyText, /* any header or body */
attribKeywords,
attribDistinguishedName, /* LDAP result elem only */
attribObjectClass,
attribJpegFile,
attribLocation, /* result list only */
attribMessageKey, /* message result elems */
attribAgeInDays, /* for purging old news articles */
attribGivenName, /* for sorting LDAP results */
attribSurname,
attribFolderInfo, /* for "view thread context" from result */
attribCustom1, /* custom LDAP attributes */
attribCustom2,
attribCustom3,
attribCustom4,
attribCustom5,
attribMessageId,
attribOtherHeader, /* for mail and news. MUST ALWAYS BE LAST attribute since we can have an arbitrary # of these...*/
kNumAttributes /* must be last attribute */
} MSG_SearchAttribute;
/* NB: If you add elements to this enum, add only to the end, since
* RULES.DAT stores enum values persistently
*/
typedef enum
{
opContains = 0, /* for text attributes */
opDoesntContain,
opIs, /* is and isn't also apply to some non-text attrs */
opIsnt,
opIsEmpty,
opIsBefore, /* for date attributes */
opIsAfter,
opIsHigherThan, /* for priority. opIs also applies */
opIsLowerThan,
opBeginsWith,
opEndsWith,
opSoundsLike, /* for LDAP phoenetic matching */
opLdapDwim, /* Do What I Mean for simple search */
opIsGreaterThan,
opIsLessThan,
kNumOperators /* must be last operator */
} MSG_SearchOperator;
/* FEs use this to help build the search dialog box */
typedef enum
{
widgetText,
widgetDate,
widgetMenu,
widgetInt, /* added to account for age in days which requires an integer field */
widgetNone
} MSG_SearchValueWidget;
/* Use this to specify the value of a search term */
typedef struct MSG_SearchValue
{
MSG_SearchAttribute attribute;
union
{
char *string;
MSG_PRIORITY priority;
time_t date;
uint32 msgStatus; /* see MSG_FLAG in msgcom.h */
uint32 size;
MessageKey key;
uint32 age; /* in days */
MSG_FolderInfo *folder;
} u;
} MSG_SearchValue;
/* Use this to help build menus in the search dialog. See APIs below */
#define kSearchMenuLength 64
typedef struct MSG_SearchMenuItem
{
int16 attrib;
char name[kSearchMenuLength];
XP_Bool isEnabled;
} MSG_SearchMenuItem;
#ifdef XP_CPLUSPLUS
struct MSG_ScopeTerm;
struct MSG_ResultElement;
struct DIR_Server;
#else
#include "dirprefs.h"
typedef struct MSG_ScopeTerm MSG_ScopeTerm;
typedef struct MSG_ResultElement MSG_ResultElement;
#endif
XP_BEGIN_PROTOS
/* manage lifetime of internal search memory */
MSG_SearchError MSG_SearchAlloc (MSG_Pane *); /* alloc memory in context */
MSG_SearchError MSG_SearchFree (MSG_Pane *); /* free memory in context */
MSG_SearchError MSG_AddSearchTerm (
MSG_Pane *searchPane, /* ptr to pane to add criteria */
MSG_SearchAttribute attrib, /* attribute for this term */
MSG_SearchOperator op, /* operator e.g. opContains */
MSG_SearchValue *value, /* value e.g. "Dogbert" */
XP_Bool BooleanAND, /* set to true if associated boolean operator is AND */
char * arbitraryHeader); /* user defined arbitrary header. ignored unless attrib = attribOtherHeader */
/* It's generally not necessary for the FE to read the list of terms after
* the list has been built. However, in our Basic/Advanced LDAP search dialogs
* the FE is supposed to remember the criteria, and since that information is
* lying around in the backend anyway, we'll just make it available to the FE
*/
MSG_SearchError MSG_CountSearchTerms (
MSG_Pane *searchPane,
int *numTerms);
MSG_SearchError MSG_GetNthSearchTerm (
MSG_Pane *searchPane,
int whichTerm,
MSG_SearchAttribute *attrib,
MSG_SearchOperator *op,
MSG_SearchValue *value);
MSG_SearchError MSG_CountSearchScopes (
MSG_Pane *searchPane,
int *numScopes);
MSG_SearchError MSG_GetNthSearchScope (
MSG_Pane *searchPane,
int which,
MSG_ScopeAttribute *scopeId,
void **scope);
/* add a scope (e.g. a mail folder) to the search */
MSG_SearchError MSG_AddScopeTerm (
MSG_Pane *searchPane, /* ptr to pane to add search scope */
MSG_ScopeAttribute attrib, /* what kind of scope term is this */
MSG_FolderInfo *folder); /* which folder to search */
/* special cases for LDAP since LDAP isn't really a folderInfo */
MSG_SearchError MSG_AddLdapScope (
MSG_Pane *searchPane,
DIR_Server *server);
MSG_SearchError MSG_AddAllLdapScopes (
MSG_Pane *searchPane,
XP_List *dirServerList);
/* Call this function everytime the scope changes! It informs the FE if
the current scope support custom header use. FEs should not display the
custom header dialog if custom headers are not supported */
XP_Bool MSG_ScopeUsesCustomHeaders(
MSG_Master * master,
MSG_ScopeAttribute scope,
void * selection, /* could be a folder or server based on scope */
XP_Bool forFilters); /* is this a filter we are talking about? */
XP_Bool MSG_IsStringAttribute( /* use this to determine if your attribute is a string attrib */
MSG_SearchAttribute);
/* add all scopes of a given type to the search */
MSG_SearchError MSG_AddAllScopes (
MSG_Pane *searchPane, /* ptr to pane to add scopes */
MSG_Master *master, /* mail or news scopes */
MSG_ScopeAttribute attrib); /* what kind of scopes to add */
/* begin execution of the search */
MSG_SearchError MSG_Search (
MSG_Pane *searchPane); /* So we know how to work async */
/* manage elements in list of search hits */
MSG_SearchError MSG_GetResultElement (
MSG_Pane *searchPane, /* ptr to pane containing results */
MSG_ViewIndex idx, /* zero-based index of result to get */
MSG_ResultElement **result); /* filled in resultElement. NOT allocated */
MSG_SearchError MSG_GetResultAttribute (
MSG_ResultElement *elem, /* which result elem to get value for */
MSG_SearchAttribute attrib, /* which attribute to get value for */
MSG_SearchValue **result); /* filled in value */
MSG_SearchError MSG_OpenResultElement (
MSG_ResultElement *elem, /* which result elem to open */
void *window); /* MSG_Pane* for mail/news, contxt for LDAP */
MWContextType MSG_GetResultElementType (
MSG_ResultElement *elem); /* context type needed for this elem */
MWContext *MSG_IsResultElementOpen (
MSG_ResultElement *elem); /* current context if open, NULL if not */
MSG_SearchError MSG_SortResultList (
MSG_Pane *searchPane, /* ptr to pane containing results */
MSG_SearchAttribute sortKey, /* which attribute is the sort key */
XP_Bool descending); /* T- sort descending, F- sort ascending */
MSG_SearchError MSG_DestroySearchValue (
MSG_SearchValue *value); /* free struct and heap-based struct elems */
MSG_SearchError MSG_ModifyLdapResult (
MSG_ResultElement *elem, /* which result element to modify */
MSG_SearchValue *val); /* new value to stuff in */
MSG_SearchError MSG_AddLdapResultsToAddressBook(
MSG_Pane *searchPane, /* ptr to pane containing results */
MSG_ViewIndex *indices, /* selection array */
int count); /* size of array */
MSG_SearchError MSG_ComposeFromLdapResults(
MSG_Pane *searchPane, /* ptr to pane containing results */
MSG_ViewIndex *indices, /* selection array */
int count); /* size of array */
/* help FEs manage menu selections in Search dialog box */
MSG_SearchError MSG_GetSearchWidgetForAttribute (
MSG_SearchAttribute attrib, /* which attr to get UI widget type for */
MSG_SearchValueWidget *widget); /* what kind of UI widget specifies attr */
/* For referring to DIR_Servers and MSG_FolderInfos polymorphically */
typedef struct MSG_ScopeUnion
{
MSG_ScopeAttribute *attribute;
union
{
DIR_Server *server;
MSG_FolderInfo *folder;
} u;
} MSG_ScopeUnion;
/* always call this routine b4 calling MSG_GetAttributesForSearchScopes to
determine how many elements your MSG_SearchMenuItem array needs to be */
MSG_SearchError MSG_GetNumAttributesForSearchScopes(
MSG_Master *master,
MSG_ScopeAttribute scope,
void ** selArray, /* selected items for LCD calculation */
uint16 selCount, /* number of selected items */
uint16 *numItems); /* out - number of attribute items for scope */
MSG_SearchError MSG_GetAttributesForSearchScopes (
MSG_Master *master,
MSG_ScopeAttribute scope,
void **selArray, /* selected items for LCD calculation */
uint16 selCount, /* number of selected items */
MSG_SearchMenuItem *items, /* array of caller-allocated structs */
uint16 *maxItems); /* in- max array size; out- num returned */
MSG_SearchError MSG_GetOperatorsForSearchScopes (
MSG_Master *master,
MSG_ScopeAttribute scope,
void **selArray, /* selected items for LCD calculation */
uint16 selCount, /* number of selected items */
MSG_SearchAttribute attrib, /* return available ops for this attrib */
MSG_SearchMenuItem *items, /* array of caller-allocated structs */
uint16 *maxItems); /* in- max array size; out- num returned */
MSG_SearchError MSG_GetScopeMenuForSearchMessages (
MSG_Master *master,
MSG_FolderInfo **selArray,
uint16 selCount,
MSG_SearchMenuItem *items,
uint16 *maxItems);
/* always call this routine b4 calling MSG_GetAttributesForFilterScopes to
determine how many elements your MSG_SearchMenuItem array needs to be */
MSG_SearchError MSG_GetNumAttributesForFilterScopes(
MSG_Master *master,
MSG_ScopeAttribute scope,
void ** selArray, /* selected items for LCD calculation */
uint16 selCount, /* number of selected items */
uint16 *numItems); /* out - number of attribute items for scope */
MSG_SearchError MSG_GetAttributesForFilterScopes (
MSG_Master *master,
MSG_ScopeAttribute scope,
void **selArray, /* selected items for LCD calculation */
uint16 selCount, /* number of selected items */
MSG_SearchMenuItem *items, /* array of caller-allocated structs */
uint16 *maxItems); /* in- max array size; out- num returned */
MSG_SearchError MSG_GetOperatorsForFilterScopes (
MSG_Master *master,
MSG_ScopeAttribute scope,
void **selArray, /* selected items for LCD calculation */
uint16 selCount, /* number of selected items */
MSG_SearchAttribute attrib, /* return available ops for this attrib */
MSG_SearchMenuItem *items, /* array of caller-allocated structs */
uint16 *maxItems); /* in- max array size; out- num returned */
/*****************************************************************************
These two functions have been added to the search APIs to help support Arbitrary
Headers. In particular, the FEs need to be able to grab a semaphore when they
create an edit headers dialog (we only want to allow 1 dialog to be open at a time).
AcquireEditHeadersSemaphore returns TRUE if the FE successfully acquired the semaphore
and FALSE if someone else acquired it. ReleaseEditHeaderSemaphore returns TRUE if you
were the original holder of the semaphore and the semaphore was released. FALSE if you
were not the original holder
**********************************************************************************/
XP_Bool MSG_AcquireEditHeadersSemaphore (MSG_Master * master, void * holder);
XP_Bool MSG_ReleaseEditHeadersSemaphore (MSG_Master * master, void * holder);
MSG_SearchError MSG_SearchAttribToDirAttrib (
MSG_SearchAttribute searchAttrib,
DIR_AttributeId *dirAttrib);
MSG_SearchError MSG_GetBasicLdapSearchAttributes (
DIR_Server *server,
MSG_SearchMenuItem *items,
int *maxItems);
/* maybe these belong in msgcom.h? */
void MSG_GetPriorityName (MSG_PRIORITY priority, char *name, uint16 max);
void MSG_GetUntranslatedPriorityName (MSG_PRIORITY priority,
char *name, uint16 max);
void MSG_GetStatusName (uint32 status, char *name, uint16 max);
MSG_PRIORITY MSG_GetPriorityFromString(const char *priority);
/* support for profile searching in Dredd */
MSG_SearchError MSG_SaveProfileStatus (MSG_Pane *searchPane, XP_Bool *enabled);
MSG_SearchError MSG_SaveProfile (MSG_Pane *searchPane, const char *profileName);
/* support for searching all Dredd groups + all subscribed groups */
MSG_SearchError MSG_AddAllSearchableGroupsStatus(MSG_Pane *searchPane, XP_Bool *enabled);
/* support for opening a search result in its thread pane context */
XP_Bool MSG_GoToFolderStatus (MSG_Pane *searchPane,
MSG_ViewIndex *indices,
int32 numIndices);
/* used between libnet and libmsg to allow searching for characters which
* are otherwise significant in news: URLs
*/
extern char *MSG_EscapeSearchUrl (const char *value);
extern char *MSG_UnEscapeSearchUrl (const char *value);
/* This is how "search:" of different mail/news folder types works */
extern int MSG_ProcessSearch (MWContext *context);
extern int MSG_InterruptSearch (MWContext *context);
XP_END_PROTOS
#endif /* _MSG_SRCH_H */

File diff suppressed because it is too large Load Diff

View File

@@ -1,80 +0,0 @@
/* -*- 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.
*/
/*
** msgmapi.h -- implements XP mail/news support for the Microsoft Mail API (MAPI)
**
*/
#ifndef _MSGMAPI_H
#define _MSGMAPI_H
#ifdef XP_WIN
#include "msgcom.h"
#include "abcom.h"
// rhp - to fix the problem caused by MSFT...grrrrr...
#ifndef MAPI_OLE // Because MSFT doesn't do this for us :-(
#include <mapi.h> // for MAPI specific types...
#endif
#ifdef XP_CPLUSPLUS
class MSG_MapiListContext;
#else
typedef struct MSG_MapiListContext MSG_MapiListContext;
#endif
XP_BEGIN_PROTOS
MessageKey MSG_GetFirstKeyInFolder (MSG_FolderInfo *folder, MSG_MapiListContext **cookie);
MessageKey MSG_GetNextKeyInFolder (MSG_MapiListContext *cookie);
XP_Bool MSG_GetMapiMessageById (MSG_FolderInfo *folder, MessageKey key, lpMapiMessage *message);
XP_Bool MSG_MarkMapiMessageRead (MSG_FolderInfo *folder, MessageKey key, XP_Bool read);
void MSG_FreeMapiMessage (lpMapiMessage msg);
/* Address Book Specific APIs to support MAPI calls for MAPIDetails and MAPIResolveName */
int AB_MAPI_ResolveName(
char * string,
AB_ContainerInfo ** ctr, /* caller allocates ptr to ctr, BE fills. Caller must close the ctr when done */
ABID * id);
/* Caller must free the character strings returned by these functions using XP_FREE */
char * AB_MAPI_GetEmailAddress(AB_ContainerInfo * ctr,ABID id);
char * AB_MAPI_GetFullName(AB_ContainerInfo * ctr, ABID id);
char * AB_MAPI_ConvertToDescription(AB_ContainerInfo * ctr);
AB_ContainerInfo * AB_MAPI_ConvertToContainer(char * description);
int AB_MAPI_CreatePropertySheetPane(
MWContext * context,
MSG_Master * master,
AB_ContainerInfo * ctr,
ABID id,
MSG_Pane ** personPane); /* BE fills the ptr with a person pane */
void AB_MAPI_CloseContainer(AB_ContainerInfo ** ctr);
XP_END_PROTOS
#endif /* XP_WIN */
#endif /* _MSGMAPI_H */

View File

@@ -1,491 +0,0 @@
/* -*- 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.
*/
/* msgnet.h --- prototypes for API's between libmsg and libnet.
*/
#ifndef _MSGNET_H_
#define _MSGNET_H_
#include "msgcom.h"
XP_BEGIN_PROTOS
/* so libnet can mark expired articles as read. */
extern int MSG_MarkMessageKeyRead (MSG_Pane *pane, MessageKey key, const char *xref);
/* record imap message flags in the db of the current pane (message or thread panes) */
extern void MSG_RecordImapMessageFlags(MSG_Pane* pane,
MessageKey msgKey,
imapMessageFlagsType flags);
/* notify libmsg of deleted messages */
extern void MSG_ImapMsgsDeleted(MSG_Pane *urlPane,
const char *onlineMailboxName,
XP_Bool deleteAllMsgs,
const char *doomedKeyString);
/* called to setup state before a copy download */
extern void MSG_StartImapMessageToOfflineFolderDownload(MWContext* context);
/* notify libmsg that inbox filtering is complete */
extern void MSG_ImapInboxFilteringComplete(MSG_Pane *urlPane);
/* notify libmsg that the online/offline synch is complete */
extern void MSG_ImapOnOffLineSynchComplete(MSG_Pane *urlPane);
/* notify libmsg that an imap folder load was interrupted */
extern void MSG_InterruptImapFolderLoad(MSG_Pane *urlPane, const char *hostName, const char *onlineFolderPath);
/* find a reference or NULL to the specified imap folder */
extern MSG_FolderInfo* MSG_FindImapFolder(MSG_Pane *urlPane, const char *hostName, const char *onlineFolderPath);
/* If there is a cached connection, for this folder, uncache it and return it */
extern TNavigatorImapConnection* MSG_UnCacheImapConnection(MSG_Master* master, const char *host, const char *folderName);
/* Cache this connection and return TRUE if there is not one there already, else false */
extern XP_Bool MSG_TryToCacheImapConnection(MSG_Master* master, const char *host, const char *folderName, TNavigatorImapConnection *connection);
extern void MSG_SetIMAPMessageUID (MessageKey key,
void *state);
extern const char *MSG_GetMessageIdFromState (void *state);
extern XP_Bool MSG_IsSaveDraftDeliveryState (void *state);
extern void MSG_SetUserAuthenticated (MSG_Master* master, XP_Bool bAuthenticated);
extern XP_Bool MSG_IsUserAuthenticated (MSG_Master* master);
extern void MSG_SetMailAccountURL(MSG_Master* master, const char *urlString);
extern const char *MSG_GetMailAccountURL(MSG_Master* master);
extern void MSG_SetNewsgroupUsername(MSG_Pane* pane, const char *username);
extern const char *MSG_GetNewsgroupUsername(MSG_Pane *pane);
extern void MSG_SetNewsgroupPassword(MSG_Pane* pane, const char *password);
extern const char *MSG_GetNewsgroupPassword(MSG_Pane *pane);
extern const char* MSG_GetPopHost(MSG_Prefs* prefs);
extern XP_Bool MSG_GetUseSSLForIMAP4(MSG_Pane *pane);
extern int32 MSG_GetIMAPSSLPort(MSG_Pane *pane);
/* called from libnet to clean up state from mailbox:copymessages */
extern void MSG_MessageCopyIsCompleted (struct MessageCopyInfo**);
/* called from libnet to determine if the current copy is finished */
extern XP_Bool MSG_IsMessageCopyFinished(struct MessageCopyInfo*);
/* called from mailbox and url libnet modules */
extern
int MSG_BeginCopyingMessages(MWContext *context);
extern
int MSG_FinishCopyingMessages(MWContext *context);
extern const char *MSG_GetIMAPHostUsername(MSG_Master *master, const char *hostName);
extern const char *MSG_GetIMAPHostPassword(MSG_Master *master, const char *hostName);
extern void MSG_SetIMAPHostPassword(MSG_Master *master, const char *hostName, const char *password);
extern int MSG_GetIMAPHostIsUsingSubscription(MSG_Master *master, const char *hostName, XP_Bool *usingSubscription);
extern XP_Bool MSG_GetIMAPHostDeleteIsMoveToTrash(MSG_Master *master, const char *hostName);
extern int IMAP_AddIMAPHost(const char *hostName, XP_Bool usingSubscription, XP_Bool overrideNamespaces,
const char *personalNamespacePrefix, const char *publicNamespacePrefixes, const char *otherUsersNamespacePrefixes);
typedef enum
{ MSG_NotRunning = 0x00000000
, MSG_RunningOnline = 0x00000001
, MSG_RunningOffline = 0x00000002
} MSG_RunningState;
extern MSG_FolderInfo *MSG_SetFolderRunningIMAPUrl(MSG_Pane *urlPane, const char *hostName, const char *onlineFolderPath, MSG_RunningState runningState);
extern void MSG_IMAPUrlFinished(MSG_FolderInfo *folder, URL_Struct *URL_s);
/* ===========================================================================
OFFLINE IMAP
===========================================================================
*/
extern uint32 MSG_GetImapMessageFlags(MSG_Pane *urlPane,
const char *hostName,
const char *onlineBoxName,
uint32 key);
extern void MSG_StartOfflineImapRetrieval(MSG_Pane *urlPane,
const char *hostName,
const char *onlineBoxName,
uint32 key,
void **offLineRetrievalData);
extern uint32 MSG_GetOfflineMessageSize(void *offLineRetrievalData);
extern int MSG_ProcessOfflineImap(void *offLineRetrievalData, char *socketBuffer, uint32 read_size);
extern int MSG_InterruptOfflineImap(void *offLineRetrievalData);
extern void MSG_GetNextURL(MSG_Pane *pane);
/* Returns the original pane that a progress pane was associated with. If
the given pane is not a progresspane, returns NULL. */
extern MSG_Pane* MSG_GetParentPane(MSG_Pane* progresspane);
/* do an imap biff of the imap inbox */
extern void MSG_ImapBiff(MWContext* context, MSG_Prefs* prefs);
/* The NNTP module of netlib calls these to feed XOVER data to the message
library, in response to a news:group.name URL having been opened.
If MSG_FinishXOVER() returns a message ID, that message will be loaded
next (used for selecting the first unread message in a group after
listing that group.)
The "out" arguments are (if non-NULL) a file descriptor to write the XOVER
line to, followed by a "\n". This is used by the XOVER-caching code.
*/
extern int MSG_InitXOVER (MSG_Pane* pane,
MSG_NewsHost* host,
const char* group_name,
uint32 first_msg, uint32 last_msg,
uint32 oldest_msg, uint32 youngest_msg,
void **data);
extern int MSG_ProcessXOVER (MSG_Pane* pane, char *line, void **data);
extern int MSG_ProcessNonXOVER (MSG_Pane* pane, char *line, void **data);
extern int MSG_FinishXOVER (MSG_Pane* pane, void **data, int status);
/* In case of XOVER failed due to the authentication process, we need to
do some clean up. So that we could have a fresh start once we pass the
authentication check.
*/
extern int MSG_ResetXOVER (MSG_Pane* pane, void **data);
/* These calls are used by libnet to determine which articles it ought to
get in a big newsgroup. */
extern int
MSG_GetRangeOfArtsToDownload(MSG_Pane* pane, void** data, MSG_NewsHost* host,
const char* group_name,
int32 first_possible, /* Oldest article available
from newsserver*/
int32 last_possible, /* Newest article available
from newsserver*/
int32 maxextra,
int32* first,
int32* last);
extern int
MSG_AddToKnownArticles(MSG_Pane *pane, MSG_NewsHost* host,
const char* groupname, int32 first, int32 last);
extern int MSG_InitAddArticleKeyToGroup(MSG_Pane *pane, MSG_NewsHost* host,
const char* groupName, void **parseState);
extern int MSG_AddArticleKeyToGroup(void *parse_state, int32 first);
extern int MSG_FinishAddArticleKeyToGroup(MSG_Pane *pane, void **parse_state);
/* After displaying a list of newsgroups, we need the NNTP module to go and
run "GROUP" commands for the ones for which we don't know the unread
article count. This function returns a count of how many groups we think
we're going to need this for (so we can display progress in a reasonable
way).
*/
extern int32 MSG_GetNewsRCCount(MSG_Pane* pane, MSG_NewsHost* host);
/* Gets the name of the next group that we want to get article counts for.
The caller must free the given name using XP_FREE().
MSG_DisplaySubscribedGroup() should get called with this group before
this call happens again. */
extern char* MSG_GetNewsRCGroup(MSG_Pane* pane, MSG_NewsHost* host);
/* In response to a "news://host/" URL; this is called once for each group
that was returned by MSG_GetNewsRCGroup(), after the NNTP GROUP command has
been run. It's also called whenever we actually visit the group (the user
clicks on the newsgroup line), in case the data has changed since the
initial passthrough. The "nowvisiting" parameter is TRUE in the latter
case, FALSE otherwise. */
extern int MSG_DisplaySubscribedGroup(MSG_Pane* pane,
MSG_NewsHost* host,
const char *group,
int32 oldest_message,
int32 youngest_message,
int32 total_messages,
XP_Bool nowvisiting);
/* In response to an NNTP GROUP command, the server said the group doesn't exist */
extern int MSG_GroupNotFound(MSG_Pane* pane,
MSG_NewsHost* host,
const char *group,
XP_Bool opening);
/* In response to a "news://host/?newgroups" URL, to ask the server for a
list of recently-added newsgroups. Similar to MSG_DisplaySubscribedGroup,
except that in this case, the group is not already in the list. */
extern int MSG_DisplayNewNewsGroup (MWContext *context,
MSG_NewsHost* host, const char *group_name,
int32 oldest_message,
int32 youngest_message);
/* News servers work better if you ask for message numbers instead of IDs.
So, the NNTP module asks us what the group and number of an ID is with
this. If we don't know, we return 0 for both. If the pane is not a
thead or message pane, this routine will fail.
*/
extern void MSG_NewsGroupAndNumberOfID (MSG_Pane *pane,
const char *message_id,
const char **group_return,
uint32 *message_number_return);
/* This routine is used by netlib to see if we have this article off-line
It might be combined with the above routine, but I'm not sure if this
is the way we're ultimately going to do this.
*/
extern XP_Bool MSG_IsOfflineArticle (MSG_Pane *pane,
const char *message_id,
const char **group_return,
uint32 *message_number_return);
extern int MSG_StartOfflineRetrieval(MSG_Pane *pane,
const char *group,
uint32 message_number,
void **offlineState);
extern int MSG_ProcessOfflineNews(void *offlineState, char *outputBuffer, int outputBufSize);
extern int MSG_InterruptOfflineNews(void *offlineState);
/* libnet callbacks for Dredd NNTP extensions */
extern void MSG_SupportsNewsExtensions (MSG_NewsHost *host, XP_Bool supports);
extern void MSG_AddNewsExtension (MSG_NewsHost *host, const char *ext);
extern XP_Bool MSG_QueryNewsExtension (MSG_NewsHost *host, const char *ext);
extern XP_Bool MSG_NeedsNewsExtension (MSG_NewsHost *host, const char *ext);
extern void MSG_AddSearchableGroup (MSG_NewsHost *host, const char *group);
extern void MSG_AddSearchableHeader (MSG_NewsHost *host, const char *header);
extern int MSG_AddProfileGroup (MSG_Pane *pane,
MSG_NewsHost* host,
const char *groupName);
extern int MSG_AddPrettyName(MSG_NewsHost* host,
const char *groupName, const char *prettyName);
extern int MSG_SetXActiveFlags(MSG_Pane *pane, char *groupName,
int32 firstPossibleArt,
int32 lastPossibleArt,
char *flags);
extern int MSG_AddSubscribedGroup (MSG_Pane *pane, const char *groupUrl);
extern void MSG_AddPropertyForGet (MSG_NewsHost *host, const char *property,
const char *value);
/* libnet calls this if it got an error 441 back from the newsserver. That
error almost certainly means that the newsserver already has a message
with the same message id. If this routine returns TRUE, then we were
pretty much expecting that error code, because we know we tried twice to
post the same message, and we can just ignore it. */
extern XP_Bool MSG_IsDuplicatePost(MSG_Pane* comppane);
/* libnet uses this on an error condition to tell libmsg to generate a new
message-id for the given composition. */
extern void MSG_ClearCompositionMessageID(MSG_Pane* comppane);
/* libnet uses this to determine the message-id for the given composition (so
it can test if this message was already posted.) */
extern const char* MSG_GetCompositionMessageID(MSG_Pane* comppane);
/* The "news:" and "mailbox:" protocol handlers call this when a message is
displayed, so that we can use the contents of the headers when composing
replies.
*/
extern void
MSG_ActivateReplyOptions(MSG_Pane* messagepane, MimeHeaders *headers);
/* Tell the subscribe pane about a new newsgroup we noticed. */
extern int
MSG_AddNewNewsGroup(MSG_Pane* pane, MSG_NewsHost* host,
const char* groupname, int32 oldest, int32 youngest,
const char *flag, XP_Bool bXactiveFlags);
/* tell the host info database that we're going to need to get the extra info
for this new newsgroup
*/
extern int MSG_SetGroupNeedsExtraInfo(MSG_NewsHost *host,
const char* groupname, XP_Bool needsExtra);
/* returns the name of the first group which needs extra info */
extern char *MSG_GetFirstGroupNeedingExtraInfo(MSG_NewsHost *host);
/* Find out from libmsg when we last checked for new newsgroups (so we know
what date to give the "newgroups" command.) */
extern time_t
MSG_NewsgroupsLastUpdatedTime(MSG_NewsHost* host);
/* The "mailbox:" protocol module uses these routines to invoke the mailbox
parser in libmsg.
*/
extern int MSG_BeginOpenFolderSock (MSG_Pane* pane,
const char *folder_name,
const char *message_id, int32 msgnum,
void **folder_ptr);
extern int MSG_FinishOpenFolderSock (MSG_Pane* pane,
const char *folder_name,
const char *message_id, int32 msgnum,
void **folder_ptr);
extern void MSG_CloseFolderSock (MSG_Pane* pane, const char *folder_name,
const char *message_id, int32 msgnum,
void *folder_ptr);
extern int MSG_OpenMessageSock (MSG_Pane* messagepane, const char *folder_name,
const char *msg_id, int32 msgnum,
void *folder_ptr, void **message_ptr,
int32 *content_length);
extern int MSG_ReadMessageSock (MSG_Pane* messagepane, const char *folder_name,
void *message_ptr, const char *message_id,
int32 msgnum, char *buffer, int32 buffer_size);
extern void MSG_CloseMessageSock (MSG_Pane* messagepane,
const char *folder_name,
const char *message_id, int32 msgnum,
void *message_ptr);
extern void MSG_PrepareToIncUIDL(MSG_Pane* messagepane, URL_Struct* url,
const char* uidl);
/* This is how "mailbox:?empty-trash" works
*/
extern int MSG_BeginEmptyTrash(MSG_Pane* folderpane, URL_Struct* url,
void** closure);
extern int MSG_FinishEmptyTrash(MSG_Pane* folderpane, URL_Struct* url,
void* closure);
extern int MSG_CloseEmptyTrashSock(MSG_Pane* folderpane, URL_Struct* url,
void* closure);
/* This is how "mailbox:?compress-folder" and
"mailbox:/foo/baz/nsmail/inbox?compress-folder" works. */
extern int MSG_BeginCompressFolder(MSG_Pane* pane, URL_Struct* url,
const char* foldername, void** closure);
extern int MSG_FinishCompressFolder(MSG_Pane* pane, URL_Struct* url,
const char* foldername, void* closure);
extern int MSG_CloseCompressFolderSock(MSG_Pane* pane, URL_Struct* url,
void* closure);
/* This is how "mailbox:?deliver-queued" works
*/
extern int MSG_BeginDeliverQueued(MSG_Pane* pane, URL_Struct* url,
void** closure);
extern int MSG_FinishDeliverQueued(MSG_Pane* pane, URL_Struct* url,
void* closure);
extern int MSG_CloseDeliverQueuedSock(MSG_Pane* pane, URL_Struct* url,
void* closure);
/* This is how "mailbox:?background" works */
extern int MSG_ProcessBackground(URL_Struct* urlstruct);
/* libnet --> libmsg glue for newsgroup searching */
extern void MSG_AddNewsXpatHit (MWContext *context, uint32 artNum);
extern void MSG_AddNewsSearchHit (MWContext *context, const char *resultLine);
/* libnet --> libmsg glue for imap mail folder searching */
extern void MSG_AddImapSearchHit (MWContext *context, const char *resultLine);
/* The POP3 protocol module uses these routines to hand us new messages.
*/
extern XP_Bool MSG_BeginMailDelivery (MSG_Pane* folderpane);
extern void MSG_AbortMailDelivery (MSG_Pane* folderpane);
extern void MSG_EndMailDelivery (MSG_Pane* folderpane);
extern void *MSG_IncorporateBegin (MSG_Pane* folderpane,
FO_Present_Types format_out,
char *pop3_uidl,
URL_Struct *url,
uint32 flags);
extern int MSG_IncorporateWrite (MSG_Pane* folderpane, void *closure,
const char *block, int32 length);
extern int MSG_IncorporateComplete(MSG_Pane* folderpane, void *closure);
extern int MSG_IncorporateAbort (MSG_Pane* folderpane, void *closure,
int status);
extern void MSG_ClearSenderAuthedFlag(MSG_Pane* folderpane, void *closure);
/* This is how the netlib registers the converters relevant to MIME message
display and composition.
*/
void MSG_RegisterConverters (void);
extern void
MSG_StartMessageDelivery (MSG_Pane *pane,
void *fe_data,
MSG_CompositionFields *fields,
XP_Bool digest_p,
XP_Bool dont_deliver_p,
const char *attachment1_type,
const char *attachment1_body,
uint32 attachment1_body_length,
const struct MSG_AttachmentData *attachments,
void *mimeRelatedPart, /* only used in compose pane */
void (*message_delivery_done_callback)
(MWContext *context,
void *fe_data,
int status,
const char *error_message));
/* When a message which has the `partial' bit set, meaning we only downloaded
the first 20 lines because it was huge, this function will be called to
return some HTML to tack onto the end of the message to explain that it
is truncated, and provide a clickable link which will download the whole
message.
*/
extern char *MSG_GeneratePartialMessageBlurb (MSG_Pane* messagepane,
URL_Struct *url, void *closure,
MimeHeaders *headers);
extern int MSG_GetUrlQueueSize (const char *url, MWContext *context);
extern XP_Bool MSG_RequestForReturnReceipt(MSG_Pane* pane);
extern XP_Bool MSG_SendingMDNInProgress(MSG_Pane* pane);
extern uint32 MSG_GetIMAPMessageSizeFromDB(MSG_Pane *masterPane, const char *hostName, char *folderName, char *id, XP_Bool idIsUid);
extern void MSG_RefreshFoldersForUpdatedIMAPHosts(MWContext *context);
extern XP_Bool MSG_MailCheck(MWContext *context, MSG_Prefs *prefs);
extern void MSG_Pop3MailCheck(MWContext *context);
extern int NET_parse_news_url (const char *url,
char **host_and_portP,
XP_Bool *securepP,
char **groupP,
char **message_idP,
char **command_specific_dataP);
extern char *MSG_GetArbitraryHeadersForHost(MSG_Master *master, const char *hostName);
XP_END_PROTOS
#endif

View File

@@ -1,45 +0,0 @@
/* -*- 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.
*/
/* msgtypes.h --- types for the mail/news reader module.
*/
#ifndef _MSGTYPES_H_
#define _MSGTYPES_H_
/* This file defines types that are used by libmsg. Actually, it's rather
underpopulated right now; much more should be moved here from msgcom.h. */
/* Instances of MSG_Pane are used to represent the various panes in the user
interfaces. The FolderPanes and MessagePanes must have a context associated
with them, but the ThreadPane generally does not. MSG_Pane is deliberately
an opaque type; FE's can't manipulate them except via the calls defined
here. */
#ifdef XP_CPLUSPLUS
class MSG_Pane;
#else
typedef struct MSG_Pane MSG_Pane;
#endif
#endif /* _MSGTYPES_H_ */

View File

@@ -1,250 +0,0 @@
/* -*- 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.
*/
/*-
* Copyright (c) 1991, 1993
* The Regents of the University of California. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* @(#)compat.h 8.13 (Berkeley) 2/21/94
*/
#ifndef _COMPAT_H_
#define _COMPAT_H_
#include <sys/types.h>
/*
* If your system doesn't typedef u_long, u_short, or u_char, change
* the 0 to a 1.
*/
/*DSR041497 - these are defined in pmwsock.h, so only need for DOUGSOCK*/
#ifdef XP_OS2_DOUGSOCK
typedef unsigned char u_char; /* 4.[34]BSD names. */
typedef unsigned int u_int;
typedef unsigned long u_long;
typedef unsigned short u_short;
#endif
/* If your system doesn't typedef size_t, change the 0 to a 1. */
#if 0
typedef unsigned int size_t; /* POSIX, 4.[34]BSD names. */
#endif
/* If your system doesn't typedef ssize_t, change the 0 to a 1. */
#if 0
typedef int ssize_t; /* POSIX names. */
#endif
/*
* If your system doesn't have the POSIX type for a signal mask,
* change the 0 to a 1.
*/
#if 0 /* POSIX 1003.1 signal mask type. */
typedef unsigned int sigset_t;
#endif
/*
* If your system's vsprintf returns a char *, not an int,
* change the 0 to a 1.
*/
#if defined (__sun) && !defined(SVR4) /* SUNOS */
#define VSPRINTF_CHARSTAR
#endif
/*
* If you don't have POSIX 1003.1 signals, the signal code surrounding the
* temporary file creation is intended to block all of the possible signals
* long enough to create the file and unlink it. All of this stuff is
* intended to use old-style BSD calls to fake POSIX 1003.1 calls.
*/
#ifdef NO_POSIX_SIGNALS
#define sigemptyset(set) (*(set) = 0)
#define sigfillset(set) (*(set) = ~(sigset_t)0, 0)
#define sigaddset(set,signo) (*(set) |= sigmask(signo), 0)
#define sigdelset(set,signo) (*(set) &= ~sigmask(signo), 0)
#define sigismember(set,signo) ((*(set) & sigmask(signo)) != 0)
#define SIG_BLOCK 1
#define SIG_UNBLOCK 2
#define SIG_SETMASK 3
static int __sigtemp; /* For the use of sigprocmask */
/* Repeated test of oset != NULL is to avoid "*0". */
#define sigprocmask(how, set, oset) \
((__sigtemp = \
(((how) == SIG_BLOCK) ? \
sigblock(0) | *(set) : \
(((how) == SIG_UNBLOCK) ? \
sigblock(0) & ~(*(set)) : \
((how) == SIG_SETMASK ? \
*(set) : sigblock(0))))), \
((oset) ? (*(oset ? oset : set) = sigsetmask(__sigtemp)) : \
sigsetmask(__sigtemp)), 0)
#endif
/*
* If your system doesn't have an include file with the appropriate
* byte order set, make sure you specify the correct one.
*/
#ifndef BYTE_ORDER
#define LITTLE_ENDIAN 1234 /* LSB first: i386, vax */
#define BIG_ENDIAN 4321 /* MSB first: 68000, ibm, net */
#define BYTE_ORDER BIG_ENDIAN /* Set for your system. */
#endif
#if defined(SYSV) || defined(SYSTEM5) || defined(__sun)
#define index(a, b) strchr(a, b)
#define rindex(a, b) strrchr(a, b)
#define bzero(a, b) memset(a, 0, b)
#define bcmp(a, b, n) memcmp(a, b, n)
#define bcopy(a, b, n) memmove(b, a, n)
#endif
#if defined(BSD) || defined(BSD4_3)
#define strchr(a, b) index(a, b)
#define strrchr(a, b) rindex(a, b)
#define memcmp(a, b, n) bcmp(a, b, n)
#define memmove(a, b, n) bcopy(b, a, n)
#endif
/*
* 32-bit machine. The db routines are theoretically independent of
* the size of u_shorts and u_longs, but I don't know that anyone has
* ever actually tried it. At a minimum, change the following #define's
* if you are trying to compile on a different type of system.
*/
#ifndef USHRT_MAX
#define USHRT_MAX 0xFFFF
#define ULONG_MAX 0xFFFFFFFF
#endif
#ifndef O_ACCMODE /* POSIX 1003.1 access mode mask. */
#define O_ACCMODE (O_RDONLY|O_WRONLY|O_RDWR)
#endif
#ifndef _POSIX2_RE_DUP_MAX /* POSIX 1003.2 RE limit. */
#define _POSIX2_RE_DUP_MAX 255
#endif
/*
* If you can't provide lock values in the open(2) call. Note, this
* allows races to happen.
*/
#ifndef O_EXLOCK /* 4.4BSD extension. */
#define O_EXLOCK 0
#endif
#ifndef O_SHLOCK /* 4.4BSD extension. */
#define O_SHLOCK 0
#endif
#ifndef EFTYPE
#define EFTYPE EINVAL /* POSIX 1003.1 format errno. */
#endif
#ifndef WCOREDUMP /* 4.4BSD extension */
#define WCOREDUMP(a) 0
#endif
#ifndef STDERR_FILENO
#define STDIN_FILENO 0 /* ANSI C #defines */
#define STDOUT_FILENO 1
#define STDERR_FILENO 2
#endif
#ifndef SEEK_END
#define SEEK_SET 0 /* POSIX 1003.1 seek values */
#define SEEK_CUR 1
#define SEEK_END 2
#endif
#ifndef _POSIX_VDISABLE /* POSIX 1003.1 disabling char. */
#define _POSIX_VDISABLE 0 /* Some systems used 0. */
#endif
#ifndef TCSASOFT /* 4.4BSD extension. */
#define TCSASOFT 0
#endif
#ifndef _POSIX2_RE_DUP_MAX /* POSIX 1003.2 values. */
#define _POSIX2_RE_DUP_MAX 255
#endif
#ifndef NULL /* ANSI C #defines NULL everywhere. */
#define NULL 0
#endif
#ifndef MAX /* Usually found in <sys/param.h>. */
#define MAX(_a,_b) ((_a)<(_b)?(_b):(_a))
#endif
#ifndef MIN /* Usually found in <sys/param.h>. */
#define MIN(_a,_b) ((_a)<(_b)?(_a):(_b))
#endif
/* Default file permissions. */
#ifndef DEFFILEMODE /* 4.4BSD extension. */
#define DEFFILEMODE (S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH)
#endif
#ifndef __sun
#ifndef S_ISDIR /* POSIX 1003.1 file type tests. */
#define S_ISDIR(m) ((m & 0170000) == 0040000) /* directory */
#define S_ISCHR(m) ((m & 0170000) == 0020000) /* char special */
#define S_ISBLK(m) ((m & 0170000) == 0060000) /* block special */
#define S_ISREG(m) ((m & 0170000) == 0100000) /* regular file */
#define S_ISFIFO(m) ((m & 0170000) == 0010000) /* fifo */
#endif
#ifndef S_ISLNK /* BSD POSIX 1003.1 extensions */
#define S_ISLNK(m) ((m & 0170000) == 0120000) /* symbolic link */
#define S_ISSOCK(m) ((m & 0170000) == 0140000) /* socket */
#endif
#endif /* __sun */
/* The type of a va_list. */
#ifndef _BSD_VA_LIST_ /* 4.4BSD #define. */
#define _BSD_VA_LIST_ char *
#endif
#endif /* !_COMPAT_H_ */

File diff suppressed because it is too large Load Diff

View File

@@ -1,133 +0,0 @@
/* -*- Mode: C; tab-width: 8; 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.
*/
/*
* np.h $Revision: 3.1 $
* Prototypes for functions exported by libplugin and called by the FEs or other XP libs.
* Prototypes for functions exported by the FEs and called by libplugin are in nppg.h.
*/
#ifndef _NP_H
#define _NP_H
#include "lo_ele.h"
#include "npapi.h"
#include "net.h"
#ifdef XP_UNIX
/* Aaagh. npapi.h include Xlib.h. Bool is being #defined by Xlib and
we are typedeffing it in the navigator. */
#ifdef Bool
#undef Bool
#endif /* Bool */
#endif
typedef enum { NP_Untyped = 0, NP_OLE, NP_Plugin } NPAppType;
typedef enum { NP_FullPage = 1, NP_Embedded } NPPageType;
typedef void* NPReference;
#define NPRefFromStart ((NPReference)NULL)
/* it's lame that this is supposed to support more than plugins but
it has plugin specific junk (wdata) in it -jg */
struct _NPEmbeddedApp {
struct _NPEmbeddedApp *next;
NPAppType type;
void *fe_data;
void *np_data;
NPWindow *wdata;
NPPageType pagePluginType;
};
/* Uncomment this to enable ANTHRAX. .c files affected: npglue.c, layembed.c, layobj.c */
/* amusil 1.8.98 */
/* #define ANTHRAX */
XP_BEGIN_PROTOS
extern void NPL_Init(void);
extern void NPL_Shutdown(void);
extern void NPL_RegisterDefaultConverters(void);
extern NPError NPL_RegisterPluginFile(const char* pluginname, const char* filename,
const char* description, void* pd);
extern NPError NPL_RegisterPluginType(NPMIMEType type, const char *extentstring,
const char* description, void* fileType, void* pd, XP_Bool enabled);
extern NPError NPL_RefreshPluginList(XP_Bool reloadPages);
extern NPBool NPL_IteratePluginFiles(NPReference* ref, char** name, char** filename, char** description);
extern NPBool NPL_IteratePluginTypes(NPReference* ref, NPReference plugin, NPMIMEType* type,
char*** extents, char** description, void** fileType);
extern char** NPL_FindPluginsForType(const char* typeToFind);
extern char* NPL_FindPluginEnabledForType(const char* typeToFind);
extern NPError NPL_EnablePlugin(NPMIMEType type,
const char* pluginname,
XP_Bool enabled);
extern NPError NPL_EnablePluginType(NPMIMEType type, void* pdesc, XP_Bool enabled);
extern NPError NPL_DisablePlugin(NPMIMEType type);
extern NPEmbeddedApp* NPL_EmbedCreate(MWContext *context, LO_EmbedStruct *embed_struct);
extern NPError NPL_EmbedStart(MWContext* cx, LO_EmbedStruct* embed_struct, NPEmbeddedApp* app);
extern void NPL_EmbedSize(NPEmbeddedApp *app);
/* ~~av the following is used in CGenericDoc::FreeEmbedElement */
extern int32 NPL_GetEmbedReferenceCount(NPEmbeddedApp *app);
extern void NPL_EmbedDelete(MWContext *context, LO_EmbedStruct *embed_struct);
extern XP_Bool NPL_IsLiveConnected(LO_EmbedStruct *embed);
extern int NPL_HandleEvent(NPEmbeddedApp *app, void *event, void* window); /* window may be NULL */
extern void NPL_Print(NPEmbeddedApp *app, void *printData);
extern void NPL_SamePage(MWContext *context);
extern void NPL_SameElement(LO_EmbedStruct *embed);
extern void NPL_DeleteSessionData(MWContext* context, void* sessionData);
extern XP_Bool NPL_HandleURL(MWContext *pContext, FO_Present_Types iFormatOut, URL_Struct *pURL,
Net_GetUrlExitFunc *pExitFunc);
#ifndef XP_MAC
extern void NPL_DisplayPluginsAsHTML(FO_Present_Types format_out, URL_Struct *urls, MWContext *cx);
#endif
extern void NPL_PreparePrint(MWContext* context, SHIST_SavedData* savedData);
extern NET_StreamClass* NPL_NewEmbedStream(FO_Present_Types format_out, void *type, URL_Struct *urls, MWContext *cx);
extern NET_StreamClass* NPL_NewPresentStream(FO_Present_Types format_out, void *type, URL_Struct *urls, MWContext *cx);
extern unsigned int NPL_WriteReady(NET_StreamClass *stream);
extern int NPL_Write(NET_StreamClass *stream, const unsigned char *str, int32 len);
extern void NPL_Complete(NET_StreamClass *stream);
extern void NPL_Abort(NET_StreamClass *stream, int status);
extern XP_Bool NPL_IsEmbedWindowed(NPEmbeddedApp *app);
extern void NPL_URLExit(URL_Struct *urls, int status, MWContext *cx);
#ifdef ANTHRAX
extern char** NPL_FindAppletsForType(const char* typeToFind);
extern char* NPL_FindAppletEnabledForMimetype(const char* mimetype);
extern NPError NPL_RegisterAppletType(NPMIMEType type);
#endif /* ANTHRAX */
PR_EXTERN(void) NPL_SetPluginWindow(void *data);
XP_END_PROTOS
#endif /* _NP_H */

View File

@@ -1,569 +0,0 @@
/* -*- 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.
*/
/*
* npapi.h $Revision: 3.1 $
* Netscape client plug-in API spec
*/
#ifndef _NPAPI_H_
#define _NPAPI_H_
#ifdef __OS2__
#pragma pack(1)
#endif
#include "jri.h" /* Java Runtime Interface */
#if defined (__OS2__ ) || defined (OS2)
# ifndef XP_OS2
# define XP_OS2 1
# endif /* XP_OS2 */
#endif /* __OS2__ */
#ifdef _WINDOWS
# ifndef XP_WIN
# define XP_WIN 1
# endif /* XP_WIN */
#endif /* _WINDOWS */
#ifdef __MWERKS__
# define _declspec __declspec
# ifdef macintosh
# ifndef XP_MAC
# define XP_MAC 1
# endif /* XP_MAC */
# endif /* macintosh */
# ifdef __INTEL__
# undef NULL
# ifndef XP_WIN
# define XP_WIN 1
# endif /* __INTEL__ */
# endif /* XP_PC */
#endif /* __MWERKS__ */
#ifdef XP_MAC
#include <Quickdraw.h>
#include <Events.h>
#endif
#ifdef XP_UNIX
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#endif
/*----------------------------------------------------------------------*/
/* Plugin Version Constants */
/*----------------------------------------------------------------------*/
#define NP_VERSION_MAJOR 0
#define NP_VERSION_MINOR 12
/* The OS/2 version of Netscape uses RC_DATA to define the
mime types, file extentions, etc that are required.
Use a vertical bar to seperate types, end types with \0.
FileVersion and ProductVersion are 32bit ints, all other
entries are strings the MUST be terminated wwith a \0.
AN EXAMPLE:
RCDATA NP_INFO_ProductVersion { 1,0,0,1,}
RCDATA NP_INFO_MIMEType { "video/x-video|",
"video/x-flick\0" }
RCDATA NP_INFO_FileExtents { "avi|",
"flc\0" }
RCDATA NP_INFO_FileOpenName{ "MMOS2 video player(*.avi)|",
"MMOS2 Flc/Fli player(*.flc)\0" }
RCDATA NP_INFO_FileVersion { 1,0,0,1 }
RCDATA NP_INFO_CompanyName { "Netscape Communications\0" }
RCDATA NP_INFO_FileDescription { "NPAVI32 Extension DLL\0"
RCDATA NP_INFO_InternalName { "NPAVI32\0" )
RCDATA NP_INFO_LegalCopyright { "Copyright Netscape Communications \251 1996\0"
RCDATA NP_INFO_OriginalFilename { "NVAPI32.DLL" }
RCDATA NP_INFO_ProductName { "NPAVI32 Dynamic Link Library\0" }
*/
/* RC_DATA types for version info - required */
#define NP_INFO_ProductVersion 1
#define NP_INFO_MIMEType 2
#define NP_INFO_FileOpenName 3
#define NP_INFO_FileExtents 4
/* RC_DATA types for version info - used if found */
#define NP_INFO_FileDescription 5
#define NP_INFO_ProductName 6
/* RC_DATA types for version info - optional */
#define NP_INFO_CompanyName 7
#define NP_INFO_FileVersion 8
#define NP_INFO_InternalName 9
#define NP_INFO_LegalCopyright 10
#define NP_INFO_OriginalFilename 11
#ifndef RC_INVOKED
/*----------------------------------------------------------------------*/
/* Definition of Basic Types */
/*----------------------------------------------------------------------*/
#ifndef _UINT16
typedef unsigned short uint16;
#endif
#ifndef _UINT32
#if defined(__alpha)
typedef unsigned int uint32;
#else /* __alpha */
typedef unsigned long uint32;
#endif /* __alpha */
#endif
#ifndef _INT16
typedef short int16;
#endif
#ifndef _INT32
#if defined(__alpha)
typedef int int32;
#else /* __alpha */
typedef long int32;
#endif /* __alpha */
#endif
#ifndef FALSE
#define FALSE (0)
#endif
#ifndef TRUE
#define TRUE (1)
#endif
#ifndef NULL
#define NULL (0L)
#endif
typedef unsigned char NPBool;
typedef int16 NPError;
typedef int16 NPReason;
typedef char* NPMIMEType;
/*----------------------------------------------------------------------*/
/* Structures and definitions */
/*----------------------------------------------------------------------*/
#ifdef XP_MAC
#pragma options align=mac68k
#endif
/*
* NPP is a plug-in's opaque instance handle
*/
typedef struct _NPP
{
void* pdata; /* plug-in private data */
void* ndata; /* netscape private data */
} NPP_t;
typedef NPP_t* NPP;
typedef struct _NPStream
{
void* pdata; /* plug-in private data */
void* ndata; /* netscape private data */
const char* url;
uint32 end;
uint32 lastmodified;
void* notifyData;
} NPStream;
typedef struct _NPByteRange
{
int32 offset; /* negative offset means from the end */
uint32 length;
struct _NPByteRange* next;
} NPByteRange;
typedef struct _NPSavedData
{
int32 len;
void* buf;
} NPSavedData;
typedef struct _NPRect
{
uint16 top;
uint16 left;
uint16 bottom;
uint16 right;
} NPRect;
typedef struct _NPSize
{
int32 width;
int32 height;
} NPSize;
#ifdef XP_UNIX
/*
* Unix specific structures and definitions
*/
/*
* Callback Structures.
*
* These are used to pass additional platform specific information.
*/
enum {
NP_SETWINDOW = 1,
NP_PRINT
};
typedef struct
{
int32 type;
} NPAnyCallbackStruct;
typedef struct
{
int32 type;
Display* display;
Visual* visual;
Colormap colormap;
unsigned int depth;
} NPSetWindowCallbackStruct;
typedef struct
{
int32 type;
FILE* fp;
} NPPrintCallbackStruct;
#endif /* XP_UNIX */
/*
* List of variable names for which NPP_GetValue shall be implemented
*/
typedef enum {
NPPVpluginNameString = 1,
NPPVpluginDescriptionString,
NPPVpluginWindowBool,
NPPVpluginTransparentBool,
NPPVjavaClass,
NPPVpluginWindowSize
} NPPVariable;
/*
* List of variable names for which NPN_GetValue is implemented by Mozilla
*/
typedef enum {
NPNVxDisplay = 1,
NPNVxtAppContext,
NPNVnetscapeWindow,
NPNVjavascriptEnabledBool,
NPNVasdEnabledBool,
NPNVisOfflineBool
} NPNVariable;
/*
* The type of a NPWindow - it specifies the type of the data structure
* returned in the window field.
*/
typedef enum {
NPWindowTypeWindow = 1,
NPWindowTypeDrawable
} NPWindowType;
typedef struct _NPWindow
{
void* window; /* Platform specific window handle */
/* OS/2: x - Position of bottom left corner */
/* OS/2: y - relative to visible netscape window */
uint32 x; /* Position of top left corner relative */
uint32 y; /* to a netscape page. */
uint32 width; /* Maximum window size */
uint32 height;
NPRect clipRect; /* Clipping rectangle in port coordinates */
/* Used by MAC only. */
#ifdef XP_UNIX
void * ws_info; /* Platform-dependent additonal data */
#endif /* XP_UNIX */
NPWindowType type; /* Is this a window or a drawable? */
} NPWindow;
typedef struct _NPFullPrint
{
NPBool pluginPrinted; /* Set TRUE if plugin handled fullscreen */
/* printing */
NPBool printOne; /* TRUE if plugin should print one copy */
/* to default printer */
void* platformPrint; /* Platform-specific printing info */
} NPFullPrint;
typedef struct _NPEmbedPrint
{
NPWindow window;
void* platformPrint; /* Platform-specific printing info */
} NPEmbedPrint;
typedef struct _NPPrint
{
uint16 mode; /* NP_FULL or NP_EMBED */
union
{
NPFullPrint fullPrint; /* if mode is NP_FULL */
NPEmbedPrint embedPrint; /* if mode is NP_EMBED */
} print;
} NPPrint;
#ifdef XP_MAC
typedef EventRecord NPEvent;
#elif defined(XP_WIN)
typedef struct _NPEvent
{
uint16 event;
uint32 wParam;
uint32 lParam;
} NPEvent;
#elif defined(XP_OS2)
typedef struct _NPEvent
{
uint32 event;
uint32 wParam;
uint32 lParam;
} NPEvent;
#elif defined (XP_UNIX)
typedef XEvent NPEvent;
#else
typedef void* NPEvent;
#endif /* XP_MAC */
#ifdef XP_MAC
typedef RgnHandle NPRegion;
#elif defined(XP_WIN)
typedef HRGN NPRegion;
#elif defined(XP_UNIX)
typedef Region NPRegion;
#else
typedef void *NPRegion;
#endif /* XP_MAC */
#ifdef XP_MAC
/*
* Mac-specific structures and definitions.
*/
typedef struct NP_Port
{
CGrafPtr port; /* Grafport */
int32 portx; /* position inside the topmost window */
int32 porty;
} NP_Port;
/*
* Non-standard event types that can be passed to HandleEvent
*/
#define getFocusEvent (osEvt + 16)
#define loseFocusEvent (osEvt + 17)
#define adjustCursorEvent (osEvt + 18)
#endif /* XP_MAC */
/*
* Values for mode passed to NPP_New:
*/
#define NP_EMBED 1
#define NP_FULL 2
/*
* Values for stream type passed to NPP_NewStream:
*/
#define NP_NORMAL 1
#define NP_SEEK 2
#define NP_ASFILE 3
#define NP_ASFILEONLY 4
#define NP_MAXREADY (((unsigned)(~0)<<1)>>1)
#ifdef XP_MAC
#pragma options align=reset
#endif
/*----------------------------------------------------------------------*/
/* Error and Reason Code definitions */
/*----------------------------------------------------------------------*/
/*
* Values of type NPError:
*/
#define NPERR_BASE 0
#define NPERR_NO_ERROR (NPERR_BASE + 0)
#define NPERR_GENERIC_ERROR (NPERR_BASE + 1)
#define NPERR_INVALID_INSTANCE_ERROR (NPERR_BASE + 2)
#define NPERR_INVALID_FUNCTABLE_ERROR (NPERR_BASE + 3)
#define NPERR_MODULE_LOAD_FAILED_ERROR (NPERR_BASE + 4)
#define NPERR_OUT_OF_MEMORY_ERROR (NPERR_BASE + 5)
#define NPERR_INVALID_PLUGIN_ERROR (NPERR_BASE + 6)
#define NPERR_INVALID_PLUGIN_DIR_ERROR (NPERR_BASE + 7)
#define NPERR_INCOMPATIBLE_VERSION_ERROR (NPERR_BASE + 8)
#define NPERR_INVALID_PARAM (NPERR_BASE + 9)
#define NPERR_INVALID_URL (NPERR_BASE + 10)
#define NPERR_FILE_NOT_FOUND (NPERR_BASE + 11)
#define NPERR_NO_DATA (NPERR_BASE + 12)
#define NPERR_STREAM_NOT_SEEKABLE (NPERR_BASE + 13)
/*
* Values of type NPReason:
*/
#define NPRES_BASE 0
#define NPRES_DONE (NPRES_BASE + 0)
#define NPRES_NETWORK_ERR (NPRES_BASE + 1)
#define NPRES_USER_BREAK (NPRES_BASE + 2)
/*
* Don't use these obsolete error codes any more.
*/
#define NP_NOERR NP_NOERR_is_obsolete_use_NPERR_NO_ERROR
#define NP_EINVAL NP_EINVAL_is_obsolete_use_NPERR_GENERIC_ERROR
#define NP_EABORT NP_EABORT_is_obsolete_use_NPRES_USER_BREAK
/*
* Version feature information
*/
#define NPVERS_HAS_STREAMOUTPUT 8
#define NPVERS_HAS_NOTIFICATION 9
#define NPVERS_HAS_LIVECONNECT 9
#define NPVERS_WIN16_HAS_LIVECONNECT 9
#define NPVERS_68K_HAS_LIVECONNECT 11
#define NPVERS_HAS_WINDOWLESS 11
/*----------------------------------------------------------------------*/
/* Function Prototypes */
/*----------------------------------------------------------------------*/
#if defined(_WINDOWS) && !defined(WIN32)
#define NP_LOADDS _loadds
#else
#if defined(__OS2__)
#define NP_LOADDS _System
#else
#define NP_LOADDS
#endif
#endif
#ifdef __cplusplus
extern "C" {
#endif
/*
* NPP_* functions are provided by the plugin and called by the navigator.
*/
#ifdef XP_UNIX
char* NPP_GetMIMEDescription(void);
#endif /* XP_UNIX */
NPError NP_LOADDS NPP_Initialize(void);
void NP_LOADDS NPP_Shutdown(void);
NPError NP_LOADDS NPP_New(NPMIMEType pluginType, NPP instance,
uint16 mode, int16 argc, char* argn[],
char* argv[], NPSavedData* saved);
NPError NP_LOADDS NPP_Destroy(NPP instance, NPSavedData** save);
NPError NP_LOADDS NPP_SetWindow(NPP instance, NPWindow* window);
NPError NP_LOADDS NPP_NewStream(NPP instance, NPMIMEType type,
NPStream* stream, NPBool seekable,
uint16* stype);
NPError NP_LOADDS NPP_DestroyStream(NPP instance, NPStream* stream,
NPReason reason);
int32 NP_LOADDS NPP_WriteReady(NPP instance, NPStream* stream);
int32 NP_LOADDS NPP_Write(NPP instance, NPStream* stream, int32 offset,
int32 len, void* buffer);
void NP_LOADDS NPP_StreamAsFile(NPP instance, NPStream* stream,
const char* fname);
void NP_LOADDS NPP_Print(NPP instance, NPPrint* platformPrint);
int16 NP_LOADDS NPP_HandleEvent(NPP instance, void* event);
void NP_LOADDS NPP_URLNotify(NPP instance, const char* url,
NPReason reason, void* notifyData);
jref NP_LOADDS NPP_GetJavaClass(void);
NPError NP_LOADDS NPP_GetValue(void *instance, NPPVariable variable,
void *value);
NPError NP_LOADDS NPP_SetValue(void *instance, NPNVariable variable,
void *value);
/*
* NPN_* functions are provided by the navigator and called by the plugin.
*/
void NP_LOADDS NPN_Version(int* plugin_major, int* plugin_minor,
int* netscape_major, int* netscape_minor);
NPError NP_LOADDS NPN_GetURLNotify(NPP instance, const char* url,
const char* target, void* notifyData);
NPError NP_LOADDS NPN_GetURL(NPP instance, const char* url,
const char* target);
NPError NP_LOADDS NPN_PostURLNotify(NPP instance, const char* url,
const char* target, uint32 len,
const char* buf, NPBool file,
void* notifyData);
NPError NP_LOADDS NPN_PostURL(NPP instance, const char* url,
const char* target, uint32 len,
const char* buf, NPBool file);
NPError NP_LOADDS NPN_RequestRead(NPStream* stream, NPByteRange* rangeList);
NPError NP_LOADDS NPN_NewStream(NPP instance, NPMIMEType type,
const char* target, NPStream** stream);
int32 NP_LOADDS NPN_Write(NPP instance, NPStream* stream, int32 len,
void* buffer);
NPError NP_LOADDS NPN_DestroyStream(NPP instance, NPStream* stream,
NPReason reason);
void NP_LOADDS NPN_Status(NPP instance, const char* message);
const char* NP_LOADDS NPN_UserAgent(NPP instance);
void* NP_LOADDS NPN_MemAlloc(uint32 size);
void NP_LOADDS NPN_MemFree(void* ptr);
uint32 NP_LOADDS NPN_MemFlush(uint32 size);
void NP_LOADDS NPN_ReloadPlugins(NPBool reloadPages);
JRIEnv* NP_LOADDS NPN_GetJavaEnv(void);
jref NP_LOADDS NPN_GetJavaPeer(NPP instance);
NPError NP_LOADDS NPN_GetValue(NPP instance, NPNVariable variable,
void *value);
NPError NP_LOADDS NPN_SetValue(NPP instance, NPPVariable variable,
void *value);
void NP_LOADDS NPN_InvalidateRect(NPP instance, NPRect *invalidRect);
void NP_LOADDS NPN_InvalidateRegion(NPP instance, NPRegion invalidRegion);
void NP_LOADDS NPN_ForceRedraw(NPP instance);
#ifdef __cplusplus
} /* end extern "C" */
#endif
#endif /* RC_INVOKED */
#ifdef __OS2__
#pragma pack()
#endif
#endif /* _NPAPI_H_ */

View File

@@ -1,52 +0,0 @@
/* -*- 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.
*/
/*
* npassoc.h $Revision: 3.1 $
* xp filetype associations
*/
#ifndef _NPASSOC_H
#define _NPASSOC_H
#include "xp_core.h"
typedef struct _NPFileTypeAssoc {
char* type; /* a MIME type */
char* description; /* Intelligible description */
char** extentlist; /* a NULL-terminated list of file extensions */
char* extentstring; /* the same extensions, as a single string */
void* fileType; /* platform-specific file selector magic */
struct _NPFileTypeAssoc* pNext;
} NPFileTypeAssoc;
XP_BEGIN_PROTOS
extern NPFileTypeAssoc* NPL_NewFileAssociation(const char *type, const char *extensions,
const char *description, void *fileType);
extern void* NPL_DeleteFileAssociation(NPFileTypeAssoc *fassoc);
extern void NPL_RegisterFileAssociation(NPFileTypeAssoc *fassoc);
extern NPFileTypeAssoc* NPL_RemoveFileAssociation(NPFileTypeAssoc *fassoc);
extern NPFileTypeAssoc* NPL_GetFileAssociation(const char *type);
XP_END_PROTOS
#endif /* _NPASSOC_H */

View File

@@ -1,54 +0,0 @@
/* -*- 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.
*/
#ifndef nspr_locks_h___
#define nspr_locks_h___
/* many people in libnet [mkautocf.c ...] (and possibly others) get
* NSPR20 for free by including nslocks.h. To minimize changes during
* the javaectomy effort, we are including this file (where previously
* it was only included if java was included.
*/
#include "prmon.h"
#ifdef NSPR20
#ifdef XP_MAC
#include "prpriv.h" /* for MonitorEntryCount */
#else
#include "private/prpriv.h"
#endif
#endif /* NSPR20 */
#if defined(JAVA)
XP_BEGIN_PROTOS
extern PRMonitor* libnet_asyncIO;
XP_END_PROTOS
#define LIBNET_LOCK() PR_EnterMonitor(libnet_asyncIO)
#define LIBNET_UNLOCK() PR_ExitMonitor(libnet_asyncIO)
#define LIBNET_IS_LOCKED() PR_InMonitor(libnet_asyncIO)
#else /* !JAVA */
#define LIBNET_LOCK()
#define LIBNET_UNLOCK()
#define LIBNET_IS_LOCKED() 1
#endif /* JAVA */
#endif /* nspr_locks_h___ */

View File

@@ -1,120 +0,0 @@
/* -*- 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.
*/
/**********************************************************************
* ntOS.h - functionality used bt NT Operating System
*
**********************************************************************/
#ifndef _ntos_h
#define _ntos_h
#ifdef __cplusplus
extern "C" { /* Assume C declarations for C++ */
#endif /* __cplusplus */
/* prototypes for info.c */
typedef enum {
OS_WIN95,
OS_WINNT,
OS_WIN32S,
OS_UNKNOWN
} OS_TYPE;
typedef enum {
PROCESSOR_I386,
PROCESSOR_ALPHA,
PROCESSOR_MIPS,
PROCESSOR_PPC,
PROCESSOR_UNKNOWN
} PROCESSOR_TYPE;
OS_TYPE INFO_GetOperatingSystem ();
DWORD INFO_GetOperatingSystemMajorVersion ();
DWORD INFO_GetOperatingSystemMinorVersion ();
void OS_GetComputerName (LPTSTR computerName, int nComputerNameLength );
PROCESSOR_TYPE OS_GetProcessor ();
/* prototypes for path.c */
DWORD WINAPI PATH_RemoveRelative ( char * path );
DWORD WINAPI PATH_ConvertNtSlashesToUnix( LPCTSTR lpszNtPath, LPSTR lpszUnixPath );
/* prototypes for registry.c */
BOOL REG_CheckIfKeyExists( HKEY hKey, LPCTSTR registryKey );
BOOL REG_CreateKey( HKEY hKey, LPCTSTR registryKey );
BOOL REG_DeleteKey( HKEY hKey, LPCTSTR registryKey );
BOOL
REG_GetRegistryParameter(
HKEY hKey,
LPCTSTR registryKey,
LPTSTR QueryValueName,
LPDWORD ValueType,
LPBYTE ValueBuffer,
LPDWORD ValueBufferSize
);
BOOL
REG_SetRegistryParameter(
HKEY hKey,
LPCTSTR registryKey,
LPTSTR valueName,
DWORD valueType,
LPCTSTR ValueString,
DWORD valueStringLength
);
BOOL
REG_GetSubKeysInfo(
HKEY hKey,
LPCTSTR registryKey,
LPDWORD lpdwNumberOfSubKeys,
LPDWORD lpdwMaxSubKeyLength
);
BOOL
REG_GetSubKey( HKEY hKey,
LPCTSTR registryKey,
DWORD nSubKeyIndex,
LPTSTR registrySubKeyBuffer,
DWORD subKeyBufferSize
);
/* prototypes for service.c */
#define SERVRET_ERROR 0
#define SERVRET_INSTALLED 1
#define SERVRET_STARTING 2
#define SERVRET_STARTED 3
#define SERVRET_STOPPING 4
#define SERVRET_REMOVED 5
DWORD SERVICE_GetNTServiceStatus(LPCTSTR serviceName, LPDWORD lpLastError );
DWORD SERVICE_InstallNTService(LPCTSTR serviceName, LPCTSTR serviceExe );
DWORD SERVICE_RemoveNTService(LPCTSTR serviceName);
DWORD SERVICE_StartNTService(LPCTSTR serviceName);
DWORD SERVICE_StopNTService(LPCTSTR serviceName);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif

View File

@@ -1,202 +0,0 @@
/* -*- 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.
*/
#ifndef _NetscapeTypes_
#define _NetscapeTypes_
#include "xp_core.h"
/*
netlib
*/
typedef int FO_Present_Types;
typedef struct URL_Struct_ URL_Struct;
typedef struct _NET_StreamClass NET_StreamClass;
/*
* libi18n
*/
typedef struct OpaqueCCCDataObject *CCCDataObject;
typedef struct OpaqueINTL_CharSetInfo *INTL_CharSetInfo;
/* How to refill when there's a cache miss */
typedef enum NET_ReloadMethod
{
NET_DONT_RELOAD, /* use the cache */
NET_RESIZE_RELOAD, /* use the cache -- special for resizing */
NET_NORMAL_RELOAD, /* use IMS gets for reload */
NET_SUPER_RELOAD, /* retransfer everything */
NET_CACHE_ONLY_RELOAD /* Don't do anything if we miss in the cache.
(For the image library) */
} NET_ReloadMethod;
/*
plugins
*/
typedef struct _NPEmbeddedApp NPEmbeddedApp;
/*
history
*/
typedef struct _History_entry History_entry;
typedef struct History_ History;
/*
bookmarks (so shist.h doesn't have to include all of bkmks.h.)
Note, BM_Entry_struct is defined in bkmks.c. Not good practice
since this hides dependency info about the struct i.e., if you
change the struct, clients of the struct in other source files
will not indirectly recompile.
*/
typedef struct BM_Entry_struct BM_Entry;
/*
parser
*/
typedef struct _PA_Functions PA_Functions;
typedef struct PA_Tag_struct PA_Tag;
/*
layout
*/
typedef union LO_Element_struct LO_Element;
typedef struct LO_AnchorData_struct LO_AnchorData;
typedef struct LO_Color_struct LO_Color;
typedef struct LO_TextAttr_struct LO_TextAttr;
typedef struct LO_TextInfo_struct LO_TextInfo;
typedef struct LO_TextStruct_struct LO_TextStruct;
typedef struct LO_ImageAttr_struct LO_ImageAttr;
typedef struct LO_ImageStruct_struct LO_ImageStruct;
typedef struct LO_SubDocStruct_struct LO_SubDocStruct;
typedef struct LO_EmbedStruct_struct LO_EmbedStruct;
#ifdef SHACK
typedef struct LO_BuiltinStruct_struct LO_BuiltinStruct;
#endif /* SHACK */
typedef struct LO_JavaAppStruct_struct LO_JavaAppStruct;
typedef struct LO_EdgeStruct_struct LO_EdgeStruct;
typedef struct LO_ObjectStruct_struct LO_ObjectStruct;
typedef union LO_FormElementData_struct LO_FormElementData;
typedef struct lo_FormElementOptionData_struct lo_FormElementOptionData;
typedef struct lo_FormElementSelectData_struct lo_FormElementSelectData;
typedef struct lo_FormElementTextData_struct lo_FormElementTextData;
typedef struct lo_FormElementTextareaData_struct lo_FormElementTextareaData;
typedef struct lo_FormElementMinimalData_struct lo_FormElementMinimalData;
typedef struct lo_FormElementToggleData_struct lo_FormElementToggleData;
typedef struct lo_FormElementObjectData_struct lo_FormElementObjectData;
typedef struct lo_FormElementKeygenData_struct lo_FormElementKeygenData;
typedef struct LO_Any_struct LO_Any;
typedef struct LO_FormSubmitData_struct LO_FormSubmitData;
typedef struct LO_FormElementStruct_struct LO_FormElementStruct;
typedef struct LO_LinefeedStruct_struct LO_LinefeedStruct;
typedef struct LO_HorizRuleStruct_struct LO_HorizRuleStruct;
typedef struct LO_BulletStruct_struct LO_BulletStruct;
/* was misspelled as LO_BullettStruct */
#define LO_BullettStruct LO_BulletStruct
typedef struct LO_TableStruct_struct LO_TableStruct;
typedef struct LO_CellStruct_struct LO_CellStruct;
typedef struct LO_Position_struct LO_Position;
typedef struct LO_Selection_struct LO_Selection;
typedef struct LO_HitLineResult_struct LO_HitLineResult;
typedef struct LO_HitElementResult_struct LO_HitElementResult;
typedef union LO_HitResult_struct LO_HitResult;
/* Line style parameter for displaying borders */
typedef enum {
LO_SOLID,
LO_DASH,
LO_BEVEL
} LO_LineStyle;
typedef struct LO_tabFocus_struct LO_TabFocusData;
/*
XLation
*/
typedef struct PrintInfo_ PrintInfo;
typedef struct PrintSetup_ PrintSetup;
/*
mother of data structures
*/
typedef struct MWContext_ MWContext;
/*
Chrome structure
*/
typedef struct _Chrome Chrome;
/*
Editor
*/
#include "edttypes.h"
typedef enum
{
MWContextAny = -1, /* Used as a noopt when searching for a context of a particular type */
MWContextBrowser, /* A web browser window */
MWContextMail, /* A mail reader window */
MWContextNews, /* A news reader window */
MWContextMailMsg, /* A window to display a mail msg */
MWContextNewsMsg, /* A window to display a news msg */
MWContextMessageComposition, /* A news-or-mail message editing window */
MWContextSaveToDisk, /* The placeholder window for a download */
MWContextText, /* non-window context for text conversion */
MWContextPostScript, /* non-window context for PS conversion */
MWContextBiff, /* non-window context for background mail
notification */
MWContextJava, /* non-window context for Java */
MWContextBookmarks, /* Context for the bookmarks */
MWContextAddressBook, /* Context for the addressbook */
MWContextOleNetwork, /* non-window context for the OLE network1 object */
MWContextPrint, /* non-window context for printing */
MWContextDialog, /* non-browsing dialogs. view-source/security */
MWContextMetaFile, /* non-window context for Windows metafile support */
MWContextEditor, /* An Editor Window */
MWContextSearch, /* a window for modeless search dialog */
MWContextSearchLdap, /* a window for modeless LDAP search dialog */
MWContextHTMLHelp, /* HTML Help context to load map files */
MWContextMailFilters, /* Mail filters context */
MWContextHistory, /* A history window */
MWContextMailNewsProgress, /* a progress pane for mail/news URLs */
MWContextPane, /* Misc browser pane/window in weird parts of
* the UI, such as the navigation center */
MWContextRDFSlave, /* Slave context for RDF network loads */
MWContextProgressModule, /* Progress module (PW_ functions) */
MWContextIcon /* Context for loading images as icons */
} MWContextType;
#define MAIL_NEWS_TYPE(x) ( \
((x) == MWContextMail) || \
((x) == MWContextNews) || \
((x) == MWContextMailMsg) || \
((x) == MWContextNewsMsg) )
struct LJAppletData;
#endif /* _NetscapeTypes_ */

View File

@@ -1,73 +0,0 @@
/* -*- 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.
*/
/* ---------------------------------------------------------------------------
Stuff to fake unix file I/O on os2 boxes
------------------------------------------------------------------------*/
#ifndef OS2FILE_H
#define OS2FILE_H
#if defined(XP_OS2)
/* 32-bit stuff here */
#define INCL_DOSPROCESS
#define INCL_DOS
#define INCL_DOSERRORS
#define INCL_DOSFILEMGR
#define INCL_DOSMODULEMGR
#define INCL_PM
#define INCL_WIN
#define INCL_WINATOM
#define INCL_GPI
#define TID OS2TID /* global rename in OS2 H's! */
#include <os2.h>
#undef TID /* and restore */
/*DAK these are empty.. #include <windef.h> */
/*DAK these are empty.. #include <winbase.h>*/
#include <stdlib.h>
#include <sys\types.h>
#include <sys\stat.h>
#include "dirent.h"
/*DSR020697 - now using dirent.h for DIR...*/
#define _ST_FSTYPSZ 16
typedef unsigned long mode_t;
typedef long uid_t;
typedef long gid_t;
#ifndef XP_OS2
typedef long off_t;
#endif
typedef unsigned long nlink_t;
typedef struct timestruc {
time_t tv_sec; /* seconds */
long tv_nsec; /* and nanoseconds */
} timestruc_t;
/*DSR020697 - now using dirent.h for dirent, S_ISDIR...*/
#endif /* XP_OS2 */
#define CONST const
#endif /* OS2FILE_H */

View File

@@ -1,68 +0,0 @@
/* -*- 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.
*/
/* New file created by IBM-VPB050196 */
#ifndef _OS2SOCK_H
#define _OS2SOCK_H
#if !defined(RC_INVOKED)
#include "mcom_db.h"
#endif
/*DSR050297 - this is based on types.h in the TCP/IP headers... */
/*I'm not including types.h because that causes all sorts of damage... */
#define MAXHOSTNAMELEN 120
#if defined(XP_OS2_DOUGSOCK)
#ifndef BSD_SELECT
#error you need BSD_SELECT defined in your command line for all files
#endif
#include <nerrno.h>
#include <sys\socket.h>
#include <sys\select.h>
#include <sys\time.h>
#include <sys\ioctl.h>
#include <netdb.h>
#include <utils.h>
#else
/*DSR072196 - replaced many files with pmwsock.h...*/
#include <pmwsock.h>
#ifndef IP_MULTICAST_IF
#define IP_MULTICAST_IF 2 /* set/get IP multicast interface*/
#define IP_MULTICAST_TTL 3 /* set/get IP multicast timetolive*/
#define IP_MULTICAST_LOOP 4 /* set/get IP multicast loopback */
#define IP_ADD_MEMBERSHIP 5 /* add an IP group membership */
#define IP_DROP_MEMBERSHIP 6 /* drop an IP group membership */
#define IP_DEFAULT_MULTICAST_TTL 1 /* normally limit m'casts to 1 hop */
#define IP_DEFAULT_MULTICAST_LOOP 1 /* normally hear sends if a member */
#define IP_MAX_MEMBERSHIPS 20 /* per socket; must fit in one mbuf*/
/*
* Argument structure for IP_ADD_MEMBERSHIP and IP_DROP_MEMBERSHIP.
*/
struct ip_mreq {
struct in_addr imr_multiaddr; /* IP multicast address of group */
struct in_addr imr_interface; /* local IP address of interface */
};
#endif
#endif
#endif

View File

@@ -1,66 +0,0 @@
/* -*- 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.
*/
#ifndef PICS_H
#define PICS_H
typedef struct {
char *service;
XP_Bool generic;
char *fur; /* means 'for' */
XP_List *ratings;
} PICS_RatingsStruct;
typedef struct {
char *name;
double value;
} PICS_RatingValue;
typedef enum {
PICS_RATINGS_PASSED,
PICS_RATINGS_FAILED,
PICS_NO_RATINGS
} PICS_PassFailReturnVal;
void PICS_FreeRatingsStruct(PICS_RatingsStruct *rs);
/* return NULL or ratings struct */
PICS_RatingsStruct * PICS_ParsePICSLable(char * label);
/* returns TRUE if page should be censored
* FALSE if page is allowed to be shown
*/
PICS_PassFailReturnVal PICS_CompareToUserSettings(PICS_RatingsStruct *rs, char *cur_page_url);
XP_Bool PICS_IsPICSEnabledByUser(void);
XP_Bool PICS_AreRatingsRequired(void);
/* returns a URL string from a RatingsStruct
* that includes the service URL and rating info
*/
char * PICS_RStoURL(PICS_RatingsStruct *rs, char *cur_page_url);
void PICS_Init(MWContext *context);
XP_Bool PICS_CanUserEnableAdditionalJavaCapabilities(void);
XP_Bool PICS_CheckForValidTreeRating(char *url_address);
#endif /* PICS_H */

View File

@@ -1,433 +0,0 @@
/* -*- Mode: C; tab-width: 8; 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.
*/
/* This file should contain prototypes of all public functions for all
modules in the client library.
This file will be included automatically when source includes "client.h".
By the time this file is included, all global typedefs have been executed.
*/
/* make sure we only include this once */
#ifndef _PROTO_H_
#define _PROTO_H_
#include "ntypes.h"
#include "lo_ele.h"
#ifndef NSPR20
#if defined(__sun)
# include "sunos4.h"
#endif /* __sun */
#endif /* NSPR20 */
XP_BEGIN_PROTOS
/* put your prototypes here..... */
/* --------------------------------------------------------------------------
* Parser stuff
*/
extern intn PA_ParserInit(PA_Functions *);
extern NET_StreamClass *PA_BeginParseMDL(FO_Present_Types, void *,
URL_Struct *, MWContext *);
extern intn PA_ParseBlock(NET_StreamClass *, const char *, int);
extern void PA_MDLComplete(NET_StreamClass *);
extern void PA_MDLAbort(NET_StreamClass *, int);
extern Bool PA_HasMocha(PA_Tag *tag);
extern PA_Tag * PA_CloneMDLTag(PA_Tag * src);
extern intn PA_ParseStringToTags(MWContext *, char *, int32, void *);
extern const char *PA_TagString(int32);
extern int32 PA_TagIndex(char *);
/* --------------------------------------------------------------------------
* Layout stuff
*/
/*#ifndef NO_TAB_NAVIGATION */
extern Bool LO_isTabableElement(MWContext *context, LO_TabFocusData *pCurrentFocus );
extern Bool LO_isTabableFormElement( LO_FormElementStruct * next_ele );
extern Bool LO_isFormElementNeedTextTabFocus( LO_FormElementStruct *pElement );
extern LO_Element * LO_getFirstLastElement(MWContext *context, int wantFirst );
extern Bool LO_getNextTabableElement( MWContext *context, LO_TabFocusData *currentFocus, int forward );
/* NO_TAB_NAVIGATION */
extern LO_FormElementStruct *
LO_ReturnNextFormElement(MWContext *context,
LO_FormElementStruct *current_element);
extern LO_FormElementStruct *
LO_ReturnPrevFormElement(MWContext *context,
LO_FormElementStruct *current_element);
/* NO_TAB_NAVIGATION,
LO_ReturnNextFormElementInTabGroup() is used to tab through form elements.
Since the winfe now has TAB_NAVIGATION, it is not used any more.
If mac and Unix don't use it either, it can be removed.
*/
extern LO_FormElementStruct *
LO_ReturnNextFormElementInTabGroup(MWContext *context,
LO_FormElementStruct *current_element,
XP_Bool go_backwards);
extern intn LO_ProcessTag(void *, PA_Tag *, intn);
extern void LO_RefreshArea(MWContext *context, int32 left, int32 top,
uint32 width, uint32 height);
extern Bool LO_CheckForUnload(MWContext *context);
#ifdef LAYERS
extern void LO_MoveLayer(CL_Layer *layer, int32 x, int32 y);
extern int32 LO_GetLayerXOffset(CL_Layer *layer);
extern int32 LO_GetLayerYOffset(CL_Layer *layer);
extern int32 LO_GetLayerWrapWidth(CL_Layer *layer);
extern int32 LO_GetLayerScrollWidth(CL_Layer *layer);
extern int32 LO_GetLayerScrollHeight(CL_Layer *layer);
extern void LO_SetLayerScrollWidth(CL_Layer *layer, uint32 width);
extern void LO_SetLayerScrollHeight(CL_Layer *layer, uint32 height);
extern void LO_SetLayerBbox(CL_Layer *layer, XP_Rect *bbox);
#ifdef DOM
/* Setters for span contents */
extern void LO_SetSpanColor(MWContext *context, void *span, LO_Color *color);
extern void LO_SetSpanBackground(MWContext *context, void *span, LO_Color *color);
extern void LO_SetSpanFontFamily(MWContext* context, void *span, char *family);
extern void LO_SetSpanFontWeight(MWContext* context, void *span, char *weight);
extern void LO_SetSpanFontSize(MWContext* context, void *span, int32 size);
extern void LO_SetSpanFontSlant(MWContext* context, void *span, char *slant);
#endif
extern void LO_SetLayerBgColor(CL_Layer *layer, LO_Color *color);
extern LO_Color * LO_GetLayerBgColor(CL_Layer *layer);
extern void LO_SetLayerBackdropURL(CL_Layer *layer, const char *url);
extern const char *LO_GetLayerBackdropURL(CL_Layer *layer);
extern LO_ImageStruct *LO_GetLayerBackdropImage(CL_Layer *layer);
extern void LO_SetImageURL(MWContext *context, IL_GroupContext *mocha_img_cx,
LO_ImageStruct *image, const char *url,
NET_ReloadMethod reload_policy);
extern void LO_SetDocBgColor(MWContext *context, LO_Color *rgb);
extern void
lo_SetLayerClipExpansionPolicy(CL_Layer *layer, int policy);
extern int
lo_GetLayerClipExpansionPolicy(CL_Layer *layer);
#ifdef JAVA
/* Java Applet layer code */
extern void LO_SetJavaAppTransparent(LO_JavaAppStruct *javaData);
#endif
extern void LO_SetEmbedType(LO_EmbedStruct *embed, PRBool is_windowed);
extern void LO_SetEmbedSize( MWContext *context, LO_EmbedStruct *embed, int32 width, int32 height );
#ifdef JAVA
extern void LO_SetJavaAppTransparent(LO_JavaAppStruct *javaData);
#endif
extern void *LO_GetLayerMochaObjectFromId(MWContext *context, int32 layer_id);
extern void *LO_GetLayerMochaObjectFromLayer(MWContext *context,
CL_Layer *layer);
extern void LO_SetLayerMochaObject(MWContext *context, int32 layer_id,
void *mocha_object);
extern CL_Layer *LO_GetLayerFromId(MWContext *context, int32 layer_id);
extern int32 LO_GetIdFromLayer(MWContext *context, CL_Layer *layer);
extern int32 LO_GetNumberOfLayers(MWContext *context);
#endif
extern NET_ReloadMethod LO_GetReloadMethod(MWContext *context);
#ifdef LAYERS
extern LO_Element *LO_XYToElement(MWContext *, int32, int32, CL_Layer *);
extern LO_Element *LO_XYToNearestElement(MWContext *, int32, int32,
CL_Layer *);
#else
extern LO_Element *LO_XYToElement(MWContext *, int32, int32);
extern LO_Element *LO_XYToNearestElement(MWContext *, int32, int32);
#endif /* LAYERS */
extern void LO_MoveGridEdge(MWContext *context, LO_EdgeStruct *edge,
int32 x, int32 y);
extern void LO_SetImageInfo(MWContext *context, int32 ele_id,
int32 width, int32 height);
extern void LO_SetForceLoadImage(char *url, XP_Bool all_images);
extern void LO_SetUserOverride(Bool override);
extern void LO_SetDefaultBackdrop(char *url);
extern void LO_SetDefaultColor(intn type, uint8 red, uint8 green, uint8 blue);
extern Bool LO_ParseRGB(char *rgb, uint8 *red, uint8 *green, uint8 *blue);
extern Bool LO_ParseStyleSheetRGB(char *rgb, uint8 *red, uint8 *green, uint8 *blue);
extern void LO_ClearBackdropBlock(MWContext *context,
LO_ImageStruct *image, Bool fg_ok);
extern void LO_ClearEmbedBlock(MWContext *context, LO_EmbedStruct *embed);
extern Bool LO_BlockedOnImage(MWContext *, LO_ImageStruct *image);
extern void LO_CloseAllTags(MWContext *);
extern void LO_DiscardDocument(MWContext *);
extern LO_FormSubmitData *LO_SubmitForm(MWContext *context,
LO_FormElementStruct *form_element);
extern LO_FormSubmitData *LO_SubmitImageForm(MWContext *context,
LO_ImageStruct *image, int32 x, int32 y);
extern void LO_ResetForm(MWContext *context,
LO_FormElementStruct *form_element);
extern LO_FormElementStruct *
LO_FormRadioSet(MWContext *context, LO_FormElementStruct *form_element);
extern void LO_SaveFormData(MWContext *context);
extern void LO_CloneFormData(SHIST_SavedData *, MWContext *context,
URL_Struct *url_struct);
extern void LO_HighlightAnchor(MWContext *context, LO_Element *element,Bool on);
#ifdef OLD_POS_HIST
extern void LO_SetDocumentPosition(MWContext *context, int32 x, int32 y);
#endif /* OLD_POS_HIST */
extern void LO_SetDocumentDimensions(MWContext *context,
int32 width, int32 height);
#ifdef LAYERS
extern void LO_StartSelection(MWContext *context, int32 x, int32 y,
CL_Layer *layer);
#else
extern void LO_StartSelection(MWContext *context, int32 x, int32 y);
#endif /* LAYERS */
typedef enum {
SMALL_BM_ICON,
LARGE_BM_ICON
} BMIconType;
extern char * LO_GetBookmarkIconURLForPage(MWContext *context, BMIconType type);
/* Re-layout layout elements on resize without destroying them and reloading page
from scratch */
extern void LO_RelayoutOnResize(MWContext *context, int32 width, int32 height, int32 leftMargin, int32 topMargin);
/* Re-layout layout elements when one changes size. */
extern void LO_RelayoutFromElement(MWContext *context, LO_Element *element);
extern void LO_ExtendSelection(MWContext *context, int32 x, int32 y);
extern void LO_EndSelection(MWContext *context);
extern void LO_ClearSelection(MWContext *context);
extern XP_Block LO_GetSelectionText(MWContext *context);
extern Bool LO_FindText(MWContext *context, char *text,
LO_Element **start_ele_loc, int32 *start_position,
LO_Element **end_ele_loc, int32 *end_position,
Bool use_case, Bool forward);
extern Bool LO_FindGridText(MWContext *context, MWContext **ret_context,
char *text,
LO_Element **start_ele_loc, int32 *start_position,
LO_Element **end_ele_loc, int32 *end_position,
Bool use_case, Bool forward);
extern Bool LO_SelectAll(MWContext *context);
extern void LO_SelectText(MWContext *context, LO_Element *start,int32 start_pos,
LO_Element *end, int32 end_pos, int32 *x, int32 *y);
extern void LO_RefreshAnchors(MWContext *context);
extern Bool LO_HaveSelection(MWContext *context);
extern void LO_GetSelectionEndpoints(MWContext *context,
LO_Element **start, LO_Element **end, int32 *start_pos, int32 *end_pos, CL_Layer **sel_layer);
extern void LO_FreeSubmitData(LO_FormSubmitData *submit_data);
extern void LO_FreeDocumentFormListData(MWContext *context, void *form_data);
extern void LO_FreeDocumentEmbedListData(MWContext *context, void *embed_data);
extern void LO_FreeDocumentGridData(MWContext *context, void *grid_data);
extern void LO_FreeDocumentAppletData(MWContext *context, void *applet_data);
extern void LO_RedoFormElements(MWContext *context);
extern void LO_InvalidateFontData(MWContext *context);
extern void LO_GetDocumentMargins(MWContext *context,
int32 *margin_width, int32 *margin_height);
extern Bool LO_HasBGImage(MWContext *context);
extern Bool LO_LocateNamedAnchor(MWContext *context, URL_Struct *url_struct,
int32 *xpos, int32 *ypos);
extern int32 LO_EmptyRecyclingBin(MWContext *context);
extern LO_AnchorData *LO_MapXYToAreaAnchor(MWContext *context,
LO_ImageStruct *image, int32 x, int32 y);
extern intn LO_DocumentInfo(MWContext *context, NET_StreamClass *stream);
extern intn LO_ChangeFontSize(intn size, char *size_str);
extern double LO_GetScalingFactor(int32 scaler);
extern int16 LO_WindowWidthInFixedChars(MWContext *context);
extern void LO_CleanupGridHistory(MWContext *context);
extern void LO_UpdateGridHistory(MWContext *context);
extern Bool LO_BackInGrid(MWContext *context);
extern Bool LO_ForwardInGrid(MWContext *context);
extern Bool LO_GridCanGoForward(MWContext *context);
extern Bool LO_GridCanGoBackward(MWContext *context);
#ifdef LAYERS
extern Bool LO_Click( MWContext *context, int32 x, int32 y,
Bool requireCaret, CL_Layer *layer );
extern void LO_Hit(MWContext *context, int32 x, int32 y,
Bool requireCaret, LO_HitResult *result, CL_Layer *layer);
#else
extern Bool LO_Click( MWContext *context, int32 x, int32 y, Bool requireCaret );
extern void LO_Hit(MWContext *context, int32 x, int32 y,
Bool requireCaret, LO_HitResult *result);
#endif /* LAYERS */
extern int32 LO_TextElementWidth(MWContext *context, LO_TextStruct *text_ele, int charOffset);
extern void LO_AddEmbedData(MWContext* context, LO_EmbedStruct* embed, void* data);
extern void LO_CopySavedEmbedData(MWContext* context, SHIST_SavedData* newdata);
extern NET_StreamClass* LO_NewObjectStream(FO_Present_Types format_out, void* type,
URL_Struct* urls, MWContext* context);
extern void LO_CreateReblockTag(MWContext* context, LO_Element* element);
extern void LO_LockLayout(void);
extern void LO_UnlockLayout(void);
extern Bool LO_VerifyUnlockedLayout();
extern void LO_NetlibComplete(MWContext * context);
extern void LO_UpdateTextData(lo_FormElementTextData * textData, const char * text);
#ifdef EDITOR
/* --------------------------------------------------------------------------
* Layout stuff specific to the editor
*/
#ifdef LAYERS
extern void LO_PositionCaret( MWContext *context, int32 x, int32 y,
CL_Layer *layer);
extern void LO_DoubleClick( MWContext *context, int32 x, int32 y,
CL_Layer *layer );
#else
extern void LO_PositionCaret( MWContext *context, int32 x, int32 y );
extern void LO_DoubleClick( MWContext *context, int32 x, int32 y );
#endif /* LAYERS */
void LO_PositionCaretBounded(MWContext *context, int32 x, int32 y,
int32 minY, int32 maxY );
extern ED_Buffer* LO_GetEDBuffer( MWContext *context);
extern void LO_GetEffectiveCoordinates( MWContext *pContext, LO_Element *pElement, int32 position,
int32* pX, int32* pY, int32* pWidth, int32* pHeight );
extern void LO_UpDown( MWContext *pContext, LO_Element *pElement, int32 position, int32 iDesiredX, Bool bSelect, Bool bForward );
extern Bool LO_PreviousPosition( MWContext *pContext,LO_Element *pElement, intn iOffset,
ED_Element **ppEdElement, intn* pOffset);
extern Bool LO_NextPosition( MWContext *pContext,LO_Element *pElement, intn iOffset,
ED_Element **ppEdElement, intn* pOffset);
extern Bool LO_NavigateChunk( MWContext *pContext, intn chunkType, Bool bSelect, Bool bForward );
extern Bool LO_ComputeNewPosition( MWContext *context, intn chunkType,
Bool bSelect, Bool bDeselecting, Bool bForward,
LO_Element** pElement, int32* pPosition );
extern LO_Element* LO_BeginOfLine( MWContext *pContext, LO_Element *pElement );
extern LO_Element* LO_EndOfLine( MWContext *pContext, LO_Element *pElement);
extern LO_Element* LO_FirstElementOnLine( MWContext *pContext,
int32 x, int32 y, int32 *pLineNum);
#ifdef LAYERS
extern void LO_StartSelectionFromElement( MWContext *context, LO_Element *eptr,
int32 new_pos, CL_Layer *layer );
#else
extern void LO_StartSelectionFromElement( MWContext *context, LO_Element *eptr,
int32 new_pos );
#endif /* LAYERS */
extern void LO_ExtendSelectionFromElement( MWContext *context, LO_Element *eptr,
int32 position, Bool bFromStart );
extern Bool LO_SelectElement( MWContext *context, LO_Element *eptr,
int32 position, Bool bFromStart );
extern void LO_SelectRegion( MWContext *context, LO_Element *begin,
int32 beginPosition, LO_Element *end, int32 endPosition,
Bool fromStart, Bool forward );
extern Bool LO_IsSelected( MWContext *context );
extern Bool LO_IsSelectionStarted( MWContext *context );
extern void LO_GetSelectionEndPoints( MWContext *context,
LO_Element **ppStart, intn *pStartOffset, LO_Element **ppEnd,
intn *pEndOffset, Bool *pbFromStart, Bool *pbSingleElementSelection );
extern void LO_GetSelectionNewPoint( MWContext *context,
LO_Element **ppNew, intn *pNewOffset);
extern LO_Element* LO_PreviousEditableElement( LO_Element *pElement );
extern LO_Element* LO_NextEditableElement( LO_Element *pElement );
extern LO_ImageStruct* LO_NewImageElement( MWContext* context );
extern void LO_SetBackgroundImage( MWContext *context, char *pUrl );
extern void LO_RefetchWindowDimensions( MWContext *pContext );
extern void LO_Relayout( MWContext *context, ED_TagCursor *pCursor,
int32 iLine, int iStartEditOffset, XP_Bool bDisplayTables );
#endif /*EDITOR*/
extern void LO_SetBaseURL( MWContext *pContext, char *pURL );
extern char* LO_GetBaseURL( MWContext *pContext );
#if 0
extern Bool LO_Click( MWContext *context, int32 x, int32 y, Bool requireCaret );
extern void LO_Hit(MWContext *context, int32 x, int32 y, Bool requireCaret, LO_HitResult *result);
#endif
#ifdef LAYERS
extern void LO_SelectObject( MWContext *context, int32 x, int32 y,
CL_Layer *layer );
#else
extern void LO_SelectObject( MWContext *context, int32 x, int32 y );
#endif /* LAYERS */
#ifdef LAYERS
extern LO_LayerType LO_GetLayerType(CL_Layer *layer);
extern Bool LO_PrepareLayerForWriting(MWContext *context, int32 layer_id,
const char *referer, int32 width);
extern Bool LO_SetLayerSrc(MWContext *context, int32 layer_id, char *str,
const char *referer, int32 width);
extern int32 LO_CreateNewLayer(MWContext *context, int32 wrap_width, int32 parent_layer_id);
#endif /* LAYERS */
#ifdef XP_UNIX
extern void LO_DisplayFormElement(LO_FormElementStruct *form);
#endif /* XP_UNIX */
/* Allows front ends to test for empty cell.
* Used in Composer to display "zero width border"
* in cells that layout would normally not display
*/
XP_Bool LO_IsEmptyCell(LO_CellStruct *cell);
Bool LO_LayingOut(MWContext * context);
#ifdef DOM
/* Returns true if the layout element is enclosed
in <SPAN> </SPAN> */
Bool LO_IsWithinSpan( LO_Element *ele );
#endif
/*
* This is probably the wrong place to add this, but tough,
* this stuff shouldn't have to exist anyways.
*/
extern void XP_InitializeContext(MWContext *context);
extern MWContext *XP_NewContext(void);
extern void XP_DeleteContext(MWContext *context);
extern XP_List *XP_GetGlobalContextList(void);
extern void XP_AddContextToList(MWContext *context);
extern Bool XP_IsContextInList(MWContext *context);
extern void XP_RemoveContextFromList(MWContext *context);
extern MWContext *XP_GetNonGridContext(MWContext *context);
extern Bool XP_IsChildContext(MWContext* parent, MWContext* child);
extern MWContext *XP_FindNamedContextInList(MWContext * context, char *name);
extern MWContext *XP_FindContextOfType(MWContext *, MWContextType);
extern MWContext *XP_FindSomeContext(void);
extern Bool XP_FindNamedAnchor(MWContext * context, URL_Struct * url,
int32 *xpos, int32 *ypos);
extern void XP_RefreshAnchors(void);
extern void XP_InterruptContext(MWContext * context);
extern Bool XP_IsContextBusy(MWContext * context);
extern Bool XP_IsContextStoppable(MWContext * context);
extern void XP_UpdateParentContext(MWContext * context);
extern int XP_GetSecurityStatus(MWContext *pContext);
extern int XP_ContextCount(MWContextType cxType, XP_Bool bTopLevel);
XP_END_PROTOS
# endif /* _PROTO_H_ */

View File

@@ -1,99 +0,0 @@
/* -*- 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.
*/
#ifndef PWCACAPI_H
#define PWCACAPI_H
/* contains a null terminated array of name and value stings
*
* end index of name should always be equal to the end index of value
*
*/
typedef struct _PCNameValuePair PCNameValuePair;
typedef struct _PCNameValueArray PCNameValueArray;
typedef void PCDataInterpretFunc (
char *module,
char *key,
char *data, int32 data_size,
char *type_buffer, int32 type_buffer_size,
char *url_buffer, int32 url_buffer_size,
char *username_buffer, int32 username_buffer_size,
char *password_buffer, int32 password_buffer_size);
/* returns 0 on success -1 on error
*/
extern int PC_RegisterDataInterpretFunc(char *module,
PCDataInterpretFunc *func);
extern int PC_PromptUsernameAndPassword(MWContext *context,
char *prompt,
char **username,
char **password,
XP_Bool *remember_password,
XP_Bool is_secure);
extern char *PC_PromptPassword(MWContext *context,
char *prompt,
XP_Bool *remember_password,
XP_Bool is_secure);
extern char *PC_Prompt(MWContext *context,
char *prompt,
char *deft,
XP_Bool *remember,
XP_Bool is_secure);
void PC_FreeNameValueArray(PCNameValueArray *array);
PCNameValueArray * PC_NewNameValueArray(void);
uint32 PC_ArraySize(PCNameValueArray *array);
char * PC_FindInNameValueArray(PCNameValueArray *array, char *name);
int PC_DeleteNameFromNameValueArray(PCNameValueArray *array, char *name);
void PC_EnumerateNameValueArray(PCNameValueArray *array, char **name, char **value, XP_Bool beginning);
int PC_AddToNameValueArray(PCNameValueArray *array, char *name, char *value);
void PC_CheckForStoredPasswordData(char *module, char *key, char **data, int32 *len);
int PC_DeleteStoredPassword(char *module, char *key);
PCNameValueArray * PC_CheckForStoredPasswordArray(char *module, char *key);
int PC_StoreSerializedPassword(char *module, char *key, char *data, int32 len);
int PC_StorePasswordNameValueArray(char *module, char *key, PCNameValueArray *array);
void PC_SerializeNameValueArray(PCNameValueArray *array, char **data, int32 *len);
PCNameValueArray * PC_CharToNameValueArray(char *data, int32 len);
/*, returns status
*/
int PC_DisplayPasswordCacheAsHTML(URL_Struct *URL_s,
FO_Present_Types format_out,
MWContext *context);
void PC_Shutdown();
#endif /* PWCACAPI_H */

View File

@@ -1,101 +0,0 @@
/* -*- 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.
*/
#ifndef _RESDEF_H_
#define _RESDEF_H_
#include "xp_core.h"
#define RES_OFFSET 7000
#ifndef RESOURCE_STR
#ifdef WANT_ENUM_STRING_IDS
#define RES_START
#if defined(XP_WIN) && _MSC_VER == 1100
/* VC50 has a bug, where large enumerations cause an
* internal compiler error. Do some hack here to fix without
* breaking the other platforms.
*/
#define BEGIN_STR(arg)
#define ResDef(name,id,msg) enum { name=id };
#define END_STR(arg)
#else /* XP_WIN _MSC_VER */
#define BEGIN_STR(arg) enum {
#define ResDef(name,id,msg) name=id,
#if defined(XP_WIN)
#define END_STR(arg) };
#else
#define END_STR(arg) arg=0 };
#endif
#endif /* XP_WIN _MSC_VER */
#else /* WANT_ENUM_STRING_IDS */
#define RES_START
#define BEGIN_STR(arg)
#ifdef XP_WIN16
/* Get these ints out of DGROUP (/Gt3 compiler switch)
* so we can increase the stack size
*/
#define ResDef(name,id,msg) int __far name = (id);
#else
#define ResDef(name,id,msg) int name = (id);
#endif
#define END_STR(arg)
#endif /* WANT_ENUM_STRING_IDS */
#else /* RESOURCE_STR, the definition here is for building resources */
#if defined(XP_WIN) || defined(XP_OS2)
#ifndef MOZILLA_CLIENT
#define RES_START
#define BEGIN_STR(arg) static char * (arg) (int16 i) { switch (i) {
#define ResDef(name,id,msg) case (id)+RES_OFFSET: return (msg);
#define END_STR(arg) } return NULL; }
#else /* MOZILLA_CLIENT */
#define RES_START STRINGTABLE DISCARDABLE
#define BEGIN_STR(arg) BEGIN
#define ResDef(name,id,msg) id+RES_OFFSET msg
#define END_STR(arg) END
#endif /* not MOZILLA_CLIENT */
#elif defined(XP_MAC)
/* Do nothing -- leave ResDef() to be perl'ized via MPW */
#define ResDef(name,id,msg) ResDef(name,id,msg)
#elif defined(XP_UNIX)
#ifdef RESOURCE_STR_X
#define RES_START
#define BEGIN_STR(arg) static char *(arg)(void) {
#define ResDef(name,id,msg) output((id)+RES_OFFSET, (msg));
#define END_STR(arg) }
#else
#define RES_START
#define BEGIN_STR(arg) static char *(arg)(int16 i) { switch (i) {
#define ResDef(name,id,msg) case (id)+RES_OFFSET: return (msg);
#define END_STR(arg) } return NULL; }
#endif /* RESOURCE_STR_X */
#endif /* XP_WIN */
#endif /* RESOURCE_STR */
#endif /* _RESDEF_H_ */

View File

@@ -1,163 +0,0 @@
/* -*- 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.
*/
#ifndef SHIST_H
#define SHIST_H
#include "xp_list.h"
#include "ntypes.h"
#include "hotlist.h"
/* see shistele.h for the structure definitions. :(
*/
/* --------------------------------------------------------------------------
* Session history module routines
*/
struct MWContext_;
struct URL_Struct_;
#define HIST_NEW_OBJECT 0
#define HIST_MOVE_FORWARD 1
#define HIST_MOVE_BACK 2
/* Max length of the URL when title is unknown */
#define HIST_MAX_URL_LEN 30
XP_BEGIN_PROTOS
/* Front-End Specialized Functions */
extern void SHIST_InitSession(struct MWContext_ * ctxt);
extern void SHIST_EndSession(MWContext * ctxt);
/* copys all the session data from the old context into the
* new context. Does not effect data in old_context session history
*
* if new_context has not had SHIST_InitSession called for it
* it will be called to initalize it.
*/
extern void
SHIST_CopySession(MWContext * new_context, MWContext * old_context);
/* make a new copy of the given history entry */
extern History_entry * SHIST_CloneEntry(History_entry * old_entry);
/*
* someone (like another thread) needs to keep this entry around for
* a while, increase the reference count so it doesn't disappear
* on us. Return the held reference to entry. Tolerate NULL entry.
*/
extern History_entry * SHIST_HoldEntry(History_entry * entry);
#define SHIST_DropEntry SHIST_FreeHistoryEntry
/* these update position and buttons! */
extern void SHIST_AddDocument(struct MWContext_ * ctxt, History_entry * entry);
extern History_entry * SHIST_GetPrevious(struct MWContext_ * ctxt);
extern History_entry * SHIST_GetNext(struct MWContext_ * ctxt);
/* convenience functions */
extern char* SHIST_StripProtocol ( char* inURL ) ;
extern History_entry * SHIST_CreateHistoryEntry (struct URL_Struct_ * URL_s, char * title);
extern URL_Struct * SHIST_CreateURLStructFromHistoryEntry(struct MWContext_ * ctxt,
History_entry * entry);
extern URL_Struct * SHIST_CreateWysiwygURLStruct(struct MWContext_ * ctxt,
History_entry * entry);
extern BM_Entry* SHIST_CreateHotlistStructFromHistoryEntry(History_entry * h);
extern void SHIST_FreeHistoryEntry (MWContext * ctxt, History_entry * entry);
/* Standard History Functions */
extern int SHIST_CanGoBack(MWContext * ctxt);
extern int SHIST_CanGoForward(MWContext * ctxt);
extern History_entry * SHIST_GetEntry(History * hist, int entry_number);
extern History_entry * SHIST_GetCurrent(History * hist);
extern XP_List * SHIST_GetList(MWContext * ctxt);
/* Functions to handle Page Services functionality */
extern int SHIST_CurrentHandlesPageServices(MWContext * ctxt);
extern char * SHIST_GetCurrentPageServicesURL(MWContext * ctxt);
/* sets the current doc pointer to the index specified in the call
*
* entry numbering begins at one.
*/
extern void SHIST_SetCurrent(History * hist, int entry_number);
/* set the title of the current document
*
* TODO: All FEs should use the XP_WIN version asap.
*/
#if defined(XP_WIN) || defined(XP_MAC) || defined(XP_OS2)
extern void SHIST_SetTitleOfCurrentDoc(MWContext * context);
#else
extern void SHIST_SetTitleOfCurrentDoc(History * hist, char * title);
#endif
/* set the layout specific form data neccessary to recreate the user settable
* entries within a form
*/
PUBLIC void
SHIST_SetCurrentDocFormListData(MWContext * context, void * form_data);
/* set the layout-plugin specific embed data neccessary to recreate the
* last session state within the embedded object.
*/
PUBLIC void
SHIST_SetCurrentDocEmbedListData(MWContext * context, void * embed_data);
/* set the layout grid data neccessary to recreate the
* grid when revisited through history.
*/
PUBLIC void
SHIST_SetCurrentDocGridData(MWContext * context, void * grid_data);
/* set the window object for a grid being resized.
*/
PUBLIC void
SHIST_SetCurrentDocWindowData(MWContext * context, void * window_data);
/* set the layout applet data neccessary to recreate the
* applet when revisited through history.
*/
PUBLIC void
SHIST_SetCurrentDocAppletData(MWContext * context, void * applet_data);
/* set the position of the current document
*/
extern void SHIST_SetPositionOfCurrentDoc(History * hist, int32 position_tag);
/* gets an index associated with the entry
*
* entry numbering begins at one.
*
* zero is returned if object not found
*/
extern int SHIST_GetIndex(History * hist, History_entry * entry);
/* return the n'th object
*/
extern History_entry * SHIST_GetObjectNum(History * hist, int n);
XP_END_PROTOS
#endif /* SHIST_H */

View File

@@ -1,129 +0,0 @@
/* -*- 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.
*/
#ifndef SHISTELE_H
#define SHISTELE_H
#include "xp_list.h"
/*
** This structure holds pointer so all saved data in the history. It is
** also used by URL_Structs and is ultimately fed to layout.
**
** Warning: Don't change the names of the fields because they're used by
** macros.
*/
typedef struct SHIST_SavedData {
void* FormList; /* layout data to recreate forms */
void* EmbedList; /* layout data to recreate embeds and applets */
void* Grid; /* layout data to recreate grids */
#ifdef MOCHA
void* Window; /* window object for grid being resized */
/* XXX none of this would be necessary if frameset docs were reparsed */
void* OnLoad; /* JavaScript onload event handler source */
void* OnUnload; /* JavaScript onunload event handler source */
void* OnFocus; /* JavaScript onfocus event handler source */
void* OnBlur; /* JavaScript onblur event handler source */
void* OnHelp; /* JavaScript onhelp event handler source */
void* OnMouseOver; /* JavaScript onmouseover event handler source */
void* OnMouseOut; /* JavaScript onmouseout event handler source */
void* OnDragDrop; /* JavaScript ondragdrop event handler source */
void* OnMove; /* JavaScript onmove event handler source */
void* OnResize; /* JavaScript onresize event handler source */
void* style_stack; /* JSSS style stack info */
#endif
} SHIST_SavedData;
/*
This structure encapsulates all of the information needed for the
session history. It should contain stuff like a list of all of the
documents in the current history and a pointer to where the currently
viewed document sits in the chain.
WARNING!! Some slots of this structure are shared with URL_Struct and
net_CacheObject. If you add a slot, decide whether it needs to be
shared as well.
*/
struct _History_entry {
char * title; /* title for this entry */
char * address; /* URL address string */
char * content_name; /* Server-provided "real name", used for
default file name when saving. */
int method; /* method of acessing URL */
char * referer; /* What document points to this url */
char * post_data; /* post data */
int32 post_data_size; /* post data size */
Bool post_data_is_file; /* is the post data a filename? */
char * post_headers; /* content type for posted data */
int32 position_tag; /* layout specific data for determining
* where in the document the user was
*/
time_t last_modified; /* time of last modification */
time_t last_access; /* time of last access */
int history_num; /* special hack to add navigation */
SHIST_SavedData savedData; /* layout data */
PRPackedBool
is_binary, /* is this a binary object pretending
* to be HTML?
*/
is_active, /* is it an active stream? */
is_netsite, /* did it come from netsite? */
replace; /* did it come from netsite? */
int transport_method; /* network, disk cache, memory cache */
uint32 refresh; /* refresh interval */
char *refresh_url; /* URL to refresh */
char *wysiwyg_url; /* URL for WYSIWYG printing/saving */
/* Security information */
int security_on; /* is security on? */
/* Security info on a connection is opaque */
unsigned char *sec_info;
/* Unique identifier */
int32 unique_id;
int32 ref_count;
/* Page services*/
char *page_services_url; /* If it supports services, what link is used */
/* HTTP_11 support*/
char *etag; /* Unique entity tag */
char *origin_url; /* original referrer of javascript: URL */
};
#define SHIST_CAME_FROM_NETWORK 0
#define SHIST_CAME_FROM_DISK_CACHE 1
#define SHIST_CAME_FROM_MEMORY_CACHE 2
struct History_ {
XP_List * list_ptr; /* pointer to linked list */
int cur_doc; /* an index into the list that points to the current document */
History_entry *cur_doc_ptr; /* a ptr to the current doc entry */
int32 num_entries; /* size of the history list */
int32 max_entries; /* maximum size of list; -1 == no limit */
};
#endif /* SHISTELE_H */

View File

@@ -1,70 +0,0 @@
/* -*- 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.
*/
/*
* shr_str.h
* ---------
*
* Error codes that are shared by more than one module of
* Netscape Navigator. This file is probably a temporary
* workaround until we can get a more sophisticated sharing
* mechanism in place.
*
* Codes are represented as fixed numbers, not offsets off
* of a base, to avoid namespace collision.
*
*/
#ifndef SHR_STR_H
#define SHR_STR_H
#define MK_OUT_OF_MEMORY -207
#define MK_UNABLE_TO_OPEN_FILE -223
#define MK_DISK_FULL -250
#define MK_UNABLE_TO_OPEN_TMP_FILE -253
#define MK_MIME_NO_RECIPIENTS -267
#define MK_NNTP_SERVER_NOT_CONFIGURED -307
#define MK_UNABLE_TO_DELETE_FILE -327
#define MK_MSG_DELIV_MAIL 15412
#define MK_MSG_DELIV_NEWS 15414
#define MK_MSG_SAVE_AS 15483
#define MK_MSG_NO_HEADERS 15528
#define MK_MSG_MIME_MAC_FILE 15530
#define MK_MSG_CANT_OPEN 15540
#define XP_MSG_UNKNOWN 15572
#define XP_EDIT_NEW_DOC_NAME 15629
#define XP_ALERT_TITLE_STRING -7956
#define XP_SEC_SHOWCERT -7963
#define XP_SEC_SHOWORDER -7962
#ifdef XP_WIN
/* for Winsock defined error codes */
#include "winsock.h"
#define XP_ERRNO_ECONNREFUSED WSAECONNREFUSED
#define XP_ERRNO_EIO WSAECONNREFUSED
#define XP_ERRNO_EISCONN WSAEISCONN
#define XP_ERRNO_EWOULDBLOCK EWOULDBLOCK
#endif /* XP_WIN */
#endif

View File

@@ -1,199 +0,0 @@
/* -*- Mode: C++; tab-width: 8; 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.
*/
/* *
*
*
***************************************************************************
* spellchk.h
* Public header file for the Spell Checker library.
****************************************************************************/
#ifndef _SPELLCHK_H_
#define _SPELLCHK_H_
/* In WIN16 DLL exported functions require __loadds keywords for the DS
* register to be set to the DLL's data-segment value and restored on return
* from the function.
*/
#ifdef WINDOWS
#define SCAPI __loadds
#elif defined(WIN32)
#define SCAPI __cdecl
#else
#define SCAPI
#endif
#ifdef MAC
#include <Files.h>
#endif
/* Language and Dialect codes. */
#define L_AFRIKAANS 101
#define L_CATALAN 102
#define L_CZECH 103
#define L_DANISH 104
#define L_DUTCH 105
#define L_ENGLISH 106
#define L_FINNISH 107
#define L_FRENCH 108
#define L_GERMAN 109
#define L_GREEK 110
#define L_HUNGARIAN 111
#define L_ITALIAN 112
#define L_NORWEGIAN 113
#define L_POLISH 114
#define L_PORTUGUESE 115
#define L_RUSSIAN 116
#define L_SPANISH 117
#define L_SWEDISH 118
#define D_DEFAULT 0xFFFF
#define D_AUS_ENGLISH 0x1001
#define D_US_ENGLISH 0x1010
#define D_UK_ENGLISH 0x1100
#define D_DOPPEL 0x2001 /* German */
#define D_SCHARFES 0x2010
#define D_BRAZILIAN 0x4001 /* Portuguese */
#define D_EUROPEAN 0x4010
#define D_BOKMAL 0x8001 /* Norwegian */
#define D_NYNORSK 0x8010
/* ISpellChecker - This class specifies the interface to the Spell Checker. A client
* application instatiates a spell checker object using the exported function SC_Create().
* The client application then performs spell checking using the member functions of this
* class. The spell checker object is destroyed by using the exported function SC_Destroy().
*/
class ISpellChecker
{
public:
/* Needs to be called by the client app once before calling any other functions.
* Return: 0 = success, non-zero = error
*/
#ifdef MAC
virtual int SCAPI Initialize(int LangCode, int DialectCode,
FSSpec *DbPath, FSSpec *PersonalDbFile) = 0;
#else
virtual int SCAPI Initialize(int LangCode, int DialectCode,
const char *DbPath, const char *PersonalDbFile) = 0;
#endif
/* Functions to set and get the current language and dialect settings.
* Returns: 0 = success, non-zero = failure
*/
virtual int SCAPI SetCurrentLanguage(int LangCode, int DialectCode) = 0;
virtual int SCAPI GetCurrentLanguage(int &LangCode, int &DialectCode) = 0;
/* Get the list of dictionaries available */
virtual int SCAPI GetNumOfDictionaries() = 0;
/* Get the language and dialect id for an available dictionary.
* Index = 0-based index into the list of available dictionaries.
* Returns: 0 = success, non-zero = failure.
*/
virtual int SCAPI GetDictionaryLanguage(int Index, int &LangCode, int &DialectCode) = 0;
/* Called by the client application to initialize a buffer for spell checking.
* It returns immediately without parsing the buffer. The client controls parsing of
* the buffer by calling GetNextMisspelledWord() and SetNewBuf().
* Return: 0 = success, non-zero = error
*/
virtual int SCAPI SetBuf(const char *pBuf) = 0;
/* Initialize a buffer with selection */
virtual int SCAPI SetBuf(const char *pBuf, unsigned long SelStart, unsigned long SelEnd) = 0;
/* Replace the current mispelled word with a new word */
virtual int SCAPI ReplaceMisspelledWord(const char *NewWord, int AllInstances) = 0;
/* Get the size of the current buffer */
virtual unsigned long SCAPI GetBufSize() = 0;
/* Copy the current buffer */
virtual int SCAPI GetBuf(char *pBuf, unsigned long BufSize) = 0;
/* Called by the client application to parse the buffer and return the next misspelled
* word in the buffer.
* Return: 0 = found a misspelled word.
* *Offset = Offset of the word from the beginning of the buffer
* *Len = Length of the word
* non-zero = no more misspelled word
*/
virtual int SCAPI GetNextMisspelledWord(unsigned long &Offset, unsigned long &Len) = 0;
/* The orginal buffer was changed by the client.
* ReparseFromStart = 1 - reparse the new buffer from the beginning
* = 0 - parse from the last offset into the original buffer
*/
virtual void SCAPI SetNewBuf(const char *pBuf, int ReparseFromStart) = 0;
/* Called by the client application to spell check a work.
* Return: 1 = valid word, 0 = not in dictionary
*/
virtual int SCAPI CheckWord(const char *pWord) = 0;
/* Get the number of possible alternatives found in the dictionary for the input word. */
virtual int SCAPI GetNumAlternatives(const char *pWord) = 0;
/* Get an alternative string. The "Index" is zero based.
* Return: 0 = success, -1 = error(bad Index),
* +ve value = BufSize too small, size needed
*/
virtual int SCAPI GetAlternative(int Index, char *pBuf, unsigned int BufSize) = 0;
/* The following functions interact with the personal database */
/* Add a word to the personal dictionary */
virtual int SCAPI AddWordToPersonalDictionary(const char *pWord) = 0;
/* Remove a word from the personal dictionary */
virtual int SCAPI RemoveWordFromPersonalDictionary(const char *pWord) = 0;
/* Ignore all references to a word in the current session */
virtual int SCAPI IgnoreWord(const char *pWord) = 0;
/* GetFirstPersonalDictionaryWord & GetNextPersonalDictionaryWord
* These functions retrieve words in the personal dictionary
* Returns: 0 = success, pBuf contains the next word
* -1 = no more words
* +ve = required buffer size. Size passed is too small.
*/
virtual int SCAPI GetFirstPersonalDictionaryWord(char *pBuf, int BufSize) = 0;
virtual int SCAPI GetNextPersonalDictionaryWord(char *pBuf, int BufSize) = 0;
/* Resets the contents of the personal dictionary */
virtual int SCAPI ResetPersonalDictionary() = 0;
/* destructor */
virtual ~ISpellChecker() {};
};
/* Exported library functions to create and destroy ISpellChecker objects. */
extern "C"
{
ISpellChecker * SCAPI SC_Create();
void SCAPI SC_Destroy(ISpellChecker *pSpellChecker);
}
#endif

View File

@@ -1,459 +0,0 @@
/* -*- 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.
*/
/*
* This file is included by client.h
*
* It can be included by hand after mcom.h
*
* All intermodule data structures (i.e. MWContext, etc) should be included
* in this file
*/
#ifndef _STRUCTS_H_
#define _STRUCTS_H_
#include "ntypes.h"
#include "xp_mcom.h"
#include "il_types.h"
#include "lo_ele.h"
#include "shistele.h"
#include "edttypes.h"
#ifdef JAVA
#include "prlong.h"
#include "prclist.h"
#endif /* JAVA */
/* ------------------------------------------------------------------------ */
/* ============= Typedefs for the global context structure ================ */
/* will come out of the ctxtfunc.h file eventually
*/
typedef struct _ContextFuncs ContextFuncs;
/*
* This stuff is front end specific. Add whatever you need.
*/
#if defined(OSF1) && defined(__cplusplus)
struct fe_ContextData;
#endif
#if defined(XP_MAC) && defined(__cplusplus)
class NetscapeContext;
class CHyperView;
class CNSContext;
class CHTMLView;
#endif
#if ( defined(XP_WIN) || defined(XP_OS2) ) && defined(__cplusplus)
class CAbstractCX;
class CEditView;
class CSaveProgress;
#endif
typedef struct FEstruct_ {
#ifndef MOZILLA_CLIENT
void * generic_data;
#elif defined(XP_WIN) || defined(XP_OS2)
#ifdef __cplusplus
CAbstractCX *cx;
#else
void *cx;
#endif
#elif defined(XP_TEXT)
int doc_cols;
int doc_lines;
int cur_top_line;
int num_anchors;
int cur_anchor;
#elif defined(XP_UNIX)
struct fe_ContextData *data;
#elif defined(XP_MAC)
#ifdef __cplusplus
class NetscapeContext* realContext;
class CHyperView* view;
class CNSContext* newContext;
class CHTMLView* newView;
#else
void* realContext;
void* view;
void* newContext;
void* newView;
#endif
/*
** These members are only used by the EDITOR... However, if they
** are removed for non-editor builds the MWContext structure
** becomes skewed for java (and the rest of DIST)...
*/
#ifdef __cplusplus
class CEditView* editview;
class CSaveProgress* savedialog;
#else
void* editview;
void* savedialog;
#endif
#endif
} FEstruct;
#define FEUNITS_X(x,context) ((int32) ((MWContext *)context)->convertPixX * (x))
#define FEUNITS_Y(y,context) ((int32) ((MWContext *)context)->convertPixY * (y))
struct MessageCopyInfo;
/*
This is a generic context structure. There should be one context
per document window. The context will allow assorted modules to
pull out things like the URL of the current document as well as
giving them a place to hand their window specific stuff.
*/
#if defined (OSF1)
/* Forward declaration to make compiler happy on OSF1 */
struct MSG_SearchFrame;
#ifdef XP_CPLUSPLUS
class MSG_IMAPFolderInfoMail;
class MSG_Master;
class MSG_Pane;
class TImapServerState;
#endif
#endif
struct MWContext_ {
MWContextType type;
char *url; /* URL of current document */
char * name; /* name of this context */
History hist; /* Info needed for the window history module */
FEstruct fe; /* Front end specific stuff */
PRPackedBool fancyFTP; /* use fancy ftp ? */
PRPackedBool fancyNews; /* use fancy news ? */
PRPackedBool intrupt; /* the user just interrupted things */
PRPackedBool graphProgress; /* should the user get visual feedback */
PRPackedBool waitingMode; /* Has a transfer been initiated? Once a */
/* transfer is started, the user cannot select another */
/* anchor until either the transfer is aborted, has */
/* started to layout, or has been recognized as a */
/* separate document handled through an external stream/viewer */
PRPackedBool reSize; /* the user wants to resize the window once the */
/* current transfer is over */
int fileSort; /* file sorting method */
char * save_as_name; /* name to save current file as */
char * title; /* title (if supplied) of current document */
Bool is_grid_cell; /* Is this a grid cell */
struct MWContext_ *grid_parent; /* pointer to parent of grid cell */
XP_List * grid_children; /* grid children of this context */
int convertPixX; /* convert from pixels to fe-specific coords */
int convertPixY; /* convert from pixels to fe-specific coords */
ContextFuncs * funcs; /* function table of display routines */
PrintSetup *prSetup; /* Info about print job */
PrintInfo *prInfo; /* State information for printing process */
/* XXXM12N Stuff for the new, modular Image Library. *********************/
IL_GroupContext *img_cx; /* Created by Front Ends. Passed into Image
Library function calls. */
IL_ColorSpace *color_space; /* Colorspace information for images. This
should become a part of the FE's display
context when MWContext goes away. */
IL_IRGB *transparent_pixel; /* Background color to be passed into
IL_GetImage. Set by Front Ends (?) */
/*************************************************************************/
int32 images; /* # of distinct images on this page */
/* ! do not use these ! */
/* ! these are going away soon ! */
/* instead see intl_csi.h for the i18n accessor functions */
int16 do_not_use_win_csid; /* code set ID of current window */
int16 do_not_use_doc_csid; /* code set ID of current document */
int16 do_not_use_relayout; /* tell conversion to treat relayout case */
char *do_not_use_mime_charset; /* MIME charset from URL */
struct MSG_CompositionFrame *msg_cframe; /* ditto. */
struct MSG_SearchFrame *msg_searchFrame; /*state for search, for search contexts*/
struct MSG_BiffFrame *biff_frame; /* Biff info for this context, if any. */
struct BM_Frame *bmframe; /* Bookmarks info for this context, if any. */
/* for now, add IMAP mail stuff here */
#ifdef XP_CPLUSPLUS
class MSG_IMAPFolderInfoMail *currentIMAPfolder;
class MSG_Pane *imapURLPane; /* used when updated folders */
class MSG_Master *mailMaster;
class TNavigatorImapConnection *imapConnection;
#else
struct MSG_IMAPFolderInfoMail *currentIMAPfolder;
struct MSG_Pane *imapURLPane; /* used when updated folders */
struct MSG_Master *mailMaster;
struct TNavigatorImapConnection *imapConnection;
#endif
/* for now, add message copy info stuff here */
struct MessageCopyInfo *msgCopyInfo;
NPEmbeddedApp *pluginList; /* plugins on this page */
void *pluginReconnect; /* yet another full screen hack */
struct MimeDisplayData *mime_data; /* opaque data used by MIME message
parser (not Mail/News specific,
since MIME objects can show up
in Browser windows too.) */
/* Also overloaded by progress module to hold private crap! */
#ifdef MOCHA
struct JSContext *mocha_context; /* opaque handle to Mocha state */
uint32 event_bit; /* sum of all event capturing objects */
XP_Bool js_drag_enabled; /* indicates JS drag enabled */
int8 js_dragging; /* indicates which button has JS drag in process */
XP_List * js_dependent_list; /* lifetime-linked children of this context */
MWContext *js_parent;
int32 js_timeouts_pending; /* Number of pending JavaScript timeouts */
#endif
XP_Bool restricted_target; /* TRUE if window is off-limits for opening links into
from mail or other window-grabbing functions.*/
NPEmbeddedApp *pEmbeddedApp; /* yet another full screen hack */
char * defaultStatus; /* What string to show in the status area
whenever there's nothing better to show.
FE's should implement FE_Progress so that
if it is passed NULL or "" it will instead
display this string. libmsg changes this
string all the time for mail and news
contexts. */
#ifdef LAYERS
CL_Compositor *compositor; /* The compositor associated with this context */
XP_Bool blink_hidden; /* State of blink layers */
void *blink_timeout; /* Timeout used for blink hiding/unhiding */
#endif /* LAYERS */
int32 doc_id; /* unique identifier for generated documents */
int32 context_id; /* unique identifier for context */
void *pHelpInfo; /* pointer to additional help information;
see ns/lib/libnet/mkhelp.c [EA] */
#ifdef JAVA
/* See ns/sun-java/netscape/net/netStubs.c for the next 2 items: */
/*
** This mysterious list is used in two ways: (1) If you're a real
** window context, it's a list of all dummy java contexts that were
** created for java's network connections. (2) If you're a dummy java
** context, it's where you're linked into the list of connections for
** the real context:
*/
PRCList javaContexts;
/*
** Second, if you're a dummy java context, you'll need a pointer to
** the stream data so that you can shut down the netlib connection:
*/
struct nsn_JavaStreamData* javaContextStreamData;
/*
** Stuff for GraphProgress. See lj_embed.c
*/
Bool displayingMeteors;
int64 timeOfFirstMeteorShower;
int16 numberOfSimultaneousShowers;
#endif /* JAVA */
/*
** Put the editor stuff at the end so that people can still use the
** the Java DLL from the 2.0 dist build with Navigator Gold.
*/
PRPackedBool is_editor; /* differentiates between Editor and Browser modes */
PRPackedBool is_new_document; /* quick access to new doc state (unsaved-no file yet)*/
PRPackedBool display_paragraph_marks; /* True if we should display paragraph and hard-return symbols. */
PRPackedBool display_table_borders; /* True if we should display dotted lines around tables with invisible borders. */
PRPackedBool edit_view_source_hack;
PRPackedBool edit_loading_url; /* Hack to let us run the net while in a modal dialog */
PRPackedBool edit_saving_url; /* " */
PRPackedBool edit_has_backup; /* Editor has made a session backup */
PRPackedBool bIsComposeWindow; /* Editor is a compose window */
/*
* Webfonts that were loaded by this context
*/
void *webfontsList;
/* web font stuff */
/* On Windows, they are initialized to 0 in cxdc.cpp */
int16 WebFontDownLoadCount; /* # of download for this doc( one download can have multiple fonts) */
int16 MissedFontFace; /* have we missed any font? */
/* number of pixels per point-size */
double XpixelsPerPoint;
double YpixelsPerPoint;
Bool bJavaScriptCalling;
/* Allow JavaScript in certain internally generated contexts even
* when the "enable javascript" pref is turned off.
* This flag will also be inherited by child grid cells.
*/
PRPackedBool forceJSEnabled;
/* For increase and decrease font */
double fontScalingPercentage;
int INTL_tag; /* used to tell that we have a valid INTL_CSIInfo */
INTL_CharSetInfo INTL_CSIInfo; /* new home of private i18n data */
/* the current tab focused data */
LO_TabFocusData *tab_focus_data;
void *ncast_channel_context;
/* if the window is displaying an XML file, keep a pointer to the XML file structure here */
void* xmlfile;
};
/* This tells libmime.a whether it has the mime_data slot in MWContext
(which should always be true eventually, but having this #define here
makes life easier for me today.) -- jwz */
#define HAVE_MIME_DATA_SLOT
/* this is avialible even in non GOLD builds. */
#define EDT_IS_EDITOR(context) (context != NULL && context->is_editor)
#define EDT_DISPLAY_PARAGRAPH_MARKS(context) (context && context->is_editor && context->display_paragraph_marks)
#define EDT_DISPLAY_TABLE_BORDERS(context) (context && context->is_editor && context->display_table_borders)
#define EDT_RELAYOUT_FLAG (0x2)
#define EDT_IN_RELAYOUT(context) (context != NULL && ((context->is_editor & EDT_RELAYOUT_FLAG) != 0))
#ifdef JAVA
/*
** This macro is used to recover the MWContext* from the javaContexts
** list pointer:
*/
#define MWCONTEXT_PTR(context) \
((MWContext*) ((char*) (context) - offsetof(MWContext,javaContexts)))
#endif /* JAVA */
/* ------------------------------------------------------------------------ */
/* ====================== NASTY UGLY SHORT TERM HACKS ===================== */
#define XP_CONTEXTID(ctxt) ((ctxt)->context_id)
#define XP_DOCID(ctxt) ((ctxt)->doc_id)
#define XP_SET_DOCID(ctxt, id) ((ctxt)->doc_id = (id))
/* ------------------------------------------------------------------------ */
/* ============= Typedefs for the parser module structures ================ */
/*
* I *think* (but am unsure) that these should be forked off into a
* parser specific client level include file
*
*/
typedef int8 TagType;
struct PA_Tag_struct {
TagType type;
PRPackedBool is_end;
uint16 newline_count;
#if defined(XP_WIN) || defined(XP_OS2)
union { /* use an anonymous union for debugging purposes*/
PA_Block data;
char* data_str;
};
#else
PA_Block data;
#endif
int32 data_len;
int32 true_len;
void *lo_data;
struct PA_Tag_struct *next;
ED_Element *edit_element;
};
#define PA_HAS_PDATA( tag ) (tag->pVoid != 0 )
#ifdef XP_UNIX
typedef char *PAAllocate (intn byte_cnt);
typedef void PAFree (char *ptr);
#else
typedef void *PAAllocate (unsigned int byte_cnt);
typedef void PAFree (void *ptr);
#endif
typedef intn PA_OutputFunction (void *data_object, PA_Tag *tags, intn status);
struct _PA_Functions {
PAAllocate *mem_allocate;
PAFree *mem_free;
PA_OutputFunction *PA_ParsedTag;
};
typedef struct PA_InitData_struct {
PA_OutputFunction *output_func;
} PA_InitData;
/* Structure that defines the characteristics of a new window.
* Each entry should be structured so that 0 should be the
* default normal value. Currently all 0 values
* bring up a chromeless MWContextBrowser type window of
* arbitrary size.
*/
struct _Chrome {
MWContextType type; /* Must be set to the correct type you want,
* if doesn't exist, define one!!!
*/
Bool show_button_bar; /* TRUE to display button bar */
Bool show_url_bar; /* TRUE to show URL entry area */
Bool show_directory_buttons; /* TRUE to show directory buttons */
Bool show_bottom_status_bar; /* TRUE to show bottom status bar */
Bool show_menu; /* TRUE to show menu bar */
Bool show_security_bar; /* TRUE to show security bar */
Bool hide_title_bar; /* TRUE to hide title bar and window controls */
int32 w_hint, h_hint; /* hints for width and height */
int32 outw_hint, outh_hint; /* hints for outer window width and height */
int32 l_hint, t_hint; /* hints for left and top window positioning */
Bool topmost; /* TRUE for window alwaysOnTop */
Bool bottommost; /* TRUE for 'desktop' window */
Bool z_lock; /* TRUE for window which cannot move within z-order */
Bool is_modal; /* TRUE to make window be modal */
Bool show_scrollbar; /* TRUE to show scrollbars on window */
Bool location_is_chrome; /* TRUE if top or left is specified */
Bool allow_resize; /* TRUE to allow resize of windows */
Bool allow_close; /* TRUE to allow window to be closed */
Bool copy_history; /* TRUE to copy history of prototype context*/
Bool dependent; /* TRUE if this window is to be closed with its parent*/
Bool disable_commands; /* TRUE if user has set hot-keys / menus off */
Bool restricted_target; /* TRUE if window is off-limits for opening links into
from mail or other window-grabbing functions.*/
void (* close_callback)(void *close_arg); /* called on window close */
void *close_arg; /* passed to close_callback */
};
#endif /* _STRUCTS_H_ */

View File

@@ -1,126 +0,0 @@
/* -*- 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.
*/
/*
undo.h --- creating and maintaining an undo list.
Created: Terry Weissman <terry@netscape.com>, 9-Sept-95.
*/
#ifndef _UNDO_H_
#define _UNDO_H_
typedef struct UndoState UndoState;
XP_BEGIN_PROTOS
/* Create a new undo state. (Returns NULL if no memory available). State will
be saved to execute up to "maxdepth" undos in a row.*/
extern UndoState* UNDO_Create(int maxdepth);
/* Throw away the undo state. */
extern void UNDO_Destroy(UndoState* state);
/* Throw away all the queued events in the undo state. If we are in the middle
of a batch (there are outstanding calls to UNDO_StartBatch()), then future
events in the batch are also thrown away. */
extern void UNDO_DiscardAll(UndoState* state);
/* Mark the beginning of a bunch of actions that should be undone as one user
action. Should always be matched by a later call to UNDO_EndBatch().
These calls can nest. They fail only if running out of memory, in which
case they will call UNDO_DiscardAll(). */
/* Note you can use the tag arguments to associate a batch of events with
some user defined tag e.g., a name or object identifying the batch of events */
extern int UNDO_StartBatch(UndoState* state);
extern int UNDO_EndBatch(UndoState* state, void (*freetag)(void*), void* tag);
/* Returns TRUE if undoing will do something (i.e., the menu item for "Undo"
should be selectable). */
extern XP_Bool UNDO_CanUndo(UndoState* state);
/* Returns TRUE if redoing will do something (i.e., the menu item for "Redo"
should be selectable). */
extern XP_Bool UNDO_CanRedo(UndoState* state);
/* Actually do an undo. Should only be called if UNDO_CanUndo returned TRUE.
May not be called if there are any pending calls to UNDO_StartBatch. */
extern int UNDO_DoUndo(UndoState* state);
/* Actually do an redo. Should only be called if UNDO_CanRedo returned TRUE.
May not be called if there are any pending calls to UNDO_StartBatch. */
extern int UNDO_DoRedo(UndoState* state);
/* Log an event. The "undoit" function is to be called with the closure to
undo an event that just happened. It returns a success code; if negative,
the code will be propagated up to the call to UNDO_DoUndo and UNDO_DoRedo,
and UNDO_DiscardAll will be called. Note that the undoit function almost
always ends up calling UNDO_LogEvent again, to log the function to undo thie
undoing of this action. If you get my drift.
The "freeit" function is called when the undo library decides it will never
ever call undoit function. It is called with the closure to free storage
used by the closure.
If this fails (we ran out of memory), then it will return a negative failure
code, and call UNDO_DiscardAll() and the freeit func. */
/* Note you can use the tag arguments to associate the event with
some user defined tag e.g., a name or object identifying the event. */
#ifdef XP_OS2
typedef int (*PNSLUFN)(void *);
typedef void (*PNSLFFN)(void *);
extern int UNDO_LogEvent(UndoState* state, PNSLUFN undoit,
PNSLFFN freeit, void* closure,
PNSLFFN freetag, void* tag);
#else
extern int UNDO_LogEvent(UndoState* state, int (*undoit)(void*),
void (*freeit)(void*), void* closure,
void (*freetag)(void*), void* tag);
#endif
/* Retrieve the undo/redo tag from the top of the corresponding stack. The
tag is the "thing" YOU assigned during either an UNDO_EndBatch() or
UNDO_LogEvent call. You most likely use the tag to identify the event[s]
that can be undone/redone.
e.g., Label the Edit|Undo menu item with, say, Edit|Undo Delete. */
extern void *UNDO_PeekUndoTag(UndoState* state);
extern void *UNDO_PeekRedoTag(UndoState* state);
XP_END_PROTOS
#endif /* !_UNDO_H_ */

View File

@@ -1,71 +0,0 @@
/* -*- Mode: C; tab-width: 8; 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.
*/
/*
* dns.h --- portable nonblocking DNS for Unix
* Created: Jamie Zawinski <jwz@netscape.com>, 19-Dec-96.
*/
#ifndef __UNIX_DNS_H__
#define __UNIX_DNS_H__
/* Kick off an async DNS lookup;
The returned value is an id representing this transaction;
the result_callback will be run (in the main process) when we
have a result. Returns negative if something went wrong.
If `status' is negative,`result' is an error message.
If `status' is positive, `result' is a 4-character string of
the IP address.
If `status' is 0, then the lookup was prematurely aborted
via a call to DNS_AbortHostLookup().
*/
extern int DNS_AsyncLookupHost(const char *name,
int (*result_callback) (void *id,
void *closure,
int status,
const char *result),
void *closure,
void **id_return);
/* Prematurely give up on the given host-lookup transaction.
The `id' is what was returned by DNS_AsyncLookupHost.
This causes the result_callback to be called with a negative
status.
*/
extern int DNS_AbortHostLookup(void *id);
/* Call this from main() to initialize the async DNS library.
Returns a file descriptor that should be selected for, or
negative if something went wrong. Pass it the argc/argv
that your `main' was called with (it needs these pointers
in order to give its forked subprocesses sensible names.)
*/
extern int DNS_SpawnProcess(int argc, char **argv);
/* The main select() loop of your program should call this when the fd
that was returned by DNS_SpawnProcess comes active. This may cause
some of the result_callback functions to run.
If this returns negative, then a fatal error has happened, and you
should close `fd' and not select() for it again. Call gethostbyname()
in the foreground or something.
*/
extern int DNS_ServiceProcess(int fd);
#endif /* __UNIX_DNS_H__ */

View File

@@ -1,76 +0,0 @@
/* -*- 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.
*/
/***************************************************************************
(C) Copyright 1996 Apple Computer, Inc., AT&T Corp., International
Business Machines Corporation and Siemens Rolm Communications Inc.
For purposes of this license notice, the term Licensors shall mean,
collectively, Apple Computer, Inc., AT&T Corp., International
Business Machines Corporation and Siemens Rolm Communications Inc.
The term Licensor shall mean any of the Licensors.
Subject to acceptance of the following conditions, permission is hereby
granted by Licensors without the need for written agreement and without
license or royalty fees, to use, copy, modify and distribute this
software for any purpose.
The above copyright notice and the following four paragraphs must be
reproduced in all copies of this software and any software including
this software.
THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS AND NO LICENSOR SHALL HAVE
ANY OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS OR
MODIFICATIONS.
IN NO EVENT SHALL ANY LICENSOR BE LIABLE TO ANY PARTY FOR DIRECT,
INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES OR LOST PROFITS ARISING OUT
OF THE USE OF THIS SOFTWARE EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
DAMAGE.
EACH LICENSOR SPECIFICALLY DISCLAIMS ANY WARRANTIES, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO ANY WARRANTY OF NONINFRINGEMENT OR THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE.
The software is provided with RESTRICTED RIGHTS. Use, duplication, or
disclosure by the government are subject to restrictions set forth in
DFARS 252.227-7013 or 48 CFR 52.227-19, as applicable.
***************************************************************************/
#ifndef __VCC_H__
#define __VCC_H__ 1
XP_BEGIN_PROTOS
#include "vobject.h"
VObject* Parse_MIME(const char *input, unsigned long len);
VObject* Parse_MIME_FromFile(XP_File file);
VObject* Parse_MIME_FromFileName(char* fname);
typedef void (*MimeErrorHandler)(char *);
void registerMimeErrorHandler(MimeErrorHandler);
XP_END_PROTOS
#endif /* __VCC_H__ */

View File

@@ -1,424 +0,0 @@
/* -*- 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.
*/
/***************************************************************************
(C) Copyright 1996 Apple Computer, Inc., AT&T Corp., International
Business Machines Corporation and Siemens Rolm Communications Inc.
For purposes of this license notice, the term Licensors shall mean,
collectively, Apple Computer, Inc., AT&T Corp., International
Business Machines Corporation and Siemens Rolm Communications Inc.
The term Licensor shall mean any of the Licensors.
Subject to acceptance of the following conditions, permission is hereby
granted by Licensors without the need for written agreement and without
license or royalty fees, to use, copy, modify and distribute this
software for any purpose.
The above copyright notice and the following four paragraphs must be
reproduced in all copies of this software and any software including
this software.
THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS AND NO LICENSOR SHALL HAVE
ANY OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS OR
MODIFICATIONS.
IN NO EVENT SHALL ANY LICENSOR BE LIABLE TO ANY PARTY FOR DIRECT,
INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES OR LOST PROFITS ARISING OUT
OF THE USE OF THIS SOFTWARE EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
DAMAGE.
EACH LICENSOR SPECIFICALLY DISCLAIMS ANY WARRANTIES, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO ANY WARRANTY OF NONINFRINGEMENT OR THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE.
The software is provided with RESTRICTED RIGHTS. Use, duplication, or
disclosure by the government are subject to restrictions set forth in
DFARS 252.227-7013 or 48 CFR 52.227-19, as applicable.
***************************************************************************/
/*
The vCard/vCalendar C interface is implemented in the set
of files as follows:
vcc.y, yacc source, and vcc.c, the yacc output you will use
implements the core parser
vobject.c implements an API that insulates the caller from
the parser and changes in the vCard/vCalendar BNF
port.h defines compilation environment dependent stuff
vcc.h and vobject.h are header files for their .c counterparts
vcaltmp.h and vcaltmp.c implement vCalendar "macro" functions
which you may find useful.
test.c is a standalone test driver that exercises some of
the features of the APIs provided. Invoke test.exe on a
VCARD/VCALENDAR input text file and you will see the pretty
print output of the internal representation (this pretty print
output should give you a good idea of how the internal
representation looks like -- there is one such output in the
following too). Also, a file with the .out suffix is generated
to show that the internal representation can be written back
in the original text format.
For more information on this API see the readme.txt file
which accompanied this distribution.
Also visit:
http://www.versit.com
http://www.ralden.com
*/
#ifndef __VOBJECT_H__
#define __VOBJECT_H__ 1
#include "xp.h"
#include "xp_file.h"
/*
Unfortunately, on the Mac (and possibly other platforms) with our current, out-dated
libraries (Plauger), |wchar_t| is defined incorrectly, which breaks vcards.
We can't fix Plauger because it doesn't come with source. Later, when we
upgrade to MSL, we can make this evil hack go away. In the mean time,
vcards are not allowed to use the (incorrectly defined) |wchar_t| type. Instead,
they will use an appropriately defined local type |vwchar_t|.
*/
#ifdef XP_MAC
typedef uint16 vwchar_t;
#else
typedef wchar_t vwchar_t;
#endif
XP_BEGIN_PROTOS
#define VC7bitProp "7bit"
#define VC8bitProp "8bit"
#define VCAAlarmProp "aalarm"
#define VCAdditionalNamesProp "addn"
#define VCAdrProp "adr"
#define VCAgentProp "agent"
#define VCAIFFProp "aiff"
#define VCAOLProp "aol"
#define VCAppleLinkProp "applelink"
#define VCAttachProp "attach"
#define VCAttendeeProp "attendee"
#define VCATTMailProp "attmail"
#define VCAudioContentProp "audiocontent"
#define VCAVIProp "avi"
#define VCBase64Prop "base64"
#define VCBBSProp "bbs"
#define VCBirthDateProp "bday"
#define VCBMPProp "bmp"
#define VCBodyProp "body"
#define VCBusinessRoleProp "role"
#define VCCalProp "vcalendar"
#define VCCaptionProp "cap"
#define VCCardProp "vcard"
#define VCCarProp "car"
#define VCCategoriesProp "categories"
#define VCCellularProp "cell"
#define VCCGMProp "cgm"
#define VCCharSetProp "cs"
#define VCCIDProp "cid"
#define VCCISProp "cis"
#define VCCityProp "l"
#define VCClassProp "class"
#define VCCommentProp "note"
#define VCCompletedProp "completed"
#define VCContentIDProp "content-id"
#define VCCountryNameProp "c"
#define VCDAlarmProp "dalarm"
#define VCDataSizeProp "datasize"
#define VCDayLightProp "daylight"
#define VCDCreatedProp "dcreated"
#define VCDeliveryLabelProp "label"
#define VCDescriptionProp "description"
#define VCDIBProp "dib"
#define VCDisplayStringProp "displaystring"
#define VCDomesticProp "dom"
#define VCDTendProp "dtend"
#define VCDTstartProp "dtstart"
#define VCDueProp "due"
#define VCEmailAddressProp "email"
#define VCEncodingProp "encoding"
#define VCEndProp "end"
#define VCEventProp "vevent"
#define VCEWorldProp "eworld"
#define VCExNumProp "exnum"
#define VCExpDateProp "exdate"
#define VCExpectProp "expect"
#define VCExtAddressProp "ext add"
#define VCFamilyNameProp "f"
#define VCFaxProp "fax"
#define VCFullNameProp "fn"
#define VCGeoProp "geo"
#define VCGeoLocationProp "geo"
#define VCGIFProp "gif"
#define VCGivenNameProp "g"
#define VCGroupingProp "grouping"
#define VCHomeProp "home"
#define VCIBMMailProp "ibmmail"
#define VCInlineProp "inline"
#define VCInternationalProp "intl"
#define VCInternetProp "internet"
#define VCISDNProp "isdn"
#define VCJPEGProp "jpeg"
#define VCLanguageProp "lang"
#define VCLastModifiedProp "last-modified"
#define VCLastRevisedProp "rev"
#define VCLocationProp "location"
#define VCLogoProp "logo"
#define VCMailerProp "mailer"
#define VCMAlarmProp "malarm"
#define VCMCIMailProp "mcimail"
#define VCMessageProp "msg"
#define VCMETProp "met"
#define VCModemProp "modem"
#define VCMPEG2Prop "mpeg2"
#define VCMPEGProp "mpeg"
#define VCMSNProp "msn"
#define VCNamePrefixesProp "npre"
#define VCNameProp "n"
#define VCNameSuffixesProp "nsuf"
#define VCNoteProp "note"
#define VCOrgNameProp "orgname"
#define VCOrgProp "org"
#define VCOrgUnit2Prop "oun2"
#define VCOrgUnit3Prop "oun3"
#define VCOrgUnit4Prop "oun4"
#define VCOrgUnitProp "oun"
#define VCPagerProp "pager"
#define VCPAlarmProp "palarm"
#define VCParcelProp "parcel"
#define VCPartProp "part"
#define VCPCMProp "pcm"
#define VCPDFProp "pdf"
#define VCPGPProp "pgp"
#define VCPhotoProp "photo"
#define VCPICTProp "pict"
#define VCPMBProp "pmb"
#define VCPostalBoxProp "box"
#define VCPostalCodeProp "pc"
#define VCPostalProp "postal"
#define VCPowerShareProp "powershare"
#define VCPreferredProp "pref"
#define VCPriorityProp "priority"
#define VCProcedureNameProp "procedurename"
#define VCProdIdProp "prodid"
#define VCProdigyProp "prodigy"
#define VCPronunciationProp "sound"
#define VCPSProp "ps"
#define VCPublicKeyProp "key"
#define VCQPProp "qp"
#define VCQuickTimeProp "qtime"
#define VCQuotedPrintableProp "quoted-printable"
#define VCRDateProp "rdate"
#define VCRegionProp "r"
#define VCRelatedToProp "related-to"
#define VCRepeatCountProp "repeatcount"
#define VCResourcesProp "resources"
#define VCRNumProp "rnum"
#define VCRoleProp "role"
#define VCRRuleProp "rrule"
#define VCRSVPProp "rsvp"
#define VCRunTimeProp "runtime"
#define VCSequenceProp "sequence"
#define VCSnoozeTimeProp "snoozetime"
#define VCStartProp "start"
#define VCStatusProp "status"
#define VCStreetAddressProp "street"
#define VCSubTypeProp "subtype"
#define VCSummaryProp "summary"
#define VCTelephoneProp "tel"
#define VCTIFFProp "tiff"
#define VCTimeZoneProp "tz"
#define VCTitleProp "title"
#define VCTLXProp "tlx"
#define VCTodoProp "vtodo"
#define VCTranspProp "transp"
#define VCUniqueStringProp "uid"
#define VCURLProp "url"
#define VCURLValueProp "urlval"
#define VCValueProp "value"
#define VCVersionProp "version"
#define VCVideoProp "video"
#define VCVoiceProp "voice"
#define VCWAVEProp "wave"
#define VCWMFProp "wmf"
#define VCWorkProp "work"
#define VCX400Prop "x400"
#define VCX509Prop "x509"
#define VCXRuleProp "xrule"
#define VCCooltalk "x-mozilla-cpt"
#define VCCooltalkAddress "x-moxilla-cpadr"
#define VCUseServer "x-mozilla-cpsrv"
#define VCUseHTML "x-mozilla-html"
/* return type of vObjectValueType: */
#define VCVT_NOVALUE 0
/* if the VObject has no value associated with it. */
#define VCVT_STRINGZ 1
/* if the VObject has value set by setVObjectStringZValue. */
#define VCVT_USTRINGZ 2
/* if the VObject has value set by setVObjectUStringZValue. */
#define VCVT_UINT 3
/* if the VObject has value set by setVObjectIntegerValue. */
#define VCVT_ULONG 4
/* if the VObject has value set by setVObjectLongValue. */
#define VCVT_RAW 5
/* if the VObject has value set by setVObjectAnyValue. */
#define VCVT_VOBJECT 6
/* if the VObject has value set by setVObjectVObjectValue. */
#define NAME_OF(o) o->id
#define VALUE_TYPE(o) o->valType
#define STRINGZ_VALUE_OF(o) o->val.strs
#define USTRINGZ_VALUE_OF(o) o->val.ustrs
#define INTEGER_VALUE_OF(o) o->val.i
#define LONG_VALUE_OF(o) o->val.l
#define ANY_VALUE_OF(o) o->val.any
#define VOBJECT_VALUE_OF(o) o->val.vobj
typedef struct VObject VObject;
typedef union ValueItem {
const char *strs;
const vwchar_t *ustrs;
unsigned int i;
unsigned long l;
void *any;
VObject *vobj;
} ValueItem;
struct VObject {
VObject *next;
const char *id;
VObject *prop;
unsigned short valType;
ValueItem val;
};
typedef struct StrItem StrItem;
struct StrItem {
StrItem *next;
const char *s;
unsigned int refCnt;
};
typedef struct OFile {
XP_File fp;
char *s;
int len;
int limit;
int alloc:1;
int fail:1;
} OFile;
typedef struct VObjectIterator {
VObject* start;
VObject* next;
} VObjectIterator;
VObject* newVObject(const char *id);
void deleteVObject(VObject *p);
char* dupStr(const char *s, unsigned int size);
void deleteStr(const char *p);
void unUseStr(const char *s);
void setVObjectName(VObject *o, const char* id);
void setVObjectStringZValue(VObject *o, const char *s);
void setVObjectStringZValue_(VObject *o, const char *s);
void setVObjectUStringZValue(VObject *o, const vwchar_t *s);
void setVObjectUStringZValue_(VObject *o, const vwchar_t *s);
void setVObjectIntegerValue(VObject *o, unsigned int i);
void setVObjectLongValue(VObject *o, unsigned long l);
void setVObjectAnyValue(VObject *o, void *t);
VObject* setValueWithSize(VObject *prop, void *val, unsigned int size);
VObject* setValueWithSize_(VObject *prop, void *val, unsigned int size);
const char* vObjectName(VObject *o);
const char* vObjectStringZValue(VObject *o);
const vwchar_t* vObjectUStringZValue(VObject *o);
unsigned int vObjectIntegerValue(VObject *o);
unsigned long vObjectLongValue(VObject *o);
void* vObjectAnyValue(VObject *o);
VObject* vObjectVObjectValue(VObject *o);
void setVObjectVObjectValue(VObject *o, VObject *p);
VObject* addVObjectProp(VObject *o, VObject *p);
VObject* addProp(VObject *o, const char *id);
VObject* addProp_(VObject *o, const char *id);
VObject* addPropValue(VObject *o, const char *p, const char *v);
VObject* addPropSizedValue_(VObject *o, const char *p, const char *v, unsigned int size);
VObject* addPropSizedValue(VObject *o, const char *p, const char *v, unsigned int size);
VObject* addGroup(VObject *o, const char *g);
void addList(VObject **o, VObject *p);
VObject* isAPropertyOf(VObject *o, const char *id);
VObject* nextVObjectInList(VObject *o);
void initPropIterator(VObjectIterator *i, VObject *o);
int moreIteration(VObjectIterator *i);
VObject* nextVObject(VObjectIterator *i);
extern void printVObject(XP_File fp,VObject *o);
void printVObject_(XP_File fp, VObject *o, int level);
extern void writeVObject(XP_File fp, VObject *o);
void writeVObject_(OFile *fp, VObject *o, XP_Bool expandSpaces);
char* writeMemVObject(char *s, int *len, VObject *o);
char* writeMemVObjects(char *s, int *len, VObject *list, XP_Bool expandSpaces);
const char* lookupStr(const char *s);
void cleanStrTbl();
void cleanVObject(VObject *o);
void cleanVObjects(VObject *list);
const char* lookupProp(const char* str);
const char* lookupProp_(const char* str);
vwchar_t* fakeUnicode(const char *ps, int *bytes);
int uStrLen(const vwchar_t *u);
char* fakeCString(const vwchar_t *u);
void printVObjectToFile(char *fname,VObject *o);
void printVObjectsToFile(char *fname,VObject *list);
void writeVObjectToFile(char *fname, VObject *o);
void writeVObjectsToFile(char *fname, VObject *list);
#define MAXPROPNAMESIZE 256
#define MAXMOZPROPNAMESIZE 16
XP_END_PROTOS
#endif /* __VOBJECT_H__ */

View File

@@ -1,117 +0,0 @@
/* -*- 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.
*/
/* ---------------------------------------------------------------------------
Stuff to fake unix file I/O on windows boxes
------------------------------------------------------------------------*/
#ifndef WINFILE_H
#define WINFILE_H
#ifdef _WINDOWS
#if defined(XP_WIN32) || defined(_WIN32)
/* 32-bit stuff here */
#include <windows.h>
#include <stdlib.h>
#include <sys\types.h>
#include <sys\stat.h>
typedef struct DIR_Struct {
void * directoryPtr;
WIN32_FIND_DATA data;
} DIR;
#define _ST_FSTYPSZ 16
#ifndef __BORLANDC__
typedef unsigned long mode_t;
typedef long uid_t;
typedef long gid_t;
typedef long off_t;
typedef unsigned long nlink_t;
#endif
typedef struct timestruc {
time_t tv_sec; /* seconds */
long tv_nsec; /* and nanoseconds */
} timestruc_t;
struct dirent { /* data from readdir() */
ino_t d_ino; /* inode number of entry */
off_t d_off; /* offset of disk direntory entry */
unsigned short d_reclen; /* length of this record */
char d_name[_MAX_FNAME]; /* name of file */
};
#ifndef __BORLANDC__
#define S_ISDIR(s) ((s) & _S_IFDIR)
#endif
#else /* _WIN32 */
/* 16-bit windows stuff */
#include <sys\types.h>
#include <sys\stat.h>
#include <dos.h>
/* Getting cocky to support multiple file systems */
typedef struct dirStruct_tag {
struct _find_t file_data;
char c_checkdrive;
} dirStruct;
typedef struct DIR_Struct {
void * directoryPtr;
dirStruct data;
} DIR;
#define _ST_FSTYPSZ 16
typedef unsigned long mode_t;
typedef long uid_t;
typedef long gid_t;
typedef long off_t;
typedef unsigned long nlink_t;
typedef struct timestruc {
time_t tv_sec; /* seconds */
long tv_nsec; /* and nanoseconds */
} timestruc_t;
struct dirent { /* data from readdir() */
ino_t d_ino; /* inode number of entry */
off_t d_off; /* offset of disk direntory entry */
unsigned short d_reclen; /* length of this record */
#ifdef XP_WIN32
char d_name[_MAX_FNAME]; /* name of file */
#else
char d_name[20]; /* name of file */
#endif
};
#define S_ISDIR(s) ((s) & _S_IFDIR)
#endif /* 16-bit windows */
#define CONST const
#endif /* _WINDOWS */
#endif /* WINFILE_H */

View File

@@ -1,179 +0,0 @@
/* -*- 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.
*/
/*
** External points of interest for the translation library
*/
#ifndef XLATE_H
#define XLATE_H
typedef void (*XL_CompletionRoutine)(PrintSetup*);
typedef void* XL_TextTranslation;
typedef void* XL_PostscriptTranslation;
XP_BEGIN_PROTOS
extern void XL_InitializePrintSetup(PrintSetup *p);
extern void XL_InitializeTextSetup(PrintSetup *p);
extern void XL_TranslatePostscript(MWContext*, URL_Struct *u,
SHIST_SavedData *sd, PrintSetup*p);
extern XL_TextTranslation
XL_TranslateText(MWContext *, URL_Struct *u, PrintSetup*p);
extern void XL_GetTextImage(LO_ImageStruct *image);
extern void
XL_DisplayTextImage(MWContext *cx, int iLocation, LO_ImageStruct *img);
extern XP_Bool XP_CheckElementSpan(MWContext*, int top, int height);
extern void XP_InitializePrintInfo(MWContext *);
extern void XP_CleanupPrintInfo(MWContext *);
extern void XP_DrawForPrint(MWContext *, int );
extern void XP_LayoutForPrint(MWContext *cx, int32 doc_height);
XP_END_PROTOS
typedef struct LineRecord_struct LineRecord;
/*
** PAGE coordinates are 720/inch, layout happens in this space
** POINT coordinates are 72/inch, the printer wants these
*/
#define INCH_TO_PAGE(f) ((int) (.5 + (f)*720))
#define PAGE_TO_POINT_I(f) ((int) ((f) / 10.0))
#define PAGE_TO_POINT_F(f) ((f) / 10.0)
#define POINT_TO_PAGE(p) ((p)*10)
/*
** Used to pass info into text and/or postscript translation
*/
struct PrintSetup_ {
int top; /* Margins (PostScript Only) */
int bottom;
int left;
int right;
int width; /* Paper size, # of cols for text xlate */
int height;
char* header;
char* footer;
int *sizes;
XP_Bool reverse; /* Output order */
XP_Bool color; /* Image output */
XP_Bool deep_color; /* 24 bit color output */
XP_Bool landscape; /* Rotated output */
XP_Bool underline; /* underline links */
XP_Bool scale_images; /* Scale unsized images which are too big */
XP_Bool scale_pre; /* do the pre-scaling thing */
float dpi; /* dpi for externally sized items */
float rules; /* Scale factor for rulers */
int n_up; /* cool page combining */
int bigger; /* Used to init sizes if sizesin NULL */
char* prefix; /* For text xlate, prepended to each line */
char* eol; /* For text translation, line terminator */
char* bullet; /* What char to use for bullets */
struct URL_Struct_ *url; /* url of doc being translated */
XP_File out; /* Where to send the output */
char *filename; /* output file name, if any */
XL_CompletionRoutine completion; /* Called when translation finished */
void* carg; /* Data saved for completion routine */
int status; /* Status of URL on completion */
/* "other" font is typically East Asian */
char *otherFontName; /* name of "other" PostScript font */
int16 otherFontCharSetID; /* charset ID of "other" font */
int otherFontWidth; /* width of "other" font (square) */
int otherFontAscent; /* Ascent of "other" font (square) */
MWContext *cx; /* original context, if available */
};
#define XL_LOADING_PHASE 1
#define XL_LAYOUT_PHASE 2
#define XL_DRAW_PHASE 3
typedef struct page_breaks {
int32 y_top;
int32 y_break;
} PageBreaks;
/*
** Used to store state needed while translation is in progress
*/
struct PrintInfo_ {
/*
** BEGIN SPECIAL
** If using the table print code, the following fields must
** be properly set up.
*/
int32 page_height; /* Size of printable area on page */
int32 page_width; /* Size of printable area on page */
int32 page_break; /* Current page bottom */
int32 page_topy; /* Current page top */
int phase;
/*
** CONTINUE SPECIAL
** The table print code maintains these
*/
PageBreaks *pages; /* Contains extents of each page */
int pt_size; /* Size of above table */
int n_pages; /* # of valid entries in above table */
/*
** END SPECIAL
*/
/*
** AAAOOOGAH
**
** These are used to cache values from the originating context's
** function table
*/
void (*scnatt)(MWContext*); /* SetCallNetlibAllTheTime */
void (*ccnatt)(MWContext*); /* CLearCallNetlibAllTheTime */
char* doc_title; /* best guess at title */
int32 doc_width; /* Total document width */
int32 doc_height; /* Total document height */
#ifdef LATER
float scale; /* for shrinking pre areas */
int32 pre_start; /* First y of current pre section */
int32 pre_end; /* Last y of current pre section */
XP_List *interesting; /* List of pre's about which I care */
XP_Bool in_pre; /* True when inside a <pre> section */
#endif
/*
** These fields are used only by the text translator
*/
char *line; /* Pointer to data for the current line */
XP_Bool in_table; /* True when caching lines in a table */
XP_Bool first_line_p; /* true when the first line has not yet been
output - this is a kludge for the mail
citation code. */
int table_top, /* Size of the table being cached */
table_bottom;
LineRecord *saved_lines; /* cached lines for tables */
int last_y; /* Used to track blank lines */
};
#endif /* XLATE_H */

View File

@@ -1,43 +0,0 @@
/* -*- 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.
*/
/*
xp.h
This file is left around for backwards compatability. Nothing new should
be added to this file. Rather, add it to the client specific section or
the cross-platform specific area depending on what is appropriate.
-------------------------------------------------------------------------*/
#ifndef _XP_H_
#define _XP_H_
#include "xp_mcom.h"
#include "client.h"
#ifdef HEAPAGENT
#define MEM_DEBUG 1
#define DEFINE_NEW_MACRO 1
#include <heapagnt.h>
#endif /* HEAPAGENT */
#endif /* !_XP_H_ */

View File

@@ -1,315 +0,0 @@
/* -*- 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.
*/
/*-----------------------------------------------------------------------------
xp_core.h
Cross-Platform Core Types
-----------------------------------------------------------------------------*/
/*-----------------------------------------------------------------------------
Platform-specific defines
XP_WIN XP_IS_WIN XP_WIN_ARG(X)
XP_MAC XP_IS_MAC XP_MAC_ARG(X)
XP_UNIX XP_IS_UNIX XP_UNIX_ARG(X)
XP_CPLUSPLUS XP_IS_CPLUSPLUS
XP_OS2 XP_IS_OS2 XP_OS2_ARG(X) IBM-LTB added these
defined iff always defined defined to nothing
on that platform as 0 or 1 or X
Also Bool, Int32, Int16, Int, Uint32, Uint16, Uint, and nil
And TRUE, FALSE, ON, OFF, YES, NO
-----------------------------------------------------------------------------*/
#ifdef NSPR20
#include "prtypes.h" /* for intn, etc. */
#ifdef XP_MAC
#include "prosdep.h"
#else
#include "md/prosdep.h"
#endif
#include "prlog.h"
#endif /* NSPR20 */
#ifndef _XP_Core_
#define _XP_Core_
/* which system are we on, get the base macro defined */
#if defined(macintosh) || defined(__MWERKS__) || defined(applec)
#ifndef macintosh
#define macintosh 1
#endif
#endif
#if defined(__unix) || defined(unix) || defined(UNIX) || defined(XP_UNIX)
#ifndef unix
#define unix 1
#endif
#endif
#if !defined(macintosh) && !defined(_WINDOWS) && !defined(unix)
/* #error xp library can't determine system type */
#endif
/* flush out all the system macros */
#ifdef macintosh
# ifndef XP_MAC
# define XP_MAC 1
# endif
# define XP_IS_MAC 1
# define XP_MAC_ARG(x) x
#else
# define XP_IS_MAC 0
# define XP_MAC_ARG(x)
#endif
#ifdef _WINDOWS
# ifndef XP_WIN
# define XP_WIN
# endif
# define XP_IS_WIN 1
# define XP_WIN_ARG(x) x
#if defined(_WIN32) || defined(WIN32)
# ifndef XP_WIN32
# define XP_WIN32
# endif
#else
# ifndef XP_WIN16
# define XP_WIN16
# endif
#endif
#else
# define XP_IS_WIN 0
# define XP_WIN_ARG(x)
#endif
#ifdef unix
# ifndef XP_UNIX
# define XP_UNIX
# endif
# define XP_IS_UNIX 1
# define XP_UNIX_ARG(x) x
#else
# define XP_IS_UNIX 0
# define XP_UNIX_ARG(x)
#endif
/* IBM-LTB Setup system macros for OS/2 */
#if defined (__OS2__)
# ifndef XP_OS2
# define XP_OS2
# endif
# define XP_IS_OS2 1
# define XP_OS2_ARG(x) x
#else
# define XP_IS_OS2 0
# define XP_OS2_ARG(x)
#endif
/* what language do we have? */
#if defined(__cplusplus)
# define XP_CPLUSPLUS
# define XP_IS_CPLUSPLUS 1
#else
# define XP_IS_CPLUSPLUS 0
#endif
#if defined(DEBUG) || !defined(XP_CPLUSPLUS)
#define XP_REQUIRES_FUNCTIONS
#endif
/*
language macros
If C++ code includes a prototype for a function *compiled* in C, it needs to be
wrapped in extern "C" for the linking to work properly. On the Mac, all code is
being compiled in C++ so this isn't necessary, and Unix compiles it all in C. So
only Windows actually will make use of the defined macros.
*/
#if defined(XP_CPLUSPLUS)
# define XP_BEGIN_PROTOS extern "C" {
# define XP_END_PROTOS }
#else
# define XP_BEGIN_PROTOS
# define XP_END_PROTOS
#endif
/* simple common types */
#if defined(XP_WIN) || defined(XP_OS2)
#ifndef RESOURCE_STR
#include "prtypes.h"
#endif /* RESOURCE_STR */
#else /* XP_WIN */
#include "prtypes.h"
#endif /* XP_WIN */
#ifdef XP_MAC
#include <Types.h>
#if __option(bool)
typedef bool BOOL;
typedef bool Bool;
typedef bool XP_Bool;
#else
typedef char BOOL;
typedef char Bool;
typedef char XP_Bool;
#endif
#elif defined(XP_WIN)
typedef int Bool;
typedef int XP_Bool;
#elif defined(XP_OS2) && !defined(RC_INVOKED)
#include "prosdep.h"
typedef unsigned long Bool;
typedef unsigned long XP_Bool;
#else
/* XP_UNIX: X11/Xlib.h "define"s Bool to be int. This is really lame
* (that's what typedef is for losers). So.. in lieu of a #undef Bool
* here (Xlib still needs ints for Bool-typed parameters) people have
* been #undef-ing Bool before including this file.
* Can we just #undef Bool here? <mailto:mcafee> (help from djw, converse)
*/
typedef char Bool;
typedef char XP_Bool;
#endif
#if defined(XP_WIN)
#ifndef BOOL
#define BOOL Bool
#endif
#define MIN(a, b) min((a), (b))
#endif
#if defined(XP_OS2)
#ifndef MIN
#define MIN(a, b) min((a), (b))
#endif
#endif
#if defined(XP_UNIX) && !defined(MIN)
#define MIN(a,b) (((a)<(b))?(a):(b))
#endif
#ifndef FALSE
#define FALSE 0
#endif
/* disable the TRUE redefinition warning
* TRUE is defined by windows.h in the MSVC
* development environment, and creates a
* nasty warning for every file. The only
* way to turn it off is to disable all
* macro redefinition warnings or to not
* define TRUE here
*/
#if !defined(TRUE) && !defined(XP_WIN)
#define TRUE !FALSE
#endif
#define YES 1
#define NO 0
#define ON 1
#define OFF 0
#ifndef nil
#define nil 0
#endif
#ifndef NULL
#define NULL 0
#endif
#ifndef TRACEMSG
#ifdef DEBUG
#define TRACEMSG(msg) do { if(MKLib_trace_flag) XP_Trace msg; } while (0)
#else
#define TRACEMSG(msg)
#endif /* DEBUG */
#endif /* TRACEMSG */
#define _INT16
#define _UINT16
#define _INT32
#define _UINT32
#ifndef NSPR20
typedef int intn;
#endif /* NSPR20 */
/* function classifications */
#define PUBLIC
#define MODULE_PRIVATE
#if defined(XP_UNIX) && defined(PRIVATE)
#undef PRIVATE
#endif
#define PRIVATE static
/* common typedefs */
typedef struct _XP_List XP_List;
/* standard system headers */
#if !defined(RC_INVOKED)
#include <assert.h>
#include <ctype.h>
#ifdef __sgi
# include <float.h>
# include <sys/bsd_types.h>
#endif
#ifdef XP_UNIX
#include <stdarg.h>
#endif
#include <limits.h>
#include <locale.h>
#if defined(XP_WIN) && defined(XP_CPLUSPLUS) && defined(_MSC_VER) && _MSC_VER >= 1020
/* math.h under MSVC 4.2 needs C++ linkage when C++. */
extern "C++" {
#include <math.h>
}
#elif (defined(__hpux) || defined(SCO)) && defined(__cplusplus)
extern "C++" {
#include <math.h>
}
#else
#include <math.h>
#endif
#ifdef XP_OS2
/*DSR021097 - on OS/2 we have conflicts over jmp_buf & HW_THREADS */
#ifdef SW_THREADS
#include <setjmp.h>
#endif
#else /*!XP_OS2*/
#include <setjmp.h>
#endif
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#endif
#endif /* _XP_Core_ */

View File

@@ -1,56 +0,0 @@
/* -*- 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.
*/
/*-----------------------------------------------------------------------------
XPUtil.h
Cross-Platform Debugging
These routines are NOT for handling expected error conditions! They are
for detecting *program logic* errors. Error conditions (such as running
out of memory) cannot be predicted at compile-time and must be handled
gracefully at run-time.
-----------------------------------------------------------------------------*/
#ifndef _XPDebug_
#define _XPDebug_
#include "xp_core.h"
#include "xpassert.h"
#include "xp_trace.h"
/*-----------------------------------------------------------------------------
DEBUG (macro)
-----------------------------------------------------------------------------*/
#ifdef DEBUG
/*
* MSVC seems to have a problem with Debug as an int (it was probably
* previously defined as a macro).
*/
#ifdef __cplusplus
#ifndef Debug
#define Debug 1
#endif
#else
extern int Debug;
#endif
#else
#define Debug 0
#endif
#endif /* _XPDebug_ */

View File

@@ -1,524 +0,0 @@
/* -*- 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.
*/
#ifndef _XP_File_
#define _XP_File_
#define XP_FILE_NATIVE_PATH char *
#define XP_FILE_URL_PATH char*
/*-----------------------------------------------------------------------------
XP_File.h
Cross-Platform File API
XP_File INTERFACE IS A COMMONLY MISUNDERSTOOD API.PLEASE READ THESE
DOCS BEFORE USING THE API. The API is not self-documenting in any way,
and broken in many.
XP_File mimics the stdio file interface (fopen, fread & friends...).
The main difference is that to specify a file location, XP_File
uses a name in combination with an enum XP_FileType instead of full path.
For example :
stdio: fopen(filename, permissions)
maps to xp_file: XP_FileOpen (name, XP_FileType type, XP_FilePerm permissions);
Meaning of the name argument depends on the XP_FileType it is used with.
For example:
A) XP_FileOpen(name, xpURL)
name is the URL path to the file (/Drive/file.html)
B) XP_FileOpen(name, xpCache)
name is the partial path from cache directory (expands to cache-directory/name)
C) XP_FileOpen(name, xpTemporary)
name is the partial path from temporary directory (expands to cache-directory/name)
Corollary: YOU CANNOT MIX AND MATCH NAMES AND TYPES
For example:
newTempFile = XP_TempName(name, xpTemporary);
file = XP_FileOpen(newTempFile, xpURL, "r+w"); // BAD!, you've just mixed xpURL and xpTemporary
This is a very common error. It might work on some platforms, but it'll break others.
FILE NAME MADNESS
There are 3 basic ways to specify a file in the XP_File interface:
TheXP_FileSpec
char* - XP_FileType pair: used in most XP_File calls. the meaning of the name
depends on the enum. Common ones are:
XP_FileType / name means:
xpTemporary partial path relative to temporary directory
xpURL full path in the standard URL format (file://)
xpGlobalHistory name is ignored.
XP_FILE_NATIVE_PATH
char * used in platform-specific code, platform-specific full path
Windows: "C:\Windows\regedit.exe"
X: "/h/users/atotic/home.html"
Mac: "Macintosh HD:System Folder:System"
XP_FILE_URL_PATH used in cross-platform code, when you need to manipulate the full path.
It is a full path in the standard URL format: (file://<path>, but just the <path> part)
XP_FILE_NATIVE_PATH and XP_FILE_URL_PATH are often confused
To convert between these types:
Conversion: TheXP_FileSpec -> XP_FILE_NATIVE_PATH
Call: WH_FileName(name, type)
Example: WH_FileName("myName", xpTemporary) -> "/u/tmp/myName" on Unix
-> "C:\tmp\myName" on Windows
-> "Mac HD:Temporary folder:myName" on Mac
Conversion: XP_FILE_NATIVE_PATH -> XP_FILE_URL_PATH
Call: XP_PlatformFileToURL(name)
Example: Windows: XP_PlatformFileToURL("C:\tmp\myName") -> "C|/tmp/myName"
Unix: XP_PlatformFileToURL(/u/tmp/myName") -> "/u/tmp/myName"
Mac: XP_PlatformFileToURL("Mac HD:Temporary folder:myName") -> "Mac%20HD/Temporary%20folder/myName"
You cannot convert anything into arbitrary TheXP_FileSpec, but you can use the XP_FILE_URL_PATH
in combination with xpURL enum.
Example: XP_FileOpen("C|/tmp/myName", xpURL) works
COMMONLY USED CALLS NOT IN STDIO:
WH_FileName(name, XP_FileType) - maps TheXP_FileSpec pair to XP_FILE_NATIVE_PATH.
Use it when you need access to full paths in platform-specific code. For example:
For example:
cacheName = XP_FileName("", xpCacheFAT);
fopen(cacheName);
EXTENSIONS TO STDIO API:
- XP_FileRename also moves files accross file systems (copy + delete)
MISC API NOTES:
The names of most of the calls are derived by prepending stdio call name
with XP_File. (open -> XP_FileOpen, opendir -> XP_FileOpenDir). But warren
was fixing up some bugs near the end of 3.0, and in his infinite wisdom renamed
a few of them to WH_ instead of XP_. So, XP_FileName became WH_FileName. WH_ stands
for Warren Harris. Whatever...
Calls are not documented well. Most of the docs are in this header file. You
can usually get a hint about what the call should do by looking up the man
pages of the equivalent stdio call.
OLD DOCS (May mislead you, read at your peril!):
Macintosh file system is not organized in the same hierarchy as UNIX and PC
':' is a separator character instead of '/', '~', '/../' constructs do not
work. Basically, you cannot easily open a file using a pathname.
Because different types of files need to be stored in different
directories, the XP_FileOpen API takes a file type and file name as an
argument. Semantics of how file is opened vary with type.
"Personal" files are stored in the user's "home" directory (~ on unix,
launch point or system folder on Mac, dunno about Windows). File names
may be ignored since there's no reason for multiple personal files.
"Temporary" files are stored in /tmp or the equivalent
"URL" is the only type that allows access to anywhere on the disk
File Type File name Semantics
xpURL url part after file:/// Platform specific
without #aklsdf
xpGlobalHistory - Opens personal global history
xpKeyChain - Opens personal key chain
xpUserPrefs - Opens personal prefs file
xpJSMailFilters - Opens personal js mail filters
xpJSHTMLFilters - Opens personal js HTML filters
xpCache name without path Opens a cache file
xpExtCache Fully qualified path Opens an external cache file
xpTemporary local filename Opens a temporary file
xpNewsrc - Opens a .newsrc file
xpSignature - Opens a .signature file
xpCertDB - Opens cert DB
xpCertDBNameIDX - Opens cert name index
xpKeyDB - Opens key DB
xpSignedAppletDB - Signed applets DB filename
xpJSCookieFilters - Opens personal js cookie filters
-----------------------------------------------------------------------------*/
#ifdef XP_UNIX
# include <dirent.h>
# include <sys/stat.h>
#endif /* XP_UNIX */
#ifdef XP_MAC
# ifndef _UNIX
# include <unix.h>
# endif
# include <Types.h>
# include <Files.h>
#endif /* XP_MAC */
#ifdef XP_WIN
# include "winfile.h"
#endif /* XP_WIN */
#ifdef XP_OS2
# include "dirent.h"
# include "sys/stat.h"
#endif /* XP_OS2 */
/*-----------------------------------------------------------------------------
Types - NOT prototypes
Protoypes go further down.
-----------------------------------------------------------------------------*/
typedef enum XP_FileType {
xpAddrBookNew,
xpAddrBook,
xpUserPrefs,
xpKeyChain,
xpGlobalHistory,
xpGlobalHistoryList,
xpHotlist,
xpTemporary,
xpURL,
xpCache,
xpSARCache, /* larubbio location independent cache */
xpMimeTypes,
xpCacheFAT,
xpSARCacheIndex, /* larubbio location independent cache */
xpNewsRC,
xpSNewsRC,
xpTemporaryNewsRC,
xpNewsgroups,
xpSNewsgroups,
xpNewsHostDatabase,
xpHTTPCookie,
xpProxyConfig,
xpSocksConfig,
xpSignature,
xpNewsrcFileMap,
xpFileToPost,
xpMailFolder,
xpMailFolderSummary,
xpJSMailFilters,
xpJSHTMLFilters,
xpMailSort, /* File that specifies which mail folders
to file which messages. */
xpNewsSort,
xpMailFilterLog, /* log files for mail/news filters */
xpNewsFilterLog,
xpMailPopState,
xpMailSubdirectory,
xpBookmarks,
xpCertDB,
xpCertDBNameIDX,
xpKeyDB,
xpSecModuleDB,
xpExtCache,
xpExtCacheIndex, /* index of external indexes */
xpRegistry,
xpXoverCache, /* Cache of XOVER files. This
filename always takes the form
"hostname/groupname" (except for calls
to XP_MakeDirectory, where it is just
"hostname").*/
xpEditColorScheme, /* ifdef EDITOR Families of "good" color combinations */
xpJPEGFile, /* used for pictures in LDAP directory */
xpVCardFile, /* used for versit vCards */
xpLDIFFile, /* used for LDIF (LDAP Interchange format files */
xpImapRootDirectory,
xpImapServerDirectory,
xpHTMLAddressBook, /* old (HTML) address book */
xpSignedAppletDB, /* filename of signed applets DB */
xpCryptoPolicy, /* Export Policy control file */
xpFolderCache, /* for caching mail/news folder info */
xpPKCS12File, /* used for PKCS 12 certificate transport */
xpJSCookieFilters, /* Opens personal js cookie filters */
#if defined(CookieManagement)
xpHTTPCookiePermission,
#endif
#if defined(SingleSignon)
xpHTTPSingleSignon,
#endif
xpLIClientDB,
xpLIPrefs
} XP_FileType;
#define XP_FILE_READ "r"
#define XP_FILE_READ_BIN "rb"
#define XP_FILE_WRITE "w"
#define XP_FILE_WRITE_BIN "wb"
#define XP_FILE_APPEND "a"
#define XP_FILE_APPEND_BIN "ab"
#define XP_FILE_UPDATE "r+"
#define XP_FILE_TRUNCATE "w+"
#ifdef SUNOS4
/* XXX SunOS4 hack -- make this universal by using r+b and w+b */
#define XP_FILE_UPDATE_BIN "r+"
#define XP_FILE_TRUNCATE_BIN "w+"
#else
#define XP_FILE_UPDATE_BIN "rb+"
#define XP_FILE_TRUNCATE_BIN "wb+"
#endif
#ifdef __BORLANDC__
#define _stat stat
#endif
#ifdef XP_MAC
#define XP_STAT_READONLY( statinfo ) (0)
#else
#define XP_STAT_READONLY( statinfo ) ((statinfo.st_mode & S_IWRITE) == 0)
#endif
typedef FILE * XP_File;
typedef char * XP_FilePerm;
#ifdef XP_WIN
typedef struct _stat XP_StatStruct;
#endif
#if defined(XP_OS2)
typedef struct stat XP_StatStruct;
#endif
#ifdef XP_UNIX
typedef struct stat XP_StatStruct;
#endif
#if defined (XP_MAC)
typedef struct stat XP_StatStruct;
#endif
#if defined(XP_UNIX) || defined(XP_WIN) || defined(XP_OS2)
typedef DIR * XP_Dir;
typedef struct dirent XP_DirEntryStruct;
#endif
#ifdef XP_MAC
/* Mac has non-stdio definitions of XP_Dir and XP_DirEntryStruct */
typedef struct macdstat {
char d_name[300];
} XP_DirEntryStruct;
typedef struct dirstruct {
XP_DirEntryStruct dirent;
FSSpec dirSpecs;
short index; /* Index for looping in XP_OpenDir */
XP_FileType type;
} *XP_Dir;
#endif /* XP_MAC */
/*-----------------------------------------------------------------------------
Prototypes
-----------------------------------------------------------------------------*/
XP_BEGIN_PROTOS
/*
* Given TheXP_FileSpec returns XP_FILE_NATIVE_PATH.
* See docs on top for more info
*/
PUBLIC XP_FILE_NATIVE_PATH WH_FileName (const char *name, XP_FileType type);
/*
* Given XP_FILE_URL_PATH, returns XP_FILE_NATIVE_PATH
* See docs on top for more info
*/
PUBLIC XP_FILE_NATIVE_PATH WH_FilePlatformName(const char * name);
/*
* Given XP_FILE_NATIVE_PATH, returns XP_FILE_URL_PATH
* See docs on top for more info
*/
PUBLIC XP_FILE_URL_PATH XP_PlatformFileToURL (const XP_FILE_NATIVE_PATH platformName);
/* takes a portion of a local path and returns an allocated portion
* of an XP path. This function was initially created to translate
* imap server folder names to xp names.
*/
PUBLIC char *XP_PlatformPartialPathToXPPartialPath (const char *platformPath);
/* Returns a pathname of a file suitable for use as temporary storage
* Warning: you can only use the returned pathname in other XP_File calls
* with the same enum.
*/
extern char * WH_TempName(XP_FileType type, const char * prefix);
/* Returns the path to the temp directory. */
extern char* XP_TempDirName(void);
/* Various other wrappers for stdio.h
*/
extern XP_File XP_FileOpen (const char* name, XP_FileType type,
const XP_FilePerm permissions);
extern int XP_Stat(const char * name, XP_StatStruct * outStat,
XP_FileType type);
extern XP_Dir XP_OpenDir(const char * name, XP_FileType type);
extern void XP_CloseDir(XP_Dir dir);
extern XP_DirEntryStruct *XP_ReadDir(XP_Dir dir);
extern int XP_FileRename(const char * from, XP_FileType fromtype,
const char * to, XP_FileType totype);
extern int XP_FileRemove(const char * name, XP_FileType type);
extern int XP_MakeDirectory(const char* name, XP_FileType type);
/* XP_MakeDirectoryR recursively creates all the directories needed */
extern int XP_MakeDirectoryR(const char* name, XP_FileType type);
extern int XP_RemoveDirectory(const char *name, XP_FileType type);
extern int XP_RemoveDirectoryRecursive(const char *name, XP_FileType type);
/* Truncate a file to be a given length. It is important (especially on the
Mac) to make sure not to ever call this if you have the file opened. */
extern int XP_FileTruncate(const char* name, XP_FileType type, int32 length);
extern int XP_FileWrite (const void* source, int32 count, XP_File file);
extern char * XP_FileReadLine(char * dest, int32 bufferSize, XP_File file);
extern long XP_FileTell( XP_File file );
extern int XP_FileFlush( XP_File file );
extern int XP_FileClose(XP_File file);
/* Defines */
#define XP_Fileno fileno
#define XP_FileSeek(file,offset,whence) fseek ((file), (offset), (whence))
#define XP_FileRead(dest,count,file) fread ((dest), 1, (count), (file))
#define XP_FileTell(file) ftell(file)
#define XP_FileFlush(file) fflush(file)
/* varargs make it impossible to do any other way */
#define XP_FilePrintf fprintf
/* XP_GetNewsRCFiles returns a null terminated array of pointers to malloc'd
* filename's. Each filename represents a different newsrc file.
*
* return only the filename since the path is not needed or wanted.
*
* Netlib is expecting a string of the form:
* [s]newsrc-host.name.domain[:port]
*
* examples:
* newsrc-news.mcom.com
* snewsrc-flop.mcom.com
* newsrc-news.mcom.com:118
* snewsrc-flop.mcom.com:1191
*
* the port number is optional and should only be
* there when different from the default.
* the "s" in front of newsrc signifies that
* security is to be used.
*
* return NULL on critical error or no files
*/
extern char ** XP_GetNewsRCFiles(void);
/* #ifdef EDITOR */
/* If pszLocalName is not NULL, we return the full pathname
* in local platform syntax. Caller must free this string.
* Returns TRUE if file already exists
* Windows version implemented in winfe\fegui.cpp
*/
extern Bool XP_ConvertUrlToLocalFile(const char * szURL, char **pszLocalName);
/* Construct a temporary filename in same directory as supplied "file:///" type URL
* Used as write destination for saving edited document
* User must free string.
* Windows version implemented in winfe\fegui.cpp
*/
extern char * XP_BackupFileName( const char * szURL );
extern XP_Bool XP_FileIsFullPath(const char * name);
extern XP_Bool XP_FileNameContainsBadChars(const char *name);
#ifdef XP_MAC
/* XP_FileNumberOfFilesInDirectory returns the number of files in the specified
* directory
*/
extern int XP_FileNumberOfFilesInDirectory(const char * dir_name, XP_FileType type);
#endif /* XP_MAC */
XP_END_PROTOS
#if defined(XP_UNIX) || defined(XP_WIN) || defined(XP_OS2)
/* Unix and Windows preferences communicate with the netlib through these
global variables. Netlib does "something sensible" if they are NULL.
*/
extern char *FE_SARCacheDir;
extern char *FE_UserNewsHost;
extern char *FE_UserNewsRC;
extern char *FE_TempDir;
extern char *FE_CacheDir;
extern char *FE_DownloadDir;
extern char *FE_GlobalHist;
#endif /* XP_UNIX || XP_WIN */
/* Each of the three patforms seem to have subtly different opinions
about which functions should be aliases for their stdio counterparts,
and which should be real functions.
Note that on the platform in question, these #defines will override
the prototypes above.
*/
#if defined(XP_UNIX) || defined(XP_WIN) || defined(XP_OS2)
# define XP_FileReadLine(destBuffer, bufferSize, file) \
fgets(destBuffer, bufferSize, file)
#endif /* XP_UNIX || XP_WIN */
#if defined(XP_UNIX) || defined(XP_OS2)
# define XP_ReadDir(DirPtr) readdir((DirPtr))
# define XP_CloseDir(DirPtr) closedir((DirPtr))
#endif /* XP_UNIX */
#if defined(XP_MAC) || defined(XP_WIN) || defined(XP_OS2)
/* #### Note! This defn is dangerous because `count' is evaluated twice! */
# define XP_FileWrite(source, count, file) \
fwrite((void*)(source), 1, \
(size_t) ((count) == -1 ? strlen((char*)source) : (count)), \
(file))
# define XP_FileClose(file) fclose ((file))
#endif /* XP_MAC || XP_WIN */
#endif /* _XP_File_ */

View File

@@ -1,154 +0,0 @@
/* -*- 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.
*/
#ifndef _XP_HASH_
#define _XP_HASH_
#include "xp_list.h"
XP_BEGIN_PROTOS
typedef uint32 (*XP_HashingFunction) (const void *ele);
/* A hash compare function is like strcmp - it should return negative, zero,
or positive depending on the ordering and equality of its arguments.
*/
typedef int (*XP_HashCompFunction) (const void *ele1, const void *ele2);
/* get hash number from a string */
extern uint32 XP_StringHash (const void *xv);
/* Phong's linear congruential hash */
extern uint32 XP_StringHash2 (const char *ubuf);
/* Hash Tables.
*/
typedef struct xp_HashTable *XP_HashTable; /* opaque */
typedef XP_Bool (*XP_HashTableMapper) (XP_HashTable table,
const void *key, void *value,
void *closure);
/* Create a new, empty hash table object.
SIZE should be your best guess at how many items will go into this
table; if SIZE is too small, that's ok, but there will be a small
performance hit. The size need not be prime.
*/
extern XP_HashTable XP_HashTableNew (uint32 size,
XP_HashingFunction hash_fn,
XP_HashCompFunction compare_fn);
/* Clear and free the hash table.
*/
extern void XP_HashTableDestroy (XP_HashTable table);
/* Remove all entries from the hash table.
*/
extern void XP_Clrhash (XP_HashTable table);
/* Add an association between KEY and VALUE to the hash table.
An existing association will be replaced.
(Note that 0 is a legal value.)
This can only fail if we run out of memory.
*/
extern int XP_Puthash (XP_HashTable table, const void *key, void *value);
/* Remove the for KEY in the table, if it exists.
Returns FALSE if the key wasn't in the table.
*/
extern XP_Bool XP_Remhash (XP_HashTable table, const void *key);
/* Looks up KEY in the table and returns the corresponding value.
If KEY is not in the table, `default_value' will be returned instead.
(This is necessary since 0 is a valid value with which a key can be
associated.)
*/
extern void *XP_Gethash (XP_HashTable table, const void *key,
void *default_value);
/* Apply a function to each pair of elements in the hash table.
If that function returns FALSE, then the mapping stops prematurely.
The mapping function may call XP_Remhash() on the *current* key, but
not on any other key in this table. It also may not clear or destroy
the table.
*/
extern void XP_Maphash (XP_HashTable table, XP_HashTableMapper mapper,
void *closure);
/* Apply a function to each pair of elements in the hash table.
After calling the function, that pair will be removed from the table.
If the function returns FALSE, then the mapping stops prematurely.
Any items which were not mapped over will still remain in the table,
but those items which were mapped over will have been freed.
This could also be done by having the mapper function unconditionally
call XP_Remhash(), but using this function will be slightly more efficient.
*/
extern void XP_MapRemhash (XP_HashTable table, XP_HashTableMapper mapper,
void *closure);
/* ===========================================================================
Hash Lists, which aren't really hash tables.
*/
#define XP_HASH_DUPLICATE_OBJECT -99
typedef struct _XP_HashList {
XP_List **list;
int size;
XP_HashingFunction hash_func;
XP_HashCompFunction comp_func;
} XP_HashList;
/* create a hash list
*/
extern XP_HashList *
XP_HashListNew (int size, XP_HashingFunction hash_func, XP_HashCompFunction comp_func);
/* free a hash list
*/
extern void
XP_HashListDestroy (XP_HashList * hash_struct);
/* add an element to a hash list
*
* returns positive on success and negative on failure
*
* ERROR return codes
*
* XP_HASH_DUPLICATE_OBJECT
*/
extern int
XP_HashListAddObject (XP_HashList * hash_struct, void * new_ele);
/* finds an object by name in the hash list
*/
extern void *
XP_HashListFindObject (XP_HashList * hash_struct, void * ele);
/* removes an object by name from the hash list
* and returns the object if found
*/
extern void *
XP_HashListRemoveObject (XP_HashList * hash_struct, void * ele);
XP_END_PROTOS
#endif /* _XP_HASH_ */

View File

@@ -1,263 +0,0 @@
/* -*- 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.
*/
/* xp_help.h *
/*
* *
* Revision history: *
* Author: Edwin Aoki *
* Extensive Revision: Kevin Driscoll 3/19/97 *
* Updated ONLY Mail/News entries: Kevin Driscoll 3/21/97 *
* Updated to add discussion IDs: Kevin Driscoll 4/22/97 *
* Added missing/modified IDs: Gina Cariga 4/22/97 *
* Added offline & help_edit_dict IDs: Kevin Driscoll 4/28/97 *
* Added 2 HELP_HTML_MAIL IDs: Kevin Driscoll 4/29/97 *
* Fixed 5 wrong component names in helpIDs: Kevin Driscoll 5/7/97*
* Fixed 1 and added 1 ID: Kevin Driscoll 5/9/97 *
* Corrected 7 helpside IDs as per Melton: Kevin Driscoll 5/12/97 *
* Added 1 new ID for conference: Kevin Driscoll 5/12/97 *
* Corrected 2 IDs for offine download: Kevin Driscoll 5/21/97 *
*******************************************************************/
#ifndef XP_HELP_H
#define XP_HELP_H
/* The main entry point into help for most folks. This function takes a string
which represents the component and topic name for a Communicator help topic.
It prepends the netscape vendor to create a fully-qualified topic name. If
an MWContext which represents the current window is available, pass that in,
otherwise, specify NULL and NetHelp will locate an appropriate context to use.
In either event, XP_NetHelp then calls NET_LoadNetHelpTopic, below. */
extern void
XP_NetHelp(MWContext *pContext, const char *topic);
/* Called by FEs to load a fully-qualified topic. This function is implemented in
libnet/mkhelp.c, but it's extracted here so unrelated FE parts don't have
to include mkhelp.h */
extern void
NET_LoadNetHelpTopic(MWContext *pContext, const char *topic);
/* These defines correspond to help tags that can be passed to
XP_NetHelp, above, to invoke nethelp. */
/* Main product help */
#define HELP_COMMUNICATOR "home:start_here"
/* Address Book Dialogs */
#define HELP_ADDRESS_BOOK "messengr:ADDRESS_BOOK"
#define HELP_ADD_LIST_MAILING_LIST "messengr:ADD_LIST_MAILING_LIST"
#define HELP_ADD_USER_NETSCAPE_COOLTALK "messengr:ADD_USER_NETSCAPE_COOLTALK"
#define HELP_ADD_USER_PROPS "messengr:ADD_USER_PROPERTIES"
#define HELP_ADD_USER_SECURITY "messengr:ADD_USER_SECURITY"
#define HELP_ADD_USER_CONTACT "messengr:ADD_USER_CONTACT"
#define HELP_ADD_USER_NETSCAPE_COOLTALK "messengr:ADD_USER_NETSCAPE_COOLTALK"
#define HELP_LDAP_SERVER_PROPS "messengr:LDAP_SERVER_PROPERTIES"
#define HELP_EDIT_USER_CALLPOINT "messengr:ADD_USER_NETSCAPE_COOLTALK"
#define HELP_EDIT_USER_CONTACT "messengr:ADD_USER_CONTACT"
#define HELP_EDIT_USER "messengr:ADD_USER_PROPERTIES"
#define HELP_EDIT_USER_SECURITY "messengr:EDIT_USER_SECURITY"
#define HELP_MAIL_LIST_PROPS "messengr:ADD_LIST_MAILING_LIST"
#define HELP_SEARCH_MAILNEWS "messengr:SEARCH_MAILNEWS"
#define HELP_SEARCH_LDAP "messengr:SEARCH_LDAP"
#define HELP_SELECT_ADDRESSES "messengr:SELECT_ADDRESSES"
#define HELP_SEARCH_ADDRESS_BOOKS "messengr:SEARCH_ADDRESS_BOOKS"
/* Bookmark Dialogs */
#define HELP_BOOKMARK_PROPERTIES "navigatr:BOOKMARK_PROPERTIES"
#define HELP_FIND_IN_BOOKMARKS "navigatr:FIND_IN_BOOKMARKS"
/* Browser Dialogs */
#define HELP_OPEN_PAGE "navigatr:OPEN_PAGE"
#define HELP_SEARCH_HISTORY_LIST "navigatr:SEARCH_HISTORY_LIST"
/* Conference Dialogs */
#define HELP_ADD_TO_SENDLIST "confernc:ADD_TO_SENDLIST"
#define HELP_CANVAS_SIZE "confernc:CANVAS_SIZE"
#define HELP_CHAT_FILE_SAVE "confernc:CHAT_FILE_SAVE"
#define HELP_COLLAB_BROWSER "confernc:COLLAB_BROWSER"
#define HELP_CHAT_ABOUT "confernc:CONF_CHAT_ABOUT"
#define HELP_CHAT_EDITLOG "confernc:CONF_CHAT_EDITLOG"
#define HELP_CHAT_EDITPAD "confernc:CONF_CHAT_EDITPAD"
#define HELP_CONF_FILEX "confernc:CONF_FILEX_ABOUT"
#define HELP_CONF_FILERCV "confernc:CONF_FILEX_FILERCV"
#define HELP_CONF_FILESND "confernc:CONF_FILEX_FILESND"
#define HELP_CONF_WB_ABOUT "confernc:CONF_WB_ABOUT"
#define HELP_DIRECT_CALL "confernc:DIRECT_CALL"
#define HELP_FILE_INCLUDE "confernc:FILE_INCLUDE"
#define HELP_FILE_OPEN "confernc:FILE_OPEN"
#define HELP_PROPS_AUDIO "confernc:PROPERTIES_AUDIO"
#define HELP_PROPS_AUDIO_ADVANCED "confernc:PROPERTIES_AUDIO_ADVANCED"
#define HELP_PROPS_BUSINESS_CARD "confernc:PROPERTIES_BUSINESS_CARD"
#define HELP_PROPS_CALL "confernc:PROPERTIES_CALL"
#define HELP_PROPS_SPEED_DIAL "confernc:PROPERTIES_SPEED_DIAL"
#define HELP_RECORD_VOICEMAIL "confernc:RECORD_VOICEMAIL"
#define HELP_SEND_VOICEMAIL "confernc:SEND_VOICEMAIL"
#define HELP_WB_FILE_SAVE "confernc:WB_FILE_SAVE"
/* Editor Dialogs */
#define HELP_DOC_PROPS_ADVANCED "composer:DOCUMENT_PROPERTIES_ADVANCED"
#define HELP_DOC_PROPS_APPEARANCE "composer:DOCUMENT_PROPERTIES_APPEARANCE"
#define HELP_DOC_PROPS_GENERAL "composer:DOCUMENT_PROPERTIES_GENERAL"
#define HELP_HTML_TAG "composer:HTML_TAG"
#define HELP_NEW_TABLE_PROPS "composer:NEW_TABLE_PROPERTIES"
#define HELP_PROPS_CHARACTER "composer:PROPERTIES_CHARACTER"
#define HELP_PROPS_HRULE "composer:PROPERTIES_HRULE"
#define HELP_PROPS_IMAGE "composer:PROPERTIES_IMAGE"
#define HELP_PROPS_IMAGE_ALT "composer:PROPERTIES_IMAGE_ALT"
#define HELP_PROPS_LINK "composer:PROPERTIES_LINK"
#define HELP_PROPS_PARAGRAPH "composer:PROPERTIES_PARAGRAPH"
#define HELP_PROPS_TARGET "composer:PROPERTIES_TARGET"
#define HELP_PUBLISH_FILES "composer:PUBLISH_FILES"
#define HELP_TABLE_PROPS_CELL "composer:TABLE_PROPERTIES_CELL"
#define HELP_TABLE_PROPS_ROW "composer:TABLE_PROPERTIES_ROW"
#define HELP_TABLE_PROPS_TABLE "composer:TABLE_PROPERTIES_TABLE"
#define HELP_SPELL_CHECK "composer:SPELL_CHECK"
#define HELP_IMAGE_CONVERSION "composer:IMAGE_CONVERSION"
#define HELP_EXTRA_HTML "composer:EXTRA_HTML"
#define HELP_COLOR_PICKER "composer:COLOR_PICKER"
/* Mail Dialogs */
#define HELP_FILTER_RULES "messengr:FILTER_RULES"
#define HELP_MAIL_FILTERS "messengr:MAIL_FILTERS"
#define HELP_MAIL_FOLDER_PROPS_GENERAL "messengr:MAIL_FOLDER_PROPERTIES_GENERAL"
#define HELP_MAIL_FOLDER "messengr:MAIL_FOLDER"
#define HELP_MAIL_NEWS_WIZARD "messengr:MAIL_NEWS_WIZARD"
#define HELP_MESSAGE_LIST_WINDOW "messengr:MESSAGE_LIST_WINDOW"
#define HELP_MAIL_MESSAGE_WINDOW "messengr:MAIL_MESSAGE_WINDOW"
#define HELP_HTML_MAIL_QUESTION "messengr:HTML_MAIL_QUESTION"
#define HELP_HTML_MAIL_QUESTION_RECIPIENT "messengr:HTML_MAIL_QUESTION_RECIPIENT"
/* Main Preferences: Appearance */
#define HELP_PREFS_APPEARANCE "navigatr:PREFERENCES_APPEARANCE"
#define HELP_PREFS_APPEARANCE_FONTS "navigatr:PREFERENCES_APPEARANCE_FONTS"
#define HELP_PREFS_APPEARANCE_COLORS "navigatr:PREFERENCES_APPEARANCE_COLORS"
/* Main Preferences: Browser */
#define HELP_PREFS_BROWSER "navigatr:PREFERENCES_NAVIGATOR"
#define HELP_PREFS_BROWSER_LANGUAGES "navigatr:PREFERENCES_NAVIGATOR_LANGUAGES"
#define HELP_PREFS_BROWSER_APPLICATIONS "navigatr:PREFERENCES_NAVIGATOR_APPLICATIONS"
/* Main Preferences: Mail and Groups */
#define HELP_PREFS_MAILNEWS_MAIN_PANE "messengr:PREFERENCES_MAILNEWS_MAIN_PANE"
#define HELP_PREFS_MAILNEWS_IDENTITY "messengr:PREFERENCES_MAILNEWS_IDENTITY"
#define HELP_PREFS_MAILNEWS_MESSAGES "messengr:PREFERENCES_MAILNEWS_MESSAGES"
#define HELP_PREFS_MAILNEWS_MAILSERVER "messengr:PREFERENCES_MAILNEWS_MAILSERVER"
#define HELP_PREFS_MAILNEWS_GROUPSERVER "messengr:PREFERENCES_MAILNEWS_GROUPSERVER"
#define HELP_PREFS_MAILNEWS_DIRECTORY "messengr:PREFERENCES_MAILNEWS_DIRECTORY"
#define HELP_MAILNEWS_EDIT_CARD "messengr:MAILNEWS_EDIT_CARD"
#define HELP_MAILNEWS_EDIT_CARD_NAME_TAB "messengr:ADD_USER_PROPERTIES"
#define HELP_MAILNEWS_EDIT_CARD_CONTACT_TAB "messengr:ADD_USER_CONTACT"
#define HELP_MAILNEWS_EDIT_CARD_CONFERENCE_CARD "messengr:ADD_USER_NETSCAPE_COOLTALK"
/* Main Preferences: LI */
#define HELP_PREFS_LI_LOGIN "navigatr:PREFERENCES_NAVIGATOR"
#define HELP_PREFS_LI_SERVER "navigatr:PREFERENCES_NAVIGATOR_LANGUAGES"
#define HELP_PREFS_LI_FILES "navigatr:PREFERENCES_NAVIGATOR_APPLICATIONS"
#ifndef MOZ_MAIL_NEWS
#define HELP_PREFS_IDENTITY "navigatr:PREFERENCES_IDENTITY"
#endif /* MOZ_MAIL_NEWS */
/* Main Preferences: Composer */
#ifdef XP_MAC
#define HELP_PREFS_COMPOSER "composer:PREFERENCES_EDITOR_GENERAL"
#define HELP_PREFS_COMPOSER_PUBLISHING "composer:PREFERENCES_EDITOR_PUBLISH"
#else
#define HELP_PREFS_COMPOSER "messengr:PREFERENCES_COMPOSER"
#define HELP_PREFS_COMPOSER_PUBLISHING "messengr:PREFERENCES_COMPOSER_PUBLISHING"
#endif
/* Main Preferences: Offline */
#define HELP_PREFS_OFFLINE "navigatr:PREFERENCES_OFFLINE"
#define HELP_PREFS_OFFLINE_GROUPS "navigatr:PREFERENCES_OFFLINE_GROUPS"
/* Main Preferences: Advanced */
#define HELP_PREFS_ADVANCED "navigatr:PREFERENCES_ADVANCED"
#define HELP_PREFS_ADVANCED_CACHE "navigatr:PREFERENCES_ADVANCED_CACHE"
#define HELP_PREFS_ADVANCED_PROXIES "navigatr:PREFERENCES_ADVANCED_PROXIES"
#define HELP_PREFS_ADVANCED_DISK_SPACE "navigatr:PREFERENCES_ADVANCED_DISK_SPACE"
/* Main Preferences: Conference */
#define HELP_CONF_PREFS_PROPS_CALL "home:PROPERTIES_CALL"
#define HELP_CONF_PREFS_PROPS_AUDIO "home:PROPERTIES_AUDIO"
#define HELP_CONF_PREFS_PROPS_BUSINESS_CARD "home:PROPERTIES_BUSINESS_CARD"
/* Editor Preferences */
#define HELP_EDIT_PREFS_EDITOR_APPEARANCE "composer:PREFERENCES_EDITOR_APPEARANCE"
#define HELP_EDIT_PREFS_EDITOR_GENERAL "composer:PREFERENCES_EDITOR_GENERAL"
#define HELP_EDIT_PREFS_EDITOR_PUBLISH "composer:PREFERENCES_EDITOR_PUBLISH"
#define HELP_EDIT_DICTIONARY "composer:EDIT_DICTIONARY"
/* Security Preferences */
#define HELP_SEC_PREFS_SEC_GENERAL "home:PREFERENCES_SECURITY_GENERAL"
#define HELP_SEC_PREFS_SEC_PASSWORDS "home:PREFERENCES_SECURITY_PASSWORDS"
#define HELP_SEC_PREFS_SEC_PERSONAL_CERTIFICATES "home:PREFERENCES_SECURITY_PERSONAL_CERTIFICATES"
#define HELP_SEC_PREFS_SEC_SITE_CERTIFICATES "home:PREFERENCES_SECURITY_SITE_CERTIFICATES"
/* Security Advisor Dialogs */
#define HELP_SEC_PASS "home:SECURITY_ADVISOR_PASSWORDS"
#define HELP_SEC_PCERT "home:SECURITY_ADVISOR_PERSONAL_CERTIFICATES"
#define HELP_SEC_ADV "home:SECURITY_ADVISOR_SECURITY_ADVISOR"
#define HELP_SEC_SCERT "home:SECURITY_ADVISOR_SITE_CERTIFICATES"
/* Discussion Dialogs */
#define HELP_NEWS_DISCUSION_GENERAL "collabra:NEWS_DISCUSSION_GENERAL"
#define HELP_NEWS_DISCUSION_DOWNLOAD "collabra:NEWS_DISCUSSION_DOWNLOAD"
#define HELP_NEWS_DISCUSION_DISKSPACE "collabra:NEWS_DISCUSSION_DISKSPACE"
#define HELP_NEWS_NEW_GROUP_SERVER "collabra:NEWS_NEW_GROUP_SERVER"
#define HELP_NEWS_ADD_DIRECTORY_SERVER "collabra:NEWS_ADD_DIRECTORY_SERVER"
#define HELP_NEWS_DIRECTORY_SERVER_PROPERTY "collabra:NEWS_DIRECTORY_SERVER_PROPERTY"
#define HELP_DISCUSSION_HOST_PROPERTIES "collabra:DISCUSSION_HOST_PROPERTIES"
#define HELP_SUBSCRIBE_SEARCH "collabra:SUBSCRIBE_SEARCH"
#define HELP_SUBSCRIBE_LIST_NEW "collabra:SUBSCRIBE_LIST_NEW"
#define HELP_SUBSCRIBE_LIST_ALL "collabra:SUBSCRIBE_LIST_ALL"
#define HELP_ADD_SERVER "collabra:ADD_SERVER"
#define HELP_OFFLINE_DOWNLOAD "collabra:NEWS_DISCUSSION_DOWNLOAD_OFFLINE"
#define HELP_OFFLINE_DISCUSSION_GROUPS "collabra:NEWS_DISCUSSION_GROUPS"
#endif

View File

@@ -1,81 +0,0 @@
/* -*- 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.
*/
#ifndef XPLIST_H
#define XPLIST_H
#include "xp_core.h"
/* generic list structure
*/
struct _XP_List {
void * object;
struct _XP_List * next;
struct _XP_List * prev;
};
XP_BEGIN_PROTOS
extern XP_List * XP_ListNew (void);
extern void XP_ListDestroy (XP_List *list);
extern void XP_ListAddObject (XP_List *list, void *newObject);
extern void XP_ListAddObjectToEnd (XP_List *list, void *newObject);
extern void XP_ListInsertObject (XP_List *list, void *insert_before, void *newObject);
extern void XP_ListInsertObjectAfter (XP_List *list, void *insert_after, void *newObject);
/* returns the list node of the specified object if it was
* in the list
*/
extern XP_List * XP_ListFindObject (XP_List *list, void * obj);
extern Bool XP_ListRemoveObject (XP_List *list, void *oldObject);
extern void * XP_ListRemoveTopObject (XP_List *list);
extern void * XP_ListPeekTopObject (XP_List *list);
extern void * XP_ListRemoveEndObject (XP_List *list);
#define XP_ListIsEmpty(list) (list ? list->next == NULL : TRUE)
extern int XP_ListCount (XP_List *list);
#define XP_ListTopObject(list) (list && list->next ? list->next->object : NULL)
extern void * XP_ListGetEndObject (XP_List *list);
extern void * XP_ListGetObjectNum (XP_List *list, int num);
extern int XP_ListGetNumFromObject (XP_List *list, void * object);
/* move the top object to the bottom of the list
* this function is useful for reordering the list
* so that a round robin ordering can occur
*/
extern void XP_ListMoveTopToBottom (XP_List *list);
XP_END_PROTOS
/* traverse the list in order
*
* make a copy of the list pointer and point it at the list object head.
* the first call the XP_ListNextObject will return the first object
* and increment the copy of the list pointer. Subsequent calls
* will continue to increment the copy of the list pointer and return
* objects
*/
#define XP_ListNextObject(list) \
(list && ((list = list->next)!=0) ? list->object : NULL)
#endif /* XPLIST_H */

View File

@@ -1,196 +0,0 @@
/* -*- 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.
*/
/*
* This file should be the first Mcom file included
*
* All cross-platform definitions, regardless of project, should be
* contained in this file or its includes
*/
#ifndef _MCOM_H_
#define _MCOM_H_
#include "xp_core.h"
#include "xp_mem.h"
#include "xp_debug.h"
#include "xp_str.h"
#include "xp_list.h"
/* platform-specific types */
/* include header files needed for prototypes/etc */
#include "xp_file.h"
XP_BEGIN_PROTOS
/* XXX where should this kind of junk go? */
unsigned char *XP_WordWrap(int charset, unsigned char *string, int maxColumn,
int checkQuoting);
XP_END_PROTOS
/* --------------------------------------------------------------------- */
/*
Define the hooks for cross-platform string + memory functions
*/
#ifdef DEBUG
XP_BEGIN_PROTOS
extern char * NOT_NULL (const char *x);
XP_END_PROTOS
#else
# define NOT_NULL(X) X
#endif
#include <string.h>
#define XP_STRLEN(s) strlen(NOT_NULL(s))
#define XP_STRCMP(a, b) strcmp(NOT_NULL(a), NOT_NULL(b))
#define XP_STRNCMP(a, b, n) strncmp(NOT_NULL(a), NOT_NULL(b), (n))
#define XP_STRCPY(d, s) strcpy(NOT_NULL(d), NOT_NULL(s))
#define XP_STRCHR strchr
#define XP_STRRCHR strrchr
#define XP_STRTOK strtok
#define XP_STRCAT strcat
#define XP_STRNCAT strncat
#define XP_STRSTR strstr
#define XP_STRTOUL strtoul
/* XP_FILENAMECMP compares two filenames, treating case differences
appropriately for this OS. */
#if defined(XP_WIN) || defined(XP_OS2)
#define XP_FILENAMECMP stricmp
#else
#define XP_FILENAMECMP XP_STRCMP
#endif
#if !defined(XP_WIN) && !defined(XP_OS2)
/* strdup is not an ANSI function */
XP_BEGIN_PROTOS
extern char * strdup (const char * s);
XP_END_PROTOS
#endif
#include <memory.h>
#define XP_STRDUP(s) strdup((s))
#define XP_MEMCPY(d, s, n) memcpy((d), (s), (n))
/* NOTE: XP_MEMMOVE gurantees that overlaps will be properly handled */
#if defined( __sun) && !defined(__svr4__)
#define XP_MEMMOVE(Dest,Src,Len) bcopy((Src),(Dest),(Len))
#else
#define XP_MEMMOVE(Dest,Src,Len) memmove((Dest),(Src),(Len))
#endif /* __sun */
#define XP_MEMSET memset
#define XP_SPRINTF sprintf
/* should I really include this here or what? */
#ifdef XP_MAC
#include "prprf.h"
#else
#include "prprf.h"
#endif
#define XP_SAFE_SPRINTF PR_snprintf
#define XP_MEMCMP memcmp
#define XP_VSPRINTF vsprintf
#define XP_IS_SPACE(VAL) \
(((((intn)(VAL)) & 0x7f) == ((intn)(VAL))) && isspace((intn)(VAL)) )
#define XP_IS_CNTRL(i) ((((unsigned int) (i)) > 0x7f) ? (int) 0 : iscntrl(i))
#define XP_IS_DIGIT(i) ((((unsigned int) (i)) > 0x7f) ? (int) 0 : isdigit(i))
#if defined(XP_WIN) || defined(XP_OS2)
#define XP_IS_ALPHA(VAL) (isascii((int)(VAL)) && isalpha((int)(VAL)))
#else
#define XP_IS_ALPHA(VAL) ((((unsigned int) (VAL)) > 0x7f) ? FALSE : isalpha((int)(VAL)))
#endif
#define XP_ATOI(PTR) (atoi((PTR)))
/* NOTE: XP_BCOPY gurantees that overlaps will be properly handled */
#ifdef XP_WIN16
XP_BEGIN_PROTOS
extern void WIN16_bcopy(char *, char *, unsigned long);
XP_END_PROTOS
#define XP_BCOPY(PTR_FROM, PTR_TO, LEN) \
(WIN16_bcopy((char *) (PTR_FROM), (char *)(PTR_TO), (LEN)))
#else
#define XP_BCOPY(Src,Dest,Len) XP_MEMMOVE((Dest),(Src),(Len))
#endif
#define XP_BZERO(a,b) memset(a,0,b)
#ifdef XP_WIN
#define XP_RANDOM rand
#define XP_SRANDOM(seed) srand((seed))
#endif
#ifdef XP_OS2
#define XP_RANDOM rand
#define XP_SRANDOM(seed) srand((seed))
#endif
#ifdef XP_MAC
#define XP_RANDOM rand
#define XP_SRANDOM(seed) srand((seed))
#endif
#ifdef XP_UNIX
#if !defined(XP_RANDOM) || !defined(XP_SRANDOM) /* defined in both xp_mcom.h and xp_str.h */
#if defined(UNIXWARE) || defined(_INCLUDE_HPUX_SOURCE) || (defined(__sun) && defined(__svr4__)) || defined(SNI) || defined(NCR)
#define XP_RANDOM rand
#define XP_SRANDOM(seed) srand((seed))
#else
#define XP_RANDOM random
#define XP_SRANDOM(seed) srandom((seed))
#endif
#endif
#endif
#ifdef XP_MAC
XP_BEGIN_PROTOS
extern time_t GetTimeMac();
extern time_t Mactime(time_t *timer);
extern struct tm *Macgmtime(const time_t *timer);
extern time_t Macmktime (struct tm *timeptr);
extern char * Macctime(const time_t *);
extern struct tm *Maclocaltime(const time_t *);
XP_END_PROTOS
#define XP_TIME() GetTimeMac()
#define time(t) Mactime(t)
#define gmtime(t) Macgmtime(t)
#define mktime(t) Macmktime(t)
#define ctime(t) Macctime(t)
#define localtime(t) Maclocaltime(t)
#define UNIXMINUSMACTIME 2082844800UL
#else
#define XP_TIME() time(0)
#endif
#endif /* _MCOM_H_ */

View File

@@ -1,284 +0,0 @@
/* -*- 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.
*/
/*-----------------------------------------------------------------------------
XPMem.h
Cross-Platform Memory API
-----------------------------------------------------------------------------*/
#ifndef _XP_MEM_
#define _XP_MEM_
#include "xp_core.h"
#ifdef XP_MAC
#include "FlushAllocator.h"
#endif
#ifdef XP_WIN16
#include <malloc.h>
#endif
/* global free routine */
#define XP_FREEIF(obj) do { if(obj) { XP_FREE(obj); obj = 0; }} while(0)
/*-----------------------------------------------------------------------------
Allocating Structures
-----------------------------------------------------------------------------*/
#define XP_NEW( x ) (x*)malloc( sizeof( x ) )
#define XP_DELETE( p ) free( p )
/*-----------------------------------------------------------------------------
Mallocs
NOTE: this uses the same malloc as the structure allocator so it is
ok and safe to use XP_DELETE or XP_FREE interchangeably!
-----------------------------------------------------------------------------*/
#ifdef XP_MAC
#define XP_ALLOC( s ) malloc( s )
#define XP_FREE( p ) free( p )
#define XP_REALLOC( p , s ) realloc( p, s )
#define XP_CALLOC( n, s ) calloc( (n), (s) )
#define XP_NEW_ZAP( t ) ((t*)calloc( 1, sizeof(t) ) )
#else /* !XP_MAC */
/* normal win and unix */
#ifdef XP_WIN16
XP_BEGIN_PROTOS
extern void * WIN16_realloc(void * ptr, unsigned long size);
extern void * WIN16_malloc(unsigned long size);
XP_END_PROTOS
#define XP_REALLOC(ptr, size) WIN16_realloc(ptr, size)
#define XP_ALLOC(size) WIN16_malloc(size)
#else
#if defined(DEBUG) && defined(MOZILLA_CLIENT)
/* Check that we never allocate anything greater than 64K. If we ever tried,
Win16 would choke, and we'd like to find out about it on some other platform
(like, one where we have a working debugger). */
/* This code used to call abort. Unfortunately, on Windows, abort() doesn't
* go to the debugger. Instead, it silently quits the program.
* So use XP_ASSERT(FALSE) instead.
*/
#define XP_CHECK_ALLOC_SIZE(size) ((size) <= 0xFFFF ? size : (XP_ASSERT(FALSE), (size)))
#else
#define XP_CHECK_ALLOC_SIZE(size) size
#endif
#define XP_REALLOC(ptr, size) realloc(ptr, XP_CHECK_ALLOC_SIZE(size))
#define XP_ALLOC(size) malloc(XP_CHECK_ALLOC_SIZE(size))
#endif
#ifdef DEBUG
#define XP_CALLOC(num, sz) (((num)*(sz))<64000 ? calloc((num),(sz)) : (XP_ASSERT(FALSE), calloc((num),(sz))))
#else
#define XP_CALLOC(num, sz) calloc((num), (sz))
#endif
#define XP_FREE(ptr) free(ptr)
#define XP_NEW_ZAP(TYPE) ( (TYPE*) calloc (1, sizeof (TYPE) ) )
#endif /* !XP_MAC */
/* --------------------------------------------------------------------------
16-bit windows requires space allocated bigger than 32K to be of
type huge. For example:
int HUGE * foo = halloc(100000);
-----------------------------------------------------------------------------*/
/* There's no huge realloc because win16 doesn't have a hrealloc,
* and there's no API to discover the original buffer's size.
*/
#ifdef XP_WIN16
#define XP_HUGE __huge
#define XP_HUGE_ALLOC(SIZE) halloc(SIZE,1)
#define XP_HUGE_FREE(SIZE) hfree(SIZE)
#define XP_HUGE_MEMCPY(DEST, SOURCE, LEN) hmemcpy(DEST, SOURCE, LEN)
#else
#define XP_HUGE
#define XP_HUGE_ALLOC(SIZE) malloc(SIZE)
#define XP_HUGE_FREE(SIZE) free(SIZE)
#define XP_HUGE_MEMCPY(DEST, SOURCE, LEN) memcpy(DEST, SOURCE, LEN)
#endif
#define XP_HUGE_CHAR_PTR char XP_HUGE *
/*-----------------------------------------------------------------------------
Allocating Large Buffers
NOTE: this does not interchange with XP_ALLOC/XP_NEW/XP_FREE/XP_DELETE
-----------------------------------------------------------------------------*/
#if defined(XP_UNIX) || defined(XP_WIN32)
/* don't typedef this to void* unless you want obscure bugs... */
typedef unsigned long * XP_Block;
#define XP_ALLOC_BLOCK(SIZE) malloc ((SIZE))
#define XP_FREE_BLOCK(BLOCK) free ((BLOCK))
#ifdef XP_UNIXu
/* On SunOS, realloc(0,n) ==> 0 */
# define XP_REALLOC_BLOCK(BLOCK,SIZE) ((BLOCK) \
? realloc ((BLOCK), (SIZE)) \
: malloc ((SIZE)))
#else /* !XP_UNIX */
# define XP_REALLOC_BLOCK(BLOCK,SIZE) realloc ((BLOCK), (SIZE))
#endif /* !XP_UNIX */
#define XP_LOCK_BLOCK(PTR,TYPE,BLOCK) PTR = ((TYPE) (BLOCK))
#ifdef DEBUG
#define XP_UNLOCK_BLOCK(BLOCK) (void)BLOCK
#else
#define XP_UNLOCK_BLOCK(BLOCK)
#endif
#endif /* XP_UNIX || XP_WIN32 */
#if defined(XP_OS2)
/* don't typedef this to void* unless you want obscure bugs... */
typedef unsigned long * XP_Block;
#define XP_ALLOC_BLOCK(SIZE) malloc ((SIZE))
#define XP_FREE_BLOCK(BLOCK) free ((BLOCK))
# define XP_REALLOC_BLOCK(BLOCK,SIZE) realloc ((BLOCK), (SIZE))
#define XP_LOCK_BLOCK(PTR,TYPE,BLOCK) PTR = ((TYPE) (BLOCK))
#ifdef DEBUG
#define XP_UNLOCK_BLOCK(BLOCK) (void)BLOCK
#else
#define XP_UNLOCK_BLOCK(BLOCK)
#endif
#ifdef MCW_DEBUG
#include <stdlib.h>
#include <shmalloc.h>
#endif
#endif /* XP_OS2 */
#ifdef XP_WIN16
typedef unsigned char * XP_Block;
#define XP_ALLOC_BLOCK(SIZE) WIN16_malloc((SIZE))
#define XP_FREE_BLOCK(BLOCK) free ((BLOCK))
#define XP_REALLOC_BLOCK(BLOCK,SIZE) ((BLOCK) \
? WIN16_realloc ((BLOCK), (SIZE)) \
: WIN16_malloc ((SIZE)))
#define XP_LOCK_BLOCK(PTR,TYPE,BLOCK) PTR = ((TYPE) (BLOCK))
#ifdef DEBUG
#define XP_UNLOCK_BLOCK(BLOCK) (void)BLOCK
#else
#define XP_UNLOCK_BLOCK(BLOCK)
#endif
#endif /* XP_WIN16 */
#ifdef XP_MAC
typedef float* XP_Block;
#define XP_ALLOC_BLOCK( s ) ((XP_Block)malloc( s ) )
#define XP_FREE_BLOCK( b ) free( b )
#define XP_REALLOC_BLOCK( b, s ) ((XP_Block)realloc( b, s ) )
#define XP_LOCK_BLOCK( p, t, b ) (p = ( t )( b ))
#define XP_UNLOCK_BLOCK( b )
#endif /* XP_MAC */
#define PA_Block XP_Block
#define PA_ALLOC(S) XP_ALLOC_BLOCK(S)
#define PA_FREE(B) XP_FREE_BLOCK(B)
#define PA_REALLOC(B,S) XP_REALLOC_BLOCK(B,S)
#define PA_LOCK(P,T,B) XP_LOCK_BLOCK(P,T,B)
#define PA_UNLOCK(B) XP_UNLOCK_BLOCK(B)
/*-----------------------------------------------------------------------------
Allocating many small structures.
If allocating many small structures, it is often more efficient to allocate
an array of a bunch of them, and maintain a free list of them. These
utilities do that for you.
You must provide a XP_AllocStructInfo structure which describes what
it is you are trying to allocate it. If statically defined, use the
XP_INITIALIZE_ALLOCSTRUCTINFO macro to initialize it; if you prefer to
initialize it at runtime, use the XP_InitAllocStructInfo() routine.
If you free everything you've ever allocated for a given
XP_AllocStructInfo, all the memory used will be freed. Or, if you're
*really sure* you're done with everything you've allocated for a given
XP_AllocStructInfo, you can just call the scary XP_FreeAllStructs() routine.
Don't mix calls to XP_AllocStruct/XP_FreeStruct and XP_ALLOC/XP_FREE !!!
XP_AllocStructZero is the same as XP_AllocStruct, but it also zeros out
the allocated memory.
An example:
struct foo {
int a;
int b;
};
static XP_AllocStructInfo FooAlloc =
{ XP_INITIALIZE_ALLOCSTRUCTINFO(sizeof(struct foo)) };
.
.
.
struct foo* ptr = (struct foo*) XP_AllocStruct(&FooAlloc);
.
.
.
XP_FreeStruct(FooAlloc, ptr);
-----------------------------------------------------------------------------*/
typedef struct XP_AllocStructInfo {
int size;
void* curchunk;
int leftinchunk;
void* firstfree;
void* firstchunk;
int numalloced;
} XP_AllocStructInfo;
#define XP_INITIALIZE_ALLOCSTRUCTINFO(size) ((size + sizeof(void*) - 1) / sizeof(void*)) * sizeof(void*)
XP_BEGIN_PROTOS
void XP_InitAllocStructInfo(XP_AllocStructInfo* info, int size);
void* XP_AllocStruct(XP_AllocStructInfo* info);
void* XP_AllocStructZero(XP_AllocStructInfo* info);
void XP_FreeStruct(XP_AllocStructInfo* info, void* ptr);
void XP_FreeAllStructs(XP_AllocStructInfo* info); /* Danger! Use with care! */
XP_END_PROTOS
#endif /* _XP_MEM_ */

View File

@@ -1,58 +0,0 @@
/* -*- 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.
*/
/*-----------------------------------------------------------------------------
Position String Formatting
%ns argument n is a string
%ni argument n is an integer
%% literal %
n must be from 1 to 9
XP_MessageLen returns the length of the formatted message, including
the terminating NULL.
XP_Message formats the message into the given buffer, not exceeding
bufferLen (which includes the terminating NULL). If there isn't enough
space, XP_Message will truncate the text and terminate it (unlike
strncpy, which will truncate but not terminate).
XP_StaticMessage is like XP_Message but maintains a private buffer
which it resizes as necessary.
-----------------------------------------------------------------------------*/
#ifndef _XP_Message_
#define _XP_Message_
#include "xp_core.h"
XP_BEGIN_PROTOS
int
XP_MessageLen (const char * format, ...);
void
XP_Message (char * buffer, int bufferLen, const char * format, ...);
const char *
XP_StaticMessage (const char * format, ...);
XP_END_PROTOS
#endif /* _XP_Message_ */

View File

@@ -1,64 +0,0 @@
/* -*- 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.
*/
#ifndef __XP_NavCenter_H
#define __XP_NavCenter_H
#ifdef MOZILLA_CLIENT
#include "xp_core.h"
#include "htrdf.h"
XP_BEGIN_PROTOS
/* Callback function, allows consumer of the list to specialize search
* via a callback. This is needed because of different components
* that hide under MWContextBrowser, when they really should be
* something like MWContextEditor or MWContextNetcaster.
* The callback allows you to decide the details to match by.
* Return TRUE if the context is suitable, FALSE if it is not.
* The varargs will match the paramaters of the find function up to
* the callback exactly.
*/
typedef XP_Bool (*ContextMatch)(MWContext *pCX);
extern MWContext *XP_GetLastActiveContext(ContextMatch cxFilter);
extern void XP_SetLastActiveContext(MWContext *pCX);
extern void XP_RemoveContextFromLastActiveStack(MWContext *pCX);
extern void XP_RegisterNavCenter(HT_Pane htPane, MWContext *pDocked);
extern void XP_UnregisterNavCenter(HT_Pane htPane);
extern void XP_DockNavCenter(HT_Pane htPane, MWContext *pContext);
extern void XP_UndockNavCenter(HT_Pane htPane);
extern XP_Bool XP_IsNavCenterDocked(HT_Pane htPane);
extern MWContext *XP_GetNavCenterContext(HT_Pane htPane);
extern void XP_SetNavCenterUrl(MWContext *pContext, char *pUrl);
extern void XP_AddNavCenterSitemap(MWContext *pContext, char *pSitemap, char* name);
extern void XP_RemoveNavCenterInfo(MWContext *pContext);
extern void XP_RegisterViewHTMLPane(HT_View htView, MWContext *pContext);
extern int XP_GetURLForView(HT_View htView, char *pAddress);
XP_END_PROTOS
#endif /* MOZILLA_CLIENT */
#endif /* __XP_NavCenter_H */

View File

@@ -1,105 +0,0 @@
/* -*- 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.
*/
/*
* shexp.h: Defines and prototypes for shell exp. match routines
*
*
* This routine will match a string with a shell expression. The expressions
* accepted are based loosely on the expressions accepted by zsh.
*
* o * matches anything
* o ? matches one character
* o \ will escape a special character
* o $ matches the end of the string
* o [abc] matches one occurence of a, b, or c. The only character that needs
* to be escaped in this is ], all others are not special.
* o [a-z] matches any character between a and z
* o [^az] matches any character except a or z
* o ~ followed by another shell expression will remove any pattern
* matching the shell expression from the match list
* o (foo|bar) will match either the substring foo, or the substring bar.
* These can be shell expressions as well.
*
* The public interface to these routines is documented below.
*
* Rob McCool
*
*/
#ifndef SHEXP_H
#define SHEXP_H
#include "xp_core.h"
/*
* Requires that the macro MALLOC be set to a "safe" malloc that will
* exit if no memory is available. If not under MCC httpd, define MALLOC
* to be the real malloc and play with fire, or make your own function.
*/
#if 0
#ifdef MCC_HTTPD
#include "../mc-httpd.h"
#endif
#endif
#include <ctype.h> /* isalnum */
#include <string.h> /* strlen */
/* --------------------------- Public routines ---------------------------- */
/*
* shexp_valid takes a shell expression exp as input. It returns:
*
* NON_SXP if exp is a standard string
* INVALID_SXP if exp is a shell expression, but invalid
* VALID_SXP if exp is a valid shell expression
*/
#define NON_SXP -1
#define INVALID_SXP -2
#define VALID_SXP 1
extern int XP_RegExpValid(char *exp);
/*
* shexp_match
*
* Takes a prevalidated shell expression exp, and a string str.
*
* Returns 0 on match and 1 on non-match.
*/
extern int XP_RegExpMatch(char *str, char *exp, Bool case_insensitive);
/*
*
* Same as above, but validates the exp first. 0 on match, 1 on non-match,
* -1 on invalid exp.
*/
extern int XP_RegExpSearch(char *str, char *exp);
/* same as above but uses case insensitive search
*/
extern int XP_RegExpCaseSearch(char *str, char *exp);
#endif

View File

@@ -1,208 +0,0 @@
/* -*- 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.
*/
#ifndef __XP_SOCK_h_
#define __XP_SOCK_h_
#include "xp_core.h"
#include "xp_error.h"
#ifdef XP_UNIX
#ifdef AIXV3
#include <sys/signal.h>
#include <sys/select.h>
#endif /* AIXV3 */
#include <sys/types.h>
#include <string.h>
#include <errno.h>
#include <sys/time.h>
#include <sys/stat.h>
#include <sys/param.h>
#include <sys/file.h>
#include <sys/ioctl.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <unistd.h>
#ifndef __hpux
#include <arpa/inet.h>
#endif /* __hpux */
#include <netdb.h>
#endif /* XP_UNIX */
#ifdef XP_MAC
#include "macsocket.h"
#define SOCKET_BUFFER_SIZE 4096
#endif /* XP_MAC */
#ifdef XP_OS2 /* IBM-VPB050196 */
# include "os2sock.h"
# ifdef XP_OS2_DOUGSOCK
# include "dsfunc.h"
# endif
# define SOCKET_BUFFER_SIZE 4096
#endif
#ifdef XP_WIN
#include "winsock.h"
#define SOCKET_BUFFER_SIZE 4096
#ifdef __cplusplus
extern "C" {
#endif
extern int dupsocket(int foo); /* always fails */
#ifdef __cplusplus
}
#endif
#ifndef EPIPE
#define EPIPE ECONNRESET
#endif
#undef BOOLEAN
#define BOOLEAN char
#endif /* XP_WIN */
#define SOCKET_ERRNO XP_GetError()
/************************************************************************/
#ifdef XP_UNIX
/* Network i/o wrappers */
#define XP_SOCKET int
#define XP_SOCK_ERRNO errno
#define XP_SOCK_SOCKET socket
#define XP_SOCK_CONNECT connect
#define XP_SOCK_ACCEPT accept
#define XP_SOCK_BIND bind
#define XP_SOCK_LISTEN listen
#define XP_SOCK_SHUTDOWN shutdown
#define XP_SOCK_IOCTL ioctl
#define XP_SOCK_RECV recv
#define XP_SOCK_RECVFROM recvfrom
#define XP_SOCK_RECVMSG recvmsg
#define XP_SOCK_SEND send
#define XP_SOCK_SENDTO sendto
#define XP_SOCK_SENDMSG sendmsg
#define XP_SOCK_READ read
#define XP_SOCK_WRITE write
#define XP_SOCK_READV readv
#define XP_SOCK_WRITEV writev
#define XP_SOCK_GETPEERNAME getpeername
#define XP_SOCK_GETSOCKNAME getsockname
#define XP_SOCK_GETSOCKOPT getsockopt
#define XP_SOCK_SETSOCKOPT setsockopt
#define XP_SOCK_CLOSE close
#define XP_SOCK_DUP dup
#endif /* XP_UNIX */
/*IBM-DSR072296 - now using WinSock 1.1 support in OS/2 Merlin instead of DOUGSOCK...*/
#if defined(XP_WIN) || ( defined(XP_OS2) && !defined(XP_OS2_DOUGSOCK) )
#define XP_SOCKET SOCKET
#define XP_SOCK_ERRNO WSAGetLastError()
#define XP_SOCK_SOCKET socket
#define XP_SOCK_CONNECT connect
#define XP_SOCK_ACCEPT accept
#define XP_SOCK_BIND bind
#define XP_SOCK_LISTEN listen
#define XP_SOCK_SHUTDOWN shutdown
#define XP_SOCK_IOCTL ioctlsocket
#define XP_SOCK_RECV recv
#define XP_SOCK_RECVFROM recvfrom
#define XP_SOCK_RECVMSG recvmsg
#define XP_SOCK_SEND send
#define XP_SOCK_SENDTO sendto
#define XP_SOCK_SENDMSG sendmsg
#define XP_SOCK_READ(s,b,l) recv(s,b,l,0)
#define XP_SOCK_WRITE(s,b,l) send(s,b,l,0)
#define XP_SOCK_READV readv
#define XP_SOCK_WRITEV writev
#define XP_SOCK_GETPEERNAME getpeername
#define XP_SOCK_GETSOCKNAME getsockname
#define XP_SOCK_GETSOCKOPT getsockopt
#define XP_SOCK_SETSOCKOPT setsockopt
#define XP_SOCK_CLOSE closesocket
#define XP_SOCK_DUP dupsocket
#endif /* XP_WIN/ XP_OS2 && not DOUGSOCK */
#if defined(XP_OS2) && defined(XP_OS2_DOUGSOCK)
/* Network i/o wrappers */
#define XP_SOCKET int
#define XP_SOCK_ERRNO sock_errno()
#define XP_SOCK_SOCKET socket
#define XP_SOCK_CONNECT connect
#define XP_SOCK_ACCEPT accept
#define XP_SOCK_BIND bind
#define XP_SOCK_LISTEN listen
#define XP_SOCK_SHUTDOWN shutdown
#define XP_SOCK_IOCTL ioctl
#define XP_SOCK_RECV receiveAndMakeReadSocketActive
#define XP_SOCK_RECVFROM recvfrom
#define XP_SOCK_RECVMSG recvmsg
#define XP_SOCK_SEND send
#define XP_SOCK_SENDTO sendto
#define XP_SOCK_SENDMSG sendmsg
#define XP_SOCK_READ(s,b,l) receiveAndMakeReadSocketActive(s,b,l,0)
#define XP_SOCK_WRITE(s,b,l) send(s,b,l,0)
#define XP_SOCK_READV readv
#define XP_SOCK_WRITEV writev
#define XP_SOCK_GETPEERNAME getpeername
#define XP_SOCK_GETSOCKNAME getsockname
#define XP_SOCK_GETSOCKOPT getsockopt
#define XP_SOCK_SETSOCKOPT setsockopt
#define XP_SOCK_CLOSE closeAndRemoveSocketFromPostList
#define XP_SOCK_DUP dupsocket
#endif /*XP_OS2 with DOUGSOCK*/
#ifdef XP_MAC
/*
Remap unix sockets into GUSI
*/
#define XP_SOCKET int
#define XP_SOCK_ERRNO errno
#define XP_SOCK_SOCKET macsock_socket
#define XP_SOCK_CONNECT macsock_connect
#define XP_SOCK_ACCEPT macsock_accept
#define XP_SOCK_BIND macsock_bind
#define XP_SOCK_LISTEN macsock_listen
#define XP_SOCK_SHUTDOWN macsock_shutdown
#define XP_SOCK_IOCTL macsock_ioctl
#define XP_SOCK_RECV(s,b,l,f) XP_SOCK_READ(s,b,l)
#define XP_SOCK_SEND(s,b,l,f) XP_SOCK_WRITE(s,b,l)
#define XP_SOCK_READ macsock_read
#define XP_SOCK_WRITE macsock_write
#define XP_SOCK_GETPEERNAME macsock_getpeername
#define XP_SOCK_GETSOCKNAME macsock_getsockname
#define XP_SOCK_GETSOCKOPT macsock_getsockopt
#define XP_SOCK_SETSOCKOPT macsock_setsockopt
#define XP_SOCK_CLOSE macsock_close
#define XP_SOCK_DUP macsock_dup
#endif /* XP_MAC */
#endif /* __XP_SOCK_h_ */

View File

@@ -1,236 +0,0 @@
/* -*- 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.
*/
#ifndef XPSTRING_H
#define XPSTRING_H
#include <string.h>
#define XP_STRCASECMP strcasecomp
#define XP_STRNCASECMP strncasecomp
#define XP_STRCASESTR strcasestr
#define XP_STRNCHR strnchr
#define XP_TO_UPPER(i) xp_toupper(i)
#define XP_TO_LOWER(i) xp_tolower(i)
#ifdef XP_UNIX /* because I can't verify yet.. */
#ifdef DEBUG
XP_BEGIN_PROTOS
extern char * NOT_NULL (const char *x);
XP_END_PROTOS
#else
# define NOT_NULL(X) X
#endif
#define XP_STRLEN(s) strlen(NOT_NULL(s))
#define XP_STRCMP(a, b) strcmp(NOT_NULL(a), NOT_NULL(b))
#define XP_STRNCMP(a, b, n) strncmp(NOT_NULL(a), NOT_NULL(b), (n))
#define XP_STRCPY(d, s) strcpy(NOT_NULL(d), NOT_NULL(s))
#define XP_STRCHR strchr
#define XP_STRRCHR strrchr
#define XP_STRTOK strtok
#define XP_STRCAT strcat
#define XP_STRNCAT strncat
#define XP_STRSTR strstr
#define XP_STRTOUL strtoul
/*
XP_FILENAMECMP compares two filenames, treating case differences
appropriately for this OS.
*/
#ifdef XP_WIN
#define XP_FILENAMECMP stricmp
#else
#define XP_FILENAMECMP XP_STRCMP
#endif
#if !defined(XP_WIN) && !defined(XP_OS2)
/* strdup is not an ANSI function */
XP_BEGIN_PROTOS
extern char * strdup (const char * s);
XP_END_PROTOS
#endif
#define XP_STRDUP(s) strdup((s))
#define XP_MEMCPY(d, s, n) memcpy((d), (s), (n))
/* NOTE: XP_MEMMOVE gurantees that overlaps will be properly handled */
#if defined( __sun) && !defined(__svr4__)
#define XP_MEMMOVE(Dest,Src,Len) bcopy((Src),(Dest),(Len))
#else
#define XP_MEMMOVE(Dest,Src,Len) memmove((Dest),(Src),(Len))
#endif /* __sun */
#define XP_MEMSET memset
#define XP_SPRINTF sprintf
#define XP_SAFE_SPRINTF PR_snprintf
#define XP_MEMCMP memcmp
#define XP_VSPRINTF vsprintf
#define XP_IS_SPACE(VAL) \
(((((intn)(VAL)) & 0x7f) == ((intn)(VAL))) && isspace((intn)(VAL)) )
#define XP_IS_CNTRL(i) ((((unsigned int) (i)) > 0x7f) ? (int) 0 : iscntrl(i))
#define XP_IS_DIGIT(i) ((((unsigned int) (i)) > 0x7f) ? (int) 0 : isdigit(i))
#ifdef XP_WIN
#define XP_IS_ALPHA(VAL) (isascii((int)(VAL)) && isalpha((int)(VAL)))
#else
#define XP_IS_ALPHA(VAL) ((((unsigned int) (VAL)) > 0x7f) ? FALSE : isalpha((int)(VAL)))
#endif
#define XP_ATOI(PTR) (atoi((PTR)))
#define XP_BZERO(a,b) memset(a,0,b)
/* NOTE: XP_BCOPY gurantees that overlaps will be properly handled */
#ifdef XP_WIN16
XP_BEGIN_PROTOS
extern void WIN16_bcopy(char *, char *, unsigned long);
XP_END_PROTOS
#define XP_BCOPY(PTR_FROM, PTR_TO, LEN) \
(WIN16_bcopy((char *) (PTR_FROM), (char *)(PTR_TO), (LEN)))
#else
#define XP_BCOPY(Src,Dest,Len) XP_MEMMOVE((Dest),(Src),(Len))
#endif /* XP_WIN16 */
/*
Random stuff in a random place
*/
#if defined (XP_WIN) || defined (XP_OS2)
#define XP_RANDOM rand
#define XP_SRANDOM(seed) srand((seed))
#endif
#ifdef XP_MAC
#define XP_RANDOM rand
#define XP_SRANDOM(seed) srand((seed))
#endif
#ifdef XP_UNIX
#if !defined(XP_RANDOM) || !defined(XP_SRANDOM) /* defined in both xp_mcom.h and xp_str.h */
#if defined(UNIXWARE) || defined(_INCLUDE_HPUX_SOURCE) || (defined(__sun) && defined(__svr4__)) || defined(SNI) || defined(NCR)
#define XP_RANDOM rand
#define XP_SRANDOM(seed) srand((seed))
#else
#define XP_RANDOM random
#define XP_SRANDOM(seed) srandom((seed))
#endif
#endif
#endif
#endif /* XP_UNIX -- ifdef'd because I can't yet verify */
XP_BEGIN_PROTOS
/*
** Some basic string things
*/
/*
** Concatenate s1 to s2. If s1 is NULL then a copy of s2 is
** returned. Otherwise, s1 is realloc'd and s2 is concatenated, with the
** new value of s1 being returned.
*/
extern char *XP_AppendStr(char *s1, const char *s2);
/*
** Concatenate a bunch of strings. The variable length argument list must
** be terminated with a NULL. This result is a DS_Alloc'd string.
*/
extern char *XP_Cat(char *s1, ...);
/* Fast table driven tolower and toupper functions.
**
** Only works on first 128 ascii
*/
int xp_tolower(int c);
int xp_toupper(int c);
/*
* Case-insensitive string comparison
*/
extern int strcasecomp (const char *a, const char *b);
extern int strncasecomp (const char *a, const char *b, int n);
/* find a char within a specified length string
*/
extern char * strnchr (const char * str, const char single, int32 len);
/* find a substring within a string with a case insensitive search
*/
extern char * strcasestr (const char * str, const char * substr);
/* find a substring within a specified length string with a case
* insensitive search
*/
extern char * strncasestr (const char * str, const char * substr, int32 len);
/* thread safe version of strtok. placeHolder contains the remainder of the
string being tokenized and is used as the starting point of the next search */
/* example: (1st call) token = XP_STRTOK_R(tokenString, "<token>", &placeHolder);
(2nd call) token = XP_STRTOK_R(nil, "<token>", &placeHolder);*/
extern char * XP_STRTOK_R(char *s1, const char *s2, char **placeHolder);
/*
* Malloc'd string manipulation
*
* notice that they are dereferenced by the define!
*/
#define StrAllocCopy(dest, src) NET_SACopy (&(dest), src)
#define StrAllocCat(dest, src) NET_SACat (&(dest), src)
extern char * NET_SACopy (char **dest, const char *src);
extern char * NET_SACat (char **dest, const char *src);
/*
* Malloc'd block manipulation
*
* Lengths are necessary here :(
*
* notice that they are dereferenced by the define!
*/
#define BlockAllocCopy(dest, src, src_length) NET_BACopy((char**)&(dest), src, src_length)
#define BlockAllocCat(dest, dest_length, src, src_length) NET_BACat(&(dest), dest_length, src, src_length)
extern char * NET_BACopy (char **dest, const char *src, size_t src_length);
extern char * NET_BACat (char **dest, size_t dest_length, const char *src, size_t src_length);
extern char * XP_StripLine (char *s);
/* Match = 0, NoMatch = 1, Abort = -1 */
/* Based loosely on sections of wildmat.c by Rich Salz */
extern int xp_RegExpSearch(char *str, char *exp);
/*
* These are "safe" versions of the runtime library routines. The RTL
* versions do not null-terminate dest IFF strlen(src) >= destLength.
* These versions always null-terminate, which is why they're safe.
*/
extern char *XP_STRNCAT_SAFE (char *dest, const char *src, size_t len);
extern char *XP_STRNCPY_SAFE (char *dest, const char *src, size_t len);
XP_END_PROTOS
#endif /* XPSTRING_H */

View File

@@ -1,66 +0,0 @@
/* -*- 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.
*/
/*
xp_time.c --- parsing dates and timzones and stuff
Created: Jamie Zawinski <jwz@netscape.com>, 3-Aug-95
*/
#include "xp.h"
#include <time.h>
XP_BEGIN_PROTOS
/* Returns the number of minutes difference between the local time and GMT.
This takes into effect daylight savings time. This is the value that
should show up in outgoing mail headers, etc.
*/
extern int XP_LocalZoneOffset (void);
/* This parses a time/date string into a time_t
(seconds after "1-Jan-1970 00:00:00 GMT")
If it can't be parsed, 0 is returned.
Many formats are handled, including:
14 Apr 89 03:20:12
14 Apr 89 03:20 GMT
Fri, 17 Mar 89 4:01:33
Fri, 17 Mar 89 4:01 GMT
Mon Jan 16 16:12 PDT 1989
Mon Jan 16 16:12 +0130 1989
6 May 1992 16:41-JST (Wednesday)
22-AUG-1993 10:59:12.82
22-AUG-1993 10:59pm
22-AUG-1993 12:59am
22-AUG-1993 12:59 PM
Friday, August 04, 1995 3:54 PM
06/21/95 04:24:34 PM
20/06/95 21:07
95-06-08 19:32:48 EDT
If the input string doesn't contain a description of the timezone,
we consult the `default_to_gmt' to decide whether the string should
be interpreted relative to the local time zone (FALSE) or GMT (TRUE).
The correct value for this argument depends on what standard specified
the time string which you are parsing.
*/
extern time_t XP_ParseTimeString (const char *string, XP_Bool default_to_gmt);
XP_END_PROTOS

View File

@@ -1,70 +0,0 @@
/* -*- 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.
*/
#ifndef _XP_Trace_
#define _XP_Trace_
#include <stdarg.h>
#ifdef __cplusplus
#if defined(_WINDOWS) && !defined(DEBUG)
inline void FE_Trace( const char *msg ) {} /* implemented by the platform */
inline void XP_Trace( const char *format, ... ) {}
inline void XP_Trace1( const char *format, ... ) {} /* XP_Trace without the newline */
inline void XP_TraceV( const char *msg, va_list args ) {} /* varargs XP_Trace without the newline */
#else
extern "C" void FE_Trace( const char * ); /* implemented by the platform */
extern "C" void XP_Trace( const char *, ... );
extern "C" void XP_Trace1( const char *, ... ); /* XP_Trace without the newline */
extern "C" void XP_TraceV( const char *msg, va_list args ); /* varargs XP_Trace without the newline */
#if defined(XP_MAC)
extern "C" void XP_TraceInit(void);
#endif /* XP_MAC */
#endif /* _WINDOWS && !DEBUG */
#else
void FE_Trace( const char * ); /* implemented by the platform */
void XP_Trace( const char *, ... );
void XP_Trace1( const char *, ... ); /* XP_Trace without the newline */
void XP_TraceV( const char *msg, va_list args ); /* varargs XP_Trace without the newline */
#if defined(XP_MAC)
extern void XP_TraceInit(void);
#endif
#endif /* __cplusplus */
#ifdef DEBUG
#define XP_TRACE(MESSAGE) XP_Trace MESSAGE
#define XP_TRACE1(MESSAGE) XP_Trace1 MESSAGE
#define XP_LTRACE(FLAG,LEVEL,MESSAGE) \
do { if (FLAG >= (LEVEL)) XP_Trace MESSAGE; } while (0)
#else
#define XP_TRACE(MESSAGE) ((void) (MESSAGE))
#define XP_TRACE1(MESSAGE) ((void) (MESSAGE))
#define XP_LTRACE(FLAG,LEVEL,MESSAGE) ((void) (MESSAGE))
#endif
#endif /* _XP_Trace_ */

View File

@@ -1,184 +0,0 @@
/* -*- Mode: C; tab-width: 8; 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.
*/
#ifndef _XP_Assert_
#define _XP_Assert_
#include "xp_trace.h"
/*include <stdlib.h>*/
/*-----------------------------------------------------------------------------
abort
For debug builds...
XP_ABORT(X), unlike abort(), takes a text string argument. It will print
it out and then call abort (to drop you into your debugger).
For release builds...
XP_ABORT will call abort(). Whether you #define NDEBUG or not is up
to you.
-----------------------------------------------------------------------------*/
#define XP_ABORT(MESSAGE) (XP_TRACE(MESSAGE),abort())
/*-----------------------------------------------------------------------------
XP_ASSERT is just like "assert" but calls XP_ABORT if it fails the test.
I need this (on a Mac) because "assert" and "abort" are braindead,
whereas my XP_Abort function will invoke the debugger. It could
possibly have been easier to just #define assert to be something decent.
-----------------------------------------------------------------------------*/
#if defined (XP_UNIX)
#if !defined(NO_UNIX_SKIP_ASSERTS)
/* Turning UNIX_SKIP_ASSERTS on by default. */
/* (Solaris 2.x) on Sol2.5, assert() does not work. Too bad... */
/* Therefore, we print the line where assert happened instead. */
/* Print out a \007 to sound the bell. -mcafee */
#define XP_AssertAtLine() fprintf(stderr, "assert: line %d, file %s%c\n", __LINE__, __FILE__, 7)
#ifdef DEBUG
#define XP_ASSERT(X) ( (((X))!=0)? (void)0: (void)XP_AssertAtLine() )
#else
#define XP_ASSERT(X) (void)0
#endif
#else
#include <assert.h>
#define XP_ASSERT(X) assert(X) /* are we having fun yet? */
#endif
#elif defined (XP_WIN)
#ifdef DEBUG
/* LTNOTE: I got tired of seeing all asserts at FEGUI.CPP. This should
* Fix the problem. I intentionally left out Win16 because strings are stuffed
* into the datasegment we probably couldn't build.
*/
#ifdef WIN32
XP_BEGIN_PROTOS
extern void XP_AssertAtLine( char *pFileName, int iLine );
XP_END_PROTOS
#define XP_ASSERT(X) ( ((X)!=0)? (void)0: XP_AssertAtLine(__FILE__,__LINE__))
#else /* win16 */
#define XP_ASSERT(X) ( ((X)!=0)? (void)0: XP_Assert((X) != 0) )
XP_BEGIN_PROTOS
void XP_Assert(int);
XP_END_PROTOS
#endif
#else
#define XP_ASSERT(X) ((void) 0)
#endif
#elif defined (XP_OS2)
#ifdef DEBUG
#include <assert.h>
#define XP_ASSERT(X) assert(X) /* IBM-DAK same as UNIX */
#else
#define XP_ASSERT(X)
#endif
#elif defined(XP_MAC)
#ifdef DEBUG
#ifdef __cplusplus
#ifdef __MWERKS__
/*
** See the comment above: XP_ASSERT is supposed to abort!
** The MacFE_Signal is actually not in the spirit of the creator of XP_Assert.
** Also, the previous version was annoying (always seen in uapp.cp)
** The Metrowerks Assert_ macro is much more helpful...
*/
#include <UException.h>
#define XP_ASSERT(X) Assert_(X)
#else
extern "C" void debugstr(const char* s);
#endif
#else
extern void debugstr(const char* s);
#endif
#ifndef XP_ASSERT
/* The following is wrong... because it will cause
the use of an XP_ASSERT within an if ... else ...
construct to match incorrectly with the "last prior if" :-/
XXX
*/
#define XP_ASSERT(X) if (!(X)) debugstr(#X)
#endif
#else
#define XP_ASSERT(X)
#endif
#endif /* XP_MAC */
/*-----------------------------------------------------------------------------
assert variants
XP_WARN_ASSERT if defined to nothing for release builds. This means
that instead of
#ifdef DEBUG
assert (X);
#endif
you can just do
XP_WARN_ASSERT(X);
Of course when asserts fail that means something is going wrong and you
*should* have normal code to deal with that.
I frequently found myself writing code like this:
#ifdef DEBUG
assert (aPtr);
#endif
if (!aPtr)
return error_something_has_gone_wrong;
so I just combined them into a macro that can be used like this:
if (XP_FAIL_ASSERT(aPtr))
return; // or whatever else you do when things go wrong
What this means is it will return if X *fails* the test. Essentially
the XP_FAIL_ASSERT bit replaces the "!" in the if test.
XP_OK_ASSERT is the opposite. If if you want to do something only if
something is OK, then use it. For example:
if (XP_OK_ASSERT(aPtr))
aPtr->aField = 25;
Use this if you are 99% sure that aPtr will be valid. If it ever is not,
you'll drop into the debugger. For release builds, it turns into an
if statement, so it's completely safe to execute.
You can also do XP_VERIFY, which essentially will throw an assert if a
condition fails in debug mode, but just do whatever at runtime. For
example:
XP_VERIFY(PR_LoadLibrary("foo") == 0);
This will trigger an XP_ASSERT if the condition fails during debug, bug
just run the PR_LoadLibrary in release. Kind of the same as XP_WARN_ASSERT,
but the "verbiage" is a bit clearer (to me, anyway).
-----------------------------------------------------------------------------*/
#ifdef DEBUG
# define XP_WARN_ASSERT(X) ( ((X)!=0)? (void)0: XP_ABORT((#X)) )
# define XP_OK_ASSERT(X) (((X)!=0)? 1: (XP_ABORT((#X)),0))
# define XP_FAIL_ASSERT(X) (((X)!=0)? 0: (XP_ABORT((#X)),1))
# define XP_VERIFY(X) ( (X)? (void)0: XP_ASSERT(0) )
#else
# define XP_WARN_ASSERT(X) (void)((X)!=0)
# define XP_OK_ASSERT(X) (((X)!=0)? 1: 0)
# define XP_FAIL_ASSERT(X) (((X)!=0)? 0: 1)
# define XP_VERIFY(X) ( (void)(X) )
#endif
#endif /* _XP_Assert_ */

View File

@@ -1,97 +0,0 @@
/* -*- 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.
*/
#ifndef _XPGETSTR_H_
#define _XPGETSTR_H_
#include "prtypes.h"
XP_BEGIN_PROTOS
/**@name Platform Independent String Resources */
/*@{*/
/**
* Get a cross platform string resource by ID.
*
* This function makes localization easier for cross platform strings.
* The cross platfrom string resources are defined in allxpstr.h.
* You should use XP_GetString when:
* <OL>
* <LI>Any human readable string that not in front-end
* <LI>With the exception of HTML strings (use XP_GetStringForHTML)
* <LI>The translator/localizer will then translate the string defined
* in allxpstr.h and show the translated version to user.
* </OL>
* The caller should make a copy of the returned string if it needs to use
* it for a while. The same memory buffer will be used to store
* another string the next time this function is called. The caller
* does not need to free the memory of the returned string.
* @param id Specifies the string resource ID
* @return Localized (translated) string
* @see XP_GetStringForHTML
* @see INTL_ResourceCharSet
*/
PUBLIC char *XP_GetString(int id);
/**
* Get a cross platform HTML string resource by ID.
*
* This function makes localization easier for cross platform strings used
* for generating HTML. The cross platfrom string resources are defined in
* allxpstr.h. You should use XP_GetStringForHTML when:
* <OL>
* <LI>Human readable string not defined in front-end
* <LI>The code generates HTML page and will go into HTML window
* <LI>Only use this when the message will be generated into HTML.
* <LI>Only use this if you can access to the winCharSetID.
* <LI>This is needed because half of the text is generated from resource
* (in resource charset) and half of the text is coming from the net
* (in winCharSetID charset). When we meet this kind of mixing charset
* condition. We use this function instead of XP_GetString().
* </OL>
*
* The code checks the current CharSetID in the resource and the
* CharSetID of the data from the net. If they are equal, it returns the
* string defined in the resource, otherwise, it will return the English
* version. So a French client can display French if the data from the
* net is in the CharSetID of French and it will use half English and half
* Japanese if the French client receives Japanese data from the net.
*
* The caller should make a copy of the returned string if it needs to use
* it for a while. The same memory buffer will be used to store
* another string the next time this function get called. The caller
* does not need to free the memory of the returned string.
*
* @param id Specifies the string resource ID
* @param winCharSetID Specifies the winCharSetID of the HTML
* @param english Specifies the English string
* @return Localized (translated) string if the winCharSetID
* matches the CharSetID of the resource. Otherwise it
* returns the English message or the English string
* @see XP_GetStringForHTML
* @see INTL_ResourceCharSet
*/
PUBLIC char *XP_GetStringForHTML(
int id,
int16 winCharSetID,
char* english
);
/*@}*/
XP_END_PROTOS
#endif

View File

@@ -1,155 +0,0 @@
/* -*- 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 <string.h>
#include <time.h>
#include "xp_core.h"
#include "ntypes.h"
#ifndef __XPLOCALE__
#define __XPLOCALE__
XP_BEGIN_PROTOS
/**@name Locale Sensitive Operations */
/*@{*/
/**
* Collate strings according to global locale.
*
* Compares two strings in the global locale.
* Returns a number less than 0 if the second string is greater,
* 0 if they are the same, and greater than 0 if the first string is
* greater, according to the sorting rules appropriate for the current
* locale.
* This routine currently does not handle multiple charsets.
* The locale is controlled by the platform through a control panel or
* the LC_TIME environment variable.
*
* @param s1 Specifies string 1, in the global locale's charset
* @param s2 Specifies string 2, in the global locale's charset
* @return 0 if s1 is equal to s2,
* less than 0 if s2 is greater,
* greater than 0 if s1 is greater
*/
PUBLIC int XP_StrColl(
const char *s1,
const char *s2
);
/**
* Constants for XP_StrfTime.
*
* <UL>
* <LI>
* XP_TIME_FORMAT - format the date/time into time format.
* <LI>
* XP_TIME_WEEKDAY_TIME_FORMAT - format the date/time into "weekday name plus
* time" format.
* <LI>
* XP_DATE_TIME_FORMAT - format the date/time into "date plus time" format.
* <LI>
* XP_LONG_DATE_TIME_FORMAT - format the date/time into "long date plus time"
* format.
* </UL>
*/
enum XP_TIME_FORMAT_TYPE {
XP_TIME_FORMAT = 0,
XP_WEEKDAY_TIME_FORMAT = 1,
XP_DATE_TIME_FORMAT = 2,
XP_LONG_DATE_TIME_FORMAT = 3
};
/**
* Format date/time string.
*
* This routine takes a context as argument and figures out what charset the
* context is in. Then it formats the specified time into a string using
* the platform's date/time formatting support. The locale is controlled by
* the platform through a control panel or the LC_TIME environment variable.
*
* @param context Specifies the context to access charset information
* @param result Returns the formatted date/time string
* @param maxsize Specifies the size of the result buffer
* @param format Specifies the desired format
* @param timeptr Specifies the date/time
* @return the size of the formatted date/time string.
* @see INTL_ctime
*/
PUBLIC size_t XP_StrfTime(
MWContext *context,
char *result,
size_t maxsize,
int format,
const struct tm *timeptr
);
/**
* Locale sensitive version of ANSI C ctime().
*
* This routine converts the specified date/time into a string using the
* platform's date/time formatting support. The returned string is similar to
* that returned by the ctime function, except that the locale is respected.
* The locale is controlled by the platform through a control panel or the
* LC_TIME environment variable.
*
* @param context Specifies the context to access charset information
* @param date Specifies the date/time
* @return the formatted date/time string in ctime style.
* @see XP_StrfTime
*/
PUBLIC const char *INTL_ctime(
MWContext *context,
time_t *date
);
/**
* The Front End function that implements XP_StrColl.
*
* Don't call this API. Use XP_StrColl instead.
*
* @see XP_StrColl
*/
MODULE_PRIVATE extern int FE_StrColl(
const char *s1,
const char *s2
);
/**
* The Front End function that implements XP_StrfTime.
*
* Don't call this API. Use XP_StrfTime instead.
*
* @see XP_StrfTime
*/
MODULE_PRIVATE extern size_t FE_StrfTime(
MWContext *context,
char *result,
size_t maxsize,
int format,
const struct tm *timeptr
);
/*@}*/
XP_END_PROTOS
#endif

View File

@@ -1,76 +0,0 @@
/* -*- 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.
*/
/* xupfonts.h - X Unicode Pseudo FONTS Header file */
#ifndef XUPFONTS_H
#define XUPFONTS_H
#define UNICODE_PSEUDO_FONT_TAG 0xabadbeef
#define UNICODE_PLACEHOLDER_WIDTH 10
typedef struct fe_UnicodePseudoFont
{
unsigned int tag;
char *family;
XFontStruct *xFonts[INTL_CHAR_SET_MAX];
char xfont_inited[INTL_CHAR_SET_MAX];
char xfont_scaled[INTL_CHAR_SET_MAX];
char* xfont_name[INTL_CHAR_SET_MAX];
char *fontFamily[INTL_CHAR_SET_MAX];
char larger_fonts_avail[INTL_CHAR_SET_MAX];
XmFontList xmfontlist;
XFontSet xfontset;
XmFontList xm_fontset;
Display *dpy;
int pitch;
int sizeNum;
int fontmask;
int faceNum;
int pixelSize;
int ascent;
int descent;
} fe_UnicodePseudoFont;
XFontStruct *fe_UnicodeGetXfont(fe_UnicodePseudoFont *ufont, uint16 encoding);
int fe_DrawUCS2String(Display *dpy, Drawable d, fe_Font font, GC gc, int x,
int y, uint16 *string, int len);
void fe_freeUnicodePseudoFont(fe_Font font);
fe_Font fe_LoadUnicodeFontByPixelSize(void *not_used, char *familyName,
int pixelSize, int fontmask, int charset, int pitch, int faceNum,
Display *dpy);
void fe_UCS2TextExtents(fe_Font font, uint16 *string, int len, int *direction,
int *fontAscent, int *fontDescent, XCharStruct *overall);
void fe_UTF8TextExtents(fe_Font font, char *string, int len, int *direction,
int *fontAscent, int *fontDescent, XCharStruct *overall);
void fe_DrawUTF8String(Display *dpy, Drawable d, fe_Font font, GC gc, int x,
int y, char *string, int len);
fe_Font XUPF_LoadDefaultFont(Display *dpy);
XmFontList XUPF_GetXmFontList(fe_Font font);
XmFontList XUPF_GetXmFontSet(fe_Font font);
XmString XUPF_UCS2ToXmString(uint16 *uniChars, int32 length,
fe_Font ufont, XmFontList *fontList);
int XUPF_JavaPointToPixelSize(Display *dpy, int pointSize);
#endif /* XUPFONTS_H */

31
mozilla/js/src/MANIFEST Normal file
View File

@@ -0,0 +1,31 @@
# This is a list of local files which get copied to the mozilla:dist directory
#
jsapi.h
jspubtd.h
jsarray.h
jsatom.h
jsbool.h
jscntxt.h
jscompat.h
jsconfig.h
jsdate.h
jsdbgapi.h
jsemit.h
jsfun.h
jsgc.h
jsinterp.h
jslock.h
jsmath.h
jsnum.h
jsobj.h
jsopcode.def
jsopcode.h
jsparse.h
jsprvtd.h
jspubtd.h
jsregexp.h
jsscan.h
jsscope.h
jsscript.h
jsstr.h

236
mozilla/js/src/Makefile Normal file
View File

@@ -0,0 +1,236 @@
#! gmake
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
DEPTH = ../..
include $(DEPTH)/config/config.mk
ifdef MOZ_OJI
DIRS = liveconnect
endif
LIBRARY_NAME = js
ifeq ($(subst /,_,$(shell uname -s)),OS2)
ifndef XCFLAGS
OS2_IMPLIB=1
LIBRARY = js$(MOZ_BITS)$(VERSION_NUMBER).$(LIB_SUFFIX)
DEF_FILE = jsos2$(VERSION_NUMBER).def
EXTRA_LIBS = $(LIBNSPR) $(LIBNSJAVA)
else
EXTRA_LIBS = $(LIBNSPR) $(LIBNSJAVA) $(OBJDIR)/libjs.lib
endif
endif
MODULE = js
CSRCS = jsapi.c \
jsarray.c \
jsatom.c \
jsbool.c \
jscntxt.c \
jsdate.c \
jsdbgapi.c \
jsemit.c \
jsfun.c \
jsgc.c \
jsinterp.c \
jsmath.c \
jsnum.c \
jsobj.c \
jsopcode.c \
jsparse.c \
jsregexp.c \
jsscan.c \
jsscope.c \
jsscript.c \
jsstr.c \
jslock.c \
jsxdrapi.c \
prmjtime.c \
$(NULL)
EXPORTS = jsapi.h \
jsarray.h \
jsatom.h \
jsbool.h \
jscntxt.h \
jscompat.h \
jsconfig.h \
jsdate.h \
jsdbgapi.h \
jsemit.h \
jsfun.h \
jsgc.h \
jsinterp.h \
jslock.h \
jsmath.h \
jsnum.h \
jsobj.h \
jsopcode.def \
jsopcode.h \
jsparse.h \
jsprvtd.h \
jspubtd.h \
jsregexp.h \
jsscan.h \
jsscope.h \
jsscript.h \
jsstr.h \
jsxdrapi.h \
$(NULL)
# when using gcc the assembly is inlined in the C-file (see jslock.c)
ifdef NS_USE_NATIVE
ASFILES = $(wildcard *_$(OS_ARCH).s)
endif
JS_SAFE_ARENA = 1
ifdef JS_SAFE_ARENA
DEFINES += -DJS_USE_SAFE_ARENA
CSRCS += prarena.c
endif
include $(DEPTH)/config/rules.mk
ifndef BUILD_OPT
MOCHAFILE = 1
endif
ifdef JSFILE
DEFINES += -DJSFILE
endif
ifdef JS_THREADSAFE
DEFINES += -DJS_THREADSAFE
endif
ifdef JS_NO_THIN_LOCKS
DEFINES += -DJS_USE_ONLY_NSPR_LOCKS
endif
ifdef JS_VERSION
DEFINES += -DJS_VERSION=$(JS_VERSION)
endif
ifeq ($(CPU_ARCH),sparc)
ifndef JS_NO_ULTRA
ULTRA_OPTIONS := -xarch=v8plus,-DULTRA_SPARC
ULTRA_OPTIONSCC := -DULTRA_SPARC
else
ULTRA_OPTIONS := -xarch=v8
ULTRA_OPTIONSCC :=
endif
ifeq ($(shell uname -m),sun4u)
ASFLAGS += -Wa,$(ULTRA_OPTIONS),-P,-L,-D_ASM,-D__STDC__=0 $(ULTRA_OPTIONSCC)
else
ASFLAGS += -Wa,-xarch=v8,-P,-L,-D_ASM,-D__STDC__=0
endif
endif # sparc
INCLUDES += -I.
ifdef NSPR20
INCLUDES += -I$(DIST)/include/nspr20/pr
else
INCLUDES += -I$(XPDIST)/public/nspr
endif
ifndef NSBUILDROOT
JSJAVA_STUBHEADERS = -I$(DEPTH)/sun-java/include/_gen \
-I$(DEPTH)/sun-java/netscape/javascript/_jri \
-I$(DEPTH)/sun-java/netscape/security/_jri
else
JSJAVA_STUBHEADERS = -I$(JRI_GEN_DIR) -I$(JDK_GEN_DIR)
endif
JSJAVA_CFLAGS = -I$(DEPTH)/sun-java/md-include \
-I$(DEPTH)/sun-java/include \
$(JSJAVA_STUBHEADERS)
# LIBNSPR includes unneeded libmsgc21.a, but abstracts nspr version,
# etc. nicely.
LDFLAGS = $(LIBNSPR) -lm
ifeq ($(OS_ARCH), OSF1)
LDFLAGS += -lc_r
endif
ifeq ($(OS_ARCH), SunOS)
LDFLAGS += -lposix4 -ldl -lnsl -lsocket
endif
ifeq ($(OS_ARCH), Linux)
LDFLAGS += -ldl
endif
# this requires clobbering and recompiling with XCFLAGS=-DJSFILE
js:
$(MAKE) clobber
$(MAKE) XCFLAGS=-DJSFILE $(OBJDIR)/js$(BIN_SUFFIX)
.PHONY: js$(BIN_SUFFIX)
ifneq ($(OS_ARCH),OS2)
$(OBJDIR)/js$(BIN_SUFFIX): $(OBJDIR)/js.o $(LIBRARY)
@$(MAKE_OBJDIR)
$(CC) -o $@ $(OBJDIR)/js.o $(LIBRARY) $(LDFLAGS)
else
OS_CFLAGS += -tm-
$(OBJDIR)/js$(BIN_SUFFIX): $(OBJDIR)/js.o $(LIBRARY)
@$(MAKE_OBJDIR)
$(LINK_EXE) -OUT:$@ $(OBJDIR)/js.o $(LIBRARIES) $(EXTRA_LIBS)
endif
# hardwire dependencies on jsopcode.def
jsopcode.h jsopcode.c: jsopcode.def
# this section was put in the merged by danda into the
# JAVA_*_MERGE section and normally would have
# been removed. However it looks like it shouldn't have
# been put there in the first place, so we're leaving it
# here until danda can confirm (we don't have OS/2 machines
# to build on) - hshaw/sudu
#
ifeq ($(OS_ARCH),OS2)
$(OBJDIR)/js.o: js.c
@$(MAKE_OBJDIR)
$(CC) -Fo$@ -c $(CFLAGS) $(JSJAVA_CFLAGS) js.c
endif
refdiff:
@for f in `cat commfiles`; do \
t=/tmp/refdiff.$$$$; \
trap 'rm -f $$t' 0 1 2 15; \
sed -f prconv.sed ../ref/$$f > $$t; \
cmp -s $$t $$f; \
if test $$? -ne 0; then \
echo "=== $$f"; \
diff $$f $$t; \
fi; \
rm -f $$t; \
done
refconv:
@for f in `cat commfiles`; do \
echo "=== $$f"; \
sed -f prconv.sed ../ref/$$f > $$f; \
done
.PHONY: refdiff refconv

241
mozilla/js/src/Makefile.in Normal file
View File

@@ -0,0 +1,241 @@
#! gmake
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
DEPTH = ../..
topsrcdir = @top_srcdir@
VPATH = @srcdir@
srcdir = @srcdir@
include $(DEPTH)/config/autoconf.mk
ifdef MOZ_OJI
DIRS = liveconnect
endif
LIBRARY_NAME = js
ifeq ($(subst /,_,$(shell uname -s)),OS2)
ifndef XCFLAGS
OS2_IMPLIB=1
LIBRARY = js$(MOZ_BITS)$(VERSION_NUMBER).$(LIB_SUFFIX)
DEF_FILE = jsos2$(VERSION_NUMBER).def
EXTRA_LIBS = $(LIBNSPR) $(LIBNSJAVA)
else
EXTRA_LIBS = $(LIBNSPR) $(LIBNSJAVA) $(OBJDIR)/libjs.lib
endif
endif
MODULE = js
CSRCS = jsapi.c \
jsarray.c \
jsatom.c \
jsbool.c \
jscntxt.c \
jsdate.c \
jsdbgapi.c \
jsemit.c \
jsfun.c \
jsgc.c \
jsinterp.c \
jsmath.c \
jsnum.c \
jsobj.c \
jsopcode.c \
jsparse.c \
jsregexp.c \
jsscan.c \
jsscope.c \
jsscript.c \
jsstr.c \
jslock.c \
jsxdrapi.c \
prmjtime.c \
$(NULL)
EXPORTS = jsapi.h \
jsarray.h \
jsatom.h \
jsbool.h \
jscntxt.h \
jscompat.h \
jsconfig.h \
jsdate.h \
jsdbgapi.h \
jsemit.h \
jsfun.h \
jsgc.h \
jsinterp.h \
jslock.h \
jsmath.h \
jsnum.h \
jsobj.h \
jsopcode.def \
jsopcode.h \
jsparse.h \
jsprvtd.h \
jspubtd.h \
jsregexp.h \
jsscan.h \
jsscope.h \
jsscript.h \
jsstr.h \
jsxdrapi.h \
$(NULL)
EXPORTS := $(addprefix $(srcdir)/, $(EXPORTS))
# when using gcc the assembly is inlined in the C-file (see jslock.c)
ifdef NS_USE_NATIVE
ASFILES = $(wildcard $(srcdir)/*_$(OS_ARCH).s)
endif
JS_SAFE_ARENA = 1
ifdef JS_SAFE_ARENA
DEFINES += -DJS_USE_SAFE_ARENA
CSRCS += prarena.c
endif
include $(topsrcdir)/config/rules.mk
ifndef BUILD_OPT
MOCHAFILE = 1
endif
ifdef JSFILE
DEFINES += -DJSFILE
endif
ifdef JS_THREADSAFE
DEFINES += -DJS_THREADSAFE
endif
ifdef JS_NO_THIN_LOCKS
DEFINES += -DJS_USE_ONLY_NSPR_LOCKS
endif
ifdef JS_VERSION
DEFINES += -DJS_VERSION=$(JS_VERSION)
endif
ifeq ($(CPU_ARCH),sparc)
ifndef JS_NO_ULTRA
ULTRA_OPTIONS := -xarch=v8plus,-DULTRA_SPARC
ULTRA_OPTIONSCC := -DULTRA_SPARC
else
ULTRA_OPTIONS := -xarch=v8
ULTRA_OPTIONSCC :=
endif
ifeq ($(shell uname -m),sun4u)
ASFLAGS += -Wa,$(ULTRA_OPTIONS),-P,-L,-D_ASM,-D__STDC__=0 $(ULTRA_OPTIONSCC)
else
ASFLAGS += -Wa,-xarch=v8,-P,-L,-D_ASM,-D__STDC__=0
endif
endif # sparc
INCLUDES += -I$(srcdir)
ifdef NSPR20
INCLUDES += -I$(DIST)/include/nspr20/pr
else
INCLUDES += -I$(XPDIST)/public/nspr
endif
ifndef NSBUILDROOT
JSJAVA_STUBHEADERS = -I$(topsrcdir)/sun-java/include/_gen \
-I$(topsrcdir)/sun-java/netscape/javascript/_jri \
-I$(topsrcdir)/sun-java/netscape/security/_jri
else
JSJAVA_STUBHEADERS = -I$(JRI_GEN_DIR) -I$(JDK_GEN_DIR)
endif
JSJAVA_CFLAGS = -I$(topsrcdir)/sun-java/md-include \
-I$(topsrcdir)/sun-java/include \
$(JSJAVA_STUBHEADERS)
# LIBNSPR includes unneeded libmsgc21.a, but abstracts nspr version,
# etc. nicely.
LDFLAGS = $(LIBNSPR) -lm
ifeq ($(OS_ARCH), OSF1)
LDFLAGS += -lc_r
endif
ifeq ($(OS_ARCH), SunOS)
LDFLAGS += -lposix4 -ldl -lnsl -lsocket
endif
ifeq ($(OS_ARCH), Linux)
LDFLAGS += -ldl
endif
# this requires clobbering and recompiling with XCFLAGS=-DJSFILE
js:
$(MAKE) clobber
$(MAKE) XCFLAGS=-DJSFILE $(OBJDIR)/js$(BIN_SUFFIX)
.PHONY: js$(BIN_SUFFIX)
ifneq ($(OS_ARCH),OS2)
$(OBJDIR)/js$(BIN_SUFFIX): $(OBJDIR)/js.o $(LIBRARY)
@$(MAKE_OBJDIR)
$(CC) -o $@ $(OBJDIR)/js.o $(LIBRARY) $(LDFLAGS)
else
OS_CFLAGS += -tm-
$(OBJDIR)/js$(BIN_SUFFIX): $(OBJDIR)/js.o $(LIBRARY)
@$(MAKE_OBJDIR)
$(LINK_EXE) -OUT:$@ $(OBJDIR)/js.o $(LIBRARIES) $(EXTRA_LIBS)
endif
# hardwire dependencies on jsopcode.def
jsopcode.h jsopcode.c: jsopcode.def
# this section was put in the merged by danda into the
# JAVA_*_MERGE section and normally would have
# been removed. However it looks like it shouldn't have
# been put there in the first place, so we're leaving it
# here until danda can confirm (we don't have OS/2 machines
# to build on) - hshaw/sudu
#
ifeq ($(OS_ARCH),OS2)
$(OBJDIR)/js.o: js.c
@$(MAKE_OBJDIR)
$(CC) -Fo$@ -c $(CFLAGS) $(JSJAVA_CFLAGS) js.c
endif
refdiff:
@for f in `cat commfiles`; do \
t=/tmp/refdiff.$$$$; \
trap 'rm -f $$t' 0 1 2 15; \
sed -f prconv.sed ../ref/$$f > $$t; \
cmp -s $$t $$f; \
if test $$? -ne 0; then \
echo "=== $$f"; \
diff $$f $$t; \
fi; \
rm -f $$t; \
done
refconv:
@for f in `cat commfiles`; do \
echo "=== $$f"; \
sed -f prconv.sed ../ref/$$f > $$f; \
done
.PHONY: refdiff refconv

316
mozilla/js/src/Makefile.ref Normal file
View File

@@ -0,0 +1,316 @@
#
# 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.
#
# JSRef GNUmake makefile.
#
# Set os+release dependent make variables
OS_ARCH := $(subst /,_,$(shell uname -s))
# Attempt to differentiate between SunOS 5.4 and x86 5.4
OS_CPUARCH := $(shell uname -m)
ifeq ($(OS_CPUARCH),i86pc)
OS_RELEASE := $(shell uname -r)_$(OS_CPUARCH)
else
ifeq ($(OS_ARCH),AIX)
OS_RELEASE := $(shell uname -v).$(shell uname -r)
else
OS_RELEASE := $(shell uname -r)
endif
endif
# Virtually all Linux versions are identical.
# Any distinctions are handled in linux.h
ifeq ($(OS_ARCH),Linux)
OS_CONFIG := Linux_All
else
ifeq ($(OS_ARCH),dgux)
OS_CONFIG := dgux
else
OS_CONFIG := $(OS_ARCH)$(OS_OBJTYPE)$(OS_RELEASE)
endif
endif
ASFLAGS =
DEFINES =
#NS_USE_NATIVE = 1
include config/$(OS_CONFIG).mk
ifdef BUILD_OPT
OPTIMIZER += -O
DEFINES += -UDEBUG -DNDEBUG -UDEBUG_$(shell whoami)
OBJDIR_TAG = _OPT
else
ifdef USE_MSVC
OPTIMIZER = -Zi
else
OPTIMIZER = -g
endif
DEFINES += -DDEBUG -DDEBUG_$(shell whoami)
OBJDIR_TAG = _DBG
endif
#DEFINES += -DJS_THREADSAFE
ifdef JS_NO_THIN_LOCKS
DEFINES += -DJS_USE_ONLY_NSPR_LOCKS
endif
# Name of the binary code directories
OBJDIR = $(OS_CONFIG)$(OBJDIR_TAG).OBJ
VPATH = $(OBJDIR)
# Automatic make dependencies file
DEPENDENCIES = $(OBJDIR)/.md
define MAKE_OBJDIR
if test ! -d $(@D); then rm -rf $(@D); mkdir $(@D); fi
endef
# Look in OBJDIR to find prcpucfg.h
INCLUDES = -I$(OBJDIR)
#
# XCFLAGS may be set in the environment or on the gmake command line
#
CFLAGS = $(OPTIMIZER) $(OS_CFLAGS) $(DEFINES) $(INCLUDES) \
-DJSFILE $(XCFLAGS)
LDFLAGS = -lm $(XLDFLAGS)
#
# Ask perl what flags it was built with, so we can build js with similar flags
# and link properly. Viva gmake.
#
ifdef PERLCONNECT
DEFINES += -DPERLCONNECT
PERLCFLAGS := $(shell perl -MExtUtils::Embed -e ccopts)
PERLLDFLAGS := $(shell perl -MExtUtils::Embed -e ldopts)
CFLAGS += $(PERLCFLAGS)
LDFLAGS += $(PERLLDFLAGS)
endif
# For purify
PURE_CFLAGS = -DXP_UNIX $(OPTIMIZER) $(PURE_OS_CFLAGS) $(DEFINES) \
$(INCLUDES) $(XCFLAGS)
#
# JS file lists
#
JS_HFILES = \
jsarray.h \
jsatom.h \
jsbool.h \
jsconfig.h \
jscntxt.h \
jsdate.h \
jsemit.h \
jsexn.h \
jsfun.h \
jsgc.h \
jsinterp.h \
jslock.h \
jsmath.h \
jsnum.h \
jsobj.h \
jsopcode.h \
jsparse.h \
jsarena.h \
jsclist.h \
jsdtoa.h \
jshash.h \
jslong.h \
jsmacos.h \
jsosdep.h \
jspcos.h \
jsprintf.h \
jstime.h \
jstypes.h \
jsprvtd.h \
jspubtd.h \
jsregexp.h \
jsscan.h \
jsscope.h \
jsscript.h \
jsstr.h \
jsxdrapi.h \
$(NULL)
API_HFILES = \
jsapi.h \
jsdbgapi.h \
$(NULL)
HFILES = $(JS_HFILES) $(API_HFILES)
JS_CFILES = \
jsapi.c \
jsarray.c \
jsatom.c \
jsbool.c \
jscntxt.c \
jsdate.c \
jsdbgapi.c \
jsemit.c \
jsexn.c \
jsfun.c \
jsgc.c \
jsinterp.c \
jslock.c \
jsmath.c \
jsnum.c \
jsobj.c \
jsopcode.c \
jsparse.c \
jsarena.c \
jsdtoa.c \
jshash.c \
jslog2.c \
jslong.c \
jsprf.c \
jsregexp.c \
jsscan.c \
jsscope.c \
jsscript.c \
jsstr.c \
jsutil.c \
jsxdrapi.c \
prmjtime.c \
$(NULL)
ifdef PERLCONNECT
JS_CFILES += jsperl.c
endif
LIB_CFILES = $(JS_CFILES)
LIB_ASFILES := $(wildcard *_$(OS_ARCH).s)
PROG_CFILES = js.c
ifdef USE_MSVC
LIB_OBJS = $(addprefix $(OBJDIR)/, $(LIB_CFILES:.c=.obj))
PROG_OBJS = $(addprefix $(OBJDIR)/, $(PROG_CFILES:.c=.obj))
else
LIB_OBJS = $(addprefix $(OBJDIR)/, $(LIB_CFILES:.c=.o))
LIB_OBJS += $(addprefix $(OBJDIR)/, $(LIB_ASFILES:.s=.o))
PROG_OBJS = $(addprefix $(OBJDIR)/, $(PROG_CFILES:.c=.o))
endif
CFILES = $(LIB_CFILES) $(PROG_CFILES)
OBJS = $(LIB_OBJS) $(PROG_OBJS)
ifdef USE_MSVC
LIBRARY = $(OBJDIR)/js32.dll
PROGRAM = $(OBJDIR)/js
else
LIBRARY = $(OBJDIR)/libjs.a
PROGRAM = $(OBJDIR)/js
endif
ifdef USE_MSVC
TARGETS = $(LIBRARY) # $(PROGRAM) not supported for MSVC yet
else
TARGETS = $(LIBRARY) $(PROGRAM)
endif
all: $(TARGETS)
clean:
rm -rf $(OBJS)
clobber:
rm -rf $(OBJS) $(TARGETS) $(DEPENDENCIES)
depend:
gcc -MM $(CFLAGS) $(JS_CFILES)
$(OBJDIR)/%: %.c
@$(MAKE_OBJDIR)
$(CC) -o $@ $(CFLAGS) $*.c $(LDFLAGS)
$(OBJDIR)/%.o: %.c
@$(MAKE_OBJDIR)
$(CC) -o $@ -c $(CFLAGS) $*.c
$(OBJDIR)/%.o: %.s
@$(MAKE_OBJDIR)
$(AS) -o $@ $(ASFLAGS) $*.s
# windows only
$(OBJDIR)/%.obj: %.c
@$(MAKE_OBJDIR)
$(CC) -Fo$(OBJDIR)/ -c $(CFLAGS) $*.c
ifeq ($(OS_ARCH),OS2)
$(LIBRARY): $(LIB_OBJS)
$(AR) $@ $? $(AR_OS2_SUFFIX)
$(RANLIB) $@
else
ifdef USE_MSVC
$(LIBRARY): $(LIB_OBJS)
link.exe $(LIB_LINK_FLAGS) /base:0x61000000 \
/out:"$@" /pdb:"$(OBJDIR)/js32.pdb" /implib:"$(OBJDIR)/js32.lib" $?
else
$(LIBRARY): $(LIB_OBJS)
$(AR) rv $@ $?
$(RANLIB) $@
endif
endif
#NSPR_LIBRARY = ../../dist/$(OBJDIR)/lib/libnspr21.so
NSPR_LIBRARY =
$(PROGRAM): $(PROG_OBJS) $(LIBRARY)
$(CC) -o $@ $(CFLAGS) $(PROG_OBJS) $(LIBRARY) $(NSPR_LIBRARY) $(LDFLAGS)
$(PROGRAM).pure: $(PROG_OBJS) $(LIBRARY)
purify $(PUREFLAGS) \
$(CC) -o $@ $(PURE_OS_CFLAGS) $(PROG_OBJS) $(LIBRARY) $(LDFLAGS)
$(HFILES) $(CFILES): $(OBJDIR)/jscpucfg.h
ifdef PREBUILT_CPUCFG
$(OBJDIR)/jscpucfg.h: jscpucfg.h
cp jscpucfg.h $(OBJDIR)
else
$(OBJDIR)/jscpucfg.h: $(OBJDIR)/jscpucfg
rm -f $@
$(OBJDIR)/jscpucfg > $@
$(OBJDIR)/jscpucfg: $(OBJDIR)/jscpucfg.o
$(CC) -o $@ $(OBJDIR)/jscpucfg.o
endif
#
# Hardwire dependencies on jsopcode.tbl
#
jsopcode.h jsopcode.c: jsopcode.tbl
-include $(DEPENDENCIES)
TARNAME = jsref.tar
TARFILES = files `cat files`
tar:
tar cvf $(TARNAME) $(TARFILES)
gzip $(TARNAME)
SUFFIXES: .i
%.i: %.c
$(CC) -C -E $(CFLAGS) $< > $*.i

17
mozilla/js/src/README Normal file
View File

@@ -0,0 +1,17 @@
The js/ref directory contains standalone ANSI-C source for the Netscape
JavaScript Reference implementation, JSRef, which was licensed to over 180
companies as part of Netscape ONE, starting in fall 1996. Now, JSRef is
available under NPL from http://www.mozilla.org.
The js/src directory contains source files listed in the file "commfiles",
that are derived via prconv.sed from counterparts in the js/ref directory.
It also contains files such as jscompat.h that are not needed in js/ref.
The Makefile in js/src has refconv and refdiff targets to help keep js/ref
and js/src in synch.
If you think you need to change a file listed in commfiles here, please
make the change in js/ref first and then use prconv.sed or gmake refconv to
get it into js/src. If you have trouble, please let us know by mailing the
JS owner and peers listed in http://www.mozilla.org/owners.html#JavaScript.
Brendan Eich (brendan@mozilla.org), 15-May-98

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