Closed
Bug 72851
Opened 25 years ago
Closed 10 years ago
Rearrange the embedding directory
Categories
(Core Graveyard :: Embedding: APIs, defect)
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
Future
People
(Reporter: adamlock, Assigned: adamlock)
References
Details
I think it's about time we rearranged this directory!
Principle things that need doing:
1. Move PowerPlant, gtk widget & ActiveX control out of embedding/browser into
another place such as embedding/clients
2. Consider whether winEmbed & mfcEmbed stay where they are or need to move
somewhere like embedding/samples.
3. Consider whether default URI fixup service & web browser persist object
should move to embedding/components
4. Photon DIE!!!!!
The floor is now open for discussion.
Comment 1•25 years ago
|
||
Here's a rough outline which makes sense to me. Some of my names could use
improvement though.
mozilla
embedding
base
browser (this is what is currently webBrowser - divided up into public,
src, etc)
macbuild
public
src
chrome
components
build
macbuild
appstartup
commandhandler
windowatcher
config
controls (widgets? things which build complete components which are
further embedded)
activex
gtk
examples (frameworks? contain classes which can be used as-is with these
frameworks)
powerplant
mfcEmbed
tests (bare metal testbeds)
gtkEmbed
winEmbed
Comment 2•25 years ago
|
||
I'm more friendly to widget myself.
I don't mind controls or widgets though I'd probably prefer some other name. How
about clients or wrappers?
Conrad are you sure your Powerplant stuff shouldn't be in the same place too?
Comment 5•25 years ago
|
||
wrappers might be good. It's neither gtk-biased (widget) nor ActiveX (control) I
don't think powerplant should go in there because it's different from the gtk
widget and activex control in that it's just source code with classes that can
be added to a powerplant app which encapsulate embedding. The other two can be
used as-is in binary form - embeded into another app using an OS facility. The
powerplant app belongs alongside mfcEmbed which is very similar to it both in
features and approach. I can't come up with a good name for that but it's
something along the line of "frameworkapps" or maybe just "examples"
Okay I will create the "examples" and "wrappers" (instead of "controls")
directories as per Conrad's layout.
Once these are in place, can everyone move their code to the new locations and
update the makefiles?
Me: Move ActiveX to wrappers
Chris: Move gtk to wrappers
Chak: Move mfcEmbed to examples
Conrad: Move powerplant to examples
I'm not sure if CVS provides an easy way to move a folder. Does anyone know?
Thanks
Comment 7•25 years ago
|
||
I don't think it's possible for us to move stuff and maintain the history. I
think leaf is the only one who can do that. If we don't care about losing the
history, we can do it but just through removing and adding.
Is Photon dead (I hope so)?
Are you going to clean up embedding/browser/webBrowser so it's like the rest of
the DLLs with public, src, and macbuild subdirs? That would be nice but maybe
not as crucial on this pass.
Yes I think Photon will be killed as long as CVS allows it to be resurrected.
Otherwise perhaps it can go into an "unmaintained" directory.
All the IDL files should probably move from webBrowser out into a public
directory. So perhaps like this
embedding
browser (or maybe some other name?)
build
public
src (or keep as webBrowser since other modules may appear here)
And the embedding API should be renamed too from "base" to "embed_api" perhaps.
The wrappers and examples directories have been created with some readme files
and some sample makefiles.
Comment 10•25 years ago
|
||
If you want to rename files then someone has to physically do it on the CVS
server. That is assuming that you want history on the files which I do.
Comment 11•25 years ago
|
||
Ok, so what needs to go where?
Comment 12•25 years ago
|
||
mozilla/embedding/tests/mfcembed -> mozilla/embedding/examples/mfcembed
mozilla/embedding/browser/powerplant -> mozilla/embedding/examples/powerplant
mozilla/embedding/browser/activex -> mozilla/embedding/wrappers/activex
mozilla/embedding/browser/gtk -> mozilla/embedding/wrappers/gtk
Chak, Adam, Chris - Is this right? I can only speak for /powerplant.
Comment 13•25 years ago
|
||
OK for mfcembed
| Assignee | ||
Comment 14•25 years ago
|
||
Yes, this is right with the appropriate makefile fixups of course.
My code is ready to move at any time.
| Assignee | ||
Comment 15•25 years ago
|
||
My code == activex :)
Comment 16•25 years ago
|
||
That's fine for gtk.
Comment 17•25 years ago
|
||
I can fairly quickly copy these directories around... to be perfectly clear, we
want the entire contents copied, correct?
Once i do the copy, the build system changes can go in, and the old files cvs
removed.
Comment 18•25 years ago
|
||
Can someone answer my question before we make mozilla 0.9?
Comment 19•25 years ago
|
||
Yes, whole dirs. If there happen to be any empty dirs in powerplant, don't copy
those. There used to be a dir in there with a space so I removed all its
contents hoping it would go away.
Comment 20•25 years ago
|
||
Correction: Changing QA contact for the Embed API bugs to David Epstein.
QA Contact: mdunn → depstein
| Assignee | ||
Comment 21•25 years ago
|
||
Leaf do you want to take this bug? The ActiveX control is ready to move at
least.
Updated•25 years ago
|
Target Milestone: mozilla0.9.3 → mozilla0.9.4
| Assignee | ||
Comment 24•25 years ago
|
||
Diff to remove Photon from embedding build
Index: Makefile.in
===================================================================
RCS file: /cvsroot/mozilla/embedding/browser/Makefile.in,v
retrieving revision 1.9
diff -u -r1.9 Makefile.in
--- Makefile.in 2001/02/21 20:36:17 1.9
+++ Makefile.in 2001/08/22 20:40:41
@@ -31,9 +31,4 @@
DIRS += gtk
endif
-ifdef MOZ_ENABLE_PHOTON
-DIRS += photon
-endif
-
-
include $(topsrcdir)/config/rules.mk
| Assignee | ||
Comment 25•25 years ago
|
||
Retargetting. Should definitely done as part of general embedding cleanup and
SDK preparedness.
Target Milestone: mozilla0.9.5 → Future
| Assignee | ||
Comment 26•25 years ago
|
||
Can I have an r/sr to kill Photon? See the previous comment but 1
Comment 27•25 years ago
|
||
You have my r=. If you have time, and can get leaf to do the moving, I'd like to
see this happen. The layout of the webBrowser dir is odd. Its macbuild dir is
completely outside of it, on the same level as embedding samples, and it is not
divided into public and src subdirs. This layout always irks me.
| Assignee | ||
Comment 28•24 years ago
|
||
From bug 75538:
1) More visibility for the embed-sample.jar & move it to embedding/samples
Updated•23 years ago
|
QA Contact: depstein → mdunn
Updated•17 years ago
|
QA Contact: dunn5557 → apis
Comment 29•10 years ago
|
||
Marking a bunch of bugs in the "Embedding: APIs" component INCOMPLETE in preparation to archive that component. If I have done this incorrectly, please reopen the bugs and move them to a more correct component as we don't have "embedding" APIs any more.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → INCOMPLETE
Updated•7 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•