aboutsummaryrefslogtreecommitdiffstats
path: root/src/common.h
AgeCommit message (Collapse)AuthorFilesLines
2012-08-02use SLAPT_CHECKSUMS_NOT_VERIFIED instead of SLAPT_CHECKSUMS_NOT_VERIFIED_UNKNOWNJason Woodward1-1/+1
2012-08-02show some additional information when signature is not verifiedLuiz Ramos1-1/+11
2012-06-26remove __inline attributes for various functions as they clash with c99Jason Woodward1-2/+2
2012-01-08added slapt_strip_whitespaceJason Woodward1-0/+2
2010-09-27added slapt_search_list0.10.2gJason Woodward1-0/+1
2010-06-09Updated API, generalizing several types into slapt_list_tJason Woodward1-0/+12
Replaced slapt_pkg_action_args_t, struct slapt_exclude_list, and struct slapt_suggests with slapt_list_t, a generic string list type. Added support functions slapt_parse_delimited_list, slapt_init_list, slapt_add_list_item, slapt_remove_list_item, and slapt_free_list in support of slapt_list_t. Removed now unnecessary slapt_init_exclude_list, slapt_add_exclude, slapt_remove_exclude, slapt_free_exclude_list, slapt_init_pkg_action_args, slapt_add_pkg_action_args, and slapt_free_pkg_action_args. Added convenience function slapt_parse_delimited_list that can generate a slapt_list_t from the exclude list, suggestions, dependencies, and conflicts. This greatly simplified the exclude parsing and dependency parsing.
2009-10-17 * modified disk checking mechanism so that the working directory filesystem0.10.2bJason Woodward1-0/+1
is checked for downloads and then / is checked for the uncompressed size. This is not 100% ideal since /usr may be on another filestem but it should make Tadgy slightly happier. Added slapt_disk_space_check to public API.
2008-12-14reordered priorities to "default < official < preferred < custom" as this ↵Jason Woodward1-2/+2
seems to be more intuitive. Having preferred less than official is confusing.
2008-11-25 * (libslapt) added slapt_write_rc_config (incorporating from gslapt)Jason Woodward1-1/+18
* (libslapt) added parsing of disabled sources (instead of ignoring what gslapt creates). * test updates * Added source priority support based on patch submitted by Ken Milmore
2007-09-05added slapt_regex_extract_match()Jason Woodward1-0/+2
2007-06-16 * added GPG signature verification via gpgme (thanks Pat Volkerding forJason Woodward1-0/+18
adding gpgme to -current) * Updated downloading in libslapt for better notification. This also resulted in some simplification in code. Removed unused DEBUG ifdefs. Removed deprecated translation strings. Added error condition strings and slapt_strerror() function. New translation strings. Bumped to 0.9.12.
2005-10-05various code changesJason Woodward1-1/+1
2005-09-28changed slapt_init_regex() to return slapt_regex_t *Jason Woodward1-4/+4
2005-07-20data type, functions, and macros renamed with slapt_|SLAPT_ (libslapt)Jason Woodward1-15/+16
2005-06-29updated comments for api documentationJason Woodward1-17/+0
2005-05-10code formatting updatesJason Woodward1-4/+4
2005-02-18progress_cb for the progress callback is now part of rc_config structure ↵Jason Woodward1-1/+0
(libslapt)
2005-02-16init_regex now returns on failureJason Woodward1-1/+1
2005-01-17updated typedef for BOOL_TJason Woodward1-3/+5
2005-01-17added ifndef before setting BOOL_T typedef so we don't use existing TRUE && ↵Jason Woodward1-0/+4
FALSE constants
2005-01-16changed bool to BOOL_TJason Woodward1-1/+1
2005-01-16added bool free_pkgs member to pkg_list struct so all pkg_lists are free'd ↵Jason Woodward1-0/+1
uniformly using free_pkg_list, even if their pkg list is pointers to pkg objects in other lists
2005-01-11all malloc and calloc calls are now wrapped in slapt_malloc and slapt_callocJason Woodward1-0/+3
2005-01-01updated copyright dateJason Woodward1-1/+1
2004-11-27redifined typedefs, and changed transaction to transaction_tJason Woodward1-3/+2
2004-11-14made head_mirror_data clear_head_cache write_head_cache read_head_cache ↵Jason Woodward1-0/+1
gen_filename_from_url gen_head_cache_filename get_md5sum non static. moved str_replace_chr to common.[ch]
2004-10-03merged Michel Hermier's ask_yes_no() patch to common.[ch] and transation.cJason Woodward1-0/+4
2004-05-25moved create_dir_structure() and gen_md5_sum_of_file() and to common.[ch], ↵Jason Woodward1-0/+4
created gen_pkg_file_name() and gen_pkg_url() functions
2004-05-19added files for file_open and regex operationsJason Woodward1-0/+36