Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 20 Nov 2014, 19:06
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Latest NicoEdit source code
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [12 Posts]  
Author Message
kdulcimer

Joined: 07 Jun 2006
Posts: 37

PostPosted: Tue 15 Dec 2009, 11:55    Post subject:  Latest NicoEdit source code  

I'm interested in getting ahold of the latest NicoEdit source code for another Linux distribution. Could somebody be so kind as to point my nose in the right direction?

Is there anywhere the NicoEdit source code is stored outside this forum?
Back to top
View user's profile Send private message 
James C


Joined: 26 Mar 2009
Posts: 5930
Location: Kentucky

PostPosted: Wed 16 Dec 2009, 02:26    Post subject:  

I believe you can get it here
http://bkhome.org/sources/alphabetical/n/nicoedit-2.5.tar.gz

His blog post concerning NicoEdit is here

http://bkhome.org/blog/?viewDetailed=01270

I checked out your Beta release the other day, looks like a good base to build with. Smile

HTH.
Back to top
View user's profile Send private message 
kdulcimer

Joined: 07 Jun 2006
Posts: 37

PostPosted: Wed 16 Dec 2009, 23:10    Post subject:  

Thanks for the link, but I get asked for a username and password.

You may have picked up a Beta release that wasn't quite ready yet.
Back to top
View user's profile Send private message 
James C


Joined: 26 Mar 2009
Posts: 5930
Location: Kentucky

PostPosted: Thu 17 Dec 2009, 00:34    Post subject:  

user - puppy

password - linux

HTH.
Back to top
View user's profile Send private message 
kdulcimer

Joined: 07 Jun 2006
Posts: 37

PostPosted: Sat 19 Dec 2009, 12:57    Post subject:  

Thank you very much, sir!
Back to top
View user's profile Send private message 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 7081
Location: Perth, Western Australia

PostPosted: Sat 19 Dec 2009, 18:37    Post subject:  

Nicolas, the developer of NicoEdit, is busy with other things right now, so not currently keen to work on NicoEdit.

Version 2.5 fixed a problem, the PPLOG script did not open. It does not fix the shebang line '#!/bin/ash' that I had requested. Also, 2.5 does not have the menu option to manually choose color highlighting -- which 2.4 does have.

So, is anyone interested in examining 2.4 and 2.5 source and put the menu entry for syntax highlighting back in? -- because NicoEdit does not always autodetect the type of file.

Also, figure out how to add '#!/bin/ash' to the other shebang lines '#!/bin/sh', '#!/bin/bash'.

Then we will have say version 2.5.1.

_________________
http://bkhome.org/news/
Back to top
View user's profile Send private message Visit poster's website 
ttuuxxx


Joined: 05 May 2007
Posts: 10843
Location: Ontario Canada,Sydney Australia

PostPosted: Sat 19 Dec 2009, 19:47    Post subject:  

BarryK wrote:
Nicolas, the developer of NicoEdit, is busy with other things right now, so not currently keen to work on NicoEdit.

Version 2.5 fixed a problem, the PPLOG script did not open. It does not fix the shebang line '#!/bin/ash' that I had requested. Also, 2.5 does not have the menu option to manually choose color highlighting -- which 2.4 does have.

So, is anyone interested in examining 2.4 and 2.5 source and put the menu entry for syntax highlighting back in? -- because NicoEdit does not always autodetect the type of file.

Also, figure out how to add '#!/bin/ash' to the other shebang lines '#!/bin/sh', '#!/bin/bash'.

Then we will have say version 2.5.1.


open /root/Downloads/nicoedit-2.5/src/nicoedit.gs
line 1048 buf.set_highlight_syntax (false)
should be buf.set_highlight_syntax (true)
also line 375 is missing */
it looks like /* ***************
when it should look like /* *************** */
ttuuxxx

_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile
Back to top
View user's profile Send private message Visit poster's website 
MU


Joined: 24 Aug 2005
Posts: 13644
Location: Karlsruhe, Germany

PostPosted: Sat 19 Dec 2009, 23:48    Post subject:  

yes, ttuuxx is right concerning the comment, but you also must delete the closing */ lateron.

That comment removed the whole highlight-submenu.

And another function had to be uncommented:
def check_correct_lang (value : string)

This one will set the togglebutton in that menu, to show which language is currently active.

Then this function also must be called, after the correct language was detected.
I marked that part with a "//MU" comment.

At that place, I also added a "manual" check for "#!/bin/ash".
It will analyse the first line of the text.
By default, nicoedit uses a glib function to check the mimetype, but that one does not detect ash as shellscript.

I attach the patched source.

Note: to update also the version number in the about dialog to 2.5.1, you must edit in addition the file "wscript".

My attached arcive contains only nicoedit.gs, no other files.
So you need the original 2.5 source to compile it.

Mark

_________________
my recommended links

Last edited by MU on Sun 20 Dec 2009, 00:11; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
ttuuxxx


Joined: 05 May 2007
Posts: 10843
Location: Ontario Canada,Sydney Australia

PostPosted: Sun 20 Dec 2009, 00:01    Post subject:  

thanks mark I didn't try what I posted, I just posted what I found.
Smile
ttuuxxx

_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile
Back to top
View user's profile Send private message Visit poster's website 
MU


Joined: 24 Aug 2005
Posts: 13644
Location: Karlsruhe, Germany

PostPosted: Sun 20 Dec 2009, 00:10    Post subject:  

I just see in comparison with 2.4, that also in the "tools" menu, the option to change the text and backgroundcolor was removed.

I attach a patched version based on my first patch, where it is reenabled again.

Mark
nicoedit.gs.tar.gz
Description 
gz

 Download 
Filename  nicoedit.gs.tar.gz 
Filesize  14.49 KB 
Downloaded  330 Time(s) 

_________________
my recommended links
Back to top
View user's profile Send private message Visit poster's website 
MU


Joined: 24 Aug 2005
Posts: 13644
Location: Karlsruhe, Germany

PostPosted: Sun 20 Dec 2009, 00:15    Post subject:  

thats was great ttuuxx, it encouraged me to have a look.
I think without your hint, I would have preferred to take some sleep instead Wink

It is always easier, if people share the work, and you have brought me on the right track Smile

thanks, Mark

_________________
my recommended links
Back to top
View user's profile Send private message Visit poster's website 
ttuuxxx


Joined: 05 May 2007
Posts: 10843
Location: Ontario Canada,Sydney Australia

PostPosted: Sun 20 Dec 2009, 00:53    Post subject:  

Great mark I repacked it and changed the version number Smile
ttuuxxx
nicoedit-2.5.1.tar.gz
Description 
gz

 Download 
Filename  nicoedit-2.5.1.tar.gz 
Filesize  102.46 KB 
Downloaded  656 Time(s) 

_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [12 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0682s ][ Queries: 13 (0.0053s) ][ GZIP on ]