log libpurple/util.c @ 28229:8d5380556f12

age author description
Mon, 31 Aug 2009 08:00:06 +0000 Paul Aurich gah, signed comparison meant this was stripping all multibyte UTF-8 characters.
Fri, 28 Aug 2009 20:51:48 +0000 Sulabh Mahajan As darkrain pointed out this isnt caused by that certain bug in glib. My mistake. Recomment, and change how I test str to be NULL and return NULL.
Fri, 28 Aug 2009 20:30:03 +0000 Sulabh Mahajan g_utf8_normalize() for glib ver < 2.15.0 causes a crash when an invalid utf8 string is passed to it (http://bugzilla.gnome.org/show_bug.cgi?id=501997).
Fri, 28 Aug 2009 05:35:00 +0000 Paul Aurich Oops, I think it's either sleep or coffee time.
Fri, 28 Aug 2009 05:27:00 +0000 Paul Aurich Add more verbose debugging to purple_utf8_strip_unprintables.
Fri, 28 Aug 2009 01:04:51 +0000 Paul Aurich Make that a little more readable.
Thu, 27 Aug 2009 23:59:30 +0000 Paul Aurich Hmm, g_unichar_isgraph is too restrictive in the characters allowed (it munges \t). Change purple_utf8_strip_unprintables to simply remove ASCII control characters instead.
Tue, 18 Aug 2009 04:34:30 +0000 Elliott Sales de Andrade g_strncasecmp is deprecated. I thought I removed these already. Anyway, I
Thu, 13 Aug 2009 20:16:23 +0000 Mark Doliner How about we just use a GString instead of this ridiculous
Sun, 09 Aug 2009 00:15:14 +0000 Paul Aurich Add support for XMPP URIs on Windows. Closes #2326.
Mon, 20 Jul 2009 05:11:50 +0000 Elliott Sales de Andrade merge of 'e9bb03a6ee65b531aedba74676ce2dbb1b9a8491'
Mon, 20 Jul 2009 01:28:11 +0000 Elliott Sales de Andrade Make a note about these ALLOW_TAG* macros so people don't do stuff like
Sun, 19 Jul 2009 22:40:10 +0000 Ka-Hing Cheung 567c0647 introduced an extra backslash at the end of ALLOW_TAG_ALT
Sun, 19 Jul 2009 22:39:41 +0000 Ka-Hing Cheung disapproval of revision '2737ff4628bd5f26d780a2ccee47e88fe3765947'
Sun, 19 Jul 2009 22:29:44 +0000 Ka-Hing Cheung 567c0647 introduced an extra backslash at the end of ALLOW_TAG_ALT
Sun, 19 Jul 2009 19:33:43 +0000 Mark Doliner disapproval of revision '0a9f6836dbe4facb38768025e830328a50c5ddd8'
Sun, 19 Jul 2009 16:31:32 +0000 Mark Doliner Surround this macro in do { } while (0); so that callers don't need to
Sun, 19 Jul 2009 16:28:32 +0000 Mark Doliner Correct the indentation of this macro by removing one level of indentation
Sun, 19 Jul 2009 08:09:24 +0000 Elliott Sales de Andrade ALLOW_TAG expands to multiple statements, so we should put braces around
Sat, 11 Jul 2009 08:11:14 +0000 Paul Aurich Added the function in util.h, forgot it here.
Sat, 11 Jul 2009 07:32:27 +0000 Paul Aurich Add purple_ipv6_address_is_valid; guess what it does?
Fri, 10 Jul 2009 02:53:17 +0000 Stu Tomlinson No functional change, but my gcc is bitching at me. Fixes this warning,
Fri, 10 Jul 2009 01:48:32 +0000 Stu Tomlinson This fixes this compile warning:
Tue, 07 Jul 2009 07:09:07 +0000 Mark Doliner Update this comment. We talked about using CRC32 on the devel list
Mon, 06 Jul 2009 23:46:56 +0000 Mark Doliner Create a purple_markup_escape_text() function and use it in one place
Mon, 06 Jul 2009 05:50:43 +0000 Mark Doliner Change strings in libpurple/protocols/jabber/auth.c and util.c a little bit
Mon, 06 Jul 2009 05:37:06 +0000 Mark Doliner Hey Stu, it should be safe to combine this check, right? It'll make us
Sat, 04 Jul 2009 23:33:01 +0000 John Bailey Convert all uses of PURPLE_UNSAFE_DEBUG to the new API I added.
Sat, 04 Jul 2009 17:17:59 +0000 Paul Aurich Fix purple_markup_unescape_entity to properly consume '&#x5C;' and similar.
Sat, 04 Jul 2009 01:17:55 +0000 Stu Tomlinson Apparently there might be stuff after the semicolon before the \r\n so just
Sat, 04 Jul 2009 01:14:03 +0000 Stu Tomlinson disapproval of revision '3fe037ee4d003527c8f4f41974e01680d5eea27e'
Sat, 04 Jul 2009 00:59:44 +0000 Stu Tomlinson We're about to assume strstr() will find \r\n, so make the sscanf()
Fri, 03 Jul 2009 09:05:51 +0000 Mark Doliner Formatting changes, no functionality.
Thu, 02 Jul 2009 07:33:17 +0000 Mark Doliner A few changes to our code to handle chunked transfer-encodings (technically
Thu, 02 Jul 2009 07:09:24 +0000 Mark Doliner Remove just a tad bit of indirection
Thu, 02 Jul 2009 06:08:36 +0000 Mark Doliner Use unsigned lengths here and use %zu when reading into the gsize var
Tue, 30 Jun 2009 20:52:26 +0000 Sadrul Habib Chowdhury merge of '22e14265a47cdddb4c9eb1ee0d2ce2989f9fce61'
Tue, 30 Jun 2009 20:48:12 +0000 Sadrul Habib Chowdhury Process the data correctly if the server sends chunked data.
Tue, 30 Jun 2009 01:39:08 +0000 Mark Doliner Use glib's base64 encode and decode functions if they're available.
Sun, 21 Jun 2009 16:40:15 +0000 Richard Laager propagate from branch 'im.pidgin.pidgin.2.5.7' (head 81e7f59e74715d44dac9e40e7b43ff377c8b474c)
Fri, 19 Jun 2009 00:00:25 +0000 Mark Doliner Allow doxygen to pick up the comment for this function. It's
Wed, 03 Jun 2009 22:12:28 +0000 Paul Aurich Strip unprintable UTF-8 characters from buddy list strings. Fixes #8776.
Wed, 03 Jun 2009 19:09:16 +0000 Paul Aurich Add purple_utf8_strip_unprintables and use it on outgoing XMPP messages.
Wed, 03 Jun 2009 17:04:05 +0000 Sadrul Habib Chowdhury Add a utlity function purple_markup_is_rtl
Sat, 30 May 2009 00:07:50 +0000 John Bailey Add yet another URL fetching function. This one takes an account as a
Sun, 17 May 2009 01:55:15 +0000 John Bailey propagate from branch 'im.pidgin.cpw.sulabh.yahoo_16' (head c1ede5faf776dc1cc966dabb42c1ef0dbaea31db)
Thu, 14 May 2009 02:12:40 +0000 John Bailey Only log requested HTTP URL's when PURPLE_UNSAFE_DEBUG is set and change MSN
Sat, 16 May 2009 20:37:08 +0000 Sadrul Habib Chowdhury merge of '063be233b9574325479d819c9c68bf52551435d7'
Sat, 16 May 2009 19:58:40 +0000 Richard Laager A patch from Scott Wolchok to replace snprintf() with g_snprintf() and
Sat, 16 May 2009 18:37:14 +0000 Sadrul Habib Chowdhury According to RFC 1738, "'" is a valid character in a URL.
Sat, 02 May 2009 04:02:53 +0000 Paul Aurich Sadrul pointed me at g_markup_escape_text, thanks!
Sat, 02 May 2009 01:26:18 +0000 Paul Aurich Escape all the values when appending them to the Entity Caps verification str.
Mon, 16 Mar 2009 22:56:57 +0000 Mark Doliner Add a friendly error message if something uses
Fri, 13 Mar 2009 02:51:00 +0000 Mark Doliner Add a note that this function could potentially be faster.
Mon, 26 Jan 2009 06:44:00 +0000 Mark Doliner Remove trailing whitespace
Tue, 06 Jan 2009 03:39:51 +0000 Paul Aurich Patch from Paul Aurich to add purple_strequal to help readability and simplicity of code. Ie, don't need to negate the value of strcmp, since this does a strcmp and does the negation for us
Fri, 02 Jan 2009 22:28:34 +0000 Richard Laager explicit merge of '32d4ce0b6cfc9ccb9a6e7ed661423b9260a0bead'
Fri, 02 Jan 2009 22:23:58 +0000 Richard Laager explicit merge of '814d53152c168c9c4732b3d084260711d536fba6'
Sat, 13 Dec 2008 05:45:27 +0000 Gary Kramlich propagate from branch 'im.pidgin.pidgin' (head d5bb29138cbe033bbfd8ec689203d73818765327)
Fri, 14 Nov 2008 06:52:15 +0000 Richard Laager propagate from branch 'im.pidgin.pidgin' (head 42f888b4f8e15a19002abe6f40a5d89117ee59a7)
Fri, 14 Nov 2008 06:45:16 +0000 Richard Laager propagate from branch 'im.pidgin.pidgin' (head 5be7104ff151004112ce3f9c34446335024d06d8)
Thu, 30 Oct 2008 03:03:55 +0000 Gary Kramlich propagate from branch 'im.pidgin.pidgin' (head 06e4830f3567955e026f3d594afcc65a07d57b26)
Thu, 28 Aug 2008 13:00:23 +0000 Gary Kramlich propagate from branch 'im.pidgin.pidgin' (head 69cdb2b9e20a69a98389b47c672718d5be222338)
Fri, 19 Jun 2009 01:30:45 +0000 John Bailey *** Plucked rev c1ede5faf776dc1cc966dabb42c1ef0dbaea31db (rekkanoryo@pidgin.im):
Thu, 21 Aug 2008 03:44:57 +0000 Gary Kramlich propagate from branch 'im.pidgin.pidgin' (head 038d9d36d640ed83f9df5333d57dc0cd8b9ae847)
Wed, 06 Aug 2008 02:39:40 +0000 Gary Kramlich propagate from branch 'im.pidgin.pidgin' (head c3595d7c3895f52f076aaaa7650f81d8fbea81ef)
Mon, 30 Jun 2008 23:12:54 +0000 Gary Kramlich propagate from branch 'im.pidgin.pidgin' (head 1d533cebad7c0dbda8ec8ebee1334d27dcae5f9c)
Mon, 16 Jun 2008 21:43:34 +0000 Justin Rodriguez added a more generic function to read xml files (and made the util version into a wrapper) so it can be used by the
Mon, 22 Dec 2008 19:14:50 +0000 Mark Doliner Change the font size mapping table in purple_markup_html_to_xhtml() to
Fri, 19 Dec 2008 04:11:15 +0000 Daniel Atallah Make purple_utf8_has_word() better about detecting word boundaries (still not
Sat, 06 Dec 2008 01:08:20 +0000 Mark Doliner Make our purple_util_fetch_url_request() function able to handle
Fri, 14 Nov 2008 06:52:05 +0000 Richard Laager Compile
Fri, 14 Nov 2008 06:42:18 +0000 Richard Laager Fix CID #385
Fri, 14 Nov 2008 06:41:47 +0000 Richard Laager Fix CID #386
Fri, 14 Nov 2008 06:40:55 +0000 Richard Laager Fix CID #387
Fri, 14 Nov 2008 06:39:52 +0000 Richard Laager Fix CID #388
Fri, 14 Nov 2008 06:36:44 +0000 Richard Laager Fix CID #389
Tue, 21 Oct 2008 16:09:23 +0000 Daniel Atallah Trigger url_fetch_connect_cb() asynchronously when the connection fails
Mon, 08 Sep 2008 01:28:17 +0000 Daniel Atallah Fix a TODO and mark a string translatable now that we're not string frozen.
Wed, 27 Aug 2008 03:04:15 +0000 Evan Schoenberg Return FALSE from purple_url_parse() if a host could not be determined
Wed, 27 Aug 2008 02:54:59 +0000 Evan Schoenberg purple_url_parse() now gracefully handles a url which is wholly invalid.
Tue, 26 Aug 2008 22:37:23 +0000 Daniel Atallah purple_str_to_time() didn't necessarily set "rest" under all circumstances.
Fri, 15 Aug 2008 04:13:40 +0000 Elliott Sales de Andrade disapproval of revision '8bae3778af422c41094db4e639f2cf45e6ee6259'
Fri, 15 Aug 2008 02:42:52 +0000 Stu Tomlinson Fix compatibility with glib < 2.4 for g_markup_printf_escaped. untested.
Fri, 08 Aug 2008 23:34:27 +0000 Daniel Atallah Add temporary purple_util_fetch_url_request_len and purple_util_fetch_url_len
Fri, 08 Aug 2008 05:54:40 +0000 Mark Doliner Add a note for translators, because they probably have no idea what
Thu, 07 Aug 2008 01:08:37 +0000 Daniel Atallah Add NULL checking to purple_markup_linkify().
Sun, 13 Jul 2008 18:01:57 +0000 Sadrul Habib Chowdhury Add purple_get_host_name to get the hostname of the machine.
Thu, 26 Jun 2008 05:34:55 +0000 Mark Doliner Remove a unused variable
Sat, 14 Jun 2008 04:50:35 +0000 Elliott Sales de Andrade Allow a 'Z' (UTC) TZ in strings passed to purple_str_to_time. Used for
Fri, 30 May 2008 01:51:43 +0000 Sadrul Habib Chowdhury Modified patch from Dylan Simon (dylex) to improve
Mon, 12 May 2008 23:17:48 +0000 Sadrul Habib Chowdhury propagate from branch 'im.pidgin.pidgin.custom_smiley' (head c134ff23eba5faac09c13e731e792fa612c91a9a)
Sun, 11 May 2008 04:50:36 +0000 Richard Laager Fix purple_str_to_time() to not break the returned value when we have given
Wed, 07 May 2008 19:43:40 +0000 Daniel Atallah Fix some potential leakage in the craziness called purple_markup_html_to_xhtml().
Tue, 18 Mar 2008 00:48:33 +0000 Sadrul Habib Chowdhury propagate from branch 'im.pidgin.pidgin' (head 42df8ef15f4603d876ab1d764ffb91b9fc071840)
Sun, 16 Mar 2008 20:36:52 +0000 Mark Doliner Fix a bunch of compiler warnings caused by my addition of G_GNUC_PRINTF()
Wed, 05 Mar 2008 17:18:09 +0000 Sadrul Habib Chowdhury propagate from branch 'im.pidgin.pidgin' (head e4cc3b79eb04e4937c5fa764f6839a8e07397651)
Thu, 28 Feb 2008 08:41:23 +0000 Ka-Hing Cheung Fixes an error detected by valgrind:
Tue, 26 Feb 2008 13:53:22 +0000 Stu Tomlinson Use connect server as FQDN for SASL auth except when it is an IP address.
Tue, 19 Feb 2008 19:51:03 +0000 Sadrul Habib Chowdhury Revert some bits of the earlier patch not related to custom smileys.
Tue, 19 Feb 2008 19:46:49 +0000 Sadrul Habib Chowdhury Plug a leak.
Tue, 19 Feb 2008 19:41:56 +0000 Sadrul Habib Chowdhury Apply the custom smiley patches from #1187, from Jorge Villaseo (Masca) and
Thu, 24 Jan 2008 05:24:20 +0000 Mark Doliner Change purple_markup_html_to_xhtml() to convert <strong> tags to
Sat, 12 Jan 2008 22:05:52 +0000 Sadrul Habib Chowdhury Make setting 'now listening' actually work, thanks to khc.
Fri, 11 Jan 2008 23:21:16 +0000 Sadrul Habib Chowdhury Ignore both NULL and empty strings.
Sat, 05 Jan 2008 11:08:48 +0000 Sadrul Habib Chowdhury Utility functions to set and format song information. Closes #4398.
Tue, 18 Dec 2007 08:44:35 +0000 Mark Doliner Add a comment that I took this from glib
Tue, 18 Dec 2007 08:42:41 +0000 Mark Doliner Create a purple_gai_strerror() function similar to g_str_error() which
Thu, 06 Dec 2007 12:26:40 +0000 Sadrul Habib Chowdhury Patch #3848 from Eion Robb: "purple_markup_unescape_entity doesn't escape hexadecimal references", with changes from QuLogic.
Fri, 23 Nov 2007 19:41:44 +0000 Stu Tomlinson I had used memcpy to copy the struct tm to where the caller wants it, but
Thu, 22 Nov 2007 16:45:38 +0000 Stu Tomlinson 'man 3 ctime' says of localtime() (and friends):
Thu, 22 Nov 2007 16:37:08 +0000 Stu Tomlinson Fix the bug in purple_str_to_time() that was causing 'make check' to fail.
Thu, 22 Nov 2007 16:32:56 +0000 Stu Tomlinson Fix a bug in purple_str_to_time() that could cause it to try reading past
Sat, 17 Nov 2007 20:58:56 +0000 Stu Tomlinson Allow empty GNOME_DESKTOP_SESSION_ID to "fail" the running_gnome check as
Sat, 10 Nov 2007 15:59:05 +0000 Stu Tomlinson Escape any un-escaped entities in purple_markup_html_to_xhtml when parsing
Sat, 10 Nov 2007 04:52:20 +0000 Ka-Hing Cheung propagate from branch 'im.pidgin.pidgin.next.minor' (head 0c9637482b845cc65e95a26e144697391c51133f)
Tue, 30 Oct 2007 10:15:58 +0000 Sadrul Habib Chowdhury Close #2810. ('Non-XHTML-IM messages with links in them are broken.')
Mon, 15 Oct 2007 00:41:22 +0000 Richard Laager Add and call a purple_util_uninit() to free user_dir and customer_home_dir
Fri, 09 Nov 2007 17:37:12 +0000 Stu Tomlinson applied changes from f0cdd16c20f9773e28cd79b36ffcf1c66057e32e
Thu, 08 Nov 2007 23:47:22 +0000 Ethan Blanton jtb indirectly points out that we need a fflush() before the fsync(),