* e-msgport.c: #define E_THREAD_NONE as ((pthread_t)~0) and use
that instead of ~0 throughout. (pthread_t is a pointer type on my
system, so there are lots of warnings without the cast.)
svn path=/trunk/; revision=7271
2000-12-19 JP Rosevear <jpr@helixcode.com>
* conduits/calendar/calendar-conduit.c (local_record_from_comp):
Convert cal component strings to pilot character set
(comp_from_remote_record): vice versa
* conduits/todo/todo-conduit.c: Same as above
2000-12-19 JP Rosevear <jpr@helixcode.com>
* conduit/address-conduit.c (local_record_from_ecard): Convert ecard
strings to pilot encodings
2000-12-19 JP Rosevear <jpr@helixcode.com>
* e-pilot-util.c (e_pilot_utf8_to_pchar): Convert utf8 strings to
pilot character set
(e_pilot_utf8_from_pchar): vice versa
* Makefile.am: Conditionally build e-pilot-util.[hc] because
they depend on pilot-link stuff
svn path=/trunk/; revision=7090
2000-12-19 Christopher James Lahey <clahey@helixcode.com>
* gal/util/e-util.c, gal/util/e-util.h (e_strdup_strip): Made the
parameter type of e_strdup_string a const. Made it not call
isspace on signed characters. Made the return type of
e_strstrcase non const again.
svn path=/trunk/; revision=7078
2000-12-13 Larry Ewing <lewing@helixcode.com>
* e-html-utils.c (e_text_to_html): make sure we actually make
enough space for " ".
svn path=/trunk/; revision=6964
2000-12-11 Christopher James Lahey <clahey@helixcode.com>
* gal/util/e-util.c, gal/util/e-util.h: Fixed a warning by making
e_strstrcase return a const gchar.
svn path=/trunk/; revision=6936
2000-12-06 Christopher James Lahey <clahey@helixcode.com>
* configure.in: Increased the version number to 0.3. Increased
the so number.
* gal/util/e-util.h: Removed unnecessary #define e_str_make_safe
e_filename_make_safe.
svn path=/trunk/; revision=6824
2000-12-06 Christopher James Lahey <clahey@helixcode.com>
* gal/util/e-util.c, gal/widgets/e-font.c: Fixed some warnings.
svn path=/trunk/; revision=6818
2000-12-04 Jeffrey Stedfast <fejj@helixcode.com>
* gal/util/e-util.h (e_str_make_safe): macro that calls
e_filename_make_safe
* gal/util/e-util.c (e_filename_make_safe): Renamed from
e_str_make_safe
(e_strstrcase): go back to returning gchar * rather than const.
svn path=/trunk/; revision=6780
2000-11-30 Jeffrey Stedfast <fejj@helixcode.com>
* configure.in: Bump the version to 0.2.99.4
* gal/util/e-util.c (e_strstrcase): This should return a const
gchar *.
(e_str_make_safe): New convenience function to replace risky chars
with an underscore.
svn path=/trunk/; revision=6744
2000-11-30 Not Zed <NotZed@HelixCode.com>
* e-memory.c (e_strv_new): Fix typename of args (for all funcs).
(e_strv_set_ref): Assert the index is in range.
(e_strv_set_ref_free): "
(e_strv_set): "
(e_strv_get): "
svn path=/trunk/; revision=6733
2000-11-29 Not Zed <NotZed@HelixCode.com>
* e-sexp.c (term_eval_lt): Plug a memleak, need to free results
from term_eval().
(term_eval_gt):
(term_eval_eq):
2000-11-27 Not Zed <NotZed@HelixCode.com>
* e-memory.c (e_mempool_new): Added some locking to global data.
This should make the interfaces mt-safe, although each object is
only per-thread safe.
svn path=/trunk/; revision=6710
2000-11-22 Not Zed <NotZed@HelixCode.com>
* e-memory.c
(e_strv_set_ref_free): New function, set a reference to a string
that is then owned/free'd by the strv.
(e_strv_destroy): If there are any strings to destroy, free them
here.
svn path=/trunk/; revision=6645
2000-11-22 Not Zed <NotZed@HelixCode.com>
* e-memory.c (e_mempool_alloc): If we dont get a big enough chunk
in the first node, give up. Otherwise we spend too much time
searching.
(e_mempool_strdup): Doh, and allocate enough for the terminating
NUL at that.
svn path=/trunk/; revision=6631
2000-11-21 Not Zed <NotZed@HelixCode.com>
* e-memory.c (e_memchunk_alloc0): New function to allocate a
zero'd out chunk.
svn path=/trunk/; revision=6624
2000-11-20 Not Zed <NotZed@HelixCode.com>
* e-memory.[ch]: New routines for fast memory management and
compact string array storage.
* Makefile.am (libeutil_la_SOURCES): Added e-memory.[ch].
svn path=/trunk/; revision=6619
2000-11-07 JP Rosevear <jpr@helixcode.com>
* Makefile.am: Build e-dbhash.[hc]
* e-dbhash.[hc]: New routines to manage a db database on disk that
contains md5 hashed data and indexed by uids. Provides comparison
functions and such so the caller does not have to do the md5 bits.
2000-11-07 JP Rosevear <jpr@helixcode.com>
* backend/pas/pas-book.h: Update PASRequest structure
* backend/pas/pas-book.c (impl_Evolution_Book_get_changes): update param name
(pas_book_queue_get_changes): Use PASRequest change_id slot
* backend/pas/pas-backend-file.c (pas_backend_file_book_view_copy):
Properly copy change_id and change_context
(pas_backend_file_book_view_free): Free change_id/change_context
(pas_backend_file_changes_foreach_key): Callback to figure out the
deleted cards
(pas_backend_file_changes): Use new e-dbhash stuff to implement.
Write out updated hash
* backend/idl/addressbook.idl: Rename get_changes param
svn path=/trunk/; revision=6489
2000-10-27 <jpr@helixcode.com>
* Makefile.am: build md5-utils
* md5-utils.c: Make part of util, get rid of camel stream util
function include string.h
* md5-utils.h: ditto
2000-10-27 <jpr@helixcode.com>
* providers/pop3/Makefile.am: Tidy up build
* providers/smtp/Makefile.am: ditto
* Makefile.am: Move md5-utils.[hc] to e-util because the
addressbook is going to use md5 hashes for pilot syncing.
Maybe the calendar conduits as well because this is a good idea
Chris had.
svn path=/trunk/; revision=6234
2000-10-27 JP Rosevear <jpr@helixcode.com>
* e-pilot-map.c (map_sax_start_element): Get archive field while
parsing
(map_write_foreach): Write out archive field
(e_pilot_map_pid_is_archived): implement
(e_pilot_map_uid_is_archived): ditto
(e_pilot_map_insert): Insert new node structures
(e_pilot_map_lookup_pid): Take into account the list is now
a list of structures
(e_pilot_map_lookup_uid): ditto
svn path=/trunk/; revision=6224
* e-html-utils.c (e_text_to_html): Deal properly with URLs at the
end of the buffer. (The old code would append a "�" to the
text.)
svn path=/trunk/; revision=6169
2000-10-23 JP Rosevear <jpr@helixcode.com>
* e-pilot-map.c (e_pilot_map_lookup_pid): Lookup a pid by uid.
(e_pilot_map_lookup_uid): Lookup a uid by pid.
Now this is wrapped, we can store archive info internally
* e-pilot-map.h: New accessor prototype
2000-10-23 JP Rosevear <jpr@helixcode.com>
* conduits/todo/todo-conduit.c (local_record_from_comp): Use
new e-pilot-map lookup function
(match): ditto
* conduits/calendar/calendar-conduit.c (local_record_from_comp): Use
new e-pilot-map lookup function
(match): ditto
svn path=/trunk/; revision=6146
2000-10-23 JP Rosevear <jpr@helixcode.com>
* conduit/address-conduit.h: Use new libeconduit calls and
abstraction
* conduit/address-conduit.c: ditto
2000-10-23 JP Rosevear <jpr@helixcode.com>
* conduits/todo/todo-conduit.h: Use new libeconduit calls and
abstraction
* conduits/calendar/calendar-conduit.c: ditto
* conduits/calendar/calendar-conduit.h: ditto
* conduits/todo/todo-conduit.c: ditto
* conduits/calendar/Makefile.am: Add libeconduit-static.la
* conduits/calendar/calendar-conduit.c (post_sync): Use e_pilot_map_write
(pre_sync): Use e_pilot_map_read
2000-10-23 JP Rosevear <jpr@helixcode.com>
* e-pilot-map.c: Operate with EPilotMap structure so things are
abstract to the caller
(e_pilot_map_pid_is_archived): Infrastructure for marking records
as archived
(e_pilot_map_uid_is_archived): ditto
* e-pilot-map.h: Add more to public interface, including EPilotMap
structure
svn path=/trunk/; revision=6134
2000-10-19 Christopher James Lahey <clahey@helixcode.com>
* gal/e-text/e-text-event-processor-emacs-like.c: Made the number
keys on the number pad work in ETexts and ECellTexts.
svn path=/trunk/; revision=6027
2000-10-11 Christopher James Lahey <clahey@helixcode.com>
* gal/util/e-util.c: Included a missing #include.
* gal/util/e-xml-utils.c, gal/util/e-xml-utils.h: Added
e_xml_get_bool_prop_by_name, e_xml_set_bool_prop_by_name, and
e_xml_get_translated_string_prop_by_name. Reindented prototypes.
svn path=/trunk/; revision=5835
2000-09-22 Christopher James Lahey <clahey@helixcode.com>
* gal/e-text/e-text-event-processor-emacs-like.c: Fixed operation
of the keypad keys in EText and ECellText.
svn path=/trunk/; revision=5548
2000-09-18 Christopher James Lahey <clahey@helixcode.com>
* e-list-iterator.c, e-list.c, e-list.h: Made e_list a bit more
reentrant. If a iterator gets its data pulled out from under it
while in a loop, it goes back one so that loops will be able to
continue.
svn path=/trunk/; revision=5533