Latest NicoEdit source code

Stuff that has yet to be sorted into a category.
Post Reply
Message
Author
kdulcimer
Posts: 37
Joined: Wed 07 Jun 2006, 14:11

Latest NicoEdit source code

#1 Post by kdulcimer »

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?

User avatar
James C
Posts: 6618
Joined: Thu 26 Mar 2009, 05:12
Location: Kentucky

#2 Post by James C »

I believe you can get it here
http://bkhome.org/sources/alphabetical/ ... 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. :)

HTH.

kdulcimer
Posts: 37
Joined: Wed 07 Jun 2006, 14:11

#3 Post by kdulcimer »

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.

User avatar
James C
Posts: 6618
Joined: Thu 26 Mar 2009, 05:12
Location: Kentucky

#4 Post by James C »

user - puppy

password - linux

HTH.

kdulcimer
Posts: 37
Joined: Wed 07 Jun 2006, 14:11

#5 Post by kdulcimer »

Thank you very much, sir!

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#6 Post by BarryK »

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.
[url]https://bkhome.org/news/[/url]

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#7 Post by ttuuxxx »

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 :)

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#8 Post by MU »

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
Last edited by MU on Sun 20 Dec 2009, 04:11, edited 1 time in total.
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#9 Post by ttuuxxx »

thanks mark I didn't try what I posted, I just posted what I found.
:)
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#10 Post by MU »

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
Attachments
nicoedit.gs.tar.gz
(14.49 KiB) Downloaded 891 times
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#11 Post by MU »

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 ;)

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

thanks, Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#12 Post by ttuuxxx »

Great mark I repacked it and changed the version number :)
ttuuxxx
Attachments
nicoedit-2.5.1.tar.gz
(102.46 KiB) Downloaded 1305 times
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

ralphv
Posts: 42
Joined: Sat 17 Mar 2007, 20:50

#13 Post by ralphv »

I recently compiled nicoedit in msys2 on windows. Msys2 simulates a linux environment, uses pacman to get necessary libs. Had to make changes to bkcompile script and put Gtk. in front of every Menu and MenuItem. It runs outside of msys2 if I add some locations to windows' path.

Ralph

lopman
Posts: 3
Joined: Sat 13 Feb 2016, 17:40

#14 Post by lopman »

NicoEdit v2.5.3 is the last ?

Post Reply