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
Printable View
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
Quote:
Originally Posted by Cander
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.
umm hmmm
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.
ØØ
Updating via Fx works nicely :thumb:
Im researching it NoteMe
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?
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);
},
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
The new function added is
Should tell if you are on windows or a nix based file system Works on Windows at least so farCode: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 "/";
}
}
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?
ØØ
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
Oh and the new function is outside the vbf class
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"..:)
ØØ
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:
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 putQuote:
Originally Posted by Cander
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.
about.xul. Boss Cander still has the go on who should be in list. I'll just put my name just in case. :bigyello:
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...
aha! you have to right click in the part where you type! *doh* hey there
Quote:
Originally Posted by |2eM!x
Smart kid...:D
Quote:
Originally Posted by nebulom
You should really add them to the dev folder..:)..so we know where the latest build are. Since you are not online now, I just hope that the one you mailed me both contains Canders work yesterday AND your work today....*hopes*
BTW sorry to hear that you are sick. Hope you get better soon.
ToDo list:
- Python
- Delphi
- C#
- JS
- CSS
- Text size
- Text differer
- Fonts
- incorperate Canders new editor
- add common notes to Canders editor (or something like that)
- Fix the console output with my new version, or is it Nebs output version now...:)
- add the new smilies
- ?Tabs for the smilies? (Do we need it?)
- List |list||list=1||list=a| (using canders editor again?)
- Indent
my mom always told me i was special :D
hey guys, could you color the spaces, but instead use the alt + number combo? i forget the combo, but a friend of mine knows. If youd want to use it ill find out?
Hmmm what combo? If you can give it to us, then I guess we can make it happen in some iteration.
The problem is that   is not working anymore, so it truncates the spaces if we heilight them. If you find out how to make a space then thats good. And other workaround would be to add a . in between and just colour it the same colour as the background, but that makes it hard to copy paste.
ØØ
Noooooooooooooooooooooooooooooooooooooooooooooo......you didn't use Canders code did you...noooooooooo...hmmmm...how to solve this...Now we have two versions. Canders versions and Nebs versoin.....grrr....this is NOT good...
me? uh..i donno
lemme get that combo
No, that was aimed at Nebulom....He didn't use the new code, he used a two days old code. This is hopeless. I suggest that I just keep on working on the last version Cander made yesterday. Then Nebulom has to add his 2 days work into that one tomorrow if he is back. It will take too much time for me to find out what he has done in the old version that is not added in the new one. He knows this best him self. At least when he doesn't say what files are new, or what functions are new, or what functions are changed.
ØØ
Quote:
Originally Posted by Cander
That worked great. So I will continue on your version. Then Neb has to add his to this one when he is not sick anymore.
BTW I think this thread gets a bit cluttered up. I think it is better that the dev team uses a thread in the Project Com. don't you think? So people can complain and come with suggestions here? I suggest we use your old thread:
http://vbforums.com/showthread.php?t=295138
ØØ
Where's my name? :mad:Quote:
Originally Posted by nebulom
And fix the update code!
And can you make it not ruin the smilies? :D
Restart Fx to make the new changes happen you gnome...:D
It's supposed to download first and then I have to restart you silly puppet :D
NO one else is reporting this, and i just tested it again. And it works for me..:D
OK, so maybe it was my fault, are you happy now? Huh? HUH? :mad: :D
Yeah, I am happy...:D...I am always right, and you are always left...;)
BTW, how was the island trip? Got any pictures for me?
Trip was great :D Don't have pictures yet, forgot my camera but I'll get from the others ;)
The last thing I told you to fetch before you went was your camera, and you still forgot it. You are a lazy git....D:
I was gonna use my cell phone to not carry to many things, but my battery died after taking 1 pic :(
ASCII 160 = Non breaking spaceQuote:
Originally Posted by |2eM!x
Quote:
Originally Posted by manavo11
w00t. Where is the picture of the girls?
On the other cameras :D
So do you have these pictures now. If not, give me ONE valid reason why you don't. And don't say it is because you are lazy..:)
ØØ
No, it's because I haven't seen any of the other people yet :) We aren't writing exams, the teachers are on strike :mad:
Hehe...are they doing that EVERY year down there. I can't remember that you have finished ONE whole exam period without a strike..:D
It's a tradition now :D It's just not the same if we finish all the exams on time :)
But will you always get the time to do it? Or might it happend that you can't take it after all? If you are allowed to take it even after the exam day, then it is only a good thing. Then you have a couple of more days to read...:)
ØØ
Nobody knows what will happen... Today they were supposed to decide if they will continue the strike but there is no way for us to know :afrog: We might continue after the 5th of july when we would normally finish or we might write them in September :(
But you are at least taking them. If the teachers strikes in Norway. Something they have only done ONCE the last 20 years, the pupils won't be able to take the exam at all. And have to do the whole year once more..:)
So what, I should be happy that they will keep me here longer? Many kids work in the summer and they plan to start as soon as the exams end... If they are delayed they won't be able to find a job... Anyway, my next exam is on wednesday so I guess I'll go and see if it's open or closed :) And if it's open if there will be any exams :)
Move away from that country. That country is ONLY good for one thing, and that is "vecation"...;)
I plan to as soon as I finish (if I ever do) with uni...
And having "fun" on the beaches ;)
Hehe..remember that you are going to be my tour guid too next time..:D
Whenever you come again let me know so I can get organised :D
I guess I have to tell you 2 years in advance? Because you plan your siestas two years in advanced or?
Well the problem now is that I have no one to go with...so we will see..:)
I'll be your friend as well as your tour guide :D For the right price :p :D j/k
Can you also be a girl and a lover? Thats what I want to have. It is no fun in Greece without beeing able to have BeeeP on the beaches...;)
No, I'd rather I wasn't :sick: But we can find lots here, you don't need to come with one :)
Hehe...yeah, when you say it. There is a few nice girl in Hellas too. At least if they have shaved their face...:)
OK, so we might have to look a bit harder, but I'm sure we'll find :D
I think it is better if you find one for me first. then you can call me and I will get over as fast as I can....ok?...:D
No :)