Compare commits

..

3807 Commits

Author SHA1 Message Date
law%netscape.com
dd7437a096 Add libplc21.lib to get PL_ functions
git-svn-id: svn://10.0.0.236/branches/LIBREG990212_BRANCH@21544 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 02:29:32 +00:00
mcmullen%netscape.com
a6041e3d9e Bringing nsCOMPtr.cpp from trunk.
git-svn-id: svn://10.0.0.236/branches/LIBREG990212_BRANCH@21538 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 02:06:14 +00:00
mcmullen%netscape.com
467456baed Added nsRegistry::GetFactory()
git-svn-id: svn://10.0.0.236/branches/LIBREG990212_BRANCH@21537 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 02:05:28 +00:00
law%netscape.com
07adb3fa4c Pull changes on tip to branch
git-svn-id: svn://10.0.0.236/branches/LIBREG990212_BRANCH@21526 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 01:11:27 +00:00
law%netscape.com
9f7a44c3e2 Deal with nsIEnumerator.h changes
git-svn-id: svn://10.0.0.236/branches/LIBREG990212_BRANCH@21525 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 01:10:10 +00:00
mcmullen%netscape.com
99153e23c5 Brought change over from trunk.
git-svn-id: svn://10.0.0.236/branches/LIBREG990212_BRANCH@21505 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 00:02:18 +00:00
mcmullen%netscape.com
509501efbf Brought some more of the changes over from the trunk (needed the changes in xcDll.h/cpp).
git-svn-id: svn://10.0.0.236/branches/LIBREG990212_BRANCH@21501 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 23:24:03 +00:00
law%netscape.com
249c9a91cc Adding registry to DIRS
git-svn-id: svn://10.0.0.236/branches/LIBREG990212_BRANCH@21491 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 22:29:33 +00:00
law%netscape.com
6100d0195f Pulling tip changes onto branch
git-svn-id: svn://10.0.0.236/branches/LIBREG990212_BRANCH@21490 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 22:27:12 +00:00
mcmullen%netscape.com
2b0897f6b5 Bringing nsCOMPtr.cpp from trunk.
git-svn-id: svn://10.0.0.236/branches/LIBREG990212_BRANCH@21361 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 00:00:07 +00:00
law%netscape.com
9b7b41f2e2 Win32 build changes
git-svn-id: svn://10.0.0.236/branches/LIBREG990212_BRANCH@21360 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 23:54:05 +00:00
law%netscape.com
acaf468169 Win32 build changes
git-svn-id: svn://10.0.0.236/branches/LIBREG990212_BRANCH@21358 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 23:44:01 +00:00
mcmullen%netscape.com
37c847e5d4 Rework previous changes, so that libreg (standalone) still builds on Windows. Also, add standalone target to the Macintosh project.
git-svn-id: svn://10.0.0.236/branches/LIBREG990212_BRANCH@20885 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 05:16:27 +00:00
mcmullen%netscape.com
4397f139f4 First Checked In.
git-svn-id: svn://10.0.0.236/branches/LIBREG990212_BRANCH@20870 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 03:26:51 +00:00
(no author)
07af9a116d This commit was manufactured by cvs2svn to create branch
'LIBREG990212_BRANCH'.

git-svn-id: svn://10.0.0.236/branches/LIBREG990212_BRANCH@20863 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 03:12:04 +00:00
mcmullen%netscape.com
601c209b84 Reverting these to the original form, prior to reworking to support the STANDALONE_REGISTRY version.
git-svn-id: svn://10.0.0.236/branches/LIBREG990212_BRANCH@20842 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 01:32:45 +00:00
mcmullen%netscape.com
70f44c60cd Fix use of stat() for windows.
git-svn-id: svn://10.0.0.236/branches/LIBREG990212_BRANCH@20828 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-16 22:52:10 +00:00
mcmullen%netscape.com
8d0d948e0a Added libreg, etc to make nsRegistry work.
git-svn-id: svn://10.0.0.236/branches/LIBREG990212_BRANCH@20652 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-13 03:52:29 +00:00
mcmullen%netscape.com
bdc8aa3c5c Added nsRegistry::GetFactory()
git-svn-id: svn://10.0.0.236/branches/LIBREG990212_BRANCH@20651 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-13 03:51:43 +00:00
mcmullen%netscape.com
ffccab09a0 Made it work.
git-svn-id: svn://10.0.0.236/branches/LIBREG990212_BRANCH@20650 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-13 03:50:42 +00:00
mcmullen%netscape.com
fc3851269e Hard-coded some command-line arguments for Macintosh.
git-svn-id: svn://10.0.0.236/branches/LIBREG990212_BRANCH@20649 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-13 03:50:16 +00:00
mcmullen%netscape.com
66a57a8d4a Remove the illegal semicolon after extern "C" {}
git-svn-id: svn://10.0.0.236/branches/LIBREG990212_BRANCH@20648 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-13 03:49:41 +00:00
mcmullen%netscape.com
faddf412e6 LIBREG990212_BRANCH checkin to check that my port of libreg to NSPR is still working on win and unix.
git-svn-id: svn://10.0.0.236/branches/LIBREG990212_BRANCH@20646 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-13 03:45:23 +00:00
(no author)
d95ce0280d This commit was manufactured by cvs2svn to create branch
'LIBREG990212_BRANCH'.

git-svn-id: svn://10.0.0.236/branches/LIBREG990212_BRANCH@20631 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-13 00:58:55 +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
210 changed files with 57873 additions and 21 deletions

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,249 @@
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/* NSReg.h
*/
#ifndef _NSREG_H_
#define _NSREG_H_
#include "xp_core.h"
typedef void (*nr_RegPackCallbackFunc) (void *userData, int32 bytes, int32 totalBytes);
typedef int32 REGERR;
typedef int32 RKEY;
typedef uint32 REGENUM;
typedef void * HREG;
typedef struct _reginfo
{
uint16 size; /* must be initialized to sizeof(REGINFO) */
uint16 entryType;
uint32 entryLength;
} REGINFO;
#define REGERR_OK (0)
#define REGERR_FAIL (1)
#define REGERR_NOMORE (2)
#define REGERR_NOFIND (3)
#define REGERR_BADREAD (4)
#define REGERR_BADLOCN (5)
#define REGERR_PARAM (6)
#define REGERR_BADMAGIC (7)
#define REGERR_BADCHECK (8)
#define REGERR_NOFILE (9)
#define REGERR_MEMORY (10)
#define REGERR_BUFTOOSMALL (11)
#define REGERR_NAMETOOLONG (12)
#define REGERR_REGVERSION (13)
#define REGERR_DELETED (14)
#define REGERR_BADTYPE (15)
#define REGERR_NOPATH (16)
#define REGERR_BADNAME (17)
#define REGERR_READONLY (18)
#define REGERR_BADUTF8 (19)
/* Total path length */
#define MAXREGPATHLEN (2048)
/* Name on the path (including null terminator) */
#define MAXREGNAMELEN (512)
/* Value of an entry */
#define MAXREGVALUELEN (0x7FFF)
/* Standard keys */
#define ROOTKEY_USERS (0x01)
#define ROOTKEY_COMMON (0x02)
#define ROOTKEY_CURRENT_USER (0x03)
#define ROOTKEY_PRIVATE (0x04)
/* enumeration styles */
#define REGENUM_NORMAL (0x00)
#define REGENUM_CHILDREN REGENUM_NORMAL
#define REGENUM_DESCEND (0x01)
#define REGENUM_DEPTH_FIRST (0x02)
/* entry data types */
#define REGTYPE_ENTRY (0x0010)
#define REGTYPE_ENTRY_STRING_UTF (REGTYPE_ENTRY + 1)
#define REGTYPE_ENTRY_INT32_ARRAY (REGTYPE_ENTRY + 2)
#define REGTYPE_ENTRY_BYTES (REGTYPE_ENTRY + 3)
#define REGTYPE_ENTRY_FILE (REGTYPE_ENTRY + 4)
#define REG_DELETE_LIST_KEY "Netscape/Communicator/SoftwareUpdate/Delete List"
#define REG_REPLACE_LIST_KEY "Netscape/Communicator/SoftwareUpdate/Replace List"
#define REG_UNINSTALL_DIR "Netscape/Communicator/SoftwareUpdate/Uninstall/"
#define UNINSTALL_NAV_STR "_"
#define UNIX_GLOBAL_FLAG "MOZILLA_SHARED_REGISTRY"
/* Platform-dependent declspec for library interface */
#if defined(XP_PC)
#if defined(WIN32)
#if defined (STANDALONE_REGISTRY)
#define VR_INTERFACE(type) __declspec(dllexport) type __cdecl
#else
#define VR_INTERFACE(type) __declspec(dllexport) type __stdcall
#endif
#elif defined(XP_OS2)
#define VR_INTERFACE(type) type _Optlink
#else
#define VR_INTERFACE(type) type _far _pascal _export
#endif
#elif defined XP_MAC
#define VR_INTERFACE(__x) __declspec(export) __x
#else
#define VR_INTERFACE(type) type
#endif
XP_BEGIN_PROTOS
/* ---------------------------------------------------------------------
* Registry API -- General
* ---------------------------------------------------------------------
*/
VR_INTERFACE(REGERR) NR_RegOpen(
char *filename, /* reg. file to open (NULL == standard registry) */
HREG *hReg /* OUT: handle to opened registry */
);
VR_INTERFACE(REGERR) NR_RegClose(
HREG hReg /* handle of open registry to close */
);
VR_INTERFACE(REGERR) NR_RegPack(
HREG hReg, /* handle of open registry to pack */
void *userData,
nr_RegPackCallbackFunc fn
);
VR_INTERFACE(REGERR) NR_RegGetUsername(
char **name /* on return, an alloc'ed copy of the current user name */
);
VR_INTERFACE(REGERR) NR_RegSetUsername(
const char *name /* name of current user */
);
/* ---------------------------------------------------------------------
* Registry API -- Key Management functions
* ---------------------------------------------------------------------
*/
VR_INTERFACE(REGERR) NR_RegAddKey(
HREG hReg, /* handle of open registry */
RKEY key, /* root key */
char *path, /* relative path of subkey to add */
RKEY *newKey /* if not null returns newly created key */
);
VR_INTERFACE(REGERR) NR_RegDeleteKey(
HREG hReg, /* handle of open registry */
RKEY key, /* root key */
char *path /* relative path of subkey to delete */
);
VR_INTERFACE(REGERR) NR_RegGetKey(
HREG hReg, /* handle of open registry */
RKEY key, /* root key */
char *path, /* relative path of subkey to find */
RKEY *result /* returns RKEY of specified sub-key */
);
VR_INTERFACE(REGERR) NR_RegEnumSubkeys(
HREG hReg, /* handle of open registry */
RKEY key, /* containing key */
REGENUM *state, /* enum state, must be NULL to start */
char *buffer, /* buffer for entry names */
uint32 bufsize, /* size of buffer */
uint32 style /* 0: children only; REGENUM_DESCEND: sub-tree */
);
/* ---------------------------------------------------------------------
* Registry API -- Entry Management functions
* ---------------------------------------------------------------------
*/
VR_INTERFACE(REGERR) NR_RegGetEntryInfo(
HREG hReg, /* handle of open registry */
RKEY key, /* containing key */
char *name, /* entry name */
REGINFO *info /* returned entry info */
);
VR_INTERFACE(REGERR) NR_RegGetEntryString(
HREG hReg, /* handle of open registry */
RKEY key, /* containing key */
char *name, /* entry name */
char *buffer, /* buffer to hold value (UTF String) */
uint32 bufsize /* length of buffer */
);
VR_INTERFACE(REGERR) NR_RegGetEntry(
HREG hReg, /* handle of open registry */
RKEY key, /* containing key */
char *name, /* entry name */
void *buffer, /* buffer to hold value */
uint32 *size /* in:length of buffer */
); /* out: data length, >>includes<< null terminator*/
VR_INTERFACE(REGERR) NR_RegSetEntryString(
HREG hReg, /* handle of open registry */
RKEY key, /* containing key */
char *name, /* entry name */
char *buffer /* UTF String value */
);
VR_INTERFACE(REGERR) NR_RegSetEntry(
HREG hReg, /* handle of open registry */
RKEY key, /* containing key */
char *name, /* entry name */
uint16 type, /* type of value data */
void *buffer, /* data buffer */
uint32 size /* data length in bytes; incl. null term for strings */
);
VR_INTERFACE(REGERR) NR_RegDeleteEntry(
HREG hReg, /* handle of open registry */
RKEY key, /* containing key */
char *name /* value name */
);
VR_INTERFACE(REGERR) NR_RegEnumEntries(
HREG hReg, /* handle of open registry */
RKEY key, /* containing key */
REGENUM *state, /* enum state, must be NULL to start */
char *buffer, /* buffer for entry names */
uint32 bufsize, /* size of buffer */
REGINFO *info /* optional; returns info about entry */
);
VR_INTERFACE(void) NR_ShutdownRegistry(void);
VR_INTERFACE(void) NR_StartupRegistry(void);
XP_END_PROTOS
#endif /* _NSREG_H_ */
/* EOF: NSReg.h */

View File

@@ -0,0 +1,82 @@
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/* VerReg.h
* XP Version Registry functions
*/
#ifndef _VERREG_H_
#define _VERREG_H_
#include "NSReg.h"
typedef struct _version
{
int32 major;
int32 minor;
int32 release;
int32 build;
int32 check;
} VERSION;
/* CreateRegistry flags */
#define CR_NEWREGISTRY 1
XP_BEGIN_PROTOS
/* ---------------------------------------------------------------------
* Version Registry Operations
* ---------------------------------------------------------------------
*/
/* global registry operations */
VR_INTERFACE(REGERR) VR_SetRegDirectory(const char *path);
VR_INTERFACE(REGERR) VR_CreateRegistry(char *installation, char *programPath, char *versionStr);
VR_INTERFACE(REGERR) VR_PackRegistry(void *userData, nr_RegPackCallbackFunc pdCallbackFunction);
VR_INTERFACE(REGERR) VR_Close(void);
/* component-level functions */
VR_INTERFACE(REGERR) VR_Install(char *component_path, char *filepath, char *version, int bDirectory);
VR_INTERFACE(REGERR) VR_Remove(char *component_path);
VR_INTERFACE(REGERR) VR_InRegistry(char *path);
VR_INTERFACE(REGERR) VR_ValidateComponent(char *path);
VR_INTERFACE(REGERR) VR_Enum(char *component_path, REGENUM *state, char *buffer, uint32 buflen);
/* dealing with parts of individual components */
VR_INTERFACE(REGERR) VR_GetVersion(char *component_path, VERSION *result);
VR_INTERFACE(REGERR) VR_GetPath(char *component_path, uint32 sizebuf, char *buf);
VR_INTERFACE(REGERR) VR_SetRefCount(char *component_path, int refcount);
VR_INTERFACE(REGERR) VR_GetRefCount(char *component_path, int *result);
VR_INTERFACE(REGERR) VR_GetDefaultDirectory(char *component_path, uint32 sizebuf, char *buf);
VR_INTERFACE(REGERR) VR_SetDefaultDirectory(char *component_path, char *directory);
/* uninstall functions */
VR_INTERFACE(REGERR) VR_UninstallCreateNode(char *regPackageName, char *userPackageName);
VR_INTERFACE(REGERR) VR_UninstallAddFileToList(char *regPackageName, char *vrName);
VR_INTERFACE(REGERR) VR_UninstallFileExistsInList(char *regPackageName, char *vrName);
VR_INTERFACE(REGERR) VR_UninstallEnumSharedFiles(char *component_path, REGENUM *state, char *buffer, uint32 buflen);
VR_INTERFACE(REGERR) VR_UninstallDeleteFileFromList(char *component_path, char *vrName);
VR_INTERFACE(REGERR) VR_UninstallDeleteSharedFilesKey(char *regPackageName);
VR_INTERFACE(REGERR) VR_UninstallDestroy(char *regPackageName);
VR_INTERFACE(REGERR) VR_EnumUninstall(REGENUM *state, char* userPackageName,
int32 len1, char*regPackageName, int32 len2, Bool bSharedList);
VR_INTERFACE(REGERR) VR_GetUninstallUserName(char *regPackageName, char *outbuf, uint32 buflen);
XP_END_PROTOS
#endif /* _VERREG_H_ */
/* EOF: VerReg.h */

View File

@@ -0,0 +1,34 @@
#!gmake
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
IGNORE_MANIFEST=1
#
#//------------------------------------------------------------------------
#//
#// Makefile to install MODULES/LIBREG/INCLUDE header files into the distribution
#// directory.
#//
#//------------------------------------------------------------------------
MODULE=libreg
DEPTH=..\..\..
EXPORTS=VerReg.h NSReg.h
include <$(DEPTH)/config/rules.mak>

View File

@@ -0,0 +1,3 @@
#include "MacPrefix.h"
#define STANDALONE_REGISTRY 1

Binary file not shown.

View File

@@ -0,0 +1,26 @@
globalRegName
NR_ShutdownRegistry
NR_StartupRegistry
NR_RegEnumEntries
NR_RegEnumSubkeys
NR_RegDeleteEntry
NR_RegSetEntry
NR_RegSetEntryString
NR_RegGetEntry
NR_RegGetEntryString
NR_RegGetEntryInfo
NR_RegGetKey
NR_RegDeleteKey
NR_RegAddKey
NR_RegPack
NR_RegClose
NR_RegOpen
NR_RegSetUsername
NR_RegGetUsername
nr_PathFromMacAlias
nr_MacAliasFromPath
vr_findGlobalRegName
#__ptmf_null
#longjmp
#__terminate
#__initialize

View File

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

View File

@@ -0,0 +1,82 @@
#!gmake
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
DEPTH = ../../..
topsrcdir = @top_srcdir@
VPATH = @srcdir@
srcdir = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = libreg
LIBRARY_NAME = reg
REQUIRES = libreg pref js
CSRCS = reg.c VerReg.c vr_stubs.c
BIN_SRCS = VerReg.c reg.c vr_stubs.c
BIN_OBJS = $(addprefix $(OBJDIR)/R_,$(BIN_SRCS:.c=.o))
include $(topsrcdir)/config/rules.mk
# Override gtscc when building vreg on IRIX 5.3.
ifeq ($(OS_ARCH)$(OS_RELEASE),IRIX5)
CC = cc
endif
INCLUDES += -I$(topsrcdir)/include
GARBAGE += $(PROGRAM)
PROGRAM = $(OBJDIR)/vreg$(BIN_SUFFIX)
$(PROGRAM): $(BIN_OBJS)
@$(MAKE_OBJDIR)
ifeq ($(OS_ARCH), OS2)
$(LINK_EXE) -OUT:$@ $(BIN_OBJS) $(LDFLAGS) $(OS_LIBS)
else
$(CCF) -o $@ $(BIN_OBJS) $(LDFLAGS)
endif
$(OBJDIR)/R_VerReg.o: VerReg.c
@$(MAKE_OBJDIR)
ifeq ($(OS_ARCH), OS2)
$(CC) -Fo$@ -c $(CFLAGS) -DSTANDALONE_REGISTRY $<
else
$(CC) -o $@ -c $(CFLAGS) -DSTANDALONE_REGISTRY $<
endif
$(OBJDIR)/R_reg.o: reg.c
@$(MAKE_OBJDIR)
ifeq ($(OS_ARCH), OS2)
$(CC) -Fo$@ -c $(CFLAGS) -DSTANDALONE_REGISTRY $<
else
$(CC) -o $@ -c $(CFLAGS) -DSTANDALONE_REGISTRY $<
endif
$(OBJDIR)/R_vr_stubs.o: vr_stubs.c
@$(MAKE_OBJDIR)
ifeq ($(OS_ARCH), OS2)
$(CC) -Fo$@ -c $(CFLAGS) -DSTANDALONE_REGISTRY $<
else
$(CC) -o $@ -c $(CFLAGS) -DSTANDALONE_REGISTRY $<
endif
$(BIN_OBJS): $(BIN_SRCS)
install:: $(PROGRAM)
$(INSTALL) -m 444 $(PROGRAM) $(DIST)/bin

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,23 @@
#!gmake
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
IGNORE_MANIFEST=1
#//------------------------------------------------------------------------
#//
#// Makefile to build the machine independent java runtime library
#// Makefile to build
#//
#//------------------------------------------------------------------------
@@ -11,7 +28,11 @@
#// root of NS
#//
#//------------------------------------------------------------------------
DEPTH= ..\..
DEPTH= ..\..\..
!ifndef MAKE_OBJ_TYPE
MAKE_OBJ_TYPE=DLL
!endif
#//------------------------------------------------------------------------
#//
@@ -19,20 +40,18 @@ DEPTH= ..\..
#//
#//------------------------------------------------------------------------
DLLNAME = sm$(MOZ_BITS)$(VERSION_NUMBER)
PDBFILE = $(DLLNAME).pdb
MAPFILE = $(DLLNAME).map
DLL =.\$(OBJDIR)\$(DLLNAME).dll
MAKE_OBJ_TYPE = DLL
include <$(DEPTH)\config\config.mak>
#//------------------------------------------------------------------------
#//
#// Define the files necessary to build the target (ie. OBJS)
#//
#//------------------------------------------------------------------------
OBJS= \
.\$(OBJDIR)\reg.obj \
.\$(OBJDIR)\VerReg.obj \
.\$(OBJDIR)\vr_stubs.obj \
$(NULL)
#//------------------------------------------------------------------------
#//
#// Define any Public Targets here (ie. PROGRAM, LIBRARY, DLL, ...)
@@ -40,6 +59,11 @@ include <$(DEPTH)\config\config.mak>
#//
#//------------------------------------------------------------------------
LIBNAME=libreg$(MOZ_BITS)
DLL=$(OBJDIR)\$(LIBNAME).dll
LIBRARY= .\$(OBJDIR)\$(LIBNAME).lib
#//------------------------------------------------------------------------
#//
#// Define any local options for the make tools
@@ -47,24 +71,32 @@ include <$(DEPTH)\config\config.mak>
#//
#//------------------------------------------------------------------------
#LCFLAGS = -DSM_NO_TABLE_DIVISION -DSM_DUMP -DSM_VERIFY=2
LCFLAGS = -DSM_NO_TABLE_DIVISION -DSM_DUMP
!ifndef MOZ_PROF # assume we use a write barrier when profiling
LCFLAGS = $(LCFLAGS) -DSM_NO_WRITE_BARRIER -DSM_CHECK_PTRS -DSM_DEBUG_HEADER
LCFLAGS = $(LCFLAGS)
LLIBS = $(LLIBS) $(LIBNSPR) $(DIST)\lib\libplc21.lib
!if "$(MOZ_BITS)"=="32" && defined(MOZ_DEBUG) && defined(GLOWCODE)
LLIBS=$(LLIBS) $(GLOWDIR)\glowcode.lib
!endif
LLIBS= $(LLIBS) \
$(DEPTH)\dist\WIN32_D.OBJ\lib\libnspr21.lib \
$(DEPTH)\dist\WIN32_D.OBJ\lib\libplds21.lib \
#//
#// Win16 places ALL public header files in $(PUBLIC)/win16
#//
!if "$(MOZ_BITS)" != "16"
LINCS= $(LINCS) -I$(PUBLIC)/libreg \
$(NULL)
!endif
#//------------------------------------------------------------------------
#//
#// Include the common makefile rules
#//
#//------------------------------------------------------------------------
include <$(DEPTH)/config/rules.mak>
include <$(DEPTH)\config\rules.mak>
export:: $(DLL)
$(MAKE_INSTALL) $(LIBRARY) $(DIST)\lib
$(MAKE_INSTALL) $(DLL) $(DIST)\bin
install:: $(DLL)
$(MAKE_INSTALL) .\$(OBJDIR)\$(DLLNAME).dll $(DIST)\bin
$(MAKE_INSTALL) .\$(OBJDIR)\$(DLLNAME).lib $(DIST)\lib
clobber::
$(RM) $(DIST)\bin\$(DLL)
$(RM) $(DIST)\lib\$(LIBRARY)

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,175 @@
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/* reg.h
* XP Registry functions (prototype)
*/
#ifndef _REG_H_
#define _REG_H_
#include "vr_stubs.h"
#ifndef STANDALONE_REGISTRY
#include "prmon.h"
#endif
/* --------------------------------------------------------------------
* Miscellaneous Definitions
* --------------------------------------------------------------------
*/
#define MAGIC_NUMBER 0x76644441L
#define MAJOR_VERSION 1 /* major version for incompatible changes */
#define MINOR_VERSION 2 /* minor ver for new (compatible) features */
#define PATHDEL '/'
#define EQU '='
#define QUOTE '"'
#define HDRRESERVE 128 /* number of bytes reserved for hdr */
#define INTSIZE 4
#define DOUBLESIZE 8
#define PACKBUFFERSIZE 2048
/* Node types */
#define REGTYPE_KEY (1)
#define REGTYPE_DELETED (0x0080)
/* Private standard keys */
#define ROOTKEY (0x20)
#define ROOTKEY_VERSIONS (0x21)
/* strings for standard keys */
#define ROOTKEY_STR "/"
#define ROOTKEY_VERSIONS_STR "Version Registry"
#define ROOTKEY_USERS_STR "Users"
#define ROOTKEY_COMMON_STR "Common"
#define ROOTKEY_PRIVATE_STR "Private Arenas"
#define OLD_VERSIONS_STR "ROOTKEY_VERSIONS"
#define OLD_USERS_STR "ROOTKEY_USERS"
#define OLD_COMMON_STR "ROOTKEY_COMMON"
/* needs to be kept in sync with PE. see ns/cmd/winfe/profile.h */
/* and ns/cmd/macfe/central/profile.cp */
#define ASW_MAGIC_PROFILE_NAME "User1"
/* macros */
#define COPYDESC(dest,src) memcpy((dest),(src),sizeof(REGDESC))
#define VALID_FILEHANDLE(fh) ((fh) != NULL)
#define INVALID_NAME_CHAR(p) ( ((unsigned char)(p) < 0x20) || ((p) == '=') )
#define TYPE_IS_ENTRY(type) ( (type) & REGTYPE_ENTRY )
#define TYPE_IS_KEY(type) ( !((type) & REGTYPE_ENTRY) )
#define VERIFY_HREG(h)\
( ((h) == NULL) ? REGERR_PARAM : \
( (((REGHANDLE*)(h))->magic == MAGIC_NUMBER) ? REGERR_OK : REGERR_BADMAGIC ) )
/* --------------------------------------------------------------------
* Types and Objects
* --------------------------------------------------------------------
*/
#undef REGOFF
typedef int32 REGOFF; /* offset into registry file */
typedef struct _desc
{
REGOFF location; /* this object's offset (for verification) */
REGOFF name; /* name string */
uint16 namelen; /* length of name string (including terminator) */
uint16 type; /* node type (key, or entry style) */
REGOFF left; /* next object at this level (0 if none) */
REGOFF down; /* KEY: first subkey VALUE: 0 */
REGOFF value; /* KEY: first entry object VALUE: value string */
uint32 valuelen; /* KEY: 0 VALUE: length of value data */
uint32 valuebuf; /* KEY: 0 VALUE: length available */
REGOFF parent; /* the node on the immediate level above */
} REGDESC;
/* offsets into structure on disk */
#define DESC_LOCATION 0
#define DESC_NAME 4
#define DESC_NAMELEN 8
#define DESC_TYPE 10
#define DESC_LEFT 12
#define DESC_DOWN 16
#define DESC_VALUE 20
#define DESC_VALUELEN 24
#define DESC_VALUEBUF 16 /* stored in place of "down" for entries */
#define DESC_PARENT 28
#define DESC_SIZE 32 /* size of desc on disk */
typedef struct _hdr
{
uint32 magic; /* must equal MAGIC_NUMBER */
uint16 verMajor; /* major version number */
uint16 verMinor; /* minor version number */
REGOFF avail; /* next available offset */
REGOFF root; /* root object */
} REGHDR;
/* offsets into structure on disk*/
#define HDR_MAGIC 0
#define HDR_VERMAJOR 4
#define HDR_VERMINOR 6
#define HDR_AVAIL 8
#define HDR_ROOT 12
typedef XP_File FILEHANDLE; /* platform-specific file reference */
typedef struct _stdnodes {
REGOFF versions;
REGOFF users;
REGOFF common;
REGOFF current_user;
REGOFF privarea;
} STDNODES;
typedef struct _regfile
{
FILEHANDLE fh;
REGHDR hdr;
int refCount;
int hdrDirty;
int inInit;
int readOnly;
char * filename;
STDNODES rkeys;
struct _regfile *next;
struct _regfile *prev;
#ifndef STANDALONE_REGISTRY
PRMonitor *monitor;
#endif
} REGFILE;
typedef struct _reghandle
{
uint32 magic; /* for validating reg handles */
REGFILE *pReg; /* the real registry file object */
} REGHANDLE;
#endif /* _REG_H_ */
/* EOF: reg.h */

View File

@@ -0,0 +1,554 @@
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/* this file contains stubs needed to build the registry routines
* into a stand-alone library for use with our installers
*/
#ifdef STANDALONE_REGISTRY
#include <stdio.h>
#include <string.h>
#else
#include "prtypes.h"
#include "plstr.h"
#endif /*STANDALONE_REGISTRY*/
#include "vr_stubs.h"
#ifdef XP_MAC
#include <Folders.h>
#include <Script.h>
#include <stdlib.h>
#include <Errors.h>
#include "MoreFiles.h"
#include "FullPath.h" /* For FSpLocationFromFullPath() */
#endif
extern char* globalRegName;
/* ------------------------------------------------------------------
* OS/2 STUBS
* ------------------------------------------------------------------
*/
#ifdef XP_OS2
#define INCL_DOS
#include <os2.h>
#ifdef STANDALONE_REGISTRY
extern XP_File vr_fileOpen (const char *name, const char * mode)
{
XP_File fh = NULL;
struct stat st;
if ( name != NULL ) {
if ( stat( name, &st ) == 0 )
fh = fopen( name, XP_FILE_UPDATE_BIN );
else
fh = fopen( name, XP_FILE_WRITE_BIN );
}
return fh;
}
#endif /*STANDALONE_REGISTRY*/
extern void vr_findGlobalRegName ()
{
char path[ CCHMAXPATH ];
int pathlen;
XP_File fh = NULL;
struct stat st;
#ifdef XP_OS2_HACK
/*DSR050197 - at this point, I need some front-end call to get the install directory of*/
/*communicator... for now I will let it default to the current directory...*/
#endif
XP_STRCPY(path, ".");
pathlen = strlen(path);
if ( pathlen > 0 ) {
XP_STRCPY( path+pathlen, "\\nsreg.dat" );
globalRegName = XP_STRDUP(path);
}
}
#endif /* XP_OS2 */
/* ------------------------------------------------------------------
* WINDOWS STUBS
* ------------------------------------------------------------------
*/
#ifdef XP_PC
#include "windows.h"
#define PATHLEN 260
#ifdef STANDALONE_REGISTRY
extern XP_File vr_fileOpen (const char *name, const char * mode)
{
XP_File fh = NULL;
struct stat st;
if ( name != NULL ) {
if ( stat( name, &st ) == 0 )
fh = fopen( name, XP_FILE_UPDATE_BIN );
else
fh = fopen( name, XP_FILE_WRITE_BIN );
}
return fh;
}
#endif /*STANDALONE_REGISTRY*/
extern void vr_findGlobalRegName ()
{
char path[ PATHLEN ];
int pathlen;
pathlen = GetWindowsDirectory(path, PATHLEN);
if ( pathlen > 0 ) {
XP_STRCPY( path+pathlen, "\\nsreg.dat" );
globalRegName = XP_STRDUP(path);
}
}
#if !defined(WIN32) && !defined(__BORLANDC__)
int FAR PASCAL _export WEP(int);
int FAR PASCAL LibMain(HANDLE hInst, WORD wDataSeg, WORD wHeapSize, LPSTR lpszCmdLine)
{
if ( wHeapSize > 0 )
UnlockData(0);
return 1;
}
int FAR PASCAL _export WEP(int nParam)
{
return 1;
}
#endif /* not WIN32 */
#endif /* XP_PC */
/* ------------------------------------------------------------------
* MACINTOSH STUBS
* ------------------------------------------------------------------
*/
#ifdef XP_MAC
#include <Files.h>
#include "FullPath.h"
#ifdef STANDALONE_REGISTRY
extern XP_File vr_fileOpen(const char *name, const char * mode)
{
XP_File fh = NULL;
struct stat st;
OSErr anErr;
FSSpec newFSSpec;
#ifdef STANDALONE_REGISTRY
errno = 0; // reset errno (only if we're using stdio)
#endif
anErr = FSpLocationFromFullPath(strlen(name), name, &newFSSpec);
if (anErr == -43)
{
/* if file doesn't exist */
anErr = FSpCreate(&newFSSpec, 'MOSS', 'REGS', smSystemScript);
}
else
{
/* there is not much to do here. if we got noErr, the file exists. If we did not get
noErr or -43, we are pretty hosed.
*/
}
if ( name != NULL ) {
if ( stat( name, &st ) == 0 )
fh = fopen( name, XP_FILE_UPDATE_BIN ); /* If/when we switch to MSL C Lib (gromit uses this), we might have to take out the Macro per bug #62382 */
else
{
/* should never get here! */
fh = fopen( name, XP_FILE_WRITE_BIN );
}
}
#ifdef STANDALONE_REGISTRY
if (anErr != noErr)
errno = anErr;
#endif
return fh;
}
#endif /*STANDALONE_REGISTRY*/
extern void vr_findGlobalRegName()
{
FSSpec regSpec;
OSErr err;
short foundVRefNum;
long foundDirID;
int bCreate = 0;
err = FindFolder(kOnSystemDisk,'pref', false, &foundVRefNum, &foundDirID);
if (!err)
{
err = FSMakeFSSpec(foundVRefNum, foundDirID, "\pNetscape Registry", &regSpec);
if (err == -43) /* if file doesn't exist */
{
err = FSpCreate(&regSpec, 'MOSS', 'REGS', smSystemScript);
bCreate = 1;
}
if (err == noErr)
{
Handle thePath;
short pathLen;
err = FSpGetFullPath(&regSpec, &pathLen, &thePath);
if (err == noErr && thePath)
{
#ifdef STANDALONE_REGISTRY
globalRegName = XP_STRDUP(*(char**)thePath);
#else
/* Since we're now using NSPR, this HAS to be a unix path! */
const char* src;
char* dst;
globalRegName = (char*)XP_ALLOC(pathLen + 2);
src = *(char**)thePath;
dst = globalRegName;
*dst++ = '/';
while (pathLen--)
{
char c = *src++;
*dst++ = (c == ':') ? '/' : c;
}
*dst = '\0';
#endif
}
DisposeHandle(thePath);
}
}
}
/* Moves and renames a file or directory.
Returns 0 on success, -1 on failure (errno contains mac error code).
*/
extern int nr_RenameFile(char *from, char *to)
{
OSErr err = -1;
FSSpec fromSpec;
FSSpec toSpec;
FSSpec destDirSpec;
FSSpec beforeRenameSpec;
#ifdef STANDALONE_REGISTRY
errno = 0; // reset errno (only if we're using stdio)
#endif
if (from && to) {
err = FSpLocationFromFullPath(XP_STRLEN(from), from, &fromSpec);
if (err != noErr) goto exit;
err = FSpLocationFromFullPath(XP_STRLEN(to), to, &toSpec);
if (err != noErr && err != fnfErr) goto exit;
// make an FSSpec for the destination directory
err = FSMakeFSSpec(toSpec.vRefNum, toSpec.parID, nil, &destDirSpec);
if (err != noErr) goto exit; // parent directory must exist
// move it to the directory specified
err = FSpCatMove(&fromSpec, &destDirSpec);
if (err != noErr) goto exit;
// make a new FSSpec for the file or directory in its new location
err = FSMakeFSSpec(toSpec.vRefNum, toSpec.parID, fromSpec.name, &beforeRenameSpec);
if (err != noErr) goto exit;
// rename the file or directory
err = FSpRename(&beforeRenameSpec, toSpec.name);
}
exit:
#ifdef STANDALONE_REGISTRY
if (err != noErr)
errno = err;
#endif
return (err == noErr ? 0 : -1);
}
#if 0
/* Uncomment the following for older Mac build environments
* that don't support these functions
*/
char *strdup(const char *source)
{
char *newAllocation;
size_t stringLength;
stringLength = strlen(source) + 1;
newAllocation = (char *)XP_ALLOC(stringLength);
if (newAllocation == NULL)
return NULL;
BlockMoveData(source, newAllocation, stringLength);
return newAllocation;
}
int strcasecmp(const char *str1, const char *str2)
{
char currentChar1, currentChar2;
while (1) {
currentChar1 = *str1;
currentChar2 = *str2;
if ((currentChar1 >= 'a') && (currentChar1 <= 'z'))
currentChar1 += ('A' - 'a');
if ((currentChar2 >= 'a') && (currentChar2 <= 'z'))
currentChar2 += ('A' - 'a');
if (currentChar1 == '\0')
break;
if (currentChar1 != currentChar2)
return currentChar1 - currentChar2;
str1++;
str2++;
}
return currentChar1 - currentChar2;
}
int strncasecmp(const char *str1, const char *str2, int length)
{
char currentChar1, currentChar2;
while (length > 0) {
currentChar1 = *str1;
currentChar2 = *str2;
if ((currentChar1 >= 'a') && (currentChar1 <= 'z'))
currentChar1 += ('A' - 'a');
if ((currentChar2 >= 'a') && (currentChar2 <= 'z'))
currentChar2 += ('A' - 'a');
if (currentChar1 == '\0')
break;
if (currentChar1 != currentChar2)
return currentChar1 - currentChar2;
str1++;
str2++;
length--;
}
return currentChar1 - currentChar2;
}
#endif /* 0 */
#endif /* XP_MAC */
/* ------------------------------------------------------------------
* UNIX STUBS
* ------------------------------------------------------------------
*/
/*allow OS/2 and Macintosh to use this main to test...*/
#if (defined(STANDALONE_REGISTRY) && defined(XP_MAC)) || defined(XP_UNIX) || defined(XP_OS2)
#include <stdlib.h>
#ifdef XP_OS2
#include <io.h>
#define W_OK 0x02 /*evil hack from the docs...*/
#else
#include <unistd.h>
#endif
#include "NSReg.h"
#include "VerReg.h"
char *TheRegistry = "registry";
char *Flist;
/* WARNING: build hackery */
#if defined(STANDALONE_REGISTRY) && !defined(XP_MAC)
long BUILDNUM =
#include "../../../build/build_number"
;
#endif
REGERR vr_ParseVersion(char *verstr, VERSION *result);
int main(int argc, char *argv[]);
#ifdef XP_UNIX
#define DEF_REG "/.netscape/registry"
#ifdef STANDALONE_REGISTRY
extern XP_File vr_fileOpen (const char *name, const char * mode)
{
XP_File fh = NULL;
struct stat st;
if ( name != NULL ) {
if ( stat( name, &st ) == 0 )
fh = fopen( name, XP_FILE_UPDATE_BIN );
else
fh = fopen( name, XP_FILE_WRITE_BIN );
}
return fh;
}
#endif /*STANDALONE_REGISTRY*/
extern void vr_findGlobalRegName ()
{
#ifndef STANDALONE_REGISTRY
char *def = NULL;
char *home = getenv("HOME");
if (home != NULL) {
def = (char *) XP_ALLOC(XP_STRLEN(home) + XP_STRLEN(DEF_REG)+1);
if (def != NULL) {
XP_STRCPY(def, home);
XP_STRCAT(def, DEF_REG);
}
}
if (def != NULL) {
globalRegName = XP_STRDUP(def);
} else {
globalRegName = TheRegistry;
}
XP_FREEIF(def);
#else
globalRegName = TheRegistry;
#endif /*STANDALONE_REGISTRY*/
}
#endif /*XP_UNIX*/
#if defined(STANDALONE_REGISTRY) && (defined(XP_UNIX) || defined(XP_OS2) || defined(XP_MAC))
int main(int argc, char *argv[])
{
XP_File fh;
char *entry;
char *p;
char *v;
char buff[1024];
char name[MAXREGPATHLEN+1];
char path[MAXREGPATHLEN+1];
char ver[MAXREGPATHLEN+1];
if ( argc >= 3 )
{
TheRegistry = argv[1];
Flist = argv[2];
}
else
{
fprintf(stderr, "Usage: %s RegistryName FileList\n", argv[0]);
fprintf(stderr, " The FileList file contains lines with comma-separated fields:\n");
fprintf(stderr, " <regItemName>,<version>,<full filepath>\n");
exit (1);
}
/* tmp use of buff to get the registry directory, which must be
* the navigator home directory. Preserve the slash to match
* FE_GetDirectoryPath() called during navigator set-up
*/
strcpy(buff, TheRegistry);
p = strrchr( buff, '/' );
if ( p )
{
char pwd[1024];
*(p+1) = '\0';
getcwd(pwd, sizeof(pwd));
chdir(buff); getcwd(buff, sizeof(buff));
chdir(pwd);
}
else
{
getcwd(buff, sizeof(buff));
}
strcat(buff, "/");
NR_StartupRegistry();
VR_SetRegDirectory(buff);
#ifndef XP_MAC
if ( -1 == (access( TheRegistry, W_OK )) ) {
sprintf(ver,"4.50.0.%ld",BUILDNUM);
VR_CreateRegistry("Communicator", buff, ver);
}
#endif
if ( !(fh = fopen( Flist, "r" )) )
{
fprintf(stderr, "%s: Cannot open \"%s\"\n", argv[0], Flist);
exit (1);
}
while ( fgets ( buff, 1024, fh ) )
{
if ( *(entry = &buff[strlen(buff)-1]) == '\n' )
*entry = '\0';
entry = strchr(buff, ',');
strcpy(name, strtok(buff, ","));
strcpy(ver, strtok( NULL, ","));
strcpy(path, strtok( NULL, ","));
v = ver;
while (*v && *v == ' ')
v++;
p = path;
while (*p && *p == ' ')
p++;
VR_Install ( name, p, v, FALSE );
}
fclose( fh );
return 0;
}
#endif /* STANDALONE_REGISTRY && (XP_UNIX || XP_OS2 || XP_MAC) */
#endif /* XP_UNIX || XP_OS2 */

View File

@@ -0,0 +1,253 @@
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/* vr_stubs.h
*
* XP code stubs for stand-alone registry library
*
*/
#ifndef _VR_STUBS_H_
#define _VR_STUBS_H_
#ifdef STANDALONE_REGISTRY
#include <errno.h>
#include <string.h>
#ifdef XP_MAC
#include "macstdlibextras.h" /* For strcasecmp and strncasecmp */
#endif
#else
#include "prio.h"
#include "prmem.h"
#include "plstr.h"
#endif /* STANDALONE_REGISTRY*/
#ifdef XP_MAC
#include <stat.h>
#else
#if defined(BSDI) && !defined(BSDI_2)
#include <sys/types.h>
#endif
#include <sys/stat.h>
#endif
#ifndef FALSE
#define FALSE 0
#endif
#ifndef TRUE
#define TRUE 1
#endif
#if defined(__cplusplus)
# define XP_CPLUSPLUS
# define XP_IS_CPLUSPLUS 1
#else
# define XP_IS_CPLUSPLUS 0
#endif
#if defined(XP_CPLUSPLUS)
# define XP_BEGIN_PROTOS extern "C" {
# define XP_END_PROTOS }
#else
# define XP_BEGIN_PROTOS
# define XP_END_PROTOS
#endif
#ifdef STANDALONE_REGISTRY
#define XP_FILE_READ "r"
#define XP_FILE_READ_BIN "rb"
#define XP_FILE_WRITE "w"
#define XP_FILE_WRITE_BIN "wb"
#define XP_FILE_UPDATE "r+"
#define XP_FILE_TRUNCATE "w+"
#ifdef SUNOS4
/* XXX SunOS4 hack -- make this universal by using r+b and w+b */
#define XP_FILE_UPDATE_BIN "r+"
#define XP_FILE_TRUNCATE_BIN "w+"
#else
#define XP_FILE_UPDATE_BIN "rb+"
#define XP_FILE_TRUNCATE_BIN "wb+"
#endif
#define XP_FileSeek(file,offset,whence) fseek((file), (offset), (whence))
#define XP_FileRead(dest,count,file) fread((dest), 1, (count), (file))
#define XP_FileWrite(src,count,file) fwrite((src), 1, (count), (file))
#define XP_FileTell(file) ftell(file)
#define XP_FileFlush(file) fflush(file)
#define XP_FileClose(file) fclose(file)
#define XP_ASSERT(x) ((void)0)
#define XP_STRCAT(a,b) strcat((a),(b))
#define XP_ATOI atoi
#define XP_STRCPY(a,b) strcpy((a),(b))
#define XP_STRLEN(x) strlen(x)
#define XP_SPRINTF sprintf
#define XP_FREE(x) free((x))
#define XP_ALLOC(x) malloc((x))
#define XP_FREEIF(x) if ((x)) free((x))
#define XP_STRCMP(x,y) strcmp((x),(y))
#define XP_STRNCMP(x,y,n) strncmp((x),(y),(n))
#define XP_STRDUP(s) strdup((s))
#define XP_MEMCPY(d, s, l) memcpy((d), (s), (l))
#define XP_MEMSET(d, c, l) memset((d), (c), (l))
#ifdef XP_PC
#define XP_STRCASECMP(x,y) stricmp((x),(y))
#define XP_STRNCASECMP(x,y,n) strnicmp((x),(y),(n))
#else
#define XP_STRCASECMP(x,y) strcasecmp((x),(y))
#define XP_STRNCASECMP(x,y,n) strncasecmp((x),(y),(n))
#endif /*XP_PC*/
typedef FILE * XP_File;
#else /* if not standalone, use NSPR */
#define XP_FILE_READ PR_RDONLY, 0700
#define XP_FILE_READ_BIN PR_RDONLY, 0700
#define XP_FILE_WRITE PR_WRONLY, 0700
#define XP_FILE_WRITE_BIN PR_WRONLY, 0700
#define XP_FILE_UPDATE PR_RDWR
#define XP_FILE_TRUNCATE (PR_WRONLY | PR_TRUNCATE), 0700
#define XP_FILE_UPDATE_BIN PR_RDWR, 0700
#define XP_FILE_TRUNCATE_BIN (PR_RDWR | PR_TRUNCATE), 0700
#ifdef SEEK_SET
#undef SEEK_SET
#undef SEEK_CUR
#undef SEEK_END
#define SEEK_SET PR_SEEK_SET
#define SEEK_CUR PR_SEEK_CUR
#define SEEK_END PR_SEEK_END
#endif
/*
** Note that PR_Seek returns the offset (if successful) and -1 otherwise. So
** to make this code work
** if (XP_FileSeek(fh, offset, SEEK_SET) != 0) { error handling }
** we return 1 if PR_Seek() returns a negative value, and 0 otherwise
*/
#define XP_FileSeek(file,offset,whence) (PR_Seek((file), (offset), (whence)) < 0)
#define XP_FileRead(dest,count,file) PR_Read((file), (dest), (count))
#define XP_FileWrite(src,count,file) PR_Write((file), (src), (count))
#define XP_FileTell(file) PR_Seek(file, 0, PR_SEEK_CUR)
#define XP_FileFlush(file) PR_Sync(file)
#define XP_FileClose(file) PR_Close(file)
#define XP_ASSERT(x) PR_ASSERT((x))
#define XP_STRCAT(a,b) PL_strcat((a),(b))
#define XP_ATOI PL_atoi
#define XP_STRCPY(a,b) PL_strcpy((a),(b))
#define XP_STRLEN(x) PL_strlen(x)
#define XP_SPRINTF sprintf
#define XP_FREE(x) PR_Free((x))
#define XP_ALLOC(x) PR_Malloc((x))
#define XP_FREEIF(x) PR_FREEIF(x)
#define XP_STRCMP(x,y) PL_strcmp((x),(y))
#define XP_STRNCMP(x,y,n) PL_strncmp((x),(y),(n))
#define XP_STRDUP(s) PL_strdup((s))
#define XP_MEMCPY(d, s, l) memcpy((d), (s), (l))
#define XP_MEMSET(d, c, l) memset((d), (c), (l))
#define XP_STRCASECMP(x,y) PL_strcasecmp((x),(y))
#define XP_STRNCASECMP(x,y,n) PL_strncasecmp((x),(y),(n))
typedef PRFileDesc* XP_File;
#endif /*STANDALONE_REGISTRY*/
#ifdef STANDALONE_REGISTRY /* included from prmon.h otherwise */
#include "prtypes.h"
#if 0
typedef long int32;
typedef unsigned long uint32;
typedef short int16;
typedef unsigned short uint16;
typedef unsigned char uint8;
#ifdef XP_MAC
#include <Types.h>
typedef char BOOL;
typedef char Bool;
typedef char XP_Bool;
#elif defined(XP_PC)
typedef int Bool;
typedef int XP_Bool;
#else
/* XP_UNIX: X11/Xlib.h "define"s Bool to be int. This is really lame
* (that's what typedef is for losers). So.. in lieu of a #undef Bool
* here (Xlib still needs ints for Bool-typed parameters) people have
* been #undef-ing Bool before including this file.
* Can we just #undef Bool here? <mailto:mcafee> (help from djw, converse)
*/
typedef char Bool;
typedef char XP_Bool;
#endif /* XP_MAC */
#endif /* 0 */
#endif /*STANDALONE_REGISTRY*/
#ifdef XP_PC
typedef struct _stat XP_StatStruct;
#define XP_Stat(file,data,type) _stat((file),(data))
#else
typedef struct stat XP_StatStruct;
#define XP_Stat(file,data,type) stat((file),(data))
#endif /*XP_PC*/
#ifdef XP_MAC
extern int nr_RenameFile(char *from, char *to);
#else
XP_BEGIN_PROTOS
#define nr_RenameFile(from, to) rename((from), (to))
XP_END_PROTOS
#endif
#ifdef STANDALONE_REGISTRY /* included from prmon.h otherwise */
XP_BEGIN_PROTOS
extern XP_File vr_fileOpen(const char *name, const char * mode);
extern void vr_findGlobalRegName();
#if !defined(XP_PC) && !(defined(__GLIBC__) && __GLIBC__ >= 2)
extern char * strdup(const char * s);
#endif
XP_END_PROTOS
#else
#define vr_fileOpen PR_Open
XP_BEGIN_PROTOS
extern void vr_findGlobalRegName();
XP_END_PROTOS
#endif /* STANDALONE_REGISTRY */
#endif /* _VR_STUBS_H_ */

View File

@@ -0,0 +1,115 @@
#!gmake
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
IGNORE_MANIFEST=1
#//------------------------------------------------------------------------
#//
#// Makefile to build
#//
#//------------------------------------------------------------------------
#//------------------------------------------------------------------------
#//
#// Specify the depth of the current directory relative to the
#// root of NS
#//
#//------------------------------------------------------------------------
DEPTH= ..\..\..
!ifndef MAKE_OBJ_TYPE
MAKE_OBJ_TYPE=DLL
!endif
#//------------------------------------------------------------------------
#//
#// Define any Public Make Variables here: (ie. PDFFILE, MAPFILE, ...)
#//
#//------------------------------------------------------------------------
#//------------------------------------------------------------------------
#//
#// Define the files necessary to build the target (ie. OBJS)
#//
#//------------------------------------------------------------------------
OBJS= \
.\$(OBJDIR)\reg.obj \
.\$(OBJDIR)\VerReg.obj \
.\$(OBJDIR)\vr_stubs.obj \
$(NULL)
#//------------------------------------------------------------------------
#//
#// Define any Public Targets here (ie. PROGRAM, LIBRARY, DLL, ...)
#// (these must be defined before the common makefiles are included)
#//
#//------------------------------------------------------------------------
LIBNAME=nsreg
DLL=$(OBJDIR)\$(LIBNAME).dll
#//------------------------------------------------------------------------
#//
#// Define any local options for the make tools
#// (ie. LCFLAGS, LLFLAGS, LLIBS, LINCS)
#//
#//------------------------------------------------------------------------
LCFLAGS = -DSTANDALONE_REGISTRY
LINCS= $(LINCS) -I$(PUBLIC)/libreg \
$(NULL)
#//------------------------------------------------------------------------
#//
#// Include the common makefile rules
#//
#//------------------------------------------------------------------------
include <$(DEPTH)/config/rules.mak>
reg.c::
$(RM) $(DEPTH)\modules\libreg\standalone\reg.h
$(RM) $(DEPTH)\modules\libreg\standalone\reg.c
$(RM) $(DEPTH)\modules\libreg\standalone\vr_stubs.h
$(RM) $(DEPTH)\modules\libreg\standalone\vr_stubs.c
$(RM) $(DEPTH)\modules\libreg\standalone\VerReg.c
copy $(DEPTH)\modules\libreg\src\reg.h $(DEPTH)\modules\libreg\standalone\reg.h
copy $(DEPTH)\modules\libreg\src\reg.c $(DEPTH)\modules\libreg\standalone\reg.c
copy $(DEPTH)\modules\libreg\src\vr_stubs.h $(DEPTH)\modules\libreg\standalone\vr_stubs.h
copy $(DEPTH)\modules\libreg\src\vr_stubs.c $(DEPTH)\modules\libreg\standalone\vr_stubs.c
copy $(DEPTH)\modules\libreg\src\VerReg.c $(DEPTH)\modules\libreg\standalone\VerReg.c
export:: $(DLL)
$(MAKE_INSTALL) $(DLL) $(DIST)\bin
$(RM) $(DEPTH)\modules\libreg\standalone\reg.h
$(RM) $(DEPTH)\modules\libreg\standalone\reg.c
$(RM) $(DEPTH)\modules\libreg\standalone\vr_stubs.h
$(RM) $(DEPTH)\modules\libreg\standalone\vr_stubs.c
$(RM) $(DEPTH)\modules\libreg\standalone\VerReg.c
clobber::
$(RM) $(DIST)\bin\$(DLL)
$(RM) $(DEPTH)\modules\libreg\standalone\reg.h
$(RM) $(DEPTH)\modules\libreg\standalone\reg.c
$(RM) $(DEPTH)\modules\libreg\standalone\vr_stubs.h
$(RM) $(DEPTH)\modules\libreg\standalone\vr_stubs.c
$(RM) $(DEPTH)\modules\libreg\standalone\VerReg.c

View File

@@ -0,0 +1,430 @@
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
// Registry interpreter
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include "VerReg.h"
#include "NSReg.h"
extern char *errstr(REGERR err);
extern int DumpTree(void);
int gVerbose = 1;
int gPretend = 0;
int error(char *func, int err)
{
if (err == REGERR_OK)
{
if (gVerbose)
printf("%s Ok\n", func);
}
else
{
printf("%s returns %s\n", func, errstr(err));
}
return err;
} // error
static char *GetNextWord(char *cmd, char *buf)
{
// copies until ',' or eos, then skips spaces
if (!cmd || !buf)
return 0;
while (*cmd && *cmd != ',')
*buf++ = *cmd++;
*buf = '\0';
if (*cmd == ',')
{
cmd++;
while(*cmd && *cmd == ' ')
cmd++;
}
return cmd;
} // GetNextWord
static int vr_ParseVersion(char *verstr, VERSION *result)
{
result->major = result->minor = result->release = result->build = 0;
result->major = atoi(verstr);
while (*verstr && *verstr != '.')
verstr++;
if (*verstr)
{
verstr++;
result->minor = atoi(verstr);
while (*verstr && *verstr != '.')
verstr++;
if (*verstr)
{
verstr++;
result->release = atoi(verstr);
while (*verstr && *verstr != '.')
verstr++;
if (*verstr)
{
verstr++;
result->build = atoi(verstr);
while (*verstr && *verstr != '.')
verstr++;
}
}
}
return REGERR_OK;
} // ParseVersion
void parse(char *cmd, char *name, VERSION *ver, char *path)
{
// expects 'cmd' points to: "<name>, <ver>, <path>"
char buf[256];
char *p;
cmd = GetNextWord(cmd, buf);
strcpy(name, buf);
p = cmd; // 'cmd' points to version
vr_ParseVersion(cmd, ver);
ver->check = gPretend ? 0xad : 0;
while (*p && *p != ',') // skip to next ','
p++;
if (*p == ',') // skip comma
p++;
while (*p && *p == ' ') // skip white space
p++;
strcpy(path, p);
} // parse
void vVerbose(char *cmd)
{
if (stricmp(cmd, "ON") == 0)
{
gVerbose = 1;
printf("Verbose mode is now ON.\n");
}
else
{
gVerbose = 0;
}
} // vVerbose
void vCreate(char *cmd)
{
// Syntax: Create [new,] 5.0b1
char buf[64];
int flag = 0;
cmd = GetNextWord(cmd, buf);
if (stricmp(buf, "NEW,") == 0)
{
flag = CR_NEWREGISTRY;
}
error("VR_CreateRegistry", VR_CreateRegistry(flag, cmd));
} // vCreate
void vDisplay(char *cmd)
{
DumpTree();
} // vDisplay
void vFind(char *cmd)
{
VERSION ver;
char path[MAXREGPATHLEN];
if (error("VR_GetVersion", VR_GetVersion(cmd, &ver)) == REGERR_OK)
{
if (error("VR_GetPath", VR_GetPath(cmd, sizeof(path), path)) == REGERR_OK)
{
printf("%s found: ver=%d.%d.%d.%d, check=0x%04x, path=%s\n",
cmd, ver.major, ver.minor, ver.release, ver.build, ver.check,
path);
return;
}
}
printf("%s not found.\n", cmd);
return;
} // vFind
void vHelp(char *cmd)
{
puts("Enter a command:");
puts("\tD)isplay - display the current contents of the Registry");
puts("\tI)nstall <name>, <version>, <path> - install a new component");
puts("\tU)pdate <name>, <version>, <path> - update a component");
puts("\tF)ind <name> - returns version and path");
puts("\tV)erify <name> - verify component exists and checks out");
puts("\tC)reate <name> - create a new instance of Navigator (e.g., \"4.0\")");
puts("\tR)emove <name> - deletes a component from the Registry");
puts("\tT)est - perform a simple test on the Registry");
puts("\tver(B)ose ON|off - turn verbose mode on or off");
puts("\tP)retend on|OFF - pretend that test files exist");
puts("\tS)ave - save the Registry to disk");
puts("\tpac(K) registry - squeeze out unused space from the Registry");
puts("\tQ)uit - end the program");
} // vHelp
void vInstall(char *cmd)
{
char name[MAXREGPATHLEN+1];
char path[MAXREGPATHLEN+1];
VERSION ver;
parse(cmd, name, &ver, path);
error("VR_Install", VR_Install(name, path, &ver));
} // vInstall
void vPack(char *cmd)
{
error("VR_PackRegistry", VR_PackRegistry(0));
} // vPack
void vPretend(char *cmd)
{
if (!cmd)
{
gPretend = !!gPretend;
}
else
{
if (stricmp(cmd, "ON") == 0)
gPretend = 1;
else
gPretend = 0;
}
if (gVerbose)
printf("Pretend mode is %s\n", gPretend ? "ON" : "OFF");
} // vPretend
void vRemove(char *cmd)
{
error("VR_Remove", VR_Remove(cmd));
} // vRemove
void vSave(char *cmd)
{
error("VR_Checkpoint", VR_Checkpoint());
} // vSave
void vTest(char *cmd)
{
VERSION ver;
ver.major = 4;
ver.minor = 0;
ver.release = 0;
ver.build = 237;
ver.check = gPretend ? 0xad : 0;
if (error("VR_Install", VR_Install("Navigator/NS.exe",
"c:\\Program Files\\Netscape\\Navigator\\Program\\NETSCAPE.EXE", &ver)))
return;
if (error("VR_Install", VR_Install("Navigator/Help",
"c:\\Program Files\\Netscape\\Navigator\\Program\\NETSCAPE.HLP", &ver)))
return;
if (error("VR_Install", VR_Install("Navigator/NSPR",
"c:\\Program Files\\Netscape\\Navigator\\Program\\NSPR32.DLL", &ver)))
return;
if (error("VR_Install", VR_Install("Navigator/Player",
"c:\\Program Files\\Netscape\\Navigator\\Program\\NSPLAYER.EXE", &ver)))
return;
if (error("VR_Install", VR_Install("Navigator/NSJava",
"c:\\Program Files\\Netscape\\Navigator\\Program\\NSJAVA32.DLL", &ver)))
return;
if (error("VR_Install", VR_Install("Web/Certificate.DB",
"c:\\Program Files\\Netscape\\Navigator\\Program\\CERT.DB", &ver)))
return;
if (error("VR_Install", VR_Install("Web/CertificateNI.DB",
"c:\\Program Files\\Netscape\\Navigator\\Program\\CERTNI.DB", &ver)))
return;
if (error("VR_Install", VR_Install("Web/Keys",
"c:\\Program Files\\Netscape\\Navigator\\Program\\KEY.DB", &ver)))
return;
if (error("VR_Install", VR_Install("MailNews/Postal",
"c:\\Program Files\\Netscape\\Navigator\\System\\POSTAL32.DLL", &ver)))
return;
if (error("VR_Install", VR_Install("MailNews/Folders/Inbox",
"c:\\Program Files\\Netscape\\Navigator\\Mail\\INBOX.SNM", &ver)))
return;
if (error("VR_Install", VR_Install("MailNews/Folders/Sent",
"c:\\Program Files\\Netscape\\Navigator\\Mail\\SENT.SNM", &ver)))
return;
if (error("VR_Install", VR_Install("MailNews/Folders/Trash",
"c:\\Program Files\\Netscape\\Navigator\\Mail\\TRASH.SNM", &ver)))
return;
if (error("VR_Install", VR_Install("Components/NUL",
"c:\\Program Files\\Netscape\\Navigator\\Program\\Plugins\\NPNUL32.DLL", &ver)))
return;
if (error("VR_Install", VR_Install("Components/PointCast",
"c:\\Program Files\\Netscape\\Navigator\\Program\\Plugins\\NPPCN32.DLL", &ver)))
return;
if (error("VR_Install", VR_Install("Components/AWT",
"c:\\Program Files\\Netscape\\Navigator\\Program\\Java\\bin\\AWT3220.DLL", &ver)))
return;
if (error("VR_Install", VR_Install("Components/MM",
"c:\\Program Files\\Netscape\\Navigator\\Program\\Java\\bin\\MM3220.DLL", &ver)))
return;
if (error("VR_Install", VR_Install("Java/Classes.Zip",
"c:\\Program Files\\Netscape\\Navigator\\Program\\Java\\classes\\MOZ2_0.ZIP", &ver)))
return;
if (error("VR_Install", VR_Install("Java/Classes Directory",
"c:\\Program Files\\Netscape\\Navigator\\Program\\Java\\classes\\MOZ2_0", &ver)))
return;
} // vTest
void vUpdate(char *cmd)
{
char name[MAXREGPATHLEN+1];
char path[MAXREGPATHLEN+1];
VERSION ver;
parse(cmd, name, &ver, path);
error("VR_Update", VR_Update(name, path, &ver));
} // vUpdate
void vVerify(char *cmd)
{
error("VR_CheckEntry", VR_CheckEntry(0, cmd));
} // vVerify
void interp(void)
{
char line[256];
char *p;
while(1)
{
putchar('>');
putchar(' ');
flushall();
gets(line);
// p points to next word after verb on command line
p = line;
while (*p && *p!=' ')
p++;
if (!*p)
p = 0;
else
{
while(*p && *p==' ')
p++;
}
switch(toupper(line[0]))
{
case 'B':
vVerbose(p);
break;
case 'C':
vCreate(p);
break;
case 'D':
vDisplay(p);
break;
case 'F':
vFind(p);
break;
case 'H':
default:
vHelp(line);
break;
case 'I':
vInstall(p);
break;
case 'K':
vPack(p);
break;
case 'P':
vPretend(p);
break;
case 'R':
vRemove(p);
break;
case 'S':
vSave(p);
break;
case 'T':
vTest(p);
break;
case 'U':
vUpdate(p);
break;
case 'V':
vVerify(p);
break;
case 'Q':
case 'X':
vSave(0);
return;
} // switch
} // while
assert(0);
return; // shouldn't get here
} // interp
// EOF: interp.c

View File

@@ -0,0 +1,438 @@
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#include <stdlib.h>
#include <stdio.h>
#include <io.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <string.h>
#include "NSReg.h"
#include "VerReg.h"
extern void interp(void);
#define REGFILE "c:\\temp\\reg.dat"
char *gRegistry;
int main(int argc, char *argv[]);
char *errstr(REGERR err)
{
switch( err )
{
case REGERR_OK:
return "REGERR_OK";
case REGERR_FAIL:
return "REGERR_FAIL";
case REGERR_NOMORE:
return "REGERR_MORE";
case REGERR_NOFIND:
return "REGERR_NOFIND";
case REGERR_BADREAD:
return "REGERR_BADREAD";
case REGERR_BADLOCN:
return "REGERR_BADLOCN";
case REGERR_PARAM:
return "REGERR_PARAM";
case REGERR_BADMAGIC:
return "REGERR_BADMAGIC";
default:
return "<Unknown>";
}
} // errstr
int CreateEmptyRegistry(void)
{
#if 0
int fh;
remove(REGFILE); // ignore errors like file not found
fh = _open(REGFILE, _O_CREAT, _S_IREAD|_S_IWRITE);
if (fh < 0)
return -1;
close(fh);
return 0;
#endif
return VR_CreateRegistry(CR_NEWREGISTRY, "4.0");
} // CreateEmptyRegistry
int BuildTree(void)
{
REGERR err;
err = NR_RegAdd(0,"/Machine/Old");
if (err != REGERR_OK)
{
printf("NR_RegAdd() returned %s.\n", errstr(err));
return err;
}
err = NR_RegAdd(0,"/User");
if (err != REGERR_OK)
{
printf("NR_RegAdd() returned %s.\n", errstr(err));
return err;
}
err = NR_RegAdd(0,"/Machine/4.0/Name1=Val1");
if (err != REGERR_OK)
{
printf("NR_RegAdd() returned %s.\n", errstr(err));
return err;
}
err = NR_RegAdd(0,"/Machine/4.0/Name2=Val2");
if (err != REGERR_OK)
{
printf("NR_RegAdd() returned %s.\n", errstr(err));
return err;
}
err = NR_RegAdd(0,"/Machine/4.0/Name2=Val3");
if (err != REGERR_OK)
{
printf("NR_RegAdd() returned %s.\n", errstr(err));
return err;
}
err = NR_RegAdd(0,"/Machine/4.0/Name3=Val4");
if (err != REGERR_OK)
{
printf("NR_RegAdd() returned %s.\n", errstr(err));
return err;
}
return VR_Checkpoint();
} // BuildTree
int FindKeys(void)
{
RKEY key;
REGERR err;
char buf[80];
if (NR_RegGetKey(0, "", &key) == REGERR_OK)
{
printf("NR_RegGetKey returns ok for an empty path.\n");
return 1;
}
if (NR_RegGetKey(0, "/", &key) != REGERR_OK)
{
printf("NR_RegGetKey couldn't find root.\n");
return 1;
}
if (NR_RegGetKey(0, "/Machine/Old", &key) != REGERR_OK)
{
printf("NR_RegGetKey couldn't find Old\n");
return 1;
}
printf("NR_RegGetKey returns key for Old as: 0x%lx\n", (long) key);
if (NR_RegGetKey(0, "/Machine/4.0", &key) != REGERR_OK)
{
printf("NR_RegGetKey couldn't find 4.0\n");
return 1;
}
printf("NR_RegGetKey returns key for 4.0 as: 0x%lx\n", (long) key);
// ----------------------------------------
if ((err = NR_RegFindValue(0, "/Machine/4.0/Name3", 64, buf)) != REGERR_OK)
{
printf("NR_RegFindValue (no key) returns %s\n", errstr(err));
return 1;
}
printf("NR_RegFindValue (no key) of Name3 = %s\n", buf);
if (NR_RegFindValue(key, "Aliens", 64, buf) == REGERR_OK)
{
printf("NR_RegFindValue finds Aliens.\n");
return 1;
}
if ((err = NR_RegFindValue(key, "Name3", 64, buf)) != REGERR_OK)
{
printf("NR_RegFindValue (w/key) returns %s\n", errstr(err));
return 1;
}
printf("NR_RegFindValue (w/key) of Name3 = %s\n", buf);
return 0;
} // FindTree
int DumpTree(void)
{
char *path;
char *line = "------------------------------------------------------------";
path = malloc(2048);
if (!path)
return REGERR_FAIL;
strcpy(path, "/");
puts(line);
puts(path);
while (NR_RegNext( 0, 512, path ) == REGERR_OK)
{
puts(path);
}
puts(line);
return 0;
} // DumpTree
int ChangeKeys(void)
{
REGERR err;
err = NR_RegUpdate(0,"/Machine/4.0/name3", "Infospect Software, Inc.");
if (err)
{
printf("Couldn't update name3's value to ISI.\n");
return err;
}
err = NR_RegUpdate(0,"/Machine/4.0/name3=Infospect Software, Inc.", "\"Jonathan=Kid1\"");
if (err)
{
printf("Couldn't update name3's value to Jon.\n");
return err;
}
err = NR_RegRename(0,"/Machine/4.0/name3=\"Jonathan=Kid1\"", "First born");
if (err)
{
printf("Couldn't update name3's name to First born.\n");
return err;
}
err = NR_RegUpdate(0,"/Machine/4.0/name2=Val2", "Kelley Ann");
if (err)
{
printf("Couldn't update name2's value to Kelley.\n");
return err;
}
return VR_Checkpoint();
} // ChangeKeys
int DeleteKeys(void)
{
REGERR err;
err = NR_RegDelete(0, "/User");
if (err)
{
printf("NR_RegDelete returned %s.\n", errstr(err));
return err;
}
return VR_Checkpoint();
} // DeleteKeys
int StressTest(void)
{
REGERR err;
RKEY key;
printf("Starting stress...\n");
err = NR_RegGetKey(0, "/Machine/4.0", &key);
if (err)
{
printf("Error getting key for 4.0 = %s\n", errstr(err));
return err;
}
err = NR_RegAdd(key, "A/B/C/D/E/F/G/H/I/J/K/L/M/N/O/P/Q/R/S/T/U/V/W/X/Y/Z/"
"A/B/C/D/E/F/G/H/I/J/K/L/M/N/O/P/Q/R/S/T/U/V/W/X/Y/Z/"
"A/B/C/D/E/F/G/H/I/J/K/L/M/N/O/P/Q/R/S/T/U/V/W/X/Y/Z/" );
if (err)
{
printf("Adding humungous string returned %s\n", errstr(err));
return err;
}
// TODO: Add a value to one of the middle keys, get it back.
printf("Stress done.\n");
return 0;
} // StressTest
int Install(void)
{
int err;
VERSION ver;
ver.major = 4;
ver.minor = 2;
ver.release = 10;
ver.build = 937;
ver.check = 0;
err = VR_Install("Web/Navigator/netscape.exe",
"c:\\Netscape\\NETSCAPE.EXE", &ver);
if (err)
return err;
ver.release = 19;
ver.build = 722;
ver.check = 0;
err = VR_Install("Web/Navigator/nspr.dll",
"c:\\Netscape\\System\\Vtcprac.386", &ver);
if (err)
return err;
return VR_Checkpoint();
}
int GetInfo(void)
{
int err;
char buf[256];
VERSION ver;
err = VR_GetPath("Web/Navigator/nspr.dll", 256, buf);
if (err)
return err;
printf("GetPath(nspr.dll) returns %s\n", buf);
err = VR_GetVersion("Web/Navigator/netscape.exe", &ver);
if (err)
return err;
printf("GetVersion(netscape.exe) returns %d.%d.%d.%d and check=%d\n",
ver.major, ver.minor, ver.release, ver.build, ver.check);
return 0;
}
int main(int argc, char *argv[])
{
printf("Registry Test 10/01/96.\n");
if (argc > 1)
{
gRegistry = argv[1];
}
else
{
gRegistry = REGFILE;
}
VR_RegistryName(gRegistry);
#if 1
if (NR_RegOpen(gRegistry) != REGERR_OK)
VR_CreateRegistry(CR_NEWREGISTRY, "4.0");
interp();
#else
if (CreateEmptyRegistry())
goto abort;
if (Install())
goto done;
if (DumpTree())
goto done;
if (GetInfo())
goto done;
#if defined(TEST_NR)
if ((err = NR_RegOpen(REGFILE)) != REGERR_OK)
{
printf("NR_RegOpen(%s) returned %s...Test aborted.\n", REGFILE, errstr(err));
goto abort;
}
if (BuildTree())
goto done;
if (FindKeys())
goto done;
if (DumpTree())
goto done;
if (ChangeKeys())
goto done;
if (DeleteKeys())
goto done;
if (DumpTree())
goto done;
if (StressTest())
goto done;
if (DumpTree())
goto done;
done:
NR_RegClose();
#else
done:
#endif
abort:
puts("Press Enter to continue...");
getchar();
#endif
return 0;
}

File diff suppressed because it is too large Load Diff

30
mozilla/xpcom/Makefile.in Normal file
View File

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

6027
mozilla/xpcom/base/IIDS.h Normal file

File diff suppressed because it is too large Load Diff

170
mozilla/xpcom/base/nsAgg.h Normal file
View File

@@ -0,0 +1,170 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef nsAgg_h___
#define nsAgg_h___
#include "nsISupports.h"
/**
* Outer objects can implement nsIOuter if they choose, allowing them to
* get notification if their inner objects (children) are effectively freed.
* This allows them to reset any state associated with the inner object and
* potentially unload it.
*/
class nsIOuter : public nsISupports {
public:
/**
* This method is called whenever an inner object's refcount is about to
* become zero and the inner object should be released by the outer. This
* allows the outer to clean up any state associated with the inner and
* potentially unload the inner object. This method should call
* inner->Release().
*/
NS_IMETHOD
ReleaseInner(nsISupports* inner) = 0;
};
#define NS_IOUTER_IID \
{ /* ea0bf9f0-3d67-11d2-8163-006008119d7a */ \
0xea0bf9f0, \
0x3d67, \
0x11d2, \
{0x81, 0x63, 0x00, 0x60, 0x08, 0x11, 0x9d, 0x7a} \
}
////////////////////////////////////////////////////////////////////////////////
// Put this in your class's declaration:
#define NS_DECL_AGGREGATED \
NS_DECL_ISUPPORTS \
\
protected: \
\
/* You must implement this operation instead of the nsISupports */ \
/* methods if you inherit from nsAggregated. */ \
NS_IMETHOD \
AggregatedQueryInterface(const nsIID& aIID, void** aInstancePtr); \
\
class Internal : public nsISupports { \
public: \
\
Internal() {} \
\
NS_IMETHOD QueryInterface(const nsIID& aIID, \
void** aInstancePtr); \
NS_IMETHOD_(nsrefcnt) AddRef(void); \
NS_IMETHOD_(nsrefcnt) Release(void); \
\
}; \
\
friend class Internal; \
\
nsISupports* fOuter; \
Internal fAggregated; \
\
nsISupports* GetInner(void) { return &fAggregated; } \
\
public: \
// Put this in your class's constructor:
#define NS_INIT_AGGREGATED(outer) \
PR_BEGIN_MACRO \
NS_INIT_REFCNT(); \
fOuter = outer; \
PR_END_MACRO
// Put this in your class's implementation file:
#define NS_IMPL_AGGREGATED(_class) \
NS_IMETHODIMP \
_class::QueryInterface(const nsIID& aIID, void** aInstancePtr) \
{ \
/* try our own interfaces first before delegating to outer */ \
nsresult rslt = AggregatedQueryInterface(aIID, aInstancePtr); \
if (rslt != NS_OK && fOuter) \
return fOuter->QueryInterface(aIID, aInstancePtr); \
else \
return rslt; \
} \
\
NS_IMETHODIMP_(nsrefcnt) \
_class::AddRef(void) \
{ \
++mRefCnt; /* keep track of our refcount as well as outer's */ \
if (fOuter) \
return NS_ADDREF(fOuter); \
else \
return mRefCnt; \
} \
\
NS_IMETHODIMP_(nsrefcnt) \
_class::Release(void) \
{ \
if (fOuter) { \
nsISupports* outer = fOuter; /* in case we release ourself */ \
nsIOuter* outerIntf; \
static NS_DEFINE_IID(kIOuterIID, NS_IOUTER_IID); \
if (mRefCnt == 1 && \
outer->QueryInterface(kIOuterIID, \
(void**)&outerIntf) == NS_OK) { \
outerIntf->ReleaseInner(GetInner()); \
outerIntf->Release(); \
} \
else \
--mRefCnt; /* keep track of our refcount as well as outer's */ \
return outer->Release(); \
} \
else { \
if (--mRefCnt == 0) { \
delete this; \
return 0; \
} \
return mRefCnt; \
} \
} \
\
NS_IMETHODIMP \
_class::Internal::QueryInterface(const nsIID& aIID, void** aInstancePtr) \
{ \
_class* agg = (_class*)((char*)(this) - offsetof(_class, fAggregated)); \
return agg->AggregatedQueryInterface(aIID, aInstancePtr); \
} \
\
NS_IMETHODIMP_(nsrefcnt) \
_class::Internal::AddRef(void) \
{ \
_class* agg = (_class*)((char*)(this) - offsetof(_class, fAggregated)); \
return ++agg->mRefCnt; \
} \
\
NS_IMETHODIMP_(nsrefcnt) \
_class::Internal::Release(void) \
{ \
_class* agg = (_class*)((char*)(this) - offsetof(_class, fAggregated)); \
if (--agg->mRefCnt == 0) { \
delete agg; \
return 0; \
} \
return agg->mRefCnt; \
} \
#endif /* nsAgg_h___ */

View File

@@ -0,0 +1,129 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
////////////////////////////////////////////////////////////////////////////////
// Implementation of nsIAllocator using NSPR
////////////////////////////////////////////////////////////////////////////////
#include "nsAllocator.h"
static NS_DEFINE_IID(kISupportsIID, NS_ISUPPORTS_IID);
static NS_DEFINE_IID(kIAllocatorIID, NS_IALLOCATOR_IID);
nsAllocator::nsAllocator(nsISupports* outer)
{
NS_INIT_AGGREGATED(outer);
}
nsAllocator::~nsAllocator(void)
{
}
NS_IMPL_AGGREGATED(nsAllocator);
NS_METHOD
nsAllocator::AggregatedQueryInterface(const nsIID& aIID, void** aInstancePtr)
{
if (NULL == aInstancePtr) {
return NS_ERROR_NULL_POINTER;
}
if (aIID.Equals(kIAllocatorIID) ||
aIID.Equals(kISupportsIID)) {
*aInstancePtr = (void*) this;
AddRef();
return NS_OK;
}
return NS_NOINTERFACE;
}
NS_METHOD
nsAllocator::Create(nsISupports* outer, const nsIID& aIID, void* *aInstancePtr)
{
if (outer && !aIID.Equals(kISupportsIID))
return NS_NOINTERFACE; // XXX right error?
nsAllocator* mm = new nsAllocator(outer);
if (mm == NULL)
return NS_ERROR_OUT_OF_MEMORY;
mm->AddRef();
if (aIID.Equals(kISupportsIID))
*aInstancePtr = mm->GetInner();
else
*aInstancePtr = mm;
return NS_OK;
}
////////////////////////////////////////////////////////////////////////////////
NS_METHOD_(void*)
nsAllocator::Alloc(PRUint32 size)
{
return PR_Malloc(size);
}
NS_METHOD_(void*)
nsAllocator::Realloc(void* ptr, PRUint32 size)
{
return PR_Realloc(ptr, size);
}
NS_METHOD
nsAllocator::Free(void* ptr)
{
PR_Free(ptr);
return NS_OK;
}
NS_METHOD
nsAllocator::HeapMinimize(void)
{
#ifdef XP_MAC
// This used to live in the memory allocators no Mac, but does no more
// Needs to be hooked up in the new world.
// CallCacheFlushers(0x7fffffff);
#endif
return NS_OK;
}
////////////////////////////////////////////////////////////////////////////////
nsAllocatorFactory::nsAllocatorFactory(void)
{
}
nsAllocatorFactory::~nsAllocatorFactory(void)
{
}
static NS_DEFINE_IID(kIFactoryIID, NS_IFACTORY_IID);
NS_IMPL_ISUPPORTS(nsAllocatorFactory, kIFactoryIID);
NS_METHOD
nsAllocatorFactory::CreateInstance(nsISupports *aOuter,
REFNSIID aIID,
void **aResult)
{
return nsAllocator::Create(aOuter, aIID, aResult);
}
NS_METHOD
nsAllocatorFactory::LockFactory(PRBool aLock)
{
return NS_OK; // XXX what?
}
////////////////////////////////////////////////////////////////////////////////

View File

@@ -0,0 +1,93 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
////////////////////////////////////////////////////////////////////////////////
// Implementation of nsIAllocator using NSPR
////////////////////////////////////////////////////////////////////////////////
#ifndef nsAllocator_h__
#define nsAllocator_h__
#include "nsIAllocator.h"
#include "prmem.h"
#include "nsAgg.h"
class nsAllocator : public nsIAllocator {
public:
/**
* Allocates a block of memory of a particular size.
*
* @param size - the size of the block to allocate
* @result the block of memory
*/
NS_IMETHOD_(void*) Alloc(PRUint32 size);
/**
* Reallocates a block of memory to a new size.
*
* @param ptr - the block of memory to reallocate
* @param size - the new size
* @result the rellocated block of memory
*/
NS_IMETHOD_(void*) Realloc(void* ptr, PRUint32 size);
/**
* Frees a block of memory.
*
* @param ptr - the block of memory to free
*/
NS_IMETHOD Free(void* ptr);
/**
* Attempts to shrink the heap.
*/
NS_IMETHOD HeapMinimize(void);
////////////////////////////////////////////////////////////////////////////
nsAllocator(nsISupports* outer);
virtual ~nsAllocator(void);
NS_DECL_AGGREGATED
static NS_METHOD
Create(nsISupports* outer, const nsIID& aIID, void* *aInstancePtr);
};
////////////////////////////////////////////////////////////////////////////////
#include "nsIFactory.h"
class nsAllocatorFactory : nsIFactory {
public:
NS_IMETHOD CreateInstance(nsISupports *aOuter,
REFNSIID aIID,
void **aResult);
NS_IMETHOD LockFactory(PRBool aLock);
nsAllocatorFactory(void);
~nsAllocatorFactory(void);
NS_DECL_ISUPPORTS
};
////////////////////////////////////////////////////////////////////////////////
#endif // nsAllocator_h__

View File

@@ -0,0 +1,54 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#include "nsCOMPtr.h"
void
nsCOMPtr_base::assign_with_AddRef( nsISupports* rawPtr )
{
if ( rawPtr )
NSCAP_ADDREF(rawPtr);
if ( mRawPtr )
NSCAP_RELEASE(mRawPtr);
mRawPtr = rawPtr;
}
void
nsCOMPtr_base::assign_with_QueryInterface( nsISupports* rawPtr, const nsIID& iid, nsresult* result )
{
nsresult status = NS_OK;
if ( !rawPtr || !NS_SUCCEEDED( status = rawPtr->QueryInterface(iid, NSCAP_REINTERPRET_CAST(void**, &rawPtr)) ) )
rawPtr = 0;
if ( mRawPtr )
NSCAP_RELEASE(mRawPtr);
mRawPtr = rawPtr;
if ( result )
*result = status;
}
void**
nsCOMPtr_base::begin_assignment()
{
if ( mRawPtr )
NSCAP_RELEASE(mRawPtr);
mRawPtr = 0;
return NSCAP_REINTERPRET_CAST(void**, &mRawPtr);
}

View File

@@ -0,0 +1,668 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef nsCOMPtr_h___
#define nsCOMPtr_h___
// Wrapping includes can speed up compiles (see "Large Scale C++ Software Design")
#ifndef nsDebug_h___
#include "nsDebug.h"
// for |NS_PRECONDITION|
#endif
#ifndef nsISupports_h___
#include "nsISupports.h"
// for |nsresult|, |NS_ADDREF|, et al
#endif
/*
TO DO...
+ make alternative function for |getter_AddRefs| (or something)
+ make constructor for |nsQueryInterface| explicit (suddenly construct/assign from raw pointer becomes illegal)
+ Improve internal documentation
+ mention *&
+ alternatives for comparison
+ do_QueryInterface
*/
/* USER MANUAL
See also:
<http://www.meer.net/ScottCollins/doc/nsCOMPtr.html>, or
<http://www.mozilla.org/projects/xpcom/nsCOMPtr.html>
What is |nsCOMPtr|?
|nsCOMPtr| is a `smart-pointer'. It is a template class that acts, syntactically,
just like an ordinary pointer in C or C++, i.e., you can apply |*| or |->| to it to
`get to' what it points at. |nsCOMPtr| is smart in that, unlike a raw COM
interface pointer, |nsCOMPtr| manages |AddRef|, |Release|, and |QueryInterface|
_for_ you.
For instance, here is a typical snippet of code (at its most compact) where you assign
a COM interface pointer into a member variable:
NS_IF_RELEASE(mFoop); // If I have one already, I must release it before over-writing it.
if ( mFooP = aPtr ) // Now it's safe to assign it in, and, if it's not NULL
mFooP->AddRef(); // I must |AddRef| it, since I'll be holding on to it.
If our member variable |mFooP| were a |nsCOMPtr|, however, the snippet above
would look like this:
mFoop = aPtr; // Note: automatically |Release|s the old and |AddRef|s the new
|nsCOMPtr| helps you write code that is leak-proof, exception safe, and significantly
less verbose than you would with raw COM interface pointers. With |nsCOMPtr|, you
may never have to call |AddRef|, |Release|, or |QueryInterface| by hand.
You still have to understand COM. You still have to know which functions return
interface pointers that have already been |AddRef|ed and which don't. You still
have to ensure your program logic doesn't produce circularly referencing garbage.
|nsCOMPtr| is not a panacea. It is, however, helpful, easy to use, well-tested,
and polite. It doesn't require that a function author cooperate with you, nor does
your use force others to use it.
Where should I use |nsCOMPtr|?
...
Where _shouldn't_ I use |nsCOMPtr|?
In public interfaces... [[others]]
How does a |nsCOMPtr| differ from a raw pointer?
A |nsCOMPtr| differs, syntactically, from a raw COM interface pointer in three
ways:
+ It's declared differently, e.g.,
// instead of saying // you say
IFoo* fooP; nsCOMPtr<IFoo> fooP;
+ You can't call |AddRef| or |Release| through it,
fooP->AddRef(); // OK fooP->AddRef(); // Error: no permission
fooP->Release(); // OK fooP->Release(); // Error: no permission
+ You can't just apply an |&| to it to pass it to the typical `getter' function
AcquireFoo(&fooP); AcquireFoo( getter_AddRefs(fooP) );
GetFoo(&fooP); GetFoo( getter_doesnt_AddRef(fooP) );
How do I use |nsCOMPtr|?
Typically, you can use a |nsCOMPtr| exactly as you would a standard COM
interface pointer:
IFoo* fooP; nsCOMPtr<IFoo> fooP;
// ... // ...
fooP->SomeFunction(x, y, z); fooP->SomeFunction(x, y, z);
AnotherFunction(fooP); AnotherFunction(fooP);
if ( fooP ) if ( fooP )
// ... // ...
if ( fooP == barP ) if ( fooP == barP )
// ... // ...
There are some differences, though. In particular, you can't call |AddRef| or |Release|
through a |nsCOMPtr| directly, nor would you need to. |AddRef| is called for you
whenever you assign a COM interface pointer _into_ a |nsCOMPtr|. |Release| is
called on the old value, and also when the |nsCOMPtr| goes out of scope. Trying
to call |AddRef| or |Release| yourself will generate a compile-time error.
fooP->AddRef(); // fooP->AddRef(); // ERROR: no permission
fooP->Release(); // fooP->Release(); // ERROR: no permission
The final difference is that a bare |nsCOMPtr| (or rather a pointer to it) can't
be supplied as an argument to a function that `fills in' a COM interface pointer.
Rather it must be wrapped with a utility call that says whether the function calls
|AddRef| before returning, e.g.,
...->QueryInterface(riid, &fooP) ...->QueryInterface(riid, getter_AddRefs(fooP))
LookupFoo(&fooP); LookupFoo( getter_doesnt_AddRef(fooP) );
Don't worry. It's a compile-time error if you forget to wrap it.
Compare the raw-pointer way...
IFoo* foo = 0;
nsresult status = CreateIFoo(&foo);
if ( NS_SUCCEEDED(status) )
{
IBar* bar = 0;
if ( NS_SUCCEEDED(status = foo->QueryInterface(riid, &bar)) )
{
IFooBar* foobar = 0;
if ( NS_SUCCEEDED(status = CreateIFooBar(foo, bar, &foobar)) )
{
foobar->DoTheReallyHardThing();
foobar->Release();
}
bar->Release();
}
foo->Release();
}
To the smart-pointer way...
nsCOMPtr<IFoo> fooP;
nsresult status = CreateIFoo( getter_AddRefs(fooP) );
if ( NS_SUCCEEDED(status) )
if ( nsCOMPtr<IBar> barP( fooP ) )
{
nsCOMPtr<IFooBar> fooBarP;
if ( NS_SUCCEEDED(status = CreateIFooBar(fooP, barP, getter_AddRefs(fooBarP))) )
fooBarP->DoTheReallyHardThing();
}
Is there an easy way to convert my current code?
...
What do I have to beware of?
VC++ < 6.0 _can't_ handle the following situation
class nsIFoo; // forward declare some class
// ...
nsCOMPtr<nsIFoo> bar; // ERROR: incomplete type nsIFoo, etc.
Instead, you must make sure that you actually defined the underlying interface class, e.g.,
#include "nsIFoo.h" // fully defines |class nsIFoo|
// ...
nsCOMPtr<nsIFoo> bar; // no problem
Why is this? It's because VC++ tries to instantiate every member of the template
as soon as it sees the template declarations. Bad compiler. No cookie!
[[Thanks to mjudge, waterson, and pinkerton on this one.]]
Why does |getter_AddRefs| have such a funny name? I.e., why doesn't it follow our
naming conventions?
|getter_AddRefs| and |getter_doesnt_AddRef| use underscores for the same
reason our special macros do, quoting from our coding conventions "...to make them
stick out like a sore thumb". Note also that since |AddRef| is one word,
|getter_AddRefs| and |getter_doesnt_AddRef| couldn't have the right spacing if only inter-
caps were used.
*/
/*
WARNING:
This file defines several macros for internal use only. These macros begin with the
prefix |NSCAP_|. Do not use these macros in your own code. They are for internal use
only for cross-platform compatibility, and are subject to change without notice.
*/
/*
Set up some |#define|s to turn off a couple of troublesome C++ features.
Interestingly, none of the compilers barf on template stuff.
Ideally, we would want declarations like these in a configuration file
that everybody would get. Deciding exactly how to do that should
be part of the process of moving from experimental to production.
Update: ramiro is working on getting these into the configuration system.
*/
#if defined(__GNUG__) && (__GNUC_MINOR__ <= 90) && !defined(SOLARIS)
#define NSCAP_NO_MEMBER_USING_DECLARATIONS
#if (defined(LINUX) || defined(__bsdi__)) && (__GNUC_MINOR__ <= 7)
#define NSCAP_NEED_UNUSED_VIRTUAL_IMPLEMENTATIONS
#endif
#endif
#if defined(SOLARIS) && !defined(__GNUG__)
#define NSCAP_NO_BOOL
#define NSCAP_NO_EXPLICIT
#define NSCAP_NO_NEW_CASTS
#define NSCAP_NO_MEMBER_USING_DECLARATIONS
#endif
#if defined(_MSC_VER) && (_MSC_VER<1100)
#define NSCAP_NO_EXPLICIT
#define NSCAP_NO_BOOL
#endif
#if defined(IRIX)
#define NSCAP_NO_MEMBER_USING_DECLARATIONS
#define NSCAP_NO_EXPLICIT
#define NSCAP_NO_NEW_CASTS
#define NSCAP_NO_BOOL
#endif
#ifdef NSCAP_NO_EXPLICIT
#define explicit
#endif
#ifndef NSCAP_NO_NEW_CASTS
#define NSCAP_REINTERPRET_CAST(T,x) reinterpret_cast<T>(x)
#else
#define NSCAP_REINTERPRET_CAST(T,x) ((T)(x))
#endif
#ifndef NSCAP_NO_BOOL
typedef bool NSCAP_BOOL;
#else
typedef PRBool NSCAP_BOOL;
#endif
#ifdef NSCAP_FEATURE_DEBUG_MACROS
#define NSCAP_ADDREF(ptr) NS_ADDREF(ptr)
#define NSCAP_RELEASE(ptr) NS_RELEASE(ptr)
#else
#define NSCAP_ADDREF(ptr) (ptr)->AddRef()
#define NSCAP_RELEASE(ptr) (ptr)->Release()
#endif
/*
WARNING:
VC++4.2 is very picky. To compile under VC++4.2, the classes must be defined
in an order that satisfies:
nsDerivedSafe < nsCOMPtr
nsDontAddRef < nsCOMPtr
nsCOMPtr < nsGetterAddRefs
The other compilers probably won't complain, so please don't reorder these
classes, on pain of breaking 4.2 compatibility.
*/
template <class T>
class nsDerivedSafe : public T
/*
No client should ever see or have to type the name of this class. It is the
artifact that makes it a compile-time error to call |AddRef| and |Release|
on a |nsCOMPtr|.
See |nsCOMPtr::operator->|, |nsCOMPtr::operator*|, et al.
*/
{
private:
#ifndef NSCAP_NO_MEMBER_USING_DECLARATIONS
using T::AddRef;
using T::Release;
#else
nsrefcnt AddRef();
nsrefcnt Release();
#endif
void operator delete( void* ); // NOT TO BE IMPLEMENTED
// declaring |operator delete| private makes calling delete on an interface pointer a compile error
nsDerivedSafe& operator=( const nsDerivedSafe& ); // NOT TO BE IMPLEMENTED
// you may not call |operator=()| through a dereferenced |nsCOMPtr|, because you'd get the wrong one
};
#if defined(NSCAP_NO_MEMBER_USING_DECLARATIONS) && defined(NSCAP_NEED_UNUSED_VIRTUAL_IMPLEMENTATIONS)
template <class T>
nsrefcnt
nsDerivedSafe<T>::AddRef()
{
return 0;
}
template <class T>
nsrefcnt
nsDerivedSafe<T>::Release()
{
return 0;
}
#endif
template <class T>
struct nsDontQueryInterface
/*
...
*/
{
explicit
nsDontQueryInterface( T* aRawPtr )
: mRawPtr(aRawPtr)
{
// nothing else to do here
}
T* mRawPtr;
};
template <class T>
inline
nsDontQueryInterface<T>
dont_QueryInterface( T* aRawPtr )
{
return nsDontQueryInterface<T>(aRawPtr);
}
struct nsQueryInterface
{
// explicit
nsQueryInterface( nsISupports* aRawPtr, nsresult* error = 0 )
: mRawPtr(aRawPtr),
mErrorPtr(error)
{
// nothing else to do here
}
nsISupports* mRawPtr;
nsresult* mErrorPtr;
};
inline
nsQueryInterface
do_QueryInterface( nsISupports* aRawPtr, nsresult* error = 0 )
{
return nsQueryInterface(aRawPtr, error);
}
template <class T>
struct nsDontAddRef
/*
...cooperates with |nsCOMPtr| to allow you to assign in a pointer _without_
|AddRef|ing it. You would rarely use this directly, but rather through the
machinery of |getter_AddRefs| in the argument list to functions that |AddRef|
their results before returning them to the caller.
See also |getter_AddRefs()| and |class nsGetterAddRefs|.
*/
{
explicit
nsDontAddRef( T* aRawPtr )
: mRawPtr(aRawPtr)
{
// nothing else to do here
}
T* mRawPtr;
};
template <class T>
inline
nsDontAddRef<T>
dont_AddRef( T* aRawPtr )
/*
...makes typing easier, because it deduces the template type, e.g.,
you write |dont_AddRef(fooP)| instead of |nsDontAddRef<IFoo>(fooP)|.
Like the class it is shorthand for, you would rarely use this directly,
but rather through |getter_AddRefs|.
*/
{
return nsDontAddRef<T>(aRawPtr);
}
class nsCOMPtr_base
{
public:
nsCOMPtr_base( nsISupports* rawPtr = 0 )
: mRawPtr(rawPtr)
{
// nothing else to do here
}
~nsCOMPtr_base()
{
if ( mRawPtr )
NSCAP_RELEASE(mRawPtr);
}
NS_EXPORT void assign_with_AddRef( nsISupports* );
NS_EXPORT void assign_with_QueryInterface( nsISupports*, const nsIID&, nsresult* );
NS_EXPORT void** begin_assignment();
protected:
nsISupports* mRawPtr;
};
template <class T>
class nsCOMPtr : private nsCOMPtr_base
/*
...
*/
{
public:
typedef T element_type;
nsCOMPtr()
// : nsCOMPtr_base(0)
{
// nothing else to do here
}
nsCOMPtr( const nsQueryInterface& aSmartPtr )
// : nsCOMPtr_base(0)
{
assign_with_QueryInterface(aSmartPtr.mRawPtr, T::IID(), aSmartPtr.mErrorPtr);
}
nsCOMPtr( const nsDontAddRef<T>& aSmartPtr )
: nsCOMPtr_base(aSmartPtr.mRawPtr)
{
// nothing else to do here
}
nsCOMPtr( const nsDontQueryInterface<T>& aSmartPtr )
: nsCOMPtr_base(aSmartPtr.mRawPtr)
{
if ( mRawPtr )
NSCAP_ADDREF(mRawPtr);
}
nsCOMPtr( const nsCOMPtr<T>& aSmartPtr )
: nsCOMPtr_base(aSmartPtr.mRawPtr)
{
if ( mRawPtr )
NSCAP_ADDREF(mRawPtr);
}
nsCOMPtr<T>&
operator=( const nsQueryInterface& rhs )
{
assign_with_QueryInterface(rhs.mRawPtr, T::IID(), rhs.mErrorPtr);
return *this;
}
nsCOMPtr<T>&
operator=( const nsDontAddRef<T>& rhs )
{
if ( mRawPtr )
NSCAP_RELEASE(mRawPtr);
mRawPtr = rhs.mRawPtr;
return *this;
}
nsCOMPtr<T>&
operator=( const nsDontQueryInterface<T>& rhs )
{
assign_with_AddRef(rhs.mRawPtr);
return *this;
}
nsCOMPtr<T>&
operator=( const nsCOMPtr& rhs )
{
assign_with_AddRef(rhs.mRawPtr);
return *this;
}
nsDerivedSafe<T>*
get() const
// returns a |nsDerivedSafe<T>*| to deny clients the use of |AddRef| and |Release|
{
return NSCAP_REINTERPRET_CAST(nsDerivedSafe<T>*, mRawPtr);
}
nsDerivedSafe<T>*
operator->() const
// returns a |nsDerivedSafe<T>*| to deny clients the use of |AddRef| and |Release|
{
NS_PRECONDITION(mRawPtr != 0, "You can't dereference a NULL nsCOMPtr with operator->().");
return get();
}
nsDerivedSafe<T>&
operator*() const
// returns a |nsDerivedSafe<T>*| to deny clients the use of |AddRef| and |Release|
{
NS_PRECONDITION(mRawPtr != 0, "You can't dereference a NULL nsCOMPtr with operator*().");
return *get();
}
operator nsDerivedSafe<T>*() const
{
return get();
}
#if 0
private:
friend class nsGetterAddRefs<T>;
/*
In a perfect world, the following member function, |StartAssignment|, would be private.
It is and should be only accessed by the closely related class |nsGetterAddRefs<T>|.
Unfortunately, some compilers---most notably VC++5.0---fail to grok the
friend declaration above or in any alternate acceptable form. So, physically
it will be public (until our compilers get smarter); but it is not to be
considered part of the logical public interface.
*/
#endif
T**
StartAssignment()
{
return NSCAP_REINTERPRET_CAST(T**, begin_assignment());
}
};
template <class T>
class nsGetterAddRefs
/*
...
This class is designed to be used for anonymous temporary objects in the
argument list of calls that return COM interface pointers, e.g.,
nsCOMPtr<IFoo> fooP;
...->QueryInterface(iid, nsGetterAddRefs<IFoo>(fooP))
...->QueryInterface(iid, getter_AddRefs(fooP))
When initialized with a |nsCOMPtr|, as in the example above, it returns
a |void**| (or |T**| if needed) that the outer call (|QueryInterface| in this
case) can fill in. When this temporary object goes out of scope, just after
the call returns, its destructor assigned the resulting interface pointer, i.e.,
|QueryInterface|s result, into the |nsCOMPtr| it was initialized with.
See also |nsGetterDoesntAddRef|.
*/
{
public:
explicit
nsGetterAddRefs( nsCOMPtr<T>& aSmartPtr )
: mTargetSmartPtr(aSmartPtr)
{
// nothing else to do
}
operator void**()
{
// NS_PRECONDITION(mTargetSmartPtr != 0, "getter_AddRefs into no destination");
return NSCAP_REINTERPRET_CAST(void**, mTargetSmartPtr.StartAssignment());
}
T*&
operator*()
{
// NS_PRECONDITION(mTargetSmartPtr != 0, "getter_AddRefs into no destination");
return *(mTargetSmartPtr.StartAssignment());
}
operator T**()
{
// NS_PRECONDITION(mTargetSmartPtr != 0, "getter_AddRefs into no destination");
return mTargetSmartPtr.StartAssignment();
}
private:
nsCOMPtr<T>& mTargetSmartPtr;
};
template <class T>
inline
nsGetterAddRefs<T>
getter_AddRefs( nsCOMPtr<T>& aSmartPtr )
/*
Used around a |nsCOMPtr| when
...makes the class |nsGetterAddRefs<T>| invisible.
*/
{
return nsGetterAddRefs<T>(aSmartPtr);
}
#endif // !defined(nsCOMPtr_h___)

218
mozilla/xpcom/base/nsCom.h Normal file
View File

@@ -0,0 +1,218 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef nsCom_h__
#define nsCom_h__
/*
* API Import/Export macros
*/
#ifdef _IMPL_NS_COM
#ifdef XP_PC
#define NS_COM _declspec(dllexport)
#else /* !XP_PC */
#define NS_COM
#endif /* !XP_PC */
#else /* !_IMPL_NS_COM */
#ifdef XP_PC
#define NS_COM _declspec(dllimport)
#else /* !XP_PC */
#define NS_COM
#endif /* !XP_PC */
#endif /* !_IMPL_NS_COM */
/*
* DLL Export macro
*/
#if defined(XP_PC)
#define NS_EXPORT _declspec(dllexport)
#define NS_EXPORT_(type) _declspec(dllexport) type __stdcall
#define NS_IMETHOD_(type) virtual type __stdcall
#define NS_IMETHOD virtual nsresult __stdcall
#define NS_IMETHODIMP_(type) type __stdcall
#define NS_IMETHODIMP nsresult __stdcall
#define NS_METHOD_(type) type __stdcall
#define NS_METHOD nsresult __stdcall
#elif defined(XP_MAC)
#define NS_EXPORT __declspec(export)
#define NS_EXPORT_(type) __declspec(export) type
#define NS_IMETHOD_(type) virtual type
#define NS_IMETHOD virtual nsresult
#define NS_IMETHODIMP_(type) type
#define NS_IMETHODIMP nsresult
#define NS_METHOD_(type) type
#define NS_METHOD nsresult
#else /* !XP_PC && !XP_MAC */
#define NS_EXPORT
#define NS_EXPORT_(type) type
#define NS_IMETHOD_(type) virtual type
#define NS_IMETHOD virtual nsresult
#define NS_IMETHODIMP_(type) type
#define NS_IMETHODIMP nsresult
#define NS_METHOD_(type) type
#define NS_METHOD nsresult
#endif /* !XP_PC */
/* use these functions to associate get/set methods with a
C++ member variable
*/
#define NS_METHOD_GETTER(_method, _type, _member) \
_method(_type* aResult) \
{\
if (!aResult) return NS_ERROR_NULL_POINTER; \
*aResult = _member; \
return NS_OK; \
}
#define NS_METHOD_SETTER(_method, _type, _member) \
_method(_type aResult) \
{ \
_member = aResult; \
return NS_OK; \
}
/*
* special for strings to get/set char* strings
* using PL_strdup and PR_FREEIF
*/
#define NS_METHOD_GETTER_STR(_method,_member) \
_method(char* *aString)\
{\
if (!aString) return NS_ERROR_NULL_POINTER; \
*aString = PL_strdup(_member); \
return NS_OK; \
}
#define NS_METHOD_SETTER_STR(_method, _member) \
_method(char *aString)\
{\
PR_FREEIF(_member);\
if (aString) _member = PL_strdup(aString); \
else _member = nsnull;\
return NS_OK; \
}
/* Getter/Setter macros.
Usage:
NS_IMPL_[CLASS_]GETTER[_<type>](method, [type,] member);
NS_IMPL_[CLASS_]SETTER[_<type>](method, [type,] member);
NS_IMPL_[CLASS_]GETSET[_<type>]([class, ]postfix, [type,] member);
where:
CLASS_ - implementation is inside a class definition
(otherwise the class name is needed)
Do NOT use in publicly exported header files, because
the implementation may be included many times over.
Instead, use the non-CLASS_ version.
_<type> - For more complex (STR, IFACE) data types
(otherwise the simple data type is needed)
method - name of the method, such as GetWidth or SetColor
type - simple data type if required
member - class member variable such as m_width or mColor
class - the class name, such as Window or MyObject
postfix - Method part after Get/Set such as "Width" for "GetWidth"
Example:
class Window {
public:
NS_IMPL_CLASS_GETSET(Width, int, m_width);
NS_IMPL_CLASS_GETTER_STR(GetColor, m_color);
NS_IMETHOD SetColor(char *color);
private:
int m_width; // read/write
char *m_color; // readonly
};
// defined outside of class
NS_IMPL_SETTER_STR(Window::GetColor, m_color);
Questions/Comments to alecf@netscape.com
*/
/*
* Getter/Setter implementation within a class definition
*/
/* simple data types */
#define NS_IMPL_CLASS_GETTER(_method, _type, _member) \
NS_IMETHOD NS_METHOD_GETTER(_method, _type, _member)
#define NS_IMPL_CLASS_SETTER(_method, _type, _member) \
NS_IMETHOD NS_METHOD_SETTER(_method, _type, _member)
#define NS_IMPL_CLASS_GETSET(_postfix, _type, _member) \
NS_IMPL_CLASS_GETTER(Get##_postfix, _type, _member) \
NS_IMPL_CLASS_SETTER(Set##_postfix, _type, _member)
/* strings */
#define NS_IMPL_CLASS_GETTER_STR(_method, _member) \
NS_IMETHOD NS_METHOD_GETTER_STR(_method, _member)
#define NS_IMPL_CLASS_SETTER_STR(_method, _member) \
NS_IMETHOD NS_METHOD_SETTER_STR(_method, _member)
#define NS_IMPL_CLASS_GETSET_STR(_postfix, _member) \
NS_IMPL_CLASS_GETTER_STR(Get##_postfix, _member) \
NS_IMPL_CLASS_SETTER_STR(Set##_postfix, _member)
/* Getter/Setter implementation outside of a class definition */
/* simple data types */
#define NS_IMPL_GETTER(_method, _type, _member) \
NS_IMETHODIMP NS_METHOD_GETTER(_method, _type, _member)
#define NS_IMPL_SETTER(_method, _type, _member) \
NS_IMETHODIMP NS_METHOD_SETTER(_method, _type, _member)
#define NS_IMPL_GETSET(_class, _postfix, _type, _member) \
NS_IMPL_GETTER(_class::Get##_postfix, _type, _member) \
NS_IMPL_SETTER(_class::Set##_postfix, _type, _member)
/* strings */
#define NS_IMPL_GETTER_STR(_method, _member) \
NS_IMETHODIMP NS_METHOD_GETTER_STR(_method, _member)
#define NS_IMPL_SETTER_STR(_method, _member) \
NS_IMETHODIMP NS_METHOD_SETTER_STR(_method, _member)
#define NS_IMPL_GETSET_STR(_class, _postfix, _member) \
NS_IMPL_GETTER_STR(_class::Get##_postfix, _member) \
NS_IMPL_SETTER_STR(_class::Set##_postfix, _member)
#endif

View File

@@ -0,0 +1,169 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#include "nsDebug.h"
#include "prlog.h"
#if defined(_WIN32)
#include <windows.h>
#elif defined(XP_MAC)
#define TEMP_MAC_HACK
//------------------------
#ifdef TEMP_MAC_HACK
#include <MacTypes.h>
#include <Processes.h>
// TEMPORARY UNTIL WE HAVE MACINTOSH ENVIRONMENT VARIABLES THAT CAN TURN ON
// LOGGING ON MACINTOSH
// At this moment, NSPR's logging is a no-op on Macintosh.
#include <stdarg.h>
#include <stdio.h>
#undef PR_LOG
#define PR_LOG(module,level,args) dprintf args
static void dprintf(const char *format, ...)
{
va_list ap;
Str255 buffer;
va_start(ap, format);
buffer[0] = vsnprintf((char *)buffer + 1, sizeof(buffer) - 1, format, ap);
va_end(ap);
DebugStr(buffer);
}
#endif // TEMP_MAC_HACK
//------------------------
#endif
/**
* Implementation of the nsDebug methods. Note that this code is
* always compiled in, in case some other module that uses it is
* compiled with debugging even if this library is not.
*/
static PRLogModuleInfo* gDebugLog;
static void InitLog(void)
{
if (0 == gDebugLog) {
gDebugLog = PR_NewLogModule("nsDebug");
gDebugLog->level = PR_LOG_DEBUG;
}
}
NS_COM void nsDebug::Abort(const char* aFile, PRIntn aLine)
{
InitLog();
PR_LOG(gDebugLog, PR_LOG_ERROR,
("Abort: at file %s, line %d", aFile, aLine));
PR_LogFlush();
#if defined(_WIN32)
long* __p = (long*) 0x7;
*__p = 0x7;
#elif defined(XP_MAC)
ExitToShell();
#elif defined(XP_UNIX)
::abort();
#endif
}
NS_COM void nsDebug::Break(const char* aFile, PRIntn aLine)
{
#ifndef TEMP_MAC_HACK
InitLog();
PR_LOG(gDebugLog, PR_LOG_ERROR,
("Break: at file %s, line %d", aFile, aLine));
PR_LogFlush();
//XXX this works on win32 only for now. For all the other platforms call Abort
#if defined(_WIN32)
::DebugBreak();
#else
Abort(aFile, aLine);
#endif
#endif // TEMP_MAC_HACK
}
NS_COM void nsDebug::PreCondition(const char* aStr, const char* aExpr,
const char* aFile, PRIntn aLine)
{
InitLog();
PR_LOG(gDebugLog, PR_LOG_ERROR,
("PreCondition: \"%s\" (%s) at file %s, line %d", aStr, aExpr,
aFile, aLine));
Break(aFile, aLine);
}
NS_COM void nsDebug::PostCondition(const char* aStr, const char* aExpr,
const char* aFile, PRIntn aLine)
{
InitLog();
PR_LOG(gDebugLog, PR_LOG_ERROR,
("PostCondition: \"%s\" (%s) at file %s, line %d", aStr, aExpr,
aFile, aLine));
Break(aFile, aLine);
}
NS_COM void nsDebug::Assertion(const char* aStr, const char* aExpr,
const char* aFile, PRIntn aLine)
{
InitLog();
PR_LOG(gDebugLog, PR_LOG_ERROR,
("Assertion: \"%s\" (%s) at file %s, line %d", aStr, aExpr,
aFile, aLine));
Break(aFile, aLine);
}
NS_COM void nsDebug::NotYetImplemented(const char* aMessage,
const char* aFile, PRIntn aLine)
{
InitLog();
PR_LOG(gDebugLog, PR_LOG_ERROR,
("NotYetImplemented: \"%s\" at file %s, line %d", aMessage,
aFile, aLine));
Break(aFile, aLine);
}
NS_COM void nsDebug::NotReached(const char* aMessage,
const char* aFile, PRIntn aLine)
{
InitLog();
PR_LOG(gDebugLog, PR_LOG_ERROR,
("NotReached: \"%s\" at file %s, line %d", aMessage, aFile, aLine));
Break(aFile, aLine);
}
NS_COM void nsDebug::Error(const char* aMessage,
const char* aFile, PRIntn aLine)
{
InitLog();
PR_LOG(gDebugLog, PR_LOG_ERROR,
("Error: \"%s\" at file %s, line %d", aMessage, aFile, aLine));
Break(aFile, aLine);
}
NS_COM void nsDebug::Warning(const char* aMessage,
const char* aFile, PRIntn aLine)
{
InitLog();
PR_LOG(gDebugLog, PR_LOG_ERROR,
("Warning: \"%s\" at file %s, line %d", aMessage, aFile, aLine));
}

View File

@@ -0,0 +1,179 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef nsDebug_h___
#define nsDebug_h___
#include "nsCom.h"
#include "prtypes.h"
#ifdef DEBUG
#define NS_DEBUG
#endif
/**
* Namespace for debugging methods. Note that your code must use the
* macros defined later in this file so that the debug code can be
* conditionally compiled out.
*/
class nsDebug {
public:
// XXX add in log controls here
// XXX probably want printf type arguments
/**
* Abort the executing program. This works on all architectures.
*/
static NS_COM void Abort(const char* aFile, PRIntn aLine);
/**
* Break the executing program into the debugger.
*/
static NS_COM void Break(const char* aFile, PRIntn aLine);
/**
* Log a pre-condition message to the debug log
*/
static NS_COM void PreCondition(const char* aStr, const char* aExpr,
const char* aFile, PRIntn aLine);
/**
* Log a post-condition message to the debug log
*/
static NS_COM void PostCondition(const char* aStr, const char* aExpr,
const char* aFile, PRIntn aLine);
/**
* Log an assertion message to the debug log
*/
static NS_COM void Assertion(const char* aStr, const char* aExpr,
const char* aFile, PRIntn aLine);
/**
* Log a not-yet-implemented message to the debug log
*/
static NS_COM void NotYetImplemented(const char* aMessage,
const char* aFile, PRIntn aLine);
/**
* Log a not-reached message to the debug log
*/
static NS_COM void NotReached(const char* aMessage,
const char* aFile, PRIntn aLine);
/**
* Log an error message to the debug log. This call returns.
*/
static NS_COM void Error(const char* aMessage,
const char* aFile, PRIntn aLine);
/**
* Log a warning message to the debug log.
*/
static NS_COM void Warning(const char* aMessage,
const char* aFile, PRIntn aLine);
};
#ifdef NS_DEBUG
/**
* Test a precondition for truth. If the expression is not true then
* trigger a program failure.
*/
#define NS_PRECONDITION(expr,str) \
if (!(expr)) \
nsDebug::PreCondition(str, #expr, __FILE__, __LINE__)
/**
* Test an assertion for truth. If the expression is not true then
* trigger a program failure.
*/
#define NS_ASSERTION(expr,str) \
if (!(expr)) \
nsDebug::Assertion(str, #expr, __FILE__, __LINE__)
/**
* Test an assertion for truth. If the expression is not true then
* trigger a program failure. The expression will still be
* executed in release mode.
*/
#define NS_VERIFY(expr,str) \
if (!(expr)) \
nsDebug::Assertion(str, #expr, __FILE__, __LINE__)
/**
* Test a post-condition for truth. If the expression is not true then
* trigger a program failure.
*/
#define NS_POSTCONDITION(expr,str) \
if (!(expr)) \
nsDebug::PostCondition(str, #expr, __FILE__, __LINE__)
/**
* This macros triggers a program failure if executed. It indicates that
* an attempt was made to execute some unimplimented functionality.
*/
#define NS_NOTYETIMPLEMENTED(str) \
nsDebug::NotYetImplemented(str, __FILE__, __LINE__)
/**
* This macros triggers a program failure if executed. It indicates that
* an attempt was made to execute some unimplimented functionality.
*/
#define NS_NOTREACHED(str) \
nsDebug::NotReached(str, __FILE__, __LINE__)
/**
* Log an error message.
*/
#define NS_ERROR(str) \
nsDebug::Error(str, __FILE__, __LINE__)
/**
* Log a warning message.
*/
#define NS_WARNING(str) \
nsDebug::Warning(str, __FILE__, __LINE__)
/**
* Trigger an abort
*/
#define NS_ABORT() \
nsDebug::Abort(__FILE__, __LINE__)
/**
* Cause a break
*/
#define NS_BREAK() \
nsDebug::Break(__FILE__, __LINE__)
#else /* NS_DEBUG */
#define NS_PRECONDITION(expr,str) {}
#define NS_ASSERTION(expr,str) {}
#define NS_VERIFY(expr,str) expr
#define NS_POSTCONDITION(expr,str) {}
#define NS_NOTYETIMPLEMENTED(str) {}
#define NS_NOTREACHED(str) {}
#define NS_ERROR(str) {}
#define NS_WARNING(str) {}
#define NS_ABORT() {}
#define NS_BREAK() {}
#endif /* ! NS_DEBUG */
#endif /* nsDebug_h___ */

View File

@@ -0,0 +1,186 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef nsError_h
#define nsError_h
#ifndef prtypes_h___
#include "prtypes.h"
#endif
/**
* Generic result data type
*/
typedef PRUint32 nsresult;
/*
* To add error code to your module, you need to do the following:
*
* 1) Add a module offset code. Add yours to the bottom of the list
* right below this comment, adding 1.
*
* 2) In your module, define a header file which uses one of the
* NE_ERROR_GENERATExxxxxx macros. Some examples below:
*
* #define NS_ERROR_MYMODULE_MYERROR1 NS_ERROR_GENERATE(NS_ERROR_SEVERITY_ERROR,NS_ERROR_MODULE_MYMODULE,1)
* #define NS_ERROR_MYMODULE_MYERROR2 NS_ERROR_GENERATE_SUCCESS(NS_ERROR_MODULE_MYMODULE,2)
* #define NS_ERROR_MYMODULE_MYERROR3 NS_ERROR_GENERATE_FAILURE(NS_ERROR_MODULE_MYMODULE,3)
*
*/
/**
* @name Standard Module Offset Code. Each Module should identify a unique number
* and then all errors associated with that module become offsets from the
* base associated with that module id. There are 16 bits of code bits for
* each module.
*/
#define NS_ERROR_MODULE_XPCOM 1
#define NS_ERROR_MODULE_BASE 2
#define NS_ERROR_MODULE_GFX 3
#define NS_ERROR_MODULE_WIDGET 4
#define NS_ERROR_MODULE_CALENDAR 5
#define NS_ERROR_MODULE_NETWORK 6
#define NS_ERROR_MODULE_PLUGINS 7
#define NS_ERROR_MODULE_LAYOUT 8
#define NS_ERROR_MODULE_HTMLPARSER 9
#define NS_ERROR_MODULE_RDF 10
#define NS_ERROR_MODULE_UCONV 11
#define NS_ERROR_MODULE_REG 12
#define NS_ERROR_MODULE_FILES 13
#define NS_ERROR_MODULE_MAILNEWS 16
/**
* @name Standard Error Handling Macros
*/
#define NS_FAILED(_nsresult) ((_nsresult) & 0x80000000)
#define NS_SUCCEEDED(_nsresult) (!((_nsresult) & 0x80000000))
/**
* @name Severity Code. This flag identifies the level of warning
*/
#define NS_ERROR_SEVERITY_SUCCESS 0
#define NS_ERROR_SEVERITY_ERROR 1
/**
* @name Mozilla Code. This flag separates consumers of mozilla code
* from the native platform
*/
#define NS_ERROR_MODULE_BASE_OFFSET 0x45
/**
* @name Standard Error Generating Macros
*/
#define NS_ERROR_GENERATE(sev,module,code) \
((nsresult) (((PRUint32)(sev)<<31) | ((PRUint32)(module+NS_ERROR_MODULE_BASE_OFFSET)<<16) | ((PRUint32)(code))) )
#define NS_ERROR_GENERATE_SUCCESS(module,code) \
((nsresult) (((PRUint32)(NS_ERROR_SEVERITY_SUCCESS)<<31) | ((PRUint32)(module+NS_ERROR_MODULE_BASE_OFFSET)<<16) | ((PRUint32)(code))) )
#define NS_ERROR_GENERATE_FAILURE(module,code) \
((nsresult) (((PRUint32)(NS_ERROR_SEVERITY_ERROR)<<31) | ((PRUint32)(module+NS_ERROR_MODULE_BASE_OFFSET)<<16) | ((PRUint32)(code))) )
/**
* @name Standard Macros for retrieving error bits
*/
#if PR_BYTES_PER_INT == 4
#define NS_IS_ERROR(err) (((nsresult)(err))<0)
#else
#define NS_IS_ERROR(err) (((((PRUint32)(err)) >> 31) & 0x1) == NS_ERROR_SEVERITY_ERROR)
#endif
#define NS_ERROR_GET_CODE(err) ((err) & 0xffff)
#define NS_ERROR_GET_MODULE(err) (((((err) >> 16) - NS_ERROR_MODULE_BASE_OFFSET) & 0x1fff))
#define NS_ERROR_GET_SEVERITY(err) (((err) >> 31) & 0x1)
/**
* @name Standard return values
*/
/*@{*/
/* Standard "it worked" return value */
#define NS_OK 0
/* The backwards COM false */
#define NS_COMFALSE 1
#define NS_ERROR_BASE ((nsresult) 0xC1F30000)
/* Returned when an instance is not initialized */
#define NS_ERROR_NOT_INITIALIZED (NS_ERROR_BASE + 1)
/* Returned when an instance is already initialized */
#define NS_ERROR_ALREADY_INITIALIZED (NS_ERROR_BASE + 2)
/* Returned by a not implemented function */
#define NS_ERROR_NOT_IMPLEMENTED ((nsresult) 0x80004001L)
/* Returned when a given interface is not supported. */
#define NS_NOINTERFACE ((nsresult) 0x80004002L)
#define NS_ERROR_NO_INTERFACE NS_NOINTERFACE
#define NS_ERROR_INVALID_POINTER ((nsresult) 0x80004003L)
#define NS_ERROR_NULL_POINTER NS_ERROR_INVALID_POINTER
/* Returned when a function aborts */
#define NS_ERROR_ABORT ((nsresult) 0x80004004L)
/* Returned when a function fails */
#define NS_ERROR_FAILURE ((nsresult) 0x80004005L)
/* Returned when an unexpected error occurs */
#define NS_ERROR_UNEXPECTED ((nsresult) 0x8000ffffL)
/* Returned when a memory allocation failes */
#define NS_ERROR_OUT_OF_MEMORY ((nsresult) 0x8007000eL)
/* Returned when an illegal value is passed */
#define NS_ERROR_ILLEGAL_VALUE ((nsresult) 0x80070057L)
#define NS_ERROR_INVALID_ARG NS_ERROR_ILLEGAL_VALUE
/* Returned when a class doesn't allow aggregation */
#define NS_ERROR_NO_AGGREGATION ((nsresult) 0x80040110L)
/* Returned when a class doesn't allow aggregation */
#define NS_ERROR_NOT_AVAILABLE ((nsresult) 0x80040111L)
/* Returned when a class is not registered */
#define NS_ERROR_FACTORY_NOT_REGISTERED ((nsresult) 0x80040154L)
/* Returned when a dynamically loaded factory couldn't be found */
#define NS_ERROR_FACTORY_NOT_LOADED ((nsresult) 0x800401f8L)
/* Returned when a factory doesn't support signatures */
#define NS_ERROR_FACTORY_NO_SIGNATURE_SUPPORT \
(NS_ERROR_BASE + 0x101)
/* Returned when a factory already is registered */
#define NS_ERROR_FACTORY_EXISTS (NS_ERROR_BASE + 0x100)
/*@}*/
#endif

View File

@@ -0,0 +1,82 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef nsIAllocator_h___
#define nsIAllocator_h___
#include "nsISupports.h"
/**
* Unlike IMalloc, this interface returns nsresults and doesn't
* implement the problematic GetSize and DidAlloc routines.
*/
class nsIAllocator : public nsISupports {
public:
/**
* Allocates a block of memory of a particular size.
*
* @param size - the size of the block to allocate
* @result the block of memory
*/
NS_IMETHOD_(void*) Alloc(PRUint32 size) = 0;
/**
* Reallocates a block of memory to a new size.
*
* @param ptr - the block of memory to reallocate
* @param size - the new size
* @result the rellocated block of memory
*/
NS_IMETHOD_(void*) Realloc(void* ptr, PRUint32 size) = 0;
/**
* Frees a block of memory.
*
* @param ptr - the block of memory to free
*/
NS_IMETHOD Free(void* ptr) = 0;
/**
* Attempts to shrink the heap.
*/
NS_IMETHOD HeapMinimize(void) = 0;
};
#define NS_IALLOCATOR_IID \
{ /* 56def700-b1b9-11d2-8177-006008119d7a */ \
0x56def700, \
0xb1b9, \
0x11d2, \
{0x81, 0x77, 0x00, 0x60, 0x08, 0x11, 0x9d, 0x7a} \
}
// To get the global memory manager service:
#define NS_ALLOCATOR_CID \
{ /* aafe6770-b1bb-11d2-8177-006008119d7a */ \
0xaafe6770, \
0xb1bb, \
0x11d2, \
{0x81, 0x77, 0x00, 0x60, 0x08, 0x11, 0x9d, 0x7a} \
}
////////////////////////////////////////////////////////////////////////////////
#endif /* nsIAllocator_h___ */

View File

@@ -0,0 +1,73 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#include "nsID.h"
#include "prprf.h"
static const char gIDFormat[] =
"{%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x}";
static const char gIDFormat2[] =
"%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x";
/*
* Turns a {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx} string into
* an nsID
*/
NS_COM PRBool nsID::Parse(char *aIDStr)
{
PRInt32 count = 0;
PRInt32 n1, n2, n3[8];
PRInt32 n0;
if (NULL != aIDStr) {
count = PR_sscanf(aIDStr,
(aIDStr[0] == '{') ? gIDFormat : gIDFormat2,
&n0, &n1, &n2,
&n3[0],&n3[1],&n3[2],&n3[3],
&n3[4],&n3[5],&n3[6],&n3[7]);
m0 = (PRInt32) n0;
m1 = (PRInt16) n1;
m2 = (PRInt16) n2;
for (int i = 0; i < 8; i++) {
m3[i] = (PRInt8) n3[i];
}
}
return (PRBool) (count == 11);
}
/*
* Returns an allocated string in {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}
* format. Caller should delete [] the string.
*/
NS_COM char *nsID::ToString() const
{
char *res = new char[39];
if (res != NULL) {
PR_snprintf(res, 39, gIDFormat,
m0, (PRUint32) m1, (PRUint32) m2,
(PRUint32) m3[0], (PRUint32) m3[1], (PRUint32) m3[2],
(PRUint32) m3[3], (PRUint32) m3[4], (PRUint32) m3[5],
(PRUint32) m3[6], (PRUint32) m3[7]);
}
return res;
}

89
mozilla/xpcom/base/nsID.h Normal file
View File

@@ -0,0 +1,89 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef nsID_h__
#define nsID_h__
#include "prtypes.h"
#include "string.h"
#include "nsCom.h"
/**
* A "unique identifier". This is modeled after OSF DCE UUIDs.
*/
struct nsID {
/**
* @name Indentifier values
*/
//@{
PRUint32 m0;
PRUint16 m1;
PRUint16 m2;
PRUint8 m3[8];
//@}
/**
* @name Methods
*/
//@{
/**
* Equivalency method. Compares this nsID with another.
* @return <b>PR_TRUE</b> if they are the same, <b>PR_FALSE</b> if not.
*/
inline PRBool Equals(const nsID& other) const {
return (PRBool)
((((PRUint32*) &m0)[0] == ((PRUint32*) &other.m0)[0]) &&
(((PRUint32*) &m0)[1] == ((PRUint32*) &other.m0)[1]) &&
(((PRUint32*) &m0)[2] == ((PRUint32*) &other.m0)[2]) &&
(((PRUint32*) &m0)[3] == ((PRUint32*) &other.m0)[3]));
}
/**
* nsID Parsing method. Turns a {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}
* string into an nsID
*/
NS_COM PRBool Parse(char *aIDStr);
/**
* nsID string encoder. Returns an allocated string in
* {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx} format. Caller should free string.
*/
NS_COM char* ToString() const;
//@}
};
/**
* Declare an ID. If NS_IMPL_IDS is set, a variable <i>_name</i> is declared
* with the given values, otherwise <i>_name</i> is declared as an
* <tt>extern</tt> variable.
*/
#ifdef NS_IMPL_IDS
#define NS_DECLARE_ID(_name,m0,m1,m2,m30,m31,m32,m33,m34,m35,m36,m37) \
extern "C" const nsID _name = {m0,m1,m2,{m30,m31,m32,m33,m34,m35,m36,m37}}
#else
#define NS_DECLARE_ID(_name,m0,m1,m2,m30,m31,m32,m33,m34,m35,m36,m37) \
extern "C" const nsID _name
#endif
#endif

142
mozilla/xpcom/base/nsIPtr.h Normal file
View File

@@ -0,0 +1,142 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef nsIPtr_h___
#define nsIPtr_h___
#include "nsISupports.h"
/*
* nsIPtr is an "auto-release pointer" class for nsISupports based interfaces
*
* It's intent is to be a "set and forget" pointer to help with managing
* active references to nsISupports bases objects.
*
* The pointer object ensures that the underlying pointer is always
* released whenever the value is changed or when the object leaves scope.
*
* Proper care needs to be taken when assigning pointers to a nsIPtr.
* When asigning from a C pointer (nsISupports*), the pointer presumes
* an active reference and subsumes it. When assigning from another nsIPtr,
* a new reference is established.
*
* There are 3 ways to assign a value to a nsIPtr.
* 1) Direct construction or assignment from a C pointer.
* 2) Direct construction or assignment form another nsIPtr.
* 3) Usage of an "out parameter" method.
* a) AssignRef() releases the underlying pointer and returns a reference to it.
* Useful for pointer reference out paramaters.
* b) AssignPtr() releases the underlying pointer and returns a pointer to it.
* c) Query() releases the underlying pointer and returns a (void**) pointer to it.
* Useful for calls to QueryInterface()
* 4) The SetAddRef() method. This is equivalent to an assignment followed by an AddRef().
*
* examples:
*
* class It {
* void NS_NewFoo(nsIFoo** aFoo);
* nsIFoo* GetFoo(void);
* void GetBar(nsIBar*& aBar);
* };
*
* nsIFooPtr foo = it->GetFoo();
* nsIBarPtr bar;
*
* it->NS_NewFoo(foo.AssignPtr());
* it->GetBar(bar.AssignRef());
* it->QueryInterface(kIFooIID, foo.Query());
* bar.SetAddRef(new Bar());
*
* Advantages:
* Set and forget. Once a pointer is assigned to a nsIPtr, it is impossible
* to forget to release it.
* Always pre-initialized. You can't forget to initialize the pointer.
*
* Disadvantages:
* Usage of this class doesn't eliminate the need to think about ref counts
* and assign values properly, AddRef'ing as needed.
* The nsIPtr doesn't typecast exactly like a C pointer. In order to achieve
* typecasting, it may be necessary to first cast to a C pointer of the
* underlying type.
*
*/
#define NS_DEF_PTR(cls) \
class cls##Ptr { \
public: \
cls##Ptr(void) : mPtr(0) {} \
cls##Ptr(const cls##Ptr& aCopy) : mPtr(aCopy.mPtr) \
{ NS_IF_ADDREF(mPtr); } \
cls##Ptr(cls* aInterface) : mPtr(aInterface) {} \
~cls##Ptr(void) { NS_IF_RELEASE(mPtr); } \
cls##Ptr& operator=(const cls##Ptr& aCopy) \
{ if(mPtr == aCopy.mPtr) return *this; \
NS_IF_ADDREF(aCopy.mPtr); \
NS_IF_RELEASE(mPtr); \
mPtr = aCopy.mPtr; return *this; } \
cls##Ptr& operator=(cls* aInterface) \
{ if(mPtr == aInterface) return *this; \
NS_IF_RELEASE(mPtr); mPtr = aInterface; \
return *this; } \
cls##Ptr& operator=(PRInt32 aInt) \
{ NS_IF_RELEASE(mPtr); \
return *this; } \
void SetAddRef(cls* aInterface) \
{ if(aInterface == mPtr) return; \
NS_IF_ADDREF(aInterface); \
NS_IF_RELEASE(mPtr); mPtr = aInterface; } \
cls* AddRef(void) { NS_ADDREF(mPtr); return mPtr; } \
cls* IfAddRef(void) \
{ NS_IF_ADDREF(mPtr); return mPtr; } \
cls*& AssignRef(void) \
{ NS_IF_RELEASE(mPtr); return mPtr; } \
cls** AssignPtr(void) \
{ NS_IF_RELEASE(mPtr); return &mPtr; } \
void** Query(void) \
{ NS_IF_RELEASE(mPtr); return (void**)&mPtr; } \
PRBool IsNull() const \
{ return PRBool(0 == mPtr); } \
PRBool IsNotNull() const \
{ return PRBool(0 != mPtr); } \
PRBool operator==(const cls##Ptr& aCopy) const \
{ return PRBool(mPtr == aCopy.mPtr); } \
PRBool operator==(cls* aInterface) const \
{ return PRBool(mPtr == aInterface); } \
PRBool operator!=(const cls##Ptr& aCopy) const \
{ return PRBool(mPtr != aCopy.mPtr); } \
PRBool operator!=(cls* aInterface) const \
{ return PRBool(mPtr != aInterface); } \
cls* operator->(void) { return mPtr; } \
cls& operator*(void) { return *mPtr; } \
operator cls*(void) { return mPtr; } \
const cls* operator->(void) const { return mPtr; } \
const cls& operator*(void) const { return *mPtr; } \
operator const cls* (void) const { return mPtr; } \
private: \
void* operator new(size_t size) { return 0; } \
void operator delete(void* aPtr) {} \
cls* mPtr; \
public: \
friend inline PRBool operator==(const cls* aInterface, const cls##Ptr& aPtr) \
{ return PRBool(aInterface == aPtr.mPtr); } \
friend inline PRBool operator!=(const cls* aInterface, const cls##Ptr& aPtr) \
{ return PRBool(aInterface != aPtr.mPtr); } \
}
#endif // nsIPtr_h___

View File

@@ -0,0 +1,314 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (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 Communicator client 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.
*/
#include "nsISupports.h"
#include "prprf.h"
#include "prlog.h"
#if defined(_WIN32)
#include <windows.h>
#endif
static PRLogModuleInfo* gTraceRefcntLog;
#if defined(NS_MT_SUPPORTED)
#include "prlock.h"
static PRLock* gTraceLock;
#define LOCK_TRACELOG() PR_Lock(gTraceLock)
#define UNLOCK_TRACELOG() PR_Unlock(gTraceLock)
#else /* ! NT_MT_SUPPORTED */
#define LOCK_TRACELOG()
#define UNLOCK_TRACELOG()
#endif /* ! NS_MT_SUPPORTED */
static void InitTraceLog(void)
{
if (0 == gTraceRefcntLog) {
gTraceRefcntLog = PR_NewLogModule("xpcomrefcnt");
#if defined(NS_MT_SUPPORTED)
gTraceLock = PR_NewLock();
#endif /* NS_MT_SUPPORTED */
}
}
#if defined(_WIN32)
#include "imagehlp.h"
#include <stdio.h>
#if 0
static BOOL __stdcall
EnumSymbolsCB(LPSTR aSymbolName,
ULONG aSymbolAddress,
ULONG aSymbolSize,
PVOID aUserContext)
{
int* countp = (int*) aUserContext;
int count = *countp;
if (count < 3) {
printf(" %p[%4d]: %s\n", aSymbolAddress, aSymbolSize, aSymbolName);
count++;
*countp = count++;
}
return TRUE;
}
static BOOL __stdcall
EnumModulesCB(LPSTR aModuleName,
ULONG aBaseOfDll,
PVOID aUserContext)
{
HANDLE myProcess = ::GetCurrentProcess();
printf("module=%s dll=%x\n", aModuleName, aBaseOfDll);
// int count = 0;
// SymEnumerateSymbols(myProcess, aBaseOfDll, EnumSymbolsCB, (void*) &count);
return TRUE;
}
#endif
/**
* Walk the stack, translating PC's found into strings and recording the
* chain in aBuffer. For this to work properly, the dll's must be rebased
* so that the address in the file agrees with the address in memory.
* Otherwise StackWalk will return FALSE when it hits a frame in a dll's
* whose in memory address doesn't match it's in-file address.
*
* Fortunately, there is a handy dandy routine in IMAGEHLP.DLL that does
* the rebasing and accordingly I've made a tool to use it to rebase the
* DLL's in one fell swoop (see xpcom/tools/windows/rebasedlls.cpp).
*/
void
nsTraceRefcnt::WalkTheStack(char* aBuffer, int aBufLen)
{
CONTEXT context;
STACKFRAME frame;
char* cp = aBuffer;
aBuffer[0] = '\0';
aBufLen--; // leave room for nul
HANDLE myProcess = ::GetCurrentProcess();
HANDLE myThread = ::GetCurrentThread();
// Get the context information for this thread. That way we will
// know where our sp, fp, pc, etc. are and can fill in the
// STACKFRAME with the initial values.
context.ContextFlags = CONTEXT_FULL;
GetThreadContext(myThread, &context);
if (!SymInitialize(myProcess, ".;..\\lib", TRUE)) {
return;
}
#if 0
SymEnumerateModules(myProcess, EnumModulesCB, NULL);
#endif
// Setup initial stack frame to walk from
memset(&frame, 0, sizeof(frame));
frame.AddrPC.Mode = AddrModeFlat;
frame.AddrPC.Offset = context.Eip;
frame.AddrReturn.Mode = AddrModeFlat;
frame.AddrReturn.Offset = context.Ebp;
frame.AddrFrame.Mode = AddrModeFlat;
frame.AddrFrame.Offset = context.Ebp;
frame.AddrStack.Mode = AddrModeFlat;
frame.AddrStack.Offset = context.Esp;
frame.Params[0] = context.Eax;
frame.Params[1] = context.Ecx;
frame.Params[2] = context.Edx;
frame.Params[3] = context.Ebx;
// Now walk the stack and map the pc's to symbol names that we stuff
// append to *cp.
int skip = 2;
int syms = 0;
while (aBufLen > 0) {
char symbolBuffer[sizeof(IMAGEHLP_SYMBOL) + 512];
PIMAGEHLP_SYMBOL pSymbol = (PIMAGEHLP_SYMBOL) symbolBuffer;
pSymbol->SizeOfStruct = sizeof(symbolBuffer);
pSymbol->MaxNameLength = 512;
DWORD oldAddress = frame.AddrPC.Offset;
BOOL b = ::StackWalk(IMAGE_FILE_MACHINE_I386, myProcess, myThread,
&frame, &context, NULL,
SymFunctionTableAccess,
SymGetModuleBase,
NULL);
if (!b || (0 == frame.AddrPC.Offset)) {
if (syms <= 1) {
skip = 7;
}
break;
}
if (--skip >= 0) {
continue;
}
DWORD disp;
if (SymGetSymFromAddr(myProcess, frame.AddrPC.Offset, &disp, pSymbol)) {
int nameLen = strlen(pSymbol->Name);
if (nameLen + 2 > aBufLen) {
break;
}
memcpy(cp, pSymbol->Name, nameLen);
cp += nameLen;
*cp++ = ' ';
aBufLen -= nameLen + 1;
syms++;
}
else {
if (11 > aBufLen) {
break;
}
char tmp[30];
PR_snprintf(tmp, sizeof(tmp), "0x%08x ", frame.AddrPC.Offset);
memcpy(cp, tmp, 11);
cp += 11;
aBufLen -= 11;
syms++;
}
}
*cp = 0;
}
#else /* _WIN32 */
void
nsTraceRefcnt::WalkTheStack(char* aBuffer, int aBufLen)
{
aBuffer[0] = '\0';
}
#endif /* _WIN32 */
NS_COM void
nsTraceRefcnt::LoadLibrarySymbols(const char* aLibraryName,
void* aLibrayHandle)
{
#ifdef MOZ_TRACE_XPCOM_REFCNT
#if defined(_WIN32)
InitTraceLog();
if (PR_LOG_TEST(gTraceRefcntLog,PR_LOG_DEBUG)) {
HANDLE myProcess = ::GetCurrentProcess();
if (!SymInitialize(myProcess, ".;..\\lib", TRUE)) {
return;
}
BOOL b = ::SymLoadModule(myProcess,
NULL,
(char*)aLibraryName,
(char*)aLibraryName,
0,
0);
// DWORD lastError = 0;
// if (!b) lastError = ::GetLastError();
// printf("loading symbols for library %s => %s [%d]\n", aLibraryName,
// b ? "true" : "false", lastError);
}
#endif
#endif
}
NS_COM unsigned long
nsTraceRefcnt::AddRef(void* aPtr,
unsigned long aNewRefcnt,
const char* aFile,
PRIntn aLine)
{
#ifdef MOZ_TRACE_XPCOM_REFCNT
InitTraceLog();
LOCK_TRACELOG();
if (PR_LOG_TEST(gTraceRefcntLog,PR_LOG_DEBUG)) {
char sb[1000];
WalkTheStack(sb, sizeof(sb));
PR_LOG(gTraceRefcntLog, PR_LOG_DEBUG,
("AddRef: %p: %d=>%d [%s] in %s (line %d)",
aPtr, aNewRefcnt-1, aNewRefcnt, sb, aFile, aLine));
}
UNLOCK_TRACELOG();
#endif
return aNewRefcnt;
}
NS_COM unsigned long
nsTraceRefcnt::Release(void* aPtr,
unsigned long aNewRefcnt,
const char* aFile,
PRIntn aLine)
{
#ifdef MOZ_TRACE_XPCOM_REFCNT
InitTraceLog();
LOCK_TRACELOG();
if (PR_LOG_TEST(gTraceRefcntLog,PR_LOG_DEBUG)) {
char sb[1000];
WalkTheStack(sb, sizeof(sb));
PR_LOG(gTraceRefcntLog, PR_LOG_DEBUG,
("Release: %p: %d=>%d [%s] in %s (line %d)",
aPtr, aNewRefcnt+1, aNewRefcnt, sb, aFile, aLine));
}
UNLOCK_TRACELOG();
#endif
return aNewRefcnt;
}
NS_COM void
nsTraceRefcnt::Create(void* aPtr,
const char* aType,
const char* aFile,
PRIntn aLine)
{
#ifdef MOZ_TRACE_XPCOM_REFCNT
InitTraceLog();
LOCK_TRACELOG();
if (PR_LOG_TEST(gTraceRefcntLog,PR_LOG_DEBUG)) {
char sb[1000];
WalkTheStack(sb, sizeof(sb));
PR_LOG(gTraceRefcntLog, PR_LOG_DEBUG,
("Create: %p[%s]: [%s] in %s (line %d)",
aPtr, aType, sb, aFile, aLine));
}
UNLOCK_TRACELOG();
#endif
}
NS_COM void
nsTraceRefcnt::Destroy(void* aPtr,
const char* aFile,
PRIntn aLine)
{
#ifdef MOZ_TRACE_XPCOM_REFCNT
InitTraceLog();
LOCK_TRACELOG();
if (PR_LOG_TEST(gTraceRefcntLog,PR_LOG_DEBUG)) {
char sb[1000];
WalkTheStack(sb, sizeof(sb));
PR_LOG(gTraceRefcntLog, PR_LOG_DEBUG,
("Destroy: %p: [%s] in %s (line %d)",
aPtr, sb, aFile, aLine));
}
UNLOCK_TRACELOG();
#endif
}

View File

@@ -0,0 +1,61 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (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 Communicator client 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.
*/
#ifndef nsTraceRefcnt_h___
#define nsTraceRefcnt_h___
#include "nsCom.h"
/**
* This class is used to support tracing (and logging using nspr) of
* addref and release calls. Note that only calls that use the
* NS_ADDREF and related macros in nsISupports can be traced.
*
* The name of the nspr log module is "xpcomrefcnt" (case matters).
*
* This code only performs tracing built with debugging AND when
* built with -DMOZ_TRACE_XPCOM_REFCNT (because it's expensive!).
*/
class nsTraceRefcnt {
public:
static NS_COM unsigned long AddRef(void* aPtr,
unsigned long aNewRefcnt,
const char* aFile,
int aLine);
static NS_COM unsigned long Release(void* aPtr,
unsigned long aNewRefcnt,
const char* aFile,
int aLine);
static NS_COM void Create(void* aPtr,
const char* aType,
const char* aFile,
int aLine);
static NS_COM void Destroy(void* aPtr,
const char* aFile,
int aLine);
static NS_COM void LoadLibrarySymbols(const char* aLibraryName,
void* aLibrayHandle);
static NS_COM void WalkTheStack(char* aBuffer, int aBufLen);
};
#endif /* nsTraceRefcnt_h___ */

View File

@@ -0,0 +1,314 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (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 Communicator client 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.
*/
#include "nsISupports.h"
#include "prprf.h"
#include "prlog.h"
#if defined(_WIN32)
#include <windows.h>
#endif
static PRLogModuleInfo* gTraceRefcntLog;
#if defined(NS_MT_SUPPORTED)
#include "prlock.h"
static PRLock* gTraceLock;
#define LOCK_TRACELOG() PR_Lock(gTraceLock)
#define UNLOCK_TRACELOG() PR_Unlock(gTraceLock)
#else /* ! NT_MT_SUPPORTED */
#define LOCK_TRACELOG()
#define UNLOCK_TRACELOG()
#endif /* ! NS_MT_SUPPORTED */
static void InitTraceLog(void)
{
if (0 == gTraceRefcntLog) {
gTraceRefcntLog = PR_NewLogModule("xpcomrefcnt");
#if defined(NS_MT_SUPPORTED)
gTraceLock = PR_NewLock();
#endif /* NS_MT_SUPPORTED */
}
}
#if defined(_WIN32)
#include "imagehlp.h"
#include <stdio.h>
#if 0
static BOOL __stdcall
EnumSymbolsCB(LPSTR aSymbolName,
ULONG aSymbolAddress,
ULONG aSymbolSize,
PVOID aUserContext)
{
int* countp = (int*) aUserContext;
int count = *countp;
if (count < 3) {
printf(" %p[%4d]: %s\n", aSymbolAddress, aSymbolSize, aSymbolName);
count++;
*countp = count++;
}
return TRUE;
}
static BOOL __stdcall
EnumModulesCB(LPSTR aModuleName,
ULONG aBaseOfDll,
PVOID aUserContext)
{
HANDLE myProcess = ::GetCurrentProcess();
printf("module=%s dll=%x\n", aModuleName, aBaseOfDll);
// int count = 0;
// SymEnumerateSymbols(myProcess, aBaseOfDll, EnumSymbolsCB, (void*) &count);
return TRUE;
}
#endif
/**
* Walk the stack, translating PC's found into strings and recording the
* chain in aBuffer. For this to work properly, the dll's must be rebased
* so that the address in the file agrees with the address in memory.
* Otherwise StackWalk will return FALSE when it hits a frame in a dll's
* whose in memory address doesn't match it's in-file address.
*
* Fortunately, there is a handy dandy routine in IMAGEHLP.DLL that does
* the rebasing and accordingly I've made a tool to use it to rebase the
* DLL's in one fell swoop (see xpcom/tools/windows/rebasedlls.cpp).
*/
void
nsTraceRefcnt::WalkTheStack(char* aBuffer, int aBufLen)
{
CONTEXT context;
STACKFRAME frame;
char* cp = aBuffer;
aBuffer[0] = '\0';
aBufLen--; // leave room for nul
HANDLE myProcess = ::GetCurrentProcess();
HANDLE myThread = ::GetCurrentThread();
// Get the context information for this thread. That way we will
// know where our sp, fp, pc, etc. are and can fill in the
// STACKFRAME with the initial values.
context.ContextFlags = CONTEXT_FULL;
GetThreadContext(myThread, &context);
if (!SymInitialize(myProcess, ".;..\\lib", TRUE)) {
return;
}
#if 0
SymEnumerateModules(myProcess, EnumModulesCB, NULL);
#endif
// Setup initial stack frame to walk from
memset(&frame, 0, sizeof(frame));
frame.AddrPC.Mode = AddrModeFlat;
frame.AddrPC.Offset = context.Eip;
frame.AddrReturn.Mode = AddrModeFlat;
frame.AddrReturn.Offset = context.Ebp;
frame.AddrFrame.Mode = AddrModeFlat;
frame.AddrFrame.Offset = context.Ebp;
frame.AddrStack.Mode = AddrModeFlat;
frame.AddrStack.Offset = context.Esp;
frame.Params[0] = context.Eax;
frame.Params[1] = context.Ecx;
frame.Params[2] = context.Edx;
frame.Params[3] = context.Ebx;
// Now walk the stack and map the pc's to symbol names that we stuff
// append to *cp.
int skip = 2;
int syms = 0;
while (aBufLen > 0) {
char symbolBuffer[sizeof(IMAGEHLP_SYMBOL) + 512];
PIMAGEHLP_SYMBOL pSymbol = (PIMAGEHLP_SYMBOL) symbolBuffer;
pSymbol->SizeOfStruct = sizeof(symbolBuffer);
pSymbol->MaxNameLength = 512;
DWORD oldAddress = frame.AddrPC.Offset;
BOOL b = ::StackWalk(IMAGE_FILE_MACHINE_I386, myProcess, myThread,
&frame, &context, NULL,
SymFunctionTableAccess,
SymGetModuleBase,
NULL);
if (!b || (0 == frame.AddrPC.Offset)) {
if (syms <= 1) {
skip = 7;
}
break;
}
if (--skip >= 0) {
continue;
}
DWORD disp;
if (SymGetSymFromAddr(myProcess, frame.AddrPC.Offset, &disp, pSymbol)) {
int nameLen = strlen(pSymbol->Name);
if (nameLen + 2 > aBufLen) {
break;
}
memcpy(cp, pSymbol->Name, nameLen);
cp += nameLen;
*cp++ = ' ';
aBufLen -= nameLen + 1;
syms++;
}
else {
if (11 > aBufLen) {
break;
}
char tmp[30];
PR_snprintf(tmp, sizeof(tmp), "0x%08x ", frame.AddrPC.Offset);
memcpy(cp, tmp, 11);
cp += 11;
aBufLen -= 11;
syms++;
}
}
*cp = 0;
}
#else /* _WIN32 */
void
nsTraceRefcnt::WalkTheStack(char* aBuffer, int aBufLen)
{
aBuffer[0] = '\0';
}
#endif /* _WIN32 */
NS_COM void
nsTraceRefcnt::LoadLibrarySymbols(const char* aLibraryName,
void* aLibrayHandle)
{
#ifdef MOZ_TRACE_XPCOM_REFCNT
#if defined(_WIN32)
InitTraceLog();
if (PR_LOG_TEST(gTraceRefcntLog,PR_LOG_DEBUG)) {
HANDLE myProcess = ::GetCurrentProcess();
if (!SymInitialize(myProcess, ".;..\\lib", TRUE)) {
return;
}
BOOL b = ::SymLoadModule(myProcess,
NULL,
(char*)aLibraryName,
(char*)aLibraryName,
0,
0);
// DWORD lastError = 0;
// if (!b) lastError = ::GetLastError();
// printf("loading symbols for library %s => %s [%d]\n", aLibraryName,
// b ? "true" : "false", lastError);
}
#endif
#endif
}
NS_COM unsigned long
nsTraceRefcnt::AddRef(void* aPtr,
unsigned long aNewRefcnt,
const char* aFile,
PRIntn aLine)
{
#ifdef MOZ_TRACE_XPCOM_REFCNT
InitTraceLog();
LOCK_TRACELOG();
if (PR_LOG_TEST(gTraceRefcntLog,PR_LOG_DEBUG)) {
char sb[1000];
WalkTheStack(sb, sizeof(sb));
PR_LOG(gTraceRefcntLog, PR_LOG_DEBUG,
("AddRef: %p: %d=>%d [%s] in %s (line %d)",
aPtr, aNewRefcnt-1, aNewRefcnt, sb, aFile, aLine));
}
UNLOCK_TRACELOG();
#endif
return aNewRefcnt;
}
NS_COM unsigned long
nsTraceRefcnt::Release(void* aPtr,
unsigned long aNewRefcnt,
const char* aFile,
PRIntn aLine)
{
#ifdef MOZ_TRACE_XPCOM_REFCNT
InitTraceLog();
LOCK_TRACELOG();
if (PR_LOG_TEST(gTraceRefcntLog,PR_LOG_DEBUG)) {
char sb[1000];
WalkTheStack(sb, sizeof(sb));
PR_LOG(gTraceRefcntLog, PR_LOG_DEBUG,
("Release: %p: %d=>%d [%s] in %s (line %d)",
aPtr, aNewRefcnt+1, aNewRefcnt, sb, aFile, aLine));
}
UNLOCK_TRACELOG();
#endif
return aNewRefcnt;
}
NS_COM void
nsTraceRefcnt::Create(void* aPtr,
const char* aType,
const char* aFile,
PRIntn aLine)
{
#ifdef MOZ_TRACE_XPCOM_REFCNT
InitTraceLog();
LOCK_TRACELOG();
if (PR_LOG_TEST(gTraceRefcntLog,PR_LOG_DEBUG)) {
char sb[1000];
WalkTheStack(sb, sizeof(sb));
PR_LOG(gTraceRefcntLog, PR_LOG_DEBUG,
("Create: %p[%s]: [%s] in %s (line %d)",
aPtr, aType, sb, aFile, aLine));
}
UNLOCK_TRACELOG();
#endif
}
NS_COM void
nsTraceRefcnt::Destroy(void* aPtr,
const char* aFile,
PRIntn aLine)
{
#ifdef MOZ_TRACE_XPCOM_REFCNT
InitTraceLog();
LOCK_TRACELOG();
if (PR_LOG_TEST(gTraceRefcntLog,PR_LOG_DEBUG)) {
char sb[1000];
WalkTheStack(sb, sizeof(sb));
PR_LOG(gTraceRefcntLog, PR_LOG_DEBUG,
("Destroy: %p: [%s] in %s (line %d)",
aPtr, sb, aFile, aLine));
}
UNLOCK_TRACELOG();
#endif
}

View File

@@ -0,0 +1,61 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (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 Communicator client 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.
*/
#ifndef nsTraceRefcnt_h___
#define nsTraceRefcnt_h___
#include "nsCom.h"
/**
* This class is used to support tracing (and logging using nspr) of
* addref and release calls. Note that only calls that use the
* NS_ADDREF and related macros in nsISupports can be traced.
*
* The name of the nspr log module is "xpcomrefcnt" (case matters).
*
* This code only performs tracing built with debugging AND when
* built with -DMOZ_TRACE_XPCOM_REFCNT (because it's expensive!).
*/
class nsTraceRefcnt {
public:
static NS_COM unsigned long AddRef(void* aPtr,
unsigned long aNewRefcnt,
const char* aFile,
int aLine);
static NS_COM unsigned long Release(void* aPtr,
unsigned long aNewRefcnt,
const char* aFile,
int aLine);
static NS_COM void Create(void* aPtr,
const char* aType,
const char* aFile,
int aLine);
static NS_COM void Destroy(void* aPtr,
const char* aFile,
int aLine);
static NS_COM void LoadLibrarySymbols(const char* aLibraryName,
void* aLibrayHandle);
static NS_COM void WalkTheStack(char* aBuffer, int aBufLen);
};
#endif /* nsTraceRefcnt_h___ */

View File

@@ -0,0 +1,168 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef __mozIClassRegistry_h
#define __mozIClassRegistry_h
#include "nsRepository.h"
/*---------------------------- mozIClassRegistry -------------------------------
| This interface provides access to a mapping from mnemonic interface names |
| to shared libraries where implementations of those interfaces can be located.|
| |
| This interface is designed to provide two things: |
| 1. A means of less static binding between clients and the code that |
| implements the XPCOM interfaces those clients use. This accomplished |
| by the mapping from interface names to nsCID (and the shared libraries |
| that implement those classes). |
| 2. A means of dynamically changing the mapping from interface name to |
| implementation. The canonical example of this is to switch to a |
| "native" widget set versus an "XP" (implemented using gfx) set. |
| |
| The first goal is achieved by storing (in a "Netscape Registry" file, see |
| nsReg.h) information that maps interface/class "names" to information about |
| where to load implementations of those interfaces. That information |
| includes the interface ID, class ID (of the implementation class), and the |
| name of the shared library that contains the implementation. |
| |
| The class registry object will register those classes with the "repository" |
| (see nsRepository.h) the first time a request is made to create an |
| instance. Subsequent requests will simply be forwarded to the repository |
| after the appropriate interface and class IDs are determined. |
| |
| The second goal is accomplished by permitting the mnemonic interface |
| "names" to be "overloaded", that is, mapped to distinct implementations |
| by separate class registry objects. Further, class registries can be |
| cascaded: they can be chained together so that when a name is not |
| recognized by one registry, it can pass the request to the next registry in |
| the chain. Users can control resolution by making the request of a |
| registry further up/down the chain. |
| |
| For example, consider the case of "native" vs. "gfx" widgets. This might |
| be structured by a class registry arrangment like this: |
| |
| nativeWidgetRegistry baseWidgetRegistry |
| +----------+ +----------+ |
| | ----+---------------->| | |
| +----------+ +----------+ |
| |toolbar| -+-----+ |toolbar| -+-----+ |
| +----------+ | +----------+ | |
| |button | -+-----+ |button | -+-----+ |
| +----------+ | +----------+ | |
| V V |
| +-----------------+ +-----------------+ |
| | native.dll | | base.dll | |
| +-----------------+ +-----------------+ |
| |
| If a specialized implementation of widgets is present (e.g., native.dll) |
| then a corresponding class registry object is created and added to the |
| head of the registry chain. Object creation requests (normal ones) are |
| resolved to the native implementation. If such a library is not present, |
| then the resolution is to the base implementation. If objects of the |
| base implementation are required, then creation requests can be directed |
| directly to the baseWidgetRegistry object, rather than the head of the |
| registry chain. |
| |
| It is intended that there be a single instance of this interface, accessed |
| via the Service Manager (see nsServiceManager.h). |
------------------------------------------------------------------------------*/
struct mozIClassRegistry : public ISupports {
/*------------------------------ CreateInstance ----------------------------
| Create an instance of the requested class/interface. The interface |
| ID is required to specify how the result will be treated. The class |
| named by aName must support this interface. The result is placed in |
| ncomment aResult (NULL if the request fails). "start" specifies the |
| registry at which the search for an implementation of the named |
| interface should start. It defaults to 0 (indicating to start at the |
| head of the registry chain). |
--------------------------------------------------------------------------*/
NS_IMETHOD CreateInstance( const char *anInterfaceName,
const nsIID &aIID,
void* *aResult,
const char *start = 0 ) = 0;
/*--------------------------- CreateEnumerator -----------------------------
| Creates an nsIEnumerator interface object that can be used to examine |
| the contents of the registry. "pattern" specifies either "*" or the |
| name of a specific interface that you want to query. "result" will |
| be set to point to a new object (which will be freed on the last call |
| to its Release() member). See nsIEnumerator.h for details on how to |
| use the returned interface pointer. |
--------------------------------------------------------------------------*/
NS_IMETHOD CreateEnumerator( const char *pattern,
nsIEnumerator* *result ) = 0;
}; // mozIClassRegistry
/*-------------------------- mozIClassRegistryEntry ----------------------------
| Objects of this class represent the individual elements that comprise a |
| mozIClassRegistry interface. You obtain such objects by applying the |
| CreateEnumerator member function to the class registry and then applying |
| the CurrentItem member function to the resulting nsIEnumerator interface. |
| |
| Each entry can be queried for the following information: |
| o sub-registry name |
| o interface name |
| o Class ID |
| o IIDs implemented |
| |
| The information obtained from the entry (specifically, the const char* |
| strings) remains valid for the life of the entry (i.e., until you |
| Release() it). |
| |
| Here is an example of code that uses this interface to dump the contents |
| of a mozIClassRegistry: |
| |
| mozIClassRegistry *reg = nsServiceManager::GetService( kIDRegistry ); |
| nsIEnumerator *enum; |
| reg->CreateEnumerator( "*", &enum ); |
| for ( enum->First(); !enum->IsDone(); enum->Next(); ) { |
| mozIClassRegistryEntry *entry; |
| enum->CurrentItem( &entry ); |
| const char *subreg; |
| const char *name; |
| nsCID cid; |
| int numIIDs; |
| entry->GetSubRegistryName( &subreg ); |
| entry->GetInterfaceName( &name ); |
| entry->GetClassID( &cid ); |
| entry->GetNumIIDs( &numIIDs ); |
| cout << subreg << "/" << name << " = " << cid.ToString() << endl; |
| for ( int i = 0; i < numIIDs; i++ ) { |
| nsIID iid; |
| entry->GetInterfaceID( i, &iid ); |
| cout << "/tIID[" << i << "] = " << iid.ToString() << endl; |
| } |
| entry->Release(); |
| } |
| enum->Release(); |
------------------------------------------------------------------------------*/
struct mozIClassRegistryEntry : public nsISupports {
NS_IMETHOD GetSubRegistryName( const char **result ) = 0;
NS_IMETHOD GetInterfaceName( const char **result ) = 0;
NS_IMETHOD GetClassID( nsCID *result ) = 0;
NS_IMETHOD GetNumIIDs( int *result ) = 0;
NS_IMETHOD GetInterfaceID( int n, nsIID *result ) = 0;
}; // mozIClassRegistryEntry
// {5D41A440-8E37-11d2-8059-00600811A9C3}
#define MOZ_ICLASSREGISTRY_IID { 0x5d41a440, 0x8e37, 0x11d2, { 0x80, 0x59, 0x0, 0x60, 0x8, 0x11, 0xa9, 0xc3 } }
// {D1B54831-AC07-11d2-805E-00600811A9C3}
#define MOZ_ICLASSREGISTRYENTRY_IID { 0xd1b54831, 0xac07, 0x11d2, { 0x80, 0x5e, 0x0, 0x60, 0x8, 0x11, 0xa9, 0xc3 } }
#endif

View File

@@ -0,0 +1,326 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef __mozIRegistry_h
#define __mozIRegistry_h
#include "nsISupports.h"
class nsIEnumerator;
/*------------------------------- mozIRegistry ---------------------------------
| This interface provides access to a tree of arbitrary values. |
| |
| Each node of the tree contains either a value or a subtree or both. |
| |
| The value at any of these leaf nodes can be any of these "primitive" types: |
| o string (null terminated UTF string) |
| o array of 32-bit integers |
| o arbitrary array of bytes |
| o file identifier |
| Of course, since you can store an arbitrary array of bytes, you can put |
| any data you like into a registry (although you have the burden of |
| encoding/decoding your data in that case). |
| |
| Each branch of the tree is labelled with a string "key." The entire path |
| from a given point of the tree to another point further down can be |
| presented as a single string composed of each branch's label, concatenated |
| to the next, with an intervening forward slash ('/'). The term "key" |
| refers to both specific tree branch labels and to such concatenated paths. |
| |
| The branches from a given node must have unique labels. Distinct nodes can |
| have branches with the same label. |
| |
| For example, here's a small registry tree: |
| | |
| /\ |
| / \ |
| / \ |
| / \ |
| "Classes" "Users" |
| / \ |
| / \ |
| / ["joe"] |
| / / \ |
| | / \ |
| /\ / \ |
| / \ "joe" "bob" |
| / \ / \ |
| / \ |
| "{xxxx-xx-1}" "{xxxx-xx-2}" ["c:/joe"] ["d:/Robert"] |
| | | |
| /\ /\ |
| / \ / \ |
| / \ / \ |
| "Library" "Version" "Library" "Version" |
| / \ / \ |
| ["foo.dll"] 2 ["bar.dll"] 1 |
| |
| In this example, there are 2 keys under the root: "Classes" and "Users". |
| The first denotes a subtree only (which has two subtrees, ...). The second |
| denotes both a value ["joe"] and two subtrees labelled "joe" and "bob". |
| The value at the node "/Users" is ["joe"], at "/Users/bob" is ["d:/Robert"]. |
| The value at "/Classes/{xxxx-xx-1}/Version" is 2. |
| |
| The registry interface provides functions that let you navigate the tree |
| and manipulate it's contents. |
| |
| Please note that the registry itself does not impose any structure or |
| meaning on the contents of the tree. For example, the registry doesn't |
| control whether the value at the key "/Users" is the label for the subtree |
| with information about the last active user. That meaning is applied by |
| the code that stores these values and uses them for that purpose. |
| |
| [Any resemblence between this example and actual contents of any actual |
| registry is purely coincidental.] |
------------------------------------------------------------------------------*/
struct mozIRegistry : public nsISupports {
/*------------------------------ Constants ---------------------------------
| The following enumerated types and values are used by the registry |
| interface. |
--------------------------------------------------------------------------*/
typedef enum {
String = 1,
Int32,
Bytes,
File
} DataType;
/*-------------------------------- Types -----------------------------------
| The following data types are used by this interface. All are basically |
| opaque types. You obtain objects of these types via certain member |
| function calls and re-use them later (without having to know what they |
| contain). |
| |
| Key - Placeholder to represent a particular node in a registry |
| tree. There are 3 enumerated values that correspond to |
| specific nodes: |
| Common - Where most stuff goes. |
| Users - Special subtree to hold info about |
| "users"; if you don't know what goes |
| here, don't mess with it. |
| CurrentUser - Subtree under Users corresponding to |
| whatever user is designed the "current" |
| one; see note above. |
| You can specify any of these enumerated values as "keys" |
| on any member function that takes a mozRegistry::Key. |
| ValueInfo - Structure describing a registry value. |
--------------------------------------------------------------------------*/
typedef uint32 Key;
enum { Users = 1, Common = 2, CurrentUser = 3 };
struct ValueInfo {
DataType type;
uint32 length;
};
/*--------------------------- Opening/Closing ------------------------------
| These functions open the specified registry file (Open() with a non-null |
| argument) or the default "standard" registry file (Open() with a null |
| argument or OpenDefault()). |
| |
| Once opened, you can access the registry contents via the read/write |
| or query functions. |
| |
| The registry file will be closed automatically when the registry object |
| is destroyed. You can close the file prior to that by using the |
| Close() function. |
--------------------------------------------------------------------------*/
NS_IMETHOD Open( const char *regFile = 0 ) = 0;
NS_IMETHOD OpenDefault() = 0;
NS_IMETHOD Close() = 0;
/*----------------------- Reading/Writing Values ---------------------------
| These functions read/write the registry values at a given node. |
| |
| All functions require you to specify where in the registry key to |
| get/set the value. The location is specified using two components: |
| o A "base key" indicating where to start from; this is a value of type |
| mozIRegistry::Key. You use either one of the special "root" key |
| values or a subkey obtained via some other member function call. |
| o A "relative path," expressed as a sequence of subtree names |
| separated by forward slashes. This path describes how to get from |
| the base key to the node at which you want to store the data. This |
| component can be a null pointer which means the value goes directly |
| at the node denoted by the base key. |
| |
| When you request a value of a given type, the data stored at the |
| specified node must be of the type requested. If not, an error results. |
| |
| GetString - Obtains a newly allocated copy of a string type value. The |
| caller is obligated to free the returned string using |
| PR_Free. |
| SetString - Stores the argument string at the specified node. |
| GetInt - Obtains an int32 value at the specified node. The result |
| is returned into an int32 location you specify. |
| SetInt - Stores a given int32 value at a node. |
| GetBytes - Obtains a byte array value; this returns both an allocated |
| array of bytes and a length (necessary because there may be |
| embedded null bytes in the array). You must free the |
| resulting array using PR_Free. |
| SetBytes - Stores a given array of bytes; you specify the bytes via a |
| pointer and a length. |
| GetIntArray - Obtains the array of int32 values stored at a given node. |
| The result is composed of two values: a pointer to an |
| array of integer values (which must be freed using |
| PR_Free) and the number of elements in that array. |
| SetIntArray - Stores a set of int32 values at a given node. You must |
| provide a pointer to the array and the number of entries. |
--------------------------------------------------------------------------*/
NS_IMETHOD GetString( Key baseKey, const char *path, char **result ) = 0;
NS_IMETHOD SetString( Key baseKey, const char *path, const char *value ) = 0;
NS_IMETHOD GetInt( Key baseKey, const char *path, int32 *result ) = 0;
NS_IMETHOD SetInt( Key baseKey, const char *path, int32 value ) = 0;
NS_IMETHOD GetBytes( Key baseKey, const char *path, void **result, uint32 *len ) = 0;
NS_IMETHOD SetBytes( Key baseKey, const char *path, void *value, uint32 len ) = 0;
NS_IMETHOD GetIntArray( Key baseKey, const char *path, int32 **result, uint32 *len ) = 0;
NS_IMETHOD SetIntArray( Key baseKey, const char *path, const int32 *value, uint32 len ) = 0;
/*------------------------------ Navigation --------------------------------
| These functions let you navigate through the registry tree, querying |
| its contents. |
| |
| As above, all these functions requires a starting tree location ("base |
| key") specified as a mozIRegistry::Key. Some also require a path |
| name to locate the registry node location relative to this base key. |
| |
| AddSubtree - Adds a new registry subtree at the specified |
| location. Returns the resulting key in |
| the location specified by the third argument |
| (unless that pointer is 0). |
| RemoveNode - Removes the specified registry subtree or |
| value at the specified location. |
| GetSubtree - Returns a mozIRegistry::Key that can be used |
| to refer to the specified registry location. |
| EnumerateSubtrees - Returns a nsIEnumerator object that you can |
| use to enumerate all the subtrees descending |
| from a specified location. You must free the |
| enumerator via Release() when you're done with |
| it. |
| EnumerateAllSubtrees - Like EnumerateSubtrees, but will recursively |
| enumerate lower-level subtrees, too. |
| GetValueInfo - Returns a uint32 value that designates the type |
| of data stored at this location in the registry; |
| the possible values are defined by the enumerated |
| type mozIRegistry::DataType. |
| GetValueLength - Returns a uint32 value that indicates the length |
| of this registry value; the length is the number |
| of characters (for Strings), the number of bytes |
| (for Bytes), or the number of int32 values (for |
| Int32). |
| EnumerateValues - Returns a nsIEnumerator that you can use to |
| enumerate all the value nodes descending from |
| a specified location. |
--------------------------------------------------------------------------*/
NS_IMETHOD AddSubtree( Key baseKey, const char *path, Key *result ) = 0;
NS_IMETHOD RemoveSubtree( Key baseKey, const char *path ) = 0;
NS_IMETHOD GetSubtree( Key baseKey, const char *path, Key *result ) = 0;
NS_IMETHOD EnumerateSubtrees( Key baseKey, nsIEnumerator **result ) = 0;
NS_IMETHOD EnumerateAllSubtrees( Key baseKey, nsIEnumerator **result ) = 0;
NS_IMETHOD GetValueType( Key baseKey, const char *path, uint32 *result ) = 0;
NS_IMETHOD GetValueLength( Key baseKey, const char *path, uint32 *result ) = 0;
NS_IMETHOD EnumerateValues( Key baseKey, nsIEnumerator **result ) = 0;
/*------------------------------ User Name ---------------------------------
| These functions manipulate the current "user name." This value controls |
| the behavior of certain registry functions (namely, ?). |
| |
| GetCurrentUserName allocates a copy of the current user name (which the |
| caller should free using PR_Free). |
--------------------------------------------------------------------------*/
NS_IMETHOD GetCurrentUserName( char **result ) = 0;
NS_IMETHOD SetCurrentUserName( const char *name ) = 0;
/*------------------------------ Utilities ---------------------------------
| Various utility functions: |
| |
| Pack() is used to compress the contents of an open registry file. |
--------------------------------------------------------------------------*/
NS_IMETHOD Pack() = 0;
}; // mozIRegistry
/*----------------------------- mozIRegistryNode -------------------------------
| This interface is implemented by all the objects obtained from the |
| nsIEnumerators that mozIRegistry provides when you call either of the |
| subtree enumeration functions EnumerateSubtrees or EnumerateAllSubtrees. |
| |
| You can call this function to get the name of this subtree. This is the |
| relative path from the base key from which you got this interface. |
| |
| GetName - Returns the path name of this node; this is the relative path |
| from the base key from which this subtree was obtained. The |
| function allocates a copy of the name; the caller must free it |
| using PR_Free. |
------------------------------------------------------------------------------*/
struct mozIRegistryNode : public nsISupports {
NS_IMETHOD GetName( char **result ) = 0;
}; // mozIRegistryNode
/*----------------------------- mozIRegistryValue ------------------------------
| This interface is implemented by the objects obtained from the |
| nsIEnumerators that mozIRegistry provides when you call the |
| EnumerateValues function. An object supporting this interface is |
| returned when you call the CurrentItem() function on that enumerator. |
| |
| You use the member functions of this interface to obtain information |
| about each registry value. |
| |
| GetName - Returns the path name of this node; this is the relative |
| path\ from the base key from which this value was obtained. |
| The function allocates a copy of the name; the caller must |
| subsequently free it via PR_Free. |
| GetValueType - Returns (into a location provided by the caller) the type |
| of the value; the types are defined by the enumerated |
| type mozIRegistry::DataType. |
| GetValueLength - Returns a uint32 value that indicates the length |
| of this registry value; the length is the number |
| of characters (for Strings), the number of bytes |
| (for Bytes), or the number of int32 values (for |
| Int32). |
------------------------------------------------------------------------------*/
struct mozIRegistryValue : public nsISupports {
NS_IMETHOD GetName( char **result ) = 0;
NS_IMETHOD GetValueType( uint32 *result ) = 0;
NS_IMETHOD GetValueLength( uint32 *result ) = 0;
}; // mozIRegistryEntry
/*------------------------------- Error Codes ----------------------------------
------------------------------------------------------------------------------*/
#define NS_ERROR_REG_BADTYPE NS_ERROR_GENERATE_FAILURE( NS_ERROR_MODULE_REG, 1 )
#define NS_ERROR_REG_NO_MORE NS_ERROR_GENERATE_SUCCESS( NS_ERROR_MODULE_REG, 2 )
#define NS_ERROR_REG_NOT_FOUND NS_ERROR_GENERATE_FAILURE( NS_ERROR_MODULE_REG, 3 )
#define NS_ERROR_REG_NOFILE NS_ERROR_GENERATE_FAILURE( NS_ERROR_MODULE_REG, 4 )
#define NS_ERROR_REG_BUFFER_TOO_SMALL NS_ERROR_GENERATE_FAILURE( NS_ERROR_MODULE_REG, 5 )
#define NS_ERROR_REG_NAME_TOO_LONG NS_ERROR_GENERATE_FAILURE( NS_ERROR_MODULE_REG, 6 )
#define NS_ERROR_REG_NO_PATH NS_ERROR_GENERATE_FAILURE( NS_ERROR_MODULE_REG, 7 )
#define NS_ERROR_REG_READ_ONLY NS_ERROR_GENERATE_FAILURE( NS_ERROR_MODULE_REG, 8 )
#define NS_ERROR_REG_BAD_UTF8 NS_ERROR_GENERATE_FAILURE( NS_ERROR_MODULE_REG, 9 )
// {5D41A440-8E37-11d2-8059-00600811A9C3}
#define MOZ_IREGISTRY_IID { 0x5d41a440, 0x8e37, 0x11d2, { 0x80, 0x59, 0x0, 0x60, 0x8, 0x11, 0xa9, 0xc3 } }
// {D1B54831-AC07-11d2-805E-00600811A9C3}
#define MOZ_IREGISTRYNODE_IID { 0xd1b54831, 0xac07, 0x11d2, { 0x80, 0x5e, 0x0, 0x60, 0x8, 0x11, 0xa9, 0xc3 } }
// {5316C380-B2F8-11d2-A374-0080C6F80E4B}
#define MOZ_IREGISTRYVALUE_IID { 0x5316c380, 0xb2f8, 0x11d2, { 0xa3, 0x74, 0x0, 0x80, 0xc6, 0xf8, 0xe, 0x4b } }
#endif

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,80 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef __nsIFactory_h
#define __nsIFactory_h
#include "prtypes.h"
#include "nsISupports.h"
/*
* Datatypes and helper macros
*/
typedef nsID nsCID;
// Define an CID
#define NS_DEFINE_CID(_name, _cidspec) \
const nsCID _name = _cidspec
#define REFNSCID const nsCID&
/*
* nsIFactory interface
*/
// {00000001-0000-0000-c000-000000000046}
#define NS_IFACTORY_IID \
{ 0x00000001, 0x0000, 0x0000, \
{ 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46 } }
class nsIFactory: public nsISupports {
public:
static const nsIID& IID() { static nsIID iid = NS_IFACTORY_IID; return iid; }
NS_IMETHOD CreateInstance(nsISupports *aOuter,
REFNSIID aIID,
void **aResult) = 0;
NS_IMETHOD LockFactory(PRBool aLock) = 0;
};
#if 0
/* Excluding IFactory2 until there is proof of its use - dp */
/**
* nsIFactory2 allows passing in a signature token when creating an
* instance. This allows instance recycling.
*/
// {19997C41-A343-11d1-B665-00805F8A2676}
#define NS_IFACTORY2_IID \
{ 0x19997c41, 0xa343, 0x11d1, \
{ 0xb6, 0x65, 0x0, 0x80, 0x5f, 0x8a, 0x26, 0x76 } }
class nsIFactory2: public nsIFactory {
public:
static const nsIID& IID() { static nsIID iid = NS_IFACTORY2_IID; return iid; }
NS_IMETHOD CreateInstance2(nsISupports *aOuter,
REFNSIID aIID,
void *aSignature,
void **aResult) = 0;
};
#endif /* 0 */
#endif

View File

@@ -0,0 +1,326 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef __nsIRegistry_h
#define __nsIRegistry_h
#include "nsISupports.h"
class nsIEnumerator;
/*-------------------------------- nsIRegistry ---------------------------------
| This interface provides access to a tree of arbitrary values. |
| |
| Each node of the tree contains either a value or a subtree or both. |
| |
| The value at any of these leaf nodes can be any of these "primitive" types: |
| o string (null terminated UTF string) |
| o array of 32-bit integers |
| o arbitrary array of bytes |
| o file identifier |
| Of course, since you can store an arbitrary array of bytes, you can put |
| any data you like into a registry (although you have the burden of |
| encoding/decoding your data in that case). |
| |
| Each branch of the tree is labelled with a string "key." The entire path |
| from a given point of the tree to another point further down can be |
| presented as a single string composed of each branch's label, concatenated |
| to the next, with an intervening forward slash ('/'). The term "key" |
| refers to both specific tree branch labels and to such concatenated paths. |
| |
| The branches from a given node must have unique labels. Distinct nodes can |
| have branches with the same label. |
| |
| For example, here's a small registry tree: |
| | |
| /\ |
| / \ |
| / \ |
| / \ |
| "Classes" "Users" |
| / \ |
| / \ |
| / ["joe"] |
| / / \ |
| | / \ |
| /\ / \ |
| / \ "joe" "bob" |
| / \ / \ |
| / \ |
| "{xxxx-xx-1}" "{xxxx-xx-2}" ["c:/joe"] ["d:/Robert"] |
| | | |
| /\ /\ |
| / \ / \ |
| / \ / \ |
| "Library" "Version" "Library" "Version" |
| / \ / \ |
| ["foo.dll"] 2 ["bar.dll"] 1 |
| |
| In this example, there are 2 keys under the root: "Classes" and "Users". |
| The first denotes a subtree only (which has two subtrees, ...). The second |
| denotes both a value ["joe"] and two subtrees labelled "joe" and "bob". |
| The value at the node "/Users" is ["joe"], at "/Users/bob" is ["d:/Robert"]. |
| The value at "/Classes/{xxxx-xx-1}/Version" is 2. |
| |
| The registry interface provides functions that let you navigate the tree |
| and manipulate it's contents. |
| |
| Please note that the registry itself does not impose any structure or |
| meaning on the contents of the tree. For example, the registry doesn't |
| control whether the value at the key "/Users" is the label for the subtree |
| with information about the last active user. That meaning is applied by |
| the code that stores these values and uses them for that purpose. |
| |
| [Any resemblence between this example and actual contents of any actual |
| registry is purely coincidental.] |
------------------------------------------------------------------------------*/
struct nsIRegistry : public nsISupports {
/*------------------------------ Constants ---------------------------------
| The following enumerated types and values are used by the registry |
| interface. |
--------------------------------------------------------------------------*/
typedef enum {
String = 1,
Int32,
Bytes,
File
} DataType;
/*-------------------------------- Types -----------------------------------
| The following data types are used by this interface. All are basically |
| opaque types. You obtain objects of these types via certain member |
| function calls and re-use them later (without having to know what they |
| contain). |
| |
| Key - Placeholder to represent a particular node in a registry |
| tree. There are 3 enumerated values that correspond to |
| specific nodes: |
| Common - Where most stuff goes. |
| Users - Special subtree to hold info about |
| "users"; if you don't know what goes |
| here, don't mess with it. |
| CurrentUser - Subtree under Users corresponding to |
| whatever user is designed the "current" |
| one; see note above. |
| You can specify any of these enumerated values as "keys" |
| on any member function that takes a nsRegistry::Key. |
| ValueInfo - Structure describing a registry value. |
--------------------------------------------------------------------------*/
typedef uint32 Key;
enum { Users = 1, Common = 2, CurrentUser = 3 };
struct ValueInfo {
DataType type;
uint32 length;
};
/*--------------------------- Opening/Closing ------------------------------
| These functions open the specified registry file (Open() with a non-null |
| argument) or the default "standard" registry file (Open() with a null |
| argument or OpenDefault()). |
| |
| Once opened, you can access the registry contents via the read/write |
| or query functions. |
| |
| The registry file will be closed automatically when the registry object |
| is destroyed. You can close the file prior to that by using the |
| Close() function. |
--------------------------------------------------------------------------*/
NS_IMETHOD Open( const char *regFile = 0 ) = 0;
NS_IMETHOD OpenDefault() = 0;
NS_IMETHOD Close() = 0;
/*----------------------- Reading/Writing Values ---------------------------
| These functions read/write the registry values at a given node. |
| |
| All functions require you to specify where in the registry key to |
| get/set the value. The location is specified using two components: |
| o A "base key" indicating where to start from; this is a value of type |
| nsIRegistry::Key. You use either one of the special "root" key |
| values or a subkey obtained via some other member function call. |
| o A "relative path," expressed as a sequence of subtree names |
| separated by forward slashes. This path describes how to get from |
| the base key to the node at which you want to store the data. This |
| component can be a null pointer which means the value goes directly |
| at the node denoted by the base key. |
| |
| When you request a value of a given type, the data stored at the |
| specified node must be of the type requested. If not, an error results. |
| |
| GetString - Obtains a newly allocated copy of a string type value. The |
| caller is obligated to free the returned string using |
| PR_Free. |
| SetString - Stores the argument string at the specified node. |
| GetInt - Obtains an int32 value at the specified node. The result |
| is returned into an int32 location you specify. |
| SetInt - Stores a given int32 value at a node. |
| GetBytes - Obtains a byte array value; this returns both an allocated |
| array of bytes and a length (necessary because there may be |
| embedded null bytes in the array). You must free the |
| resulting array using PR_Free. |
| SetBytes - Stores a given array of bytes; you specify the bytes via a |
| pointer and a length. |
| GetIntArray - Obtains the array of int32 values stored at a given node. |
| The result is composed of two values: a pointer to an |
| array of integer values (which must be freed using |
| PR_Free) and the number of elements in that array. |
| SetIntArray - Stores a set of int32 values at a given node. You must |
| provide a pointer to the array and the number of entries. |
--------------------------------------------------------------------------*/
NS_IMETHOD GetString( Key baseKey, const char *path, char **result ) = 0;
NS_IMETHOD SetString( Key baseKey, const char *path, const char *value ) = 0;
NS_IMETHOD GetInt( Key baseKey, const char *path, int32 *result ) = 0;
NS_IMETHOD SetInt( Key baseKey, const char *path, int32 value ) = 0;
NS_IMETHOD GetBytes( Key baseKey, const char *path, void **result, uint32 *len ) = 0;
NS_IMETHOD SetBytes( Key baseKey, const char *path, void *value, uint32 len ) = 0;
NS_IMETHOD GetIntArray( Key baseKey, const char *path, int32 **result, uint32 *len ) = 0;
NS_IMETHOD SetIntArray( Key baseKey, const char *path, const int32 *value, uint32 len ) = 0;
/*------------------------------ Navigation --------------------------------
| These functions let you navigate through the registry tree, querying |
| its contents. |
| |
| As above, all these functions requires a starting tree location ("base |
| key") specified as a nsIRegistry::Key. Some also require a path |
| name to locate the registry node location relative to this base key. |
| |
| AddSubtree - Adds a new registry subtree at the specified |
| location. Returns the resulting key in |
| the location specified by the third argument |
| (unless that pointer is 0). |
| RemoveNode - Removes the specified registry subtree or |
| value at the specified location. |
| GetSubtree - Returns a nsIRegistry::Key that can be used |
| to refer to the specified registry location. |
| EnumerateSubtrees - Returns a nsIEnumerator object that you can |
| use to enumerate all the subtrees descending |
| from a specified location. You must free the |
| enumerator via Release() when you're done with |
| it. |
| EnumerateAllSubtrees - Like EnumerateSubtrees, but will recursively |
| enumerate lower-level subtrees, too. |
| GetValueInfo - Returns a uint32 value that designates the type |
| of data stored at this location in the registry; |
| the possible values are defined by the enumerated |
| type nsIRegistry::DataType. |
| GetValueLength - Returns a uint32 value that indicates the length |
| of this registry value; the length is the number |
| of characters (for Strings), the number of bytes |
| (for Bytes), or the number of int32 values (for |
| Int32). |
| EnumerateValues - Returns a nsIEnumerator that you can use to |
| enumerate all the value nodes descending from |
| a specified location. |
--------------------------------------------------------------------------*/
NS_IMETHOD AddSubtree( Key baseKey, const char *path, Key *result ) = 0;
NS_IMETHOD RemoveSubtree( Key baseKey, const char *path ) = 0;
NS_IMETHOD GetSubtree( Key baseKey, const char *path, Key *result ) = 0;
NS_IMETHOD EnumerateSubtrees( Key baseKey, nsIEnumerator **result ) = 0;
NS_IMETHOD EnumerateAllSubtrees( Key baseKey, nsIEnumerator **result ) = 0;
NS_IMETHOD GetValueType( Key baseKey, const char *path, uint32 *result ) = 0;
NS_IMETHOD GetValueLength( Key baseKey, const char *path, uint32 *result ) = 0;
NS_IMETHOD EnumerateValues( Key baseKey, nsIEnumerator **result ) = 0;
/*------------------------------ User Name ---------------------------------
| These functions manipulate the current "user name." This value controls |
| the behavior of certain registry functions (namely, ?). |
| |
| GetCurrentUserName allocates a copy of the current user name (which the |
| caller should free using PR_Free). |
--------------------------------------------------------------------------*/
NS_IMETHOD GetCurrentUserName( char **result ) = 0;
NS_IMETHOD SetCurrentUserName( const char *name ) = 0;
/*------------------------------ Utilities ---------------------------------
| Various utility functions: |
| |
| Pack() is used to compress the contents of an open registry file. |
--------------------------------------------------------------------------*/
NS_IMETHOD Pack() = 0;
}; // nsIRegistry
/*------------------------------ nsIRegistryNode -------------------------------
| This interface is implemented by all the objects obtained from the |
| nsIEnumerators that nsIRegistry provides when you call either of the |
| subtree enumeration functions EnumerateSubtrees or EnumerateAllSubtrees. |
| |
| You can call this function to get the name of this subtree. This is the |
| relative path from the base key from which you got this interface. |
| |
| GetName - Returns the path name of this node; this is the relative path |
| from the base key from which this subtree was obtained. The |
| function allocates a copy of the name; the caller must free it |
| using PR_Free. |
------------------------------------------------------------------------------*/
struct nsIRegistryNode : public nsISupports {
NS_IMETHOD GetName( char **result ) = 0;
}; // nsIRegistryNode
/*------------------------------ nsIRegistryValue ------------------------------
| This interface is implemented by the objects obtained from the |
| nsIEnumerators that nsIRegistry provides when you call the |
| EnumerateValues function. An object supporting this interface is |
| returned when you call the CurrentItem() function on that enumerator. |
| |
| You use the member functions of this interface to obtain information |
| about each registry value. |
| |
| GetName - Returns the path name of this node; this is the relative |
| path\ from the base key from which this value was obtained. |
| The function allocates a copy of the name; the caller must |
| subsequently free it via PR_Free. |
| GetValueType - Returns (into a location provided by the caller) the type |
| of the value; the types are defined by the enumerated |
| type nsIRegistry::DataType. |
| GetValueLength - Returns a uint32 value that indicates the length |
| of this registry value; the length is the number |
| of characters (for Strings), the number of bytes |
| (for Bytes), or the number of int32 values (for |
| Int32). |
------------------------------------------------------------------------------*/
struct nsIRegistryValue : public nsISupports {
NS_IMETHOD GetName( char **result ) = 0;
NS_IMETHOD GetValueType( uint32 *result ) = 0;
NS_IMETHOD GetValueLength( uint32 *result ) = 0;
}; // nsIRegistryEntry
/*------------------------------- Error Codes ----------------------------------
------------------------------------------------------------------------------*/
#define NS_ERROR_REG_BADTYPE NS_ERROR_GENERATE_FAILURE( NS_ERROR_MODULE_REG, 1 )
#define NS_ERROR_REG_NO_MORE NS_ERROR_GENERATE_SUCCESS( NS_ERROR_MODULE_REG, 2 )
#define NS_ERROR_REG_NOT_FOUND NS_ERROR_GENERATE_FAILURE( NS_ERROR_MODULE_REG, 3 )
#define NS_ERROR_REG_NOFILE NS_ERROR_GENERATE_FAILURE( NS_ERROR_MODULE_REG, 4 )
#define NS_ERROR_REG_BUFFER_TOO_SMALL NS_ERROR_GENERATE_FAILURE( NS_ERROR_MODULE_REG, 5 )
#define NS_ERROR_REG_NAME_TOO_LONG NS_ERROR_GENERATE_FAILURE( NS_ERROR_MODULE_REG, 6 )
#define NS_ERROR_REG_NO_PATH NS_ERROR_GENERATE_FAILURE( NS_ERROR_MODULE_REG, 7 )
#define NS_ERROR_REG_READ_ONLY NS_ERROR_GENERATE_FAILURE( NS_ERROR_MODULE_REG, 8 )
#define NS_ERROR_REG_BAD_UTF8 NS_ERROR_GENERATE_FAILURE( NS_ERROR_MODULE_REG, 9 )
// {5D41A440-8E37-11d2-8059-00600811A9C3}
#define NS_IREGISTRY_IID { 0x5d41a440, 0x8e37, 0x11d2, { 0x80, 0x59, 0x0, 0x60, 0x8, 0x11, 0xa9, 0xc3 } }
// {D1B54831-AC07-11d2-805E-00600811A9C3}
#define NS_IREGISTRYNODE_IID { 0xd1b54831, 0xac07, 0x11d2, { 0x80, 0x5e, 0x0, 0x60, 0x8, 0x11, 0xa9, 0xc3 } }
// {5316C380-B2F8-11d2-A374-0080C6F80E4B}
#define NS_IREGISTRYVALUE_IID { 0x5316c380, 0xb2f8, 0x11d2, { 0xa3, 0x74, 0x0, 0x80, 0xc6, 0xf8, 0xe, 0x4b } }
#endif

View File

@@ -0,0 +1,148 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef nsIServiceManager_h___
#define nsIServiceManager_h___
#include "nsRepository.h"
class nsIShutdownListener;
/**
* The nsIServiceManager manager interface provides a means to obtain
* global services in an application. The service manager depends on the
* repository to find and instantiate factories to obtain services.
*
* Users of the service manager must first obtain a pointer to the global
* service manager by calling NS_GetGlobalServiceManager. After that,
* they can request specific services by calling GetService. When they are
* finished with a service the release it by calling ReleaseService (instead
* of releasing the service object directly):
*
* nsICacheManager* cm;
* nsServiceManager::GetService(kCacheManagerCID, kICacheManagerIID, (nsISupports**)&cm);
*
* ... use cm, and then sometime later ...
*
* nsServiceManager::ReleaseService(kCacheManagerCID, cm);
*
* A user of a service may keep references to particular services indefinitely
* and only must call ReleaseService when it shuts down. However if the user
* wishes to voluntarily cooperate with the shutdown of the service it is
* using, it may supply an nsIShutdownListener to provide for asynchronous
* release of the services it is using. The shutdown listener's OnShutdown
* method will be called for a service that is being shut down, and it is
* its responsiblity to release references obtained from that service if at
* all possible.
*
* The process of shutting down a particular service is initiated by calling
* the service manager's ShutdownService method. This will iterate through
* all the registered shutdown listeners for the service being shut down, and
* then will attempt to unload the library associated with the service if
* possible. The status result of ShutdownService indicates whether the
* service was successfully shut down, failed, or was not in service.
*
* XXX QUESTIONS:
* - Should a "service" be more than nsISupports? Should it be a factory
* and/or have Startup(), Shutdown(), etc.
* - If the asynchronous OnShutdown operation gets called, does the user
* of a service still need to call ReleaseService? (Or should they _not_
* call it?)
*/
class nsIServiceManager : public nsISupports {
public:
NS_IMETHOD
GetService(const nsCID& aClass, const nsIID& aIID,
nsISupports* *result,
nsIShutdownListener* shutdownListener = NULL) = 0;
NS_IMETHOD
ReleaseService(const nsCID& aClass, nsISupports* service,
nsIShutdownListener* shutdownListener = NULL) = 0;
/**
* Requests a service to be shut down, possibly unloading its DLL.
*
* @returns NS_OK - if shutdown was successful and service was unloaded,
* @returns NS_ERROR_SERVICE_NOT_FOUND - if shutdown failed because
* the service was not currently loaded
* @returns NS_ERROR_SERVICE_IN_USE - if shutdown failed because some
* user of the service wouldn't voluntarily release it by using
* a shutdown listener.
*/
NS_IMETHOD
ShutdownService(const nsCID& aClass) = 0;
};
#define NS_ISERVICEMANAGER_IID \
{ /* cf0df3b0-3401-11d2-8163-006008119d7a */ \
0xcf0df3b0, \
0x3401, \
0x11d2, \
{0x81, 0x63, 0x00, 0x60, 0x08, 0x11, 0x9d, 0x7a} \
}
#define NS_ERROR_SERVICE_NOT_FOUND NS_ERROR_GENERATE_SUCCESS(NS_ERROR_MODULE_XPCOM, 22)
#define NS_ERROR_SERVICE_IN_USE NS_ERROR_GENERATE_SUCCESS(NS_ERROR_MODULE_XPCOM, 23)
////////////////////////////////////////////////////////////////////////////////
class nsIShutdownListener : public nsISupports {
public:
NS_IMETHOD
OnShutdown(const nsCID& aClass, nsISupports* service) = 0;
};
#define NS_ISHUTDOWNLISTENER_IID \
{ /* 56decae0-3406-11d2-8163-006008119d7a */ \
0x56decae0, \
0x3406, \
0x11d2, \
{0x81, 0x63, 0x00, 0x60, 0x08, 0x11, 0x9d, 0x7a} \
}
////////////////////////////////////////////////////////////////////////////////
// Interface to Global Services
class NS_COM nsServiceManager {
public:
static nsresult GetService(const nsCID& aClass, const nsIID& aIID,
nsISupports* *result,
nsIShutdownListener* shutdownListener = NULL);
static nsresult ReleaseService(const nsCID& aClass, nsISupports* service,
nsIShutdownListener* shutdownListener = NULL);
static nsresult ShutdownService(const nsCID& aClass);
// Since the global Service Manager is truly global, there's no need to
// release it.
static nsresult GetGlobalServiceManager(nsIServiceManager* *result);
protected:
static nsIServiceManager* globalServiceManager;
};
////////////////////////////////////////////////////////////////////////////////
#endif /* nsIServiceManager_h___ */

View File

@@ -0,0 +1,31 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef __nsIServerProvider_h
#define __nsIServerProvider_h
#include "nsISupports.h"
typedef nsID nsSID;
#define NSSIDREF const nsSID&
class nsIServiceProvider: public nsISupports {
public:
NS_IMETHOD QueryService(NSSIDREF aSID, NSIIDREF sIID, (void **) pService);
};
#endif /* __nsIServerProvider_h */

View File

@@ -0,0 +1,118 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifdef XP_MAC
#ifdef MOZ_NGLAYOUT
#error "nsMacRepository.h became obsolete when the shared lib conversion was completed."
// The Mac NGLayout is not based on shared libraries yet.
// All the DLLs are built as static libraries and we present them as
// shared libraries by redefining PR_LoadLibrary(), PR_UnloadLibrary()
// and PR_FindSymbol() below.
//
// If you add or remove shared libraries on other platforms, you must
// - Add the library name to the defines below.
// - Rename the "NSGetFactory" and "NSCanUnload" procs for the Mac:
// just append the library name to the function name.
// - Add the library and its procs to the static list below.
typedef struct MacLibrary
{
char * name;
nsFactoryProc factoryProc;
nsCanUnloadProc unloadProc;
} MacLibrary;
// library names
#define WIDGET_DLL "WIDGET_DLL"
#define GFXWIN_DLL "GFXWIN_DLL"
#define VIEW_DLL "VIEW_DLL"
#define WEB_DLL "WEB_DLL"
#define PLUGIN_DLL "PLUGIN_DLL"
#define PREF_DLL "PREF_DLL"
#define PARSER_DLL "PARSER_DLL"
#define DOM_DLL "DOM_DLL"
#define LAYOUT_DLL "LAYOUT_DLL"
#define NETLIB_DLL "NETLIB_DLL"
#define EDITOR_DLL "EDITOR_DLL"
#ifdef IMPL_MAC_REPOSITORY
extern "C" nsresult NSGetFactory_WIDGET_DLL(const nsCID &, nsISupports* , nsIFactory ** );
extern "C" nsresult NSGetFactory_GFXWIN_DLL(const nsCID &, nsISupports*, nsIFactory ** );
extern "C" nsresult NSGetFactory_VIEW_DLL(const nsCID &, nsISupports*, nsIFactory **);
extern "C" nsresult NSGetFactory_WEB_DLL(const nsCID &, nsISupports*, nsIFactory **);
//extern "C" nsresult NSGetFactory_PLUGIN_DLL(const nsCID &, nsISupports*, nsIFactory **);
extern "C" nsresult NSGetFactory_PREF_DLL(const nsCID &, nsISupports*, nsIFactory **);
extern "C" nsresult NSGetFactory_PARSER_DLL(const nsCID &, nsISupports*, nsIFactory **);
extern "C" nsresult NSGetFactory_DOM_DLL(const nsCID &, nsISupports*, nsIFactory **);
extern "C" nsresult NSGetFactory_LAYOUT_DLL(const nsCID &, nsISupports*, nsIFactory **);
extern "C" nsresult NSGetFactory_NETLIB_DLL(const nsCID &, nsISupports*, nsIFactory **);
extern "C" nsresult NSGetFactory_EDITOR_DLL(const nsCID &, nsISupports*, nsIFactory **);
extern "C" PRBool NSCanUnload_PREF_DLL(void);
// library list
static MacLibrary libraries[] = {
#if 0
WIDGET_DLL, NSGetFactory_WIDGET_DLL, NULL,
GFXWIN_DLL, NSGetFactory_GFXWIN_DLL, NULL,
VIEW_DLL, NSGetFactory_VIEW_DLL, NULL,
WEB_DLL, NSGetFactory_WEB_DLL, NULL,
//PLUGIN_DLL, NSGetFactory_PLUGIN_DLL, NULL,
PREF_DLL, NSGetFactory_PREF_DLL, NSCanUnload_PREF_DLL,
PARSER_DLL, NSGetFactory_PARSER_DLL, NULL,
DOM_DLL, NSGetFactory_DOM_DLL, NULL,
LAYOUT_DLL, NSGetFactory_LAYOUT_DLL, NULL,
NETLIB_DLL, NSGetFactory_NETLIB_DLL, NULL,
//EDITOR_DLL, NSGetFactory_EDITOR_DLL, NULL, // FIX ME
#endif
NULL
};
static void* FindMacSymbol(char* libName, const char *symbolName)
{
MacLibrary * macLib;
for (macLib = libraries; ; macLib ++)
{
if (macLib->name == NULL)
return NULL;
if (PL_strcmp(macLib->name, libName) == 0)
break;
}
if (PL_strcmp(symbolName, "NSGetFactory") == 0) {
return macLib->factoryProc;
}
else if (PL_strcmp(symbolName, "NSCanUnload") == 0) {
return macLib->unloadProc;
}
return NULL;
}
#define PR_LoadLibrary(libName) (PRLibrary *)libName
#define PR_UnloadLibrary(lib) lib = NULL
#define PR_FindSymbol(lib, symbolName) FindMacSymbol((char*)lib, symbolName)
#endif // IMPL_MAC_REPOSITORY
#endif // MOZ_NGLAYOUT
#endif // XP_MAC

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,213 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef __nsRespository_h
#define __nsRespository_h
#include "prtypes.h"
#include "prlog.h"
#include "prmon.h"
#include "nsCom.h"
#include "nsID.h"
#include "nsError.h"
#include "nsISupports.h"
#include "nsIFactory.h"
#include "nsHashtable.h"
/*
* Prototypes for dynamic library export functions
*/
class nsIServiceManager;
//***********************************************************
//
// NSGetFactory should take nsISupports instead of nsIServiceManager
// as the second param. This is done on purpose!! Please don't change
// it.
// sudu / stanley
//
//***********************************************************
extern "C" NS_EXPORT nsresult NSGetFactory(const nsCID &aClass,
nsISupports* serviceMgr,
nsIFactory **aFactory);
extern "C" NS_EXPORT PRBool NSCanUnload();
extern "C" NS_EXPORT nsresult NSRegisterSelf(const char *fullpath);
extern "C" NS_EXPORT nsresult NSUnregisterSelf(const char *fullpath);
/* Quick Registration
*
* For quick registration, dlls can define
* NSQuickRegisterClassData g_NSQuickRegisterData[];
* and export the symbol "g_NSQuickRegisterData"
*
* Quick registration is tried only if the symbol "NSRegisterSelf"
* is not found. If it is found but fails registration, quick registration
* will not kick in.
*
* The array is terminated by having a NULL last element. Specifically, the
* array will be assumed to end when
* (g_NSQuickRegisterData[i].classIdStr == NULL)
*
*/
#define NS_QUICKREGISTER_DATA_SYMBOL "g_NSQuickRegisterData"
typedef struct NSQuickRegisterClassData {
const char *CIDString; // {98765-8776-8958758759-958785}
const char *className; // "Layout Engine"
const char *progID; // "Gecko.LayoutEngine.1"
} NSQuickRegisterClassData;
typedef NSQuickRegisterClassData* NSQuickRegisterData;
/* Autoregistration will try only files with these extensions.
* All extensions are case insensitive.
".dll", // Windows
".dso", // Unix
".so", // Unix
".sl", // Unix: HP
"_dll", // Mac
".dlm", // new for all platforms
*/
/*
* Dynamic library export function types
*/
typedef nsresult (*nsFactoryProc)(const nsCID &aCLass,
nsISupports* serviceMgr,
nsIFactory **aFactory);
typedef PRBool (*nsCanUnloadProc)(void);
typedef nsresult (*nsRegisterProc)(const char *path);
typedef nsresult (*nsUnregisterProc)(const char *path);
/*
* Support types
*/
class FactoryEntry;
class nsDllStore;
class nsDll;
enum NSRegistrationInstant
{
NS_Startup = 0,
NS_Script = 1,
NS_Timer = 2
};
/* Error codes generated by the repository methods */
#define NS_XPCOM_ERRORCODE_IS_DIR 1
/* The separator for each path part in the pathlist for autoregistration */
#define NS_PATH_SEPARATOR ';'
/*
* nsRepository class
*/
class NS_COM nsRepository {
private:
#define NS_MAX_FILENAME_LEN 1024
static nsHashtable *factories;
static PRMonitor *monitor;
static nsresult checkInitialized(void);
static nsresult loadFactory(FactoryEntry *aEntry, nsIFactory **aFactory);
static nsresult SelfRegisterDll(nsDll *dll);
static nsresult SelfUnregisterDll(nsDll *dll);
public:
static nsDllStore *dllStore;
static nsresult Initialize(void);
// Finds a factory for a specific class ID
static nsresult FindFactory(const nsCID &aClass,
nsIFactory **aFactory);
// Finds a class ID for a specific Program ID
static nsresult ProgIDToCLSID(const char *aProgID,
nsCID *aClass);
// Creates a class instance for a specific class ID
static nsresult CreateInstance(const nsCID &aClass,
nsISupports *aDelegate,
const nsIID &aIID,
void **aResult);
// Creates a class instance for a specific class ID
/*
static nsresult CreateInstance2(const nsCID &aClass,
nsISupports *aDelegate,
const nsIID &aIID,
void *aSignature,
void **aResult);
*/
// Manually registry a factory for a class
static nsresult RegisterFactory(const nsCID &aClass,
nsIFactory *aFactory,
PRBool aReplace);
// Manually registry a dynamically loaded factory for a class
static nsresult RegisterFactory(const nsCID &aClass,
const char *aLibrary,
PRBool aReplace,
PRBool aPersist);
// Manually register a dynamically loaded component.
static nsresult RegisterComponent(const nsCID &aClass,
const char *aClassName,
const char *aProgID,
const char *aLibrary,
PRBool aReplace,
PRBool aPersist);
// Manually unregister a factory for a class
static nsresult UnregisterFactory(const nsCID &aClass,
nsIFactory *aFactory);
// Manually unregister a dynamically loaded factory for a class
static nsresult UnregisterFactory(const nsCID &aClass,
const char *aLibrary);
// Manually unregister a dynamically loaded component
static nsresult UnregisterComponent(const nsCID &aClass,
const char *aLibrary);
// Unload dynamically loaded factories that are not in use
static nsresult FreeLibraries(void);
// DLL registration support
static nsresult AutoRegister(NSRegistrationInstant when,
const char* pathlist);
// Pathlist is a semicolon separated list of pathnames
static nsresult AddToDefaultPathList(const char *pathlist);
static nsresult SyncComponentsInPathList(const char *pathlist);
static nsresult SyncComponentsInDir(const char *path);
static nsresult SyncComponentsInFile(const char *fullname);
};
#endif

View File

@@ -0,0 +1,350 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#include "nsIServiceManager.h"
#include "nsVector.h"
#include "prcmon.h"
#include "prthread.h" /* XXX: only used for the NSPR initialization hack (rick) */
class nsServiceEntry {
public:
nsServiceEntry(const nsCID& cid, nsISupports* service);
~nsServiceEntry();
nsresult AddListener(nsIShutdownListener* listener);
nsresult RemoveListener(nsIShutdownListener* listener);
nsresult NotifyListeners(void);
const nsCID& mClassID;
nsISupports* mService;
nsVector* mListeners; // nsVector<nsIShutdownListener>
PRBool mShuttingDown;
};
nsServiceEntry::nsServiceEntry(const nsCID& cid, nsISupports* service)
: mClassID(cid), mService(service), mListeners(NULL), mShuttingDown(PR_FALSE)
{
}
nsServiceEntry::~nsServiceEntry()
{
if (mListeners) {
NS_ASSERTION(mListeners->GetSize() == 0, "listeners not removed or notified");
#if 0
PRUint32 size = mListeners->GetSize();
for (PRUint32 i = 0; i < size; i++) {
nsIShutdownListener* listener = (nsIShutdownListener*)(*mListeners)[i];
listener->Release();
}
#endif
delete mListeners;
}
}
nsresult
nsServiceEntry::AddListener(nsIShutdownListener* listener)
{
if (listener == NULL)
return NS_OK;
if (mListeners == NULL) {
mListeners = new nsVector();
if (mListeners == NULL)
return NS_ERROR_OUT_OF_MEMORY;
}
PRInt32 err = mListeners->Add(listener);
listener->AddRef();
return err == -1 ? NS_ERROR_FAILURE : NS_OK;
}
nsresult
nsServiceEntry::RemoveListener(nsIShutdownListener* listener)
{
if (listener == NULL)
return NS_OK;
NS_ASSERTION(mListeners, "no listeners added yet");
PRUint32 size = mListeners->GetSize();
for (PRUint32 i = 0; i < size; i++) {
if ((*mListeners)[i] == listener) {
mListeners->Remove(i);
listener->Release();
return NS_OK;
}
}
NS_ASSERTION(0, "unregistered shutdown listener");
return NS_ERROR_FAILURE;
}
nsresult
nsServiceEntry::NotifyListeners(void)
{
if (mListeners) {
PRUint32 size = mListeners->GetSize();
for (PRUint32 i = 0; i < size; i++) {
nsIShutdownListener* listener = (nsIShutdownListener*)(*mListeners)[0];
nsresult err = listener->OnShutdown(mClassID, mService);
if (err) return err;
listener->Release();
mListeners->Remove(0);
}
NS_ASSERTION(mListeners->GetSize() == 0, "failed to notify all listeners");
delete mListeners;
mListeners = NULL;
}
return NS_OK;
}
////////////////////////////////////////////////////////////////////////////////
class nsServiceManagerImpl : public nsIServiceManager {
public:
NS_IMETHOD
GetService(const nsCID& aClass, const nsIID& aIID,
nsISupports* *result,
nsIShutdownListener* shutdownListener = NULL);
NS_IMETHOD
ReleaseService(const nsCID& aClass, nsISupports* service,
nsIShutdownListener* shutdownListener = NULL);
NS_IMETHOD
ShutdownService(const nsCID& aClass);
nsServiceManagerImpl(void);
NS_DECL_ISUPPORTS
protected:
virtual ~nsServiceManagerImpl(void);
nsHashtable* mServices; // nsHashtable<nsServiceEntry>
};
nsServiceManagerImpl::nsServiceManagerImpl(void)
{
NS_INIT_REFCNT();
mServices = new nsHashtable();
NS_ASSERTION(mServices, "out of memory already?");
}
static PRBool
DeleteEntry(nsHashKey *aKey, void *aData, void* closure)
{
nsServiceEntry* entry = (nsServiceEntry*)aData;
entry->mService->Release();
delete entry;
return PR_TRUE;
}
nsServiceManagerImpl::~nsServiceManagerImpl(void)
{
mServices->Enumerate(DeleteEntry);
delete mServices;
}
static NS_DEFINE_IID(kIServiceManagerIID, NS_ISERVICEMANAGER_IID);
static NS_DEFINE_IID(kISupportsIID, NS_ISUPPORTS_IID);
NS_IMPL_ADDREF(nsServiceManagerImpl);
NS_IMPL_RELEASE(nsServiceManagerImpl);
nsresult
nsServiceManagerImpl::QueryInterface(const nsIID& aIID, void* *aInstancePtr)
{
if (NULL == aInstancePtr) {
return NS_ERROR_NULL_POINTER;
}
*aInstancePtr = NULL;
if (aIID.Equals(kIServiceManagerIID) ||
aIID.Equals(kISupportsIID)) {
*aInstancePtr = (void*) this;
AddRef();
return NS_OK;
}
return NS_NOINTERFACE;
}
nsresult
nsServiceManagerImpl::GetService(const nsCID& aClass, const nsIID& aIID,
nsISupports* *result,
nsIShutdownListener* shutdownListener)
{
nsresult err = NS_OK;
/* XXX: This is a hack to force NSPR initialization.. This should be
* removed once PR_CEnterMonitor(...) initializes NSPR... (rick)
*/
(void)PR_GetCurrentThread();
PR_CEnterMonitor(this);
nsIDKey key(aClass);
nsServiceEntry* entry = (nsServiceEntry*)mServices->Get(&key);
if (entry) {
nsISupports* service;
err = entry->mService->QueryInterface(aIID, (void**)&service);
if (err == NS_OK) {
err = entry->AddListener(shutdownListener);
if (err == NS_OK) {
*result = service;
// If someone else requested the service to be shut down,
// and we just asked to get it again before it could be
// released, then cancel their shutdown request:
if (entry->mShuttingDown) {
entry->mShuttingDown = PR_FALSE;
service->AddRef(); // Released in ShutdownService
}
}
}
}
else {
nsISupports* service;
err = nsRepository::CreateInstance(aClass, NULL, aIID, (void**)&service);
if (err == NS_OK) {
entry = new nsServiceEntry(aClass, service);
if (entry == NULL) {
service->Release();
err = NS_ERROR_OUT_OF_MEMORY;
}
else {
err = entry->AddListener(shutdownListener);
if (err == NS_OK) {
mServices->Put(&key, entry);
*result = service;
service->AddRef(); // Released in ShutdownService
}
else {
service->Release();
delete entry;
}
}
}
}
PR_CExitMonitor(this);
return err;
}
nsresult
nsServiceManagerImpl::ReleaseService(const nsCID& aClass, nsISupports* service,
nsIShutdownListener* shutdownListener)
{
nsresult err = NS_OK;
PR_CEnterMonitor(this);
nsIDKey key(aClass);
nsServiceEntry* entry = (nsServiceEntry*)mServices->Get(&key);
NS_ASSERTION(entry, "service not found");
NS_ASSERTION(entry->mService == service, "service looked failed");
if (entry) {
err = entry->RemoveListener(shutdownListener);
nsrefcnt cnt = service->Release();
if (err == NS_OK && cnt == 0) {
mServices->Remove(&key);
delete entry;
err = nsRepository::FreeLibraries();
}
}
PR_CExitMonitor(this);
return err;
}
nsresult
nsServiceManagerImpl::ShutdownService(const nsCID& aClass)
{
nsresult err = NS_OK;
PR_CEnterMonitor(this);
nsIDKey key(aClass);
nsServiceEntry* entry = (nsServiceEntry*)mServices->Get(&key);
if (entry == NULL) {
err = NS_ERROR_SERVICE_NOT_FOUND;
}
else {
err = entry->NotifyListeners(); // break the cycles
entry->mShuttingDown = PR_TRUE;
nsrefcnt cnt = entry->mService->Release(); // AddRef in GetService
if (err == NS_OK && cnt == 0) {
mServices->Remove(&key);
delete entry;
err = nsRepository::FreeLibraries();
}
else
err = NS_ERROR_SERVICE_IN_USE;
}
PR_CExitMonitor(this);
return err;
}
////////////////////////////////////////////////////////////////////////////////
// Global service manager interface (see nsIServiceManager.h)
nsIServiceManager* nsServiceManager::globalServiceManager = NULL;
nsresult
nsServiceManager::GetGlobalServiceManager(nsIServiceManager* *result)
{
if (globalServiceManager == NULL) {
globalServiceManager = new nsServiceManagerImpl();
if (globalServiceManager == NULL)
return NS_ERROR_OUT_OF_MEMORY;
globalServiceManager->AddRef();
}
*result = globalServiceManager;
return NS_OK;
}
nsresult
nsServiceManager::GetService(const nsCID& aClass, const nsIID& aIID,
nsISupports* *result,
nsIShutdownListener* shutdownListener)
{
nsIServiceManager* mgr;
nsresult rslt = GetGlobalServiceManager(&mgr);
if (rslt != NS_OK) return rslt;
return mgr->GetService(aClass, aIID, result, shutdownListener);
}
nsresult
nsServiceManager::ReleaseService(const nsCID& aClass, nsISupports* service,
nsIShutdownListener* shutdownListener)
{
nsIServiceManager* mgr;
nsresult rslt = GetGlobalServiceManager(&mgr);
if (rslt != NS_OK) return rslt;
return mgr->ReleaseService(aClass, service, shutdownListener);
}
nsresult
nsServiceManager::ShutdownService(const nsCID& aClass)
{
nsIServiceManager* mgr;
nsresult rslt = GetGlobalServiceManager(&mgr);
if (rslt != NS_OK) return rslt;
return mgr->ShutdownService(aClass);
}
////////////////////////////////////////////////////////////////////////////////

View File

@@ -0,0 +1,153 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (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 Communicator client 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.
*/
#ifndef nsXPComFactory_h__
#define nsXPComFactory_h__
#include "nsIFactory.h"
/*
* This file contains a templatized implementation of a simple XPCOM factory.
*
* To implement a factory for a given component, just provide a function
* like the one below which can be called by your DLL's NSGetFactory(...)
* entry point...
*
* nsresult NS_New_SomeComponent_Factory(nsIFactory** aResult)
* {
* nsresult rv = NS_OK;
* nsIFactory* inst = new nsFactory<SomeComponent>();
* if (NULL == inst) {
* rv = NS_ERROR_OUT_OF_MEMORY;
* } else {
* NS_ADDREF(inst);
* }
* *aResult = inst;
* return rv;
* }
*
* NOTE:
* ----
* The factories created by this template are not thread-safe and do not
* support aggregation.
*
*/
template <class T> class nsFactory : public nsIFactory
{
public:
nsFactory() { NS_INIT_REFCNT(); }
//
// nsISupports interface...
//
// These implementations were copied from the NS_IMPL_ISUPPORTS macro
// in nsISupports.h
//
NS_IMETHOD_(nsrefcnt) AddRef (void)
{
return ++mRefCnt;
}
NS_IMETHOD_(nsrefcnt) Release(void)
{
NS_PRECONDITION(0 != mRefCnt, "dup release");
if (--mRefCnt == 0) {
NS_DELETEXPCOM(this);
return 0;
}
return mRefCnt;
}
NS_IMETHOD QueryInterface(REFNSIID aIID, void** aInstancePtr)
{
if (NULL == aInstancePtr) {
return NS_ERROR_NULL_POINTER;
}
*aInstancePtr = NULL;
static NS_DEFINE_IID(kIFactoryIID, NS_IFACTORY_IID);
static NS_DEFINE_IID(kISupportsIID, NS_ISUPPORTS_IID);
if (aIID.Equals(kIFactoryIID)) {
*aInstancePtr = (void*) this;
NS_ADDREF_THIS();
return NS_OK;
}
if (aIID.Equals(kISupportsIID)) {
*aInstancePtr = (void*) ((nsISupports*)this);
NS_ADDREF_THIS();
return NS_OK;
}
return NS_NOINTERFACE;
}
//
// nsIFactory interface...
//
NS_IMETHOD CreateInstance(nsISupports *aOuter,
const nsIID &aIID,
void **aResult)
{
nsresult rv;
T* inst;
// Parameter validation...
if (NULL == aResult) {
rv = NS_ERROR_NULL_POINTER;
goto done;
}
// Do not support aggregatable components...
*aResult = NULL;
if (NULL != aOuter) {
rv = NS_ERROR_NO_AGGREGATION;
goto done;
}
// Create a new instance of the component...
NS_NEWXPCOM(inst, T);
if (NULL == inst) {
rv = NS_ERROR_OUT_OF_MEMORY;
goto done;
}
// If the QI fails, the component will be destroyed...
NS_ADDREF(inst);
rv = inst->QueryInterface(aIID, aResult);
NS_RELEASE(inst);
done:
return rv;
}
NS_IMETHOD LockFactory(PRBool aLock)
{
// Not implemented in simplest case.
return NS_OK;
}
protected:
virtual ~nsFactory()
{
NS_ASSERTION(mRefCnt == 0, "non-zero refcnt at destruction");
}
// Reference count variable used by nsISupports...
nsrefcnt mRefCnt;
};
#endif /* nsXPComFactory_h__ */

View File

@@ -0,0 +1,184 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/* nsDll
*
* Abstraction of a Dll. Stores modifiedTime and size for easy detection of
* change in dll.
*
* dp Suresh <dp@netscape.com>
*/
#include "xcDll.h"
#include "plstr.h" // strdup and strfree
nsDll::nsDll(const char *libFullPath) : m_fullpath(NULL), m_instance(NULL),
m_status(DLL_OK)
{
m_lastModTime = LL_ZERO;
m_size = 0;
if (libFullPath == NULL)
{
m_status = DLL_INVALID_PARAM;
return;
}
m_fullpath = PL_strdup(libFullPath);
if (m_fullpath == NULL)
{
// No more memory
m_status = DLL_NO_MEM;
return;
}
PRFileInfo statinfo;
if (PR_GetFileInfo(m_fullpath, &statinfo) != PR_SUCCESS)
{
// The stat things works only if people pass in the full pathname.
// Even if our stat fails, we could be able to load it because of
// LD_LIBRARY_PATH and other such paths where dlls are searched for
// XXX we need a way of marking this occurance.
// XXX m_status = DLL_STAT_ERROR;
}
else
{
m_size = statinfo.size;
m_lastModTime = statinfo.modifyTime;
if (statinfo.type != PR_FILE_FILE)
{
// Not a file. Cant work with it.
m_status = DLL_NOT_FILE;
return;
}
}
m_status = DLL_OK;
}
nsDll::nsDll(const char *libFullPath, PRTime lastModTime, PRUint32 fileSize)
: m_fullpath(NULL), m_instance(NULL), m_status(DLL_OK)
{
m_lastModTime = lastModTime;
m_size = fileSize;
if (libFullPath == NULL)
{
m_status = DLL_INVALID_PARAM;
return;
}
m_fullpath = PL_strdup(libFullPath);
if (m_fullpath == NULL)
{
// No more memory
m_status = DLL_NO_MEM;
return;
}
m_status = DLL_OK;
}
nsDll::~nsDll(void)
{
if (m_instance != NULL)
Unload();
if (m_fullpath != NULL) PL_strfree(m_fullpath);
m_fullpath = NULL;
}
PRBool nsDll::Load(void)
{
// Of course, this is all buggy, because it uses paths instead of nsFileSpec.
// Also, instead of writing yet another converter for path separators, for
// pete's sake use the converters in nsFileSpec.h. Thank you.
#ifdef XP_MAC
char *macFileName = NULL;
int loop;
#endif
if (m_status != DLL_OK)
{
return (PR_FALSE);
}
if (m_instance != NULL)
{
// Already loaded
return (PR_TRUE);
}
#ifdef XP_MAC
// err = ConvertUnixPathToMacPath(m_fullpath, &macFileName);
if ((macFileName = PL_strdup(m_fullpath)) != NULL)
{
if (macFileName[0] == '/')
{
for (loop=0; loop<PL_strlen(macFileName); loop++)
{
if (macFileName[loop] == '/') macFileName[loop] = ':';
}
m_instance = PR_LoadLibrary(&macFileName[1]); // skip over initial slash
}
else
{
m_instance = PR_LoadLibrary(macFileName);
}
}
#else
#ifdef XP_UNIX
// On linux we seem to load multiple copies of the same dll but with different path
// like libraptorhtml.so and ./libraptorhtml.so
// Until this get fixed right, for now for ./libraptorhtml.so remove the "./"
if (m_fullpath[0] == '.' && m_fullpath[1] == '/')
m_instance = PR_LoadLibrary( &(m_fullpath[2]) );
else
#endif /* XP_UNIX */
{
// This is the only right way of doing this...
m_instance = PR_LoadLibrary(m_fullpath);
}
#endif /* XP_MAC */
return ((m_instance == NULL) ? PR_FALSE : PR_TRUE);
}
PRBool nsDll::Unload(void)
{
if (m_status != DLL_OK || m_instance == NULL)
return (PR_FALSE);
PRStatus ret = PR_UnloadLibrary(m_instance);
if (ret == PR_SUCCESS)
{
m_instance = NULL;
return (PR_TRUE);
}
else
return (PR_FALSE);
}
void * nsDll::FindSymbol(const char *symbol)
{
if (symbol == NULL)
return (NULL);
// If not already loaded, load it now.
if (Load() != PR_TRUE)
return (NULL);
return (PR_FindSymbol(m_instance, symbol));
}

View File

@@ -0,0 +1,71 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/* Dll
*
* Programmatic representation of a dll. Stores modifiedTime and size for
* easy detection of change in dll.
*
* dp Suresh <dp@netscape.com>
*/
#include "prio.h"
#include "prlink.h"
typedef enum nsDllStatus
{
DLL_OK = 0,
DLL_NO_MEM = 1,
DLL_STAT_ERROR = 2,
DLL_NOT_FILE = 3,
DLL_INVALID_PARAM = 4
} nsDllStatus;
class nsDll
{
private:
char *m_fullpath; // system format full filename of dll
PRTime m_lastModTime; // last modified time
PRUint32 m_size; // size of the dynamic library
PRLibrary *m_instance; // Load instance
nsDllStatus m_status; // holds current status
public:
nsDll(const char *libFullPath);
nsDll(const char *libFullPath, PRTime lastModTime, PRUint32 fileSize);
~nsDll(void);
// Status checking on operations completed
nsDllStatus GetStatus(void) { return (m_status); }
// Dll Loading
PRBool Load(void);
PRBool Unload(void);
PRBool IsLoaded(void)
{
return ((m_instance != 0) ? PR_TRUE : PR_FALSE);
}
void *FindSymbol(const char *symbol);
const char *GetFullPath(void) { return (m_fullpath); }
PRTime GetLastModifiedTime(void) { return(m_lastModTime); }
PRUint32 GetSize(void) { return(m_size); }
PRLibrary *GetInstance(void) { return (m_instance); }
};

View File

@@ -0,0 +1,87 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/* nsDllStore
*
* Stores dll and their accociated info in a hash keyed on the system format
* full dll path name e.g C:\Program Files\Netscape\Program\raptor.dll
*
* NOTE: dll names are considered to be case sensitive.
*/
#include "xcDllStore.h"
static PR_CALLBACK PRIntn _deleteDllInfo(PLHashEntry *he, PRIntn i, void *arg)
{
delete (nsDll *)he->value;
return (HT_ENUMERATE_NEXT);
}
nsDllStore::nsDllStore(void) : m_dllHashTable(NULL)
{
PRUint32 initSize = 128;
m_dllHashTable = PL_NewHashTable(initSize, PL_HashString,
PL_CompareStrings, PL_CompareValues, NULL, NULL);
}
nsDllStore::~nsDllStore(void)
{
if (m_dllHashTable)
{
// Delete each of the nsDll stored before deleting the Hash Table
PL_HashTableEnumerateEntries(m_dllHashTable, _deleteDllInfo, NULL);
PL_HashTableDestroy(m_dllHashTable);
}
m_dllHashTable = NULL;
}
nsDll* nsDllStore::Get(const char *dll)
{
nsDll *dllInfo = NULL;
if (m_dllHashTable)
{
dllInfo = (nsDll *)PL_HashTableLookup(m_dllHashTable, dll);
}
return (dllInfo);
}
nsDll* nsDllStore::Remove(const char *dll)
{
if (m_dllHashTable == NULL)
{
return (NULL);
}
nsDll *dllInfo = Get(dll);
PL_HashTableRemove(m_dllHashTable, dll);
return (dllInfo);
}
PRBool nsDllStore::Put(const char *dll, nsDll *dllInfo)
{
if (m_dllHashTable == NULL)
return(PR_FALSE);
PLHashEntry *entry =
PL_HashTableAdd(m_dllHashTable, (void *)dll, (void *)dllInfo);
return ((entry != NULL) ? PR_TRUE : PR_FALSE);
}

View File

@@ -0,0 +1,49 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/* nsDllStore
*
* Stores dll and their accociated info in a hash keyed on the system format
* full dll path name e.g C:\Program Files\Netscape\Program\raptor.dll
*
* NOTE: dll names are considered to be case sensitive.
*/
#include "plhash.h"
#include "xcDll.h"
class nsDllStore
{
private:
PLHashTable *m_dllHashTable;
public:
// Constructor
nsDllStore(void);
~nsDllStore(void);
// Caller is not expected to delete nsDll returned
// The nsDll returned in NOT removed from the hash
nsDll* Get(const char *filename);
PRBool Put(const char *filename, nsDll *dllInfo);
// The nsDll returned is removed from the hash
// Caller is expected to delete the returned nsDll
nsDll* Remove(const char *filename);
};

View File

@@ -0,0 +1,117 @@
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Author" CONTENT="Kipp E.B. Hickman">
<META NAME="GENERATOR" CONTENT="Mozilla/4.04 [en] (WinNT; I) [Netscape]">
<TITLE>Gemini Object Model</TITLE>
</HEAD>
<BODY>
<H1>
Gemini Object Model</H1>
The gemini object model is a cross platform component object model modelled
after win32's IUnknown and COM. We do not support a C API to gemini at
this time.
<H2>
nsID</H2>
Like OSF's DCE, we use an "interface id" which is a unique identifer which
names the interface. The nsID and be used as a key into a cross platform
registry service to discover an implementation of an interface. Here is
the declaration of nsID:
<UL><TT>struct nsID {</TT>
<BR><TT>&nbsp; PRUint32 m0;</TT>
<BR><TT>&nbsp; PRUint16 m1, m2;</TT>
<BR><TT>&nbsp; PRUint8 m3[8];</TT>
<P><TT>&nbsp; inline nsbool Equals(const nsID&amp; other) const {</TT>
<BR><TT>&nbsp;&nbsp;&nbsp; return</TT>
<BR><TT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (((PRUint32*) &amp;m0)[0] == ((PRUint32*)
&amp;other.m0)[0]) &amp;&amp;</TT>
<BR><TT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (((PRUint32*) &amp;m0)[1] == ((PRUint32*)
&amp;other.m0)[1]) &amp;&amp;</TT>
<BR><TT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (((PRUint32*) &amp;m0)[2] == ((PRUint32*)
&amp;other.m0)[2]) &amp;&amp;</TT>
<BR><TT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (((PRUint32*) &amp;m0)[3] == ((PRUint32*)
&amp;other.m0)[3]);</TT>
<BR><TT>&nbsp; }</TT>
<BR><TT>};</TT></UL>
On windows, the "uuidgen" program (provided with Visual C++) can be used
to generate these identifiers.
<H2>
nsISupports</H2>
This is the base class for all component objects. Not all objects are component
objects; these rules apply to objects which expose an interface which is
shared across dll/exe boundaries. Here is nsISupports:
<UL><TT>typedef nsID nsIID;</TT>
<BR><TT>class nsISupports {</TT>
<BR><TT>public:</TT>
<BR><TT>&nbsp; virtual nsqresult QueryInterface(const nsIID&amp; aIID,</TT>
<BR><TT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
void** aInstancePtr) = 0;</TT>
<BR><TT>&nbsp; virtual nsrefcnt AddRef() = 0;</TT>
<BR><TT>&nbsp; virtual nsrefcnt Release() = 0;</TT>
<BR><TT>};</TT></UL>
The semantics of this interface are identical to win32's "COM" IUnknown
interface. In addition, the types are carefully mapped and the names are
the same so that if necessary we can "flip a switch" and have the windows
version (or any other platform that embraces COM) use the native COM IUnknown
without source code modification.
<H2>
Factory Procedures</H2>
Factory procedures use this design pattern
<UL><TT>nsqresult NS_NewFoo(nsIFoo** aInstancePtr, nsISupports* aOuter,
...);</TT></UL>
The return value is a status value (see nsISupports.h for the legal return
values); the first argument is a pointer to a cell which will hold the
new instance pointer if the factory procedure succeeds. The second argument
is a pointer to a containing component object that wishes to aggregate
in the Foo object. This pointer will be null if no aggregation is requested.
If the factory procedure cannot support aggregation of the Foo type then
it fails and returns an error if aggregation is requested.
<P>The following symbols are defined for standard error return values from
<TT>QueryInterface</TT> and from factory procedures:
<UL><TT>#define NS_FAILED(_nsresult) ((_nsresult) &lt; 0)</TT>
<BR><TT>#define NS_SUCCEEDED(_nsresult) ((_nsresult) >= 0)</TT>
<P><TT>// Standard "it worked" return value</TT>
<BR><TT>#define NS_OK 0</TT>
<P><TT>// Some standard error codes we use</TT>
<BR><TT>#define NS_ERROR_BASE ((nsresult) 0xC1F30000)</TT>
<BR><TT>#define NS_ERROR_OUT_OF_MEMORY (NS_ERROR_BASE + 0)</TT>
<BR><TT>#define NS_ERROR_NO_AGGREGATION (NS_ERROR_BASE + 1)</TT>
<BR><TT>#define NS_NOINTERFACE ((nqresult) 0x80004002L)</TT></UL>
<H2>
nsIFactory</H2>
Factory classes should eventually replace factory procedures for major
classes. They provide an easy mechanism for placing code in DLLs. The nsIFactory
class is as follows:
<BR>&nbsp;
<UL><TT>class nsIFactory: public nsISupports {</TT>
<BR><TT>public:</TT>
<UL><TT>virtual nsresult CreateInstance(const nsIID &amp;aIID,</TT>
<BR><TT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
nsISupports *aOuter,</TT>
<BR><TT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
void **aResult) = 0;</TT>
<BR><TT>virtual void LockFactory(PRBool aLock) = 0;</TT></UL>
<TT>};</TT></UL>
This interface is again identical to the COM version. More on registering
factories shortly.
<H2>
Error Handling</H2>
Because no exceptions are returned, error handling is done in the traditional
"error status value" method.
<H2>
Cross Platform Registry</H2>
A cross platform registry was written for the SmartUpdate feature of Communicator.
We will investigate it's usefulness for our purposes.
<H2>
Library Management</H2>
NSPR 2.x provides the cross platform mechanism for loading and unloading
libraries, and run time linking.
<BR>&nbsp;
</BODY>
</HTML>

View File

@@ -0,0 +1,93 @@
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Author" CONTENT="Kipp E.B. Hickman">
<META NAME="GENERATOR" CONTENT="Mozilla/4.04 [en] (WinNT; U) [Netscape]">
<TITLE>C++ Tips</TITLE>
</HEAD>
<BODY>
<H1>
C++ Tips</H1>
This is a compilation of tips on how to write cross-platform C++ code that
compiles everywhere.
<H2>
General</H2>
<UL>
<LI>
Always use the nspr types for intrinsic integer types. The only exception
to this rule is when writing machine dependent code that is called from
xp code. In this case you will probably need to bridge the type systems
and cast from an nspr type to a native type. The other exception is floating
point; nspr defines PRFloat as a double (!).</LI>
<LI>
Exceptions do not work everywhere so don't use them anywhere except in
machine specific code, and then if you do use them in machine specific
code you must catch all exceptions there because you can't throw the exception
across xp code.</LI>
<LI>
Templates do not work everywhere so don't use them anywhere.</LI>
<LI>
Do not wrap include statements with an #ifdef. The reason is that when
the symbol is not defined, other compiler symbols will not be defined and
it will be hard to test the code on all platforms. An example of what <B>not</B>
to do:</LI>
<BR>&nbsp;
<UL><TT>#ifdef X</TT>
<BR><TT>#include "foo.h"</TT>
<BR><TT>#endif</TT>
<BR><TT></TT>&nbsp;</UL>
<LI>
For types that do not need operator= or a copy constructor, declare them
yourselves and make them private. Example:</LI>
<BR>&nbsp;
<UL><TT>class foo {</TT>
<BR><TT>...</TT>
<BR><TT>private:</TT>
<BR><TT>&nbsp; // These are not supported and are not implemented!</TT>
<BR><TT>&nbsp; foo(const foo&amp; x);</TT>
<BR><TT>&nbsp; foo&amp; operator=(const foo&amp; x);</TT>
<BR><TT>};</TT></UL>
<LI>
</LI>
</UL>
<H2>
Windows Compatability</H2>
<H2>
Metroworks Compatability</H2>
<UL>
<LI>
MAC compilers do not handle #include path names in the same manner as other
systems. Consequently #include statements should not contain path names,
just simple file names. An example of what <B>not</B> to do:</LI>
<BR>&nbsp;
<UL>#include "gemini/nsICSSParser.h"
<BR>&nbsp;</UL>
<LI>
</LI>
</UL>
<H2>
G++ Compatability</H2>
<UL>
<LI>
Use void in argument lists for functions that have no arguments (this works
around a bug in g++ 2.6.3)</LI>
</UL>
</BODY>
</HTML>

View File

@@ -0,0 +1,175 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#include "prmem.h"
#include "nsHashtable.h"
//
// Key operations
//
static PR_CALLBACK PLHashNumber _hashValue(const void *key)
{
return ((const nsHashKey *) key)->HashValue();
}
static PR_CALLBACK PRIntn _hashKeyCompare(const void *key1, const void *key2) {
return ((const nsHashKey *) key1)->Equals((const nsHashKey *) key2);
}
static PR_CALLBACK PRIntn _hashValueCompare(const void *value1,
const void *value2) {
// We're not going to make any assumptions about value equality
return 0;
}
//
// Memory callbacks
//
static PR_CALLBACK void *_hashAllocTable(void *pool, PRSize size) {
return PR_MALLOC(size);
}
static PR_CALLBACK void _hashFreeTable(void *pool, void *item) {
PR_DELETE(item);
}
static PR_CALLBACK PLHashEntry *_hashAllocEntry(void *pool, const void *key) {
return PR_NEW(PLHashEntry);
}
static PR_CALLBACK void _hashFreeEntry(void *pool, PLHashEntry *entry,
PRUintn flag) {
if (flag == HT_FREE_ENTRY) {
delete (nsHashKey *) (entry->key);
PR_DELETE(entry);
}
}
static PLHashAllocOps _hashAllocOps = {
_hashAllocTable, _hashFreeTable,
_hashAllocEntry, _hashFreeEntry
};
//
// Enumerator callback
//
struct _HashEnumerateArgs {
nsHashtableEnumFunc fn;
void* arg;
};
static PR_CALLBACK PRIntn _hashEnumerate(PLHashEntry *he, PRIntn i, void *arg)
{
_HashEnumerateArgs* thunk = (_HashEnumerateArgs*)arg;
return thunk->fn((nsHashKey *) he->key, he->value, thunk->arg)
? HT_ENUMERATE_NEXT
: HT_ENUMERATE_STOP;
}
//
// HashKey
//
nsHashKey::nsHashKey(void)
{
}
nsHashKey::~nsHashKey(void)
{
}
nsHashtable::nsHashtable(PRUint32 aInitSize) {
hashtable = PL_NewHashTable(aInitSize,
_hashValue,
_hashKeyCompare,
_hashValueCompare,
&_hashAllocOps,
NULL);
}
nsHashtable::~nsHashtable() {
PL_HashTableDestroy(hashtable);
}
void *nsHashtable::Put(nsHashKey *aKey, void *aData) {
void *res = NULL;
PLHashNumber hash = aKey->HashValue();
PLHashEntry *he;
PLHashEntry **hep = PL_HashTableRawLookup(hashtable, hash, (void *) aKey);
if ((he = *hep) != NULL) {
res = he->value;
he->value = aData;
} else {
PL_HashTableRawAdd(hashtable, hep, hash,
(void *) aKey->Clone(), aData);
}
return res;
}
void *nsHashtable::Get(nsHashKey *aKey) {
return PL_HashTableLookup(hashtable, (void *) aKey);
}
void *nsHashtable::Remove(nsHashKey *aKey) {
PLHashNumber hash = aKey->HashValue();
PLHashEntry *he;
PLHashEntry **hep = PL_HashTableRawLookup(hashtable, hash, (void *) aKey);
void *res = NULL;
if ((he = *hep) != NULL) {
res = he->value;
PL_HashTableRawRemove(hashtable, hep, he);
}
return res;
}
static PR_CALLBACK PRIntn _hashEnumerateCopy(PLHashEntry *he, PRIntn i, void *arg)
{
nsHashtable *newHashtable = (nsHashtable *)arg;
newHashtable->Put((nsHashKey *) he->key, he->value);
return HT_ENUMERATE_NEXT;
}
nsHashtable * nsHashtable::Clone() {
nsHashtable *newHashTable = new nsHashtable(hashtable->nentries);
PL_HashTableEnumerateEntries(hashtable, _hashEnumerateCopy, newHashTable);
return newHashTable;
}
void nsHashtable::Enumerate(nsHashtableEnumFunc aEnumFunc, void* closure) {
_HashEnumerateArgs thunk;
thunk.fn = aEnumFunc;
thunk.arg = closure;
PL_HashTableEnumerateEntries(hashtable, _hashEnumerate, &thunk);
}
static PR_CALLBACK PRIntn _hashEnumerateRemove(PLHashEntry *he, PRIntn i, void *arg)
{
return HT_ENUMERATE_REMOVE;
}
void nsHashtable::Reset() {
PL_HashTableEnumerateEntries(hashtable, _hashEnumerateRemove, NULL);
}

View File

@@ -0,0 +1,141 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef nsHashtable_h__
#define nsHashtable_h__
#include "plhash.h"
#include "nsCom.h"
class NS_COM nsHashKey {
protected:
nsHashKey(void);
public:
virtual ~nsHashKey(void);
virtual PRUint32 HashValue(void) const = 0;
virtual PRBool Equals(const nsHashKey *aKey) const = 0;
virtual nsHashKey *Clone(void) const = 0;
};
// Enumerator callback function. Use
typedef PRBool (*nsHashtableEnumFunc)(nsHashKey *aKey, void *aData, void* closure);
class NS_COM nsHashtable {
private:
// members
PLHashTable *hashtable;
public:
nsHashtable(PRUint32 aSize = 256);
~nsHashtable();
PRInt32 Count(void) { return hashtable->nentries; }
void *Put(nsHashKey *aKey, void *aData);
void *Get(nsHashKey *aKey);
void *Remove(nsHashKey *aKey);
nsHashtable *Clone();
void Enumerate(nsHashtableEnumFunc aEnumFunc, void* closure = NULL);
void Reset();
};
////////////////////////////////////////////////////////////////////////////////
// nsISupportsKey: Where keys are nsISupports objects that get refcounted.
#include "nsISupports.h"
class nsISupportsKey : public nsHashKey {
private:
nsISupports* mKey;
public:
nsISupportsKey(nsISupports* key) {
mKey = key;
NS_IF_ADDREF(mKey);
}
~nsISupportsKey(void) {
NS_IF_RELEASE(mKey);
}
PRUint32 HashValue(void) const {
return (PRUint32)mKey;
}
PRBool Equals(const nsHashKey *aKey) const {
return (mKey == ((nsISupportsKey *) aKey)->mKey);
}
nsHashKey *Clone(void) const {
return new nsISupportsKey(mKey);
}
};
////////////////////////////////////////////////////////////////////////////////
// nsVoidKey: Where keys are void* objects that don't get refcounted.
class nsVoidKey : public nsHashKey {
private:
const void* mKey;
public:
nsVoidKey(const void* key) {
mKey = key;
}
PRUint32 HashValue(void) const {
return (PRUint32)mKey;
}
PRBool Equals(const nsHashKey *aKey) const {
return (mKey == ((const nsVoidKey *) aKey)->mKey);
}
nsHashKey *Clone(void) const {
return new nsVoidKey(mKey);
}
};
////////////////////////////////////////////////////////////////////////////////
// nsIDKey: Where keys are nsIDs (e.g. nsIID, nsCID).
#include "nsID.h"
class nsIDKey : public nsHashKey {
private:
nsID mID;
public:
nsIDKey(const nsID &aID) {
mID = aID;
}
PRUint32 HashValue(void) const {
return mID.m0;
}
PRBool Equals(const nsHashKey *aKey) const {
return (mID.Equals(((const nsIDKey *) aKey)->mID));
}
nsHashKey *Clone(void) const {
return new nsIDKey(mID);
}
};
#endif

View File

@@ -0,0 +1,61 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specifzic language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef nsICollection_h___
#define nsICollection_h___
#include "nsISupports.h"
// IID for the nsICollection interface
#define NS_ICOLLECTION_IID \
{ 0xaeca730, 0x835b, 0x11d2, \
{ 0x8f, 0x30, 0x0, 0x60, 0x8, 0x31, 0x1, 0x94 } }
// IID for the nsICollection Factort interface
#define NS_ICOLLECTIONFACTORY_IID \
{ 0xf8052641, 0x8768, 0x11d2, \
{ 0x8f, 0x39, 0x0, 0x60, 0x8, 0x31, 0x1, 0x94 } }
//----------------------------------------------------------------------
/** nsICollection Interface
* this may be ordered or not. a list or array, the implementation is opaque
*/
class nsICollection : public nsISupports {
public:
static const nsIID& IID() { static nsIID iid = NS_ICOLLECTION_IID; return iid; }
/** AddItem will take an ISupports and keep track of it
* @param aItem is the Item to be added WILL BE ADDREFFED
*/
virtual nsresult AddItem(nsISupports *aItem)=0;
/** RemoveItem will take an nsISupports and remove it from the collection
* @param aItem is the item to be removed WILL BE RELEASED
*/
virtual nsresult RemoveItem(nsISupports *aItem)=0;
/** Clear will clear all items from list
*/
virtual nsresult Clear()=0;
};
#endif /* nsICollection_h___ */

View File

@@ -0,0 +1,65 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef nsIEnumerator_h___
#define nsIEnumerator_h___
#include "nsISupports.h"
// {646F4FB0-B1F2-11d1-AA29-000000000000}
#define NS_IENUMERATOR_IID \
{0x646f4fb0, 0xb1f2, 0x11d1, \
{ 0xaa, 0x29, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0 } }
class nsIEnumerator : public nsISupports {
public:
static const nsIID& IID() { static nsIID iid = NS_IENUMERATOR_IID; return iid; }
/** First will reset the list. will return NS_FAILED if no items
*/
NS_IMETHOD First()=0;
/** Last will reset the list to the end. will return NS_FAILED if no items
*/
NS_IMETHOD Last()=0;
/** Next will advance the list. will return failed if allready at end
*/
NS_IMETHOD Next()=0;
/** Prev will decrement the list. will return failed if allready at beginning
*/
NS_IMETHOD Prev()=0;
/** CurrentItem will return the CurrentItem item it will fail if the list is empty
* @param aItem return value
*/
NS_IMETHOD CurrentItem(nsISupports **aItem)=0;
/** return if the collection is at the end. that is the beginning following a call to Prev
* and it is the end of the list following a call to next
* @param aItem return value
*/
NS_IMETHOD IsDone()=0;
};
#endif // __nsIEnumerator_h

View File

@@ -0,0 +1,77 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef nsISupportsArray_h___
#define nsISupportsArray_h___
#include "nsCom.h"
#include "nsISupports.h"
// {791eafa0-b9e6-11d1-8031-006008159b5a}
#define NS_ISUPPORTSARRAY_IID \
{0x791eafa0, 0xb9e6, 0x11d1, \
{0x80, 0x31, 0x00, 0x60, 0x08, 0x15, 0x9b, 0x5a}}
// Enumerator callback function. Return PR_FALSE to stop
typedef PRBool (*nsISupportsArrayEnumFunc)(nsISupports* aElement, void *aData);
class nsISupportsArray : public nsISupports {
public:
static const nsIID& IID() { static nsIID iid = NS_ISUPPORTSARRAY_IID; return iid; }
NS_IMETHOD_(nsISupportsArray&) operator=(const nsISupportsArray& other) = 0;
NS_IMETHOD_(PRBool) operator==(const nsISupportsArray& other) const = 0;
NS_IMETHOD_(PRBool) Equals(const nsISupportsArray* other) const = 0;
NS_IMETHOD_(PRInt32) Count(void) const = 0;
NS_IMETHOD_(nsISupports*) ElementAt(PRInt32 aIndex) const = 0;
NS_IMETHOD_(nsISupports*) operator[](PRInt32 aIndex) const = 0;
NS_IMETHOD_(PRInt32) IndexOf(const nsISupports* aPossibleElement, PRInt32 aStartIndex = 0) const = 0;
NS_IMETHOD_(PRInt32) LastIndexOf(const nsISupports* aPossibleElement) const = 0;
NS_IMETHOD_(PRBool) InsertElementAt(nsISupports* aElement, PRInt32 aIndex) = 0;
NS_IMETHOD_(PRBool) ReplaceElementAt(nsISupports* aElement, PRInt32 aIndex) = 0;
NS_IMETHOD_(PRBool) AppendElement(nsISupports* aElement) = 0;
NS_IMETHOD_(PRBool) RemoveElementAt(PRInt32 aIndex) = 0;
NS_IMETHOD_(PRBool) RemoveElement(const nsISupports* aElement, PRInt32 aStartIndex = 0) = 0;
NS_IMETHOD_(PRBool) RemoveLastElement(const nsISupports* aElement) = 0;
NS_IMETHOD_(PRBool) AppendElements(nsISupportsArray* aElements) = 0;
NS_IMETHOD_(void) Clear(void) = 0;
NS_IMETHOD_(void) Compact(void) = 0;
NS_IMETHOD_(PRBool) EnumerateForwards(nsISupportsArrayEnumFunc aFunc, void* aData) const = 0;
NS_IMETHOD_(PRBool) EnumerateBackwards(nsISupportsArrayEnumFunc aFunc, void* aData) const = 0;
private:
// Copy constructors are not allowed
// XXX test wether this has to be here nsISupportsArray(const nsISupportsArray& other);
};
extern NS_COM nsresult
NS_NewISupportsArray(nsISupportsArray** aInstancePtrResult);
#endif // nsISupportsArray_h___

View File

@@ -0,0 +1,382 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#include "nsISupportsArray.h"
static NS_DEFINE_IID(kISupportsArrayIID, NS_ISUPPORTSARRAY_IID);
static const PRInt32 kGrowArrayBy = 8;
static const PRInt32 kAutoArraySize = 4;
class SupportsArrayImpl : public nsISupportsArray {
public:
SupportsArrayImpl(void);
~SupportsArrayImpl(void);
NS_DECL_ISUPPORTS
NS_IMETHOD_(nsISupportsArray&) operator=(const nsISupportsArray& aOther);
NS_IMETHOD_(PRBool) operator==(const nsISupportsArray& aOther) const { return Equals(&aOther); }
NS_IMETHOD_(PRBool) Equals(const nsISupportsArray* aOther) const;
NS_IMETHOD_(PRInt32) Count(void) const { return mCount; }
NS_IMETHOD_(nsISupports*) ElementAt(PRInt32 aIndex) const;
NS_IMETHOD_(nsISupports*) operator[](PRInt32 aIndex) const { return ElementAt(aIndex); }
NS_IMETHOD_(PRInt32) IndexOf(const nsISupports* aPossibleElement, PRInt32 aStartIndex = 0) const;
NS_IMETHOD_(PRInt32) LastIndexOf(const nsISupports* aPossibleElement) const;
NS_IMETHOD_(PRBool) InsertElementAt(nsISupports* aElement, PRInt32 aIndex);
NS_IMETHOD_(PRBool) ReplaceElementAt(nsISupports* aElement, PRInt32 aIndex);
NS_IMETHOD_(PRBool) AppendElement(nsISupports* aElement) {
return InsertElementAt(aElement, mCount);
}
NS_IMETHOD_(PRBool) RemoveElementAt(PRInt32 aIndex);
NS_IMETHOD_(PRBool) RemoveElement(const nsISupports* aElement, PRInt32 aStartIndex = 0);
NS_IMETHOD_(PRBool) RemoveLastElement(const nsISupports* aElement);
NS_IMETHOD_(PRBool) AppendElements(nsISupportsArray* aElements);
NS_IMETHOD_(void) Clear(void);
NS_IMETHOD_(void) Compact(void);
NS_IMETHOD_(PRBool) EnumerateForwards(nsISupportsArrayEnumFunc aFunc, void* aData) const;
NS_IMETHOD_(PRBool) EnumerateBackwards(nsISupportsArrayEnumFunc aFunc, void* aData) const;
protected:
void DeleteArray(void);
nsISupports** mArray;
PRInt32 mArraySize;
PRInt32 mCount;
nsISupports* mAutoArray[kAutoArraySize];
private:
// Copy constructors are not allowed
SupportsArrayImpl(const nsISupportsArray& other);
};
SupportsArrayImpl::SupportsArrayImpl()
{
NS_INIT_REFCNT();
mArray = &(mAutoArray[0]);
mArraySize = kAutoArraySize;
mCount = 0;
}
SupportsArrayImpl::~SupportsArrayImpl()
{
DeleteArray();
}
NS_IMPL_ISUPPORTS(SupportsArrayImpl, kISupportsArrayIID);
void SupportsArrayImpl::DeleteArray(void)
{
Clear();
if (mArray != &(mAutoArray[0])) {
delete[] mArray;
mArray = &(mAutoArray[0]);
mArraySize = kAutoArraySize;
}
}
nsISupportsArray& SupportsArrayImpl::operator=(const nsISupportsArray& aOther)
{
PRInt32 otherCount = aOther.Count();
if (otherCount > mArraySize) {
DeleteArray();
mArraySize = otherCount;
mArray = new nsISupports*[mArraySize];
}
else {
Clear();
}
mCount = otherCount;
while (0 <= --otherCount) {
mArray[otherCount] = aOther.ElementAt(otherCount);
}
return *this;
}
PRBool SupportsArrayImpl::Equals(const nsISupportsArray* aOther) const
{
if (0 != aOther) {
const SupportsArrayImpl* other = (const SupportsArrayImpl*)aOther;
if (mCount == other->mCount) {
PRInt32 index = mCount;
while (0 <= --index) {
if (mArray[index] != other->mArray[index]) {
return PR_FALSE;
}
}
return PR_TRUE;
}
}
return PR_FALSE;
}
nsISupports* SupportsArrayImpl::ElementAt(PRInt32 aIndex) const
{
if ((0 <= aIndex) && (aIndex < mCount)) {
nsISupports* element = mArray[aIndex];
NS_ADDREF(element);
return element;
}
return 0;
}
PRInt32 SupportsArrayImpl::IndexOf(const nsISupports* aPossibleElement, PRInt32 aStartIndex) const
{
if ((0 <= aStartIndex) && (aStartIndex < mCount)) {
const nsISupports** start = (const nsISupports**)mArray; // work around goofy compiler behavior
const nsISupports** ep = (start + aStartIndex);
const nsISupports** end = (start + mCount);
while (ep < end) {
if (aPossibleElement == *ep) {
return (ep - start);
}
ep++;
}
}
return -1;
}
PRInt32 SupportsArrayImpl::LastIndexOf(const nsISupports* aPossibleElement) const
{
if (0 < mCount) {
const nsISupports** start = (const nsISupports**)mArray; // work around goofy compiler behavior
const nsISupports** ep = (start + mCount);
while (start <= --ep) {
if (aPossibleElement == *ep) {
return (ep - start);
}
}
}
return -1;
}
PRBool SupportsArrayImpl::InsertElementAt(nsISupports* aElement, PRInt32 aIndex)
{
if ((0 <= aIndex) && (aIndex <= mCount)) {
if (mArraySize < (mCount + 1)) { // need to grow the array
mArraySize += kGrowArrayBy;
nsISupports** oldArray = mArray;
mArray = new nsISupports*[mArraySize];
if (0 == mArray) { // ran out of memory
mArray = oldArray;
mArraySize -= kGrowArrayBy;
return PR_FALSE;
}
if (0 != oldArray) { // need to move old data
if (0 < aIndex) {
::memcpy(mArray, oldArray, aIndex * sizeof(nsISupports*));
}
PRInt32 slide = (mCount - aIndex);
if (0 < slide) {
::memcpy(mArray + aIndex + 1, oldArray + aIndex, slide * sizeof(nsISupports*));
}
if (oldArray != &(mAutoArray[0])) {
delete[] oldArray;
}
}
}
else {
PRInt32 slide = (mCount - aIndex);
if (0 < slide) {
::memmove(mArray + aIndex + 1, mArray + aIndex, slide * sizeof(nsISupports*));
}
}
mArray[aIndex] = aElement;
NS_ADDREF(aElement);
mCount++;
return PR_TRUE;
}
return PR_FALSE;
}
PRBool SupportsArrayImpl::ReplaceElementAt(nsISupports* aElement, PRInt32 aIndex)
{
if ((0 <= aIndex) && (aIndex < mCount)) {
NS_ADDREF(aElement); // addref first in case it's the same object!
NS_RELEASE(mArray[aIndex]);
mArray[aIndex] = aElement;
return PR_TRUE;
}
return PR_FALSE;
}
PRBool SupportsArrayImpl::RemoveElementAt(PRInt32 aIndex)
{
if ((0 <= aIndex) && (aIndex < mCount)) {
NS_RELEASE(mArray[aIndex]);
mCount--;
PRInt32 slide = (mCount - aIndex);
if (0 < slide) {
::memmove(mArray + aIndex, mArray + aIndex + 1,
slide * sizeof(nsISupports*));
}
return PR_TRUE;
}
return PR_FALSE;
}
PRBool SupportsArrayImpl::RemoveElement(const nsISupports* aElement, PRInt32 aStartIndex)
{
if ((0 <= aStartIndex) && (aStartIndex < mCount)) {
nsISupports** ep = mArray;
nsISupports** end = ep + mCount;
while (ep < end) {
if (*ep == aElement) {
return RemoveElementAt(PRInt32(ep - mArray));
}
ep++;
}
}
return PR_FALSE;
}
PRBool SupportsArrayImpl::RemoveLastElement(const nsISupports* aElement)
{
if (0 < mCount) {
nsISupports** ep = (mArray + mCount);
while (mArray <= --ep) {
if (*ep == aElement) {
return RemoveElementAt(PRInt32(ep - mArray));
}
}
}
return PR_FALSE;
}
PRBool SupportsArrayImpl::AppendElements(nsISupportsArray* aElements)
{
SupportsArrayImpl* elements = (SupportsArrayImpl*)aElements;
if (elements && (0 < elements->mCount)) {
if (mArraySize < (mCount + elements->mCount)) { // need to grow the array
PRInt32 count = mCount + elements->mCount;
PRInt32 oldSize = mArraySize;
while (mArraySize < count) { // ick
mArraySize += kGrowArrayBy;
}
nsISupports** oldArray = mArray;
mArray = new nsISupports*[mArraySize];
if (0 == mArray) { // ran out of memory
mArray = oldArray;
mArraySize = oldSize;
return PR_FALSE;
}
if (0 != oldArray) { // need to move old data
if (0 < mCount) {
::memcpy(mArray, oldArray, mCount);
}
if (oldArray != &(mAutoArray[0])) {
delete[] oldArray;
}
}
}
PRInt32 index = 0;
while (index < elements->mCount) {
NS_ADDREF(elements->mArray[index]);
mArray[mCount++] = elements->mArray[index++];
}
return PR_TRUE;
}
return PR_FALSE;
}
void SupportsArrayImpl::Clear(void)
{
while (0 <= --mCount) {
NS_RELEASE(mArray[mCount]);
}
mCount = 0;
}
void SupportsArrayImpl::Compact(void)
{
if ((mArraySize != mCount) && (kAutoArraySize < mArraySize)) {
nsISupports** oldArray = mArray;
PRInt32 oldArraySize = mArraySize;
if (mCount <= kAutoArraySize) {
mArray = &(mAutoArray[0]);
mArraySize = kAutoArraySize;
}
else {
mArray = new nsISupports*[mCount];
mArraySize = mCount;
}
if (0 == mArray) {
mArray = oldArray;
mArraySize = oldArraySize;
return;
}
::memcpy(mArray, oldArray, mCount * sizeof(nsISupports*));
delete[] oldArray;
}
}
PRBool SupportsArrayImpl::EnumerateForwards(nsISupportsArrayEnumFunc aFunc, void* aData) const
{
PRInt32 index = -1;
PRBool running = PR_TRUE;
while (running && (++index < mCount)) {
running = (*aFunc)(mArray[index], aData);
}
return running;
}
PRBool SupportsArrayImpl::EnumerateBackwards(nsISupportsArrayEnumFunc aFunc, void* aData) const
{
PRInt32 index = mCount;
PRBool running = PR_TRUE;
while (running && (0 <= --index)) {
running = (*aFunc)(mArray[index], aData);
}
return running;
}
NS_COM nsresult
NS_NewISupportsArray(nsISupportsArray** aInstancePtrResult)
{
if (aInstancePtrResult == 0) {
return NS_ERROR_NULL_POINTER;
}
SupportsArrayImpl *it = new SupportsArrayImpl();
if (0 == it) {
return NS_ERROR_OUT_OF_MEMORY;
}
return it->QueryInterface(kISupportsArrayIID, (void **) aInstancePtrResult);
}

View File

@@ -0,0 +1,74 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef nsVector_h__
#define nsVector_h__
#include "plvector.h"
#include "nsCom.h"
class nsVector : public PLVector {
public:
// Construction
nsVector(PRUint32 initialSize = 0, PRInt32 initialGrowBy = 0) {
PL_VectorInitialize(this, initialSize, initialGrowBy);
}
~nsVector(void) { PL_VectorFinalize(this); }
// Attributes
PRUint32 GetSize(void) const { return PL_VectorGetSize(this); }
PRUint32 GetUpperBound(void) const { return GetSize() - 1; }
PRBool SetSize(PRUint32 nNewSize, PRInt32 nGrowBy = PL_VECTOR_GROW_DEFAULT) {
return PL_VectorSetSize(this, nNewSize, nGrowBy);
}
PRBool IsValidIndex(PRUint32 index) { return PL_VectorIsValidIndex(this, index); }
// Operations
// Clean up
void Compact(void) { PL_VectorCompact(this); }
void RemoveAll(void) { SetSize(0); }
void Copy(nsVector* src, PRUint32 len, PRUint32 dstPos = 0, PRUint32 srcPos = 0) {
PL_VectorCopy(this, dstPos, src, srcPos, len);
}
// Accessing elements
void* Get(PRUint32 index) const { return PL_VectorGet(this, index); }
void Set(PRUint32 index, void* newElement) { PL_VectorSet(this, index, newElement); }
void*& ElementAt(PRUint32 index) { return *PL_VectorGetAddr(this, index); }
// Potentially growing the array
PRInt32 Add(void* newElement) { return PL_VectorAdd(this, newElement); }
// overloaded operator helpers
void* operator[](PRUint32 index) const { return Get(index); }
void*& operator[](PRUint32 index) { return ElementAt(index); }
// Operations that move elements around
void Insert(PRUint32 index, void* newElement, PRInt32 count = 1) {
PL_VectorInsert(this, index, newElement, count);
}
void Remove(PRUint32 index, PRInt32 count = 1) {
PL_VectorRemove(this, index, count);
}
#ifdef DEBUG
void AssertValid(void) const { PL_VectorAssertValid((PLVector*)this); }
#endif
};
#endif

318
mozilla/xpcom/ds/plvector.c Normal file
View File

@@ -0,0 +1,318 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#include "plvector.h"
#include "prmem.h"
#include <string.h>
#ifdef XP_WIN16
#define SIZE_T_MAX 0xFF80 /* a little less than 64K, the max alloc size on win16. */
#define MAX_ARR_ELEMS SIZE_T_MAX/sizeof(void*)
#endif
PR_IMPLEMENT(PLVector*)
PL_NewVector(PRUint32 initialSize, PRInt32 initialGrowBy)
{
PLVector* v = (PLVector*)PR_Malloc(sizeof(PLVector*));
if (v == NULL)
return NULL;
PL_VectorInitialize(v, initialSize, initialGrowBy);
return v;
}
PR_IMPLEMENT(void)
PL_VectorDestroy(PLVector* v)
{
PL_VectorFinalize(v);
PR_Free(v);
}
/* Initializes an existing vector */
PR_IMPLEMENT(void)
PL_VectorInitialize(PLVector* v, PRUint32 initialSize, PRInt32 initialGrowBy)
{
v->data = NULL;
v->size = v->maxSize = v->growBy = 0;
if (initialSize > 0 || initialGrowBy > 0)
PL_VectorSetSize(v, initialSize, initialGrowBy);
}
/* Destroys the elements, but doesn't free the vector */
PR_IMPLEMENT(void)
PL_VectorFinalize(PLVector* v)
{
/* This implementation doesn't do anything to delete the elements
in the vector -- that's up to the caller. (Don't shoot me,
I just copied the code from libmsg.) */
PR_Free(v->data);
}
PR_IMPLEMENT(PRBool)
PL_VectorSetSize(PLVector* v, PRUint32 newSize, PRInt32 growBy)
{
if (growBy != -1)
v->growBy = growBy; /* set new size */
if (newSize == 0) {
/* shrink to nothing */
PR_Free(v->data);
v->data = NULL;
v->size = v->maxSize = 0;
}
else if (v->data == NULL) {
/* create one with exact size */
#ifdef SIZE_T_MAX
PR_ASSERT(newSize <= SIZE_T_MAX/sizeof(void*)); /* no overflow */
#endif
v->data = (void**)PR_Malloc(newSize * sizeof(void *));
if (v->data == NULL) {
v->size = 0;
return PR_FALSE;
}
memset(v->data, 0, newSize * sizeof(void *)); /* zero fill */
v->size = v->maxSize = newSize;
}
else if (newSize <= v->maxSize) {
/* it fits */
if (newSize > v->size) {
/* initialize the new elements */
memset(&v->data[v->size], 0, (newSize-v->size) * sizeof(void *));
}
v->size = newSize;
}
else {
/* otherwise, grow array */
PRUint32 newMax;
void** newData;
PRInt32 growBy = v->growBy;
if (growBy == 0) {
/* heuristically determine growth when growBy == 0
(this avoids heap fragmentation in many situations) */
growBy = PR_MIN(1024, PR_MAX(4, v->size / 8));
}
#ifdef MAX_ARR_ELEMS
if (v->size + growBy > MAX_ARR_ELEMS)
growBy = MAX_ARR_ELEMS - v->size;
#endif
if (newSize < v->maxSize + growBy)
newMax = v->maxSize + growBy; /* granularity */
else
newMax = newSize; /* no slush */
#ifdef SIZE_T_MAX
if (newMax >= SIZE_T_MAX/sizeof(void*))
return PR_FALSE;
PR_ASSERT(newMax <= SIZE_T_MAX/sizeof(void*)); /* no overflow */
#endif
PR_ASSERT(newMax >= v->maxSize); /* no wrap around */
newData = (void**)PR_Malloc(newMax * sizeof(void*));
if (newData != NULL) {
/* copy new data from old */
memcpy(newData, v->data, v->size * sizeof(void*));
/* construct remaining elements */
PR_ASSERT(newSize > v->size);
memset(&newData[v->size], 0, (newSize-v->size) * sizeof(void*));
/* get rid of old stuff (note: no destructors called) */
PR_Free(v->data);
v->data = newData;
v->size = newSize;
v->maxSize = newMax;
}
else {
return PR_FALSE;
}
}
return PR_TRUE;
}
PR_IMPLEMENT(PRBool)
PL_VectorIsValidIndex(PLVector* v, PRUint32 index)
{
return (index < v->size) ? PR_TRUE : PR_FALSE;
}
PR_IMPLEMENT(void)
PL_VectorCompact(PLVector* v)
{
if (v->size != v->maxSize) {
/* shrink to desired size */
#ifdef SIZE_T_MAX
PR_ASSERT(v->size <= SIZE_T_MAX/sizeof(void *)); /* no overflow */
#endif
void ** newData = NULL;
if (v->size != 0) {
newData = (void **)PR_Malloc(v->size * sizeof(void *));
/* copy new data from old */
memcpy(newData, v->data, v->size * sizeof(void *));
}
/* get rid of old stuff (note: no destructors called) */
PR_Free(v->data);
v->data = newData;
v->maxSize = v->size;
}
}
#if 0 /* becomes Copy */
PR_IMPLEMENT(void)
PL_VectorSplice(PLVector* v, PRUint32 startIndex, PLVector* newVector)
{
PRUint32 i;
PR_ASSERT(newVector != NULL);
if (PL_VectorGetSize(newVector) > 0) {
PL_VectorInsert(v, startIndex, PL_VectorGet(newVector, 0),
PL_VectorGetSize(newVector));
for (i = 0; i < PL_VectorGetSize(newVector); i++)
PL_VectorSet(v, startIndex + i, PL_VectorGet(newVector, i));
}
}
#endif
PR_IMPLEMENT(void)
PL_VectorCopy(PLVector* dstVector, PRUint32 dstPosition,
PLVector* srcVector, PRUint32 srcPosition, PRUint32 length)
{
PR_ASSERT(0); /* XXX not implemented yet */
#if 0
PL_VectorSetSize(dstVector, PR_MAX(PL_VectorGetSize(dstVector),
PL_VectorGetSize(srcVector)),
PL_VECTOR_GROW_DEFAULT);
if (v->data)
PR_Free(v->data);
v->size = oldA->v->size;
v->maxSize = oldA->v->maxSize;
v->growBy = oldA->v->growBy;
v->data = (void**)PR_Malloc(v->size * sizeof(void *));
if (v->data == NULL) {
v->size = 0;
}
else {
memcpy(v->data, oldA->v->data, v->size * sizeof(void *));
}
#endif
}
PR_IMPLEMENT(PLVector*)
PL_VectorClone(PLVector* v)
{
PLVector* newVec = PL_NewVector(v->size, v->growBy);
PL_VectorCopy(newVec, 0, v, 0, v->size);
return newVec;
}
/* Accessing elements */
PR_IMPLEMENT(void)
PL_VectorSet(PLVector* v, PRUint32 index, void* newElement)
{
if (index >= v->size) {
if (!PL_VectorSetSize(v, index+1, PL_VECTOR_GROW_DEFAULT))
return;
}
v->data[index] = newElement;
}
/* Adds at the end */
PR_IMPLEMENT(PRUint32)
PL_VectorAdd(PLVector* v, void* newElement)
{
PRUint32 index = v->size;
#ifdef XP_WIN16
if (index >= SIZE_T_MAX / 4L) {
return -1;
}
#endif
PL_VectorSet(v, index, newElement);
return index;
}
/* Inserts new element count times at index */
PR_IMPLEMENT(void)
PL_VectorInsert(PLVector* v, PRUint32 index, void* newElement, PRUint32 count)
{
PR_ASSERT(count > 0); /* zero or negative size not allowed */
if (index >= v->size) {
/* adding after the end of the array */
if (!PL_VectorSetSize(v, index + count, PL_VECTOR_GROW_DEFAULT))
return; /* grow so index is valid */
}
else {
/* inserting in the middle of the array */
PRUint32 nOldSize = v->size;
if (!PL_VectorSetSize(v, v->size + count, PL_VECTOR_GROW_DEFAULT))
return; /* grow it to new size */
/* shift old data up to fill gap */
memmove(&v->data[index+count], &v->data[index],
(nOldSize-index) * sizeof(void *));
/* re-init slots we copied from */
memset(&v->data[index], 0, count * sizeof(void *));
}
/* insert new value in the gap */
PR_ASSERT(index + count <= v->size);
while (count--)
v->data[index++] = newElement;
}
/* Removes count elements at index */
PR_IMPLEMENT(void)
PL_VectorRemove(PLVector* v, PRUint32 index, PRUint32 count)
{
PRUint32 moveCount;
PR_ASSERT(count >= 0);
PR_ASSERT(index + count <= v->size);
/* just remove a range */
moveCount = v->size - (index + count);
if (moveCount)
memmove(&v->data[index], &v->data[index + count],
moveCount * sizeof(void *));
v->size -= count;
}
#ifdef DEBUG
PR_IMPLEMENT(void)
PL_VectorAssertValid(PLVector* v)
{
if (v->data == NULL) {
PR_ASSERT(v->size == 0);
PR_ASSERT(v->maxSize == 0);
}
else {
PR_ASSERT(v->size >= 0);
PR_ASSERT(v->maxSize >= 0);
PR_ASSERT(v->size <= v->maxSize);
}
}
#endif

100
mozilla/xpcom/ds/plvector.h Normal file
View File

@@ -0,0 +1,100 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef plvector_h__
#define plvector_h__
#include "prtypes.h"
#include "prlog.h"
PR_BEGIN_EXTERN_C
/* Vectors are extensible arrays */
typedef struct PLVector {
void** data; /* the actual array of data */
PRUint32 size; /* # of elements (upperBound - 1) */
PRUint32 maxSize; /* max allocated */
PRInt32 growBy; /* grow amount */
} PLVector;
PR_EXTERN(PLVector*)
PL_NewVector(PRUint32 initialSize, PRInt32 initialGrowBy);
PR_EXTERN(void)
PL_VectorDestroy(PLVector* v);
/* Initializes an existing vector */
PR_EXTERN(void)
PL_VectorInitialize(PLVector* v, PRUint32 initialSize, PRInt32 initialGrowBy);
/* Destroys the elements, but doesn't free the vector */
PR_EXTERN(void)
PL_VectorFinalize(PLVector* v);
#define PL_VectorGetSize(v) ((v)->size)
#define PL_VECTOR_GROW_DEFAULT (-1)
PR_EXTERN(PRBool)
PL_VectorSetSize(PLVector* v, PRUint32 newSize, PRInt32 growBy);
PR_EXTERN(PRBool)
PL_VectorIsValidIndex(PLVector* v, PRUint32 index);
PR_EXTERN(void)
PL_VectorCompact(PLVector* v);
PR_EXTERN(void)
PL_VectorCopy(PLVector* dstVector, PRUint32 dstPosition,
PLVector* srcVector, PRUint32 srcPosition, PRUint32 length);
PR_EXTERN(PLVector*)
PL_VectorClone(PLVector* v);
/* Accessing elements */
#define PL_VectorGetAddr(v, index) (PR_ASSERT((index) < (v)->size), &(v)->data[index])
#define PL_VectorGet(v, index) (*PL_VectorGetAddr(v, index))
PR_EXTERN(void)
PL_VectorSet(PLVector* v, PRUint32 index, void* newElement);
/* Adds at the end */
PR_EXTERN(PRUint32)
PL_VectorAdd(PLVector* v, void* newElement);
/* Inserts new element count times at index */
PR_EXTERN(void)
PL_VectorInsert(PLVector* v, PRUint32 index, void* newElement, PRUint32 count);
/* Removes count elements at index */
PR_EXTERN(void)
PL_VectorRemove(PLVector* v, PRUint32 index, PRUint32 count);
#ifdef DEBUG
PR_EXTERN(void)
PL_VectorAssertValid(PLVector* v);
#endif
PR_END_EXTERN_C
#endif /* plvector_h__ */

View File

@@ -0,0 +1,54 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#include "nsCOMPtr.h"
void
nsCOMPtr_base::assign_with_AddRef( nsISupports* rawPtr )
{
if ( rawPtr )
NSCAP_ADDREF(rawPtr);
if ( mRawPtr )
NSCAP_RELEASE(mRawPtr);
mRawPtr = rawPtr;
}
void
nsCOMPtr_base::assign_with_QueryInterface( nsISupports* rawPtr, const nsIID& iid, nsresult* result )
{
nsresult status = NS_OK;
if ( !rawPtr || !NS_SUCCEEDED( status = rawPtr->QueryInterface(iid, NSCAP_REINTERPRET_CAST(void**, &rawPtr)) ) )
rawPtr = 0;
if ( mRawPtr )
NSCAP_RELEASE(mRawPtr);
mRawPtr = rawPtr;
if ( result )
*result = status;
}
void**
nsCOMPtr_base::begin_assignment()
{
if ( mRawPtr )
NSCAP_RELEASE(mRawPtr);
mRawPtr = 0;
return NSCAP_REINTERPRET_CAST(void**, &mRawPtr);
}

View File

@@ -0,0 +1,668 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef nsCOMPtr_h___
#define nsCOMPtr_h___
// Wrapping includes can speed up compiles (see "Large Scale C++ Software Design")
#ifndef nsDebug_h___
#include "nsDebug.h"
// for |NS_PRECONDITION|
#endif
#ifndef nsISupports_h___
#include "nsISupports.h"
// for |nsresult|, |NS_ADDREF|, et al
#endif
/*
TO DO...
+ make alternative function for |getter_AddRefs| (or something)
+ make constructor for |nsQueryInterface| explicit (suddenly construct/assign from raw pointer becomes illegal)
+ Improve internal documentation
+ mention *&
+ alternatives for comparison
+ do_QueryInterface
*/
/* USER MANUAL
See also:
<http://www.meer.net/ScottCollins/doc/nsCOMPtr.html>, or
<http://www.mozilla.org/projects/xpcom/nsCOMPtr.html>
What is |nsCOMPtr|?
|nsCOMPtr| is a `smart-pointer'. It is a template class that acts, syntactically,
just like an ordinary pointer in C or C++, i.e., you can apply |*| or |->| to it to
`get to' what it points at. |nsCOMPtr| is smart in that, unlike a raw COM
interface pointer, |nsCOMPtr| manages |AddRef|, |Release|, and |QueryInterface|
_for_ you.
For instance, here is a typical snippet of code (at its most compact) where you assign
a COM interface pointer into a member variable:
NS_IF_RELEASE(mFoop); // If I have one already, I must release it before over-writing it.
if ( mFooP = aPtr ) // Now it's safe to assign it in, and, if it's not NULL
mFooP->AddRef(); // I must |AddRef| it, since I'll be holding on to it.
If our member variable |mFooP| were a |nsCOMPtr|, however, the snippet above
would look like this:
mFoop = aPtr; // Note: automatically |Release|s the old and |AddRef|s the new
|nsCOMPtr| helps you write code that is leak-proof, exception safe, and significantly
less verbose than you would with raw COM interface pointers. With |nsCOMPtr|, you
may never have to call |AddRef|, |Release|, or |QueryInterface| by hand.
You still have to understand COM. You still have to know which functions return
interface pointers that have already been |AddRef|ed and which don't. You still
have to ensure your program logic doesn't produce circularly referencing garbage.
|nsCOMPtr| is not a panacea. It is, however, helpful, easy to use, well-tested,
and polite. It doesn't require that a function author cooperate with you, nor does
your use force others to use it.
Where should I use |nsCOMPtr|?
...
Where _shouldn't_ I use |nsCOMPtr|?
In public interfaces... [[others]]
How does a |nsCOMPtr| differ from a raw pointer?
A |nsCOMPtr| differs, syntactically, from a raw COM interface pointer in three
ways:
+ It's declared differently, e.g.,
// instead of saying // you say
IFoo* fooP; nsCOMPtr<IFoo> fooP;
+ You can't call |AddRef| or |Release| through it,
fooP->AddRef(); // OK fooP->AddRef(); // Error: no permission
fooP->Release(); // OK fooP->Release(); // Error: no permission
+ You can't just apply an |&| to it to pass it to the typical `getter' function
AcquireFoo(&fooP); AcquireFoo( getter_AddRefs(fooP) );
GetFoo(&fooP); GetFoo( getter_doesnt_AddRef(fooP) );
How do I use |nsCOMPtr|?
Typically, you can use a |nsCOMPtr| exactly as you would a standard COM
interface pointer:
IFoo* fooP; nsCOMPtr<IFoo> fooP;
// ... // ...
fooP->SomeFunction(x, y, z); fooP->SomeFunction(x, y, z);
AnotherFunction(fooP); AnotherFunction(fooP);
if ( fooP ) if ( fooP )
// ... // ...
if ( fooP == barP ) if ( fooP == barP )
// ... // ...
There are some differences, though. In particular, you can't call |AddRef| or |Release|
through a |nsCOMPtr| directly, nor would you need to. |AddRef| is called for you
whenever you assign a COM interface pointer _into_ a |nsCOMPtr|. |Release| is
called on the old value, and also when the |nsCOMPtr| goes out of scope. Trying
to call |AddRef| or |Release| yourself will generate a compile-time error.
fooP->AddRef(); // fooP->AddRef(); // ERROR: no permission
fooP->Release(); // fooP->Release(); // ERROR: no permission
The final difference is that a bare |nsCOMPtr| (or rather a pointer to it) can't
be supplied as an argument to a function that `fills in' a COM interface pointer.
Rather it must be wrapped with a utility call that says whether the function calls
|AddRef| before returning, e.g.,
...->QueryInterface(riid, &fooP) ...->QueryInterface(riid, getter_AddRefs(fooP))
LookupFoo(&fooP); LookupFoo( getter_doesnt_AddRef(fooP) );
Don't worry. It's a compile-time error if you forget to wrap it.
Compare the raw-pointer way...
IFoo* foo = 0;
nsresult status = CreateIFoo(&foo);
if ( NS_SUCCEEDED(status) )
{
IBar* bar = 0;
if ( NS_SUCCEEDED(status = foo->QueryInterface(riid, &bar)) )
{
IFooBar* foobar = 0;
if ( NS_SUCCEEDED(status = CreateIFooBar(foo, bar, &foobar)) )
{
foobar->DoTheReallyHardThing();
foobar->Release();
}
bar->Release();
}
foo->Release();
}
To the smart-pointer way...
nsCOMPtr<IFoo> fooP;
nsresult status = CreateIFoo( getter_AddRefs(fooP) );
if ( NS_SUCCEEDED(status) )
if ( nsCOMPtr<IBar> barP( fooP ) )
{
nsCOMPtr<IFooBar> fooBarP;
if ( NS_SUCCEEDED(status = CreateIFooBar(fooP, barP, getter_AddRefs(fooBarP))) )
fooBarP->DoTheReallyHardThing();
}
Is there an easy way to convert my current code?
...
What do I have to beware of?
VC++ < 6.0 _can't_ handle the following situation
class nsIFoo; // forward declare some class
// ...
nsCOMPtr<nsIFoo> bar; // ERROR: incomplete type nsIFoo, etc.
Instead, you must make sure that you actually defined the underlying interface class, e.g.,
#include "nsIFoo.h" // fully defines |class nsIFoo|
// ...
nsCOMPtr<nsIFoo> bar; // no problem
Why is this? It's because VC++ tries to instantiate every member of the template
as soon as it sees the template declarations. Bad compiler. No cookie!
[[Thanks to mjudge, waterson, and pinkerton on this one.]]
Why does |getter_AddRefs| have such a funny name? I.e., why doesn't it follow our
naming conventions?
|getter_AddRefs| and |getter_doesnt_AddRef| use underscores for the same
reason our special macros do, quoting from our coding conventions "...to make them
stick out like a sore thumb". Note also that since |AddRef| is one word,
|getter_AddRefs| and |getter_doesnt_AddRef| couldn't have the right spacing if only inter-
caps were used.
*/
/*
WARNING:
This file defines several macros for internal use only. These macros begin with the
prefix |NSCAP_|. Do not use these macros in your own code. They are for internal use
only for cross-platform compatibility, and are subject to change without notice.
*/
/*
Set up some |#define|s to turn off a couple of troublesome C++ features.
Interestingly, none of the compilers barf on template stuff.
Ideally, we would want declarations like these in a configuration file
that everybody would get. Deciding exactly how to do that should
be part of the process of moving from experimental to production.
Update: ramiro is working on getting these into the configuration system.
*/
#if defined(__GNUG__) && (__GNUC_MINOR__ <= 90) && !defined(SOLARIS)
#define NSCAP_NO_MEMBER_USING_DECLARATIONS
#if (defined(LINUX) || defined(__bsdi__)) && (__GNUC_MINOR__ <= 7)
#define NSCAP_NEED_UNUSED_VIRTUAL_IMPLEMENTATIONS
#endif
#endif
#if defined(SOLARIS) && !defined(__GNUG__)
#define NSCAP_NO_BOOL
#define NSCAP_NO_EXPLICIT
#define NSCAP_NO_NEW_CASTS
#define NSCAP_NO_MEMBER_USING_DECLARATIONS
#endif
#if defined(_MSC_VER) && (_MSC_VER<1100)
#define NSCAP_NO_EXPLICIT
#define NSCAP_NO_BOOL
#endif
#if defined(IRIX)
#define NSCAP_NO_MEMBER_USING_DECLARATIONS
#define NSCAP_NO_EXPLICIT
#define NSCAP_NO_NEW_CASTS
#define NSCAP_NO_BOOL
#endif
#ifdef NSCAP_NO_EXPLICIT
#define explicit
#endif
#ifndef NSCAP_NO_NEW_CASTS
#define NSCAP_REINTERPRET_CAST(T,x) reinterpret_cast<T>(x)
#else
#define NSCAP_REINTERPRET_CAST(T,x) ((T)(x))
#endif
#ifndef NSCAP_NO_BOOL
typedef bool NSCAP_BOOL;
#else
typedef PRBool NSCAP_BOOL;
#endif
#ifdef NSCAP_FEATURE_DEBUG_MACROS
#define NSCAP_ADDREF(ptr) NS_ADDREF(ptr)
#define NSCAP_RELEASE(ptr) NS_RELEASE(ptr)
#else
#define NSCAP_ADDREF(ptr) (ptr)->AddRef()
#define NSCAP_RELEASE(ptr) (ptr)->Release()
#endif
/*
WARNING:
VC++4.2 is very picky. To compile under VC++4.2, the classes must be defined
in an order that satisfies:
nsDerivedSafe < nsCOMPtr
nsDontAddRef < nsCOMPtr
nsCOMPtr < nsGetterAddRefs
The other compilers probably won't complain, so please don't reorder these
classes, on pain of breaking 4.2 compatibility.
*/
template <class T>
class nsDerivedSafe : public T
/*
No client should ever see or have to type the name of this class. It is the
artifact that makes it a compile-time error to call |AddRef| and |Release|
on a |nsCOMPtr|.
See |nsCOMPtr::operator->|, |nsCOMPtr::operator*|, et al.
*/
{
private:
#ifndef NSCAP_NO_MEMBER_USING_DECLARATIONS
using T::AddRef;
using T::Release;
#else
nsrefcnt AddRef();
nsrefcnt Release();
#endif
void operator delete( void* ); // NOT TO BE IMPLEMENTED
// declaring |operator delete| private makes calling delete on an interface pointer a compile error
nsDerivedSafe& operator=( const nsDerivedSafe& ); // NOT TO BE IMPLEMENTED
// you may not call |operator=()| through a dereferenced |nsCOMPtr|, because you'd get the wrong one
};
#if defined(NSCAP_NO_MEMBER_USING_DECLARATIONS) && defined(NSCAP_NEED_UNUSED_VIRTUAL_IMPLEMENTATIONS)
template <class T>
nsrefcnt
nsDerivedSafe<T>::AddRef()
{
return 0;
}
template <class T>
nsrefcnt
nsDerivedSafe<T>::Release()
{
return 0;
}
#endif
template <class T>
struct nsDontQueryInterface
/*
...
*/
{
explicit
nsDontQueryInterface( T* aRawPtr )
: mRawPtr(aRawPtr)
{
// nothing else to do here
}
T* mRawPtr;
};
template <class T>
inline
nsDontQueryInterface<T>
dont_QueryInterface( T* aRawPtr )
{
return nsDontQueryInterface<T>(aRawPtr);
}
struct nsQueryInterface
{
// explicit
nsQueryInterface( nsISupports* aRawPtr, nsresult* error = 0 )
: mRawPtr(aRawPtr),
mErrorPtr(error)
{
// nothing else to do here
}
nsISupports* mRawPtr;
nsresult* mErrorPtr;
};
inline
nsQueryInterface
do_QueryInterface( nsISupports* aRawPtr, nsresult* error = 0 )
{
return nsQueryInterface(aRawPtr, error);
}
template <class T>
struct nsDontAddRef
/*
...cooperates with |nsCOMPtr| to allow you to assign in a pointer _without_
|AddRef|ing it. You would rarely use this directly, but rather through the
machinery of |getter_AddRefs| in the argument list to functions that |AddRef|
their results before returning them to the caller.
See also |getter_AddRefs()| and |class nsGetterAddRefs|.
*/
{
explicit
nsDontAddRef( T* aRawPtr )
: mRawPtr(aRawPtr)
{
// nothing else to do here
}
T* mRawPtr;
};
template <class T>
inline
nsDontAddRef<T>
dont_AddRef( T* aRawPtr )
/*
...makes typing easier, because it deduces the template type, e.g.,
you write |dont_AddRef(fooP)| instead of |nsDontAddRef<IFoo>(fooP)|.
Like the class it is shorthand for, you would rarely use this directly,
but rather through |getter_AddRefs|.
*/
{
return nsDontAddRef<T>(aRawPtr);
}
class nsCOMPtr_base
{
public:
nsCOMPtr_base( nsISupports* rawPtr = 0 )
: mRawPtr(rawPtr)
{
// nothing else to do here
}
~nsCOMPtr_base()
{
if ( mRawPtr )
NSCAP_RELEASE(mRawPtr);
}
NS_EXPORT void assign_with_AddRef( nsISupports* );
NS_EXPORT void assign_with_QueryInterface( nsISupports*, const nsIID&, nsresult* );
NS_EXPORT void** begin_assignment();
protected:
nsISupports* mRawPtr;
};
template <class T>
class nsCOMPtr : private nsCOMPtr_base
/*
...
*/
{
public:
typedef T element_type;
nsCOMPtr()
// : nsCOMPtr_base(0)
{
// nothing else to do here
}
nsCOMPtr( const nsQueryInterface& aSmartPtr )
// : nsCOMPtr_base(0)
{
assign_with_QueryInterface(aSmartPtr.mRawPtr, T::IID(), aSmartPtr.mErrorPtr);
}
nsCOMPtr( const nsDontAddRef<T>& aSmartPtr )
: nsCOMPtr_base(aSmartPtr.mRawPtr)
{
// nothing else to do here
}
nsCOMPtr( const nsDontQueryInterface<T>& aSmartPtr )
: nsCOMPtr_base(aSmartPtr.mRawPtr)
{
if ( mRawPtr )
NSCAP_ADDREF(mRawPtr);
}
nsCOMPtr( const nsCOMPtr<T>& aSmartPtr )
: nsCOMPtr_base(aSmartPtr.mRawPtr)
{
if ( mRawPtr )
NSCAP_ADDREF(mRawPtr);
}
nsCOMPtr<T>&
operator=( const nsQueryInterface& rhs )
{
assign_with_QueryInterface(rhs.mRawPtr, T::IID(), rhs.mErrorPtr);
return *this;
}
nsCOMPtr<T>&
operator=( const nsDontAddRef<T>& rhs )
{
if ( mRawPtr )
NSCAP_RELEASE(mRawPtr);
mRawPtr = rhs.mRawPtr;
return *this;
}
nsCOMPtr<T>&
operator=( const nsDontQueryInterface<T>& rhs )
{
assign_with_AddRef(rhs.mRawPtr);
return *this;
}
nsCOMPtr<T>&
operator=( const nsCOMPtr& rhs )
{
assign_with_AddRef(rhs.mRawPtr);
return *this;
}
nsDerivedSafe<T>*
get() const
// returns a |nsDerivedSafe<T>*| to deny clients the use of |AddRef| and |Release|
{
return NSCAP_REINTERPRET_CAST(nsDerivedSafe<T>*, mRawPtr);
}
nsDerivedSafe<T>*
operator->() const
// returns a |nsDerivedSafe<T>*| to deny clients the use of |AddRef| and |Release|
{
NS_PRECONDITION(mRawPtr != 0, "You can't dereference a NULL nsCOMPtr with operator->().");
return get();
}
nsDerivedSafe<T>&
operator*() const
// returns a |nsDerivedSafe<T>*| to deny clients the use of |AddRef| and |Release|
{
NS_PRECONDITION(mRawPtr != 0, "You can't dereference a NULL nsCOMPtr with operator*().");
return *get();
}
operator nsDerivedSafe<T>*() const
{
return get();
}
#if 0
private:
friend class nsGetterAddRefs<T>;
/*
In a perfect world, the following member function, |StartAssignment|, would be private.
It is and should be only accessed by the closely related class |nsGetterAddRefs<T>|.
Unfortunately, some compilers---most notably VC++5.0---fail to grok the
friend declaration above or in any alternate acceptable form. So, physically
it will be public (until our compilers get smarter); but it is not to be
considered part of the logical public interface.
*/
#endif
T**
StartAssignment()
{
return NSCAP_REINTERPRET_CAST(T**, begin_assignment());
}
};
template <class T>
class nsGetterAddRefs
/*
...
This class is designed to be used for anonymous temporary objects in the
argument list of calls that return COM interface pointers, e.g.,
nsCOMPtr<IFoo> fooP;
...->QueryInterface(iid, nsGetterAddRefs<IFoo>(fooP))
...->QueryInterface(iid, getter_AddRefs(fooP))
When initialized with a |nsCOMPtr|, as in the example above, it returns
a |void**| (or |T**| if needed) that the outer call (|QueryInterface| in this
case) can fill in. When this temporary object goes out of scope, just after
the call returns, its destructor assigned the resulting interface pointer, i.e.,
|QueryInterface|s result, into the |nsCOMPtr| it was initialized with.
See also |nsGetterDoesntAddRef|.
*/
{
public:
explicit
nsGetterAddRefs( nsCOMPtr<T>& aSmartPtr )
: mTargetSmartPtr(aSmartPtr)
{
// nothing else to do
}
operator void**()
{
// NS_PRECONDITION(mTargetSmartPtr != 0, "getter_AddRefs into no destination");
return NSCAP_REINTERPRET_CAST(void**, mTargetSmartPtr.StartAssignment());
}
T*&
operator*()
{
// NS_PRECONDITION(mTargetSmartPtr != 0, "getter_AddRefs into no destination");
return *(mTargetSmartPtr.StartAssignment());
}
operator T**()
{
// NS_PRECONDITION(mTargetSmartPtr != 0, "getter_AddRefs into no destination");
return mTargetSmartPtr.StartAssignment();
}
private:
nsCOMPtr<T>& mTargetSmartPtr;
};
template <class T>
inline
nsGetterAddRefs<T>
getter_AddRefs( nsCOMPtr<T>& aSmartPtr )
/*
Used around a |nsCOMPtr| when
...makes the class |nsGetterAddRefs<T>| invisible.
*/
{
return nsGetterAddRefs<T>(aSmartPtr);
}
#endif // !defined(nsCOMPtr_h___)

View File

@@ -0,0 +1,169 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#include "nsDebug.h"
#include "prlog.h"
#if defined(_WIN32)
#include <windows.h>
#elif defined(XP_MAC)
#define TEMP_MAC_HACK
//------------------------
#ifdef TEMP_MAC_HACK
#include <MacTypes.h>
#include <Processes.h>
// TEMPORARY UNTIL WE HAVE MACINTOSH ENVIRONMENT VARIABLES THAT CAN TURN ON
// LOGGING ON MACINTOSH
// At this moment, NSPR's logging is a no-op on Macintosh.
#include <stdarg.h>
#include <stdio.h>
#undef PR_LOG
#define PR_LOG(module,level,args) dprintf args
static void dprintf(const char *format, ...)
{
va_list ap;
Str255 buffer;
va_start(ap, format);
buffer[0] = vsnprintf((char *)buffer + 1, sizeof(buffer) - 1, format, ap);
va_end(ap);
DebugStr(buffer);
}
#endif // TEMP_MAC_HACK
//------------------------
#endif
/**
* Implementation of the nsDebug methods. Note that this code is
* always compiled in, in case some other module that uses it is
* compiled with debugging even if this library is not.
*/
static PRLogModuleInfo* gDebugLog;
static void InitLog(void)
{
if (0 == gDebugLog) {
gDebugLog = PR_NewLogModule("nsDebug");
gDebugLog->level = PR_LOG_DEBUG;
}
}
NS_COM void nsDebug::Abort(const char* aFile, PRIntn aLine)
{
InitLog();
PR_LOG(gDebugLog, PR_LOG_ERROR,
("Abort: at file %s, line %d", aFile, aLine));
PR_LogFlush();
#if defined(_WIN32)
long* __p = (long*) 0x7;
*__p = 0x7;
#elif defined(XP_MAC)
ExitToShell();
#elif defined(XP_UNIX)
::abort();
#endif
}
NS_COM void nsDebug::Break(const char* aFile, PRIntn aLine)
{
#ifndef TEMP_MAC_HACK
InitLog();
PR_LOG(gDebugLog, PR_LOG_ERROR,
("Break: at file %s, line %d", aFile, aLine));
PR_LogFlush();
//XXX this works on win32 only for now. For all the other platforms call Abort
#if defined(_WIN32)
::DebugBreak();
#else
Abort(aFile, aLine);
#endif
#endif // TEMP_MAC_HACK
}
NS_COM void nsDebug::PreCondition(const char* aStr, const char* aExpr,
const char* aFile, PRIntn aLine)
{
InitLog();
PR_LOG(gDebugLog, PR_LOG_ERROR,
("PreCondition: \"%s\" (%s) at file %s, line %d", aStr, aExpr,
aFile, aLine));
Break(aFile, aLine);
}
NS_COM void nsDebug::PostCondition(const char* aStr, const char* aExpr,
const char* aFile, PRIntn aLine)
{
InitLog();
PR_LOG(gDebugLog, PR_LOG_ERROR,
("PostCondition: \"%s\" (%s) at file %s, line %d", aStr, aExpr,
aFile, aLine));
Break(aFile, aLine);
}
NS_COM void nsDebug::Assertion(const char* aStr, const char* aExpr,
const char* aFile, PRIntn aLine)
{
InitLog();
PR_LOG(gDebugLog, PR_LOG_ERROR,
("Assertion: \"%s\" (%s) at file %s, line %d", aStr, aExpr,
aFile, aLine));
Break(aFile, aLine);
}
NS_COM void nsDebug::NotYetImplemented(const char* aMessage,
const char* aFile, PRIntn aLine)
{
InitLog();
PR_LOG(gDebugLog, PR_LOG_ERROR,
("NotYetImplemented: \"%s\" at file %s, line %d", aMessage,
aFile, aLine));
Break(aFile, aLine);
}
NS_COM void nsDebug::NotReached(const char* aMessage,
const char* aFile, PRIntn aLine)
{
InitLog();
PR_LOG(gDebugLog, PR_LOG_ERROR,
("NotReached: \"%s\" at file %s, line %d", aMessage, aFile, aLine));
Break(aFile, aLine);
}
NS_COM void nsDebug::Error(const char* aMessage,
const char* aFile, PRIntn aLine)
{
InitLog();
PR_LOG(gDebugLog, PR_LOG_ERROR,
("Error: \"%s\" at file %s, line %d", aMessage, aFile, aLine));
Break(aFile, aLine);
}
NS_COM void nsDebug::Warning(const char* aMessage,
const char* aFile, PRIntn aLine)
{
InitLog();
PR_LOG(gDebugLog, PR_LOG_ERROR,
("Warning: \"%s\" at file %s, line %d", aMessage, aFile, aLine));
}

View File

@@ -0,0 +1,179 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef nsDebug_h___
#define nsDebug_h___
#include "nsCom.h"
#include "prtypes.h"
#ifdef DEBUG
#define NS_DEBUG
#endif
/**
* Namespace for debugging methods. Note that your code must use the
* macros defined later in this file so that the debug code can be
* conditionally compiled out.
*/
class nsDebug {
public:
// XXX add in log controls here
// XXX probably want printf type arguments
/**
* Abort the executing program. This works on all architectures.
*/
static NS_COM void Abort(const char* aFile, PRIntn aLine);
/**
* Break the executing program into the debugger.
*/
static NS_COM void Break(const char* aFile, PRIntn aLine);
/**
* Log a pre-condition message to the debug log
*/
static NS_COM void PreCondition(const char* aStr, const char* aExpr,
const char* aFile, PRIntn aLine);
/**
* Log a post-condition message to the debug log
*/
static NS_COM void PostCondition(const char* aStr, const char* aExpr,
const char* aFile, PRIntn aLine);
/**
* Log an assertion message to the debug log
*/
static NS_COM void Assertion(const char* aStr, const char* aExpr,
const char* aFile, PRIntn aLine);
/**
* Log a not-yet-implemented message to the debug log
*/
static NS_COM void NotYetImplemented(const char* aMessage,
const char* aFile, PRIntn aLine);
/**
* Log a not-reached message to the debug log
*/
static NS_COM void NotReached(const char* aMessage,
const char* aFile, PRIntn aLine);
/**
* Log an error message to the debug log. This call returns.
*/
static NS_COM void Error(const char* aMessage,
const char* aFile, PRIntn aLine);
/**
* Log a warning message to the debug log.
*/
static NS_COM void Warning(const char* aMessage,
const char* aFile, PRIntn aLine);
};
#ifdef NS_DEBUG
/**
* Test a precondition for truth. If the expression is not true then
* trigger a program failure.
*/
#define NS_PRECONDITION(expr,str) \
if (!(expr)) \
nsDebug::PreCondition(str, #expr, __FILE__, __LINE__)
/**
* Test an assertion for truth. If the expression is not true then
* trigger a program failure.
*/
#define NS_ASSERTION(expr,str) \
if (!(expr)) \
nsDebug::Assertion(str, #expr, __FILE__, __LINE__)
/**
* Test an assertion for truth. If the expression is not true then
* trigger a program failure. The expression will still be
* executed in release mode.
*/
#define NS_VERIFY(expr,str) \
if (!(expr)) \
nsDebug::Assertion(str, #expr, __FILE__, __LINE__)
/**
* Test a post-condition for truth. If the expression is not true then
* trigger a program failure.
*/
#define NS_POSTCONDITION(expr,str) \
if (!(expr)) \
nsDebug::PostCondition(str, #expr, __FILE__, __LINE__)
/**
* This macros triggers a program failure if executed. It indicates that
* an attempt was made to execute some unimplimented functionality.
*/
#define NS_NOTYETIMPLEMENTED(str) \
nsDebug::NotYetImplemented(str, __FILE__, __LINE__)
/**
* This macros triggers a program failure if executed. It indicates that
* an attempt was made to execute some unimplimented functionality.
*/
#define NS_NOTREACHED(str) \
nsDebug::NotReached(str, __FILE__, __LINE__)
/**
* Log an error message.
*/
#define NS_ERROR(str) \
nsDebug::Error(str, __FILE__, __LINE__)
/**
* Log a warning message.
*/
#define NS_WARNING(str) \
nsDebug::Warning(str, __FILE__, __LINE__)
/**
* Trigger an abort
*/
#define NS_ABORT() \
nsDebug::Abort(__FILE__, __LINE__)
/**
* Cause a break
*/
#define NS_BREAK() \
nsDebug::Break(__FILE__, __LINE__)
#else /* NS_DEBUG */
#define NS_PRECONDITION(expr,str) {}
#define NS_ASSERTION(expr,str) {}
#define NS_VERIFY(expr,str) expr
#define NS_POSTCONDITION(expr,str) {}
#define NS_NOTYETIMPLEMENTED(str) {}
#define NS_NOTREACHED(str) {}
#define NS_ERROR(str) {}
#define NS_WARNING(str) {}
#define NS_ABORT() {}
#define NS_BREAK() {}
#endif /* ! NS_DEBUG */
#endif /* nsDebug_h___ */

View File

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

View File

@@ -0,0 +1,21 @@
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
DEPTH=..\..
IGNORE_MANIFEST=1
DIRS=public src # tests tools
include <$(DEPTH)\config\rules.mak>

View File

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

View File

@@ -0,0 +1,28 @@
#!nmake
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
IGNORE_MANIFEST=1
DEPTH=..\..\..
EXPORTS = xpt_struct.h \
xpt_xdr.h \
$(NULL)
MODULE = libxpt
include <$(DEPTH)\config\rules.mak>

View File

@@ -0,0 +1,405 @@
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/*
* Structures matching the in-memory representation of typelib structures.
* http://www.mozilla.org/scriptable/typelib_file.html
*/
#ifndef __xpt_struct_h__
#define __xpt_struct_h__
#include "prtypes.h"
/*
* The linkage of XPT API functions differs depending on whether the file is
* used within the XPT library or not. Any source file within the XPT
* library should define EXPORT_XPT_API whereas any client of the library
* should not.
*/
#ifdef EXPORT_XPT_API
#define XPT_PUBLIC_API(t) PR_IMPLEMENT(t)
#define XPT_PUBLIC_DATA(t) PR_IMPLEMENT_DATA(t)
#else
#ifdef _WIN32
# define XPT_PUBLIC_API(t) _declspec(dllimport) t
# define XPT_PUBLIC_DATA(t) _declspec(dllimport) t
#else
# define XPT_PUBLIC_API(t) PR_IMPLEMENT(t)
# define XPT_PUBLIC_DATA(t) t
#endif
#endif
#define XPT_FRIEND_API(t) XPT_PUBLIC_API(t)
#define XPT_FRIEND_DATA(t) XPT_PUBLIC_DATA(t)
PR_BEGIN_EXTERN_C
/*
* Originally, I was going to have structures that exactly matched the on-disk
* representation, but that proved difficult: different compilers can pack
* their structs differently, and that makes overlaying them atop a
* read-from-disk byte buffer troublesome. So now I just have some structures
* that are used in memory, and we're going to write a nice XDR library to
* write them to disk and stuff. It is pure joy. -- shaver
*/
/* Structures for the typelib components */
typedef struct XPTHeader XPTHeader;
typedef struct XPTInterfaceDirectoryEntry XPTInterfaceDirectoryEntry;
typedef struct XPTInterfaceDescriptor XPTInterfaceDescriptor;
typedef struct XPTConstDescriptor XPTConstDescriptor;
typedef struct XPTMethodDescriptor XPTMethodDescriptor;
typedef struct XPTParamDescriptor XPTParamDescriptor;
typedef struct XPTTypeDescriptor XPTTypeDescriptor;
typedef struct XPTTypeDescriptorPrefix XPTTypeDescriptorPrefix;
typedef struct XPTString XPTString;
typedef struct XPTAnnotation XPTAnnotation;
#ifndef nsID_h__
/*
* We can't include nsID.h, because it's full of C++ goop and we're not doing
* C++ here, so we define our own minimal struct. We protect against multiple
* definitions of this struct, though, and use the same field naming.
*/
struct nsID {
PRUint32 m0;
PRUint16 m1;
PRUint16 m2;
PRUint8 m3[8];
};
typedef struct nsID nsID;
#endif
#define XPT_COPY_IID(to, from) \
(to).m0 = (from).m0; \
(to).m1 = (from).m1; \
(to).m2 = (from).m2; \
(to).m3[0] = (from).m3[0]; \
(to).m3[1] = (from).m3[1]; \
(to).m3[2] = (from).m3[2]; \
(to).m3[3] = (from).m3[3]; \
(to).m3[4] = (from).m3[4]; \
(to).m3[5] = (from).m3[5]; \
(to).m3[6] = (from).m3[6]; \
(to).m3[7] = (from).m3[7];
/*
* Every XPCOM typelib file begins with a header.
*/
struct XPTHeader {
char magic[16];
uint8 major_version;
uint8 minor_version;
uint16 num_interfaces;
uint32 file_length;
XPTInterfaceDirectoryEntry *interface_directory;
uint32 data_pool;
XPTAnnotation *annotations;
};
#define XPT_MAGIC "XPCOM\nTypeLib\r\n\032"
#define XPT_MAJOR_VERSION 0x01
#define XPT_MINOR_VERSION 0x00
extern XPT_PUBLIC_API(XPTHeader *)
XPT_NewHeader(uint32 num_interfaces);
/* size of header and annotations */
extern XPT_PUBLIC_API(uint32)
XPT_SizeOfHeader(XPTHeader *header);
/* size of header and annotations and InterfaceDirectoryEntries */
extern XPT_PUBLIC_API(uint32)
XPT_SizeOfHeaderBlock(XPTHeader *header);
/*
* A contiguous array of fixed-size InterfaceDirectoryEntry records begins at
* the byte offset identified by the interface_directory field in the file
* header. The array is used to quickly locate an interface description
* using its IID. No interface should appear more than once in the array.
*/
struct XPTInterfaceDirectoryEntry {
nsID iid;
char *name;
char *name_space;
XPTInterfaceDescriptor *interface_descriptor;
#if 0 /* not yet */
/* not stored on disk */
uint32 offset; /* the offset for an ID still to be read */
#endif
};
extern XPT_PUBLIC_API(PRBool)
XPT_FillInterfaceDirectoryEntry(XPTInterfaceDirectoryEntry *ide,
nsID *iid, char *name, char *name_space,
XPTInterfaceDescriptor *descriptor);
/*
* An InterfaceDescriptor is a variable-size record used to describe a
* single XPCOM interface, including all of its methods.
*/
struct XPTInterfaceDescriptor {
XPTInterfaceDirectoryEntry *parent_interface;
uint16 num_methods;
XPTMethodDescriptor *method_descriptors;
uint16 num_constants;
XPTConstDescriptor *const_descriptors;
};
extern XPT_PUBLIC_API(PRBool)
XPT_GetInterfaceIndexByName(XPTInterfaceDirectoryEntry *ide_block,
uint32 num_interfaces, char *name,
uint16 *indexp);
extern XPT_PUBLIC_API(XPTInterfaceDescriptor *)
XPT_NewInterfaceDescriptor(uint32 parent_interface, uint32 num_methods,
uint32 num_constants);
extern XPT_PUBLIC_API(PRBool)
XPT_InterfaceDescriptorAddMethods(XPTInterfaceDescriptor *id, uint16 num);
/*
* This is our special string struct with a length value associated with it,
* which means that it can contains embedded NULs.
*/
struct XPTString {
uint16 length;
char *bytes;
};
extern XPT_PUBLIC_API(XPTString *)
XPT_NewString(uint16 length, char *bytes);
extern XPT_PUBLIC_API(XPTString *)
XPT_NewStringZ(char *bytes);
/*
* A TypeDescriptor is a variable-size record used to identify the type of a
* method argument or return value.
*
* There are three types of TypeDescriptors:
*
* SimpleTypeDescriptor
* InterfaceTypeDescriptor
* InterfaceIsTypeDescriptor
*
* The tag field in the prefix indicates which of the variant TypeDescriptor
* records is being used, and hence the way any remaining fields should be
* parsed. Values from 0 to 17 refer to SimpleTypeDescriptors. The value 18
* designates an InterfaceTypeDescriptor, while 19 represents an
* InterfaceIsTypeDescriptor.
*/
/* XXX why bother with a struct? */
struct XPTTypeDescriptorPrefix {
uint8 flags;
};
/* flag bits -- fur and jband were right, I was miserably wrong */
#define XPT_TDP_POINTER 0x80
#define XPT_TDP_UNIQUE_POINTER 0x40
#define XPT_TDP_REFERENCE 0x20
#define XPT_TDP_FLAGMASK 0xe0
#define XPT_TDP_TAGMASK (~XPT_TDP_FLAGMASK)
#define XPT_TDP_TAG(tdp) ((tdp).flags & XPT_TDP_TAGMASK)
#define XPT_TDP_IS_POINTER(flags) (flags & XPT_TDP_POINTER)
#define XPT_TDP_IS_UNIQUE_POINTER(flags) (flags & XPT_TDP_UNIQUE_POINTER)
#define XPT_TDP_IS_REFERENCE(flags) (flags & XPT_TDP_REFERENCE)
/* XXX TD #defines should include required flag bits! */
/*
* The following enum maps mnemonic names to the different numeric values
* of XPTTypeDescriptor->tag.
*/
enum XPTTypeDescriptorTags {
TD_INT8 = 0,
TD_INT16 = 1,
TD_INT32 = 2,
TD_INT64 = 3,
TD_UINT8 = 4,
TD_UINT16 = 5,
TD_UINT32 = 6,
TD_UINT64 = 7,
TD_FLOAT = 8,
TD_DOUBLE = 9,
TD_BOOL = 10,
TD_CHAR = 11,
TD_WCHAR = 12,
TD_VOID = 13,
TD_PNSIID = 14,
TD_PBSTR = 15,
TD_PSTRING = 16,
TD_PWSTRING = 17,
TD_INTERFACE_TYPE = 18,
TD_INTERFACE_IS_TYPE = 19
};
struct XPTTypeDescriptor {
XPTTypeDescriptorPrefix prefix;
union {
uint32 interface;
uint8 argnum;
} type;
};
#define XPT_TYPEDESCRIPTOR_SIZE (1 + 4)
#define XPT_COPY_TYPE(to, from) \
(to).prefix.flags = (from).prefix.flags; \
(to).type.interface = (from).type.interface;
/*
* A ConstDescriptor is a variable-size record that records the name and
* value of a scoped interface constant.
*
* The types of the method parameter are restricted to the following subset
* of TypeDescriptors:
*
* int8, uint8, int16, uint16, int32, uint32,
* int64, uint64, wchar_t, char, string
*
* The type (and thus the size) of the value record is determined by the
* contents of the associated TypeDescriptor record. For instance, if type
* corresponds to int16, then value is a two-byte record consisting of a
* 16-bit signed integer. For a ConstDescriptor type of string, the value
* record is of type String*, i.e. an offset within the data pool to a
* String record containing the constant string.
*/
union XPTConstValue {
int8 i8;
uint8 ui8;
int16 i16;
uint16 ui16;
int32 i32;
uint32 ui32;
int64 i64;
uint64 ui64;
float flt;
double dbl;
PRBool bul;
char ch;
uint16 wch;
nsID *iid;
XPTString *string;
char *str;
uint16 *wstr;
}; /* varies according to type */
struct XPTConstDescriptor {
char *name;
XPTTypeDescriptor type;
union XPTConstValue value;
};
/*
* A ParamDescriptor is a variable-size record used to describe either a
* single argument to a method or a method's result.
*/
struct XPTParamDescriptor {
uint8 flags;
XPTTypeDescriptor type;
};
/* flag bits -- jband and fur were right, and I was miserably wrong */
#define XPT_PD_IN 0x80
#define XPT_PD_OUT 0x40
#define XPT_PD_RETVAL 0x20
#define XPT_PD_FLAGMASK 0x70
#define XPT_PD_IS_IN(flags) (flags & XPT_PD_IN)
#define XPT_PD_IS_OUT(flags) (flags & XPT_PD_OUT)
#define XPT_PD_IS_RETVAL(flags) (flags & XPT_PD_RETVAL)
#define XPT_PARAMDESCRIPTOR_SIZE (XPT_TYPEDESCRIPTOR_SIZE + 1)
extern XPT_PUBLIC_API(PRBool)
XPT_FillParamDescriptor(XPTParamDescriptor *pd, uint8 flags,
XPTTypeDescriptor *type);
/*
* A MethodDescriptor is a variable-size record used to describe a single
* interface method.
*/
struct XPTMethodDescriptor {
uint8 flags;
char *name;
uint8 num_args;
XPTParamDescriptor *params;
XPTParamDescriptor *result;
};
/* flag bits -- jband and fur were right, and I was miserably wrong */
#define XPT_MD_GETTER 0x80
#define XPT_MD_SETTER 0x40
#define XPT_MD_VARARGS 0x20
#define XPT_MD_CTOR 0x10
#define XPT_MD_HIDDEN 0x08
#define XPT_MD_FLAGMASK 0xf8
#define XPT_MD_IS_GETTER(flags) (flags & XPT_MD_GETTER)
#define XPT_MD_IS_SETTER(flags) (flags & XPT_MD_SETTER)
#define XPT_MD_IS_VARARGS(flags) (flags & XPT_MD_VARARGS)
#define XPT_MD_IS_CTOR(flags) (flags & XPT_MD_CTOR)
#define XPT_MD_IS_HIDDEN(flags) (flags & XPT_MD_HIDDEN)
extern XPT_PUBLIC_API(PRBool)
XPT_FillMethodDescriptor(XPTMethodDescriptor *meth, uint8 flags, char *name,
uint8 num_args);
/*
* Annotation records are variable-size records used to store secondary
* information about the typelib, e.g. such as the name of the tool that
* generated the typelib file, the date it was generated, etc. The
* information is stored with very loose format requirements so as to
* allow virtually any private data to be stored in the typelib.
*
* There are two types of Annotations:
*
* EmptyAnnotation
* PrivateAnnotation
*
* The tag field of the prefix discriminates among the variant record
* types for Annotation's. If the tag is 0, this record is an
* EmptyAnnotation. EmptyAnnotation's are ignored - they're only used to
* indicate an array of Annotation's that's completely empty. If the tag
* is 1, the record is a PrivateAnnotation.
*/
struct XPTAnnotation {
XPTAnnotation *next;
uint8 flags;
/* remaining fields are present in typelib iff XPT_ANN_IS_PRIVATE */
XPTString *creator;
XPTString *private_data;
};
#define XPT_ANN_LAST 0x80
#define XPT_ANN_IS_LAST(flags) (flags & XPT_ANN_LAST)
#define XPT_ANN_PRIVATE 0x40
#define XPT_ANN_IS_PRIVATE(flags) (flags & XPT_ANN_PRIVATE)
extern XPT_PUBLIC_API(XPTAnnotation *)
XPT_NewAnnotation(uint8 flags, XPTString *creator, XPTString *private_data);
PR_END_EXTERN_C
#endif /* __xpt_struct_h__ */

View File

@@ -0,0 +1,214 @@
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/*
* Basic APIs for streaming typelib structures to/from disk.
*/
#ifndef __xpt_xdr_h__
#define __xpt_xdr_h__
#include <nspr.h>
#include <plhash.h>
#include <prmem.h>
#include "xpt_struct.h"
PR_BEGIN_EXTERN_C
typedef struct XPTState XPTState;
typedef struct XPTDatapool XPTDatapool;
typedef struct XPTCursor XPTCursor;
extern XPT_PUBLIC_API(PRBool)
XPT_DoString(XPTCursor *cursor, XPTString **strp);
extern XPT_PUBLIC_API(PRBool)
XPT_DoStringInline(XPTCursor *cursor, XPTString **strp);
extern XPT_PUBLIC_API(PRBool)
XPT_DoCString(XPTCursor *cursor, char **strp);
extern XPT_PUBLIC_API(PRBool)
XPT_DoIdentifier(XPTCursor *cursor, char **identp);
extern XPT_PUBLIC_API(PRBool)
XPT_DoIID(XPTCursor *cursor, nsID *iidp);
extern XPT_PUBLIC_API(PRBool)
XPT_Do64(XPTCursor *cursor, PRInt64 *u64p);
extern XPT_PUBLIC_API(PRBool)
XPT_Do32(XPTCursor *cursor, uint32 *u32p);
extern XPT_PUBLIC_API(PRBool)
XPT_Do16(XPTCursor *cursor, uint16 *u16p);
extern XPT_PUBLIC_API(PRBool)
XPT_Do8(XPTCursor *cursor, uint8 *u8p);
/*
* When working with bitfields, use the DoBits call with a uint8.
* Only the appropriate number of bits are manipulated, so when
* you're decoding you probably want to ensure that the uint8 is pre-zeroed.
* When you're done sending bits along, use
* XPT_FlushBits to make sure that you don't eat a leading bit from the
* next structure. (You should probably be writing full bytes' worth of bits
* anyway, and zeroing out the bits you don't use, but just to be sure...)
*/
extern XPT_PUBLIC_API(PRBool)
XPT_DoBits(XPTCursor *cursor, uint8 *u8p, int nbits);
#define XPT_DO_BITS(curs, field, width, scr) (PR_TRUE)
/* returns the number of bits skipped, which should be 0-7 */
extern XPT_PUBLIC_API(int)
XPT_FlushBits(XPTCursor *cursor);
extern XPT_PUBLIC_API(PRBool)
XPT_DoHeader(XPTCursor *cursor, XPTHeader **headerp);
typedef enum {
XPT_ENCODE,
XPT_DECODE
} XPTMode;
typedef enum {
XPT_HEADER = 0,
XPT_DATA = 1
} XPTPool;
struct XPTState {
XPTMode mode;
uint32 data_offset;
uint32 next_cursor[2];
XPTDatapool *pool;
};
struct XPTDatapool {
PLHashTable *offset_map;
char *data;
uint32 count;
uint32 allocated;
};
struct XPTCursor {
XPTState *state;
XPTPool pool;
uint32 offset;
uint8 bits;
};
extern XPT_PUBLIC_API(XPTState *)
XPT_NewXDRState(XPTMode mode, char *data, uint32 len);
extern XPT_PUBLIC_API(PRBool)
XPT_MakeCursor(XPTState *state, XPTPool pool, uint32 len, XPTCursor *cursor);
extern XPT_PUBLIC_API(PRBool)
XPT_SeekTo(XPTCursor *cursor, uint32 offset);
extern XPT_PUBLIC_API(void)
XPT_DestroyXDRState(XPTState *state);
/* Set file_length based on the data used in the state. (Only ENCODE.) */
extern XPT_PUBLIC_API(PRBool)
XPT_UpdateFileLength(XPTState *state);
extern XPT_PUBLIC_API(void)
XPT_GetXDRData(XPTState *state, XPTPool pool, char **data, uint32 *len);
/* set or get the data offset for the state, depending on mode */
extern XPT_PUBLIC_API(void)
XPT_DataOffset(XPTState *state, uint32 *data_offsetp);
extern XPT_PUBLIC_API(void)
XPT_SetDataOffset(XPTState *state, uint32 data_offset);
extern XPT_PUBLIC_API(uint32)
XPT_GetOffsetForAddr(XPTCursor *cursor, void *addr);
extern XPT_PUBLIC_API(PRBool)
XPT_SetOffsetForAddr(XPTCursor *cursor, void *addr, uint32 offset);
extern XPT_PUBLIC_API(PRBool)
XPT_SetAddrForOffset(XPTCursor *cursor, uint32 offset, void *addr);
extern XPT_PUBLIC_API(void *)
XPT_GetAddrForOffset(XPTCursor *cursor, uint32 offset);
/* all data structures are big-endian */
#if defined IS_BIG_ENDIAN
# define XPT_SWAB32(x) x
# define XPT_SWAB16(x) x
#elif defined IS_LITTLE_ENDIAN
# define XPT_SWAB32(x) (((x) >> 24) | \
(((x) >> 8) & 0xff00) | \
(((x) << 8) & 0xff0000) | \
((x) << 24))
# define XPT_SWAB16(x) (((x) >> 8) | ((x) << 8))
#else
# error "unknown byte order"
#endif
/*
* If we're decoding, we want to read the offset before we check
* for already-decoded values.
*
* Then we check for repetition: CheckForRepeat will see if we've already
* encoded/decoded this value, and if so will set offset/addr correctly
* and make already be true. If not, it will set up the cursor for
* encoding (reserve space) or decoding (seek to correct location) as
* appropriate. In the encode case, it will also set the addr->offset
* mapping.
*/
#define XPT_PREAMBLE_(cursor, addrp, pool, size, new_curs, already) \
XPTMode mode = cursor->state->mode; \
if (!(mode == XPT_ENCODE || XPT_Do32(cursor, &new_curs.offset)) || \
!CheckForRepeat(cursor, (void **)addrp, pool, \
mode == XPT_ENCODE ? size : 0, &new_curs, \
&already) || \
!(mode == XPT_DECODE || XPT_Do32(cursor, &new_curs.offset))) \
return PR_FALSE; \
if (already) \
return PR_TRUE; \
#define XPT_PREAMBLE(cursor, addrp, pool, size, new_curs, already, \
XPTType, localp) \
{ \
XPT_PREAMBLE_(cursor, addrp, pool, size, new_curs, already); \
XPT_ALLOC(addrp, new_curs, XPTType, localp) \
}
#define XPT_PREAMBLE_NO_ALLOC(cursor, addrp, pool, size, new_curs, already) \
{ \
XPT_PREAMBLE_(cursor, addrp, pool, size, new_curs, already) \
}
#define XPT_ERROR_HANDLE(free_it) \
error: \
if (cursor->state->mode == XPT_DECODE) \
PR_FREEIF(free_it); \
return PR_FALSE;
PR_END_EXTERN_C
#endif /* __xpt_xdr_h__ */

View File

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

View File

@@ -0,0 +1,52 @@
#!nmake
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
IGNORE_MANIFEST=1
MAKE_OBJ_TYPE = DLL
DEPTH=..\..\..
LIBNAME = .\$(OBJDIR)\libxpt$(MOZ_BITS)
DLL = $(LIBNAME).dll
LCFLAGS = -DEXPORT_XPT_API -DWIN32_LEAN_AND_MEAN
LINCS = \
-I$(PUBLIC)\libxpt \
$(NULL)
LLIBS = $(LIBNSPR) \
$(NULL)
CSRCS = \
xpt_struct.c \
xpt_xdr.c \
$(NULL)
C_OBJS = \
.\$(OBJDIR)\xpt_struct.obj \
.\$(OBJDIR)\xpt_xdr.obj \
$(NULL)
MODULE = libxpt
include <$(DEPTH)\config\rules.mak>
libs:: $(DLL)
$(MAKE_INSTALL) $(LIBNAME).$(DLL_SUFFIX) $(DIST)\bin
$(MAKE_INSTALL) $(LIBNAME).$(LIB_SUFFIX) $(DIST)\lib

View File

@@ -0,0 +1,727 @@
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/* Implementation of XDR routines for typelib structures. */
#include "xpt_xdr.h"
#include "xpt_struct.h"
#include <string.h>
static PRBool
DoInterfaceDirectoryEntry(XPTCursor *cursor,
XPTInterfaceDirectoryEntry *ide, uint16 index);
static PRBool
DoInterfaceDirectoryEntryIndex(XPTCursor *cursor,
XPTInterfaceDirectoryEntry **idep);
static PRBool
DoConstDescriptor(XPTCursor *cursor, XPTConstDescriptor *cd);
static PRBool
DoMethodDescriptor(XPTCursor *cursor, XPTMethodDescriptor *md);
static PRBool
DoAnnotation(XPTCursor *cursor, XPTAnnotation **annp);
static PRBool
DoInterfaceDescriptor(XPTCursor *outer, XPTInterfaceDescriptor **idp);
static PRBool
DoTypeDescriptor(XPTCursor *cursor, XPTTypeDescriptor *td);
static PRBool
DoParamDescriptor(XPTCursor *cursor, XPTParamDescriptor *pd);
#define CURS_POOL_OFFSET_RAW(cursor) \
((cursor)->pool == XPT_HEADER \
? (cursor)->offset \
: (PR_ASSERT((cursor)->state->data_offset), \
(cursor)->offset + (cursor)->state->data_offset))
#define CURS_POOL_OFFSET(cursor) \
(CURS_POOL_OFFSET_RAW(cursor) - 1)
XPT_PUBLIC_API(uint32)
XPT_SizeOfHeader(XPTHeader *header)
{
XPTAnnotation *ann, *last;
uint32 size = 16 /* magic */ +
1 /* major */ + 1 /* minor */ +
2 /* num_interfaces */ + 4 /* file_length */ +
4 /* interface_directory */ + 4 /* data_pool */;
ann = header->annotations;
do {
size += 1; /* Annotation prefix */
if (XPT_ANN_IS_PRIVATE(ann->flags))
size += 2 + ann->creator->length + 2 + ann->private_data->length;
last = ann;
ann = ann->next;
} while (!XPT_ANN_IS_LAST(last->flags));
return size;
}
XPT_PUBLIC_API(uint32)
XPT_SizeOfHeaderBlock(XPTHeader *header)
{
uint32 size = XPT_SizeOfHeader(header);
size += header->num_interfaces * sizeof (XPTInterfaceDirectoryEntry);
return size;
}
XPT_PUBLIC_API(XPTHeader *)
XPT_NewHeader(uint32 num_interfaces)
{
XPTHeader *header = PR_NEWZAP(XPTHeader);
if (!header)
return NULL;
memcpy(header->magic, XPT_MAGIC, 16);
header->major_version = XPT_MAJOR_VERSION;
header->minor_version = XPT_MINOR_VERSION;
header->num_interfaces = num_interfaces;
header->interface_directory = PR_CALLOC(num_interfaces *
sizeof(XPTInterfaceDirectoryEntry));
if (!header->interface_directory) {
PR_DELETE(header);
return NULL;
}
header->data_pool = 0; /* XXX do we even need this struct any more? */
return header;
}
XPT_PUBLIC_API(PRBool)
XPT_DoHeader(XPTCursor *cursor, XPTHeader **headerp)
{
XPTMode mode = cursor->state->mode;
XPTHeader *header;
uint32 ide_offset;
int i;
if (mode == XPT_DECODE) {
header = PR_NEWZAP(XPTHeader);
if (!header)
return PR_FALSE;
*headerp = header;
} else {
header = *headerp;
}
if (mode == XPT_ENCODE) {
/* IDEs appear after header, including annotations */
ide_offset = XPT_SizeOfHeader(*headerp) + 1; /* one-based offset */
header->data_pool = XPT_SizeOfHeaderBlock(*headerp);
XPT_SetDataOffset(cursor->state, header->data_pool);
}
for (i = 0; i < 16; i++) {
if (!XPT_Do8(cursor, &header->magic[i]))
goto error;
}
if(!XPT_Do8(cursor, &header->major_version) ||
!XPT_Do8(cursor, &header->minor_version) ||
/* XXX check major for compat! */
!XPT_Do16(cursor, &header->num_interfaces) ||
!XPT_Do32(cursor, &header->file_length) ||
!XPT_Do32(cursor, &ide_offset)) {
goto error;
}
if (mode == XPT_ENCODE)
XPT_DataOffset(cursor->state, &header->data_pool);
if (!XPT_Do32(cursor, &header->data_pool))
goto error;
if (mode == XPT_DECODE)
XPT_DataOffset(cursor->state, &header->data_pool);
if (mode == XPT_DECODE) {
header->interface_directory =
PR_CALLOC(header->num_interfaces *
sizeof(XPTInterfaceDirectoryEntry));
if (!header->interface_directory)
goto error;
}
if (!DoAnnotation(cursor, &header->annotations))
goto error;
/* shouldn't be necessary now, but maybe later */
XPT_SeekTo(cursor, ide_offset);
for (i = 0; i < header->num_interfaces; i++) {
if (!DoInterfaceDirectoryEntry(cursor,
&header->interface_directory[i],
i + 1))
goto error;
}
return PR_TRUE;
/* XXX need to free child data sometimes! */
XPT_ERROR_HANDLE(header);
}
XPT_PUBLIC_API(PRBool)
XPT_FillInterfaceDirectoryEntry(XPTInterfaceDirectoryEntry *ide,
nsID *iid, char *name, char *name_space,
XPTInterfaceDescriptor *descriptor)
{
XPT_COPY_IID(ide->iid, *iid);
ide->name = name ? strdup(name) : NULL; /* what good is it w/o a name? */
ide->name_space = name_space ? strdup(name_space) : NULL;
ide->interface_descriptor = descriptor;
return PR_TRUE;
}
/* InterfaceDirectoryEntry records go in the header */
PRBool
DoInterfaceDirectoryEntry(XPTCursor *cursor,
XPTInterfaceDirectoryEntry *ide, uint16 index)
{
XPTMode mode = cursor->state->mode;
/* write the IID in our cursor space */
if (!XPT_DoIID(cursor, &(ide->iid)) ||
/* write the name string in the data pool, and the offset in our
cursor space */
!XPT_DoCString(cursor, &(ide->name)) ||
/* write the name_space string in the data pool, and the offset in our
cursor space */
!XPT_DoCString(cursor, &(ide->name_space)) ||
/* do InterfaceDescriptors -- later, only on encode (see below) */
!DoInterfaceDescriptor(cursor, &ide->interface_descriptor)) {
goto error;
}
if (mode == XPT_DECODE)
XPT_SetOffsetForAddr(cursor, ide, index);
#if 0 /* not yet -- we eagerly load for now */
/* write the InterfaceDescriptor in the data pool, and the offset
in our cursor space, but only if we're encoding. */
if (mode == XPT_ENCODE) {
if (!DoInterfaceDescriptor(cursor,
&ide->interface_descriptor)) {
goto error;
}
}
#endif
return PR_TRUE;
XPT_ERROR_HANDLE(ide);
}
/*
* Decode: Get the interface directory entry for the on-disk index.
* Encode: Write the index.
*/
PRBool
DoInterfaceDirectoryEntryIndex(XPTCursor *cursor,
XPTInterfaceDirectoryEntry **idep)
{
XPTMode mode = cursor->state->mode;
uint16 index;
if (mode == XPT_ENCODE) {
/* XXX index zero is legal, so how do I detect an error? */
if (*idep) {
index = XPT_GetOffsetForAddr(cursor, *idep);
if (!index)
return PR_FALSE;
} else {
index = 0; /* no interface */
}
}
if (!XPT_Do16(cursor, &index))
return PR_FALSE;
if (mode == XPT_DECODE) {
if (index) {
*idep = XPT_GetAddrForOffset(cursor, index);
if (!*idep)
return PR_FALSE;
} else {
*idep = NULL;
}
}
return PR_TRUE;
}
XPT_PUBLIC_API(XPTInterfaceDescriptor *)
XPT_NewInterfaceDescriptor(uint32 parent_interface, uint32 num_methods,
uint32 num_constants)
{
XPTInterfaceDescriptor *id = PR_NEWZAP(XPTInterfaceDescriptor);
if (!id)
return NULL;
if (num_methods) {
id->method_descriptors = PR_CALLOC(num_methods *
sizeof(XPTMethodDescriptor));
if (!id->method_descriptors)
goto free_id;
id->num_methods = num_methods;
}
if (num_constants) {
id->const_descriptors = PR_CALLOC(num_constants *
sizeof(XPTConstDescriptor));
if (!id->const_descriptors)
goto free_meth;
id->num_constants = num_constants;
}
return id;
free_meth:
PR_FREEIF(id->method_descriptors);
free_id:
PR_DELETE(id);
return NULL;
}
XPT_PUBLIC_API(PRBool)
XPT_InterfaceDescriptorAddMethods(XPTInterfaceDescriptor *id, uint16 num)
{
XPTMethodDescriptor *old = id->method_descriptors, *new;
/* XXX should grow in chunks to minimize realloc overhead */
new = PR_REALLOC(old,
(id->num_methods + num) * sizeof(XPTMethodDescriptor));
if (!new)
return PR_FALSE;
memset(id->method_descriptors + id->num_methods, 0,
sizeof(XPTMethodDescriptor) * num);
id->method_descriptors = new;
id->num_methods += num;
return PR_TRUE;
}
XPT_PUBLIC_API(uint32)
XPT_SizeOfTypeDescriptor(XPTTypeDescriptor *td)
{
uint32 size = 1; /* prefix */
if (XPT_TDP_TAG(td->prefix) == TD_INTERFACE_TYPE)
size += 2; /* interface_index */
else if (XPT_TDP_TAG(td->prefix) == TD_INTERFACE_IS_TYPE)
size += 1; /* arg_num */
return size;
}
XPT_PUBLIC_API(uint32)
XPT_SizeOfMethodDescriptor(XPTMethodDescriptor *md)
{
uint32 i, size = 1 /* flags */ + 4 /* name */ + 1 /* num_args */;
for (i = 0; i < md->num_args; i++)
size += 1 + XPT_SizeOfTypeDescriptor(&md->params[i].type);
size += 1 + XPT_SizeOfTypeDescriptor(&md->result->type);
return size;
}
XPT_PUBLIC_API(uint32)
XPT_SizeOfConstDescriptor(XPTConstDescriptor *cd)
{
uint32 size = 4 /* name */ + XPT_SizeOfTypeDescriptor(&cd->type);
switch (XPT_TDP_TAG(cd->type.prefix)) {
case TD_INT8:
case TD_UINT8:
case TD_CHAR:
size ++;
break;
case TD_INT16:
case TD_UINT16:
case TD_WCHAR:
size += 2;
break;
case TD_INT32:
case TD_UINT32:
case TD_PBSTR: /* XXX check for pointer! */
size += 4;
break;
case TD_INT64:
case TD_UINT64:
size += 8;
break;
default:
fprintf(stderr, "libxpt: illegal type in ConstDescriptor: 0x%02x\n",
XPT_TDP_TAG(cd->type.prefix));
return 0;
}
return size;
}
XPT_PUBLIC_API(uint32)
XPT_SizeOfInterfaceDescriptor(XPTInterfaceDescriptor *id)
{
uint32 size = 2 /* parent interface */ + 2 /* num_methods */
+ 2 /* num_constants */, i;
for (i = 0; i < id->num_methods; i++)
size += XPT_SizeOfMethodDescriptor(&id->method_descriptors[i]);
for (i = 0; i < id->num_constants; i++)
size += XPT_SizeOfConstDescriptor(&id->const_descriptors[i]);
return size;
}
PRBool
DoInterfaceDescriptor(XPTCursor *outer, XPTInterfaceDescriptor **idp)
{
XPTMode mode = outer->state->mode;
XPTInterfaceDescriptor *id;
XPTCursor curs, *cursor = &curs;
uint32 i, id_sz = 0;
if (mode == XPT_DECODE) {
id = PR_NEWZAP(XPTInterfaceDescriptor);
if (!id)
return PR_FALSE;
*idp = id;
} else {
id = *idp;
if (!id) {
id_sz = 0;
return XPT_Do32(outer, &id_sz);
}
id_sz = XPT_SizeOfInterfaceDescriptor(id);
}
if (!XPT_MakeCursor(outer->state, XPT_DATA, id_sz, cursor))
goto error;
if (!XPT_Do32(outer, &cursor->offset))
goto error;
if (mode == XPT_DECODE && !cursor->offset) {
*idp = NULL;
return PR_TRUE;
}
if(!DoInterfaceDirectoryEntryIndex(cursor, &id->parent_interface) ||
!XPT_Do16(cursor, &id->num_methods)) {
goto error;
}
if (mode == XPT_DECODE && id->num_methods) {
id->method_descriptors = PR_CALLOC(id->num_methods *
sizeof(XPTMethodDescriptor));
if (!id->method_descriptors)
goto error;
}
for (i = 0; i < id->num_methods; i++) {
if (!DoMethodDescriptor(cursor, &id->method_descriptors[i]))
goto error;
}
if (!XPT_Do16(cursor, &id->num_constants)) {
goto error;
}
if (mode == XPT_DECODE)
id->const_descriptors = PR_CALLOC(id->num_constants *
sizeof(XPTConstDescriptor));
for (i = 0; i < id->num_constants; i++) {
if (!DoConstDescriptor(cursor, &id->const_descriptors[i])) {
goto error;
}
}
return PR_TRUE;
XPT_ERROR_HANDLE(id);
}
XPT_PUBLIC_API(PRBool)
XPT_FillConstDescriptor(XPTConstDescriptor *cd, char *name,
XPTTypeDescriptor type, union XPTConstValue value)
{
cd->name = strdup(name);
if (!cd->name)
return PR_FALSE;
XPT_COPY_TYPE(cd->type, type);
/* XXX copy value */
return PR_TRUE;
}
PRBool
DoConstDescriptor(XPTCursor *cursor, XPTConstDescriptor *cd)
{
PRBool ok = PR_FALSE;
if (!XPT_DoCString(cursor, &cd->name) ||
!DoTypeDescriptor(cursor, &cd->type)) {
return PR_FALSE;
}
switch(XPT_TDP_TAG(cd->type.prefix)) {
case TD_INT8:
ok = XPT_Do8(cursor, &cd->value.i8);
break;
case TD_INT16:
ok = XPT_Do16(cursor, &cd->value.i16);
break;
case TD_INT32:
ok = XPT_Do32(cursor, &cd->value.i32);
break;
case TD_INT64:
ok = XPT_Do64(cursor, &cd->value.i64);
break;
case TD_UINT8:
ok = XPT_Do8(cursor, &cd->value.ui8);
break;
case TD_UINT16:
ok = XPT_Do16(cursor, &cd->value.ui16);
break;
case TD_UINT32:
ok = XPT_Do32(cursor, &cd->value.ui32);
break;
case TD_UINT64:
ok = XPT_Do64(cursor, &cd->value.ui64);
break;
case TD_CHAR:
ok = XPT_Do8(cursor, &cd->value.ch);
break;
case TD_WCHAR:
ok = XPT_Do16(cursor, &cd->value.wch);
break;
case TD_PBSTR:
if (cd->type.prefix.flags & XPT_TDP_POINTER) {
ok = XPT_DoString(cursor, &cd->value.string);
break;
}
/* fall-through */
default:
fprintf(stderr, "illegal type!\n");
break;
}
return ok;
}
XPT_PUBLIC_API(PRBool)
XPT_FillMethodDescriptor(XPTMethodDescriptor *meth, uint8 flags, char *name,
uint8 num_args)
{
meth->flags = flags & XPT_MD_FLAGMASK;
meth->name = strdup(name);
if (!name)
return PR_FALSE;
meth->num_args = num_args;
if (meth->num_args) {
meth->params = PR_CALLOC(num_args * sizeof(XPTParamDescriptor));
if (!meth->params)
goto free_name;
} else {
meth->params = NULL;
}
meth->result = PR_NEWZAP(XPTParamDescriptor);
if (!meth->result)
goto free_params;
return PR_TRUE;
free_params:
PR_DELETE(meth->params);
free_name:
PR_DELETE(meth->name);
return PR_FALSE;
}
PRBool
DoMethodDescriptor(XPTCursor *cursor, XPTMethodDescriptor *md)
{
XPTMode mode = cursor->state->mode;
int i;
if (!XPT_Do8(cursor, &md->flags) ||
!XPT_DoCString(cursor, &md->name) ||
!XPT_Do8(cursor, &md->num_args))
return PR_FALSE;
if (mode == XPT_DECODE && md->num_args) {
md->params = PR_CALLOC(md->num_args * sizeof(XPTParamDescriptor));
if (!md->params)
return PR_FALSE;
}
for(i = 0; i < md->num_args; i++) {
if (!DoParamDescriptor(cursor, &md->params[i]))
goto error;
}
md->result = PR_NEWZAP(XPTParamDescriptor);
if (!md->result ||
!DoParamDescriptor(cursor, md->result))
goto error;
return PR_TRUE;
XPT_ERROR_HANDLE(md->params);
}
XPT_PUBLIC_API(PRBool)
XPT_FillParamDescriptor(XPTParamDescriptor *pd, uint8 flags,
XPTTypeDescriptor *type)
{
pd->flags = flags & XPT_PD_FLAGMASK;
XPT_COPY_TYPE(pd->type, *type);
return PR_TRUE;
}
PRBool
DoParamDescriptor(XPTCursor *cursor, XPTParamDescriptor *pd)
{
if (!XPT_Do8(cursor, &pd->flags) ||
!DoTypeDescriptor(cursor, &pd->type))
return PR_FALSE;
return PR_TRUE;
}
/* XXX when we lose the useless TDP wrapper struct, #define this to Do8 */
PRBool
DoTypeDescriptorPrefix(XPTCursor *cursor, XPTTypeDescriptorPrefix *tdp)
{
return XPT_Do8(cursor, &tdp->flags);
}
PRBool
DoTypeDescriptor(XPTCursor *cursor, XPTTypeDescriptor *td)
{
if (!DoTypeDescriptorPrefix(cursor, &td->prefix)) {
goto error;
}
if (XPT_TDP_TAG(td->prefix) == TD_INTERFACE_TYPE) {
if (!XPT_Do32(cursor, &td->type.interface))
goto error;
} else {
if (XPT_TDP_TAG(td->prefix) == TD_INTERFACE_IS_TYPE) {
if (!XPT_Do8(cursor, &td->type.argnum))
goto error;
}
}
return PR_TRUE;
XPT_ERROR_HANDLE(td);
}
XPT_PUBLIC_API(XPTAnnotation *)
XPT_NewAnnotation(uint8 flags, XPTString *creator, XPTString *private_data)
{
XPTAnnotation *ann = PR_NEWZAP(XPTAnnotation);
if (!ann)
return NULL;
ann->flags = flags;
if (XPT_ANN_IS_PRIVATE(flags)) {
ann->creator = creator;
ann->private_data = private_data;
}
return ann;
}
PRBool
DoAnnotation(XPTCursor *cursor, XPTAnnotation **annp)
{
XPTMode mode = cursor->state->mode;
XPTAnnotation *ann;
if (mode == XPT_DECODE) {
ann = PR_NEWZAP(XPTAnnotation);
if (!ann)
return PR_FALSE;
*annp = ann;
} else {
ann = *annp;
}
if (!XPT_Do8(cursor, &ann->flags))
goto error;
if (XPT_ANN_IS_PRIVATE(ann->flags)) {
if (!XPT_DoStringInline(cursor, &ann->creator) ||
!XPT_DoStringInline(cursor, &ann->private_data))
goto error_2;
}
/*
* If a subsequent Annotation fails, what to do?
* - free all annotations, return PR_FALSE? (current behaviout)
* - free failed annotation only, return PR_FALSE (caller can check for
* non-NULL *annp on PR_FALSE return to detect partial annotation
* decoding)?
*/
if (!XPT_ANN_IS_LAST(ann->flags) &&
!DoAnnotation(cursor, &ann->next))
goto error_2;
return PR_TRUE;
error_2:
if (ann && XPT_ANN_IS_PRIVATE(ann->flags)) {
PR_FREEIF(ann->creator);
PR_FREEIF(ann->private_data);
}
XPT_ERROR_HANDLE(ann);
}
PRBool
XPT_GetInterfaceIndexByName(XPTInterfaceDirectoryEntry *ide_block,
uint32 num_interfaces, char *name,
uint16 *indexp)
{
int i;
for (i=1; i<=num_interfaces; i++) {
fprintf(stderr, "%s == %s ?\n", ide_block[i].name, name);
if (strcmp(ide_block[i].name, name) == 0) {
*indexp = i;
return PR_TRUE;
}
}
indexp = 0;
return PR_FALSE;
}
#if 0 /* need hashtables and stuff */
XPT_PUBLIC_API(XPTInterfaceDescriptor *)
XPT_GetDescriptorByIndex(XPTCursor *cursor, XPTHeader *header, uint16 index)
{
XPTInterfaceDescriptor *id = header->interface_directory + index;
if (id)
return id; /* XXX refcnt? */
/* XXX lazily load and allocate later, for now we always read them all
in */
return id;
}
#endif

View File

@@ -0,0 +1,600 @@
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/* Implementation of XDR primitives. */
#include "xpt_xdr.h"
#include <nspr.h>
#include <string.h> /* strchr */
static PRBool
CheckForRepeat(XPTCursor *cursor, void **addrp, XPTPool pool, int len,
XPTCursor *new_cursor, PRBool *already);
#define ENCODING(cursor) \
((cursor)->state->mode == XPT_ENCODE)
#define CURS_POOL_OFFSET_RAW(cursor) \
((cursor)->pool == XPT_HEADER \
? (cursor)->offset \
: (PR_ASSERT((cursor)->state->data_offset), \
(cursor)->offset + (cursor)->state->data_offset))
#define CURS_POOL_OFFSET(cursor) \
(CURS_POOL_OFFSET_RAW(cursor) - 1)
/* can be used as lvalue */
#define CURS_POINT(cursor) \
((cursor)->state->pool->data[CURS_POOL_OFFSET(cursor)])
#ifdef DEBUG_shaver
#define DBG(x) printf##x
#else
#define DBG(x) (0)
#endif
/* XXX fail if XPT_DATA and !state->data_offset */
#define CHECK_COUNT_(cursor, space) \
/* if we're in the header, then exceeding the data_offset is illegal */ \
((cursor)->pool == XPT_HEADER ? \
(ENCODING(cursor) && \
((cursor)->state->data_offset && \
((cursor)->offset - 1 + (space) > (cursor)->state->data_offset)) \
? (DBG(("no space left in HEADER %d + %d > %d\n", (cursor)->offset, \
(space), (cursor)->state->data_offset)), PR_FALSE) \
: PR_TRUE) : \
/* if we're in the data area and we're about to exceed the allocation */ \
(CURS_POOL_OFFSET(cursor) + (space) > (cursor)->state->pool->allocated ? \
/* then grow if we're in ENCODE mode */ \
(ENCODING(cursor) ? GrowPool((cursor)->state->pool) \
/* and fail if we're in DECODE mode */ \
: (DBG(("can't extend in DECODE")), PR_FALSE)) \
/* otherwise we're OK */ \
: PR_TRUE))
#define CHECK_COUNT(cursor, space) \
(CHECK_COUNT_(cursor, space) \
? PR_TRUE \
: (PR_ASSERT(0), \
fprintf(stderr, "FATAL: can't no room for %d in cursor\n", space), \
PR_FALSE))
/* increase the data allocation for the pool by XPT_GROW_CHUNK */
#define XPT_GROW_CHUNK 8192
static PLHashNumber
null_hash(const void *key)
{
return (PLHashNumber)key;
}
XPT_PUBLIC_API(XPTState *)
XPT_NewXDRState(XPTMode mode, char *data, uint32 len)
{
XPTState *state;
state = PR_NEW(XPTState);
if (!state)
return NULL;
state->mode = mode;
state->pool = PR_NEW(XPTDatapool);
state->next_cursor[0] = state->next_cursor[1] = 1;
if (!state->pool)
goto err_free_state;
state->pool->count = 0;
state->pool->offset_map = PL_NewHashTable(32, null_hash, PL_CompareValues,
PL_CompareValues, NULL, NULL);
if (!state->pool->offset_map)
goto err_free_pool;
if (mode == XPT_DECODE) {
state->pool->data = data;
state->pool->allocated = len;
} else {
state->pool->data = PR_MALLOC(XPT_GROW_CHUNK);
if (!state->pool->data)
goto err_free_hash;
state->pool->allocated = XPT_GROW_CHUNK;
}
return state;
err_free_hash:
PL_HashTableDestroy(state->pool->offset_map);
err_free_pool:
PR_DELETE(state->pool);
err_free_state:
PR_DELETE(state);
return NULL;
}
XPT_PUBLIC_API(void)
XPT_DestroyXDRState(XPTState *state)
{
if (state->mode == XPT_ENCODE)
PR_DELETE(state->pool->data);
PR_DELETE(state->pool);
PR_DELETE(state);
}
XPT_PUBLIC_API(void)
XPT_GetXDRData(XPTState *state, XPTPool pool, char **data, uint32 *len)
{
if (pool == XPT_HEADER) {
*data = state->pool->data;
} else {
*data = state->pool->data + state->data_offset;
}
*len = state->next_cursor[pool] - 1;
}
/* All offsets are 1-based */
XPT_PUBLIC_API(void)
XPT_DataOffset(XPTState *state, uint32 *data_offsetp)
{
if (state->mode == XPT_DECODE)
XPT_SetDataOffset(state, *data_offsetp);
else
*data_offsetp = state->data_offset;
}
XPT_PUBLIC_API(void)
XPT_SetDataOffset(XPTState *state, uint32 data_offset)
{
state->data_offset = data_offset;
}
static PRBool
GrowPool(XPTDatapool *pool)
{
char *newdata = realloc(pool->data, pool->allocated + XPT_GROW_CHUNK);
if (!newdata)
return PR_FALSE;
pool->data = newdata;
pool->allocated += XPT_GROW_CHUNK;
return PR_TRUE;
}
XPT_PUBLIC_API(PRBool)
XPT_MakeCursor(XPTState *state, XPTPool pool, uint32 len, XPTCursor *cursor)
{
cursor->state = state;
cursor->pool = pool;
cursor->bits = 0;
cursor->offset = state->next_cursor[pool];
if (!CHECK_COUNT(cursor, len))
return PR_FALSE;
/* this check should be in CHECK_CURSOR */
if (pool == XPT_DATA && !state->data_offset) {
fprintf(stderr, "no data offset for XPT_DATA cursor!\n");
return PR_FALSE;
}
state->next_cursor[pool] += len;
return PR_TRUE;
}
XPT_PUBLIC_API(PRBool)
XPT_SeekTo(XPTCursor *cursor, uint32 offset)
{
/* XXX do some real checking and update len and stuff */
cursor->offset = offset;
return PR_TRUE;
}
XPT_PUBLIC_API(XPTString *)
XPT_NewString(uint16 length, char *bytes)
{
XPTString *str = PR_NEW(XPTString);
if (!str)
return NULL;
str->length = length;
str->bytes = malloc(length);
if (!str->bytes) {
PR_DELETE(str);
return NULL;
}
memcpy(str->bytes, bytes, length);
return str;
}
XPT_PUBLIC_API(XPTString *)
XPT_NewStringZ(char *bytes)
{
uint32 length = strlen(bytes);
if (length > 0xffff)
return NULL; /* too long */
return XPT_NewString((uint16)length, bytes);
}
XPT_PUBLIC_API(PRBool)
XPT_DoStringInline(XPTCursor *cursor, XPTString **strp)
{
XPTString *str = *strp;
XPTMode mode = cursor->state->mode;
int i;
if (mode == XPT_DECODE) {
str = PR_NEWZAP(XPTString);
if (!str)
return PR_FALSE;
*strp = str;
}
if (!XPT_Do16(cursor, &str->length))
goto error;
if (mode == XPT_DECODE)
if (!(str->bytes = malloc(str->length + 1)))
goto error;
for (i = 0; i < str->length; i++)
if (!XPT_Do8(cursor, &str->bytes[i]))
goto error_2;
if (mode == XPT_DECODE)
str->bytes[str->length] = 0;
return PR_TRUE;
error_2:
PR_DELETE(str->bytes);
error:
PR_DELETE(str);
return PR_FALSE;
}
XPT_PUBLIC_API(PRBool)
XPT_DoString(XPTCursor *cursor, XPTString **strp)
{
XPTCursor my_cursor;
XPTString *str = *strp;
PRBool already;
XPT_PREAMBLE_NO_ALLOC(cursor, strp, XPT_DATA, str->length + 2, my_cursor,
already);
return XPT_DoStringInline(&my_cursor, strp);
}
XPT_PUBLIC_API(PRBool)
XPT_DoCString(XPTCursor *cursor, char **identp)
{
XPTCursor my_cursor;
char *ident = *identp;
uint32 offset = 0;
XPTMode mode = cursor->state->mode;
if (mode == XPT_DECODE) {
char *start, *end;
int len;
if (!XPT_Do32(cursor, &offset))
return PR_FALSE;
if (!offset) {
*identp = NULL;
return PR_TRUE;
}
my_cursor.pool = XPT_DATA;
my_cursor.offset = offset;
my_cursor.state = cursor->state;
start = &CURS_POINT(&my_cursor);
end = strchr(start, 0); /* find the end of the string */
if (!end) {
fprintf(stderr, "didn't find end of string on decode!\n");
return PR_FALSE;
}
len = end - start;
ident = PR_MALLOC(len + 1);
if (!ident)
return PR_FALSE;
memcpy(ident, start, len);
ident[len] = 0;
*identp = ident;
} else {
if (!ident) {
offset = 0;
if (!XPT_Do32(cursor, &offset))
return PR_FALSE;
return PR_TRUE;
}
if (!XPT_MakeCursor(cursor->state, XPT_DATA, strlen(ident) + 1,
&my_cursor) ||
!XPT_Do32(cursor, &my_cursor.offset))
return PR_FALSE;
while(*ident)
if (!XPT_Do8(&my_cursor, ident++))
return PR_FALSE;
if (!XPT_Do8(&my_cursor, ident)) /* write trailing zero */
return PR_FALSE;
}
return PR_TRUE;
}
XPT_PUBLIC_API(uint32)
XPT_GetOffsetForAddr(XPTCursor *cursor, void *addr)
{
return (uint32)PL_HashTableLookup(cursor->state->pool->offset_map, addr);
}
XPT_PUBLIC_API(PRBool)
XPT_SetOffsetForAddr(XPTCursor *cursor, void *addr, uint32 offset)
{
return PL_HashTableAdd(cursor->state->pool->offset_map,
addr, (void *)offset) != NULL;
}
XPT_PUBLIC_API(PRBool)
XPT_SetAddrForOffset(XPTCursor *cursor, uint32 offset, void *addr)
{
return PL_HashTableAdd(cursor->state->pool->offset_map,
(void *)offset, addr) != NULL;
}
XPT_PUBLIC_API(void *)
XPT_GetAddrForOffset(XPTCursor *cursor, uint32 offset)
{
return PL_HashTableLookup(cursor->state->pool->offset_map, (void *)offset);
}
static PRBool
CheckForRepeat(XPTCursor *cursor, void **addrp, XPTPool pool, int len,
XPTCursor *new_cursor, PRBool *already)
{
void *last = *addrp;
*already = PR_FALSE;
new_cursor->state = cursor->state;
new_cursor->pool = pool;
new_cursor->bits = 0;
if (cursor->state->mode == XPT_DECODE) {
last = XPT_GetAddrForOffset(new_cursor, new_cursor->offset);
if (last) {
*already = PR_TRUE;
*addrp = last;
}
} else {
new_cursor->offset = XPT_GetOffsetForAddr(new_cursor, last);
if (new_cursor->offset) {
*already = PR_TRUE;
return PR_TRUE;
}
/* haven't already found it, so allocate room for it. */
if (!XPT_MakeCursor(cursor->state, pool, len, new_cursor) ||
!XPT_SetOffsetForAddr(new_cursor, *addrp, new_cursor->offset))
return PR_FALSE;
}
return PR_TRUE;
}
/*
* IIDs are written in struct order, in the usual big-endian way. From the
* typelib file spec:
*
* "For example, this IID:
* {00112233-4455-6677-8899-aabbccddeeff}
* is converted to the 128-bit value
* 0x00112233445566778899aabbccddeeff
* Note that the byte storage order corresponds to the layout of the nsIID
* C-struct on a big-endian architecture."
*
* (http://www.mozilla.org/scriptable/typelib_file.html#iid)
*/
XPT_PUBLIC_API(PRBool)
XPT_DoIID(XPTCursor *cursor, nsID *iidp)
{
int i;
if (!XPT_Do32(cursor, &iidp->m0) ||
!XPT_Do16(cursor, &iidp->m1) ||
!XPT_Do16(cursor, &iidp->m2))
return PR_FALSE;
for (i = 0; i < 8; i++)
if (!XPT_Do8(cursor, &iidp->m3[i]))
return PR_FALSE;
return PR_TRUE;
}
XPT_PUBLIC_API(PRBool)
XPT_Do64(XPTCursor *cursor, PRInt64 *u64p)
{
return XPT_Do32(cursor, (uint32 *)u64p) &&
XPT_Do32(cursor, ((uint32 *)u64p) + 1);
}
/*
* When we're writing 32- or 16-bit quantities, we write a byte at a time to
* avoid alignment issues. Someone could come and optimize this to detect
* well-aligned cases and do a single store, if they cared. I might care
* later.
*/
XPT_PUBLIC_API(PRBool)
XPT_Do32(XPTCursor *cursor, uint32 *u32p)
{
union {
uint8 b8[4];
uint32 b32;
} u;
if (!CHECK_COUNT(cursor, 4))
return PR_FALSE;
if (ENCODING(cursor)) {
u.b32 = XPT_SWAB32(*u32p);
CURS_POINT(cursor) = u.b8[0];
cursor->offset++;
CURS_POINT(cursor) = u.b8[1];
cursor->offset++;
CURS_POINT(cursor) = u.b8[2];
cursor->offset++;
CURS_POINT(cursor) = u.b8[3];
} else {
u.b8[0] = CURS_POINT(cursor);
cursor->offset++;
u.b8[1] = CURS_POINT(cursor);
cursor->offset++;
u.b8[2] = CURS_POINT(cursor);
cursor->offset++;
u.b8[3] = CURS_POINT(cursor);
*u32p = XPT_SWAB32(u.b32);
}
cursor->offset++;
return PR_TRUE;
}
XPT_PUBLIC_API(PRBool)
XPT_Do16(XPTCursor *cursor, uint16 *u16p)
{
union {
uint8 b8[2];
uint16 b16;
} u;
if (!CHECK_COUNT(cursor, 2))
return PR_FALSE;
if (ENCODING(cursor)) {
u.b16 = XPT_SWAB16(*u16p);
CURS_POINT(cursor) = u.b8[0];
cursor->offset++;
CURS_POINT(cursor) = u.b8[1];
} else {
u.b8[0] = CURS_POINT(cursor);
cursor->offset++;
u.b8[1] = CURS_POINT(cursor);
*u16p = XPT_SWAB16(u.b16);
}
cursor->offset++;
return PR_TRUE;
}
XPT_PUBLIC_API(PRBool)
XPT_Do8(XPTCursor *cursor, uint8 *u8p)
{
if (!CHECK_COUNT(cursor, 1))
return PR_FALSE;
if (cursor->state->mode == XPT_ENCODE)
CURS_POINT(cursor) = *u8p;
else
*u8p = CURS_POINT(cursor);
cursor->offset++;
return PR_TRUE;
}
static PRBool
do_bit(XPTCursor *cursor, uint8 *u8p, int bitno)
{
return PR_FALSE;
#if 0
int bit_value, delta, new_value;
XPTDatapool *pool = cursor->pool;
if (cursor->state->mode == XPT_ENCODE) {
bit_value = (*u8p & 1) << (bitno); /* 7 = 0100 0000, 6 = 0010 0000 */
if (bit_value) {
delta = pool->bit + (bitno) - 7;
new_value = delta >= 0 ? bit_value >> delta : bit_value << -delta;
pool->data[pool->count] |= new_value;
}
} else {
bit_value = pool->data[pool->count] & (1 << (7 - pool->bit));
*u8p = bit_value >> (7 - pool->bit);
}
if (++pool->bit == 8) {
pool->count++;
pool->bit = 0;
}
return CHECK_COUNT(cursor);
#endif
}
XPT_PUBLIC_API(PRBool)
XPT_DoBits(XPTCursor *cursor, uint8 *u8p, int nbits)
{
#define DO_BIT(cursor, u8p, nbits) \
if (!do_bit(cursor, u8p, nbits)) \
return PR_FALSE;
switch(nbits) {
case 7:
DO_BIT(cursor, u8p, 7);
case 6:
DO_BIT(cursor, u8p, 6);
case 5:
DO_BIT(cursor, u8p, 5);
case 4:
DO_BIT(cursor, u8p, 4);
case 3:
DO_BIT(cursor, u8p, 3);
case 2:
DO_BIT(cursor, u8p, 2);
case 1:
DO_BIT(cursor, u8p, 1);
default:;
};
#undef DO_BIT
return PR_TRUE;
}
XPT_PUBLIC_API(int)
XPT_FlushBits(XPTCursor *cursor)
{
return 0;
#if 0
cursor->bits = 0;
cursor->offset++;
if (!CHECK_COUNT(cursor))
return -1;
return skipped == 8 ? 0 : skipped;
#endif
}

View File

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

View File

@@ -0,0 +1,133 @@
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/* Test the xdr primitives from xpt_xdr.c */
#include "xpt_xdr.h"
#include <stdio.h>
#define PASS(msg) \
fprintf(stderr, "PASSED : %s\n", msg);
#define FAIL(msg) \
fprintf(stderr, "FAILURE: %s\n", msg);
#define TRY_(msg, cond, silent) \
if ((cond) && !silent) { \
PASS(msg); \
} else { \
FAIL(msg); \
return 1; \
}
#define TRY(msg, cond) TRY_(msg, cond, 0)
#define TRY_Q(msg, cond) TRY_(msg, cond, 1);
XPTString in_str = { 4, "bazz" };
struct TestData {
uint32 bit32;
uint16 bit16;
uint8 bit8[2];
char *cstr;
XPTString *str;
} input = { 0xdeadbeef, 0xcafe, {0xba, 0xbe}, "foobar", &in_str},
output = {0, 0, {0, 0}, NULL, NULL };
void
dump_struct(char *label, struct TestData *str)
{
fprintf(stderr, "%s: {%#08x, %#04x, {%#02x, %#02x}, %s, %d/%s}\n",
label, str->bit32, str->bit16, str->bit8[0], str->bit8[1],
str->cstr, str->str->length, str->str->bytes);
}
PRBool
XDR(XPTCursor *cursor, struct TestData *str)
{
TRY("Do32", XPT_Do32(cursor, &str->bit32));
TRY("Do16", XPT_Do16(cursor, &str->bit16));
TRY("Do8", XPT_Do8 (cursor, &str->bit8[0]));
TRY("Do8", XPT_Do8 (cursor, &str->bit8[1]));
TRY("DoCString", XPT_DoCString(cursor, &str->cstr));
TRY("DoString", XPT_DoString(cursor, &str->str));
return 0;
}
int
main(int argc, char **argv)
{
XPTState *state;
XPTCursor curs, *cursor = &curs;
char *header, *data, *whole;
uint32 hlen, dlen, i;
TRY("NewState (ENCODE)", (state = XPT_NewXDRState(XPT_ENCODE, NULL, 0)));
XPT_SetDataOffset(state, sizeof input);
TRY("MakeCursor", XPT_MakeCursor(state, XPT_HEADER, sizeof input, cursor));
dump_struct("before", &input);
if (XDR(cursor, &input))
return 1;
fprintf(stderr, "ENCODE successful\n");
XPT_GetXDRData(state, XPT_HEADER, &header, &hlen);
fprintf(stderr, "XDR header %d bytes at %p:",
hlen, header);
for (i = 0; i < hlen; i++)
fprintf(stderr, "%c%02x", i ? ',' : ' ', (uint8)header[i]);
fprintf(stderr, "\n");
XPT_GetXDRData(state, XPT_DATA, &data, &dlen);
fprintf(stderr, "XDR data %d bytes at %p:",
dlen, data);
for (i = 0; i < dlen; i++)
fprintf(stderr, "%c%02x/%c", i ? ',' : ' ', (uint8)data[i],
(uint8)data[i]);
fprintf(stderr, "\n");
whole = malloc(dlen + hlen);
if (!whole) {
fprintf(stderr, "malloc %d failed!\n", dlen + hlen);
return 1;
}
/* TRY_Q("malloc", (data2 = malloc(len))); */
memcpy(whole, header, hlen);
memcpy(whole + hlen, data, dlen);
XPT_DestroyXDRState(state);
TRY("NewState (DECODE)", (state = XPT_NewXDRState(XPT_DECODE, whole,
hlen + dlen)));
TRY("MakeCursor", XPT_MakeCursor(state, XPT_HEADER, sizeof input, cursor));
XPT_SetDataOffset(state, sizeof input);
if (XDR(cursor, &output))
return 1;
dump_struct("after", &output);
XPT_DestroyXDRState(state);
free(whole);
return 0;
}

View File

@@ -0,0 +1,149 @@
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/* Test the structure creation and serialization APIs from xpt_struct.c */
#include "xpt_xdr.h"
#include "xpt_struct.h"
#define PASS(msg) \
fprintf(stderr, "PASSED : %s\n", msg);
#define FAIL(msg) \
fprintf(stderr, "FAILURE: %s\n", msg);
#define TRY_(msg, cond, silent) \
if ((cond) && !silent) { \
PASS(msg); \
} else { \
FAIL(msg); \
return 1; \
}
#define TRY(msg, cond) TRY_(msg, cond, 0)
#define TRY_Q(msg, cond) TRY_(msg, cond, 1);
struct nsID iid = {
0x00112233,
0x4455,
0x6677,
{0x88, 0x99, 0xaa, 0xbb, 0xcc, 0xdd, 0xee, 0xff}
};
XPTTypeDescriptor td_void = { TD_VOID };
int
main(int argc, char **argv)
{
XPTHeader *header;
XPTAnnotation *ann;
XPTInterfaceDescriptor *id;
XPTMethodDescriptor *meth;
XPTState *state;
XPTCursor curs, *cursor = &curs;
char *data, *head;
FILE *out;
uint32 len, header_sz;
PRBool ok;
if (argc != 2) {
fprintf(stderr, "Usage: %s <filename.xpt>\n"
" Creates a simple typelib file.\n", argv[0]);
return 1;
}
/* construct a header */
header = XPT_NewHeader(1);
TRY("NewHeader", header);
ann = XPT_NewAnnotation(XPT_ANN_LAST | XPT_ANN_PRIVATE,
XPT_NewStringZ("SimpleTypeLib 1.0"),
XPT_NewStringZ("See You In Rome"));
TRY("NewAnnotation", ann);
header->annotations = ann;
header_sz = XPT_SizeOfHeaderBlock(header);
id = XPT_NewInterfaceDescriptor(0xdead, 2, 2);
TRY("NewInterfaceDescriptor", id);
ok = XPT_FillInterfaceDirectoryEntry(header->interface_directory, &iid,
"Interface", "NS", id);
TRY("FillInterfaceDirectoryEntry", ok);
/* void method1(void) */
meth = &id->method_descriptors[0];
ok = XPT_FillMethodDescriptor(meth, 0, "method1", 0);
TRY("FillMethodDescriptor", ok);
meth->result->flags = 0;
meth->result->type.prefix.flags = TD_VOID;
/* wstring method2(in uint32, in bool) */
meth = &id->method_descriptors[1];
ok = XPT_FillMethodDescriptor(meth, 0, "method2", 2);
TRY("FillMethodDescriptor", ok);
meth->result->flags = 0;
meth->result->type.prefix.flags = TD_PBSTR | XPT_TDP_POINTER;
meth->params[0].type.prefix.flags = TD_UINT32;
meth->params[0].flags = XPT_PD_IN;
meth->params[1].type.prefix.flags = TD_BOOL;
meth->params[1].flags = XPT_PD_IN;
/* const one = 1; */
id->const_descriptors[0].name = "one";
id->const_descriptors[0].type.prefix.flags = TD_UINT16;
id->const_descriptors[0].value.ui16 = 1;
/* const squeamish = "ossifrage"; */
id->const_descriptors[1].name = "squeamish";
id->const_descriptors[1].type.prefix.flags = TD_PBSTR | XPT_TDP_POINTER;
id->const_descriptors[1].value.string = XPT_NewStringZ("ossifrage");
/* serialize it */
state = XPT_NewXDRState(XPT_ENCODE, NULL, 0);
TRY("NewState (ENCODE)", state);
ok = XPT_MakeCursor(state, XPT_HEADER, header_sz, cursor);
TRY("MakeCursor", ok);
ok = XPT_DoHeader(cursor, &header);
TRY("DoHeader", ok);
out = fopen(argv[1], "w");
if (!out) {
perror("FAILED: fopen");
return 1;
}
XPT_GetXDRData(state, XPT_HEADER, &head, &len);
fwrite(head, len, 1, out);
XPT_GetXDRData(state, XPT_DATA, &data, &len);
fwrite(data, len, 1, out);
fclose(out);
XPT_DestroyXDRState(state);
/* XXX DestroyHeader */
return 0;
}

View File

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

View File

@@ -0,0 +1,673 @@
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/*
* A utility for dumping the contents of a typelib file (.xpt) to screen
*/
#include "xpt_xdr.h"
#include <stdio.h>
#include <sys/stat.h>
#include <unistd.h>
#include <string.h>
#include "prprf.h"
#define BASE_INDENT 3
static char *type_array[20] = {"int8", "int16", "int32", "int64",
"uint8", "uint16", "uint32", "uint64",
"float", "double", "boolean", "char",
"wchar_t", "void", "reserved", "reserved",
"reserved", "reserved", "Interface *",
"InterfaceIs *"};
static char *ptype_array[18] = {"int8 *", "int16 *", "int32 *", "int64 *",
"uint8 *", "uint16 *", "uint32 *", "uint64 *",
"float *", "double *", "boolean *", "char *",
"wchar_t *", "void *", "nsIID **", "bstr",
"string", "wstring"};
PRBool
XPT_DumpHeader(XPTHeader *header, const int indent, PRBool verbose_mode);
PRBool
XPT_DumpAnnotations(XPTAnnotation *ann, const int indent, PRBool verbose_mode);
PRBool
XPT_DumpInterfaceDirectoryEntry(XPTInterfaceDirectoryEntry *ide,
const int indent, PRBool verbose_mode);
PRBool
XPT_DumpInterfaceDescriptor(XPTInterfaceDescriptor *id, const int indent,
PRBool verbose_mode);
PRBool
XPT_DumpMethodDescriptor(XPTMethodDescriptor *md, const int indent,
PRBool verbose_mode);
PRBool
XPT_GetStringForType(XPTTypeDescriptor *td, char **type_string);
PRBool
XPT_DumpXPTString(XPTString *str);
PRBool
XPT_DumpParamDescriptor(XPTParamDescriptor *pd, const int indent,
PRBool verbose_mode);
PRBool
XPT_DumpTypeDescriptor(XPTTypeDescriptor *td, int indent,
PRBool verbose_mode);
PRBool
XPT_DumpConstDescriptor(XPTConstDescriptor *cd, const int indent,
PRBool verbose_mode);
static void
xpt_dump_usage(char *argv[]) {
fprintf(stdout, "Usage: %s [-v] <filename.xpt>\n"
" -v verbose mode\n", argv[0]);
}
int
main(int argc, char **argv)
{
PRBool verbose_mode = PR_FALSE;
XPTState *state;
XPTCursor curs, *cursor = &curs;
XPTHeader *header;
struct stat file_stat;
int flen;
char *whole;
FILE *in;
switch (argc) {
case 2:
if (argv[1][0] == '-') {
xpt_dump_usage(argv);
return 1;
}
if (stat(argv[1], &file_stat) != 0) {
perror("FAILED: fstat");
return 1;
}
flen = file_stat.st_size;
in = fopen(argv[1], "r");
break;
case 3:
verbose_mode = PR_TRUE;
if (argv[1][0] != '-' || argv[1][1] != 'v') {
xpt_dump_usage(argv);
return 1;
}
if (stat(argv[2], &file_stat) != 0) {
perror("FAILED: fstat");
return 1;
}
flen = file_stat.st_size;
in = fopen(argv[2], "r");
break;
default:
xpt_dump_usage(argv);
return 1;
}
if (!in) {
perror("FAILED: fopen");
return 1;
}
whole = malloc(flen);
if (!whole) {
perror("FAILED: malloc for whole");
return 1;
}
if (flen > 0) {
fread(whole, flen, 1, in);
state = XPT_NewXDRState(XPT_DECODE, whole, flen);
if (!XPT_MakeCursor(state, XPT_HEADER, 0, cursor)) {
fprintf(stdout, "MakeCursor failed\n");
return 1;
}
if (!XPT_DoHeader(cursor, &header)) {
fprintf(stdout, "DoHeader failed\n");
return 1;
}
if (!XPT_DumpHeader(header, BASE_INDENT, verbose_mode)) {
perror("FAILED: XPT_DumpHeader");
return 1;
}
XPT_DestroyXDRState(state);
free(whole);
}
fclose(in);
return 0;
}
PRBool
XPT_DumpHeader(XPTHeader *header, const int indent, PRBool verbose_mode)
{
int i;
fprintf(stdout, "Header:\n");
if (verbose_mode) {
fprintf(stdout, "%*sMagic beans: ", indent, " ");
for (i=0; i<16; i++) {
fprintf(stdout, "%02x", header->magic[i]);
}
fprintf(stdout, "\n");
if (strncmp(header->magic, XPT_MAGIC, 16) == 0)
fprintf(stdout, "%*s PASSED\n", indent, " ");
else
fprintf(stdout, "%*s FAILED\n", indent, " ");
}
fprintf(stdout, "%*sMajor version: %d\n", indent, " ",
header->major_version);
fprintf(stdout, "%*sMinor version: %d\n", indent, " ",
header->minor_version);
fprintf(stdout, "%*sNumber of interfaces: %d\n", indent, " ",
header->num_interfaces);
if (verbose_mode) {
fprintf(stdout, "%*sFile length: %d\n", indent, " ",
header->file_length);
fprintf(stdout, "%*sData pool offset: %d\n\n", indent, " ",
header->data_pool);
}
fprintf(stdout, "%*sAnnotations:\n", indent, " ");
if (!XPT_DumpAnnotations(header->annotations, indent*2, verbose_mode))
return PR_FALSE;
fprintf(stdout, "\nInterface Directory:\n");
for (i=0; i<header->num_interfaces; i++) {
if (verbose_mode) {
fprintf(stdout, "%*sInterface #%d:\n", indent, " ", i);
if (!XPT_DumpInterfaceDirectoryEntry(&header->interface_directory[i], indent*2, verbose_mode)) {
return PR_FALSE;
}
} else {
if (!XPT_DumpInterfaceDirectoryEntry(&header->interface_directory[i], indent, verbose_mode)) {
return PR_FALSE;
}
}
}
return PR_TRUE;
}
PRBool
XPT_DumpAnnotations(XPTAnnotation *ann, const int indent, PRBool verbose_mode)
{
int i = -1;
XPTAnnotation *last;
int new_indent = indent + BASE_INDENT;
do {
i++;
if (XPT_ANN_IS_PRIVATE(ann->flags)) {
if (verbose_mode) {
fprintf(stdout, "%*sAnnotation #%d is private.\n",
indent, " ", i);
} else {
fprintf(stdout, "%*sAnnotation #%d:\n",
indent, " ", i);
}
fprintf(stdout, "%*sCreator: ", new_indent, " ");
if (!XPT_DumpXPTString(ann->creator))
return PR_FALSE;
fprintf(stdout, "\n");
fprintf(stdout, "%*sPrivate Data: ", new_indent, " ");
if (!XPT_DumpXPTString(ann->private_data))
return PR_FALSE;
fprintf(stdout, "\n");
} else {
fprintf(stdout, "%*sAnnotation #%d is empty.\n",
indent, " ", i);
}
last = ann;
ann = ann->next;
} while (!XPT_ANN_IS_LAST(last->flags));
if (verbose_mode) {
fprintf(stdout, "%*sAnnotation #%d is the last annotation.\n",
indent, " ", i);
}
return PR_TRUE;
}
static void
print_IID(struct nsID *iid, FILE *file)
{
fprintf(file, "%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x",
(PRUint32) iid->m0, (PRUint32) iid->m1,(PRUint32) iid->m2,
(PRUint32) iid->m3[0], (PRUint32) iid->m3[1],
(PRUint32) iid->m3[2], (PRUint32) iid->m3[3],
(PRUint32) iid->m3[4], (PRUint32) iid->m3[5],
(PRUint32) iid->m3[6], (PRUint32) iid->m3[7]);
}
PRBool
XPT_DumpInterfaceDirectoryEntry(XPTInterfaceDirectoryEntry *ide,
const int indent, PRBool verbose_mode)
{
int new_indent = indent + BASE_INDENT;
if (verbose_mode) {
fprintf(stdout, "%*sIID: ", indent, " ");
print_IID(&ide->iid, stdout);
fprintf(stdout, "\n");
fprintf(stdout, "%*sName: %s\n",
indent, " ", ide->name);
fprintf(stdout, "%*sNamespace: %s\n",
indent, " ", ide->name_space);
fprintf(stdout, "%*sAddress of interface descriptor: %p\n",
indent, " ", ide->interface_descriptor);
fprintf(stdout, "%*sDescriptor:\n", indent, " ");
if (!XPT_DumpInterfaceDescriptor(ide->interface_descriptor,
new_indent, verbose_mode)) {
return PR_FALSE;
}
} else {
fprintf(stdout, "%*s- %s::%s (", indent, " ",
ide->name_space ? ide->name_space : "", ide->name);
print_IID(&ide->iid, stdout);
fprintf(stdout, "):\n");
if (!XPT_DumpInterfaceDescriptor(ide->interface_descriptor,
new_indent, verbose_mode)) {
return PR_FALSE;
}
}
return PR_TRUE;
}
PRBool
XPT_DumpInterfaceDescriptor(XPTInterfaceDescriptor *id, const int indent,
PRBool verbose_mode)
{
int i;
int new_indent = indent + BASE_INDENT;
int more_indent = new_indent + BASE_INDENT;
if (!id) {
fprintf(stdout, "%*s[Unresolved]\n", indent, " ");
return PR_TRUE;
}
if (verbose_mode) {
fprintf(stdout, "%*sOffset of parent interface (in data pool): %p\n",
indent, " ", id->parent_interface);
fprintf(stdout, "%*s# of Method Descriptors: %d\n",
indent, " ", id->num_methods);
} else {
fprintf(stdout, "%*sMethods:\n", indent, " ");
}
if (id->num_methods == 0) {
fprintf(stdout, "%*sNo Methods\n", new_indent, " ");
} else {
for (i=0; i<id->num_methods; i++) {
if (verbose_mode) {
fprintf(stdout, "%*sMethod #%d:\n", new_indent, " ", i);
if (!XPT_DumpMethodDescriptor(&id->method_descriptors[i],
more_indent, verbose_mode))
return PR_FALSE;
} else {
if (!XPT_DumpMethodDescriptor(&id->method_descriptors[i],
new_indent, verbose_mode))
return PR_FALSE;
}
}
}
if (verbose_mode) {
fprintf(stdout, "%*s# of Constant Descriptors: %d\n",
indent, " ", id->num_constants);
for (i=0; i<id->num_constants; i++) {
fprintf(stdout, "%*sConstant #%d:\n", new_indent, " ", i);
if (!XPT_DumpConstDescriptor(&id->const_descriptors[i],
more_indent, verbose_mode))
return PR_FALSE;
}
} else {
fprintf(stdout, "%*sConstants:\n", indent, " ");
for (i=0; i<id->num_constants; i++) {
if (!XPT_DumpConstDescriptor(&id->const_descriptors[i],
new_indent, verbose_mode))
return PR_FALSE;
}
}
return PR_TRUE;
}
PRBool
XPT_DumpMethodDescriptor(XPTMethodDescriptor *md, const int indent,
PRBool verbose_mode)
{
int i;
int new_indent = indent + BASE_INDENT;
int more_indent = new_indent + BASE_INDENT;
if (verbose_mode) {
fprintf(stdout, "%*sName: %s\n", indent, " ", md->name);
fprintf(stdout, "%*sIs Getter? ", indent, " ");
if (XPT_MD_IS_GETTER(md->flags))
fprintf(stdout, "TRUE\n");
else
fprintf(stdout, "FALSE\n");
fprintf(stdout, "%*sIs Setter? ", indent, " ");
if (XPT_MD_IS_SETTER(md->flags))
fprintf(stdout, "TRUE\n");
else
fprintf(stdout, "FALSE\n");
fprintf(stdout, "%*sIs Varargs? ", indent, " ");
if (XPT_MD_IS_VARARGS(md->flags))
fprintf(stdout, "TRUE\n");
else
fprintf(stdout, "FALSE\n");
fprintf(stdout, "%*sIs Constructor? ", indent, " ");
if (XPT_MD_IS_CTOR(md->flags))
fprintf(stdout, "TRUE\n");
else
fprintf(stdout, "FALSE\n");
fprintf(stdout, "%*sIs Hidden? ", indent, " ");
if (XPT_MD_IS_HIDDEN(md->flags))
fprintf(stdout, "TRUE\n");
else
fprintf(stdout, "FALSE\n");
fprintf(stdout, "%*s# of arguments: %d\n", indent, " ", md->num_args);
fprintf(stdout, "%*sParameter Descriptors:\n", indent, " ");
for (i=0; i<md->num_args; i++) {
fprintf(stdout, "%*sParameter #%d:\n", new_indent, " ", i);
if (!XPT_DumpParamDescriptor(&md->params[i], more_indent,
verbose_mode))
return PR_FALSE;
}
fprintf(stdout, "%*sResult:\n", indent, " ");
if (!XPT_DumpParamDescriptor(md->result, new_indent, verbose_mode)) {
return PR_FALSE;
}
} else {
char *param_type;
XPTParamDescriptor *pd;
if (!XPT_GetStringForType(&md->result->type, &param_type)) {
return PR_FALSE;
}
fprintf(stdout, "%*s%s %s(", indent, " ", param_type, md->name);
for (i=0; i<md->num_args; i++) {
if (i!=0) {
fprintf(stdout, ", ");
}
pd = &md->params[i];
if (XPT_PD_IS_IN(pd->flags)) {
fprintf(stdout, "in");
if (XPT_PD_IS_OUT(pd->flags)) {
fprintf(stdout, "/out ");
if (XPT_PD_IS_RETVAL(pd->flags)) {
fprintf(stdout, "retval ");
}
} else {
fprintf(stdout, " ");
}
} else {
if (XPT_PD_IS_OUT(pd->flags)) {
fprintf(stdout, "out ");
if (XPT_PD_IS_RETVAL(pd->flags)) {
fprintf(stdout, "retval ");
}
}
}
if (!XPT_GetStringForType(&pd->type, &param_type)) {
return PR_FALSE;
}
fprintf(stdout, "%s", param_type);
}
fprintf(stdout, ");\n");
}
return PR_TRUE;
}
PRBool
XPT_GetStringForType(XPTTypeDescriptor *td, char **type_string)
{
int tag = XPT_TDP_TAG(td->prefix);
if (XPT_TDP_IS_POINTER(td->prefix.flags)) {
*type_string = ptype_array[tag];
} else {
*type_string = type_array[tag];
}
return PR_TRUE;
}
PRBool
XPT_DumpXPTString(XPTString *str)
{
int i;
for (i=0; i<str->length; i++) {
fprintf(stdout, "%c", str->bytes[i]);
}
return PR_TRUE;
}
PRBool
XPT_DumpParamDescriptor(XPTParamDescriptor *pd, const int indent,
PRBool verbose_mode)
{
int new_indent = indent + BASE_INDENT;
fprintf(stdout, "%*sIn Param? ", indent, " ");
if (XPT_PD_IS_IN(pd->flags))
fprintf(stdout, "TRUE\n");
else
fprintf(stdout, "FALSE\n");
fprintf(stdout, "%*sOut Param? ", indent, " ");
if (XPT_PD_IS_OUT(pd->flags))
fprintf(stdout, "TRUE\n");
else
fprintf(stdout, "FALSE\n");
fprintf(stdout, "%*sRetval? ", indent, " ");
if (XPT_PD_IS_RETVAL(pd->flags))
fprintf(stdout, "TRUE\n");
else
fprintf(stdout, "FALSE\n");
fprintf(stdout, "%*sType Descriptor:\n", indent, " ");
if (!XPT_DumpTypeDescriptor(&pd->type, new_indent, verbose_mode))
return PR_FALSE;
return PR_TRUE;
}
PRBool
XPT_DumpTypeDescriptor(XPTTypeDescriptor *td, int indent, PRBool verbose_mode)
{
int new_indent = indent + BASE_INDENT;
fprintf(stdout, "%*sIs Pointer? ", indent, " ");
if (XPT_TDP_IS_POINTER(td->prefix.flags))
fprintf(stdout, "TRUE\n");
else
fprintf(stdout, "FALSE\n");
fprintf(stdout, "%*sIs Unique Pointer? ", indent, " ");
if (XPT_TDP_IS_UNIQUE_POINTER(td->prefix.flags))
fprintf(stdout, "TRUE\n");
else
fprintf(stdout, "FALSE\n");
fprintf(stdout, "%*sIs Reference? ", indent, " ");
if (XPT_TDP_IS_REFERENCE(td->prefix.flags))
fprintf(stdout, "TRUE\n");
else
fprintf(stdout, "FALSE\n");
fprintf(stdout, "%*sTag: %d\n", indent, " ",
XPT_TDP_TAG(td->prefix));
if (XPT_TDP_TAG(td->prefix) == TD_INTERFACE_TYPE) {
fprintf(stdout, "%*sInterfaceTypeDescriptor:\n", indent, " ");
fprintf(stdout, "%*sIndex of IDE: %d\n", new_indent, " ",
td->type.interface);
}
if (XPT_TDP_TAG(td->prefix) == TD_INTERFACE_IS_TYPE) {
fprintf(stdout, "%*sInterfaceTypeDescriptor:\n", indent, " ");
fprintf(stdout, "%*sIndex of Method Argument: %d\n", new_indent, " ",
td->type.argnum);
}
return PR_TRUE;
}
PRBool
XPT_DumpConstDescriptor(XPTConstDescriptor *cd, const int indent, PRBool verbose_mode)
{
int new_indent = indent + BASE_INDENT;
char *out, *const_type;
if (verbose_mode) {
fprintf(stdout, "%*sName: %s\n", indent, " ", cd->name);
fprintf(stdout, "%*sType Descriptor: \n", indent, " ");
if (!XPT_DumpTypeDescriptor(&cd->type, new_indent, verbose_mode))
return PR_FALSE;
fprintf(stdout, "%*sValue: ", indent, " ");
} else {
if (!XPT_GetStringForType(&cd->type, &const_type)) {
return PR_FALSE;
}
fprintf(stdout, "%*s%s %s = ", indent, " ", const_type, cd->name);
}
switch(XPT_TDP_TAG(cd->type.prefix)) {
case TD_INT8:
fprintf(stdout, "%d", cd->value.i8);
break;
case TD_INT16:
fprintf(stdout, "%d", cd->value.i16);
break;
case TD_INT32:
fprintf(stdout, "%d", cd->value.i32);
break;
case TD_INT64:
out = PR_smprintf("%lld", cd->value.i64);
fputs(out, stdout);
PR_smprintf_free(out);
break;
case TD_UINT8:
fprintf(stdout, "%d", cd->value.ui8);
break;
case TD_UINT16:
fprintf(stdout, "%d", cd->value.ui16);
break;
case TD_UINT32:
fprintf(stdout, "%d", cd->value.ui32);
break;
case TD_UINT64:
out = PR_smprintf("%lld", cd->value.ui64);
fputs(out, stdout);
PR_smprintf_free(out);
break;
case TD_FLOAT:
fprintf(stdout, "%f", cd->value.flt);
break;
case TD_DOUBLE:
fprintf(stdout, "%g", cd->value.dbl);
break;
case TD_BOOL:
if (cd->value.bul)
fprintf(stdout, "TRUE");
else
fprintf(stdout, "FALSE");
break;
case TD_CHAR:
fprintf(stdout, "%c", cd->value.ch);
break;
case TD_WCHAR:
fprintf(stdout, "%c", cd->value.wch & 0xff);
break;
case TD_VOID:
fprintf(stdout, "VOID");
break;
case TD_PNSIID:
if (XPT_TDP_IS_POINTER(cd->type.prefix.flags)) {
print_IID(cd->value.iid, stdout);
} else
return PR_FALSE;
break;
case TD_PBSTR:
if (XPT_TDP_IS_POINTER(cd->type.prefix.flags)) {
if (!XPT_DumpXPTString(cd->value.string))
return PR_FALSE;
} else
return PR_FALSE;
break;
case TD_PSTRING:
if (XPT_TDP_IS_POINTER(cd->type.prefix.flags)) {
fprintf(stdout, "%s", cd->value.str);
} else
return PR_FALSE;
break;
case TD_PWSTRING:
if (XPT_TDP_IS_POINTER(cd->type.prefix.flags)) {
PRUint16 *ch = cd->value.wstr;
while (*ch) {
fprintf(stdout, "%c", *ch & 0xff);
ch++;
}
} else
return PR_FALSE;
break;
default:
perror("Unrecognized type");
return PR_FALSE;
break;
}
if (verbose_mode) {
fprintf(stdout, "\n");
} else {
fprintf(stdout, ";\n");
}
return PR_TRUE;
}

View File

@@ -0,0 +1,27 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
//
// xpcom.Prefix
//
// Global prefix file for the xpcom project.
//
//
#include "MacPrefix.h"
#include "xpcomConfig.h"

View File

@@ -0,0 +1,102 @@
#ToString__4nsIDCFv # nsID::ToString() const
Parse__4nsIDFPc # nsID::Parse(char*)
#__vt__5IDKey # IDKey::__vt
#monitor__12nsRepository # nsRepository::monitor
#factories__12nsRepository # nsRepository::factories
#HashValue__5IDKeyCFv # IDKey::HashValue() const
#Equals__5IDKeyCFPC9nsHashKey # IDKey::Equals(const nsHashKey*) const
#Clone__5IDKeyCFv # IDKey::Clone() const
FreeLibraries__12nsRepositoryFv # nsRepository::FreeLibraries()
UnregisterFactory__12nsRepositoryFRC4nsIDPCc # nsRepository::UnregisterFactory(const nsID&,const char*)
UnregisterFactory__12nsRepositoryFRC4nsIDP10nsIFactory # nsRepository::UnregisterFactory(const nsID&,nsIFactory*)
RegisterFactory__12nsRepositoryFRC4nsIDPCcii # nsRepository::RegisterFactory(const nsID&,const char*,int,int)
RegisterFactory__12nsRepositoryFRC4nsIDP10nsIFactoryi # nsRepository::RegisterFactory(const nsID&,nsIFactory*,int)
#CreateInstance2__12nsRepositoryFRC4nsIDP11nsISupportsRC4nsIDPvPPv # nsRepository::CreateInstance2(const nsID&,nsISupports*,const nsID&,void*,void**)
CreateInstance__12nsRepositoryFRC4nsIDP11nsISupportsRC4nsIDPPv # nsRepository::CreateInstance(const nsID&,nsISupports*,const nsID&,void**)
#Initialize__12nsRepositoryFv # nsRepository::Initialize()
#checkInitialized__12nsRepositoryFv # nsRepository::checkInitialized()
#__dt__5IDKeyFv # IDKey::~IDKey()
FindFactory__12nsRepositoryFRC4nsIDPP10nsIFactory # nsRepository::FindFactory(const nsID&,nsIFactory**)
#__vt__9nsHashKey # nsHashKey::__vt
Enumerate__11nsHashtableFPFP9nsHashKeyPvPv_iPv # nsHashtable::Enumerate(int (*)(nsHashKey*, void*))
Clone__11nsHashtableFv # nsHashtable::Clone()
Reset__11nsHashtableFv # nsHashtable::Reset()
Remove__11nsHashtableFP9nsHashKey # nsHashtable::Remove(nsHashKey*)
Get__11nsHashtableFP9nsHashKey # nsHashtable::Get(nsHashKey*)
Put__11nsHashtableFP9nsHashKeyPv # nsHashtable::Put(nsHashKey*,void*)
__dt__11nsHashtableFv # nsHashtable::~nsHashtable()
__ct__11nsHashtableFUi # nsHashtable::nsHashtable(unsigned int)
__dt__9nsHashKeyFv # nsHashKey::~nsHashKey()
__ct__9nsHashKeyFv # nsHashKey::nsHashKey()
Warning__7nsDebugFPCcPCci # nsDebug::Warning(const char*,const char*,int)
Error__7nsDebugFPCcPCci # nsDebug::Error(const char*,const char*,int)
NotReached__7nsDebugFPCcPCci # nsDebug::NotReached(const char*,const char*,int)
NotYetImplemented__7nsDebugFPCcPCci # nsDebug::NotYetImplemented(const char*,const char*,int)
Assertion__7nsDebugFPCcPCcPCci # nsDebug::Assertion(const char*,const char*,const char*,int)
PostCondition__7nsDebugFPCcPCcPCci # nsDebug::PostCondition(const char*,const char*,const char*,int)
PreCondition__7nsDebugFPCcPCcPCci # nsDebug::PreCondition(const char*,const char*,const char*,int)
Create__8nsMallocFP11nsISupportsRC4nsIDPPv # nsMalloc::Create(nsISupports*,const nsID&,void**)
#Break__7nsDebugFPCci # nsDebug::Break(const char*,int)
Abort__7nsDebugFPCci # nsDebug::Abort(const char*,int)
#__vt__17SupportsArrayImpl # SupportsArrayImpl::__vt
#__vt__16nsISupportsArray # nsISupportsArray::__vt
#__vt__11nsISupports # nsISupports::__vt
#__eq__17SupportsArrayImplCFRC16nsISupportsArray # SupportsArrayImpl::operator ==(const nsISupportsArray&) const
#Count__17SupportsArrayImplCFv # SupportsArrayImpl::Count() const
#__vc__17SupportsArrayImplCFi # SupportsArrayImpl::operator [](int) const
#AppendElement__17SupportsArrayImplFP11nsISupports # SupportsArrayImpl::AppendElement(nsISupports*)
NS_NewISupportsArray__FPP16nsISupportsArray # NS_NewISupportsArray(nsISupportsArray**)
#EnumerateBackwards__17SupportsArrayImplFPFP11nsISupportsPv_iPv # SupportsArrayImpl::EnumerateBackwards(int (*)(nsISupports*, void*),void*)
#EnumerateForwards__17SupportsArrayImplFPFP11nsISupportsPv_iPv # SupportsArrayImpl::EnumerateForwards(int (*)(nsISupports*, void*),void*)
#Compact__17SupportsArrayImplFv # SupportsArrayImpl::Compact()
#Clear__17SupportsArrayImplFv # SupportsArrayImpl::Clear()
#RemoveLastElement__17SupportsArrayImplFPC11nsISupports # SupportsArrayImpl::RemoveLastElement(const nsISupports*)
#RemoveElement__17SupportsArrayImplFPC11nsISupportsi # SupportsArrayImpl::RemoveElement(const nsISupports*,int)
#RemoveElementAt__17SupportsArrayImplFi # SupportsArrayImpl::RemoveElementAt(int)
#ReplaceElementAt__17SupportsArrayImplFP11nsISupportsi # SupportsArrayImpl::ReplaceElementAt(nsISupports*,int)
#InsertElementAt__17SupportsArrayImplFP11nsISupportsi # SupportsArrayImpl::InsertElementAt(nsISupports*,int)
#LastIndexOf__17SupportsArrayImplCFPC11nsISupports # SupportsArrayImpl::LastIndexOf(const nsISupports*) const
#IndexOf__17SupportsArrayImplCFPC11nsISupportsi # SupportsArrayImpl::IndexOf(const nsISupports*,int) const
#ElementAt__17SupportsArrayImplCFi # SupportsArrayImpl::ElementAt(int) const
#Equals__17SupportsArrayImplCFPC16nsISupportsArray # SupportsArrayImpl::Equals(const nsISupportsArray*) const
#__as__17SupportsArrayImplFRC16nsISupportsArray # SupportsArrayImpl::operator =(const nsISupportsArray&)
#DeleteArray__17SupportsArrayImplFv # SupportsArrayImpl::DeleteArray()
#QueryInterface__17SupportsArrayImplFRC4nsIDPPv # SupportsArrayImpl::QueryInterface(const nsID&,void**)
#Release__17SupportsArrayImplFv # SupportsArrayImpl::Release()
#AddRef__17SupportsArrayImplFv # SupportsArrayImpl::AddRef()
#__dt__17SupportsArrayImplFv # SupportsArrayImpl::~SupportsArrayImpl()
#__ct__17SupportsArrayImplFv # SupportsArrayImpl::SupportsArrayImpl()
#PL_VectorAssertValid
PL_VectorRemove
PL_VectorInsert
PL_VectorAdd
PL_VectorSet
PL_VectorClone
PL_VectorCopy
PL_VectorCompact
PL_VectorIsValidIndex
PL_VectorSetSize
PL_VectorFinalize
PL_VectorInitialize
PL_VectorDestroy
PL_NewVector
# GetFactory call
NSGetFactory
nsRegistry_GetFactory
# nsServiceManager static method exports.
ReleaseService__16nsServiceManagerFRC4nsIDP11nsISupportsP19nsIShutdownListener
GetService__16nsServiceManagerFRC4nsIDRC4nsIDPP11nsISupportsP19nsIShutdownListener
# nsTraceRefcnt
Destroy__13nsTraceRefcntFPvPCci
Create__13nsTraceRefcntFPvPCcPCci
Release__13nsTraceRefcntFPvUlPCci
AddRef__13nsTraceRefcntFPvUlPCci
# nsCOMPtr
begin_assignment__13nsCOMPtr_baseFv
assign_with_QueryInterface__13nsCOMPtr_baseFP11nsISupportsRC4nsIDPUi
assign_with_AddRef__13nsCOMPtr_baseFP11nsISupports

View File

@@ -0,0 +1,14 @@
# target: xpcomDebug.shlb
mozilla/modules/plugin/src/nsMalloc.cpp
mozilla/xpcom/macbuild/xpcom.exp
mozilla/xpcom/macbuild/xpcomDebug.exp
mozilla/xpcom/src/nsDebug.cpp
mozilla/xpcom/src/nsHashtable.cpp
mozilla/xpcom/src/nsID.cpp
mozilla/xpcom/src/nsRepository.cpp
mozilla/xpcom/src/nsServiceManager.cpp
mozilla/xpcom/src/nsSupportsArray.cpp
mozilla/xpcom/src/nsTraceRefcnt.cpp
mozilla/xpcom/src/plvector.c
mozilla/xpcom/src/xcDll.cpp
mozilla/xpcom/src/xcDllStore.cpp

View File

@@ -0,0 +1,19 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/* Nothing to do here. Add xpcom-specific defines here if necessary */

View File

@@ -0,0 +1,27 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
//
// xpcomDebug.Prefix
//
// Global prefix file for the xpcom project.
//
//
#include "MacPrefix_debug.h"
#include "xpcomConfig.h"

View File

@@ -0,0 +1,2 @@
# These are now just additions for the debug build.
PL_VectorAssertValid

Binary file not shown.

View File

@@ -0,0 +1,24 @@
#!nmake
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
DEPTH=..
IGNORE_MANIFEST=1
DIRS=public src tests tools
include <$(DEPTH)\config\rules.mak>

View File

@@ -0,0 +1,26 @@
#
# This is a list of local files which get copied to the mozilla:dist directory
#
nsCOMPtr.h
nsCom.h
nsAgg.h
nsDebug.h
nsError.h
nsHashtable.h
nsID.h
nsIFactory.h
nsISupports.h
nsIPtr.h
nsIServiceManager.h
nsISupportsArray.h
nsRepository.h
nsIEnumerator.h
nsVector.h
nsMacRepository.h
nsTraceRefcnt.h
plvector.h
nsXPComFactory.h
nsXPComCIID.h
nsIEventQueueService.h
nsICollection.h

View File

@@ -0,0 +1,54 @@
#!gmake
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
DEPTH = ../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = xpcom
EXPORTS = \
nsCOMPtr.h \
nsCom.h \
nsAgg.h \
nsDebug.h \
nsError.h \
nsHashtable.h \
nsIAllocator.h \
nsICollection.h \
nsID.h \
nsIFactory.h \
nsISupports.h \
nsIPtr.h \
nsIServiceManager.h \
nsISupportsArray.h \
nsProxyEvent.h \
nsRepository.h \
nsIEnumerator.h \
nsTraceRefcnt.h \
nsVector.h \
plvector.h \
nsXPComFactory.h \
nsXPComCIID.h \
nsIEventQueueService.h \
$(NULL)
EXPORTS := $(addprefix $(srcdir)/, $(EXPORTS))
include $(topsrcdir)/config/rules.mk

View File

@@ -0,0 +1,51 @@
#!nmake
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
IGNORE_MANIFEST=1
DEPTH=..\..
EXPORTS = \
nsCOMPtr.h \
nsAgg.h \
nsCom.h \
nsDebug.h \
nsError.h \
nsHashtable.h \
nsICollection.h \
nsID.h \
nsIFactory.h \
nsISupports.h \
nsIPtr.h \
nsIServiceManager.h \
nsISupportsArray.h \
nsProxyEvent.h \
nsRepository.h \
nsIEnumerator.h \
nsTraceRefcnt.h \
nsVector.h \
plvector.h \
nsXPComFactory.h \
nsXPComCIID.h \
nsIEventQueueService.h \
nsIAllocator.h \
nsIRegistry.h \
$(NULL)
MODULE = xpcom
include <$(DEPTH)\config\rules.mak>

View File

@@ -0,0 +1,168 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef __mozIClassRegistry_h
#define __mozIClassRegistry_h
#include "nsRepository.h"
/*---------------------------- mozIClassRegistry -------------------------------
| This interface provides access to a mapping from mnemonic interface names |
| to shared libraries where implementations of those interfaces can be located.|
| |
| This interface is designed to provide two things: |
| 1. A means of less static binding between clients and the code that |
| implements the XPCOM interfaces those clients use. This accomplished |
| by the mapping from interface names to nsCID (and the shared libraries |
| that implement those classes). |
| 2. A means of dynamically changing the mapping from interface name to |
| implementation. The canonical example of this is to switch to a |
| "native" widget set versus an "XP" (implemented using gfx) set. |
| |
| The first goal is achieved by storing (in a "Netscape Registry" file, see |
| nsReg.h) information that maps interface/class "names" to information about |
| where to load implementations of those interfaces. That information |
| includes the interface ID, class ID (of the implementation class), and the |
| name of the shared library that contains the implementation. |
| |
| The class registry object will register those classes with the "repository" |
| (see nsRepository.h) the first time a request is made to create an |
| instance. Subsequent requests will simply be forwarded to the repository |
| after the appropriate interface and class IDs are determined. |
| |
| The second goal is accomplished by permitting the mnemonic interface |
| "names" to be "overloaded", that is, mapped to distinct implementations |
| by separate class registry objects. Further, class registries can be |
| cascaded: they can be chained together so that when a name is not |
| recognized by one registry, it can pass the request to the next registry in |
| the chain. Users can control resolution by making the request of a |
| registry further up/down the chain. |
| |
| For example, consider the case of "native" vs. "gfx" widgets. This might |
| be structured by a class registry arrangment like this: |
| |
| nativeWidgetRegistry baseWidgetRegistry |
| +----------+ +----------+ |
| | ----+---------------->| | |
| +----------+ +----------+ |
| |toolbar| -+-----+ |toolbar| -+-----+ |
| +----------+ | +----------+ | |
| |button | -+-----+ |button | -+-----+ |
| +----------+ | +----------+ | |
| V V |
| +-----------------+ +-----------------+ |
| | native.dll | | base.dll | |
| +-----------------+ +-----------------+ |
| |
| If a specialized implementation of widgets is present (e.g., native.dll) |
| then a corresponding class registry object is created and added to the |
| head of the registry chain. Object creation requests (normal ones) are |
| resolved to the native implementation. If such a library is not present, |
| then the resolution is to the base implementation. If objects of the |
| base implementation are required, then creation requests can be directed |
| directly to the baseWidgetRegistry object, rather than the head of the |
| registry chain. |
| |
| It is intended that there be a single instance of this interface, accessed |
| via the Service Manager (see nsServiceManager.h). |
------------------------------------------------------------------------------*/
struct mozIClassRegistry : public ISupports {
/*------------------------------ CreateInstance ----------------------------
| Create an instance of the requested class/interface. The interface |
| ID is required to specify how the result will be treated. The class |
| named by aName must support this interface. The result is placed in |
| ncomment aResult (NULL if the request fails). "start" specifies the |
| registry at which the search for an implementation of the named |
| interface should start. It defaults to 0 (indicating to start at the |
| head of the registry chain). |
--------------------------------------------------------------------------*/
NS_IMETHOD CreateInstance( const char *anInterfaceName,
const nsIID &aIID,
void* *aResult,
const char *start = 0 ) = 0;
/*--------------------------- CreateEnumerator -----------------------------
| Creates an nsIEnumerator interface object that can be used to examine |
| the contents of the registry. "pattern" specifies either "*" or the |
| name of a specific interface that you want to query. "result" will |
| be set to point to a new object (which will be freed on the last call |
| to its Release() member). See nsIEnumerator.h for details on how to |
| use the returned interface pointer. |
--------------------------------------------------------------------------*/
NS_IMETHOD CreateEnumerator( const char *pattern,
nsIEnumerator* *result ) = 0;
}; // mozIClassRegistry
/*-------------------------- mozIClassRegistryEntry ----------------------------
| Objects of this class represent the individual elements that comprise a |
| mozIClassRegistry interface. You obtain such objects by applying the |
| CreateEnumerator member function to the class registry and then applying |
| the CurrentItem member function to the resulting nsIEnumerator interface. |
| |
| Each entry can be queried for the following information: |
| o sub-registry name |
| o interface name |
| o Class ID |
| o IIDs implemented |
| |
| The information obtained from the entry (specifically, the const char* |
| strings) remains valid for the life of the entry (i.e., until you |
| Release() it). |
| |
| Here is an example of code that uses this interface to dump the contents |
| of a mozIClassRegistry: |
| |
| mozIClassRegistry *reg = nsServiceManager::GetService( kIDRegistry ); |
| nsIEnumerator *enum; |
| reg->CreateEnumerator( "*", &enum ); |
| for ( enum->First(); !enum->IsDone(); enum->Next(); ) { |
| mozIClassRegistryEntry *entry; |
| enum->CurrentItem( &entry ); |
| const char *subreg; |
| const char *name; |
| nsCID cid; |
| int numIIDs; |
| entry->GetSubRegistryName( &subreg ); |
| entry->GetInterfaceName( &name ); |
| entry->GetClassID( &cid ); |
| entry->GetNumIIDs( &numIIDs ); |
| cout << subreg << "/" << name << " = " << cid.ToString() << endl; |
| for ( int i = 0; i < numIIDs; i++ ) { |
| nsIID iid; |
| entry->GetInterfaceID( i, &iid ); |
| cout << "/tIID[" << i << "] = " << iid.ToString() << endl; |
| } |
| entry->Release(); |
| } |
| enum->Release(); |
------------------------------------------------------------------------------*/
struct mozIClassRegistryEntry : public nsISupports {
NS_IMETHOD GetSubRegistryName( const char **result ) = 0;
NS_IMETHOD GetInterfaceName( const char **result ) = 0;
NS_IMETHOD GetClassID( nsCID *result ) = 0;
NS_IMETHOD GetNumIIDs( int *result ) = 0;
NS_IMETHOD GetInterfaceID( int n, nsIID *result ) = 0;
}; // mozIClassRegistryEntry
// {5D41A440-8E37-11d2-8059-00600811A9C3}
#define MOZ_ICLASSREGISTRY_IID { 0x5d41a440, 0x8e37, 0x11d2, { 0x80, 0x59, 0x0, 0x60, 0x8, 0x11, 0xa9, 0xc3 } }
// {D1B54831-AC07-11d2-805E-00600811A9C3}
#define MOZ_ICLASSREGISTRYENTRY_IID { 0xd1b54831, 0xac07, 0x11d2, { 0x80, 0x5e, 0x0, 0x60, 0x8, 0x11, 0xa9, 0xc3 } }
#endif

View File

@@ -0,0 +1,326 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef __mozIRegistry_h
#define __mozIRegistry_h
#include "nsISupports.h"
class nsIEnumerator;
/*------------------------------- mozIRegistry ---------------------------------
| This interface provides access to a tree of arbitrary values. |
| |
| Each node of the tree contains either a value or a subtree or both. |
| |
| The value at any of these leaf nodes can be any of these "primitive" types: |
| o string (null terminated UTF string) |
| o array of 32-bit integers |
| o arbitrary array of bytes |
| o file identifier |
| Of course, since you can store an arbitrary array of bytes, you can put |
| any data you like into a registry (although you have the burden of |
| encoding/decoding your data in that case). |
| |
| Each branch of the tree is labelled with a string "key." The entire path |
| from a given point of the tree to another point further down can be |
| presented as a single string composed of each branch's label, concatenated |
| to the next, with an intervening forward slash ('/'). The term "key" |
| refers to both specific tree branch labels and to such concatenated paths. |
| |
| The branches from a given node must have unique labels. Distinct nodes can |
| have branches with the same label. |
| |
| For example, here's a small registry tree: |
| | |
| /\ |
| / \ |
| / \ |
| / \ |
| "Classes" "Users" |
| / \ |
| / \ |
| / ["joe"] |
| / / \ |
| | / \ |
| /\ / \ |
| / \ "joe" "bob" |
| / \ / \ |
| / \ |
| "{xxxx-xx-1}" "{xxxx-xx-2}" ["c:/joe"] ["d:/Robert"] |
| | | |
| /\ /\ |
| / \ / \ |
| / \ / \ |
| "Library" "Version" "Library" "Version" |
| / \ / \ |
| ["foo.dll"] 2 ["bar.dll"] 1 |
| |
| In this example, there are 2 keys under the root: "Classes" and "Users". |
| The first denotes a subtree only (which has two subtrees, ...). The second |
| denotes both a value ["joe"] and two subtrees labelled "joe" and "bob". |
| The value at the node "/Users" is ["joe"], at "/Users/bob" is ["d:/Robert"]. |
| The value at "/Classes/{xxxx-xx-1}/Version" is 2. |
| |
| The registry interface provides functions that let you navigate the tree |
| and manipulate it's contents. |
| |
| Please note that the registry itself does not impose any structure or |
| meaning on the contents of the tree. For example, the registry doesn't |
| control whether the value at the key "/Users" is the label for the subtree |
| with information about the last active user. That meaning is applied by |
| the code that stores these values and uses them for that purpose. |
| |
| [Any resemblence between this example and actual contents of any actual |
| registry is purely coincidental.] |
------------------------------------------------------------------------------*/
struct mozIRegistry : public nsISupports {
/*------------------------------ Constants ---------------------------------
| The following enumerated types and values are used by the registry |
| interface. |
--------------------------------------------------------------------------*/
typedef enum {
String = 1,
Int32,
Bytes,
File
} DataType;
/*-------------------------------- Types -----------------------------------
| The following data types are used by this interface. All are basically |
| opaque types. You obtain objects of these types via certain member |
| function calls and re-use them later (without having to know what they |
| contain). |
| |
| Key - Placeholder to represent a particular node in a registry |
| tree. There are 3 enumerated values that correspond to |
| specific nodes: |
| Common - Where most stuff goes. |
| Users - Special subtree to hold info about |
| "users"; if you don't know what goes |
| here, don't mess with it. |
| CurrentUser - Subtree under Users corresponding to |
| whatever user is designed the "current" |
| one; see note above. |
| You can specify any of these enumerated values as "keys" |
| on any member function that takes a mozRegistry::Key. |
| ValueInfo - Structure describing a registry value. |
--------------------------------------------------------------------------*/
typedef uint32 Key;
enum { Users = 1, Common = 2, CurrentUser = 3 };
struct ValueInfo {
DataType type;
uint32 length;
};
/*--------------------------- Opening/Closing ------------------------------
| These functions open the specified registry file (Open() with a non-null |
| argument) or the default "standard" registry file (Open() with a null |
| argument or OpenDefault()). |
| |
| Once opened, you can access the registry contents via the read/write |
| or query functions. |
| |
| The registry file will be closed automatically when the registry object |
| is destroyed. You can close the file prior to that by using the |
| Close() function. |
--------------------------------------------------------------------------*/
NS_IMETHOD Open( const char *regFile = 0 ) = 0;
NS_IMETHOD OpenDefault() = 0;
NS_IMETHOD Close() = 0;
/*----------------------- Reading/Writing Values ---------------------------
| These functions read/write the registry values at a given node. |
| |
| All functions require you to specify where in the registry key to |
| get/set the value. The location is specified using two components: |
| o A "base key" indicating where to start from; this is a value of type |
| mozIRegistry::Key. You use either one of the special "root" key |
| values or a subkey obtained via some other member function call. |
| o A "relative path," expressed as a sequence of subtree names |
| separated by forward slashes. This path describes how to get from |
| the base key to the node at which you want to store the data. This |
| component can be a null pointer which means the value goes directly |
| at the node denoted by the base key. |
| |
| When you request a value of a given type, the data stored at the |
| specified node must be of the type requested. If not, an error results. |
| |
| GetString - Obtains a newly allocated copy of a string type value. The |
| caller is obligated to free the returned string using |
| PR_Free. |
| SetString - Stores the argument string at the specified node. |
| GetInt - Obtains an int32 value at the specified node. The result |
| is returned into an int32 location you specify. |
| SetInt - Stores a given int32 value at a node. |
| GetBytes - Obtains a byte array value; this returns both an allocated |
| array of bytes and a length (necessary because there may be |
| embedded null bytes in the array). You must free the |
| resulting array using PR_Free. |
| SetBytes - Stores a given array of bytes; you specify the bytes via a |
| pointer and a length. |
| GetIntArray - Obtains the array of int32 values stored at a given node. |
| The result is composed of two values: a pointer to an |
| array of integer values (which must be freed using |
| PR_Free) and the number of elements in that array. |
| SetIntArray - Stores a set of int32 values at a given node. You must |
| provide a pointer to the array and the number of entries. |
--------------------------------------------------------------------------*/
NS_IMETHOD GetString( Key baseKey, const char *path, char **result ) = 0;
NS_IMETHOD SetString( Key baseKey, const char *path, const char *value ) = 0;
NS_IMETHOD GetInt( Key baseKey, const char *path, int32 *result ) = 0;
NS_IMETHOD SetInt( Key baseKey, const char *path, int32 value ) = 0;
NS_IMETHOD GetBytes( Key baseKey, const char *path, void **result, uint32 *len ) = 0;
NS_IMETHOD SetBytes( Key baseKey, const char *path, void *value, uint32 len ) = 0;
NS_IMETHOD GetIntArray( Key baseKey, const char *path, int32 **result, uint32 *len ) = 0;
NS_IMETHOD SetIntArray( Key baseKey, const char *path, const int32 *value, uint32 len ) = 0;
/*------------------------------ Navigation --------------------------------
| These functions let you navigate through the registry tree, querying |
| its contents. |
| |
| As above, all these functions requires a starting tree location ("base |
| key") specified as a mozIRegistry::Key. Some also require a path |
| name to locate the registry node location relative to this base key. |
| |
| AddSubtree - Adds a new registry subtree at the specified |
| location. Returns the resulting key in |
| the location specified by the third argument |
| (unless that pointer is 0). |
| RemoveNode - Removes the specified registry subtree or |
| value at the specified location. |
| GetSubtree - Returns a mozIRegistry::Key that can be used |
| to refer to the specified registry location. |
| EnumerateSubtrees - Returns a nsIEnumerator object that you can |
| use to enumerate all the subtrees descending |
| from a specified location. You must free the |
| enumerator via Release() when you're done with |
| it. |
| EnumerateAllSubtrees - Like EnumerateSubtrees, but will recursively |
| enumerate lower-level subtrees, too. |
| GetValueInfo - Returns a uint32 value that designates the type |
| of data stored at this location in the registry; |
| the possible values are defined by the enumerated |
| type mozIRegistry::DataType. |
| GetValueLength - Returns a uint32 value that indicates the length |
| of this registry value; the length is the number |
| of characters (for Strings), the number of bytes |
| (for Bytes), or the number of int32 values (for |
| Int32). |
| EnumerateValues - Returns a nsIEnumerator that you can use to |
| enumerate all the value nodes descending from |
| a specified location. |
--------------------------------------------------------------------------*/
NS_IMETHOD AddSubtree( Key baseKey, const char *path, Key *result ) = 0;
NS_IMETHOD RemoveSubtree( Key baseKey, const char *path ) = 0;
NS_IMETHOD GetSubtree( Key baseKey, const char *path, Key *result ) = 0;
NS_IMETHOD EnumerateSubtrees( Key baseKey, nsIEnumerator **result ) = 0;
NS_IMETHOD EnumerateAllSubtrees( Key baseKey, nsIEnumerator **result ) = 0;
NS_IMETHOD GetValueType( Key baseKey, const char *path, uint32 *result ) = 0;
NS_IMETHOD GetValueLength( Key baseKey, const char *path, uint32 *result ) = 0;
NS_IMETHOD EnumerateValues( Key baseKey, nsIEnumerator **result ) = 0;
/*------------------------------ User Name ---------------------------------
| These functions manipulate the current "user name." This value controls |
| the behavior of certain registry functions (namely, ?). |
| |
| GetCurrentUserName allocates a copy of the current user name (which the |
| caller should free using PR_Free). |
--------------------------------------------------------------------------*/
NS_IMETHOD GetCurrentUserName( char **result ) = 0;
NS_IMETHOD SetCurrentUserName( const char *name ) = 0;
/*------------------------------ Utilities ---------------------------------
| Various utility functions: |
| |
| Pack() is used to compress the contents of an open registry file. |
--------------------------------------------------------------------------*/
NS_IMETHOD Pack() = 0;
}; // mozIRegistry
/*----------------------------- mozIRegistryNode -------------------------------
| This interface is implemented by all the objects obtained from the |
| nsIEnumerators that mozIRegistry provides when you call either of the |
| subtree enumeration functions EnumerateSubtrees or EnumerateAllSubtrees. |
| |
| You can call this function to get the name of this subtree. This is the |
| relative path from the base key from which you got this interface. |
| |
| GetName - Returns the path name of this node; this is the relative path |
| from the base key from which this subtree was obtained. The |
| function allocates a copy of the name; the caller must free it |
| using PR_Free. |
------------------------------------------------------------------------------*/
struct mozIRegistryNode : public nsISupports {
NS_IMETHOD GetName( char **result ) = 0;
}; // mozIRegistryNode
/*----------------------------- mozIRegistryValue ------------------------------
| This interface is implemented by the objects obtained from the |
| nsIEnumerators that mozIRegistry provides when you call the |
| EnumerateValues function. An object supporting this interface is |
| returned when you call the CurrentItem() function on that enumerator. |
| |
| You use the member functions of this interface to obtain information |
| about each registry value. |
| |
| GetName - Returns the path name of this node; this is the relative |
| path\ from the base key from which this value was obtained. |
| The function allocates a copy of the name; the caller must |
| subsequently free it via PR_Free. |
| GetValueType - Returns (into a location provided by the caller) the type |
| of the value; the types are defined by the enumerated |
| type mozIRegistry::DataType. |
| GetValueLength - Returns a uint32 value that indicates the length |
| of this registry value; the length is the number |
| of characters (for Strings), the number of bytes |
| (for Bytes), or the number of int32 values (for |
| Int32). |
------------------------------------------------------------------------------*/
struct mozIRegistryValue : public nsISupports {
NS_IMETHOD GetName( char **result ) = 0;
NS_IMETHOD GetValueType( uint32 *result ) = 0;
NS_IMETHOD GetValueLength( uint32 *result ) = 0;
}; // mozIRegistryEntry
/*------------------------------- Error Codes ----------------------------------
------------------------------------------------------------------------------*/
#define NS_ERROR_REG_BADTYPE NS_ERROR_GENERATE_FAILURE( NS_ERROR_MODULE_REG, 1 )
#define NS_ERROR_REG_NO_MORE NS_ERROR_GENERATE_SUCCESS( NS_ERROR_MODULE_REG, 2 )
#define NS_ERROR_REG_NOT_FOUND NS_ERROR_GENERATE_FAILURE( NS_ERROR_MODULE_REG, 3 )
#define NS_ERROR_REG_NOFILE NS_ERROR_GENERATE_FAILURE( NS_ERROR_MODULE_REG, 4 )
#define NS_ERROR_REG_BUFFER_TOO_SMALL NS_ERROR_GENERATE_FAILURE( NS_ERROR_MODULE_REG, 5 )
#define NS_ERROR_REG_NAME_TOO_LONG NS_ERROR_GENERATE_FAILURE( NS_ERROR_MODULE_REG, 6 )
#define NS_ERROR_REG_NO_PATH NS_ERROR_GENERATE_FAILURE( NS_ERROR_MODULE_REG, 7 )
#define NS_ERROR_REG_READ_ONLY NS_ERROR_GENERATE_FAILURE( NS_ERROR_MODULE_REG, 8 )
#define NS_ERROR_REG_BAD_UTF8 NS_ERROR_GENERATE_FAILURE( NS_ERROR_MODULE_REG, 9 )
// {5D41A440-8E37-11d2-8059-00600811A9C3}
#define MOZ_IREGISTRY_IID { 0x5d41a440, 0x8e37, 0x11d2, { 0x80, 0x59, 0x0, 0x60, 0x8, 0x11, 0xa9, 0xc3 } }
// {D1B54831-AC07-11d2-805E-00600811A9C3}
#define MOZ_IREGISTRYNODE_IID { 0xd1b54831, 0xac07, 0x11d2, { 0x80, 0x5e, 0x0, 0x60, 0x8, 0x11, 0xa9, 0xc3 } }
// {5316C380-B2F8-11d2-A374-0080C6F80E4B}
#define MOZ_IREGISTRYVALUE_IID { 0x5316c380, 0xb2f8, 0x11d2, { 0xa3, 0x74, 0x0, 0x80, 0xc6, 0xf8, 0xe, 0x4b } }
#endif

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