Re: Reading a file???



Owen Taylor wrote:

On Mon, 2003-02-17 at 13:00, Tristan Van Berkom wrote:
I wish I could. It would cost us 2 weeks
in development for 2 of our developers; not to mention
the time it would take for the CM to arrange
our compile environment or QC. For 2 years at least
we've been looking for the time to pass-over our
code and make it solid. (faetures features features....)


Again Owen; I wish I could.

Well, I can't say I understand... unless you were heavily
using a few odd corners or really in-development new
features of GLib, there should be virtually no incompatibility
between 1.3.5 and now.

But, hey, if you feel up to maintaining your own fork of
obsolete GLib, more power to you...

Regards,
                                     Owen


Well; maybe its all FUD.

        I can understand your objection. We've been
working 2 years on the same god damn product and
we're still running the "old-generation" software
on our apliences (geez thats DOS/DJGPP custom kernel
and lots more depricated crap).


Here's a short description of what we're 
working with (the context is a jukebox):

We develop a system with 12 daemon applications
(not including the standard kernel threads etc..)
2 of which are GUI applications (both of which
make extensive use of GtkClists) all of wich make
extensive use of glib in general.

one of theese daemons loads images on remote X servers
using my own enhanced version of gdk-pixbuf-xlib (found
in contrib/)


libraries:
aside from that; we have our own extra widget kit (standard
album jacket buttons with embedded artist name +
keyboards for touchscreens etc..), our glade extension
to load our widgets with xml layouts; an sql database wrapper
which makes extensive use of GScanner et al.




        I think we would have to duplicate/keep the
CList stuff; we'd have to switch `gtk' for `g' in
all of our GObject constructs/signal handlers etc; 
and I don't know how many behavior changes and 
unexpected intricacies we would have to face.

I would rather be working with 2.2. I remember
that a new feature was `one app; multiple Xservers'.
(BTW is this feature `clean' ? when closing a
`Display' do all associated resources get freed ?)

So; please tell me if I'm speaking FUD or if 
it would probably take a cross-over period of about a
month.

Sincerly,
                -Tristan

Owen Taylor wrote:

On Mon, 2003-02-17 at 11:39, Tristan Van Berkom wrote:
How about using the glib function g_file_get_contents()?

I'm using 1.3.5 and I had to write my own version
of g_file_get_contents() due to a "file leek"

I dont know if the patch is in or if its fixed;
If not let me know and I'll send the patch upstream.

OK, this isn't particularly helpful, but, I can't
resist:

 WHY THE HECK ARE YOU USING GLib-1.3.5????

Please upgrade to a stable, current, released,
bug fixed version.

There have been two major stable releases, 2 years of
development, and 5000 lines of ChangeLog entries since
that development snapshot.

Thanks,
                                Owen





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]