Compare commits

..

6850 Commits

Author SHA1 Message Date
fur%netscape.com
1c43d4984f This is a copy of regalloc_code2_BRANCH from Netscape's private repository,
as it existed in January of 1998.


git-svn-id: svn://10.0.0.236/branches/regalloc_code2_BRANCH@22571 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 16:12:08 +00:00
(no author)
cfe021ff88 This commit was manufactured by cvs2svn to create branch
'regalloc_code2_BRANCH'.

git-svn-id: svn://10.0.0.236/branches/regalloc_code2_BRANCH@22567 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 15:57:58 +00:00
fur%netscape.com
9789a62ec6 Change c-basic-offset in header to 4, instead of 2
git-svn-id: svn://10.0.0.236/trunk@22565 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 15:57:56 +00:00
brade%netscape.com
96fb4a86c6 add prototype for NS_NewRDFInMemoryDataSource to reduce Macintosh compiler warnings
git-svn-id: svn://10.0.0.236/trunk@22564 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 15:30:28 +00:00
brade%netscape.com
b77aa3b2d1 add static to reduce compiiler warnings on Macintosh
git-svn-id: svn://10.0.0.236/trunk@22563 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 15:28:46 +00:00
brade%netscape.com
8a821da6c1 add dtd; cleanup
git-svn-id: svn://10.0.0.236/trunk@22562 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 15:26:37 +00:00
brade%netscape.com
e6fbc4c382 add dtd, buttons; cleanup
git-svn-id: svn://10.0.0.236/trunk@22561 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 15:23:57 +00:00
brade%netscape.com
2829351851 add dtd, cleanup
git-svn-id: svn://10.0.0.236/trunk@22560 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 15:23:28 +00:00
brade%netscape.com
b61777731a add dtd
git-svn-id: svn://10.0.0.236/trunk@22559 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 15:20:35 +00:00
brade%netscape.com
3dd995e0ea add dtd, convert to entities, cleanup
git-svn-id: svn://10.0.0.236/trunk@22558 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 15:20:16 +00:00
brade%netscape.com
932a848fb0 add dtd; cleanup
git-svn-id: svn://10.0.0.236/trunk@22557 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 15:19:23 +00:00
brade%netscape.com
79a7510984 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@22556 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 15:18:54 +00:00
brade%netscape.com
dc6b22194c add static to LegendHack() to reduce compiler warnings on Macintosh
git-svn-id: svn://10.0.0.236/trunk@22555 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 15:17:35 +00:00
brade%netscape.com
aeb3fcb6d7 add static to reduce compiler warnings on Macintosh
git-svn-id: svn://10.0.0.236/trunk@22554 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 15:17:14 +00:00
brade%netscape.com
90c1429745 reduce Macintosh compiler warnings by making function static
git-svn-id: svn://10.0.0.236/trunk@22553 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 15:15:46 +00:00
brade%netscape.com
de15c96e7b add "static" to reduce compiler warnings on Macintosh
git-svn-id: svn://10.0.0.236/trunk@22552 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 15:13:29 +00:00
cls%seawood.org
043cab15f3 Fixed problem with ondblclick being released w/o being allocated. Appeared to be a copy-n-paste oversight.
git-svn-id: svn://10.0.0.236/trunk@22551 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 10:20:52 +00:00
jband%netscape.com
e8d76f613d added some XPConnect dirs to the list
git-svn-id: svn://10.0.0.236/trunk@22547 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 08:19:10 +00:00
jband%netscape.com
9da670ea9b makefile fixups to get xptinfo working on Win32. Added xptinfo.h for public dll declarations
git-svn-id: svn://10.0.0.236/trunk@22545 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 07:59:53 +00:00
jband%netscape.com
3a268a8dc6 fixed some makefile flags
git-svn-id: svn://10.0.0.236/trunk@22544 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 07:55:42 +00:00
buster%netscape.com
19e607046b implemented GetTextProperty -- only works for bold and italic now,
trivial to add more properties
finished first cut at SetTextProperty.  This triggers lots of crashes in
range/selection code where we're holding onto a stale frame pointer (at
least, that's my best guess.)
synched with Charlie's change-o-rama
added an assert in DeleteTextTxn::Init() checking aNumCharsToDelete vs.
0
  NS_ASSERTION(0!=aNumCharsToDelete, "bad arg, numCharsToDelete");
if the number of chars to delete is 0, we shouldn't be creating a
transaction at all.  I had never seen this condition arise before
Charlie's checkin, I don't know if he introduced it or if it was a
latent bug I just never tripped over before.


git-svn-id: svn://10.0.0.236/trunk@22543 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 07:52:41 +00:00
mcafee%netscape.com
11b75bfd7c cdefs.h and mcom_db.h also exist in mozilla/include, merging some changes over to these versions in anticipation of retiring the mozilla/include versions of these files.
git-svn-id: svn://10.0.0.236/trunk@22542 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 07:47:29 +00:00
waterson%netscape.com
e4c96b1a9c Added code to spy on the xul:open attribute; we now force content construction when a node is opened and release the children when it is closed.
git-svn-id: svn://10.0.0.236/trunk@22541 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 07:34:32 +00:00
waterson%netscape.com
2ea932b826 Create cell children _before_ adding the tree row to the tree. Removed unnecessary calls to FindTreeElement() where just using mRoot would do.
git-svn-id: svn://10.0.0.236/trunk@22540 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 07:33:45 +00:00
cmanske%netscape.com
746fe83415 Fixed mismatched declarations/implementations
git-svn-id: svn://10.0.0.236/trunk@22539 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 07:13:45 +00:00
mccabe%netscape.com
ddf198d345 Not yet part of Seamonkey.
Changed from using malloc to (much less, but still slightly) hacked
nsIAllocator service.


git-svn-id: svn://10.0.0.236/trunk@22538 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 05:38:27 +00:00
cmanske%netscape.com
eafa393b89 added files: mozilla/editor/base/InsertTableTxn.cpp, mozilla/editor/base/InsertTableCellTxn.cpp, mozilla/editor/base/InsertTableColumnTxn.cpp, mozilla/editor/base/InsertTableRowTxn.cpp, mozilla/editor/base/DeleteTableTxn.cpp, mozilla/editor/base/DeleteTableCellTxn.cpp, mozilla/editor/base/DeleteTableColumnTxn.cpp, mozilla/editor/base/DeleteTableRowTxn.cpp, mozilla/editor/base/JoinTableCellsTxn.cpp, mozilla/editor/base/nsHTMLEditor.cpp, mozilla/editor/base/EditTable.cpp, mozilla/editor/base/nsHTMLEditFactory.cpp
git-svn-id: svn://10.0.0.236/trunk@22537 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 05:32:29 +00:00
cmanske%netscape.com
e91953e14c Changed editor AppCore to use nsHTMLEditor instead of nsTextEditor
git-svn-id: svn://10.0.0.236/trunk@22536 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 05:32:25 +00:00
cmanske%netscape.com
1fc7d6718f Changed viewer to use nsHTMLEditor instead of nsTextEditor
git-svn-id: svn://10.0.0.236/trunk@22535 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 05:31:41 +00:00
cmanske%netscape.com
202c5b89dc Implemented nsHTMLEditor. Changed prototypes to be use NS_IMETHOD and NS_IMETHODIMP. Started table editing transactions
git-svn-id: svn://10.0.0.236/trunk@22534 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 05:30:53 +00:00
mccabe%netscape.com
0217662ca2 Not yet part of the seamonkey build.
Moved nsInterfaceInfoManager files from the libxpt directory (where
they would have precipitated an unpleasant circular dependency between
xpidl and nsISupports.h) into a new subdirectory.

Added corresponding entries to allmakefiles.sh.

nsInterfaceInfoManager is intended to abstract the loading and
management of typelib information generated by xpidl, for use by
xpconnect.


git-svn-id: svn://10.0.0.236/trunk@22533 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 05:21:31 +00:00
evaughan%netscape.com
e361d199bf Made the image accessible from CSS via list-style-image.
git-svn-id: svn://10.0.0.236/trunk@22532 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 05:00:51 +00:00
beard%netscape.com
9f8f8bbc42 Added Release to peer's destructor, delaying release of stream until NPP_URLNotify.
git-svn-id: svn://10.0.0.236/trunk@22531 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 04:46:05 +00:00
beard%netscape.com
875193d236 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@22530 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 04:43:30 +00:00
beard%netscape.com
4fb64bc2c7 added async parameter to send().
git-svn-id: svn://10.0.0.236/trunk@22529 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 04:42:38 +00:00
beard%netscape.com
3fa226c57e implements nsIPluginStreamListener, to handle javascript: URLs.
git-svn-id: svn://10.0.0.236/trunk@22528 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 04:42:35 +00:00
beard%netscape.com
0b7b11b462 added setCodeBase().
git-svn-id: svn://10.0.0.236/trunk@22527 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 04:42:31 +00:00
beard%netscape.com
97dca30b56 added setCodeBase(), running showDocument() in Java thread.
git-svn-id: svn://10.0.0.236/trunk@22526 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 04:42:30 +00:00
beard%netscape.com
777eadcf18 turned on C++ compiler for syntax checking header files.
git-svn-id: svn://10.0.0.236/trunk@22525 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 04:42:28 +00:00
beard%netscape.com
813c2f226b Resizes correctly, took out call to codebase(), plugin now computes codebase with JavaScript.
git-svn-id: svn://10.0.0.236/trunk@22524 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 04:38:45 +00:00
sfraser%netscape.com
8eb1658e33 Fix the caret so that it draws on Windows (and UNIX, hopefully), and turn on the #define so that the caret gets created in the pres shell. It gets shown in editor mode.
git-svn-id: svn://10.0.0.236/trunk@22523 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 04:26:49 +00:00
sfraser%netscape.com
2248f68b22 Make the caret width a twips value, instead of pixels.
git-svn-id: svn://10.0.0.236/trunk@22522 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 04:25:11 +00:00
rjc%netscape.com
5d133ee642 ChildAt(0) can return NULL, so check for it!
git-svn-id: svn://10.0.0.236/trunk@22521 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 04:07:10 +00:00
rjc%netscape.com
863a2fb603 Fix array offset.
git-svn-id: svn://10.0.0.236/trunk@22520 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 04:05:10 +00:00
nisheeth%netscape.com
5b60582d89 - Changed the way the expat parser is encapsulated. Now, the expat DTD creates and destroys the expat parser and registers callbacks with the expat parser. The expat tokenizer simply gets the entire buffer contents from the scanner and passes it to ParseXMLBuffer() on the expat DTD. Earlier, the expat tokenizer was encapsulating the expat parser behind its interfaces. This change gets rid of nsIExpatTokenizer because the expat tokenizer no longer needs to expose methods for registering callbacks with the expat parser.
git-svn-id: svn://10.0.0.236/trunk@22519 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 04:02:23 +00:00
jband%netscape.com
b2603c0b11 some fixes pointed out by purify. Tests better verify that wrappers are not leaking
git-svn-id: svn://10.0.0.236/trunk@22518 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 03:32:42 +00:00
pollmann%netscape.com
2aa51a7e02 Cleanup: Use the GetPrimary Frame in nsGenericHTMLElement. Enable fetching selectedIndex before frame creation (using DefaultSelected instead of Selected) Bug #3340
git-svn-id: svn://10.0.0.236/trunk@22517 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 03:31:17 +00:00
pollmann%netscape.com
af6fe42eb6 Enable GetSelected for options inside of option groups. (Fix GetPrimaryFrame)
git-svn-id: svn://10.0.0.236/trunk@22516 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 03:26:29 +00:00
pollmann%netscape.com
95b65d4e20 Cleanup: return NS_NOINTERFACE not NS_OK if getting the primary frame fails.
git-svn-id: svn://10.0.0.236/trunk@22515 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 03:22:45 +00:00
pollmann%netscape.com
4b77b70cb2 Fix change notifications for combo boxes.
git-svn-id: svn://10.0.0.236/trunk@22514 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 03:19:25 +00:00
nisheeth%netscape.com
b045982ba5 nsParser.cpp would not compile if the EXPAT compiler define was set because I had
not included nsExpatDTD.h.  Now, nsExpatDTD.h gets included if EXPAT is set.


git-svn-id: svn://10.0.0.236/trunk@22513 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 03:03:52 +00:00
brendan%netscape.com
da11cc260c Deal with wstring in .idl files correctly, or at least better.
git-svn-id: svn://10.0.0.236/trunk@22512 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 03:01:39 +00:00
nisheeth%netscape.com
a2d8875807 We no longer call RegisterDTD() on nsParser when initiating parsing of XML
documents.


git-svn-id: svn://10.0.0.236/trunk@22511 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 02:58:25 +00:00
brendan%netscape.com
6a4bb56bf2 Use new 'W' format with JS_ConvertArguments to get PRUnichar* out.
git-svn-id: svn://10.0.0.236/trunk@22510 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 02:51:33 +00:00
brendan%netscape.com
e77361e332 - Added 'W' format to JS_ConvertArguments, for conversion to string and return
via a jschar* out parameter.
- Fused common string conversion and argv[i] GC-rooting code in JS_ConvertArgs.
- Added to cvtargs test command, which really needs to stop using a hardwired
  format string!
- Fixed char-typed fgetc-receiving variable to be of int type for correct EOF
  comparison on machines with unsigned chars.


git-svn-id: svn://10.0.0.236/trunk@22509 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 02:38:45 +00:00
mcmullen%netscape.com
340fc37aa3 Took another one for nsIRandomAccessData.
git-svn-id: svn://10.0.0.236/trunk@22508 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 02:24:46 +00:00
rjc%netscape.com
4426076367 Bug fix: Sort on all child nodes.
git-svn-id: svn://10.0.0.236/trunk@22507 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 02:17:16 +00:00
hyatt%netscape.com
f853b0251d Changing the GetAttribute and SetAttribute calls to properly use the namespace
of NONE (instead of XUL).


git-svn-id: svn://10.0.0.236/trunk@22506 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 02:04:45 +00:00
terry%netscape.com
0834acefe2 Got rid of the "bonsai-hook@warp" nonsense. Added an optional "cchookmail"
entry in the config file, to allow us to set people who always get
CC'd on mail to the hook.


git-svn-id: svn://10.0.0.236/trunk@22505 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 01:55:49 +00:00
waterson%netscape.com
9ed6ac1dab Fixed sloppiness with nsCOMPtr's that Win32 compiler didn't pick up.
git-svn-id: svn://10.0.0.236/trunk@22504 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 01:47:18 +00:00
briano%netscape.com
0363f883d4 Automated update
git-svn-id: svn://10.0.0.236/trunk@22503 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 01:45:38 +00:00
alecf%netscape.com
1640345a6b fix AIX bustage - explicitly refer to parent constructor even though it's within
the scope of this constructor..


git-svn-id: svn://10.0.0.236/trunk@22502 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 01:44:07 +00:00
waterson%netscape.com
19d034434e Modified so that resource implementation registers _self_, rather than relying on the RDF service to do it. Also, added global static reference to RDF service.
git-svn-id: svn://10.0.0.236/trunk@22501 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 01:44:01 +00:00
ftang%netscape.com
b6b33c230f check in prototype code for orderid formater
git-svn-id: svn://10.0.0.236/trunk@22500 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 01:43:00 +00:00
alecf%netscape.com
2a1e455f1f fix linux -pedantic build - compiler confused by too much casting
git-svn-id: svn://10.0.0.236/trunk@22499 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 01:41:45 +00:00
alecf%netscape.com
dc213e6802 fix AIX bustage - compiler confused by too much casting
git-svn-id: svn://10.0.0.236/trunk@22498 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 01:40:52 +00:00
waterson%netscape.com
92c5a832b4 Whoops. Fixed a misnamed header file that Unix case-sensitiveness busts on.
git-svn-id: svn://10.0.0.236/trunk@22497 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 01:40:41 +00:00
alecf%netscape.com
f1139651d9 fix const-ness problem that was plaguing AIX and Linux -pedantic
git-svn-id: svn://10.0.0.236/trunk@22496 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 01:39:23 +00:00
waterson%netscape.com
ac51e62513 General clean-up. Use RDF containers instead of multi-attributes.
git-svn-id: svn://10.0.0.236/trunk@22495 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 01:38:34 +00:00
waterson%netscape.com
08eb228c3d Added DOM observer stubs. Modified tree property lookup (now called 'containment') to look up the tree for a special tag. Modified generation code to only produce children for 'open' nodes.
git-svn-id: svn://10.0.0.236/trunk@22494 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 01:37:10 +00:00
briano%netscape.com
576290b04d Fixes for the SunOS 4 build.
git-svn-id: svn://10.0.0.236/trunk@22493 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 01:36:48 +00:00
waterson%netscape.com
77dee61cf8 Removed spurious comment.
git-svn-id: svn://10.0.0.236/trunk@22492 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 01:33:49 +00:00
slamm%netscape.com
9855b242ca -mput back the 'who' link too. So much for my byte savings. Need to find a way to test for JavaScript.
git-svn-id: svn://10.0.0.236/trunk@22491 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 01:30:24 +00:00
evaughan%netscape.com
a29ac956d2 Fixed button to respond to the list-style-image property on CSS
git-svn-id: svn://10.0.0.236/trunk@22490 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 01:25:33 +00:00
slamm%netscape.com
2fdb50250d Don't rely on 'onclick' handler and pay the price for people who might not use javascript.
git-svn-id: svn://10.0.0.236/trunk@22489 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 01:14:21 +00:00
terry%netscape.com
d2a92c7e70 Changed qa contact for NGLayout's "Layout" component to be peterson.
git-svn-id: svn://10.0.0.236/trunk@22488 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 01:07:31 +00:00
hyatt%netscape.com
7c82f53dcb Modified ContentInserted (for XUL only) to support the tree widget's
wacky frame construction code.


git-svn-id: svn://10.0.0.236/trunk@22487 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 01:07:28 +00:00
briano%netscape.com
f8260c7b52 Added support for QNX.
git-svn-id: svn://10.0.0.236/trunk@22486 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 01:05:04 +00:00
waterson%netscape.com
dd0b409fce Removed code that was #if 0-ed.
git-svn-id: svn://10.0.0.236/trunk@22485 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 01:01:52 +00:00
waterson%netscape.com
cb5103544a Got rid of PrefixMap(), which was obsoleted by Warren's changes to use the repository. Added some assertions to ease debugging. Altered GetResource() and GetDataSource() to _not_ automatically register the resource/datasource; rather, the resource/datasource's Init() method should do that. ClGot rid of PR_smptrinf() calls in favor of nsAutoString stuff.
git-svn-id: svn://10.0.0.236/trunk@22484 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 01:00:45 +00:00
waterson%netscape.com
02c6b594e8 Updated documentation on ReigsterDataSource() && RegisterResource().
git-svn-id: svn://10.0.0.236/trunk@22483 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 00:59:03 +00:00
wtc%netscape.com
48cd560372 Another update from the internal CVS repository /m/src to mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@22482 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 00:58:34 +00:00
cls%seawood.org
c7bff4d0a0 Moved optimization filtering so that OS_CFLAGS doesn't get evaluated prematurely.
git-svn-id: svn://10.0.0.236/trunk@22481 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 00:54:31 +00:00
pollmann%netscape.com
1780b536cd Allow windows text widgets to update readonly state on the fly, as gtk already does.
git-svn-id: svn://10.0.0.236/trunk@22480 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 00:48:22 +00:00
akkana%netscape.com
48e5972c0f Fix potential leak of content sink
git-svn-id: svn://10.0.0.236/trunk@22479 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 00:47:43 +00:00
slamm%netscape.com
13a1bc9b8f Reduce the number of bytes returned.
git-svn-id: svn://10.0.0.236/trunk@22478 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 00:41:31 +00:00
cyeh%netscape.com
85f0f03d2a knod of the head to sfraser, for reminding me that you need to also initialize processInfoRec with the size of the process record.
git-svn-id: svn://10.0.0.236/trunk@22477 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 00:34:49 +00:00
terry%netscape.com
0f85dc8978 Wasn't quoting the "%" correctly in people's e-mail addresses.
git-svn-id: svn://10.0.0.236/trunk@22476 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 00:06:06 +00:00
cyeh%netscape.com
51f89d1297 (really cyeh) fix crashing bug in optimized builds of viewer, but i'm really suprised that this didn't crash more often.
per Inside Macintosh: Processes: you must initialize the ProcessInfoRec with the address to a valid FSSpec and at least 32 bytes of memory if you want the name of the process. if you do not want the name of the process, pass in nil into ProcessInfoRec.processName. We were crashing because the value of PIR.processName was uninitialized, and we were copying the name of the application into random memory.


git-svn-id: svn://10.0.0.236/trunk@22475 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 00:03:30 +00:00
despotdaemon%netscape.com
58cd3e91d0 Pseudo-automatic update of changes made by dhiren@nuvomedia.com.
git-svn-id: svn://10.0.0.236/trunk@22474 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 00:01:14 +00:00
bienvenu%netscape.com
8e4e9ef6d5 add version number to msg database
git-svn-id: svn://10.0.0.236/trunk@22473 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 23:34:30 +00:00
alecf%netscape.com
c0859e41c3 make unix build the entire base directory into one .so
git-svn-id: svn://10.0.0.236/trunk@22472 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 23:23:35 +00:00
pnunn%netscape.com
b7491db3cc created. -pnunn
git-svn-id: svn://10.0.0.236/trunk@22471 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 22:40:55 +00:00
mscott%netscape.com
a58a435800 Correctly build the toolbar and menu items for the mail 3-pane. They used to be expressed in msgbar.xul but it doesn't seem to like it when they are defined that way. I also assumed that xul was the default name space and removed all "xul:" tags. Forced hard coded height and width values for each of the panes. These values are actually from a patch that Candice sent me.
git-svn-id: svn://10.0.0.236/trunk@22470 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 22:13:14 +00:00
mscott%netscape.com
d4cbf311f7 Export delmsg.gif because we don't have an icon for this yet...
git-svn-id: svn://10.0.0.236/trunk@22469 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 22:11:56 +00:00
alecf%netscape.com
7b51871d6a move old nsIMessenger interface and move into base/
git-svn-id: svn://10.0.0.236/trunk@22468 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 21:54:40 +00:00
dougt%netscape.com
dd3f8247a9 massive changes.
git-svn-id: svn://10.0.0.236/trunk@22467 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 21:35:13 +00:00
akkana%netscape.com
e39b4ff154 include the parser library too
git-svn-id: svn://10.0.0.236/trunk@22466 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 20:46:08 +00:00
leaf%mozilla.org
9e46ea97c1 Fixing the dependency on mozilla/config (yanked the include, removed the $(NMAKE)
references. Approved: sar


git-svn-id: svn://10.0.0.236/trunk@22465 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 20:16:01 +00:00
cmanske%netscape.com
e5de2ef497 Added exported header file for nsHTMLEditor
git-svn-id: svn://10.0.0.236/trunk@22464 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 19:55:43 +00:00
cmanske%netscape.com
e768f77e73 New files for nsHTMLEditor and table editing transactions (not working yet)
git-svn-id: svn://10.0.0.236/trunk@22463 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 19:54:47 +00:00
karnaze%netscape.com
3837aaafce bug 3347
git-svn-id: svn://10.0.0.236/trunk@22462 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 19:25:47 +00:00
pinkerton%netscape.com
0a518ff5d3 some hacks (and ifdefs) for macOS until NSPR gets fixed. This at least allows us to test out libReg and find bugs.
git-svn-id: svn://10.0.0.236/trunk@22461 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 19:24:27 +00:00
akkana%netscape.com
303a2467a4 Move bulk of DoCopy code from nsBrowserWindow.cpp into nsPresShell
git-svn-id: svn://10.0.0.236/trunk@22460 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 19:21:01 +00:00
mscott%netscape.com
03988b3d6a Experimenting with my first idl file. This interface will allow us to have the application (or the code that wants to run a url) to be a listener on that url. we'd like to see something like this get pushed into netlib.
git-svn-id: svn://10.0.0.236/trunk@22459 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 19:16:31 +00:00
law%netscape.com
fd87815682 Fix recursion problem
git-svn-id: svn://10.0.0.236/trunk@22458 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 19:06:27 +00:00
harishd%netscape.com
113dd31506 Enabling P tag autoclosuer at HR
git-svn-id: svn://10.0.0.236/trunk@22457 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 18:56:20 +00:00
bienvenu%netscape.com
e0ded8d07f rename mk_TraceMsg to ns_mkTraceMsg to fix link error
git-svn-id: svn://10.0.0.236/trunk@22456 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 18:38:26 +00:00
beard%netscape.com
af5f1235c4 registering GenericFactory component
git-svn-id: svn://10.0.0.236/trunk@22455 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 18:09:13 +00:00
putterman%netscape.com
c3e3b1e67e added threadPane.css
git-svn-id: svn://10.0.0.236/trunk@22454 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 18:07:22 +00:00
putterman%netscape.com
031a23772b Added threadPane.css
git-svn-id: svn://10.0.0.236/trunk@22453 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 18:06:58 +00:00
rods%netscape.com
9ae1a51751 Added method
git-svn-id: svn://10.0.0.236/trunk@22452 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 17:52:22 +00:00
pinkerton%netscape.com
d8b06455af make the hack for macos to not use libreg easier to turn on and off to make it easier to work on a fix.
git-svn-id: svn://10.0.0.236/trunk@22451 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 17:47:28 +00:00
pinkerton%netscape.com
b3427e2a63 correctly implement nsIMenuListener.
git-svn-id: svn://10.0.0.236/trunk@22450 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 17:30:14 +00:00
rods%netscape.com
5a1bf02774 Added forward decl
git-svn-id: svn://10.0.0.236/trunk@22449 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 17:08:13 +00:00
rods%netscape.com
f9ff0cab61 Added new method
git-svn-id: svn://10.0.0.236/trunk@22448 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 17:03:21 +00:00
vidur%netscape.com
a01e1fe820 Temp fix to allow SCRIPT elements in SELECT elements.
git-svn-id: svn://10.0.0.236/trunk@22447 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 17:00:51 +00:00
rods%netscape.com
d756a36bab Added arible
git-svn-id: svn://10.0.0.236/trunk@22446 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 17:00:24 +00:00
vidur%netscape.com
83118f458a Fixed MAP elements to conform to HTML 4.0. Hooked up attribute changes for MAP, AREA and ANCHOR elements. Added RECONSTRUCT_ALL as a style hint for attribute changes. Modified nsCSSFrameConstructor's ReconstructFrame to only reconstruct the document element hierarchy.
git-svn-id: svn://10.0.0.236/trunk@22445 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 16:57:35 +00:00
rods%netscape.com
b443d2b304 ifdef'ed out some menu code that does work yet.
git-svn-id: svn://10.0.0.236/trunk@22444 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 16:48:45 +00:00
rods%netscape.com
8cf03a78ef Added methods to header.
git-svn-id: svn://10.0.0.236/trunk@22443 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 16:48:19 +00:00
dcone%netscape.com
7ff8c2a247 Fixed up postscript stuff, now prints on Unix
git-svn-id: svn://10.0.0.236/trunk@22442 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 16:23:36 +00:00
rods%netscape.com
98d535f887 Added MenuDeselect to nsIMenuListener
git-svn-id: svn://10.0.0.236/trunk@22441 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 16:22:40 +00:00
rods%netscape.com
7313babfcb Change it to do a QueryInterface, is this right?
git-svn-id: svn://10.0.0.236/trunk@22440 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 15:27:55 +00:00
ramiro%netscape.com
1e7bef47df Here is patch to add font-styles to gtk-widgets. It adds styles
to widgets on creation, and uses that style to change fonts.
Thanks to Tomi Leppikangas <Tomi.Leppikangas@oulu.fi>


git-svn-id: svn://10.0.0.236/trunk@22439 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 13:30:54 +00:00
ramiro%netscape.com
164e781dbc Do the exception thing only if HAVE_CPP_EXCEPTIONS is defined.
git-svn-id: svn://10.0.0.236/trunk@22438 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 12:54:16 +00:00
ramiro%netscape.com
511fa6c14c gcc 2.7.x portability fixes.
git-svn-id: svn://10.0.0.236/trunk@22437 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 12:25:24 +00:00
briano%netscape.com
d5e75c7d94 Automated update
git-svn-id: svn://10.0.0.236/trunk@22436 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 12:15:39 +00:00
ramiro%netscape.com
3dd33ad63b Add test for exceptions. Exceptions are illegal, but somebody (whose name
I dont want to say, but it rhymes with "fcc") is using them in a test program.


git-svn-id: svn://10.0.0.236/trunk@22435 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 12:01:32 +00:00
edwin%woudt.nl
9d515e0513 Patches from Thomas Down <thomas.down@tri.ox.ac.uk> to get some working attachments. Also added the X-Mailer header.
git-svn-id: svn://10.0.0.236/trunk@22434 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 11:05:10 +00:00
mcafee%netscape.com
d98dcab829 Backing out my last change, breaks Win32 & Mac.
git-svn-id: svn://10.0.0.236/trunk@22433 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 10:57:20 +00:00
mcafee%netscape.com
72cb40d845 Adding do_QueryInterface() wrapper for nsCOMPtr/Solaris.
git-svn-id: svn://10.0.0.236/trunk@22432 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 10:32:14 +00:00
mcafee%netscape.com
4780230a1d Adding comparisons to autoconf results.
git-svn-id: svn://10.0.0.236/trunk@22431 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 10:13:18 +00:00
mcafee%netscape.com
5592159ebd Adding ED_Redo.gif
git-svn-id: svn://10.0.0.236/trunk@22430 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 08:33:32 +00:00
jfrancis%netscape.com
9239ed95dd made iterators bidirectional; lots of bug fixes; finished subtree iterator impl.
git-svn-id: svn://10.0.0.236/trunk@22429 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 08:17:18 +00:00
grail%cafebabe.org
4736f6084f Fixed a few constant references to their values.
git-svn-id: svn://10.0.0.236/trunk@22428 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 07:12:55 +00:00
buster%netscape.com
c661625f46 fixed IsNested to account for outer table frame
removed obsolete debug code


git-svn-id: svn://10.0.0.236/trunk@22427 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 06:40:24 +00:00
ramiro%netscape.com
026fef7a70 AIX portability fixes. (Waqar Malik <waqar@netscape.com>)
git-svn-id: svn://10.0.0.236/trunk@22426 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 06:29:14 +00:00
briano%netscape.com
67096e4b06 Automated update
git-svn-id: svn://10.0.0.236/trunk@22425 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 06:15:39 +00:00
ramiro%netscape.com
fe443b1dbc AIX portability fixes. (Waqar Malik <waqar@netscape.com>)
git-svn-id: svn://10.0.0.236/trunk@22424 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 06:10:54 +00:00
waterson%netscape.com
a3003dd0a7 Don't automatically register every data source; instead, the data source can register itself during Init().
git-svn-id: svn://10.0.0.236/trunk@22423 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 05:55:18 +00:00
grail%cafebabe.org
74b2238e29 Fixed my own lameness.
git-svn-id: svn://10.0.0.236/trunk@22422 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 05:28:18 +00:00
grail%cafebabe.org
9a4012c5b8 Last commit broke local storage viewing. Local store never quite "connect"
so ViewedStoreBase now checks isLocal() if isConnected() fails. Assumption
is that you're always connected if it's a local berkeley store.


git-svn-id: svn://10.0.0.236/trunk@22421 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 05:20:27 +00:00
cls%seawood.org
7bc46690b0 Moved previous filter-out section after DSO_CFLAGS is set.
git-svn-id: svn://10.0.0.236/trunk@22420 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 03:14:23 +00:00
briano%netscape.com
79123cdd98 Automated update
git-svn-id: svn://10.0.0.236/trunk@22419 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 02:00:39 +00:00
cls%seawood.org
5b16286cc0 Removed OPTIMIZE_CFLAGS. If CFLAGS isn't set in the enviornment, set it to -O. If MOZ_DEBUG is set, filter-out the optimization options in autoconf.mk.
git-svn-id: svn://10.0.0.236/trunk@22418 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 01:54:00 +00:00
grail%cafebabe.org
3b2c55c209 Fixed situation where UI thread gets wedged when a dialog of any sort
is popped up. A new bug is created where after you authenticate, you
have to deselect, and reselect the item for it to show. It's a
temporary fix.


git-svn-id: svn://10.0.0.236/trunk@22417 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 01:04:19 +00:00
edwin%woudt.nl
38897658fa Remove this ugly registration. This is the way to do it right!
git-svn-id: svn://10.0.0.236/trunk@22416 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 00:33:01 +00:00
wtc%netscape.com
46f41b71a8 New test file vercheck.c.
git-svn-id: svn://10.0.0.236/trunk@22415 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 00:23:34 +00:00
grail%cafebabe.org
2aec37a819 XML Tech Release API changes, take 2.
git-svn-id: svn://10.0.0.236/trunk@22414 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 00:09:16 +00:00
grail%cafebabe.org
fb21fe920d Changes to fit with API differences in XML Technology Release.
git-svn-id: svn://10.0.0.236/trunk@22413 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 23:53:40 +00:00
fur%netscape.com
9190e73493 Use a Quiet NaN, not a Signalling NaN
git-svn-id: svn://10.0.0.236/trunk@22412 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 23:01:29 +00:00
beard%netscape.com
83439792ed First Checked In.
git-svn-id: svn://10.0.0.236/trunk@22411 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 22:15:48 +00:00
beard%netscape.com
b4f129401a added IID() accessor.
git-svn-id: svn://10.0.0.236/trunk@22410 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 22:14:30 +00:00
beard%netscape.com
232c2ffdce Added NS_PLUGIN_CID, and IID() accessor.
git-svn-id: svn://10.0.0.236/trunk@22409 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 22:12:50 +00:00
beard%netscape.com
2b5bea4428 CPluginManager now implements nsIServiceManager and nsIAllocator interfaces, for better Gecko compatibility.
git-svn-id: svn://10.0.0.236/trunk@22408 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 22:10:26 +00:00
beard%netscape.com
7f108b671e updated NSGetFactory signature.
git-svn-id: svn://10.0.0.236/trunk@22407 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 22:08:26 +00:00
bienvenu%netscape.com
5223ba1452 use registerComponent instead of registerfactory to fix build bustage
git-svn-id: svn://10.0.0.236/trunk@22406 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 22:03:19 +00:00
bienvenu%netscape.com
9fe16eb6c4 set recipients and cc list as an array of addresses
git-svn-id: svn://10.0.0.236/trunk@22405 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 22:02:20 +00:00
bienvenu%netscape.com
af30301e84 add ability to import msf files
git-svn-id: svn://10.0.0.236/trunk@22404 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 22:00:50 +00:00
beard%netscape.com
2e0ae08fae SetDestructor
git-svn-id: svn://10.0.0.236/trunk@22403 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 19:04:47 +00:00
toshok%hungry.com
6cc33f9350 implement sm_InitPages/sm_FiniPages for unix. someone with more of an eye for this sort of code should tell me if what i've done here makes sense. it seems to make the tests go....
git-svn-id: svn://10.0.0.236/trunk@22402 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 15:20:34 +00:00
toshok%hungry.com
af29355e8a include config.mk before rules.mk
git-svn-id: svn://10.0.0.236/trunk@22401 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 15:17:15 +00:00
toshok%hungry.com
b23e6b922a convert C++ to C comment
git-svn-id: svn://10.0.0.236/trunk@22400 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 14:03:43 +00:00
toshok%hungry.com
de9ca81516 convert C++ to C comment
git-svn-id: svn://10.0.0.236/trunk@22399 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 14:03:21 +00:00
toshok%hungry.com
9213603d11 include config.mk before rules.mk so that we pick up the definition for NSINSTALL.
git-svn-id: svn://10.0.0.236/trunk@22398 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 13:51:07 +00:00
toshok%hungry.com
bb4b081b1b quiet gmake
git-svn-id: svn://10.0.0.236/trunk@22397 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 13:44:06 +00:00
saari%netscape.com
dc6c858162 make LoadMenus() less nsWebShellWindow specific
git-svn-id: svn://10.0.0.236/trunk@22396 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 11:14:34 +00:00
leaf%mozilla.org
827abf76bc fixed smoketest to invoke grendel with 'java grendel.Main' and also
exit the child process after running the binary (can't write to the same
logfile twice, now can we?)


git-svn-id: svn://10.0.0.236/trunk@22395 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 08:46:34 +00:00
leaf%mozilla.org
14b924f8e0 moving the client build into client.mak and toplevel makefile.win
leaving nglayout.mak for cleanup by anyone who wants to do it.


git-svn-id: svn://10.0.0.236/trunk@22394 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 07:51:10 +00:00
leaf%mozilla.org
ccf6efce70 readding makefile.win to SeaMonkeyCore (yeah, i know, we should have
SeaMonkeyWin/Unix/Mac ... cycles, anyone?)


git-svn-id: svn://10.0.0.236/trunk@22393 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 07:36:52 +00:00
grail%cafebabe.org
59d44590bd Labels and such for signature file in preference dialog UI.
git-svn-id: svn://10.0.0.236/trunk@22392 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 05:09:58 +00:00
jband%netscape.com
d52ad49e78 catch JS exceptions when calling a wrapped JSObject and reflect as an nsresult error code to the calling xpcom object - with test
git-svn-id: svn://10.0.0.236/trunk@22391 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 04:57:13 +00:00
grail%cafebabe.org
7adb2960f6 Added signature file selection.
git-svn-id: svn://10.0.0.236/trunk@22390 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 04:53:24 +00:00
despotdaemon%netscape.com
1818e38ea9 Pseudo-automatic update of changes made by wtc@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@22389 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 04:45:22 +00:00
jband%netscape.com
5ef8989937 using JS exception thrower (with tests)
git-svn-id: svn://10.0.0.236/trunk@22388 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 04:16:20 +00:00
mcmullen%netscape.com
9436817838 Fix Windows build errors
git-svn-id: svn://10.0.0.236/trunk@22387 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 02:51:53 +00:00
mcmullen%netscape.com
0a2a335945 Fix unix build errors
git-svn-id: svn://10.0.0.236/trunk@22386 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 02:17:55 +00:00
mcmullen%netscape.com
b2cfd19d76 Fix const problem.
git-svn-id: svn://10.0.0.236/trunk@22385 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 01:55:23 +00:00
jband%netscape.com
fba67216e8 adding code to throw exceptions into JS with customizable messages
git-svn-id: svn://10.0.0.236/trunk@22384 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 01:41:20 +00:00
mcmullen%netscape.com
9e4dad31a3 Fix seek again so it resets eof. Allow ns*FileStream stack-based classes to be closed explicitly. Fix refcounting. Remove "close on destroy" kludge.
git-svn-id: svn://10.0.0.236/trunk@22383 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 01:36:48 +00:00
mcmullen%netscape.com
612f1b91bb Make the FilesTest project build again.
git-svn-id: svn://10.0.0.236/trunk@22382 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 01:30:41 +00:00
fur%netscape.com
c7088fcd96 Changed many cpp conditionals that used ifdef LINUX or FREEBSD,
but which guarded gcc-specific code, not OS-specific code.  These
were changed to be ifdef __GNUC__.


git-svn-id: svn://10.0.0.236/trunk@22381 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 01:10:00 +00:00
fur%netscape.com
f72fba19b7 Reduced gratuitous file duplication between FreeBSD and Linux.
git-svn-id: svn://10.0.0.236/trunk@22380 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 00:29:39 +00:00
fur%netscape.com
4a8b00ac6d Eliminated gratuitous file duplication between FreeBSD and Linux
git-svn-id: svn://10.0.0.236/trunk@22379 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 00:28:26 +00:00
mcmullen%netscape.com
a4d010ff01 REALLY add libreg and nsRegistry to the Macintosh build.
git-svn-id: svn://10.0.0.236/trunk@22378 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 00:26:24 +00:00
mcmullen%netscape.com
1ef728f3b2 REALLY add nsRegistry and libreg to the Mac build.
git-svn-id: svn://10.0.0.236/trunk@22377 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 00:24:53 +00:00
fur%netscape.com
20e2e66622 Eliminate warning
git-svn-id: svn://10.0.0.236/trunk@22376 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 00:24:21 +00:00
fur%netscape.com
d2cc526401 Ignore generated files
git-svn-id: svn://10.0.0.236/trunk@22375 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 00:22:25 +00:00
fur%netscape.com
6d580baadb Renamed to x86Stub_gas.s
git-svn-id: svn://10.0.0.236/trunk@22374 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 00:20:52 +00:00
fur%netscape.com
00b6a4565e A bunch of grunge work to reduce the amount of OS-dependent code in
ElectricalFire sources.  The end result eliminated nearly all of the
differences between FreeBSD and Linux in the source code.  It also
increased the amount of sharing between Win32 and unix code.

+   Renamed files and classes that were inappropriately named, i.e. the
    names started with 'x86Win32', but the code was for generic x86, not
    specific to Win32.

+   Eliminated several gratuitous duplicated files, e.g. x86Linux.s and
    x86FreeBSD.s were essentially identical.

+   Shared code that had been duplicated in x86Win32_Support.cpp,
    x86Linux_Support.cpp and x86FreeBSD_Support.cpp.  Created
    x86GenStub.cpp, which contains only XP code, to replace them all.


git-svn-id: svn://10.0.0.236/trunk@22373 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 00:18:23 +00:00
despotdaemon%netscape.com
43ffe46441 Pseudo-automatic update of changes made by wtc@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@22372 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 23:50:01 +00:00
dp%netscape.com
b4b583d080 Adding nsRegistry to unix.
git-svn-id: svn://10.0.0.236/trunk@22371 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 21:49:34 +00:00
mcmullen%netscape.com
9375f1534d Call delete [] when new [] was used for allocation.
git-svn-id: svn://10.0.0.236/trunk@22370 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 20:39:07 +00:00
wtc%netscape.com
54957da9be On SUNOS4, include "md/sunos4.h" to get the macro definition of strtoul.
(contributed by Brian Ostrom <briano@netscape.com>)


git-svn-id: svn://10.0.0.236/trunk@22368 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 19:47:35 +00:00
wtc%netscape.com
692fd40e64 On SUNOS4, include "md/sunos4.h" to get the macro definition of strerror.
(contributed by Brian Ostrom <briano@netscape.com>)


git-svn-id: svn://10.0.0.236/trunk@22367 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 19:46:10 +00:00
wtc%netscape.com
07854ec1b1 Check NO_MDUPDATE. (contributed by Brian Ostrom <briano@netscape.com>)
git-svn-id: svn://10.0.0.236/trunk@22366 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 19:36:57 +00:00
karnaze%netscape.com
f1b7db0183 fixed assert when <col> is placed inside of <table>
git-svn-id: svn://10.0.0.236/trunk@22365 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 19:02:48 +00:00
mcafee%netscape.com
ae57673853 Adding expat. a=nisheeth
git-svn-id: svn://10.0.0.236/trunk@22364 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 10:40:40 +00:00
mcafee%netscape.com
0919f76f35 Ignore generated files.
git-svn-id: svn://10.0.0.236/trunk@22363 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 10:16:19 +00:00
dp%netscape.com
5c7abd2ef9 Code cleanup. Added comments. PR_LOG() cleanup. I think I will do my haircut too...
git-svn-id: svn://10.0.0.236/trunk@22362 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 09:50:19 +00:00
saari%netscape.com
b7b8376c6f First Checked In.
git-svn-id: svn://10.0.0.236/trunk@22361 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 09:44:28 +00:00
saari%netscape.com
a7a0e613b0 add mozilla/expat/xmlparse/MANIFEST to export xmlparse.h
git-svn-id: svn://10.0.0.236/trunk@22360 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 09:42:52 +00:00
mcafee%netscape.com
93a813dc24 export nsIExpatTokenizer.h, a=nisheeth
git-svn-id: svn://10.0.0.236/trunk@22359 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 09:26:27 +00:00
mcafee%netscape.com
406b124f2f Adding expat to Mozilla. a=nisheeth@netscape.com
git-svn-id: svn://10.0.0.236/trunk@22358 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 09:16:17 +00:00
mcafee%netscape.com
a3439ca560 First checkin
git-svn-id: svn://10.0.0.236/trunk@22357 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 09:12:52 +00:00
saari%netscape.com
7b2d482943 export new expat files
git-svn-id: svn://10.0.0.236/trunk@22356 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 09:11:40 +00:00
dp%netscape.com
a6760a0dec Clode cleanup. Abstracted registry access code that does ProgID into functions platformProgIDToCLSID() and platformCLSIDToProgID()
git-svn-id: svn://10.0.0.236/trunk@22355 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 08:58:11 +00:00
mcafee%netscape.com
357801b38b Don't build xmlwf yet.
git-svn-id: svn://10.0.0.236/trunk@22354 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 08:56:37 +00:00
grail%cafebabe.org
e9ec617591 Layout used to break if you switched between different layouts. It seems
to be behaving now.


git-svn-id: svn://10.0.0.236/trunk@22353 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 08:56:33 +00:00
dp%netscape.com
2d630f0db3 Changed comment to indicate that Quick Registration via the quick register data structure isn't for prime time yet.
git-svn-id: svn://10.0.0.236/trunk@22352 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 08:56:21 +00:00
nisheeth%netscape.com
f3a1187961 Fix Windows build bustage. expat.lib wasn't getting copied out to dist on
a newly pulled build.


git-svn-id: svn://10.0.0.236/trunk@22351 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 08:51:45 +00:00
mcafee%netscape.com
a6e67ce7c6 Adding expat. a=nisheeth@netscape.com
git-svn-id: svn://10.0.0.236/trunk@22350 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 08:51:03 +00:00
mcafee%netscape.com
922cde30d3 Adding nsExpatDTD.h to EXPORTS. a=nisheeth
git-svn-id: svn://10.0.0.236/trunk@22349 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 08:44:05 +00:00
peterl%netscape.com
0f5602af49 added content state change
git-svn-id: svn://10.0.0.236/trunk@22348 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 08:34:06 +00:00
saari%netscape.com
e4a8d65787 Making Mac menus work a little better again.
git-svn-id: svn://10.0.0.236/trunk@22347 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 08:30:32 +00:00
nisheeth%netscape.com
98631882f9 - Add expat to the windows build only...
- Changed nsParser such that nsExpatDTD gets added to the doubly ended queue
  of DTDs instead of nsWellFormedDTD if EXPAT is #define'd.


git-svn-id: svn://10.0.0.236/trunk@22346 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 08:04:46 +00:00
nisheeth%netscape.com
7a7332eebd Creating nsIExpatTokenizer, an interface that adds methods for setting
callbacks on the expat tokenizer, a wrapper around the expat XML parser.


git-svn-id: svn://10.0.0.236/trunk@22345 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 08:03:36 +00:00
nisheeth%netscape.com
fde3db03f4 - Add expat to the windows build only...
- Changed nsXMLDocument such that expat gets used for XML parsing if
  EXPAT is #define'd


git-svn-id: svn://10.0.0.236/trunk@22344 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 08:02:15 +00:00
nisheeth%netscape.com
ea7fabcacf Add expat to the windows build only...
git-svn-id: svn://10.0.0.236/trunk@22343 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 07:59:22 +00:00
putterman%netscape.com
10fef5a529 Pass in pointer to mServiceManager.
git-svn-id: svn://10.0.0.236/trunk@22342 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 07:27:45 +00:00
peterl%netscape.com
a15d906398 fixed active link rule support
git-svn-id: svn://10.0.0.236/trunk@22341 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 07:18:21 +00:00
peterl%netscape.com
42e0f0d865 added support for dynamic pseudo classes
added support for child & sibling selectors


git-svn-id: svn://10.0.0.236/trunk@22340 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 07:17:52 +00:00
putterman%netscape.com
fd08ec9642 ListNext returns NULL when no more messages.
git-svn-id: svn://10.0.0.236/trunk@22339 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 07:17:35 +00:00
putterman%netscape.com
1d6337aad3 Start writing GetMessages and make folder pane work again.
git-svn-id: svn://10.0.0.236/trunk@22338 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 07:16:58 +00:00
peterl%netscape.com
031f64cd45 added child & sibling selector support
git-svn-id: svn://10.0.0.236/trunk@22337 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 07:16:57 +00:00
peterl%netscape.com
9a50248463 tweaked style hint for overflow
git-svn-id: svn://10.0.0.236/trunk@22336 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 07:16:27 +00:00
peterl%netscape.com
03d4988d0b added child & sibling selectors
git-svn-id: svn://10.0.0.236/trunk@22335 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 07:15:59 +00:00
putterman%netscape.com
1b29b161a4 Works with RegisterComponent
git-svn-id: svn://10.0.0.236/trunk@22334 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 07:15:41 +00:00
peterl%netscape.com
46ee5bae96 added content state changed
git-svn-id: svn://10.0.0.236/trunk@22333 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 07:15:09 +00:00
peterl%netscape.com
99235ba41d added CSS3 pseudo classes
git-svn-id: svn://10.0.0.236/trunk@22332 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 07:14:33 +00:00
peterl%netscape.com
186b6ff87a added CSS3 UI pseudo classes
git-svn-id: svn://10.0.0.236/trunk@22331 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 07:14:13 +00:00
peterl%netscape.com
c75df5584b set document before adding attributes
git-svn-id: svn://10.0.0.236/trunk@22330 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 07:13:48 +00:00
peterl%netscape.com
172680187e switched state change notifications to use ContentStateChanged
git-svn-id: svn://10.0.0.236/trunk@22329 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 07:12:38 +00:00
fur%netscape.com
300d98c6fa Remove unused function
git-svn-id: svn://10.0.0.236/trunk@22328 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 07:12:27 +00:00
peterl%netscape.com
f1421ae8d2 added == operator to style sides
git-svn-id: svn://10.0.0.236/trunk@22327 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 07:11:57 +00:00
peterl%netscape.com
9b0f1dbc06 added CalcStyleDifference
git-svn-id: svn://10.0.0.236/trunk@22326 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 07:11:42 +00:00
putterman%netscape.com
bd2671513e Compiles with RegisterComponent
git-svn-id: svn://10.0.0.236/trunk@22325 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 07:11:28 +00:00
peterl%netscape.com
694566ce25 added content state changed
removed ua sheet from dump style


git-svn-id: svn://10.0.0.236/trunk@22324 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 07:11:04 +00:00
peterl%netscape.com
5ae2774317 added == operator for style sides
git-svn-id: svn://10.0.0.236/trunk@22323 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 07:09:40 +00:00
peterl%netscape.com
e18d387533 added style hint max
git-svn-id: svn://10.0.0.236/trunk@22322 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 07:09:23 +00:00
fur%netscape.com
fef280bf65 Patches from Amancio Hasty for FreeBSD. Until we can figure out otherwise,
use NSPR user-threads rather than pthreads.


git-svn-id: svn://10.0.0.236/trunk@22321 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 07:00:12 +00:00
grail%cafebabe.org
1062153d54 Images from chrisn to replace the existing ugly signature icon.
git-svn-id: svn://10.0.0.236/trunk@22320 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 06:47:08 +00:00
jband%netscape.com
a66a8179b4 catch
git-svn-id: svn://10.0.0.236/trunk@22319 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 06:38:24 +00:00
jband%netscape.com
d3c05dfd48 added .cvsignore files
git-svn-id: svn://10.0.0.236/trunk@22318 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 06:31:04 +00:00
jband%netscape.com
9835083454 got rid of allocator hack since the nsAllocator is now alive
git-svn-id: svn://10.0.0.236/trunk@22317 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 06:26:32 +00:00
alecf%netscape.com
d9c1423d1e fix AIX bustage - we were dereferencing the function before checking if it was NULL
git-svn-id: svn://10.0.0.236/trunk@22316 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 06:22:43 +00:00
briano%netscape.com
f94fca5d21 Automated update
git-svn-id: svn://10.0.0.236/trunk@22315 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 06:15:40 +00:00
mcafee%netscape.com
da12888a42 Add check for bool, might need this in 3rd-party code. Mozilla code should use PRBool.
git-svn-id: svn://10.0.0.236/trunk@22314 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 06:06:59 +00:00
nisheeth%netscape.com
334560b897 Enough code to get expat callbacks firing inside nsExpatDTD. Next step is
to pass on the callbacks to the XML content sink.  These files are not part
of the build system yet.


git-svn-id: svn://10.0.0.236/trunk@22313 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 06:04:02 +00:00
alecf%netscape.com
13d995b822 start using new HAVE_CPP_NEW_CASTS macro on unix
git-svn-id: svn://10.0.0.236/trunk@22312 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 05:58:25 +00:00
briano%netscape.com
b9dbb43f34 Mostly just support for SunOS 4.x
git-svn-id: svn://10.0.0.236/trunk@22311 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 04:55:44 +00:00
alecf%netscape.com
534160d16b AIX can't do static casts either
git-svn-id: svn://10.0.0.236/trunk@22310 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 04:29:44 +00:00
alecf%netscape.com
3dcbcaa251 fix HPUX bustage - nspr.h is still giving problems
git-svn-id: svn://10.0.0.236/trunk@22309 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 04:18:55 +00:00
briano%netscape.com
cec2fe742e Automated update
git-svn-id: svn://10.0.0.236/trunk@22308 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 04:15:38 +00:00
alecf%netscape.com
1bb4856df5 add new tests from scc@netscape.com
git-svn-id: svn://10.0.0.236/trunk@22307 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 04:08:24 +00:00
karnaze%netscape.com
975ac58a63 correctly set max element size on checkbox, radio. Other cleanup.
git-svn-id: svn://10.0.0.236/trunk@22306 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 03:59:19 +00:00
mscott%netscape.com
abf578071d Stop building nntptest until I fix the factory problems and come up with a progID...
git-svn-id: svn://10.0.0.236/trunk@22305 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 03:48:15 +00:00
alecf%netscape.com
f6fa0eaa90 put #ifdef's around the interface stub implementation output so that generated files can still
be part of the build system.


git-svn-id: svn://10.0.0.236/trunk@22304 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 03:34:39 +00:00
mscott%netscape.com
877afbbea8 There is no DLL in the resource directory so don't try to clobber one...
git-svn-id: svn://10.0.0.236/trunk@22303 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 03:24:00 +00:00
leaf%mozilla.org
b74eeab8e0 adding james clark's xml parser.
git-svn-id: svn://10.0.0.236/trunk@22302 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 03:19:35 +00:00
alecf%netscape.com
8dfc6228f7 add IID() method
git-svn-id: svn://10.0.0.236/trunk@22301 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 03:16:56 +00:00
alecf%netscape.com
c25d436614 implement nsMessenger class
git-svn-id: svn://10.0.0.236/trunk@22300 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 03:14:40 +00:00
mscott%netscape.com
7375193b56 Add code to define XPIDL_JS_STUBS if it is defined in the environment for alecf.
git-svn-id: svn://10.0.0.236/trunk@22299 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 03:12:38 +00:00
grail%cafebabe.org
02eb7be6cb Fixed OptionsPanel breakage. Everything is laid out all nice like.
git-svn-id: svn://10.0.0.236/trunk@22298 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 03:10:41 +00:00
mscott%netscape.com
d4a9bfe19f mailnews base requires DOM.
git-svn-id: svn://10.0.0.236/trunk@22297 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 03:09:16 +00:00
grail%cafebabe.org
5ffaf359cb Removed references to non-existence crytpo capability. This breaks
OptionsPanel for now.


git-svn-id: svn://10.0.0.236/trunk@22296 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 03:09:15 +00:00
mcafee%netscape.com
f8cf8b500f Fixing solaris bustage. a/r=akkana,simon
git-svn-id: svn://10.0.0.236/trunk@22295 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 02:55:13 +00:00
vidur%netscape.com
862dafa27c map and area attribute tests
git-svn-id: svn://10.0.0.236/trunk@22294 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 02:52:44 +00:00
saari%netscape.com
6f6025f993 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@22293 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 02:48:31 +00:00
alecf%netscape.com
28ead7db61 add Interface implementation for JS stubs in messenger
git-svn-id: svn://10.0.0.236/trunk@22292 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 02:47:53 +00:00
putterman%netscape.com
4796874851 Parses datasource string correctly.
git-svn-id: svn://10.0.0.236/trunk@22291 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 02:42:57 +00:00
alecf%netscape.com
f6b3edfc94 remove bogus headers
git-svn-id: svn://10.0.0.236/trunk@22290 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 02:42:26 +00:00
alecf%netscape.com
3724c2ae4d implement new nsIMessenger interface, and make it accessable from JavaScript
git-svn-id: svn://10.0.0.236/trunk@22289 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 02:33:21 +00:00
alecf%netscape.com
16845338f6 update to new RegisterComponent APIs
git-svn-id: svn://10.0.0.236/trunk@22288 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 02:25:02 +00:00
alecf%netscape.com
6f7747af12 update to new RegisterFactory/Component APIs
git-svn-id: svn://10.0.0.236/trunk@22287 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 02:24:29 +00:00
waterson%netscape.com
5ecec240af Change '=' to '#' to circumvent registry bustage for now.
git-svn-id: svn://10.0.0.236/trunk@22286 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 02:19:47 +00:00
slamm%netscape.com
05f05cbc5c Add status.xul
git-svn-id: svn://10.0.0.236/trunk@22285 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 02:12:47 +00:00
ebina%netscape.com
4a5bfcecf4 Reflect changes to API in nsRepository.h to the Mac.
git-svn-id: svn://10.0.0.236/trunk@22284 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 02:08:50 +00:00
ebina%netscape.com
acfa7037f5 Remove support for the old RegisterFactory API.
git-svn-id: svn://10.0.0.236/trunk@22283 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 02:06:54 +00:00
alecf%netscape.com
83f13a4b98 moving this file to base
git-svn-id: svn://10.0.0.236/trunk@22282 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 02:04:53 +00:00
ebina%netscape.com
bde6ee5483 Change RegisterFactory to the new API.
git-svn-id: svn://10.0.0.236/trunk@22281 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 02:02:32 +00:00
despotdaemon%netscape.com
56f2a19d6e Pseudo-automatic update of changes made by lindes@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@22280 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 02:00:07 +00:00
fur%netscape.com
1a261f0163 Separated x86Win32_Support.cpp into an OS-independent part x86GenStub.cpp and
x86Stub.cpp which is Win32-only.


git-svn-id: svn://10.0.0.236/trunk@22279 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 01:53:18 +00:00
sfraser%netscape.com
698034ee52 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@22278 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 01:46:07 +00:00
sfraser%netscape.com
ffd655ab4a Add Redo to the editor appshell toolbar
git-svn-id: svn://10.0.0.236/trunk@22277 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 01:46:00 +00:00
nisheeth%netscape.com
74e10ba6d1 Integrating Expat with raptor...
git-svn-id: svn://10.0.0.236/trunk@22276 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 01:41:01 +00:00
alecf%netscape.com
668fa3d44c nspr.h was causing problems on HPUX
git-svn-id: svn://10.0.0.236/trunk@22275 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 01:37:44 +00:00
hyatt%netscape.com
6d1d5f3315 Modified HTML content's QueryInterface macro to supported nsIStyledContent.
git-svn-id: svn://10.0.0.236/trunk@22274 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 01:36:41 +00:00
hyatt%netscape.com
c75a33adec Changed GetID, HasClass, and GetClasses so that they are invoked on styledContent
instead of htmlContent.


git-svn-id: svn://10.0.0.236/trunk@22273 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 01:35:51 +00:00
hyatt%netscape.com
0e1f8526be Changed GetInlineStyleRule so that it is invoked on styledContent instead
of htmlContent.


git-svn-id: svn://10.0.0.236/trunk@22272 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 01:35:25 +00:00
law%netscape.com
165659caa3 Add status.xul to $(DIST)/bin/res/samples
git-svn-id: svn://10.0.0.236/trunk@22271 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 01:35:05 +00:00
hyatt%netscape.com
818ef5f99b Changed GetContentStyleRule so that it is invoked on styledContent instead
of htmlContent.


git-svn-id: svn://10.0.0.236/trunk@22270 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 01:34:55 +00:00
hyatt%netscape.com
03ccb229ff Changing GetStyleHintForAttributeChanged so that it is invoked on styledContent
instead of htmlContent.


git-svn-id: svn://10.0.0.236/trunk@22269 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 01:34:32 +00:00
hyatt%netscape.com
6a355cdc1f Adding the NS_ISTYLEDCONTENT_IID to the nsHTMLIID files, so that HTML content
can see it (makes the QueryInterface macro work).


git-svn-id: svn://10.0.0.236/trunk@22268 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 01:33:25 +00:00
hyatt%netscape.com
1e383b5280 Removing the CLASS, ID, and STYLE-specific methods. They are now in
nsIStyledContent (from which nsIHTMLContent now derives).


git-svn-id: svn://10.0.0.236/trunk@22267 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 01:32:49 +00:00
nisheeth%netscape.com
875f6e8d4d Integrating Expat with raptor...
git-svn-id: svn://10.0.0.236/trunk@22266 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 01:31:49 +00:00
hyatt%netscape.com
3eea650eac Making sure that nsIStyledContent.h gets exported.
git-svn-id: svn://10.0.0.236/trunk@22265 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 01:31:42 +00:00
hyatt%netscape.com
4facbaa6b0 Changes to makefiles to ensure that nsIStyledContent.h is exported.
git-svn-id: svn://10.0.0.236/trunk@22264 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 01:31:16 +00:00
hyatt%netscape.com
36c680cad0 The nsIStyledContent interface. Removes CLASS, ID, and STYLE support (as well
as the ability to supply style hints) from nsIHTMLContent.


git-svn-id: svn://10.0.0.236/trunk@22263 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 01:31:01 +00:00
hyatt%netscape.com
0f7ea6b1c9 Changes to tree frame construction code.
git-svn-id: svn://10.0.0.236/trunk@22262 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 01:28:19 +00:00
ducarroz%netscape.com
49f460ef71 add missing parameter to SendMessage
git-svn-id: svn://10.0.0.236/trunk@22261 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 01:26:01 +00:00
peterl%netscape.com
32bebb7ee2 Fixed leak of token recycler
git-svn-id: svn://10.0.0.236/trunk@22260 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 01:11:51 +00:00
mscott%netscape.com
efcc286270 Remove no shared library field
git-svn-id: svn://10.0.0.236/trunk@22259 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 01:03:26 +00:00
av%netscape.com
40af69629d *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@22258 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 00:57:04 +00:00
mscott%netscape.com
cfdfa76120 Add mdbstubs.cpp to the build.
git-svn-id: svn://10.0.0.236/trunk@22257 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 00:56:41 +00:00
mscott%netscape.com
ba94b65a25 Link with nntpTest library.
git-svn-id: svn://10.0.0.236/trunk@22256 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 00:43:54 +00:00
mscott%netscape.com
c1635e9bde Name of the compose library changed. Update the Makefile.
git-svn-id: svn://10.0.0.236/trunk@22255 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 00:29:19 +00:00
mscott%netscape.com
938159a86b Hmm somehow we got a bunch of duplicate file names getting built. Cleaning up the Makefile
git-svn-id: svn://10.0.0.236/trunk@22254 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 00:21:42 +00:00
mscott%netscape.com
25ba927616 Fix Unix breakage. XP_AppVersion is a const char * not a char * for unix.
git-svn-id: svn://10.0.0.236/trunk@22253 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 00:16:52 +00:00
despotdaemon%netscape.com
140e5d6e81 Pseudo-automatic update of changes made by kristian@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@22252 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 00:01:18 +00:00
mscott%netscape.com
7952f9448e I'm not sure why this was changed from m_host to "", in any case, change it back to m_host
which is the host to use...


git-svn-id: svn://10.0.0.236/trunk@22251 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 23:56:56 +00:00
scc%netscape.com
6cb22ba536 for VC++5.0, no member using declarations (to prevent internal compiler error); to make this compile fixed type of AddRef and Release in nsDerivedSafe
git-svn-id: svn://10.0.0.236/trunk@22250 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 23:43:40 +00:00
ducarroz%netscape.com
94b36f91ee receive an URL during the creation of a new message instance. Add new parameter in SendMessage (from, cc, bcc, smtp)
git-svn-id: svn://10.0.0.236/trunk@22249 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 23:42:54 +00:00
ducarroz%netscape.com
cd28986280 fix build problem with missing parameter when call SendMailMessage. Add an empty host name
git-svn-id: svn://10.0.0.236/trunk@22248 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 23:40:42 +00:00
mscott%netscape.com
b437323e2c Fix build breakage. NS_InitMsgAppCoreClass returns an nsresult.
git-svn-id: svn://10.0.0.236/trunk@22247 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 23:38:32 +00:00
ducarroz%netscape.com
e19e9c8f66 carry smtp server over the send process
git-svn-id: svn://10.0.0.236/trunk@22246 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 23:38:20 +00:00
pinkerton%netscape.com
921aee5459 warren's hack-o-rama to get rdf working w/out libreg on mac. permission to check into closed tree by sar.
git-svn-id: svn://10.0.0.236/trunk@22245 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 23:28:14 +00:00
pinkerton%netscape.com
b984626b52 added GetGlobalServiceManager for warren. permission to checkin to closed tree granted by sar.
git-svn-id: svn://10.0.0.236/trunk@22244 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 23:26:17 +00:00
ducarroz%netscape.com
eab23107de carry smtp server over the send process
git-svn-id: svn://10.0.0.236/trunk@22243 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 23:25:46 +00:00
ducarroz%netscape.com
8b3a885953 carry smtp server name over the send message process
git-svn-id: svn://10.0.0.236/trunk@22242 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 23:23:32 +00:00
fur%netscape.com
7831e45af4 Changed factoring of function declaration macros to be based on choice of
compiler rather than OS


git-svn-id: svn://10.0.0.236/trunk@22241 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 23:18:37 +00:00
fur%netscape.com
5fdbb98c39 Add /D GENERATE_FOR_X86
git-svn-id: svn://10.0.0.236/trunk@22240 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 23:14:31 +00:00
ducarroz%netscape.com
8c2d5cd165 clobber tag was missing causing a nmake error
git-svn-id: svn://10.0.0.236/trunk@22239 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 23:13:36 +00:00
fur%netscape.com
41d9c2de41 A bunch of grunge work to reduce OS-dependent code in ElectricalFire
sources:

+ Renamed files and classes that were inappropriately named, i.e. the
  names started with 'x86Win32', but the code was for generic x86, not
  specific to Win32.

+ Segregated the 64-bit arithmetic code into an OS-independent
  x86Arith64.{cpp,h}


git-svn-id: svn://10.0.0.236/trunk@22238 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 23:12:06 +00:00
fur%netscape.com
580523708d Squawk if target architecture is unknown
git-svn-id: svn://10.0.0.236/trunk@22237 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 23:06:34 +00:00
fur%netscape.com
0521e3acbc x86-win32.nad ==> x86.nad
git-svn-id: svn://10.0.0.236/trunk@22236 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 23:05:58 +00:00
fur%netscape.com
b06c567c1f x86Win32Cpu.h ==> x86Cpu.h
git-svn-id: svn://10.0.0.236/trunk@22234 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 23:01:40 +00:00
fur%netscape.com
4aa850fa93 x86Win32Cpu.h ==> x86Cpu.h
git-svn-id: svn://10.0.0.236/trunk@22233 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 23:00:45 +00:00
ducarroz%netscape.com
2df4cc81ab updated to export new resources files
git-svn-id: svn://10.0.0.236/trunk@22231 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 22:46:33 +00:00
ducarroz%netscape.com
0bdff758b4 remove address and subject fields, they are now in the toolbar describe in compose.xul
git-svn-id: svn://10.0.0.236/trunk@22230 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 22:45:12 +00:00
fur%netscape.com
ad09d80ac6 A bunch of grunge work to reduce OS-dependent code in ElectricalFire
sources.

Here's a detailed list of the changes:

Renamed files and classes that were inappropriately named, i.e. the
names started with 'x86Win32', but the code was for generic x86, not
specific to Win32.

Segregated the 64-bit arithmetic code into an OS-independent
x86Arith64.{cpp,h}


git-svn-id: svn://10.0.0.236/trunk@22229 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 22:45:11 +00:00
ducarroz%netscape.com
0fbfef36f1 Initial check in
git-svn-id: svn://10.0.0.236/trunk@22228 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 22:43:41 +00:00
ducarroz%netscape.com
07f73341a3 replaced by compose.xul
git-svn-id: svn://10.0.0.236/trunk@22227 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 22:42:36 +00:00
despotdaemon%netscape.com
51c655ad3d Pseudo-automatic update of changes made by wtc@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@22226 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 22:30:54 +00:00
ducarroz%netscape.com
cf3b82883c no comment
git-svn-id: svn://10.0.0.236/trunk@22225 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 22:28:50 +00:00
ducarroz%netscape.com
d68531d744 did some reformating of the code
git-svn-id: svn://10.0.0.236/trunk@22224 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 22:23:24 +00:00
ducarroz%netscape.com
ceb2e8dc2c change hard coded version of messenger
git-svn-id: svn://10.0.0.236/trunk@22223 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 22:21:45 +00:00
terry%netscape.com
3417923ada Removed "Platform: Rhapsody" component.
git-svn-id: svn://10.0.0.236/trunk@22222 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 22:05:52 +00:00
cyeh%netscape.com
634f978ce3 fix analysis.html generation by fixing ostype checks
git-svn-id: svn://10.0.0.236/trunk@22221 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 21:30:38 +00:00
wtc%netscape.com
12c0262a82 added files on behalf of wtc: prerr.c, prerrortable.c, and prrwlock.c.
git-svn-id: svn://10.0.0.236/trunk@22220 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 20:49:06 +00:00
wtc%netscape.com
9c1f05fdd8 Temporary depend:clean hack.
git-svn-id: svn://10.0.0.236/trunk@22219 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 20:47:41 +00:00
wtc%netscape.com
1091f97f61 Landing of miscellaneous changes, including the new error code to
string function contributed by John Myers <jgmyers@netscape.com>.


git-svn-id: svn://10.0.0.236/trunk@22218 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 20:41:06 +00:00
wtc%netscape.com
6b142d43cd New test file acceptread.c.
git-svn-id: svn://10.0.0.236/trunk@22217 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 20:38:30 +00:00
michaelp%netscape.com
3c0d098a85 added fix for GetRects(). not currently called by anything but the new
compositor which is not yet enabled. approved by sar.


git-svn-id: svn://10.0.0.236/trunk@22216 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 20:16:50 +00:00
cyeh%netscape.com
0f787fde0e added blat url to usage output
git-svn-id: svn://10.0.0.236/trunk@22215 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 20:15:03 +00:00
cyeh%netscape.com
eb05521c3f *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@22214 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 20:13:06 +00:00
alecf%netscape.com
6fed0e740d remove duplicate definition (whoops!)
git-svn-id: svn://10.0.0.236/trunk@22213 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 20:06:18 +00:00
alecf%netscape.com
947a1ef4ff bring NS_InitMsgAppCoreClass back from the dead
git-svn-id: svn://10.0.0.236/trunk@22212 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 20:04:39 +00:00
kmcclusk%netscape.com
b127777cde Added support to read Adobe Font Metric files to get the correct font metrics
for printing.


git-svn-id: svn://10.0.0.236/trunk@22211 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 20:03:35 +00:00
mscott%netscape.com
26da731489 Export NS_InitMsgAppCoreClass to fix build. Alec is going to make the correct change and add this to the idl file so we won't lose it the next time we rev the idl files. This was part of the hack stuff we had to add to get msgappcore running in apprunner..
git-svn-id: svn://10.0.0.236/trunk@22210 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 20:03:26 +00:00
cyeh%netscape.com
54234965d5 make simple makefile for mtbf, but this time a working one
git-svn-id: svn://10.0.0.236/trunk@22209 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 20:02:37 +00:00
kipp%netscape.com
8334239104 fixed up operator new usage
git-svn-id: svn://10.0.0.236/trunk@22208 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 20:02:06 +00:00
pollmann%netscape.com
9c4f03aa39 Enable dynamic changing of the readonly attribute.
Works on Linux now.  Win will come on-line later today.


git-svn-id: svn://10.0.0.236/trunk@22207 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 20:01:48 +00:00
slamm%netscape.com
02a2298c97 Add bookmarks window.
git-svn-id: svn://10.0.0.236/trunk@22206 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 20:01:27 +00:00
slamm%netscape.com
7c483bbac7 Add 'Edit Bookmarks...' menu item.
git-svn-id: svn://10.0.0.236/trunk@22205 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 19:59:00 +00:00
slamm%netscape.com
0b7a662327 Add bookmarks window
git-svn-id: svn://10.0.0.236/trunk@22204 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 19:58:17 +00:00
kipp%netscape.com
31f557d779 use macro to get operator new correct
git-svn-id: svn://10.0.0.236/trunk@22203 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 19:57:18 +00:00
brade%netscape.com
2e06c0f14a First Checked In.
git-svn-id: svn://10.0.0.236/trunk@22202 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 19:51:49 +00:00
scc%netscape.com
99bd38652f deprecated |dont_AddRef|, added a new form of |getter_AddRefs| to take its place. Removed all nothing of bool from the headers (should help gcc)
git-svn-id: svn://10.0.0.236/trunk@22201 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 19:50:46 +00:00
cyeh%netscape.com
5e7a30bb73 add makefile to build mtbf
git-svn-id: svn://10.0.0.236/trunk@22200 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 19:48:06 +00:00
mcafee%netscape.com
9f2b58f6b6 Switching false/true over to PR_FALSE/PR_TRUE
git-svn-id: svn://10.0.0.236/trunk@22199 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 19:47:48 +00:00
cyeh%netscape.com
98ab554353 make command line options work under win32
git-svn-id: svn://10.0.0.236/trunk@22198 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 19:47:38 +00:00
ebina%netscape.com
1e98ec7746 Changing RegisterFactory to use the new API.
git-svn-id: svn://10.0.0.236/trunk@22197 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 19:45:10 +00:00
kipp%netscape.com
b8608d2815 Cleaned up all of the operator new/delete usage
git-svn-id: svn://10.0.0.236/trunk@22196 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 19:40:22 +00:00
akkana%netscape.com
0ed15da9fd windows has NS_IMETHOD != virtual nsresult
git-svn-id: svn://10.0.0.236/trunk@22195 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 19:39:14 +00:00
kipp%netscape.com
4b24555ced Defined some operator new/delete macros to help us get it right
git-svn-id: svn://10.0.0.236/trunk@22194 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 19:38:53 +00:00
brade%netscape.com
3ed23f5c9e add "static" to reduce compiler warnings on Macintosh
git-svn-id: svn://10.0.0.236/trunk@22193 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 19:36:36 +00:00
dp%netscape.com
61bf5c1e54 Adding platformVersionCheck() into USE_REG ifdef
git-svn-id: svn://10.0.0.236/trunk@22192 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 19:28:42 +00:00
pinkerton%netscape.com
009b854b1f changing mac name of default registry file to "mozilla registry" in order to not conflict with old nscp versions and not have the name "netscape" in any of our code.
git-svn-id: svn://10.0.0.236/trunk@22191 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 19:26:45 +00:00
kipp%netscape.com
8ca53a41da Fixed remaining issues with operator new/delete
git-svn-id: svn://10.0.0.236/trunk@22190 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 19:26:29 +00:00
mcafee%netscape.com
376d73af3c Switching one last bool to PRBool. a=mcmullen
git-svn-id: svn://10.0.0.236/trunk@22189 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 19:22:43 +00:00
kipp%netscape.com
b677533b37 Removed ifdef'd out code
git-svn-id: svn://10.0.0.236/trunk@22188 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 19:22:20 +00:00
mscott%netscape.com
0c96e67ebc nsISmtpService->SendMessage now takes the host.
git-svn-id: svn://10.0.0.236/trunk@22187 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 19:18:31 +00:00
mscott%netscape.com
e9c17590b1 Sending a message now takes a host. Use it.
git-svn-id: svn://10.0.0.236/trunk@22186 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 19:17:42 +00:00
mscott%netscape.com
8d609e47e6 Add host as paramater to send send message method.
git-svn-id: svn://10.0.0.236/trunk@22185 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 19:17:13 +00:00
fur%netscape.com
e5d87f9498 No CPU_ARCH_TAG for FreeBSD
git-svn-id: svn://10.0.0.236/trunk@22184 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 19:12:26 +00:00
cyeh%netscape.com
0d29461854 added command line arguments, autoconfig LD_LIBRARY_PATH on unix, added
testing of command line arguments


git-svn-id: svn://10.0.0.236/trunk@22183 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 19:09:48 +00:00
ebina%netscape.com
1d63004b5d Changing RegisterFactory to use the new API.
git-svn-id: svn://10.0.0.236/trunk@22182 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 19:08:57 +00:00
akkana%netscape.com
ee25e1ce6d Turn on nsSelectionMgr for windows
git-svn-id: svn://10.0.0.236/trunk@22181 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 19:01:15 +00:00
akkana%netscape.com
59eb4ba094 Turn on nsSelectionMgr class for copy/paste
git-svn-id: svn://10.0.0.236/trunk@22180 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 19:00:17 +00:00
sfraser%netscape.com
31a5c6eedb Add nsSelectionMgr.cpp for akkana
git-svn-id: svn://10.0.0.236/trunk@22179 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 18:59:33 +00:00
kin%netscape.com
97bb438dc7 Fixed javascript syntax error.
git-svn-id: svn://10.0.0.236/trunk@22178 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 18:59:25 +00:00
alecf%netscape.com
5840b03d44 fix AIX bustage
git-svn-id: svn://10.0.0.236/trunk@22177 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 18:58:08 +00:00
cyeh%netscape.com
9e2cad2894 add static library targets to allow overriding of functions in an external project
git-svn-id: svn://10.0.0.236/trunk@22176 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 18:51:32 +00:00
dp%netscape.com
d4b13c8710 Implemented versioning of the repository hieararchy under the registry. Also changed storing longlongs to ints into the registry.
git-svn-id: svn://10.0.0.236/trunk@22175 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 18:41:37 +00:00
pinkerton%netscape.com
9746b4d5c5 add libreg to list of linked libraries to try to get autoregistration working correctly.
git-svn-id: svn://10.0.0.236/trunk@22174 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 18:38:39 +00:00
racham%netscape.com
6cf0f5a6ad Modified buffer sizes in define constants
git-svn-id: svn://10.0.0.236/trunk@22173 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 18:36:56 +00:00
racham%netscape.com
cf0ce80158 increased buffer size for holding value field
git-svn-id: svn://10.0.0.236/trunk@22172 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 18:36:04 +00:00
wtc%netscape.com
02764ab1c7 print thread scope.
git-svn-id: svn://10.0.0.236/trunk@22171 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 18:34:31 +00:00
wtc%netscape.com
4b610a857a print elapsed and expected times.
git-svn-id: svn://10.0.0.236/trunk@22170 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 18:33:19 +00:00
cyeh%netscape.com
6878c5e4eb remove MOZ_PROF compiler option. it's redundant with MOZ_DEBUGOPT, and
it doesn't work to boot. it also has an annoying ifdef structure that is hard
to follow.
if you want to build optimized with debug symbols, use MOZ_DEBUGOPT=1


git-svn-id: svn://10.0.0.236/trunk@22169 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 18:32:39 +00:00
wtc%netscape.com
f1fc5a9fec Make the number of atomic locks configurable by setting the environment
variable NSPR_ATOMIC_HASH_LOCKS.


git-svn-id: svn://10.0.0.236/trunk@22168 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 18:32:14 +00:00
alecf%netscape.com
672bae1c57 fix unix bustage - can't construct objects and pass them as & parameters at the same time
git-svn-id: svn://10.0.0.236/trunk@22167 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 18:25:57 +00:00
alecf%netscape.com
32dc9597e9 fix call to CreateInstance, now that you can create one with a ProgID
git-svn-id: svn://10.0.0.236/trunk@22166 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 18:17:41 +00:00
alecf%netscape.com
d259eb2aad don't use old XFE icon data-related functions
git-svn-id: svn://10.0.0.236/trunk@22165 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 18:00:28 +00:00
alecf%netscape.com
058584fccd fix uninitialize variable and fix various signed/unsigned warnings
git-svn-id: svn://10.0.0.236/trunk@22164 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:59:16 +00:00
alecf%netscape.com
97806affe4 add nsIEnumerator interface, and fix nsICollection interface to use long not int
git-svn-id: svn://10.0.0.236/trunk@22163 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:57:34 +00:00
alecf%netscape.com
8600e20f0e fix -pedantic bustage - Delete isn't const, so re-cast "this"
git-svn-id: svn://10.0.0.236/trunk@22162 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:56:44 +00:00
alecf%netscape.com
9a5ad5ba18 add static IID() method
git-svn-id: svn://10.0.0.236/trunk@22161 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:50:59 +00:00
alecf%netscape.com
b8e8e7578e fix -pedantic bustage on Unix
git-svn-id: svn://10.0.0.236/trunk@22160 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:49:41 +00:00
alecf%netscape.com
c693124762 add temporary hack to instantiate Messenger in the JS namespace
git-svn-id: svn://10.0.0.236/trunk@22159 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:47:35 +00:00
alecf%netscape.com
91fa5c9384 no need to export non-existant IDL files
git-svn-id: svn://10.0.0.236/trunk@22158 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:45:29 +00:00
alecf%netscape.com
815d6d9c4c fix HPUX/AIX/OSF bustage - most unices need stdlib.h to get abort()
git-svn-id: svn://10.0.0.236/trunk@22157 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:41:47 +00:00
troy%netscape.com
64a3061b36 Per Kipp's request, added patch from Mark Harvey (Mark.Harvey@wireplay.bt.co.uk) so we
don't have an imagehlp.dll dependency unless MOZ_TRACE_XPCOM_REFCNT is defined


git-svn-id: svn://10.0.0.236/trunk@22156 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:39:55 +00:00
alecf%netscape.com
da118a4713 fix HPUX bustage - can't have const user-defined (typedefed) variables inside structures without initializing them inside that structure
git-svn-id: svn://10.0.0.236/trunk@22155 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:39:28 +00:00
pinkerton%netscape.com
75e89e602f titlebuttons are not block frames!
git-svn-id: svn://10.0.0.236/trunk@22154 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:38:40 +00:00
alecf%netscape.com
8720c2952d fix HPUX bustage - now that we're using PR_FREEIF, you can't put (void*)
casts inside it.


git-svn-id: svn://10.0.0.236/trunk@22153 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:36:57 +00:00
alecf%netscape.com
fef17484d9 BandRect needs to be public to be visible outside the class definition (HPUX bustage)
git-svn-id: svn://10.0.0.236/trunk@22152 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:36:00 +00:00
ftang%netscape.com
b421dc5509 fix some unix warning
git-svn-id: svn://10.0.0.236/trunk@22151 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:34:58 +00:00
alecf%netscape.com
ab3c25a5f2 fix HPUX bustage - HP already has MIN, MAX, TRUE, and FALSE defined
git-svn-id: svn://10.0.0.236/trunk@22150 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:27:02 +00:00
alecf%netscape.com
c729288dab fix HPUX bustage: font should be const
git-svn-id: svn://10.0.0.236/trunk@22149 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:26:25 +00:00
alecf%netscape.com
9cb5576e4d fix HPUX bustage - don't declare classnames inside class definitition
git-svn-id: svn://10.0.0.236/trunk@22148 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:25:31 +00:00
pinkerton%netscape.com
44c442417e added new CreateInstance for warren to fix build bustage that never showed up on tinderbox.
git-svn-id: svn://10.0.0.236/trunk@22147 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:25:24 +00:00
ftang%netscape.com
ae6440bd59 fix some unix warning
git-svn-id: svn://10.0.0.236/trunk@22146 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:24:47 +00:00
ebina%netscape.com
13608a9e24 Changing RegisterFactory to use the new API.
git-svn-id: svn://10.0.0.236/trunk@22145 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:19:00 +00:00
kipp%netscape.com
369110d90c Support sized images
git-svn-id: svn://10.0.0.236/trunk@22144 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:15:15 +00:00
kipp%netscape.com
b68d985292 Support entities (bug #3112)
git-svn-id: svn://10.0.0.236/trunk@22143 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:13:51 +00:00
kipp%netscape.com
e914323594 Use our own null value
git-svn-id: svn://10.0.0.236/trunk@22142 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:13:30 +00:00
kipp%netscape.com
6a553dabe3 Cleaned up operator new and delete
git-svn-id: svn://10.0.0.236/trunk@22141 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:13:10 +00:00
kipp%netscape.com
55ffab420a Removed dependency on static constructors
git-svn-id: svn://10.0.0.236/trunk@22140 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:12:16 +00:00
kipp%netscape.com
c8fe8ac18f Pass in default image size when loading image
git-svn-id: svn://10.0.0.236/trunk@22139 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:12:05 +00:00
kipp%netscape.com
774bcbcaf4 Whacked to handle moving floaters out of the flow
git-svn-id: svn://10.0.0.236/trunk@22138 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:11:54 +00:00
ftang%netscape.com
4b07ef7da1 fix some unix warnning
git-svn-id: svn://10.0.0.236/trunk@22137 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:11:43 +00:00
kipp%netscape.com
c9321630b1 Fixed up operator new and delete
git-svn-id: svn://10.0.0.236/trunk@22136 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:09:35 +00:00
kipp%netscape.com
7948faf8e8 Removed dependency on static constructors; implement operatore delete
git-svn-id: svn://10.0.0.236/trunk@22135 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:08:48 +00:00
kipp%netscape.com
f2ab10bb59 Removed move-out-of-flow code now that frame construction code does it; added code to avoid reflows when removing a placeholder frame
git-svn-id: svn://10.0.0.236/trunk@22134 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:08:20 +00:00
kipp%netscape.com
afb7fb16b8 Avoid purify noise by initializing all member variables
git-svn-id: svn://10.0.0.236/trunk@22133 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:07:49 +00:00
kipp%netscape.com
b8539e233b Support limited scaling of images on unix
git-svn-id: svn://10.0.0.236/trunk@22132 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:07:28 +00:00
kipp%netscape.com
d2550f1dbb Removed MoveOutOfFlow
git-svn-id: svn://10.0.0.236/trunk@22131 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:07:01 +00:00
kipp%netscape.com
f58eac9104 Implement operator delete; get rid of static constructor
git-svn-id: svn://10.0.0.236/trunk@22130 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:05:20 +00:00
kipp%netscape.com
c306aa9bfe Find text runs more often (bug #3278, 3265); floaters are now handled mostly by the frame construction code
git-svn-id: svn://10.0.0.236/trunk@22129 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:04:44 +00:00
kipp%netscape.com
ad6702e668 Removed dependency on static constructor
git-svn-id: svn://10.0.0.236/trunk@22128 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:03:45 +00:00
kipp%netscape.com
7469bb9bcb Implement operator delete properly; removed dependency on static constructor
git-svn-id: svn://10.0.0.236/trunk@22127 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:03:18 +00:00
kipp%netscape.com
83f6d724e1 Support desired image size during loading
git-svn-id: svn://10.0.0.236/trunk@22126 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:02:37 +00:00
kipp%netscape.com
2a60d6d88b Added IsFloating inline
git-svn-id: svn://10.0.0.236/trunk@22125 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:02:05 +00:00
kipp%netscape.com
507f449b32 Added in desired-size to image loading request
git-svn-id: svn://10.0.0.236/trunk@22124 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:01:34 +00:00
kipp%netscape.com
8782ec3985 Removed global gLogModule
git-svn-id: svn://10.0.0.236/trunk@22123 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 16:59:57 +00:00
kipp%netscape.com
cbae90a7c1 Cache alpha-clip pixmap across rendering calls so that transparent gifs render faster; flush cache when bits are updated so that transparent animated gifs don't break
git-svn-id: svn://10.0.0.236/trunk@22122 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 16:59:18 +00:00
ftang%netscape.com
bb66c75305 fix some unix warnning
git-svn-id: svn://10.0.0.236/trunk@22121 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 16:58:33 +00:00
kipp%netscape.com
58c03f58da Removed inline virtuals - a no-no
git-svn-id: svn://10.0.0.236/trunk@22120 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 16:58:18 +00:00
kipp%netscape.com
30a79fc6fa Get alpha line stride so that we don't produce the wrong alpha mask
git-svn-id: svn://10.0.0.236/trunk@22119 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 16:57:54 +00:00
ftang%netscape.com
1ec712e1e8 fix some unix warnning
git-svn-id: svn://10.0.0.236/trunk@22118 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 16:52:34 +00:00
pinkerton%netscape.com
056c27083c add a new RegisterFactory method for ebina.
git-svn-id: svn://10.0.0.236/trunk@22117 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 16:50:27 +00:00
ftang%netscape.com
9fa4a5ec6a fix a log of unix warnning- 1) make sure all XPCOM class destructor are virtual and fix warnning in new file
git-svn-id: svn://10.0.0.236/trunk@22115 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 16:32:08 +00:00
ebina%netscape.com
a859c35703 Changing RegisterFactory to use the new API.
git-svn-id: svn://10.0.0.236/trunk@22114 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 16:18:23 +00:00
fur%netscape.com
c2065b1017 Remove C++ comment in C file.
git-svn-id: svn://10.0.0.236/trunk@22113 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 16:11:37 +00:00
ebina%netscape.com
836781ca39 Changing RegisterFactory to use the new API.
git-svn-id: svn://10.0.0.236/trunk@22112 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 16:07:38 +00:00
ebina%netscape.com
f3c0c2ca83 Changing RegisterFactory to use the new API.
git-svn-id: svn://10.0.0.236/trunk@22111 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 15:59:52 +00:00
kipp%netscape.com
daf4dfbb67 new
git-svn-id: svn://10.0.0.236/trunk@22110 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 15:54:00 +00:00
ftang%netscape.com
9d10b06a0d first check in.This should fix the bustage
git-svn-id: svn://10.0.0.236/trunk@22109 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 15:36:02 +00:00
pavlov%pavlov.net
01824ed107 began work on nsDrawingSurfaceGTK.cpp. it isn't built yet, as it doens't
compile though.  renamed the nsDrawingSurfaceGTK.h to nsOldDrawingSurfaceGTK.h
to avoid name conflicts for now.


git-svn-id: svn://10.0.0.236/trunk@22108 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 15:26:02 +00:00
ftang%netscape.com
36edc1c253 add CharsetAlias factory
git-svn-id: svn://10.0.0.236/trunk@22107 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 15:24:56 +00:00
ftang%netscape.com
be55e2c69d check in hack implementation
git-svn-id: svn://10.0.0.236/trunk@22106 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 15:16:56 +00:00
ftang%netscape.com
55c46dac15 fix some interface probelm
git-svn-id: svn://10.0.0.236/trunk@22105 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 15:15:57 +00:00
edwin%woudt.nl
23789a3a1a You can't rename A to B if B exists. So we need to delete B first.
git-svn-id: svn://10.0.0.236/trunk@22104 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 15:12:09 +00:00
warren%netscape.com
bda4005b55 Making it build with new RDF registration mechanism.
git-svn-id: svn://10.0.0.236/trunk@22103 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 12:24:22 +00:00
warren%netscape.com
5ac2a1d765 Fixed XXXNeverCalled
git-svn-id: svn://10.0.0.236/trunk@22102 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 12:18:19 +00:00
edwin%woudt.nl
ea68125765 Fix to let the Dialog show up.
git-svn-id: svn://10.0.0.236/trunk@22101 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 12:12:13 +00:00
warren%netscape.com
8b314ccb43 Added missing argument.
git-svn-id: svn://10.0.0.236/trunk@22100 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 11:46:42 +00:00
warren%netscape.com
d05d7032e1 Fixed leak when Init fails.
git-svn-id: svn://10.0.0.236/trunk@22099 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 11:42:05 +00:00
warren%netscape.com
2500e9edaf Fixed NSRegisterSelf signature.
git-svn-id: svn://10.0.0.236/trunk@22098 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 11:32:51 +00:00
warren%netscape.com
ba84994876 Fixed variable name.
git-svn-id: svn://10.0.0.236/trunk@22097 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 11:31:04 +00:00
warren%netscape.com
789849f8bf Renamed variable.
git-svn-id: svn://10.0.0.236/trunk@22096 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 10:58:32 +00:00
warren%netscape.com
513a79704b Fixed #endif for non-registry builds.
git-svn-id: svn://10.0.0.236/trunk@22095 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 10:55:07 +00:00
warren%netscape.com
49ed8e046f Changes for RDF component registration using nsRepository. Also changed args to NSGetFactory and friends.
git-svn-id: svn://10.0.0.236/trunk@22094 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 10:17:14 +00:00
karnaze%netscape.com
bf7aa2f2f9 fixed bug where anonymous table frame is constructed inside table related frame.
simplified table frame construction.


git-svn-id: svn://10.0.0.236/trunk@22093 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 09:15:03 +00:00
fur%netscape.com
047bf73e83 Added x86 disassembly to HTML output, courtesy of free code from CMU's
Mach project.


git-svn-id: svn://10.0.0.236/trunk@22092 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 09:10:34 +00:00
fur%netscape.com
74ccfa71b1 Fix OBJDIR naming convention to be simpler
git-svn-id: svn://10.0.0.236/trunk@22091 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 08:48:53 +00:00
evaughan%netscape.com
a39632b9af Removed state info from button renderer.
git-svn-id: svn://10.0.0.236/trunk@22090 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 08:48:24 +00:00
fur%netscape.com
b364ac0639 libpthread must come before libnspr on the link line
git-svn-id: svn://10.0.0.236/trunk@22089 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 08:47:18 +00:00
fur%netscape.com
b02c4ab54d Don't use enums with bitfield widths when running with gcc, since egcs
generates buggy code for this case and there is no way to
differentiate gcc and egcs.


git-svn-id: svn://10.0.0.236/trunk@22088 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 08:45:45 +00:00
mcafee%netscape.com
290b452307 Better ifdef logic for last checkin
git-svn-id: svn://10.0.0.236/trunk@22087 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 08:44:50 +00:00
fur%netscape.com
241ef884c8 Fix syntax error
git-svn-id: svn://10.0.0.236/trunk@22086 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 08:44:40 +00:00
fur%netscape.com
11526464c8 Add libm
git-svn-id: svn://10.0.0.236/trunk@22085 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 08:42:30 +00:00
fur%netscape.com
b968d57b64 Restore building of java.security native libraries
git-svn-id: svn://10.0.0.236/trunk@22084 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 08:41:28 +00:00
mcafee%netscape.com
a61404126a Solaris/CC refused to compile part of this file, giving up for now. a=scc
git-svn-id: svn://10.0.0.236/trunk@22083 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 08:41:15 +00:00
fur%netscape.com
afd136e6bf + Remove dead code
+ Make class initialization slightly more efficient


git-svn-id: svn://10.0.0.236/trunk@22082 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 08:40:13 +00:00
fur%netscape.com
fd8160d7bd Improve comment
git-svn-id: svn://10.0.0.236/trunk@22081 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 08:39:24 +00:00
fur%netscape.com
eaba928492 Fix library ordering problem so that pthreads appears before NSPR on
the link line.


git-svn-id: svn://10.0.0.236/trunk@22080 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 08:38:38 +00:00
fur%netscape.com
ef607fb50d Fix problems in which functions had 'inline' keyword in definition
but not in the corresponding declaration.


git-svn-id: svn://10.0.0.236/trunk@22079 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 08:18:38 +00:00
fur%netscape.com
579b075cdf Make the Linux compile-and-backpatch stub code generation be just like
Win32's, so that method-tracing works.


git-svn-id: svn://10.0.0.236/trunk@22078 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 08:17:06 +00:00
fur%netscape.com
1d244214d1 Under some circumstances, the monitor around the compiler was being
released even though it was not held.


git-svn-id: svn://10.0.0.236/trunk@22077 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 08:15:03 +00:00
rickg%netscape.com
89a3d20da2 fix build crash caused by deque API change
git-svn-id: svn://10.0.0.236/trunk@22076 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 07:37:27 +00:00
rickg%netscape.com
bfceba3989 attempt to fix build
git-svn-id: svn://10.0.0.236/trunk@22075 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 07:24:27 +00:00
rickg%netscape.com
51458a6c52 new API on deque to set deallocator
git-svn-id: svn://10.0.0.236/trunk@22074 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 07:23:56 +00:00
evaughan%netscape.com
e84b411850 Fixed up titled button so hover, focus, active, states work.
git-svn-id: svn://10.0.0.236/trunk@22073 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 06:41:10 +00:00
rickg%netscape.com
5012f4e582 small bug fixes and removal of global statics
git-svn-id: svn://10.0.0.236/trunk@22072 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 06:33:54 +00:00
mcafee%netscape.com
b0e3a4ac8c Adding __SVR4 to check for SunOS 4.1.3, wrapping this check into MOZ_MAY_HAVE_DNS. a=spence
git-svn-id: svn://10.0.0.236/trunk@22071 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 06:20:48 +00:00
bienvenu%netscape.com
38fb01af30 add new hdrs to db and turn on notification by default
git-svn-id: svn://10.0.0.236/trunk@22070 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 06:01:26 +00:00
beard%netscape.com
1a8100e0c5 Fixing callback typedef, using new NS_CALLBACK macro which will be moved to nsCom.h when it proves itself.
git-svn-id: svn://10.0.0.236/trunk@22069 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 04:30:17 +00:00
mscott%netscape.com
7ed5bbeb0c fix clobber rules to correctly clobber resources.
git-svn-id: svn://10.0.0.236/trunk@22068 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 04:22:44 +00:00
mscott%netscape.com
175f212fe3 Fix build breakage. Change OpenURL signature to take a char * instead of an AutoString because the interface was changed that way.
git-svn-id: svn://10.0.0.236/trunk@22067 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 04:16:59 +00:00
mscott%netscape.com
f12953d001 Fix build breakage remove nsIID.h and nsISupportUtils.h from all interfaces until we can figure out where these files come from. I know this is the wrong long term solution so I'm not even changing the idl files.
git-svn-id: svn://10.0.0.236/trunk@22066 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 04:10:24 +00:00
beard%netscape.com
a3a56d921c Now uses nsGenericFactory to provide factories for NS_ALLOCATOR_CID and NS_GENERICFACTORY_CID.
git-svn-id: svn://10.0.0.236/trunk@22065 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 04:09:51 +00:00
mscott%netscape.com
6f69698824 nsFileSpec update.
git-svn-id: svn://10.0.0.236/trunk@22064 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 04:09:39 +00:00
mscott%netscape.com
70f43902ac Fix build breakage. Many of these interfaces had the constness of arguments removed from them. We need to remove the const char *s and change them to char *s in all of the classes that implement those interfaces....This had a carry over effect of forcing several pieces of code to cast const char *s as char *s. Hopefully we can undo all of these changes when the IDL compiler allows you to have const arguments...
git-svn-id: svn://10.0.0.236/trunk@22063 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 04:09:10 +00:00
beard%netscape.com
9387da18fb Added nsGenericFactory.cpp
git-svn-id: svn://10.0.0.236/trunk@22062 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 04:09:07 +00:00
beard%netscape.com
fe425b96af now implements nsIGenericFactory.
git-svn-id: svn://10.0.0.236/trunk@22061 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 04:08:26 +00:00
mscott%netscape.com
9438adee6a nsFileSpec updates...
git-svn-id: svn://10.0.0.236/trunk@22060 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 04:06:37 +00:00
beard%netscape.com
d8af315b9c added nsIGenericFactory.h
git-svn-id: svn://10.0.0.236/trunk@22059 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 04:06:13 +00:00
beard%netscape.com
bf9e88cca3 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@22058 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 04:05:14 +00:00
beard%netscape.com
dc53227e34 Added CID() accessor.
git-svn-id: svn://10.0.0.236/trunk@22057 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 04:04:50 +00:00
mscott%netscape.com
77dda8f63a Add parsing code if the id is part of the urlspec. Use mailbox action enum.
git-svn-id: svn://10.0.0.236/trunk@22056 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 04:04:33 +00:00
beard%netscape.com
17aff0f259 added IID() accessor.
git-svn-id: svn://10.0.0.236/trunk@22055 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 04:04:13 +00:00
mscott%netscape.com
24f4257d53 Fix build breakage. Convert char * to a nsstring before passing it to createNode
git-svn-id: svn://10.0.0.236/trunk@22054 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 04:03:44 +00:00
mscott%netscape.com
2e3a647249 Add enum for mailbox url action type.
git-svn-id: svn://10.0.0.236/trunk@22053 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 04:00:21 +00:00
mscott%netscape.com
e5f5f9cde5 Fix build breakage remove nsIID.h and nsISupportUtils.h from all interfaces until we can figure out where these files come from. I know this is the wrong long term solution so I'm not even changing the idl files.
git-svn-id: svn://10.0.0.236/trunk@22052 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 03:59:33 +00:00
mscott%netscape.com
989ff04df2 nsFileSpec updates.
git-svn-id: svn://10.0.0.236/trunk@22051 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 03:58:26 +00:00
rjc%netscape.com
5394b2a610 Forgot to register/deregister RDFCore factory.
git-svn-id: svn://10.0.0.236/trunk@22050 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 03:55:13 +00:00
mscott%netscape.com
53e276fd09 Fix build by exporting nsIMsg.h
git-svn-id: svn://10.0.0.236/trunk@22049 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 03:54:45 +00:00
leaf%mozilla.org
2a82294f15 adding .deps to ignore the new dependencies directory
git-svn-id: svn://10.0.0.236/trunk@22048 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 03:54:01 +00:00
mcafee%netscape.com
59aa28351c Switching unix to use PR_Abort().
git-svn-id: svn://10.0.0.236/trunk@22047 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 03:52:37 +00:00
mcafee%netscape.com
43188f40b8 Adding do_QueryInterface() to fix Solaris/nxCOMPtr ambiguity.
git-svn-id: svn://10.0.0.236/trunk@22046 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 03:50:37 +00:00
mcafee%netscape.com
42298d96aa readding my fix that buster whomped.
git-svn-id: svn://10.0.0.236/trunk@22045 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 03:46:08 +00:00
troy%netscape.com
5bb51bbb20 Added logic to replicate the caption when splitting the table
git-svn-id: svn://10.0.0.236/trunk@22043 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 03:35:22 +00:00
bienvenu%netscape.com
05158a78f0 more reading and writing of toy db
git-svn-id: svn://10.0.0.236/trunk@22042 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 03:25:16 +00:00
waterson%netscape.com
b3ecd2c6b5 Modified DEFINE_RDF_VOCAB macro so that it doesn't create static constructors on Unix.
git-svn-id: svn://10.0.0.236/trunk@22041 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 03:07:59 +00:00
waterson%netscape.com
22db265958 Bug 3302. Fixed DOM calls to effect (more or less) the right change on the content model, modulo Bug 3275. This was causing asserts to fire whenever you called SetAttribute().
git-svn-id: svn://10.0.0.236/trunk@22040 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 03:02:19 +00:00
jband%netscape.com
d74a10535e removed cruft
git-svn-id: svn://10.0.0.236/trunk@22039 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 02:52:48 +00:00
hyatt%netscape.com
a832e7cd61 Preparing expand/collapse so that it works the right way.
git-svn-id: svn://10.0.0.236/trunk@22038 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 02:50:21 +00:00
saari%netscape.com
4103384808 Comment out SetLabel in LoadMenuItem
SetLabel should be called by the call to Create, to which I added the name back in the call.


git-svn-id: svn://10.0.0.236/trunk@22037 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 02:50:09 +00:00
brendan%netscape.com
a1ab81c5b1 Fix indentation, fiddle to share common fputs string.
git-svn-id: svn://10.0.0.236/trunk@22036 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 02:48:01 +00:00
jband%netscape.com
38b5613680 fixed warnings
git-svn-id: svn://10.0.0.236/trunk@22035 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 02:46:35 +00:00
saari%netscape.com
52083c19e0 Actually do menu creation on the create call.
Commented out SetLabel in nsWebShellWindow::LoadMenuItem


git-svn-id: svn://10.0.0.236/trunk@22034 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 02:45:55 +00:00
rjc%netscape.com
8cd3ac46c2 Small case changes.
git-svn-id: svn://10.0.0.236/trunk@22033 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 02:45:25 +00:00
danm%netscape.com
6a2e3f3bea adding C XUL window construction callback
git-svn-id: svn://10.0.0.236/trunk@22029 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 02:22:42 +00:00
mscott%netscape.com
b4ef1c318a nsFileSpec changes.
git-svn-id: svn://10.0.0.236/trunk@22028 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 02:22:01 +00:00
law%netscape.com
ad76645726 Create reg file if it doesn't exist
git-svn-id: svn://10.0.0.236/trunk@22027 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 02:17:37 +00:00
rjc%netscape.com
56dbfedf7b Modified sidebar.xul regarding sorting.
git-svn-id: svn://10.0.0.236/trunk@22026 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 02:16:56 +00:00
law%netscape.com
9ae1a629b4 New status bar; first draft
git-svn-id: svn://10.0.0.236/trunk@22025 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 02:15:29 +00:00
rjc%netscape.com
282975714f Add in RDFCore.
git-svn-id: svn://10.0.0.236/trunk@22024 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 02:14:51 +00:00
waterson%netscape.com
a411b1387c Improved SplitAttribute() to return kNameSpaceID_None if it finds a tag but can't determine the namespace.
git-svn-id: svn://10.0.0.236/trunk@22023 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 02:09:48 +00:00
rjc%netscape.com
c08b1ae756 Add into RDF Core.
git-svn-id: svn://10.0.0.236/trunk@22022 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 02:08:29 +00:00
rjc%netscape.com
6e30cacd1c Add in RDFCore.idl
git-svn-id: svn://10.0.0.236/trunk@22021 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 02:08:01 +00:00
jband%netscape.com
1740753904 Linux x86 now runs and passes all the same tests as Win32. Added md/test as a place and framework to start ports to other platforms
git-svn-id: svn://10.0.0.236/trunk@22020 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 02:04:33 +00:00
rjc%netscape.com
0629e3a3f0 Add RDF file system datasource into builds.
git-svn-id: svn://10.0.0.236/trunk@22019 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 02:04:28 +00:00
akkana%netscape.com
5aba739fcc Fixes to make the mac build; jfrancis will follow with the project file
git-svn-id: svn://10.0.0.236/trunk@22017 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 01:59:49 +00:00
alecf%netscape.com
29d7191943 rev the XPIDL-generated headers, and update API calls to match
includes dropping "const"ness from parameters
some nsString routines were converted back to char* for the time being.
also added nsIMsg.h, it seemed to be missing

Also many fixes to get Unix building again.


git-svn-id: svn://10.0.0.236/trunk@22016 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 01:56:15 +00:00
sfraser%netscape.com
acb9d031fd Remove MoreFiles.shlb from the optimized target.
git-svn-id: svn://10.0.0.236/trunk@22014 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 01:34:04 +00:00
alecf%netscape.com
7318c8827e add new compose makefiles
git-svn-id: svn://10.0.0.236/trunk@22012 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 01:22:12 +00:00
terry%netscape.com
200d36f911 Removed "Platform: Lesstif on Linux" component.
git-svn-id: svn://10.0.0.236/trunk@22011 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 01:18:25 +00:00
alecf%netscape.com
43704aa51c rev the XPIDL generated headers
git-svn-id: svn://10.0.0.236/trunk@22010 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 01:17:12 +00:00
alecf%netscape.com
087b97ae1f check in unix makefiles/ignore files
git-svn-id: svn://10.0.0.236/trunk@22009 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 01:16:07 +00:00
alecf%netscape.com
2e11906933 update to make compose build on Linux
git-svn-id: svn://10.0.0.236/trunk@22008 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 01:14:57 +00:00
sfraser%netscape.com
1d6c6156b4 File Removed.
git-svn-id: svn://10.0.0.236/trunk@22007 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 01:13:09 +00:00
sfraser%netscape.com
8707f97633 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@22006 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 01:12:49 +00:00
terry%netscape.com
bd8e33797e Patch by Dhiren Patel <dhiren@nuvomedia.com> (tweaked by me) -- add a
link to Enter A Bug when viewing a list of bugs.


git-svn-id: svn://10.0.0.236/trunk@22005 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 01:08:50 +00:00
putterman%netscape.com
8f8b505175 AddRef database in constructor.
git-svn-id: svn://10.0.0.236/trunk@22004 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 01:02:15 +00:00
terry%netscape.com
74c82f07d6 Removed MFC/Win32 component.
git-svn-id: svn://10.0.0.236/trunk@22003 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 01:01:34 +00:00
sfraser%netscape.com
810a288777 Remove ; to fix warnings.
git-svn-id: svn://10.0.0.236/trunk@22002 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 00:55:22 +00:00
sfraser%netscape.com
c74199e668 Mac project changes -- link with MSLDropInRuntime, instead of MSLShLibRuntime, and fix link order.
git-svn-id: svn://10.0.0.236/trunk@22001 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 00:54:57 +00:00
sfraser%netscape.com
08cf89f6dd Mac project changes -- link with MSLDropInRuntime, instead of MSLShLibRuntime, and fix link order. Also clean up the prefix file mess.
git-svn-id: svn://10.0.0.236/trunk@22000 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 00:54:45 +00:00
sfraser%netscape.com
a63f8fa1e1 Mac project changes -- don't generate SYM file.
git-svn-id: svn://10.0.0.236/trunk@21999 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 00:52:23 +00:00
sfraser%netscape.com
f0dd92bf71 Mac project changes -- no longer need to link with some libraries, so remove these from the project (MoreFiles, MemAllcoatorStubs).
git-svn-id: svn://10.0.0.236/trunk@21998 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 00:49:57 +00:00
sfraser%netscape.com
468246c95a Change project build order, and build MoreFiles and MemAllocator as static libs.
git-svn-id: svn://10.0.0.236/trunk@21997 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 00:48:30 +00:00
terry%netscape.com
9fadcb978b Major rewrite by Ry4an Brase <ry4an@ry4an.org>, with some edits by me.
git-svn-id: svn://10.0.0.236/trunk@21996 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 00:47:29 +00:00
despotdaemon%netscape.com
df709ba5ea Pseudo-automatic update of changes made by wtc@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@21995 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 00:45:30 +00:00
sfraser%netscape.com
f59ab36c66 Mac project changes -- convert from using MLSShLibRuntime to MSLDropinRuntime.
git-svn-id: svn://10.0.0.236/trunk@21994 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 00:44:01 +00:00
sfraser%netscape.com
24e96ce5ac Mac project changes -- NSStdlib now includes the memory allocators and MoreFiles as static libraries, and re-exports their symbols.
git-svn-id: svn://10.0.0.236/trunk@21993 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 00:41:00 +00:00
sfraser%netscape.com
067a38fdcb Mac project changes: remove MSL libs from NSRuntime, and don't export new/delete from here
git-svn-id: svn://10.0.0.236/trunk@21992 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 00:40:12 +00:00
sfraser%netscape.com
5776fcaf07 Mac project uptates; build the memory allocators and morefiles as static libraries.
git-svn-id: svn://10.0.0.236/trunk@21991 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 00:39:19 +00:00
dougt%netscape.com
5c3d475c6d Remove #ifdef DEBUG
git-svn-id: svn://10.0.0.236/trunk@21990 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 00:14:57 +00:00
terry%netscape.com
2ef818e612 Wasn't able to mass-change a component before.
git-svn-id: svn://10.0.0.236/trunk@21989 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 23:54:14 +00:00
terry%netscape.com
5f34c3c373 Removed MacOS/PPC component.
git-svn-id: svn://10.0.0.236/trunk@21988 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 23:42:52 +00:00
despotdaemon%netscape.com
8dbe0bf70c Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@21987 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 23:36:23 +00:00
briano%netscape.com
3bc1b498bb More cleanup, and now we force the compiler on Solaris x86 to be EGCS.
git-svn-id: svn://10.0.0.236/trunk@21986 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 23:35:52 +00:00
despotdaemon%netscape.com
ce1d1876aa Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@21985 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 23:35:48 +00:00
dougt%netscape.com
3f857cbd81 tests are failing on window optimized. I am removing the test dir from the
build path until I can figure it out.


git-svn-id: svn://10.0.0.236/trunk@21984 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 23:19:12 +00:00
edwin%woudt.nl
5ae199533b Status update!
git-svn-id: svn://10.0.0.236/trunk@21983 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 23:09:12 +00:00
michaelp%netscape.com
1e84ef5fb9 bustage with new nsFileSpec.h
git-svn-id: svn://10.0.0.236/trunk@21982 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 23:08:51 +00:00
mccabe%netscape.com
5a91ac81df Initial checkin of typelib loading service.
git-svn-id: svn://10.0.0.236/trunk@21981 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 22:56:43 +00:00
dougt%netscape.com
f3f6d856e0 Another fix to the build bustage.
git-svn-id: svn://10.0.0.236/trunk@21980 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 22:17:25 +00:00
dougt%netscape.com
a28665a754 This should make the tree go green. It, however, makes nsPersistentFileDescriptor broken if you pass an fsspec.
git-svn-id: svn://10.0.0.236/trunk@21979 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 22:04:50 +00:00
dougt%netscape.com
25bcdd1a61 Changed nsNativeFileSpec to nsFileSpec.
git-svn-id: svn://10.0.0.236/trunk@21978 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 20:58:10 +00:00
dougt%netscape.com
451b4db4af Merging branch BASE_19_FEB_99 to tip. These are extensive changes
to nsFileSpec and and nsFileStream.  See dougt@netscape.com or
John McMullen for futher information.


git-svn-id: svn://10.0.0.236/trunk@21977 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 20:49:47 +00:00
ftang%netscape.com
f1b059f18d fix the bustage
git-svn-id: svn://10.0.0.236/trunk@21976 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 20:16:28 +00:00
briano%netscape.com
d6117dc2c9 Automated update
git-svn-id: svn://10.0.0.236/trunk@21975 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 20:00:38 +00:00
ftang%netscape.com
60ba4d7407 add readme.txt file for serveral directory
git-svn-id: svn://10.0.0.236/trunk@21974 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 19:59:47 +00:00
wtc%netscape.com
69eda9d37b Changed NSPR ==> NSPS.
git-svn-id: svn://10.0.0.236/trunk@21973 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 19:58:12 +00:00
ftang%netscape.com
94731511ba First check in
git-svn-id: svn://10.0.0.236/trunk@21972 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 19:57:03 +00:00
buster%netscape.com
a200933a99 added GetStyleContextFor
git-svn-id: svn://10.0.0.236/trunk@21971 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 19:55:06 +00:00
ftang%netscape.com
b7db5d8561 enable ucvja2 . add placeholder for Chinese/Korean/Vietnamese/Thai converters.
git-svn-id: svn://10.0.0.236/trunk@21970 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 19:52:25 +00:00
ftang%netscape.com
9fd58e5604 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@21969 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 19:50:08 +00:00
slamm%netscape.com
60c064de5d Force configure to be regenerated.
git-svn-id: svn://10.0.0.236/trunk@21968 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 19:47:46 +00:00
wtc%netscape.com
c073a85602 Link the tests against $(LIBPLC) $(LIBPLDS) $(LIBPR).
git-svn-id: svn://10.0.0.236/trunk@21967 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 19:46:30 +00:00
alecf%netscape.com
14c4d02ab6 fix HPUX bustage - don't put commas after last element in enum declaration
git-svn-id: svn://10.0.0.236/trunk@21966 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 19:45:44 +00:00
cyeh%netscape.com
162f7e0a0a fixed busted perl script by adding proper quoting. duh.
git-svn-id: svn://10.0.0.236/trunk@21965 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 19:43:40 +00:00
cyeh%netscape.com
e301d8f212 add quick result to stdout
git-svn-id: svn://10.0.0.236/trunk@21964 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 19:40:38 +00:00
edwin%woudt.nl
f0b27c0052 Oops! Some illegal character slipped in.
git-svn-id: svn://10.0.0.236/trunk@21963 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 19:39:15 +00:00
cyeh%netscape.com
1599fcf118 little perl script that searches for global constructors/destructors
in build objects in the tree


git-svn-id: svn://10.0.0.236/trunk@21962 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 19:35:05 +00:00
rods%netscape.com
8c2c134ce5 Fixed name space problems with the xul and changed button to be title buttons
git-svn-id: svn://10.0.0.236/trunk@21961 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 19:34:54 +00:00
ftang%netscape.com
40f3362d92 add nsCharsetAliasImp.cpp
git-svn-id: svn://10.0.0.236/trunk@21960 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 19:32:34 +00:00
ftang%netscape.com
8a3aa58c3e add two cpp file into uconv.toc
git-svn-id: svn://10.0.0.236/trunk@21959 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 19:29:52 +00:00
wtc%netscape.com
51c4060a76 Merged /m/src/ns/nspr20/lib/tests/arena.c, revision 1.2, by larryh.
git-svn-id: svn://10.0.0.236/trunk@21958 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 19:29:46 +00:00
ftang%netscape.com
02544623ab add placeholder for nsCharsetAliasImp.cpp
git-svn-id: svn://10.0.0.236/trunk@21957 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 19:27:18 +00:00
ftang%netscape.com
605cae244e add placehodler for nsCharsetAliasImp.cpp
git-svn-id: svn://10.0.0.236/trunk@21956 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 19:26:33 +00:00
law%netscape.com
4f42dc7317 Fixes for Mac
git-svn-id: svn://10.0.0.236/trunk@21955 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 19:24:18 +00:00
slamm%netscape.com
b9e28d6823 Always use --with-nspr for nspr flag (not MOZ_WITH_NSPR). Change myconfig.sh to mozconfig.sh.
git-svn-id: svn://10.0.0.236/trunk@21954 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 19:22:46 +00:00
law%netscape.com
6033015167 Add DIRS=registry to win32 build
git-svn-id: svn://10.0.0.236/trunk@21953 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 19:22:13 +00:00
slamm%netscape.com
a1f2d080d0 Change myconfig to mozconfig.
git-svn-id: svn://10.0.0.236/trunk@21952 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 19:21:29 +00:00
ftang%netscape.com
6fa93574e6 add nsICharsetAlias.h interface
git-svn-id: svn://10.0.0.236/trunk@21951 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 19:21:25 +00:00
law%netscape.com
771c27f26f Adding nsRegistry to win32 build
git-svn-id: svn://10.0.0.236/trunk@21950 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 19:20:39 +00:00
slamm%netscape.com
9515e42db7 Add run_apprunner target
git-svn-id: svn://10.0.0.236/trunk@21949 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 19:18:59 +00:00
law%netscape.com
a4235416e3 Export nsIRegistry.h
git-svn-id: svn://10.0.0.236/trunk@21948 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 19:16:00 +00:00
vidur%netscape.com
9270605250 Made style reresolution propogate down to the bullet frames for list items. Added list related attribute tests.
git-svn-id: svn://10.0.0.236/trunk@21947 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 19:14:35 +00:00
edwin%woudt.nl
4e807fe46d Reflecting all currently working providers. (Except imap and smtp as they are handled correctly bij javamail itself)
git-svn-id: svn://10.0.0.236/trunk@21946 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 19:13:27 +00:00
alecf%netscape.com
f623a06bc4 fix HPUX bustage - HPUX doesn't do static_cast
git-svn-id: svn://10.0.0.236/trunk@21945 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 19:09:16 +00:00
ftang%netscape.com
0853369702 add newly design interface file
git-svn-id: svn://10.0.0.236/trunk@21944 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 19:08:45 +00:00
pinkerton%netscape.com
d24a730907 Removing obsolete files. These were never really needed.
git-svn-id: svn://10.0.0.236/trunk@21943 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 19:02:31 +00:00
pinkerton%netscape.com
58e86110fe Removing nsThrobberGlue.cpp
git-svn-id: svn://10.0.0.236/trunk@21942 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 19:01:33 +00:00
pinkerton%netscape.com
75f054fa60 removing nsThrobberGlue.cpp
git-svn-id: svn://10.0.0.236/trunk@21941 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 19:01:08 +00:00
michaelp%netscape.com
68e6998fbd added nsIDrawingSurface, a windows specific counterpart and a windows
implementation. cleaned up windows blending code to the point where we
don't really need platform specific blending implementations at all
anymore. added region area return from nsIRegion::GetRects(). unified all
windows bitmap management code under nsDrawingSurfaceWin.cpp.


git-svn-id: svn://10.0.0.236/trunk@21940 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 18:53:31 +00:00
alecf%netscape.com
cb08c3dc10 add nsICollection.idl
git-svn-id: svn://10.0.0.236/trunk@21939 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 18:51:53 +00:00
pinkerton%netscape.com
850fd37ff2 remove nsThrobberGlue.cpp
git-svn-id: svn://10.0.0.236/trunk@21938 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 18:51:00 +00:00
alecf%netscape.com
7458e02ae8 include jsapi.h whenever we're doing stub work
git-svn-id: svn://10.0.0.236/trunk@21937 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 18:47:58 +00:00
michaelp%netscape.com
fe37951134 work in progress for new compositor.
git-svn-id: svn://10.0.0.236/trunk@21936 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 18:44:45 +00:00
ebina%netscape.com
465c926ebe Change old RegisterFactory calls to use the new API.
git-svn-id: svn://10.0.0.236/trunk@21935 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 18:38:45 +00:00
ebina%netscape.com
989ce33bbf Change old RegisterFactory call to use the new API.
git-svn-id: svn://10.0.0.236/trunk@21934 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 18:37:30 +00:00
waterson%netscape.com
8bf6a59a42 Added support for <xul:treebody xul:id=...>
git-svn-id: svn://10.0.0.236/trunk@21933 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 18:37:27 +00:00
jband%netscape.com
a15cd434c9 added unix makesfiles, fixed two bad static casts, invoke code working on Linux, working on stubs code for Linux
git-svn-id: svn://10.0.0.236/trunk@21932 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 18:14:51 +00:00
dp%netscape.com
5cf4630054 Removing strange characters
git-svn-id: svn://10.0.0.236/trunk@21931 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 18:11:58 +00:00
terry%netscape.com
c245556712 Removed OS/2 component.
git-svn-id: svn://10.0.0.236/trunk@21930 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 18:11:20 +00:00
kostello%netscape.com
76bc4c8e27 Modifications to turn on the Editor Appshell Testbed for Windows
git-svn-id: svn://10.0.0.236/trunk@21929 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 18:06:26 +00:00
jfrancis%netscape.com
41cb054736 Adding Editor AppCore to macbuild
git-svn-id: svn://10.0.0.236/trunk@21928 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 18:05:37 +00:00
kin%netscape.com
e8423e91a5 Modifications to turn on EditorAppShell test bed for Linux.
git-svn-id: svn://10.0.0.236/trunk@21927 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 18:04:50 +00:00
terry%netscape.com
efb0274631 Patch from Dhiren Patel <dhiren@nuvomedia.com> -- deal with products
that have spaces or other weird characters in them.


git-svn-id: svn://10.0.0.236/trunk@21926 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 18:01:02 +00:00
alecf%netscape.com
572519680a forgot to capitalize a variable
git-svn-id: svn://10.0.0.236/trunk@21925 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 17:52:33 +00:00
alecf%netscape.com
49eb294d55 include stdlib for HPUX
git-svn-id: svn://10.0.0.236/trunk@21924 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 17:48:25 +00:00
alecf%netscape.com
4b3e627852 fix HPUX bustage - HP's compiler can't do "using" or static casts
git-svn-id: svn://10.0.0.236/trunk@21923 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 17:47:54 +00:00
briano%netscape.com
0032e2e4af Automated update
git-svn-id: svn://10.0.0.236/trunk@21922 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 17:45:40 +00:00
coop%netscape.com
e17dee7c12 NOT YET PART OF SEAMONKEY:
* first pass at typelib linker
* parent_interface modification is untested
* interface offset management is unimplemented
* what to do about annotations?


git-svn-id: svn://10.0.0.236/trunk@21921 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 17:45:11 +00:00
harishd%netscape.com
49c3b93aed Enabling view source window to display title.
git-svn-id: svn://10.0.0.236/trunk@21920 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 17:43:41 +00:00
harishd%netscape.com
a8f3c33c80 Enabling view source window to display title.
Added methods OpenHead() and CloseHead() to
the CViewSourceHTML class.


git-svn-id: svn://10.0.0.236/trunk@21919 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 17:43:16 +00:00
dp%netscape.com
9bd7ffc2b2 Meeting notes added
git-svn-id: svn://10.0.0.236/trunk@21918 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 17:43:02 +00:00
alecf%netscape.com
bd5640928a add C++ compiler checks for namespaces and static_cast (for nsCOMPtr)
git-svn-id: svn://10.0.0.236/trunk@21917 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 17:38:09 +00:00
pavlov%pavlov.net
ef5a9a8f4d remove keyboard accelerators so that editor works on the keys that had accels.
git-svn-id: svn://10.0.0.236/trunk@21916 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 17:33:06 +00:00
kin%netscape.com
faebbc2480 Initial check in of files for EditorAppShell test bed.
git-svn-id: svn://10.0.0.236/trunk@21915 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 17:32:59 +00:00
brade%netscape.com
885ac024e0 reformat (remove tabs; fix spacing/indent to be consistent with other files)
git-svn-id: svn://10.0.0.236/trunk@21914 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 17:32:00 +00:00
kin%netscape.com
ecd35a5e3d Removed gif files. Need to recheck them in using -kb flag to mark them as
binary.


git-svn-id: svn://10.0.0.236/trunk@21913 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 17:30:38 +00:00
alecf%netscape.com
aa43fb61a4 fix for BSD/OS 3.1
git-svn-id: svn://10.0.0.236/trunk@21912 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 17:26:22 +00:00
waterson%netscape.com
206bbf35d4 Improved tag matching so that it doesn't assume XUL namespace. Added nsIXMLContent methods in anticipation of someday getting real namespace scoping right. See http://bugzilla.mozilla.org/show_bug.cgi?id=3275 for more info.
git-svn-id: svn://10.0.0.236/trunk@21911 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 17:15:57 +00:00
brade%netscape.com
6b5c0c05a9 clean up (remove tabs, etc.)
git-svn-id: svn://10.0.0.236/trunk@21910 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 17:01:03 +00:00
edwin%woudt.nl
34b2e9668b Fixed another nasty bug. Possibly also because the JavaMail API changed to first call protocolConnect with a null password and if that fails to lookup the password and call protocolConnect again.
git-svn-id: svn://10.0.0.236/trunk@21909 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 16:48:33 +00:00
brade%netscape.com
f797c7d1e9 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@21908 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 16:46:58 +00:00
kipp%netscape.com
dd3ae803c4 Avoid crashing if the url doesn't have a container
git-svn-id: svn://10.0.0.236/trunk@21907 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 16:43:17 +00:00
kipp%netscape.com
9addc29ade removed
git-svn-id: svn://10.0.0.236/trunk@21906 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 16:42:47 +00:00
kipp%netscape.com
8070a9c09f Added .cvsignores
git-svn-id: svn://10.0.0.236/trunk@21905 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 16:42:19 +00:00
kipp%netscape.com
4b4cf3fd26 Eliminate global constuctor dependency
git-svn-id: svn://10.0.0.236/trunk@21904 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 16:41:54 +00:00
kipp%netscape.com
b4dec93fd1 new
git-svn-id: svn://10.0.0.236/trunk@21903 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 16:41:09 +00:00
brade%netscape.com
c8121e783c First Checked In.
git-svn-id: svn://10.0.0.236/trunk@21902 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 16:35:36 +00:00
kin%netscape.com
2fc00c11bc Initial checkin of file for the EditorAppShell test bed.
git-svn-id: svn://10.0.0.236/trunk@21901 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 16:24:05 +00:00
brade%netscape.com
ec435e7d0a First Checked In.
git-svn-id: svn://10.0.0.236/trunk@21900 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 16:20:55 +00:00
edwin%woudt.nl
5d45d9a695 Now that was a nasty bug. The Javamail API changed. Hmm... now we have two working news stores and maybe even two working POP3 stores.
git-svn-id: svn://10.0.0.236/trunk@21899 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 16:14:45 +00:00
buster%netscape.com
8579381793 minor bug fixes
git-svn-id: svn://10.0.0.236/trunk@21898 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 16:09:18 +00:00
ebina%netscape.com
c80f10297f Stub in the new RegisterFactory API in preparation for removing the old one.
git-svn-id: svn://10.0.0.236/trunk@21897 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 16:07:31 +00:00
brade%netscape.com
06ecb9f0c1 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@21896 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 16:07:25 +00:00
buster%netscape.com
b18e41adc0 edge conditions now supported for SetTextProperty. You now get correct behavior when you select the beginning of a text block, or the end.
You now get correct behavior if the selection spans multiple text blocks, as long as the blocks have the same grandparent.


git-svn-id: svn://10.0.0.236/trunk@21895 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 16:05:43 +00:00
cata%netscape.com
d3c71a6c51 Generic factory used.
git-svn-id: svn://10.0.0.236/trunk@21894 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 15:48:41 +00:00
brade%netscape.com
5f56326130 add "static" to CreateRobotDialog and CreateSizeDialog to reduce compiler warnings on Macintosh
git-svn-id: svn://10.0.0.236/trunk@21893 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 15:40:59 +00:00
brade%netscape.com
d956616cd3 remove extra comma to reduce compiler warnings on Macintosh
git-svn-id: svn://10.0.0.236/trunk@21892 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 15:39:50 +00:00
brade%netscape.com
a64bcb4630 add "static" to GetFrameBorderHelper to reduce compiler warnings on Macintosh
git-svn-id: svn://10.0.0.236/trunk@21891 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 15:38:29 +00:00
cata%netscape.com
f937e91bfd Small output format change.
git-svn-id: svn://10.0.0.236/trunk@21890 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 14:46:46 +00:00
cata%netscape.com
d493860db8 Generic factory used.
git-svn-id: svn://10.0.0.236/trunk@21889 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 14:44:44 +00:00
cata%netscape.com
d937524287 UnicodeToLatin1 component added.
git-svn-id: svn://10.0.0.236/trunk@21888 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 14:22:42 +00:00
cata%netscape.com
34ab284a39 added files: mozilla/intl/uconv/ucvlatin/nsUnicodeToLatin1.cpp, mozilla/intl/uconv/ucvlatin/nsUCvLatinSupport.cpp
git-svn-id: svn://10.0.0.236/trunk@21887 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 14:16:13 +00:00
edwin%woudt.nl
780811338b Needed to get news working.
git-svn-id: svn://10.0.0.236/trunk@21886 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 14:08:14 +00:00
cata%netscape.com
e20153f1e5 added files: mozilla/intl/uconv/src/nsUnicodeEncodeHelper.cpp
git-svn-id: svn://10.0.0.236/trunk@21885 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 13:36:27 +00:00
cata%netscape.com
3f6ecfa919 Generic factory used.
git-svn-id: svn://10.0.0.236/trunk@21884 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 13:15:07 +00:00
mcafee%netscape.com
0ccc2b6075 Reverting purify compiler back to CCC, this doesn't work with egcs/c++ anyways..
git-svn-id: svn://10.0.0.236/trunk@21883 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 11:12:51 +00:00
mcafee%netscape.com
ef156e8b9a Adding do_QueryInterface() wrappers for Solaris/CC
git-svn-id: svn://10.0.0.236/trunk@21882 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 11:08:53 +00:00
hyatt%netscape.com
31cd9ee4dd Implemented rollover feedback.
git-svn-id: svn://10.0.0.236/trunk@21881 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 09:37:17 +00:00
grail%cafebabe.org
ed017fb44b Removed some debugging information.
git-svn-id: svn://10.0.0.236/trunk@21880 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 07:44:57 +00:00
grail%cafebabe.org
7128be3e86 Preference dialog shows up and even saves the info back.
git-svn-id: svn://10.0.0.236/trunk@21879 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 07:44:11 +00:00
akkana%netscape.com
c678ac3e51 Back out previous change
git-svn-id: svn://10.0.0.236/trunk@21878 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 07:25:36 +00:00
akkana%netscape.com
037abd6d71 Backing out my changes
git-svn-id: svn://10.0.0.236/trunk@21877 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 06:54:50 +00:00
beard%netscape.com
ce87f6cb8a backed out my nsAllocator.cpp addition.
git-svn-id: svn://10.0.0.236/trunk@21876 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 06:17:05 +00:00
beard%netscape.com
31b35318b6 added nsAllocator.cpp to build
git-svn-id: svn://10.0.0.236/trunk@21875 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 06:15:01 +00:00
akkana%netscape.com
69c736c565 Add another ifdef to fix build
git-svn-id: svn://10.0.0.236/trunk@21874 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 06:13:48 +00:00
beard%netscape.com
98de55ae05 removing Malloc::create.
git-svn-id: svn://10.0.0.236/trunk@21873 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 06:11:25 +00:00
mcafee%netscape.com
2f0e19c245 Adding nsAllocator.cpp to Unix build
git-svn-id: svn://10.0.0.236/trunk@21872 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 06:08:13 +00:00
wtc%netscape.com
f2c490b3a7 Bugsplat bug #335804: made _MD_IrixIntervalPerSec return the correct
value.  Also some code cleanup for the default UNIX timer case.


git-svn-id: svn://10.0.0.236/trunk@21871 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 06:02:39 +00:00
akkana%netscape.com
e964886b03 turn on selection mgr in app shell; forgot this file in last check-in
git-svn-id: svn://10.0.0.236/trunk@21870 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 05:49:43 +00:00
sfraser%netscape.com
eaab1f6e0a File Removed.
git-svn-id: svn://10.0.0.236/trunk@21869 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 05:45:12 +00:00
troy%netscape.com
51829aa69c Fixed it so we clear the NS_FRAME_SYNC_FRAME_AND_VIEW bit, because the
default is that it's set


git-svn-id: svn://10.0.0.236/trunk@21868 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 05:41:05 +00:00
akkana%netscape.com
a89bc61e71 Use the real nsISelectionMgr for doCopy
git-svn-id: svn://10.0.0.236/trunk@21867 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 05:32:30 +00:00
troy%netscape.com
b51e46e943 Removed nsIFrame::CreateContinuingFrame()
git-svn-id: svn://10.0.0.236/trunk@21866 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 05:31:15 +00:00
sfraser%netscape.com
6028d8ac48 File Removed.
git-svn-id: svn://10.0.0.236/trunk@21865 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 05:09:53 +00:00
beard%netscape.com
98967931ba First Checked In.
git-svn-id: svn://10.0.0.236/trunk@21864 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 04:41:02 +00:00
beard%netscape.com
a0b014ad4f Added nsILiveConnectManager.h.
git-svn-id: svn://10.0.0.236/trunk@21863 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 04:39:20 +00:00
beard%netscape.com
dee44e2cab registering NS_ALLOCATOR_CID, NS_PLUGIN_HOST_CID, fixed some mutually exclusive ifdefs.
git-svn-id: svn://10.0.0.236/trunk@21862 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 04:30:45 +00:00
beard%netscape.com
337f3e2931 LiveConnect initialization.
git-svn-id: svn://10.0.0.236/trunk@21861 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 04:29:08 +00:00
beard%netscape.com
abce4d8cdf Updated to CWPro 4 format.
git-svn-id: svn://10.0.0.236/trunk@21860 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 04:25:04 +00:00
beard%netscape.com
6be1979216 Added nsAllocator.cpp, nsGenericFactory.cpp, removed nsMalloc.cpp.
git-svn-id: svn://10.0.0.236/trunk@21859 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 04:24:21 +00:00
beard%netscape.com
7dffb645fd added nsIAllocator.h
git-svn-id: svn://10.0.0.236/trunk@21858 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 04:21:12 +00:00
beard%netscape.com
c37ed31d31 made nsAllocatorFactory publically inherit from nsIFactory.
git-svn-id: svn://10.0.0.236/trunk@21857 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 04:20:51 +00:00
beard%netscape.com
0d07f4b46c cleaned up factory logic for service manager.
git-svn-id: svn://10.0.0.236/trunk@21856 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 04:20:06 +00:00
beard%netscape.com
b15f9df7b3 removed stray ; from IID macro
git-svn-id: svn://10.0.0.236/trunk@21855 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 04:19:27 +00:00
beard%netscape.com
dfcfe44f77 #include "jni.h" if necessary.
git-svn-id: svn://10.0.0.236/trunk@21854 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 04:18:59 +00:00
beard%netscape.com
1e6fcb2ed1 Renamed CID macro.
git-svn-id: svn://10.0.0.236/trunk@21853 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 04:18:30 +00:00
beard%netscape.com
5b22aebd36 implementing nsILiveConnectManager.
git-svn-id: svn://10.0.0.236/trunk@21852 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 04:18:00 +00:00
beard%netscape.com
0d75747d10 implementing nsILiveConnectManager interface methods.
git-svn-id: svn://10.0.0.236/trunk@21851 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 04:16:50 +00:00
beard%netscape.com
297f27dd8d removed eager loading, implemented GetPluginFactory() for use by OJI.
git-svn-id: svn://10.0.0.236/trunk@21850 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 04:15:39 +00:00
beard%netscape.com
3a07cb34a1 mserviceMgr -> mServiceMgr
git-svn-id: svn://10.0.0.236/trunk@21849 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 04:14:19 +00:00
beard%netscape.com
7aa1b2cbf7 implemented GetPluginInfo.
git-svn-id: svn://10.0.0.236/trunk@21848 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 04:12:55 +00:00
beard%netscape.com
4f0fa8709a Added support for NS_ALLOCATOR_CID.
git-svn-id: svn://10.0.0.236/trunk@21847 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 04:05:50 +00:00
bienvenu%netscape.com
4d7c3e3536 hack up some persistance
git-svn-id: svn://10.0.0.236/trunk@21846 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 04:04:43 +00:00
bienvenu%netscape.com
ddc97e1735 fix default mailbox path- needs leading /
git-svn-id: svn://10.0.0.236/trunk@21845 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 04:03:32 +00:00
mcafee%netscape.com
1afcb664e6 Solaris needs newline at end of file
git-svn-id: svn://10.0.0.236/trunk@21844 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 03:34:39 +00:00
troy%netscape.com
f293c578fd Changed nsIFrame::Init() to take an additional parameter
git-svn-id: svn://10.0.0.236/trunk@21843 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 03:27:57 +00:00
beard%netscape.com
e6d4c23f11 File Removed.
git-svn-id: svn://10.0.0.236/trunk@21842 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 03:13:54 +00:00
beard%netscape.com
e5a01fc93f nsIMalloc -> nsIAllocator
git-svn-id: svn://10.0.0.236/trunk@21841 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 03:12:01 +00:00
beard%netscape.com
60a2cd5124 kIAllocatorIID
git-svn-id: svn://10.0.0.236/trunk@21840 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 03:11:38 +00:00
beard%netscape.com
b0ccd6a5a6 Using service manager for get nsILiveconnect.
git-svn-id: svn://10.0.0.236/trunk@21839 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 03:10:50 +00:00
akkana%netscape.com
ee68fae484 Add nsISelectionMgr
git-svn-id: svn://10.0.0.236/trunk@21838 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 03:08:09 +00:00
putterman%netscape.com
704c541b8d Added cached flag
git-svn-id: svn://10.0.0.236/trunk@21837 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 03:01:22 +00:00
putterman%netscape.com
b924f93b58 Added correct RDF root.
git-svn-id: svn://10.0.0.236/trunk@21836 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 02:59:30 +00:00
putterman%netscape.com
4c6114e6de changed to use msgdb.lib
git-svn-id: svn://10.0.0.236/trunk@21835 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 02:58:35 +00:00
hyatt%netscape.com
234a11f901 Fixes to getElementsByTagName to avoid returning nodes that aren't elements.
git-svn-id: svn://10.0.0.236/trunk@21834 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 02:58:11 +00:00
putterman%netscape.com
4c3b53a019 made folder lists work and added db for message counts.
git-svn-id: svn://10.0.0.236/trunk@21833 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 02:58:04 +00:00
putterman%netscape.com
a55ed63bb2 Fixed clobber
git-svn-id: svn://10.0.0.236/trunk@21832 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 02:57:30 +00:00
putterman%netscape.com
7dcb8cedfa added clobber
git-svn-id: svn://10.0.0.236/trunk@21831 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 02:57:13 +00:00
putterman%netscape.com
577108de78 changed to msgdb.lib
git-svn-id: svn://10.0.0.236/trunk@21830 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 02:56:44 +00:00
putterman%netscape.com
039da3aec3 Added db for message counts
git-svn-id: svn://10.0.0.236/trunk@21829 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 02:56:13 +00:00
akkana%netscape.com
89f9d20598 Build nsSelectionMgr & include in nsAppShell on Unix
git-svn-id: svn://10.0.0.236/trunk@21828 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 02:54:50 +00:00
putterman%netscape.com
8b1332aa21 Add msglocal.lib
git-svn-id: svn://10.0.0.236/trunk@21827 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 02:54:38 +00:00
akkana%netscape.com
42a6f835f9 New SelectionMgr class
git-svn-id: svn://10.0.0.236/trunk@21826 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 02:42:06 +00:00
mscott%netscape.com
d7f5e0eea9 First checked in.
git-svn-id: svn://10.0.0.236/trunk@21825 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 02:41:37 +00:00
vidur%netscape.com
92b4ff5fae XML books test case (not part of the build so don't shoot me).
git-svn-id: svn://10.0.0.236/trunk@21824 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 02:26:53 +00:00
bienvenu%netscape.com
431aa76762 add new constructor from file path to avoid multiple nativization problems
git-svn-id: svn://10.0.0.236/trunk@21823 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 02:09:07 +00:00
bienvenu%netscape.com
474796f73a add call to DoneParsingFolder so we'll commit database
git-svn-id: svn://10.0.0.236/trunk@21822 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 02:00:48 +00:00
waterson%netscape.com
12ef209b44 Added librdfutil_s.a to link.
git-svn-id: svn://10.0.0.236/trunk@21821 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 01:35:53 +00:00
waterson%netscape.com
af5f3e1a05 Added nsRDFResource constructor to dlldeps.cpp to avoid runtime link problems on Linux.
git-svn-id: svn://10.0.0.236/trunk@21820 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 01:35:34 +00:00
ftang%netscape.com
001dc03913 add charset properties file. Currently we do not use it but hard code the mapping inside the nsXXXCharset.cpp, In the future, we will use these properties file so we can have better extensibility
git-svn-id: svn://10.0.0.236/trunk@21816 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 01:29:31 +00:00
sdagley%netscape.com
8b53976170 Fix bugzilla bug #2568
nsHttpUrlImpl::GetContainer was always returning with NS_OK even if the container is nil.  After discussing it with rpotts I've changed it to return NS_ERROR_UNEXPECTED if mContainer is nil which fixes the Mac crash (calling QueryInterface on a nil container is probably bad everywhere though).


git-svn-id: svn://10.0.0.236/trunk@21815 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 01:28:24 +00:00
ftang%netscape.com
cd2d4a3130 fix nsIPlatformCharset factory problem, add test cases for it.
git-svn-id: svn://10.0.0.236/trunk@21814 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 01:28:04 +00:00
mscott%netscape.com
4b0e88b151 Build nsMailboxService.
git-svn-id: svn://10.0.0.236/trunk@21813 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 01:12:03 +00:00
mscott%netscape.com
54e890d546 header file for mailbox service implementation.
git-svn-id: svn://10.0.0.236/trunk@21812 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 01:10:27 +00:00
mscott%netscape.com
0a97170220 Export nsIMailboxService.h
git-svn-id: svn://10.0.0.236/trunk@21811 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 01:08:30 +00:00
mscott%netscape.com
5d7248ac52 Remove dependencies on local.lib. Use the mailbox service for building and running mailbox urls. This allows to just use the dll form of msglocal.
git-svn-id: svn://10.0.0.236/trunk@21810 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 01:05:36 +00:00
mscott%netscape.com
0a330d4fa2 Creating a protocol instance shouldn't require a transport. We should create it ourselves. When running a url, mark it as being processed.
git-svn-id: svn://10.0.0.236/trunk@21809 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 01:03:45 +00:00
mscott%netscape.com
0b45bd759d Build nsMailboxService
git-svn-id: svn://10.0.0.236/trunk@21808 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 01:02:27 +00:00
mscott%netscape.com
1f70c34b61 Implement new nsIMsgMailNewsUrl methods...
git-svn-id: svn://10.0.0.236/trunk@21807 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 01:02:00 +00:00
mscott%netscape.com
54443c3564 Build the resources directory.
git-svn-id: svn://10.0.0.236/trunk@21806 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 01:01:02 +00:00
mscott%netscape.com
b63e8f410d New xul files to express our mail 3-pane UI. I also created a makefile.win which will export the mail news xul files into dist\WIN32_D.OBJ\bin\res\samples.
git-svn-id: svn://10.0.0.236/trunk@21805 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 01:00:19 +00:00
mscott%netscape.com
a689188c23 Removing from the repository. They are getting replaced with new .xul files.
git-svn-id: svn://10.0.0.236/trunk@21804 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 00:59:03 +00:00
sar%netscape.com
56ba0451e4 make pull_and_build_all mean all, not just seamonkey
git-svn-id: svn://10.0.0.236/trunk@21803 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 00:01:13 +00:00
mscott%netscape.com
9cc87ede3a Add msgCore.h at top for pre-compiled headers. Added ability for factory to create mailbox urls and mailbox service.
git-svn-id: svn://10.0.0.236/trunk@21801 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 22:11:10 +00:00
mscott%netscape.com
bbeaa4b069 Remove duplicate include of xpcom32.lib.
git-svn-id: svn://10.0.0.236/trunk@21800 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 22:10:11 +00:00
mscott%netscape.com
25da21813d Add class ID so our local factory can create instances of it. Use the new nsIMsgMailNewsUrl interface instead of inheriting directly from nsIURL.
git-svn-id: svn://10.0.0.236/trunk@21799 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 22:09:24 +00:00
mscott%netscape.com
e3036d288f Export nsIMailboxService.h
git-svn-id: svn://10.0.0.236/trunk@21798 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 22:08:12 +00:00
mscott%netscape.com
4df16c6d4f Service for running mailbox commands. This separates the application from building and running the urls...
git-svn-id: svn://10.0.0.236/trunk@21797 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 22:07:47 +00:00
edwin%woudt.nl
9ec8c72f93 Fixing Windows news.rc filename issues. Windows does not allow files to start with a dot.
git-svn-id: svn://10.0.0.236/trunk@21796 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 22:04:48 +00:00
locka%iol.ie
0d6a2d1184 Added IE browser helper object support
git-svn-id: svn://10.0.0.236/trunk@21794 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 21:49:32 +00:00
locka%iol.ie
6020028e15 Removed some build-breaking lines
git-svn-id: svn://10.0.0.236/trunk@21793 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 21:48:24 +00:00
locka%iol.ie
07627aacd7 Added some more CLSID parameter variants
git-svn-id: svn://10.0.0.236/trunk@21792 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 21:47:32 +00:00
edwin%woudt.nl
a7cc3f833b Reflecting the new nttp-store.
git-svn-id: svn://10.0.0.236/trunk@21791 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 21:43:14 +00:00
edwin%woudt.nl
e795e805ae Now let's see if I can commit it right this time.
git-svn-id: svn://10.0.0.236/trunk@21790 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 21:31:37 +00:00
edwin%woudt.nl
b0f1fd136b Removing this. It goes directly in mozilla/grendel because of classpath problems.
git-svn-id: svn://10.0.0.236/trunk@21789 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 21:11:03 +00:00
edwin%woudt.nl
ed1c44f826 Backed out again as we are going to move stuff a few levels higher so we don't have to mess around with the classpath.
git-svn-id: svn://10.0.0.236/trunk@21788 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 21:07:00 +00:00
edwin%woudt.nl
b14da725b9 Oops, forgot this one.
git-svn-id: svn://10.0.0.236/trunk@21787 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 20:59:56 +00:00
dp%netscape.com
4e6c3bec20 Last updated date changed
git-svn-id: svn://10.0.0.236/trunk@21786 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 20:31:50 +00:00
dp%netscape.com
3d0ff323a1 additional guidelines
git-svn-id: svn://10.0.0.236/trunk@21785 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 20:29:51 +00:00
alecf%netscape.com
20af466edd add namespace registration stuff for bhuvan
git-svn-id: svn://10.0.0.236/trunk@21784 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 20:27:24 +00:00
dp%netscape.com
7b4a09a0bd Added progid spec
git-svn-id: svn://10.0.0.236/trunk@21783 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 20:24:27 +00:00
wtc%netscape.com
f890cfea30 Bugzilla bug #3233: create the pipe in nonblocking mode and have
reads and writes check for the possible EAGAIN/EWOULDBLOCK error.


git-svn-id: svn://10.0.0.236/trunk@21782 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 19:53:48 +00:00
despotdaemon%netscape.com
6d5331d53d Pseudo-automatic update of changes made by bsharma@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@21781 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 19:47:20 +00:00
jband%netscape.com
6b0ce7bcf8 initial checkin of linux invoker - untested. slight changes to platform compile time protection
git-svn-id: svn://10.0.0.236/trunk@21780 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 19:26:51 +00:00
waterson%netscape.com
340f5e3463 Removed the use-tag-namespace-as-default-namespace hack (well, #ifdef'd it out, anyway).
git-svn-id: svn://10.0.0.236/trunk@21779 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 19:25:14 +00:00
larryh%netscape.com
7528dde3af mumble. restore to 3.11
git-svn-id: svn://10.0.0.236/trunk@21777 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 19:19:21 +00:00
waterson%netscape.com
c79993466d Fix build bustage: make sure to include nsIUnicodeEncodeHelper.h for NS_IMPLIDS.
git-svn-id: svn://10.0.0.236/trunk@21776 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 19:12:27 +00:00
alecf%netscape.com
471aaedbd9 fix BSD/OS 3.1 bustage
git-svn-id: svn://10.0.0.236/trunk@21774 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 18:23:26 +00:00
cyeh%netscape.com
218bdde687 we blow past the limit for the echo command on WinNT as well. doing the stupid
thing for now until i can figure out how to generate better status and not
blow up the echo command.


git-svn-id: svn://10.0.0.236/trunk@21773 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 18:21:49 +00:00
ftang%netscape.com
5f7220fa9c change nsTextTransformer to break line by calling nsILineBreak and make nsTextFrame pass the nsILineBreaker to nsTextTransformer
git-svn-id: svn://10.0.0.236/trunk@21772 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 18:21:23 +00:00
nhotta%netscape.com
852cf4e1a5 For nsIUnicodeEncoder change.
git-svn-id: svn://10.0.0.236/trunk@21771 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 18:15:21 +00:00
beard%netscape.com
6e9016d233 nsILiveConnectManager.h
git-svn-id: svn://10.0.0.236/trunk@21770 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 18:00:00 +00:00
kostello%netscape.com
77c015350f Updated save code to match CSS "Selector to String" code.
We now output the selector from CSS style rules again
when we save a document.


git-svn-id: svn://10.0.0.236/trunk@21769 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 17:59:51 +00:00
beard%netscape.com
33f9460019 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@21768 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 17:58:36 +00:00
pinkerton%netscape.com
20242a49ff Add manifest file for xpcom/src
git-svn-id: svn://10.0.0.236/trunk@21767 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 17:36:37 +00:00
pinkerton%netscape.com
4011fdc5cc remove absolute path in opt target to warren's machine.
git-svn-id: svn://10.0.0.236/trunk@21766 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 17:36:17 +00:00
dcone%netscape.com
1c4a72bf86 Added InsertElementTxn.cpp and nsEditProperty.cpp
git-svn-id: svn://10.0.0.236/trunk@21765 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 17:36:12 +00:00
pinkerton%netscape.com
fbafbed27c First Checked In.
git-svn-id: svn://10.0.0.236/trunk@21764 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 17:35:40 +00:00
larryh%netscape.com
ef07af6c0a lost update?
git-svn-id: svn://10.0.0.236/trunk@21762 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 17:33:00 +00:00
buster%netscape.com
8f4fa61d30 minor interface changes
git-svn-id: svn://10.0.0.236/trunk@21761 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 17:31:09 +00:00
buster%netscape.com
7218a4a579 added InsertElementTxn
added nsEditProperty
beginning of implementation for SetTextProperties.  Currently, it only works if the selection is entirely within a single text node.  Currently only
supports bold and italic (mapped to ctrl-b and ctrl-i for testing purposes.)
changed a bunch of interfaces to make things easier, like CreateElement now returns (as an out-param) the element created.


git-svn-id: svn://10.0.0.236/trunk@21760 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 17:24:37 +00:00
bienvenu%netscape.com
d4e6d41577 fix build bustage
git-svn-id: svn://10.0.0.236/trunk@21759 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 17:23:57 +00:00
troy%netscape.com
985c1c5280 Work-in-progress for having frame construction code handle creation
of continuing frames


git-svn-id: svn://10.0.0.236/trunk@21758 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 17:16:04 +00:00
cata%netscape.com
98917fab07 UnicodeToLatin1 added.
git-svn-id: svn://10.0.0.236/trunk@21757 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 17:10:37 +00:00
cata%netscape.com
c16c143ffd nsUnicodeToLatin1 added.
git-svn-id: svn://10.0.0.236/trunk@21756 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 17:10:04 +00:00
cata%netscape.com
fab932bc7a Small fixes.
git-svn-id: svn://10.0.0.236/trunk@21755 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 17:05:23 +00:00
bienvenu%netscape.com
8d92190b49 remove use of XP_ASSERT
git-svn-id: svn://10.0.0.236/trunk@21754 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 16:34:39 +00:00
pinkerton%netscape.com
ece92e2556 add nsUnicodeEncodeHelper.cpp for cata.
git-svn-id: svn://10.0.0.236/trunk@21753 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 16:31:18 +00:00
cata%netscape.com
6c8670469f UnicodeToLatin1 test added.
git-svn-id: svn://10.0.0.236/trunk@21752 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 16:27:30 +00:00
bienvenu%netscape.com
e286af237d remove use of XP_ASSERT
git-svn-id: svn://10.0.0.236/trunk@21751 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 16:27:28 +00:00
cata%netscape.com
f0e1c4eb33 nsUnicodeEncodeHelper added
git-svn-id: svn://10.0.0.236/trunk@21750 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 15:17:40 +00:00
cata%netscape.com
b63f71ab29 nsConverterCID.h not included anymore.
git-svn-id: svn://10.0.0.236/trunk@21749 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 15:05:33 +00:00
cata%netscape.com
052485e37a nsUnicodeEncodeHelper added.
git-svn-id: svn://10.0.0.236/trunk@21748 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 15:02:08 +00:00
cata%netscape.com
6af4884ea6 UnicodeToLatin1 added.
git-svn-id: svn://10.0.0.236/trunk@21747 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 14:47:42 +00:00
cata%netscape.com
262c16f88c Change back in. I hope no bustage this time...
git-svn-id: svn://10.0.0.236/trunk@21746 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 14:41:41 +00:00
cata%netscape.com
d6348edced File removed.
git-svn-id: svn://10.0.0.236/trunk@21745 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 14:39:15 +00:00
cata%netscape.com
36a32fa1d4 nsIUnicodeEncodeHelper added.
git-svn-id: svn://10.0.0.236/trunk@21744 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 14:38:16 +00:00
cata%netscape.com
e6600273c4 Changed to the new nsIUnicodeEncoder.
git-svn-id: svn://10.0.0.236/trunk@21743 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 14:06:45 +00:00
cata%netscape.com
5355e69e73 Interface complete. Cleaned.
git-svn-id: svn://10.0.0.236/trunk@21742 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 14:06:16 +00:00
leaf%mozilla.org
6d94bdf506 some cvs clients barf without the -d option (stupid, stupid win98 shell)
git-svn-id: svn://10.0.0.236/trunk@21741 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 13:56:23 +00:00
pierre%netscape.com
08424e1fe2 added rdf:util:public:MANIFEST to fix a build breakage
git-svn-id: svn://10.0.0.236/trunk@21740 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 12:01:16 +00:00
hyatt%netscape.com
7ce4e24042 Backing out the onItemClick code. I don't think we should be using it,
since event bubbling appears to be working.


git-svn-id: svn://10.0.0.236/trunk@21739 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 11:15:43 +00:00
warren%netscape.com
2d5fa96b77 Removed dead GetRoot code.
git-svn-id: svn://10.0.0.236/trunk@21738 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 10:54:03 +00:00
warren%netscape.com
de5933b23a Obsolete -- now in local/src/nsLocalMailFolder.[h/cpp]
git-svn-id: svn://10.0.0.236/trunk@21737 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 10:50:44 +00:00
warren%netscape.com
d9b9a230b3 Reorganization. Changes for collections, enumerations, generic folders, file paths, etc.
git-svn-id: svn://10.0.0.236/trunk@21736 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 10:39:06 +00:00
hyatt%netscape.com
863be8a643 Landing support for the special onItemClick default event handler that can be
placed on tree views (and executed in the context of tree items).


git-svn-id: svn://10.0.0.236/trunk@21735 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 10:38:56 +00:00
warren%netscape.com
3b7e819f00 Removed assertion (hit by mail code (bad xul?)).
git-svn-id: svn://10.0.0.236/trunk@21734 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 10:23:27 +00:00
warren%netscape.com
1df9ebe984 Added export/import declaration (temporarily).
git-svn-id: svn://10.0.0.236/trunk@21733 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 09:55:44 +00:00
warren%netscape.com
5a70e75547 Added rdf/util makefiles
git-svn-id: svn://10.0.0.236/trunk@21732 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 09:54:36 +00:00
warren%netscape.com
24f7d24bf0 Updated IIDs
git-svn-id: svn://10.0.0.236/trunk@21731 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 09:31:34 +00:00
warren%netscape.com
b618607b4a Made nsISupportsArray inherit from nsICollection.
git-svn-id: svn://10.0.0.236/trunk@21730 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 09:31:15 +00:00
warren%netscape.com
936646de93 Accidental commit (reverted)
git-svn-id: svn://10.0.0.236/trunk@21729 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 09:28:36 +00:00
warren%netscape.com
32312b1594 Accidental commit (reverted)
git-svn-id: svn://10.0.0.236/trunk@21728 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 09:28:09 +00:00
warren%netscape.com
58444076cd reverted (accidently committed)
git-svn-id: svn://10.0.0.236/trunk@21727 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 09:03:54 +00:00
warren%netscape.com
ec5f7517ea reverted (accidently committed)
git-svn-id: svn://10.0.0.236/trunk@21726 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 09:03:04 +00:00
warren%netscape.com
eca64f8a2e Removed link with rdfutil_s until I can get linux help.
git-svn-id: svn://10.0.0.236/trunk@21725 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 09:01:44 +00:00
warren%netscape.com
f4694c48e5 Added idl
git-svn-id: svn://10.0.0.236/trunk@21724 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 08:46:00 +00:00
mcafee%netscape.com
150ffbab68 Removing unused rules, cleaning this up.
git-svn-id: svn://10.0.0.236/trunk@21723 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 08:39:19 +00:00
mcafee%netscape.com
f4ddc0169c Need -lgfxps to link on linux
git-svn-id: svn://10.0.0.236/trunk@21722 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 08:29:11 +00:00
warren%netscape.com
0618fffb2e Added util lib
git-svn-id: svn://10.0.0.236/trunk@21721 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 08:27:52 +00:00
warren%netscape.com
6c5b21f9c3 Moved nsRDFResource to util.
git-svn-id: svn://10.0.0.236/trunk@21720 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 08:26:30 +00:00
warren%netscape.com
ccb39c8662 Added util directory stuff.
git-svn-id: svn://10.0.0.236/trunk@21719 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 08:25:00 +00:00
warren%netscape.com
b604003f29 Removed demo mail code.
git-svn-id: svn://10.0.0.236/trunk@21718 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 08:03:20 +00:00
warren%netscape.com
f22f6c3326 Removed demo mail datasource.
git-svn-id: svn://10.0.0.236/trunk@21717 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 08:02:28 +00:00
warren%netscape.com
420a9f60e8 Added nsConjoiningEnumerator.cpp
git-svn-id: svn://10.0.0.236/trunk@21716 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 08:01:33 +00:00
warren%netscape.com
04ff0b73e3 Added NS_NewConjoiningEnumerator
git-svn-id: svn://10.0.0.236/trunk@21715 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 07:58:06 +00:00
warren%netscape.com
2e1253b46b Got this stuff functioning.
git-svn-id: svn://10.0.0.236/trunk@21714 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 07:56:00 +00:00
jband%netscape.com
003e43159e banishing win32 specific stuff to its own directory before adding any analogous code for other platforms
git-svn-id: svn://10.0.0.236/trunk@21712 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 07:17:27 +00:00
mcafee%netscape.com
27419b6a07 Solaris warning
git-svn-id: svn://10.0.0.236/trunk@21711 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 07:09:42 +00:00
mcafee%netscape.com
148d290f2a Solaris needs newline at end of file.
git-svn-id: svn://10.0.0.236/trunk@21710 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 07:06:01 +00:00
bienvenu%netscape.com
29de5e46ca make GetFlags pure virtual to fix link error
git-svn-id: svn://10.0.0.236/trunk@21709 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 06:05:33 +00:00
troy%netscape.com
70b1ea8e3f Added frame type atoms for several table frame classes
git-svn-id: svn://10.0.0.236/trunk@21708 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 05:54:31 +00:00
troy%netscape.com
cd4ee3debc Added nsLayoutAtoms::textFrame
git-svn-id: svn://10.0.0.236/trunk@21706 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 05:33:40 +00:00
kipp%netscape.com
93a84ec681 Fixed bug #2885 - the linebreaker couldn't handle a special case...
git-svn-id: svn://10.0.0.236/trunk@21705 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 05:24:06 +00:00
waterson%netscape.com
171a394ac1 Use XUL as default namespace. Fixes GetElementByID() bug.
git-svn-id: svn://10.0.0.236/trunk@21704 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 05:23:26 +00:00
troy%netscape.com
cc2323242f Changed GetNextInFlow() and GetPrevInFlow() to be pointer arguments and
not references


git-svn-id: svn://10.0.0.236/trunk@21702 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 04:48:08 +00:00
waterson%netscape.com
52325e43b2 Made default namespaces work.
git-svn-id: svn://10.0.0.236/trunk@21700 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 04:47:19 +00:00
waterson%netscape.com
1462190b0e Fixed some refcounting bugs with atoms.
git-svn-id: svn://10.0.0.236/trunk@21699 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 04:46:47 +00:00
kipp%netscape.com
8698f50196 Build library properly
git-svn-id: svn://10.0.0.236/trunk@21698 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 04:44:41 +00:00
kipp%netscape.com
98e8b1857d Fixed crash bug where unitialized index would sometimes crash; also increment index in loop so that it terminates
git-svn-id: svn://10.0.0.236/trunk@21697 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 04:34:54 +00:00
briano%netscape.com
6a81cd1d49 Some more minor cleanup, and support for Solaris x86 and Linux Netwinders.
git-svn-id: svn://10.0.0.236/trunk@21696 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 04:33:17 +00:00
troy%netscape.com
cbaac14adf Added CreateContinuingFrame() function to frame construction code
git-svn-id: svn://10.0.0.236/trunk@21695 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 04:03:50 +00:00
cata%netscape.com
f9f76ef341 Backed change.
git-svn-id: svn://10.0.0.236/trunk@21694 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 03:40:34 +00:00
cata%netscape.com
9da05deb81 File deprecated.
git-svn-id: svn://10.0.0.236/trunk@21693 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 03:13:43 +00:00
cata%netscape.com
174d5a6ed0 nsIUnicodeEncodeHelper.h included
git-svn-id: svn://10.0.0.236/trunk@21692 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 03:00:30 +00:00
hyatt%netscape.com
4c9e9083ab Fixing the case of the ID atom (it should have been lower case).
git-svn-id: svn://10.0.0.236/trunk@21691 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 02:58:47 +00:00
bienvenu%netscape.com
afc60221b9 start hacking persistance
git-svn-id: svn://10.0.0.236/trunk@21690 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 02:58:43 +00:00
cata%netscape.com
8822bb229d Latin1 encoder CID added.
git-svn-id: svn://10.0.0.236/trunk@21689 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 02:56:41 +00:00
bienvenu%netscape.com
9cfe41ab86 make dbFolderInfo an interface
git-svn-id: svn://10.0.0.236/trunk@21688 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 02:56:11 +00:00
mscott%netscape.com
c95897bc4c Restore the ability to run multiple urls per smtp test session by using new code to determine if a url
is running or not.


git-svn-id: svn://10.0.0.236/trunk@21687 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 02:31:19 +00:00
mscott%netscape.com
9139f00f4b Flag the smtp url when we are running it....
git-svn-id: svn://10.0.0.236/trunk@21686 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 02:30:27 +00:00
mscott%netscape.com
ae089aebad nsIMsgMailNewsUrl base class updates. Keep track of whether the url is running or not...
git-svn-id: svn://10.0.0.236/trunk@21685 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 02:29:54 +00:00
mscott%netscape.com
b560ffbde3 Use mailnews url base class for interface inheritance....
git-svn-id: svn://10.0.0.236/trunk@21684 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 02:28:44 +00:00
mscott%netscape.com
20e1c90198 Export nsIMsgMailNewsUrl.h
git-svn-id: svn://10.0.0.236/trunk@21683 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 02:27:44 +00:00
mscott%netscape.com
d8c488f5c5 we inherit from the nsIURL interface...
git-svn-id: svn://10.0.0.236/trunk@21682 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 02:26:29 +00:00
mscott%netscape.com
401f517f00 Export nsIMsgMailNewsUrl.h
git-svn-id: svn://10.0.0.236/trunk@21681 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 02:22:22 +00:00
mscott%netscape.com
cbc2f0518d A base class for methods common to all of our mail and news protocol url interfaces.
git-svn-id: svn://10.0.0.236/trunk@21680 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 02:21:31 +00:00
cata%netscape.com
b2efd04e97 Space availability check done for 1 byte, too.
git-svn-id: svn://10.0.0.236/trunk@21679 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 02:18:55 +00:00
hyatt%netscape.com
f5c5ddd71c Fixing the multiple observer crash.
git-svn-id: svn://10.0.0.236/trunk@21678 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 02:18:35 +00:00
sar%netscape.com
8ba45f340c perl script to test viewer
git-svn-id: svn://10.0.0.236/trunk@21677 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 02:16:40 +00:00
beard%netscape.com
e38d03b5a7 Added nsPluginsDirMac.cpp
git-svn-id: svn://10.0.0.236/trunk@21676 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 02:15:11 +00:00
sar%netscape.com
3d84d69a90 make the file have more entries per QA request.
git-svn-id: svn://10.0.0.236/trunk@21675 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 02:15:00 +00:00
ftang%netscape.com
a90bec19e0 fix line break bug for halfwidth / fullwidth form
git-svn-id: svn://10.0.0.236/trunk@21674 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 02:14:59 +00:00
beard%netscape.com
157e3b48ce moved nsPluginDir/nsPluginFile classes to nsPluginDirMac.cpp.
git-svn-id: svn://10.0.0.236/trunk@21673 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 02:13:42 +00:00
cata%netscape.com
1d43049387 File created.
git-svn-id: svn://10.0.0.236/trunk@21672 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 02:13:37 +00:00
beard%netscape.com
4b2d255cf8 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@21671 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 02:12:47 +00:00
beard%netscape.com
c07ac849a3 changed bool to PRBool
git-svn-id: svn://10.0.0.236/trunk@21670 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 02:12:37 +00:00
alecf%netscape.com
aa1a54ce38 update to use new nsCID type
git-svn-id: svn://10.0.0.236/trunk@21669 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 02:07:28 +00:00
alecf%netscape.com
5aeeb657be AddRef and Release return nsrefcnt's
git-svn-id: svn://10.0.0.236/trunk@21668 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 02:06:50 +00:00
alecf%netscape.com
75624e97af fix nsID definition (thanks to shaver for the right combination) to use pointers
git-svn-id: svn://10.0.0.236/trunk@21667 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 02:06:27 +00:00
slamm%netscape.com
3c79e6069e Echo LD_LIBRARY_PATH for configure.
git-svn-id: svn://10.0.0.236/trunk@21666 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 01:41:56 +00:00
larryh%netscape.com
a003c214d5 revert to 3.3, fix my mess
git-svn-id: svn://10.0.0.236/trunk@21665 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 00:41:43 +00:00
larryh%netscape.com
60799b32a6 don't do windows on unix
git-svn-id: svn://10.0.0.236/trunk@21664 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 00:09:40 +00:00
waterson%netscape.com
e9c298b2c5 Made sure to add a named reference to the event handlers. a=sar%netscape.com for checkin during closed tree.
git-svn-id: svn://10.0.0.236/trunk@21663 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-24 00:01:26 +00:00
larryh%netscape.com
02faee3f38 set old (3.0) library names
git-svn-id: svn://10.0.0.236/trunk@21662 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 23:56:05 +00:00
peterl%netscape.com
55e4f7028e Fixed bustage in Clear caused by PRInt32 to PRUint32 conversion
git-svn-id: svn://10.0.0.236/trunk@21659 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 23:31:49 +00:00
despotdaemon%netscape.com
79575e659d Pseudo-automatic update of changes made by phil@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@21658 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 23:12:23 +00:00
larryh%netscape.com
81924850ca add test case for plevent
git-svn-id: svn://10.0.0.236/trunk@21657 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 23:09:54 +00:00
larryh%netscape.com
917b653549 add windows test case for plevent
git-svn-id: svn://10.0.0.236/trunk@21656 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 23:09:10 +00:00
despotdaemon%netscape.com
5f3bc876d1 Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@21654 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 21:32:08 +00:00
despotdaemon%netscape.com
3c43deb793 Pseudo-automatic update of changes made by prusakov@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@21653 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 21:25:58 +00:00
karnaze%netscape.com
6c5308ed49 added printf to flag when a table cell's max element size exceeds its desired size (for bug 3094)
git-svn-id: svn://10.0.0.236/trunk@21652 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 21:03:57 +00:00
law%netscape.com
3e18d9fc97 Turn off USE_NSREG till later - Thanks, John!
git-svn-id: svn://10.0.0.236/trunk@21651 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 20:31:23 +00:00
terry%netscape.com
5738ca12f1 When we do "showall", or ask to rebuild checkin history, then we'll do
a week.  But, more normally, we'll only do two days, since it's much
faster that way, and we need to do this all the time.


git-svn-id: svn://10.0.0.236/trunk@21650 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 20:31:02 +00:00
terry%netscape.com
04d7cc916e Show checkin history up to a week.
git-svn-id: svn://10.0.0.236/trunk@21648 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 20:14:41 +00:00
mscott%netscape.com
7efce2661d Fix build breakage.RemoveElement does not take two arguments....
git-svn-id: svn://10.0.0.236/trunk@21647 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 20:03:33 +00:00
alecf%netscape.com
21d92613ab update to make ns*ID's work
git-svn-id: svn://10.0.0.236/trunk@21646 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 19:58:41 +00:00
law%netscape.com
4825bbf7a6 Landing LIBREG990212_BRANCH to get libreg building on Mac
git-svn-id: svn://10.0.0.236/trunk@21645 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 19:56:57 +00:00
terry%netscape.com
8dc83d3fd1 Added ImageLib component to NGLayout.
git-svn-id: svn://10.0.0.236/trunk@21644 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 19:55:34 +00:00
terry%netscape.com
d1314461d1 Set a few of the missing QAContact fields.
git-svn-id: svn://10.0.0.236/trunk@21643 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 19:48:24 +00:00
kipp%netscape.com
d46d285150 Removed some off by one rendering errors (not a perfect fix!)
git-svn-id: svn://10.0.0.236/trunk@21642 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 19:39:11 +00:00
kipp%netscape.com
a2ce2ee3db Latest snapshot using linux version of the tools
git-svn-id: svn://10.0.0.236/trunk@21641 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 19:38:50 +00:00
kipp%netscape.com
4a4e091470 Removed duplicate closing of the regression data files
git-svn-id: svn://10.0.0.236/trunk@21640 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 19:37:10 +00:00
alecf%netscape.com
2a1ae998ee update uuid's to match real definitions
git-svn-id: svn://10.0.0.236/trunk@21639 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 19:36:23 +00:00
kipp%netscape.com
ed946ccfbf Temporarily mark text and BR frames as replaced elements so that inline reflow will work properly
git-svn-id: svn://10.0.0.236/trunk@21638 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 19:36:14 +00:00
kipp%netscape.com
4585457984 For now text acts like a replaced element
git-svn-id: svn://10.0.0.236/trunk@21637 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 19:35:21 +00:00
kipp%netscape.com
93e88038fa Removed gratuitous destructor
git-svn-id: svn://10.0.0.236/trunk@21636 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 19:34:58 +00:00
kipp%netscape.com
6dfba2e03d Cleanedup vertical alignment support
git-svn-id: svn://10.0.0.236/trunk@21635 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 19:34:37 +00:00
kipp%netscape.com
a65c2103cc Improved vertical alignment correctness; fixed glaring error with box-width and height computation
git-svn-id: svn://10.0.0.236/trunk@21634 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 19:34:17 +00:00
kipp%netscape.com
975a668e6e Removed mLineHeight from the html reflow state; changed the signature of the VerticalAlignFrames method; made DetermineFrameType a callable static method
git-svn-id: svn://10.0.0.236/trunk@21633 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 19:33:34 +00:00
kipp%netscape.com
757ef013b8 Maded DetermineFrameType a callable static method; removed gratuitous line-height calculations
git-svn-id: svn://10.0.0.236/trunk@21632 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 19:33:06 +00:00
kipp%netscape.com
53678f589d Added a warning comment
git-svn-id: svn://10.0.0.236/trunk@21631 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 19:32:33 +00:00
kipp%netscape.com
d314a0492b Revised the signature of the VerticalAlignFrames method
git-svn-id: svn://10.0.0.236/trunk@21630 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 19:32:20 +00:00
kipp%netscape.com
9731c74c2c Compute minimum-line-height and store it into the inline-reflow context
git-svn-id: svn://10.0.0.236/trunk@21629 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 19:32:00 +00:00
alecf%netscape.com
aed185ddf3 fix compilation problem on generated code where we had two variables named "result"
prepare to handle [nonxpcom] object return values


git-svn-id: svn://10.0.0.236/trunk@21628 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 19:30:53 +00:00
slamm%netscape.com
0f7553fa69 Add comment about where nspr tip build gets installed.
git-svn-id: svn://10.0.0.236/trunk@21627 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 19:24:31 +00:00
vidur%netscape.com
2eade89c6f Fixed casing for nsCOMPtr inclusion
git-svn-id: svn://10.0.0.236/trunk@21626 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 19:22:53 +00:00
vidur%netscape.com
64dca5f8b7 Added nsIStyleSheetLinkingElement interface
git-svn-id: svn://10.0.0.236/trunk@21625 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 19:18:34 +00:00
vidur%netscape.com
c1da744044 Added nsIStyleSheetLinkingElement interface and implemented it for LINK and STYLE elements. Got attribute modifications for lists and list items working (including correct renumbering of lists when attribute values change).
git-svn-id: svn://10.0.0.236/trunk@21624 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 19:18:12 +00:00
briano%netscape.com
47d50edee4 Automated update
git-svn-id: svn://10.0.0.236/trunk@21623 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 19:15:42 +00:00
alecf%netscape.com
a17a4eb97b add flag for shaver's XPIDL flag
git-svn-id: svn://10.0.0.236/trunk@21622 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 19:02:27 +00:00
alecf%netscape.com
4011986b23 update now that uuid()s work again
git-svn-id: svn://10.0.0.236/trunk@21621 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 18:51:30 +00:00
pierre%netscape.com
15a6223e7e Put back the code but this time using the newly defined nsIBidirectionalEnumerator
git-svn-id: svn://10.0.0.236/trunk@21620 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 18:49:57 +00:00
mscott%netscape.com
8756b7a3f8 Use correct config\rules.mak file..we were going into the layout one before...
git-svn-id: svn://10.0.0.236/trunk@21619 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 18:31:09 +00:00
edwin%woudt.nl
c8dcf473cc Initial import of Knife's NNTP provider.
git-svn-id: svn://10.0.0.236/trunk@21617 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 18:25:48 +00:00
slamm%netscape.com
4a938e8779 Add threads option. Fix 'NSPR tip build' option.
git-svn-id: svn://10.0.0.236/trunk@21616 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 18:16:11 +00:00
slamm%netscape.com
6ade1d75b8 Add --with-nspr flag to configure when needed.
git-svn-id: svn://10.0.0.236/trunk@21615 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 18:08:52 +00:00
karnaze%netscape.com
3ba813479d added assertion for null peeked frame pointer in Reflow.
git-svn-id: svn://10.0.0.236/trunk@21614 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 18:06:55 +00:00
slamm%netscape.com
0d1074e32a echo the correct name of the included myconfig.sh
git-svn-id: svn://10.0.0.236/trunk@21613 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 17:58:25 +00:00
brade%netscape.com
3a5c59c63f First Checked In.
git-svn-id: svn://10.0.0.236/trunk@21612 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 17:07:25 +00:00
ftang%netscape.com
654b2c2010 add kPlatformCharsetCID
git-svn-id: svn://10.0.0.236/trunk@21611 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 16:52:04 +00:00
ftang%netscape.com
d2ee1b2bf0 add nsMacCharset.cpp
git-svn-id: svn://10.0.0.236/trunk@21610 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 16:51:23 +00:00
ftang%netscape.com
d22f88dc21 fix NS_IMPL_ISUPPORTS problem
git-svn-id: svn://10.0.0.236/trunk@21609 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 16:39:58 +00:00
ftang%netscape.com
01a84af5af add nsUNIXCharset.cpp
git-svn-id: svn://10.0.0.236/trunk@21608 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 16:36:51 +00:00
ftang%netscape.com
cf6417104c fix the NS_IMPL_ISUPPORTS problem
git-svn-id: svn://10.0.0.236/trunk@21607 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 16:36:33 +00:00
pierre%netscape.com
be3111d1b5 Backed out part of the previous checkin to turn Tinderbox green again.
git-svn-id: svn://10.0.0.236/trunk@21606 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 16:30:31 +00:00
ftang%netscape.com
c5f587f69a add nsIPlatformCharset
git-svn-id: svn://10.0.0.236/trunk@21605 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 16:25:25 +00:00
ftang%netscape.com
6d4ef66811 add nsWinCharset.cpp
git-svn-id: svn://10.0.0.236/trunk@21604 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 16:21:56 +00:00
ftang%netscape.com
88f7367de4 chnage the line breaker interface to a simple one
git-svn-id: svn://10.0.0.236/trunk@21603 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 16:20:39 +00:00
coop%netscape.com
239234185f NOT YET PART OF SEAMONKEY:
* fixed casting problem in calls to Do8


git-svn-id: svn://10.0.0.236/trunk@21602 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 16:17:37 +00:00
shaver%netscape.com
8f1e36024b handle new and old libIDL, [notxpcom], #ifdef XPIDL_JS_STUBS
git-svn-id: svn://10.0.0.236/trunk@21601 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 15:28:58 +00:00
pierre%netscape.com
217fe9735b Fixed #3154 "Events don't work with fixed positioning". Fixed "clicks in vScrollBar down arrow are ignored".
git-svn-id: svn://10.0.0.236/trunk@21600 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 12:53:28 +00:00
grail%cafebabe.org
ca7cbb47b1 Oopsie. MailServerPrefsEditor now initializes values.
git-svn-id: svn://10.0.0.236/trunk@21599 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 11:34:59 +00:00
edwin%woudt.nl
dcbc969438 Uhmm... I guess it was late when I updated this file.
git-svn-id: svn://10.0.0.236/trunk@21598 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 10:24:06 +00:00
ftang%netscape.com
c5742c86b2 backout accidential check in
git-svn-id: svn://10.0.0.236/trunk@21597 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 10:06:47 +00:00
ftang%netscape.com
f2eb9ef0cd add two new files
git-svn-id: svn://10.0.0.236/trunk@21596 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 09:55:55 +00:00
ftang%netscape.com
ce5573b51a move class definitation into nsWinCharset.cpp
git-svn-id: svn://10.0.0.236/trunk@21595 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 09:52:48 +00:00
ftang%netscape.com
6b54b5a289 remove nsWinCharset.h
git-svn-id: svn://10.0.0.236/trunk@21594 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 09:52:11 +00:00
ftang%netscape.com
b272b8fc3b add several new files
git-svn-id: svn://10.0.0.236/trunk@21593 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 09:48:43 +00:00
ftang%netscape.com
4d23c88fb4 add nsIPlatformCharset.h
git-svn-id: svn://10.0.0.236/trunk@21592 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 09:46:58 +00:00
pierre%netscape.com
e44999b362 Restored the v1.76 code for the loops through the children (no nsCOMPtr, no RTTI - today's problem was one too many). Updated comments.
git-svn-id: svn://10.0.0.236/trunk@21591 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 09:14:36 +00:00
warren%netscape.com
ddf031a5e8 Added check for null border.
git-svn-id: svn://10.0.0.236/trunk@21590 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 09:01:21 +00:00
pierre%netscape.com
3b20c67e63 added some comments
git-svn-id: svn://10.0.0.236/trunk@21589 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 09:00:16 +00:00
pierre%netscape.com
69306daed4 turned RTTI off
git-svn-id: svn://10.0.0.236/trunk@21588 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 08:59:45 +00:00
warren%netscape.com
80d60a5255 Added nsSupportsArrayEnumerator.cpp
git-svn-id: svn://10.0.0.236/trunk@21587 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 08:11:43 +00:00
warren%netscape.com
cb10d9f3a0 Cleaned up nsICollection and nsIEnumerator. Broke out nsIBidirectionalEnumerator. Added ISupportsArray enumerator. Cleaned nsISupportsArray.
git-svn-id: svn://10.0.0.236/trunk@21585 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 08:10:24 +00:00
warren%netscape.com
a6c9db8b16 Added nsSupportsArrayEnumerator
git-svn-id: svn://10.0.0.236/trunk@21584 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 08:04:28 +00:00
warren%netscape.com
d1e17d4dea Added forgotten initialization.
git-svn-id: svn://10.0.0.236/trunk@21583 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 08:01:02 +00:00
saari%netscape.com
377ff86635 nsWebShellWindow.cpp
nsWebShellWindow.h

Broke up more of menu loading code into functions for readablity and to allow hierarchical menu loading.


git-svn-id: svn://10.0.0.236/trunk@21582 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 07:52:14 +00:00
leaf%mozilla.org
179d712308 cleaned status of illegal references
git-svn-id: svn://10.0.0.236/trunk@21581 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 07:38:26 +00:00
warren%netscape.com
6c2a6c03c0 Added check for forgotten error that caused hang on failure.
git-svn-id: svn://10.0.0.236/trunk@21580 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 07:17:10 +00:00
putterman%netscape.com
4b366d00de These got moved to the build directory.
git-svn-id: svn://10.0.0.236/trunk@21579 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 07:13:38 +00:00
putterman%netscape.com
672de92d3a Create the dll in the build directory, not here.
git-svn-id: svn://10.0.0.236/trunk@21578 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 07:09:34 +00:00
putterman%netscape.com
ea080443e6 Added build directory.
git-svn-id: svn://10.0.0.236/trunk@21577 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 07:08:56 +00:00
putterman%netscape.com
54d6d16add removed nsMsgLocalMailFolder so it can go in local directory.
git-svn-id: svn://10.0.0.236/trunk@21576 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 05:24:52 +00:00
putterman%netscape.com
9b5a363ed9 Added nsLocalMailFolder to local directory.
git-svn-id: svn://10.0.0.236/trunk@21575 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 05:23:06 +00:00
mcafee%netscape.com
d6f61f2865 C++ comments in C file.
git-svn-id: svn://10.0.0.236/trunk@21574 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 05:04:56 +00:00
warren%netscape.com
c49d0d89a8 Fixed NS_INIT_REFCNT problem.
git-svn-id: svn://10.0.0.236/trunk@21573 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 04:37:31 +00:00
troy%netscape.com
596795551c Added include of $(PUBLIC)\unicharutil to fix build bustage
git-svn-id: svn://10.0.0.236/trunk@21572 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 04:28:08 +00:00
briano%netscape.com
ef895ffca9 This version works a bit better, and is much more platform-independent. But it could be better....
git-svn-id: svn://10.0.0.236/trunk@21571 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 03:52:21 +00:00
karnaze%netscape.com
3955f8e7f3 better sizing of form controls, especially percentage based sizes and max element sizes
git-svn-id: svn://10.0.0.236/trunk@21570 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 03:48:01 +00:00
grail%cafebabe.org
bbf9e64a65 First attempt at the preference dialog.
git-svn-id: svn://10.0.0.236/trunk@21569 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 03:44:34 +00:00
ducarroz%netscape.com
fc3f62f474 change composelib to msgcompose.lib
git-svn-id: svn://10.0.0.236/trunk@21568 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 03:40:55 +00:00
ducarroz%netscape.com
dc6c3011ec Define FE_Alert as printf
git-svn-id: svn://10.0.0.236/trunk@21567 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 03:39:38 +00:00
bienvenu%netscape.com
054b6ef66b fix name of exe for clobber target
git-svn-id: svn://10.0.0.236/trunk@21566 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 03:38:32 +00:00
ducarroz%netscape.com
00cd0660e1 change library name
git-svn-id: svn://10.0.0.236/trunk@21565 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 03:38:09 +00:00
bienvenu%netscape.com
3c6fd63262 add new hdr to db to commit it
git-svn-id: svn://10.0.0.236/trunk@21564 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 03:37:21 +00:00
ducarroz%netscape.com
94c3bc55ec did some clean-up and reformating
git-svn-id: svn://10.0.0.236/trunk@21563 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 03:36:56 +00:00
bienvenu%netscape.com
d435333405 add back mdbstubs.obj
git-svn-id: svn://10.0.0.236/trunk@21562 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 03:35:42 +00:00
ducarroz%netscape.com
4877e32e8f Add directory compose
git-svn-id: svn://10.0.0.236/trunk@21561 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 03:34:17 +00:00
bienvenu%netscape.com
eecca19c15 add new notifications, char set as string new method to create hdr and add to db
git-svn-id: svn://10.0.0.236/trunk@21560 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 03:34:02 +00:00
mcmullen%netscape.com
74e9a93bcf Update
git-svn-id: svn://10.0.0.236/trunk@21559 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 03:32:00 +00:00
ftang%netscape.com
0c167bb377 add S/GetLineBreaker to nsIDocument.h. Reviewed by kipp and waterson
git-svn-id: svn://10.0.0.236/trunk@21558 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 03:31:26 +00:00
ducarroz%netscape.com
7db1f7033f Initial check in
git-svn-id: svn://10.0.0.236/trunk@21557 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 03:26:08 +00:00
mscott%netscape.com
d86e09b16b Implement operator= for nsFilePath when given an nsFilePath. a=mcmullen...
git-svn-id: svn://10.0.0.236/trunk@21556 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 03:10:29 +00:00
hyatt%netscape.com
21995bf11c Touched the files auto-generatedb y the IDL. Also implemented getElementByAttribute
for documents and for elements.


git-svn-id: svn://10.0.0.236/trunk@21554 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 02:40:51 +00:00
hyatt%netscape.com
2450c0ee83 Touched the headers that are auto-generated from the IDL.
git-svn-id: svn://10.0.0.236/trunk@21553 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 02:40:26 +00:00
hyatt%netscape.com
b13db84c95 Adding a getElementsByAttribute method.
git-svn-id: svn://10.0.0.236/trunk@21552 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 02:40:06 +00:00
hyatt%netscape.com
23b3de1494 Changing selection in the tree.
git-svn-id: svn://10.0.0.236/trunk@21550 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 02:39:44 +00:00
alecf%netscape.com
e1052d2ede fix cases where native method wasn't being called on XPIDL void functions.
Add cases for methods with and without parameters, and with and without return types.


git-svn-id: svn://10.0.0.236/trunk@21549 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 02:39:31 +00:00
alecf%netscape.com
5126032312 add a space in between the new native type and the old one.
git-svn-id: svn://10.0.0.236/trunk@21548 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 02:38:16 +00:00
cyeh%netscape.com
63a8568ff8 fix stupid bug where clobber_all clobbered everything but mozilla/xpfe.
this should be cleaned up to something more elegant later.


git-svn-id: svn://10.0.0.236/trunk@21543 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 02:29:08 +00:00
ftang%netscape.com
d997998a21 Make Case conversion work for non-Latin1 Unicode. Reviewed by kipp. Perofrmance is the same after changing this.
git-svn-id: svn://10.0.0.236/trunk@21542 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 02:27:54 +00:00
ftang%netscape.com
a558186c75 performance tuning for ToTitle method
git-svn-id: svn://10.0.0.236/trunk@21541 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 02:24:40 +00:00
alecf%netscape.com
0b40ca28ff update IDL interfaces and add some new ones
git-svn-id: svn://10.0.0.236/trunk@21540 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 02:19:53 +00:00
mcmullen%netscape.com
fc3b93ecef Final update - landing our branch.
git-svn-id: svn://10.0.0.236/trunk@21539 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 02:16:21 +00:00
rickg%netscape.com
b080bc7e52 added stubs for expat
git-svn-id: svn://10.0.0.236/trunk@21536 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 01:57:13 +00:00
alecf%netscape.com
04451dc06b we need to export nsMsgSend
git-svn-id: svn://10.0.0.236/trunk@21535 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 01:44:38 +00:00
alecf%netscape.com
1afe34dacc clean up trailing text after #endif's
git-svn-id: svn://10.0.0.236/trunk@21534 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 01:44:14 +00:00
alecf%netscape.com
4a31fd689e remove trailing text after #endif's
git-svn-id: svn://10.0.0.236/trunk@21533 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 01:42:32 +00:00
alecf%netscape.com
213075ad38 don't put text on the end of an #endif
git-svn-id: svn://10.0.0.236/trunk@21532 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 01:41:06 +00:00
alecf%netscape.com
a96513d0cf add this so XPIDL is happy
git-svn-id: svn://10.0.0.236/trunk@21531 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 01:39:55 +00:00
mscott%netscape.com
122438de05 Include msgCore.h at top of the file for pre-compiled headers. added code to hook up msg send to the new smtp service for actually sending the mail message.
git-svn-id: svn://10.0.0.236/trunk@21530 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 01:38:25 +00:00
putterman%netscape.com
d8df0e6b38 Added factory to local directory.
git-svn-id: svn://10.0.0.236/trunk@21529 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 01:32:45 +00:00
pinkerton%netscape.com
d47e32037c Temp fix for RTTI problems that are holding the tree closed. beard and pierre will discuss a real fix later. My comment at the top of this file summarizes the problem.
git-svn-id: svn://10.0.0.236/trunk@21528 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 01:28:25 +00:00
mscott%netscape.com
7b228c1f4a Export nsISmtpService.h
git-svn-id: svn://10.0.0.236/trunk@21527 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 01:17:25 +00:00
radha%netscape.com
ccf25fd2cb Autoregister the RDF library interfaces so that apprunner will display the
toolbar and the default page when invoked with no argument.


git-svn-id: svn://10.0.0.236/trunk@21524 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 01:07:27 +00:00
mscott%netscape.com
ee9864a3b8 Remove dependency on compose.lib because we now use the compose dll which is automatically registered...
git-svn-id: svn://10.0.0.236/trunk@21523 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 01:06:05 +00:00
mscott%netscape.com
b5d4de6f11 Remove all dependencies on compose.lib. Use the new Smtp Service for running urls....Right now the test exe doesn't let you run more than one command...I'll fix this later...
git-svn-id: svn://10.0.0.236/trunk@21522 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 01:05:24 +00:00
mscott%netscape.com
96ae53ec00 Remove commented out dependency on netlib.lib...
git-svn-id: svn://10.0.0.236/trunk@21521 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 01:03:51 +00:00
edwin%woudt.nl
29eb090ce8 Initial import of the status overview. Feel free to change the status on anything you're working on.
git-svn-id: svn://10.0.0.236/trunk@21520 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 01:03:01 +00:00
mscott%netscape.com
e0810a7038 Added DLL self registration code. Ability to create smtp service object. Changed class name to reflect the fact that this is a factory for compose....
git-svn-id: svn://10.0.0.236/trunk@21519 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 01:02:49 +00:00
mscott%netscape.com
b5580a8f97 Interface updates to use nsString and nsFilePath....
git-svn-id: svn://10.0.0.236/trunk@21518 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 01:00:42 +00:00
mscott%netscape.com
9e90f21952 Changes to update new nsISmtpUrl interface...
git-svn-id: svn://10.0.0.236/trunk@21517 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 00:59:57 +00:00
mscott%netscape.com
7275cf4cbd Interface changes to support nsString and nsFilePath. Also, correctly parse out host and port in mailto urls...
git-svn-id: svn://10.0.0.236/trunk@21516 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 00:58:24 +00:00
mscott%netscape.com
2535706e7e built smtp service.....
git-svn-id: svn://10.0.0.236/trunk@21515 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 00:57:14 +00:00
mscott%netscape.com
e027401d35 Smtp service for handling smtp requests in the mail application. This abstracts away the need for the app to know how to create smtp urls and smtp connections...
git-svn-id: svn://10.0.0.236/trunk@21514 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 00:56:39 +00:00
mscott%netscape.com
a077f80db0 Export nsISmtpService.h
git-svn-id: svn://10.0.0.236/trunk@21513 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 00:55:38 +00:00
mscott%netscape.com
792d857087 Service for handling SMTP requests....this abstracts away the process of creating an SMTP url and an SMTP connection to run the url from the application...
git-svn-id: svn://10.0.0.236/trunk@21512 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 00:55:10 +00:00
mscott%netscape.com
a55b21fec4 Adding some more common includes --> including the repository, service manager, nsCRT....
git-svn-id: svn://10.0.0.236/trunk@21511 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 00:54:02 +00:00
putterman%netscape.com
d0cee28db8 Make local its own dll.
git-svn-id: svn://10.0.0.236/trunk@21510 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 00:48:09 +00:00
putterman%netscape.com
54d60ac524 Take tests directory out of the build until we fix exporting issues.
git-svn-id: svn://10.0.0.236/trunk@21508 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 00:31:16 +00:00
bienvenu%netscape.com
9041b188f9 hook up more db folder info members to mdb
git-svn-id: svn://10.0.0.236/trunk@21507 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 00:20:50 +00:00
cyeh%netscape.com
0aa57c8318 this application has mfc dependencies. checking in now to do the stupid
thing and fix people. will have to go back and fix this properly.


git-svn-id: svn://10.0.0.236/trunk@21506 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 00:05:31 +00:00
edwin%woudt.nl
f1bcc872d3 We now have a working POP3 Store. You need to download SUN's POP3 provider for JavaMail for this. We now don't use grendel's POP3 Store anymore.
git-svn-id: svn://10.0.0.236/trunk@21504 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 23:33:32 +00:00
bienvenu%netscape.com
58189586c8 use nsNativeFileSpec to construct pop state.dat file name
git-svn-id: svn://10.0.0.236/trunk@21503 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 23:28:41 +00:00
despotdaemon%netscape.com
e7438f4393 Pseudo-automatic update of changes made by davidmc@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@21502 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 23:25:20 +00:00
rickg%netscape.com
4566c0af09 fixed bug 2946
git-svn-id: svn://10.0.0.236/trunk@21500 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 23:18:43 +00:00
rickg%netscape.com
c994bcc637 fixed bug 2946
git-svn-id: svn://10.0.0.236/trunk@21499 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 23:17:05 +00:00
slamm%netscape.com
c93c74cddd nope, didn't work. remove it.
git-svn-id: svn://10.0.0.236/trunk@21498 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 23:12:39 +00:00
dougt%netscape.com
d4d557e798 Getting closer to milestone 2. More additions to the functionality of
xpinstall.

This is not part of the build process yet.


git-svn-id: svn://10.0.0.236/trunk@21496 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 23:10:23 +00:00
slamm%netscape.com
586994c681 Put this back and try again.
git-svn-id: svn://10.0.0.236/trunk@21495 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 23:07:24 +00:00
putterman%netscape.com
d20fc9f5e5 added NET_SACopy.
git-svn-id: svn://10.0.0.236/trunk@21494 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 23:03:53 +00:00
putterman%netscape.com
0403a01870 Add new parameters for width and height.
git-svn-id: svn://10.0.0.236/trunk@21493 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 23:00:36 +00:00
alecf%netscape.com
f999add513 fix XUL to match new command mechanism
git-svn-id: svn://10.0.0.236/trunk@21492 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 22:36:29 +00:00
mcmullen%netscape.com
2f12896d48 Remove the illegal semicolon after extern "C" {}
git-svn-id: svn://10.0.0.236/trunk@21489 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 22:25:10 +00:00
ftang%netscape.com
14f4b5ee95 fix ToTitle bug- make it compatabile to CSS Capitalize. Comment #ifndef XP_UNIX to make the auto registry work
git-svn-id: svn://10.0.0.236/trunk@21488 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 22:20:01 +00:00
despotdaemon%netscape.com
f61b96d0bd Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@21487 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 21:57:53 +00:00
rickg%netscape.com
d1023a23b1 fixed autoclose problem that Harish found
git-svn-id: svn://10.0.0.236/trunk@21486 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 20:55:15 +00:00
kin%netscape.com
e67967c1c2 Added IID() methods.
git-svn-id: svn://10.0.0.236/trunk@21485 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 19:56:57 +00:00
bienvenu%netscape.com
cd81f2b734 fix off by one error in line parsing code
git-svn-id: svn://10.0.0.236/trunk@21483 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 19:14:25 +00:00
fur%netscape.com
4dd6cc4ce1 Fix linkage problems on FreeBSD by adding -E linker option when building libPackage.so. Patch contributed by Amancio Hasty <hasty@rah.star-gate.com>.
git-svn-id: svn://10.0.0.236/trunk@21482 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 19:10:16 +00:00
saari%netscape.com
2bb1188bc8 tweak to mac menu logic
git-svn-id: svn://10.0.0.236/trunk@21481 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 19:10:05 +00:00
mjudge%netscape.com
49a8c115d7 Fixing nsCOMPtr misusage.
git-svn-id: svn://10.0.0.236/trunk@21479 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 19:06:48 +00:00
slamm%netscape.com
3838e04036 Server isn't ready for this file.
git-svn-id: svn://10.0.0.236/trunk@21478 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 19:06:20 +00:00
saari%netscape.com
0a38ef9c39 MacOS menus can support hierarchical menus now. nsWebShellWindow::LoadMenus() needs to be modified to support this.
git-svn-id: svn://10.0.0.236/trunk@21477 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 19:05:48 +00:00
hyatt%netscape.com
adaf4c6828 Re-enabling event handlers.
git-svn-id: svn://10.0.0.236/trunk@21476 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 19:05:30 +00:00
rods%netscape.com
819a746c89 Changed display type of titlebutton to inline
git-svn-id: svn://10.0.0.236/trunk@21475 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 19:01:13 +00:00
slamm%netscape.com
ac8a85f77d Allow 'SaveAs' to have correct name.
git-svn-id: svn://10.0.0.236/trunk@21474 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 18:59:18 +00:00
kmcclusk%netscape.com
62807409da Added support for creating a postscript device context for printing under GTK.
Sanitized the GTK nsDeviceContextSpecFactoryG, nsRenderingContextPS, nsDeviceContextPS,
and nsDeviceContextSpecG by removing WIN32 dependencies.
Added checks for null widgets in nsWidget and nsScrollbar GTK implementations.


git-svn-id: svn://10.0.0.236/trunk@21472 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 18:56:54 +00:00
slamm%netscape.com
430639dafc If the tree hasn't been pulled, client.mk needs to checkout build/autoconf/myconfig2defs.sh before it does anything else.
git-svn-id: svn://10.0.0.236/trunk@21471 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 18:48:51 +00:00
briano%netscape.com
2399e7a018 Automated update
git-svn-id: svn://10.0.0.236/trunk@21470 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 18:31:44 +00:00
slamm%netscape.com
8462c67f4e Little patch for -md dependencies.
git-svn-id: svn://10.0.0.236/trunk@21469 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 18:26:12 +00:00
bienvenu%netscape.com
6a966cfe55 hook up more db folder info stuff to mdb
git-svn-id: svn://10.0.0.236/trunk@21468 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 18:05:23 +00:00
slamm%netscape.com
27b7ce4ca4 Fix incorrect path for NSPR install dir.
git-svn-id: svn://10.0.0.236/trunk@21467 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 17:36:36 +00:00
buster%netscape.com
fb7ad5c58c caught up to new ScrollIntoView changes.
most transactions now properly set selection after modifying content, for Do, Undo, Redo.
lots of cleanup and minor bug fixes.


git-svn-id: svn://10.0.0.236/trunk@21466 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 15:53:31 +00:00
dcone%netscape.com
294ccdc501 Added fixes to get it to compile under UNIX
git-svn-id: svn://10.0.0.236/trunk@21465 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 15:00:59 +00:00
pierre%netscape.com
32d8cf8e04 don't dispatch cursor keys
git-svn-id: svn://10.0.0.236/trunk@21464 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 11:21:23 +00:00
pierre%netscape.com
46dac9a429 don't dispatch cursor keys / minor fixes
git-svn-id: svn://10.0.0.236/trunk@21463 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 11:20:57 +00:00
pierre%netscape.com
4c1175e4b0 added combobox (= popup) to the Mac
git-svn-id: svn://10.0.0.236/trunk@21462 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 10:22:45 +00:00
pierre%netscape.com
1c8fd37df1 inherits from Repeater
git-svn-id: svn://10.0.0.236/trunk@21461 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 10:21:51 +00:00
pierre%netscape.com
276c8cb22e numerous changes
git-svn-id: svn://10.0.0.236/trunk@21460 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 10:21:37 +00:00
pierre%netscape.com
c52d2e5834 added GetUniqueMenuID() (needed for popups)
git-svn-id: svn://10.0.0.236/trunk@21459 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 10:21:20 +00:00
pierre%netscape.com
45b1a40c7a added mMin/mMax (needed for popups)
git-svn-id: svn://10.0.0.236/trunk@21458 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 10:20:59 +00:00
pierre%netscape.com
c5e9e52519 removed outdated comments
git-svn-id: svn://10.0.0.236/trunk@21457 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 10:20:39 +00:00
grail%cafebabe.org
20526c39e0 Automagically add a scrollpane whenever a jlist is added.
git-svn-id: svn://10.0.0.236/trunk@21456 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 07:54:14 +00:00
mjudge%netscape.com
39c608b459 adding comments to interfaces
git-svn-id: svn://10.0.0.236/trunk@21455 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 05:19:06 +00:00
mjudge%netscape.com
22b8399dde Added, jump to prev word, modified INIT of nsTextTransformer to better prepare for a start offset at the end of the mFrags list. added implementation of extra parameter to nsIFrame::PeekOffset to keep state for the next word problem of eating ws. nsTextFrame should be all set on implementation of jumping words.
git-svn-id: svn://10.0.0.236/trunk@21454 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 04:59:52 +00:00
mjudge%netscape.com
537c9cb5ea adding parameter to nsIFrame for ::PeekOffset to be aware of the state of jumping a word. eating WS ect. also, nsRangeList sends the proper parameter for above change.
git-svn-id: svn://10.0.0.236/trunk@21453 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 04:57:44 +00:00
troy%netscape.com
957c46c254 More work-in-progress for table pagination
git-svn-id: svn://10.0.0.236/trunk@21452 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 03:28:00 +00:00
mjudge%netscape.com
465cddb814 gettig word jumping to work, adding GetPrevWord to texttransformer
git-svn-id: svn://10.0.0.236/trunk@21451 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 03:20:59 +00:00
mjudge%netscape.com
4589e1e0e1 adding word jumping with CNTRL char down now
git-svn-id: svn://10.0.0.236/trunk@21450 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 03:20:18 +00:00
mjudge%netscape.com
58cba90e27 adding NPL
git-svn-id: svn://10.0.0.236/trunk@21449 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 03:19:24 +00:00
brendan%netscape.com
b844735e32 - Use write rather than dump consistently (dump has unfortunate connotations).
- Avoid gratuitous extra newlines in foo.h compiled from foo.idl.
- Use do-while, not for or while, guarded by if that tests the loop condition.
- Use NS_EXPORT to qualify static InitJSClass and GetJSObject method.
- Turn enum declarations within interfaces into JS class constant numbers.
- Defend against null return from JS_GetPrivate (prototype and user-constructed
  objects have no private data).


git-svn-id: svn://10.0.0.236/trunk@21446 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 00:24:34 +00:00
mcmullen%netscape.com
cd5b595562 Took another one for nsIFile.
git-svn-id: svn://10.0.0.236/trunk@21445 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 00:15:46 +00:00
rods%netscape.com
0a40cda128 MOved XULCommand to src and it is now acting like a menu delegate,
all that reminas is to rename it.


git-svn-id: svn://10.0.0.236/trunk@21444 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-21 21:04:21 +00:00
rods%netscape.com
55acfd21d7 Remmoved nsIXULCommand.h
git-svn-id: svn://10.0.0.236/trunk@21443 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-21 20:52:29 +00:00
rods%netscape.com
e05f7ca3cb Added static IID method
git-svn-id: svn://10.0.0.236/trunk@21442 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-21 20:52:04 +00:00
rods%netscape.com
0588c407d6 MOved from public to src, it doesn't need to be exported
git-svn-id: svn://10.0.0.236/trunk@21441 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-21 20:51:12 +00:00
mcafee%netscape.com
1fc62fe57b Optionally include .client-defs.mk, client.mk should still work if you don't have this file.
git-svn-id: svn://10.0.0.236/trunk@21440 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-21 20:18:10 +00:00
troy%netscape.com
16495c746c Changed GetRowIndex() so that for continued cell frames the row index is
that of the cell's first-in-flow


git-svn-id: svn://10.0.0.236/trunk@21439 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-21 19:55:22 +00:00
mjudge%netscape.com
c1304ffecc Needed methods to disable the ScrollFrameIntoView because of resizing causing scrolling to snap selection into view. 3 helper fucs, 1 variable, PRBool mEnableScrolling defaulted to true of course
git-svn-id: svn://10.0.0.236/trunk@21438 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-21 19:43:40 +00:00
troy%netscape.com
0d87e040a3 Changed DeleteChildsNextInFlow() to use the nsFrameList::RemoveFrame() function
instead of what it was doing, because the assumption it was making about "aChild"
and "nextInFlow" sharing the same parent frame is not true for continued table cells


git-svn-id: svn://10.0.0.236/trunk@21437 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-21 18:59:00 +00:00
troy%netscape.com
19cf644cc1 Changed GetEffectiveRowSpan()
git-svn-id: svn://10.0.0.236/trunk@21436 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-21 18:38:41 +00:00
pavlov%pavlov.net
c654edd155 minor code cleanups
git-svn-id: svn://10.0.0.236/trunk@21435 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-21 17:40:00 +00:00
rods%netscape.com
694e9f8145 Added Set/GetEnabled and Set/GetChecked methods
git-svn-id: svn://10.0.0.236/trunk@21434 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-21 14:31:19 +00:00
ramiro%netscape.com
20f6409a0f Fixing the stderr brain damage.
This code is obsolete, but it will server as documentation someday.


git-svn-id: svn://10.0.0.236/trunk@21433 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-21 12:24:46 +00:00
mjudge%netscape.com
f405547ad2 fixing leak with selection. didnt realize that ElementAt caused a refcount. this should fix problem of selection not allowing presshell to go away.
git-svn-id: svn://10.0.0.236/trunk@21432 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-21 05:14:36 +00:00
mjudge%netscape.com
57b5f5c79b adding scrolling depending on selection modification. either by key event, or outside event.
git-svn-id: svn://10.0.0.236/trunk@21431 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-21 03:49:32 +00:00
mjudge%netscape.com
988ca9603d depricating the ScrollIntoView call. dont need it. the selection modification assures us of scrolling to view after batching.
git-svn-id: svn://10.0.0.236/trunk@21430 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-21 03:48:52 +00:00
edwin%woudt.nl
a8b27bf38c This patch is to make sure that Giao can work on the prefs code without problems because I'm messing aroung with the multiple personalities code. So now first everything gets stored in the default identity. If you want more identities you'll have to hack
git-svn-id: svn://10.0.0.236/trunk@21429 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-21 03:00:15 +00:00
pierre%netscape.com
7d87b43f95 made gWindowlessMenuEventHandler a private member variable (#3203: RX: Mac widgets)
git-svn-id: svn://10.0.0.236/trunk@21428 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-21 02:48:02 +00:00
edwin%woudt.nl
67226c1e96 I created a new contrib dir for code/data that should not go into the main tree, but which might be of some interest to developers. The first entry is a Codewarrior project file from Wesley Felter.
git-svn-id: svn://10.0.0.236/trunk@21427 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-21 02:22:51 +00:00
pierre%netscape.com
3e39d64a45 added nsDeleteObserver (#3147: crashes on mouseMoved or closeWindow)
git-svn-id: svn://10.0.0.236/trunk@21426 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-21 02:10:36 +00:00
pierre%netscape.com
e6d0867a28 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@21425 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-21 02:01:46 +00:00
pierre%netscape.com
593668da2a returns eConsumeNoDefault after closing a window
git-svn-id: svn://10.0.0.236/trunk@21424 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-21 02:01:16 +00:00
pierre%netscape.com
a51a1d37cb removed outdated comments
git-svn-id: svn://10.0.0.236/trunk@21423 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-21 01:57:48 +00:00
mjudge%netscape.com
581b55a5ac Shift click to continue selection
git-svn-id: svn://10.0.0.236/trunk@21422 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-21 01:23:40 +00:00
jband%netscape.com
83081501e5 lots of cleanup
git-svn-id: svn://10.0.0.236/trunk@21418 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-21 00:20:40 +00:00
grail%cafebabe.org
f4ebc31945 Enhanced gridwidth/gridheight improvements.
git-svn-id: svn://10.0.0.236/trunk@21417 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 23:53:48 +00:00
mjudge%netscape.com
46b7661e5e Extra parameter in nsIFrameSeleciton HandleKeyEvent not necessary. nsRangeList mod now allows SHIFT-Key selection. currently bound directly to VK_LEFT,RIGHT should be changed eventually to something more internationaly friendly
git-svn-id: svn://10.0.0.236/trunk@21416 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 23:52:05 +00:00
grail%cafebabe.org
3ab15ad3ae Removed lame columns field for mail directory field.
git-svn-id: svn://10.0.0.236/trunk@21414 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 23:39:04 +00:00
grail%cafebabe.org
de35e41c69 UserPrefsEditor loads values from xena.pref.
git-svn-id: svn://10.0.0.236/trunk@21413 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 22:55:37 +00:00
grail%cafebabe.org
9e6564f1e1 PageUI now supports initAll() and saveAll().
git-svn-id: svn://10.0.0.236/trunk@21412 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 22:53:02 +00:00
edwin%woudt.nl
efde44a684 Fixing small itches with quoting and signatures
git-svn-id: svn://10.0.0.236/trunk@21411 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 22:19:32 +00:00
edwin%woudt.nl
cea97c5cae Adding the toolbar button pictures for adding the signature. Somebody should draw better ones.
git-svn-id: svn://10.0.0.236/trunk@21410 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 22:08:55 +00:00
edwin%woudt.nl
40c48fa727 Grendel now handels signatures (one can have a different signature for every personality)
git-svn-id: svn://10.0.0.236/trunk@21409 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 22:07:12 +00:00
buster%netscape.com
4df8a07f61 beginning work on ScrollToFrame
git-svn-id: svn://10.0.0.236/trunk@21408 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 21:29:27 +00:00
buster%netscape.com
8a7091809c the pres shell now respects NS_PRESSHELL_SCROLL_ANYWHERE for vertical scrolling.
this is a hack implementation, to be recoded by the layout team


git-svn-id: svn://10.0.0.236/trunk@21407 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 21:27:28 +00:00
edwin%woudt.nl
e712d9c08a When replying the message is quoted automatically now, so you don't have to push that 'quote' button.
git-svn-id: svn://10.0.0.236/trunk@21406 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 21:03:09 +00:00
pavlov%pavlov.net
e8c5e7c32c nsAppShell isn't an nsWidget, so don't cast it as so. This fixes the
nsRepository::CreateInstance for nsAppShell from viewer so it doesn't return
with an error for me.


git-svn-id: svn://10.0.0.236/trunk@21405 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 19:56:01 +00:00
jband%netscape.com
8281f81e8a compiler warning inspired fixes
git-svn-id: svn://10.0.0.236/trunk@21404 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 09:00:55 +00:00
jband%netscape.com
a42acfdfd4 compiler warning inspired fixes
git-svn-id: svn://10.0.0.236/trunk@21403 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 08:52:00 +00:00
jband%netscape.com
52667cdf63 added file to Makefile.in and fixed typo
git-svn-id: svn://10.0.0.236/trunk@21402 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 08:33:21 +00:00
jband%netscape.com
c7bae7988a jsint was supposed to be jsid
git-svn-id: svn://10.0.0.236/trunk@21401 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 08:31:36 +00:00
slamm%netscape.com
2870c0620c Get rid of ^M. Stupid windows editor
git-svn-id: svn://10.0.0.236/trunk@21400 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 07:52:15 +00:00
slamm%netscape.com
9cbfd8e4f9 Fix the dependencies for running configure.Have it depend on .client-defs.mk and only update that when the myconfig options change.
git-svn-id: svn://10.0.0.236/trunk@21399 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 07:47:04 +00:00
slamm%netscape.com
bd4ac0cddb Cleaner presentation.
git-svn-id: svn://10.0.0.236/trunk@21398 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 06:36:03 +00:00
mcafee%netscape.com
069fd4d3db Adding license; added do_QueryInterface() wrappers for nsCOMPtr stuff (Solaris)
git-svn-id: svn://10.0.0.236/trunk@21397 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 06:05:15 +00:00
terry%netscape.com
0951ed8dd2 Quote link containing username. Was choking if a username happened
to contain a % followed by two hex digits...


git-svn-id: svn://10.0.0.236/trunk@21396 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 06:04:57 +00:00
beard%netscape.com
f0dd8fa466 backed out build bustage change
git-svn-id: svn://10.0.0.236/trunk@21395 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 04:43:53 +00:00
beard%netscape.com
a7b513e908 class nsIPlugin not struct.
git-svn-id: svn://10.0.0.236/trunk@21394 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 04:26:09 +00:00
troy%netscape.com
986751b140 Fixed build bustage
git-svn-id: svn://10.0.0.236/trunk@21393 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 04:20:09 +00:00
beard%netscape.com
e964556c5c include nsFileSpec.h on all platforms.
git-svn-id: svn://10.0.0.236/trunk@21392 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 03:59:43 +00:00
rjc%netscape.com
de65e8143f *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@21391 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 03:52:26 +00:00
troy%netscape.com
d73ce78fae Pagination work-in-progress
git-svn-id: svn://10.0.0.236/trunk@21390 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 03:15:03 +00:00
alecf%netscape.com
bb5fecbdaf add nsIFactory to IDL export list
git-svn-id: svn://10.0.0.236/trunk@21389 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 03:12:19 +00:00
alecf%netscape.com
0b6134db08 update IDL files to be closer to real headers
git-svn-id: svn://10.0.0.236/trunk@21388 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 03:11:52 +00:00
slamm%netscape.com
967abbbedc Fix 'save as' link
git-svn-id: svn://10.0.0.236/trunk@21386 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 02:42:22 +00:00
slamm%netscape.com
0b94b60ff0 Add a couple comments to the script.
git-svn-id: svn://10.0.0.236/trunk@21385 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 02:38:06 +00:00
beard%netscape.com
c4737508c1 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@21384 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 02:27:18 +00:00
beard%netscape.com
173a8736bd OJI interface changes.
git-svn-id: svn://10.0.0.236/trunk@21383 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 02:26:54 +00:00
beard%netscape.com
d7cf5961f9 OJI interface changes
git-svn-id: svn://10.0.0.236/trunk@21382 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 02:24:15 +00:00
slamm%netscape.com
820c132b85 Pull configure.in from the tree and parse it live.
git-svn-id: svn://10.0.0.236/trunk@21381 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 02:22:38 +00:00
beard%netscape.com
d41def05db XP_MAC: using __comobject as magic base class for all XPCOM objects.
git-svn-id: svn://10.0.0.236/trunk@21380 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 02:22:18 +00:00
slamm%netscape.com
a5e6e33af3 Ready for first release.
git-svn-id: svn://10.0.0.236/trunk@21379 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 02:20:59 +00:00
edwin%woudt.nl
7891a2e32d Finally fixed the java.awt.List / java.util.List nameclash
git-svn-id: svn://10.0.0.236/trunk@21378 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 02:17:48 +00:00
edwin%woudt.nl
565992401b Sanity (jikes falls over these)
git-svn-id: svn://10.0.0.236/trunk@21377 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 02:13:18 +00:00
hyatt%netscape.com
fc49802bdb Adding support for Eric Vaughan's buttons.
git-svn-id: svn://10.0.0.236/trunk@21376 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 02:08:08 +00:00
rjc%netscape.com
5fdc8d3672 Export nsIRDFFileSystem.h
git-svn-id: svn://10.0.0.236/trunk@21375 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 02:04:24 +00:00
hyatt%netscape.com
dc0cd2a930 Switched over to Eric Vaughan's titled buttons on the toolbar.
git-svn-id: svn://10.0.0.236/trunk@21374 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 02:01:01 +00:00
hyatt%netscape.com
6ebe77c7d6 Adding the event listener manager to the registry.
git-svn-id: svn://10.0.0.236/trunk@21373 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 02:00:12 +00:00
hyatt%netscape.com
afbfdebf96 Implementing event handlers on XUL nodes.
git-svn-id: svn://10.0.0.236/trunk@21372 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 01:59:45 +00:00
ftang%netscape.com
9a33e22c4c add sample code for word break into tests
git-svn-id: svn://10.0.0.236/trunk@21371 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 01:45:51 +00:00
mcmullen%netscape.com
ce4de2fba0 Took 2 for nsIFileOutputStream and nsIFileInputStream
git-svn-id: svn://10.0.0.236/trunk@21370 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 01:45:30 +00:00
rjc%netscape.com
568775e64c FileSystem data source now uses nsFileSpec (in base)
git-svn-id: svn://10.0.0.236/trunk@21369 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 01:38:57 +00:00
jband%netscape.com
8e6c568ef4 graphs of all the important objects can now be dumped for diagnostic purposes
git-svn-id: svn://10.0.0.236/trunk@21368 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 01:31:02 +00:00
slamm%netscape.com
6351718a4f Almost ready for first release.
git-svn-id: svn://10.0.0.236/trunk@21367 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 01:11:02 +00:00
sfraser%netscape.com
83a34ecac9 Backing out my previous change, to enable AutoRegister again on the Mac. sdagley checked in a change to NSPR which fixes the crash on launch.
git-svn-id: svn://10.0.0.236/trunk@21366 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 01:07:31 +00:00
larryh%netscape.com
148843f692 per Steve Dagley
git-svn-id: svn://10.0.0.236/trunk@21365 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 00:58:42 +00:00
robinf%netscape.com
626d47873d adding Show Example bitmap for net.ini dialog
git-svn-id: svn://10.0.0.236/trunk@21364 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 00:41:54 +00:00
robinf%netscape.com
2a66104b97 updated Netcenter dialog text on this screen
git-svn-id: svn://10.0.0.236/trunk@21363 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 00:37:15 +00:00
brendan%netscape.com
bb634b1838 Fix goofs caught by alecf in GetJSObject generation.
git-svn-id: svn://10.0.0.236/trunk@21362 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 00:10:22 +00:00
mjudge%netscape.com
b52264a83e nsPresShell now listens to changes in the domselection. (also modified nsIEnumerator to use NS_IMETHOD instead of virtual nsresult). Added batching for selection changes. you can move the selection, do things then turn off batching for an update if necessary. also prevented circular referencing by adding listener removal to PresShell::endDocumentListening(sp)
git-svn-id: svn://10.0.0.236/trunk@21359 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 23:47:36 +00:00
buster%netscape.com
adcc22143f work-in-progress for scrolling frames into view. Not called anywhere in layout yet.
git-svn-id: svn://10.0.0.236/trunk@21357 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 23:43:41 +00:00
mjudge%netscape.com
a811da51ec changing nsIEnumerator to use NS_IMETHOD not virtual nsresult
git-svn-id: svn://10.0.0.236/trunk@21356 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 23:43:20 +00:00
mjudge%netscape.com
25715df9ea adding batching for selection.
git-svn-id: svn://10.0.0.236/trunk@21355 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 23:41:49 +00:00
robinf%netscape.com
46236d416a adding bitmap for folder.ini dialog
git-svn-id: svn://10.0.0.236/trunk@21354 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 23:33:02 +00:00
robinf%netscape.com
949daaf880 adding dialogs for new Show Example buttons
git-svn-id: svn://10.0.0.236/trunk@21353 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 23:31:12 +00:00
sfraser%netscape.com
70f30c1dcc This is a temporary fix for the Mac crash on launch; don't call AutoRegister on Mac. Approved by sar
git-svn-id: svn://10.0.0.236/trunk@21352 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 23:28:49 +00:00
robinf%netscape.com
f8f83ecc27 added Show Example buttons to these dialogs
git-svn-id: svn://10.0.0.236/trunk@21351 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 23:28:27 +00:00
slamm%netscape.com
549bc1175f added
git-svn-id: svn://10.0.0.236/trunk@21350 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 23:11:36 +00:00
slamm%netscape.com
75bc03462a Fix bustage: OBJDIR wasn't defined correctly. (also add webconfig target)
git-svn-id: svn://10.0.0.236/trunk@21349 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 22:55:50 +00:00
michaelp%netscape.com
cfec235502 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@21348 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 22:47:36 +00:00
edwin%woudt.nl
f19a7b51fe Mail sending now works. I also added the multiple peronalities feature.
git-svn-id: svn://10.0.0.236/trunk@21347 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 22:41:38 +00:00
edwin%woudt.nl
9ef011c45f Added the DialogAuthenticator back in to get imap/pop3/nntp working.
git-svn-id: svn://10.0.0.236/trunk@21346 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 22:40:12 +00:00
edwin%woudt.nl
a785970646 Added a mail.host property for sending e-mail. Also add the DialogAuthenticator back in to get imap/pop3/nntp working.
git-svn-id: svn://10.0.0.236/trunk@21345 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 22:39:23 +00:00
despotdaemon%netscape.com
a2542f8261 Pseudo-automatic update of changes made by edwin@woudt.nl.
git-svn-id: svn://10.0.0.236/trunk@21343 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 22:17:38 +00:00
slamm%netscape.com
f641e6118d try checking out configure.in.
git-svn-id: svn://10.0.0.236/trunk@21342 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 22:04:11 +00:00
slamm%netscape.com
4e272a0aa9 m4 not in server path. try full path.
git-svn-id: svn://10.0.0.236/trunk@21341 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 21:45:06 +00:00
slamm%netscape.com
171b74a9bd *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@21339 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 21:39:47 +00:00
jband%netscape.com
62fe220b56 get xpidl building again on Win32
git-svn-id: svn://10.0.0.236/trunk@21338 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 21:39:41 +00:00
slamm%netscape.com
7b20426c78 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@21337 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 21:39:20 +00:00
slamm%netscape.com
029be13fd1 test parts of config.cgi
git-svn-id: svn://10.0.0.236/trunk@21336 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 21:34:59 +00:00
slamm%netscape.com
eb3c0ea15d Tweak license.
git-svn-id: svn://10.0.0.236/trunk@21333 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 20:53:45 +00:00
slamm%netscape.com
6e15814840 Tweak license, add comments
git-svn-id: svn://10.0.0.236/trunk@21332 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 20:53:25 +00:00
slamm%netscape.com
2d91b1e859 Not sure if m4 if present. use preparsed file for now
git-svn-id: svn://10.0.0.236/trunk@21331 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 20:26:29 +00:00
slamm%netscape.com
078a90b74d Another pass at it.
git-svn-id: svn://10.0.0.236/trunk@21330 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 20:17:25 +00:00
evaughan%netscape.com
78b1ccb4a7 Fixed out of scope compile bug.
git-svn-id: svn://10.0.0.236/trunk@21329 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 20:12:08 +00:00
slamm%netscape.com
0b9b69291e Make configure dependent on nspr
git-svn-id: svn://10.0.0.236/trunk@21327 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 20:01:56 +00:00
slamm%netscape.com
40d8febe78 Add .client-defs and myconfig.sh
git-svn-id: svn://10.0.0.236/trunk@21326 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 19:53:50 +00:00
despotdaemon%netscape.com
211ac29371 Pseudo-automatic update of changes made by wtc@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@21325 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 19:51:01 +00:00
slamm%netscape.com
c05bfd575d Look for nspr in /usr/lib. Add nspr check to build target. New documentation.
git-svn-id: svn://10.0.0.236/trunk@21324 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 19:49:15 +00:00
slamm%netscape.com
681bb2f47b Only load myconfig.sh if it can be found.
git-svn-id: svn://10.0.0.236/trunk@21323 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 19:40:41 +00:00
akkana%netscape.com
d3dc0c4391 Turn on Unix cout code for doCopy()
git-svn-id: svn://10.0.0.236/trunk@21322 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 19:21:25 +00:00
slamm%netscape.com
22f48fdd7e Remove unused substitutions for MOZ_NETCAST, MOZ_LDAP, SMART_MAIL
git-svn-id: svn://10.0.0.236/trunk@21321 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 18:42:29 +00:00
evaughan%netscape.com
994add6e25 added files: mozilla/layout/html/forms/src/nsButtonFrameRenderer.cpp, mozilla/layout/xul/base/src/nsTitledButtonFrame.cpp
git-svn-id: svn://10.0.0.236/trunk@21320 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 18:29:56 +00:00
evaughan%netscape.com
ece31da4ba Added TitledButton and ProgressMeter
git-svn-id: svn://10.0.0.236/trunk@21319 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 18:23:32 +00:00
evaughan%netscape.com
9ae8b8c3df Added a new XUL TitledButtonFrame
git-svn-id: svn://10.0.0.236/trunk@21318 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 18:23:02 +00:00
saari%netscape.com
4966836d25 enable menus on mac
git-svn-id: svn://10.0.0.236/trunk@21317 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 18:17:24 +00:00
briano%netscape.com
f142222ea3 Automated update
git-svn-id: svn://10.0.0.236/trunk@21316 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 17:31:47 +00:00
slamm%netscape.com
ae4233f4e1 Reorder/group options. Align comments. Remove dead options.
git-svn-id: svn://10.0.0.236/trunk@21315 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 17:29:51 +00:00
slamm%netscape.com
4c9cc55514 Avoid adding duplicate options (which would happen with config.status --recheck). Skip options for client.mk.
git-svn-id: svn://10.0.0.236/trunk@21314 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 17:27:53 +00:00
slamm%netscape.com
7dbcfada76 Add a macro to label a group of options.
git-svn-id: svn://10.0.0.236/trunk@21313 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 17:25:47 +00:00
slamm%netscape.com
8f7e66a512 Convert myconfig.sh into makefile format for client.mk
git-svn-id: svn://10.0.0.236/trunk@21312 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 17:24:48 +00:00
grail%cafebabe.org
b285b21227 On a slow machine, there's a NullException as getGraphics() returns after
UI disappears.


git-svn-id: svn://10.0.0.236/trunk@21311 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 16:18:41 +00:00
brade%netscape.com
6805ba51ec add prototype to reduce warnings on Macintosh compiler
git-svn-id: svn://10.0.0.236/trunk@21310 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 16:13:47 +00:00
brade%netscape.com
0abc84f688 move local variables into #if block where they are needed (reduces warnings on Macintosh compiler)
git-svn-id: svn://10.0.0.236/trunk@21309 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 16:12:58 +00:00
brade%netscape.com
3c77f58b02 move local variable into comment block to reduce warnings on Macintosh compiler
git-svn-id: svn://10.0.0.236/trunk@21308 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 16:11:23 +00:00
brade%netscape.com
1326f793c9 remove unused local variable to reduce warnings on Macintosh compiler
git-svn-id: svn://10.0.0.236/trunk@21307 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 16:09:37 +00:00
mcafee%netscape.com
02df79470f Yanking fe_GetConfigDir() which is now in prefs.
git-svn-id: svn://10.0.0.236/trunk@21306 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 13:34:20 +00:00
mcafee%netscape.com
d16f99e851 Solaris: adding do_QueryInterface() wrapper per scc's carpool.
git-svn-id: svn://10.0.0.236/trunk@21305 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 13:14:26 +00:00
mcafee%netscape.com
38e4c7c52b Solaris needs a constructor for ConverterInfo().
git-svn-id: svn://10.0.0.236/trunk@21304 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 13:05:19 +00:00
mcafee%netscape.com
6d0cd7820b Solaris: newline at end of file.
git-svn-id: svn://10.0.0.236/trunk@21303 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 12:33:44 +00:00
mcafee%netscape.com
a713afe41e Solaris: newline at end of file
git-svn-id: svn://10.0.0.236/trunk@21302 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 12:32:16 +00:00
mcafee%netscape.com
430ad20c2f Solaris: adding do_QueryInterface() wrapper as part of scc's nsCOMPtr carpool. a=scc
git-svn-id: svn://10.0.0.236/trunk@21301 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 12:27:19 +00:00
mcafee%netscape.com
5f84cd50d5 Adding source files to match Win32; Solaris build was failing with 0 source files for the library creation.
git-svn-id: svn://10.0.0.236/trunk@21300 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 12:21:16 +00:00
mcafee%netscape.com
9865bce5b0 Solaris: changing casts to match PREF_GetIntPref() prototype; We should be using PRBool, XP_Bool needs to go away, cast here until PREF_GetBoolPref() is fixed.
git-svn-id: svn://10.0.0.236/trunk@21299 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 12:20:12 +00:00
mcafee%netscape.com
69142ed84b Adding license file.
git-svn-id: svn://10.0.0.236/trunk@21298 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 12:16:35 +00:00
mcafee%netscape.com
92753a46b3 Solaris: adding do_QueryInterface() wrappers to finish scc's nsCOMPtr carpool. a=scc
git-svn-id: svn://10.0.0.236/trunk@21297 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 11:30:31 +00:00
ramiro%netscape.com
d9d58d2259 Fix the row data problem; it was breaking on aix and probably elsewhere.
Also, unhardcoded the item length.


git-svn-id: svn://10.0.0.236/trunk@21296 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 11:09:25 +00:00
ramiro%netscape.com
b57ce47d93 Use NS_STATIC_CAST instead of static_cast.
git-svn-id: svn://10.0.0.236/trunk@21295 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 11:05:16 +00:00
mcafee%netscape.com
5f03bde36f PRBool: use PR_FALSE, PR_TRUE instead of false, true.
git-svn-id: svn://10.0.0.236/trunk@21294 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 10:57:49 +00:00
mcafee%netscape.com
c76e336302 Solaris needs explicit casts here; NULL -> 0 solved some more cast problems.
git-svn-id: svn://10.0.0.236/trunk@21293 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 10:46:20 +00:00
grail%cafebabe.org
11efe4777c Store layout information in preference file.
git-svn-id: svn://10.0.0.236/trunk@21292 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 09:34:08 +00:00
mcafee%netscape.com
36202c86c7 Fixing function prototypes to match implementation; Solaris didn't like the const mis-matches.
git-svn-id: svn://10.0.0.236/trunk@21291 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 09:12:53 +00:00
grail%cafebabe.org
bd068d2900 Added newly introduced classes to the build.
git-svn-id: svn://10.0.0.236/trunk@21290 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 09:05:39 +00:00
grail%cafebabe.org
3ad3dcddb0 Dialogs that builds out of XML descriptions. Test code to verify that
they do work. Need integration into the main UI.


git-svn-id: svn://10.0.0.236/trunk@21289 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 09:05:00 +00:00
grail%cafebabe.org
9654b55745 PageUI class similar to original PageUI class prior to code
release. Many fixes with respect to structures in regards to widget
builders that read from XML.


git-svn-id: svn://10.0.0.236/trunk@21288 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 09:02:35 +00:00
mcafee%netscape.com
f4c6cbaf8d Solaris needs newline at end of file.
git-svn-id: svn://10.0.0.236/trunk@21287 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 08:45:46 +00:00
rickg%netscape.com
07ace3f11e improved broken quote handling
git-svn-id: svn://10.0.0.236/trunk@21286 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 06:48:25 +00:00
warren%netscape.com
b526be3e85 Used new NS_DECL_ISUPPORTS_INHERITED and NS_IMPL_ISUPPORTS_INHERITED macros.
git-svn-id: svn://10.0.0.236/trunk@21285 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 06:34:23 +00:00
warren%netscape.com
b689b92f0c Added NS_DECL_ISUPPORTS_INHERITED and NS_IMPL_ISUPPORTS_INHERITED.
git-svn-id: svn://10.0.0.236/trunk@21284 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 06:33:33 +00:00
rickg%netscape.com
46c4a16a9e support for hex entities
git-svn-id: svn://10.0.0.236/trunk@21283 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 06:33:06 +00:00
rickg%netscape.com
93cd35c059 small mod to handle hex conversion better
git-svn-id: svn://10.0.0.236/trunk@21282 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 06:32:40 +00:00
jband%netscape.com
e3a664c320 in the middle of adding diagnostics
git-svn-id: svn://10.0.0.236/trunk@21281 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 05:59:59 +00:00
warren%netscape.com
737e598624 A bunch of fixes for cursor stuff.
git-svn-id: svn://10.0.0.236/trunk@21280 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 05:27:22 +00:00
troy%netscape.com
6cd8439821 Removed some old code
git-svn-id: svn://10.0.0.236/trunk@21279 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 05:10:59 +00:00
waldemar%netscape.com
48586c4d0f Added traditional and super and changed [] to allow multiple arguments
git-svn-id: svn://10.0.0.236/trunk@21278 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 04:28:16 +00:00
troy%netscape.com
4073fb069c Added GetBrowserWindow to nsWebCrawler, and changed nsViewerApp to only
call SetBrowserWindow() once and to have CloseWindow() check before
setting the web crawler's browser window to NULL (doing so caused a crash)


git-svn-id: svn://10.0.0.236/trunk@21277 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 04:24:12 +00:00
mcafee%netscape.com
997ffb0991 Solaris: Adding do_QueryInterface() wrapper to finish scc's nsCOMPtr carpool.
git-svn-id: svn://10.0.0.236/trunk@21276 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 03:46:06 +00:00
grail%cafebabe.org
d95127f626 Changed access to setStore(Hashtable) to protected rather than default.
git-svn-id: svn://10.0.0.236/trunk@21275 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 03:28:29 +00:00
rickg%netscape.com
cf681fb5f2 fixed build bustage
git-svn-id: svn://10.0.0.236/trunk@21274 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 03:28:27 +00:00
briano%netscape.com
027bce5cae Automated update
git-svn-id: svn://10.0.0.236/trunk@21273 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 03:15:38 +00:00
grail%cafebabe.org
e1c53a6056 Coexistence patches for Java 2 DND and 1.1 non-existent DND.
git-svn-id: svn://10.0.0.236/trunk@21272 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 03:10:40 +00:00
bienvenu%netscape.com
1dc9778116 start getting nntp hooked up to news database
git-svn-id: svn://10.0.0.236/trunk@21271 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 03:09:39 +00:00
bienvenu%netscape.com
bcd3f56bb8 start adding mork impl
git-svn-id: svn://10.0.0.236/trunk@21270 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 03:08:40 +00:00
alecf%netscape.com
92f8b2f140 check in new .deps based dependancy system
git-svn-id: svn://10.0.0.236/trunk@21269 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 03:06:32 +00:00
scc%netscape.com
0bf24da1ba updated for nsCOMPtr; owners should check my changes to see if they agree with my choices for |do_QueryInterface| vs |dont_QueryInterface|
git-svn-id: svn://10.0.0.236/trunk@21267 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 02:56:00 +00:00
mcafee%netscape.com
b4abca0ff2 Switching over to PRBool, PR_TRUE, and PR_FALSE. Keeps us honest, and Solaris happy. a=pinkerton
git-svn-id: svn://10.0.0.236/trunk@21266 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 02:54:53 +00:00
scc%netscape.com
8d172223d3 updating for nsCOMPtr; owners should check my changes to see if they agree with my choices for |do_QueryInterface| vs |dont_QueryInterface|
git-svn-id: svn://10.0.0.236/trunk@21265 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 02:53:45 +00:00
ramiro%netscape.com
5733b62506 Add xpcom/idl/Makefile to the build.
git-svn-id: svn://10.0.0.236/trunk@21264 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 02:51:57 +00:00
sdagley%netscape.com
19eb0cde55 Mac specific fix. Now that dp's code to walk the shared libs to see what is installed is working we've run into a problem that unloading the libs breaks the app (crash on quit, possible general instability). rjc's fix is to make sure PR_LoadLibrary is loading a unique copy of the lib by changing GetDiskFragment to use the option kPrivateCFragCopy instead of kLoadCFrag.
git-svn-id: svn://10.0.0.236/trunk@21263 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 02:45:54 +00:00
mcafee%netscape.com
1f7994d9de Solaris needs newline at end of file.
git-svn-id: svn://10.0.0.236/trunk@21262 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 02:43:26 +00:00
mscott%netscape.com
0ec3a2d8cf More updates for getting the 3-pane looking correctly...
git-svn-id: svn://10.0.0.236/trunk@21261 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 02:43:11 +00:00
grail%cafebabe.org
da252ac5a7 Added in JList to the builder. Use type attribute as "jlist".
git-svn-id: svn://10.0.0.236/trunk@21260 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 02:39:00 +00:00
kostello%netscape.com
68e65f5b6f Fixing build error -- the instance variables
mComputedCRC32 and mExpectedCRC32 were only being defined
in the DEBUG build although they are used throughout
CNavDTD.cpp and it cannot be built in non-debug mode.


git-svn-id: svn://10.0.0.236/trunk@21259 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 02:35:58 +00:00
mcafee%netscape.com
a8d48b571d Fixing return types and swtich to proper PR_TRUE/PR_FALSE types. r=akkana@netscape.com
git-svn-id: svn://10.0.0.236/trunk@21258 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 02:32:58 +00:00
nisheeth%netscape.com
98f27f7f53 Adding test case for attribute changes on the BR element via the DOM.
git-svn-id: svn://10.0.0.236/trunk@21257 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 02:15:03 +00:00
alecf%netscape.com
42a31ae59a MD5 implementation, thanks to mrsam@geocities.com
git-svn-id: svn://10.0.0.236/trunk@21256 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 02:12:44 +00:00
mjudge%netscape.com
8d5b4d8988 fogot to move files out of this makefile.in
git-svn-id: svn://10.0.0.236/trunk@21255 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 02:12:19 +00:00
troy%netscape.com
467691c69c Removed some XXX code that was temporary, but I forgot to delete
git-svn-id: svn://10.0.0.236/trunk@21254 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 02:05:00 +00:00
alecf%netscape.com
a906c1204e add dummy nsISupports.idl so that other IDL files can compile
(Windows makefile.win still needed - volunteers welcome!)


git-svn-id: svn://10.0.0.236/trunk@21253 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 02:04:21 +00:00
mcafee%netscape.com
d9b8c3370e Fixing return types and swtich to proper PR_TRUE/PR_FALSE types. r=akkana@netscape.com
git-svn-id: svn://10.0.0.236/trunk@21252 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 02:03:23 +00:00
bienvenu%netscape.com
62c02dfd14 link with the dll rdf to get rid of linker warnings
git-svn-id: svn://10.0.0.236/trunk@21251 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 01:42:25 +00:00
mcafee%netscape.com
3fda99d774 Solaris: mIsDone is a PRBool, that means use PR_FALSE or PR_TRUE.
git-svn-id: svn://10.0.0.236/trunk@21250 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 01:41:03 +00:00
nhotta%netscape.com
ec9942b6be Fix for Macintosh test.
git-svn-id: svn://10.0.0.236/trunk@21249 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 01:38:27 +00:00
ftang%netscape.com
e12e6236d8 add implementation for word breaker. Add selftest code for word break. Fix GetClass for line breaker
git-svn-id: svn://10.0.0.236/trunk@21248 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 01:38:12 +00:00
nhotta%netscape.com
6c94cdaf95 Added a new sort test.
git-svn-id: svn://10.0.0.236/trunk@21247 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 00:59:42 +00:00
rickg%netscape.com
84b3dd704b added CRC
git-svn-id: svn://10.0.0.236/trunk@21246 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 00:54:27 +00:00
rickg%netscape.com
51cbc8248b minor improvement to CRC
git-svn-id: svn://10.0.0.236/trunk@21245 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 00:54:01 +00:00
troy%netscape.com
92f8d12843 Added pseudo style for 'page' element
git-svn-id: svn://10.0.0.236/trunk@21244 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 00:53:09 +00:00
wtc%netscape.com
b97395c726 Bugsplat bug #343158: corrected a typo in the comment. Thanks to
John Bandhauer <jband@netscape.com> for the bug report and fix.


git-svn-id: svn://10.0.0.236/trunk@21243 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 00:45:35 +00:00
bienvenu%netscape.com
0b75042f6b switch to new mdb interface naming conventions
git-svn-id: svn://10.0.0.236/trunk@21242 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 00:32:39 +00:00
mjudge%netscape.com
978b778be6 moving nsFrameTraversal.* nsFrameList.* to layout/base also adding selection from keyboard.
git-svn-id: svn://10.0.0.236/trunk@21241 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 00:21:22 +00:00
rjc%netscape.com
0be8d28fa8 Remove nsComPtr usage (due to Unix).
git-svn-id: svn://10.0.0.236/trunk@21240 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 00:19:42 +00:00
wtc%netscape.com
354adef46e Test list for nspr.
git-svn-id: svn://10.0.0.236/trunk@21239 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 00:14:41 +00:00
cyeh%netscape.com
dc574bc583 removing special config.mak and rules.mak. special rules have been rolled
into mozilla/config/config.mak and mozilla/config/rules.mak


git-svn-id: svn://10.0.0.236/trunk@21238 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 00:10:02 +00:00
scc%netscape.com
726c966a08 updated for nsCOMPtr (no implicit construction from raw pointers) owners should check that they agree with my choices for |dont_QueryInterface|, |do_QueryInterface| and |dont_AddRef|
git-svn-id: svn://10.0.0.236/trunk@21237 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 23:55:10 +00:00
rickg%netscape.com
7d4f2c2c76 new primaryDetect code in DTD detection system; fixes XIF
git-svn-id: svn://10.0.0.236/trunk@21236 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 23:45:44 +00:00
cyeh%netscape.com
67e1d76bc2 if makedep.exe doesn't exist, build it, then continue with rest of depend rule.
git-svn-id: svn://10.0.0.236/trunk@21235 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 23:37:43 +00:00
leaf%mozilla.org
2d2fb1c8b7 (really cyeh) fix syntatical lameness.
git-svn-id: svn://10.0.0.236/trunk@21234 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 23:23:17 +00:00
wtc%netscape.com
fcb29be1ad On BSDI, zero a pthread_mutex_t or pthread_cond_t before initializing
it.  This patch is contributed by Bert Driehuis
<bert_driehuis@nl.compuware.com>.


git-svn-id: svn://10.0.0.236/trunk@21233 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 23:20:11 +00:00
mcafee%netscape.com
0434d32b61 Adding do_QueryInterface() wrapper for Solaris, this is the other part of scc's nsCOMPtr carpool
git-svn-id: svn://10.0.0.236/trunk@21232 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 23:18:56 +00:00
cyeh%netscape.com
fee0afd4ba on win95 and win98, we would blow up echo with too long of a line to print.
if we are on NT, this doesn't happen. now we report status of makedep.exe
dependent of the OS we are on.


git-svn-id: svn://10.0.0.236/trunk@21231 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 23:18:40 +00:00
mcafee%netscape.com
7ecd89e7c3 Solaris needs newline at end of file.
git-svn-id: svn://10.0.0.236/trunk@21230 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 23:09:08 +00:00
buster%netscape.com
0a8d990683 work in progress
git-svn-id: svn://10.0.0.236/trunk@21229 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 23:01:06 +00:00
mcafee%netscape.com
a898a253b9 Solaris needs newline at end of file.
git-svn-id: svn://10.0.0.236/trunk@21228 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 23:00:45 +00:00
alecf%netscape.com
e7e0a25231 link xpidl statically against libxpt so that dist/bin doesn't need to be in your LD_LIBRARY_PATH
git-svn-id: svn://10.0.0.236/trunk@21227 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 22:59:17 +00:00
rjc%netscape.com
9f18f7d524 Now call rdf_qsort on all platforms.
git-svn-id: svn://10.0.0.236/trunk@21226 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 22:55:02 +00:00
rjc%netscape.com
b78067ee85 Add rdf_qsort.c to Unix/Win makefiles.
git-svn-id: svn://10.0.0.236/trunk@21225 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 22:54:16 +00:00
waterson%netscape.com
c71132e043 Removed RDF DLLs from SetupRegistry() b/c RDF self-registers.
git-svn-id: svn://10.0.0.236/trunk@21224 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 22:53:51 +00:00
waterson%netscape.com
f276494411 Fixed to get building on Linux.
git-svn-id: svn://10.0.0.236/trunk@21223 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 22:53:19 +00:00
buster%netscape.com
f92429b874 added nsPresShell::ScrollFrameIntoView(), which forces the given frame to be visible in the current view.
git-svn-id: svn://10.0.0.236/trunk@21222 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 22:52:21 +00:00
buster%netscape.com
72dbac31c5 added ScrollFrameIntoView(), which forces the given frame to be visible in the current view.
git-svn-id: svn://10.0.0.236/trunk@21221 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 22:51:46 +00:00
leaf%mozilla.org
628812f080 fixing the perl hardcoding. looks in the hardcoded places, then pulls perl from the
path if not found.


git-svn-id: svn://10.0.0.236/trunk@21220 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 22:51:05 +00:00
leaf%mozilla.org
6049bf947b fixing the 'unix_date' requirement... can be either unix_date or date in the
%MOZ_TOOLS%\bin directory.


git-svn-id: svn://10.0.0.236/trunk@21219 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 22:49:35 +00:00
rjc%netscape.com
7bfa2b0470 Needed to const strings.
git-svn-id: svn://10.0.0.236/trunk@21218 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 22:45:26 +00:00
mcafee%netscape.com
48000fe302 Solaris needs newline at end of file.
git-svn-id: svn://10.0.0.236/trunk@21217 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 22:43:16 +00:00
mcafee%netscape.com
75b0ae409a Adding do_QueryInterface() wrapper to finish scc's nsCOMPtr carpool
git-svn-id: svn://10.0.0.236/trunk@21216 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 22:39:26 +00:00
dp%netscape.com
30a7157140 Hacked to remove ./ when we PR_LoadLibrary() dlls of the type ./library.so
This improves memory a bit.


git-svn-id: svn://10.0.0.236/trunk@21215 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 22:37:35 +00:00
kmcclusk%netscape.com
103dec6b88 changed pseudo styles file-button, file-text to -moz-file-button -moz-file-text in ua.css
Adjusted nsHTMLAtoms to match.


git-svn-id: svn://10.0.0.236/trunk@21214 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 22:36:59 +00:00
waterson%netscape.com
189eb2cd2e rdfutil.cpp
git-svn-id: svn://10.0.0.236/trunk@21213 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 22:36:41 +00:00
alecf%netscape.com
b0cb95cfba make these libraries build during the export phase
git-svn-id: svn://10.0.0.236/trunk@21212 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 22:36:27 +00:00
dcone%netscape.com
461659931d Added the printer support files for GTK
git-svn-id: svn://10.0.0.236/trunk@21211 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 22:35:11 +00:00
rjc%netscape.com
301d4115d1 Comment out error while I investigate.
git-svn-id: svn://10.0.0.236/trunk@21210 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 22:34:25 +00:00
michaelp%netscape.com
90cf0a152e made GetClipRegion comply with new API definition.
git-svn-id: svn://10.0.0.236/trunk@21209 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 22:34:19 +00:00
mcafee%netscape.com
fab9b8fd0d Adding support for Solaris native compiler. a=scc
git-svn-id: svn://10.0.0.236/trunk@21208 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 22:34:15 +00:00
coop%netscape.com
52d9b10a97 NOT YET PART OF SEAMONKEY:
* now close input file in all cases
* warn user about params with no in/out flag information
* more internal error checking


git-svn-id: svn://10.0.0.236/trunk@21207 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 22:29:59 +00:00
rjc%netscape.com
8c9a8dbd6a Add simple, preliminary way of doing sorting. (Note: using our own local version of qsort due to API changes.)
git-svn-id: svn://10.0.0.236/trunk@21206 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 22:29:16 +00:00
rjc%netscape.com
4d94c79d09 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@21205 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 22:28:10 +00:00
cyeh%netscape.com
b5bb8d7250 enable depend builds with client.mak.
git-svn-id: svn://10.0.0.236/trunk@21204 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 22:27:52 +00:00
cyeh%netscape.com
8abc5148a7 enable depend rules in client.mak. build makedep.exe. change rules.mak
to look for makedep.exe in mozilla/config


git-svn-id: svn://10.0.0.236/trunk@21203 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 22:26:31 +00:00
cyeh%netscape.com
9437ab4528 move this from mozilla/cmd/winfe/mkfiles32 to a more proper home in mozilla/config
git-svn-id: svn://10.0.0.236/trunk@21202 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 22:25:06 +00:00
kipp%netscape.com
77737917d9 removed usless includes
git-svn-id: svn://10.0.0.236/trunk@21201 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 22:23:52 +00:00
kipp%netscape.com
6055d14c33 Added missing ctor/dtor
git-svn-id: svn://10.0.0.236/trunk@21200 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 22:23:36 +00:00
kipp%netscape.com
e378675197 Added support methods to make bullet alignment better
git-svn-id: svn://10.0.0.236/trunk@21199 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 22:23:13 +00:00
kipp%netscape.com
f768475e63 Process bullets better so that they are vertically aligned properly
git-svn-id: svn://10.0.0.236/trunk@21198 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 22:22:55 +00:00
kipp%netscape.com
1e1667142a Renamed bullet pseudo style
git-svn-id: svn://10.0.0.236/trunk@21197 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 22:20:19 +00:00
slamm%netscape.com
a3f468be66 Add this until I get if from the mirror properly.
git-svn-id: svn://10.0.0.236/trunk@21196 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 22:07:43 +00:00
kmcclusk%netscape.com
92c173e493 Fixed call to ProbePseudoStyleContext in nsButtonControlFrame so it will compile
when NS_GFX_RENDER_FORM_ELEMENTS is defined.
Added checks to nsFileControlFrame::Reflow to make sure the pseudo styles actually
could be loaded. If they can't be loaded it uses the file upload elements style.
Changed file-buttonstyle to file-button and file-textstyle to file-text in ua.css


git-svn-id: svn://10.0.0.236/trunk@21195 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 22:07:23 +00:00
rods%netscape.com
77cc46acdc Aded default sizes to TopLevelWindowCreate
git-svn-id: svn://10.0.0.236/trunk@21194 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 22:04:34 +00:00
briano%netscape.com
48f2deb8b8 Automated update
git-svn-id: svn://10.0.0.236/trunk@21193 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 22:00:38 +00:00
rods%netscape.com
f1c36c51a2 Added example/experimental code showing how to change icons during runtime
git-svn-id: svn://10.0.0.236/trunk@21192 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 21:59:05 +00:00
rods%netscape.com
d5b8b13d8c Fixed a debug statement
git-svn-id: svn://10.0.0.236/trunk@21191 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 21:58:17 +00:00
rods%netscape.com
687a599bc1 Added some experimental code for printpreview
git-svn-id: svn://10.0.0.236/trunk@21190 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 21:56:21 +00:00
wtc%netscape.com
1c84f21c45 The code should not have actual functions in the assertions.
The patch is contributed by Matthew Zahorik <maz@albany.net>.


git-svn-id: svn://10.0.0.236/trunk@21189 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 21:55:58 +00:00
rods%netscape.com
0078cba183 Completed work on -width and -height
git-svn-id: svn://10.0.0.236/trunk@21188 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 21:53:31 +00:00
slamm%netscape.com
15708cc95f Remove duplicate flags.
git-svn-id: svn://10.0.0.236/trunk@21187 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 21:53:19 +00:00
rods%netscape.com
7f9d9e2cbd Completed work on -width and -height for specifying the initial size of the window
git-svn-id: svn://10.0.0.236/trunk@21186 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 21:52:27 +00:00
slamm%netscape.com
1061e81618 first test
git-svn-id: svn://10.0.0.236/trunk@21185 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 21:52:11 +00:00
hyatt%netscape.com
e6b7c227b8 Improvements to the broadcasting mechanism so that HTML nodes can properly
observe XUL broadcasters.


git-svn-id: svn://10.0.0.236/trunk@21184 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 21:45:06 +00:00
slamm%netscape.com
768e91fc56 Add directory for build tools.
git-svn-id: svn://10.0.0.236/trunk@21183 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 21:27:26 +00:00
slamm%netscape.com
7fc3f9aa6a Take out checkbox for selected build, since it didn't work.
git-svn-id: svn://10.0.0.236/trunk@21181 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 20:13:30 +00:00
pinkerton%netscape.com
930f143f9c adding nsRepository stuff to exports. permission to fix build bustage during closed tree given by leaf.
git-svn-id: svn://10.0.0.236/trunk@21180 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 20:11:07 +00:00
wtc%netscape.com
c6bb8cfa23 Minor editing.
git-svn-id: svn://10.0.0.236/trunk@21179 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 20:03:51 +00:00
brendan%netscape.com
2f93db442f Finish Get and SetProperty, simplify InitJSClass via globalObject.
git-svn-id: svn://10.0.0.236/trunk@21178 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 19:59:11 +00:00
alecf%netscape.com
7374289593 remove md5 from MOZ_MAIL_NEWS build
git-svn-id: svn://10.0.0.236/trunk@21177 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 19:54:54 +00:00
wtc%netscape.com
cb4214dcdf Bugzilla bug #3144: OPENBSD also needs a leading underscore in the
symbol names.  The patch is contributed by kstailey@kstailey.tzo.com.


git-svn-id: svn://10.0.0.236/trunk@21176 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 19:45:32 +00:00
mscott%netscape.com
01f184ec56 Build news/tests/nntp directory...
git-svn-id: svn://10.0.0.236/trunk@21175 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 19:42:59 +00:00
mscott%netscape.com
9596fcc41f Properly set and color toolbar button which will fetch a hard coded news article from the server and display it to the screen.
git-svn-id: svn://10.0.0.236/trunk@21174 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 19:37:32 +00:00
pinkerton%netscape.com
12f6d07701 fix types and remember to initialize the grippy last highlight to none at creation. Fixes a problem where the first grippy in the toolbar was being drawn highlighted at create time.
git-svn-id: svn://10.0.0.236/trunk@21173 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 19:28:00 +00:00
mscott%netscape.com
4716537e45 Our thread pane xml file was not written right. Updated it to use the correct xul and xml tags to display correctly using the tree widget.
git-svn-id: svn://10.0.0.236/trunk@21172 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 19:23:52 +00:00
mscott%netscape.com
352dba47a1 New style sheet for laying out the tree widget....
git-svn-id: svn://10.0.0.236/trunk@21171 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 19:22:33 +00:00
pinkerton%netscape.com
75a9ff8c89 move url bar to top toolbar.
git-svn-id: svn://10.0.0.236/trunk@21170 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 19:18:25 +00:00
mcmullen%netscape.com
2731eecce6 Reserved a range for file i/o errors.
git-svn-id: svn://10.0.0.236/trunk@21169 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 18:58:25 +00:00
slamm%netscape.com
9d53ca188b Look for '.mozmyconfig' in home directory
git-svn-id: svn://10.0.0.236/trunk@21168 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 18:51:02 +00:00
leaf%mozilla.org
3cf01f0b50 adding the Grendel module
git-svn-id: svn://10.0.0.236/trunk@21167 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 18:49:23 +00:00
ebina%netscape.com
75b8d59d5f Remove the magic files from the MANIFEST
git-svn-id: svn://10.0.0.236/trunk@21166 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 18:45:55 +00:00
ebina%netscape.com
67889cd9e7 removed files: mozilla/network/cnvts/magic.cpp
git-svn-id: svn://10.0.0.236/trunk@21165 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 18:45:37 +00:00
slamm%netscape.com
ba2dfae464 Add 'run_viewer' target.
git-svn-id: svn://10.0.0.236/trunk@21164 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 18:44:48 +00:00
ebina%netscape.com
fe3cfd5ead The magic stuff is gone. The real stuff is in XPCOM/repository now.
git-svn-id: svn://10.0.0.236/trunk@21163 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 18:42:35 +00:00
kipp%netscape.com
d1a27c7e27 Fixed bug #3161 - removed bogus assertion
git-svn-id: svn://10.0.0.236/trunk@21161 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 18:25:45 +00:00
grail%cafebabe.org
e2a08bc361 Added EditHostDialog back into the build.
git-svn-id: svn://10.0.0.236/trunk@21160 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 18:24:28 +00:00
cyeh%netscape.com
7d89e840e2 Remove mozilla/layout/config and use mozilla/config instead.
git-svn-id: svn://10.0.0.236/trunk@21159 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 18:16:21 +00:00
cyeh%netscape.com
ef0cd60b00 don't include liteness.mak anymore, all those flags are obsolete.
git-svn-id: svn://10.0.0.236/trunk@21158 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 18:12:10 +00:00
shaver%netscape.com
608be074b9 Add dependency on libxpt and NSPR for typelib generation.
Only output |static const IID()| if we have an IID defined.
Output forward declarations.
Initial -m typelib stuff (handles methods, barely).


git-svn-id: svn://10.0.0.236/trunk@21156 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 17:43:38 +00:00
shaver%netscape.com
e12b558d1f fix InterfaceDescriptorAddMethods to not randomly overwrite memory, and fix
DoMethodDescriptor to not randomly overwrite md->result


git-svn-id: svn://10.0.0.236/trunk@21155 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 17:36:46 +00:00
ebina%netscape.com
c3ed0b23da Forgot to ifdef USE_REGISTRY which was breaking the MAC.
git-svn-id: svn://10.0.0.236/trunk@21154 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 17:18:06 +00:00
ebina%netscape.com
6ec4d9395d Have generic text, image, and application look for plugins in
NET_PluginStream


git-svn-id: svn://10.0.0.236/trunk@21153 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 17:14:25 +00:00
rods%netscape.com
d18115acba Added temporary menu delegate code. This enables menus to invoke JavaScript
BUT it menus can't observe changes or broadcasts


git-svn-id: svn://10.0.0.236/trunk@21152 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 17:13:30 +00:00
rods%netscape.com
ff8024a3aa Changed default page to navigator.xul
git-svn-id: svn://10.0.0.236/trunk@21151 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 17:12:09 +00:00
ebina%netscape.com
1ec564fccc Remove the "magic" hack because we now have the real thing
in XPCOM/repository


git-svn-id: svn://10.0.0.236/trunk@21150 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 17:09:48 +00:00
ebina%netscape.com
2d56d53627 Clean up an nsnull comparison.
git-svn-id: svn://10.0.0.236/trunk@21149 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 17:02:49 +00:00
ebina%netscape.com
de89022e76 Add public functions RegisterComponent, UnregisterComponent, and ProgIDToCLSID
git-svn-id: svn://10.0.0.236/trunk@21148 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 16:58:22 +00:00
troy%netscape.com
597d5a42e5 Fixed a style context problem
git-svn-id: svn://10.0.0.236/trunk@21147 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 16:56:15 +00:00
rods%netscape.com
522f7e6d93 Status bar is now hooked up.
git-svn-id: svn://10.0.0.236/trunk@21146 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 16:39:32 +00:00
rods%netscape.com
08e00e81f7 Fixed up some indentation issues and added fixed position style attributes.
git-svn-id: svn://10.0.0.236/trunk@21144 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 16:33:56 +00:00
rods%netscape.com
ebb56bf41c Added a little code to find the menus and load them.
They aren't hooked up yet.


git-svn-id: svn://10.0.0.236/trunk@21143 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 16:32:44 +00:00
rods%netscape.com
b79dc92650 Removed the InsertItemAt method that takes a string, this was a conveince
method no one was implementing.
Changed The InsertMenuItemAt to nsISupports because either a nsIMenu or nsIMenuItem
can be inserted.


git-svn-id: svn://10.0.0.236/trunk@21142 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 15:17:11 +00:00
mcafee%netscape.com
0ca9f24e74 Adding newline at end of file for Solaris/CC
git-svn-id: svn://10.0.0.236/trunk@21141 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 12:14:59 +00:00
mcafee%netscape.com
e78d2a9f39 Moving egrep -q to redirect to /dev/null to get around egrep portability problem. Thanks to ramiro for this fix.
git-svn-id: svn://10.0.0.236/trunk@21140 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 11:30:29 +00:00
mcafee%netscape.com
ceeeef188b Icons live in AppCores/xul/resources now.
git-svn-id: svn://10.0.0.236/trunk@21139 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 11:10:18 +00:00
mcafee%netscape.com
7af0dcc61e navigator.xul is referencing toolbar, not Toolbar
git-svn-id: svn://10.0.0.236/trunk@21138 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 11:09:06 +00:00
grail%cafebabe.org
25a5525a24 Added in full toggle button functionality into the PageModel.
git-svn-id: svn://10.0.0.236/trunk@21137 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 10:26:42 +00:00
grail%cafebabe.org
d1a2ab5731 Page builder, page model now works. It's ugly. The entire XML widget
building needs help in general.


git-svn-id: svn://10.0.0.236/trunk@21136 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 10:11:44 +00:00
jband%netscape.com
1f0737e036 added macro to ease defining the static const IID() accessor to xpcom interface class declarations
git-svn-id: svn://10.0.0.236/trunk@21135 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 05:37:50 +00:00
jband%netscape.com
8adf363343 changed MAP_IS_NATIVE to allow for objects that have their own jsObjectOps but still use the slots in the 'normal' manner (this is necessary for XPConnect) - same change as made on SpiderMonkey140_BRANCH
git-svn-id: svn://10.0.0.236/trunk@21134 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 05:36:16 +00:00
hyatt%netscape.com
4ab66b66a5 Commented out some code I shouldn't have in the menu code.
git-svn-id: svn://10.0.0.236/trunk@21133 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 05:18:18 +00:00
hyatt%netscape.com
64946e6ea0 Fixing Mac build bustage.
git-svn-id: svn://10.0.0.236/trunk@21132 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 05:14:30 +00:00
hyatt%netscape.com
1098a58b04 Improvements to the document getElementByID method.
git-svn-id: svn://10.0.0.236/trunk@21131 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 05:03:20 +00:00
hyatt%netscape.com
133b081fb6 Inside an INCLUDE_XUL #ifdef, making sure that HTML atoms get addrefed and
released by the frame constructor.


git-svn-id: svn://10.0.0.236/trunk@21130 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 05:02:50 +00:00
hyatt%netscape.com
6369b8df24 Checking in the new appRunner.
git-svn-id: svn://10.0.0.236/trunk@21129 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 05:01:03 +00:00
hyatt%netscape.com
bb3f825862 Changes to the XUL stylesheet file and tweaks to the makefiles to make
sure that the navigator.xul file is properly installed in the res/samples
directory.


git-svn-id: svn://10.0.0.236/trunk@21128 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 05:00:22 +00:00
hyatt%netscape.com
708b1e47f0 This is the true file that will be loaded by the browser.
git-svn-id: svn://10.0.0.236/trunk@21126 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 04:57:21 +00:00
mscott%netscape.com
bd9d731f1d Change default path for writing tempArticle.eml into to c:\temp.
git-svn-id: svn://10.0.0.236/trunk@21124 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 04:46:54 +00:00
troy%netscape.com
44d563da83 Added support for 'width' and 'height' values of 'inherit'
git-svn-id: svn://10.0.0.236/trunk@21123 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 04:40:16 +00:00
mcafee%netscape.com
5bcfc821ca Backing the egrep part of slamm's change out, solaris egrep doesn't know what -q is
git-svn-id: svn://10.0.0.236/trunk@21122 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 04:33:23 +00:00
briano%netscape.com
f011fbd216 Automated update
git-svn-id: svn://10.0.0.236/trunk@21121 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 04:31:38 +00:00
jband%netscape.com
615071e15e more tests
git-svn-id: svn://10.0.0.236/trunk@21120 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 04:30:20 +00:00
ramiro%netscape.com
1bee575a8c Added --{enable,disable}-build-nspr --{enable,disable}-build-xpfe.
git-svn-id: svn://10.0.0.236/trunk@21118 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 04:19:43 +00:00
alecf%netscape.com
4f1c7d9148 fix initialization ordering to match declaration
git-svn-id: svn://10.0.0.236/trunk@21117 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 03:56:24 +00:00
mscott%netscape.com
23d892e5a2 We need to build mime as part of messenger...
git-svn-id: svn://10.0.0.236/trunk@21116 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 03:54:15 +00:00
mscott%netscape.com
51aacb5ee6 Rebuild our 3-pane UI using iframes..the old code was using HTML frames which caused only one nsIWebShell for the whole mail frame....
git-svn-id: svn://10.0.0.236/trunk@21115 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 03:52:40 +00:00
alecf%netscape.com
d47d8e5b07 ignore generated files
git-svn-id: svn://10.0.0.236/trunk@21114 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 03:46:47 +00:00
alecf%netscape.com
05044b0ee8 fix for egcs/gcc compiler bug
git-svn-id: svn://10.0.0.236/trunk@21113 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 03:46:32 +00:00
kipp%netscape.com
01e3829114 Update window-manager hints so that the window is resizable after its shown
git-svn-id: svn://10.0.0.236/trunk@21112 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 03:33:00 +00:00
kipp%netscape.com
85de11e40a Compute subscript/super-script offsets; support (disabled) scalable fonts
git-svn-id: svn://10.0.0.236/trunk@21111 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 03:32:29 +00:00
kipp%netscape.com
696f13970e Made it build and work on linux
git-svn-id: svn://10.0.0.236/trunk@21110 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 03:29:37 +00:00
kipp%netscape.com
598f1d281f updated hash generator
git-svn-id: svn://10.0.0.236/trunk@21109 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 03:29:24 +00:00
kipp%netscape.com
fa4db70f26 Fixed up alignment mappings
git-svn-id: svn://10.0.0.236/trunk@21108 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 03:28:55 +00:00
kipp%netscape.com
d075589210 Added methods for supporting 2 pass vertical align reflow
git-svn-id: svn://10.0.0.236/trunk@21107 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 03:28:00 +00:00
kipp%netscape.com
ff33b16eb8 Support 2 pass vertical-align reflow for top/bottom better
git-svn-id: svn://10.0.0.236/trunk@21106 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 03:27:41 +00:00
kipp%netscape.com
656c1d08ba Eliminated HAVE_ANONYMOUS_BLOCK code; added in implementations of FindTextRuns and VerticalAlignChildren
git-svn-id: svn://10.0.0.236/trunk@21105 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 03:27:23 +00:00
kipp%netscape.com
59a8c9178d Removed a skid mark
git-svn-id: svn://10.0.0.236/trunk@21104 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 03:26:42 +00:00
kipp%netscape.com
1e83ecb886 Detect errors more often by prioritizing its status over size-available
git-svn-id: svn://10.0.0.236/trunk@21103 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 03:26:19 +00:00
ramiro%netscape.com
0e2ed2303f Build tests on if ENABLE_TESTS is defined.
git-svn-id: svn://10.0.0.236/trunk@21102 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 03:26:16 +00:00
kipp%netscape.com
7f83e9ffe2 Added VerticalAlignFrames for 2nd pass vertical align reflow
git-svn-id: svn://10.0.0.236/trunk@21101 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 03:25:48 +00:00
kipp%netscape.com
18469f80d3 Removed GetAutoMarginSize; added VerticalAlignFrames
git-svn-id: svn://10.0.0.236/trunk@21100 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 03:25:23 +00:00
kipp%netscape.com
c597871027 Removed usage of GetAutoMarginSize
git-svn-id: svn://10.0.0.236/trunk@21099 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 03:24:58 +00:00
kipp%netscape.com
3762fd4a73 Used temporary variables to avoid double-casts and make it easier for compilers to do the right thing
git-svn-id: svn://10.0.0.236/trunk@21098 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 03:24:39 +00:00
alecf%netscape.com
2f203b251c moving mailnews makfiles into mailnews directory
git-svn-id: svn://10.0.0.236/trunk@21097 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 03:22:52 +00:00
kipp%netscape.com
65c05b56e0 Removed obsolete GetAutoMarginSize method
git-svn-id: svn://10.0.0.236/trunk@21096 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 03:19:02 +00:00
brendan%netscape.com
a674934ef9 Fixed wrapper management to be self-contained, requiring no extra interfaces.
git-svn-id: svn://10.0.0.236/trunk@21095 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 03:10:40 +00:00
briano%netscape.com
cb8834ef3a Automated update
git-svn-id: svn://10.0.0.236/trunk@21094 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 03:00:39 +00:00
shaver%netscape.com
7f3aa35988 binary files are required (thanks, jband). also fix typo
git-svn-id: svn://10.0.0.236/trunk@21093 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 02:53:08 +00:00
briano%netscape.com
321fc1b1cf Fix DSO_LDOPTS for AIX (4.2 for now).
git-svn-id: svn://10.0.0.236/trunk@21092 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 02:49:42 +00:00
waterson%netscape.com
231408e37d Implemented most of the rest of the DOM observer methods.
git-svn-id: svn://10.0.0.236/trunk@21090 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 02:02:48 +00:00
cyeh%netscape.com
bd900b8256 change from using layout/config/rules.mak to using config/rules.mak
git-svn-id: svn://10.0.0.236/trunk@21087 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 01:52:09 +00:00
rjc%netscape.com
c5b77f467b Small fix for path separators.
git-svn-id: svn://10.0.0.236/trunk@21086 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 01:43:22 +00:00
mscott%netscape.com
ed40070a63 Makefile to build the nntpTest harness
git-svn-id: svn://10.0.0.236/trunk@21085 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 01:16:12 +00:00
mscott%netscape.com
7fd6fb2575 Oops...build the nntp sub directory as well
git-svn-id: svn://10.0.0.236/trunk@21084 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 01:15:40 +00:00
mscott%netscape.com
916c0d316d Build the stub code as a library.
git-svn-id: svn://10.0.0.236/trunk@21083 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 01:14:05 +00:00
cata%netscape.com
3ab85f2050 Test data from files capability added.
git-svn-id: svn://10.0.0.236/trunk@21080 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 00:55:19 +00:00
mscott%netscape.com
66873c869a build nntp sub directory...
git-svn-id: svn://10.0.0.236/trunk@21079 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 00:54:37 +00:00
cata%netscape.com
53b2d57c3c Hacky ASCII encoder elliminated.
git-svn-id: svn://10.0.0.236/trunk@21078 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 00:54:13 +00:00
mscott%netscape.com
2326f2cf1f NNTP test harness. This code was moved here from news\tests.
git-svn-id: svn://10.0.0.236/trunk@21077 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 00:54:06 +00:00
mscott%netscape.com
e9bf3da007 Removing from repository. This file now lives in tests\nntp.
git-svn-id: svn://10.0.0.236/trunk@21076 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 00:53:29 +00:00
cata%netscape.com
6604db1794 Return value name changed.
git-svn-id: svn://10.0.0.236/trunk@21075 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 00:53:27 +00:00
mscott%netscape.com
0471e422bc Remove some ::IID() calls and replace them with NS_DEFINE_IID macros...
git-svn-id: svn://10.0.0.236/trunk@21073 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 00:47:50 +00:00
mscott%netscape.com
df4a08360c initializing base app core no longer happens in the mail app core....this removes our build dependencies on the base app cores.
git-svn-id: svn://10.0.0.236/trunk@21072 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 00:47:09 +00:00
mscott%netscape.com
7258cdddda Link with nntptest library...
git-svn-id: svn://10.0.0.236/trunk@21071 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 00:46:16 +00:00
mscott%netscape.com
6f4d722db2 Updates to our mail core XUL file to get loading of a hard coded news url to run.
git-svn-id: svn://10.0.0.236/trunk@21070 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 00:45:11 +00:00
mcmullen%netscape.com
cfb2941367 Backing out previous change from the trunk, because it was supposed to have gone in on a branch.
git-svn-id: svn://10.0.0.236/trunk@21069 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 00:45:07 +00:00
mscott%netscape.com
29946279d1 mail shell needs a frame for browser.webwindow
git-svn-id: svn://10.0.0.236/trunk@21068 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 00:43:36 +00:00
saari%netscape.com
d1bffb6304 /m/pub/mozilla/widget/src/mac/nsMenu.cpp
- unleash menu separators for mac


git-svn-id: svn://10.0.0.236/trunk@21067 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 00:42:06 +00:00
shaver%netscape.com
9aaaefcbe2 Report read failure and short reads (should handle short reads better! RSN!).
File length is a size_t now, not an int.


git-svn-id: svn://10.0.0.236/trunk@21066 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 00:42:01 +00:00
mscott%netscape.com
6b65c21255 Add ::IID() methods to these interfaces...
git-svn-id: svn://10.0.0.236/trunk@21065 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 00:36:12 +00:00
mcmullen%netscape.com
8d5ad2e84a Updated to match the header changes I've been making. Also, added the declaration of the persistent filespec class.
git-svn-id: svn://10.0.0.236/trunk@21064 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 00:35:41 +00:00
mscott%netscape.com
da7c584bf4 Adding ::IID() methods to these interfaces...
git-svn-id: svn://10.0.0.236/trunk@21063 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 00:34:33 +00:00
mscott%netscape.com
6f23628ee5 For now, disable the nntp test executable. (I'll look into moving this into a separate makefile...)
Build the test stubs as a stand alone library...


git-svn-id: svn://10.0.0.236/trunk@21062 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 00:29:11 +00:00
mscott%netscape.com
bc682708aa Don't use ::IID() function for the webshell interface because it doesn't support it....
git-svn-id: svn://10.0.0.236/trunk@21061 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 00:28:10 +00:00
waterson%netscape.com
1c931da059 Fixed bug where we were generating HTML kids for each attribute that we iterated over.
git-svn-id: svn://10.0.0.236/trunk@21060 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 00:25:06 +00:00
rjc%netscape.com
b1a6ff20f0 Fix XPCom on Mac so that autoregistration of .shlb files work.
git-svn-id: svn://10.0.0.236/trunk@21059 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 00:24:38 +00:00
waterson%netscape.com
75d3092e20 Force all HTML tags to lower case.
git-svn-id: svn://10.0.0.236/trunk@21058 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 00:24:16 +00:00
vidur%netscape.com
78c8a0019e Backed out bogus update to test
git-svn-id: svn://10.0.0.236/trunk@21057 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 00:19:12 +00:00
vidur%netscape.com
1defb4fd38 Supported XML namespace decls as attributes of HTML content embedded in XML
git-svn-id: svn://10.0.0.236/trunk@21056 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 00:18:50 +00:00
kmcclusk%netscape.com
e999bd483b Added pseudo styles for file input element buttons and text fields to control their
appearance during printing.
Now returns value of file upload element in nsHTMLInputElement::GetValue.
Added :file-textstyle and :file-buttonstyle pseudo style's to ua.css.
Modified nsButtonControlFrame::PaintButton to accept a rectangle describing the
position and size of the button to paint.
Modified nsFileControlFrame::Paint to resolve :file-buttonstyle and :file-textstyle to
paint the file upload's button and text field using settings in ua.css
Added nsFileControlFrame::HasWidget utility method.
Added nsFormControlHelper::GetInputElementValue to get the current value of an input element
from the DOM.
Modified nsTextControlFrame::GetProperty to use nsFormControlHelper::GetInputElementValue
Modified nsTextControlFrame::PaintTextControl to accept a rectangle describing the position
and size of the text control to paint.
Modified nsTextControl::PaintTextControlBackground to include a rectangle describing the
position and size of the text control background to paint.


git-svn-id: svn://10.0.0.236/trunk@21055 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 00:13:39 +00:00
warren%netscape.com
564e53e97d Added constructor for strings.
git-svn-id: svn://10.0.0.236/trunk@21054 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 00:12:08 +00:00
waterson%netscape.com
cf0b064285 Added nsRDFResource.
git-svn-id: svn://10.0.0.236/trunk@21053 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 00:11:53 +00:00
sdagley%netscape.com
d4b4c375df Mac specific fix. Checking in rjc's fix to load libraries if file spec was an alias to a library rather than the actual library file spec. Needed so XPCOM will work on Mac.
git-svn-id: svn://10.0.0.236/trunk@21052 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 00:10:46 +00:00
nhotta%netscape.com
ea5ca906ce nsILocale integration.
git-svn-id: svn://10.0.0.236/trunk@21051 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 00:02:03 +00:00
vidur%netscape.com
0556407675 Implemented the correct content model for the TITLE element and allowed for dynamic change.
git-svn-id: svn://10.0.0.236/trunk@21050 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 23:56:55 +00:00
warren%netscape.com
d44ee154e4 Moved utilities to util directory.
git-svn-id: svn://10.0.0.236/trunk@21049 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 23:42:09 +00:00
waterson%netscape.com
73d0b8257a Added a hack to use the tag's namespace as the default namespace in the lack of any other information. Not sure if this is correct.
git-svn-id: svn://10.0.0.236/trunk@21048 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 23:41:23 +00:00
sfraser%netscape.com
efbf2406c3 Add nsCaret.cpp
git-svn-id: svn://10.0.0.236/trunk@21047 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 23:37:21 +00:00
sfraser%netscape.com
afdfb1b0d3 Adding nsCaretProperties.cpp to Windows and UNIX builds
git-svn-id: svn://10.0.0.236/trunk@21046 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 23:36:54 +00:00
cata%netscape.com
e3dbe4db0b Interface implemented as "public".
git-svn-id: svn://10.0.0.236/trunk@21041 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 23:21:22 +00:00
bienvenu%netscape.com
e04293df2c test PrePopulate method
git-svn-id: svn://10.0.0.236/trunk@21039 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 23:19:31 +00:00
bienvenu%netscape.com
ba6284a483 add PrePopulate method for testing
git-svn-id: svn://10.0.0.236/trunk@21038 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 23:18:46 +00:00
ebina%netscape.com
1501c1cf35 Don't stop looking for converters just because the first one
failed.  This will be necessary for plugin converters.


git-svn-id: svn://10.0.0.236/trunk@21037 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 23:18:13 +00:00
warren%netscape.com
e8b5c1f3f2 Added nsRDFResource.h for the mac
git-svn-id: svn://10.0.0.236/trunk@21036 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 23:02:00 +00:00
saari%netscape.com
6e6893dc91 /m/pub/mozilla/widget/src/mac/nsMenu.cpp
- uncommented MenuSelected implementation
- cleaned up MenuSelected implementation

/m/pub/mozilla/widget/src/mac/nsMenuBar.cpp
- Uncomment MenuSelected() implementation
- Uncomment release of nsIMenuListener to avoid leak

/m/pub/mozilla/widget/src/mac/nsMenuItem.cpp
- #include "nsIMenuListener.h"
- Implement AddMenuListener()
- Implement MenuSelected()

/m/pub/mozilla/widget/src/mac/nsMenuItem.h
- Added nsIMenuListener * mXULCommandListener member


git-svn-id: svn://10.0.0.236/trunk@21033 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 22:45:34 +00:00
brendan%netscape.com
679ff22189 Cope with void return.
git-svn-id: svn://10.0.0.236/trunk@21032 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 22:45:12 +00:00
bienvenu%netscape.com
a5b8b44aa3 dumpt in-memory toy db after reparsing folder
git-svn-id: svn://10.0.0.236/trunk@21031 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 22:38:57 +00:00
bienvenu%netscape.com
ceef1bfd5f get in-memory toy db working
git-svn-id: svn://10.0.0.236/trunk@21030 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 22:38:13 +00:00
hyatt%netscape.com
ba80bd96ca Fixed bug with inline scripts: wasn't truncating the text buffer.
git-svn-id: svn://10.0.0.236/trunk@21028 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 22:33:09 +00:00
hyatt%netscape.com
fd90c045c2 Implemented more DOM methods to get apprunner working with XUL files.
git-svn-id: svn://10.0.0.236/trunk@21027 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 22:32:40 +00:00
warren%netscape.com
c29487ef71 Consolidated DefaultResourceImpl with nsRDFResource.
git-svn-id: svn://10.0.0.236/trunk@21026 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 22:28:15 +00:00
cyeh%netscape.com
1d51efc7a2 step one in removing mozilla/layout/config: move special layout/config configuration
to default WIN32 rules.


git-svn-id: svn://10.0.0.236/trunk@21025 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 22:25:15 +00:00
brendan%netscape.com
b5dca37e01 More stub work checkpointing; expand tabs.
git-svn-id: svn://10.0.0.236/trunk@21024 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 22:13:32 +00:00
warren%netscape.com
39b1d08e3d Updated to use nsRDFResource (is this file obsolete though)?
git-svn-id: svn://10.0.0.236/trunk@21023 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 21:57:15 +00:00
terry%netscape.com
2f367f36a6 Put all the INPUT elements inside of the FORM element, OK?
git-svn-id: svn://10.0.0.236/trunk@21022 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 21:56:14 +00:00
alecf%netscape.com
ebdae2117a new generated javascript with constructor
git-svn-id: svn://10.0.0.236/trunk@21021 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 20:47:29 +00:00
buster%netscape.com
8f155a860a fix mac build for new nsCOMPtr code
git-svn-id: svn://10.0.0.236/trunk@21020 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 20:44:44 +00:00
waterson%netscape.com
c086534bbc Added RDF CIDs as #ifdef XP_MAC until somebody fixes dynamic self-registration for XPCOM DLLs.
git-svn-id: svn://10.0.0.236/trunk@21019 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 20:05:07 +00:00
ducarroz%netscape.com
1f157ad53d no comment
git-svn-id: svn://10.0.0.236/trunk@21018 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 19:59:37 +00:00
ducarroz%netscape.com
1bf8a9850f use nsIMsgSend to send a message
git-svn-id: svn://10.0.0.236/trunk@21017 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 19:57:48 +00:00
ducarroz%netscape.com
8aaa05a493 add lib raptorbase needed by nsMsgSend
git-svn-id: svn://10.0.0.236/trunk@21016 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 19:54:52 +00:00
ducarroz%netscape.com
e9888c15e1 did some work
git-svn-id: svn://10.0.0.236/trunk@21015 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 19:53:29 +00:00
ducarroz%netscape.com
cd5bf020f5 add new interface and member functions
git-svn-id: svn://10.0.0.236/trunk@21014 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 19:52:14 +00:00
ducarroz%netscape.com
69b296aa60 add more glue requested by nsMsgSend
git-svn-id: svn://10.0.0.236/trunk@21013 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 19:50:03 +00:00
ducarroz%netscape.com
8aebeb0c24 add nsMsgSend.cpp & nsMsgSendPart.cpp to the build
git-svn-id: svn://10.0.0.236/trunk@21012 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 19:49:23 +00:00
ducarroz%netscape.com
6e6e17bc43 clean up comment
git-svn-id: svn://10.0.0.236/trunk@21011 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 19:44:54 +00:00
ducarroz%netscape.com
5892636d05 add interface for set/get body
git-svn-id: svn://10.0.0.236/trunk@21010 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 19:43:26 +00:00
buster%netscape.com
f62022c72f Highlights:
updated to new nsCOMPtr usage
nsTextEditor::InsertBreak() implemented
  splits the text node at the caret (deletes any extended selection to force a collapsed selection.)
  inserts a <BR> which I assume we'll convert to a CR when we write to a text stream.
  undo and redo work, except for the bug noted below

More stuff:
interface cleanup
strategic debugging code added
delete selection txn sets the collapses the selection...this is just a placeholder, but I needed it for undo/redo of InsertBreak.
join and split now work for text nodes as well as interior nodes


git-svn-id: svn://10.0.0.236/trunk@21009 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 19:42:29 +00:00
ducarroz%netscape.com
858ef80269 add more glue requested by nsMsgSend
git-svn-id: svn://10.0.0.236/trunk@21008 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 19:42:02 +00:00
ducarroz%netscape.com
ae0105459f add export for nsIMsgSend.h & nsMsgSendFact.h
git-svn-id: svn://10.0.0.236/trunk@21007 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 19:41:12 +00:00
ducarroz%netscape.com
8472c11182 add factory for nsIMsgSend
git-svn-id: svn://10.0.0.236/trunk@21006 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 19:38:44 +00:00
hyatt%netscape.com
5efb69700e Finishing the broadcaster work (at least for now).
git-svn-id: svn://10.0.0.236/trunk@21005 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 19:35:53 +00:00
ducarroz%netscape.com
1bf050c768 add class id for nsMsgSend
git-svn-id: svn://10.0.0.236/trunk@21004 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 19:35:46 +00:00
ducarroz%netscape.com
45c0c4d8b7 add lib secfreenav32
git-svn-id: svn://10.0.0.236/trunk@21003 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 19:32:28 +00:00
ducarroz%netscape.com
1094bcf166 Initial checkin
git-svn-id: svn://10.0.0.236/trunk@21002 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 19:28:25 +00:00
kipp%netscape.com
04601e526f Fix mac build issue
git-svn-id: svn://10.0.0.236/trunk@21001 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 19:24:02 +00:00
hyatt%netscape.com
611f697372 More tweaks to the broadcasting stuff.
git-svn-id: svn://10.0.0.236/trunk@21000 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 18:58:05 +00:00
hyatt%netscape.com
0379cb730c Implemented brain-dead tree walk in GetElementByID.
git-svn-id: svn://10.0.0.236/trunk@20999 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 18:46:23 +00:00
locka%iol.ie
604377454a Update some API calls to handle new const tags
git-svn-id: svn://10.0.0.236/trunk@20998 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 18:45:59 +00:00
buster%netscape.com
2faefdcbe3 private interface for editor, used for common editing operations that
we don't want to expose publically.


git-svn-id: svn://10.0.0.236/trunk@20997 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 18:34:41 +00:00
hyatt%netscape.com
7df67aa0d4 Checking in code that does the broadcaster hookup.
git-svn-id: svn://10.0.0.236/trunk@20996 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 18:33:33 +00:00
nhotta%netscape.com
faf0820419 Added mCharset and mLocale to the class.
git-svn-id: svn://10.0.0.236/trunk@20995 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 18:32:33 +00:00
briano%netscape.com
ee7c2137c9 Automated update
git-svn-id: svn://10.0.0.236/trunk@20994 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 18:31:59 +00:00
kmcclusk%netscape.com
73a159c13d Added <INPUT type=file> to test_pr.html
git-svn-id: svn://10.0.0.236/trunk@20993 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 18:27:38 +00:00
slamm%netscape.com
3302284007 Source allmakefiles.sh instead of running in subshell. This way it can read the variables from configure.
git-svn-id: svn://10.0.0.236/trunk@20992 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 18:25:39 +00:00
harishd%netscape.com
09ea437c91 Added FontMetrics for regression testing.
Will be wired up later


git-svn-id: svn://10.0.0.236/trunk@20991 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 18:21:51 +00:00
warren%netscape.com
bf45e8cf21 Removed INCLUDE definition which was overriding my windows include path.
git-svn-id: svn://10.0.0.236/trunk@20990 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 18:21:40 +00:00
warren%netscape.com
84d3803b00 Added missing definition of nsFilePath::nsFilePath(const nsFilePath&)
git-svn-id: svn://10.0.0.236/trunk@20988 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 18:20:27 +00:00
kipp%netscape.com
12b2eb58ee Renamed calls to FE_SetTimeout to IL_SetTimeout to avoid dll linkage problem on unix
git-svn-id: svn://10.0.0.236/trunk@20987 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 18:14:58 +00:00
rods%netscape.com
f72ebb9ef9 Changed some of the sizing because the font is smaller
git-svn-id: svn://10.0.0.236/trunk@20986 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 18:06:19 +00:00
nhotta%netscape.com
8d4d0a279d nsILocale integration.
git-svn-id: svn://10.0.0.236/trunk@20985 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 18:00:29 +00:00
slamm%netscape.com
d3179f005f Add clean targets. Add windows equivalent targets.
git-svn-id: svn://10.0.0.236/trunk@20984 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 17:59:06 +00:00
nhotta%netscape.com
a807dd4853 Changed MIME encoder from csid base to charset name base.
git-svn-id: svn://10.0.0.236/trunk@20983 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 17:47:25 +00:00
briano%netscape.com
909eb56d25 Automated update
git-svn-id: svn://10.0.0.236/trunk@20982 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 17:45:38 +00:00
slamm%netscape.com
fbf1d1ac0a overhaul. Quit if conflicts during checkout. Make default target pull and build. Set up dependencies rules for configure. Get ready for menu config.
git-svn-id: svn://10.0.0.236/trunk@20981 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 17:36:29 +00:00
coop%netscape.com
6b258d8513 NOT YET PART OF SEAMONKEY:
* replaces reference to unistd.h by stdlib.h


git-svn-id: svn://10.0.0.236/trunk@20980 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 17:36:01 +00:00
slamm%netscape.com
0b3a71de02 Add option for -MMD dependencies.
git-svn-id: svn://10.0.0.236/trunk@20979 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 17:33:07 +00:00
troy%netscape.com
0698a49751 Changes for having OBJECT element render its contents if the OBJECT can't
be rendered


git-svn-id: svn://10.0.0.236/trunk@20978 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 17:02:27 +00:00
troy%netscape.com
ab4336334a Fix for bug #2899
git-svn-id: svn://10.0.0.236/trunk@20977 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 17:01:39 +00:00
rods%netscape.com
d9e8c7f71f Reduced the font size of the buttons
git-svn-id: svn://10.0.0.236/trunk@20976 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 16:55:23 +00:00
rods%netscape.com
fe6e22933b Fixed the termination of the app when a window closes
git-svn-id: svn://10.0.0.236/trunk@20975 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 16:49:43 +00:00
rods%netscape.com
1dbd117587 Added separators
git-svn-id: svn://10.0.0.236/trunk@20974 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 16:49:14 +00:00
rods%netscape.com
1566696e47 Added an ifdef to get exit working because the Register and unregister isn't working right
git-svn-id: svn://10.0.0.236/trunk@20973 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 16:18:17 +00:00
rods%netscape.com
8cae2f7eee Added extra experimental menu and items and added in an extra toolbar
git-svn-id: svn://10.0.0.236/trunk@20972 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 16:17:17 +00:00
rods%netscape.com
6fbb1d5d39 Made AppCoreManager a a Gecko service
git-svn-id: svn://10.0.0.236/trunk@20971 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 16:16:35 +00:00
rods%netscape.com
5db991bd3b Added some experienmental methods BrowserAppCore
for example: newWindow, exit, close, printPreview


git-svn-id: svn://10.0.0.236/trunk@20970 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 16:15:06 +00:00
rods%netscape.com
10e3849823 AppCores are now mantained in a nsVoidArray
git-svn-id: svn://10.0.0.236/trunk@20969 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 16:14:15 +00:00
terry%netscape.com
3cc8cf1a19 Put in better description for Embedding APIs.
git-svn-id: svn://10.0.0.236/trunk@20968 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 16:14:14 +00:00
rods%netscape.com
42420a8c97 Added temporary menu hook up as an experiement
git-svn-id: svn://10.0.0.236/trunk@20967 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 16:12:10 +00:00
rods%netscape.com
7fea89585a Added nsIMenuListener as the base class for nsIXULCommand
git-svn-id: svn://10.0.0.236/trunk@20966 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 16:11:13 +00:00
ftang%netscape.com
aad957545c change font preference code so it will pick the font setting for the defalt charset instead of always latin 1. Reviewed by peterl, kipp and troy
git-svn-id: svn://10.0.0.236/trunk@20965 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 15:52:02 +00:00
ftang%netscape.com
496eec0e01 add nsCategoryImp.cpp
git-svn-id: svn://10.0.0.236/trunk@20964 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 15:42:26 +00:00
ftang%netscape.com
ffd89aa4ee add nsCategory.cpp
git-svn-id: svn://10.0.0.236/trunk@20963 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 15:40:10 +00:00
ftang%netscape.com
95373911cb 1. fix the Prefix file problem for Debug target
2. Add nsCategoryImp.cpp


git-svn-id: svn://10.0.0.236/trunk@20962 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 15:37:28 +00:00
ftang%netscape.com
dd2351f9c4 add CID for lwbrk
git-svn-id: svn://10.0.0.236/trunk@20961 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 15:30:26 +00:00
ftang%netscape.com
d2cbcd36da add lwbrk
git-svn-id: svn://10.0.0.236/trunk@20960 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 15:27:16 +00:00
ftang%netscape.com
3f28058dec First Checked In.
git-svn-id: svn://10.0.0.236/trunk@20959 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 15:20:52 +00:00
ftang%netscape.com
54d5f999f2 add test cases 5-6 and reorg it
git-svn-id: svn://10.0.0.236/trunk@20958 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 15:17:08 +00:00
ftang%netscape.com
c503957b8f fix contextual bug
git-svn-id: svn://10.0.0.236/trunk@20957 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 15:16:23 +00:00
ftang%netscape.com
35b9eb376f add toc file
git-svn-id: svn://10.0.0.236/trunk@20956 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 15:15:39 +00:00
ebina%netscape.com
0059de3371 Update the MANIFEST file for the new headers that get exported.
git-svn-id: svn://10.0.0.236/trunk@20955 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 15:03:04 +00:00
ebina%netscape.com
fe935c1b65 added files: mozilla/network/cnvts/magic.cpp, mozilla/network/cnvts/cvplugin.cpp, mozilla/network/cnvts/nsNetConverterStream.cpp
git-svn-id: svn://10.0.0.236/trunk@20954 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 15:01:18 +00:00
ebina%netscape.com
e4d1c56e4a Build the new plugin converter files on linux.
git-svn-id: svn://10.0.0.236/trunk@20953 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 14:57:34 +00:00
briano%netscape.com
ab3f8c8b0e Automated update
git-svn-id: svn://10.0.0.236/trunk@20952 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 14:45:37 +00:00
ramiro%netscape.com
93a4389e73 Add support for insure.
git-svn-id: svn://10.0.0.236/trunk@20951 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 14:37:18 +00:00
rods%netscape.com
f135ae5edf Added methods for adding and removing nsMenuListeners
and


git-svn-id: svn://10.0.0.236/trunk@20950 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 14:34:33 +00:00
rods%netscape.com
89cdbe170a Changed GetItemAt to return a nsISupports instead of a nsIMenuItem, this is
because a menu can hold both other menus and menu items.
Implemented several more of the menu methods and added the listenr methods to the
menu item.


git-svn-id: svn://10.0.0.236/trunk@20949 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 14:31:26 +00:00
rods%netscape.com
d8a48cb718 Added the dispatch to menu listeners
git-svn-id: svn://10.0.0.236/trunk@20948 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 14:30:47 +00:00
rods%netscape.com
c188f38978 Added methods for adding and removing menu listeners
git-svn-id: svn://10.0.0.236/trunk@20947 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 14:29:51 +00:00
rods%netscape.com
55fd386c70 Changed GetItemAt to return a nsISupports instead of a nsIMenuItem, this is
because a menu can hold both other menus and menu items.


git-svn-id: svn://10.0.0.236/trunk@20946 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 14:29:15 +00:00
waterson%netscape.com
b69922c4d5 Added nsIDOMElementObserver interface, implemented OnSetAttribute(). Fixed so that a shared namespace manager is held.
git-svn-id: svn://10.0.0.236/trunk@20945 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 11:57:57 +00:00
waterson%netscape.com
0067870114 Implemented nsIDOMElement::GetAttribute().
git-svn-id: svn://10.0.0.236/trunk@20944 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 11:56:44 +00:00
waterson%netscape.com
bff20acf78 Added nsIDOMElementObserver interface to QI.
git-svn-id: svn://10.0.0.236/trunk@20943 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 11:56:15 +00:00
waterson%netscape.com
769c236738 Landed RDF_19990217_BRANCH. This includes a bunch of changes to get XUL scriptability up and running; also, nsRDFResourceElement and nsRDFGenericElement have been collapsed into a single class, and most of the state has been turned into attributes on the class.
git-svn-id: svn://10.0.0.236/trunk@20942 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 11:09:57 +00:00
jband%netscape.com
23bb05a6af more tests and type conversion fixes
git-svn-id: svn://10.0.0.236/trunk@20923 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 09:24:12 +00:00
grail%cafebabe.org
926e87ac79 DND compatibility issues.
git-svn-id: svn://10.0.0.236/trunk@20922 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 08:42:21 +00:00
waterson%netscape.com
e6531f8683 Modified generated files so that NS_InitFooClass() is accessable outside of JSDOM.DLL. a=vidur%netscape.com.
git-svn-id: svn://10.0.0.236/trunk@20919 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 08:33:27 +00:00
waterson%netscape.com
f8f837b4fc Made NS_InitFooClass() accessable outside of JSDOM.DLL.
git-svn-id: svn://10.0.0.236/trunk@20918 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 08:32:14 +00:00
grail%cafebabe.org
3530ea3ce6 Removed unbuildable targets out until they're ready to be built.
git-svn-id: svn://10.0.0.236/trunk@20917 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 08:29:18 +00:00
mscott%netscape.com
97de3ac691 Move some convience functions into nsNNTPProtocol. LoadUrl now takes a consumer.
git-svn-id: svn://10.0.0.236/trunk@20916 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 08:19:49 +00:00
leaf%mozilla.org
f8b4c0424a oh, yeah, there needs to be an $FE defined somewhere... could be gutted
i'm sure, but i'd like it to just work right now.


git-svn-id: svn://10.0.0.236/trunk@20915 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 08:18:52 +00:00
mscott%netscape.com
08ea3d78f7 LoadUrl now takes a nsISupports which could be the consumer display stream. Externally declared convience functions for building and runnning a news url (which can be used in our messenger demo). Added code to call webshell->LoadUrl after retrieving a news article and writing it to a temp file. This will cause the url to be displayed in the ui.
git-svn-id: svn://10.0.0.236/trunk@20914 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 08:18:07 +00:00
waterson%netscape.com
b2f701699d Create RDF_19990217_BRANCH from RDF_DOM_19990216_BRANCH to pick up nsCOMPtr changes before doing major whackage.
git-svn-id: svn://10.0.0.236/trunk@20911 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 08:17:56 +00:00
mscott%netscape.com
da55d1f653 LoadUrl now takes a nsISupports which could be the consumer display stream. Externally declared convience functions for building and runnning a news url (which can be used in our messenger demo).
git-svn-id: svn://10.0.0.236/trunk@20910 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 08:17:04 +00:00
mscott%netscape.com
cfee4c3f6e Add some debug code to figure out when the messenger dll gets loaded....
git-svn-id: svn://10.0.0.236/trunk@20909 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 08:14:46 +00:00
mscott%netscape.com
8d04b23b39 Fix some syntax problems (missing '/' at end of some statements). Added some dump debug code to figure out if our JS glue code is even getting called (which it isn't right now).
git-svn-id: svn://10.0.0.236/trunk@20908 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 08:13:56 +00:00
mscott%netscape.com
fa9393926d Add code to build and execute a news url....
git-svn-id: svn://10.0.0.236/trunk@20907 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 08:12:44 +00:00
mscott%netscape.com
a0d6ac02f9 NS_InitMsgAppCoreClass now takes a JSObject for the parent...
git-svn-id: svn://10.0.0.236/trunk@20906 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 08:11:54 +00:00
mscott%netscape.com
16a3f6f994 Add JSObject for the parent to the arguments NS_InitMsgAppCore.
git-svn-id: svn://10.0.0.236/trunk@20905 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 08:09:47 +00:00
jband%netscape.com
ce894be40d more tests and fixed to get the tests to run, clean up of iid stuff for compiling on Linux
git-svn-id: svn://10.0.0.236/trunk@20903 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 07:07:39 +00:00
jband%netscape.com
de84b5da7e get this code compiling in win32
git-svn-id: svn://10.0.0.236/trunk@20902 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 07:05:36 +00:00
leaf%mozilla.org
252f7704b1 Adding makefile.win changes for eric bina. we'll try using camelot to add
the mac project file support.


git-svn-id: svn://10.0.0.236/trunk@20901 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 06:55:48 +00:00
grail%cafebabe.org
584afa89a7 Changed getDropTarget() to match with getGrendelDropTarget()
git-svn-id: svn://10.0.0.236/trunk@20900 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 06:19:28 +00:00
danm%netscape.com
9d9fe04c5a fixing compilation problems with new nsCOMPtr. part of the carpool.
git-svn-id: svn://10.0.0.236/trunk@20899 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 06:18:11 +00:00
warren%netscape.com
a9eeb049e5 Added some RDF accessors for messages.
git-svn-id: svn://10.0.0.236/trunk@20898 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 06:15:13 +00:00
alecf%netscape.com
116d8cfc28 ignore generated files
git-svn-id: svn://10.0.0.236/trunk@20897 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 06:01:24 +00:00
alecf%netscape.com
d6179f96c1 add test directories back to build
git-svn-id: svn://10.0.0.236/trunk@20896 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 05:59:14 +00:00
alecf%netscape.com
5249a5dbda fix for egcs 1.0.x multiple inheritance bug
git-svn-id: svn://10.0.0.236/trunk@20895 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 05:59:01 +00:00
alecf%netscape.com
33c9decae9 fix egcs compiler bustage
git-svn-id: svn://10.0.0.236/trunk@20894 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 05:57:50 +00:00
brendan%netscape.com
db787f8261 Second checkpoint.
git-svn-id: svn://10.0.0.236/trunk@20893 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 05:56:30 +00:00
scc%netscape.com
8690ac32e8 changes for nsCOMPtr
git-svn-id: svn://10.0.0.236/trunk@20891 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 05:45:31 +00:00
warren%netscape.com
0d6b96d3aa Added sidebar xul
git-svn-id: svn://10.0.0.236/trunk@20890 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 05:34:15 +00:00
warren%netscape.com
c774475bf5 Scott Putterman's changes to make the folder pane work.
git-svn-id: svn://10.0.0.236/trunk@20889 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 05:32:08 +00:00
scc%netscape.com
66a0ecf87f changes for nsCOMPtr
git-svn-id: svn://10.0.0.236/trunk@20888 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 05:29:19 +00:00
grail%cafebabe.org
1bd2c84e16 Removed TestDataSource2 from the compilation list.
git-svn-id: svn://10.0.0.236/trunk@20887 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 05:27:47 +00:00
grail%cafebabe.org
5c95e6e025 Patches from Edwin to clarify method calls for inner methods.
git-svn-id: svn://10.0.0.236/trunk@20886 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 05:26:17 +00:00
scc%netscape.com
1c36e9851a added methods of |nsCOMPtr|
git-svn-id: svn://10.0.0.236/trunk@20884 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 05:00:24 +00:00
danm%netscape.com
d4b9511aad changed nsCOMPtr comparison operators to explicitly use get(). part of nsCOMPtr carpool.
git-svn-id: svn://10.0.0.236/trunk@20883 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 04:39:22 +00:00
scc%netscape.com
cc96f52e14 missing '&' found, returned to rightful home
git-svn-id: svn://10.0.0.236/trunk@20862 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 03:12:03 +00:00
mjudge%netscape.com
519bd126c3 fix for nsCOMPtr Carpool change
git-svn-id: svn://10.0.0.236/trunk@20860 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 02:56:26 +00:00
mcafee%netscape.com
368637b894 Adding do_QueryInterface() wrapper for nsCOMPtr carpool
git-svn-id: svn://10.0.0.236/trunk@20858 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 02:31:01 +00:00
mcafee%netscape.com
0c1cb525c7 Adding do_QueryInterface() wrapper for nsCOMPtr carpool
git-svn-id: svn://10.0.0.236/trunk@20857 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 02:23:56 +00:00
danm%netscape.com
1aaae0af52 activate exception handling for tests: TestCOMPtr uses them
git-svn-id: svn://10.0.0.236/trunk@20854 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 02:18:40 +00:00
sfraser%netscape.com
379713ae18 Do the addref in a better way; part of the nsCOMPtr carpool
git-svn-id: svn://10.0.0.236/trunk@20853 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 02:13:54 +00:00
sfraser%netscape.com
5e58b8a2af Part of the great nsCOMPtr carpool. Approved by those in power.
git-svn-id: svn://10.0.0.236/trunk@20852 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 02:08:01 +00:00
mcafee%netscape.com
8e4341cd89 Adding do_QueryInterface() wrapper for nsCOMPtr carpool. r=scc a=sar
git-svn-id: svn://10.0.0.236/trunk@20851 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 02:08:00 +00:00
alecf%netscape.com
9c5cc9a256 move function declaration
git-svn-id: svn://10.0.0.236/trunk@20850 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 02:03:23 +00:00
mjudge%netscape.com
935f3ddcd6 new modifications to nsCOMPtr to explicitly change to QueryInterface
git-svn-id: svn://10.0.0.236/trunk@20849 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 01:59:56 +00:00
mjudge%netscape.com
1f5055f815 checking for nsCOMPtr change
git-svn-id: svn://10.0.0.236/trunk@20848 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 01:59:01 +00:00
scc%netscape.com
4e937fc0aa updated to new interface for nsCOMPtr
git-svn-id: svn://10.0.0.236/trunk@20847 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 01:58:25 +00:00
scc%netscape.com
4f503f2e63 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@20846 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 01:57:07 +00:00
alecf%netscape.com
8162b7aeb8 add InitMsgAppCoreclass to exported header
git-svn-id: svn://10.0.0.236/trunk@20845 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 01:56:45 +00:00
mcafee%netscape.com
4cc240caf4 Adding nsCOMPtr.cpp for nsCOMPtr carpool
git-svn-id: svn://10.0.0.236/trunk@20844 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 01:55:00 +00:00
ebina%netscape.com
bb4a16eaef Use PR_TRUE and PR_FALSE instead of True and False.
git-svn-id: svn://10.0.0.236/trunk@20841 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 01:27:10 +00:00
kmcclusk%netscape.com
b932514d5e added #ifdef XP_PC in nsSelectControlFrame::GetProperty to fix MAC crash
on www.city.net


git-svn-id: svn://10.0.0.236/trunk@20840 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 01:24:16 +00:00
brendan%netscape.com
166c8a5abe Checkpoint xpidl -m stub work.
git-svn-id: svn://10.0.0.236/trunk@20839 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 01:17:52 +00:00
bienvenu%netscape.com
28d559cdf5 call base class line handler to get parsing to work
git-svn-id: svn://10.0.0.236/trunk@20838 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 00:36:07 +00:00
bienvenu%netscape.com
6035d614ae fix memory crunch freeing memory I don't own
git-svn-id: svn://10.0.0.236/trunk@20837 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 00:35:25 +00:00
briano%netscape.com
5c7f970359 Fixed Kipp's hack to allow CPP_PROG_LINK to be overridden when necessary.
git-svn-id: svn://10.0.0.236/trunk@20836 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 00:32:17 +00:00
bienvenu%netscape.com
c77b725d99 get this to compile for debug me
git-svn-id: svn://10.0.0.236/trunk@20834 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 00:10:48 +00:00
bienvenu%netscape.com
12a50ad32b make pop3 protocol use mailbox parse and line buffer
git-svn-id: svn://10.0.0.236/trunk@20833 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 00:09:22 +00:00
alecf%netscape.com
a835c68f8e add commands for loading urls through the MsgAppCore
git-svn-id: svn://10.0.0.236/trunk@20832 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 00:09:01 +00:00
alecf%netscape.com
26600ad5c3 Add new OpenURL method and reflect it into JavaScript
git-svn-id: svn://10.0.0.236/trunk@20831 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 23:52:22 +00:00
alecf%netscape.com
ed4bbfbcbe fix for egcs compiler bugs
git-svn-id: svn://10.0.0.236/trunk@20830 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 23:10:46 +00:00
terry%netscape.com
8e221c4fa3 Fixed up NGLayout components (see bug 3139).
git-svn-id: svn://10.0.0.236/trunk@20829 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 23:04:08 +00:00
terry%netscape.com
abfcd4652c Added five new components to Mozilla and to MailNews (see bug 3155).
git-svn-id: svn://10.0.0.236/trunk@20826 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 22:27:30 +00:00
erik%netscape.com
0e5165eb02 temporarily disable the string resource test until the nsIProperties
crash(?) is resolved


git-svn-id: svn://10.0.0.236/trunk@20825 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 22:09:43 +00:00
alecf%netscape.com
d972ef6fb2 export nsMsgLineBuffer.h
git-svn-id: svn://10.0.0.236/trunk@20824 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 20:08:06 +00:00
michaelp%netscape.com
d1f2203c7c added unknown content quality. fixed potential crash because of bug in timer
code. now uses rootscrollable for all scrollable view notifications.


git-svn-id: svn://10.0.0.236/trunk@20823 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 19:57:45 +00:00
waterson%netscape.com
462489fc94 Removed rdfDebug and domDebug from opt build. These were included by mistake.
git-svn-id: svn://10.0.0.236/trunk@20820 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 19:56:18 +00:00
dp%netscape.com
1215f65f26 Fixed dll not being unloaded if registrations filed. Also, returning more appropriate error messages
git-svn-id: svn://10.0.0.236/trunk@20819 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 19:34:10 +00:00
briano%netscape.com
101bac8b27 Automated update
git-svn-id: svn://10.0.0.236/trunk@20818 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 19:31:43 +00:00
waterson%netscape.com
9debf69f1f Landed RDFDOM_19990215_BRANCH. Began implementing DOM-to-RDF functionality.
git-svn-id: svn://10.0.0.236/trunk@20817 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 19:30:04 +00:00
slamm%netscape.com
0fc815c181 Move makefile list into allmakefiles.sh
git-svn-id: svn://10.0.0.236/trunk@20816 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 19:29:21 +00:00
slamm%netscape.com
99198fec39 add intl/lwbrk directories
git-svn-id: svn://10.0.0.236/trunk@20815 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 19:28:33 +00:00
ftang%netscape.com
29f7619162 fix the export problem
git-svn-id: svn://10.0.0.236/trunk@20814 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 19:24:09 +00:00
briano%netscape.com
5f7c1dc839 Automated update
git-svn-id: svn://10.0.0.236/trunk@20811 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 19:15:38 +00:00
sar%netscape.com
af5c10b815 add allmakefile.sh per a request by slamm. This file complements configure.in --sarah
git-svn-id: svn://10.0.0.236/trunk@20810 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 19:10:31 +00:00
nhotta%netscape.com
5d29924ceb Bug fix, changed NSILOCALE_TIME to NSILOCALE_COLLATE.
git-svn-id: svn://10.0.0.236/trunk@20809 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 19:09:15 +00:00
rods%netscape.com
5b0507d693 Changed the registered name AppCoresManager to XPAppCoresManager
git-svn-id: svn://10.0.0.236/trunk@20808 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 19:08:56 +00:00
nhotta%netscape.com
ba9f84445b nsILocale integration.
git-svn-id: svn://10.0.0.236/trunk@20807 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 19:05:10 +00:00
ftang%netscape.com
f6dd72944f add intl/lwbrk directories
git-svn-id: svn://10.0.0.236/trunk@20806 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 19:04:05 +00:00
ftang%netscape.com
0ea1b31dd3 add UNIX build
git-svn-id: svn://10.0.0.236/trunk@20805 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 19:02:26 +00:00
ftang%netscape.com
ad361b0034 add UNIX makefile
git-svn-id: svn://10.0.0.236/trunk@20804 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 19:01:40 +00:00
kmcclusk%netscape.com
6782e965de Added code to get the selected item from the content model during Paint.
Factored code to paint option elements. Listboxes, single+multiselect and
combo boxes now print their state correctly.


git-svn-id: svn://10.0.0.236/trunk@20803 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 18:57:44 +00:00
guha%netscape.com
97d456b38c Some opendir related fixes
git-svn-id: svn://10.0.0.236/trunk@20802 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 18:54:18 +00:00
coop%netscape.com
2e906139b0 NOT YET PART OF SEAMONKEY:
* eliminated compiler warnings on Linux
* added extra error checking for file manipulation in SimpleTypeLib and xpt_dump
* removed erroneous comment from xpt_struct.h


git-svn-id: svn://10.0.0.236/trunk@20801 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 18:41:30 +00:00
nhotta%netscape.com
80dfbdbaea Added charset conversion wrappers.
git-svn-id: svn://10.0.0.236/trunk@20800 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 18:40:08 +00:00
nhotta%netscape.com
00b6cd61a9 Initial check in.
git-svn-id: svn://10.0.0.236/trunk@20799 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 18:37:10 +00:00
ftang%netscape.com
ee4593df3e change the test code to use service manager
git-svn-id: svn://10.0.0.236/trunk@20798 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 18:37:01 +00:00
ftang%netscape.com
2b67a2ec3f add comment, remove InitUnicodeDecoder method
git-svn-id: svn://10.0.0.236/trunk@20797 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 18:32:02 +00:00
briano%netscape.com
e63ce482f2 Automated update
git-svn-id: svn://10.0.0.236/trunk@20796 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 18:31:20 +00:00
slamm%netscape.com
f59cd2ba61 Move defines from Makefile control to autoconf control.
git-svn-id: svn://10.0.0.236/trunk@20795 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 18:29:55 +00:00
slamm%netscape.com
ab37511cae Separate the list of makefiles into a new file.
git-svn-id: svn://10.0.0.236/trunk@20794 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 18:29:51 +00:00
slamm%netscape.com
f1039dd4e2 Move defines from CFLAGS to DEFINES.
git-svn-id: svn://10.0.0.236/trunk@20793 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 18:29:47 +00:00
ftang%netscape.com
719c61207f first check in
git-svn-id: svn://10.0.0.236/trunk@20792 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 18:13:35 +00:00
alecf%netscape.com
fe0412f001 remove pop3/mailbox tests from unix build until unix makefiles are written
git-svn-id: svn://10.0.0.236/trunk@20791 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 18:12:52 +00:00
ftang%netscape.com
2d74859e05 check in new changes
git-svn-id: svn://10.0.0.236/trunk@20790 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 18:11:14 +00:00
briano%netscape.com
b1121113f1 Automated update
git-svn-id: svn://10.0.0.236/trunk@20789 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 18:00:39 +00:00
alecf%netscape.com
ee9600b772 BSD/OS 4.0 patch, thanks to bert_triehuis@nl.compuware.com
git-svn-id: svn://10.0.0.236/trunk@20788 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 17:46:33 +00:00
terry%netscape.com
60d84be151 Add info about MysqlPerl stuff.
git-svn-id: svn://10.0.0.236/trunk@20787 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 17:41:42 +00:00
pinkerton%netscape.com
732551a79a no longer exports nsIToolbarItem because this interface is obsolete.
git-svn-id: svn://10.0.0.236/trunk@20786 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 17:37:40 +00:00
pinkerton%netscape.com
243fa7c315 No longer exports nsIToolbarItem because this interface is obsolete.
git-svn-id: svn://10.0.0.236/trunk@20785 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 17:37:00 +00:00
pinkerton%netscape.com
4374557e9f no longer implements nsIToolbarItem because this interface is obsolete.
git-svn-id: svn://10.0.0.236/trunk@20784 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 17:35:53 +00:00
pinkerton%netscape.com
8ef0996ea9 remove nsJSAppCores and add nsJSAppCoresManager.
git-svn-id: svn://10.0.0.236/trunk@20783 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 16:48:30 +00:00
rods%netscape.com
5eed8ff9e0 Rename AppCores.idl to AppCoresManager.idl
and renamed all the CIDs to uppercase


git-svn-id: svn://10.0.0.236/trunk@20782 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 16:46:19 +00:00
jfrancis%netscape.com
794f3762f2 new content subtree iterator
git-svn-id: svn://10.0.0.236/trunk@20781 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 15:48:13 +00:00
jfrancis%netscape.com
01d4e109e7 registering content iterators
git-svn-id: svn://10.0.0.236/trunk@20780 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 15:47:54 +00:00
jfrancis%netscape.com
4edfdaf9b5 replaced IsNodeInsideRange() with CompareNodeToRange()
git-svn-id: svn://10.0.0.236/trunk@20779 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 15:46:37 +00:00
jfrancis%netscape.com
f17a23ddd9 Replaced IsNodeInsideRange() with CompareNodeToRange() and also removed forward class declarations to make VC5 happy
git-svn-id: svn://10.0.0.236/trunk@20778 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 15:43:28 +00:00
rickg%netscape.com
2e468226f6 fixed bad define
git-svn-id: svn://10.0.0.236/trunk@20777 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 08:14:48 +00:00
rickg%netscape.com
3d297b0ba4 fixed bad define
git-svn-id: svn://10.0.0.236/trunk@20776 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 08:11:21 +00:00
rickg%netscape.com
781f6ccb10 added v-dtor to taghander
git-svn-id: svn://10.0.0.236/trunk@20775 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 08:07:20 +00:00
rickg%netscape.com
d2122ed2b0 fixed backward define
git-svn-id: svn://10.0.0.236/trunk@20774 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 08:04:01 +00:00
hyatt%netscape.com
cf06c5d0e9 Added the sync-up when the broadcast listener first gets added.
git-svn-id: svn://10.0.0.236/trunk@20773 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 07:57:55 +00:00
rickg%netscape.com
d444ccf989 fixed a wad of little bugs and added regression test
git-svn-id: svn://10.0.0.236/trunk@20772 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 07:38:27 +00:00
rickg%netscape.com
334907990d allow plain text file to be handled by HTML document
git-svn-id: svn://10.0.0.236/trunk@20771 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 07:37:53 +00:00
rickg%netscape.com
8cb5d3e503 removed bug from deque, and added replaceChar call to string
git-svn-id: svn://10.0.0.236/trunk@20767 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 06:47:00 +00:00
jband%netscape.com
86dcf85db0 NOT YET PART Of SEAMONKEY - fixes for conversions, added 'load' to test program to breakout js code into its own file, added support for global object being a wrapped native, fixed parent interface support, change makefiles for JS_THREADSAFE, add missing dropProperty support to my Ops, added more tests
git-svn-id: svn://10.0.0.236/trunk@20766 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 06:29:29 +00:00
brendan%netscape.com
b03b95e2a4 prep for -m stub; misc code cleanups.
git-svn-id: svn://10.0.0.236/trunk@20765 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 05:10:40 +00:00
troy%netscape.com
e0e1a0be11 Added code to set/get the view manager's root scrollable view
git-svn-id: svn://10.0.0.236/trunk@20764 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 04:41:15 +00:00
troy%netscape.com
bb010a6114 Minor clean up
git-svn-id: svn://10.0.0.236/trunk@20761 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 04:07:27 +00:00
shaver%netscape.com
7ac3f074af make includes work right; support `-\' as stdin for input file
git-svn-id: svn://10.0.0.236/trunk@20760 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 03:47:24 +00:00
mjudge%netscape.com
549c1927f3 fixing some things for selection to allow keyboard navigation. not hooked up to caret yet. also removed some not used calls in nsFrame for the "old" selection model.
git-svn-id: svn://10.0.0.236/trunk@20759 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 02:42:08 +00:00
rickg%netscape.com
fcae472e5d added mtbf to tools directory
git-svn-id: svn://10.0.0.236/trunk@20758 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 02:41:05 +00:00
michaelp%netscape.com
2c3dc317a4 turned off timers when our damage count goes to zero.
git-svn-id: svn://10.0.0.236/trunk@20757 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 02:25:20 +00:00
mcafee%netscape.com
96d9fe0464 Ignore generated files
git-svn-id: svn://10.0.0.236/trunk@20756 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 01:50:51 +00:00
mcafee%netscape.com
193cea7624 Fixing libreg breakage
git-svn-id: svn://10.0.0.236/trunk@20755 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 01:40:50 +00:00
mcafee%netscape.com
3261298090 More portable makefile, fixing -lreg breakage.
git-svn-id: svn://10.0.0.236/trunk@20754 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 01:35:23 +00:00
nisheeth%netscape.com
865f26a97a Test file for changing attributes on the PRE tag via the DOM.
git-svn-id: svn://10.0.0.236/trunk@20752 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 01:02:21 +00:00
michaelp%netscape.com
1b2aa59d45 added Get/SetScrollableRoot() to nsIViewManager. fixed bug where maximizing
window would cause junk to be shown below/to the right of the real content
if the document was scrolled towards bottom/right. fixed flashing scrollbar
problem. made quality control work again.


git-svn-id: svn://10.0.0.236/trunk@20751 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 00:57:06 +00:00
michaelp%netscape.com
07e545d59e turned on quality control again, but until someone who better understands
thr browser window better has a look at this, it won't work across
frame sets.


git-svn-id: svn://10.0.0.236/trunk@20750 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 00:55:15 +00:00
michaelp%netscape.com
356a0ea5bd all scrollbar recomputation is now the responsibility of the owner of the
scrolled view.


git-svn-id: svn://10.0.0.236/trunk@20749 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 00:53:15 +00:00
michaelp%netscape.com
e6e101dfd1 made nsRenderingContextWin::GetClipRegion() work.
git-svn-id: svn://10.0.0.236/trunk@20748 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 00:50:32 +00:00
nisheeth%netscape.com
3b81ed11ce Test for changing attributes on the DIV, P, and HEADING tags via the DOM.
git-svn-id: svn://10.0.0.236/trunk@20747 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 00:24:29 +00:00
nisheeth%netscape.com
cb1a27b8f7 Test file for changing attributes on the FONT and BASEFONT elements using the
DOM.


git-svn-id: svn://10.0.0.236/trunk@20744 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-15 23:51:32 +00:00
nisheeth%netscape.com
cd8aba491a Added style hints for DOM attribute changes to the FONT and BASEFONT content objects.
git-svn-id: svn://10.0.0.236/trunk@20743 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-15 23:48:09 +00:00
waterson%netscape.com
80bf7397a5 Got rid of #include's, too.
git-svn-id: svn://10.0.0.236/trunk@20733 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-15 19:56:47 +00:00
waterson%netscape.com
6d9e8212a0 Got rid of nsIRDFDocument: we never use it here anyway.
git-svn-id: svn://10.0.0.236/trunk@20732 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-15 19:53:55 +00:00
beard%netscape.com
334061690b Synced with current stream interfaces.
git-svn-id: svn://10.0.0.236/trunk@20731 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-15 18:29:06 +00:00
buster%netscape.com
0bda0d910f minor fixes and lots of comments
git-svn-id: svn://10.0.0.236/trunk@20730 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-15 18:25:30 +00:00
buster%netscape.com
72d2391591 merges text insertions again, based on new aggregate insert txn
git-svn-id: svn://10.0.0.236/trunk@20729 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-15 18:24:58 +00:00
buster%netscape.com
b12b27a6f0 removed unnecessary parent param from DeleteNode
git-svn-id: svn://10.0.0.236/trunk@20728 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-15 18:22:58 +00:00
buster%netscape.com
00c25964ec changed some forward class declarations to #include of the class
declaration.  These classes are used in nsCOMPtr's, and
VC 5.0 needs the full class declaration to compile.


git-svn-id: svn://10.0.0.236/trunk@20727 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-15 16:26:04 +00:00
cyeh%netscape.com
32f9067d0e complete botched file rename attempted by danm.
git-svn-id: svn://10.0.0.236/trunk@20726 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-15 15:31:38 +00:00
danm%netscape.com
b42b001008 renaming. cursed mixed-case filenames.
git-svn-id: svn://10.0.0.236/trunk@20725 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-15 07:15:48 +00:00
nisheeth%netscape.com
e3f2944049 - Changed name of getter function for style hints to GetStyleHintForAttributeChange().
- Plugged in style hint for changes to the <HR NOSHADE> attribute.


git-svn-id: svn://10.0.0.236/trunk@20724 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-15 06:42:44 +00:00
danm%netscape.com
2cf50fdc88 added beginnings of toolkit dialog factory
git-svn-id: svn://10.0.0.236/trunk@20723 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-15 05:38:15 +00:00
danm%netscape.com
19dabdfcc0 matching Troy's recent checkins adding const to some method parameters. Didn't compile for me using VC6 until I made these changes. They seem harmless enough.
git-svn-id: svn://10.0.0.236/trunk@20722 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-15 05:21:53 +00:00
bienvenu%netscape.com
c4a5b54c35 add Reset method for byte array
git-svn-id: svn://10.0.0.236/trunk@20721 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-15 03:08:04 +00:00
bienvenu%netscape.com
f41e196da3 add stubs for mdb
git-svn-id: svn://10.0.0.236/trunk@20720 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-15 03:06:55 +00:00
bienvenu%netscape.com
52be604435 change default mailbox path
git-svn-id: svn://10.0.0.236/trunk@20719 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-15 03:05:20 +00:00
pavlov%pavlov.net
8f032bc5b5 apply patch from Tomi Leppikangas <Tomi.Leppikangas@oulu.fi> to fix
nsTextHelper::SetText()


git-svn-id: svn://10.0.0.236/trunk@20718 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-15 01:54:08 +00:00
nisheeth%netscape.com
8b0af6d00b Test for DOM attribute changes on the HR element.
git-svn-id: svn://10.0.0.236/trunk@20717 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-15 01:50:01 +00:00
bienvenu%netscape.com
1c43108e78 we need rdfbase now
git-svn-id: svn://10.0.0.236/trunk@20716 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-14 22:34:47 +00:00
bienvenu%netscape.com
b6d1e1997d get rid of duplicate m_mailDB in derived class
git-svn-id: svn://10.0.0.236/trunk@20715 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-14 22:34:00 +00:00
bienvenu%netscape.com
483f2f6e2e more work to get mailbox parsing working
git-svn-id: svn://10.0.0.236/trunk@20714 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-14 22:33:19 +00:00
bienvenu%netscape.com
a5f5eca604 hack up to get rid of pure virtual classes and virtual routines so I can link
git-svn-id: svn://10.0.0.236/trunk@20713 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-14 22:31:28 +00:00
bienvenu%netscape.com
132eb72d57 override IID method
git-svn-id: svn://10.0.0.236/trunk@20712 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-14 19:45:41 +00:00
bienvenu%netscape.com
cbb92c1430 override IID method
git-svn-id: svn://10.0.0.236/trunk@20711 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-14 19:31:54 +00:00
bienvenu%netscape.com
246b4ad1aa override IID method
git-svn-id: svn://10.0.0.236/trunk@20710 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-14 19:16:49 +00:00
troy%netscape.com
f89f085421 Fixed some more memory leaks
git-svn-id: svn://10.0.0.236/trunk@20709 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-14 18:02:38 +00:00
locka%iol.ie
c0b2628626 Simple plugin test file
git-svn-id: svn://10.0.0.236/trunk@20708 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-14 13:29:37 +00:00
locka%iol.ie
cce0fb751a Added object implementing IPropertyBag
git-svn-id: svn://10.0.0.236/trunk@20707 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-14 13:26:57 +00:00
locka%iol.ie
b5bf0ccfd2 Plugin .def file
git-svn-id: svn://10.0.0.236/trunk@20706 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-14 13:25:52 +00:00
locka%iol.ie
702edc0ecd Added plugin headers
git-svn-id: svn://10.0.0.236/trunk@20705 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-14 13:24:48 +00:00
locka%iol.ie
e56aadc0cf no message
git-svn-id: svn://10.0.0.236/trunk@20704 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-14 13:24:11 +00:00
locka%iol.ie
b4e7db6808 Change version info to be plugin compatible
git-svn-id: svn://10.0.0.236/trunk@20703 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-14 13:24:03 +00:00
locka%iol.ie
5238153785 Renamed MozillaControl as npmozctl
git-svn-id: svn://10.0.0.236/trunk@20702 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-14 13:23:18 +00:00
locka%iol.ie
a6d1f68128 Moved PropertyList out into its own header
git-svn-id: svn://10.0.0.236/trunk@20701 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-14 13:22:29 +00:00
locka%iol.ie
5a2c3dcaaa Added conditional plugin compilation support
git-svn-id: svn://10.0.0.236/trunk@20700 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-14 13:21:44 +00:00
locka%iol.ie
175570e428 Basic impl of a plugin
git-svn-id: svn://10.0.0.236/trunk@20699 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-14 13:21:05 +00:00
locka%iol.ie
08c4894406 Simple inplace frame object implementation
git-svn-id: svn://10.0.0.236/trunk@20698 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-14 13:20:35 +00:00
locka%iol.ie
ddbf643c52 Added support for IPersistPropertyBag and other things
git-svn-id: svn://10.0.0.236/trunk@20697 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-14 13:20:07 +00:00
locka%iol.ie
b8fd7c2564 Added some extra macros
git-svn-id: svn://10.0.0.236/trunk@20696 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-14 13:19:08 +00:00
locka%iol.ie
74455c95c4 Updated to reflect changes in plugin api
git-svn-id: svn://10.0.0.236/trunk@20695 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-14 13:18:42 +00:00
jfrancis%netscape.com
0890c9fce8 I wish VC++ would give me a @#$*&^#! break.
git-svn-id: svn://10.0.0.236/trunk@20694 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-14 12:51:29 +00:00
jfrancis%netscape.com
c461188a76 some (NULL != nsCOMPtr<Foo>'s) snuck thru - VC++ no like. I don't like 'em either.
git-svn-id: svn://10.0.0.236/trunk@20693 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-14 11:14:55 +00:00
jfrancis%netscape.com
dd3bd0cca0 VC++ not hip to mixing goto's with automatics that have contructor/destructors.
git-svn-id: svn://10.0.0.236/trunk@20692 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-14 10:18:20 +00:00
jfrancis%netscape.com
665de0a76a ground work for new content subtree iterator
git-svn-id: svn://10.0.0.236/trunk@20691 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-14 09:15:13 +00:00
jfrancis%netscape.com
209384aa9e nsCOMPtr conversion plus some new utility functions
git-svn-id: svn://10.0.0.236/trunk@20690 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-14 09:14:50 +00:00
leaf%mozilla.org
c46c9dde47 Adding the badly hacked up, barely working tinderbox scripts.
(build-moz-smoke.pl is ok, build-grendel.pl needs more work)


git-svn-id: svn://10.0.0.236/trunk@20689 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-14 07:15:44 +00:00
jfrancis%netscape.com
dd054b4642 grabbed an id for nsContentSubtreeIterator_CID
git-svn-id: svn://10.0.0.236/trunk@20688 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-14 06:47:43 +00:00
troy%netscape.com
4ff873c623 Made some things const
git-svn-id: svn://10.0.0.236/trunk@20687 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-14 06:38:24 +00:00
troy%netscape.com
fa56f043ef Added const to definition
git-svn-id: svn://10.0.0.236/trunk@20686 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-14 06:37:24 +00:00
troy%netscape.com
6dd2f2c957 Fixed a bunch of "const" problems
git-svn-id: svn://10.0.0.236/trunk@20685 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-14 06:35:01 +00:00
troy%netscape.com
4c326c55eb Added cast
git-svn-id: svn://10.0.0.236/trunk@20682 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-14 06:20:52 +00:00
troy%netscape.com
e648bc58f5 Added a cast
git-svn-id: svn://10.0.0.236/trunk@20681 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-14 06:13:06 +00:00
troy%netscape.com
36097df1c6 Added some casts to get things to compile
git-svn-id: svn://10.0.0.236/trunk@20680 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-14 06:12:29 +00:00
troy%netscape.com
4ca2c9fafc Added cast to get it to compile
git-svn-id: svn://10.0.0.236/trunk@20679 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-14 06:10:51 +00:00
troy%netscape.com
3c90d2a780 Added some "const" to code that was retrieving a pointer to the internal
buffer managed by nsString


git-svn-id: svn://10.0.0.236/trunk@20678 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-14 05:56:15 +00:00
troy%netscape.com
658dac2de0 Fixed some memory leaks
git-svn-id: svn://10.0.0.236/trunk@20677 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-14 05:44:39 +00:00
troy%netscape.com
dc4dd5e2b6 Added missing "const" that was allowing internal pointer to Unicode
string tobe returned as a non-const value


git-svn-id: svn://10.0.0.236/trunk@20676 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-14 05:44:01 +00:00
troy%netscape.com
307ef53826 Fixed some memory leaks
git-svn-id: svn://10.0.0.236/trunk@20675 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-14 05:34:07 +00:00
troy%netscape.com
1a976b63f6 Added NS_RELEASE of nsIUnicharInputStream interface in Load()
git-svn-id: svn://10.0.0.236/trunk@20674 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-14 05:20:34 +00:00
troy%netscape.com
9d0d5cb136 Added NS_RELEASE of nsIInputStream interface in nsStringBundle constructor
git-svn-id: svn://10.0.0.236/trunk@20673 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-14 05:07:13 +00:00
troy%netscape.com
9e2d9f22ba Added a missing NS_RELEASE of a nsIURL interface
git-svn-id: svn://10.0.0.236/trunk@20672 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-14 04:58:10 +00:00
troy%netscape.com
6d851001ef Fixed InitConstraints() to correctly compute the containing block height
for child elements of a scrolled element


git-svn-id: svn://10.0.0.236/trunk@20671 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-14 04:43:44 +00:00
beard%netscape.com
c673563872 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@20670 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-14 04:26:16 +00:00
troy%netscape.com
1450f8838e Added frame-type atoms for area,scroll,viewport,root,page frame classes
git-svn-id: svn://10.0.0.236/trunk@20669 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-14 03:47:33 +00:00
briano%netscape.com
148f96f6da Automated update
git-svn-id: svn://10.0.0.236/trunk@20668 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-13 21:44:16 +00:00
kipp%netscape.com
597b5f13e7 Avoid using the trapezoid data when we have none (bug #1277)
git-svn-id: svn://10.0.0.236/trunk@20667 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-13 19:39:31 +00:00
jband%netscape.com
1f399e1730 NOT YET PART OF SEAMONKEY - more conversion stuff implemented
git-svn-id: svn://10.0.0.236/trunk@20666 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-13 19:28:38 +00:00
kipp%netscape.com
7296f89a76 Be more careful about returning break-before status
git-svn-id: svn://10.0.0.236/trunk@20665 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-13 19:18:45 +00:00
shaver%netscape.com
b60d07ed69 fix platform detection for Linux/Alpha (Dan Morrill <morrildl@toshiba-179-24.nycap.rr.com>)
git-svn-id: svn://10.0.0.236/trunk@20664 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-13 18:58:34 +00:00
kipp%netscape.com
777c2af1fe Use correct IID when doing QueryInterface to avoid using incorrect vtable (bug #2782)
git-svn-id: svn://10.0.0.236/trunk@20663 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-13 17:49:42 +00:00
warren%netscape.com
b39c736097 Converted nsIMsg into nsIMessage, unifying with nsMsgHdr. Removed NS_DEFINE_IID macros. Renamed a few types and enums.
git-svn-id: svn://10.0.0.236/trunk@20662 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-13 10:39:59 +00:00
mcafee%netscape.com
c981e00884 white space, ignore
git-svn-id: svn://10.0.0.236/trunk@20661 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-13 08:45:27 +00:00
troy%netscape.com
2aa3cd9ceb Changed frame construction code to set NS_FRAME_REPLACED_ELEMENT but, and
changed the HTML reflow state to read the bit


git-svn-id: svn://10.0.0.236/trunk@20660 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-13 05:59:19 +00:00
troy%netscape.com
8849170f95 Added NS_FRAME_REPLACED_ELEMENT
git-svn-id: svn://10.0.0.236/trunk@20659 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-13 05:58:28 +00:00
sfraser%netscape.com
971ead2abc Cause the caret to become visible in the presentation shell when instantiating an editor.
git-svn-id: svn://10.0.0.236/trunk@20658 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-13 04:48:09 +00:00
sfraser%netscape.com
17e456ea85 Added RefreshMethod, and tweaked code for the UNIX no-blinking case.
git-svn-id: svn://10.0.0.236/trunk@20657 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-13 04:47:45 +00:00
sfraser%netscape.com
75c235687c Ensure the caret is refreshed after the text frame containing it is redrawn
git-svn-id: svn://10.0.0.236/trunk@20656 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-13 04:46:47 +00:00
sfraser%netscape.com
1e8e639c11 Add an accessor for the caret, RefreshCaret, and a couple of other private caret methods in nsPresShell.
git-svn-id: svn://10.0.0.236/trunk@20655 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-13 04:45:44 +00:00
sfraser%netscape.com
d659384669 Remove dependency on nscoord.h; return caret width in pixels, and turn off blinking on UNIX
git-svn-id: svn://10.0.0.236/trunk@20654 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-13 04:44:23 +00:00
mcmullen%netscape.com
dcacbb662c Init the refcount.
git-svn-id: svn://10.0.0.236/trunk@20653 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-13 04:01:34 +00:00
mcmullen%netscape.com
f9f7004a97 Added nsIRegistry.h
git-svn-id: svn://10.0.0.236/trunk@20647 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-13 03:47:00 +00:00
peterl%netscape.com
b61049136e resurecting until UNIX build autogenerate problem is fixed
git-svn-id: svn://10.0.0.236/trunk@20645 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-13 03:39:50 +00:00
peterl%netscape.com
af486b5054 backed out previous change
git-svn-id: svn://10.0.0.236/trunk@20644 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-13 03:38:48 +00:00
blizzard%redhat.com
5b32b51a2e Apply patch for crosshairs cursor. Fixes one crash on test9. Patch from Tomi Leppikangas <Tomi.Leppikangas@funet.fi>
git-svn-id: svn://10.0.0.236/trunk@20643 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-13 03:26:04 +00:00
peterl%netscape.com
6b2453b0c2 ignore autogenerated files
git-svn-id: svn://10.0.0.236/trunk@20642 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-13 03:22:41 +00:00
peterl%netscape.com
c709649a66 Removed nsHTMLTags.* since it is autogenerated
Changed case of html tag table


git-svn-id: svn://10.0.0.236/trunk@20641 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-13 03:21:55 +00:00
talisman%anamorphic.com
db13e8ca08 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@20640 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-13 03:06:22 +00:00
putterman%netscape.com
6727dbd122 Fixes some bugs including one that made folders show up twice.
git-svn-id: svn://10.0.0.236/trunk@20638 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-13 02:45:22 +00:00
bienvenu%netscape.com
51c321c788 remove stubs, add db lib
git-svn-id: svn://10.0.0.236/trunk@20637 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-13 01:17:26 +00:00
bienvenu%netscape.com
381f3f2afe add call to tell parser stream to start binding
git-svn-id: svn://10.0.0.236/trunk@20636 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-13 01:16:15 +00:00
bienvenu%netscape.com
d5b00c7f14 change name of mailbox parser, hook up mail db
git-svn-id: svn://10.0.0.236/trunk@20635 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-13 01:14:33 +00:00
bienvenu%netscape.com
7f33a240cf add nsParseMailbox
git-svn-id: svn://10.0.0.236/trunk@20634 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-13 01:13:24 +00:00
bienvenu%netscape.com
5f17b1f282 add set summary valid method and use nsLocalSummaryFileSpec
git-svn-id: svn://10.0.0.236/trunk@20633 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-13 01:10:26 +00:00
bienvenu%netscape.com
0dd664d933 change name of embedded handler routine
git-svn-id: svn://10.0.0.236/trunk@20632 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-13 01:09:37 +00:00
mcmullen%netscape.com
222d35ba2a First Checked In.
git-svn-id: svn://10.0.0.236/trunk@20630 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-13 00:58:54 +00:00
chuang%netscape.com
4deef56157 Change title
git-svn-id: svn://10.0.0.236/trunk@20629 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-13 00:09:26 +00:00
mcmullen%netscape.com
0b87bbb08b First Checked In.
git-svn-id: svn://10.0.0.236/trunk@20628 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 23:53:07 +00:00
mscott%netscape.com
081ff74fbc Add method for retrieving an nsFilePath for the mailbox.
git-svn-id: svn://10.0.0.236/trunk@20627 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 22:40:47 +00:00
mscott%netscape.com
d5d6d3b84d Add accessor for retrieving an nsFilePath for the mailbox.
git-svn-id: svn://10.0.0.236/trunk@20626 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 22:38:58 +00:00
putterman%netscape.com
21f221f840 Removed typedef of urlstruct. It's already defined in ntypes.h
git-svn-id: svn://10.0.0.236/trunk@20625 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 22:30:11 +00:00
rods%netscape.com
9d11223055 Added fixed poistioning
git-svn-id: svn://10.0.0.236/trunk@20624 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 22:30:00 +00:00
putterman%netscape.com
0bf563a085 Added nsFolderEvent cid. Removed dependency on messenger dll. This dll
already has a factory that creates its own appcore.  Added self-registration.


git-svn-id: svn://10.0.0.236/trunk@20623 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 22:28:26 +00:00
bienvenu%netscape.com
43c6c57418 add export of nsLocalFolderSummarySpec
git-svn-id: svn://10.0.0.236/trunk@20621 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 21:38:36 +00:00
slamm%netscape.com
d6921ac2f2 Really get rid of ignored builds.
git-svn-id: svn://10.0.0.236/trunk@20620 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 21:31:03 +00:00
slamm%netscape.com
1e47576a02 Clean-up presentation. Remove ignored builds for list.
git-svn-id: svn://10.0.0.236/trunk@20619 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 21:29:53 +00:00
briano%netscape.com
268f937a1f Automated update
git-svn-id: svn://10.0.0.236/trunk@20618 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 21:00:37 +00:00
akkana%netscape.com
edb5d64de3 Fixing cata's Linux build bustage
git-svn-id: svn://10.0.0.236/trunk@20617 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 20:45:26 +00:00
terry%netscape.com
4728578919 Updates to NGLayout -- added descriptions, other changes too.
git-svn-id: svn://10.0.0.236/trunk@20616 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 20:20:53 +00:00
kipp%netscape.com
56889e9bc1 Use dont_AddRef on calls that increment the addref
git-svn-id: svn://10.0.0.236/trunk@20615 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 20:13:47 +00:00
cata%netscape.com
64a273f287 ISO2022JP to Unicode converter adedd.
git-svn-id: svn://10.0.0.236/trunk@20614 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 19:50:47 +00:00
cata%netscape.com
a89c076bfc ISO2022JP to Unicode added.
git-svn-id: svn://10.0.0.236/trunk@20613 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 19:46:02 +00:00
ebina%netscape.com
d4d1fa58e8 First round of file additions to support pluggable converters
git-svn-id: svn://10.0.0.236/trunk@20612 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 19:45:25 +00:00
cata%netscape.com
3db467e6f6 Shared converter data moved here.
git-svn-id: svn://10.0.0.236/trunk@20611 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 19:44:33 +00:00
cata%netscape.com
bb2e253937 Shared converter data moved to nsUCVJA2Dll.cpp
git-svn-id: svn://10.0.0.236/trunk@20610 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 19:43:43 +00:00
larryh%netscape.com
f047e295b9 add profiling capability for win32
git-svn-id: svn://10.0.0.236/trunk@20609 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 19:36:35 +00:00
buster%netscape.com
bd7d899204 changed deleteSelection back to not use the range
git-svn-id: svn://10.0.0.236/trunk@20608 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 19:36:18 +00:00
cata%netscape.com
ed1eaba00f Created.
git-svn-id: svn://10.0.0.236/trunk@20607 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 19:35:59 +00:00
larryh%netscape.com
376b050ee9 BugSplat #341273
git-svn-id: svn://10.0.0.236/trunk@20606 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 19:33:54 +00:00
cata%netscape.com
33b9e85352 Small bugfixes, optimizations and docs.
git-svn-id: svn://10.0.0.236/trunk@20605 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 19:27:31 +00:00
cata%netscape.com
eeaa4aa122 More doc added and changed.
git-svn-id: svn://10.0.0.236/trunk@20604 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 19:24:08 +00:00
pierre%netscape.com
c2c82c36e6 Made the ChildWindow destructor virtual
git-svn-id: svn://10.0.0.236/trunk@20602 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 19:15:32 +00:00
pierre%netscape.com
99ffcc7501 Fixed more problems with nsCOMPtrs
git-svn-id: svn://10.0.0.236/trunk@20601 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 19:15:03 +00:00
pierre%netscape.com
ed1a2a6f11 Fixed leak of the BrowserWindow in WebCrawler / Added nsViewerApp::CloseWindow()
git-svn-id: svn://10.0.0.236/trunk@20600 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 19:11:24 +00:00
terry%netscape.com
b99446c33e Give a useful error message if no pages found.
git-svn-id: svn://10.0.0.236/trunk@20599 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 19:08:39 +00:00
terry%netscape.com
9859213e7d Was ignoring "/" -- the main web page!
git-svn-id: svn://10.0.0.236/trunk@20598 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 19:08:06 +00:00
putterman%netscape.com
008255eed9 removing const from functions dealing with Init();
git-svn-id: svn://10.0.0.236/trunk@20597 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 19:03:08 +00:00
putterman%netscape.com
11a0501087 removing const from Init();
git-svn-id: svn://10.0.0.236/trunk@20596 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 19:02:18 +00:00
rods%netscape.com
076ccff595 compare build error fixed
git-svn-id: svn://10.0.0.236/trunk@20595 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 18:58:39 +00:00
bienvenu%netscape.com
30af4ede8c get rid of use of GetMozillaStatusFlags
git-svn-id: svn://10.0.0.236/trunk@20592 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 18:56:34 +00:00
wtc%netscape.com
24f5a3d9ca Make sure the redirected standard I/O fd's are blocking so that
libc's stdio.h functions can work.


git-svn-id: svn://10.0.0.236/trunk@20591 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 18:48:42 +00:00
wtc%netscape.com
8b848ea6ad In the Win32 implementation of PR_CreatePipe, mark the pipe endpoints
as inheritable.  (We probably should create them as non-inheritable.)


git-svn-id: svn://10.0.0.236/trunk@20590 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 18:47:18 +00:00
wtc%netscape.com
61a13359fc Redid the NT implementation of PR_NewTCPSocketPair so that neither socket
is associated with the I/O completion port.


git-svn-id: svn://10.0.0.236/trunk@20589 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 18:46:07 +00:00
wtc%netscape.com
b973f5ac69 Noted that the SetHandleInformation function is not implemented on Win95.
git-svn-id: svn://10.0.0.236/trunk@20588 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 18:43:52 +00:00
wtc%netscape.com
a262748d1c Minor improvements.
git-svn-id: svn://10.0.0.236/trunk@20587 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 18:41:52 +00:00
wtc%netscape.com
47c513fc7a Completely rewrote the test.
git-svn-id: svn://10.0.0.236/trunk@20586 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 18:41:36 +00:00
troy%netscape.com
176116b148 Fixed some errors related to switch to using nsCOMPtr
git-svn-id: svn://10.0.0.236/trunk@20585 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 18:41:26 +00:00
larryh%netscape.com
fe6eb6d858 make reader-writer locks
git-svn-id: svn://10.0.0.236/trunk@20584 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 18:40:42 +00:00
larryh%netscape.com
e63575051f Set version
git-svn-id: svn://10.0.0.236/trunk@20583 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 18:39:17 +00:00
kipp%netscape.com
2e10d1c4d8 Eliminate some linux compiler warnings
git-svn-id: svn://10.0.0.236/trunk@20582 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 18:24:53 +00:00
nhotta%netscape.com
7ce1632cc7 nsILocale integrarion.
git-svn-id: svn://10.0.0.236/trunk@20581 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 18:24:45 +00:00
nhotta%netscape.com
ea0d14982e nsILocale integration.
git-svn-id: svn://10.0.0.236/trunk@20580 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 18:23:54 +00:00
troy%netscape.com
1cb01c351a API change for pres shell
git-svn-id: svn://10.0.0.236/trunk@20579 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 18:22:08 +00:00
kipp%netscape.com
dfeb9b176c Build nsCaret
git-svn-id: svn://10.0.0.236/trunk@20578 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 18:21:29 +00:00
troy%netscape.com
477db97893 Fixed build bustage
git-svn-id: svn://10.0.0.236/trunk@20577 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 18:18:34 +00:00
pinkerton%netscape.com
0f0937d520 fixes for changes to nsIPresShell api's
git-svn-id: svn://10.0.0.236/trunk@20576 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 18:18:01 +00:00
terry%netscape.com
9e0a5b8dda Oops; last change caused all data to be charted as zeros.
git-svn-id: svn://10.0.0.236/trunk@20575 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 18:15:10 +00:00
troy%netscape.com
04d445235f Fixed some compile errors using nsCOMPtr
git-svn-id: svn://10.0.0.236/trunk@20574 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 18:15:02 +00:00
terry%netscape.com
a8d532bb79 Remove clutter by stripping years off of labels.
git-svn-id: svn://10.0.0.236/trunk@20573 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 18:12:18 +00:00
buster%netscape.com
34595f93fb changed DeleteSelection back to using nsIDOMRange directly.
git-svn-id: svn://10.0.0.236/trunk@20572 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 18:09:38 +00:00
buster%netscape.com
8d6a3ab755 removed renamed modules
git-svn-id: svn://10.0.0.236/trunk@20571 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 17:49:19 +00:00
kipp%netscape.com
9b917419dc COMized nsIPresShell and nsIPresContext
git-svn-id: svn://10.0.0.236/trunk@20570 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 17:45:58 +00:00
dcone%netscape.com
f15564054f First Checked In.
git-svn-id: svn://10.0.0.236/trunk@20569 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 17:39:49 +00:00
dcone%netscape.com
9970519fc4 added a manifest for Layout/html/table
git-svn-id: svn://10.0.0.236/trunk@20568 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 17:36:28 +00:00
troy%netscape.com
432a586840 Factored out the code that checked for anchors within the current document so
that "back" and "forward" used it, too


git-svn-id: svn://10.0.0.236/trunk@20567 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 17:32:17 +00:00
pinkerton%netscape.com
4a976707f8 remove trailing ';' on CID decl because it causes empty declaration warnings.
git-svn-id: svn://10.0.0.236/trunk@20566 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 17:32:01 +00:00
dcone%netscape.com
3d922201ed Renamed editor.cpp to nsEditor.cpp
and added nsTextEditor.cpp


git-svn-id: svn://10.0.0.236/trunk@20565 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 17:29:19 +00:00
terry%netscape.com
c9ddf3d724 Generate simple web page from database.
git-svn-id: svn://10.0.0.236/trunk@20564 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 17:27:15 +00:00
buster%netscape.com
d9511b5a50 using nsRegistry to get an nsITextEditor now.
git-svn-id: svn://10.0.0.236/trunk@20563 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 17:23:14 +00:00
buster%netscape.com
6d04acb923 * the viewer test app now instantiates an nsITextEditor via nsRepository for "Editor mode"
* the TxnMgr is invoked by the editor via nsRepository
* editor.h|cpp have been renamed nsEditor.h|cpp for consistency
* editorInterfaces.h|cpp have been renamed nsEditorEventListeners.c|hpp
* added nsITextEditor.h, nsTextEditor.h|cpp.  The text editor is a placeholder for the rules unique to text
editing.  It invokes the nsIEditor to do core editing operations.
* reworked nsIEditor and related interfaces as per emerging design.
* nsEditor::BeginTransaction and EndTransaction call nsTransactionManager::BeginBatch and EndBatch.


git-svn-id: svn://10.0.0.236/trunk@20562 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 17:18:58 +00:00
larryh%netscape.com
34ccb6c231 add reader-writer locks
git-svn-id: svn://10.0.0.236/trunk@20561 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 17:18:46 +00:00
buster%netscape.com
b00e86e289 splitting core editing from text editing
git-svn-id: svn://10.0.0.236/trunk@20560 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 17:18:04 +00:00
kipp%netscape.com
d7a75e4fba Removed some warnings
git-svn-id: svn://10.0.0.236/trunk@20559 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 17:14:26 +00:00
kipp%netscape.com
c931d836eb Added IID static method
git-svn-id: svn://10.0.0.236/trunk@20558 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 17:13:30 +00:00
kin%netscape.com
307fbf07da Removed all references to ServiceManager, we now rely on nsRepository directly.
git-svn-id: svn://10.0.0.236/trunk@20557 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 16:57:55 +00:00
kin%netscape.com
c2906b67bb Added NSRegisterSelf() and NSUnregisterSelf().
git-svn-id: svn://10.0.0.236/trunk@20556 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 16:56:04 +00:00
dcone%netscape.com
a49bf084ba fixed clipping, added ellipse and arc support
git-svn-id: svn://10.0.0.236/trunk@20555 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 16:12:15 +00:00
rods%netscape.com
55638075e8 Added some debug statment to the JavaScript
git-svn-id: svn://10.0.0.236/trunk@20554 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 15:57:23 +00:00
rods%netscape.com
4a805d6b49 Fixed loading of commands and toolbars now that we don't have nested windows
Removed UpdateButtons method


git-svn-id: svn://10.0.0.236/trunk@20553 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 15:56:54 +00:00
terry%netscape.com
da69d50760 Wasn't clearing out hash table after flushing its contents to the db.
git-svn-id: svn://10.0.0.236/trunk@20552 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 15:02:18 +00:00
terry%netscape.com
8c0b3b8851 Generate web page statistics.
git-svn-id: svn://10.0.0.236/trunk@20551 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 14:45:59 +00:00
pierre%netscape.com
667b1de51f Fixed the window-doesn't-close problem (backed out the nsCOMPtr conversions)
git-svn-id: svn://10.0.0.236/trunk@20550 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 11:47:25 +00:00
jfrancis%netscape.com
6da5abec3e divorce from nsIEnumerator
git-svn-id: svn://10.0.0.236/trunk@20549 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 08:20:40 +00:00
jfrancis%netscape.com
34af7a4608 backing out attempted fix of enumerator interface
git-svn-id: svn://10.0.0.236/trunk@20548 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 08:17:55 +00:00
peterl%netscape.com
9edc411146 fixed atom ref counting bug
git-svn-id: svn://10.0.0.236/trunk@20547 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 08:16:00 +00:00
peterl%netscape.com
e3cecd642e cleanups
git-svn-id: svn://10.0.0.236/trunk@20546 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 08:15:17 +00:00
peterl%netscape.com
30fa15edad xml cleanup
git-svn-id: svn://10.0.0.236/trunk@20545 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 08:13:45 +00:00
jfrancis%netscape.com
3640b78b2d scattered NS_IMETHOD liberally through interface
git-svn-id: svn://10.0.0.236/trunk@20544 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 07:01:06 +00:00
peterl%netscape.com
32d9feec85 fixed moz extension atoms
git-svn-id: svn://10.0.0.236/trunk@20543 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 06:21:34 +00:00
peterl%netscape.com
38427deaa9 changed all html atoms to lower case
git-svn-id: svn://10.0.0.236/trunk@20542 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 06:19:07 +00:00
peterl%netscape.com
32592fa6e1 changed all html tags to lower case
git-svn-id: svn://10.0.0.236/trunk@20541 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 06:17:06 +00:00
jband%netscape.com
7881284620 NOT YET PART Of SEAMONKEY - in the middle of adding support for converting more data types, changes to deal with changes to xpt_struct.h
git-svn-id: svn://10.0.0.236/trunk@20540 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 06:15:06 +00:00
blizzard%redhat.com
f8c7ce833e make resizing go.
git-svn-id: svn://10.0.0.236/trunk@20539 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 06:07:24 +00:00
jfrancis%netscape.com
501710cba1 adding nsIContentIterator.h
git-svn-id: svn://10.0.0.236/trunk@20538 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 06:00:06 +00:00
pierre%netscape.com
0cc94dceb2 GetHints() returns NS_RENDERING_HINT_FAST_8BIT_TEXT
git-svn-id: svn://10.0.0.236/trunk@20537 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 05:56:56 +00:00
briano%netscape.com
3e6fcb9dca Automated update
git-svn-id: svn://10.0.0.236/trunk@20534 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 05:45:37 +00:00
jfrancis%netscape.com
c1996b47bc File Removed.
git-svn-id: svn://10.0.0.236/trunk@20533 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 05:43:51 +00:00
troy%netscape.com
ec6abf170e Changed LoadURL() to look at the destination anchor and see if it's an element
within the current document. If so, it calls the pres shell's GoToAnchor()
function


git-svn-id: svn://10.0.0.236/trunk@20532 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 05:43:46 +00:00
troy%netscape.com
946499d8d7 Added GoToAnchor()
git-svn-id: svn://10.0.0.236/trunk@20531 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 05:39:33 +00:00
mscott%netscape.com
176b389e10 Build the tests directory...
git-svn-id: svn://10.0.0.236/trunk@20530 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 05:34:29 +00:00
mscott%netscape.com
1c7064c0af Add mailnews\local\tests\mailbox to list of mailnews directories to build makefiles for...
git-svn-id: svn://10.0.0.236/trunk@20529 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 05:32:17 +00:00
grail%cafebabe.org
061b634e4a Corrected access modifier.
git-svn-id: svn://10.0.0.236/trunk@20528 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 05:29:42 +00:00
jfrancis%netscape.com
31383c4410 XPCOMified the content iterator; fixed some bugs in DeleteRange()
git-svn-id: svn://10.0.0.236/trunk@20527 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 05:28:46 +00:00
jfrancis%netscape.com
ba034ddb21 XPCOMified nsContentIterator; added it to layout factory CreateInstance code
git-svn-id: svn://10.0.0.236/trunk@20526 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 05:28:12 +00:00
mscott%netscape.com
c7844ac086 Build mailbox protocol and mailbox url classes...
git-svn-id: svn://10.0.0.236/trunk@20525 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 05:27:36 +00:00
mscott%netscape.com
598d78aca8 Export nsIMailboxUrl.h
git-svn-id: svn://10.0.0.236/trunk@20524 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 05:27:04 +00:00
mscott%netscape.com
5dbaac9c50 makefile for building mailbox test stuff
git-svn-id: svn://10.0.0.236/trunk@20523 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 05:26:42 +00:00
mscott%netscape.com
859ff0ab5d Build mailbox test directory
git-svn-id: svn://10.0.0.236/trunk@20522 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 05:26:21 +00:00
evaughan%netscape.com
e0f9f5f8e2 Made the HTML input button gfx rendered and in the netscape look and feel. Minus rounded borders
that CSS doesn't currently support.


git-svn-id: svn://10.0.0.236/trunk@20521 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 05:20:55 +00:00
mscott%netscape.com
1b6258684f Added some comments about how this test app works...
git-svn-id: svn://10.0.0.236/trunk@20520 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 05:07:59 +00:00
waldemar%netscape.com
979a08812c Added getter, setter, with, default arguments, and renamed declarations to definitions
git-svn-id: svn://10.0.0.236/trunk@20519 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 04:59:19 +00:00
waldemar%netscape.com
e38564c283 Added option to turn off line breaks within a tag
git-svn-id: svn://10.0.0.236/trunk@20518 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 04:57:49 +00:00
mscott%netscape.com
e87813e07f Build the mailboxTest harness....
git-svn-id: svn://10.0.0.236/trunk@20517 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 04:49:04 +00:00
mscott%netscape.com
191b4e299a Test harness for mailbox urls.
git-svn-id: svn://10.0.0.236/trunk@20516 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 04:48:46 +00:00
mscott%netscape.com
e17e8659cb A stub implementation of the mailbox parser used to test parsing mail folder mailbox urls...
git-svn-id: svn://10.0.0.236/trunk@20515 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 04:48:31 +00:00
mscott%netscape.com
d1686af672 Build new mailbox protocol stuff...
git-svn-id: svn://10.0.0.236/trunk@20514 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 04:47:33 +00:00
mscott%netscape.com
05bd425eba First check in of the mailbox protocol module.
git-svn-id: svn://10.0.0.236/trunk@20513 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 04:46:51 +00:00
mscott%netscape.com
8c2a0f6b41 Implementation of nsIMailboxUrl interface
git-svn-id: svn://10.0.0.236/trunk@20512 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 04:46:24 +00:00
mscott%netscape.com
2e448ce46e Export nsIMailboxurl.h
git-svn-id: svn://10.0.0.236/trunk@20511 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 04:44:13 +00:00
mscott%netscape.com
983b5ddcd9 Interface for mailbox urls...
git-svn-id: svn://10.0.0.236/trunk@20510 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 04:43:46 +00:00
jfrancis%netscape.com
dcd6eb01ea added contentIterator cid
git-svn-id: svn://10.0.0.236/trunk@20509 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 04:42:14 +00:00
jfrancis%netscape.com
abf14ae01a fixing iid collision with simon
git-svn-id: svn://10.0.0.236/trunk@20508 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 04:39:21 +00:00
jfrancis%netscape.com
4e78b8f143 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@20507 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 04:36:18 +00:00
jfrancis%netscape.com
2b152865b3 grabbed a couple id's for contentIterator iid and cid
git-svn-id: svn://10.0.0.236/trunk@20506 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 04:34:36 +00:00
jfrancis%netscape.com
0527883d33 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@20505 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 04:28:29 +00:00
troy%netscape.com
3c4807983d Fixed a ref counting problem and added a cast so we're pointing at the
object and not the interface in function Equals()


git-svn-id: svn://10.0.0.236/trunk@20504 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 04:26:43 +00:00
rickg%netscape.com
ef0f4a25f7 reset top 100 pages
git-svn-id: svn://10.0.0.236/trunk@20503 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 03:00:38 +00:00
briano%netscape.com
d8cf6d28ef Automated update
git-svn-id: svn://10.0.0.236/trunk@20502 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 02:31:28 +00:00
slamm%netscape.com
9dd5f88a76 Add -Wall only if $CC and $CXX pass test
git-svn-id: svn://10.0.0.236/trunk@20500 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 02:22:25 +00:00
bienvenu%netscape.com
e584b6a5a1 test mailbox parser code
git-svn-id: svn://10.0.0.236/trunk@20499 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 02:00:08 +00:00
bienvenu%netscape.com
3f40b55e0c get test mailbox parser linking
git-svn-id: svn://10.0.0.236/trunk@20498 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 01:59:16 +00:00
bienvenu%netscape.com
dcd5aa9928 replace PR_ASSERT with NS_ASSERTION
git-svn-id: svn://10.0.0.236/trunk@20497 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 01:58:10 +00:00
slamm%netscape.com
cc020a6b86 Make pedantic an option until it can actually pass.
git-svn-id: svn://10.0.0.236/trunk@20495 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 01:53:54 +00:00
slamm%netscape.com
9325b614fe Clean up a temp file.
git-svn-id: svn://10.0.0.236/trunk@20494 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 01:46:18 +00:00
briano%netscape.com
f52cc1e74c Automated update
git-svn-id: svn://10.0.0.236/trunk@20493 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 01:45:35 +00:00
kipp%netscape.com
b66f5435a9 Disabled -pedantic support until it's fully tested!
git-svn-id: svn://10.0.0.236/trunk@20492 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 01:42:51 +00:00
slamm%netscape.com
754e790b4e Clean up CFLAGS. Move some items off CFLAGS and onto DEFINES.
git-svn-id: svn://10.0.0.236/trunk@20491 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 01:40:34 +00:00
hyatt%netscape.com
d5ba4ac966 Changes to the table frame construction code to fix breakage in the tree view.
git-svn-id: svn://10.0.0.236/trunk@20490 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 01:35:37 +00:00
briano%netscape.com
51076e2e13 Automated update
git-svn-id: svn://10.0.0.236/trunk@20489 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 01:32:08 +00:00
briano%netscape.com
3dcba141ec Can't use -Wall if we're not using gcc....
git-svn-id: svn://10.0.0.236/trunk@20488 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 01:30:50 +00:00
alecf%netscape.com
63f06d275e use built-in rules to build idlc compiler
git-svn-id: svn://10.0.0.236/trunk@20487 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 01:21:31 +00:00
alecf%netscape.com
fb75799b42 update windows makefile
git-svn-id: svn://10.0.0.236/trunk@20486 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 01:11:59 +00:00
alecf%netscape.com
8218669c3d fix XPIDL output
git-svn-id: svn://10.0.0.236/trunk@20485 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 01:05:30 +00:00
alecf%netscape.com
f2378893c8 add new nsMessengerFactory to instantiate the messenger AppCore
git-svn-id: svn://10.0.0.236/trunk@20484 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 01:01:56 +00:00
briano%netscape.com
3f2dbb314c Automated update
git-svn-id: svn://10.0.0.236/trunk@20483 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 01:00:35 +00:00
wtc%netscape.com
b493ea8e99 Added hash lock counts to collect statistics on how often each lock is
used.


git-svn-id: svn://10.0.0.236/trunk@20482 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 00:59:52 +00:00
slamm%netscape.com
f1cab8f326 Only write 'config-defs.h' if it has changed. Add -Wall and -pedantic to CFLAGS if they are supported by $(CC). Clean up test for -include flag.
git-svn-id: svn://10.0.0.236/trunk@20481 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 00:56:35 +00:00
sfraser%netscape.com
b1bfc6b9cf Fix after akkana's changes: nsISelection -> nsIDOMSelection
git-svn-id: svn://10.0.0.236/trunk@20480 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 00:55:46 +00:00
beard%netscape.com
c2c951e7f8 Fixed += operator, which would only work if you had a file or folder called "G'day" in the input directory.
git-svn-id: svn://10.0.0.236/trunk@20479 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 00:48:35 +00:00
sfraser%netscape.com
9b636c9328 Fix selection bustage, which was a post-merge error on my part.
git-svn-id: svn://10.0.0.236/trunk@20478 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 00:27:44 +00:00
sfraser%netscape.com
ced8ef4d71 Fixing build bustage
git-svn-id: svn://10.0.0.236/trunk@20477 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 00:11:25 +00:00
sfraser%netscape.com
b4a259e54f #ifdef tbe blue selection triangles in until the caret code is turned on
git-svn-id: svn://10.0.0.236/trunk@20476 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 00:05:19 +00:00
chuang%netscape.com
5087b40527 Open a separate 3 pane Mail window using Javascrip
git-svn-id: svn://10.0.0.236/trunk@20475 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 00:05:13 +00:00
pierre%netscape.com
c3570833a5 added webshell/embed/mac/RaptorShell.mcp
git-svn-id: svn://10.0.0.236/trunk@20474 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 00:04:45 +00:00
sfraser%netscape.com
7b5c0a5490 Add code to show a caret (#ifdeffed out for now)
git-svn-id: svn://10.0.0.236/trunk@20473 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 00:02:56 +00:00
sfraser%netscape.com
0e66d5506a Add two new methods needed for caret support (and other things): GetPointFromOffset, to get frame-relative coordinates of a given content offset, and GetChildFrameContainingOffset, to find the child frame that really contains the given content offset
git-svn-id: svn://10.0.0.236/trunk@20472 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 00:02:31 +00:00
pierre%netscape.com
dd28e872ad First Checked In.
git-svn-id: svn://10.0.0.236/trunk@20471 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 00:00:20 +00:00
sfraser%netscape.com
1d05d66559 Add support for selection listener interfaces
git-svn-id: svn://10.0.0.236/trunk@20470 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 23:58:46 +00:00
sfraser%netscape.com
cadc7286e4 Export nsCaretProperties.h
git-svn-id: svn://10.0.0.236/trunk@20469 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 23:57:54 +00:00
sfraser%netscape.com
175269d933 Added nsICaret and nsIDOMSelectionListener to exports
git-svn-id: svn://10.0.0.236/trunk@20468 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 23:56:11 +00:00
sfraser%netscape.com
1186101405 Add nsCaret.cpp
git-svn-id: svn://10.0.0.236/trunk@20467 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 23:52:06 +00:00
sfraser%netscape.com
9845bce011 Added nsCaretPropertiesMac.cpp
git-svn-id: svn://10.0.0.236/trunk@20466 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 23:51:45 +00:00
pierre%netscape.com
bc1f73cd9e Fixed GetClipRegion/SetClipRegion to work with the actual region instead of its bounding box
git-svn-id: svn://10.0.0.236/trunk@20465 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 23:51:15 +00:00
pierre%netscape.com
0a55bab557 Added SetNativeRegion() + fixed 2 small bugs
git-svn-id: svn://10.0.0.236/trunk@20464 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 23:50:12 +00:00
sfraser%netscape.com
8b520832b9 Add nsICaret and nsIDOMSelectionListener.h
git-svn-id: svn://10.0.0.236/trunk@20463 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 23:50:04 +00:00
sfraser%netscape.com
cdd9b46762 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@20462 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 23:49:08 +00:00
sfraser%netscape.com
5087b9b097 Add nsCaretProperties.h
git-svn-id: svn://10.0.0.236/trunk@20461 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 23:48:25 +00:00
sfraser%netscape.com
37112bc046 Un-macro the release for ease of debugging
git-svn-id: svn://10.0.0.236/trunk@20460 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 23:46:59 +00:00
sfraser%netscape.com
d694ab972f Reserve a couple of IIDs for caret
git-svn-id: svn://10.0.0.236/trunk@20459 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 23:46:02 +00:00
briano%netscape.com
dcb6bd5973 Automated update
git-svn-id: svn://10.0.0.236/trunk@20458 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 23:15:44 +00:00
akkana%netscape.com
0ebe0a4652 Rename nsISelection to nsIFrameSelection
git-svn-id: svn://10.0.0.236/trunk@20457 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 23:12:28 +00:00
hyatt%netscape.com
a18676255d Changes to RDF elements to support the XUL node API.
git-svn-id: svn://10.0.0.236/trunk@20456 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 23:11:36 +00:00
hyatt%netscape.com
1c79aff237 Adding the XUL Node auto-generated file (from the IDL).
git-svn-id: svn://10.0.0.236/trunk@20455 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 23:10:33 +00:00
akkana%netscape.com
f48015fd94 Renaming nsISelection to nsIFrameSelection.
Here is the old log from nsISelection (since CVS doesn't allow renames):
> revision 1.9
> date: 1999/02/02 00:23:35;  author: mjudge%netscape.com;  state: Exp;  lines: +2 -1
> keyboard navigation of selection.  adding API for nsIFrame. fixing nsFrame and nstextframe to reflect the implementations of the nsIFrame API.  nsRangeList implements the handlekeyevent now.
> ----------------------------
> revision 1.8
> date: 1999/01/29 18:57:51;  author: akkana%netscape.com;  state: Exp;  lines: +6 -0
> Implement a new interface, nsIDOMSelection, intended to become the
> external interface for selection (to be IDL-ified later).
>
> Fix some editor bugs:
> - Advance the cursor on text insert (so text is inserted in the right order)
> - Make DeleteSelection in the editor call the actual selection
> - Make DeleteSelection update the frames' notion of the selection
> ----------------------------
> revision 1.7
> date: 1999/01/25 01:42:32;  author: mjudge%netscape.com;  state: Exp;  lines: +3 -4
> Focus tracker needs to send the tracker to the implementation of selection so that it can update the tracker as to which frame(s) should be considered the focus frames ect.  This is not yet working fully.  Everything I am checking in will stay, I simply have a decision to make as to exactly what to do next.  RangeList also had some modifications to better selection
> ----------------------------
> revision 1.6
> date: 1999/01/22 18:58:09;  author: mjudge%netscape.com;  state: Exp;  lines: +6 -0
> chagnes for selection to work
> ----------------------------
> revision 1.5
> date: 1999/01/18 22:57:08;  author: mjudge%netscape.com;  state: Exp;  lines: +1 -1
> Files for selection across frames.
> ----------------------------
> revision 1.4
> date: 1998/12/14 18:34:09;  author: mjudge%netscape.com;  state: Exp;  lines: +13 -1
> adding in selection
> ----------------------------
> revision 1.3
> date: 1998/12/08 18:25:37;  author: mjudge%netscape.com;  state: Exp;  lines: +9 -32
> changes to selection
> ----------------------------
> revision 1.2
> date: 1998/05/01 05:55:11;  author: rpotts;  state: Exp;  lines: +1 -1
> nslayout.h is *all* lower case
> ----------------------------
> revision 1.1
> date: 1998/04/30 19:15:05;  author: rods;  state: Exp;
> initial


git-svn-id: svn://10.0.0.236/trunk@20454 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 23:10:20 +00:00
hyatt%netscape.com
2490c245af COmmitting the idl for the XUlNode.
git-svn-id: svn://10.0.0.236/trunk@20453 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 23:10:09 +00:00
hyatt%netscape.com
2172a75d87 Removing some interfaces.
git-svn-id: svn://10.0.0.236/trunk@20452 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 23:09:41 +00:00
hyatt%netscape.com
2ffd018374 SHuffling around of interfaces.
git-svn-id: svn://10.0.0.236/trunk@20451 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 23:08:52 +00:00
karnaze%netscape.com
244cccb5d1 table related frames don't create frames for children that are invalid (e.g. map, body, etc.)
git-svn-id: svn://10.0.0.236/trunk@20449 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 23:08:28 +00:00
alecf%netscape.com
dd0604d5eb forgot to substitute MOZ_XTERM_UPDATE
git-svn-id: svn://10.0.0.236/trunk@20448 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 23:08:26 +00:00
troy%netscape.com
16ef48adcd Partial fix for bug #644. We still re-load the document un-necessarily, but
at least now we move to the anchor


git-svn-id: svn://10.0.0.236/trunk@20447 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 23:08:04 +00:00
ramiro%netscape.com
5467c1838d C++ comment in c file.
git-svn-id: svn://10.0.0.236/trunk@20445 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 23:03:25 +00:00
rhp%netscape.com
225f0584da Updated the way to access the web shell of interest.
git-svn-id: svn://10.0.0.236/trunk@20444 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 23:02:51 +00:00
dougt%netscape.com
f8c051689b removing extra semicolons so that the mac build does not complain.
git-svn-id: svn://10.0.0.236/trunk@20443 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 20:51:37 +00:00
wtc%netscape.com
2ade6c86f9 Bugsplat bug #342631: a better implementation of the atomic routines
for HP-UX 11.  Use a set of locks to reduce lock contention.  Thanks
to Rick Swift <swift@npec.netscape.com> for contributing this code.


git-svn-id: svn://10.0.0.236/trunk@20442 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 20:06:31 +00:00
dougt%netscape.com
ddaccc1f26 Removed Rods Spears changes to this file.
git-svn-id: svn://10.0.0.236/trunk@20441 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 20:05:34 +00:00
rhp%netscape.com
fbee0b5524 Added changes to get a hold of the webshell.
git-svn-id: svn://10.0.0.236/trunk@20440 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 19:56:40 +00:00
pinkerton%netscape.com
2a24ef0296 Dont export or build toolbar or tree stuff.
git-svn-id: svn://10.0.0.236/trunk@20439 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 19:20:35 +00:00
rods%netscape.com
a1c6abd840 Removed the PasswordUsername method.
git-svn-id: svn://10.0.0.236/trunk@20438 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 19:14:28 +00:00
rhp%netscape.com
4232c39a18 Adding windows makefiles
git-svn-id: svn://10.0.0.236/trunk@20437 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 19:11:07 +00:00
rods%netscape.com
7b4aad86e1 Added a comment
git-svn-id: svn://10.0.0.236/trunk@20436 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 18:43:03 +00:00
rods%netscape.com
6fb34e8453 Fixed mail demo so it works
git-svn-id: svn://10.0.0.236/trunk@20435 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 18:42:46 +00:00
rods%netscape.com
cbf3244393 Added some more debugging
git-svn-id: svn://10.0.0.236/trunk@20434 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 18:42:09 +00:00
rhp%netscape.com
9e9dae4511 Makefile updates
git-svn-id: svn://10.0.0.236/trunk@20433 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 18:36:41 +00:00
rods%netscape.com
616d38e01a Commented out the rollover code that sets the class to a pseudo-class
git-svn-id: svn://10.0.0.236/trunk@20432 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 18:36:40 +00:00
rhp%netscape.com
4aa9574ffe Removed the NET_RegisterContentTypeHandler call from the test app.
git-svn-id: svn://10.0.0.236/trunk@20431 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 18:35:45 +00:00
pinkerton%netscape.com
b049d85cf0 Reexport nsIToolbarItem (for throbber).
git-svn-id: svn://10.0.0.236/trunk@20430 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 18:30:04 +00:00
rhp%netscape.com
3d953cbb83 Added NET_RegisterContentTypeConverter into the factory autoregistration
code so we don't have to hack viewer, etc... anymore to do this.


git-svn-id: svn://10.0.0.236/trunk@20429 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 18:29:24 +00:00
pinkerton%netscape.com
c50f8d3acf reexport nsIToolbarItem because the throbber needs it (this needs to be removed).
git-svn-id: svn://10.0.0.236/trunk@20428 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 18:29:05 +00:00
kmcclusk%netscape.com
6e1121c2d9 Added reset, submit, button, and file input types to test_pr sample.
git-svn-id: svn://10.0.0.236/trunk@20427 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 18:28:41 +00:00
kmcclusk%netscape.com
ab05faab56 Added additional style rules+properties for INPUT elements for printing and gfx-rendering.
git-svn-id: svn://10.0.0.236/trunk@20426 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 18:27:38 +00:00
terry%netscape.com
ad3e9eec3f Removed duplicate entries.
git-svn-id: svn://10.0.0.236/trunk@20424 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 18:24:52 +00:00
pinkerton%netscape.com
b2ff2f5475 Don't build or export the tree/toolbar stuff since they aren't widgets anymore
git-svn-id: svn://10.0.0.236/trunk@20423 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 18:08:25 +00:00
bienvenu%netscape.com
b1f31a9e30 get local folder stuff to linking point
git-svn-id: svn://10.0.0.236/trunk@20422 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 18:06:08 +00:00
pinkerton%netscape.com
3148db617e don't export tree or toolbar stuff.
git-svn-id: svn://10.0.0.236/trunk@20421 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 17:58:17 +00:00
pinkerton%netscape.com
466262b0fd Removing tree and toolbar widgets from being created, as they are now frames.
git-svn-id: svn://10.0.0.236/trunk@20420 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 17:58:07 +00:00
pinkerton%netscape.com
ba7bcd62b9 remove toolbars and tree widget registry, as they are no longer widgets.
git-svn-id: svn://10.0.0.236/trunk@20419 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 17:51:56 +00:00
rods%netscape.com
bd05ec34b5 Moved toolbar images from dead xpviewer directory to appcores/xul/resources
git-svn-id: svn://10.0.0.236/trunk@20418 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 17:17:56 +00:00
pinkerton%netscape.com
489dcad781 Remove toolbar/tree demo code (which was commented out).
git-svn-id: svn://10.0.0.236/trunk@20417 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 16:48:13 +00:00
rods%netscape.com
75e870bf80 Removed XULCOmmandCID
git-svn-id: svn://10.0.0.236/trunk@20416 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 16:14:43 +00:00
rods%netscape.com
f3715745e2 Fixed up toolbar.xml so Back and Forward work
Added BrowserInitPage.html for easy testing of browser features


git-svn-id: svn://10.0.0.236/trunk@20415 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 16:01:56 +00:00
rods%netscape.com
bdf9731aad Fixed a few things, added APP_DEBUG for turning on and off debugging
git-svn-id: svn://10.0.0.236/trunk@20414 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 15:57:08 +00:00
troy%netscape.com
fcbf19b87f API changes for nsIPresContext ResolveStyleContextFor and ResolvePseudoStyleContextFor
git-svn-id: svn://10.0.0.236/trunk@20413 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 15:56:23 +00:00
troy%netscape.com
46adb79a84 Changed to using nsCOMPtr
git-svn-id: svn://10.0.0.236/trunk@20412 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 15:54:13 +00:00
troy%netscape.com
982bcc6574 Changed ResolveStyleContextFor and ResolvePseudoStyleContextFor to use pointer
arguments instead of references for OUT parameters


git-svn-id: svn://10.0.0.236/trunk@20411 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 15:53:26 +00:00
rods%netscape.com
fd9c02553e Removed the commented out XULCommandCID
git-svn-id: svn://10.0.0.236/trunk@20410 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 15:20:42 +00:00
dcone%netscape.com
8f0051e5da added nsXULCommand.cpp to project
git-svn-id: svn://10.0.0.236/trunk@20409 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 15:18:54 +00:00
rods%netscape.com
90bade3f9e Added XULCommand back in fixed commands
git-svn-id: svn://10.0.0.236/trunk@20408 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 15:14:34 +00:00
rods%netscape.com
879bcd3dbe Moved XULCommand back to xpfe/appshell
git-svn-id: svn://10.0.0.236/trunk@20407 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 15:13:29 +00:00
dcone%netscape.com
1570ae2e1e Took out nsXULCommand.cpp
git-svn-id: svn://10.0.0.236/trunk@20406 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 15:13:20 +00:00
grail%cafebabe.org
7dd61549ae Patches to make sure everything is correctly typed and good.
git-svn-id: svn://10.0.0.236/trunk@20405 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 11:07:55 +00:00
briano%netscape.com
183367f869 Automated update
git-svn-id: svn://10.0.0.236/trunk@20404 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 09:32:01 +00:00
briano%netscape.com
2a6670788d Automated update
git-svn-id: svn://10.0.0.236/trunk@20403 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 09:19:28 +00:00
briano%netscape.com
9e740fac46 Automated update
git-svn-id: svn://10.0.0.236/trunk@20402 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 07:45:35 +00:00
alecf%netscape.com
375c80910b add new mail/news, js, and xpfe Makefiles (js and xpfe/AppCore/idl aren't active yet)
git-svn-id: svn://10.0.0.236/trunk@20401 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 07:32:54 +00:00
alecf%netscape.com
64a99cbcc4 ignore generated files
git-svn-id: svn://10.0.0.236/trunk@20400 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 07:31:53 +00:00
alecf%netscape.com
a2778fad2f add Unix makefiles
git-svn-id: svn://10.0.0.236/trunk@20399 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 07:29:55 +00:00
alecf%netscape.com
7d3efd1ae3 add makefile so we can export the IDL files
git-svn-id: svn://10.0.0.236/trunk@20398 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 07:29:02 +00:00
alecf%netscape.com
1ef2b77848 add db to list now that it's in the configure.in script
git-svn-id: svn://10.0.0.236/trunk@20397 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 07:28:08 +00:00
alecf%netscape.com
bcc7ef2082 update libraries because RDF now depends on layout (which has a zillion other dependancies)
git-svn-id: svn://10.0.0.236/trunk@20396 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 07:27:39 +00:00
alecf%netscape.com
a704f3bb96 get rid of duplicate NET_SACat definition
git-svn-id: svn://10.0.0.236/trunk@20395 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 07:27:19 +00:00
bienvenu%netscape.com
63236dfa91 start getting mailbox parsing going
git-svn-id: svn://10.0.0.236/trunk@20394 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 07:10:24 +00:00
bienvenu%netscape.com
468ac41b66 changes for getting local mail folder parsing to work
git-svn-id: svn://10.0.0.236/trunk@20393 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 07:09:26 +00:00
bienvenu%netscape.com
b1d4970f0e add error for not a mail folder
git-svn-id: svn://10.0.0.236/trunk@20392 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 07:09:05 +00:00
alecf%netscape.com
c24d3c37c3 add glue code for GetNewMail()
git-svn-id: svn://10.0.0.236/trunk@20391 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 07:02:06 +00:00
alecf%netscape.com
0081d86569 more and more fixes for unix
git-svn-id: svn://10.0.0.236/trunk@20390 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 06:53:55 +00:00
alecf%netscape.com
065bc208b3 ignore Makefile
git-svn-id: svn://10.0.0.236/trunk@20389 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 06:51:42 +00:00
peterl%netscape.com
742ab46863 added :-moz-viewport
git-svn-id: svn://10.0.0.236/trunk@20388 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 06:48:51 +00:00
alecf%netscape.com
d001b2a986 more fixes to make this compile on unix
git-svn-id: svn://10.0.0.236/trunk@20387 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 06:47:01 +00:00
peterl%netscape.com
d024afd811 made class values case sensitive
git-svn-id: svn://10.0.0.236/trunk@20386 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 06:43:14 +00:00
peterl%netscape.com
484307c6dc handle case sensitivity in attribute selector values here
git-svn-id: svn://10.0.0.236/trunk@20385 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 06:42:49 +00:00
peterl%netscape.com
e64bbf889e fixed bug while tokenizing ints at end of input stream
git-svn-id: svn://10.0.0.236/trunk@20384 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 06:42:02 +00:00
peterl%netscape.com
b5c996e95b made class selectors case sensitive
moved case-insensitive support for attribute values to style sheet


git-svn-id: svn://10.0.0.236/trunk@20383 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 06:41:21 +00:00
peterl%netscape.com
e6e9460541 make viewport frame use a viewport pseudo tag
connected doc root frame's style context to parent frame's style context


git-svn-id: svn://10.0.0.236/trunk@20382 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 06:40:13 +00:00
alecf%netscape.com
79e1e729a1 use new NSPR types and functions
git-svn-id: svn://10.0.0.236/trunk@20381 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 06:39:09 +00:00
peterl%netscape.com
d77f11eff2 added viewport pseudo element tag
git-svn-id: svn://10.0.0.236/trunk@20380 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 06:39:07 +00:00
alecf%netscape.com
4be3a056c9 minor makefile/cvs fixes to make stuff build on Unix
git-svn-id: svn://10.0.0.236/trunk@20379 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 06:37:17 +00:00
alecf%netscape.com
6c61a1d979 add support for creating new appcore
git-svn-id: svn://10.0.0.236/trunk@20378 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 06:27:27 +00:00
alecf%netscape.com
1b36cf1517 include the new header file so our factory method is done correctly
git-svn-id: svn://10.0.0.236/trunk@20377 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 06:26:09 +00:00
alecf%netscape.com
a7eb073f7f fix some warnings and add a new header file which does object construction
git-svn-id: svn://10.0.0.236/trunk@20376 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 06:25:16 +00:00
alecf%netscape.com
681521266d export the private header file
git-svn-id: svn://10.0.0.236/trunk@20375 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 06:23:58 +00:00
karnaze%netscape.com
2bae921097 tests collapsing rows, row groups, cols, col groups
git-svn-id: svn://10.0.0.236/trunk@20374 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 06:23:43 +00:00
sfraser%netscape.com
10824c470f That last checkin should have read: fix a bug in CompressWhitespace that caused the string length to be set incorrectly, when Trim shortened the string.
git-svn-id: svn://10.0.0.236/trunk@20373 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 06:23:29 +00:00
karnaze%netscape.com
6ccd350a1d collapsing rows, row groups, cols, col groups
git-svn-id: svn://10.0.0.236/trunk@20372 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 06:22:33 +00:00
sfraser%netscape.com
9e2845f5e9 Fix a bug in
git-svn-id: svn://10.0.0.236/trunk@20371 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 06:22:03 +00:00
waterson%netscape.com
37a0fec61a Add parser utils.
git-svn-id: svn://10.0.0.236/trunk@20370 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 06:06:57 +00:00
alecf%netscape.com
457f7b1e94 first checkin of Unix makefiles for UI stuff
git-svn-id: svn://10.0.0.236/trunk@20369 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 05:36:50 +00:00
alecf%netscape.com
feafd5eb60 finish implementing nsMsgAppCore
git-svn-id: svn://10.0.0.236/trunk@20368 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 05:35:20 +00:00
alecf%netscape.com
5339627bca and now it compiles on Unix. Whoo hoo!
git-svn-id: svn://10.0.0.236/trunk@20367 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 05:23:48 +00:00
alecf%netscape.com
f754194d31 first checkin for Messenger AppCore
git-svn-id: svn://10.0.0.236/trunk@20366 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 05:16:05 +00:00
alecf%netscape.com
dbc2872088 export nsIAllocator on Unix for XPConnect
git-svn-id: svn://10.0.0.236/trunk@20365 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 04:41:08 +00:00
sfraser%netscape.com
73c7b11b00 Added an assert in GetWidth, which fires if you try to measure width on a longer string than you really have. (May be triggered by selection code.)
git-svn-id: svn://10.0.0.236/trunk@20364 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 04:37:41 +00:00
sfraser%netscape.com
4d3a7a38f1 Temporary key handling code, so that basic navigation keys work.
git-svn-id: svn://10.0.0.236/trunk@20363 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 04:36:39 +00:00
waterson%netscape.com
96756c14d9 Added nsRDFParserUtils.cpp to Unix build.
git-svn-id: svn://10.0.0.236/trunk@20362 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 04:20:44 +00:00
alecf%netscape.com
36a6b55866 fix for AIX compiler bustage
git-svn-id: svn://10.0.0.236/trunk@20361 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 04:13:50 +00:00
waterson%netscape.com
3ab78a2fec Doh! Forgot to make two of the methods static.
git-svn-id: svn://10.0.0.236/trunk@20360 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 04:10:36 +00:00
waterson%netscape.com
d1f266d3fa Added nsRDFParserUtils.cpp.
git-svn-id: svn://10.0.0.236/trunk@20359 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 04:06:02 +00:00
waterson%netscape.com
7a5bd2f430 Added some routines for use with parsing RDF/XML and XUL.
git-svn-id: svn://10.0.0.236/trunk@20358 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 04:05:41 +00:00
briano%netscape.com
100fa1c227 Automated update
git-svn-id: svn://10.0.0.236/trunk@20357 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 04:00:36 +00:00
mscott%netscape.com
dbf2a0eef6 Add local/tests/pop3 to list of mailnews directories...
git-svn-id: svn://10.0.0.236/trunk@20356 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 03:58:22 +00:00
mscott%netscape.com
83aaaa04ba Replaces old Makefile.in. We now want to build pop3 directory...
git-svn-id: svn://10.0.0.236/trunk@20355 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 03:57:53 +00:00
mscott%netscape.com
3e4860116c Adding to build new directory...
git-svn-id: svn://10.0.0.236/trunk@20354 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 03:56:36 +00:00
troy%netscape.com
a0c49af128 Fix for bug #3089
git-svn-id: svn://10.0.0.236/trunk@20353 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 03:56:00 +00:00
mscott%netscape.com
091da21cf4 moved into new subdirectory....
git-svn-id: svn://10.0.0.236/trunk@20352 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 03:33:04 +00:00
mscott%netscape.com
ef5749914b Build pop3 subdirectory...
git-svn-id: svn://10.0.0.236/trunk@20351 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 03:32:20 +00:00
mscott%netscape.com
a0a263475e This has been moved into a tests/pop3 subdirectory...
git-svn-id: svn://10.0.0.236/trunk@20349 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 03:31:14 +00:00
mscott%netscape.com
d3952da2d6 use of sockstub protocol to implement a socket connection for a url is now BLIND to the protocol. So let the protocol use its original scheme when building urls. The transport layer will now worry about chaning the scheme to sockstub when appropriate....
git-svn-id: svn://10.0.0.236/trunk@20348 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 03:10:28 +00:00
mscott%netscape.com
7eca6494db Remove assertion that is no longer valid...
git-svn-id: svn://10.0.0.236/trunk@20347 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 03:07:24 +00:00
spence%netscape.com
bcfa0713ea updated to use mozilla/base from nsFileStream
git-svn-id: svn://10.0.0.236/trunk@20346 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 03:07:05 +00:00
mscott%netscape.com
88333318d6 Remove in-appropriate assertion...the rules have changed...
git-svn-id: svn://10.0.0.236/trunk@20345 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 03:03:51 +00:00
mscott%netscape.com
36c56bfc85 Add the ability to open a file based socket. (Part of the nsITransport) code....
git-svn-id: svn://10.0.0.236/trunk@20343 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 02:59:53 +00:00
mscott%netscape.com
45da5a7fd0 Added code to make a file based socket transport. nsSocketTransport can now open a file or a network based socket.
When opening a url through a transport, convert the application url scheme to either file or 'sockstub' based on the type
of socket connection.


git-svn-id: svn://10.0.0.236/trunk@20342 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 02:56:58 +00:00
kipp%netscape.com
c0eabe2017 Removed some warnings; made the resource noise a one-shot
git-svn-id: svn://10.0.0.236/trunk@20341 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 02:53:38 +00:00
ducarroz%netscape.com
6db1abe692 re-added compose to the build
git-svn-id: svn://10.0.0.236/trunk@20340 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 02:38:53 +00:00
ducarroz%netscape.com
d27bb31aa9 Add library raptorbase.lib to the build
git-svn-id: svn://10.0.0.236/trunk@20339 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 02:37:35 +00:00
briano%netscape.com
297f9e16ec Automated update
git-svn-id: svn://10.0.0.236/trunk@20338 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 02:31:28 +00:00
spence%netscape.com
0ed3738afe updated to use mozilla/base nsFileStream
git-svn-id: svn://10.0.0.236/trunk@20336 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 02:25:25 +00:00
kipp%netscape.com
fe7377435f Fixed memory corruption crasher by passing in the correct width/height to the swizzler routine
git-svn-id: svn://10.0.0.236/trunk@20335 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 02:21:48 +00:00
buster%netscape.com
63b56c396b added layout/html/table/public
git-svn-id: svn://10.0.0.236/trunk@20334 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 02:20:31 +00:00
michaelp%netscape.com
fd120dee00 made GetRects() and FreeRects() work. killed ForEachRect().
git-svn-id: svn://10.0.0.236/trunk@20332 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 01:54:01 +00:00
michaelp%netscape.com
9da531cd6b killed ForEachRect().
git-svn-id: svn://10.0.0.236/trunk@20331 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 01:53:42 +00:00
buster%netscape.com
aabfe0f826 tell the build system that "public" dir needs building
git-svn-id: svn://10.0.0.236/trunk@20330 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 01:51:20 +00:00
scc%netscape.com
390cefda5f Activate browser so you get the colorized source
git-svn-id: svn://10.0.0.236/trunk@20329 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 01:35:54 +00:00
scc%netscape.com
218ef805b6 Added |nsresult nsCOMPtr::assignment_error() const;| which returns the error, if any, from the most recent operation (constructor or assignment operator) that implicitly calls |QueryInterface|. This did not increase the size of an |nsCOMPtr|.
git-svn-id: svn://10.0.0.236/trunk@20328 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 01:34:07 +00:00
buster%netscape.com
608179b291 changed table cell getters to be XP_COM-like, with out-params instead of return values.
this is so these getters can be bound to an XPCOM interface, nsITableCellLayout


git-svn-id: svn://10.0.0.236/trunk@20327 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 01:17:19 +00:00
buster%netscape.com
3dbeb7eb3f changed getters to be XP_COM-like, with out-params instead of return values.
this is so these getters can be bound to an XPCOM interface, nsITableCellLayout


git-svn-id: svn://10.0.0.236/trunk@20326 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 01:16:28 +00:00
kmcclusk%netscape.com
4f668b7081 Fixed border rendering during printing for Select and text, and text areas.
Implemented SetProperty/GetProperty methods for FileControlFrame
Added nsGenericHTMLElement::GetPrimaryFrame check for nsnull for doc return type.
nsHTMLInputElement.cpp replace NS_OK == with  NS_SUCCEEDED in GetValue and SetValue
Added GetName and GetValue utility methods to nsFormControlHelper
modified nsButtonControlFrame::PaintButton to take the label to paint as an extra parameter.
This allows it to be callable from the nsFileControlFrame code to render the button.


git-svn-id: svn://10.0.0.236/trunk@20325 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 01:13:28 +00:00
radha%netscape.com
0b91100f7c Make the throbber button display netcenter in the main page not in the toolbar area
git-svn-id: svn://10.0.0.236/trunk@20324 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 01:13:24 +00:00
ducarroz%netscape.com
6ed5f63bed Add directory build
git-svn-id: svn://10.0.0.236/trunk@20323 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 01:05:18 +00:00
ducarroz%netscape.com
81ed947e44 Initial check in
git-svn-id: svn://10.0.0.236/trunk@20322 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 01:01:47 +00:00
ducarroz%netscape.com
666a630c33 no comment
git-svn-id: svn://10.0.0.236/trunk@20321 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 00:59:19 +00:00
ducarroz%netscape.com
850497c0cd Initial check in
git-svn-id: svn://10.0.0.236/trunk@20320 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 00:54:40 +00:00
pierre%netscape.com
51c9f366be Added checkbox and radiobox size to the LookAndFeel (bug#2923 "Checkboxes don't display ")
git-svn-id: svn://10.0.0.236/trunk@20319 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 00:51:36 +00:00
ducarroz%netscape.com
673b825eb8 no comment
git-svn-id: svn://10.0.0.236/trunk@20318 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 00:49:04 +00:00
wtc%netscape.com
7c0e3e8a42 Added the sockping and sockpong tests.
git-svn-id: svn://10.0.0.236/trunk@20317 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 00:44:06 +00:00
ducarroz%netscape.com
3fed540617 Initial check in
git-svn-id: svn://10.0.0.236/trunk@20316 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 00:43:57 +00:00
wtc%netscape.com
b092c9244f Declare Test_Result as returning void. Changed AF_INET and INADDR_XXX
to PR_AF_INET and PR_INADDR_XXX.


git-svn-id: svn://10.0.0.236/trunk@20315 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 00:43:30 +00:00
nhotta%netscape.com
4eb16d16d7 Changed csid to charset name for MIME header decoding.
git-svn-id: svn://10.0.0.236/trunk@20314 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 00:43:20 +00:00
nhotta%netscape.com
5e7cf504fd Changed csid to charset name, Unicode converter wrapper callable by C code.
git-svn-id: svn://10.0.0.236/trunk@20313 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 00:41:30 +00:00
wtc%netscape.com
ebc409c1ab Changed AF_INET and INADDR_XXX to PR_AF_INET and PR_INADDR_XXX.
git-svn-id: svn://10.0.0.236/trunk@20312 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 00:39:16 +00:00
ducarroz%netscape.com
ad102c9784 no comment
git-svn-id: svn://10.0.0.236/trunk@20311 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 00:38:13 +00:00
nhotta%netscape.com
23ab9042c7 Added an include path for the unicode converter.
git-svn-id: svn://10.0.0.236/trunk@20310 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 00:30:30 +00:00
ducarroz%netscape.com
1e93bb44a7 add export for rosetta_mailnews.h
git-svn-id: svn://10.0.0.236/trunk@20308 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 00:10:48 +00:00
ducarroz%netscape.com
05e69a161e Initial check in
git-svn-id: svn://10.0.0.236/trunk@20307 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 00:06:35 +00:00
sar%netscape.com
31c3b38273 Turn of "modification date caching" so that dependencies are sure to work.
git-svn-id: svn://10.0.0.236/trunk@20306 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 00:04:46 +00:00
law%netscape.com
d385a92372 moz->ns
git-svn-id: svn://10.0.0.236/trunk@20305 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 23:27:09 +00:00
buster%netscape.com
f303703535 added GetLayoutObjectFor for getting a layout object as an nsISupports
while not exposing nsIFrame.


git-svn-id: svn://10.0.0.236/trunk@20304 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 23:21:22 +00:00
chuang%netscape.com
e590ed528d Updated toobar xul
git-svn-id: svn://10.0.0.236/trunk@20303 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 22:59:44 +00:00
erik%netscape.com
87455362bb Re-enabling the string bundle testing code, now that the nsIProperties
bug has been fixed.


git-svn-id: svn://10.0.0.236/trunk@20302 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 22:53:35 +00:00
erik%netscape.com
51d0ad7397 Forgot to say "public" in "class nsPropertiesFactory : nsIFactory".
This caused it to fail on Linux, but not on Windows. Go figure. Sigh.


git-svn-id: svn://10.0.0.236/trunk@20301 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 22:51:01 +00:00
kipp%netscape.com
7193d515a9 Implement support for the spacing array for DrawString; fixed bug - didn't init mDrawStringBuf in ctor
git-svn-id: svn://10.0.0.236/trunk@20300 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 22:23:16 +00:00
terry%netscape.com
d0af8926a5 Updated version string to 2.3 (development)
git-svn-id: svn://10.0.0.236/trunk@20299 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 22:12:03 +00:00
terry%netscape.com
833b4d4d0d Updated version string to 2.2 (shipping)
git-svn-id: svn://10.0.0.236/trunk@20297 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 22:11:52 +00:00
pinkerton%netscape.com
fce42ff00f my bad. green toolbars? who would ever want that?? ;)
git-svn-id: svn://10.0.0.236/trunk@20296 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 22:10:02 +00:00
pinkerton%netscape.com
df3d6278c2 remove the bg-image in the toolbar to get things to suck less on windows.
git-svn-id: svn://10.0.0.236/trunk@20295 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 22:09:00 +00:00
pinkerton%netscape.com
a041ac5c7a add some styles for collapsing toolbars and the throbber.
git-svn-id: svn://10.0.0.236/trunk@20294 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 22:08:28 +00:00
pinkerton%netscape.com
a26fdf4b82 go back to relative positioning for throbber and take out the <A> tag around it so that NetCenter doesn't load in the toolbar frame ;)
git-svn-id: svn://10.0.0.236/trunk@20293 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 22:07:50 +00:00
pinkerton%netscape.com
946c2cc718 add samples 10-12 to mac viewer.
git-svn-id: svn://10.0.0.236/trunk@20292 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 22:04:41 +00:00
despotdaemon%netscape.com
fcdda5c5c1 Pseudo-automatic update of changes made by syd@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@20291 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 21:40:50 +00:00
rhp%netscape.com
abda00a8fc New changes for factory self registration.
git-svn-id: svn://10.0.0.236/trunk@20290 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 21:38:47 +00:00
chuang%netscape.com
8f2154011e Initial 3 pane mail ui files
git-svn-id: svn://10.0.0.236/trunk@20289 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 21:31:01 +00:00
chuang%netscape.com
211d1478d5 Mail toolbar buttons gif files
git-svn-id: svn://10.0.0.236/trunk@20288 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 21:24:55 +00:00
rods%netscape.com
a1e4c2a923 Back and forward did not work for frames, so I put in a temporary fix
git-svn-id: svn://10.0.0.236/trunk@20286 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 20:44:31 +00:00
ducarroz%netscape.com
08c475b210 remove msgcompose.lib
git-svn-id: svn://10.0.0.236/trunk@20285 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 20:10:39 +00:00
hyatt%netscape.com
cb298f94b8 Adding support for tree columns.
git-svn-id: svn://10.0.0.236/trunk@20284 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 19:51:29 +00:00
hyatt%netscape.com
db2d99b076 Changing the way table frames are created so that tree frames can be made
as well.


git-svn-id: svn://10.0.0.236/trunk@20283 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 19:50:50 +00:00
law%netscape.com
f91535f863 Cleaned up i/f, XPCOM-wise
git-svn-id: svn://10.0.0.236/trunk@20282 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 19:47:56 +00:00
wtc%netscape.com
8676f937c5 Added the pipeping, pipepong, and pipeself tests.
git-svn-id: svn://10.0.0.236/trunk@20281 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 19:46:39 +00:00
waterson%netscape.com
fa92838811 Fixed nsISelection bustage.
git-svn-id: svn://10.0.0.236/trunk@20280 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 19:39:29 +00:00
waterson%netscape.com
0889233a65 Changed LocalStore.rdf to sidebar.xul & sidebar.css.
git-svn-id: svn://10.0.0.236/trunk@20279 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 19:17:02 +00:00
waterson%netscape.com
fc005bd21c Initial revision.
git-svn-id: svn://10.0.0.236/trunk@20278 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 19:15:46 +00:00
waterson%netscape.com
9c7104846c Added XP_UNIX filename for bookmarks.
git-svn-id: svn://10.0.0.236/trunk@20277 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 19:13:12 +00:00
waterson%netscape.com
0c1bfe75d8 Take _address_ of mTreeFrame.
git-svn-id: svn://10.0.0.236/trunk@20276 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 19:08:58 +00:00
mjudge%netscape.com
07be1b0f72 removing nsICollection
git-svn-id: svn://10.0.0.236/trunk@20275 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 18:57:54 +00:00
mjudge%netscape.com
2a9e445535 Keyboard navigation, removing nsICollection(not used) adding PeekOffset to have the nsIFrame tell us where to go when moving a character ect. adding nsFrameTraversal to traverse frames, based on nsIEnumerator. mjudge x4661
git-svn-id: svn://10.0.0.236/trunk@20274 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 18:55:25 +00:00
pinkerton%netscape.com
3d14e0916d add Network shlb.
git-svn-id: svn://10.0.0.236/trunk@20273 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 18:48:13 +00:00
pinkerton%netscape.com
5ceb3206bb add the remaining things in this folder to the manifest so I don't have to do this process again.
git-svn-id: svn://10.0.0.236/trunk@20272 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 18:39:31 +00:00
pinkerton%netscape.com
c825e4b301 nsIXULCommand.h doesn't live here anymore.
git-svn-id: svn://10.0.0.236/trunk@20271 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 18:22:30 +00:00
pinkerton%netscape.com
77eb4f3439 Add manifest file for xpfe/appshell/public
git-svn-id: svn://10.0.0.236/trunk@20270 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 18:20:47 +00:00
troy%netscape.com
c6590e6940 Re-ordered DeleteFrame() code to fix a FMR
git-svn-id: svn://10.0.0.236/trunk@20269 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 18:12:24 +00:00
pinkerton%netscape.com
a63203122e export nsIWebShellWindow.h
git-svn-id: svn://10.0.0.236/trunk@20268 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 18:11:37 +00:00
rods%netscape.com
cb04e26922 Added the Mail files again
git-svn-id: svn://10.0.0.236/trunk@20267 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 17:59:39 +00:00
kipp%netscape.com
66875f5837 Use a growable buffer to translate unicode to GdkWChar's instead of mallocing for every draw/measure
git-svn-id: svn://10.0.0.236/trunk@20266 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 17:58:43 +00:00
kipp%netscape.com
e925328b5c Eliminate a compiler warning
git-svn-id: svn://10.0.0.236/trunk@20265 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 17:58:16 +00:00
coop%netscape.com
789a083e10 NOT YET PART OF SEAMONKEY:
* changed type descriptor tag defines into one big enum
* made corresponding changes to xpt_dump


git-svn-id: svn://10.0.0.236/trunk@20264 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 17:44:05 +00:00
rods%netscape.com
fd8d8e3fd8 initial checkin
git-svn-id: svn://10.0.0.236/trunk@20263 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 17:31:17 +00:00
rods%netscape.com
deac8ecb86 Added SetWebShellWindow
git-svn-id: svn://10.0.0.236/trunk@20262 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 16:48:31 +00:00
rods%netscape.com
7485ef4bb4 Added SetWebShellWindow to toolbar core
Made ToolBarCore a StreamObserver and nsINetSupport listener
Commented out status bar code


git-svn-id: svn://10.0.0.236/trunk@20261 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 16:46:47 +00:00
rods%netscape.com
3ab3644d20 Added extra parameeter to CreatetopLevelWindow
git-svn-id: svn://10.0.0.236/trunk@20260 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 16:41:07 +00:00
rods%netscape.com
8a5d0ddf5f Must build appshell dir first
git-svn-id: svn://10.0.0.236/trunk@20259 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 16:39:35 +00:00
rods%netscape.com
baf0aa3a0a must build appshell first
git-svn-id: svn://10.0.0.236/trunk@20258 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 16:39:16 +00:00
rods%netscape.com
960299f551 Added new interface nsIAppShellService
git-svn-id: svn://10.0.0.236/trunk@20257 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 16:38:51 +00:00
kostello%netscape.com
ded383e7e5 Added NS_INIT_REFCNT in the constructors
git-svn-id: svn://10.0.0.236/trunk@20256 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 16:38:10 +00:00
rods%netscape.com
829f95d1e4 It now implements nsIDocumentLoaderObserver
git-svn-id: svn://10.0.0.236/trunk@20255 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 16:32:55 +00:00
rods%netscape.com
8ba2c2c961 Added GetWebShell
git-svn-id: svn://10.0.0.236/trunk@20254 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 16:25:49 +00:00
rods%netscape.com
d52a9494a8 Added GetWebShell method
git-svn-id: svn://10.0.0.236/trunk@20253 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 16:25:11 +00:00
rods%netscape.com
3ff0cf564d Added GetNativeEvent and DispatchNativeEvent, these are neded for future modal dialog support
git-svn-id: svn://10.0.0.236/trunk@20252 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 16:20:29 +00:00
pierre%netscape.com
5e50cc117b Fixed a small bug when resizing very fast
git-svn-id: svn://10.0.0.236/trunk@20251 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 11:42:46 +00:00
pierre%netscape.com
2992df5b5a removed some spurious file access paths
git-svn-id: svn://10.0.0.236/trunk@20250 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 11:00:30 +00:00
pierre%netscape.com
b37c86dc20 backed out ftang's changes from version 1.72
git-svn-id: svn://10.0.0.236/trunk@20249 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 10:24:57 +00:00
hyatt%netscape.com
d408a4413d Fixing the auto-generated JS file since the IDL changed.
git-svn-id: svn://10.0.0.236/trunk@20248 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 10:16:34 +00:00
hyatt%netscape.com
f6d39212e9 Fixing the auto-generated file since the IDL changed.
git-svn-id: svn://10.0.0.236/trunk@20247 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 10:15:47 +00:00
hyatt%netscape.com
e1240ab078 Added a SetBroadcaster method so that I have a convenient way to set the broadcaster
for a given broadcast listener.


git-svn-id: svn://10.0.0.236/trunk@20246 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 10:15:22 +00:00
hyatt%netscape.com
ee4b78af1f The auto-generated file for the XUL broadcast listener.
git-svn-id: svn://10.0.0.236/trunk@20245 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 09:53:39 +00:00
hyatt%netscape.com
0c343f8c51 The auto-generated JS file for the XUL broadcaster.
git-svn-id: svn://10.0.0.236/trunk@20244 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 09:53:19 +00:00
hyatt%netscape.com
8ae908a372 The auto-generated JS file for the XUL command.
git-svn-id: svn://10.0.0.236/trunk@20243 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 09:52:48 +00:00
hyatt%netscape.com
364fdd5a9a The auto-generated header file for the XULCommand idl.
git-svn-id: svn://10.0.0.236/trunk@20242 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 09:50:59 +00:00
hyatt%netscape.com
ddcdca1972 The auto-generated header file for the XULBroadcastListener idl.
git-svn-id: svn://10.0.0.236/trunk@20241 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 09:50:28 +00:00
hyatt%netscape.com
702ce6032c The auto-generated file for the XULBroadcaster IDL.
git-svn-id: svn://10.0.0.236/trunk@20240 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 09:49:50 +00:00
hyatt%netscape.com
e57c5fedba IDL for enhancements to XUL content nodes, namely the ability to invoke
the commands associated with command nodes and the ability to provide
automatic attribute-chaining between a set of broadcasters and broadcast
listeners.


git-svn-id: svn://10.0.0.236/trunk@20239 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 09:48:00 +00:00
pierre%netscape.com
091d8a00a7 Fix a crash when interrupting a page load
git-svn-id: svn://10.0.0.236/trunk@20238 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 09:12:48 +00:00
rickg%netscape.com
a1f45d1784 added a few comment tests
git-svn-id: svn://10.0.0.236/trunk@20237 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 09:11:54 +00:00
rickg%netscape.com
27c01fccd5 added a few comment tests
git-svn-id: svn://10.0.0.236/trunk@20236 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 09:08:35 +00:00
rickg%netscape.com
97898ac00a added a few comment tests
git-svn-id: svn://10.0.0.236/trunk@20235 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 09:07:37 +00:00
peterl%netscape.com
10b169bbbd Improved handling of bad properties
git-svn-id: svn://10.0.0.236/trunk@20234 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 08:37:52 +00:00
peterl%netscape.com
33444d5bfd added append struct value
git-svn-id: svn://10.0.0.236/trunk@20233 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 08:37:28 +00:00
peterl%netscape.com
4bc1a77489 added missing ToString case
git-svn-id: svn://10.0.0.236/trunk@20232 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 08:36:37 +00:00
alecf%netscape.com
3eaef57ed6 fix casting for strict compilers
git-svn-id: svn://10.0.0.236/trunk@20231 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 08:24:04 +00:00
alecf%netscape.com
c833d569c4 cast correctly to avoid confusing strict compilers
git-svn-id: svn://10.0.0.236/trunk@20230 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 08:23:36 +00:00
alecf%netscape.com
8966bc4b40 add a few more string cases to fix compilers who complain about ambiguous overloading
git-svn-id: svn://10.0.0.236/trunk@20229 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 08:22:47 +00:00
sfraser%netscape.com
384b9f6b4e Revert project back to 1.5 (remove cyeh's static lib targets, which broke the optimized build). On instruction from sar.
git-svn-id: svn://10.0.0.236/trunk@20228 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 06:50:04 +00:00
waldemar%netscape.com
f33d1fd371 First complete release
git-svn-id: svn://10.0.0.236/trunk@20227 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 06:42:20 +00:00
waldemar%netscape.com
d524d1607b Reorganized left-side-expression and suppressed unused nonterminal warnings
git-svn-id: svn://10.0.0.236/trunk@20226 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 06:41:43 +00:00
waldemar%netscape.com
b03844fe0f Added :spc
git-svn-id: svn://10.0.0.236/trunk@20225 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 06:40:53 +00:00
waldemar%netscape.com
a3902839d9 Added support for excluding some nonterminals from grammar
git-svn-id: svn://10.0.0.236/trunk@20224 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 06:39:58 +00:00
troy%netscape.com
bd78450e96 Changed GetNextSibling() to use a pointer argument instead of a reference
git-svn-id: svn://10.0.0.236/trunk@20223 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 06:13:38 +00:00
troy%netscape.com
339afcce8a Changed a bunch more nsIFrame member functions to be pointer arguments
instead of references


git-svn-id: svn://10.0.0.236/trunk@20222 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 05:38:18 +00:00
mcafee%netscape.com
d76d572b5a Unix, Win32 now get qsort out of mozilla/lib/xp/xp_qsort.c and mozilla/include/xp_qsort.h. Leaving XP_MAC here until the mac people figure this out, bug 2998 filed to pierre about this.
git-svn-id: svn://10.0.0.236/trunk@20221 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 04:33:45 +00:00
mcafee%netscape.com
37070ed319 Point Unix, Win32 at mozilla/include/xp_qsort
git-svn-id: svn://10.0.0.236/trunk@20220 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 04:29:17 +00:00
mcafee%netscape.com
c5ae175c14 Cleaning this Makefile up; removing dead rules, unused stuff
git-svn-id: svn://10.0.0.236/trunk@20219 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 04:26:53 +00:00
mcafee%netscape.com
6812881a0e removing unused rule
git-svn-id: svn://10.0.0.236/trunk@20218 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 04:23:40 +00:00
mcafee%netscape.com
b17310ba03 Fixing xpcom/reg breakage.
git-svn-id: svn://10.0.0.236/trunk@20217 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 04:19:23 +00:00
jband%netscape.com
03568c1065 NOT YET PART OF SEAMONKEY - prepped the four files for movement to libxpt, centralized/simplified access to services, fixed InterfaceInfoImpl::GetName, removed files I forgot to remove before
git-svn-id: svn://10.0.0.236/trunk@20216 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 04:17:53 +00:00
troy%netscape.com
dbedf1803d Changed GetFrameState() and GetFrameType() to use pointer arguments instead of
references


git-svn-id: svn://10.0.0.236/trunk@20215 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 04:17:06 +00:00
briano%netscape.com
2be995a545 Automated update
git-svn-id: svn://10.0.0.236/trunk@20214 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 04:15:35 +00:00
briano%netscape.com
379e584b92 Another minor tweak for BSD/OS (3.1).
git-svn-id: svn://10.0.0.236/trunk@20213 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 04:05:13 +00:00
troy%netscape.com
3635a7c72c Changed GetAdditionalChildListName() and FirstChild() to use ** instead
of *&


git-svn-id: svn://10.0.0.236/trunk@20212 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 02:25:01 +00:00
michaelp%netscape.com
9699371b8c added GetRects()/FreeRects() to nsIRegion. add GetDrawingSurface() to
nsIRenderingContext.


git-svn-id: svn://10.0.0.236/trunk@20211 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 02:15:47 +00:00
briano%netscape.com
dd19db0171 Automated update
git-svn-id: svn://10.0.0.236/trunk@20210 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 02:15:36 +00:00
briano%netscape.com
b2795bfed8 Added a feeble first attempt at handling BSDI BSD/OS.
git-svn-id: svn://10.0.0.236/trunk@20209 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 02:14:35 +00:00
dp%netscape.com
fbd9ebf114 Adding libreg as xpcom depends on it
git-svn-id: svn://10.0.0.236/trunk@20208 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 02:01:50 +00:00
akkana%netscape.com
fa04adcb99 Comment out ostream code on Linux for now
git-svn-id: svn://10.0.0.236/trunk@20207 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 01:55:42 +00:00
mcafee%netscape.com
0e9be6ddc6 More portable Makefile, and this one builds
git-svn-id: svn://10.0.0.236/trunk@20206 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 01:50:29 +00:00
troy%netscape.com
2af2ec249b Changed GetParent() to use ** instead of *&
git-svn-id: svn://10.0.0.236/trunk@20205 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 01:36:30 +00:00
mcafee%netscape.com
72c48ee8e7 Fixing windows breakage
git-svn-id: svn://10.0.0.236/trunk@20204 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 01:34:45 +00:00
mcafee%netscape.com
235cb9eb66 Wrapping tests up in ENABLE_TESTS
git-svn-id: svn://10.0.0.236/trunk@20203 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 01:21:39 +00:00
mscott%netscape.com
095504a872 Fix build breakage....for some reason it suddennly started having problems with LINEBREAK. I added a defintion here...although
it is also defined in nsMsgLinebuffer.cpp....seems like we want to find a generic place for this.


git-svn-id: svn://10.0.0.236/trunk@20202 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 01:16:37 +00:00
mcafee%netscape.com
0cc6721116 Wrapping tests in ENABLE_TESTS
git-svn-id: svn://10.0.0.236/trunk@20201 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 01:01:07 +00:00
mcafee%netscape.com
2fa35a3162 More portable way of writing this Makefile.
git-svn-id: svn://10.0.0.236/trunk@20200 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 00:49:34 +00:00
troy%netscape.com
8934624982 Changed some nsIFrame member functions to use ** instead of *& for OUT
paremeters


git-svn-id: svn://10.0.0.236/trunk@20199 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 00:42:56 +00:00
buster%netscape.com
4ed9a862df initial checkin of public table layout interfaces
git-svn-id: svn://10.0.0.236/trunk@20198 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 00:38:01 +00:00
michaelp%netscape.com
a2bd5d7922 fleshed out rect enumeration method.
git-svn-id: svn://10.0.0.236/trunk@20197 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 00:35:04 +00:00
ftang%netscape.com
f21bf31eb0 back up the #ifndef XP_UNIX
git-svn-id: svn://10.0.0.236/trunk@20196 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 00:35:02 +00:00
mcafee%netscape.com
96a55c36a5 un-hardcoding SOLARIS
git-svn-id: svn://10.0.0.236/trunk@20195 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 00:13:25 +00:00
waterson%netscape.com
ba3e4b0f20 Added bookmarks.html to the install.
git-svn-id: svn://10.0.0.236/trunk@20194 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 00:09:29 +00:00
alecf%netscape.com
0ae6479a1e fix dependancies for static libraries which build up shared libraries
git-svn-id: svn://10.0.0.236/trunk@20193 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 00:07:01 +00:00
akkana%netscape.com
625d626ffc Change stream ifdefs to be easier to follow; include debug code for Linux DoCopy(); comment out a bunch of lines that caused warnings
git-svn-id: svn://10.0.0.236/trunk@20192 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 00:06:19 +00:00
cyeh%netscape.com
fcd65c543a add static lib targets for source files.
git-svn-id: svn://10.0.0.236/trunk@20191 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 00:04:05 +00:00
briano%netscape.com
9a1606dbb2 Automated update
git-svn-id: svn://10.0.0.236/trunk@20190 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 00:00:50 +00:00
ftang%netscape.com
2996818b97 check in some changes
git-svn-id: svn://10.0.0.236/trunk@20189 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 23:57:14 +00:00
ftang%netscape.com
fa441ace42 fix xpcom code
git-svn-id: svn://10.0.0.236/trunk@20188 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 23:56:05 +00:00
ftang%netscape.com
4736a601af check in the implementation of General Category code
git-svn-id: svn://10.0.0.236/trunk@20187 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 23:52:36 +00:00
akkana%netscape.com
f8413c4ccd Separate gprof option from debug
git-svn-id: svn://10.0.0.236/trunk@20186 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 23:51:54 +00:00
ftang%netscape.com
8b5c24895c first check in
git-svn-id: svn://10.0.0.236/trunk@20185 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 23:51:43 +00:00
ftang%netscape.com
7088cd1bf8 make small changes
git-svn-id: svn://10.0.0.236/trunk@20184 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 23:51:02 +00:00
ftang%netscape.com
f2e4f73f72 reduce table size
git-svn-id: svn://10.0.0.236/trunk@20183 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 23:49:30 +00:00
mscott%netscape.com
9aa3de4341 Add compose/tests/smtp and compose/tests/compose to list of mail news directories.
git-svn-id: svn://10.0.0.236/trunk@20182 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 23:49:20 +00:00
ftang%netscape.com
f449c5a84e reduce the table size
git-svn-id: svn://10.0.0.236/trunk@20181 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 23:48:56 +00:00
briano%netscape.com
96d268d75c Automated update
git-svn-id: svn://10.0.0.236/trunk@20180 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 23:32:00 +00:00
dp%netscape.com
d4c5628835 Adding libreg
git-svn-id: svn://10.0.0.236/trunk@20179 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 23:29:48 +00:00
slamm%netscape.com
2860db776d Shorten the compile line. Add test and support for preprocessor '-include' flag
git-svn-id: svn://10.0.0.236/trunk@20178 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 23:24:12 +00:00
dp%netscape.com
faf9dec2f3 CFLAGS->DEFINES
git-svn-id: svn://10.0.0.236/trunk@20177 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 22:48:00 +00:00
dp%netscape.com
27d0742fde Adding libreg
git-svn-id: svn://10.0.0.236/trunk@20176 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 22:47:21 +00:00
mscott%netscape.com
7edacf7a1d Export nsSmtpProtocol.h.
git-svn-id: svn://10.0.0.236/trunk@20175 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 21:39:29 +00:00
mscott%netscape.com
9cf2df2097 Remove nsMsgCompFields.h from the export list...
git-svn-id: svn://10.0.0.236/trunk@20174 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 21:39:00 +00:00
dp%netscape.com
96174e85fa Commenting CreateInstance2().
git-svn-id: svn://10.0.0.236/trunk@20173 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 21:32:13 +00:00
erik%netscape.com
7fd758d256 disable this string bundle test until I figure out why Unix viewer crashes
git-svn-id: svn://10.0.0.236/trunk@20172 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 21:28:27 +00:00
dp%netscape.com
79ea35270e Removing wrong delete.
git-svn-id: svn://10.0.0.236/trunk@20171 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 21:21:30 +00:00
mscott%netscape.com
355b4331a7 Running SMTP urls should use a brand new transport and a brand new protocol instance for each url....
git-svn-id: svn://10.0.0.236/trunk@20170 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 21:19:09 +00:00
mscott%netscape.com
a6fedb424b Add some cleanup code to the protocol destructor....
git-svn-id: svn://10.0.0.236/trunk@20169 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 21:17:34 +00:00
dp%netscape.com
d1401ae1e7 Commenting FACTORY2
git-svn-id: svn://10.0.0.236/trunk@20168 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 21:06:34 +00:00
beard%netscape.com
95a77014e6 Removed an absolute path from optimized build's access paths. This could break the build.
git-svn-id: svn://10.0.0.236/trunk@20167 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 20:40:10 +00:00
dp%netscape.com
2dec274052 Major repository upgrade to use a presistent regitry. We use libreg/ directly (NR_*() functions) for now.
git-svn-id: svn://10.0.0.236/trunk@20166 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 20:31:24 +00:00
dp%netscape.com
c5216bcf50 Added new constructor that takes lastmodtime and size
git-svn-id: svn://10.0.0.236/trunk@20165 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 20:30:34 +00:00
dp%netscape.com
b2fdbf4cb4 variable id changes + commenting CreateInstance2()
git-svn-id: svn://10.0.0.236/trunk@20164 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 20:29:46 +00:00
dp%netscape.com
e205358e25 Hierarchy change for filemodifieddata and size
git-svn-id: svn://10.0.0.236/trunk@20163 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 20:28:54 +00:00
terry%netscape.com
676b7edbaf Figure out the secure URL in an apache-friendly manner.
git-svn-id: svn://10.0.0.236/trunk@20162 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 20:13:15 +00:00
alecf%netscape.com
9c60acb6ce update to new NSPR types, and make it build on Unix
git-svn-id: svn://10.0.0.236/trunk@20161 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 20:08:35 +00:00
erik%netscape.com
dc7eed33bc fixing the build bustage.
git-svn-id: svn://10.0.0.236/trunk@20160 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 20:01:44 +00:00
briano%netscape.com
36886026e8 Automated update
git-svn-id: svn://10.0.0.236/trunk@20159 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 19:45:41 +00:00
akkana%netscape.com
096e767f95 Add --enable-gprof flag to add -pg flag
git-svn-id: svn://10.0.0.236/trunk@20158 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 19:32:04 +00:00
erik%netscape.com
b2af9e1427 adding some string bundle testing code
git-svn-id: svn://10.0.0.236/trunk@20157 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 19:29:03 +00:00
erik%netscape.com
027b873ef5 adding viewer.properties to build for testing string bundle stuff
git-svn-id: svn://10.0.0.236/trunk@20156 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 19:27:04 +00:00
michaelp%netscape.com
2bd34cf543 added xregion.h (formerly known as region.h in the old xfe).
added support for enumerating over the rects of an XRegion.


git-svn-id: svn://10.0.0.236/trunk@20155 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 19:22:33 +00:00
erik%netscape.com
4d2b17f530 adding viewer.properties to build for testing string bundle stuff
git-svn-id: svn://10.0.0.236/trunk@20154 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 19:21:02 +00:00
terry%netscape.com
65c348f115 Last change wasn't working if grabbing multiple trees.
git-svn-id: svn://10.0.0.236/trunk@20153 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 19:13:40 +00:00
erik%netscape.com
acbb7712ae A new property file for "viewer", to test the string bundle stuff
git-svn-id: svn://10.0.0.236/trunk@20152 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 19:11:52 +00:00
kmcclusk%netscape.com
d2ec18b325 Added test_gfx to set of test files to export to res\samples
git-svn-id: svn://10.0.0.236/trunk@20151 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 18:41:47 +00:00
terry%netscape.com
e9f9c520c6 Don't put builds into quickparse that we have marked as "ignore".
git-svn-id: svn://10.0.0.236/trunk@20150 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 18:40:56 +00:00
kmcclusk%netscape.com
670fa86718 Added test_gfx.html file to test gfx rendering of form elements.
git-svn-id: svn://10.0.0.236/trunk@20149 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 18:36:04 +00:00
kmcclusk%netscape.com
35f21942b9 Undef'ed NS_GFX_RENDER_FORM_ELEMENTS
git-svn-id: svn://10.0.0.236/trunk@20148 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 18:31:41 +00:00
kmcclusk%netscape.com
15bf313676 Added rule for INPUT[type=radio] to set properties for gfx-rendered radio buttons.
git-svn-id: svn://10.0.0.236/trunk@20147 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 18:29:15 +00:00
kmcclusk%netscape.com
c5a5921a54 Added support to gfx-render radio buttons. Both checkboxes and radio buttons
now use CSS style to get colors for rendering. Checkboxes also use the CSS border rendering
code. Added New utility methods to nsFormControlFrame to PaintCircular backgrounds and
borders. Set compiler directive to gfx-render radiobuttons and checkboxes both for printing
and on-screen display.


git-svn-id: svn://10.0.0.236/trunk@20146 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 18:25:40 +00:00
rods%netscape.com
60ee060f62 Fixed problem with marshalling the window create method
git-svn-id: svn://10.0.0.236/trunk@20145 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 18:20:18 +00:00
ducarroz%netscape.com
c89e5197d3 Remove any reference to compose classes
git-svn-id: svn://10.0.0.236/trunk@20144 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 17:33:29 +00:00
kipp%netscape.com
7f58c1cf8f Whacked away nsBaseIBFrame and BLOCK_IS_INLINE cruft
git-svn-id: svn://10.0.0.236/trunk@20143 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 17:31:33 +00:00
kipp%netscape.com
ab01d56e79 Handle breaking before an anonymous block when the line isn't empty; push/pop inline reflow state so that floaters work properly
git-svn-id: svn://10.0.0.236/trunk@20142 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 17:31:14 +00:00
ftang%netscape.com
61f92897ed first check in
git-svn-id: svn://10.0.0.236/trunk@20141 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 16:04:07 +00:00
ftang%netscape.com
6b79d15f4c first chek in
git-svn-id: svn://10.0.0.236/trunk@20140 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 16:03:03 +00:00
ftang%netscape.com
8e43f2a2e9 check in interface and not working stub
git-svn-id: svn://10.0.0.236/trunk@20139 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 16:01:48 +00:00
ftang%netscape.com
624b1625b9 change ToTitle interface
git-svn-id: svn://10.0.0.236/trunk@20138 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 15:57:48 +00:00
terry%netscape.com
46b275078b Renamed "Rendering" to be "Compositor".
git-svn-id: svn://10.0.0.236/trunk@20137 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 15:48:30 +00:00
terry%netscape.com
371cb2fc61 Added FreeBSD.
git-svn-id: svn://10.0.0.236/trunk@20136 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 15:48:04 +00:00
shaver%netscape.com
f9888f9161 fix #define for generated headers
git-svn-id: svn://10.0.0.236/trunk@20135 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 15:30:31 +00:00
mcafee%netscape.com
5495555f65 Reverting back to 3.4
git-svn-id: svn://10.0.0.236/trunk@20134 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 12:27:07 +00:00
mcafee%netscape.com
09874be8dc Reverting back to 3.7
git-svn-id: svn://10.0.0.236/trunk@20133 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 12:26:27 +00:00
mcafee%netscape.com
18470b68ba reverting back to 3.2
git-svn-id: svn://10.0.0.236/trunk@20132 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 12:23:00 +00:00
mcafee%netscape.com
7b59ba0a02 Reverting back to 3.1
git-svn-id: svn://10.0.0.236/trunk@20131 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 12:18:30 +00:00
mcafee%netscape.com
68ad4de532 Solaris defines BROKEN_QSORT, removing explicit SOLARIS reference
git-svn-id: svn://10.0.0.236/trunk@20130 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 11:26:41 +00:00
mcafee%netscape.com
3e88623c12 Fixing mac bustage: XP_QSORT()
git-svn-id: svn://10.0.0.236/trunk@20129 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 11:22:47 +00:00
mcafee%netscape.com
d914fa40b4 Fixing XP_QSORT() breakage, we're using lib/xp/xp_qsort.cpp version now
git-svn-id: svn://10.0.0.236/trunk@20128 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 08:37:35 +00:00
grail%cafebabe.org
c193c19371 Layouts are now rearranged correctly.
git-svn-id: svn://10.0.0.236/trunk@20127 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 08:28:06 +00:00
mcafee%netscape.com
85a4bf1d8e Yanking XP_QSORT() out (Mac, Solaris) in favor of the version in /lib/xp/xp_qsort.c. Removing dead windows include files. a=pnunn@netscape.com (2998)
git-svn-id: svn://10.0.0.236/trunk@20126 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 08:19:24 +00:00
leaf%mozilla.org
0c9b70f32b Adding the glib/gtk+ updating script. and the directory readme.
git-svn-id: svn://10.0.0.236/trunk@20125 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 08:09:58 +00:00
grail%cafebabe.org
e174d58ed7 Fix minor "bug" in xml description.
git-svn-id: svn://10.0.0.236/trunk@20124 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 08:06:30 +00:00
grail%cafebabe.org
1e9c0a90e0 Build a panel presumably for dialogs and such.
git-svn-id: svn://10.0.0.236/trunk@20123 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 08:06:09 +00:00
grail%cafebabe.org
b2169c29b8 Restructured to accomodate parent class XMLWidgetBuilder.
git-svn-id: svn://10.0.0.236/trunk@20122 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 08:05:42 +00:00
grail%cafebabe.org
cb5423e712 Base object for UI builders from XML descriptions.
git-svn-id: svn://10.0.0.236/trunk@20121 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 08:05:17 +00:00
grail%cafebabe.org
3baae40304 Fixed char values used where bytes should be for switch
statement. Language sanity issues.


git-svn-id: svn://10.0.0.236/trunk@20120 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 08:04:42 +00:00
jband%netscape.com
c7dda3e1f6 NOT YET PART OF SEAMONKEY - now using types based on xpcom/src/libxpt/public/xpt_struct.h. Using nsIAllocator (which has an implementation hacked in in test/TestXPC.cpp - since the real one in xpcom/src is not being registered and used)
git-svn-id: svn://10.0.0.236/trunk@20119 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 07:31:00 +00:00
fur%netscape.com
1ba5cdbaf6 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@20118 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 06:47:12 +00:00
fur%netscape.com
1a22639c79 Make g++ default C++ compiler
git-svn-id: svn://10.0.0.236/trunk@20117 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 06:47:00 +00:00
fur%netscape.com
534006a292 Remove C++ comment in C file
git-svn-id: svn://10.0.0.236/trunk@20116 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 06:46:12 +00:00
fur%netscape.com
310da7ba2f Kill routine that has name conflict w/ libc
git-svn-id: svn://10.0.0.236/trunk@20115 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 05:47:33 +00:00
fur%netscape.com
043794682b Wrong path for Packages binaries
git-svn-id: svn://10.0.0.236/trunk@20114 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 05:46:47 +00:00
troy%netscape.com
90c9d94a64 Added GetFrameType() member function
git-svn-id: svn://10.0.0.236/trunk@20113 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 05:44:13 +00:00
troy%netscape.com
5b4c0b3c70 Fix for bug #2661. Now handles the case where the root-frame has a fixed
height


git-svn-id: svn://10.0.0.236/trunk@20112 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 05:09:39 +00:00
bienvenu%netscape.com
37753945fc put linebreak defines here since I can't put them in nsCRT.h
git-svn-id: svn://10.0.0.236/trunk@20110 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 05:07:21 +00:00
bienvenu%netscape.com
375440882d back out linebreak defines
git-svn-id: svn://10.0.0.236/trunk@20109 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 05:06:35 +00:00
troy%netscape.com
80a11a7ad3 Fixed a silly error I introduced in the previous check-in
git-svn-id: svn://10.0.0.236/trunk@20108 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 05:01:11 +00:00
waterson%netscape.com
292b375a2f Made nsRDFContentUtils routines static members of a class. Made the tree builder more polite about creating cells. Made the tree builder look at the <xul:tree>'s <xul:treecol> elements for column info.
git-svn-id: svn://10.0.0.236/trunk@20107 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 04:59:11 +00:00
bienvenu%netscape.com
0df21a1729 add line buffering class
git-svn-id: svn://10.0.0.236/trunk@20106 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 04:46:12 +00:00
tague%netscape.com
a1e72bba1e Added autoregistration to Windows locale DLL
git-svn-id: svn://10.0.0.236/trunk@20105 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 04:44:23 +00:00
bienvenu%netscape.com
d280b1d9d7 add platform specific linebreak defines
git-svn-id: svn://10.0.0.236/trunk@20104 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 04:43:58 +00:00
tague%netscape.com
45bbaba878 Added XPCOM autoregistration to the Mac version of the locale shared object.
git-svn-id: svn://10.0.0.236/trunk@20103 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 04:31:32 +00:00
troy%netscape.com
c9a7e63cc4 Fixed a problem where absolutely positioned child frames with an 'auto'
offset weren't getting re-positioned during an incremental reflow of the
flowed items


git-svn-id: svn://10.0.0.236/trunk@20102 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 04:31:09 +00:00
warren%netscape.com
3da87a4b64 Moved NS_ERROR_MODULE_MAILNEWS to xpcom/public/nsError.h
git-svn-id: svn://10.0.0.236/trunk@20101 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 04:28:35 +00:00
warren%netscape.com
1ccbf85b35 Added NS_ERROR_MODULE_MAILNEWS
git-svn-id: svn://10.0.0.236/trunk@20100 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 04:28:17 +00:00
warren%netscape.com
3c55c995a0 Changed uses of MsgErr to nsresult. Moved CR LF macros to base/src/nsCRT.h.
git-svn-id: svn://10.0.0.236/trunk@20099 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 04:20:46 +00:00
warren%netscape.com
4f7018f975 Added CR LF defines for general use.
git-svn-id: svn://10.0.0.236/trunk@20098 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 04:19:58 +00:00
troy%netscape.com
d53851dcae Turned off some code until the frame construction code handles the case
where the replaced element that can't be rendered is floated or absolutely
positioned


git-svn-id: svn://10.0.0.236/trunk@20097 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 04:05:21 +00:00
mscott%netscape.com
64bf413f6a Bring first part of the smtp service online. We can now read in a file name and send the message to the SMTP server.
git-svn-id: svn://10.0.0.236/trunk@20096 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 03:51:50 +00:00
mscott%netscape.com
32270a048a Removing from directory as this has been moved to tests\smtp\smtpTest.cpp
git-svn-id: svn://10.0.0.236/trunk@20095 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 03:50:32 +00:00
mscott%netscape.com
75366daa97 Build nsSmtpProtocol.cpp...
git-svn-id: svn://10.0.0.236/trunk@20094 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 03:49:59 +00:00
mscott%netscape.com
6534d0c80b New method to post a file containing a message.
git-svn-id: svn://10.0.0.236/trunk@20093 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 03:49:31 +00:00
mscott%netscape.com
f231a9a4cb Many many changes. Most notably code to correctly parse a file containing an email message, append appropriate CRLFs and transmit the file to the SMTP server.
git-svn-id: svn://10.0.0.236/trunk@20092 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 03:48:56 +00:00
mscott%netscape.com
58d8ef8d01 Small changes. Added support for getting/setting a file name for the file to be posted.
git-svn-id: svn://10.0.0.236/trunk@20091 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 03:46:34 +00:00
warren%netscape.com
86885e81e1 Broke out IMAP stuff.
git-svn-id: svn://10.0.0.236/trunk@20090 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 03:45:02 +00:00
mscott%netscape.com
3174ee1055 Add accessors for getting/setting the file name for the email message to be posted.
git-svn-id: svn://10.0.0.236/trunk@20089 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 03:44:47 +00:00
srinivas%netscape.com
e0a0cd6cc0 Display nspr version info. by default.
git-svn-id: svn://10.0.0.236/trunk@20088 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 03:34:09 +00:00
srinivas%netscape.com
e2b9415d7c Code cleanup.
git-svn-id: svn://10.0.0.236/trunk@20087 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 03:30:29 +00:00
srinivas%netscape.com
269ea070e6 Reduce default thread count.
git-svn-id: svn://10.0.0.236/trunk@20086 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 03:29:40 +00:00
tague%netscape.com
b8067fe39e Added autoregistration to UNIX .so
git-svn-id: svn://10.0.0.236/trunk@20085 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 03:24:34 +00:00
mscott%netscape.com
7d91171fa6 Add values for CRLF....
git-svn-id: svn://10.0.0.236/trunk@20084 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 03:23:10 +00:00
mscott%netscape.com
4ef71a6086 Oops...one of my changes got lost...if you are reading in user data, don't write it into m_userData unless the user
actually entered a value...if you do write in it, we step on the default value which is alredy in m_userData...


git-svn-id: svn://10.0.0.236/trunk@20083 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 03:21:34 +00:00
waterson%netscape.com
7cc4e877a6 Removed tree widget demo: obsolete.
git-svn-id: svn://10.0.0.236/trunk@20082 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 03:17:03 +00:00
waterson%netscape.com
eeb0448b81 Removed RDF crap from nsSetupRegistry and made it automagically work by handling NSRegisterSelf() in rdf.dll
git-svn-id: svn://10.0.0.236/trunk@20081 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 03:16:51 +00:00
waterson%netscape.com
0893400c85 RDFDocument is now XULDocument.
git-svn-id: svn://10.0.0.236/trunk@20080 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 03:16:17 +00:00
waterson%netscape.com
991f41cbc8 Whacked to get RDF/XUL working right, with local content mderged in.
git-svn-id: svn://10.0.0.236/trunk@20079 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 03:15:41 +00:00
waterson%netscape.com
0c1cbba8b5 Moved RDF to after Layout TEMPORARILY while I static link to layout.dll for HTML elements. This'll go away once Vidur comes back from W3C and we figure out how to do this the right way.
git-svn-id: svn://10.0.0.236/trunk@20077 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 03:06:59 +00:00
alecf%netscape.com
9d63499817 Some headers aren't required after all.
reorder some of them and change HEADER_TOTAL to HEADER_LAST for consistency.


git-svn-id: svn://10.0.0.236/trunk@20076 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 02:55:39 +00:00
alecf%netscape.com
4c46192950 terminate posts with "."
move FORCE_PR_LOG above the include for msgCore so that we can log in release builds
remove unnecessary assert
get ready for the next state after we post the message


git-svn-id: svn://10.0.0.236/trunk@20075 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 02:54:44 +00:00
alecf%netscape.com
ed6c90e4cf fix up test harness for posting
git-svn-id: svn://10.0.0.236/trunk@20074 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 02:49:58 +00:00
warren%netscape.com
ea5a4dd249 Fixed to build on Windows.
git-svn-id: svn://10.0.0.236/trunk@20073 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 02:23:39 +00:00
ducarroz%netscape.com
787fd14b47 remove temporary directory compose
git-svn-id: svn://10.0.0.236/trunk@20072 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 02:14:58 +00:00
ducarroz%netscape.com
3dcdee1044 Original file was moved into .\smtp, this is in fact a first check in
git-svn-id: svn://10.0.0.236/trunk@20071 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 01:45:55 +00:00
ducarroz%netscape.com
4b6563df51 Add support for msgCompose & msgCompFields, change library name to compose instance of smtp
git-svn-id: svn://10.0.0.236/trunk@20070 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 01:42:18 +00:00
ducarroz%netscape.com
5b6c9575f2 Add support for msgCompose and msgCompFields
git-svn-id: svn://10.0.0.236/trunk@20069 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 01:40:25 +00:00
ducarroz%netscape.com
4f9ef9b8bd Add support for nsIMsgCompose & nsIMsgCompFields
git-svn-id: svn://10.0.0.236/trunk@20068 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 01:36:14 +00:00
ducarroz%netscape.com
1116648212 Add class id for msgcompose and msgcompfields
git-svn-id: svn://10.0.0.236/trunk@20067 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 01:34:53 +00:00
alecf%netscape.com
a0557c372e Ignore UNIX generated makefiles
git-svn-id: svn://10.0.0.236/trunk@20066 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 01:33:43 +00:00
ducarroz%netscape.com
19710e6cb7 add library compose.lib
git-svn-id: svn://10.0.0.236/trunk@20065 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 01:33:33 +00:00
ducarroz%netscape.com
410a4fb3b2 add directory compose to build process
git-svn-id: svn://10.0.0.236/trunk@20064 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 01:32:15 +00:00
ducarroz%netscape.com
7371a0b20f Initial check in
git-svn-id: svn://10.0.0.236/trunk@20063 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 01:28:32 +00:00
mscott%netscape.com
cc0c80339a Ooops...forgot to check this file in. I changed the arguments for ExtractRFC822Addresses
git-svn-id: svn://10.0.0.236/trunk@20062 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 01:23:34 +00:00
waterson%netscape.com
c042191a3f Exposed NS_CreateHTMLContent() as a temporary hack to get HTML-in-RDF/XUL working. Will re-visit when Vidur comes back.
git-svn-id: svn://10.0.0.236/trunk@20061 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 00:26:50 +00:00
ducarroz%netscape.com
fa79039824 Initial check in
git-svn-id: svn://10.0.0.236/trunk@20060 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 00:15:59 +00:00
troy%netscape.com
0b0f1e128c Fix for bug #3027. Correctly computes 'auto' margin values and allows them
to be negative


git-svn-id: svn://10.0.0.236/trunk@20059 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 00:15:43 +00:00
coop%netscape.com
4c886d1021 NOT YET PART OF SEAMONKEY:
* added function XPT_GetInterfaceIndexByName
* replaced remaining occurences of 'namespace' with 'name_space' to keep C++ happy
* added xpt_dump display for param types (in/out/retval)
* changed xpt_dump handling for wchar_t strings
* use shaver's print_IID function when displaying type descriptors
* removed DoAnnotations (not used)


git-svn-id: svn://10.0.0.236/trunk@20058 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 00:14:38 +00:00
fur%netscape.com
5c43b2b2c8 Gratuitous change to work around bug that appears in egcs 1.0.3
git-svn-id: svn://10.0.0.236/trunk@20056 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 00:08:41 +00:00
ducarroz%netscape.com
d4827fc15b Initial check in
git-svn-id: svn://10.0.0.236/trunk@20055 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 00:08:18 +00:00
pinkerton%netscape.com
74d0854e19 Rewrote reflow to handle collapsed/hidden toolbars correctly (but still not operational because of layout bugs).
git-svn-id: svn://10.0.0.236/trunk@20054 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 00:07:49 +00:00
fur%netscape.com
0924db5b2c Quash egcs warning
git-svn-id: svn://10.0.0.236/trunk@20053 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 00:07:20 +00:00
ducarroz%netscape.com
00f20e06da Initial check in
This file is temporary!


git-svn-id: svn://10.0.0.236/trunk@20052 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 00:05:39 +00:00
fur%netscape.com
c997567b07 Use OBJDIR naming scheme that is the same as NSPR's
git-svn-id: svn://10.0.0.236/trunk@20051 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 00:02:19 +00:00
fur%netscape.com
32a58be443 mkdepend rules now work again
git-svn-id: svn://10.0.0.236/trunk@20050 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 00:01:56 +00:00
fur%netscape.com
d48f035ca7 Don't assume that gcc is C compiler when computing dependencies
git-svn-id: svn://10.0.0.236/trunk@20049 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 00:01:02 +00:00
fur%netscape.com
4f0ec63e11 Got rid of problematic -fexceptions flag
git-svn-id: svn://10.0.0.236/trunk@20048 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-08 23:59:19 +00:00
fur%netscape.com
6303e2d00a Get rid of classpath during header generation. For now, depend on setting of CLASSPATH env variable.
git-svn-id: svn://10.0.0.236/trunk@20047 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-08 23:58:16 +00:00
fur%netscape.com
f1102dda23 Replaced outdated rules w/ new rules that are identical to NSPR's
git-svn-id: svn://10.0.0.236/trunk@20046 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-08 23:57:21 +00:00
racham%netscape.com
b49ac588de Widget name conflict resolved
git-svn-id: svn://10.0.0.236/trunk@20045 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-08 23:18:56 +00:00
alecf%netscape.com
54e5dd6ebc first shot at NNTP Newsgroup Post implementation...still have a few kinks to work out
git-svn-id: svn://10.0.0.236/trunk@20044 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-08 23:09:26 +00:00
alecf%netscape.com
5de0a0b637 make this newsheader valid for now
git-svn-id: svn://10.0.0.236/trunk@20043 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-08 23:05:05 +00:00
rods%netscape.com
ce29c66aab Back to 1.1 (sort of)
git-svn-id: svn://10.0.0.236/trunk@20040 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-08 22:15:08 +00:00
rods%netscape.com
170fe0fc97 Changed IIDs to be unique
git-svn-id: svn://10.0.0.236/trunk@20039 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-08 22:11:04 +00:00
waterson%netscape.com
29ef8e898c Fix strncmp() routines to handle unsigned integers properly. r=linss, a=sar.
git-svn-id: svn://10.0.0.236/trunk@20037 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-08 22:01:08 +00:00
jband%netscape.com
ebc5ecdc49 NOT PART OF SEAMONKEY - a bunch of fixes to get it building on win32
git-svn-id: svn://10.0.0.236/trunk@20036 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-08 21:47:35 +00:00
terry%netscape.com
305a9167c5 Added FreeBSD as a legal op_sys.
git-svn-id: svn://10.0.0.236/trunk@20035 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-08 21:12:31 +00:00
leaf%mozilla.org
a2f7523c10 mozilla/.cvsignore should get pulled
git-svn-id: svn://10.0.0.236/trunk@20033 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-08 20:43:24 +00:00
srinivas%netscape.com
24697ab983 Reduce default values of counters.
git-svn-id: svn://10.0.0.236/trunk@20030 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-08 20:28:30 +00:00
leaf%mozilla.org
fac186c4ad taking out configure (we want it to get updated)
git-svn-id: svn://10.0.0.236/trunk@20029 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-08 20:28:27 +00:00
srinivas%netscape.com
af87a2f248 Code cleanup.
git-svn-id: svn://10.0.0.236/trunk@20028 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-08 20:27:02 +00:00
srinivas%netscape.com
e1f581ea95 Build additional tests
git-svn-id: svn://10.0.0.236/trunk@20026 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-08 20:25:05 +00:00
briano%netscape.com
4fbdc2fc0f Automated update
git-svn-id: svn://10.0.0.236/trunk@20022 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-08 20:02:38 +00:00
alecf%netscape.com
6368fd01a7 add update-XTERM support to makefile code that enters directory, and update XPIDL rule to use new syntax
git-svn-id: svn://10.0.0.236/trunk@20021 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-08 19:59:25 +00:00
alecf%netscape.com
66e8dc8d8a add update_xterm_title support to autoconf build
git-svn-id: svn://10.0.0.236/trunk@20020 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-08 19:57:15 +00:00
cyeh%netscape.com
5342674ca9 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@20019 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-08 19:56:02 +00:00
alecf%netscape.com
26cc387729 add new mail/news Makefiles to build list
git-svn-id: svn://10.0.0.236/trunk@20018 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-08 19:55:35 +00:00
shaver%netscape.com
165ac99ba0 move includes outside #ifdef for precompiled-header love, also PR_EXTERN_C
git-svn-id: svn://10.0.0.236/trunk@20017 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-08 19:48:48 +00:00
cyeh%netscape.com
59b7239e67 adding readme to explain what is in this directory
git-svn-id: svn://10.0.0.236/trunk@20016 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-08 19:37:56 +00:00
nhotta%netscape.com
48d61a4757 Output data print format change.
git-svn-id: svn://10.0.0.236/trunk@20015 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-08 19:21:44 +00:00
kipp%netscape.com
5aab0b92f0 Disable auto-registration of dll's for unix for now
git-svn-id: svn://10.0.0.236/trunk@20014 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-08 19:16:29 +00:00
sar%netscape.com
670211edd8 Initial checkin of test batch files.
git-svn-id: svn://10.0.0.236/trunk@20012 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-08 19:07:42 +00:00
ftang%netscape.com
801a4fe99f change upper and lower case operation to call unicharutil for the nonASCII case
git-svn-id: svn://10.0.0.236/trunk@20011 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-08 18:57:21 +00:00
terry%netscape.com
9c8f73a8f0 Patch by Patrick Amiel <amielp@netscape.com> -- spaces in filenames
was confusing some clients.  Made the JavaScript a bit more paranoid.


git-svn-id: svn://10.0.0.236/trunk@20010 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-08 18:56:24 +00:00
shaver%netscape.com
874949f141 Windows make goop
git-svn-id: svn://10.0.0.236/trunk@20009 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-08 18:34:54 +00:00
leaf%mozilla.org
cd319ad609 nspr should be getting pulled from the tip.
git-svn-id: svn://10.0.0.236/trunk@20008 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-08 18:22:36 +00:00
kipp%netscape.com
e5625c0d3e Fixed exit crash by no longer addref'ing the viewer; rewrote regression comparision code; removed filter stuff
git-svn-id: svn://10.0.0.236/trunk@20007 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-08 17:57:46 +00:00
kipp%netscape.com
eec0c667b8 Removed obsolete -filter argument
git-svn-id: svn://10.0.0.236/trunk@20006 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-08 17:57:00 +00:00
kipp%netscape.com
ea9460a146 Tweak regression data output
git-svn-id: svn://10.0.0.236/trunk@20005 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-08 17:56:23 +00:00
kipp%netscape.com
b8038d013a Revamp regression data dumping
git-svn-id: svn://10.0.0.236/trunk@20004 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-08 17:56:00 +00:00
kipp%netscape.com
ede9d759c2 Implement tree diffing and dumping of regression data
git-svn-id: svn://10.0.0.236/trunk@20003 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-08 17:55:29 +00:00
kipp%netscape.com
576d6d7c77 Revised API
git-svn-id: svn://10.0.0.236/trunk@20002 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-08 17:55:08 +00:00
shaver%netscape.com
c58a8bcaff Fixed native handling.
IDL-in-comments works again.
Quell some warnings (now -Wall happy!).


git-svn-id: svn://10.0.0.236/trunk@20001 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-08 17:47:44 +00:00
kin%netscape.com
da4ee1e1f6 Added test cases for TransactionManager's BeginBatch() and EndBatch() methods.
git-svn-id: svn://10.0.0.236/trunk@20000 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-08 17:30:30 +00:00
kin%netscape.com
1053817440 Added BeginBatch(), EndBatch(), BeginTransaction() and EndTransaction()
methods.


git-svn-id: svn://10.0.0.236/trunk@19999 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-08 17:29:43 +00:00
kin%netscape.com
df1d7e2808 Added BeginBatch(), EndBatch(), BeginTransaction() and EndTransaction()
methods. Modified Do() method to use Begin/EndTransaction().


git-svn-id: svn://10.0.0.236/trunk@19998 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-08 17:28:33 +00:00
kin%netscape.com
028413a836 Changed all occurences of !NS_SUCCEEDED() to NS_FAILED().
git-svn-id: svn://10.0.0.236/trunk@19997 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-08 17:28:08 +00:00
kin%netscape.com
f349160857 Added GetNumberOfChildren() method. Changed all occurences of !NS_SUCCEEDED()
to NS_FAILED(). Modified GetNumberOfUndoItems() and GetNumberOfRedoItems() to
handle the case where their stack is NULL.


git-svn-id: svn://10.0.0.236/trunk@19996 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-08 17:27:42 +00:00
dcone%netscape.com
13c504c824 Fixed bug
git-svn-id: svn://10.0.0.236/trunk@19995 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-08 17:23:59 +00:00
dcone%netscape.com
08e08e24bc Took out an method not used, that broke build
git-svn-id: svn://10.0.0.236/trunk@19994 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-08 17:13:33 +00:00
dcone%netscape.com
a583239a27 cleanup of nsIImage class. There were routines and methods no longer used or needed.
git-svn-id: svn://10.0.0.236/trunk@19993 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-08 16:34:56 +00:00
shaver%netscape.com
22f1e69f02 Added XPT_InterfaceDescriptorAddMethods to grow the method table.
Removed unused XPT_ALLOC macro.
Move XPT_SetDataOffset calls into XPT_DoHeader so that the API consumer doesn't
need to know about header sizing and IDE layout guck.
Handle NULL namespaces and interface_directory bits snd idents better.
Made xpt_dump show the the IID for interfaces.


git-svn-id: svn://10.0.0.236/trunk@19992 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-08 16:30:22 +00:00
mcafee%netscape.com
8dfb112feb Woops, no tests directory here
git-svn-id: svn://10.0.0.236/trunk@19991 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-08 09:44:22 +00:00
mcafee%netscape.com
71351e6450 Ignore generated files
git-svn-id: svn://10.0.0.236/trunk@19988 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-08 08:46:17 +00:00
mcafee%netscape.com
03650d4867 ignore genereated files
git-svn-id: svn://10.0.0.236/trunk@19987 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-08 08:26:34 +00:00
mcafee%netscape.com
69521dd5d3 Adding widget, scribble to tests; these are building on both Linux & Solaris
git-svn-id: svn://10.0.0.236/trunk@19986 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-08 08:00:53 +00:00
blizzard%redhat.com
d5775fb626 back out akk's commented out menubar call. the looping has been fixed.
git-svn-id: svn://10.0.0.236/trunk@19985 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-08 03:41:10 +00:00
mscott%netscape.com
2d14ac1d51 Updating with changes for new nsISmtpUrl interface...
git-svn-id: svn://10.0.0.236/trunk@19984 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-08 01:36:57 +00:00
mscott%netscape.com
8663961bdf More conversion changes from old smtp code to the working in the new world...
git-svn-id: svn://10.0.0.236/trunk@19983 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-08 01:36:38 +00:00
mscott%netscape.com
2bf496221b Added more interface methods for a message....
git-svn-id: svn://10.0.0.236/trunk@19982 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-08 01:35:57 +00:00
bienvenu%netscape.com
03a4185f8a add more flag setting stuff, including local mail flag handling
git-svn-id: svn://10.0.0.236/trunk@19981 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-08 00:46:47 +00:00
bienvenu%netscape.com
80cab90674 add runtime only define
git-svn-id: svn://10.0.0.236/trunk@19980 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-08 00:45:46 +00:00
troy%netscape.com
703dbaf64b Fix for bug #2993. Made sure that 'offsets' are relative to containing block's
padding edge and not the containing block's border edge


git-svn-id: svn://10.0.0.236/trunk@19979 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-08 00:32:02 +00:00
mscott%netscape.com
3b7c0794b8 Add the return value to ParseRFC822Addresses. the return value is the number of addresses....
git-svn-id: svn://10.0.0.236/trunk@19978 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-08 00:16:21 +00:00
bienvenu%netscape.com
75b139baef add local mail folder summary spec
git-svn-id: svn://10.0.0.236/trunk@19977 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-08 00:13:59 +00:00
bienvenu%netscape.com
1e27a68010 add local folder summary spec class
git-svn-id: svn://10.0.0.236/trunk@19976 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-08 00:06:41 +00:00
bienvenu%netscape.com
977cf5f42a local folder header strings, e.g., x-mozilla-status
git-svn-id: svn://10.0.0.236/trunk@19975 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-08 00:03:56 +00:00
mcafee%netscape.com
9302e4296a nettest now builds on Solaris
git-svn-id: svn://10.0.0.236/trunk@19974 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-07 21:55:34 +00:00
peterl%netscape.com
5f1a886f61 selector text notes
git-svn-id: svn://10.0.0.236/trunk@19973 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-07 21:48:45 +00:00
peterl%netscape.com
9cd5ff0a00 added capturing selector source text (to preserve namespace prefixes)
git-svn-id: svn://10.0.0.236/trunk@19972 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-07 21:48:27 +00:00
peterl%netscape.com
97c2dbe99d Added token append to string
Improved handling of bad strings
Improved handling of escapes


git-svn-id: svn://10.0.0.236/trunk@19971 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-07 21:47:48 +00:00
mcafee%netscape.com
98f5c9dd3d Get scribble to build on Solaris
git-svn-id: svn://10.0.0.236/trunk@19970 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-07 13:12:08 +00:00
mcafee%netscape.com
a36609968c nsIWin32Locale.h is, uh, Win32-only :-)
git-svn-id: svn://10.0.0.236/trunk@19969 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-07 12:29:31 +00:00
mcafee%netscape.com
de72e24a74 Wrapping tests with ENABLE_TESTS
git-svn-id: svn://10.0.0.236/trunk@19968 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-07 12:13:23 +00:00
mcafee%netscape.com
0e3b3bacd2 Wrap tests in ENABLE_TESTS ifdef
git-svn-id: svn://10.0.0.236/trunk@19967 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-07 11:58:29 +00:00
mcafee%netscape.com
0dfafd06f9 Wrap robot in ENABLE_TESTS ifdef
git-svn-id: svn://10.0.0.236/trunk@19966 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-07 11:53:30 +00:00
mcafee%netscape.com
7837f6d907 Adding robot to unix build
git-svn-id: svn://10.0.0.236/trunk@19965 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-07 11:38:47 +00:00
mcafee%netscape.com
b9f4f0dd71 Adding nsIDTDDebug.h to unix exports so we can build the robot.
git-svn-id: svn://10.0.0.236/trunk@19964 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-07 11:36:31 +00:00
mcafee%netscape.com
c38de251b2 Adding tests to Solaris build
git-svn-id: svn://10.0.0.236/trunk@19963 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-07 10:03:03 +00:00
mcafee%netscape.com
fd744051d3 Two versions of XP_QSORT(), switching Solaris from the libimg version to the xp version
git-svn-id: svn://10.0.0.236/trunk@19962 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-07 09:30:51 +00:00
mcafee%netscape.com
548958d0f3 Solaris isn't building yet, backing this out
git-svn-id: svn://10.0.0.236/trunk@19960 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-07 03:45:42 +00:00
grail%cafebabe.org
e50f5c55aa Patch from Edwin Woudt to start transition to Java 2 as well as
language sanity.


git-svn-id: svn://10.0.0.236/trunk@19959 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-07 03:37:37 +00:00
grail%cafebabe.org
93491aafd4 Patch from Joel York to fill in missing details on OS/2 setup.
git-svn-id: svn://10.0.0.236/trunk@19958 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-07 03:36:19 +00:00
blizzard%redhat.com
14d845a06b looping fixes. resizing still not 100% but we're getting there.
git-svn-id: svn://10.0.0.236/trunk@19957 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-07 03:03:07 +00:00
briano%netscape.com
2cece923b1 Automated update
git-svn-id: svn://10.0.0.236/trunk@19956 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-07 02:15:35 +00:00
mcafee%netscape.com
9f4aa852a8 Sigh, Solaris not building
git-svn-id: svn://10.0.0.236/trunk@19955 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-07 02:13:25 +00:00
mscott%netscape.com
5e4c2de737 Add mailnews/compose directories...
git-svn-id: svn://10.0.0.236/trunk@19954 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-07 02:08:00 +00:00
mscott%netscape.com
e59ca19d8c First checked in.
git-svn-id: svn://10.0.0.236/trunk@19953 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-07 02:07:22 +00:00
mscott%netscape.com
2731cf4703 First time checked in.
git-svn-id: svn://10.0.0.236/trunk@19952 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-07 02:06:59 +00:00
mscott%netscape.com
f00a108a93 First check in...
git-svn-id: svn://10.0.0.236/trunk@19951 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-07 02:05:53 +00:00
mscott%netscape.com
083a1cde2e Initialize a variable....
git-svn-id: svn://10.0.0.236/trunk@19950 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-07 02:05:28 +00:00
mscott%netscape.com
0469b21d36 First checked in.
git-svn-id: svn://10.0.0.236/trunk@19949 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-07 01:50:40 +00:00
mscott%netscape.com
4be77da55a First checked. Formations of a new smtp protocol class.
git-svn-id: svn://10.0.0.236/trunk@19948 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-07 01:48:57 +00:00
mscott%netscape.com
2800b91dc1 Implementation of nsISmtpUrl.
git-svn-id: svn://10.0.0.236/trunk@19947 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-07 01:48:11 +00:00
mscott%netscape.com
5f581cabad First pass at an SmtpUrl interface...still need to add acessors for post data....
git-svn-id: svn://10.0.0.236/trunk@19946 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-07 01:46:20 +00:00
mscott%netscape.com
33c5a1f11e Include "msgCore.h" at the top of the source file to utilize pre-compiled headers...
git-svn-id: svn://10.0.0.236/trunk@19945 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-07 01:19:48 +00:00
mscott%netscape.com
f10ef42ade Include "msgCore.h" as the first file in every source file to utilize precompiled headers...
git-svn-id: svn://10.0.0.236/trunk@19944 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-07 01:16:26 +00:00
mscott%netscape.com
acee8de036 Include msgCore.h as first include file for use as a precompiled header...
git-svn-id: svn://10.0.0.236/trunk@19943 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-07 01:11:39 +00:00
mcafee%netscape.com
ee6caf9c4b Adding tests to match Win32
git-svn-id: svn://10.0.0.236/trunk@19942 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-07 00:54:52 +00:00
mcafee%netscape.com
be7d2cb72a Brief comment about fullcircle
git-svn-id: svn://10.0.0.236/trunk@19941 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-07 00:40:41 +00:00
mcafee%netscape.com
d9884cfb5d Adding tests to build to match Win32
git-svn-id: svn://10.0.0.236/trunk@19940 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-07 00:20:29 +00:00
mcafee%netscape.com
f05142f51e fe_GetConfigDir() is stubbed out in prefs now
git-svn-id: svn://10.0.0.236/trunk@19939 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-07 00:17:55 +00:00
dp%netscape.com
c8ec2db41a library no longer a member of FactoryEntry. Removed windows specific code for operating on windows registry.
git-svn-id: svn://10.0.0.236/trunk@19938 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-06 23:45:19 +00:00
dp%netscape.com
461f88eff7 Beauty is the essence of life
git-svn-id: svn://10.0.0.236/trunk@19937 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-06 23:23:58 +00:00
dp%netscape.com
65123fba41 PRTime is 64 bit. Cant use ==. Using LL_EQ macro.
git-svn-id: svn://10.0.0.236/trunk@19936 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-06 21:24:52 +00:00
dp%netscape.com
fd364b15d8 satisfy mac compiler
git-svn-id: svn://10.0.0.236/trunk@19935 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-06 21:19:11 +00:00
dp%netscape.com
b27aa3660d Fixing ptr==int comparisons to satify linux compilers
git-svn-id: svn://10.0.0.236/trunk@19934 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-06 20:53:42 +00:00
dp%netscape.com
ae5ca54d8e Auto registration of xpcom components
git-svn-id: svn://10.0.0.236/trunk@19933 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-06 20:43:10 +00:00
dp%netscape.com
e32442b816 Auto registration of xpcom components.
git-svn-id: svn://10.0.0.236/trunk@19932 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-06 20:39:40 +00:00
dp%netscape.com
0f4ca4981d Fixing warnings on order of default initialization
git-svn-id: svn://10.0.0.236/trunk@19931 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-06 20:27:16 +00:00
dp%netscape.com
098fef3119 Adding default pathlist
git-svn-id: svn://10.0.0.236/trunk@19930 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-06 20:26:15 +00:00
pavlov%pavlov.net
af90d9f892 file widget works for the most part
git-svn-id: svn://10.0.0.236/trunk@19929 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-06 19:38:30 +00:00
pavlov%pavlov.net
9bda7493f4 remove the nsWidget * cast on the nsFileWidget
git-svn-id: svn://10.0.0.236/trunk@19928 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-06 19:22:25 +00:00
pavlov%pavlov.net
794ecdd8fe file selector work. almost working.
git-svn-id: svn://10.0.0.236/trunk@19927 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-06 19:21:33 +00:00
wtc%netscape.com
c8fd58e07d Fixed compilation problems on AIX 4.3. Test the macro SF_CLOSE to
determine whether an AIX revision has send_file().  Thanks to
Waqar Malik <waqar@netscape.com> for the bug report and fix.


git-svn-id: svn://10.0.0.236/trunk@19926 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-06 17:30:50 +00:00
wtc%netscape.com
decc73730c Added struct declarations to eliminate compiler warnings from
<arpa/inet.h> on AIX 4.3.  Thanks to Waqar Malik <waqar@netscpe.com>
for the bug report.


git-svn-id: svn://10.0.0.236/trunk@19925 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-06 17:25:17 +00:00
troy%netscape.com
fae2e7b855 Fixed ContentRemoved() to also remove the shell's mapping from absolutely
positioned element to its placeholder


git-svn-id: svn://10.0.0.236/trunk@19924 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-06 17:10:42 +00:00
mcafee%netscape.com
eccd9eace8 Adding tests to match Win32
git-svn-id: svn://10.0.0.236/trunk@19923 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-06 11:50:14 +00:00
mcafee%netscape.com
6f5c751027 Adding TestID.cpp, removing unused rules, more portable link line
git-svn-id: svn://10.0.0.236/trunk@19922 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-06 08:19:16 +00:00
mcafee%netscape.com
adda7082d8 Adding purify cruft to GARBAGE rule.
git-svn-id: svn://10.0.0.236/trunk@19921 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-06 06:37:35 +00:00
rods%netscape.com
2e186fb37f fixed error checking for command creation.
git-svn-id: svn://10.0.0.236/trunk@19920 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-06 06:09:53 +00:00
troy%netscape.com
07105200e3 Fixed a bad #ifdef
git-svn-id: svn://10.0.0.236/trunk@19919 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-06 04:26:30 +00:00
troy%netscape.com
3e41dda406 Cleaned the code up a bit
git-svn-id: svn://10.0.0.236/trunk@19918 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-06 04:24:47 +00:00
warren%netscape.com
fd25983668 Added assertion
git-svn-id: svn://10.0.0.236/trunk@19917 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-06 04:22:43 +00:00
warren%netscape.com
2090593d55 Added strtok implementation.
git-svn-id: svn://10.0.0.236/trunk@19916 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-06 04:18:15 +00:00
warren%netscape.com
9890008f83 Fixed unsigned problems.
git-svn-id: svn://10.0.0.236/trunk@19915 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-06 04:02:02 +00:00
warren%netscape.com
432b43d3c3 Added nsVoidKey and nsISupportsKey.
git-svn-id: svn://10.0.0.236/trunk@19914 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-06 04:01:23 +00:00
warren%netscape.com
be8fdbef0a Fixed unsigned problems.
git-svn-id: svn://10.0.0.236/trunk@19913 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-06 03:56:36 +00:00
warren%netscape.com
d37dfeba8b Added strncmp, made lengths be unsigned.
git-svn-id: svn://10.0.0.236/trunk@19912 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-06 03:56:17 +00:00
troy%netscape.com
960b794184 Created ConstructAlternateImageFrame() function from some existing code,
and changed it to use the "src" attribute if there is no "alt" or "title"
values to use


git-svn-id: svn://10.0.0.236/trunk@19911 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-06 03:45:11 +00:00
troy%netscape.com
4a04416d1c #ifdef CantRenderReplacedElement() to be _WIN32 for the time being until
the Mac problems with the thread event queue are straightened out


git-svn-id: svn://10.0.0.236/trunk@19910 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-06 03:41:14 +00:00
pavlov%pavlov.net
ff73238817 remove some unused code
git-svn-id: svn://10.0.0.236/trunk@19909 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-06 03:40:50 +00:00
pavlov%pavlov.net
3575e43cac -Wall cleanups
git-svn-id: svn://10.0.0.236/trunk@19908 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-06 03:39:24 +00:00
alecf%netscape.com
96524babfc minor fixes to make unix keep building
git-svn-id: svn://10.0.0.236/trunk@19907 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-06 03:37:12 +00:00
mscott%netscape.com
f5436a0d35 Remove db from list of directories being built on Linux. If we add this back,
we need to modify configure.in and add mailnews/db to its list of directories. I'm not
sure if db builds on linux yet. I'll add it back if it does...


git-svn-id: svn://10.0.0.236/trunk@19906 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-06 03:30:46 +00:00
waldemar%netscape.com
7e4a822ff3 File Removed.
git-svn-id: svn://10.0.0.236/trunk@19905 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-06 03:25:19 +00:00
waldemar%netscape.com
30665c837b First Checked In.
git-svn-id: svn://10.0.0.236/trunk@19904 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-06 03:21:09 +00:00
waldemar%netscape.com
a6e63c58b6 Removed spaces from file names
git-svn-id: svn://10.0.0.236/trunk@19903 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-06 03:20:35 +00:00
alecf%netscape.com
c8ab09f607 update to new NSPR types & utility routines
git-svn-id: svn://10.0.0.236/trunk@19902 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-06 02:55:39 +00:00
alecf%netscape.com
ca69d7706b *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@19901 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-06 02:54:46 +00:00
alecf%netscape.com
707faa1da0 add .cvsignore files
git-svn-id: svn://10.0.0.236/trunk@19900 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-06 02:49:32 +00:00
alecf%netscape.com
27adb1a3dd use new NSPR types
git-svn-id: svn://10.0.0.236/trunk@19899 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-06 02:49:08 +00:00
warren%netscape.com
5146b63c51 How did this ever compile?
git-svn-id: svn://10.0.0.236/trunk@19898 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-06 02:15:47 +00:00
warren%netscape.com
99ec85dde6 More cleanup of XPPtrArray. Factored nsMsgFolder, adding nsMsgLocalMailFolder.
git-svn-id: svn://10.0.0.236/trunk@19897 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-06 02:11:54 +00:00
joki%netscape.com
3ef9d11dac Checking in null check and assertion to handle the crashing on imagemap part of the Mac regression.
git-svn-id: svn://10.0.0.236/trunk@19896 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-06 02:07:49 +00:00
mscott%netscape.com
1a79a31591 fixed build problem; m_fileCounter undefined
git-svn-id: svn://10.0.0.236/trunk@19895 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-06 02:04:41 +00:00
robinf%netscape.com
6444d665e0 text changes based on ISP feedback on user interface
git-svn-id: svn://10.0.0.236/trunk@19894 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-06 02:01:01 +00:00
despotdaemon%netscape.com
d93105b689 Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@19893 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-06 01:53:00 +00:00
jefft%netscape.com
619c557bb8 fixed linux build problem
git-svn-id: svn://10.0.0.236/trunk@19892 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-06 01:33:37 +00:00
mscott%netscape.com
5384d38dfb Remove nsMsgRDFFolder.cpp
git-svn-id: svn://10.0.0.236/trunk@19891 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-06 01:05:02 +00:00
mscott%netscape.com
0a23f60a70 Removing from the build...
git-svn-id: svn://10.0.0.236/trunk@19890 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-06 01:01:50 +00:00
putterman%netscape.com
1acdae2e33 Makes Folder Data Source work with new nsIMsgFolder.
git-svn-id: svn://10.0.0.236/trunk@19889 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-06 00:37:40 +00:00
putterman%netscape.com
2e6b068ca6 Makes Folder Data Source work with new nsIMsgFolder.
git-svn-id: svn://10.0.0.236/trunk@19888 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-06 00:30:44 +00:00
akkana%netscape.com
1035a9e102 Temporarily turn off menus until gtk code gets fixed; Approved by sar
git-svn-id: svn://10.0.0.236/trunk@19887 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 23:22:05 +00:00
morse%netscape.com
2fce3738a3 config.mak
git-svn-id: svn://10.0.0.236/trunk@19886 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 22:59:02 +00:00
nhotta%netscape.com
78ef4bb1e9 Added Japanese (Shift_JIS) specific support.
git-svn-id: svn://10.0.0.236/trunk@19885 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 22:51:38 +00:00
briano%netscape.com
790d1b5169 Automated update
git-svn-id: svn://10.0.0.236/trunk@19884 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 22:45:42 +00:00
jefft%netscape.com
357c97f16c added mailnews/local/tests/Makefile
git-svn-id: svn://10.0.0.236/trunk@19883 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 22:32:48 +00:00
dougt%netscape.com
dabf25f006 removing char* errormsgs and now using err code return values.
added FinishInstall().


git-svn-id: svn://10.0.0.236/trunk@19882 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 22:27:08 +00:00
dougt%netscape.com
f83ebd9b11 Removing char* errormsg. and replacing it with a error code return
value.


git-svn-id: svn://10.0.0.236/trunk@19881 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 22:25:35 +00:00
kmcclusk%netscape.com
cb1e2e6d1b undefined NS_GFX_RENDER_FORM_ELEMENTS
git-svn-id: svn://10.0.0.236/trunk@19880 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 22:22:40 +00:00
kmcclusk%netscape.com
f33772358f Added INPUT[type=checkbox] rule + properties to ua.css to set style info
for gfx-rendered checkboxes.


git-svn-id: svn://10.0.0.236/trunk@19879 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 22:19:52 +00:00
kmcclusk%netscape.com
703c2a790c Adjusted checkbox gfx-rendering code to make better looking checkboxes
Created nsFormControlHelper::GetBool and nsFormControlHelper::GetBoolString
utility methods for converting strings into booleans and vice versa.
Modified nsCheckboxControlFrame, nsRadioControlFrame, and nsSelectControlFrame
to use these helpers.


git-svn-id: svn://10.0.0.236/trunk@19878 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 22:15:35 +00:00
nhotta%netscape.com
e3095ab052 Collation key implementation for Macintosh.
git-svn-id: svn://10.0.0.236/trunk@19877 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 22:10:39 +00:00
morse%netscape.com
235d8d73b9 removed single-signon dependency on lo_ele.h and MWContext
git-svn-id: svn://10.0.0.236/trunk@19876 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 22:05:59 +00:00
morse%netscape.com
b1d1113f0c removed dependency on lo_ele.h and MWContext
git-svn-id: svn://10.0.0.236/trunk@19875 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 22:02:04 +00:00
bienvenu%netscape.com
5dd3e36558 use correct db class, nsMsgKeyArray, and PRBool
git-svn-id: svn://10.0.0.236/trunk@19874 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 21:15:18 +00:00
erik%netscape.com
5bbb86970a Switched nsIStringBundle to service manager model. Cleaner now.
git-svn-id: svn://10.0.0.236/trunk@19873 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 21:11:25 +00:00
erik%netscape.com
e8c30ece41 Changed over to the service model. Seems cleaner now.
git-svn-id: svn://10.0.0.236/trunk@19872 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 21:10:04 +00:00
erik%netscape.com
6c9f7e2e5a Moved nsPropertiesFactory constructor from .h to .cpp file
git-svn-id: svn://10.0.0.236/trunk@19871 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 21:06:07 +00:00
alecf%netscape.com
61b2630cc5 fix unix mail/news Makefiles to actually build correctly
git-svn-id: svn://10.0.0.236/trunk@19870 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 20:15:54 +00:00
vidur%netscape.com
f9ff75cbe9 id and class changing tests
git-svn-id: svn://10.0.0.236/trunk@19869 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 19:56:29 +00:00
vidur%netscape.com
37fc0ea58e Hooked up style hint for id, class and dir
git-svn-id: svn://10.0.0.236/trunk@19868 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 19:55:56 +00:00
kmcclusk%netscape.com
0a666c164e Disabled gfx-rendering of form controls.
git-svn-id: svn://10.0.0.236/trunk@19867 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 19:51:27 +00:00
kmcclusk%netscape.com
6a11fc957f Added code to gfx-render checkboxes using CSS style.
Removed commented out code in nsFormControlFrame and nsFormControlHelper


git-svn-id: svn://10.0.0.236/trunk@19866 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 19:48:18 +00:00
pinkerton%netscape.com
1ae4f4ea6d Fixing bustage.
git-svn-id: svn://10.0.0.236/trunk@19865 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 19:38:09 +00:00
despotdaemon%netscape.com
9b655989a1 Pseudo-automatic update of changes made by cyeh@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@19864 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 18:56:23 +00:00
pavlov%pavlov.net
673efb8f58 fix invalidate async problem that michaelp reported.
git-svn-id: svn://10.0.0.236/trunk@19863 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 18:54:43 +00:00
mscott%netscape.com
207d783b47 change You have got mail! ==> Ya'll got mail!
git-svn-id: svn://10.0.0.236/trunk@19862 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 18:53:33 +00:00
dp%netscape.com
6641553dc3 Fixed mRefCnt not being initialized
git-svn-id: svn://10.0.0.236/trunk@19861 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 18:50:08 +00:00
troy%netscape.com
155dd50f2c Added CantRenderReplacedElement() to nsIPresShell and changed the image frame
code to use it


git-svn-id: svn://10.0.0.236/trunk@19860 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 18:25:29 +00:00
troy%netscape.com
c54078e092 Changed CantRenderReplacedElement() to use the value of the TITLE attribute
if there's no "alt" text specified


git-svn-id: svn://10.0.0.236/trunk@19859 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 18:24:48 +00:00
pinkerton%netscape.com
4a13e77213 Fixed DOM and Netlib dependency for saari.
git-svn-id: svn://10.0.0.236/trunk@19858 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 17:34:20 +00:00
jefft%netscape.com
e0764fbe5f check valid return pointer from strtok()
git-svn-id: svn://10.0.0.236/trunk@19856 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 16:27:26 +00:00
saari%netscape.com
f3262603cb added network and netlib
git-svn-id: svn://10.0.0.236/trunk@19855 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 15:45:51 +00:00
saari%netscape.com
3329ac2c69 added DOM dependence
git-svn-id: svn://10.0.0.236/trunk@19854 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 15:01:33 +00:00
saari%netscape.com
37debbfead added netlib back
I don't know which is right, network or netlib


git-svn-id: svn://10.0.0.236/trunk@19853 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 14:34:44 +00:00
saari%netscape.com
0ef5cf2e12 added netlib back to LINCS
I don't know which is right, network or netlib


git-svn-id: svn://10.0.0.236/trunk@19852 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 14:10:59 +00:00
saari%netscape.com
600a352270 changed requires netlib to network
git-svn-id: svn://10.0.0.236/trunk@19851 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 13:58:45 +00:00
saari%netscape.com
be13e2553b trying to fix syntax error
git-svn-id: svn://10.0.0.236/trunk@19850 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 12:32:04 +00:00
saari%netscape.com
0b1b289d13 trying to fix syntax error
git-svn-id: svn://10.0.0.236/trunk@19849 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 11:45:38 +00:00
saari%netscape.com
4db6bc8ecf add netlib dependency
git-svn-id: svn://10.0.0.236/trunk@19848 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 10:54:29 +00:00
saari%netscape.com
43cbebaa93 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@19847 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 10:31:54 +00:00
saari%netscape.com
f94727893d File Removed.
git-svn-id: svn://10.0.0.236/trunk@19846 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 09:38:51 +00:00
saari%netscape.com
97decb4428 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@19845 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 09:38:16 +00:00
mcafee%netscape.com
d5f5758b23 Moving to mozilla/widget. -- saari
git-svn-id: svn://10.0.0.236/trunk@19844 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 09:02:03 +00:00
mcafee%netscape.com
d18af846d8 moving to mozilla/widget -- saari
git-svn-id: svn://10.0.0.236/trunk@19843 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 09:01:06 +00:00
saari%netscape.com
08cd384dd1 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@19842 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 08:52:55 +00:00
saari%netscape.com
d4910aea39 moving nsIXULCommand.h, nsXULCommand.h, and nsXULCommand.cpp to widget dll from appshell
git-svn-id: svn://10.0.0.236/trunk@19841 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 08:52:39 +00:00
pavlov%pavlov.net
4d14b4476f ...menus...
git-svn-id: svn://10.0.0.236/trunk@19840 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 08:17:42 +00:00
pavlov%pavlov.net
8e9391d518 more menu stuff
git-svn-id: svn://10.0.0.236/trunk@19839 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 08:15:36 +00:00
pavlov%pavlov.net
940daaaf96 make menus work with new menu code
git-svn-id: svn://10.0.0.236/trunk@19838 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 08:13:36 +00:00
pavlov%pavlov.net
926a21f7f7 and they said, "let there be toolbars"
git-svn-id: svn://10.0.0.236/trunk@19837 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 08:10:08 +00:00
alecf%netscape.com
f68df94d2d add newlines at the end of these files
(to play nice with some compilers)


git-svn-id: svn://10.0.0.236/trunk@19836 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 08:04:27 +00:00
beard%netscape.com
effd6d2e42 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@19835 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 07:58:30 +00:00
alecf%netscape.com
bc7c2b9b7f update test app to use new posting
git-svn-id: svn://10.0.0.236/trunk@19834 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 07:50:57 +00:00
alecf%netscape.com
47264dd52f add support for posting messages
Not complete - the nsINNTPNewsgroupPost is not completely finished (it doesn't assemble the message)


git-svn-id: svn://10.0.0.236/trunk@19833 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 07:50:40 +00:00
alecf%netscape.com
a63820f27d finish implementing nsINNTPNewsgroupPost, and fix factory function
git-svn-id: svn://10.0.0.236/trunk@19832 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 07:49:28 +00:00
jefft%netscape.com
05bc18c52a minor clean up
git-svn-id: svn://10.0.0.236/trunk@19831 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 07:34:45 +00:00
jefft%netscape.com
c00e82384c comment out NS_ASSERTION in SetHostPort(); this is a temporary fix
git-svn-id: svn://10.0.0.236/trunk@19830 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 07:21:06 +00:00
jefft%netscape.com
b0360066ce fixed infinit loop problem if popstate.dat does not exist
git-svn-id: svn://10.0.0.236/trunk@19829 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 07:11:30 +00:00
warren%netscape.com
fd9de297e7 Ported XPPtrArray (and MSG_FolderArray) to use nsVoidArray and nsISupportsArray.
git-svn-id: svn://10.0.0.236/trunk@19828 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 07:02:51 +00:00
wtc%netscape.com
eb5213b27e Implemented file descriptor inheritance for NT.
Modified files: _winnt.h, prfile.c, prio.c, prsocket.c, ntio.c,
w32poll.c, and prinit.c.


git-svn-id: svn://10.0.0.236/trunk@19827 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 06:45:06 +00:00
alecf%netscape.com
a2c3ea44b6 first shot implementation of nsNNTPNewsgroupPost
git-svn-id: svn://10.0.0.236/trunk@19826 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 06:12:44 +00:00
jband%netscape.com
6a4a932864 NOT YET PART OF SEAMONKEY - removed bogus wrappers, turned runtime methods into wrapper methods, added special interface for wrappedjs methods, fixed spelling, changed return types from nsresult to NS_IMETHODIMP, trimmed extra space (just to pad the difs :)
git-svn-id: svn://10.0.0.236/trunk@19825 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 06:08:09 +00:00
dp%netscape.com
f12ac43387 Fixing mRefCnt not being initialized for nsPropertiesFactory
git-svn-id: svn://10.0.0.236/trunk@19824 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 06:05:51 +00:00
troy%netscape.com
a59b46020d Made sure computedOffsets is initialized to all zeros for the root frame
git-svn-id: svn://10.0.0.236/trunk@19823 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 05:51:12 +00:00
alecf%netscape.com
524c734e45 minor warnings cleanup
git-svn-id: svn://10.0.0.236/trunk@19822 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 05:43:53 +00:00
alecf%netscape.com
749e23241c new NewsgroupPost interface
git-svn-id: svn://10.0.0.236/trunk@19821 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 05:43:21 +00:00
alecf%netscape.com
7ab45e8daf minor warnings fixes
git-svn-id: svn://10.0.0.236/trunk@19820 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 05:42:27 +00:00
alecf%netscape.com
e83ea7fda9 fix slight typo in macro
git-svn-id: svn://10.0.0.236/trunk@19819 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 05:33:53 +00:00
alecf%netscape.com
d16efc8370 minor warnings fixes
git-svn-id: svn://10.0.0.236/trunk@19818 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 05:25:55 +00:00
racham%netscape.com
0e7d8e3aa7 Added code to convert forward slash to back slash in program arguments
git-svn-id: svn://10.0.0.236/trunk@19817 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 04:05:43 +00:00
racham%netscape.com
b85c0d84be Readme file for CCK Wizard application
git-svn-id: svn://10.0.0.236/trunk@19816 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 04:03:22 +00:00
peterl%netscape.com
79c749bdc4 added assertion for switching style contexts during reflow
git-svn-id: svn://10.0.0.236/trunk@19815 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 03:58:27 +00:00
peterl%netscape.com
7a173709f0 moved frame construction code to its own class
git-svn-id: svn://10.0.0.236/trunk@19814 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 03:57:49 +00:00
peterl%netscape.com
9839e83089 added files: mozilla/layout/html/style/src/nsCSSFrameConstructor.cpp
git-svn-id: svn://10.0.0.236/trunk@19813 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 03:56:41 +00:00
peterl%netscape.com
f64a7d8528 added include & class definitions to make include safe
git-svn-id: svn://10.0.0.236/trunk@19812 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 03:55:55 +00:00
peterl%netscape.com
ce44fc9536 moved frame construction code from HTML style sheet
git-svn-id: svn://10.0.0.236/trunk@19811 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 03:55:18 +00:00
talisman%anamorphic.com
316974af35 Got addressbook building without errors, but it still needs alot of work to be fully functional.
git-svn-id: svn://10.0.0.236/trunk@19810 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 03:46:34 +00:00
talisman%anamorphic.com
0a2523b2dd Added checking for OS name to determine where to create the mail directory and folders.
git-svn-id: svn://10.0.0.236/trunk@19809 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 03:45:34 +00:00
racham%netscape.com
e3787c4fad Modified browsedir to browsefile
git-svn-id: svn://10.0.0.236/trunk@19808 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 03:22:50 +00:00
saari%netscape.com
95ede7bfcf and this should fix linux....
git-svn-id: svn://10.0.0.236/trunk@19807 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 03:09:42 +00:00
saari%netscape.com
df991e65d8 fixing the right makefile this time
git-svn-id: svn://10.0.0.236/trunk@19806 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 03:09:07 +00:00
warren%netscape.com
ab0e727795 Added nsIMsg and nsMsg impl. Changed counts to be unsigned.
git-svn-id: svn://10.0.0.236/trunk@19805 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 03:08:00 +00:00
saari%netscape.com
f51ad105fd oops, changed wrong file
git-svn-id: svn://10.0.0.236/trunk@19804 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 03:07:42 +00:00
saari%netscape.com
84d3ab5fed fixed horkage, exporting nsIXULCommand.h
git-svn-id: svn://10.0.0.236/trunk@19803 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 03:06:08 +00:00
bienvenu%netscape.com
b8ea1126db add a couple msg db error codes
git-svn-id: svn://10.0.0.236/trunk@19802 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 03:03:50 +00:00
bienvenu%netscape.com
e3f81512df start hooking up header deletion
git-svn-id: svn://10.0.0.236/trunk@19801 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 03:03:10 +00:00
mscott%netscape.com
487a77d691 Ref count the event sink after we create it....
git-svn-id: svn://10.0.0.236/trunk@19800 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 02:57:19 +00:00
mscott%netscape.com
acd55b7659 Initialize pop3 sink's ref count value...
git-svn-id: svn://10.0.0.236/trunk@19799 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 02:56:40 +00:00
bienvenu%netscape.com
899eba5aeb call the class nsNewsSet for now
git-svn-id: svn://10.0.0.236/trunk@19798 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 02:43:16 +00:00
bienvenu%netscape.com
d0ba8eb254 add news rc handling class
git-svn-id: svn://10.0.0.236/trunk@19797 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 02:32:41 +00:00
saari%netscape.com
3bd3d1f844 merged changes with gtk version that changed under me
git-svn-id: svn://10.0.0.236/trunk@19796 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 02:31:02 +00:00
saari%netscape.com
be65de08fd Merged new changes with the gtk version that changed under me
git-svn-id: svn://10.0.0.236/trunk@19795 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 02:30:30 +00:00
saari%netscape.com
7b70d92069 mozilla/widget/src/xpwidgets/nsBaseWidget.cpp
- included "nsIMenuListener.h"
- destructor releases mMenuListener
- AddMenuListener Releases a previously held nsMenuListener (nsMenuBar) before AddRefing the passed in one

mozilla/widget/public/nsIMenuItem.h
- included "nsIXULCommand.h"
- added SetXULCommand(nsIXULCommand*) which sets the XUL command for the menu item

mozilla/widget/src/mac/nsMenuItem.cpp
mozilla/widget/src/gtk/nsMenuItem.cpp
mozilla/widget/src/motif/nsMenuItem.cpp
mozilla/widget/src/windows/nsMenuItem.cpp
- QueryInterface supports nsIMenuListener interface.
- MenuSelected calls DoCommand on XULCommand (mac only right now)
- Added SetXULCommand() to set the nsXULCommand for this menuitem

mozilla/widget/src/mac/nsMenuItem.h
mozilla/widget/src/gtk/nsMenuItem.h
mozilla/widget/src/motif/nsMenuItem.h
mozilla/widget/src/windows/nsMenuItem.h
- nsMenuItem inherits from nsIMenuListener
- Added SetXULCommand() method


git-svn-id: svn://10.0.0.236/trunk@19794 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 02:19:46 +00:00
saari%netscape.com
7f477fb28c First Checked In.
git-svn-id: svn://10.0.0.236/trunk@19793 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 02:17:40 +00:00
putterman%netscape.com
09741f04db nsMsgFolder is a resource again.
git-svn-id: svn://10.0.0.236/trunk@19792 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 01:58:36 +00:00
troy%netscape.com
1879dde6a2 Removed #include of header files that weren't actually needed
git-svn-id: svn://10.0.0.236/trunk@19791 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 01:54:58 +00:00
racham%netscape.com
d122428a22 adding Nlogo to list of images
git-svn-id: svn://10.0.0.236/trunk@19790 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 01:40:17 +00:00
alecf%netscape.com
dc7ba35e40 Update macros to include string type, and add documentation/example
git-svn-id: svn://10.0.0.236/trunk@19789 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 01:39:12 +00:00
jefft%netscape.com
3978244fb9 calling nsITransport->Open() instead of nsITransport->LoadURL()
git-svn-id: svn://10.0.0.236/trunk@19788 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 01:36:24 +00:00
racham%netscape.com
2b8a08c9b5 Adding license statement to the folder
git-svn-id: svn://10.0.0.236/trunk@19787 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 01:31:29 +00:00
warren%netscape.com
b3e0416c95 Added nsRDFResource -- basic resource implementation to subclass.
git-svn-id: svn://10.0.0.236/trunk@19786 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 01:29:27 +00:00
warren%netscape.com
56d2ac6876 Fixed return type.
git-svn-id: svn://10.0.0.236/trunk@19785 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 01:27:59 +00:00
racham%netscape.com
f58ecefe9c Removing Netscape logo
git-svn-id: svn://10.0.0.236/trunk@19784 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 01:23:34 +00:00
mscott%netscape.com
083638a290 When interrupting a url, query for the nsINetlibURL interface and not the nsIProtocolConnection interface. The http url only supports the first interface and not the later. Both interfaces have the same method though...we could probably scrap nsIProtocolConnection....
git-svn-id: svn://10.0.0.236/trunk@19783 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 01:12:41 +00:00
racham%netscape.com
945421d42b Resolved path issues
git-svn-id: svn://10.0.0.236/trunk@19782 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 01:02:27 +00:00
mscott%netscape.com
e6ec89614f Use new open call on the transport instead of LoadUrl....
git-svn-id: svn://10.0.0.236/trunk@19781 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 00:51:28 +00:00
nhotta%netscape.com
9aa1113404 Added uconv for the include path.
git-svn-id: svn://10.0.0.236/trunk@19780 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 00:36:45 +00:00
waterson%netscape.com
dcf2c6f2e5 Never used.
git-svn-id: svn://10.0.0.236/trunk@19779 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 00:30:09 +00:00
pinkerton%netscape.com
60b3be1f25 make dstr virtual because it has virtual methods.
git-svn-id: svn://10.0.0.236/trunk@19778 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 00:27:48 +00:00
pinkerton%netscape.com
00718839e9 make dstr virtual because the classes have virtual methods.
git-svn-id: svn://10.0.0.236/trunk@19777 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 00:24:57 +00:00
dougt%netscape.com
56c4488d91 makefile.win - first checkin
git-svn-id: svn://10.0.0.236/trunk@19776 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 00:24:34 +00:00
pinkerton%netscape.com
01482d75cd changes to factory stuff, which is all #ifdef'd out right now.
git-svn-id: svn://10.0.0.236/trunk@19775 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 00:18:47 +00:00
dougt%netscape.com
12f4dc268d First checkin of xpinstall into seamonkey
git-svn-id: svn://10.0.0.236/trunk@19774 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 00:15:30 +00:00
dougt%netscape.com
4976522161 First checkin of our IDLs (these are for the idlc in dom/tools)
git-svn-id: svn://10.0.0.236/trunk@19773 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 00:13:34 +00:00
slamm%netscape.com
597f34602d Add a comment.
git-svn-id: svn://10.0.0.236/trunk@19772 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 00:12:51 +00:00
dougt%netscape.com
b51b0d7c27 First checkin of our interface and IIDs
git-svn-id: svn://10.0.0.236/trunk@19771 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 00:12:29 +00:00
slamm%netscape.com
9f17430e7d Use MOZ_ prefix for new autoconf macros.
git-svn-id: svn://10.0.0.236/trunk@19770 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 00:10:25 +00:00
dougt%netscape.com
880faef485 First checkin of our glorious makefile for windows
git-svn-id: svn://10.0.0.236/trunk@19769 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 00:09:47 +00:00
pinkerton%netscape.com
1951c45fdc Adding nsThrobberGlue.cpp to build.
git-svn-id: svn://10.0.0.236/trunk@19768 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 00:08:47 +00:00
mscott%netscape.com
4da4d679ba Get rid of m_isSocketOpen variable. Rely on new transport Open method to determine if
the transport needs opened. Release some more interfaces when we go away...


git-svn-id: svn://10.0.0.236/trunk@19767 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 23:52:04 +00:00
mscott%netscape.com
d24bd9dd79 open transport functionality.
git-svn-id: svn://10.0.0.236/trunk@19766 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 23:51:02 +00:00
mscott%netscape.com
1f71ff8d50 support the open inteface. Add ability to close a socket without closing the transport.
cleaned up the destructor to release some interfaces it wasn't releasing before..


git-svn-id: svn://10.0.0.236/trunk@19765 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 23:50:37 +00:00
pinkerton%netscape.com
ab292e4f1f Add GUID's for throbber glue and factory.
git-svn-id: svn://10.0.0.236/trunk@19764 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 23:38:20 +00:00
amusil%netscape.com
412eeea36e Fixed bugs with the stream as file implementation.
git-svn-id: svn://10.0.0.236/trunk@19763 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 23:37:20 +00:00
vidur%netscape.com
88bfa91fc7 implemented nsHTMLDocument::GetElementsByName
git-svn-id: svn://10.0.0.236/trunk@19762 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 23:23:07 +00:00
nhotta%netscape.com
ee73733d3d Changed to use strxfrm for a key generation.
git-svn-id: svn://10.0.0.236/trunk@19761 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 23:23:04 +00:00
nhotta%netscape.com
b14fdd35be Moved NS_IMPL_IDS define to XP code.
git-svn-id: svn://10.0.0.236/trunk@19760 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 23:20:55 +00:00
waterson%netscape.com
8d39c56892 Fixed comments that were referring to monitors.
git-svn-id: svn://10.0.0.236/trunk@19759 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 23:20:30 +00:00
nhotta%netscape.com
f6e2a8018e Added UnicodeToChar to nsCollation class.
git-svn-id: svn://10.0.0.236/trunk@19758 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 23:17:37 +00:00
slamm%netscape.com
b4619d97c0 Fix a typo.
git-svn-id: svn://10.0.0.236/trunk@19757 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 23:14:56 +00:00
pinkerton%netscape.com
5e9608e856 adding nsThrobberGlue.cpp
git-svn-id: svn://10.0.0.236/trunk@19756 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 23:12:41 +00:00
pinkerton%netscape.com
805c0c11fe add nsThrobberGlue.cpp
git-svn-id: svn://10.0.0.236/trunk@19755 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 23:12:24 +00:00
harishd%netscape.com
4e8378e763 Made HR tags more stylable
git-svn-id: svn://10.0.0.236/trunk@19754 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 23:10:21 +00:00
pinkerton%netscape.com
30c6b13d46 Fix linkage on win32
git-svn-id: svn://10.0.0.236/trunk@19753 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 23:08:54 +00:00
harishd%netscape.com
bf5c14847f Added property "border: 1px -moz-bg-inset"
to HR


git-svn-id: svn://10.0.0.236/trunk@19752 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 23:08:39 +00:00
slamm%netscape.com
c94584a65c Fix typo.
git-svn-id: svn://10.0.0.236/trunk@19751 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 23:07:51 +00:00
pavlov%pavlov.net
d255662ca7 Create() doesn't need to add the menu items anymore
git-svn-id: svn://10.0.0.236/trunk@19750 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 23:04:40 +00:00
mscott%netscape.com
085c38b8da Only replace m_userData in the prompt call if the user entered some legitimate data...otherwise we risk stepping on our default
value.


git-svn-id: svn://10.0.0.236/trunk@19749 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 23:04:07 +00:00
briano%netscape.com
62f6105055 Automated update
git-svn-id: svn://10.0.0.236/trunk@19748 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 23:00:43 +00:00
radha%netscape.com
48bf15ab91 Add xpfe/AppCores/xul/Makefile.in.
git-svn-id: svn://10.0.0.236/trunk@19747 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 22:59:26 +00:00
leaf%mozilla.org
f7228ec994 fixes MozillaControl.dll build (reports are that the code is broken, but i leave
that in someone else's hands)


git-svn-id: svn://10.0.0.236/trunk@19746 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 22:59:06 +00:00
pinkerton%netscape.com
0313ed9738 removed an obsolete comment and added some hints to rod for when he hooks things up.
git-svn-id: svn://10.0.0.236/trunk@19745 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 22:58:04 +00:00
cyeh%netscape.com
e9e59c0d21 there isn't an underscore in the FullCircle initialization call.
git-svn-id: svn://10.0.0.236/trunk@19744 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 22:57:13 +00:00
leaf%mozilla.org
b009dc03b9 changing test for NULL in EXPORTS list, some installations of nt barf on defined($NULL)
git-svn-id: svn://10.0.0.236/trunk@19743 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 22:56:58 +00:00
pinkerton%netscape.com
721630353d First Checked In.
git-svn-id: svn://10.0.0.236/trunk@19742 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 22:55:45 +00:00
racham%netscape.com
82e2a967df Modified editor field name.
git-svn-id: svn://10.0.0.236/trunk@19741 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 22:53:15 +00:00
slamm%netscape.com
478c828145 Add support for file-based options, 'myconfig.sh'.
git-svn-id: svn://10.0.0.236/trunk@19740 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 22:52:56 +00:00
jefft%netscape.com
017f957fd9 initial coding
git-svn-id: svn://10.0.0.236/trunk@19739 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 22:42:01 +00:00
jefft%netscape.com
47f15d590e Initial coding
git-svn-id: svn://10.0.0.236/trunk@19738 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 22:41:24 +00:00
jefft%netscape.com
e91f284c07 added Pop3 protocol implementation
git-svn-id: svn://10.0.0.236/trunk@19737 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 22:29:33 +00:00
jefft%netscape.com
1e09258230 added nsIPop3Sink.h & nsIPop3URL.h
git-svn-id: svn://10.0.0.236/trunk@19736 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 22:25:04 +00:00
jefft%netscape.com
13ab6269f3 added tests directory
git-svn-id: svn://10.0.0.236/trunk@19735 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 22:12:53 +00:00
mscott%netscape.com
9ccfea39c4 Remove dependency on mime.lib because we don't need it just yet...
git-svn-id: svn://10.0.0.236/trunk@19734 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 21:02:06 +00:00
terry%netscape.com
ec57ec873f Added descriptions for CCK components.
git-svn-id: svn://10.0.0.236/trunk@19733 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 20:53:44 +00:00
racham%netscape.com
84520b1e14 Removed demo dll dependency
git-svn-id: svn://10.0.0.236/trunk@19732 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 20:24:31 +00:00
jband%netscape.com
3dfae5bbcc fixed enum
git-svn-id: svn://10.0.0.236/trunk@19731 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 20:05:55 +00:00
mscott%netscape.com
66bab5f6e3 SetupUrl should return a value...this fixes build problem on windows...
git-svn-id: svn://10.0.0.236/trunk@19730 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 19:44:31 +00:00
terry%netscape.com
74ee817188 Added i18n and l10n descriptions.
git-svn-id: svn://10.0.0.236/trunk@19729 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 19:27:41 +00:00
mcmullen%netscape.com
4a957a219e Improved the readline() comment, as it was not quite clear.
git-svn-id: svn://10.0.0.236/trunk@19728 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 19:25:59 +00:00
peterl%netscape.com
5972d1e077 added -moz-bg-inset & -moz-bg-outset keywords
git-svn-id: svn://10.0.0.236/trunk@19727 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 19:18:01 +00:00
pavlov%pavlov.net
398c6180db redo the entire region handling in nsRenderingContext -- not quite finished
git-svn-id: svn://10.0.0.236/trunk@19726 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 19:17:40 +00:00
pinkerton%netscape.com
6ccfd64676 using clause doesn't work on linux. commenting out
git-svn-id: svn://10.0.0.236/trunk@19725 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 19:15:57 +00:00
radha%netscape.com
36f7e20539 dd xul to the dirs list
git-svn-id: svn://10.0.0.236/trunk@19724 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 19:08:56 +00:00
putterman%netscape.com
1da5e3d647 Make sure refcount for nsMsgMailFolder is correct.
git-svn-id: svn://10.0.0.236/trunk@19723 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 19:07:47 +00:00
radha%netscape.com
80eeefb723 Enable AppCores work in unix
git-svn-id: svn://10.0.0.236/trunk@19722 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 19:06:33 +00:00
vidur%netscape.com
0d1e317729 Missing init refcnt
git-svn-id: svn://10.0.0.236/trunk@19721 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 19:06:11 +00:00
radha%netscape.com
893cbad07f Initial checkin
git-svn-id: svn://10.0.0.236/trunk@19720 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 19:06:01 +00:00
pavlov%pavlov.net
643dadcdd9 fix big endian image stuff
git-svn-id: svn://10.0.0.236/trunk@19719 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 18:57:54 +00:00
pinkerton%netscape.com
5d5cae5864 modifying to use nsCOMPtr.
git-svn-id: svn://10.0.0.236/trunk@19718 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 18:40:43 +00:00
pollmann%netscape.com
1b75d96c5b Bug 1190: Typo.
git-svn-id: svn://10.0.0.236/trunk@19717 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 18:37:03 +00:00
pinkerton%netscape.com
abe537bdde fix warning about hiding inherited virtual function MoveTo
git-svn-id: svn://10.0.0.236/trunk@19716 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 18:30:20 +00:00
pinkerton%netscape.com
e6d847b909 add IID
git-svn-id: svn://10.0.0.236/trunk@19715 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 18:29:36 +00:00
cyeh%netscape.com
945bcf681b enabling FullCircle in the AppShell. Placed it in the Initialize() call.
There's some question if we could move this call earlier in the execution.


git-svn-id: svn://10.0.0.236/trunk@19714 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 18:17:02 +00:00
jband%netscape.com
b2fd1329a0 NOT YET PART OF SEAMONKEY - minimal tests of nsIXPCScriptable working
git-svn-id: svn://10.0.0.236/trunk@19713 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 18:15:08 +00:00
putterman%netscape.com
d2915d16d3 Added changes to use new RDF resource and nsIMsgMailFolder.
git-svn-id: svn://10.0.0.236/trunk@19712 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 17:57:06 +00:00
putterman%netscape.com
74d39bb1c3 Added RDF Resource for nsMsgFolder and added nsMsgMailFolder.
git-svn-id: svn://10.0.0.236/trunk@19711 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 17:56:08 +00:00
putterman%netscape.com
2b5363b7aa Added new RDF Resource for MsgFolder and added MailMsgFolder.
git-svn-id: svn://10.0.0.236/trunk@19710 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 17:54:04 +00:00
kin%netscape.com
11e411188f Made nsTransactionReleaseFunctor destructor virtual.
git-svn-id: svn://10.0.0.236/trunk@19709 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 17:40:35 +00:00
kin%netscape.com
ca24c529bd Modified Redo() method to allow for mTransaction being NULL.
git-svn-id: svn://10.0.0.236/trunk@19708 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 17:39:21 +00:00
kin%netscape.com
ad82769079 Fixed regression introduced by the renaming of nsDeque::Pop()
to nsDeque::PopFront().


git-svn-id: svn://10.0.0.236/trunk@19707 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 17:36:24 +00:00
bienvenu%netscape.com
806d734feb more work on reading and writing db folder info
git-svn-id: svn://10.0.0.236/trunk@19706 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 17:35:26 +00:00
kin%netscape.com
d395298e0c Added calls to nsServiceManager::ShutdownService() to get the tests working
again.  Fixed some compiler warnings.


git-svn-id: svn://10.0.0.236/trunk@19705 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 17:35:04 +00:00
terry%netscape.com
f46a950880 Added a page which describes all the components in a product.
git-svn-id: svn://10.0.0.236/trunk@19704 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 17:13:52 +00:00
troy%netscape.com
1fa43367bb Work-in-progress for replaced elements that can't be rendered
git-svn-id: svn://10.0.0.236/trunk@19703 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 17:03:46 +00:00
ftang%netscape.com
f75d1182a7 implement ASCII only ToTitle until word breaker ready. Put optimization for NOCASE_CHAR in place, replace test with macro to make it more readable,
git-svn-id: svn://10.0.0.236/trunk@19702 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 16:59:03 +00:00
kipp%netscape.com
5f78913337 Use file i/o for now to read regression data
git-svn-id: svn://10.0.0.236/trunk@19701 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 16:31:43 +00:00
kipp%netscape.com
7a9d406987 Added a hack until rick lets us set the DTD we want to use when parsing
git-svn-id: svn://10.0.0.236/trunk@19700 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 16:31:02 +00:00
kipp%netscape.com
e60a1e46d7 nuked
git-svn-id: svn://10.0.0.236/trunk@19699 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 16:29:25 +00:00
kipp%netscape.com
3036e8de9b tweak so font-lock in emacs works better
git-svn-id: svn://10.0.0.236/trunk@19698 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 16:28:36 +00:00
kipp%netscape.com
e499b1961f Use nsIHTMLContent attribute api's to avoid attribute changed notification during document loads
git-svn-id: svn://10.0.0.236/trunk@19697 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 16:28:16 +00:00
kipp%netscape.com
01519f58e2 Avoid crashing when no frame is found during attribute change notifications
git-svn-id: svn://10.0.0.236/trunk@19696 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 16:27:38 +00:00
kipp%netscape.com
5bebf0d77c Renamed RemoveFrame to RemoveAFrame to reduce compiler warnings
git-svn-id: svn://10.0.0.236/trunk@19695 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 16:27:18 +00:00
kipp%netscape.com
35bd6ce005 Make dtor virtual to quite down compilers
git-svn-id: svn://10.0.0.236/trunk@19694 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 16:26:42 +00:00
kipp%netscape.com
379ca7eb4c Implement ReadFrameRegressionData
git-svn-id: svn://10.0.0.236/trunk@19693 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 16:26:19 +00:00
kipp%netscape.com
1d6003277f Added temporary method until sync i/o works
git-svn-id: svn://10.0.0.236/trunk@19692 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 16:26:01 +00:00
terry%netscape.com
f754335315 Fix up MailNews components.
git-svn-id: svn://10.0.0.236/trunk@19691 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 16:09:45 +00:00
ftang%netscape.com
eac34daff7 add several intl componment into nsSetupRegistry
git-svn-id: svn://10.0.0.236/trunk@19690 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 15:55:58 +00:00
dcone%netscape.com
364c12bc93 Fixed typo
git-svn-id: svn://10.0.0.236/trunk@19689 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 15:54:34 +00:00
wtc%netscape.com
67291a1077 Removed unused variable warnings by the Macintosh compiler. The patch
is contributed by Kathleen Brade <brade@netscape.com>.


git-svn-id: svn://10.0.0.236/trunk@19688 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 15:53:49 +00:00
terry%netscape.com
c205e2c04f Removed "Javascript Debugger".
git-svn-id: svn://10.0.0.236/trunk@19687 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 15:31:51 +00:00
dcone%netscape.com
9a6a29a0d6 Added image support to the postscript
git-svn-id: svn://10.0.0.236/trunk@19686 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 15:17:42 +00:00
waterson%netscape.com
ab4eb80a11 Add to Win32 build and include class decls for lame Win32 compiler.
git-svn-id: svn://10.0.0.236/trunk@19685 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 11:28:44 +00:00
waterson%netscape.com
573ba69ecb Added mozilla:layout:html:document:src to manifest dirs.
git-svn-id: svn://10.0.0.236/trunk@19684 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 11:16:57 +00:00
saari%netscape.com
3988762858 Updating the unix's widget factories for the menu changes
git-svn-id: svn://10.0.0.236/trunk@19683 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 11:16:40 +00:00
waterson%netscape.com
bfed4e7c20 Initial revision.
git-svn-id: svn://10.0.0.236/trunk@19682 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 11:14:19 +00:00
mcafee%netscape.com
bd4ca2a390 Adding newline at end of file.
git-svn-id: svn://10.0.0.236/trunk@19681 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 11:00:41 +00:00
waterson%netscape.com
4142754bd1 Added the XULBuilder CID.
git-svn-id: svn://10.0.0.236/trunk@19680 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 10:56:30 +00:00
waterson%netscape.com
a07fcab347 Added an #ifdef-ed out hard dependency on layout. So I can remember how to do HTML-in-XUL.
git-svn-id: svn://10.0.0.236/trunk@19679 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 10:55:09 +00:00
waterson%netscape.com
6b92d49bdd Fixed missing NS_INIT_REFCNT() bug.
git-svn-id: svn://10.0.0.236/trunk@19678 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 10:54:18 +00:00
waterson%netscape.com
9a912de0e1 First cut at a real implementation. HTML-in-XUL is #ifdef-ed out pending some workable interface for constructing HTML tags.
git-svn-id: svn://10.0.0.236/trunk@19677 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 10:53:22 +00:00
waterson%netscape.com
7cfbf3a67b Made shared static services where possible.
git-svn-id: svn://10.0.0.236/trunk@19676 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 10:52:35 +00:00
waterson%netscape.com
b2cf1d8151 Added nsIHTMLContentContainer interface, made SplitProperty() more clever. Fits and starts toward getting HTML-in-XUL-in-RDF working.
git-svn-id: svn://10.0.0.236/trunk@19675 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 10:50:50 +00:00
saari%netscape.com
80267e4ba2 fixed Win32 widget factory
git-svn-id: svn://10.0.0.236/trunk@19674 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 10:49:00 +00:00
mcafee%netscape.com
cb161038ce moving fe_GetConfigDir() to modules/libpref/src/unix/unixpref.c.
git-svn-id: svn://10.0.0.236/trunk@19673 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 10:46:08 +00:00
waterson%netscape.com
b391703d98 Buncha stuff to clean up implementation and make sure that a good RDF graph was getting created from the XUL.
git-svn-id: svn://10.0.0.236/trunk@19672 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 10:44:53 +00:00
mcafee%netscape.com
5d3d453ac9 Adding AppCores directory to build
git-svn-id: svn://10.0.0.236/trunk@19671 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 10:43:19 +00:00
waterson%netscape.com
8692499e59 First stab at making this threadsafe. Still need to refcount the Assertion struct.
git-svn-id: svn://10.0.0.236/trunk@19670 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 10:42:21 +00:00
mcafee%netscape.com
710fcc50d3 removing unused parts of this makefile.
git-svn-id: svn://10.0.0.236/trunk@19669 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 10:41:48 +00:00
mcafee%netscape.com
df6c9ce263 Adding forward declaration for nsIStyleContext to try and fix windows bustage
git-svn-id: svn://10.0.0.236/trunk@19668 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 10:40:42 +00:00
saari%netscape.com
0d4e9108ca Trying to fix windows. Removing nsProgressMeter.cpp (added earlier today) from the windows build.
git-svn-id: svn://10.0.0.236/trunk@19667 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 09:35:21 +00:00
mcafee%netscape.com
d31e7abbb9 Adding nsProgressMeterFrame.cpp to the build
git-svn-id: svn://10.0.0.236/trunk@19666 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 09:22:46 +00:00
briano%netscape.com
70532e1168 Automated update
git-svn-id: svn://10.0.0.236/trunk@19665 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 09:18:12 +00:00
mcafee%netscape.com
8b7bd111f2 Adding xpfe/AppCores
git-svn-id: svn://10.0.0.236/trunk@19664 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 09:17:41 +00:00
talisman%anamorphic.com
cd164e97a2 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@19663 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 07:49:11 +00:00
saari%netscape.com
c535541682 made nsISupports inheritance more explicit
git-svn-id: svn://10.0.0.236/trunk@19662 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 07:29:18 +00:00
saari%netscape.com
dd4e2d038c nsMenu inherits from nsIMenuListener
git-svn-id: svn://10.0.0.236/trunk@19661 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 07:25:39 +00:00
saari%netscape.com
3b2bec70bf exporting nsIXULCommand.h from mozilla/xpfe/appshell/public on the Mac because it will be needed by widget.shlb soon.
This is probably the wrong thing to do, but Windows is exporting it too. The right thing to do is move nsIXULCommand.h and nsXULCommand.h along with nsXULCommand.cpp somewhere other than appshell.


git-svn-id: svn://10.0.0.236/trunk@19660 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 06:28:36 +00:00
saari%netscape.com
6162d39233 kMenuBarIID should have been kIMenuBarIID
git-svn-id: svn://10.0.0.236/trunk@19659 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 06:19:45 +00:00
saari%netscape.com
45da16b306 added the fix I made for Mac
git-svn-id: svn://10.0.0.236/trunk@19658 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 05:12:22 +00:00
racham%netscape.com
4e4edd0356 Modified variable names
git-svn-id: svn://10.0.0.236/trunk@19657 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 04:31:39 +00:00
racham%netscape.com
5cbea0f1ec Modified variable names.
git-svn-id: svn://10.0.0.236/trunk@19656 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 04:27:59 +00:00
alecf%netscape.com
00ff5052ca more fixes to allow for Message posting (not there yet...)
git-svn-id: svn://10.0.0.236/trunk@19655 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 04:27:10 +00:00
alecf%netscape.com
e2f5596ea3 add new accessor for message member
git-svn-id: svn://10.0.0.236/trunk@19654 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 04:26:29 +00:00
alecf%netscape.com
9e24003c5f minor fixes to prevent dereferencing NULL pointers
git-svn-id: svn://10.0.0.236/trunk@19653 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 04:26:03 +00:00
saari%netscape.com
6f65f2d4a4 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@19652 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 04:04:44 +00:00
saari%netscape.com
ce012b2b13 fixing another lame error
git-svn-id: svn://10.0.0.236/trunk@19651 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 04:03:22 +00:00
troy%netscape.com
1233cd2b49 Added PARAM {display:none}
git-svn-id: svn://10.0.0.236/trunk@19650 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 03:47:01 +00:00
saari%netscape.com
1f7957bbc7 fixed lame syntax error
git-svn-id: svn://10.0.0.236/trunk@19649 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 03:44:43 +00:00
saari%netscape.com
b90594694b fixes
git-svn-id: svn://10.0.0.236/trunk@19648 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 03:37:55 +00:00
coop%netscape.com
f612d438db NOT YET PART OF SEAMONKEY:
* added support for non-verbose mode as default for typelib dumper.


git-svn-id: svn://10.0.0.236/trunk@19647 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 03:16:07 +00:00
saari%netscape.com
8ff2b3b1c1 ...minimizing damage...
git-svn-id: svn://10.0.0.236/trunk@19646 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 03:01:05 +00:00
vidur%netscape.com
6699b1d614 Implemented miscellaneous document properties
git-svn-id: svn://10.0.0.236/trunk@19645 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 02:58:02 +00:00
saari%netscape.com
fc04cf4c17 ...fixing breakage...
git-svn-id: svn://10.0.0.236/trunk@19644 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 02:54:56 +00:00
saari%netscape.com
60324c45d1 fixing build
git-svn-id: svn://10.0.0.236/trunk@19643 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 02:48:43 +00:00
saari%netscape.com
18455df1c3 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@19642 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 02:46:19 +00:00
saari%netscape.com
6fdc3ffa9b windows, gtk, motif corrections for nsIMenuListener.h change
git-svn-id: svn://10.0.0.236/trunk@19641 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 02:46:17 +00:00
saari%netscape.com
ba3bb11729 ... this file should be happy with the nsIMenuListener change now...
git-svn-id: svn://10.0.0.236/trunk@19640 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 02:42:07 +00:00
saari%netscape.com
e30a6edff3 fixing build one chunk at a time
git-svn-id: svn://10.0.0.236/trunk@19639 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 02:38:13 +00:00
mscott%netscape.com
1526cec953 Small stuff..fixed some windows build breakages by returning a value in SetupUrl and PostData...
git-svn-id: svn://10.0.0.236/trunk@19638 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 02:36:57 +00:00
saari%netscape.com
b2c830690b more hurried checkins.
windows, gtk, motif versions to follow


git-svn-id: svn://10.0.0.236/trunk@19637 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 02:32:01 +00:00
saari%netscape.com
68aa1c80e5 On the road to fixing build breakage. More checkins to follow
git-svn-id: svn://10.0.0.236/trunk@19636 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 02:27:58 +00:00
vidur%netscape.com
ca60bedc58 Implemented nsHTMLDocument::SetBody
git-svn-id: svn://10.0.0.236/trunk@19635 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 02:16:11 +00:00
saari%netscape.com
b0dcd370b5 mozilla/widget/src/mac/nsMenu.cpp
- define kIMenuIID
- QueryInterface supports nsIMenuListener 
- implements MenuSelected() which does event dispatch  (on mac only for this checkin)

mozilla/widget/src/mac/nsMenu.h
- include "nsIMenuListener.h"
- nsMenu inherits from nsIMenuListener
- keep an internal array of menuitems (on mac only for this checkin)


git-svn-id: svn://10.0.0.236/trunk@19634 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 02:13:25 +00:00
hyatt%netscape.com
76dd281f0d Started laying the foundation for keyboard navigation.
git-svn-id: svn://10.0.0.236/trunk@19633 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 02:10:25 +00:00
nhotta%netscape.com
3c1a4df051 Integration of the case conversion interface.
git-svn-id: svn://10.0.0.236/trunk@19632 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 02:02:49 +00:00
saari%netscape.com
f7a4362c56 added nsProgressMeterFrame.cpp to layout.mcp for Eric
git-svn-id: svn://10.0.0.236/trunk@19631 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 01:56:44 +00:00
nhotta%netscape.com
22b9fa451c Integration of the case conversion interface.
git-svn-id: svn://10.0.0.236/trunk@19630 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 01:40:58 +00:00
hyatt%netscape.com
33b3b49288 Fix to CTRL-based multiple selection.
git-svn-id: svn://10.0.0.236/trunk@19629 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 01:39:38 +00:00
nhotta%netscape.com
98bb5b3314 RegisterFactory for case conversion interface.
git-svn-id: svn://10.0.0.236/trunk@19628 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 01:39:11 +00:00
nhotta%netscape.com
e59d48cff3 Additional include paths.
git-svn-id: svn://10.0.0.236/trunk@19627 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 01:37:46 +00:00
evaughan%netscape.com
9891fe14e6 Added the XUL progress meter widget.
git-svn-id: svn://10.0.0.236/trunk@19626 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 01:34:15 +00:00
alecf%netscape.com
2c76c26721 move URL setup to a common function
change scanf -> fgets
initial skeleton for posting


git-svn-id: svn://10.0.0.236/trunk@19625 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 01:11:25 +00:00
akkana%netscape.com
29ca4c23bc Fix memory leak: use nsCOMPtr for frame selection everywhere
git-svn-id: svn://10.0.0.236/trunk@19624 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 01:00:34 +00:00
nisheeth%netscape.com
5df9635701 Added ReconstructFramesOnAttributeChange() to the HTML stylesheet
that gets called when a content object's attribute change requires
its frames to get recreated.


git-svn-id: svn://10.0.0.236/trunk@19623 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 00:53:08 +00:00
waterson%netscape.com
75a123b2ee Added TestAutoLock.cpp
git-svn-id: svn://10.0.0.236/trunk@19622 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 00:48:09 +00:00
amusil%netscape.com
079c005617 Added caps and OJI projects to the build
git-svn-id: svn://10.0.0.236/trunk@19621 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 00:44:34 +00:00
waterson%netscape.com
c5c06de4da Added TestAutoLock.
git-svn-id: svn://10.0.0.236/trunk@19620 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 00:44:17 +00:00
troy%netscape.com
b7ecf11083 Fix for bug #2867. Removed the questionable logic I added previously.
git-svn-id: svn://10.0.0.236/trunk@19619 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 00:43:49 +00:00
waterson%netscape.com
19cc41ca68 Initial revision.
git-svn-id: svn://10.0.0.236/trunk@19618 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 00:40:22 +00:00
waterson%netscape.com
79ee413eec Added headers that nsAutoLock needs.
git-svn-id: svn://10.0.0.236/trunk@19617 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 00:39:49 +00:00
tague%netscape.com
56cf68426e Added Windows specific locale interfaces and implementation
git-svn-id: svn://10.0.0.236/trunk@19616 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 00:33:44 +00:00
coop%netscape.com
4787cd5e13 NOT YET PART OF SEAMONKEY:
* add command-line flag for verbose mode, which will soon not be the default
* now outputs to stdout
* added output for int64, uint64, and wchar


git-svn-id: svn://10.0.0.236/trunk@19615 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 00:31:59 +00:00
hyatt%netscape.com
f43ae4b0c5 Altered the tree structure so that the treerow tag is now obsolete.
git-svn-id: svn://10.0.0.236/trunk@19614 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 00:28:25 +00:00
hyatt%netscape.com
5ab6658ab9 Changed the tree frame construction code.
git-svn-id: svn://10.0.0.236/trunk@19613 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 00:28:05 +00:00
waterson%netscape.com
c4aee0da62 Added operator new() and operator delete() to ensure that nobody tries to create one of these beasts on the free store.
git-svn-id: svn://10.0.0.236/trunk@19612 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 00:25:56 +00:00
akkana%netscape.com
d85b082391 Fix typein
git-svn-id: svn://10.0.0.236/trunk@19611 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 00:19:30 +00:00
amusil%netscape.com
c160aeabf3 Added oji, liveconnect, and caps shared libs to the registry for Mac
git-svn-id: svn://10.0.0.236/trunk@19610 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 00:19:13 +00:00
amusil%netscape.com
6eda94e535 Added oji, liveconnect and caps shared libs to the registry.
git-svn-id: svn://10.0.0.236/trunk@19609 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 00:18:22 +00:00
pinkerton%netscape.com
7e4963637d Check for a valid rendering context before we actually start drawing. Use a new stack-based class for saving rendering context state. Hopefully, it won't live here forever, but will be ok for everyone to use.
git-svn-id: svn://10.0.0.236/trunk@19608 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 00:10:28 +00:00
amusil%netscape.com
f34c34a981 Corrected error in the use of CIIDs and IIDs
git-svn-id: svn://10.0.0.236/trunk@19607 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 00:03:18 +00:00
racham%netscape.com
007b84bbfd Commented out the Install builder related code
git-svn-id: svn://10.0.0.236/trunk@19606 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 00:01:38 +00:00
shaver%netscape.com
20f0db9efd New back-end switching for whiter teeth and fresher breath.
De-const-ipate in params.  (Maybe strings should still be const?  I await the
outcome of The Great String Debate.)


git-svn-id: svn://10.0.0.236/trunk@19605 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 23:55:33 +00:00
karnaze%netscape.com
f728c86270 work in progress for table visibility=collapse
git-svn-id: svn://10.0.0.236/trunk@19604 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 23:54:32 +00:00
racham%netscape.com
63994c899a WizardMachine project file
git-svn-id: svn://10.0.0.236/trunk@19603 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 23:50:03 +00:00
racham%netscape.com
ae979782da Thread to run progress dialog
git-svn-id: svn://10.0.0.236/trunk@19602 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 23:45:50 +00:00
racham%netscape.com
90bdf55344 ProgressDialogThread header file
git-svn-id: svn://10.0.0.236/trunk@19601 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 23:45:10 +00:00
nhotta%netscape.com
2fbb1fb4e3 Unicode converter integration.
git-svn-id: svn://10.0.0.236/trunk@19600 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 23:44:36 +00:00
racham%netscape.com
c5978ee653 Progress dialog source file
git-svn-id: svn://10.0.0.236/trunk@19599 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 23:37:04 +00:00
racham%netscape.com
c38f24f3ea Progress dialog header file
git-svn-id: svn://10.0.0.236/trunk@19598 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 23:36:18 +00:00
terry%netscape.com
179ced1243 Added i18n and l10n components.
git-svn-id: svn://10.0.0.236/trunk@19597 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 23:19:21 +00:00
rods%netscape.com
871c405242 Change the SendMail to use a convience function to get the script context
git-svn-id: svn://10.0.0.236/trunk@19596 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 23:16:13 +00:00
rods%netscape.com
f22ae68dd3 Added HTML name space to the
git-svn-id: svn://10.0.0.236/trunk@19595 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 23:07:22 +00:00
brade%netscape.com
b83bfcbe59 remove extra ';' character which causes many warnings on Macintosh compiler
git-svn-id: svn://10.0.0.236/trunk@19594 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 23:00:01 +00:00
brade%netscape.com
84e66af259 add #ifndef XP_MAC around some other platforms pragma (invalid with current Macintosh tools); this will reduce warnings on Macintosh compiler
git-svn-id: svn://10.0.0.236/trunk@19593 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 22:58:49 +00:00
brade%netscape.com
e6668b4d31 remove extra comma to remove warnings on Macintosh compiler
git-svn-id: svn://10.0.0.236/trunk@19592 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 22:57:36 +00:00
brade%netscape.com
1f196c9975 remove extra comma to reduce warnings on Macintosh compiler
git-svn-id: svn://10.0.0.236/trunk@19591 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 22:57:04 +00:00
kmcclusk%netscape.com
48eb596de2 Renamed GetSize(PRInt32* aSize) to GetSizeFromContent to remove conflict with
nsFrame GetSize(nsSize& aSize).
Added check for null mWidget in nsFormControlFrame::HandleEvent


git-svn-id: svn://10.0.0.236/trunk@19590 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 22:56:50 +00:00
waterson%netscape.com
1251e59880 Added nsAutoLock.h to the exports.
git-svn-id: svn://10.0.0.236/trunk@19589 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 22:44:30 +00:00
waterson%netscape.com
5f6247537d Initial revision.
git-svn-id: svn://10.0.0.236/trunk@19588 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 22:44:14 +00:00
alecf%netscape.com
21ab169b68 turn off NETLIB_THREAD for now since it's making us use 100% of the CPU and may be causing a PR_ASSERT(0) in netlib
git-svn-id: svn://10.0.0.236/trunk@19587 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 22:40:45 +00:00
hyatt%netscape.com
3bc78537e4 Fixing a bug on Windows where CTRL, SHIFT, and ALT states were not being
set properly on mouse events.


git-svn-id: svn://10.0.0.236/trunk@19586 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 22:36:34 +00:00
hyatt%netscape.com
9134079406 Implemented multiple selection (using SHIFT and CTRL) in the tree view.
git-svn-id: svn://10.0.0.236/trunk@19585 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 22:35:30 +00:00
hyatt%netscape.com
c05663e5e2 Made the table member variables protected so that the tree widget can
access them.


git-svn-id: svn://10.0.0.236/trunk@19584 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 22:35:03 +00:00
ftang%netscape.com
f5ead3cd95 make strres part of the mac build
git-svn-id: svn://10.0.0.236/trunk@19583 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 22:29:47 +00:00
shaver%netscape.com
24c5daca8b (NOT YET PART OF SEAMONKEY)
Update to use 16-bit IDE indices (one-based) instead of header-pool offsets.
Removed debugging cruft.
Added prototypes to get rid of warnings.
Fix many dumb mistakes WRT allocation and index checking.


git-svn-id: svn://10.0.0.236/trunk@19582 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 21:37:25 +00:00
pinkerton%netscape.com
6f6b9113b2 add nsHashtable::Reset to exports.
git-svn-id: svn://10.0.0.236/trunk@19581 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 21:23:36 +00:00
pinkerton%netscape.com
c96dd9f540 fix optimized inclusion of dom.shlb (extra space at end of filename). Approved for checkin while tree closed by donm.
git-svn-id: svn://10.0.0.236/trunk@19580 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 21:12:48 +00:00
racham%netscape.com
52bbc59b7a A Sample NCI file
git-svn-id: svn://10.0.0.236/trunk@19579 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 21:07:27 +00:00
racham%netscape.com
04d75799be Account Setup Bitmap
git-svn-id: svn://10.0.0.236/trunk@19578 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 21:02:10 +00:00
racham%netscape.com
66937619db Splash Screen Bitmap
git-svn-id: svn://10.0.0.236/trunk@19577 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 21:00:43 +00:00
racham%netscape.com
3508578f08 Shell Bitmap
git-svn-id: svn://10.0.0.236/trunk@19576 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 20:59:08 +00:00
racham%netscape.com
a5014bac8a Netscape logo bitmap
git-svn-id: svn://10.0.0.236/trunk@19575 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 20:56:32 +00:00
racham%netscape.com
300670690c Small animation logo bitmap
git-svn-id: svn://10.0.0.236/trunk@19574 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 20:55:02 +00:00
racham%netscape.com
51d1cbe590 Large animation logo bitmap
git-svn-id: svn://10.0.0.236/trunk@19573 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 20:54:25 +00:00
racham%netscape.com
9aefa78dcf Installation bitmap
git-svn-id: svn://10.0.0.236/trunk@19572 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 20:52:55 +00:00
racham%netscape.com
23d0d3db3e Home button customization bitmap
git-svn-id: svn://10.0.0.236/trunk@19571 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 20:50:23 +00:00
racham%netscape.com
d7bec35ca1 Help menu bitmap
git-svn-id: svn://10.0.0.236/trunk@19570 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 20:49:05 +00:00
racham%netscape.com
507d2da35b Bookmark bitmap
git-svn-id: svn://10.0.0.236/trunk@19569 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 20:48:25 +00:00
racham%netscape.com
0d9cf334b3 CD Shell custom installation guide button example
git-svn-id: svn://10.0.0.236/trunk@19568 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 20:46:23 +00:00
racham%netscape.com
13fddb6878 CD shell below title text customization example
git-svn-id: svn://10.0.0.236/trunk@19567 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 20:45:42 +00:00
racham%netscape.com
bcaa3d5f38 CD Shell title bar text customizaiton example
git-svn-id: svn://10.0.0.236/trunk@19566 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 20:44:50 +00:00
racham%netscape.com
98ade06c5b CD Shell custom background bitmap example
git-svn-id: svn://10.0.0.236/trunk@19565 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 20:43:59 +00:00
racham%netscape.com
d50a34f2fd logo customization graphic example
git-svn-id: svn://10.0.0.236/trunk@19564 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 20:42:51 +00:00
racham%netscape.com
d8bb0d8931 company name customization graphic example
git-svn-id: svn://10.0.0.236/trunk@19563 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 20:40:54 +00:00
racham%netscape.com
dddd29e31e tech support customization graphic example
git-svn-id: svn://10.0.0.236/trunk@19562 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 20:39:37 +00:00
racham%netscape.com
8e4dd72da3 acctSetup background bitmap example
git-svn-id: svn://10.0.0.236/trunk@19561 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 20:37:21 +00:00
racham%netscape.com
eb1e6bf0e7 Start menu customization example
git-svn-id: svn://10.0.0.236/trunk@19560 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 20:34:41 +00:00
racham%netscape.com
42499e9b83 Start menu customization graphic example
git-svn-id: svn://10.0.0.236/trunk@19559 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 20:32:36 +00:00
racham%netscape.com
6a035fcddd Splash screen customization graphic example
git-svn-id: svn://10.0.0.236/trunk@19558 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 20:31:52 +00:00
racham%netscape.com
690b22651d Small animation customization graphic example
git-svn-id: svn://10.0.0.236/trunk@19557 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 20:29:45 +00:00
racham%netscape.com
80407d0f85 CD Shell custom installation guide button example
git-svn-id: svn://10.0.0.236/trunk@19556 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 20:28:05 +00:00
racham%netscape.com
20c3192308 CD shell below title text customization example
git-svn-id: svn://10.0.0.236/trunk@19555 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 20:26:15 +00:00
racham%netscape.com
7596fd3263 CD Shell title bar text customizaiton example
git-svn-id: svn://10.0.0.236/trunk@19554 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 20:19:39 +00:00
racham%netscape.com
472fb332e1 CD Shell custom background bitmap example
git-svn-id: svn://10.0.0.236/trunk@19553 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 20:18:24 +00:00
racham%netscape.com
5c218817b7 logo customization graphic example
git-svn-id: svn://10.0.0.236/trunk@19552 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 20:16:23 +00:00
racham%netscape.com
1c552d6363 large animation customization graphic example
git-svn-id: svn://10.0.0.236/trunk@19551 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 20:13:51 +00:00
amusil%netscape.com
cb866264fe Made into shared lib
git-svn-id: svn://10.0.0.236/trunk@19550 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 20:13:10 +00:00
racham%netscape.com
ec7f04f5af installation screen text customization graphic example
git-svn-id: svn://10.0.0.236/trunk@19549 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 20:12:41 +00:00
amusil%netscape.com
f32aa4dbc4 Converted oji to build as a shared lib
git-svn-id: svn://10.0.0.236/trunk@19548 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 20:11:08 +00:00
racham%netscape.com
0a8c73f0d4 home button customization graphic example
git-svn-id: svn://10.0.0.236/trunk@19547 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 20:10:24 +00:00
racham%netscape.com
0b2e2bfba2 help customization graphic example
git-svn-id: svn://10.0.0.236/trunk@19546 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 20:08:02 +00:00
racham%netscape.com
c94ad1b7db bookmarks customization graphic example
git-svn-id: svn://10.0.0.236/trunk@19545 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 20:07:17 +00:00
racham%netscape.com
267eedb001 company name customization graphic example
git-svn-id: svn://10.0.0.236/trunk@19544 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 20:05:58 +00:00
amusil%netscape.com
97776ae093 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@19543 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 20:04:48 +00:00
racham%netscape.com
956c5cc6d3 tech support customization graphic example
git-svn-id: svn://10.0.0.236/trunk@19542 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 20:04:35 +00:00
racham%netscape.com
112e8ce552 Account Setup background graphic
git-svn-id: svn://10.0.0.236/trunk@19541 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 20:00:14 +00:00
vidur%netscape.com
d4278a7540 out-of-line document.write
git-svn-id: svn://10.0.0.236/trunk@19540 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 19:47:53 +00:00
vidur%netscape.com
60d83beb96 improved write test
git-svn-id: svn://10.0.0.236/trunk@19539 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 19:39:53 +00:00
vidur%netscape.com
acd10c909d Added additional key argument to string parsing routine
git-svn-id: svn://10.0.0.236/trunk@19538 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 19:38:39 +00:00
vidur%netscape.com
1349b5dad4 Added additional key argument to string parsing routine. Improved Reset handling for document to include style sets and frame construction. Modified root frame construction. Got out-of-line document.write to work
git-svn-id: svn://10.0.0.236/trunk@19537 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 19:38:16 +00:00
vidur%netscape.com
19818eaa54 Added temporary handling for about: URLs in HTTP url code
git-svn-id: svn://10.0.0.236/trunk@19536 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 19:36:24 +00:00
vidur%netscape.com
258ebe22f8 Added handling for about:blank
git-svn-id: svn://10.0.0.236/trunk@19535 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 19:35:57 +00:00
vidur%netscape.com
d772b13a57 Added a Reset method to nsHashtable
git-svn-id: svn://10.0.0.236/trunk@19534 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 19:35:11 +00:00
nhotta%netscape.com
46890c5cbc RegisterFactory for unicode converter.
git-svn-id: svn://10.0.0.236/trunk@19533 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 19:29:50 +00:00
nhotta%netscape.com
9411c96bdb Date time format Macintosh implementation.
git-svn-id: svn://10.0.0.236/trunk@19532 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 19:28:38 +00:00
karnaze%netscape.com
be7acaf4cc bug 1827
git-svn-id: svn://10.0.0.236/trunk@19531 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 19:26:29 +00:00
pavlov%pavlov.net
ddacee16d3 clean up menu code, et al.
git-svn-id: svn://10.0.0.236/trunk@19530 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 19:18:31 +00:00
pavlov%pavlov.net
dca0459b34 some work on SetClipRectInPixels and some warnings cleanups
git-svn-id: svn://10.0.0.236/trunk@19529 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 19:17:46 +00:00
pinkerton%netscape.com
d7fc61cd9f make linkage match source file.
git-svn-id: svn://10.0.0.236/trunk@19528 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 19:14:48 +00:00
kipp%netscape.com
2f31f19df9 Use ReflowDirty reflow commands; fixed reflow status when dealing with breaking child frames
git-svn-id: svn://10.0.0.236/trunk@19527 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 19:12:02 +00:00
kipp%netscape.com
2f00dc90ae Added List method
git-svn-id: svn://10.0.0.236/trunk@19526 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 19:10:26 +00:00
kipp%netscape.com
3a37b73eab Removed a couple of warnings
git-svn-id: svn://10.0.0.236/trunk@19525 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 19:10:03 +00:00
kipp%netscape.com
cf3bd77d9a Removed some unused variables
git-svn-id: svn://10.0.0.236/trunk@19524 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 19:09:37 +00:00
kipp%netscape.com
a601a24765 Fixup absolute positioning by temporarily generating old style reflow commands when the list-name is not null; temporarily use FrameAppended instead of ReflowDirty for append operations
git-svn-id: svn://10.0.0.236/trunk@19523 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 19:09:24 +00:00
kipp%netscape.com
3ac487b083 Added ReflowDirty reflow command
git-svn-id: svn://10.0.0.236/trunk@19522 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 19:08:07 +00:00
terry%netscape.com
158674028d Whoops; removed test data.
git-svn-id: svn://10.0.0.236/trunk@19521 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 19:01:20 +00:00
terry%netscape.com
9b03fc96d8 Allow components to have a default qacontact.
git-svn-id: svn://10.0.0.236/trunk@19520 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 19:00:13 +00:00
kmcclusk%netscape.com
15091c910a Moved ForceDrawFrame from nsComboboxControlFrame to nsFormControlHelper
Removed commented out code in nsFormControlHelper.h.
Modified nsCheckboxControlFrame and nsRadioControlFrame to use ForceDrawFrame
when gfx-rendered.


git-svn-id: svn://10.0.0.236/trunk@19519 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 18:55:37 +00:00
cata%netscape.com
94c1fefbf7 Hacky Unicode converters implementation replaced with the real xpcom thing.
git-svn-id: svn://10.0.0.236/trunk@19518 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 18:55:10 +00:00
cata%netscape.com
8f39f603ba Added dependency on Unicode Converters.
git-svn-id: svn://10.0.0.236/trunk@19517 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 18:52:21 +00:00
racham%netscape.com
ee22698539 Checklist page
git-svn-id: svn://10.0.0.236/trunk@19516 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 18:50:07 +00:00
dp%netscape.com
4b61fe58b7 Fixing linux orange tree.
git-svn-id: svn://10.0.0.236/trunk@19515 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 18:49:04 +00:00
racham%netscape.com
dbfc00c76b Finish page
git-svn-id: svn://10.0.0.236/trunk@19514 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 18:48:20 +00:00
racham%netscape.com
89939dd7cf Installer customizations
git-svn-id: svn://10.0.0.236/trunk@19513 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 18:46:23 +00:00
racham%netscape.com
00b7524089 Start Menu customizations
git-svn-id: svn://10.0.0.236/trunk@19512 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 18:44:48 +00:00
racham%netscape.com
1a83a8188e User Agent Information
git-svn-id: svn://10.0.0.236/trunk@19511 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 18:43:59 +00:00
racham%netscape.com
278d9ea66b Home Page customizations
git-svn-id: svn://10.0.0.236/trunk@19510 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 18:42:58 +00:00
pinkerton%netscape.com
3871597854 fix up right justification by setting width on absolute positioned frame.
git-svn-id: svn://10.0.0.236/trunk@19509 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 18:42:05 +00:00
racham%netscape.com
5563943e5f Customizations main page
git-svn-id: svn://10.0.0.236/trunk@19508 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 18:41:25 +00:00
racham%netscape.com
e6a648cfbb cck Main Page
git-svn-id: svn://10.0.0.236/trunk@19507 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 18:40:11 +00:00
racham%netscape.com
8d39996f66 Installer Customizations
git-svn-id: svn://10.0.0.236/trunk@19506 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 18:38:42 +00:00
racham%netscape.com
258092bcc8 Account Setup Customizations
git-svn-id: svn://10.0.0.236/trunk@19505 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 18:37:43 +00:00
racham%netscape.com
a51dd18872 CD Shell customizations
git-svn-id: svn://10.0.0.236/trunk@19504 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 18:36:18 +00:00
racham%netscape.com
c1fb9ff172 Animation customizations
git-svn-id: svn://10.0.0.236/trunk@19503 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 18:34:54 +00:00
racham%netscape.com
e26583188c Branding main page
git-svn-id: svn://10.0.0.236/trunk@19502 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 18:32:11 +00:00
briano%netscape.com
24be925378 Automated update
git-svn-id: svn://10.0.0.236/trunk@19501 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 18:30:44 +00:00
racham%netscape.com
5e8db0c547 iniFile for AccountSetup customizations
git-svn-id: svn://10.0.0.236/trunk@19500 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 18:30:36 +00:00
pinkerton%netscape.com
2f78fa6120 add mac to the appcore ifdef's.
git-svn-id: svn://10.0.0.236/trunk@19499 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 18:24:26 +00:00
dcone%netscape.com
07f0f22025 Rewrote postscript stuff into a nsPostScriptObj class
git-svn-id: svn://10.0.0.236/trunk@19498 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 18:21:33 +00:00
pinkerton%netscape.com
6664310c68 turn off "use mod date caching" for dep build.
git-svn-id: svn://10.0.0.236/trunk@19497 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 18:16:19 +00:00
erik%netscape.com
1c6fa36f87 Added mozilla/intl/strres Makefiles to Unix build.
git-svn-id: svn://10.0.0.236/trunk@19496 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 18:16:03 +00:00
pinkerton%netscape.com
cb6bce4173 export all the methods for Mac using NS_EXPORT.
git-svn-id: svn://10.0.0.236/trunk@19495 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 18:15:01 +00:00
erik%netscape.com
6889802b50 Added strres to Unix build.
git-svn-id: svn://10.0.0.236/trunk@19494 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 18:14:48 +00:00
pinkerton%netscape.com
cdf3de1d74 Add some manifest files to dom for appCore. Add AppCore.mcp to build process. Export some html/xml/css files to res used by AppCore.
git-svn-id: svn://10.0.0.236/trunk@19493 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 18:14:31 +00:00
erik%netscape.com
d70c988f51 Unix Makefile for this directory.
git-svn-id: svn://10.0.0.236/trunk@19492 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 18:14:04 +00:00
pinkerton%netscape.com
0253b1eaae fix typo.
git-svn-id: svn://10.0.0.236/trunk@19491 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 18:13:31 +00:00
erik%netscape.com
e8cfa7c5f6 Added PropertiesTest.cpp to Unix build.
git-svn-id: svn://10.0.0.236/trunk@19490 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 18:13:30 +00:00
erik%netscape.com
d9299c4bc3 Added nsBaseDLL.cpp and nsProperties.cpp to Unix build.
git-svn-id: svn://10.0.0.236/trunk@19489 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 18:12:59 +00:00
erik%netscape.com
0633ab1c2c Added nsIProperties.h to Unix build.
git-svn-id: svn://10.0.0.236/trunk@19488 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 18:12:24 +00:00
erik%netscape.com
fcf0688ef4 Fixed compiler warning on Linux.
git-svn-id: svn://10.0.0.236/trunk@19487 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 18:11:45 +00:00
pinkerton%netscape.com
b210c96897 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@19486 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 18:08:53 +00:00
erik%netscape.com
67b0db3421 Fixed compiler warnings on Linux, and added code for LockFactory.
git-svn-id: svn://10.0.0.236/trunk@19485 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 18:08:03 +00:00
ftang%netscape.com
470dc11aeb stop building gendata. it is obsoleted
git-svn-id: svn://10.0.0.236/trunk@19484 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 18:00:03 +00:00
terry%netscape.com
6a859655b7 Allow resetting a target milestone back to null.
git-svn-id: svn://10.0.0.236/trunk@19483 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 17:56:56 +00:00
erik%netscape.com
1e8dc1e3ef Adding strres again. This time it should be OK, since intl is built after
base in mozilla/nglayout.mak. (And I tried a build from scratch.)


git-svn-id: svn://10.0.0.236/trunk@19482 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 17:55:52 +00:00
ftang%netscape.com
7f2b8d7b47 stop building gendat
git-svn-id: svn://10.0.0.236/trunk@19481 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 17:54:51 +00:00
pinkerton%netscape.com
385307e652 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@19480 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 17:54:05 +00:00
racham%netscape.com
988b3249e7 auto generated aps file
git-svn-id: svn://10.0.0.236/trunk@19479 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 17:48:29 +00:00
racham%netscape.com
11e28ad143 Class wizard information file
git-svn-id: svn://10.0.0.236/trunk@19478 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 17:46:11 +00:00
racham%netscape.com
99bd896fa0 WizardMachine project file
git-svn-id: svn://10.0.0.236/trunk@19477 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 17:44:47 +00:00
ftang%netscape.com
c628c8cd1b change implementation to Imp2 so it don't depend on MTT and faster, smaller
git-svn-id: svn://10.0.0.236/trunk@19476 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 17:44:05 +00:00
ftang%netscape.com
8ed02f441f change implementation to Imp2 so it is faster and smaller and do not depend on MTT
git-svn-id: svn://10.0.0.236/trunk@19475 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 17:43:38 +00:00
racham%netscape.com
d3645a1bfe Automatically generated ncb file
git-svn-id: svn://10.0.0.236/trunk@19474 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 17:39:40 +00:00
racham%netscape.com
3a36261f69 bitmap file
git-svn-id: svn://10.0.0.236/trunk@19473 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 17:36:08 +00:00
kipp%netscape.com
ebe82f4efa Eliminate duplicate mRefCnt since base class declares one...
git-svn-id: svn://10.0.0.236/trunk@19472 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 17:35:52 +00:00
rods%netscape.com
948bd64f89 Added installing of gifs to makefile
git-svn-id: svn://10.0.0.236/trunk@19471 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 17:35:15 +00:00
racham%netscape.com
1f1446c5c0 Icon File
git-svn-id: svn://10.0.0.236/trunk@19470 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 17:34:52 +00:00
rods%netscape.com
50f9a9a376 Rename gifs and am checking them in.
git-svn-id: svn://10.0.0.236/trunk@19469 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 17:34:31 +00:00
terry%netscape.com
f2d7b0374e Allow queries for null target milestone, and allow reseting a target
milestone back to null.


git-svn-id: svn://10.0.0.236/trunk@19468 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 17:32:52 +00:00
racham%netscape.com
83a10ea91b Auto generated rc file
git-svn-id: svn://10.0.0.236/trunk@19466 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 17:30:55 +00:00
kmcclusk%netscape.com
8614dc57ef Added support to allow form elements to be either GFX-rendered or use widgets.
Work in progress for getting check boxes and radio buttons gfx-rendered.


git-svn-id: svn://10.0.0.236/trunk@19465 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 17:25:25 +00:00
racham%netscape.com
7c65187c2c UI resource file for the WizardMachine
git-svn-id: svn://10.0.0.236/trunk@19464 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 17:17:27 +00:00
troy%netscape.com
8d123f458f Added two new sample tests
git-svn-id: svn://10.0.0.236/trunk@19463 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 17:16:11 +00:00
racham%netscape.com
9960aaa2c8 Connecting file between driver code and UI
git-svn-id: svn://10.0.0.236/trunk@19462 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 17:12:26 +00:00
racham%netscape.com
99a0e147a7 Automatically generated resource header file
git-svn-id: svn://10.0.0.236/trunk@19461 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 17:10:25 +00:00
racham%netscape.com
57a8f70d4a Source file for collecting new NCI file name
git-svn-id: svn://10.0.0.236/trunk@19460 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 17:07:43 +00:00
troy%netscape.com
9d48623d92 Added some more test files
git-svn-id: svn://10.0.0.236/trunk@19458 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 17:05:48 +00:00
troy%netscape.com
92718fbc7a Initial check-in
git-svn-id: svn://10.0.0.236/trunk@19457 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 17:03:05 +00:00
racham%netscape.com
1b883a7490 NewDialog header file
git-svn-id: svn://10.0.0.236/trunk@19456 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 17:02:51 +00:00
troy%netscape.com
9e1cfc5c91 Improvements to fixed positioning
git-svn-id: svn://10.0.0.236/trunk@19455 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 17:01:51 +00:00
racham%netscape.com
f4e5ac31fd Create context sensitive dialog popup
git-svn-id: svn://10.0.0.236/trunk@19454 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 16:58:48 +00:00
racham%netscape.com
889cd2c4ee NewConfigDialog header file
git-svn-id: svn://10.0.0.236/trunk@19453 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 16:56:17 +00:00
rods%netscape.com
fa993668ad Added AppCores to build
git-svn-id: svn://10.0.0.236/trunk@19451 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 16:52:14 +00:00
racham%netscape.com
89ebff9f1d Root property sheet source file
git-svn-id: svn://10.0.0.236/trunk@19450 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 16:51:07 +00:00
rods%netscape.com
454c2668e4 Added appcores stuff just for Windows, working on Mac and Linux
git-svn-id: svn://10.0.0.236/trunk@19449 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 16:50:05 +00:00
racham%netscape.com
9efc8f2d20 File that provides UI services for Wizard
git-svn-id: svn://10.0.0.236/trunk@19448 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 16:49:10 +00:00
rods%netscape.com
ccd26fd185 Fixed up some debug
git-svn-id: svn://10.0.0.236/trunk@19447 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 16:48:55 +00:00
rods%netscape.com
08232e396c Added appcores
git-svn-id: svn://10.0.0.236/trunk@19446 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 16:48:20 +00:00
rods%netscape.com
01c436eec4 Added Debug statements
git-svn-id: svn://10.0.0.236/trunk@19445 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 16:47:16 +00:00
racham%netscape.com
5ff860d1ed WizardMachine User Interface headers
git-svn-id: svn://10.0.0.236/trunk@19444 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 16:47:01 +00:00
racham%netscape.com
027be789af WizardMachine Dialog interface header file
git-svn-id: svn://10.0.0.236/trunk@19443 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 16:45:07 +00:00
terry%netscape.com
2f19536421 Allow queries for null target milestone, and allow reseting a target
milestone back to null.


git-svn-id: svn://10.0.0.236/trunk@19442 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 16:43:05 +00:00
racham%netscape.com
98a28c9e2a Wizardmachine Driver Core code enabling navigationa and other services
git-svn-id: svn://10.0.0.236/trunk@19441 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 16:39:50 +00:00
racham%netscape.com
a205f6095c Wizardmachine Driver header file
git-svn-id: svn://10.0.0.236/trunk@19440 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 16:38:33 +00:00
racham%netscape.com
8617faa87d Standard AFX file
git-svn-id: svn://10.0.0.236/trunk@19439 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 16:36:27 +00:00
racham%netscape.com
7a086b6be2 Standard AFX headers
git-svn-id: svn://10.0.0.236/trunk@19438 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 16:35:58 +00:00
racham%netscape.com
50eff29c49 Navigation Status text file
git-svn-id: svn://10.0.0.236/trunk@19437 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 16:34:56 +00:00
racham%netscape.com
f8676b45aa Root property sheet header file
git-svn-id: svn://10.0.0.236/trunk@19436 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 16:34:01 +00:00
racham%netscape.com
38dc406a7a Navigation Status text related header file
git-svn-id: svn://10.0.0.236/trunk@19435 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 16:32:08 +00:00
racham%netscape.com
5ae447c613 This file serves as a template for creating new NCI files
git-svn-id: svn://10.0.0.236/trunk@19434 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 16:30:59 +00:00
rods%netscape.com
0cd8e589cd Moved the Mail XUL files to their own directory
git-svn-id: svn://10.0.0.236/trunk@19433 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 16:29:54 +00:00
pinkerton%netscape.com
46181410db use nsCOMPtr
git-svn-id: svn://10.0.0.236/trunk@19432 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 16:19:09 +00:00
rods%netscape.com
69f1a7cd81 Moved files from AppCores to public and src directories
git-svn-id: svn://10.0.0.236/trunk@19431 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 15:54:07 +00:00
dp%netscape.com
d5470d4135 adding ns prefix to private classes namespace
git-svn-id: svn://10.0.0.236/trunk@19430 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 15:39:13 +00:00
ftang%netscape.com
6c2994b241 fix mac warning. delete , from enum
git-svn-id: svn://10.0.0.236/trunk@19427 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 09:02:54 +00:00
ftang%netscape.com
f20f741178 make the table static instead of extern
git-svn-id: svn://10.0.0.236/trunk@19426 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 08:52:22 +00:00
ftang%netscape.com
c748d4c465 Fix extern and static problem
git-svn-id: svn://10.0.0.236/trunk@19425 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 08:51:56 +00:00
ftang%netscape.com
25cc8d7a58 add the second implementation to replace the MTT implementation. the casetable.h is build by ../tools/gencasetable.pl on window with [Dec 29 22:05:00 1998] version (2.1.8) of UnicodeData-Latest.txt file
git-svn-id: svn://10.0.0.236/trunk@19424 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 08:44:02 +00:00
ftang%netscape.com
c223c01e28 add gencasetable.pl which used to generate mozilla/intl/unicharutil/src/casetable.h from UnicodeData-Latest.txt
git-svn-id: svn://10.0.0.236/trunk@19423 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 08:38:39 +00:00
dp%netscape.com
353a25c88b landing XPCOM_19990201_BRANCH
git-svn-id: svn://10.0.0.236/trunk@19422 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 07:03:17 +00:00
dp%netscape.com
6682fb1f77 Landing XPCOM_19990201_BRANCH to the tip.
git-svn-id: svn://10.0.0.236/trunk@19421 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 06:58:44 +00:00
pierre%netscape.com
2da2a6b0be Fixed build bustage
git-svn-id: svn://10.0.0.236/trunk@19419 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 06:08:39 +00:00
leaf%mozilla.org
dff8540b44 fixing the makefile so that nsSetupRegistry.cpp will compile...
I have no idea why we aren't compiling the original nsSetupRegistry to begin
with...


git-svn-id: svn://10.0.0.236/trunk@19418 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 05:35:37 +00:00
troy%netscape.com
3ced68e7e0 Re-ordered the call to SetPosition(0) for the horizontal scrollbar,
because the way it was caused the scrollbar to be enabled when it should
be disabled...


git-svn-id: svn://10.0.0.236/trunk@19417 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 05:03:04 +00:00
racham%netscape.com
3a77323683 ImageDialog Header file
git-svn-id: svn://10.0.0.236/trunk@19416 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 04:41:54 +00:00
racham%netscape.com
85b58cc95c File that brings up a dialog loaded with a given image
git-svn-id: svn://10.0.0.236/trunk@19415 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 04:41:04 +00:00
racham%netscape.com
f9e9448302 CChooseFolderDialog.h
git-svn-id: svn://10.0.0.236/trunk@19414 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 04:39:04 +00:00
racham%netscape.com
19f31fcbcc File that brings folder dialog for browse and select
git-svn-id: svn://10.0.0.236/trunk@19413 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 04:38:29 +00:00
troy%netscape.com
79891cd010 Switched to using nsIScrollableView::GetScrollbarVisibility() to tell
whether the vertical scrollbar is currently showing


git-svn-id: svn://10.0.0.236/trunk@19412 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 04:30:57 +00:00
briano%netscape.com
fe2a1595ea Automated update
git-svn-id: svn://10.0.0.236/trunk@19411 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 04:30:33 +00:00
kipp%netscape.com
8b20cf85fe init refcnt
git-svn-id: svn://10.0.0.236/trunk@19410 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 04:25:40 +00:00
troy%netscape.com
832f79717f Added GetScrollbarVisibility()
git-svn-id: svn://10.0.0.236/trunk@19409 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 04:25:31 +00:00
kipp%netscape.com
0274bad32b Declare nsISupports methods instead of using NS_DECL_ISUPPORTS so that we don't have a dup mRefCnt
git-svn-id: svn://10.0.0.236/trunk@19408 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 04:25:20 +00:00
kipp%netscape.com
7ff0256293 Fixed solaris shared library problems
git-svn-id: svn://10.0.0.236/trunk@19407 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 04:24:36 +00:00
michaelp%netscape.com
9548d7fa85 work in progress for new compositor. not currently enabled, so it won't
affect anyone else. killed Paint() method of scrolling view since it
no longer does anything useful. made view manager destructor protected to
eliminate gcc warnings.


git-svn-id: svn://10.0.0.236/trunk@19406 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 04:12:21 +00:00
mcmullen%netscape.com
49dab3ddd5 Don't pass "this" to a member class if the member class is going to Addref, and we haven't called NS_INIT_REFCNT first.
git-svn-id: svn://10.0.0.236/trunk@19405 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 03:24:54 +00:00
mcmullen%netscape.com
b2c0217a0d Put NS_INIT_REFCNT in all constructors, it says. So I moved this call out of the Initialize() method, and into the constructor. And lo! the assert went away. Magic.
git-svn-id: svn://10.0.0.236/trunk@19404 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 03:13:53 +00:00
peterl%netscape.com
9cce639e0f added missing semicolons
git-svn-id: svn://10.0.0.236/trunk@19403 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 03:10:29 +00:00
peterl%netscape.com
6bb837e2c4 improvements to parsing @import, HTML comments and identifiers
git-svn-id: svn://10.0.0.236/trunk@19402 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 02:59:51 +00:00
hyatt%netscape.com
815fec0d73 Adding the XUL content sink and XUL data source files to the project.
git-svn-id: svn://10.0.0.236/trunk@19401 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 02:59:47 +00:00
peterl%netscape.com
caaefbe34c Fixed windows build bustage
git-svn-id: svn://10.0.0.236/trunk@19400 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 02:53:25 +00:00
hyatt%netscape.com
8958bcd8cf Implementation of the XUL content sink.
git-svn-id: svn://10.0.0.236/trunk@19399 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 02:49:30 +00:00
hyatt%netscape.com
2ffd2f09f2 Implementation of the XUL content sink. Modifications to the RDF document
to teach it about XUL.


git-svn-id: svn://10.0.0.236/trunk@19398 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 02:48:55 +00:00
hyatt%netscape.com
b46cc4ba4e Implementation of the XUL content sink. Addition of new files.
git-svn-id: svn://10.0.0.236/trunk@19397 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 02:48:27 +00:00
hyatt%netscape.com
d6a5085f59 Implementation of the XUL content sink. Added the capability to parse XUL files.
git-svn-id: svn://10.0.0.236/trunk@19396 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 02:47:06 +00:00
terry%netscape.com
0361354890 Added support for URLs that describe the milestones for various projects.
git-svn-id: svn://10.0.0.236/trunk@19395 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 02:46:51 +00:00
hyatt%netscape.com
1a87d7d7dd Implementation of the XUL content sink. Adding text/xul as a new MIME type.
git-svn-id: svn://10.0.0.236/trunk@19394 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 02:46:05 +00:00
hyatt%netscape.com
8c6bdeb1ec Implementation of the XUL content sink. Modifications to enable the instantiation
of the XUL data source and the XUL content sink classes.


git-svn-id: svn://10.0.0.236/trunk@19393 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 02:44:15 +00:00
hyatt%netscape.com
7713fd6b6f Implementing the XUL content sink. Teaching the document loader that it
can instantiate files of type "text/xul" using RDF.


git-svn-id: svn://10.0.0.236/trunk@19392 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 02:43:32 +00:00
nhotta%netscape.com
d76f273118 Fixed typo, windows headers were included.
git-svn-id: svn://10.0.0.236/trunk@19391 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 02:22:12 +00:00
akkana%netscape.com
c65c79999a Bug fixes for Collapse() and Extend().
Now single-character deletion works much better.


git-svn-id: svn://10.0.0.236/trunk@19390 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 02:13:15 +00:00
pierre%netscape.com
4b0b77a0c9 #2600 "Live window resizing can be too slow"
git-svn-id: svn://10.0.0.236/trunk@19389 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 02:05:57 +00:00
pierre%netscape.com
c9a9695069 #2815 "Password text field shows contents in clear-text"
git-svn-id: svn://10.0.0.236/trunk@19388 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 02:05:31 +00:00
pierre%netscape.com
b08e800049 #2816 "[PP] Mac doesn't handle NS_MOUSE_LEFT_DOUBLECLICK event" and #2692 "Window focus problems"
git-svn-id: svn://10.0.0.236/trunk@19387 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 02:04:41 +00:00
pierre%netscape.com
321e169adc don't move or resize windows that belong to embedding apps
git-svn-id: svn://10.0.0.236/trunk@19386 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 02:04:15 +00:00
ftang%netscape.com
3dcda91510 calling nsSetupRegistry for mac. Need to try UNIX and Window before turn out the #ifdef XP_MAC
git-svn-id: svn://10.0.0.236/trunk@19385 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 01:50:15 +00:00
ftang%netscape.com
ee38fcff5b add project file for it.
git-svn-id: svn://10.0.0.236/trunk@19384 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 01:46:10 +00:00
ftang%netscape.com
16cfb5cf86 add nsProperties.cpp and nsBaseDLL.cpp
git-svn-id: svn://10.0.0.236/trunk@19383 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 01:42:53 +00:00
nhotta%netscape.com
6194e95652 nsILocale integration and date time format Mac implementation.
git-svn-id: svn://10.0.0.236/trunk@19382 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 01:36:06 +00:00
nhotta%netscape.com
6db73b0c2f nsILocale integration.
git-svn-id: svn://10.0.0.236/trunk@19381 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 01:35:11 +00:00
troy%netscape.com
cb24b1f1fe Fixed it to so the root-frame isn't considered a containing block, and
changed SetRect() so it only resizes the child frame larger if its 'height'
is set to 'auto'


git-svn-id: svn://10.0.0.236/trunk@19380 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 01:31:09 +00:00
bienvenu%netscape.com
e20e8e5984 add access to a few more mdb objects
git-svn-id: svn://10.0.0.236/trunk@19377 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 00:44:41 +00:00
bienvenu%netscape.com
12ec3a1363 add notifications, messageHdrStruct stuff
git-svn-id: svn://10.0.0.236/trunk@19376 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 00:44:13 +00:00
bienvenu%netscape.com
01c604354d interface for receiving db change notifications
git-svn-id: svn://10.0.0.236/trunk@19375 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 00:42:39 +00:00
terry%netscape.com
3684b77c63 Oops; fixed typo.
git-svn-id: svn://10.0.0.236/trunk@19374 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 00:34:03 +00:00
terry%netscape.com
1b02f0725a Renamed "Editing Interfaces" to be "Editor".
git-svn-id: svn://10.0.0.236/trunk@19373 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 00:31:48 +00:00
mscott%netscape.com
79356ae82f newsgroup call to GetName is no longer a const method so the nsINNTPNewsgroup passed into the article list can't be const either....
performing clean up on the interface and implementation to fix this...


git-svn-id: svn://10.0.0.236/trunk@19372 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 00:19:55 +00:00
cltbld%netscape.com
6d1d7ec1c1 backing out changes made against a closed tree
git-svn-id: svn://10.0.0.236/trunk@19371 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 23:50:52 +00:00
hyatt%netscape.com
06e22f12e4 Added XUL as a MIME type.
git-svn-id: svn://10.0.0.236/trunk@19370 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 23:34:01 +00:00
briano%netscape.com
4d5db2152f Automated update
git-svn-id: svn://10.0.0.236/trunk@19369 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 23:15:37 +00:00
kipp%netscape.com
f89af1a7e9 latest
git-svn-id: svn://10.0.0.236/trunk@19368 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 23:06:56 +00:00
karnaze%netscape.com
4e7fb0aec6 fixed bug 1827
git-svn-id: svn://10.0.0.236/trunk@19367 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 22:53:42 +00:00
saari%netscape.com
3fc6324194 Check for null before calling through it... this should fix the windows crashing bug with menus.
git-svn-id: svn://10.0.0.236/trunk@19364 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 19:53:58 +00:00
kipp%netscape.com
7fc8c43a91 nuked
git-svn-id: svn://10.0.0.236/trunk@19363 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 19:39:06 +00:00
alecf%netscape.com
9afca0ed2a enter mailnews directory when --enable-mailnews switch is thrown
ONLY AFFECTS MAIL/NEWS BUILD.


git-svn-id: svn://10.0.0.236/trunk@19362 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 19:34:49 +00:00
michaelp%netscape.com
fb53d28fc5 removed SingleSignon from modular netlib (until it no longer relies on old school
objects).


git-svn-id: svn://10.0.0.236/trunk@19361 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 19:29:04 +00:00
rods%netscape.com
26ba65da07 Commented out some lines to make it work better.
git-svn-id: svn://10.0.0.236/trunk@19360 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 19:28:52 +00:00
michaelp%netscape.com
af4c5fbd21 addef typedefs to help remove layers dependencies.
git-svn-id: svn://10.0.0.236/trunk@19359 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 19:28:04 +00:00
michaelp%netscape.com
1c1dcf2f12 kill related links and single signon (for now).
git-svn-id: svn://10.0.0.236/trunk@19358 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 19:26:42 +00:00
rods%netscape.com
c573d2cb71 Initial checkin
git-svn-id: svn://10.0.0.236/trunk@19357 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 19:24:07 +00:00
kipp%netscape.com
1802c20620 Disabled tests
git-svn-id: svn://10.0.0.236/trunk@19356 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 19:03:51 +00:00
kipp%netscape.com
4937d5428b Hid some more layers stuff
git-svn-id: svn://10.0.0.236/trunk@19355 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 18:56:12 +00:00
kipp%netscape.com
9550ddb630 More layer stuff removed
git-svn-id: svn://10.0.0.236/trunk@19354 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 18:52:05 +00:00
rods%netscape.com
beddf1b292 Initial checkin
git-svn-id: svn://10.0.0.236/trunk@19353 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 18:37:20 +00:00
kipp%netscape.com
58cccc3007 Found another XP_Rect to hide
git-svn-id: svn://10.0.0.236/trunk@19352 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 18:32:01 +00:00
kipp%netscape.com
4b03faa1f0 Removed nav-java from the build
git-svn-id: svn://10.0.0.236/trunk@19351 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 18:01:34 +00:00
kipp%netscape.com
6dec70fa04 Removed XP_Rect references
git-svn-id: svn://10.0.0.236/trunk@19350 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 17:51:09 +00:00
briano%netscape.com
3c1f2845cf Automated update
git-svn-id: svn://10.0.0.236/trunk@19349 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 17:45:37 +00:00
kipp%netscape.com
a4dfd75157 Don't pull liblayer any more
git-svn-id: svn://10.0.0.236/trunk@19348 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 17:45:14 +00:00
kipp%netscape.com
7b8f33117c Make sure program is built before installing it
git-svn-id: svn://10.0.0.236/trunk@19347 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 17:42:10 +00:00
kipp%netscape.com
916537dfc0 Made abort abort on unix
git-svn-id: svn://10.0.0.236/trunk@19346 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 17:41:54 +00:00
kipp%netscape.com
4d86812d65 Added a pre-condition to help find uninitialized refcnts
git-svn-id: svn://10.0.0.236/trunk@19345 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 17:41:29 +00:00
kipp%netscape.com
b12e89b24d Disabled a not-yet-implemented assert
git-svn-id: svn://10.0.0.236/trunk@19344 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 17:41:05 +00:00
kipp%netscape.com
b640a2b8c0 Build library more carefully
git-svn-id: svn://10.0.0.236/trunk@19343 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 17:40:37 +00:00
kipp%netscape.com
885e33e28f Use SIMPLE_PROGRAMS instead of custom rules
git-svn-id: svn://10.0.0.236/trunk@19342 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 17:40:28 +00:00
kipp%netscape.com
277242d161 Added in malloc-wrap support
git-svn-id: svn://10.0.0.236/trunk@19341 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 17:39:51 +00:00
kipp%netscape.com
9107865e01 Added in some more MKSHLIB variables
git-svn-id: svn://10.0.0.236/trunk@19340 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 17:39:37 +00:00
kipp%netscape.com
f1f818e7b2 Removed cruft from the build
git-svn-id: svn://10.0.0.236/trunk@19339 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 17:39:01 +00:00
kipp%netscape.com
0b66f57ffd Added --enable-wrap-malloc,--with-malloc; removed liblayer cruft; better handling for debug builds and compiler warnings
git-svn-id: svn://10.0.0.236/trunk@19338 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 17:38:11 +00:00
kipp%netscape.com
547ec63ddd Cleaned up linkage of the viewer
git-svn-id: svn://10.0.0.236/trunk@19337 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 17:37:19 +00:00
kipp%netscape.com
149c69bfab Removed call to RL_Init
git-svn-id: svn://10.0.0.236/trunk@19336 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 17:36:46 +00:00
kipp%netscape.com
c7cea5143a Stop building related links junk
git-svn-id: svn://10.0.0.236/trunk@19335 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 17:36:31 +00:00
kipp%netscape.com
ca135be1b8 Removed layers usage
git-svn-id: svn://10.0.0.236/trunk@19334 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 17:35:30 +00:00
kipp%netscape.com
237db9ae1f Removed layers references
git-svn-id: svn://10.0.0.236/trunk@19333 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 17:34:46 +00:00
kipp%netscape.com
4f6f070c86 Removed layers header file
git-svn-id: svn://10.0.0.236/trunk@19332 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 17:34:10 +00:00
kipp%netscape.com
f246e3117a Wrapped up debugging noise in a ifdef; implemented 4th remove-frame case; fixed a bug in the 5th remove-frame case
git-svn-id: svn://10.0.0.236/trunk@19331 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 17:32:09 +00:00
kipp%netscape.com
7fcad9f549 Changed value of mozAnonymousBlock atom to match ua.css until a css working group issue is resolved
git-svn-id: svn://10.0.0.236/trunk@19330 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 17:31:36 +00:00
kipp%netscape.com
6641976fe2 Changed base-ib-frame to implement AppendFrames/InsertFrames/RemoveFrame directly; changed args to DoRemoveFrame; updated the anonymous block to have a slightly different method set to manipulate its children
git-svn-id: svn://10.0.0.236/trunk@19329 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 17:31:09 +00:00
kipp%netscape.com
85096b6ed2 noise
git-svn-id: svn://10.0.0.236/trunk@19328 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 17:30:10 +00:00
kipp%netscape.com
193de92ed8 Flushed out test set
git-svn-id: svn://10.0.0.236/trunk@19327 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 17:29:54 +00:00
pinkerton%netscape.com
95d4a15403 Fix solaris bustage by including headers instead of using forward class decl's for nsCOMPtr'd interfaces in a header file.
git-svn-id: svn://10.0.0.236/trunk@19326 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 17:09:44 +00:00
pinkerton%netscape.com
24479f8d35 right justify throbber, probably incorrectly, but it looks better ;)
git-svn-id: svn://10.0.0.236/trunk@19325 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 17:02:51 +00:00
pinkerton%netscape.com
a668e85215 add html namespace prefix per peterl's change to namespace rules.
git-svn-id: svn://10.0.0.236/trunk@19324 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 16:43:07 +00:00
terry%netscape.com
6cbdf7e1f3 Don't draw any more than 20 date ticks.
git-svn-id: svn://10.0.0.236/trunk@19323 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 15:03:52 +00:00
mcafee%netscape.com
76b836910f Taking tests back out, heh, are we having fun yet?
git-svn-id: svn://10.0.0.236/trunk@19322 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 09:36:54 +00:00
mcafee%netscape.com
b615a240fb Fix linux bustage, thanks to waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@19321 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 09:08:43 +00:00
waterson%netscape.com
ffe5330693 Added code to release individual assertion elements when the data source is destroyed: this should close some major leakage.
git-svn-id: svn://10.0.0.236/trunk@19320 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 08:06:38 +00:00
alecf%netscape.com
91f5fd0864 unix should support netlib on another thread too.
git-svn-id: svn://10.0.0.236/trunk@19319 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 07:59:20 +00:00
alecf%netscape.com
3f8f8174e9 implement generic Netlib main loop for non-PC platforms
git-svn-id: svn://10.0.0.236/trunk@19318 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 07:58:39 +00:00
alecf%netscape.com
5d76377adf make this thread safer by addreffing it before storing the variable
Also check pURL before dereferencing


git-svn-id: svn://10.0.0.236/trunk@19317 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 07:57:56 +00:00
law%netscape.com
e012c791a4 Fixed off-by-one bug in Next()
git-svn-id: svn://10.0.0.236/trunk@19316 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 07:43:23 +00:00
law%netscape.com
a0c9344277 Enhanced test program to display values
git-svn-id: svn://10.0.0.236/trunk@19315 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 07:41:16 +00:00
waterson%netscape.com
4b222256c0 Fixed bug with refcounting of XUL atoms.
git-svn-id: svn://10.0.0.236/trunk@19314 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 07:38:03 +00:00
mcafee%netscape.com
7ee6a57d1a Ok, trying to build tests again
git-svn-id: svn://10.0.0.236/trunk@19313 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 07:36:04 +00:00
mcafee%netscape.com
7440ed82c0 Force third install pass so we can build tests, weird dependencies crop up if we do libs & install at the same time. Thanks to kipp@netscape.com for the idea for this fix.
git-svn-id: svn://10.0.0.236/trunk@19312 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 07:34:20 +00:00
mcafee%netscape.com
cb97dd5de6 Ignore generated binaries.
git-svn-id: svn://10.0.0.236/trunk@19311 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 07:31:58 +00:00
mcafee%netscape.com
dd964b43c8 Ignore generated Makefiles
git-svn-id: svn://10.0.0.236/trunk@19310 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 07:31:27 +00:00
waterson%netscape.com
77936fd6a9 Forgot to NS_INIT_REFCNT().
git-svn-id: svn://10.0.0.236/trunk@19308 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 07:09:48 +00:00
waterson%netscape.com
0712c2788d Fixed some refcounting bugs.
git-svn-id: svn://10.0.0.236/trunk@19307 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 07:07:32 +00:00
waterson%netscape.com
c8c059d33e Fixed some refcounting and initialization bugs.
git-svn-id: svn://10.0.0.236/trunk@19306 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 07:06:56 +00:00
waterson%netscape.com
3b381afeb1 Fixed a pile of refcounting bugs.
git-svn-id: svn://10.0.0.236/trunk@19305 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 07:06:06 +00:00
waterson%netscape.com
1623d393fc Fixed an off-by-one error in the dtor.
git-svn-id: svn://10.0.0.236/trunk@19304 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 07:05:52 +00:00
mcafee%netscape.com
0023fc15ec Ignore generated SimpleTypeLib, PrimitiveTestexecutables
git-svn-id: svn://10.0.0.236/trunk@19303 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 06:20:46 +00:00
mcafee%netscape.com
fb32eba0f8 Ignore generated xpt_dump executable
git-svn-id: svn://10.0.0.236/trunk@19302 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 06:19:50 +00:00
mcafee%netscape.com
b1a0eb3163 Ignore generated localfile executable
git-svn-id: svn://10.0.0.236/trunk@19301 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 06:18:53 +00:00
mcafee%netscape.com
b19eee5b4b Ignore generated nettest executable
git-svn-id: svn://10.0.0.236/trunk@19300 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 06:17:14 +00:00
mcafee%netscape.com
b055d2520d Ignore generated jscpucfg, jsautocfg.h files
git-svn-id: svn://10.0.0.236/trunk@19299 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 06:15:27 +00:00
mcafee%netscape.com
d5a8d19eb1 Ignore genereated Makefile
git-svn-id: svn://10.0.0.236/trunk@19298 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 06:13:16 +00:00
mcafee%netscape.com
dc7a687c9d Ignore generated Makefiles
git-svn-id: svn://10.0.0.236/trunk@19297 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 06:11:26 +00:00
mcafee%netscape.com
647eb1d958 Better attempt at linking on Linux
git-svn-id: svn://10.0.0.236/trunk@19296 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 05:59:00 +00:00
mcafee%netscape.com
d2b59b1bfa This is closer to building on Linux, still not there
git-svn-id: svn://10.0.0.236/trunk@19295 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 05:44:41 +00:00
mcafee%netscape.com
401de7180c widget test now builds on Linux
git-svn-id: svn://10.0.0.236/trunk@19294 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 05:42:37 +00:00
mcafee%netscape.com
41ecacbee9 scribble now builds on Linux
git-svn-id: svn://10.0.0.236/trunk@19293 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 05:42:13 +00:00
warren%netscape.com
df698d7c1c Added missing include
git-svn-id: svn://10.0.0.236/trunk@19292 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 05:40:03 +00:00
waterson%netscape.com
3e18f440b4 Moved nsXULAtoms::AddrefAtoms() and ReleaseAtoms() to the style sheet's ctor and dtor, as per Peter Linss suggestion.
git-svn-id: svn://10.0.0.236/trunk@19291 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 05:39:57 +00:00
warren%netscape.com
605e70727b Made objs build into objdir.
git-svn-id: svn://10.0.0.236/trunk@19290 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 05:39:41 +00:00
bienvenu%netscape.com
3e325f9930 add api's to convert back and forth between yarn and ints and strings
git-svn-id: svn://10.0.0.236/trunk@19289 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 05:09:34 +00:00
troy%netscape.com
cfc04998c0 Implemented fixed position tables
git-svn-id: svn://10.0.0.236/trunk@19288 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 04:28:55 +00:00
mcafee%netscape.com
2ffa9f9553 Yanking tests until dependency problem is fixed.
git-svn-id: svn://10.0.0.236/trunk@19287 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 04:25:03 +00:00
alecf%netscape.com
3ef07d3bdc rename MOZ_MAIL_NEWS macro to OLD_MOZ_MAIL_NEWS so that we can build the whole client with MOZ_MAIL_NEWS turned on.
git-svn-id: svn://10.0.0.236/trunk@19286 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 04:14:03 +00:00
alecf%netscape.com
0c07a9e0b5 rename old MOZ_MAIL_NEWS macro to OLD_MOZ_MAIL_NEWS so that we can turn on MOZ_MAIL_NEWS flag to build the whole client
git-svn-id: svn://10.0.0.236/trunk@19285 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 04:13:24 +00:00
mcafee%netscape.com
e056d8845f Dependency problem, pulling tests out to fix breakage
git-svn-id: svn://10.0.0.236/trunk@19284 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 03:59:34 +00:00
mcafee%netscape.com
a2cae97390 TestCSSParser, TestCSSPropertyLookup, and TestCSSScanner now build on Linux
git-svn-id: svn://10.0.0.236/trunk@19283 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 03:40:30 +00:00
mcafee%netscape.com
ee072a8d45 TestSpaceManager now builds on Linux
git-svn-id: svn://10.0.0.236/trunk@19282 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 03:31:44 +00:00
mcafee%netscape.com
7df195b4a9 I can't find nscoord.h, yanking this for Linux
git-svn-id: svn://10.0.0.236/trunk@19281 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 03:30:38 +00:00
peterl%netscape.com
f7bd2c0d45 fixed bug handling multiple namespace declarations in one tag
git-svn-id: svn://10.0.0.236/trunk@19280 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 03:24:56 +00:00
peterl%netscape.com
dda3c38f63 made visible an int instead of bool
git-svn-id: svn://10.0.0.236/trunk@19279 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 03:24:23 +00:00
peterl%netscape.com
8593007767 removed default html namespace prefix
git-svn-id: svn://10.0.0.236/trunk@19278 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 03:23:36 +00:00
mcafee%netscape.com
c62da8b2cb htmlrobot test now builds on Linux
git-svn-id: svn://10.0.0.236/trunk@19277 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 03:21:01 +00:00
mcafee%netscape.com
8e813bd41d First checkin for unix
git-svn-id: svn://10.0.0.236/trunk@19276 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 03:18:44 +00:00
mcafee%netscape.com
a59efb63f6 Adding License
git-svn-id: svn://10.0.0.236/trunk@19275 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 03:16:52 +00:00
mcafee%netscape.com
135dbd204b TestAtoms, TestCRT, CvtURL now build on Linux, removing unused REQUIRES line
git-svn-id: svn://10.0.0.236/trunk@19274 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 03:16:07 +00:00
mcafee%netscape.com
aaea1a6f10 Moving fe_GetConfigDir() to prefs.
git-svn-id: svn://10.0.0.236/trunk@19273 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 03:12:36 +00:00
mscott%netscape.com
01b182a941 Fix a bug in my ReadLine implementation where I wasn't properly killing off CRLFs before returning the line. Added code which writes article contents to a file as RFC-822. Now we just need a hook into the viewer app to display the file and we can display articles in HTML. Yeah!.
git-svn-id: svn://10.0.0.236/trunk@19272 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 03:09:50 +00:00
mcafee%netscape.com
d33a6174ce Moving XP_ReBuffer() and XP_Trace() from xp_stubs.c to xp_stub.c, sorry I didn't see the original stub file. Retiring xp_stubs.c.
git-svn-id: svn://10.0.0.236/trunk@19271 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 03:08:03 +00:00
mscott%netscape.com
900fbb5b81 Cast away constness for newsgroup interface for testing purposes...If we need to do this in the real news host, we'll change the news host interface such that the newsgroup passed in is not const..
git-svn-id: svn://10.0.0.236/trunk@19270 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 03:05:39 +00:00
mscott%netscape.com
66ff7d6ede Changed file name.
git-svn-id: svn://10.0.0.236/trunk@19269 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 02:50:46 +00:00
beard%netscape.com
c26752a8aa added files: mozilla/base/src/nsArena.cpp
git-svn-id: svn://10.0.0.236/trunk@19268 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 02:46:00 +00:00
leaf%mozilla.org
09c884c8aa readding file for mscott
git-svn-id: svn://10.0.0.236/trunk@19267 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 02:33:32 +00:00
sfraser%netscape.com
2a038800f6 Add method to nsIDOMSelection to get focus and anchor nodes and offsets, and implemenations for these in nsRangeList.cpp
git-svn-id: svn://10.0.0.236/trunk@19266 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 02:13:09 +00:00
mcafee%netscape.com
04932fcd30 Ignore generated binaries
git-svn-id: svn://10.0.0.236/trunk@19265 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 01:52:35 +00:00
mcafee%netscape.com
419fe98bf5 Ignore generated binaries
git-svn-id: svn://10.0.0.236/trunk@19264 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 01:47:19 +00:00
rhp%netscape.com
366dbd219b Changes for XPCOM interface.
git-svn-id: svn://10.0.0.236/trunk@19263 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 01:46:54 +00:00
rhp%netscape.com
982b3ff51a changes for xpcom interface
git-svn-id: svn://10.0.0.236/trunk@19262 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 01:46:02 +00:00
rhp%netscape.com
cf0eb7b62e updates for bulid changes
git-svn-id: svn://10.0.0.236/trunk@19261 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 01:45:35 +00:00
kipp%netscape.com
fd697cbe2a Added a missing init of the refcnt
git-svn-id: svn://10.0.0.236/trunk@19260 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 01:32:09 +00:00
coop%netscape.com
974dbf9b53 NOT YET PART OF SEAMONKEY:
* fixed header pointer assignment problem
* removed useless defines
* added correct level of indirection for sub-structs of header


git-svn-id: svn://10.0.0.236/trunk@19259 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 01:26:36 +00:00
rhp%netscape.com
9a46a4c943 New changes for XP-COM interface for Content Type handler
plugins.


git-svn-id: svn://10.0.0.236/trunk@19258 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 01:21:14 +00:00
mjudge%netscape.com
aa9093858b scoping incorrect for for loops on vc5.0 didnt catch this. nasty habbit of mine.
git-svn-id: svn://10.0.0.236/trunk@19257 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 01:18:41 +00:00
mjudge%netscape.com
1e15924c47 commas trailing on enum illegal even if vc50 says its ok
git-svn-id: svn://10.0.0.236/trunk@19256 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 01:16:57 +00:00
rhp%netscape.com
811c8829eb Update test for accessing XP-COM interface.
git-svn-id: svn://10.0.0.236/trunk@19255 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 01:11:42 +00:00
rhp%netscape.com
19d72edc18 New files for accessing XP-COM interface for libmime internals
git-svn-id: svn://10.0.0.236/trunk@19254 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 01:10:00 +00:00
rhp%netscape.com
50650d1c8c Changes to access XP-COM interface.
git-svn-id: svn://10.0.0.236/trunk@19253 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 01:09:05 +00:00
rhp%netscape.com
06bff9b9a8 Accessing internal object system via XP-COM.
git-svn-id: svn://10.0.0.236/trunk@19252 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 01:08:13 +00:00
mcafee%netscape.com
ae52a34706 Ignore generated Makefile
git-svn-id: svn://10.0.0.236/trunk@19251 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 01:03:32 +00:00
bienvenu%netscape.com
80a9fb0776 start adding message headers to db
git-svn-id: svn://10.0.0.236/trunk@19250 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 00:53:19 +00:00
bienvenu%netscape.com
f5878ed8e4 start using row methods
git-svn-id: svn://10.0.0.236/trunk@19249 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 00:52:17 +00:00
mcmullen%netscape.com
b746e6d1ee Write recent errors file to log file ALWAYS, so that the log file contains warnings, too. Get MacPerl to call WaitNextEvent() while doing manifest, so that you can get other work done during this lengthy process.
git-svn-id: svn://10.0.0.236/trunk@19248 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 00:51:09 +00:00
waterson%netscape.com
8634509e0c Initial revision.
git-svn-id: svn://10.0.0.236/trunk@19247 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 00:43:56 +00:00
mjudge%netscape.com
1b0340eba8 keyboard navigation of selection. adding API for nsIFrame. fixing nsFrame and nstextframe to reflect the implementations of the nsIFrame API. nsRangeList implements the handlekeyevent now.
git-svn-id: svn://10.0.0.236/trunk@19246 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 00:23:40 +00:00
alecf%netscape.com
650287af74 update nsIMsgFolder to reflect new XPIDL compiler output
git-svn-id: svn://10.0.0.236/trunk@19245 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 00:20:21 +00:00
alecf%netscape.com
d5819916cd first attempt at using PL_ProcessEventQueue as the Unix main loop
git-svn-id: svn://10.0.0.236/trunk@19244 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 00:19:40 +00:00
alecf%netscape.com
e4c4c9d8ea update to reflect new XPIDL generated API
git-svn-id: svn://10.0.0.236/trunk@19243 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 00:18:11 +00:00
alecf%netscape.com
cbaa5243df fix case error so that we include the right file
git-svn-id: svn://10.0.0.236/trunk@19242 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 00:16:50 +00:00
briano%netscape.com
3e6b9cfd1e Automated update
git-svn-id: svn://10.0.0.236/trunk@19241 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 00:16:20 +00:00
alecf%netscape.com
939ab6d0cd update header files with output from new XPIDL compiler
git-svn-id: svn://10.0.0.236/trunk@19240 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 00:15:54 +00:00
alecf%netscape.com
936d8ad703 build local folders in Unix build
git-svn-id: svn://10.0.0.236/trunk@19239 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 00:13:52 +00:00
alecf%netscape.com
b69286f58e don't check in Makefile
git-svn-id: svn://10.0.0.236/trunk@19238 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 00:13:17 +00:00
wtc%netscape.com
18342c47bf Bugsplat bug #340658: implemented a version of the atomic routines
for the pthreads version that doesn't require NSPR to be initialized.


git-svn-id: svn://10.0.0.236/trunk@19234 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 00:08:25 +00:00
nhotta%netscape.com
f1674f9cf6 Changed the class name from WinFactory to UnixFactory.
git-svn-id: svn://10.0.0.236/trunk@19233 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 23:56:54 +00:00
davidm%netscape.com
9999c1cab2 2439 [PP] Links are not underlined correctly
git-svn-id: svn://10.0.0.236/trunk@19232 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 23:50:25 +00:00
kmcclusk%netscape.com
ca814679f8 TextAreas now initialize their content area using default text specified in
the HTML File.


git-svn-id: svn://10.0.0.236/trunk@19231 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 23:49:21 +00:00
nhotta%netscape.com
c7a22ef7de Changed out string to nsString.
git-svn-id: svn://10.0.0.236/trunk@19229 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 23:40:02 +00:00
nhotta%netscape.com
d0bdba0970 Changed for nsIDateTimeFormat interface.
git-svn-id: svn://10.0.0.236/trunk@19228 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 23:33:13 +00:00
wtc%netscape.com
f9d634c294 Pthreads version doesn't need _MD_StartInterrupts().
Modified files: prinit.c and ptmisc.c.


git-svn-id: svn://10.0.0.236/trunk@19227 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 23:25:44 +00:00
wtc%netscape.com
b06d843c95 Commented out the sigwait() call for BSDI. BSD/OS 3.1 does not have
the sigwait() function.


git-svn-id: svn://10.0.0.236/trunk@19226 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 23:24:58 +00:00
joki%netscape.com
b0a2e83b0f Modifying window.closed to check existence to webshell, not document
git-svn-id: svn://10.0.0.236/trunk@19225 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 23:21:58 +00:00
waterson%netscape.com
9625211c9b Modified style sheet to have appropriate XUL tree styles.
git-svn-id: svn://10.0.0.236/trunk@19224 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 23:11:31 +00:00
kmcclusk%netscape.com
1d86b393e9 Modified nsTextControlFrame::Paint to correctly paint the contents of a
multi-line text area.


git-svn-id: svn://10.0.0.236/trunk@19223 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 23:09:06 +00:00
waterson%netscape.com
35b37a84cb Force an nsXULAtoms::AddrefAtoms to ensure that the XUL atoms and namespace are created in the layout DLL before trying to refer to them. (a=hyatt%netscape.com)
git-svn-id: svn://10.0.0.236/trunk@19222 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 23:06:49 +00:00
terry%netscape.com
70f16066f3 Stop sending mail to tinderbox.seawood.org; it seems no longer to be
in business.


git-svn-id: svn://10.0.0.236/trunk@19218 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 22:50:55 +00:00
terry%netscape.com
b45ff08c16 Make page auto-reload every fifteen minutes.
git-svn-id: svn://10.0.0.236/trunk@19216 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 22:46:51 +00:00
joki%netscape.com
f85ee98763 Modifying view event flow to always start processing from top view, not enter at children
git-svn-id: svn://10.0.0.236/trunk@19215 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 22:45:59 +00:00
dp%netscape.com
31a11f15b7 Dll Hash table
git-svn-id: svn://10.0.0.236/trunk@19212 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 22:41:22 +00:00
dp%netscape.com
81140e2096 Dll abstraction
git-svn-id: svn://10.0.0.236/trunk@19211 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 22:40:48 +00:00
waterson%netscape.com
ce83955a74 Renamed Init() to SetContentModelBuidler().
git-svn-id: svn://10.0.0.236/trunk@19210 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 22:35:17 +00:00
waterson%netscape.com
e17a2e3b4f Content model builder is now specified by XML processing instruction. Modified code to handle new XUL tree widget content model (based on table code). Added CID fields to all the interfaces so that nsCOMPtr will work. Juggled some of the content model builder stuff around in an attempt to make things a bit saner.
git-svn-id: svn://10.0.0.236/trunk@19209 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 22:34:51 +00:00
ftang%netscape.com
be5365a85d turn on ATSUI and use it in the case of non-ASCII characters so we can start testing Japanese pages such as http://home.netscape.com/ja
git-svn-id: svn://10.0.0.236/trunk@19208 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 22:32:40 +00:00
waterson%netscape.com
ec955224ea Content model builder CID now specified by XML processing instruction.
git-svn-id: svn://10.0.0.236/trunk@19207 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 22:30:42 +00:00
mscott%netscape.com
ca27edb003 Build tests directory as part of the news build....
git-svn-id: svn://10.0.0.236/trunk@19206 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 22:20:37 +00:00
mscott%netscape.com
3737c2cea4 Add ReadNewsRC test to nntp test suite...
git-svn-id: svn://10.0.0.236/trunk@19205 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 22:19:55 +00:00
mscott%netscape.com
a897eb02c6 Added some code for supporting readnewsrc stuff...
git-svn-id: svn://10.0.0.236/trunk@19204 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 22:19:11 +00:00
mscott%netscape.com
dd71b22d20 Removing extra printf....
git-svn-id: svn://10.0.0.236/trunk@19203 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 22:18:52 +00:00
dp%netscape.com
ed1703e7ca Dynamic Component Registration
git-svn-id: svn://10.0.0.236/trunk@19202 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 22:17:58 +00:00
mscott%netscape.com
b51c2b461b Use new name for mailnews library..msgcore.
git-svn-id: svn://10.0.0.236/trunk@19201 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 22:11:19 +00:00
beard%netscape.com
db78d2ea89 removed files: mozilla/build/mac/test/test1.cpp
git-svn-id: svn://10.0.0.236/trunk@19198 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 21:51:01 +00:00
cyeh%netscape.com
98f422ca3b added files: mozilla/build/mac/test/test2.cpp
git-svn-id: svn://10.0.0.236/trunk@19197 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 21:24:59 +00:00
terry%netscape.com
87c3c0147a NSPR bugs now go to srinivas@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@19196 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 21:06:26 +00:00
kipp%netscape.com
d64a49c1df Checked in a probable fix to the windoze build
git-svn-id: svn://10.0.0.236/trunk@19195 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 20:56:47 +00:00
erik%netscape.com
64d873eedf removing strres again, coz it apparently doesn't work for others. sigh...
git-svn-id: svn://10.0.0.236/trunk@19194 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 20:48:28 +00:00
wtc%netscape.com
22930c0928 In _PR_InitThreads, call pthread_init to explicitly initialize the
pthread subsystem on BSD/OS because pthread_self() fails to initialize
pthreads implicitly.  This patch is contributed by Bert Driehuis
<bert_driehuis@nl.compuware.com>.


git-svn-id: svn://10.0.0.236/trunk@19193 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 20:01:36 +00:00
wtc%netscape.com
a425bde170 Added a missing PR_htons call. Thanks to Bert Driehuis
<bert_driehuis@nl.compuware.com> for the bug report and fix.


git-svn-id: svn://10.0.0.236/trunk@19192 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 19:56:49 +00:00
wtc%netscape.com
d381cc106d Changed /usr/tmp/ to /tmp/. BSD/OS does not have /usr/tmp/.
Thanks to Bert Driehuis <bert_driehuis@nl.compuware.com> for the fix.


git-svn-id: svn://10.0.0.236/trunk@19191 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 19:55:48 +00:00
wtc%netscape.com
92220dd477 Run the default test program 'cvar -c 2000" if no command-line
arguments are given.


git-svn-id: svn://10.0.0.236/trunk@19190 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 19:26:56 +00:00
erik%netscape.com
b9c5d267b1 added strres to build again, now that raptorbase.lib dependency is solved
git-svn-id: svn://10.0.0.236/trunk@19189 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 19:24:05 +00:00
erik%netscape.com
3baa7920d4 commented out the REQUIRES line to get around dependency problem with
raptorbase.lib when building strres.dll


git-svn-id: svn://10.0.0.236/trunk@19188 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 19:23:34 +00:00
wtc%netscape.com
ee128013bb In primpl.h, moved the definitions of macros _PR_MD_INIT_LOCKS and
_PR_MD_START_INTERRUPTS from the common section to the classic nspr
section.  These macros are not used in the pthreads version.
Modified files: primpl.h, _pth.h, and ptsynch.c.


git-svn-id: svn://10.0.0.236/trunk@19187 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 19:20:05 +00:00
kipp%netscape.com
4e2026137a Fixed invocation bug that mac compiler caught
git-svn-id: svn://10.0.0.236/trunk@19186 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 19:08:30 +00:00
kmcclusk%netscape.com
1b772da460 Moved GetPrimaryFrame to nsGenericHTMLElement.
Modifed nsHTMLTextAreaElement to go through it's frame to set and get values


git-svn-id: svn://10.0.0.236/trunk@19185 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 18:44:59 +00:00
troy%netscape.com
98f969bf7a Made sure that fixed positioned elements gets a widget
git-svn-id: svn://10.0.0.236/trunk@19184 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 18:36:23 +00:00
ftang%netscape.com
4d3133bdbb integrate unicode converter into scanner and make the default charset = iso-8859-1
git-svn-id: svn://10.0.0.236/trunk@19183 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 18:23:31 +00:00
pinkerton%netscape.com
1e0b972df8 renamed nsDOMWindowList.cpp for kipp
git-svn-id: svn://10.0.0.236/trunk@19182 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 18:18:51 +00:00
kipp%netscape.com
e24ccd1b45 Use dom-window-list instead of obsolete nsFrameList
git-svn-id: svn://10.0.0.236/trunk@19181 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 18:14:20 +00:00
troy%netscape.com
65ea939186 Fixed it so scrollable BLOCK elements can be fixed positioned
git-svn-id: svn://10.0.0.236/trunk@19180 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 18:09:57 +00:00
kipp%netscape.com
402b6ec1bc Removed a dead variable and a dead include
git-svn-id: svn://10.0.0.236/trunk@19179 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 18:04:34 +00:00
kipp%netscape.com
d107e8051d new
git-svn-id: svn://10.0.0.236/trunk@19178 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 17:37:11 +00:00
kipp%netscape.com
13492021b8 Fixed pseudo style atom value
git-svn-id: svn://10.0.0.236/trunk@19177 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 17:34:31 +00:00
kipp%netscape.com
9419e22aa4 Added anonymous block style rule
git-svn-id: svn://10.0.0.236/trunk@19176 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 17:34:16 +00:00
kipp%netscape.com
9a7378369c Implement TreatFrameAsBlock
git-svn-id: svn://10.0.0.236/trunk@19175 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 17:32:49 +00:00
kipp%netscape.com
a0b7918004 Added another TreatFrameAsBlock method
git-svn-id: svn://10.0.0.236/trunk@19174 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 17:32:33 +00:00
kipp%netscape.com
0a6cd2c879 Updated a comment
git-svn-id: svn://10.0.0.236/trunk@19173 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 17:32:19 +00:00
kipp%netscape.com
8f2fcbc3a4 Minor bug fixing; reworked PullFrame; added VerifyParent
git-svn-id: svn://10.0.0.236/trunk@19172 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 17:32:05 +00:00
kipp%netscape.com
26fdda6dbd Added some comments :-)
git-svn-id: svn://10.0.0.236/trunk@19171 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 17:31:37 +00:00
kipp%netscape.com
cf5063c014 Removed ReplaceFrame
git-svn-id: svn://10.0.0.236/trunk@19170 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 17:31:21 +00:00
kipp%netscape.com
84f3dca4a1 Removed ReplaceFrame; tweaked frame updates impls
git-svn-id: svn://10.0.0.236/trunk@19169 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 17:31:10 +00:00
kipp%netscape.com
00ad4c7a11 Fixed up debug output
git-svn-id: svn://10.0.0.236/trunk@19168 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 17:29:58 +00:00
kipp%netscape.com
1802215d17 Implement anonymous block frame code; fixup base class InsertNewFrames to support multiple frame insertion
git-svn-id: svn://10.0.0.236/trunk@19167 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 17:29:37 +00:00
kipp%netscape.com
0fdc9e7968 Renamed InsertNewFrame->s; defined nsAnonymousBlock class
git-svn-id: svn://10.0.0.236/trunk@19166 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 17:28:39 +00:00
kipp%netscape.com
18145e4022 Rewritten to use an anon. block frame to manage block children
git-svn-id: svn://10.0.0.236/trunk@19165 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 17:27:56 +00:00
kipp%netscape.com
21d86e6a91 Cleaned up comments; removed ReplaceFrame from the API
git-svn-id: svn://10.0.0.236/trunk@19164 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 17:25:30 +00:00
kipp%netscape.com
9448a26899 Switch to using renamed source file
git-svn-id: svn://10.0.0.236/trunk@19163 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 17:17:11 +00:00
kipp%netscape.com
f80cb9fa1c new
git-svn-id: svn://10.0.0.236/trunk@19162 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 17:16:17 +00:00
troy%netscape.com
97891adcdc Fixed logic that determines whether there's currently a visible vertical
scrollbar


git-svn-id: svn://10.0.0.236/trunk@19161 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 16:32:54 +00:00
guha%netscape.com
2ec8c99af4 open directory related stuff
git-svn-id: svn://10.0.0.236/trunk@19158 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 16:32:37 +00:00
rhp%netscape.com
97751ac24a Changes for nsISupports implementation
git-svn-id: svn://10.0.0.236/trunk@19157 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 16:26:42 +00:00
rhp%netscape.com
944561658d Update for nsISupports.
git-svn-id: svn://10.0.0.236/trunk@19156 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 16:24:15 +00:00
dcone%netscape.com
becdf77adc Added the Transparency for the GIF.
git-svn-id: svn://10.0.0.236/trunk@19155 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 15:38:31 +00:00
mcafee%netscape.com
8a4d2c923f Moving ValidateDocData() to mozilla/network/util/mkbuf.c for all platforms
git-svn-id: svn://10.0.0.236/trunk@19154 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 12:45:49 +00:00
mcafee%netscape.com
9618cf9f73 Moving ValidateDocData() stub to mozilla/network/util/mkbuf.c
git-svn-id: svn://10.0.0.236/trunk@19153 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 12:36:46 +00:00
mcafee%netscape.com
56c03db38d ValidateDocData() isn't implemented anywhere, the only usage is in this file and there's 8 stubs in the tree to get around the undefine. Moving the stub to this file in lieu of yanking it; will remove other stubs from viewer, apprunner, etc.
git-svn-id: svn://10.0.0.236/trunk@19152 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 12:33:19 +00:00
mcafee%netscape.com
d2ab8961fb Adding license; moved XP_Rebuffer() and XP_Trace() stubs to lib/xp/xp_stubs.c
git-svn-id: svn://10.0.0.236/trunk@19151 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 11:06:22 +00:00
mcafee%netscape.com
b6adda0c36 Adding stubs for XP_ReBuffer() and XP_Trace() so we don't keep copying stubs around the tree; both viewer and apprunner had their own versions of this
git-svn-id: svn://10.0.0.236/trunk@19150 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 11:03:45 +00:00
mcafee%netscape.com
426d480a11 Un-inlined CTagList::Contains() to fix Mac & Linux bustage.
git-svn-id: svn://10.0.0.236/trunk@19149 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 09:49:36 +00:00
rickg%netscape.com
f253a6fb30 changed pointcom to pointcast
git-svn-id: svn://10.0.0.236/trunk@19148 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 06:33:22 +00:00
rickg%netscape.com
b04efd48dc fixed deficiency in table
git-svn-id: svn://10.0.0.236/trunk@19147 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 06:31:30 +00:00
briano%netscape.com
64d0c89c72 Automated update
git-svn-id: svn://10.0.0.236/trunk@19146 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 06:30:39 +00:00
briano%netscape.com
77e79d58e6 Fixed a typo that was preventing our shared libs from being loaded on NetBSD (bugzilla #2811). Thanks to gduzan@acm.org for pointing it out.
git-svn-id: svn://10.0.0.236/trunk@19145 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 06:19:08 +00:00
tague%netscape.com
42ec731119 Added intl:locale and intl:unicharutil to build.
git-svn-id: svn://10.0.0.236/trunk@19144 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 04:41:18 +00:00
tague%netscape.com
50ba5df259 Modified LocaleSelfTest to look for it's components in NSLOCALE_DLL on the Mac. (This mirrors the other builds.)
git-svn-id: svn://10.0.0.236/trunk@19143 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 04:37:47 +00:00
tague%netscape.com
181faf3bd7 Updated MANIFEST file. Removed leading # characters.
git-svn-id: svn://10.0.0.236/trunk@19142 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 04:36:52 +00:00
tague%netscape.com
acdf911ecc Added nsILocale and nsILocaleFactory to the Mac build.
git-svn-id: svn://10.0.0.236/trunk@19141 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 04:35:53 +00:00
tague%netscape.com
b381e908c8 Changed Mac build to mirror the Windows and Unix builds. Put the definition of nsLocaleMacFactory into a header file.
git-svn-id: svn://10.0.0.236/trunk@19140 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 04:35:21 +00:00
tague%netscape.com
925034f981 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@19139 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 04:32:55 +00:00
tague%netscape.com
c8ae23014e Renamed targets from unicharutil*.shlib to unicharutil*.shlb.
git-svn-id: svn://10.0.0.236/trunk@19138 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 04:31:37 +00:00
rickg%netscape.com
4b6b00ac86 mondo improvements to DTD
git-svn-id: svn://10.0.0.236/trunk@19137 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 04:24:37 +00:00
bienvenu%netscape.com
3a39ddc0f6 make a few methods public for compiling purposes
git-svn-id: svn://10.0.0.236/trunk@19136 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 03:03:58 +00:00
bienvenu%netscape.com
2bc8f51851 add a couple error defines for db opening
git-svn-id: svn://10.0.0.236/trunk@19135 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 03:03:10 +00:00
bienvenu%netscape.com
3af53581db add (temporarily?) types for sorting and views
git-svn-id: svn://10.0.0.236/trunk@19134 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 02:59:06 +00:00
bienvenu%netscape.com
d015b67976 initial entry into cvs
git-svn-id: svn://10.0.0.236/trunk@19133 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 02:56:27 +00:00
bienvenu%netscape.com
ea0acaeb35 start hooking up mdb calls
git-svn-id: svn://10.0.0.236/trunk@19132 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 02:55:32 +00:00
srinivas%netscape.com
04c3551b99 Add support for creating bound threads. Bug 338607.
git-svn-id: svn://10.0.0.236/trunk@19131 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 00:41:51 +00:00
briano%netscape.com
df811fb275 Automated update
git-svn-id: svn://10.0.0.236/trunk@19130 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-31 22:00:32 +00:00
mcafee%netscape.com
d7f29bdcb2 Adding htmlparser/tests
git-svn-id: svn://10.0.0.236/trunk@19129 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-31 21:59:59 +00:00
mcafee%netscape.com
216603b4f9 First checkin for Linux
git-svn-id: svn://10.0.0.236/trunk@19128 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-31 21:55:47 +00:00
mcafee%netscape.com
2ff2fbf5d7 Get this test to build on Linux
git-svn-id: svn://10.0.0.236/trunk@19127 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-31 21:51:44 +00:00
mcafee%netscape.com
f180303d1c Fixing compiler error on Linux
git-svn-id: svn://10.0.0.236/trunk@19126 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-31 21:41:50 +00:00
mcafee%netscape.com
51ebcfae81 Removing unused REQUIRES line
git-svn-id: svn://10.0.0.236/trunk@19125 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-31 20:14:35 +00:00
troy%netscape.com
781dc0721c Removed some merge conflicts that someone must have accidentally checked in
git-svn-id: svn://10.0.0.236/trunk@19124 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-31 19:50:52 +00:00
troy%netscape.com
211b9e9e06 Changed Reflow() to make sure the desired-size members of the reflow metrics
struct are set in the case where there is no child frame


git-svn-id: svn://10.0.0.236/trunk@19123 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-31 18:46:22 +00:00
troy%netscape.com
a02386ecfe Fix for bug #2748. Reset the scroll-position to 0 when the scrollbar
is no longer needed


git-svn-id: svn://10.0.0.236/trunk@19122 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-31 18:42:13 +00:00
jwz%mozilla.org
932ac26445 more of the above -- for the ?raw=1 link in
http://cvs-mirror.mozilla.org/webtools/lxr/source/build/mac/client.mac/Client.Mac%20READ%20ME


git-svn-id: svn://10.0.0.236/trunk@19121 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-31 11:18:32 +00:00
jwz%mozilla.org
5a1c144232 changed `fileref' to do URL quoting, so that (for example)
http://cvs-mirror.mozilla.org/webtools/lxr/source/build/mac/client.mac/
links "Client.Mac READ ME" to
".../client.mac/Client.Mac%20READ%20ME" instead of
".../client.mac/Client.Mac READ ME"


git-svn-id: svn://10.0.0.236/trunk@19120 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-31 10:52:32 +00:00
mcafee%netscape.com
249dbc3f77 removing unused REQUIRES line
git-svn-id: svn://10.0.0.236/trunk@19119 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-31 10:13:55 +00:00
mcafee%netscape.com
81f5bef64b Removing unnecessary rules
git-svn-id: svn://10.0.0.236/trunk@19118 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-31 10:06:38 +00:00
mcafee%netscape.com
69a43fa2f3 Removing unnecessary rules, cleaning this up a bit
git-svn-id: svn://10.0.0.236/trunk@19117 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-31 09:39:09 +00:00
mscott%netscape.com
a789f70484 Removed nsMsgKeyPtrArray because it doesn't buid on linux (it depends on unsigned key array which isn't building on linux yet...)
git-svn-id: svn://10.0.0.236/trunk@19116 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-31 08:23:37 +00:00
mscott%netscape.com
57b368b683 More changes for the test harness to build on Linux....
git-svn-id: svn://10.0.0.236/trunk@19115 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-31 08:20:41 +00:00
mscott%netscape.com
4fb36ff503 define fe_configTemp to build on linux...comment out mime calls for now.
git-svn-id: svn://10.0.0.236/trunk@19114 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-31 08:18:02 +00:00
mscott%netscape.com
0c2d63e0ac Implement init call in order to link...
git-svn-id: svn://10.0.0.236/trunk@19113 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-31 08:13:37 +00:00
mscott%netscape.com
28aa049ef4 Remove reference to static delete operator
git-svn-id: svn://10.0.0.236/trunk@19112 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-31 08:10:30 +00:00
mscott%netscape.com
fba15c8b5c Build nsMsgPtrArray correctly. Remove flag preventing this library from being linked with others.
git-svn-id: svn://10.0.0.236/trunk@19111 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-31 07:53:21 +00:00
mscott%netscape.com
347d62dac2 Remove delete operator...
git-svn-id: svn://10.0.0.236/trunk@19110 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-31 07:48:59 +00:00
mscott%netscape.com
11f34a8a99 removing delete operator....next time the file is generated from its .idl equivalent, this would have
been removed.


git-svn-id: svn://10.0.0.236/trunk@19109 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-31 07:48:34 +00:00
mscott%netscape.com
8b491be57d get rid of XP_TO_UPPER and use nsCRT equivalents...get rid of NET_Unescape/Escape and use nsEscape.h equivalents...
git-svn-id: svn://10.0.0.236/trunk@19108 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-31 07:43:52 +00:00
mscott%netscape.com
7fd861cb1e Export some header files for the test harness..
git-svn-id: svn://10.0.0.236/trunk@19107 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-31 07:29:47 +00:00
mscott%netscape.com
9b9a44bb59 Build the nntpTest application.
git-svn-id: svn://10.0.0.236/trunk@19106 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-31 07:03:13 +00:00
mscott%netscape.com
859118e1e7 Nntp test harness and associated stub files....
git-svn-id: svn://10.0.0.236/trunk@19105 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-31 07:02:24 +00:00
mscott%netscape.com
1bbcfffa12 Export nsINntpUrl.h
git-svn-id: svn://10.0.0.236/trunk@19104 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-31 07:01:11 +00:00
mscott%netscape.com
834b70d5a4 Build nsINntpUrl.cpp lh
git-svn-id: svn://10.0.0.236/trunk@19103 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-31 07:00:14 +00:00
mscott%netscape.com
c57d3140d2 Use correct key for implementing Isupports...
git-svn-id: svn://10.0.0.236/trunk@19102 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-31 06:53:34 +00:00
mscott%netscape.com
11f0eed269 Export nsNntpUrl.h
git-svn-id: svn://10.0.0.236/trunk@19101 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-31 06:41:41 +00:00
mscott%netscape.com
9599105569 Declare the "factory" generator for newsgoup lists as an extern so I can implement it in my test code...
git-svn-id: svn://10.0.0.236/trunk@19100 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-31 06:40:13 +00:00
mscott%netscape.com
e569f50828 Extra code that came about from my test code. Cleaned up how we load a URL. When processing the state, if we don't have an input stream and the current state is a "response" state then kick out and pause for read. Also cleared up some #ifdef UNREADY_CODE. Incorporated new code added to nsINntpUrl.
git-svn-id: svn://10.0.0.236/trunk@19099 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-31 06:39:23 +00:00
mscott%netscape.com
e999a4d03d Implement ISupports for this class...
git-svn-id: svn://10.0.0.236/trunk@19098 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-31 06:37:17 +00:00
mscott%netscape.com
3fa6083a4b Added some extra debug code and declared the creation method as an extern so I can use it in my debug code...
git-svn-id: svn://10.0.0.236/trunk@19097 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-31 06:36:26 +00:00
mscott%netscape.com
4b5eccd041 Temporarily hiding link errors using very large #ifdefs....
git-svn-id: svn://10.0.0.236/trunk@19096 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-31 06:35:13 +00:00
mscott%netscape.com
47ea1b3168 Creating a news host requires a host and port....
git-svn-id: svn://10.0.0.236/trunk@19095 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-31 06:34:01 +00:00
mscott%netscape.com
7ba49b2604 Remove state flag debug information from header file and into nsNNTPProtocol.cpp....
git-svn-id: svn://10.0.0.236/trunk@19094 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-31 06:33:25 +00:00
mscott%netscape.com
7bd437338f Url implementations of nsINntpUrl.h for news...
git-svn-id: svn://10.0.0.236/trunk@19093 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-31 06:32:49 +00:00
mscott%netscape.com
bdbcec5a14 Export and build a heck of a lot more stuff...
git-svn-id: svn://10.0.0.236/trunk@19092 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-31 06:31:42 +00:00
mscott%netscape.com
249a6de092 Removing the delete operator from the interface. The IDL compiler will no longer generate these. So the next time the header files
were generated, the calls would have been removed anyway....


git-svn-id: svn://10.0.0.236/trunk@19091 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-31 06:30:32 +00:00
fur%netscape.com
c977b554c1 Ignore generated files.
git-svn-id: svn://10.0.0.236/trunk@19090 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-31 06:00:48 +00:00
troy%netscape.com
408d68e175 Fix for bug# 2780: changed root-frame and scroll-frame code to take into
account mCombinedArea


git-svn-id: svn://10.0.0.236/trunk@19089 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-31 05:12:02 +00:00
troy%netscape.com
c2c56781d3 Changed ReflowFixedFrame() to take the computed left and top margin into
account when placing the child


git-svn-id: svn://10.0.0.236/trunk@19088 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-31 05:09:29 +00:00
sfraser%netscape.com
8014626c2a First Checked In.
git-svn-id: svn://10.0.0.236/trunk@19087 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-31 00:27:56 +00:00
troy%netscape.com
def03bf7d8 Added code to force an absolutely positioned child that ignored its
computed height to be the correct height


git-svn-id: svn://10.0.0.236/trunk@19086 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-30 18:12:38 +00:00
troy%netscape.com
27d304bd81 Added code to make sure that a fixed child frame ends up with the correct height
evebn if it disregards the computed height value


git-svn-id: svn://10.0.0.236/trunk@19085 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-30 17:39:29 +00:00
ftang%netscape.com
e66c5bc47e add Charset Converter Manager and converters
git-svn-id: svn://10.0.0.236/trunk@19084 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-30 17:00:54 +00:00
ftang%netscape.com
d218178e48 export converter's cid header files into dist
git-svn-id: svn://10.0.0.236/trunk@19083 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-30 16:59:17 +00:00
ftang%netscape.com
44b879f5f9 add -I uconv
git-svn-id: svn://10.0.0.236/trunk@19082 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-30 16:52:29 +00:00
ftang%netscape.com
39294e692f add -I for uconv
git-svn-id: svn://10.0.0.236/trunk@19081 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-30 16:50:56 +00:00
karnaze%netscape.com
6ff27d1704 Made table frame construction flexible enough to allow arbitrary content to be mapped
to arbitrary table related display types.


git-svn-id: svn://10.0.0.236/trunk@19080 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-30 15:52:19 +00:00
peterl%netscape.com
4e782b81d6 fixed multi-link header delimiter (comma not semicolon)
fixed uninitialized blocking variable in header link code
fixed error return code for style sheet linking


git-svn-id: svn://10.0.0.236/trunk@19079 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-30 06:24:09 +00:00
peterl%netscape.com
5519426ab4 fixed namespace
git-svn-id: svn://10.0.0.236/trunk@19078 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-30 06:22:39 +00:00
peterl%netscape.com
07059872ed accept namespace none for attributes
git-svn-id: svn://10.0.0.236/trunk@19077 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-30 06:21:08 +00:00
peterl%netscape.com
ee35562351 made attribute accessors respect unknown namespace for getters (wildcard)
git-svn-id: svn://10.0.0.236/trunk@19076 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-30 06:20:39 +00:00
peterl%netscape.com
8ac1169f7d Added operator=(nsAutoString) for autostring
git-svn-id: svn://10.0.0.236/trunk@19075 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-30 06:19:52 +00:00
sar%netscape.com
c14e26a9fe fixing build breakage.
git-svn-id: svn://10.0.0.236/trunk@19074 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-30 03:53:39 +00:00
erik%netscape.com
da632d4a64 removing strres from build until I sort out the raptorbase.lib problem
git-svn-id: svn://10.0.0.236/trunk@19072 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-30 01:40:48 +00:00
waldemar%netscape.com
521fe96ab9 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@19071 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-30 01:19:00 +00:00
briano%netscape.com
1c93f033dd Automated update
git-svn-id: svn://10.0.0.236/trunk@19070 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-30 01:15:31 +00:00
leaf%mozilla.org
66bb35d84e making client.mak build apprunner by default. Probably should be replaced by
a more sophisticated rule.


git-svn-id: svn://10.0.0.236/trunk@19069 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-30 01:12:59 +00:00
coop%netscape.com
6e4af8f9ef NOT YET PART OF SEAMONKEY:
* added directory libxpt/tools which currently only contains the typelib dumper
* removed dump code from tests dir
* added/modified appropriate Makefiles and configure scripts


git-svn-id: svn://10.0.0.236/trunk@19068 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-30 01:10:01 +00:00
akkana%netscape.com
98b2973669 Rename an ifdef
git-svn-id: svn://10.0.0.236/trunk@19067 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-30 01:05:39 +00:00
troy%netscape.com
16f36b3214 Fixed leak of nsIHTMLDocument interface in GetImageMap()
git-svn-id: svn://10.0.0.236/trunk@19066 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-30 01:04:35 +00:00
coop%netscape.com
c59da5af63 NOT YET PART OF SEAMONKEY:
* committing fixes for shaver
* header pointer is now set XPT_DoHeader
* fixed assertion error in CHECK_COUNT macro


git-svn-id: svn://10.0.0.236/trunk@19065 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-30 01:03:54 +00:00
akkana%netscape.com
b589837c36 Add IsCollapsed; add collapsed case to DeleteFromDocument
git-svn-id: svn://10.0.0.236/trunk@19064 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-30 01:02:44 +00:00
pollmann%netscape.com
59abb71e8d Bug 2716, 2792, 1190, 1750: Wired up selected, defaultSelected, and selectedIndex.
git-svn-id: svn://10.0.0.236/trunk@19063 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-30 01:02:28 +00:00
pollmann%netscape.com
ade8d4eb9b Bug 2788: Crash on leaving page where js references named options.
git-svn-id: svn://10.0.0.236/trunk@19062 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-30 00:53:53 +00:00
pollmann%netscape.com
fa6a076134 Bug 2787: Crash on js accessing option index out of range.
git-svn-id: svn://10.0.0.236/trunk@19061 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-30 00:51:10 +00:00
pollmann%netscape.com
f4497fe28c Initializing res.
git-svn-id: svn://10.0.0.236/trunk@19060 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-30 00:41:41 +00:00
mcmullen%netscape.com
5fd97d3fa6 Hooked up menus to commands (just like toolbar buttons) converted to nsCOMPtr everywhere.
git-svn-id: svn://10.0.0.236/trunk@19059 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-30 00:39:25 +00:00
terry%netscape.com
8438f797d6 Had an operating system mispelled.
git-svn-id: svn://10.0.0.236/trunk@19058 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-30 00:38:09 +00:00
troy%netscape.com
fdb78f4840 Changed TriggerLink() to release its reference to the nsILinkHandler interface,
and I changed HandleEvent() to make nsIURL interface returned by the call to
GetDocumentURL() is released


git-svn-id: svn://10.0.0.236/trunk@19057 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-30 00:34:06 +00:00
erik%netscape.com
b4d51fcaf1 changed locale argument from nsString to nsILocale
git-svn-id: svn://10.0.0.236/trunk@19056 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-30 00:29:33 +00:00
erik%netscape.com
99b03d485a added strres to list of directories to build
git-svn-id: svn://10.0.0.236/trunk@19055 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-30 00:28:10 +00:00
erik%netscape.com
53e4f83029 added locale to include list (for nsILocale)
git-svn-id: svn://10.0.0.236/trunk@19054 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-30 00:27:18 +00:00
erik%netscape.com
262cc9fee9 added locale directory to include list (for nsILocale)
git-svn-id: svn://10.0.0.236/trunk@19053 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-30 00:26:48 +00:00
erik%netscape.com
2235f77acb added Windows makefile for this directory so that build goes down into
subdirectories automatically


git-svn-id: svn://10.0.0.236/trunk@19052 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-30 00:25:34 +00:00
pavlov%pavlov.net
7caf3a0d8d make the underline a bit closer
git-svn-id: svn://10.0.0.236/trunk@19051 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-30 00:25:26 +00:00
pavlov%pavlov.net
56363996dc make comboboxen look correct
git-svn-id: svn://10.0.0.236/trunk@19050 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-30 00:24:34 +00:00
rhp%netscape.com
53474f0052 Changes to add another xpcom interface for modular libmime.
git-svn-id: svn://10.0.0.236/trunk@19049 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 23:32:35 +00:00
rhp%netscape.com
3a74534d1e XPCOM bridges for C interfaces into libmime
git-svn-id: svn://10.0.0.236/trunk@19048 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 23:29:03 +00:00
rhp%netscape.com
fcde2067d7 updates for new xp-com inteface.
git-svn-id: svn://10.0.0.236/trunk@19047 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 22:59:09 +00:00
troy%netscape.com
6fe92d260e Removed an "extra" NS_RELEASE of "map" which was causing double-frees. Permission
from Sarah to check in while the tree's closed


git-svn-id: svn://10.0.0.236/trunk@19046 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 22:38:48 +00:00
rhp%netscape.com
ae831eebbd Adding new interface file to makefile.
git-svn-id: svn://10.0.0.236/trunk@19045 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 22:10:04 +00:00
terry%netscape.com
9eaca4775c Some installations of perl seem very picky about their regexps.
git-svn-id: svn://10.0.0.236/trunk@19044 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 22:07:09 +00:00
rhp%netscape.com
db82d4760a Quick init fix.
git-svn-id: svn://10.0.0.236/trunk@19043 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 21:57:51 +00:00
rhp%netscape.com
8cc4137107 Adding a new XP-COM interface to libmime.
git-svn-id: svn://10.0.0.236/trunk@19042 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 21:37:14 +00:00
rhp%netscape.com
70678e51c5 This is a new interface for libmime to allow content type plugins
to access the class system within libmime.


git-svn-id: svn://10.0.0.236/trunk@19041 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 21:32:01 +00:00
cltbld%netscape.com
4beb425ccc backing out xpfe since I don't know why it's not working
git-svn-id: svn://10.0.0.236/trunk@19040 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 21:18:45 +00:00
terry%netscape.com
a0a9b67f0b Get rid of sar's "#" hack on the stocks; it no longer seems to work.
git-svn-id: svn://10.0.0.236/trunk@19039 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 20:56:23 +00:00
slamm%netscape.com
a71f1d8139 On second thought, the recursive rules aren't needed because the Makefiles will get updated as needed for any target.
git-svn-id: svn://10.0.0.236/trunk@19038 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 20:45:39 +00:00
despotdaemon%netscape.com
5a6a640ccf Pseudo-automatic update of changes made by varada@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@19037 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 20:33:34 +00:00
akkana%netscape.com
e21ae440a2 Fixing my build horkage ... forgot this file. Very sorry!
git-svn-id: svn://10.0.0.236/trunk@19036 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 20:08:38 +00:00
slamm%netscape.com
d2451ab377 Add recursive rule, 'makefiles', to update Makefiles when their Makefile.in's are more recent.
git-svn-id: svn://10.0.0.236/trunk@19035 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 20:00:50 +00:00
sar%netscape.com
04b9e26796 add xpfe
git-svn-id: svn://10.0.0.236/trunk@19034 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 20:00:07 +00:00
beard%netscape.com
30174b3861 added files: mozilla/build/mac/test/test1.cpp, removed files: mozilla/build/mac/test/test2.cpp
git-svn-id: svn://10.0.0.236/trunk@19033 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 19:54:46 +00:00
beard%netscape.com
842c76a7d8 added files: mozilla/base/src/nsArena.cpp, removed files: mozilla/build/mac/test/test1.cpp
git-svn-id: svn://10.0.0.236/trunk@19032 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 19:32:41 +00:00
beard%netscape.com
71d7ab5672 added files: mozilla/base/src/nsArena.cpp, mozilla/build/mac/test/test2.cpp
git-svn-id: svn://10.0.0.236/trunk@19031 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 19:30:54 +00:00
beard%netscape.com
c6098dc024 added files: mozilla/build/mac/test/test2.cpp
git-svn-id: svn://10.0.0.236/trunk@19030 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 19:20:23 +00:00
akkana%netscape.com
52b18e6064 Implement a new interface, nsIDOMSelection, intended to become the
external interface for selection (to be IDL-ified later).

Fix some editor bugs:
- Advance the cursor on text insert (so text is inserted in the right order)
- Make DeleteSelection in the editor call the actual selection
- Make DeleteSelection update the frames' notion of the selection


git-svn-id: svn://10.0.0.236/trunk@19029 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 18:57:56 +00:00
buster%netscape.com
d954257870 fixed a nasty bug where some incremental reflow cases of a table with collapsing borders would crash.
One example of the crash is changing the style of a cell via DOM.
Also fixed an error in the API of nsTableColFrame


git-svn-id: svn://10.0.0.236/trunk@19028 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 18:49:32 +00:00
slamm%netscape.com
76ddf94cce Add a target to update a Makefile when its Makefile.in changes.
git-svn-id: svn://10.0.0.236/trunk@19027 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 18:35:35 +00:00
ftang%netscape.com
03f9f9fb23 add file
git-svn-id: svn://10.0.0.236/trunk@19026 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 18:26:09 +00:00
ftang%netscape.com
291017d32e First Checked In.
git-svn-id: svn://10.0.0.236/trunk@19025 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 18:24:54 +00:00
ftang%netscape.com
2432b6feec move kLatin1ToUnicodeCID from nsConverterCID.h to nsUCvLatinCID.h
git-svn-id: svn://10.0.0.236/trunk@19024 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 18:13:32 +00:00
ftang%netscape.com
57dd64effc fix EXPORT problem
git-svn-id: svn://10.0.0.236/trunk@19023 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 18:12:16 +00:00
ftang%netscape.com
6b057a5a6f first check in
git-svn-id: svn://10.0.0.236/trunk@19022 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 18:11:33 +00:00
ftang%netscape.com
7b7a4a7272 fix export
git-svn-id: svn://10.0.0.236/trunk@19021 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 18:11:00 +00:00
ftang%netscape.com
339d983050 limit ToUCS2 only have effect in U+0080 to U+009F range so it won't mess up non Latin 1 characters
git-svn-id: svn://10.0.0.236/trunk@19020 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 18:08:36 +00:00
ftang%netscape.com
dc85c6215a fix non-ASCII font face cannot be found problem
git-svn-id: svn://10.0.0.236/trunk@19019 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 18:06:42 +00:00
dcone%netscape.com
23010dac73 Fixed the font information, added some postscript drawing routines.
git-svn-id: svn://10.0.0.236/trunk@19018 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 17:00:46 +00:00
rhp%netscape.com
cd9ff1227d More cleanup for modular libmime.
git-svn-id: svn://10.0.0.236/trunk@19017 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 16:48:29 +00:00
rhp%netscape.com
24382e5d23 More redefining of code for modular libmime.
git-svn-id: svn://10.0.0.236/trunk@19016 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 16:24:21 +00:00
rhp%netscape.com
5d0515728a Reorganizing code for modular libmime.
git-svn-id: svn://10.0.0.236/trunk@19015 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 16:22:28 +00:00
rhp%netscape.com
305bc175bb Reorganizing code for modular mime.
git-svn-id: svn://10.0.0.236/trunk@19014 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 16:15:46 +00:00
mcafee%netscape.com
f96eb40bf7 Better include line, alternative to Elliot Lee's patch in mozilla.patches
git-svn-id: svn://10.0.0.236/trunk@19013 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 09:46:50 +00:00
beard%netscape.com
0bf18bbb3f added files: mozilla/base/src/nsArena.cpp, mozilla/build/mac/test/test1.cpp
git-svn-id: svn://10.0.0.236/trunk@19012 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 07:51:42 +00:00
beard%netscape.com
83553be199 added files: mozilla/build/mac/test/test2.cpp, removed files: mozilla/build/mac/test/test1.cpp
git-svn-id: svn://10.0.0.236/trunk@19011 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 07:48:13 +00:00
beard%netscape.com
309940c73a removed files: mozilla/build/mac/test/test2.cpp
git-svn-id: svn://10.0.0.236/trunk@19010 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 07:47:43 +00:00
beard%netscape.com
60234ccd69 added files: mozilla/build/mac/test/test2.cpp
git-svn-id: svn://10.0.0.236/trunk@19009 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 07:45:27 +00:00
beard%netscape.com
cdc04e7950 removed files: mozilla/build/mac/test/test2.cpp
git-svn-id: svn://10.0.0.236/trunk@19008 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 07:43:47 +00:00
beard%netscape.com
8387c638d1 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@19007 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 07:42:41 +00:00
grail%cafebabe.org
c2d6d384ac Patch from Edwin Wouldt to compensate for NT's losing handling of head
tag. Awaiting Sun to address the issue.


git-svn-id: svn://10.0.0.236/trunk@19006 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 06:42:41 +00:00
sfraser%netscape.com
fa0681c866 Reverting my previous change, to export all globals again. Exporting by #pragma exposes a compiler bug in the Pro 4 compilers that causes nsString not to be exported. When we upgrade the tools, this project should again export by #pragama.
git-svn-id: svn://10.0.0.236/trunk@19005 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 06:32:45 +00:00
troy%netscape.com
c7ebcef4d4 Fixed memory leak of MAP content object in OpenMap()
git-svn-id: svn://10.0.0.236/trunk@19004 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 06:13:55 +00:00
troy%netscape.com
ef9d8902e3 Fixed memory leak of a nsRadioControlGroup object
git-svn-id: svn://10.0.0.236/trunk@19003 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 06:01:15 +00:00
troy%netscape.com
18a51edf87 Fixed memory leak of AREA content object in ProcessAREATag()
git-svn-id: svn://10.0.0.236/trunk@19002 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 05:37:45 +00:00
tague%netscape.com
3a76a700a6 Changed DEPTH to topsrcdir so that we build under autoconf
git-svn-id: svn://10.0.0.236/trunk@19001 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 05:29:43 +00:00
fur%netscape.com
ea8ad29eb1 Fixed VerifyError and RuntimeError messages to be less dire. Also, don't exit
the program if an error occurs since it will be propagated to a Java caller as
an exception.


git-svn-id: svn://10.0.0.236/trunk@19000 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 05:23:06 +00:00
fur%netscape.com
38a75aef05 The -sys command-line option is now default behavior. You can disable System
class initialization with the new -nosystem option).


git-svn-id: svn://10.0.0.236/trunk@18999 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 05:21:48 +00:00
fur%netscape.com
988e7f0910 Really this time: temporarily hard-coded y.tab.[ch] into build, instead of
generating them


git-svn-id: svn://10.0.0.236/trunk@18998 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 05:20:25 +00:00
fur%netscape.com
22ed156185 Was incorrectly reporting classfile corruption when file was actually not found.
git-svn-id: svn://10.0.0.236/trunk@18997 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 05:09:46 +00:00
troy%netscape.com
1e954a0eb9 Fixed a couple of memory leaks
git-svn-id: svn://10.0.0.236/trunk@18996 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 05:05:02 +00:00
troy%netscape.com
2737ca110b Fix for bug #2743. Improved the logic which predicts whether a vertical scrollbar
is needed


git-svn-id: svn://10.0.0.236/trunk@18995 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 04:29:10 +00:00
sfraser%netscape.com
af38e451ca First Checked In.
git-svn-id: svn://10.0.0.236/trunk@18994 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 04:17:15 +00:00
briano%netscape.com
ed972f200e Automated update
git-svn-id: svn://10.0.0.236/trunk@18993 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 04:15:35 +00:00
tague%netscape.com
472f8e89e0 Added directory to mozilla/intl/locale
git-svn-id: svn://10.0.0.236/trunk@18992 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 04:10:23 +00:00
tague%netscape.com
34f869e5a6 Added nsILocale, nsILocaleFactory, nsICollation to the UNIX build
git-svn-id: svn://10.0.0.236/trunk@18991 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 04:09:40 +00:00
sfraser%netscape.com
7e9317d62f removed files: mozilla/build/mac/test2.cpp
git-svn-id: svn://10.0.0.236/trunk@18990 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 03:52:52 +00:00
sfraser%netscape.com
41e60bda96 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@18989 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 03:51:32 +00:00
bienvenu%netscape.com
5496f01530 add msgFlags types
git-svn-id: svn://10.0.0.236/trunk@18988 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 03:10:49 +00:00
bienvenu%netscape.com
180ab14492 add key and uint32 collections classes
git-svn-id: svn://10.0.0.236/trunk@18987 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 03:09:55 +00:00
bienvenu%netscape.com
f65c64acc8 remove unneeded win16 code
git-svn-id: svn://10.0.0.236/trunk@18986 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 03:08:57 +00:00
beard%netscape.com
c5aae001d3 added files: mozilla/build/mac/test/test1.cpp
git-svn-id: svn://10.0.0.236/trunk@18985 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 03:08:09 +00:00
bienvenu%netscape.com
40540c9906 make a couple methods public for compilation purposes
git-svn-id: svn://10.0.0.236/trunk@18984 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 03:06:13 +00:00
beard%netscape.com
9db8626bec added files: mozilla/build/mac/test/test1.cpp
git-svn-id: svn://10.0.0.236/trunk@18983 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 03:05:51 +00:00
bienvenu%netscape.com
0b5c1fde5d add new interfaces for opening and closing dbs
git-svn-id: svn://10.0.0.236/trunk@18982 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 03:05:30 +00:00
beard%netscape.com
49cf8002b0 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@18981 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 02:55:06 +00:00
sfraser%netscape.com
2ba26ff77e Changed to export by #pragma, instead of exporting all globals. This required adding prefix files to #define _IMPL_NS_BASE
git-svn-id: svn://10.0.0.236/trunk@18980 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 02:21:55 +00:00
sfraser%netscape.com
4ae550620f Export the repeater class with NS_BASE
git-svn-id: svn://10.0.0.236/trunk@18979 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 02:21:13 +00:00
sfraser%netscape.com
eea05f7032 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@18978 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 02:20:48 +00:00
sfraser%netscape.com
427aeef7f4 Fix a typo (== -> =)
git-svn-id: svn://10.0.0.236/trunk@18977 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 02:10:17 +00:00
pinkerton%netscape.com
b8528da324 Don't hardcode twip size.
git-svn-id: svn://10.0.0.236/trunk@18976 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 02:01:16 +00:00
davidm%netscape.com
6f46994948 The prefixes were switched which is not a good thing
git-svn-id: svn://10.0.0.236/trunk@18974 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 01:34:58 +00:00
guha%netscape.com
239252e24c hacking namespace related things
git-svn-id: svn://10.0.0.236/trunk@18973 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 01:33:38 +00:00
ftang%netscape.com
f3a612144b add MANIFEST
git-svn-id: svn://10.0.0.236/trunk@18972 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 01:09:05 +00:00
hyatt%netscape.com
446bf56c98 Using the attribute selector instead.
git-svn-id: svn://10.0.0.236/trunk@18971 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 00:58:01 +00:00
guha%netscape.com
7dbeeb5ef9 more fixes
git-svn-id: svn://10.0.0.236/trunk@18970 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 00:49:35 +00:00
waterson%netscape.com
b59f150b13 Added nsRDFXULBuilder.cpp; this is not currently in the build.
git-svn-id: svn://10.0.0.236/trunk@18969 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 00:41:42 +00:00
pinkerton%netscape.com
e3a59ff1a2 Grippies now handle rollover and respect css styles.
git-svn-id: svn://10.0.0.236/trunk@18968 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 23:58:18 +00:00
pinkerton%netscape.com
79ad23cedf added psuedo-styles for grippies.
git-svn-id: svn://10.0.0.236/trunk@18967 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 23:57:36 +00:00
jfrancis%netscape.com
373d464054 fixed implementation of IsDone()
git-svn-id: svn://10.0.0.236/trunk@18966 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 23:55:53 +00:00
jfrancis%netscape.com
9170fd690c strstream -> strstream.h to satify sunos
git-svn-id: svn://10.0.0.236/trunk@18965 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 23:44:41 +00:00
guha%netscape.com
18d9ecdf4d prototype serialized hash table
git-svn-id: svn://10.0.0.236/trunk@18964 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 23:39:16 +00:00
tague%netscape.com
a4f6a739c5 Checked in nsILocale, nsILocaleFactory. Added all the build dependencites in mozilla/intl as well.
git-svn-id: svn://10.0.0.236/trunk@18963 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 23:27:55 +00:00
joki%netscape.com
726f3f8782 Adding history and screen files to mac project
git-svn-id: svn://10.0.0.236/trunk@18962 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 23:26:31 +00:00
joki%netscape.com
5d1ef109ba Removing nsILinkHandler enum types from dependencies, fixing event handler bugs
git-svn-id: svn://10.0.0.236/trunk@18961 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 23:14:36 +00:00
joki%netscape.com
42ac3bd5b6 Adding new history interface method onto webshell, removing enums types from linkhandler
git-svn-id: svn://10.0.0.236/trunk@18960 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 23:13:48 +00:00
joki%netscape.com
e580c2846e Adding changes to DOM window object to allow window.screen and window.history
git-svn-id: svn://10.0.0.236/trunk@18959 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 23:12:54 +00:00
rhp%netscape.com
dffd10acd1 Documenting some changes
git-svn-id: svn://10.0.0.236/trunk@18958 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 23:09:54 +00:00
jfrancis%netscape.com
eb70f6669f changed DoCopy() to use stringstream on mac instead of ostrstream. ostrstream is broken on mac - also ostrstream is deprecated and we may want to move to stringstream on all platforms eventually. Greg and I couldn't get stringstream to work on windows so for now DoCopy() has ifdef'd code for each platform.
git-svn-id: svn://10.0.0.236/trunk@18957 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 22:58:52 +00:00
michaelp%netscape.com
36e4ee9653 corner view now paints correctly again.
git-svn-id: svn://10.0.0.236/trunk@18956 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 22:37:16 +00:00
despotdaemon%netscape.com
243f50cdbe Pseudo-automatic update of changes made by luigilira@aol.com.
git-svn-id: svn://10.0.0.236/trunk@18955 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 22:34:00 +00:00
joki%netscape.com
cd5bf676bb Adding new files for window.history, window.screen
git-svn-id: svn://10.0.0.236/trunk@18954 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 22:24:29 +00:00
joki%netscape.com
ef7d2685b5 Adding new header files for window.history and window.screen
git-svn-id: svn://10.0.0.236/trunk@18953 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 22:21:46 +00:00
joki%netscape.com
fbd30c39f0 Updated DOM idl files including new idl for window.screen and window.history
git-svn-id: svn://10.0.0.236/trunk@18952 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 22:20:01 +00:00
rhp%netscape.com
6f35ba2164 More XP-COM factory changes.
git-svn-id: svn://10.0.0.236/trunk@18951 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 22:13:03 +00:00
mscott%netscape.com
a43ebb6483 Build nsMsgPtrArray and nsMsgGroupRecord.
git-svn-id: svn://10.0.0.236/trunk@18950 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 22:12:50 +00:00
rhp%netscape.com
7d6bfdff63 More test updates.
git-svn-id: svn://10.0.0.236/trunk@18949 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 22:10:50 +00:00
kmcclusk%netscape.com
733b961ac8 Modified GetText to take extra paramater to indicate whether it should return
the current text value or the initial text value


git-svn-id: svn://10.0.0.236/trunk@18948 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 21:58:01 +00:00
mscott%netscape.com
66724a85ba removing from repository so I can rename it to nsINntpUrl.h.
git-svn-id: svn://10.0.0.236/trunk@18947 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 21:31:59 +00:00
rhp%netscape.com
7ddaabe3a7 Adding makefile.win to repository.
git-svn-id: svn://10.0.0.236/trunk@18946 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 21:29:58 +00:00
rhp%netscape.com
2312878c11 Adding an XP-COM test for libmime.
git-svn-id: svn://10.0.0.236/trunk@18945 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 21:28:02 +00:00
rhp%netscape.com
ef7ce67487 Changes for XP-COM interface.
git-svn-id: svn://10.0.0.236/trunk@18944 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 21:09:41 +00:00
rhp%netscape.com
9832004ca6 Changes for the XP-COM interface of libmime.
git-svn-id: svn://10.0.0.236/trunk@18943 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 21:09:22 +00:00
rhp%netscape.com
e80f9ad023 XP-COM changes for libmime.
git-svn-id: svn://10.0.0.236/trunk@18942 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 21:07:41 +00:00
rhp%netscape.com
814597b3de Updates for XP-COM interface.
git-svn-id: svn://10.0.0.236/trunk@18941 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 20:59:40 +00:00
rhp%netscape.com
be22922918 Updating the build process
git-svn-id: svn://10.0.0.236/trunk@18940 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 20:58:43 +00:00
petitta%netscape.com
4ba8e33bb7 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@18939 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 20:51:13 +00:00
petitta%netscape.com
9bef1f22ae Changed $pull{all} = 1; to $pull{all} = 0;
git-svn-id: svn://10.0.0.236/trunk@18938 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 20:43:50 +00:00
petitta%netscape.com
1b6dcf5018 deleted autoupdt.h
git-svn-id: svn://10.0.0.236/trunk@18937 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 20:00:34 +00:00
petitta%netscape.com
1f0f18e8c2 removed FlushAllocator.h(obsolete)
git-svn-id: svn://10.0.0.236/trunk@18936 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 19:57:21 +00:00
bienvenu%netscape.com
890af5afbd collection classes for mailnews
git-svn-id: svn://10.0.0.236/trunk@18935 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 19:54:58 +00:00
buster%netscape.com
9d27388bf5 fixed some UMR's due to mRefCnt being uninitialized. This fixes some memory leaks.
git-svn-id: svn://10.0.0.236/trunk@18934 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 19:45:23 +00:00
kmcclusk%netscape.com
10133bbe45 Added return type to fix build bustage
git-svn-id: svn://10.0.0.236/trunk@18933 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 19:29:15 +00:00
terry%netscape.com
f1fc4db8d7 Move CC and qa-assigned-to info from Bugsplat bugs to Bugzilla.
git-svn-id: svn://10.0.0.236/trunk@18932 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 19:20:01 +00:00
buster%netscape.com
956232ee80 put in crude support for aggregating type-ins across selection changes.
this needs to get beefed up to handle offsets within elements, which we'll
do as soon as selection is set properly following an insertion.


git-svn-id: svn://10.0.0.236/trunk@18931 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 19:00:14 +00:00
kmcclusk%netscape.com
94fed2f8e2 Modified nsHTMLInputElement text fields to go through nsTextControlFrame
for SetValue and GetValue


git-svn-id: svn://10.0.0.236/trunk@18930 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 18:58:11 +00:00
petitta%netscape.com
900fabe064 Changed $pull{all} = 0; to $pull{all} = 1;
git-svn-id: svn://10.0.0.236/trunk@18929 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 18:04:19 +00:00
pinkerton%netscape.com
3dad9bdc84 add IID for use with nsCOMPtr.
git-svn-id: svn://10.0.0.236/trunk@18928 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 17:59:37 +00:00
rhp%netscape.com
3110f31278 Reorganizing for XP-COM interface
git-svn-id: svn://10.0.0.236/trunk@18927 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 17:25:40 +00:00
rhp%netscape.com
b4b9fafa12 Reorganizing for XP-COM factory
git-svn-id: svn://10.0.0.236/trunk@18926 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 17:24:51 +00:00
buster%netscape.com
f2aea9aa2d fixed a minor problem with merging type-in transactions.
git-svn-id: svn://10.0.0.236/trunk@18925 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 17:19:24 +00:00
troy%netscape.com
b34a14698c More work-in-progress for fixed positioning
git-svn-id: svn://10.0.0.236/trunk@18924 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 17:14:13 +00:00
troy%netscape.com
05ab551aaa Changed clip-view to clip sibling windows
git-svn-id: svn://10.0.0.236/trunk@18923 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 17:07:21 +00:00
buster%netscape.com
0986087710 fixed a minor bug where shortcut keys were being declared as "handled" even if
Ctrl wasn't pressed, so you couldn't type in the character.


git-svn-id: svn://10.0.0.236/trunk@18922 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 17:06:42 +00:00
troy%netscape.com
a8162e1fc7 Added 'clipSiblings' to nsWidgetInitData struct
git-svn-id: svn://10.0.0.236/trunk@18921 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 17:06:39 +00:00
brade%netscape.com
84902e3275 File Removed.
git-svn-id: svn://10.0.0.236/trunk@18920 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 17:01:19 +00:00
pinkerton%netscape.com
a06fe2c0dd comment out section that doesn't compile to fix bustage.
git-svn-id: svn://10.0.0.236/trunk@18919 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 16:43:07 +00:00
pinkerton%netscape.com
61a3b41d8e comment out routine that doesn't compile to fix bustage.
git-svn-id: svn://10.0.0.236/trunk@18918 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 16:42:47 +00:00
fur%netscape.com
082458bdf4 Temporarily hard-coded y.tab.[ch] into build, instead of generating them.
git-svn-id: svn://10.0.0.236/trunk@18917 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 08:22:55 +00:00
fur%netscape.com
d33e9bb674 Temporarily checking in y.tab.c and y.tab.h because of yacc/bison problems.
git-svn-id: svn://10.0.0.236/trunk@18916 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 08:21:57 +00:00
buster%netscape.com
ea9a76f945 changed nsIEditor to enable undo separately from Init
work in progress API changes to nsIEditor and nsEditor


git-svn-id: svn://10.0.0.236/trunk@18914 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 06:02:53 +00:00
buster%netscape.com
7e335082e8 changed nsIEditor to enable undo separately from Init
git-svn-id: svn://10.0.0.236/trunk@18913 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 06:02:13 +00:00
coop%netscape.com
49a193f463 NOT YET PART OF SEAMONKEY:
* added macros for checking bitflag values
* dump code is complete, minus actually reading from disk.


git-svn-id: svn://10.0.0.236/trunk@18912 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 06:01:56 +00:00
michaelp%netscape.com
1d91508c07 fixed build bustage.
git-svn-id: svn://10.0.0.236/trunk@18911 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 05:46:05 +00:00
shaver%netscape.com
6aec39bd43 private delete isn't the mind-bendingly fun stuff we thought it would be (for scc)
git-svn-id: svn://10.0.0.236/trunk@18910 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 05:38:14 +00:00
bienvenu%netscape.com
8d014ff76f use NSPR types
git-svn-id: svn://10.0.0.236/trunk@18909 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 05:35:33 +00:00
bienvenu%netscape.com
24361e37cd start implementing open routines
git-svn-id: svn://10.0.0.236/trunk@18908 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 05:33:55 +00:00
bienvenu%netscape.com
296b63f0bb more db api's
git-svn-id: svn://10.0.0.236/trunk@18907 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 05:32:58 +00:00
bienvenu%netscape.com
c07154c16f turn off src directory for now
git-svn-id: svn://10.0.0.236/trunk@18906 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 05:11:21 +00:00
michaelp%netscape.com
af3e54fb9b modified for DrawString() API changes.
git-svn-id: svn://10.0.0.236/trunk@18905 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 05:06:06 +00:00
michaelp%netscape.com
492510dc1d modified for new DrawString() API.
git-svn-id: svn://10.0.0.236/trunk@18904 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 05:05:14 +00:00
michaelp%netscape.com
8b6acf11bf fixed bug where CreateWidget() was called twice for the ClipView and zero
times for the CornerView.


git-svn-id: svn://10.0.0.236/trunk@18903 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 05:04:43 +00:00
michaelp%netscape.com
2b18562cef modified for new DrawString()/GetWidth() APIs.
git-svn-id: svn://10.0.0.236/trunk@18902 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 05:03:58 +00:00
michaelp%netscape.com
8767c19e77 removed aWidth from DrawString(). added aFontID to DrawString() and GetWidth().
git-svn-id: svn://10.0.0.236/trunk@18901 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 05:03:05 +00:00
briano%netscape.com
c84a6e8537 Automated update
git-svn-id: svn://10.0.0.236/trunk@18900 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 05:00:35 +00:00
ramiro%netscape.com
ef89ea408e Make it possible to determine the DLL_SUFFIX in code.
git-svn-id: svn://10.0.0.236/trunk@18899 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 04:51:23 +00:00
mscott%netscape.com
69eb9f161b Link with sockstuburl
git-svn-id: svn://10.0.0.236/trunk@18898 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 04:11:44 +00:00
hshaw%netscape.com
9c1144dc6e Conditionally compile PrefChangedFunc typedef (which temporarily needs to defined in two header files) so DEC compiler is happy
git-svn-id: svn://10.0.0.236/trunk@18897 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 03:51:22 +00:00
wtc%netscape.com
950647ee49 This file is no longer necessary.
git-svn-id: svn://10.0.0.236/trunk@18896 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 03:41:08 +00:00
law%netscape.com
fc6b608300 new mozIRegistry interface
git-svn-id: svn://10.0.0.236/trunk@18895 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 03:36:37 +00:00
law%netscape.com
d031c90460 new registry tools
git-svn-id: svn://10.0.0.236/trunk@18894 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 03:33:49 +00:00
wtc%netscape.com
395cdccbc3 Bugsplat bug #340124: increase the default thread stack size to 64K
on IRIX, to be consistent with the other platforms.


git-svn-id: svn://10.0.0.236/trunk@18893 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 03:20:29 +00:00
alecf%netscape.com
d3d84733cc implement the full nsISupports interface
git-svn-id: svn://10.0.0.236/trunk@18892 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 03:20:17 +00:00
mscott%netscape.com
803e0c410c Add sockstuburl to list of libraries we link against for the apprunner.
git-svn-id: svn://10.0.0.236/trunk@18891 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 03:11:31 +00:00
mscott%netscape.com
5fe263329f *sigh* I checked in the same change twice...(added sockstuburl twice) removing one of the ocurrences...
git-svn-id: svn://10.0.0.236/trunk@18890 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 02:34:50 +00:00
pinkerton%netscape.com
739ca68f58 fix win32 compiler errors (can't do (nsnull != foop) where foop is a nsCOMPtr, which is fine by me) and fix command hookup code to actually work for multiple toolbars. I dunno what I was smoking with the last checkin.
git-svn-id: svn://10.0.0.236/trunk@18889 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 02:26:27 +00:00
mscott%netscape.com
64766df633 The real check in to build with sockstub
CVSi ----------------------------------------------------------------------


git-svn-id: svn://10.0.0.236/trunk@18888 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 02:23:01 +00:00
mscott%netscape.com
1d259e42d0 Link with sockstub url directory
git-svn-id: svn://10.0.0.236/trunk@18887 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 02:12:09 +00:00
mscott%netscape.com
9f35477262 requires sockstub
git-svn-id: svn://10.0.0.236/trunk@18886 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 02:00:56 +00:00
mscott%netscape.com
4a15ef3410 Link with sockstuburl library.
git-svn-id: svn://10.0.0.236/trunk@18885 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 01:59:52 +00:00
mscott%netscape.com
89ffbef934 Initialize sockstub protocol when starting up the netlib thread.
git-svn-id: svn://10.0.0.236/trunk@18884 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 01:57:58 +00:00
mscott%netscape.com
f92f31446c Add socket transport support to the nsINetService interface.
git-svn-id: svn://10.0.0.236/trunk@18883 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 01:57:30 +00:00
mscott%netscape.com
9f84532f3d Add support for transport interface.
git-svn-id: svn://10.0.0.236/trunk@18882 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 01:56:50 +00:00
mscott%netscape.com
cfa3919dd6 Register sockstub protocol.
git-svn-id: svn://10.0.0.236/trunk@18881 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 01:56:20 +00:00
mscott%netscape.com
95ce9ec627 Build nsSocketTransport.
git-svn-id: svn://10.0.0.236/trunk@18880 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 01:55:40 +00:00
shaver%netscape.com
468ba6a0cf fix header.data_pool writing
git-svn-id: svn://10.0.0.236/trunk@18879 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 01:55:24 +00:00
mscott%netscape.com
35b1cacfc2 parse url should look for sock stub urls...
git-svn-id: svn://10.0.0.236/trunk@18878 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 01:55:13 +00:00
mscott%netscape.com
25fb517e11 Build nsTransportSocket
git-svn-id: svn://10.0.0.236/trunk@18877 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 01:54:04 +00:00
ducarroz%netscape.com
daf3b10e15 added nsSocketTransport to group module
git-svn-id: svn://10.0.0.236/trunk@18876 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 01:50:51 +00:00
ducarroz%netscape.com
292c4c2b71 Added nsSocketTransport.h
git-svn-id: svn://10.0.0.236/trunk@18875 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 01:50:36 +00:00
pavlov%pavlov.net
994e74cae7 more gtk1.1.14isms
git-svn-id: svn://10.0.0.236/trunk@18874 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 01:42:49 +00:00
pinkerton%netscape.com
ad0b74d152 make the toolbar area taller to account for 2 toolbars.
git-svn-id: svn://10.0.0.236/trunk@18873 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 01:34:45 +00:00
pinkerton%netscape.com
05ab3bc006 add a 2nd toolbar
git-svn-id: svn://10.0.0.236/trunk@18872 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 01:34:30 +00:00
pinkerton%netscape.com
e86bfb00bf now hookup commands to multiple toolbars and fix compiler warnings.
git-svn-id: svn://10.0.0.236/trunk@18871 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 01:30:38 +00:00
putterman%netscape.com
dd74f3be20 Added flag functions.
git-svn-id: svn://10.0.0.236/trunk@18870 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 01:23:40 +00:00
mscott%netscape.com
6508012101 Fix typo in Makefile.
git-svn-id: svn://10.0.0.236/trunk@18869 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 01:22:37 +00:00
mscott%netscape.com
e1011d65aa Properly export public sockstub functions for Linux....
git-svn-id: svn://10.0.0.236/trunk@18868 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 01:21:44 +00:00
putterman%netscape.com
7b005bc2cf Adding local directory to build
git-svn-id: svn://10.0.0.236/trunk@18867 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 01:20:24 +00:00
briano%netscape.com
a571f02ae9 Added the pre-built configure script to the SeaMonkey and MozillaSourceUnix modules.
git-svn-id: svn://10.0.0.236/trunk@18866 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 01:20:20 +00:00
putterman%netscape.com
323df73f79 Adding folder data source to tree.
git-svn-id: svn://10.0.0.236/trunk@18865 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 01:18:36 +00:00
amusil%netscape.com
9b3f9f9d23 Updated test case with new Stream and Service Manager APIs
git-svn-id: svn://10.0.0.236/trunk@18864 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 01:18:23 +00:00
putterman%netscape.com
33ef11a21c Adding folder datasource to the build.
git-svn-id: svn://10.0.0.236/trunk@18863 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 01:16:36 +00:00
putterman%netscape.com
fc8d25213f Adding to the build
git-svn-id: svn://10.0.0.236/trunk@18862 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 01:14:54 +00:00
alecf%netscape.com
ca6d8ba520 slight change to the way nsINNTPNewsgroupLists are used - NewsgroupLists are contained by folders, so we don't create them.
git-svn-id: svn://10.0.0.236/trunk@18861 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 01:11:45 +00:00
slamm%netscape.com
368b06d0cc Get it linking.
git-svn-id: svn://10.0.0.236/trunk@18860 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 01:06:30 +00:00
slamm%netscape.com
b8e55de858 Get link a little closer to reality.
git-svn-id: svn://10.0.0.236/trunk@18859 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 01:01:32 +00:00
slamm%netscape.com
6ba9a4981b CPP_PROG_LINK is now set in rules.mk so it is not needed here.
git-svn-id: svn://10.0.0.236/trunk@18858 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 00:59:52 +00:00
slamm%netscape.com
2aeb98c903 Move CPP_PROG_LINK define from config.mk to rules.mk. This allows config.mk to be included in a Makefile before CPPSRCS is defined (i.e. Having CPP_PROG_LINK in config.mk caused an unnecessary dependency.)
git-svn-id: svn://10.0.0.236/trunk@18857 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 00:59:03 +00:00
alecf%netscape.com
3d715677e9 add nsProxyEvent to the Unix build
git-svn-id: svn://10.0.0.236/trunk@18856 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 00:48:25 +00:00
kmcclusk%netscape.com
133311baf8 Call GetDefaultValue instead of GetCurrentValue in GetChecked when the aGetInitialValue
flag is set to TRUE.


git-svn-id: svn://10.0.0.236/trunk@18855 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 00:43:49 +00:00
kmcclusk%netscape.com
bf6927a2a4 Added check for null nsFormControlFrame in GetChecked. This should fix the Mac
when viewing www.netscape.com


git-svn-id: svn://10.0.0.236/trunk@18854 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 00:36:43 +00:00
alecf%netscape.com
abd33d952d include nsProxyEvent in Windows build
git-svn-id: svn://10.0.0.236/trunk@18853 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 00:33:42 +00:00
alecf%netscape.com
8eb9c566cd export nsProxyEvent.h
git-svn-id: svn://10.0.0.236/trunk@18852 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 00:32:42 +00:00
mscott%netscape.com
f84e544410 Use NS_BASE when defining the nsEscape functions.
git-svn-id: svn://10.0.0.236/trunk@18851 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 00:32:34 +00:00
mscott%netscape.com
83e78717d9 Build nsEscape
git-svn-id: svn://10.0.0.236/trunk@18850 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 00:31:58 +00:00
harishd%netscape.com
7d19d006e0 Changing the variable aElementColor to aBorderColor in Painborder(),
PaintBorderEdge(), DrawSide(), and MakeBevelColor().
The computed colors for all the  border style should be based on
the actual 'border-side-color' not the element's color after all.


git-svn-id: svn://10.0.0.236/trunk@18849 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 00:31:47 +00:00
mscott%netscape.com
5f305456c1 use NS_BASE when declaring the nsEscape functions so they get exported.
git-svn-id: svn://10.0.0.236/trunk@18848 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 00:30:57 +00:00
mscott%netscape.com
9174999138 Export nsEscape.h
git-svn-id: svn://10.0.0.236/trunk@18847 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 00:30:12 +00:00
harishd%netscape.com
64256b2b61 Changing the variable aElementColor to aBorderColor.
The computed colors for all the  border style should be based on
the actual 'border-side-color' not the element's color after all.


git-svn-id: svn://10.0.0.236/trunk@18846 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 00:29:54 +00:00
harishd%netscape.com
b4aa285938 Changing the varible name aElementColor to aBordercolor.
The computed colors for all the  border style should be based on
the actual 'border-side-color' not the element's color after all.
CSS2 Spec. was wrong.


git-svn-id: svn://10.0.0.236/trunk@18845 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 00:29:00 +00:00
wtc%netscape.com
13cf4874d5 Minor editing.
git-svn-id: svn://10.0.0.236/trunk@18844 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 00:27:20 +00:00
wtc%netscape.com
67dce0cfb1 changed value of TOO_LONG to 5000
git-svn-id: svn://10.0.0.236/trunk@18843 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 00:26:30 +00:00
nhotta%netscape.com
2649b2980f Added test cases for date time format.
git-svn-id: svn://10.0.0.236/trunk@18842 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 00:26:04 +00:00
nhotta%netscape.com
6ba2c43dce Changed to call WinAPI for date time format.
git-svn-id: svn://10.0.0.236/trunk@18840 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 00:24:18 +00:00
pavlov%pavlov.net
2e0179c943 make things rock with gtk 1.1.14
git-svn-id: svn://10.0.0.236/trunk@18839 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 00:22:29 +00:00
nhotta%netscape.com
1aefdcf63f Modified data and time format selectors.
git-svn-id: svn://10.0.0.236/trunk@18838 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 00:21:48 +00:00
pinkerton%netscape.com
a3df910d26 backing out my last backout: toolbox and xul namespace changes.
git-svn-id: svn://10.0.0.236/trunk@18837 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 00:21:33 +00:00
slamm%netscape.com
174d1b2ffd Simplify the script. Make it work when objects are not in the source tree. Make it work on Solaris too.
git-svn-id: svn://10.0.0.236/trunk@18836 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 00:21:32 +00:00
jfrancis%netscape.com
f69fdb1aec rewriting timer code yet again - made it an intrusive list.
git-svn-id: svn://10.0.0.236/trunk@18835 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 00:21:16 +00:00
pinkerton%netscape.com
4859c3f41a fix the dom dredging code to handle the presense of a xul namespace in the xml file and clean up things with nsCOMPtr.
git-svn-id: svn://10.0.0.236/trunk@18834 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 00:21:12 +00:00
pinkerton%netscape.com
345b57f041 use nsCOMPtr to refcnt the interface pointers we use.
git-svn-id: svn://10.0.0.236/trunk@18833 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 00:20:42 +00:00
wtc%netscape.com
c724a8ef4b Checked in second batch of BeOS port patches contributed by
Matthew Zahorik <maz@albany.net>.


git-svn-id: svn://10.0.0.236/trunk@18832 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 00:19:40 +00:00
terry%netscape.com
fa6900cdad Added LXR; fixed owner of Mozbot.
git-svn-id: svn://10.0.0.236/trunk@18830 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 00:04:28 +00:00
terry%netscape.com
2e89af4b08 Include the new fields in email notifications.
git-svn-id: svn://10.0.0.236/trunk@18829 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 23:53:27 +00:00
terry%netscape.com
f43350eb49 Fixed bug 2311 -- searching for status_whiteboard wasn't working.
git-svn-id: svn://10.0.0.236/trunk@18828 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 23:13:16 +00:00
jband%netscape.com
9f11bbe8cc removed IMalloc clone and replaced it with use of nsIAllocator
git-svn-id: svn://10.0.0.236/trunk@18826 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 23:06:33 +00:00
wtc%netscape.com
4174f88609 Backed out the previous revision, which was checked in when the tree
is closed.


git-svn-id: svn://10.0.0.236/trunk@18825 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 22:39:53 +00:00
wtc%netscape.com
c543c71121 changed value of TOO_LONG to 5000
git-svn-id: svn://10.0.0.236/trunk@18824 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 22:36:24 +00:00
pinkerton%netscape.com
53318941d5 appr for checkin while tree closed by sar. addref and release when we save a ptr to which widget the mouse is over or clicked on. Since we now do widget refcounting correctly, we need to do it correctly elsewhere ;)
git-svn-id: svn://10.0.0.236/trunk@18823 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 22:17:42 +00:00
jj%netscape.com
bea7127b57 fixed non-debug build bustage
git-svn-id: svn://10.0.0.236/trunk@18822 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 22:10:44 +00:00
petitta%netscape.com
b84c7b45fa Added Files
git-svn-id: svn://10.0.0.236/trunk@18821 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 21:48:24 +00:00
mcmullen%netscape.com
ba14699cdd First Checked In.
git-svn-id: svn://10.0.0.236/trunk@18820 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 21:34:36 +00:00
terry%netscape.com
77a57f11b6 Was picking wrong OS for Macs by default (according to brade@netscape.com).
git-svn-id: svn://10.0.0.236/trunk@18819 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 21:28:38 +00:00
terry%netscape.com
1d1db39246 Fixed stupid typo.
git-svn-id: svn://10.0.0.236/trunk@18818 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 21:23:06 +00:00
terry%netscape.com
f5e4efb177 Added three new fields (which appear in the UI only if params are
turned on): target_milestone, qa_contact, and status_whiteboard.


git-svn-id: svn://10.0.0.236/trunk@18817 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 21:17:10 +00:00
terry%netscape.com
a27c99e830 Oops; wasn't setting the URL field.
git-svn-id: svn://10.0.0.236/trunk@18816 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 20:46:27 +00:00
briano%netscape.com
773f5dbf54 Automated update
git-svn-id: svn://10.0.0.236/trunk@18815 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 20:00:49 +00:00
slamm%netscape.com
a7cd6099cd Use TK_CFLAGS instead of TK_(MOTIF|GTK)_CFLAGS. Use TK_LIBS instead of TK_(MOTIF|GTK)_LIBS to simplify makefile rules. Also general Makefile clean up.
git-svn-id: svn://10.0.0.236/trunk@18814 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 19:54:40 +00:00
slamm%netscape.com
f0c4854988 Removing module name that does not apply.
git-svn-id: svn://10.0.0.236/trunk@18813 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 19:54:36 +00:00
slamm%netscape.com
42981e777b Use TK_CFLAGS instead of TK_(MOTIF|GTK)_CFLAGS. Use TK_LIBS instead of TK_(MOTIF|GTK)_LIBS to simplify makefile rules. Also general Makefile clean up. The link line still needs some work.
git-svn-id: svn://10.0.0.236/trunk@18812 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 19:53:37 +00:00
slamm%netscape.com
133ae04eae Use TK_CFLAGS instead of TK_MOTIF_FLAGS.
git-svn-id: svn://10.0.0.236/trunk@18811 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 19:53:18 +00:00
slamm%netscape.com
3e044b9cd2 Use TK_CFLAGS instead of TK_GTK_FLAGS.
git-svn-id: svn://10.0.0.236/trunk@18810 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 19:53:07 +00:00
slamm%netscape.com
6ae4bf74e6 Use TK_LIBS instead of TK_GTK_LIBS and clean up the makefile a bit
git-svn-id: svn://10.0.0.236/trunk@18809 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 19:52:45 +00:00
slamm%netscape.com
7f37e1cc1b Use TK_CFLAGS instead of TK_GTK_FLAGS. Put each CPPSRC on its own line
git-svn-id: svn://10.0.0.236/trunk@18808 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 19:52:30 +00:00
slamm%netscape.com
da0e16aeae Use TK_CFLAGS instead of TK_(MOTIF|GTK)_CFLAGS. Use TK_LIBS instead of TK_(MOTIF|GTK)_LIBS to simplify makefile rules.
git-svn-id: svn://10.0.0.236/trunk@18807 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 19:51:59 +00:00
buster%netscape.com
4e86fbc278 primarily comments and documentation
also removed nsTableFrame::QueryInterface() because it was just extraneous, and it made
an assumption about what class nsTableFrame derives from.  Let the vtable do its work...


git-svn-id: svn://10.0.0.236/trunk@18806 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 19:29:24 +00:00
kmcclusk%netscape.com
30f6f5db1a Replaced defaultchecked with checked
git-svn-id: svn://10.0.0.236/trunk@18805 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 19:19:07 +00:00
pinkerton%netscape.com
ca6d66dfbe make toolbars a little wider in their parent frame.
git-svn-id: svn://10.0.0.236/trunk@18804 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 19:15:01 +00:00
pinkerton%netscape.com
1d7cc71d41 backing out last two changes because they hork everything up.
git-svn-id: svn://10.0.0.236/trunk@18803 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 19:10:16 +00:00
erik%netscape.com
82ce19e7f7 again, had to fix some strange IID stuff that wouldn't compile on the Mac
git-svn-id: svn://10.0.0.236/trunk@18802 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 18:46:07 +00:00
erik%netscape.com
baa996e88c added PropertiesTest for new Java property file-like class
git-svn-id: svn://10.0.0.236/trunk@18801 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 18:42:28 +00:00
erik%netscape.com
144c1ce875 added nsProperties.cpp and nsBaseDLL.cpp
(for Java property file-like class, and its NSGetFactory)


git-svn-id: svn://10.0.0.236/trunk@18800 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 18:22:03 +00:00
mscott%netscape.com
fcbd98b397 Include sockstub
git-svn-id: svn://10.0.0.236/trunk@18799 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 18:19:40 +00:00
erik%netscape.com
62ec62189f added nsIProperties.h (like Java property files)
git-svn-id: svn://10.0.0.236/trunk@18798 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 18:18:35 +00:00
mscott%netscape.com
b85bbf44ef Include sockstub directory...
git-svn-id: svn://10.0.0.236/trunk@18797 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 18:17:25 +00:00
cata%netscape.com
dc32ee6b17 Test code for the hacky Ascii Encoder added.
git-svn-id: svn://10.0.0.236/trunk@18796 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 18:06:03 +00:00
cata%netscape.com
cf5bd0e193 Hacky Ascii Unicode encoder added for testing purposes.
git-svn-id: svn://10.0.0.236/trunk@18795 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 18:05:08 +00:00
cata%netscape.com
bec0cde3ee More methods added in the interface.
git-svn-id: svn://10.0.0.236/trunk@18794 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 18:03:59 +00:00
cata%netscape.com
b42e6a8457 Docs added. Changes in error codes.
git-svn-id: svn://10.0.0.236/trunk@18793 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 18:02:58 +00:00
cata%netscape.com
2bacaceb15 Added Error Offset Code for the Unicode Converters module.
git-svn-id: svn://10.0.0.236/trunk@18792 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 18:00:50 +00:00
kipp%netscape.com
a6a37b1d25 Fixed build bustage
git-svn-id: svn://10.0.0.236/trunk@18791 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 17:40:10 +00:00
saari%netscape.com
951d8949f7 fixing secondary build break
nsMenu should be nsMenuItem


git-svn-id: svn://10.0.0.236/trunk@18790 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 17:38:43 +00:00
saari%netscape.com
6c31961b64 fixing secondary build break
nsMenu not defined. Should be nsMenuItem


git-svn-id: svn://10.0.0.236/trunk@18789 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 17:37:42 +00:00
pinkerton%netscape.com
5076ef03f5 make toolbox gray, not green.
git-svn-id: svn://10.0.0.236/trunk@18788 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 17:36:39 +00:00
pinkerton%netscape.com
01cdf927e8 add in toolbox
git-svn-id: svn://10.0.0.236/trunk@18787 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 17:36:12 +00:00
saari%netscape.com
c415de0dcb fixed a previous typo of mine
git-svn-id: svn://10.0.0.236/trunk@18786 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 17:33:55 +00:00
saari%netscape.com
1a3881cf7d hacking xptoolkit menus
git-svn-id: svn://10.0.0.236/trunk@18785 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 17:33:00 +00:00
saari%netscape.com
4981161e36 Adding in a XUL menubar.
This isn't really the right place for a XUL menubar, but it will do for the M1 demo.


git-svn-id: svn://10.0.0.236/trunk@18783 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 17:16:38 +00:00
pinkerton%netscape.com
465d554d62 add xul namespace line.
git-svn-id: svn://10.0.0.236/trunk@18782 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 17:11:02 +00:00
saari%netscape.com
cb3aa7d868 fixing build break
change AddItem to AddMenuItem


git-svn-id: svn://10.0.0.236/trunk@18781 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 17:00:11 +00:00
kostello%netscape.com
34cb44acbc Updated XIFDTD token processing to match Rick's changes
by imitating behavior found in nsWellFormedDTD.cpp


git-svn-id: svn://10.0.0.236/trunk@18780 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 16:37:53 +00:00
kostello%netscape.com
91f739386d Fixed bug: dereferencing a null in nsMarkupDocument
Suppressed creation of STYLE leaf tag in the XIF encoding
until style sheet output is fixed.


git-svn-id: svn://10.0.0.236/trunk@18779 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 16:35:32 +00:00
saari%netscape.com
b5d0671483 /m/pub/mozilla/xpfe/appshell/src/nsWebShellWindow.cpp
- Several menu construction changes


git-svn-id: svn://10.0.0.236/trunk@18778 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 16:25:22 +00:00
saari%netscape.com
c4c3da74b7 /m/pub/mozilla/widget/public/nsIMenuItem.h
- Added SetLabel method

/m/pub/mozilla/widget/src/mac/nsMenuItem.h
/m/pub/mozilla/widget/src/gtk/nsMenuItem.h
/m/pub/mozilla/widget/src/motif/nsMenuItem.h
/m/pub/mozilla/widget/src/windows/nsMenuItem.h
- Added SetLabel method

/m/pub/mozilla/widget/src/mac/nsMenuItem.cpp
/m/pub/mozilla/widget/src/gtk/nsMenuItem.cpp
/m/pub/mozilla/widget/src/motif/nsMenuItem.cpp
/m/pub/mozilla/widget/src/windows/nsMenuItem.cpp
- Added SetLabel method


git-svn-id: svn://10.0.0.236/trunk@18777 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 16:14:48 +00:00
saari%netscape.com
aa2dacad70 /m/pub/mozilla/widget/public/nsIMenuBar.h
- Added Paint method

/m/pub/mozilla/widget/src/mac/nsMenuBar.h
- Added Paint method
- Mac implementation changes
/m/pub/mozilla/widget/src/gtk/nsMenuBar.h
/m/pub/mozilla/widget/src/motif/nsMenuBar.h
/m/pub/mozilla/widget/src/windows/nsMenuBar.h
- Added Paint method

/m/pub/mozilla/widget/src/mac/nsMenuBar.cpp
- Added Paint method
- Mac implementation changes
/m/pub/mozilla/widget/src/gtk/nsMenuBar.cpp
/m/pub/mozilla/widget/src/motif/nsMenuBar.cpp
/m/pub/mozilla/widget/src/windows/nsMenuBar.cpp
- Added Paint method


git-svn-id: svn://10.0.0.236/trunk@18776 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 16:05:57 +00:00
saari%netscape.com
b82abe0bdc /m/pub/mozilla/widget/public/nsIMenu.h
- Changed AddItem to AddMenuItem

/m/pub/mozilla/widget/src/mac/nsMenu.h
/m/pub/mozilla/widget/src/gtk/nsMenu.h
/m/pub/mozilla/widget/src/motif/nsMenu.h
/m/pub/mozilla/widget/src/windows/nsMenu.h
- Changed AddItem to AddMenuItem

/m/pub/mozilla/widget/src/mac/nsMenu.cpp
/m/pub/mozilla/widget/src/gtk/nsMenu.cpp
/m/pub/mozilla/widget/src/motif/nsMenu.cpp
/m/pub/mozilla/widget/src/windows/nsMenu.cpp
- Changed AddItem to AddMenuItem


git-svn-id: svn://10.0.0.236/trunk@18775 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 15:57:57 +00:00
saari%netscape.com
ddb6f2dc54 /m/pub/mozilla/widget/public/nsIWidget.h
- Added AddMenuListener method


git-svn-id: svn://10.0.0.236/trunk@18774 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 15:48:22 +00:00
rods%netscape.com
271bdffbb9 Commented out some debug statements
git-svn-id: svn://10.0.0.236/trunk@18773 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 15:32:19 +00:00
rods%netscape.com
abd0d10a02 The :prefs" variable in the "Print" method is null so I changed
NS_RELEASE(prefs) to NS_IF_RELEASE(prefs) why is prefs null??


git-svn-id: svn://10.0.0.236/trunk@18772 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 15:25:56 +00:00
rods%netscape.com
5d60d05625 Added Throbber
git-svn-id: svn://10.0.0.236/trunk@18771 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 15:15:21 +00:00
hyatt%netscape.com
4b53bc9711 Making events still possible within tree cells.
git-svn-id: svn://10.0.0.236/trunk@18770 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 12:42:37 +00:00
hyatt%netscape.com
4aab5ce7f9 Making events for arbitrary HTML still work in tree cells.
git-svn-id: svn://10.0.0.236/trunk@18769 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 12:42:21 +00:00
hyatt%netscape.com
bdfeda7589 Improvements to the tree widget to implement expanding and collapsing
nodes.


git-svn-id: svn://10.0.0.236/trunk@18768 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 12:17:35 +00:00
saari%netscape.com
2c9d2f2f26 mozilla/xpfe/appshell/src/nsWebShellWindow.cpp
- Added LoadMenus method to construct menus

mozilla/xpfe/appshell/src/nsWebShellWindow.h
- Added LoadMenus method


git-svn-id: svn://10.0.0.236/trunk@18767 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 10:51:28 +00:00
saari%netscape.com
951f351f66 Fixing missing return value breakage.
git-svn-id: svn://10.0.0.236/trunk@18766 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 10:39:52 +00:00
hyatt%netscape.com
7be892c832 Implemented selection in the tree view.
git-svn-id: svn://10.0.0.236/trunk@18765 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 10:10:37 +00:00
hyatt%netscape.com
72e9f65dec Fixed a bug wherein tree frames weren't being added to the flow.
git-svn-id: svn://10.0.0.236/trunk@18764 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 10:10:02 +00:00
saari%netscape.com
44aab19939 /m/pub/mozilla/widget/src/mac/nsWindow.cpp
/m/pub/mozilla/widget/src/motif/nsWindow.cpp
/m/pub/mozilla/widget/src/windows/nsWindow.cpp
- call nsMenuListener in DispatchEvent


git-svn-id: svn://10.0.0.236/trunk@18763 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 09:37:23 +00:00
saari%netscape.com
eb40ba55b1 /m/pub/mozilla/widget/src/mac/nsIMenuBar.cpp
/m/pub/mozilla/widget/src/gtk/nsIMenuBar.cpp
/m/pub/mozilla/widget/src/motif/nsIMenuBar.cpp
/m/pub/mozilla/widget/src/windows/nsIMenuBar.cpp
- Added MenuSelected routine

/m/pub/mozilla/widget/src/mac/nsMenuBar.h
/m/pub/mozilla/widget/src/gtk/nsMenuBar.h
/m/pub/mozilla/widget/src/motif/nsMenuBar.h
/m/pub/mozilla/widget/src/windows/nsMenuBar.h
- nsMenuBar inherits from nsMenuListener


git-svn-id: svn://10.0.0.236/trunk@18762 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 09:02:51 +00:00
cls%seawood.org
0a820d90f0 Better handling of compiler options. Thanks to Tim Rice <tim@trr.metro.NET> for the patch.
git-svn-id: svn://10.0.0.236/trunk@18761 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 08:45:40 +00:00
saari%netscape.com
05ddd629aa nsIMenu.h
- Add SetLabel method

nsMenu.h
- Added SetLabel method

nsMenu.cpp
- Added SetLabel method

nsIWidget.h
- Added AddMenuListener method

/m/pub/mozilla/webshell/tests/viewer/nsSetupRegistry.cpp
- Registered factories for nsMenuBar, nsMenu, and nsMenuItem


git-svn-id: svn://10.0.0.236/trunk@18760 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 07:51:20 +00:00
hyatt%netscape.com
97b9d670fb Adding nsTreeCellFrame.cpp to project.
git-svn-id: svn://10.0.0.236/trunk@18759 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 07:46:10 +00:00
hyatt%netscape.com
6fa63c6ee6 Adding tree cell frame.
git-svn-id: svn://10.0.0.236/trunk@18758 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 07:31:14 +00:00
hyatt%netscape.com
2ae301f308 @%!%@!
git-svn-id: svn://10.0.0.236/trunk@18757 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 07:30:24 +00:00
hyatt%netscape.com
bfe575e019 Getting rid of a conflict that I had.
git-svn-id: svn://10.0.0.236/trunk@18756 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 07:23:58 +00:00
hyatt%netscape.com
eeb09800bb Tweaking XUL frame construction. Also adding in a temporary tweak to
keep a NOTYETIMPLEMENTED from firing when an attribute in XML is
changed.  (Making it do a reflow rather than a reframe.)


git-svn-id: svn://10.0.0.236/trunk@18755 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 07:22:05 +00:00
mcafee%netscape.com
2f2f97c6a2 Adding pure target to run purify (Solaris)
git-svn-id: svn://10.0.0.236/trunk@18754 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 07:17:32 +00:00
sfraser%netscape.com
d9f7d78652 Return a result (duh) from InitNativeWindow()
git-svn-id: svn://10.0.0.236/trunk@18753 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 06:47:08 +00:00
coop%netscape.com
d91301c106 NOT YET PART OF SEAMONKEY:
* fixed XPT_SizeOfHeader. It wasn't actually walking the annotations, but it does now.
* added some basic dumping code to SimpleTypeLib. Currently only the headers can be dumped. Once XDR read code is up and running, this dumping code will become a separate utility, most likely under a libxpt/tools subdir.


git-svn-id: svn://10.0.0.236/trunk@18752 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 06:32:57 +00:00
saari%netscape.com
dac2b29609 Adding a nsnull check before we call through a returned pointer. Breaking on linux
git-svn-id: svn://10.0.0.236/trunk@18751 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 06:01:38 +00:00
troy%netscape.com
3e91c0d918 Changed Reflow() to take into account absolutely positioned child
frames when computing the desired size


git-svn-id: svn://10.0.0.236/trunk@18750 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 05:58:43 +00:00
ramiro%netscape.com
8ef7c25bf9 Fix it for real this time. I thought i fixed before. Why is this so hard ?
git-svn-id: svn://10.0.0.236/trunk@18749 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 05:55:09 +00:00
troy%netscape.com
df2016e126 Added work-in-progress for 'fixed' positioning
git-svn-id: svn://10.0.0.236/trunk@18748 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 05:37:55 +00:00
troy%netscape.com
3381a561f5 Added helper function IsAbsolutelyPositioned() to nsStylePosition
git-svn-id: svn://10.0.0.236/trunk@18747 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 05:35:54 +00:00
sfraser%netscape.com
d4ac017acd Changes to avoid using window refCons for raptor data. Store a list of windows in nsMacMessageSink, pass all events to the sink, and return a boolean for handled status. In the window, add and remove raptor windows from the list.
git-svn-id: svn://10.0.0.236/trunk@18746 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 05:24:26 +00:00
sfraser%netscape.com
f777c9980b Fix menu ID conflict between Print one column, and tree view menu items.
git-svn-id: svn://10.0.0.236/trunk@18745 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 05:22:06 +00:00
sfraser%netscape.com
fbb47872c1 Added a method to nsBrowserWindow to allow platform-specific subclasses to set up native window data on window creation. On Mac, the viewer uses the window refCon to store an nsBrowserWindow now.
Also fixed menu item numbering, as two different items were using 2000.


git-svn-id: svn://10.0.0.236/trunk@18744 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 05:21:43 +00:00
sfraser%netscape.com
40a9063f33 Added a method to nsBrowserWindow to allow platform-specific subclasses to set up native window data on window creation. On Mac, we use this to set refCon data. On other platforms, it's just a stub.
git-svn-id: svn://10.0.0.236/trunk@18743 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 05:20:43 +00:00
briano%netscape.com
6d18ce16f8 Automated update
git-svn-id: svn://10.0.0.236/trunk@18742 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 05:15:34 +00:00
ramiro%netscape.com
e6691ac53f Add xpfe/browser/public to build.
git-svn-id: svn://10.0.0.236/trunk@18741 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 05:13:41 +00:00
pollmann%netscape.com
d6917d7a28 Bug 2370: FreeBSD 3.0 patches
git-svn-id: svn://10.0.0.236/trunk@18740 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 05:10:54 +00:00
ramiro%netscape.com
449732ccac Ignore generated files.
git-svn-id: svn://10.0.0.236/trunk@18739 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 05:09:47 +00:00
mcafee%netscape.com
bf03978d35 ignore generated Makefile
git-svn-id: svn://10.0.0.236/trunk@18738 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 05:06:20 +00:00
sfraser%netscape.com
dacac830ff Fix the about box so that it doesn't refer to PowerPlant
git-svn-id: svn://10.0.0.236/trunk@18737 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 05:05:52 +00:00
rods%netscape.com
b02a88cfcd Added setting of the initial URL in the URL Bar
git-svn-id: svn://10.0.0.236/trunk@18736 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 04:53:10 +00:00
ramiro%netscape.com
fec89f754b Add makefile to unbreak build.
git-svn-id: svn://10.0.0.236/trunk@18735 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 04:49:35 +00:00
gagan%netscape.com
fe96f1475e Replaced default 4.05 with 5.0 for User agent string.
git-svn-id: svn://10.0.0.236/trunk@18734 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 04:28:34 +00:00
mscott%netscape.com
e852893424 Externally define msg_LineBuffer....
git-svn-id: svn://10.0.0.236/trunk@18733 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 04:23:11 +00:00
rods%netscape.com
d46dbf1fea Added BUTTON.ROLLOVER and BUTTON.DIABLED pseudo-classes
git-svn-id: svn://10.0.0.236/trunk@18732 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 04:22:35 +00:00
saari%netscape.com
b45b87c481 mozilla/widget/src/xpwidgets/nsBaseWidget.h
uncommented nsIMenuListener   *mMenuListener for XPToolkit menus

Index: nsBaseWidget.cpp
===================================================================
RCS file: /m/pub/mozilla/widget/src/xpwidgets/nsBaseWidget.cpp
uncommented  mMenuListener code for XPToolkit menus


git-svn-id: svn://10.0.0.236/trunk@18731 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 04:20:20 +00:00
mscott%netscape.com
061191ff9e Include rdf to fix build breakage when nsIMsgFolder started inheriting from an RDF interface....
git-svn-id: svn://10.0.0.236/trunk@18730 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 04:19:26 +00:00
rods%netscape.com
bf214b42ce Implemented the window.print() method
git-svn-id: svn://10.0.0.236/trunk@18729 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 04:15:19 +00:00
rods%netscape.com
40a68b95fc Commented out the MACRO for for settting and getting the disabled attribute
I implemented them fully so I code set the "disabled" pseudo-class properly


git-svn-id: svn://10.0.0.236/trunk@18728 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 04:13:44 +00:00
sdagley%netscape.com
b9ba3e6a61 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@18727 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 04:12:38 +00:00
sdagley%netscape.com
3b80fdaa48 Updating so that builds on the Mac will use a SIOUX console window rather than writing to a file (which doesn't work unless running under the debugger for an undetermined reason).
git-svn-id: svn://10.0.0.236/trunk@18726 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 04:11:54 +00:00
rods%netscape.com
b44e44cb62 Added rollover pseudo-class processing for mouse enter and exit
git-svn-id: svn://10.0.0.236/trunk@18725 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 04:09:12 +00:00
rods%netscape.com
6d6fb26dd3 Fixed up the UI, added the status bar
git-svn-id: svn://10.0.0.236/trunk@18724 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 04:03:46 +00:00
mscott%netscape.com
0aa401a0e6 Use nsMsgFolderFlags.h instead of msgFolderFlags.h...
git-svn-id: svn://10.0.0.236/trunk@18723 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 04:03:17 +00:00
rods%netscape.com
dd210ba364 Added a lot code for M1
git-svn-id: svn://10.0.0.236/trunk@18722 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 04:02:33 +00:00
mscott%netscape.com
72385b26ac Export nsMsgPtrArray.h and nsMsgGroupRecord.h
git-svn-id: svn://10.0.0.236/trunk@18721 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 04:02:04 +00:00
mscott%netscape.com
406bb8f692 include rosetta.h in this file.
git-svn-id: svn://10.0.0.236/trunk@18720 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 03:58:45 +00:00
rods%netscape.com
9cc237bfee initial checkin
git-svn-id: svn://10.0.0.236/trunk@18719 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 03:55:39 +00:00
troy%netscape.com
8b3ad3c365 Changed nsAbsoluteItems to be a derived class of nsFrameItems
git-svn-id: svn://10.0.0.236/trunk@18718 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 03:53:54 +00:00
mscott%netscape.com
9f44caa1f6 Export nsINNTPCategoryContainer.h
git-svn-id: svn://10.0.0.236/trunk@18717 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 03:52:53 +00:00
rods%netscape.com
090afdeb87 I uncommented out the progation of the EndLoadURL notification
git-svn-id: svn://10.0.0.236/trunk@18716 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 03:50:10 +00:00
alecf%netscape.com
0290bab375 whoops, this was the wrong name for this file
git-svn-id: svn://10.0.0.236/trunk@18715 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 03:49:09 +00:00
troy%netscape.com
00c1f554bc Added nsLayoutAtoms::fixedList for specifying the name of the additional
child list for 'fixed' elements


git-svn-id: svn://10.0.0.236/trunk@18714 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 03:48:39 +00:00
alecf%netscape.com
020bec1e30 adding utility macros to implement XPIDL-generated getter/setter methods
git-svn-id: svn://10.0.0.236/trunk@18713 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 03:34:53 +00:00
alecf%netscape.com
87e829537e updated to use more standard naming conventions and added function descriptions
git-svn-id: svn://10.0.0.236/trunk@18712 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 03:28:20 +00:00
troy%netscape.com
fe96feb62a Hooked printing back up. It was a casuality of the viewport changes
git-svn-id: svn://10.0.0.236/trunk@18711 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 03:24:12 +00:00
alecf%netscape.com
233bdcb5ad remove some cruft, fix some indenting
git-svn-id: svn://10.0.0.236/trunk@18710 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 03:12:49 +00:00
alecf%netscape.com
3a0c7221e0 add nsNNTPHost to build
git-svn-id: svn://10.0.0.236/trunk@18709 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 03:12:24 +00:00
wtc%netscape.com
c49c5990c0 Bugsplat bug #340901: On AIX, PR_TransmitFile calls the new send_file()
system call if it is available.  The patch is contributed by IBM's
Anthony Moore <anthonym@npec.netscape.com>.


git-svn-id: svn://10.0.0.236/trunk@18708 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 03:12:16 +00:00
alecf%netscape.com
2a2c6ceac1 slight case change in new interface
git-svn-id: svn://10.0.0.236/trunk@18707 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 03:12:11 +00:00
putterman%netscape.com
004e28586a Added nsIMsgFolder implentation
git-svn-id: svn://10.0.0.236/trunk@18706 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 03:04:29 +00:00
terry%netscape.com
2fe75675e5 If the version isn't valid, try "other" before giving up.
git-svn-id: svn://10.0.0.236/trunk@18705 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 03:00:31 +00:00
putterman%netscape.com
68757819d4 Add new methods to nsIMsgFolder interface
git-svn-id: svn://10.0.0.236/trunk@18704 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 02:59:12 +00:00
mscott%netscape.com
252ad58710 Adding code to parse a news url and to load a news url for the test harness...
git-svn-id: svn://10.0.0.236/trunk@18703 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 02:58:53 +00:00
alecf%netscape.com
f6bf2a81b4 first entry of Proxy via Event Queue utility routines
git-svn-id: svn://10.0.0.236/trunk@18702 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 02:58:19 +00:00
alecf%netscape.com
dc15ecd43c first entry of nsProxyEvent helper routines for writing proxy interfaces
git-svn-id: svn://10.0.0.236/trunk@18701 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 02:57:46 +00:00
terry%netscape.com
6ef898005f Fixed error message when version is invalid.
git-svn-id: svn://10.0.0.236/trunk@18700 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 02:56:20 +00:00
pollmann%netscape.com
71a84022b9 Bug 1958: Submit value for checkboxes or "on" for checkboxes with no value.
git-svn-id: svn://10.0.0.236/trunk@18699 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 02:33:16 +00:00
briano%netscape.com
63cfa56abe Automated update
git-svn-id: svn://10.0.0.236/trunk@18698 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 02:30:35 +00:00
mcafee%netscape.com
39fe474e3b Adding toolbar icons
git-svn-id: svn://10.0.0.236/trunk@18697 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 02:26:53 +00:00
mcafee%netscape.com
9d1b6ffc74 Adding xpfe/browser to build
git-svn-id: svn://10.0.0.236/trunk@18696 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 02:26:07 +00:00
mcafee%netscape.com
a9911ab9bf Adding xpfe/browser
git-svn-id: svn://10.0.0.236/trunk@18695 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 02:24:53 +00:00
mjudge%netscape.com
72e99c7c16 Must allow for the fact that content may be nsnull in ALL cases.
git-svn-id: svn://10.0.0.236/trunk@18694 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 02:15:38 +00:00
warren%netscape.com
879bf81b4e Looks like I forgot a public declaration.
git-svn-id: svn://10.0.0.236/trunk@18693 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 02:12:57 +00:00
mcmullen%netscape.com
d530ae462b Added a new InitializeMacToolbox() to NSStdLib (declared in macstdlibextras.h) and exported it. This makes all the Mac Toolbox Init calls, and also (if DEBUG) initializes SIOUX without menus. Safe to call this multiple times (it has a static boolean). Removed toolbox initialization from constructor of nsAppShell, and called InitializeMacToolbox() instead. Called InitializeMacToolbox from main in viewer app, and also from a static initializer in nsAppRunner.cpp.
git-svn-id: svn://10.0.0.236/trunk@18692 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 02:11:56 +00:00
pinkerton%netscape.com
b6116d5d47 Got reflow working so that it lays out its children one right after the other, leaving room for a grippy to be drawn.
git-svn-id: svn://10.0.0.236/trunk@18691 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 02:11:07 +00:00
warren%netscape.com
eef8571946 Added nsIAllocator and implementation. Made service manager services sticky'.
git-svn-id: svn://10.0.0.236/trunk@18690 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 02:02:22 +00:00
kmcclusk%netscape.com
78f31b3921 Modified GetDefaultChecked and SetDefaultChecked to get and set the checked
attribute.


git-svn-id: svn://10.0.0.236/trunk@18689 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 01:35:30 +00:00
despotdaemon%netscape.com
8c22f7a0dc Pseudo-automatic update of changes made by brendan@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@18688 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 01:34:46 +00:00
rjc%netscape.com
cb72ae28f2 Oops, didn't mean to check in changes for the file system into makefiles.
git-svn-id: svn://10.0.0.236/trunk@18687 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 01:26:08 +00:00
rjc%netscape.com
64903cc309 First cut at a file system data source.
git-svn-id: svn://10.0.0.236/trunk@18686 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 01:26:07 +00:00
despotdaemon%netscape.com
fa263f5e52 Pseudo-automatic update of changes made by wtc@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@18685 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 01:07:59 +00:00
waterson%netscape.com
4fb93e8735 Exposed EventListenerManager.
git-svn-id: svn://10.0.0.236/trunk@18684 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 00:58:49 +00:00
bienvenu%netscape.com
7b287efdfc initial entry into cvs of makefiles for mdb
git-svn-id: svn://10.0.0.236/trunk@18683 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 00:56:09 +00:00
bienvenu%netscape.com
668a8e2aad add mdb directory to db build
git-svn-id: svn://10.0.0.236/trunk@18682 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 00:54:49 +00:00
kmcclusk%netscape.com
bb135eae27 Implemented GetChecked and SetChecked for nsHTMLInputElement by going through
the nsCheckboxControlFrame and nsRadioControlFrame.cpp


git-svn-id: svn://10.0.0.236/trunk@18681 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 00:51:46 +00:00
bienvenu%netscape.com
b815400fc6 initial entry into cvs of MDB interface
git-svn-id: svn://10.0.0.236/trunk@18680 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 00:45:21 +00:00
bienvenu%netscape.com
76f95a8712 add win makefile for msgdb
git-svn-id: svn://10.0.0.236/trunk@18679 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 00:43:00 +00:00
bienvenu%netscape.com
516f7fd8d2 start implementing mail msg db
git-svn-id: svn://10.0.0.236/trunk@18678 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 00:42:13 +00:00
bienvenu%netscape.com
7e3a4dd843 start getting msgdb code to build
git-svn-id: svn://10.0.0.236/trunk@18677 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 00:40:29 +00:00
bienvenu%netscape.com
2ffac12ecc start getting msgdb building
git-svn-id: svn://10.0.0.236/trunk@18676 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 00:37:45 +00:00
bienvenu%netscape.com
686d146dff add makefiles for db directories
git-svn-id: svn://10.0.0.236/trunk@18675 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 00:36:45 +00:00
bienvenu%netscape.com
2870f82941 export MailNewsTypes.h
git-svn-id: svn://10.0.0.236/trunk@18674 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 00:35:12 +00:00
bienvenu%netscape.com
8432c564f8 add view index, remove msg flags which are stored elsewhere
git-svn-id: svn://10.0.0.236/trunk@18673 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 00:34:31 +00:00
pollmann%netscape.com
2e9ab16293 Bug 1958: Submit x, y coords for unnamed image elements. Submit coords only once.
git-svn-id: svn://10.0.0.236/trunk@18672 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 00:25:40 +00:00
nhotta%netscape.com
82bcd53640 Initial check in.
git-svn-id: svn://10.0.0.236/trunk@18671 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 00:19:24 +00:00
erik%netscape.com
4ae5d93417 For some reason, the IID stuff didn't compile on the Mac. Fixed now.
git-svn-id: svn://10.0.0.236/trunk@18670 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 00:18:34 +00:00
ducarroz%netscape.com
eb2fed3e15 Added command to execute manifest on network:protocol:sockstub:
git-svn-id: svn://10.0.0.236/trunk@18669 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 00:15:25 +00:00
vidur%netscape.com
bd2f738058 First pass implementation of document.implementation
git-svn-id: svn://10.0.0.236/trunk@18668 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 00:12:33 +00:00
ducarroz%netscape.com
13acab0d03 added sub group sockstub and added to it file sockstub.cpp
git-svn-id: svn://10.0.0.236/trunk@18667 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 00:12:09 +00:00
ducarroz%netscape.com
b6c9941c80 Added command to execute manifest on network:protocol:sockstub:
git-svn-id: svn://10.0.0.236/trunk@18666 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 00:03:50 +00:00
ducarroz%netscape.com
1383058e53 Added nsITransport.h
git-svn-id: svn://10.0.0.236/trunk@18665 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 00:03:49 +00:00
cmanske%netscape.com
0c870ba5af Changed Windows makefile to use BASE directory instead of CORE
git-svn-id: svn://10.0.0.236/trunk@18664 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 00:00:37 +00:00
briano%netscape.com
a517c981d1 Automated update
git-svn-id: svn://10.0.0.236/trunk@18663 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 00:00:34 +00:00
mcafee%netscape.com
2461c1d3c3 Renaming editor/core to editor/base
git-svn-id: svn://10.0.0.236/trunk@18662 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 23:59:14 +00:00
slamm%netscape.com
52f5c6a55c Only update .md files when NO_MDUPDATE is unset.
git-svn-id: svn://10.0.0.236/trunk@18661 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 23:54:59 +00:00
erik%netscape.com
714a8f406b Added test program and test file for new nsIStringBundle class
(for externalizing strings so that they can be localized).


git-svn-id: svn://10.0.0.236/trunk@18660 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 23:54:30 +00:00
erik%netscape.com
894a7ba3bd Added implementation of new nsIStringBundle class.
git-svn-id: svn://10.0.0.236/trunk@18659 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 23:53:37 +00:00
erik%netscape.com
a7283ed820 Added public header file for new nsIStringBundle class.
git-svn-id: svn://10.0.0.236/trunk@18658 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 23:53:01 +00:00
erik%netscape.com
cc32d390c7 Added test program and test file for new nsIProperties stuff.
(Like Java properties.)


git-svn-id: svn://10.0.0.236/trunk@18657 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 23:51:18 +00:00
erik%netscape.com
961ef36d39 Added implementation of new nsIProperties class (like Java properties).
Also added nsBaseDLL.cpp for factory for this DLL (raptorbase).


git-svn-id: svn://10.0.0.236/trunk@18656 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 23:50:25 +00:00
alecf%netscape.com
98eefe872a makefile for XPIDL on Windows
git-svn-id: svn://10.0.0.236/trunk@18655 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 23:49:43 +00:00
waterson%netscape.com
c3e5920240 Got Win32-specific stuff up and running. This caused a bit of code-juggling in the Unix and Mac implementations. a=mcmullen.
git-svn-id: svn://10.0.0.236/trunk@18654 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 23:49:33 +00:00
mjudge%netscape.com
ce3006450c Fixing rangelist to look at frame content not the frame hierarchy do decide if you clicked on the background frame.
git-svn-id: svn://10.0.0.236/trunk@18653 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 23:49:17 +00:00
erik%netscape.com
21ae15f95f public header file for new nsIProperties class (like Java properties)
git-svn-id: svn://10.0.0.236/trunk@18652 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 23:48:54 +00:00
kmcclusk%netscape.com
6550e9da04 Added GetPrimaryFrame utility method.
git-svn-id: svn://10.0.0.236/trunk@18651 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 23:43:52 +00:00
alecf%netscape.com
5f81a8c8dd add declarations for factories
git-svn-id: svn://10.0.0.236/trunk@18650 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 23:17:39 +00:00
pollmann%netscape.com
1e53362e49 Bug 2279: Don't create widgets for hidden form elements.
git-svn-id: svn://10.0.0.236/trunk@18649 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 22:11:59 +00:00
rhp%netscape.com
e64187e51f Cleanup changes for libmime.
git-svn-id: svn://10.0.0.236/trunk@18648 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 21:47:51 +00:00
alecf%netscape.com
2ab9aad2f4 slight change to meet new nsRepository API
git-svn-id: svn://10.0.0.236/trunk@18647 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 21:42:39 +00:00
alecf%netscape.com
9d2f7df13e fix build bustage - API change for GetRangeOfArtsToDownload and
special case for Windows to use char* instead of const char* for XP_AppCodeName


git-svn-id: svn://10.0.0.236/trunk@18646 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 21:41:55 +00:00
bienvenu%netscape.com
25db1aed1f remove so I can name it correctly nsMsgHdr.cpp
git-svn-id: svn://10.0.0.236/trunk@18645 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 21:41:50 +00:00
alecf%netscape.com
bf42a83e5d nsNNTPNewsgroupList should be implementing nsINNTPNewsgroupList, not nsINNTPArticleList.
Made some API changes and class changes to bring them in sync


git-svn-id: svn://10.0.0.236/trunk@18644 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 21:32:51 +00:00
alecf%netscape.com
3b7baf5487 the IDL compiler is smart enough to handle nsINNTPHost now
git-svn-id: svn://10.0.0.236/trunk@18643 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 21:32:04 +00:00
mscott%netscape.com
38330b38e1 Temporarily add NET_SaCat/Copy to nsNNTPProtocol. Include allxpstr.h as well....
git-svn-id: svn://10.0.0.236/trunk@18642 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 21:26:48 +00:00
slamm%netscape.com
839f5f7862 Cleaning this up. Some of these rules don't apply. Others are in rules.mk
git-svn-id: svn://10.0.0.236/trunk@18640 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 20:17:35 +00:00
petitta%netscape.com
f583b70913 updated yet again
git-svn-id: svn://10.0.0.236/trunk@18639 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 20:11:43 +00:00
alecf%netscape.com
37be85660a add delete operator so this will compile
git-svn-id: svn://10.0.0.236/trunk@18637 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 20:08:34 +00:00
alecf%netscape.com
3122ee1ba4 add factory and declarations for interface methods
git-svn-id: svn://10.0.0.236/trunk@18636 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 20:07:48 +00:00
alecf%netscape.com
1de29ceae9 rename Initialize->Init to match interface, and add factory
git-svn-id: svn://10.0.0.236/trunk@18635 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 20:04:41 +00:00
petitta%netscape.com
1334d0d0b6 updated again
git-svn-id: svn://10.0.0.236/trunk@18634 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 19:52:07 +00:00
shaver%netscape.com
50af4f507e Fixed method and type descriptors, made const descriptors go.
git-svn-id: svn://10.0.0.236/trunk@18633 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 19:31:25 +00:00
rods%netscape.com
5a8321381d took browser out of the build
git-svn-id: svn://10.0.0.236/trunk@18632 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 19:21:18 +00:00
michaelp%netscape.com
b448a5f840 turned on the throbbing N again.
git-svn-id: svn://10.0.0.236/trunk@18631 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 19:09:22 +00:00
petitta%netscape.com
d1f8c96d05 Modified
git-svn-id: svn://10.0.0.236/trunk@18630 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 18:44:23 +00:00
alecf%netscape.com
f5bacba5d7 stop using IsXXX for boolean Getters
git-svn-id: svn://10.0.0.236/trunk@18629 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 18:20:30 +00:00
pinkerton%netscape.com
bb880b4b55 fix a leak where the Enumerator would create itself with a refcnt of 1 and then we'd addref it again in GetChildren(). Fixed so that the Enumerator doesn't addref itself and added addref's in the appropriate places to correct that assumption.
git-svn-id: svn://10.0.0.236/trunk@18628 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 18:07:11 +00:00
rods%netscape.com
7902fb13e2 Added the "Home" button.
git-svn-id: svn://10.0.0.236/trunk@18627 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 18:03:08 +00:00
rods%netscape.com
0f5dd89cc5 It now looks for it's children WebShell by name and instead of assuming
that they are at a given position.


git-svn-id: svn://10.0.0.236/trunk@18626 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 18:01:38 +00:00
rods%netscape.com
692077b956 Added commands
git-svn-id: svn://10.0.0.236/trunk@18625 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 17:45:44 +00:00
nhotta%netscape.com
85d13bd02e Change to use WinAPI for collation key creation.
git-svn-id: svn://10.0.0.236/trunk@18624 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 17:37:17 +00:00
nhotta%netscape.com
e0818cc28e Added additional library to to link.
git-svn-id: svn://10.0.0.236/trunk@18623 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 17:35:42 +00:00
pinkerton%netscape.com
76a4ad4447 Pull throbber gifs from viewer instead of xpviewer to match what the windows build is doing.
git-svn-id: svn://10.0.0.236/trunk@18622 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 17:29:41 +00:00
pinkerton%netscape.com
ca0330b3fe Pull some chrome stuff from xpfe/browser to get appviewer up and running. These chrome files will move, but they live where they live right now.
git-svn-id: svn://10.0.0.236/trunk@18621 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 17:14:37 +00:00
troy%netscape.com
88177ce149 Fixed a problem in CalculateLeftRightMargin()
git-svn-id: svn://10.0.0.236/trunk@18620 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 16:34:08 +00:00
rods%netscape.com
86547bd566 Added appshell bootstrap and browser directories to build
git-svn-id: svn://10.0.0.236/trunk@18619 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 16:01:30 +00:00
rods%netscape.com
3bc4bf2b13 Changed initial document to appshell.html
git-svn-id: svn://10.0.0.236/trunk@18618 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 16:00:57 +00:00
rods%netscape.com
8d18051670 Added nsXULCommand
git-svn-id: svn://10.0.0.236/trunk@18617 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 15:59:53 +00:00
rods%netscape.com
3e82cea749 It now derives from nsIDocumentLoader and it processes and itstalls XULCommands
git-svn-id: svn://10.0.0.236/trunk@18616 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 15:58:58 +00:00
rods%netscape.com
8b344cdfea It now derives from nsIDocumentLoader and I added the XUL Command list
git-svn-id: svn://10.0.0.236/trunk@18615 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 15:57:59 +00:00
rods%netscape.com
976a2fafb8 Added cast for mWindowList methods
git-svn-id: svn://10.0.0.236/trunk@18614 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 15:55:44 +00:00
rods%netscape.com
dbb8132f71 added nsXULCommand
git-svn-id: svn://10.0.0.236/trunk@18613 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 15:45:35 +00:00
rods%netscape.com
7a5f2025aa Initial checkin
git-svn-id: svn://10.0.0.236/trunk@18612 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 15:44:24 +00:00
rods%netscape.com
0444d79703 Initial checkin (not building source yet)
git-svn-id: svn://10.0.0.236/trunk@18611 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 15:43:34 +00:00
dcone%netscape.com
c966f58d0d Added nsXULCommand.cpp for Rod Spears
git-svn-id: svn://10.0.0.236/trunk@18610 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 15:30:43 +00:00
rods%netscape.com
d600d7cae9 Added toolbar.xml and xul.css
git-svn-id: svn://10.0.0.236/trunk@18609 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 15:26:14 +00:00
rods%netscape.com
d3e9bd91a1 Changed the IFRAME to use toolbar.xml
git-svn-id: svn://10.0.0.236/trunk@18608 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 15:22:25 +00:00
rods%netscape.com
3a56986bde Initial checkin
git-svn-id: svn://10.0.0.236/trunk@18607 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 15:08:23 +00:00
rods%netscape.com
90dae20de7 Added nsIXULCommand
git-svn-id: svn://10.0.0.236/trunk@18606 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 15:06:21 +00:00
briano%netscape.com
3ba6e59952 Automated update
git-svn-id: svn://10.0.0.236/trunk@18605 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 13:00:37 +00:00
mcafee%netscape.com
89b776545b Adding intl/locale, intl/unicharutil Makefiles
git-svn-id: svn://10.0.0.236/trunk@18604 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 12:48:25 +00:00
mcafee%netscape.com
406f101f88 Adding makefiles for Linux, hope that's Ok
git-svn-id: svn://10.0.0.236/trunk@18603 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 12:47:33 +00:00
mcafee%netscape.com
e313740053 Use local TOOLKIT_LIBS instead of hard-coding in gtk. Still needs to be fixed in rules.mk
git-svn-id: svn://10.0.0.236/trunk@18602 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 11:59:48 +00:00
mcafee%netscape.com
23f7b9f073 Fixing Solaris build breakage
git-svn-id: svn://10.0.0.236/trunk@18601 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 11:44:32 +00:00
mcafee%netscape.com
543b008d43 Cleaning this up: whitespace only
git-svn-id: svn://10.0.0.236/trunk@18600 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 10:45:46 +00:00
rpotts%netscape.com
126778f89f Added PR_BEGIN_MACRO/PR_END_MACRO around all multi-line macros...
git-svn-id: svn://10.0.0.236/trunk@18599 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 09:46:33 +00:00
mcafee%netscape.com
2e4daba1da Switch to using rules in rules.mk instead of making them up here. Nuked unnecessary link lines, fixed incorrect reference to viewer.exe.
git-svn-id: svn://10.0.0.236/trunk@18598 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 09:29:54 +00:00
rpotts%netscape.com
8f0d397a2d The AttributeChanged(...) method of all form controls now call their base class AttributeChanged() method. Also implemented the disabled attribute in the base class...
git-svn-id: svn://10.0.0.236/trunk@18597 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 07:57:54 +00:00
mcafee%netscape.com
92f7c1bbaa Use logic in rules.mk for -DWIDGET_DLL and -DGFXWIN_DLL defines; nuked unnecessary INCLUDES addition; renamed nsUnixMain.cpp to nsMotifMain.cpp to be consistant with the Gtk naming here.
git-svn-id: svn://10.0.0.236/trunk@18596 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 07:48:13 +00:00
rpotts%netscape.com
3ef498ecfb Added some more LINCS after the big OJI checkin...
git-svn-id: svn://10.0.0.236/trunk@18595 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 07:46:51 +00:00
rpotts%netscape.com
ede3b2feb0 Fixed up NSGetFactory(...) after the big service manager checkin...
git-svn-id: svn://10.0.0.236/trunk@18594 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 07:44:02 +00:00
mcafee%netscape.com
21951bcff7 Renaming to nsMotifMain.cpp to be consistant with nsGTKMain.cpp
git-svn-id: svn://10.0.0.236/trunk@18593 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 07:40:57 +00:00
rickg%netscape.com
6239093dc6 more incremental improvements
git-svn-id: svn://10.0.0.236/trunk@18592 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 07:36:27 +00:00
mcafee%netscape.com
aad69207fd Moving nsUnixMain.cpp to nsMotifMain.cpp to be consistant with nsGTKMain.cpp, unix is ambiguous and might be misleading
git-svn-id: svn://10.0.0.236/trunk@18591 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 07:31:44 +00:00
gagan%netscape.com
ab193e013b Fix for 2107.
git-svn-id: svn://10.0.0.236/trunk@18590 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 07:23:51 +00:00
waterson%netscape.com
00c1047430 Moved XPCOM to in front of LiveConnect to fixed build bustage.
git-svn-id: svn://10.0.0.236/trunk@18589 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 07:02:51 +00:00
troy%netscape.com
e23285c5da Fixed a problem in ConstructFrameByTag() where absolutely positioned elements
weren't handled properly


git-svn-id: svn://10.0.0.236/trunk@18588 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 06:00:30 +00:00
troy%netscape.com
99f8cc5c71 Fixed some problem in ConstructFrameByDisplayType() where in now cases
(e.g. floaters and relatively positioned blocks) the newly constructed
frame wasn't getting added to aFrameItems


git-svn-id: svn://10.0.0.236/trunk@18587 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 05:46:04 +00:00
waterson%netscape.com
35841c5590 Fixed bug where random properties on the root content node were coming up as bogus columns.
git-svn-id: svn://10.0.0.236/trunk@18586 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 05:30:24 +00:00
wtc%netscape.com
f2c3098f2c Dealt with the definitions of the obsolete integer types that
conflict with the typedefs in BeOS's <support/SupportDefs.h>.
(Acknowledgment: Matthew Zahorik <maz@albany.net>)


git-svn-id: svn://10.0.0.236/trunk@18585 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 05:23:03 +00:00
ramiro%netscape.com
2370b023c9 Ignore generated files.
git-svn-id: svn://10.0.0.236/trunk@18584 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 05:07:03 +00:00
troy%netscape.com
44300b03b8 Fixed a problem with placeholder frame's clearing the child list and
causing the previous frames to disappear


git-svn-id: svn://10.0.0.236/trunk@18583 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 05:05:19 +00:00
bienvenu%netscape.com
62ed743f3e initial entry into cvs of news and mail db subclasses
git-svn-id: svn://10.0.0.236/trunk@18582 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 04:50:54 +00:00
ramiro%netscape.com
8f2990b857 Ignore generated files.
git-svn-id: svn://10.0.0.236/trunk@18581 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 04:46:37 +00:00
alecf%netscape.com
eabd0bfa79 reflect Is -> Get getter stuff from XPIDL compiler change
git-svn-id: svn://10.0.0.236/trunk@18580 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 04:30:10 +00:00
alecf%netscape.com
50abd3de2a fix an api change
git-svn-id: svn://10.0.0.236/trunk@18579 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 04:15:20 +00:00
alecf%netscape.com
ee8f616d02 fix a few more functions to bring this up to match the IDL
git-svn-id: svn://10.0.0.236/trunk@18578 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 04:14:57 +00:00
alecf%netscape.com
38f75cbfce fix some warnings, etc
git-svn-id: svn://10.0.0.236/trunk@18577 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 04:14:30 +00:00
alecf%netscape.com
cec8a9a572 add new function so nsNNTPHost can compile
git-svn-id: svn://10.0.0.236/trunk@18576 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 04:12:46 +00:00
alecf%netscape.com
82c431066f remove pane-specific AddSubscribedNewsgroup for now, and rename function
git-svn-id: svn://10.0.0.236/trunk@18575 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 04:12:10 +00:00
waterson%netscape.com
98cfa2b5da Fixed capitalization error.
git-svn-id: svn://10.0.0.236/trunk@18573 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 04:03:59 +00:00
alecf%netscape.com
2f6556e311 add ignore files
git-svn-id: svn://10.0.0.236/trunk@18572 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 03:50:34 +00:00
mcafee%netscape.com
d5d68ac980 Making this test build on Solaris
git-svn-id: svn://10.0.0.236/trunk@18571 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 03:19:50 +00:00
rickg%netscape.com
7b84baad9b fix build crash
git-svn-id: svn://10.0.0.236/trunk@18570 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 03:02:29 +00:00
rickg%netscape.com
70609b39ee fix build crash
git-svn-id: svn://10.0.0.236/trunk@18569 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 02:59:09 +00:00
mcafee%netscape.com
c9f16df0cd Making tests build on Solaris
git-svn-id: svn://10.0.0.236/trunk@18568 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 02:51:10 +00:00
alecf%netscape.com
8cd44bae4a do lots of implementation of nsINNTPHost interface so that this class is instantiable.
git-svn-id: svn://10.0.0.236/trunk@18567 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 02:17:07 +00:00
alecf%netscape.com
a4d377fd96 nsNNTPArticleList should be implementing the right interface
and implementing nsISupports


git-svn-id: svn://10.0.0.236/trunk@18566 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 02:15:59 +00:00
alecf%netscape.com
7a384da5bf fix return types
git-svn-id: svn://10.0.0.236/trunk@18565 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 02:14:12 +00:00
wtc%netscape.com
7761ce2d75 Merged first batch of BeOS port patches contributed by
Matthew Zahorik <maz@albany.net>.


git-svn-id: svn://10.0.0.236/trunk@18564 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 01:56:55 +00:00
troy%netscape.com
ca757713fa Removed "tab" chars
git-svn-id: svn://10.0.0.236/trunk@18563 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 01:47:01 +00:00
rickg%netscape.com
0ee8c3c05f missed this API change
git-svn-id: svn://10.0.0.236/trunk@18562 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 01:45:40 +00:00
beard%netscape.com
bf04f97fec Added nsElementTable.cpp for rickg.
git-svn-id: svn://10.0.0.236/trunk@18561 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 01:41:32 +00:00
troy%netscape.com
6ecb547128 Hooked up print-preview to work again
git-svn-id: svn://10.0.0.236/trunk@18560 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 01:39:08 +00:00
shaver%netscape.com
4764e3bd54 fixed fencepost in XPT_DoHeader, along with more error-checking
git-svn-id: svn://10.0.0.236/trunk@18559 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 01:34:21 +00:00
rickg%netscape.com
ff454b59ec made javascript happier
git-svn-id: svn://10.0.0.236/trunk@18558 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 01:25:37 +00:00
waterson%netscape.com
5a9f7dd463 Added code to spit out style sheet and named data source info. Fixed some bugs with references to internal anonymous resources.
git-svn-id: svn://10.0.0.236/trunk@18557 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 01:24:34 +00:00
rickg%netscape.com
20a3af2667 fixed a wad of parser bugs
git-svn-id: svn://10.0.0.236/trunk@18556 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 01:24:31 +00:00
waterson%netscape.com
fb766d5316 Altered anonymous resources to be produced with a hash mark, so they look more like anchors.
git-svn-id: svn://10.0.0.236/trunk@18555 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 01:23:55 +00:00
terry%netscape.com
aca4488af6 Added MailNews project.
git-svn-id: svn://10.0.0.236/trunk@18554 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 01:22:56 +00:00
waterson%netscape.com
14cf8d9163 Fixed bug in arcs-out cursor.
git-svn-id: svn://10.0.0.236/trunk@18553 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 01:22:40 +00:00
waterson%netscape.com
29fafe3a49 Changes for new service manager stuff.
git-svn-id: svn://10.0.0.236/trunk@18552 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 01:21:25 +00:00
hyatt%netscape.com
33451dc445 Adding support for tree indentation. nsTreeIndentation.cpp
git-svn-id: svn://10.0.0.236/trunk@18551 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 01:20:28 +00:00
beard%netscape.com
dd6cebf197 Added LiveConnect to build and MANIFEST processing.
git-svn-id: svn://10.0.0.236/trunk@18550 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 01:14:00 +00:00
hyatt%netscape.com
83b6123fe6 Added support for tree indentation.
git-svn-id: svn://10.0.0.236/trunk@18549 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 01:12:51 +00:00
petitta%netscape.com
c6a1e8d864 Updated to 1.0.3
git-svn-id: svn://10.0.0.236/trunk@18548 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 01:09:50 +00:00
sfraser%netscape.com
0303ea33b9 Add an optimization in the large heap allocators which keeps track of the largest contiguous free block in each chunk.
git-svn-id: svn://10.0.0.236/trunk@18547 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 01:08:54 +00:00
mjudge%netscape.com
8df9a54c9b oops ifdef 0 is bad should be if 0
git-svn-id: svn://10.0.0.236/trunk@18545 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 01:01:56 +00:00
bienvenu%netscape.com
fd10199de6 add MessageHdrStruct and db cache apis
git-svn-id: svn://10.0.0.236/trunk@18544 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 00:54:09 +00:00
bienvenu%netscape.com
2db1bb7d5d initial entry of types used throughout mailnews backend
git-svn-id: svn://10.0.0.236/trunk@18543 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 00:52:54 +00:00
mjudge%netscape.com
8856b10b58 turning off printf debug statements in debug to speed up resizing
git-svn-id: svn://10.0.0.236/trunk@18542 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 00:40:39 +00:00
buster%netscape.com
c4f9290ed2 checked in wrong version of editor previously. This is the right version.
git-svn-id: svn://10.0.0.236/trunk@18541 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 00:38:34 +00:00
buster%netscape.com
817b2a47d9 DeleteSelection now walks the content tree, so it can handle delete at the
end of a node and backspace at the beginning of a node


git-svn-id: svn://10.0.0.236/trunk@18540 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 00:37:42 +00:00
troy%netscape.com
d0406126ba Changed scrolling so it happens on the viewport instead of the HTML
element


git-svn-id: svn://10.0.0.236/trunk@18539 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 00:05:21 +00:00
terry%netscape.com
7d54925600 Added CCK project.
git-svn-id: svn://10.0.0.236/trunk@18538 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 00:04:33 +00:00
guha%netscape.com
1658de670e fix template
git-svn-id: svn://10.0.0.236/trunk@18537 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 23:57:52 +00:00
mjudge%netscape.com
cee15cff25 fixing build bustage for someone
git-svn-id: svn://10.0.0.236/trunk@18536 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 23:55:59 +00:00
guha%netscape.com
45bd69beef fix template
git-svn-id: svn://10.0.0.236/trunk@18535 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 23:55:05 +00:00
wtc%netscape.com
568e392af7 Bumped revision to 3.1.
git-svn-id: svn://10.0.0.236/trunk@18534 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 23:52:26 +00:00
wtc%netscape.com
5e0ff19bc7 Added BeOS files contributed by Matthew Zahorik <maz@albany.net>.
git-svn-id: svn://10.0.0.236/trunk@18533 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 23:52:00 +00:00
alecf%netscape.com
20cff3e357 nsNNTPHost finally compiles. Adding it to the build system
git-svn-id: svn://10.0.0.236/trunk@18532 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 23:45:57 +00:00
wtc%netscape.com
4128e5d1a8 Bumped the revision to 3.1.
git-svn-id: svn://10.0.0.236/trunk@18531 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 23:45:48 +00:00
alecf%netscape.com
3d609968e8 newsgroups keep track of thier pretty names
newsgroups don't keep track of flags (that's a job for nsIMsgFolder)


git-svn-id: svn://10.0.0.236/trunk@18530 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 23:45:29 +00:00
wtc%netscape.com
18ddca2674 Added new BeOS files contributed by Matthew Zahorik <maz@albany.net>.
git-svn-id: svn://10.0.0.236/trunk@18529 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 23:41:16 +00:00
michaelp%netscape.com
db1f2bd88d fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@18528 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 23:40:01 +00:00
alecf%netscape.com
e11912d34b rename Profile->Virtual and change API slightly to be more COM like
git-svn-id: svn://10.0.0.236/trunk@18527 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 23:38:53 +00:00
alecf%netscape.com
9438e2b421 more changes to nsIMsgFolder for functions we need to have once the real
nsIMsgFolder arrives


git-svn-id: svn://10.0.0.236/trunk@18526 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 23:38:09 +00:00
mjudge%netscape.com
7073ad3df7 changing paintunicodestring and paintasciistring to map from content coordinates to painttext coordinatres. in get position, i am now mapping from paint coordinates to content coordinates. also, the frames themselves now set the focus and anchor for a nsIFocusTracker passed in object.
git-svn-id: svn://10.0.0.236/trunk@18525 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 23:29:53 +00:00
mjudge%netscape.com
4bcd16ae84 keeping the selection code pure by not knowing anything about the graphic representation of the selection. just offset to offset. adding code to reselect the anchor and focus frame in the nsIFocusTracker by passing it to the nsIFrame setselectedcontent method.
git-svn-id: svn://10.0.0.236/trunk@18524 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 23:28:59 +00:00
mjudge%netscape.com
44f08a72d5 adding parameters to setselectedcontent. This will keep down overhead of the nsIFrame implementation and still not allow outsiders to talk to their presshell. so please forgive this grown method. this extra parameter will maintain the anchor and focus point after reflow
git-svn-id: svn://10.0.0.236/trunk@18523 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 23:28:23 +00:00
terry%netscape.com
6e5e8910da Check for undefined var.
git-svn-id: svn://10.0.0.236/trunk@18522 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 23:26:28 +00:00
rhp%netscape.com
97740bb7bb Continuing cleanup of calls no longer needed.
git-svn-id: svn://10.0.0.236/trunk@18521 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 23:21:14 +00:00
rhp%netscape.com
886616001a Add HTML tags back into code after a bug was fixed in raptor.
git-svn-id: svn://10.0.0.236/trunk@18520 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 23:19:24 +00:00
guha%netscape.com
8a77d70353 slightly faster parser
git-svn-id: svn://10.0.0.236/trunk@18519 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 23:16:04 +00:00
mscott%netscape.com
9952f7bf55 Include netutils.h before including mktcp.h for Linux build.
git-svn-id: svn://10.0.0.236/trunk@18518 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 23:08:27 +00:00
hyatt%netscape.com
34a5cfcdd8 Tweaks to enable XUL frame construction to prevent the construction based on
display type.


git-svn-id: svn://10.0.0.236/trunk@18517 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 23:07:17 +00:00
michaelp%netscape.com
8f2fccaa79 apparently this needs to be exported too...
git-svn-id: svn://10.0.0.236/trunk@18516 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 23:06:55 +00:00
mscott%netscape.com
69bca89f3e Correct spelling error in libary name for sockstub...
git-svn-id: svn://10.0.0.236/trunk@18515 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 22:31:28 +00:00
rhp%netscape.com
2252d04796 Changes for HTML generation
git-svn-id: svn://10.0.0.236/trunk@18514 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 22:31:18 +00:00
rhp%netscape.com
e21485acfe Changes for html generation
git-svn-id: svn://10.0.0.236/trunk@18513 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 22:29:03 +00:00
michaelp%netscape.com
3a8fb707b7 removed gfx/src from list of MANIFESTs to process.
git-svn-id: svn://10.0.0.236/trunk@18512 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 22:17:26 +00:00
vidur%netscape.com
d804a8f7f9 Implemented nsIDOMElement::Normalize
git-svn-id: svn://10.0.0.236/trunk@18511 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 22:17:15 +00:00
michaelp%netscape.com
25094ac7f0 moving headers from src to public. added support for dib sections to windows
drawing surface. WIP on making blender work with arbitrary pixel organizations.


git-svn-id: svn://10.0.0.236/trunk@18510 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 22:16:47 +00:00
kmcclusk%netscape.com
509a2f333f Added SetProperty/GetProperty methods to nsIFormControlFrame. Added stub
implementations for all classes that derive from nsIFormControlFrame


git-svn-id: svn://10.0.0.236/trunk@18509 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 22:16:27 +00:00
hyatt%netscape.com
5031243e51 Altered the way frame construction works. ConstructFrame can now potentially
build up a list of sibling frame subtrees.  This allows for the creation of
multiple frames from a single content node, and for easy merging of two different
lists of subtrees during frame construction.


git-svn-id: svn://10.0.0.236/trunk@18508 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 22:13:03 +00:00
akkana%netscape.com
006f55116c Pav's changes only work if you also have his fixes to gtk.
Since those aren't available yet, I've reverted his changes to make
selection and editor typein work.
When the new gtk is available, search for HAVE_GTK_BETTER_THAN_1_1_13
to see how to turn his changes back on (they are very worthwhile, we
just can't afford a regression while we wait for the new gtk).


git-svn-id: svn://10.0.0.236/trunk@18507 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 22:10:48 +00:00
mscott%netscape.com
b932a218b9 Test app for verifying the socket implmeentation of nsITransport. (not currently being built by any of the public makefiles)
git-svn-id: svn://10.0.0.236/trunk@18506 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 19:42:32 +00:00
shaver%netscape.com
d08f3acd1b Fixed IID copying (duh -- all the bytes matter).
NewString and NewStringZ APIs.
No more bit-fields (nod to jband and fur, thanks).
Cleaned up Annotation structures.
On-disk offsets are 1-based.
Write annotations to disk, and account for them in header size, etc.
Fix sundry cursor-vs-&cursor bugs and don't-allocate-on-decode bugs.
Write MethodDescriptors and InterfaceDescriptors to disk!
Executive Summary: can now write very simple .xpt files!


git-svn-id: svn://10.0.0.236/trunk@18505 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 19:36:48 +00:00
pinkerton%netscape.com
658c86f7a4 fixing a leak in GetChildren() and cleaning it up to use nsComPtr when creating a new enumerator.
git-svn-id: svn://10.0.0.236/trunk@18504 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 19:18:43 +00:00
mscott%netscape.com
73cbb5ae24 socket implementation of the transport interface. (not currently being built by checked in makefiles)
git-svn-id: svn://10.0.0.236/trunk@18503 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 19:10:04 +00:00
ramiro%netscape.com
62b2548020 Added that lovely alternate/default style selector to the menu (it works great
on Linux), and fixed a typo in the compatibility menu. Just little stuff, as
usual...
Thanks to Steve Morrison <smorrison@gte.com> for providing the fix.


git-svn-id: svn://10.0.0.236/trunk@18502 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 18:54:10 +00:00
mscott%netscape.com
f4c3d83059 Build the sockstub directory.
git-svn-id: svn://10.0.0.236/trunk@18501 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 18:24:58 +00:00
briano%netscape.com
a961931540 Automated update
git-svn-id: svn://10.0.0.236/trunk@18500 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 18:00:35 +00:00
mscott%netscape.com
3ceba2a26e Build network/protocol/sockstub directory.
git-svn-id: svn://10.0.0.236/trunk@18499 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 17:51:52 +00:00
mscott%netscape.com
2ceefe58b9 Build sockstub directory
git-svn-id: svn://10.0.0.236/trunk@18498 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 17:51:06 +00:00
mscott%netscape.com
77868dc446 Makefile for the sockstub protocol directory..
git-svn-id: svn://10.0.0.236/trunk@18497 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 17:50:41 +00:00
mscott%netscape.com
aa60cc320b Build the sockstub directory....
git-svn-id: svn://10.0.0.236/trunk@18496 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 17:48:44 +00:00
pinkerton%netscape.com
8cad597409 Fix bug 2535 (memory leaks) with nsCOMPtr
git-svn-id: svn://10.0.0.236/trunk@18495 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 17:45:04 +00:00
pinkerton%netscape.com
148b605fbb Fix bug 2535 (memory leak) with nsCOMPtr
git-svn-id: svn://10.0.0.236/trunk@18494 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 17:44:21 +00:00
ftang%netscape.com
48e0a7b1ab change nsCharSetID into nsString type
git-svn-id: svn://10.0.0.236/trunk@18491 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 16:05:04 +00:00
rhp%netscape.com
321a2a9f44 Handler for calendar info.
git-svn-id: svn://10.0.0.236/trunk@18490 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 14:27:33 +00:00
rhp%netscape.com
7e2cd3bad4 Updates for external vcard handler.
git-svn-id: svn://10.0.0.236/trunk@18489 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 14:27:05 +00:00
rhp%netscape.com
d9c3a6a581 Changes for external content type handlers.
git-svn-id: svn://10.0.0.236/trunk@18488 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 13:40:08 +00:00
rhp%netscape.com
1e570382d7 Removing files from mime src.
git-svn-id: svn://10.0.0.236/trunk@18487 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 13:34:07 +00:00
rhp%netscape.com
b0e0b9e79d Removing files.
git-svn-id: svn://10.0.0.236/trunk@18486 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 13:33:21 +00:00
rhp%netscape.com
706dcd2d19 Changes for external content type handlers.
git-svn-id: svn://10.0.0.236/trunk@18485 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 13:29:16 +00:00
amusil%netscape.com
13e555c340 Fixing build bustage
git-svn-id: svn://10.0.0.236/trunk@18484 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 12:18:51 +00:00
amusil%netscape.com
629296566d Fix Mac build bustage
git-svn-id: svn://10.0.0.236/trunk@18483 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 11:39:48 +00:00
grail%cafebabe.org
8f044d3596 Fixed spacing problem between icon in toolbar for Composition window.
git-svn-id: svn://10.0.0.236/trunk@18482 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 11:29:40 +00:00
amusil%netscape.com
1a6a7a52aa New Service Manager changes
git-svn-id: svn://10.0.0.236/trunk@18481 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 11:08:18 +00:00
amusil%netscape.com
46e3e5e60a Changed function name
git-svn-id: svn://10.0.0.236/trunk@18480 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 10:57:57 +00:00
amusil%netscape.com
5868424a36 Added support for new service manager
git-svn-id: svn://10.0.0.236/trunk@18479 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 10:55:35 +00:00
amusil%netscape.com
5d0d9931c7 new stream files
git-svn-id: svn://10.0.0.236/trunk@18478 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 10:36:43 +00:00
tague%netscape.com
a7951cb1e3 Fixed build bustage. Added nsIPluginStreamInfo.h to export list.
git-svn-id: svn://10.0.0.236/trunk@18477 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 10:26:43 +00:00
amusil%netscape.com
2e6673e09c new stream files
git-svn-id: svn://10.0.0.236/trunk@18476 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 10:17:46 +00:00
amusil%netscape.com
31299a6bfd update for new stream
git-svn-id: svn://10.0.0.236/trunk@18475 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 10:11:51 +00:00
amusil%netscape.com
5259c020ba *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@18474 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 10:10:29 +00:00
amusil%netscape.com
3386ab9d93 New Stream API update
git-svn-id: svn://10.0.0.236/trunk@18473 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 09:30:04 +00:00
sudu%netscape.com
135544df29 Files Sudu's script failed to check in
git-svn-id: svn://10.0.0.236/trunk@18472 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 09:00:42 +00:00
rpotts%netscape.com
259184bc0e Made sure all interface methods were defined with NS_IMETHOD... Windows cares about this :-(
git-svn-id: svn://10.0.0.236/trunk@18471 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 08:34:56 +00:00
rpotts%netscape.com
e02d0064a8 Added nsCommandLineArgs to the build...
git-svn-id: svn://10.0.0.236/trunk@18470 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 08:34:02 +00:00
rpotts%netscape.com
f516f061bf Added nsICmdLineService.h to the exports list...
git-svn-id: svn://10.0.0.236/trunk@18469 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 08:24:26 +00:00
sudu%netscape.com
0f4d19b4b7 added nsIPluginStreamInfo.h to export
git-svn-id: svn://10.0.0.236/trunk@18468 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 08:14:40 +00:00
sudu%netscape.com
e74bb46494 New steam API header file
git-svn-id: svn://10.0.0.236/trunk@18467 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 08:13:10 +00:00
amusil%netscape.com
b700b8dbb9 OJI MozClassic to raptor merge
git-svn-id: svn://10.0.0.236/trunk@18466 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 08:05:06 +00:00
sudu%netscape.com
d3239a027a OJI MozClassic to raptor merge
git-svn-id: svn://10.0.0.236/trunk@18465 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 08:05:00 +00:00
pavlov%pavlov.net
1174d93a4d only redraw the stuff that needs to be redrawn, not the entire widget.
git-svn-id: svn://10.0.0.236/trunk@18464 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 02:21:20 +00:00
mjudge%netscape.com
c01fb9bfc1 adding same code to paintAscii as i did to paintUnicode
git-svn-id: svn://10.0.0.236/trunk@18463 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 01:53:40 +00:00
mjudge%netscape.com
58d3c27e3c ok I am changing nsPresShell to "do the right thing". The virtual methods to support nsIFocusTracker needed to use the MACROS the same as the rest of the methods. I also moved the growing inline methods to their own method declarations. pres shell also needs to send itself as a focus tracker to "reset selection" to allow a callback to reset the frames that will be the focus and anchor frames for the future. getting frames from content is easy, getting the exact frame with an offset as well is difficult. nsTextFrame does some funny things with whitespaces that was throwing off the selection code. one minute the beginning of a word is offset 1 then it grows to 2 if the whitespace on the previous line wraps. I also put limits on the selection drawing. the drawing was happening after reflow, but before reset selection. this made the selection drawing extend beyond the legal limits of the "textlength". P.S. since the paint unicode and paint ascii are so similar, is it better to make a helper func to do the common things? or maybe make another method just to save namespace?
git-svn-id: svn://10.0.0.236/trunk@18462 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 01:48:01 +00:00
mjudge%netscape.com
2cf43972e0 Focus tracker needs to send the tracker to the implementation of selection so that it can update the tracker as to which frame(s) should be considered the focus frames ect. This is not yet working fully. Everything I am checking in will stay, I simply have a decision to make as to exactly what to do next. RangeList also had some modifications to better selection
git-svn-id: svn://10.0.0.236/trunk@18461 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 01:42:34 +00:00
bienvenu%netscape.com
3cfade4c64 initial entry into cvs of msgdb api
git-svn-id: svn://10.0.0.236/trunk@18460 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 01:36:27 +00:00
bienvenu%netscape.com
6d5093b405 initial entry into cvs of msgdb impl
git-svn-id: svn://10.0.0.236/trunk@18459 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 01:31:40 +00:00
pavlov%pavlov.net
2cfa0d9b30 fix button pressing
git-svn-id: svn://10.0.0.236/trunk@18458 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 00:51:21 +00:00
pierre%netscape.com
217629589e added nsViewportFrame.cpp for Troy
git-svn-id: svn://10.0.0.236/trunk@18457 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-24 22:01:58 +00:00
troy%netscape.com
b276e5bb3a Initial check-in
git-svn-id: svn://10.0.0.236/trunk@18456 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-24 20:36:46 +00:00
grail%cafebabe.org
7b69d0f19b Minor "bug" in the xml file. Line with "\"\"". Ick.
git-svn-id: svn://10.0.0.236/trunk@18455 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-24 12:03:05 +00:00
grail%cafebabe.org
56e346a7d5 Moved to a recursive processing model so you don't have to mess with a
hashtable of parent widgets anymore.


git-svn-id: svn://10.0.0.236/trunk@18454 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-24 12:02:31 +00:00
pavlov%pavlov.net
bf1e7cbfda compute the scrollbar width/height instead of using a constant number
git-svn-id: svn://10.0.0.236/trunk@18453 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-24 07:53:30 +00:00
pavlov%pavlov.net
fbe22a1bf9 use some funky calculations to figure out the underline offset and the
underlining size


git-svn-id: svn://10.0.0.236/trunk@18452 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-24 06:55:17 +00:00
saari%netscape.com
d07fc84c6f Needed to add nsCommandLineService to AppShell.mcp to define NS_NewCmdLineService(), lest a build failure.
git-svn-id: svn://10.0.0.236/trunk@18451 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-24 00:16:56 +00:00
saari%netscape.com
301348a97e Fixing mac build. Tinderbox is lying.
Misnamed NS_NewCommandLineServiceFactory
renamed to 
NS_NewCmdLineServiceFactory

\Index: nsICmdLineService.h
===================================================================
RCS file: /m/pub/mozilla/xpfe/appshell/public/nsICmdLineService.h,v
retrieving revision 1.1
diff -r1.1 nsICmdLineService.h
54c54
< NS_NewCommandLineServiceFactory(nsIFactory** aFactory);
---
> NS_NewCmdLineServiceFactory(nsIFactory** aFactory);


git-svn-id: svn://10.0.0.236/trunk@18450 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-24 00:00:38 +00:00
mjudge%netscape.com
e5e6535f63 This checkin will stop the double addref to the incomming ranges. The problem was that the changing of the old array of voids and the nsVoidPtr array do NOT addref whereas the nsISupportsArray DOES! I suspected as much. I have removed the offending code and I believe this should make selection much cleaner.
git-svn-id: svn://10.0.0.236/trunk@18449 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 20:43:13 +00:00
peterl%netscape.com
633da8094f fixed a leak of an input stream
git-svn-id: svn://10.0.0.236/trunk@18448 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 19:28:09 +00:00
mcafee%netscape.com
88a347ab56 Switching to SIMPLE_PROGRAMS
git-svn-id: svn://10.0.0.236/trunk@18447 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 12:21:27 +00:00
mcafee%netscape.com
d87afbf15b Need NSPR to link
git-svn-id: svn://10.0.0.236/trunk@18446 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 12:20:31 +00:00
mcafee%netscape.com
30c7cb2930 Forgot link line rule
git-svn-id: svn://10.0.0.236/trunk@18445 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 12:20:00 +00:00
pavlov%pavlov.net
b732addd9c we require gtk 1.1.13, remove #ifdef's. clean up key press handling
git-svn-id: svn://10.0.0.236/trunk@18444 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 12:03:14 +00:00
mcafee%netscape.com
642a555baf Trying the 3.35 commit again (SIMPLE_PROGRAMS)
git-svn-id: svn://10.0.0.236/trunk@18443 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 11:41:15 +00:00
pavlov%pavlov.net
9e1b689b9f fix text widgets getting focus.
git-svn-id: svn://10.0.0.236/trunk@18442 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 11:26:09 +00:00
mcafee%netscape.com
60c3665391 Backing out until tree builds Ok
git-svn-id: svn://10.0.0.236/trunk@18441 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 10:14:58 +00:00
mcafee%netscape.com
3bd409654c Pushing the 1:1 source-file-to-binary mapping mechanism into rules.mk so we can share this with other directories. Look for the SIMPLE_PROGRAMS checkin into config/rules.mk
git-svn-id: svn://10.0.0.236/trunk@18440 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 09:42:33 +00:00
mcafee%netscape.com
0ef9e9e297 Adding support for 1:1 mapping for source files & binaries; this lets 2 or more binaries coexist in a single directory. Usage: <SIMPLE_PROGRAMS = Foo Bar> very similar to the way PROGRAM works.
git-svn-id: svn://10.0.0.236/trunk@18439 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 09:36:40 +00:00
briano%netscape.com
b68f174e2d Automated update
git-svn-id: svn://10.0.0.236/trunk@18438 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 09:00:36 +00:00
ramiro%netscape.com
c602963710 Add a -DMOZ_TOOLKIT=foo flag that makes it easy to distinguish toolkits in
code.


git-svn-id: svn://10.0.0.236/trunk@18437 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 08:57:10 +00:00
braddr%puremagic.com
a28d35c3d8 solaris 2.6 native makedepend can't handle lines over 4000 bytes, shorten this down to fit.
git-svn-id: svn://10.0.0.236/trunk@18436 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 08:24:39 +00:00
peterl%netscape.com
2f236a6ccc added style menu
git-svn-id: svn://10.0.0.236/trunk@18435 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 07:10:37 +00:00
peterl%netscape.com
05710ba81b sync to style set api change
git-svn-id: svn://10.0.0.236/trunk@18434 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 07:09:27 +00:00
peterl%netscape.com
4671b6225b cleaned up style sheet ordering
git-svn-id: svn://10.0.0.236/trunk@18433 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 07:09:06 +00:00
peterl%netscape.com
2d1ae38e3d allow reconstruct frames to work on all documents
git-svn-id: svn://10.0.0.236/trunk@18432 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 07:08:38 +00:00
peterl%netscape.com
8d45726e09 made media case insensitive (for now)
git-svn-id: svn://10.0.0.236/trunk@18431 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 07:08:11 +00:00
peterl%netscape.com
41850df73f added insert style sheet
git-svn-id: svn://10.0.0.236/trunk@18430 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 07:07:32 +00:00
peterl%netscape.com
77f64014a3 cleaned up style sheet ordering
support for selecting alternate style sheets


git-svn-id: svn://10.0.0.236/trunk@18429 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 07:07:09 +00:00
peterl%netscape.com
b02405c8c0 added meta tag http-equiv support
fixed selection of default style sheets
made style sheet loading not block parser
added support for several http headers


git-svn-id: svn://10.0.0.236/trunk@18428 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 07:05:49 +00:00
peterl%netscape.com
e67550003e only parse style attributes if doc style language is text/css
git-svn-id: svn://10.0.0.236/trunk@18427 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 07:04:28 +00:00
peterl%netscape.com
dd89cd1401 added helper methods for selecting & querying alternate style sheets
git-svn-id: svn://10.0.0.236/trunk@18426 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 07:03:46 +00:00
peterl%netscape.com
64dba30423 added HTTP header atoms
git-svn-id: svn://10.0.0.236/trunk@18425 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 07:02:56 +00:00
peterl%netscape.com
3ed30608b4 fixed case of media atoms
git-svn-id: svn://10.0.0.236/trunk@18424 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 07:02:10 +00:00
peterl%netscape.com
9a51691424 set now manages order of doc style sheets
git-svn-id: svn://10.0.0.236/trunk@18423 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 07:01:57 +00:00
peterl%netscape.com
d1a8b01386 added header data accessors
cleaned up style sheet ordering


git-svn-id: svn://10.0.0.236/trunk@18422 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 07:01:40 +00:00
peterl%netscape.com
9713cc8a09 simplified setting doc style sheets (set now manages ordering)
git-svn-id: svn://10.0.0.236/trunk@18421 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 07:01:02 +00:00
peterl%netscape.com
c2d5d9cb79 added accessors to get & set alternate style sheets
git-svn-id: svn://10.0.0.236/trunk@18420 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 07:00:39 +00:00
peterl%netscape.com
edced705c2 added header data accesors
git-svn-id: svn://10.0.0.236/trunk@18419 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 07:00:10 +00:00
peterl%netscape.com
d86add4d82 sync to nsIDocument API changes
git-svn-id: svn://10.0.0.236/trunk@18418 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 06:59:35 +00:00
peterl%netscape.com
b30e13c978 removed nspr from the pull_seamonkey target
git-svn-id: svn://10.0.0.236/trunk@18417 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 06:59:09 +00:00
peterl%netscape.com
4c6a934d77 added nsStringArray
git-svn-id: svn://10.0.0.236/trunk@18416 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 06:58:34 +00:00
gagan%netscape.com
e65729cc50 See diffs. Thanks wtc.
git-svn-id: svn://10.0.0.236/trunk@18415 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 06:15:22 +00:00
troy%netscape.com
953e1a3dbc Part of the fix for bug #2502. For the time being mark relative/absolute positioned
views as having transparent content


git-svn-id: svn://10.0.0.236/trunk@18414 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 05:47:55 +00:00
troy%netscape.com
94c5f449dd Added check for unconstrained width/height of the containing block when
computing 'offsets'


git-svn-id: svn://10.0.0.236/trunk@18413 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 04:49:15 +00:00
troy%netscape.com
e2ce091433 Fixed a memory leak of the web shell in LoadURL()
git-svn-id: svn://10.0.0.236/trunk@18412 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 04:16:18 +00:00
pavlov%pavlov.net
11541f543f clean up some font code
git-svn-id: svn://10.0.0.236/trunk@18411 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 03:29:50 +00:00
troy%netscape.com
01fc8b39f2 Fixed some assertions that didn't compile...
git-svn-id: svn://10.0.0.236/trunk@18410 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 03:19:38 +00:00
mscott%netscape.com
ce2f1c7917 Export nsITransport.h
git-svn-id: svn://10.0.0.236/trunk@18409 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 03:05:42 +00:00
mscott%netscape.com
0830d10110 Add sockstub to list of url types.
git-svn-id: svn://10.0.0.236/trunk@18408 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 02:56:30 +00:00
alecf%netscape.com
1dcbc8af25 add dummy nsIMsgFolder so that other things can compile.
putterman will check a real interface


git-svn-id: svn://10.0.0.236/trunk@18407 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 02:48:58 +00:00
alecf%netscape.com
2424f94ec5 get rid of all references to MSG_FolderInfo (should be nsIMsgFolder)
git-svn-id: svn://10.0.0.236/trunk@18406 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 02:46:15 +00:00
alecf%netscape.com
e61703b9b8 more updates to make this thing compile!
Fix alot of the GetType() and IsCategory() routines to use QueryInterface instead.


git-svn-id: svn://10.0.0.236/trunk@18405 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 02:45:28 +00:00
alecf%netscape.com
1e04b4539c add new nsINNTPCategoryContainer to be exported
git-svn-id: svn://10.0.0.236/trunk@18404 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 02:42:26 +00:00
alecf%netscape.com
6d49cd9f6d forgot to check in generated header
git-svn-id: svn://10.0.0.236/trunk@18403 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 02:42:05 +00:00
alecf%netscape.com
9cb38d2bda update attributes - flag is not an attribute, it's an accessor for many
different newsgroup (folder?) flags


git-svn-id: svn://10.0.0.236/trunk@18402 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 02:41:32 +00:00
alecf%netscape.com
691d1ed037 add new nsINNTPCategoryContainer interface
git-svn-id: svn://10.0.0.236/trunk@18401 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 02:40:27 +00:00
alecf%netscape.com
b23674c817 add an IID and make this derive from nsISupports
git-svn-id: svn://10.0.0.236/trunk@18400 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 02:39:43 +00:00
troy%netscape.com
1128cee41a Added XXX comment indicating that the #if 0 code in Init() is causing
a memory leak...


git-svn-id: svn://10.0.0.236/trunk@18399 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 02:38:16 +00:00
mscott%netscape.com
d9d77970dc A stub protocol used to support the new netlib <--> protocol model in the old networking world.
git-svn-id: svn://10.0.0.236/trunk@18398 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 02:34:01 +00:00
wtc%netscape.com
418e67a4a4 Avoid string literals that span multiple lines because some compilers
don't like line endings in string literals.


git-svn-id: svn://10.0.0.236/trunk@18397 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 02:04:40 +00:00
wtc%netscape.com
3682a5c58a Text after #endif should be put inside a comment.
git-svn-id: svn://10.0.0.236/trunk@18396 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 02:02:42 +00:00
pavlov%pavlov.net
f1d4e0ab8a animated things work, editor works, etc etc etc. be happy!
git-svn-id: svn://10.0.0.236/trunk@18395 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 01:58:45 +00:00
saari%netscape.com
c75d529454 Commenting out until I figure out what I horked
git-svn-id: svn://10.0.0.236/trunk@18394 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 01:08:17 +00:00
alecf%netscape.com
4ac8d4dbbd fix #include (unix is case sensitive)
git-svn-id: svn://10.0.0.236/trunk@18393 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 01:04:28 +00:00
alecf%netscape.com
3155d91aa3 forgot uuid
git-svn-id: svn://10.0.0.236/trunk@18392 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 01:02:16 +00:00
radha%netscape.com
d5dfa107f3 Remove that stupid printf from fe_GetConfigDir
git-svn-id: svn://10.0.0.236/trunk@18391 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 00:59:41 +00:00
radha%netscape.com
e116442fb0 Use the EventQueue service provider instead of manipulating directly with PLEventQueue
git-svn-id: svn://10.0.0.236/trunk@18390 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 00:54:43 +00:00
radha%netscape.com
8aa668599e Use the EventQueueService instead of creating the PLEventqueue directly.
Not quite sure if it works in motif.


git-svn-id: svn://10.0.0.236/trunk@18389 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 00:53:49 +00:00
radha%netscape.com
2bc4d3b1d0 Few debug statements added
git-svn-id: svn://10.0.0.236/trunk@18388 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 00:52:52 +00:00
mcafee%netscape.com
99ae4cff00 Compiler warning
git-svn-id: svn://10.0.0.236/trunk@18387 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 00:52:08 +00:00
radha%netscape.com
edbcac6ce6 gWebShell_UnixEventQueue is gone. Use the Event queue service instead
git-svn-id: svn://10.0.0.236/trunk@18386 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 00:52:01 +00:00
radha%netscape.com
f3974cee75 Compile nsEventQueueService for unix
git-svn-id: svn://10.0.0.236/trunk@18385 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 00:51:17 +00:00
radha%netscape.com
225f6f51be Export nsEventQueueService and bunch of other files
git-svn-id: svn://10.0.0.236/trunk@18384 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 00:50:55 +00:00
slamm%netscape.com
7efebe117e Make depend.mk files smaller by putting more dependencies on one line (i.e. Add a '-w' flag to makedepend).
git-svn-id: svn://10.0.0.236/trunk@18383 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 00:50:39 +00:00
radha%netscape.com
155a723fc9 Don't need that gWebShell_UnixEventQueue anymore. Unix uses the event queue
service just like XP_PC


git-svn-id: svn://10.0.0.236/trunk@18382 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 00:50:08 +00:00
saari%netscape.com
4a0954c052 Commenting out until I figure out what I horked
git-svn-id: svn://10.0.0.236/trunk@18381 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 00:46:57 +00:00
akkana%netscape.com
3ba704ef6d remove some verbose debugging messages
git-svn-id: svn://10.0.0.236/trunk@18380 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 00:38:54 +00:00
saari%netscape.com
1606aa27bf Commenting out until I figure out what I horked
git-svn-id: svn://10.0.0.236/trunk@18379 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 00:26:51 +00:00
troy%netscape.com
456f4bc464 Turned off debug message that was outputing to the console
git-svn-id: svn://10.0.0.236/trunk@18378 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 00:20:58 +00:00
vidur%netscape.com
af97890612 Implemented splitText for text nodes
git-svn-id: svn://10.0.0.236/trunk@18377 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 00:10:08 +00:00
ramiro%netscape.com
c4a45795d5 Ignore generated file.
git-svn-id: svn://10.0.0.236/trunk@18376 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 00:09:34 +00:00
ramiro%netscape.com
b21219c408 Build TestCOMPtr by default.
git-svn-id: svn://10.0.0.236/trunk@18375 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 00:03:44 +00:00
mcafee%netscape.com
a33b370cfb Cleaning up whitespace
git-svn-id: svn://10.0.0.236/trunk@18374 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 00:02:41 +00:00
akkana%netscape.com
579c399f12 2028: Get selection highlighting working on Linux
git-svn-id: svn://10.0.0.236/trunk@18373 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 00:00:46 +00:00
mcafee%netscape.com
1010f84a9c Missing license
git-svn-id: svn://10.0.0.236/trunk@18372 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 23:56:59 +00:00
mcafee%netscape.com
03a60460f8 Woops, forgot the license.
git-svn-id: svn://10.0.0.236/trunk@18371 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 23:54:25 +00:00
saari%netscape.com
cb9c9fb271 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@18370 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 23:53:53 +00:00
despotdaemon%netscape.com
f30eb3c31d Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@18369 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 23:41:27 +00:00
saari%netscape.com
e67ca2314a Set mMenuListener to null in constructor
git-svn-id: svn://10.0.0.236/trunk@18368 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 23:25:16 +00:00
saari%netscape.com
f8cb83a03e Added nsIMenuListener.h and made a member variable in nsBaseWidget for holding one of these.
This is for the XPToolkit menus to hook in and get notified of menu events.


git-svn-id: svn://10.0.0.236/trunk@18367 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 23:23:00 +00:00
troy%netscape.com
19c55aa5c3 Fixed ReflowTemp() so it's doing a legal incremental reflow, and changed
Reflow() so it does a minimally acceptable job of handling incremental reflow
commands...


git-svn-id: svn://10.0.0.236/trunk@18366 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 23:10:02 +00:00
troy%netscape.com
1e43a7153b Changed Reflow() to make sure we remove the reflow command for
incremental reflow commands passing through us


git-svn-id: svn://10.0.0.236/trunk@18365 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 23:08:42 +00:00
troy%netscape.com
f311f2476e Changed ContentChanged() to generate a reflow command
git-svn-id: svn://10.0.0.236/trunk@18364 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 23:07:09 +00:00
buster%netscape.com
cd2edf3e7c added some basic tree navigation methods.
implemented part of backspacing from the beginning of a text node.


git-svn-id: svn://10.0.0.236/trunk@18363 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 22:58:15 +00:00
vidur%netscape.com
ea2adbea24 Comments added to content model. Comments and text content now have a special tagname
git-svn-id: svn://10.0.0.236/trunk@18362 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 22:48:00 +00:00
harishd%netscape.com
bb9e8f162b StyleContext passed onto PaintBorder()
git-svn-id: svn://10.0.0.236/trunk@18361 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 22:38:34 +00:00
harishd%netscape.com
d04bba5e7b StyleContext passed onto PaintBorder()/PaintArrow()
git-svn-id: svn://10.0.0.236/trunk@18360 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 22:35:12 +00:00
harishd%netscape.com
81ef9c4292 StyleContext passed onto PaintArrow()
git-svn-id: svn://10.0.0.236/trunk@18359 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 22:34:28 +00:00
harishd%netscape.com
8f1b6c4b34 styleContext is passed onto PaintBorder()/PaintArrow()
git-svn-id: svn://10.0.0.236/trunk@18358 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 22:31:15 +00:00
harishd%netscape.com
3dea579ecf StyleContext info. is passed on into PaintBorder()
git-svn-id: svn://10.0.0.236/trunk@18357 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 22:30:02 +00:00
harishd%netscape.com
72a54d60f4 Stylecontext is passed to PaintBorder()
git-svn-id: svn://10.0.0.236/trunk@18356 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 22:28:12 +00:00
harishd%netscape.com
1aafb50b75 PaintBorder() method has stylecontext info.
git-svn-id: svn://10.0.0.236/trunk@18355 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 22:27:19 +00:00
harishd%netscape.com
3c5ba1d382 PaintBorder() modified to accept styleContext
git-svn-id: svn://10.0.0.236/trunk@18354 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 22:26:29 +00:00
harishd%netscape.com
e0f64c68e8 Passing styleContext info. to PaintBorder().
git-svn-id: svn://10.0.0.236/trunk@18353 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 22:25:58 +00:00
harishd%netscape.com
ac07320328 Passing stylecontext into Paintborder()
git-svn-id: svn://10.0.0.236/trunk@18352 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 22:25:00 +00:00
harishd%netscape.com
f95d3a13e2 Got stylecontext info into PaintBorder() for displaying
CSS borders.


git-svn-id: svn://10.0.0.236/trunk@18351 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 22:24:05 +00:00
radha%netscape.com
2727b67152 Use command line service to obtain URLs etc...
git-svn-id: svn://10.0.0.236/trunk@18350 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 22:22:33 +00:00
harishd%netscape.com
023152a6fa Modified the PaintBorder(), MakeBevelColor(), DrawSide(),
PaintBorderEdge() methods.


git-svn-id: svn://10.0.0.236/trunk@18349 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 22:22:26 +00:00
radha%netscape.com
a926066dba Add command line service to registry list
git-svn-id: svn://10.0.0.236/trunk@18348 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 22:22:13 +00:00
radha%netscape.com
40df649a4e Command line service provider. Initial checkin
git-svn-id: svn://10.0.0.236/trunk@18347 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 22:21:45 +00:00
radha%netscape.com
e2f35e4d1b Add factory instanciation for command line service provider
git-svn-id: svn://10.0.0.236/trunk@18346 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 22:20:57 +00:00
radha%netscape.com
96e6d94e56 Added nsICmdLineService.h
git-svn-id: svn://10.0.0.236/trunk@18345 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 22:20:23 +00:00
harishd%netscape.com
4946dc1658 Added method to display CSS 3D borders.
git-svn-id: svn://10.0.0.236/trunk@18344 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 22:20:11 +00:00
radha%netscape.com
708b23bb32 Added nsCommandLineService.cpp
git-svn-id: svn://10.0.0.236/trunk@18343 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 22:19:18 +00:00
harishd%netscape.com
4c1c0791f1 Added method to display CSS 3D borders.
Also, have added a helper method.


git-svn-id: svn://10.0.0.236/trunk@18342 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 22:19:13 +00:00
radha%netscape.com
b79029fdb8 Interface for command line service provider
git-svn-id: svn://10.0.0.236/trunk@18341 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 22:18:49 +00:00
terry%netscape.com
b70ff8ac48 That didn't work. Disable freshmeat another way.
git-svn-id: svn://10.0.0.236/trunk@18340 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 22:15:08 +00:00
kmcclusk%netscape.com
a3204bdd9b Removed code which set the defaultchecked from the checked attribute.
git-svn-id: svn://10.0.0.236/trunk@18339 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 22:14:58 +00:00
terry%netscape.com
801eeca0a3 Change mozbot's diet -- freshmeat is causing it to choke.
git-svn-id: svn://10.0.0.236/trunk@18338 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 22:11:19 +00:00
mjudge%netscape.com
549eaa4d7f selection rocks ass
git-svn-id: svn://10.0.0.236/trunk@18337 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 22:04:54 +00:00
waterson%netscape.com
7eb41b0061 Added a missing header file.
git-svn-id: svn://10.0.0.236/trunk@18336 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 22:04:27 +00:00
waterson%netscape.com
a945a4c56e Fixed a reference counting bug and a problem with the NS_RELEASE() macro.
git-svn-id: svn://10.0.0.236/trunk@18335 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 22:04:04 +00:00
mcafee%netscape.com
b39970f6d5 moving from STDARG to autoconf-blessed STDC_HEADERS
git-svn-id: svn://10.0.0.236/trunk@18334 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 22:01:40 +00:00
kipp%netscape.com
0360db506c reserved IID
git-svn-id: svn://10.0.0.236/trunk@18333 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 21:48:33 +00:00
sfraser%netscape.com
989547753d Fix non-debug build spankage, approved sar, jj.
git-svn-id: svn://10.0.0.236/trunk@18332 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 21:22:22 +00:00
sfraser%netscape.com
5355ea66f7 Fixing a test-stopping bug, approved by sar.
Fix some copy-paste madness in idler/repeater code,
and add an assert to ensure you are not running a bad timer.


git-svn-id: svn://10.0.0.236/trunk@18331 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 20:16:30 +00:00
terry%netscape.com
4aba402296 Make a bigger field to type your email address.
git-svn-id: svn://10.0.0.236/trunk@18330 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 19:54:18 +00:00
buster%netscape.com
652e32c887 better delete now that selection offsets are real.
git-svn-id: svn://10.0.0.236/trunk@18329 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 19:44:46 +00:00
kmcclusk%netscape.com
128da5b0f8 Removed nsIFormControLFrame.h since it now lives in public
git-svn-id: svn://10.0.0.236/trunk@18328 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 19:22:37 +00:00
kmcclusk%netscape.com
2dfc331847 Added missing methods to nsIFormControlFrame.h
git-svn-id: svn://10.0.0.236/trunk@18327 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 19:10:10 +00:00
buster%netscape.com
2c02dfaabf fixed debug asserts to allow for offset=count, since offsets represent
the slots between content.


git-svn-id: svn://10.0.0.236/trunk@18326 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 19:06:27 +00:00
buster%netscape.com
53a4f6ba7d delete range now iterates through the selection properly.
fixed an xpcom usage problem with macros...ALWAYS use {} on your if statements!


git-svn-id: svn://10.0.0.236/trunk@18325 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 19:05:08 +00:00
buster%netscape.com
048be49b69 made split test work with Ctrl-S only, so now you can type "s"
git-svn-id: svn://10.0.0.236/trunk@18324 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 19:03:23 +00:00
mjudge%netscape.com
21276a494f adding IID to interface
git-svn-id: svn://10.0.0.236/trunk@18323 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 18:58:43 +00:00
mjudge%netscape.com
06c5902e82 chagnes for selection to work
git-svn-id: svn://10.0.0.236/trunk@18322 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 18:58:14 +00:00
troy%netscape.com
064afea0b7 Added XXX comment for ReResolveStyleContext()
git-svn-id: svn://10.0.0.236/trunk@18321 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 18:23:06 +00:00
kmcclusk%netscape.com
5429720a08 Added export of nsIFormControlFrame.h for the MAC build
git-svn-id: svn://10.0.0.236/trunk@18320 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 18:21:39 +00:00
kmcclusk%netscape.com
aec40f3832 Modified Linux and Mac to export nsIFormControlFrame.h
git-svn-id: svn://10.0.0.236/trunk@18319 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 18:19:12 +00:00
kmcclusk%netscape.com
bd9bdef601 Added nsIFormControlFrame to the set of files to export
git-svn-id: svn://10.0.0.236/trunk@18318 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 18:14:23 +00:00
shaver%netscape.com
2d41ee208d Added prototypes for Header XDR functions.
Minor brace-placement tweaks.
Added SimpleTypeLib test program, although it doesn't build due to Makefile.in
suckage.
Fixed XPT_DoHeader to only write IDEs once (duh).
Added SizeOfHeaderBlock to API.


git-svn-id: svn://10.0.0.236/trunk@18317 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 17:53:35 +00:00
wtc%netscape.com
6e40fc8cb5 The build/hcc and build/hcpp scripts now take the compiler name as the
first argument.  This patch is contributed by Tim Rice <tim@trr.metro.net>.


git-svn-id: svn://10.0.0.236/trunk@18316 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 17:24:20 +00:00
buster%netscape.com
62018679d8 updated to new nsCOMPtr usage
git-svn-id: svn://10.0.0.236/trunk@18315 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 16:55:59 +00:00
dcone%netscape.com
e8cb1bcbfa Combined files so 3 were deleted, one added. The Rendering and Device contexts
no longer need deligates, so they were removed.  Cleaned up alot of code no
longer needed


git-svn-id: svn://10.0.0.236/trunk@18314 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 16:21:58 +00:00
blizzard%appliedtheory.com
66a6d1fe9b handle the top level widget special in resizing
git-svn-id: svn://10.0.0.236/trunk@18313 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 16:10:29 +00:00
dcone%netscape.com
b7650b7bc0 nsFormcontrolHelper.cpp
nsListControlFrame.cpp
nsCombboxcontrolframe.cpp


git-svn-id: svn://10.0.0.236/trunk@18312 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 16:08:52 +00:00
dcone%netscape.com
639fb0996b Added a manifest file for layout:html:forms:public
git-svn-id: svn://10.0.0.236/trunk@18311 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 16:04:51 +00:00
dcone%netscape.com
8f5b9c1901 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@18310 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 16:04:08 +00:00
blizzard%appliedtheory.com
13cedd6699 resizing fixes
git-svn-id: svn://10.0.0.236/trunk@18309 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 16:02:34 +00:00
rods%netscape.com
2a580719d4 Ifdef'ed out the Pluggable event code
git-svn-id: svn://10.0.0.236/trunk@18308 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 15:56:21 +00:00
rods%netscape.com
749a5217b7 Initial checkin factored code from nsFormControlFrame
git-svn-id: svn://10.0.0.236/trunk@18307 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 15:47:33 +00:00
rods%netscape.com
ce9720c590 initial checkin
git-svn-id: svn://10.0.0.236/trunk@18306 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 15:41:28 +00:00
rods%netscape.com
3702364a44 Added nsIListControlFrame.h and nsComboboxControlFrame.h
git-svn-id: svn://10.0.0.236/trunk@18305 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 15:41:05 +00:00
buster%netscape.com
f1bacd2e07 made GetIsTransient return false by default, so most transactions don't need to implement GetIsTransient
made delete and backspace do the right thing (testing hacks removed)


git-svn-id: svn://10.0.0.236/trunk@18304 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 15:40:31 +00:00
rods%netscape.com
25196ce4f2 Added methods for creating ListControlFrame and ComboxControlFrames
git-svn-id: svn://10.0.0.236/trunk@18303 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 15:34:13 +00:00
rods%netscape.com
9b13d22d70 Factored out code for helper functions for determining size and for rendering
git-svn-id: svn://10.0.0.236/trunk@18302 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 15:32:57 +00:00
rods%netscape.com
9d5248a35c Added nsComboboxControlFrame nsListControlFrame
git-svn-id: svn://10.0.0.236/trunk@18301 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 15:32:34 +00:00
rods%netscape.com
5d9d7b1a75 Factored out the Initialization code for the ScrollFrame into a separate method
Added code to hide and show view when applied to the whole tree
Added a method for Creating the proper frames for the SELECT tag


git-svn-id: svn://10.0.0.236/trunk@18300 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 15:27:54 +00:00
rods%netscape.com
c4d19ab423 Added some additional attoms for the Combobox Frame Control
git-svn-id: svn://10.0.0.236/trunk@18299 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 15:25:12 +00:00
rods%netscape.com
b4a0472893 Removed the class def and put it in a new header nsScrollFrame.h
git-svn-id: svn://10.0.0.236/trunk@18298 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 15:23:51 +00:00
rods%netscape.com
6717d57280 Initial checkin the code was in nsScrollFrame.cpp
git-svn-id: svn://10.0.0.236/trunk@18297 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 15:23:15 +00:00
rhp%netscape.com
ebf361fe42 Just some cleanup of commented out code.
git-svn-id: svn://10.0.0.236/trunk@18296 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 14:06:55 +00:00
rhp%netscape.com
48bcd628fe Now, DLL's are loaded in an XP manner.
git-svn-id: svn://10.0.0.236/trunk@18295 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 14:05:15 +00:00
mcafee%netscape.com
bec9fa4dee Yanked rules that are in rules.mk
git-svn-id: svn://10.0.0.236/trunk@18294 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 12:14:51 +00:00
pavlov%pavlov.net
2e6a02ca58 setup place for ramiro to fix bug 2503 easily
git-svn-id: svn://10.0.0.236/trunk@18293 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 12:10:43 +00:00
briano%netscape.com
f6ea73216d Automated update
git-svn-id: svn://10.0.0.236/trunk@18292 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 12:00:40 +00:00
mcafee%netscape.com
3f6a97da54 Breathing Unix life into the rdf tests
git-svn-id: svn://10.0.0.236/trunk@18291 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 11:47:39 +00:00
mcafee%netscape.com
0a090ef99c Adding test directories for network, rdf
git-svn-id: svn://10.0.0.236/trunk@18290 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 11:46:46 +00:00
mcafee%netscape.com
8d7747b12f Add tests if ENABLE_TESTS=1
git-svn-id: svn://10.0.0.236/trunk@18289 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 11:46:20 +00:00
mcafee%netscape.com
871ba5cc04 Better link line, closer to linking...
git-svn-id: svn://10.0.0.236/trunk@18288 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 11:19:42 +00:00
mcafee%netscape.com
22bd814852 Unhard-coded library suffixes, yanked rules that are already in rules.mk
git-svn-id: svn://10.0.0.236/trunk@18287 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 11:11:16 +00:00
mcafee%netscape.com
23f177d2c6 Removing unneeded rule, we are closer to linking now
git-svn-id: svn://10.0.0.236/trunk@18286 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 11:05:34 +00:00
mcafee%netscape.com
57d4e8b0c9 Add tests if ENABLE_TESTS=1, cleaning up a bit
git-svn-id: svn://10.0.0.236/trunk@18285 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 11:05:00 +00:00
mcafee%netscape.com
dd2975fe39 Adding a Unix makefile for fftest
git-svn-id: svn://10.0.0.236/trunk@18284 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 10:44:32 +00:00
mcafee%netscape.com
a8a8007a50 Unix makefile for tests
git-svn-id: svn://10.0.0.236/trunk@18283 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 10:43:46 +00:00
mcafee%netscape.com
5e0f4f6e7d Removing stuff that is already in rules.mk, why duplicate it here?
git-svn-id: svn://10.0.0.236/trunk@18282 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 10:13:38 +00:00
mcafee%netscape.com
8ce2376142 Add tests if ENABLE_TESTS=1.
git-svn-id: svn://10.0.0.236/trunk@18281 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 10:04:51 +00:00
mcafee%netscape.com
dd4c94c66e Removed hard-coded link line, use the one in rules.mk instead.
git-svn-id: svn://10.0.0.236/trunk@18280 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 10:03:32 +00:00
mcafee%netscape.com
85eccd7f77 Turn on C++ linking if we have any .cpp files.
git-svn-id: svn://10.0.0.236/trunk@18279 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 10:01:44 +00:00
mcafee%netscape.com
0fe5e0486e hooked up STDARG to the autoconf definition.
git-svn-id: svn://10.0.0.236/trunk@18278 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 09:22:37 +00:00
shaver%netscape.com
2f66be3784 Added methods to create or fill headers, IDEs, interface descriptors,
method descriptors, param descriptors, const descriptors (partial)
and annotations.
Rejigged XPTAnnotation for proper struct nesting and linked-listed-ness.
Implemented SizeOfHeader (partially).
Fixed data_pool handling in XPT_DoHeader.
Implemented XPT_SeekTo and XPT_DoIID.


git-svn-id: svn://10.0.0.236/trunk@18277 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 09:13:02 +00:00
jfrancis%netscape.com
8f3f641ccb efficiency improvement to ComparePointToRange()
git-svn-id: svn://10.0.0.236/trunk@18276 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 08:59:26 +00:00
jfrancis%netscape.com
ca8e5f4cdd fixing bugs #2547 #2295
git-svn-id: svn://10.0.0.236/trunk@18275 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 08:58:43 +00:00
waterson%netscape.com
3920604b69 Implemented RDF container support and improved support for 'anonymous' resources for output of RDF/XML. Cleaned up common RDF vocabularies, placing #defines into rdf.h.
git-svn-id: svn://10.0.0.236/trunk@18274 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 06:48:25 +00:00
grail%cafebabe.org
3f2b918ccc Temporary fix for the new folder action. The dialog for it is still
broke. Too many things are just temporary hacks.


git-svn-id: svn://10.0.0.236/trunk@18273 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 06:45:10 +00:00
grail%cafebabe.org
4322f254c1 Removed classpath's bogusness. We need to get a better way to do this.
git-svn-id: svn://10.0.0.236/trunk@18272 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 06:44:30 +00:00
ramiro%netscape.com
3329dafec7 Ignore generated files.
git-svn-id: svn://10.0.0.236/trunk@18271 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 06:33:54 +00:00
briano%netscape.com
00c92ab262 Automated update
git-svn-id: svn://10.0.0.236/trunk@18270 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 06:15:34 +00:00
ramiro%netscape.com
6c2d59ff3e Add xul dirs.
git-svn-id: svn://10.0.0.236/trunk@18269 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 06:00:44 +00:00
ramiro%netscape.com
4871e4700f Add -I flags to pick up the right style and html base headers.
git-svn-id: svn://10.0.0.236/trunk@18268 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 06:00:21 +00:00
ramiro%netscape.com
41c102bca1 Add base to DIRS.
git-svn-id: svn://10.0.0.236/trunk@18267 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 05:59:42 +00:00
hyatt%netscape.com
069accd798 Adding linkage for the XUL base library.
git-svn-id: svn://10.0.0.236/trunk@18266 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 04:15:29 +00:00
troy%netscape.com
c86c1c1ca7 Correction to how offsets are computed for relatively positioned elements
git-svn-id: svn://10.0.0.236/trunk@18265 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 04:12:03 +00:00
mcafee%netscape.com
0cd1281d38 Bringing dbm/tests into the new autoconf world
git-svn-id: svn://10.0.0.236/trunk@18264 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 04:11:01 +00:00
mcafee%netscape.com
d964c42276 STDARG=1 is the default until we can autoconf this
git-svn-id: svn://10.0.0.236/trunk@18263 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 04:07:13 +00:00
pinkerton%netscape.com
70c4e1b464 hooking toolbars and toolbox back up. Sigh.
git-svn-id: svn://10.0.0.236/trunk@18262 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 04:04:12 +00:00
mcafee%netscape.com
73ed3a22a1 Adding support for linking binaries
git-svn-id: svn://10.0.0.236/trunk@18261 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 04:00:13 +00:00
sfraser%netscape.com
3c160c6d18 Fix ftang's build bustage -- move base.mcp to be built before the uconv stuff.
git-svn-id: svn://10.0.0.236/trunk@18260 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 03:53:24 +00:00
mjudge%netscape.com
bbddba9557 fixing build bustages
git-svn-id: svn://10.0.0.236/trunk@18259 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 03:50:22 +00:00
hyatt%netscape.com
9aea9834cb added nsTreeFrame.cpp to xul/base
git-svn-id: svn://10.0.0.236/trunk@18258 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 03:40:32 +00:00
hyatt%netscape.com
182b211c16 Tweak to make the XUL base library build.
git-svn-id: svn://10.0.0.236/trunk@18257 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 03:34:41 +00:00
hyatt%netscape.com
4335e45643 Added support for tree frame instantiation.
git-svn-id: svn://10.0.0.236/trunk@18256 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 03:31:56 +00:00
hyatt%netscape.com
17a01c504e Adding the tree frame class.
git-svn-id: svn://10.0.0.236/trunk@18255 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 03:28:29 +00:00
hyatt%netscape.com
5826d3fb46 Added atoms for the tree widget. Modified the makefile to make sure
that nsTreeView.cpp builds.


git-svn-id: svn://10.0.0.236/trunk@18254 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 03:27:35 +00:00
mjudge%netscape.com
da1cc58b72 fixing build bustage
git-svn-id: svn://10.0.0.236/trunk@18253 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 03:18:51 +00:00
mjudge%netscape.com
7a09e861da fix build
git-svn-id: svn://10.0.0.236/trunk@18252 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 02:06:06 +00:00
pinkerton%netscape.com
71d3b9f726 ack, unhook toolbars until i can solve the export problem on win.
git-svn-id: svn://10.0.0.236/trunk@18251 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 01:53:05 +00:00
rhp%netscape.com
4cb696a903 Adding changes for external modular content type handler plugins.
git-svn-id: svn://10.0.0.236/trunk@18250 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 01:51:43 +00:00
wtc%netscape.com
d9166e1649 Bugsplat bug #340345: need to initialize the last two function pointers
in the file I/O method table.


git-svn-id: svn://10.0.0.236/trunk@18249 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 01:49:28 +00:00
davidm%netscape.com
8ef5c8c436 2239 Crash when leaving test9
git-svn-id: svn://10.0.0.236/trunk@18248 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 01:49:08 +00:00
wtc%netscape.com
b14b6cf164 Removed an extra comma.
git-svn-id: svn://10.0.0.236/trunk@18247 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 01:47:31 +00:00
mscott%netscape.com
dcdbe4cbec Checking in the real fix for nsBufferedStream this time...
git-svn-id: svn://10.0.0.236/trunk@18246 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 01:46:37 +00:00
cyeh%netscape.com
e33cc2e2db added new hacky build configuration. if MOZ_DEBUG is not set, you can
set MOZ_DEBUGOPT. MOZ_DEBUGOPT will generate optimized bits, but also
generate debugging information linked into the libraries and executables.

this can be insanely useful when you are trying to track down compiler
optimization bugs.

to use, set MOZ_DEBUG=, set MOZ_DEBUGOPT=1


git-svn-id: svn://10.0.0.236/trunk@18245 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 01:45:38 +00:00
rhp%netscape.com
2263bd1e29 Adding changes for external modular content type handler plugins.
git-svn-id: svn://10.0.0.236/trunk@18244 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 01:44:22 +00:00
pinkerton%netscape.com
870c082b0a hookup toolbars and toolbox so they are instantiated when xul sees those tags.
git-svn-id: svn://10.0.0.236/trunk@18243 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 01:42:44 +00:00
cyeh%netscape.com
d9bb8b494e wrap !ifdef MOZ_DEBUG around custom .cpp rule so that if you are building optimized with
debug symbols, the rule doesn't go looking for PDB files that don't exist.
approved: kipp


git-svn-id: svn://10.0.0.236/trunk@18242 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 01:41:27 +00:00
mscott%netscape.com
6a47bca0aa nsBufferedStream::GetLength should return the data length instead of the write offset.
git-svn-id: svn://10.0.0.236/trunk@18241 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 01:35:44 +00:00
ftang%netscape.com
f5e5ee4980 add uconv, ucvlatin, ucvja into the build process
git-svn-id: svn://10.0.0.236/trunk@18240 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 01:30:07 +00:00
alecf%netscape.com
f2ea90ba00 add rules to automatically build .h files from .idl files if they are newer,
and add way of exporting IDL files with IDLSRCS


git-svn-id: svn://10.0.0.236/trunk@18239 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 01:28:13 +00:00
alecf%netscape.com
93b60e3ef6 specify the exact location of the XPIDL compiler
git-svn-id: svn://10.0.0.236/trunk@18238 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 01:27:28 +00:00
ftang%netscape.com
c1270ca38b fix the target name from shlib to shlb
git-svn-id: svn://10.0.0.236/trunk@18237 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 01:26:41 +00:00
mcafee%netscape.com
e1b0c0ce54 OBJS rule is in mozilla/config/rules.mk, don't duplicate it here.
git-svn-id: svn://10.0.0.236/trunk@18236 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 01:20:34 +00:00
scc%netscape.com
f2a42cc021 Made the constructor explicit again (see comment) to stop people from breaking the Linux builds.
git-svn-id: svn://10.0.0.236/trunk@18235 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 01:17:48 +00:00
pinkerton%netscape.com
ccac147d8b Work to get these instantiated.
git-svn-id: svn://10.0.0.236/trunk@18234 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 01:10:28 +00:00
pavlov%pavlov.net
fa6326f96b fix rods's broken code
git-svn-id: svn://10.0.0.236/trunk@18233 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 00:45:56 +00:00
rods%netscape.com
c45a0f4395 I removed the error.
git-svn-id: svn://10.0.0.236/trunk@18232 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 00:41:18 +00:00
troy%netscape.com
edef2644e5 Made handling of absolutely positioned child frames more efficient
git-svn-id: svn://10.0.0.236/trunk@18231 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 00:30:27 +00:00
sfraser%netscape.com
6b621fbc7f Removing ProfilerLib that I left in there by mistake.
git-svn-id: svn://10.0.0.236/trunk@18230 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 00:22:19 +00:00
sfraser%netscape.com
e336506959 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@18229 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 00:21:46 +00:00
sfraser%netscape.com
65f954e71e Added a new target that builds a NewPtr-based implementation of malloc/free for debugging purposes.
git-svn-id: svn://10.0.0.236/trunk@18228 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 00:20:42 +00:00
sfraser%netscape.com
ab55f7150c Various optimizations in the memory allocators as fix for bug 2254. Also now zap the contents of allocated and freed blocks.
git-svn-id: svn://10.0.0.236/trunk@18227 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 00:20:06 +00:00
rods%netscape.com
4960f36497 Removed the GetFont method (this functionality is now a part of the nsIDeviceContext)
git-svn-id: svn://10.0.0.236/trunk@18226 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 23:59:14 +00:00
rods%netscape.com
d3e70b8d69 Added new Method for getting System Attributes (colors, fonts, sizes)
many of these are duplicated in nsLookAndFeel. The enums will be removed
from nsLookAndFeel.


git-svn-id: svn://10.0.0.236/trunk@18225 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 23:55:27 +00:00
ftang%netscape.com
f68075a555 add intl directory to the makefile
git-svn-id: svn://10.0.0.236/trunk@18224 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 23:53:08 +00:00
leif%netscape.com
06d474a186 Merged v1.1 development branch to trunk, v1.1 released
git-svn-id: svn://10.0.0.236/trunk@18220 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 23:52:52 +00:00
nhotta%netscape.com
fe81c0710b First Checked In.
git-svn-id: svn://10.0.0.236/trunk@18219 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 23:40:32 +00:00
nhotta%netscape.com
d70fa8a71d Changes for Mac build.
git-svn-id: svn://10.0.0.236/trunk@18218 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 23:37:56 +00:00
sfraser%netscape.com
2534046117 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@18217 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 23:35:30 +00:00
sfraser%netscape.com
ad8275889f Added a #pragma error noting that this file is obsolete, but remains for reference reasons.
git-svn-id: svn://10.0.0.236/trunk@18216 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 23:35:08 +00:00
sfraser%netscape.com
cfae70862f Commented out obsolete PowerPlant includes
git-svn-id: svn://10.0.0.236/trunk@18215 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 23:34:32 +00:00
briano%netscape.com
cdf6f26113 Automated update
git-svn-id: svn://10.0.0.236/trunk@18214 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 23:30:38 +00:00
pavlov%pavlov.net
c9edc53ca0 require GTK 1.1.13
git-svn-id: svn://10.0.0.236/trunk@18213 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 23:26:19 +00:00
nhotta%netscape.com
fa0a416208 File Removed.
git-svn-id: svn://10.0.0.236/trunk@18212 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 23:26:07 +00:00
despotdaemon%netscape.com
cd408aa4cf Pseudo-automatic update of changes made by cyeh@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@18211 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 23:15:17 +00:00
nhotta%netscape.com
14c155e457 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@18210 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 23:13:03 +00:00
wtc%netscape.com
e2e5fa8fb9 Bugsplat bug #340332: _PR_MD_CLOSE should wait, with no timeout,
until the pending async I/O operation is aborted.  Thanks to
Mark Rawling <mwr@npec.netscape.com> for the bug report and help
with debugging.


git-svn-id: svn://10.0.0.236/trunk@18209 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 23:11:22 +00:00
briano%netscape.com
9c8d20e4ac Automated update
git-svn-id: svn://10.0.0.236/trunk@18208 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 22:30:35 +00:00
waterson%netscape.com
718181609f Updated for new header files (not in the build).
git-svn-id: svn://10.0.0.236/trunk@18207 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 22:29:11 +00:00
waterson%netscape.com
039b980f72 Improved namespace handling for output of RDF/XML streams. Modified basic data source interface to include GetAllResources(), which enumerates all of the resources in the datasource. Moved code for dumping an RDF/XML stream out of nsInMemoryDataSource into nsRDFXMLDataSource.
git-svn-id: svn://10.0.0.236/trunk@18206 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 22:24:32 +00:00
mcafee%netscape.com
1cc8a06ad0 Adding guimgr to the editor build to match Win32
git-svn-id: svn://10.0.0.236/trunk@18205 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 22:19:45 +00:00
despotdaemon%netscape.com
b7d8a404ea Pseudo-automatic update of changes made by bienvenu@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@18204 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 22:16:13 +00:00
despotdaemon%netscape.com
dc8dabe88e Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@18203 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 22:12:01 +00:00
mcafee%netscape.com
fcb10dcf9b Comment: No output = test passed
git-svn-id: svn://10.0.0.236/trunk@18202 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 22:10:57 +00:00
kostello%netscape.com
c2d6eda11b Changed Code to match new selection work
git-svn-id: svn://10.0.0.236/trunk@18201 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 21:51:21 +00:00
kostello%netscape.com
aacb407d9b Commented out assert until Rick and I can figure
appropriate fix.


git-svn-id: svn://10.0.0.236/trunk@18200 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 21:48:40 +00:00
kostello%netscape.com
22f14ea4e2 Updated RDF document to match changed XIF signature
git-svn-id: svn://10.0.0.236/trunk@18199 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 21:46:27 +00:00
kostello%netscape.com
75d16ce80a Updated XIF code to match the new selection work.
git-svn-id: svn://10.0.0.236/trunk@18198 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 21:45:17 +00:00
akkana%netscape.com
826d1b136d Try a different form of casting to keep both Linux and the Mac happy
git-svn-id: svn://10.0.0.236/trunk@18197 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 21:10:12 +00:00
shaver%netscape.com
07a4b636fb test DoString
git-svn-id: svn://10.0.0.236/trunk@18193 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 20:05:58 +00:00
shaver%netscape.com
7d1aefc5e1 allocate memory for str->bytes in DoString decode, duh
git-svn-id: svn://10.0.0.236/trunk@18192 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 20:05:27 +00:00
buster%netscape.com
902ec60ee1 factored editor so a request (public) is separate from building the txn for that request (private)
added some debug code to transactions


git-svn-id: svn://10.0.0.236/trunk@18190 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 19:44:26 +00:00
vidur%netscape.com
7908dffae7 Fix to get default namespaces to work. Cleanup of DOM handling of character data.
git-svn-id: svn://10.0.0.236/trunk@18189 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 19:33:03 +00:00
akkana%netscape.com
9f4dfbc49b Fix nsCOMPtr casting build bustage
git-svn-id: svn://10.0.0.236/trunk@18188 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 19:31:57 +00:00
pinkerton%netscape.com
dc84cfe6ba remove file that shouldn't be there. mea culpa.
git-svn-id: svn://10.0.0.236/trunk@18187 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 19:25:25 +00:00
shaver%netscape.com
5d43857d3d fix dumb DBG thing
git-svn-id: svn://10.0.0.236/trunk@18186 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 19:21:58 +00:00
coop%netscape.com
5230673778 NOT YET PART OF SEAMONKEY:
* removed struct size #defines -> they were just silly anyway.
* replaced references to IDE file offsetsi with uint32 indices.
* first attempt at sorting out order of storage for XPTHeader and XPTInterfaceDirectoryEntry


git-svn-id: svn://10.0.0.236/trunk@18185 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 19:18:47 +00:00
alecf%netscape.com
bbe9ff8df9 changes to make XPIDL compiler work under Windows
git-svn-id: svn://10.0.0.236/trunk@18184 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 18:59:52 +00:00
pinkerton%netscape.com
299037dd3a not building the base dir for now.
git-svn-id: svn://10.0.0.236/trunk@18183 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 18:56:49 +00:00
wtc%netscape.com
30bf014603 Removed unnecessary macro define -D_THREAD_SAFE.
git-svn-id: svn://10.0.0.236/trunk@18182 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 18:49:31 +00:00
pinkerton%netscape.com
0b102f784e change lib name
git-svn-id: svn://10.0.0.236/trunk@18181 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 18:44:19 +00:00
pinkerton%netscape.com
1b89be8db8 start building the base directory
git-svn-id: svn://10.0.0.236/trunk@18180 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 18:36:33 +00:00
pinkerton%netscape.com
3877c94e12 added xul/base group and nsToolbarFrame.cpp and nsToolboxFrame.cpp
git-svn-id: svn://10.0.0.236/trunk@18179 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 18:33:29 +00:00
pinkerton%netscape.com
4a59b0b852 get compiling
git-svn-id: svn://10.0.0.236/trunk@18178 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 18:31:48 +00:00
pinkerton%netscape.com
6cb074b798 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@18177 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 18:31:39 +00:00
shaver%netscape.com
ec12610954 Better cursor management stuff.
Mild macro renaming.
Debugging output from CHECK_COUNT.
Fixed primitives and PrimitiveTest: we now pass! (32, 16, 8 and CString)
Dynamically link PrimitiveTest.


git-svn-id: svn://10.0.0.236/trunk@18176 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 17:37:54 +00:00
pinkerton%netscape.com
fe46e5b54f First Checked In.
git-svn-id: svn://10.0.0.236/trunk@18175 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 16:11:40 +00:00
pinkerton%netscape.com
fc4915922f Moving to base/src to mimic rest of layout.
git-svn-id: svn://10.0.0.236/trunk@18174 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 16:10:03 +00:00
ramiro%netscape.com
f1c348081a Fix for bug 1982. Remove bogus NS_RELEASE() on a timer.
Thanks to Davide Pasetto <dipo@sis.it> for providing the fix and looking
the bug up on bugzilla!.


git-svn-id: svn://10.0.0.236/trunk@18173 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 14:37:51 +00:00
ftang%netscape.com
22322765b4 add intl directory
git-svn-id: svn://10.0.0.236/trunk@18172 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 12:12:49 +00:00
pierre%netscape.com
a3439dbf47 Fix #2251 "Garbage renders over the back button"
git-svn-id: svn://10.0.0.236/trunk@18171 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 11:42:00 +00:00
pierre%netscape.com
dee020a45b Removed the obsolete 'mTE'.
git-svn-id: svn://10.0.0.236/trunk@18170 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 11:41:26 +00:00
pierre%netscape.com
ba1dd649af Removed the unused method DrawWidget()
git-svn-id: svn://10.0.0.236/trunk@18169 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 11:21:51 +00:00
pierre%netscape.com
bfde531d65 Calls SetOrigin() in Invalidate(). Fixes the problem where on going to a new page the top of the html area gets drawn last. Thanks to Cyrus Harmon <cyrus@neomorphic.com>
git-svn-id: svn://10.0.0.236/trunk@18168 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 11:21:10 +00:00
rpotts%netscape.com
e3fb7eb1aa appshell.html
git-svn-id: svn://10.0.0.236/trunk@18167 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 11:01:01 +00:00
rpotts%netscape.com
39f9762907 Added support for updating the state of the toolbar controls after each URL load...
git-svn-id: svn://10.0.0.236/trunk@18166 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 10:02:23 +00:00
rpotts%netscape.com
f70ca77f96 whacked the default size of the webshellwindow for now...
git-svn-id: svn://10.0.0.236/trunk@18165 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 09:59:26 +00:00
pierre%netscape.com
daefb175d4 Mac only: added 'isCommand' in nsInputEvent
git-svn-id: svn://10.0.0.236/trunk@18164 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 09:52:07 +00:00
rpotts%netscape.com
f149440910 Added support for setting the DISABLED attrivute via the DOM...
git-svn-id: svn://10.0.0.236/trunk@18163 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 09:51:28 +00:00
briano%netscape.com
0f8bb10baa Automated update
git-svn-id: svn://10.0.0.236/trunk@18162 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 09:30:33 +00:00
hyatt%netscape.com
57173e943c Adding support for the widget tag to XUL.
git-svn-id: svn://10.0.0.236/trunk@18161 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 09:26:01 +00:00
hyatt%netscape.com
cf211c6530 Fixing bugs related to the widget atom.
git-svn-id: svn://10.0.0.236/trunk@18160 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 09:25:40 +00:00
ftang%netscape.com
6ffbd3ae72 add intl/uconv into the build system
git-svn-id: svn://10.0.0.236/trunk@18159 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 09:20:39 +00:00
pierre%netscape.com
ee08981436 initialize the Rendering Context from a GrafPort to fix a crash on print
git-svn-id: svn://10.0.0.236/trunk@18158 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 08:41:21 +00:00
rpotts%netscape.com
568c9da34d Base implementation on a DOM event listener...
git-svn-id: svn://10.0.0.236/trunk@18157 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 07:45:40 +00:00
rpotts%netscape.com
ec10bbffde controller component for the browser...
git-svn-id: svn://10.0.0.236/trunk@18156 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 07:45:11 +00:00
rpotts%netscape.com
c65113fc4a UI document for the apprunner.exe
git-svn-id: svn://10.0.0.236/trunk@18155 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 07:44:38 +00:00
rpotts%netscape.com
58b52f6a99 Factory for the browser DLL
git-svn-id: svn://10.0.0.236/trunk@18154 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 07:43:17 +00:00
ramiro%netscape.com
8ab33955da Add 'alldep' and 'everything' rules.
git-svn-id: svn://10.0.0.236/trunk@18153 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 07:42:44 +00:00
rpotts%netscape.com
1b4095133b windows makefile...
git-svn-id: svn://10.0.0.236/trunk@18152 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 07:42:37 +00:00
ramiro%netscape.com
94bce04a89 Make sure clobber kills dependancies.
git-svn-id: svn://10.0.0.236/trunk@18151 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 07:42:08 +00:00
rpotts%netscape.com
6af6ca022b CIDs for browser components...
git-svn-id: svn://10.0.0.236/trunk@18150 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 07:33:32 +00:00
rpotts%netscape.com
c360e48ecf windows makefile...
git-svn-id: svn://10.0.0.236/trunk@18149 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 07:33:08 +00:00
rpotts%netscape.com
cda381cbdc makefile.win
git-svn-id: svn://10.0.0.236/trunk@18148 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 07:32:30 +00:00
rpotts%netscape.com
2d570b4ffc Added nsAppShellCIDs.h as an include...
git-svn-id: svn://10.0.0.236/trunk@18147 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 07:29:53 +00:00
rpotts%netscape.com
697a5dceba Added an argument to CreateTopLevelWindow() which specifies the controller object to instantiate along with the UI document
git-svn-id: svn://10.0.0.236/trunk@18146 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 07:25:05 +00:00
rpotts%netscape.com
df9dc847f5 The WebShellWindow now implements nsIWebShellContainer. Added a controller argument to CreateTopLevelWindow()
git-svn-id: svn://10.0.0.236/trunk@18145 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 07:24:01 +00:00
rpotts%netscape.com
f32e0cbabf The AppShell now uses the EventQueue service. Added a temporary argument to CreateTopLevelWindow() which represents the controller object associated with a UI document - this will be removed when XUL supports this feature. Reworked the factory to use the template implementation provided by XPCom...
git-svn-id: svn://10.0.0.236/trunk@18144 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 07:22:58 +00:00
rpotts%netscape.com
8be182c8d8 Added the DOM to the include path...
git-svn-id: svn://10.0.0.236/trunk@18143 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 07:20:32 +00:00
rpotts%netscape.com
5d9b93e9f8 CIDs are now kept in nsAppShellCIDs.h
git-svn-id: svn://10.0.0.236/trunk@18142 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 07:20:01 +00:00
rpotts%netscape.com
7825607ddf Added a controller CID string argument to createTopLevelWindow (for now)...
git-svn-id: svn://10.0.0.236/trunk@18141 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 07:18:30 +00:00
rpotts%netscape.com
0325b85810 Added exports for nsAppShellCIDs.h and nsIWidgetController.h
git-svn-id: svn://10.0.0.236/trunk@18140 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 07:17:44 +00:00
rpotts%netscape.com
aebef542bf Interface for a non-ui controller component...
git-svn-id: svn://10.0.0.236/trunk@18139 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 07:17:01 +00:00
rpotts%netscape.com
422b53a5da AppShell CID file...
git-svn-id: svn://10.0.0.236/trunk@18138 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 07:15:52 +00:00
pinkerton%netscape.com
111eb2015c adding toolbox to collection of xul atoms
git-svn-id: svn://10.0.0.236/trunk@18137 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 05:54:38 +00:00
pinkerton%netscape.com
c0d8e5b3ef First Checked In.
git-svn-id: svn://10.0.0.236/trunk@18136 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 05:49:24 +00:00
pollmann%netscape.com
98d9fcade3 Bug 2279: Don't create widgets for hidden form elements.
git-svn-id: svn://10.0.0.236/trunk@18135 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 04:02:37 +00:00
danm%netscape.com
97da2ade09 build XUL
git-svn-id: svn://10.0.0.236/trunk@18134 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 03:51:16 +00:00
briano%netscape.com
38abe0e2d4 Automated update
git-svn-id: svn://10.0.0.236/trunk@18133 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 03:45:38 +00:00
danm%netscape.com
d040388bff build xul
git-svn-id: svn://10.0.0.236/trunk@18132 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 03:41:43 +00:00
danm%netscape.com
04e9301e4d build XUL
git-svn-id: svn://10.0.0.236/trunk@18131 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 03:40:21 +00:00
danm%netscape.com
713bd78058 create XUL frames
git-svn-id: svn://10.0.0.236/trunk@18130 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 03:37:37 +00:00
danm%netscape.com
efa4d4f460 load XUL atoms on XML document creation
git-svn-id: svn://10.0.0.236/trunk@18129 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 03:35:24 +00:00
danm%netscape.com
4f178959a5 added file xul/content/src/nsXULAtoms.cpp
git-svn-id: svn://10.0.0.236/trunk@18128 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 03:32:30 +00:00
pollmann%netscape.com
85c77005a0 Bug 1958: Fixing an apparent typo.
git-svn-id: svn://10.0.0.236/trunk@18127 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 03:09:25 +00:00
buster%netscape.com
4490a6149a bug fixes to delete range, plus some debugging printf's
git-svn-id: svn://10.0.0.236/trunk@18126 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 02:29:52 +00:00
jj%netscape.com
a8097b0db4 changed default CVS module from 'RaptorMac' to 'SeaMonkeyEditor'.
git-svn-id: svn://10.0.0.236/trunk@18125 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 02:26:40 +00:00
danm%netscape.com
64c1df8ee4 new xul directory
git-svn-id: svn://10.0.0.236/trunk@18124 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 01:56:05 +00:00
buster%netscape.com
801958a339 starting to move towards a slimmed down nsIEditor.h
git-svn-id: svn://10.0.0.236/trunk@18123 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 01:53:10 +00:00
buster%netscape.com
b48e2caf7c * added TransactionFactory. Editor no longer allocates its own transactions. This gives us an oppurtunity for a recycler.
* added DeleteSelection to editor.  Doesn't work very well yet because selection is giving me random offsets into text content.
* lots of work in the various transactions.


git-svn-id: svn://10.0.0.236/trunk@18122 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 01:51:09 +00:00
jfrancis%netscape.com
4891b6afd8 added a bunch of editor stuff for Steve
git-svn-id: svn://10.0.0.236/trunk@18121 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 01:46:52 +00:00
nhotta%netscape.com
562508f0d5 Initial check in.
git-svn-id: svn://10.0.0.236/trunk@18120 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 01:28:27 +00:00
waterson%netscape.com
b6493e8cbf Modified to just descend into the subdirs; got rid of rdftest.cpp.
git-svn-id: svn://10.0.0.236/trunk@18119 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 01:26:51 +00:00
waterson%netscape.com
2a8db68537 Obsolete.
git-svn-id: svn://10.0.0.236/trunk@18118 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 01:26:07 +00:00
fur%netscape.com
0a1d12585c Add java_lang_Thread.h
git-svn-id: svn://10.0.0.236/trunk@18117 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 01:25:12 +00:00
mscott%netscape.com
8431595ebe Add news to top level directories that get built.
git-svn-id: svn://10.0.0.236/trunk@18116 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 01:15:26 +00:00
mscott%netscape.com
28f5092aca Use the transport interface for communicating across the thread boundary...
git-svn-id: svn://10.0.0.236/trunk@18115 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 01:14:03 +00:00
mscott%netscape.com
af293b2d97 Cosmetic changes to build on windows...
git-svn-id: svn://10.0.0.236/trunk@18114 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 01:13:08 +00:00
mscott%netscape.com
0b26371b83 Export new header files.
git-svn-id: svn://10.0.0.236/trunk@18113 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 01:12:11 +00:00
nhotta%netscape.com
2f72e68727 Initial check in.
git-svn-id: svn://10.0.0.236/trunk@18112 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 01:11:00 +00:00
mscott%netscape.com
3664b28e00 Added new event sink files to makefile. nsINNTPHost should support ISupports....
git-svn-id: svn://10.0.0.236/trunk@18111 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 01:09:10 +00:00
mscott%netscape.com
e681cad92e First checked in.
git-svn-id: svn://10.0.0.236/trunk@18110 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 01:07:44 +00:00
mscott%netscape.com
68e0a17491 Export nsITransport.h
git-svn-id: svn://10.0.0.236/trunk@18109 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 01:06:55 +00:00
mscott%netscape.com
f56f2d4e52 First checked in. The transport interface is the means through which a protocol communicates to a socket (or file or some other mechanism) across the thread boundary between netlib and the protocol.
git-svn-id: svn://10.0.0.236/trunk@18108 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 01:06:22 +00:00
mjudge%netscape.com
1e63a95689 changes to unload my library correctly
git-svn-id: svn://10.0.0.236/trunk@18107 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 00:56:18 +00:00
nhotta%netscape.com
a3af3d319a Initial check in.
git-svn-id: svn://10.0.0.236/trunk@18106 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 00:49:28 +00:00
endico%mozilla.org
fb2904dbb0 Add java support
git-svn-id: svn://10.0.0.236/trunk@18105 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 00:42:26 +00:00
fur%netscape.com
b223edc9b8 Fix comment.
git-svn-id: svn://10.0.0.236/trunk@18104 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 00:42:03 +00:00
fur%netscape.com
c8fb4d3ae8 Allow class CharToByteConverter to be initialized, since the codegen limitations
that didn't allow it to be compiled have been remedied.


git-svn-id: svn://10.0.0.236/trunk@18103 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 00:41:09 +00:00
fur%netscape.com
72b5c556c0 Unicode characters are uint16, not int16.
git-svn-id: svn://10.0.0.236/trunk@18102 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 00:39:17 +00:00
fur%netscape.com
e41832992f Added routines to handle conversion of Java strings between UTF8 and UCS2
representations.


git-svn-id: svn://10.0.0.236/trunk@18101 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 00:38:34 +00:00
fur%netscape.com
28e0286a67 Frame::getCallingJavaMethod() now takes a stack depth parameter which indicates
the number of levels to pop the stack.


git-svn-id: svn://10.0.0.236/trunk@18100 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 00:37:14 +00:00
fur%netscape.com
2f763cedea Flush the log file after entry into a method is traced.
git-svn-id: svn://10.0.0.236/trunk@18099 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 00:22:22 +00:00
fur%netscape.com
3729c4258b Unicode characters are uint16's not int16's.
git-svn-id: svn://10.0.0.236/trunk@18098 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 00:20:41 +00:00
fur%netscape.com
eb71ff785b Fixes to newInstance0() method:
When checking to see if a calling method has permission to access a
class/constructor with package-level scope, walk two levels up the
stack, instead of one, since the immediate caller is always
java.lang.newInstance().

In addition to creating the object, invoke it's zero-argument constructor.


git-svn-id: svn://10.0.0.236/trunk@18097 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 00:19:56 +00:00
fur%netscape.com
4744e211dd Added do-nothing stub for registerNatives().
git-svn-id: svn://10.0.0.236/trunk@18096 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 00:16:40 +00:00
fur%netscape.com
d0b03dc69c Implement doPrivileged() method in a trivial way, such that privileges are
not actually checked or set.


git-svn-id: svn://10.0.0.236/trunk@18095 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 00:15:55 +00:00
fur%netscape.com
f1d1b986ee Don't add a thread-id or a newline to each logfile output line, at least not
in the default case.


git-svn-id: svn://10.0.0.236/trunk@18094 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 00:12:46 +00:00
fur%netscape.com
5707f6d56d Ensure that log-file flushing occurs even if the default log file is being used.
git-svn-id: svn://10.0.0.236/trunk@18093 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 00:11:55 +00:00
briano%netscape.com
321b0f22b1 Automated update
git-svn-id: svn://10.0.0.236/trunk@18092 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-20 23:37:59 +00:00
briano%netscape.com
be726c08ac Fixes provided by kstailey@disclosure.com. Unfortunately, I don't have a machine to test them on....
git-svn-id: svn://10.0.0.236/trunk@18091 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-20 23:30:52 +00:00
briano%netscape.com
51711ffde5 Automated update
git-svn-id: svn://10.0.0.236/trunk@18090 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-20 23:30:31 +00:00
buster%netscape.com
48e612895f put in Mike's change to Clear the selection when we take focus
this fixes the bug that the collection of ranges was monotonically increasing to infinity
as you clicked around in the document.


git-svn-id: svn://10.0.0.236/trunk@18089 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-20 23:23:28 +00:00
shaver%netscape.com
4bdd8e7d22 added libxpt/tests
git-svn-id: svn://10.0.0.236/trunk@18088 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-20 23:18:27 +00:00
shaver%netscape.com
b7788d4156 added some tests (we don't pass yet =) ), wrote some primitives
git-svn-id: svn://10.0.0.236/trunk@18087 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-20 23:17:05 +00:00
buster%netscape.com
1629d20dfd added IID static method so nsIEnumerator can be used with nsCOMPtr
git-svn-id: svn://10.0.0.236/trunk@18086 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-20 23:16:28 +00:00
srinivas%netscape.com
bb380e6470 Suspended local threads should be moved to the suspend queue after I/O
completion or timeout.


git-svn-id: svn://10.0.0.236/trunk@18085 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-20 23:13:06 +00:00
leaf%mozilla.org
9507265d17 removed dup NSPR entry
git-svn-id: svn://10.0.0.236/trunk@18084 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-20 20:32:59 +00:00
leaf%mozilla.org
2bb4427ae0 removing duplicate include
git-svn-id: svn://10.0.0.236/trunk@18083 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-20 20:20:20 +00:00
dougt%netscape.com
6a7a0d086a Added real IID's
git-svn-id: svn://10.0.0.236/trunk@18082 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-20 19:59:16 +00:00
waterson%netscape.com
c405cd59c1 Backed out bogus checking.
git-svn-id: svn://10.0.0.236/trunk@18081 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-20 19:56:34 +00:00
waterson%netscape.com
e4af99d487 Obsolete.
git-svn-id: svn://10.0.0.236/trunk@18080 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-20 19:53:07 +00:00
terry%netscape.com
3f8992a334 Simple script to show some build bustage stats.
git-svn-id: svn://10.0.0.236/trunk@18079 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-20 19:38:13 +00:00
akkana%netscape.com
31b1c02876 Handle alphanumeric characters properly
git-svn-id: svn://10.0.0.236/trunk@18078 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-20 18:43:59 +00:00
despotdaemon%netscape.com
fb8116a5d3 Pseudo-automatic update of changes made by don@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@18077 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-20 18:30:36 +00:00
coop%netscape.com
46278f0bfa NOT YET PART OF SEAMONKEY:
* added looping to read/write InterfaceDirectoryEntrys
* InterfaceDescriptors are no longer DECODEd as part of the IDE DECODEing process
* added skeleton for XPT_GetDescriptorByOffset


git-svn-id: svn://10.0.0.236/trunk@18076 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-20 17:58:14 +00:00
kipp%netscape.com
9c0fa91c65 allocated an IID
git-svn-id: svn://10.0.0.236/trunk@18075 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-20 17:53:09 +00:00
rods%netscape.com
f46b63bfa0 Fixed scrollbar rendering problem by commenting out the WM_CTLCOLORSCROLLBAR
message in switch statement. (fix thanks to Michael Lowe)


git-svn-id: svn://10.0.0.236/trunk@18074 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-20 15:42:51 +00:00
sar%netscape.com
824374961b add nsprpub since 1) we need to pull it from the tip, 2) it was in RaptorDist, so needs to be here --sarah
git-svn-id: svn://10.0.0.236/trunk@18073 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-20 10:25:46 +00:00
grail%cafebabe.org
04a228881d GridBagContraints.WEST is somehow an illegal argument. I have no
idea. Most problems with "New Folder ..."  is solved now up to
runtime. Nothing viewable is available yet. It can't find the resource
bundle "grendel.ui.Labels".


git-svn-id: svn://10.0.0.236/trunk@18072 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-20 09:56:13 +00:00
grail%cafebabe.org
48d3b28c3a Stupid stupid stupid. JComboBox.removeAllItems() NullExceptions if
there's a zero count. The safe way to call it is by:

if (combobox.getItemCount() > 0) {
  combobox.removeAllItems();
}

This is stupid.


git-svn-id: svn://10.0.0.236/trunk@18071 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-20 09:53:28 +00:00
sar%netscape.com
1559395b74 fixing a error in SeaMonkeyBrowser modules
git-svn-id: svn://10.0.0.236/trunk@18070 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-20 09:10:52 +00:00
rickg%netscape.com
6b9ae6865a tiny debugging improvements
git-svn-id: svn://10.0.0.236/trunk@18069 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-20 08:51:34 +00:00
sar%netscape.com
2e04bf6189 There is stuff that was in RaptorMac that wasn't in Seamonkey*. Now it's there --sarah
git-svn-id: svn://10.0.0.236/trunk@18068 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-20 07:54:22 +00:00
rickg%netscape.com
add2c72fa0 fixed nearly 20 parser bugs
git-svn-id: svn://10.0.0.236/trunk@18067 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-20 07:29:33 +00:00
buster%netscape.com
5ca7f5e8c6 fixed bug 2516. The InitChildList code needed to check display types before
assigning the mCaptionFrame member variable.


git-svn-id: svn://10.0.0.236/trunk@18066 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-20 07:27:06 +00:00
rickg%netscape.com
6f3675f1ff fixed nearly 20 parser bugs
git-svn-id: svn://10.0.0.236/trunk@18065 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-20 06:56:07 +00:00
grail%cafebabe.org
2749296524 Added action mapping to menus. Trimming is still missing.
git-svn-id: svn://10.0.0.236/trunk@18064 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-20 06:40:16 +00:00
grail%cafebabe.org
780a797180 Added action mapping to menus.
git-svn-id: svn://10.0.0.236/trunk@18063 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-20 06:40:01 +00:00
jband%netscape.com
1c7f6dde92 NOT PART OF SEAMONKEY. Workingon dealing with more types. Added access to WrappedNative from JSObject
git-svn-id: svn://10.0.0.236/trunk@18062 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-20 06:38:00 +00:00
troy%netscape.com
9b88cc5f1d Added additional parameter to GetNext() that specifies whether the frame is
removed from the path. This allows peeking at the next frame in the reflow
chain


git-svn-id: svn://10.0.0.236/trunk@18060 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-20 05:11:17 +00:00
troy%netscape.com
d152766772 Added additional parameter to GetNext() that allows peeking at the next
frame in the reflow command


git-svn-id: svn://10.0.0.236/trunk@18059 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-20 05:10:12 +00:00
troy%netscape.com
d0a1720f4d Added XXX reminder for myself
git-svn-id: svn://10.0.0.236/trunk@18058 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-20 04:50:35 +00:00
sar%netscape.com
f136a67812 try realtime quotes. the # should work, if not, it will get backed out.
git-svn-id: svn://10.0.0.236/trunk@18057 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-20 04:21:18 +00:00
troy%netscape.com
26a8236401 Removed some scroll related logic that was causing computed widths to be
computed incorrectly. Now the scroll frame handles it


git-svn-id: svn://10.0.0.236/trunk@18056 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-20 03:43:33 +00:00
briano%netscape.com
de5055d62a Automated update
git-svn-id: svn://10.0.0.236/trunk@18055 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-20 02:23:00 +00:00
briano%netscape.com
262843afe6 Automated update
git-svn-id: svn://10.0.0.236/trunk@18054 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-20 02:18:12 +00:00
despotdaemon%netscape.com
eaf487828a Pseudo-automatic update of changes made by brendan@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@18053 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-20 02:05:54 +00:00
briano%netscape.com
dee0b35090 Pre-generated configure script for platforms that don't have autoconf and GNU m4, and for people who don't want to waste time downloading and building them.
git-svn-id: svn://10.0.0.236/trunk@18052 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-20 01:49:03 +00:00
waterson%netscape.com
e822ec666d Renamed 'stream data source' to 'RDF/XML data source'; renamed 'data base' to 'composite data source'.
git-svn-id: svn://10.0.0.236/trunk@18051 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-20 01:43:39 +00:00
waterson%netscape.com
f081594357 Removed unnecessary #includes.
git-svn-id: svn://10.0.0.236/trunk@18050 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-20 01:42:34 +00:00
waterson%netscape.com
258b0d3c24 Changed 'data base' to 'composite data source'. Merged RDF/XML document and stream data source into one big happy interface.
git-svn-id: svn://10.0.0.236/trunk@18049 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-20 01:42:13 +00:00
akkana%netscape.com
74ec22f88f Fix pierre's silentdl build bustage
git-svn-id: svn://10.0.0.236/trunk@18048 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-20 01:39:08 +00:00
leaf%mozilla.org
6b366ba64c changing pull of nsprpub to pull from the tip.
git-svn-id: svn://10.0.0.236/trunk@18047 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-20 01:05:02 +00:00
vidur%netscape.com
2904958913 Fixing build bustage
git-svn-id: svn://10.0.0.236/trunk@18046 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-20 00:50:07 +00:00
donm%netscape.com
2467da69e4 making change to include Doug Turner's silentdl
git-svn-id: svn://10.0.0.236/trunk@18045 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-20 00:37:17 +00:00
pierre%netscape.com
f0aca82372 added silentdl to the list of manifest files
git-svn-id: svn://10.0.0.236/trunk@18044 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-20 00:36:13 +00:00
pierre%netscape.com
f81b0c50fe First Checked In.
git-svn-id: svn://10.0.0.236/trunk@18043 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-20 00:29:40 +00:00
dougt%netscape.com
7aa910f11c Adding Makefile.in to export headers.
git-svn-id: svn://10.0.0.236/trunk@18042 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-20 00:25:52 +00:00
sar%netscape.com
6daa819b73 add silentdl for dougt --sarah
git-svn-id: svn://10.0.0.236/trunk@18041 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-20 00:24:23 +00:00
coop%netscape.com
7383c42ad7 NOT YET PART OF SEAMONKEY:
* added offset management code in the form of calls to shaver's macros


git-svn-id: svn://10.0.0.236/trunk@18038 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 23:46:20 +00:00
wtc%netscape.com
661e55b97f Merged the pthreads patches for BSD/OS 4.0 contributed by
Bert Driehuis <bert_driehuis@nl.compuware.com>.
Modified files: BSD_OS.mk, _pth.h, bsdi.c, ptio.c, and pr/tests/Makefile.


git-svn-id: svn://10.0.0.236/trunk@18037 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 23:38:54 +00:00
dougt%netscape.com
7d9e3b3d43 Adding SilentDownload startup and shutdown to the viewer application.
git-svn-id: svn://10.0.0.236/trunk@18036 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 23:37:17 +00:00
mjudge%netscape.com
54b82849bb fiximg text selection for frames in frames
git-svn-id: svn://10.0.0.236/trunk@18035 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 23:36:06 +00:00
dougt%netscape.com
3aff90e222 Adding silentdl to the build directories.
git-svn-id: svn://10.0.0.236/trunk@18034 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 23:35:21 +00:00
karnaze%netscape.com
2242310cce content sink uses nsWebShell::GetIsFrame to set scrolling on nsWebShell
git-svn-id: svn://10.0.0.236/trunk@18033 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 23:16:02 +00:00
karnaze%netscape.com
506ead5fcd added GetIsFrame, SetIsFrame to distinguish <frame> documents
git-svn-id: svn://10.0.0.236/trunk@18032 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 23:14:31 +00:00
vidur%netscape.com
fdfa2b0b22 Completion of document as node - specifically, the childNodes array. Completion of nodeName, nodeValue and attributes properties for different types of nodes.
git-svn-id: svn://10.0.0.236/trunk@18031 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 23:07:33 +00:00
rpotts%netscape.com
a3efbe88da fixed bug when firing the OnConnectionsComplete() notification. If one of the listeners initiated a new URL load then state in the doc loader became inconsistent...
git-svn-id: svn://10.0.0.236/trunk@18030 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 22:48:05 +00:00
pierre%netscape.com
ae42b2d56a display the AppearanceMgr frame around edit fields
git-svn-id: svn://10.0.0.236/trunk@18029 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 22:34:43 +00:00
sfraser%netscape.com
a9183717cf File Removed.
git-svn-id: svn://10.0.0.236/trunk@18028 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 22:34:36 +00:00
pierre%netscape.com
f55ce79305 fixed Scroll() in case the caller passes a null clipRect
git-svn-id: svn://10.0.0.236/trunk@18022 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 19:29:43 +00:00
donm%netscape.com
8159390ee2 adding the smoke test build script
git-svn-id: svn://10.0.0.236/trunk@18021 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 18:54:41 +00:00
mjudge%netscape.com
e034b82d75 fixing selection a little
git-svn-id: svn://10.0.0.236/trunk@18020 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 17:41:08 +00:00
rods%netscape.com
529b6e8f8f Added new Method for Querying System Fonts
git-svn-id: svn://10.0.0.236/trunk@18019 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 17:36:19 +00:00
karnaze%netscape.com
3b1d92015b <form> inside <table> submits; marginwidth, marginheight in <frame> working; scrolling in <frame>, <iframe> working
git-svn-id: svn://10.0.0.236/trunk@18018 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 17:26:06 +00:00
pinkerton%netscape.com
c0703d6b97 Added cut/copy to pierre's paste work and sync'd the work done in textWidget to that in textAreaWidget so both now support cut/copy/paste the same way (though the code isn't shared).
git-svn-id: svn://10.0.0.236/trunk@18017 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 17:21:37 +00:00
terry%netscape.com
aaabaf86c1 Wasn't properly stripping out null queries on text searches.
Harmless, but was generating overly complicated SQL.


git-svn-id: svn://10.0.0.236/trunk@18016 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 17:17:21 +00:00
terry%netscape.com
c9d48f9027 Allow a "not regexp" search of email addresses.
git-svn-id: svn://10.0.0.236/trunk@18015 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 17:10:02 +00:00
terry%netscape.com
34312b1f2f I guess nobody ever queries for URLs by regexp, since that radio
button was completely busted.


git-svn-id: svn://10.0.0.236/trunk@18014 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 17:02:39 +00:00
vidur%netscape.com
582f32db7a Started implementation of Node properties and methods for documents.
git-svn-id: svn://10.0.0.236/trunk@18013 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 16:58:45 +00:00
pinkerton%netscape.com
b3afe20c10 added nsGenericDomNodeList.cpp
git-svn-id: svn://10.0.0.236/trunk@18012 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 16:39:10 +00:00
vidur%netscape.com
41ca50f15b new file - base class for other node lists
git-svn-id: svn://10.0.0.236/trunk@18011 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 15:50:20 +00:00
pierre%netscape.com
b3fd92890d use the newly added HandleUpdateEvent() to redraw the top-level widget
git-svn-id: svn://10.0.0.236/trunk@18010 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 14:34:14 +00:00
pierre%netscape.com
449bfd60e6 fixed live scrolling
git-svn-id: svn://10.0.0.236/trunk@18009 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 14:33:47 +00:00
pierre%netscape.com
b4ea06ef45 added HandleUpdateEvent() and use ::BeginUpdate() in Update() in order to improve performance during live scrolling
git-svn-id: svn://10.0.0.236/trunk@18008 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 14:33:21 +00:00
pierre%netscape.com
6d58fb6b7c added Paste
git-svn-id: svn://10.0.0.236/trunk@18007 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 10:29:48 +00:00
pierre%netscape.com
505e3d5466 moved ConvertOSMenuResultToPPMenuResult() from nsMacMain
git-svn-id: svn://10.0.0.236/trunk@18006 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 10:29:30 +00:00
pierre%netscape.com
13aa059a73 moved ConvertOSMenuResultToPPMenuResult() to the message pump
git-svn-id: svn://10.0.0.236/trunk@18005 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 10:29:14 +00:00
pierre%netscape.com
934589348e propagate menu event to focused widget and its parents
git-svn-id: svn://10.0.0.236/trunk@18004 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 10:28:53 +00:00
mjudge%netscape.com
2434c90ca2 selection should work now more or less
git-svn-id: svn://10.0.0.236/trunk@18003 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 06:42:39 +00:00
troy%netscape.com
7936b86b4a Changed it so the DidReflow() temporary hack doesn't apply to scrolled
frames


git-svn-id: svn://10.0.0.236/trunk@18001 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 06:00:08 +00:00
troy%netscape.com
c68ea5ab6f Fixed it so computedHeight is correctly computed
git-svn-id: svn://10.0.0.236/trunk@18000 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 05:59:24 +00:00
troy%netscape.com
d21c2c56d3 Minor cleanup
git-svn-id: svn://10.0.0.236/trunk@17999 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 05:18:26 +00:00
troy%netscape.com
fb1c8ede06 Part of the fix for bug #2485
git-svn-id: svn://10.0.0.236/trunk@17998 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 05:17:39 +00:00
pierre%netscape.com
47bd3bb6e7 Fixed the clip rgn in Scroll(): the scrollbars no longer flicker.
git-svn-id: svn://10.0.0.236/trunk@17997 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 04:29:08 +00:00
vidur%netscape.com
d39be21072 Made unparented nodes outside the document return a new document fragment as parent. Inserting a node into a tree removes it from its previous position
git-svn-id: svn://10.0.0.236/trunk@17996 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 03:54:26 +00:00
jfrancis%netscape.com
caa9033cb0 added Show() to DoFileOpen() - fixes bug #2415
git-svn-id: svn://10.0.0.236/trunk@17993 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 03:12:18 +00:00
pavlov%pavlov.net
319109dbd6 parse ~/.gtkrc (if it exists) file to make things look more consistant with
other gtk apps.


git-svn-id: svn://10.0.0.236/trunk@17991 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 02:45:55 +00:00
waterson%netscape.com
18451d26e9 Replacement for nsIRDFXMLDocument.h. Not yet in the build.
git-svn-id: svn://10.0.0.236/trunk@17988 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 02:43:03 +00:00
waterson%netscape.com
6b18066ef9 Replacement for nsStreamDataSource.cpp. Not yet in the build.
git-svn-id: svn://10.0.0.236/trunk@17987 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 02:42:30 +00:00
pavlov%pavlov.net
5b2738d43e return true for events that we handle and not false
git-svn-id: svn://10.0.0.236/trunk@17986 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 02:17:30 +00:00
jfrancis%netscape.com
cb60c36d89 adding checks for null mContext member in a couple of places - fixes bug #2200
git-svn-id: svn://10.0.0.236/trunk@17985 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 02:05:53 +00:00
jfrancis%netscape.com
10747a8399 fixing addref/release errors in SelectAll code - fixes bug #2166
git-svn-id: svn://10.0.0.236/trunk@17984 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 01:54:57 +00:00
jfrancis%netscape.com
372fb40b32 fixing bug in range endpoint comparison
git-svn-id: svn://10.0.0.236/trunk@17983 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 01:07:52 +00:00
mjudge%netscape.com
39596a0bb8 fixing linux
git-svn-id: svn://10.0.0.236/trunk@17982 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 01:00:31 +00:00
mjudge%netscape.com
815cd2038f update for linux
git-svn-id: svn://10.0.0.236/trunk@17981 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 00:40:38 +00:00
mjudge%netscape.com
63d65c3623 trying to fix linux..
git-svn-id: svn://10.0.0.236/trunk@17980 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 00:32:51 +00:00
mjudge%netscape.com
34e121bd88 test check
git-svn-id: svn://10.0.0.236/trunk@17979 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 00:13:07 +00:00
terry%netscape.com
140e93b105 Majorly changed querying of email addresses.
git-svn-id: svn://10.0.0.236/trunk@17978 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 00:07:46 +00:00
pierre%netscape.com
39b1681518 Paint only the damaged area instead of the whole widget. Reuse the rendering context to update the children. Scroll the children.
git-svn-id: svn://10.0.0.236/trunk@17977 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 00:02:51 +00:00
pierre%netscape.com
6df7749aba Numerous changes: introduced the DrawingSurface, a combination of GraphicState and GrafPort.
git-svn-id: svn://10.0.0.236/trunk@17976 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 00:02:15 +00:00
pierre%netscape.com
5ff85d5f7b DoMessagePump() no longer returns a boolean
git-svn-id: svn://10.0.0.236/trunk@17975 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 00:01:41 +00:00
buster%netscape.com
0d84dd5f3e workaround for bug 2476: check for null child list before calling nsFrameList::AppendFrames
git-svn-id: svn://10.0.0.236/trunk@17974 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-18 23:54:23 +00:00
pavlov%pavlov.net
56ad6341a4 fix mouse clicking
git-svn-id: svn://10.0.0.236/trunk@17973 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-18 23:42:04 +00:00
locka%iol.ie
d0d14bad7f Renamed m_nReadyState as m_nBrowserReadyState
Added fix to get_LocationURL, courtesy of Ryota Ando <rando@ca2.so-net.ne.jp>


git-svn-id: svn://10.0.0.236/trunk@17972 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-18 23:04:25 +00:00
mjudge%netscape.com
9251454eba Files for selection across frames.
git-svn-id: svn://10.0.0.236/trunk@17971 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-18 22:57:12 +00:00
locka%iol.ie
df3dbc9122 Added plugin headers. These are still #ifdef'd out for backwards compatibility
git-svn-id: svn://10.0.0.236/trunk@17970 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-18 22:38:46 +00:00
waterson%netscape.com
f52d81f64d Added documentation comments.
git-svn-id: svn://10.0.0.236/trunk@17969 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-18 22:31:05 +00:00
locka%iol.ie
802c8b4d2d First impl of ActiveX control site plugin
git-svn-id: svn://10.0.0.236/trunk@17968 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-18 22:29:43 +00:00
waterson%netscape.com
4b67c3a3c3 Added an assertion after OpenContainer() to help catch parse errors.
git-svn-id: svn://10.0.0.236/trunk@17967 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-18 22:14:59 +00:00
coop%netscape.com
df9664e830 NOT YET PART OF SEAMONKEY:
* added #defines for is_pointer/tag combos used in TypeDescriptors to match table in typelib spec.
* now handle error case in xpt_struct.c using macro
* still must do offset management


git-svn-id: svn://10.0.0.236/trunk@17966 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-18 22:04:49 +00:00
scc%netscape.com
7112370451 OK. We were wrong about the SOLARIS case. Sorry.
git-svn-id: svn://10.0.0.236/trunk@17964 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-18 20:32:41 +00:00
coop%netscape.com
c47ab182ae NOT YET PART OF SEAMONKEY:
* modified in-memory structs slightly to get them to compile
* xpt_strcut.c now compiles, and with no warnings (at no extra charge)
* still must do offset management


git-svn-id: svn://10.0.0.236/trunk@17963 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-18 19:53:47 +00:00
troy%netscape.com
5d136cd0e4 Changed to position absolute child elements relative to the padding edge not the
border edge


git-svn-id: svn://10.0.0.236/trunk@17962 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-18 19:30:42 +00:00
cls%seawood.org
0df6a2d9ae Don't include local cdefs.h if we have a system version.
git-svn-id: svn://10.0.0.236/trunk@17961 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-18 19:11:35 +00:00
cls%seawood.org
0d36c93ec3 Ifdef'd out obsolete header includes.
git-svn-id: svn://10.0.0.236/trunk@17960 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-18 19:05:24 +00:00
scc%netscape.com
a47b5a1409 Added patch for bsdi from netscape.public.mozilla.patches; removed test for !SOLARIS as agreed with macafee.
git-svn-id: svn://10.0.0.236/trunk@17958 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-18 18:32:33 +00:00
shaver%netscape.com
f3af37b200 Much XDR header whacking. Still need to figure out how the pool management
stuff looks.
Fixed XPT_PREAMBLE (again).
xpt_xdr.c now compiles!


git-svn-id: svn://10.0.0.236/trunk@17957 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-18 18:28:14 +00:00
shaver%netscape.com
e2bcd3d211 added libxpt Makefiles
git-svn-id: svn://10.0.0.236/trunk@17956 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-18 18:03:45 +00:00
shaver%netscape.com
10074f0384 fix up XPT_PREAMBLE booboo
git-svn-id: svn://10.0.0.236/trunk@17955 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-18 17:58:34 +00:00
shaver%netscape.com
8c0e3973f3 make goop (Win and Unix)
git-svn-id: svn://10.0.0.236/trunk@17954 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-18 17:44:06 +00:00
shaver%netscape.com
1a3b09ee9b make goop (Windows and Unix) and header fixes
git-svn-id: svn://10.0.0.236/trunk@17953 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-18 17:43:36 +00:00
troy%netscape.com
64fcc4cfa2 Improvements to absolute positioning code
git-svn-id: svn://10.0.0.236/trunk@17952 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-18 17:27:27 +00:00
troy%netscape.com
46eb195775 Initial check-in
git-svn-id: svn://10.0.0.236/trunk@17951 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-18 17:26:49 +00:00
coop%netscape.com
4082964458 NOT YET PART OF SEAMONKEY:
* updated XPT_Do code to match in-memory structs


git-svn-id: svn://10.0.0.236/trunk@17950 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-18 17:26:04 +00:00
shaver%netscape.com
ef01cf77ca new API stuff, and start on primitive implementations
git-svn-id: svn://10.0.0.236/trunk@17949 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-18 16:54:57 +00:00
rods%netscape.com
f07dcd7083 Initial checkin
git-svn-id: svn://10.0.0.236/trunk@17948 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-18 15:14:00 +00:00
coop%netscape.com
1692a63ff2 NOT YET PART OF SEAMONKEY:
* Added at least basic comments for all structs.
* Added #defines for struct sizes.


git-svn-id: svn://10.0.0.236/trunk@17947 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-18 15:00:03 +00:00
fur%netscape.com
22c3cb9f47 Work in progress
git-svn-id: svn://10.0.0.236/trunk@17946 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-18 06:22:14 +00:00
vidur%netscape.com
1897c0ba41 Implemented Element::GetElementsByTagName. Fixed bug 2327 - forms appearing multiple times in document.forms array.
git-svn-id: svn://10.0.0.236/trunk@17945 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-18 03:43:43 +00:00
val4%cornell.edu
a8feca1043 Background image
git-svn-id: svn://10.0.0.236/trunk@17944 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-18 03:43:04 +00:00
troy%netscape.com
17ecd2e936 Added nsIAreaFrame
git-svn-id: svn://10.0.0.236/trunk@17943 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-18 03:14:48 +00:00
troy%netscape.com
525b1062ea Fix for bug #2450; 'padding' wasn't getting handled properly
git-svn-id: svn://10.0.0.236/trunk@17942 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-18 00:48:59 +00:00
karnaze%netscape.com
46dc14a9bb scrollable row groups
git-svn-id: svn://10.0.0.236/trunk@17941 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-17 23:35:56 +00:00
pavlov%pavlov.net
f875678a9c use the right visual when we create the pixmaps
git-svn-id: svn://10.0.0.236/trunk@17940 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-17 22:48:27 +00:00
pavlov%pavlov.net
3f34c23843 fix Invalidate() and Update()
git-svn-id: svn://10.0.0.236/trunk@17939 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-17 19:30:13 +00:00
pavlov%pavlov.net
1485e914c7 only create 1 GC since we are pushing the same visual for all of the widgets.
git-svn-id: svn://10.0.0.236/trunk@17938 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-17 18:58:28 +00:00
pavlov%pavlov.net
c14457833d fix for crashing.
git-svn-id: svn://10.0.0.236/trunk@17937 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-17 17:51:02 +00:00
rpotts%netscape.com
684383509d Changed NS_DOCUMENTLOADER_CID to the new NS_DOCUMENTLOADER_SERVICE_CID
git-svn-id: svn://10.0.0.236/trunk@17936 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-17 11:49:41 +00:00
rpotts%netscape.com
64515206b5 The DocumentLoader is now a global service. Rather than creating document loaders via the factory, they are now created as child loaders of the global DocumentLoader service which is accessable via GetService.
git-svn-id: svn://10.0.0.236/trunk@17935 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-17 11:48:58 +00:00
rpotts%netscape.com
dc9ee3099d Changed NS_DOCUMENTLOADER_CID to NS_DOCUMENTLOADER_SERVICE_CID
git-svn-id: svn://10.0.0.236/trunk@17934 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-17 11:47:27 +00:00
troy%netscape.com
e0f2b783e6 Added 'computedMargin' to nsHTMLReflowState, which replaced the individual
margin values (e.g., computedLeftMargin)


git-svn-id: svn://10.0.0.236/trunk@17933 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-17 05:43:02 +00:00
pavlov%pavlov.net
b4df8837c5 fix bustage
git-svn-id: svn://10.0.0.236/trunk@17932 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-17 03:08:56 +00:00
pavlov%pavlov.net
0323370c96 move the event queue into nsToolkit
git-svn-id: svn://10.0.0.236/trunk@17931 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-17 02:09:55 +00:00
pavlov%pavlov.net
7ad97a3888 remove unused code
git-svn-id: svn://10.0.0.236/trunk@17930 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-17 02:09:24 +00:00
pavlov%pavlov.net
397d825a68 Inherit nsDialog from nsWindow instead of nsWidget. s/Motif/GTK+/ in *.h for
some comments


git-svn-id: svn://10.0.0.236/trunk@17929 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-17 01:36:13 +00:00
pavlov%pavlov.net
be590a7f1b move some stuff from nsWindow to nsWidget. Removed more unused code, do
redraws correctly...


git-svn-id: svn://10.0.0.236/trunk@17928 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-16 23:12:35 +00:00
troy%netscape.com
a8f6c4be42 Fixed it so relatively positioned block frames act as containing blocks
for absolutely positioned child elements


git-svn-id: svn://10.0.0.236/trunk@17927 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-16 22:18:08 +00:00
troy%netscape.com
09fde7e34c Changed nsHTMLReflowState to compute 'offsets' for relatively positioned
elements


git-svn-id: svn://10.0.0.236/trunk@17926 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-16 20:58:17 +00:00
talisman%anamorphic.com
e776b17de6 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@17925 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-16 07:42:16 +00:00
pierre%netscape.com
46bf27e1f8 #2439: Links are not underlined correctly
git-svn-id: svn://10.0.0.236/trunk@17924 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-16 07:09:59 +00:00
alecf%netscape.com
0e1ebde9db change RemoveGroup a bit so we can remove by name and by newsgropu
git-svn-id: svn://10.0.0.236/trunk@17923 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-16 05:54:02 +00:00
alecf%netscape.com
9a8dd89fb4 adding new Category interface
git-svn-id: svn://10.0.0.236/trunk@17922 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-16 05:53:21 +00:00
alecf%netscape.com
c6499366d9 a little more - many more functions updated to match interface
git-svn-id: svn://10.0.0.236/trunk@17921 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-16 05:52:51 +00:00
alecf%netscape.com
eaf777dadd fix busted build in main tree
git-svn-id: svn://10.0.0.236/trunk@17920 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-16 05:52:29 +00:00
grail%cafebabe.org
1bda28a96d Lots of clean up with XML generated menus. Need some documentation
and action code inserted.


git-svn-id: svn://10.0.0.236/trunk@17919 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-16 05:24:25 +00:00
alecf%netscape.com
5fbd559ca3 back out relevant changes that broke the tree
git-svn-id: svn://10.0.0.236/trunk@17918 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-16 05:09:24 +00:00
alecf%netscape.com
10ce1a2ee5 add nsIMsgGroupRecord to build process
git-svn-id: svn://10.0.0.236/trunk@17917 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-16 04:59:25 +00:00
alecf%netscape.com
84a333ae28 new interface to nsMsgGroupRecord
git-svn-id: svn://10.0.0.236/trunk@17916 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-16 04:52:15 +00:00
alecf%netscape.com
95ddbb5ffd start moving stuff out of msgcom.h and into individual header files in mailnews
git-svn-id: svn://10.0.0.236/trunk@17915 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-16 04:44:00 +00:00
alecf%netscape.com
4089317770 adding MSG_FOLDER_FLAG* values from old include/msgcom.h
git-svn-id: svn://10.0.0.236/trunk@17914 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-16 04:30:00 +00:00
rickg%netscape.com
1de8de8681 fixed viewsource and parser/netlib bug
git-svn-id: svn://10.0.0.236/trunk@17913 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-16 04:25:40 +00:00
alecf%netscape.com
c6325f6625 more work trying to get this thing to compile - XPCOMify some interfaces
git-svn-id: svn://10.0.0.236/trunk@17912 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-16 03:57:39 +00:00
alecf%netscape.com
12f6e2266d adding new attributes subscribed and category
git-svn-id: svn://10.0.0.236/trunk@17911 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-16 03:56:56 +00:00
hyatt%netscape.com
614150d9c9 Added code to support CLSID instantiation. Approved by amusil and av.
git-svn-id: svn://10.0.0.236/trunk@17909 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-16 02:43:51 +00:00
scc%netscape.com
941d7a5f92 Now test pointer result _and_ error code on return from QueryInterface, as some implementations return garbage.
git-svn-id: svn://10.0.0.236/trunk@17908 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-16 02:37:22 +00:00
sfraser%netscape.com
e1b3d3bd12 Fix control key handling to call HandleControlKey, to fix the font problem. Also draw a box around the control for looks.
git-svn-id: svn://10.0.0.236/trunk@17907 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-16 00:42:33 +00:00
sfraser%netscape.com
37e14404f9 Mcmullen's fixes for scroll bar behaviour, and override a method so that scroll bars are sized correctly.
git-svn-id: svn://10.0.0.236/trunk@17906 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-16 00:41:20 +00:00
sfraser%netscape.com
1d7ca056f7 Tweak the window size so that the scroll bar is correctly positioned, and create a root Mac control for the window (so that we get control embedding).
git-svn-id: svn://10.0.0.236/trunk@17904 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-16 00:40:26 +00:00
sfraser%netscape.com
86e06cbf5a mcmullen's scrollbar fixes (use 32-bit control values), some tweaks of Mac control visibility to avoid drawing controls in the wrong places, add a couple of utility methods for creating and adjusting Mac controls.
git-svn-id: svn://10.0.0.236/trunk@17903 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-16 00:39:28 +00:00
davidm%netscape.com
17170dd5f8 2258 [PP] Messed up drawing after scrolling
git-svn-id: svn://10.0.0.236/trunk@17902 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-16 00:38:32 +00:00
sfraser%netscape.com
2046d592c4 Optimization: don't refocus a widget if it is already focussed
git-svn-id: svn://10.0.0.236/trunk@17901 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-16 00:30:40 +00:00
sfraser%netscape.com
bb73563bf0 Make the status bar read-only
git-svn-id: svn://10.0.0.236/trunk@17900 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-16 00:29:07 +00:00
ftang%netscape.com
6d11d388ca First Checked In.
git-svn-id: svn://10.0.0.236/trunk@17899 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-16 00:29:00 +00:00
ftang%netscape.com
f8c10c6657 add EUC-JP converter
git-svn-id: svn://10.0.0.236/trunk@17898 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-16 00:20:44 +00:00
kipp%netscape.com
3c2e84fe27 Removed List code now that base class dumps all child lists
git-svn-id: svn://10.0.0.236/trunk@17897 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-16 00:19:30 +00:00
kipp%netscape.com
fd7f93dbd7 Update List implementations to use GetAdditionalChildLists so that all lists of children are dumped out automatically
git-svn-id: svn://10.0.0.236/trunk@17896 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-16 00:19:10 +00:00
kipp%netscape.com
4e355995e6 Spanked away SizeOf methods and nsIListFilter
git-svn-id: svn://10.0.0.236/trunk@17895 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-16 00:00:50 +00:00
kipp%netscape.com
5f839220a3 Removed IListFilter and SizeOf API usage
git-svn-id: svn://10.0.0.236/trunk@17894 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 23:51:00 +00:00
sfraser%netscape.com
8286fbb064 Fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@17893 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 23:47:23 +00:00
guha%netscape.com
4995984517 started implementing history (not yet in build system)
git-svn-id: svn://10.0.0.236/trunk@17892 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 23:44:37 +00:00
alecf%netscape.com
15773fd920 update to reflect renaming nsIMsgNewsgroup -> nsINNTPNewsgroup
git-svn-id: svn://10.0.0.236/trunk@17891 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 23:38:04 +00:00
alecf%netscape.com
4570d5baf2 update idl and header files to reflect nsIMsgNewsgroup->nsINNTPNewsgroup change
git-svn-id: svn://10.0.0.236/trunk@17890 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 23:34:20 +00:00
alecf%netscape.com
95618732f8 rename nsIMsgNewsgroup -> nsINNTPNewsgroup
git-svn-id: svn://10.0.0.236/trunk@17889 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 23:31:39 +00:00
despotdaemon%netscape.com
1c030bfa0b Pseudo-automatic update of changes made by akkana@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@17888 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 23:28:34 +00:00
jfrancis%netscape.com
d1c3b53530 redoing timer addref/release strategy, and guaranteeing that timers will only be put on the firing list _once_, even if a client tries to add it multiple times.
git-svn-id: svn://10.0.0.236/trunk@17887 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 23:18:57 +00:00
kipp%netscape.com
0471bcb97b Fixed a typo in the test url list
git-svn-id: svn://10.0.0.236/trunk@17886 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 22:58:06 +00:00
kipp%netscape.com
bcd0726142 new
git-svn-id: svn://10.0.0.236/trunk@17885 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 22:53:51 +00:00
kipp%netscape.com
1f0fa192a0 Switch to using nsFrameList for frame lists
git-svn-id: svn://10.0.0.236/trunk@17884 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 22:53:39 +00:00
kipp%netscape.com
c3040176bf Used revised version of nsContainerFrame that uses an nsFrameList instead of a raw nsIFrame*
git-svn-id: svn://10.0.0.236/trunk@17883 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 22:52:05 +00:00
dcone%netscape.com
478aeecf15 Added new postscript fontmetric code, and update the Device and Rendering context to use them
git-svn-id: svn://10.0.0.236/trunk@17882 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 22:44:32 +00:00
pierre%netscape.com
2a1651c3e4 fix for #2209 "Can't display toolbars and xpTree": always call CommonInit() in SelectDrawingSurface().
git-svn-id: svn://10.0.0.236/trunk@17881 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 22:35:41 +00:00
pierre%netscape.com
cf1d92e1f0 fixed the windowless menu handler to work with non-raptor windows (SIOUX debug window, for instance)
git-svn-id: svn://10.0.0.236/trunk@17880 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 22:34:59 +00:00
pierre%netscape.com
450d620463 no longer ignores the returned value from m_Observer->OnStartBinding(). This allows embedding apps (eg. Intuit) to intercept and filter URLs.
git-svn-id: svn://10.0.0.236/trunk@17879 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 22:34:46 +00:00
pierre%netscape.com
151f94686f fixed the bookmarks file path for the Mac
git-svn-id: svn://10.0.0.236/trunk@17878 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 22:34:15 +00:00
pierre%netscape.com
258d93b5db make aliases of RDF resources
git-svn-id: svn://10.0.0.236/trunk@17877 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 22:32:53 +00:00
joki%netscape.com
b10f143b39 Fix bogus return value on GetImageMap
git-svn-id: svn://10.0.0.236/trunk@17876 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 22:26:30 +00:00
harishd%netscape.com
221a2bc36c Added two new border style defines that
would be used later.


git-svn-id: svn://10.0.0.236/trunk@17875 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 22:24:29 +00:00
joki%netscape.com
06d70c449d Temporary fix to windows key events to give them a coord not associated with the mouse.
git-svn-id: svn://10.0.0.236/trunk@17874 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 22:24:23 +00:00
michaelp%netscape.com
3b9905b53c fixed busted javascript.
git-svn-id: svn://10.0.0.236/trunk@17873 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 22:16:40 +00:00
wtc%netscape.com
efcfe62f11 Bugzilla bug #2431: fixed PL_GetNextOpt so that it returns PL_OPT_BAD
instead of asserts when an option that has an associated value is
not followed by a value.  Also fixed a bug that incorrectly skipped
the option following a naked option.


git-svn-id: svn://10.0.0.236/trunk@17872 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 22:13:26 +00:00
michaelp%netscape.com
a1dbc02252 when a clip is specified for a view, the clip now only affects the
view for which it is specified, not any of it's children or other
views stacked "behind" it.


git-svn-id: svn://10.0.0.236/trunk@17871 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 22:11:46 +00:00
jfrancis%netscape.com
b21480c640 fixing destructor bug in Repeater
git-svn-id: svn://10.0.0.236/trunk@17870 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 22:11:16 +00:00
troy%netscape.com
c8ffafa0d6 Fixed it so that box offsets (left/right/top/bottom) can be negative numbers
git-svn-id: svn://10.0.0.236/trunk@17869 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 22:09:15 +00:00
terry%netscape.com
99aa534807 Allow querying by OS.
git-svn-id: svn://10.0.0.236/trunk@17868 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 22:05:42 +00:00
shaver%netscape.com
0d6c623096 more primitives and over-complex macros. next stop: bit-handling (not yet part of seamonkey)
git-svn-id: svn://10.0.0.236/trunk@17867 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 21:14:48 +00:00
terry%netscape.com
7053e3f078 When viewing a bug, make it possible to change its OS.
git-svn-id: svn://10.0.0.236/trunk@17866 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 20:39:20 +00:00
hshaw%netscape.com
31cbcecdc1 Remove C++ comments from previous checkin
git-svn-id: svn://10.0.0.236/trunk@17865 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 20:08:54 +00:00
rickg%netscape.com
797e5add3c fix for 2390
git-svn-id: svn://10.0.0.236/trunk@17864 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 19:55:29 +00:00
buster%netscape.com
a86baa60f0 comments and removal of dead code
git-svn-id: svn://10.0.0.236/trunk@17863 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 19:55:19 +00:00
gagan%netscape.com
6aa855c91d Switching off NU_CACHE by default for now...
git-svn-id: svn://10.0.0.236/trunk@17862 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 19:33:17 +00:00
rickg%netscape.com
2884211b1d fixed a dozen new parser bugs
git-svn-id: svn://10.0.0.236/trunk@17861 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 19:29:35 +00:00
coop%netscape.com
bcae14f76c NOT PART OF SEAMONKEY
- updated and streamlined in-memory structure to coincide with typelib specification.
- added comments for more obtuse structures


git-svn-id: svn://10.0.0.236/trunk@17860 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 19:23:40 +00:00
rickg%netscape.com
aaaf38083e exposed objectAt in deque, and fixed toInteger bug
git-svn-id: svn://10.0.0.236/trunk@17859 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 19:20:51 +00:00
vidur%netscape.com
c2d4d4ab29 Wildcard handling of document.getElementsByTagName. Better handling of casing and namespaces for tagNames.
git-svn-id: svn://10.0.0.236/trunk@17858 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 19:18:30 +00:00
mjudge%netscape.com
546bdab866 scc and I decided that the explicit keyword was not necessary for the constructor.
It never hurts you to make an nsCOMPtr.  MJ


git-svn-id: svn://10.0.0.236/trunk@17857 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 18:57:31 +00:00
guha%netscape.com
e1e2b2708a bookmarks stuff
git-svn-id: svn://10.0.0.236/trunk@17856 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 18:56:28 +00:00
alecf%netscape.com
9625b32c35 add useful constants
git-svn-id: svn://10.0.0.236/trunk@17855 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 18:28:52 +00:00
troy%netscape.com
8a00831853 Fix for bug #1998. Now we render the background image over the padding area and not over the border area
git-svn-id: svn://10.0.0.236/trunk@17854 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 18:25:58 +00:00
sfraser%netscape.com
47646ffd92 Turning off ATSUI font rendering (for now) so that QA can test layout that semi-works.
git-svn-id: svn://10.0.0.236/trunk@17853 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 18:18:02 +00:00
sfraser%netscape.com
8665f1db57 Another part of fix for 2411 -- add a condition that was in the 4.x codebase, that no font smaller than 9pt was used.
git-svn-id: svn://10.0.0.236/trunk@17852 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 18:15:21 +00:00
terry%netscape.com
209d13cfe2 Allow querying of URL.
git-svn-id: svn://10.0.0.236/trunk@17851 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 17:49:50 +00:00
kipp%netscape.com
7554cf628e Fixed absolute positioning bug I introduced in my last checkin
git-svn-id: svn://10.0.0.236/trunk@17850 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 17:33:00 +00:00
pinkerton%netscape.com
19c301f5fd remove powerplant debug/optimized libs.
git-svn-id: svn://10.0.0.236/trunk@17849 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 17:24:32 +00:00
despotdaemon%netscape.com
3f413cb923 Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@17848 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 17:02:49 +00:00
rpotts%netscape.com
437fa7cdb5 Always fire the OnStopBinding() notification... Even if a previous call to the stream listener returned an error...
git-svn-id: svn://10.0.0.236/trunk@17847 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 10:23:32 +00:00
rpotts%netscape.com
401a0c93d9 Added some more debug trace messages...
git-svn-id: svn://10.0.0.236/trunk@17846 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 10:10:46 +00:00
sfraser%netscape.com
0297504a3b Fix font selection when using ATSUI (part of bug 2411)
git-svn-id: svn://10.0.0.236/trunk@17845 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 05:23:23 +00:00
jfrancis%netscape.com
a662b272cd Removing Powerplant
git-svn-id: svn://10.0.0.236/trunk@17844 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 05:19:59 +00:00
jfrancis%netscape.com
cc277fb0fc Powerplant Removal
git-svn-id: svn://10.0.0.236/trunk@17843 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 05:15:26 +00:00
jfrancis%netscape.com
a17a5c72c4 Fixing leaking of GraphioStates in nsRenderingContextMac destructor
git-svn-id: svn://10.0.0.236/trunk@17842 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 05:14:51 +00:00
jfrancis%netscape.com
7a1879608d Powerplant removal
git-svn-id: svn://10.0.0.236/trunk@17841 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 05:11:22 +00:00
troy%netscape.com
4eab0af794 Fixed an assert that was getting hit for absolutely positioned elements
git-svn-id: svn://10.0.0.236/trunk@17840 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 04:28:17 +00:00
pierre%netscape.com
fb7e0083d9 added html/base/src/nsFrameList.cpp for Kipp
git-svn-id: svn://10.0.0.236/trunk@17839 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 03:51:15 +00:00
sfraser%netscape.com
6d6a2a47aa Bustage fix: adding PowerPlant library back (DEBUG target only)
git-svn-id: svn://10.0.0.236/trunk@17838 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 03:46:36 +00:00
talisman%anamorphic.com
1b86ec0556 Moved member boolean collapsible into the Collapsible interface, where it belongs. Added javadoc comments for API documentation.(talisman)
git-svn-id: svn://10.0.0.236/trunk@17837 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 03:39:10 +00:00
talisman%anamorphic.com
952312d17b Moved member boolean collapsible into the interface, where it belongs.(talisman)
git-svn-id: svn://10.0.0.236/trunk@17836 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 03:38:02 +00:00
peterl%netscape.com
4903734012 fixed bad html that triggers an interesting bug in select control frame
git-svn-id: svn://10.0.0.236/trunk@17835 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 03:01:28 +00:00
mcmullen%netscape.com
8d0407462f More build bustage.
git-svn-id: svn://10.0.0.236/trunk@17834 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 02:33:47 +00:00
alecf%netscape.com
128bbd56f0 include fe_proto.h instead of manually defining LINEBREAK
git-svn-id: svn://10.0.0.236/trunk@17833 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 02:11:42 +00:00
peterl%netscape.com
03c3316c37 better base url handling
Checkin during red tree approved by sar


git-svn-id: svn://10.0.0.236/trunk@17832 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 02:09:56 +00:00
peterl%netscape.com
6a133b5aec better base url support
added support for "none" style change hint
added assert for recycling of html attributes

Checkin during red tree approved by sar


git-svn-id: svn://10.0.0.236/trunk@17831 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 02:09:29 +00:00
peterl%netscape.com
5418d308a2 don't assert when not mapping anything without mapping function
Checkin during red tree approved by sar


git-svn-id: svn://10.0.0.236/trunk@17830 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 02:08:20 +00:00
peterl%netscape.com
6f8531ba11 better base url support
Checkin during red tree approved by sar


git-svn-id: svn://10.0.0.236/trunk@17829 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 02:07:46 +00:00
peterl%netscape.com
3ea8de5a73 better base url support
fixed assert in call to deprecated url method

Checkin during red tree approved by sar


git-svn-id: svn://10.0.0.236/trunk@17828 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 02:07:15 +00:00
peterl%netscape.com
3d6d5eed05 better base URL support
better parsing of media types (per HTML4.0 spec)
enforce pseudo element sepectors at end of seletor list

Checkin during red tree approved by sar


git-svn-id: svn://10.0.0.236/trunk@17827 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 02:06:13 +00:00
peterl%netscape.com
ca0b670784 better computation of style hint
Checkin during red tree approved by sar


git-svn-id: svn://10.0.0.236/trunk@17826 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 02:04:51 +00:00
peterl%netscape.com
745ebf782f better base url support
fixed parsing of media attribute

Checkin during red tree approved by sar


git-svn-id: svn://10.0.0.236/trunk@17825 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 02:02:48 +00:00
peterl%netscape.com
707412ef5e better base url and target support
Checkin during red tree approved by sar


git-svn-id: svn://10.0.0.236/trunk@17824 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 02:01:36 +00:00
peterl%netscape.com
7f81a64fe4 better base URL support
set base url when parsing style attributes
better style attribute change notification

Checkin during red tree approved by sar


git-svn-id: svn://10.0.0.236/trunk@17823 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 01:59:42 +00:00
peterl%netscape.com
404b08681a made font color also set text decoration color
Checkin during red tree approved by sar


git-svn-id: svn://10.0.0.236/trunk@17822 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 01:58:41 +00:00
peterl%netscape.com
7a0ed38a4e better base URL support
Checkin during red tree approved by sar


git-svn-id: svn://10.0.0.236/trunk@17821 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 01:57:58 +00:00
peterl%netscape.com
3c961a8c32 changed parent/child ref/counting policy
Checkin during red tree approved by sar


git-svn-id: svn://10.0.0.236/trunk@17820 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 01:57:05 +00:00
peterl%netscape.com
80f5bcaac3 added better base url support
tweaks to attribute change notification

Checkin during red tree approved by sar


git-svn-id: svn://10.0.0.236/trunk@17819 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 01:56:18 +00:00
alecf%netscape.com
fa221950f2 add XPPtrArray and related classes
git-svn-id: svn://10.0.0.236/trunk@17818 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 01:54:38 +00:00
peterl%netscape.com
7b54523bc5 added GetBaseURL
Checkin during red tree approved by sar


git-svn-id: svn://10.0.0.236/trunk@17817 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 01:53:50 +00:00
peterl%netscape.com
f40f1b9daa added style hint "none"
Checkin during red tree approved by sar


git-svn-id: svn://10.0.0.236/trunk@17816 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 01:53:03 +00:00
peterl%netscape.com
faf263ca85 finally removed compatibility emulation of Nav font rounding bug
Let the games begin

Checkin during red tree approved by sar


git-svn-id: svn://10.0.0.236/trunk@17815 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 01:52:03 +00:00
kipp%netscape.com
f547bf04d4 Fixed up print-preview menu
git-svn-id: svn://10.0.0.236/trunk@17814 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 01:31:39 +00:00
kipp%netscape.com
a8300fda29 Stop using reflow commands for frame structure changes; instead invoke methods on the frames which then generate reflow commands as needed
git-svn-id: svn://10.0.0.236/trunk@17813 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 01:30:12 +00:00
kipp%netscape.com
ff4f7a9fe8 Implement temporary versions of AppendFrames/InsertFrames/RemoveFrame; stub out ReplaceFrame
git-svn-id: svn://10.0.0.236/trunk@17812 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 01:29:15 +00:00
kipp%netscape.com
098c401a87 Added nsFrameList to the build
git-svn-id: svn://10.0.0.236/trunk@17811 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 01:28:46 +00:00
kipp%netscape.com
ef96cd4a72 Added append/insert/remove/replace methods
git-svn-id: svn://10.0.0.236/trunk@17810 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 01:28:28 +00:00
kipp%netscape.com
f465191dd8 new
git-svn-id: svn://10.0.0.236/trunk@17809 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 01:28:07 +00:00
kipp%netscape.com
b2faafdce6 Fix build bustage
git-svn-id: svn://10.0.0.236/trunk@17808 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 01:01:39 +00:00
mcmullen%netscape.com
9905bf6e1a Fix build bustage
git-svn-id: svn://10.0.0.236/trunk@17807 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 00:57:14 +00:00
jfrancis%netscape.com
a47c7d6527 turning building of PP back on for now - something else appears to need it.
git-svn-id: svn://10.0.0.236/trunk@17806 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 00:28:12 +00:00
jfrancis%netscape.com
f0f22a9148 Removing Powerplant
git-svn-id: svn://10.0.0.236/trunk@17805 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 00:12:02 +00:00
alecf%netscape.com
1b2a75f8e6 add imap to build tree
git-svn-id: svn://10.0.0.236/trunk@17804 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 00:08:56 +00:00
alecf%netscape.com
7888f0ca7a nsINNTPHost and nsNNTPHost now compile.
git-svn-id: svn://10.0.0.236/trunk@17803 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 00:08:34 +00:00
alecf%netscape.com
0319af5eec fix Emacs identing line
git-svn-id: svn://10.0.0.236/trunk@17802 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 00:07:52 +00:00
coop%netscape.com
9d9781932c Fleshed out XDR code for in-memory structs.
To do:
- still need to track data pool offsets for most structs


git-svn-id: svn://10.0.0.236/trunk@17801 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 00:06:44 +00:00
jfrancis%netscape.com
73d5178d78 Removing Powerplant
git-svn-id: svn://10.0.0.236/trunk@17800 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 00:06:35 +00:00
alecf%netscape.com
0a0005d6bc fix Emacs indenting
git-svn-id: svn://10.0.0.236/trunk@17799 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 00:06:12 +00:00
alecf%netscape.com
31c86c4cb7 update NSPR APIs and fix Emacs identing
git-svn-id: svn://10.0.0.236/trunk@17798 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 00:05:47 +00:00
coop%netscape.com
f10c484578 Made necessary modifications to in-memory structs after writing some of
the XDR code for them.


git-svn-id: svn://10.0.0.236/trunk@17797 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 00:04:56 +00:00
sfraser%netscape.com
42d6e74fbe Reinstate buster's changes, with a fix for the nsCOMPtr problem.
git-svn-id: svn://10.0.0.236/trunk@17796 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 00:03:41 +00:00
alecf%netscape.com
3a4c7fbd89 fix Emacs identing
git-svn-id: svn://10.0.0.236/trunk@17795 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 00:03:24 +00:00
jfrancis%netscape.com
582edeead6 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@17794 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 00:01:47 +00:00
alecf%netscape.com
5833f62773 new nsIMAPGroupRecord
git-svn-id: svn://10.0.0.236/trunk@17793 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 00:00:49 +00:00
alecf%netscape.com
86dfe9cb2d start building nsMsgGroupRecord
git-svn-id: svn://10.0.0.236/trunk@17792 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 00:00:31 +00:00
alecf%netscape.com
05dde72e8f move nsIMsgHost.* into base
git-svn-id: svn://10.0.0.236/trunk@17791 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 23:51:32 +00:00
davidm%netscape.com
6821d981a7 2312 When not using ATSUI, no conversion is made from Latin-1 to MacRoman
2155  Proportional font spacing issues using metrics ( fix for nonATSUI drawing case )


git-svn-id: svn://10.0.0.236/trunk@17790 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 23:51:17 +00:00
gagan%netscape.com
8a5d4c16b8 Fix for 1856 and 2094. is_write_ready for the next stream was returning 0 and we were continuing to write with that size (0). This triggered the end of stream. Now we correctly do nothing if is_write_ready returns 0.
git-svn-id: svn://10.0.0.236/trunk@17789 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 23:51:11 +00:00
sfraser%netscape.com
f55d23d9be Call Inherited::SetFont in the SetFont method
git-svn-id: svn://10.0.0.236/trunk@17788 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 23:43:41 +00:00
vidur%netscape.com
2fdb6d754e clone test
git-svn-id: svn://10.0.0.236/trunk@17787 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 23:42:11 +00:00
sfraser%netscape.com
08e3cd334b Fix a couple of warnings by making callbacks static.
git-svn-id: svn://10.0.0.236/trunk@17786 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 23:37:57 +00:00
sfraser%netscape.com
4bb3f24b2b Moved nsTextNode.cpp, nsCommentNode.cpp, nsGenericDOMDataNode.cpp from html/content to base (for vidur)
git-svn-id: svn://10.0.0.236/trunk@17785 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 23:37:18 +00:00
law%netscape.com
89203899af Updated with new enumerator protocols
git-svn-id: svn://10.0.0.236/trunk@17784 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 23:30:44 +00:00
mcmullen%netscape.com
89a909043d Added all the nucache files to the memory module project (as a group) so that NU_CACHE can be turned on with a flick of the wrist, made the modular memory library build with the NU_CACHE flag turned on, fixed build warnings and errors. The NU_CACHE flag is still OFF, because the database code doesn't exist for Macintosh or Unix :-(
git-svn-id: svn://10.0.0.236/trunk@17783 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 23:27:36 +00:00
mcmullen%netscape.com
9b9be1867f Fixed some warnings.Added all the nucache files to the memory module project (as a group) so that NU_CACHE can be turned on with a flick of the wrist, made the modular memory library build with the NU_CACHE flag turned on, fixed build warnings and errors. The NU_CACHE flag is still OFF, because the database code doesn't exist for Macintosh or Unix :-(
git-svn-id: svn://10.0.0.236/trunk@17782 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 23:27:27 +00:00
ftang%netscape.com
e4802c01ae fix the bug which will crash when some converter are not available
git-svn-id: svn://10.0.0.236/trunk@17781 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 23:24:17 +00:00
ftang%netscape.com
0ece72f323 add greek test case
git-svn-id: svn://10.0.0.236/trunk@17780 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 23:23:30 +00:00
ftang%netscape.com
043757e9fc add ucvlatin into -I
git-svn-id: svn://10.0.0.236/trunk@17779 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 23:23:13 +00:00
mcmullen%netscape.com
46a406db90 Added all the nucache files to the memory module project (as a group) so that NU_CACHE can be turned on with a flick of the wrist, made the modular memory library build with the NU_CACHE flag turned on, fixed build warnings and errors. The NU_CACHE flag is still OFF, because the database code doesn't exist for Macintosh or Unix :-(
git-svn-id: svn://10.0.0.236/trunk@17778 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 23:21:06 +00:00
alecf%netscape.com
ccf32dc186 add new MIME and IMAP trees to --enable-mailnews
git-svn-id: svn://10.0.0.236/trunk@17777 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 23:20:33 +00:00
alecf%netscape.com
66bdba18ff add new IMAP makefiles
git-svn-id: svn://10.0.0.236/trunk@17776 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 23:16:27 +00:00
vidur%netscape.com
d81e61b1ff Moved text and comment code out of HTML-specific directories. Completed CloneNode for elements. Completed factory methods for intersection of XML and HTML.
git-svn-id: svn://10.0.0.236/trunk@17775 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 23:14:02 +00:00
alecf%netscape.com
9b8f7545fe adding nsMsgGroupRecord (previously msg_GroupRecord)
git-svn-id: svn://10.0.0.236/trunk@17773 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 23:09:22 +00:00
dveditz%netscape.com
1ff29abbe0 merging in changes from Classic branch. Not part of SeaMonkey build (yet)
git-svn-id: svn://10.0.0.236/trunk@17772 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 23:08:21 +00:00
waterson%netscape.com
5d490128a8 Turn off arithmetic conversion warnings in build.
git-svn-id: svn://10.0.0.236/trunk@17770 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 23:05:28 +00:00
waterson%netscape.com
f48c09fa09 Fix compiler warning.
git-svn-id: svn://10.0.0.236/trunk@17769 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 23:04:59 +00:00
despotdaemon%netscape.com
92b1cc77bb Pseudo-automatic update of changes made by val4@cornell.edu.
git-svn-id: svn://10.0.0.236/trunk@17768 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 23:04:41 +00:00
waterson%netscape.com
52326281de Oops. Had an = when I meant ==.
git-svn-id: svn://10.0.0.236/trunk@17767 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 23:04:16 +00:00
waterson%netscape.com
7ad183bf13 Fixed compiler warning.
git-svn-id: svn://10.0.0.236/trunk@17766 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 23:03:07 +00:00
pavlov%pavlov.net
82360354b0 #ifdef around some recent gtk changes
git-svn-id: svn://10.0.0.236/trunk@17765 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 23:02:50 +00:00
terry%netscape.com
cec25e81be rickg now owns what toshok did.
git-svn-id: svn://10.0.0.236/trunk@17753 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 22:18:58 +00:00
buster%netscape.com
045c82cdbf backed out Merge functionality because it doesn't compile on Mac.
git-svn-id: svn://10.0.0.236/trunk@17752 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 21:52:08 +00:00
despotdaemon%netscape.com
552637d5ff Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@17750 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 20:41:35 +00:00
mcmullen%netscape.com
5922ad8b08 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@17749 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 19:46:11 +00:00
buster%netscape.com
162941cddc added pres shell to nsIEditor::Init
git-svn-id: svn://10.0.0.236/trunk@17748 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 19:41:38 +00:00
mcmullen%netscape.com
875d966f65 Added #ifdefs to recent temp hack, to make it easy to turn the temp hack off.
git-svn-id: svn://10.0.0.236/trunk@17747 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 19:36:22 +00:00
pinkerton%netscape.com
b3353eb548 fix misunderstanding with params to SetText()
git-svn-id: svn://10.0.0.236/trunk@17746 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 18:57:44 +00:00
pinkerton%netscape.com
baa0573468 fix misunderstanding with parameters in SetText()
git-svn-id: svn://10.0.0.236/trunk@17745 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 18:56:49 +00:00
buster%netscape.com
4cd5464496 pass the pres shell to the editor init method
git-svn-id: svn://10.0.0.236/trunk@17744 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 18:52:16 +00:00
gagan%netscape.com
5d422e8d5b Fix the errors resulting from no Content-Length headers.
git-svn-id: svn://10.0.0.236/trunk@17743 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 18:47:38 +00:00
pavlov%pavlov.net
9c2f480a0e fix bug 2352
git-svn-id: svn://10.0.0.236/trunk@17742 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 18:35:55 +00:00
dcone%netscape.com
d6dd039681 Added files DeleteRangeTxn.cpp DeleteNodeTxn.cpp
git-svn-id: svn://10.0.0.236/trunk@17741 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 18:19:19 +00:00
buster%netscape.com
dceac9452d added DeleteElementTxn and DeleteRangeTxn, and added merging of text insertions.
added some better error checking on all transactions.


git-svn-id: svn://10.0.0.236/trunk@17740 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 18:02:45 +00:00
shaver%netscape.com
f062e83a76 updated API example in XPT_DoIDE
git-svn-id: svn://10.0.0.236/trunk@17739 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 17:35:14 +00:00
larryh%netscape.com
a3ac02c342 Diffs from John Fairhurst mjf35@hermes.cam.ac.uk for OS/2
git-svn-id: svn://10.0.0.236/trunk@17738 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 16:14:22 +00:00
waterson%netscape.com
deecde44a4 Rearranged stream and content sink stuff to be a part of base: content sink will eventually be replaced by a lower-level parser implementation. Improved the named data source handling.
git-svn-id: svn://10.0.0.236/trunk@17737 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 10:55:08 +00:00
ftang%netscape.com
ee542163d0 make UNIX build and run
git-svn-id: svn://10.0.0.236/trunk@17736 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 10:28:18 +00:00
ftang%netscape.com
2d37ef1259 fix the FastTableInit code
git-svn-id: svn://10.0.0.236/trunk@17730 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 08:49:03 +00:00
ftang%netscape.com
4d05a35652 fix the 0x00-0x20 and 0x7f problem nsUnicodeDecodeUtil.cpp
git-svn-id: svn://10.0.0.236/trunk@17729 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 08:22:31 +00:00
ftang%netscape.com
08a09d5e00 fix charset is caseless bug
git-svn-id: svn://10.0.0.236/trunk@17724 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 07:46:17 +00:00
ftang%netscape.com
91bf06000f add ucvlatin, add cp1253, iso-8859-1, windows-1253 converter, change the nsIUnicodeDecodeUtil interface
git-svn-id: svn://10.0.0.236/trunk@17722 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 07:39:45 +00:00
ftang%netscape.com
0fa4a59674 add first check in
git-svn-id: svn://10.0.0.236/trunk@17721 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 07:35:24 +00:00
pierre%netscape.com
a5b1311644 fixed build breakage
git-svn-id: svn://10.0.0.236/trunk@17720 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 07:30:02 +00:00
sfraser%netscape.com
cc87efd697 Fix build bustage (adding method CreateFontAliasTable())
git-svn-id: svn://10.0.0.236/trunk@17719 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 07:14:24 +00:00
pierre%netscape.com
a1c5cf9b9d Fix (part of) bug 2154: small-caps are displayed with the 'condense' attribute.
git-svn-id: svn://10.0.0.236/trunk@17718 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 07:12:07 +00:00
pierre%netscape.com
7e6e42282a Fixed the mouseRgn in WaitNextEvent in order not to continuously send mouseMoved events.
git-svn-id: svn://10.0.0.236/trunk@17717 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 07:02:28 +00:00
pierre%netscape.com
d0824bc3f6 Fix (part of) bug 2154: small-caps are displayed with the 'condense' attribute.
git-svn-id: svn://10.0.0.236/trunk@17716 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 06:54:21 +00:00
rpotts%netscape.com
5ab09dfebf Fixed up the signature for nsIContentViewerContainer::GetContentViewer()...
git-svn-id: svn://10.0.0.236/trunk@17715 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 06:49:59 +00:00
rpotts%netscape.com
9251d0c8b0 Added support for GetContainer()/SetContainer(). Added the OnStartURLLoad() notification to the DocumentLoadObserver...
git-svn-id: svn://10.0.0.236/trunk@17714 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 06:44:23 +00:00
rpotts%netscape.com
73e2ec4c7e Added OnStartURLLoad() notification which is called whenever the document loader has established a connection...
git-svn-id: svn://10.0.0.236/trunk@17713 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 06:37:11 +00:00
rpotts%netscape.com
f98ba48091 Added GetContainer() and SetContainer() methods which allow access to the ContentViewerContainer (ie webshell) associated with the document loader.
git-svn-id: svn://10.0.0.236/trunk@17712 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 06:34:56 +00:00
rpotts%netscape.com
943b5057e7 Moved GetContentViewer() from nsIWebShell into nsIContentViewerContainer...
git-svn-id: svn://10.0.0.236/trunk@17711 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 06:33:54 +00:00
rpotts%netscape.com
2c59a6eb70 Add some code that was lost from nsURL.cpp OpenStream(...). Use the nsIURLGroup if available to open the stream. This allows URL loads to be grouped together.
git-svn-id: svn://10.0.0.236/trunk@17710 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 06:12:36 +00:00
sfraser%netscape.com
db5ebeda1e No longer call the static method of nsFontMetricsMac in StartDraw; since nsMacControl implements SetFont now, this is no longer necessary.
git-svn-id: svn://10.0.0.236/trunk@17709 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 05:50:56 +00:00
sfraser%netscape.com
26ba0ffeae Add a utility routine to set the port's text traits, and call it from GetWidth and DrawString. Also fix warnings with the ATSUI calls, and fix the ATSUI #ifdef so that it's possible to #ifdef out all calls to the ATSUI library.
git-svn-id: svn://10.0.0.236/trunk@17708 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 05:49:51 +00:00
sfraser%netscape.com
707af630d5 Override SetFont to setup the control font properly. Previously, it was being picked up from the port just before drawing, which no longer works after the font optimizations in GFX.
git-svn-id: svn://10.0.0.236/trunk@17707 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 05:48:29 +00:00
sfraser%netscape.com
057f004909 Fix for bug 2211, and other font rendering changes and fixes. Fix davidm's changes to avoid blowing the font cache, change the static function to return font information, rather than set it.
git-svn-id: svn://10.0.0.236/trunk@17706 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 05:47:20 +00:00
sfraser%netscape.com
e1318ff7cd Override CreateFontAliasTable to tweak the font settings for Mac (specifically, use Courier in preference to Courier New for the fixed width font). Also #ifdef out the font num cache, now that nsFontMetricsMac is smarter about cacheing the font num.
git-svn-id: svn://10.0.0.236/trunk@17705 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 05:44:50 +00:00
sfraser%netscape.com
19b8fd4bae Added FontManager lib, for the call to the MacOS 8.5 routine FetchFontInfo
git-svn-id: svn://10.0.0.236/trunk@17704 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 05:43:18 +00:00
sfraser%netscape.com
d96a496896 Warnings fix (remove ; )
git-svn-id: svn://10.0.0.236/trunk@17703 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 05:37:28 +00:00
troy%netscape.com
ecc9f6f19d Removed the content-parent frame pointer. Now we just have the one geometric
parent


git-svn-id: svn://10.0.0.236/trunk@17702 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 05:16:23 +00:00
troy%netscape.com
5caea33110 Fix for bug #2316. Added back some code I removed because I didn't think we
needed it, but without out it 'color' doesn't inherit properly


git-svn-id: svn://10.0.0.236/trunk@17701 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 05:14:11 +00:00
sfraser%netscape.com
1667c46952 Warning fix (remove ;)
git-svn-id: svn://10.0.0.236/trunk@17700 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 05:12:30 +00:00
endico%mozilla.org
1d6131a23a Be still more terse.
git-svn-id: svn://10.0.0.236/trunk@17699 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 05:00:43 +00:00
endico%mozilla.org
b38a1bbdc3 make the credits at the end of each page more terse
git-svn-id: svn://10.0.0.236/trunk@17697 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 04:53:30 +00:00
jband%netscape.com
fb0c34af4a NOT PART OF SEAMONKEY - factored out data conversion routines, need to now make them handle datatypes not yet handled
git-svn-id: svn://10.0.0.236/trunk@17696 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 04:25:31 +00:00
endico%mozilla.org
fad62ea3b8 fix regexps to fix shaver's xpcom/tools/xpidl/ description bustage
git-svn-id: svn://10.0.0.236/trunk@17695 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 03:52:10 +00:00
dougt%netscape.com
fda6b1aa8a Initial Checkin of SilentDownload examples.
git-svn-id: svn://10.0.0.236/trunk@17681 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 01:48:18 +00:00
dougt%netscape.com
adbc6f06d0 Initial checkin of Silentdownload. This does not hook it up to the build
system.


git-svn-id: svn://10.0.0.236/trunk@17680 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 01:47:16 +00:00
despotdaemon%netscape.com
a305cc3f93 Pseudo-automatic update of changes made by brendan@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@17674 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 00:46:13 +00:00
alecf%netscape.com
6e4020a144 move to new NSPR APIs
git-svn-id: svn://10.0.0.236/trunk@17673 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 00:45:46 +00:00
alecf%netscape.com
5add71ad41 Ignore Makefile's
git-svn-id: svn://10.0.0.236/trunk@17672 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 00:42:15 +00:00
alecf%netscape.com
d34fd206f5 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@17671 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 00:41:25 +00:00
val4%cornell.edu
1f3ae5b4a0 Working on condensing the file manipulation functions.
Some error checking.


git-svn-id: svn://10.0.0.236/trunk@17666 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-13 23:39:46 +00:00
norris%netscape.com
301616f606 fix bug 335882: crash printing out a function
git-svn-id: svn://10.0.0.236/trunk@17665 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-13 23:28:45 +00:00
alecf%netscape.com
dbba5b8db2 PL_Malloc -> PR_Malloc
(oops)


git-svn-id: svn://10.0.0.236/trunk@17663 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-13 22:48:44 +00:00
jband%netscape.com
f2d2484bc9 NOT PART OF SEAMONKEY - initial stuff for calling from native to JS (works with int params and hardcoded InterfaceInfo). quick implementation of nsID for JavaScript
git-svn-id: svn://10.0.0.236/trunk@17662 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-13 22:45:12 +00:00
shaver%netscape.com
94275ccb6c start of per-struct XDR code; a: leaf
git-svn-id: svn://10.0.0.236/trunk@17661 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-13 21:52:02 +00:00
terry%netscape.com
2187a56ca7 Oops; wasn't cleaning up properly.
git-svn-id: svn://10.0.0.236/trunk@17659 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-13 20:33:03 +00:00
terry%netscape.com
8f4dfd10d3 despot now also automatically creates mailing lists of people who can
check into a repository.


git-svn-id: svn://10.0.0.236/trunk@17658 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-13 20:31:36 +00:00
sfraser%netscape.com
bd27d339e7 Remove nsEditorInterfaces.cpp
git-svn-id: svn://10.0.0.236/trunk@17654 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-13 19:16:26 +00:00
buster%netscape.com
aaf9843c9f removed nsEditorInterfaces.cpp and all references to global methods therein.
all editing is handled by the editor now.


git-svn-id: svn://10.0.0.236/trunk@17653 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-13 18:52:02 +00:00
buster%netscape.com
2ec12ddca8 removed the test inspectors from the menu. They were confusing people.
When the time is right, I'll add them back in conditionally.


git-svn-id: svn://10.0.0.236/trunk@17652 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-13 18:14:35 +00:00
shaver%netscape.com
9da4ecb3d3 more header goo, xdr implementation stubs
git-svn-id: svn://10.0.0.236/trunk@17651 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-13 15:20:25 +00:00
rickg%netscape.com
fbfe87c995 fixed nested listing bug, and prep work for new logparse system
git-svn-id: svn://10.0.0.236/trunk@17650 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-13 08:43:20 +00:00
pollmann%netscape.com
1c39ca1162 Bug 2088 2099: Similar fixes for nsListBox (add PreCreateWidget to get mMultiSelect)
git-svn-id: svn://10.0.0.236/trunk@17648 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-13 07:27:24 +00:00
rpotts%netscape.com
c7fcd604c6 If no range headers are set then return NULL from GetByteRangeHeader() not an empty string...
git-svn-id: svn://10.0.0.236/trunk@17647 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-13 07:17:39 +00:00
pollmann%netscape.com
a58c0398d8 Bug 2088 2099: Check the IsPassword and IsReadOnly data members on creation.
git-svn-id: svn://10.0.0.236/trunk@17646 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-13 07:14:22 +00:00
pollmann%netscape.com
3d8261ebe9 Bug 2088 2099: Add PreCreateWidget method for password and readonly text elements.
git-svn-id: svn://10.0.0.236/trunk@17645 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-13 07:09:21 +00:00
troy%netscape.com
e69d38cccb Fix for bug #2276, and some initial support for 'right' and 'bottom'
for absolutely positioned elements


git-svn-id: svn://10.0.0.236/trunk@17644 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-13 06:37:31 +00:00
grail%cafebabe.org
c372c414ad Fix to get sizes of folder, threads, and messages to retain sizing
information.


git-svn-id: svn://10.0.0.236/trunk@17643 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-13 05:59:26 +00:00
rhp%netscape.com
c051bc3777 Adding modular libMIME to the tree.
git-svn-id: svn://10.0.0.236/trunk@17642 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-13 02:51:00 +00:00
mcmullen%netscape.com
629f7e6755 These include fixes of crashing bugs that were in the Nova tree and made since the last merge point (April 98), along with some bug prevention efforts, such as unobfuscating the return types. For example, some JSBools were being simply cast to a return value of "int", reversing their sense (success = JS_TRUE = 1 != 0)! In a world where everybody returns "int", the hidden bug is king.
git-svn-id: svn://10.0.0.236/trunk@17640 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-13 02:32:09 +00:00
rhp%netscape.com
80f6c6fa18 Adding modular libMIME to the tree.
git-svn-id: svn://10.0.0.236/trunk@17639 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-13 02:26:49 +00:00
davidm%netscape.com
418e0c2c79 Bugzilla [PP] Font mapping is wrong
git-svn-id: svn://10.0.0.236/trunk@17638 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-13 02:14:10 +00:00
rhp%netscape.com
2b4f3e72b9 Adding modular libMIME to the tree.
git-svn-id: svn://10.0.0.236/trunk@17637 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-13 01:54:56 +00:00
ebina%netscape.com
33caa0addc Add the gzip decoder back in.
git-svn-id: svn://10.0.0.236/trunk@17636 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-13 01:43:28 +00:00
petitta%netscape.com
db6199f447 Temporarly took out #define MOZ_FULLCIRCLE
git-svn-id: svn://10.0.0.236/trunk@17635 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-13 01:11:54 +00:00
petitta%netscape.com
1340dbe0ef Full Circle Mods
git-svn-id: svn://10.0.0.236/trunk@17634 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-13 00:46:28 +00:00
troy%netscape.com
bbcce4c71a Re-commiting my fucking changes...
git-svn-id: svn://10.0.0.236/trunk@17633 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-13 00:44:48 +00:00
troy%netscape.com
bb626b6036 Re-committing my fucking changes...
git-svn-id: svn://10.0.0.236/trunk@17632 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-13 00:38:29 +00:00
ebina%netscape.com
b860710c8e Once I turn on automatic decompressing gain we will have a dependency
on the zip library here.


git-svn-id: svn://10.0.0.236/trunk@17631 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-13 00:19:29 +00:00
pinkerton%netscape.com
4cd5350a12 fix problem where SetText would truncate text to 255.
git-svn-id: svn://10.0.0.236/trunk@17630 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-13 00:03:05 +00:00
pinkerton%netscape.com
496db1c678 fix #2247 to fix lack of redraw when text is set
git-svn-id: svn://10.0.0.236/trunk@17629 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-13 00:02:51 +00:00
cltbld%netscape.com
cd62100e23 backing out changes made against a red tree
git-svn-id: svn://10.0.0.236/trunk@17628 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-13 00:00:57 +00:00
vidur%netscape.com
672d296303 Fix for bug 1258. Content sink flushes tags when it sees a script, but makes sure that reflow doesn't happen until its safe again.
git-svn-id: svn://10.0.0.236/trunk@17627 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 23:49:13 +00:00
petitta%netscape.com
2f690d5017 Fixed Syntax errors
git-svn-id: svn://10.0.0.236/trunk@17626 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 23:32:30 +00:00
petitta%netscape.com
ae0b14d006 Set MOZ_FULLCIRCLE = 0
git-svn-id: svn://10.0.0.236/trunk@17625 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 23:27:04 +00:00
troy%netscape.com
9654e78020 Fixed a memory leak
git-svn-id: svn://10.0.0.236/trunk@17624 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 23:17:49 +00:00
troy%netscape.com
b2b5d3f972 Moved a NS_RELEASE to a different point so we're less likely to have a non-local exit
miss the release


git-svn-id: svn://10.0.0.236/trunk@17623 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 23:17:20 +00:00
pollmann%netscape.com
73e3b8a43c Bug 2234: Crash on JS Submit().
git-svn-id: svn://10.0.0.236/trunk@17622 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 23:11:26 +00:00
petitta%netscape.com
bd7aae37af Fixed my boneheaded syntax goofs.....
git-svn-id: svn://10.0.0.236/trunk@17621 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 21:47:08 +00:00
shaver%netscape.com
13346a8dec initial XDR primitives
git-svn-id: svn://10.0.0.236/trunk@17620 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 21:36:11 +00:00
gagan%netscape.com
87b98ccf20 Fixed MAX_FORMATS_OUT which is now correctly defined in net.h. Thanks ebina.
git-svn-id: svn://10.0.0.236/trunk@17619 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 21:34:58 +00:00
despotdaemon%netscape.com
6be3aae4eb Pseudo-automatic update of changes made by brendan@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@17618 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 21:34:49 +00:00
gagan%netscape.com
06fa45f3b8 Fixed MAX_FORMATS_OUT that used to be incorrectly set.
git-svn-id: svn://10.0.0.236/trunk@17617 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 21:34:20 +00:00
alecf%netscape.com
704571812b update to use new NSPR APIs
git-svn-id: svn://10.0.0.236/trunk@17616 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 21:03:59 +00:00
alecf%netscape.com
90489758d1 fix string routines to use NSPR
git-svn-id: svn://10.0.0.236/trunk@17615 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 21:01:54 +00:00
petitta%netscape.com
7b94973506 Added MOZ_FULLCIRCLE for the TalkBack Client.
git-svn-id: svn://10.0.0.236/trunk@17614 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 20:57:30 +00:00
petitta%netscape.com
3ec094cb24 Updated to handle Talkback Client.
git-svn-id: svn://10.0.0.236/trunk@17613 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 20:53:24 +00:00
despotdaemon%netscape.com
662ba5f4fc Pseudo-automatic update of changes made by cyeh@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@17612 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 20:50:56 +00:00
despotdaemon%netscape.com
705558e337 Pseudo-automatic update of changes made by cyeh@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@17611 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 20:50:23 +00:00
petitta%netscape.com
d83e0f433d Updated Build scripts for the inclusion of the talkback stuff.
git-svn-id: svn://10.0.0.236/trunk@17610 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 20:49:54 +00:00
alecf%netscape.com
bb238f863d rename nsIMsgNewsHost -> nsINNTPHost in all files that use it
git-svn-id: svn://10.0.0.236/trunk@17609 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 20:44:13 +00:00
alecf%netscape.com
0ae88c5c48 add new nsNNTPHost implementation - NNTP specific version of nsIMsgHost, implementation of nsINNTPHost
git-svn-id: svn://10.0.0.236/trunk@17608 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 20:42:22 +00:00
alecf%netscape.com
9f2af5acbd get Emacs mode line right for IDL!
git-svn-id: svn://10.0.0.236/trunk@17607 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 20:41:04 +00:00
alecf%netscape.com
25444d1c4c adding new nsIMsgHost interface
git-svn-id: svn://10.0.0.236/trunk@17606 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 20:37:41 +00:00
alecf%netscape.com
250cc6f3dc rename nsIMsgNewsHost -> nsINNTPHost and start adding old MSG_NewsHost methods
git-svn-id: svn://10.0.0.236/trunk@17605 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 20:36:37 +00:00
despotdaemon%netscape.com
1b72eebb15 Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@17604 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 20:23:14 +00:00
despotdaemon%netscape.com
9464edcc8f Pseudo-automatic update of changes made by cbegle@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@17603 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 19:59:19 +00:00
dougt%netscape.com
dac03c0d9a Added GetContentLength and GetServerStatus to nsIURL class
git-svn-id: svn://10.0.0.236/trunk@17602 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 19:45:46 +00:00
waterson%netscape.com
d2fd5b8e78 Obsoleted.
git-svn-id: svn://10.0.0.236/trunk@17601 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 19:42:36 +00:00
waterson%netscape.com
f4e23d1ec9 Added resources to build.
git-svn-id: svn://10.0.0.236/trunk@17598 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 19:41:44 +00:00
waterson%netscape.com
c637ea386a Factored content model builder code into its own interface. Hooked up RDF-to-content model notification. Minor bug fixes in data sources.
git-svn-id: svn://10.0.0.236/trunk@17595 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 19:41:06 +00:00
coop%netscape.com
e922cb1761 Removed references to xpidl_typelib.h
git-svn-id: svn://10.0.0.236/trunk@17594 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 19:26:37 +00:00
mcmullen%netscape.com
590180f6f7 Fully implement scrollbars - live scrolling, etc. Includes changes by Cyrus Harmon.
git-svn-id: svn://10.0.0.236/trunk@17593 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 19:26:31 +00:00
shaver%netscape.com
420e0f51a8 initial typelib structures
git-svn-id: svn://10.0.0.236/trunk@17592 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 19:17:25 +00:00
pinkerton%netscape.com
efa104cbfb fixes for SetDOMAttribute --> SetAttribute change.
git-svn-id: svn://10.0.0.236/trunk@17591 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 18:20:58 +00:00
guha%netscape.com
46e5bfae41 adding a tree interface to datasources. Not yet in build system
git-svn-id: svn://10.0.0.236/trunk@17590 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 17:35:25 +00:00
dcone%netscape.com
f161b6e232 Added files
nsDomAttribute.cpp, nsDomAttributeMap.cpp, nsGenericXMLElement.cpp


git-svn-id: svn://10.0.0.236/trunk@17588 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 16:54:30 +00:00
vidur%netscape.com
7cee1d1143 attributes test
git-svn-id: svn://10.0.0.236/trunk@17587 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 16:43:24 +00:00
kipp%netscape.com
c5c21eff17 Use new flag defines
git-svn-id: svn://10.0.0.236/trunk@17586 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 16:42:03 +00:00
kipp%netscape.com
4bf9a053b1 Clean up block frame flags
git-svn-id: svn://10.0.0.236/trunk@17585 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 16:41:30 +00:00
vidur%netscape.com
78eec9966b Added nsIDOMAttributePrivate
git-svn-id: svn://10.0.0.236/trunk@17584 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 16:38:52 +00:00
vidur%netscape.com
5435e41ebe Added new namespace/attribute parsing methods to nsIContent
git-svn-id: svn://10.0.0.236/trunk@17583 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 16:38:28 +00:00
vidur%netscape.com
c5e776a818 Second pass of attributes as nodes. Improved namespace management - XML elements now hold on to their containing namespace. Fixed Get/SetDOMAttriute naming issue. Added new namespace parsing methods to nsIContent
git-svn-id: svn://10.0.0.236/trunk@17582 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 16:37:24 +00:00
vidur%netscape.com
4a1535fb62 Fixed Get/SetAttribute naming problem
git-svn-id: svn://10.0.0.236/trunk@17581 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 16:35:14 +00:00
pierre%netscape.com
6179f08691 Some cleanup in ATSUI. The constant USE_ATSUI_HACK, when it's not defined, now effectively removes all the ATSUI code and the ATSUnicodeLib can be removed from the project.
git-svn-id: svn://10.0.0.236/trunk@17580 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 11:35:49 +00:00
rickg%netscape.com
e6c9ca3a33 removed problematic assertion
git-svn-id: svn://10.0.0.236/trunk@17574 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 08:46:02 +00:00
vidur%netscape.com
8a6027fba4 new files
git-svn-id: svn://10.0.0.236/trunk@17573 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 08:45:23 +00:00
ftang%netscape.com
3a68d19d55 change dependency. add sjis test cases
git-svn-id: svn://10.0.0.236/trunk@17572 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 08:35:45 +00:00
ftang%netscape.com
40144bd963 add shift jis converter, add table driven decode utility and interface, change module name from intl to uconv
git-svn-id: svn://10.0.0.236/trunk@17571 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 08:34:29 +00:00
ftang%netscape.com
84652f9f5e change module from intl to uconv, add utility files
git-svn-id: svn://10.0.0.236/trunk@17570 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 08:26:54 +00:00
ftang%netscape.com
5f280e103c add Shift to Unicode converter
git-svn-id: svn://10.0.0.236/trunk@17569 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 08:24:34 +00:00
dp%netscape.com
2f3f7cea38 Eliminating NU_CACHE build dependency if NO_NU_CACHE is defined
git-svn-id: svn://10.0.0.236/trunk@17568 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 08:07:19 +00:00
rickg%netscape.com
86ed346089 fixed bug 2274
git-svn-id: svn://10.0.0.236/trunk@17557 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 06:04:05 +00:00
ramiro%netscape.com
acb177fff4 Make sure .cvsignore gets checked out with the MozillaSourceUnixOnly module.
git-svn-id: svn://10.0.0.236/trunk@17553 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 05:53:52 +00:00
waterson%netscape.com
304f152661 Initial revision (not yet in build.)
git-svn-id: svn://10.0.0.236/trunk@17546 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 05:33:32 +00:00
waterson%netscape.com
17741ff819 Initial revision. (Not yet in the build.)
git-svn-id: svn://10.0.0.236/trunk@17545 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 05:32:30 +00:00
despotdaemon%netscape.com
7cd134bac0 Pseudo-automatic update of changes made by bienvenu@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@17544 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 05:18:51 +00:00
blizzard%appliedtheory.com
df0c9d4a08 clean up factories for gtk. make destroying for nsWidgets() cleaner.
git-svn-id: svn://10.0.0.236/trunk@17543 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 04:42:09 +00:00
pavlov%pavlov.net
936b4bb074 sync all my changes. removed lots of code that is provided in nsBaseWidget,
added focus handlers, etc etc etc


git-svn-id: svn://10.0.0.236/trunk@17542 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 03:56:33 +00:00
rickg%netscape.com
6b72f77ef5 this fixes some of what ails us with XML
git-svn-id: svn://10.0.0.236/trunk@17541 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 02:37:22 +00:00
despotdaemon%netscape.com
3ab32dadcd Pseudo-automatic update of changes made by davidmc@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@17540 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 02:33:25 +00:00
sdagley%netscape.com
e7b7c5345f Fix improper calculation of gmtDelta - was using Mac toolbox BitTest routine to test the wrong bit, changed to a simpler & test. Checking in with permission of cyeh.
git-svn-id: svn://10.0.0.236/trunk@17539 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 01:22:46 +00:00
warren%netscape.com
87fb4e371e Added headings
git-svn-id: svn://10.0.0.236/trunk@17538 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 01:19:11 +00:00
rickg%netscape.com
eac2a23d6b incremental fix for DON to get Linux off the floor
git-svn-id: svn://10.0.0.236/trunk@17537 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 01:14:12 +00:00
alecf%netscape.com
772621999e update windows makefile to export the right XPCOM headers
git-svn-id: svn://10.0.0.236/trunk@17536 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 01:10:13 +00:00
alecf%netscape.com
6e248cd38a oops, misspelled MEWS->NEWS
git-svn-id: svn://10.0.0.236/trunk@17535 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 01:09:45 +00:00
alecf%netscape.com
7c484d3803 update windows makefile
git-svn-id: svn://10.0.0.236/trunk@17534 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 01:06:39 +00:00
alecf%netscape.com
c52f8ecd3d add new files to the Unix build process
git-svn-id: svn://10.0.0.236/trunk@17533 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 01:05:21 +00:00
alecf%netscape.com
633383ee9e nsNNTPArticleSet compiles now
git-svn-id: svn://10.0.0.236/trunk@17532 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 00:48:47 +00:00
alecf%netscape.com
6b917f4b51 needed MarkDirty so that nsNNTPArticleSet could compile
git-svn-id: svn://10.0.0.236/trunk@17531 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 00:48:28 +00:00
alecf%netscape.com
6b0124e885 InitXOVER does not need most of these parameters!
git-svn-id: svn://10.0.0.236/trunk@17530 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 00:38:46 +00:00
alecf%netscape.com
67eef9e8c0 move to NSPR2
git-svn-id: svn://10.0.0.236/trunk@17529 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 00:38:14 +00:00
alecf%netscape.com
eb32e6bf84 data structure types have changed, and move XP_ASSERT to PR_ASSERT
git-svn-id: svn://10.0.0.236/trunk@17528 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 00:37:36 +00:00
alecf%netscape.com
0419a70e8a make net_NewsChunkSize global for now, so that we can change it from outside
the file


git-svn-id: svn://10.0.0.236/trunk@17527 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 00:36:49 +00:00
alecf%netscape.com
8c763dbcd0 this almost compiles now
git-svn-id: svn://10.0.0.236/trunk@17526 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 00:32:55 +00:00
rickg%netscape.com
cb2742db98 fixed a few parser problems having to do with dynamic enabling
git-svn-id: svn://10.0.0.236/trunk@17525 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 00:19:17 +00:00
alecf%netscape.com
9b37e362b4 update to NSPR2
git-svn-id: svn://10.0.0.236/trunk@17523 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-11 23:31:40 +00:00
alecf%netscape.com
8fe2086b64 updated to NSPR2
git-svn-id: svn://10.0.0.236/trunk@17522 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-11 23:30:16 +00:00
alecf%netscape.com
81694f575c adding new article set code
git-svn-id: svn://10.0.0.236/trunk@17521 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-11 23:25:32 +00:00
pavlov%pavlov.net
b53694a93e set event.point.[xy] to 0
git-svn-id: svn://10.0.0.236/trunk@17520 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-11 23:06:13 +00:00
alecf%netscape.com
3e7e911cdd changes to make it compile
git-svn-id: svn://10.0.0.236/trunk@17519 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-11 22:54:51 +00:00
buster%netscape.com
8a19fb26be shuffled around the responsibilities of core editing objects.
The key listener is now mostly a mapper of key events to editor actions.  Soon, this should be 100% true.
The editor builds transactions that are themselves intelligent. The editor makes very few DOM calls itself.
It relies on the transactions to do most of the actual editing.


git-svn-id: svn://10.0.0.236/trunk@17518 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-11 22:47:23 +00:00
despotdaemon%netscape.com
19f97e42a1 Pseudo-automatic update of changes made by bienvenu@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@17517 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-11 21:38:46 +00:00
despotdaemon%netscape.com
9f6e0a85d8 Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@17514 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-11 21:35:59 +00:00
despotdaemon%netscape.com
e804357187 Pseudo-automatic update of changes made by sudu@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@17513 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-11 21:22:45 +00:00
locka%iol.ie
b1b3f5f24e Added implementation of get_ReadyState
Overrode default InPlaceActivate method to fix broken containers


git-svn-id: svn://10.0.0.236/trunk@17511 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-11 21:08:54 +00:00
alecf%netscape.com
3e9bd176d9 adding new nsNNTPNewsgroupList and nsNNTPArticleList objects
git-svn-id: svn://10.0.0.236/trunk@17510 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-11 20:56:39 +00:00
alecf%netscape.com
aa16127a53 updated to add messenger-specific utility macros
git-svn-id: svn://10.0.0.236/trunk@17509 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-11 20:46:13 +00:00
despotdaemon%netscape.com
2d1e32ed00 Pseudo-automatic update of changes made by namachi@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@17508 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-11 20:22:11 +00:00
alecf%netscape.com
3198e5cd24 add error constant for mail/news
git-svn-id: svn://10.0.0.236/trunk@17507 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-11 20:15:17 +00:00
despotdaemon%netscape.com
03bcd515aa Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@17506 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-11 20:14:34 +00:00
sfraser%netscape.com
926558813f Added new debug menu items, changed menus to be more similar to windows viewer.
git-svn-id: svn://10.0.0.236/trunk@17505 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-11 19:46:49 +00:00
sfraser%netscape.com
23f1bb6ead Added a couple of NS_PRECONDITIONSs in the event listener functions.
git-svn-id: svn://10.0.0.236/trunk@17504 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-11 19:46:09 +00:00
rickg%netscape.com
ed9e1fe3f0 fixed part of style/script bug in new pasring engine
git-svn-id: svn://10.0.0.236/trunk@17503 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-11 19:45:28 +00:00
troy%netscape.com
4c4c2ea13a Fix for bug #2285. Just reseting the mFlags isn't enough, because the PaintBackground()
member function ignores the flags and checks for a non-empty URL. This way is safer and
should work in all cases


git-svn-id: svn://10.0.0.236/trunk@17502 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-11 19:44:22 +00:00
alecf%netscape.com
d4019b7169 updated to match new interfaces, and some general cleanup
git-svn-id: svn://10.0.0.236/trunk@17501 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-11 19:20:59 +00:00
alecf%netscape.com
a508a227d6 merge in XOVER parser
git-svn-id: svn://10.0.0.236/trunk@17500 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-11 19:17:19 +00:00
alecf%netscape.com
45107eea52 rename nsINNTPArticleKeysState to nsINNTPArticleList
git-svn-id: svn://10.0.0.236/trunk@17499 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-11 19:16:52 +00:00
alecf%netscape.com
8535ef0c3b newly generated files from updated XPIDL parser
git-svn-id: svn://10.0.0.236/trunk@17498 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-11 19:16:09 +00:00
alecf%netscape.com
910429eee7 MsgNewsHost has a newsgroupList associated with it.
git-svn-id: svn://10.0.0.236/trunk@17497 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-11 19:14:03 +00:00
alecf%netscape.com
7b40f21a57 merged XOVER parser back into nsINNTPNewsgroupList
git-svn-id: svn://10.0.0.236/trunk@17496 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-11 19:13:16 +00:00
buster%netscape.com
97e2d5d092 implemented joinNode. expect this and similar methods to move into editor.cpp
git-svn-id: svn://10.0.0.236/trunk@17495 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-11 19:06:37 +00:00
rickg%netscape.com
02460caff3 fixed bug 2284, and brought demo7 back online
git-svn-id: svn://10.0.0.236/trunk@17494 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-11 19:00:07 +00:00
alecf%netscape.com
4e0af9a7d4 use C++ mode in emacs
git-svn-id: svn://10.0.0.236/trunk@17493 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-11 18:38:00 +00:00
cls%seawood.org
e0ba8b09c6 No need to create a bogus library in the header dir.
git-svn-id: svn://10.0.0.236/trunk@17492 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-11 17:51:24 +00:00
shaver%netscape.com
63a3cae583 Update to (and require!) libIDL 0.5.8.
Fix silly argument processing brokenness.
Prepare for IDL_tree_to_IDL when it arrives.
Proper basename stuff for #ifdef __gen_nsIFoo_h__ and others.
Handle empty interfaces.
Dead code trimming (ident, etc.).
Typedef support, including arrays.
nsVarArgs instead of ... in C++ headers.
Fix #include scanning bug that caused pain when we skipped an include that
had already been processed.


git-svn-id: svn://10.0.0.236/trunk@17491 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-11 16:56:45 +00:00
rickg%netscape.com
160a996665 fixes to bugs 2272 and 2273
git-svn-id: svn://10.0.0.236/trunk@17490 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-11 07:40:11 +00:00
rickg%netscape.com
0e0363a6bd fixed bugs 625 and 1521
git-svn-id: svn://10.0.0.236/trunk@17489 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-11 07:14:42 +00:00
grail%cafebabe.org
9cd45bdc69 Added XML parsing to build menus and changed dependency on
grendel.ui.Splitter to javax.swing.JSplitPane.

TODO:
1. Need to get sizing information for immediate children components of
JSplitPane.
2. Externalize XML parsing to an external object to build more than just
menus. Dialogs, frames, etc. would be really cool.


git-svn-id: svn://10.0.0.236/trunk@17488 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-11 07:01:27 +00:00
talisman%anamorphic.com
3f045241f5 oops... fixed a mistake I made last time (talisman)
git-svn-id: svn://10.0.0.236/trunk@17487 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-11 04:01:35 +00:00
pavlov%pavlov.net
ea54ed3088 strikethrough now shows...
git-svn-id: svn://10.0.0.236/trunk@17486 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-11 00:54:15 +00:00
talisman%anamorphic.com
1adf3ddb71 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@17485 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-11 00:08:15 +00:00
despotdaemon%netscape.com
b9f8f12bdb Pseudo-automatic update of changes made by shaver@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@17484 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-10 23:31:01 +00:00
talisman%anamorphic.com
b01056fa69 General functionality and UI enhancements (global).
git-svn-id: svn://10.0.0.236/trunk@17483 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-10 22:31:08 +00:00
talisman%anamorphic.com
daf4c21cb2 New file - gives build instructions.
git-svn-id: svn://10.0.0.236/trunk@17482 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-10 22:29:35 +00:00
talisman%anamorphic.com
3888da36ad Added Spring, Collapsible, CollapsiblePanel to SRCS. Removed Util from SRCS (it's already in ui).
git-svn-id: svn://10.0.0.236/trunk@17481 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-10 22:17:04 +00:00
talisman%anamorphic.com
5f0317d1c2 Util.java really doesn't belong in widgets, since it's part of the ui package. Removed.
git-svn-id: svn://10.0.0.236/trunk@17480 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-10 22:16:00 +00:00
talisman%anamorphic.com
7fac94d0f4 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@17479 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-10 22:14:13 +00:00
talisman%anamorphic.com
271084ac71 Modified to correctly catch MessagingExceptions instead of re-throwing them.
git-svn-id: svn://10.0.0.236/trunk@17478 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-10 22:09:06 +00:00
talisman%anamorphic.com
788095d952 Changes to get the folder tree displaying along with the current folder's list of messages.
git-svn-id: svn://10.0.0.236/trunk@17477 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-10 22:02:57 +00:00
talisman%anamorphic.com
94b8ac7cfa Temporarily hacked around a SecurityException when null Authenticator passed. **IMPORTANT** we need to remember to put the authentication stuff back before making a real release.
git-svn-id: svn://10.0.0.236/trunk@17476 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-10 22:01:20 +00:00
talisman%anamorphic.com
db479a82dc General UI enhancements.
git-svn-id: svn://10.0.0.236/trunk@17475 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-10 21:57:56 +00:00
talisman%anamorphic.com
0001b16786 Minor modifications to get the message display working. Hacked in a JEditorPane to provide -very basic- html display capability.
git-svn-id: svn://10.0.0.236/trunk@17474 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-10 21:55:57 +00:00
talisman%anamorphic.com
c272181df5 Mods to get the folder tree displaying correctly.
git-svn-id: svn://10.0.0.236/trunk@17473 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-10 21:52:11 +00:00
talisman%anamorphic.com
11e25ec707 Changed NSToolbar references to GrendelToolBar, IUICmd changed to UIAction.
git-svn-id: svn://10.0.0.236/trunk@17472 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-10 21:49:40 +00:00
talisman%anamorphic.com
8057b8be8a General UI enhancements.
git-svn-id: svn://10.0.0.236/trunk@17471 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-10 21:48:15 +00:00
talisman%anamorphic.com
43027a66aa Got this displaying properly when we load a set of mail folders.
git-svn-id: svn://10.0.0.236/trunk@17470 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-10 21:46:34 +00:00
talisman%anamorphic.com
15bf4f2fdf Added target run and set up vars to handle CLASSPATH.
git-svn-id: svn://10.0.0.236/trunk@17469 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-10 21:40:31 +00:00
talisman%anamorphic.com
905c70b0f1 Added code to look for and create if necessary a mail dir and folder in the user's home dir. This will need some modification to address x-platform homedir issues.
git-svn-id: svn://10.0.0.236/trunk@17468 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-10 21:37:14 +00:00
pavlov%pavlov.net
649a36d0af allow nsWindow's to take focus. this should fix problem for editor people
git-svn-id: svn://10.0.0.236/trunk@17467 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-10 18:48:05 +00:00
rpotts%netscape.com
f82b442b3c Changed to use the EventQueue service rather than the PL_InitializeEventsLib() and GetMainEventQueue() apis...
git-svn-id: svn://10.0.0.236/trunk@17466 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-10 08:18:25 +00:00
rickg%netscape.com
f8fb00ca59 fixed bug in Compare() and error in ToInteger()
git-svn-id: svn://10.0.0.236/trunk@17465 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-10 08:17:40 +00:00
rpotts%netscape.com
f7f7d95b74 overhaul of the EventQueue service...
git-svn-id: svn://10.0.0.236/trunk@17464 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-10 08:12:01 +00:00
rickg%netscape.com
c1bb351fdc re-enabled viewsource
git-svn-id: svn://10.0.0.236/trunk@17463 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-10 05:39:13 +00:00
pavlov%pavlov.net
890b0592ba halfway fix the excessive GC problem. more work on resizing
git-svn-id: svn://10.0.0.236/trunk@17462 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-09 21:16:20 +00:00
talisman%anamorphic.com
9d1ff5c821 Layout manager for toolbars. A little rough, but it's a start.
git-svn-id: svn://10.0.0.236/trunk@17461 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-09 19:58:09 +00:00
pavlov%pavlov.net
fc2138096e Resizing works.... somewhat. More to come
git-svn-id: svn://10.0.0.236/trunk@17460 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-09 17:41:20 +00:00
despotdaemon%netscape.com
cf3a317e91 Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@17459 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-09 11:28:10 +00:00
talisman%anamorphic.com
a4be1febce Changed JToolBars to GrendelToolBars.
git-svn-id: svn://10.0.0.236/trunk@17458 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-09 08:44:30 +00:00
talisman%anamorphic.com
4aa2c5eea8 ImageIcon images for the CollapseButton.
git-svn-id: svn://10.0.0.236/trunk@17457 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-09 07:41:37 +00:00
talisman%anamorphic.com
8f8fa72183 Implements a component with no view but participates in layout - this is what
makes the Animation sit on the right-hand side of the toolbar panel.


git-svn-id: svn://10.0.0.236/trunk@17456 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-09 07:39:20 +00:00
talisman%anamorphic.com
1fecabe576 Subclass of JToolBar which has some convenience methods for layout.
git-svn-id: svn://10.0.0.236/trunk@17455 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-09 07:37:40 +00:00
talisman%anamorphic.com
70ee43eed4 Implementation of Collapsible interface. Provides collapsing toolbar behaviour.
May be useful for other collapsing items (if we make any).


git-svn-id: svn://10.0.0.236/trunk@17454 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-09 07:36:17 +00:00
talisman%anamorphic.com
1b18ab6a23 Interface which must be implemented for collapse behaviour.
git-svn-id: svn://10.0.0.236/trunk@17453 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-09 07:34:13 +00:00
talisman%anamorphic.com
6d919cbaef Added for class library version requirements.
git-svn-id: svn://10.0.0.236/trunk@17452 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-09 07:31:17 +00:00
talisman%anamorphic.com
ab86759584 Changed to add explicit CLASSPATH and some rule modification.
git-svn-id: svn://10.0.0.236/trunk@17451 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-09 07:27:54 +00:00
rpotts%netscape.com
f1bf3a2dfd Reworked the initialization of the PLEvent queue to use the new EventQueueService instead of calling PL_InitializeEventsLib(...)
git-svn-id: svn://10.0.0.236/trunk@17450 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-09 07:18:22 +00:00
grail%cafebabe.org
cb748a31e9 Code from Jeff to get ActionFactory and company all happy.
git-svn-id: svn://10.0.0.236/trunk@17449 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-09 06:06:14 +00:00
troy%netscape.com
73dcbfbee5 Hooked up marginwidth and marginheight attributes to change the 'margin'
property instead of the 'padding' property


git-svn-id: svn://10.0.0.236/trunk@17448 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-09 04:31:51 +00:00
grail%cafebabe.org
59023ea173 Old references to Orion, etc. ripped now. Replacements dropped it. It
compiles. Let the games begin.


git-svn-id: svn://10.0.0.236/trunk@17447 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-09 03:55:32 +00:00
mcmullen%netscape.com
b24197fa96 Fix for bug #2164. Balanced the NS_ADDREF and NS_RELEASE, which takes some doing, because it gets released in a module that did not add the reference (during Stop(), when all timers are released). This is bad design, methinks.
git-svn-id: svn://10.0.0.236/trunk@17446 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-09 02:47:34 +00:00
mcmullen%netscape.com
da1a7d5331 Remove illegal TextTxn:: within TextTxn class (this is illegal in C++ unless you have a nested class with the same name). This fixes Macintosh build bustage.
git-svn-id: svn://10.0.0.236/trunk@17445 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-09 02:41:35 +00:00
rickg%netscape.com
dfaa6e9b09 fixed unix build crash based on NS_DEBUG flag
git-svn-id: svn://10.0.0.236/trunk@17444 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-09 02:13:32 +00:00
kipp%netscape.com
36cc1ed161 Added in code from bug #1935 to improve auto-protocol handling on urls
git-svn-id: svn://10.0.0.236/trunk@17443 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-09 02:00:42 +00:00
rickg%netscape.com
192c334fda added htmlgeneration tool
git-svn-id: svn://10.0.0.236/trunk@17442 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-09 01:49:20 +00:00
troy%netscape.com
31fe96b5ba Turned off assert
git-svn-id: svn://10.0.0.236/trunk@17441 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-09 01:43:02 +00:00
dcone%netscape.com
9dd8a3d1db Added nsXMLTokenizer and nsHthmTokenizer
git-svn-id: svn://10.0.0.236/trunk@17440 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-09 01:20:52 +00:00
dcone%netscape.com
bda28e3c9e Changed include
git-svn-id: svn://10.0.0.236/trunk@17439 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-09 01:19:49 +00:00
dougt%netscape.com
4aebf56bff Added SilentDownload Preferences. Remove unused autoupdt.backgro*
git-svn-id: svn://10.0.0.236/trunk@17438 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-09 01:18:11 +00:00
dougt%netscape.com
f0390cbaba Added Byte-Range Support.
git-svn-id: svn://10.0.0.236/trunk@17437 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-09 01:16:40 +00:00
rickg%netscape.com
53ea652e5f merged parsertypes into nsIParser.h
git-svn-id: svn://10.0.0.236/trunk@17436 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-09 01:14:10 +00:00
rickg%netscape.com
977421c9eb sync up with mods to the parser
git-svn-id: svn://10.0.0.236/trunk@17435 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-09 01:11:37 +00:00
rickg%netscape.com
a8382eb7c5 modest improvements to string and deque
git-svn-id: svn://10.0.0.236/trunk@17434 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-09 01:09:39 +00:00
rickg%netscape.com
c8fc6237d4 A wad of changes to the parser. See my update
git-svn-id: svn://10.0.0.236/trunk@17433 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-09 01:09:02 +00:00
akkana%netscape.com
d67d163fe3 Add debug menu; see bug 2249
git-svn-id: svn://10.0.0.236/trunk@17432 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-09 00:35:19 +00:00
alecf%netscape.com
5e7d188dcb rename
nsIMsgNewsArticleList-> nsINNTPNewsgroupList
nsINNTPArticleKeysState -> nsINNTPArticleList


git-svn-id: svn://10.0.0.236/trunk@17431 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-09 00:29:21 +00:00
despotdaemon%netscape.com
4ba5317bfb Pseudo-automatic update of changes made by cyeh@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@17430 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-09 00:26:32 +00:00
despotdaemon%netscape.com
d273e05710 Pseudo-automatic update of changes made by cyeh@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@17429 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-09 00:24:50 +00:00
buster%netscape.com
be4b7d375b better code factoring, so split and join base methods can be reused
git-svn-id: svn://10.0.0.236/trunk@17428 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-09 00:24:48 +00:00
kipp%netscape.com
ab9a64b454 new
git-svn-id: svn://10.0.0.236/trunk@17427 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-09 00:18:08 +00:00
kipp%netscape.com
907e445ae7 Implement GetAreas; cleanup some whitespace; removed some out of date comments
git-svn-id: svn://10.0.0.236/trunk@17426 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-09 00:17:07 +00:00
kipp%netscape.com
71b47e4756 Removed a spurious Addref of an atom
git-svn-id: svn://10.0.0.236/trunk@17425 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-09 00:16:42 +00:00
alecf%netscape.com
4d41c9404b add nsINNTPArticleKeysState to the build
git-svn-id: svn://10.0.0.236/trunk@17424 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-09 00:16:41 +00:00
despotdaemon%netscape.com
148c970cbb Pseudo-automatic update of changes made by cyeh@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@17423 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-09 00:16:36 +00:00
kipp%netscape.com
375d1ffa3e Added some whitespace
git-svn-id: svn://10.0.0.236/trunk@17422 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-09 00:16:07 +00:00
kipp%netscape.com
b793ab7603 Reformatted a comment
git-svn-id: svn://10.0.0.236/trunk@17421 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-09 00:15:54 +00:00
alecf%netscape.com
96ea6b03e7 adding nsINNTPArticleKeysState for the first time - broke these three
methods out of nsIMsgNewsArticleList.idl


git-svn-id: svn://10.0.0.236/trunk@17420 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-09 00:15:46 +00:00
despotdaemon%netscape.com
5fe4fe9386 Pseudo-automatic update of changes made by cyeh@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@17419 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-09 00:15:20 +00:00
kipp%netscape.com
e14f3074db Store maps as nsIDOMHTMLMapElement instead of the obsolete nsIImageMap
git-svn-id: svn://10.0.0.236/trunk@17418 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-09 00:15:19 +00:00
kipp%netscape.com
eaf4ef5a49 Use dom content objects for map/area tags; add map to the content model
git-svn-id: svn://10.0.0.236/trunk@17417 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-09 00:14:53 +00:00
kipp%netscape.com
1e8f20f877 nuked
git-svn-id: svn://10.0.0.236/trunk@17416 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-09 00:14:17 +00:00
kipp%netscape.com
263cc7d9ae Removed a turd
git-svn-id: svn://10.0.0.236/trunk@17415 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-09 00:14:09 +00:00
kipp%netscape.com
4c2b7a7459 Reworked to use dom content objects for holding the raw map data and observering content changes and updating the 'compiled' map
git-svn-id: svn://10.0.0.236/trunk@17414 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-09 00:13:53 +00:00
kipp%netscape.com
43e27c5332 Use nsImageMap
git-svn-id: svn://10.0.0.236/trunk@17413 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-09 00:13:19 +00:00
kipp%netscape.com
c616a840d6 Changed over to using nsImageMap instead of nsIImageMap
git-svn-id: svn://10.0.0.236/trunk@17412 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-09 00:12:49 +00:00
kipp%netscape.com
180c1911ec Added new atom
git-svn-id: svn://10.0.0.236/trunk@17411 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-09 00:12:28 +00:00
despotdaemon%netscape.com
fe3c0c5b0f Pseudo-automatic update of changes made by cyeh@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@17410 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-09 00:11:48 +00:00
kipp%netscape.com
163cc2e69b Added defines and comments indicating which parts of the frames reflow state are reserved
git-svn-id: svn://10.0.0.236/trunk@17409 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-09 00:11:40 +00:00
kipp%netscape.com
60c4b45a54 Added missing forward decl of nsIAtom
git-svn-id: svn://10.0.0.236/trunk@17408 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-09 00:11:10 +00:00
despotdaemon%netscape.com
933341da74 Pseudo-automatic update of changes made by cyeh@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@17407 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-09 00:10:51 +00:00
despotdaemon%netscape.com
cc5514275a Pseudo-automatic update of changes made by cyeh@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@17406 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-09 00:07:41 +00:00
despotdaemon%netscape.com
9510d27748 Pseudo-automatic update of changes made by cyeh@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@17405 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-09 00:00:03 +00:00
despotdaemon%netscape.com
2348d08595 Pseudo-automatic update of changes made by cyeh@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@17404 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 23:59:05 +00:00
despotdaemon%netscape.com
ac31f2aef1 Pseudo-automatic update of changes made by cyeh@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@17403 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 23:55:40 +00:00
despotdaemon%netscape.com
f918a4d82b Pseudo-automatic update of changes made by cyeh@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@17402 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 23:53:20 +00:00
despotdaemon%netscape.com
fc5c6f3e0e Pseudo-automatic update of changes made by cyeh@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@17401 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 23:52:33 +00:00
despotdaemon%netscape.com
24921b08d0 Pseudo-automatic update of changes made by cyeh@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@17400 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 23:50:33 +00:00
despotdaemon%netscape.com
3a69773553 Pseudo-automatic update of changes made by cyeh@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@17399 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 23:42:48 +00:00
despotdaemon%netscape.com
cff2c2c582 Pseudo-automatic update of changes made by sudu@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@17398 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 23:16:01 +00:00
beard%netscape.com
588d9f328d Turned off call to NET_PollSockets() on XP_MAC, to fix link error, not really needed anyway.
git-svn-id: svn://10.0.0.236/trunk@17397 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 22:43:45 +00:00
mcmullen%netscape.com
6980f434b4 Renamed these, since everybody is calling it apprunner.
git-svn-id: svn://10.0.0.236/trunk@17396 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 22:35:47 +00:00
mcmullen%netscape.com
97fdad841c First Checked In.
git-svn-id: svn://10.0.0.236/trunk@17395 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 22:32:33 +00:00
mcmullen%netscape.com
ba184c3b57 Changed the name of XPAppViewer to apprunner, since that is what other platforms call it. Too many viewers spoil the broth.
git-svn-id: svn://10.0.0.236/trunk@17394 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 22:29:00 +00:00
wtc%netscape.com
c8cd5bfcd5 Bugzilla bug #2248: PR_ImportFile, PR_ImportTCPSocket, and
PR_ImportUDPSocket should initialize NSPR implicitly.  Thanks
to John McMullen <mcmullen@netscape.com> for the bug report
and fix.


git-svn-id: svn://10.0.0.236/trunk@17393 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 22:24:14 +00:00
dcone%netscape.com
a845fe996f Added splitelementtxn.cpp
git-svn-id: svn://10.0.0.236/trunk@17392 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 22:18:21 +00:00
buster%netscape.com
62f2a08600 SplitElementTxn implementation. Do only.
test with Control-S.


git-svn-id: svn://10.0.0.236/trunk@17391 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 22:16:22 +00:00
ftang%netscape.com
189d1720ed Ignore (NS_ERROR_FACTORY_EXISTS != res) return result
git-svn-id: svn://10.0.0.236/trunk@17390 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 22:02:41 +00:00
brade%netscape.com
2041e6a41f fix unnecessary ifdefs (and reduce Macintosh compiler warnings)
git-svn-id: svn://10.0.0.236/trunk@17389 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 21:53:11 +00:00
sfraser%netscape.com
c1c7c84e7d Fix for 2161 -- if nsView::GetViewFor() is called with a null widget, just return a null view.
git-svn-id: svn://10.0.0.236/trunk@17388 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 21:31:56 +00:00
joki%netscape.com
b39d75f877 Move focus shifting code from nsScrollingView.cpp to nsEventStateManager.cpp
git-svn-id: svn://10.0.0.236/trunk@17387 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 21:13:59 +00:00
radha%netscape.com
6324764a40 Use libwidgetgtk.so and libgfxgtk.so as default for WIDGET_DLL and
GFXWIN_DLL


git-svn-id: svn://10.0.0.236/trunk@17386 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 20:14:49 +00:00
radha%netscape.com
1eb75f8c27 Added TOOLKIT_CFLAGS to CFLAGS so that gtk/motif libraries are picked
up in nsSetupRegistry.cpp (for WIDGET_DLL and GFXWIN_DLL) based on what
MOZ_TOOLKIT is set to


git-svn-id: svn://10.0.0.236/trunk@17385 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 20:10:36 +00:00
wtc%netscape.com
b67bcf4843 Removed hardcoded AIX pathnames /usr/lpp/xlC from the makefiles,
because the new version of AIX xlC compilers (3.6.4) is installed
in a different directory (/usr/ibmcxx).


git-svn-id: svn://10.0.0.236/trunk@17384 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 19:51:14 +00:00
despotdaemon%netscape.com
a69758c914 Pseudo-automatic update of changes made by talisman@anamorphic.com.
git-svn-id: svn://10.0.0.236/trunk@17383 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 19:43:12 +00:00
karnaze%netscape.com
35bfe95ab7 dom table methods, moved align="char" data members from nsReflowState to nsHTMLReflowState
git-svn-id: svn://10.0.0.236/trunk@17382 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 18:57:40 +00:00
ftang%netscape.com
16dbd9c4a8 add unix makefile
git-svn-id: svn://10.0.0.236/trunk@17381 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 18:57:27 +00:00
ftang%netscape.com
89572dc342 add Makefile to call uconv
git-svn-id: svn://10.0.0.236/trunk@17380 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 18:55:54 +00:00
ftang%netscape.com
c58abca41f add directory description
git-svn-id: svn://10.0.0.236/trunk@17379 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 18:36:17 +00:00
despotdaemon%netscape.com
a328928280 Pseudo-automatic update of changes made by shaver@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@17378 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 17:25:29 +00:00
pavlov%pavlov.net
962ae76bc0 use GDK bit stuff for the alt/ctrl/shift mods
git-svn-id: svn://10.0.0.236/trunk@17377 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 15:55:52 +00:00
pavlov%pavlov.net
c8813f8fc8 remove unused code. fixed underlining.
git-svn-id: svn://10.0.0.236/trunk@17376 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 15:51:46 +00:00
ramiro%netscape.com
990a41d5fe Added view source ('cos it works!), fixed typo in Tools.
Thanks to Steve Morrison <smorrison@gte.com> for the patch.


git-svn-id: svn://10.0.0.236/trunk@17375 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 15:19:29 +00:00
pierre%netscape.com
ca37b268f7 Fixed bug in SetPosition. Thanks to Cyrus Harmon <cyrus@neomorphic.com>
git-svn-id: svn://10.0.0.236/trunk@17374 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 05:36:06 +00:00
val4%cornell.edu
9c3d464503 Even more error handling stuff. Will need to go thru the
file and double-check all error handlers.


git-svn-id: svn://10.0.0.236/trunk@17373 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 04:58:34 +00:00
troy%netscape.com
4ccdea739f Added support for 'right' and 'bottom' properties. Changed to using a
nsStyleSides struct to hold all the offsets


git-svn-id: svn://10.0.0.236/trunk@17372 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 04:47:46 +00:00
pierre%netscape.com
6a8ebab58d bumped up the memory partition of the optimized target to 10Mb
git-svn-id: svn://10.0.0.236/trunk@17371 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 03:53:59 +00:00
sfraser%netscape.com
092a294bbc Hack so that keycodes are returned on Mac (again! Buster wiped it out).
git-svn-id: svn://10.0.0.236/trunk@17370 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 03:39:55 +00:00
wtc%netscape.com
5d6d168bed The lm argument for _PR_SetLogModuleLevel is
shadowed by a local variable by the same name.  Rewrote the code to
make it more clear.  Thanks to Kathy Brade <brade@netscape.com> for
reporting this bug.


git-svn-id: svn://10.0.0.236/trunk@17369 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 03:38:51 +00:00
sfraser%netscape.com
fbe2455d8d Add SIOUX event handling in debug mode. Also remove a couple of unnecessary #defines and use the Universal Header versions.
git-svn-id: svn://10.0.0.236/trunk@17368 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 03:29:39 +00:00
sfraser%netscape.com
67f1bd08f8 Change 'memory' include to search in system path
git-svn-id: svn://10.0.0.236/trunk@17367 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 03:28:47 +00:00
sfraser%netscape.com
6c72708d72 Call SIOUX initialization in debug mode
git-svn-id: svn://10.0.0.236/trunk@17366 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 03:27:57 +00:00
sfraser%netscape.com
39eb289850 Add SIOUX initialization routine
git-svn-id: svn://10.0.0.236/trunk@17365 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 03:27:22 +00:00
sfraser%netscape.com
20a2c4f432 Added SIOUX files in the debug target, and made a new debug target with console stubs. Also turned on PPC struct alignment in all targets.
git-svn-id: svn://10.0.0.236/trunk@17364 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 03:26:55 +00:00
sfraser%netscape.com
d1c8376449 Change to use regular prefix configuration
git-svn-id: svn://10.0.0.236/trunk@17363 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 03:26:09 +00:00
sfraser%netscape.com
f81fc2c840 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@17362 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 03:25:16 +00:00
wtc%netscape.com
b7f7196be3 md/_pth.h should be included after pthread.h.
git-svn-id: svn://10.0.0.236/trunk@17361 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 03:15:21 +00:00
sfraser%netscape.com
19ed51c4e1 Fix the damn asserts
git-svn-id: svn://10.0.0.236/trunk@17360 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 03:15:15 +00:00
troy%netscape.com
06af02477c Fix for bug #2040. Changed BODY to use margin and not padding now that #2054 is fixed
git-svn-id: svn://10.0.0.236/trunk@17359 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 02:51:07 +00:00
val4%cornell.edu
c60139781d More error handling code
git-svn-id: svn://10.0.0.236/trunk@17358 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 02:37:38 +00:00
val4%cornell.edu
beb1e2a4bd Some additional error messages
git-svn-id: svn://10.0.0.236/trunk@17357 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 02:03:43 +00:00
val4%cornell.edu
939e901bce *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@17356 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 02:03:09 +00:00
cls%seawood.org
edf72c7977 Explicitly cast pToolbarWindow to nsIWidget * to unconfuse old compilers.
git-svn-id: svn://10.0.0.236/trunk@17355 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 01:43:32 +00:00
buster%netscape.com
29389f0fcd fixed an uninitialized pointer problem
ctrl-ins appends an HR to the BODY


git-svn-id: svn://10.0.0.236/trunk@17354 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 01:41:34 +00:00
buster%netscape.com
136be95fe1 implemented do and undo for CreateElement
the test is INS key, it adds an HR


git-svn-id: svn://10.0.0.236/trunk@17353 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 01:30:53 +00:00
despotdaemon%netscape.com
d701b6973a Pseudo-automatic update of changes made by amusil@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@17352 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 01:21:12 +00:00
troy%netscape.com
cf5cfbf04e Fix for bug #2054. If the HTML element's background is 'transparent' then it
uses the BODY's background property


git-svn-id: svn://10.0.0.236/trunk@17351 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 01:14:59 +00:00
troy%netscape.com
18a677af22 Added BackgroundIsTransparent() member function to nsStyleColor
git-svn-id: svn://10.0.0.236/trunk@17350 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 01:13:34 +00:00
ftang%netscape.com
ca13a5ef65 change add the DLL name for Mac and UNIX and add placeholder for planned converters
git-svn-id: svn://10.0.0.236/trunk@17349 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 01:03:24 +00:00
leaf%mozilla.org
19dedb1939 mozilla/intl added per frank tang's request
git-svn-id: svn://10.0.0.236/trunk@17348 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 00:50:44 +00:00
ftang%netscape.com
72350d066b move to intl/unicharutil
git-svn-id: svn://10.0.0.236/trunk@17347 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 00:43:25 +00:00
ftang%netscape.com
87e2a4b54b move into intl/unicharutil
git-svn-id: svn://10.0.0.236/trunk@17346 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 00:42:14 +00:00
rpotts%netscape.com
0f2cf4f48b bug #2227 - NSPR is not being implicitly initialized when PR_CEnterMonitor() is called. This hack should be removed when NSPR is fixed.
git-svn-id: svn://10.0.0.236/trunk@17345 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 00:38:56 +00:00
ftang%netscape.com
a0b5009a3a move these into intl/unicharutil
git-svn-id: svn://10.0.0.236/trunk@17344 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 00:38:14 +00:00
ftang%netscape.com
838649dfee move these files to intl/unicharutil
git-svn-id: svn://10.0.0.236/trunk@17343 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 00:34:07 +00:00
rpotts%netscape.com
a706077c61 Bug fix from Davide Pasetto (dipo@sis.it) for nsWebShell::Init(...). I Also changed a bunch of checks against NS_OK to use the NS_SUCCEEDED() and NS_FAILED() macros...
git-svn-id: svn://10.0.0.236/trunk@17342 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 00:32:55 +00:00
wtc%netscape.com
1b15d81f48 Bugzilla bug #2227: PR_CEnterMonitor should initialize NSPR implicitly.
git-svn-id: svn://10.0.0.236/trunk@17341 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 00:31:15 +00:00
terry%netscape.com
79a67545f4 Oops; removed debugging printf.
git-svn-id: svn://10.0.0.236/trunk@17340 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 00:27:56 +00:00
terry%netscape.com
21aa4a2f9a Netscape has changed the way its internal LDAP is set up.
git-svn-id: svn://10.0.0.236/trunk@17339 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 00:27:15 +00:00
ftang%netscape.com
8b9aea19d5 move from modules into intl
git-svn-id: svn://10.0.0.236/trunk@17338 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 00:26:45 +00:00
ftang%netscape.com
d7c9639cc1 move from modules into intl
git-svn-id: svn://10.0.0.236/trunk@17337 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 00:20:08 +00:00
jband%netscape.com
bcf50862d1 calling XPCOM method from JS with two int params using hardcoded InterfaceInfo
git-svn-id: svn://10.0.0.236/trunk@17336 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-07 23:36:07 +00:00
despotdaemon%netscape.com
bd43b6a25d Pseudo-automatic update of changes made by grail@cafebabe.org.
git-svn-id: svn://10.0.0.236/trunk@17335 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-07 23:30:20 +00:00
terry%netscape.com
fa8e52aa86 Throw some freshmeat into the fray.
git-svn-id: svn://10.0.0.236/trunk@17334 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-07 23:21:44 +00:00
terry%netscape.com
7f62da4f83 Whoops. Do things in a better order, so we don't have uninitialized
variables.


git-svn-id: svn://10.0.0.236/trunk@17333 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-07 22:42:42 +00:00
dcone%netscape.com
21da573629 Added createelementtxn.cpp
git-svn-id: svn://10.0.0.236/trunk@17332 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-07 22:40:21 +00:00
buster%netscape.com
32c39f7e29 create element transaction WIP
git-svn-id: svn://10.0.0.236/trunk@17331 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-07 22:36:23 +00:00
terry%netscape.com
01e98927ec Tracks stocks, too.
git-svn-id: svn://10.0.0.236/trunk@17330 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-07 22:33:01 +00:00
waterson%netscape.com
05147c382f Made the aCopy parameter to nsString::Insert const to clear up some compiler warnings. a=rickg.
git-svn-id: svn://10.0.0.236/trunk@17329 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-07 22:19:57 +00:00
akkana%netscape.com
b29533962b Remove erroneous NOT_IMPLEMENTED return
git-svn-id: svn://10.0.0.236/trunk@17327 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-07 21:06:43 +00:00
akkana%netscape.com
005795626a 1965: Fix mouse-down events
git-svn-id: svn://10.0.0.236/trunk@17326 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-07 21:06:21 +00:00
law%netscape.com
bca7c818e7 Added new interface header; not yet building it
git-svn-id: svn://10.0.0.236/trunk@17325 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-07 21:04:21 +00:00
donm%netscape.com
cc8882b870 fixing includes for solaris. -donm
git-svn-id: svn://10.0.0.236/trunk@17324 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-07 21:03:42 +00:00
mcafee%netscape.com
b27f2edc57 Variable had wrong type (1229), thanks to tor@cs.brown.edu
git-svn-id: svn://10.0.0.236/trunk@17323 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-07 20:14:34 +00:00
waterson%netscape.com
5c782392db Use root node of LocalStore.rdf as the tree control's root. Added bookmarks data source to the DB.
git-svn-id: svn://10.0.0.236/trunk@17322 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-07 18:44:12 +00:00
waterson%netscape.com
a42211ad52 Fixed namespace stuff, added column info, added bookmarks data store.
git-svn-id: svn://10.0.0.236/trunk@17321 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-07 18:43:39 +00:00
waterson%netscape.com
d4089c1822 Put namespaces back (bug was in LocalStore.rdf). Fixed some bugs with RDF containers.
git-svn-id: svn://10.0.0.236/trunk@17320 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-07 18:43:03 +00:00
waterson%netscape.com
c3621304cb Un-hardcoded column info. This is now provided by a resource: RDF file (like LocalStore.rdf).
git-svn-id: svn://10.0.0.236/trunk@17319 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-07 18:42:14 +00:00
ftang%netscape.com
9e46d5912f add ATSUI hack. This hack could be turn off by comment out the
#define USE_ATSUI_HACK 

line.


git-svn-id: svn://10.0.0.236/trunk@17318 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-07 18:27:09 +00:00
ftang%netscape.com
e8296305ec add weak link to ATSUnicodeLib
git-svn-id: svn://10.0.0.236/trunk@17317 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-07 18:24:42 +00:00
dcone%netscape.com
ba58676aea Added deletettexttxn.cpp
git-svn-id: svn://10.0.0.236/trunk@17316 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-07 18:01:38 +00:00
buster%netscape.com
9a53de3e33 support for DeleteTextTxn, backspace and delete
git-svn-id: svn://10.0.0.236/trunk@17315 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-07 17:58:15 +00:00
buster%netscape.com
2659c27999 use base class Redo
git-svn-id: svn://10.0.0.236/trunk@17314 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-07 17:57:57 +00:00
buster%netscape.com
5bab9ec73f make Redo call Do by default
git-svn-id: svn://10.0.0.236/trunk@17313 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-07 17:57:16 +00:00
buster%netscape.com
7a9a74ed4f Delete Text Transaction initial implementation
git-svn-id: svn://10.0.0.236/trunk@17312 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-07 17:56:20 +00:00
dcone%netscape.com
90d8b8bcc8 Continued work on the Postscript Device and RenderingContexts.
Removed unessisary file, factory is not needed.


git-svn-id: svn://10.0.0.236/trunk@17311 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-07 14:50:53 +00:00
rpotts%netscape.com
4a5911d416 Changes for the new EventQueueService...
git-svn-id: svn://10.0.0.236/trunk@17309 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-07 07:47:25 +00:00
rpotts%netscape.com
90711db7da Changed over to the EventQueueService...
git-svn-id: svn://10.0.0.236/trunk@17308 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-07 07:15:02 +00:00
rpotts%netscape.com
ae0b875228 Added some null ptr tests to net new EventQueueService code...
git-svn-id: svn://10.0.0.236/trunk@17307 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-07 07:06:59 +00:00
troy%netscape.com
d1d8c0129f Changed to handle FrameRemoved reflow command for an absolutely positioned
child frame


git-svn-id: svn://10.0.0.236/trunk@17306 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-07 05:46:26 +00:00
waterson%netscape.com
e08cbc29b4 Added some comments to call out potential funkiness.
git-svn-id: svn://10.0.0.236/trunk@17305 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-07 05:29:31 +00:00
jband%netscape.com
50fff54810 int constants accessible from JS using hardcoded InterfaceInfo
git-svn-id: svn://10.0.0.236/trunk@17304 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-07 05:18:09 +00:00
troy%netscape.com
f1e9e67f66 Changed ContentRemoved() to also generate a reflow command for the placeholder
for an absolutely positioned frame. Also made sure the child list name is
properly set for the reflow command for the absolutely positioned frame


git-svn-id: svn://10.0.0.236/trunk@17303 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-07 05:03:53 +00:00
troy%netscape.com
0e2a9c299a Fixed FindFrameWithContent() to do a better job of recognizing placeholder
frames and skipping them


git-svn-id: svn://10.0.0.236/trunk@17302 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-07 04:47:43 +00:00
val4%cornell.edu
44f1a3899a Some fixes for native files. This shouldn't probably become exposed in the API...
Root.parent now should return null. A problem with mkdir fixed.


git-svn-id: svn://10.0.0.236/trunk@17301 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-07 04:41:20 +00:00
val4%cornell.edu
0e5fc4af58 Some pretty significant changes in terms of native file support, changed if(file->handle)
by if(file->isNative), etc. Made handle/nativehandle a union.  Added some warnings.


git-svn-id: svn://10.0.0.236/trunk@17300 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-07 04:17:23 +00:00
jband%netscape.com
401c294965 more stuff that doesn't yet work
git-svn-id: svn://10.0.0.236/trunk@17299 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-07 03:49:40 +00:00
despotdaemon%netscape.com
10ba72ee76 Pseudo-automatic update of changes made by kostello@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@17298 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-07 03:37:12 +00:00
mscott%netscape.com
b7692cd816 Don't try to build the test directory until we get something in there.
git-svn-id: svn://10.0.0.236/trunk@17297 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-07 03:35:32 +00:00
mscott%netscape.com
cd16235799 More changes to the nsProtocol stuff. Added initialization and a SendData method for writing to the output stream.
git-svn-id: svn://10.0.0.236/trunk@17296 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-07 03:34:10 +00:00
sfraser%netscape.com
6a67e54d34 Export the NSGetFactory method
git-svn-id: svn://10.0.0.236/trunk@17295 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-07 03:14:22 +00:00
sfraser%netscape.com
d86ab8df3a Added nsEventQueueService.cpp and nsXPComFactory.cpp
git-svn-id: svn://10.0.0.236/trunk@17294 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-07 03:14:02 +00:00
mscott%netscape.com
8fed1cb898 Build nsNNTPProtocol.
git-svn-id: svn://10.0.0.236/trunk@17293 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-07 02:49:23 +00:00
mscott%netscape.com
f860441730 Some core definitions that are pertinent only to our NNTP protocol implementation.
git-svn-id: svn://10.0.0.236/trunk@17292 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-07 02:48:51 +00:00
buster%netscape.com
061ed664e2 just documentation
git-svn-id: svn://10.0.0.236/trunk@17291 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-07 02:16:10 +00:00
mcmullen%netscape.com
4272dc5b57 Fix unused parameter warning.
git-svn-id: svn://10.0.0.236/trunk@17290 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-07 02:11:24 +00:00
kipp%netscape.com
64065d7a6d Applied patch from bug #1988 to improve the open-file dialog
git-svn-id: svn://10.0.0.236/trunk@17289 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-07 02:06:44 +00:00
kipp%netscape.com
3457e843ef Make it compile on windows
git-svn-id: svn://10.0.0.236/trunk@17288 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-07 01:46:22 +00:00
wtc%netscape.com
7d15051ae1 On AIX, removed the pthread_mutexattr_setkind_np call. The man page
says this function is provided only for compatibility with the DCE
threads and should not be used when writing new applications.


git-svn-id: svn://10.0.0.236/trunk@17287 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-07 01:33:57 +00:00
buster%netscape.com
67411e2c56 added InsertTextTxn.cpp
git-svn-id: svn://10.0.0.236/trunk@17286 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-07 01:28:34 +00:00
cata%netscape.com
f5e08862ab first check in unicode converter. Didn't build on Mac/UNIX yet. Didn't hookup with main
build process yet.


git-svn-id: svn://10.0.0.236/trunk@17285 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-07 01:23:22 +00:00
sfraser%netscape.com
d371d9c561 Added InsertTextTxn.cpp
git-svn-id: svn://10.0.0.236/trunk@17284 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-07 01:17:48 +00:00
sfraser%netscape.com
f2486eab07 Hack so that keycodes are returned on Mac
git-svn-id: svn://10.0.0.236/trunk@17283 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-07 01:17:20 +00:00
wtc%netscape.com
72f4b595ff Replaced the obsolete NSPR10-compatibility macros PR_LOG_DEFINE,
PR_LOG_BEGIN, and PR_LOG_END by their NSPR20 equivalents.


git-svn-id: svn://10.0.0.236/trunk@17282 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-07 01:08:00 +00:00
leaf%mozilla.org
436fa33c47 adding files in new directory
git-svn-id: svn://10.0.0.236/trunk@17281 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-07 01:07:03 +00:00
buster%netscape.com
9ead1505eb support for inserting text
git-svn-id: svn://10.0.0.236/trunk@17280 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-07 01:02:32 +00:00
buster%netscape.com
e617861340 support for removing attributes
git-svn-id: svn://10.0.0.236/trunk@17279 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-07 01:02:16 +00:00
karnaze%netscape.com
a7ffffa54d Preliminary changes to support align="char"
git-svn-id: svn://10.0.0.236/trunk@17278 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-07 01:00:07 +00:00
mscott%netscape.com
4f09c07271 Changing nsMsgCID.h to nsMsgBaseCID.h
git-svn-id: svn://10.0.0.236/trunk@17277 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-07 00:33:01 +00:00
guha%netscape.com
a95c4613a5 add nsIRDFHistory.h. Not yet in the make system
git-svn-id: svn://10.0.0.236/trunk@17276 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-07 00:01:44 +00:00
coop%netscape.com
52428363a1 Added binary file open as first step for creating typelib files.
git-svn-id: svn://10.0.0.236/trunk@17275 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 23:47:45 +00:00
mcmullen%netscape.com
67a2f24b86 Added a directory iterator class. Added canonification and recursive directory creation, and some other handy methods. Eventual goal: replace xp_file.h entirely.
git-svn-id: svn://10.0.0.236/trunk@17274 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 23:38:21 +00:00
locka%iol.ie
507c25df08 Fixed a problem with the default impl of GetClientSite
Added basic printer support


git-svn-id: svn://10.0.0.236/trunk@17273 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 22:38:24 +00:00
dcone%netscape.com
b9cd95595d added 2 files
nsImageInspectorDialog.cpp
nsTableInspectorDialog.cpp


git-svn-id: svn://10.0.0.236/trunk@17272 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 22:29:42 +00:00
coop%netscape.com
abf7eb5b73 Updated struc for ParamDescriptor
git-svn-id: svn://10.0.0.236/trunk@17271 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 22:07:16 +00:00
rods%netscape.com
416493c71f initial
git-svn-id: svn://10.0.0.236/trunk@17270 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 22:04:35 +00:00
rods%netscape.com
120d150a31 Added Table and Image Inspectors
git-svn-id: svn://10.0.0.236/trunk@17269 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 21:59:17 +00:00
mscott%netscape.com
ac699b3ffc More work on generating a nsNNTPProtocol instance.
git-svn-id: svn://10.0.0.236/trunk@17268 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 21:44:28 +00:00
terry%netscape.com
58ee54a3dc troy now owns layout.
git-svn-id: svn://10.0.0.236/trunk@17267 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 21:41:47 +00:00
ftang%netscape.com
0b95515322 Check in the pre build table based on UCDATA 1.9 and UnicodeData-2.1.8.txt
git-svn-id: svn://10.0.0.236/trunk@17266 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 21:28:12 +00:00
ftang%netscape.com
2a0dbb2a26 change make file so it will not automatic generate those dat file but have to do it with an table option
git-svn-id: svn://10.0.0.236/trunk@17265 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 21:27:04 +00:00
akkana%netscape.com
a846609e45 Fix Linux build
git-svn-id: svn://10.0.0.236/trunk@17264 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 21:18:47 +00:00
ftang%netscape.com
dff2d0d4ba add compiled data table based on UCDATA 1.9 and UnicodeData-2.1.5.txt
git-svn-id: svn://10.0.0.236/trunk@17263 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 20:57:02 +00:00
sfraser%netscape.com
e0e4d6b1c0 Added ChangeAttributeTxn.cpp and EditTxn.cpp
git-svn-id: svn://10.0.0.236/trunk@17262 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 20:34:04 +00:00
guha%netscape.com
63306ff75b try adding the resources again
git-svn-id: svn://10.0.0.236/trunk@17261 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 20:33:42 +00:00
sfraser%netscape.com
153c332fcd Change the fragment name from PLUGIN_DLL (???) to viewer
git-svn-id: svn://10.0.0.236/trunk@17260 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 20:32:45 +00:00
sfraser%netscape.com
97484d58c5 Fix the DLL name ENDER_DLL on Mac, and take out the #ifndef XP_MAC around the RegisterFactory for Ender. Also change XPCOM.DLL to XPCOM_DLL on Mac.
git-svn-id: svn://10.0.0.236/trunk@17259 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 20:32:11 +00:00
akkana%netscape.com
11d99751e8 Build EditTxn and ChangeAttributeTxn
git-svn-id: svn://10.0.0.236/trunk@17258 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 20:31:30 +00:00
buster%netscape.com
eaa343fa75 use Ender as the test editor
git-svn-id: svn://10.0.0.236/trunk@17257 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 20:31:08 +00:00
buster%netscape.com
88f1265869 attribute support
git-svn-id: svn://10.0.0.236/trunk@17256 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 20:30:35 +00:00
sfraser%netscape.com
79143d22b7 Fix the fragment name (change from xpcom to XPCOM_DLL)
git-svn-id: svn://10.0.0.236/trunk@17255 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 20:30:17 +00:00
buster%netscape.com
418dc949ad ChangedAttributeTxn implementation
base class EditTxn implementation


git-svn-id: svn://10.0.0.236/trunk@17254 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 20:30:13 +00:00
sfraser%netscape.com
c87bdac8bb File Removed.
git-svn-id: svn://10.0.0.236/trunk@17253 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 20:29:56 +00:00
buster%netscape.com
5ca13143ec support for ChangeAttributeTxn
git-svn-id: svn://10.0.0.236/trunk@17252 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 20:29:11 +00:00
guha%netscape.com
d77aae8c04 add some resources
git-svn-id: svn://10.0.0.236/trunk@17251 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 20:26:54 +00:00
brade%netscape.com
5ff262029e reduce compiler warnings on Macintosh by adding comparisons in while loops (around assignments)
git-svn-id: svn://10.0.0.236/trunk@17250 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 20:00:56 +00:00
brade%netscape.com
a360db05aa added #include and removed extra copy of prototype
git-svn-id: svn://10.0.0.236/trunk@17249 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 19:58:01 +00:00
brade%netscape.com
0b8f2a8127 reduce Macintosh compiler warnings by making function static/private
git-svn-id: svn://10.0.0.236/trunk@17248 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 19:55:57 +00:00
harishd%netscape.com
64fff4508d Added code to take care of CSS properties
that wouldn't allow negative values.


git-svn-id: svn://10.0.0.236/trunk@17247 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 19:25:25 +00:00
brade%netscape.com
1e8cf12dc5 reduce Macintosh compiler warnings by adding prototype
git-svn-id: svn://10.0.0.236/trunk@17246 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 18:53:59 +00:00
brade%netscape.com
e48babd69b reduce Macintosh compiler warnings byadding prototype
git-svn-id: svn://10.0.0.236/trunk@17245 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 18:52:58 +00:00
brade%netscape.com
c4842cd1a6 reduce Macintosh compiler warnings by making function static/private
git-svn-id: svn://10.0.0.236/trunk@17244 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 18:51:16 +00:00
brade%netscape.com
2ee0c72d8a reduce Macintosh compiler warnings by removing extra ,
git-svn-id: svn://10.0.0.236/trunk@17243 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 18:50:09 +00:00
brade%netscape.com
428d7418f0 reduce Macintosh compiler warnings by removing extra ;
git-svn-id: svn://10.0.0.236/trunk@17242 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 18:49:37 +00:00
brade%netscape.com
a4b6caedf2 reduce Macintosh compiler warnings by making functions static/private
git-svn-id: svn://10.0.0.236/trunk@17241 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 18:45:28 +00:00
brade%netscape.com
e1d099f21d reduce Macintosh compiler warnings by adding prototype
git-svn-id: svn://10.0.0.236/trunk@17240 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 18:44:59 +00:00
brade%netscape.com
5aed3ae866 reduce Macintosh compiler warnings by making function private
git-svn-id: svn://10.0.0.236/trunk@17239 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 18:43:39 +00:00
brade%netscape.com
2ff2921c1f reduce Macintosh compiler warnings by making functions private
git-svn-id: svn://10.0.0.236/trunk@17238 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 18:43:18 +00:00
brade%netscape.com
bde250680b reduce Macintosh compiler warnings by adding static to private function
git-svn-id: svn://10.0.0.236/trunk@17237 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 18:41:05 +00:00
brade%netscape.com
e4f050d6fc reduce Macintosh compiler warnings by adding prototypes
git-svn-id: svn://10.0.0.236/trunk@17236 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 18:39:52 +00:00
brade%netscape.com
c89f14f6ea reduce Macintosh compiler warnings by adding prototypes or making functions private
git-svn-id: svn://10.0.0.236/trunk@17235 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 18:38:54 +00:00
guha%netscape.com
ddb1eb942d More on the alloy prototype
git-svn-id: svn://10.0.0.236/trunk@17234 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 17:38:37 +00:00
vidur%netscape.com
beecca57f1 Fix for bug 1823. Added a toString method to the location object
git-svn-id: svn://10.0.0.236/trunk@17233 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 17:22:34 +00:00
despotdaemon%netscape.com
4158028b3d Pseudo-automatic update of changes made by brendan@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@17232 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 04:46:20 +00:00
despotdaemon%netscape.com
2c8b3e5c73 Pseudo-automatic update of changes made by brendan@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@17231 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 04:45:01 +00:00
troy%netscape.com
a058dad22b This time I think I got 'em in alphabetical order...
git-svn-id: svn://10.0.0.236/trunk@17230 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 04:41:47 +00:00
troy%netscape.com
58557ba9cd Did a better job of alphabetizing the source files
git-svn-id: svn://10.0.0.236/trunk@17229 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 04:39:33 +00:00
despotdaemon%netscape.com
58fad32972 Pseudo-automatic update of changes made by buster@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@17228 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 04:23:49 +00:00
despotdaemon%netscape.com
c305f0f5f8 Pseudo-automatic update of changes made by brendan@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@17227 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 04:00:49 +00:00
troy%netscape.com
c1acead14f Renamed nsFRameReflowState.cpp to nsHTMLReflowState.cpp
git-svn-id: svn://10.0.0.236/trunk@17226 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 03:46:55 +00:00
pavlov%pavlov.net
e63ac30622 finish menu code. thanks brad roberts <braddr@puremagic.com>
git-svn-id: svn://10.0.0.236/trunk@17225 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 02:54:04 +00:00
val4%cornell.edu
cf9125f987 Done going through the code! Now will need to add error handling,
tests, security.


git-svn-id: svn://10.0.0.236/trunk@17224 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 02:51:26 +00:00
val4%cornell.edu
d513985ecf Almost done with jsfile.c corrections, error handling, etc.
This version will compile but may not run.


git-svn-id: svn://10.0.0.236/trunk@17223 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 02:30:27 +00:00
vidur%netscape.com
14d3e56b03 Reverted temporary getAttribute/setAttribute fix
git-svn-id: svn://10.0.0.236/trunk@17222 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 02:26:43 +00:00
mcmullen%netscape.com
0497c7b872 As requested by Troy, added nsHTMLReflowState.cpp and removed nsFrameReflowState.cpp
git-svn-id: svn://10.0.0.236/trunk@17221 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 02:16:46 +00:00
pavlov%pavlov.net
68093fb37c remove debugging comment
git-svn-id: svn://10.0.0.236/trunk@17220 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 02:06:00 +00:00
vidur%netscape.com
2b6ecb6aa8 Fixed bug 1956. Generic jsval to nsISupports conversion routine checks for valid object.
git-svn-id: svn://10.0.0.236/trunk@17219 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 02:05:25 +00:00
ftang%netscape.com
9a8deed063 add files from UCDATA 1.9
git-svn-id: svn://10.0.0.236/trunk@17218 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 01:46:32 +00:00
jband%netscape.com
3b85fc3f20 added header comment
git-svn-id: svn://10.0.0.236/trunk@17217 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 01:42:11 +00:00
jband%netscape.com
e445b044dd Added primitive Win32 invoker. cleaned up a lot of trailing whitespace
git-svn-id: svn://10.0.0.236/trunk@17216 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 01:31:51 +00:00
peterl%netscape.com
dddd2fbded added GetStyleImpact
cleaned up api


git-svn-id: svn://10.0.0.236/trunk@17215 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 01:25:39 +00:00
peterl%netscape.com
4ebd31d6c5 fixed namespace used for attributes via the DOM apis
capture style hint data when setting style attribute


git-svn-id: svn://10.0.0.236/trunk@17214 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 01:24:49 +00:00
peterl%netscape.com
8d0ffda037 changed DOM attribute methods to return the return value from the underlying attribute mechanism
git-svn-id: svn://10.0.0.236/trunk@17213 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 01:20:54 +00:00
vidur%netscape.com
8bfeeda06f Fix for bug 1954. Cloned text nodes (and comments) carry along the original data
git-svn-id: svn://10.0.0.236/trunk@17212 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 00:57:17 +00:00
troy%netscape.com
6f4a4cca87 Fixed a problem with the pull_nglayout rule being recursively defined
git-svn-id: svn://10.0.0.236/trunk@17211 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 00:42:05 +00:00
terry%netscape.com
b07273385d karnaze now owns tables.
git-svn-id: svn://10.0.0.236/trunk@17209 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 00:35:24 +00:00
pavlov%pavlov.net
994fabcba7 fix menus.
git-svn-id: svn://10.0.0.236/trunk@17208 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 00:34:50 +00:00
vidur%netscape.com
0908ebd261 Work in progres to get out-of-line document.write working. Created Reset() method in nsDocument. Fix for bug 1668.
git-svn-id: svn://10.0.0.236/trunk@17207 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 00:32:41 +00:00
despotdaemon%netscape.com
d8242b7b6e Pseudo-automatic update of changes made by evaughan@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@17206 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 00:28:50 +00:00
harishd%netscape.com
ee030ba487 Added type ( test/css ) checking for STYLE tag
git-svn-id: svn://10.0.0.236/trunk@17205 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 00:19:46 +00:00
warren%netscape.com
c6ffa614fd Added check for null.
git-svn-id: svn://10.0.0.236/trunk@17204 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 00:06:14 +00:00
warren%netscape.com
7d4466c45a Added error checking.
git-svn-id: svn://10.0.0.236/trunk@17203 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 00:05:29 +00:00
kmcclusk%netscape.com
2a00ad3de1 Defaultchecked attribute is set to match the checked attribute just after
the radio button or checkbox element is created. Checkboxes and Radio buttons
maintain their current state using the checked attribute stored in the
content model. They no longer use the nsIWidget to maintain their current setting.
Checkboxes and Radio buttons now print correctly. (i.e checked/unchecked state matches the
screen.)


git-svn-id: svn://10.0.0.236/trunk@17202 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 00:02:27 +00:00
troy%netscape.com
641be3028f Replaced "maxSize" member if nsReflowState with "availableWidth" and
"availableHeight"


git-svn-id: svn://10.0.0.236/trunk@17201 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 23:31:18 +00:00
waterson%netscape.com
c236b76b0c Fixed LXR comments.
git-svn-id: svn://10.0.0.236/trunk@17200 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 23:29:50 +00:00
pinkerton%netscape.com
a6f5e31e7d Added toolbar demo to the tests submenu.
git-svn-id: svn://10.0.0.236/trunk@17199 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 23:12:01 +00:00
kipp%netscape.com
31c482e2a8 Use macros from nsTextFragment
git-svn-id: svn://10.0.0.236/trunk@17198 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 23:02:27 +00:00
kipp%netscape.com
39aadedaf7 Reinstated the last set of checkins that were backed out
git-svn-id: svn://10.0.0.236/trunk@17197 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 23:01:54 +00:00
kipp%netscape.com
e0acc8d3d0 Consolidated character set macros into this file
git-svn-id: svn://10.0.0.236/trunk@17196 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 23:01:32 +00:00
pinkerton%netscape.com
08658b989d handle toolbar demo file menu command.
git-svn-id: svn://10.0.0.236/trunk@17195 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 22:59:51 +00:00
pinkerton%netscape.com
8f7c09c770 register the toolbox in the widget dll.
git-svn-id: svn://10.0.0.236/trunk@17194 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 22:59:27 +00:00
pinkerton%netscape.com
93d3cb3b42 Respond to toolbar demo menu command to show a new window for testing out toolbars.
git-svn-id: svn://10.0.0.236/trunk@17193 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 22:59:02 +00:00
pinkerton%netscape.com
7c3eea677e added Toolbar Demo menu item
git-svn-id: svn://10.0.0.236/trunk@17192 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 22:58:35 +00:00
pinkerton%netscape.com
f17ee19665 add VIEWER_TOOLBARDEMO command id.
git-svn-id: svn://10.0.0.236/trunk@17191 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 22:58:22 +00:00
waterson%netscape.com
01a0925622 Added some comments.
git-svn-id: svn://10.0.0.236/trunk@17190 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 22:58:13 +00:00
waterson%netscape.com
41f0e26051 Fixed some indentation.
git-svn-id: svn://10.0.0.236/trunk@17189 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 22:54:37 +00:00
waterson%netscape.com
99edef5c4c Got rid of ConsoleOutputStream: musta been some cruft from the example code I copied...
git-svn-id: svn://10.0.0.236/trunk@17188 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 22:53:59 +00:00
waterson%netscape.com
1950374fbe Added LXR comments. Got rid of unnecessary #ifdefs and obsolete factory methods.
git-svn-id: svn://10.0.0.236/trunk@17187 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 22:02:56 +00:00
waterson%netscape.com
4995a4ea84 Added LXR comments.
git-svn-id: svn://10.0.0.236/trunk@17186 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 21:57:59 +00:00
waterson%netscape.com
82b1df53d0 Added LXR comments.
git-svn-id: svn://10.0.0.236/trunk@17185 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 21:36:05 +00:00
waterson%netscape.com
74c694c200 Added LXR comments.
git-svn-id: svn://10.0.0.236/trunk@17184 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 21:22:20 +00:00
dougt%netscape.com
70b72261c8 Exposing AreThereActiveConnections() from the nsNetServices class. This is
so that we can tell if netlib is busy without having to be compiled with it.


git-svn-id: svn://10.0.0.236/trunk@17183 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 21:11:42 +00:00
scc%netscape.com
ead2550eb0 defined NSCAP_NEED_UNUSED_VIRTUAL_IMPLEMENTATIONS for GNU 2.7 under linux. Fixed URL leading to the user manual. Noted that ramiro is working on getting all these special #defines handled by the configuration system instead.
git-svn-id: svn://10.0.0.236/trunk@17182 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 21:07:57 +00:00
waterson%netscape.com
844c8f946f Updated to use the new event queue service that Rick landed last night.
git-svn-id: svn://10.0.0.236/trunk@17181 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 21:07:41 +00:00
waterson%netscape.com
30209acd75 Added comments for LXR.
git-svn-id: svn://10.0.0.236/trunk@17180 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 21:07:09 +00:00
waterson%netscape.com
a0df425ac3 Fixed the last bug with my namespace hack. Added a bunch of comments.
git-svn-id: svn://10.0.0.236/trunk@17179 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 21:06:54 +00:00
brade%netscape.com
1e44ca3c18 fix build bustage...(bad #include)
git-svn-id: svn://10.0.0.236/trunk@17178 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 19:51:59 +00:00
troy%netscape.com
a7ee3cc2f2 Initial check-in
git-svn-id: svn://10.0.0.236/trunk@17177 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 19:44:41 +00:00
amusil%netscape.com
264a75c13f Fixing build bustage.
git-svn-id: svn://10.0.0.236/trunk@17176 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 18:48:03 +00:00
brade%netscape.com
8bbd874ef4 comment out line to get tree green again (amusil@netscape.com to fix in long run)
git-svn-id: svn://10.0.0.236/trunk@17175 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 18:32:29 +00:00
donm%netscape.com
afa12446af backing out changes against a long red tree. would like to clear
the hook.  -donm


git-svn-id: svn://10.0.0.236/trunk@17174 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 18:16:05 +00:00
donm%netscape.com
5ebbaccf7b fixing tree bustage due to #ifdef NSPR20 and missing prmacos.h.
This should be looked at again.  -donm


git-svn-id: svn://10.0.0.236/trunk@17173 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 18:08:23 +00:00
kipp%netscape.com
e320144878 Fix handling of removed-child incremental reflow to no longer crash (bug #1941); also disabled incremental behavior for remove and inserted for now so that layout looks correct
git-svn-id: svn://10.0.0.236/trunk@17172 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 17:50:41 +00:00
kipp%netscape.com
8756b851e1 Removed aPrevSibling from DoRemoveFrame's arg list
git-svn-id: svn://10.0.0.236/trunk@17171 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 17:49:44 +00:00
rpotts%netscape.com
0eadeaf837 Include the implementation of NS_SetupRegistry(...) from mozilla/webshell/tests/viewer/nsSetupRegistry.cpp rather than duplicating the code...
git-svn-id: svn://10.0.0.236/trunk@17160 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 10:39:04 +00:00
rpotts%netscape.com
7404fe4fa5 use the new EventQueueService to obtain the event queue used for marshalling data over to the UI thread...
git-svn-id: svn://10.0.0.236/trunk@17159 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 09:51:28 +00:00
rpotts%netscape.com
d71f0e04b2 Use the EventQueueService to get the event queue for the UI thread...
git-svn-id: svn://10.0.0.236/trunk@17158 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 09:46:33 +00:00
rpotts%netscape.com
f0d7f6fddb On windows call PL_InitializeEventsLib(...) until the new PL_event apis are available...
git-svn-id: svn://10.0.0.236/trunk@17157 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 09:44:28 +00:00
rpotts%netscape.com
d4874da99e do not call PL_InitializeEventsLib(...) any more. nsIEventQueueService::CreateThreadEventQueue(...) has this functionality now...
git-svn-id: svn://10.0.0.236/trunk@17156 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 09:42:22 +00:00
amusil%netscape.com
c774854dcf Removed plugin .cpp files - plugin functionality now exists in the plugin.mcp project.
git-svn-id: svn://10.0.0.236/trunk@17155 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 09:35:29 +00:00
amusil%netscape.com
b715d40019 Added plugin.shlb
git-svn-id: svn://10.0.0.236/trunk@17154 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 09:34:54 +00:00
amusil%netscape.com
6e42329df5 Added plugin.mcp project to the Mac build. plugin.shlb is now included in layout.mcp and plugin-related cpp files have been removed from viewer.mcp
git-svn-id: svn://10.0.0.236/trunk@17153 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 09:34:27 +00:00
amusil%netscape.com
3477339d79 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@17152 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 09:10:46 +00:00
waterson%netscape.com
7b200af9a2 Bug fixes and enhancements to nsRDFStreamData source. Can almost round-trip RDF/XML now...
git-svn-id: svn://10.0.0.236/trunk@17151 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 08:44:40 +00:00
cls%seawood.org
2f83b9cfdb Fixed problem in fullcircle detection that was causing configure to break when using autoconf-19981231.
git-svn-id: svn://10.0.0.236/trunk@17146 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 07:16:18 +00:00
rpotts%netscape.com
ec65ee7ade Create an event queue via the EventQueueService for the UI thread...
git-svn-id: svn://10.0.0.236/trunk@17145 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 05:58:08 +00:00
rpotts%netscape.com
9493f3c102 Add the EventQueueService to the repository...
git-svn-id: svn://10.0.0.236/trunk@17144 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 05:51:30 +00:00
troy%netscape.com
dd7cc8fddc Improved GetAbsoluteContainingBlock() a bit. It still needs to handle scrolled
elements


git-svn-id: svn://10.0.0.236/trunk@17143 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 05:51:22 +00:00
rpotts%netscape.com
bfb6a305f7 On windows only, ignore the eventQ kept by the eventQ service... Until the event Q is created with PL_CreateNativeEventQueue(...) only the main event Q can be used...
git-svn-id: svn://10.0.0.236/trunk@17142 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 05:43:53 +00:00
rpotts%netscape.com
750b88f0de Added nsXPComFactory.cpp and nsEventQueueService.cpp to the windows build
git-svn-id: svn://10.0.0.236/trunk@17141 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 05:42:38 +00:00
waterson%netscape.com
aa2086117c Added docs on what this file is for.
git-svn-id: svn://10.0.0.236/trunk@17140 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 05:38:45 +00:00
waterson%netscape.com
a7958b582d Merge from RDF_122898_BRANCH. (This is not in the main build.)
git-svn-id: svn://10.0.0.236/trunk@17139 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 05:36:40 +00:00
pierre%netscape.com
b5170621b9 removed the handle locking/unlocking in Init()
git-svn-id: svn://10.0.0.236/trunk@17138 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 04:07:23 +00:00
waterson%netscape.com
801ab5428d Landed RDF_122898_BRANCH onto the trunk.
git-svn-id: svn://10.0.0.236/trunk@17137 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 03:53:15 +00:00
val4%cornell.edu
e8f8188954 Some more changes, there's not that much left. Need to figure out a
model for error reporting and security.


git-svn-id: svn://10.0.0.236/trunk@17136 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 03:51:30 +00:00
pierre%netscape.com
2266917d12 commented out an annoying assert
git-svn-id: svn://10.0.0.236/trunk@17135 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 03:51:17 +00:00
pierre%netscape.com
24e8e9d5cd Fixing the xpfeViewer build (which is now obsolete) just for the sake of it
git-svn-id: svn://10.0.0.236/trunk@17134 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 03:48:54 +00:00
pavlov%pavlov.net
d0aecad9d4 we now underline things.
git-svn-id: svn://10.0.0.236/trunk@17133 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 03:25:55 +00:00
val4%cornell.edu
50a1d9d4a7 I am half way through changing the file object error handling code and
generally cleaning everything up.


git-svn-id: svn://10.0.0.236/trunk@17129 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 02:18:26 +00:00
larryh%netscape.com
41ea29ef02 BugZilla 2131. Plus, fix undef symbol in Mac
git-svn-id: svn://10.0.0.236/trunk@17128 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 01:38:41 +00:00
val4%cornell.edu
595b3fc337 Netscape licence added
git-svn-id: svn://10.0.0.236/trunk@17127 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 01:08:45 +00:00
troy%netscape.com
4e4c0aad37 Cleaned up some old references to margins which aren't applicable to row group
frames and row frames (because internal table elements don't have margins)


git-svn-id: svn://10.0.0.236/trunk@17126 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 00:41:40 +00:00
briano%netscape.com
6e7d188d7b Fix for bugzilla#1316 in which both debug and optimization flags were being passed to the compiler when MOZ_DEBUG was defined.
git-svn-id: svn://10.0.0.236/trunk@17125 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 00:37:34 +00:00
larryh%netscape.com
2fb0355c6b BugZilla: 2131. BugSplat: 337698.
Thanks to "Adam Lock" <locka@iol.ie> for suggestions.
Thanks to Rick Potts for suggestions and critique of the design.


git-svn-id: svn://10.0.0.236/trunk@17124 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 00:08:28 +00:00
mscott%netscape.com
c1c89e5fd3 First checked in. These files are the foundation for our nntp protocol implementation.
git-svn-id: svn://10.0.0.236/trunk@17123 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-04 23:59:59 +00:00
amusil%netscape.com
c94b267b34 Temporary workaround so that plugins display correctly. This will change after support for
CSS borders and padding are added.


git-svn-id: svn://10.0.0.236/trunk@17122 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-04 23:45:38 +00:00
val4%cornell.edu
745be1fd7d Extended shell. Previously was part of the ns tree. See README.html for
more details.


git-svn-id: svn://10.0.0.236/trunk@17121 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-04 23:45:08 +00:00
amusil%netscape.com
ce0f3f26ce Added NPN_NewStream() functionality. Currently uses a temp file between the plugin stream and the target.
I will remove this file in-between as soon as I get a little more stream help from netlib.


git-svn-id: svn://10.0.0.236/trunk@17120 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-04 23:43:41 +00:00
briano%netscape.com
7e33a97efc First attempt at building on HP-UX again. Thanks to rkl@connect.org.uk for the patch, and for his amazing patience....
git-svn-id: svn://10.0.0.236/trunk@17119 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-04 23:17:01 +00:00
rpotts%netscape.com
2d510a5603 Added new headers to the EXPORT rule...
git-svn-id: svn://10.0.0.236/trunk@17118 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-04 23:08:44 +00:00
ftang%netscape.com
a03bd0610f add unix support
git-svn-id: svn://10.0.0.236/trunk@17113 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-04 22:36:45 +00:00
ftang%netscape.com
4dab9f4776 add export function
git-svn-id: svn://10.0.0.236/trunk@17110 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-04 22:34:43 +00:00
ftang%netscape.com
12bb169ebb add Makefile.in
git-svn-id: svn://10.0.0.236/trunk@17108 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-04 22:05:25 +00:00
locka%iol.ie
52b207f812 Bug 2111: Implemented temporary kludge fix pending ideas from others on the matter
git-svn-id: svn://10.0.0.236/trunk@17107 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-04 21:58:15 +00:00
ftang%netscape.com
a8e20395d0 uncomment nsRegistery::FreeLibrary line
git-svn-id: svn://10.0.0.236/trunk@17106 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-04 21:52:15 +00:00
pnunn%netscape.com
e0ccf1f37e Minor changes to address annoying compile warnings. pn
git-svn-id: svn://10.0.0.236/trunk@17104 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-04 20:04:49 +00:00
jfrancis%netscape.com
4a14e99dd5 satisfying compiler oddities
git-svn-id: svn://10.0.0.236/trunk@17101 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-04 17:44:20 +00:00
jfrancis%netscape.com
b14dce6190 bug fixing range gravity code; general cleanup
git-svn-id: svn://10.0.0.236/trunk@17097 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-04 16:48:33 +00:00
despotdaemon%netscape.com
2b02b5ea74 Pseudo-automatic update of changes made by brade@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@17096 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-04 16:41:14 +00:00
brade%netscape.com
d98b24c0f3 add typecasts to reduce warnings on Macintosh compiler (r/a mike mccabe)
git-svn-id: svn://10.0.0.236/trunk@17095 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-04 15:31:52 +00:00
jfrancis%netscape.com
e2914acc38 fixing build bustage
git-svn-id: svn://10.0.0.236/trunk@17094 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-04 15:24:31 +00:00
jfrancis%netscape.com
4cb9ee6bab disabling some range stuff while I fix it
git-svn-id: svn://10.0.0.236/trunk@17093 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-04 13:06:43 +00:00
rpotts%netscape.com
f611f3c664 Added the nsIEventQueueService IID...
git-svn-id: svn://10.0.0.236/trunk@17092 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-04 08:50:43 +00:00
rpotts%netscape.com
e9f86cd8cf This is the implementation of the EventQueue service...
git-svn-id: svn://10.0.0.236/trunk@17091 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-04 08:50:10 +00:00
rpotts%netscape.com
92a7c129df This is the implementation of NS_GetFactory(...) for the xpcom DLL.
git-svn-id: svn://10.0.0.236/trunk@17090 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-04 08:49:49 +00:00
rpotts%netscape.com
b8eeb8454d This is a templatized implementation of an XPCOM factory...
git-svn-id: svn://10.0.0.236/trunk@17089 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-04 08:44:26 +00:00
rpotts%netscape.com
6bce9e5b21 THis file contains the CLSIDs of components which can be created by the xpcom factory...
git-svn-id: svn://10.0.0.236/trunk@17088 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-04 08:43:52 +00:00
rpotts%netscape.com
a0f65d0e99 Interface to the EventQueue Service...
git-svn-id: svn://10.0.0.236/trunk@17087 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-04 08:43:12 +00:00
buster%netscape.com
3f8ad7598f fixed a crash in edit mode VK_BACK handling. uninitialized pointer.
git-svn-id: svn://10.0.0.236/trunk@17086 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-04 07:08:53 +00:00
troy%netscape.com
4d65b22403 Changed nsISpaceManager interface to conform to XP-COM conventions on
return values


git-svn-id: svn://10.0.0.236/trunk@17085 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-04 04:54:33 +00:00
jband%netscape.com
c759ddad43 minor fixes
git-svn-id: svn://10.0.0.236/trunk@17084 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-04 03:35:42 +00:00
jband%netscape.com
d95c559650 type names less generic
git-svn-id: svn://10.0.0.236/trunk@17083 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-04 03:30:09 +00:00
jband%netscape.com
8897045308 Initial checkin of XPConnect. This is not yet at all functional nor anywhere near finished.
git-svn-id: svn://10.0.0.236/trunk@17082 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-04 03:14:01 +00:00
buster%netscape.com
56a7cf3ab3 fixed bug 1999, frame="void" was removing cell borders as well as the table frame
git-svn-id: svn://10.0.0.236/trunk@17081 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-03 22:30:23 +00:00
buster%netscape.com
535e4c1b38 swirly new collapsing border example added
git-svn-id: svn://10.0.0.236/trunk@17080 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-03 20:45:05 +00:00
buster%netscape.com
8d76cca127 comments, so many comments!
git-svn-id: svn://10.0.0.236/trunk@17079 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-03 19:23:21 +00:00
buster%netscape.com
f409ad31b4 preliminary work for cell inheritence of valign and halign attributes from col(group) and row(group)
according to css 2 spec


git-svn-id: svn://10.0.0.236/trunk@17078 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-03 19:22:40 +00:00
buster%netscape.com
82750b9744 fixed a bug in fixed layout initial reflow with spanning cells
git-svn-id: svn://10.0.0.236/trunk@17077 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-03 19:20:13 +00:00
jfrancis%netscape.com
d1bebf1bc5 adding range gravity for dom text nodes
git-svn-id: svn://10.0.0.236/trunk@17076 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-03 14:29:54 +00:00
troy%netscape.com
1c810256bf Moved enum and replaced it with #defines
git-svn-id: svn://10.0.0.236/trunk@17075 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-03 00:31:46 +00:00
troy%netscape.com
99d2f51f2c Fixe for test8 hitting an assert
git-svn-id: svn://10.0.0.236/trunk@17074 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-03 00:15:56 +00:00
troy%netscape.com
f16883b846 Changed comment to reflect the current state of the tree
git-svn-id: svn://10.0.0.236/trunk@17073 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-02 23:05:08 +00:00
troy%netscape.com
748bda0c54 Changed computed width calculation for internal table elements to take
border/padding into account


git-svn-id: svn://10.0.0.236/trunk@17072 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-02 22:54:12 +00:00
troy%netscape.com
b5bffb2735 Added logic to make sure that internal table elements have reasonable
values for the computed width/height


git-svn-id: svn://10.0.0.236/trunk@17071 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-02 21:03:51 +00:00
troy%netscape.com
0676951248 Added :CELL-CONTENT rule for the area-frame that's inside the table cell.
Sets the 'display' property to 'block' to override the default value of
'inline'


git-svn-id: svn://10.0.0.236/trunk@17070 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-02 21:01:37 +00:00
troy%netscape.com
b924e4baa8 Changed CreatePlaceholderFrame() to use a pseudo element style context
(:PLACEHOLDER-FRAME) for the placeholder frame. This way it looks like an
inline static frame with a specified size of (0, 0)


git-svn-id: svn://10.0.0.236/trunk@17069 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-02 20:51:43 +00:00
troy%netscape.com
ca81e6912a Fix for bug 2109. If the child's maxSize.width is smaller than the containing
block's computed width then use it instead


git-svn-id: svn://10.0.0.236/trunk@17068 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-02 19:21:32 +00:00
val4%cornell.edu
58dd6fa960 Changes in the way error reporting works. Removed JS_ReportOutOfMemory
because JS_malloc calls it on failure. Removed checks for NULL returned
from JS_GetInstancePrivate because we have a check in JS_SetPrivate.


git-svn-id: svn://10.0.0.236/trunk@17066 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-02 04:02:36 +00:00
val4%cornell.edu
29a57fc9cb Lots of changes in implementation of various functions and formatting.
The only major feature added in support of pipes, it hasn't been tested
yet.


git-svn-id: svn://10.0.0.236/trunk@17065 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-01 04:37:28 +00:00
leaf%mozilla.org
2bb3760815 applying patches from Joe Keane <jgk@jgk.org> changing gets to fgets
git-svn-id: svn://10.0.0.236/trunk@17064 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-01 02:47:52 +00:00
ftang%netscape.com
a41ba28081 temp turn off self reg on UNIX
git-svn-id: svn://10.0.0.236/trunk@17063 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-01 01:29:12 +00:00
terry%netscape.com
243249521d Sleezy hack to always make "cvs" come out as the first repository.
git-svn-id: svn://10.0.0.236/trunk@17060 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-01 00:44:59 +00:00
ftang%netscape.com
d9019b2386 use NS_FAILED(res) to replace bad (NS_OK != res)
git-svn-id: svn://10.0.0.236/trunk@17059 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-01 00:35:26 +00:00
terry%netscape.com
05bf72d1e9 Added ability to search for the partition that owns a given file.
git-svn-id: svn://10.0.0.236/trunk@17058 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-01 00:34:38 +00:00
terry%netscape.com
4404aa487d Get rid of a harmless warning message.
git-svn-id: svn://10.0.0.236/trunk@17057 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-01 00:07:21 +00:00
morse%netscape.com
5ec9a17505 put back fix for cookie bug
git-svn-id: svn://10.0.0.236/trunk@17056 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-01 00:06:00 +00:00
despotdaemon%netscape.com
0cec25a85d Pseudo-automatic update of changes made by scc@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@17055 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-31 23:33:07 +00:00
leaf%mozilla.org
3a16ac0a92 fixed mispelled greetings and added some.
git-svn-id: svn://10.0.0.236/trunk@17054 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-31 23:29:48 +00:00
terry%netscape.com
2f67b6c5a1 raptor => SeaMonkey.
git-svn-id: svn://10.0.0.236/trunk@17053 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-31 23:27:49 +00:00
troy%netscape.com
88546760e9 Changed InitConstraints() to handle inline, block-level, and floated elements
(replaced and non-replaced)


git-svn-id: svn://10.0.0.236/trunk@17052 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-31 23:07:00 +00:00
donm%netscape.com
527c480a9e backing out tree busting changes. -donm
git-svn-id: svn://10.0.0.236/trunk@17051 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-31 22:44:19 +00:00
coop%netscape.com
3bf81d55cf Added reference to xpidl_typelib.h
git-svn-id: svn://10.0.0.236/trunk@17050 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-31 22:11:39 +00:00
coop%netscape.com
bdbe9a1b5b Initial pass at declarations required for building typelib files.
git-svn-id: svn://10.0.0.236/trunk@17049 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-31 22:11:05 +00:00
terry%netscape.com
4aa2b0ed83 When creating a new tinderbox tree, give a chance to specify the
repository it uses.


git-svn-id: svn://10.0.0.236/trunk@17046 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-31 21:33:19 +00:00
morse%netscape.com
592e6c3aa3 make parameters consistent
git-svn-id: svn://10.0.0.236/trunk@17045 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-31 21:26:31 +00:00
morse%netscape.com
4f3a18180e fix bug 329293 -- 2-dot cookie bug
git-svn-id: svn://10.0.0.236/trunk@17044 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-31 21:25:58 +00:00
leaf%mozilla.org
b4ca26d112 fixing clobber rule
git-svn-id: svn://10.0.0.236/trunk@17043 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-31 20:17:37 +00:00
leaf%mozilla.org
5384748984 readding the clobber_all rule... *grumble* *grumble*
git-svn-id: svn://10.0.0.236/trunk@17041 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-31 19:55:05 +00:00
terry%netscape.com
9f7db4a504 Track mozilla.org news. Whenever a newsitem appears in anything, tell
the channel about it.  Also, now checks everything once an hour.


git-svn-id: svn://10.0.0.236/trunk@17039 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-31 18:38:54 +00:00
val4%cornell.edu
87316fb0e5 The following changes were made:
jsfile.h
 - NewFileObject function exposed
jsfile.c
 - Added .msg-style error support of error reporting
 - ucs2 changed to binary
 - input/output/error properties are created


git-svn-id: svn://10.0.0.236/trunk@17038 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-31 05:58:26 +00:00
troy%netscape.com
008a69b28f Better computation of computed width and height and margins for block-level
elements


git-svn-id: svn://10.0.0.236/trunk@17037 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-31 05:35:38 +00:00
jfrancis%netscape.com
f5031101fd Adding Range to repository & layout factory
git-svn-id: svn://10.0.0.236/trunk@17036 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-31 02:32:28 +00:00
ramiro%netscape.com
f84c6c743c Fix a dumb else then screwup.
git-svn-id: svn://10.0.0.236/trunk@17035 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-31 02:29:06 +00:00
ramiro%netscape.com
7beee88783 Added a script to regenerate a single Makefile from a Makefile.in using
the config.status script.


git-svn-id: svn://10.0.0.236/trunk@17034 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-31 02:27:25 +00:00
akkana%netscape.com
d823abaaa3 Only build editor if MOZ_EDITOR is defined
git-svn-id: svn://10.0.0.236/trunk@17019 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-31 00:18:40 +00:00
buster%netscape.com
6df6114357 collapsing border bug fixes
git-svn-id: svn://10.0.0.236/trunk@17017 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-30 23:23:45 +00:00
timm%netscape.com
4cd964039a new checkins for free source CCK
git-svn-id: svn://10.0.0.236/trunk@17016 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-30 23:03:13 +00:00
ftang%netscape.com
2c3827d8ca Change setting
git-svn-id: svn://10.0.0.236/trunk@17015 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-30 22:51:55 +00:00
ftang%netscape.com
e387be988a temp fix for mac problem by comment out nsRepository::FreeLibraries
git-svn-id: svn://10.0.0.236/trunk@17014 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-30 22:51:08 +00:00
buster%netscape.com
026f6d379d empty cells now are sized correctly.
git-svn-id: svn://10.0.0.236/trunk@17013 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-30 22:41:08 +00:00
buster%netscape.com
9864b12d26 collapsing borders with odd width have correct width now
git-svn-id: svn://10.0.0.236/trunk@17012 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-30 22:40:36 +00:00
buster%netscape.com
92257be8b3 right dashed borders now work
dashed borders along a span now mostly work


git-svn-id: svn://10.0.0.236/trunk@17011 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-30 22:39:49 +00:00
vidur%netscape.com
c94d23dc13 Separated class intialization from name registration in namespace management code
git-svn-id: svn://10.0.0.236/trunk@17010 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-30 21:35:35 +00:00
waterson%netscape.com
19d9cc2d75 Okay, try #2. Fix Win95/98 build bustage.
git-svn-id: svn://10.0.0.236/trunk@17009 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-30 21:25:47 +00:00
ftang%netscape.com
aee1370842 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@17008 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-30 21:10:39 +00:00
ftang%netscape.com
f4d52efe5b test the result for all the return vaule from nsRepository
git-svn-id: svn://10.0.0.236/trunk@17007 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-30 21:06:18 +00:00
leaf%mozilla.org
4965267284 backing out removal of nsInMemoryDataSource.obj
git-svn-id: svn://10.0.0.236/trunk@17005 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-30 20:00:59 +00:00
ftang%netscape.com
6adda3e963 Add some code for mac
git-svn-id: svn://10.0.0.236/trunk@17004 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-30 19:49:57 +00:00
brade%netscape.com
aea5c2aaca remove paths for mozilla/modules/xlate since it isn't needed nor available from the current CVS module
git-svn-id: svn://10.0.0.236/trunk@17003 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-30 19:40:17 +00:00
despotdaemon%netscape.com
1f784a84d0 Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@17002 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-30 19:19:31 +00:00
dougt%netscape.com
60826ccda8 Removing AutoUpdate from Netlib.
git-svn-id: svn://10.0.0.236/trunk@17001 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-30 19:09:39 +00:00
waterson%netscape.com
7cf55635ec Fix Win95 build bustage.
git-svn-id: svn://10.0.0.236/trunk@16999 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-30 17:52:01 +00:00
troy%netscape.com
c22f41cbf9 Changed width/height constraints in nsHTMLReflowState struct
git-svn-id: svn://10.0.0.236/trunk@16998 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-30 17:50:00 +00:00
despotdaemon%netscape.com
4659feb84c Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@16997 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-30 16:18:58 +00:00
brade%netscape.com
0b4a44f926 make several functions PRIVATE to reduce compiler warnings on Macintosh
git-svn-id: svn://10.0.0.236/trunk@16996 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-30 16:06:22 +00:00
brade%netscape.com
5df088c603 add #includes and prototypes to reduce compiler warnings on Macintosh
git-svn-id: svn://10.0.0.236/trunk@16995 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-30 16:05:27 +00:00
brade%netscape.com
de46138715 add prototype and PRIVATE to several functions to reduce compiler warnings on Macintosh
git-svn-id: svn://10.0.0.236/trunk@16994 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-30 16:03:43 +00:00
brade%netscape.com
363efbac97 add prototype for net_ReleaseContext to reduce compiler warnings on Macintosh
git-svn-id: svn://10.0.0.236/trunk@16993 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-30 16:01:54 +00:00
brade%netscape.com
c6a16212fc add prototypes to reduce compiler warnings on Macintosh
git-svn-id: svn://10.0.0.236/trunk@16992 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-30 16:00:57 +00:00
brade%netscape.com
06b8ec5269 add prototype for NET_FindProxyInJSC to reduce compiler warnings on Macintosh.
git-svn-id: svn://10.0.0.236/trunk@16991 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-30 16:00:01 +00:00
jfrancis%netscape.com
9a6867b7e9 more dom range gravity work
git-svn-id: svn://10.0.0.236/trunk@16990 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-30 08:28:16 +00:00
buster%netscape.com
05fedad27b collapsing border computation and conflict resolution
git-svn-id: svn://10.0.0.236/trunk@16989 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-30 06:48:15 +00:00
buster%netscape.com
cca2fe54e4 CSS2 table collapsing border rendering
git-svn-id: svn://10.0.0.236/trunk@16988 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-30 06:47:26 +00:00
buster%netscape.com
40cc77a614 added mInsideNeighbor to nsBorderEdge, allowing fast access for an outside edge to
it's neighboring inside edge.  value is undefined for inside edges.


git-svn-id: svn://10.0.0.236/trunk@16987 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-30 06:46:35 +00:00
vidur%netscape.com
526d71ae38 Fixed early initialization problem in script namespace management
git-svn-id: svn://10.0.0.236/trunk@16985 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-30 02:46:36 +00:00
beard%netscape.com
d8ba29c639 backed out SingleSign/CookieManagement changes
git-svn-id: svn://10.0.0.236/trunk@16984 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-30 02:26:02 +00:00
morse%netscape.com
e6905cd686 fix mac bustage
git-svn-id: svn://10.0.0.236/trunk@16983 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-30 02:25:05 +00:00
beard%netscape.com
4d29b4ba1b Turning on CookieManagement/SingleSignon on Mac.
git-svn-id: svn://10.0.0.236/trunk@16982 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-30 01:47:23 +00:00
beard%netscape.com
050ebec5db Backed out change for mac bustage.
git-svn-id: svn://10.0.0.236/trunk@16981 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-30 01:45:39 +00:00
val4%cornell.edu
88a1b143d1 The following changes were made:
- Changed the DLL export macros JS_EXTERN_API, etc. to conform with the
  current standards
- Updates the docs in README.html
- Updated the include locations and the MSDEV project to make
  the build process easier.
- Managed to build PerlConnect with Perl 5.005_02. It's not compatible
  with previous versions. Don't use ActivePerl! It probably won't work!
- There is a fix to js.c which I am going to chech in a bit later.


git-svn-id: svn://10.0.0.236/trunk@16979 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-30 01:36:55 +00:00
morse%netscape.com
281d6445b1 fix mac bustage
git-svn-id: svn://10.0.0.236/trunk@16977 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-30 01:29:54 +00:00
despotdaemon%netscape.com
1d011cec19 Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@16976 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-30 01:01:15 +00:00
ramiro%netscape.com
396e5e417f cvsignore FilesTest.
git-svn-id: svn://10.0.0.236/trunk@16975 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-30 00:38:50 +00:00
ramiro%netscape.com
2968376436 Ignore generated files.
git-svn-id: svn://10.0.0.236/trunk@16974 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-30 00:38:23 +00:00
morse%netscape.com
b81dca611d changes needed for privacy module
git-svn-id: svn://10.0.0.236/trunk@16973 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-30 00:22:55 +00:00
morse%netscape.com
ab6c2fa557 interfaces for routines need by privacy module
git-svn-id: svn://10.0.0.236/trunk@16972 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-30 00:20:46 +00:00
rpotts%netscape.com
c01cd564e1 Removed browser dependancies that are not checked in yet...
git-svn-id: svn://10.0.0.236/trunk@16971 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-30 00:09:03 +00:00
rpotts%netscape.com
00bb487c0e Added support for terminating the app when all of the top level windows have been closed...
git-svn-id: svn://10.0.0.236/trunk@16970 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-30 00:03:52 +00:00
rpotts%netscape.com
26f914fde9 changed to use nscore.h for the NS_APPSHELL definition...
git-svn-id: svn://10.0.0.236/trunk@16969 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-30 00:03:00 +00:00
rpotts%netscape.com
9a987c1346 Added an entry for the application shell...
git-svn-id: svn://10.0.0.236/trunk@16968 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-29 23:59:23 +00:00
leaf%mozilla.org
b664c8d070 adding mozilla/modules/libpref/unicharutil as per frank tang's request
git-svn-id: svn://10.0.0.236/trunk@16967 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-29 23:48:10 +00:00
rpotts%netscape.com
e4aeef3417 added new factories from webshell/viewer/nsSetupRegistry.cpp
git-svn-id: svn://10.0.0.236/trunk@16966 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-29 23:32:11 +00:00
ftang%netscape.com
4ea7326030 1st check in. It build on Window. It does not build on UNIX and macintosh yet.
It is not hook up with build system yet. Read note.txt first.


git-svn-id: svn://10.0.0.236/trunk@16965 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-29 23:28:05 +00:00
beard%netscape.com
435e568120 Creates a new window with "_new" target.
git-svn-id: svn://10.0.0.236/trunk@16960 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-29 22:37:55 +00:00
beard%netscape.com
79f4ee31da Document base changes.
git-svn-id: svn://10.0.0.236/trunk@16959 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-29 22:36:41 +00:00
beard%netscape.com
9e4c52a9f9 Class loader utilities.
git-svn-id: svn://10.0.0.236/trunk@16958 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-29 22:36:11 +00:00
beard%netscape.com
a7dc225454 Pro 4 format.
git-svn-id: svn://10.0.0.236/trunk@16957 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-29 22:35:01 +00:00
beard%netscape.com
80dfd8f7b5 Class loader, security context stuff, codebase principal.
git-svn-id: svn://10.0.0.236/trunk@16955 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-29 22:31:18 +00:00
blizzard%appliedtheory.com
39c0e61381 patch from Brian Ryner <bryner@uiuc.edu> for scaling fonts a little
better.


git-svn-id: svn://10.0.0.236/trunk@16945 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-29 21:08:11 +00:00
jfrancis%netscape.com
0ee5686b8c removing nsAbsoluteFrame.cpp, since it seems to have disappeared.
git-svn-id: svn://10.0.0.236/trunk@16935 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-29 07:24:32 +00:00
beard%netscape.com
3826ef37b1 Removed nsBodyFrame.cpp per Troy's request.
git-svn-id: svn://10.0.0.236/trunk@16934 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-29 06:08:02 +00:00
troy%netscape.com
2927e0972f Fixed it up to compile, because the Mac is still building it...
git-svn-id: svn://10.0.0.236/trunk@16933 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-29 05:54:59 +00:00
troy%netscape.com
e56c93f6f8 Fixed it up to compile again, because the Mac is still building it...
git-svn-id: svn://10.0.0.236/trunk@16932 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-29 05:53:54 +00:00
troy%netscape.com
d12c228d7d Fixed it so XML documents display again
git-svn-id: svn://10.0.0.236/trunk@16931 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-29 05:51:11 +00:00
troy%netscape.com
1113a62e37 Removed debug output that was probably checked in by mistake
git-svn-id: svn://10.0.0.236/trunk@16930 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-29 05:37:11 +00:00
troy%netscape.com
798ca8add0 Fixed a problem with absolutely positioned tables not working properly
git-svn-id: svn://10.0.0.236/trunk@16929 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-29 05:35:42 +00:00
troy%netscape.com
38a8b5ecdb Changed some of the member functions to conform to XP-COM conventions for
returning a nsresult


git-svn-id: svn://10.0.0.236/trunk@16928 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-29 04:56:31 +00:00
troy%netscape.com
43b0f05bb3 Renamed FindFrameWithContent() to GetPrimaryFrameFor()
git-svn-id: svn://10.0.0.236/trunk@16927 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-29 04:45:18 +00:00
rpotts%netscape.com
6a46e826d5 Fixed the firing of the OnConnectionsComplete(...) notification so it worked correctly in framesets...
git-svn-id: svn://10.0.0.236/trunk@16926 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-29 04:45:00 +00:00
beard%netscape.com
9313e8f0c4 Was using unitialized variables for default dimensions of newly created window. Now attempts to at least inherit position from creating window.
git-svn-id: svn://10.0.0.236/trunk@16925 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-29 03:53:07 +00:00
troy%netscape.com
9a7f94d20b Moved logic that deals with moving absolutely positioned frames out of the
flow to the frame construction code


git-svn-id: svn://10.0.0.236/trunk@16924 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-29 03:38:16 +00:00
troy%netscape.com
eb80b6fbaa Fixed memory leak in nsHttpUrlImpl::SetSpec()
git-svn-id: svn://10.0.0.236/trunk@16923 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-29 01:32:39 +00:00
troy%netscape.com
62065135d1 Fixed memory leak in NS_MakeAbsoluteURL()
git-svn-id: svn://10.0.0.236/trunk@16920 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-29 01:22:57 +00:00
blizzard%appliedtheory.com
b77dcba831 don't return the address of something allocated on the stack
git-svn-id: svn://10.0.0.236/trunk@16918 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-29 01:07:35 +00:00
troy%netscape.com
cdbdb080a4 Fixed memory leak in ToString()
git-svn-id: svn://10.0.0.236/trunk@16917 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-29 01:03:26 +00:00
mcmullen%netscape.com
4bbbe1f26f Simplify the console case, so that Windows does not think it has to compile with exception handling.
git-svn-id: svn://10.0.0.236/trunk@16914 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-29 00:24:32 +00:00
rpotts%netscape.com
f8bbc3023a Fire the OnSubmit event on the form not the input field...
git-svn-id: svn://10.0.0.236/trunk@16911 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-28 21:28:53 +00:00
cls%seawood.org
dbbb4b4485 Ok, after further thought, the last attempt wasn't going to work as the mac project files were not updated so we'll just put Guha's stuff in ifdefs.
git-svn-id: svn://10.0.0.236/trunk@16909 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-28 06:05:14 +00:00
cls%seawood.org
610c12c402 Oops, forgot about the headers.
git-svn-id: svn://10.0.0.236/trunk@16908 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-28 05:34:13 +00:00
cls%seawood.org
259c5306a9 Attempting to fix the change from using nsMemoryDataSource.cpp to using nsInMemoryDataSource.cpp.
git-svn-id: svn://10.0.0.236/trunk@16907 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-28 04:12:55 +00:00
guha%netscape.com
ba7c870812 adding a method to nsIRDFCursor.cpp
git-svn-id: svn://10.0.0.236/trunk@16906 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-27 20:35:46 +00:00
nisheeth%netscape.com
97dde67cba Definition and implementation of nsXSLContentSink. The XSL content sink
is instantiated for an XSL stylesheet and constructs
the XSL rule model as the stylesheet gets parsed by the parser.

Checking in the first cut.  These files are not part of the build yet.  Just
checking in so that they get backed up while I am away on my 3 week vacation.


git-svn-id: svn://10.0.0.236/trunk@16905 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-27 08:48:00 +00:00
nisheeth%netscape.com
02896f6428 Checking in initial tests for the first XSL prototype.
git-svn-id: svn://10.0.0.236/trunk@16904 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-27 08:25:54 +00:00
nisheeth%netscape.com
63b7e2f477 Adding code protected by an ifdef for making the XML content sink initiate
the load of an XSL stylesheet when it sees a stylesheet PI with an XSL
content type.


git-svn-id: svn://10.0.0.236/trunk@16903 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-27 08:24:04 +00:00
locka%iol.ie
2693122d24 Added extra debugging
git-svn-id: svn://10.0.0.236/trunk@16902 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-26 12:16:12 +00:00
locka%iol.ie
9b4f53f45c Updated method prototype after changes to nsIStreamObserver
git-svn-id: svn://10.0.0.236/trunk@16901 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-26 12:15:56 +00:00
locka%iol.ie
768bc13f55 Changed threading model
git-svn-id: svn://10.0.0.236/trunk@16900 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-26 12:14:46 +00:00
val4%cornell.edu
841874f176 Added support for dir["file"] syntax.
git-svn-id: svn://10.0.0.236/trunk@16899 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-25 02:31:49 +00:00
beard%netscape.com
b07aeb07ee Cleaned up non-debug access paths, made them consistent with debug access paths.
git-svn-id: svn://10.0.0.236/trunk@16898 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-25 00:31:17 +00:00
srinivas%netscape.com
fd610fd1a6 Fix compiler warnings on Mac; checkin for brade
git-svn-id: svn://10.0.0.236/trunk@16897 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-24 22:03:37 +00:00
guha%netscape.com
0ec87b1f76 move mail data source
git-svn-id: svn://10.0.0.236/trunk@16896 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-24 21:47:24 +00:00
pavlov%pavlov.net
5ab3cf2e4d yet another attempt to get resizing working
git-svn-id: svn://10.0.0.236/trunk@16895 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-24 21:06:27 +00:00
beard%netscape.com
c993029597 Added "compile_script()" which compiles a text-based AppleScript into a compiled form which runs faster. _useManifestoLib() now ensures that the compiled script is up-to-date with the text script.
git-svn-id: svn://10.0.0.236/trunk@16894 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-24 19:35:20 +00:00
beard%netscape.com
352c247c47 Working around IDE 3.X bug, looping over target files until error encountered, filtering by file type, not using IDE's file type, too slow.
git-svn-id: svn://10.0.0.236/trunk@16893 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-24 19:32:21 +00:00
beard%netscape.com
02f470b3f3 Updated to enumerate target files until error encountered, use 3.3 IDE.
git-svn-id: svn://10.0.0.236/trunk@16892 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-24 19:30:15 +00:00
despotdaemon%netscape.com
a13f1f35ed Pseudo-automatic update of changes made by cathleen@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@16891 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-24 19:03:13 +00:00
despotdaemon%netscape.com
bfc4e23f90 Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@16890 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-24 19:00:58 +00:00
dcone%netscape.com
d6f004b496 Cleanup of the ps directory, incremental changes
git-svn-id: svn://10.0.0.236/trunk@16889 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-24 15:25:04 +00:00
despotdaemon%netscape.com
5e1d692eb5 Pseudo-automatic update of changes made by cathleen@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@16888 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-24 09:40:53 +00:00
waterson%netscape.com
4b67d52cbd Initial revision.
git-svn-id: svn://10.0.0.236/trunk@16887 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-24 08:26:27 +00:00
waterson%netscape.com
7619dd2856 Obsolete.
git-svn-id: svn://10.0.0.236/trunk@16886 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-24 08:22:17 +00:00
waterson%netscape.com
3a99cc7efe Updated to use new RDF build structure.
git-svn-id: svn://10.0.0.236/trunk@16885 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-24 08:14:01 +00:00
waterson%netscape.com
35517fc61d Updated test for recent changes.
git-svn-id: svn://10.0.0.236/trunk@16884 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-24 08:13:29 +00:00
waterson%netscape.com
130cdcb69d Change to new RDF build structure.
git-svn-id: svn://10.0.0.236/trunk@16883 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-24 08:11:35 +00:00
waterson%netscape.com
90d3e47bd9 Change to new RDF tree structure
git-svn-id: svn://10.0.0.236/trunk@16882 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-24 08:10:45 +00:00
waterson%netscape.com
a6c2c792e7 Changed to new RDF tree structure.
git-svn-id: svn://10.0.0.236/trunk@16881 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-24 08:09:59 +00:00
waterson%netscape.com
56df9f36cf Fixed implementation include paths.
git-svn-id: svn://10.0.0.236/trunk@16880 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-24 07:27:25 +00:00
waterson%netscape.com
73017c20d2 Added NS_RDFSIMPLECONTENTSINK_CID.
git-svn-id: svn://10.0.0.236/trunk@16879 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-24 06:58:05 +00:00
waterson%netscape.com
955afb839b Fixed #ifdefs.
git-svn-id: svn://10.0.0.236/trunk@16878 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-24 06:57:46 +00:00
waterson%netscape.com
a3a4d647c6 Made Init() an official member of the nsIRDFContentSink interface.
git-svn-id: svn://10.0.0.236/trunk@16877 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-24 06:57:19 +00:00
waterson%netscape.com
ce8208c68b Added nsStreamDataSource.
git-svn-id: svn://10.0.0.236/trunk@16876 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-24 06:56:49 +00:00
waterson%netscape.com
c9671e9bba Fixed up include paths to get implementation headers.
git-svn-id: svn://10.0.0.236/trunk@16875 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-24 06:39:28 +00:00
waterson%netscape.com
d42567e422 Fixed CID header file.
git-svn-id: svn://10.0.0.236/trunk@16874 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-24 06:33:16 +00:00
waterson%netscape.com
769cf19111 Bad idea.
git-svn-id: svn://10.0.0.236/trunk@16873 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-24 06:31:10 +00:00
waterson%netscape.com
854344e782 Removed nsRDFBaseFactory.cpp.
git-svn-id: svn://10.0.0.236/trunk@16872 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-24 06:30:09 +00:00
waterson%netscape.com
1becd370fb Remove nsRDFContentFactory.cpp
git-svn-id: svn://10.0.0.236/trunk@16871 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-24 06:29:03 +00:00
waterson%netscape.com
ce4b84fbcc Fixed DEPTH variable.
git-svn-id: svn://10.0.0.236/trunk@16870 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-24 06:26:56 +00:00
waterson%netscape.com
74e221710e Changed to a static library for now.
git-svn-id: svn://10.0.0.236/trunk@16869 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-24 06:22:21 +00:00
waterson%netscape.com
0fcb272584 Initial revision. Separated from mozilla/rdf/src, etc. Not yet in the build.
git-svn-id: svn://10.0.0.236/trunk@16868 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-24 06:20:35 +00:00
waterson%netscape.com
21d167e225 Corrected DEPTH variable.
git-svn-id: svn://10.0.0.236/trunk@16867 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-24 05:07:15 +00:00
waterson%netscape.com
114c1127fd Initial revision. Separated from mozilla/rdf/include. Not yet in the build.
git-svn-id: svn://10.0.0.236/trunk@16866 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-24 05:07:14 +00:00
pavlov%pavlov.net
b7cd0f30a4 fix build, more event cleanups
git-svn-id: svn://10.0.0.236/trunk@16865 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-24 02:46:34 +00:00
pavlov%pavlov.net
1ad5e7564c remove lots and lots and lots and lots of excess code that isn't used.
fix up a few events


git-svn-id: svn://10.0.0.236/trunk@16864 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-24 02:10:49 +00:00
alecf%netscape.com
00c4f31a6b add NPL and comment for LXR
git-svn-id: svn://10.0.0.236/trunk@16863 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-24 01:07:29 +00:00
alecf%netscape.com
5f528c9225 use new RFC822 parser & factory
use new XPCOM offline state
fix PR_smprintf formatting


git-svn-id: svn://10.0.0.236/trunk@16862 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-24 01:07:12 +00:00
alecf%netscape.com
d3a641e794 add comments to IDL files so they show up in LXR
add new newsgroup attribute to offline interface


git-svn-id: svn://10.0.0.236/trunk@16861 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-24 00:55:13 +00:00
mcmullen%netscape.com
d2ec0bdc12 Allow partial paths.
git-svn-id: svn://10.0.0.236/trunk@16860 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-24 00:01:32 +00:00
guha%netscape.com
8ba2307295 beginnings of rdf mail data source implementation. Not
yet in makefiles


git-svn-id: svn://10.0.0.236/trunk@16859 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-23 22:44:27 +00:00
mcmullen%netscape.com
a9cb9f0b22 Made this stuff do something sensible for Macintosh. The part about logging the error is temporary.
git-svn-id: svn://10.0.0.236/trunk@16858 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-23 22:13:47 +00:00
mcmullen%netscape.com
e36cad9a5c Just fixed a warning.
git-svn-id: svn://10.0.0.236/trunk@16857 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-23 22:09:09 +00:00
fur%netscape.com
7f437ecbfe + Flush HTML method dump file after writing it. Otherwise, the file is
truncated if EF dies while compiling.

+ Print a placeholder disassembled instruction rather than assert-botching,
  so that the -html option still works.


git-svn-id: svn://10.0.0.236/trunk@16856 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-23 20:21:58 +00:00
fur%netscape.com
99d79a713c Flush HTML method dump file after writing it. Otherwise, the file is truncated
if EF dies while compiling.


git-svn-id: svn://10.0.0.236/trunk@16855 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-23 20:19:49 +00:00
fur%netscape.com
ca361d5346 Eliminate double declaration of variable
git-svn-id: svn://10.0.0.236/trunk@16854 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-23 20:15:57 +00:00
fur%netscape.com
d3c0cc39b7 Do classname-mangling correctly (or at least closer to correct, since
the code still does not handle unicode characters).


git-svn-id: svn://10.0.0.236/trunk@16853 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-23 20:15:07 +00:00
fur%netscape.com
2e24b50dbc Added stubs for missing native methods.
git-svn-id: svn://10.0.0.236/trunk@16852 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-23 20:14:13 +00:00
fur%netscape.com
347d867084 Closer to building packages again in the new mozilla world.
git-svn-id: svn://10.0.0.236/trunk@16851 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-23 20:12:59 +00:00
fur%netscape.com
cf06946888 Check-in rth's support for 64-bit arithmetic, with a few mods to make it build
on Win32.


git-svn-id: svn://10.0.0.236/trunk@16850 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-23 20:11:59 +00:00
terry%netscape.com
db39d66d1f Fixed bug 2049 -- added link to rebuild the guilty column.
git-svn-id: svn://10.0.0.236/trunk@16849 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-23 17:52:37 +00:00
buster%netscape.com
d9d5b90bed added mOutsideEdge to nsBorderEdges
git-svn-id: svn://10.0.0.236/trunk@16848 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-23 15:49:48 +00:00
buster%netscape.com
217aa922ce DrawBorderEdge fixes
git-svn-id: svn://10.0.0.236/trunk@16847 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-23 15:48:50 +00:00
buster%netscape.com
0b215739a8 WIP for collapsing borders
git-svn-id: svn://10.0.0.236/trunk@16846 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-23 15:47:43 +00:00
brade%netscape.com
1d4512da96 comment out line which builds clientStubs
git-svn-id: svn://10.0.0.236/trunk@16845 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-23 15:10:40 +00:00
brade%netscape.com
78a76913b4 add prototype for NET_DumpDecoders to reduce Mac compiler warnings
git-svn-id: svn://10.0.0.236/trunk@16844 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-23 14:38:38 +00:00
brade%netscape.com
fb9c62c186 add prototypes for net_process_net_timer_callback and net_process_slow_net_timer_callback to reduce Mac compiler warnings
git-svn-id: svn://10.0.0.236/trunk@16843 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-23 14:37:44 +00:00
brade%netscape.com
3e7c8545c0 add prototypes for NET_FindURLInMemCache, NET_DisplayMemCacheInfoAsHTML, and NET_InitMemCacProtocol to reduce Mac compiler warnings
git-svn-id: svn://10.0.0.236/trunk@16842 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-23 14:37:03 +00:00
brade%netscape.com
5328d4b161 add prototypes for NET_DisableGetURL, net_CallExitRoutine, net_get_protocol_impl, and net_MailtoLoad to reduce Mac compiler warnings
git-svn-id: svn://10.0.0.236/trunk@16841 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-23 14:36:13 +00:00
brade%netscape.com
f3ed098831 add prototypes for NET_OpenExtCacheFAT, NET_FindURLInExtCache, CACHE_CloseAllOpenSARCache, and CACHE_OpenAllSARCache to reduce Mac compiler warnings
git-svn-id: svn://10.0.0.236/trunk@16840 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-23 14:35:09 +00:00
brade%netscape.com
9f90b6f237 add prototypes for NET_FirstCacheObject, NET_NextCacheObject, and NET_GetMaxDiskCacheSize to reduce Mac compiler warnings
git-svn-id: svn://10.0.0.236/trunk@16839 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-23 14:34:22 +00:00
brade%netscape.com
80fd5be2e5 add prototypes for net_http_password_data_interp, NET_DeleteCookie and NET_DisplayCookieInfoAsHTML (reduce Mac compiler warnings)
git-svn-id: svn://10.0.0.236/trunk@16838 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-23 14:33:41 +00:00
brade%netscape.com
3b905ac208 change NET_InitRDFCookieResources from PUBLIC to PRIVATE since it isn't needed anymore
git-svn-id: svn://10.0.0.236/trunk@16837 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-23 14:32:48 +00:00
brade%netscape.com
23c492b7b6 return PR_TRUE in NET_RegisterAboutProtocol to reduce Mac compiler warnings
git-svn-id: svn://10.0.0.236/trunk@16836 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-23 14:31:48 +00:00
cltbld%netscape.com
4a5704d1c0 initial steps toward moving cvs pull information out of nglayout.mak.
Also, change pull_all to pull using module information instead of
each directory individually.


git-svn-id: svn://10.0.0.236/trunk@16835 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-23 11:01:34 +00:00
sar%netscape.com
57f09eedf2 moving client.mk and client.mak into the Core SeamonkeyModule so that they are available across the board.
git-svn-id: svn://10.0.0.236/trunk@16834 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-23 10:29:17 +00:00
pierre%netscape.com
3e235bca21 Export the 2 functions to fix link errors in embedding applications
git-svn-id: svn://10.0.0.236/trunk@16833 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-23 06:54:37 +00:00
pavlov%pavlov.net
76ecad404b comment something out
git-svn-id: svn://10.0.0.236/trunk@16832 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-23 04:17:30 +00:00
pavlov%pavlov.net
e650117c4c Redo all the evil event handling. We still do not resize properly, but I am
getting closer.


git-svn-id: svn://10.0.0.236/trunk@16831 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-23 03:31:15 +00:00
pollmann%netscape.com
27cc3295b1 Implemented onChange and selectedIndex for the HTMLSelectElement
git-svn-id: svn://10.0.0.236/trunk@16830 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-23 03:02:57 +00:00
alecf%netscape.com
aa06f7666a add --eanble-mailnews and --enable-ldap switches, and depricate MOZ_DARK
git-svn-id: svn://10.0.0.236/trunk@16829 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-23 00:48:52 +00:00
cyeh%netscape.com
8f48bade9b adding mozilla/mailnews to SeaMonkeyMailNews module per alecf
git-svn-id: svn://10.0.0.236/trunk@16828 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-23 00:24:42 +00:00
leaf%mozilla.org
30f91343e8 fixed duplicate inclusion.
git-svn-id: svn://10.0.0.236/trunk@16827 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-23 00:07:19 +00:00
waterson%netscape.com
02b9d03af9 Whoops. Guess I missed one.
git-svn-id: svn://10.0.0.236/trunk@16826 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-22 22:50:08 +00:00
waterson%netscape.com
67bd8fc314 Removed nsIRDFRegistry: it was never used.
git-svn-id: svn://10.0.0.236/trunk@16825 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-22 22:30:41 +00:00
waterson%netscape.com
f96cfdb03e Removed nsRDFRegistryImpl: it was never used.
git-svn-id: svn://10.0.0.236/trunk@16824 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-22 22:28:58 +00:00
waterson%netscape.com
94d75018a0 Removed nsRDFRegistryImpl. It was never used.
git-svn-id: svn://10.0.0.236/trunk@16823 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-22 22:26:15 +00:00
vidur%netscape.com
4ef7dcc47f Added script namespace management mechanism. This allows external native code to add symbols and constructors to the script global namespace. Added IID() static method generation to IDL generator.
git-svn-id: svn://10.0.0.236/trunk@16821 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-22 22:03:20 +00:00
cltbld%netscape.com
16ba8ffa10 add files for vidur
git-svn-id: svn://10.0.0.236/trunk@16820 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-22 21:47:35 +00:00
alecf%netscape.com
0a3fd98778 for now, export the implementation header file so we can get
to the factory. Bleah.


git-svn-id: svn://10.0.0.236/trunk@16819 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-22 21:12:21 +00:00
alecf%netscape.com
7c37687daa add new offline state interface
git-svn-id: svn://10.0.0.236/trunk@16818 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-22 21:11:32 +00:00
law%netscape.com
de264087db Add nsFile* to Windows build
git-svn-id: svn://10.0.0.236/trunk@16817 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-22 20:06:56 +00:00
law%netscape.com
d7dd1472e3 Add nsFile* to Windows build
git-svn-id: svn://10.0.0.236/trunk@16816 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-22 20:01:41 +00:00
brade%netscape.com
e53697af51 add include to reduce warnings on Macintosh compiler
git-svn-id: svn://10.0.0.236/trunk@16815 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-22 19:14:13 +00:00
troy%netscape.com
cf13a281b8 Added comment to strdup() noting that t he caller must use delete[]
to free the memory


git-svn-id: svn://10.0.0.236/trunk@16814 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-22 19:01:14 +00:00
brade%netscape.com
63312a2e66 add return value (reviewed mjudge@netscape.com)
git-svn-id: svn://10.0.0.236/trunk@16813 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-22 18:58:25 +00:00
troy%netscape.com
8d6a89039a Fixed two memory leaks of the status msg (Unicode string) in OnStopBindingProxyEvent
and OnStatusProxyEvent


git-svn-id: svn://10.0.0.236/trunk@16812 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-22 18:49:12 +00:00
guha%netscape.com
c01e30e606 Better names, classify Assertion (this file not yet in build system)
git-svn-id: svn://10.0.0.236/trunk@16811 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-22 18:27:02 +00:00
troy%netscape.com
48f492804b Fixed QueryInterface() so it doesn't do a AddRef() for interface NS_ISTHREADSAFE_IID.
This fixes a DEBUG (only) memory leak of the object which in turn causes the web shell
(and the whole world) to leak


git-svn-id: svn://10.0.0.236/trunk@16810 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-22 18:22:40 +00:00
despotdaemon%netscape.com
07b775d330 Pseudo-automatic update of changes made by jefft@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@16809 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-22 18:08:02 +00:00
despotdaemon%netscape.com
3fe72dbff2 Pseudo-automatic update of changes made by jefft@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@16808 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-22 18:06:35 +00:00
fur%netscape.com
5cb83ab7ee Fixed incorrect assumption that the extra_field_length value in the central
directory record  was the same as the extra_field_length in the corresponding
local file header record.


git-svn-id: svn://10.0.0.236/trunk@16807 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-22 18:01:28 +00:00
pierre%netscape.com
4944d0ea91 moved nsRefData to nsMacMessageSink.h
git-svn-id: svn://10.0.0.236/trunk@16806 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-22 06:38:00 +00:00
pierre%netscape.com
2f9eda3303 defined the Raptor windowKind bit and moved nsRefData to nsMacMessageSink.h
git-svn-id: svn://10.0.0.236/trunk@16805 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-22 06:37:46 +00:00
pierre%netscape.com
6d4cb77b68 Handle the Raptor windowKind bit
git-svn-id: svn://10.0.0.236/trunk@16804 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-22 06:37:32 +00:00
troy%netscape.com
bf0de58b71 Fix for bug #1924
git-svn-id: svn://10.0.0.236/trunk@16803 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-22 05:02:46 +00:00
alecf%netscape.com
dd443cbb06 removal of SetNewsgroupPassword / GetNewsgroupPassword - start using the new API
git-svn-id: svn://10.0.0.236/trunk@16802 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-22 04:59:39 +00:00
alecf%netscape.com
10eb6321ce update nsIMsgNewsHost to deal with newsgroups directly rather than as group names
git-svn-id: svn://10.0.0.236/trunk@16801 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-22 04:34:11 +00:00
alecf%netscape.com
e62164115b rename nsINet->nsIMsg
remove pretty name attribute (host keeps track of that)
add name attribute (to replace group_name in NewsConData in netlib)
add IsOfflineArticle


git-svn-id: svn://10.0.0.236/trunk@16800 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-22 04:33:37 +00:00
sar%netscape.com
c820a1c9c7 bring SeamonkeyCore and SeaMonkeyLayout up to par with nglayout.mak
git-svn-id: svn://10.0.0.236/trunk@16799 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-22 04:09:18 +00:00
troy%netscape.com
d76ca7e7fd Fix for bug #1942. Also made it so we respect 'width' and 'height' properties
specified on the HTML element


git-svn-id: svn://10.0.0.236/trunk@16798 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-22 03:49:04 +00:00
waterson%netscape.com
204327240f Changes to get this thing building. It's still not in the main build yet.
git-svn-id: svn://10.0.0.236/trunk@16797 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-22 03:05:30 +00:00
waterson%netscape.com
1c136e6574 Added EqualsNode() method to nsIRDFNode, modified nsIRDFLiteral's Equals() to EqualsLiteral().
git-svn-id: svn://10.0.0.236/trunk@16796 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-22 03:04:45 +00:00
terry%netscape.com
bc73cb575d Can now optionally put the tinderbox directory on the command line.
git-svn-id: svn://10.0.0.236/trunk@16795 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-22 02:23:13 +00:00
alecf%netscape.com
c9dd100667 News Hosts and Article Lists are now XPComified.
git-svn-id: svn://10.0.0.236/trunk@16794 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-22 02:14:08 +00:00
alecf%netscape.com
fe9d54682f modifications to support XPCOMifying mknews.cpp
git-svn-id: svn://10.0.0.236/trunk@16793 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-22 02:13:38 +00:00
pierre%netscape.com
df16f1e7d5 File Removed.
git-svn-id: svn://10.0.0.236/trunk@16792 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-22 02:04:26 +00:00
pierre%netscape.com
b650c4c03e Fixed for the Mac
git-svn-id: svn://10.0.0.236/trunk@16791 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-22 02:02:24 +00:00
waterson%netscape.com
89b8ac957e Obsolete.
git-svn-id: svn://10.0.0.236/trunk@16790 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-22 01:46:03 +00:00
despotdaemon%netscape.com
9335c0e1c3 Pseudo-automatic update of changes made by trudelle@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@16789 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-22 01:36:46 +00:00
law%netscape.com
2510e8fc62 Implemented (almost)
git-svn-id: svn://10.0.0.236/trunk@16788 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-22 01:25:46 +00:00
despotdaemon%netscape.com
ae45b63453 Pseudo-automatic update of changes made by val4@cornell.edu.
git-svn-id: svn://10.0.0.236/trunk@16787 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-22 01:20:17 +00:00
waterson%netscape.com
ccd004b025 Modified cursors to return NS_ERROR_RDF_CURSOR_EMPTY when the cursor is empty, rather than NS_ERROR_UNEXPECTED. Miscellaneous bug fixes related to new cursors.
git-svn-id: svn://10.0.0.236/trunk@16786 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-22 01:12:45 +00:00
waterson%netscape.com
682406d7b4 Added NS_ERROR_RDF_CURSOR_EMPTY error code to be returned from nsIRDFCursor::Advance() when nothing is left in the cursor.
git-svn-id: svn://10.0.0.236/trunk@16785 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-22 01:12:01 +00:00
waterson%netscape.com
d45d06ee56 Added RDF module.
git-svn-id: svn://10.0.0.236/trunk@16784 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-22 01:11:18 +00:00
despotdaemon%netscape.com
ec8c30d2c3 Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@16783 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-22 00:38:25 +00:00
waterson%netscape.com
93ad905243 New cursor interfaces.
git-svn-id: svn://10.0.0.236/trunk@16782 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-21 23:56:31 +00:00
scc%netscape.com
e9d8de921a added |dont_QueryInterface| facility, re-added the NS_ADDREF macros, though conditionally
git-svn-id: svn://10.0.0.236/trunk@16781 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-21 23:26:39 +00:00
alecf%netscape.com
2c81f40268 jefft@netscape.com's changes to eliminate calls to libmsg/libmime when composing
a cancel message


git-svn-id: svn://10.0.0.236/trunk@16780 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-21 22:47:04 +00:00
alecf%netscape.com
7325e15f1a don't go into public yet
git-svn-id: svn://10.0.0.236/trunk@16779 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-21 22:45:56 +00:00
alecf%netscape.com
a6d3000998 libmsg interfaces moved to mailnews/news/public
git-svn-id: svn://10.0.0.236/trunk@16778 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-21 22:32:34 +00:00
alecf%netscape.com
a3e035ac09 adding libnet->libmsg interfaces, including both IDL and C++ headers because
xpidl only runs on unix right now.


git-svn-id: svn://10.0.0.236/trunk@16777 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-21 22:24:51 +00:00
alecf%netscape.com
4089c941fd Don't complain about Makefile
git-svn-id: svn://10.0.0.236/trunk@16776 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-21 22:16:01 +00:00
dcone%netscape.com
827bb7fd06 Took out files no longer needed for ps, updated all the files for postscript support
git-svn-id: svn://10.0.0.236/trunk@16775 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-21 22:13:04 +00:00
alecf%netscape.com
5566c7e8db *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@16774 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-21 22:12:02 +00:00
pinkerton%netscape.com
face2561d4 Get rid of obsolete interfaces.
git-svn-id: svn://10.0.0.236/trunk@16773 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-21 21:54:29 +00:00
pinkerton%netscape.com
0988604c10 Decouple the toolbars from the toolbox once and for all. Implement collapsing/expanding toolbars with new grippy mechanism.
git-svn-id: svn://10.0.0.236/trunk@16772 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-21 21:54:17 +00:00
pinkerton%netscape.com
f7a51c375f use mozilla.org as the main page because the other was too flashy.
git-svn-id: svn://10.0.0.236/trunk@16771 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-21 21:53:13 +00:00
cls%seawood.org
fe4f265208 Use OS_CFLAGS to set debugging flags as CFLAGS gets overwritten later.
git-svn-id: svn://10.0.0.236/trunk@16770 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-21 21:34:17 +00:00
mscott%netscape.com
89350411d8 Moved nsIMsgRFC822Parser into mailnews/base/public.
git-svn-id: svn://10.0.0.236/trunk@16769 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-21 21:24:41 +00:00
mscott%netscape.com
75ca5cb9f4 Adding public to list of directories built by mailnews.
git-svn-id: svn://10.0.0.236/trunk@16768 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-21 21:24:10 +00:00
mscott%netscape.com
794cd7a4b6 These files now live in mailnews/base/public.
git-svn-id: svn://10.0.0.236/trunk@16767 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-21 21:20:48 +00:00
mscott%netscape.com
2758f89379 First checked in.
git-svn-id: svn://10.0.0.236/trunk@16766 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-21 21:13:57 +00:00
mscott%netscape.com
5ecc02dcbc First added. No files are currently in mailnews/news/public yet.
git-svn-id: svn://10.0.0.236/trunk@16765 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-21 21:12:35 +00:00
mscott%netscape.com
8adeb7c77a Added build and test directories to mailnews/base.
git-svn-id: svn://10.0.0.236/trunk@16764 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-21 21:06:36 +00:00
buster%netscape.com
324a98029b WIP for collapsing borders.
git-svn-id: svn://10.0.0.236/trunk@16763 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-21 19:20:37 +00:00
brade%netscape.com
0aa0c6bd79 attempt to fix build bustage
git-svn-id: svn://10.0.0.236/trunk@16762 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-21 18:56:03 +00:00
buster%netscape.com
9a780dd772 collapsing borders now do rounding of odd-thickness borders correctly
at the pixel level.  The odd pixel is always given to the right and bottom
cell borders whenever possible, and to the top and left table border otherwise.


git-svn-id: svn://10.0.0.236/trunk@16761 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-21 18:54:23 +00:00
cyeh%netscape.com
d076c965b5 if you don't define MOZ_LITE, MOZ_MEDIUM, or MOZ_DARK, don't define
any of the feature #ifdefs by default.
these will probably go away and die eventually.


git-svn-id: svn://10.0.0.236/trunk@16760 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-21 18:38:53 +00:00
peterl%netscape.com
8e05bf08c4 fix a ref counting bug with class atoms
git-svn-id: svn://10.0.0.236/trunk@16759 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-21 18:38:44 +00:00
troy%netscape.com
e14ddad715 Renamed NS_NewHTMLFrame() to NS_NewRootFrame()
git-svn-id: svn://10.0.0.236/trunk@16758 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-21 18:22:44 +00:00
mscott%netscape.com
f2861e4e64 First checked in.
git-svn-id: svn://10.0.0.236/trunk@16757 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-21 17:57:13 +00:00
mscott%netscape.com
aa4a05c843 First checked in.
git-svn-id: svn://10.0.0.236/trunk@16756 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-21 17:51:08 +00:00
rods%netscape.com
73a072a8c0 Added several enums for form's controls
git-svn-id: svn://10.0.0.236/trunk@16755 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-21 16:53:49 +00:00
rods%netscape.com
7acb8d2cbf Changed constants to use LookAndFeel values.
git-svn-id: svn://10.0.0.236/trunk@16754 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-21 16:52:57 +00:00
rods%netscape.com
2fb4a870a1 Added in NS_RELEASE of LookAndFeel object
git-svn-id: svn://10.0.0.236/trunk@16753 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-21 16:52:17 +00:00
brade%netscape.com
604c5ec81e have SetAlignment return NS_OK (reduce Mac compiler warnings)
git-svn-id: svn://10.0.0.236/trunk@16752 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-21 16:51:19 +00:00
vidur%netscape.com
08b60c2fa0 Ongoing work on mechanism for introducing global names into a script namespace
git-svn-id: svn://10.0.0.236/trunk@16751 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-21 16:51:10 +00:00
brade%netscape.com
30676ade73 reduce Mac compiler warnings by commenting out unused local variables
git-svn-id: svn://10.0.0.236/trunk@16750 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-21 16:48:35 +00:00
brade%netscape.com
a6eccb520c add XP_MAC to the ifdef around dbopen (was in macToBeImplemented.cp)
git-svn-id: svn://10.0.0.236/trunk@16749 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-21 16:46:17 +00:00
brade%netscape.com
1d1b53c90d added XP_FileReadLine and FE_FileType (formerly in macToBeImplemented.cp)
git-svn-id: svn://10.0.0.236/trunk@16748 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-21 16:46:10 +00:00
brade%netscape.com
ae1573ae1b remove all functions (move to nsNetStubs.cpp and nsMacFile.cp)
git-svn-id: svn://10.0.0.236/trunk@16747 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-21 16:46:03 +00:00
brade%netscape.com
f7d614172a remove extra comma to reduce Macintosh compiler warnings
git-svn-id: svn://10.0.0.236/trunk@16746 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-21 16:40:46 +00:00
brade%netscape.com
eea6e4ca83 remove extra comma to reduce warnings on Mac
git-svn-id: svn://10.0.0.236/trunk@16745 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-21 16:39:17 +00:00
rods%netscape.com
3d2ee270ed Added better default processing of hint
git-svn-id: svn://10.0.0.236/trunk@16744 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-21 13:29:32 +00:00
peterl%netscape.com
406de8984a fixed a crasher when mapping list or table style with a null parent context
git-svn-id: svn://10.0.0.236/trunk@16743 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-21 07:48:12 +00:00
buster%netscape.com
f0d639e1bc beginnings of collapsing borders now implemented. Doesn't work for spanning cells yet,
and doesn't measure borders where the width changes along a shared edge yet.


git-svn-id: svn://10.0.0.236/trunk@16742 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-21 06:38:18 +00:00
buster%netscape.com
49403601af fixes for PaintBorderEdges
git-svn-id: svn://10.0.0.236/trunk@16741 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-21 06:37:10 +00:00
buster%netscape.com
2b86e9ad34 added mLength to nsBorderEdge
git-svn-id: svn://10.0.0.236/trunk@16740 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-21 06:35:45 +00:00
peterl%netscape.com
7397117a9f fix spelling
fix namespace of HTML element's attributes


git-svn-id: svn://10.0.0.236/trunk@16739 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-21 05:59:40 +00:00
peterl%netscape.com
3fa2aa8cd6 fix spelling
git-svn-id: svn://10.0.0.236/trunk@16738 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-21 05:58:58 +00:00
peterl%netscape.com
7caa8001b4 fix spelling
moved inline automatic key object out of line for buggy unix compilers


git-svn-id: svn://10.0.0.236/trunk@16737 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-21 05:58:31 +00:00
peterl%netscape.com
e734385812 added support for the 'xmlns' pseudo namespace
git-svn-id: svn://10.0.0.236/trunk@16736 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-21 05:56:51 +00:00
peterl%netscape.com
b20028be50 rename string key to make buggy unix compilers happy
git-svn-id: svn://10.0.0.236/trunk@16735 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-21 05:55:44 +00:00
troy%netscape.com
53950b34bb Changed the frame hierarchy, and changed how scrolling works. Also added
nsAreaFrame which replaces nsBodyFrame which is no longer used


git-svn-id: svn://10.0.0.236/trunk@16734 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-20 23:29:47 +00:00
guha%netscape.com
09258f3d67 more of in-memory data source.
Not yet in build system


git-svn-id: svn://10.0.0.236/trunk@16733 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-20 19:49:10 +00:00
pierre%netscape.com
e7b77e958f Fix forms: XP_MAC code was missing in GetHorizontalInsidePadding and GetVerticalInsidePadding
git-svn-id: svn://10.0.0.236/trunk@16732 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-20 13:18:10 +00:00
pierre%netscape.com
16d2b789af Remove 'mBounds' that was hidding a recently added member variable with the same name in nsBaseWidget
git-svn-id: svn://10.0.0.236/trunk@16731 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-20 13:16:48 +00:00
pierre%netscape.com
c64aa75ac1 Improve performance on Mac: make the root view invisible
git-svn-id: svn://10.0.0.236/trunk@16730 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-20 13:16:13 +00:00
pierre%netscape.com
1a1dd95f2b Improve performance on Mac: disable the Composite timer (temporary code - see comments)
git-svn-id: svn://10.0.0.236/trunk@16729 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-20 13:15:41 +00:00
pierre%netscape.com
9fe6003b44 Added a reminder to not always pass the entire widget rect in NS_PAINT_EVENTs
git-svn-id: svn://10.0.0.236/trunk@16728 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-20 13:14:29 +00:00
ramiro%netscape.com
716994af04 Ignore generated Makefile.
git-svn-id: svn://10.0.0.236/trunk@16727 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-20 08:27:09 +00:00
ramiro%netscape.com
a677499a6f Renamed 'main' to 'scribble'.
git-svn-id: svn://10.0.0.236/trunk@16726 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-20 08:22:02 +00:00
guha%netscape.com
456e939d21 the new in-memory data source.
Not yet in the makefiles


git-svn-id: svn://10.0.0.236/trunk@16725 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-20 01:45:42 +00:00
peterl%netscape.com
d3408b8d1d sync to new attribute api
git-svn-id: svn://10.0.0.236/trunk@16724 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-20 01:35:57 +00:00
peterl%netscape.com
52a0043631 sync to new attribute api
git-svn-id: svn://10.0.0.236/trunk@16723 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-20 01:21:23 +00:00
peterl%netscape.com
739473adbe attribute selector work
git-svn-id: svn://10.0.0.236/trunk@16722 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-20 01:19:22 +00:00
peterl%netscape.com
9fc5474ec3 fix equals to not be case sensative
git-svn-id: svn://10.0.0.236/trunk@16721 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-20 01:18:47 +00:00
peterl%netscape.com
383389930f sync to new attribute api
added multiple class support


git-svn-id: svn://10.0.0.236/trunk@16720 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-20 01:17:50 +00:00
peterl%netscape.com
60f703edc5 implement multiple class support
implement attribute selector support


git-svn-id: svn://10.0.0.236/trunk@16719 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-20 01:17:05 +00:00
peterl%netscape.com
6afb1d76a9 added case sensativity flag to attribute selectors
git-svn-id: svn://10.0.0.236/trunk@16718 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-20 01:16:20 +00:00
peterl%netscape.com
6a9c1924cc fixes to attribute selector parsing
git-svn-id: svn://10.0.0.236/trunk@16717 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-20 01:15:18 +00:00
peterl%netscape.com
b3da4ac017 fix background flags initial value
tweak table inheritance quirk


git-svn-id: svn://10.0.0.236/trunk@16716 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-20 01:11:36 +00:00
peterl%netscape.com
b9266d33d7 made get strength const
git-svn-id: svn://10.0.0.236/trunk@16715 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-20 01:08:31 +00:00
peterl%netscape.com
6c56fda631 changed attribute api to take atoms & namespace
git-svn-id: svn://10.0.0.236/trunk@16714 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-20 01:08:13 +00:00
peterl%netscape.com
018edaedaa sync to new attribute api
implement local attribute storage with namespace support


git-svn-id: svn://10.0.0.236/trunk@16713 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-20 01:07:21 +00:00
ramiro%netscape.com
8b1319e1ac Comment out the GARBAGE entry for generated files.
nsHTMLTags.h nsHTMLTags.cpp nsHTMLEntities.cpp were being treated as
GARBAGE since they are generated.  But, they are also checked in to the
repository, which breaks clobber builds.


git-svn-id: svn://10.0.0.236/trunk@16712 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-20 01:04:40 +00:00
guha%netscape.com
380bc170be More for OpenDir
git-svn-id: svn://10.0.0.236/trunk@16711 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-20 00:16:45 +00:00
pavlov%pavlov.net
c5e9de682e we require gtk 1.1.6 now
git-svn-id: svn://10.0.0.236/trunk@16710 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-19 20:10:31 +00:00
pavlov%pavlov.net
8b89e99baf fix crash
git-svn-id: svn://10.0.0.236/trunk@16709 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-19 20:02:31 +00:00
pavlov%pavlov.net
96867d96c4 require 1.1.6 instead of 1.1.9 (which replaced 1.1.5)
git-svn-id: svn://10.0.0.236/trunk@16708 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-19 20:01:39 +00:00
pavlov%pavlov.net
2920c69b1b require GTK 1.1.9
git-svn-id: svn://10.0.0.236/trunk@16707 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-19 18:04:31 +00:00
pavlov%pavlov.net
6964b62775 lots and lots of code cleanup.
git-svn-id: svn://10.0.0.236/trunk@16706 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-19 18:04:06 +00:00
pavlov%pavlov.net
061f365e37 s/ :: /::/
git-svn-id: svn://10.0.0.236/trunk@16705 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-19 18:01:17 +00:00
michaelp%netscape.com
9708832dd7 the corner view works again, and thanks to michael.lowe@bigfoot.com it paints
in the correct system specified "background" color.


git-svn-id: svn://10.0.0.236/trunk@16704 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-19 06:20:36 +00:00
alecf%netscape.com
c164c7f97a drum roll please...
...and tonight, for your enjoyment, we present mail/news's fourth
entry to mozilla.org!


git-svn-id: svn://10.0.0.236/trunk@16703 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-19 02:35:13 +00:00
vidur%netscape.com
21d61ca5f1 Script global namespace management.
git-svn-id: svn://10.0.0.236/trunk@16702 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-19 02:11:17 +00:00
alecf%netscape.com
8f5fd569ee XPCOMify access to nsIMsgXOVERParser
git-svn-id: svn://10.0.0.236/trunk@16701 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-19 01:59:32 +00:00
alecf%netscape.com
970293ac91 update makefiles to reflect XPComification
git-svn-id: svn://10.0.0.236/trunk@16700 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-19 01:59:07 +00:00
alecf%netscape.com
82ccb59aef Add the NPL
git-svn-id: svn://10.0.0.236/trunk@16699 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-19 01:48:35 +00:00
alecf%netscape.com
9bbcaed4ae update interfaces slightly to include nsISupports and use it
git-svn-id: svn://10.0.0.236/trunk@16698 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-19 01:19:51 +00:00
mscott%netscape.com
892eb98fdb Just created.
git-svn-id: svn://10.0.0.236/trunk@16697 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-19 01:07:40 +00:00
akkana%netscape.com
c72b56daa3 Turn on debug by default
git-svn-id: svn://10.0.0.236/trunk@16696 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-19 00:10:52 +00:00
hyatt%netscape.com
39846f5631 Implemented expanding/collapsing nodes in the tree view AND implemented
selection in the tree view.


git-svn-id: svn://10.0.0.236/trunk@16695 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 23:57:11 +00:00
hyatt%netscape.com
0ca9be168d Patching GetAttribute (the default was returning a value that indicated that the
attribute was present, and it should have been returning NOT THERE as a default).


git-svn-id: svn://10.0.0.236/trunk@16694 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 23:56:37 +00:00
mcmullen%netscape.com
33b627e518 Added an NS_BASE for windows.
git-svn-id: svn://10.0.0.236/trunk@16693 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 23:30:44 +00:00
akkana%netscape.com
527d116f03 Add -ljsurl -- needed for linux build
git-svn-id: svn://10.0.0.236/trunk@16692 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 23:13:58 +00:00
akkana%netscape.com
ef0129559b Add a comment explaining ComparePoints
git-svn-id: svn://10.0.0.236/trunk@16691 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 23:13:25 +00:00
akkana%netscape.com
4ee0d91310 Fix startup crash -- when setting one endpoint with the other one null, collapse the range
git-svn-id: svn://10.0.0.236/trunk@16690 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 23:12:29 +00:00
alecf%netscape.com
00d20bc63a XPCOMify news hosts by using nsIMsgNewsHost instead of MSG_NewsHost
git-svn-id: svn://10.0.0.236/trunk@16689 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 23:07:08 +00:00
mcmullen%netscape.com
a4ac66b40a Rewrote the stream stuff to be simple, since Unix build environment cannot even handle ostream and istream. This builds and runs correctly on Linux and Macintosh now.
git-svn-id: svn://10.0.0.236/trunk@16688 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 23:06:54 +00:00
alecf%netscape.com
fe18aadf26 placeholder IDLs (eventually to go into libmsg)
git-svn-id: svn://10.0.0.236/trunk@16687 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 23:02:02 +00:00
mcmullen%netscape.com
4f05dc99af First Checked In.
git-svn-id: svn://10.0.0.236/trunk@16686 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 22:38:28 +00:00
terry%netscape.com
3f9c05e76a In the list of users, the voucher now shows up as an email address,
rather than a id number.


git-svn-id: svn://10.0.0.236/trunk@16685 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 22:37:43 +00:00
pierre%netscape.com
1ef11a145a Added layout/html/base/src/nsAreaFrame.cpp per Troy's request
git-svn-id: svn://10.0.0.236/trunk@16684 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 22:34:29 +00:00
kipp%netscape.com
e5e296e58c Implement GetSkipSides so that continued inline frames render properly
git-svn-id: svn://10.0.0.236/trunk@16683 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 22:12:42 +00:00
kipp%netscape.com
275833b30d Display inline borders/background during content painting, not during background painting (per css2 spec)
git-svn-id: svn://10.0.0.236/trunk@16682 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 22:12:15 +00:00
donm%netscape.com
8d025021af making --with-static-gtk work for apprunner.
git-svn-id: svn://10.0.0.236/trunk@16681 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 21:58:57 +00:00
terry%netscape.com
9cf5b1d99d Added xpidl.
git-svn-id: svn://10.0.0.236/trunk@16680 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 21:16:34 +00:00
akkana%netscape.com
4b24d97a17 Attempt to patch mac build error
git-svn-id: svn://10.0.0.236/trunk@16679 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 21:04:33 +00:00
vidur%netscape.com
648ad628b7 Added IID for nsIUnicharStreamLoader
git-svn-id: svn://10.0.0.236/trunk@16678 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 19:38:19 +00:00
karnaze%netscape.com
b22c5ee5b9 changed to use rowIndex and sectionRowIndex
git-svn-id: svn://10.0.0.236/trunk@16677 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 19:03:33 +00:00
michaelp%netscape.com
440e801148 Fixed default hint for attribute changed - it wasn't being set.
Special-cased SRC attribute for nsHTMLImageElement.


git-svn-id: svn://10.0.0.236/trunk@16676 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 19:02:36 +00:00
troy%netscape.com
90fa7951a8 Added nsAreaFrame.cpp
git-svn-id: svn://10.0.0.236/trunk@16675 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 17:59:13 +00:00
troy%netscape.com
b47c186427 Initial check-in
git-svn-id: svn://10.0.0.236/trunk@16674 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 17:54:54 +00:00
kipp%netscape.com
d3035fbd10 Fixed numerous compiler warnings (hopefully) from the mac build
git-svn-id: svn://10.0.0.236/trunk@16673 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 17:34:34 +00:00
troy%netscape.com
f02e1a1119 Minor cleanup
git-svn-id: svn://10.0.0.236/trunk@16672 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 17:33:23 +00:00
terry%netscape.com
ce7e27ef33 Whoops! Peers names and email addresses were being mismatched.
git-svn-id: svn://10.0.0.236/trunk@16671 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 17:32:24 +00:00
shaver%netscape.com
eca2711718 invoke -> typelib
git-svn-id: svn://10.0.0.236/trunk@16670 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 17:12:07 +00:00
karnaze%netscape.com
a752804b3a added remaining dom methods
git-svn-id: svn://10.0.0.236/trunk@16669 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 17:05:17 +00:00
dcone%netscape.com
cec5e973ac Renamed files for the Postscript directory in GFX
git-svn-id: svn://10.0.0.236/trunk@16668 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 16:36:47 +00:00
rods%netscape.com
504aaf12bd Add <LABEL> tags arounf checkboxes and radiobuttons
git-svn-id: svn://10.0.0.236/trunk@16667 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 16:24:53 +00:00
kipp%netscape.com
eaee82d4b3 Revised frame Paint API
git-svn-id: svn://10.0.0.236/trunk@16666 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 15:54:23 +00:00
rods%netscape.com
8f45a6eabc Added <LABEL> tag to all the checkboxes and radiobuttons.
git-svn-id: svn://10.0.0.236/trunk@16665 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 15:35:38 +00:00
pierre%netscape.com
332b42bb81 Update() no longer passes the rendering context to the children
git-svn-id: svn://10.0.0.236/trunk@16664 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 13:34:39 +00:00
pierre%netscape.com
8f2719f5aa Update() no longer passes the rendering context to the children and ignore invisible widgets
git-svn-id: svn://10.0.0.236/trunk@16663 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 13:34:22 +00:00
pierre%netscape.com
d644ebc792 Enable double buffering on Mac
git-svn-id: svn://10.0.0.236/trunk@16662 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 13:33:55 +00:00
pierre%netscape.com
406ce1034d Fixed/implemented offscreen drawings - numerous changes
git-svn-id: svn://10.0.0.236/trunk@16661 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 13:33:31 +00:00
pierre%netscape.com
c29cc486d3 Fixed continuous drawing of controls by doing a ValidRect after DrawControl
git-svn-id: svn://10.0.0.236/trunk@16660 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 13:29:39 +00:00
pierre%netscape.com
fc485403b5 Call DeviceContextImpl::Init() just because Windows does it
git-svn-id: svn://10.0.0.236/trunk@16659 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 13:29:06 +00:00
jfrancis%netscape.com
fe1969d001 More range gravity work
git-svn-id: svn://10.0.0.236/trunk@16657 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 09:32:40 +00:00
jfrancis%netscape.com
ec9059a86a More range gravity work
git-svn-id: svn://10.0.0.236/trunk@16656 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 09:28:55 +00:00
troy%netscape.com
1084cdf38d Fixed a compiler warning by include nsHTMLParts.h
git-svn-id: svn://10.0.0.236/trunk@16653 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 05:52:05 +00:00
troy%netscape.com
9c2ff0a7c5 Fixed a couple of compiler wanrings by including nsHTMLParts.h
git-svn-id: svn://10.0.0.236/trunk@16652 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 05:50:19 +00:00
troy%netscape.com
c20c8a8180 Fixed a compiler warning where there was an extra ',' after an enum
identifier


git-svn-id: svn://10.0.0.236/trunk@16651 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 05:46:00 +00:00
troy%netscape.com
0985cec450 Fixed a compiler warning by including nsHTMLParts.h
git-svn-id: svn://10.0.0.236/trunk@16650 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 05:44:26 +00:00
waterson%netscape.com
dac9ae77a4 RDF interface changes.
git-svn-id: svn://10.0.0.236/trunk@16649 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 05:38:59 +00:00
waterson%netscape.com
f51e5e8b7e Incorporate comments from guha, jband, etc. Differentiate between resources and literals, make core interfaces comply with XPCOM stuff.
git-svn-id: svn://10.0.0.236/trunk@16648 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 05:38:24 +00:00
troy%netscape.com
abce0b152c Eliminated a bunch of code now that CreateViewForFrame() takes care of calling
SetScrolledView()


git-svn-id: svn://10.0.0.236/trunk@16647 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 05:26:16 +00:00
troy%netscape.com
cb9f7f7608 Changed CreateViewForFrame() to check whether the parent view is a scrolling
view and if so use SetScrolledView() instead of the view manager's InsertChild().
This ensures that the scrolled frame's view is inserted as a child of the clip
view during the view initialization stage


git-svn-id: svn://10.0.0.236/trunk@16646 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 05:25:36 +00:00
troy%netscape.com
2bada305e0 Reverted back to previous revision, because I came up with a cleaner
solution


git-svn-id: svn://10.0.0.236/trunk@16645 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 05:23:40 +00:00
alecf%netscape.com
c1c9a2b786 start pluggin in XPCOM calls for nsIMsgXOVERParser and nsIMsgNewsArticleList
git-svn-id: svn://10.0.0.236/trunk@16644 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 05:21:44 +00:00
troy%netscape.com
f5bb9f4438 Re-ordered the call to set the scroll frame's initial child list so that
the XML demos work again. This is really a temporary change until things
get fixed right...


git-svn-id: svn://10.0.0.236/trunk@16643 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 04:59:14 +00:00
shaver%netscape.com
2d0eafe945 need these libs to link apprunner
git-svn-id: svn://10.0.0.236/trunk@16642 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 04:47:26 +00:00
alecf%netscape.com
a54fa61041 use #defines instead of hardcoded response codes
git-svn-id: svn://10.0.0.236/trunk@16641 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 04:22:23 +00:00
sdagley%netscape.com
e744a5d305 Added nsNetStreamLoader.cpp to project for vidur
git-svn-id: svn://10.0.0.236/trunk@16640 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 04:08:39 +00:00
scc%netscape.com
a5e6d7e9b5 NSCAP_FEATURE_DONT_ADDREF is no longer optional, and the symbol has gone away. This facility turns out to be needed. Also catch the case when operator= is called on a dereferenced smart pointer. Fixed some documentation.
git-svn-id: svn://10.0.0.236/trunk@16638 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 03:45:44 +00:00
scc%netscape.com
46ba36922f NSCAP_FEATURE_DONT_ADDREF is no longer optional, and the symbol has gone away. This facility turns out to be needed.
git-svn-id: svn://10.0.0.236/trunk@16637 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 03:44:51 +00:00
scc%netscape.com
d20b401d1b Added static IID() method. This member function will be generated automatically in the future.
git-svn-id: svn://10.0.0.236/trunk@16636 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 03:43:29 +00:00
troy%netscape.com
8c848640b3 Changed static casts so they compiled under VC 6.0
git-svn-id: svn://10.0.0.236/trunk@16635 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 03:29:51 +00:00
shaver%netscape.com
831aebce72 resprinkle NO_STATIC_LIB, but spare libpng so that viewer is cool. Also, repair some viewer/apprunner link foibles
git-svn-id: svn://10.0.0.236/trunk@16634 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 02:55:23 +00:00
blizzard%appliedtheory.com
c30a7ff7e5 Saner nsTimer implementation for gtk. This probably still isn't right
but it works a lot better.  Also, work around getting really strange
timeouts and print an error when you get one.


git-svn-id: svn://10.0.0.236/trunk@16633 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 02:55:20 +00:00
blizzard%appliedtheory.com
655a1097a6 only destroy the widget if it has actually been created
git-svn-id: svn://10.0.0.236/trunk@16632 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 02:52:55 +00:00
jfrancis%netscape.com
300be32995 More range gravity work
git-svn-id: svn://10.0.0.236/trunk@16631 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 02:51:34 +00:00
alecf%netscape.com
d062db000f fix warnings/format problems
git-svn-id: svn://10.0.0.236/trunk@16630 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 02:48:57 +00:00
alecf%netscape.com
41a04a213e add new mknews rosetta stuff
git-svn-id: svn://10.0.0.236/trunk@16626 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 01:50:43 +00:00
vidur%netscape.com
806d3c5bf2 Added asynchronous script and style loading to XML. Moved out stream loader to netlib.
git-svn-id: svn://10.0.0.236/trunk@16625 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 01:36:41 +00:00
vidur%netscape.com
9b098a8dba Added stream loader
git-svn-id: svn://10.0.0.236/trunk@16624 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 01:34:30 +00:00
waterson%netscape.com
119c41470d Fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@16623 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 01:33:26 +00:00
waterson%netscape.com
a6e303e89e Added IID() method to fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@16622 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 01:33:04 +00:00
mjudge%netscape.com
275f8a3a95 fixing build
git-svn-id: svn://10.0.0.236/trunk@16621 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 01:09:11 +00:00
davidm%netscape.com
b6db010663 Fix problems with multiple windows leaking the event queue
git-svn-id: svn://10.0.0.236/trunk@16620 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 23:10:42 +00:00
buster%netscape.com
bb9c01d77b WIP on border collapsing
git-svn-id: svn://10.0.0.236/trunk@16619 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 22:59:40 +00:00
buster%netscape.com
32c13321e7 added PainBorderSegments
git-svn-id: svn://10.0.0.236/trunk@16618 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 22:58:51 +00:00
buster%netscape.com
4f61c6e05f added nsBorderEdge and nsBorderEdges
git-svn-id: svn://10.0.0.236/trunk@16617 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 22:58:23 +00:00
hyatt%netscape.com
906a026df1 Fixing Pink's build bustage.
git-svn-id: svn://10.0.0.236/trunk@16616 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 22:48:36 +00:00
alecf%netscape.com
9cd50c590e remove old broken mknews
git-svn-id: svn://10.0.0.236/trunk@16615 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 22:45:48 +00:00
alecf%netscape.com
d9196c8135 switch over to new C++ versions of news
git-svn-id: svn://10.0.0.236/trunk@16614 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 22:45:08 +00:00
alecf%netscape.com
cee6075cda first insert of mknews (C++ version) into netlib from Nova
git-svn-id: svn://10.0.0.236/trunk@16613 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 22:44:04 +00:00
troy%netscape.com
9debb42671 Backed the change back out
git-svn-id: svn://10.0.0.236/trunk@16612 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 22:25:59 +00:00
pnunn%netscape.com
26e8b90813 Bugzilla#1971: Jpeg files larger than max size not handled properly. -pnunn
git-svn-id: svn://10.0.0.236/trunk@16611 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 22:16:27 +00:00
pinkerton%netscape.com
887cbb215b using nsCOMPtr and grippies are now drawn by hand so we can get the right look and scaling. Separation of grippies from toolbar in place with ifdefs.
git-svn-id: svn://10.0.0.236/trunk@16610 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 22:15:48 +00:00
akkana%netscape.com
eeeb204407 update the branch of nsprpub we're pulling
git-svn-id: svn://10.0.0.236/trunk@16609 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 22:15:22 +00:00
pinkerton%netscape.com
d43795a7a8 using nsCOMPtr
git-svn-id: svn://10.0.0.236/trunk@16608 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 22:15:09 +00:00
pinkerton%netscape.com
8da08e85fc using nsCOMPtr and preparing for separation from grippy and toolbar manager with ifdefs.
git-svn-id: svn://10.0.0.236/trunk@16607 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 22:14:28 +00:00
pinkerton%netscape.com
fdae4db922 removed obsolete event handlers.
git-svn-id: svn://10.0.0.236/trunk@16606 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 22:13:58 +00:00
pinkerton%netscape.com
839dd30dcf inserted IID() method for use with nsCOMPtr.
git-svn-id: svn://10.0.0.236/trunk@16605 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 22:13:41 +00:00
hyatt%netscape.com
3a0aa5a0b5 Paving the way for the implementation of expanding/collapsing folders.
git-svn-id: svn://10.0.0.236/trunk@16604 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 22:11:51 +00:00
law%netscape.com
34407e985d *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@16603 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 21:56:06 +00:00
troy%netscape.com
16badfe907 Changed Paint() to only paing the border if the style info says we're visible
git-svn-id: svn://10.0.0.236/trunk@16602 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 21:34:41 +00:00
despotdaemon%netscape.com
e534e78497 Pseudo-automatic update of changes made by paulmac@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@16601 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 20:47:01 +00:00
scc%netscape.com
261d8c4bf9 Fixed build bustage (bad access paths)
git-svn-id: svn://10.0.0.236/trunk@16600 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 19:47:47 +00:00
alecf%netscape.com
b2644a7deb certain methods were not spitting out = 0 at the end of the header
git-svn-id: svn://10.0.0.236/trunk@16599 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 19:39:10 +00:00
mjudge%netscape.com
3d5e302f6d removing files from repository
git-svn-id: svn://10.0.0.236/trunk@16598 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 19:39:02 +00:00
scc%netscape.com
bc7994a1ef enabled the dont_AddRef feature, for when functions return an already AddRefed result, e.g. |mSmartPtr = dont_AddRef(GetThing());|
git-svn-id: svn://10.0.0.236/trunk@16597 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 19:32:00 +00:00
scc%netscape.com
a09cdf1a14 COM_auto_ptr --> nsCOMPtr
git-svn-id: svn://10.0.0.236/trunk@16596 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 19:27:29 +00:00
mjudge%netscape.com
28a5884fce changing COM_auto_ptr to nsCOMPtr.h
git-svn-id: svn://10.0.0.236/trunk@16595 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 19:26:17 +00:00
mjudge%netscape.com
e0271df732 changing auto ptr to use the new header
git-svn-id: svn://10.0.0.236/trunk@16594 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 19:25:32 +00:00
scc%netscape.com
82b43093b4 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@16593 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 19:21:58 +00:00
slamm%netscape.com
cfc5177808 Turn off frames for build log. Frames are evil.
git-svn-id: svn://10.0.0.236/trunk@16592 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 19:16:35 +00:00
scc%netscape.com
113beb03ea First Checked In.
git-svn-id: svn://10.0.0.236/trunk@16591 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 19:12:45 +00:00
kipp%netscape.com
1601fdb733 Disabled skid marks
git-svn-id: svn://10.0.0.236/trunk@16590 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 19:10:53 +00:00
kipp%netscape.com
396fe5cf50 Partial whack at supporting more accurate max-element-size computations
git-svn-id: svn://10.0.0.236/trunk@16589 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 18:55:42 +00:00
kipp%netscape.com
c84da05ca6 nuked some tabs; added in comment to note where max-element-size computation should be fixed up
git-svn-id: svn://10.0.0.236/trunk@16588 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 18:55:13 +00:00
kipp%netscape.com
59fd0fcd5b Added set/get empty line methods (currently unused)
git-svn-id: svn://10.0.0.236/trunk@16587 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 18:54:40 +00:00
kipp%netscape.com
5a88b6edb8 Add in border and padding to get the max-element-size right
git-svn-id: svn://10.0.0.236/trunk@16586 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 18:54:22 +00:00
kipp%netscape.com
fbc5369c73 Add in margin top and bottom to max-element-size height
git-svn-id: svn://10.0.0.236/trunk@16585 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 18:54:07 +00:00
kipp%netscape.com
7f10d74dd3 Added the AddBorderPaddingToMaxElementSize method to make it easy for implementors to get it right
git-svn-id: svn://10.0.0.236/trunk@16584 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 18:53:14 +00:00
kipp%netscape.com
025e0d4ba8 Factor in margins into in-flow-bounds rect; update max-element-size to include the margins around the block element
git-svn-id: svn://10.0.0.236/trunk@16583 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 18:52:45 +00:00
kipp%netscape.com
c5f1d3ba49 Clean up max-element-size computations; added code to remove empty lines (disabled for now)
git-svn-id: svn://10.0.0.236/trunk@16582 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 18:52:10 +00:00
kipp%netscape.com
0dcc919b64 Added methods for get floater info in the band and a method to compute the impact on the max-element-size of the floaters
git-svn-id: svn://10.0.0.236/trunk@16581 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 18:50:45 +00:00
kipp%netscape.com
48aa04cc90 Made nsBandTrapezoid::GetRect const
git-svn-id: svn://10.0.0.236/trunk@16580 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 18:49:39 +00:00
rods%netscape.com
5b9e4e49dd Added LBS_EXTENDEDSEL flag to get the proper MULTIPLE seleciton behavior
git-svn-id: svn://10.0.0.236/trunk@16579 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 18:44:52 +00:00
beard%netscape.com
abf0e29960 Added mPluginPort, which is either the assigned port, or an empty one shared among all plugin instances. This should inhibit drawing when an applet leaves the current page. Added explicit releaseFrames(), called by MRJContext's destructor, so that any frames owned by the applet will be disconnected from the C++ objects before the objects go away.
git-svn-id: svn://10.0.0.236/trunk@16578 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 18:22:22 +00:00
beard%netscape.com
ae484588d7 Added mPluginPort, which is either the assigned port, or an empty one shared among all plugin instances. This should inhibit drawing when an applet leaves the current page.
git-svn-id: svn://10.0.0.236/trunk@16577 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 18:20:42 +00:00
beard%netscape.com
36d1bb04a4 Added the initial reference count. Might want to revisit this, should realy tie lifetime of the plugin itself to the CFM library.
git-svn-id: svn://10.0.0.236/trunk@16576 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 18:19:40 +00:00
beard%netscape.com
148860a0e0 Converted to Pro 4 format.
git-svn-id: svn://10.0.0.236/trunk@16575 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 18:18:46 +00:00
shaver%netscape.com
1919fa1881 add webshell/tests/viewer/public/Makefile to let viewer build again
git-svn-id: svn://10.0.0.236/trunk@16574 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 17:43:17 +00:00
rods%netscape.com
92cead7b60 Fixed a bug I created in GetStyleHintForAttributeChange
git-svn-id: svn://10.0.0.236/trunk@16573 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 16:38:43 +00:00
dcone%netscape.com
90d3cc2f62 Added a manifest from viewer, and samples from resources for Rods changes
git-svn-id: svn://10.0.0.236/trunk@16571 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 16:15:45 +00:00
dcone%netscape.com
bebabe6f2e updated rods changes
git-svn-id: svn://10.0.0.236/trunk@16570 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 16:14:58 +00:00
dcone%netscape.com
182bc0bdba First Checked In.
git-svn-id: svn://10.0.0.236/trunk@16569 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 16:14:18 +00:00
kin%netscape.com
f76447a07f Modified file so that txmgr only gets built if MOZ_EDITOR is defined. This fixes
build bustage for people who want to build gecko without pulling the editor
directory.


git-svn-id: svn://10.0.0.236/trunk@16568 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 15:53:55 +00:00
rods%netscape.com
6a3999f05a Added HTML dialog support for "Find" and "PrintSetup"
git-svn-id: svn://10.0.0.236/trunk@16567 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 15:52:48 +00:00
rods%netscape.com
53c8b2569f Added processing hint for the "value" attribute
git-svn-id: svn://10.0.0.236/trunk@16566 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 15:27:01 +00:00
jfrancis%netscape.com
1de3312ae2 ok, so I forgot about rdf content. Now it has range gravity hooks, which do nothing.
git-svn-id: svn://10.0.0.236/trunk@16565 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 08:31:33 +00:00
buster%netscape.com
7dbb291b72 more WIP, no new code operational
git-svn-id: svn://10.0.0.236/trunk@16564 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 07:56:24 +00:00
jfrancis%netscape.com
214410065f Adding support for notifying content that it harbors a DOMRange.
git-svn-id: svn://10.0.0.236/trunk@16563 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 07:22:28 +00:00
buster%netscape.com
acd2f83b0d WIP collapsing border implementation
added CompareBorderStyles, GetWidthForSide, ComputeCollapsedBorderSegment
we're now computing the left edge segments somewhat correctly.


git-svn-id: svn://10.0.0.236/trunk@16562 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 07:04:42 +00:00
fur%netscape.com
6fdf35b4ee Adding SportModel, Warren Harris' partially complete garbage collector
code for the ElectricalFire JIT.


git-svn-id: svn://10.0.0.236/trunk@16558 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 07:00:17 +00:00
fur%netscape.com
d6c51785c1 Added Todd Proebsting's BURG to the tree, now that it's in the public domain.
git-svn-id: svn://10.0.0.236/trunk@16557 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 06:36:50 +00:00
wtc%netscape.com
00716e9f00 BSD/OS 4.0 fix, contributed by Bert Driehuis <driehuis@playbeing.org>.
git-svn-id: svn://10.0.0.236/trunk@16556 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 06:26:24 +00:00
sar%netscape.com
1d24e667da remove Mozilla from the list of cared about trees
git-svn-id: svn://10.0.0.236/trunk@16555 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 06:02:45 +00:00
sfraser%netscape.com
b49dbf5343 Add ; after class definition
git-svn-id: svn://10.0.0.236/trunk@16552 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 01:42:02 +00:00
law%netscape.com
e5f25e41f7 New bootstrapping code
git-svn-id: svn://10.0.0.236/trunk@16551 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 01:41:50 +00:00
sfraser%netscape.com
53f91a8d74 Add flag to clobber existing libraries and SYM files before building each project.
git-svn-id: svn://10.0.0.236/trunk@16548 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 01:24:37 +00:00
sfraser%netscape.com
2fdcede511 File Removed.
git-svn-id: svn://10.0.0.236/trunk@16547 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 01:21:56 +00:00
rods%netscape.com
a26d808264 Changed GetStyleHintForAttributeChange to return NS_STYLE_HINT_CONTENT
when there is a widget and return NS_STYLE_HINT_REFLOW when there isn't


git-svn-id: svn://10.0.0.236/trunk@16546 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 00:24:58 +00:00
buster%netscape.com
56e65bc685 use default constructor and destructor
git-svn-id: svn://10.0.0.236/trunk@16545 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 00:19:43 +00:00
hyatt%netscape.com
6156f1b8bc Fixing build bustage. Sorry!
git-svn-id: svn://10.0.0.236/trunk@16544 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 00:07:23 +00:00
hyatt%netscape.com
5ecb5d5e3e Fixing build bustage. Sorry!
git-svn-id: svn://10.0.0.236/trunk@16543 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 00:05:06 +00:00
mcmullen%netscape.com
9d22403d39 Set the error log file type so that it's a CodeWarrior file.
git-svn-id: svn://10.0.0.236/trunk@16542 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 23:48:55 +00:00
buster%netscape.com
ae77c06acc an encapsulation of border information
git-svn-id: svn://10.0.0.236/trunk@16541 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 23:42:22 +00:00
despotdaemon%netscape.com
3fcf8b76d0 Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@16540 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 23:16:22 +00:00
terry%netscape.com
1689e5634a Applied patch by cbaldwin@siara.com -- make sorting by "importance"
use "severity" as a secondary sort.  Fixes bug 1907.


git-svn-id: svn://10.0.0.236/trunk@16539 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 23:13:19 +00:00
hyatt%netscape.com
87091d27c8 Added code for hit detection. (Can now detect a hit on the trigger and tell
which row/column was hit.)


git-svn-id: svn://10.0.0.236/trunk@16538 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 23:02:30 +00:00
buster%netscape.com
14d33feee0 oops, there were duplicate entries for border collapse values. Now there's not.
git-svn-id: svn://10.0.0.236/trunk@16537 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 22:20:44 +00:00
buster%netscape.com
81b46aab62 WIP collapsing border work
git-svn-id: svn://10.0.0.236/trunk@16536 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 22:19:23 +00:00
hyatt%netscape.com
69cb7363fc Modifications for rollover color support.
git-svn-id: svn://10.0.0.236/trunk@16535 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 22:06:26 +00:00
davidm%netscape.com
dc02d2f159 Add mac code to get NSPR event queue for dispatching of link click events
git-svn-id: svn://10.0.0.236/trunk@16534 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 22:05:04 +00:00
davidm%netscape.com
beb59c3753 First pass at adding nspr event queue on the mac so that clicking on links works properly
git-svn-id: svn://10.0.0.236/trunk@16533 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 22:03:18 +00:00
sfraser%netscape.com
5fdb6c621c Fix the target name for building XPAppViewer.mcp
git-svn-id: svn://10.0.0.236/trunk@16532 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 21:45:20 +00:00
alecf%netscape.com
c6293b5192 don't use straight Makefiles
git-svn-id: svn://10.0.0.236/trunk@16531 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 19:23:08 +00:00
guha%netscape.com
e044ea58c6 more search stuff for opendir
git-svn-id: svn://10.0.0.236/trunk@16530 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 19:20:49 +00:00
wtc%netscape.com
1ea155fbbe Removed the #ifndef NO_NSPR_10_SUPPORT around the _PR_MD_GET_SP
macro definition.  This macro is used internally by NSPR20.


git-svn-id: svn://10.0.0.236/trunk@16529 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 18:56:01 +00:00
kin%netscape.com
54a8daa36c Turning on txmgr in the Unix and Windows builds.
git-svn-id: svn://10.0.0.236/trunk@16528 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 18:54:30 +00:00
kin%netscape.com
b8de20feb4 Backout previous changes to fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@16527 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 18:52:23 +00:00
mjudge%netscape.com
5f09556bb7 write now takes ints instead of unsigned ints
git-svn-id: svn://10.0.0.236/trunk@16526 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 18:43:13 +00:00
kmcclusk%netscape.com
69c1a49b16 Fix for Linux build
git-svn-id: svn://10.0.0.236/trunk@16525 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 18:39:48 +00:00
akkana%netscape.com
b3419765c0 Adding public routine ComparePoints for mjudge
git-svn-id: svn://10.0.0.236/trunk@16524 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 18:36:48 +00:00
kmcclusk%netscape.com
6b50236c51 Added files to do postscript output.
git-svn-id: svn://10.0.0.236/trunk@16523 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 18:30:12 +00:00
kmcclusk%netscape.com
538ee8b859 Moved most of the printer paint code to nsFormControlFrame. Added
autodoc compatible comments.


git-svn-id: svn://10.0.0.236/trunk@16522 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 18:12:55 +00:00
dcone%netscape.com
47cce4fecb fixed resoluton problem for printing.
git-svn-id: svn://10.0.0.236/trunk@16521 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 18:02:38 +00:00
buster%netscape.com
7e9d6c54cd WIP on collapsing borders
git-svn-id: svn://10.0.0.236/trunk@16519 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 17:05:14 +00:00
cls%seawood.org
1ebcf35498 Apparently, nsIURL::GetSpec changed...
git-svn-id: svn://10.0.0.236/trunk@16518 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 11:33:33 +00:00
ramiro%netscape.com
6e143bcac4 Change #include "nsIHttpUrl.h" to #include "nsIHttpURL.h" for case sensitive
anality.


git-svn-id: svn://10.0.0.236/trunk@16517 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 10:27:49 +00:00
warren%netscape.com
fffed9ce8f Obsolete
git-svn-id: svn://10.0.0.236/trunk@16514 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 09:51:02 +00:00
warren%netscape.com
6a28c25b6f Removed nsURL.cpp
git-svn-id: svn://10.0.0.236/trunk@16513 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 09:50:19 +00:00
beard%netscape.com
41965931a0 Fixed case of nsIHttpURL.h
git-svn-id: svn://10.0.0.236/trunk@16511 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 08:56:10 +00:00
warren%netscape.com
614cfa76f7 Added include of autoconf.mk
git-svn-id: svn://10.0.0.236/trunk@16510 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 08:48:06 +00:00
warren%netscape.com
f1f63fd300 Fixed EXPORTS
git-svn-id: svn://10.0.0.236/trunk@16509 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 08:22:04 +00:00
warren%netscape.com
e7c800bb2f Fixed EXPORTS
git-svn-id: svn://10.0.0.236/trunk@16508 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 08:21:31 +00:00
warren%netscape.com
1dea681a6e Fixed some unsigned problems for the Mac.
git-svn-id: svn://10.0.0.236/trunk@16507 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 08:03:53 +00:00
warren%netscape.com
2fd20eda7f Added network/public/Makefile
git-svn-id: svn://10.0.0.236/trunk@16506 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 07:58:15 +00:00
sfraser%netscape.com
35363b3286 Fix the target name for building viewer.mcp
git-svn-id: svn://10.0.0.236/trunk@16505 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 06:50:27 +00:00
beard%netscape.com
55e404d5a1 Added new files.
git-svn-id: svn://10.0.0.236/trunk@16504 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 06:42:28 +00:00
buster%netscape.com
dd4dfe439e clean up, removed some obsolete methods
git-svn-id: svn://10.0.0.236/trunk@16503 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 06:33:15 +00:00
beard%netscape.com
a0fd7823b6 Fixed up exports.
git-svn-id: svn://10.0.0.236/trunk@16502 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 06:06:51 +00:00
beard%netscape.com
51b339a051 Removed nsIPostToServer.h (moved to public dir).
git-svn-id: svn://10.0.0.236/trunk@16501 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 05:59:42 +00:00
wtc%netscape.com
49b19a1a67 Replaced all but one use of IRIX5_3 by feature-based macros.
(Thanks to Brian Ostrom <briano@netscape.com>.)
Modified files: IRIX.mk and irix.c.


git-svn-id: svn://10.0.0.236/trunk@16500 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 05:58:43 +00:00
warren%netscape.com
83e04dcd25 new
git-svn-id: svn://10.0.0.236/trunk@16499 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 05:50:21 +00:00
wtc%netscape.com
1476b01c77 Include protypes.h only if NO_NSPR_10_SUPPORT is not defined.
Also, always define the data types PRWord and PRUword but
warn people not to use these two undocumented types in new code.


git-svn-id: svn://10.0.0.236/trunk@16498 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 05:46:32 +00:00
warren%netscape.com
fd5d879803 Networking changes: Reworked nsIURL, adding setters, factoring Open. Unsigned arguments for nsIStreamListener.
git-svn-id: svn://10.0.0.236/trunk@16497 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 05:46:06 +00:00
troy%netscape.com
70e0a8cddb Fixed a crash when display www.sjmercury.com paginated, because we thought
we could re-use our cached cell desired info and we couldn't because there
was a next-in-flow frame and so we needed to reflow the cell frame and pull-up
its next-in-flow child frames


git-svn-id: svn://10.0.0.236/trunk@16496 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 05:41:57 +00:00
warren%netscape.com
5f54c1af03 Networking changes: Reworked nsIURL, adding setters, factoring Open. Unsigned arguments for nsIStreamListener.
git-svn-id: svn://10.0.0.236/trunk@16495 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 05:40:20 +00:00
troy%netscape.com
a8a9f7aeaa Changed SetRowIndex() to be inline and non-virtual
git-svn-id: svn://10.0.0.236/trunk@16494 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 04:31:38 +00:00
troy%netscape.com
37b2438c51 Removed InitRowData() member function which is now obsolete
git-svn-id: svn://10.0.0.236/trunk@16493 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 04:08:36 +00:00
cltbld%netscape.com
73c80e1f09 do not decend into xpfe if there is nothing to do there.
git-svn-id: svn://10.0.0.236/trunk@16492 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 03:59:13 +00:00
sfraser%netscape.com
3f462d434b Have pull{all} set all the other pull{}s.
git-svn-id: svn://10.0.0.236/trunk@16491 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 03:47:14 +00:00
troy%netscape.com
45e2d974e8 Some improvements to the row splitting code
git-svn-id: svn://10.0.0.236/trunk@16490 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 03:46:03 +00:00
sfraser%netscape.com
ef4f88d1b7 Ensure that default is to build all.
git-svn-id: svn://10.0.0.236/trunk@16489 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 03:44:58 +00:00
sfraser%netscape.com
e324dbae1d Assert on a null widget Ptr
git-svn-id: svn://10.0.0.236/trunk@16488 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 03:37:56 +00:00
sfraser%netscape.com
0e0e29c9c8 Remove bad ;
git-svn-id: svn://10.0.0.236/trunk@16487 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 03:37:13 +00:00
sfraser%netscape.com
5ba63fa656 Fix target and output libary names.
git-svn-id: svn://10.0.0.236/trunk@16486 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 03:34:58 +00:00
sfraser%netscape.com
86c67555dc Add more granularity to build options, make new routine to reconcile and build a project and make the aliases.
git-svn-id: svn://10.0.0.236/trunk@16485 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 03:31:18 +00:00
sfraser%netscape.com
f8738e790b Add more granularity to build options, fix the {all} flag to really pull/build everything.
git-svn-id: svn://10.0.0.236/trunk@16484 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 03:30:39 +00:00
sfraser%netscape.com
93175a9d1a First Checked In.
git-svn-id: svn://10.0.0.236/trunk@16483 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 03:28:54 +00:00
sfraser%netscape.com
04825239b5 Make sure the port is initialized before being used.
git-svn-id: svn://10.0.0.236/trunk@16482 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 01:59:31 +00:00
toshok%hungry.com
1716bebdaa (at least for GNUC platforms) don't rely on nasty division-by-zero tricks to generate +-inf and nan. instead borrow the bitlevel twiddling javascript uses. I would imagine that this would work for all platforms that use IEEE floats (which is necessarily all platforms for which EF will work), but someone else needs to figure out if windows will work with this code.
git-svn-id: svn://10.0.0.236/trunk@16481 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 01:38:18 +00:00
troy%netscape.com
3c043772bd Removed SetColIndex() which wasn't being used
git-svn-id: svn://10.0.0.236/trunk@16480 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 01:35:25 +00:00
ramiro%netscape.com
b251e7edab Yank xpviewer from the build on unix and win.
git-svn-id: svn://10.0.0.236/trunk@16479 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 01:33:41 +00:00
toshok%hungry.com
9829ca641c clear up screw up in previous commit.
git-svn-id: svn://10.0.0.236/trunk@16478 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 01:30:14 +00:00
toshok%hungry.com
7bb90048a0 install shared libs in dist/ARCH/bin, not dist/ARCH/lib - following the same convention as the mozilla tree.
git-svn-id: svn://10.0.0.236/trunk@16477 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 01:28:17 +00:00
toshok%hungry.com
0344418064 build shared libs with CC instead of LD.
git-svn-id: svn://10.0.0.236/trunk@16476 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 01:26:49 +00:00
guha%netscape.com
c2b7286754 more shit for opendir
git-svn-id: svn://10.0.0.236/trunk@16475 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 01:25:37 +00:00
gordon%netscape.com
436dd5e622 Update table of contents for files added to layout and rdf. This is only used by Patrick's build system changes.
git-svn-id: svn://10.0.0.236/trunk@16474 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 01:22:53 +00:00
toshok%hungry.com
be3cf9b82e dist is not one directory higher than ef.
git-svn-id: svn://10.0.0.236/trunk@16473 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 01:13:05 +00:00
donm%netscape.com
aa2eff126c backing out Shaver's changes. -donm
git-svn-id: svn://10.0.0.236/trunk@16472 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 00:49:36 +00:00
jfrancis%netscape.com
35b781edaa ComparePointToRange() now reuses IsIncreasing functionality; also fixed a for loop in DeleteContents()
git-svn-id: svn://10.0.0.236/trunk@16471 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 23:58:09 +00:00
michaelp%netscape.com
ce7a472f74 we now call GetNearestColor() in 16bpp when creating brushes and pens.
git-svn-id: svn://10.0.0.236/trunk@16470 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 23:13:59 +00:00
despotdaemon%netscape.com
48d7cbdc95 Pseudo-automatic update of changes made by ppandit@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@16469 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 23:04:38 +00:00
waterson%netscape.com
f027e45add Fixed extra root node.
git-svn-id: svn://10.0.0.236/trunk@16468 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 22:55:59 +00:00
kmcclusk%netscape.com
392927ef69 Added more form elements to printer test
git-svn-id: svn://10.0.0.236/trunk@16467 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 22:51:49 +00:00
mcmullen%netscape.com
ab3213f20d Made all this build on Unix, using Macros up the wazoo
git-svn-id: svn://10.0.0.236/trunk@16466 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 22:45:09 +00:00
brade%netscape.com
0be011b818 typing hack extended to get it working on Macintosh
git-svn-id: svn://10.0.0.236/trunk@16465 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 22:34:54 +00:00
brade%netscape.com
afc9ac03c5 remove unnecessary functions which are in imglib
git-svn-id: svn://10.0.0.236/trunk@16464 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 22:27:03 +00:00
brade%netscape.com
1c0b61001a remove unnecessary files (including nspr group) and macToBeImplemented.cp
git-svn-id: svn://10.0.0.236/trunk@16463 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 22:25:45 +00:00
dcone%netscape.com
990c1c17d6 fixed the scaling bug
git-svn-id: svn://10.0.0.236/trunk@16462 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 22:22:40 +00:00
brade%netscape.com
dde36d487c fix compiler warning / bug: initialize index to 0 (reviewed peterl@netscape.com).
git-svn-id: svn://10.0.0.236/trunk@16461 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 22:19:04 +00:00
sfraser%netscape.com
4348f6321d First Checked In.
git-svn-id: svn://10.0.0.236/trunk@16460 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 22:17:48 +00:00
shaver%netscape.com
a0097337f4 Make apprunner link dynamically.
Sprinkle Makefile.ins with NO_STATIC_LIB to speed the build and reduce the disk
requirements.


git-svn-id: svn://10.0.0.236/trunk@16459 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 22:17:14 +00:00
despotdaemon%netscape.com
c0a95f1d82 Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@16458 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 22:15:18 +00:00
sfraser%netscape.com
85c73e1f43 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@16457 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 21:59:40 +00:00
terry%netscape.com
e31b2db976 Oops; the magic partition is named 'despotaccess'.
git-svn-id: svn://10.0.0.236/trunk@16456 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 21:44:16 +00:00
troy%netscape.com
a6cb99357c Removed an assert that was being triggered in a caseI didn't expect
git-svn-id: svn://10.0.0.236/trunk@16455 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 21:26:05 +00:00
sfraser%netscape.com
c3693fede6 Make it build.
git-svn-id: svn://10.0.0.236/trunk@16454 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 19:13:41 +00:00
sfraser%netscape.com
c505b460e7 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@16453 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 19:12:50 +00:00
rods%netscape.com
d239199ee1 Added Pseudo-element styles for the scrollbar "look"
git-svn-id: svn://10.0.0.236/trunk@16452 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 19:11:57 +00:00
kmcclusk%netscape.com
8b74b7b8fe Fix for the Mac.
git-svn-id: svn://10.0.0.236/trunk@16451 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 19:08:50 +00:00
rods%netscape.com
ea9f077c63 Added painting methods for printing
git-svn-id: svn://10.0.0.236/trunk@16450 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 19:03:36 +00:00
kmcclusk%netscape.com
c36571afa1 Added code to render button using GFX for printing.
git-svn-id: svn://10.0.0.236/trunk@16449 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 18:50:21 +00:00
akkana%netscape.com
fb81fd89e2 Initial stab at CloneContents implementation
git-svn-id: svn://10.0.0.236/trunk@16448 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 18:47:44 +00:00
terry%netscape.com
cb4a178ce1 Patch from Ashley Clark <aclark@CS.UH.EDU>, which hopefully fixes bug 1499.
git-svn-id: svn://10.0.0.236/trunk@16447 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 18:13:12 +00:00
kipp%netscape.com
17c732418d Removed bogus null pointer check
git-svn-id: svn://10.0.0.236/trunk@16446 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 17:59:49 +00:00
kipp%netscape.com
5c3396dcd0 Added absmiddle to table halign values
git-svn-id: svn://10.0.0.236/trunk@16445 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 17:58:59 +00:00
kipp%netscape.com
150e5ffcba Map align=center to auto side margins
git-svn-id: svn://10.0.0.236/trunk@16444 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 17:58:45 +00:00
dcone%netscape.com
b18c392afc fixed some scaling issues for the mac, more to come
git-svn-id: svn://10.0.0.236/trunk@16443 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 16:56:53 +00:00
troy%netscape.com
e02d2dc1c0 Work-in-progress for splitting of table row frames
git-svn-id: svn://10.0.0.236/trunk@16442 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 16:39:09 +00:00
shaver%netscape.com
9e90a70671 Add --enable-debug=module1,module2 to selective turn on debugging.
Remove --enable-dom, because Mariner is dead (sob).
Rename some MODULE= lines to make the afore-mentioned --enable-debug
technique actually useful.  Feel free to recategorize.
Fix libraptorhtml.so link bogosity by disabling shared lib generation for the
sub-archives (libraptor*_s.a), so that we can put bin before lib in the
library path and still get the right effect.  We could disable static-lib
generation in most other places and cut the build time down a fair bit, too.
[NOTE: I'm getting on a train...msw@gimp.org has agreed to be my tinderbox
buddy.  Thanks, Matt!]


git-svn-id: svn://10.0.0.236/trunk@16441 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 16:32:37 +00:00
waterson%netscape.com
85f23406df Added nsStreamDataSource to the factory.
git-svn-id: svn://10.0.0.236/trunk@16434 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 07:49:03 +00:00
waterson%netscape.com
94e78ef4fe Added code to handle columns specified by an RDF sequence.
git-svn-id: svn://10.0.0.236/trunk@16433 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 07:48:22 +00:00
waterson%netscape.com
84459dcc40 Changed columns to use a sequence. Bug fix for bookmark names.
git-svn-id: svn://10.0.0.236/trunk@16432 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 07:48:01 +00:00
waterson%netscape.com
8fbc761b21 Removed #if 1's left around from mjudge's selection changes.
git-svn-id: svn://10.0.0.236/trunk@16431 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 07:47:10 +00:00
waterson%netscape.com
ad0ce1c24d Added factory function for nsStreamDataSource.
git-svn-id: svn://10.0.0.236/trunk@16430 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 07:46:22 +00:00
waterson%netscape.com
7ca2eba892 Silly bug fixes.
git-svn-id: svn://10.0.0.236/trunk@16429 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 07:45:25 +00:00
waterson%netscape.com
1197d3600f Added utility routines to create RDF Sequence and Bag objects. Added prototype for RDF container cursor. Added some comments.
git-svn-id: svn://10.0.0.236/trunk@16428 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 07:44:40 +00:00
waterson%netscape.com
cbdcab6dab Added utility routines to create RDF Sequence and Bag objects. Expanded rdf_IsContainer() to accept sequences.
git-svn-id: svn://10.0.0.236/trunk@16427 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 07:44:11 +00:00
waterson%netscape.com
8bf4e3b0b0 Added nsContainerCursor and nsStreamDataSource to the build.
git-svn-id: svn://10.0.0.236/trunk@16426 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 07:42:18 +00:00
waterson%netscape.com
550a0137e7 Added StreamDataSource CID.
git-svn-id: svn://10.0.0.236/trunk@16425 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 07:40:29 +00:00
ramiro%netscape.com
ddbc3a26e0 Rename 'libdbm' to 'libmozdbm' and 'libutil' to 'libmozutil.
This will fix the problem many people are reporting wrt conflicts with
system libraries that have the same names.


git-svn-id: svn://10.0.0.236/trunk@16424 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 07:37:32 +00:00
ramiro%netscape.com
9f6c27385c Ignore generated files.
git-svn-id: svn://10.0.0.236/trunk@16423 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 07:32:11 +00:00
ramiro%netscape.com
e4a1b5c41f Make it link again.
git-svn-id: svn://10.0.0.236/trunk@16422 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 07:31:57 +00:00
vidur%netscape.com
290921df31 Enabled asynchronous loading of SCRIPT SRC=, STYLE SRC= and LINK elements for style sheets. Changed nsIScriptContext to not be dependent on JavaScript.
git-svn-id: svn://10.0.0.236/trunk@16421 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 06:10:59 +00:00
raman%netscape.com
b40d7ccdf1 Checking in changes from Bob Glickstein
git-svn-id: svn://10.0.0.236/trunk@16420 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 05:53:19 +00:00
michaelp%netscape.com
3d6d1f72b8 added ability to create a drawing surface from an HDC under windows.
git-svn-id: svn://10.0.0.236/trunk@16419 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 05:51:30 +00:00
michaelp%netscape.com
5f60004b2a made damagearea management more aggressive as a temporary fix until
individual classes can to the right thing.


git-svn-id: svn://10.0.0.236/trunk@16418 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 05:49:48 +00:00
michaelp%netscape.com
72b9fbb09b we not put the responsibility for managing damage regions into the widget
code instead of doing it in the viewmanager. this allows us to paint much
more optimally.


git-svn-id: svn://10.0.0.236/trunk@16417 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 05:47:25 +00:00
michaelp%netscape.com
22e651792f we no longer tell the widgets to paint themselves as a result of
a resize operation.


git-svn-id: svn://10.0.0.236/trunk@16416 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 05:45:05 +00:00
michaelp%netscape.com
5c2ef95d1e we now pass the damage region given to us in BeginPaint() into the
rendering context for better damage management.


git-svn-id: svn://10.0.0.236/trunk@16415 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 05:44:21 +00:00
jfrancis%netscape.com
c429df6955 implemented toString() + minor fixmeups
git-svn-id: svn://10.0.0.236/trunk@16414 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 04:42:29 +00:00
kipp%netscape.com
154911fa72 Added NS_FRAME_IS_REPLACED macro
git-svn-id: svn://10.0.0.236/trunk@16413 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 04:21:56 +00:00
kipp%netscape.com
2e8adddd5b Fixed up absolute and floating frame types to support replaced variants
git-svn-id: svn://10.0.0.236/trunk@16412 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 04:21:28 +00:00
kipp%netscape.com
d2b528951f Moved floater reflow out of PlaceFloater and into AddFloater so that floaters are only reflowed during reflow, not during placement; Added code to support css 10.3.5; reflow floaters more often so that % width values are recomputed properly
git-svn-id: svn://10.0.0.236/trunk@16411 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 04:20:54 +00:00
waterson%netscape.com
c42397f0f7 Added nsStreamDataSource.cpp and nsContainerCursor.cpp to the build.
git-svn-id: svn://10.0.0.236/trunk@16410 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 04:14:12 +00:00
pierre%netscape.com
925da68c47 don't dispatch Update event when the widget has drawn itself already
git-svn-id: svn://10.0.0.236/trunk@16409 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 04:03:38 +00:00
waterson%netscape.com
c7807b0694 Initial revision.
git-svn-id: svn://10.0.0.236/trunk@16408 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 04:03:24 +00:00
pierre%netscape.com
17ee92de4e added OnPaint() to return 'false' and notify nsWindow not to dispatch the Update event
git-svn-id: svn://10.0.0.236/trunk@16407 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 04:03:09 +00:00
wtc%netscape.com
cdaaa17945 In ntio.c, w95io.c, _PR_MD_OPEN, handle all combinations of
PR_CREATE_FILE and PR_TRUNCATE correctly.


git-svn-id: svn://10.0.0.236/trunk@16406 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 03:58:53 +00:00
waterson%netscape.com
03e5647e91 Added additional comments to clarify the API.
git-svn-id: svn://10.0.0.236/trunk@16405 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 03:49:36 +00:00
cls%seawood.org
4c418bae35 Added build option for idl tool. Thanks to Tague Griffith <tague@netscape.com> for the patch and the patience while I fumbled this patch. :)
git-svn-id: svn://10.0.0.236/trunk@16404 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 03:24:59 +00:00
cls%seawood.org
ee193ef351 Fixed redefinition warning
git-svn-id: svn://10.0.0.236/trunk@16403 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 03:21:23 +00:00
sfraser%netscape.com
b855c2224f Fixed Show() to store a full UNIX path to the selected file
git-svn-id: svn://10.0.0.236/trunk@16402 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 03:11:59 +00:00
sfraser%netscape.com
5c2a49946c Add nsFileSpec.h and nsFileStream.h
git-svn-id: svn://10.0.0.236/trunk@16401 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 03:08:57 +00:00
pierre%netscape.com
b3260e79f3 added nsDialog.cpp ans nsLabel.cpp
git-svn-id: svn://10.0.0.236/trunk@16400 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 03:05:50 +00:00
pierre%netscape.com
44872cb156 support nsDialog ans nsLabel
git-svn-id: svn://10.0.0.236/trunk@16399 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 03:05:06 +00:00
pierre%netscape.com
daec709396 fixed bug where the Find dialog would not show up again after being dismissed
git-svn-id: svn://10.0.0.236/trunk@16398 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 03:04:22 +00:00
pierre%netscape.com
d4a2037c77 support dialogs
git-svn-id: svn://10.0.0.236/trunk@16397 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 03:03:10 +00:00
pierre%netscape.com
6ddaa74f65 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@16396 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 03:00:25 +00:00
kin%netscape.com
0d2bb86e8d Added OPTIMIZATION comment.
git-svn-id: svn://10.0.0.236/trunk@16395 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 02:12:25 +00:00
kin%netscape.com
0f65caf3dd Added tests for SetMaxTransactionCount().
git-svn-id: svn://10.0.0.236/trunk@16394 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 02:11:53 +00:00
kin%netscape.com
7018fe3720 Removed ';' in IID defines. This was causing a problem on the Mac.
git-svn-id: svn://10.0.0.236/trunk@16393 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 02:11:17 +00:00
kipp%netscape.com
b079346b21 Landed a patch from bobg@zanshin.com
git-svn-id: svn://10.0.0.236/trunk@16392 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 01:34:36 +00:00
mcafee%netscape.com
202af650d9 Adding Unix makefile
git-svn-id: svn://10.0.0.236/trunk@16391 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 01:27:04 +00:00
pierre%netscape.com
9b0e44bc06 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@16390 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 01:06:58 +00:00
guha%netscape.com
f0571c2a80 Another try at search
git-svn-id: svn://10.0.0.236/trunk@16389 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 00:47:13 +00:00
pinkerton%netscape.com
d1317f2880 add nsHTToolbarContentModel.cpp to obj's as well as src's. Doh!
git-svn-id: svn://10.0.0.236/trunk@16388 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 00:42:55 +00:00
kipp%netscape.com
2ce3039b2f Print out state bits in hex too
git-svn-id: svn://10.0.0.236/trunk@16387 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 00:16:32 +00:00
kipp%netscape.com
a7b5b1756b #ifdef'd out the outside-children state methods
git-svn-id: svn://10.0.0.236/trunk@16386 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 00:16:21 +00:00
kipp%netscape.com
24118eb742 Reworked line-height handling: correctly implements the spec; use value computed by nsHTMLReflowState::CalcLineHeight
git-svn-id: svn://10.0.0.236/trunk@16385 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 00:16:00 +00:00
kipp%netscape.com
d37bc79ff0 Removed CalcLineHeightFor
git-svn-id: svn://10.0.0.236/trunk@16384 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 00:15:11 +00:00
kipp%netscape.com
6d68b31e76 Added CalcLineHeight and store it in mLineHeight
git-svn-id: svn://10.0.0.236/trunk@16383 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 00:14:56 +00:00
kipp%netscape.com
4e857157a0 Added CalcLineHeight and apply it to inline non-replaced elements as a constrained height
git-svn-id: svn://10.0.0.236/trunk@16382 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 00:14:36 +00:00
cyeh%netscape.com
61412b1a29 latest script used to power autoconf builds of raptor. this script
doesn't use a config file, and is used for example purposes only with no support


git-svn-id: svn://10.0.0.236/trunk@16381 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 00:14:25 +00:00
kipp%netscape.com
c2218cb81a Fixed rendering problems with lines with outside children; repaired code (currently unused an ifdef'd) to compute the lines outside children state
git-svn-id: svn://10.0.0.236/trunk@16380 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 00:14:09 +00:00
guha%netscape.com
9e0c533ef7 add search to the big graph
git-svn-id: svn://10.0.0.236/trunk@16379 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 00:11:09 +00:00
locka%iol.ie
196afe06c1 Added more event handlers and diagnostics
git-svn-id: svn://10.0.0.236/trunk@16378 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 00:05:28 +00:00
pinkerton%netscape.com
0fda51f903 don't build xpfeViewer anymore (obsolete).
git-svn-id: svn://10.0.0.236/trunk@16377 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-14 23:54:23 +00:00
pinkerton%netscape.com
fb8232ca54 add nsHTToolbarContentModel.cpp
git-svn-id: svn://10.0.0.236/trunk@16376 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-14 23:51:34 +00:00
pinkerton%netscape.com
ceee8b0c9e minor tweaks to nsBasicStyleInfo struct.
git-svn-id: svn://10.0.0.236/trunk@16375 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-14 23:51:04 +00:00
pinkerton%netscape.com
59448b1e96 Talk to new nsHTToolbarDataModel
git-svn-id: svn://10.0.0.236/trunk@16374 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-14 23:50:34 +00:00
kin%netscape.com
171b21fb37 Added TestTransactionFactory classes. Got rid of duplicate test/stress
functions.


git-svn-id: svn://10.0.0.236/trunk@16373 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-14 23:50:27 +00:00
pinkerton%netscape.com
1ce1ff99f0 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@16372 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-14 23:50:02 +00:00
wtc%netscape.com
ca19426d30 Removed unnecessary -L/lib.
git-svn-id: svn://10.0.0.236/trunk@16371 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-14 23:30:43 +00:00
akkana%netscape.com
d58d0a3921 Tracking jfrancis' iterator check-in
git-svn-id: svn://10.0.0.236/trunk@16370 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-14 23:18:46 +00:00
jfrancis%netscape.com
1c1c6429fe adding nsContentIterator
git-svn-id: svn://10.0.0.236/trunk@16369 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-14 23:17:52 +00:00
jfrancis%netscape.com
fee6efbada First Checked In.
git-svn-id: svn://10.0.0.236/trunk@16368 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-14 23:16:31 +00:00
brade%netscape.com
c0fb04fc5f (per macdev mtg) always turn on RTTI in all projects
git-svn-id: svn://10.0.0.236/trunk@16367 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-14 22:57:45 +00:00
wtc%netscape.com
d1ce96d0b6 Minor cleanup/fix in DoScanf.
git-svn-id: svn://10.0.0.236/trunk@16366 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-14 22:49:47 +00:00
guha%netscape.com
3f23052215 Add mail.c to the repository (not referenced from anywhere yet)
git-svn-id: svn://10.0.0.236/trunk@16365 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-14 22:49:29 +00:00
wtc%netscape.com
7c5994a202 Misc. changes for Digital Unix and pthreads. Digital Unix's ld does
not understand the -h option but has an equivalent -soname option.
Check for the symbol pthread_attr_init instead of pthread_create in
libpthread because DCE threads also has the symbol pthread_create.


git-svn-id: svn://10.0.0.236/trunk@16364 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-14 22:48:03 +00:00
pnunn%netscape.com
6592ea720c fix to squelch some mac warnings. -pnunn.
git-svn-id: svn://10.0.0.236/trunk@16363 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-14 22:42:06 +00:00
guha%netscape.com
cfdde8ce49 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@16362 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-14 20:51:53 +00:00
mjudge%netscape.com
3820937d83 updating txmgr..
git-svn-id: svn://10.0.0.236/trunk@16361 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-14 20:38:36 +00:00
waterson%netscape.com
b122062afc Add NameSpaceManagerCID to list of registered CIDs.
git-svn-id: svn://10.0.0.236/trunk@16360 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-14 19:50:57 +00:00
waterson%netscape.com
75bbf4231c Make sure to attach the newly created column element to the right place.
git-svn-id: svn://10.0.0.236/trunk@16359 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-14 19:50:18 +00:00
mjudge%netscape.com
73b2bc6983 caps strikes again
git-svn-id: svn://10.0.0.236/trunk@16355 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-14 19:10:37 +00:00
shaver%netscape.com
483f66118d Now use MODULE instead of MODULE_NAME.
Update README for new libIDL version.
Add -o basename option and use proper output.
Eradicate some final stdout references.
Pretty printing, whee.
New |operator delete| and |IID| stuff for scc.
Support for raw codefrags (``%{ C++\n ... \n%}\n'') and more bufmgmt debugging.
Use IDL_file_set everywhere.


git-svn-id: svn://10.0.0.236/trunk@16354 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-14 18:47:39 +00:00
mjudge%netscape.com
6e0b2ad629 txmgr changes not built yet
git-svn-id: svn://10.0.0.236/trunk@16353 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-14 18:46:13 +00:00
cyeh%netscape.com
8f536c20d5 fix path problem (that could cause OpenErrorLog() to die) and also
change log name to something more meaningful and to something that
won't collide with a compile log from a previous run


git-svn-id: svn://10.0.0.236/trunk@16352 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-14 18:41:44 +00:00
kin%netscape.com
0b5f55908a Removed src directory from list of includes.
git-svn-id: svn://10.0.0.236/trunk@16351 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-14 18:39:33 +00:00
kin%netscape.com
fb5695338a Removed src directory from includes list.
git-svn-id: svn://10.0.0.236/trunk@16350 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-14 18:39:14 +00:00
kin%netscape.com
5bb6af4f01 Added LLIBS and MISCDEP.
git-svn-id: svn://10.0.0.236/trunk@16349 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-14 18:37:46 +00:00
mjudge%netscape.com
5f6331ba4d fixing registry for the range class
git-svn-id: svn://10.0.0.236/trunk@16348 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-14 18:34:34 +00:00
mjudge%netscape.com
e19079121c adding in selection
git-svn-id: svn://10.0.0.236/trunk@16347 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-14 18:34:14 +00:00
mjudge%netscape.com
68159176d3 adding focus tracker
git-svn-id: svn://10.0.0.236/trunk@16346 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-14 18:31:13 +00:00
ramiro%netscape.com
7a71f65f31 Ignore generated files.
git-svn-id: svn://10.0.0.236/trunk@16345 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-14 16:27:13 +00:00
pierre%netscape.com
72531f0b59 Fix resource path of throbber images
git-svn-id: svn://10.0.0.236/trunk@16344 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-14 06:42:02 +00:00
troy%netscape.com
0e65aac3d0 Tables now clear the isTopOfPage when appropriate
git-svn-id: svn://10.0.0.236/trunk@16343 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-14 01:24:11 +00:00
guha%netscape.com
5aaac3f56b bunch of fixes to make it run properly under Solaris
git-svn-id: svn://10.0.0.236/trunk@16342 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-13 23:45:53 +00:00
beard%netscape.com
73e5094949 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@16341 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-13 23:27:52 +00:00
beard%netscape.com
f4eea4abb9 Added .log files, and modification date comparison. Should make average case build times unchanged. This is still not enabled. The MRO and sort scripting additions need to be added to the build suite.
git-svn-id: svn://10.0.0.236/trunk@16340 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-13 23:24:01 +00:00
mcafee%netscape.com
f7b0720a2d Adding -l build/autoconf flag to autoconf, per cls's comment in the aclocal.m4 log
git-svn-id: svn://10.0.0.236/trunk@16339 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-13 22:34:17 +00:00
av%netscape.com
e8905988f4 Making object tag to display alternative context
git-svn-id: svn://10.0.0.236/trunk@16338 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-13 21:44:55 +00:00
locka%iol.ie
73013502d6 Added Debug menu and menu option to list the IOleCommandTarget supported commands on each control
git-svn-id: svn://10.0.0.236/trunk@16337 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-13 21:43:25 +00:00
locka%iol.ie
78980b8e5b Tweaked QueryInterface implementation
git-svn-id: svn://10.0.0.236/trunk@16336 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-13 21:41:46 +00:00
locka%iol.ie
f46aba1bae Modified IOleCommandTarget to support the same commands as IE
git-svn-id: svn://10.0.0.236/trunk@16335 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-13 21:41:04 +00:00
locka%iol.ie
284bd9d1ad Added preliminary support for windowless controls
git-svn-id: svn://10.0.0.236/trunk@16334 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-13 21:39:46 +00:00
beard%netscape.com
0ffd6d37da First Checked In.
git-svn-id: svn://10.0.0.236/trunk@16333 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-13 21:12:19 +00:00
beard%netscape.com
7a87a8d596 Now does a list compare of target files before performing a merge pass.
git-svn-id: svn://10.0.0.236/trunk@16332 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-13 21:11:47 +00:00
beard%netscape.com
bcecb262db Now includes.exp files.
git-svn-id: svn://10.0.0.236/trunk@16331 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-13 18:33:00 +00:00
beard%netscape.com
560940ca2f Regenerated with GenToc.
git-svn-id: svn://10.0.0.236/trunk@16330 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-13 18:15:37 +00:00
beard%netscape.com
d0e372deb7 Mac project reconciliation. MANIFESTO.pm is currently disabled.
git-svn-id: svn://10.0.0.236/trunk@16329 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-13 07:11:44 +00:00
beard%netscape.com
c716c4a913 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@16328 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-13 05:14:29 +00:00
beard%netscape.com
ec4c624a54 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@16327 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-13 05:08:00 +00:00
beard%netscape.com
a4edceb665 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@16326 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-13 05:01:04 +00:00
hyatt%netscape.com
c213bf9385 Fixing a minor drawing bug (filling in of the blank lines in the tree).
git-svn-id: svn://10.0.0.236/trunk@16325 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-13 01:20:35 +00:00
kipp%netscape.com
21b1837275 When verify-reflow-all is enabled, update the display after each reflow and pause for a while
git-svn-id: svn://10.0.0.236/trunk@16323 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 19:21:05 +00:00
kipp%netscape.com
c8a7ca5e0b Factored out whitespace trimming from horizontal alignment
git-svn-id: svn://10.0.0.236/trunk@16322 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 19:20:35 +00:00
kipp%netscape.com
79aff1475c Made ListTag more usable for all frame types, not just derivations of nsFrame
git-svn-id: svn://10.0.0.236/trunk@16321 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 19:20:10 +00:00
kipp%netscape.com
82c8bb51be Moved a #if 0 to get rid of a compiler warning
git-svn-id: svn://10.0.0.236/trunk@16320 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 19:19:48 +00:00
kipp%netscape.com
85576f2757 Reworked incremental reflow floater handling to place floaters as their state is recovered instead of moving them
git-svn-id: svn://10.0.0.236/trunk@16319 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 19:19:11 +00:00
kipp%netscape.com
23fbf960e6 Factored out floater sliding from SlideFrames; Added the dy value to the RecoverState method
git-svn-id: svn://10.0.0.236/trunk@16318 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 19:18:28 +00:00
kipp%netscape.com
ac10ae1a6e Revised ClearFloaters to loop so that all appropriate floaters are cleared
git-svn-id: svn://10.0.0.236/trunk@16317 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 19:17:58 +00:00
troy%netscape.com
0f21502444 Changed comments to conform to CSS2 guidelines for C-style comments
git-svn-id: svn://10.0.0.236/trunk@16316 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 19:07:38 +00:00
troy%netscape.com
6d649a1f27 Changed inline and block reflow code to reset reflow state's isTopOfPage
data member based on whether IsAdjacentWithTop() is true


git-svn-id: svn://10.0.0.236/trunk@16315 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 17:59:30 +00:00
troy%netscape.com
5b41f50a55 Changed Reflow() to set isTopOfPage in reflow state
git-svn-id: svn://10.0.0.236/trunk@16314 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 17:58:18 +00:00
troy%netscape.com
40180a9345 Added isTopOfPage to nsIFrameReflow
git-svn-id: svn://10.0.0.236/trunk@16313 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 17:57:47 +00:00
rth%cygnus.com
b6e23e71e1 Detect and handle overloaded methods.
git-svn-id: svn://10.0.0.236/trunk@16312 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 08:21:25 +00:00
rth%cygnus.com
3a6c1f822f Re-implement for your legal protection.
git-svn-id: svn://10.0.0.236/trunk@16311 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 08:20:30 +00:00
rth%cygnus.com
602715aa5d Add missing java class include files.
git-svn-id: svn://10.0.0.236/trunk@16310 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 08:18:07 +00:00
rth%cygnus.com
4ff48ea3da Insert directory entries into a SortedTree for searching.
git-svn-id: svn://10.0.0.236/trunk@16309 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 05:23:36 +00:00
rth%cygnus.com
c4a9714f3e (EF_LIBS): Add DebuggerChannel and EFDisassemble.
(JAVAH): Set LD_LIBRARY_PATH.


git-svn-id: svn://10.0.0.236/trunk@16308 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 04:10:43 +00:00
rth%cygnus.com
47a1d7b033 (MKSHLIB): Must use gcc, not ld, to create shared libraries w/ constructors.
(NSPR_THREAD_LIBS): New.


git-svn-id: svn://10.0.0.236/trunk@16307 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 04:09:28 +00:00
rth%cygnus.com
e4d95b9e00 (LIBRARY_NAME): Change to EFDisassemble.
git-svn-id: svn://10.0.0.236/trunk@16306 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 04:08:12 +00:00
rth%cygnus.com
b8c872a73d (DIRS): Wildcard on the cpu, so that processors that do not have
disassemblers can still build.


git-svn-id: svn://10.0.0.236/trunk@16305 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 04:07:44 +00:00
rth%cygnus.com
32c02678df Use local labels as needed.
git-svn-id: svn://10.0.0.236/trunk@16304 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 04:06:58 +00:00
rth%cygnus.com
8981c7a2bd (GetPassedException): Abort. The existing "mov ecx,E" thing can not work.
Plus it generated invalid assembly.


git-svn-id: svn://10.0.0.236/trunk@16303 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 04:06:26 +00:00
rth%cygnus.com
6b2df5a9e9 Streamline INLINE_GET_EBP.
Error if this file is used on anything except x86.


git-svn-id: svn://10.0.0.236/trunk@16302 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 04:04:01 +00:00
rth%cygnus.com
c103052793 ANSI C++ disallows reinterpret_cast between objects and functions.
git-svn-id: svn://10.0.0.236/trunk@16301 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 04:02:56 +00:00
rth%cygnus.com
812e904367 Make sure nsinstall gets built before make export tries to use it.
git-svn-id: svn://10.0.0.236/trunk@16300 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 04:02:05 +00:00
cls%seawood.org
33093a91fe Updated to most recent versions from automake 1.2b so that libtool will work properly
git-svn-id: svn://10.0.0.236/trunk@16299 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 03:13:46 +00:00
kipp%netscape.com
4b719d4fb1 Repaired the background image rendering code to properly factor in the dirty-rect with background-position handling (bug #912)
git-svn-id: svn://10.0.0.236/trunk@16298 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 03:06:02 +00:00
kipp%netscape.com
2008c897f6 I disabled selection rendering until it works again
git-svn-id: svn://10.0.0.236/trunk@16297 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 03:05:24 +00:00
cls%seawood.org
42ddaac986 Moved gtk macros into separate file to make way for new macros with conflicting licenses. Requires that autoconf be called with '-l build/autoconf'.
git-svn-id: svn://10.0.0.236/trunk@16296 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 02:41:17 +00:00
cls%seawood.org
f5724875cf Start enforcing the requirement of autoconf 2.12 or higher.
git-svn-id: svn://10.0.0.236/trunk@16295 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 02:39:21 +00:00
leaf%mozilla.org
a034770e1f Adding fix to apprunner link problem. (from braddr@portland.puremagic.com)
git-svn-id: svn://10.0.0.236/trunk@16294 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 02:28:56 +00:00
mcmullen%netscape.com
30f968dd50 Deal with the case of a null string.
git-svn-id: svn://10.0.0.236/trunk@16293 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 02:07:11 +00:00
leaf%mozilla.org
42314a8047 Adding NSPR and client.mak for windows builds, and MozillaLicense just because
git-svn-id: svn://10.0.0.236/trunk@16292 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 02:02:57 +00:00
guha%netscape.com
bd2a632853 another pass at dynamic generation of open directory pages
git-svn-id: svn://10.0.0.236/trunk@16291 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 01:58:15 +00:00
beard%netscape.com
9beefb1f0e First Checked In.
git-svn-id: svn://10.0.0.236/trunk@16290 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 01:33:27 +00:00
law%netscape.com
54ddc73d23 Minor fix in operator=
git-svn-id: svn://10.0.0.236/trunk@16289 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 01:28:28 +00:00
scc%netscape.com
6ae6d4c919 VC++4.2 can't use a declaration expression as a test. Oh well. Moved declaration to outside the test.
git-svn-id: svn://10.0.0.236/trunk@16288 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 01:26:11 +00:00
law%netscape.com
06a4324063 Add NS_BASE to cause export from dll on Windows
git-svn-id: svn://10.0.0.236/trunk@16287 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 01:25:32 +00:00
cyeh%netscape.com
342f0ee7ff fix annoying little bug where if you specify an invalid log path, the open file call would fail, and you would silently get no build log.
now we check to see if open() succeeded, and if not, die accordingly.


git-svn-id: svn://10.0.0.236/trunk@16286 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 00:02:38 +00:00
mcmullen%netscape.com
9858d9f31a More windows stuff.
git-svn-id: svn://10.0.0.236/trunk@16285 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 23:52:31 +00:00
scc%netscape.com
622699edf5 wrong file checked in, checking in the real one (just in case)
git-svn-id: svn://10.0.0.236/trunk@16284 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 23:49:04 +00:00
scc%netscape.com
0dfcb344e8 Significantly upgraded functionality to automatically call QueryInterface when assigning in incompatible pointers.
git-svn-id: svn://10.0.0.236/trunk@16283 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 23:43:00 +00:00
mjudge%netscape.com
2f44b6d466 changing the calling to the editor factory
git-svn-id: svn://10.0.0.236/trunk@16282 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 23:40:01 +00:00
mjudge%netscape.com
700ea1ddd8 adding iid to generated file. this is ok we need this for COM ptrs
git-svn-id: svn://10.0.0.236/trunk@16281 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 23:38:30 +00:00
mjudge%netscape.com
1bf5aab121 adding iid to the interfaces to support auto query interface
git-svn-id: svn://10.0.0.236/trunk@16280 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 23:36:35 +00:00
mjudge%netscape.com
264ea86016 adding IID to auto generated files
git-svn-id: svn://10.0.0.236/trunk@16279 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 23:36:04 +00:00
mjudge%netscape.com
65e0597fad adding IID for now, auto generate will duplicate work that is ok
git-svn-id: svn://10.0.0.236/trunk@16278 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 23:35:46 +00:00
mcmullen%netscape.com
d634634ab5 More windows tweaks
git-svn-id: svn://10.0.0.236/trunk@16277 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 23:05:24 +00:00
hyatt%netscape.com
2bd2fc024d Fixing the content model structure and correcting a drawing error
in the tree view.


git-svn-id: svn://10.0.0.236/trunk@16276 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 23:01:09 +00:00
kipp%netscape.com
3c1b246951 Compute correct Y coordinate after clear floaters; fixed bullet positioning bug when placing a bullet next to a block frame that has a carried-out top margin
git-svn-id: svn://10.0.0.236/trunk@16275 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 22:26:45 +00:00
kipp%netscape.com
a29aa1b885 When dealing with a percentage-width HR, don't let it impact the max-element-size.width inappropriately
git-svn-id: svn://10.0.0.236/trunk@16274 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 22:23:18 +00:00
kipp%netscape.com
02d3e99208 Futzed with list item handling a bit
git-svn-id: svn://10.0.0.236/trunk@16273 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 22:22:29 +00:00
waterson%netscape.com
5ee212993e Got rid of NS_DYNAMIC_CAST() macro at scc's prodding.
git-svn-id: svn://10.0.0.236/trunk@16272 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 21:39:18 +00:00
terry%netscape.com
0c80c991ae Added Mac System 8.5.
git-svn-id: svn://10.0.0.236/trunk@16271 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 21:33:36 +00:00
waterson%netscape.com
95c6ebeff9 Got rid of NS_DYNAMIC_CAST() macro -- it's bogus.
git-svn-id: svn://10.0.0.236/trunk@16270 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 20:32:22 +00:00
jfrancis%netscape.com
517982ca42 more preperation for adding tx mgr stuff to mac build
git-svn-id: svn://10.0.0.236/trunk@16269 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 19:25:48 +00:00
buster%netscape.com
be457e5620 fixed a minor bug in incremental reflow where the reflow state's "widthConstraint" wasn't getting set
git-svn-id: svn://10.0.0.236/trunk@16268 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 18:54:58 +00:00
rth%cygnus.com
f857e60a6a The arch bits call for Linux{ver} not LinuxELF{ver}.
git-svn-id: svn://10.0.0.236/trunk@16267 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 18:49:27 +00:00
rth%cygnus.com
c5788fe90b Re-implement for your legal protection.
git-svn-id: svn://10.0.0.236/trunk@16266 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 18:37:20 +00:00
rth%cygnus.com
c3a25ce396 Use a proper sigcontext for Linux, just as is done for BSD.
git-svn-id: svn://10.0.0.236/trunk@16265 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 18:35:52 +00:00
rth%cygnus.com
eeae032cab Fix bogus gcc x86 asms.
git-svn-id: svn://10.0.0.236/trunk@16264 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 18:33:48 +00:00
mcmullen%netscape.com
ddd96eff8f And again.
git-svn-id: svn://10.0.0.236/trunk@16263 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 18:17:22 +00:00
jfrancis%netscape.com
708dad24a0 getting transaction manager ready for addition to mac build
git-svn-id: svn://10.0.0.236/trunk@16262 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 18:13:11 +00:00
vidur%netscape.com
b0dbe3d498 Work in progress of async loading of SCRIPT and STYLE with SRC attributes. Content sinks can now return a BLOCK_PARSER return code, forcing the parser to block. nsIParser::EnableParser can be used to unblock. Also introduced nsIContentSink::SetParser.
git-svn-id: svn://10.0.0.236/trunk@16261 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 17:02:37 +00:00
pinkerton%netscape.com
7e05adc4f3 Explanation of why this file is obsolete but still in the tree.
git-svn-id: svn://10.0.0.236/trunk@16260 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 16:39:29 +00:00
pinkerton%netscape.com
1176055d5e Tree view is no longer an nsITreeView but an nsIContentConnector.
git-svn-id: svn://10.0.0.236/trunk@16259 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 16:36:21 +00:00
pinkerton%netscape.com
5bfa89ff0f use NS_STATIC_CAST.
git-svn-id: svn://10.0.0.236/trunk@16258 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 16:35:48 +00:00
pinkerton%netscape.com
1fc8a6851a fix a cast with the tree view because nsITreeView doesn't exist anymore.
git-svn-id: svn://10.0.0.236/trunk@16257 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 16:35:33 +00:00
pinkerton%netscape.com
8787f20110 make tree view implement nsIContentConnector, obsoleting nsITreeView
git-svn-id: svn://10.0.0.236/trunk@16256 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 16:35:08 +00:00
pinkerton%netscape.com
e389e79aad Make toolbar manager implement nsIContentConnector and prepare for nsIToolbarManager to go away.
git-svn-id: svn://10.0.0.236/trunk@16255 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 16:34:46 +00:00
pinkerton%netscape.com
4025e77255 Make toolbar implement nsIContentConnector and prepare for nsIToolbar to go away.
git-svn-id: svn://10.0.0.236/trunk@16254 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 16:34:25 +00:00
pinkerton%netscape.com
657877c4c1 Export nsIContentConnector.h instead of nsITreeView.h
git-svn-id: svn://10.0.0.236/trunk@16253 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 16:33:40 +00:00
pinkerton%netscape.com
31b61316a8 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@16252 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 16:32:39 +00:00
dcone%netscape.com
2cd6154e04 minor fix for the printers port
git-svn-id: svn://10.0.0.236/trunk@16251 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 16:09:28 +00:00
dcone%netscape.com
88dfff190c moved the begindocument() so things can be set up before the device context is inited and the size of the printer page is needed.
git-svn-id: svn://10.0.0.236/trunk@16250 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 16:07:10 +00:00
dcone%netscape.com
a1329a49b0 Fixed it so that a control handle is not made unless a valid windowptr is passed in. This is needed for the printer port.
git-svn-id: svn://10.0.0.236/trunk@16249 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 16:05:54 +00:00
dcone%netscape.com
1bd5ea0c99 Added an init routine for the Graphic state that takes an nsDrawingSurface so the state will not be initialized to null.
git-svn-id: svn://10.0.0.236/trunk@16248 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 16:04:23 +00:00
dcone%netscape.com
2ba4d4bfa5 Update routines for creating a rendering context, and fixed the printer routines.
git-svn-id: svn://10.0.0.236/trunk@16247 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 16:03:10 +00:00
kipp%netscape.com
ab5cde8c0a Tweaked reflow status to be legible
git-svn-id: svn://10.0.0.236/trunk@16246 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 15:53:03 +00:00
kipp%netscape.com
bbdafa23dc Changed breaking behavior so that empty frames don't trigger a break even if the horizontal space is already over committed
git-svn-id: svn://10.0.0.236/trunk@16245 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 15:50:12 +00:00
kipp%netscape.com
d8afc6ef07 Removed bogus assert that was tripping on spacer-frames; fixed up justification behavior (thanks harish!)
git-svn-id: svn://10.0.0.236/trunk@16244 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 15:49:07 +00:00
kipp%netscape.com
f4ed82cc78 Repaired frame-util CID
git-svn-id: svn://10.0.0.236/trunk@16243 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 15:47:23 +00:00
kipp%netscape.com
c52ed4e844 Repaired frame-util IID
git-svn-id: svn://10.0.0.236/trunk@16242 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 15:47:09 +00:00
kipp%netscape.com
792c1cd7f2 Added FrameUtil IIDs
git-svn-id: svn://10.0.0.236/trunk@16241 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 15:18:39 +00:00
amusil%netscape.com
0a1130270c Adding #ifdefs for USE_CACHE on #includes
git-svn-id: svn://10.0.0.236/trunk@16238 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 05:17:50 +00:00
amusil%netscape.com
cf16810525 Fixing build bustage
git-svn-id: svn://10.0.0.236/trunk@16237 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 05:12:58 +00:00
amusil%netscape.com
9913e6cdf2 Added support for the NuCache - used in cases where the stream type is specified "AsFile" (or "AsFileOnly").
#define USE_CACHE in nsPluginHostImpl.cpp to enable.


git-svn-id: svn://10.0.0.236/trunk@16236 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 04:50:57 +00:00
toshok%hungry.com
72d49f0cd4 we need to fix this, but to get things building i've made the copy constructors public and provided an implementation of them that just PR_ASSERT(0)'s.
git-svn-id: svn://10.0.0.236/trunk@16235 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 04:41:05 +00:00
toshok%hungry.com
ea272eaf71 anything greater than gcc 2.8 should have terminate already.
git-svn-id: svn://10.0.0.236/trunk@16234 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 04:10:21 +00:00
toshok%hungry.com
65aff93c06 XDisAsmTable.c is not included in the distribution (for licensing reasons.) don't reference it in the Makefile.
git-svn-id: svn://10.0.0.236/trunk@16233 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 04:04:19 +00:00
toshok%hungry.com
a34ea1260f add freebsd support.
git-svn-id: svn://10.0.0.236/trunk@16232 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 04:03:33 +00:00
toshok%hungry.com
0036e5a7c2 allow building without jvmdi
git-svn-id: svn://10.0.0.236/trunk@16231 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 04:03:13 +00:00
toshok%hungry.com
11e1103860 add FreeBSD support.
git-svn-id: svn://10.0.0.236/trunk@16230 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 04:01:07 +00:00
toshok%hungry.com
5eddfaefc6 cleanup
git-svn-id: svn://10.0.0.236/trunk@16229 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 04:00:52 +00:00
toshok%hungry.com
e0eda77346 always turn on BATCH_COMPILATION (ef won't build without it.) and allow building without jvmdi support. to enable jvmdi support, install the jvmdi.h file in ef/Debugger and setenv USE_JVMDI 1
git-svn-id: svn://10.0.0.236/trunk@16228 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 04:00:14 +00:00
toshok%hungry.com
e87e4810ec add support for FreeBSD
git-svn-id: svn://10.0.0.236/trunk@16227 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 03:57:33 +00:00
toshok%hungry.com
9961f53f40 file needed for freebsd port.
git-svn-id: svn://10.0.0.236/trunk@16226 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 03:57:00 +00:00
peterl%netscape.com
781098bb4e added nsNameSpaceManager.cpp & nsCSSStyleAtoms.cpp
git-svn-id: svn://10.0.0.236/trunk@16225 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 03:38:37 +00:00
mcmullen%netscape.com
e0be47d98f More tweaks.
git-svn-id: svn://10.0.0.236/trunk@16224 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 03:17:47 +00:00
guha%netscape.com
004db7d894 first version of dynamic pages for open directory should work now
git-svn-id: svn://10.0.0.236/trunk@16223 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 03:02:20 +00:00
wtc%netscape.com
ffbb8b067f Need to encode the fd type in the NSPR_INHERIT_FDS environment string,
so that in the child process we know whether it is a file, TCP socket,
or UDP socket.


git-svn-id: svn://10.0.0.236/trunk@16222 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 02:58:31 +00:00
peterl%netscape.com
d713987b42 moved name space management to name space manager, tweaked apis
git-svn-id: svn://10.0.0.236/trunk@16221 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 02:53:49 +00:00
peterl%netscape.com
ab36157598 added css atoms
git-svn-id: svn://10.0.0.236/trunk@16220 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 02:51:05 +00:00
peterl%netscape.com
f336f79552 added support for CSS2 selector syntax
git-svn-id: svn://10.0.0.236/trunk@16219 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 02:50:43 +00:00
peterl%netscape.com
5e907ae2f2 support for CSS2 selector systax
git-svn-id: svn://10.0.0.236/trunk@16218 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 02:50:01 +00:00
peterl%netscape.com
f289f4b663 added case sensativity switch
git-svn-id: svn://10.0.0.236/trunk@16217 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 02:48:40 +00:00
toshok%hungry.com
019795499b Fix the burm_STATE_LABEL thing, since the version of burg that I have (and that I assume we'll be using) doesn't use SET_STATE_LABEL - it makes assignments to STATE_LABEL.
git-svn-id: svn://10.0.0.236/trunk@16216 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 02:48:32 +00:00
peterl%netscape.com
1708b522be sync css selector output to new selector syntax
git-svn-id: svn://10.0.0.236/trunk@16215 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 02:48:00 +00:00
peterl%netscape.com
eaccb954c9 handle inline style sheet better
git-svn-id: svn://10.0.0.236/trunk@16214 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 02:47:25 +00:00
peterl%netscape.com
fed2ce07ee fixed base href for inline style sheets
set case sensativity in CSS parser


git-svn-id: svn://10.0.0.236/trunk@16213 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 02:46:25 +00:00
peterl%netscape.com
6280234f0b backed out prevoius change (not ready for it)
git-svn-id: svn://10.0.0.236/trunk@16212 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 02:45:25 +00:00
peterl%netscape.com
fe71a331fb added namespace support
git-svn-id: svn://10.0.0.236/trunk@16211 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 02:42:38 +00:00
toshok%hungry.com
c3757648b3 reorder member initialization to quiet warning.
git-svn-id: svn://10.0.0.236/trunk@16210 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 02:39:50 +00:00
peterl%netscape.com
59edc94473 removed pseudo class atoms (moved to css atoms)
git-svn-id: svn://10.0.0.236/trunk@16209 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 02:36:36 +00:00
peterl%netscape.com
2b172a49cd added namespace manager
git-svn-id: svn://10.0.0.236/trunk@16208 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 02:35:54 +00:00
peterl%netscape.com
5c40f60db7 added name space manager
git-svn-id: svn://10.0.0.236/trunk@16207 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 02:35:06 +00:00
peterl%netscape.com
f7c42b14ed changed style selector api
git-svn-id: svn://10.0.0.236/trunk@16206 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 02:33:23 +00:00
peterl%netscape.com
f1b91bd635 fixed default value of vertical align
git-svn-id: svn://10.0.0.236/trunk@16205 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 02:33:03 +00:00
peterl%netscape.com
8917b0149d added name space atoms
git-svn-id: svn://10.0.0.236/trunk@16204 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 02:31:51 +00:00
peterl%netscape.com
3b15182d29 added namespace interfaces
git-svn-id: svn://10.0.0.236/trunk@16203 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 02:30:59 +00:00
peterl%netscape.com
44d27498d4 added namespace manager accessor
git-svn-id: svn://10.0.0.236/trunk@16202 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 02:30:23 +00:00
peterl%netscape.com
087c4b9fd9 added namespace accessor
git-svn-id: svn://10.0.0.236/trunk@16201 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 02:30:08 +00:00
peterl%netscape.com
dd4b87c389 added namespace IIDs
git-svn-id: svn://10.0.0.236/trunk@16200 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 02:29:14 +00:00
peterl%netscape.com
73ba709cb4 switched to new name space APIs
git-svn-id: svn://10.0.0.236/trunk@16199 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 02:28:27 +00:00
mcmullen%netscape.com
f057f1160a Some more tweaks to suit various compilers and platforms.
git-svn-id: svn://10.0.0.236/trunk@16198 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 01:42:04 +00:00
mjudge%netscape.com
a3d406763f changing symantecs around and making the enumerator return the proper nsISupports
git-svn-id: svn://10.0.0.236/trunk@16197 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 01:40:01 +00:00
jj%netscape.com
b421b7c102 . Fixed error log file path
. Swapped OpenErrorLog and StopForErrors calls.
r=cyeh


git-svn-id: svn://10.0.0.236/trunk@16196 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 01:34:18 +00:00
pierre%netscape.com
3b32ebb46e Fixed Resize() and Invalidate() to make xpfe apps much faster
git-svn-id: svn://10.0.0.236/trunk@16195 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 01:11:23 +00:00
mjudge%netscape.com
4459d111f7 initializing the refcount
git-svn-id: svn://10.0.0.236/trunk@16194 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 01:04:54 +00:00
mjudge%netscape.com
cee4bdaa4e fixing factory issues
git-svn-id: svn://10.0.0.236/trunk@16193 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 01:03:12 +00:00
nisheeth%netscape.com
bc46c631a2 Added a new method, GetStyleHintForAttributeChange() to nsIHTMLContent.
git-svn-id: svn://10.0.0.236/trunk@16192 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 00:52:55 +00:00
cls%seawood.org
28d3ec4b12 Make the build optimized by default
git-svn-id: svn://10.0.0.236/trunk@16191 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 00:29:48 +00:00
kin%netscape.com
2595e48ef9 We no longer statically link libtxmgr.a.
git-svn-id: svn://10.0.0.236/trunk@16190 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 00:26:05 +00:00
kin%netscape.com
f87d102bdb Modified tests to call nsServiceManager::GetService() to create an
nsITransactionManager.


git-svn-id: svn://10.0.0.236/trunk@16189 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 00:25:33 +00:00
kin%netscape.com
e46884dd07 Initialize mRefCnt in constructor. Removed useless white space. Commented
out references to NS_TRANSACTIONMANAGER.


git-svn-id: svn://10.0.0.236/trunk@16188 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 00:24:29 +00:00
kin%netscape.com
cda2c71048 Added EXTRA_DSO_LDOPTS.
git-svn-id: svn://10.0.0.236/trunk@16187 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 00:23:25 +00:00
kin%netscape.com
8bd500c732 Added SetMaxTransactionCount() method to nsITransactionManager and
nsTransactionManager. Replaced all !NS_SUCCEEDED with NS_FAILED.


git-svn-id: svn://10.0.0.236/trunk@16186 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 00:22:34 +00:00
nisheeth%netscape.com
51147256cd Added a new method, GetStyleHintForAttributeChange() to nsIHTMLContent and implemented it in all the HTML content classes. The method is used by the HTML style sheet to get a style change hint from the content object when an attribute of the content object changes.
git-svn-id: svn://10.0.0.236/trunk@16185 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 23:52:46 +00:00
nisheeth%netscape.com
fef1fc5b4d Changed nsHTMLStyleSheetImpl::AttributeChanged() so that it asks the
content objects for style change hint.  Removed tag specific code in this function.


git-svn-id: svn://10.0.0.236/trunk@16184 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 23:49:13 +00:00
despotdaemon%netscape.com
eed9dc9652 Pseudo-automatic update of changes made by rth@cygnus.com.
git-svn-id: svn://10.0.0.236/trunk@16183 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 23:30:47 +00:00
despotdaemon%netscape.com
3603ef22e0 Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@16182 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 22:54:36 +00:00
despotdaemon%netscape.com
eba59fcffa Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@16181 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 22:51:47 +00:00
terry%netscape.com
ff7a1f2243 Added support for creating owners.html from despot.
git-svn-id: svn://10.0.0.236/trunk@16180 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 22:42:36 +00:00
akkana%netscape.com
623cf5add3 Fix win32 build
git-svn-id: svn://10.0.0.236/trunk@16179 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 20:15:25 +00:00
wtc%netscape.com
e2964d1a20 In PR_JoinThread, we need to call pthread_detach after pthread_join
under DCE threads because DCE threads' pthread_detach does not reclaim
the terminated thread's resources.


git-svn-id: svn://10.0.0.236/trunk@16178 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 19:58:23 +00:00
buster%netscape.com
0117f09401 support for CSS2 style property "empty-cells"
git-svn-id: svn://10.0.0.236/trunk@16177 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 19:57:42 +00:00
kmcclusk%netscape.com
5a8fd0f06d Added button to test_pr.html
git-svn-id: svn://10.0.0.236/trunk@16176 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 19:43:59 +00:00
terry%netscape.com
75fe0bb1e5 Old values for the column-header-cookie could cause problems when trying to tweak several bugs at once.
git-svn-id: svn://10.0.0.236/trunk@16175 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 19:41:30 +00:00
wtc%netscape.com
8821854755 Adjusted comments and white space.
git-svn-id: svn://10.0.0.236/trunk@16174 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 19:40:48 +00:00
wtc%netscape.com
a54e16096f Removed redundant #include "macsocket.h" (already included
by prinet.h).


git-svn-id: svn://10.0.0.236/trunk@16173 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 19:33:28 +00:00
wtc%netscape.com
499507333a Implemented the PR_APPEND and PR_TRUNCATE flags
for PR_Open.


git-svn-id: svn://10.0.0.236/trunk@16172 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 19:19:03 +00:00
akkana%netscape.com
e869ed3096 Clone and CloneContents
git-svn-id: svn://10.0.0.236/trunk@16171 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 18:58:49 +00:00
kmcclusk%netscape.com
9266103e2b Added test_pr to the set of sample file. test_pr is used to test printing of
form controls.


git-svn-id: svn://10.0.0.236/trunk@16170 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 18:55:45 +00:00
kmcclusk%netscape.com
7c89b4af6b Removed temporary ReflowWithNoWidget method from nsFormControlFrame.
Reflow without a widget is now handled by the standard Reflow method.


git-svn-id: svn://10.0.0.236/trunk@16169 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 18:47:02 +00:00
kin%netscape.com
24376dda52 Added nsTransactionManagerFactory.cpp to list of files to build.
git-svn-id: svn://10.0.0.236/trunk@16168 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 18:25:12 +00:00
kin%netscape.com
215c02c8e0 Added nsTransactionManagerCID.h to list of exports.
git-svn-id: svn://10.0.0.236/trunk@16167 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 18:24:18 +00:00
kin%netscape.com
6c47e9a11c Initial checkin of file.
git-svn-id: svn://10.0.0.236/trunk@16166 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 18:23:04 +00:00
kipp%netscape.com
57d57e34c2 Added automated regression testing support to the crawler
git-svn-id: svn://10.0.0.236/trunk@16165 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 18:05:59 +00:00
kipp%netscape.com
5c1319daaa Added -rd argument handling
git-svn-id: svn://10.0.0.236/trunk@16164 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 18:05:35 +00:00
kipp%netscape.com
c753afb5f6 Added FrameUtil
git-svn-id: svn://10.0.0.236/trunk@16163 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 18:05:06 +00:00
jfrancis%netscape.com
37fb4bca3f adding nsFrameUtil.cpp
git-svn-id: svn://10.0.0.236/trunk@16162 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 18:04:52 +00:00
kipp%netscape.com
2ab19d9126 Added factory CID and impl to create instances of nsIFrameUtil
git-svn-id: svn://10.0.0.236/trunk@16161 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 18:04:37 +00:00
kipp%netscape.com
2703d3ecab Added nsFrameUtil to the build
git-svn-id: svn://10.0.0.236/trunk@16160 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 18:04:18 +00:00
kipp%netscape.com
4cb4b05d3c Added nsIFrameUtil to the exports
git-svn-id: svn://10.0.0.236/trunk@16159 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 18:03:26 +00:00
kipp%netscape.com
b3aeaa58df Added nsIFrameUtil.h
git-svn-id: svn://10.0.0.236/trunk@16158 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 18:01:29 +00:00
rods%netscape.com
60fe4ee625 Added printing methods
git-svn-id: svn://10.0.0.236/trunk@16157 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 17:53:34 +00:00
kipp%netscape.com
f39da4fc73 Added some code to handle illegal color values more compatabibly
git-svn-id: svn://10.0.0.236/trunk@16156 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 17:50:43 +00:00
kipp%netscape.com
3d945293a9 Fixed border drawing to not draw zero sized borders
git-svn-id: svn://10.0.0.236/trunk@16155 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 17:50:11 +00:00
wtc%netscape.com
6824069144 Removed obsolete file macsockclient.c.
git-svn-id: svn://10.0.0.236/trunk@16154 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 17:44:35 +00:00
kmcclusk%netscape.com
4f4f08da7c Changes to actually print checkbox's and radiobuttons under Windows.
No longer need special offset's during printing. nsFormControlFrame now detects
when to gfx render the widgets.


git-svn-id: svn://10.0.0.236/trunk@16153 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 17:29:13 +00:00
karnaze%netscape.com
d4a59c0626 fixed bug 1806
git-svn-id: svn://10.0.0.236/trunk@16152 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 17:22:31 +00:00
wtc%netscape.com
3cff93e11d Made the second argument for PR_Writev a const pointer
(const PRIOVec *iov).
Modified files: prio.h, _unixos.h, primpl.h, rcfileio.cpp, rcfileio.h,
rcio.h, rcnetio.cpp, rcnetio.h, priometh.c, prlayer.c, prsocket.c,
macsockotpt.c, os2sock.c, solaris.c, unix.c, ntio.c, w16sock.c,
w95sock.c, ptio.c.


git-svn-id: svn://10.0.0.236/trunk@16151 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 17:09:48 +00:00
despotdaemon%netscape.com
d9d9589af3 Pseudo-automatic update of changes made by shaver@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@16150 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 17:07:29 +00:00
pinkerton%netscape.com
13f3951615 fix alias creation of AppShell debug shlb by appending the $D to the name.
git-svn-id: svn://10.0.0.236/trunk@16149 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 16:59:42 +00:00
toshok%hungry.com
aef3a93e3a fix warnings by providing empty virtual destructors for classes that needed them, reordering initialization of member variables, and by giving the type uint to all the 'const nFooTypes;' variables.
git-svn-id: svn://10.0.0.236/trunk@16148 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 11:52:47 +00:00
toshok%hungry.com
70f4e55bd6 do it right this time.
git-svn-id: svn://10.0.0.236/trunk@16147 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 11:27:43 +00:00
toshok%hungry.com
9ea5326bfe reverse initialization order to get around compiler warning.
git-svn-id: svn://10.0.0.236/trunk@16146 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 11:25:31 +00:00
toshok%hungry.com
dd142f3cc7 remove trigraph
git-svn-id: svn://10.0.0.236/trunk@16145 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 11:17:47 +00:00
toshok%hungry.com
01dd607e8f add a special rule so that make doesn't attempt on successive builds to compile PrimitiveOperations from PrimitiveOperations.cpp
git-svn-id: svn://10.0.0.236/trunk@16144 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 11:03:29 +00:00
toshok%hungry.com
ef349d84a9 correct (rather serious) warning.
git-svn-id: svn://10.0.0.236/trunk@16143 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 10:51:45 +00:00
waterson%netscape.com
7934068503 Made sure to treat attribute value case-insenstively. Fixed QueryInterface() call.
git-svn-id: svn://10.0.0.236/trunk@16142 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 10:06:37 +00:00
waterson%netscape.com
f2f124c46b Changed assumptions about where to find column info in the content model: specifically, removed the explicit <column> group required for every item. Hyatt, we'll need to talk about this.
git-svn-id: svn://10.0.0.236/trunk@16141 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 10:05:32 +00:00
waterson%netscape.com
d1dac79672 Made sure that attributes keys get tracked case-insensitively. Fixed return values from GetAttribute().
git-svn-id: svn://10.0.0.236/trunk@16140 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 10:03:52 +00:00
waterson%netscape.com
e2228a0485 Added columns. Made some tweaks to use common utility functions.
git-svn-id: svn://10.0.0.236/trunk@16139 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 08:49:57 +00:00
waterson%netscape.com
80376456c8 Fixed some content model bugs as we start hooking this up to the tree. Added code to generate columns in the content model.
git-svn-id: svn://10.0.0.236/trunk@16138 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 08:48:17 +00:00
waterson%netscape.com
1ed8a257b1 Added a reminder to do nsIDOMDocument someday.
git-svn-id: svn://10.0.0.236/trunk@16137 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 08:47:18 +00:00
waterson%netscape.com
02ecfa8eca Created a ton of utility functions to make life easier.
git-svn-id: svn://10.0.0.236/trunk@16136 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 08:46:32 +00:00
waterson%netscape.com
ffa4be56d2 Added some comments.
git-svn-id: svn://10.0.0.236/trunk@16135 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 08:45:52 +00:00
waterson%netscape.com
4017ce049c Changed the DEFINE_RDF_VOCAB macro to use char* instead of char[].
git-svn-id: svn://10.0.0.236/trunk@16134 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 08:45:25 +00:00
waterson%netscape.com
bed6ef42c2 Iterate through children of the <COLUMNS> node, not the original node.
git-svn-id: svn://10.0.0.236/trunk@16133 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 08:31:52 +00:00
waterson%netscape.com
acc6954db5 Make sure to get the children of the <CHILDREN> node, not the original node.
git-svn-id: svn://10.0.0.236/trunk@16132 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 08:30:59 +00:00
waterson%netscape.com
ea4b313af5 Make sure to addref the content node in the constructor.
git-svn-id: svn://10.0.0.236/trunk@16131 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 08:30:18 +00:00
waterson%netscape.com
cc28cd0da3 Force the tree demo to dump the content model before displaying the tree.
git-svn-id: svn://10.0.0.236/trunk@16130 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 08:29:14 +00:00
toshok%hungry.com
339df3db4c add FREEBSD
git-svn-id: svn://10.0.0.236/trunk@16129 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 08:09:06 +00:00
toshok%hungry.com
50525701e7 trim down Makefile.
git-svn-id: svn://10.0.0.236/trunk@16128 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 08:07:31 +00:00
toshok%hungry.com
015b6f10f4 get the Compiler/CodeGenerator/md stuff compiling
git-svn-id: svn://10.0.0.236/trunk@16127 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 08:06:25 +00:00
toshok%hungry.com
3968183322 the object files for EF are put in $(DIST)/modules/EF/ now. track this change.
git-svn-id: svn://10.0.0.236/trunk@16126 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 08:04:55 +00:00
toshok%hungry.com
1988f8da64 remove the manifest.mn and rules.mk files, folding them into the Makefile.
git-svn-id: svn://10.0.0.236/trunk@16125 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 08:04:18 +00:00
toshok%hungry.com
1e5ed62c47 phew. ok. get the config stuff at least limping along. i've used freebsd for this, but linux ought to work as well (even the freebsd stuff isn't perfect yet.)
git-svn-id: svn://10.0.0.236/trunk@16124 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 08:03:50 +00:00
toshok%hungry.com
a35c8545a2 use the mkdepend from the normal mozilla tree. it's got more portability foo in it.
git-svn-id: svn://10.0.0.236/trunk@16123 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 08:02:59 +00:00
toshok%hungry.com
ceeb2e1e6d fix a warning in generated code.
git-svn-id: svn://10.0.0.236/trunk@16122 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 07:59:47 +00:00
toshok%hungry.com
89d1c68897 add md stuff for freebsd.
git-svn-id: svn://10.0.0.236/trunk@16121 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 07:56:37 +00:00
toshok%hungry.com
e031e3f1b5 add the npl/copyright foo
git-svn-id: svn://10.0.0.236/trunk@16120 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 04:56:00 +00:00
despotdaemon%netscape.com
2cd96d1927 Pseudo-automatic update of changes made by wtc@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@16119 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 04:52:08 +00:00
sfraser%netscape.com
e86e6a6910 Convert AppleSingle->binary format.
git-svn-id: svn://10.0.0.236/trunk@16118 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 03:22:27 +00:00
troy%netscape.com
6a4e7032a9 Minor change to the flow of control to make it more readable
git-svn-id: svn://10.0.0.236/trunk@16117 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 03:20:31 +00:00
sfraser%netscape.com
f502b21879 Convert AppleSingle -> binary format
git-svn-id: svn://10.0.0.236/trunk@16116 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 03:20:07 +00:00
troy%netscape.com
09c5c0329a Added print options for controlling whether odd and even pages are printed
git-svn-id: svn://10.0.0.236/trunk@16115 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 03:07:11 +00:00
troy%netscape.com
6a5358e387 Changes to nsPrintOptions
git-svn-id: svn://10.0.0.236/trunk@16114 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 03:06:30 +00:00
davidm%netscape.com
07afcb65be First Checked In.
git-svn-id: svn://10.0.0.236/trunk@16113 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 01:23:18 +00:00
troy%netscape.com
55cb5a040c Fix for bug 1831 where an auto horizontal scrollbar was causing a vertical
scrollbar to be displayed even though it wasn't needed


git-svn-id: svn://10.0.0.236/trunk@16112 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 00:52:58 +00:00
kipp%netscape.com
4e8cd20aad new
git-svn-id: svn://10.0.0.236/trunk@16111 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 00:33:07 +00:00
kipp%netscape.com
78fe4cf1a1 Only zero out the height/ascent/descent if the empty text is not a pre-formatted piece of empty text, otherwise blank lines in PRE sections disappear
git-svn-id: svn://10.0.0.236/trunk@16110 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 00:30:52 +00:00
cmanske%netscape.com
64b1aaca89 Building Editor GUI Manager turned on in Windows build
git-svn-id: svn://10.0.0.236/trunk@16109 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 00:24:40 +00:00
hyatt%netscape.com
e08a99eb10 Nodes now track their correct indentation levels (from the content model).
git-svn-id: svn://10.0.0.236/trunk@16108 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 00:21:44 +00:00
kipp%netscape.com
aae87bb6cc Compute percentage base properly
git-svn-id: svn://10.0.0.236/trunk@16107 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 23:51:39 +00:00
buster%netscape.com
ad5a50d3d6 an even cleaner implementation of InsertRow
git-svn-id: svn://10.0.0.236/trunk@16105 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 23:30:06 +00:00
akkana%netscape.com
7a2989e97c Turn on guimgr in Unix build
git-svn-id: svn://10.0.0.236/trunk@16104 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 23:24:42 +00:00
buster%netscape.com
e8c6b1d306 fixed nsHTMLTableElement::InsertRow()
git-svn-id: svn://10.0.0.236/trunk@16103 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 23:19:12 +00:00
troy%netscape.com
ef6dcd06c6 Changed StartDocument/EndDocument to use the correct device context
git-svn-id: svn://10.0.0.236/trunk@16102 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 23:12:56 +00:00
guha%netscape.com
9963eb6172 Add opendir files to the repository
git-svn-id: svn://10.0.0.236/trunk@16101 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 23:08:59 +00:00
hyatt%netscape.com
4e2228aac7 Columns are now grabbed from the content model.
git-svn-id: svn://10.0.0.236/trunk@16100 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 23:08:32 +00:00
troy%netscape.com
4694f541a3 Moved StartDocument/EndDocument calls to document viewer impl's Print() member
function. This fits better with the Mac's printing model


git-svn-id: svn://10.0.0.236/trunk@16099 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 22:36:57 +00:00
troy%netscape.com
56e6a45664 Moved StartDocument/EndDocument calls from page sequence frame to Print(). This
fits better with the Mac printing model


git-svn-id: svn://10.0.0.236/trunk@16098 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 22:36:17 +00:00
cmanske%netscape.com
ab584d15ac Fixing build bustage?
git-svn-id: svn://10.0.0.236/trunk@16097 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 22:19:41 +00:00
jfrancis%netscape.com
b437dbe832 checking in a bit more of deleteContents; hard part still not done.
git-svn-id: svn://10.0.0.236/trunk@16096 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 22:07:00 +00:00
cmanske%netscape.com
ea8761c29b Fixing build bustage
git-svn-id: svn://10.0.0.236/trunk@16094 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 21:22:17 +00:00
hyatt%netscape.com
58afbb9b75 My previous checkin is going to break Linux. This checkin should fix the
build bustage.


git-svn-id: svn://10.0.0.236/trunk@16093 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 20:50:27 +00:00
sfraser%netscape.com
88a68ec8f5 Convert AppleSingle -> binary
git-svn-id: svn://10.0.0.236/trunk@16092 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 20:48:54 +00:00
sfraser%netscape.com
29b6e1b70d Convert AppleSingle -> binary, turn on debug info, fix library creator.
git-svn-id: svn://10.0.0.236/trunk@16091 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 20:47:46 +00:00
davidm%netscape.com
912989eaf3 Add code to build XPAppShell to build list
git-svn-id: svn://10.0.0.236/trunk@16090 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 20:43:50 +00:00
davidm%netscape.com
28fdf086c6 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@16089 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 20:42:35 +00:00
davidm%netscape.com
2389083d3b Updated to use Mac shared libraries
git-svn-id: svn://10.0.0.236/trunk@16088 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 20:40:18 +00:00
davidm%netscape.com
752b704af0 modifiy initialize to return nsresult rather than an implicit int
git-svn-id: svn://10.0.0.236/trunk@16087 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 20:39:51 +00:00
sfraser%netscape.com
d5c9b867c7 Turn on debug info in debug target. Shlb creator -> MOZZ
git-svn-id: svn://10.0.0.236/trunk@16086 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 20:27:00 +00:00
sfraser%netscape.com
53dedba1d6 Convert from AppleSingle to binary format.
git-svn-id: svn://10.0.0.236/trunk@16085 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 20:24:51 +00:00
hyatt%netscape.com
c7cb6abc3b Modifications to make the tree widget talk to nsIContent.
git-svn-id: svn://10.0.0.236/trunk@16084 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 19:57:15 +00:00
cmanske%netscape.com
0b219df90c Fixed build problems with Editor Gui Manager
git-svn-id: svn://10.0.0.236/trunk@16083 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 19:57:09 +00:00
hyatt%netscape.com
b348c5d2bc Modified the tree view interface so a content root can be set.
git-svn-id: svn://10.0.0.236/trunk@16082 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 19:56:55 +00:00
hyatt%netscape.com
338233b8f9 Modifications to make the tree view speak to RDF.
git-svn-id: svn://10.0.0.236/trunk@16081 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 19:56:30 +00:00
kin%netscape.com
5f2cac374d Modified Undo() and Redo() to throw an error if there is a transaction
on the Do stack.


git-svn-id: svn://10.0.0.236/trunk@16080 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 19:53:31 +00:00
radha%netscape.com
d9a87cd6eb Added appshell and bootstrap Makefiles to the list
git-svn-id: svn://10.0.0.236/trunk@16079 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 19:48:49 +00:00
akkana%netscape.com
6d0f552ce0 Fix C++ comment in C file
git-svn-id: svn://10.0.0.236/trunk@16078 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 19:46:38 +00:00
kin%netscape.com
c712081325 Added aggregation_test(), stress_test(), and aggregation_stress_test().
git-svn-id: svn://10.0.0.236/trunk@16077 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 19:28:58 +00:00
terry%netscape.com
6217e65ae5 Got rid of some harmless warning messages.
git-svn-id: svn://10.0.0.236/trunk@16076 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 19:27:37 +00:00
cmanske%netscape.com
230961099c Modified makefiles for new filenames
git-svn-id: svn://10.0.0.236/trunk@16074 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 19:24:31 +00:00
cmanske%netscape.com
a580001f06 Added new files for Editor Gui Manager
git-svn-id: svn://10.0.0.236/trunk@16073 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 19:23:49 +00:00
cmanske%netscape.com
ec65f22f1b Changed name of file
git-svn-id: svn://10.0.0.236/trunk@16072 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 19:23:01 +00:00
akkana%netscape.com
060cfafd1c implementation for CompareEndPoints
git-svn-id: svn://10.0.0.236/trunk@16071 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 19:21:49 +00:00
sfraser%netscape.com
41ffc846a9 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@16070 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 19:08:54 +00:00
cmanske%netscape.com
cc4786b82e Modified makefiles for Editor Gui Manager
git-svn-id: svn://10.0.0.236/trunk@16069 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 19:04:11 +00:00
cmanske%netscape.com
ef41f2f2f7 Added Editor GuiManager source files
git-svn-id: svn://10.0.0.236/trunk@16068 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 19:00:35 +00:00
cmanske%netscape.com
796505baac Added public headers for Editor Gui Manager
git-svn-id: svn://10.0.0.236/trunk@16067 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 18:59:31 +00:00
cmanske%netscape.com
4ddb6588f8 Added Gui Manager makefiles
git-svn-id: svn://10.0.0.236/trunk@16066 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 18:56:39 +00:00
akkana%netscape.com
1e7ab9d594 Update Range spec
git-svn-id: svn://10.0.0.236/trunk@16065 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 18:44:26 +00:00
ramiro%netscape.com
ab3a800524 Remove duplicate entries for :
mozilla/Makefile.in
mozilla/configure.in


git-svn-id: svn://10.0.0.236/trunk@16064 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 17:45:13 +00:00
wtc%netscape.com
add34905f7 Removed mention of MAC in the makefile. Mac doesn't use makefles.
git-svn-id: svn://10.0.0.236/trunk@16063 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 17:43:00 +00:00
wtc%netscape.com
57b4ef036a Removed the temporary depend:clean hack.
git-svn-id: svn://10.0.0.236/trunk@16062 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 17:42:06 +00:00
wtc%netscape.com
e476b7f876 Added build support for the C++ wrappers in pr/src/cplus.
Set USE_CPLUS=1 to recurse into that directory.


git-svn-id: svn://10.0.0.236/trunk@16061 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 17:39:37 +00:00
kin%netscape.com
d52fc03869 Fixed off by 1 error that occurs in PopBack() when
(mOrigin + mSize) >= mCapacity.


git-svn-id: svn://10.0.0.236/trunk@16060 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 17:07:20 +00:00
wtc%netscape.com
36f6c7c683 Temporary depend:clean hack to make sure the Tinderbox depend continuous
builds work after a major checkin.


git-svn-id: svn://10.0.0.236/trunk@16058 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 16:45:36 +00:00
wtc%netscape.com
4c71f93c90 This checkin consists on three things:
1. File descriptor inheritance
2. Set thread->md.handle on Win32 for attached native threads.
3. Miscellaneous code cleanup.


git-svn-id: svn://10.0.0.236/trunk@16057 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 16:37:26 +00:00
ramiro%netscape.com
26ae5aef25 Make the get config dir hack more robust. This thing is probably going away
in the xpfe world.
Thanks to rth@cygnus.com (Richard Henderson) for pointing this out.


git-svn-id: svn://10.0.0.236/trunk@16056 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 15:28:19 +00:00
ramiro%netscape.com
3a5245952b Fix bugzilla bug 1822.
Memory clobber on 64-bit host.
Thanks to rth@cygnus.com for catching this and providing a fix.


git-svn-id: svn://10.0.0.236/trunk@16055 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 15:13:42 +00:00
pierre%netscape.com
c43e0c95ac Implemented scrollbars as native controls. Still some bugs, should have live-scrolling, should be proportionnal under 8.5.
git-svn-id: svn://10.0.0.236/trunk@16054 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 13:26:49 +00:00
pierre%netscape.com
fbec6c5006 don't draw when not visible
git-svn-id: svn://10.0.0.236/trunk@16053 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 13:24:26 +00:00
pierre%netscape.com
e23f728ea6 redraw on Scroll()
git-svn-id: svn://10.0.0.236/trunk@16052 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 13:24:09 +00:00
shaver%netscape.com
3704af165d Fixed usage-string typo.
Update to 0.5.7 IDL_tree_property_get API.
Reworked input callback for cleanliness.
Add (not-yet-working) infrastructure for %{ C %} raw blocks.


git-svn-id: svn://10.0.0.236/trunk@16051 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 13:08:29 +00:00
pierre%netscape.com
ea8b8fc593 removed saari's hacks
git-svn-id: svn://10.0.0.236/trunk@16050 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 10:18:50 +00:00
pierre%netscape.com
1a05cbde32 A bunch of changes: removed saari's hacks, fixed origins, clipping, resize and update
git-svn-id: svn://10.0.0.236/trunk@16049 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 10:18:30 +00:00
pierre%netscape.com
c8c24c8ec4 don't draw when not visible and don't draw in SetThumbSize() in order to fix a flicker of the horizontal sbar on resize when the text fits into the page
git-svn-id: svn://10.0.0.236/trunk@16048 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 10:18:03 +00:00
pierre%netscape.com
7915c018e6 removed saari's hack
git-svn-id: svn://10.0.0.236/trunk@16047 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 10:17:31 +00:00
pierre%netscape.com
ce57119548 A bunch of changes: removed saari's hacks, fixed origins, fixed clipping, fixed offscreen (for simple use like in the ImageButtons only, not for multiple offscreen surfaces like the Blender in the ViewManager), fixed a bug in some drawing functions (DrawEllipse, FillEllipse, DrawArc)
git-svn-id: svn://10.0.0.236/trunk@16046 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 10:17:06 +00:00
pierre%netscape.com
aab0e25c0f Fixed the "GrowWindow" from DRAW_ON_RESIZE in order to have a minimum window size (Viewer and maybe XPViewer don't support very narrow windows). Added a WaitNextEvent for update events during the DRAW_ON_RESIZE after having fixed a related bug in nsWindow.
git-svn-id: svn://10.0.0.236/trunk@16045 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 10:16:35 +00:00
pierre%netscape.com
0b48a12c5b Removed the last of the Mac specific hacks added last week
git-svn-id: svn://10.0.0.236/trunk@16044 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 10:16:15 +00:00
pierre%netscape.com
ca47f2ae5a Copied SetAlphaMask() from Windows in an attempt to fix some problems (it did not but I'm leaving it there because it cannot hurt).
git-svn-id: svn://10.0.0.236/trunk@16043 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 10:15:44 +00:00
pierre%netscape.com
2883145fe2 Use a better looking font on the Mac
git-svn-id: svn://10.0.0.236/trunk@16042 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 10:15:22 +00:00
pierre%netscape.com
30222ada44 Removed some include files
git-svn-id: svn://10.0.0.236/trunk@16041 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 10:14:46 +00:00
pierre%netscape.com
aed880d6cc Added several MakeAlias for xSym files
git-svn-id: svn://10.0.0.236/trunk@16040 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 10:14:06 +00:00
mcmullen%netscape.com
5585c8bf96 Trying to make this build on unix gcc compilers, I have removed all references to std::string, using char* instead. This almost made me cry (not just because of all the work I had to do over again).
git-svn-id: svn://10.0.0.236/trunk@16039 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 08:47:30 +00:00
wtc%netscape.com
b0441c2895 Initial checkin of NSPR C++ wrapper classes (pr/src/cplus).
git-svn-id: svn://10.0.0.236/trunk@16038 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 06:54:06 +00:00
buster%netscape.com
415d59aa67 tables can now have independent horizontal and vertical cell spacing
("cellspacing" HTML attribute == "border-spacing" CSS property, go figure...)


git-svn-id: svn://10.0.0.236/trunk@16037 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 06:37:18 +00:00
buster%netscape.com
a85d3c902d cellspacing split out into x and y, HTML attribute sets both to same value
git-svn-id: svn://10.0.0.236/trunk@16036 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 06:36:32 +00:00
buster%netscape.com
91804a7b1d added implementation for CSS-2 style attributes border-collapse, border-spacing, empty-cells, caption-side
git-svn-id: svn://10.0.0.236/trunk@16035 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 06:24:50 +00:00
buster%netscape.com
88bb687497 added implementation for CSS-2 style attributes border-collapse, border-spacing, empty-cells, caption-side
this is sufficient for now, but incomplete.  It doesn't handle inherit properly.


git-svn-id: svn://10.0.0.236/trunk@16034 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 06:24:27 +00:00
fur%netscape.com
5a98423bb8 Moved Win32 build instructions to mozilla.org
git-svn-id: svn://10.0.0.236/trunk@16033 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 05:57:20 +00:00
troy%netscape.com
0a0b7ae6b0 Added new atoms to nsLayoutAtoms for additional named frame child lists
git-svn-id: svn://10.0.0.236/trunk@16032 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 05:30:17 +00:00
mcmullen%netscape.com
0588941742 Tried to make this a little more gcc friendly - created some NS_USING_NAMESPACE/ NS_NAMESPACE ugliness. Sigh.
git-svn-id: svn://10.0.0.236/trunk@16031 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 05:09:28 +00:00
troy%netscape.com
c9e7bd13c8 Fixed a crash when resizing the print preview window
git-svn-id: svn://10.0.0.236/trunk@16029 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 04:26:42 +00:00
waterson%netscape.com
7b2c6f451a Initial revision. Not currently in the build.
git-svn-id: svn://10.0.0.236/trunk@16028 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 03:51:50 +00:00
kipp%netscape.com
a048610ac8 Backed out one change
git-svn-id: svn://10.0.0.236/trunk@16027 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 03:40:42 +00:00
kipp%netscape.com
7d60f51dd7 new
git-svn-id: svn://10.0.0.236/trunk@16026 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 03:40:03 +00:00
mcmullen%netscape.com
54c41190bf Removing because checked into this directory by mistake.
git-svn-id: svn://10.0.0.236/trunk@16025 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 03:35:52 +00:00
kipp%netscape.com
55710f3285 new
git-svn-id: svn://10.0.0.236/trunk@16024 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 03:31:08 +00:00
waterson%netscape.com
c1b015aaa9 Content model changes to get the tree widget alive.
git-svn-id: svn://10.0.0.236/trunk@16023 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 03:25:33 +00:00
gagan%netscape.com
d1075553b3 This was causing part of the disappearing cache objects problem. This is now internally handled in the new cache.
git-svn-id: svn://10.0.0.236/trunk@16022 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 02:58:50 +00:00
amusil%netscape.com
e59f502108 Fix for Bug# 1771. Re-ordered the calling into the plugin entry point. Initialize()
for 4x plugin now happens in CreatePlugin().


git-svn-id: svn://10.0.0.236/trunk@16021 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 02:47:03 +00:00
gagan%netscape.com
2bd31be77d Cache changes, bug fixes, etc.
git-svn-id: svn://10.0.0.236/trunk@16020 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 02:43:16 +00:00
pinkerton%netscape.com
0012f434c9 Remove PLStringFuncs.o for new universal headers.
git-svn-id: svn://10.0.0.236/trunk@16019 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 01:56:57 +00:00
pinkerton%netscape.com
9606099d46 fix for new universal headers. Don't use PLstringfuncs and add an inline helper to the helper namespace which does the same things.
git-svn-id: svn://10.0.0.236/trunk@16018 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 01:56:36 +00:00
sfraser%netscape.com
53224b3fc9 Fix part of build bustage. (Strange, this built fine with my tools).
git-svn-id: svn://10.0.0.236/trunk@16017 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 01:30:42 +00:00
dougt%netscape.com
04e9501977 New makefile.win for standalone registry target.
git-svn-id: svn://10.0.0.236/trunk@16016 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 01:10:28 +00:00
dougt%netscape.com
f5705cdc6e removed standalone references since we now have a fancy new target one
dir above us.


git-svn-id: svn://10.0.0.236/trunk@16015 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 01:09:21 +00:00
dougt%netscape.com
4b96b224b6 added standalone target. r.leaf
git-svn-id: svn://10.0.0.236/trunk@16014 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 01:08:28 +00:00
law%netscape.com
f434dd9914 Added Windoze support
git-svn-id: svn://10.0.0.236/trunk@16013 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 01:04:53 +00:00
sfraser%netscape.com
c78482348a Adding nsBlockBandData.cpp
git-svn-id: svn://10.0.0.236/trunk@16012 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 00:26:56 +00:00
sfraser%netscape.com
58f98a359a Fix the timer compare function (need an extra dereference).
git-svn-id: svn://10.0.0.236/trunk@16011 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 00:08:41 +00:00
sfraser%netscape.com
ced13cc404 Remove access path to the root of the mozilla tree, which caused this thing to take forever to load in the IDE.
git-svn-id: svn://10.0.0.236/trunk@16010 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 23:58:23 +00:00
cltbld%netscape.com
cd400f55ba add nsBlockBandData.h per kipp's addition
git-svn-id: svn://10.0.0.236/trunk@16009 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 23:25:30 +00:00
despotdaemon%netscape.com
15f972aef0 Pseudo-automatic update of changes made by davidm@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@16008 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 23:07:26 +00:00
despotdaemon%netscape.com
3eddb5fb7f Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@16007 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 23:03:54 +00:00
sar%netscape.com
05dc3133d1 add RaptorAll modules for tinderbox, also clean up a little formatting cruft
git-svn-id: svn://10.0.0.236/trunk@16006 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 23:03:11 +00:00
radha%netscape.com
0ec1a9da0f Add appshell and bootstrap to DIRS list
git-svn-id: svn://10.0.0.236/trunk@16005 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 22:47:16 +00:00
radha%netscape.com
64cb0235fd Initial checkin
git-svn-id: svn://10.0.0.236/trunk@16004 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 22:46:35 +00:00
radha%netscape.com
56af85ca53 Initial Checkin
git-svn-id: svn://10.0.0.236/trunk@16003 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 22:45:58 +00:00
mcmullen%netscape.com
cf8dafefa3 Polished the interfaces, added long comments in the headers.
The next step is checking by Bill Law and Steve Lamm for Win and Unix.  Then it's open season.


git-svn-id: svn://10.0.0.236/trunk@16002 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 22:45:42 +00:00
mcmullen%netscape.com
a1b4ed0f62 Added nsFileStream.cpp to this project.
Polished the interfaces, added long comments in the headers.

The next step is checking by Bill Law and Steve Lamm for Win and Unix.  Then it's open season.


git-svn-id: svn://10.0.0.236/trunk@16001 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 22:45:38 +00:00
radha%netscape.com
81a1403853 Initial checkin. Stubs for the unix apprunner
git-svn-id: svn://10.0.0.236/trunk@16000 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 22:44:55 +00:00
mcmullen%netscape.com
963a718dd7 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@15999 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 22:43:57 +00:00
radha%netscape.com
ae0d8d70da Load the unix nsappshell.so in to the registry
git-svn-id: svn://10.0.0.236/trunk@15998 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 22:43:52 +00:00
radha%netscape.com
c92f782b69 Initial checkin for Unix apprunner
git-svn-id: svn://10.0.0.236/trunk@15997 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 22:43:20 +00:00
raman%netscape.com
ede3cc4a41 Bug fix to make ftp:// protocol to work with the new cache code.
git-svn-id: svn://10.0.0.236/trunk@15996 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 22:11:05 +00:00
kin%netscape.com
5ab61098d8 Fixed bug that prevented transaction item children from being redone.
git-svn-id: svn://10.0.0.236/trunk@15995 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 22:05:23 +00:00
kipp%netscape.com
5f8a1a12d4 new
git-svn-id: svn://10.0.0.236/trunk@15993 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 21:44:22 +00:00
kipp%netscape.com
59ad825d3e Added some debug checks to sizes; keep zero sized items on the same line whenever possible
git-svn-id: svn://10.0.0.236/trunk@15992 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 21:43:42 +00:00
kipp%netscape.com
5014326024 Factored out the block-band-data class; fixed a bug with treating block objects that weren't really nsBlockFrame's like they were (bug #1713)
git-svn-id: svn://10.0.0.236/trunk@15991 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 21:43:15 +00:00
kipp%netscape.com
c79140ae51 Added nsBlockBandData
git-svn-id: svn://10.0.0.236/trunk@15990 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 21:42:35 +00:00
despotdaemon%netscape.com
e2c6346a96 Pseudo-automatic update of changes made by msanz@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@15989 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 20:16:12 +00:00
akkana%netscape.com
5bbb9bbf32 GetOwnerDocument should return NS_ERROR_NOT_IMPLEMENTED if it's not going to modify its input
git-svn-id: svn://10.0.0.236/trunk@15986 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 19:53:25 +00:00
pnunn%netscape.com
7c942df448 update to png version 1.0.2. -pnunn.
git-svn-id: svn://10.0.0.236/trunk@15985 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 19:44:02 +00:00
pinkerton%netscape.com
927f043691 Don't build NavServices stuff because it doesn't work with the 3.2 universal headers (apple changed a struct).
git-svn-id: svn://10.0.0.236/trunk@15984 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 19:42:52 +00:00
pnunn%netscape.com
5d972fec0f update to png version 1.0.2. -pnunn. Note: gamma is temporarily disabled.
git-svn-id: svn://10.0.0.236/trunk@15983 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 19:41:25 +00:00
buster%netscape.com
ab0a080e21 fixed a minor glitch I introduced where nested tables cells were getting
robbed of a few pixels in width in some cases.


git-svn-id: svn://10.0.0.236/trunk@15982 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 19:18:33 +00:00
waterson%netscape.com
57daa111ab Obsolete.
git-svn-id: svn://10.0.0.236/trunk@15981 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 19:14:43 +00:00
akkana%netscape.com
2d6147c177 Remove old selection code (and fix linux build)
git-svn-id: svn://10.0.0.236/trunk@15980 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 18:55:00 +00:00
danm%netscape.com
dee66bb417 removed nsSelection.cpp, nsSelectionPoint.cpp, nsSelectionRange.cpp. yell at mjudge if this causes problems.
git-svn-id: svn://10.0.0.236/trunk@15979 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 18:34:59 +00:00
mjudge%netscape.com
d40094a5a2 changes to default to new selection
git-svn-id: svn://10.0.0.236/trunk@15978 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 18:26:34 +00:00
mjudge%netscape.com
03ace6e2d1 chagnes to selection
git-svn-id: svn://10.0.0.236/trunk@15977 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 18:26:06 +00:00
mjudge%netscape.com
a60c78a903 changes to selection
git-svn-id: svn://10.0.0.236/trunk@15976 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 18:25:47 +00:00
mjudge%netscape.com
3b8b44ad07 changes to remove selection
git-svn-id: svn://10.0.0.236/trunk@15975 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 18:25:27 +00:00
troy%netscape.com
f40c33432f Initial table pagination support
git-svn-id: svn://10.0.0.236/trunk@15974 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 17:57:45 +00:00
raman%netscape.com
3ca530cf7c Bug fix for 928. Check for null address in the URL_s structure.
git-svn-id: svn://10.0.0.236/trunk@15973 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 17:55:03 +00:00
kipp%netscape.com
3e00c5832e backed out last changes
git-svn-id: svn://10.0.0.236/trunk@15972 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 17:33:28 +00:00
kipp%netscape.com
fb782a13db Fix a cut-paste coding error
git-svn-id: svn://10.0.0.236/trunk@15971 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 17:19:17 +00:00
kipp%netscape.com
83eafe11c2 Fixed an improper use of NS_RELEASE
git-svn-id: svn://10.0.0.236/trunk@15970 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 16:08:44 +00:00
kipp%netscape.com
b1ee8580db Updated to latest nsIWebShellContainer API
git-svn-id: svn://10.0.0.236/trunk@15969 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 15:51:42 +00:00
waterson%netscape.com
a6cb66db1e Cleaned up data source construction, made more consistent with other NGLayout modules.
git-svn-id: svn://10.0.0.236/trunk@15968 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 06:53:49 +00:00
waterson%netscape.com
8a398a690e Changed nsRDFDataSource::Initialize to Init to be consistent with the rest of the world.
git-svn-id: svn://10.0.0.236/trunk@15967 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 06:28:36 +00:00
waterson%netscape.com
1db3f68a17 Some stuff to the TO DO list.
git-svn-id: svn://10.0.0.236/trunk@15966 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 06:24:28 +00:00
waterson%netscape.com
95952ef887 Some horrible hackery to get hyatt started on debugging the tree with a real content model.
git-svn-id: svn://10.0.0.236/trunk@15965 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 05:10:35 +00:00
waterson%netscape.com
0d4d36b993 Added CID for RDF tree document.
git-svn-id: svn://10.0.0.236/trunk@15964 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 04:56:10 +00:00
waterson%netscape.com
11fc399841 Fixed a missing refcount.
git-svn-id: svn://10.0.0.236/trunk@15963 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 04:55:25 +00:00
kipp%netscape.com
14ec540a13 Fixed bug #1621 - if a floater was too wide and it was right aligned it would end up positioned off the left edge of the block
git-svn-id: svn://10.0.0.236/trunk@15961 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 03:57:12 +00:00
waterson%netscape.com
76280043c8 Moved the RDF document interfaces out into the open. Added some stuff to make it easier to construct a data source from outside of normal channels.
git-svn-id: svn://10.0.0.236/trunk@15960 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 03:49:14 +00:00
kipp%netscape.com
9e360eec32 Removed check for a band count of when when clearing floaters because if the floater is large the band may only have one trapezoid in it
git-svn-id: svn://10.0.0.236/trunk@15959 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 03:47:44 +00:00
kipp%netscape.com
2898a86645 new
git-svn-id: svn://10.0.0.236/trunk@15958 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 03:36:34 +00:00
kipp%netscape.com
264d8928b8 Implement new NewWebShell API
git-svn-id: svn://10.0.0.236/trunk@15957 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 02:39:48 +00:00
jfrancis%netscape.com
7d28e05c79 removing tabs; started deleteContents() imp
git-svn-id: svn://10.0.0.236/trunk@15956 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 02:26:15 +00:00
mcmullen%netscape.com
62ce39a5db Added nsFileSpec.cpp to this project (you also get nsFileStream, but this is all done with templates in a header - this may need to be revisited).
This is the first real checkin of nsFileSpec.*, and the first ever checkin of nsFileStream.h.  This provides typesafe file specifications, interconversions, and full Standard Library support for iostreams, based on these specifications.

The next step is checking by Bill Law and Steve Lamm for Win and Unix.  Then it's open season.


git-svn-id: svn://10.0.0.236/trunk@15955 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 02:24:19 +00:00
mcmullen%netscape.com
7612b35bc7 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@15954 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 02:22:54 +00:00
sfraser%netscape.com
ec62691775 Added Debug and Tools menus, and hooked up some of the menu items. They don't all work yet.
git-svn-id: svn://10.0.0.236/trunk@15953 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 02:16:42 +00:00
mcmullen%netscape.com
ce9cf0d08e First Checked In.
git-svn-id: svn://10.0.0.236/trunk@15952 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 02:15:50 +00:00
sfraser%netscape.com
c9a0831caa Don't crash when failing to create dialogs (which we don't have a widget for yet on Mac).
git-svn-id: svn://10.0.0.236/trunk@15951 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 02:15:21 +00:00
kipp%netscape.com
5238173304 Implement new NewWebShell API
git-svn-id: svn://10.0.0.236/trunk@15950 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 01:57:40 +00:00
kipp%netscape.com
4214d0534b Added 2 more arguments to NewWebShell so that new top-level windows could be created properly
git-svn-id: svn://10.0.0.236/trunk@15949 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 01:57:00 +00:00
kipp%netscape.com
923f08db82 Pass in chrome and visibility during web-shell creation
git-svn-id: svn://10.0.0.236/trunk@15948 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 01:56:31 +00:00
pierre%netscape.com
4ff8ec2ffe optimized and cleaned up
git-svn-id: svn://10.0.0.236/trunk@15947 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 01:47:04 +00:00
buster%netscape.com
119726a491 fixed a bug in table-layout:fixed mode
fixed bug fixed a few small bugs


git-svn-id: svn://10.0.0.236/trunk@15946 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 01:00:14 +00:00
buster%netscape.com
bd36f4fc76 fixed default cellspacing and cellpadding
git-svn-id: svn://10.0.0.236/trunk@15945 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 00:59:15 +00:00
kipp%netscape.com
b3d40caef9 new
git-svn-id: svn://10.0.0.236/trunk@15944 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 00:57:45 +00:00
troy%netscape.com
d0f172e81d Improved height calculation when there are floaters. Now we check against
the content area y-most rather than the frame bounds y-most. This ensures
that border and padding are respected along the bottom edge


git-svn-id: svn://10.0.0.236/trunk@15942 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 00:01:12 +00:00
law%netscape.com
182b2b0393 Accept URL on command line
git-svn-id: svn://10.0.0.236/trunk@15941 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 23:35:02 +00:00
waterson%netscape.com
f646a5ae5c Removed obsolete file.
git-svn-id: svn://10.0.0.236/trunk@15940 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 23:18:11 +00:00
kipp%netscape.com
bc8d0e6224 Made image documents layout again
git-svn-id: svn://10.0.0.236/trunk@15939 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 22:29:13 +00:00
kipp%netscape.com
2c0c8a72a7 Disabled fixed height/width ignoring code for shrink-wrap blocks; fixed crash bug with premature deleting of a line
git-svn-id: svn://10.0.0.236/trunk@15938 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 22:28:55 +00:00
kipp%netscape.com
2c7beba568 Added DeleteLine method
git-svn-id: svn://10.0.0.236/trunk@15937 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 22:28:23 +00:00
akkana%netscape.com
38c4a010d7 Change NULL to 0 in NS_RELEASE and NS_IF_RELEASE macros.
This is illegal C++ (at least on machines where NULL == (void*)0)
and breaks some compilers, issues warnings in others.


git-svn-id: svn://10.0.0.236/trunk@15936 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 21:57:57 +00:00
raman%netscape.com
08c4b8f0d0 Bug fix for 1741. For XP_FILE_READ_BIN permission types, set mode as nsRead.
git-svn-id: svn://10.0.0.236/trunk@15935 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 21:49:29 +00:00
shaver%netscape.com
459587fe77 remove dead code, tweak whitespace
git-svn-id: svn://10.0.0.236/trunk@15934 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 20:23:37 +00:00
waterson%netscape.com
042cf627d5 Cleaned up content model generation.
git-svn-id: svn://10.0.0.236/trunk@15933 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 20:09:30 +00:00
kipp%netscape.com
d596ead678 Slightly better handling of left/right block margins
git-svn-id: svn://10.0.0.236/trunk@15932 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 19:34:41 +00:00
dcone%netscape.com
9f0879552a Changed some attributes on the printer items for the menus
git-svn-id: svn://10.0.0.236/trunk@15931 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 19:14:33 +00:00
harishd%netscape.com
bf95de173e changed the code that previously accessed mBorderStyle and mBordercolor
with new methods added in nsStyleSpacing


git-svn-id: svn://10.0.0.236/trunk@15930 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 19:07:45 +00:00
harishd%netscape.com
9e86b8e8b4 Changed code that previously accessed mBorderStyle and mBorderColor with
new methods added in nsStyleSpacing


git-svn-id: svn://10.0.0.236/trunk@15929 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 19:06:55 +00:00
harishd%netscape.com
1abffa47d3 Changed code that previously accessed mBorderStyle and mBorderColor
with new mehtods added in nsStyleSpacing


git-svn-id: svn://10.0.0.236/trunk@15928 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 19:05:40 +00:00
harishd%netscape.com
1f271c4b88 Included a new DrawDashedSide() function prototype and modified DrawSide() function.
git-svn-id: svn://10.0.0.236/trunk@15927 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 19:04:39 +00:00
harishd%netscape.com
992a69972a Changed code that previously accessed mBorderStyle and mBorderColor
with new methods added in nsStyleSpacing


git-svn-id: svn://10.0.0.236/trunk@15926 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 19:02:13 +00:00
harishd%netscape.com
3184560d3b No change
git-svn-id: svn://10.0.0.236/trunk@15925 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 19:00:45 +00:00
harishd%netscape.com
010e4bd873 Changed code that previously accessed mBorderStyle and mBorderColor
with new methods added in nsStyleSpacing


git-svn-id: svn://10.0.0.236/trunk@15924 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 18:56:29 +00:00
harishd%netscape.com
2845bf2e91 Changed code that previously accessed mBorderStyle and mBorderColor
with the new methods added in nsStyleSpacing


git-svn-id: svn://10.0.0.236/trunk@15923 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 18:55:19 +00:00
harishd%netscape.com
5928b4de66 Changed all the places that previously accessed mBorderStyle and mBorderColor
with the new methods added in nsStyleSpacing


git-svn-id: svn://10.0.0.236/trunk@15922 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 18:53:07 +00:00
harishd%netscape.com
6642c7f122 changed all the places that previously accessed mBorderStyle and mBorderColor
with the new methods defined in nsStyleSpacing


git-svn-id: svn://10.0.0.236/trunk@15921 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 18:51:26 +00:00
harishd%netscape.com
7b2eca6c86 Added NS_STYLE_HAS_BORDER_COLOR (0x80)
git-svn-id: svn://10.0.0.236/trunk@15920 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 18:46:02 +00:00
troy%netscape.com
cf9c18e0c5 Changed wrapping of floated elements so the wrapping happens inside of
ConstructFrameByDisplayType(), and now we only wrap frames of display
type 'block' and 'inline'


git-svn-id: svn://10.0.0.236/trunk@15919 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 18:44:40 +00:00
harishd%netscape.com
d0a00e5aa9 Made mBorderStyle and mBorderColor arrays as protected members
and added functions GetBorderStyle(), GetBorderColor(), SetBorderStyle(),
SetBorderColor(), and ClearBorderStyleHightBit() in nsStyleSpacing.


git-svn-id: svn://10.0.0.236/trunk@15918 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 18:44:02 +00:00
jfrancis%netscape.com
d4a218b353 fixing IsSameDocument by including nsIDOMDocument.h
git-svn-id: svn://10.0.0.236/trunk@15917 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 17:53:59 +00:00
kipp%netscape.com
e5335645a8 Removed bogus ISupports support
git-svn-id: svn://10.0.0.236/trunk@15916 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 16:17:10 +00:00
kipp%netscape.com
be94800e1a Removed bogus cast
git-svn-id: svn://10.0.0.236/trunk@15915 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 16:16:46 +00:00
jfrancis%netscape.com
64e6b5e6e7 implemetned ComparePointToRange() and IsPointInRange(). Stopped caching ancestor lists. Added standard copy constructor/assignment operator prohibition.
git-svn-id: svn://10.0.0.236/trunk@15914 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 16:11:52 +00:00
rhp%netscape.com
e807c333c6 This is to export the function for stream converter registration in
netlib. This is a temporary change until the XP-COM interface is in
place for this functionality.


git-svn-id: svn://10.0.0.236/trunk@15913 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 13:51:23 +00:00
rhp%netscape.com
5f6b7c7a9f This change is to add a file association for .EML files. These
extensions are setup under WinXX for all RFC822 messages.


git-svn-id: svn://10.0.0.236/trunk@15912 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 13:27:47 +00:00
ramiro%netscape.com
ca40fec6e8 Include "gtklayout.h" only for gtk+ < 1.1.6
git-svn-id: svn://10.0.0.236/trunk@15911 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 06:52:42 +00:00
ramiro%netscape.com
f097a21a0c widget/tests/scribble/Makefile.in:
- Link with -lpwcac -ldbm on all platforms, not just Linux, FreeBSD, and
SunOS.
- Correct linking order: $(PNG_LIBS) needs to be after -limg.

widget/tests/scribble/main.cpp
- Declare extern "C" for the XP_ReBuffer stub.
- Declare main to return int because it does return a value.

Thanks to wtc@netscape.com (Wan-Teh Chang) for the fix.


git-svn-id: svn://10.0.0.236/trunk@15910 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 06:51:26 +00:00
ramiro%netscape.com
9c079a8bd4 Remove accidentally checked in file.
git-svn-id: svn://10.0.0.236/trunk@15909 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 06:49:04 +00:00
ramiro%netscape.com
1480b26681 Ignore the generated makefile
git-svn-id: svn://10.0.0.236/trunk@15908 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 06:45:39 +00:00
beard%netscape.com
6b7b83d3c5 Initial cut at GetReferrer, GetDomain methods. Some enhancements to nsIURL may be needed to do this right.
git-svn-id: svn://10.0.0.236/trunk@15907 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 06:10:12 +00:00
msw%gimp.org
ed6c31de48 Resizing works again, but resizes seem behind by one step.
git-svn-id: svn://10.0.0.236/trunk@15906 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 05:08:00 +00:00
troy%netscape.com
385b6f14aa Initial check-in
git-svn-id: svn://10.0.0.236/trunk@15905 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 04:05:12 +00:00
ramiro%netscape.com
dcc6aa9dd2 Add depend.mk.
git-svn-id: svn://10.0.0.236/trunk@15904 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 03:58:05 +00:00
troy%netscape.com
4c8f073007 Changed Print() to use nsIPageSequenceFrame. Now we can print to multiple
pages


git-svn-id: svn://10.0.0.236/trunk@15903 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 03:45:30 +00:00
troy%netscape.com
dcfe7f9e75 Added additional parameter to Display() for specifying which view
should be displayed


git-svn-id: svn://10.0.0.236/trunk@15902 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 03:44:57 +00:00
troy%netscape.com
a2f34c611a Added support for printing multiple pages
git-svn-id: svn://10.0.0.236/trunk@15901 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 03:43:02 +00:00
pierre%netscape.com
a0f3334c86 rewrote the GraphicState handling
git-svn-id: svn://10.0.0.236/trunk@15900 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 03:38:58 +00:00
pierre%netscape.com
65003d55c3 removed the NS_NATIVE_OFFSET_IN_PORT hacks
git-svn-id: svn://10.0.0.236/trunk@15899 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 03:37:15 +00:00
ramiro%netscape.com
22dbfb815d Completely yank the inline check and blurb as suggested by wtc.
git-svn-id: svn://10.0.0.236/trunk@15898 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 03:32:51 +00:00
beard%netscape.com
03f544c401 Implemented SetTitle using nsString::ToCString. Will need to revisit when UNICODE window titles are supported.
git-svn-id: svn://10.0.0.236/trunk@15897 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 03:08:07 +00:00
ramiro%netscape.com
21ec4ce15e Fix the depend noise redirection.
Thanks to Tom Lane <tgl@sss.pgh.pa.us> for suggesting the fix.


git-svn-id: svn://10.0.0.236/trunk@15896 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 02:32:25 +00:00
wtc%netscape.com
2ef081b6ea Apply the patch submitted by Joe Keane <jgk@jgk.org> to PR_Poll
so that we use a struct pollfd array allocated on the stack
when caller's poll descriptor array can fit in it.  This avoids
the cost of a malloc and a free call when the poll descriptor
arrays are small.


git-svn-id: svn://10.0.0.236/trunk@15895 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 01:39:48 +00:00
wtc%netscape.com
6e752045ee In _MD_unix_map_open_error, map EOVERFLOW to PR_FILE_TOO_BIG_ERROR.
git-svn-id: svn://10.0.0.236/trunk@15894 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 01:22:31 +00:00
leaf%mozilla.org
d0f6034d92 clobber and checkout rules should work now, but they still need some cleaning.
git-svn-id: svn://10.0.0.236/trunk@15893 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 00:07:54 +00:00
leaf%mozilla.org
392f97db62 making set-timebomb.pl work with shaver's hack in
xfe/xpviewer/src/nsViewerApp.cpp to implement a timebomb.


git-svn-id: svn://10.0.0.236/trunk@15892 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 00:06:19 +00:00
leaf%mozilla.org
052f1129eb shaver's hacked timebomb code; prefs should be made to do this Right.
git-svn-id: svn://10.0.0.236/trunk@15891 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 00:04:14 +00:00
rickg%netscape.com
d48b237993 improvements to fix a table bug for cujo.
git-svn-id: svn://10.0.0.236/trunk@15890 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-06 20:29:29 +00:00
shaver%netscape.com
5d7c8750fd Added varargs support (produces "..." in C++ until we figure out what
nsIVarargs should look like).
IDL return value now becomes a final (but before varargs!) out parameter
_retval in C++.
Prettied up some whitespace.


git-svn-id: svn://10.0.0.236/trunk@15889 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-06 19:52:21 +00:00
shaver%netscape.com
f176ff7946 Update usage message.
Add #include processing.
Generate #define NS_IFOO_IID_STR for kipp.
More header-generation niceties: #ifndef __nsIFoo_h__, DO NOT EDIT warning
now mentions source filename.
Generate #include in header to match #include in IDL, not by grovelling for
referenced interfaces.
(XXX: Need to polish up memory management.)


git-svn-id: svn://10.0.0.236/trunk@15888 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-06 18:41:44 +00:00
pavlov%pavlov.net
d1163274af remove all references to TRUE and FALSE and replace them with PR_TRUE and
PR_FALSE (for consistancy)  fix nsTextAreaWidget so that it doesn't default to ReadOnly


git-svn-id: svn://10.0.0.236/trunk@15887 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-06 15:56:43 +00:00
pavlov%pavlov.net
fda7f9ae59 indent these files so they conform to the style and fix read only and password
fields.


git-svn-id: svn://10.0.0.236/trunk@15886 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-06 15:42:28 +00:00
pavlov%pavlov.net
9d0eeb338f build TextWidget's correctly.
git-svn-id: svn://10.0.0.236/trunk@15885 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-06 15:40:48 +00:00
pavlov%pavlov.net
4d6ee6e898 removed unused variables (this one compiles) in nsTextAreaWidget.[ch]
commented out size_allocate in nsWindow.cpp as this doesn't appear to be
needed any more


git-svn-id: svn://10.0.0.236/trunk@15884 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-06 14:32:20 +00:00
wtc%netscape.com
00941fcdb7 In nsMenu::GetNativeParent, use the GTK_WIDGET macro (defined in
<gtk/gtkwidget.h>) to convert (void *) to (GtkWidget *).


git-svn-id: svn://10.0.0.236/trunk@15883 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-06 07:08:33 +00:00
ramiro%netscape.com
c4af2d1726 Slowly working towards getting mozilla compiled/linking properly
using the Solaris native compilers.  This patch to configure.in
changes how we create shared libraries for Solaris from "ld" to
"CC", which can deal with templates and other C++ nastiness.

The other change removes the "inline" check, as the results of it
where being used in the wrong way.  It would see that "cc" didn't
understand "inline" and then force a "-Dinline=" option in the
CFLAGS, which are used for both C and C++ compile lines.  As you
can imagine, removing the "inline" keyword from the C++ compiles
was Bad News(tm).

Thanks to Tim Rowley <tor@boojum.cs.brown.edu> for the fix.


git-svn-id: svn://10.0.0.236/trunk@15882 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-06 07:07:56 +00:00
ramiro%netscape.com
06d94b8e05 Make makedepend less noisy.
git-svn-id: svn://10.0.0.236/trunk@15881 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-06 07:03:16 +00:00
ramiro%netscape.com
5dcde7cf7d Undo my previous screwup. I thought I was helping...
git-svn-id: svn://10.0.0.236/trunk@15880 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-06 06:23:31 +00:00
ramiro%netscape.com
1498a660af Fix Pavlov's bustage.
Thanks to Steve Morrison <smorrison@gte.com> for the fix.


git-svn-id: svn://10.0.0.236/trunk@15879 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-06 06:07:04 +00:00
ramiro%netscape.com
947c778f9f Added a type cast.
Thanks to Wan-Teh Chang <wtc@netscape.com> for the patch.


git-svn-id: svn://10.0.0.236/trunk@15878 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-06 05:32:57 +00:00
pavlov%pavlov.net
efbddb159f nsText* removed unused class variables.
nsWidget use the nsLookAndFeel values instead of defining the colors again.


git-svn-id: svn://10.0.0.236/trunk@15877 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-06 04:31:13 +00:00
pavlov%pavlov.net
5a2b6bd4d7 set the horizontal scrollbars to the same size size as the verticle ones
git-svn-id: svn://10.0.0.236/trunk@15876 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-06 03:48:00 +00:00
pavlov%pavlov.net
cfc7015655 set texts for text boxes correctly. impliment InsertText.
git-svn-id: svn://10.0.0.236/trunk@15875 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-06 03:14:23 +00:00
wtc%netscape.com
a74070c357 Removed inclusion of MacMemAllocator.h, which is not needed
and will be obsolete.  Also removed unused enum definition.


git-svn-id: svn://10.0.0.236/trunk@15874 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-06 01:52:20 +00:00
pierre%netscape.com
4f305cff94 Moved the Mac Toolbox initialization from nsToolkit to nsAppShell, the reason being that nsAppShell is destined to be replaced by embedding applications while nsToolkit isn't.
git-svn-id: svn://10.0.0.236/trunk@15873 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-06 00:51:16 +00:00
pierre%netscape.com
7fa140165d StartDraw() initializes the rendering context; it allows Update() to pass the rendering context to the children.
git-svn-id: svn://10.0.0.236/trunk@15872 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-06 00:37:46 +00:00
pierre%netscape.com
11b0da96a2 temporarily defines NO_DOUBLE_BUFFER if XP_MAC (waiting for the offscreen code to be fixed)
git-svn-id: svn://10.0.0.236/trunk@15871 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-06 00:37:25 +00:00
pierre%netscape.com
4f1ccf811f Init() does some clipping and initializes the Pen and TextMode (it's related to changes in nsWindow::StartDraw()). In all the drawing functions, replaced SetPort/SetClip/SetOrigin with StartDraw/EndDraw. More changes to come soon.
git-svn-id: svn://10.0.0.236/trunk@15870 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-06 00:37:00 +00:00
pierre%netscape.com
ad57465ba3 added StartDraw(), EndDraw() and mCurrentBuffer. More changes to come soon.
git-svn-id: svn://10.0.0.236/trunk@15869 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-06 00:36:35 +00:00
pierre%netscape.com
418f104580 removed the ::IdleControl() stuff (it was intended for edit fields but they have been implemented as LPeriodicals)
git-svn-id: svn://10.0.0.236/trunk@15868 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-06 00:36:15 +00:00
troy%netscape.com
6e173bf400 Added nsIPrintStatusCallback
git-svn-id: svn://10.0.0.236/trunk@15867 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-06 00:30:51 +00:00
sfraser%netscape.com
742a738b0d Change BlockZero to memset.
git-svn-id: svn://10.0.0.236/trunk@15866 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 22:41:14 +00:00
sfraser%netscape.com
f102df4c04 Update project files to remove old mem allocator code, and include new allocators. Also made static debug target for testing purposes.
git-svn-id: svn://10.0.0.236/trunk@15865 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 22:05:23 +00:00
sfraser%netscape.com
a4f2af2a2b Allocators now use shared heap zones, for better temp mem use. Other minor changes.
git-svn-id: svn://10.0.0.236/trunk@15864 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 22:04:36 +00:00
sfraser%netscape.com
0f49470216 Adjust prefix files for the new allocators.
git-svn-id: svn://10.0.0.236/trunk@15863 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 22:03:38 +00:00
sfraser%netscape.com
8e28e511cc Remove all but the basic exports.
git-svn-id: svn://10.0.0.236/trunk@15862 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 22:02:58 +00:00
sfraser%netscape.com
0133d979ad Remove the Flush_ calls, and tidy up new().
git-svn-id: svn://10.0.0.236/trunk@15861 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 22:02:10 +00:00
sfraser%netscape.com
c6e76c4b0c Remove the extern Flush_Allocate, and replace call with a malloc.
git-svn-id: svn://10.0.0.236/trunk@15860 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 22:01:30 +00:00
sfraser%netscape.com
801cd3efdb No longer export FlushAllocator.h. MacMemAllocator.h should also go away when NSPR is fixed.
git-svn-id: svn://10.0.0.236/trunk@15859 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 22:01:00 +00:00
sfraser%netscape.com
4955f3602d Add a #error to warn that this file should no longer be used. I can't remove it, because NSPR still includes it.
git-svn-id: svn://10.0.0.236/trunk@15858 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 22:00:24 +00:00
sfraser%netscape.com
8c835bf710 Remove XP_MAC include, and commented out call to CallCacheFlushers, which no longer lives in the Mac memory allocators. This needs to be hooked up (by XPapps?) in the new world.
git-svn-id: svn://10.0.0.236/trunk@15857 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 21:58:54 +00:00
sfraser%netscape.com
5a79aa8906 Removed XP_MAC include which is no longer necessary.
git-svn-id: svn://10.0.0.236/trunk@15856 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 21:55:53 +00:00
sfraser%netscape.com
4a69091e53 Adding nsBlockReflowContext.cpp, nsBulletFrame.cpp, nsLineBox.cpp to fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@15855 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 21:17:05 +00:00
kipp%netscape.com
8853d35209 nuked
git-svn-id: svn://10.0.0.236/trunk@15854 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 19:21:03 +00:00
kipp%netscape.com
05c833dab3 new
git-svn-id: svn://10.0.0.236/trunk@15853 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 19:13:58 +00:00
kipp%netscape.com
4444943d58 Moved the starting url back to what it was
git-svn-id: svn://10.0.0.236/trunk@15852 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 16:06:38 +00:00
kipp%netscape.com
7dbf7f2ea1 Removed an unwanted DidReflow call
git-svn-id: svn://10.0.0.236/trunk@15851 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 16:06:14 +00:00
kipp%netscape.com
5e7cf3bb10 Setup first-letter-style to be off by default
git-svn-id: svn://10.0.0.236/trunk@15850 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 16:05:52 +00:00
kipp%netscape.com
c45965fd71 Removed handling of block frames (its done by nsBlockReflowContext now)
git-svn-id: svn://10.0.0.236/trunk@15849 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 16:05:23 +00:00
kipp%netscape.com
0a2fa0e309 Spanked to be a subclass of the nsBaseIBFrame class
git-svn-id: svn://10.0.0.236/trunk@15848 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 16:04:46 +00:00
kipp%netscape.com
ebbfcde3ed Removed carried-out-margin-flags
git-svn-id: svn://10.0.0.236/trunk@15847 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 16:04:33 +00:00
kipp%netscape.com
84b644509f Renamed a variable to (hopefully) be more clear what it is
git-svn-id: svn://10.0.0.236/trunk@15846 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 16:03:53 +00:00
kipp%netscape.com
0f01e4d9fa Made IndentBy public
git-svn-id: svn://10.0.0.236/trunk@15845 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 16:03:07 +00:00
kipp%netscape.com
ee6282c56c Use FirstChild so the method is more reusable
git-svn-id: svn://10.0.0.236/trunk@15844 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 16:02:43 +00:00
kipp%netscape.com
fb280caf3e Moved to new Init/ctor seperation
git-svn-id: svn://10.0.0.236/trunk@15843 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 16:02:26 +00:00
kipp%netscape.com
6771fa0a98 Major spankage; refactored code; common base class for block/inline frames
git-svn-id: svn://10.0.0.236/trunk@15842 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 16:02:08 +00:00
kipp%netscape.com
850e4ad32e nit
git-svn-id: svn://10.0.0.236/trunk@15841 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 16:01:41 +00:00
kipp%netscape.com
7bf1ab8bdd Made dtor obviously virtual instead of inherited virtual
git-svn-id: svn://10.0.0.236/trunk@15840 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 16:01:28 +00:00
kipp%netscape.com
04bd3565f5 Updated
git-svn-id: svn://10.0.0.236/trunk@15839 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 16:01:11 +00:00
kipp%netscape.com
2692c506e9 Added new source files
git-svn-id: svn://10.0.0.236/trunk@15838 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 16:00:56 +00:00
kipp%netscape.com
f8097d636a Support variable sized paging again, but only if an nspr log variable is defined
git-svn-id: svn://10.0.0.236/trunk@15837 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 15:58:09 +00:00
kipp%netscape.com
2e8fccc650 Start enums at zero so that debug noise can map them to strings safely
git-svn-id: svn://10.0.0.236/trunk@15836 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 15:57:40 +00:00
ramiro%netscape.com
589595f1b0 This patch set just makes sure that all functions that are
supposed to return values actually do so, to keep the Solaris
native compiler happy.

Thanks to Tim Rowley <tor@cs.brown.edu> for the fix.


git-svn-id: svn://10.0.0.236/trunk@15835 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 11:54:00 +00:00
ramiro%netscape.com
6808efdc69 Add a return to a function which is supposed to return a value,
to keep the Solaris native compiler happy.

Thanks to Tim Rowley <tor@cs.brown.edu> for the fix.


git-svn-id: svn://10.0.0.236/trunk@15834 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 11:50:32 +00:00
ramiro%netscape.com
10fb626733 Comment out the "Building in the srcdir is not supported!" test/warning.
This is no longer needed, since the classic build system is dead.  The
original purpose of this test was for the autoconf build not to clobber the
classic makefiles and them someone checkin them in by mistake.  No longer a
problem.


git-svn-id: svn://10.0.0.236/trunk@15833 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 11:27:50 +00:00
ramiro%netscape.com
e8595e93b6 Have cvs ignore generated files.
git-svn-id: svn://10.0.0.236/trunk@15832 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 11:07:45 +00:00
ramiro%netscape.com
342f381cae Ignore files generated by autoconf.
git-svn-id: svn://10.0.0.236/trunk@15831 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 10:39:46 +00:00
ramiro%netscape.com
7880da4526 Add cvsignore entries for makefiles generated bu autoconf.
git-svn-id: svn://10.0.0.236/trunk@15829 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 09:07:33 +00:00
ramiro%netscape.com
e95667bce5 Remove extraneous Makefile files.
git-svn-id: svn://10.0.0.236/trunk@15828 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 08:19:05 +00:00
wtc%netscape.com
d3cba401e5 Fixed a bug in _MD_Open that incorrectly translates PR_WRONLY to
fsRdPerm.  Thanks to John McMullen <mcmullen@netscape.com> for
reporting this problem.


git-svn-id: svn://10.0.0.236/trunk@15827 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 06:51:33 +00:00
buster%netscape.com
9b1c517bdf fixed cellspacing and cellpadding handling
default cellspacing and cellpadding now comes from the table frame itself
other frames on longer look at the "tableStyle" struct for these values


git-svn-id: svn://10.0.0.236/trunk@15824 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 05:27:21 +00:00
pavlov%pavlov.net
ddde7a7583 Fix some code... its late isn't it? no more random looping due to resizing
code.


git-svn-id: svn://10.0.0.236/trunk@15823 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 03:54:30 +00:00
raman%netscape.com
9c6058cce0 Bug fix for 1420. Get filename from HashTable if fileTok is not NULL. If fileTok is NULL return aName for now. Approved by gagan
git-svn-id: svn://10.0.0.236/trunk@15822 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 03:10:43 +00:00
akkana%netscape.com
d12aa9a2fe Implement InSameDoc
git-svn-id: svn://10.0.0.236/trunk@15821 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 02:19:01 +00:00
wtc%netscape.com
58ce42d7a1 The second argument for GetStyleData needs to be 'const'.
git-svn-id: svn://10.0.0.236/trunk@15820 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 01:47:37 +00:00
wtc%netscape.com
5e71862c5b Miscellaneous porting changes from Brian Ostrom <briano@netscape.com>.
git-svn-id: svn://10.0.0.236/trunk@15819 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 01:41:18 +00:00
toshok%hungry.com
9d21df48aa remove this stragler.
git-svn-id: svn://10.0.0.236/trunk@15818 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 01:37:01 +00:00
kin%netscape.com
9ce78f012e Added transient and coalescing test cases.
git-svn-id: svn://10.0.0.236/trunk@15817 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 01:15:40 +00:00
pierre%netscape.com
6803bae2db Fix optimized build: use png.o instead of pngDebug.o in non-debug target
git-svn-id: svn://10.0.0.236/trunk@15816 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 00:23:29 +00:00
hyatt%netscape.com
35f5abe4cd Oops. Fixing build bustage.
git-svn-id: svn://10.0.0.236/trunk@15815 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 23:55:48 +00:00
terry%netscape.com
8c77919f41 Add "OS/2" to the op_sys field.
git-svn-id: svn://10.0.0.236/trunk@15814 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 23:52:20 +00:00
troy%netscape.com
d6d9c0b157 Temporary change to make sure we don't wrap floated tables in a BODY frame
git-svn-id: svn://10.0.0.236/trunk@15813 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 23:51:16 +00:00
kin%netscape.com
4b75331b5b Added support for nsITransaction::GetIsTransient() method.
git-svn-id: svn://10.0.0.236/trunk@15812 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 23:09:55 +00:00
hyatt%netscape.com
75dec8692f Tweaks.
git-svn-id: svn://10.0.0.236/trunk@15811 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 23:05:50 +00:00
kmcclusk%netscape.com
26d8496fe2 Added Windows printing code for radio buttons.
git-svn-id: svn://10.0.0.236/trunk@15810 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 22:53:45 +00:00
toshok%hungry.com
ccabd40013 wrap -include with ifneq
git-svn-id: svn://10.0.0.236/trunk@15809 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 22:50:22 +00:00
toshok%hungry.com
ca1b4f9323 get rid of the remaining manifest, rules.mk, and config.mk files.
git-svn-id: svn://10.0.0.236/trunk@15808 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 22:37:15 +00:00
despotdaemon%netscape.com
63f4415435 Pseudo-automatic update of changes made by cathleen@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@15807 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 22:18:25 +00:00
hyatt%netscape.com
3f6f1f7c0c Added support for vertical dividers.
git-svn-id: svn://10.0.0.236/trunk@15806 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 22:15:47 +00:00
kin%netscape.com
ba7e3a029e Implemented RecoverFromUndoError() and RecoverFromRedoError().
git-svn-id: svn://10.0.0.236/trunk@15805 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 21:50:09 +00:00
akkana%netscape.com
d64cbe00fc Waterson's definitions to fix Irix build.
git-svn-id: svn://10.0.0.236/trunk@15804 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 21:36:56 +00:00
pinkerton%netscape.com
391519224a Changed it so that triangle is drawn with lines instead of polygon
because of differences in gfx between platforms.


git-svn-id: svn://10.0.0.236/trunk@15803 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 21:36:43 +00:00
akkana%netscape.com
f703a277e0 base/src/nscore.h
git-svn-id: svn://10.0.0.236/trunk@15802 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 21:36:23 +00:00
kin%netscape.com
905266e217 Added test case for error during a redo. Added checks to make sure all
transaction destruction happens in the order we expect.


git-svn-id: svn://10.0.0.236/trunk@15801 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 21:32:47 +00:00
troy%netscape.com
9fad935195 Changed InsertChild() to use <= (instead of <) for zindex check, and changed
iteration to use sibling pointers


git-svn-id: svn://10.0.0.236/trunk@15800 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 21:28:52 +00:00
troy%netscape.com
16560ce56e Moved creation of first page frame to frame construction code, and changed
it so the page frame has a view. This makes printing faster and easier


git-svn-id: svn://10.0.0.236/trunk@15799 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 21:04:56 +00:00
sar%netscape.com
9de3d614fc fix build_number target. put build number in this dir instead of in ..\build
git-svn-id: svn://10.0.0.236/trunk@15798 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 20:00:31 +00:00
sar%netscape.com
415aaee658 add build_number target
git-svn-id: svn://10.0.0.236/trunk@15797 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 19:56:48 +00:00
sar%netscape.com
9347a9ee95 add config dir to dirs being traversed
git-svn-id: svn://10.0.0.236/trunk@15796 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 19:55:37 +00:00
kmcclusk%netscape.com
296a0f01fa Added some comments
git-svn-id: svn://10.0.0.236/trunk@15795 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 19:16:58 +00:00
kmcclusk%netscape.com
903dc7d289 Fix for MAC build
git-svn-id: svn://10.0.0.236/trunk@15794 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 19:07:46 +00:00
troy%netscape.com
89bd61bdf7 Moved view creation to frame construction code. Also moved wrapping of
floated and absolutely positioned elements to frame construction code


git-svn-id: svn://10.0.0.236/trunk@15793 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 19:03:44 +00:00
kmcclusk%netscape.com
7f340e3206 Added code to GFX-render checkbox's under Windows when printing.
git-svn-id: svn://10.0.0.236/trunk@15792 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 18:33:34 +00:00
jfrancis%netscape.com
4e5b7ef4d1 fixing up start/end setters, other details
git-svn-id: svn://10.0.0.236/trunk@15791 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 18:21:52 +00:00
kin%netscape.com
33a2cdeec8 Added more test cases.
git-svn-id: svn://10.0.0.236/trunk@15790 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 18:09:06 +00:00
karnaze%netscape.com
6160068f25 added code provided by Micahel Lowe to get system colors for frameset borders (bug 1763)
git-svn-id: svn://10.0.0.236/trunk@15789 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 18:05:30 +00:00
despotdaemon%netscape.com
aea16896a0 Pseudo-automatic update of changes made by cbegle@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@15787 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 16:54:06 +00:00
pinkerton%netscape.com
4c90823d92 now draws triangle in upper right to indicate this button has a menu. Draws in gray when the button is disabled.
git-svn-id: svn://10.0.0.236/trunk@15786 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 16:34:56 +00:00
dcone%netscape.com
6af09fc750 Changed some attributes on the printer items for the menus
git-svn-id: svn://10.0.0.236/trunk@15785 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 15:10:07 +00:00
dcone%netscape.com
f14e81cfda Added some printer support
git-svn-id: svn://10.0.0.236/trunk@15784 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 15:08:18 +00:00
dcone%netscape.com
34fe19e310 added the nsDeviceContextSpec and factory support for printing support
git-svn-id: svn://10.0.0.236/trunk@15783 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 15:04:30 +00:00
dcone%netscape.com
60967d461c Added the nsDeviceContextSpecFactory and nsDeviceContextSpec support
git-svn-id: svn://10.0.0.236/trunk@15782 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 15:03:41 +00:00
dcone%netscape.com
0aea51cac2 Added printing support
git-svn-id: svn://10.0.0.236/trunk@15781 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 15:02:57 +00:00
dcone%netscape.com
31b62e1cdd First Checked In.
git-svn-id: svn://10.0.0.236/trunk@15780 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 15:02:26 +00:00
waterson%netscape.com
924122b79e Added utility files. Split nsRDFDocument into two subclasses.
git-svn-id: svn://10.0.0.236/trunk@15771 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 10:02:17 +00:00
waterson%netscape.com
cb39a2dc4c Changed RDF document CID.
git-svn-id: svn://10.0.0.236/trunk@15770 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 10:01:42 +00:00
waterson%netscape.com
3327b73315 Initial revision.
git-svn-id: svn://10.0.0.236/trunk@15769 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 10:00:13 +00:00
waterson%netscape.com
e9f3b8d629 Moved child creation over into the document. Added some subclasses to deal with it.
git-svn-id: svn://10.0.0.236/trunk@15768 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 09:59:09 +00:00
waterson%netscape.com
efae90afc3 Split the RDFDocument CID into RDFHTMLDocument and RDFTreeDocument.
git-svn-id: svn://10.0.0.236/trunk@15767 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 09:58:35 +00:00
waterson%netscape.com
288f838db5 Remove #ifdef XP_MAC stuff that was excluding the RDF DLL.
git-svn-id: svn://10.0.0.236/trunk@15766 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 08:58:26 +00:00
waterson%netscape.com
cafbddc21f Add RDF to build.
git-svn-id: svn://10.0.0.236/trunk@15765 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 06:17:10 +00:00
troy%netscape.com
88f9a59ca3 Added a comment about view creation
git-svn-id: svn://10.0.0.236/trunk@15764 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 06:13:18 +00:00
troy%netscape.com
086be65468 Changed view creation to occur when frame initialization occurs
git-svn-id: svn://10.0.0.236/trunk@15763 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 05:56:06 +00:00
ramiro%netscape.com
fcc53f9f48 Add support for 'native' dependancies on systems that include the 'makedepend'
binary by default.  For example, linux freebsd and other unices that have
X11 installed in a reasonable fashion.  The commercial unices will continue
to suck as usual.


git-svn-id: svn://10.0.0.236/trunk@15762 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 05:07:01 +00:00
waterson%netscape.com
09b4935ee9 Cleaned up the last couple of fancy C++ casts. Implemented nsRDFElement::IndexOf().
git-svn-id: svn://10.0.0.236/trunk@15761 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 03:59:54 +00:00
troy%netscape.com
ab5a31d3a8 Removed some commented out old code
git-svn-id: svn://10.0.0.236/trunk@15760 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 03:46:59 +00:00
waterson%netscape.com
2b04d96272 Added nsSelection header files: this is temporary pending mjudge landing new selection stuff, but I need it now to get RDF building on Mac.
git-svn-id: svn://10.0.0.236/trunk@15759 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 03:45:00 +00:00
troy%netscape.com
1595471494 Added NS_RELEASE of col frame pseudo element style context. This fixes a memory leak
git-svn-id: svn://10.0.0.236/trunk@15758 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 03:39:05 +00:00
troy%netscape.com
016e99912d Changed table frame code to call DeleteFrameList() so that the col group
frames are deleted


git-svn-id: svn://10.0.0.236/trunk@15757 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 03:14:28 +00:00
sfraser%netscape.com
3bbad8c38d Dumping out my latest memory manager changes. Still not being built yet. New code includes stats collection, but no way to write out stats at the moment.
git-svn-id: svn://10.0.0.236/trunk@15756 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 02:21:19 +00:00
troy%netscape.com
3b547e08e4 Moved logic that created a BODY frame that forms the cell's content from the
table frame code to the frame construction code


git-svn-id: svn://10.0.0.236/trunk@15755 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 02:08:51 +00:00
waterson%netscape.com
1a3cd25a71 Bunch of whackage. Changed C++ style casts to a macro. Changed NULL to nsnull. Changed the nsRDFDocument to its own class, independent of raptor (black box re-uses raptor parts).
git-svn-id: svn://10.0.0.236/trunk@15754 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 01:54:23 +00:00
pinkerton%netscape.com
195a59af67 lighten the widget bg colors so this things finally looks like macNavigator again.
git-svn-id: svn://10.0.0.236/trunk@15753 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 01:39:36 +00:00
waterson%netscape.com
b909a19ffb Added macros for fancy C++ casts.
git-svn-id: svn://10.0.0.236/trunk@15752 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 01:13:21 +00:00
slamm%netscape.com
81b85141cb Add support for hyatt's treeview.
git-svn-id: svn://10.0.0.236/trunk@15751 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 01:06:58 +00:00
slamm%netscape.com
15f0c43dad Build hyatt's treeview on Unix.
git-svn-id: svn://10.0.0.236/trunk@15750 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 01:06:53 +00:00
despotdaemon%netscape.com
ff536acd28 Pseudo-automatic update of changes made by chuang@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@15749 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 00:06:02 +00:00
mjudge%netscape.com
e13b418aa0 that didnt work... mac croaked
git-svn-id: svn://10.0.0.236/trunk@15748 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 00:01:09 +00:00
hyatt%netscape.com
e6b24661dd Adding an #ifdef XP_MAC on the window destroy for the tree widget (just to keep
Windows from crashing).


git-svn-id: svn://10.0.0.236/trunk@15747 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 23:57:44 +00:00
hyatt%netscape.com
569ce3d786 Tweaked the tree colors.
git-svn-id: svn://10.0.0.236/trunk@15746 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 23:55:15 +00:00
mjudge%netscape.com
e75f4b14dd removing NULL replacing with nsnull
git-svn-id: svn://10.0.0.236/trunk@15745 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 23:46:36 +00:00
mjudge%netscape.com
61da02c81e changing NULL to nsnull
git-svn-id: svn://10.0.0.236/trunk@15744 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 23:40:06 +00:00
beard%netscape.com
559a2f1990 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@15743 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 23:34:34 +00:00
beard%netscape.com
8735046452 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@15742 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 23:29:19 +00:00
despotdaemon%netscape.com
adaf914114 Pseudo-automatic update of changes made by chuang@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@15741 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 23:25:03 +00:00
despotdaemon%netscape.com
6b5b269bf6 Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@15740 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 23:13:39 +00:00
jfrancis%netscape.com
f28b0461fe more work on grungy range details
git-svn-id: svn://10.0.0.236/trunk@15739 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 22:59:07 +00:00
beard%netscape.com
62f0aa37fa First Checked In.
git-svn-id: svn://10.0.0.236/trunk@15738 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 22:36:55 +00:00
kin%netscape.com
2dc88481c6 Added the editor/txmgr makefiles to the list of editor makefiles.
git-svn-id: svn://10.0.0.236/trunk@15737 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 22:20:34 +00:00
beard%netscape.com
84c016dd2f First Checked In.
git-svn-id: svn://10.0.0.236/trunk@15736 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 22:17:06 +00:00
hyatt%netscape.com
77ff46f4f9 The tree view column pushers disable properly. Hidden/shown columns remember
their desired widths.


git-svn-id: svn://10.0.0.236/trunk@15735 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 22:15:51 +00:00
waterson%netscape.com
0b35f3e964 Changed upper case RDF to lower case rdf to make consistent with the rest of the builds.
git-svn-id: svn://10.0.0.236/trunk@15734 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 22:07:16 +00:00
pinkerton%netscape.com
9beb110348 make sure the port is set correctly before we call ::SetOrigin on mouse events.
git-svn-id: svn://10.0.0.236/trunk@15733 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 22:05:49 +00:00
pinkerton%netscape.com
b0af80a5e7 handle NS_DESTROY message in tree window event handler.
git-svn-id: svn://10.0.0.236/trunk@15732 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 22:05:17 +00:00
waterson%netscape.com
bc334f6a33 Added mozilla/layout/html/style/src to the list of MANIFEST-ed directories. This makes sure that nsIHTMLStyleSheet and nsIHTMLCSSStyleSheet are exported.
git-svn-id: svn://10.0.0.236/trunk@15731 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 21:48:45 +00:00
mjudge%netscape.com
bcb1a29e8f new selection change to come ifdefs going in
git-svn-id: svn://10.0.0.236/trunk@15730 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 21:48:32 +00:00
mjudge%netscape.com
a7016e173a changed call for editor to include a call for the classid editor as well
git-svn-id: svn://10.0.0.236/trunk@15729 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 21:47:22 +00:00
mjudge%netscape.com
0b731fb2af new enumerator interface change
git-svn-id: svn://10.0.0.236/trunk@15728 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 21:46:51 +00:00
mjudge%netscape.com
7cfb36e5d7 changing enumerator interface again
git-svn-id: svn://10.0.0.236/trunk@15727 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 21:46:27 +00:00
mjudge%netscape.com
046ac87d8d changing enumerator interface
git-svn-id: svn://10.0.0.236/trunk@15726 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 21:46:06 +00:00
mjudge%netscape.com
f19d69e4a0 changing use of selection
git-svn-id: svn://10.0.0.236/trunk@15725 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 21:45:26 +00:00
mjudge%netscape.com
307185c34e new use of enumerator class changed IsDone to return NS_COMFALSE if not done
git-svn-id: svn://10.0.0.236/trunk@15724 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 21:44:54 +00:00
mjudge%netscape.com
383bba0f13 changing exports of new CIDs for selection
git-svn-id: svn://10.0.0.236/trunk@15723 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 21:44:12 +00:00
mjudge%netscape.com
e68a9d1ff0 changing selection code
git-svn-id: svn://10.0.0.236/trunk@15722 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 21:43:32 +00:00
mjudge%netscape.com
56057bdbde new collection export instead of nsISelection
git-svn-id: svn://10.0.0.236/trunk@15721 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 21:42:58 +00:00
mjudge%netscape.com
91ee1e24fd exporting new cid files
git-svn-id: svn://10.0.0.236/trunk@15720 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 21:41:07 +00:00
fur%netscape.com
8a43aa3ae0 Initial check-in of ElectricalFire, a Java JIT compiler.
git-svn-id: svn://10.0.0.236/trunk@15719 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 21:10:47 +00:00
waterson%netscape.com
b0eacc489e A better fix.
git-svn-id: svn://10.0.0.236/trunk@15718 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 20:50:21 +00:00
waterson%netscape.com
b9ca3d1232 Fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@15717 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 20:47:01 +00:00
waterson%netscape.com
7005ad4675 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@15716 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 20:28:15 +00:00
waterson%netscape.com
a4f4d45462 File Removed.
git-svn-id: svn://10.0.0.236/trunk@15715 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 20:26:33 +00:00
leaf%mozilla.org
a1ca7300c3 readding the xpcom/tools/Makefile rule. xpcom/tools needs to be made before
xpcom/tools/idl/Makefile.


git-svn-id: svn://10.0.0.236/trunk@15714 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 20:26:22 +00:00
waterson%netscape.com
57bc8c82e6 Expose nsWellFormedDTD via the factory.
git-svn-id: svn://10.0.0.236/trunk@15713 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 20:22:19 +00:00
waterson%netscape.com
85034a850f Export style sheets, nsPresShell, and nsTextNode via the factory.
git-svn-id: svn://10.0.0.236/trunk@15712 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 20:21:40 +00:00
waterson%netscape.com
ddfb3f25e0 Added initializers that can be used from the repository. Export nsIHTMLStyleSheet.h.
git-svn-id: svn://10.0.0.236/trunk@15711 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 20:20:35 +00:00
waterson%netscape.com
c4b7624c9b Added initializer that can be used from the repository.
git-svn-id: svn://10.0.0.236/trunk@15710 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 20:19:46 +00:00
buster%netscape.com
28547e48be minor optimizations and cleanup. removed constructors that did nothing.
git-svn-id: svn://10.0.0.236/trunk@15709 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 20:19:01 +00:00
pollmann%netscape.com
dbed102059 Allow option groups to contain options when building the content model
git-svn-id: svn://10.0.0.236/trunk@15708 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 19:33:12 +00:00
hyatt%netscape.com
b62fdf33fb Improvements to tree widget tester.
git-svn-id: svn://10.0.0.236/trunk@15707 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 19:13:53 +00:00
jfrancis%netscape.com
d87021fc1a adding nsRange.cpp to the project, again. it's always better the second time around.
git-svn-id: svn://10.0.0.236/trunk@15706 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 18:21:45 +00:00
buster%netscape.com
8b5b151f2d added table pseudo-style contenxts
git-svn-id: svn://10.0.0.236/trunk@15705 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 18:03:28 +00:00
buster%netscape.com
104395fa1f the inner table frame now maintains 2 child lists: the main child lists that holds rowgroups and unknown frame
types, and mColGroups. Besides being cleaner and easier to maintain, this should speed some things up slightly
     because I don't have to check display types every time I iterate through colgroup frames.  I *know*
     mColGroups contains only colgroups.  I might do the same for rowgroups (that is, keep unknown frame types
     in their own list as well.)  But that's optional.
the inner table frame used to incorrectly create actual content objects for anonymous colgroups and cols.  Now,
     it just creates frames as appropriate, not content.  To support this, I added some pseudo style contexts and
     related atoms.


git-svn-id: svn://10.0.0.236/trunk@15704 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 18:01:35 +00:00
buster%netscape.com
46aa659021 added atoms for table pseudo style contexts
git-svn-id: svn://10.0.0.236/trunk@15703 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 18:00:42 +00:00
pinkerton%netscape.com
eb08a77817 turn on tree view command for win and macos.
git-svn-id: svn://10.0.0.236/trunk@15702 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 17:59:25 +00:00
pinkerton%netscape.com
91b0f90740 handle view source and tree view file menu commands.
git-svn-id: svn://10.0.0.236/trunk@15701 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 17:59:13 +00:00
pinkerton%netscape.com
eb562f6887 added view source and view tree menu items for demo purposes.
git-svn-id: svn://10.0.0.236/trunk@15700 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 17:58:44 +00:00
shaver%netscape.com
f5b3bec414 Add generated file warning.
Remove excessive #include "nsISupports.h" generation.
Interfaces are public:, accessors are pure (= 0).


git-svn-id: svn://10.0.0.236/trunk@15699 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 17:38:55 +00:00
jfrancis%netscape.com
5fbc38d8cc fixing bad goto (as if there were good ones?)
git-svn-id: svn://10.0.0.236/trunk@15698 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 17:25:00 +00:00
troy%netscape.com
5dc9f4f4a8 Added NS_RELEASE to fix leak of a HTML style element
git-svn-id: svn://10.0.0.236/trunk@15697 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 16:46:56 +00:00
terry%netscape.com
d60bb4659d Fixed bug 1746 -- make it say "Submit query" instead of "Submit".
git-svn-id: svn://10.0.0.236/trunk@15696 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 16:31:10 +00:00
terry%netscape.com
671a288996 Reworked the rep_platform and op_sys fields. BEWARE; this includes
some changes to the database schema!


git-svn-id: svn://10.0.0.236/trunk@15695 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 16:10:52 +00:00
jfrancis%netscape.com
9c7b15c912 adding some private helper functionality that is going to change soon...
git-svn-id: svn://10.0.0.236/trunk@15694 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 15:02:37 +00:00
leaf%mozilla.org
cb1d23c2aa Removed some kruft and added a pull_config to pull_all so pull_nglayout doesn't
die. More splitting needs to be done (taking up some of the things that nglayout.mak
does but shouldn't be doing)... but that's for another early morning.


git-svn-id: svn://10.0.0.236/trunk@15693 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 12:28:26 +00:00
hyatt%netscape.com
a600c5fcb5 Hacked the viewer so that the tree widget can be launched from the File menu.
Only works on Windows currently.


git-svn-id: svn://10.0.0.236/trunk@15692 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 10:12:30 +00:00
jfrancis%netscape.com
c6102dbf54 putting Akkana's implementation back in; fixed compile-time errors
git-svn-id: svn://10.0.0.236/trunk@15691 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 09:51:05 +00:00
jfrancis%netscape.com
19234409ed taking out the factory extern cruft that we only needed before we had shared libs working on the mac. Long live the shared lib conversion!
git-svn-id: svn://10.0.0.236/trunk@15690 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 09:35:38 +00:00
jfrancis%netscape.com
5312ddf123 cleaning up library dependencies, and added xpcom.shlb
git-svn-id: svn://10.0.0.236/trunk@15689 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 09:34:37 +00:00
leaf%mozilla.org
e5639c0739 there's no xpcom/toolsMakefile.in , so don't try and make the Makefile
git-svn-id: svn://10.0.0.236/trunk@15687 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 08:44:14 +00:00
troy%netscape.com
4edf9f0135 Removed explict call of base class constructor
git-svn-id: svn://10.0.0.236/trunk@15686 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 07:22:31 +00:00
troy%netscape.com
f511034628 Removed explicit call of base class constructor because it was
making Unix compilers unhappy


git-svn-id: svn://10.0.0.236/trunk@15685 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 07:20:59 +00:00
wtc%netscape.com
0e55a232b4 Added a static cast from void* to GtkWidget*.
git-svn-id: svn://10.0.0.236/trunk@15684 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 06:35:05 +00:00
shaver%netscape.com
8accf45608 Fix indentation, which was my fault and not andrewv's.
Add nsISupports to the always-include list.
Clean up interface generation code, and then mess it up again with
IID handling.


git-svn-id: svn://10.0.0.236/trunk@15683 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 06:33:59 +00:00
troy%netscape.com
01f27b2a31 Added Init() member function to nsIFrame
git-svn-id: svn://10.0.0.236/trunk@15682 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 06:31:43 +00:00
wtc%netscape.com
2c8f8fff45 The GetFont method of nsIFontMetrics takes a const pointer reference
as argument, so we must pass a const pointer reference to it.


git-svn-id: svn://10.0.0.236/trunk@15681 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 06:29:56 +00:00
despotdaemon%netscape.com
f8d265ea3f Pseudo-automatic update of changes made by dawn@cannibal.mi.org.
git-svn-id: svn://10.0.0.236/trunk@15680 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 06:07:21 +00:00
despotdaemon%netscape.com
5e302713d5 Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@15679 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 06:01:59 +00:00
despotdaemon%netscape.com
7710d61b16 Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@15678 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 06:00:01 +00:00
saari%netscape.com
5698cd65df Mac - Temporarly turning off the passing down of rendering contexts to children during updates to facilitate a hack that improves rendering. The hack is getting around the Windows centric XP code.
git-svn-id: svn://10.0.0.236/trunk@15677 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 04:26:46 +00:00
nisheeth%netscape.com
a769382e80 Added /FR flag for WIN32 builds to generate code browsing info if
MOZ_BROWSE_INFO is set in the environment.


git-svn-id: svn://10.0.0.236/trunk@15676 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 04:26:40 +00:00
nisheeth%netscape.com
a93af06938 Added a browse_info target to the windows make file to support
generation of the .BSC browse info file from all the .SBR files
that get generated by the MSVC compiler.


git-svn-id: svn://10.0.0.236/trunk@15675 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 04:25:14 +00:00
saari%netscape.com
dec07bc825 Mac only hackery to make rendering better.
git-svn-id: svn://10.0.0.236/trunk@15674 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 04:24:54 +00:00
joki%netscape.com
053d2832d4 Fix cursor bug which caused cursor to be set once per child view on each mousemove
git-svn-id: svn://10.0.0.236/trunk@15673 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 03:07:16 +00:00
pinkerton%netscape.com
c781700b61 replace NS_IMETHOD with expanded version to make vc6 happy.
git-svn-id: svn://10.0.0.236/trunk@15672 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 01:45:40 +00:00
rpotts%netscape.com
169eccca7e Temp file to populate the repository (until it becomes persistent...
git-svn-id: svn://10.0.0.236/trunk@15671 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 01:38:19 +00:00
rpotts%netscape.com
0a9440f28b Application launcher...
git-svn-id: svn://10.0.0.236/trunk@15670 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 01:37:46 +00:00
rpotts%netscape.com
bd56204091 Windows makefile...
git-svn-id: svn://10.0.0.236/trunk@15669 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 01:37:24 +00:00
rpotts%netscape.com
cb02290217 public headers for the Application SHell services...
git-svn-id: svn://10.0.0.236/trunk@15668 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 01:36:47 +00:00
rpotts%netscape.com
14c137e472 Application Shell services...
git-svn-id: svn://10.0.0.236/trunk@15667 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 01:35:53 +00:00
pinkerton%netscape.com
55d40f31ea move the tree and toolbar files into their own group.
git-svn-id: svn://10.0.0.236/trunk@15666 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 01:27:41 +00:00
pinkerton%netscape.com
9af474e202 general cleanup, change PaintLines() to PaintRows(), cleaned up cntr.
git-svn-id: svn://10.0.0.236/trunk@15665 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 01:27:24 +00:00
pinkerton%netscape.com
fe975b655e make the toolbar inherit from the dataModelWidget class like the trees.
git-svn-id: svn://10.0.0.236/trunk@15664 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 01:26:39 +00:00
pinkerton%netscape.com
fa6414062a clean up a warning and some comments.
git-svn-id: svn://10.0.0.236/trunk@15663 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 01:26:10 +00:00
pinkerton%netscape.com
724463c7a0 moved eDMImageLoaded constant here because this is the only place it is used.
git-svn-id: svn://10.0.0.236/trunk@15662 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 01:25:50 +00:00
pinkerton%netscape.com
24277cfac1 reshuffled some things to remove include dependancies, etc.
git-svn-id: svn://10.0.0.236/trunk@15661 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 01:25:26 +00:00
rpotts%netscape.com
ba6ba6906a Windows makefile...
git-svn-id: svn://10.0.0.236/trunk@15660 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 01:17:32 +00:00
pierre%netscape.com
ce14f70107 Making nsMacRepository.h obsolete: the shared lib conversion is done.
git-svn-id: svn://10.0.0.236/trunk@15659 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 01:06:00 +00:00
sfraser%netscape.com
af6b5cff3e First Checked In.
git-svn-id: svn://10.0.0.236/trunk@15658 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 00:45:32 +00:00
kin%netscape.com
86a31102c0 Fixed crash bug when calling PeekUndoStack() or PeekRedoStack() when the stacks
are empty. Fixed bug that allowed mMaxLevelsOfUndo + 1 entries on the undo
stack.


git-svn-id: svn://10.0.0.236/trunk@15657 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 00:41:44 +00:00
pinkerton%netscape.com
aa2bbcf32f added nsJSUtils.cpp to base for vidur.
git-svn-id: svn://10.0.0.236/trunk@15656 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 00:36:06 +00:00
vidur%netscape.com
c0cd474b21 Fixed unitialized value problem.
git-svn-id: svn://10.0.0.236/trunk@15655 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 00:34:44 +00:00
vidur%netscape.com
8675dc74ce Slimmed down DOM code by creating a few utility functions for conversion, etc. Fixed bug 1656 - bug in generator with an enum value of 0.
git-svn-id: svn://10.0.0.236/trunk@15654 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 00:33:00 +00:00
sfraser%netscape.com
e09a7f3f67 File Removed.
git-svn-id: svn://10.0.0.236/trunk@15653 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 00:26:44 +00:00
hyatt%netscape.com
f6f73127c3 Removal of the mutable keyword (to keep VC4.2 happy), and a fix to make
sure the folder and trigger images load for everyone.


git-svn-id: svn://10.0.0.236/trunk@15652 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 23:04:55 +00:00
leaf%mozilla.org
362a53efb2 fixed mismatched quotes.
git-svn-id: svn://10.0.0.236/trunk@15651 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 22:30:52 +00:00
leaf%mozilla.org
304afd24c1 backing out bad change
git-svn-id: svn://10.0.0.236/trunk@15650 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 22:24:09 +00:00
leaf%mozilla.org
9700526d67 we must descend editor/ no matter what now.
git-svn-id: svn://10.0.0.236/trunk@15649 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 22:13:21 +00:00
leaf%mozilla.org
00349f60b8 adding the editor/public header export makefiles to the default makefile list
git-svn-id: svn://10.0.0.236/trunk@15648 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 22:08:05 +00:00
leaf%mozilla.org
a9c6dd2da4 adding the editor/Makefile.in and editor/public to SeaMonkeyBrowser
git-svn-id: svn://10.0.0.236/trunk@15647 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 21:50:19 +00:00
kin%netscape.com
df6b542687 Fix for build bustage on Unix. Put in missing '$'.
git-svn-id: svn://10.0.0.236/trunk@15646 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 21:25:41 +00:00
kin%netscape.com
c142f19e2d Fix for Unix build bustage. We only build the editor core code if
MOZ_EDITOR is set, otherwise, we just export the editor interfaces.


git-svn-id: svn://10.0.0.236/trunk@15645 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 21:24:25 +00:00
pavlov%pavlov.net
dd963bbea3 removed extranious #include "gtklayout.h"'s and #ifndef GTK_HAVE_FEATURES_1_1_6
in gtklayout.c and nsWidget.h so that we use the gtklayout from gtk 1.1.6 if
available.


git-svn-id: svn://10.0.0.236/trunk@15643 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 19:54:34 +00:00
shaver%netscape.com
0913f32ec7 Updated README.
Better arg handling and now lower-case mode flags.
andrewv's fixes to lose dependency on IDLN_ enum order (but not his changes
to indentation settings!).


git-svn-id: svn://10.0.0.236/trunk@15642 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 19:53:27 +00:00
pinkerton%netscape.com
bc13eb0ae4 add the files to build the xpfe tree view.
git-svn-id: svn://10.0.0.236/trunk@15641 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 19:49:27 +00:00
pinkerton%netscape.com
39aa690f7a export the tree view.
git-svn-id: svn://10.0.0.236/trunk@15640 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 19:49:06 +00:00
pinkerton%netscape.com
1f78dc5000 add the tree view to the widget factory.
git-svn-id: svn://10.0.0.236/trunk@15639 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 19:48:55 +00:00
pinkerton%netscape.com
3224d9619e fix PRBool and an unwanted assignment in an if().
git-svn-id: svn://10.0.0.236/trunk@15638 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 19:48:28 +00:00
kin%netscape.com
942aef5be1 Fix for build bustage on Unix.
git-svn-id: svn://10.0.0.236/trunk@15637 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 18:02:06 +00:00
mjudge%netscape.com
5be79f43a9 forgot one file for ngEditor
git-svn-id: svn://10.0.0.236/trunk@15636 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 17:59:03 +00:00
kin%netscape.com
548f97b224 Added GetTransaction() method.
git-svn-id: svn://10.0.0.236/trunk@15635 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 17:40:56 +00:00
kin%netscape.com
c499a4300e Updated TestTransaction methods to match changes to nsITransaction interface.
Started implementation of simple test.


git-svn-id: svn://10.0.0.236/trunk@15634 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 17:40:25 +00:00
kin%netscape.com
3cf483c706 Fix for build bustage on Unix.
git-svn-id: svn://10.0.0.236/trunk@15633 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 17:39:40 +00:00
kin%netscape.com
8d81669ab7 Added implementations for new Clear(), PeekUndoStack(), and PeekRedoStack()
interface methods. Added support for transaction merging/coalescing, and
max number of undos.


git-svn-id: svn://10.0.0.236/trunk@15632 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 17:39:09 +00:00
kin%netscape.com
79b9defb35 Added Clear(), PeekUndoStack(), and PeekRedoStack() methods to interface.
git-svn-id: svn://10.0.0.236/trunk@15631 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 17:37:16 +00:00
kin%netscape.com
4eed82b09a Added Merge() method to interface.
git-svn-id: svn://10.0.0.236/trunk@15630 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 17:36:46 +00:00
akkana%netscape.com
16b950c06e For mjudge: Remove NGEDITOR defines
git-svn-id: svn://10.0.0.236/trunk@15629 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 17:20:54 +00:00
wtc%netscape.com
cb295c0441 Added extern "C" for XP_ReBuffer().
git-svn-id: svn://10.0.0.236/trunk@15628 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 16:52:08 +00:00
wtc%netscape.com
773ba841c6 Link with -lpwcac -ldbm on all platforms, not just FreeBSD, Linux, and
SunOS.


git-svn-id: svn://10.0.0.236/trunk@15627 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 16:51:45 +00:00
wtc%netscape.com
bc83a7b897 Link with -lpwcac -ldbm on all platforms, not just on FreeBSD, Linux,
and SunOS.


git-svn-id: svn://10.0.0.236/trunk@15626 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 16:49:27 +00:00
wtc%netscape.com
d45ab8ecf7 This checkin (under mozilla/layout) is all about 'const'. Digital Unix's
C++ compiler is strict about getting 'const' right.  Most of the changes
are to add 'const' to the type casts for the second argument of the
GetStyleData method, which wants a const reference.


git-svn-id: svn://10.0.0.236/trunk@15625 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 16:45:20 +00:00
dcone%netscape.com
b5ce78f2af Changed the name so the file can be used on the Mac
git-svn-id: svn://10.0.0.236/trunk@15624 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 16:06:31 +00:00
chuckb%netscape.com
793e08b58b two bug fixes.
git-svn-id: svn://10.0.0.236/trunk@15623 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 10:56:43 +00:00
pierre%netscape.com
cda7b1f93b Make an alias of the WASTELib library in the 'dist' directory
git-svn-id: svn://10.0.0.236/trunk@15622 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 10:17:36 +00:00
pierre%netscape.com
b26e325161 changed eMetric_TextFieldHeight to 16 from 30
git-svn-id: svn://10.0.0.236/trunk@15621 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 10:15:55 +00:00
pierre%netscape.com
b2b5f6973f removed the 2 Resize() methods
git-svn-id: svn://10.0.0.236/trunk@15620 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 10:15:41 +00:00
pierre%netscape.com
9acc3cde2c Update() receives the rendering context as a parameter and passes it to the children
git-svn-id: svn://10.0.0.236/trunk@15619 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 10:15:22 +00:00
hyatt%netscape.com
fbb73d31d8 Eliminated my usage of the "mutable" keyword, since VC4.2 chokes on it.
git-svn-id: svn://10.0.0.236/trunk@15618 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 07:20:39 +00:00
saari%netscape.com
ae67adc529 Fix build breakage.
Added mozilla/layout/base/nsPringContext.cpp to layout.mcp to mirror Troy's addition to the build today.


git-svn-id: svn://10.0.0.236/trunk@15617 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 04:59:15 +00:00
saari%netscape.com
ad5ae66745 Fixing build breakage.
nsRegionMac API changed on me.


git-svn-id: svn://10.0.0.236/trunk@15616 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 04:26:16 +00:00
troy%netscape.com
26a1c5f759 Added ID for nsIPageSequenceFrame
git-svn-id: svn://10.0.0.236/trunk@15614 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 03:53:01 +00:00
troy%netscape.com
f8f4d4ce45 Changed Print() to use a print context instead of a galley mode
context


git-svn-id: svn://10.0.0.236/trunk@15613 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 03:26:37 +00:00
troy%netscape.com
d7e61a86d5 Added PrintContext class and changed document viewer impl to use it instead
of a galley mode context


git-svn-id: svn://10.0.0.236/trunk@15612 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 03:21:55 +00:00
saari%netscape.com
2788df097d fixed hand merge error
git-svn-id: svn://10.0.0.236/trunk@15611 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 02:51:48 +00:00
saari%netscape.com
cfbf3d475a ----------------------------------------
mozilla/widget/public/nsIWidget.h
- Added some more #defines for GetNativeData. I don't like this and want to remove them ASAP.


git-svn-id: svn://10.0.0.236/trunk@15610 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 02:45:08 +00:00
saari%netscape.com
69e1ee819d ----------------------------------------
mozilla/widget/src/mac/nsMacWindow.cpp
- Line 112: fixed bug with rect bottom not being set correctly


git-svn-id: svn://10.0.0.236/trunk@15609 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 02:43:19 +00:00
saari%netscape.com
297d9f5ae5 This is the first in what will probably be a series of checkins addressing rendering on the Mac.
Changed files:
----------------------------------------
mozilla/gfx/src/mac/nsRenderingContextMac.h
mozilla/gfx/src/mac/nsRenderingContextMac.cpp 

- Major changes to the Mac rendering context implementation. nsRenderingContextMac now keeps the majority of its state in a GraphicsState object, not in member variables. Setting ports and origins is now a more tightly controlled process. Offscreen buffers don't work correctly yet.

To Do:
- Remove ::SetOrigin calls from most nsRenderingContextMac drawing methods
- Some old variables need to be fully obsoleted
- Offscreen GWorlds currently do not work correctly. This will be addressed shortly.

----------------------------------------

mozilla/widget/src/mac/nsMacWindow.cpp
- Line 112: fixed bug with rect bottom not being set correctly
----------------------------------------
mozilla/widget/public/nsIWidget.h
- Added some more #defines for GetNativeData. I don't like this and want to remove them ASAP.


/\/\/\/\/\//\

mozilla/widget/src/mac/nsWindow.h
mozilla/widget/src/mac/nsWindow.cpp
- Added mMacPortRelativeRegion
----------------------------------------
mozilla/widget/src/mac/nsScrollbar.cpp
- Support the new nsWindow constructs
----------------------------------------


git-svn-id: svn://10.0.0.236/trunk@15608 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 02:42:19 +00:00
wtc%netscape.com
a155e44fc1 The mktime routine in MetroWerks MSL C Runtime Library on the Mac
uses midnight 1 Jan 1900 as the epoch.  So we need to adjust its
return value to the NSPR epoch.  Thanks to Brendan Eich and Chris
Yeh for this fix.


git-svn-id: svn://10.0.0.236/trunk@15607 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 02:35:27 +00:00
sar%netscape.com
1ca4c61fe1 add needed top level makefiles to SeamonkeyCore for win and linux --sarah
git-svn-id: svn://10.0.0.236/trunk@15606 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 02:29:11 +00:00
saari%netscape.com
69c1d2263e This is the first in what will probably be a series of checkins addressing rendering on the Mac.
Changed files:
----------------------------------------
mozilla/gfx/src/mac/nsRenderingContextMac.h
mozilla/gfx/src/mac/nsRenderingContextMac.cpp 

- Major changes to the Mac rendering context implementation. nsRenderingContextMac now keeps the majority of its state in a GraphicsState object, not in member variables. Setting ports and origins is now a more tightly controlled process. Offscreen buffers don't work correctly yet.

To Do:
- Remove ::SetOrigin calls from most nsRenderingContextMac drawing methods
- Some old variables need to be fully obsoleted
- Offscreen GWorlds currently do not work correctly. This will be addressed shortly.

----------------------------------------

mozilla/widget/src/mac/nsMacWindow.cpp
- Line 112: fixed bug with rect bottom not being set correctly
----------------------------------------
mozilla/widget/public/nsIWidget.h
- Added some more #defines for GetNativeData. I don't like this and want to remove them ASAP.


/\/\/\/\/\//\

mozilla/widget/src/mac/nsWindow.h
mozilla/widget/src/mac/nsWindow.cpp
- Added mMacPortRelativeRegion
----------------------------------------
mozilla/widget/src/mac/nsScrollbar.cpp
- Support the new nsWindow constructs
----------------------------------------


git-svn-id: svn://10.0.0.236/trunk@15605 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 02:26:08 +00:00
joki%netscape.com
2973fa0b43 Fix mouseover/mouseout firing crash when hitting bad frame.
git-svn-id: svn://10.0.0.236/trunk@15604 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 02:14:58 +00:00
waterson%netscape.com
624c0b68fb Added rdf to LINCS.
git-svn-id: svn://10.0.0.236/trunk@15603 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 02:13:49 +00:00
hyatt%netscape.com
7884d6c986 Fixing the widget factory for tree views.
git-svn-id: svn://10.0.0.236/trunk@15602 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 01:45:15 +00:00
hyatt%netscape.com
2d805bdda3 Fixing the widget factory for the tree view.
git-svn-id: svn://10.0.0.236/trunk@15601 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 01:44:53 +00:00
hyatt%netscape.com
3f71118adc The tree view interface.
git-svn-id: svn://10.0.0.236/trunk@15600 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 01:44:24 +00:00
hyatt%netscape.com
07509a869b Initial checkin of the tree widget and the data model architecture (that will
be used for toolbars and trees).


git-svn-id: svn://10.0.0.236/trunk@15599 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 01:43:26 +00:00
waterson%netscape.com
d6b5ad35ae #ifdef out XP_MAC stuff for now.
git-svn-id: svn://10.0.0.236/trunk@15598 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 01:42:17 +00:00
hyatt%netscape.com
b3bdab2165 Deletion of outdated tree widget and toolbar interfaces and updating of
the appropriate makefiles.


git-svn-id: svn://10.0.0.236/trunk@15597 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 01:38:54 +00:00
wtc%netscape.com
dc6fc49a76 In the struct-emulated version of LL_I2L, added a PRInt32 cast
to make sure we are right shifting a signed integer (in case
someone passes in an unsigned).


git-svn-id: svn://10.0.0.236/trunk@15596 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 01:37:59 +00:00
michaelp%netscape.com
a7bf3aae35 fixed build bustage.
git-svn-id: svn://10.0.0.236/trunk@15595 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 01:08:43 +00:00
briano%netscape.com
48e5eec02e Fix for NetBSD. Bugzilla#1421.
git-svn-id: svn://10.0.0.236/trunk@15594 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 01:08:00 +00:00
waterson%netscape.com
b52159df93 Added rdf dir to pull_lizard.
git-svn-id: svn://10.0.0.236/trunk@15593 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 00:57:34 +00:00
waterson%netscape.com
2c2e4e2e6f Added mozilla/rdf to the pull.
git-svn-id: svn://10.0.0.236/trunk@15592 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 00:50:42 +00:00
peterl%netscape.com
5a6b69acb5 Added nsLayoutAtoms.cpp
git-svn-id: svn://10.0.0.236/trunk@15591 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 00:49:52 +00:00
briano%netscape.com
3d2cb56ff4 Fix for OpenBSD. Bugzilla#1407.
git-svn-id: svn://10.0.0.236/trunk@15590 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 00:45:24 +00:00
peterl%netscape.com
2709b267b2 added inline style sheet support for contained HTML
git-svn-id: svn://10.0.0.236/trunk@15589 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 00:39:10 +00:00
peterl%netscape.com
d2cbd9f116 changed media type to atom
moved body fixup rule to body element


git-svn-id: svn://10.0.0.236/trunk@15588 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 00:38:33 +00:00
peterl%netscape.com
da11cf6bba changed media type to atom
git-svn-id: svn://10.0.0.236/trunk@15587 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 00:38:14 +00:00
peterl%netscape.com
121ee0330e added media support to child sheet iteration
changed medium type to atoms


git-svn-id: svn://10.0.0.236/trunk@15586 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 00:37:32 +00:00
michaelp%netscape.com
55952d5861 added GetNativeRegion() and GetRegionComplexity() methods.
git-svn-id: svn://10.0.0.236/trunk@15585 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 00:36:56 +00:00
peterl%netscape.com
87cce2df33 added media support to import
git-svn-id: svn://10.0.0.236/trunk@15584 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 00:36:37 +00:00
michaelp%netscape.com
f7f8b8ea47 added FlushFontCache() method.
git-svn-id: svn://10.0.0.236/trunk@15583 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 00:36:08 +00:00
peterl%netscape.com
4c21a94564 changed medium type to atom
git-svn-id: svn://10.0.0.236/trunk@15582 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 00:36:00 +00:00
peterl%netscape.com
69b84cb501 added inline style sheet accessor
git-svn-id: svn://10.0.0.236/trunk@15581 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 00:35:41 +00:00
peterl%netscape.com
c57d0b3d20 fixed decoration style of del
git-svn-id: svn://10.0.0.236/trunk@15580 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 00:35:26 +00:00
peterl%netscape.com
69005e00ea changed media to uppercase atoms
git-svn-id: svn://10.0.0.236/trunk@15579 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 00:35:03 +00:00
peterl%netscape.com
949754eac9 added inline style rule accessor
git-svn-id: svn://10.0.0.236/trunk@15578 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 00:34:31 +00:00
peterl%netscape.com
5683510533 moved body fixup rule into content
git-svn-id: svn://10.0.0.236/trunk@15577 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 00:34:06 +00:00
peterl%netscape.com
f6827b4dbf added inline style accessor
git-svn-id: svn://10.0.0.236/trunk@15576 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 00:33:12 +00:00
peterl%netscape.com
49167d870c added nsLayoutAtoms
git-svn-id: svn://10.0.0.236/trunk@15575 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 00:32:20 +00:00
peterl%netscape.com
fb4e7e9f66 added medium type
git-svn-id: svn://10.0.0.236/trunk@15574 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 00:31:31 +00:00
peterl%netscape.com
360a98a0b6 added media support
git-svn-id: svn://10.0.0.236/trunk@15573 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 00:30:42 +00:00
peterl%netscape.com
b5041bf15f added nslayoutatoms.h
git-svn-id: svn://10.0.0.236/trunk@15572 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 00:29:42 +00:00
waterson%netscape.com
ebd8214cae Allow nsWellFormedDTD to handle text/rdf.
git-svn-id: svn://10.0.0.236/trunk@15571 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 00:29:31 +00:00
peterl%netscape.com
5e0087b970 new file
git-svn-id: svn://10.0.0.236/trunk@15570 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 00:29:29 +00:00
peterl%netscape.com
4cd6b9a5c2 changed medium type to atom
git-svn-id: svn://10.0.0.236/trunk@15569 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 00:29:16 +00:00
waterson%netscape.com
6302648ac7 Added CIDs and register factory hacks for RDF classes.
git-svn-id: svn://10.0.0.236/trunk@15568 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 00:28:58 +00:00
peterl%netscape.com
c46cc4c8bd added medium accessor
git-svn-id: svn://10.0.0.236/trunk@15567 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 00:28:57 +00:00
waterson%netscape.com
d689488fcf Added factory method for RDF documents.
git-svn-id: svn://10.0.0.236/trunk@15566 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 00:28:27 +00:00
waterson%netscape.com
f05115f79d Added text/rdf as a valid mimetype.
git-svn-id: svn://10.0.0.236/trunk@15565 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 00:27:46 +00:00
waterson%netscape.com
720efb2c9f Added rdf directory to the build.
git-svn-id: svn://10.0.0.236/trunk@15564 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 00:23:18 +00:00
waterson%netscape.com
d304426918 Added rdf to the build.
git-svn-id: svn://10.0.0.236/trunk@15563 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 00:22:44 +00:00
waterson%netscape.com
8abda9e59d Added mozilla/rdf/include, mozilla/layout/xml/document/public, and mozilla/layout/xml/content/public to list of dirs that get manifested. Still not adding rdf to the Mac build due to linkage problems that need to be sorted out.
git-svn-id: svn://10.0.0.236/trunk@15562 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 00:21:44 +00:00
waterson%netscape.com
45b40ebd32 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@15561 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 00:20:07 +00:00
guha%netscape.com
4ddb6e500b More Comments
git-svn-id: svn://10.0.0.236/trunk@15560 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 23:51:27 +00:00
guha%netscape.com
ffce913f89 Comments, fix for MSVC 4.2
git-svn-id: svn://10.0.0.236/trunk@15559 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 23:43:06 +00:00
waterson%netscape.com
84e0a4e62c Exposed nsCSSParser via layout factory.
git-svn-id: svn://10.0.0.236/trunk@15558 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 23:29:16 +00:00
beard%netscape.com
77c537c697 Moved to shared libraries, building in mozilla/dist, linking against many fewer libraries.
git-svn-id: svn://10.0.0.236/trunk@15557 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 22:25:36 +00:00
jfrancis%netscape.com
a9ae7e0fa1 moving nsRangeList.cpp to the right place in the project
git-svn-id: svn://10.0.0.236/trunk@15556 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 22:05:27 +00:00
jfrancis%netscape.com
34c2754f49 moving nsDocumentfragment.cpp to the right place in the project
git-svn-id: svn://10.0.0.236/trunk@15555 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 22:00:18 +00:00
wtc%netscape.com
e2b7d6fd95 Undefine _PR_HAVE_SOCKADDR_LEN because struct sockaddr doesn't have
the sa_len field on NEXTSTEP/OPENSTEP.  Thanks to Balazs Pataki for
<pataki@ovid.aszi.sztaki.hu> for confirming this.


git-svn-id: svn://10.0.0.236/trunk@15554 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 21:53:37 +00:00
despotdaemon%netscape.com
078a6cfb9a Pseudo-automatic update of changes made by sfraser@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@15553 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 21:48:31 +00:00
mjudge%netscape.com
d999cf6a12 fix for mac no ')'
git-svn-id: svn://10.0.0.236/trunk@15552 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 21:39:13 +00:00
mjudge%netscape.com
82fc10e60f didnt check in the one file i needed!! not my day
git-svn-id: svn://10.0.0.236/trunk@15551 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 21:04:33 +00:00
mjudge%netscape.com
dba04650ad fixing mac build bustages
git-svn-id: svn://10.0.0.236/trunk@15550 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 20:58:53 +00:00
despotdaemon%netscape.com
1d60fe6ee0 Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@15549 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 20:57:48 +00:00
mjudge%netscape.com
8c66b5b1ca casting like mad
git-svn-id: svn://10.0.0.236/trunk@15548 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 20:56:29 +00:00
mjudge%netscape.com
d5762e5956 fixing build bustage!
git-svn-id: svn://10.0.0.236/trunk@15547 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 20:28:34 +00:00
mjudge%netscape.com
44945155f0 fixing bug in windows code for build
git-svn-id: svn://10.0.0.236/trunk@15546 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 20:20:40 +00:00
mjudge%netscape.com
a3ceb6c4f4 fixing mac build bustage
git-svn-id: svn://10.0.0.236/trunk@15545 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 20:17:01 +00:00
beard%netscape.com
fcb872004a Uses shared libraries, targets get built in mozilla/dist/viewer[Debug].
git-svn-id: svn://10.0.0.236/trunk@15544 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 20:00:35 +00:00
waterson%netscape.com
f2455e1b1d Fixed some bugs in the content sink that'd been introduced when I pulled the simple content sink out of the document content sink.
git-svn-id: svn://10.0.0.236/trunk@15543 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 19:58:24 +00:00
waterson%netscape.com
4b0c6d9d96 Added RemoveDataSource() to the database interface in preparation for doing db management with XML processing instructions.
git-svn-id: svn://10.0.0.236/trunk@15542 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 19:57:49 +00:00
waterson%netscape.com
69723cfd45 Fixed some reference counting bugs.
git-svn-id: svn://10.0.0.236/trunk@15541 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 19:57:36 +00:00
troy%netscape.com
b16b9b9f48 Removed hack of having page size based on viewport size
git-svn-id: svn://10.0.0.236/trunk@15540 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 19:38:29 +00:00
akkana%netscape.com
ad036d51d2 nsIRangeList shouldn't have been here. Fix build bustage
git-svn-id: svn://10.0.0.236/trunk@15539 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 19:34:50 +00:00
mjudge%netscape.com
dac2ae4941 including proper thing
git-svn-id: svn://10.0.0.236/trunk@15538 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 19:18:52 +00:00
akkana%netscape.com
9f5d2a5f08 Change Element to Node
git-svn-id: svn://10.0.0.236/trunk@15537 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 19:15:00 +00:00
mjudge%netscape.com
a9dc677a36 need to include the nsIDOMElement.h dont know why this worked on windows
git-svn-id: svn://10.0.0.236/trunk@15536 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 19:14:18 +00:00
leaf%mozilla.org
da35f4a530 adding nsIRangeList.h to exports list
git-svn-id: svn://10.0.0.236/trunk@15535 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 19:08:02 +00:00
kin%netscape.com
017db1e661 Implemented transaction aggregation, modified code to use nsTransactionItem.
git-svn-id: svn://10.0.0.236/trunk@15534 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 18:38:52 +00:00
kin%netscape.com
224e02e4d8 Initial version of file.
git-svn-id: svn://10.0.0.236/trunk@15533 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 18:35:49 +00:00
akkana%netscape.com
ff2b34c29a Fix IDOMRange spec
git-svn-id: svn://10.0.0.236/trunk@15532 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 18:21:05 +00:00
akkana%netscape.com
5d4099f328 Pull and build the editor as well as the browser
git-svn-id: svn://10.0.0.236/trunk@15531 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 18:20:03 +00:00
mjudge%netscape.com
55ee01fd41 changes nsRangeList to be an implementation of nsICollection
git-svn-id: svn://10.0.0.236/trunk@15530 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 18:00:02 +00:00
mjudge%netscape.com
4e5b37987c fixing tests to use the enumerator correctly
git-svn-id: svn://10.0.0.236/trunk@15529 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 17:58:50 +00:00
mjudge%netscape.com
ba58fd80a6 fixing enumerator to do the right thing
git-svn-id: svn://10.0.0.236/trunk@15528 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 17:58:27 +00:00
mjudge%netscape.com
b3753f3f95 changes enumerator to do the right thing
git-svn-id: svn://10.0.0.236/trunk@15527 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 17:58:10 +00:00
mjudge%netscape.com
9e56baf6ba changing nsIRangeList to nsICollection
git-svn-id: svn://10.0.0.236/trunk@15526 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 17:57:42 +00:00
mjudge%netscape.com
75c2f03476 removing nsIRangeList.h
git-svn-id: svn://10.0.0.236/trunk@15525 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 17:56:56 +00:00
mjudge%netscape.com
d3096f7ed2 removing nsIRangeList.h
git-svn-id: svn://10.0.0.236/trunk@15524 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 17:55:58 +00:00
mjudge%netscape.com
9972f8c67c making big changes to enumerator class and adding nsICollection
git-svn-id: svn://10.0.0.236/trunk@15523 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 17:55:08 +00:00
mjudge%netscape.com
d3fcc0bcb7 collection interface
git-svn-id: svn://10.0.0.236/trunk@15522 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 17:50:57 +00:00
kipp%netscape.com
0bbef0f75e new
git-svn-id: svn://10.0.0.236/trunk@15521 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 16:13:49 +00:00
chuckb%netscape.com
a0c58ff4a6 Parsers for controls returned by password policy
git-svn-id: svn://10.0.0.236/trunk@15520 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 11:16:37 +00:00
chuckb%netscape.com
be850ead5b removeValue does not work
git-svn-id: svn://10.0.0.236/trunk@15519 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 11:12:11 +00:00
chuckb%netscape.com
dc79edd3fb bug fix
git-svn-id: svn://10.0.0.236/trunk@15518 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 11:08:34 +00:00
chuckb%netscape.com
1eac6a342c Parsers for controls returned by password policy
git-svn-id: svn://10.0.0.236/trunk@15517 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 11:06:52 +00:00
chuckb%netscape.com
f22c209229 Generic parser for a control containing only a string
git-svn-id: svn://10.0.0.236/trunk@15516 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 11:06:26 +00:00
waterson%netscape.com
c7c31d1f6e Added some comments on the factory methods.
git-svn-id: svn://10.0.0.236/trunk@15515 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 10:54:12 +00:00
waterson%netscape.com
5af73a8a75 Factored the RDF content sink into a document content sink (used with the NGLayout content model) and a simple content sink (which can be used without a document).
git-svn-id: svn://10.0.0.236/trunk@15514 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 10:52:38 +00:00
wtc%netscape.com
e63535aece Corrected a typo. The "1" (one) in "armv41" should be an "l" (ell).
Thanks to Brian Ostrom <briano@netscape.com> for pointing this out.


git-svn-id: svn://10.0.0.236/trunk@15513 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 08:30:02 +00:00
wtc%netscape.com
646c6edb93 We also need to define the poll-related error reporting functions
if we are using our emulated poll().  This patch is contributed by
Jeremy Lea <reg@shale.csir.co.za>.


git-svn-id: svn://10.0.0.236/trunk@15512 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 07:31:15 +00:00
wtc%netscape.com
2c43676866 Undefine _PR_POLL_AVAILABLE for pthreads. libc_r doesn't have
poll().  The poll() in libc is not thread-safe, so we can't use
it with pthreads.  This patch is contributed by Jeremy Lea
<reg@shale.csir.co.za>.


git-svn-id: svn://10.0.0.236/trunk@15511 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 07:25:28 +00:00
waterson%netscape.com
b3809c1004 Updated MANIFEST for landing of RDF_19981124_BRANCH.
git-svn-id: svn://10.0.0.236/trunk@15510 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 06:18:25 +00:00
waterson%netscape.com
feedbd576c Got RDF compiling and running on Linux.
git-svn-id: svn://10.0.0.236/trunk@15509 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 06:10:18 +00:00
waterson%netscape.com
edda2a753c Fixed some cruft that egcs didn't like.
git-svn-id: svn://10.0.0.236/trunk@15508 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 06:09:23 +00:00
gagan%netscape.com
657a985e84 Delayed the cache cleanup to 15 minutes periodicity.
git-svn-id: svn://10.0.0.236/trunk@15507 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 05:40:16 +00:00
troy%netscape.com
8cdbd84223 Changed to handle StyleChanged incremental reflow command
git-svn-id: svn://10.0.0.236/trunk@15506 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 05:17:12 +00:00
gagan%netscape.com
0f3b93aeb6 Was not pulling in env changes from config.mak because of the missing include.
git-svn-id: svn://10.0.0.236/trunk@15505 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 04:46:24 +00:00
gagan%netscape.com
2e43bbedea Switching on NU_CACHE by default. Use set NO_NU_CACHE=1 to switch it off. Windows only.
git-svn-id: svn://10.0.0.236/trunk@15504 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 04:44:31 +00:00
gagan%netscape.com
57fd48f904 Switching on NU_CACHE by default. Use set NO_NU_CACHE=1 to switch it off.
git-svn-id: svn://10.0.0.236/trunk@15503 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 04:43:46 +00:00
fur%netscape.com
687f1ec19e Compiler-generated file shouldn't be checked in
git-svn-id: svn://10.0.0.236/trunk@15502 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 04:23:35 +00:00
beard%netscape.com
cb9ba7b0e8 Fixed non-debug target to build in mozilla/dist/viewer.
git-svn-id: svn://10.0.0.236/trunk@15501 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 04:03:47 +00:00
waterson%netscape.com
8a5dd554af Removed obsolete files.
git-svn-id: svn://10.0.0.236/trunk@15500 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 03:51:09 +00:00
waterson%netscape.com
a93768c259 Obsolete.
git-svn-id: svn://10.0.0.236/trunk@15499 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 03:48:33 +00:00
waterson%netscape.com
0d67609952 Cleaned up unnecessary stuff that was being exported.
git-svn-id: svn://10.0.0.236/trunk@15498 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 03:47:35 +00:00
waterson%netscape.com
866c72398c Initial revision.
git-svn-id: svn://10.0.0.236/trunk@15497 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 03:27:53 +00:00
waterson%netscape.com
09e224434a Added NPL. Removed tests dir for now.
git-svn-id: svn://10.0.0.236/trunk@15496 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 03:26:17 +00:00
michaelp%netscape.com
de4186f177 fixed build bustage.
git-svn-id: svn://10.0.0.236/trunk@15495 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 03:20:31 +00:00
waterson%netscape.com
a3506cd378 Landed changes from RDF_19981124_BRANCH. This is still not in the build.
git-svn-id: svn://10.0.0.236/trunk@15494 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 03:01:35 +00:00
raman%netscape.com
72c8c66977 Deleted unnecessary nsCCapsManager:: from the prototype
git-svn-id: svn://10.0.0.236/trunk@15493 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 03:00:42 +00:00
wtc%netscape.com
c509066038 Checked in Patrick Beard's temporary workaround (to use GetSharedLibrary
instead of NSGetSharedLibrary) because NSGetSharedLibrary is broken.


git-svn-id: svn://10.0.0.236/trunk@15492 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 02:56:29 +00:00
michaelp%netscape.com
3fbc2c9f07 updated for new blending API.
git-svn-id: svn://10.0.0.236/trunk@15491 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 02:16:14 +00:00
michaelp%netscape.com
5a970927aa revised blending APIs.
git-svn-id: svn://10.0.0.236/trunk@15490 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 02:15:44 +00:00
wtc%netscape.com
f40b5e2f3c Temporarily commented out the poll() wrapper for Linux, because
glibc 2.0.7 on Debian 2.0 Linux doesn't have __syscall_poll defined.
This problem was reported by Adam Sulmicki <adam@cfar.umd.edu>.


git-svn-id: svn://10.0.0.236/trunk@15489 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 02:10:44 +00:00
beard%netscape.com
ead1995fea Build bustage, was referencing non-debug libraries in debug target.
git-svn-id: svn://10.0.0.236/trunk@15488 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 01:55:01 +00:00
beard%netscape.com
6fd1db89c0 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@15487 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 01:51:22 +00:00
jfrancis%netscape.com
825ac7ea0e The first step to good mental health is to realize that you have a build problem.
redo'ing NSRuntime.shlb includes to use debug in debug target, opt in opt target.


git-svn-id: svn://10.0.0.236/trunk@15486 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 01:22:13 +00:00
michaelp%netscape.com
7164868c5a fixed build bustage.
git-svn-id: svn://10.0.0.236/trunk@15485 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 01:18:32 +00:00
beard%netscape.com
7f1c280849 More build bustage fixes.
git-svn-id: svn://10.0.0.236/trunk@15484 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 01:17:03 +00:00
beard%netscape.com
4be58ddc21 More build bustage fixes.
git-svn-id: svn://10.0.0.236/trunk@15483 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 01:06:33 +00:00
beard%netscape.com
a042fb01d9 Trying to fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@15482 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 01:02:32 +00:00
beard%netscape.com
3cc3dcdf67 Mac shared library migration. Fixed some entries that were pointing to the debug build. Argh.
git-svn-id: svn://10.0.0.236/trunk@15481 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 00:44:07 +00:00
cyeh%netscape.com
5aedad152f applied fix from Bruce Mitchener (bruce@cybersight.com) to fix test
for --with-fullcircle. AC_TRY_LINK is still busted though, don't know why


git-svn-id: svn://10.0.0.236/trunk@15480 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-30 23:51:08 +00:00
beard%netscape.com
9ec220b936 Mac shared library migration. Moved PowerPlant earlier.
git-svn-id: svn://10.0.0.236/trunk@15479 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-30 23:39:17 +00:00
locka%iol.ie
de14ab7fe2 Added binary flag for icons in build broke on other machines
git-svn-id: svn://10.0.0.236/trunk@15478 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-30 22:59:43 +00:00
locka%iol.ie
ec309b6d17 Added binary flag for icons in build broke on other machines
git-svn-id: svn://10.0.0.236/trunk@15477 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-30 22:57:21 +00:00
locka%iol.ie
b2cc66ade7 Changed project to statically link to MFC
git-svn-id: svn://10.0.0.236/trunk@15476 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-30 22:53:49 +00:00
karnaze%netscape.com
070596fafe fixed bug 1613 (leak in nsFrameSetFrame::CalculateRowCol)
git-svn-id: svn://10.0.0.236/trunk@15475 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-30 22:37:52 +00:00
beard%netscape.com
810f6cfdf2 Mac shared library migration.
git-svn-id: svn://10.0.0.236/trunk@15474 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-30 22:15:00 +00:00
beard%netscape.com
57c4d48cc4 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@15473 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-30 22:14:25 +00:00
waterson%netscape.com
ad06dd696e Fix Unix bustage.
git-svn-id: svn://10.0.0.236/trunk@15472 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-30 21:17:59 +00:00
sar%netscape.com
55bd7b2825 fix seaMonkeyEditor module some, and add SeaMonkeyAll that tinderbox and Bonsai can track
git-svn-id: svn://10.0.0.236/trunk@15471 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-30 19:48:39 +00:00
buster%netscape.com
9fef29179c fixed a bug for tables with complicated colspans and fixed widths
git-svn-id: svn://10.0.0.236/trunk@15470 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-30 19:06:33 +00:00
karnaze%netscape.com
a937455d91 fixed bug 1696
git-svn-id: svn://10.0.0.236/trunk@15466 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-30 18:19:21 +00:00
pinkerton%netscape.com
755d662e57 added nsDocumentFragment.cpp to fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@15465 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-30 17:51:01 +00:00
buster%netscape.com
826b9af0fe fixed some nested table layout problems
git-svn-id: svn://10.0.0.236/trunk@15463 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-30 15:10:20 +00:00
cls%seawood.org
2428418e65 Tweaks to allow building SeaMonkeyBrowser w/o the editor.
git-svn-id: svn://10.0.0.236/trunk@15462 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-30 10:39:37 +00:00
vidur%netscape.com
2c5fe78039 Fixing build bustage
git-svn-id: svn://10.0.0.236/trunk@15457 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-30 08:47:27 +00:00
mjudge%netscape.com
2bacfb39ef blah
git-svn-id: svn://10.0.0.236/trunk@15456 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-30 08:36:47 +00:00
mjudge%netscape.com
228419a714 factory needs work
git-svn-id: svn://10.0.0.236/trunk@15455 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-30 08:35:45 +00:00
mjudge%netscape.com
d9467a0b51 fixing problem in editfactory
git-svn-id: svn://10.0.0.236/trunk@15454 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-30 08:25:44 +00:00
mjudge%netscape.com
6706cc4291 bug in editor. blowing up a little :(
git-svn-id: svn://10.0.0.236/trunk@15453 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-30 08:05:45 +00:00
vidur%netscape.com
b5d3af627a docfrag test
git-svn-id: svn://10.0.0.236/trunk@15452 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-30 07:59:37 +00:00
vidur%netscape.com
a8e89e05c1 Moved nsGenericElement to base directory. Added basic support for document fragments.
git-svn-id: svn://10.0.0.236/trunk@15451 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-30 07:59:11 +00:00
cls%seawood.org
f83fb62ba0 Call motif_detect scripts only if building with motif toolkit. Thanks to bert hubert <ahu@vvtp.tn.tudelft.nl> for the suggestion.
Fixed $CC evaluation problem when calling motif_detect scripts.  It should now work for multi-word $CC.
Removed extraneous gtk version variables.


git-svn-id: svn://10.0.0.236/trunk@15450 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-30 06:42:36 +00:00
mjudge%netscape.com
a254701232 do not try to link the ender library
git-svn-id: svn://10.0.0.236/trunk@15449 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-30 06:15:54 +00:00
msw%gimp.org
1df8ed18a5 Rewrote the resize handler. This fixes the crashes at startup. There are
still conditions to make this go into infinite loop.
All callbacks/event handlers now return proper values.


git-svn-id: svn://10.0.0.236/trunk@15448 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-30 05:53:17 +00:00
mjudge%netscape.com
1166ec86f8 adding nsRangeList.cpp to list of files to compile
git-svn-id: svn://10.0.0.236/trunk@15447 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-30 05:29:53 +00:00
mjudge%netscape.com
d1e65e0250 need to go into the editor dir. autoconf messed me up
git-svn-id: svn://10.0.0.236/trunk@15446 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-30 04:57:29 +00:00
mjudge%netscape.com
5ec37a3f55 added the editor directory to the unix builds
git-svn-id: svn://10.0.0.236/trunk@15444 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-30 04:04:49 +00:00
mjudge%netscape.com
2236aabe4b added editor as an include dir
git-svn-id: svn://10.0.0.236/trunk@15443 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-30 04:00:19 +00:00
jfrancis%netscape.com
66122f1a54 [sfraser checking in as jfrancis]
Temporarily comment out EDITOR_DLL-related stuff until Mac is building editor, to fix build bustage.


git-svn-id: svn://10.0.0.236/trunk@15442 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-30 03:04:00 +00:00
jfrancis%netscape.com
62c9b472da [sfraser checking in as jfrancis]
added nsRangeList.cpp, turned on debug info for debug targets, as build bustage fixage.


git-svn-id: svn://10.0.0.236/trunk@15441 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-30 03:02:52 +00:00
mjudge%netscape.com
8cd09d02d4 added nsRange to unix
git-svn-id: svn://10.0.0.236/trunk@15440 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-30 03:00:26 +00:00
mjudge%netscape.com
74937901fd export this header for nsIRangeList
git-svn-id: svn://10.0.0.236/trunk@15439 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-30 02:57:59 +00:00
mjudge%netscape.com
fd2aad9c57 should fix unix
git-svn-id: svn://10.0.0.236/trunk@15433 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-30 02:11:00 +00:00
mjudge%netscape.com
d5e3a66787 should be fixed
git-svn-id: svn://10.0.0.236/trunk@15432 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-30 02:01:00 +00:00
msw%gimp.org
142c2bdecf Really fix Unix build bustage. r,a=shaver@netscape.com
git-svn-id: svn://10.0.0.236/trunk@15431 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-30 00:29:45 +00:00
jfrancis%netscape.com
e1ca11a4a3 adding edtor lib entrty, even though we aren't actually linking it in yet.
git-svn-id: svn://10.0.0.236/trunk@15430 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-29 23:57:59 +00:00
jfrancis%netscape.com
6e9d095783 adding editor MANIFEST
git-svn-id: svn://10.0.0.236/trunk@15429 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-29 23:52:10 +00:00
jfrancis%netscape.com
e61a2c1e87 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@15428 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-29 23:50:20 +00:00
mjudge%netscape.com
0035bfa567 fixing files for stupid hack in nsComFactory.cpp
git-svn-id: svn://10.0.0.236/trunk@15427 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-29 23:19:24 +00:00
jfrancis%netscape.com
8e6753a6a9 adding nsIRangeList.h
git-svn-id: svn://10.0.0.236/trunk@15426 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-29 22:45:27 +00:00
mjudge%netscape.com
e85b747984 nsIRangeList.h
git-svn-id: svn://10.0.0.236/trunk@15425 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-29 22:35:13 +00:00
mjudge%netscape.com
4521f79b15 adding editor to the build
git-svn-id: svn://10.0.0.236/trunk@15424 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-29 22:30:29 +00:00
mjudge%netscape.com
62a90ef301 updating to add editor as a directory
git-svn-id: svn://10.0.0.236/trunk@15423 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-29 22:20:42 +00:00
mjudge%netscape.com
fd249a3e63 adding editor to the build
git-svn-id: svn://10.0.0.236/trunk@15422 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-29 22:13:27 +00:00
mjudge%netscape.com
1822ec4f9e new rangelist.cpp file
git-svn-id: svn://10.0.0.236/trunk@15421 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-29 22:12:27 +00:00
mjudge%netscape.com
70a6c4541a need to make rangelist.cpp
git-svn-id: svn://10.0.0.236/trunk@15420 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-29 22:11:49 +00:00
mjudge%netscape.com
66cae3341e new rangelist factory needs to be registered
git-svn-id: svn://10.0.0.236/trunk@15419 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-29 22:11:06 +00:00
mjudge%netscape.com
4918390790 exporting nsIRangeList.h
git-svn-id: svn://10.0.0.236/trunk@15418 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-29 22:02:50 +00:00
mjudge%netscape.com
166ae39262 export nsIDOMRange.h
git-svn-id: svn://10.0.0.236/trunk@15417 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-29 22:00:46 +00:00
mjudge%netscape.com
fe47a3bb8e tabbing
git-svn-id: svn://10.0.0.236/trunk@15416 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-29 21:59:52 +00:00
msw%gimp.org
cd5658de00 Fixed broken Unix build. Approved by shaver@netscape.com
git-svn-id: svn://10.0.0.236/trunk@15415 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-29 21:13:19 +00:00
rickg%netscape.com
11a2e32bd8 fixed bug #1070
git-svn-id: svn://10.0.0.236/trunk@15414 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-29 19:52:55 +00:00
locka%iol.ie
1f6de8dc3c Updated to use CControlSite - a homegrown control site class
git-svn-id: svn://10.0.0.236/trunk@15413 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-29 18:33:31 +00:00
locka%iol.ie
4d246212e5 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@15412 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-29 18:08:59 +00:00
locka%iol.ie
42c2b7310a Added NS_INIT_REFCNT() to constructor
git-svn-id: svn://10.0.0.236/trunk@15411 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-29 18:06:34 +00:00
locka%iol.ie
fb503f3bd5 Added ControlSite.cpp & ControlSite.h
git-svn-id: svn://10.0.0.236/trunk@15410 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-29 18:05:04 +00:00
locka%iol.ie
a0b2f4d68b Implemented IOleCommandTarget and stubs for printing support
git-svn-id: svn://10.0.0.236/trunk@15409 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-29 18:03:43 +00:00
locka%iol.ie
03ee7d87c7 First working version
git-svn-id: svn://10.0.0.236/trunk@15408 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-29 17:59:46 +00:00
vidur%netscape.com
bf493acab1 Added nsDocumentFragment to build. Fixed bug 1256 - the content sink is flushed as soon as it encounters a script tag.
git-svn-id: svn://10.0.0.236/trunk@15407 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-28 23:51:06 +00:00
ramiro%netscape.com
e7ca2be12c Renamed the viewer from 'main' to 'viewer'
git-svn-id: svn://10.0.0.236/trunk@15404 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-28 22:18:24 +00:00
karnaze%netscape.com
7455cb021a changed frameset layout algorithm. fixed bugs 728, 1075, 1494 and half of 1486
git-svn-id: svn://10.0.0.236/trunk@15399 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-28 18:59:38 +00:00
morse%netscape.com
508b2fc134 fix single-signon problems
git-svn-id: svn://10.0.0.236/trunk@15398 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-28 17:19:38 +00:00
morse%netscape.com
bf3fc1efe8 fix single-signon problem
git-svn-id: svn://10.0.0.236/trunk@15397 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-28 17:16:47 +00:00
shaver%netscape.com
6486c53a49 Added NPL everywhere (ooops!).
Handle enums.
Output idents properly in IDL comments.


git-svn-id: svn://10.0.0.236/trunk@15396 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-28 16:52:24 +00:00
michaelp%netscape.com
1428cec472 fixed memory leak.
git-svn-id: svn://10.0.0.236/trunk@15391 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-28 04:24:46 +00:00
michaelp%netscape.com
19eb838ffd fixed resource leak.
git-svn-id: svn://10.0.0.236/trunk@15390 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-28 04:24:15 +00:00
michaelp%netscape.com
84bebdcae2 fixed duplicate resource free.
git-svn-id: svn://10.0.0.236/trunk@15389 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-28 04:23:23 +00:00
michaelp%netscape.com
ce13283356 added missing NS_INIT_REFCNT().
git-svn-id: svn://10.0.0.236/trunk@15388 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-28 04:21:40 +00:00
msw%gimp.org
0c74cc81dc Unhorked Unix non-editor build.
git-svn-id: svn://10.0.0.236/trunk@15387 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-28 03:28:39 +00:00
mjudge%netscape.com
6c6a833e89 modifying
git-svn-id: svn://10.0.0.236/trunk@15385 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-28 01:46:56 +00:00
mjudge%netscape.com
0df2af35fe ok this will break the editor, I will have to learn how to register the IIDs of the editor in the registry!!
git-svn-id: svn://10.0.0.236/trunk@15384 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-28 01:42:51 +00:00
mjudge%netscape.com
6fffbd0142 removed non production code
git-svn-id: svn://10.0.0.236/trunk@15383 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-28 01:28:00 +00:00
mjudge%netscape.com
7410278224 updating the editor public dir. must change all access methods now
git-svn-id: svn://10.0.0.236/trunk@15382 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-28 01:20:24 +00:00
mjudge%netscape.com
19263c1621 just broke the mac build. I will tell jfrancis!
git-svn-id: svn://10.0.0.236/trunk@15381 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-28 01:19:53 +00:00
shaver%netscape.com
d9379bb5ea Error message cleanups, including insertion of line/file info in initial
buffer, to make errors give correct line-number data.
Strip comments.  (Still need to handle doc comments correctly.)


git-svn-id: svn://10.0.0.236/trunk@15379 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-27 16:39:45 +00:00
kipp%netscape.com
5390fd74b1 Disabled the timebomb on the tip
git-svn-id: svn://10.0.0.236/trunk@15378 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-27 15:54:14 +00:00
shaver%netscape.com
88c5dff3d3 Updated README now includes Win32 libIDL/glib URLs, and mention of msw's
GTK+/glib 1.1.5.
Generate #includes for interfaces to which we refer.
Output inheritance data.
Switch to PRUnichar * for wstring, and char * for string.
in params that become pointer types get const'd.


git-svn-id: svn://10.0.0.236/trunk@15377 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 21:03:03 +00:00
mcafee%netscape.com
e7e4e89ca6 Adding support for Rhapsody
git-svn-id: svn://10.0.0.236/trunk@15374 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 19:47:01 +00:00
scc%netscape.com
6b8ab9fbf3 Final changes to be used in production code (though currently only allowed in Composer module). Stripped tabs, replaced with spaces; made internal macro prefix; some final naming decisions (s/func/getter/). Good luck Composer team.
git-svn-id: svn://10.0.0.236/trunk@15373 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 19:28:42 +00:00
kipp%netscape.com
c98e60be06 Port to revised pres-context API
git-svn-id: svn://10.0.0.236/trunk@15372 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 18:14:41 +00:00
kipp%netscape.com
12f3900c32 Fixed to not subtract out borders/padding when unconstrained height reflow is occuring
git-svn-id: svn://10.0.0.236/trunk@15371 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 18:14:17 +00:00
kipp%netscape.com
90deabb695 disabled another printf; use web-shell destroy to properly whack the sub-webshell
git-svn-id: svn://10.0.0.236/trunk@15370 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 18:13:13 +00:00
kipp%netscape.com
fd2798ed60 Compute combined area properly
git-svn-id: svn://10.0.0.236/trunk@15369 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 18:11:23 +00:00
kipp%netscape.com
ebb0b9f0d8 Fixed verify reflow to avoid creating reflow commands during a verify reflow
git-svn-id: svn://10.0.0.236/trunk@15368 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 18:11:02 +00:00
kipp%netscape.com
03e51bc9c4 XPCOMized more of the API; added new operator to avoid future bugs; implement Stop method
git-svn-id: svn://10.0.0.236/trunk@15367 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 18:10:10 +00:00
kipp%netscape.com
76c0c7a5e2 XPCOMize more of the API; added Stop method
git-svn-id: svn://10.0.0.236/trunk@15366 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 18:08:44 +00:00
kipp%netscape.com
5f76ab669f whitespace tweak
git-svn-id: svn://10.0.0.236/trunk@15365 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 18:08:27 +00:00
kipp%netscape.com
8e9a8f6894 Removed bogus include
git-svn-id: svn://10.0.0.236/trunk@15364 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 18:08:08 +00:00
kipp%netscape.com
444a1435da Hide some noise; pass on Stop to content-viewer
git-svn-id: svn://10.0.0.236/trunk@15363 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 18:06:47 +00:00
kipp%netscape.com
4a22e5141c XPCOMize API; added Stop method
git-svn-id: svn://10.0.0.236/trunk@15362 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 18:06:25 +00:00
kipp%netscape.com
d9b72da670 Removed duplicate init
git-svn-id: svn://10.0.0.236/trunk@15361 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 18:06:08 +00:00
kipp%netscape.com
90be7a9a74 XPCOMize the methods; added Stop
git-svn-id: svn://10.0.0.236/trunk@15360 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 18:03:42 +00:00
kipp%netscape.com
2a73c19d2a Expose WalkTheStack
git-svn-id: svn://10.0.0.236/trunk@15359 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 18:03:20 +00:00
peterl%netscape.com
983d848263 made css style sheet public (for mac)
git-svn-id: svn://10.0.0.236/trunk@15357 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 05:17:03 +00:00
peterl%netscape.com
924bee3843 removed processimport
git-svn-id: svn://10.0.0.236/trunk@15356 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 05:16:43 +00:00
peterl%netscape.com
acd26bce38 added media support to @import
git-svn-id: svn://10.0.0.236/trunk@15355 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 05:16:22 +00:00
peterl%netscape.com
8c5f87d7f3 backed out previous change
git-svn-id: svn://10.0.0.236/trunk@15354 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 04:54:11 +00:00
peterl%netscape.com
721a073075 deal with const issues on unix compilers
git-svn-id: svn://10.0.0.236/trunk@15353 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 04:53:49 +00:00
rickg%netscape.com
f163d7e8e4 also enabled better null document support
git-svn-id: svn://10.0.0.236/trunk@15352 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 04:14:06 +00:00
peterl%netscape.com
c9ab26763f hopefully fixed build bustage
git-svn-id: svn://10.0.0.236/trunk@15351 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 04:07:58 +00:00
rickg%netscape.com
327d9295a8 removed non-essential DTD calls
git-svn-id: svn://10.0.0.236/trunk@15350 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 04:04:08 +00:00
peterl%netscape.com
40dcb95b43 fix unix build
git-svn-id: svn://10.0.0.236/trunk@15349 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 03:45:50 +00:00
rickg%netscape.com
77f4a49baa cleaned up DTD api's
git-svn-id: svn://10.0.0.236/trunk@15348 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 03:35:24 +00:00
rickg%netscape.com
56aaafad6f removed unnecessary API's
git-svn-id: svn://10.0.0.236/trunk@15347 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 03:21:55 +00:00
rickg%netscape.com
76329e0097 improvements to recursive parser calls
git-svn-id: svn://10.0.0.236/trunk@15346 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 02:56:40 +00:00
rickg%netscape.com
78d79cf0d2 improvements to recursively parser calls
git-svn-id: svn://10.0.0.236/trunk@15345 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 02:55:59 +00:00
peterl%netscape.com
8907fc654c removed simple rule, added unknown rule
git-svn-id: svn://10.0.0.236/trunk@15344 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 02:32:48 +00:00
sar%netscape.com
ce37c3484b backing out akkana's changes. this will fix build bustage on the mac
git-svn-id: svn://10.0.0.236/trunk@15343 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 02:30:44 +00:00
peterl%netscape.com
383116acf6 style change notification support
git-svn-id: svn://10.0.0.236/trunk@15337 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 01:34:53 +00:00
peterl%netscape.com
eb0e68e55b handle whitespace in url() better
git-svn-id: svn://10.0.0.236/trunk@15336 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 01:30:51 +00:00
peterl%netscape.com
8bf6a015e5 connected style sheet better (added content node & properties)
git-svn-id: svn://10.0.0.236/trunk@15335 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 01:29:10 +00:00
peterl%netscape.com
39e7ccb9fc added change notification support
git-svn-id: svn://10.0.0.236/trunk@15334 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 01:24:52 +00:00
peterl%netscape.com
6504e8fe4b added style sheet properties
git-svn-id: svn://10.0.0.236/trunk@15333 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 01:24:32 +00:00
peterl%netscape.com
09bc113e28 fixed bug in font family enumeration
git-svn-id: svn://10.0.0.236/trunk@15332 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 01:22:04 +00:00
law%netscape.com
3f61274bf3 Fixed 'Phonebook' button and stripped out some stuff from non-debug version to save space
git-svn-id: svn://10.0.0.236/trunk@15331 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 01:21:46 +00:00
peterl%netscape.com
0b40994da0 made text decorations minimum size of 1 pixel
git-svn-id: svn://10.0.0.236/trunk@15330 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 01:21:22 +00:00
peterl%netscape.com
bf2d444100 updated to new version of CSSOM interfaces
git-svn-id: svn://10.0.0.236/trunk@15329 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 01:20:04 +00:00
peterl%netscape.com
226561ff6f new CSSOM interfaces
git-svn-id: svn://10.0.0.236/trunk@15328 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 01:18:57 +00:00
peterl%netscape.com
f7d360a0f0 made pointer conversion more friendly to const methods
git-svn-id: svn://10.0.0.236/trunk@15327 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 01:18:21 +00:00
beard%netscape.com
553570efc5 Consistent spacing
git-svn-id: svn://10.0.0.236/trunk@15326 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 00:21:54 +00:00
akkana%netscape.com
fcc377cf71 Implementation of the easy parts
git-svn-id: svn://10.0.0.236/trunk@15325 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 23:20:29 +00:00
wtc%netscape.com
a374e6bf4c Bugzilla bug #1664: removed an unnecessary strdup call in
NSGetSharedLibrary.  Thanks to Patrick Beard <beard@netscape.com>
for the bug report.


git-svn-id: svn://10.0.0.236/trunk@15322 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 22:25:21 +00:00
rickg%netscape.com
e01fa50744 changed startup URL
git-svn-id: svn://10.0.0.236/trunk@15321 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 22:00:24 +00:00
law%netscape.com
61fb09f59b Disable inoperative stuff
git-svn-id: svn://10.0.0.236/trunk@15320 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 21:23:02 +00:00
wtc%netscape.com
577817af39 Removed -D_PR_NEED_FAKE_POLL from FreeBSD.mk and NEXTSTEP.mk. This
macro is defined internally.
In _freebsd.h, include poll.h if poll is available.
Thanks to Jeremy Lea <reg@shale.csir.co.za> for suggesting the patches.


git-svn-id: svn://10.0.0.236/trunk@15319 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 21:01:14 +00:00
rickg%netscape.com
7b9a495531 changed top 100 sites to Test Sites
git-svn-id: svn://10.0.0.236/trunk@15315 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 20:28:27 +00:00
shaver%netscape.com
9e45f0515d make Makefiles for xpidl
git-svn-id: svn://10.0.0.236/trunk@15314 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 20:03:57 +00:00
mcafee%netscape.com
825e28958b Added mhanni@sprintmail.com's suggestion as a comment, pending someone finding out of this works
git-svn-id: svn://10.0.0.236/trunk@15313 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 20:02:26 +00:00
shaver%netscape.com
2bc42328ed Added support for char, wchar and wstring types.
Fixed long long nits.
Make methods pure virtual.
Use pointers and not references.
Remove useless header.c.


git-svn-id: svn://10.0.0.236/trunk@15312 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 19:12:50 +00:00
kipp%netscape.com
b31f7790b2 new
git-svn-id: svn://10.0.0.236/trunk@15311 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 19:07:17 +00:00
locka%iol.ie
03d6a73a56 Added IOleCommandTarget
git-svn-id: svn://10.0.0.236/trunk@15310 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 18:54:07 +00:00
buster%netscape.com
79920f1ff6 2 Nav4 compatibility additions:
1. width=0 is treated as width=auto, not width=min
2. empty cells <td></td> are assigned a width of (2*borderWidth + 2*cellspacing + 3) pixels
The "3" is a fudge factor added by Nav and IE.


git-svn-id: svn://10.0.0.236/trunk@15309 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 18:43:56 +00:00
kipp%netscape.com
246dfaaf94 Removed related-links menu from windows
git-svn-id: svn://10.0.0.236/trunk@15308 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 18:42:47 +00:00
kipp%netscape.com
d09b42a9e1 Brought verify-reflow back to life
git-svn-id: svn://10.0.0.236/trunk@15307 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 18:41:02 +00:00
karnaze%netscape.com
e0d2e68693 fixed the crash on bug 1588 (rsac.org). There is still a scrolling problem
git-svn-id: svn://10.0.0.236/trunk@15306 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 18:11:26 +00:00
shaver%netscape.com
f8cfaf6d4d revert pavlov's changes at his request
git-svn-id: svn://10.0.0.236/trunk@15305 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 17:50:35 +00:00
kipp%netscape.com
8e7b6b1767 Fixed IsScrollable to take an extra argument so that we would only create scroll-frames around blocks using the webshells criteria if it's the body frame (bug #1608)
git-svn-id: svn://10.0.0.236/trunk@15304 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 16:41:06 +00:00
pavlov%pavlov.net
3b39f6e3df remove my last commit. these caused more bugs than they were intended to
catch


git-svn-id: svn://10.0.0.236/trunk@15303 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 12:51:53 +00:00
cltbld%netscape.com
ef49d0fb32 fix checkout of nsprpub. -D negates tag call, so dir wasn't being pulled. this should fix build bustage too.
git-svn-id: svn://10.0.0.236/trunk@15296 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 08:15:02 +00:00
vidur%netscape.com
ebef0f10a9 New class nsDocumentFragment
git-svn-id: svn://10.0.0.236/trunk@15295 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 08:14:47 +00:00
cyeh%netscape.com
574bba6b75 oooops. back out everything by commenting it out until i can fix
it next week.


git-svn-id: svn://10.0.0.236/trunk@15294 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 05:48:38 +00:00
shaver%netscape.com
c1a29cb53b C++ class decls need a semicolon
git-svn-id: svn://10.0.0.236/trunk@15293 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 04:54:02 +00:00
shaver%netscape.com
3b8e66c9f3 Added input callback, in preparation for autogenerating __declspec(inhibit)
and doing the doc comment thing.
Generate method declarations.
More stdout -> state->file fixes.


git-svn-id: svn://10.0.0.236/trunk@15292 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 04:19:59 +00:00
kipp%netscape.com
7d4fb7d8d3 Fixed compilation bug with method signature not matching baseclass method
git-svn-id: svn://10.0.0.236/trunk@15291 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 04:14:55 +00:00
michaelp%netscape.com
05a6bdf469 fixed bug where computing *need* for vert/horz scrollbar did not take into
account the fact that there might be a need for the other scrollbar too.
it used to be that if it knew that it *did* need a vert/horz scrollbar it
would take the other one into account properly. it was just in making the
initial decision that there was an error.


git-svn-id: svn://10.0.0.236/trunk@15290 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 03:32:00 +00:00
cyeh%netscape.com
68cda70ad6 make it so that if it can't actually find the talkback lib, it fails.
previously, if it didn't fail properly


git-svn-id: svn://10.0.0.236/trunk@15289 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 03:16:59 +00:00
cyeh%netscape.com
98e35964f3 added mozilla/lib/mac/PowerPlant to RaptorMac
git-svn-id: svn://10.0.0.236/trunk@15288 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 03:08:13 +00:00
michaelp%netscape.com
db5101c6cd fixed non-painting controls on certain resize operations in xpviewer.
git-svn-id: svn://10.0.0.236/trunk@15287 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 02:52:04 +00:00
akkana%netscape.com
09aa40f079 Fix C++ comment for Irix build
git-svn-id: svn://10.0.0.236/trunk@15286 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 02:50:20 +00:00
rickg%netscape.com
dc71142bfc change Parse(nsString&...) so that an empy string doesn't start process
git-svn-id: svn://10.0.0.236/trunk@15285 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 02:41:17 +00:00
pavlov%pavlov.net
026c0325c1 fix twipstopixels and got the scrollbars being sized correctly.
git-svn-id: svn://10.0.0.236/trunk@15284 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 02:35:59 +00:00
pavlov%pavlov.net
bef2cc3023 updated gtklayout code. Added lots of assertions to the widget code
git-svn-id: svn://10.0.0.236/trunk@15283 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 02:34:40 +00:00
rickg%netscape.com
463a920a7c changed the default start page, yet again
git-svn-id: svn://10.0.0.236/trunk@15282 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 02:19:58 +00:00
rickg%netscape.com
988e0eb906 fixed bugs 1203, 1067, 1169, 1125, 647
git-svn-id: svn://10.0.0.236/trunk@15281 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 02:19:22 +00:00
jfrancis%netscape.com
026c88790f added nsIDOMRange.h
git-svn-id: svn://10.0.0.236/trunk@15280 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 01:38:46 +00:00
jfrancis%netscape.com
f090f81a9f removing the accidentally copied "AUTOGENERATED - Do Not Edit" warning
git-svn-id: svn://10.0.0.236/trunk@15279 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 01:34:59 +00:00
jfrancis%netscape.com
162d8e834d added nsRange.cpp
git-svn-id: svn://10.0.0.236/trunk@15278 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 01:22:35 +00:00
jfrancis%netscape.com
9bf4a9e3bf cleanup
git-svn-id: svn://10.0.0.236/trunk@15277 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 01:21:42 +00:00
jfrancis%netscape.com
1d7e344048 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@15276 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 00:33:59 +00:00
locka%iol.ie
7082061c64 Added ControlSite.cpp
git-svn-id: svn://10.0.0.236/trunk@15275 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 00:13:12 +00:00
locka%iol.ie
85d4e7103e Added header notice
git-svn-id: svn://10.0.0.236/trunk@15274 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 00:06:22 +00:00
locka%iol.ie
65b4fc67fc Added BeforeNavigate2 and NavigateComplete2 event firing
git-svn-id: svn://10.0.0.236/trunk@15273 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 00:03:28 +00:00
locka%iol.ie
67d6bba8c1 ActiveX control site
git-svn-id: svn://10.0.0.236/trunk@15272 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-25 00:01:44 +00:00
shaver%netscape.com
04135aee13 Generate getter/setter/`is'er for attributes.
Report errors (and warnings).
Send output to state->file properly, instead of stdout (although state->file
is always stdout right now!).


git-svn-id: svn://10.0.0.236/trunk@15271 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 23:16:49 +00:00
locka%iol.ie
ab8c795267 Fixed mistyped macro
git-svn-id: svn://10.0.0.236/trunk@15270 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 22:44:35 +00:00
law%netscape.com
360079e452 Adding program icon
git-svn-id: svn://10.0.0.236/trunk@15269 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 22:15:40 +00:00
kipp%netscape.com
2121f2be81 Fixed the bleeping build
git-svn-id: svn://10.0.0.236/trunk@15268 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 21:33:18 +00:00
cyeh%netscape.com
8d254d5529 add support for fullcircle libraries and headers
git-svn-id: svn://10.0.0.236/trunk@15267 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 21:27:42 +00:00
akkana%netscape.com
ad57b60bfc Add include line
git-svn-id: svn://10.0.0.236/trunk@15266 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 21:24:40 +00:00
akkana%netscape.com
9e0660d38e Implementation file for nsIDOMRange
git-svn-id: svn://10.0.0.236/trunk@15265 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 21:20:11 +00:00
law%netscape.com
623ee9b222 Fix for ss: bug #1444) nsBrowserWindow.cpp
git-svn-id: svn://10.0.0.236/trunk@15264 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 21:17:41 +00:00
joki%netscape.com
3ad8c4966f Implement document.URL access
git-svn-id: svn://10.0.0.236/trunk@15263 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 21:07:43 +00:00
buster%netscape.com
0f72cc9354 removed debug output
git-svn-id: svn://10.0.0.236/trunk@15262 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 20:40:43 +00:00
joki%netscape.com
f6295e142b Add missing coordinate transform to getFrameForPoint
git-svn-id: svn://10.0.0.236/trunk@15261 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 20:31:21 +00:00
rickg%netscape.com
4102309f80 fixed bug #1203
git-svn-id: svn://10.0.0.236/trunk@15260 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 20:23:46 +00:00
akkana%netscape.com
25c035a6d5 range shouldn't inherit from node
git-svn-id: svn://10.0.0.236/trunk@15259 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 19:58:40 +00:00
jfrancis%netscape.com
10b78cb8ec First Checked In.
git-svn-id: svn://10.0.0.236/trunk@15258 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 19:43:21 +00:00
buster%netscape.com
37ca805909 bug 1520 (www.mirabilis.com)
the problem was the way table layout apportioned height from a rowspanning cell.
Now, we do 2 things correctly:
1) we handle rows with rowspanning cells and no other cells.
2) we divide the height of a rowspanning cell proportionately to the rows spanned, where the proportion is defined by
the max height of a cell in that row that has no effective rowspan.

the partial fix for bug 1431 has to do with dividing width between percent-width and fixed-width columns in the same
table. You won't see any better layout for this page (ww.boston.com) as a result of the code I added.  The rest of this
fix is a bit risky, so I'm waiting until after stability push.


git-svn-id: svn://10.0.0.236/trunk@15257 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 19:41:33 +00:00
mjudge%netscape.com
5aee685650 changing makefiles to build test apps on win32
git-svn-id: svn://10.0.0.236/trunk@15256 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 19:26:45 +00:00
karnaze%netscape.com
dbdc6ce081 fixed bug 1504 (memory leak of select elements)
git-svn-id: svn://10.0.0.236/trunk@15254 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 18:54:26 +00:00
cyeh%netscape.com
318d1c5621 change to pull mozilla/modules/libpref from the tip instead of XPCOM_BRANCH
change to pull mozilla/nsprpub from NSPR_RELEASE_3_0 tag
Fix stop ship bug #1577, approved kipp


git-svn-id: svn://10.0.0.236/trunk@15253 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 18:16:41 +00:00
rods%netscape.com
da0a53c2df Added paint method for printing (and possible future owner draw)
git-svn-id: svn://10.0.0.236/trunk@15252 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 14:57:09 +00:00
rpotts%netscape.com
7964c78293 removed invalid asserts for the STANDALONE_IMAGELIB...
git-svn-id: svn://10.0.0.236/trunk@15235 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 10:55:53 +00:00
joki%netscape.com
f87bae1385 ifdef out some broken code in SetActiveLink until I have time to fix it.
git-svn-id: svn://10.0.0.236/trunk@15234 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 08:13:55 +00:00
joki%netscape.com
765dbfd39b Add click event support for every element and initial keypress event support
git-svn-id: svn://10.0.0.236/trunk@15233 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 07:46:58 +00:00
joki%netscape.com
bab0e9e908 Add keypress event type to nsGUIEvent
git-svn-id: svn://10.0.0.236/trunk@15232 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 07:45:26 +00:00
joki%netscape.com
24bd25bf39 Have javascript call regular alert instead of dumping to console.
git-svn-id: svn://10.0.0.236/trunk@15231 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 07:44:39 +00:00
akkana%netscape.com
a4563a7a82 Add Range object
git-svn-id: svn://10.0.0.236/trunk@15230 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 03:06:53 +00:00
pavlov%pavlov.net
618f017f6a fixed my assertions
git-svn-id: svn://10.0.0.236/trunk@15229 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 02:43:07 +00:00
rickg%netscape.com
10d57d98ad fixed call to ToInteger() to respect the error code
git-svn-id: svn://10.0.0.236/trunk@15228 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 02:39:36 +00:00
rickg%netscape.com
7dbb22e801 fixed bug 1312
git-svn-id: svn://10.0.0.236/trunk@15227 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 02:38:50 +00:00
rickg%netscape.com
69aa236de9 changed ToInteger() so that it returns an error properly
git-svn-id: svn://10.0.0.236/trunk@15226 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 02:38:21 +00:00
joki%netscape.com
196391fbbd Send a reasonable value for the JS useragent on Windows.
git-svn-id: svn://10.0.0.236/trunk@15225 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 02:29:46 +00:00
rpotts%netscape.com
c87e4a1883 Added a missing NS_RELEASE which was causing the URL and webshell to hang around...
git-svn-id: svn://10.0.0.236/trunk@15224 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 02:07:27 +00:00
pavlov%pavlov.net
1da1e5ae82 import of new gtk code by Owen Taylor <otaylor@redhat.com>. This code should
support GTK_NO_WINDOW widgets now.


git-svn-id: svn://10.0.0.236/trunk@15223 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 02:06:29 +00:00
karnaze%netscape.com
b8beac0eaf <frame> now uses <base> for its src attribute
git-svn-id: svn://10.0.0.236/trunk@15222 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 02:01:45 +00:00
wtc%netscape.com
d769d9c9c4 _MD_FreeSegment should call free (instead of DisposePtr) to deallocate
the memory allocated by _MD_AllocSegment using malloc.  Thanks to
Simon Fraser <sfraser@netscape.com> for the bug report and fix.


git-svn-id: svn://10.0.0.236/trunk@15221 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 01:59:41 +00:00
kipp%netscape.com
c863d7b29b made it easier to see if the parser is working
git-svn-id: svn://10.0.0.236/trunk@15220 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 01:48:04 +00:00
kipp%netscape.com
9e72a38944 Made the test work again
git-svn-id: svn://10.0.0.236/trunk@15219 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 01:47:44 +00:00
kipp%netscape.com
0ddab1d0ce Use Pushback to put back the right character
git-svn-id: svn://10.0.0.236/trunk@15218 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 01:47:19 +00:00
kipp%netscape.com
e2045ab733 new regression test
git-svn-id: svn://10.0.0.236/trunk@15217 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 01:43:46 +00:00
akkana%netscape.com
1b25d1e7f2 Range specification
git-svn-id: svn://10.0.0.236/trunk@15216 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 01:39:47 +00:00
pavlov%pavlov.net
dbd7561c05 Added assertions to the gfx code so that we can find xp bugs easier
git-svn-id: svn://10.0.0.236/trunk@15215 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 01:32:12 +00:00
wtc%netscape.com
f9841381ad Fixed a bug in Mac's PR_IntervalNow() and PR_TicksPerSecond(). A
tick is one millisecond on the Mac.
Files changed: _macos.h, mactime.c.
Also removed a temporary comment-out in prinrval.c.


git-svn-id: svn://10.0.0.236/trunk@15214 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 01:31:07 +00:00
larryh%netscape.com
ad35ad2b55 BugSplat 335862
git-svn-id: svn://10.0.0.236/trunk@15213 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 01:26:00 +00:00
despotdaemon%netscape.com
831f12aaec Pseudo-automatic update of changes made by namachi@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@15212 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 01:10:34 +00:00
cyeh%netscape.com
49dfdd1b63 activate timebomb for technology demonstration.
THIS NEEDS TO BE REMOVED LATER


git-svn-id: svn://10.0.0.236/trunk@15211 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 01:08:47 +00:00
despotdaemon%netscape.com
46472d8f2f Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@15209 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 00:53:48 +00:00
kin%netscape.com
42d0fcd52b Modified transaction manager to use nsTransactionStacks.
git-svn-id: svn://10.0.0.236/trunk@15208 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 00:45:21 +00:00
kin%netscape.com
5a539f9ae2 Added nsTransactionStack.cpp to list of files to build.
git-svn-id: svn://10.0.0.236/trunk@15206 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 00:44:29 +00:00
kin%netscape.com
e7f3da5c59 Initial checkin of file.
git-svn-id: svn://10.0.0.236/trunk@15205 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 00:43:31 +00:00
jfrancis%netscape.com
45589e7d34 keeping the mac in synch
git-svn-id: svn://10.0.0.236/trunk@15204 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 00:28:20 +00:00
jfrancis%netscape.com
853b4f59e4 fixing compilation errors
git-svn-id: svn://10.0.0.236/trunk@15203 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 00:26:32 +00:00
wtc%netscape.com
60608cd6ce Temporarily ifdef out assertions for the Mac while I debug the
problem.


git-svn-id: svn://10.0.0.236/trunk@15202 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 00:25:25 +00:00
jfrancis%netscape.com
4add115a39 fixing include file typo
git-svn-id: svn://10.0.0.236/trunk@15201 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 00:19:41 +00:00
mcafee%netscape.com
c56fa67994 Added -DMOZ_FULLCIRCLE logic for release builds
git-svn-id: svn://10.0.0.236/trunk@15200 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 00:16:43 +00:00
kipp%netscape.com
35d1ba3e17 Made IFRAME a container (like it should have been) so that it can contain the content that isn't being rendered (because we support iframe's)
git-svn-id: svn://10.0.0.236/trunk@15198 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 00:11:54 +00:00
mcafee%netscape.com
fe8fbe0ec3 Fixing include directory for fullcircle stuff
git-svn-id: svn://10.0.0.236/trunk@15197 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 00:09:29 +00:00
michaelp%netscape.com
6313915e19 reduced scollbar flashing.
git-svn-id: svn://10.0.0.236/trunk@15196 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 00:06:46 +00:00
michaelp%netscape.com
6ca45d2e06 backout changes i didn't want to commit.
git-svn-id: svn://10.0.0.236/trunk@15195 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 23:50:17 +00:00
michaelp%netscape.com
ddee55a0ed fixed display of black or garbage when resizing scrolled scrollingviews.
git-svn-id: svn://10.0.0.236/trunk@15194 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 23:43:08 +00:00
pavlov%pavlov.net
6f3d289878 remove shadow from menubar to provide a consistant look.
git-svn-id: svn://10.0.0.236/trunk@15193 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 23:41:47 +00:00
pavlov%pavlov.net
94dd42f645 require gtk 1.1.5
git-svn-id: svn://10.0.0.236/trunk@15190 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 23:41:29 +00:00
rickg%netscape.com
6752d7e6e3 changed start page per chofmann's request
git-svn-id: svn://10.0.0.236/trunk@15189 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 23:22:34 +00:00
rickg%netscape.com
30087fabde fixed bug #1513
git-svn-id: svn://10.0.0.236/trunk@15188 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 23:11:22 +00:00
buster%netscape.com
3c5a5e590a changed the logic for reflowing cells whose height is changed due to a
height attribute.


git-svn-id: svn://10.0.0.236/trunk@15187 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 23:07:40 +00:00
vidur%netscape.com
13c578a455 Allow application/x-javascript for type in SCRIPT tags
git-svn-id: svn://10.0.0.236/trunk@15186 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 23:06:57 +00:00
mcafee%netscape.com
1d466b186a Printing out FCInitialize status for debugging, hope that's Ok.
git-svn-id: svn://10.0.0.236/trunk@15185 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 23:04:04 +00:00
sman%netscape.com
31ef51dc4c fixed instructions
git-svn-id: svn://10.0.0.236/trunk@15184 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 22:55:32 +00:00
mcafee%netscape.com
171e0d2d6c Printing out FCInitialize status for debugging, hope that's Ok.
git-svn-id: svn://10.0.0.236/trunk@15183 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 22:22:39 +00:00
kipp%netscape.com
8c86fef2cd Let style override the cursor choice when using an image map
git-svn-id: svn://10.0.0.236/trunk@15182 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 22:21:13 +00:00
kipp%netscape.com
bf83ca5a6e Walk up the content-parent so that style is applied appropriately for cursor selection
git-svn-id: svn://10.0.0.236/trunk@15181 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 22:20:50 +00:00
mjudge%netscape.com
39745ca900 build breakage... oops
git-svn-id: svn://10.0.0.236/trunk@15180 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 22:02:18 +00:00
mjudge%netscape.com
bc6f9c5357 adding contextloader
git-svn-id: svn://10.0.0.236/trunk@15179 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 22:00:55 +00:00
mjudge%netscape.com
65c64c5a3f context loader will be used for keybindings
git-svn-id: svn://10.0.0.236/trunk@15178 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 22:00:29 +00:00
mjudge%netscape.com
f288875f23 putting in changes for selection in editor. fixing problem akkana has had?
git-svn-id: svn://10.0.0.236/trunk@15177 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 21:53:14 +00:00
wtc%netscape.com
e5315cfb95 Handle the sa_len field of struct sockaddr correctly on platforms
whose struct sockaddr has that field.  Thanks to Bert Driehuis
<driehuis@playbeing.org> for suggesting this fix.


git-svn-id: svn://10.0.0.236/trunk@15176 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 21:22:07 +00:00
wtc%netscape.com
084a0cbfd3 Added 'else true;" to the if statement in our shell scripts because
QNX's shell doesn't work correctly without it.


git-svn-id: svn://10.0.0.236/trunk@15175 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 21:20:38 +00:00
kipp%netscape.com
c454cd08ea Factored IsReplaced into a throw-away method; fixed containing-block discovery to use IsPercentageBase method
git-svn-id: svn://10.0.0.236/trunk@15174 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 21:11:57 +00:00
kipp%netscape.com
f308031baa Use correct reflow-state to find the containing-block's width for text-indent (bug #1048)
git-svn-id: svn://10.0.0.236/trunk@15173 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 21:11:19 +00:00
shaver%netscape.com
a08a107a6d first xpidl stuff
git-svn-id: svn://10.0.0.236/trunk@15172 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 21:02:31 +00:00
kipp%netscape.com
e3e78619d0 Fixed up handling of form element attributes slightly to match navigators handling of ALIGN; this is compatible with nav/IE and with the HTML4 DTD (because ALIGN is deprecated)
git-svn-id: svn://10.0.0.236/trunk@15171 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 19:33:22 +00:00
leaf%mozilla.org
a556a33161 added mozilla/modules/softupdt to SeaMonkeyBrowser module
git-svn-id: svn://10.0.0.236/trunk@15170 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 19:28:06 +00:00
michaelp%netscape.com
fe7797d4be added STRICT to list of preprocessor macros.
git-svn-id: svn://10.0.0.236/trunk@15169 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 19:00:08 +00:00
kipp%netscape.com
11eb094755 Added code in to not consume events if the anchor has no HREF attribute. This prevents <A NAME=...> containers from eating events
git-svn-id: svn://10.0.0.236/trunk@15168 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 17:45:00 +00:00
karnaze%netscape.com
12cd5750b9 fixed bug 1479 (wsj.com crash)
git-svn-id: svn://10.0.0.236/trunk@15167 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 17:37:46 +00:00
danm%netscape.com
d413bc2696 tweak change from last rev, which was close, but misbehaved.
git-svn-id: svn://10.0.0.236/trunk@15166 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 17:34:50 +00:00
kipp%netscape.com
2571922a9d Added some debug noise (disabled by default) for image loading
git-svn-id: svn://10.0.0.236/trunk@15165 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 17:18:34 +00:00
kipp%netscape.com
9292a738ca Added some debug noise (disabled by default) for document creation
git-svn-id: svn://10.0.0.236/trunk@15164 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 17:18:08 +00:00
cls%seawood.org
8ec77484d4 Use MOZ_USER_DIR since it's already setup.
git-svn-id: svn://10.0.0.236/trunk@15163 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 17:13:39 +00:00
cls%seawood.org
9882158615 Check for libraries before functions and fixed detection of -c -o problem. Thanks to Tim Rice <tim@trr.metro.NET> for pointing those out.
Modified hcc & hcpp to work for any compiler that doesn't support -c -o, not just Unixware.   They expect the real compiler to be the first argument now.


git-svn-id: svn://10.0.0.236/trunk@15162 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 17:12:39 +00:00
leaf%mozilla.org
5de60a0010 Whacked set-timebomb.pl to whack nsNetService.cpp to kill seamonkey's
networking.


git-svn-id: svn://10.0.0.236/trunk@15161 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 11:16:32 +00:00
vidur%netscape.com
097c7c3402 Partial fix for bug 1256. A script context should always be created for each new script global object.
git-svn-id: svn://10.0.0.236/trunk@15160 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 08:09:11 +00:00
rickg%netscape.com
ef03ca1113 improvements to entity parsing and viewing
git-svn-id: svn://10.0.0.236/trunk@15159 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 08:01:14 +00:00
wtc%netscape.com
e9708a17e4 A jumbo checkin, consisting of:
1. Ports to older revisions of some Unix variants, e.g., BSD/OS 1.1,
   OSF1 V2.0, etc., contributed by Brian Ostrom <briano@netscape.com>.
2. QNX port, also contributed by Brian Ostrom.
3. New macro USE_MACH_DYLD to represent the dynamic library loading
   API of NEXTSTEP and Rhapsody.
4. On platforms whose socket address has the sa_len field, make a
   copy of the PRNetAddr argument for PR_Bind, PR_Connect, and PR_SendTo
   and set its sa_len before passing it to the system calls.  This
   fix is suggested by Bert Driehuis <driehuis@playbeing.org>.
5. Removed the unused field _lockf64 of struct _MD_IOVector.  Not
   every Unix platform has lockf, and the POSIX file locking API
   uses fcntl.


git-svn-id: svn://10.0.0.236/trunk@15158 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 06:33:00 +00:00
mcafee%netscape.com
48478d4ef7 Switching to cvs module checkout, moved nspr checkout to nspr target.
git-svn-id: svn://10.0.0.236/trunk@15157 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 05:50:02 +00:00
troy%netscape.com
5b79c87173 Added missing NS_RELEASE() to GetWidget() function
git-svn-id: svn://10.0.0.236/trunk@15156 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 04:41:51 +00:00
mcafee%netscape.com
eaad124a3b Moving client.mk to SeaMonkeyBrowser, fixing nglayout.mk
git-svn-id: svn://10.0.0.236/trunk@15155 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 04:18:22 +00:00
buster%netscape.com
792b1982ba #ifdef NS_DEUG references to _CrtSetDbgFlag
git-svn-id: svn://10.0.0.236/trunk@15154 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 04:09:06 +00:00
troy%netscape.com
ea321d77ca Added some casts to make the 6.0 compiler happy
git-svn-id: svn://10.0.0.236/trunk@15153 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 03:43:49 +00:00
michaelp%netscape.com
b3420da9fc made the stars 'n comets animation the default for the throbber.
git-svn-id: svn://10.0.0.236/trunk@15152 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 03:30:24 +00:00
mcafee%netscape.com
5f9edfc930 Changes needed to build on Linux
git-svn-id: svn://10.0.0.236/trunk@15151 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 03:24:25 +00:00
michaelp%netscape.com
43576b4ce6 changed ::ReleaseDC() call in RealizeFont() key off of the same thing that
it used to conditionally call ::GetDC(). strictly speaking this change was
not necessary. i did it to make the code look a bit cleaner and accomodate
the situation where a device context is Init()ed with a null widget handle.
a device context of that sort is questionable, but that issue can be
addressed separately.


git-svn-id: svn://10.0.0.236/trunk@15150 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 03:14:38 +00:00
michaelp%netscape.com
c85498fefa fixed a bunch of resource leaks exposed by the xpviewer and made
HDC state propagation in SetupDC() more complete.


git-svn-id: svn://10.0.0.236/trunk@15149 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 03:12:16 +00:00
michaelp%netscape.com
f85fa148e2 changed for drawing surface HDC ownership setting.
git-svn-id: svn://10.0.0.236/trunk@15148 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 03:11:16 +00:00
michaelp%netscape.com
b4939bef55 added data member to drawing surface to determine HDC ownership.
git-svn-id: svn://10.0.0.236/trunk@15147 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 03:10:10 +00:00
law%netscape.com
d9a95dea3e Add reload button logic and reset home page
git-svn-id: svn://10.0.0.236/trunk@15146 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 02:32:32 +00:00
vidur%netscape.com
44b9de5c38 Fix for bug 940. location.href can take a relative URL.
git-svn-id: svn://10.0.0.236/trunk@15145 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 01:09:27 +00:00
raman%netscape.com
1adb26bf9e XP_COM interfaces for JS calls into CAPS
git-svn-id: svn://10.0.0.236/trunk@15144 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 00:27:00 +00:00
locka%iol.ie
eb5b6c8750 Implemented folder picker dialog
git-svn-id: svn://10.0.0.236/trunk@15142 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 00:03:58 +00:00
amusil%netscape.com
5445c054f5 Fix for Bug 1416. Moving the call of the plugin entry point into Initialize (after the mPluginManager is set up).
This is so that NPN calls can get resolved if the plugin makes them in the entry point routine.


git-svn-id: svn://10.0.0.236/trunk@15137 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-22 23:13:44 +00:00
165 changed files with 5324 additions and 50085 deletions

View File

@@ -1,80 +0,0 @@
#! gmake
#
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
#
#
# You need to have checked out the LDAP tree at the same level as ns
# in order to build LDAP.
#
LDAP_DEPTH = .
NSPR_TREE = ../nsprpub
MOD_DEPTH = ../nsprpub
DEPTH = ..
include $(NSPR_TREE)/config/rules.mk
all export:: FORCE
@if [ -d $(NSPR_TREE)/config ]; then \
cd $(NSPR_TREE)/config; \
$(MAKE); \
else \
echo "No NSPR directory found"; \
exit 0; \
fi
@if [ -d $(LDAP_DEPTH)/c-sdk/ldap ]; then \
cd $(LDAP_DEPTH)/c-sdk/ldap; \
$(MAKE) -f Makefile.client $(MFLAGS) export; \
else \
echo "No LDAP directory -- skipping"; \
exit 0; \
fi
libs install:: FORCE
@if [ -d $(LDAP_DEPTH)/c-sdk/ldap ]; then \
cd $(LDAP_DEPTH)/c-sdk/ldap; \
$(MAKE) -f Makefile.client $(MFLAGS) install; \
else \
echo "No LDAP directory -- skipping"; \
exit 0; \
fi
clean clobber:: FORCE
@if [ -d $(LDAP_DEPTH)/c-sdk/ldap ]; then \
cd $(LDAP_DEPTH)/c-sdk/ldap; \
$(MAKE) -f Makefile.client $(MFLAGS) clean; \
else \
echo "No LDAP directory -- skipping"; \
exit 0; \
fi
rm -rf ../dist
realclean clobber_all:: FORCE
@if [ -d $(LDAP_DEPTH)/c-sdk/ldap ]; then \
cd $(LDAP_DEPTH)/c-sdk/ldap; \
$(MAKE) -f Makefile.client $(MFLAGS) realclean; \
else \
echo "No LDAP directory -- skipping"; \
exit 0; \
fi
FORCE:

View File

@@ -1,154 +0,0 @@
======================================================================
NETSCAPE DIRECTORY SDK FOR C:
BUILD INSTRUCTIONS
Last updated: May 31, 1998
======================================================================
For information on the Netscape Directory SDK source release,
see http://www.mozilla.org/directory/
Unix/Linux Build Instructions
-----------------------------
System Requirements:
32MB of RAM, 128MB of swap, recommended 64MB of RAM.
Tool Requirements:
Native C compiler or GNU C/C++ compiler 2.7.2
(or a more recent version)
GNU make 3.74 or a more recent version
Instructions:
1. Uncompress and extract the source files by entering the
following command (or your preferred variant of this command):
gzip -dc <filename>.tar.gz | tar -xvf -
2. Set and unset the following environment variables.
In csh/tcsh:
setenv MOZILLA_CLIENT 1
setenv NO_MDUPDATE 1
setenv MOZ_LDAP_SDK 1
unsetenv MOZ_LI
unsetenv MOZ_LITE
unsetenv MOZ_MEDIUM
unsetenv NO_SECURITY
In sh/bash/ksh:
MOZILLA_CLIENT=1
NO_MDUPDATE=1
MOZ_LDAP_SDK=1
export MOZILLA_CLIENT NO_MDUPDATE MOZ_LDAP_SDK
unset MOZ_LI
unset MOZ_LITE
unset MOZ_MEDIUM
unset NO_SECURITY
3. Build the SDK by entering the following commands:
cd mozilla
gmake -f directory/ldapsdk.mk build
The SDK will be built and copied into the following directories:
mozilla/dist/public/ldap - header files
mozilla/dist/<architecture>/bin - LDAP API shared object/libraries
(libldap.so, liblber.so)
Windows Build Instructions
--------------------------
System Requirements:
Windows NT 3.51 or 4.0 (4.0 preferred).
Tool Requirements:
Microsoft Visual C++ version 4.2 or a more recent version
GNU Tools for Windows (you can find these on the Internet).
Specifically, you'll need:
cp.exe
rm.exe
Here are some sample download sites to find these:
Cygnus (http://www.cygnus.com/misc/gnu-win32)
GNU (http://www.gnu.org/order/ftp.html)
MIT (ftp://prep.ai.mit.edu/pub/gnu)
Netscape uses internally modified versions of the following tools:
gmake.exe
shmsdos.exe
uname.exe
You can download them from http://www.mozilla.org/download-mozilla.html
(click the Windows Build Tools link). When you unzip the file, the
tools will be located in the windows\bin\x86 directory.
Netscape-developed tools (makedep.exe, txt2rc.exe, waitfor.exe),
which are located in the mozilla\cmd\winfe\mkfiles32 directory
All of these tools need to be put in your path.
Extracting the Source Files:
The source files for the Directory C SDK are zipped in the file
ldap-c-sdk.zip. When unzipping the file, make sure to specify
that you want to preserve the directory structure. For example,
make sure that "Use Folder Names" is checked.
Instructions:
NOTE: Make sure to run the commands from a standard Windows NT
command prompt. Although you may be able to use other shells
to build the SDK, you may need to adjust the makefiles for
the shell that you are using.
1. Set the following environment variables (within the command session,
either manually or via a script), or within the system environment
through the Control Panel | System control panel):
set HOME=(your home directory)
set MOZ_BITS=32
set MOZ_DEBUG=1
set MOZ_GOLD=0
set MOZ_JAVA=0
set MOZ_NT=351 (if running NT 3.51, don't set otherwise)
set MOZ_SRC=(top of your source tree, drive letter and path.
For example, set MOZ_SRC=d:\mozilla_src, if the mozilla
directory is at d:\mozilla_src\mozilla.)
set MOZ_TOOLS=(location of the bin directory containing your
GNU tools. The build looks for MOZ_TOOLS\bin\gmake.exe,
so make sure that the MOZ_TOOLS environment variable
is set correctly.)
set PATH=%MOZ_TOOLS%\bin;%PATH%
set TEMP=(your temp directory)
set TMP=(your temp directory)
set VERBOSE=1
Unset the following environment variables:
set MOZ_LI=
set MOZ_LITE=
set MOZ_MEDIUM=
2. Enter the following commands to build the SDK:
cd mozilla\directory
nmake -f ldapsdk.mak
The SDK will be built and copied into the following directories:
mozilla\dist\public\ldap - header files
mozilla\dist\Win32_d.obj\bin - LDAP API DLL (nsldap32.dll)
mozilla\dist\Win32_d.obj\lib - import and static libraries
(nsldap32.lib, nsldap32s.lib)
Notes:
This build process does not use Visual C++ generated project files.
(Reasons for this include size, maintainability, and the long-term
desire to use tools like gmake or plug-and-play developer tools.)
This does not preclude you from using the Visual C++ IDE or its debugger.
Common Build Problems:
If the build fails with the message "'.\WIN32' unexpected",
you didn't set the environment variables correctly. Check for
extra spaces at the end of the set statements (this is a
common problem when copying and pasting commands).
If directory-related errors are reported, check the full path to
the source for any spaces. Make sure that when you originally extracted
the source files, you used a utility that understands long filenames.
If you are not sure if your extraction utility understands long filenames,
use Info-Zip. (You can get this from ftp://ftp.cdrom.com/pub/infozip.)
--------------------------------------------------------
Copyright (c) 1998 Netscape Communications Corporation.
(http://home.netscape.com/misc/contact_info.html)

View File

@@ -1,34 +0,0 @@
DEPTH = ../../..
NSPR_TREE = ../../../nsprpub
MOD_DEPTH = ../../../nsprpub
SRCDIRS = build include libraries
include $(NSPR_TREE)/config/rules.mk
all export:: FORCE
@for i in $(SRCDIRS); do \
echo " cd $$i; $(MAKE) -f Makefile.client $(MFLAGS) export"; \
( cd $$i; $(MAKE) -f Makefile.client $(MFLAGS) export ); \
done
libs install:: FORCE
@for i in $(SRCDIRS); do \
echo "cd $$i; $(MAKE) -f Makefile.client $(MFLAGS) install"; \
( cd $$i; $(MAKE) -f Makefile.client $(MFLAGS) install ); \
done
clean clobber:: FORCE
@for i in $(SRCDIRS); do \
echo "cd $$i; $(MAKE) -f Makefile.client $(MFLAGS) clean"; \
( cd $$i; $(MAKE) -f Makefile.client $(MFLAGS) clean ); \
done
realclean clobber_all:: FORCE
@for i in $(SRCDIRS); do \
echo "cd $$i; $(MAKE) -f Makefile.client $(MFLAGS) realclean"; \
( cd $$i; $(MAKE) -f Makefile.client $(MFLAGS) realclean ); \
done
FORCE:

View File

@@ -1,34 +0,0 @@
DEPTH = ../../..
srcdir = @srcdir@
ldaptopsrcdir = @top_srcdir@
SRCDIRS = build include libraries
DIRS = $(SRCDIRS)
DIST_GARBAGE = config.cache config.log config.status
include build/autoconf.mk
all::
$(MAKE) export
$(MAKE) install
install::
+$(LOOP_OVER_DIRS)
include $(NSPR_TREE)/config/rules.mk
# Delete config/autoconf.mk last because it is included by every makefile.
distclean::
$(RM) -f build/autoconf.mk build/nspr-autoconf.mk
# dummy target to allow platforms without a compiler-based depend (like GCC
# has) to call "make depend" here and not fail, at the cost of actual
# dependencies on such builds possibly being incorrect. A nasty hack, but
# this build system is going away soon.
#
depend:
FORCE:

View File

@@ -1,31 +0,0 @@
The autoconf files here are the barest shim to allow the LDAP C SDK to
build with autoconf, including in a --objdir. These are really just a
wrapper around the existing (NSPR-based) build-system; they propagate
very little information from the autconf command line or environment.
The Makefile.in files are all just slightly edited forks of the
Makefile.client files. These files are:
Makefile.in
configure
configure.in
build/Makefile.in
build/autoconf.mk.in
build/my_overrides.mk
include/Makefile.in
libraries/Makefile.in
libraries/liblber/Makefile.in
libraries/libldap/Makefile.in
Note that as in the main browser tree, I've checked in the (generated)
configure script so that autoconf isn't a prerequisite to build.
At some point after the most current LDAP SDK code lands in Mozilla,
then perhaps it will be worth spending some time creating a more
correctly autoconfified build process that isn't just a shim and
doesn't depend on NSPR.
Comments to <news://news.mozilla.org/netscape.public.mozilla.directory>,
please.
Dan Mosedale
<dmose@mozilla.org>

View File

@@ -1,28 +0,0 @@
DEPTH = ../../../..
MOD_DEPTH = ../../../../nsprpub
NSPR_TREE = ../../../../nsprpub
CSRCS = dirver.c
include $(NSPR_TREE)/config/rules.mk
TARGETS = $(OBJDIR)/dirver$(BIN_SUFFIX)
GARBAGE += $(TARGETS)
ifeq ($(OS_ARCH), OS2)
$(OBJS) = $(addprefix $(OBJDIR)/, $(CSRCS:.c=.o))
$(TARGETS): $(OBJS)
@$(MAKE_OBJDIR)
$(LINK_EXE) -OUT:$@ $(OBJS)
endif
export:: $(TARGETS)
$(INSTALL) -m 555 $(TARGETS) $(DIST)/bin
install:: export
clean::
rm -rf $(OBJDIR_NAME)

View File

@@ -1,24 +0,0 @@
DEPTH = ../../../..
srcdir = @srcdir@
ldaptopsrcdir = @top_srcdir@
INTERNAL_TOOLS = 1
CSRCS = dirver.c
include autoconf.mk
PROGRAM = dirver$(BIN_SUFFIX)
GARBAGE += $(TARGETS)
include $(NSPR_TREE)/config/rules.mk
export:: $(PROGRAM)
$(INSTALL) -m 555 $(PROGRAM) $(DIST)/bin
install:: export
clean::
-rm -rf $(filter-out . ..,$(OBJDIR_NAME))

View File

@@ -1,60 +0,0 @@
#
# The contents of this file are subject to the Mozilla Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org LDAP SDK autoconf glue.
#
# The Initial Developer of the Original Code is Netscape
# Commmunications Corp. Portions created by Netscape are
# Copyright (C) 2000, Netscape Communications Corp. All
# Rights Reserved.
#
# Contributor(s): Dan Mosedale <dmose@mozilla.org>
#
# this is used to override DIST and VPATH
#
NSPR_MY_OVERRIDES_MK = $(ldaptopsrcdir)/build/my_overrides.mk
# common to all the ldap sdk makefiles
#
NSPR_TREE = $(ldaptopsrcdir)/../../../nsprpub
topsrcdir = $(ldaptopsrcdir)/../../../nsprpub
# various stuff from the ldap sdk documentation
#
MOZILLA_CLIENT = 1
NO_MDUPDATE = 1
MOZ_LDAP_SDK = 1
MOZ_LI =
MOZ_LITE =
MOZ_MEDIUM =
NO_SECURITY =
# This is where OS/2 Mozilla Client build DIST & LIB .
# while DIST is where Security build put it LIB & INCLUDE
MOZ_DIST = $(ldaptopsrcdir)/../../../dist
# NSPR now uses autoconf by default.
#
include $(DEPTH)/directory/c-sdk/ldap/build/nspr-autoconf.mk
MOD_DEPTH = $(DEPTH)
VPATH = $(srcdir)
DIST = $(DEPTH)/dist
# BIN_SUFFIX not getting defined for os/2
ifeq ($(OS_ARCH),OS2)
BIN_SUFFIX = .exe
LINK = -ilink
endif
ifeq ($(OS_ARCH),WINNT)
BIN_SUFFIX = .exe
endif

View File

@@ -1,217 +0,0 @@
/*--------------------------------------------------------------------------
/ Copyright (C) 1996, 1997 Netscape Communications Corporation
/ --------------------------------------------------------------------------
/
/ Name: Netscape File Version Generator
/ Platforms: WIN32
/ ......................................................................
/ This program generates an ascii format of the 64-bit FILEVERSION
/ resource identifier used by Windows executable binaries.
/
/ Usage Syntax:
/ fversion <major.minor.patch> [mm/dd/yyyy] [outfile]
/ If date is not specified, the current GMT date is used. yyyy must be
/ greater than 1980
/
/ Usage Example:
/ fversion 3.0.0
/ fversion 6.5.4 1/30/2001
/ fversion 6.5.4 1/30/2001 fileversion.h
/
/ see http://ntsbuild/sd/30ver.htm for specification
/ ......................................................................
/ Revision History:
/ 01-30-97 Initial Version, Andy Hakim (ahakim@netscape.com)
/ --------------------------------------------------------------------------*/
#ifdef _WIN32
#include <windows.h>
#endif
#ifdef macintosh
#include <console.h>
#endif
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <time.h>
unsigned _CalcVersion(unsigned nMajor, unsigned nMinor, unsigned nPatch)
{
unsigned nVersion;
nVersion = nMajor;
nVersion <<= 5;
nVersion += nMinor;
nVersion <<= 7;
nVersion += nPatch;
nVersion &= 0xFFFF;
return(nVersion);
}
static void _GetVersions(char *szVer, unsigned *nMajor, unsigned *nMinor,
unsigned *nPatch)
{
char szVersion[128];
unsigned nReturn = 0;
char *szToken;
*nMajor = 0;
*nMinor = 0;
*nPatch = 0;
strcpy(szVersion, szVer);
if(szToken = strtok(szVersion, ".\n"))
{
*nMajor = atoi(szToken);
if(szToken = strtok(NULL, ".\n"))
{
*nMinor = atoi(szToken);
if(szToken = strtok(NULL, ".\n"))
{
*nPatch = atoi(szToken);
}
}
}
}
unsigned _CalcBuildDate(unsigned nYear, unsigned nMonth, unsigned nDay)
{
unsigned nBuildDate = 0;
if(nYear < 1900) /* they really mean 1900 + nYear */
nYear += 1900;
nYear -= 1980;
nBuildDate = nYear;
/*
nBuildDate <<= 5;
*/
nBuildDate <<= 4;
nBuildDate += nMonth;
/* nBuildDate <<= 4; */
nBuildDate <<= 5;
nBuildDate += nDay;
nBuildDate &= 0xFFFF;
return(nBuildDate);
}
unsigned _GenBuildDate(char *szBuildDate)
{
unsigned nReturn = 0;
char *szToken;
unsigned nYear = 0;
unsigned nMonth = 0;
unsigned nDay = 0;
if((szBuildDate) && (strchr(szBuildDate, '\\') || strchr(szBuildDate, '/')) && (szToken = strtok(szBuildDate, "\\/")))
{
nMonth = atoi(szToken);
nMonth--; /* use months in the range [0..11], as in struct tm */
if(szToken = strtok(NULL, "\\/"))
{
nDay = atoi(szToken);
if(szToken = strtok(NULL, "\\/"))
{
nYear = atoi(szToken);
if(nYear < 70) { /* handle 2 digit years like (20)00 */
nYear += 100;
}
else if (nYear < 100) {
}
else if (nYear > 1900){
nYear -= 1900;
}
}
}
}
else
{
struct tm *newtime;
time_t ltime;
time( &ltime );
/* Obtain coordinated universal time: */
newtime = gmtime( &ltime );
nYear = newtime->tm_year;
nMonth = newtime->tm_mon;
nDay = newtime->tm_mday;
}
nReturn = _CalcBuildDate(nYear, nMonth, nDay);
return(nReturn);
}
static void ShowHelp(char *szFilename)
{
char szTemp[128];
fprintf(stdout, "%s: Generates ascii format #define for FILEVERSION\n", szFilename);
fprintf(stdout, " resource identifier used by Windows executable binaries.\n");
fprintf(stdout, "\n");
fprintf(stdout, "Usage: %s <major.minor.patch> [mm/dd/yy] [outfile]\n", szFilename);
fprintf(stdout, "\n");
fprintf(stdout, "Examples:\n");
fprintf(stdout, "%s 3.0.0\n", szFilename);
fprintf(stdout, "%s 6.5.2 1/30/2001\n", szFilename);
fprintf(stdout, "%s 6.5.2 1/30/2001 fileversion.h\n", szFilename);
}
main(int nArgc, char **lpArgv)
{
int nReturn = 0;
unsigned nVersion = 0;
unsigned nBuildDate = 0;
#ifdef macintosh
nArgc = ccommand( &lpArgv );
#endif
if(nArgc < 2)
{
ShowHelp(lpArgv[0]);
nReturn = 1;
}
else
{
char *szVersion = NULL;
char *szDate = NULL;
char *szOutput = NULL;
FILE *f = stdout;
unsigned nMajor = 0;
unsigned nMinor = 0;
unsigned nPatch = 0;
szVersion = (char *)lpArgv[1];
szDate = (char *)lpArgv[2];
szOutput = (char *)lpArgv[3];
_GetVersions( szVersion, &nMajor, &nMinor, &nPatch );
nVersion = _CalcVersion(nMajor, nMinor, nPatch);
nBuildDate = _GenBuildDate(szDate);
if(nArgc >= 4) {
if (( f = fopen(szOutput, "w")) == NULL ) {
perror( szOutput );
exit( 1 );
}
}
fprintf(f, "#define VI_PRODUCTVERSION %u.%u\n", nMajor, nMinor);
fprintf(f, "#define PRODUCTTEXT \"%s\"\n", szVersion );
fprintf(f, "#define VI_FILEVERSION %u, 0, 0,%u\n",
nVersion, nBuildDate);
fprintf(f, "#define VI_FileVersion \"%s Build %u\\0\"\n",
szVersion, nBuildDate);
if(nArgc >= 4)
fclose(f);
nReturn = (nVersion && !nBuildDate);
}
return(nReturn);
}

View File

@@ -1,23 +0,0 @@
#
# The contents of this file are subject to the Mozilla Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org LDAP SDK autoconf glue.
#
# The Initial Developer of the Original Code is Netscape
# Commmunications Corp. Portions created by Netscape are
# Copyright (C) 2000, Netscape Communications Corp. All
# Rights Reserved.
#
# Contributor(s): Dan Mosedale <dmose@mozilla.org>
#
DIST = $(DEPTH)/dist
VPATH = $(srcdir)

View File

@@ -1,786 +0,0 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated automatically using autoconf version 2.13
# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
#
# This configure script is free software; the Free Software Foundation
# gives unlimited permission to copy, distribute and modify it.
# Defaults:
ac_help=
ac_default_prefix=/usr/local
# Any additions from configure.in:
# Initialize some variables set by options.
# The variables have the same names as the options, with
# dashes changed to underlines.
build=NONE
cache_file=./config.cache
exec_prefix=NONE
host=NONE
no_create=
nonopt=NONE
no_recursion=
prefix=NONE
program_prefix=NONE
program_suffix=NONE
program_transform_name=s,x,x,
silent=
site=
srcdir=
target=NONE
verbose=
x_includes=NONE
x_libraries=NONE
bindir='${exec_prefix}/bin'
sbindir='${exec_prefix}/sbin'
libexecdir='${exec_prefix}/libexec'
datadir='${prefix}/share'
sysconfdir='${prefix}/etc'
sharedstatedir='${prefix}/com'
localstatedir='${prefix}/var'
libdir='${exec_prefix}/lib'
includedir='${prefix}/include'
oldincludedir='/usr/include'
infodir='${prefix}/info'
mandir='${prefix}/man'
# Initialize some other variables.
subdirs=
MFLAGS= MAKEFLAGS=
SHELL=${CONFIG_SHELL-/bin/sh}
# Maximum number of lines to put in a shell here document.
ac_max_here_lines=12
ac_prev=
for ac_option
do
# If the previous option needs an argument, assign it.
if test -n "$ac_prev"; then
eval "$ac_prev=\$ac_option"
ac_prev=
continue
fi
case "$ac_option" in
-*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
*) ac_optarg= ;;
esac
# Accept the important Cygnus configure options, so we can diagnose typos.
case "$ac_option" in
-bindir | --bindir | --bindi | --bind | --bin | --bi)
ac_prev=bindir ;;
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
bindir="$ac_optarg" ;;
-build | --build | --buil | --bui | --bu)
ac_prev=build ;;
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
build="$ac_optarg" ;;
-cache-file | --cache-file | --cache-fil | --cache-fi \
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
ac_prev=cache_file ;;
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
cache_file="$ac_optarg" ;;
-datadir | --datadir | --datadi | --datad | --data | --dat | --da)
ac_prev=datadir ;;
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
| --da=*)
datadir="$ac_optarg" ;;
-disable-* | --disable-*)
ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
# Reject names that are not valid shell variable names.
if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
{ echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
fi
ac_feature=`echo $ac_feature| sed 's/-/_/g'`
eval "enable_${ac_feature}=no" ;;
-enable-* | --enable-*)
ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
# Reject names that are not valid shell variable names.
if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
{ echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
fi
ac_feature=`echo $ac_feature| sed 's/-/_/g'`
case "$ac_option" in
*=*) ;;
*) ac_optarg=yes ;;
esac
eval "enable_${ac_feature}='$ac_optarg'" ;;
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
| --exec | --exe | --ex)
ac_prev=exec_prefix ;;
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
| --exec=* | --exe=* | --ex=*)
exec_prefix="$ac_optarg" ;;
-gas | --gas | --ga | --g)
# Obsolete; use --with-gas.
with_gas=yes ;;
-help | --help | --hel | --he)
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat << EOF
Usage: configure [options] [host]
Options: [defaults in brackets after descriptions]
Configuration:
--cache-file=FILE cache test results in FILE
--help print this message
--no-create do not create output files
--quiet, --silent do not print \`checking...' messages
--version print the version of autoconf that created configure
Directory and file names:
--prefix=PREFIX install architecture-independent files in PREFIX
[$ac_default_prefix]
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
[same as prefix]
--bindir=DIR user executables in DIR [EPREFIX/bin]
--sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
--libexecdir=DIR program executables in DIR [EPREFIX/libexec]
--datadir=DIR read-only architecture-independent data in DIR
[PREFIX/share]
--sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
--sharedstatedir=DIR modifiable architecture-independent data in DIR
[PREFIX/com]
--localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
--libdir=DIR object code libraries in DIR [EPREFIX/lib]
--includedir=DIR C header files in DIR [PREFIX/include]
--oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
--infodir=DIR info documentation in DIR [PREFIX/info]
--mandir=DIR man documentation in DIR [PREFIX/man]
--srcdir=DIR find the sources in DIR [configure dir or ..]
--program-prefix=PREFIX prepend PREFIX to installed program names
--program-suffix=SUFFIX append SUFFIX to installed program names
--program-transform-name=PROGRAM
run sed PROGRAM on installed program names
EOF
cat << EOF
Host type:
--build=BUILD configure for building on BUILD [BUILD=HOST]
--host=HOST configure for HOST [guessed]
--target=TARGET configure for TARGET [TARGET=HOST]
Features and packages:
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--x-includes=DIR X include files are in DIR
--x-libraries=DIR X library files are in DIR
EOF
if test -n "$ac_help"; then
echo "--enable and --with options recognized:$ac_help"
fi
exit 0 ;;
-host | --host | --hos | --ho)
ac_prev=host ;;
-host=* | --host=* | --hos=* | --ho=*)
host="$ac_optarg" ;;
-includedir | --includedir | --includedi | --included | --include \
| --includ | --inclu | --incl | --inc)
ac_prev=includedir ;;
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
| --includ=* | --inclu=* | --incl=* | --inc=*)
includedir="$ac_optarg" ;;
-infodir | --infodir | --infodi | --infod | --info | --inf)
ac_prev=infodir ;;
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
infodir="$ac_optarg" ;;
-libdir | --libdir | --libdi | --libd)
ac_prev=libdir ;;
-libdir=* | --libdir=* | --libdi=* | --libd=*)
libdir="$ac_optarg" ;;
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
| --libexe | --libex | --libe)
ac_prev=libexecdir ;;
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
| --libexe=* | --libex=* | --libe=*)
libexecdir="$ac_optarg" ;;
-localstatedir | --localstatedir | --localstatedi | --localstated \
| --localstate | --localstat | --localsta | --localst \
| --locals | --local | --loca | --loc | --lo)
ac_prev=localstatedir ;;
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
| --localstate=* | --localstat=* | --localsta=* | --localst=* \
| --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
localstatedir="$ac_optarg" ;;
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
ac_prev=mandir ;;
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
mandir="$ac_optarg" ;;
-nfp | --nfp | --nf)
# Obsolete; use --without-fp.
with_fp=no ;;
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
| --no-cr | --no-c)
no_create=yes ;;
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
no_recursion=yes ;;
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
| --oldin | --oldi | --old | --ol | --o)
ac_prev=oldincludedir ;;
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
oldincludedir="$ac_optarg" ;;
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
ac_prev=prefix ;;
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
prefix="$ac_optarg" ;;
-program-prefix | --program-prefix | --program-prefi | --program-pref \
| --program-pre | --program-pr | --program-p)
ac_prev=program_prefix ;;
-program-prefix=* | --program-prefix=* | --program-prefi=* \
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
program_prefix="$ac_optarg" ;;
-program-suffix | --program-suffix | --program-suffi | --program-suff \
| --program-suf | --program-su | --program-s)
ac_prev=program_suffix ;;
-program-suffix=* | --program-suffix=* | --program-suffi=* \
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
program_suffix="$ac_optarg" ;;
-program-transform-name | --program-transform-name \
| --program-transform-nam | --program-transform-na \
| --program-transform-n | --program-transform- \
| --program-transform | --program-transfor \
| --program-transfo | --program-transf \
| --program-trans | --program-tran \
| --progr-tra | --program-tr | --program-t)
ac_prev=program_transform_name ;;
-program-transform-name=* | --program-transform-name=* \
| --program-transform-nam=* | --program-transform-na=* \
| --program-transform-n=* | --program-transform-=* \
| --program-transform=* | --program-transfor=* \
| --program-transfo=* | --program-transf=* \
| --program-trans=* | --program-tran=* \
| --progr-tra=* | --program-tr=* | --program-t=*)
program_transform_name="$ac_optarg" ;;
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
| -silent | --silent | --silen | --sile | --sil)
silent=yes ;;
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
ac_prev=sbindir ;;
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
| --sbi=* | --sb=*)
sbindir="$ac_optarg" ;;
-sharedstatedir | --sharedstatedir | --sharedstatedi \
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
| --sharedst | --shareds | --shared | --share | --shar \
| --sha | --sh)
ac_prev=sharedstatedir ;;
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
| --sha=* | --sh=*)
sharedstatedir="$ac_optarg" ;;
-site | --site | --sit)
ac_prev=site ;;
-site=* | --site=* | --sit=*)
site="$ac_optarg" ;;
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
ac_prev=srcdir ;;
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
srcdir="$ac_optarg" ;;
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
| --syscon | --sysco | --sysc | --sys | --sy)
ac_prev=sysconfdir ;;
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
sysconfdir="$ac_optarg" ;;
-target | --target | --targe | --targ | --tar | --ta | --t)
ac_prev=target ;;
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
target="$ac_optarg" ;;
-v | -verbose | --verbose | --verbos | --verbo | --verb)
verbose=yes ;;
-version | --version | --versio | --versi | --vers)
echo "configure generated by autoconf version 2.13"
exit 0 ;;
-with-* | --with-*)
ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
# Reject names that are not valid shell variable names.
if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
{ echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
fi
ac_package=`echo $ac_package| sed 's/-/_/g'`
case "$ac_option" in
*=*) ;;
*) ac_optarg=yes ;;
esac
eval "with_${ac_package}='$ac_optarg'" ;;
-without-* | --without-*)
ac_package=`echo $ac_option|sed -e 's/-*without-//'`
# Reject names that are not valid shell variable names.
if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
{ echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
fi
ac_package=`echo $ac_package| sed 's/-/_/g'`
eval "with_${ac_package}=no" ;;
--x)
# Obsolete; use --with-x.
with_x=yes ;;
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
| --x-incl | --x-inc | --x-in | --x-i)
ac_prev=x_includes ;;
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
x_includes="$ac_optarg" ;;
-x-libraries | --x-libraries | --x-librarie | --x-librari \
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
ac_prev=x_libraries ;;
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
x_libraries="$ac_optarg" ;;
-*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
;;
*)
if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
echo "configure: warning: $ac_option: invalid host type" 1>&2
fi
if test "x$nonopt" != xNONE; then
{ echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
fi
nonopt="$ac_option"
;;
esac
done
if test -n "$ac_prev"; then
{ echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
fi
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
# File descriptor usage:
# 0 standard input
# 1 file creation
# 2 errors and warnings
# 3 some systems may open it to /dev/tty
# 4 used on the Kubota Titan
# 6 checking for... messages and results
# 5 compiler messages saved in config.log
if test "$silent" = yes; then
exec 6>/dev/null
else
exec 6>&1
fi
exec 5>./config.log
echo "\
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
" 1>&5
# Strip out --no-create and --no-recursion so they do not pile up.
# Also quote any args containing shell metacharacters.
ac_configure_args=
for ac_arg
do
case "$ac_arg" in
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
| --no-cr | --no-c) ;;
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
ac_configure_args="$ac_configure_args '$ac_arg'" ;;
*) ac_configure_args="$ac_configure_args $ac_arg" ;;
esac
done
# NLS nuisances.
# Only set these to C if already set. These must not be set unconditionally
# because not all systems understand e.g. LANG=C (notably SCO).
# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
# Non-C LC_CTYPE values break the ctype check.
if test "${LANG+set}" = set; then LANG=C; export LANG; fi
if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
# confdefs.h avoids OS command line length limits that DEFS can exceed.
rm -rf conftest* confdefs.h
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
echo > confdefs.h
# A filename unique to this package, relative to the directory that
# configure is in, which we can look for to find out if srcdir is correct.
ac_unique_file=build/dirver.c
# Find the source files, if location was not specified.
if test -z "$srcdir"; then
ac_srcdir_defaulted=yes
# Try the directory containing this script, then its parent.
ac_prog=$0
ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
srcdir=$ac_confdir
if test ! -r $srcdir/$ac_unique_file; then
srcdir=..
fi
else
ac_srcdir_defaulted=no
fi
if test ! -r $srcdir/$ac_unique_file; then
if test "$ac_srcdir_defaulted" = yes; then
{ echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
else
{ echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
fi
fi
srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
# Prefer explicitly selected file to automatically selected ones.
if test -z "$CONFIG_SITE"; then
if test "x$prefix" != xNONE; then
CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
else
CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
fi
fi
for ac_site_file in $CONFIG_SITE; do
if test -r "$ac_site_file"; then
echo "loading site script $ac_site_file"
. "$ac_site_file"
fi
done
if test -r "$cache_file"; then
echo "loading cache $cache_file"
. $cache_file
else
echo "creating cache $cache_file"
> $cache_file
fi
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross
ac_exeext=
ac_objext=o
if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
# Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
ac_n= ac_c='
' ac_t=' '
else
ac_n=-n ac_c= ac_t=
fi
else
ac_n= ac_c='\c' ac_t=
fi
MAKEFILES="
Makefile
build/Makefile
build/autoconf.mk
include/Makefile
libraries/Makefile
libraries/libldap/Makefile
libraries/liblber/Makefile
"
trap '' 1 2 15
cat > confcache <<\EOF
# This file is a shell script that caches the results of configure
# tests run on this system so they can be shared between configure
# scripts and configure runs. It is not useful on other systems.
# If it contains results you don't want to keep, you may remove or edit it.
#
# By default, configure uses ./config.cache as the cache file,
# creating it if it does not exist already. You can give configure
# the --cache-file=FILE option to use a different cache file; that is
# what configure does when it calls configure scripts in
# subdirectories, so they share the cache.
# Giving --cache-file=/dev/null disables caching, for debugging configure.
# config.status only pays attention to the cache file if you give it the
# --recheck option to rerun configure.
#
EOF
# The following way of writing the cache mishandles newlines in values,
# but we know of no workaround that is simple, portable, and efficient.
# So, don't put newlines in cache variables' values.
# Ultrix sh set writes to stderr and can't be redirected directly,
# and sets the high bit in the cache file unless we assign to the vars.
(set) 2>&1 |
case `(ac_space=' '; set | grep ac_space) 2>&1` in
*ac_space=\ *)
# `set' does not quote correctly, so add quotes (double-quote substitution
# turns \\\\ into \\, and sed turns \\ into \).
sed -n \
-e "s/'/'\\\\''/g" \
-e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
;;
*)
# `set' quotes correctly as required by POSIX, so do not add quotes.
sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
;;
esac >> confcache
if cmp -s $cache_file confcache; then
:
else
if test -w $cache_file; then
echo "updating cache $cache_file"
cat confcache > $cache_file
else
echo "not updating unwritable cache $cache_file"
fi
fi
rm -f confcache
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
test "x$prefix" = xNONE && prefix=$ac_default_prefix
# Let make expand exec_prefix.
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
# Any assignment to VPATH causes Sun make to only execute
# the first set of double-colon rules, so remove it if not needed.
# If there is a colon in the path, we need to keep it.
if test "x$srcdir" = x.; then
ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
fi
trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
# Transform confdefs.h into DEFS.
# Protect against shell expansion while executing Makefile rules.
# Protect against Makefile macro expansion.
cat > conftest.defs <<\EOF
s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
s%[ `~#$^&*(){}\\|;'"<>?]%\\&%g
s%\[%\\&%g
s%\]%\\&%g
s%\$%$$%g
EOF
DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
rm -f conftest.defs
# Without the "./", some shells look in PATH for config.status.
: ${CONFIG_STATUS=./config.status}
echo creating $CONFIG_STATUS
rm -f $CONFIG_STATUS
cat > $CONFIG_STATUS <<EOF
#! /bin/sh
# Generated automatically by configure.
# Run this file to recreate the current configuration.
# This directory was configured as follows,
# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
#
# $0 $ac_configure_args
#
# Compiler output produced by configure, useful for debugging
# configure, is in ./config.log if it exists.
ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
for ac_option
do
case "\$ac_option" in
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
-version | --version | --versio | --versi | --vers | --ver | --ve | --v)
echo "$CONFIG_STATUS generated by autoconf version 2.13"
exit 0 ;;
-help | --help | --hel | --he | --h)
echo "\$ac_cs_usage"; exit 0 ;;
*) echo "\$ac_cs_usage"; exit 1 ;;
esac
done
ac_given_srcdir=$srcdir
trap 'rm -fr `echo "$MAKEFILES" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
EOF
cat >> $CONFIG_STATUS <<EOF
# Protect against being on the right side of a sed subst in config.status.
sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
$ac_vpsub
$extrasub
s%@SHELL@%$SHELL%g
s%@CFLAGS@%$CFLAGS%g
s%@CPPFLAGS@%$CPPFLAGS%g
s%@CXXFLAGS@%$CXXFLAGS%g
s%@FFLAGS@%$FFLAGS%g
s%@DEFS@%$DEFS%g
s%@LDFLAGS@%$LDFLAGS%g
s%@LIBS@%$LIBS%g
s%@exec_prefix@%$exec_prefix%g
s%@prefix@%$prefix%g
s%@program_transform_name@%$program_transform_name%g
s%@bindir@%$bindir%g
s%@sbindir@%$sbindir%g
s%@libexecdir@%$libexecdir%g
s%@datadir@%$datadir%g
s%@sysconfdir@%$sysconfdir%g
s%@sharedstatedir@%$sharedstatedir%g
s%@localstatedir@%$localstatedir%g
s%@libdir@%$libdir%g
s%@includedir@%$includedir%g
s%@oldincludedir@%$oldincludedir%g
s%@infodir@%$infodir%g
s%@mandir@%$mandir%g
CEOF
EOF
cat >> $CONFIG_STATUS <<\EOF
# Split the substitutions into bite-sized pieces for seds with
# small command number limits, like on Digital OSF/1 and HP-UX.
ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
ac_file=1 # Number of current file.
ac_beg=1 # First line for current file.
ac_end=$ac_max_sed_cmds # Line after last line for current file.
ac_more_lines=:
ac_sed_cmds=""
while $ac_more_lines; do
if test $ac_beg -gt 1; then
sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
else
sed "${ac_end}q" conftest.subs > conftest.s$ac_file
fi
if test ! -s conftest.s$ac_file; then
ac_more_lines=false
rm -f conftest.s$ac_file
else
if test -z "$ac_sed_cmds"; then
ac_sed_cmds="sed -f conftest.s$ac_file"
else
ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
fi
ac_file=`expr $ac_file + 1`
ac_beg=$ac_end
ac_end=`expr $ac_end + $ac_max_sed_cmds`
fi
done
if test -z "$ac_sed_cmds"; then
ac_sed_cmds=cat
fi
EOF
cat >> $CONFIG_STATUS <<EOF
CONFIG_FILES=\${CONFIG_FILES-"$MAKEFILES"}
EOF
cat >> $CONFIG_STATUS <<\EOF
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
case "$ac_file" in
*:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
*) ac_file_in="${ac_file}.in" ;;
esac
# Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
# Remove last slash and all that follows it. Not all systems have dirname.
ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
# The file is in a subdirectory.
test ! -d "$ac_dir" && mkdir "$ac_dir"
ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
# A "../" for each directory in $ac_dir_suffix.
ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
else
ac_dir_suffix= ac_dots=
fi
case "$ac_given_srcdir" in
.) srcdir=.
if test -z "$ac_dots"; then top_srcdir=.
else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
/*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
*) # Relative path.
srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
top_srcdir="$ac_dots$ac_given_srcdir" ;;
esac
echo creating "$ac_file"
rm -f "$ac_file"
configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
case "$ac_file" in
*Makefile*) ac_comsub="1i\\
# $configure_input" ;;
*) ac_comsub= ;;
esac
ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
sed -e "$ac_comsub
s%@configure_input@%$configure_input%g
s%@srcdir@%$srcdir%g
s%@top_srcdir@%$top_srcdir%g
" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
fi; done
rm -f conftest.s*
EOF
cat >> $CONFIG_STATUS <<EOF
EOF
cat >> $CONFIG_STATUS <<\EOF
exit 0
EOF
chmod +x $CONFIG_STATUS
rm -fr confdefs* $ac_clean_files
test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
cp ../../../nsprpub/config/autoconf.mk build/nspr-autoconf.mk

View File

@@ -1,43 +0,0 @@
dnl
dnl The contents of this file are subject to the Mozilla Public
dnl License Version 1.1 (the "License"); you may not use this file
dnl except in compliance with the License. You may obtain a copy of
dnl the License at http://www.mozilla.org/MPL/
dnl
dnl Software distributed under the License is distributed on an "AS
dnl IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
dnl implied. See the License for the specific language governing
dnl rights and limitations under the License.
dnl
dnl The Original Code is mozilla.org LDAP SDK autoconf glue.
dnl
dnl The Initial Developer of the Original Code is Netscape
dnl Communications Corp. Portions created by Netscape are
dnl Copyright (C) 2000, Netscape Communications Corp. All
dnl Rights Reserved.
dnl
dnl Contributor(s): Dan Mosedale <dmose@mozilla.org>
dnl
dnl Process this file with autoconf to produce a configure script.
AC_INIT(build/dirver.c)
dnl Checks for programs.
dnl Checks for libraries.
dnl Checks for header files.
dnl Checks for typedefs, structures, and compiler characteristics.
dnl Checks for library functions.
dnl Generate output files
dnl
MAKEFILES="
Makefile
build/Makefile
build/autoconf.mk
include/Makefile
libraries/Makefile
libraries/libldap/Makefile
libraries/liblber/Makefile
"
AC_OUTPUT([$MAKEFILES])
cp ../../../nsprpub/config/autoconf.mk build/nspr-autoconf.mk

View File

@@ -1,4 +0,0 @@
disptmpl.h
lber.h
ldap.h
srchpref.h

View File

@@ -1,52 +0,0 @@
DEPTH = ../../../..
MOD_DEPTH = ../../../../nsprpub
NSPR_TREE = ../../../../nsprpub
XPDIST = ../../../../dist
CHMOD = chmod
RM = rm -f
SED = sed
HEADERS = \
disptmpl.h \
lber.h \
ldap.h \
srchpref.h \
$(NULL)
include $(NSPR_TREE)/config/rules.mk
GARBAGE += sdkver.h dirver.h
ETCDIR = $(DIST)/etc
INCLUDEDIR = $(XPDIST)/public/ldap
DIR_VERSION := 2.0
DIRSDK_VERSION := 1.0
ifeq ($(OS_ARCH), WINNT)
# Is this correct?
DIRVER_PATH = $(DEPTH)/netsite/ldap/build
else
DIRVER_PATH = $(DIST)/bin
endif
DIRVER_PROG = $(DIRVER_PATH)/dirver$(BIN_SUFFIX)
###########################################################################
all export:: sdkver.h dirver.h FORCE
$(INSTALL) $(INSTALLFLAGS) -m 644 $(HEADERS) $(INCLUDEDIR)
$(INSTALL) $(INSTALLFLAGS) -m 644 $(HEADERS) $(DIST)/include
sdkver.h: $(DIRVER_PROG)
@$< $(DIRSDK_VERSION) UseSystemDate $@
dirver.h: $(DIRVER_PROG)
@$< $(DIR_VERSION) UseSystemDate $@
install:: export
clean::
FORCE:

View File

@@ -1,46 +0,0 @@
DEPTH = ../../../..
srcdir = @srcdir@
ldaptopsrcdir = @top_srcdir@
CHMOD = chmod
RM = rm -f
SED = sed
HEADERS = \
disptmpl.h \
lber.h \
ldap.h \
srchpref.h \
$(NULL)
HEADERS := $(addprefix $(srcdir)/, $(HEADERS))
include ../build/autoconf.mk
include $(NSPR_TREE)/config/rules.mk
GARBAGE += sdkver.h dirver.h
ETCDIR = $(DIST)/etc
DIR_VERSION := 2.0
DIRSDK_VERSION := 1.0
DIRVER_PATH = $(DIST)/bin
DIRVER_PROG = $(DIRVER_PATH)/dirver$(BIN_SUFFIX)
###########################################################################
all export:: sdkver.h dirver.h FORCE
$(INSTALL) $(INSTALLFLAGS) -m 644 $(HEADERS) $(DIST)/include/ldap
sdkver.h: $(DIRVER_PROG)
@$< $(DIRSDK_VERSION) UseSystemDate $@
dirver.h: $(DIRVER_PROG)
@$< $(DIR_VERSION) UseSystemDate $@
install:: export
clean::
FORCE:

View File

@@ -1,364 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*/
/*
* Copyright (c) 1993, 1994 Regents of the University of Michigan.
* All rights reserved.
*
* Redistribution and use in source and binary forms are permitted
* provided that this notice is preserved and that due credit is given
* to the University of Michigan at Ann Arbor. The name of the University
* may not be used to endorse or promote products derived from this
* software without specific prior written permission. This software
* is provided ``as is'' without express or implied warranty.
*
* disptmpl.h: display template library defines
*/
#ifndef _DISPTMPL_H
#define _DISPTMPL_H
#ifdef __cplusplus
extern "C" {
#endif
/* calling conventions used by library */
#ifndef LDAP_CALL
#if defined( _WINDOWS ) || defined( _WIN32 )
#define LDAP_C __cdecl
#ifndef _WIN32
#define __stdcall _far _pascal
#define LDAP_CALLBACK _loadds
#else
#define LDAP_CALLBACK
#endif /* _WIN32 */
#define LDAP_PASCAL __stdcall
#define LDAP_CALL LDAP_PASCAL
#else /* _WINDOWS */
#define LDAP_C
#define LDAP_CALLBACK
#define LDAP_PASCAL
#define LDAP_CALL
#endif /* _WINDOWS */
#endif /* LDAP_CALL */
#define LDAP_TEMPLATE_VERSION 1
/*
* general types of items (confined to most significant byte)
*/
#define LDAP_SYN_TYPE_TEXT 0x01000000L
#define LDAP_SYN_TYPE_IMAGE 0x02000000L
#define LDAP_SYN_TYPE_BOOLEAN 0x04000000L
#define LDAP_SYN_TYPE_BUTTON 0x08000000L
#define LDAP_SYN_TYPE_ACTION 0x10000000L
/*
* syntax options (confined to second most significant byte)
*/
#define LDAP_SYN_OPT_DEFER 0x00010000L
/*
* display template item syntax ids (defined by common agreement)
* these are the valid values for the ti_syntaxid of the tmplitem
* struct (defined below). A general type is encoded in the
* most-significant 8 bits, and some options are encoded in the next
* 8 bits. The lower 16 bits are reserved for the distinct types.
*/
#define LDAP_SYN_CASEIGNORESTR ( 1 | LDAP_SYN_TYPE_TEXT )
#define LDAP_SYN_MULTILINESTR ( 2 | LDAP_SYN_TYPE_TEXT )
#define LDAP_SYN_DN ( 3 | LDAP_SYN_TYPE_TEXT )
#define LDAP_SYN_BOOLEAN ( 4 | LDAP_SYN_TYPE_BOOLEAN )
#define LDAP_SYN_JPEGIMAGE ( 5 | LDAP_SYN_TYPE_IMAGE )
#define LDAP_SYN_JPEGBUTTON ( 6 | LDAP_SYN_TYPE_BUTTON | LDAP_SYN_OPT_DEFER )
#define LDAP_SYN_FAXIMAGE ( 7 | LDAP_SYN_TYPE_IMAGE )
#define LDAP_SYN_FAXBUTTON ( 8 | LDAP_SYN_TYPE_BUTTON | LDAP_SYN_OPT_DEFER )
#define LDAP_SYN_AUDIOBUTTON ( 9 | LDAP_SYN_TYPE_BUTTON | LDAP_SYN_OPT_DEFER )
#define LDAP_SYN_TIME ( 10 | LDAP_SYN_TYPE_TEXT )
#define LDAP_SYN_DATE ( 11 | LDAP_SYN_TYPE_TEXT )
#define LDAP_SYN_LABELEDURL ( 12 | LDAP_SYN_TYPE_TEXT )
#define LDAP_SYN_SEARCHACTION ( 13 | LDAP_SYN_TYPE_ACTION )
#define LDAP_SYN_LINKACTION ( 14 | LDAP_SYN_TYPE_ACTION )
#define LDAP_SYN_ADDDNACTION ( 15 | LDAP_SYN_TYPE_ACTION )
#define LDAP_SYN_VERIFYDNACTION ( 16 | LDAP_SYN_TYPE_ACTION )
#define LDAP_SYN_RFC822ADDR ( 17 | LDAP_SYN_TYPE_TEXT )
/*
* handy macros
*/
#define LDAP_GET_SYN_TYPE( syid ) ((syid) & 0xFF000000UL )
#define LDAP_GET_SYN_OPTIONS( syid ) ((syid) & 0x00FF0000UL )
/*
* display options for output routines (used by entry2text and friends)
*/
/*
* use calculated label width (based on length of longest label in
* template) instead of contant width
*/
#define LDAP_DISP_OPT_AUTOLABELWIDTH 0x00000001L
#define LDAP_DISP_OPT_HTMLBODYONLY 0x00000002L
/*
* perform search actions (applies to ldap_entry2text_search only)
*/
#define LDAP_DISP_OPT_DOSEARCHACTIONS 0x00000002L
/*
* include additional info. relevant to "non leaf" entries only
* used by ldap_entry2html and ldap_entry2html_search to include "Browse"
* and "Move Up" HREFs
*/
#define LDAP_DISP_OPT_NONLEAF 0x00000004L
/*
* display template item options (may not apply to all types)
* if this bit is set in ti_options, it applies.
*/
#define LDAP_DITEM_OPT_READONLY 0x00000001L
#define LDAP_DITEM_OPT_SORTVALUES 0x00000002L
#define LDAP_DITEM_OPT_SINGLEVALUED 0x00000004L
#define LDAP_DITEM_OPT_HIDEIFEMPTY 0x00000008L
#define LDAP_DITEM_OPT_VALUEREQUIRED 0x00000010L
#define LDAP_DITEM_OPT_HIDEIFFALSE 0x00000020L /* booleans only */
/*
* display template item structure
*/
struct ldap_tmplitem {
unsigned long ti_syntaxid;
unsigned long ti_options;
char *ti_attrname;
char *ti_label;
char **ti_args;
struct ldap_tmplitem *ti_next_in_row;
struct ldap_tmplitem *ti_next_in_col;
void *ti_appdata;
};
#define NULLTMPLITEM ((struct ldap_tmplitem *)0)
#define LDAP_SET_TMPLITEM_APPDATA( ti, datap ) \
(ti)->ti_appdata = (void *)(datap)
#define LDAP_GET_TMPLITEM_APPDATA( ti, type ) \
(type)((ti)->ti_appdata)
#define LDAP_IS_TMPLITEM_OPTION_SET( ti, option ) \
(((ti)->ti_options & option ) != 0 )
/*
* object class array structure
*/
struct ldap_oclist {
char **oc_objclasses;
struct ldap_oclist *oc_next;
};
#define NULLOCLIST ((struct ldap_oclist *)0)
/*
* add defaults list
*/
struct ldap_adddeflist {
int ad_source;
#define LDAP_ADSRC_CONSTANTVALUE 1
#define LDAP_ADSRC_ADDERSDN 2
char *ad_attrname;
char *ad_value;
struct ldap_adddeflist *ad_next;
};
#define NULLADLIST ((struct ldap_adddeflist *)0)
/*
* display template global options
* if this bit is set in dt_options, it applies.
*/
/*
* users should be allowed to try to add objects of these entries
*/
#define LDAP_DTMPL_OPT_ADDABLE 0x00000001L
/*
* users should be allowed to do "modify RDN" operation of these entries
*/
#define LDAP_DTMPL_OPT_ALLOWMODRDN 0x00000002L
/*
* this template is an alternate view, not a primary view
*/
#define LDAP_DTMPL_OPT_ALTVIEW 0x00000004L
/*
* display template structure
*/
struct ldap_disptmpl {
char *dt_name;
char *dt_pluralname;
char *dt_iconname;
unsigned long dt_options;
char *dt_authattrname;
char *dt_defrdnattrname;
char *dt_defaddlocation;
struct ldap_oclist *dt_oclist;
struct ldap_adddeflist *dt_adddeflist;
struct ldap_tmplitem *dt_items;
void *dt_appdata;
struct ldap_disptmpl *dt_next;
};
#define NULLDISPTMPL ((struct ldap_disptmpl *)0)
#define LDAP_SET_DISPTMPL_APPDATA( dt, datap ) \
(dt)->dt_appdata = (void *)(datap)
#define LDAP_GET_DISPTMPL_APPDATA( dt, type ) \
(type)((dt)->dt_appdata)
#define LDAP_IS_DISPTMPL_OPTION_SET( dt, option ) \
(((dt)->dt_options & option ) != 0 )
#define LDAP_TMPL_ERR_VERSION 1
#define LDAP_TMPL_ERR_MEM 2
#define LDAP_TMPL_ERR_SYNTAX 3
#define LDAP_TMPL_ERR_FILE 4
/*
* buffer size needed for entry2text and vals2text
*/
#define LDAP_DTMPL_BUFSIZ 8192
typedef int (*writeptype)( void *writeparm, char *p, int len );
LDAP_API(int)
LDAP_CALL
ldap_init_templates( char *file, struct ldap_disptmpl **tmpllistp );
LDAP_API(int)
LDAP_CALL
ldap_init_templates_buf( char *buf, long buflen,
struct ldap_disptmpl **tmpllistp );
LDAP_API(void)
LDAP_CALL
ldap_free_templates( struct ldap_disptmpl *tmpllist );
LDAP_API(struct ldap_disptmpl *)
LDAP_CALL
ldap_first_disptmpl( struct ldap_disptmpl *tmpllist );
LDAP_API(struct ldap_disptmpl *)
LDAP_CALL
ldap_next_disptmpl( struct ldap_disptmpl *tmpllist,
struct ldap_disptmpl *tmpl );
LDAP_API(struct ldap_disptmpl *)
LDAP_CALL
ldap_name2template( char *name, struct ldap_disptmpl *tmpllist );
LDAP_API(struct ldap_disptmpl *)
LDAP_CALL
ldap_oc2template( char **oclist, struct ldap_disptmpl *tmpllist );
LDAP_API(char **)
LDAP_CALL
ldap_tmplattrs( struct ldap_disptmpl *tmpl, char **includeattrs, int exclude,
unsigned long syntaxmask );
LDAP_API(struct ldap_tmplitem *)
LDAP_CALL
ldap_first_tmplrow( struct ldap_disptmpl *tmpl );
LDAP_API(struct ldap_tmplitem *)
LDAP_CALL
ldap_next_tmplrow( struct ldap_disptmpl *tmpl, struct ldap_tmplitem *row );
LDAP_API(struct ldap_tmplitem *)
LDAP_CALL
ldap_first_tmplcol( struct ldap_disptmpl *tmpl, struct ldap_tmplitem *row );
LDAP_API(struct ldap_tmplitem *)
LDAP_CALL
ldap_next_tmplcol( struct ldap_disptmpl *tmpl, struct ldap_tmplitem *row,
struct ldap_tmplitem *col );
LDAP_API(int)
LDAP_CALL
ldap_entry2text( LDAP *ld, char *buf, LDAPMessage *entry,
struct ldap_disptmpl *tmpl, char **defattrs, char ***defvals,
writeptype writeproc, void *writeparm, char *eol, int rdncount,
unsigned long opts );
LDAP_API(int)
LDAP_CALL
ldap_vals2text( LDAP *ld, char *buf, char **vals, char *label, int labelwidth,
unsigned long syntaxid, writeptype writeproc, void *writeparm,
char *eol, int rdncount );
LDAP_API(int)
LDAP_CALL
ldap_entry2text_search( LDAP *ld, char *dn, char *base, LDAPMessage *entry,
struct ldap_disptmpl *tmpllist, char **defattrs, char ***defvals,
writeptype writeproc, void *writeparm, char *eol, int rdncount,
unsigned long opts );
LDAP_API(int)
LDAP_CALL
ldap_entry2html( LDAP *ld, char *buf, LDAPMessage *entry,
struct ldap_disptmpl *tmpl, char **defattrs, char ***defvals,
writeptype writeproc, void *writeparm, char *eol, int rdncount,
unsigned long opts, char *urlprefix, char *base );
LDAP_API(int)
LDAP_CALL
ldap_vals2html( LDAP *ld, char *buf, char **vals, char *label, int labelwidth,
unsigned long syntaxid, writeptype writeproc, void *writeparm,
char *eol, int rdncount, char *urlprefix );
LDAP_API(int)
LDAP_CALL
ldap_entry2html_search( LDAP *ld, char *dn, char *base, LDAPMessage *entry,
struct ldap_disptmpl *tmpllist, char **defattrs, char ***defvals,
writeptype writeproc, void *writeparm, char *eol, int rdncount,
unsigned long opts, char *urlprefix );
LDAP_API(char *)
LDAP_CALL
ldap_tmplerr2string( int err );
#ifdef __cplusplus
}
#endif
#endif /* _DISPTMPL_H */

View File

@@ -1,272 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*/
/* lber.h - header file for ber_* functions */
#ifndef _LBER_H
#define _LBER_H
#ifdef __cplusplus
extern "C" {
#endif
#include <stdlib.h> /* to pick up size_t typedef */
/*
* Note that LBER_ERROR and LBER_DEFAULT are values that can never appear
* as valid BER tags, and so it is safe to use them to report errors. In
* fact, any tag for which the following is true is invalid:
* (( tag & 0x00000080 ) != 0 ) && (( tag & 0xFFFFFF00 ) != 0 )
*/
#define LBER_ERROR 0xffffffffUL
#define LBER_DEFAULT 0xffffffffUL
#define LBER_END_OF_SEQORSET 0xfffffffeUL
/* BER classes and mask */
#define LBER_CLASS_UNIVERSAL 0x00
#define LBER_CLASS_APPLICATION 0x40
#define LBER_CLASS_CONTEXT 0x80
#define LBER_CLASS_PRIVATE 0xc0
#define LBER_CLASS_MASK 0xc0
/* BER encoding type and mask */
#define LBER_PRIMITIVE 0x00
#define LBER_CONSTRUCTED 0x20
#define LBER_ENCODING_MASK 0x20
#define LBER_BIG_TAG_MASK 0x1f
#define LBER_MORE_TAG_MASK 0x80
/* general BER types we know about */
#define LBER_BOOLEAN 0x01L
#define LBER_INTEGER 0x02L
#define LBER_BITSTRING 0x03L
#define LBER_OCTETSTRING 0x04L
#define LBER_NULL 0x05L
#define LBER_ENUMERATED 0x0aL
#define LBER_SEQUENCE 0x30L
#define LBER_SET 0x31L
/* BerElement set/get options */
#define LBER_OPT_REMAINING_BYTES 0x01
#define LBER_OPT_TOTAL_BYTES 0x02
#define LBER_OPT_USE_DER 0x04
#define LBER_OPT_TRANSLATE_STRINGS 0x08
#define LBER_OPT_BYTES_TO_WRITE 0x10
#define LBER_OPT_MEMALLOC_FN_PTRS 0x20
#define LBER_OPT_DEBUG_LEVEL 0x40
/*
* LBER_USE_DER is defined for compatibility with the C LDAP API RFC.
* In our implementation, we recognize it (instead of the numerically
* identical LBER_OPT_REMAINING_BYTES) in calls to ber_alloc_t() and
* ber_init_w_nullchar() only. Callers of ber_set_option() or
* ber_get_option() must use LBER_OPT_USE_DER instead. Sorry!
*/
#define LBER_USE_DER 0x01
/* Sockbuf set/get options */
#define LBER_SOCKBUF_OPT_TO_FILE 0x001
#define LBER_SOCKBUF_OPT_TO_FILE_ONLY 0x002
#define LBER_SOCKBUF_OPT_MAX_INCOMING_SIZE 0x004
#define LBER_SOCKBUF_OPT_NO_READ_AHEAD 0x008
#define LBER_SOCKBUF_OPT_DESC 0x010
#define LBER_SOCKBUF_OPT_COPYDESC 0x020
#define LBER_SOCKBUF_OPT_READ_FN 0x040
#define LBER_SOCKBUF_OPT_WRITE_FN 0x080
#define LBER_OPT_ON ((void *) 1)
#define LBER_OPT_OFF ((void *) 0)
typedef struct berval {
unsigned long bv_len;
char *bv_val;
} BerValue;
typedef struct berelement BerElement;
typedef struct sockbuf Sockbuf;
typedef int (*BERTranslateProc)( char **bufp, unsigned long *buflenp,
int free_input );
#ifndef macintosh
#if defined( _WINDOWS ) || defined( _WIN32) || defined( _CONSOLE )
#include <winsock.h> /* for SOCKET */
typedef SOCKET LBER_SOCKET;
#else
typedef int LBER_SOCKET;
#endif /* _WINDOWS */
#else /* macintosh */
typedef void *LBER_SOCKET;
#endif /* macintosh */
/* calling conventions used by library */
#ifndef LDAP_CALL
#if defined( _WINDOWS ) || defined( _WIN32 )
#define LDAP_C __cdecl
#ifndef _WIN32
#define __stdcall _far _pascal
#define LDAP_CALLBACK _loadds
#else
#define LDAP_CALLBACK
#endif /* _WIN32 */
#define LDAP_PASCAL __stdcall
#define LDAP_CALL LDAP_PASCAL
#else /* _WINDOWS */
#define LDAP_C
#define LDAP_CALLBACK
#define LDAP_PASCAL
#define LDAP_CALL
#endif /* _WINDOWS */
#endif /* LDAP_CALL */
/*
* function prototypes for lber library
*/
#ifndef LDAP_API
#if defined( _WINDOWS ) || defined( _WIN32 )
#define LDAP_API(rt) rt
#else /* _WINDOWS */
#define LDAP_API(rt) rt
#endif /* _WINDOWS */
#endif /* LDAP_API */
/*
* libldap read and write I/O function callbacks. The rest of the I/O callback
* types are in ldap.h
*/
typedef int (LDAP_C LDAP_CALLBACK LDAP_IOF_READ_CALLBACK)( LBER_SOCKET,
void *, int );
typedef int (LDAP_C LDAP_CALLBACK LDAP_IOF_WRITE_CALLBACK)( LBER_SOCKET,
const void *, int );
/*
* liblber memory allocation callback functions. These are global to all
* Sockbufs and BerElements. Install your own functions by using a call
* like this: ber_set_option( NULL, LBER_OPT_MEMALLOC_FN_PTRS, &memalloc_fns );
*/
typedef void * (LDAP_C LDAP_CALLBACK LDAP_MALLOC_CALLBACK)( size_t size );
typedef void * (LDAP_C LDAP_CALLBACK LDAP_CALLOC_CALLBACK)( size_t nelem,
size_t elsize );
typedef void * (LDAP_C LDAP_CALLBACK LDAP_REALLOC_CALLBACK)( void *ptr,
size_t size );
typedef void (LDAP_C LDAP_CALLBACK LDAP_FREE_CALLBACK)( void *ptr );
struct lber_memalloc_fns {
LDAP_MALLOC_CALLBACK *lbermem_malloc;
LDAP_CALLOC_CALLBACK *lbermem_calloc;
LDAP_REALLOC_CALLBACK *lbermem_realloc;
LDAP_FREE_CALLBACK *lbermem_free;
};
/*
* decode routines
*/
LDAP_API(unsigned long) LDAP_CALL ber_get_tag( BerElement *ber );
LDAP_API(unsigned long) LDAP_CALL ber_skip_tag( BerElement *ber,
unsigned long *len );
LDAP_API(unsigned long) LDAP_CALL ber_peek_tag( BerElement *ber,
unsigned long *len );
LDAP_API(unsigned long) LDAP_CALL ber_get_int( BerElement *ber, long *num );
LDAP_API(unsigned long) LDAP_CALL ber_get_stringb( BerElement *ber, char *buf,
unsigned long *len );
LDAP_API(unsigned long) LDAP_CALL ber_get_stringa( BerElement *ber,
char **buf );
LDAP_API(unsigned long) LDAP_CALL ber_get_stringal( BerElement *ber,
struct berval **bv );
LDAP_API(unsigned long) LDAP_CALL ber_get_bitstringa( BerElement *ber,
char **buf, unsigned long *len );
LDAP_API(unsigned long) LDAP_CALL ber_get_null( BerElement *ber );
LDAP_API(unsigned long) LDAP_CALL ber_get_boolean( BerElement *ber,
int *boolval );
LDAP_API(unsigned long) LDAP_CALL ber_first_element( BerElement *ber,
unsigned long *len, char **last );
LDAP_API(unsigned long) LDAP_CALL ber_next_element( BerElement *ber,
unsigned long *len, char *last );
LDAP_API(unsigned long) LDAP_C ber_scanf( BerElement *ber, const char *fmt,
... );
LDAP_API(void) LDAP_CALL ber_bvfree( struct berval *bv );
LDAP_API(void) LDAP_CALL ber_bvecfree( struct berval **bv );
LDAP_API(struct berval *) LDAP_CALL ber_bvdup( const struct berval *bv );
LDAP_API(void) LDAP_CALL ber_set_string_translators( BerElement *ber,
BERTranslateProc encode_proc, BERTranslateProc decode_proc );
LDAP_API(BerElement *) LDAP_CALL ber_init( const struct berval *bv );
/*
* encoding routines
*/
LDAP_API(int) LDAP_CALL ber_put_enum( BerElement *ber, long num,
unsigned long tag );
LDAP_API(int) LDAP_CALL ber_put_int( BerElement *ber, long num,
unsigned long tag );
LDAP_API(int) LDAP_CALL ber_put_ostring( BerElement *ber, char *str,
unsigned long len, unsigned long tag );
LDAP_API(int) LDAP_CALL ber_put_string( BerElement *ber, char *str,
unsigned long tag );
LDAP_API(int) LDAP_CALL ber_put_bitstring( BerElement *ber, char *str,
unsigned long bitlen, unsigned long tag );
LDAP_API(int) LDAP_CALL ber_put_null( BerElement *ber, unsigned long tag );
LDAP_API(int) LDAP_CALL ber_put_boolean( BerElement *ber, int boolval,
unsigned long tag );
LDAP_API(int) LDAP_CALL ber_start_seq( BerElement *ber, unsigned long tag );
LDAP_API(int) LDAP_CALL ber_start_set( BerElement *ber, unsigned long tag );
LDAP_API(int) LDAP_CALL ber_put_seq( BerElement *ber );
LDAP_API(int) LDAP_CALL ber_put_set( BerElement *ber );
LDAP_API(int) LDAP_C ber_printf( BerElement *ber, const char *fmt, ... );
LDAP_API(int) LDAP_CALL ber_flatten( BerElement *ber,
struct berval **bvPtr );
/*
* miscellaneous routines
*/
LDAP_API(void) LDAP_CALL ber_free( BerElement *ber, int freebuf );
LDAP_API(void) LDAP_CALL ber_special_free(void* buf, BerElement *ber);
LDAP_API(int) LDAP_CALL ber_flush( Sockbuf *sb, BerElement *ber, int freeit );
LDAP_API(BerElement*) LDAP_CALL ber_alloc( void );
LDAP_API(BerElement*) LDAP_CALL der_alloc( void );
LDAP_API(BerElement*) LDAP_CALL ber_alloc_t( int options );
LDAP_API(void*) LDAP_CALL ber_special_alloc(size_t size, BerElement **ppBer);
LDAP_API(BerElement*) LDAP_CALL ber_dup( BerElement *ber );
LDAP_API(unsigned long) LDAP_CALL ber_get_next( Sockbuf *sb, unsigned long *len,
BerElement *ber );
LDAP_API(unsigned long) LDAP_CALL ber_get_next_buffer( void *buffer,
size_t buffer_size, unsigned long *len, BerElement *ber,
unsigned long *Bytes_Scanned );
LDAP_API(long) LDAP_CALL ber_read( BerElement *ber, char *buf,
unsigned long len );
LDAP_API(long) LDAP_CALL ber_write( BerElement *ber, char *buf,
unsigned long len, int nosos );
LDAP_API(void) LDAP_CALL ber_init_w_nullchar( BerElement *ber, int options );
LDAP_API(void) LDAP_CALL ber_reset( BerElement *ber, int was_writing );
LDAP_API(int) LDAP_CALL ber_set_option( BerElement *ber, int option,
void *value );
LDAP_API(int) LDAP_CALL ber_get_option( BerElement *ber, int option,
void *value );
LDAP_API(Sockbuf*) LDAP_CALL ber_sockbuf_alloc( void );
LDAP_API(void) LDAP_CALL ber_sockbuf_free( Sockbuf* p );
LDAP_API(int) LDAP_CALL ber_sockbuf_set_option( Sockbuf *sb, int option,
void *value );
LDAP_API(int) LDAP_CALL ber_sockbuf_get_option( Sockbuf *sb, int option,
void *value );
#ifdef __cplusplus
}
#endif
#endif /* _LBER_H */

View File

@@ -1,57 +0,0 @@
/* lcache.h - ldap persistent cache */
#ifndef _LCACHE_H
#define _LCACHE_H
#ifdef __cplusplus
extern "C" {
#endif
/* calling conventions used by library */
#ifndef LDAP_CALL
#if defined( _WINDOWS ) || defined( _WIN32 )
#define LDAP_C __cdecl
#ifndef _WIN32
#define __stdcall _far _pascal
#define LDAP_CALLBACK _loadds
#else
#define LDAP_CALLBACK
#endif /* _WIN32 */
#define LDAP_PASCAL __stdcall
#define LDAP_CALL LDAP_PASCAL
#else /* _WINDOWS */
#define LDAP_C
#define LDAP_CALLBACK
#define LDAP_PASCAL
#define LDAP_CALL
#endif /* _WINDOWS */
#endif /* LDAP_CALL */
LDAP_API(int) LDAP_C lcache_init( LDAP *ld, void *arg );
LDAP_API(int) LDAP_C lcache_bind( LDAP *ld, int msgid, unsigned long tag,
const char *dn, struct berval *cred, int method );
LDAP_API(int) LDAP_C lcache_unbind( LDAP *ld, int msgid, unsigned long tag );
LDAP_API(int) LDAP_C lcache_search( LDAP *ld, int msgid, unsigned long tag,
const char *dn, int scope, const char *filter, char **attrs,
int attrsonly );
LDAP_API(int) LDAP_C lcache_compare( LDAP *ld, int msgid, unsigned long tag,
const char *dn, const char *attr, struct berval *val );
LDAP_API(int) LDAP_C lcache_add( LDAP *ld, int msgid, unsigned long tag,
const char *dn, LDAPMod **entry );
LDAP_API(int) LDAP_C lcache_delete( LDAP *ld, int msgid, unsigned long tag,
const char *dn );
LDAP_API(int) LDAP_C lcache_rename( LDAP *ld, int msgid, unsigned long tag,
const char *dn, const char *newrdn, const char *newparent,
int deleteoldrdn );
LDAP_API(int) LDAP_C lcache_modify( LDAP *ld, int msgid, unsigned long tag,
const char *dn, LDAPMod **mods );
LDAP_API(int) LDAP_C lcache_modrdn( LDAP *ld, int msgid, unsigned long tag,
const char *dn, const char *newrdn, int deleteoldrdn );
LDAP_API(int) LDAP_C lcache_result( LDAP *ld, int msgid, int all,
struct timeval *timeout, LDAPMessage **result );
LDAP_API(int) LDAP_C lcache_flush( LDAP *ld, char *dn, char *filter );
#ifdef __cplusplus
}
#endif
#endif /* _LCACHE_H */

File diff suppressed because it is too large Load Diff

View File

@@ -1,68 +0,0 @@
#ifndef _LDAPLOG_H
#define _LDAPLOG_H
#ifdef __cplusplus
extern "C" {
#endif
#define LDAP_DEBUG_TRACE 0x00001
#define LDAP_DEBUG_PACKETS 0x00002
#define LDAP_DEBUG_ARGS 0x00004
#define LDAP_DEBUG_CONNS 0x00008
#define LDAP_DEBUG_BER 0x00010
#define LDAP_DEBUG_FILTER 0x00020
#define LDAP_DEBUG_CONFIG 0x00040
#define LDAP_DEBUG_ACL 0x00080
#define LDAP_DEBUG_STATS 0x00100
#define LDAP_DEBUG_STATS2 0x00200
#define LDAP_DEBUG_SHELL 0x00400
#define LDAP_DEBUG_PARSE 0x00800
#define LDAP_DEBUG_HOUSE 0x01000
#define LDAP_DEBUG_REPL 0x02000
#define LDAP_DEBUG_ANY 0x04000
#define LDAP_DEBUG_CACHE 0x08000
#define LDAP_DEBUG_PLUGIN 0x10000
/* debugging stuff */
/* Disable by default */
#define LDAPDebug( level, fmt, arg1, arg2, arg3 )
#ifdef LDAP_DEBUG
# undef LDAPDebug
/* SLAPD_LOGGING should not be on for WINSOCK (16-bit Windows) */
# if defined(SLAPD_LOGGING)
# ifdef _WIN32
extern int *module_ldap_debug;
# define LDAPDebug( level, fmt, arg1, arg2, arg3 ) \
{ \
if ( *module_ldap_debug & level ) { \
slapd_log_error_proc( NULL, fmt, arg1, arg2, arg3 ); \
} \
}
# else /* _WIN32 */
extern int ldap_debug;
# define LDAPDebug( level, fmt, arg1, arg2, arg3 ) \
{ \
if ( ldap_debug & level ) { \
slapd_log_error_proc( NULL, fmt, arg1, arg2, arg3 ); \
} \
}
# endif /* Win32 */
# else /* no SLAPD_LOGGING */
extern void ber_err_print( char * );
extern int ldap_debug;
# define LDAPDebug( level, fmt, arg1, arg2, arg3 ) \
if ( ldap_debug & level ) { \
char msg[256]; \
sprintf( msg, fmt, arg1, arg2, arg3 ); \
ber_err_print( msg ); \
}
# endif /* SLAPD_LOGGING */
#endif /* LDAP_DEBUG */
#ifdef __cplusplus
}
#endif
#endif /* _LDAP_H */

View File

@@ -1,158 +0,0 @@
#ifndef _LDAPROT_H
#define _LDAPROT_H
#ifdef __cplusplus
extern "C" {
#endif
#define LDAP_VERSION1 1
#define LDAP_VERSION2 2
#define LDAP_VERSION3 3
#define LDAP_VERSION LDAP_VERSION2
#define COMPAT20
#define COMPAT30
#if defined(COMPAT20) || defined(COMPAT30)
#define COMPAT
#endif
#define LDAP_URL_PREFIX "ldap://"
#define LDAP_URL_PREFIX_LEN 7
#define LDAPS_URL_PREFIX "ldaps://"
#define LDAPS_URL_PREFIX_LEN 8
#define LDAP_REF_STR "Referral:\n"
#define LDAP_REF_STR_LEN 10
/*
* specific LDAP instantiations of BER types we know about
*/
/* general stuff */
#define LDAP_TAG_MESSAGE 0x30L /* tag is 16 + constructed bit */
#define OLD_LDAP_TAG_MESSAGE 0x10L /* forgot the constructed bit */
#define LDAP_TAG_MSGID 0x02L /* INTEGER */
#define LDAP_TAG_LDAPDN 0x04L /* OCTET STRING */
#define LDAP_TAG_CONTROLS 0xa0L /* context specific + constructed + 0 */
#define LDAP_TAG_REFERRAL 0xa3L /* context specific + constructed */
#define LDAP_TAG_NEWSUPERIOR 0x80L /* context specific + primitive */
#define LDAP_TAG_MRA_OID 0x81L /* context specific + primitive */
#define LDAP_TAG_MRA_TYPE 0x82L /* context specific + primitive */
#define LDAP_TAG_MRA_VALUE 0x83L /* context specific + primitive */
#define LDAP_TAG_MRA_DNATTRS 0x84L /* context specific + primitive */
#define LDAP_TAG_EXOP_REQ_OID 0x80L /* context specific + primitive */
#define LDAP_TAG_EXOP_REQ_VALUE 0x81L /* context specific + primitive */
#define LDAP_TAG_EXOP_RES_OID 0x8aL /* context specific + primitive */
#define LDAP_TAG_EXOP_RES_VALUE 0x8bL /* context specific + primitive */
#define LDAP_TAG_SK_MATCHRULE 0x80L /* context specific + primitive */
#define LDAP_TAG_SK_REVERSE 0x81L /* context specific + primitive */
#define LDAP_TAG_SR_ATTRTYPE 0x80L /* context specific + primitive */
#define LDAP_TAG_SASL_RES_CREDS 0x87L /* context specific + primitive */
#define LDAP_TAG_VLV_BY_INDEX 0xa0L /* context specific + constructed + 0 */
#define LDAP_TAG_VLV_BY_VALUE 0x81L /* context specific + primitive + 1 */
/* possible operations a client can invoke */
#define LDAP_REQ_BIND 0x60L /* application + constructed */
#define LDAP_REQ_UNBIND 0x42L /* application + primitive */
#define LDAP_REQ_SEARCH 0x63L /* application + constructed */
#define LDAP_REQ_MODIFY 0x66L /* application + constructed */
#define LDAP_REQ_ADD 0x68L /* application + constructed */
#define LDAP_REQ_DELETE 0x4aL /* application + primitive */
#define LDAP_REQ_MODRDN 0x6cL /* application + constructed */
#define LDAP_REQ_MODDN 0x6cL /* application + constructed */
#define LDAP_REQ_RENAME 0x6cL /* application + constructed */
#define LDAP_REQ_COMPARE 0x6eL /* application + constructed */
#define LDAP_REQ_ABANDON 0x50L /* application + primitive */
#define LDAP_REQ_EXTENDED 0x77L /* application + constructed */
/* U-M LDAP release 3.0 compatibility stuff */
#define LDAP_REQ_UNBIND_30 0x62L
#define LDAP_REQ_DELETE_30 0x6aL
#define LDAP_REQ_ABANDON_30 0x70L
/*
* old broken stuff for backwards compatibility - forgot application tag
* and constructed/primitive bit
*/
#define OLD_LDAP_REQ_BIND 0x00L
#define OLD_LDAP_REQ_UNBIND 0x02L
#define OLD_LDAP_REQ_SEARCH 0x03L
#define OLD_LDAP_REQ_MODIFY 0x06L
#define OLD_LDAP_REQ_ADD 0x08L
#define OLD_LDAP_REQ_DELETE 0x0aL
#define OLD_LDAP_REQ_MODRDN 0x0cL
#define OLD_LDAP_REQ_MODDN 0x0cL
#define OLD_LDAP_REQ_COMPARE 0x0eL
#define OLD_LDAP_REQ_ABANDON 0x10L
/* old broken stuff for backwards compatibility */
#define OLD_LDAP_RES_BIND 0x01L
#define OLD_LDAP_RES_SEARCH_ENTRY 0x04L
#define OLD_LDAP_RES_SEARCH_RESULT 0x05L
#define OLD_LDAP_RES_MODIFY 0x07L
#define OLD_LDAP_RES_ADD 0x09L
#define OLD_LDAP_RES_DELETE 0x0bL
#define OLD_LDAP_RES_MODRDN 0x0dL
#define OLD_LDAP_RES_MODDN 0x0dL
#define OLD_LDAP_RES_COMPARE 0x0fL
/* 3.0 compatibility auth methods */
#define LDAP_AUTH_SIMPLE_30 0xa0L /* context specific + constructed */
#define LDAP_AUTH_KRBV41_30 0xa1L /* context specific + constructed */
#define LDAP_AUTH_KRBV42_30 0xa2L /* context specific + constructed */
/* old broken stuff */
#define OLD_LDAP_AUTH_SIMPLE 0x00L
#define OLD_LDAP_AUTH_KRBV4 0x01L
#define OLD_LDAP_AUTH_KRBV42 0x02L
/* 3.0 compatibility filter types */
#define LDAP_FILTER_PRESENT_30 0xa7L /* context specific + constructed */
/* filter types */
#define LDAP_FILTER_AND 0xa0L /* context specific + constructed */
#define LDAP_FILTER_OR 0xa1L /* context specific + constructed */
#define LDAP_FILTER_NOT 0xa2L /* context specific + constructed */
#define LDAP_FILTER_EQUALITY 0xa3L /* context specific + constructed */
#define LDAP_FILTER_SUBSTRINGS 0xa4L /* context specific + constructed */
#define LDAP_FILTER_GE 0xa5L /* context specific + constructed */
#define LDAP_FILTER_LE 0xa6L /* context specific + constructed */
#define LDAP_FILTER_PRESENT 0x87L /* context specific + primitive */
#define LDAP_FILTER_APPROX 0xa8L /* context specific + constructed */
#define LDAP_FILTER_EXTENDED 0xa9L /* context specific + constructed */
/* old broken stuff */
#define OLD_LDAP_FILTER_AND 0x00L
#define OLD_LDAP_FILTER_OR 0x01L
#define OLD_LDAP_FILTER_NOT 0x02L
#define OLD_LDAP_FILTER_EQUALITY 0x03L
#define OLD_LDAP_FILTER_SUBSTRINGS 0x04L
#define OLD_LDAP_FILTER_GE 0x05L
#define OLD_LDAP_FILTER_LE 0x06L
#define OLD_LDAP_FILTER_PRESENT 0x07L
#define OLD_LDAP_FILTER_APPROX 0x08L
/* substring filter component types */
#define LDAP_SUBSTRING_INITIAL 0x80L /* context specific */
#define LDAP_SUBSTRING_ANY 0x81L /* context specific */
#define LDAP_SUBSTRING_FINAL 0x82L /* context specific */
/* extended filter component types */
#define LDAP_FILTER_EXTENDED_OID 0x81L /* context specific */
#define LDAP_FILTER_EXTENDED_TYPE 0x82L /* context specific */
#define LDAP_FILTER_EXTENDED_VALUE 0x83L /* context specific */
#define LDAP_FILTER_EXTENDED_DNATTRS 0x84L /* context specific */
/* 3.0 compatibility substring filter component types */
#define LDAP_SUBSTRING_INITIAL_30 0xa0L /* context specific */
#define LDAP_SUBSTRING_ANY_30 0xa1L /* context specific */
#define LDAP_SUBSTRING_FINAL_30 0xa2L /* context specific */
/* old broken stuff */
#define OLD_LDAP_SUBSTRING_INITIAL 0x00L
#define OLD_LDAP_SUBSTRING_ANY 0x01L
#define OLD_LDAP_SUBSTRING_FINAL 0x02L
#ifdef __cplusplus
}
#endif
#endif /* _LDAPROT_H */

View File

@@ -1,57 +0,0 @@
/*
* Copyright (c) 1996 Regents of the University of Michigan.
* All rights reserved.
*
* Redistribution and use in source and binary forms are permitted
* provided that this notice is preserved and that due credit is given
* to the University of Michigan at Ann Arbor. The name of the University
* may not be used to endorse or promote products derived from this
* software without specific prior written permission. This software
* is provided ``as is'' without express or implied warranty.
*/
#ifndef _LDIF_H
#define _LDIF_H
#ifdef __cplusplus
extern "C" {
#endif
#define LDIF_MAX_LINE_WIDTH 76 /* maximum length of LDIF lines */
/*
* Macro to calculate maximum number of bytes that the base64 equivalent
* of an item that is "vlen" bytes long will take up. Base64 encoding
* uses one byte for every six bits in the value plus up to two pad bytes.
*/
#define LDIF_BASE64_LEN(vlen) (((vlen) * 4 / 3 ) + 3)
/*
* Macro to calculate maximum size that an LDIF-encoded type (length
* tlen) and value (length vlen) will take up: room for type + ":: " +
* first newline + base64 value + continued lines. Each continued line
* needs room for a newline and a leading space character.
*/
#define LDIF_SIZE_NEEDED(tlen,vlen) \
((tlen) + 4 + LDIF_BASE64_LEN(vlen) \
+ ((LDIF_BASE64_LEN(vlen) + tlen + 3) / LDIF_MAX_LINE_WIDTH * 2 ))
int ldif_parse_line( char *line, char **type, char **value, int *vlen);
char * ldif_getline( char **next );
void ldif_put_type_and_value( char **out, char *t, char *val, int vlen );
void ldif_put_type_and_value_nowrap( char **out, char *t, char *val, int vlen );
char *ldif_type_and_value( char *type, char *val, int vlen );
char *ldif_type_and_value_nowrap( char *type, char *val, int vlen );
int ldif_base64_decode( char *src, unsigned char *dst );
int ldif_base64_encode( unsigned char *src, char *dst, int srclen,
int lenused );
int ldif_base64_encode_nowrap( unsigned char *src, char *dst, int srclen,
int lenused );
char *ldif_get_entry( FILE *fp, int *lineno );
#ifdef __cplusplus
}
#endif
#endif /* _LDIF_H */

View File

@@ -1,404 +0,0 @@
/*
* Copyright (c) 1994 Regents of the University of Michigan.
* All rights reserved.
*
* Redistribution and use in source and binary forms are permitted
* provided that this notice is preserved and that due credit is given
* to the University of Michigan at Ann Arbor. The name of the University
* may not be used to endorse or promote products derived from this
* software without specific prior written permission. This software
* is provided ``as is'' without express or implied warranty.
*/
#ifndef _PORTABLE_H
#define _PORTABLE_H
/*
* portable.h for LDAP -- this is where we define common stuff to make
* life easier on various Unix systems.
*
* Unless you are porting LDAP to a new platform, you should not need to
* edit this file.
*/
#if defined(LINUX) || defined ( linux )
#define LINUX2_1
#endif
#ifndef SYSV
#if defined( hpux ) || defined( sunos5 ) || defined ( sgi ) || defined( SVR4 )
#define SYSV
#endif
#endif
/*
* under System V, use sysconf() instead of getdtablesize
*/
#if !defined( USE_SYSCONF ) && defined( SYSV )
#define USE_SYSCONF
#endif
/*
* under System V, daemons should use setsid() instead of detaching from their
* tty themselves
*/
#if !defined( USE_SETSID ) && defined( SYSV )
#define USE_SETSID
#endif
/*
* System V has socket options in filio.h
*/
#if !defined( NEED_FILIO ) && defined( SYSV ) && !defined( hpux ) && !defined( AIX )
#define NEED_FILIO
#endif
/*
* use lockf() under System V
*/
#if !defined( USE_LOCKF ) && ( defined( SYSV ) || defined( aix ))
#define USE_LOCKF
#endif
/*
* on many systems, we should use waitpid() instead of waitN()
*/
#if !defined( USE_WAITPID ) && ( defined( SYSV ) || defined( sunos4 ) || defined( ultrix ) || defined( aix ))
#define USE_WAITPID
#endif
/*
* define the wait status argument type
*/
#if ( defined( SunOS ) && SunOS < 40 ) || defined( nextstep )
#define WAITSTATUSTYPE union wait
#else
#define WAITSTATUSTYPE int
#endif
/*
* define the flags for wait
*/
#ifdef sunos5
#define WAIT_FLAGS ( WNOHANG | WUNTRACED | WCONTINUED )
#else
#define WAIT_FLAGS ( WNOHANG | WUNTRACED )
#endif
/*
* defined the options for openlog (syslog)
*/
#ifdef ultrix
#define OPENLOG_OPTIONS LOG_PID
#else
#define OPENLOG_OPTIONS ( LOG_PID | LOG_NOWAIT )
#endif
/*
* some systems don't have the BSD re_comp and re_exec routines
*/
#ifndef NEED_BSDREGEX
#if ( defined( SYSV ) || defined( VMS ) || defined( netbsd ) || defined( freebsd ) || defined( linux ) || defined( DARWIN )) && !defined(sgi)
#define NEED_BSDREGEX
#endif
#endif
/*
* many systems do not have the setpwfile() library routine... we just
* enable use for those systems we know have it.
*/
#ifndef HAVE_SETPWFILE
#if defined( sunos4 ) || defined( ultrix ) || defined( OSF1 )
#define HAVE_SETPWFILE
#endif
#endif
/*
* Are sys_errlist and sys_nerr declared in stdio.h?
*/
#ifndef SYSERRLIST_IN_STDIO
#if defined( freebsd )
#define SYSERRLIST_IN_STDIO
#endif
#endif
/*
* Async IO. Use a non blocking implementation of connect() and
* dns functions
*/
#if !defined(LDAP_ASYNC_IO)
#if !defined(_WINDOWS) && !defined(macintosh)
#define LDAP_ASYNC_IO
#endif /* _WINDOWS */
#endif
/*
* for select()
*/
#if !defined(WINSOCK) && !defined(_WINDOWS) && !defined(macintosh) && !defined(XP_OS2)
#if defined(HPUX) || defined(LINUX) || defined(SUNOS4) || defined(XP_BEOS)
#include <sys/time.h>
#else
#include <sys/select.h>
#endif
#if !defined(FD_SET)
#define NFDBITS 32
#define FD_SETSIZE 32
#define FD_SET(n, p) ((p)->fds_bits[(n)/NFDBITS] |= (1 << ((n) % NFDBITS)))
#define FD_CLR(n, p) ((p)->fds_bits[(n)/NFDBITS] &= ~(1 << ((n) % NFDBITS)))
#define FD_ISSET(n, p) ((p)->fds_bits[(n)/NFDBITS] & (1 << ((n) % NFDBITS)))
#define FD_ZERO(p) bzero((char *)(p), sizeof(*(p)))
#endif /* !FD_SET */
#endif /* !WINSOCK && !_WINDOWS && !macintosh */
/*
* for connect() -- must we block signals when calling connect()? This
* is necessary on some buggy UNIXes.
*/
#if !defined(LDAP_CONNECT_MUST_NOT_BE_INTERRUPTED) && \
( defined(AIX) || defined(IRIX) || defined(HPUX) || defined(SUNOS4) \
|| defined(SOLARIS) || defined(OSF1) ||defined(freebsd))
#define LDAP_CONNECT_MUST_NOT_BE_INTERRUPTED
#endif
/*
* for signal() -- what do signal handling functions return?
*/
#ifndef SIG_FN
#ifdef sunos5
# define SIG_FN void /* signal-catching functions return void */
#else /* sunos5 */
# ifdef BSD
# if (BSD >= 199006) || defined(NeXT) || defined(OSF1) || defined(sun) || defined(ultrix) || defined(apollo) || defined(POSIX_SIGNALS)
# define SIG_FN void /* signal-catching functions return void */
# else
# define SIG_FN int /* signal-catching functions return int */
# endif
# else /* BSD */
# define SIG_FN void /* signal-catching functions return void */
# endif /* BSD */
#endif /* sunos5 */
#endif /* SIG_FN */
/*
* toupper and tolower macros are different under bsd and sys v
*/
#if defined( SYSV ) && !defined( hpux )
#define TOUPPER(c) (isascii(c) && islower(c) ? _toupper(c) : c)
#define TOLOWER(c) (isascii(c) && isupper(c) ? _tolower(c) : c)
#else
#define TOUPPER(c) (isascii(c) && islower(c) ? toupper(c) : c)
#define TOLOWER(c) (isascii(c) && isupper(c) ? tolower(c) : c)
#endif
/*
* put a cover on the tty-related ioctl calls we need to use
*/
#if defined( NeXT ) || (defined(SunOS) && SunOS < 40)
#define TERMIO_TYPE struct sgttyb
#define TERMFLAG_TYPE int
#define GETATTR( fd, tiop ) ioctl((fd), TIOCGETP, (caddr_t)(tiop))
#define SETATTR( fd, tiop ) ioctl((fd), TIOCSETP, (caddr_t)(tiop))
#define GETFLAGS( tio ) (tio).sg_flags
#define SETFLAGS( tio, flags ) (tio).sg_flags = (flags)
#else
#define USE_TERMIOS
#define TERMIO_TYPE struct termios
#define TERMFLAG_TYPE tcflag_t
#define GETATTR( fd, tiop ) tcgetattr((fd), (tiop))
#define SETATTR( fd, tiop ) tcsetattr((fd), TCSANOW /* 0 */, (tiop))
#define GETFLAGS( tio ) (tio).c_lflag
#define SETFLAGS( tio, flags ) (tio).c_lflag = (flags)
#endif
#if ( !defined( HPUX9 )) && ( !defined( sunos4 )) && ( !defined( SNI )) && \
( !defined( HAVE_TIME_R ))
#define HAVE_TIME_R
#endif
#if defined( sunos5 ) || defined( aix )
#define HAVE_GETPWNAM_R
#define HAVE_GETGRNAM_R
#endif
#if defined(SNI) || defined(LINUX1_2)
int strcasecmp(const char *, const char *);
#ifdef SNI
int strncasecmp(const char *, const char *, int);
#endif /* SNI */
#ifdef LINUX1_2
int strncasecmp(const char *, const char *, size_t);
#endif /* LINUX1_2 */
#endif /* SNI || LINUX1_2 */
#if defined(_WINDOWS) || defined(macintosh) || defined(XP_OS2) || defined(DARWIN)
#define GETHOSTBYNAME( n, r, b, l, e ) gethostbyname( n )
#define CTIME( c, b, l ) ctime( c )
#define STRTOK( s1, s2, l ) strtok( s1, s2 )
#elif defined(XP_BEOS)
#define GETHOSTBYNAME( n, r, b, l, e ) gethostbyname( n )
#define CTIME( c, b, l ) ctime_r( c, b )
#define STRTOK( s1, s2, l ) strtok_r( s1, s2, l )
#define HAVE_STRTOK_R
#else /* UNIX */
#if defined(sgi) || defined(HPUX9) || defined(LINUX1_2) || defined(SCOOS) || \
defined(UNIXWARE) || defined(SUNOS4) || defined(SNI) || defined(BSDI) || \
defined(NCR) || defined(OSF1) || defined(NEC) || defined(VMS) || \
( defined(HPUX10) && !defined(_REENTRANT)) || defined(HPUX11) || \
defined(UnixWare) || defined(LINUX) || defined(NETBSD) || \
defined(FREEBSD) || defined(OPENBSD) || \
(defined(AIX) && !defined(USE_REENTRANT_LIBC))
#define GETHOSTBYNAME( n, r, b, l, e ) gethostbyname( n )
#elif defined(AIX)
/* Maybe this is for another version of AIX?
Commenting out for AIX 4.1 for Nova
Replaced with following to lines, stolen from the #else below
#define GETHOSTBYNAME_BUF_T struct hostent_data
*/
typedef char GETHOSTBYNAME_buf_t [BUFSIZ /* XXX might be too small */];
#define GETHOSTBYNAME_BUF_T GETHOSTBYNAME_buf_t
#define GETHOSTBYNAME( n, r, b, l, e ) \
(memset (&b, 0, l), gethostbyname_r (n, r, &b) ? NULL : r)
#elif defined(HPUX10)
#define GETHOSTBYNAME_BUF_T struct hostent_data
#define GETHOSTBYNAME( n, r, b, l, e ) nsldapi_compat_gethostbyname_r( n, r, (char *)&b, l, e )
#else
#include <stdio.h> /* BUFSIZ */
typedef char GETHOSTBYNAME_buf_t [BUFSIZ /* XXX might be too small */];
#define GETHOSTBYNAME_BUF_T GETHOSTBYNAME_buf_t
#define GETHOSTBYNAME( n, r, b, l, e ) gethostbyname_r( n, r, b, l, e )
#endif
#if defined(HPUX9) || defined(LINUX1_2) || defined(LINUX2_0) || \
defined(LINUX2_1) || defined(SUNOS4) || defined(SNI) || \
defined(SCOOS) || defined(BSDI) || defined(NCR) || \
defined(NEC) || ( defined(HPUX10) && !defined(_REENTRANT)) || \
(defined(AIX) && !defined(USE_REENTRANT_LIBC))
#define CTIME( c, b, l ) ctime( c )
#elif defined(HPUX10) && defined(_REENTRANT) && !defined(HPUX11)
#define CTIME( c, b, l ) nsldapi_compat_ctime_r( c, b, l )
#elif defined( IRIX6_2 ) || defined( IRIX6_3 ) || defined(UNIXWARE) \
|| defined(OSF1V4) || defined(AIX) || defined(UnixWare) \
|| defined(hpux) || defined(HPUX11) || defined(NETBSD) \
|| defined(IRIX6) || defined(FREEBSD) || defined(VMS) \
|| defined(NTO) || defined(OPENBSD)
#define CTIME( c, b, l ) ctime_r( c, b )
#elif defined( OSF1V3 )
#define CTIME( c, b, l ) (ctime_r( c, b, l ) ? NULL : b)
#else
#define CTIME( c, b, l ) ctime_r( c, b, l )
#endif
#if defined(hpux9) || defined(LINUX1_2) || defined(SUNOS4) || defined(SNI) || \
defined(SCOOS) || defined(BSDI) || defined(NCR) || defined(VMS) || \
defined(NEC) || defined(LINUX) || (defined(AIX) && !defined(USE_REENTRANT_LIBC))
#define STRTOK( s1, s2, l ) strtok( s1, s2 )
#else
#define HAVE_STRTOK_R
char *strtok_r(char *, const char *, char **);
#define STRTOK( s1, s2, l ) (char *)strtok_r( s1, s2, l )
#endif /* STRTOK */
#endif /* UNIX */
#if defined( ultrix ) || defined( nextstep )
extern char *strdup();
#endif /* ultrix || nextstep */
#if defined( sunos4 ) || defined( OSF1 )
#define BSD_TIME 1 /* for servers/slapd/log.h */
#endif /* sunos4 || osf */
#if !defined(_WINDOWS) && !defined(macintosh) && !defined(XP_OS2)
#include <netinet/in.h>
#if !defined(XP_BEOS)
#include <arpa/inet.h> /* for inet_addr() */
#endif
#endif
/*
* Define a portable type for IPv4 style Internet addresses (32 bits):
*/
#if ( defined(sunos5) && defined(_IN_ADDR_T)) || \
defined(aix) || defined(HPUX11) || defined(OSF1)
typedef in_addr_t nsldapi_in_addr_t;
#else
typedef unsigned long nsldapi_in_addr_t;
#endif
#ifdef SUNOS4
#include <pcfs/pc_dir.h> /* for toupper() */
int fprintf(FILE *, char *, ...);
int fseek(FILE *, long, int);
int fread(char *, int, int, FILE *);
int fclose(FILE *);
int fflush(FILE *);
int rewind(FILE *);
void *memmove(void *, const void *, size_t);
int strcasecmp(char *, char *);
int strncasecmp(char *, char *, int);
time_t time(time_t *);
void perror(char *);
int fputc(char, FILE *);
int fputs(char *, FILE *);
int re_exec(char *);
int socket(int, int, int);
void bzero(char *, int);
unsigned long inet_addr(char *);
char * inet_ntoa(struct in_addr);
int getdtablesize();
int connect(int, struct sockaddr *, int);
#endif /* SUNOS4 */
/* #if defined(SUNOS4) || defined(SNI) */
#if defined(SUNOS4)
int select(int, fd_set *, fd_set *, fd_set *, struct timeval *);
#endif /* SUNOS4 || SNI */
/*
* SAFEMEMCPY is an overlap-safe copy from s to d of n bytes
*/
#ifdef macintosh
#define SAFEMEMCPY( d, s, n ) BlockMoveData( (Ptr)s, (Ptr)d, n )
#else /* macintosh */
#ifdef sunos4
#define SAFEMEMCPY( d, s, n ) bcopy( s, d, n )
#else /* sunos4 */
#define SAFEMEMCPY( d, s, n ) memmove( d, s, n )
#endif /* sunos4 */
#endif /* macintosh */
#ifdef _WINDOWS
#define strcasecmp strcmpi
#define strncasecmp _strnicmp
#define bzero(a, b) memset( a, 0, b )
#define getpid _getpid
#define ioctl ioctlsocket
#define sleep(a) Sleep( a*1000 )
#define EMSGSIZE WSAEMSGSIZE
#define EWOULDBLOCK WSAEWOULDBLOCK
#define EHOSTUNREACH WSAEHOSTUNREACH
#ifndef MAXPATHLEN
#define MAXPATHLEN _MAX_PATH
#endif
/* We'd like this number to be prime for the hash
* into the Connection table */
#define DS_MAX_NT_SOCKET_CONNECTIONS 2003
#elif defined(XP_OS2)
#define strcasecmp strcmpi
#define strncasecmp strnicmp
#define bzero(a, b) memset( a, 0, b )
#include "dirent.h"
#include <string.h> /*for strcmpi()*/
#include <time.h> /*for ctime()*/
#endif /* XP_OS2 */
#endif /* _PORTABLE_H */

View File

@@ -1,58 +0,0 @@
#if defined( macintosh ) || defined( DOS ) || defined( _WINDOWS ) || defined( NEED_BSDREGEX ) || defined( XP_OS2 )
/*
* Copyright (c) 1993 Regents of the University of Michigan.
* All rights reserved.
*
* Redistribution and use in source and binary forms are permitted
* provided that this notice is preserved and that due credit is given
* to the University of Michigan at Ann Arbor. The name of the University
* may not be used to endorse or promote products derived from this
* software without specific prior written permission. This software
* is provided ``as is'' without express or implied warranty.
*/
/*
* regex.h -- includes for regular expression matching routines
* 13 August 1993 Mark C Smith
*/
#ifdef __cplusplus
extern "C" {
#endif
#include "ldap.h"
#if !defined( NEEDPROTOS ) && defined( __STDC__ )
#define NEEDPROTOS
#endif
#ifdef _SLDAPD_H_ /* server build: no need to use LDAP_CALL stuff */
#ifdef LDAP_CALL
#undef LDAP_CALL
#define LDAP_CALL
#endif
#endif
#ifdef NEEDPROTOS
int re_init( void );
void re_lock( void );
int re_unlock( void );
char * LDAP_CALL re_comp( char *pat );
int LDAP_CALL re_exec( char *lp );
void LDAP_CALL re_modw( char *s );
int LDAP_CALL re_subs( char *src, char *dst );
#else /* NEEDPROTOS */
int re_init();
void re_lock();
int re_unlock();
char * LDAP_CALL re_comp();
int LDAP_CALL re_exec();
void LDAP_CALL re_modw();
int LDAP_CALL re_subs();
#endif /* NEEDPROTOS */
#define re_fail( m, p )
#ifdef __cplusplus
}
#endif
#endif /* macintosh or DOS or or _WIN32 or NEED_BSDREGEX */

View File

@@ -1,135 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1999 Netscape Communications Corporation. All Rights
* Reserved.
*/
/*
* Copyright (c) 1993, 1994 Regents of the University of Michigan.
* All rights reserved.
*
* Redistribution and use in source and binary forms are permitted
* provided that this notice is preserved and that due credit is given
* to the University of Michigan at Ann Arbor. The name of the University
* may not be used to endorse or promote products derived from this
* software without specific prior written permission. This software
* is provided ``as is'' without express or implied warranty.
*
* searchpref.h: display template library defines
*/
#ifndef _SRCHPREF_H
#define _SRCHPREF_H
#ifdef __cplusplus
extern "C" {
#endif
/* calling conventions used by library */
#ifndef LDAP_CALL
#if defined( _WINDOWS ) || defined( _WIN32 )
#define LDAP_C __cdecl
#ifndef _WIN32
#define __stdcall _far _pascal
#define LDAP_CALLBACK _loadds
#else
#define LDAP_CALLBACK
#endif /* _WIN32 */
#define LDAP_PASCAL __stdcall
#define LDAP_CALL LDAP_PASCAL
#else /* _WINDOWS */
#define LDAP_C
#define LDAP_CALLBACK
#define LDAP_PASCAL
#define LDAP_CALL
#endif /* _WINDOWS */
#endif /* LDAP_CALL */
struct ldap_searchattr {
char *sa_attrlabel;
char *sa_attr;
/* max 32 matchtypes for now */
unsigned long sa_matchtypebitmap;
char *sa_selectattr;
char *sa_selecttext;
struct ldap_searchattr *sa_next;
};
struct ldap_searchmatch {
char *sm_matchprompt;
char *sm_filter;
struct ldap_searchmatch *sm_next;
};
struct ldap_searchobj {
char *so_objtypeprompt;
unsigned long so_options;
char *so_prompt;
short so_defaultscope;
char *so_filterprefix;
char *so_filtertag;
char *so_defaultselectattr;
char *so_defaultselecttext;
struct ldap_searchattr *so_salist;
struct ldap_searchmatch *so_smlist;
struct ldap_searchobj *so_next;
};
#define NULLSEARCHOBJ ((struct ldap_searchobj *)0)
/*
* global search object options
*/
#define LDAP_SEARCHOBJ_OPT_INTERNAL 0x00000001
#define LDAP_IS_SEARCHOBJ_OPTION_SET( so, option ) \
(((so)->so_options & option ) != 0 )
#define LDAP_SEARCHPREF_VERSION_ZERO 0
#define LDAP_SEARCHPREF_VERSION 1
#define LDAP_SEARCHPREF_ERR_VERSION 1
#define LDAP_SEARCHPREF_ERR_MEM 2
#define LDAP_SEARCHPREF_ERR_SYNTAX 3
#define LDAP_SEARCHPREF_ERR_FILE 4
LDAP_API(int)
LDAP_CALL
ldap_init_searchprefs( char *file, struct ldap_searchobj **solistp );
LDAP_API(int)
LDAP_CALL
ldap_init_searchprefs_buf( char *buf, long buflen,
struct ldap_searchobj **solistp );
LDAP_API(void)
LDAP_CALL
ldap_free_searchprefs( struct ldap_searchobj *solist );
LDAP_API(struct ldap_searchobj *)
LDAP_CALL
ldap_first_searchobj( struct ldap_searchobj *solist );
LDAP_API(struct ldap_searchobj *)
LDAP_CALL
ldap_next_searchobj( struct ldap_searchobj *sollist,
struct ldap_searchobj *so );
#ifdef __cplusplus
}
#endif
#endif /* _SRCHPREF_H */

View File

@@ -1,32 +0,0 @@
DEPTH = ../../../..
MOD_DEPTH = ../../../../nsprpub
NSPR_TREE = ../../../../nsprpub
UNIXDIRLIST = liblber libldap
include $(NSPR_TREE)/config/rules.mk
all export:: FORCE
@for i in $(UNIXDIRLIST); do \
echo " cd $$i; $(MAKE) -f Makefile.client $(MFLAGS) export"; \
( cd $$i; $(MAKE) -f Makefile.client $(MFLAGS) export ); \
done
libs install:: FORCE
@for i in $(UNIXDIRLIST); do \
echo " cd $$i; $(MAKE) -f Makefile.client $(MFLAGS) install"; \
( cd $$i; $(MAKE) -f Makefile.client $(MFLAGS) install ); \
done
clean clobber:: FORCE
@for i in $(UNIXDIRLIST); do \
echo " cd $$i; $(MAKE) -f Makefile.client $(MFLAGS) clean"; \
( cd $$i; $(MAKE) -f Makefile.client $(MFLAGS) clean ); \
done
realclean clobber_all:: FORCE
@for i in $(UNIXDIRLIST); do \
echo " cd $$i; $(MAKE) -f Makefile.client $(MFLAGS) realclean"; \
( cd $$i; $(MAKE) -f Makefile.client $(MFLAGS) realclean ); \
done
FORCE:

View File

@@ -1,19 +0,0 @@
DEPTH = ../../../..
srcdir = @srcdir@
ldaptopsrcdir = @top_srcdir@
include ../build/autoconf.mk
ifeq ($(OS_ARCH),WINNT)
DIRS = libldap
else
DIRS = liblber libldap
endif
all:: export install
install::
+$(LOOP_OVER_DIRS)
include $(NSPR_TREE)/config/rules.mk

View File

@@ -1,80 +0,0 @@
DEPTH = ../../../../..
NS_DEPTH = ../../../..
MOD_DEPTH = ../../../../../nsprpub
NSPR_TREE = ../../../../../nsprpub
LDAPSRC = ../..
RM = rm -f
SED = sed
SRCS = decode.c \
encode.c \
io.c \
bprint.c
REALOBJS = $(SRCS:.c=.o)
#OBJS = $(REALOBJS) versiont.o
OBJS = $(REALOBJS)
HDIR = $(LDAPSRC)/include
LIBRARY_NAME = lber40
#
# DEFS are included in CFLAGS
#
DEFS = $(PLATFORMCFLAGS) $(LDAP_DEBUG) $(KERBEROS) $(AFSKERBEROS) \
$(UOFM) $(UOFA) $(NO_USERINTERFACE) $(CLDAP) $(NO_CACHE) \
$(LDAP_REFERRALS) $(LDAP_DNS) $(STR_TRANSLATION) \
$(LIBLDAP_CHARSETS) $(LIBLDAP_DEF_CHARSET) \
$(SLAPD_BACKENDS) $(LDBMBACKEND) $(LDBMINCLUDE) $(PHONETIC)
include $(NSPR_TREE)/config/rules.mk
LOCAL_INCLUDES = -I$(PUBLIC)/nspr
INCLUDES += -I$(HDIR)
DEFINES += $(DEFS)
PLATFORMCFLAGS = -DUSE_WAITPID -DNEEDPROTOS
PLATFORMLIBS =
THREADS =
THREADSLIB =
#
# To build slapd (the stand-alone ldap daemon), uncomment the MAKESLAPD
# line and select the SLAPD_BACKENDS you want to use. If you enable the
# LDBM backend, also select one of the LDBM backends.
#
MAKESLAPD = yes
SLAPD_BACKENDS = -DLDAP_LDBM -DLDAP_SHELL -DLDAP_PASSWD
LDBMBACKEND = -DLDBM_USE_NDBM
#
# uncomment this line to enable debugging code (a good idea)
#
ifndef BUILD_OPT
LDAP_DEBUG = -DLDAP_DEBUG
endif
#
# uncomment this line to enable support for LDAP referrals in libldap
#
LDAP_REFERRALS = -DLDAP_REFERRALS
###########################################################################
versiont.c: Makefile.client Version.c
@$(RM) $@
@(u="$${USER-root}" v="$(shell cat ../../build/version)" d="$(shell pwd)" \
h="$(shell hostname)" t="$(shell date)"; $(SED) -e "s|%WHEN%|$${t}|" \
-e "s|%WHOANDWHERE%|$${u}@$${h}:$${d}|" \
-e "s|%VERSION%|$${v}|" \
< Version.c > $@)
install:: $(LIBRARY) $(SHARED_LIBRARY)
$(INSTALL) -m 444 $(LIBRARY) $(DIST)/lib
ifdef MKSHLIB
$(INSTALL) -m 555 $(SHARED_LIBRARY) $(DIST)/lib
endif

View File

@@ -1,104 +0,0 @@
DEPTH = ../../../../..
NS_DEPTH = ../../../..
srcdir = @srcdir@
ldaptopsrcdir = @top_srcdir@
RM = rm -f
SED = sed
SRCS = decode.c \
encode.c \
io.c \
bprint.c
REALOBJS = $(SRCS:.c=.o)
#OBJS = $(REALOBJS) versiont.o
OBJS = $(REALOBJS)
HDIR = $(ldaptopsrcdir)/include
LIBRARY_NAME = lber40
#
# DEFS are included in CFLAGS
#
DEFS = $(PLATFORMCFLAGS) $(LDAP_DEBUG) $(KERBEROS) $(AFSKERBEROS) \
$(UOFM) $(UOFA) $(NO_USERINTERFACE) $(CLDAP) $(NO_CACHE) \
$(LDAP_REFERRALS) $(LDAP_DNS) $(STR_TRANSLATION) \
$(LIBLDAP_CHARSETS) $(LIBLDAP_DEF_CHARSET) \
$(SLAPD_BACKENDS) $(LDBMBACKEND) $(LDBMINCLUDE) $(PHONETIC)
include ../../build/autoconf.mk
ifeq ($(OS_ARCH),OS2)
OBJS = $(REALOBJS:.o=.obj)
endif
include $(NSPR_TREE)/config/rules.mk
LOCAL_INCLUDES = -I$(PUBLIC)/nspr
INCLUDES += -I$(HDIR)
DEFINES += $(DEFS)
ifeq ($(OS_ARCH),AIX)
DSO_LDOPTS += -lc_r
endif
ifeq ($(OS_ARCH),OS2)
INCLUDES += -I$(DIST)/include
endif
PLATFORMCFLAGS = -DUSE_WAITPID -DNEEDPROTOS
PLATFORMLIBS =
THREADS =
THREADSLIB =
#
# To build slapd (the stand-alone ldap daemon), uncomment the MAKESLAPD
# line and select the SLAPD_BACKENDS you want to use. If you enable the
# LDBM backend, also select one of the LDBM backends.
#
MAKESLAPD = yes
SLAPD_BACKENDS = -DLDAP_LDBM -DLDAP_SHELL -DLDAP_PASSWD
LDBMBACKEND = -DLDBM_USE_NDBM
#
# uncomment this line to enable debugging code (a good idea)
#
ifndef BUILD_OPT
LDAP_DEBUG = -DLDAP_DEBUG
endif
#
# uncomment this line to enable support for LDAP referrals in libldap
#
LDAP_REFERRALS = -DLDAP_REFERRALS
###########################################################################
versiont.c: Makefile.client Version.c
@$(RM) $@
@(u="$${USER-root}" v="$(shell cat ../../build/version)" d="$(shell pwd)" \
h="$(shell hostname)" t="$(shell date)"; $(SED) -e "s|%WHEN%|$${t}|" \
-e "s|%WHOANDWHERE%|$${u}@$${h}:$${d}|" \
-e "s|%VERSION%|$${v}|" \
< Version.c > $@)
ifeq ($(OS_ARCH),OS2)
install:: $(TARGETS)
$(INSTALL) -m 444 $(TARGETS) $(DIST)/lib
ifdef SHARED_LIBRARY
$(INSTALL) -m 444 $(SHARED_LIBRARY) $(DIST)/bin
endif
else # !os2
install:: $(LIBRARY) $(SHARED_LIBRARY)
$(INSTALL) -m 444 $(LIBRARY) $(DIST)/lib
ifdef MKSHLIB
$(INSTALL) -m 555 $(SHARED_LIBRARY) $(DIST)/lib
$(INSTALL) -m 555 $(SHARED_LIBRARY) $(DIST)/bin
endif
endif # os2

View File

@@ -1,87 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*/
/* bprint.c - a printing utility for debuging output */
#include <string.h>
#include "lber-int.h"
#ifdef LDAP_DEBUG
/*
* Print arbitrary stuff, for debugging.
*/
#define BPLEN 48
void
lber_bprint( char *data, int len )
{
static char hexdig[] = "0123456789abcdef";
char out[ BPLEN ];
int i = 0;
memset( out, 0, BPLEN );
for ( ;; ) {
if ( len < 1 ) {
char msg[BPLEN + 80];
sprintf( msg, "\t%s\n", ( i == 0 ) ? "(end)" : out );
ber_err_print( msg );
break;
}
#ifndef HEX
if ( isgraph( (unsigned char)*data )) {
out[ i ] = ' ';
out[ i+1 ] = *data;
} else {
#endif
out[ i ] = hexdig[ ( *data & 0xf0 ) >> 4 ];
out[ i+1 ] = hexdig[ *data & 0x0f ];
#ifndef HEX
}
#endif
i += 2;
len--;
data++;
if ( i > BPLEN - 2 ) {
char msg[BPLEN + 80];
sprintf( msg, "\t%s\n", out );
ber_err_print( msg );
memset( out, 0, BPLEN );
i = 0;
continue;
}
out[ i++ ] = ' ';
}
}
#endif
void ber_err_print( char *data )
{
#ifdef USE_DEBUG_WIN
OutputDebugString( data );
#else
fputs( data, stderr );
fflush( stderr );
#endif
}

View File

@@ -1,658 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*/
/*
* Copyright (c) 1990 Regents of the University of Michigan.
* All rights reserved.
*
* Redistribution and use in source and binary forms are permitted
* provided that this notice is preserved and that due credit is given
* to the University of Michigan at Ann Arbor. The name of the University
* may not be used to endorse or promote products derived from this
* software without specific prior written permission. This software
* is provided ``as is'' without express or implied warranty.
*/
/* decode.c - ber input decoding routines */
#include "lber-int.h"
/*
* Note: ber_get_tag() only uses the ber_end and ber_ptr elements of ber.
* If that changes, the ber_peek_tag() and/or ber_skip_tag() implementations
* will need to be changed.
*/
/* return the tag - LBER_DEFAULT returned means trouble */
unsigned long
LDAP_CALL
ber_get_tag( BerElement *ber )
{
unsigned char xbyte;
unsigned long tag;
char *tagp;
int i;
if ( ber_read( ber, (char *) &xbyte, 1 ) != 1 )
return( LBER_DEFAULT );
if ( (xbyte & LBER_BIG_TAG_MASK) != LBER_BIG_TAG_MASK )
return( (unsigned long) xbyte );
tagp = (char *) &tag;
tagp[0] = xbyte;
for ( i = 1; i < sizeof(long); i++ ) {
if ( ber_read( ber, (char *) &xbyte, 1 ) != 1 )
return( LBER_DEFAULT );
tagp[i] = xbyte;
if ( ! (xbyte & LBER_MORE_TAG_MASK) )
break;
}
/* tag too big! */
if ( i == sizeof(long) )
return( LBER_DEFAULT );
/* want leading, not trailing 0's */
return( tag >> (sizeof(long) - i - 1) );
}
/*
* Note: ber_skip_tag() only uses the ber_end and ber_ptr elements of ber.
* If that changes, the implementation of ber_peek_tag() will need to
* be changed.
*/
unsigned long
LDAP_CALL
ber_skip_tag( BerElement *ber, unsigned long *len )
{
unsigned long tag;
unsigned char lc;
int noctets, diff;
unsigned long netlen;
/*
* Any ber element looks like this: tag length contents.
* Assuming everything's ok, we return the tag byte (we
* can assume a single byte), and return the length in len.
*
* Assumptions:
* 1) definite lengths
* 2) primitive encodings used whenever possible
*/
/*
* First, we read the tag.
*/
if ( (tag = ber_get_tag( ber )) == LBER_DEFAULT )
return( LBER_DEFAULT );
/*
* Next, read the length. The first byte contains the length of
* the length. If bit 8 is set, the length is the long form,
* otherwise it's the short form. We don't allow a length that's
* greater than what we can hold in an unsigned long.
*/
*len = netlen = 0;
if ( ber_read( ber, (char *) &lc, 1 ) != 1 )
return( LBER_DEFAULT );
if ( lc & 0x80 ) {
noctets = (lc & 0x7f);
if ( noctets > sizeof(unsigned long) )
return( LBER_DEFAULT );
diff = sizeof(unsigned long) - noctets;
if ( ber_read( ber, (char *) &netlen + diff, noctets )
!= noctets )
return( LBER_DEFAULT );
*len = LBER_NTOHL( netlen );
} else {
*len = lc;
}
return( tag );
}
/*
* Note: Previously, we passed the "ber" parameter directly to ber_skip_tag(),
* saving and restoring the ber_ptr element only. We now take advantage
* of the fact that the only ber structure elements touched by ber_skip_tag()
* are ber_end and ber_ptr. If that changes, this code must change too.
*/
unsigned long
LDAP_CALL
ber_peek_tag( BerElement *ber, unsigned long *len )
{
BerElement bercopy;
bercopy.ber_end = ber->ber_end;
bercopy.ber_ptr = ber->ber_ptr;
return( ber_skip_tag( &bercopy, len ));
}
static int
ber_getnint( BerElement *ber, long *num, int len )
{
int i;
long value;
unsigned char buffer[sizeof(long)];
/*
* The tag and length have already been stripped off. We should
* be sitting right before len bytes of 2's complement integer,
* ready to be read straight into an int. We may have to sign
* extend after we read it in.
*/
if ( len > sizeof(long) )
return( -1 );
/* read into the low-order bytes of netnum */
if ( ber_read( ber, (char *) buffer, len ) != len )
return( -1 );
/* This sets the required sign extension */
if ( len != 0) {
value = 0x80 & buffer[0] ? (-1L) : 0;
} else {
value = 0;
}
for ( i = 0; i < len; i++ )
value = (value << 8) | buffer[i];
*num = value;
return( len );
}
unsigned long
LDAP_CALL
ber_get_int( BerElement *ber, long *num )
{
unsigned long tag, len;
if ( (tag = ber_skip_tag( ber, &len )) == LBER_DEFAULT )
return( LBER_DEFAULT );
/*
* len is being demoted to a long here -- possible conversion error
*/
if ( ber_getnint( ber, num, (int)len ) != (long)len )
return( LBER_DEFAULT );
else
return( tag );
}
unsigned long
LDAP_CALL
ber_get_stringb( BerElement *ber, char *buf, unsigned long *len )
{
unsigned long datalen, tag;
#ifdef STR_TRANSLATION
char *transbuf;
#endif /* STR_TRANSLATION */
if ( (tag = ber_skip_tag( ber, &datalen )) == LBER_DEFAULT )
return( LBER_DEFAULT );
if ( datalen > (*len - 1) )
return( LBER_DEFAULT );
/*
* datalen is being demoted to a long here -- possible conversion error
*/
if ( ber_read( ber, buf, datalen ) != (long) datalen )
return( LBER_DEFAULT );
buf[datalen] = '\0';
#ifdef STR_TRANSLATION
if ( datalen > 0 && ( ber->ber_options & LBER_OPT_TRANSLATE_STRINGS )
!= 0 && ber->ber_decode_translate_proc != NULL ) {
transbuf = buf;
++datalen;
if ( (*(ber->ber_decode_translate_proc))( &transbuf, &datalen,
0 ) != 0 ) {
return( LBER_DEFAULT );
}
if ( datalen > *len ) {
NSLBERI_FREE( transbuf );
return( LBER_DEFAULT );
}
SAFEMEMCPY( buf, transbuf, datalen );
NSLBERI_FREE( transbuf );
--datalen;
}
#endif /* STR_TRANSLATION */
*len = datalen;
return( tag );
}
unsigned long
LDAP_CALL
ber_get_stringa( BerElement *ber, char **buf )
{
unsigned long datalen, tag;
if ( (tag = ber_skip_tag( ber, &datalen )) == LBER_DEFAULT )
return( LBER_DEFAULT );
if ( (*buf = (char *)NSLBERI_MALLOC( (size_t)datalen + 1 )) == NULL )
return( LBER_DEFAULT );
/*
* datalen is being demoted to a long here -- possible conversion error
*/
if ( ber_read( ber, *buf, datalen ) != (long) datalen )
return( LBER_DEFAULT );
(*buf)[datalen] = '\0';
#ifdef STR_TRANSLATION
if ( datalen > 0 && ( ber->ber_options & LBER_OPT_TRANSLATE_STRINGS )
!= 0 && ber->ber_decode_translate_proc != NULL ) {
++datalen;
if ( (*(ber->ber_decode_translate_proc))( buf, &datalen, 1 )
!= 0 ) {
NSLBERI_FREE( *buf );
return( LBER_DEFAULT );
}
}
#endif /* STR_TRANSLATION */
return( tag );
}
unsigned long
LDAP_CALL
ber_get_stringal( BerElement *ber, struct berval **bv )
{
unsigned long len, tag;
if ( (*bv = (struct berval *)NSLBERI_MALLOC( sizeof(struct berval) ))
== NULL ) {
return( LBER_DEFAULT );
}
if ( (tag = ber_skip_tag( ber, &len )) == LBER_DEFAULT ) {
return( LBER_DEFAULT );
}
if ( ((*bv)->bv_val = (char *)NSLBERI_MALLOC( (size_t)len + 1 ))
== NULL ) {
return( LBER_DEFAULT );
}
/*
* len is being demoted to a long here -- possible conversion error
*/
if ( ber_read( ber, (*bv)->bv_val, len ) != (int) len )
return( LBER_DEFAULT );
((*bv)->bv_val)[len] = '\0';
(*bv)->bv_len = len;
#ifdef STR_TRANSLATION
if ( len > 0 && ( ber->ber_options & LBER_OPT_TRANSLATE_STRINGS ) != 0
&& ber->ber_decode_translate_proc != NULL ) {
++len;
if ( (*(ber->ber_decode_translate_proc))( &((*bv)->bv_val),
&len, 1 ) != 0 ) {
NSLBERI_FREE( (*bv)->bv_val );
return( LBER_DEFAULT );
}
(*bv)->bv_len = len - 1;
}
#endif /* STR_TRANSLATION */
return( tag );
}
unsigned long
LDAP_CALL
ber_get_bitstringa( BerElement *ber, char **buf, unsigned long *blen )
{
unsigned long datalen, tag;
unsigned char unusedbits;
if ( (tag = ber_skip_tag( ber, &datalen )) == LBER_DEFAULT )
return( LBER_DEFAULT );
--datalen;
if ( (*buf = (char *)NSLBERI_MALLOC( (size_t)datalen )) == NULL )
return( LBER_DEFAULT );
if ( ber_read( ber, (char *)&unusedbits, 1 ) != 1 )
return( LBER_DEFAULT );
/*
* datalen is being demoted to a long here -- possible conversion error
*/
if ( ber_read( ber, *buf, datalen ) != (long) datalen )
return( LBER_DEFAULT );
*blen = datalen * 8 - unusedbits;
return( tag );
}
unsigned long
LDAP_CALL
ber_get_null( BerElement *ber )
{
unsigned long len, tag;
if ( (tag = ber_skip_tag( ber, &len )) == LBER_DEFAULT )
return( LBER_DEFAULT );
if ( len != 0 )
return( LBER_DEFAULT );
return( tag );
}
unsigned long
LDAP_CALL
ber_get_boolean( BerElement *ber, int *boolval )
{
long longbool;
int rc;
rc = ber_get_int( ber, &longbool );
*boolval = longbool;
return( rc );
}
unsigned long
LDAP_CALL
ber_first_element( BerElement *ber, unsigned long *len, char **last )
{
/* skip the sequence header, use the len to mark where to stop */
if ( ber_skip_tag( ber, len ) == LBER_DEFAULT ) {
return( LBER_ERROR );
}
*last = ber->ber_ptr + *len;
if ( *last == ber->ber_ptr ) {
return( LBER_END_OF_SEQORSET );
}
return( ber_peek_tag( ber, len ) );
}
unsigned long
LDAP_CALL
ber_next_element( BerElement *ber, unsigned long *len, char *last )
{
if ( ber->ber_ptr == last ) {
return( LBER_END_OF_SEQORSET );
}
return( ber_peek_tag( ber, len ) );
}
/* VARARGS */
unsigned long
LDAP_C
ber_scanf( BerElement *ber, const char *fmt, ... )
{
va_list ap;
char *last;
char *s, **ss, ***sss;
struct berval ***bv, **bvp, *bval;
int *i, j;
long *l, rc, tag;
unsigned long *t;
unsigned long len;
size_t array_size;
va_start( ap, fmt );
#ifdef LDAP_DEBUG
if ( lber_debug & 64 ) {
char msg[80];
sprintf( msg, "ber_scanf fmt (%s) ber:\n", fmt );
ber_err_print( msg );
ber_dump( ber, 1 );
}
#endif
for ( rc = 0; *fmt && rc != LBER_DEFAULT; fmt++ ) {
switch ( *fmt ) {
case 'a': /* octet string - allocate storage as needed */
ss = va_arg( ap, char ** );
rc = ber_get_stringa( ber, ss );
break;
case 'b': /* boolean */
i = va_arg( ap, int * );
rc = ber_get_boolean( ber, i );
break;
case 'e': /* enumerated */
case 'i': /* int */
l = va_arg( ap, long * );
rc = ber_get_int( ber, l );
break;
case 'l': /* length of next item */
l = va_arg( ap, long * );
rc = ber_peek_tag( ber, (unsigned long *)l );
break;
case 'n': /* null */
rc = ber_get_null( ber );
break;
case 's': /* octet string - in a buffer */
s = va_arg( ap, char * );
l = va_arg( ap, long * );
rc = ber_get_stringb( ber, s, (unsigned long *)l );
break;
case 'o': /* octet string in a supplied berval */
bval = va_arg( ap, struct berval * );
ber_peek_tag( ber, &bval->bv_len );
rc = ber_get_stringa( ber, &bval->bv_val );
break;
case 'O': /* octet string - allocate & include length */
bvp = va_arg( ap, struct berval ** );
rc = ber_get_stringal( ber, bvp );
break;
case 'B': /* bit string - allocate storage as needed */
ss = va_arg( ap, char ** );
l = va_arg( ap, long * ); /* for length, in bits */
rc = ber_get_bitstringa( ber, ss, (unsigned long *)l );
break;
case 't': /* tag of next item */
t = va_arg( ap, unsigned long * );
*t = rc = ber_peek_tag( ber, &len );
break;
case 'T': /* skip tag of next item */
t = va_arg( ap, unsigned long * );
*t = rc = ber_skip_tag( ber, &len );
break;
case 'v': /* sequence of strings */
sss = va_arg( ap, char *** );
*sss = NULL;
j = 0;
array_size = 0;
for ( tag = ber_first_element( ber, &len, &last );
tag != LBER_DEFAULT && tag != LBER_END_OF_SEQORSET
&& rc != LBER_DEFAULT;
tag = ber_next_element( ber, &len, last ) ) {
if ( *sss == NULL ) {
/* Make room for at least 15 strings */
*sss = (char **)NSLBERI_MALLOC(16 * sizeof(char *) );
array_size = 16;
} else {
if ( (size_t)(j+2) > array_size) {
/* We'v overflowed our buffer */
*sss = (char **)NSLBERI_REALLOC( *sss, (array_size * 2) * sizeof(char *) );
array_size = array_size * 2;
}
}
rc = ber_get_stringa( ber, &((*sss)[j]) );
j++;
}
if ( rc != LBER_DEFAULT &&
tag != LBER_END_OF_SEQORSET ) {
rc = LBER_DEFAULT;
}
if ( j > 0 )
(*sss)[j] = NULL;
break;
case 'V': /* sequence of strings + lengths */
bv = va_arg( ap, struct berval *** );
*bv = NULL;
j = 0;
for ( tag = ber_first_element( ber, &len, &last );
tag != LBER_DEFAULT && tag != LBER_END_OF_SEQORSET
&& rc != LBER_DEFAULT;
tag = ber_next_element( ber, &len, last ) ) {
if ( *bv == NULL ) {
*bv = (struct berval **)NSLBERI_MALLOC(
2 * sizeof(struct berval *) );
} else {
*bv = (struct berval **)NSLBERI_REALLOC(
*bv,
(j + 2) * sizeof(struct berval *) );
}
rc = ber_get_stringal( ber, &((*bv)[j]) );
j++;
}
if ( rc != LBER_DEFAULT &&
tag != LBER_END_OF_SEQORSET ) {
rc = LBER_DEFAULT;
}
if ( j > 0 )
(*bv)[j] = NULL;
break;
case 'x': /* skip the next element - whatever it is */
if ( (rc = ber_skip_tag( ber, &len )) == LBER_DEFAULT )
break;
ber->ber_ptr += len;
break;
case '{': /* begin sequence */
case '[': /* begin set */
if ( *(fmt + 1) != 'v' && *(fmt + 1) != 'V' )
rc = ber_skip_tag( ber, &len );
break;
case '}': /* end sequence */
case ']': /* end set */
break;
default:
{
char msg[80];
sprintf( msg, "unknown fmt %c\n", *fmt );
ber_err_print( msg );
}
rc = LBER_DEFAULT;
break;
}
}
va_end( ap );
return( rc );
}
void
LDAP_CALL
ber_bvfree( struct berval *bv )
{
if ( bv != NULL ) {
if ( bv->bv_val != NULL ) {
NSLBERI_FREE( bv->bv_val );
}
NSLBERI_FREE( (char *) bv );
}
}
void
LDAP_CALL
ber_bvecfree( struct berval **bv )
{
int i;
if ( bv != NULL ) {
for ( i = 0; bv[i] != NULL; i++ ) {
ber_bvfree( bv[i] );
}
NSLBERI_FREE( (char *) bv );
}
}
struct berval *
LDAP_CALL
ber_bvdup( const struct berval *bv )
{
struct berval *new;
if ( (new = (struct berval *)NSLBERI_MALLOC( sizeof(struct berval) ))
== NULL ) {
return( NULL );
}
if ( bv->bv_val == NULL ) {
new->bv_val = NULL;
new->bv_len = 0;
} else {
if ( (new->bv_val = (char *)NSLBERI_MALLOC( bv->bv_len + 1 ))
== NULL ) {
return( NULL );
}
SAFEMEMCPY( new->bv_val, bv->bv_val, (size_t) bv->bv_len );
new->bv_val[bv->bv_len] = '\0';
new->bv_len = bv->bv_len;
}
return( new );
}
#ifdef STR_TRANSLATION
void
LDAP_CALL
ber_set_string_translators(
BerElement *ber,
BERTranslateProc encode_proc,
BERTranslateProc decode_proc
)
{
ber->ber_encode_translate_proc = encode_proc;
ber->ber_decode_translate_proc = decode_proc;
}
#endif /* STR_TRANSLATION */

View File

@@ -1,98 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*/
/*
* Copyright (c) 1990 Regents of the University of Michigan.
* All rights reserved.
*
* Redistribution and use in source and binary forms are permitted
* provided that this notice is preserved and that due credit is given
* to the University of Michigan at Ann Arbor. The name of the University
* may not be used to endorse or promote products derived from this
* software without specific prior written permission. This software
* is provided ``as is'' without express or implied warranty.
*/
/* dtest.c - lber decoding test program */
#include <stdio.h>
#include <string.h>
#ifdef MACOS
#include <stdlib.h>
#include <console.h>
#else /* MACOS */
#ifdef _WIN32
#include <windows.h>
#else
#include <sys/types.h>
#include <sys/socket.h>
#endif /* _WIN32 */
#endif /* MACOS */
#include "lber.h"
int
SSL_Recv( int s, char *b, unsigned l, int dummy )
{
return( read( s, b, l ) );
}
SSL_Send( int s, char *b, unsigned l, int dummy )
{
return( write( s, b, l ) );
}
static void usage( char *name )
{
fprintf( stderr, "usage: %s < berfile\n", name );
}
main( int argc, char **argv )
{
long i, fd;
unsigned long len;
int tag;
BerElement *ber;
Sockbuf *sb;
extern int lber_debug;
lber_debug = 255;
if ( argc > 1 ) {
usage( argv[0] );
exit( 1 );
}
sb = ber_sockbuf_alloc();
fd = 0;
ber_sockbuf_set_option( sb, LBER_SOCKBUF_OPT_DESC, &fd );
if ( (ber = der_alloc()) == NULL ) {
perror( "ber_alloc" );
exit( 1 );
}
if ( (tag = ber_get_next( sb, &len, ber )) == LBER_ERROR ) {
perror( "ber_get_next" );
exit( 1 );
}
printf( "message has tag 0x%x and length %ld\n", tag, len );
return( 0 );
}

View File

@@ -1,668 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*/
/*
* Copyright (c) 1990 Regents of the University of Michigan.
* All rights reserved.
*
* Redistribution and use in source and binary forms are permitted
* provided that this notice is preserved and that due credit is given
* to the University of Michigan at Ann Arbor. The name of the University
* may not be used to endorse or promote products derived from this
* software without specific prior written permission. This software
* is provided ``as is'' without express or implied warranty.
*/
/* encode.c - ber output encoding routines */
#include "lber-int.h"
static int
ber_calc_taglen( unsigned long tag )
{
int i;
long mask;
/* find the first non-all-zero byte in the tag */
for ( i = sizeof(long) - 1; i > 0; i-- ) {
mask = (0xffL << (i * 8));
/* not all zero */
if ( tag & mask )
break;
}
return( i + 1 );
}
static int
ber_put_tag( BerElement *ber, unsigned long tag, int nosos )
{
int taglen;
unsigned long ntag;
taglen = ber_calc_taglen( tag );
ntag = LBER_HTONL( tag );
return( ber_write( ber, ((char *) &ntag) + sizeof(long) - taglen,
taglen, nosos ) );
}
static int
ber_calc_lenlen( unsigned long len )
{
/*
* short len if it's less than 128 - one byte giving the len,
* with bit 8 0.
*/
if ( len <= 0x7F )
return( 1 );
/*
* long len otherwise - one byte with bit 8 set, giving the
* length of the length, followed by the length itself.
*/
if ( len <= 0xFF )
return( 2 );
if ( len <= 0xFFFFL )
return( 3 );
if ( len <= 0xFFFFFFL )
return( 4 );
return( 5 );
}
static int
ber_put_len( BerElement *ber, unsigned long len, int nosos )
{
int i;
char lenlen;
long mask;
unsigned long netlen;
/*
* short len if it's less than 128 - one byte giving the len,
* with bit 8 0.
*/
if ( len <= 127 ) {
netlen = LBER_HTONL( len );
return( ber_write( ber, (char *) &netlen + sizeof(long) - 1,
1, nosos ) );
}
/*
* long len otherwise - one byte with bit 8 set, giving the
* length of the length, followed by the length itself.
*/
/* find the first non-all-zero byte */
for ( i = sizeof(long) - 1; i > 0; i-- ) {
mask = (0xffL << (i * 8));
/* not all zero */
if ( len & mask )
break;
}
lenlen = ++i;
if ( lenlen > 4 )
return( -1 );
lenlen |= 0x80;
/* write the length of the length */
if ( ber_write( ber, &lenlen, 1, nosos ) != 1 )
return( -1 );
/* write the length itself */
netlen = LBER_HTONL( len );
if ( ber_write( ber, (char *) &netlen + (sizeof(long) - i), i, nosos )
!= i )
return( -1 );
return( i + 1 );
}
static int
ber_put_int_or_enum( BerElement *ber, long num, unsigned long tag )
{
int i, sign, taglen;
int len, lenlen;
long netnum, mask;
sign = (num < 0);
/*
* high bit is set - look for first non-all-one byte
* high bit is clear - look for first non-all-zero byte
*/
for ( i = sizeof(long) - 1; i > 0; i-- ) {
mask = (0xffL << (i * 8));
if ( sign ) {
/* not all ones */
if ( (num & mask) != mask )
break;
} else {
/* not all zero */
if ( num & mask )
break;
}
}
/*
* we now have the "leading byte". if the high bit on this
* byte matches the sign bit, we need to "back up" a byte.
*/
mask = (num & (0x80L << (i * 8)));
if ( (mask && !sign) || (sign && !mask) )
i++;
len = i + 1;
if ( (taglen = ber_put_tag( ber, tag, 0 )) == -1 )
return( -1 );
if ( (lenlen = ber_put_len( ber, len, 0 )) == -1 )
return( -1 );
i++;
netnum = LBER_HTONL( num );
if ( ber_write( ber, (char *) &netnum + (sizeof(long) - i), i, 0 )
== i)
/* length of tag + length + contents */
return( taglen + lenlen + i );
return( -1 );
}
int
LDAP_CALL
ber_put_enum( BerElement *ber, long num, unsigned long tag )
{
if ( tag == LBER_DEFAULT )
tag = LBER_ENUMERATED;
return( ber_put_int_or_enum( ber, num, tag ) );
}
int
LDAP_CALL
ber_put_int( BerElement *ber, long num, unsigned long tag )
{
if ( tag == LBER_DEFAULT )
tag = LBER_INTEGER;
return( ber_put_int_or_enum( ber, num, tag ) );
}
int
LDAP_CALL
ber_put_ostring( BerElement *ber, char *str, unsigned long len,
unsigned long tag )
{
int taglen, lenlen, rc;
#ifdef STR_TRANSLATION
int free_str;
#endif /* STR_TRANSLATION */
if ( tag == LBER_DEFAULT )
tag = LBER_OCTETSTRING;
if ( (taglen = ber_put_tag( ber, tag, 0 )) == -1 )
return( -1 );
#ifdef STR_TRANSLATION
if ( len > 0 && ( ber->ber_options & LBER_OPT_TRANSLATE_STRINGS ) != 0
&& ber->ber_encode_translate_proc != NULL ) {
if ( (*(ber->ber_encode_translate_proc))( &str, &len, 0 )
!= 0 ) {
return( -1 );
}
free_str = 1;
} else {
free_str = 0;
}
#endif /* STR_TRANSLATION */
/*
* Note: below is a spot where we limit ber_write
* to signed long (instead of unsigned long)
*/
if ( (lenlen = ber_put_len( ber, len, 0 )) == -1 ||
ber_write( ber, str, len, 0 ) != (long) len ) {
rc = -1;
} else {
/* return length of tag + length + contents */
rc = taglen + lenlen + len;
}
#ifdef STR_TRANSLATION
if ( free_str ) {
NSLBERI_FREE( str );
}
#endif /* STR_TRANSLATION */
return( rc );
}
int
LDAP_CALL
ber_put_string( BerElement *ber, char *str, unsigned long tag )
{
return( ber_put_ostring( ber, str, strlen( str ), tag ));
}
int
LDAP_CALL
ber_put_bitstring( BerElement *ber, char *str,
unsigned long blen /* in bits */, unsigned long tag )
{
int taglen, lenlen, len;
unsigned char unusedbits;
if ( tag == LBER_DEFAULT )
tag = LBER_BITSTRING;
if ( (taglen = ber_put_tag( ber, tag, 0 )) == -1 )
return( -1 );
len = ( blen + 7 ) / 8;
unusedbits = (unsigned char) (len * 8 - blen);
if ( (lenlen = ber_put_len( ber, len + 1, 0 )) == -1 )
return( -1 );
if ( ber_write( ber, (char *)&unusedbits, 1, 0 ) != 1 )
return( -1 );
if ( ber_write( ber, str, len, 0 ) != len )
return( -1 );
/* return length of tag + length + unused bit count + contents */
return( taglen + 1 + lenlen + len );
}
int
LDAP_CALL
ber_put_null( BerElement *ber, unsigned long tag )
{
int taglen;
if ( tag == LBER_DEFAULT )
tag = LBER_NULL;
if ( (taglen = ber_put_tag( ber, tag, 0 )) == -1 )
return( -1 );
if ( ber_put_len( ber, 0, 0 ) != 1 )
return( -1 );
return( taglen + 1 );
}
int
LDAP_CALL
ber_put_boolean( BerElement *ber, int boolval, unsigned long tag )
{
int taglen;
unsigned char trueval = 0xff;
unsigned char falseval = 0x00;
if ( tag == LBER_DEFAULT )
tag = LBER_BOOLEAN;
if ( (taglen = ber_put_tag( ber, tag, 0 )) == -1 )
return( -1 );
if ( ber_put_len( ber, 1, 0 ) != 1 )
return( -1 );
if ( ber_write( ber, (char *)(boolval ? &trueval : &falseval), 1, 0 )
!= 1 )
return( -1 );
return( taglen + 2 );
}
#define FOUR_BYTE_LEN 5
/* the idea here is roughly this: we maintain a stack of these Seqorset
* structures. This is pushed when we see the beginning of a new set or
* sequence. It is popped when we see the end of a set or sequence.
* Since we don't want to malloc and free these structures all the time,
* we pre-allocate a small set of them within the ber element structure.
* thus we need to spot when we've overflowed this stack and fall back to
* malloc'ing instead.
*/
static int
ber_start_seqorset( BerElement *ber, unsigned long tag )
{
Seqorset *new_sos;
/* can we fit into the local stack ? */
if (ber->ber_sos_stack_posn < SOS_STACK_SIZE) {
/* yes */
new_sos = &ber->ber_sos_stack[ber->ber_sos_stack_posn];
} else {
/* no */
if ( (new_sos = (Seqorset *)NSLBERI_MALLOC( sizeof(Seqorset)))
== NULLSEQORSET ) {
return( -1 );
}
}
ber->ber_sos_stack_posn++;
if ( ber->ber_sos == NULLSEQORSET )
new_sos->sos_first = ber->ber_ptr;
else
new_sos->sos_first = ber->ber_sos->sos_ptr;
/* Set aside room for a 4 byte length field */
new_sos->sos_ptr = new_sos->sos_first + ber_calc_taglen( tag ) + FOUR_BYTE_LEN;
new_sos->sos_tag = tag;
new_sos->sos_next = ber->ber_sos;
new_sos->sos_clen = 0;
ber->ber_sos = new_sos;
if (ber->ber_sos->sos_ptr > ber->ber_end) {
nslberi_ber_realloc(ber, ber->ber_sos->sos_ptr - ber->ber_end);
}
return( 0 );
}
int
LDAP_CALL
ber_start_seq( BerElement *ber, unsigned long tag )
{
if ( tag == LBER_DEFAULT )
tag = LBER_SEQUENCE;
return( ber_start_seqorset( ber, tag ) );
}
int
LDAP_CALL
ber_start_set( BerElement *ber, unsigned long tag )
{
if ( tag == LBER_DEFAULT )
tag = LBER_SET;
return( ber_start_seqorset( ber, tag ) );
}
static int
ber_put_seqorset( BerElement *ber )
{
unsigned long len, netlen;
int taglen, lenlen;
unsigned char ltag = 0x80 + FOUR_BYTE_LEN - 1;
Seqorset *next;
Seqorset **sos = &ber->ber_sos;
/*
* If this is the toplevel sequence or set, we need to actually
* write the stuff out. Otherwise, it's already been put in
* the appropriate buffer and will be written when the toplevel
* one is written. In this case all we need to do is update the
* length and tag.
*/
len = (*sos)->sos_clen;
netlen = LBER_HTONL( len );
if ( sizeof(long) > 4 && len > 0xFFFFFFFFUL )
return( -1 );
if ( ber->ber_options & LBER_OPT_USE_DER ) {
lenlen = ber_calc_lenlen( len );
} else {
lenlen = FOUR_BYTE_LEN;
}
if ( (next = (*sos)->sos_next) == NULLSEQORSET ) {
/* write the tag */
if ( (taglen = ber_put_tag( ber, (*sos)->sos_tag, 1 )) == -1 )
return( -1 );
if ( ber->ber_options & LBER_OPT_USE_DER ) {
/* Write the length in the minimum # of octets */
if ( ber_put_len( ber, len, 1 ) == -1 )
return( -1 );
if (lenlen != FOUR_BYTE_LEN) {
/*
* We set aside FOUR_BYTE_LEN bytes for
* the length field. Move the data if
* we don't actually need that much
*/
SAFEMEMCPY( (*sos)->sos_first + taglen +
lenlen, (*sos)->sos_first + taglen +
FOUR_BYTE_LEN, len );
}
} else {
/* Fill FOUR_BYTE_LEN bytes for length field */
/* one byte of length length */
if ( ber_write( ber, (char *)&ltag, 1, 1 ) != 1 )
return( -1 );
/* the length itself */
if ( ber_write( ber, (char *) &netlen + sizeof(long)
- (FOUR_BYTE_LEN - 1), FOUR_BYTE_LEN - 1, 1 )
!= FOUR_BYTE_LEN - 1 )
return( -1 );
}
/* The ber_ptr is at the set/seq start - move it to the end */
ber->ber_ptr += len;
} else {
unsigned long ntag;
/* the tag */
taglen = ber_calc_taglen( (*sos)->sos_tag );
ntag = LBER_HTONL( (*sos)->sos_tag );
SAFEMEMCPY( (*sos)->sos_first, (char *) &ntag +
sizeof(long) - taglen, taglen );
if ( ber->ber_options & LBER_OPT_USE_DER ) {
ltag = (lenlen == 1) ? (unsigned char)len :
(unsigned char) (0x80 + (lenlen - 1));
}
/* one byte of length length */
SAFEMEMCPY( (*sos)->sos_first + 1, &ltag, 1 );
if ( ber->ber_options & LBER_OPT_USE_DER ) {
if (lenlen > 1) {
/* Write the length itself */
SAFEMEMCPY( (*sos)->sos_first + 2,
(char *)&netlen + sizeof(unsigned long) -
(lenlen - 1),
lenlen - 1 );
}
if (lenlen != FOUR_BYTE_LEN) {
/*
* We set aside FOUR_BYTE_LEN bytes for
* the length field. Move the data if
* we don't actually need that much
*/
SAFEMEMCPY( (*sos)->sos_first + taglen +
lenlen, (*sos)->sos_first + taglen +
FOUR_BYTE_LEN, len );
}
} else {
/* the length itself */
SAFEMEMCPY( (*sos)->sos_first + taglen + 1,
(char *) &netlen + sizeof(long) -
(FOUR_BYTE_LEN - 1), FOUR_BYTE_LEN - 1 );
}
next->sos_clen += (taglen + lenlen + len);
next->sos_ptr += (taglen + lenlen + len);
}
/* we're done with this seqorset, so free it up */
/* was this one from the local stack ? */
if (ber->ber_sos_stack_posn <= SOS_STACK_SIZE) {
/* yes */
} else {
/* no */
NSLBERI_FREE( (char *) (*sos) );
}
ber->ber_sos_stack_posn--;
*sos = next;
return( taglen + lenlen + len );
}
int
LDAP_CALL
ber_put_seq( BerElement *ber )
{
return( ber_put_seqorset( ber ) );
}
int
LDAP_CALL
ber_put_set( BerElement *ber )
{
return( ber_put_seqorset( ber ) );
}
/* VARARGS */
int
LDAP_C
ber_printf( BerElement *ber, const char *fmt, ... )
{
va_list ap;
char *s, **ss;
struct berval **bv;
int rc, i;
unsigned long len;
va_start( ap, fmt );
#ifdef LDAP_DEBUG
if ( lber_debug & 64 ) {
char msg[80];
sprintf( msg, "ber_printf fmt (%s)\n", fmt );
ber_err_print( msg );
}
#endif
for ( rc = 0; *fmt && rc != -1; fmt++ ) {
switch ( *fmt ) {
case 'b': /* boolean */
i = va_arg( ap, int );
rc = ber_put_boolean( ber, i, ber->ber_tag );
break;
case 'i': /* int */
i = va_arg( ap, int );
rc = ber_put_int( ber, (long)i, ber->ber_tag );
break;
case 'e': /* enumeration */
i = va_arg( ap, int );
rc = ber_put_enum( ber, (long)i, ber->ber_tag );
break;
case 'n': /* null */
rc = ber_put_null( ber, ber->ber_tag );
break;
case 'o': /* octet string (non-null terminated) */
s = va_arg( ap, char * );
len = va_arg( ap, int );
rc = ber_put_ostring( ber, s, len, ber->ber_tag );
break;
case 's': /* string */
s = va_arg( ap, char * );
rc = ber_put_string( ber, s, ber->ber_tag );
break;
case 'B': /* bit string */
s = va_arg( ap, char * );
len = va_arg( ap, int ); /* in bits */
rc = ber_put_bitstring( ber, s, len, ber->ber_tag );
break;
case 't': /* tag for the next element */
ber->ber_tag = va_arg( ap, unsigned long );
ber->ber_usertag = 1;
break;
case 'v': /* vector of strings */
if ( (ss = va_arg( ap, char ** )) == NULL )
break;
for ( i = 0; ss[i] != NULL; i++ ) {
if ( (rc = ber_put_string( ber, ss[i],
ber->ber_tag )) == -1 )
break;
}
break;
case 'V': /* sequences of strings + lengths */
if ( (bv = va_arg( ap, struct berval ** )) == NULL )
break;
for ( i = 0; bv[i] != NULL; i++ ) {
if ( (rc = ber_put_ostring( ber, bv[i]->bv_val,
bv[i]->bv_len, ber->ber_tag )) == -1 )
break;
}
break;
case '{': /* begin sequence */
rc = ber_start_seq( ber, ber->ber_tag );
break;
case '}': /* end sequence */
rc = ber_put_seqorset( ber );
break;
case '[': /* begin set */
rc = ber_start_set( ber, ber->ber_tag );
break;
case ']': /* end set */
rc = ber_put_seqorset( ber );
break;
default: {
char msg[80];
sprintf( msg, "unknown fmt %c\n", *fmt );
ber_err_print( msg );
rc = -1;
break;
}
}
if ( ber->ber_usertag == 0 )
ber->ber_tag = LBER_DEFAULT;
else
ber->ber_usertag = 0;
}
va_end( ap );
return( rc );
}

View File

@@ -1,172 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*/
/*
* Copyright (c) 1990 Regents of the University of Michigan.
* All rights reserved.
*/
/* test.c - lber encoding test program */
#include <stdio.h>
#include <string.h>
#ifdef MACOS
#include <stdlib.h>
#include <unix.h>
#include <fcntl.h>
#include <console.h>
#else /* MACOS */
#include <sys/types.h>
#ifdef _WIN32
#include <windows.h>
#else
#include <sys/socket.h>
#endif /* _WIN32 */
#endif /* MACOS */
#include "lber.h"
int
SSL_Recv( int s, char *b, unsigned l, int dummy )
{
return( read( s, b, l ) );
}
SSL_Send( int s, char *b, unsigned l, int dummy )
{
return( write( s, b, l ) );
}
int
getline( char *prompt, char c, char *buf, int bsize )
{
char *p;
if ( prompt != NULL ) {
fprintf( stderr, "%s: ", prompt );
} else {
fprintf( stderr, "enter value for '%c': ", c );
}
if ( fgets( buf, bsize, stdin ) == NULL ) {
return( -1 );
}
if ( (p = strchr( buf, '\n' )) != NULL ) {
*p = '\0';
}
return( 0 );
}
static void usage( char *name )
{
fprintf( stderr, "usage: %s fmtstring\n", name );
}
main( int argc, char **argv )
{
int rc, fd;
char *s, *p;
void *arg1, *arg2;
Sockbuf *sb;
BerElement *ber;
char fmt[2];
char buf[BUFSIZ];
extern int lber_debug;
lber_debug = 255;
if ( argc < 2 ) {
usage( argv[0] );
exit( 1 );
}
sb = ber_sockbuf_alloc();
fd = 1;
ber_sockbuf_set_option( sb, LBER_SOCKBUF_OPT_DESC, &fd );
if ( (ber = der_alloc()) == NULL ) {
perror( "ber_alloc" );
exit( 1 );
}
rc = 0;
fmt[1] = '\0';
for ( s = argv[1]; *s; s++ ) {
switch ( *s ) {
case 'i': /* int */
case 'b': /* boolean */
case 'e': /* enumeration */
getline( NULL, *s, buf, sizeof(buf) );
arg1 = (void *) atoi( buf );
break;
case 'n': /* null */
arg1 = NULL;
break;
case 'o': /* octet string (non-null terminated) */
getline( NULL, *s, buf, sizeof(buf) );
arg1 = (void *) buf;
arg2 = (void *) strlen( buf );
break;
case 's': /* string */
getline( NULL, *s, buf, sizeof(buf) );
arg1 = (void *) buf;
break;
case 'B': /* bit string */
getline( NULL, *s, buf, sizeof(buf) );
arg1 = (void *) buf;
arg2 = (void *) strlen( buf );
break;
case 't': /* tag for the next element */
getline( NULL, *s, buf, sizeof(buf) );
arg1 = (void *) buf;
break;
case '{': /* begin sequence */
case '}': /* end sequence */
case '[': /* begin set */
case ']': /* end set */
break;
default:
fprintf( stderr, "unknown fmt %c\n", *s );
rc = -1;
break;
}
fmt[0] = *s;
if ( ber_printf( ber, fmt, arg1, arg2 ) == -1 ) {
fprintf( stderr, "ber_printf\n" );
exit( 1 );
}
}
if ( ber_flush( sb, ber, 1 ) != 0 ) {
perror( "ber_flush" );
rc = -1;
}
return( rc );
}

View File

@@ -1,86 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*/
/*
* Copyright (c) 1990 Regents of the University of Michigan.
* All rights reserved.
*
* Redistribution and use in source and binary forms are permitted
* provided that this notice is preserved and that due credit is given
* to the University of Michigan at Ann Arbor. The name of the University
* may not be used to endorse or promote products derived from this
* software without specific prior written permission. This software
* is provided ``as is'' without express or implied warranty.
*/
/* idtest.c - ber decoding test program using isode libraries */
#include <stdio.h>
#include <psap.h>
#include <quipu/attr.h>
static usage( char *name )
{
fprintf( stderr, "usage: %s\n", name );
}
main( int argc, char **argv )
{
PE pe;
PS psin, psout, pserr;
/* read the pe from standard in */
if ( (psin = ps_alloc( std_open )) == NULLPS ) {
perror( "ps_alloc" );
exit( 1 );
}
if ( std_setup( psin, stdin ) == NOTOK ) {
perror( "std_setup" );
exit( 1 );
}
/* write the pe to standard out */
if ( (psout = ps_alloc( std_open )) == NULLPS ) {
perror( "ps_alloc" );
exit( 1 );
}
if ( std_setup( psout, stdout ) == NOTOK ) {
perror( "std_setup" );
exit( 1 );
}
/* pretty print it to standard error */
if ( (pserr = ps_alloc( std_open )) == NULLPS ) {
perror( "ps_alloc" );
exit( 1 );
}
if ( std_setup( pserr, stderr ) == NOTOK ) {
perror( "std_setup" );
exit( 1 );
}
while ( (pe = ps2pe( psin )) != NULLPE ) {
pe2pl( pserr, pe );
pe2ps( psout, pe );
}
exit( 0 );
}

File diff suppressed because it is too large Load Diff

View File

@@ -1,241 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*/
/*
* Copyright (c) 1990 Regents of the University of Michigan.
* All rights reserved.
*
* Redistribution and use in source and binary forms are permitted
* provided that this notice is preserved and that due credit is given
* to the University of Michigan at Ann Arbor. The name of the University
* may not be used to endorse or promote products derived from this
* software without specific prior written permission. This software
* is provided ``as is'' without express or implied warranty.
*/
/* lbet-int.h - internal header file for liblber */
#ifndef _LBERINT_H
#define _LBERINT_H
#ifdef __cplusplus
extern "C" {
#endif
#include <stdio.h>
#include <ctype.h>
#include <stdarg.h>
#include <stdlib.h>
#ifdef macintosh
# include "ldap-macos.h"
#else /* macintosh */
#if !defined(BSDI) && !defined(DARWIN) && !defined(FREEBSD)
# include <malloc.h>
#endif
# include <errno.h>
# include <sys/types.h>
#if defined(SUNOS4) || defined(SCOOS)
# include <sys/time.h>
#endif
#if defined( _WINDOWS )
# define WIN32_LEAN_AND_MEAN
# include <windows.h>
# include <time.h>
/* No stderr in a 16-bit Windows DLL */
# if defined(_WINDLL) && !defined(_WIN32)
# define USE_DBG_WIN
# endif
# else
/* # include <sys/varargs.h> */
# include <sys/socket.h>
# include <netinet/in.h>
#if !defined(XP_OS2) && !defined(DARWIN)
# include <unistd.h>
#endif
# endif /* defined( _WINDOWS ) */
#endif /* macintosh */
#include <memory.h>
#include <string.h>
#include "portable.h"
#ifdef _WINDOWS
#include <winsock.h>
#include <io.h>
#endif /* _WINDOWS */
#ifdef XP_OS2
#include <io.h>
#endif /* XP_OS2 */
/* No stderr in a 16-bit Windows DLL */
#if defined(_WINDLL) && !defined(_WIN32)
#define stderr NULL
#endif
#include "lber.h"
#define OLD_LBER_SEQUENCE 0x10L /* w/o constructed bit - broken */
#define OLD_LBER_SET 0x11L /* w/o constructed bit - broken */
#ifndef _IFP
#define _IFP
typedef int (LDAP_C LDAP_CALLBACK *IFP)();
#endif
extern struct lber_memalloc_fns nslberi_memalloc_fns;
typedef struct seqorset {
unsigned long sos_clen;
unsigned long sos_tag;
char *sos_first;
char *sos_ptr;
struct seqorset *sos_next;
} Seqorset;
#define NULLSEQORSET ((Seqorset *) 0)
#define SOS_STACK_SIZE 8 /* depth of the pre-allocated sos structure stack */
struct berelement {
char *ber_buf;
char *ber_ptr;
char *ber_end;
struct seqorset *ber_sos;
unsigned long ber_tag;
unsigned long ber_len;
int ber_usertag;
char ber_options;
char *ber_rwptr;
BERTranslateProc ber_encode_translate_proc;
BERTranslateProc ber_decode_translate_proc;
int ber_flags;
#define LBER_FLAG_NO_FREE_BUFFER 1 /* don't free ber_buf */
int ber_sos_stack_posn;
Seqorset ber_sos_stack[SOS_STACK_SIZE];
};
#define NULLBER ((BerElement *)NULL)
struct sockbuf {
LBER_SOCKET sb_sd;
BerElement sb_ber;
int sb_naddr; /* > 0 implies using CLDAP (UDP) */
void *sb_useaddr; /* pointer to sockaddr to use next */
void *sb_fromaddr; /* pointer to message source sockaddr */
void **sb_addrs; /* actually an array of pointers to
sockaddrs */
int sb_options; /* to support copying ber elements */
LBER_SOCKET sb_fd;
unsigned long sb_max_incoming;
LDAP_IOF_READ_CALLBACK *sb_read_fn;
LDAP_IOF_WRITE_CALLBACK *sb_write_fn;
};
#define NULLSOCKBUF ((Sockbuf *)NULL)
#define READBUFSIZ 8192
/*
* macros used to check validity of data structures and parameters
*/
#define NSLBERI_VALID_BERELEMENT_POINTER( ber ) \
( (ber) != NULLBER )
#define NSLBERI_VALID_SOCKBUF_POINTER( sb ) \
( (sb) != NULLSOCKBUF )
#if defined(_WIN32) && defined(_ALPHA)
#define LBER_HTONL( _l ) \
((((_l)&0xff)<<24) + (((_l)&0xff00)<<8) + \
(((_l)&0xff0000)>>8) + (((_l)&0xff000000)>>24))
#define LBER_NTOHL(_l) LBER_HTONL(_l)
#elif !defined(__alpha) || defined(VMS)
#define LBER_HTONL( l ) htonl( l )
#define LBER_NTOHL( l ) ntohl( l )
#else /* __alpha */
/*
* htonl and ntohl on the DEC Alpha under OSF 1 seem to only swap the
* lower-order 32-bits of a (64-bit) long, so we define correct versions
* here.
*/
#define LBER_HTONL( l ) (((long)htonl( (l) & 0x00000000FFFFFFFF )) << 32 \
| htonl( ( (l) & 0xFFFFFFFF00000000 ) >> 32 ))
#define LBER_NTOHL( l ) (((long)ntohl( (l) & 0x00000000FFFFFFFF )) << 32 \
| ntohl( ( (l) & 0xFFFFFFFF00000000 ) >> 32 ))
#endif /* __alpha */
/* function prototypes */
#ifdef LDAP_DEBUG
void ber_dump( BerElement *ber, int inout );
void lber_bprint( char *data, int len );
#endif
void ber_err_print( char *data );
void *nslberi_malloc( size_t size );
void *nslberi_calloc( size_t nelem, size_t elsize );
void *nslberi_realloc( void *ptr, size_t size );
void nslberi_free( void *ptr );
int nslberi_ber_realloc( BerElement *ber, unsigned long len );
/* blame: dboreham
* slapd spends much of its time doing memcpy's for the ber code.
* Most of these are single-byte, so we special-case those and speed
* things up considerably.
*/
#ifdef sunos4
#define THEMEMCPY( d, s, n ) bcopy( s, d, n )
#else /* sunos4 */
#define THEMEMCPY( d, s, n ) memmove( d, s, n )
#endif /* sunos4 */
#ifdef SAFEMEMCPY
#undef SAFEMEMCPY
#define SAFEMEMCPY(d,s,n) if (1 == n) *((char*)d) = *((char*)s); else THEMEMCPY(d,s,n);
#endif
/*
* Memory allocation done in liblber should all go through one of the
* following macros. This is so we can plug-in alternative memory
* allocators, etc. as the need arises.
*/
#define NSLBERI_MALLOC( size ) nslberi_malloc( size )
#define NSLBERI_CALLOC( nelem, elsize ) nslberi_calloc( nelem, elsize )
#define NSLBERI_REALLOC( ptr, size ) nslberi_realloc( ptr, size )
#define NSLBERI_FREE( ptr ) nslberi_free( ptr )
/* allow the library to access the debug variable */
extern int lber_debug;
#ifdef __cplusplus
}
#endif
#endif /* _LBERINT_H */

View File

@@ -1,164 +0,0 @@
DEPTH = ../../../../..
NS_DEPTH = ../../../..
LDAPSRC = ../..
MOD_DEPTH = ../../../../../nsprpub
NSPR_TREE = ../../../../../nsprpub
RM = rm -f
SED = sed
SRCS = abandon.c \
add.c \
bind.c \
cache.c \
charray.c \
charset.c \
compare.c \
compat.c \
control.c \
countvalues.c \
delete.c \
disptmpl.c \
dsparse.c \
error.c \
extendop.c \
free.c \
freevalues.c \
friendly.c \
getattr.c \
getdn.c \
getdxbyname.c \
getentry.c \
getfilter.c \
getoption.c \
getvalues.c \
memcache.c \
message.c \
modify.c \
open.c \
os-ip.c \
proxyauthctrl.c \
psearch.c \
referral.c \
regex.c \
rename.c \
request.c \
reslist.c \
result.c \
saslbind.c \
sbind.c \
search.c \
setoption.c \
sort.c \
sortctrl.c \
srchpref.c \
tmplout.c \
ufn.c \
unbind.c \
unescape.c \
url.c \
utf8.c \
vlistctrl.c
REALOBJS = $(SRCS:.c=.o)
#OBJS = $(REALOBJS) versiont.o
OBJS = $(REALOBJS)
HDIR = $(LDAPSRC)/include
CFLAGS = $(INCLUDES) $(DEFINES)
LIBRARY_NAME = ldap40
#
# DEFS are included in CFLAGS
#
DEFS = $(PLATFORMCFLAGS) $(LDAP_DEBUG) $(KERBEROS) $(AFSKERBEROS) \
$(UOFM) $(UOFA) $(NO_USERINTERFACE) $(CLDAP) $(NO_CACHE) \
$(LDAP_REFERRALS) $(LDAP_DNS) $(STR_TRANSLATION) \
$(LIBLDAP_CHARSETS) $(LIBLDAP_DEF_CHARSET) \
$(SLAPD_BACKENDS) $(LDBMBACKEND) $(LDBMINCLUDE) $(PHONETIC) \
$(LDAP_SSLIO_HOOKS)
include $(NSPR_TREE)/config/rules.mk
LOCAL_INCLUDES = -I$(PUBLIC)/nspr
INCLUDES += -I$(HDIR) $(KRBINCLUDEFLAG)
DEFINES += $(DEFS) -DFILTERFILE=./ldapfilter.conf \
-DTEMPLATEFILE=./ldaptemplates.conf \
-DNDEBUG -UMOZILLA_CLIENT
# So we actually get the definition of hostent_data....
ifeq ($(OS_ARCH),AIX)
DEFINES += -D_THREAD_SAFE
endif
GARBAGE += $(ETCDIR)/ldapfriendly $(ETCDIR)/ldapfilter.conf \
$(ETCDIR)/ldaptemplates.conf $(ETCDIR)/ldapsearchprefs.conf
PLATFORMCFLAGS = -DUSE_WAITPID -DNEEDPROTOS
PLATFORMLIBS =
THREADS =
THREADSLIB =
ETCFILES = ldapfilter.conf \
ldapfriendly \
ldapsearchprefs.conf \
ldaptemplates.conf \
$(NULL)
#ETCDIR = $(DIST)/etc
INSTALLDIR = $(DEPTH)/dist/$(OBJDIR_NAME)
ETCDIR = $(INSTALLDIR)/etc
#
# if you want things to run in a different directory from where they
# are installed, set this accordingly (this path gets compiled into a
# few binaries). otherwise, leave it alone.
#
RUNTIMEETCDIR = $(ETCDIR)
#
# To build slapd (the stand-alone ldap daemon), uncomment the MAKESLAPD
# line and select the SLAPD_BACKENDS you want to use. If you enable the
# LDBM backend, also select one of the LDBM backends.
#
MAKESLAPD = yes
SLAPD_BACKENDS = -DLDAP_LDBM -DLDAP_SHELL -DLDAP_PASSWD
LDBMBACKEND = -DLDBM_USE_NDBM
#
# uncomment this line to enable debugging code (a good idea)
#
ifndef BUILD_OPT
LDAP_DEBUG = -DLDAP_DEBUG
endif
#
# uncomment this line to enable support for LDAP referrals in libldap
#
LDAP_REFERRALS = -DLDAP_REFERRALS
#
# uncomment this line to enable support for SSL I/O in libldap
#
LDAP_SSLIO_HOOKS = -DLDAP_SSLIO_HOOKS
###########################################################################
versiont.c: Makefile.client Version.c
@$(RM) $@
@(u="$${USER-root}" v="$(shell cat ../../build/version)" d="$(shell pwd)" \
h="$(shell hostname)" t="$(shell date)"; $(SED) -e "s|%WHEN%|$${t}|" \
-e "s|%WHOANDWHERE%|$${u}@$${h}:$${d}|" \
-e "s|%VERSION%|$${v}|" \
< Version.c > $@)
install:: $(LIBRARY) $(SHARED_LIBRARY)
$(INSTALL) -m 444 $(LIBRARY) $(INSTALLDIR)/lib
ifdef MKSHLIB
$(INSTALL) -m 555 $(SHARED_LIBRARY) $(INSTALLDIR)/lib
endif
$(INSTALL) $(INSTALLFLAGS) -m 644 $(ETCFILES) $(ETCDIR)

View File

@@ -1,232 +0,0 @@
DEPTH = ../../../../..
NS_DEPTH = ../../../..
srcdir = @srcdir@
ldaptopsrcdir = @top_srcdir@
include ../../build/autoconf.mk
RM = rm -f
SED = sed
SRCS = abandon.c \
add.c \
bind.c \
cache.c \
charray.c \
charset.c \
compare.c \
compat.c \
control.c \
countvalues.c \
delete.c \
disptmpl.c \
dsparse.c \
error.c \
extendop.c \
free.c \
freevalues.c \
friendly.c \
getattr.c \
getdn.c \
getdxbyname.c \
getentry.c \
getfilter.c \
getoption.c \
getvalues.c \
memcache.c \
message.c \
modify.c \
open.c \
os-ip.c \
proxyauthctrl.c \
psearch.c \
referral.c \
regex.c \
rename.c \
request.c \
reslist.c \
result.c \
saslbind.c \
sbind.c \
search.c \
setoption.c \
sort.c \
sortctrl.c \
srchpref.c \
tmplout.c \
ufn.c \
unbind.c \
unescape.c \
url.c \
utf8.c \
vlistctrl.c
ifeq ($(OS_ARCH),WINNT)
LBER_SRCS = \
decode.c \
encode.c \
io.c \
bprint.c \
$(NULL)
SRCS += mozock.c \
$(addprefix ../liblber/,$(LBER_SRCS))
endif
REALOBJS = $(SRCS:.c=.$(OBJ_SUFFIX))
#OBJS = $(REALOBJS) versiont.o
OBJS = $(REALOBJS)
HDIR = $(ldaptopsrcdir)/include
HDIR2 = ../../include
CFLAGS = $(INCLUDES) $(DEFINES)
ifeq ($(OS_ARCH),WINNT)
RES = nsldap.res
RESNAME = $(srcdir)/../msdos/winsock/nsldap.rc
LIBRARY_NAME = nsldap32v40
else
LIBRARY_NAME = ldap40
endif
#
# DEFS are included in CFLAGS
#
DEFS = $(PLATFORMCFLAGS) $(LDAP_DEBUG) $(KERBEROS) $(AFSKERBEROS) \
$(UOFM) $(UOFA) $(NO_USERINTERFACE) $(CLDAP) $(NO_CACHE) \
$(LDAP_REFERRALS) $(LDAP_DNS) $(STR_TRANSLATION) \
$(LIBLDAP_CHARSETS) $(LIBLDAP_DEF_CHARSET) \
$(SLAPD_BACKENDS) $(LDBMBACKEND) $(LDBMINCLUDE) $(PHONETIC) \
$(LDAP_SSLIO_HOOKS)
include $(NSPR_TREE)/config/rules.mk
LOCAL_INCLUDES = -I$(PUBLIC)/nspr
INCLUDES += -I$(HDIR) -I$(HDIR2) $(KRBINCLUDEFLAG)
DEFINES += $(DEFS) -DFILTERFILE=./ldapfilter.conf \
-DTEMPLATEFILE=./ldaptemplates.conf \
-DNDEBUG -UMOZILLA_CLIENT
ifeq ($(OS_ARCH),WINNT)
DEFINES += /D_WINDOWS /DWINSOCK \
/D_WIN32 /DWIN32_KERNEL_THREADS \
/DNO_USERINTERFACE /DLDAP_SSLIO_HOOKS
EXTRA_LIBS += rpcrt4.lib winmm.lib wsock32.lib oldnames.lib kernel32.lib user32.lib
DLL_LIBS += /DEF:$(srcdir)/../msdos/winsock/nsldap3240.def \
/implib:$(LIBRARY_NAME).$(LIB_SUFFIX) \
/nodefaultlib
ifdef BUILD_OPT
EXTRA_LIBS += msvcrt.lib
else
EXTRA_LIBS += msvcrtd.lib
endif
endif
ifeq ($(OS_ARCH), OS2)
INCLUDES += -I$(DIST)/include
EXTRA_LIBS += $(DIST)/lib/lber40.lib
endif
# So we actually get the definition of hostent_data....
ifeq ($(OS_ARCH),AIX)
DEFINES += -D_THREAD_SAFE
DSO_LDOPTS += -lm -lc_r -L../liblber -llber40
endif
ifneq (,$(filter BeOS Linux,$(OS_ARCH)))
DSO_LDOPTS += -L../liblber -llber40
endif
ifneq (,$(filter OpenVMS Darwin,$(OS_ARCH)))
EXTRA_LIBS += -L../liblber -llber40
endif
GARBAGE += $(ETCDIR)/ldapfriendly $(ETCDIR)/ldapfilter.conf \
$(ETCDIR)/ldaptemplates.conf $(ETCDIR)/ldapsearchprefs.conf
ifeq ($(OS_ARCH),WINNT)
PLATFORMCFLAGS = -DNEEDPROTOS
else
PLATFORMCFLAGS = -DUSE_WAITPID -DNEEDPROTOS
endif
PLATFORMLIBS =
THREADS =
THREADSLIB =
ETCFILES = ldapfilter.conf \
ldapfriendly \
ldapsearchprefs.conf \
ldaptemplates.conf \
$(NULL)
ETCDIR = $(DIST)/etc
#
# if you want things to run in a different directory from where they
# are installed, set this accordingly (this path gets compiled into a
# few binaries). otherwise, leave it alone.
#
RUNTIMEETCDIR = $(ETCDIR)
#
# To build slapd (the stand-alone ldap daemon), uncomment the MAKESLAPD
# line and select the SLAPD_BACKENDS you want to use. If you enable the
# LDBM backend, also select one of the LDBM backends.
#
MAKESLAPD = yes
SLAPD_BACKENDS = -DLDAP_LDBM -DLDAP_SHELL -DLDAP_PASSWD
LDBMBACKEND = -DLDBM_USE_NDBM
#
# uncomment this line to enable debugging code (a good idea)
#
ifndef BUILD_OPT
LDAP_DEBUG = -DLDAP_DEBUG
endif
#
# uncomment this line to enable support for LDAP referrals in libldap
#
LDAP_REFERRALS = -DLDAP_REFERRALS
#
# uncomment this line to enable support for SSL I/O in libldap
#
LDAP_SSLIO_HOOKS = -DLDAP_SSLIO_HOOKS
###########################################################################
versiont.c: Makefile.client Version.c
@$(RM) $@
@(u="$${USER-root}" v="$(shell cat ../../build/version)" d="$(shell pwd)" \
h="$(shell hostname)" t="$(shell date)"; $(SED) -e "s|%WHEN%|$${t}|" \
-e "s|%WHOANDWHERE%|$${u}@$${h}:$${d}|" \
-e "s|%VERSION%|$${v}|" \
< Version.c > $@)
ifeq ($(OS_ARCH),OS2)
install:: $(TARGETS)
$(INSTALL) -m 444 $(TARGETS) $(DIST)/lib
ifdef SHARED_LIBRARY
$(INSTALL) -m 444 $(SHARED_LIBRARY) $(DIST)/bin
endif
else # !os2
install:: $(LIBRARY) $(SHARED_LIBRARY) $(IMPORT_LIBRARY)
$(INSTALL) -m 444 $(LIBRARY) $(DIST)/lib
ifdef MKSHLIB
$(INSTALL) -m 555 $(SHARED_LIBRARY) $(DIST)/lib
$(INSTALL) -m 555 $(SHARED_LIBRARY) $(DIST)/bin
ifdef IMPORT_LIBRARY
$(INSTALL) -m 444 $(IMPORT_LIBRARY) $(DIST)/lib
endif
endif
endif # os2
# XXX currently we don't install any of these config files; what to do?
#
# $(INSTALL) $(INSTALLFLAGS) -m 644 $(ETCFILES) $(ETCDIR)

View File

@@ -1,268 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*/
/*
* Copyright (c) 1990 Regents of the University of Michigan.
* All rights reserved.
*/
/*
* abandon.c
*/
#if 0
#ifndef lint
static char copyright[] = "@(#) Copyright (c) 1990 Regents of the University of Michigan.\nAll rights reserved.\n";
#endif
#endif
#include "ldap-int.h"
static int do_abandon( LDAP *ld, int origid, int msgid,
LDAPControl **serverctrls, LDAPControl **clientctrls );
/*
* ldap_abandon - perform an ldap abandon operation. Parameters:
*
* ld LDAP descriptor
* msgid The message id of the operation to abandon
*
* ldap_abandon returns 0 if everything went ok, -1 otherwise.
*
* Example:
* ldap_abandon( ld, msgid );
*/
int
LDAP_CALL
ldap_abandon( LDAP *ld, int msgid )
{
LDAPDebug( LDAP_DEBUG_TRACE, "ldap_abandon %d\n", msgid, 0, 0 );
if ( ldap_abandon_ext( ld, msgid, NULL, NULL ) == LDAP_SUCCESS ) {
return( 0 );
}
return( -1 );
}
/*
* LDAPv3 extended abandon.
* Returns an LDAP error code.
*/
int
LDAP_CALL
ldap_abandon_ext( LDAP *ld, int msgid, LDAPControl **serverctrls,
LDAPControl **clientctrls )
{
int rc;
LDAPDebug( LDAP_DEBUG_TRACE, "ldap_abandon_ext %d\n", msgid, 0, 0 );
if ( !NSLDAPI_VALID_LDAP_POINTER( ld )) {
return( LDAP_PARAM_ERROR );
}
LDAP_MUTEX_LOCK( ld, LDAP_CONN_LOCK );
LDAP_MUTEX_LOCK( ld, LDAP_REQ_LOCK );
rc = do_abandon( ld, msgid, msgid, serverctrls, clientctrls );
/*
* XXXmcs should use cache function pointers to hook in memcache
*/
ldap_memcache_abandon( ld, msgid );
LDAP_MUTEX_UNLOCK( ld, LDAP_REQ_LOCK );
LDAP_MUTEX_UNLOCK( ld, LDAP_CONN_LOCK );
return( rc );
}
/*
* Abandon all outstanding requests for msgid (included child requests
* spawned when chasing referrals). This function calls itself recursively.
* No locking is done is this function so it must be done by the caller.
* Returns an LDAP error code and sets it in LDAP *ld as well
*/
static int
do_abandon( LDAP *ld, int origid, int msgid, LDAPControl **serverctrls,
LDAPControl **clientctrls )
{
BerElement *ber;
int i, bererr, lderr, sendabandon;
Sockbuf *sb;
LDAPRequest *lr = NULL;
/*
* An abandon request looks like this:
* AbandonRequest ::= MessageID
*/
LDAPDebug( LDAP_DEBUG_TRACE, "do_abandon origid %d, msgid %d\n",
origid, msgid, 0 );
/* optimistic */
lderr = LDAP_SUCCESS;
/*
* this is not the best implementation...
* the code special cases the when async io is enabled.
* The logic is clear this way, at the cost of code bloat.
* This logic should be cleaned up post nova 4.5 rtm
*/
if (ld->ld_options & LDAP_BITOPT_ASYNC)
{
/* Don't send an abandon message unless there is something to abandon. */
sendabandon = 0;
/* Find the request that we are abandoning. */
if (ld->ld_requests != NULL) {
for ( lr = ld->ld_requests; lr != NULL; lr = lr->lr_next ) {
if ( lr->lr_msgid == msgid ) { /* this message */
if ( origid == msgid && lr->lr_parent != NULL ) {
/* don't let caller abandon child requests! */
lderr = LDAP_PARAM_ERROR;
goto set_errorcode_and_return;
}
if ( lr->lr_status == LDAP_REQST_INPROGRESS ) {
/* We only need to send an abandon message if the request
* is in progress.
*/
sendabandon = 1;
}
break;
}
if ( lr->lr_origid == msgid ) { /* child: abandon it */
(void)do_abandon( ld, msgid, lr->lr_msgid,
serverctrls, clientctrls );
/* we ignore errors from child abandons... */
}
}
}
}
else
{
sendabandon = 1;
/* find the request that we are abandoning */
for ( lr = ld->ld_requests; lr != NULL; lr = lr->lr_next ) {
if ( lr->lr_msgid == msgid ) { /* this message */
break;
}
if ( lr->lr_origid == msgid ) { /* child: abandon it */
(void)do_abandon( ld, msgid, lr->lr_msgid,
serverctrls, clientctrls );
/* we ignore errors from child abandons... */
}
}
if ( lr != NULL ) {
if ( origid == msgid && lr->lr_parent != NULL ) {
/* don't let caller abandon child requests! */
lderr = LDAP_PARAM_ERROR;
goto set_errorcode_and_return;
}
if ( lr->lr_status != LDAP_REQST_INPROGRESS ) {
/* no need to send abandon message */
sendabandon = 0;
}
}
}
if ( ldap_msgdelete( ld, msgid ) == 0 ) {
/* we had all the results and deleted them */
goto set_errorcode_and_return;
}
if ( sendabandon ) {
/* create a message to send */
if (( lderr = nsldapi_alloc_ber_with_options( ld, &ber )) ==
LDAP_SUCCESS ) {
LDAP_MUTEX_LOCK( ld, LDAP_MSGID_LOCK );
#ifdef CLDAP
if ( ld->ld_dbp->sb_naddr > 0 ) {
bererr = ber_printf( ber, "{isti",
++ld->ld_msgid, ld->ld_cldapdn,
LDAP_REQ_ABANDON, msgid );
} else {
#endif /* CLDAP */
bererr = ber_printf( ber, "{iti",
++ld->ld_msgid, LDAP_REQ_ABANDON, msgid );
#ifdef CLDAP
}
#endif /* CLDAP */
LDAP_MUTEX_UNLOCK( ld, LDAP_MSGID_LOCK );
if ( bererr == -1 ||
( lderr = nsldapi_put_controls( ld, serverctrls,
1, ber )) != LDAP_SUCCESS ) {
lderr = LDAP_ENCODING_ERROR;
ber_free( ber, 1 );
} else {
/* send the message */
if ( lr != NULL ) {
sb = lr->lr_conn->lconn_sb;
} else {
sb = ld->ld_sbp;
}
if ( nsldapi_ber_flush( ld, sb, ber, 1, 0 )
!= 0 ) {
lderr = LDAP_SERVER_DOWN;
}
}
}
}
if ( lr != NULL ) {
if ( sendabandon ) {
nsldapi_free_connection( ld, lr->lr_conn, NULL, NULL,
0, 1 );
}
if ( origid == msgid ) {
nsldapi_free_request( ld, lr, 0 );
}
}
LDAP_MUTEX_LOCK( ld, LDAP_ABANDON_LOCK );
if ( ld->ld_abandoned == NULL ) {
if ( (ld->ld_abandoned = (int *)NSLDAPI_MALLOC( 2
* sizeof(int) )) == NULL ) {
lderr = LDAP_NO_MEMORY;
LDAP_MUTEX_UNLOCK( ld, LDAP_ABANDON_LOCK );
goto set_errorcode_and_return;
}
i = 0;
} else {
for ( i = 0; ld->ld_abandoned[i] != -1; i++ )
; /* NULL */
if ( (ld->ld_abandoned = (int *)NSLDAPI_REALLOC( (char *)
ld->ld_abandoned, (i + 2) * sizeof(int) )) == NULL ) {
lderr = LDAP_NO_MEMORY;
LDAP_MUTEX_UNLOCK( ld, LDAP_ABANDON_LOCK );
goto set_errorcode_and_return;
}
}
ld->ld_abandoned[i] = msgid;
ld->ld_abandoned[i + 1] = -1;
LDAP_MUTEX_UNLOCK( ld, LDAP_ABANDON_LOCK );
set_errorcode_and_return:
LDAP_SET_LDERRNO( ld, lderr, NULL, NULL );
return( lderr );
}

View File

@@ -1,210 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*/
/*
* Copyright (c) 1990 Regents of the University of Michigan.
* All rights reserved.
*/
/*
* add.c
*/
#if 0
#ifndef lint
static char copyright[] = "@(#) Copyright (c) 1990 Regents of the University of Michigan.\nAll rights reserved.\n";
#endif
#endif
#include "ldap-int.h"
/*
* ldap_add - initiate an ldap add operation. Parameters:
*
* ld LDAP descriptor
* dn DN of the entry to add
* mods List of attributes for the entry. This is a null-
* terminated array of pointers to LDAPMod structures.
* only the type and values in the structures need be
* filled in.
*
* Example:
* LDAPMod *attrs[] = {
* { 0, "cn", { "babs jensen", "babs", 0 } },
* { 0, "sn", { "jensen", 0 } },
* { 0, "objectClass", { "person", 0 } },
* 0
* }
* msgid = ldap_add( ld, dn, attrs );
*/
int
LDAP_CALL
ldap_add( LDAP *ld, const char *dn, LDAPMod **attrs )
{
int msgid;
LDAPDebug( LDAP_DEBUG_TRACE, "ldap_add\n", 0, 0, 0 );
if ( ldap_add_ext( ld, dn, attrs, NULL, NULL, &msgid )
== LDAP_SUCCESS ) {
return( msgid );
} else {
return( -1 ); /* error is in ld handle */
}
}
/*
* LDAPv3 extended add.
* Returns an LDAP error code.
*/
int
LDAP_CALL
ldap_add_ext( LDAP *ld, const char *dn, LDAPMod **attrs,
LDAPControl **serverctrls, LDAPControl **clientctrls, int *msgidp )
{
BerElement *ber;
int i, rc, lderr;
/*
* An add request looks like this:
* AddRequest ::= SEQUENCE {
* entry DistinguishedName,
* attrs SEQUENCE OF SEQUENCE {
* type AttributeType,
* values SET OF AttributeValue
* }
* }
*/
LDAPDebug( LDAP_DEBUG_TRACE, "ldap_add_ext\n", 0, 0, 0 );
if ( !NSLDAPI_VALID_LDAP_POINTER( ld )) {
return( LDAP_PARAM_ERROR );
}
if ( !NSLDAPI_VALID_LDAPMESSAGE_POINTER( msgidp ))
{
LDAP_SET_LDERRNO( ld, LDAP_PARAM_ERROR, NULL, NULL );
return( LDAP_PARAM_ERROR );
}
if ( !NSLDAPI_VALID_NONEMPTY_LDAPMOD_ARRAY( attrs )
|| msgidp == NULL ) {
lderr = LDAP_PARAM_ERROR;
LDAP_SET_LDERRNO( ld, lderr, NULL, NULL );
return( lderr );
}
if ( dn == NULL ) {
dn = "";
}
LDAP_MUTEX_LOCK( ld, LDAP_MSGID_LOCK );
*msgidp = ++ld->ld_msgid;
LDAP_MUTEX_UNLOCK( ld, LDAP_MSGID_LOCK );
/* see if we should add to the cache */
if ( ld->ld_cache_on && ld->ld_cache_add != NULL ) {
LDAP_MUTEX_LOCK( ld, LDAP_CACHE_LOCK );
if ( (rc = (ld->ld_cache_add)( ld, *msgidp, LDAP_REQ_ADD, dn,
attrs )) != 0 ) {
*msgidp = rc;
LDAP_MUTEX_UNLOCK( ld, LDAP_CACHE_LOCK );
return( LDAP_SUCCESS );
}
LDAP_MUTEX_UNLOCK( ld, LDAP_CACHE_LOCK );
}
/* create a message to send */
if (( lderr = nsldapi_alloc_ber_with_options( ld, &ber ))
!= LDAP_SUCCESS ) {
return( lderr );
}
if ( ber_printf( ber, "{it{s{", *msgidp, LDAP_REQ_ADD, dn )
== -1 ) {
lderr = LDAP_ENCODING_ERROR;
LDAP_SET_LDERRNO( ld, lderr, NULL, NULL );
ber_free( ber, 1 );
return( lderr );
}
/* for each attribute in the entry... */
for ( i = 0; attrs[i] != NULL; i++ ) {
if ( ( attrs[i]->mod_op & LDAP_MOD_BVALUES) != 0 ) {
rc = ber_printf( ber, "{s[V]}", attrs[i]->mod_type,
attrs[i]->mod_bvalues );
} else {
rc = ber_printf( ber, "{s[v]}", attrs[i]->mod_type,
attrs[i]->mod_values );
}
if ( rc == -1 ) {
lderr = LDAP_ENCODING_ERROR;
LDAP_SET_LDERRNO( ld, lderr, NULL, NULL );
ber_free( ber, 1 );
return( lderr );
}
}
if ( ber_printf( ber, "}}" ) == -1 ) {
lderr = LDAP_ENCODING_ERROR;
LDAP_SET_LDERRNO( ld, lderr, NULL, NULL );
ber_free( ber, 1 );
return( lderr );
}
if (( lderr = nsldapi_put_controls( ld, serverctrls, 1, ber ))
!= LDAP_SUCCESS ) {
ber_free( ber, 1 );
return( lderr );
}
/* send the message */
rc = nsldapi_send_initial_request( ld, *msgidp, LDAP_REQ_ADD,
(char *) dn, ber );
*msgidp = rc;
return( rc < 0 ? LDAP_GET_LDERRNO( ld, NULL, NULL ) : LDAP_SUCCESS );
}
int
LDAP_CALL
ldap_add_s( LDAP *ld, const char *dn, LDAPMod **attrs )
{
return( ldap_add_ext_s( ld, dn, attrs, NULL, NULL ));
}
int LDAP_CALL
ldap_add_ext_s( LDAP *ld, const char *dn, LDAPMod **attrs,
LDAPControl **serverctrls, LDAPControl **clientctrls )
{
int err, msgid;
LDAPMessage *res;
if (( err = ldap_add_ext( ld, dn, attrs, serverctrls, clientctrls,
&msgid )) != LDAP_SUCCESS ) {
return( err );
}
if ( ldap_result( ld, msgid, 1, (struct timeval *)NULL, &res ) == -1 ) {
return( LDAP_GET_LDERRNO( ld, NULL, NULL ) );
}
return( ldap_result2error( ld, res, 1 ) );
}

View File

@@ -1,155 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*/
/*
* bind.c
*/
#if 0
#ifndef lint
static char copyright[] = "@(#) Copyright (c) 1990 Regents of the University of Michigan.\nAll rights reserved.\n";
#endif
#endif
#include "ldap-int.h"
/*
* ldap_bind - bind to the ldap server. The dn and password
* of the entry to which to bind are supplied, along with the authentication
* method to use. The msgid of the bind request is returned on success,
* -1 if there's trouble. Note, the kerberos support assumes the user already
* has a valid tgt for now. ldap_result() should be called to find out the
* outcome of the bind request.
*
* Example:
* ldap_bind( ld, "cn=manager, o=university of michigan, c=us", "secret",
* LDAP_AUTH_SIMPLE )
*/
int
LDAP_CALL
ldap_bind( LDAP *ld, const char *dn, const char *passwd, int authmethod )
{
/*
* The bind request looks like this:
* BindRequest ::= SEQUENCE {
* version INTEGER,
* name DistinguishedName, -- who
* authentication CHOICE {
* simple [0] OCTET STRING -- passwd
* }
* }
* all wrapped up in an LDAPMessage sequence.
*/
LDAPDebug( LDAP_DEBUG_TRACE, "ldap_bind\n", 0, 0, 0 );
if ( !NSLDAPI_VALID_LDAP_POINTER( ld )) {
return( -1 );
}
switch ( authmethod ) {
case LDAP_AUTH_SIMPLE:
return( ldap_simple_bind( ld, dn, passwd ) );
default:
LDAP_SET_LDERRNO( ld, LDAP_AUTH_UNKNOWN, NULL, NULL );
return( -1 );
}
}
/*
* ldap_bind_s - bind to the ldap server. The dn and password
* of the entry to which to bind are supplied, along with the authentication
* method to use. This routine just calls whichever bind routine is
* appropriate and returns the result of the bind (e.g. LDAP_SUCCESS or
* some other error indication). Note, the kerberos support assumes the
* user already has a valid tgt for now.
*
* Examples:
* ldap_bind_s( ld, "cn=manager, o=university of michigan, c=us",
* "secret", LDAP_AUTH_SIMPLE )
* ldap_bind_s( ld, "cn=manager, o=university of michigan, c=us",
* NULL, LDAP_AUTH_KRBV4 )
*/
int
LDAP_CALL
ldap_bind_s( LDAP *ld, const char *dn, const char *passwd, int authmethod )
{
int err;
LDAPDebug( LDAP_DEBUG_TRACE, "ldap_bind_s\n", 0, 0, 0 );
switch ( authmethod ) {
case LDAP_AUTH_SIMPLE:
return( ldap_simple_bind_s( ld, dn, passwd ) );
default:
err = LDAP_AUTH_UNKNOWN;
LDAP_SET_LDERRNO( ld, err, NULL, NULL );
return( err );
}
}
void
LDAP_CALL
ldap_set_rebind_proc( LDAP *ld, LDAP_REBINDPROC_CALLBACK *rebindproc,
void *arg )
{
if ( ld == NULL ) {
if ( !nsldapi_initialized ) {
nsldapi_initialize_defaults();
}
ld = &nsldapi_ld_defaults;
}
if ( NSLDAPI_VALID_LDAP_POINTER( ld )) {
LDAP_MUTEX_LOCK( ld, LDAP_OPTION_LOCK );
ld->ld_rebind_fn = rebindproc;
ld->ld_rebind_arg = arg;
LDAP_MUTEX_UNLOCK( ld, LDAP_OPTION_LOCK );
}
}
/*
* return a pointer to the bind DN for the default connection (a copy is
* not made). If there is no bind DN available, NULL is returned.
*/
char *
nsldapi_get_binddn( LDAP *ld )
{
char *binddn;
binddn = NULL; /* default -- assume they are not bound */
LDAP_MUTEX_LOCK( ld, LDAP_CONN_LOCK );
if ( NULL != ld->ld_defconn && LDAP_CONNST_CONNECTED ==
ld->ld_defconn->lconn_status && ld->ld_defconn->lconn_bound ) {
if (( binddn = ld->ld_defconn->lconn_binddn ) == NULL ) {
binddn = "";
}
}
LDAP_MUTEX_UNLOCK( ld, LDAP_CONN_LOCK );
return( binddn );
}

View File

@@ -1,130 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*/
/*
* Copyright (c) 1993 The Regents of the University of Michigan.
* All rights reserved.
*/
/*
* cache.c - generic caching support for LDAP
*/
#include "ldap-int.h"
/*
* ldap_cache_flush - flush part of the LDAP cache. returns an
* ldap error code (LDAP_SUCCESS, LDAP_NO_SUCH_OBJECT, etc.).
*/
int
LDAP_CALL
ldap_cache_flush( LDAP *ld, const char *dn, const char *filter )
{
if ( !NSLDAPI_VALID_LDAP_POINTER( ld )) {
return( LDAP_PARAM_ERROR );
}
if ( dn == NULL ) {
dn = "";
}
return( (ld->ld_cache_flush)( ld, dn, filter ) );
}
/*
* nsldapi_add_result_to_cache - add an ldap entry we just read off the network
* to the ldap cache. this routine parses the ber for the entry and
* constructs the appropriate add request. this routine calls the
* cache add routine to actually add the entry.
*/
void
nsldapi_add_result_to_cache( LDAP *ld, LDAPMessage *m )
{
char *dn;
LDAPMod **mods;
int i, max, rc;
char *a;
BerElement *ber;
char buf[50];
struct berval bv;
struct berval *bvp[2];
LDAPDebug( LDAP_DEBUG_TRACE, "=> nsldapi_add_result_to_cache id %d type %d\n",
m->lm_msgid, m->lm_msgtype, 0 );
if ( m->lm_msgtype != LDAP_RES_SEARCH_ENTRY ||
ld->ld_cache_add == NULL ) {
LDAPDebug( LDAP_DEBUG_TRACE,
"<= nsldapi_add_result_to_cache not added\n", 0, 0, 0 );
return;
}
#define GRABSIZE 5
dn = ldap_get_dn( ld, m );
mods = (LDAPMod **)NSLDAPI_MALLOC( GRABSIZE * sizeof(LDAPMod *) );
max = GRABSIZE;
for ( i = 0, a = ldap_first_attribute( ld, m, &ber ); a != NULL;
a = ldap_next_attribute( ld, m, ber ), i++ ) {
if ( i == (max - 1) ) {
max += GRABSIZE;
mods = (LDAPMod **)NSLDAPI_REALLOC( mods,
sizeof(LDAPMod *) * max );
}
mods[i] = (LDAPMod *)NSLDAPI_CALLOC( 1, sizeof(LDAPMod) );
mods[i]->mod_op = LDAP_MOD_BVALUES;
mods[i]->mod_type = a;
mods[i]->mod_bvalues = ldap_get_values_len( ld, m, a );
}
if ( ber != NULL ) {
ber_free( ber, 0 );
}
if (( rc = LDAP_GET_LDERRNO( ld, NULL, NULL )) != LDAP_SUCCESS ) {
LDAPDebug( LDAP_DEBUG_TRACE,
"<= nsldapi_add_result_to_cache error: failed to construct mod list (%s)\n",
ldap_err2string( rc ), 0, 0 );
ldap_mods_free( mods, 1 );
return;
}
/* update special cachedtime attribute */
if ( i == (max - 1) ) {
max++;
mods = (LDAPMod **)NSLDAPI_REALLOC( mods,
sizeof(LDAPMod *) * max );
}
mods[i] = (LDAPMod *)NSLDAPI_CALLOC( 1, sizeof(LDAPMod) );
mods[i]->mod_op = LDAP_MOD_BVALUES;
mods[i]->mod_type = "cachedtime";
sprintf( buf, "%d", time( NULL ) );
bv.bv_val = buf;
bv.bv_len = strlen( buf );
bvp[0] = &bv;
bvp[1] = NULL;
mods[i]->mod_bvalues = bvp;
mods[++i] = NULL;
/* msgid of -1 means don't send the result */
rc = (ld->ld_cache_add)( ld, -1, m->lm_msgtype, dn, mods );
LDAPDebug( LDAP_DEBUG_TRACE,
"<= nsldapi_add_result_to_cache added (rc %d)\n", rc, 0, 0 );
}

View File

@@ -1,230 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*/
/* charray.c - routines for dealing with char * arrays */
#include "ldap-int.h"
/*
* Add s at the end of the array of strings *a.
* Return 0 for success, -1 for failure.
*/
int
LDAP_CALL
ldap_charray_add(
char ***a,
char *s
)
{
int n;
if ( *a == NULL ) {
*a = (char **)NSLDAPI_MALLOC( 2 * sizeof(char *) );
if ( *a == NULL ) {
return -1;
}
n = 0;
} else {
for ( n = 0; *a != NULL && (*a)[n] != NULL; n++ ) {
; /* NULL */
}
*a = (char **)NSLDAPI_REALLOC( (char *) *a,
(n + 2) * sizeof(char *) );
if ( *a == NULL ) {
return -1;
}
}
(*a)[n++] = s;
(*a)[n] = NULL;
return 0;
}
/*
* Add array of strings s at the end of the array of strings *a.
* Return 0 for success, -1 for failure.
*/
int
LDAP_CALL
ldap_charray_merge(
char ***a,
char **s
)
{
int i, n, nn;
if ( (s == NULL) || (s[0] == NULL) )
return 0;
for ( n = 0; *a != NULL && (*a)[n] != NULL; n++ ) {
; /* NULL */
}
for ( nn = 0; s[nn] != NULL; nn++ ) {
; /* NULL */
}
*a = (char **)NSLDAPI_REALLOC( (char *) *a,
(n + nn + 1) * sizeof(char *) );
if ( *a == NULL ) {
return -1;
}
for ( i = 0; i < nn; i++ ) {
(*a)[n + i] = s[i];
}
(*a)[n + nn] = NULL;
return 0;
}
void
LDAP_CALL
ldap_charray_free( char **array )
{
char **a;
if ( array == NULL ) {
return;
}
for ( a = array; *a != NULL; a++ ) {
if ( *a != NULL ) {
NSLDAPI_FREE( *a );
}
}
NSLDAPI_FREE( (char *) array );
}
int
LDAP_CALL
ldap_charray_inlist(
char **a,
char *s
)
{
int i;
if ( a == NULL )
return( 0 );
for ( i = 0; a[i] != NULL; i++ ) {
if ( strcasecmp( s, a[i] ) == 0 ) {
return( 1 );
}
}
return( 0 );
}
/*
* Duplicate the array of strings a, return NULL upon any memory failure.
*/
char **
LDAP_CALL
ldap_charray_dup( char **a )
{
int i;
char **new;
for ( i = 0; a[i] != NULL; i++ )
; /* NULL */
new = (char **)NSLDAPI_MALLOC( (i + 1) * sizeof(char *) );
if ( new == NULL ) {
return NULL;
}
for ( i = 0; a[i] != NULL; i++ ) {
new[i] = nsldapi_strdup( a[i] );
if ( new[i] == NULL ) {
int j;
for ( j = 0; j < i; j++ )
NSLDAPI_FREE( new[j] );
NSLDAPI_FREE( new );
return NULL;
}
}
new[i] = NULL;
return( new );
}
/*
* Tokenize the string str, return NULL upon any memory failure.
* XXX: on many platforms this function is not thread safe because it
* uses strtok().
*/
char **
LDAP_CALL
ldap_str2charray( char *str, char *brkstr )
/* This implementation fails if brkstr contains multibyte characters.
But it works OK if str is UTF-8 and brkstr is 7-bit ASCII.
*/
{
char **res;
char *s;
int i;
i = 1;
for ( s = str; *s; s++ ) {
if ( strchr( brkstr, *s ) != NULL ) {
i++;
}
}
res = (char **)NSLDAPI_MALLOC( (i + 1) * sizeof(char *) );
if ( res == NULL ) {
return NULL;
}
i = 0;
for ( s = strtok( str, brkstr ); s != NULL; s = strtok( NULL,
brkstr ) ) {
res[i++] = nsldapi_strdup( s );
if ( res[i - 1] == NULL ) {
int j;
for ( j = 0; j < (i - 1); j++ )
NSLDAPI_FREE( res[j] );
NSLDAPI_FREE( res );
return NULL;
}
}
res[i] = NULL;
return( res );
}
int
LDAP_CALL
ldap_charray_position( char **a, char *s )
{
int i;
for ( i = 0; a[i] != NULL; i++ ) {
if ( strcasecmp( s, a[i] ) == 0 ) {
return( i );
}
}
return( -1 );
}

File diff suppressed because it is too large Load Diff

View File

@@ -1,569 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*/
/*
* Copyright (c) 1990, 1994 Regents of the University of Michigan.
* All rights reserved.
*/
/*
* cldap.c - synchronous, retrying interface to the cldap protocol
*/
#ifdef CLDAP
XXX not MT-safe XXX
#ifndef lint
static char copyright[] = "@(#) Copyright (c) 1990, 1994 Regents of the University of Michigan.\nAll rights reserved.\n";
#endif
#include <stdio.h>
#include <string.h>
#include <errno.h>
#ifdef macintosh
#include <stdlib.h>
#include "macos.h"
#else /* macintosh */
#ifdef DOS
#include "msdos.h"
#else /* DOS */
#ifdef _WINDOWS
#include <windows.h>
#else /* _WINDOWS */
#include <sys/time.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
#endif /* _WINDOWS */
#endif /* DOS */
#endif /* macintosh */
#include "ldap-int.h"
#define DEF_CLDAP_TIMEOUT 3
#define DEF_CLDAP_TRIES 4
#ifndef INADDR_LOOPBACK
#define INADDR_LOOPBACK ((unsigned long) 0x7f000001)
#endif
struct cldap_retinfo {
int cri_maxtries;
int cri_try;
int cri_useaddr;
long cri_timeout;
};
#ifdef NEEDPROTOS
static int add_addr( LDAP *ld, struct sockaddr *sap );
static int cldap_result( LDAP *ld, int msgid, LDAPMessage **res,
struct cldap_retinfo *crip, char *base );
static int cldap_parsemsg( LDAP *ld, int msgid, BerElement *ber,
LDAPMessage **res, char *base );
#else /* NEEDPROTOS */
static int add_addr();
static int cldap_result();
static int cldap_parsemsg();
#endif /* NEEDPROTOS */
/*
* cldap_open - initialize and connect to an ldap server. A magic cookie to
* be used for future communication is returned on success, NULL on failure.
*
* Example:
* LDAP *ld;
* ld = cldap_open( hostname, port );
*/
LDAP *
cldap_open( char *host, int port )
{
int s;
nsldapi_in_addr_t address;
struct sockaddr_in sock;
struct hostent *hp;
LDAP *ld;
char *p;
int i;
LDAPDebug( LDAP_DEBUG_TRACE, "cldap_open\n", 0, 0, 0 );
if ( port == 0 ) {
port = LDAP_PORT;
}
if ( (s = socket( AF_INET, SOCK_DGRAM, 0 )) < 0 ) {
return( NULL );
}
sock.sin_addr.s_addr = 0;
sock.sin_family = AF_INET;
sock.sin_port = 0;
if ( bind(s, (struct sockaddr *) &sock, sizeof(sock)) < 0) {
close( s );
return( NULL );
}
if (( ld = ldap_init( host, port )) == NULL ) {
close( s );
return( NULL );
}
if ( (ld->ld_sbp->sb_fromaddr = (void *)NSLDAPI_CALLOC( 1,
sizeof( struct sockaddr ))) == NULL ) {
NSLDAPI_FREE( ld );
close( s );
return( NULL );
}
ld->ld_sbp->sb_sd = s;
ld->ld_sbp->sb_naddr = 0;
ld->ld_version = LDAP_VERSION;
sock.sin_family = AF_INET;
sock.sin_port = htons( port );
/*
* 'host' may be a space-separated list.
*/
if ( host != NULL ) {
for ( ; host != NULL; host = p ) {
if (( p = strchr( host, ' ' )) != NULL ) {
for (*p++ = '\0'; *p == ' '; p++) {
;
}
}
if ( (address = inet_addr( host )) == -1 ) {
/* XXXmcs: need to use DNS callbacks here XXX */
XXX
if ( (hp = gethostbyname( host )) == NULL ) {
LDAP_SET_ERRNO( ld, EHOSTUNREACH );
continue;
}
for ( i = 0; hp->h_addr_list[ i ] != 0; ++i ) {
SAFEMEMCPY( (char *)&sock.sin_addr.s_addr,
(char *)hp->h_addr_list[ i ],
sizeof(sock.sin_addr.s_addr));
if ( add_addr( ld, (struct sockaddr *)&sock ) < 0 ) {
close( s );
NSLDAPI_FREE( ld );
return( NULL );
}
}
} else {
sock.sin_addr.s_addr = address;
if ( add_addr( ld, (struct sockaddr *)&sock ) < 0 ) {
close( s );
NSLDAPI_FREE( ld );
return( NULL );
}
}
if ( ld->ld_host == NULL ) {
ld->ld_host = nsldapi_strdup( host );
}
}
} else {
address = INADDR_LOOPBACK;
sock.sin_addr.s_addr = htonl( address );
if ( add_addr( ld, (struct sockaddr *)&sock ) < 0 ) {
close( s );
NSLDAPI_FREE( ld );
return( NULL );
}
}
if ( ld->ld_sbp->sb_addrs == NULL
|| ( ld->ld_defconn = nsldapi_new_connection( ld, NULL, 1,0,0 )) == NULL ) {
NSLDAPI_FREE( ld );
return( NULL );
}
ld->ld_sbp->sb_useaddr = ld->ld_sbp->sb_addrs[ 0 ];
cldap_setretryinfo( ld, 0, 0 );
#ifdef LDAP_DEBUG
putchar( '\n' );
for ( i = 0; i < ld->ld_sbp->sb_naddr; ++i ) {
LDAPDebug( LDAP_DEBUG_TRACE, "end of cldap_open address %d is %s\n",
i, inet_ntoa( ((struct sockaddr_in *)
ld->ld_sbp->sb_addrs[ i ])->sin_addr ), 0 );
}
#endif
return( ld );
}
void
cldap_close( LDAP *ld )
{
ldap_ld_free( ld, NULL, NULL, 0 );
}
void
cldap_setretryinfo( LDAP *ld, int tries, int timeout )
{
ld->ld_cldaptries = ( tries <= 0 ) ? DEF_CLDAP_TRIES : tries;
ld->ld_cldaptimeout = ( timeout <= 0 ) ? DEF_CLDAP_TIMEOUT : timeout;
}
int
cldap_search_s( LDAP *ld, char *base, int scope, char *filter, char **attrs,
int attrsonly, LDAPMessage **res, char *logdn )
{
int ret, msgid;
struct cldap_retinfo cri;
*res = NULLMSG;
(void) memset( &cri, 0, sizeof( cri ));
if ( logdn != NULL ) {
ld->ld_cldapdn = logdn;
} else if ( ld->ld_cldapdn == NULL ) {
ld->ld_cldapdn = "";
}
do {
if ( cri.cri_try != 0 ) {
--ld->ld_msgid; /* use same id as before */
}
ld->ld_sbp->sb_useaddr = ld->ld_sbp->sb_addrs[ cri.cri_useaddr ];
LDAPDebug( LDAP_DEBUG_TRACE, "cldap_search_s try %d (to %s)\n",
cri.cri_try, inet_ntoa( ((struct sockaddr_in *)
ld->ld_sbp->sb_useaddr)->sin_addr ), 0 );
if ( (msgid = ldap_search( ld, base, scope, filter, attrs,
attrsonly )) == -1 ) {
return( LDAP_GET_LDERRNO( ld, NULL, NULL ) );
}
#ifndef NO_CACHE
if ( ld->ld_cache != NULL && ld->ld_responses != NULL ) {
LDAPDebug( LDAP_DEBUG_TRACE, "cldap_search_s res from cache\n",
0, 0, 0 );
*res = ld->ld_responses;
ld->ld_responses = ld->ld_responses->lm_next;
return( ldap_result2error( ld, *res, 0 ));
}
#endif /* NO_CACHE */
ret = cldap_result( ld, msgid, res, &cri, base );
} while (ret == -1);
return( ret );
}
static int
add_addr( LDAP *ld, struct sockaddr *sap )
{
struct sockaddr *newsap, **addrs;
if (( newsap = (struct sockaddr *)NSLDAPI_MALLOC(
sizeof( struct sockaddr ))) == NULL ) {
LDAP_SET_LDERRNO( ld, LDAP_NO_MEMORY, NULL, NULL );
return( -1 );
}
if ( ld->ld_sbp->sb_naddr == 0 ) {
addrs = (struct sockaddr **)NSLDAPI_MALLOC( sizeof(struct sockaddr *));
} else {
addrs = (struct sockaddr **)NSLDAPI_REALLOC( ld->ld_sbp->sb_addrs,
( ld->ld_sbp->sb_naddr + 1 ) * sizeof(struct sockaddr *));
}
if ( addrs == NULL ) {
NSLDAPI_FREE( newsap );
LDAP_SET_LDERRNO( ld, LDAP_NO_MEMORY, NULL, NULL );
return( -1 );
}
SAFEMEMCPY( (char *)newsap, (char *)sap, sizeof( struct sockaddr ));
addrs[ ld->ld_sbp->sb_naddr++ ] = newsap;
ld->ld_sbp->sb_addrs = (void **)addrs;
return( 0 );
}
static int
cldap_result( LDAP *ld, int msgid, LDAPMessage **res,
struct cldap_retinfo *crip, char *base )
{
Sockbuf *sb = ld->ld_sbp;
BerElement ber;
char *logdn;
int ret, fromaddr, i;
long id;
struct timeval tv;
fromaddr = -1;
if ( crip->cri_try == 0 ) {
crip->cri_maxtries = ld->ld_cldaptries * sb->sb_naddr;
crip->cri_timeout = ld->ld_cldaptimeout;
crip->cri_useaddr = 0;
LDAPDebug( LDAP_DEBUG_TRACE, "cldap_result tries %d timeout %d\n",
ld->ld_cldaptries, ld->ld_cldaptimeout, 0 );
}
if ((tv.tv_sec = crip->cri_timeout / sb->sb_naddr) < 1 ) {
tv.tv_sec = 1;
}
tv.tv_usec = 0;
LDAPDebug( LDAP_DEBUG_TRACE,
"cldap_result waiting up to %d seconds for a response\n",
tv.tv_sec, 0, 0 );
ber_init_w_nullchar( &ber, 0 );
nsldapi_set_ber_options( ld, &ber );
if ( cldap_getmsg( ld, &tv, &ber ) == -1 ) {
ret = LDAP_GET_LDERRNO( ld, NULL, NULL );
LDAPDebug( LDAP_DEBUG_TRACE, "cldap_getmsg returned -1 (%d)\n",
ret, 0, 0 );
} else if ( LDAP_GET_LDERRNO( ld, NULL, NULL ) == LDAP_TIMEOUT ) {
LDAPDebug( LDAP_DEBUG_TRACE,
"cldap_result timed out\n", 0, 0, 0 );
/*
* It timed out; is it time to give up?
*/
if ( ++crip->cri_try >= crip->cri_maxtries ) {
ret = LDAP_TIMEOUT;
--crip->cri_try;
} else {
if ( ++crip->cri_useaddr >= sb->sb_naddr ) {
/*
* new round: reset address to first one and
* double the timeout
*/
crip->cri_useaddr = 0;
crip->cri_timeout <<= 1;
}
ret = -1;
}
} else {
/*
* Got a response. It should look like:
* { msgid, logdn, { searchresponse...}}
*/
logdn = NULL;
if ( ber_scanf( &ber, "ia", &id, &logdn ) == LBER_ERROR ) {
NSLDAPI_FREE( ber.ber_buf ); /* gack! */
ret = LDAP_DECODING_ERROR;
LDAPDebug( LDAP_DEBUG_TRACE,
"cldap_result: ber_scanf returned LBER_ERROR (%d)\n",
ret, 0, 0 );
} else if ( id != msgid ) {
NSLDAPI_FREE( ber.ber_buf ); /* gack! */
LDAPDebug( LDAP_DEBUG_TRACE,
"cldap_result: looking for msgid %d; got %ld\n",
msgid, id, 0 );
ret = -1; /* ignore and keep looking */
} else {
/*
* got a result: determine which server it came from
* decode into ldap message chain
*/
for ( fromaddr = 0; fromaddr < sb->sb_naddr; ++fromaddr ) {
if ( memcmp( &((struct sockaddr_in *)
sb->sb_addrs[ fromaddr ])->sin_addr,
&((struct sockaddr_in *)sb->sb_fromaddr)->sin_addr,
sizeof( struct in_addr )) == 0 ) {
break;
}
}
ret = cldap_parsemsg( ld, msgid, &ber, res, base );
NSLDAPI_FREE( ber.ber_buf ); /* gack! */
LDAPDebug( LDAP_DEBUG_TRACE,
"cldap_result got result (%d)\n", ret, 0, 0 );
}
if ( logdn != NULL ) {
NSLDAPI_FREE( logdn );
}
}
/*
* If we are giving up (successfully or otherwise) then
* abandon any outstanding requests.
*/
if ( ret != -1 ) {
i = crip->cri_try;
if ( i >= sb->sb_naddr ) {
i = sb->sb_naddr - 1;
}
for ( ; i >= 0; --i ) {
if ( i == fromaddr ) {
continue;
}
sb->sb_useaddr = sb->sb_addrs[ i ];
LDAPDebug( LDAP_DEBUG_TRACE, "cldap_result abandoning id %d (to %s)\n",
msgid, inet_ntoa( ((struct sockaddr_in *)
sb->sb_useaddr)->sin_addr ), 0 );
(void) ldap_abandon( ld, msgid );
}
}
LDAP_SET_LDERRNO( ld, ret, NULL, NULL );
return( ret );
}
static int
cldap_parsemsg( LDAP *ld, int msgid, BerElement *ber,
LDAPMessage **res, char *base )
{
unsigned long tag, len;
int baselen, slen, rc;
char *dn, *p, *cookie;
LDAPMessage *chain, *prev, *ldm;
struct berval *bv;
rc = LDAP_DECODING_ERROR; /* pessimistic */
ldm = chain = prev = NULLMSG;
baselen = ( base == NULL ) ? 0 : strlen( base );
bv = NULL;
for ( tag = ber_first_element( ber, &len, &cookie );
tag != LBER_ERROR && tag != LBER_END_OF_SEQOFSET
&& rc != LDAP_SUCCESS;
tag = ber_next_element( ber, &len, cookie )) {
if (( ldm = (LDAPMessage *)NSLDAPI_CALLOC( 1, sizeof(LDAPMessage)))
== NULL ) {
rc = LDAP_NO_MEMORY;
break; /* return with error */
} else if (( rc = nsldapi_alloc_ber_with_options( ld, &ldm->lm_ber ))
!= LDAP_SUCCESS ) {
break; /* return with error*/
}
ldm->lm_msgid = msgid;
ldm->lm_msgtype = tag;
if ( tag == LDAP_RES_SEARCH_RESULT ) {
LDAPDebug( LDAP_DEBUG_TRACE, "cldap_parsemsg got search result\n",
0, 0, 0 );
if ( ber_get_stringal( ber, &bv ) == LBER_DEFAULT ) {
break; /* return w/error */
}
if ( ber_printf( ldm->lm_ber, "to", tag, bv->bv_val,
(int)bv->bv_len /* XXX lossy cast */ ) == -1 ) {
break; /* return w/error */
}
ber_bvfree( bv );
bv = NULL;
rc = LDAP_SUCCESS;
} else if ( tag == LDAP_RES_SEARCH_ENTRY ) {
if ( ber_scanf( ber, "{aO", &dn, &bv ) == LBER_ERROR ) {
break; /* return w/error */
}
LDAPDebug( LDAP_DEBUG_TRACE, "cldap_parsemsg entry %s\n", dn, 0, 0 );
if ( dn != NULL && *(dn + ( slen = strlen(dn)) - 1) == '*' &&
baselen > 0 ) {
/*
* substitute original searchbase for trailing '*'
*/
if (( p = (char *)NSLDAPI_MALLOC( slen + baselen )) == NULL ) {
rc = LDAP_NO_MEMORY;
NSLDAPI_FREE( dn );
break; /* return w/error */
}
strcpy( p, dn );
strcpy( p + slen - 1, base );
NSLDAPI_FREE( dn );
dn = p;
}
if ( ber_printf( ldm->lm_ber, "t{so}", tag, dn, bv->bv_val,
(int)bv->bv_len /* XXX lossy cast */ ) == -1 ) {
break; /* return w/error */
}
NSLDAPI_FREE( dn );
ber_bvfree( bv );
bv = NULL;
} else {
LDAPDebug( LDAP_DEBUG_TRACE, "cldap_parsemsg got unknown tag %d\n",
tag, 0, 0 );
rc = LDAP_PROTOCOL_ERROR;
break; /* return w/error */
}
/* Reset message ber so we can read from it later. Gack! */
ldm->lm_ber->ber_end = ldm->lm_ber->ber_ptr;
ldm->lm_ber->ber_ptr = ldm->lm_ber->ber_buf;
#ifdef LDAP_DEBUG
if ( ldap_debug & LDAP_DEBUG_PACKETS ) {
char msg[80];
sprintf( msg, "cldap_parsemsg add message id %d type %d:\n",
ldm->lm_msgid, ldm->lm_msgtype );
ber_err_print( msg );
ber_dump( ldm->lm_ber, 1 );
}
#endif /* LDAP_DEBUG */
#ifndef NO_CACHE
if ( ld->ld_cache != NULL ) {
nsldapi_add_result_to_cache( ld, ldm );
}
#endif /* NO_CACHE */
if ( chain == NULL ) {
chain = ldm;
} else {
prev->lm_chain = ldm;
}
prev = ldm;
ldm = NULL;
}
/* dispose of any leftovers */
if ( ldm != NULL ) {
if ( ldm->lm_ber != NULLBER ) {
ber_free( ldm->lm_ber, 1 );
}
NSLDAPI_FREE( ldm );
}
if ( bv != NULL ) {
ber_bvfree( bv );
}
/* return chain, calling result2error if we got anything at all */
*res = chain;
return(( *res == NULLMSG ) ? rc : ldap_result2error( ld, *res, 0 ));
}
#endif /* CLDAP */

View File

@@ -1,179 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*/
/*
* Copyright (c) 1990 Regents of the University of Michigan.
* All rights reserved.
*/
/*
* compare.c
*/
#if 0
#ifndef lint
static char copyright[] = "@(#) Copyright (c) 1990 Regents of the University of Michigan.\nAll rights reserved.\n";
#endif
#endif
#include "ldap-int.h"
/*
* ldap_compare - perform an ldap compare operation. The dn
* of the entry to compare to and the attribute and value to compare (in
* attr and value) are supplied. The msgid of the response is returned.
*
* Example:
* ldap_compare( ld, "c=us@cn=bob", "userPassword", "secret" )
*/
int
LDAP_CALL
ldap_compare( LDAP *ld, const char *dn, const char *attr, const char *value )
{
int msgid;
struct berval bv;
LDAPDebug( LDAP_DEBUG_TRACE, "ldap_compare\n", 0, 0, 0 );
bv.bv_val = (char *)value;
bv.bv_len = ( value == NULL ) ? 0 : strlen( value );
if ( ldap_compare_ext( ld, dn, attr, &bv, NULL, NULL, &msgid )
== LDAP_SUCCESS ) {
return( msgid );
} else {
return( -1 ); /* error is in ld handle */
}
}
int
LDAP_CALL
ldap_compare_ext( LDAP *ld, const char *dn, const char *attr,
const struct berval *bvalue, LDAPControl **serverctrls,
LDAPControl **clientctrls, int *msgidp )
{
BerElement *ber;
int rc, lderr;
/* The compare request looks like this:
* CompareRequest ::= SEQUENCE {
* entry DistinguishedName,
* ava SEQUENCE {
* type AttributeType,
* value AttributeValue
* }
* }
* and must be wrapped in an LDAPMessage.
*/
LDAPDebug( LDAP_DEBUG_TRACE, "ldap_compare_ext\n", 0, 0, 0 );
if ( !NSLDAPI_VALID_LDAP_POINTER( ld )) {
return( LDAP_PARAM_ERROR );
}
if ( attr == NULL || bvalue == NULL || bvalue->bv_len == 0
|| msgidp == NULL ) {
lderr = LDAP_PARAM_ERROR;
LDAP_SET_LDERRNO( ld, lderr, NULL, NULL );
return( lderr );
}
if ( dn == NULL ) {
dn = "";
}
LDAP_MUTEX_LOCK( ld, LDAP_MSGID_LOCK );
*msgidp = ++ld->ld_msgid;
LDAP_MUTEX_UNLOCK( ld, LDAP_MSGID_LOCK );
/* check the cache */
if ( ld->ld_cache_on && ld->ld_cache_compare != NULL ) {
LDAP_MUTEX_LOCK( ld, LDAP_CACHE_LOCK );
if ( (rc = (ld->ld_cache_compare)( ld, *msgidp,
LDAP_REQ_COMPARE, dn, attr, bvalue )) != 0 ) {
*msgidp = rc;
LDAP_MUTEX_UNLOCK( ld, LDAP_CACHE_LOCK );
return( LDAP_SUCCESS );
}
LDAP_MUTEX_UNLOCK( ld, LDAP_CACHE_LOCK );
}
/* create a message to send */
if (( lderr = nsldapi_alloc_ber_with_options( ld, &ber ))
!= LDAP_SUCCESS ) {
return( lderr );
}
if ( ber_printf( ber, "{it{s{so}}", *msgidp, LDAP_REQ_COMPARE, dn,
attr, bvalue->bv_val, (int)bvalue->bv_len /* XXX lossy cast */ )
== -1 ) {
lderr = LDAP_ENCODING_ERROR;
LDAP_SET_LDERRNO( ld, lderr, NULL, NULL );
ber_free( ber, 1 );
return( lderr );
}
if (( lderr = nsldapi_put_controls( ld, serverctrls, 1, ber ))
!= LDAP_SUCCESS ) {
ber_free( ber, 1 );
return( lderr );
}
/* send the message */
rc = nsldapi_send_initial_request( ld, *msgidp, LDAP_REQ_COMPARE,
(char *)dn, ber );
*msgidp = rc;
return( rc < 0 ? LDAP_GET_LDERRNO( ld, NULL, NULL ) : LDAP_SUCCESS );
}
int
LDAP_CALL
ldap_compare_s( LDAP *ld, const char *dn, const char *attr,
const char *value )
{
struct berval bv;
bv.bv_val = (char *)value;
bv.bv_len = ( value == NULL ) ? 0 : strlen( value );
return( ldap_compare_ext_s( ld, dn, attr, &bv, NULL, NULL ));
}
int
LDAP_CALL
ldap_compare_ext_s( LDAP *ld, const char *dn, const char *attr,
const struct berval *bvalue, LDAPControl **serverctrls,
LDAPControl **clientctrls )
{
int err, msgid;
LDAPMessage *res;
if (( err = ldap_compare_ext( ld, dn, attr, bvalue, serverctrls,
clientctrls, &msgid )) != LDAP_SUCCESS ) {
return( err );
}
if ( ldap_result( ld, msgid, 1, (struct timeval *)NULL, &res )
== -1 ) {
return( LDAP_GET_LDERRNO( ld, NULL, NULL ) );
}
return( ldap_result2error( ld, res, 1 ) );
}

View File

@@ -1,67 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*/
/*
* Copyright (c) 1994 The Regents of the University of Michigan.
* All rights reserved.
*/
/*
* compat.c - compatibility routines.
*
*/
#ifndef lint
static char copyright[] = "@(#) Copyright (c) 1994 The Regents of the University of Michigan.\nAll rights reserved.\n";
#endif
#include "ldap-int.h"
#if defined( HPUX10 ) && defined( _REENTRANT ) && !defined ( HPUX11 )
extern int h_errno;
struct hostent *
nsldapi_compat_gethostbyname_r( const char *name, struct hostent *result,
char *buffer, int buflen, int *h_errnop )
{
struct hostent_data *hep;
if ( buflen < sizeof(struct hostent_data)) { /* sanity check */
*h_errnop = NO_RECOVERY; /* XXX best error code to use? */
return( NULL );
}
hep = (struct hostent_data *)buffer;
hep->current = NULL;
if ( gethostbyname_r( name, result, hep ) == -1) {
*h_errnop = h_errno; /* XXX don't see anywhere else to get this */
return NULL;
}
return result;
}
char *
nsldapi_compat_ctime_r( const time_t *clock, char *buf, int buflen )
{
(void) ctime_r( clock, buf, buflen );
return buf;
}
#endif /* HPUX10 && _REENTRANT && !HPUX11 */

View File

@@ -1,493 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*/
/* control.c - routines to handle ldapv3 controls */
#include "ldap-int.h"
static LDAPControl *ldap_control_dup( LDAPControl *ctrl );
static int ldap_control_copy_contents( LDAPControl *ctrl_dst,
LDAPControl *ctrl_src );
/*
* Append a list of LDAPv3 controls to ber. If ctrls is NULL, use default
* set of controls from ld.
* Return an LDAP error code (LDAP_SUCCESS if all goes well).
* If closeseq is non-zero, we do an extra ber_put_seq() as well.
*/
int
nsldapi_put_controls( LDAP *ld, LDAPControl **ctrls, int closeseq,
BerElement *ber )
{
LDAPControl *c;
int rc, i;
rc = LDAP_ENCODING_ERROR; /* the most popular error */
/* if no controls were passed in, use global list from LDAP * */
LDAP_MUTEX_LOCK( ld, LDAP_CTRL_LOCK );
if ( ctrls == NULL ) {
ctrls = ld->ld_servercontrols;
}
/* if there are no controls then we are done */
if ( ctrls == NULL || ctrls[ 0 ] == NULL ) {
goto clean_exit;
}
/*
* If we're using LDAPv2 or earlier we can't send any controls, so
* we just ignore them unless one is marked critical, in which case
* we return an error.
*/
if ( NSLDAPI_LDAP_VERSION( ld ) < LDAP_VERSION3 ) {
for ( i = 0; ctrls != NULL && ctrls[i] != NULL; i++ ) {
if ( ctrls[i]->ldctl_iscritical ) {
rc = LDAP_NOT_SUPPORTED;
goto error_exit;
}
}
goto clean_exit;
}
/*
* encode the controls as a Sequence of Sequence
*/
if ( ber_printf( ber, "t{", LDAP_TAG_CONTROLS ) == -1 ) {
goto error_exit;
}
for ( i = 0; ctrls[i] != NULL; i++ ) {
c = ctrls[i];
if ( ber_printf( ber, "{s", c->ldctl_oid ) == -1 ) {
goto error_exit;
}
/* criticality is "BOOLEAN DEFAULT FALSE" */
/* therefore, it should only be encoded if it exists AND is TRUE */
if ( c->ldctl_iscritical ) {
if ( ber_printf( ber, "b", (int)c->ldctl_iscritical )
== -1 ) {
goto error_exit;
}
}
if ( c->ldctl_value.bv_val != NULL ) {
if ( ber_printf( ber, "o", c->ldctl_value.bv_val,
(int)c->ldctl_value.bv_len /* XXX lossy cast */ )
== -1 ) {
goto error_exit;
}
}
if ( ber_put_seq( ber ) == -1 ) {
goto error_exit;
}
}
if ( ber_put_seq( ber ) == -1 ) {
goto error_exit;
}
clean_exit:
LDAP_MUTEX_UNLOCK( ld, LDAP_CTRL_LOCK );
if ( closeseq && ber_put_seq( ber ) == -1 ) {
goto error_exit;
}
return( LDAP_SUCCESS );
error_exit:
LDAP_MUTEX_UNLOCK( ld, LDAP_CTRL_LOCK );
LDAP_SET_LDERRNO( ld, rc, NULL, NULL );
return( rc );
}
/*
* Pull controls out of "ber" (if any present) and return them in "controlsp."
* Returns an LDAP error code.
*/
int
nsldapi_get_controls( BerElement *ber, LDAPControl ***controlsp )
{
LDAPControl *newctrl;
unsigned long tag, len;
int rc, maxcontrols, curcontrols;
char *last;
/*
* Each LDAPMessage can have a set of controls appended
* to it. Controls are used to extend the functionality
* of an LDAP operation (e.g., add an attribute size limit
* to the search operation). These controls look like this:
*
* Controls ::= SEQUENCE OF Control
*
* Control ::= SEQUENCE {
* controlType LDAPOID,
* criticality BOOLEAN DEFAULT FALSE,
* controlValue OCTET STRING
* }
*/
LDAPDebug( LDAP_DEBUG_TRACE, "=> nsldapi_get_controls\n", 0, 0, 0 );
*controlsp = NULL;
/*
* check to see if controls were included
*/
if ( ber_get_option( ber, LBER_OPT_REMAINING_BYTES, &len ) != 0 ) {
return( LDAP_DECODING_ERROR ); /* unexpected error */
}
if ( len == 0 ) {
LDAPDebug( LDAP_DEBUG_TRACE,
"<= nsldapi_get_controls no controls\n", 0, 0, 0 );
return( LDAP_SUCCESS ); /* no controls */
}
if (( tag = ber_peek_tag( ber, &len )) != LDAP_TAG_CONTROLS ) {
if ( tag == LBER_ERROR ) {
LDAPDebug( LDAP_DEBUG_TRACE,
"<= nsldapi_get_controls LDAP_PROTOCOL_ERROR\n",
0, 0, 0 );
return( LDAP_DECODING_ERROR ); /* decoding error */
}
/*
* We found something other than controls. This should never
* happen in LDAPv3, but we don't treat this is a hard error --
* we just ignore the extra stuff.
*/
LDAPDebug( LDAP_DEBUG_TRACE,
"<= nsldapi_get_controls ignoring unrecognized data in message (tag 0x%x)\n",
tag, 0, 0 );
return( LDAP_SUCCESS );
}
maxcontrols = curcontrols = 0;
for ( tag = ber_first_element( ber, &len, &last );
tag != LBER_ERROR && tag != LBER_END_OF_SEQORSET;
tag = ber_next_element( ber, &len, last ) ) {
if ( curcontrols >= maxcontrols - 1 ) {
#define CONTROL_GRABSIZE 5
maxcontrols += CONTROL_GRABSIZE;
*controlsp = (struct ldapcontrol **)NSLDAPI_REALLOC(
(char *)*controlsp, maxcontrols *
sizeof(struct ldapcontrol *) );
if ( *controlsp == NULL ) {
rc = LDAP_NO_MEMORY;
goto free_and_return;
}
}
if (( newctrl = (struct ldapcontrol *)NSLDAPI_CALLOC( 1,
sizeof(LDAPControl))) == NULL ) {
rc = LDAP_NO_MEMORY;
goto free_and_return;
}
(*controlsp)[curcontrols++] = newctrl;
(*controlsp)[curcontrols] = NULL;
if ( ber_scanf( ber, "{a", &newctrl->ldctl_oid )
== LBER_ERROR ) {
rc = LDAP_DECODING_ERROR;
goto free_and_return;
}
/* the criticality is optional */
if ( ber_peek_tag( ber, &len ) == LBER_BOOLEAN ) {
int aint;
if ( ber_scanf( ber, "b", &aint ) == LBER_ERROR ) {
rc = LDAP_DECODING_ERROR;
goto free_and_return;
}
newctrl->ldctl_iscritical = (char)aint; /* XXX lossy cast */
} else {
/* absent is synonomous with FALSE */
newctrl->ldctl_iscritical = 0;
}
/* the control value is optional */
if ( ber_peek_tag( ber, &len ) == LBER_OCTETSTRING ) {
if ( ber_scanf( ber, "o", &newctrl->ldctl_value )
== LBER_ERROR ) {
rc = LDAP_DECODING_ERROR;
goto free_and_return;
}
} else {
(newctrl->ldctl_value).bv_val = NULL;
(newctrl->ldctl_value).bv_len = 0;
}
}
if ( tag == LBER_ERROR ) {
rc = LDAP_DECODING_ERROR;
goto free_and_return;
}
LDAPDebug( LDAP_DEBUG_TRACE,
"<= nsldapi_get_controls found %d controls\n", curcontrols, 0, 0 );
return( LDAP_SUCCESS );
free_and_return:;
ldap_controls_free( *controlsp );
*controlsp = NULL;
LDAPDebug( LDAP_DEBUG_TRACE,
"<= nsldapi_get_controls error 0x%x\n", rc, 0, 0 );
return( rc );
}
void
LDAP_CALL
ldap_control_free( LDAPControl *ctrl )
{
if ( ctrl != NULL ) {
if ( ctrl->ldctl_oid != NULL ) {
NSLDAPI_FREE( ctrl->ldctl_oid );
}
if ( ctrl->ldctl_value.bv_val != NULL ) {
NSLDAPI_FREE( ctrl->ldctl_value.bv_val );
}
NSLDAPI_FREE( (char *)ctrl );
}
}
void
LDAP_CALL
ldap_controls_free( LDAPControl **ctrls )
{
int i;
if ( ctrls != NULL ) {
for ( i = 0; ctrls[i] != NULL; i++ ) {
ldap_control_free( ctrls[i] );
}
NSLDAPI_FREE( (char *)ctrls );
}
}
#if 0
LDAPControl **
LDAP_CALL
ldap_control_append( LDAPControl **ctrl_src, LDAPControl *ctrl )
{
int nctrls = 0;
LDAPControl **ctrlp;
int i;
if ( NULL == ctrl )
return ( NULL );
/* Count the existing controls */
if ( NULL != ctrl_src ) {
while( NULL != ctrl_src[nctrls] ) {
nctrls++;
}
}
/* allocate the new control structure */
if ( ( ctrlp = (LDAPControl **)NSLDAPI_MALLOC( sizeof(LDAPControl *)
* (nctrls + 2) ) ) == NULL ) {
return( NULL );
}
memset( ctrlp, 0, sizeof(*ctrlp) * (nctrls + 2) );
for( i = 0; i < (nctrls + 1); i++ ) {
if ( i < nctrls ) {
ctrlp[i] = ldap_control_dup( ctrl_src[i] );
} else {
ctrlp[i] = ldap_control_dup( ctrl );
}
if ( NULL == ctrlp[i] ) {
ldap_controls_free( ctrlp );
return( NULL );
}
}
return ctrlp;
}
#endif /* 0 */
/*
* Replace *ldctrls with a copy of newctrls.
* returns 0 if successful.
* return -1 if not and set error code inside LDAP *ld.
*/
int
nsldapi_dup_controls( LDAP *ld, LDAPControl ***ldctrls, LDAPControl **newctrls )
{
int count;
if ( *ldctrls != NULL ) {
ldap_controls_free( *ldctrls );
}
if ( newctrls == NULL || newctrls[0] == NULL ) {
*ldctrls = NULL;
return( 0 );
}
for ( count = 0; newctrls[ count ] != NULL; ++count ) {
;
}
if (( *ldctrls = (LDAPControl **)NSLDAPI_MALLOC(( count + 1 ) *
sizeof( LDAPControl *))) == NULL ) {
LDAP_SET_LDERRNO( ld, LDAP_NO_MEMORY, NULL, NULL );
return( -1 );
}
(*ldctrls)[ count ] = NULL;
for ( count = 0; newctrls[ count ] != NULL; ++count ) {
if (( (*ldctrls)[ count ] =
ldap_control_dup( newctrls[ count ] )) == NULL ) {
ldap_controls_free( *ldctrls );
*ldctrls = NULL;
LDAP_SET_LDERRNO( ld, LDAP_NO_MEMORY, NULL, NULL );
return( -1 );
}
}
return( 0 );
}
/*
* return a malloc'd copy of "ctrl" (NULL if memory allocation fails)
*/
static LDAPControl *
/* LDAP_CALL */ /* keep this routine internal for now */
ldap_control_dup( LDAPControl *ctrl )
{
LDAPControl *rctrl;
if (( rctrl = (LDAPControl *)NSLDAPI_MALLOC( sizeof( LDAPControl )))
== NULL ) {
return( NULL );
}
if ( ldap_control_copy_contents( rctrl, ctrl ) != LDAP_SUCCESS ) {
NSLDAPI_FREE( rctrl );
return( NULL );
}
return( rctrl );
}
/*
* duplicate the contents of "ctrl_src" and place in "ctrl_dst"
*/
static int
/* LDAP_CALL */ /* keep this routine internal for now */
ldap_control_copy_contents( LDAPControl *ctrl_dst, LDAPControl *ctrl_src )
{
size_t len;
if ( NULL == ctrl_dst || NULL == ctrl_src ) {
return( LDAP_PARAM_ERROR );
}
ctrl_dst->ldctl_iscritical = ctrl_src->ldctl_iscritical;
/* fill in the fields of this new control */
if (( ctrl_dst->ldctl_oid = nsldapi_strdup( ctrl_src->ldctl_oid ))
== NULL ) {
return( LDAP_NO_MEMORY );
}
len = (size_t)(ctrl_src->ldctl_value).bv_len;
if ( ctrl_src->ldctl_value.bv_val == NULL || len <= 0 ) {
ctrl_dst->ldctl_value.bv_len = 0;
ctrl_dst->ldctl_value.bv_val = NULL;
} else {
ctrl_dst->ldctl_value.bv_len = len;
if (( ctrl_dst->ldctl_value.bv_val = NSLDAPI_MALLOC( len ))
== NULL ) {
NSLDAPI_FREE( ctrl_dst->ldctl_oid );
return( LDAP_NO_MEMORY );
}
SAFEMEMCPY( ctrl_dst->ldctl_value.bv_val,
ctrl_src->ldctl_value.bv_val, len );
}
return ( LDAP_SUCCESS );
}
/*
* build an allocated LDAPv3 control. Returns an LDAP error code.
*/
int
nsldapi_build_control( char *oid, BerElement *ber, int freeber, char iscritical,
LDAPControl **ctrlp )
{
int rc;
struct berval *bvp;
if ( ber == NULL ) {
bvp = NULL;
} else {
/* allocate struct berval with contents of the BER encoding */
rc = ber_flatten( ber, &bvp );
if ( freeber ) {
ber_free( ber, 1 );
}
if ( rc == -1 ) {
return( LDAP_NO_MEMORY );
}
}
/* allocate the new control structure */
if (( *ctrlp = (LDAPControl *)NSLDAPI_MALLOC( sizeof(LDAPControl)))
== NULL ) {
if ( bvp != NULL ) {
ber_bvfree( bvp );
}
return( LDAP_NO_MEMORY );
}
/* fill in the fields of this new control */
(*ctrlp)->ldctl_iscritical = iscritical;
if (( (*ctrlp)->ldctl_oid = nsldapi_strdup( oid )) == NULL ) {
NSLDAPI_FREE( *ctrlp );
if ( bvp != NULL ) {
ber_bvfree( bvp );
}
return( LDAP_NO_MEMORY );
}
if ( bvp == NULL ) {
(*ctrlp)->ldctl_value.bv_len = 0;
(*ctrlp)->ldctl_value.bv_val = NULL;
} else {
(*ctrlp)->ldctl_value = *bvp; /* struct copy */
NSLDAPI_FREE( bvp ); /* free container, not contents! */
}
return( LDAP_SUCCESS );
}

View File

@@ -1,52 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*/
/*
* Copyright (c) 1990 Regents of the University of Michigan.
* All rights reserved.
*/
/*
* countvalues.c
*/
#include "ldap-int.h"
int
LDAP_CALL
ldap_count_values( char **vals )
{
int i;
if ( vals == NULL )
return( 0 );
for ( i = 0; vals[i] != NULL; i++ )
; /* NULL */
return( i );
}
int
LDAP_CALL
ldap_count_values_len( struct berval **vals )
{
return( ldap_count_values( (char **) vals ) );
}

View File

@@ -1,158 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*/
/*
* Copyright (c) 1990 Regents of the University of Michigan.
* All rights reserved.
*/
/*
* delete.c
*/
#if 0
#ifndef lint
static char copyright[] = "@(#) Copyright (c) 1990 Regents of the University of Michigan.\nAll rights reserved.\n";
#endif
#endif
#include "ldap-int.h"
/*
* ldap_delete - initiate an ldap delete operation. Parameters:
*
* ld LDAP descriptor
* dn DN of the object to delete
*
* Example:
* msgid = ldap_delete( ld, dn );
*/
int
LDAP_CALL
ldap_delete( LDAP *ld, const char *dn )
{
int msgid;
LDAPDebug( LDAP_DEBUG_TRACE, "ldap_delete\n", 0, 0, 0 );
if ( ldap_delete_ext( ld, dn, NULL, NULL, &msgid ) == LDAP_SUCCESS ) {
return( msgid );
} else {
return( -1 ); /* error is in ld handle */
}
}
int
LDAP_CALL
ldap_delete_ext( LDAP *ld, const char *dn, LDAPControl **serverctrls,
LDAPControl **clientctrls, int *msgidp )
{
BerElement *ber;
int rc, lderr;
/*
* A delete request looks like this:
* DelRequet ::= DistinguishedName,
*/
LDAPDebug( LDAP_DEBUG_TRACE, "ldap_delete_ext\n", 0, 0, 0 );
if ( !NSLDAPI_VALID_LDAP_POINTER( ld )) {
return( LDAP_PARAM_ERROR );
}
if ( !NSLDAPI_VALID_LDAPMESSAGE_POINTER( msgidp ))
{
LDAP_SET_LDERRNO( ld, LDAP_PARAM_ERROR, NULL, NULL );
return( LDAP_PARAM_ERROR );
}
if ( dn == NULL ) {
dn = "";
}
LDAP_MUTEX_LOCK( ld, LDAP_MSGID_LOCK );
*msgidp = ++ld->ld_msgid;
LDAP_MUTEX_UNLOCK( ld, LDAP_MSGID_LOCK );
/* see if we should add to the cache */
if ( ld->ld_cache_on && ld->ld_cache_delete != NULL ) {
LDAP_MUTEX_LOCK( ld, LDAP_CACHE_LOCK );
if ( (rc = (ld->ld_cache_delete)( ld, *msgidp, LDAP_REQ_DELETE,
dn )) != 0 ) {
*msgidp = rc;
LDAP_MUTEX_UNLOCK( ld, LDAP_CACHE_LOCK );
return( LDAP_SUCCESS );
}
LDAP_MUTEX_UNLOCK( ld, LDAP_CACHE_LOCK );
}
/* create a message to send */
if (( lderr = nsldapi_alloc_ber_with_options( ld, &ber ))
!= LDAP_SUCCESS ) {
return( lderr );
}
if ( ber_printf( ber, "{its", *msgidp, LDAP_REQ_DELETE, dn )
== -1 ) {
lderr = LDAP_ENCODING_ERROR;
LDAP_SET_LDERRNO( ld, lderr, NULL, NULL );
ber_free( ber, 1 );
return( lderr );
}
if (( lderr = nsldapi_put_controls( ld, serverctrls, 1, ber ))
!= LDAP_SUCCESS ) {
ber_free( ber, 1 );
return( lderr );
}
/* send the message */
rc = nsldapi_send_initial_request( ld, *msgidp, LDAP_REQ_DELETE,
(char *)dn, ber );
*msgidp = rc;
return( rc < 0 ? LDAP_GET_LDERRNO( ld, NULL, NULL ) : LDAP_SUCCESS );
}
int
LDAP_CALL
ldap_delete_s( LDAP *ld, const char *dn )
{
return( ldap_delete_ext_s( ld, dn, NULL, NULL ));
}
int
LDAP_CALL
ldap_delete_ext_s( LDAP *ld, const char *dn, LDAPControl **serverctrls,
LDAPControl **clientctrls )
{
int err, msgid;
LDAPMessage *res;
if (( err = ldap_delete_ext( ld, dn, serverctrls, clientctrls,
&msgid )) != LDAP_SUCCESS ) {
return( err );
}
if ( ldap_result( ld, msgid, 1, (struct timeval *)NULL, &res ) == -1 ) {
return( LDAP_GET_LDERRNO( ld, NULL, NULL ) );
}
return( ldap_result2error( ld, res, 1 ) );
}

View File

@@ -1,757 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*/
/*
* Copyright (c) 1993, 1994 Regents of the University of Michigan.
* All rights reserved.
*
* Redistribution and use in source and binary forms are permitted
* provided that this notice is preserved and that due credit is given
* to the University of Michigan at Ann Arbor. The name of the University
* may not be used to endorse or promote products derived from this
* software without specific prior written permission. This software
* is provided ``as is'' without express or implied warranty.
*/
/*
* disptmpl.c: display template library routines for LDAP clients
*/
#include "ldap-int.h"
#include "disptmpl.h"
static void free_disptmpl( struct ldap_disptmpl *tmpl );
static int read_next_tmpl( char **bufp, long *blenp,
struct ldap_disptmpl **tmplp, int dtversion );
int nsldapi_next_line_tokens( char **bufp, long *blenp, char ***toksp );
void nsldapi_free_strarray( char **sap );
static char *tmploptions[] = {
"addable", "modrdn",
"altview",
NULL
};
static unsigned long tmploptvals[] = {
LDAP_DTMPL_OPT_ADDABLE, LDAP_DTMPL_OPT_ALLOWMODRDN,
LDAP_DTMPL_OPT_ALTVIEW,
};
static char *itemtypes[] = {
"cis", "mls", "dn",
"bool", "jpeg", "jpegbtn",
"fax", "faxbtn", "audiobtn",
"time", "date", "url",
"searchact", "linkact", "adddnact",
"addact", "verifyact", "mail",
NULL
};
static unsigned long itemsynids[] = {
LDAP_SYN_CASEIGNORESTR, LDAP_SYN_MULTILINESTR, LDAP_SYN_DN,
LDAP_SYN_BOOLEAN, LDAP_SYN_JPEGIMAGE, LDAP_SYN_JPEGBUTTON,
LDAP_SYN_FAXIMAGE, LDAP_SYN_FAXBUTTON, LDAP_SYN_AUDIOBUTTON,
LDAP_SYN_TIME, LDAP_SYN_DATE, LDAP_SYN_LABELEDURL,
LDAP_SYN_SEARCHACTION, LDAP_SYN_LINKACTION, LDAP_SYN_ADDDNACTION,
LDAP_SYN_ADDDNACTION, LDAP_SYN_VERIFYDNACTION,LDAP_SYN_RFC822ADDR,
};
static char *itemoptions[] = {
"ro", "sort",
"1val", "hide",
"required", "hideiffalse",
NULL
};
static unsigned long itemoptvals[] = {
LDAP_DITEM_OPT_READONLY, LDAP_DITEM_OPT_SORTVALUES,
LDAP_DITEM_OPT_SINGLEVALUED, LDAP_DITEM_OPT_HIDEIFEMPTY,
LDAP_DITEM_OPT_VALUEREQUIRED, LDAP_DITEM_OPT_HIDEIFFALSE,
};
#define ADDEF_CONSTANT "constant"
#define ADDEF_ADDERSDN "addersdn"
int
LDAP_CALL
ldap_init_templates( char *file, struct ldap_disptmpl **tmpllistp )
{
FILE *fp;
char *buf;
long rlen, len;
int rc, eof;
*tmpllistp = NULLDISPTMPL;
if (( fp = fopen( file, "r" )) == NULL ) {
return( LDAP_TMPL_ERR_FILE );
}
if ( fseek( fp, 0L, SEEK_END ) != 0 ) { /* move to end to get len */
fclose( fp );
return( LDAP_TMPL_ERR_FILE );
}
len = ftell( fp );
if ( fseek( fp, 0L, SEEK_SET ) != 0 ) { /* back to start of file */
fclose( fp );
return( LDAP_TMPL_ERR_FILE );
}
if (( buf = NSLDAPI_MALLOC( (size_t)len )) == NULL ) {
fclose( fp );
return( LDAP_TMPL_ERR_MEM );
}
rlen = fread( buf, 1, (size_t)len, fp );
eof = feof( fp );
fclose( fp );
if ( rlen != len && !eof ) { /* error: didn't get the whole file */
NSLDAPI_FREE( buf );
return( LDAP_TMPL_ERR_FILE );
}
rc = ldap_init_templates_buf( buf, rlen, tmpllistp );
NSLDAPI_FREE( buf );
return( rc );
}
int
LDAP_CALL
ldap_init_templates_buf( char *buf, long buflen,
struct ldap_disptmpl **tmpllistp )
{
int rc = 0, version;
char **toks;
struct ldap_disptmpl *prevtmpl, *tmpl;
*tmpllistp = prevtmpl = NULLDISPTMPL;
if ( nsldapi_next_line_tokens( &buf, &buflen, &toks ) != 2 ||
strcasecmp( toks[ 0 ], "version" ) != 0 ) {
nsldapi_free_strarray( toks );
return( LDAP_TMPL_ERR_SYNTAX );
}
version = atoi( toks[ 1 ] );
nsldapi_free_strarray( toks );
if ( version != LDAP_TEMPLATE_VERSION ) {
return( LDAP_TMPL_ERR_VERSION );
}
while ( buflen > 0 && ( rc = read_next_tmpl( &buf, &buflen, &tmpl,
version )) == 0 && tmpl != NULLDISPTMPL ) {
if ( prevtmpl == NULLDISPTMPL ) {
*tmpllistp = tmpl;
} else {
prevtmpl->dt_next = tmpl;
}
prevtmpl = tmpl;
}
if ( rc != 0 ) {
ldap_free_templates( *tmpllistp );
}
return( rc );
}
void
LDAP_CALL
ldap_free_templates( struct ldap_disptmpl *tmpllist )
{
struct ldap_disptmpl *tp, *nexttp;
if ( tmpllist != NULL ) {
for ( tp = tmpllist; tp != NULL; tp = nexttp ) {
nexttp = tp->dt_next;
free_disptmpl( tp );
}
}
}
static void
free_disptmpl( struct ldap_disptmpl *tmpl )
{
if ( tmpl != NULL ) {
if ( tmpl->dt_name != NULL ) {
NSLDAPI_FREE( tmpl->dt_name );
}
if ( tmpl->dt_pluralname != NULL ) {
NSLDAPI_FREE( tmpl->dt_pluralname );
}
if ( tmpl->dt_iconname != NULL ) {
NSLDAPI_FREE( tmpl->dt_iconname );
}
if ( tmpl->dt_authattrname != NULL ) {
NSLDAPI_FREE( tmpl->dt_authattrname );
}
if ( tmpl->dt_defrdnattrname != NULL ) {
NSLDAPI_FREE( tmpl->dt_defrdnattrname );
}
if ( tmpl->dt_defaddlocation != NULL ) {
NSLDAPI_FREE( tmpl->dt_defaddlocation );
}
if ( tmpl->dt_oclist != NULL ) {
struct ldap_oclist *ocp, *nextocp;
for ( ocp = tmpl->dt_oclist; ocp != NULL; ocp = nextocp ) {
nextocp = ocp->oc_next;
nsldapi_free_strarray( ocp->oc_objclasses );
NSLDAPI_FREE( ocp );
}
}
if ( tmpl->dt_adddeflist != NULL ) {
struct ldap_adddeflist *adp, *nextadp;
for ( adp = tmpl->dt_adddeflist; adp != NULL; adp = nextadp ) {
nextadp = adp->ad_next;
if( adp->ad_attrname != NULL ) {
NSLDAPI_FREE( adp->ad_attrname );
}
if( adp->ad_value != NULL ) {
NSLDAPI_FREE( adp->ad_value );
}
NSLDAPI_FREE( adp );
}
}
if ( tmpl->dt_items != NULL ) {
struct ldap_tmplitem *rowp, *nextrowp, *colp, *nextcolp;
for ( rowp = tmpl->dt_items; rowp != NULL; rowp = nextrowp ) {
nextrowp = rowp->ti_next_in_col;
for ( colp = rowp; colp != NULL; colp = nextcolp ) {
nextcolp = colp->ti_next_in_row;
if ( colp->ti_attrname != NULL ) {
NSLDAPI_FREE( colp->ti_attrname );
}
if ( colp->ti_label != NULL ) {
NSLDAPI_FREE( colp->ti_label );
}
if ( colp->ti_args != NULL ) {
nsldapi_free_strarray( colp->ti_args );
}
NSLDAPI_FREE( colp );
}
}
}
NSLDAPI_FREE( tmpl );
}
}
struct ldap_disptmpl *
LDAP_CALL
ldap_first_disptmpl( struct ldap_disptmpl *tmpllist )
{
return( tmpllist );
}
struct ldap_disptmpl *
LDAP_CALL
ldap_next_disptmpl( struct ldap_disptmpl *tmpllist,
struct ldap_disptmpl *tmpl )
{
return( tmpl == NULLDISPTMPL ? tmpl : tmpl->dt_next );
}
struct ldap_disptmpl *
LDAP_CALL
ldap_name2template( char *name, struct ldap_disptmpl *tmpllist )
{
struct ldap_disptmpl *dtp;
for ( dtp = ldap_first_disptmpl( tmpllist ); dtp != NULLDISPTMPL;
dtp = ldap_next_disptmpl( tmpllist, dtp )) {
if ( strcasecmp( name, dtp->dt_name ) == 0 ) {
return( dtp );
}
}
return( NULLDISPTMPL );
}
struct ldap_disptmpl *
LDAP_CALL
ldap_oc2template( char **oclist, struct ldap_disptmpl *tmpllist )
{
struct ldap_disptmpl *dtp;
struct ldap_oclist *oclp;
int i, j, needcnt, matchcnt;
if ( tmpllist == NULL || oclist == NULL || oclist[ 0 ] == NULL ) {
return( NULLDISPTMPL );
}
for ( dtp = ldap_first_disptmpl( tmpllist ); dtp != NULLDISPTMPL;
dtp = ldap_next_disptmpl( tmpllist, dtp )) {
for ( oclp = dtp->dt_oclist; oclp != NULLOCLIST;
oclp = oclp->oc_next ) {
needcnt = matchcnt = 0;
for ( i = 0; oclp->oc_objclasses[ i ] != NULL; ++i ) {
for ( j = 0; oclist[ j ] != NULL; ++j ) {
if ( strcasecmp( oclist[ j ], oclp->oc_objclasses[ i ] )
== 0 ) {
++matchcnt;
}
}
++needcnt;
}
if ( matchcnt == needcnt ) {
return( dtp );
}
}
}
return( NULLDISPTMPL );
}
struct ldap_tmplitem *
LDAP_CALL
ldap_first_tmplrow( struct ldap_disptmpl *tmpl )
{
return( tmpl->dt_items );
}
struct ldap_tmplitem *
LDAP_CALL
ldap_next_tmplrow( struct ldap_disptmpl *tmpl, struct ldap_tmplitem *row )
{
return( row == NULLTMPLITEM ? row : row->ti_next_in_col );
}
struct ldap_tmplitem *
LDAP_CALL
ldap_first_tmplcol( struct ldap_disptmpl *tmpl, struct ldap_tmplitem *row )
{
return( row );
}
struct ldap_tmplitem *
LDAP_CALL
ldap_next_tmplcol( struct ldap_disptmpl *tmpl, struct ldap_tmplitem *row,
struct ldap_tmplitem *col )
{
return( col == NULLTMPLITEM ? col : col->ti_next_in_row );
}
char **
LDAP_CALL
ldap_tmplattrs( struct ldap_disptmpl *tmpl, char **includeattrs,
int exclude, unsigned long syntaxmask )
{
/*
* this routine should filter out duplicate attributes...
*/
struct ldap_tmplitem *tirowp, *ticolp;
int i, attrcnt, memerr;
char **attrs;
attrcnt = 0;
memerr = 0;
if (( attrs = (char **)NSLDAPI_MALLOC( sizeof( char * ))) == NULL ) {
return( NULL );
}
if ( includeattrs != NULL ) {
for ( i = 0; !memerr && includeattrs[ i ] != NULL; ++i ) {
if (( attrs = (char **)NSLDAPI_REALLOC( attrs, ( attrcnt + 2 ) *
sizeof( char * ))) == NULL || ( attrs[ attrcnt++ ] =
nsldapi_strdup( includeattrs[ i ] )) == NULL ) {
memerr = 1;
} else {
attrs[ attrcnt ] = NULL;
}
}
}
for ( tirowp = ldap_first_tmplrow( tmpl );
!memerr && tirowp != NULLTMPLITEM;
tirowp = ldap_next_tmplrow( tmpl, tirowp )) {
for ( ticolp = ldap_first_tmplcol( tmpl, tirowp );
ticolp != NULLTMPLITEM;
ticolp = ldap_next_tmplcol( tmpl, tirowp, ticolp )) {
if ( syntaxmask != 0 ) {
if (( exclude &&
( syntaxmask & ticolp->ti_syntaxid ) != 0 ) ||
( !exclude &&
( syntaxmask & ticolp->ti_syntaxid ) == 0 )) {
continue;
}
}
if ( ticolp->ti_attrname != NULL ) {
if (( attrs = (char **)NSLDAPI_REALLOC( attrs, ( attrcnt + 2 )
* sizeof( char * ))) == NULL || ( attrs[ attrcnt++ ] =
nsldapi_strdup( ticolp->ti_attrname )) == NULL ) {
memerr = 1;
} else {
attrs[ attrcnt ] = NULL;
}
}
}
}
if ( memerr || attrcnt == 0 ) {
for ( i = 0; i < attrcnt; ++i ) {
if ( attrs[ i ] != NULL ) {
NSLDAPI_FREE( attrs[ i ] );
}
}
NSLDAPI_FREE( (char *)attrs );
return( NULL );
}
return( attrs );
}
static int
read_next_tmpl( char **bufp, long *blenp, struct ldap_disptmpl **tmplp,
int dtversion )
{
int i, j, tokcnt, samerow, adsource;
char **toks, *itemopts;
struct ldap_disptmpl *tmpl = NULL;
struct ldap_oclist *ocp = NULL, *prevocp = NULL;
struct ldap_adddeflist *adp = NULL, *prevadp = NULL;
struct ldap_tmplitem *rowp = NULL, *ip = NULL, *previp = NULL;
/*
* template name comes first
*/
if (( tokcnt = nsldapi_next_line_tokens( bufp, blenp, &toks )) != 1 ) {
nsldapi_free_strarray( toks );
return( tokcnt == 0 ? 0 : LDAP_TMPL_ERR_SYNTAX );
}
if (( tmpl = (struct ldap_disptmpl *)NSLDAPI_CALLOC( 1,
sizeof( struct ldap_disptmpl ))) == NULL ) {
nsldapi_free_strarray( toks );
return( LDAP_TMPL_ERR_MEM );
}
tmpl->dt_name = toks[ 0 ];
NSLDAPI_FREE( (char *)toks );
/*
* template plural name comes next
*/
if (( tokcnt = nsldapi_next_line_tokens( bufp, blenp, &toks )) != 1 ) {
nsldapi_free_strarray( toks );
free_disptmpl( tmpl );
return( LDAP_TMPL_ERR_SYNTAX );
}
tmpl->dt_pluralname = toks[ 0 ];
NSLDAPI_FREE( (char *)toks );
/*
* template icon name is next
*/
if (( tokcnt = nsldapi_next_line_tokens( bufp, blenp, &toks )) != 1 ) {
nsldapi_free_strarray( toks );
free_disptmpl( tmpl );
return( LDAP_TMPL_ERR_SYNTAX );
}
tmpl->dt_iconname = toks[ 0 ];
NSLDAPI_FREE( (char *)toks );
/*
* template options come next
*/
if (( tokcnt = nsldapi_next_line_tokens( bufp, blenp, &toks )) < 1 ) {
nsldapi_free_strarray( toks );
free_disptmpl( tmpl );
return( LDAP_TMPL_ERR_SYNTAX );
}
for ( i = 0; toks[ i ] != NULL; ++i ) {
for ( j = 0; tmploptions[ j ] != NULL; ++j ) {
if ( strcasecmp( toks[ i ], tmploptions[ j ] ) == 0 ) {
tmpl->dt_options |= tmploptvals[ j ];
}
}
}
nsldapi_free_strarray( toks );
/*
* object class list is next
*/
while (( tokcnt = nsldapi_next_line_tokens( bufp, blenp, &toks )) > 0 ) {
if (( ocp = (struct ldap_oclist *)NSLDAPI_CALLOC( 1,
sizeof( struct ldap_oclist ))) == NULL ) {
nsldapi_free_strarray( toks );
free_disptmpl( tmpl );
return( LDAP_TMPL_ERR_MEM );
}
ocp->oc_objclasses = toks;
if ( tmpl->dt_oclist == NULL ) {
tmpl->dt_oclist = ocp;
} else {
prevocp->oc_next = ocp;
}
prevocp = ocp;
}
if ( tokcnt < 0 ) {
free_disptmpl( tmpl );
return( LDAP_TMPL_ERR_SYNTAX );
}
/*
* read name of attribute to authenticate as
*/
if (( tokcnt = nsldapi_next_line_tokens( bufp, blenp, &toks )) != 1 ) {
nsldapi_free_strarray( toks );
free_disptmpl( tmpl );
return( LDAP_TMPL_ERR_SYNTAX );
}
if ( toks[ 0 ][ 0 ] != '\0' ) {
tmpl->dt_authattrname = toks[ 0 ];
} else {
NSLDAPI_FREE( toks[ 0 ] );
}
NSLDAPI_FREE( (char *)toks );
/*
* read default attribute to use for RDN
*/
if (( tokcnt = nsldapi_next_line_tokens( bufp, blenp, &toks )) != 1 ) {
nsldapi_free_strarray( toks );
free_disptmpl( tmpl );
return( LDAP_TMPL_ERR_SYNTAX );
}
tmpl->dt_defrdnattrname = toks[ 0 ];
NSLDAPI_FREE( (char *)toks );
/*
* read default location for new entries
*/
if (( tokcnt = nsldapi_next_line_tokens( bufp, blenp, &toks )) != 1 ) {
nsldapi_free_strarray( toks );
free_disptmpl( tmpl );
return( LDAP_TMPL_ERR_SYNTAX );
}
if ( toks[ 0 ][ 0 ] != '\0' ) {
tmpl->dt_defaddlocation = toks[ 0 ];
} else {
NSLDAPI_FREE( toks[ 0 ] );
}
NSLDAPI_FREE( (char *)toks );
/*
* read list of rules used to define default values for new entries
*/
while (( tokcnt = nsldapi_next_line_tokens( bufp, blenp, &toks )) > 0 ) {
if ( strcasecmp( ADDEF_CONSTANT, toks[ 0 ] ) == 0 ) {
adsource = LDAP_ADSRC_CONSTANTVALUE;
} else if ( strcasecmp( ADDEF_ADDERSDN, toks[ 0 ] ) == 0 ) {
adsource = LDAP_ADSRC_ADDERSDN;
} else {
adsource = 0;
}
if ( adsource == 0 || tokcnt < 2 ||
( adsource == LDAP_ADSRC_CONSTANTVALUE && tokcnt != 3 ) ||
( adsource == LDAP_ADSRC_ADDERSDN && tokcnt != 2 )) {
nsldapi_free_strarray( toks );
free_disptmpl( tmpl );
return( LDAP_TMPL_ERR_SYNTAX );
}
if (( adp = (struct ldap_adddeflist *)NSLDAPI_CALLOC( 1,
sizeof( struct ldap_adddeflist ))) == NULL ) {
nsldapi_free_strarray( toks );
free_disptmpl( tmpl );
return( LDAP_TMPL_ERR_MEM );
}
adp->ad_source = adsource;
adp->ad_attrname = toks[ 1 ];
if ( adsource == LDAP_ADSRC_CONSTANTVALUE ) {
adp->ad_value = toks[ 2 ];
}
NSLDAPI_FREE( toks[ 0 ] );
NSLDAPI_FREE( (char *)toks );
if ( tmpl->dt_adddeflist == NULL ) {
tmpl->dt_adddeflist = adp;
} else {
prevadp->ad_next = adp;
}
prevadp = adp;
}
/*
* item list is next
*/
samerow = 0;
while (( tokcnt = nsldapi_next_line_tokens( bufp, blenp, &toks )) > 0 ) {
if ( strcasecmp( toks[ 0 ], "item" ) == 0 ) {
if ( tokcnt < 4 ) {
nsldapi_free_strarray( toks );
free_disptmpl( tmpl );
return( LDAP_TMPL_ERR_SYNTAX );
}
if (( ip = (struct ldap_tmplitem *)NSLDAPI_CALLOC( 1,
sizeof( struct ldap_tmplitem ))) == NULL ) {
nsldapi_free_strarray( toks );
free_disptmpl( tmpl );
return( LDAP_TMPL_ERR_MEM );
}
/*
* find syntaxid from config file string
*/
while (( itemopts = strrchr( toks[ 1 ], ',' )) != NULL ) {
*itemopts++ = '\0';
for ( i = 0; itemoptions[ i ] != NULL; ++i ) {
if ( strcasecmp( itemopts, itemoptions[ i ] ) == 0 ) {
break;
}
}
if ( itemoptions[ i ] == NULL ) {
nsldapi_free_strarray( toks );
free_disptmpl( tmpl );
return( LDAP_TMPL_ERR_SYNTAX );
}
ip->ti_options |= itemoptvals[ i ];
}
for ( i = 0; itemtypes[ i ] != NULL; ++i ) {
if ( strcasecmp( toks[ 1 ], itemtypes[ i ] ) == 0 ) {
break;
}
}
if ( itemtypes[ i ] == NULL ) {
nsldapi_free_strarray( toks );
free_disptmpl( tmpl );
return( LDAP_TMPL_ERR_SYNTAX );
}
NSLDAPI_FREE( toks[ 0 ] );
NSLDAPI_FREE( toks[ 1 ] );
ip->ti_syntaxid = itemsynids[ i ];
ip->ti_label = toks[ 2 ];
if ( toks[ 3 ][ 0 ] == '\0' ) {
ip->ti_attrname = NULL;
NSLDAPI_FREE( toks[ 3 ] );
} else {
ip->ti_attrname = toks[ 3 ];
}
if ( toks[ 4 ] != NULL ) { /* extra args. */
for ( i = 0; toks[ i + 4 ] != NULL; ++i ) {
;
}
if (( ip->ti_args = (char **)NSLDAPI_CALLOC( i + 1,
sizeof( char * ))) == NULL ) {
free_disptmpl( tmpl );
return( LDAP_TMPL_ERR_MEM );
}
for ( i = 0; toks[ i + 4 ] != NULL; ++i ) {
ip->ti_args[ i ] = toks[ i + 4 ];
}
}
NSLDAPI_FREE( (char *)toks );
if ( tmpl->dt_items == NULL ) {
tmpl->dt_items = rowp = ip;
} else if ( samerow ) {
previp->ti_next_in_row = ip;
} else {
rowp->ti_next_in_col = ip;
rowp = ip;
}
previp = ip;
samerow = 0;
} else if ( strcasecmp( toks[ 0 ], "samerow" ) == 0 ) {
nsldapi_free_strarray( toks );
samerow = 1;
} else {
nsldapi_free_strarray( toks );
free_disptmpl( tmpl );
return( LDAP_TMPL_ERR_SYNTAX );
}
}
if ( tokcnt < 0 ) {
free_disptmpl( tmpl );
return( LDAP_TMPL_ERR_SYNTAX );
}
*tmplp = tmpl;
return( 0 );
}
struct tmplerror {
int e_code;
char *e_reason;
};
static struct tmplerror ldap_tmplerrlist[] = {
LDAP_TMPL_ERR_VERSION, "Bad template version",
LDAP_TMPL_ERR_MEM, "Out of memory",
LDAP_TMPL_ERR_SYNTAX, "Bad template syntax",
LDAP_TMPL_ERR_FILE, "File error reading template",
-1, 0
};
char *
LDAP_CALL
ldap_tmplerr2string( int err )
{
int i;
for ( i = 0; ldap_tmplerrlist[i].e_code != -1; i++ ) {
if ( err == ldap_tmplerrlist[i].e_code )
return( ldap_tmplerrlist[i].e_reason );
}
return( "Unknown error" );
}

View File

@@ -1,163 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*/
/*
* Microsoft Windows specifics for LIBLDAP DLL
*/
#include "ldap.h"
#include "lber.h"
#ifdef _WIN32
/* Lifted from Q125688
* How to Port a 16-bit DLL to a Win32 DLL
* on the MSVC 4.0 CD
*/
BOOL WINAPI DllMain (HANDLE hModule, DWORD fdwReason, LPVOID lpReserved)
{
switch (fdwReason)
{
case DLL_PROCESS_ATTACH:
/* Code from LibMain inserted here. Return TRUE to keep the
DLL loaded or return FALSE to fail loading the DLL.
You may have to modify the code in your original LibMain to
account for the fact that it may be called more than once.
You will get one DLL_PROCESS_ATTACH for each process that
loads the DLL. This is different from LibMain which gets
called only once when the DLL is loaded. The only time this
is critical is when you are using shared data sections.
If you are using shared data sections for statically
allocated data, you will need to be careful to initialize it
only once. Check your code carefully.
Certain one-time initializations may now need to be done for
each process that attaches. You may also not need code from
your original LibMain because the operating system may now
be doing it for you.
*/
/*
* 16 bit code calls UnlockData()
* which is mapped to UnlockSegment in windows.h
* in 32 bit world UnlockData is not defined anywhere
* UnlockSegment is mapped to GlobalUnfix in winbase.h
* and the docs for both UnlockSegment and GlobalUnfix say
* ".. function is oboslete. Segments have no meaning
* in the 32-bit environment". So we do nothing here.
*/
/* If we are building a version that includes the security libraries,
* we have to initialize Winsock here. If not, we can defer until the
* first real socket call is made (in mozock.c).
*/
#ifdef LINK_SSL
{
WSADATA wsaData;
WSAStartup(0x0101, &wsaData);
}
#endif
break;
case DLL_THREAD_ATTACH:
/* Called each time a thread is created in a process that has
already loaded (attached to) this DLL. Does not get called
for each thread that exists in the process before it loaded
the DLL.
Do thread-specific initialization here.
*/
break;
case DLL_THREAD_DETACH:
/* Same as above, but called when a thread in the process
exits.
Do thread-specific cleanup here.
*/
break;
case DLL_PROCESS_DETACH:
/* Code from _WEP inserted here. This code may (like the
LibMain) not be necessary. Check to make certain that the
operating system is not doing it for you.
*/
#ifdef LINK_SSL
WSACleanup();
#endif
break;
}
/* The return value is only used for DLL_PROCESS_ATTACH; all other
conditions are ignored. */
return TRUE; // successful DLL_PROCESS_ATTACH
}
#else
int CALLBACK
LibMain( HINSTANCE hinst, WORD wDataSeg, WORD cbHeapSize, LPSTR lpszCmdLine )
{
/*UnlockData( 0 );*/
return( 1 );
}
BOOL CALLBACK __loadds WEP(BOOL fSystemExit)
{
WSACleanup();
return TRUE;
}
#endif
#ifdef LDAP_DEBUG
#ifndef _WIN32
#include <stdarg.h>
#include <stdio.h>
void LDAP_C LDAPDebug( int level, char* fmt, ... )
{
static char debugBuf[1024];
if (ldap_debug & level)
{
va_list ap;
va_start (ap, fmt);
_snprintf (debugBuf, sizeof(debugBuf), fmt, ap);
va_end (ap);
OutputDebugString (debugBuf);
}
}
#endif
#endif
#ifndef _WIN32
/* The 16-bit version of the RTL does not implement perror() */
#include <stdio.h>
void perror( const char *msg )
{
char buf[128];
wsprintf( buf, "%s: error %d\n", msg, WSAGetLastError()) ;
OutputDebugString( buf );
}
#endif

View File

@@ -1,212 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*/
/*
* Copyright (c) 1993, 1994 Regents of the University of Michigan.
* All rights reserved.
*
* Redistribution and use in source and binary forms are permitted
* provided that this notice is preserved and that due credit is given
* to the University of Michigan at Ann Arbor. The name of the University
* may not be used to endorse or promote products derived from this
* software without specific prior written permission. This software
* is provided ``as is'' without express or implied warranty.
*/
/*
* dsparse.c: parsing routines used by display template and search
* preference file library routines for LDAP clients.
*
*/
#include "ldap-int.h"
static int next_line( char **bufp, long *blenp, char **linep );
static char *next_token( char ** sp );
int
nsldapi_next_line_tokens( char **bufp, long *blenp, char ***toksp )
{
char *p, *line, *token, **toks;
int rc, tokcnt;
*toksp = NULL;
if (( rc = next_line( bufp, blenp, &line )) <= 0 ) {
return( rc );
}
if (( toks = (char **)NSLDAPI_CALLOC( 1, sizeof( char * ))) == NULL ) {
NSLDAPI_FREE( line );
return( -1 );
}
tokcnt = 0;
p = line;
while (( token = next_token( &p )) != NULL ) {
if (( toks = (char **)NSLDAPI_REALLOC( toks, ( tokcnt + 2 ) *
sizeof( char * ))) == NULL ) {
NSLDAPI_FREE( (char *)toks );
NSLDAPI_FREE( line );
return( -1 );
}
toks[ tokcnt ] = token;
toks[ ++tokcnt ] = NULL;
}
if ( tokcnt == 1 && strcasecmp( toks[ 0 ], "END" ) == 0 ) {
tokcnt = 0;
nsldapi_free_strarray( toks );
toks = NULL;
}
NSLDAPI_FREE( line );
if ( tokcnt == 0 ) {
if ( toks != NULL ) {
NSLDAPI_FREE( (char *)toks );
}
} else {
*toksp = toks;
}
return( tokcnt );
}
static int
next_line( char **bufp, long *blenp, char **linep )
{
char *linestart, *line, *p;
long plen;
linestart = *bufp;
p = *bufp;
plen = *blenp;
do {
for ( linestart = p; plen > 0; ++p, --plen ) {
if ( *p == '\r' ) {
if ( plen > 1 && *(p+1) == '\n' ) {
++p;
--plen;
}
break;
}
if ( *p == '\n' ) {
if ( plen > 1 && *(p+1) == '\r' ) {
++p;
--plen;
}
break;
}
}
++p;
--plen;
} while ( plen > 0 && ( *linestart == '#' || linestart + 1 == p ));
*bufp = p;
*blenp = plen;
if ( plen <= 0 ) {
*linep = NULL;
return( 0 ); /* end of file */
}
if (( line = NSLDAPI_MALLOC( p - linestart )) == NULL ) {
*linep = NULL;
return( -1 ); /* fatal error */
}
SAFEMEMCPY( line, linestart, p - linestart );
line[ p - linestart - 1 ] = '\0';
*linep = line;
return( strlen( line ));
}
static char *
next_token( char **sp )
{
int in_quote = 0;
char *p, *tokstart, *t;
if ( **sp == '\0' ) {
return( NULL );
}
p = *sp;
while ( ldap_utf8isspace( p )) { /* skip leading white space */
++p;
}
if ( *p == '\0' ) {
return( NULL );
}
if ( *p == '\"' ) {
in_quote = 1;
++p;
}
t = tokstart = p;
for ( ;; ) {
if ( *p == '\0' || ( ldap_utf8isspace( p ) && !in_quote )) {
if ( *p != '\0' ) {
++p;
}
*t++ = '\0'; /* end of token */
break;
}
if ( *p == '\"' ) {
in_quote = !in_quote;
++p;
} else {
*t++ = *p++;
}
}
*sp = p;
if ( t == tokstart ) {
return( NULL );
}
return( nsldapi_strdup( tokstart ));
}
void
nsldapi_free_strarray( char **sap )
{
int i;
if ( sap != NULL ) {
for ( i = 0; sap[ i ] != NULL; ++i ) {
NSLDAPI_FREE( sap[ i ] );
}
NSLDAPI_FREE( (char *)sap );
}
}

View File

@@ -1,446 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*/
#include "ldap-int.h"
struct ldaperror {
int e_code;
char *e_reason;
};
static struct ldaperror ldap_errlist[] = {
{ LDAP_SUCCESS, "Success" },
{ LDAP_OPERATIONS_ERROR, "Operations error" },
{ LDAP_PROTOCOL_ERROR, "Protocol error" },
{ LDAP_TIMELIMIT_EXCEEDED, "Timelimit exceeded" },
{ LDAP_SIZELIMIT_EXCEEDED, "Sizelimit exceeded" },
{ LDAP_COMPARE_FALSE, "Compare false" },
{ LDAP_COMPARE_TRUE, "Compare true" },
{ LDAP_STRONG_AUTH_NOT_SUPPORTED, "Authentication method not supported" },
{ LDAP_STRONG_AUTH_REQUIRED, "Strong authentication required" },
{ LDAP_PARTIAL_RESULTS, "Partial results and referral received" },
{ LDAP_REFERRAL, "Referral received" },
{ LDAP_ADMINLIMIT_EXCEEDED, "Administrative limit exceeded" },
{ LDAP_UNAVAILABLE_CRITICAL_EXTENSION, "Unavailable critical extension" },
{ LDAP_CONFIDENTIALITY_REQUIRED, "Confidentiality required" },
{ LDAP_SASL_BIND_IN_PROGRESS, "SASL bind in progress" },
{ LDAP_NO_SUCH_ATTRIBUTE, "No such attribute" },
{ LDAP_UNDEFINED_TYPE, "Undefined attribute type" },
{ LDAP_INAPPROPRIATE_MATCHING, "Inappropriate matching" },
{ LDAP_CONSTRAINT_VIOLATION, "Constraint violation" },
{ LDAP_TYPE_OR_VALUE_EXISTS, "Type or value exists" },
{ LDAP_INVALID_SYNTAX, "Invalid syntax" },
{ LDAP_NO_SUCH_OBJECT, "No such object" },
{ LDAP_ALIAS_PROBLEM, "Alias problem" },
{ LDAP_INVALID_DN_SYNTAX, "Invalid DN syntax" },
{ LDAP_IS_LEAF, "Object is a leaf" },
{ LDAP_ALIAS_DEREF_PROBLEM, "Alias dereferencing problem" },
{ LDAP_INAPPROPRIATE_AUTH, "Inappropriate authentication" },
{ LDAP_INVALID_CREDENTIALS, "Invalid credentials" },
{ LDAP_INSUFFICIENT_ACCESS, "Insufficient access" },
{ LDAP_BUSY, "DSA is busy" },
{ LDAP_UNAVAILABLE, "DSA is unavailable" },
{ LDAP_UNWILLING_TO_PERFORM, "DSA is unwilling to perform" },
{ LDAP_LOOP_DETECT, "Loop detected" },
{ LDAP_SORT_CONTROL_MISSING, "Sort Control is missing" },
{ LDAP_INDEX_RANGE_ERROR, "Search results exceed the range specified by the offsets" },
{ LDAP_NAMING_VIOLATION, "Naming violation" },
{ LDAP_OBJECT_CLASS_VIOLATION, "Object class violation" },
{ LDAP_NOT_ALLOWED_ON_NONLEAF, "Operation not allowed on nonleaf" },
{ LDAP_NOT_ALLOWED_ON_RDN, "Operation not allowed on RDN" },
{ LDAP_ALREADY_EXISTS, "Already exists" },
{ LDAP_NO_OBJECT_CLASS_MODS, "Cannot modify object class" },
{ LDAP_RESULTS_TOO_LARGE, "Results too large" },
{ LDAP_AFFECTS_MULTIPLE_DSAS, "Affects multiple servers" },
{ LDAP_OTHER, "Unknown error" },
{ LDAP_SERVER_DOWN, "Can't contact LDAP server" },
{ LDAP_LOCAL_ERROR, "Local error" },
{ LDAP_ENCODING_ERROR, "Encoding error" },
{ LDAP_DECODING_ERROR, "Decoding error" },
{ LDAP_TIMEOUT, "Timed out" },
{ LDAP_AUTH_UNKNOWN, "Unknown authentication method" },
{ LDAP_FILTER_ERROR, "Bad search filter" },
{ LDAP_USER_CANCELLED, "User cancelled operation" },
{ LDAP_PARAM_ERROR, "Bad parameter to an ldap routine" },
{ LDAP_NO_MEMORY, "Out of memory" },
{ LDAP_CONNECT_ERROR, "Can't connect to the LDAP server" },
{ LDAP_NOT_SUPPORTED, "Not supported by this version of the LDAP protocol" },
{ LDAP_CONTROL_NOT_FOUND, "Requested LDAP control not found" },
{ LDAP_NO_RESULTS_RETURNED, "No results returned" },
{ LDAP_MORE_RESULTS_TO_RETURN, "More results to return" },
{ LDAP_CLIENT_LOOP, "Client detected loop" },
{ LDAP_REFERRAL_LIMIT_EXCEEDED, "Referral hop limit exceeded" },
{ -1, 0 }
};
char *
LDAP_CALL
ldap_err2string( int err )
{
int i;
LDAPDebug( LDAP_DEBUG_TRACE, "ldap_err2string\n", 0, 0, 0 );
for ( i = 0; ldap_errlist[i].e_code != -1; i++ ) {
if ( err == ldap_errlist[i].e_code )
return( ldap_errlist[i].e_reason );
}
return( "Unknown error" );
}
void
LDAP_CALL
ldap_perror( LDAP *ld, const char *s )
{
int i, err;
char *matched, *errmsg, *separator;
char msg[1024];
LDAPDebug( LDAP_DEBUG_TRACE, "ldap_perror\n", 0, 0, 0 );
if ( s == NULL ) {
s = separator = "";
} else {
separator = ": ";
}
if ( ld == NULL ) {
sprintf( msg, "%s%s%s", s, separator, strerror( errno ) );
ber_err_print( msg );
return;
}
LDAP_MUTEX_LOCK( ld, LDAP_ERR_LOCK );
err = LDAP_GET_LDERRNO( ld, &matched, &errmsg );
for ( i = 0; ldap_errlist[i].e_code != -1; i++ ) {
if ( err == ldap_errlist[i].e_code ) {
sprintf( msg, "%s%s%s", s, separator,
ldap_errlist[i].e_reason );
ber_err_print( msg );
if ( err == LDAP_CONNECT_ERROR ) {
ber_err_print( " - " );
ber_err_print( strerror( LDAP_GET_ERRNO( ld )));
}
ber_err_print( "\n" );
if ( matched != NULL && *matched != '\0' ) {
sprintf( msg, "%s%smatched: %s\n",
s, separator, matched );
ber_err_print( msg );
}
if ( errmsg != NULL && *errmsg != '\0' ) {
sprintf( msg, "%s%sadditional info: %s\n",
s, separator, errmsg );
ber_err_print( msg );
}
LDAP_MUTEX_UNLOCK( ld, LDAP_ERR_LOCK );
return;
}
}
sprintf( msg, "%s%sNot an LDAP errno %d\n", s, separator, err );
ber_err_print( msg );
LDAP_MUTEX_UNLOCK( ld, LDAP_ERR_LOCK );
}
int
LDAP_CALL
ldap_result2error( LDAP *ld, LDAPMessage *r, int freeit )
{
int lderr_parse, lderr;
lderr_parse = ldap_parse_result( ld, r, &lderr, NULL, NULL, NULL,
NULL, freeit );
if ( lderr_parse != LDAP_SUCCESS ) {
return( lderr_parse );
}
return( lderr );
}
int
LDAP_CALL
ldap_get_lderrno( LDAP *ld, char **m, char **s )
{
if ( !NSLDAPI_VALID_LDAP_POINTER( ld )) {
return( LDAP_PARAM_ERROR ); /* punt */
}
if ( ld->ld_get_lderrno_fn == NULL ) {
if ( m != NULL ) {
*m = ld->ld_matched;
}
if ( s != NULL ) {
*s = ld->ld_error;
}
return( ld->ld_errno );
} else {
return( ld->ld_get_lderrno_fn( m, s, ld->ld_lderrno_arg ) );
}
}
/*
* Note: there is no need for callers of ldap_set_lderrno() to lock the
* ld mutex. If applications intend to share an LDAP session handle
* between threads they *must* perform their own locking around the
* session handle or they must install a "set lderrno" thread callback
* function.
*
*/
int
LDAP_CALL
ldap_set_lderrno( LDAP *ld, int e, char *m, char *s )
{
if ( !NSLDAPI_VALID_LDAP_POINTER( ld )) {
return( LDAP_PARAM_ERROR );
}
if ( ld->ld_set_lderrno_fn != NULL ) {
ld->ld_set_lderrno_fn( e, m, s, ld->ld_lderrno_arg );
} else {
LDAP_MUTEX_LOCK( ld, LDAP_ERR_LOCK );
ld->ld_errno = e;
if ( ld->ld_matched ) {
NSLDAPI_FREE( ld->ld_matched );
}
ld->ld_matched = m;
if ( ld->ld_error ) {
NSLDAPI_FREE( ld->ld_error );
}
ld->ld_error = s;
LDAP_MUTEX_UNLOCK( ld, LDAP_ERR_LOCK );
}
return( LDAP_SUCCESS );
}
/*
* Returns an LDAP error that says whether parse succeeded. The error code
* from the LDAP result itself is returned in the errcodep result parameter.
* If any of the result params. (errcodep, matchednp, errmsgp, referralsp,
* or serverctrlsp) are NULL we don't return that info.
*/
int
LDAP_CALL
ldap_parse_result( LDAP *ld, LDAPMessage *res, int *errcodep, char **matchednp,
char **errmsgp, char ***referralsp, LDAPControl ***serverctrlsp,
int freeit )
{
LDAPMessage *lm;
int err, errcode;
char *m, *e;
LDAPDebug( LDAP_DEBUG_TRACE, "ldap_parse_result\n", 0, 0, 0 );
if ( !NSLDAPI_VALID_LDAP_POINTER( ld ) ||
!NSLDAPI_VALID_LDAPMESSAGE_POINTER( res )) {
return( LDAP_PARAM_ERROR );
}
/* skip over entries and references to find next result in this chain */
for ( lm = res; lm != NULL; lm = lm->lm_chain ) {
if ( lm->lm_msgtype != LDAP_RES_SEARCH_ENTRY &&
lm->lm_msgtype != LDAP_RES_SEARCH_REFERENCE ) {
break;
}
}
if ( lm == NULL ) {
err = LDAP_NO_RESULTS_RETURNED;
LDAP_SET_LDERRNO( ld, err, NULL, NULL );
return( err );
}
err = nsldapi_parse_result( ld, lm->lm_msgtype, lm->lm_ber, &errcode,
&m, &e, referralsp, serverctrlsp );
if ( err == LDAP_SUCCESS ) {
if ( errcodep != NULL ) {
*errcodep = errcode;
}
if ( matchednp != NULL ) {
*matchednp = nsldapi_strdup( m );
}
if ( errmsgp != NULL ) {
*errmsgp = nsldapi_strdup( e );
}
/*
* if there are more result messages in the chain, arrange to
* return the special LDAP_MORE_RESULTS_TO_RETURN "error" code.
*/
for ( lm = lm->lm_chain; lm != NULL; lm = lm->lm_chain ) {
if ( lm->lm_msgtype != LDAP_RES_SEARCH_ENTRY &&
lm->lm_msgtype != LDAP_RES_SEARCH_REFERENCE ) {
err = LDAP_MORE_RESULTS_TO_RETURN;
break;
}
}
} else {
m = e = NULL;
}
if ( freeit ) {
ldap_msgfree( res );
}
LDAP_SET_LDERRNO( ld, ( err == LDAP_SUCCESS ) ? errcode : err, m, e );
return( err );
}
/*
* returns an LDAP error code indicating success or failure of parsing
* does NOT set any error information inside "ld"
*/
int
nsldapi_parse_result( LDAP *ld, int msgtype, BerElement *rber, int *errcodep,
char **matchednp, char **errmsgp, char ***referralsp,
LDAPControl ***serverctrlsp )
{
BerElement ber;
unsigned long len;
int berrc, err, errcode;
long along;
char *m, *e;
/*
* Parse the result message. LDAPv3 result messages look like this:
*
* LDAPResult ::= SEQUENCE {
* resultCode ENUMERATED { ... },
* matchedDN LDAPDN,
* errorMessage LDAPString,
* referral [3] Referral OPTIONAL
* opSpecificStuff OPTIONAL
* }
*
* all wrapped up in an LDAPMessage sequence which looks like this:
* LDAPMessage ::= SEQUENCE {
* messageID MessageID,
* LDAPResult CHOICE { ... }, // message type
* controls [0] Controls OPTIONAL
* }
*
* LDAPv2 messages don't include referrals or controls.
* LDAPv1 messages don't include matchedDN, referrals, or controls.
*
* ldap_result() pulls out the message id, so by the time a result
* message gets here we are sitting at the start of the LDAPResult.
*/
err = LDAP_SUCCESS; /* optimistic */
m = e = NULL;
if ( matchednp != NULL ) {
*matchednp = NULL;
}
if ( errmsgp != NULL ) {
*errmsgp = NULL;
}
if ( referralsp != NULL ) {
*referralsp = NULL;
}
if ( serverctrlsp != NULL ) {
*serverctrlsp = NULL;
}
ber = *rber; /* struct copy */
if ( NSLDAPI_LDAP_VERSION( ld ) < LDAP_VERSION2 ) {
berrc = ber_scanf( &ber, "{ia}", &along, &e );
errcode = (int)along; /* XXX lossy cast */
} else {
if (( berrc = ber_scanf( &ber, "{iaa", &along, &m, &e ))
!= LBER_ERROR ) {
errcode = (int)along; /* XXX lossy cast */
/* check for optional referrals */
if ( ber_peek_tag( &ber, &len ) == LDAP_TAG_REFERRAL ) {
if ( referralsp == NULL ) {
/* skip referrals */
berrc = ber_scanf( &ber, "x" );
} else {
/* suck out referrals */
berrc = ber_scanf( &ber, "v",
referralsp );
}
} else if ( referralsp != NULL ) {
*referralsp = NULL;
}
}
if ( berrc != LBER_ERROR ) {
/*
* skip past optional operation-specific elements:
* bind results - serverSASLcreds
* extendedop results - OID plus value
*/
if ( msgtype == LDAP_RES_BIND ) {
if ( ber_peek_tag( &ber, &len ) ==
LDAP_TAG_SASL_RES_CREDS ) {
berrc = ber_scanf( &ber, "x" );
}
} else if ( msgtype == LDAP_RES_EXTENDED ) {
if ( ber_peek_tag( &ber, &len ) ==
LDAP_TAG_EXOP_RES_OID ) {
berrc = ber_scanf( &ber, "x" );
}
if ( berrc != LBER_ERROR &&
ber_peek_tag( &ber, &len ) ==
LDAP_TAG_EXOP_RES_VALUE ) {
berrc = ber_scanf( &ber, "x" );
}
}
}
/* pull out controls (if requested and any are present) */
if ( berrc != LBER_ERROR && serverctrlsp != NULL &&
( berrc = ber_scanf( &ber, "}" )) != LBER_ERROR ) {
err = nsldapi_get_controls( &ber, serverctrlsp );
}
}
if ( berrc == LBER_ERROR && err == LDAP_SUCCESS ) {
err = LDAP_DECODING_ERROR;
}
if ( errcodep != NULL ) {
*errcodep = errcode;
}
if ( matchednp != NULL ) {
*matchednp = m;
} else if ( m != NULL ) {
NSLDAPI_FREE( m );
}
if ( errmsgp != NULL ) {
*errmsgp = e;
} else if ( e != NULL ) {
NSLDAPI_FREE( e );
}
return( err );
}

View File

@@ -1,250 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*/
#include "ldap-int.h"
/*
* ldap_extended_operation - initiate an arbitrary ldapv3 extended operation.
* the oid and data of the extended operation are supplied. Returns an
* LDAP error code.
*
* Example:
* struct berval exdata;
* char *exoid;
* int err, msgid;
* ... fill in oid and data ...
* err = ldap_extended_operation( ld, exoid, &exdata, NULL, NULL, &msgid );
*/
int
LDAP_CALL
ldap_extended_operation(
LDAP *ld,
const char *exoid,
const struct berval *exdata,
LDAPControl **serverctrls,
LDAPControl **clientctrls,
int *msgidp
)
{
BerElement *ber;
int rc, msgid;
/*
* the ldapv3 extended operation request looks like this:
*
* ExtendedRequest ::= [APPLICATION 23] SEQUENCE {
* requestName LDAPOID,
* requestValue OCTET STRING
* }
*
* all wrapped up in an LDAPMessage sequence.
*/
LDAPDebug( LDAP_DEBUG_TRACE, "ldap_extended_operation\n", 0, 0, 0 );
if ( !NSLDAPI_VALID_LDAP_POINTER( ld )) {
return( LDAP_PARAM_ERROR );
}
/* only ldapv3 or higher can do extended operations */
if ( NSLDAPI_LDAP_VERSION( ld ) < LDAP_VERSION3 ) {
rc = LDAP_NOT_SUPPORTED;
LDAP_SET_LDERRNO( ld, rc, NULL, NULL );
return( rc );
}
if ( msgidp == NULL || exoid == NULL || *exoid == '\0' ) {
rc = LDAP_PARAM_ERROR;
LDAP_SET_LDERRNO( ld, rc, NULL, NULL );
return( rc );
}
LDAP_MUTEX_LOCK( ld, LDAP_MSGID_LOCK );
msgid = ++ld->ld_msgid;
LDAP_MUTEX_UNLOCK( ld, LDAP_MSGID_LOCK );
#if 0
if ( ld->ld_cache_on && ld->ld_cache_extendedop != NULL ) {
LDAP_MUTEX_LOCK( ld, LDAP_CACHE_LOCK );
if ( (rc = (ld->ld_cache_extendedop)( ld, msgid,
LDAP_REQ_EXTENDED, exoid, cred )) != 0 ) {
LDAP_MUTEX_UNLOCK( ld, LDAP_CACHE_LOCK );
return( rc );
}
LDAP_MUTEX_UNLOCK( ld, LDAP_CACHE_LOCK );
}
#endif
/* create a message to send */
if (( rc = nsldapi_alloc_ber_with_options( ld, &ber ))
!= LDAP_SUCCESS ) {
return( rc );
}
/* fill it in */
if ( ber_printf( ber, "{it{tsto}", msgid, LDAP_REQ_EXTENDED,
LDAP_TAG_EXOP_REQ_OID, exoid, LDAP_TAG_EXOP_REQ_VALUE,
exdata->bv_val, (int)exdata->bv_len /* XXX lossy cast */ ) == -1 ) {
rc = LDAP_ENCODING_ERROR;
LDAP_SET_LDERRNO( ld, rc, NULL, NULL );
ber_free( ber, 1 );
return( rc );
}
if (( rc = nsldapi_put_controls( ld, serverctrls, 1, ber ))
!= LDAP_SUCCESS ) {
ber_free( ber, 1 );
return( rc );
}
/* send the message */
rc = nsldapi_send_initial_request( ld, msgid, LDAP_REQ_EXTENDED, NULL,
ber );
*msgidp = rc;
return( rc < 0 ? LDAP_GET_LDERRNO( ld, NULL, NULL ) : LDAP_SUCCESS );
}
/*
* ldap_extended_operation_s - perform an arbitrary ldapv3 extended operation.
* the oid and data of the extended operation are supplied. LDAP_SUCCESS
* is returned upon success, the ldap error code otherwise.
*
* Example:
* struct berval exdata, exretval;
* char *exoid;
* int rc;
* ... fill in oid and data ...
* rc = ldap_extended_operation_s( ld, exoid, &exdata, &exretval );
*/
int
LDAP_CALL
ldap_extended_operation_s(
LDAP *ld,
const char *requestoid,
const struct berval *requestdata,
LDAPControl **serverctrls,
LDAPControl **clientctrls,
char **retoidp,
struct berval **retdatap
)
{
int err, msgid;
LDAPMessage *result;
if (( err = ldap_extended_operation( ld, requestoid, requestdata,
serverctrls, clientctrls, &msgid )) != LDAP_SUCCESS ) {
return( err );
}
if ( ldap_result( ld, msgid, 1, (struct timeval *) 0, &result )
== -1 ) {
return( LDAP_GET_LDERRNO( ld, NULL, NULL ) );
}
if (( err = ldap_parse_extended_result( ld, result, retoidp, retdatap,
0 )) != LDAP_SUCCESS ) {
ldap_msgfree( result );
return( err );
}
return( ldap_result2error( ld, result, 1 ) );
}
/*
* Pull the oid returned by the server and the data out of an extended
* operation result. Return an LDAP error code.
*/
int
LDAP_CALL
ldap_parse_extended_result(
LDAP *ld,
LDAPMessage *res,
char **retoidp, /* may be NULL */
struct berval **retdatap, /* may be NULL */
int freeit
)
{
struct berelement ber;
unsigned long len;
long err;
char *m, *e, *roid;
struct berval *rdata;
LDAPDebug( LDAP_DEBUG_TRACE, "ldap_parse_extended_result\n", 0, 0, 0 );
if ( !NSLDAPI_VALID_LDAP_POINTER( ld )) {
return( LDAP_PARAM_ERROR );
}
if ( !NSLDAPI_VALID_LDAPMESSAGE_EXRESULT_POINTER( res )) {
return( LDAP_PARAM_ERROR );
}
m = e = NULL;
ber = *(res->lm_ber);
if ( NSLDAPI_LDAP_VERSION( ld ) < LDAP_VERSION3 ) {
LDAP_SET_LDERRNO( ld, LDAP_NOT_SUPPORTED, NULL, NULL );
return( LDAP_NOT_SUPPORTED );
}
if ( ber_scanf( &ber, "{iaa", &err, &m, &e ) == LBER_ERROR ) {
goto decoding_error;
}
roid = NULL;
if ( ber_peek_tag( &ber, &len ) == LDAP_TAG_EXOP_RES_OID ) {
if ( ber_scanf( &ber, "a", &roid ) == LBER_ERROR ) {
goto decoding_error;
}
}
if ( retoidp != NULL ) {
*retoidp = roid;
} else if ( roid != NULL ) {
NSLDAPI_FREE( roid );
}
rdata = NULL;
if ( ber_peek_tag( &ber, &len ) == LDAP_TAG_EXOP_RES_VALUE ) {
if ( ber_scanf( &ber, "O", &rdata ) == LBER_ERROR ) {
goto decoding_error;
}
}
if ( retdatap != NULL ) {
*retdatap = rdata;
} else if ( rdata != NULL ) {
ber_bvfree( rdata );
}
LDAP_SET_LDERRNO( ld, err, m, e );
if ( freeit ) {
ldap_msgfree( res );
}
return( LDAP_SUCCESS );
decoding_error:;
LDAP_SET_LDERRNO( ld, LDAP_DECODING_ERROR, NULL, NULL );
return( LDAP_DECODING_ERROR );
}

View File

@@ -1,138 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*/
/*
* Copyright (c) 1994 The Regents of the University of Michigan.
* All rights reserved.
*/
/*
* free.c - some free routines are included here to avoid having to
* link in lots of extra code when not using certain features
*/
#if 0
#ifndef lint
static char copyright[] = "@(#) Copyright (c) 1994 The Regents of the University of Michigan.\nAll rights reserved.\n";
#endif
#endif
#include "ldap-int.h"
void
LDAP_CALL
ldap_getfilter_free( LDAPFiltDesc *lfdp )
{
LDAPFiltList *flp, *nextflp;
LDAPFiltInfo *fip, *nextfip;
if ( lfdp == NULL ) {
return;
}
for ( flp = lfdp->lfd_filtlist; flp != NULL; flp = nextflp ) {
for ( fip = flp->lfl_ilist; fip != NULL; fip = nextfip ) {
nextfip = fip->lfi_next;
NSLDAPI_FREE( fip->lfi_filter );
NSLDAPI_FREE( fip->lfi_desc );
NSLDAPI_FREE( fip );
}
nextflp = flp->lfl_next;
NSLDAPI_FREE( flp->lfl_pattern );
NSLDAPI_FREE( flp->lfl_delims );
NSLDAPI_FREE( flp->lfl_tag );
NSLDAPI_FREE( flp );
}
if ( lfdp->lfd_curvalcopy != NULL ) {
NSLDAPI_FREE( lfdp->lfd_curvalcopy );
}
if ( lfdp->lfd_curvalwords != NULL ) {
NSLDAPI_FREE( lfdp->lfd_curvalwords );
}
if ( lfdp->lfd_filtprefix != NULL ) {
NSLDAPI_FREE( lfdp->lfd_filtprefix );
}
if ( lfdp->lfd_filtsuffix != NULL ) {
NSLDAPI_FREE( lfdp->lfd_filtsuffix );
}
NSLDAPI_FREE( lfdp );
}
/*
* free a null-terminated array of pointers to mod structures. the
* structures are freed, not the array itself, unless the freemods
* flag is set.
*/
void
LDAP_CALL
ldap_mods_free( LDAPMod **mods, int freemods )
{
int i;
if ( !NSLDAPI_VALID_LDAPMOD_ARRAY( mods )) {
return;
}
for ( i = 0; mods[i] != NULL; i++ ) {
if ( mods[i]->mod_op & LDAP_MOD_BVALUES ) {
if ( mods[i]->mod_bvalues != NULL ) {
ber_bvecfree( mods[i]->mod_bvalues );
}
} else if ( mods[i]->mod_values != NULL ) {
ldap_value_free( mods[i]->mod_values );
}
if ( mods[i]->mod_type != NULL ) {
NSLDAPI_FREE( mods[i]->mod_type );
}
NSLDAPI_FREE( (char *) mods[i] );
}
if ( freemods )
NSLDAPI_FREE( (char *) mods );
}
/*
* ldap_memfree() is needed to ensure that memory allocated by the C runtime
* assocated with libldap is freed by the same runtime code.
*/
void
LDAP_CALL
ldap_memfree( void *s )
{
if ( s != NULL ) {
NSLDAPI_FREE( s );
}
}
/*
* ldap_ber_free() is just a cover for ber_free()
* ber_free() checks for ber == NULL, so we don't bother.
*/
void
LDAP_CALL
ldap_ber_free( BerElement *ber, int freebuf )
{
ber_free( ber, freebuf );
}

View File

@@ -1,58 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*/
/*
* Copyright (c) 1990 Regents of the University of Michigan.
* All rights reserved.
*/
/*
* freevalues.c
*/
#include "ldap-int.h"
void
LDAP_CALL
ldap_value_free( char **vals )
{
int i;
if ( vals == NULL )
return;
for ( i = 0; vals[i] != NULL; i++ )
NSLDAPI_FREE( vals[i] );
NSLDAPI_FREE( (char *) vals );
}
void
LDAP_CALL
ldap_value_free_len( struct berval **vals )
{
int i;
if ( vals == NULL )
return;
for ( i = 0; vals[i] != NULL; i++ ) {
NSLDAPI_FREE( vals[i]->bv_val );
NSLDAPI_FREE( vals[i] );
}
NSLDAPI_FREE( (char *) vals );
}

View File

@@ -1,136 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*/
/*
* Copyright (c) 1990 Regents of the University of Michigan.
* All rights reserved.
*/
/*
* friendly.c
*/
#if 0
#ifndef lint
static char copyright[] = "@(#) Copyright (c) 1993 Regents of the University of Michigan.\nAll rights reserved.\n";
#endif
#endif
#include "ldap-int.h"
char *
LDAP_CALL
ldap_friendly_name( char *filename, char *name, FriendlyMap *map )
{
int i, entries;
FILE *fp;
char *s;
char buf[BUFSIZ];
if ( map == NULL ) {
return( name );
}
if ( NULL == name)
{
return (name);
}
if ( *map == NULL ) {
if ( (fp = fopen( filename, "r" )) == NULL )
return( name );
entries = 0;
while ( fgets( buf, sizeof(buf), fp ) != NULL ) {
if ( buf[0] != '#' )
entries++;
}
rewind( fp );
if ( (*map = (FriendlyMap)NSLDAPI_MALLOC( (entries + 1) *
sizeof(struct friendly) )) == NULL ) {
fclose( fp );
return( name );
}
i = 0;
while ( fgets( buf, sizeof(buf), fp ) != NULL && i < entries ) {
if ( buf[0] == '#' )
continue;
if ( (s = strchr( buf, '\n' )) != NULL )
*s = '\0';
if ( (s = strchr( buf, '\t' )) == NULL )
continue;
*s++ = '\0';
if ( *s == '"' ) {
int esc = 0, found = 0;
for ( ++s; *s && !found; s++ ) {
switch ( *s ) {
case '\\':
esc = 1;
break;
case '"':
if ( !esc )
found = 1;
/* FALL */
default:
esc = 0;
break;
}
}
}
(*map)[i].f_unfriendly = nsldapi_strdup( buf );
(*map)[i].f_friendly = nsldapi_strdup( s );
i++;
}
fclose( fp );
(*map)[i].f_unfriendly = NULL;
}
for ( i = 0; (*map)[i].f_unfriendly != NULL; i++ ) {
if ( strcasecmp( name, (*map)[i].f_unfriendly ) == 0 )
return( (*map)[i].f_friendly );
}
return( name );
}
void
LDAP_CALL
ldap_free_friendlymap( FriendlyMap *map )
{
struct friendly* pF;
if ( map == NULL || *map == NULL ) {
return;
}
for ( pF = *map; pF->f_unfriendly; pF++ ) {
NSLDAPI_FREE( pF->f_unfriendly );
NSLDAPI_FREE( pF->f_friendly );
}
NSLDAPI_FREE( *map );
*map = NULL;
}

View File

@@ -1,135 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*/
/*
* Copyright (c) 1990 Regents of the University of Michigan.
* All rights reserved.
*/
/*
* getattr.c
*/
#if 0
#ifndef lint
static char copyright[] = "@(#) Copyright (c) 1990 Regents of the University of Michigan.\nAll rights reserved.\n";
#endif
#endif
#include "ldap-int.h"
static unsigned long
bytes_remaining( BerElement *ber )
{
unsigned long len;
if ( ber_get_option( ber, LBER_OPT_REMAINING_BYTES, &len ) != 0 ) {
return( 0 ); /* not sure what else to do.... */
}
return( len );
}
char *
LDAP_CALL
ldap_first_attribute( LDAP *ld, LDAPMessage *entry, BerElement **ber )
{
char *attr;
int err;
long seqlength;
LDAPDebug( LDAP_DEBUG_TRACE, "ldap_first_attribute\n", 0, 0, 0 );
if ( !NSLDAPI_VALID_LDAP_POINTER( ld )) {
return( NULL ); /* punt */
}
if ( ber == NULL || !NSLDAPI_VALID_LDAPMESSAGE_ENTRY_POINTER( entry )) {
LDAP_SET_LDERRNO( ld, LDAP_PARAM_ERROR, NULL, NULL );
return( NULL );
}
if ( nsldapi_alloc_ber_with_options( ld, ber ) != LDAP_SUCCESS ) {
return( NULL );
}
**ber = *entry->lm_ber;
attr = NULL; /* pessimistic */
err = LDAP_DECODING_ERROR; /* ditto */
/*
* Skip past the sequence, dn, and sequence of sequence.
* Reset number of bytes remaining so we confine the rest of our
* decoding to the current sequence.
*/
if ( ber_scanf( *ber, "{xl{", &seqlength ) != LBER_ERROR &&
ber_set_option( *ber, LBER_OPT_REMAINING_BYTES, &seqlength )
== 0 ) {
/* snarf the attribute type, and skip the set of values,
* leaving us positioned right before the next attribute
* type/value sequence.
*/
if ( ber_scanf( *ber, "{ax}", &attr ) != LBER_ERROR ||
bytes_remaining( *ber ) == 0 ) {
err = LDAP_SUCCESS;
}
}
LDAP_SET_LDERRNO( ld, err, NULL, NULL );
if ( attr == NULL || err != LDAP_SUCCESS ) {
ber_free( *ber, 0 );
*ber = NULL;
}
return( attr );
}
/* ARGSUSED */
char *
LDAP_CALL
ldap_next_attribute( LDAP *ld, LDAPMessage *entry, BerElement *ber )
{
char *attr;
int err;
LDAPDebug( LDAP_DEBUG_TRACE, "ldap_next_attribute\n", 0, 0, 0 );
if ( !NSLDAPI_VALID_LDAP_POINTER( ld )) {
return( NULL ); /* punt */
}
if ( ber == NULL || !NSLDAPI_VALID_LDAPMESSAGE_ENTRY_POINTER( entry )) {
LDAP_SET_LDERRNO( ld, LDAP_PARAM_ERROR, NULL, NULL );
return( NULL );
}
attr = NULL; /* pessimistic */
err = LDAP_DECODING_ERROR; /* ditto */
/* skip sequence, snarf attribute type, skip values */
if ( ber_scanf( ber, "{ax}", &attr ) != LBER_ERROR ||
bytes_remaining( ber ) == 0 ) {
err = LDAP_SUCCESS;
}
LDAP_SET_LDERRNO( ld, err, NULL, NULL );
return( attr );
}

View File

@@ -1,347 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*/
/*
* Copyright (c) 1994 Regents of the University of Michigan.
* All rights reserved.
*/
/*
* getdn.c
*/
#if 0
#ifndef lint
static char copyright[] = "@(#) Copyright (c) 1990 Regents of the University of Michigan.\nAll rights reserved.\n";
#endif
#endif
#include "ldap-int.h"
char *
LDAP_CALL
ldap_get_dn( LDAP *ld, LDAPMessage *entry )
{
char *dn;
struct berelement tmp;
LDAPDebug( LDAP_DEBUG_TRACE, "ldap_get_dn\n", 0, 0, 0 );
if ( !NSLDAPI_VALID_LDAP_POINTER( ld )) {
return( NULL ); /* punt */
}
if ( !NSLDAPI_VALID_LDAPMESSAGE_ENTRY_POINTER( entry )) {
LDAP_SET_LDERRNO( ld, LDAP_PARAM_ERROR, NULL, NULL );
return( NULL );
}
tmp = *entry->lm_ber; /* struct copy */
if ( ber_scanf( &tmp, "{a", &dn ) == LBER_ERROR ) {
LDAP_SET_LDERRNO( ld, LDAP_DECODING_ERROR, NULL, NULL );
return( NULL );
}
return( dn );
}
char *
LDAP_CALL
ldap_dn2ufn( const char *dn )
{
char *p, *ufn, *r;
size_t plen;
int state;
LDAPDebug( LDAP_DEBUG_TRACE, "ldap_dn2ufn\n", 0, 0, 0 );
if ( dn == NULL ) {
dn = "";
}
if ( ldap_is_dns_dn( dn ) || ( p = strchr( dn, '=' )) == NULL )
return( nsldapi_strdup( (char *)dn ));
ufn = nsldapi_strdup( ++p );
#define INQUOTE 1
#define OUTQUOTE 2
state = OUTQUOTE;
for ( p = ufn, r = ufn; *p; p += plen ) {
plen = 1;
switch ( *p ) {
case '\\':
if ( *++p == '\0' )
plen=0;
else {
*r++ = '\\';
r += (plen = LDAP_UTF8COPY(r,p));
}
break;
case '"':
if ( state == INQUOTE )
state = OUTQUOTE;
else
state = INQUOTE;
*r++ = *p;
break;
case ';':
case ',':
if ( state == OUTQUOTE )
*r++ = ',';
else
*r++ = *p;
break;
case '=':
if ( state == INQUOTE )
*r++ = *p;
else {
char *rsave = r;
LDAP_UTF8DEC(r);
*rsave = '\0';
while ( !ldap_utf8isspace( r ) && *r != ';'
&& *r != ',' && r > ufn )
LDAP_UTF8DEC(r);
LDAP_UTF8INC(r);
if ( strcasecmp( r, "c" )
&& strcasecmp( r, "o" )
&& strcasecmp( r, "ou" )
&& strcasecmp( r, "st" )
&& strcasecmp( r, "l" )
&& strcasecmp( r, "cn" ) ) {
r = rsave;
*r++ = '=';
}
}
break;
default:
r += (plen = LDAP_UTF8COPY(r,p));
break;
}
}
*r = '\0';
return( ufn );
}
char **
LDAP_CALL
ldap_explode_dns( const char *dn )
{
int ncomps, maxcomps;
char *s, *cpydn;
char **rdns;
#ifdef HAVE_STRTOK_R /* defined in portable.h */
char *lasts;
#endif
if ( dn == NULL ) {
dn = "";
}
if ( (rdns = (char **)NSLDAPI_MALLOC( 8 * sizeof(char *) )) == NULL ) {
return( NULL );
}
maxcomps = 8;
ncomps = 0;
cpydn = nsldapi_strdup( (char *)dn );
for ( s = STRTOK( cpydn, "@.", &lasts ); s != NULL;
s = STRTOK( NULL, "@.", &lasts ) ) {
if ( ncomps == maxcomps ) {
maxcomps *= 2;
if ( (rdns = (char **)NSLDAPI_REALLOC( rdns, maxcomps *
sizeof(char *) )) == NULL ) {
NSLDAPI_FREE( cpydn );
return( NULL );
}
}
rdns[ncomps++] = nsldapi_strdup( s );
}
rdns[ncomps] = NULL;
NSLDAPI_FREE( cpydn );
return( rdns );
}
#define LDAP_DN 1
#define LDAP_RDN 2
static char **
ldap_explode( const char *dn, const int notypes, const int nametype )
{
char *p, *q, *rdnstart, **rdns = NULL;
size_t plen = 0;
int state, count = 0, endquote, len, goteq;
LDAPDebug( LDAP_DEBUG_TRACE, "ldap_explode\n", 0, 0, 0 );
if ( dn == NULL ) {
dn = "";
}
#if 0
if ( ldap_is_dns_dn( dn ) ) {
return( ldap_explode_dns( dn ) );
}
#endif
while ( ldap_utf8isspace( (char *)dn )) { /* ignore leading spaces */
++dn;
}
p = rdnstart = (char *) dn;
state = OUTQUOTE;
goteq = 0;
do {
p += plen;
plen = 1;
switch ( *p ) {
case '\\':
if ( *++p == '\0' )
p--;
else
plen = LDAP_UTF8LEN(p);
break;
case '"':
if ( state == INQUOTE )
state = OUTQUOTE;
else
state = INQUOTE;
break;
case '+': if ( nametype != LDAP_RDN ) break;
case ';':
case ',':
case '\0':
if ( state == OUTQUOTE ) {
/*
* semicolon and comma are not valid RDN
* separators.
*/
if ( nametype == LDAP_RDN &&
( *p == ';' || *p == ',' || !goteq)) {
ldap_charray_free( rdns );
return NULL;
}
if ( (*p == ',' || *p == ';') && !goteq ) {
/* If we get here, we have a case similar
* to <attr>=<value>,<string>,<attr>=<value>
* This is not a valid dn */
ldap_charray_free( rdns );
return NULL;
}
goteq = 0;
++count;
if ( rdns == NULL ) {
if (( rdns = (char **)NSLDAPI_MALLOC( 8
* sizeof( char *))) == NULL )
return( NULL );
} else if ( count >= 8 ) {
if (( rdns = (char **)NSLDAPI_REALLOC(
rdns, (count+1) *
sizeof( char *))) == NULL )
return( NULL );
}
rdns[ count ] = NULL;
endquote = 0;
if ( notypes ) {
for ( q = rdnstart;
q < p && *q != '='; ++q ) {
;
}
if ( q < p ) { /* *q == '=' */
rdnstart = ++q;
}
if ( *rdnstart == '"' ) {
++rdnstart;
}
if ( *(p-1) == '"' ) {
endquote = 1;
--p;
}
}
len = p - rdnstart;
if (( rdns[ count-1 ] = (char *)NSLDAPI_CALLOC(
1, len + 1 )) != NULL ) {
SAFEMEMCPY( rdns[ count-1 ], rdnstart,
len );
if ( !endquote ) {
/* trim trailing spaces */
while ( len > 0 &&
ldap_utf8isspace(
&rdns[count-1][len-1] )) {
--len;
}
}
rdns[ count-1 ][ len ] = '\0';
}
/*
* Don't forget to increment 'p' back to where
* it should be. If we don't, then we will
* never get past an "end quote."
*/
if ( endquote == 1 )
p++;
rdnstart = *p ? p + 1 : p;
while ( ldap_utf8isspace( rdnstart ))
++rdnstart;
}
break;
case '=':
if ( state == OUTQUOTE ) {
goteq = 1;
}
/* FALL */
default:
plen = LDAP_UTF8LEN(p);
break;
}
} while ( *p );
return( rdns );
}
char **
LDAP_CALL
ldap_explode_dn( const char *dn, const int notypes )
{
return( ldap_explode( dn, notypes, LDAP_DN ) );
}
char **
LDAP_CALL
ldap_explode_rdn( const char *rdn, const int notypes )
{
return( ldap_explode( rdn, notypes, LDAP_RDN ) );
}
int
LDAP_CALL
ldap_is_dns_dn( const char *dn )
{
return( dn != NULL && dn[ 0 ] != '\0' && strchr( dn, '=' ) == NULL &&
strchr( dn, ',' ) == NULL );
}

View File

@@ -1,250 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*/
/*
* Copyright (c) 1995 Regents of the University of Michigan.
* All rights reserved.
*/
/*
* nsldapi_getdxbyname - retrieve DX records from the DNS (from
* TXT records for now)
*/
#include <stdio.h>
#ifdef LDAP_DNS
XXX not MT-safe XXX
#include <string.h>
#include <ctype.h>
#ifdef macintosh
#include <stdlib.h>
#include "macos.h"
#endif /* macintosh */
#ifdef _WINDOWS
#include <windows.h>
#endif
#if !defined(macintosh) && !defined(DOS) && !defined( _WINDOWS )
#include <sys/types.h>
#include <netinet/in.h>
#include <arpa/nameser.h>
#include <sys/time.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netdb.h>
#include <resolv.h>
#endif
#include "ldap-int.h"
#if defined( DOS )
#include "msdos.h"
#endif /* DOS */
#ifdef NEEDPROTOS
static char ** decode_answer( unsigned char *answer, int len );
#else /* NEEDPROTOS */
static char **decode_answer();
#endif /* NEEDPROTOS */
extern int h_errno;
extern char *h_errlist[];
#define MAX_TO_SORT 32
/*
* nsldapi_getdxbyname - lookup DNS DX records for domain and return an ordered
* array.
*/
char **
nsldapi_getdxbyname( char *domain )
{
unsigned char buf[ PACKETSZ ];
char **dxs;
int rc;
LDAPDebug( LDAP_DEBUG_TRACE, "nsldapi_getdxbyname( %s )\n", domain, 0, 0 );
memset( buf, 0, sizeof( buf ));
/* XXX not MT safe XXX */
if (( rc = res_search( domain, C_IN, T_TXT, buf, sizeof( buf ))) < 0
|| ( dxs = decode_answer( buf, rc )) == NULL ) {
/*
* punt: return list conisting of the original domain name only
*/
if (( dxs = (char **)NSLDAPI_MALLOC( 2 * sizeof( char * ))) == NULL ||
( dxs[ 0 ] = nsldapi_strdup( domain )) == NULL ) {
if ( dxs != NULL ) {
NSLDAPI_FREE( dxs );
}
dxs = NULL;
} else {
dxs[ 1 ] = NULL;
}
}
return( dxs );
}
static char **
decode_answer( unsigned char *answer, int len )
{
HEADER *hp;
char buf[ 256 ], **dxs;
unsigned char *eom, *p;
int ancount, err, rc, type, class, dx_count, rr_len;
int dx_pref[ MAX_TO_SORT ];
#ifdef LDAP_DEBUG
if ( ldap_debug & LDAP_DEBUG_PACKETS ) {
/* __p_query( answer ); */
}
#endif /* LDAP_DEBUG */
dxs = NULL;
hp = (HEADER *)answer;
eom = answer + len;
if ( ntohs( hp->qdcount ) != 1 ) {
h_errno = NO_RECOVERY;
return( NULL );
}
ancount = ntohs( hp->ancount );
if ( ancount < 1 ) {
h_errno = NO_DATA;
return( NULL );
}
/*
* skip over the query
*/
p = answer + HFIXEDSZ;
if (( rc = dn_expand( answer, eom, p, buf, sizeof( buf ))) < 0 ) {
h_errno = NO_RECOVERY;
return( NULL );
}
p += ( rc + QFIXEDSZ );
/*
* pull out the answers we are interested in
*/
err = dx_count = 0;
while ( ancount > 0 && err == 0 && p < eom ) {
if (( rc = dn_expand( answer, eom, p, buf, sizeof( buf ))) < 0 ) {
err = NO_RECOVERY;
continue;
}
p += rc; /* skip over name */
type = _getshort( p );
p += INT16SZ;
class = _getshort( p );
p += INT16SZ;
p += INT32SZ; /* skip over TTL */
rr_len = _getshort( p );
p += INT16SZ;
if ( class == C_IN && type == T_TXT ) {
int i, n, pref, txt_len;
char *q, *r;
q = (char *)p;
while ( q < (char *)p + rr_len && err == 0 ) {
if ( *q >= 3 && strncasecmp( q + 1, "dx:", 3 ) == 0 ) {
txt_len = *q - 3;
r = q + 4;
while ( isspace( *r )) {
++r;
--txt_len;
}
pref = 0;
while ( isdigit( *r )) {
pref *= 10;
pref += ( *r - '0' );
++r;
--txt_len;
}
if ( dx_count < MAX_TO_SORT - 1 ) {
dx_pref[ dx_count ] = pref;
}
while ( isspace( *r )) {
++r;
--txt_len;
}
if ( dx_count == 0 ) {
dxs = (char **)NSLDAPI_MALLOC( 2 * sizeof( char * ));
} else {
dxs = (char **)NSLDAPI_REALLOC( dxs,
( dx_count + 2 ) * sizeof( char * ));
}
if ( dxs == NULL || ( dxs[ dx_count ] =
(char *)NSLDAPI_CALLOC( 1, txt_len + 1 ))
== NULL ) {
err = NO_RECOVERY;
continue;
}
SAFEMEMCPY( dxs[ dx_count ], r, txt_len );
dxs[ ++dx_count ] = NULL;
}
q += ( *q + 1 ); /* move past last TXT record */
}
}
p += rr_len;
}
if ( err == 0 ) {
if ( dx_count == 0 ) {
err = NO_DATA;
} else {
/*
* sort records based on associated preference value
*/
int i, j, sort_count, tmp_pref;
char *tmp_dx;
sort_count = ( dx_count < MAX_TO_SORT ) ? dx_count : MAX_TO_SORT;
for ( i = 0; i < sort_count; ++i ) {
for ( j = i + 1; j < sort_count; ++j ) {
if ( dx_pref[ i ] > dx_pref[ j ] ) {
tmp_pref = dx_pref[ i ];
dx_pref[ i ] = dx_pref[ j ];
dx_pref[ j ] = tmp_pref;
tmp_dx = dxs[ i ];
dxs[ i ] = dxs[ j ];
dxs[ j ] = tmp_dx;
}
}
}
}
}
h_errno = err;
return( dxs );
}
#endif /* LDAP_DNS */

View File

@@ -1,126 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*/
/*
* Copyright (c) 1990 Regents of the University of Michigan.
* All rights reserved.
*/
/*
* getentry.c
*/
#if 0
#ifndef lint
static char copyright[] = "@(#) Copyright (c) 1990 Regents of the University of Michigan.\nAll rights reserved.\n";
#endif
#endif
#include "ldap-int.h"
LDAPMessage *
LDAP_CALL
ldap_first_entry( LDAP *ld, LDAPMessage *chain )
{
if ( !NSLDAPI_VALID_LDAP_POINTER( ld ) || chain == NULLMSG ) {
return( NULLMSG );
}
if ( chain->lm_msgtype == LDAP_RES_SEARCH_ENTRY ) {
return( chain );
}
return( ldap_next_entry( ld, chain ));
}
LDAPMessage *
LDAP_CALL
ldap_next_entry( LDAP *ld, LDAPMessage *entry )
{
if ( !NSLDAPI_VALID_LDAP_POINTER( ld ) || entry == NULLMSG ) {
return( NULLMSG );
}
for ( entry = entry->lm_chain; entry != NULLMSG;
entry = entry->lm_chain ) {
if ( entry->lm_msgtype == LDAP_RES_SEARCH_ENTRY ) {
return( entry );
}
}
return( NULLMSG );
}
int
LDAP_CALL
ldap_count_entries( LDAP *ld, LDAPMessage *chain )
{
int i;
if ( !NSLDAPI_VALID_LDAP_POINTER( ld )) {
return( -1 );
}
for ( i = 0; chain != NULL; chain = chain->lm_chain ) {
if ( chain->lm_msgtype == LDAP_RES_SEARCH_ENTRY ) {
++i;
}
}
return( i );
}
int
LDAP_CALL
ldap_get_entry_controls( LDAP *ld, LDAPMessage *entry,
LDAPControl ***serverctrlsp )
{
int rc;
BerElement tmpber;
LDAPDebug( LDAP_DEBUG_TRACE, "ldap_get_entry_controls\n", 0, 0, 0 );
if ( !NSLDAPI_VALID_LDAP_POINTER( ld )) {
return( LDAP_PARAM_ERROR );
}
if ( !NSLDAPI_VALID_LDAPMESSAGE_ENTRY_POINTER( entry )
|| serverctrlsp == NULL ) {
rc = LDAP_PARAM_ERROR;
goto report_error_and_return;
}
*serverctrlsp = NULL;
tmpber = *entry->lm_ber; /* struct copy */
/* skip past dn and entire attribute/value list */
if ( ber_scanf( &tmpber, "{xx" ) == LBER_ERROR ) {
rc = LDAP_DECODING_ERROR;
goto report_error_and_return;
}
rc = nsldapi_get_controls( &tmpber, serverctrlsp );
report_error_and_return:
LDAP_SET_LDERRNO( ld, rc, NULL, NULL );
return( rc );
}

View File

@@ -1,535 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*/
/*
* Copyright (c) 1993 Regents of the University of Michigan.
* All rights reserved.
*/
/*
* getfilter.c -- optional add-on to libldap
*/
#if 0
#ifndef lint
static char copyright[] = "@(#) Copyright (c) 1993 Regents of the University of Michigan.\nAll rights reserved.\n";
#endif
#endif
#include "ldap-int.h"
#include "regex.h"
#include <stdio.h> /* sprintf */
static int break_into_words( char *str, char *delims, char ***wordsp );
int nsldapi_next_line_tokens( char **bufp, long *blenp, char ***toksp );
void nsldapi_free_strarray( char **sap );
#if !defined( macintosh ) && !defined( DOS )
extern char * LDAP_CALL re_comp();
#endif
#define FILT_MAX_LINE_LEN 1024
LDAPFiltDesc *
LDAP_CALL
ldap_init_getfilter( char *fname )
{
FILE *fp;
char *buf;
long rlen, len;
int eof;
LDAPFiltDesc *lfdp;
if (( fp = fopen( fname, "r" )) == NULL ) {
return( NULL );
}
if ( fseek( fp, 0L, SEEK_END ) != 0 ) { /* move to end to get len */
fclose( fp );
return( NULL );
}
len = ftell( fp );
if ( fseek( fp, 0L, SEEK_SET ) != 0 ) { /* back to start of file */
fclose( fp );
return( NULL );
}
if (( buf = NSLDAPI_MALLOC( (size_t)len )) == NULL ) {
fclose( fp );
return( NULL );
}
rlen = fread( buf, 1, (size_t)len, fp );
eof = feof( fp );
fclose( fp );
if ( rlen != len && !eof ) { /* error: didn't get the whole file */
NSLDAPI_FREE( buf );
return( NULL );
}
lfdp = ldap_init_getfilter_buf( buf, rlen );
NSLDAPI_FREE( buf );
return( lfdp );
}
LDAPFiltDesc *
LDAP_CALL
ldap_init_getfilter_buf( char *buf, long buflen )
{
LDAPFiltDesc *lfdp;
LDAPFiltList *flp, *nextflp;
LDAPFiltInfo *fip, *nextfip;
char *tag, **tok;
int tokcnt, i;
if ( buflen < 0 || ( lfdp = (LDAPFiltDesc *)NSLDAPI_CALLOC( 1,
sizeof( LDAPFiltDesc))) == NULL ) {
return( NULL );
}
flp = nextflp = NULL;
fip = NULL;
tag = NULL;
while ( buflen > 0 && ( tokcnt = nsldapi_next_line_tokens( &buf, &buflen,
&tok )) > 0 ) {
switch( tokcnt ) {
case 1: /* tag line */
if ( tag != NULL ) {
NSLDAPI_FREE( tag );
}
tag = tok[ 0 ];
NSLDAPI_FREE( tok );
break;
case 4:
case 5: /* start of filter info. list */
if (( nextflp = (LDAPFiltList *)NSLDAPI_CALLOC( 1,
sizeof( LDAPFiltList ))) == NULL ) {
ldap_getfilter_free( lfdp );
return( NULL );
}
nextflp->lfl_tag = nsldapi_strdup( tag );
nextflp->lfl_pattern = tok[ 0 ];
if ( re_comp( nextflp->lfl_pattern ) != NULL ) {
char msg[256];
ldap_getfilter_free( lfdp );
sprintf( msg, "bad regular expresssion %s\n",
nextflp->lfl_pattern );
ber_err_print( msg );
nsldapi_free_strarray( tok );
return( NULL );
}
nextflp->lfl_delims = tok[ 1 ];
nextflp->lfl_ilist = NULL;
nextflp->lfl_next = NULL;
if ( flp == NULL ) { /* first one */
lfdp->lfd_filtlist = nextflp;
} else {
flp->lfl_next = nextflp;
}
flp = nextflp;
fip = NULL;
for ( i = 2; i < 5; ++i ) {
tok[ i - 2 ] = tok[ i ];
}
/* fall through */
case 2:
case 3: /* filter, desc, and optional search scope */
if ( nextflp != NULL ) { /* add to info list */
if (( nextfip = (LDAPFiltInfo *)NSLDAPI_CALLOC( 1,
sizeof( LDAPFiltInfo ))) == NULL ) {
ldap_getfilter_free( lfdp );
nsldapi_free_strarray( tok );
return( NULL );
}
if ( fip == NULL ) { /* first one */
nextflp->lfl_ilist = nextfip;
} else {
fip->lfi_next = nextfip;
}
fip = nextfip;
nextfip->lfi_next = NULL;
nextfip->lfi_filter = tok[ 0 ];
nextfip->lfi_desc = tok[ 1 ];
if ( tok[ 2 ] != NULL ) {
if ( strcasecmp( tok[ 2 ], "subtree" ) == 0 ) {
nextfip->lfi_scope = LDAP_SCOPE_SUBTREE;
} else if ( strcasecmp( tok[ 2 ], "onelevel" ) == 0 ) {
nextfip->lfi_scope = LDAP_SCOPE_ONELEVEL;
} else if ( strcasecmp( tok[ 2 ], "base" ) == 0 ) {
nextfip->lfi_scope = LDAP_SCOPE_BASE;
} else {
nsldapi_free_strarray( tok );
ldap_getfilter_free( lfdp );
return( NULL );
}
NSLDAPI_FREE( tok[ 2 ] );
tok[ 2 ] = NULL;
} else {
nextfip->lfi_scope = LDAP_SCOPE_SUBTREE; /* default */
}
nextfip->lfi_isexact = ( strchr( tok[ 0 ], '*' ) == NULL &&
strchr( tok[ 0 ], '~' ) == NULL );
NSLDAPI_FREE( tok );
}
break;
default:
nsldapi_free_strarray( tok );
ldap_getfilter_free( lfdp );
return( NULL );
}
}
if ( tag != NULL ) {
NSLDAPI_FREE( tag );
}
return( lfdp );
}
int
LDAP_CALL
ldap_set_filter_additions( LDAPFiltDesc *lfdp, char *prefix, char *suffix )
{
if ( lfdp == NULL ) {
return( LDAP_PARAM_ERROR );
}
if ( lfdp->lfd_filtprefix != NULL ) {
NSLDAPI_FREE( lfdp->lfd_filtprefix );
}
lfdp->lfd_filtprefix = ( prefix == NULL ) ? NULL : nsldapi_strdup( prefix );
if ( lfdp->lfd_filtsuffix != NULL ) {
NSLDAPI_FREE( lfdp->lfd_filtsuffix );
}
lfdp->lfd_filtsuffix = ( suffix == NULL ) ? NULL : nsldapi_strdup( suffix );
return( LDAP_SUCCESS );
}
/*
* ldap_setfilteraffixes() is deprecated -- use ldap_set_filter_additions()
*/
void
LDAP_CALL
ldap_setfilteraffixes( LDAPFiltDesc *lfdp, char *prefix, char *suffix )
{
(void)ldap_set_filter_additions( lfdp, prefix, suffix );
}
LDAPFiltInfo *
LDAP_CALL
ldap_getfirstfilter( LDAPFiltDesc *lfdp, char *tagpat, char *value )
{
LDAPFiltList *flp;
if ( lfdp == NULL ) {
return( NULL ); /* punt */
}
if ( lfdp->lfd_curvalcopy != NULL ) {
NSLDAPI_FREE( lfdp->lfd_curvalcopy );
NSLDAPI_FREE( lfdp->lfd_curvalwords );
}
lfdp->lfd_curval = value;
lfdp->lfd_curfip = NULL;
for ( flp = lfdp->lfd_filtlist; flp != NULL; flp = flp->lfl_next ) {
if ( re_comp( tagpat ) == NULL && re_exec( flp->lfl_tag ) == 1
&& re_comp( flp->lfl_pattern ) == NULL
&& re_exec( lfdp->lfd_curval ) == 1 ) {
lfdp->lfd_curfip = flp->lfl_ilist;
break;
}
}
if ( lfdp->lfd_curfip == NULL ) {
return( NULL );
}
if (( lfdp->lfd_curvalcopy = nsldapi_strdup( value )) == NULL ) {
return( NULL );
}
if ( break_into_words( lfdp->lfd_curvalcopy, flp->lfl_delims,
&lfdp->lfd_curvalwords ) < 0 ) {
NSLDAPI_FREE( lfdp->lfd_curvalcopy );
lfdp->lfd_curvalcopy = NULL;
return( NULL );
}
return( ldap_getnextfilter( lfdp ));
}
LDAPFiltInfo *
LDAP_CALL
ldap_getnextfilter( LDAPFiltDesc *lfdp )
{
LDAPFiltInfo *fip;
if ( lfdp == NULL || ( fip = lfdp->lfd_curfip ) == NULL ) {
return( NULL );
}
lfdp->lfd_curfip = fip->lfi_next;
ldap_build_filter( lfdp->lfd_filter, LDAP_FILT_MAXSIZ, fip->lfi_filter,
lfdp->lfd_filtprefix, lfdp->lfd_filtsuffix, NULL,
lfdp->lfd_curval, lfdp->lfd_curvalwords );
lfdp->lfd_retfi.lfi_filter = lfdp->lfd_filter;
lfdp->lfd_retfi.lfi_desc = fip->lfi_desc;
lfdp->lfd_retfi.lfi_scope = fip->lfi_scope;
lfdp->lfd_retfi.lfi_isexact = fip->lfi_isexact;
return( &lfdp->lfd_retfi );
}
static char*
filter_add_strn( char *f, char *flimit, char *v, size_t vlen )
/* Copy v into f. If flimit is too small, return NULL;
* otherwise return (f + vlen).
*/
{
auto size_t flen = flimit - f;
if ( vlen > flen ) { /* flimit is too small */
if ( flen > 0 ) SAFEMEMCPY( f, v, flen );
return NULL;
}
if ( vlen > 0 ) SAFEMEMCPY( f, v, vlen );
return f + vlen;
}
static char*
filter_add_value( char *f, char *flimit, char *v, int escape_all )
/* Copy v into f, but with parentheses escaped. But only escape * and \
* if escape_all is non-zero so that either "*" or "\2a" can be used in
* v, with different meanings.
* If flimit is too small, return NULL; otherwise
* return (f + the number of bytes copied).
*/
{
auto char x[4];
auto size_t slen;
while ( f && *v ) {
switch ( *v ) {
case '*':
if ( escape_all ) {
f = filter_add_strn( f, flimit, "\\2a", 3 );
v++;
} else {
if ( f < flimit ) {
*f++ = *v++;
} else {
f = NULL; /* overflow */
}
}
break;
case '(':
case ')':
sprintf( x, "\\%02x", (unsigned)*v );
f = filter_add_strn( f, flimit, x, 3 );
v++;
break;
case '\\':
if ( escape_all ) {
f = filter_add_strn( f, flimit, "\\5c", 3 );
v++;
} else {
slen = (ldap_utf8isxdigit( v+1 ) &&
ldap_utf8isxdigit( v+2 )) ? 3 : (v[1] ? 2 : 1);
f = filter_add_strn( f, flimit, v, slen );
v += slen;
}
break;
default:
if ( f < flimit ) {
*f++ = *v++;
} else {
f = NULL; /* overflow */
}
break;
}
}
return f;
}
int
LDAP_CALL
ldap_create_filter( char *filtbuf, unsigned long buflen, char *pattern,
char *prefix, char *suffix, char *attr, char *value, char **valwords )
{
char *p, *f, *flimit;
int i, wordcount, wordnum, endwordnum, escape_all;
/*
* there is some confusion on what to create for a filter if
* attr or value are null pointers. For now we just leave them
* as TO BE DEALT with
*/
if ( filtbuf == NULL || buflen == 0 || pattern == NULL ){
return( LDAP_PARAM_ERROR );
}
if ( valwords == NULL ) {
wordcount = 0;
} else {
for ( wordcount = 0; valwords[ wordcount ] != NULL; ++wordcount ) {
;
}
}
f = filtbuf;
flimit = filtbuf + buflen - 1;
if ( prefix != NULL ) {
f = filter_add_strn( f, flimit, prefix, strlen( prefix ));
}
for ( p = pattern; f != NULL && *p != '\0'; ++p ) {
if ( *p == '%' ) {
++p;
if ( *p == 'v' || *p == 'e' ) {
escape_all = ( *p == 'e' );
if ( ldap_utf8isdigit( p+1 )) {
++p;
wordnum = *p - '1';
if ( *(p+1) == '-' ) {
++p;
if ( ldap_utf8isdigit( p+1 )) {
++p;
endwordnum = *p - '1'; /* e.g., "%v2-4" */
if ( endwordnum > wordcount - 1 ) {
endwordnum = wordcount - 1;
}
} else {
endwordnum = wordcount - 1; /* e.g., "%v2-" */
}
} else {
endwordnum = wordnum; /* e.g., "%v2" */
}
if ( wordcount > 0 ) {
for ( i = wordnum; i <= endwordnum; ++i ) {
if ( i > wordnum ) { /* add blank btw words */
f = filter_add_strn( f, flimit, " ", 1 );
if ( f == NULL ) break;
}
f = filter_add_value( f, flimit, valwords[ i ],
escape_all );
if ( f == NULL ) break;
}
}
} else if ( *(p+1) == '$' ) {
++p;
if ( wordcount > 0 ) {
wordnum = wordcount - 1;
f = filter_add_value( f, flimit,
valwords[ wordnum ], escape_all );
}
} else if ( value != NULL ) {
f = filter_add_value( f, flimit, value, escape_all );
}
} else if ( *p == 'a' && attr != NULL ) {
f = filter_add_strn( f, flimit, attr, strlen( attr ));
} else {
*f++ = *p;
}
} else {
*f++ = *p;
}
if ( f > flimit ) { /* overflow */
f = NULL;
}
}
if ( suffix != NULL && f != NULL) {
f = filter_add_strn( f, flimit, suffix, strlen( suffix ));
}
if ( f == NULL ) {
*flimit = '\0';
return( LDAP_SIZELIMIT_EXCEEDED );
}
*f = '\0';
return( LDAP_SUCCESS );
}
/*
* ldap_build_filter() is deprecated -- use ldap_create_filter() instead
*/
void
LDAP_CALL
ldap_build_filter( char *filtbuf, unsigned long buflen, char *pattern,
char *prefix, char *suffix, char *attr, char *value, char **valwords )
{
(void)ldap_create_filter( filtbuf, buflen, pattern, prefix, suffix, attr,
value, valwords );
}
static int
break_into_words( char *str, char *delims, char ***wordsp )
{
char *word, **words;
int count;
char *lasts;
if (( words = (char **)NSLDAPI_CALLOC( 1, sizeof( char * ))) == NULL ) {
return( -1 );
}
count = 0;
words[ count ] = NULL;
word = ldap_utf8strtok_r( str, delims, &lasts );
while ( word != NULL ) {
if (( words = (char **)NSLDAPI_REALLOC( words,
( count + 2 ) * sizeof( char * ))) == NULL ) {
return( -1 );
}
words[ count ] = word;
words[ ++count ] = NULL;
word = ldap_utf8strtok_r( NULL, delims, &lasts );
}
*wordsp = words;
return( count );
}

View File

@@ -1,353 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*/
#include "ldap-int.h"
#define LDAP_GET_BITOPT( ld, bit ) \
((ld)->ld_options & bit ) != 0 ? 1 : 0
static int nsldapi_get_api_info( LDAPAPIInfo *aip );
static int nsldapi_get_feature_info( LDAPAPIFeatureInfo *fip );
int
LDAP_CALL
ldap_get_option( LDAP *ld, int option, void *optdata )
{
int rc = 0;
if ( !nsldapi_initialized ) {
nsldapi_initialize_defaults();
}
/*
* optdata MUST be a valid pointer...
*/
if (NULL == optdata)
{
return(LDAP_PARAM_ERROR);
}
/*
* process global options (not associated with an LDAP session handle)
*/
if ( option == LDAP_OPT_MEMALLOC_FN_PTRS ) {
/* struct copy */
*((struct ldap_memalloc_fns *)optdata) = nsldapi_memalloc_fns;
return( 0 );
}
if ( option == LDAP_OPT_API_INFO ) {
rc = nsldapi_get_api_info( (LDAPAPIInfo *)optdata );
if ( rc != LDAP_SUCCESS ) {
if ( ld != NULL ) {
LDAP_SET_LDERRNO( ld, rc, NULL, NULL );
}
return( -1 );
}
return( 0 );
}
/*
* LDAP_OPT_DEBUG_LEVEL is global
*/
if (LDAP_OPT_DEBUG_LEVEL == option)
{
#ifdef LDAP_DEBUG
*((int *) optdata) = ldap_debug;
#endif /* LDAP_DEBUG */
return ( 0 );
}
/*
* if ld is NULL, arrange to return options from our default settings
*/
if ( ld == NULL ) {
ld = &nsldapi_ld_defaults;
}
if ( !NSLDAPI_VALID_LDAP_POINTER( ld )) {
return( -1 ); /* punt */
}
LDAP_MUTEX_LOCK( ld, LDAP_OPTION_LOCK );
switch( option ) {
#ifdef LDAP_DNS
case LDAP_OPT_DNS:
*((int *) optdata) = LDAP_GET_BITOPT( ld, LDAP_BITOPT_DNS );
break;
#endif
case LDAP_OPT_REFERRALS:
*((int *) optdata) =
LDAP_GET_BITOPT( ld, LDAP_BITOPT_REFERRALS );
break;
#ifdef LDAP_SSLIO_HOOKS
case LDAP_OPT_SSL:
*((int *) optdata) = LDAP_GET_BITOPT( ld, LDAP_BITOPT_SSL );
break;
#endif
case LDAP_OPT_RESTART:
*((int *) optdata) = LDAP_GET_BITOPT( ld, LDAP_BITOPT_RESTART );
break;
case LDAP_OPT_RECONNECT:
*((int *) optdata) =
LDAP_GET_BITOPT( ld, LDAP_BITOPT_RECONNECT );
break;
#ifdef LDAP_ASYNC_IO
case LDAP_OPT_ASYNC_CONNECT:
*((int *) optdata) =
LDAP_GET_BITOPT( ld, LDAP_BITOPT_ASYNC );
break;
#endif /* LDAP_ASYNC_IO */
/* stuff in the sockbuf */
case LDAP_OPT_DESC:
if ( ber_sockbuf_get_option( ld->ld_sbp,
LBER_SOCKBUF_OPT_DESC, optdata ) != 0 ) {
LDAP_SET_LDERRNO( ld, LDAP_LOCAL_ERROR, NULL, NULL );
rc = -1;
}
break;
/* fields in the LDAP structure */
case LDAP_OPT_DEREF:
*((int *) optdata) = ld->ld_deref;
break;
case LDAP_OPT_SIZELIMIT:
*((int *) optdata) = ld->ld_sizelimit;
break;
case LDAP_OPT_TIMELIMIT:
*((int *) optdata) = ld->ld_timelimit;
break;
case LDAP_OPT_REFERRAL_HOP_LIMIT:
*((int *) optdata) = ld->ld_refhoplimit;
break;
case LDAP_OPT_PROTOCOL_VERSION:
*((int *) optdata) = ld->ld_version;
break;
case LDAP_OPT_SERVER_CONTROLS:
/* fall through */
case LDAP_OPT_CLIENT_CONTROLS:
*((LDAPControl ***)optdata) = NULL;
/* nsldapi_dup_controls returns -1 and sets lderrno on error */
rc = nsldapi_dup_controls( ld, (LDAPControl ***)optdata,
( option == LDAP_OPT_SERVER_CONTROLS ) ?
ld->ld_servercontrols : ld->ld_clientcontrols );
break;
/* rebind proc */
case LDAP_OPT_REBIND_FN:
*((LDAP_REBINDPROC_CALLBACK **) optdata) = ld->ld_rebind_fn;
break;
case LDAP_OPT_REBIND_ARG:
*((void **) optdata) = ld->ld_rebind_arg;
break;
#ifdef LDAP_SSLIO_HOOKS
/* i/o function pointers */
case LDAP_OPT_IO_FN_PTRS:
/* struct copy */
*((struct ldap_io_fns *) optdata) = ld->ld_io;
break;
#endif /* LDAP_SSLIO_HOOKS */
/* thread function pointers */
case LDAP_OPT_THREAD_FN_PTRS:
/* struct copy */
*((struct ldap_thread_fns *) optdata) = ld->ld_thread;
break;
/* DNS function pointers */
case LDAP_OPT_DNS_FN_PTRS:
/* struct copy */
*((struct ldap_dns_fns *) optdata) = ld->ld_dnsfn;
break;
/* cache function pointers */
case LDAP_OPT_CACHE_FN_PTRS:
/* struct copy */
*((struct ldap_cache_fns *) optdata) = ld->ld_cache;
break;
case LDAP_OPT_CACHE_STRATEGY:
*((int *) optdata) = ld->ld_cache_strategy;
break;
case LDAP_OPT_CACHE_ENABLE:
*((int *) optdata) = ld->ld_cache_on;
break;
case LDAP_OPT_ERROR_NUMBER:
*((int *) optdata) = LDAP_GET_LDERRNO( ld, NULL, NULL );
break;
case LDAP_OPT_ERROR_STRING:
(void)LDAP_GET_LDERRNO( ld, NULL, (char **)optdata );
*((char **) optdata) = nsldapi_strdup( *((char **) optdata ));
break;
case LDAP_OPT_MATCHED_DN:
(void)LDAP_GET_LDERRNO( ld, (char **)optdata, NULL );
*((char **) optdata) = nsldapi_strdup( *((char **) optdata ));
break;
case LDAP_OPT_PREFERRED_LANGUAGE:
if ( NULL != ld->ld_preferred_language ) {
*((char **) optdata) =
nsldapi_strdup(ld->ld_preferred_language);
} else {
*((char **) optdata) = NULL;
}
break;
case LDAP_OPT_API_FEATURE_INFO:
rc = nsldapi_get_feature_info( (LDAPAPIFeatureInfo *)optdata );
if ( rc != LDAP_SUCCESS ) {
LDAP_SET_LDERRNO( ld, rc, NULL, NULL );
rc = -1;
}
break;
case LDAP_OPT_HOST_NAME:
*((char **) optdata) = nsldapi_strdup( ld->ld_defhost );
break;
default:
LDAP_SET_LDERRNO( ld, LDAP_PARAM_ERROR, NULL, NULL );
rc = -1;
}
LDAP_MUTEX_UNLOCK( ld, LDAP_OPTION_LOCK );
return( rc );
}
/*
* Table of extended API features we support.
* The first field is the version of the info. strcuture itself; we do not
* use the ones from this table so it is okay to leave as zero.
*/
static LDAPAPIFeatureInfo nsldapi_extensions[] = {
{ 0, "SERVER_SIDE_SORT", LDAP_API_FEATURE_SERVER_SIDE_SORT },
{ 0, "VIRTUAL_LIST_VIEW", LDAP_API_FEATURE_VIRTUAL_LIST_VIEW },
{ 0, "PERSISTENT_SEARCH", LDAP_API_FEATURE_PERSISTENT_SEARCH },
{ 0, "PROXY_AUTHORIZATION", LDAP_API_FEATURE_PROXY_AUTHORIZATION },
{ 0, "X_LDERRNO", LDAP_API_FEATURE_X_LDERRNO },
{ 0, "X_MEMCACHE", LDAP_API_FEATURE_X_MEMCACHE },
{ 0, "X_IO_FUNCTIONS", LDAP_API_FEATURE_X_IO_FUNCTIONS },
{ 0, "X_DNS_FUNCTIONS", LDAP_API_FEATURE_X_DNS_FUNCTIONS },
{ 0, "X_MEMALLOC_FUNCTIONS", LDAP_API_FEATURE_X_MEMALLOC_FUNCTIONS },
{ 0, "X_THREAD_FUNCTIONS", LDAP_API_FEATURE_X_THREAD_FUNCTIONS },
{ 0, "X_EXTHREAD_FUNCTIONS", LDAP_API_FEATURE_X_EXTHREAD_FUNCTIONS },
{ 0, "X_GETLANGVALUES", LDAP_API_FEATURE_X_GETLANGVALUES },
{ 0, "X_CLIENT_SIDE_SORT", LDAP_API_FEATURE_X_CLIENT_SIDE_SORT },
{ 0, "X_URL_FUNCTIONS", LDAP_API_FEATURE_X_URL_FUNCTIONS },
{ 0, "X_FILTER_FUNCTIONS", LDAP_API_FEATURE_X_FILTER_FUNCTIONS },
};
#define NSLDAPI_EXTENSIONS_COUNT \
(sizeof(nsldapi_extensions)/sizeof(LDAPAPIFeatureInfo))
/*
* Retrieve information about this implementation of the LDAP API.
* Returns an LDAP error code.
*/
static int
nsldapi_get_api_info( LDAPAPIInfo *aip )
{
int i;
if ( aip == NULL ) {
return( LDAP_PARAM_ERROR );
}
aip->ldapai_api_version = LDAP_API_VERSION;
if ( aip->ldapai_info_version != LDAP_API_INFO_VERSION ) {
aip->ldapai_info_version = LDAP_API_INFO_VERSION;
return( LDAP_PARAM_ERROR );
}
aip->ldapai_protocol_version = LDAP_VERSION_MAX;
aip->ldapai_vendor_version = LDAP_VENDOR_VERSION;
if (( aip->ldapai_vendor_name = nsldapi_strdup( LDAP_VENDOR_NAME ))
== NULL ) {
return( LDAP_NO_MEMORY );
}
if ( NSLDAPI_EXTENSIONS_COUNT < 1 ) {
aip->ldapai_extensions = NULL;
} else {
if (( aip->ldapai_extensions = NSLDAPI_CALLOC(
NSLDAPI_EXTENSIONS_COUNT + 1, sizeof(char *))) == NULL ) {
NSLDAPI_FREE( aip->ldapai_vendor_name );
aip->ldapai_vendor_name = NULL;
return( LDAP_NO_MEMORY );
}
for ( i = 0; i < NSLDAPI_EXTENSIONS_COUNT; ++i ) {
if (( aip->ldapai_extensions[i] = nsldapi_strdup(
nsldapi_extensions[i].ldapaif_name )) == NULL ) {
ldap_value_free( aip->ldapai_extensions );
NSLDAPI_FREE( aip->ldapai_vendor_name );
aip->ldapai_extensions = NULL;
aip->ldapai_vendor_name = NULL;
return( LDAP_NO_MEMORY );
}
}
}
return( LDAP_SUCCESS );
}
/*
* Retrieves information about a specific extended feature of the LDAP API/
* Returns an LDAP error code.
*/
static int
nsldapi_get_feature_info( LDAPAPIFeatureInfo *fip )
{
int i;
if ( fip == NULL || fip->ldapaif_name == NULL ) {
return( LDAP_PARAM_ERROR );
}
if ( fip->ldapaif_info_version != LDAP_FEATURE_INFO_VERSION ) {
fip->ldapaif_info_version = LDAP_FEATURE_INFO_VERSION;
return( LDAP_PARAM_ERROR );
}
for ( i = 0; i < NSLDAPI_EXTENSIONS_COUNT; ++i ) {
if ( strcmp( fip->ldapaif_name,
nsldapi_extensions[i].ldapaif_name ) == 0 ) {
fip->ldapaif_version =
nsldapi_extensions[i].ldapaif_version;
break;
}
}
return(( i < NSLDAPI_EXTENSIONS_COUNT ) ? LDAP_SUCCESS
: LDAP_PARAM_ERROR );
}

View File

@@ -1,465 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*/
/*
* Copyright (c) 1990 Regents of the University of Michigan.
* All rights reserved.
*/
/*
* getvalues.c
*/
#if 0
#ifndef lint
static char copyright[] = "@(#) Copyright (c) 1990 Regents of the University of Michigan.\nAll rights reserved.\n";
#endif
#endif
#include "ldap-int.h"
static void **
internal_ldap_get_values( LDAP *ld, LDAPMessage *entry, const char *target,
int lencall )
{
struct berelement ber;
char *attr;
int rc;
void **vals;
LDAPDebug( LDAP_DEBUG_TRACE, "ldap_get_values\n", 0, 0, 0 );
if ( !NSLDAPI_VALID_LDAP_POINTER( ld )) {
return( NULL ); /* punt */
}
if ( target == NULL ||
!NSLDAPI_VALID_LDAPMESSAGE_ENTRY_POINTER( entry )) {
LDAP_SET_LDERRNO( ld, LDAP_PARAM_ERROR, NULL, NULL );
return( NULL );
}
ber = *entry->lm_ber;
/* skip sequence, dn, sequence of, and snag the first attr */
if ( ber_scanf( &ber, "{x{{a", &attr ) == LBER_ERROR ) {
LDAP_SET_LDERRNO( ld, LDAP_DECODING_ERROR, NULL, NULL );
return( NULL );
}
rc = strcasecmp( (char *)target, attr );
NSLDAPI_FREE( attr );
if ( rc != 0 ) {
while ( 1 ) {
if ( ber_scanf( &ber, "x}{a", &attr ) == LBER_ERROR ) {
LDAP_SET_LDERRNO( ld, LDAP_DECODING_ERROR,
NULL, NULL );
return( NULL );
}
rc = strcasecmp( (char *)target, attr );
if ( rc == 0 ) {
NSLDAPI_FREE( attr );
break;
}
NSLDAPI_FREE( attr );
}
}
/*
* if we get this far, we've found the attribute and are sitting
* just before the set of values.
*/
if ( lencall ) {
rc = ber_scanf( &ber, "[V]", &vals );
} else {
rc = ber_scanf( &ber, "[v]", &vals );
}
if ( rc == LBER_ERROR ) {
rc = LDAP_DECODING_ERROR;
} else {
rc = LDAP_SUCCESS;
}
LDAP_SET_LDERRNO( ld, rc, NULL, NULL );
return(( rc == LDAP_SUCCESS ) ? vals : NULL );
}
/* For language-sensitive attribute matching, we are looking for a
language tag that looks like one of the following:
cn
cn;lang-en
cn;lang-en-us
cn;lang-ja
cn;lang-ja-JP-kanji
The base language specification consists of two letters following
"lang-". After that, there may be additional language-specific
narrowings preceded by a "-". In our processing we go from the
specific to the general, preferring a complete subtype match, but
accepting a partial one. For example:
For a request for "cn;lang-en-us", we would return cn;lang-en-us
if present, otherwise cn;lang-en if present, otherwise cn.
Besides the language subtype, there may be other subtypes:
cn;lang-ja;binary (Unlikely!)
cn;lang-ja;phonetic
If not in the target, they are ignored. If they are in the target,
they must be in the attribute to match.
*/
#define LANG_SUBTYPE_INDEX_NONE -1
#define LANG_SUBTYPE_INDEX_DUPLICATE -2
typedef struct {
int start;
int length;
} _SubStringIndex;
static int
parse_subtypes( const char *target, int *baseLenp, char **langp,
_SubStringIndex **subs, int *nsubtypes )
{
int nSubtypes = 0;
int ind = 0;
char *nextToken;
_SubStringIndex *result = NULL;
int langIndex;
int targetLen;
int subtypeStart;
langIndex = LANG_SUBTYPE_INDEX_NONE;
*subs = NULL;
*langp = NULL;
*baseLenp = 0;
*nsubtypes = 0;
targetLen = strlen( target );
/* Parse past base attribute */
nextToken = strchr( target, ';' );
if ( NULL != nextToken ) {
subtypeStart = nextToken - target + 1;
*baseLenp = subtypeStart - 1;
}
else {
subtypeStart = targetLen;
*baseLenp = subtypeStart;
}
ind = subtypeStart;
/* How many subtypes? */
nextToken = (char *)target + subtypeStart;
while ( nextToken && *nextToken ) {
char *thisToken = nextToken;
nextToken = strchr( thisToken, ';' );
if ( NULL != nextToken )
nextToken++;
if ( 0 == strncasecmp( thisToken, "lang-", 5 ) ) {
/* If there was a previous lang tag, this is illegal! */
if ( langIndex != LANG_SUBTYPE_INDEX_NONE ) {
langIndex = LANG_SUBTYPE_INDEX_DUPLICATE;
return langIndex;
}
else {
langIndex = nSubtypes;
}
} else {
nSubtypes++;
}
}
/* No language subtype? */
if ( langIndex < 0 )
return langIndex;
/* Allocate array of non-language subtypes */
if ( nSubtypes > 0 ) {
result = (_SubStringIndex *)NSLDAPI_MALLOC( sizeof(*result)
* nSubtypes );
memset( result, 0, sizeof(*result) * nSubtypes );
}
ind = 0;
nSubtypes = 0;
ind = subtypeStart;
nextToken = (char *)target + subtypeStart;
while ( nextToken && *nextToken ) {
char *thisToken = nextToken;
int len;
nextToken = strchr( thisToken, ';' );
if ( NULL != nextToken ) {
len = nextToken - thisToken;
nextToken++;
}
else {
nextToken = (char *)target + targetLen;
len = nextToken - thisToken;
}
if ( 0 == strncasecmp( thisToken, "lang-", 5 ) ) {
int i;
*langp = (char *)NSLDAPI_MALLOC( len + 1 );
for( i = 0; i < len; i++ )
(*langp)[i] = toupper( target[ind+i] );
(*langp)[len] = 0;
}
else {
result[nSubtypes].start = thisToken - target;
result[nSubtypes].length = len;
nSubtypes++;
}
}
*subs = result;
*nsubtypes = nSubtypes;
return langIndex;
}
static int
check_lang_match( const char *target, const char *baseTarget,
_SubStringIndex *targetTypes,
int ntargetTypes, char *targetLang, char *attr )
{
int langIndex;
_SubStringIndex *subtypes;
int baseLen;
char *lang;
int nsubtypes;
int mismatch = 0;
int match = -1;
int i;
/* Get all subtypes in the attribute name */
langIndex = parse_subtypes( attr, &baseLen, &lang, &subtypes, &nsubtypes );
/* Check if there any required non-language subtypes which are
not in this attribute */
for( i = 0; i < ntargetTypes; i++ ) {
char *t = (char *)target+targetTypes[i].start;
int tlen = targetTypes[i].length;
int j;
for( j = 0; j < nsubtypes; j++ ) {
char *a = attr + subtypes[j].start;
int alen = subtypes[j].length;
if ( (tlen == alen) && !strncasecmp( t, a, tlen ) )
break;
}
if ( j >= nsubtypes ) {
mismatch = 1;
break;
}
}
if ( mismatch ) {
if ( NULL != subtypes )
NSLDAPI_FREE( subtypes );
if ( NULL != lang )
NSLDAPI_FREE( lang );
return -1;
}
/* If there was no language subtype... */
if ( langIndex < 0 ) {
if ( NULL != subtypes )
NSLDAPI_FREE( subtypes );
if ( NULL != lang )
NSLDAPI_FREE( lang );
if ( LANG_SUBTYPE_INDEX_NONE == langIndex )
return 0;
else
return -1;
}
/* Okay, now check the language subtag */
i = 0;
while( targetLang[i] && lang[i] &&
(toupper(targetLang[i]) == toupper(lang[i])) )
i++;
/* The total length can't be longer than the requested subtype */
if ( !lang[i] || (lang[i] == ';') ) {
/* If the found subtype is shorter than the requested one, the next
character in the requested one should be "-" */
if ( !targetLang[i] || (targetLang[i] == '-') )
match = i;
}
return match;
}
static int check_base_match( const char *target, char *attr )
{
int i = 0;
int rc;
while( target[i] && attr[i] && (toupper(target[i]) == toupper(attr[i])) )
i++;
rc = ( !target[i] && (!attr[i] || (';' == attr[i])) );
return rc;
}
static void **
internal_ldap_get_lang_values( LDAP *ld, LDAPMessage *entry,
const char *target, char **type, int lencall )
{
struct berelement ber;
char *attr = NULL;
int rc;
void **vals = NULL;
int langIndex;
_SubStringIndex *subtypes;
int nsubtypes;
char *baseTarget = NULL;
int bestMatch = 0;
char *lang = NULL;
int len;
int firstAttr = 1;
char *bestType = NULL;
LDAPDebug( LDAP_DEBUG_TRACE, "ldap_get_values\n", 0, 0, 0 );
if ( !NSLDAPI_VALID_LDAP_POINTER( ld )) {
return( NULL );
}
if ( (target == NULL) ||
!NSLDAPI_VALID_LDAPMESSAGE_ENTRY_POINTER( entry )) {
LDAP_SET_LDERRNO( ld, LDAP_PARAM_ERROR, NULL, NULL );
return( NULL );
}
/* A language check was requested, so see if there really is a
language subtype in the attribute spec */
langIndex = parse_subtypes( target, &len, &lang,
&subtypes, &nsubtypes );
if ( langIndex < 0 ) {
if ( NULL != subtypes ) {
NSLDAPI_FREE( subtypes );
subtypes = NULL;
}
vals = internal_ldap_get_values( ld, entry, target, lencall );
if ( NULL != type )
*type = nsldapi_strdup( target );
return vals;
} else {
/* Get just the base attribute name */
baseTarget = (char *)NSLDAPI_MALLOC( len + 1 );
memcpy( baseTarget, target, len );
baseTarget[len] = 0;
}
ber = *entry->lm_ber;
/* Process all attributes in the entry */
while ( 1 ) {
int foundMatch = 0;
if ( NULL != attr )
NSLDAPI_FREE( attr );
if ( firstAttr ) {
firstAttr = 0;
/* skip sequence, dn, sequence of, and snag the first attr */
if ( ber_scanf( &ber, "{x{{a", &attr ) == LBER_ERROR ) {
break;
}
} else {
if ( ber_scanf( &ber, "{a", &attr ) == LBER_ERROR ) {
break;
}
}
if ( check_base_match( (const char *)baseTarget, attr ) ) {
int thisMatch = check_lang_match( target, baseTarget,
subtypes, nsubtypes, lang, attr );
if ( thisMatch > bestMatch ) {
if ( vals )
NSLDAPI_FREE( vals );
foundMatch = 1;
bestMatch = thisMatch;
if ( NULL != bestType )
NSLDAPI_FREE( bestType );
bestType = attr;
attr = NULL;
}
}
if ( foundMatch ) {
if ( lencall ) {
rc = ber_scanf( &ber, "[V]}", &vals );
} else {
rc = ber_scanf( &ber, "[v]}", &vals );
}
} else {
ber_scanf( &ber, "x}" );
}
}
NSLDAPI_FREE( lang );
NSLDAPI_FREE( baseTarget );
NSLDAPI_FREE( subtypes );
if ( NULL != type )
*type = bestType;
else if ( NULL != bestType )
NSLDAPI_FREE( bestType );
if ( NULL == vals ) {
rc = LDAP_DECODING_ERROR;
} else {
rc = LDAP_SUCCESS;
}
LDAP_SET_LDERRNO( ld, rc, NULL, NULL );
return( vals );
}
char **
LDAP_CALL
ldap_get_values( LDAP *ld, LDAPMessage *entry, const char *target )
{
return( (char **) internal_ldap_get_values( ld, entry, target, 0 ) );
}
struct berval **
LDAP_CALL
ldap_get_values_len( LDAP *ld, LDAPMessage *entry, const char *target )
{
return( (struct berval **) internal_ldap_get_values( ld, entry, target,
1 ) );
}
char **
LDAP_CALL
ldap_get_lang_values( LDAP *ld, LDAPMessage *entry, const char *target,
char **type )
{
return( (char **) internal_ldap_get_lang_values( ld, entry,
target, type, 0 ) );
}
struct berval **
LDAP_CALL
ldap_get_lang_values_len( LDAP *ld, LDAPMessage *entry, const char *target,
char **type )
{
return( (struct berval **) internal_ldap_get_lang_values( ld, entry,
target, type, 1 ) );
}

View File

@@ -1,33 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*/
/*
* Copyright (c) 1996 Regents of the University of Michigan.
* All rights reserved.
*/
/*
* LIBLDAP globals.c -- LDAP library global variables
*/
#ifdef LDAP_DEBUG
int ldap_debug;
#endif

View File

@@ -1,759 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*/
#ifndef _LDAPINT_H
#define _LDAPINT_H
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <errno.h>
#include <time.h>
#ifdef HPUX
#include <strings.h>
#endif /* HPUX */
#ifdef _WINDOWS
# define FD_SETSIZE 256 /* number of connections we support */
# define WIN32_LEAN_AND_MEAN
# include <windows.h>
#elif defined(macintosh)
#include "ldap-macos.h"
#else /* _WINDOWS */
# include <sys/time.h>
# include <sys/types.h>
# include <sys/socket.h>
# include <netinet/in.h>
#if !defined(XP_OS2) && !defined(XP_BEOS)
# include <arpa/inet.h>
#endif
# include <netdb.h>
#if !defined(HPUX) && !defined(SUNOS4) && !defined(LINUX) && !defined(XP_BEOS)
# include <sys/select.h>
#endif /* !defined(HPUX) and others */
#endif /* _WINDOWS */
#if defined(IRIX)
#include <bstring.h>
#endif /* IRIX */
#ifdef macintosh
#include "lber-int.h"
#else /* macintosh */
#include "../liblber/lber-int.h"
#endif /* macintosh */
#include "ldap.h"
#include "ldaprot.h"
#include "ldaplog.h"
#include "portable.h"
#ifdef LDAP_ASYNC_IO
#ifdef NEED_FILIO
#include <sys/filio.h> /* to get FIONBIO for ioctl() call */
#else /* NEED_FILIO */
#if !defined( _WINDOWS) && !defined (macintosh)
#include <sys/ioctl.h> /* to get FIONBIO for ioctl() call */
#endif /* _WINDOWS && macintosh */
#endif /* NEED_FILIO */
#endif /* LDAP_ASYNC_IO */
#ifdef USE_SYSCONF
# include <unistd.h>
#endif /* USE_SYSCONF */
#if !defined(_WINDOWS) && !defined(macintosh) && !defined(LINUX) && !defined(BSDI) && !defined(XP_OS2) && !defined(XP_BEOS) && !defined(NTO) && !defined(DARWIN)
#define NSLDAPI_HAVE_POLL 1
#endif
#define SSL_VERSION 0
#define LDAP_URL_URLCOLON "URL:"
#define LDAP_URL_URLCOLON_LEN 4
#define LDAP_LDAP_REF_STR LDAP_URL_PREFIX
#define LDAP_LDAP_REF_STR_LEN LDAP_URL_PREFIX_LEN
#define LDAP_LDAPS_REF_STR LDAPS_URL_PREFIX
#define LDAP_LDAPS_REF_STR_LEN LDAPS_URL_PREFIX_LEN
/* default limit on nesting of referrals */
#define LDAP_DEFAULT_REFHOPLIMIT 5
#ifdef LDAP_DNS
#define LDAP_DX_REF_STR "dx://"
#define LDAP_DX_REF_STR_LEN 5
#endif /* LDAP_DNS */
typedef enum {
LDAP_CACHE_LOCK,
LDAP_MEMCACHE_LOCK,
LDAP_MSGID_LOCK,
LDAP_REQ_LOCK,
LDAP_RESP_LOCK,
LDAP_ABANDON_LOCK,
LDAP_CTRL_LOCK,
LDAP_OPTION_LOCK,
LDAP_ERR_LOCK,
LDAP_CONN_LOCK,
LDAP_SELECT_LOCK,
LDAP_RESULT_LOCK,
LDAP_PEND_LOCK,
LDAP_THREADID_LOCK,
LDAP_MAX_LOCK
} LDAPLock;
/*
* This structure represents both ldap messages and ldap responses.
* These are really the same, except in the case of search responses,
* where a response has multiple messages.
*/
struct ldapmsg {
int lm_msgid; /* the message id */
int lm_msgtype; /* the message type */
BerElement *lm_ber; /* the ber encoded message contents */
struct ldapmsg *lm_chain; /* for search - next msg in the resp */
struct ldapmsg *lm_next; /* next response */
int lm_fromcache; /* memcache: origin of message */
};
/*
* structure for tracking LDAP server host, ports, DNs, etc.
*/
typedef struct ldap_server {
char *lsrv_host;
char *lsrv_dn; /* if NULL, use default */
int lsrv_port;
unsigned long lsrv_options; /* boolean options */
#define LDAP_SRV_OPT_SECURE 0x01
struct ldap_server *lsrv_next;
} LDAPServer;
/*
* structure for representing an LDAP server connection
*/
typedef struct ldap_conn {
Sockbuf *lconn_sb;
BerElement *lconn_ber; /* non-NULL if in midst of msg. */
int lconn_version; /* LDAP protocol version */
int lconn_refcnt;
unsigned long lconn_lastused; /* time */
int lconn_status;
#define LDAP_CONNST_NEEDSOCKET 1
#define LDAP_CONNST_CONNECTING 2
#define LDAP_CONNST_CONNECTED 3
#define LDAP_CONNST_DEAD 4
LDAPServer *lconn_server;
char *lconn_binddn; /* DN of last successful bind */
int lconn_bound; /* has a bind been done? */
char *lconn_krbinstance;
struct ldap_conn *lconn_next;
} LDAPConn;
/*
* structure used to track outstanding requests
*/
typedef struct ldapreq {
int lr_msgid; /* the message id */
int lr_status; /* status of request */
#define LDAP_REQST_INPROGRESS 1
#define LDAP_REQST_CHASINGREFS 2
#define LDAP_REQST_NOTCONNECTED 3
#define LDAP_REQST_WRITING 4
#define LDAP_REQST_CONNDEAD 5 /* associated conn. has failed */
int lr_outrefcnt; /* count of outstanding referrals */
int lr_origid; /* original request's message id */
int lr_parentcnt; /* count of parent requests */
int lr_res_msgtype; /* result message type */
int lr_res_errno; /* result LDAP errno */
char *lr_res_error; /* result error string */
char *lr_res_matched;/* result matched DN string */
BerElement *lr_ber; /* ber encoded request contents */
LDAPConn *lr_conn; /* connection used to send request */
char *lr_binddn; /* request is a bind for this DN */
struct ldapreq *lr_parent; /* request that spawned this referral */
struct ldapreq *lr_child; /* list of requests we spawned */
struct ldapreq *lr_sibling; /* next referral spawned */
struct ldapreq *lr_prev; /* ld->ld_requests previous request */
struct ldapreq *lr_next; /* ld->ld_requests next request */
} LDAPRequest;
typedef struct ldappend {
void *lp_sema; /* semaphore to post */
int lp_msgid; /* message id */
LDAPMessage *lp_result; /* result storage */
struct ldappend *lp_prev; /* previous pending */
struct ldappend *lp_next; /* next pending */
} LDAPPend;
/*
* structure representing an ldap connection
*/
struct ldap {
struct sockbuf *ld_sbp; /* pointer to socket desc. & buffer */
char *ld_host;
int ld_version; /* LDAP protocol version */
char ld_lberoptions;
int ld_deref;
int ld_timelimit;
int ld_sizelimit;
struct ldap_filt_desc *ld_filtd; /* from getfilter for ufn searches */
char *ld_ufnprefix; /* for incomplete ufn's */
int ld_errno;
char *ld_error;
char *ld_matched;
int ld_msgid;
/* do not mess with these */
LDAPRequest *ld_requests; /* list of outstanding requests */
LDAPMessage *ld_responses; /* list of outstanding responses */
int *ld_abandoned; /* array of abandoned requests */
char *ld_cldapdn; /* DN used in connectionless search */
/* it is OK to change these next four values directly */
int ld_cldaptries; /* connectionless search retry count */
int ld_cldaptimeout;/* time between retries */
int ld_refhoplimit; /* limit on referral nesting */
unsigned long ld_options; /* boolean options */
#define LDAP_BITOPT_REFERRALS 0x80000000
#define LDAP_BITOPT_SSL 0x40000000
#define LDAP_BITOPT_DNS 0x20000000
#define LDAP_BITOPT_RESTART 0x10000000
#define LDAP_BITOPT_RECONNECT 0x08000000
#define LDAP_BITOPT_ASYNC 0x04000000
/* do not mess with the rest though */
char *ld_defhost; /* full name of default server */
int ld_defport; /* port of default server */
BERTranslateProc ld_lber_encode_translate_proc;
BERTranslateProc ld_lber_decode_translate_proc;
LDAPConn *ld_defconn; /* default connection */
LDAPConn *ld_conns; /* list of all server connections */
void *ld_selectinfo; /* platform specifics for select */
int ld_selectreadcnt; /* count of read sockets */
int ld_selectwritecnt; /* count of write sockets */
LDAP_REBINDPROC_CALLBACK *ld_rebind_fn;
void *ld_rebind_arg;
/* function pointers, etc. for io */
struct ldap_io_fns ld_io;
#define ld_read_fn ld_io.liof_read
#define ld_write_fn ld_io.liof_write
#define ld_select_fn ld_io.liof_select
#define ld_socket_fn ld_io.liof_socket
#define ld_ioctl_fn ld_io.liof_ioctl
#define ld_connect_fn ld_io.liof_connect
#define ld_close_fn ld_io.liof_close
#define ld_ssl_enable_fn ld_io.liof_ssl_enable
/* function pointers, etc. for DNS */
struct ldap_dns_fns ld_dnsfn;
#define ld_dns_extradata ld_dnsfn.lddnsfn_extradata
#define ld_dns_bufsize ld_dnsfn.lddnsfn_bufsize
#define ld_dns_gethostbyname_fn ld_dnsfn.lddnsfn_gethostbyname
#define ld_dns_gethostbyaddr_fn ld_dnsfn.lddnsfn_gethostbyaddr
/* function pointers, etc. for threading */
struct ldap_thread_fns ld_thread;
#define ld_mutex_alloc_fn ld_thread.ltf_mutex_alloc
#define ld_mutex_free_fn ld_thread.ltf_mutex_free
#define ld_mutex_lock_fn ld_thread.ltf_mutex_lock
#define ld_mutex_unlock_fn ld_thread.ltf_mutex_unlock
#define ld_get_errno_fn ld_thread.ltf_get_errno
#define ld_set_errno_fn ld_thread.ltf_set_errno
#define ld_get_lderrno_fn ld_thread.ltf_get_lderrno
#define ld_set_lderrno_fn ld_thread.ltf_set_lderrno
#define ld_lderrno_arg ld_thread.ltf_lderrno_arg
void **ld_mutex;
/* function pointers, etc. for caching */
int ld_cache_on;
int ld_cache_strategy;
struct ldap_cache_fns ld_cache;
#define ld_cache_config ld_cache.lcf_config
#define ld_cache_bind ld_cache.lcf_bind
#define ld_cache_unbind ld_cache.lcf_unbind
#define ld_cache_search ld_cache.lcf_search
#define ld_cache_compare ld_cache.lcf_compare
#define ld_cache_add ld_cache.lcf_add
#define ld_cache_delete ld_cache.lcf_delete
#if 0
#define ld_cache_rename ld_cache.lcf_rename
#endif
#define ld_cache_modify ld_cache.lcf_modify
#define ld_cache_modrdn ld_cache.lcf_modrdn
#define ld_cache_abandon ld_cache.lcf_abandon
#define ld_cache_result ld_cache.lcf_result
#define ld_cache_flush ld_cache.lcf_flush
#define ld_cache_arg ld_cache.lcf_arg
/* ldapv3 controls */
LDAPControl **ld_servercontrols;
LDAPControl **ld_clientcontrols;
/* Preferred language */
char *ld_preferred_language;
/* MemCache */
LDAPMemCache *ld_memcache;
/* Pending results */
LDAPPend *ld_pend; /* list of pending results */
/* extra thread function pointers */
struct ldap_extra_thread_fns ld_thread2;
#define ld_mutex_trylock_fn ld_thread2.ltf_mutex_trylock
#define ld_sema_alloc_fn ld_thread2.ltf_sema_alloc
#define ld_sema_free_fn ld_thread2.ltf_sema_free
#define ld_sema_wait_fn ld_thread2.ltf_sema_wait
#define ld_sema_post_fn ld_thread2.ltf_sema_post
#define ld_threadid_fn ld_thread2.ltf_threadid_fn
/* extra data for mutex handling in referrals */
void *ld_mutex_threadid[LDAP_MAX_LOCK];
unsigned long ld_mutex_refcnt[LDAP_MAX_LOCK];
};
/* allocate/free mutex */
#define LDAP_MUTEX_ALLOC( ld ) \
(((ld)->ld_mutex_alloc_fn != NULL) ? (ld)->ld_mutex_alloc_fn() : NULL)
/* allocate/free mutex */
#define LDAP_MUTEX_FREE( ld, m ) \
if ( (ld)->ld_mutex_free_fn != NULL && m != NULL ) { \
(ld)->ld_mutex_free_fn( m ); \
}
/* enter/exit critical sections */
/* The locks assume that the locks are thread safe */
#define LDAP_MUTEX_LOCK(ld, lock) \
if ((ld)->ld_mutex_lock_fn != NULL) { \
if ((ld)->ld_threadid_fn != NULL) { \
if ((ld)->ld_mutex_threadid[lock] == (ld)->ld_threadid_fn()) { \
(ld)->ld_mutex_refcnt[lock]++; \
} else { \
(ld)->ld_mutex_lock_fn(ld->ld_mutex[lock]); \
(ld)->ld_mutex_threadid[lock] = ld->ld_threadid_fn(); \
(ld)->ld_mutex_refcnt[lock] = 1; \
} \
} else { \
(ld)->ld_mutex_lock_fn(ld->ld_mutex[lock]); \
} \
}
#define LDAP_MUTEX_UNLOCK(ld, lock) \
if ((ld)->ld_mutex_lock_fn != NULL) { \
if ((ld)->ld_threadid_fn != NULL) { \
if ((ld)->ld_mutex_threadid[lock] == (ld)->ld_threadid_fn()) { \
(ld)->ld_mutex_refcnt[lock]--; \
if ((ld)->ld_mutex_refcnt[lock] <= 0) { \
(ld)->ld_mutex_threadid[lock] = (void *) -1; \
(ld)->ld_mutex_refcnt[lock] = 0; \
(ld)->ld_mutex_unlock_fn(ld->ld_mutex[lock]); \
} \
} \
} else { \
ld->ld_mutex_unlock_fn(ld->ld_mutex[lock]); \
} \
}
/* Backward compatibility locks */
#define LDAP_MUTEX_BC_LOCK( ld, i ) \
if( (ld)->ld_mutex_trylock_fn == NULL ) { \
LDAP_MUTEX_LOCK( ld, i ) ; \
}
#define LDAP_MUTEX_BC_UNLOCK( ld, i ) \
if( (ld)->ld_mutex_trylock_fn == NULL ) { \
LDAP_MUTEX_UNLOCK( ld, i ) ; \
}
/* allocate/free semaphore */
#define LDAP_SEMA_ALLOC( ld ) \
(((ld)->ld_sema_alloc_fn != NULL) ? (ld)->ld_sema_alloc_fn() : NULL)
#define LDAP_SEMA_FREE( ld, m ) \
if ( (ld)->ld_sema_free_fn != NULL && m != NULL ) { \
(ld)->ld_sema_free_fn( m ); \
}
/* wait/post binary semaphore */
#define LDAP_SEMA_WAIT( ld, lp ) \
if ( (ld)->ld_sema_wait_fn != NULL ) { \
(ld)->ld_sema_wait_fn( lp->lp_sema ); \
}
#define LDAP_SEMA_POST( ld, lp ) \
if ( (ld)->ld_sema_post_fn != NULL ) { \
(ld)->ld_sema_post_fn( lp->lp_sema ); \
}
#define POST( ld, y, z ) \
if( (ld)->ld_mutex_trylock_fn != NULL ) { \
nsldapi_post_result( ld, y, z ); \
}
/* get/set errno */
#ifndef macintosh
#define LDAP_SET_ERRNO( ld, e ) \
if ( (ld)->ld_set_errno_fn != NULL ) { \
(ld)->ld_set_errno_fn( e ); \
} else { \
errno = e; \
}
#define LDAP_GET_ERRNO( ld ) \
(((ld)->ld_get_errno_fn != NULL) ? \
(ld)->ld_get_errno_fn() : errno)
#else /* macintosh */
#define LDAP_SET_ERRNO( ld, e ) \
if ( (ld)->ld_set_errno_fn != NULL ) { \
(ld)->ld_set_errno_fn( e ); \
}
#define LDAP_GET_ERRNO( ld ) \
(((ld)->ld_get_errno_fn != NULL) ? \
(ld)->ld_get_errno_fn() : 0)
#endif
/* get/set ldap-specific errno */
#define LDAP_SET_LDERRNO( ld, e, m, s ) ldap_set_lderrno( ld, e, m, s )
#define LDAP_GET_LDERRNO( ld, m, s ) ldap_get_lderrno( ld, m, s )
/*
* your standard "mimimum of two values" macro
*/
#define NSLDAPI_MIN(a, b) (((a) < (b)) ? (a) : (b))
/*
* handy macro to check whether LDAP struct is set up for CLDAP or not
*/
#define LDAP_IS_CLDAP( ld ) ( ld->ld_sbp->sb_naddr > 0 )
/*
* Some Unix error defs. Under CW 7, we can't define OTUNIXERRORS because
* it generates many conflicts with errno.h. Define what we need here.
*/
#if defined(macintosh)
#define EWOULDBLOCK 35
#define EHOSTUNREACH 65
#endif
/*
* handy macro to check errno "e" for an "in progress" sort of error
*/
#if defined(macintosh) || defined(_WINDOWS)
#define NSLDAPI_ERRNO_IO_INPROGRESS( e ) ((e) == EWOULDBLOCK || (e) == EAGAIN)
#else
#ifdef EAGAIN
#define NSLDAPI_ERRNO_IO_INPROGRESS( e ) ((e) == EWOULDBLOCK || (e) == EINPROGRESS || (e) == EAGAIN)
#else /* EAGAIN */
#define NSLDAPI_ERRNO_IO_INPROGRESS( e ) ((e) == EWOULDBLOCK || (e) == EINPROGRESS)
#endif /* EAGAIN */
#endif /* macintosh || _WINDOWS*/
/*
* macro to return the LDAP protocol version we are using
*/
#define NSLDAPI_LDAP_VERSION( ld ) ( (ld)->ld_defconn == NULL ? \
(ld)->ld_version : \
(ld)->ld_defconn->lconn_version )
/*
* Structures used for handling client filter lists.
*/
#define LDAP_FILT_MAXSIZ 1024
struct ldap_filt_list {
char *lfl_tag;
char *lfl_pattern;
char *lfl_delims;
struct ldap_filt_info *lfl_ilist;
struct ldap_filt_list *lfl_next;
};
struct ldap_filt_desc {
LDAPFiltList *lfd_filtlist;
LDAPFiltInfo *lfd_curfip;
LDAPFiltInfo lfd_retfi;
char lfd_filter[ LDAP_FILT_MAXSIZ ];
char *lfd_curval;
char *lfd_curvalcopy;
char **lfd_curvalwords;
char *lfd_filtprefix;
char *lfd_filtsuffix;
};
/*
* "internal" globals used to track defaults and memory allocation callbacks:
* (the actual definitions are in open.c)
*/
extern struct ldap nsldapi_ld_defaults;
extern struct ldap_memalloc_fns nsldapi_memalloc_fns;
extern int nsldapi_initialized;
/*
* Memory allocation done in liblber should all go through one of the
* following macros. This is so we can plug-in alternative memory
* allocators, etc. as the need arises.
*/
#define NSLDAPI_MALLOC( size ) nsldapi_malloc( size )
#define NSLDAPI_CALLOC( nelem, elsize ) nsldapi_calloc( nelem, elsize )
#define NSLDAPI_REALLOC( ptr, size ) nsldapi_realloc( ptr, size )
#define NSLDAPI_FREE( ptr ) nsldapi_free( ptr )
/*
* macros used to check validity of data structures and parameters
*/
#define NSLDAPI_VALID_LDAP_POINTER( ld ) \
( (ld) != NULL )
#define NSLDAPI_VALID_LDAPMESSAGE_POINTER( lm ) \
( (lm) != NULL )
#define NSLDAPI_VALID_LDAPMESSAGE_ENTRY_POINTER( lm ) \
( (lm) != NULL && (lm)->lm_msgtype == LDAP_RES_SEARCH_ENTRY )
#define NSLDAPI_VALID_LDAPMESSAGE_REFERENCE_POINTER( lm ) \
( (lm) != NULL && (lm)->lm_msgtype == LDAP_RES_SEARCH_REFERENCE )
#define NSLDAPI_VALID_LDAPMESSAGE_BINDRESULT_POINTER( lm ) \
( (lm) != NULL && (lm)->lm_msgtype == LDAP_RES_BIND )
#define NSLDAPI_VALID_LDAPMESSAGE_EXRESULT_POINTER( lm ) \
( (lm) != NULL && (lm)->lm_msgtype == LDAP_RES_EXTENDED )
#define NSLDAPI_VALID_LDAPMOD_ARRAY( mods ) \
( (mods) != NULL )
#define NSLDAPI_VALID_NONEMPTY_LDAPMOD_ARRAY( mods ) \
( (mods) != NULL && (mods)[0] != NULL )
#define NSLDAPI_IS_SEARCH_ENTRY( code ) \
((code) == LDAP_RES_SEARCH_ENTRY)
#define NSLDAPI_IS_SEARCH_RESULT( code ) \
((code) == LDAP_RES_SEARCH_RESULT)
#define NSLDAPI_SEARCH_RELATED_RESULT( code ) \
(NSLDAPI_IS_SEARCH_RESULT( code ) || NSLDAPI_IS_SEARCH_ENTRY( code ))
/*
* in bind.c
*/
char *nsldapi_get_binddn( LDAP *ld );
/*
* in cache.c
*/
void nsldapi_add_result_to_cache( LDAP *ld, LDAPMessage *result );
/*
* in dsparse.c
*/
int nsldapi_next_line_tokens( char **bufp, long *blenp, char ***toksp );
void nsldapi_free_strarray( char **sap );
/*
* in error.c
*/
int nsldapi_parse_result( LDAP *ld, int msgtype, BerElement *rber,
int *errcodep, char **matchednp, char **errmsgp, char ***referralsp,
LDAPControl ***serverctrlsp );
/*
* in open.c
*/
void nsldapi_initialize_defaults( void );
int nsldapi_open_ldap_connection( LDAP *ld, Sockbuf *sb, char *host,
int defport, char **krbinstancep, int async, int secure );
int nsldapi_open_ldap_defconn( LDAP *ld );
void *nsldapi_malloc( size_t size );
void *nsldapi_calloc( size_t nelem, size_t elsize );
void *nsldapi_realloc( void *ptr, size_t size );
void nsldapi_free( void *ptr );
char *nsldapi_strdup( const char *s ); /* if s is NULL, returns NULL */
/*
* in os-ip.c
*/
int nsldapi_connect_to_host( LDAP *ld, Sockbuf *sb, char *host,
nsldapi_in_addr_t address, int port, int async, int secure );
void nsldapi_close_connection( LDAP *ld, Sockbuf *sb );
int nsldapi_do_ldap_select( LDAP *ld, struct timeval *timeout );
void *nsldapi_new_select_info( void );
void nsldapi_free_select_info( void *vsip );
void nsldapi_mark_select_write( LDAP *ld, Sockbuf *sb );
void nsldapi_mark_select_read( LDAP *ld, Sockbuf *sb );
void nsldapi_mark_select_clear( LDAP *ld, Sockbuf *sb );
int nsldapi_is_read_ready( LDAP *ld, Sockbuf *sb );
int nsldapi_is_write_ready( LDAP *ld, Sockbuf *sb );
/*
* if referral.c
*/
int nsldapi_parse_reference( LDAP *ld, BerElement *rber, char ***referralsp,
LDAPControl ***serverctrlsp );
/*
* in result.c
*/
int ldap_msgdelete( LDAP *ld, int msgid );
int nsldapi_result_nolock( LDAP *ld, int msgid, int all, int unlock_permitted,
struct timeval *timeout, LDAPMessage **result );
int nsldapi_wait_result( LDAP *ld, int msgid, int all, struct timeval *timeout,
LDAPMessage **result );
int nsldapi_post_result( LDAP *ld, int msgid, LDAPMessage *result );
/*
* in request.c
*/
int nsldapi_send_initial_request( LDAP *ld, int msgid, unsigned long msgtype,
char *dn, BerElement *ber );
int nsldapi_alloc_ber_with_options( LDAP *ld, BerElement **berp );
void nsldapi_set_ber_options( LDAP *ld, BerElement *ber );
int nsldapi_ber_flush( LDAP *ld, Sockbuf *sb, BerElement *ber, int freeit,
int async );
int nsldapi_send_server_request( LDAP *ld, BerElement *ber, int msgid,
LDAPRequest *parentreq, LDAPServer *srvlist, LDAPConn *lc,
char *bindreqdn, int bind );
LDAPConn *nsldapi_new_connection( LDAP *ld, LDAPServer **srvlistp, int use_ldsb,
int connect, int bind );
LDAPRequest *nsldapi_find_request_by_msgid( LDAP *ld, int msgid );
void nsldapi_free_request( LDAP *ld, LDAPRequest *lr, int free_conn );
void nsldapi_free_connection( LDAP *ld, LDAPConn *lc,
LDAPControl **serverctrls, LDAPControl **clientctrls,
int force, int unbind );
void nsldapi_dump_connection( LDAP *ld, LDAPConn *lconns, int all );
void nsldapi_dump_requests_and_responses( LDAP *ld );
int nsldapi_chase_v2_referrals( LDAP *ld, LDAPRequest *lr, char **errstrp,
int *totalcountp, int *chasingcountp );
int nsldapi_chase_v3_refs( LDAP *ld, LDAPRequest *lr, char **refs,
int is_reference, int *totalcountp, int *chasingcountp );
int nsldapi_append_referral( LDAP *ld, char **referralsp, char *s );
void nsldapi_connection_lost_nolock( LDAP *ld, Sockbuf *sb );
/*
* in search.c
*/
int nsldapi_build_search_req( LDAP *ld, const char *base, int scope,
const char *filter, char **attrs, int attrsonly,
LDAPControl **serverctrls, LDAPControl **clientctrls,
int timelimit, int sizelimit, int msgid, BerElement **berp );
/*
* in unbind.c
*/
int ldap_ld_free( LDAP *ld, LDAPControl **serverctrls,
LDAPControl **clientctrls, int close );
int nsldapi_send_unbind( LDAP *ld, Sockbuf *sb, LDAPControl **serverctrls,
LDAPControl **clientctrls );
#ifdef LDAP_DNS
/*
* in getdxbyname.c
*/
char **nsldapi_getdxbyname( char *domain );
#endif /* LDAP_DNS */
/*
* in unescape.c
*/
void nsldapi_hex_unescape( char *s );
/*
* in reslist.c
*/
LDAPMessage *ldap_delete_result_entry( LDAPMessage **list, LDAPMessage *e );
void ldap_add_result_entry( LDAPMessage **list, LDAPMessage *e );
/*
* in compat.c
*/
#ifdef HPUX
char *nsldapi_compat_ctime_r( const time_t *clock, char *buf, int buflen );
struct hostent *nsldapi_compat_gethostbyname_r( const char *name,
struct hostent *result, char *buffer, int buflen, int *h_errnop );
#endif /* HPUX */
/*
* in control.c
*/
int nsldapi_put_controls( LDAP *ld, LDAPControl **ctrls, int closeseq,
BerElement *ber );
int nsldapi_get_controls( BerElement *ber, LDAPControl ***controlsp );
int nsldapi_dup_controls( LDAP *ld, LDAPControl ***ldctrls,
LDAPControl **newctrls );
int nsldapi_build_control( char *oid, BerElement *ber, int freeber,
char iscritical, LDAPControl **ctrlp );
/*
* in url.c
*/
int nsldapi_url_parse( const char *inurl, LDAPURLDesc **ludpp,
int dn_required );
/*
* in charset.c
*
* If we ever want to expose character set translation functionality to
* users of libldap, all of these prototypes will need to be moved to ldap.h
*/
#ifdef STR_TRANSLATION
void ldap_set_string_translators( LDAP *ld,
BERTranslateProc encode_proc, BERTranslateProc decode_proc );
int ldap_translate_from_t61( LDAP *ld, char **bufp,
unsigned long *lenp, int free_input );
int ldap_translate_to_t61( LDAP *ld, char **bufp,
unsigned long *lenp, int free_input );
void ldap_enable_translation( LDAP *ld, LDAPMessage *entry,
int enable );
#ifdef LDAP_CHARSET_8859
int ldap_t61_to_8859( char **bufp, unsigned long *buflenp,
int free_input );
int ldap_8859_to_t61( char **bufp, unsigned long *buflenp,
int free_input );
#endif /* LDAP_CHARSET_8859 */
#endif /* STR_TRANSLATION */
/*
* in memcache.h
*/
int ldap_memcache_createkey( LDAP *ld, const char *base, int scope,
const char *filter, char **attrs, int attrsonly,
LDAPControl **serverctrls, LDAPControl **clientctrls,
unsigned long *keyp );
int ldap_memcache_result( LDAP *ld, int msgid, unsigned long key );
int ldap_memcache_new( LDAP *ld, int msgid, unsigned long key,
const char *basedn );
int ldap_memcache_append( LDAP *ld, int msgid, int bLast, LDAPMessage *result );
int ldap_memcache_abandon( LDAP *ld, int msgid );
#endif /* _LDAPINT_H */

View File

@@ -1,105 +0,0 @@
# ldap filter file
#
# lines like this that start with # or empty lines are ignored
#
# syntax:
#
# <tag>
# <pattern1> <delimiters> <filter1-1> <desc1-1> [<scope>]
# <filter1-2> <desc1-2> [<scope>]
#
# <pattern2> <delimiters> <filter2-1> <desc2-1> [<scope>] ...
#
# The "desc" should describe the filter and it should correctly complete
# both of the following phrases:
#
# One <desc> match was found for...
# Three <desc> matches were found for...
#
# The scope is optional, and should be one of:
# "base"
# "onelevel"
# "subtree"
# if it is included.
#
"finger and ud and go500 and go500gw subtree and web500gw subtree and rp500 and rcpt500 and ufn last"
"=" " " "%v" "arbitrary filter"
"^[0-9][0-9-]*$" " " "(telephoneNumber=*%v)" "phone number"
"@" " " "(mail=%v)" "email address"
"(mail=%v*)" "start of email address"
"^.[. _].*" ". _" "(cn=%v1* %v2-)" "first initial"
".*[. _].$" ". _" "(cn=%v1-*)" "last initial"
"[. _]" ". _" "(|(sn=%v1-)(cn=%v1-))" "exact"
"(|(sn~=%v1-)(cn~=%v1-))" "approximate"
".*" ". " "(|(cn=%v1)(sn=%v1)(uid=%v1))" "exact"
"(|(cn~=%v1)(sn~=%v1))" "approximate"
"go500gw onelevel and web500gw onelevel and ufn first and ufn intermediate"
"=" " " "%v" "arbitrary filter"
"^..$" " " "(|(o=%v)(c=%v)(l=%v)(co=%v))" "exact"
"(|(o~=%v)(c~=%v)(l~=%v)(co~=%v))" "approximate"
" " " " "(|(o=%v)(l=%v)(co=%v)(ou=%v))" "exact"
"(|(o~=%v)(l~=%v)(co~=%v)(ou~=%v))" "approximate"
"\." " " "(associatedDomain=%v)" "exact"
".*" " " "(|(o=%v)(l=%v)(co=%v)(ou=%v))" "exact"
"(|(o~=%v)(l~=%v)(co~=%v)(ou~=%v))" "approximate"
#
# xax500
#
"xax500"
"=" " " "(%v)" "arbitrary filter"
"^[0-9][0-9-]*$" " " "(telephoneNumber=*%v)" "phone number"
"@" " " "(mail=%v)" "email address"
"(mail=%v*)" "start of email address"
"^.[. _].*" ". _" "(cn=%v1* %v2-)" "first initial"
".*[. _].$" ". _" "(cn=%v1-*)" "last initial"
"[. _]" ". _" "(|(sn=%v1-)(cn=%v1-))" "exact"
"(|(sn~=%v1-)(cn~=%v1-))" "approximate"
".*" ". " "(|(cn=%v1)(sn=%v1)(uid=%v1))" "exact"
"(|(cn=%v1)(sn~=%v1))" "approximate"
"xax500-auth"
"=" " " "(%v)" "arbitrary filter"
"^[0-9][0-9-]*$" " " "(telephoneNumber=*%v)" "phone number"
"@" " " "(mail=%v)" "email address"
"(mail=%v*)" "start of email address"
"^.[. _].*" ". _" "(cn=%v1* %v2-)" "first initial"
".*[. _].$" ". _" "(cn=%v1-*)" "last initial"
"[. _]" ". _" "(|(sn=%v1-)(cn=%v1-))" "exact"
"(|(sn~=%v1-)(cn~=%v1-))" "approximate"
".*" ". " "(|(cn=%v1)(sn=%v1)(uid=%v1))" "exact"
"(|(cn=%v1)(sn~=%v1))" "approximate"
"list500"
"[. _]" ". _" "(|(sn=%v1-)(cn=%v1-))" "exact"
"(|(sn~=%v1-)(cn~=%v1-))" "approximate"
".*" ". " "(|(cn=%v1)(sn=%v1)(uid=%v1))" "exact"
"(|(cn~=%v1)(sn~=%v1))" "approximate"

View File

@@ -1,242 +0,0 @@
AD Andorra
AE United Arab Emirates
AF Afghanistan
AG Antigua and Barbuda
AI Anguilla
AL Albania
AM Armenia
AN Netherlands Antilles
AO Angola
AQ Antarctica
AR Argentina
AS American Samoa
AT Austria
AU Australia
AW Aruba
AZ Azerbaijan
BA Bosnia and Herzegowina
BB Barbados
BD Bangladesh
BE Belgium
BF Burkina Faso
BG Bulgaria
BH Bahrain
BI Burundi
BJ Benin
BM Bermuda
BN Brunei Darussalam
BO Bolivia
BR Brazil
BS Bahamas
BT Bhutan
BV Bouvet Island
BW Botswana
BY Belarus
BZ Belize
CA Canada
CC Cocos (Keeling) Islands
CF Central African Republic
CG Congo
CH Switzerland
CI Cote d'Ivoire
CK Cook Islands
CL Chile
CM Cameroon
CN China
CO Colombia
CR Costa Rica
CS Former Czechoslovakia
CU Cuba
CV Cape Verde
CX Christmas Island
CY Cyprus
CZ Czech Republic
DE Germany
DJ Djibouti
DK Denmark
DM Dominica
DO Dominican Republic
DZ Algeria
EC Ecuador
EE Estonia
EG Egypt
EH Western Sahara
ER Eritrea
ES Spain
ET Ethiopia
FI Finland
FJ Fiji
FK Falkland Islands (Malvinas)
FM Micronesia
FO Faroe Islands
FR France
FX France, Metropolitan
GA Gabon
GB United Kingdom
GD Grenada
GE Georgia
GF French Guiana
GH Ghana
GI Gibraltar
GL Greenland
GM Gambia
GN Guinea
GP Guadeloupe
GQ Equatorial Guinea
GR Greece
GS South Georgia and the South Sandwich Islands
GT Guatemala
GU Guam
GW Guinea-Bissau
GY Guyana
HK Hong Kong
HM Heard and McDonald Islands
HN Honduras
HR Croatia
HT Haiti
HU Hungary
ID Indonesia
IE Ireland
IL Israel
IN India
IO British Indian Ocean Territory
IQ Iraq
IR Iran
IS Iceland
IT Italy
JM Jamaica
JO Jordan
JP Japan
KE Kenya
KG Kyrgyzstan
KH Cambodia
KI Kiribati
KM Comoros
KN Saint Kitts and Nevis
KP Korea, Democratic People's Republic of
KR Korea, Republic of
KW Kuwait
KY Cayman Islands
KZ Kazakhstan
LA Laos
LB Lebanon
LC Saint Lucia
LI Liechtenstein
LK Sri Lanka
LR Liberia
LS Lesotho
LT Lithuania
LU Luxembourg
LV Latvia
LY Libya
MA Morocco
MC Monaco
MD Moldova
MG Madagascar
MH Marshall Islands
MK Macedonia
ML Mali
MM Myanmar
MN Mongolia
MO Macau
MP Northern Mariana Islands
MQ Martinique
MR Mauritania
MS Montserrat
MT Malta
MU Mauritius
MV Maldives
MW Malawi
MX Mexico
MY Malaysia
MZ Mozambique
NA Namibia
NC New Caledonia
NE Niger
NF Norfolk Island
NG Nigeria
NI Nicaragua
NL Netherlands
NO Norway
NP Nepal
NR Nauru
NU Niue
NZ New Zealand
OM Oman
PA Panama
PE Peru
PF French Polynesia
PG Papua New Guinea
PH Philippines
PK Pakistan
PL Poland
PM St. Pierre and Miquelon
PN Pitcairn
PR Puerto Rico
PT Portugal
PW Palau
PY Paraguay
QA Qatar
RE Reunion
RO Romania
RU Russian Federation
RW Rwanda
SA Saudi Arabia
SB Solomon Islands
SC Seychelles
SD Sudan
SE Sweden
SG Singapore
SH St. Helena
SI Slovenia
SJ Svalbard and Jan Mayen Islands
SK Slovakia (Slovak Republic)
SL Sierra Leone
SM San Marino
SN Senegal
SO Somalia
SR Suriname
ST Sao Tome and Principe
SU Former Soviet Union
SV El Salvador
SY Syria
SZ Swaziland
TC Turks and Caicos Islands
TD Chad
TF French Southern Territories
TG Togo
TH Thailand
TJ Tajikistan
TK Tokelau
TM Turkmenistan
TN Tunisia
TO Tonga
TP East Timor
TR Turkey
TT Trinidad and Tobago
TV Tuvalu
TW Taiwan
TZ Tanzania
UA Ukraine
UG Uganda
UK United Kingdom
UM United States Minor Outlying Islands
US United States of America
UY Uruguay
UZ Uzbekistan
VA Vatican City State (Holy See)
VC Saint Vincent and the Grenadines
VE Venezuela
VG Virgin Islands (British)
VI Virgin Islands (U.S.)
VN Viet Nam
VU Vanuatu
WF Wallis and Futuna Islands
WS Samoa
YE Yemen
YT Mayotte
YU Yugoslavia
ZA South Africa
ZM Zambia
ZR Zaire
ZW Zimbabwe

View File

@@ -1,153 +0,0 @@
# Version should be 1 now
Version 1
#
#
# Name for this search object
People
# options (the only one supported right now is "internal" which means that
# this search object should not be presented directly to the user)
# use "" for none
""
# Label to place before text box user types in
"Search For:"
# Filter prefix to append to all "More Choices" searches
"(&(objectClass=person)"
# Tag to use for "Fewer Choices" searches - from ldapfilter.conf file
"xax500"
# If a search results in > 1 match, retrieve this attribute to help
# user disambiguate the entries...
title
# ...and label it with this string:
"Title"
# Search scope to use when searching
subtree
# Follows a list of "More Choices" search options. Format is:
# Label, attribute, select-bitmap, extra attr display name, extra attr ldap name
# If last two are null, "Fewer Choices" name/attributes used
"Common Name" cn 11111 "" ""
"Surname" sn 11111 "" ""
"Business Phone" "telephoneNumber" 11101 "" ""
"E-Mail Address" "mail" 11111 "" ""
"Uniqname" "uid" 11111 "" ""
"Title" title 11111 "" ""
END
# Match types
"exactly matches" "(%a=%v))"
"approximately matches" "(%a~=%v))"
"starts with" "(%a=%v*))"
"ends with" "(%a=*%v))"
"contains" "(%a=*%v*))"
END
#
#
#
Groups
""
"Search For:"
"(&(objectClass=rfc822MailGroup)"
"xax500"
multilineDescription
"Description"
subtree
"Common Name" cn 11111 "" ""
"Description" multilineDescription 11101 "" ""
"Owner" "owner" 00001 "owner" "Owner"
"LDAP Member" "member" 00001 "" ""
"E-Mail Member" "mail" 00101 "" ""
END
"exactly matches" "(%a=%v))"
"approximately matches" "(%a~=%v))"
"starts with" "(%a=%v*))"
"ends with" "(%a=*%v))"
"contains" "(%a=*%v*))"
END
#
#
#
"Joinable Groups"
""
"Search For:"
"(&(&(objectClass=rfc822MailGroup)(joinable=TRUE))"
"xax500"
multilineDescription
"Description"
subtree
"Common Name" cn 11111 "" ""
"Description" multilineDescription 11101 "" ""
"Owner" "owner" 00001 "owner" "Owner"
"LDAP Member" "member" 00001 "" ""
"E-Mail Member" "mail" 00101 "" ""
END
"exactly matches" "(%a=%v))"
"approximately matches" "(%a~=%v))"
"starts with" "(%a=%v*))"
"ends with" "(%a=*%v))"
"contains" "(%a=*%v*))"
END
#
#
#
Services
""
"Search For:"
"(&(objectClass=service)"
"xax500"
multilineDescription
"Description"
subtree
"Common Name" cn 11111 "" ""
"Description" multilineDescription 11101 "" ""
"Owner" "owner" 00001 "owner" "Owner"
"Keywords" "keywords" 11111 "" ""
"Hours" "hoursOfOperation" 11111 "" ""
END
"exactly matches" "(%a=%v))"
"approximately matches" "(%a~=%v))"
"starts with" "(%a=%v*))"
"ends with" "(%a=*%v))"
"contains" "(%a=*%v*))"
END
#
#
#
Organizations
""
"Search For:"
"(&(objectClass=organization)"
"xax500"
multilineDescription
"Description"
subtree
"Name" organizationName 01111 "" ""
"Location" localityName 11111 "" ""
"Phone Number" "telephoneNumber" 10111 "" ""
"Description" description 10111 "" ""
END
"exactly matches" "(%a=%v))"
"approximately matches" "(%a~=%v))"
"starts with" "(%a=%v*))"
"ends with" "(%a=*%v))"
"contains" "(%a=*%v*))"
END
#
#
#
Documents
""
"Search For:"
"(&(objectClass=document)"
"xax500"
multilineDescription
"Description"
subtree
"Document Title" cn 11111 "" ""
"Keyword" "keywords" 11111 "" ""
"Category" "category" 11111 "" ""
"Document Number" "documentIdentifier" 11111 "" ""
END
"exactly matches" "(%a=%v))"
"approximately matches" "(%a~=%v))"
"starts with" "(%a=%v*))"
"ends with" "(%a=*%v))"
"contains" "(%a=*%v*))"
END

View File

@@ -1,677 +0,0 @@
##########################################################################
# LDAP display templates
##########################################################################
#
# Version must be 1
#
Version 1
##########################################################################
# U-M Person template
##########################################################################
#
# template name and plural name come first
"U-M Person"
"U-M People"
# name of the icon that is associated with this template
"person icon"
# blank-separated list of template options ("" for none)
# addable - end-user should be allowed to add these types of entries
# modrdn - end-user can change the name of these entries
# altview - this template is referred to in another template's
# "linkact" item
"addable"
#
# objectclass list
umichPerson person
END
#
# name of attribute to authenticate as ("" means auth as this entry)
""
#
# default attribute name to use when forming RDN of a new entry
#
cn
#
# default location when adding new entries (DN; "" means no default)
"o=University of Michigan, c=US"
#
# rules used to define default values for new entries
END
#
#
# list of items for display
# each line is either:
# item (type) (attribute) (attr name) (extra args...)
# to define an item or
# samerow
# to keep the next item on the same row as the previous
#
# valid types are:
# cis - case ignore string
# mls - multiline string
# dn -
# mail - case ignore string that contains an RFC822 mail address
# bool - boolean value
# jpeg - inlined JPEG image
# jpegbtn - JPEG image button
# fax - inlined Fax image
# faxbtn - Fax image button
# audiobtn - audio button
# time - time value
# date - time value displayed as a date only
# url - labeled URL for links to items in WWW
# searchact - search action
# linkact - link to another template
#
# valid options (comma separated list appended to the type) are:
# ro - attribute is read only; don't let user edit it
# sort - order the values of this attribute
# 1val - disallow entry of multiple values
# required - this attribute should have at least one value
# hide - don't show this item if attribute has no values
# hideiffalse - hide item if value is FALSE (for type 'bool' only)
#
item jpegbtn "View Photo" jpegPhoto "Next Photo"
item audiobtn "Play Sound" audio
item cis,ro,sort "Also Known As" cn
item mail "E-Mail Address" mail
item cis "Work Phone" telephoneNumber
item cis "Fax Number" facsimileTelephoneNumber
item cis "Pager Number" pager
item mls "Work Address" postalAddress
item cis,sort "Title" title
item cis,ro "Uniqname" uid
item mls "Description" multiLineDescription
item cis "Home Phone" homePhone
item mls "Home Address" homePostalAddress
item url "More Info (URL)" labeledURL
item dn,sort "See Also" seeAlso
item cis "Favorite Beverage" drink
item cis "Notice" notice
item bool,hideiffalse "On Vacation" onVacation
item mls,1val "Vacation Message" vacationMessage
item bool,hideiffalse "Do Not Allow Updates" noBatchUpdates
item time,ro "Last Modified" lastModifiedTime
item dn,ro "Modified By" lastModifiedBy
item searchact "Find Groups Added To" "" "-dnt" "(&(objectclass=rfc822mailgroup)(member=%v))" "multiLineDescription" "Description" ""
item searchact "List Owned Groups" "" "-dnt" "(&(objectclass=rfc822mailgroup)(owner=%v))" "title" "Title" ""
item linkact "Other Addresses" "" "other addresses"
END
##########################################################################
# Person template
##########################################################################
"Person"
"People"
"person icon"
# template options
addable
#
# objectclass list
person
END
# name of attribute to authenticate as
""
# default attribute name to use when forming RDN of a new entry
#
cn
# default location when adding new entries
""
#
# rules used to define default values for new entries
END
#
# list of items for display
item jpegbtn "View Photo" jpegPhoto "Next Photo"
item audiobtn "Play Sound" audio
item cis,sort "Also Known As" cn
item cis,sort "Title" title
item mls "Work Address" postalAddress
item cis "Work Phone" telephoneNumber
item cis "Fax Number" facsimileTelephoneNumber
item cis "Pager Number" pager
item mls "Home Address" homePostalAddress
item cis "Home Phone" homePhone
item cis "User ID" uid
item mail "E-Mail Address" mail
item cis "Description" description
item cis "Favorite Beverage" drink
item dn,sort "See Also" seeAlso
item time,ro "Last Modified" lastModifiedTime
item dn,ro "Modified By" lastModifiedBy
END
##########################################################################
# Group template
##########################################################################
"Group"
"Groups"
"group icon"
# template options
addable modrdn
# objectclass list
rfc822MailGroup
END
# name of attribute to authenticate as
"owner"
# default attribute name to use when forming RDN of a new entry
#
cn
# default location when adding new entries
"ou=User Groups, ou=Groups, o=University of Michigan, c=US"
#
# rules used to define default values for new entries
constant "associatedDomain" "umich.edu"
constant "joinable" "FALSE"
addersdn "owner"
addersdn "member"
addersdn "errorsTo"
addersdn "requestsTo"
END
#
#
# list of items for display
# each line is either:
# item (type) (attribute) (attr name) (extra args...)
# to define an item or
# samerow
#
# list of items for display
item cis,sort "Also Known As" cn
item mls "Description" multiLineDescription
item cis "Phone Number" telephoneNumber
item cis "Fax Number" facsimileTelephoneNumber
item mls "Address" postalAddress
item dn,required,sort "Owner" owner
item url "More Info (URL)" labeledURL
item dn,sort "See Also" seeAlso
item dn,sort "Errors To" errorsTo
item dn,sort "Requests To" requestsTo
item cis "Associated Domain" associatedDomain
item cis "Moderator" moderator
item bool "Suppress 'No E-Mail Address' Errors" suppressNoEmailError
item bool "Others May Join" joinable
item dn,sort "LDAP Members" member
item mail,sort "E-Mail Errors To" rfc822ErrorsTo
item mail,sort "E-Mail Requests To" rfc822RequestsTo
item mail,sort "E-Mail Members" mail
item cis "Notice" notice
item time,ro "Last Modified" lastModifiedTime
item dn,ro "Modified By" lastModifiedBy
item searchact "Subscribers" "" "-dnt" "memberOfGroup=%v" "title" "Title" "joinable"
item verifyact "Verify Members" "member" "mail" "E-Mail Address"
END
##########################################################################
# Organization template
##########################################################################
"Organization"
"Organizations"
"organization icon"
# template options
""
# objectclass list
organization
END
# name of attribute to authenticate as
""
# default attribute name to use when forming RDN of a new entry
o
# default location when adding new entries
""
# rules used to define default values for new entries
constant "o" "foo"
END
#
#
# list of items for display
# each line is either:
# item (type) (attribute) (attr name) (extra args...)
# to define an item or
# samerow
#
# list of items for display
item cis,sort "Name" o
item cis "Location" l
item mls "Address" postalAddress
item cis "Phone Number" telephoneNumber
item cis "Fax Number" facsimileTelephoneNumber
item cis "Description" description
item dn,sort "See Also" seeAlso
item time,ro "Last Modified" lastModifiedTime
item dn,ro "Modified By" lastModifiedBy
END
##########################################################################
# Service template
##########################################################################
"Service"
"Services"
"service icon"
# template options
"addable"
# objectclass list
service
END
# name of attribute to authenticate as
"owner"
# default attribute name to use when forming RDN of a new entry
cn
# default location when adding new entries
"ou=Services, o=University of Michigan, c=US"
# rules used to define default values for new entries
addersdn "owner"
END
#
#
# list of items for display
# each line is either:
# item (type) (attribute) (attr name) (extra args...)
# to define an item or
# samerow
#
# list of items for display
item jpegbtn "View Photo" jpegPhoto
item cis,sort "Name" cn
item mls "Description" multilineDescription
item cis "Provider" provider
item cis,sort "Service Area" serviceArea
item mail "E-mail Address" mail
item cis "Phone" telephoneNumber
item cis "Fax Number" facsimileTelephoneNumber
item mls "Postal Address" postalAddress
item cis "Hours" hoursOfOperation
item url "More Info (URL)" labeledURL
item dn,sort "Depends On" dependentUpon
item dn,sort "See Also" seeAlso
item cis,sort "Platform" platform
item cis,sort "Product" product
item cis,sort "Keywords" keywords
item cis "FCE Rating" serviceRating
item date "Date Rated" ratingTime
item mls "Rating Description" ratingDescription
item time,ro "Last Modified" lastModifiedTime
item dn,ro "Modified By" lastModifiedBy
item dn,required,sort "Owner" owner
END
##########################################################################
# Organizational Role template
##########################################################################
"Organizational Role"
"Organizational Roles"
"person icon"
# template options
""
# objectclass list
organizationalRole
END
# name of attribute to authenticate as
""
# default attribute name to use when forming RDN of a new entry
cn
# default location when adding new entries
""
# rules used to define default values for new entries
END
#
#
# list of items for display
# each line is either:
# item (type) (attribute) (attr name) (extra args...)
# to define an item or
# samerow
#
# list of items for display
item cis,sort "Name" cn
item cis "Description" description
item dn "Role Occupant" roleOccupant
item dn,sort "See Also" seeAlso
item time,ro "Last Modified" lastModifiedTime
item dn,ro "Modified By" lastModifiedBy
END
##########################################################################
# Organizational Unit template
##########################################################################
"Organizational Unit"
"Organizational Units"
"organization icon"
# template options
""
# objectclass list
organizationalUnit
END
# name of attribute to authenticate as
""
# default attribute name to use when forming RDN of a new entry
cn
# default location when adding new entries
""
# rules used to define default values for new entries
END
# Item list
item cis "Organization Unit Name" ou
item cis "Title" title
item time,ro "Last Modified" lastModifiedTime
item dn,ro "Modified By" lastModifiedBy
END
##########################################################################
# Application Entity template
##########################################################################
"Application Entity"
"Application Entities"
"application icon"
# template options
""
# objectclass list
applicationEntity
END
# name of attribute to authenticate as
""
# default attribute name to use when forming RDN of a new entry
cn
# default location when adding new entries
""
# rules used to define default values for new entries
END
# Item list
item cis,sort "Name" cn
item cis "Location" l
item cis "Description" description
item time,ro "Last Modified" lastModifiedTime
item dn,ro "Modified By" lastModifiedBy
END
##########################################################################
# Document template
##########################################################################
"Document"
"Documents"
"document icon"
# template options
""
# objectclass list
document
umichDocument
END
# name of attribute to authenticate as
""
# default attribute name to use when forming RDN of a new entry
cn
# default location when adding new entries
""
# rules used to define default values for new entries
END
#
# Item list
item cis "Document ID" documentIdentifier
item cis "Title" documentTitle
item cis "Series Title" documentSeriesTitle
item cis "Version" documentVersion
item cis,sort "Service Area" serviceArea
item mls "Abstract" multiLineAbstract
item url "More Info (URL)" labeledURL
item dn,sort "Availability" documentAvailable
item dn,sort "See Also" seeAlso
item cis,sort "Platform" platform
item cis,sort "Product" product
item cis,sort "Keyword" keywords
item dn,sort "Author" documentAuthor
item time,ro "Last Modified" lastModifiedTime
item dn,ro "Modified By" lastModifiedBy
item dn,required "Owner" owner
END
##########################################################################
# Document description template
##########################################################################
"DocumentDescription"
"DocumentDescriptions"
"document description icon"
# template options
""
# objectclass list
documentDescription
END
# name of attribute to authenticate as
""
# default attribute name to use when forming RDN of a new entry
cn
# default location when adding new entries
""
# rules used to define default values for new entries
END
#
# Item list
item mls "Description" multilineDescription
item url "More Info (URL)" labeledURL
item time,ro "Last Modified" lastModifiedTime
item dn,ro "Modified By" lastModifiedBy
item dn,required "Owner" owner
END
##########################################################################
# Image template
##########################################################################
"Image"
"Images"
"image icon"
# template options
""
# objectclass list
image
END
# name of attribute to authenticate as
""
# default attribute name to use when forming RDN of a new entry
cn
# default location when adding new entries
""
# rules used to define default values for new entries
END
#
# Item list
item cis "Name" cn
item mls "Description" multilineDescription
item jpegbtn "View Photo(s)" jpegPhoto
item cis "Citation" citation
item cis "Copyright" copyright
item cis "Keywords" keywords
item time,ro "Last Modified" lastModifiedTime
item dn,ro "Modified By" lastModifiedBy
item dn,required "Owner" owner
END
##########################################################################
# Country template
##########################################################################
"Country"
"Countries"
"country icon"
# template options
""
# objectclass list
friendlyCountry
END
# name of attribute to authenticate as
""
# default attribute name to use when forming RDN of a new entry
c
# default location when adding new entries
""
# rules used to define default values for new entries
END
# Item list
item cis "Country Name" co
item cis "Country Code" c
item cis "Description" description
item time,ro "Last Modified" lastModifiedTime
item dn,ro "Modified By" lastModifiedBy
END
##########################################################################
# Locality template
##########################################################################
"Locality"
"Localities"
"locality icon"
# template options
""
# objectclass list
locality
END
# name of attribute to authenticate as
""
# default attribute name to use when forming RDN of a new entry
l
# default location when adding new entries
""
# rules used to define default values for new entries
END
#
# Item list
item cis "Name" l
item time,ro "Last Modified" lastModifiedTime
item dn,ro "Modified By" lastModifiedBy
END
##########################################################################
# "Other Addresses" template
##########################################################################
"Others Addresses"
"Other Addresses"
"other addr icon"
# template options
"altview"
# objectclass list
END
# name of attribute to authenticate as
""
# default attribute name to use when forming RDN of a new entry
""
# default location when adding new entries
""
# rules used to define default values for new entries
END
# Item list
item cis "Street Address" streetAddress
item cis "Locality" l
item cis "State or Province" st
item cis "Postal Code" postalCode
item cis,hide "X.400 Address" mhsORAddresses
item cis,hide "X.400 Address" textEncodedORAddress
Item cis "Other Mailbox" otherMailbox
item time,ro "Last Modified" lastModifiedTime
item dn,ro "Modified By" lastModifiedBy
END

File diff suppressed because it is too large Load Diff

View File

@@ -1,90 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*/
#include "ldap-int.h"
int
LDAP_CALL
ldap_msgid( LDAPMessage *lm )
{
if ( !NSLDAPI_VALID_LDAPMESSAGE_POINTER( lm )) {
return( -1 );
}
return( lm->lm_msgid );
}
int
LDAP_CALL
ldap_msgtype( LDAPMessage *lm )
{
if ( !NSLDAPI_VALID_LDAPMESSAGE_POINTER( lm )) {
return( -1 );
}
return( lm->lm_msgtype );
}
LDAPMessage *
LDAP_CALL
ldap_first_message( LDAP *ld, LDAPMessage *chain )
{
if ( !NSLDAPI_VALID_LDAP_POINTER( ld )) {
return( NULLMSG ); /* punt */
}
return( chain );
}
LDAPMessage *
LDAP_CALL
ldap_next_message( LDAP *ld, LDAPMessage *msg )
{
if ( !NSLDAPI_VALID_LDAP_POINTER( ld )) {
return( NULLMSG ); /* punt */
}
if ( msg == NULLMSG || msg->lm_chain == NULLMSG ) {
return( NULLMSG );
}
return( msg->lm_chain );
}
int
LDAP_CALL
ldap_count_messages( LDAP *ld, LDAPMessage *chain )
{
int i;
if ( !NSLDAPI_VALID_LDAP_POINTER( ld )) {
return( -1 );
}
for ( i = 0; chain != NULL; chain = chain->lm_chain ) {
i++;
}
return( i );
}

View File

@@ -1,211 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*/
/*
* Copyright (c) 1990 Regents of the University of Michigan.
* All rights reserved.
*/
/*
* modify.c
*/
#if 0
#ifndef lint
static char copyright[] = "@(#) Copyright (c) 1990 Regents of the University of Michigan.\nAll rights reserved.\n";
#endif
#endif
#include "ldap-int.h"
/*
* ldap_modify - initiate an ldap modify operation. Parameters:
*
* ld LDAP descriptor
* dn DN of the object to modify
* mods List of modifications to make. This is null-terminated
* array of struct ldapmod's, specifying the modifications
* to perform.
*
* Example:
* LDAPMod *mods[] = {
* { LDAP_MOD_ADD, "cn", { "babs jensen", "babs", 0 } },
* { LDAP_MOD_REPLACE, "sn", { "jensen", 0 } },
* 0
* }
* msgid = ldap_modify( ld, dn, mods );
*/
int
LDAP_CALL
ldap_modify( LDAP *ld, const char *dn, LDAPMod **mods )
{
int msgid;
LDAPDebug( LDAP_DEBUG_TRACE, "ldap_modify\n", 0, 0, 0 );
if ( ldap_modify_ext( ld, dn, mods, NULL, NULL, &msgid )
== LDAP_SUCCESS ) {
return( msgid );
} else {
return( -1 ); /* error is in ld handle */
}
}
int
LDAP_CALL
ldap_modify_ext( LDAP *ld, const char *dn, LDAPMod **mods,
LDAPControl **serverctrls, LDAPControl **clientctrls, int *msgidp )
{
BerElement *ber;
int i, rc, lderr;
/*
* A modify request looks like this:
* ModifyRequet ::= SEQUENCE {
* object DistinguishedName,
* modifications SEQUENCE OF SEQUENCE {
* operation ENUMERATED {
* add (0),
* delete (1),
* replace (2)
* },
* modification SEQUENCE {
* type AttributeType,
* values SET OF AttributeValue
* }
* }
* }
*/
LDAPDebug( LDAP_DEBUG_TRACE, "ldap_modify_ext\n", 0, 0, 0 );
if ( !NSLDAPI_VALID_LDAP_POINTER( ld )) {
return( LDAP_PARAM_ERROR );
}
if ( !NSLDAPI_VALID_LDAPMESSAGE_POINTER( msgidp ))
{
LDAP_SET_LDERRNO( ld, LDAP_PARAM_ERROR, NULL, NULL );
return( LDAP_PARAM_ERROR );
}
if ( !NSLDAPI_VALID_NONEMPTY_LDAPMOD_ARRAY( mods )) {
lderr = LDAP_PARAM_ERROR;
LDAP_SET_LDERRNO( ld, lderr, NULL, NULL );
return( lderr );
}
if ( dn == NULL ) {
dn = "";
}
LDAP_MUTEX_LOCK( ld, LDAP_MSGID_LOCK );
*msgidp = ++ld->ld_msgid;
LDAP_MUTEX_UNLOCK( ld, LDAP_MSGID_LOCK );
/* see if we should add to the cache */
if ( ld->ld_cache_on && ld->ld_cache_modify != NULL ) {
LDAP_MUTEX_LOCK( ld, LDAP_CACHE_LOCK );
if ( (rc = (ld->ld_cache_modify)( ld, *msgidp, LDAP_REQ_MODIFY,
dn, mods )) != 0 ) {
*msgidp = rc;
LDAP_MUTEX_LOCK( ld, LDAP_CACHE_LOCK );
return( LDAP_SUCCESS );
}
LDAP_MUTEX_UNLOCK( ld, LDAP_CACHE_LOCK );
}
/* create a message to send */
if (( lderr = nsldapi_alloc_ber_with_options( ld, &ber ))
!= LDAP_SUCCESS ) {
return( lderr );
}
if ( ber_printf( ber, "{it{s{", *msgidp, LDAP_REQ_MODIFY, dn )
== -1 ) {
lderr = LDAP_ENCODING_ERROR;
LDAP_SET_LDERRNO( ld, lderr, NULL, NULL );
ber_free( ber, 1 );
return( lderr );
}
/* for each modification to be performed... */
for ( i = 0; mods[i] != NULL; i++ ) {
if (( mods[i]->mod_op & LDAP_MOD_BVALUES) != 0 ) {
rc = ber_printf( ber, "{e{s[V]}}",
mods[i]->mod_op & ~LDAP_MOD_BVALUES,
mods[i]->mod_type, mods[i]->mod_bvalues );
} else {
rc = ber_printf( ber, "{e{s[v]}}", mods[i]->mod_op,
mods[i]->mod_type, mods[i]->mod_values );
}
if ( rc == -1 ) {
lderr = LDAP_ENCODING_ERROR;
LDAP_SET_LDERRNO( ld, lderr, NULL, NULL );
ber_free( ber, 1 );
return( lderr );
}
}
if ( ber_printf( ber, "}}" ) == -1 ) {
lderr = LDAP_ENCODING_ERROR;
LDAP_SET_LDERRNO( ld, lderr, NULL, NULL );
ber_free( ber, 1 );
return( lderr );
}
if (( lderr = nsldapi_put_controls( ld, serverctrls, 1, ber ))
!= LDAP_SUCCESS ) {
ber_free( ber, 1 );
return( lderr );
}
/* send the message */
rc = nsldapi_send_initial_request( ld, *msgidp, LDAP_REQ_MODIFY,
(char *)dn, ber );
*msgidp = rc;
return( rc < 0 ? LDAP_GET_LDERRNO( ld, NULL, NULL ) : LDAP_SUCCESS );
}
int
LDAP_CALL
ldap_modify_s( LDAP *ld, const char *dn, LDAPMod **mods )
{
return( ldap_modify_ext_s( ld, dn, mods, NULL, NULL ));
}
int
LDAP_CALL
ldap_modify_ext_s( LDAP *ld, const char *dn, LDAPMod **mods,
LDAPControl **serverctrls, LDAPControl **clientctrls )
{
int msgid, err;
LDAPMessage *res;
if (( err = ldap_modify_ext( ld, dn, mods, serverctrls, clientctrls,
&msgid )) != LDAP_SUCCESS ) {
return( err );
}
if ( ldap_result( ld, msgid, 1, (struct timeval *)NULL, &res ) == -1 ) {
return( LDAP_GET_LDERRNO( ld, NULL, NULL ) );
}
return( ldap_result2error( ld, res, 1 ) );
}

View File

@@ -1,694 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*/
#include <windows.h>
#include <winsock.h>
#include <string.h>
// Purpose of this file is to implement an intermediate layer to our network
// services, the winsock.
// This intermediate layer will be able to function with and without a working
// winsock being present.
// The attempt to activate the winsock happens as would normally be expected,
// through the calling application's entry point to us, WSAStartup.
// Name of the winsock we would like to load.
// Diffs between OSs, Win32s is out in the cold if running 32 bits unless
// they also have a winsock name wsock32.dll.
#ifndef _WIN32
#define SZWINSOCK "winsock.dll"
#else
#define SZWINSOCK "wsock32.dll"
#endif
// Here is the enumeration for the winsock functions we have currently
// overridden (needed to run). Add more when needed.
// We use these to access proc addresses, and to hold a table of strings
// to obtain the proc addresses.
enum SockProc {
sp_WSAAsyncGetHostByName = 0,
sp_WSAAsyncSelect,
sp_WSACleanup,
sp_WSAGetLastError,
sp_WSASetLastError,
sp_WSAStartup,
sp___WSAFDIsSet,
sp_accept,
sp_bind,
sp_closesocket,
sp_connect,
sp_gethostbyname,
sp_gethostbyaddr,
sp_gethostname,
sp_getpeername,
sp_getsockname,
sp_getsockopt,
sp_getprotobyname,
sp_htonl,
sp_htons,
sp_inet_addr,
sp_ioctlsocket,
sp_listen,
sp_ntohl,
sp_ntohs,
sp_recv,
sp_select,
sp_send,
sp_setsockopt,
sp_shutdown,
sp_socket,
sp_inet_ntoa,
sp_MaxProcs // Total count.
};
// Array of function names used in GetProcAddress to fill in our
// proc array when needed.
// This array must match the enumerations exactly.
char *spName[(int)sp_MaxProcs] = {
"WSAAsyncGetHostByName",
"WSAAsyncSelect",
"WSACleanup",
"WSAGetLastError",
"WSASetLastError",
"WSAStartup",
"__WSAFDIsSet",
"accept",
"bind",
"closesocket",
"connect",
"gethostbyname",
"gethostbyaddr",
"gethostname",
"getpeername",
"getsockname",
"getsockopt",
"getprotobyname",
"htonl",
"htons",
"inet_addr",
"ioctlsocket",
"listen",
"ntohl",
"ntohs",
"recv",
"select",
"send",
"setsockopt",
"shutdown",
"socket",
"inet_ntoa"
};
// Array of proc addresses to the winsock functions.
// These can be NULL, indicating their absence (as in the case we couldn't
// load the winsock.dll or one of the functions wasn't loaded).
// The procs assigned in must corellate with the enumerations exactly.
FARPROC spArray[(int)sp_MaxProcs];
// Typedef all the different types of functions that we must cast the
// procs to in order to call without the compiler barfing.
// Prefix is always sp.
// Retval is next, spelled out.
// Parameters in their order are next, spelled out.
typedef int (PASCAL FAR *sp_int_WORD_LPWSADATA)(WORD, LPWSADATA);
typedef int (PASCAL FAR *sp_int_void)(void);
typedef HANDLE (PASCAL FAR *sp_HANDLE_HWND_uint_ccharFARp_charFARp_int)(HWND, unsigned int, const char FAR *, char FAR *, int);
typedef int (PASCAL FAR *sp_int_SOCKET_HWND_uint_long)(SOCKET, HWND, unsigned int, long);
typedef void (PASCAL FAR *sp_void_int)(int);
typedef int (PASCAL FAR *sp_int_SOCKET_fdsetFARp)(SOCKET, fd_set FAR *);
typedef SOCKET(PASCAL FAR *sp_SOCKET_SOCKET_sockaddrFARp_intFARp)(SOCKET, struct sockaddr FAR *, int FAR *);
typedef int (PASCAL FAR *sp_int_SOCKET_csockaddrFARp_int)(SOCKET, const struct sockaddr FAR *, int);
typedef int (PASCAL FAR *sp_int_SOCKET)(SOCKET);
typedef struct hostent FAR *(PASCAL FAR *sp_hostentFARp_ccharFARp)(const char FAR *);
typedef struct hostent FAR *(PASCAL FAR *sp_hostentFARp_ccharFARp_int_int)(const char FAR *, int, int);
typedef int (PASCAL FAR *sp_int_charFARp_int)(char FAR *, int);
typedef int (PASCAL FAR *sp_int_SOCKET_sockaddrFARp_intFARp)(SOCKET, struct sockaddr FAR *, int FAR *);
typedef int (PASCAL FAR *sp_int_SOCKET_int_int_charFARp_intFARp)(SOCKET, int, int, char FAR *, int FAR *);
typedef u_long (PASCAL FAR *sp_ulong_ulong)(u_long);
typedef u_short (PASCAL FAR *sp_ushort_ushort)(u_short);
typedef unsigned long (PASCAL FAR *sp_ulong_ccharFARp)(const char FAR *);
typedef int (PASCAL FAR *sp_int_SOCKET_long_ulongFARp)(SOCKET, long, u_long FAR *);
typedef int (PASCAL FAR *sp_int_SOCKET_int)(SOCKET, int);
typedef int (PASCAL FAR *sp_int_SOCKET_charFARp_int_int)(SOCKET, char FAR *, int, int);
typedef int (PASCAL FAR *sp_int_int_fdsetFARp_fdsetFARp_fdsetFARp_ctimevalFARp)(int,fd_set FAR *,fd_set FAR *,fd_set FAR *,const struct timeval FAR*);
typedef int (PASCAL FAR *sp_int_SOCKET_ccharFARp_int_int)(SOCKET, const char FAR *, int, int);
typedef int (PASCAL FAR *sp_int_SOCKET_int_int_ccharFARp_int)(SOCKET, int, int, const char FAR *, int);
typedef SOCKET (PASCAL FAR *sp_SOCKET_int_int_int)(int, int, int);
typedef char FAR * (PASCAL FAR *sp_charFARp_in_addr)(struct in_addr in);
typedef struct protoent FAR * (PASCAL FAR *sp_protoentFARcchar)(const char FAR *);
// Handle to the winsock, if loaded.
HINSTANCE hWinsock = NULL;
#ifndef _WIN32
// Last error code for the winsock.
int ispError = 0;
#endif
BOOL IsWinsockLoaded (int sp)
{
if (hWinsock == NULL)
{
WSADATA wsaData;
#ifdef _WIN32
static LONG sc_init = 0;
static DWORD sc_done = 0;
static CRITICAL_SECTION sc;
#endif
/* We need to wait here because another thread might be
in the routine already */
#ifdef _WIN32
if (0 == InterlockedExchange(&sc_init,1)) {
InitializeCriticalSection(&sc);
sc_done = 1;
}
while (0 == sc_done) Sleep(0);
EnterCriticalSection(&sc);
if (hWinsock == NULL) {
#endif
WSAStartup(0x0101, &wsaData);
#ifdef _WIN32
}
LeaveCriticalSection(&sc);
#endif
}
// Quick macro to tell if the winsock has actually loaded for a particular
// function.
// Debug version is a little more strict to make sure you get the names right.
#ifdef DEBUG
return hWinsock != NULL && spArray[(int)(sp)] != NULL;
#else // A little faster
return hWinsock != NULL;
#endif
}
// Here are the functions that we have taken over by not directly linking
// with the winsock import library or importing through the def file.
/* In win16 we simulate blocking commands as follows. Prior to issuing the
* command we make the socket not-blocking (WSAAsyncSelect does that).
* We then issue the command and see if it would have blocked. If so, we
* yield the processor and go to sleep until an event occurs that unblocks
* us (WSAAsyncSelect allowed us to register what that condition is). We
* keep repeating until we do not get a would-block indication when issuing
* the command. At that time we unregister the notification condition and
* return the result of the command to the caller.
*/
//#ifndef _WIN32
#if 0
#define NON_BLOCKING(command,condition,index,type) \
type iret; \
HWND hWndFrame = AfxGetApp()->m_pMainWnd->m_hWnd; \
while (TRUE) { \
if (WSAAsyncSelect(s, hWndFrame, msg_NetActivity, condition) \
== SOCKET_ERROR) { \
break; \
} \
if(IsWinsockLoaded(index)) { \
iret=command; \
if (!(iret==SOCKET_ERROR && WSAGetLastError()==WSAEWOULDBLOCK)) { \
WSAAsyncSelect(s, hWndFrame, msg_NetActivity, 0); \
return iret; \
} \
PR_Yield(); \
} else { \
break; \
} \
}
#else
#define NON_BLOCKING(command,condition,index,type) \
if(IsWinsockLoaded(index)) { \
return command; \
}
#endif
int PASCAL FAR WSAStartup(WORD wVersionRequested, LPWSADATA lpWSAData) {
// Our default return value is failure, though we change this regardless.
int iRetval = WSAVERNOTSUPPORTED;
HINSTANCE MyHandle;
// Before doing anything, clear out our proc array.
memset(spArray, 0, sizeof(spArray));
// attempt to load the real winsock.
MyHandle = LoadLibrary(SZWINSOCK);
#ifdef _WIN32
if(MyHandle != NULL) {
#else
if(MyHandle > HINSTANCE_ERROR) {
#endif
// Winsock was loaded.
// Get the proc addresses for each needed function next.
int spTraverse;
for(spTraverse = 0; spTraverse < (int)sp_MaxProcs; spTraverse++) {
spArray[spTraverse] = GetProcAddress(MyHandle, spName[spTraverse]);
if ( NULL == spArray[spTraverse] )
return iRetval;// Bad winsock? Bad function name?
}
hWinsock = MyHandle;
// AllRight, attempt to make our first proxied call.
if(IsWinsockLoaded(sp_WSAStartup)) {
iRetval = ((sp_int_WORD_LPWSADATA)spArray[sp_WSAStartup])(wVersionRequested, lpWSAData);
}
// If the return value is still an error at this point, we unload the DLL,
// so that we can act as though nothing happened and the user
// gets no network access.
if(iRetval != 0) {
// Clear out our proc array.
memset(spArray, 0, sizeof(spArray));
// Free up the winsock.
FreeLibrary(MyHandle);
MyHandle = NULL;
}
}
#ifndef _WIN32
else {
// Failed to load.
// Set this to NULL so it is clear.
hWinsock = NULL;
}
#endif
// Check our return value, if it isn't success, then we need to fake
// our own winsock implementation.
if(iRetval != 0) {
// We always return success.
iRetval = 0;
// Fill in the structure.
// Return the version requested as the version supported.
lpWSAData->wVersion = wVersionRequested;
lpWSAData->wHighVersion = wVersionRequested;
// Fill in a discription.
strcpy(lpWSAData->szDescription, "Mozock DLL internal implementation.");
strcpy(lpWSAData->szSystemStatus, "Winsock running, allowing no network access.");
// Report a nice round number for sockets and datagram sizes.
lpWSAData->iMaxSockets = 4096;
lpWSAData->iMaxUdpDg = 4096;
// No vendor information.
lpWSAData->lpVendorInfo = NULL;
}
return(iRetval);
}
int PASCAL FAR WSACleanup(void) {
int iRetval = 0;
// Handling normally or internally.
// When IsWinsockLoaded() is called and hWinsock is NULL, it winds up calling WSAStartup
// which wedges rpcrt4.dll on win95 with some winsock implementations. Bug: 81359.
if(hWinsock && IsWinsockLoaded(sp_WSACleanup)) {
// Call their cleanup routine.
// We could set the return value here, but it is meaning less.
// We always return success.
iRetval = ((sp_int_void)spArray[sp_WSACleanup])();
//ASSERT(iRetval == 0);
iRetval = 0;
}
// Wether or not it succeeded, we free off the library here.
// Clear out our proc table too.
memset(spArray, 0, sizeof(spArray));
if(hWinsock != NULL) {
FreeLibrary(hWinsock);
hWinsock = NULL;
}
return(iRetval);
}
HANDLE PASCAL FAR WSAAsyncGetHostByName(HWND hWnd, unsigned int wMsg, const char FAR *name, char FAR *buf, int buflen) {
// Normal or shim.
if(IsWinsockLoaded(sp_WSAAsyncGetHostByName)) {
return(((sp_HANDLE_HWND_uint_ccharFARp_charFARp_int)spArray[sp_WSAAsyncGetHostByName])(hWnd, wMsg, name, buf, buflen));
}
// Must return error here.
// Set our last error value to be that the net is down.
WSASetLastError(WSAENETDOWN);
return(NULL);
}
int PASCAL FAR WSAAsyncSelect(SOCKET s, HWND hWnd, unsigned int wMsg, long lEvent) {
// Normal or shim.
if(IsWinsockLoaded(sp_WSAAsyncSelect)) {
return(((sp_int_SOCKET_HWND_uint_long)spArray[sp_WSAAsyncSelect])(s, hWnd, wMsg, lEvent));
}
// Must return error here.
WSASetLastError(WSAENETDOWN);
return(SOCKET_ERROR);
}
int PASCAL FAR WSAGetLastError(void) {
// See if someone else can handle.
if(IsWinsockLoaded(sp_WSAGetLastError)) {
return(((sp_int_void)spArray[sp_WSAGetLastError])());
}
#ifndef _WIN32
{
// Fake it.
int iRetval = ispError;
ispError = 0;
return(iRetval);
}
#else
// Use default OS handler.
return(GetLastError());
#endif
}
void PASCAL FAR WSASetLastError(int iError) {
// See if someone else can handle.
if(IsWinsockLoaded(sp_WSASetLastError)) {
((sp_void_int)spArray[sp_WSASetLastError])(iError);
return;
}
#ifndef _WIN32
// Fake it.
ispError = iError;
return;
#else
// Use default OS handler.
SetLastError(iError);
return;
#endif
}
int PASCAL FAR __WSAFDIsSet(SOCKET fd, fd_set FAR *set) {
int i;
// See if someone else will handle.
if(IsWinsockLoaded(sp___WSAFDIsSet)) {
return(((sp_int_SOCKET_fdsetFARp)spArray[sp___WSAFDIsSet])(fd, set));
}
// Default implementation.
i = set->fd_count;
while (i--) {
if (set->fd_array[i] == fd) {
return 1;
}
}
return 0;
}
SOCKET PASCAL FAR accept(SOCKET s, struct sockaddr FAR *addr, int FAR *addrlen) {
// Internally or shim
NON_BLOCKING(
(((sp_SOCKET_SOCKET_sockaddrFARp_intFARp)spArray[sp_accept])(s, addr, addrlen)),
FD_ACCEPT, sp_accept, SOCKET);
// Fail.
WSASetLastError(WSAENETDOWN);
return(INVALID_SOCKET);
}
int PASCAL FAR bind(SOCKET s, const struct sockaddr FAR *name, int namelen) {
// Internally or shim
if(IsWinsockLoaded(sp_bind)) {
return(((sp_int_SOCKET_csockaddrFARp_int)spArray[sp_bind])(s, name, namelen));
}
// Fail.
WSASetLastError(WSAENETDOWN);
return(SOCKET_ERROR);
}
int PASCAL FAR closesocket(SOCKET s) {
// Internally or shim.
NON_BLOCKING(
(((sp_int_SOCKET)spArray[sp_closesocket])(s)),
FD_CLOSE, sp_closesocket, int);
// Error.
WSASetLastError(WSAENETDOWN);
return(SOCKET_ERROR);
}
int PASCAL FAR connect(SOCKET s, const struct sockaddr FAR *name, int namelen) {
// Internally or shim.
if(IsWinsockLoaded(sp_connect)) {
/* This could block and so it would seem that the NON_BLOCK
* macro should be used here. However it was causing a crash
* and so it was decided to allow blocking here instead
*/
return (((sp_int_SOCKET_csockaddrFARp_int)spArray[sp_connect])(s, name, namelen));
}
// Err.
WSASetLastError(WSAENETDOWN);
return(SOCKET_ERROR);
}
struct hostent FAR * PASCAL FAR gethostbyname(const char FAR *name) {
if(IsWinsockLoaded(sp_gethostbyname)) {
return(((sp_hostentFARp_ccharFARp)spArray[sp_gethostbyname])(name));
}
WSASetLastError(WSAENETDOWN);
return(NULL);
}
struct hostent FAR * PASCAL FAR gethostbyaddr(const char FAR *addr, int len, int type) {
if(IsWinsockLoaded(sp_gethostbyaddr)) {
return(((sp_hostentFARp_ccharFARp_int_int)spArray[sp_gethostbyaddr])(addr, len, type));
}
WSASetLastError(WSAENETDOWN);
return(NULL);
}
int PASCAL FAR gethostname(char FAR *name, int namelen) {
if(IsWinsockLoaded(sp_gethostname)) {
return(((sp_int_charFARp_int)spArray[sp_gethostname])(name, namelen));
}
WSASetLastError(WSAENETDOWN);
return(SOCKET_ERROR);
}
int PASCAL FAR getpeername(SOCKET s, struct sockaddr FAR *name, int FAR *namelen) {
if(IsWinsockLoaded(sp_getpeername)) {
return(((sp_int_SOCKET_sockaddrFARp_intFARp)spArray[sp_getpeername])(s, name, namelen));
}
WSASetLastError(WSAENETDOWN);
return(SOCKET_ERROR);
}
int PASCAL FAR getsockname(SOCKET s, struct sockaddr FAR *name, int FAR *namelen) {
if(IsWinsockLoaded(sp_getsockname)) {
return(((sp_int_SOCKET_sockaddrFARp_intFARp)spArray[sp_getsockname])(s, name, namelen));
}
WSASetLastError(WSAENETDOWN);
return(SOCKET_ERROR);
}
int PASCAL FAR getsockopt(SOCKET s, int level, int optname, char FAR *optval, int FAR *optlen) {
if(IsWinsockLoaded(sp_getsockopt)) {
return(((sp_int_SOCKET_int_int_charFARp_intFARp)spArray[sp_getsockopt])(s, level, optname, optval, optlen));
}
WSASetLastError(WSAENETDOWN);
return(SOCKET_ERROR);
}
struct protoent FAR * PASCAL getprotobyname(const char FAR * name) {
if(IsWinsockLoaded(sp_getprotobyname)) {
return(((sp_protoentFARcchar)spArray[sp_getprotobyname])(name));
}
WSASetLastError(WSAENETDOWN);
return NULL;
}
u_long PASCAL FAR htonl(u_long hostlong) {
if(IsWinsockLoaded(sp_htonl)) {
return(((sp_ulong_ulong)spArray[sp_htonl])(hostlong));
}
#ifndef _WIN32
return
(((hostlong&0xff)<<24) + ((hostlong&0xff00)<<8) +
((hostlong&0xff0000)>>8) + ((hostlong&0xff000000)>>24));
#else
// Just return what was passed in.
return(hostlong);
#endif
}
u_short PASCAL FAR htons(u_short hostshort) {
if(IsWinsockLoaded(sp_htons)) {
return(((sp_ushort_ushort)spArray[sp_htons])(hostshort));
}
#ifndef _WIN32
return (((hostshort&0xff)<<8) + ((hostshort&0xff00)>>8));
#else
// Just return what was passed in.
return(hostshort);
#endif
}
u_long PASCAL FAR ntohl(u_long hostlong) {
if(IsWinsockLoaded(sp_ntohl)) {
return(((sp_ulong_ulong)spArray[sp_ntohl])(hostlong));
}
#ifndef _WIN32
return
(((hostlong&0xff)<<24) + ((hostlong&0xff00)<<8) +
((hostlong&0xff0000)>>8) + ((hostlong&0xff000000)>>24));
#else
// Just return what was passed in.
return(hostlong);
#endif
}
u_short PASCAL FAR ntohs(u_short hostshort) {
if(IsWinsockLoaded(sp_ntohs)) {
return(((sp_ushort_ushort)spArray[sp_ntohs])(hostshort));
}
#ifndef _WIN32
return (((hostshort&0xff)<<8) + ((hostshort&0xff00)>>8));
#else
// Just return what was passed in.
return(hostshort);
#endif
}
unsigned long PASCAL FAR inet_addr(const char FAR *cp) {
if(IsWinsockLoaded(sp_inet_addr)) {
return(((sp_ulong_ccharFARp)spArray[sp_inet_addr])(cp));
}
return(INADDR_NONE);
}
int PASCAL FAR ioctlsocket(SOCKET s, long cmd, u_long FAR *argp) {
if(IsWinsockLoaded(sp_ioctlsocket)) {
return(((sp_int_SOCKET_long_ulongFARp)spArray[sp_ioctlsocket])(s, cmd, argp));
}
WSASetLastError(WSAENETDOWN);
return(SOCKET_ERROR);
}
int PASCAL FAR listen(SOCKET s, int backlog) {
if(IsWinsockLoaded(sp_listen)) {
return(((sp_int_SOCKET_int)spArray[sp_listen])(s, backlog));
}
WSASetLastError(WSAENETDOWN);
return(SOCKET_ERROR);
}
int PASCAL FAR recv(SOCKET s, char FAR *buf, int len, int flags) {
NON_BLOCKING(
(((sp_int_SOCKET_charFARp_int_int)spArray[sp_recv])(s, buf, len, flags)),
FD_READ, sp_recv, int);
WSASetLastError(WSAENETDOWN);
return(SOCKET_ERROR);
}
int PASCAL FAR select(int nfds, fd_set FAR *readfds, fd_set FAR *writefds, fd_set FAR *exceptfds, const struct timeval FAR *timeout) {
// If there's nothing to do, stop now before we go off into dll land.
// Optimization, boyz.
if((readfds && readfds->fd_count) || (writefds && writefds->fd_count) || (exceptfds && exceptfds->fd_count)) {
if(IsWinsockLoaded(sp_select)) {
return(((sp_int_int_fdsetFARp_fdsetFARp_fdsetFARp_ctimevalFARp)spArray[sp_select])(nfds,readfds,writefds,exceptfds,timeout));
}
WSASetLastError(WSAENETDOWN);
return(SOCKET_ERROR);
}
// No need to go to the DLL, there is nothing to do.
return(0);
}
int PASCAL FAR send(SOCKET s, const char FAR *buf, int len, int flags) {
NON_BLOCKING(
(((sp_int_SOCKET_ccharFARp_int_int)spArray[sp_send])(s, buf, len, flags)),
FD_WRITE, sp_send, int);
WSASetLastError(WSAENETDOWN);
return(SOCKET_ERROR);
}
int PASCAL FAR setsockopt(SOCKET s, int level, int optname, const char FAR *optval, int optlen) {
if(IsWinsockLoaded(sp_setsockopt)) {
return(((sp_int_SOCKET_int_int_ccharFARp_int)spArray[sp_setsockopt])(s, level, optname, optval, optlen));
}
WSASetLastError(WSAENETDOWN);
return(SOCKET_ERROR);
}
int PASCAL FAR shutdown(SOCKET s, int how) {
if(IsWinsockLoaded(sp_shutdown)) {
return(((sp_int_SOCKET_int)spArray[sp_shutdown])(s, how));
}
WSASetLastError(WSAENETDOWN);
return(SOCKET_ERROR);
}
SOCKET PASCAL FAR socket(int af, int type, int protocol) {
if(IsWinsockLoaded(sp_socket)) {
return(((sp_SOCKET_int_int_int)spArray[sp_socket])(af, type, protocol));
}
WSASetLastError(WSAENETDOWN);
return(INVALID_SOCKET);
}
char FAR * PASCAL FAR inet_ntoa(struct in_addr in) {
if(IsWinsockLoaded(sp_inet_ntoa)) {
return ((sp_charFARp_in_addr)spArray[sp_inet_ntoa])(in);
}
WSASetLastError(WSAENETDOWN);
return NULL;
}

View File

@@ -1,606 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*/
#include <nspr.h>
#include <stdio.h>
#include <ldap.h>
#define NAME "cn=Directory Manager"
#define PASSWORD "secret99"
#define BASE "o=Airius.com"
static int simplebind( LDAP *ld, char *msg, int tries );
static void search_thread( void * );
static void modify_thread( void * );
static void add_thread( void * );
static void delete_thread( void * );
static void set_ld_error();
static int get_ld_error();
static void set_errno();
static int get_errno();
static void tsd_setup();
static void *my_mutex_alloc( void );
static void my_mutex_free( void * );
static int my_mutex_lock( void * );
static int my_mutex_unlock( void * );
static LDAPHostEnt *my_gethostbyname( const char *name, LDAPHostEnt *result,
char *buffer, int buflen, int *statusp, void *extradata );
static LDAPHostEnt *my_gethostbyaddr( const char *addr, int length,
int type, LDAPHostEnt *result, char *buffer, int buflen,
int *statusp, void *extradata );
static LDAPHostEnt *copyPRHostEnt2LDAPHostEnt( LDAPHostEnt *ldhp,
PRHostEnt *prhp );
typedef struct ldapmsgwrapper {
LDAPMessage *lmw_messagep;
struct ldapmsgwrapper *lmw_next;
} ldapmsgwrapper;
#define CONNECTION_ERROR( lderr ) ( (lderr) == LDAP_SERVER_DOWN || \
(lderr) == LDAP_CONNECT_ERROR )
LDAP *ld;
PRUintn tsdindex;
#ifdef LDAP_MEMCACHE
LDAPMemCache *memcache = NULL;
#define MEMCACHE_SIZE (256*1024) /* 256K bytes */
#define MEMCACHE_TTL (15*60) /* 15 minutes */
#endif
main( int argc, char **argv )
{
PRThread *search_tid, *search_tid2, *search_tid3;
PRThread *search_tid4, *modify_tid, *add_tid;
PRThread *delete_tid;
struct ldap_thread_fns tfns;
struct ldap_dns_fns dnsfns;
int rc;
if ( argc != 3 ) {
fprintf( stderr, "usage: %s host port\n", argv[0] );
exit( 1 );
}
PR_Init( PR_USER_THREAD, PR_PRIORITY_NORMAL, 0 );
if ( PR_NewThreadPrivateIndex( &tsdindex, NULL ) != PR_SUCCESS ) {
perror( "PR_NewThreadPrivateIndex" );
exit( 1 );
}
tsd_setup(); /* for main thread */
if ( (ld = ldap_init( argv[1], atoi( argv[2] ) )) == NULL ) {
perror( "ldap_open" );
exit( 1 );
}
/* set thread function pointers */
memset( &tfns, '\0', sizeof(struct ldap_thread_fns) );
tfns.ltf_mutex_alloc = my_mutex_alloc;
tfns.ltf_mutex_free = my_mutex_free;
tfns.ltf_mutex_lock = my_mutex_lock;
tfns.ltf_mutex_unlock = my_mutex_unlock;
tfns.ltf_get_errno = get_errno;
tfns.ltf_set_errno = set_errno;
tfns.ltf_get_lderrno = get_ld_error;
tfns.ltf_set_lderrno = set_ld_error;
tfns.ltf_lderrno_arg = NULL;
if ( ldap_set_option( ld, LDAP_OPT_THREAD_FN_PTRS, (void *) &tfns )
!= 0 ) {
ldap_perror( ld, "ldap_set_option: thread functions" );
exit( 1 );
}
/* set DNS function pointers */
memset( &dnsfns, '\0', sizeof(struct ldap_dns_fns) );
dnsfns.lddnsfn_bufsize = PR_NETDB_BUF_SIZE;
dnsfns.lddnsfn_gethostbyname = my_gethostbyname;
dnsfns.lddnsfn_gethostbyaddr = my_gethostbyaddr;
if ( ldap_set_option( ld, LDAP_OPT_DNS_FN_PTRS, (void *)&dnsfns )
!= 0 ) {
ldap_perror( ld, "ldap_set_option: DNS functions" );
exit( 1 );
}
#ifdef LDAP_MEMCACHE
/* create the in-memory cache */
if (( rc = ldap_memcache_init( MEMCACHE_TTL, MEMCACHE_SIZE, NULL,
&tfns, &memcache )) != LDAP_SUCCESS ) {
fprintf( stderr, "ldap_memcache_init failed - %s\n",
ldap_err2string( rc ));
exit( 1 );
}
if (( rc = ldap_memcache_set( ld, memcache )) != LDAP_SUCCESS ) {
fprintf( stderr, "ldap_memcache_set failed - %s\n",
ldap_err2string( rc ));
exit( 1 );
}
#endif
/*
* set option so that the next call to ldap_simple_bind_s() after
* the server connection is lost will attempt to reconnect.
*/
if ( ldap_set_option( ld, LDAP_OPT_RECONNECT, LDAP_OPT_ON ) != 0 ) {
ldap_perror( ld, "ldap_set_option: reconnect" );
exit( 1 );
}
/* initial bind */
if ( simplebind( ld, "ldap_simple_bind_s/main", 1 ) != LDAP_SUCCESS ) {
exit( 1 );
}
/* create the operation threads */
if ( (search_tid = PR_CreateThread( PR_USER_THREAD, search_thread,
"1", PR_PRIORITY_NORMAL, PR_GLOBAL_THREAD, PR_UNJOINABLE_THREAD,
0 )) == NULL ) {
perror( "PR_CreateThread search_thread" );
exit( 1 );
}
if ( (modify_tid = PR_CreateThread( PR_USER_THREAD, modify_thread,
"2", PR_PRIORITY_NORMAL, PR_GLOBAL_THREAD, PR_UNJOINABLE_THREAD,
0 )) == NULL ) {
perror( "PR_CreateThread modify_thread" );
exit( 1 );
}
if ( (search_tid2 = PR_CreateThread( PR_USER_THREAD, search_thread,
"3", PR_PRIORITY_NORMAL, PR_GLOBAL_THREAD, PR_UNJOINABLE_THREAD,
0 )) == NULL ) {
perror( "PR_CreateThread search_thread 2" );
exit( 1 );
}
if ( (add_tid = PR_CreateThread( PR_USER_THREAD, add_thread,
"4", PR_PRIORITY_NORMAL, PR_GLOBAL_THREAD, PR_UNJOINABLE_THREAD,
0 )) == NULL ) {
perror( "PR_CreateThread add_thread" );
exit( 1 );
}
if ( (search_tid3 = PR_CreateThread( PR_USER_THREAD, search_thread,
"5", PR_PRIORITY_NORMAL, PR_GLOBAL_THREAD, PR_UNJOINABLE_THREAD,
0 )) == NULL ) {
perror( "PR_CreateThread search_thread 3" );
exit( 1 );
}
if ( (delete_tid = PR_CreateThread( PR_USER_THREAD, delete_thread,
"6", PR_PRIORITY_NORMAL, PR_GLOBAL_THREAD, PR_UNJOINABLE_THREAD,
0 )) == NULL ) {
perror( "PR_CreateThread delete_thread" );
exit( 1 );
}
if ( (search_tid4 = PR_CreateThread( PR_USER_THREAD, search_thread,
"7", PR_PRIORITY_NORMAL, PR_GLOBAL_THREAD, PR_UNJOINABLE_THREAD,
0 )) == NULL ) {
perror( "PR_CreateThread search_thread 4" );
exit( 1 );
}
PR_Cleanup();
return( 0 );
}
static int
simplebind( LDAP *ld, char *msg, int tries )
{
int rc;
while ( tries-- > 0 ) {
rc = ldap_simple_bind_s( ld, NAME, PASSWORD );
if ( rc != LDAP_SUCCESS ) {
ldap_perror( ld, msg );
}
if ( tries == 0 || !CONNECTION_ERROR( rc )) {
return( rc );
}
fprintf( stderr,
"%s: sleeping for 5 secs - will try %d more time(s)...\n",
msg, tries );
sleep( 5 );
}
return( rc );
}
static void
search_thread( void *arg1 )
{
LDAPMessage *res;
LDAPMessage *e;
char *a;
char **v;
char *dn;
BerElement *ber;
int i, rc, msgid;
void *tsd;
char *id = arg1;
printf( "search_thread\n" );
tsd_setup();
for ( ;; ) {
printf( "%sSearching...\n", id );
if ( (msgid = ldap_search( ld, BASE, LDAP_SCOPE_SUBTREE,
"(objectclass=*)", NULL, 0 )) == -1 ) {
ldap_perror( ld, "ldap_search_s" );
rc = ldap_get_lderrno( ld, NULL, NULL );
if ( CONNECTION_ERROR( rc ) && simplebind( ld,
"bind-search_thread", 5 ) != LDAP_SUCCESS ) {
return;
}
continue;
}
while ( (rc = ldap_result( ld, msgid, 0, NULL, &res ))
== LDAP_RES_SEARCH_ENTRY ) {
for ( e = ldap_first_entry( ld, res ); e != NULL;
e = ldap_next_entry( ld, e ) ) {
dn = ldap_get_dn( ld, e );
/* printf( "%sdn: %s\n", id, dn ); */
free( dn );
for ( a = ldap_first_attribute( ld, e, &ber );
a != NULL; a = ldap_next_attribute( ld, e,
ber ) ) {
v = ldap_get_values( ld, e, a );
for ( i = 0; v && v[i] != 0; i++ ) {
/*
printf( "%s%s: %s\n", id, a,
v[i] );
*/
}
ldap_value_free( v );
ldap_memfree( a );
}
if ( ber != NULL ) {
ber_free( ber, 0 );
}
}
ldap_msgfree( res );
/* printf( "%s\n", id ); */
}
if ( rc == -1 || ldap_result2error( ld, res, 0 ) !=
LDAP_SUCCESS ) {
ldap_perror( ld, "ldap_search" );
} else {
printf( "%sDone with one round\n", id );
}
if ( rc == -1 ) {
rc = ldap_get_lderrno( ld, NULL, NULL );
if ( CONNECTION_ERROR( rc ) && simplebind( ld,
"bind-search_thread", 5 ) != LDAP_SUCCESS ) {
return;
}
}
}
}
static void
modify_thread( void *arg1 )
{
LDAPMessage *res;
LDAPMessage *e;
int i, modentry, entries, msgid, rc;
LDAPMod mod;
LDAPMod *mods[2];
char *vals[2];
char *dn;
char *id = arg1;
ldapmsgwrapper *list, *lmwp, *lastlmwp;
printf( "modify_thread\n" );
tsd_setup();
if ( (msgid = ldap_search( ld, BASE, LDAP_SCOPE_SUBTREE,
"(objectclass=*)", NULL, 0 )) == -1 ) {
ldap_perror( ld, "ldap_search_s" );
exit( 1 );
}
entries = 0;
list = lastlmwp = NULL;
while ( (rc = ldap_result( ld, msgid, 0, NULL, &res ))
== LDAP_RES_SEARCH_ENTRY ) {
entries++;
if (( lmwp = (ldapmsgwrapper *)
malloc( sizeof( ldapmsgwrapper ))) == NULL ) {
perror( "modify_thread: malloc" );
exit( 1 );
}
lmwp->lmw_messagep = res;
lmwp->lmw_next = NULL;
if ( lastlmwp == NULL ) {
list = lastlmwp = lmwp;
} else {
lastlmwp->lmw_next = lmwp;
}
lastlmwp = lmwp;
}
if ( rc == -1 || ldap_result2error( ld, res, 0 ) != LDAP_SUCCESS ) {
ldap_perror( ld, "modify_thread: ldap_search" );
exit( 1 );
} else {
entries++;
printf( "%sModify got %d entries\n", id, entries );
}
mods[0] = &mod;
mods[1] = NULL;
vals[0] = "bar";
vals[1] = NULL;
for ( ;; ) {
modentry = rand() % entries;
for ( i = 0, lmwp = list; lmwp != NULL && i < modentry;
i++, lmwp = lmwp->lmw_next ) {
/* NULL */
}
if ( lmwp == NULL ) {
fprintf( stderr,
"%sModify could not find entry %d of %d\n",
id, modentry, entries );
continue;
}
e = lmwp->lmw_messagep;
printf( "%sPicked entry %d of %d\n", id, i, entries );
dn = ldap_get_dn( ld, e );
mod.mod_op = LDAP_MOD_REPLACE;
mod.mod_type = "description";
mod.mod_values = vals;
printf( "%sModifying (%s)\n", id, dn );
if (( rc = ldap_modify_s( ld, dn, mods )) != LDAP_SUCCESS ) {
ldap_perror( ld, "ldap_modify_s" );
if ( CONNECTION_ERROR( rc ) && simplebind( ld,
"bind-modify_thread", 5 ) != LDAP_SUCCESS ) {
return;
}
}
free( dn );
}
}
static void
add_thread( void *arg1 )
{
LDAPMod mod[5];
LDAPMod *mods[6];
char dn[BUFSIZ], name[40];
char *cnvals[2], *snvals[2], *ocvals[2];
int i, rc;
char *id = arg1;
printf( "add_thread\n" );
tsd_setup();
for ( i = 0; i < 5; i++ ) {
mods[i] = &mod[i];
}
mods[5] = NULL;
mod[0].mod_op = 0;
mod[0].mod_type = "cn";
mod[0].mod_values = cnvals;
cnvals[1] = NULL;
mod[1].mod_op = 0;
mod[1].mod_type = "sn";
mod[1].mod_values = snvals;
snvals[1] = NULL;
mod[2].mod_op = 0;
mod[2].mod_type = "objectclass";
mod[2].mod_values = ocvals;
ocvals[0] = "person";
ocvals[1] = NULL;
mods[3] = NULL;
for ( ;; ) {
sprintf( name, "%d", rand() );
sprintf( dn, "cn=%s, " BASE, name );
cnvals[0] = name;
snvals[0] = name;
printf( "%sAdding entry (%s)\n", id, dn );
if (( rc = ldap_add_s( ld, dn, mods )) != LDAP_SUCCESS ) {
ldap_perror( ld, "ldap_add_s" );
if ( CONNECTION_ERROR( rc ) && simplebind( ld,
"bind-add_thread", 5 ) != LDAP_SUCCESS ) {
return;
}
}
}
}
static void
delete_thread( void *arg1 )
{
LDAPMessage *res;
char dn[BUFSIZ], name[40];
int entries, msgid, rc;
char *id = arg1;
printf( "delete_thread\n" );
tsd_setup();
if ( (msgid = ldap_search( ld, BASE, LDAP_SCOPE_SUBTREE,
"(objectclass=*)", NULL, 0 )) == -1 ) {
ldap_perror( ld, "delete_thread: ldap_search_s" );
exit( 1 );
}
entries = 0;
while ( (rc = ldap_result( ld, msgid, 0, NULL, &res ))
== LDAP_RES_SEARCH_ENTRY ) {
entries++;
ldap_msgfree( res );
}
entries++;
if ( rc == -1 || ldap_result2error( ld, res, 1 ) != LDAP_SUCCESS ) {
ldap_perror( ld, "delete_thread: ldap_search" );
} else {
printf( "%sDelete got %d entries\n", id, entries );
}
for ( ;; ) {
sprintf( name, "%d", rand() );
sprintf( dn, "cn=%s, " BASE, name );
printf( "%sDeleting entry (%s)\n", id, dn );
if (( rc = ldap_delete_s( ld, dn )) != LDAP_SUCCESS ) {
ldap_perror( ld, "ldap_delete_s" );
if ( CONNECTION_ERROR( rc ) && simplebind( ld,
"bind-delete_thread", 5 ) != LDAP_SUCCESS ) {
return;
}
}
}
}
struct ldap_error {
int le_errno;
char *le_matched;
char *le_errmsg;
};
static void
tsd_setup()
{
void *tsd;
tsd = (void *) PR_GetThreadPrivate( tsdindex );
if ( tsd != NULL ) {
fprintf( stderr, "tsd non-null!\n" );
exit( 1 );
}
tsd = (void *) calloc( 1, sizeof(struct ldap_error) );
if ( PR_SetThreadPrivate( tsdindex, tsd ) != 0 ) {
perror( "PR_SetThreadPrivate" );
exit( 1 );
}
}
static void
set_ld_error( int err, char *matched, char *errmsg, void *dummy )
{
struct ldap_error *le;
le = (void *) PR_GetThreadPrivate( tsdindex );
le->le_errno = err;
if ( le->le_matched != NULL ) {
ldap_memfree( le->le_matched );
}
le->le_matched = matched;
if ( le->le_errmsg != NULL ) {
ldap_memfree( le->le_errmsg );
}
le->le_errmsg = errmsg;
}
static int
get_ld_error( char **matched, char **errmsg, void *dummy )
{
struct ldap_error *le;
le = PR_GetThreadPrivate( tsdindex );
if ( matched != NULL ) {
*matched = le->le_matched;
}
if ( errmsg != NULL ) {
*errmsg = le->le_errmsg;
}
return( le->le_errno );
}
static void
set_errno( int oserrno )
{
/* XXXmcs: should this be PR_SetError( oserrno, 0 )? */
PR_SetError( PR_UNKNOWN_ERROR, oserrno );
}
static int
get_errno( void )
{
/* XXXmcs: should this be PR_GetError()? */
return( PR_GetOSError());
}
static void *
my_mutex_alloc( void )
{
return( (void *)PR_NewLock());
}
static void
my_mutex_free( void *mutex )
{
PR_DestroyLock( (PRLock *)mutex );
}
static int
my_mutex_lock( void *mutex )
{
PR_Lock( (PRLock *)mutex );
return( 0 );
}
static int
my_mutex_unlock( void *mutex )
{
if ( PR_Unlock( (PRLock *)mutex ) == PR_FAILURE ) {
return( -1 );
}
return( 0 );
}
static LDAPHostEnt *
my_gethostbyname( const char *name, LDAPHostEnt *result,
char *buffer, int buflen, int *statusp, void *extradata )
{
PRHostEnt prhent;
if ( PR_GetHostByName( name, buffer, buflen,
&prhent ) != PR_SUCCESS ) {
return( NULL );
}
return( copyPRHostEnt2LDAPHostEnt( result, &prhent ));
}
static LDAPHostEnt *
my_gethostbyaddr( const char *addr, int length, int type, LDAPHostEnt *result,
char *buffer, int buflen, int *statusp, void *extradata )
{
PRHostEnt prhent;
if ( PR_GetHostByAddr( (PRNetAddr *)addr, buffer, buflen,
&prhent ) != PR_SUCCESS ) {
return( NULL );
}
return( copyPRHostEnt2LDAPHostEnt( result, &prhent ));
}
static LDAPHostEnt *
copyPRHostEnt2LDAPHostEnt( LDAPHostEnt *ldhp, PRHostEnt *prhp )
{
ldhp->ldaphe_name = prhp->h_name;
ldhp->ldaphe_aliases = prhp->h_aliases;
ldhp->ldaphe_addrtype = prhp->h_addrtype;
ldhp->ldaphe_length = prhp->h_length;
ldhp->ldaphe_addr_list = prhp->h_addr_list;
return( ldhp );
}

View File

@@ -1,417 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*/
/*
* Copyright (c) 1995 Regents of the University of Michigan.
* All rights reserved.
*/
/*
* open.c
*/
#if 0
#ifndef lint
static char copyright[] = "@(#) Copyright (c) 1995 Regents of the University of Michigan.\nAll rights reserved.\n";
#endif
#endif
#include "ldap-int.h"
/* OK, this stuff broke the Macintosh Dogbert build. Please fix it.
** The files you included do not exist for client builds on macintosh.
** XXXmcs: noted.
*/
#if defined(XP_MAC) && defined(MOZILLA_CLIENT)
#define VI_PRODUCTVERSION 3 /* fixme */
#else
#include "sdkver.h"
#endif
#ifndef INADDR_LOOPBACK
#define INADDR_LOOPBACK ((unsigned long) 0x7f000001)
#endif
#ifndef MAXHOSTNAMELEN
#define MAXHOSTNAMELEN 64
#endif
#ifdef LDAP_DEBUG
int ldap_debug;
#endif
/*
* global defaults for callbacks are stored here. callers of the API set
* these by passing a NULL "ld" to ldap_set_option(). Everything in
* nsldapi_ld_defaults can be overridden on a per-ld basis as well (the
* memory allocation functions are global to all ld's).
*/
struct ldap nsldapi_ld_defaults;
struct ldap_memalloc_fns nsldapi_memalloc_fns = { 0, 0, 0, 0 };
int nsldapi_initialized = 0;
void
nsldapi_initialize_defaults( void )
{
if ( nsldapi_initialized ) {
return;
}
nsldapi_initialized = 1;
memset( &nsldapi_memalloc_fns, 0, sizeof( nsldapi_memalloc_fns ));
memset( &nsldapi_ld_defaults, 0, sizeof( nsldapi_ld_defaults ));
nsldapi_ld_defaults.ld_options = LDAP_BITOPT_REFERRALS;
nsldapi_ld_defaults.ld_version = LDAP_VERSION;
nsldapi_ld_defaults.ld_lberoptions = LBER_OPT_USE_DER;
nsldapi_ld_defaults.ld_refhoplimit = LDAP_DEFAULT_REFHOPLIMIT;
#if defined( STR_TRANSLATION ) && defined( LDAP_DEFAULT_CHARSET )
nsldapi_ld_defaults.ld_lberoptions |= LBER_OPT_TRANSLATE_STRINGS;
#if LDAP_CHARSET_8859 == LDAP_DEFAULT_CHARSET
ldap_set_string_translators( &nsldapi_ld_defaults, ldap_8859_to_t61,
ldap_t61_to_8859 );
#endif /* LDAP_CHARSET_8859 == LDAP_DEFAULT_CHARSET */
#endif /* STR_TRANSLATION && LDAP_DEFAULT_CHARSET */
}
/*
* ldap_version - report version levels for important properties
* This function is deprecated. Use ldap_get_option( ..., LDAP_OPT_API_INFO,
* ... ) instead.
*
* Example:
* LDAPVersion ver;
* ldap_version( &ver );
* if ( (ver.sdk_version < 100) || (ver.SSL_version < 300) )
* fprintf( stderr, "LDAP SDK level insufficient\n" );
*
* or:
* if ( ldap_version(NULL) < 100 )
* fprintf( stderr, "LDAP SDK level insufficient\n" );
*
*/
int
LDAP_CALL
ldap_version( LDAPVersion *ver )
{
if ( NULL != ver )
{
memset( ver, 0, sizeof(*ver) );
ver->sdk_version = (int)(VI_PRODUCTVERSION * 100);
ver->protocol_version = LDAP_VERSION_MAX * 100;
ver->SSL_version = SSL_VERSION * 100;
/*
* set security to none by default
*/
ver->security_level = LDAP_SECURITY_NONE;
#if defined(LINK_SSL)
#if defined(NS_DOMESTIC)
ver->security_level = 128;
#elif defined(NSS_EXPORT)
ver->security_level = 40;
#endif
#endif
}
return (int)(VI_PRODUCTVERSION * 100);
}
/*
* ldap_open - initialize and connect to an ldap server. A magic cookie to
* be used for future communication is returned on success, NULL on failure.
* "host" may be a space-separated list of hosts or IP addresses
*
* Example:
* LDAP *ld;
* ld = ldap_open( hostname, port );
*/
LDAP *
LDAP_CALL
ldap_open( const char *host, int port )
{
LDAP *ld;
LDAPDebug( LDAP_DEBUG_TRACE, "ldap_open\n", 0, 0, 0 );
if (( ld = ldap_init( host, port )) == NULL ) {
return( NULL );
}
LDAP_MUTEX_LOCK( ld, LDAP_CONN_LOCK );
if ( nsldapi_open_ldap_defconn( ld ) < 0 ) {
LDAP_MUTEX_UNLOCK( ld, LDAP_CONN_LOCK );
ldap_ld_free( ld, NULL, NULL, 0 );
return( NULL );
}
LDAP_MUTEX_UNLOCK( ld, LDAP_CONN_LOCK );
LDAPDebug( LDAP_DEBUG_TRACE, "ldap_open successful, ld_host is %s\n",
( ld->ld_host == NULL ) ? "(null)" : ld->ld_host, 0, 0 );
return( ld );
}
/*
* ldap_init - initialize the LDAP library. A magic cookie to be used for
* future communication is returned on success, NULL on failure.
* "defhost" may be a space-separated list of hosts or IP addresses
*
* Example:
* LDAP *ld;
* ld = ldap_init( default_hostname, default_port );
*/
LDAP *
LDAP_CALL
ldap_init( const char *defhost, int defport )
{
LDAP *ld;
int i;
if ( !nsldapi_initialized ) {
nsldapi_initialize_defaults();
}
if ( defport < 0 || defport > LDAP_PORT_MAX ) {
LDAPDebug( LDAP_DEBUG_ANY,
"ldap_init: port %d is invalid (port numbers must range from 1 to %d)\n",
defport, LDAP_PORT_MAX, 0 );
#if !defined( macintosh ) && !defined( DOS )
errno = EINVAL;
#endif
return( NULL );
}
LDAPDebug( LDAP_DEBUG_TRACE, "ldap_init\n", 0, 0, 0 );
if ( (ld = (LDAP*)NSLDAPI_MALLOC( sizeof(struct ldap) )) == NULL ) {
return( NULL );
}
/* copy defaults */
SAFEMEMCPY( ld, &nsldapi_ld_defaults, sizeof( struct ldap ));
if (( ld->ld_selectinfo = nsldapi_new_select_info()) == NULL ||
( ld->ld_sbp = ber_sockbuf_alloc()) == NULL ||
( defhost != NULL &&
( ld->ld_defhost = nsldapi_strdup( defhost )) == NULL ) ||
((ld->ld_mutex = (void **) NSLDAPI_CALLOC( LDAP_MAX_LOCK, sizeof(void *))) == NULL )) {
if ( ld->ld_sbp != NULL ) {
ber_sockbuf_free( ld->ld_sbp );
}
if ( ld->ld_selectinfo != NULL ) {
nsldapi_free_select_info( ld->ld_selectinfo );
}
if( ld->ld_mutex != NULL )
NSLDAPI_FREE( ld->ld_mutex );
NSLDAPI_FREE( (char*)ld );
return( NULL );
}
/* install Sockbuf I/O functions if set in LDAP * */
if ( ld->ld_read_fn != NULL ) {
ber_sockbuf_set_option( ld->ld_sbp, LBER_SOCKBUF_OPT_READ_FN,
(void *)ld->ld_read_fn );
}
if ( ld->ld_write_fn != NULL ) {
ber_sockbuf_set_option( ld->ld_sbp, LBER_SOCKBUF_OPT_WRITE_FN,
(void *)ld->ld_write_fn );
}
/* allocate mutexes */
for( i=0; i<LDAP_MAX_LOCK; i++ ) {
ld->ld_mutex[i] = LDAP_MUTEX_ALLOC( ld );
ld->ld_mutex_threadid[i] = (void *) -1;
ld->ld_mutex_refcnt[i] = 0;
}
/* set default port */
ld->ld_defport = ( defport == 0 ) ? LDAP_PORT : defport;
return( ld );
}
int
nsldapi_open_ldap_connection( LDAP *ld, Sockbuf *sb, char *host, int defport,
char **krbinstancep, int async, int secure )
{
int rc = 0, port;
char *p, *q, *r;
char *curhost, hostname[ 2*MAXHOSTNAMELEN ];
LDAPDebug( LDAP_DEBUG_TRACE, "nsldapi_open_ldap_connection\n", 0, 0,
0 );
defport = htons( (unsigned short)defport );
if ( host != NULL && *host != '\0' ) {
for ( p = host; p != NULL && *p != '\0'; p = q ) {
if (( q = strchr( p, ' ' )) != NULL ) {
strncpy( hostname, p, q - p );
hostname[ q - p ] = '\0';
curhost = hostname;
while ( *q == ' ' ) {
++q;
}
} else {
curhost = p; /* avoid copy if possible */
q = NULL;
}
if (( r = strchr( curhost, ':' )) != NULL ) {
if ( curhost != hostname ) {
strcpy( hostname, curhost ); /* now copy */
r = hostname + ( r - curhost );
curhost = hostname;
}
*r++ = '\0';
port = htons( (short)atoi( r ));
} else {
port = defport;
}
if (( rc = nsldapi_connect_to_host( ld, sb, curhost,
0, port, async, secure )) != -1 ) {
break;
}
}
} else {
rc = nsldapi_connect_to_host( ld, sb, NULL, htonl( INADDR_LOOPBACK ),
defport, async, secure );
}
if ( rc == -1 ) {
return( rc );
}
if ( krbinstancep != NULL ) {
#ifdef KERBEROS
if (( *krbinstancep = nsldapi_host_connected_to( sb )) != NULL &&
( p = strchr( *krbinstancep, '.' )) != NULL ) {
*p = '\0';
}
#else /* KERBEROS */
krbinstancep = NULL;
#endif /* KERBEROS */
}
return( rc );
}
/* returns 0 if connection opened and -1 if an error occurs */
int
nsldapi_open_ldap_defconn( LDAP *ld )
{
LDAPServer *srv;
if (( srv = (LDAPServer *)NSLDAPI_CALLOC( 1, sizeof( LDAPServer ))) ==
NULL || ( ld->ld_defhost != NULL && ( srv->lsrv_host =
nsldapi_strdup( ld->ld_defhost )) == NULL )) {
LDAP_SET_LDERRNO( ld, LDAP_NO_MEMORY, NULL, NULL );
return( -1 );
}
srv->lsrv_port = ld->ld_defport;
#ifdef LDAP_SSLIO_HOOKS
if (( ld->ld_options & LDAP_BITOPT_SSL ) != 0 ) {
srv->lsrv_options |= LDAP_SRV_OPT_SECURE;
}
#endif
if (( ld->ld_defconn = nsldapi_new_connection( ld, &srv, 1, 1, 0 ))
== NULL ) {
if ( ld->ld_defhost != NULL ) {
NSLDAPI_FREE( srv->lsrv_host );
}
NSLDAPI_FREE( (char *)srv );
return( -1 );
}
++ld->ld_defconn->lconn_refcnt; /* so it never gets closed/freed */
return( 0 );
}
/*
* memory allocation functions. we include these in open.c since every
* LDAP application is likely to pull the rest of the code in this file
* in anyways.
*/
void *
nsldapi_malloc( size_t size )
{
return( nsldapi_memalloc_fns.ldapmem_malloc == NULL ?
malloc( size ) :
nsldapi_memalloc_fns.ldapmem_malloc( size ));
}
void *
nsldapi_calloc( size_t nelem, size_t elsize )
{
return( nsldapi_memalloc_fns.ldapmem_calloc == NULL ?
calloc( nelem, elsize ) :
nsldapi_memalloc_fns.ldapmem_calloc( nelem, elsize ));
}
void *
nsldapi_realloc( void *ptr, size_t size )
{
return( nsldapi_memalloc_fns.ldapmem_realloc == NULL ?
realloc( ptr, size ) :
nsldapi_memalloc_fns.ldapmem_realloc( ptr, size ));
}
void
nsldapi_free( void *ptr )
{
if ( nsldapi_memalloc_fns.ldapmem_free == NULL ) {
free( ptr );
} else {
nsldapi_memalloc_fns.ldapmem_free( ptr );
}
}
/* if s is NULL, returns NULL */
char *
nsldapi_strdup( const char *s )
{
char *p;
if ( s == NULL ||
(p = (char *)NSLDAPI_MALLOC( strlen( s ) + 1 )) == NULL )
return( NULL );
strcpy( p, s );
return( p );
}

View File

@@ -1,757 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*/
/*
* Copyright (c) 1995 Regents of the University of Michigan.
* All rights reserved.
*/
/*
* os-ip.c -- platform-specific TCP & UDP related code
*/
#if 0
#ifndef lint
static char copyright[] = "@(#) Copyright (c) 1995 Regents of the University of Michigan.\nAll rights reserved.\n";
#endif
#endif
#include "ldap-int.h"
#ifdef LDAP_CONNECT_MUST_NOT_BE_INTERRUPTED
#include <signal.h>
#endif
#ifdef NSLDAPI_HAVE_POLL
#include <poll.h>
#endif
#ifdef _WINDOWS
#define CLOSESOCKET(_s) closesocket((_s))
#else
#define CLOSESOCKET(_s) close((_s))
#endif
struct selectinfo {
fd_set si_readfds;
fd_set si_writefds;
fd_set si_use_readfds;
fd_set si_use_writefds;
#ifdef NSLDAPI_HAVE_POLL
struct pollfd *si_pollfds;
int si_pollfds_size;
#endif
};
#ifdef NSLDAPI_HAVE_POLL
static int add_to_pollfds( int fd, struct selectinfo *sip, short events );
static int clear_from_pollfds( int fd, struct selectinfo *sip,
short events );
static int find_in_pollfds( int fd, struct selectinfo *sip, short revents );
#endif
#ifdef irix
#ifndef _PR_THREADS
/*
* XXXmcs: on IRIX NSPR's poll() and select() wrappers will crash if NSPR
* has not been initialized. We work around the problem by bypassing
* the NSPR wrapper functions and going directly to the OS' functions.
*/
#define NSLDAPI_POLL _poll
#define NSLDAPI_SELECT _select
extern int _poll(struct pollfd *fds, unsigned long nfds, int timeout);
extern int _select(int nfds, fd_set *readfds, fd_set *writefds,
fd_set *exceptfds, struct timeval *timeout);
#else
#define NSLDAPI_POLL poll
#define NSLDAPI_SELECT select
#endif
#else
#define NSLDAPI_POLL poll
#define NSLDAPI_SELECT select
#endif
int
nsldapi_connect_to_host( LDAP *ld, Sockbuf *sb, char *host,
nsldapi_in_addr_t address, int port, int async, int secure )
/*
* if host == NULL, connect using address
* "address" and "port" must be in network byte order
* zero is returned upon success, -1 if fatal error, -2 EINPROGRESS
* if -1 is returned, ld_errno is set
* non-zero async means don't wait for connect
*/
{
int rc, i, s, connected, use_hp;
struct sockaddr_in sin;
char **addrlist, *ldhpbuf, *ldhpbuf_allocd;
LDAPHostEnt ldhent, *ldhp;
struct hostent *hp;
#ifdef GETHOSTBYNAME_BUF_T
GETHOSTBYNAME_BUF_T hbuf;
struct hostent hent;
#endif
int err;
#ifdef _WINDOWS
u_long iostatus; /* for ioctl call */
#else
int iostatus; /* for ioctl call */
#endif
LDAPDebug( LDAP_DEBUG_TRACE, "nsldapi_connect_to_host: %s:%d\n",
( host == NULL ) ? "(by address)" : host,
ntohs( (unsigned short)port ), 0 );
if ( secure && ld->ld_ssl_enable_fn == NULL ) {
LDAP_SET_LDERRNO( ld, LDAP_LOCAL_ERROR, NULL, NULL );
return( -1 );
}
ldhpbuf_allocd = NULL;
ldhp = NULL;
hp = NULL;
s = 0;
connected = use_hp = 0;
addrlist = NULL;
if ( host != NULL && ( address = inet_addr( host )) == -1 ) {
if ( ld->ld_dns_gethostbyname_fn == NULL ) {
if (( hp = GETHOSTBYNAME( host, &hent, hbuf,
sizeof(hbuf), &err )) != NULL ) {
addrlist = hp->h_addr_list;
}
} else {
/*
* DNS callback installed... use it.
*/
#ifdef GETHOSTBYNAME_buf_t
/* avoid allocation by using hbuf if large enough */
if ( sizeof( hbuf ) < ld->ld_dns_bufsize ) {
ldhpbuf = ldhpbuf_allocd
= NSLDAPI_MALLOC( ld->ld_dns_bufsize );
} else {
ldhpbuf = (char *)hbuf;
}
#else /* GETHOSTBYNAME_buf_t */
ldhpbuf = ldhpbuf_allocd = NSLDAPI_MALLOC(
ld->ld_dns_bufsize );
#endif /* GETHOSTBYNAME_buf_t */
if ( ldhpbuf == NULL ) {
LDAP_SET_LDERRNO( ld, LDAP_NO_MEMORY, NULL,
NULL );
return( -1 );
}
if (( ldhp = ld->ld_dns_gethostbyname_fn( host,
&ldhent, ldhpbuf, ld->ld_dns_bufsize, &err,
ld->ld_dns_extradata )) != NULL ) {
addrlist = ldhp->ldaphe_addr_list;
}
}
if ( addrlist == NULL ) {
LDAP_SET_LDERRNO( ld, LDAP_CONNECT_ERROR, NULL, NULL );
LDAP_SET_ERRNO( ld, EHOSTUNREACH ); /* close enough */
if ( ldhpbuf_allocd != NULL ) {
NSLDAPI_FREE( ldhpbuf_allocd );
}
return( -1 );
}
use_hp = 1;
}
rc = -1;
for ( i = 0; !use_hp || ( addrlist[ i ] != 0 ); i++ ) {
if ( ld->ld_socket_fn == NULL ) {
s = socket( AF_INET, SOCK_STREAM, 0 );
} else {
s = ld->ld_socket_fn( AF_INET, SOCK_STREAM, 0 );
}
/*
* if the socket() call failed or it returned a socket larger
* than we can deal with, return a "local error."
*/
#ifdef _WINDOWS
if ( s < 0 ) {
#elif NSLDAPI_HAVE_POLL
if ( s < 0 || ( ld->ld_select_fn != NULL && s >= FD_SETSIZE )) {
#else /* not on Windows and do not have poll() */
if ( s < 0 || s >= FD_SETSIZE ) {
#endif
char *errmsg;
if ( s < 0 ) {
errmsg = "unable to create a socket";
} else {
errmsg = "can't use socket >= FD_SETSIZE";
if ( ld->ld_close_fn == NULL ) {
CLOSESOCKET( s );
} else {
ld->ld_close_fn( s );
}
}
errmsg = nsldapi_strdup( errmsg );
LDAP_SET_LDERRNO( ld, LDAP_LOCAL_ERROR, NULL, errmsg );
if ( ldhpbuf_allocd != NULL ) {
NSLDAPI_FREE( ldhpbuf_allocd );
}
return( -1 );
}
if ( async && ld->ld_options & LDAP_BITOPT_ASYNC ) {
iostatus = 1;
#ifdef FIONBIO
if ( ld->ld_ioctl_fn == NULL ) {
#ifdef _WINDOWS
err = ioctlsocket( s, FIONBIO, &iostatus );
#else
#ifdef XP_OS2
err = ioctl( s, FIONBIO, (caddr_t)&iostatus, sizeof(iostatus) );
#else
err = ioctl( s, FIONBIO, (caddr_t)&iostatus );
#endif
#endif /* _WINDOWS */
} else {
#ifdef _WINDOWS
err = ld->ld_ioctl_fn( s, FIONBIO, &iostatus );
#else
err = ld->ld_ioctl_fn( s, FIONBIO, (caddr_t)&iostatus );
#endif /* _WINDOWS */
}
if ( err == -1 ) {
LDAPDebug( LDAP_DEBUG_ANY,
"FIONBIO ioctl failed on %d\n", s, 0, 0 );
}
#endif
}
(void)memset( (char *)&sin, 0, sizeof( struct sockaddr_in ));
sin.sin_family = AF_INET;
sin.sin_port = port;
if ( secure && ld->ld_ssl_enable_fn( s ) < 0 ) {
if ( ld->ld_close_fn == NULL ) {
CLOSESOCKET( s );
} else {
ld->ld_close_fn( s );
}
LDAP_SET_LDERRNO( ld, LDAP_LOCAL_ERROR, NULL, NULL );
if ( ldhpbuf_allocd != NULL ) {
NSLDAPI_FREE( ldhpbuf_allocd );
}
return( -1 );
}
SAFEMEMCPY( (char *) &sin.sin_addr.s_addr,
( use_hp ? (char *) addrlist[ i ] :
(char *) &address ), sizeof( sin.sin_addr.s_addr) );
if ( ld->ld_connect_fn == NULL ) {
#ifdef LDAP_CONNECT_MUST_NOT_BE_INTERRUPTED
/*
* Block all of the signals that might interrupt connect() since there
* is an OS bug that causes connect() to fail if it is restarted. Look in
* ns/netsite/ldap/include/portable.h for the definition of
* LDAP_CONNECT_MUST_NOT_BE_INTERRUPTED
*/
sigset_t ints_off, oldset;
sigemptyset( &ints_off );
sigaddset( &ints_off, SIGALRM );
sigaddset( &ints_off, SIGIO );
sigaddset( &ints_off, SIGCLD );
sigprocmask( SIG_BLOCK, &ints_off, &oldset );
#endif
err = connect( s, (struct sockaddr *)&sin,
sizeof( struct sockaddr_in ));
#ifdef LDAP_CONNECT_MUST_NOT_BE_INTERRUPTED
/*
* restore original signal mask
*/
sigprocmask( SIG_SETMASK, &oldset, 0 );
#endif
} else {
if (ld->ld_options & LDAP_BITOPT_ASYNC)
{
err = 0;
}
else {
err = ld->ld_connect_fn( s,
(struct sockaddr *)&sin,
sizeof( struct sockaddr_in ));
}
}
if ( err >= 0 ) {
connected = 1;
rc = 0;
break;
} else
{
if ( async && ld->ld_options & LDAP_BITOPT_ASYNC) {
#ifdef _WINDOWS
if (err == -1 && WSAGetLastError() == WSAEWOULDBLOCK)
LDAP_SET_ERRNO( ld, EWOULDBLOCK );
#endif /* _WINDOWS */
err = LDAP_GET_ERRNO( ld );
if ( NSLDAPI_ERRNO_IO_INPROGRESS( err )) {
LDAPDebug( LDAP_DEBUG_TRACE, "connect would block...\n",
0, 0, 0 );
rc = -2;
break;
}
}
#ifdef LDAP_DEBUG
if ( ldap_debug & LDAP_DEBUG_TRACE ) {
perror( (char *)inet_ntoa( sin.sin_addr ));
}
#endif
if ( ld->ld_close_fn == NULL ) {
CLOSESOCKET( s );
} else {
ld->ld_close_fn( s );
}
if ( !use_hp ) {
break;
}
}
}
if ( ldhpbuf_allocd != NULL ) {
NSLDAPI_FREE( ldhpbuf_allocd );
}
sb->sb_sd = s;
if ( connected ) {
LDAPDebug( LDAP_DEBUG_TRACE, "sd %d connected to: %s\n",
s, inet_ntoa( sin.sin_addr ), 0 );
}
if ( rc == -1 ) {
LDAP_SET_LDERRNO( ld, LDAP_CONNECT_ERROR, NULL, NULL );
}
return( rc );
}
void
nsldapi_close_connection( LDAP *ld, Sockbuf *sb )
{
if ( ld->ld_close_fn == NULL ) {
CLOSESOCKET( sb->sb_sd );
} else {
ld->ld_close_fn( sb->sb_sd );
}
}
#ifdef KERBEROS
char *
nsldapi_host_connected_to( Sockbuf *sb )
{
struct hostent *hp;
char *p;
int len;
struct sockaddr_in sin;
(void)memset( (char *)&sin, 0, sizeof( struct sockaddr_in ));
len = sizeof( sin );
if ( getpeername( sb->sb_sd, (struct sockaddr *)&sin, &len ) == -1 ) {
return( NULL );
}
/*
* do a reverse lookup on the addr to get the official hostname.
* this is necessary for kerberos to work right, since the official
* hostname is used as the kerberos instance.
*/
/* XXXmcs: need to use DNS callbacks here XXX */
XXX
if (( hp = gethostbyaddr( (char *) &sin.sin_addr,
sizeof( sin.sin_addr ), AF_INET )) != NULL ) {
if ( hp->h_name != NULL ) {
return( nsldapi_strdup( hp->h_name ));
}
}
return( NULL );
}
#endif /* KERBEROS */
void
nsldapi_mark_select_write( LDAP *ld, Sockbuf *sb )
{
struct selectinfo *sip;
LDAP_MUTEX_LOCK( ld, LDAP_SELECT_LOCK );
sip = (struct selectinfo *)ld->ld_selectinfo;
#ifdef NSLDAPI_HAVE_POLL
if ( ld->ld_select_fn == NULL ) {
if ( add_to_pollfds( sb->sb_sd, sip, POLLOUT )) {
++ld->ld_selectwritecnt;
}
LDAP_MUTEX_UNLOCK( ld, LDAP_SELECT_LOCK );
return;
}
#endif
if ( !FD_ISSET( sb->sb_sd, &sip->si_writefds )) {
FD_SET( sb->sb_sd, &sip->si_writefds );
++ld->ld_selectwritecnt;
}
LDAP_MUTEX_UNLOCK( ld, LDAP_SELECT_LOCK );
}
void
nsldapi_mark_select_read( LDAP *ld, Sockbuf *sb )
{
struct selectinfo *sip;
LDAP_MUTEX_LOCK( ld, LDAP_SELECT_LOCK );
sip = (struct selectinfo *)ld->ld_selectinfo;
#ifdef NSLDAPI_HAVE_POLL
if ( ld->ld_select_fn == NULL ) {
if ( add_to_pollfds( sb->sb_sd, sip, POLLIN )) {
++ld->ld_selectreadcnt;
}
LDAP_MUTEX_UNLOCK( ld, LDAP_SELECT_LOCK );
return;
}
#endif
if ( !FD_ISSET( sb->sb_sd, &sip->si_readfds )) {
FD_SET( sb->sb_sd, &sip->si_readfds );
++ld->ld_selectreadcnt;
}
LDAP_MUTEX_UNLOCK( ld, LDAP_SELECT_LOCK );
}
void
nsldapi_mark_select_clear( LDAP *ld, Sockbuf *sb )
{
struct selectinfo *sip;
LDAP_MUTEX_LOCK( ld, LDAP_SELECT_LOCK );
sip = (struct selectinfo *)ld->ld_selectinfo;
#ifdef NSLDAPI_HAVE_POLL
if ( ld->ld_select_fn == NULL ) {
if ( clear_from_pollfds( sb->sb_sd, sip, POLLIN )) {
--ld->ld_selectreadcnt;
}
if ( clear_from_pollfds( sb->sb_sd, sip, POLLOUT )) {
--ld->ld_selectwritecnt;
}
LDAP_MUTEX_UNLOCK( ld, LDAP_SELECT_LOCK );
return;
}
#endif
if ( FD_ISSET( sb->sb_sd, &sip->si_writefds )) {
FD_CLR( sb->sb_sd, &sip->si_writefds );
--ld->ld_selectwritecnt;
}
if ( FD_ISSET( sb->sb_sd, &sip->si_readfds )) {
FD_CLR( sb->sb_sd, &sip->si_readfds );
--ld->ld_selectreadcnt;
}
LDAP_MUTEX_UNLOCK( ld, LDAP_SELECT_LOCK );
}
int
nsldapi_is_write_ready( LDAP *ld, Sockbuf *sb )
{
struct selectinfo *sip;
LDAP_MUTEX_LOCK( ld, LDAP_SELECT_LOCK );
sip = (struct selectinfo *)ld->ld_selectinfo;
#ifdef NSLDAPI_HAVE_POLL
if ( ld->ld_select_fn == NULL ) {
LDAP_MUTEX_UNLOCK( ld, LDAP_SELECT_LOCK );
/*
* if we are using poll() we do something a little tricky: if
* any bits in the socket's returned events field other than
* POLLIN (ready for read) are set, we return true. This
* is done so we notice when a server closes a connection
* or when another error occurs. The actual error will be
* noticed later when we call write() or send().
*/
return( find_in_pollfds( sb->sb_sd, sip, ~POLLIN ));
}
#endif
LDAP_MUTEX_UNLOCK( ld, LDAP_SELECT_LOCK );
return( FD_ISSET( sb->sb_sd, &sip->si_use_writefds ));
}
int
nsldapi_is_read_ready( LDAP *ld, Sockbuf *sb )
{
struct selectinfo *sip;
LDAP_MUTEX_LOCK( ld, LDAP_SELECT_LOCK );
sip = (struct selectinfo *)ld->ld_selectinfo;
#ifdef NSLDAPI_HAVE_POLL
if ( ld->ld_select_fn == NULL ) {
LDAP_MUTEX_UNLOCK( ld, LDAP_SELECT_LOCK );
/*
* if we are using poll() we do something a little tricky: if
* any bits in the socket's returned events field other than
* POLLOUT (ready for write) are set, we return true. This
* is done so we notice when a server closes a connection
* or when another error occurs. The actual error will be
* noticed later when we call read() or recv().
*/
return( find_in_pollfds( sb->sb_sd, sip, ~POLLOUT ));
}
#endif
LDAP_MUTEX_UNLOCK( ld, LDAP_SELECT_LOCK );
return( FD_ISSET( sb->sb_sd, &sip->si_use_readfds ));
}
void *
nsldapi_new_select_info()
{
struct selectinfo *sip;
if (( sip = (struct selectinfo *)NSLDAPI_CALLOC( 1,
sizeof( struct selectinfo ))) != NULL ) {
FD_ZERO( &sip->si_readfds );
FD_ZERO( &sip->si_writefds );
}
return( (void *)sip );
}
void
nsldapi_free_select_info( void *vsip )
{
struct selectinfo *sip = (struct selectinfo *)vsip;
#ifdef NSLDAPI_HAVE_POLL
if ( sip->si_pollfds != NULL ) {
NSLDAPI_FREE( sip->si_pollfds );
}
#endif
NSLDAPI_FREE( sip );
}
int
nsldapi_do_ldap_select( LDAP *ld, struct timeval *timeout )
{
struct selectinfo *sip;
static int tblsize = 0;
LDAPDebug( LDAP_DEBUG_TRACE, "nsldapi_do_ldap_select\n", 0, 0, 0 );
if ( tblsize == 0 ) {
#if defined(_WINDOWS) || defined(XP_OS2)
tblsize = FOPEN_MAX; /* ANSI spec. */
#else
#ifdef USE_SYSCONF
tblsize = sysconf( _SC_OPEN_MAX );
#else /* USE_SYSCONF */
tblsize = getdtablesize();
#endif /* USE_SYSCONF */
#endif /* _WINDOWS */
if ( tblsize >= FD_SETSIZE ) {
/*
* clamp value so we don't overrun the fd_set structure
*/
tblsize = FD_SETSIZE - 1;
}
}
if ( ld->ld_selectreadcnt <= 0 && ld->ld_selectwritecnt <= 0 ) {
return( 0 ); /* simulate a timeout */
}
sip = (struct selectinfo *)ld->ld_selectinfo;
#ifdef NSLDAPI_HAVE_POLL
if ( ld->ld_select_fn == NULL ) {
int to;
if ( timeout == NULL ) {
to = -1;
} else {
to = timeout->tv_sec * 1000 + timeout->tv_usec / 1000;
}
return( NSLDAPI_POLL( sip->si_pollfds, sip->si_pollfds_size,
to ));
}
#endif
sip->si_use_readfds = sip->si_readfds;
sip->si_use_writefds = sip->si_writefds;
if ( ld->ld_select_fn != NULL ) {
return( ld->ld_select_fn( tblsize, &sip->si_use_readfds,
&sip->si_use_writefds, NULL, timeout ));
} else {
#ifdef HPUX9
return( NSLDAPI_SELECT( tblsize, (int *)&sip->si_use_readfds,
(int *)&sip->si_use_writefds, NULL, timeout ));
#else
return( NSLDAPI_SELECT( tblsize, &sip->si_use_readfds,
&sip->si_use_writefds, NULL, timeout ));
#endif
}
}
#ifdef NSLDAPI_HAVE_POLL
/*
* returns 1 if "fd" was added to pollfds.
* returns 1 if some of the bits in "events" were added to pollfds.
* returns 0 if no changes were made.
*/
static int
add_to_pollfds( int fd, struct selectinfo *sip, short events )
{
int i, openslot;
/* first we check to see if "fd" is already in our pollfds */
openslot = -1;
for ( i = 0; i < sip->si_pollfds_size; ++i ) {
if ( sip->si_pollfds[ i ].fd == fd ) {
if (( sip->si_pollfds[ i ].events & events )
!= events ) {
sip->si_pollfds[ i ].events |= events;
return( 1 );
} else {
return( 0 );
}
}
if ( sip->si_pollfds[ i ].fd == -1 && openslot == -1 ) {
openslot = i; /* remember for later */
}
}
/*
* "fd" is not currently being poll'd on -- add to array.
* if we need to expand the pollfds array, we do it in increments of 5.
*/
if ( openslot == -1 ) {
struct pollfd *newpollfds;
if ( sip->si_pollfds_size == 0 ) {
newpollfds = (struct pollfd *)NSLDAPI_MALLOC(
5 * sizeof( struct pollfd ));
} else {
newpollfds = (struct pollfd *)NSLDAPI_REALLOC(
sip->si_pollfds, (5 + sip->si_pollfds_size) *
sizeof( struct pollfd ));
}
if ( newpollfds == NULL ) { /* XXXmcs: no way to return err! */
return( 0 );
}
sip->si_pollfds = newpollfds;
openslot = sip->si_pollfds_size;
sip->si_pollfds_size += 5;
for ( i = openslot + 1; i < sip->si_pollfds_size; ++i ) {
sip->si_pollfds[ i ].fd = -1;
sip->si_pollfds[ i ].events =
sip->si_pollfds[ i ].revents = 0;
}
}
sip->si_pollfds[ openslot ].fd = fd;
sip->si_pollfds[ openslot ].events = events;
sip->si_pollfds[ openslot ].revents = 0;
return( 1 );
}
/*
* returns 1 if any "events" from "fd" were removed from pollfds
* returns 0 of "fd" wasn't in pollfds or if events did not overlap.
*/
static int
clear_from_pollfds( int fd, struct selectinfo *sip,
short events )
{
int i;
for ( i = 0; i < sip->si_pollfds_size; ++i ) {
if ( sip->si_pollfds[i].fd == fd ) {
if (( sip->si_pollfds[ i ].events & events ) != 0 ) {
sip->si_pollfds[ i ].events &= ~events;
if ( sip->si_pollfds[ i ].events == 0 ) {
sip->si_pollfds[i].fd = -1;
}
return( 1 ); /* events overlap */
} else {
return( 0 ); /* events do not overlap */
}
}
}
return( 0 ); /* "fd" was not found */
}
/*
* returns 1 if any "revents" from "fd" were set in pollfds revents field.
* returns 0 if not.
*/
static int
find_in_pollfds( int fd, struct selectinfo *sip, short revents )
{
int i;
for ( i = 0; i < sip->si_pollfds_size; ++i ) {
if ( sip->si_pollfds[i].fd == fd ) {
if (( sip->si_pollfds[ i ].revents & revents ) != 0 ) {
return( 1 ); /* revents overlap */
} else {
return( 0 ); /* revents do not overlap */
}
}
}
return( 0 ); /* "fd" was not found */
}
#endif /* NSLDAPI_HAVE_POLL */

View File

@@ -1,88 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*/
#include "ldap-int.h"
/* ldap_create_proxyauth_control:
Parameters are
ld LDAP pointer to the desired connection
dn The dn used in the proxy auth
ctl_iscritical Indicates whether the control is critical of not. If
this field is non-zero, the operation will only be car-
ried out if the control is recognized by the server
and/or client
ctrlp the address of a place to put the constructed control
*/
int
LDAP_CALL
ldap_create_proxyauth_control (
LDAP *ld,
const char *dn,
const char ctl_iscritical,
LDAPControl **ctrlp
)
{
BerElement *ber;
int rc;
if ( !NSLDAPI_VALID_LDAP_POINTER( ld )) {
return( LDAP_PARAM_ERROR );
}
if ( ctrlp == NULL ) {
LDAP_SET_LDERRNO( ld, LDAP_PARAM_ERROR, NULL, NULL );
return ( LDAP_PARAM_ERROR );
}
if (NULL == dn)
{
dn = "";
}
/* create a ber package to hold the controlValue */
if ( ( nsldapi_alloc_ber_with_options( ld, &ber ) ) != LDAP_SUCCESS ) {
LDAP_SET_LDERRNO( ld, LDAP_NO_MEMORY, NULL, NULL );
return( LDAP_NO_MEMORY );
}
if ( LBER_ERROR == ber_printf( ber,
"{s}",
dn ) )
{
LDAP_SET_LDERRNO( ld, LDAP_ENCODING_ERROR, NULL, NULL );
ber_free( ber, 1 );
return( LDAP_ENCODING_ERROR );
}
rc = nsldapi_build_control( LDAP_CONTROL_PROXYAUTH, ber, 1,
ctl_iscritical, ctrlp );
LDAP_SET_LDERRNO( ld, rc, NULL, NULL );
return( rc );
}

View File

@@ -1,174 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*/
/*
* psearch.c - Persistent search and "Entry Change Notification" support.
*/
#include "ldap-int.h"
int
LDAP_CALL
ldap_create_persistentsearch_control( LDAP *ld, int changetypes,
int changesonly, int return_echg_ctls, char ctl_iscritical,
LDAPControl **ctrlp )
{
BerElement *ber;
int rc;
if ( !NSLDAPI_VALID_LDAP_POINTER( ld )) {
return( LDAP_PARAM_ERROR );
}
if ( ctrlp == NULL || ( changetypes & ~LDAP_CHANGETYPE_ANY ) != 0 ) {
rc = LDAP_PARAM_ERROR;
goto report_error_and_return;
}
/*
* create a Persistent Search control. The control value looks like this:
*
* PersistentSearch ::= SEQUENCE {
* changeTypes INTEGER,
* -- the changeTypes field is the logical OR of
* -- one or more of these values: add (1), delete (2),
* -- modify (4), modDN (8). It specifies which types of
* -- changes will cause an entry to be returned.
* changesOnly BOOLEAN, -- skip initial search?
* returnECs BOOLEAN, -- return "Entry Change" controls?
* }
*/
if (( nsldapi_alloc_ber_with_options( ld, &ber )) != LDAP_SUCCESS ) {
rc = LDAP_NO_MEMORY;
goto report_error_and_return;
}
if ( ber_printf( ber, "{ibb}", changetypes, changesonly,
return_echg_ctls ) == -1 ) {
ber_free( ber, 1 );
rc = LDAP_ENCODING_ERROR;
goto report_error_and_return;
}
rc = nsldapi_build_control( LDAP_CONTROL_PERSISTENTSEARCH, ber, 1,
ctl_iscritical, ctrlp );
report_error_and_return:
LDAP_SET_LDERRNO( ld, rc, NULL, NULL );
return( rc );
}
int
LDAP_CALL
ldap_parse_entrychange_control( LDAP *ld, LDAPControl **ctrls, int *chgtypep,
char **prevdnp, int *chgnumpresentp, long *chgnump )
{
BerElement *ber;
int rc, i, changetype;
unsigned long len;
long along;
char *previousdn;
if ( !NSLDAPI_VALID_LDAP_POINTER( ld )) {
return( LDAP_PARAM_ERROR );
}
/*
* find the entry change notification in the list of controls
*/
for ( i = 0; ctrls != NULL && ctrls[i] != NULL; ++i ) {
if ( strcmp( ctrls[i]->ldctl_oid, LDAP_CONTROL_ENTRYCHANGE ) == 0 ) {
break;
}
}
if ( ctrls == NULL || ctrls[i] == NULL ) {
rc = LDAP_CONTROL_NOT_FOUND;
goto report_error_and_return;
}
/*
* allocate a BER element from the control value and parse it. The control
* value should look like this:
*
* EntryChangeNotification ::= SEQUENCE {
* changeType ENUMERATED {
* add (1), -- these values match the
* delete (2), -- values used for changeTypes
* modify (4), -- in the PersistentSearch control.
* modDN (8),
* },
* previousDN LDAPDN OPTIONAL, -- modDN ops. only
* changeNumber INTEGER OPTIONAL, -- if supported
* }
*/
if (( ber = ber_init( &(ctrls[i]->ldctl_value))) == NULL ) {
rc = LDAP_NO_MEMORY;
goto report_error_and_return;
}
if ( ber_scanf( ber, "{e", &along ) == LBER_ERROR ) {
ber_free( ber, 1 );
rc = LDAP_DECODING_ERROR;
goto report_error_and_return;
}
changetype = (int)along; /* XXX lossy cast */
if ( changetype == LDAP_CHANGETYPE_MODDN ) {
if ( ber_scanf( ber, "a", &previousdn ) == LBER_ERROR ) {
ber_free( ber, 1 );
rc = LDAP_DECODING_ERROR;
goto report_error_and_return;
}
} else {
previousdn = NULL;
}
if ( chgtypep != NULL ) {
*chgtypep = changetype;
}
if ( prevdnp != NULL ) {
*prevdnp = previousdn;
} else if ( previousdn != NULL ) {
NSLDAPI_FREE( previousdn );
}
if ( chgnump != NULL ) { /* check for optional changenumber */
if ( ber_peek_tag( ber, &len ) == LBER_INTEGER
&& ber_get_int( ber, chgnump ) != LBER_ERROR ) {
if ( chgnumpresentp != NULL ) {
*chgnumpresentp = 1;
}
} else {
if ( chgnumpresentp != NULL ) {
*chgnumpresentp = 0;
}
}
}
ber_free( ber, 1 );
rc = LDAP_SUCCESS;
report_error_and_return:
LDAP_SET_LDERRNO( ld, rc, NULL, NULL );
return( rc );
}

File diff suppressed because it is too large Load Diff

View File

@@ -1,162 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*/
/*
* referral.c - routines for handling LDAPv3 referrals and references.
*/
#include "ldap-int.h"
LDAPMessage *
LDAP_CALL
ldap_first_reference( LDAP *ld, LDAPMessage *res )
{
if ( !NSLDAPI_VALID_LDAP_POINTER( ld ) || res == NULLMSG ) {
return( NULLMSG );
}
if ( res->lm_msgtype == LDAP_RES_SEARCH_REFERENCE ) {
return( res );
}
return( ldap_next_reference( ld, res ));
}
LDAPMessage *
LDAP_CALL
ldap_next_reference( LDAP *ld, LDAPMessage *ref )
{
if ( !NSLDAPI_VALID_LDAP_POINTER( ld ) || ref == NULLMSG ) {
return( NULLMSG ); /* punt */
}
for ( ref = ref->lm_chain; ref != NULLMSG; ref = ref->lm_chain ) {
if ( ref->lm_msgtype == LDAP_RES_SEARCH_REFERENCE ) {
return( ref );
}
}
return( NULLMSG );
}
int
LDAP_CALL
ldap_count_references( LDAP *ld, LDAPMessage *res )
{
int i;
if ( !NSLDAPI_VALID_LDAP_POINTER( ld )) {
return( -1 );
}
for ( i = 0; res != NULL; res = res->lm_chain ) {
if ( res->lm_msgtype == LDAP_RES_SEARCH_REFERENCE ) {
++i;
}
}
return( i );
}
/*
* returns an LDAP error code.
*/
int
LDAP_CALL
ldap_parse_reference( LDAP *ld, LDAPMessage *ref, char ***referralsp,
LDAPControl ***serverctrlsp, int freeit )
{
int err;
if ( !NSLDAPI_VALID_LDAP_POINTER( ld ) ||
!NSLDAPI_VALID_LDAPMESSAGE_REFERENCE_POINTER( ref )) {
return( LDAP_PARAM_ERROR );
}
err = nsldapi_parse_reference( ld, ref->lm_ber, referralsp,
serverctrlsp );
LDAP_SET_LDERRNO( ld, err, NULL, NULL );
if ( freeit ) {
ldap_msgfree( ref );
}
return( err );
}
/*
* returns an LDAP error code indicating success or failure of parsing
* does NOT set any error information inside "ld"
*/
int
nsldapi_parse_reference( LDAP *ld, BerElement *rber, char ***referralsp,
LDAPControl ***serverctrlsp )
{
int err;
BerElement ber;
char **refs;
/*
* Parse a searchResultReference message. These are used in LDAPv3
* and beyond and look like this:
*
* SearchResultReference ::= [APPLICATION 19] SEQUENCE OF LDAPURL
*
* all wrapped up in an LDAPMessage sequence which looks like this:
*
* LDAPMessage ::= SEQUENCE {
* messageID MessageID,
* SearchResultReference
* controls [0] Controls OPTIONAL
* }
*
* ldap_result() pulls out the message id, so by the time a result
* message gets here we are conveniently sitting at the start of the
* SearchResultReference itself.
*/
err = LDAP_SUCCESS; /* optimistic */
ber = *rber; /* struct copy */
if ( ber_scanf( &ber, "{v", &refs ) == LBER_ERROR ) {
err = LDAP_DECODING_ERROR;
} else if ( serverctrlsp != NULL ) {
/* pull out controls (if requested and any are present) */
if ( ber_scanf( &ber, "}" ) == LBER_ERROR ) {
err = LDAP_DECODING_ERROR;
} else {
err = nsldapi_get_controls( &ber, serverctrlsp );
}
}
if ( referralsp == NULL ) {
ldap_value_free( refs );
} else {
*referralsp = refs;
}
return( err );
}

View File

@@ -1,900 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*/
#include "ldap-int.h"
#if defined( macintosh ) || defined( DOS ) || defined( _WINDOWS ) || defined( NEED_BSDREGEX ) || defined( XP_OS2)
#include "regex.h"
/*
* regex - Regular expression pattern matching and replacement
*
* By: Ozan S. Yigit (oz)
* Dept. of Computer Science
* York University
*
* These routines are the PUBLIC DOMAIN equivalents of regex
* routines as found in 4.nBSD UN*X, with minor extensions.
*
* These routines are derived from various implementations found
* in software tools books, and Conroy's grep. They are NOT derived
* from licensed/restricted software.
* For more interesting/academic/complicated implementations,
* see Henry Spencer's regexp routines, or GNU Emacs pattern
* matching module.
*
* Use the actual CCL code in the CLO
* section of pmatch. No need for a recursive
* pmatch call.
*
* Use a bitmap table to set char bits in an
* 8-bit chunk.
*
* Interfaces:
* re_comp: compile a regular expression into a NFA.
*
* char *re_comp(s)
* char *s;
*
* re_exec: execute the NFA to match a pattern.
*
* int re_exec(s)
* char *s;
*
* re_modw change re_exec's understanding of what a "word"
* looks like (for \< and \>) by adding into the
* hidden word-syntax table.
*
* void re_modw(s)
* char *s;
*
* re_subs: substitute the matched portions in a new string.
*
* int re_subs(src, dst)
* char *src;
* char *dst;
*
* re_fail: failure routine for re_exec.
*
* void re_fail(msg, op)
* char *msg;
* char op;
*
* Regular Expressions:
*
* [1] char matches itself, unless it is a special
* character (metachar): . \ [ ] * + ^ $
*
* [2] . matches any character.
*
* [3] \ matches the character following it, except
* when followed by a left or right round bracket,
* a digit 1 to 9 or a left or right angle bracket.
* (see [7], [8] and [9])
* It is used as an escape character for all
* other meta-characters, and itself. When used
* in a set ([4]), it is treated as an ordinary
* character.
*
* [4] [set] matches one of the characters in the set.
* If the first character in the set is "^",
* it matches a character NOT in the set, i.e.
* complements the set. A shorthand S-E is
* used to specify a set of characters S upto
* E, inclusive. The special characters "]" and
* "-" have no special meaning if they appear
* as the first chars in the set.
* examples: match:
*
* [a-z] any lowercase alpha
*
* [^]-] any char except ] and -
*
* [^A-Z] any char except uppercase
* alpha
*
* [a-zA-Z] any alpha
*
* [5] * any regular expression form [1] to [4], followed by
* closure char (*) matches zero or more matches of
* that form.
*
* [6] + same as [5], except it matches one or more.
*
* [7] a regular expression in the form [1] to [10], enclosed
* as \(form\) matches what form matches. The enclosure
* creates a set of tags, used for [8] and for
* pattern substution. The tagged forms are numbered
* starting from 1.
*
* [8] a \ followed by a digit 1 to 9 matches whatever a
* previously tagged regular expression ([7]) matched.
*
* [9] \< a regular expression starting with a \< construct
* \> and/or ending with a \> construct, restricts the
* pattern matching to the beginning of a word, and/or
* the end of a word. A word is defined to be a character
* string beginning and/or ending with the characters
* A-Z a-z 0-9 and _. It must also be preceded and/or
* followed by any character outside those mentioned.
*
* [10] a composite regular expression xy where x and y
* are in the form [1] to [10] matches the longest
* match of x followed by a match for y.
*
* [11] ^ a regular expression starting with a ^ character
* $ and/or ending with a $ character, restricts the
* pattern matching to the beginning of the line,
* or the end of line. [anchors] Elsewhere in the
* pattern, ^ and $ are treated as ordinary characters.
*
*
* Acknowledgements:
*
* HCR's Hugh Redelmeier has been most helpful in various
* stages of development. He convinced me to include BOW
* and EOW constructs, originally invented by Rob Pike at
* the University of Toronto.
*
* References:
* Software tools Kernighan & Plauger
* Software tools in Pascal Kernighan & Plauger
* Grep [rsx-11 C dist] David Conroy
* ed - text editor Un*x Programmer's Manual
* Advanced editing on Un*x B. W. Kernighan
* RegExp routines Henry Spencer
*
* Notes:
*
* This implementation uses a bit-set representation for character
* classes for speed and compactness. Each character is represented
* by one bit in a 128-bit block. Thus, CCL always takes a
* constant 16 bytes in the internal nfa, and re_exec does a single
* bit comparison to locate the character in the set.
*
* Examples:
*
* pattern: foo*.*
* compile: CHR f CHR o CLO CHR o END CLO ANY END END
* matches: fo foo fooo foobar fobar foxx ...
*
* pattern: fo[ob]a[rz]
* compile: CHR f CHR o CCL bitset CHR a CCL bitset END
* matches: fobar fooar fobaz fooaz
*
* pattern: foo\\+
* compile: CHR f CHR o CHR o CHR \ CLO CHR \ END END
* matches: foo\ foo\\ foo\\\ ...
*
* pattern: \(foo\)[1-3]\1 (same as foo[1-3]foo)
* compile: BOT 1 CHR f CHR o CHR o EOT 1 CCL bitset REF 1 END
* matches: foo1foo foo2foo foo3foo
*
* pattern: \(fo.*\)-\1
* compile: BOT 1 CHR f CHR o CLO ANY END EOT 1 CHR - REF 1 END
* matches: foo-foo fo-fo fob-fob foobar-foobar ...
*/
#define MAXNFA 1024
#define MAXTAG 10
#define OKP 1
#define NOP 0
#define CHR 1
#define ANY 2
#define CCL 3
#define BOL 4
#define EOL 5
#define BOT 6
#define EOT 7
#define BOW 8
#define EOW 9
#define REF 10
#define CLO 11
#define END 0
/*
* The following defines are not meant to be changeable.
* They are for readability only.
*/
#define MAXCHR 128
#define CHRBIT 8
#define BITBLK MAXCHR/CHRBIT
#define BLKIND 0170
#define BITIND 07
#define ASCIIB 0177
/* Plain char, on the other hand, may be signed or unsigned; it depends on
* the platform and perhaps a compiler option. A hard fact of life, in C.
*
* 6-April-1999 mcs@netscape.com: replaced CHAR with REGEXCHAR to avoid
* conflicts with system types on Win32. Changed typedef
* for REGEXCHAR to always be unsigned, which seems right.
*/
typedef unsigned char REGEXCHAR;
static int tagstk[MAXTAG]; /* subpat tag stack..*/
static REGEXCHAR nfa[MAXNFA]; /* automaton.. */
static int sta = NOP; /* status of lastpat */
static REGEXCHAR bittab[BITBLK]; /* bit table for CCL */
/* pre-set bits... */
static REGEXCHAR bitarr[] = {1,2,4,8,16,32,64,128};
static void nfadump( REGEXCHAR *ap);
static void
chset(REGEXCHAR c)
{
bittab[((c) & (unsigned)BLKIND) >> 3] |= bitarr[(c) & BITIND];
}
#define badpat(x) (*nfa = END, x)
#define store(x) *mp++ = x
char *
LDAP_CALL
re_comp( char *pat )
{
register REGEXCHAR *p; /* pattern pointer */
register REGEXCHAR *mp=nfa; /* nfa pointer */
register REGEXCHAR *lp; /* saved pointer.. */
register REGEXCHAR *sp=nfa; /* another one.. */
register int tagi = 0; /* tag stack index */
register int tagc = 1; /* actual tag count */
register int n;
register REGEXCHAR mask; /* xor mask -CCL/NCL */
int c1, c2;
if (!pat || !*pat)
if (sta)
return 0;
else
return badpat("No previous regular expression");
sta = NOP;
for (p = (REGEXCHAR*)pat; *p; p++) {
lp = mp;
switch(*p) {
case '.': /* match any char.. */
store(ANY);
break;
case '^': /* match beginning.. */
if (p == (REGEXCHAR*)pat)
store(BOL);
else {
store(CHR);
store(*p);
}
break;
case '$': /* match endofline.. */
if (!*(p+1))
store(EOL);
else {
store(CHR);
store(*p);
}
break;
case '[': /* match char class..*/
store(CCL);
if (*++p == '^') {
mask = 0377;
p++;
}
else
mask = 0;
if (*p == '-') /* real dash */
chset(*p++);
if (*p == ']') /* real brac */
chset(*p++);
while (*p && *p != ']') {
if (*p == '-' && *(p+1) && *(p+1) != ']') {
p++;
c1 = *(p-2) + 1;
c2 = *p++;
while (c1 <= c2)
chset((REGEXCHAR)c1++);
}
#ifdef EXTEND
else if (*p == '\\' && *(p+1)) {
p++;
chset(*p++);
}
#endif
else
chset(*p++);
}
if (!*p)
return badpat("Missing ]");
for (n = 0; n < BITBLK; bittab[n++] = (REGEXCHAR) 0)
store(mask ^ bittab[n]);
break;
case '*': /* match 0 or more.. */
case '+': /* match 1 or more.. */
if (p == (REGEXCHAR*)pat)
return badpat("Empty closure");
lp = sp; /* previous opcode */
if (*lp == CLO) /* equivalence.. */
break;
switch(*lp) {
case BOL:
case BOT:
case EOT:
case BOW:
case EOW:
case REF:
return badpat("Illegal closure");
default:
break;
}
if (*p == '+')
for (sp = mp; lp < sp; lp++)
store(*lp);
store(END);
store(END);
sp = mp;
while (--mp > lp)
*mp = mp[-1];
store(CLO);
mp = sp;
break;
case '\\': /* tags, backrefs .. */
switch(*++p) {
case '(':
if (tagc < MAXTAG) {
tagstk[++tagi] = tagc;
store(BOT);
store(tagc++);
}
else
return badpat("Too many \\(\\) pairs");
break;
case ')':
if (*sp == BOT)
return badpat("Null pattern inside \\(\\)");
if (tagi > 0) {
store(EOT);
store(tagstk[tagi--]);
}
else
return badpat("Unmatched \\)");
break;
case '<':
store(BOW);
break;
case '>':
if (*sp == BOW)
return badpat("Null pattern inside \\<\\>");
store(EOW);
break;
case '1':
case '2':
case '3':
case '4':
case '5':
case '6':
case '7':
case '8':
case '9':
n = *p-'0';
if (tagi > 0 && tagstk[tagi] == n)
return badpat("Cyclical reference");
if (tagc > n) {
store(REF);
store(n);
}
else
return badpat("Undetermined reference");
break;
#ifdef EXTEND
case 'b':
store(CHR);
store('\b');
break;
case 'n':
store(CHR);
store('\n');
break;
case 'f':
store(CHR);
store('\f');
break;
case 'r':
store(CHR);
store('\r');
break;
case 't':
store(CHR);
store('\t');
break;
#endif
default:
store(CHR);
store(*p);
}
break;
default : /* an ordinary char */
store(CHR);
store(*p);
break;
}
sp = lp;
}
if (tagi > 0)
return badpat("Unmatched \\(");
store(END);
sta = OKP;
return 0;
}
static REGEXCHAR *bol;
static REGEXCHAR *bopat[MAXTAG];
static REGEXCHAR *eopat[MAXTAG];
#ifdef NEEDPROTOS
static REGEXCHAR *pmatch( REGEXCHAR *lp, REGEXCHAR *ap );
#else /* NEEDPROTOS */
static REGEXCHAR *pmatch();
#endif /* NEEDPROTOS */
/*
* re_exec:
* execute nfa to find a match.
*
* special cases: (nfa[0])
* BOL
* Match only once, starting from the
* beginning.
* CHR
* First locate the character without
* calling pmatch, and if found, call
* pmatch for the remaining string.
* END
* re_comp failed, poor luser did not
* check for it. Fail fast.
*
* If a match is found, bopat[0] and eopat[0] are set
* to the beginning and the end of the matched fragment,
* respectively.
*
*/
int
LDAP_CALL
re_exec( char *lp )
{
register REGEXCHAR c;
register REGEXCHAR *ep = 0;
register REGEXCHAR *ap = nfa;
bol = (REGEXCHAR*)lp;
bopat[0] = 0;
bopat[1] = 0;
bopat[2] = 0;
bopat[3] = 0;
bopat[4] = 0;
bopat[5] = 0;
bopat[6] = 0;
bopat[7] = 0;
bopat[8] = 0;
bopat[9] = 0;
switch(*ap) {
case BOL: /* anchored: match from BOL only */
ep = pmatch((REGEXCHAR*)lp,ap);
break;
case CHR: /* ordinary char: locate it fast */
c = *(ap+1);
while (*lp && *(REGEXCHAR*)lp != c)
lp++;
if (!*lp) /* if EOS, fail, else fall thru. */
return 0;
default: /* regular matching all the way. */
do {
if ((ep = pmatch((REGEXCHAR*)lp,ap)))
break;
lp++;
} while (*lp);
break;
case END: /* munged automaton. fail always */
return 0;
}
if (!ep)
return 0;
bopat[0] = (REGEXCHAR*)lp;
eopat[0] = ep;
return 1;
}
/*
* pmatch: internal routine for the hard part
*
* This code is partly snarfed from an early grep written by
* David Conroy. The backref and tag stuff, and various other
* innovations are by oz.
*
* special case optimizations: (nfa[n], nfa[n+1])
* CLO ANY
* We KNOW .* will match everything upto the
* end of line. Thus, directly go to the end of
* line, without recursive pmatch calls. As in
* the other closure cases, the remaining pattern
* must be matched by moving backwards on the
* string recursively, to find a match for xy
* (x is ".*" and y is the remaining pattern)
* where the match satisfies the LONGEST match for
* x followed by a match for y.
* CLO CHR
* We can again scan the string forward for the
* single char and at the point of failure, we
* execute the remaining nfa recursively, same as
* above.
*
* At the end of a successful match, bopat[n] and eopat[n]
* are set to the beginning and end of subpatterns matched
* by tagged expressions (n = 1 to 9).
*
*/
#ifndef re_fail
extern void re_fail();
#endif /* re_fail */
/*
* character classification table for word boundary operators BOW
* and EOW. the reason for not using ctype macros is that we can
* let the user add into our own table. see re_modw. This table
* is not in the bitset form, since we may wish to extend it in the
* future for other character classifications.
*
* TRUE for 0-9 A-Z a-z _
*/
static char chrtyp[MAXCHR] = {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 0, 0,
0, 0, 0, 0, 0, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 0, 0, 0, 0, 1, 0, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 0, 0, 0, 0, 0
};
#define HIBIT 0200
#define inascii(x) (0177&(x))
#define iswordc(x) chrtyp[inascii(x)]
#define isinset(x,y) (((y)&HIBIT)?0:((x)[((y)&BLKIND)>>3] & bitarr[(y)&BITIND]))
/*
* skip values for CLO XXX to skip past the closure
*/
#define ANYSKIP 2 /* [CLO] ANY END ... */
#define CHRSKIP 3 /* [CLO] CHR chr END ... */
#define CCLSKIP 18 /* [CLO] CCL 16bytes END ... */
static REGEXCHAR *
pmatch( REGEXCHAR *lp, REGEXCHAR *ap)
{
register int op, c, n;
register REGEXCHAR *e; /* extra pointer for CLO */
register REGEXCHAR *bp; /* beginning of subpat.. */
register REGEXCHAR *ep; /* ending of subpat.. */
REGEXCHAR *are; /* to save the line ptr. */
while ((op = *ap++) != END)
switch(op) {
case CHR:
if (*lp++ != *ap++)
return 0;
break;
case ANY:
if (!*lp++)
return 0;
break;
case CCL:
c = *lp++;
if (!isinset(ap,c))
return 0;
ap += BITBLK;
break;
case BOL:
if (lp != bol)
return 0;
break;
case EOL:
if (*lp)
return 0;
break;
case BOT:
bopat[*ap++] = lp;
break;
case EOT:
eopat[*ap++] = lp;
break;
case BOW:
if ((lp!=bol && iswordc(lp[-1])) || !iswordc(*lp))
return 0;
break;
case EOW:
if (lp==bol || !iswordc(lp[-1]) || iswordc(*lp))
return 0;
break;
case REF:
n = *ap++;
bp = bopat[n];
ep = eopat[n];
while (bp < ep)
if (*bp++ != *lp++)
return 0;
break;
case CLO:
are = lp;
switch(*ap) {
case ANY:
while (*lp)
lp++;
n = ANYSKIP;
break;
case CHR:
c = *(ap+1);
while (*lp && c == *lp)
lp++;
n = CHRSKIP;
break;
case CCL:
while ((c = *lp) && isinset(ap+1,c))
lp++;
n = CCLSKIP;
break;
default:
re_fail("closure: bad nfa.", *ap);
return 0;
}
ap += n;
while (lp >= are) {
if ((e = pmatch(lp, ap)))
return e;
--lp;
}
return 0;
default:
re_fail("re_exec: bad nfa.", op);
return 0;
}
return lp;
}
/*
* re_modw:
* add new characters into the word table to change re_exec's
* understanding of what a word should look like. Note that we
* only accept additions into the word definition.
*
* If the string parameter is 0 or null string, the table is
* reset back to the default containing A-Z a-z 0-9 _. [We use
* the compact bitset representation for the default table]
*/
static REGEXCHAR deftab[16] = {
0, 0, 0, 0, 0, 0, 0377, 003, 0376, 0377, 0377, 0207,
0376, 0377, 0377, 007
};
void
LDAP_CALL
re_modw( char *s )
{
register int i;
if (!s || !*s) {
for (i = 0; i < MAXCHR; i++)
if (!isinset(deftab,i))
iswordc(i) = 0;
}
else
while(*s)
iswordc(*s++) = 1;
}
/*
* re_subs:
* substitute the matched portions of the src in dst.
*
* & substitute the entire matched pattern.
*
* \digit substitute a subpattern, with the given tag number.
* Tags are numbered from 1 to 9. If the particular
* tagged subpattern does not exist, null is substituted.
*/
int
LDAP_CALL
re_subs( char *src, char *dst)
{
register char c;
register int pin;
register REGEXCHAR *bp;
register REGEXCHAR *ep;
if (!*src || !bopat[0])
return 0;
while ((c = *src++)) {
switch(c) {
case '&':
pin = 0;
break;
case '\\':
c = *src++;
if (c >= '0' && c <= '9') {
pin = c - '0';
break;
}
default:
*dst++ = c;
continue;
}
if ((bp = bopat[pin]) && (ep = eopat[pin])) {
while (*bp && bp < ep)
*dst++ = *(char*)bp++;
if (bp < ep)
return 0;
}
}
*dst = (char) 0;
return 1;
}
#ifdef LDAP_REGEX_DEBUG
/* No printf or exit in 16-bit Windows */
#if defined( _WINDOWS ) && !defined( _WIN32 )
static int LDAP_C printf( const char* pszFormat, ...)
{
char buf[1024];
va_list arglist;
va_start(arglist, pszFormat);
vsprintf(buf, pszFormat, arglist);
va_end(arglist);
OutputDebugString(buf);
return 0;
}
#define exit(v) return
#endif
/*
* symbolic - produce a symbolic dump of the nfa
*/
void
symbolic( char *s )
{
printf("pattern: %s\n", s);
printf("nfacode:\n");
nfadump(nfa);
}
static void
nfadump( REGEXCHAR *ap)
{
register int n;
while (*ap != END)
switch(*ap++) {
case CLO:
printf("CLOSURE");
nfadump(ap);
switch(*ap) {
case CHR:
n = CHRSKIP;
break;
case ANY:
n = ANYSKIP;
break;
case CCL:
n = CCLSKIP;
break;
}
ap += n;
break;
case CHR:
printf("\tCHR %c\n",*ap++);
break;
case ANY:
printf("\tANY .\n");
break;
case BOL:
printf("\tBOL -\n");
break;
case EOL:
printf("\tEOL -\n");
break;
case BOT:
printf("BOT: %d\n",*ap++);
break;
case EOT:
printf("EOT: %d\n",*ap++);
break;
case BOW:
printf("BOW\n");
break;
case EOW:
printf("EOW\n");
break;
case REF:
printf("REF: %d\n",*ap++);
break;
case CCL:
printf("\tCCL [");
for (n = 0; n < MAXCHR; n++)
if (isinset(ap,(REGEXCHAR)n)) {
if (n < ' ')
printf("^%c", n ^ 0x040);
else
printf("%c", n);
}
printf("]\n");
ap += BITBLK;
break;
default:
printf("bad nfa. opcode %o\n", ap[-1]);
exit(1);
break;
}
}
#endif /* LDAP_REGEX_DEBUG */
#endif /* macintosh or DOS or _WINDOWS or NEED_BSDREGEX */

View File

@@ -1,250 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*/
/*
* Copyright (c) 1990 Regents of the University of Michigan.
* All rights reserved.
*/
/*
* rename.c
*/
#if 0
#ifndef lint
static char copyright[] = "@(#) Copyright (c) 1990 Regents of the University of Michigan.\nAll rights reserved.\n";
#endif
#endif
#include "ldap-int.h"
/*
* ldap_rename - initiate an ldap modifyDN operation. Parameters:
*
* ld LDAP descriptor
* dn DN of the object to modify
* newrdn RDN that will form leftmost component of entry's new name
* newparent if present, this is the Distinguished Name of the entry
* which becomes the immediate parent of the existing entry
* deleteoldrdn nonzero means to delete old rdn values from the entry
* while zero means to retain them as attributes of the entry
* serverctrls list of LDAP server controls
* clientctrls list of client controls
* msgidp this result parameter will be set to the message id of the
* request if the ldap_rename() call succeeds
*
* Example:
* int rc;
* rc = ldap_rename( ld, dn, newrdn, newparent, deleteoldrdn, serverctrls, clientctrls, &msgid );
*/
int
LDAP_CALL
ldap_rename(
LDAP *ld,
const char *dn,
const char *newrdn,
const char *newparent,
int deleteoldrdn,
LDAPControl **serverctrls,
LDAPControl **clientctrls, /* not used for anything yet */
int *msgidp
)
{
BerElement *ber;
int rc, err;
/*
* A modify dn request looks like this:
* ModifyDNRequest ::= SEQUENCE {
* entry LDAPDN,
* newrdn RelativeLDAPDN,
* newparent [0] LDAPDN OPTIONAL,
* deleteoldrdn BOOLEAN
* }
*/
LDAPDebug( LDAP_DEBUG_TRACE, "ldap_rename\n", 0, 0, 0 );
if ( !NSLDAPI_VALID_LDAP_POINTER( ld )) {
return( LDAP_PARAM_ERROR );
}
if ( NULL == newrdn) {
LDAP_SET_LDERRNO( ld, LDAP_PARAM_ERROR, NULL, NULL );
return( LDAP_PARAM_ERROR );
}
/* only ldapv3 or higher can do a proper rename
* (i.e. with non-NULL newparent and/or controls)
*/
if (( NSLDAPI_LDAP_VERSION( ld ) < LDAP_VERSION3 )
&& ((newparent != NULL) || (serverctrls != NULL)
|| (clientctrls != NULL))) {
LDAP_SET_LDERRNO( ld, LDAP_NOT_SUPPORTED, NULL, NULL );
return( LDAP_NOT_SUPPORTED );
}
if ( msgidp == NULL ) {
LDAP_SET_LDERRNO( ld, LDAP_PARAM_ERROR, NULL, NULL );
return( LDAP_PARAM_ERROR );
}
LDAP_MUTEX_LOCK( ld, LDAP_MSGID_LOCK );
*msgidp = ++ld->ld_msgid;
LDAP_MUTEX_UNLOCK( ld, LDAP_MSGID_LOCK );
/* see if modRDN or modDN is handled by the cache */
if ( ld->ld_cache_on ) {
if ( newparent == NULL && ld->ld_cache_modrdn != NULL ) {
LDAP_MUTEX_LOCK( ld, LDAP_CACHE_LOCK );
if ( (rc = (ld->ld_cache_modrdn)( ld, *msgidp,
LDAP_REQ_MODRDN, dn, newrdn, deleteoldrdn ))
!= 0 ) {
*msgidp = rc;
LDAP_MUTEX_UNLOCK( ld, LDAP_CACHE_LOCK );
return( LDAP_SUCCESS );
}
LDAP_MUTEX_UNLOCK( ld, LDAP_CACHE_LOCK );
#if 0
} else if ( ld->ld_cache_rename != NULL ) {
LDAP_MUTEX_LOCK( ld, LDAP_CACHE_LOCK );
if ( (rc = (ld->ld_cache_rename)( ld, *msgidp,
LDAP_REQ_MODDN, dn, newrdn, newparent,
deleteoldrdn )) != 0 ) {
*msgidp = rc;
return( LDAP_SUCCESS );
}
LDAP_MUTEX_UNLOCK( ld, LDAP_CACHE_LOCK );
#endif
}
}
/* create a message to send */
if (( err = nsldapi_alloc_ber_with_options( ld, &ber ))
!= LDAP_SUCCESS ) {
return( err );
}
/* fill it in */
if ( ber_printf( ber, "{it{ssb", *msgidp, LDAP_REQ_MODDN, dn,
newrdn, deleteoldrdn ) == -1 ) {
LDAP_SET_LDERRNO( ld, LDAP_ENCODING_ERROR, NULL, NULL );
ber_free( ber, 1 );
return( LDAP_ENCODING_ERROR );
}
if ( newparent == NULL ) {
if ( ber_printf( ber, "}" ) == -1 ) {
LDAP_SET_LDERRNO( ld, LDAP_ENCODING_ERROR, NULL, NULL );
ber_free( ber, 1 );
return( LDAP_ENCODING_ERROR );
}
} else {
if ( ber_printf( ber, "ts}", LDAP_TAG_NEWSUPERIOR, newparent )
== -1 ) {
LDAP_SET_LDERRNO( ld, LDAP_ENCODING_ERROR, NULL, NULL );
ber_free( ber, 1 );
return( LDAP_ENCODING_ERROR );
}
}
if (( rc = nsldapi_put_controls( ld, serverctrls, 1, ber ))
!= LDAP_SUCCESS ) {
ber_free( ber, 1 );
return( rc );
}
/* send the message */
rc = nsldapi_send_initial_request( ld, *msgidp, LDAP_REQ_MODDN,
(char *) dn, ber );
*msgidp = rc;
return( rc < 0 ? LDAP_GET_LDERRNO( ld, NULL, NULL ) : LDAP_SUCCESS );
}
int
LDAP_CALL
ldap_modrdn2( LDAP *ld, const char *dn, const char *newrdn, int deleteoldrdn )
{
int msgid;
if ( ldap_rename( ld, dn, newrdn, NULL, deleteoldrdn, NULL, NULL, &msgid ) == LDAP_SUCCESS ) {
return( msgid );
} else {
return( -1 ); /* error is in ld handle */
}
}
int
LDAP_CALL
ldap_modrdn( LDAP *ld, const char *dn, const char *newrdn )
{
return( ldap_modrdn2( ld, dn, newrdn, 1 ) );
}
int
LDAP_CALL
ldap_rename_s(
LDAP *ld,
const char *dn,
const char *newrdn,
const char *newparent,
int deleteoldrdn,
LDAPControl **serverctrls,
LDAPControl **clientctrls /* not used for anything yet */
)
{
int msgid;
LDAPMessage *res;
if ( ldap_rename( ld, dn, newrdn, newparent, deleteoldrdn, serverctrls, clientctrls, &msgid ) != LDAP_SUCCESS ) {
return( LDAP_GET_LDERRNO( ld, NULL, NULL ) );
}
if ( msgid == -1 )
return( LDAP_GET_LDERRNO( ld, NULL, NULL ) );
if ( ldap_result( ld, msgid, 1, (struct timeval *) NULL, &res ) == -1 )
return( LDAP_GET_LDERRNO( ld, NULL, NULL ) );
return( ldap_result2error( ld, res, 1 ) );
}
int
LDAP_CALL
ldap_modrdn2_s( LDAP *ld, const char *dn, const char *newrdn, int deleteoldrdn )
{
int msgid;
LDAPMessage *res;
if ( (msgid = ldap_modrdn2( ld, dn, newrdn, deleteoldrdn )) == -1 )
return( LDAP_GET_LDERRNO( ld, NULL, NULL ) );
if ( ldap_result( ld, msgid, 1, (struct timeval *) NULL, &res ) == -1 )
return( LDAP_GET_LDERRNO( ld, NULL, NULL ) );
return( ldap_result2error( ld, res, 1 ) );
}
int
LDAP_CALL
ldap_modrdn_s( LDAP *ld, const char *dn, const char *newrdn )
{
return( ldap_modrdn2_s( ld, dn, newrdn, 1 ) );
}

File diff suppressed because it is too large Load Diff

View File

@@ -1,63 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*/
/*
* Copyright (c) 1990 Regents of the University of Michigan.
* All rights reserved.
*/
/*
* reslist.c
*/
#if 0
#ifndef lint
static char copyright[] = "@(#) Copyright (c) 1990 Regents of the University of Michigan.\nAll rights reserved.\n";
#endif
#endif
#include "ldap-int.h"
LDAPMessage *
ldap_delete_result_entry( LDAPMessage **list, LDAPMessage *e )
{
LDAPMessage *tmp, *prev = NULL;
for ( tmp = *list; tmp != NULL && tmp != e; tmp = tmp->lm_chain )
prev = tmp;
if ( tmp == NULL )
return( NULL );
if ( prev == NULL )
*list = tmp->lm_chain;
else
prev->lm_chain = tmp->lm_chain;
tmp->lm_chain = NULL;
return( tmp );
}
void
ldap_add_result_entry( LDAPMessage **list, LDAPMessage *e )
{
e->lm_chain = *list;
*list = e;
}

File diff suppressed because it is too large Load Diff

View File

@@ -1,276 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*/
#include "ldap-int.h"
/*
* ldap_sasl_bind - authenticate to the ldap server. The dn, mechanism,
* and credentials of the entry to which to bind are supplied. An LDAP
* error code is returned and if LDAP_SUCCESS is returned *msgidp is set
* to the id of the request initiated.
*
* Example:
* struct berval creds;
* LDAPControl **ctrls;
* int err, msgid;
* ... fill in creds with credentials ...
* ... fill in ctrls with server controls ...
* err = ldap_sasl_bind( ld, "cn=manager, o=university of michigan, c=us",
* "mechanismname", &creds, ctrls, NULL, &msgid );
*/
int
LDAP_CALL
ldap_sasl_bind(
LDAP *ld,
const char *dn,
const char *mechanism,
const struct berval *cred,
LDAPControl **serverctrls,
LDAPControl **clientctrls,
int *msgidp
)
{
BerElement *ber;
int rc, simple, msgid, ldapversion;
/*
* The ldapv3 bind request looks like this:
* BindRequest ::= SEQUENCE {
* version INTEGER,
* name DistinguishedName, -- who
* authentication CHOICE {
* simple [0] OCTET STRING, -- passwd
* sasl [3] SaslCredentials -- v3 only
* }
* }
* SaslCredentials ::= SEQUENCE {
* mechanism LDAPString,
* credentials OCTET STRING
* }
* all wrapped up in an LDAPMessage sequence.
*/
LDAPDebug( LDAP_DEBUG_TRACE, "ldap_sasl_bind\n", 0, 0, 0 );
if ( msgidp == NULL ) {
LDAP_SET_LDERRNO( ld, LDAP_PARAM_ERROR, NULL, NULL );
return( LDAP_PARAM_ERROR );
}
simple = ( mechanism == LDAP_SASL_SIMPLE );
ldapversion = NSLDAPI_LDAP_VERSION( ld );
/* only ldapv3 or higher can do sasl binds */
if ( !simple && ldapversion < LDAP_VERSION3 ) {
LDAP_SET_LDERRNO( ld, LDAP_NOT_SUPPORTED, NULL, NULL );
return( LDAP_NOT_SUPPORTED );
}
LDAP_MUTEX_LOCK( ld, LDAP_MSGID_LOCK );
msgid = ++ld->ld_msgid;
LDAP_MUTEX_UNLOCK( ld, LDAP_MSGID_LOCK );
if ( dn == NULL )
dn = "";
if ( ld->ld_cache_on && ld->ld_cache_bind != NULL ) {
LDAP_MUTEX_LOCK( ld, LDAP_CACHE_LOCK );
if ( (rc = (ld->ld_cache_bind)( ld, msgid, LDAP_REQ_BIND, dn,
cred, LDAP_AUTH_SASL )) != 0 ) {
*msgidp = rc;
LDAP_MUTEX_UNLOCK( ld, LDAP_CACHE_LOCK );
return( LDAP_SUCCESS );
}
LDAP_MUTEX_UNLOCK( ld, LDAP_CACHE_LOCK );
}
/* create a message to send */
if (( rc = nsldapi_alloc_ber_with_options( ld, &ber ))
!= LDAP_SUCCESS ) {
return( rc );
}
/* fill it in */
if ( simple ) { /* simple bind; works in LDAPv2 or v3 */
struct berval tmpcred;
if ( cred == NULL ) {
tmpcred.bv_val = "";
tmpcred.bv_len = 0;
cred = &tmpcred;
}
rc = ber_printf( ber, "{it{isto}", msgid, LDAP_REQ_BIND,
ldapversion, dn, LDAP_AUTH_SIMPLE, cred->bv_val,
(int)cred->bv_len /* XXX lossy cast */ );
} else { /* SASL bind; requires LDAPv3 or better */
if ( cred == NULL ) {
rc = ber_printf( ber, "{it{ist{s}}", msgid,
LDAP_REQ_BIND, ldapversion, dn, LDAP_AUTH_SASL,
mechanism );
} else {
rc = ber_printf( ber, "{it{ist{so}}", msgid,
LDAP_REQ_BIND, ldapversion, dn, LDAP_AUTH_SASL,
mechanism, cred->bv_val,
(int)cred->bv_len /* XXX lossy cast */ );
}
}
if ( rc == -1 ) {
LDAP_SET_LDERRNO( ld, LDAP_ENCODING_ERROR, NULL, NULL );
ber_free( ber, 1 );
return( LDAP_ENCODING_ERROR );
}
if ( (rc = nsldapi_put_controls( ld, serverctrls, 1, ber ))
!= LDAP_SUCCESS ) {
ber_free( ber, 1 );
return( rc );
}
/* send the message */
rc = nsldapi_send_initial_request( ld, msgid, LDAP_REQ_BIND,
(char *)dn, ber );
*msgidp = rc;
return( rc < 0 ? LDAP_GET_LDERRNO( ld, NULL, NULL ) : LDAP_SUCCESS );
}
/*
* ldap_sasl_bind_s - bind to the ldap server using sasl authentication
* The dn, mechanism, and credentials of the entry to which to bind are
* supplied. LDAP_SUCCESS is returned upon success, the ldap error code
* otherwise.
*
* Example:
* struct berval creds;
* ... fill in creds with credentials ...
* ldap_sasl_bind_s( ld, "cn=manager, o=university of michigan, c=us",
* "mechanismname", &creds )
*/
int
LDAP_CALL
ldap_sasl_bind_s(
LDAP *ld,
const char *dn,
const char *mechanism,
const struct berval *cred,
LDAPControl **serverctrls,
LDAPControl **clientctrls,
struct berval **servercredp
)
{
int err, msgid;
LDAPMessage *result;
LDAPDebug( LDAP_DEBUG_TRACE, "ldap_sasl_bind_s\n", 0, 0, 0 );
if ( ( err = ldap_sasl_bind( ld, dn, mechanism, cred, serverctrls,
clientctrls, &msgid )) != LDAP_SUCCESS )
return( err );
if ( ldap_result( ld, msgid, 1, (struct timeval *) 0, &result ) == -1 )
return( LDAP_GET_LDERRNO( ld, NULL, NULL ) );
if (( err = ldap_parse_sasl_bind_result( ld, result, servercredp, 0 ))
!= LDAP_SUCCESS ) {
ldap_msgfree( result );
return( err );
}
return( ldap_result2error( ld, result, 1 ) );
}
/* returns an LDAP error code that indicates if parse succeeded or not */
int
LDAP_CALL
ldap_parse_sasl_bind_result(
LDAP *ld,
LDAPMessage *res,
struct berval **servercredp,
int freeit
)
{
BerElement ber;
int rc, err;
long along;
unsigned long len;
char *m, *e;
LDAPDebug( LDAP_DEBUG_TRACE, "ldap_parse_sasl_bind_result\n", 0, 0, 0 );
/*
* the ldapv3 SASL bind response looks like this:
*
* BindResponse ::= [APPLICATION 1] SEQUENCE {
* COMPONENTS OF LDAPResult,
* serverSaslCreds [7] OCTET STRING OPTIONAL
* }
*
* all wrapped up in an LDAPMessage sequence.
*/
if ( !NSLDAPI_VALID_LDAP_POINTER( ld ) ||
!NSLDAPI_VALID_LDAPMESSAGE_BINDRESULT_POINTER( res )) {
return( LDAP_PARAM_ERROR );
}
/* only ldapv3 or higher can do sasl binds */
if ( NSLDAPI_LDAP_VERSION( ld ) < LDAP_VERSION3 ) {
LDAP_SET_LDERRNO( ld, LDAP_NOT_SUPPORTED, NULL, NULL );
return( LDAP_NOT_SUPPORTED );
}
if ( servercredp != NULL ) {
*servercredp = NULL;
}
ber = *(res->lm_ber); /* struct copy */
/* skip past message id, matched dn, error message ... */
rc = ber_scanf( &ber, "{iaa}", &along, &m, &e );
if ( rc != LBER_ERROR &&
ber_peek_tag( &ber, &len ) == LDAP_TAG_SASL_RES_CREDS ) {
rc = ber_get_stringal( &ber, servercredp );
}
if ( freeit ) {
ldap_msgfree( res );
}
if ( rc == LBER_ERROR ) {
err = LDAP_DECODING_ERROR;
} else {
err = (int) along;
}
LDAP_SET_LDERRNO( ld, err, m, e );
/* this is a little kludge for the 3.0 Barracuda/hammerhead relese */
/* the docs state that the return is either LDAP_DECODING_ERROR */
/* or LDAP_SUCCESS. Here we match the docs... it's cleaner in 3.1 */
if ( LDAP_DECODING_ERROR == err ) {
return (LDAP_DECODING_ERROR);
} else {
return( LDAP_SUCCESS );
}
}

View File

@@ -1,256 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*/
/*
* Copyright (c) 1993 Regents of the University of Michigan.
* All rights reserved.
*/
/*
* sbind.c
*/
#if 0
#ifndef lint
static char copyright[] = "@(#) Copyright (c) 1993 Regents of the University of Michigan.\nAll rights reserved.\n";
#endif
#endif
#include "ldap-int.h"
static int simple_bind_nolock( LDAP *ld, const char *dn, const char *passwd,
int unlock_permitted );
static int simple_bindifnot_s( LDAP *ld, const char *dn, const char *passwd );
/*
* ldap_simple_bind - bind to the ldap server. The dn and
* password of the entry to which to bind are supplied. The message id
* of the request initiated is returned.
*
* Example:
* ldap_simple_bind( ld, "cn=manager, o=university of michigan, c=us",
* "secret" )
*/
int
LDAP_CALL
ldap_simple_bind( LDAP *ld, const char *dn, const char *passwd )
{
int rc;
LDAPDebug( LDAP_DEBUG_TRACE, "ldap_simple_bind\n", 0, 0, 0 );
if ( !NSLDAPI_VALID_LDAP_POINTER( ld )) {
return( -1 );
}
rc = simple_bind_nolock( ld, dn, passwd, 1 );
return( rc );
}
static int
simple_bind_nolock( LDAP *ld, const char *dn, const char *passwd,
int unlock_permitted )
{
BerElement *ber;
int rc, msgid;
/*
* The bind request looks like this:
* BindRequest ::= SEQUENCE {
* version INTEGER,
* name DistinguishedName, -- who
* authentication CHOICE {
* simple [0] OCTET STRING -- passwd
* }
* }
* all wrapped up in an LDAPMessage sequence.
*/
LDAP_MUTEX_LOCK( ld, LDAP_MSGID_LOCK );
msgid = ++ld->ld_msgid;
LDAP_MUTEX_UNLOCK( ld, LDAP_MSGID_LOCK );
if ( dn == NULL )
dn = "";
if ( passwd == NULL )
passwd = "";
if ( ld->ld_cache_on && ld->ld_cache_bind != NULL ) {
struct berval bv;
bv.bv_val = (char *)passwd;
bv.bv_len = strlen( passwd );
/* if ( unlock_permitted ) LDAP_MUTEX_UNLOCK( ld ); */
LDAP_MUTEX_LOCK( ld, LDAP_CACHE_LOCK );
rc = (ld->ld_cache_bind)( ld, msgid, LDAP_REQ_BIND, dn, &bv,
LDAP_AUTH_SIMPLE );
LDAP_MUTEX_UNLOCK( ld, LDAP_CACHE_LOCK );
/* if ( unlock_permitted ) LDAP_MUTEX_LOCK( ld ); */
if ( rc != 0 ) {
return( rc );
}
}
/* create a message to send */
if (( rc = nsldapi_alloc_ber_with_options( ld, &ber ))
!= LDAP_SUCCESS ) {
return( -1 );
}
/* fill it in */
if ( ber_printf( ber, "{it{ists}", msgid, LDAP_REQ_BIND,
NSLDAPI_LDAP_VERSION( ld ), dn, LDAP_AUTH_SIMPLE, passwd ) == -1 ) {
LDAP_SET_LDERRNO( ld, LDAP_ENCODING_ERROR, NULL, NULL );
ber_free( ber, 1 );
return( -1 );
}
if ( nsldapi_put_controls( ld, NULL, 1, ber ) != LDAP_SUCCESS ) {
ber_free( ber, 1 );
return( -1 );
}
/* send the message */
return( nsldapi_send_initial_request( ld, msgid, LDAP_REQ_BIND,
(char *)dn, ber ));
}
/*
* ldap_simple_bind - bind to the ldap server using simple
* authentication. The dn and password of the entry to which to bind are
* supplied. LDAP_SUCCESS is returned upon success, the ldap error code
* otherwise.
*
* Example:
* ldap_simple_bind_s( ld, "cn=manager, o=university of michigan, c=us",
* "secret" )
*/
int
LDAP_CALL
ldap_simple_bind_s( LDAP *ld, const char *dn, const char *passwd )
{
int msgid;
LDAPMessage *result;
LDAPDebug( LDAP_DEBUG_TRACE, "ldap_simple_bind_s\n", 0, 0, 0 );
if ( NSLDAPI_VALID_LDAP_POINTER( ld ) &&
( ld->ld_options & LDAP_BITOPT_RECONNECT ) != 0 ) {
return( simple_bindifnot_s( ld, dn, passwd ));
}
if ( (msgid = ldap_simple_bind( ld, dn, passwd )) == -1 )
return( LDAP_GET_LDERRNO( ld, NULL, NULL ) );
if ( ldap_result( ld, msgid, 1, (struct timeval *) 0, &result ) == -1 )
return( LDAP_GET_LDERRNO( ld, NULL, NULL ) );
return( ldap_result2error( ld, result, 1 ) );
}
/*
* simple_bindifnot_s() is like ldap_simple_bind_s() except that it only does
* a bind if the default connection is not currently bound.
* If a successful bind using the same DN has already taken place we just
* return LDAP_SUCCESS without conversing with the server at all.
*/
static int
simple_bindifnot_s( LDAP *ld, const char *dn, const char *passwd )
{
int msgid, rc;
LDAPMessage *result;
char *binddn;
LDAPDebug( LDAP_DEBUG_TRACE, "simple_bindifnot_s\n", 0, 0, 0 );
if ( !NSLDAPI_VALID_LDAP_POINTER( ld )) {
return( LDAP_PARAM_ERROR );
}
if ( dn == NULL ) {
dn = ""; /* to make comparisons simpler */
}
/*
* if we are already bound using the same DN, just return LDAP_SUCCESS.
*/
if ( NULL != ( binddn = nsldapi_get_binddn( ld ))
&& 0 == strcmp( dn, binddn )) {
rc = LDAP_SUCCESS;
LDAP_SET_LDERRNO( ld, rc, NULL, NULL );
goto unlock_and_return;
}
/*
* if the default connection has been lost and is now marked dead,
* dispose of the default connection so it will get re-established.
*
* if not, clear the bind DN and status to ensure that we don't
* report the wrong bind DN to a different thread while waiting
* for our bind result to return from the server.
*/
LDAP_MUTEX_LOCK( ld, LDAP_CONN_LOCK );
if ( NULL != ld->ld_defconn ) {
if ( LDAP_CONNST_DEAD == ld->ld_defconn->lconn_status ) {
nsldapi_free_connection( ld, ld->ld_defconn, NULL, NULL, 1, 0 );
ld->ld_defconn = NULL;
} else if ( ld->ld_defconn->lconn_binddn != NULL ) {
NSLDAPI_FREE( ld->ld_defconn->lconn_binddn );
ld->ld_defconn->lconn_binddn = NULL;
ld->ld_defconn->lconn_bound = 0;
}
}
LDAP_MUTEX_UNLOCK( ld, LDAP_CONN_LOCK );
/*
* finally, bind (this will open a new connection if necessary)
*/
if ( (msgid = simple_bind_nolock( ld, dn, passwd, 0 )) == -1 ) {
rc = LDAP_GET_LDERRNO( ld, NULL, NULL );
goto unlock_and_return;
}
/*
* Note that at this point the bind request is on its way to the
* server and at any time now we will either be bound as the new
* DN (if the bind succeeded) or we will be bound as anonymous (if
* the bind failed).
*/
/*
* Wait for the bind result. Code inside result.c:read1msg()
* takes care of setting the connection's bind DN and status.
*/
if ( nsldapi_result_nolock( ld, msgid, 1, 0, (struct timeval *) 0,
&result ) == -1 ) {
rc = LDAP_GET_LDERRNO( ld, NULL, NULL );
goto unlock_and_return;
}
rc = ldap_result2error( ld, result, 1 );
unlock_and_return:
return( rc );
}

View File

@@ -1,997 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*/
/*
* Copyright (c) 1990 Regents of the University of Michigan.
* All rights reserved.
*/
/*
* search.c
*/
#if 0
#ifndef lint
static char copyright[] = "@(#) Copyright (c) 1990 Regents of the University of Michigan.\nAll rights reserved.\n";
#endif
#endif
#include "ldap-int.h"
static int nsldapi_timeval2ldaplimit( struct timeval *timeoutp,
int defaultvalue );
static int nsldapi_search( LDAP *ld, const char *base, int scope,
const char *filter, char **attrs, int attrsonly,
LDAPControl **serverctrls, LDAPControl **clientctrls,
int timelimit, int sizelimit, int *msgidp );
static char *find_right_paren( char *s );
static char *put_complex_filter( BerElement *ber, char *str,
unsigned long tag, int not );
static int put_filter( BerElement *ber, char *str );
static int unescape_filterval( char *str );
static int hexchar2int( char c );
static int is_valid_attr( char *a );
static int put_simple_filter( BerElement *ber, char *str );
static int put_substring_filter( BerElement *ber, char *type,
char *str );
static int put_filter_list( BerElement *ber, char *str );
static int nsldapi_search_s( LDAP *ld, const char *base, int scope,
const char *filter, char **attrs, int attrsonly,
LDAPControl **serverctrls, LDAPControl **clientctrls,
struct timeval *localtimeoutp, int timelimit, int sizelimit,
LDAPMessage **res );
/*
* ldap_search - initiate an ldap search operation. Parameters:
*
* ld LDAP descriptor
* base DN of the base object
* scope the search scope - one of LDAP_SCOPE_BASE,
* LDAP_SCOPE_ONELEVEL, LDAP_SCOPE_SUBTREE
* filter a string containing the search filter
* (e.g., "(|(cn=bob)(sn=bob))")
* attrs list of attribute types to return for matches
* attrsonly 1 => attributes only 0 => attributes and values
*
* Example:
* char *attrs[] = { "mail", "title", 0 };
* msgid = ldap_search( ld, "c=us@o=UM", LDAP_SCOPE_SUBTREE, "cn~=bob",
* attrs, attrsonly );
*/
int
LDAP_CALL
ldap_search(
LDAP *ld,
const char *base,
int scope,
const char *filter,
char **attrs,
int attrsonly
)
{
int msgid;
LDAPDebug( LDAP_DEBUG_TRACE, "ldap_search\n", 0, 0, 0 );
if ( ldap_search_ext( ld, base, scope, filter, attrs, attrsonly, NULL,
NULL, NULL, -1, &msgid ) == LDAP_SUCCESS ) {
return( msgid );
} else {
return( -1 ); /* error is in ld handle */
}
}
/*
* LDAPv3 extended search.
* Returns an LDAP error code.
*/
int
LDAP_CALL
ldap_search_ext(
LDAP *ld,
const char *base,
int scope,
const char *filter,
char **attrs,
int attrsonly,
LDAPControl **serverctrls,
LDAPControl **clientctrls,
struct timeval *timeoutp, /* NULL means use ld->ld_timelimit */
int sizelimit,
int *msgidp
)
{
/*
* It is an error to pass in a zero'd timeval.
*/
if ( timeoutp != NULL && timeoutp->tv_sec == 0 &&
timeoutp->tv_usec == 0 ) {
if ( ld != NULL ) {
LDAP_SET_LDERRNO( ld, LDAP_PARAM_ERROR, NULL, NULL );
}
return( LDAP_PARAM_ERROR );
}
return( nsldapi_search( ld, base, scope, filter, attrs, attrsonly,
serverctrls, clientctrls,
nsldapi_timeval2ldaplimit( timeoutp, -1 ), sizelimit, msgidp ));
}
/*
* Like ldap_search_ext() except an integer timelimit is passed instead of
* using the overloaded struct timeval *timeoutp.
*/
static int
nsldapi_search(
LDAP *ld,
const char *base,
int scope,
const char *filter,
char **attrs,
int attrsonly,
LDAPControl **serverctrls,
LDAPControl **clientctrls,
int timelimit, /* -1 means use ld->ld_timelimit */
int sizelimit, /* -1 means use ld->ld_sizelimit */
int *msgidp
)
{
BerElement *ber;
int rc, rc_key;
unsigned long key; /* XXXmcs: memcache */
LDAPDebug( LDAP_DEBUG_TRACE, "ldap_search_ext\n", 0, 0, 0 );
if ( !NSLDAPI_VALID_LDAP_POINTER( ld )) {
return( LDAP_PARAM_ERROR );
}
if ( base == NULL ) {
base = "";
}
if ( filter == NULL ) {
filter = "(objectclass=*)";
}
if ( msgidp == NULL || ( scope != LDAP_SCOPE_BASE
&& scope != LDAP_SCOPE_ONELEVEL && scope != LDAP_SCOPE_SUBTREE )) {
LDAP_SET_LDERRNO( ld, LDAP_PARAM_ERROR, NULL, NULL );
return( LDAP_PARAM_ERROR );
}
LDAP_MUTEX_LOCK( ld, LDAP_MSGID_LOCK );
*msgidp = ++ld->ld_msgid;
LDAP_MUTEX_UNLOCK( ld, LDAP_MSGID_LOCK );
/*
* XXXmcs: should use cache function pointers to hook in memcache
*/
if ( ld->ld_memcache == NULL ) {
rc_key = LDAP_NOT_SUPPORTED;
} else if (( rc_key = ldap_memcache_createkey( ld, base, scope, filter,
attrs, attrsonly, serverctrls, clientctrls, &key)) == LDAP_SUCCESS
&& ldap_memcache_result( ld, *msgidp, key ) == LDAP_SUCCESS ) {
return LDAP_SUCCESS;
}
/* check the cache */
if ( ld->ld_cache_on && ld->ld_cache_search != NULL ) {
LDAP_MUTEX_LOCK( ld, LDAP_CACHE_LOCK );
if ( (rc = (ld->ld_cache_search)( ld, *msgidp, LDAP_REQ_SEARCH,
base, scope, filter, attrs, attrsonly )) != 0 ) {
*msgidp = rc;
LDAP_MUTEX_UNLOCK( ld, LDAP_CACHE_LOCK );
return( LDAP_SUCCESS );
}
LDAP_MUTEX_UNLOCK( ld, LDAP_CACHE_LOCK );
}
/* caching off or did not find it in the cache - check the net */
if (( rc = nsldapi_build_search_req( ld, base, scope, filter, attrs,
attrsonly, serverctrls, clientctrls, timelimit, sizelimit,
*msgidp, &ber )) != LDAP_SUCCESS ) {
return( rc );
}
/* send the message */
rc = nsldapi_send_initial_request( ld, *msgidp, LDAP_REQ_SEARCH,
(char *) base, ber );
/*
* XXXmcs: should use cache function pointers to hook in memcache
*/
if ( (rc_key == LDAP_SUCCESS) && (rc >= 0) ) {
ldap_memcache_new( ld, rc, key, base );
}
*msgidp = rc;
return( rc < 0 ? LDAP_GET_LDERRNO( ld, NULL, NULL ) : LDAP_SUCCESS );
}
/*
* Convert a non-NULL timeoutp to a value in seconds that is appropriate to
* send in an LDAP search request. If timeoutp is NULL, return defaultvalue.
*/
static int
nsldapi_timeval2ldaplimit( struct timeval *timeoutp, int defaultvalue )
{
int timelimit;
if ( NULL == timeoutp ) {
timelimit = defaultvalue;
} else if ( timeoutp->tv_sec > 0 ) {
timelimit = timeoutp->tv_sec;
} else if ( timeoutp->tv_usec > 0 ) {
timelimit = 1; /* minimum we can express in LDAP */
} else {
/*
* both tv_sec and tv_usec are less than one (zero?) so
* to maintain compatiblity with our "zero means no limit"
* convention we pass no limit to the server.
*/
timelimit = 0; /* no limit */
}
return( timelimit );
}
/* returns an LDAP error code and also sets it in ld */
int
nsldapi_build_search_req(
LDAP *ld,
const char *base,
int scope,
const char *filter,
char **attrs,
int attrsonly,
LDAPControl **serverctrls,
LDAPControl **clientctrls, /* not used for anything yet */
int timelimit, /* if -1, ld->ld_timelimit is used */
int sizelimit, /* if -1, ld->ld_sizelimit is used */
int msgid,
BerElement **berp
)
{
BerElement *ber;
int err;
char *fdup;
/*
* Create the search request. It looks like this:
* SearchRequest := [APPLICATION 3] SEQUENCE {
* baseObject DistinguishedName,
* scope ENUMERATED {
* baseObject (0),
* singleLevel (1),
* wholeSubtree (2)
* },
* derefAliases ENUMERATED {
* neverDerefaliases (0),
* derefInSearching (1),
* derefFindingBaseObj (2),
* alwaysDerefAliases (3)
* },
* sizelimit INTEGER (0 .. 65535),
* timelimit INTEGER (0 .. 65535),
* attrsOnly BOOLEAN,
* filter Filter,
* attributes SEQUENCE OF AttributeType
* }
* wrapped in an ldap message.
*/
/* create a message to send */
if (( err = nsldapi_alloc_ber_with_options( ld, &ber ))
!= LDAP_SUCCESS ) {
return( err );
}
if ( base == NULL ) {
base = "";
}
if ( sizelimit == -1 ) {
sizelimit = ld->ld_sizelimit;
}
if ( timelimit == -1 ) {
timelimit = ld->ld_timelimit;
}
#ifdef CLDAP
if ( ld->ld_sbp->sb_naddr > 0 ) {
err = ber_printf( ber, "{ist{seeiib", msgid,
ld->ld_cldapdn, LDAP_REQ_SEARCH, base, scope, ld->ld_deref,
sizelimit, timelimit, attrsonly );
} else {
#endif /* CLDAP */
err = ber_printf( ber, "{it{seeiib", msgid,
LDAP_REQ_SEARCH, base, scope, ld->ld_deref,
sizelimit, timelimit, attrsonly );
#ifdef CLDAP
}
#endif /* CLDAP */
if ( err == -1 ) {
LDAP_SET_LDERRNO( ld, LDAP_ENCODING_ERROR, NULL, NULL );
ber_free( ber, 1 );
return( LDAP_ENCODING_ERROR );
}
fdup = nsldapi_strdup( filter );
err = put_filter( ber, fdup );
NSLDAPI_FREE( fdup );
if ( err == -1 ) {
LDAP_SET_LDERRNO( ld, LDAP_FILTER_ERROR, NULL, NULL );
ber_free( ber, 1 );
return( LDAP_FILTER_ERROR );
}
if ( ber_printf( ber, "{v}}", attrs ) == -1 ) {
LDAP_SET_LDERRNO( ld, LDAP_ENCODING_ERROR, NULL, NULL );
ber_free( ber, 1 );
return( LDAP_ENCODING_ERROR );
}
if ( (err = nsldapi_put_controls( ld, serverctrls, 1, ber ))
!= LDAP_SUCCESS ) {
ber_free( ber, 1 );
return( err );
}
*berp = ber;
return( LDAP_SUCCESS );
}
static char *
find_right_paren( char *s )
{
int balance, escape;
balance = 1;
escape = 0;
while ( *s && balance ) {
if ( escape == 0 ) {
if ( *s == '(' )
balance++;
else if ( *s == ')' )
balance--;
}
if ( *s == '\\' && ! escape )
escape = 1;
else
escape = 0;
if ( balance )
s++;
}
return( *s ? s : NULL );
}
static char *
put_complex_filter(
BerElement *ber,
char *str,
unsigned long tag,
int not
)
{
char *next;
/*
* We have (x(filter)...) with str sitting on
* the x. We have to find the paren matching
* the one before the x and put the intervening
* filters by calling put_filter_list().
*/
/* put explicit tag */
if ( ber_printf( ber, "t{", tag ) == -1 )
return( NULL );
str++;
if ( (next = find_right_paren( str )) == NULL )
return( NULL );
*next = '\0';
if ( put_filter_list( ber, str ) == -1 )
return( NULL );
*next++ = ')';
/* flush explicit tagged thang */
if ( ber_printf( ber, "}" ) == -1 )
return( NULL );
return( next );
}
static int
put_filter( BerElement *ber, char *str )
{
char *next;
int parens, balance, escape;
/*
* A Filter looks like this:
* Filter ::= CHOICE {
* and [0] SET OF Filter,
* or [1] SET OF Filter,
* not [2] Filter,
* equalityMatch [3] AttributeValueAssertion,
* substrings [4] SubstringFilter,
* greaterOrEqual [5] AttributeValueAssertion,
* lessOrEqual [6] AttributeValueAssertion,
* present [7] AttributeType,,
* approxMatch [8] AttributeValueAssertion
* }
*
* SubstringFilter ::= SEQUENCE {
* type AttributeType,
* SEQUENCE OF CHOICE {
* initial [0] IA5String,
* any [1] IA5String,
* final [2] IA5String
* }
* }
* Note: tags in a choice are always explicit
*/
LDAPDebug( LDAP_DEBUG_TRACE, "put_filter \"%s\"\n", str, 0, 0 );
parens = 0;
while ( *str ) {
switch ( *str ) {
case '(':
str++;
parens++;
switch ( *str ) {
case '&':
LDAPDebug( LDAP_DEBUG_TRACE, "put_filter: AND\n",
0, 0, 0 );
if ( (str = put_complex_filter( ber, str,
LDAP_FILTER_AND, 0 )) == NULL )
return( -1 );
parens--;
break;
case '|':
LDAPDebug( LDAP_DEBUG_TRACE, "put_filter: OR\n",
0, 0, 0 );
if ( (str = put_complex_filter( ber, str,
LDAP_FILTER_OR, 0 )) == NULL )
return( -1 );
parens--;
break;
case '!':
LDAPDebug( LDAP_DEBUG_TRACE, "put_filter: NOT\n",
0, 0, 0 );
if ( (str = put_complex_filter( ber, str,
LDAP_FILTER_NOT, 1 )) == NULL )
return( -1 );
parens--;
break;
default:
LDAPDebug( LDAP_DEBUG_TRACE,
"put_filter: simple\n", 0, 0, 0 );
balance = 1;
escape = 0;
next = str;
while ( *next && balance ) {
if ( escape == 0 ) {
if ( *next == '(' )
balance++;
else if ( *next == ')' )
balance--;
}
if ( *next == '\\' && ! escape )
escape = 1;
else
escape = 0;
if ( balance )
next++;
}
if ( balance != 0 )
return( -1 );
*next = '\0';
if ( put_simple_filter( ber, str ) == -1 ) {
return( -1 );
}
*next++ = ')';
str = next;
parens--;
break;
}
break;
case ')':
LDAPDebug( LDAP_DEBUG_TRACE, "put_filter: end\n", 0, 0,
0 );
if ( ber_printf( ber, "]" ) == -1 )
return( -1 );
str++;
parens--;
break;
case ' ':
str++;
break;
default: /* assume it's a simple type=value filter */
LDAPDebug( LDAP_DEBUG_TRACE, "put_filter: default\n", 0, 0,
0 );
next = strchr( str, '\0' );
if ( put_simple_filter( ber, str ) == -1 ) {
return( -1 );
}
str = next;
break;
}
}
return( parens ? -1 : 0 );
}
/*
* Put a list of filters like this "(filter1)(filter2)..."
*/
static int
put_filter_list( BerElement *ber, char *str )
{
char *next;
char save;
LDAPDebug( LDAP_DEBUG_TRACE, "put_filter_list \"%s\"\n", str, 0, 0 );
while ( *str ) {
while ( *str && isspace( *str ) )
str++;
if ( *str == '\0' )
break;
if ( (next = find_right_paren( str + 1 )) == NULL )
return( -1 );
save = *++next;
/* now we have "(filter)" with str pointing to it */
*next = '\0';
if ( put_filter( ber, str ) == -1 )
return( -1 );
*next = save;
str = next;
}
return( 0 );
}
/*
* is_valid_attr - returns 1 if a is a syntactically valid left-hand side
* of a filter expression, 0 otherwise. A valid string may contain only
* letters, numbers, hyphens, semi-colons, colons and periods. examples:
* cn
* cn;lang-fr
* 1.2.3.4;binary;dynamic
* mail;dynamic
* cn:dn:1.2.3.4
*
* For compatibility with older servers, we also allow underscores in
* attribute types, even through they are not allowed by the LDAPv3 RFCs.
*/
static int
is_valid_attr( char *a )
{
for ( ; *a; a++ ) {
if ( !isascii( *a ) ) {
return( 0 );
} else if ( !isalnum( *a ) ) {
switch ( *a ) {
case '-':
case '.':
case ';':
case ':':
case '_':
break; /* valid */
default:
return( 0 );
}
}
}
return( 1 );
}
static char *
find_star( char *s )
{
for ( ; *s; ++s ) {
switch ( *s ) {
case '*': return s;
case '\\':
++s;
if ( hexchar2int(s[0]) >= 0 && hexchar2int(s[1]) >= 0 ) ++s;
default: break;
}
}
return NULL;
}
static int
put_simple_filter( BerElement *ber, char *str )
{
char *s, *s2, *s3, filterop;
char *value;
unsigned long ftype;
int rc, len;
char *oid; /* for v3 extended filter */
int dnattr; /* for v3 extended filter */
LDAPDebug( LDAP_DEBUG_TRACE, "put_simple_filter \"%s\"\n", str, 0, 0 );
rc = -1; /* pessimistic */
if (( str = nsldapi_strdup( str )) == NULL ) {
return( rc );
}
if ( (s = strchr( str, '=' )) == NULL ) {
goto free_and_return;
}
value = s + 1;
*s-- = '\0';
filterop = *s;
if ( filterop == '<' || filterop == '>' || filterop == '~' ||
filterop == ':' ) {
*s = '\0';
}
if ( ! is_valid_attr( str ) ) {
goto free_and_return;
}
switch ( filterop ) {
case '<':
ftype = LDAP_FILTER_LE;
break;
case '>':
ftype = LDAP_FILTER_GE;
break;
case '~':
ftype = LDAP_FILTER_APPROX;
break;
case ':': /* extended filter - v3 only */
/*
* extended filter looks like this:
*
* [type][':dn'][':'oid]':='value
*
* where one of type or :oid is required.
*
*/
ftype = LDAP_FILTER_EXTENDED;
s2 = s3 = NULL;
if ( (s2 = strrchr( str, ':' )) == NULL ) {
goto free_and_return;
}
if ( strcasecmp( s2, ":dn" ) == 0 ) {
oid = NULL;
dnattr = 1;
*s2 = '\0';
} else {
oid = s2 + 1;
dnattr = 0;
*s2 = '\0';
if ( (s3 = strrchr( str, ':' )) != NULL ) {
if ( strcasecmp( s3, ":dn" ) == 0 ) {
dnattr = 1;
} else {
goto free_and_return;
}
*s3 = '\0';
}
}
if ( (rc = ber_printf( ber, "t{", ftype )) == -1 ) {
goto free_and_return;
}
if ( oid != NULL ) {
if ( (rc = ber_printf( ber, "ts", LDAP_TAG_MRA_OID,
oid )) == -1 ) {
goto free_and_return;
}
}
if ( *str != '\0' ) {
if ( (rc = ber_printf( ber, "ts",
LDAP_TAG_MRA_TYPE, str )) == -1 ) {
goto free_and_return;
}
}
if (( len = unescape_filterval( value )) < 0 ||
( rc = ber_printf( ber, "totb}", LDAP_TAG_MRA_VALUE,
value, len, LDAP_TAG_MRA_DNATTRS, dnattr )) == -1 ) {
goto free_and_return;
}
rc = 0;
goto free_and_return;
break;
default:
if ( find_star( value ) == NULL ) {
ftype = LDAP_FILTER_EQUALITY;
} else if ( strcmp( value, "*" ) == 0 ) {
ftype = LDAP_FILTER_PRESENT;
} else {
rc = put_substring_filter( ber, str, value );
goto free_and_return;
}
break;
}
if ( ftype == LDAP_FILTER_PRESENT ) {
rc = ber_printf( ber, "ts", ftype, str );
} else if (( len = unescape_filterval( value )) >= 0 ) {
rc = ber_printf( ber, "t{so}", ftype, str, value, len );
}
if ( rc != -1 ) {
rc = 0;
}
free_and_return:
NSLDAPI_FREE( str );
return( rc );
}
/*
* Undo in place both LDAPv2 (RFC-1960) and LDAPv3 (hexadecimal) escape
* sequences within the null-terminated string 'val'. The resulting value
* may contain null characters.
*
* If 'val' contains invalid escape sequences we return -1.
* Otherwise the length of the unescaped value is returned.
*/
static int
unescape_filterval( char *val )
{
int escape, firstdigit, ival;
char *s, *d;
escape = 0;
for ( s = d = val; *s; s++ ) {
if ( escape ) {
/*
* first try LDAPv3 escape (hexadecimal) sequence
*/
if (( ival = hexchar2int( *s )) < 0 ) {
if ( firstdigit ) {
/*
* LDAPv2 (RFC1960) escape sequence
*/
*d++ = *s;
escape = 0;
} else {
return(-1);
}
}
if ( firstdigit ) {
*d = ( ival<<4 );
firstdigit = 0;
} else {
*d++ |= ival;
escape = 0;
}
} else if ( *s != '\\' ) {
*d++ = *s;
escape = 0;
} else {
escape = 1;
firstdigit = 1;
}
}
return( d - val );
}
/*
* convert character 'c' that represents a hexadecimal digit to an integer.
* if 'c' is not a hexidecimal digit [0-9A-Fa-f], -1 is returned.
* otherwise the converted value is returned.
*/
static int
hexchar2int( char c )
{
if ( c >= '0' && c <= '9' ) {
return( c - '0' );
}
if ( c >= 'A' && c <= 'F' ) {
return( c - 'A' + 10 );
}
if ( c >= 'a' && c <= 'f' ) {
return( c - 'a' + 10 );
}
return( -1 );
}
static int
put_substring_filter( BerElement *ber, char *type, char *val )
{
char *nextstar, gotstar = 0;
unsigned long ftype;
int len;
LDAPDebug( LDAP_DEBUG_TRACE, "put_substring_filter \"%s=%s\"\n", type,
val, 0 );
if ( ber_printf( ber, "t{s{", LDAP_FILTER_SUBSTRINGS, type ) == -1 ) {
return( -1 );
}
for ( ; val != NULL; val = nextstar ) {
if ( (nextstar = find_star( val )) != NULL ) {
*nextstar++ = '\0';
}
if ( gotstar == 0 ) {
ftype = LDAP_SUBSTRING_INITIAL;
} else if ( nextstar == NULL ) {
ftype = LDAP_SUBSTRING_FINAL;
} else {
ftype = LDAP_SUBSTRING_ANY;
}
if ( *val != '\0' ) {
if (( len = unescape_filterval( val )) < 0 ||
ber_printf( ber, "to", ftype, val, len ) == -1 ) {
return( -1 );
}
}
gotstar = 1;
}
if ( ber_printf( ber, "}}" ) == -1 ) {
return( -1 );
}
return( 0 );
}
int
LDAP_CALL
ldap_search_st(
LDAP *ld,
const char *base,
int scope,
const char *filter,
char **attrs,
int attrsonly,
struct timeval *timeout,
LDAPMessage **res
)
{
return( nsldapi_search_s( ld, base, scope, filter, attrs, attrsonly,
NULL, NULL, timeout, -1, -1, res ));
}
int
LDAP_CALL
ldap_search_s(
LDAP *ld,
const char *base,
int scope,
const char *filter,
char **attrs,
int attrsonly,
LDAPMessage **res
)
{
return( nsldapi_search_s( ld, base, scope, filter, attrs, attrsonly,
NULL, NULL, NULL, -1, -1, res ));
}
int LDAP_CALL
ldap_search_ext_s(
LDAP *ld,
const char *base,
int scope,
const char *filter,
char **attrs,
int attrsonly,
LDAPControl **serverctrls,
LDAPControl **clientctrls,
struct timeval *timeoutp,
int sizelimit,
LDAPMessage **res
)
{
return( nsldapi_search_s( ld, base, scope, filter, attrs, attrsonly,
serverctrls, clientctrls, timeoutp,
nsldapi_timeval2ldaplimit( timeoutp, -1 ), sizelimit, res ));
}
static int
nsldapi_search_s(
LDAP *ld,
const char *base,
int scope,
const char *filter,
char **attrs,
int attrsonly,
LDAPControl **serverctrls,
LDAPControl **clientctrls,
struct timeval *localtimeoutp,
int timelimit, /* -1 means use ld->ld_timelimit */
int sizelimit, /* -1 means use ld->ld_sizelimit */
LDAPMessage **res
)
{
int err, msgid;
/*
* It is an error to pass in a zero'd timeval.
*/
if ( localtimeoutp != NULL && localtimeoutp->tv_sec == 0 &&
localtimeoutp->tv_usec == 0 ) {
if ( ld != NULL ) {
LDAP_SET_LDERRNO( ld, LDAP_PARAM_ERROR, NULL, NULL );
}
if ( res != NULL ) {
*res = NULL;
}
return( LDAP_PARAM_ERROR );
}
if (( err = nsldapi_search( ld, base, scope, filter, attrs, attrsonly,
serverctrls, clientctrls, timelimit, sizelimit, &msgid ))
!= LDAP_SUCCESS ) {
return( err );
}
if ( ldap_result( ld, msgid, 1, localtimeoutp, res ) == -1 ) {
return( LDAP_GET_LDERRNO( ld, NULL, NULL ) );
}
if ( LDAP_GET_LDERRNO( ld, NULL, NULL ) == LDAP_TIMEOUT ) {
(void) ldap_abandon( ld, msgid );
err = LDAP_TIMEOUT;
LDAP_SET_LDERRNO( ld, err, NULL, NULL );
return( err );
}
return( ldap_result2error( ld, *res, 0 ) );
}

View File

@@ -1,314 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*/
/*
* setoption.c - ldap_set_option implementation
*/
#include "ldap-int.h"
#define LDAP_SETCLR_BITOPT( ld, bit, optdata ) \
if ( optdata != NULL ) { \
(ld)->ld_options |= bit; \
} else { \
(ld)->ld_options &= ~bit; \
}
int
LDAP_CALL
ldap_set_option( LDAP *ld, int option, const void *optdata )
{
int rc;
char *matched, *errstr;
if ( !nsldapi_initialized ) {
nsldapi_initialize_defaults();
}
/*
* process global options (not associated with an LDAP session handle)
*/
if ( option == LDAP_OPT_MEMALLOC_FN_PTRS ) {
struct lber_memalloc_fns memalloc_fns;
/* set libldap ones via a struct copy */
nsldapi_memalloc_fns = *((struct ldap_memalloc_fns *)optdata);
/* also set liblber memory allocation callbacks */
memalloc_fns.lbermem_malloc =
nsldapi_memalloc_fns.ldapmem_malloc;
memalloc_fns.lbermem_calloc =
nsldapi_memalloc_fns.ldapmem_calloc;
memalloc_fns.lbermem_realloc =
nsldapi_memalloc_fns.ldapmem_realloc;
memalloc_fns.lbermem_free =
nsldapi_memalloc_fns.ldapmem_free;
if ( ber_set_option( NULL, LBER_OPT_MEMALLOC_FN_PTRS,
&memalloc_fns ) != 0 ) {
return( -1 );
}
return( 0 );
}
/*
* LDAP_OPT_DEBUG_LEVEL is global
*/
if (LDAP_OPT_DEBUG_LEVEL == option)
{
#ifdef LDAP_DEBUG
ldap_debug = *((int *) optdata);
#endif
return 0;
}
/*
* if ld is NULL, arrange to modify our default settings
*/
if ( ld == NULL ) {
ld = &nsldapi_ld_defaults;
#ifdef LDAP_DEBUG
ldap_debug = 0;
#endif
}
/*
* process options that are associated with an LDAP session handle
*/
if ( !NSLDAPI_VALID_LDAP_POINTER( ld )) {
return( -1 ); /* punt */
}
rc = 0;
LDAP_MUTEX_LOCK( ld, LDAP_OPTION_LOCK );
switch( option ) {
/* options that can be turned on and off */
#ifdef LDAP_DNS
case LDAP_OPT_DNS:
LDAP_SETCLR_BITOPT( ld, LDAP_BITOPT_DNS, optdata );
break;
#endif
case LDAP_OPT_REFERRALS:
LDAP_SETCLR_BITOPT( ld, LDAP_BITOPT_REFERRALS, optdata );
break;
#ifdef LDAP_SSLIO_HOOKS
case LDAP_OPT_SSL:
LDAP_SETCLR_BITOPT( ld, LDAP_BITOPT_SSL, optdata );
break;
#endif
case LDAP_OPT_RESTART:
LDAP_SETCLR_BITOPT( ld, LDAP_BITOPT_RESTART, optdata );
break;
case LDAP_OPT_RECONNECT:
LDAP_SETCLR_BITOPT( ld, LDAP_BITOPT_RECONNECT, optdata );
break;
#ifdef LDAP_ASYNC_IO
case LDAP_OPT_ASYNC_CONNECT:
LDAP_SETCLR_BITOPT(ld, LDAP_BITOPT_ASYNC, optdata );
break;
#endif /* LDAP_ASYNC_IO */
/* fields in the LDAP structure */
case LDAP_OPT_DEREF:
ld->ld_deref = *((int *) optdata);
break;
case LDAP_OPT_SIZELIMIT:
ld->ld_sizelimit = *((int *) optdata);
break;
case LDAP_OPT_TIMELIMIT:
ld->ld_timelimit = *((int *) optdata);
break;
case LDAP_OPT_REFERRAL_HOP_LIMIT:
ld->ld_refhoplimit = *((int *) optdata);
break;
case LDAP_OPT_PROTOCOL_VERSION:
ld->ld_version = *((int *) optdata);
if ( ld->ld_defconn != NULL ) { /* also set in default conn. */
ld->ld_defconn->lconn_version = ld->ld_version;
}
break;
case LDAP_OPT_SERVER_CONTROLS:
/* nsldapi_dup_controls returns -1 and sets lderrno on error */
rc = nsldapi_dup_controls( ld, &ld->ld_servercontrols,
(LDAPControl **)optdata );
break;
case LDAP_OPT_CLIENT_CONTROLS:
/* nsldapi_dup_controls returns -1 and sets lderrno on error */
rc = nsldapi_dup_controls( ld, &ld->ld_clientcontrols,
(LDAPControl **)optdata );
break;
/* rebind proc */
case LDAP_OPT_REBIND_FN:
ld->ld_rebind_fn = (LDAP_REBINDPROC_CALLBACK *) optdata;
break;
case LDAP_OPT_REBIND_ARG:
ld->ld_rebind_arg = (void *) optdata;
break;
#ifdef LDAP_SSLIO_HOOKS
/* i/o function pointers */
case LDAP_OPT_IO_FN_PTRS:
/* struct copy */
ld->ld_io = *((struct ldap_io_fns *) optdata);
if ( NULL != ld->ld_sbp ) {
rc = ber_sockbuf_set_option( ld->ld_sbp,
LBER_SOCKBUF_OPT_READ_FN,
(void *) ld->ld_read_fn );
rc |= ber_sockbuf_set_option( ld->ld_sbp,
LBER_SOCKBUF_OPT_WRITE_FN,
(void *) ld->ld_write_fn );
if ( rc != 0 ) {
LDAP_SET_LDERRNO( ld, LDAP_LOCAL_ERROR,
NULL, NULL );
rc = -1;
}
}
break;
#endif
/* thread function pointers */
case LDAP_OPT_THREAD_FN_PTRS:
/* struct copy */
ld->ld_thread = *((struct ldap_thread_fns *) optdata);
if ( ld->ld_mutex_alloc_fn != NULL &&
ld != &nsldapi_ld_defaults &&
ld->ld_mutex != NULL ) {
int i;
for( i=0; i<LDAP_MAX_LOCK; i++ )
ld->ld_mutex[i] = (ld->ld_mutex_alloc_fn)();
}
/*
* Because we have just replaced the locking functions,
* we return here without unlocking the LDAP_OPTION_LOCK.
*/
return (rc);
/* extra thread function pointers */
case LDAP_OPT_EXTRA_THREAD_FN_PTRS:
/*
* XXXceb removing the full deal extra thread funcs to only
* pick up the threadid. Should this assumes that the LD
* was nulled prior to setting the functions.?
*
* this is how it previously went.
* ld->ld_thread2 = *((struct ldap_extra_thread_fns *) optdata);
*/
/* structure copy */
ld->ld_thread2 = *((struct ldap_extra_thread_fns *) optdata);
/*
*
ld->ld_threadid_fn = *((struct ldap_extra_thread_fns *) optdata)ltf_threadid_fn;
*/
ld->ld_mutex_trylock_fn = (LDAP_TF_MUTEX_TRYLOCK_CALLBACK *)NULL;
ld->ld_sema_alloc_fn = (LDAP_TF_SEMA_ALLOC_CALLBACK *) NULL;
ld->ld_sema_free_fn = (LDAP_TF_SEMA_FREE_CALLBACK *) NULL;
ld->ld_sema_wait_fn = (LDAP_TF_SEMA_WAIT_CALLBACK *) NULL;
ld->ld_sema_post_fn = (LDAP_TF_SEMA_POST_CALLBACK *) NULL;
/*
* In the case where the threadid function is being set, the
* LDAP_OPTION_LOCK was acquired without recording the lock
* owner and updating the reference count. We set that
* information here.
*/
if (ld->ld_mutex_lock_fn != NULL
&& ld->ld_threadid_fn != NULL) {
ld->ld_mutex_threadid[LDAP_OPTION_LOCK] =
ld->ld_threadid_fn();
ld->ld_mutex_refcnt[LDAP_OPTION_LOCK] = 1;
}
break;
/* DNS function pointers */
case LDAP_OPT_DNS_FN_PTRS:
/* struct copy */
ld->ld_dnsfn = *((struct ldap_dns_fns *) optdata);
break;
/* cache function pointers */
case LDAP_OPT_CACHE_FN_PTRS:
/* struct copy */
ld->ld_cache = *((struct ldap_cache_fns *) optdata);
break;
case LDAP_OPT_CACHE_STRATEGY:
ld->ld_cache_strategy = *((int *) optdata);
break;
case LDAP_OPT_CACHE_ENABLE:
ld->ld_cache_on = *((int *) optdata);
break;
case LDAP_OPT_ERROR_NUMBER:
LDAP_GET_LDERRNO( ld, &matched, &errstr );
matched = nsldapi_strdup( matched );
errstr = nsldapi_strdup( errstr );
LDAP_SET_LDERRNO( ld, *((int *) optdata), matched, errstr );
break;
case LDAP_OPT_ERROR_STRING:
rc = LDAP_GET_LDERRNO( ld, &matched, NULL );
matched = nsldapi_strdup( matched );
LDAP_SET_LDERRNO( ld, rc, matched,
nsldapi_strdup((char *) optdata));
rc = LDAP_SUCCESS;
break;
case LDAP_OPT_MATCHED_DN:
rc = LDAP_GET_LDERRNO( ld, NULL, &errstr );
errstr = nsldapi_strdup( errstr );
LDAP_SET_LDERRNO( ld, rc,
nsldapi_strdup((char *) optdata), errstr );
rc = LDAP_SUCCESS;
break;
case LDAP_OPT_PREFERRED_LANGUAGE:
if ( NULL != ld->ld_preferred_language ) {
NSLDAPI_FREE(ld->ld_preferred_language);
}
ld->ld_preferred_language = nsldapi_strdup((char *) optdata);
break;
case LDAP_OPT_HOST_NAME:
if ( NULL != ld->ld_defhost ) {
NSLDAPI_FREE(ld->ld_defhost);
}
ld->ld_defhost = nsldapi_strdup((char *) optdata);
break;
default:
LDAP_SET_LDERRNO( ld, LDAP_PARAM_ERROR, NULL, NULL );
rc = -1;
}
LDAP_MUTEX_UNLOCK( ld, LDAP_OPTION_LOCK );
return( rc );
}

View File

@@ -1,318 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*/
/*
* Copyright (c) 1994 Regents of the University of Michigan.
* All rights reserved.
*
* Redistribution and use in source and binary forms are permitted
* provided that this notice is preserved and that due credit is given
* to the University of Michigan at Ann Arbor. The name of the University
* may not be used to endorse or promote products derived from this
* software without specific prior written permission. This software
* is provided ``as is'' without express or implied warranty.
*/
/*
* sort.c: LDAP library entry and value sort routines
*/
#include "ldap-int.h"
/* This xp_qsort fixes a memory problem (ABR) on Solaris for the client.
* Server is welcome to use it too, but I wasn't sure if it
* would be ok to use XP code here. -slamm
*
* We don't want to require use of libxp when linking with libldap, so
* I'll leave use of xp_qsort as a MOZILLA_CLIENT-only thing for now. --mcs
*/
#if defined(MOZILLA_CLIENT) && defined(SOLARIS)
#include "xp_qsort.h"
#else
#define XP_QSORT qsort
#endif
typedef struct keycmp {
void *kc_arg;
LDAP_KEYCMP_CALLBACK *kc_cmp;
} keycmp_t;
typedef struct keything {
keycmp_t *kt_cmp;
const struct berval *kt_key;
LDAPMessage *kt_msg;
} keything_t;
static int LDAP_C LDAP_CALLBACK
ldapi_keycmp( const void *Lv, const void *Rv )
{
auto keything_t **L = (keything_t**)Lv;
auto keything_t **R = (keything_t**)Rv;
auto keycmp_t *cmp = (*L)->kt_cmp;
return cmp->kc_cmp( cmp->kc_arg, (*L)->kt_key, (*R)->kt_key );
}
int
LDAP_CALL
ldap_keysort_entries(
LDAP *ld,
LDAPMessage **chain,
void *arg,
LDAP_KEYGEN_CALLBACK *gen,
LDAP_KEYCMP_CALLBACK *cmp,
LDAP_KEYFREE_CALLBACK *fre)
{
size_t count, i;
keycmp_t kc = {0};
keything_t **kt;
LDAPMessage *e, *last;
LDAPMessage **ep;
if ( !NSLDAPI_VALID_LDAP_POINTER( ld )
|| chain == NULL || cmp == NULL ) {
return( LDAP_PARAM_ERROR );
}
count = ldap_count_entries( ld, *chain );
kt = (keything_t**)NSLDAPI_MALLOC( count * (sizeof(keything_t*) + sizeof(keything_t)) );
if ( kt == NULL ) {
LDAP_SET_LDERRNO( ld, LDAP_NO_MEMORY, NULL, NULL );
return( -1 );
}
for ( i = 0; i < count; i++ ) {
kt[i] = i + (keything_t*)(kt + count);
}
kc.kc_arg = arg;
kc.kc_cmp = cmp;
for ( e = *chain, i = 0; i < count; i++, e = e->lm_chain ) {
kt[i]->kt_msg = e;
kt[i]->kt_cmp = &kc;
kt[i]->kt_key = gen( arg, ld, e );
if ( kt[i]->kt_key == NULL ) {
if ( fre ) while ( i-- > 0 ) fre( arg, kt[i]->kt_key );
NSLDAPI_FREE( (char*)kt );
LDAP_SET_LDERRNO( ld, LDAP_NO_MEMORY, NULL, NULL );
return( -1 );
}
}
last = e;
XP_QSORT( (void*)kt, count, (size_t)sizeof(keything_t*), ldapi_keycmp );
ep = chain;
for ( i = 0; i < count; i++ ) {
*ep = kt[i]->kt_msg;
ep = &(*ep)->lm_chain;
if ( fre ) fre( arg, kt[i]->kt_key );
}
*ep = last;
NSLDAPI_FREE( (char*)kt );
return( 0 );
}
struct entrything {
char **et_vals;
LDAPMessage *et_msg;
};
typedef int (LDAP_C LDAP_CALLBACK LDAP_CHARCMP_CALLBACK)(char*, char*);
typedef int (LDAP_C LDAP_CALLBACK LDAP_VOIDCMP_CALLBACK)(const void*,
const void*);
static LDAP_CHARCMP_CALLBACK *et_cmp_fn;
static LDAP_VOIDCMP_CALLBACK et_cmp;
int
LDAP_C
LDAP_CALLBACK
ldap_sort_strcasecmp(
const char **a,
const char **b
)
{
/* XXXceb
* I am not 100% sure this is the way this should be handled.
* For now we will return a 0 on invalid.
*/
if (NULL == a || NULL == b)
return (0);
return( strcasecmp( (char *)*a, (char *)*b ) );
}
static int
LDAP_C
LDAP_CALLBACK
et_cmp(
const void *aa,
const void *bb
)
{
int i, rc;
struct entrything *a = (struct entrything *)aa;
struct entrything *b = (struct entrything *)bb;
if ( a->et_vals == NULL && b->et_vals == NULL )
return( 0 );
if ( a->et_vals == NULL )
return( -1 );
if ( b->et_vals == NULL )
return( 1 );
for ( i = 0; a->et_vals[i] && b->et_vals[i]; i++ ) {
if ( (rc = (*et_cmp_fn)( a->et_vals[i], b->et_vals[i] ))
!= 0 ) {
return( rc );
}
}
if ( a->et_vals[i] == NULL && b->et_vals[i] == NULL )
return( 0 );
if ( a->et_vals[i] == NULL )
return( -1 );
return( 1 );
}
int
LDAP_CALL
ldap_multisort_entries(
LDAP *ld,
LDAPMessage **chain,
char **attr, /* NULL => sort by DN */
LDAP_CMP_CALLBACK *cmp
)
{
int i, count;
struct entrything *et;
LDAPMessage *e, *last;
LDAPMessage **ep;
if ( !NSLDAPI_VALID_LDAP_POINTER( ld )
|| chain == NULL || cmp == NULL ) {
return( LDAP_PARAM_ERROR );
}
count = ldap_count_entries( ld, *chain );
if ( (et = (struct entrything *)NSLDAPI_MALLOC( count *
sizeof(struct entrything) )) == NULL ) {
LDAP_SET_LDERRNO( ld, LDAP_NO_MEMORY, NULL, NULL );
return( -1 );
}
e = *chain;
for ( i = 0; i < count; i++ ) {
et[i].et_msg = e;
et[i].et_vals = NULL;
if ( attr == NULL ) {
char *dn;
dn = ldap_get_dn( ld, e );
et[i].et_vals = ldap_explode_dn( dn, 1 );
NSLDAPI_FREE( dn );
} else {
int attrcnt;
char **vals;
for ( attrcnt = 0; attr[attrcnt] != NULL; attrcnt++ ) {
vals = ldap_get_values( ld, e, attr[attrcnt] );
if ( ldap_charray_merge( &(et[i].et_vals), vals )
!= 0 ) {
int j;
/* XXX risky: ldap_value_free( vals ); */
for ( j = 0; j <= i; j++ )
ldap_value_free( et[j].et_vals );
NSLDAPI_FREE( (char *) et );
LDAP_SET_LDERRNO( ld, LDAP_NO_MEMORY, NULL,
NULL );
return( -1 );
}
if ( vals != NULL ) {
NSLDAPI_FREE( (char *)vals );
}
}
}
e = e->lm_chain;
}
last = e;
et_cmp_fn = (LDAP_CHARCMP_CALLBACK *)cmp;
XP_QSORT( (void *) et, (size_t) count,
(size_t) sizeof(struct entrything), et_cmp );
ep = chain;
for ( i = 0; i < count; i++ ) {
*ep = et[i].et_msg;
ep = &(*ep)->lm_chain;
ldap_value_free( et[i].et_vals );
}
*ep = last;
NSLDAPI_FREE( (char *) et );
return( 0 );
}
int
LDAP_CALL
ldap_sort_entries(
LDAP *ld,
LDAPMessage **chain,
char *attr, /* NULL => sort by DN */
LDAP_CMP_CALLBACK *cmp
)
{
char *attrs[2];
attrs[0] = attr;
attrs[1] = NULL;
return( ldap_multisort_entries( ld, chain, attr ? attrs : NULL, cmp ) );
}
int
LDAP_CALL
ldap_sort_values(
LDAP *ld,
char **vals,
LDAP_VALCMP_CALLBACK *cmp
)
{
int nel;
if ( !NSLDAPI_VALID_LDAP_POINTER( ld ) || cmp == NULL ) {
return( LDAP_PARAM_ERROR );
}
if ( NULL == vals)
{
LDAP_SET_LDERRNO( ld, LDAP_PARAM_ERROR, NULL, NULL );
return( LDAP_PARAM_ERROR );
}
for ( nel = 0; vals[nel] != NULL; nel++ )
; /* NULL */
XP_QSORT( vals, nel, sizeof(char *), (LDAP_VOIDCMP_CALLBACK *)cmp );
return( LDAP_SUCCESS );
}

View File

@@ -1,437 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*/
#include "ldap-int.h"
/* ldap_create_sort_control:
Parameters are
ld LDAP pointer to the desired connection
sortKeyList an array of sortkeys
ctl_iscritical Indicates whether the control is critical of not. If
this field is non-zero, the operation will only be car-
ried out if the control is recognized by the server
and/or client
ctrlp the address of a place to put the constructed control
*/
int
LDAP_CALL
ldap_create_sort_control (
LDAP *ld,
LDAPsortkey **sortKeyList,
const char ctl_iscritical,
LDAPControl **ctrlp
)
{
BerElement *ber;
int i, rc;
if ( !NSLDAPI_VALID_LDAP_POINTER( ld )) {
return( LDAP_PARAM_ERROR );
}
if ( sortKeyList == NULL || ctrlp == NULL ) {
LDAP_SET_LDERRNO( ld, LDAP_PARAM_ERROR, NULL, NULL );
return ( LDAP_PARAM_ERROR );
}
/* create a ber package to hold the controlValue */
if ( ( nsldapi_alloc_ber_with_options( ld, &ber ) ) != LDAP_SUCCESS ) {
LDAP_SET_LDERRNO( ld, LDAP_NO_MEMORY, NULL, NULL );
return( LDAP_NO_MEMORY );
}
/* encode the start of the sequence of sequences into the ber */
if ( ber_printf( ber, "{" ) == -1 ) {
goto encoding_error_exit;
}
/* the sort control value will be encoded as a sequence of sequences
which are each encoded as one of the following: {s} or {sts} or {stb} or {ststb}
since the orderingRule and reverseOrder flag are both optional */
for ( i = 0; sortKeyList[i] != NULL; i++ ) {
/* encode the attributeType into the ber */
if ( ber_printf( ber, "{s", (sortKeyList[i])->sk_attrtype )
== -1 ) {
goto encoding_error_exit;
}
/* encode the optional orderingRule into the ber */
if ( (sortKeyList[i])->sk_matchruleoid != NULL ) {
if ( ber_printf( ber, "ts", LDAP_TAG_SK_MATCHRULE,
(sortKeyList[i])->sk_matchruleoid )
== -1 ) {
goto encoding_error_exit;
}
}
/* Encode the optional reverseOrder flag into the ber. */
/* If the flag is false, it should be absent. */
if ( (sortKeyList[i])->sk_reverseorder ) {
if ( ber_printf( ber, "tb}", LDAP_TAG_SK_REVERSE,
(sortKeyList[i])->sk_reverseorder ) == -1 ) {
goto encoding_error_exit;
}
} else {
if ( ber_printf( ber, "}" ) == -1 ) {
goto encoding_error_exit;
}
}
}
/* encode the end of the sequence of sequences into the ber */
if ( ber_printf( ber, "}" ) == -1 ) {
goto encoding_error_exit;
}
rc = nsldapi_build_control( LDAP_CONTROL_SORTREQUEST, ber, 1,
ctl_iscritical, ctrlp );
LDAP_SET_LDERRNO( ld, rc, NULL, NULL );
return( rc );
encoding_error_exit:
LDAP_SET_LDERRNO( ld, LDAP_ENCODING_ERROR, NULL, NULL );
ber_free( ber, 1 );
return( LDAP_ENCODING_ERROR );
}
/* ldap_parse_sort_control:
Parameters are
ld LDAP pointer to the desired connection
ctrlp An array of controls obtained from calling
ldap_parse_result on the set of results returned by
the server
result the address of a place to put the result code
attribute the address of a place to put the name of the
attribute which cause the operation to fail, optionally
returned by the server */
int
LDAP_CALL
ldap_parse_sort_control (
LDAP *ld,
LDAPControl **ctrlp,
unsigned long *result,
char **attribute
)
{
BerElement *ber;
int i, foundSortControl;
LDAPControl *sortCtrlp;
unsigned long len, tag;
char *attr;
if ( !NSLDAPI_VALID_LDAP_POINTER( ld ) || result == NULL ||
attribute == NULL ) {
return( LDAP_PARAM_ERROR );
}
/* find the sortControl in the list of controls if it exists */
if ( ctrlp == NULL ) {
LDAP_SET_LDERRNO( ld, LDAP_CONTROL_NOT_FOUND, NULL, NULL );
return ( LDAP_CONTROL_NOT_FOUND );
}
foundSortControl = 0;
for ( i = 0; (( ctrlp[i] != NULL ) && ( !foundSortControl )); i++ ) {
foundSortControl = !strcmp( ctrlp[i]->ldctl_oid, LDAP_CONTROL_SORTRESPONSE );
}
if ( !foundSortControl ) {
LDAP_SET_LDERRNO( ld, LDAP_CONTROL_NOT_FOUND, NULL, NULL );
return ( LDAP_CONTROL_NOT_FOUND );
} else {
/* let local var point to the sortControl */
sortCtrlp = ctrlp[i-1];
}
/* allocate a Ber element with the contents of the sort_control's struct berval */
if ( ( ber = ber_init( &sortCtrlp->ldctl_value ) ) == NULL ) {
LDAP_SET_LDERRNO( ld, LDAP_NO_MEMORY, NULL, NULL );
return( LDAP_NO_MEMORY );
}
/* decode the result from the Berelement */
if ( ber_scanf( ber, "{i", result ) == LBER_ERROR ) {
LDAP_SET_LDERRNO( ld, LDAP_DECODING_ERROR, NULL, NULL );
ber_free( ber, 1 );
return( LDAP_DECODING_ERROR );
}
/* if the server returned one, decode the attribute from the Ber element */
if ( ber_peek_tag( ber, &len ) == LDAP_TAG_SR_ATTRTYPE ) {
if ( ber_scanf( ber, "ta", &tag, &attr ) == LBER_ERROR ) {
LDAP_SET_LDERRNO( ld, LDAP_DECODING_ERROR, NULL, NULL );
ber_free( ber, 1 );
return( LDAP_DECODING_ERROR );
}
*attribute = attr;
} else {
*attribute = NULL;
}
if ( ber_scanf( ber, "}" ) == LBER_ERROR ) {
LDAP_SET_LDERRNO( ld, LDAP_DECODING_ERROR, NULL, NULL );
ber_free( ber, 1 );
return( LDAP_DECODING_ERROR );
}
/* the ber encoding is no longer needed */
ber_free(ber,1);
return( LDAP_SUCCESS );
}
/* Routines for the manipulation of string-representations of sort control keylists */
static int count_tokens(const char *s)
{
int count = 0;
const char *p = s;
int whitespace = 1;
/* Loop along the string counting the number of times we see the
* beginning of non-whitespace. This tells us
* the number of tokens in the string
*/
while (*p != '\0') {
if (whitespace) {
if (!isspace(*p)) {
whitespace = 0;
count++;
}
} else {
if (isspace(*p)) {
whitespace = 1;
}
}
p++;
}
return count;
}
/* Is this character a valid attribute description character ? */
static int isattrdescchar(char c)
{
/* Alphanumeric chars are in */
if (isalnum(c)) {
return 1;
}
/* As is ';' */
if (';' == c) {
return 1;
}
/* Everything else is out */
return 0;
}
static int read_next_token(const char **s,LDAPsortkey **key)
{
char c = 0;
const char *pos = *s;
int retval = 0;
LDAPsortkey *new_key = NULL;
const char *matchrule_source = NULL;
int matchrule_size = 0;
const char *attrdesc_source = NULL;
int attrdesc_size = 0;
int reverse = 0;
int state = 0;
while ( ((c = *pos++) != '\0') && (state != 4) ) {
switch (state) {
case 0:
/* case where we've not seen the beginning of the attr yet */
/* If we still see whitespace, nothing to do */
if (!isspace(c)) {
/* Otherwise, something to look at */
/* Is it a minus sign ? */
if ('-' == c) {
reverse = 1;
} else {
attrdesc_source = pos - 1;
state = 1;
}
}
break;
case 1:
/* case where we've seen the beginning of the attr, but not the end */
/* Is this char either whitespace or a ';' ? */
if ( isspace(c) || (':' == c)) {
attrdesc_size = (pos - attrdesc_source) - 1;
if (':' == c) {
state = 2;
} else {
state = 4;
}
}
break;
case 2:
/* case where we've seen the end of the attr and want the beginning of match rule */
if (!isspace(c)) {
matchrule_source = pos - 1;
state = 3;
} else {
state = 4;
}
break;
case 3:
/* case where we've seen the beginning of match rule and want to find the end */
if (isspace(c)) {
matchrule_size = (pos - matchrule_source) - 1;
state = 4;
}
break;
default:
break;
}
}
if (3 == state) {
/* means we fell off the end of the string looking for the end of the marching rule */
matchrule_size = (pos - matchrule_source) - 1;
}
if (1 == state) {
/* means we fell of the end of the string looking for the end of the attribute */
attrdesc_size = (pos - attrdesc_source) - 1;
}
if (NULL == attrdesc_source) {
/* Didn't find anything */
return -1;
}
new_key = (LDAPsortkey*)NSLDAPI_MALLOC(sizeof(LDAPsortkey));
if (0 == new_key) {
return LDAP_NO_MEMORY;
}
/* Allocate the strings */
new_key->sk_attrtype = (char *)NSLDAPI_MALLOC(attrdesc_size + 1);
if (NULL != matchrule_source) {
new_key->sk_matchruleoid = (char *)NSLDAPI_MALLOC(
matchrule_size + 1);
} else {
new_key->sk_matchruleoid = NULL;
}
/* Copy over the strings */
memcpy(new_key->sk_attrtype,attrdesc_source,attrdesc_size);
*(new_key->sk_attrtype + attrdesc_size) = '\0';
if (NULL != matchrule_source) {
memcpy(new_key->sk_matchruleoid,matchrule_source,matchrule_size);
*(new_key->sk_matchruleoid + matchrule_size) = '\0';
}
new_key->sk_reverseorder = reverse;
*s = pos - 1;
*key = new_key;
return retval;
}
int
LDAP_CALL
ldap_create_sort_keylist (
LDAPsortkey ***sortKeyList,
const char *string_rep
)
{
int count = 0;
LDAPsortkey **pointer_array = NULL;
const char *current_position = NULL;
char *s = NULL;
int retval = 0;
int i = 0;
/* Figure out how many there are */
if (NULL == string_rep) {
return LDAP_PARAM_ERROR;
}
if (NULL == sortKeyList) {
return LDAP_PARAM_ERROR;
}
count = count_tokens(string_rep);
if (0 == count) {
*sortKeyList = NULL;
return LDAP_PARAM_ERROR;
}
/* Allocate enough memory for the pointers */
pointer_array = (LDAPsortkey**)NSLDAPI_MALLOC(sizeof(LDAPsortkey*)
* (count + 1) );
if (NULL == pointer_array) {
return LDAP_NO_MEMORY;
}
/* Now walk along the string, allocating and filling in the LDAPsearchkey structure */
current_position = string_rep;
for (i = 0; i < count; i++) {
if (0 != (retval = read_next_token(&current_position,&(pointer_array[i])))) {
pointer_array[count] = NULL;
ldap_free_sort_keylist(pointer_array);
*sortKeyList = NULL;
return retval;
}
}
pointer_array[count] = NULL;
*sortKeyList = pointer_array;
return LDAP_SUCCESS;
}
void
LDAP_CALL
ldap_free_sort_keylist (
LDAPsortkey **sortKeyList
)
{
LDAPsortkey *this_one = NULL;
int i = 0;
if ( NULL == sortKeyList ) {
return;
}
/* Walk down the list freeing the LDAPsortkey structures */
for (this_one = sortKeyList[0]; this_one ; this_one = sortKeyList[++i]) {
/* Free the strings, if present */
if (NULL != this_one->sk_attrtype) {
NSLDAPI_FREE(this_one->sk_attrtype);
}
if (NULL != this_one->sk_matchruleoid) {
NSLDAPI_FREE(this_one->sk_matchruleoid);
}
NSLDAPI_FREE(this_one);
}
/* Free the pointer list */
NSLDAPI_FREE(sortKeyList);
}

View File

@@ -1,421 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*/
/*
* Copyright (c) 1993, 1994 Regents of the University of Michigan.
* All rights reserved.
*
* Redistribution and use in source and binary forms are permitted
* provided that this notice is preserved and that due credit is given
* to the University of Michigan at Ann Arbor. The name of the University
* may not be used to endorse or promote products derived from this
* software without specific prior written permission. This software
* is provided ``as is'' without express or implied warranty.
*
*/
/*
* searchpref.c: search preferences library routines for LDAP clients
*/
#include "ldap-int.h"
#include "srchpref.h"
int nsldapi_next_line_tokens( char **bufp, long *blenp, char ***toksp );
void nsldapi_free_strarray( char **sap );
static void free_searchobj( struct ldap_searchobj *so );
static int read_next_searchobj( char **bufp, long *blenp,
struct ldap_searchobj **sop, int soversion );
static char *sobjoptions[] = {
"internal",
NULL
};
static unsigned long sobjoptvals[] = {
LDAP_SEARCHOBJ_OPT_INTERNAL,
};
int
LDAP_CALL
ldap_init_searchprefs( char *file, struct ldap_searchobj **solistp )
{
FILE *fp;
char *buf;
long rlen, len;
int rc, eof;
if (( fp = fopen( file, "r" )) == NULL ) {
return( LDAP_SEARCHPREF_ERR_FILE );
}
if ( fseek( fp, 0L, SEEK_END ) != 0 ) { /* move to end to get len */
fclose( fp );
return( LDAP_SEARCHPREF_ERR_FILE );
}
len = ftell( fp );
if ( fseek( fp, 0L, SEEK_SET ) != 0 ) { /* back to start of file */
fclose( fp );
return( LDAP_SEARCHPREF_ERR_FILE );
}
if (( buf = NSLDAPI_MALLOC( (size_t)len )) == NULL ) {
fclose( fp );
return( LDAP_SEARCHPREF_ERR_MEM );
}
rlen = fread( buf, 1, (size_t)len, fp );
eof = feof( fp );
fclose( fp );
if ( rlen != len && !eof ) { /* error: didn't get the whole file */
NSLDAPI_FREE( buf );
return( LDAP_SEARCHPREF_ERR_FILE );
}
rc = ldap_init_searchprefs_buf( buf, rlen, solistp );
NSLDAPI_FREE( buf );
return( rc );
}
int
LDAP_CALL
ldap_init_searchprefs_buf( char *buf, long buflen,
struct ldap_searchobj **solistp )
{
int rc = 0, version;
char **toks;
struct ldap_searchobj *prevso, *so;
*solistp = prevso = NULLSEARCHOBJ;
if ( nsldapi_next_line_tokens( &buf, &buflen, &toks ) != 2 ||
strcasecmp( toks[ 0 ], "version" ) != 0 ) {
nsldapi_free_strarray( toks );
return( LDAP_SEARCHPREF_ERR_SYNTAX );
}
version = atoi( toks[ 1 ] );
nsldapi_free_strarray( toks );
if ( version != LDAP_SEARCHPREF_VERSION &&
version != LDAP_SEARCHPREF_VERSION_ZERO ) {
return( LDAP_SEARCHPREF_ERR_VERSION );
}
while ( buflen > 0 && ( rc = read_next_searchobj( &buf, &buflen, &so,
version )) == 0 && so != NULLSEARCHOBJ ) {
if ( prevso == NULLSEARCHOBJ ) {
*solistp = so;
} else {
prevso->so_next = so;
}
prevso = so;
}
if ( rc != 0 ) {
ldap_free_searchprefs( *solistp );
}
return( rc );
}
void
LDAP_CALL
ldap_free_searchprefs( struct ldap_searchobj *solist )
{
struct ldap_searchobj *so, *nextso;
if ( solist != NULL ) {
for ( so = solist; so != NULL; so = nextso ) {
nextso = so->so_next;
free_searchobj( so );
}
}
/* XXX XXX need to do some work here */
}
static void
free_searchobj( struct ldap_searchobj *so )
{
if ( so != NULL ) {
if ( so->so_objtypeprompt != NULL ) {
NSLDAPI_FREE( so->so_objtypeprompt );
}
if ( so->so_prompt != NULL ) {
NSLDAPI_FREE( so->so_prompt );
}
if ( so->so_filterprefix != NULL ) {
NSLDAPI_FREE( so->so_filterprefix );
}
if ( so->so_filtertag != NULL ) {
NSLDAPI_FREE( so->so_filtertag );
}
if ( so->so_defaultselectattr != NULL ) {
NSLDAPI_FREE( so->so_defaultselectattr );
}
if ( so->so_defaultselecttext != NULL ) {
NSLDAPI_FREE( so->so_defaultselecttext );
}
if ( so->so_salist != NULL ) {
struct ldap_searchattr *sa, *nextsa;
for ( sa = so->so_salist; sa != NULL; sa = nextsa ) {
nextsa = sa->sa_next;
if ( sa->sa_attrlabel != NULL ) {
NSLDAPI_FREE( sa->sa_attrlabel );
}
if ( sa->sa_attr != NULL ) {
NSLDAPI_FREE( sa->sa_attr );
}
if ( sa->sa_selectattr != NULL ) {
NSLDAPI_FREE( sa->sa_selectattr );
}
if ( sa->sa_selecttext != NULL ) {
NSLDAPI_FREE( sa->sa_selecttext );
}
NSLDAPI_FREE( sa );
}
}
if ( so->so_smlist != NULL ) {
struct ldap_searchmatch *sm, *nextsm;
for ( sm = so->so_smlist; sm != NULL; sm = nextsm ) {
nextsm = sm->sm_next;
if ( sm->sm_matchprompt != NULL ) {
NSLDAPI_FREE( sm->sm_matchprompt );
}
if ( sm->sm_filter != NULL ) {
NSLDAPI_FREE( sm->sm_filter );
}
NSLDAPI_FREE( sm );
}
}
NSLDAPI_FREE( so );
}
}
struct ldap_searchobj *
LDAP_CALL
ldap_first_searchobj( struct ldap_searchobj *solist )
{
return( solist );
}
struct ldap_searchobj *
LDAP_CALL
ldap_next_searchobj( struct ldap_searchobj *solist, struct ldap_searchobj *so )
{
return( so == NULLSEARCHOBJ ? so : so->so_next );
}
static int
read_next_searchobj( char **bufp, long *blenp, struct ldap_searchobj **sop,
int soversion )
{
int i, j, tokcnt;
char **toks;
struct ldap_searchobj *so;
struct ldap_searchattr **sa;
struct ldap_searchmatch **sm;
*sop = NULL;
/*
* Object type prompt comes first
*/
if (( tokcnt = nsldapi_next_line_tokens( bufp, blenp, &toks )) != 1 ) {
nsldapi_free_strarray( toks );
return( tokcnt == 0 ? 0 : LDAP_SEARCHPREF_ERR_SYNTAX );
}
if (( so = (struct ldap_searchobj *)NSLDAPI_CALLOC( 1,
sizeof( struct ldap_searchobj ))) == NULL ) {
nsldapi_free_strarray( toks );
return( LDAP_SEARCHPREF_ERR_MEM );
}
so->so_objtypeprompt = toks[ 0 ];
NSLDAPI_FREE( (char *)toks );
/*
* if this is post-version zero, options come next
*/
if ( soversion > LDAP_SEARCHPREF_VERSION_ZERO ) {
if (( tokcnt = nsldapi_next_line_tokens( bufp, blenp, &toks )) < 1 ) {
nsldapi_free_strarray( toks );
ldap_free_searchprefs( so );
return( LDAP_SEARCHPREF_ERR_SYNTAX );
}
for ( i = 0; toks[ i ] != NULL; ++i ) {
for ( j = 0; sobjoptions[ j ] != NULL; ++j ) {
if ( strcasecmp( toks[ i ], sobjoptions[ j ] ) == 0 ) {
so->so_options |= sobjoptvals[ j ];
}
}
}
nsldapi_free_strarray( toks );
}
/*
* "Fewer choices" prompt is next
*/
if (( tokcnt = nsldapi_next_line_tokens( bufp, blenp, &toks )) != 1 ) {
nsldapi_free_strarray( toks );
ldap_free_searchprefs( so );
return( LDAP_SEARCHPREF_ERR_SYNTAX );
}
so->so_prompt = toks[ 0 ];
NSLDAPI_FREE( (char *)toks );
/*
* Filter prefix for "More Choices" searching is next
*/
if (( tokcnt = nsldapi_next_line_tokens( bufp, blenp, &toks )) != 1 ) {
nsldapi_free_strarray( toks );
ldap_free_searchprefs( so );
return( LDAP_SEARCHPREF_ERR_SYNTAX );
}
so->so_filterprefix = toks[ 0 ];
NSLDAPI_FREE( (char *)toks );
/*
* "Fewer Choices" filter tag comes next
*/
if (( tokcnt = nsldapi_next_line_tokens( bufp, blenp, &toks )) != 1 ) {
nsldapi_free_strarray( toks );
ldap_free_searchprefs( so );
return( LDAP_SEARCHPREF_ERR_SYNTAX );
}
so->so_filtertag = toks[ 0 ];
NSLDAPI_FREE( (char *)toks );
/*
* Selection (disambiguation) attribute comes next
*/
if (( tokcnt = nsldapi_next_line_tokens( bufp, blenp, &toks )) != 1 ) {
nsldapi_free_strarray( toks );
ldap_free_searchprefs( so );
return( LDAP_SEARCHPREF_ERR_SYNTAX );
}
so->so_defaultselectattr = toks[ 0 ];
NSLDAPI_FREE( (char *)toks );
/*
* Label for selection (disambiguation) attribute
*/
if (( tokcnt = nsldapi_next_line_tokens( bufp, blenp, &toks )) != 1 ) {
nsldapi_free_strarray( toks );
ldap_free_searchprefs( so );
return( LDAP_SEARCHPREF_ERR_SYNTAX );
}
so->so_defaultselecttext = toks[ 0 ];
NSLDAPI_FREE( (char *)toks );
/*
* Search scope is next
*/
if (( tokcnt = nsldapi_next_line_tokens( bufp, blenp, &toks )) != 1 ) {
nsldapi_free_strarray( toks );
ldap_free_searchprefs( so );
return( LDAP_SEARCHPREF_ERR_SYNTAX );
}
if ( !strcasecmp(toks[ 0 ], "subtree" )) {
so->so_defaultscope = LDAP_SCOPE_SUBTREE;
} else if ( !strcasecmp(toks[ 0 ], "onelevel" )) {
so->so_defaultscope = LDAP_SCOPE_ONELEVEL;
} else if ( !strcasecmp(toks[ 0 ], "base" )) {
so->so_defaultscope = LDAP_SCOPE_BASE;
} else {
ldap_free_searchprefs( so );
return( LDAP_SEARCHPREF_ERR_SYNTAX );
}
nsldapi_free_strarray( toks );
/*
* "More Choices" search option list comes next
*/
sa = &( so->so_salist );
while (( tokcnt = nsldapi_next_line_tokens( bufp, blenp, &toks )) > 0 ) {
if ( tokcnt < 5 ) {
nsldapi_free_strarray( toks );
ldap_free_searchprefs( so );
return( LDAP_SEARCHPREF_ERR_SYNTAX );
}
if (( *sa = ( struct ldap_searchattr * )NSLDAPI_CALLOC( 1,
sizeof( struct ldap_searchattr ))) == NULL ) {
nsldapi_free_strarray( toks );
ldap_free_searchprefs( so );
return( LDAP_SEARCHPREF_ERR_MEM );
}
( *sa )->sa_attrlabel = toks[ 0 ];
( *sa )->sa_attr = toks[ 1 ];
( *sa )->sa_selectattr = toks[ 3 ];
( *sa )->sa_selecttext = toks[ 4 ];
/* Deal with bitmap */
( *sa )->sa_matchtypebitmap = 0;
for ( i = strlen( toks[ 2 ] ) - 1, j = 0; i >= 0; i--, j++ ) {
if ( toks[ 2 ][ i ] == '1' ) {
( *sa )->sa_matchtypebitmap |= (1 << j);
}
}
NSLDAPI_FREE( toks[ 2 ] );
NSLDAPI_FREE( ( char * ) toks );
sa = &(( *sa )->sa_next);
}
*sa = NULL;
/*
* Match types are last
*/
sm = &( so->so_smlist );
while (( tokcnt = nsldapi_next_line_tokens( bufp, blenp, &toks )) > 0 ) {
if ( tokcnt < 2 ) {
nsldapi_free_strarray( toks );
ldap_free_searchprefs( so );
return( LDAP_SEARCHPREF_ERR_SYNTAX );
}
if (( *sm = ( struct ldap_searchmatch * )NSLDAPI_CALLOC( 1,
sizeof( struct ldap_searchmatch ))) == NULL ) {
nsldapi_free_strarray( toks );
ldap_free_searchprefs( so );
return( LDAP_SEARCHPREF_ERR_MEM );
}
( *sm )->sm_matchprompt = toks[ 0 ];
( *sm )->sm_filter = toks[ 1 ];
NSLDAPI_FREE( ( char * ) toks );
sm = &(( *sm )->sm_next );
}
*sm = NULL;
*sop = so;
return( 0 );
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1,303 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*/
/* tmpltest.c - implements a test/config templates. */
#include <stdio.h>
#include <sys/types.h>
#ifdef _WINDOWS
#include <windows.h>
#endif
#include "ldap-int.h"
#include "disptmpl.h"
#include "srchpref.h"
#ifdef MACOS
#include <stdlib.h>
#include <console.h>
#endif /* MACOS */
#ifdef NEEDPROTOS
void dump_tmpl( struct ldap_disptmpl *tmpl );
void dump_srchpref( struct ldap_searchobj *sp );
#else /* NEEDPROTOS */
void dump_tmpl();
void dump_srchpref();
#endif /* NEEDPROTOS */
#define NULLSTRINGIFNULL( s ) ( s == NULL ? "(null)" : s )
int
main( int argc, char **argv )
{
struct ldap_disptmpl *templates, *dtp;
struct ldap_searchobj *so, *sop;
int err;
#ifdef MACOS
ccommand( &argv );
for ( argc = 0; argv[ argc ] != NULL; ++argc ) {
;
}
cshow( stdout );
#endif /* MACOS */
if (( err = ldap_init_templates( "ldaptemplates.conf", &templates ))
!= 0 ) {
fprintf( stderr, "ldap_init_templates failed (%d)\n", err );
exit( 1 );
}
if (( err = ldap_init_searchprefs( "ldapsearchprefs.conf", &so ))
!= 0 ) {
fprintf( stderr, "ldap_init_searchprefs failed (%d)\n", err );
exit( 1 );
}
if ( argc == 1 ) {
printf( "*** Display Templates:\n" );
for ( dtp = ldap_first_disptmpl( templates ); dtp != NULLDISPTMPL;
dtp = ldap_next_disptmpl( templates, dtp )) {
dump_tmpl( dtp );
printf( "\n\n" );
}
printf( "\n\n*** Search Objects:\n" );
for ( sop = ldap_first_searchobj( so ); sop != NULLSEARCHOBJ;
sop = ldap_next_searchobj( so, sop )) {
dump_srchpref( sop );
printf( "\n\n" );
}
} else {
if (( dtp = ldap_oc2template( ++argv, templates )) == NULL ) {
fprintf( stderr, "no matching template found\n" );
} else {
dump_tmpl( dtp );
}
}
ldap_free_templates( templates );
ldap_free_searchprefs( so );
exit( 0 );
}
static char *syn_name[] = {
"?", "CIS", "MLS", "DN", "BOOL", "JPEG", "JPEGBTN", "FAX", "FAXBTN",
"AUDIOBTN", "TIME", "DATE", "URL", "SEARCHACT", "LINKACT", "ADDDNACT",
"VERIFYACT",
};
static char *syn_type[] = {
"?", "txt", "img", "?", "bool", "?", "?", "?", "btn",
"?", "?", "?", "?", "?", "?", "?",
"action", "?"
};
static char *includeattrs[] = { "objectClass", "sn", NULL };
static char *item_opts[] = {
"ro", "sort", "1val", "hide", "required", "hideiffalse", NULL
};
static unsigned long item_opt_vals[] = {
LDAP_DITEM_OPT_READONLY, LDAP_DITEM_OPT_SORTVALUES,
LDAP_DITEM_OPT_SINGLEVALUED, LDAP_DITEM_OPT_HIDEIFEMPTY,
LDAP_DITEM_OPT_VALUEREQUIRED, LDAP_DITEM_OPT_HIDEIFFALSE,
};
void
dump_tmpl( struct ldap_disptmpl *tmpl )
{
struct ldap_tmplitem *rowp, *colp;
int i, rowcnt, colcnt;
char **fetchattrs;
struct ldap_oclist *ocp;
struct ldap_adddeflist *adp;
printf( "** Template \"%s\" (plural \"%s\", icon \"%s\")\n",
NULLSTRINGIFNULL( tmpl->dt_name ),
NULLSTRINGIFNULL( tmpl->dt_pluralname ),
NULLSTRINGIFNULL( tmpl->dt_iconname ));
printf( "object class list:\n" );
for ( ocp = tmpl->dt_oclist; ocp != NULL; ocp = ocp->oc_next ) {
for ( i = 0; ocp->oc_objclasses[ i ] != NULL; ++i ) {
printf( "%s%s", i == 0 ? " " : " & ",
NULLSTRINGIFNULL( ocp->oc_objclasses[ i ] ));
}
putchar( '\n' );
}
putchar( '\n' );
printf( "template options: " );
if ( tmpl->dt_options == 0L ) {
printf( "NONE\n" );
} else {
printf( "%s %s %s\n", LDAP_IS_DISPTMPL_OPTION_SET( tmpl,
LDAP_DTMPL_OPT_ADDABLE ) ? "addable" : "",
LDAP_IS_DISPTMPL_OPTION_SET( tmpl, LDAP_DTMPL_OPT_ALLOWMODRDN )
? "modrdn" : "",
LDAP_IS_DISPTMPL_OPTION_SET( tmpl, LDAP_DTMPL_OPT_ALTVIEW )
? "altview" : "" );
}
printf( "authenticate as attribute: %s\n", tmpl->dt_authattrname != NULL ?
tmpl->dt_authattrname : "<default>" );
printf( "default RDN attribute: %s\n", tmpl->dt_defrdnattrname != NULL ?
tmpl->dt_defrdnattrname : "NONE" );
printf( "default add location: %s\n", tmpl->dt_defaddlocation != NULL ?
tmpl->dt_defaddlocation : "NONE" );
printf( "\nnew entry value default rules:\n" );
for ( adp = tmpl->dt_adddeflist; adp != NULL; adp = adp->ad_next ) {
if ( adp->ad_source == LDAP_ADSRC_CONSTANTVALUE ) {
printf( " attribute %s <-- constant value \"%s\"\n",
NULLSTRINGIFNULL( adp->ad_attrname),
NULLSTRINGIFNULL( adp->ad_value ));
} else {
printf( " attribute %s <-- adder's DN\n",
NULLSTRINGIFNULL( adp->ad_attrname ));
}
}
putchar( '\n' );
printf( "\nfetch attributes & values:\n" );
if (( fetchattrs = ldap_tmplattrs( tmpl, includeattrs, 1,
LDAP_SYN_OPT_DEFER )) == NULL ) {
printf( " <none>\n" );
} else {
for ( i = 0; fetchattrs[ i ] != NULL; ++i ) {
printf( " %s\n", fetchattrs[ i ] );
free( fetchattrs[ i ] );
}
free( (char *)fetchattrs );
}
printf( "\nfetch attributes only:\n" );
if (( fetchattrs = ldap_tmplattrs( tmpl, NULL, 0,
LDAP_SYN_OPT_DEFER )) == NULL ) {
printf( " <none>\n" );
} else {
for ( i = 0; fetchattrs[ i ] != NULL; ++i ) {
printf( " %s\n", fetchattrs[ i ] );
free( fetchattrs[ i ] );
}
free( (char *)fetchattrs );
}
printf( "\ntemplate items:\n" );
rowcnt = 0;
for ( rowp = ldap_first_tmplrow( tmpl ); rowp != NULLTMPLITEM;
rowp = ldap_next_tmplrow( tmpl, rowp )) {
++rowcnt;
colcnt = 0;
for ( colp = ldap_first_tmplcol( tmpl, rowp ); colp != NULLTMPLITEM;
colp = ldap_next_tmplcol( tmpl, rowp, colp )) {
++colcnt;
printf( " %2d-%d: %s (%s%s", rowcnt, colcnt,
syn_name[ colp->ti_syntaxid & 0x0000FFFF ],
syn_type[ LDAP_GET_SYN_TYPE( colp->ti_syntaxid ) >> 24 ],
(( LDAP_GET_SYN_OPTIONS( colp->ti_syntaxid ) &
LDAP_SYN_OPT_DEFER ) != 0 ) ? ",defer" : "" );
for ( i = 0; item_opts[ i ] != NULL; ++i ) {
if ( LDAP_IS_TMPLITEM_OPTION_SET( colp, item_opt_vals[ i ] )) {
printf( ",%s", NULLSTRINGIFNULL( item_opts[ i ] ));
}
}
printf( "), %s, %s", NULLSTRINGIFNULL( colp->ti_attrname ),
NULLSTRINGIFNULL( colp->ti_label ));
if ( colp->ti_args != NULL ) {
printf( ",args=" );
for ( i = 0; colp->ti_args[ i ] != NULL; ++i ) {
printf( "<%s>", NULLSTRINGIFNULL( colp->ti_args[ i ] ));
}
}
putchar( '\n' );
}
}
}
void
dump_srchpref( struct ldap_searchobj *so )
{
int i;
struct ldap_searchattr *sa;
struct ldap_searchmatch *sm;
printf( "Object type prompt: %s\n",
NULLSTRINGIFNULL( so->so_objtypeprompt ));
printf( "Options: %s\n",
LDAP_IS_SEARCHOBJ_OPTION_SET( so, LDAP_SEARCHOBJ_OPT_INTERNAL ) ?
"internal" : "NONE" );
printf( "Prompt: %s\n", NULLSTRINGIFNULL( so->so_prompt ));
printf( "Scope: " );
switch ( so->so_defaultscope ) {
case LDAP_SCOPE_BASE:
printf( "LDAP_SCOPE_BASE" );
break;
case LDAP_SCOPE_ONELEVEL:
printf( "LDAP_SCOPE_ONELEVEL" );
break;
case LDAP_SCOPE_SUBTREE:
printf( "LDAP_SCOPE_SUBTREE" );
break;
default:
printf("*** unknown!" );
}
puts( "\n" );
printf( "Filter prefix: %s\n",
NULLSTRINGIFNULL( so->so_filterprefix ));
printf( "Filter tag: %s\n",
NULLSTRINGIFNULL( so->so_filtertag ));
printf( "Default select attr: %s\n",
NULLSTRINGIFNULL( so->so_defaultselectattr ));
printf( "Default select text: %s\n",
NULLSTRINGIFNULL( so->so_defaultselecttext ));
printf( "Searchable attributes ---- \n" );
for ( sa = so->so_salist; sa != NULL; sa = sa->sa_next ) {
printf( " Label: %s\n", NULLSTRINGIFNULL( sa->sa_attrlabel ));
printf( " Attribute: %s\n", NULLSTRINGIFNULL( sa->sa_attr ));
printf( " Select attr: %s\n", NULLSTRINGIFNULL( sa->sa_selectattr ));
printf( " Select text: %s\n", NULLSTRINGIFNULL( sa->sa_selecttext ));
printf( " Match types ---- \n" );
for ( i = 0, sm = so->so_smlist; sm != NULL; i++, sm = sm->sm_next ) {
if (( sa->sa_matchtypebitmap >> i ) & 1 ) {
printf( " %s (%s)\n",
NULLSTRINGIFNULL( sm->sm_matchprompt ),
NULLSTRINGIFNULL( sm->sm_filter ));
}
}
}
}

View File

@@ -1,534 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*/
/*
* Copyright (c) 1990 Regents of the University of Michigan.
* All rights reserved.
*/
/*
* ufn.c
*/
#if 0
#ifndef lint
static char copyright[] = "@(#) Copyright (c) 1993 Regents of the University of Michigan.\nAll rights reserved.\n";
#endif
#endif
#include "ldap-int.h"
typedef int (LDAP_CALL *cancelptype)( void *cancelparm );
static int ldap_ufn_search_ctx( LDAP *ld, char **ufncomp, int ncomp,
char *prefix, char **attrs, int attrsonly,
LDAPMessage **res, LDAP_CANCELPROC_CALLBACK *cancelproc, void *cancelparm,
char *tag1, char *tag2, char *tag3 );
static LDAPMessage *ldap_msg_merge( LDAP *ld, LDAPMessage *a, LDAPMessage *b );
static LDAPMessage *ldap_ufn_expand( LDAP *ld,
LDAP_CANCELPROC_CALLBACK *cancelproc, void *cancelparm, char **dns,
char *filter, int scope, char **attrs, int aonly, int *err );
/*
* ldap_ufn_search_ctx - do user friendly searching; provide cancel feature;
* specify ldapfilter.conf tags for each phase of search
*
* ld LDAP descriptor
* ufncomp the exploded user friendly name to look for
* ncomp number of elements in ufncomp
* prefix where to start searching
* attrs list of attribute types to return for matches
* attrsonly 1 => attributes only 0 => attributes and values
* res will contain the result of the search
* cancelproc routine that returns non-zero if operation should be
* cancelled. This can be NULL. If it is non-NULL, the
* routine will be called periodically.
* cancelparm void * that is passed to cancelproc
* tag[123] the ldapfilter.conf tag that will be used in phases
* 1, 2, and 3 of the search, respectively
*
* Example:
* char *attrs[] = { "mail", "title", 0 };
* char *ufncomp[] = { "howes", "umich", "us", 0 }
* LDAPMessage *res;
* error = ldap_ufn_search_ctx( ld, ufncomp, 3, NULL, attrs, attrsonly,
* &res, acancelproc, along, "ufn first",
* "ufn intermediate", "ufn last" );
*/
static int
ldap_ufn_search_ctx(
LDAP *ld,
char **ufncomp,
int ncomp,
char *prefix,
char **attrs,
int attrsonly,
LDAPMessage **res,
LDAP_CANCELPROC_CALLBACK *cancelproc,
void *cancelparm,
char *tag1,
char *tag2,
char *tag3
)
{
char *dn, *ftag = NULL;
char **dns = NULL;
int max, i, err, scope = 0, phase, tries;
LDAPFiltInfo *fi;
LDAPMessage *tmpcand;
LDAPMessage *candidates;
static char *objattrs[] = { "objectClass", NULL };
/*
* look up ufn components from most to least significant.
* there are 3 phases.
* phase 1 search the root for orgs or countries
* phase 2 search for orgs
* phase 3 search for a person
* in phases 1 and 2, we are building a list of candidate DNs,
* below which we will search for the final component of the ufn.
* for each component we try the filters listed in the
* filterconfig file, first one-level (except the last compoment),
* then subtree. if any of them produce any results, we go on to
* the next component.
*/
*res = NULL;
candidates = NULL;
phase = 1;
for ( ncomp--; ncomp != -1; ncomp-- ) {
if ( *ufncomp[ncomp] == '"' ) {
char *quote;
if ( (quote = strrchr( ufncomp[ncomp], '"' )) != NULL )
*quote = '\0';
strcpy( ufncomp[ncomp], ufncomp[ncomp] + 1 );
}
if ( ncomp == 0 )
phase = 3;
switch ( phase ) {
case 1:
ftag = tag1;
scope = LDAP_SCOPE_ONELEVEL;
break;
case 2:
ftag = tag2;
scope = LDAP_SCOPE_ONELEVEL;
break;
case 3:
ftag = tag3;
scope = LDAP_SCOPE_SUBTREE;
break;
}
/*
* construct an array of DN's to search below from the
* list of candidates.
*/
if ( candidates == NULL ) {
if ( prefix != NULL ) {
if ( (dns = (char **)NSLDAPI_MALLOC(
sizeof(char *) * 2 )) == NULL ) {
err = LDAP_NO_MEMORY;
LDAP_SET_LDERRNO( ld, err, NULL, NULL );
return( err );
}
dns[0] = nsldapi_strdup( prefix );
dns[1] = NULL;
} else {
dns = NULL;
}
} else {
i = 0, max = 0;
for ( tmpcand = candidates; tmpcand != NULL &&
tmpcand->lm_msgtype != LDAP_RES_SEARCH_RESULT;
tmpcand = tmpcand->lm_chain )
{
if ( (dn = ldap_get_dn( ld, tmpcand )) == NULL )
continue;
if ( dns == NULL ) {
if ( (dns = (char **)NSLDAPI_MALLOC(
sizeof(char *) * 8 )) == NULL ) {
err = LDAP_NO_MEMORY;
LDAP_SET_LDERRNO( ld, err,
NULL, NULL );
return( err );
}
max = 8;
} else if ( i >= max ) {
if ( (dns = (char **)NSLDAPI_REALLOC(
dns, sizeof(char *) * 2 * max ))
== NULL ) {
err = LDAP_NO_MEMORY;
LDAP_SET_LDERRNO( ld, err,
NULL, NULL );
return( err );
}
max *= 2;
}
dns[i++] = dn;
dns[i] = NULL;
}
ldap_msgfree( candidates );
candidates = NULL;
}
tries = 0;
tryagain:
tries++;
for ( fi = ldap_getfirstfilter( ld->ld_filtd, ftag,
ufncomp[ncomp] ); fi != NULL;
fi = ldap_getnextfilter( ld->ld_filtd ) )
{
if ( (candidates = ldap_ufn_expand( ld, cancelproc,
cancelparm, dns, fi->lfi_filter, scope,
phase == 3 ? attrs : objattrs,
phase == 3 ? attrsonly : 1, &err )) != NULL )
{
break;
}
if ( err == -1 || err == LDAP_USER_CANCELLED ) {
if ( dns != NULL ) {
ldap_value_free( dns );
dns = NULL;
}
return( err );
}
}
if ( candidates == NULL ) {
if ( tries < 2 && phase != 3 ) {
scope = LDAP_SCOPE_SUBTREE;
goto tryagain;
} else {
if ( dns != NULL ) {
ldap_value_free( dns );
dns = NULL;
}
return( err );
}
}
/* go on to the next component */
if ( phase == 1 )
phase++;
if ( dns != NULL ) {
ldap_value_free( dns );
dns = NULL;
}
}
*res = candidates;
return( err );
}
int
LDAP_CALL
ldap_ufn_search_ct( LDAP *ld, char *ufn, char **attrs, int attrsonly,
LDAPMessage **res, LDAP_CANCELPROC_CALLBACK *cancelproc, void *cancelparm,
char *tag1, char *tag2, char *tag3 )
{
char **ufncomp, **prefixcomp;
char *pbuf;
int ncomp, pcomp, i, err = 0;
/* getfilter stuff must be inited before we are called */
if ( ld->ld_filtd == NULL ) {
err = LDAP_PARAM_ERROR;
LDAP_SET_LDERRNO( ld, err, NULL, NULL );
return( err );
}
/* call ldap_explode_dn() to break the ufn into its components */
if ( (ufncomp = ldap_explode_dn( ufn, 0 )) == NULL ) {
err = LDAP_LOCAL_ERROR;
LDAP_SET_LDERRNO( ld, err, NULL, NULL );
return( err );
}
for ( ncomp = 0; ufncomp[ncomp] != NULL; ncomp++ )
; /* NULL */
/* more than two components => try it fully qualified first */
if ( ncomp > 2 || ld->ld_ufnprefix == NULL ) {
err = ldap_ufn_search_ctx( ld, ufncomp, ncomp, NULL, attrs,
attrsonly, res, cancelproc, cancelparm, tag1, tag2, tag3 );
if ( ldap_count_entries( ld, *res ) > 0 ) {
ldap_value_free( ufncomp );
return( err );
} else {
ldap_msgfree( *res );
*res = NULL;
}
}
if ( ld->ld_ufnprefix == NULL ) {
ldap_value_free( ufncomp );
return( err );
}
/* if that failed, or < 2 components, use the prefix */
if ( (prefixcomp = ldap_explode_dn( ld->ld_ufnprefix, 0 )) == NULL ) {
ldap_value_free( ufncomp );
err = LDAP_LOCAL_ERROR;
LDAP_SET_LDERRNO( ld, err, NULL, NULL );
return( err );
}
for ( pcomp = 0; prefixcomp[pcomp] != NULL; pcomp++ )
; /* NULL */
if ( (pbuf = (char *)NSLDAPI_MALLOC( strlen( ld->ld_ufnprefix ) + 1 ))
== NULL ) {
ldap_value_free( ufncomp );
ldap_value_free( prefixcomp );
err = LDAP_NO_MEMORY;
LDAP_SET_LDERRNO( ld, err, NULL, NULL );
return( err );
}
for ( i = 0; i < pcomp; i++ ) {
int j;
*pbuf = '\0';
for ( j = i; j < pcomp; j++ ) {
strcat( pbuf, prefixcomp[j] );
if ( j + 1 < pcomp )
strcat( pbuf, "," );
}
err = ldap_ufn_search_ctx( ld, ufncomp, ncomp, pbuf, attrs,
attrsonly, res, cancelproc, cancelparm, tag1, tag2, tag3 );
if ( ldap_count_entries( ld, *res ) > 0 ) {
break;
} else {
ldap_msgfree( *res );
*res = NULL;
}
}
ldap_value_free( ufncomp );
ldap_value_free( prefixcomp );
NSLDAPI_FREE( pbuf );
return( err );
}
/*
* same as ldap_ufn_search_ct, except without the ability to specify
* ldapfilter.conf tags.
*/
int
LDAP_CALL
ldap_ufn_search_c( LDAP *ld, char *ufn, char **attrs, int attrsonly,
LDAPMessage **res, LDAP_CANCELPROC_CALLBACK *cancelproc, void *cancelparm )
{
return( ldap_ufn_search_ct( ld, ufn, attrs, attrsonly, res, cancelproc,
cancelparm, "ufn first", "ufn intermediate", "ufn last" ) );
}
/*
* same as ldap_ufn_search_c without the cancel function
*/
int
LDAP_CALL
ldap_ufn_search_s( LDAP *ld, char *ufn, char **attrs, int attrsonly,
LDAPMessage **res )
{
struct timeval tv;
tv.tv_sec = ld->ld_timelimit;
return( ldap_ufn_search_ct( ld, ufn, attrs, attrsonly, res,
ld->ld_timelimit ? ldap_ufn_timeout : NULL,
ld->ld_timelimit ? (void *) &tv : NULL,
"ufn first", "ufn intermediate", "ufn last" ) );
}
/*
* ldap_msg_merge - merge two ldap search result chains. the more
* serious of the two error result codes is kept.
*/
static LDAPMessage *
ldap_msg_merge( LDAP *ld, LDAPMessage *a, LDAPMessage *b )
{
LDAPMessage *end, *aprev, *aend, *bprev, *bend;
if ( a == NULL )
return( b );
if ( b == NULL )
return( a );
/* find the ends of the a and b chains */
aprev = NULL;
for ( aend = a; aend->lm_chain != NULL; aend = aend->lm_chain )
aprev = aend;
bprev = NULL;
for ( bend = b; bend->lm_chain != NULL; bend = bend->lm_chain )
bprev = bend;
/* keep result a */
if ( ldap_result2error( ld, aend, 0 ) != LDAP_SUCCESS ) {
/* remove result b */
ldap_msgfree( bend );
if ( bprev != NULL )
bprev->lm_chain = NULL;
else
b = NULL;
end = aend;
if ( aprev != NULL )
aprev->lm_chain = NULL;
else
a = NULL;
/* keep result b */
} else {
/* remove result a */
ldap_msgfree( aend );
if ( aprev != NULL )
aprev->lm_chain = NULL;
else
a = NULL;
end = bend;
if ( bprev != NULL )
bprev->lm_chain = NULL;
else
b = NULL;
}
if ( (a == NULL && b == NULL) || (a == NULL && bprev == NULL) ||
(b == NULL && aprev == NULL) )
return( end );
if ( a == NULL ) {
bprev->lm_chain = end;
return( b );
} else if ( b == NULL ) {
aprev->lm_chain = end;
return( a );
} else {
bprev->lm_chain = end;
aprev->lm_chain = b;
return( a );
}
}
static LDAPMessage *
ldap_ufn_expand( LDAP *ld, LDAP_CANCELPROC_CALLBACK *cancelproc,
void *cancelparm, char **dns, char *filter, int scope,
char **attrs, int aonly, int *err )
{
LDAPMessage *tmpcand, *tmpres;
char *dn;
int i, msgid;
struct timeval tv;
/* search for this component below the current candidates */
tmpcand = NULL;
i = 0;
do {
if ( dns != NULL )
dn = dns[i];
else
dn = "";
if (( msgid = ldap_search( ld, dn, scope, filter, attrs,
aonly )) == -1 ) {
ldap_msgfree( tmpcand );
*err = LDAP_GET_LDERRNO( ld, NULL, NULL );
return( NULL );
}
tv.tv_sec = 0;
tv.tv_usec = 100000; /* 1/10 of a second */
do {
*err = ldap_result( ld, msgid, 1, &tv, &tmpres );
if ( *err == 0 && cancelproc != NULL &&
(*cancelproc)( cancelparm ) != 0 ) {
ldap_abandon( ld, msgid );
*err = LDAP_USER_CANCELLED;
LDAP_SET_LDERRNO( ld, *err, NULL, NULL );
}
} while ( *err == 0 );
if ( *err == LDAP_USER_CANCELLED || *err < 0 ||
( *err = ldap_result2error( ld, tmpres, 0 )) == -1 ) {
ldap_msgfree( tmpcand );
return( NULL );
}
tmpcand = ldap_msg_merge( ld, tmpcand, tmpres );
i++;
} while ( dns != NULL && dns[i] != NULL );
if ( ldap_count_entries( ld, tmpcand ) > 0 ) {
return( tmpcand );
} else {
ldap_msgfree( tmpcand );
return( NULL );
}
}
/*
* ldap_ufn_setfilter - set the filter config file used in ufn searching
*/
LDAPFiltDesc *
LDAP_CALL
ldap_ufn_setfilter( LDAP *ld, char *fname )
{
if ( ld->ld_filtd != NULL )
ldap_getfilter_free( ld->ld_filtd );
return( ld->ld_filtd = ldap_init_getfilter( fname ) );
}
void
LDAP_CALL
ldap_ufn_setprefix( LDAP *ld, char *prefix )
{
if ( ld->ld_ufnprefix != NULL )
NSLDAPI_FREE( ld->ld_ufnprefix );
ld->ld_ufnprefix = nsldapi_strdup( prefix );
}
int
LDAP_C
ldap_ufn_timeout( void *tvparam )
{
struct timeval *tv;
tv = (struct timeval *)tvparam;
if ( tv->tv_sec != 0 ) {
tv->tv_usec = tv->tv_sec * 1000000; /* sec => micro sec */
tv->tv_sec = 0;
}
tv->tv_usec -= 100000; /* 1/10 of a second */
return( tv->tv_usec <= 0 ? 1 : 0 );
}

View File

@@ -1,209 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*/
/*
* Copyright (c) 1990 Regents of the University of Michigan.
* All rights reserved.
*/
/*
* unbind.c
*/
#if 0
#ifndef lint
static char copyright[] = "@(#) Copyright (c) 1990 Regents of the University of Michigan.\nAll rights reserved.\n";
#endif
#endif
#include "ldap-int.h"
int
LDAP_CALL
ldap_unbind( LDAP *ld )
{
LDAPDebug( LDAP_DEBUG_TRACE, "ldap_unbind\n", 0, 0, 0 );
return( ldap_ld_free( ld, NULL, NULL, 1 ) );
}
int
LDAP_CALL
ldap_unbind_s( LDAP *ld )
{
return( ldap_ld_free( ld, NULL, NULL, 1 ));
}
int
LDAP_CALL
ldap_unbind_ext( LDAP *ld, LDAPControl **serverctrls,
LDAPControl **clientctrls )
{
return( ldap_ld_free( ld, serverctrls, clientctrls, 1 ));
}
/*
* Dispose of the LDAP session ld, including all associated connections
* and resources. If close is non-zero, an unbind() request is sent as well.
*/
int
ldap_ld_free( LDAP *ld, LDAPControl **serverctrls,
LDAPControl **clientctrls, int close )
{
int i;
LDAPMessage *lm, *next;
int err = LDAP_SUCCESS;
LDAPRequest *lr, *nextlr;
if ( !NSLDAPI_VALID_LDAP_POINTER( ld )) {
return( LDAP_PARAM_ERROR );
}
if ( ld->ld_sbp->sb_naddr == 0 ) {
LDAP_MUTEX_LOCK( ld, LDAP_REQ_LOCK );
/* free LDAP structure and outstanding requests/responses */
for ( lr = ld->ld_requests; lr != NULL; lr = nextlr ) {
nextlr = lr->lr_next;
nsldapi_free_request( ld, lr, 0 );
}
LDAP_MUTEX_UNLOCK( ld, LDAP_REQ_LOCK );
/* free and unbind from all open connections */
LDAP_MUTEX_LOCK( ld, LDAP_CONN_LOCK );
while ( ld->ld_conns != NULL ) {
nsldapi_free_connection( ld, ld->ld_conns, serverctrls,
clientctrls, 1, close );
}
LDAP_MUTEX_UNLOCK( ld, LDAP_CONN_LOCK );
} else {
int i;
for ( i = 0; i < ld->ld_sbp->sb_naddr; ++i ) {
NSLDAPI_FREE( ld->ld_sbp->sb_addrs[ i ] );
}
NSLDAPI_FREE( ld->ld_sbp->sb_addrs );
NSLDAPI_FREE( ld->ld_sbp->sb_fromaddr );
}
LDAP_MUTEX_LOCK( ld, LDAP_RESP_LOCK );
for ( lm = ld->ld_responses; lm != NULL; lm = next ) {
next = lm->lm_next;
ldap_msgfree( lm );
}
LDAP_MUTEX_UNLOCK( ld, LDAP_RESP_LOCK );
/* call cache unbind function to allow it to clean up after itself */
if ( ld->ld_cache_unbind != NULL ) {
LDAP_MUTEX_LOCK( ld, LDAP_CACHE_LOCK );
(void)ld->ld_cache_unbind( ld, 0, 0 );
LDAP_MUTEX_UNLOCK( ld, LDAP_CACHE_LOCK );
}
if ( ld->ld_error != NULL )
NSLDAPI_FREE( ld->ld_error );
if ( ld->ld_matched != NULL )
NSLDAPI_FREE( ld->ld_matched );
if ( ld->ld_host != NULL )
NSLDAPI_FREE( ld->ld_host );
if ( ld->ld_ufnprefix != NULL )
NSLDAPI_FREE( ld->ld_ufnprefix );
if ( ld->ld_filtd != NULL )
ldap_getfilter_free( ld->ld_filtd );
if ( ld->ld_abandoned != NULL )
NSLDAPI_FREE( ld->ld_abandoned );
if ( ld->ld_sbp != NULL )
ber_sockbuf_free( ld->ld_sbp );
if ( ld->ld_selectinfo != NULL )
nsldapi_free_select_info( ld->ld_selectinfo );
if ( ld->ld_defhost != NULL )
NSLDAPI_FREE( ld->ld_defhost );
if ( ld->ld_servercontrols != NULL )
ldap_controls_free( ld->ld_servercontrols );
if ( ld->ld_clientcontrols != NULL )
ldap_controls_free( ld->ld_clientcontrols );
if ( ld->ld_preferred_language != NULL )
NSLDAPI_FREE( ld->ld_preferred_language );
/*
* XXXmcs: should use cache function pointers to hook in memcache
*/
if ( ld->ld_memcache != NULL ) {
ldap_memcache_set( ld, NULL );
}
for( i=0; i<LDAP_MAX_LOCK; i++ )
LDAP_MUTEX_FREE( ld, ld->ld_mutex[i] );
NSLDAPI_FREE( ld->ld_mutex );
NSLDAPI_FREE( (char *) ld );
return( err );
}
int
nsldapi_send_unbind( LDAP *ld, Sockbuf *sb, LDAPControl **serverctrls,
LDAPControl **clientctrls )
{
BerElement *ber;
int err, msgid;
LDAPDebug( LDAP_DEBUG_TRACE, "nsldapi_send_unbind\n", 0, 0, 0 );
/* create a message to send */
if (( err = nsldapi_alloc_ber_with_options( ld, &ber ))
!= LDAP_SUCCESS ) {
return( err );
}
/* fill it in */
LDAP_MUTEX_LOCK( ld, LDAP_MSGID_LOCK );
msgid = ++ld->ld_msgid;
LDAP_MUTEX_UNLOCK( ld, LDAP_MSGID_LOCK );
if ( ber_printf( ber, "{itn", msgid, LDAP_REQ_UNBIND ) == -1 ) {
ber_free( ber, 1 );
err = LDAP_ENCODING_ERROR;
LDAP_SET_LDERRNO( ld, err, NULL, NULL );
return( err );
}
if (( err = nsldapi_put_controls( ld, serverctrls, 1, ber ))
!= LDAP_SUCCESS ) {
ber_free( ber, 1 );
return( err );
}
/* send the message */
if ( nsldapi_ber_flush( ld, sb, ber, 1, 0 ) != 0 ) {
ber_free( ber, 1 );
err = LDAP_SERVER_DOWN;
LDAP_SET_LDERRNO( ld, err, NULL, NULL );
return( err );
}
return( LDAP_SUCCESS );
}

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