Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (25) </ ... 16 17 18 19 20 [21] 22 23 24 25 >/

[ Track this topic :: Email this topic :: Print this topic ]

new topic new poll
Topic: DSL v4.3< Next Oldest | Next Newest >
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: May 15 2008,19:46 QUOTE

The latest sqlite is huge in comparision to our current version. I don't think I can accomodate the latest sqlite into core. There has been much discussion on the merits of moving to the latest sqlite. Currently DSL only has one script that interfaces to sqlite and it is not a required script. It was something I was doing and using for my personal needs. Possibly a library can be built to support our current version of sqlite. Or perhaps someone can shed light on a compelling reason to require the latest sqlite.
Back to top
Profile PM WEB 
meo Offline





Group: Members
Posts: 552
Joined: April 2004
Posted: May 15 2008,21:07 QUOTE

Hi Robert!

That sounds very promising. I can hardly wait. Thanks for all your good work!

As always have fun,
meo

EDIT: I was referring to your post before this last one


--------------
"Live and let live"   Treat others the way you want to be treated because that's what you should expect from them.

"All that is very well," answered Candide, "but let us cultivate our garden." - Francois-Marie Arouet Voltaire
Back to top
Profile PM 
MakodFilu Offline





Group: Members
Posts: 65
Joined: Jan. 2006
Posted: May 15 2008,23:35 QUOTE

Quote (mikshaw @ May 02 2008,19:00)
On the subject of flrun, you're attempting to set the value of a menu to a string, when it requires an integer.  If you change input:value() to input:add(), it adds the command to the menu. Is that what you wanted?

Maybe. Gonna test. I remember when first using fl_input_browse widget I didn't know of any examples of its use (or even edible ones in C), so I didn't know how to deal with it: as fl_input_box or as fl_browse. It seemed to work as fl_input_box, so I went that way. Wrong on my part for not checking changelogs.

Quote
Also, the browse callback tries to work with fl_file_chooser directly.

I remember checking it to see if an intermediate variable was needed. I saw fl_input indulged happily being assigned a nil value so I dispensed the caution in the script. It worked, but you are again right that it is against best coding practices.

Quote
There's no need to edit the scripts when you can apply it to every murgaLua GUI in one shot:
http://damnsmalllinux.org/cgi-bin....t=19979

Extra-nice :) Gonna play with that.
Back to top
Profile PM WEB 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: May 16 2008,02:40 QUOTE

The LUA_INIT is used by all Lua scripts. With the new open lua fltk, not all Lua scripts are GUI, nor would you want such scripts to have to require the fltk widget set. Therefore LUA_INIT would not be such a good choice. One can still have themeable lua fltk by using, say, a dofile pointing to your .murgaLuarc.
Then only those lua scripts that need GUI, having the require('fltk") could also have a dofile("/home/dsl/.murgaLuarc"). Then editing the .murgaLuarc would cause all such lua fltk gui scripts to have the specified theme, fonts, etc.
Back to top
Profile PM WEB 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: May 16 2008,13:30 QUOTE

I wonder if it might be easier to do a check for fltk in the LUA_INIT file before running any fltk commands. This assumes that -lfltk is being used as part of the interpreter as mentioned earlier, and that -lfltk loads fltk before LUA_INIT is read, neither of which I know at this point.  In any case, if it works, I think either method could be used. I only mention sticking with LUA_INIT because it would allow you to skip running dofile in every fltk-enabled script.

On the previous subject of my hardware issue, I'm still not certain what the problem is, but it's looking like it might be CPU failure (swapping the ram out didn't help).  My cousin just gave me his "old" mobo, which includes twice the ram i had before, and a comparable processor (1.6ghz Athlon compared to my previous 1.8ghz Pentium4). So after a few days without computing, I guess I can continue now =o)

The fans are really loud, though.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
123 replies since April 22 2008,05:38 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (25) </ ... 16 17 18 19 20 [21] 22 23 24 25 >/
new topic new poll
Quick Reply: DSL v4.3

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code