apps/madmutt.git
17 years agoClean up code and use m_tempfile instead of mutt_mktemp
Julien Danjou [Fri, 24 Nov 2006 23:22:42 +0000 (00:22 +0100)]
Clean up code and use m_tempfile instead of mutt_mktemp

Signed-off-by: Julien Danjou <julien@danjou.info>
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
17 years agoremove some mutt_mktemp
Pierre Habouzit [Fri, 24 Nov 2006 23:24:40 +0000 (00:24 +0100)]
remove some mutt_mktemp

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
17 years agoI'm such a fool
Pierre Habouzit [Fri, 24 Nov 2006 23:01:43 +0000 (00:01 +0100)]
I'm such a fool
YES WE DO WANT TO WRITE IN OUR TEMPORARY FILES.
*g*

17 years agosmall leftover
Pierre Habouzit [Fri, 24 Nov 2006 22:42:16 +0000 (23:42 +0100)]
small leftover

17 years agoUse m_tempfile instead of mutt_mktemp
Julien Danjou [Fri, 24 Nov 2006 22:29:14 +0000 (23:29 +0100)]
Use m_tempfile instead of mutt_mktemp

Signed-off-by: Julien Danjou <julien@danjou.info>
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
17 years agoUse m_tempfile instead of mutt_mktemp
Julien Danjou [Fri, 24 Nov 2006 22:29:13 +0000 (23:29 +0100)]
Use m_tempfile instead of mutt_mktemp

Signed-off-by: Julien Danjou <julien@danjou.info>
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
17 years agomutt_mktemp--
Pierre Habouzit [Fri, 24 Nov 2006 22:34:37 +0000 (23:34 +0100)]
mutt_mktemp--

17 years agoput old m_snsubst into file.c as m_file_fmt.
Pierre Habouzit [Fri, 24 Nov 2006 15:31:33 +0000 (16:31 +0100)]
put old m_snsubst into file.c as m_file_fmt.
implement m_temp{fd,file} functions to replace mutt_(adv_)mktemp, that
work like that:

  m_tempFOO(dst, dstlen, tmpdir, fmt).

it returns either a fd or a FILE* (check it's properly >= 0 or !NULL !!!)
and put the chose name in the buffer dst of size dstlen.

tmpdir is the directory where to create files.

fmp is a file format, where we strip any directory part, then use the
remains like that:

  - if there is a %s specifier, fmt is used as a simple file format
    specifier, and %s is substituted with a temporary file name.
  - if there is no %s specifier, fmt is supposed to be a file name we
    want to take as model, meaning we just want to copy its extension.
    So if you pass "foo.jpg" as a fmt, the resulting file name will end
    in .jpg

mark mutt_(adv_)?mktemp functions as obsolete, and currently
reimplement them with m_temp* functions as a proof of concept.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
17 years agofix completely braindead rfc2047 parsing, that choke on something as
Pierre Habouzit [Fri, 24 Nov 2006 00:39:11 +0000 (01:39 +0100)]
fix completely braindead rfc2047 parsing, that choke on something as
stupid as:

=?UTF-8?Q?foobar??=

this is totally valid, and we choke on this because of the ? in that
string. it's not ambiguous, so deal with it correctly, and get "foobar?"
as a result instead of =?UTF-8?....?=

17 years agofix regression in mutt_is_application_pgp \o/
Pierre Habouzit [Sun, 19 Nov 2006 16:06:30 +0000 (17:06 +0100)]
fix regression in mutt_is_application_pgp \o/

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
17 years agoFix regression with comma handling in buffy
Julien Danjou [Sun, 19 Nov 2006 12:45:19 +0000 (13:45 +0100)]
Fix regression with comma handling in buffy

Signed-off-by: Julien Danjou <julien@danjou.info>
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
17 years agoexit SPAM_LIST, just extend rx_t with the needed informations.
Pierre Habouzit [Sun, 19 Nov 2006 02:13:55 +0000 (03:13 +0100)]
exit SPAM_LIST, just extend rx_t with the needed informations.
push some things into the rx lib.

horrors--.

Signed-off-by: Pierre Habouzit <madcoder@madism.org>
17 years agomove functions around.
Pierre Habouzit [Sun, 19 Nov 2006 01:14:57 +0000 (02:14 +0100)]
move functions around.
replace mutt_expand_fmt with m_snsubst that has a more coherent API now.

Signed-off-by: Pierre Habouzit <madcoder@madism.org>
17 years agosimplify mutt_expand_path
Pierre Habouzit [Sun, 19 Nov 2006 00:41:16 +0000 (01:41 +0100)]
simplify mutt_expand_path

Signed-off-by: Pierre Habouzit <madcoder@madism.org>
17 years agosimplifications
Pierre Habouzit [Sat, 18 Nov 2006 22:51:45 +0000 (23:51 +0100)]
simplifications

Signed-off-by: Pierre Habouzit <madcoder@madism.org>
17 years agostatics
Pierre Habouzit [Sat, 18 Nov 2006 22:16:36 +0000 (23:16 +0100)]
statics

Signed-off-by: Pierre Habouzit <madcoder@madism.org>
17 years agoremove -Inntp
Pierre Habouzit [Sat, 18 Nov 2006 22:10:19 +0000 (23:10 +0100)]
remove -Inntp

Signed-off-by: Pierre Habouzit <madcoder@madism.org>
17 years agosmall rewrites
Pierre Habouzit [Sat, 18 Nov 2006 22:05:15 +0000 (23:05 +0100)]
small rewrites

Signed-off-by: Pierre Habouzit <madcoder@madism.org>
17 years agosimplifications.
Pierre Habouzit [Sat, 18 Nov 2006 21:09:47 +0000 (22:09 +0100)]
simplifications.
fix a bug in mutt_gen_msgid

Signed-off-by: Pierre Habouzit <madcoder@madism.org>
17 years agohide one more function
Pierre Habouzit [Sat, 18 Nov 2006 21:01:19 +0000 (22:01 +0100)]
hide one more function

Signed-off-by: Pierre Habouzit <madcoder@madism.org>
17 years agodetails
Pierre Habouzit [Sat, 18 Nov 2006 20:58:29 +0000 (21:58 +0100)]
details

Signed-off-by: Pierre Habouzit <madcoder@madism.org>
17 years agocreate the lib-mx now
Pierre Habouzit [Sat, 18 Nov 2006 20:53:00 +0000 (21:53 +0100)]
create the lib-mx now

Signed-off-by: Pierre Habouzit <madcoder@madism.org>
17 years agorework compress_info type a bit.
Pierre Habouzit [Sat, 18 Nov 2006 20:34:47 +0000 (21:34 +0100)]
rework compress_info type a bit.
avoid ugly casts.

Signed-off-by: Pierre Habouzit <madcoder@madism.org>
17 years agohide some useless things
Pierre Habouzit [Sat, 18 Nov 2006 20:16:58 +0000 (21:16 +0100)]
hide some useless things

Signed-off-by: Pierre Habouzit <madcoder@madism.org>
17 years agoremove mx_{pop,nntp,imap}.[hc]
Pierre Habouzit [Sat, 18 Nov 2006 18:15:58 +0000 (19:15 +0100)]
remove mx_{pop,nntp,imap}.[hc]

those prevented good modularization.

Signed-off-by: Pierre Habouzit <madcoder@madism.org>
17 years agowe always want to DOTLOCK mboxes.
Pierre Habouzit [Sat, 18 Nov 2006 17:45:50 +0000 (18:45 +0100)]
we always want to DOTLOCK mboxes.

Signed-off-by: Pierre Habouzit <madcoder@madism.org>
17 years agoremove useless things
Pierre Habouzit [Sat, 18 Nov 2006 17:33:55 +0000 (18:33 +0100)]
remove useless things

Signed-off-by: Pierre Habouzit <madcoder@madism.org>
17 years ago*oops* I forgot to add those.
Pierre Habouzit [Sat, 18 Nov 2006 17:19:58 +0000 (18:19 +0100)]
*oops* I forgot to add those.

Signed-off-by: Pierre Habouzit <madcoder@madism.org>
17 years agodrop the horrible list2_t for good.
Pierre Habouzit [Sat, 18 Nov 2006 17:10:36 +0000 (18:10 +0100)]
drop the horrible list2_t for good.
replace them with ad-hoc typed arrays since buffy quite need'em

Signed-off-by: Pierre Habouzit <madcoder@madism.org>
17 years agoI don't care about systems where atimes are broken.
Pierre Habouzit [Sat, 18 Nov 2006 16:07:30 +0000 (17:07 +0100)]
I don't care about systems where atimes are broken.

Signed-off-by: Pierre Habouzit <madcoder@madism.org>
17 years agolist2_t --
Pierre Habouzit [Sat, 18 Nov 2006 14:25:19 +0000 (15:25 +0100)]
list2_t --
also note that the way synonyms are handled is completely naive.

Signed-off-by: Pierre Habouzit <madcoder@madism.org>
17 years agomake the dump be an almost valid .rc file.
Pierre Habouzit [Sat, 18 Nov 2006 14:14:09 +0000 (15:14 +0100)]
make the dump be an almost valid .rc file.
add candy for vim users, you can now vi <(madmutt -t) :]

Signed-off-by: Pierre Habouzit <madcoder@madism.org>
17 years agolist2_t --
Pierre Habouzit [Sat, 18 Nov 2006 14:10:59 +0000 (15:10 +0100)]
list2_t --

Signed-off-by: Pierre Habouzit <madcoder@madism.org>
17 years agolist2_t --
Pierre Habouzit [Sat, 18 Nov 2006 13:55:19 +0000 (14:55 +0100)]
list2_t --

Signed-off-by: Pierre Habouzit <madcoder@madism.org>
17 years agodrop list2_t from sendlib.c as well.
Pierre Habouzit [Sat, 18 Nov 2006 13:44:55 +0000 (14:44 +0100)]
drop list2_t from sendlib.c as well.

Signed-off-by: Pierre Habouzit <madcoder@madism.org>
17 years agono more list2_t for mx's anymore either.
Pierre Habouzit [Sat, 18 Nov 2006 13:15:06 +0000 (14:15 +0100)]
no more list2_t for mx's anymore either.
also drop the stupid mx_*_reg functions, rather use exter const mx_t's.

Signed-off-by: Pierre Habouzit <madcoder@madism.org>
17 years agoClean buffy.c and init.c
Julien Danjou [Sat, 18 Nov 2006 11:13:57 +0000 (12:13 +0100)]
Clean buffy.c and init.c

- Use useful variable in init
- We don't need to use Context since s is already the path we want

Signed-off-by: Julien Danjou <julien@danjou.info>
Signed-off-by: Pierre Habouzit <madcoder@madism.org>
17 years agomake rx_t be chaine-able so that we can get rid of list2_t (stage 1).
Pierre Habouzit [Sat, 18 Nov 2006 11:59:17 +0000 (12:59 +0100)]
make rx_t be chaine-able so that we can get rid of list2_t (stage 1).

Signed-off-by: Pierre Habouzit <madcoder@madism.org>
17 years agomissing statics
Pierre Habouzit [Sat, 18 Nov 2006 11:58:21 +0000 (12:58 +0100)]
missing statics

17 years agomerge OPS that do not need to be split anymore.
Pierre Habouzit [Sat, 18 Nov 2006 11:11:28 +0000 (12:11 +0100)]
merge OPS that do not need to be split anymore.

Signed-off-by: Pierre Habouzit <madcoder@madism.org>
17 years agoless warnigs
Pierre Habouzit [Fri, 17 Nov 2006 21:13:01 +0000 (22:13 +0100)]
less warnigs

Signed-off-by: Pierre Habouzit <madcoder@madism.org>
17 years agouseless file.
Pierre Habouzit [Fri, 17 Nov 2006 21:09:13 +0000 (22:09 +0100)]
useless file.

Signed-off-by: Pierre Habouzit <madcoder@madism.org>
17 years agomore moves and dead code
Pierre Habouzit [Fri, 17 Nov 2006 21:03:38 +0000 (22:03 +0100)]
more moves and dead code

Signed-off-by: Pierre Habouzit <madcoder@madism.org>
17 years agoSimplify sidebar code
Julien Danjou [Fri, 17 Nov 2006 17:17:10 +0000 (18:17 +0100)]
Simplify sidebar code

- Remove useless argument from sidebar_*() functions
- Include some missing header files and declares some
  functions as static
- Rename some var :-/
- Remove a useless argument 'fd' for USE_DOTLOCK

Signed-off-by: Julien Danjou <julien@danjou.info>
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
17 years agoRemove useless imap_cmd_running()
Julien Danjou [Fri, 17 Nov 2006 17:35:09 +0000 (18:35 +0100)]
Remove useless imap_cmd_running()

Signed-off-by: Julien Danjou <julien@danjou.info>
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
17 years agoRemove useless var
Julien Danjou [Fri, 17 Nov 2006 17:35:08 +0000 (18:35 +0100)]
Remove useless var

Signed-off-by: Julien Danjou <julien@danjou.info>
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
17 years agoFix a bug when changing folder
Julien Danjou [Fri, 17 Nov 2006 15:44:40 +0000 (16:44 +0100)]
Fix a bug when changing folder

If we press 'c' it prompts for local mailbox if no other
mailboxes have new mail. It should return null instead, like
mutt does.

Signed-off-by: Julien Danjou <julien@danjou.info>
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
17 years agoFix multiple compilation warnings
Julien Danjou [Fri, 17 Nov 2006 17:17:12 +0000 (18:17 +0100)]
Fix multiple compilation warnings

- Include lib-*/*.h where missing
- Put some static and const stuff
- Change _mutt_mktemp to mutt_mktemp

Signed-off-by: Julien Danjou <julien@danjou.info>
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
17 years agoRename pop_query_d to pop_query and remove useless arg
Julien Danjou [Fri, 17 Nov 2006 17:17:11 +0000 (18:17 +0100)]
Rename pop_query_d to pop_query and remove useless arg

Signed-off-by: Julien Danjou <julien@danjou.info>
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
17 years agono warnings in lib-sys anymore
Pierre Habouzit [Fri, 17 Nov 2006 12:19:35 +0000 (13:19 +0100)]
no warnings in lib-sys anymore

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
17 years agoFix compilation warnings in crypt-gpgme.c, cryptglue.c and pgpkey.c
Julien Danjou [Fri, 17 Nov 2006 11:28:37 +0000 (12:28 +0100)]
Fix compilation warnings in crypt-gpgme.c, cryptglue.c and pgpkey.c

- Remove commented and dead code
- Include own header files

Signed-off-by: Julien Danjou <julien@danjou.info>
Signed-off-by: Pierre Habouzit <pierre.habouzit@intersec.eu>
17 years agoFix compilation warnings in pgp.c
Julien Danjou [Fri, 17 Nov 2006 11:28:33 +0000 (12:28 +0100)]
Fix compilation warnings in pgp.c

- Fix pointer argument in address_list_uniq()
- Use const char in pgp_getkeybystr()

Signed-off-by: Julien Danjou <julien@danjou.info>
Signed-off-by: Pierre Habouzit <pierre.habouzit@intersec.eu>
17 years agoremove a whole lot of #include mutt.h
Pierre Habouzit [Fri, 17 Nov 2006 12:07:25 +0000 (13:07 +0100)]
remove a whole lot of #include mutt.h

Signed-off-by: Pierre Habouzit <pierre.habouzit@intersec.eu>
17 years agomore simplifications.
Pierre Habouzit [Fri, 17 Nov 2006 09:46:22 +0000 (10:46 +0100)]
more simplifications.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
17 years agofix compilation
Pierre Habouzit [Fri, 17 Nov 2006 09:30:00 +0000 (10:30 +0100)]
fix compilation

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
17 years agowibble.
Pierre Habouzit [Fri, 17 Nov 2006 00:49:35 +0000 (01:49 +0100)]
wibble.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
17 years agomore include simplifications
Pierre Habouzit [Fri, 17 Nov 2006 00:40:55 +0000 (01:40 +0100)]
more include simplifications

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
17 years agorationnalize includes a lot:
Pierre Habouzit [Fri, 17 Nov 2006 00:35:01 +0000 (01:35 +0100)]
rationnalize includes a lot:
that's very dirty, but lib-lib/lib-lib.h has a lot of commonly used
includes.

that saves a lot of things from the rest of the code.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
17 years agosort out some prototypes, put them where they belong.
Pierre Habouzit [Thu, 16 Nov 2006 23:50:51 +0000 (00:50 +0100)]
sort out some prototypes, put them where they belong.

rework lib-lib, have a public lib-lib/lib-lib.h header that will be our
main library we always want to have.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
17 years agooopsie
Pierre Habouzit [Thu, 16 Nov 2006 22:34:10 +0000 (23:34 +0100)]
oopsie

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
17 years agomove more files.
Pierre Habouzit [Thu, 16 Nov 2006 18:44:22 +0000 (19:44 +0100)]
move more files.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
17 years agomove more things in the lib-ui.
Pierre Habouzit [Thu, 16 Nov 2006 18:01:27 +0000 (19:01 +0100)]
move more things in the lib-ui.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
17 years agonext_word is m_strnextsp
Pierre Habouzit [Thu, 16 Nov 2006 17:53:35 +0000 (18:53 +0100)]
next_word is m_strnextsp

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
17 years agomake charset_canonicalize set the answer to "us-ascii" if s is NULL.
Pierre Habouzit [Thu, 16 Nov 2006 17:46:10 +0000 (18:46 +0100)]
make charset_canonicalize set the answer to "us-ascii" if s is NULL.
some small improvements.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
17 years agoconfigure fixes.
Pierre Habouzit [Thu, 16 Nov 2006 12:48:58 +0000 (13:48 +0100)]
configure fixes.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
17 years agoremove unused code, simplifications, missing include
Pierre Habouzit [Thu, 16 Nov 2006 10:19:22 +0000 (11:19 +0100)]
remove unused code, simplifications, missing include

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
17 years agosome dead code, old things, fix idna *again*
Pierre Habouzit [Thu, 16 Nov 2006 08:37:41 +0000 (09:37 +0100)]
some dead code, old things, fix idna *again*

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
17 years agomove more things in the lib-mime
Pierre Habouzit [Thu, 16 Nov 2006 08:19:45 +0000 (09:19 +0100)]
move more things in the lib-mime

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
17 years agosimplify some bits of code, also simplify includes.
Pierre Habouzit [Thu, 16 Nov 2006 00:23:12 +0000 (01:23 +0100)]
simplify some bits of code, also simplify includes.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
17 years agoctors/dtors for BODY's
Pierre Habouzit [Thu, 16 Nov 2006 00:13:44 +0000 (01:13 +0100)]
ctors/dtors for BODY's

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
17 years agomove all the parameter related functions into the lib-mime.
Pierre Habouzit [Thu, 16 Nov 2006 00:03:21 +0000 (01:03 +0100)]
move all the parameter related functions into the lib-mime.
rename the type and the APIs

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
17 years agomove mutt_get_parameter -> parameter_getval into mime.c
Pierre Habouzit [Wed, 15 Nov 2006 18:39:03 +0000 (19:39 +0100)]
move mutt_get_parameter -> parameter_getval into mime.c

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
17 years agoFix compilation warnings in compose.c and init.c
Julien Danjou [Wed, 15 Nov 2006 15:17:59 +0000 (16:17 +0100)]
Fix compilation warnings in compose.c and init.c

- Use signed int
- Tag unused attribute
- Fix #ifdef -> #if defined()

Signed-off-by: Julien Danjou <julien@danjou.info>
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
17 years agoFix compilation warnings un buffy.c and command.c
Julien Danjou [Wed, 15 Nov 2006 15:17:58 +0000 (16:17 +0100)]
Fix compilation warnings un buffy.c and command.c

- Tag unused attribute
- Use signed int

Signed-off-by: Julien Danjou <julien@danjou.info>
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
17 years agoFix compilation warnings and code clean up
Julien Danjou [Wed, 15 Nov 2006 15:17:57 +0000 (16:17 +0100)]
Fix compilation warnings and code clean up

- Remove old commented code
- Change name of folder_file struct so they do not shadow
  each others. It'd probably be better to use only one struct
  but the code is too big to look at that possibility.

Signed-off-by: Julien Danjou <julien@danjou.info>
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
17 years agoFix compilation errors
Julien Danjou [Wed, 15 Nov 2006 15:17:56 +0000 (16:17 +0100)]
Fix compilation errors

Include wchar.h

Signed-off-by: Julien Danjou <julien@danjou.info>
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
17 years agomake mutt_body_free a bit more mad-friendly
Pierre Habouzit [Wed, 15 Nov 2006 16:05:42 +0000 (17:05 +0100)]
make mutt_body_free a bit more mad-friendly

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
17 years agouse more ad-hoc list handling function, and avoid to muck with ->next
Pierre Habouzit [Wed, 15 Nov 2006 12:05:33 +0000 (13:05 +0100)]
use more ad-hoc list handling function, and avoid to muck with ->next
pointer ourselves

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
17 years agosmall optims.
Pierre Habouzit [Wed, 15 Nov 2006 11:54:47 +0000 (12:54 +0100)]
small optims.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
17 years agofix segfault in hcache due to bad typing.
Pierre Habouzit [Wed, 15 Nov 2006 10:56:59 +0000 (11:56 +0100)]
fix segfault in hcache due to bad typing.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
17 years agooops :)
Pierre Habouzit [Wed, 15 Nov 2006 01:19:02 +0000 (02:19 +0100)]
oops :)

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
17 years agouse an enum, that's cleaner
Pierre Habouzit [Wed, 15 Nov 2006 01:06:07 +0000 (02:06 +0100)]
use an enum, that's cleaner

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
17 years agofinish the "read" of charset.c
Pierre Habouzit [Wed, 15 Nov 2006 00:46:31 +0000 (01:46 +0100)]
finish the "read" of charset.c

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
17 years agomany simplifications, copyright statements.
Pierre Habouzit [Tue, 14 Nov 2006 23:26:24 +0000 (00:26 +0100)]
many simplifications, copyright statements.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
17 years agomore charset improvements.
Pierre Habouzit [Tue, 14 Nov 2006 23:06:59 +0000 (00:06 +0100)]
more charset improvements.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
17 years agooopsie, small fixes.
Pierre Habouzit [Tue, 14 Nov 2006 22:47:22 +0000 (23:47 +0100)]
oopsie, small fixes.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
17 years agouse gperf for the charsets as well.
Pierre Habouzit [Tue, 14 Nov 2006 22:40:36 +0000 (23:40 +0100)]
use gperf for the charsets as well.
we're more efficient *AND* more clever than the previous function.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
17 years agomake the generation of mime-token.[hc] a bit more effficient.
Pierre Habouzit [Tue, 14 Nov 2006 22:40:06 +0000 (23:40 +0100)]
make the generation of mime-token.[hc] a bit more effficient.

17 years agosimplify charset and things in the sockets API.
Pierre Habouzit [Tue, 14 Nov 2006 21:42:37 +0000 (22:42 +0100)]
simplify charset and things in the sockets API.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
17 years agomore autoconf simplifications.
Pierre Habouzit [Tue, 14 Nov 2006 11:20:31 +0000 (12:20 +0100)]
more autoconf simplifications.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
17 years agocontinue the configure simplifications.
Pierre Habouzit [Tue, 14 Nov 2006 11:04:09 +0000 (12:04 +0100)]
continue the configure simplifications.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
17 years agomove some files around.
Pierre Habouzit [Tue, 14 Nov 2006 10:37:47 +0000 (11:37 +0100)]
move some files around.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
17 years agodrop the ad-hoc TZ parse, non-rfc822 compliant dates are quite rare
Pierre Habouzit [Tue, 14 Nov 2006 01:08:12 +0000 (02:08 +0100)]
drop the ad-hoc TZ parse, non-rfc822 compliant dates are quite rare
nowadays, I don't care about those.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
17 years agobegin to rework mailcap parsing a "bit".
Pierre Habouzit [Tue, 14 Nov 2006 01:01:25 +0000 (02:01 +0100)]
begin to rework mailcap parsing a "bit".
the current way is really really really completely naïve (the mailcap
parse is done many times whereas it just should be put into structs once
for all !).

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
17 years agoplease, libidn has not changed in years now
Pierre Habouzit [Mon, 13 Nov 2006 23:21:27 +0000 (00:21 +0100)]
please, libidn has not changed in years now

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
17 years agodead code
Pierre Habouzit [Mon, 13 Nov 2006 23:15:58 +0000 (00:15 +0100)]
dead code

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
17 years agoremove most of the debug code: often makes the code unreadable, for little
Pierre Habouzit [Mon, 13 Nov 2006 23:14:05 +0000 (00:14 +0100)]
remove most of the debug code: often makes the code unreadable, for little
gain when we debug, because the debugging is due to the high level of code
interweaving

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
17 years agocontinue the include dance
Pierre Habouzit [Mon, 13 Nov 2006 22:10:53 +0000 (23:10 +0100)]
continue the include dance

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
17 years agorework includes a bit
Pierre Habouzit [Mon, 13 Nov 2006 21:53:47 +0000 (22:53 +0100)]
rework includes a bit

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
17 years agocandy: make wc
Pierre Habouzit [Mon, 13 Nov 2006 18:04:32 +0000 (19:04 +0100)]
candy: make wc

Signed-off-by: Pierre Habouzit <madcoder@debian.org>