131 Commits

Author SHA1 Message Date
ramiro%netscape.com
f05974cb48 Use the macro on all platforms. Thanks to pierre for helping me make sure
it doesnt break the mac.  I verified that it works on unix and windows.


git-svn-id: svn://10.0.0.236/trunk@23339 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 19:19:02 +00:00
warren%netscape.com
0b33372d99 nsRepository -> nsIComponentManager changes.
git-svn-id: svn://10.0.0.236/trunk@23300 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 09:44:27 +00:00
ramiro%netscape.com
bdfb92b7b9 Memory leak.
delete[] memory returned by nsString::ToNewCString.


git-svn-id: svn://10.0.0.236/trunk@23167 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 11:38:59 +00:00
ramiro%netscape.com
e1c07957a0 Fix win32, mac breakage.
git-svn-id: svn://10.0.0.236/trunk@23166 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 11:04:49 +00:00
ramiro%netscape.com
240e66fab6 Templates in nsXPComFactory exorcism. Part I.
Replaced the template code with a NS_DEF_FACTORY.
This is temporary.  As soon as I can verify this works on windows and
mac, ill remove the old code.


git-svn-id: svn://10.0.0.236/trunk@23165 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 09:44:16 +00:00
danm%netscape.com
5a423eb9bb changed name of onConstruction event to onload
git-svn-id: svn://10.0.0.236/trunk@22925 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 20:23:19 +00:00
pinkerton%netscape.com
b76c4a887f fix for bug #3449 (onClick should be onclick).
git-svn-id: svn://10.0.0.236/trunk@22917 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 20:18:59 +00:00
rjc%netscape.com
b668b7ec9b Now store pathnames as strings which prevents nr_MacAliasFromPath() from ever being called (it was being passed a Unix path when it really wanted a Mac path anyway). Also, autoregistration now looks inside the "components" directory (which is in the same folder as the program.) Also, bumped up registry version # due to change. Also, at startup, when building up list of arguments, check argv[0] against NULL as it might be (on the Mac).
git-svn-id: svn://10.0.0.236/trunk@22761 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-04 03:01:33 +00:00
scc%netscape.com
817f56596f rename |IID()| --> |GetIID()|
git-svn-id: svn://10.0.0.236/trunk@22744 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 19:48:57 +00:00
scc%netscape.com
a6ad86bdb2 fix for nsCOMPtr: no construction/assignment from raw COM interface pointers
git-svn-id: svn://10.0.0.236/trunk@22615 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 22:44:55 +00:00
pinkerton%netscape.com
b3427e2a63 correctly implement nsIMenuListener.
git-svn-id: svn://10.0.0.236/trunk@22450 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 17:30:14 +00:00
saari%netscape.com
dc6c858162 make LoadMenus() less nsWebShellWindow specific
git-svn-id: svn://10.0.0.236/trunk@22396 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-28 11:14:34 +00:00
peterl%netscape.com
0f5602af49 added content state change
git-svn-id: svn://10.0.0.236/trunk@22348 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 08:34:06 +00:00
cyeh%netscape.com
9e2cad2894 add static library targets to allow overriding of functions in an external project
git-svn-id: svn://10.0.0.236/trunk@22176 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 18:51:32 +00:00
warren%netscape.com
49ed8e046f Changes for RDF component registration using nsRepository. Also changed args to NSGetFactory and friends.
git-svn-id: svn://10.0.0.236/trunk@22094 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 10:17:14 +00:00
saari%netscape.com
4103384808 Comment out SetLabel in LoadMenuItem
SetLabel should be called by the call to Create, to which I added the name back in the call.


git-svn-id: svn://10.0.0.236/trunk@22037 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 02:50:09 +00:00
danm%netscape.com
6a2e3f3bea adding C XUL window construction callback
git-svn-id: svn://10.0.0.236/trunk@22029 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 02:22:42 +00:00
sfraser%netscape.com
c74199e668 Mac project changes -- link with MSLDropInRuntime, instead of MSLShLibRuntime, and fix link order.
git-svn-id: svn://10.0.0.236/trunk@22001 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 00:54:57 +00:00
mcafee%netscape.com
ef156e8b9a Adding do_QueryInterface() wrappers for Solaris/CC
git-svn-id: svn://10.0.0.236/trunk@21882 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 11:08:53 +00:00
saari%netscape.com
377ff86635 nsWebShellWindow.cpp
nsWebShellWindow.h

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


git-svn-id: svn://10.0.0.236/trunk@21582 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 07:52:14 +00:00
rods%netscape.com
0a40cda128 MOved XULCommand to src and it is now acting like a menu delegate,
all that reminas is to rename it.


git-svn-id: svn://10.0.0.236/trunk@21444 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-21 21:04:21 +00:00
rods%netscape.com
55acfd21d7 Remmoved nsIXULCommand.h
git-svn-id: svn://10.0.0.236/trunk@21443 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-21 20:52:29 +00:00
rods%netscape.com
e05f7ca3cb Added static IID method
git-svn-id: svn://10.0.0.236/trunk@21442 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-21 20:52:04 +00:00
rods%netscape.com
0588c407d6 MOved from public to src, it doesn't need to be exported
git-svn-id: svn://10.0.0.236/trunk@21441 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-21 20:51:12 +00:00
mcafee%netscape.com
430ad20c2f Solaris: adding do_QueryInterface() wrapper as part of scc's nsCOMPtr carpool. a=scc
git-svn-id: svn://10.0.0.236/trunk@21301 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 12:27:19 +00:00
rods%netscape.com
7f9d9e2cbd Completed work on -width and -height for specifying the initial size of the window
git-svn-id: svn://10.0.0.236/trunk@21186 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 21:52:27 +00:00
rods%netscape.com
d18115acba Added temporary menu delegate code. This enables menus to invoke JavaScript
BUT it menus can't observe changes or broadcasts


git-svn-id: svn://10.0.0.236/trunk@21152 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 17:13:30 +00:00
rods%netscape.com
522f7e6d93 Status bar is now hooked up.
git-svn-id: svn://10.0.0.236/trunk@21146 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 16:39:32 +00:00
rods%netscape.com
ebb56bf41c Added a little code to find the menus and load them.
They aren't hooked up yet.


git-svn-id: svn://10.0.0.236/trunk@21143 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 16:32:44 +00:00
mcafee%netscape.com
0ca9f24e74 Adding newline at end of file for Solaris/CC
git-svn-id: svn://10.0.0.236/trunk@21141 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 12:14:59 +00:00
hyatt%netscape.com
4ab66b66a5 Commented out some code I shouldn't have in the menu code.
git-svn-id: svn://10.0.0.236/trunk@21133 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 05:18:18 +00:00
hyatt%netscape.com
64946e6ea0 Fixing Mac build bustage.
git-svn-id: svn://10.0.0.236/trunk@21132 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 05:14:30 +00:00
hyatt%netscape.com
6369b8df24 Checking in the new appRunner.
git-svn-id: svn://10.0.0.236/trunk@21129 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 05:01:03 +00:00
rods%netscape.com
fe6e22933b Fixed the termination of the app when a window closes
git-svn-id: svn://10.0.0.236/trunk@20975 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 16:49:43 +00:00
rods%netscape.com
1dbd117587 Added separators
git-svn-id: svn://10.0.0.236/trunk@20974 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 16:49:14 +00:00
rods%netscape.com
1566696e47 Added an ifdef to get exit working because the Register and unregister isn't working right
git-svn-id: svn://10.0.0.236/trunk@20973 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 16:18:17 +00:00
rods%netscape.com
42420a8c97 Added temporary menu hook up as an experiement
git-svn-id: svn://10.0.0.236/trunk@20967 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 16:12:10 +00:00
rods%netscape.com
7fea89585a Added nsIMenuListener as the base class for nsIXULCommand
git-svn-id: svn://10.0.0.236/trunk@20966 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 16:11:13 +00:00
mcafee%netscape.com
8e4341cd89 Adding do_QueryInterface() wrapper for nsCOMPtr carpool. r=scc a=sar
git-svn-id: svn://10.0.0.236/trunk@20851 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 02:08:00 +00:00
danm%netscape.com
2cf50fdc88 added beginnings of toolkit dialog factory
git-svn-id: svn://10.0.0.236/trunk@20723 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-15 05:38:15 +00:00
danm%netscape.com
19dabdfcc0 matching Troy's recent checkins adding const to some method parameters. Didn't compile for me using VC6 until I made these changes. They seem harmless enough.
git-svn-id: svn://10.0.0.236/trunk@20722 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-15 05:21:53 +00:00
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
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
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
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
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
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
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