Peter Martischka | 28 May 23:02 2011

Documentation

Hello,

I lead a javascript project and its going to be large, so I'm
searching for a good Documentation tool. I found
http://mozile.mozdev.org/0.8/doc/jsdoc/index.html and this is excatly
what I'm searching, how did you create it?

Peter
Douglas E. Warner | 6 May 17:08 2009
Picon

cloneNode in mozile.save.getContent is broken

I'm experiencing a problem where the values I'm setting on mozile are being
discarded during the save process; this appears to be when target.cloneNode()
is called in mozile.save.getContent.

According to a page I found [1] IE doesn't copy changes to an object with
cloneNode() after the page is loaded.

The symptom I'm seeing is that my value for mozile.save.method is being
reverted to mozile.save.display in IE.

Maybe the alternative here is to set the values before the page is loaded
rather than after?  I'll have to give it a shot, but wanted to document this
here for others as well.

-Doug

[1] http://jehiah.cz/archive/clonenode-is-broken

--

-- 
Douglas E. Warner    <silfreed@...>    Site Developer
Mozdev.org           http://www.mozdev.org

_______________________________________________
Mozile mailing list
Mozile@...
https://www.mozdev.org/mailman/listinfo/mozile
Douglas E. Warner | 14 Apr 21:40 2009
Picon

Event propagation

I'm trying to add some events to the same handlers mozile uses (keypress,
keyup, keydown) and I think mozile is stopping the execution of the events.

It appears that mozile calls stopPropagation on the default edit event; is
this true?  Is there a way around this?

What I'm trying to accomplish is this:  I have several editable regions on the
page, but the whole page itself isn't editable.  I've written a save handler
to use ajax to save each of these areas in turn, but I'd like to only do that
if they're "dirty."  Right now mozile only keeps track of this for the whole
document, so I'm keeping my own array in the mozile object of the editable
elements and whether they're dirty.  I need a way to bind to the key* events
to mark the elements dirty; is there a way inside mozile to do this currently?

-Doug

--

-- 
Douglas E. Warner    <silfreed@...>    Site Developer
Mozdev.org           http://www.mozdev.org

_______________________________________________
Mozile mailing list
Mozile@...
https://www.mozdev.org/mailman/listinfo/mozile
Douglas E. Warner | 6 Apr 21:10 2009
Picon

Actions under submenus don't work

When trying to use actions under the submenus that are defined in the RNG file
they don't seem to work.  I've noticed this even on the basic demo for 0.8 [1].

For example, selecting some text then choosing a font color doesn't change the
font's color.  Same with header size, font family, etc.

To me, it looks like most of these options are "greyed out," but I don't know
if that's true or not.

I've tested in Firefox 3 and IE6.

-Doug

[1] http://mozile.mozdev.org/0.8/demos/basic.html

--

-- 
Douglas E. Warner    <silfreed@...>    Site Developer
Mozdev.org           http://www.mozdev.org

_______________________________________________
Mozile mailing list
Mozile@...
https://www.mozdev.org/mailman/listinfo/mozile
Douglas E. Warner | 1 Apr 17:03 2009
Picon

Modifying the GUI HTML Toolbar

What is the best way of adding/removing items to the HTML Toolbar?  Is it
necessary to modify the xhtml.rng file?  I would prefer a way to modify these
through javascript so I don't need to modify the file and worry about merging
changes later on.

-Doug

--

-- 
Douglas E. Warner    <silfreed@...>    Site Developer
Mozdev.org           http://www.mozdev.org

_______________________________________________
Mozile mailing list
Mozile@...
https://www.mozdev.org/mailman/listinfo/mozile
Douglas E. Warner | 10 Feb 17:18 2009
Picon

Saving w/ POST in Mozile 0.8

I'm trying to save a page using mozile.save.post as the save method, but when
I run mozile.save.save() it returns false.  Setting mozile.save.method =
mozile.save.display seems to work fine.

Any ideas here?

-Doug

--

-- 
Douglas E. Warner    <silfreed@...>    Site Developer
Mozdev.org           http://www.mozdev.org

_______________________________________________
Mozile mailing list
Mozile@...
https://www.mozdev.org/mailman/listinfo/mozile
Gyenge | 25 Dec 13:49 2008
Picon

Re: Mozile & Firefox 3

Hi, James!
 
Thanks, for your answer. I also apologize for late replying.
Thanks also for your spending time of hacking the 0.8 code, I will try it when time allows me dealing with it a bit more.
 
I think, I misunderstood the suggestion of setting contentaccessible=yes in chrome.manifest, because I made it (as I'd written below) into the 0.8 extension chrome manifest. But, it nothing resulted. Certainly, it would had been made into some 0.6 version. But, I'm not sure, and haven't tried yet, whether FF3 would have allowed to install this earlier extension with this hacking.
 
Momentarily, I concluded with that resolution I've been using two versions of  FF3 & FF 2.0x with the earlier version of mozile (0.6.31.1), which works in stable.
There is also a reason for this decision  since I'm also developing a little extension which able to  work with scrapbook, and also with an else extension cmsitenavigation, latter which is also only for earlier version of FF.  My plan is basically for extending scrapbook's in -line editing capabilities, commenting, an making several tpye of notes, bullets, and also of cmsitenavigation gathering several link types, anchors, and putting user defined bookmarks, reference links into the page etc. But, my one  works on locally saved web pages not on social bookmarking servers. However these are yet only in their parts of javascripts codes, under testing and basically for own using.
Unfortunately, I haven't also enough time putting my things together and packaging them into an usable extension for FF3. But, it would require and suppose, suggest too using mozile  any version runing on FF3. Because my this idea basically  is based on content editing.
 
Thanks again for yours really very usable incomparable extension of mozile.
 
Furthermore, I size the opportunity here:
I WISH YOU a FRUITFUL and PROSPEROUS NEW YEAR!
 
Iplnt/Valeria

 
_______________________________________________
Mozile mailing list
Mozile@...
https://www.mozdev.org/mailman/listinfo/mozile
IPLNT | 1 Oct 23:37 2008
Picon

Re: Mozile & Firefox 3

Hi, James

I was reading through the thread of this subject, and I was also who put the
next (Using this very cool extension in FF 3.0.1
<http://www.mozdev.org/pipermail/mozile/2008-August/001318.html>   IPLNT). 
Albeit that, I haven't got any response to my email (surely I was not quite
specific) but, reading through the previously written ones on this thread
(since my goal and trouble quite same as
Mircea wrote)  I was very happy getting the answers to my all questions too.
First of all, thanks for both of yours. 
I'd downloaded the mozile-0.8.0dev.xpi
<http://overton.ca/james/mozile/mozile-0.8.0dev.xpi> , then installed on FF
3.0.3 and played with a little with that. 
I also tried to insert the (content mozile chrome/mozile/content/
contentaccessible=yes into the
...Profiles\numbers.FF3\extensions\{279486FD-FB15-43D0-B5BB-9201E4CD76FD}\ch
rome.manifest ) as Max d'Alay said. But nothing essential had changed. 
I'd set the preferences for using the Mozile (custom) configuration. The
toolbar worked quite well for the generally used formatting and enhanced
(Copy/Cut/Paste) commands without the crome.manifest editing, too. But
either without or with that the Text colour, Background color..(lost the
selection and nothing had happened) furthermore any complicated formatting
features didn't worked.

You wrote too, this quick hacked version for FF 3 unfortunately incomplete
yet. 
Thus, I'd like inquire whether those files on repository
http://www.mozdev.org/source/browse/mozile/www/0.8/extension/ are same as or
newer than you packaged into the  mozile-0.8.0dev.xpi?
If they  are newer can I download them with Tortoise SVN instead of CVS (I'm
using SVN because of my work:) from this place with login/password guest?

Thanks for your reply
IPLNT/Valeria

P.s: (I visited your web site and took a look into your resume and work, and
I found you a similar vein person. I could find your Philosophy Presentation
quite interesting which I will have read through with more perusal:))
IPLNT | 16 Aug 11:20 2008
Picon

Re: Using this very cool extension in FF 3.0.1

Hi,
 
I should like using this very cool extension in FF 3.0.1, but it says it isn't compatible with this new version of FF.
Is there any possibility to use this extension with the new FF?
Which version I can install?
Is there any plan for developing a Mozile extension version for the new FF.
Can I downgrade really my FF ( to older one 2.0.0.16) since I want using Mozile?
 
It would be a great disadvantage if it couldn't be usable with the newer version of FF.
 
I'm awaiting for your best reply
IPL
_______________________________________________
Mozile mailing list
Mozile@...
https://www.mozdev.org/mailman/listinfo/mozile
contulmmiv | 7 Aug 18:36 2008
Picon

Re: Mozile & Firefox 3

Hi James -- and thank you very much for the reply.

Sometimes I am deeply troubled about  how come that good things don't manage to get the critical "take off" speed... Mozile is one of them: there's little reference to it, no alternative to it, and tremendous potential for it. Anyways...

I describe m procedure in some detail for the benefit of other potentially interested users.
What I did, was to "prepare" a special installation of Firefox 2, such as I could continue using Mozile. My Firefox was already hacked, in the sense that it is completely independent from the OS (XP). It lauches via a .bat file, and the profile and the app folders are on locations chosen by me on a separate drive. I modified the batch file such as I could use a second process in an independent way. Therefore, now, Firefox 2 and Firefox 3 can run at the same time, without interfering with one another, using different profiles/settings. I even changed the icon of Firefox2-Mozile app, such as I can tell the windows apart.
The two Firefoxes use separate Scrapbook settings, sharing only one folder in common. I usually run Firefox 3: when I discover a page of interest, something which I want to read and annotate offline, I capture the page with Scrapbook in the common folder, I switch to Firefox2-Mozilezied, edit the page, save it, and then I can move the edited file in its desired location in the main Scrapbook folder tree visible from Firefox 3 (Firefox2 needs to be restarted, though, for Scrapbook to show the addition).
If one really want to maximize the results, one could portabilize the Firefox2 installation, adding plugins which otherwise one may want to keep away from polluting the system folders (I recall the good old days of Netscape for Mac -- a plugin was just as the name says, and as should be, staying in the plugin folder; today, a so-called plugin - Acrobat, QuickTime among the most noxious, just don't work if they don't install their mother applications, which one may one to keep out of one's machine; but the same is, regretably, true for VLC or OpenOffice so-called "plugins").

I tried the 0.8dev version of Mozile. Perhaps for some minimal operations (cut-paste) could be useful. Unfortunately, the enhanced features are the important ones for purposes like mine. The installation acts weirdly: the caret does not show, and the extended toolbar appears and disappears without me being able to detect a pattern. Upon trying the "font color" feature, nothing happened in the text, but the color changed in the menu (I tried red, and the letters I typed replaced the label for "red" in the drop-down menu and were colored red!).

Nevertheless, I am happy to know that you are still interested in working on Mozile. So far, the solution described above should satisfy any seriously interested user. I for one will be happy to wait for as long as it takes for a FF 3 compatible version, and am grateful for your effort.

Sincerely,

Mircea

James A. Overton wrote:
Hi Mircea,

(This is a duplicate of the message I sent to the Mozile list.)

Sorry for the long delay replying to your email.

There's good news and bad news...

The bad news is that the problem with the Mozile 0.6 extension in FF3 looks like a serious one. Mozile 0.6 loads files into the target page from "chrome" URLs (the browser's own special files) and FF 1 & 2 allowed this. However FF3 does not allow linking to chrome URLs anymore -- which is probably a good security decision. In short: Mozile 0.6 just won't work in FF3.

The good news is that Mozile 0.8 is smarter about these security issues. I've done some quick hacks to get the (incomplete) Mozile 0.8 extension to work in FF3. You can try installing it from the link below:

http://overton.ca/james/mozile/mozile-0.8.0dev.xpi

Once it's installed, customize the toolbar and add the Mozile button to it. You'll be able to edit arbitrary web pages as before. (The "enhanced editing" features aren't complete.)

If this works for you then I can try to find a little time for bug fixes in the coming weeks. If it isn't going to be a good replacement for your old workflow with Mozile 0.6 and FF2, then I'm afraid there isn't too much more I can do.

Best regards,

James


On 2008-07-28, at 1:46 PM, contulmmiv wrote:

Hello James/Max et al. --

I have been using with great success Mozile in conjunction with Scrapbook for online research/annotation of selected web content.
Everything worked fine with Firefox 2.

I recently upgraded to Firefox 3 and Mozile seems to not work.
I tried both Mozile 0.6.3.1 and Mozile 0.7.6. The symptoms are identical:
* by means of the Mr tech Local Install extension, I override the version limitations, and Mozile installs fine
* what happens, is that upon attempting to edit any web page, even though Mozile produces the message "content now editable", nothing can be typed. The toolbar, also, doesn't show up
* however, when using the "test boxes" provided here http://mozile.mozdev.org/ and here chrome://mozile/content/demo/basic/mozileTest1.html, the toolbar shows up, albeit in different positions: in the first case, it is located in the upper part of the web page itself, scrolling together with the scrolling of the page. In the second case, it shows up in the normal position, that is, in the "Mozile Toolbar" itself. Typing and editing within the box is possible, but not outside the box. As soon as one clicks outside of the test box, the toolbar disappears again, and typing has no effect.


These symptoms seem to indicate that there is no fundamental incompatibility at stake. I wonder if one of the default settings in Firefox 3 may be responsible, preventing the normal operation of Mozile?

I very much hope that this is the case, or something very simple, because Mozile has proved to be irreplaceable for the purposes stated above. I know of no other tool which can do the same...

Looking forward to hearing, hopefully, good news.

Sincerely,

Mircea
_______________________________________________
Mozile mailing list
Mozile-hfdxhZW8pNUdnm+yROfE0A@public.gmane.org
https://www.mozdev.org/mailman/listinfo/mozile


_______________________________________________
Mozile mailing list
Mozile@...
https://www.mozdev.org/mailman/listinfo/mozile
contulmmiv | 28 Jul 19:46 2008
Picon

Mozile & Firefox 3

Hello James/Max et al. --

I have been using with great success Mozile in conjunction with Scrapbook for online research/annotation of selected web content.
Everything worked fine with Firefox 2.

I recently upgraded to Firefox 3 and Mozile seems to not work.
I tried both Mozile 0.6.3.1 and Mozile 0.7.6. The symptoms are identical:
* by means of the Mr tech Local Install extension, I override the version limitations, and Mozile installs fine
* what happens, is that upon attempting to edit any web page, even though Mozile produces the message "content now editable", nothing can be typed. The toolbar, also, doesn't show up
* however, when using the "test boxes" provided here http://mozile.mozdev.org/ and here chrome://mozile/content/demo/basic/mozileTest1.html, the toolbar shows up, albeit in different positions: in the first case, it is located in the upper part of the web page itself, scrolling together with the scrolling of the page. In the second case, it shows up in the normal position, that is, in the "Mozile Toolbar" itself. Typing and editing within the box is possible, but not outside the box. As soon as one clicks outside of the test box, the toolbar disappears again, and typing has no effect.


These symptoms seem to indicate that there is no fundamental incompatibility at stake. I wonder if one of the default settings in Firefox 3 may be responsible, preventing the normal operation of Mozile?

I very much hope that this is the case, or something very simple, because Mozile has proved to be irreplaceable for the purposes stated above. I know of no other tool which can do the same...

Looking forward to hearing, hopefully, good news.

Sincerely,

Mircea
_______________________________________________
Mozile mailing list
Mozile@...
https://www.mozdev.org/mailman/listinfo/mozile

Gmane