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 Sun 24 Jun 2018, 19:09
All times are UTC - 4
 Forum index » Off-Topic Area » Programming
Vala and Genie programming
Post new topic   Reply to topic View previous topic :: View next topic
Page 28 of 35 [517 Posts]   Goto page: Previous 1, 2, 3, ..., 26, 27, 28, 29, 30, ..., 33, 34, 35 Next
Author Message
BarryK
Puppy Master


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

PostPosted: Mon 14 Sep 2009, 04:09    Post subject:  

technosaurus,
Hey, my PET is 40KB! Smile

I didn't use the scripts, did it the other way:

# ./waf configure
# ./waf build

...worked fine.

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


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

PostPosted: Mon 14 Sep 2009, 08:27    Post subject:  

Wow just tried the latest nico edit and boy its came a long way.
One thing I would like to see in it is tabs, and when drag a new document to the gui it opens the file in a new tab, eg drag 5 files and have 5 tabs.
after that it could be a geany replacement and not just a leafpad replacement, very close, nice size also Smile right now I'm using teagtk the pet is around 140kb and has highlight, line numbers, and drag and drop for tabs. Really thats all I use, I don't need fancy compiling in a editor etc. Geany just getting too bloated.
Oh I see you can export as pdf, hmmm maybe consider images? If you could add images and move them around, It would make a perfect pdf ebook creator. Just some ideas Smile

Anyways keep up the excellent work:) very impressive.
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 
BarryK
Puppy Master


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

PostPosted: Mon 14 Sep 2009, 19:07    Post subject:  

Ttuuxxx,
Regarding tabs, I was thinking that too, but then I started playing with the History menu, and that works surprisingly well.

The problem with tabs is I often have several documents open, so have to scroll the tabs, which makes the whole thing somewhat inefficient.

However with the History menu I can flip between documents. However, what spoils that is it doesn't remember the last position. If it did, that would make it very easy to work with a large number of documents.

So, Nicolas, if you read this, my number one request is for the History menu to remember the last position of the window and the cursor position of each previously-opened file!

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


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

PostPosted: Mon 14 Sep 2009, 19:30    Post subject:  

Hi Barry I don't know if you ever tried Teagtk, but it does have a nice menu under file, Like recent documents, bookmarks, sessions, templates, etc and like I mentioned its really small compared to Geany about 1/4 the size. and once you setup the basic configures like I did in my last package its pretty good.

The sources 468kb
http://sourceforge.net/projects/tea-editor/files/teagtk/17.6.6/teagtk-17.6.6.tar.bz2/download

The last package I made up, its good if you want to custom configs in root/choices
http://www.murga-linux.com/puppy/viewtopic.php?mode=attach&id=21761

Playing around with the history is a good alternative way of getting around the tab issue, but for a person like myself I think the most tabs I ever need open at once is about 4, Firefox is different sometimes I have like 50 tabs open at once, lol
I would be happy to replace Geany with nicoedit if it had tabs.

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 
ITAmember

Joined: 13 Sep 2009
Posts: 168
Location: The middle of a cornfield

PostPosted: Mon 14 Sep 2009, 22:23    Post subject:  

I would like to use id3lib (http://id3lib.sourceforge.net/) in a vala program I'm planing to make. It's a c++ library that can be called from plain old C so it should work without much trouble. The problem is, I have no idea how to make the vapi file. Everything I found via google (which wasn't much) was for glib libraries and used glib only autogeneration. Any hints?
Back to top
View user's profile Send private message 
BarryK
Puppy Master


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

PostPosted: Tue 15 Sep 2009, 03:28    Post subject:  

ITAmember wrote:
I would like to use id3lib (http://id3lib.sourceforge.net/) in a vala program I'm planing to make. It's a c++ library that can be called from plain old C so it should work without much trouble. The problem is, I have no idea how to make the vapi file. Everything I found via google (which wasn't much) was for glib libraries and used glib only autogeneration. Any hints?


I seem to recall there was some discussion on the Vala mail-list recently, someone asked that same question. Find the archive of the Vala mail-list ...I don't know the url offhand.

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


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

PostPosted: Tue 15 Sep 2009, 03:31    Post subject:  

Ah, yes, there is another thing that prevents me from making NicoEdit 2.1 the main text editor in 4.3 -- no line-wrapping!

So, I have to leave Geany as the main text editor. NicoEdit 2.1 will be the secondary editor (Leafpad replacement) in 4.3final.

Line-wrapping is essential for a useful text editor.

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

Joined: 23 May 2009
Posts: 84
Location: Bordeaux, France

PostPosted: Tue 15 Sep 2009, 05:09    Post subject:  

For NicoEdit, see newer message !
Last edited by nikobordx on Tue 15 Sep 2009, 12:22; edited 1 time in total
Back to top
View user's profile Send private message 
nikobordx

Joined: 23 May 2009
Posts: 84
Location: Bordeaux, France

PostPosted: Tue 15 Sep 2009, 10:06    Post subject:    

Hi again,

I make a new version of NicoEdit.

This version correct a bug found on 2.3 when you use the fullscreen.

Download it here: http://www.murga-linux.com/puppy/viewtopic.php?mode=attach&id=21799

See you,
Nicolas.
Back to top
View user's profile Send private message 
ttuuxxx


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

PostPosted: Wed 16 Sep 2009, 09:53    Post subject:  

does anyone have it compiled ? I don't have python in 2.20, but the rest of the vala deps are install.
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 
01micko


Joined: 11 Oct 2008
Posts: 8675
Location: qld

PostPosted: Thu 17 Sep 2009, 03:32    Post subject:  

ttuuxxx wrote:
does anyone have it compiled ? I don't have python in 2.20, but the rest of the vala deps are install.
ttuuxxx


Yep! Just compiled it and it seems ok, word wrap and fullscreen working Smile . Thankyou Nicolas!

One, point, I followed the bk_compile routine and the .pet package created has a bug. The structure is correct of course but the parent dir needs to be "nicoedit-x.x" and that will become the name of the .pet.

Cheers
nicoedit-latest.pet
Description 
pet

 Download 
Filename  nicoedit-latest.pet 
Filesize  43.68 KB 
Downloaded  433 Time(s) 

_________________
Puppy Linux Blog - contact me for access
Back to top
View user's profile Send private message Visit poster's website 
01micko


Joined: 11 Oct 2008
Posts: 8675
Location: qld

PostPosted: Thu 17 Sep 2009, 08:41    Post subject:  

Please note, the .pet I packaged above is straight from nicolas' compile so may not work on some systems. Wink
_________________
Puppy Linux Blog - contact me for access
Back to top
View user's profile Send private message Visit poster's website 
ttuuxxx


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

PostPosted: Thu 17 Sep 2009, 11:30    Post subject:  

01micko wrote:
Please note, the .pet I packaged above is straight from nicolas' compile so may not work on some systems. Wink


Worked fine for me Mick Smile and the fullscreen bug is fixed Smile
thanks for that 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 
disciple

Joined: 20 May 2006
Posts: 6828
Location: Auckland, New Zealand

PostPosted: Fri 18 Sep 2009, 05:40    Post subject:  

Hi guys, I haven't really looked at Vala yet, but I'm wondering - does anyone have any idea how hard it would be to convert a simple-ish gtk program from c to vala? And how much easier do you think it would be to learn vala than C? Is Vala:
0. No easier than C
1. A little easier than C
2. Quite a bit easier than C
3. A lot easier than C
4. So much easier than C that there's no comparison.

Any thoughts?

_________________
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER
Back to top
View user's profile Send private message 
disciple

Joined: 20 May 2006
Posts: 6828
Location: Auckland, New Zealand

PostPosted: Fri 18 Sep 2009, 05:51    Post subject:  

I see Vala 0.7.6 is released too.
_________________
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 28 of 35 [517 Posts]   Goto page: Previous 1, 2, 3, ..., 26, 27, 28, 29, 30, ..., 33, 34, 35 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Off-Topic Area » Programming
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.1196s ][ Queries: 13 (0.0622s) ][ GZIP on ]