Re: Names of `stringp`, `intp`, `floatp`…

2025-04-05 Thread Lance Dillon
It is originally from lisp, it means predicate, designates testing for conditions. https://www.geeksforgeeks.org/predicates-in-lisp/ On Thursday, March 20, 2025 at 02:25:23 PM EDT, Marcos Cruz wrote: Just out of curiosity, what does the "p" means in `stringp`, `intp`, `floatp`, `f

Re: Where have all the Pikers gone?

2022-05-20 Thread Lance Dillon
I've also written a couple things. A library for interfacing with spacewalk, and another for nessus security scanner.  Plus a few random things here and there.  Mostly quick and dirty things... On Friday, May 20, 2022, 09:23:10 AM EDT, Duke Normandin wrote: On Fri, 20 May 2022 12:55

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. Specifica

Re: Fredrik Hübinette Book

2021-10-19 Thread Lance Dillon
I really should get back started on gtk3or 4 even... That was a fun project.. Sent from Yahoo Mail on Android On Tue, Oct 19, 2021 at 5:24 PM, will...@welliver.org wrote: On 2021-10-19 15:45, Christian Töpp wrote: > Btw.. writing pike modules in c ist a nice theme i can write about ;)

Re: Pike Mailing List

2021-10-18 Thread Lance Dillon
I'm on the list, but I don't respond much and others know more than me.but I enjoy the language and learn stuff on this list... There are a few others too, 4 or 5.. Sent from Yahoo Mail on Android On Mon, Oct 18, 2021 at 9:18 PM, Duke Normandin wrote: @Chris Are you pretty much the

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 locato

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 +0000,

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

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_ma

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 /usr/local/pike/8.0.610/lib/

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 year

Re: calling methods

2018-05-26 Thread Lance Dillon
ll On May 26, 2018, at 11:34 AM, Lance Dillon 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 26, 2018 at 11:14 A

Re: calling methods

2018-05-26 Thread Lance Dillon
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 26, 2018 at 11:14 AM, Stephen R. van den Berg wrote: Lance Di

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: pike build msql error with 8.0 git

2018-05-23 Thread Lance Dillon
I'm finding that build works with: make CONFIGUREARGS='--with-cflags=-O'... also -O2, but -O3 fails, so I'm going to start adding options between O2 and O3 to see which one causes it to fail.. On Saturday, May 12, 2018, 11:00:02 PM EDT, Lance Dillon wrote: And

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:

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:     Stdio.Terminfo.Terminfo()->create("/usr/

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

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 running

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 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 Android On Sun, May 13

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 distribut

Re: pike build msql error with 8.0 git

2018-05-12 Thread Lance Dillon
option make you stuck at "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 wrote: In debugging this, I'm f

Re: pike build msql error with 8.0 git

2018-05-12 Thread Lance Dillon
it fixes 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 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 worked fine.  Th

Re: pike build msql error with 8.0 git

2018-05-12 Thread Lance Dillon
glibc or something. I'm going to try to debug further. Thanks... On Saturday, May 12, 2018, 6:12:45 AM EDT, Tobias S. Josefowitz wrote: On Sat, May 12, 2018 at 2:31 AM, Lance Dillon wrote: > > Any suggestions?  What are some good options to try?  And do I p

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 -m/home/riffraff/src/Pike-v8.0.498/build/linux-4.16.6-302.fc28.x86_64-x86_6

Re: pike build msql error with 8.0 git

2018-05-10 Thread Lance Dillon
a 28, wondering if something is up with that release. On Thursday, May 10, 2018, 8:56:45 PM EDT, Lance Dillon 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 -m/home/riffra

Re: pike build msql error with 8.0 git

2018-05-10 Thread Lance Dillon
guage 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 wrote: Hmm, has to be something with me.   I checked out a whole new copy of the repo, and make is working.maybe some artifacts

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 wrote: So tryi

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 --disable-option-ch

Re: Into and such

2018-04-08 Thread Lance Dillon
on Android On Sun, Apr 8, 2018 at 10:59 AM, Lance Dillon 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 (also of type

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 float,

Re: Filesystem.Monitor race condition

2018-03-20 Thread Lance Dillon
at 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 wrote: Unless the action is atomic, there is still no guarantee that the path will exist between the time you check

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 Filesystem.Monitor on

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 wrote: And with all the pike objects being referenced in the gtk2 object (and reverse), even if all the

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, 10:22

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 forum <10...@lyskom.l

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 b

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 and

Re: little endian read

2016-11-23 Thread Lance Dillon
Yeah, I found the ADT.Struct type with Gnol and Drow.  However, the documentation on the website gave me trouble.  I couldn't find an index to the left, just the modules themselves, so when I clicked on ADT, I couldn't see all the methods and click on them individually, I had to click on links a

Re: little endian read

2016-11-17 Thread Lance Dillon
ng a program 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

Re: little endian read

2016-11-17 Thread Lance Dillon
016 at 11:37 AM, Stephen R. van den Berg wrote: > Lance Dillon wrote: >>Stdio.File fp;fp=Stdio.File(filename,"r");string str=fp->read(2);int >>res=array_sscanf(reverse(str),"%2c")[0]; > > Using %2c to read little endian probably only works on CPUs th

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 fp;fp=Stdio.

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 5

Re: Tracking down corruption after exception in GTK signal handler

2016-03-02 Thread Lance Dillon
wrote: On Thu, Mar 3, 2016 at 12:50 PM, Lance Dillon wrote: > Sorry, that was all wrong.  That is callback_args, which is a required > parameter. > > > get_all_args("signal_connect",args,"%s%*%*.%s%d",&a,&tmp1,&tmp2,&detail,

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 wrote: Weird, if I don't click the

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 wrote: Wait  I read it wrong. Sorry, that was all wrong.  That is callback_args, which is a required parameter.    get_all

Re: Tracking down corruption after exception in GTK signal handler

2016-03-02 Thread Lance Dillon
on code later. On Wednesday, March 2, 2016 8:46 PM, Lance Dillon wrote: BTW, that is in gobject.pre. On Wednesday, March 2, 2016 8:45 PM, Lance Dillon wrote: However: int main() {     GTK2.setup_gtk();     object btn=GTK2.Button("Raise an exception");     objec

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 wrote: However: int main() {     GTK2.setup_gtk();     object btn=GTK2.Button("Raise an exception");     object win=GTK2.Window(0)->add(btn)->show_all();     win->signal_connect("d

Re: Tracking down corruption after exception in GTK signal handler

2016-03-02 Thread Lance Dillon
g_quark_try_string succeeds.  I believe this might be where the error lies. Could try it and see. On Wednesday, March 2, 2016 8:37 PM, Lance Dillon wrote: Also happens with me with : [riffraff@hobbes src]$ pike --version Pike v8.0 release 1 Copyright © 1994-2013 Linköping Univers

Re: Tracking down corruption after exception in GTK signal handler

2016-03-02 Thread Lance Dillon
wrote: > On Thu, Mar 3, 2016 at 9:06 AM, Lance Dillon 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 into backend past >> main as global variables, or at least i have in th

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 wrote: Guessing that since win and btn go out of scope at end of main(), maybe they get cleaned up?  I usuall

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 wrote: int main()

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

Re: bar with label and two buttons

2012-12-29 Thread Lance Dillon
- Original Message - > From: rastersoft > To: GTK App Devel > Cc: > Sent: Saturday, December 29, 2012 6:31 PM > Subject: bar with label and two buttons > > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi all: > > I want to create a bar with two buttons and a label betwee

Re: Packagers?

2012-07-31 Thread Lance Dillon
i could create rpms...do we a spec file already, or should i use one of the ones i have already (or create a new one if the other ones arent suitable )? Sent from Yahoo! Mail on Android

Re: [Freeipa-devel] [PATCH] 1032 allow multiple --server in client install, don't always set _srv_

2012-07-05 Thread Lance Dillon
> > From: Rob Crittenden >To: Martin Kosek >Cc: freeipa-devel >Sent: Thursday, July 5, 2012 3:18 PM >Subject: Re: [Freeipa-devel] [PATCH] 1032 allow multiple --server in client >install, don't always set _srv_ > >Martin Kosek wrote: >> On 07/04/2012 12:12

[Freeipa-devel] ipa-client-install patch

2012-06-11 Thread Lance Dillon
This small set of patches adds a --fixed option to ipa-client-install.  This specifies that dns server discovery is basically turned of in /etc/sssd/sssd.conf (by removing _srv_ entry from ipa_server). This has been helpful to me because we are in a shared dns domain with a windows domain, and

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

2012-06-09 Thread Lance Dillon
> > From: Martin Bähr >To: Stephen R. van den Berg >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 >Subject: Re: USB.devices OneWire.device

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

2012-06-09 Thread Lance Dillon
> > From: Martin Bähr >To: Stephen R. van den Berg >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 >Subject: Re: USB.devices OneWire.device

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

Re: modifiable dialog button labels?

2012-03-08 Thread Lance Dillon
> > From: Roger Davis >To: Lance Dillon >Cc: "gtk-app-devel-list@gnome.org" >Sent: Thursday, March 8, 2012 2:07 AM >Subject: Re: modifiable dialog button labels? > > > >On Wed, 7 Mar 2012, Lance Dillon wrote: >

Re: modifiable dialog button labels?

2012-03-07 Thread Lance Dillon
> > From: Roger Davis >To: gtk-app-devel-list@gnome.org >Sent: Wednesday, March 7, 2012 7:59 PM >Subject: modifiable dialog button labels? > > >Hi all, > >I am trying to code some reusable GtkDialogs (i.e., create them only once, >then hide and reuse them lat

Re: [augeas-devel] fstab lens

2012-01-14 Thread Lance Dillon
Aha, fantastic, thanks for the help.  I will try this at the earliest opportunity (possibly monday morning). > > From: Raphaël Pinson >To: Lance Dillon >Sent: Saturday, January 14, 2012 9:30 AM >Subject: Re: [augeas-devel] fstab lens > >

[augeas-devel] fstab lens

2012-01-14 Thread Lance Dillon
I'm trying to edit /etc/fstab.  I'm trying to change the following line: tmpfs   /dev/shm    tmpfs   defaults    0 0 and add size=256m (and a few other options, but just testing with that for now). I have this puppet bit:     define opt ( $fname, $opt, $value )

Re: filter specific file from specific program

2011-12-02 Thread Lance Dillon
- Original Message > From: Steve Grubb > To: linux-audit@redhat.com > Cc: Lance Dillon > Sent: Fri, December 2, 2011 10:04:15 AM > Subject: Re: filter specific file from specific program > > On Tuesday, November 29, 2011 03:38:43 PM Lance Dillon wrote: > &g

filter specific file from specific program

2011-12-01 Thread Lance Dillon
I have a need to filter a file from auditing, but only from a specific process. We are running splunk, and indexing /var/log/audit/audit.log. We want audit.log to be monitored, so we are using a dir watch on /var/log/audit, but we just don't want splunk access to be reported. Filtering on o

Re: Possible bug walking a GTK2.TreeModel in 7.9

2011-09-22 Thread Lance Dillon
> > I believe I see the problem. In 7.9, in gtktreemodel.pre, function > iter_next, > > it was changed to push the iter onto the stack, to return it. This way you >can > > possibly do things like iter2=tm->iter_next(iter). The problem is that iter > gets modified in place by gtk_tree_

Re: Possible bug walking a GTK2.TreeModel in 7.9

2011-09-22 Thread Lance Dillon
- Original Message > From: larcky > 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 GTK2.TreeModel->iter_ne

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 seco

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,

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,

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 12:45:02 PM > Subject: Re: Val.true and Val.false [Was: XMLRPC] (from p...@roxen.com) > > Thanks for

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

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 4:15:02 PM > Subject: Re: Val.true and Val.false [Was: XMLRPC] (from p...@roxen.com) > > How tiresome

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 i

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

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]

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 r

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{@}. //! Pike @expr{array@} is translated to XML-RPC @tt{@}.

Re: GDK/Cairo question

2011-05-18 Thread Lance Dillon
- Original Message > From: Fabian Greffrath > To: gtk-app-devel-list@gnome.org > Sent: Wed, May 18, 2011 5:04:12 PM > Subject: Re: GDK/Cairo question > > Am 18.05.2011 03:50, schrieb Miroslav Rajcic: > > You need to add a call like gtk_main_iteration_do() within your while > > loop.

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 ca

Re: Bring a widget to the foreground

2011-01-02 Thread Lance Dillon
- Original Message > From: John Emmas > To: gtk-app-devel-list > Sent: Sun, January 2, 2011 10:42:28 AM > Subject: Re: Bring a widget to the foreground > > > On 2 Jan 2011, at 15:39, John Emmas wrote: > > > > > I'm probably being incredibly dim but I couldn't find a way to do th

GtkBuilder issue?

2010-09-28 Thread Lance Dillon
I'm trying to add gtkbuilder support to pike (pike.roxen.com). In loading a glade3 file, it says Invalid Object 'blah', unless I create an instance of the object first. I narrowed it down to (in gtkbuilder.c): static GType gtk_builder_real_get_type_from_name (GtkBuilder *builder,

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 differen

Re: glade signals with user data

2010-09-10 Thread Lance Dillon
- Original Message > From: Marc Dirix > To: Lance Dillon > 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 designer, h

Re: GTK2, container->get_children, bug?

2010-09-10 Thread Lance Dillon
- Original Message > From: Marc Dirix > 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 containing on pos

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 ther

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 BUILD_BASE=/usr/local/pike/7.8.469/include/

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

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 functio

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 o

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.v

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.MicroVers

Re: gtkfilechooserdialog.pre change

2010-08-31 Thread Lance Dillon
- Original Message > From: Lance Dillon > 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 Co

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 pi

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 "require

  1   2   >