Judd Vinet
|
ef04c832f7
|
FW: spaces -> tabs cosmetic fix
|
2006-02-20 18:45:26 +00:00 |
|
Aurelien Foret
|
be39f49a54
|
prepend library function names with _alpm (helped with the patch from VMiklos <vmiklos@frugalware.org>)
added log and event callbacks to sync_commit internal transactions
|
2006-02-17 22:35:26 +00:00 |
|
Aurelien Foret
|
58a7e85534
|
- db_write: add support to write both local and sync entries
- code cleanup
|
2006-02-16 21:02:39 +00:00 |
|
Aurelien Foret
|
6e76fd8af3
|
- merged db_open and db_create into one single function
- moved the .lastupdate support to the frontend
|
2006-02-15 22:51:28 +00:00 |
|
Aurelien Foret
|
3a82992b59
|
db_write: only write non-empty fields to database
|
2006-02-11 07:53:36 +00:00 |
|
Aurelien Foret
|
c3ffe4367a
|
cleaned up db_write error cases handling
|
2006-01-27 19:12:15 +00:00 |
|
Aurelien Foret
|
299d708b0d
|
fixed potential file descriptor leaks
|
2006-01-27 19:08:35 +00:00 |
|
Aurelien Foret
|
fd6ce1f4cb
|
- merged pkg_new and pkg_dummy functions
- renamed _alpm_log_action to _alpm_logaction
|
2006-01-09 20:16:00 +00:00 |
|
Judd Vinet
|
96de3501ab
|
patch from VMiklos - use PACKAGE_VERSION instead of PACMAN_VERSION
|
2006-01-02 19:55:35 +00:00 |
|
Judd Vinet
|
58c9d5d663
|
applied first try at sync conflict handling (VMiklos) plus a couple changes
|
2005-12-26 06:40:29 +00:00 |
|
Aurelien Foret
|
8ffb82a691
|
Code update to make use of PKG_FULLNAME_LEN
|
2005-10-08 21:36:47 +00:00 |
|
Aurelien Foret
|
05ab859eab
|
Reworked the cache handling to only load DEPENDS info by default
|
2005-10-08 21:32:14 +00:00 |
|
Aurelien Foret
|
0d6a2edaa8
|
Moved the REPLACES and FORCE package fields from DESC to DEPENDS db entry
|
2005-10-08 20:43:25 +00:00 |
|
Aurelien Foret
|
543940173d
|
Added a missing include for CYGWIN target
|
2005-10-06 07:39:44 +00:00 |
|
Aurelien Foret
|
effbe50ffd
|
Fixed an error log
|
2005-10-06 07:24:33 +00:00 |
|
Aurelien Foret
|
dacf0eccac
|
changed license package field to a list
|
2005-08-20 05:54:45 +00:00 |
|
Aurelien Foret
|
80a5ffa8d8
|
added some debug logs
|
2005-05-03 17:41:19 +00:00 |
|
Aurelien Foret
|
4b11a9b1ce
|
code cleanup
|
2005-05-02 07:50:51 +00:00 |
|
Aurelien Foret
|
5a13de80a1
|
fixed the format of %REASON% entry when writing it
|
2005-04-24 11:27:35 +00:00 |
|
Aurelien Foret
|
cdd81bf177
|
- fixed a cut'n'paste bug with %REASON% entry
- factorized code between %SIZE% and %CSIZE% reading
|
2005-04-24 11:24:18 +00:00 |
|
Aurelien Foret
|
80bae750cd
|
- added 'lastupdate' field to pmdb_t
- added a new public function alpm_db_getinfo
- added a public parameter PM_PKG_DB for PM_PKG struct
|
2005-04-02 23:20:00 +00:00 |
|
Aurelien Foret
|
d30333756a
|
put back 3 _alpm_log() calls
|
2005-03-29 20:58:43 +00:00 |
|
Aurelien Foret
|
e5389ddc62
|
clearer string length for a strncpy call
|
2005-03-29 17:20:43 +00:00 |
|
Aurelien Foret
|
6063424c82
|
Replaced snprintf calls by the SNPRINTF macro to avoid buffer overflows when copying strings
|
2005-03-29 17:18:59 +00:00 |
|
Aurelien Foret
|
56917dc304
|
improved logs (use _alpm_log instead of fprintf)
|
2005-03-28 08:21:17 +00:00 |
|
Aurelien Foret
|
221bda7972
|
moved db_find_conflicts from db.c to conflict.c
|
2005-03-22 20:21:12 +00:00 |
|
Aurelien Foret
|
8179f7cbaa
|
- added db_setlastupdate to db.c
- moved db_update from db.c to alpm.c
|
2005-03-22 20:14:49 +00:00 |
|
Aurelien Foret
|
1b7b6e47a1
|
replaced rewinddir() calls by db_rewind()
|
2005-03-20 14:21:19 +00:00 |
|
Aurelien Foret
|
72c2439576
|
Added support for .lastupdate files (from pacman 2.9.1)
|
2005-03-20 09:22:03 +00:00 |
|
Aurelien Foret
|
0a072b57c5
|
Removed an hardcoded string length
|
2005-03-19 17:56:22 +00:00 |
|
Aurelien Foret
|
0d69a4aeb0
|
Removed an hardcoded string length
|
2005-03-19 17:55:57 +00:00 |
|
Aurelien Foret
|
ad4ab9e50c
|
Bring back db_scan() modifications from pacman 2.9.1
(to cope with .lastupdate files in the db path)
|
2005-03-16 21:49:18 +00:00 |
|
Aurelien Foret
|
22c0037a08
|
Added DB_TREENAME_LEN define to avoid hardcoded length for database string
|
2005-03-16 20:23:50 +00:00 |
|
Aurelien Foret
|
49415cb675
|
Added a missing argument in db_create()
|
2005-03-16 20:04:17 +00:00 |
|
Aurelien Foret
|
fac045a958
|
Removed a hardcoded reference to the 'local' database in db_create()
|
2005-03-16 19:36:15 +00:00 |
|
Aurelien Foret
|
606c70fdc9
|
Added a db_update() function to manage sync databases updates.
The API provides a wrapper alpm_db_update().
|
2005-03-16 19:31:20 +00:00 |
|
Judd Vinet
|
d04baabafa
|
Initial revision
|
2005-03-15 01:51:43 +00:00 |
|