This question was asked (and individually answered) in a couple of
discussions at the moz dev day in Paris, on IRC and some blog posts.
We wanted to start a thread about that here so I'm going to start it.
And while we are talking about it, Mark Finkle is working on XULExplorer
0.5 and the current progress[1] and the future plans[2] have a lot of
what people want to see in the IDE project.
Daniel
[1] http://starkravingfinkle.org/blog/2007/06/xul-explorer-04-finally/
[2] http://wiki.mozilla.org/XUL_Explorer:Planning
What do we need to do to stabilize the interface for the sidebar? I'm
working on an extension for XULExplorer and I would like to add a
sidebar with my extension. I have done this by adding a sidebar
selector menu-button to the toolbar but a nice "accordion" control
would be much better....
If we want to use such an "accordion" control (i called it "catalog"), I
suggest creating a "View" prototype and a "Sidebar" singleton. If you
want to add a new view, eg a DOM view, you create a "View" instance and
add that to the Sidebar object. The Sidebar object than implicitly
creates a new catalog category representing that view.
I could implement all that, but it's currently a bit circumstantial and
painful for me to contribute to the project by using bugzilla, not
having the latest trunk and not beeing on the spot to share ideas and
code more easily and directly.
Daniel
http://developer.mozilla.org/en/docs/XUL_Explorer#Contributing
Nickolay
I specifically make a point (now) of doing Verbosio on the latest 1.9
milestone (right now I'm forced to build it, but oh well). It saves me
time on updating / rebuilding, and for the first two to three weeks
doesn't diverge enough from trunk to worry about it. 1.9a6 is coming,
and would probably be good enough.
Well, I'm not sure about that. The version I checked out recently seems
to be older than the 0.4 release and didn't worked. Some files were not
present. So I used the 0.4 release code and added my stuff there.
Daniel
Souds good for me. I work from the subversion repository, and there's
not problem.
While I certainly like the accordion control, I don't know if its the
best choice for the sidebar in XUL Explorer. In situations where
sidebars can be added by extensions, we could end up with too much
real estate taken up by the accordion panels.
Also, I would like to see the accordion work more like Firefox
sidebars - extensions can overlay new sidebars (or accordion pages)
without the need to complicated MVC components or registration.
Ideally, the accordion would just use <page> like sidebar to build its
content.
Contributing using bugzilla is the norm for mozilla. Its btter if you
attach patches instead of full zips.
SVN should be the same or newer than any release. Let me know what
kind of differences you see.
I just updated the SVN trunk again.
We use that control for referencing different folders on the file
system. When opening one element, the folder's content will be shown in
thumbnails to easily drag a file onto our application.
To avoid wasting all the space by control buttons we can hide each
element and show a list and menu of all hidden elements to show hidden
elements again and easily manage the visible items.
> Ideally, the accordion would just use <page> like sidebar to build its
> content.
<page> is allready used however the file containing the actual sidebar
can use the page element of course.
Maybe <sidebarpage> ?
I like the idea that twentyafterfour brought in to show it like the "all
in one sidebar" extension is doing it
Maybe the control should be named "sidebar" with different "type"
attributes resulting in different presentations:
<sidebar type="accordion" />
<sidebar type="toolbar" />
<sidebar type="menu" />
Each <sidebarpage> element in the sidebar will than hold it's own
content where a <sidebarpage> can either have content itself or
references a file by it's src attribute.
Alternatively the control might be named
<sidebars>
or
<sidebarbox>
and each element might than be named
<sidebar>
I personally like
<sidebars>
<sidebar />
<sidebar />
</sidebars>
which is intuitive, pretty easy to remember and to use.
Daniel
How to attach a new subfolder with 5 new files and changes in two
allready existing files?
Daniel
you "svn add" the directory and files and then diff.
--BDS
Sorry, I'm totally new to this. Adding the files and getting the diff
for allready existing files works fine, but what about new files and
folders? Just attach them one by one to the bug? And what about the
diff? Shall I copy the diff into a comment? And what do you need from
the diff? (I'm using tortoise and winmerge)
Daniel
Once you have "svn add"ed the new directory and new files, calling "svn
diff" should automatically include those files in the diff.
--BDS
This looks like a command line on linux which doesn't work using
tortoiseSVN on winXP. Or at least I cannot find a way to get that working.
Daniel
Well... that's the kind of difficulties I mentioned before which makes
contributing not really funny and takes a lot of time.
The Firefox sidebar is essentially just providing an IFrame and each
sidebar extension is just a document that gets loaded into that frame.
There are advantages and disadvantages to that but it might be worth
considering whether we want to have an arbitrary number of extensions
merged directly into the main XUL Document as apposed to having them
in a frame with only one loaded at any given time.
On Jul 3, 2:45 pm, Daniel Kirsch <Iwillnotread_dan...@gmx.de> wrote:
> mark.fin...@gmail.com schrieb:
Actually the type could be changed by the user at runtime and saved
using "persist". So I think that's exactly what you described for other
IDEs.
> The Firefox sidebar is essentially just providing an IFrame and each
> sidebar extension is just a document that gets loaded into that frame.
Yes, that should be the usual case - especially for larger and
extendable projects. However it might also be possible to just place
elements into a <sidebar> element. This would make the sidebar element
much more usable.
Daniel
Yes, I can right click on a file and select diff. This will show me
either the build in merging tool or winMerge (depending on settings).
While this works fine, I don't what to do then. Should I manually copy
the differences into a bugreport and add the +/- marks in front of each
line? I think there must be an option to save the diff result, but I
cannot find that.
> And, even if it doesn't, Windows has a command prompt,
> even if it is a bit annoying.
Of course, but there is nothing like "svn diff" on my machine.
Daniel
>
> > And, even if it doesn't, Windows has a command prompt,
> > even if it is a bit annoying.
>
> Of course, but there is nothing like "svn diff" on my machine.
>
There sure is, svn is bundled with TortoiseSVN.
Nickolay
That's it. Thanks!
>> Of course, but there is nothing like "svn diff" on my machine.
>>
> There sure is, svn is bundled with TortoiseSVN.
Well, then I don't know where.
Daniel
On Jul 3, 2:45 pm, Daniel Kirsch <Iwillnotread_dan...@gmx.de> wrote:
> mark.fin...@gmail.com schrieb:
2. I started following XUL a while back and had a number of
conversations with Kevin Kelley of IBM ( he had written a XUL plugin to
Eclipse on alpha works). He said NO ONE downloaded it. He currently is
head of the Compound XML Document Toolkit. I sent an Email to him and
Robert Goodman (Lead of the Ajax Toolkit Framework) on seeing with some
modifications would their work(s) give you a basis for an IDE. It is my
belief that it would. He replied...
The ATF team is bog down trying to get some major changes done. It is
going to be next week before we will be able to look at this and get
back to you.
Thanks
Bob
3. I am very aggressively trying to understand the best way to progress
in writing a usable application and help move the overall understanding
of XUL forward. Any insights by anyone would be helpful.
Thanks
Michael Clovis
MindBridge Software
Also, take a look at XUL:Explorer, it's free and useful for
experimenting with XUL: http://developer.mozilla.org/en/docs/XUL_Explorer
Keeping community updated...
Robert Goodman Eclipse ATF head is still promising to look into the
possibilities once his current release is out the door. He sent another
note.
Kevin Kelly also from IBM stated..
The Eclipse compound document editor would be a good editor for Mozilla.
We use it to build content targeting Firefox already. If they want to
use it as a starting point that would be great. We also have support for
the WICD profile in it now - see http://www.w3.org/News/2007#item156
Mike Clovis
Matt
Why would we want a mozilla ide based on java? I think that any
mozilla IDE should be based on mozilla. Personally, I will continue to
use Komodo and it would take a gun pointing at my head to make me use
Eclipse (or any other java-based bloatware) for my development
environment.