panel and ORBit Problems



Okie well... i just dowloaded and made Gnome v0.25 (26 for lib) up.
I've seen smthg about other possible mailing list ... this one is the
only i could thought of when i subscribe... if that's the wrong place
to report, tell me please...

That wasn't as easy as i exspected, since i'm on a HPUX 9.05, not
Linux at all, and even a quite old system (since i've seen strange
things in it - like variable presentce in libs but no declaration in
corresponding include... Oh well.... *sigh* -)

Here are a few things i met ... I've had bad times about some code,
here is what i remembered :
- In ORBit, there's a call to getcwd with (NULL,0) as argument. On my
system, that means get current directory, do a malloc of _0_ char
maximum to place the resulting directory ... hum hum ... Function
called 'get_full_path' (get etag to track down)
- gnomesupport.h wasn't present, i had to do some awk stuff to get
one. but after that, for some reason, dirent got redefined to direct,
and i had to replace 'include "dirent.h"' with 'include "ndir.h"' in a
few places to avoid prototype collision on stuff like 'readdir' and some 
others...
- The panel is still working half. Especially applets are giving me
problems. the gen_util_applet accepted to be called twice b4, but no
more... If i try to get Mailcheck (i like this) while the clock is on, 
i got smthg like trying to reset servant number 4362784362 (number not 
exact, i don't have it handy, but i can, if that matters) and then it
hangs !! some other times it crashes, especially when trying to
swallow strange thing (i like to swallow an xterm Console. Work fine
with fvwmbutton). Moreover it hates when people kill its swallowed app 
(goes core dump and pouts). Last but not least, it doesn't save
configuration (whereas i did a clean logout). Beside all that, it
seems to work ;P
- getpagesize function, used in gnome-help-browser does NOT exist on
my system, nor on the up to date version of HPUX (v10.20/v11). if
someone could replace this, i'd be glad .. for now, i hard coded 4096
in place, not sure it does mean anything...
- in IIOP/ORBit, i've seen some call to the accept function, where the 
3rd parameter was not set. This is bad, it should tell the size of the 
second parameter (fix is smthg like adding n=sizeof(struct addr_in))

I'm sorry, i don't have a patch file or whatever (i did not thought of 
logging all the changes i made, kick me... :( ). I hope this will be
sorta kinda usefull for you out there...

Hmmm 2 more things :
1st, a remark ... A number of application seems to be Linux specific
(stuff like looking in linux/kernel.h). Is GNOME intended to work on
all and every Un*x  ? At the moment, i can tell some part of the code
seems to be fine, some other won't ever work on any platform other
than Linux (too bad, indeed). Oh well, i suppose this is mainly due to 
the available platform coders have...

2nd, is there any usefull docs about using ORBit (like there was one
for mico) or is this task still at the bottom of the stack ? I'd like
to play around with this (my aim is to develop a set of tools for
development and maintainance of application (specific internal tools
to fit what we precisely need), it would be nice to fit the Gnome
model, and even integrate it in)

Okie i'm done. Wake up !
See ya all

-- 
Seb C. (mailto:scarpe@atos-group.com) | Working for Atos at Lille, France
*********************************************************************



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