Re: [Tracker] patch for sigabrt in trackerd

2006-09-13 Thread Samuel Cormier-Iijima
this causes another sigabrt for me, because the memory isn't being cleared first and it's trying to free some random block of memory. (btw, should i be attaching patches or putting them inline? thanks) samuel On 9/13/06, Jamie McCracken <[EMAIL PROTECTED]> wrote: Samuel Cormier-Iijima wrote: >

Re: [Tracker] yet another patch for segfault

2006-09-13 Thread Samuel Cormier-Iijima
argghh, that caused another bug... forgot about g_strduping it, now it abrt's sometimes when trying to free the static string. just wrap the empty string "" with g_strdup in my last patch. Index: tracker-dbus-metadata.c === RCS file:

[Tracker] sorry for all these fixes :-P

2006-09-13 Thread Samuel Cormier-Iijima
yet another segfault in tracker. this one was caused by sending bad metadata types to GetTypeDetails, and fixes some weird coding style and nested ifs. this could be done better with goto's, but i wasn't sure how much aversion you had to them (they're useful sometimes :-) anyways, how many of thes

Re: [Tracker] [Patch] First tracker gui patch

2006-09-13 Thread Jamie McCracken
Edward Duffy wrote: > libglade's pkg-config file used to take care of this...anyway, how > about this patch? (I tested this time :p.. it was LDFLAGS, not CFLAGS) > thx patch applied along with my own fix for the finding the glade file at runtime -- Mr Jamie McCracken http://jamiemcc.livejourna

Re: [Tracker] yet another patch for segfault

2006-09-13 Thread Jamie McCracken
Samuel Cormier-Iijima wrote: > ok, when using Metadata.Get, if one of the fields doesn't have any > associated metadata dbus complains that we're passing NULL (arguably a > bug in DBus). here's a fix for the segfault > thx patch applied to cvs -- Mr Jamie McCracken http://jamiemcc.livejournal.c

Re: [Tracker] [Patch] First tracker gui patch

2006-09-13 Thread Edward Duffy
libglade's pkg-config file used to take care of this...anyway, how about this patch? (I tested this time :p.. it was LDFLAGS, not CFLAGS) On 9/13/06, Jamie McCracken <[EMAIL PROTECTED]> wrote: Edward Duffy wrote: > -export-dynamic needs to be in the CFLAGS variable (since the symbol > in no long

[Tracker] yet another patch for segfault

2006-09-13 Thread Samuel Cormier-Iijima
ok, when using Metadata.Get, if one of the fields doesn't have any associated metadata dbus complains that we're passing NULL (arguably a bug in DBus). here's a fix for the segfault samuel cormier-iijima Index: tracker-dbus-metadata.c ==

Re: [Tracker] [Patch] First tracker gui patch

2006-09-13 Thread Jamie McCracken
Samuel Cormier-Iijima wrote: > On 9/13/06, Jamie McCracken <[EMAIL PROTECTED]> wrote: >> Samuel Cormier-Iijima wrote: >> > I have a little GUI that I coded up... it avoids using glade (the >> > current version in CVS can't find the glade file when installed). >> >> Thats easy to fix - it needs to b

Re: [Tracker] patch for sigabrt in trackerd

2006-09-13 Thread Jamie McCracken
Samuel Cormier-Iijima wrote: > found a problem when trying to get metadata for nonexistant metadata > types, the problem was trying to free g_slice_new-allocated memory > with g_free. patch attached :-) > Thanks good spot but it would be better to call tracker_db_free_field_def instead which ca

Re: [Tracker] [Patch] First tracker gui patch

2006-09-13 Thread Samuel Cormier-Iijima
On 9/13/06, Jamie McCracken <[EMAIL PROTECTED]> wrote: > Samuel Cormier-Iijima wrote: > > I have a little GUI that I coded up... it avoids using glade (the > > current version in CVS can't find the glade file when installed). > > Thats easy to fix - it needs to be in DATADIR > > The > > searching

Re: [Tracker] [Patch] First tracker gui patch

2006-09-13 Thread Jamie McCracken
Samuel Cormier-Iijima wrote: > I have a little GUI that I coded up... it avoids using glade (the > current version in CVS can't find the glade file when installed). Thats easy to fix - it needs to be in DATADIR The > searching works, I'm trying to find out some cool ways to display the > result

[Tracker] patch for sigabrt in trackerd

2006-09-13 Thread Samuel Cormier-Iijima
found a problem when trying to get metadata for nonexistant metadata types, the problem was trying to free g_slice_new-allocated memory with g_free. patch attached :-) Samuel Index: tracker-db-mysql.c === RCS file: /cvs/gnome/tracker

[Tracker] [Patch] Search patch

2006-09-13 Thread Jaime Frutos Morales
As the GUI style discussion has not ended, I have made some GUI style-abstract work. Searches just work, although just "ALL FILES" ones. This work is based on tracker-query.c . I'm planning to work on classifying search hits by type of search, but I would like to now first if we are going to use

Re: [Tracker] [Patch] First tracker gui patch

2006-09-13 Thread Samuel Cormier-Iijima
I have a little GUI that I coded up... it avoids using glade (the current version in CVS can't find the glade file when installed). The searching works, I'm trying to find out some cool ways to display the results... but Tracker doesn't seem to like GetMTime and other functions. Also, it doesn't h

Re: [Tracker] [Patch] First tracker gui patch

2006-09-13 Thread Jamie McCracken
Edward Duffy wrote: > -export-dynamic needs to be in the CFLAGS variable (since the symbol > in no longer in a dynamic library) > makes no difference (lt-tracker-gui:25809): libglade-WARNING **: could not find widget creation function How do you set the creation function (theres nothing in the

Re: [Tracker] [Patch] First tracker gui patch

2006-09-13 Thread Edward Duffy
-export-dynamic needs to be in the CFLAGS variable (since the symbol in no longer in a dynamic library) On 9/13/06, Jamie McCracken <[EMAIL PROTECTED]> wrote: > Edward Duffy wrote: > > Two quick changes that bothered me: first all the services have icons > > and they're from the freedesktop icon n

Re: [Tracker] Missing dependencies

2006-09-13 Thread Jamie McCracken
Baptiste Mille-Mathias wrote: > Hello > > While trying to compile tracker, I noticed that I had some compilation > errors due to missing header dependencies checking, please find the > list: > libwrap-dev > libbz2-dev > libmagic-dev > I have removed lib-magic dependency in cvs - the rest are nee

Re: [Tracker] [Patch] First tracker gui patch

2006-09-13 Thread Jamie McCracken
Edward Duffy wrote: > Two quick changes that bothered me: first all the services have icons > and they're from the freedesktop icon naming spec. And second "Files" > is the default selection in the combobox. > I have now added tracker-gui to cvs and modified the build system Also cleaned up cod

Re: [Tracker] various error on compilations

2006-09-13 Thread Baptiste Mille-Mathias
On 9/13/06, Jamie McCracken <[EMAIL PROTECTED]> wrote: > > Can somebody can help me ? > > > > Thanks > > > > Im currently modding tsuff please wait half an hor before checking out > again. > > Sorry for the inconvienience > ah okay, sorry :) -- Baptiste Mille-Mathias Les gens heureux ne sont pas

Re: [Tracker] various error on compilations

2006-09-13 Thread Jamie McCracken
Baptiste Mille-Mathias wrote: > Hello (again) > > While compiling tracker, I had this error > > tracker-stemmer.c:35:37: error: tracker-stemmer-english.h: Aucun > fichier ou répertoire de ce type > > src/trackerd/tracker-stemmer.c do > #include "tracker-stemmer-english.h" > changing it in > #inc

[Tracker] various error on compilations

2006-09-13 Thread Baptiste Mille-Mathias
Hello (again) While compiling tracker, I had this error tracker-stemmer.c:35:37: error: tracker-stemmer-english.h: Aucun fichier ou répertoire de ce type src/trackerd/tracker-stemmer.c do #include "tracker-stemmer-english.h" changing it in #include "tracker-stemmer.h" corrected the issue. Adter

[Tracker] Missing dependencies

2006-09-13 Thread Baptiste Mille-Mathias
Hello While trying to compile tracker, I noticed that I had some compilation errors due to missing header dependencies checking, please find the list: libwrap-dev libbz2-dev libmagic-dev -- Baptiste Mille-Mathias Les gens heureux ne sont pas pressés __