aboutsummaryrefslogtreecommitdiffstats
path: root/camel/url-util.c
Commit message (Collapse)AuthorAgeFilesLines
* When using g_free (obj) don't test if obj != NULL g_free () already dobertrand1999-09-011-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | 1999-09-01 bertrand <Bertrand.Guiheneuf@aful.org> * camel/camel-folder.c (_finalize): (_set_name): * camel/camel-mime-message.c (_finalize): * camel/camel-mime-part.c (_finalize): (_set_description): (_set_disposition): * camel/camel-service.c (_finalize): * camel/camel-stream-fs.c (_finalize): * camel/gmime-content-field.c: (gmime_content_field_construct_from_string): * camel/url-util.c (g_url_free): When using g_free (obj) don't test if obj != NULL g_free () already do that. Thanks to elerium for the feedback. 19 svn path=/trunk/; revision=1151
* Address updateBertrand Guiheneuf1999-08-301-1/+1
| | | | svn path=/trunk/; revision=1147
* updated some autogen doc stuff. Still don't understand warnings :(bertrand1999-08-071-1/+1
| | | | | | | | | | | | | | | | | | | | | 1999-08-06 bertrand <Bertrand.Guiheneuf@aful.org> * devel-docs/camel/: updated some autogen doc stuff. Still don't understand warnings :( * camel/camel-data-wrapper.c: * camel/providers/MH/camel-mh-store.c: * camel/url-util.c: * camel/gmime-content-field.c: * camel/camel-store.c: various inline doc corrections. * camel/camel-folder.c (get_message_count): new method. Returns the number of message in the folder. svn path=/trunk/; revision=1092
* add debug information (_list_subfolders): test if first char in folderbertrand1999-08-061-72/+89
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1999-08-06 bertrand <Bertrand.Guiheneuf@aful.org> * camel/providers/MH/camel-mh-folder.c (_exists): add debug information (_list_subfolders): test if first char in folder name is not '.' before adding it to the folder list. * camel/camel-store.c (_init): disable session check temporarily (_get_separator): (_get_folder): new static func. Fixed several oddities in class definition. * camel/providers/MH/camel-mh-store.c (camel_mh_store_get_type): parent type is CAMEL_STORE_TYPE not CAMEL_FOLDER_TYPE * camel/camel-store.c: prent class is CamelServiceClass not GtkObjectClass * camel/url-util.c : cosmetic changes + use of const when possible. (find_host): fix a bug: when there is no host and no port don't skip the '/' all static find_* func are now named _func_* (g_url_free): destructor func. cache field has been disabled. Constructing the url string won't be too slow and will occur rarely enough that we do not need to add complexity to this code. * camel/providers/MH/camel-mh-store.c: parent class is CamelStorClass not GtkObjectClass svn path=/trunk/; revision=1087
* Do not use GStrings any more. Added assertion code. Cosmetic reformatingbertrand1999-07-151-109/+102
| | | | | | | | | | | | | | | | 1999-07-15 bertrand <Bertrand.Guiheneuf@aful.org> * camel/url-util.c: * camel/url-util.h: Do not use GStrings any more. Added assertion code. Cosmetic reformating * AUTHORS: * ChangeLog: Changed my email address. svn path=/trunk/; revision=1025
* Implemented base64 encoder based on CamelStreams. Should theMiguel de Icaza1999-07-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1999-07-13 Miguel de Icaza <miguel@gnu.org> * camel/gmime-base64.c (gmime_encode_base64): Implemented base64 encoder based on CamelStreams. Should the encoder/decoder be a Stream itself? * camel/gmime-utils.c: include config.h here. * camel/url-util.c: ditto. * camel/gstring-util.c: ditto. * camel/gmime-content-field.c: ditto. * camel/camel-stream.c: ditto. * camel/camel-stream-fs.c: ditto. * camel/camel-store.c: ditto. * camel/camel-simple-data-wrapper.c: ditto. * camel/camel-session.c: ditto. * camel/camel-service.c: ditto. * camel/camel-mime-part.c: ditto. * camel/camel-mime-message.c: ditto. * camel/camel-log.c: ditto. * camel/camel-data-wrapper.c: ditto * camel/camel-folder.c: ditto. * camel/camel-stream.c (camel_stream_write): Moved api documentation to the places that they document. (camel_stream_class_init): Virtual classes do not need to have a default implementation. So null them all. (camel_stream_write): Return value from write. (camel_stream_available): implement. (camel_stream_write_strings): documented. * devel-docs/query/virtual-folder-in-depth.sgml: Small reformatting 1999-06-28 bertrand <Bertrand.Guiheneuf@inria.fr> * tests/test2.c (main): now use CamelDataWrapper::contruct_form_stream to test svn path=/trunk/; revision=1024
* some more commentsbertrand1999-05-011-4/+7
| | | | | | | | | | | | | | 1999-05-01 bertrand <Bertrand.Guiheneuf@inria.fr> * camel/url-util.c (g_url_new): some more comments 1999-04-27 bertrand <Bertrand.Guiheneuf@inria.fr> * camel/camel-folder.c (camel_folder_create): new public function. svn path=/trunk/; revision=884
* s/new_g_url/g_url_newbertrand1999-04-241-1/+1
| | | | | | | | 1999-04-24 bertrand <Bertrand.Guiheneuf@inria.fr> * camel/url-util.[ch]: s/new_g_url/g_url_new svn path=/trunk/; revision=875
* URL rewritten completely. Error handling not implemented in publicbertrand1999-04-241-52/+232
| | | | | | | | | | | 1999-04-24 bertrand <Bertrand.Guiheneuf@inria.fr> * camel/url-util.c (new_g_url): URL rewritten completely. Error handling not implemented in public functions. But URL scan works pretty well :))) svn path=/trunk/; revision=874
* I needed the url functions to use GString, and I wanted a more generalbertrand1999-04-241-253/+149
| | | | | | | | | | | | 1999-04-24 bertrand <Bertrand.Guiheneuf@inria.fr> * camel/url-util.[ch]: I needed the url functions to use GString, and I wanted a more general scheme so I finally started rewriting the whole thing from scratch. No more code from gzilla :( svn path=/trunk/; revision=872
* Utility functions to parse URLs. Stolen shamelessly from gzillabertrand1999-04-231-0/+326
1999-04-23 bertrand <Bertrand.Guiheneuf@inria.fr> * camel/url-util.[ch]: Utility functions to parse URLs. Stolen shamelessly from gzilla (www.gzilla.com) written by Raph Levien <raph@acm.org> * camel/Makefile.am: added url-util.[ch] compilation. svn path=/trunk/; revision=871