Re: Image Loading Problem on Windows Box

2007-07-24 Thread Rick Jones
ignorance and not having read all the docs - do those two calls fix-up the '/' vs '\' issues one has between Unix and Windows? rick jones ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel

Re: gthread vs pthread

2007-07-23 Thread Rick Jones
-specific stuff to get the platform-specific thread IDs so I could make CPU binding calls against them. rick jones ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: how to read data with g_io_read_channel throwed it through a normal socket

2007-04-12 Thread Rick Jones
/svn/netperf4/trunk for the stuff done in netserver and if one is adventuresome, a work-in-progress to get the netperf side properly event-driven: http://www.netperf.org/svn/netperf4/branches/gobject_migration hth, rick jones ___ gtk-app-devel-list

written-up caveats on g_main_context_iteration?

2007-03-19 Thread Rick Jones
might be able to use g_main_context_iteration instead to allow the code that wants to wait to let the loop run to let the test state to be updated etc etc. Are there any non-trivial caveats in using g_main_context_iteration? rick jones tell tests to enter init wait for tests to enter init tell

Re: xml messaging

2007-03-16 Thread Rick Jones
- working code http://www.netperf.org/svn/netperf4/branches/gobject_migration - code in transition rick jones ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: is there a g_option_print_usage() command?

2007-03-13 Thread Rick Jones
that the g_option_mumble stuff is emitting the equivalent to a usage string for --help I want to use that rather than build a second one in parallel. rick jones ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk

is there a g_option_print_usage() command?

2007-03-12 Thread Rick Jones
://developer.gnome.org/doc/API/2.0/glib/glib-Commandline-option-parser.html didn't mention one - before I use something I find from source I'd want to check that it was simply an oversight in the api docs :) thanks, rick jones ___ gtk-app-devel-list mailing list

typo in API doc for g_key_file_get_double

2007-03-12 Thread Rick Jones
Returns the value associated with key under group_name as an integer. and I suspect that was meant to be Returns the value associated with key under group_name as a double. instead. rick jones ___ gtk-list mailing list gtk-list@gnome.org http

Re: GThread pid_t?

2006-08-10 Thread Rick Jones
be somewhere in: http://www.netperf.org/svn/netperf4/trunk/src/ I think it will be in netlib.c - the routine is called launch_pad rick jones ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel

Re: help a newbie with GObject

2006-08-07 Thread Rick Jones
. rick jones ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

Re: Storing GObject in GtkListStore

2006-08-02 Thread Rick Jones
. Others will have far more informed asnwers than I but I thought I'd ask - wouldn't you use some other fundamental type if you were storing a pointer? I'm thinking when one goes to 64-bit or has code snippets copied into a 64-bit application that mixing int and pointer would be bad news. rick

status of archive indicies? GObject exmaples

2006-07-31 Thread Rick Jones
(again). It bombed out silently last time leaving lockfiles in place (and archives unsearchable). Please bear with us while we try to get it sorted out. -- GNOME sysadmin team. rick jones ___ gtk-app-devel-list mailing list gtk-app-devel-list

Re: building a library using gtk+

2006-05-17 Thread Rick Jones
need to build a shared/dynamic library. rick jones still only getting started with all this... ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: building a library using gtk+

2006-05-17 Thread Rick Jones
. I've run into this a couple times while porting netperf4. rick jones portable adj, code that compiles under more than one compiler ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel

Re: building a library using gtk+

2006-05-17 Thread Rick Jones
John Cupitt wrote: On 5/17/06, Rick Jones [EMAIL PROTECTED] wrote: I handle this by making my own .pc file for my library. It's fairly easy to get your configure script to generate one and install it correctly, but I could post an example if you like. One you have a mylibrary.pc installed

a cross between a GtkTreeModel/Path and GtkList?

2006-05-04 Thread Rick Jones
(gee, does my knowledge of terms show?-) of a netserver and list the tests with their own column headings and such. thanks for any pointers, rick jones an example of a netperf4 config file, with just one netserver, in its native XML form can be seen here: http://www.netperf.org/svn/netperf4

is g_get_current_time() sufficiently precise under Windows?

2006-04-14 Thread Rick Jones
://developer.gnome.org/doc/API/2.0/glib/glib-Date-and-Time-Functions.html#g-get-current-time rick jones Seems that GetSystemTimeAdjustment is involved in finding the precision of clock time: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sysinfo/base

glib and 64-bit Windows

2006-04-12 Thread Rick Jones
to porting/running netperf4 on 64-bit Windows, not just the 32-bit Windows where I have it running at the moment. rick jones http://www.netperf.org/svn/netperf4/branches/glib_migration ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org

error compiling giochannel.h in a Win64 build environment

2006-04-12 Thread Rick Jones
quantity rather than 32. sincerely, rick jones ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

Re: gmodule help

2006-04-07 Thread Rick Jones
to include the suffix so you can, and perhaps should (?) drop the .so rick jones ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

Re: gmodule help

2006-04-07 Thread Rick Jones
that --cflags and --libs can contain compiler-specific options. it feels buggy but I cannot confirm it - at the very least, it makes life interesting when glib was compiled with a compiler other than the one you want to use for your application. rick jones

Re: how serious are these compiler warnings?

2006-04-06 Thread Rick Jones
it was told to -export-dynamic? Anyway, I'll try adding the -brtl and see what happens. Thanks, rick jones ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

Re: Problem with GLib Source Poll

2006-04-06 Thread Rick Jones
Perhaps I'm missing a side-effect of one of the g_source functions, but where in the application does accept() get called? rick jones ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

Re: how serious are these compiler warnings?

2006-04-06 Thread Rick Jones
. You may find that recoding things to pass a function pointer is the more sane way to work around it. ;) Yep :( rick jones ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

how serious are these compiler warnings?

2006-04-05 Thread Rick Jones
it is something really worth worrying about or should I just blythly ignore it and move-on? rick jones ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

Re: how serious are these compiler warnings?

2006-04-05 Thread Rick Jones
Michael L Torrie wrote: On Wed, 2006-04-05 at 15:30 -0700, Rick Jones wrote: which seems to be an issue with the callback function field of the GOptionEntry. Do folks think it is something really worth worrying about or should I just blythly ignore it and move-on? While it appears

to export or not to export, that is the question

2006-04-03 Thread Rick Jones
and -Wl,--export-dynamic on the floor which may or may not be OK and while looking into that I came across the export and no-export flavors of gmodule pkg-config packages. rick jones FWIW, it would seem that the GCC with Xcode for 10.3.9 is 3.3 which also does not grok -pthread under OSX, so

Re: SEGV error while running application in Gtk+

2006-03-31 Thread Rick Jones
, then at least valgrind output will help give more information about the path - as would say a backtrace from a debugger. rick jones ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

G_INLINE_FUNCTION redux?

2006-03-31 Thread Rick Jones
with Bull's precompiled bits, or if anyone has more up-to-date rpms for AIX I suppose. sincerely, rick jones ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

Re: GOption-multiple arguments with exclude parameters

2006-03-31 Thread Rick Jones
passed. at least that would be my first take rick jones ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

Re: g_module_build_path on Win32

2006-03-30 Thread Rick Jones
including the .dll, g_module_build_path() doesn prepend lib. is that full absolute name, or a full basename? rick jones ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

Re: g_module_build_path on Win32

2006-03-30 Thread Rick Jones
Tor Lillqvist wrote: Rick Jones writes: If one specifies the full name of the dll including the .dll, g_module_build_path() doesn prepend lib. is that full absolute name, or a full basename? read the code? ;) you guys are just like my mother. when I was growing up and asked her how

Re: g_module_build_path on Win32

2006-03-30 Thread Rick Jones
Tor Lillqvist wrote: Rick Jones writes: http://developer.gnome.org/doc/API/2.0/glib/glib-Dynamic-Loading-of-Modules.html#g-module-build-path which reads: For example, calling g_module_build_path() on a Linux system with a directory of /lib and a module_name of mylibrary

explicit printing of --help info?

2006-03-21 Thread Rick Jones
there was a g_option_mumble() call one could make to do that but don't see one in the API reference. Does such a thing exist? thanks, rick jones ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

Re: Problem including glib.h

2006-03-20 Thread Rick Jones
in the runtime. rick jones ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

Re: Why I can not install glib?

2006-03-16 Thread Rick Jones
HU Li wrote: Dear Rick, Thank you very much. Then how can I change this path, i.e., /usr/local/bin/_inst.17461_, to another directory? I think it must be specified in one configuration file. I'm a little sketchy there, but perhaps the --prefix option to configure? rick jones Best regards

Re: Why I can not install glib?

2006-03-15 Thread Rick Jones
is read-only, or perhaps your user id does not have sufficient permissions to put files there. rick jones ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

how to get a SOCKET from a source

2006-03-14 Thread Rick Jones
control_channel = g_io_channel_unix_new(listen_sock); #endif Based on an assumption of symmetry, I took a wild guess that it would be g_io_channel_win32_get_socket but that doesn't seem to be the case. thanks, rick jones ___ gtk-list mailing list gtk-list

Re: how to get a SOCKET from a source

2006-03-14 Thread Rick Jones
if there was a separate _socket call to register the thing... anyway, it seems to work :) rick jones ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

vectored g_io_channel_[read|write]_chars?

2006-03-14 Thread Rick Jones
. sincerely, rick jones ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

Windows errata or my fault?

2006-03-13 Thread Rick Jones
to the remote, we got the reply, the timer event happened the first time and wrote hello world again, and it seems we got it back from the remote, but the next timer event didn't seem to happen. rick jones #include glib.h #include sys/types.h #ifndef G_OS_WIN32 #include netdb.h #include sys

stdin/stdout and g_spawn_async_with_pipes()

2006-03-13 Thread Rick Jones
are to have the parent receive that stuff from the child rather than have the parent set them for the child? thanks, rick jones ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

Re: glib\guitls.h, atexit and the windows DDK

2006-03-09 Thread Rick Jones
the __cdecl to the atexit declaration in gutil.h change is safe? rick jones ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

Re: status of IO Channels on Windows?

2006-03-09 Thread Rick Jones
Tor Lillqvist wrote: Rick Jones writes: I was wondering about the status of IO Channels under Windows - specificially with respect to SOCKETs (the capitalization is Windows', not mine :) I ask because: Currently full support is available on UNIX platforms, support for Windows is only

Re: glib\guitls.h, atexit and the windows DDK

2006-03-08 Thread Rick Jones
Tor Lillqvist wrote: Rick Jones writes: the first complaint out of the compiler (among many :) is that in line 239 of gutils.h atexit is being redefined with different type modifiers (error C2373) Hmm, does it help to make the declaration int __cdecl atexit(void (__cdecl *)(void

Re: glib\guitls.h, atexit and the windows DDK

2006-03-08 Thread Rick Jones
Rick Jones wrote: Tor Lillqvist wrote: Hmm, does it help to make the declaration int __cdecl atexit(void (__cdecl *)(void)); instead? I thought about trying that, which then got me in the fun of trying to use notepad :) I'll see about moving the file around to where it can be edited

Re: processor affinity and GThread

2006-03-08 Thread Rick Jones
et al, and then calls into the test code. The one problem there is it seems to preclude changing the affinity later, which is something I could do when the main netserver thread was making the affinity calls. rick jones ___ gtk-list mailing list

Re: processor affinity and GThread

2006-03-08 Thread Rick Jones
Sebastian Wilhelmi wrote: Hi Rick, How about a g_native_thread_id() call?-) What should be returned by that? Something like #define g_native_thread_id(thread) ((void*)thread) just for exporting something, that no-one should use? Doesn't sound very convincing. What can I say,

Re: glib\guitls.h, atexit and the windows DDK

2006-03-08 Thread Rick Jones
Tor Lillqvist wrote: Rick Jones writes: I'd not heard of wordpad - and it doesn't seem to be on the system to which I have access - pointer? That would be odd as it is bundled. Look in Start Menu:Accessories. ah, well, there it is. i just couldn't say wordpad from a command window

Re: glib\guitls.h, atexit and the windows DDK

2006-03-08 Thread Rick Jones
Tor Lillqvist wrote: Rick Jones writes: int __cdecl atexit(void (__cdecl *)(void)); did indeed make the error go away when compiling under the DDK. What compiler is used in that case, BTW, as I get no errors or warnings when compiling a program that includes both stdlib.h (where

status of IO Channels on Windows?

2006-03-08 Thread Rick Jones
/doc/API/2.0/glib/glib-IO-Channels.html says: Currently full support is available on UNIX platforms, support for Windows is only partially complete. thanks, rick jones ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo

glib\guitls.h, atexit and the windows DDK

2006-03-07 Thread Rick Jones
as my Windows knowledge is nearly nil and I've only just begun with glib. I did a _brief_ search on www.microsoft.com for atexit and some of the first hits which appeared seem to say that atexit was: int atexit (void(__cdecl * func)(void)) rick jones

Re: Compiling gtk2 on HP-UX 11.11? (longer)

2006-02-18 Thread Rick Jones
Roman Toenshoff wrote: * Rick Jones [EMAIL PROTECTED] [060216 20:55]: Ah, did you teach cairo where to find whatever it wanted from stdint.h? Was cairo's configure script missing a check for stdint.h to allow for conditional include? Regardless by all means feed those changes back. Hmm, i

Re: Compiling gtk2 on HP-UX 11.11?

2006-02-16 Thread Rick Jones
also check software.hp.com what sort of specific problems are you encountering? i'm far from a portability expert, but i have some interest in gtk on ux via netperf4 (http://www.netperf.org/) rick jones ___ gtk-list mailing list gtk-list@gnome.org

Re: Compiling gtk error - png ???

2003-03-26 Thread Rick Jones
Actually, the current IA64/IPF HP-UX release is 11.22 - aka 11i v 1.6 :) I know Apologies for pointing-out the known - I've been conditioned by seeing lots of other folks getting confused by the releases. We normally build on 11.20 and test the binary on 11.22 also. %99 it works. OK.

Re: Compiling gtk error - png ???

2003-03-25 Thread Rick Jones
and LDFLAGS in the gtk configure :) rick jones -- portable adj, code that compiles under more than one compiler these opinions are mine, all mine; HP might not want them anyway... :) feel free to post, OR email to raj in cup.hp.com but NOT BOTH

Re: Compiling gtk error - png ???

2003-03-24 Thread Rick Jones
at the includes and the libraries. I've not verified though that all the makefiles are actually honouring that. rick jones ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

Re: syntax error while configuring pango-1.2.1

2003-03-18 Thread Rick Jones
after experimenting for a while I've found out, that it's probably a bug in /bin/sh of Solaris 2.7 because: If it is a bug in Solaris 2.7 /bin/sh it is likely the same bug in HP-UX 11.11 /bin/sh as I encounter the same error. rick jones ___ gtk

Re: pseudo-random things compiling gtk+-2.2.1 under HP-UX 11.11

2003-03-17 Thread Rick Jones
of gdk_pixbuf__jpeg_image_begin_load with a different storage class specifier: gdk_pixbuf__jpeg_image_begin_load will have internal linkage.^M Again, this should be reported. 109617 thanks for being reasonably kind to the newbie :) rick jones -- Wisdom Teeth are impacted, people are affected by the effects of events

pseudo-random things compiling gtk+-2.2.1 under HP-UX 11.11

2003-03-14 Thread Rick Jones
is looking for a char *, but block_buf is guchar the warning on line 1622 is another one of those literal strings things I think. there are a number of other things along these lines, but this email is long enough as it is. if folks would like, I can provide the typescript of the compilation. rick