-
Re: VBForums Firefox extension FINALLY updated for 1.0.
Easier said then done with that kid...:) But I guess he will read this in the morning too. So hope we can give you the new stuff tomorrow so you can add it. I am exited about your editor and how it works.
But on an other side, since he forgot to update, I guess an other way to do it would be to just add it for you now on the current version that is in the FTP folder, then he can add his new stuff to that one. Because I am pretty sure he didn't do too much, so it won't take him much time to copy paste it to your version.
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
Ok. Ill start merging my code into whats on the ftp a few minutes
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
OK...good. I work like this all the time. Even here at CERN, with a local test version, and then add my stuff when it is finished or neads real testing.
Looking forward to see it.
ØØ
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
Hmm. cant connect to the ftp from here. Can you mail it to me [email protected]?
remove the nospammy. part :D
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
Hehe...do you think I am stupid..:D...BTW sendt...tell me if you don't get it...I don't realy on Linux and MS Exchange server at all..:)
BTW I almost forgot to take away the ? on the end of the mail address..:D
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
Not getting anything. ...maybe just attach it here.
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
Hmmm....I hate this...grrr...
well, here you go. BTW there might be some redundant files there like both the jar file and the actual folders. But they contain the same thing, so don't worry.
I havn't added anything for the Python heiglighter yet. It is not complete enough.
ØØ
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
kk. I got your emails finally but the attachments were deleted. :o
Quote:
Originally Posted by NoteMe
Hmmm....I hate this...grrr...
well, here you go. BTW there might be some redundant files there like both the jar file and the actual folders. But they contain the same thing, so don't worry.
I havn't added anything for the Python heiglighter yet. It is not complete enough.
ØØ
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
Quote:
Originally Posted by Cander
kk. I got your emails finally but the attachments were deleted. :o
Why did they delete them? Because they where zip files? Or didn't the anitvirus manage to read the linux zip files....sounds stupid. Like when I tried to send something with hotmail to be able to get it on my Linux machine, Hotmail said that it couldn't scan the zip file, so I was not allowed to download it again..:D
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
Ah well. no biggy really. But there is a problem. What you sent me looks older than the packaged xpi file you have up now.
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
woot? well let me attach the XPI then...even if I am pretty sure it is the newest. But I remember that Ian had given me the wrong XPI this morning too. So I might have forgotten to add the latest after I told him. 2sec...
-
1 Attachment(s)
Re: VBForums Firefox extension FINALLY updated for 1.0.
This is the xpi on the server now. Just change the name.
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
PS, add the extension here when you are finished then, so Neb can pick it up here early tomorrow. Since you won't be able to upload it to the server again???
ØØ
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
Its still not in sync. The overlay file doesnt match the latest package and god knows what else. I will just wait until you guys get it straightened out.
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
What version does it say you have in Fx? 0.2.2? If so that is what you have now, and that is what I have. :confused:
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
0.2.2. But what you posted here is not the same as http://noteme.com/vb_extension/vbf.xpi
I could just get the code out of that, but I don't know what changes may be in what you sent me that is not in http://noteme.com/vb_extension/vbf.xpi
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
Note: Looking Good :thumb:
-
1 Attachment(s)
Re: VBForums Firefox extension FINALLY updated for 1.0.
Here. I took the xpi from your site and added my changes. Here is the jar.
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
The changes added are as follows:
New file: snipEdit.xul
New functions in vbf.js: mnuCodeSnips_Build() and writeSnippet()
Edited functions in vbf.js: xpcomFileRead will now try to write a missing file if its missing instead of just popup an error. This will create the snippet.vbf file the first time someone select the Code Snippets menu item.
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
:confused: :confused: :confused: :confused: :confused: :confused:
I want to cry..:D...for some reason the version that was the newest one had the version number 0.2.0 :confused: Just found it now, cleaned out all the redundant files. I have a bit of time on the end of the day, so I can add your stuff to the this one, so you don't have to do it again. :)
I have no idea how the download thingy worked with the wrong version number, I have to sleep on that one.
ØØ
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
Oh and I got to mention the overlay file has a new menu item of course.
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
Yeah, will add that too...soon finsihed now..Just got to make sure he didn't alter the xpcomFileRead file too, but I doubt it.
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
Oooppsss...must have forgotten something. I get a "you forgot to choose an option" message when I tried it. Will look over it again.
Edit: or maybe it is because of the "rights" to write and read files on my linux box...hmmm
ØØ
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
I am a bit lost here...:)...havn't had time to read all the code because of co workers buggin me with everything...but how does it work..:)...do we...wait a sec...
Code:
If you == home:
# booooo
Ohhh...thats how it worked...:D
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
I was wondering how creating a file would work on Linux. hmm
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
Well, it looks like it worked though...let me fatch it again..:)
Code:
If (you == home) then
booooo
Yup...:)
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
Leerrooooooooooooooooy Jeeeeennnkinsss!
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
Hehe....BTW if you try to press update under tools-extensions now. Does it update for you?
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
Hehe...I noticed one error though..:D..look at the file name and path...:D
./home/noteme/.mozilla/firefox/m72jecix.default\snippets.vbf
./root/.mozilla/firefox/uofyrgct.default\snippets.vbf
-
1 Attachment(s)
Re: VBForums Firefox extension FINALLY updated for 1.0.
Quote:
Originally Posted by Cander
Yep.
updated to 0.2.3
Goody, well then the newest one is on the server...and just in case here it is too..:)
[Edit] This is the XPI, so just rename.
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
You saw it? You are probably somewhere adding a \ but on linux it is /. It is probably with JS as with Python that there is a function called concatenate path, or something similar that will concatenate the path for the OS it is running on.
ØØ
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
Updating via Fx works nicely :thumb:
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
BTW, should probably check before I ask, but i am too tired..:)...Isn't JS incapable of reading and writing to disk? do you write the file using XUL?
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
I just noticed that there is missing an M in this function in vbf.js. Won't bother to fix it now, because then I have to upload the file again 3 places to fix it. Will do it tomorrow when I add my python stuff:
Code:
init: function()
{
var menu = document.getElementById('contentAreaContextMenu');
menu.addEventListener('popupshowing', vbf.showHide, false);
},
-
1 Attachment(s)
Re: VBForums Firefox extension FINALLY updated for 1.0.
Ok want to give this a try on Linux?
and the file writing is done in javascript code but it usesd built in Firefox api's to do the writing and reading
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
The new function added is
Code:
function platformPath()
{
try
{
netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
}
catch (e)
{
alert("Permission to save file was denied.");
}
const DIR_SERVICE = new Components.Constructor("@mozilla.org/file/directory_service;1","nsIProperties");
try
{
path=(new DIR_SERVICE()).get("ProfD", Components.interfaces.nsIFile).path;
}
catch (e)
{
alert(e);
}
// findout if linux or windows to determine path
if (path.search(/\\/) != -1)
{
return "\\";
}
else
{
return "/";
}
}
Should tell if you are on windows or a nix based file system Works on Windows at least so far
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
Ohhh...I had to suddnly leave work. And I am now home. 23:00...zzzzzzzzzzzzz....but I will test it in the morning. BTW I guess two more functions are edited or something? the write and the read function?
ØØ
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
The snipEdit.xul was edited...I assume you can just replace that unless you have done anything to it.
The mnuCodeSnips_Build() and writeSnippet() were edited in vbf.jar
I think that is it
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
Oh and the new function is outside the vbf class
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
OK...I will test that tomorrow, and if it isn't working, then I guess I can hack up something since I am on Linux and can test it in "real time"..:)
ØØ
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
The update thingy doesn't seem to work well... It shows that there is a new version but it won't download anything... Get working! :mad:
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
Quote:
Originally Posted by Cander
Hey NoteMe I found a good trick. While testing new changes, instead of having to un-install/re-isntall, you can just paste the latest .jar file into the /extension/{b58da81d-89d5-4ae7-a18e-c29ec0203aef}/chrome ddirectory in your firefox profile directory.
Ok, found out I miss something with installed-chrome (problem was not really on Firefox). This is the way I do the development with XUL. Copy the vbf folder containing the content, locale and skin folder at C:\Program Files\Mozilla Firefox\chrome. Hack installed-chrome.txt and put
content,install,url,resource:/chrome/vbf/content/vbf/
locale,install,url,resource:/chrome/vbf/locale/en-US/vbf/
skin,install,url,resource:/chrome/vbf/skin/classic/vbf/
This way, firefox locates vbf extension in resource, not the jar. You can do editing any content of the extension and restart firefox to (viola) see the changes.
Don't know where to send the new package, I'll just wait for NoteMe. Got the C# highlighter looking good (of course, base from Cander's functions). TODOS, javascript highlighter and CSS highlighter, also fancy text manipulation like Console Output, etc.
-
1 Attachment(s)
Re: VBForums Firefox extension FINALLY updated for 1.0.
about.xul. Boss Cander still has the go on who should be in list. I'll just put my name just in case. :bigyello:
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
i cant get the dang thing to work...what the heck am i supposed to do? i installed it to firefox..now what? i dont see anything different...
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
aha! you have to right click in the part where you type! *doh* hey there
-
Re: VBForums Firefox extension FINALLY updated for 1.0.
Quote:
Originally Posted by |2eM!x
aha! you have to right click in the part where you type! *doh* hey there
Smart kid...:D