Re: Git

2008-07-29 Thread Lance Dillon
- Original Message From: Stephen R. van den Berg [EMAIL PROTECTED] To: pike-devel@lists.lysator.liu.se Sent: Tuesday, July 29, 2008 8:58:01 AM Subject: Re: Git Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum wrote: Same question. More mature in which way? Git

Re: 7.8 alpha 2

2008-08-14 Thread Lance Dillon
I'm not sure it is only a 64-bit problem. I have this [EMAIL PROTECTED] ~]# cat /proc/version Linux version 2.6.25.14-108.fc9.x86_64 (mockbuild@) (gcc version 4.3.0 20080428 (Red Hat 4.3.0-8) (GCC) ) #1 SMP Mon Aug 4 13:46:35 EDT 2008 [EMAIL PROTECTED] ~]# [EMAIL PROTECTED] ~]# cat

commits

2009-06-01 Thread Lance Dillon
I'm starting to add some more stuff to the GTK2 module. What should I be using for version control? What is the preferred method? I'm still using the cvs account that was set up for me before. Is that fine, or should I be using hg, git, svn, or something else? /lsd

pike -x module

2009-06-09 Thread Lance Dillon
I was trying to create a new module, and I got this: [riffr...@hobbes G3Object]$ pike -x module ** Old style module ** Running autoconf (with extra compat macros) autoconf --include=/usr/local/pike/7.8.8/include/pike What does Old style module mean? What should I do to make it a New style

Re: pike -x module

2009-06-10 Thread Lance Dillon
- Original Message From: Martin Stjernholm, Roxen IS @ Pike developers forum 10...@lyskom.lysator.liu.se To: pike-devel@lists.lysator.liu.se Sent: Wednesday, June 10, 2009 2:00:06 PM Subject: Re: pike -x module I think the core issue here is separating the defines and flags that

GTK2.Container

2009-06-25 Thread Lance Dillon
I just found a bug in the GTK2.Container: object a=GTK2.Window(GTK2.WindowToplevel); object b=GTK2.Button(); a-add(b); object c=GTK2.Label(text); b-add(c); c-add(b); (Pike GTK:31904): Gtk-CRITICAL **: gtk_container_add: assertion `GTK_IS_WIDGET (widget)' failed But, GTK2.Label is a

Re: GTK2.Container

2009-06-25 Thread Lance Dillon
.Widget widget); //! Remove a child from the container. The argument is the child to remove. - Original Message From: Lance Dillon riffraff...@yahoo.com To: pike-devel@lists.lysator.liu.se Sent: Thursday, June 25, 2009 2:41:23 PM Subject: GTK2.Container I just found a bug in the GTK2

Re: GTK2.Container

2009-06-25 Thread Lance Dillon
That is a good question. I'm doing a test now. I knew what the problem was, and my solution fixed it, but I didn't look at the generated code. - Original Message From: Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum 10...@lyskom.lysator.liu.se To:

Re: GTK2.Container

2009-06-25 Thread Lance Dillon
difference I see is the call to get_pg2object, pgtk2_widget_program above vice pg2_object_program for my fix (because get_gobject() gets an object as a pg2_object_program). I could rewrite my fix to grab pgtk2_widget_program instead and see what happens. - Original Message From: Lance Dillon

Re: -x pv

2010-01-21 Thread Lance Dillon
I could probably do that - Original Message From: Mirar @ Pike developers forum 10...@lyskom.lysator.liu.se To: pike-devel@lists.lysator.liu.se Sent: Thu, January 21, 2010 10:15:03 AM Subject: -x pv Could someone that know their way around GTK make pike -x pv work with GTK2?

Re: -x pv

2010-01-28 Thread Lance Dillon
- Original Message From: Mirar @ Pike developers forum 10...@lyskom.lysator.liu.se To: pike-devel@lists.lysator.liu.se Sent: Thu, January 21, 2010 10:15:03 AM Subject: -x pv Could someone that know their way around GTK make pike -x pv work with GTK2? --- So, I'm rewriting

common_draw.inc bug

2010-02-12 Thread Lance Dillon
Fixed a bug in common_draw.inc, function draw_text(). unreffed a GObject that I shouldn't. Commenting out the unref fixed the problem. The problem was: [riffr...@hobbes Download]$ pike test6.pike (table:32415): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed

Re: gtk question

2010-08-02 Thread Lance Dillon
From: Csürke Tamás linuxlin...@windowslive.com To: pike lista pike-devel@lists.lysator.liu.se Sent: Mon, August 2, 2010 12:07:23 PM Subject: RE: gtk question So, I tried it, but without success. My program runs without errors, but there isn't anyting in

Re: gtk question

2010-08-03 Thread Lance Dillon
From: Csürke Tamás linuxlin...@windowslive.com To: pike lista pike-devel@lists.lysator.liu.se Sent: Tue, August 3, 2010 11:38:47 AM Subject: RE: gtk question Thank you, it's very useful. And runs without problem, it creates the tree. But I even couldn't create a similar ComboBox. :( I

Re: GTK2.TextBuffer

2010-08-21 Thread Lance Dillon
- Original Message From: Martin Nilsson (Opera Mini - AFK!) @ Pike (-) developers forum 10...@lyskom.lysator.liu.se To: pike-devel@lists.lysator.liu.se Sent: Sat, August 21, 2010 7:35:03 AM Subject: GTK2.TextBuffer Agreed. You are all probably right, I should get rid of it.

gtkfilechooserdialog.pre change

2010-08-31 Thread Lance Dillon
Back in version 1.11-1.12, 2009-11-13 13:50:27 (per) line 1: - require gtk24; + require not_now; Why was this change made? GTK2.FileChooserDialog works fine, it just requires gtk 2.4. When I change it back to gtk24 from not_now, it compiles fine and the widget is usable. I would like to

Re: gtkfilechooserdialog.pre change

2010-08-31 Thread Lance Dillon
- Original Message From: Per Hedbor () @ Pike (-) developers forum 10...@lyskom.lysator.liu.se To: pike-devel@lists.lysator.liu.se Sent: Tue, August 31, 2010 10:55:02 AM Subject: gtkfilechooserdialog.pre change Why was this change made? GTK2.FileChooserDialog works fine, it

Re: gtkfilechooserdialog.pre change

2010-08-31 Thread Lance Dillon
- Original Message From: Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum 10...@lyskom.lysator.liu.se To: pike-devel@lists.lysator.liu.se Sent: Tue, August 31, 2010 11:25:02 AM Subject: Re: gtkfilechooserdialog.pre change Speaking of requires, could we

Re: gtkfilechooserdialog.pre change

2010-08-31 Thread Lance Dillon
- Original Message From: Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum 10...@lyskom.lysator.liu.se To: pike-devel@lists.lysator.liu.se Sent: Tue, August 31, 2010 3:00:02 PM Subject: Re: gtkfilechooserdialog.pre change Oh, hmm, from the pike level,

Re: gtkfilechooserdialog.pre change

2010-08-31 Thread Lance Dillon
- Original Message From: Lance Dillon riffraff...@yahoo.com To: pike-devel@lists.lysator.liu.se Sent: Tue, August 31, 2010 3:15:17 PM Subject: Re: gtkfilechooserdialog.pre change - Original Message From: Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike

GTK2 Version

2010-08-31 Thread Lance Dillon
GTK2 version is now available as a constant with the following: Pike v7.8 release 469 running Hilfe v3.5 (Incremental Pike Frontend) GTK2.GTK_MINOR_VERSION; (1) Result: 0 GTK2.MAJOR_VERSION; (2) Result: 2 GTK2.MINOR_VERSION; (3) Result: 20 GTK2.MICRO_VERSION; (4) Result: 1 GTK2.MicroVersion;

Re: gtkfilechooserdialog.pre change

2010-08-31 Thread Lance Dillon
- Original Message From: Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum 10...@lyskom.lysator.liu.se To: pike-devel@lists.lysator.liu.se Sent: Tue, August 31, 2010 6:35:03 PM Subject: Re: gtkfilechooserdialog.pre change There is also a GTK2.version(),

Re: GTK2 Version

2010-08-31 Thread Lance Dillon
- Original Message From: Martin Nilsson (Opera Mini - AFK!) @ Pike (-) developers forum 10...@lyskom.lysator.liu.se To: pike-devel@lists.lysator.liu.se Sent: Tue, August 31, 2010 7:50:02 PM Subject: GTK2 Version Are the camel case just redundant copies of the first ones, or do

svalue problem

2010-09-02 Thread Lance Dillon
So, I have some c code that saves an svalue: struct signal_data { struct svalue cb; struct svalue args; int signal_id; }; struct signal_data *sv; sv= /* allocated structure */ assign_svalue_no_free(sv-cb,from_svalue); assign_svalue_no_free(sv-args,arg_svalue); that is sent to a function

Re: svalue problem

2010-09-02 Thread Lance Dillon
- Original Message From: Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum 10...@lyskom.lysator.liu.se To: pike-devel@lists.lysator.liu.se Sent: Thu, September 2, 2010 11:40:02 AM Subject: svalue problem I'm not quite sure what you are trying to do, or

compile error

2010-09-08 Thread Lance Dillon
Trying to compile a module, and I'm getting the following error: [riffr...@ral-eng-calvin-01 G3]$ pike -x module ** Old style module ** Running make PIKE_INCLUDES=-I/usr/local/pike/7.8.469/include/pike PIKE_SRC_DIR=/usr/local/pike/7.8.469/include/pike

Re: GTK2 Label set_text

2010-09-10 Thread Lance Dillon
- Original Message From: Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum 10...@lyskom.lysator.liu.se To: pike-devel@lists.lysator.liu.se Sent: Fri, September 10, 2010 8:55:03 AM Subject: GTK2 Label set_text Well, that would only work if there are not

Re: GTK2, container-get_children, bug?

2010-09-10 Thread Lance Dillon
- Original Message From: Marc Dirix m...@electronics-design.nl To: p...@roxen.com Sent: Fri, September 10, 2010 10:16:34 AM Subject: GTK2, container-get_children, bug? Hi, Sorry for the multiple different GTK topic, I'm a bit experimenting around with it. I have a Hbox

Re: glade signals with user data

2010-09-10 Thread Lance Dillon
- Original Message From: Marc Dirix m...@electronics-design.nl To: Lance Dillon riffraff...@yahoo.com Sent: Fri, September 10, 2010 4:25:37 PM Subject: Re: glade signals with user data Thank you for your answer. I think you miss the point here. The glade, interface

Re: glade signals with user data

2010-09-11 Thread Lance Dillon
Isn't the pike module all about generating the code. And as such shouldn't it try to implement the same? I have no idea how hard it is, but isn't it just adding this data to the mixed data which is called together with signal_auttoconnect for each handler? The difference in this

Re: Sql.pgsql behavior in case of errors

2011-03-27 Thread Lance Dillon
I use postgres, but I don't do a lot of testing of it yet. - Original Message From: Martin Stjernholm, Roxen IS @ Pike developers forum 10...@lyskom.lysator.liu.se To: pike-devel@lists.lysator.liu.se Sent: Sun, March 27, 2011 11:10:02 AM Subject: Sql.pgsql behavior in case of

Re: Val.true and Val.false [Was: XMLRPC] (from p...@roxen.com)

2011-09-07 Thread Lance Dillon
Patch for boolean support for Protocols.XMLRPC --- module.pmod.orig2011-08-31 16:02:19.838058384 -0400 +++ module.pmod2011-09-07 10:17:21.848427570 -0400 @@ -15,12 +15,15 @@ //! Pike @expr{mapping@} is translated to XML-RPC @tt{struct@}. //! Pike @expr{array@} is translated to XML-RPC

Re: Val.true and Val.false [Was: XMLRPC]

2011-09-07 Thread Lance Dillon
Looks ok, but could you please update the docs accordingly as well? Getting (optional) boolean support when decoding would be nice from a feature and symmetry perspective, but that's not a requirement imo. In order to backport Val.pmod to 7.8.526, I had to remove Null,

pikefarm

2011-09-09 Thread Lance Dillon
It looks like pikefarm isn't valid anymore. I went to this page: http://pike.ida.liu.se/development/pikefarm/7.8.xml, and it looks like the latest build was on 2010-10-01 16:15:54 (1197). Is it still being used, or is there a different url to go to?

Re: Val.true and Val.false [Was: XMLRPC] (from p...@roxen.com)

2011-09-10 Thread Lance Dillon
Okay I'll take care of that this afternoon. Sent from Yahoo! Mail on Android

Re: Val.true and Val.false [Was: XMLRPC] (from p...@roxen.com)

2011-09-10 Thread Lance Dillon
- Original Message From: Martin Stjernholm, Roxen IS @ Pike developers forum 10...@lyskom.lysator.liu.se To: pike-devel@lists.lysator.liu.se Sent: Sat, September 10, 2011 12:30:11 PM Subject: Re: Val.true and Val.false [Was: XMLRPC] (from p...@roxen.com) The patch in decode()

Re: Val.true and Val.false [Was: XMLRPC] (from p...@roxen.com)

2011-09-11 Thread Lance Dillon
- Original Message From: Martin Stjernholm, Roxen IS @ Pike developers forum 10...@lyskom.lysator.liu.se To: pike-devel@lists.lysator.liu.se Sent: Sun, September 11, 2011 12:45:02 PM Subject: Re: Val.true and Val.false [Was: XMLRPC] (from p...@roxen.com) Thanks for the

Re: Val.true and Val.false [Was: XMLRPC] (from p...@roxen.com)

2011-09-11 Thread Lance Dillon
- Original Message From: Martin Stjernholm, Roxen IS @ Pike developers forum 10...@lyskom.lysator.liu.se To: pike-devel@lists.lysator.liu.se Sent: Sun, September 11, 2011 12:45:02 PM Subject: Re: Val.true and Val.false [Was: XMLRPC] (from p...@roxen.com) Thanks for the

Re: Val.true and Val.false [Was: XMLRPC] (from p...@roxen.com)

2011-09-11 Thread Lance Dillon
Okay, I got it. I just recloned the repo and recommited. 7.8 and 7.9 should have the patches in now.

Re: Val.true and Val.false [Was: XMLRPC] (from p...@roxen.com)

2011-09-11 Thread Lance Dillon
- Original Message From: Martin Stjernholm, Roxen IS @ Pike developers forum 10...@lyskom.lysator.liu.se To: pike-devel@lists.lysator.liu.se Sent: Sun, September 11, 2011 2:00:16 PM Subject: Re: Val.true and Val.false [Was: XMLRPC] (from p...@roxen.com) Actually, I don't

Re: Val.true and Val.false [Was: XMLRPC] (from p...@roxen.com)

2011-09-11 Thread Lance Dillon
- Original Message From: Martin Stjernholm, Roxen IS @ Pike developers forum 10...@lyskom.lysator.liu.se To: pike-devel@lists.lysator.liu.se Sent: Sun, September 11, 2011 2:00:16 PM Subject: Re: Val.true and Val.false [Was: XMLRPC] (from p...@roxen.com) Actually, I don't

Re: Val.true and Val.false [Was: XMLRPC] (from p...@roxen.com)

2011-09-11 Thread Lance Dillon
- Original Message From: Martin Stjernholm, Roxen IS @ Pike developers forum 10...@lyskom.lysator.liu.se To: pike-devel@lists.lysator.liu.se Sent: Sun, September 11, 2011 3:05:03 PM Subject: Re: Val.true and Val.false [Was: XMLRPC] (from p...@roxen.com) Hmm, on second

Re: Possible bug walking a GTK2.TreeModel in 7.9

2011-09-22 Thread Lance Dillon
- Original Message From: larcky pcl...@yahoo.co.uk To: p...@roxen.com Sent: Thu, September 22, 2011 3:17:33 AM Subject: Possible bug walking a GTK2.TreeModel in 7.9 Hi This works fine in Pike 7.8 but 7.9 crashes with a Segmentation Fault. I think the problem's with

map/filter, mapping index/values

2012-04-12 Thread Lance Dillon
I'm playing with map and filter and stuff, trying to do a functional way of removing an index from a map, like this: ({   ([ name: user1,         val: test,         random: other   )],   ([ name: user2,         val: another test,         random: something else   ]), }) The array and mapping

Re: USB.devices OneWire.devices, how to unite it into an IO module?

2012-06-09 Thread Lance Dillon
From: Martin Bähr mba...@email.archlab.tuwien.ac.at To: Stephen R. van den Berg s...@cuci.nl Cc: Henrik Grubbstr�m (Lysator) @ Pike (-) developers forum 10...@lyskom.lysator.liu.se; pike-devel@lists.lysator.liu.se Sent: Saturday, June 9, 2012 12:01 PM

Re: USB.devices OneWire.devices, how to unite it into an IO module?

2012-06-09 Thread Lance Dillon
From: Martin Bähr mba...@email.archlab.tuwien.ac.at To: Stephen R. van den Berg s...@cuci.nl Cc: Henrik Grubbstr�m (Lysator) @ Pike (-) developers forum 10...@lyskom.lysator.liu.se; pike-devel@lists.lysator.liu.se Sent: Saturday, June 9, 2012 12:01 PM

Re: Branches for discussion: Pango.Layout xy_to_char, Stdio.File nodelay

2014-08-28 Thread Lance Dillon
Maybe both?  Have individual methods for those who want to just call it, and a setflags type method that you can pass bit flags into to set.  That way if you have several flags to set you can do it in one call, or just call the one flag you want to set. Won't add too much, and make it easier

Re: Setting socket options: so many, uhh, options!

2014-08-28 Thread Lance Dillon
Just throwing this out there, some modules have the functions present regardless, and return a message or error code saying it isn't implemented if it wasn't compiled in.  So another option is to have all the methods present, and either return a message or error code, or throw an exception, and

Re: Tracking down corruption after exception in GTK signal handler

2016-03-02 Thread Lance Dillon
Guessing that since win and btn go out of scope at end of main(), maybe they get cleaned up?  I usually set things that need to persist into backend past main as global variables, or at least i have in the past. On Wednesday, March 2, 2016 3:49 PM, Chris Angelico

Re: Tracking down corruption after exception in GTK signal handler

2016-03-02 Thread Lance Dillon
You could try to move those to global, see if it still happens.  If not, that's probably where the problem lies. On Wednesday, March 2, 2016 5:06 PM, Lance Dillon <riffraff...@yahoo.com> wrote: Guessing that since win and btn go out of scope at end of main(), maybe they get c

Re: Tracking down corruption after exception in GTK signal handler

2016-03-02 Thread Lance Dillon
I tried to add the extra parameter to both signal_connect's, but that didn't do it. I'll try to troubleshoot more in the morning, I can't really work on it anymore tonight. On Wednesday, March 2, 2016 8:53 PM, Lance Dillon <riffraff...@yahoo.com> wrote: Weird, if I don't

Re: Tracking down corruption after exception in GTK signal handler

2016-03-02 Thread Lance Dillon
Weird, if I don't click the button it works, but if I do click the button, I get the segfault... On Wednesday, March 2, 2016 8:50 PM, Lance Dillon <riffraff...@yahoo.com> wrote: Wait  I read it wrong. Sorry, that was all wrong.  That is callback_args, which is a re

Re: Tracking down corruption after exception in GTK signal handler

2016-03-02 Thread Lance Dillon
:14 AM, Chris Angelico <ros...@gmail.com> wrote: > On Thu, Mar 3, 2016 at 9:06 AM, Lance Dillon <riffraff...@yahoo.com> wrote: >> Guessing that since win and btn go out of scope at end of main(), maybe they >> get cleaned up?  I usually set things that need to persist in

Re: Tracking down corruption after exception in GTK signal handler

2016-03-02 Thread Lance Dillon
BTW, that is in gobject.pre. On Wednesday, March 2, 2016 8:45 PM, Lance Dillon <riffraff...@yahoo.com> wrote: However: int main() {     GTK2.setup_gtk();     object btn=GTK2.Button("Raise an exception");     object win=GTK2.Window(0)->add(btn)->show_all();  

Re: Tracking down corruption after exception in GTK signal handler

2016-03-02 Thread Lance Dillon
ros...@gmail.com> wrote: On Thu, Mar 3, 2016 at 12:50 PM, Lance Dillon <riffraff...@yahoo.com> wrote: > Sorry, that was all wrong.  That is callback_args, which is a required > parameter. > > > get_all_args("signal_connect",args,"%s%*%*.%s%d",,,

Re: CHANGES for next release

2016-05-05 Thread Lance Dillon
Hmm, probably a typo, documentation says composited-changed for both gtk2 and 3.  Looks like it may have existed since 2.10.  I think it probably hasn't been tested.  There are a lot of signals that would be hard to test without a complex test. Sent from Yahoo Mail on Android On Thu, May

Re: little endian read

2016-11-23 Thread Lance Dillon
Weird, I don't know what page I was getting then..  hmmm Sent from Yahoo Mail on Android On Wed, Nov 23, 2016 at 8:30 AM, Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum<10...@lyskom.lysator.liu.se> wrote: The index works for me.  If you were unable to find Gnol

little endian read

2016-11-16 Thread Lance Dillon
Is there an easy way to read a string from a file and read it in little endian format to convert to int? I have some old file formats that I want to convert, and header information is stored in little endian format.  So far I have something like this for a WORD (2-bytes): Stdio.File

Re: little endian read

2016-11-17 Thread Lance Dillon
to convert old dos grasp .gl files, which contain Pictor PC Paint .pic files, into individual images, possibly gif or png format.  I'm going to skip the actual automation or anything, just write out the individual files. On Thursday, November 17, 2016 9:11 AM, Lance Dillon <riffraff...@yahoo.

image loading

2017-11-21 Thread Lance Dillon
So I'm working on a program to decode .pic files from old grasp .gl files.  I have code to extract the parts of the .gl file into individual files.  There is a script file, plus a bunch of images, either in .pic or .clp format.  I'm only working on decoding the .pic files. It supports multiple

pike build msql error with 8.0 git

2018-05-10 Thread Lance Dillon
So trying to build pike 8.0 from git, and got an error about Msql: === configuring in Msql (/home/riffraff/src/pike/8.0/pike/build/linux-4.16.6-302.fc28.x86_64-x86_64/modules/Msql) configure: running /bin/bash -norc /home/riffraff/src/pike/8.0/pike/src/modules/Msql/configure

Re: pike build msql error with 8.0 git

2018-05-12 Thread Lance Dillon
or something. I'm going to try to debug further. Thanks... On Saturday, May 12, 2018, 6:12:45 AM EDT, Tobias S. Josefowitz <t.josefow...@gmail.com> wrote: On Sat, May 12, 2018 at 2:31 AM, Lance Dillon <riffraff...@yahoo.com> wrote: > > Any suggestions?  What are

Re: pike build msql error with 8.0 git

2018-05-12 Thread Lance Dillon
that problem, so I'm doing some further testing...  I think it is a gcc 8 issue. On Saturday, May 12, 2018, 4:35:45 PM EDT, Lance Dillon <riffraff...@yahoo.com> wrote: It looks like it is a Fedora 28 issue.  I had a fedora 25 workstation vm that I built pike 8.0.498, and it worke

Re: pike build msql error with 8.0 git

2018-05-12 Thread Lance Dillon
uot;relocation ... Recently, after I upgrade gcc on my Arch Linux, I find it has enabled "--enable-default-pie" option by default: ... | | | On Saturday, May 12, 2018, 8:04:08 PM EDT, Lance Dillon <riffraff...@yahoo.com> wrote: In debugging this, I'm finding

Re: Pike 8.0.608 beta/release candidate

2018-05-13 Thread Lance Dillon
If I could get a copy of the specific file I could create one for fedora 27 and for 28 when I can get that working Sent from Yahoo Mail on Android On Sun, May 13, 2018 at 11:09 AM, Peter Bortas @ Pike developers forum<10...@lyskom.lysator.liu.se> wrote: Sounds good. One RPM per

Re: Pike 8.0.608 beta/release candidate

2018-05-13 Thread Lance Dillon
Autocorrect, I meant spec file Sent from Yahoo Mail on Android On Sun, May 13, 2018 at 11:31 AM, Lance Dillon<riffraff...@yahoo.com> wrote: If I could get a copy of the specific file I could create one for fedora 27 and for 28 when I can get that working Sent from Yahoo Mail on A

Re: pike build msql error with 8.0 git

2018-05-11 Thread Lance Dillon
Hmm, having this problem now: Making dynamic: post_modules/GL Compiling post_modules/GL/top.c /home/riffraff/src/Pike-v8.0.498/build/linux-4.16.6-302.fc28.x86_64-x86_64/pike -DNOT_INSTALLED -DPRECOMPILED_SEARCH_MORE

Re: pike build msql error with 8.0 git

2018-05-10 Thread Lance Dillon
Hmm, has to be something with me.   I checked out a whole new copy of the repo, and make is working.maybe some artifacts left over?  But make distclean isn't cleaning it out.  What should I use? On Thursday, May 10, 2018, 8:31:53 PM EDT, Lance Dillon <riffraff...@yahoo.com>

Re: pike build msql error with 8.0 git

2018-05-10 Thread Lance Dillon
with a syntax similar to Java and C. It is simple to learn, does not requ... | | | On Thursday, May 10, 2018, 8:44:02 PM EDT, Lance Dillon <riffraff...@yahoo.com> wrote: Hmm, has to be something with me.   I checked out a whole new copy of the repo, and make is working

Re: pike build msql error with 8.0 git

2018-05-10 Thread Lance Dillon
if something is up with that release. On Thursday, May 10, 2018, 8:56:45 PM EDT, Lance Dillon <riffraff...@yahoo.com> wrote: Also, trying to build pike from git, but keep getting: precompile: /home/riffraff/src/pike-git/src/build/pike -DNOT_INSTALLED -DPRECOMPILED_SEARCH_MORE -

Re: Pike 8.0.608 beta/release candidate

2018-05-20 Thread Lance Dillon
Finally got 8.0.498 installed on fedora 28  I used: make CONFIGUREARGS="--with-cflags='-O' --without-machine-code" I tried also --with-cflags='-O' by itself, and --without-machine-code by itself, they both produced working pike executables. However, leaving both of them off caused

Re: Pike 8.0.608 beta/release candidate

2018-05-21 Thread Lance Dillon
I'm doing some testing to see which gcc optimizations cause the problem.  -O doesn't have the problem, testing with -O2 right now, if that doesn't work, I'll add individually each extra option in -O2 (extra over -O) until one of them fails. On Sunday, May 20, 2018, 1:55:08 PM EDT, Lance

interesting terminfo error

2018-05-22 Thread Lance Dillon
I encountered this error on a system that had it's term type set to xterm-256color: $ TERM=xterm-256color pike Terminfo: unparsable terminfo file "/usr/share/terminfo/x/xterm-256color" /usr/local/pike/8.0.498/lib/modules/Stdio.pmod/Terminfo.pmod:406:    

Re: interesting terminfo error

2018-05-23 Thread Lance Dillon
Ah, good, I'll biuld with that one and see. Thanks. On Wednesday, May 23, 2018, 4:09:09 AM EDT, Henrik Grubbström (Lysator) @ Pike (-) developers forum <10...@lyskom.lysator.liu.se> wrote: Hi Lance. >I encountered this error on a system that had it's term type set to >xterm-256color:

calling methods

2018-05-25 Thread Lance Dillon
So I'm working on a GTK3 module (finally).  This will be a little different and use gobject introspection to call methods by name, dynamically, so I won't have to write code to interface with every single function.  The module will use gobject introspection to look up the method by the object

Re: calling methods

2018-05-26 Thread Lance Dillon
l On May 26, 2018, at 11:34 AM, Lance Dillon <riffraff...@yahoo.com> wrote: Yeah, that's what the gtk2 module does, I'm wondering if I can add functions to a class (in the c code) that has already been created and ended using end_program(). Sent from Yahoo Mail on Android On Sat, May

Re: calling methods

2018-05-26 Thread Lance Dillon
Lance Dillon wrote: >Which brings up a question:?? is it possible to add a method to a class that >has already started and ended (using start_new_program() and end_program()). Overloading the `-> operator should work. -- Stephen. Lance Dillon wrote: >Which brings up a question:?? is

pike -x module

2018-05-27 Thread Lance Dillon
There may be an error in this?  Not sure, but in my code, I'm getting an error.  I removed @ from the beginning the shell code in Makefile so that I can see the output: if test "xgi.o" != "x" ; then \   /usr/local/pike/8.0.610/include/pike/install_module module.so

Re: calling methods

2018-05-29 Thread Lance Dillon
Like in the case of something in glib adding a timeout for a signal, which calls back into pike, but that is a separate thread not called from pike directly... I see, thanks... On Tuesday, May 29, 2018, 5:13:08 AM EDT, Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum

Re: pike -x module

2018-05-28 Thread Lance Dillon
Yes, I was just wondering why there seemed to be part of the output missing, specifically:       if [ -f $(MODNAME).pdb ]; then \     cp $(MODNAME).pdb $(SYSTEM_MODULE_PATH)/$(MODDIR)$(MODULE_WRAPPER_PREFIX); \   else :; fi; \ It is in the dynamic_module_makefile.in, but not in

Re: calling methods

2018-05-27 Thread Lance Dillon
Ah yes, I will check that out I was going to implement that myself, but since you have... What's the status of that branch?  Would it be best ti implement the stuff you have in the GTK3 code, or use that branch, hoping it would be merged someday?  Although it looks like it has been 4

Re: GTK2.Object()->destroy() checking for no args?

2017-12-22 Thread Lance Dillon
I actually prefer destroy because it makes more sense grammatically,  to go along with create. Sent from Yahoo Mail on Android On Fri, Dec 22, 2017 at 9:07 AM, Chris Angelico wrote: On Sat, Dec 23, 2017 at 12:42 AM, Henrik Grubbström (Lysator) @ Pike (-) developers

Re: GTK2.Object()->destroy() checking for no args?

2017-12-22 Thread Lance Dillon
And with all the pike objects being referenced in the gtk2 object (and reverse), even if all the other objects are destroyed, if a pike object isn't, that is with gtk2, and that gtk2 object is a child in container, all it's parents will stay around too. On Friday, December 22, 2017,

Re: GTK2.Object()->destroy() checking for no args?

2017-12-22 Thread Lance Dillon
So my destructor for an object should be called _destruct(), and not destroy()?  What version did that change?  On Friday, December 22, 2017, 10:34:46 AM EST, Lance Dillon <riffraff...@yahoo.com> wrote: And with all the pike objects being referenced in the gtk2 object (and r

Re: Into and such

2018-04-08 Thread Lance Dillon
On Sun, Apr 8, 2018 at 10:59 AM, Lance Dillon<riffraff...@yahoo.com> wrote: Just out of curiosity, how does intp() and such work. Say you have int|float x, then x=5.0.   Does intp test the type of the variable, or the type of the contents.  Does intp(x) return true because x is of type int

Into and such

2018-04-08 Thread Lance Dillon
Just out of curiosity, how does intp() and such work. Say you have int|float x, then x=5.0.   Does intp test the type of the variable, or the type of the contents.  Does intp(x) return true because x is of type int (also of type float), or false because the contents of x (currently 5.0) is

Re: Filesystem.Monitor race condition

2018-03-17 Thread Lance Dillon
Unless the action is atomic, there is still no guarantee that the path will exist between the time you check and when you set the monitor. Sent from Yahoo Mail on Android On Sat, Mar 17, 2018 at 12:28 PM, H. William Welliver III wrote: I’ve noticed that when using

Re: Filesystem.Monitor race condition

2018-03-20 Thread Lance Dillon
so the stat comparison never changes. I think that if it was at least initially populated with some stat, subsequent checks would detect it. On Mar 17, 2018, at 2:20 PM, Lance Dillon <riffraff...@yahoo.com> wrote: Unless the action is atomic, there is still no guarantee that the path

Re: QR codes in pike generating a PNG

2021-01-18 Thread Lance Dillon
That would be an interesting project.  I could check it out if no-one else has. On Monday, January 18, 2021, 8:40:13 AM EST, Stephen R. van den Berg wrote: Has anyone implemented a library to generate QR-codes in Pike throwing out a PNG of some kind? -- Stephen.

enums

2021-02-04 Thread Lance Dillon
What would be the best way to represent enums?  It has been a while since I wrote pike code, so I'm looking in the docs and can't see anything.  Maybe just a bunch of constants?  Or maybe a class (or struct)? Thanks

Re: Replacing a single function/method in an existing live class?

2021-05-02 Thread Lance Dillon
The closest I could see is to not really have the functions directly, I guess, but an mapping of functions, and overload `() so that it pulls the function from the mapping, then you could easily replace the function by replacing the reference in the mapping. The replaced function would be

Re: enums

2021-02-04 Thread Lance Dillon
Ah, I was trying to search for enum in the pike docs, but nothing showed up on the web page.  I'll have to try to search further and see where it is located. Thanks On Thursday, February 4, 2021, 11:02:12 AM EST, Stanislaw Klekot wrote: On Thu, Feb 04, 2021 at 01:08:56PM +, Lance

Re: mktestsuite and m4

2022-01-25 Thread Lance Dillon
Couldn't it run m4 -d and capture output, see if it is accepted, and change options to suit? Sent from Yahoo Mail on Android On Tue, Jan 25, 2022 at 4:14 PM, will...@welliver.org wrote: I've traced down some problems running the testsuite on systems that ship with a non-gnu m4.