Commit Graph

153 Commits

Author SHA1 Message Date
Panu Matilainen c41f61369e Unconstify macro contents, fully contained within macro module 2007-12-16 21:28:37 +02:00
Panu Matilainen f5a712db5b Remove bogus consts.. 2007-12-14 15:50:17 +02:00
Panu Matilainen 9ce13e09ef Switch to <rpm/foo.h> style for public headers
- adjust include paths accordingly
2007-12-08 14:02:32 +02:00
Panu Matilainen 89527785bb Move logging related macros rpmlog, adjust includes 2007-11-30 23:08:38 +02:00
Ralf Corsépius 8ef0ca213f Expand private include file names to be relative to $(top_srcdir) 2007-11-23 11:41:29 +01:00
Panu Matilainen 7b2a9b3c24 Move rpmGlob() from macros to rpmfileutil.h
- macros is all just macros now
- internal copy of popt stuff needs to go...
2007-11-23 10:27:29 +02:00
Panu Matilainen 2c6905dd9f Move rpmGetPath and rpmGenPath to rpmfileutil.h 2007-11-23 10:20:19 +02:00
Panu Matilainen 178e32a0ba Move rpmCleanPath from macros to rpmfileutil.h 2007-11-23 10:10:19 +02:00
Panu Matilainen ff77bfa2a1 Move file compression stuff from rpmmacro.h to rpmfileutil.h 2007-11-23 10:05:49 +02:00
Panu Matilainen 4ad615daf5 Move the xstr*() string variants from rpmio.h to rpmstring.h 2007-11-23 08:32:08 +02:00
Ralf Corsépius abeea80a38 Use #include <x.h> syntax to include public headers. 2007-11-23 06:46:19 +01:00
Panu Matilainen 17ef8a3082 Lose rpmerr.h for good 2007-11-19 16:32:15 +02:00
Panu Matilainen 43c5de66fb Replace all RPMERR_* etc uses with corresponding RPMLOG_* levels 2007-11-19 16:25:24 +02:00
Panu Matilainen 0781adb1cb Eliminate macro struct internals from the API 2007-11-02 10:40:45 +02:00
Panu Matilainen bdd3cd3ed6 Macros don't need rpmio_internal 2007-10-29 12:55:43 +02:00
Panu Matilainen 46e669f06e Remove bunch of long-dead macro debug stuff 2007-10-29 09:30:45 +02:00
Ralf Corsépius 9735f83012 Include "rpmio_internal.h" instead of <rpmio_internal.h>. 2007-10-28 06:43:19 +01:00
Ralf Corsépius d7c7203182 Include "rpmerr.h" instead of <rpmerr.h>. 2007-10-28 06:43:10 +01:00
Ralf Corsépius b1f8da9252 Include "rpmlua.h" instead of <rpmlua.h>. 2007-10-28 06:36:11 +01:00
Ralf Corsépius e36a2ac8da Include "rpmmacro.h" instead of <rpmmacro.h>. 2007-10-28 06:32:05 +01:00
Ralf Corsépius 942da02937 Include "rpmmessages.h" instead of <rpmmessages.h>. 2007-10-28 06:17:49 +01:00
Ralf Corsépius 272d591973 Add support for lzma compressed "Sources". 2007-10-10 08:39:01 +02:00
Panu Matilainen d709195c3a Replace all rpmError() uses with rpmlog() 2007-10-09 14:06:06 +03:00
Ralf Corsépius 6ea5c0023f Use enums instead of ints for processing isCompressed ret-val. 2007-10-09 10:02:49 +02:00
Panu Matilainen 8c7b929a14 Never glob non-local paths in rpmGlob() 2007-10-01 14:29:10 +03:00
Panu Matilainen 83f0947586 Rename MacroContext and -Entry to rpmMacro* for namespacing 2007-09-20 15:52:03 +03:00
Panu Matilainen 154a7f7603 Move _free() into system.h for now
- get rid of dozen _free() definitions
- get _free() out of public headers
2007-09-20 15:37:48 +03:00
Ralf Corsépius 8fa3c5becf Remove splint remnants. 2007-09-20 07:36:41 +02:00
Ralf Corsépius e9f3a5c89d Remove splint tags. 2007-09-11 19:23:32 +02:00
Ralf Corsépius f982bbaa79 Remove splint tags. 2007-09-11 16:48:54 +02:00
Ralf Corsépius bc5bbd543f Remove __LCLINT__-ifdef'ed blocks. 2007-09-03 13:29:05 +02:00
Panu Matilainen 8d0ad625b9 Don't read *.rpmnew etc macro files 2007-08-30 13:02:12 +03:00
Panu Matilainen de9061b214 Fix monday morning thinkos wrt macro buffer changes.
The expanded size is of course not known beforehand.. check for size
before copying instead.
2007-08-27 11:01:39 +03:00
Panu Matilainen 40d25ee3ea Fix potential buffer overflow in macro primitive execution
Use dynamic buffer, we know the needed size here...
2007-08-27 09:55:42 +03:00
Panu Matilainen ad7c8e98c9 Fix potential buffer overflow in macro findEntry()
Avoid static buffer, we know the size...
2007-08-27 09:51:52 +03:00
Panu Matilainen 0e74bc98be Fix potential buffer overflow by using dynamic buffer size. 2007-08-27 09:48:00 +03:00
Panu Matilainen ca7b28eb35 Fix buffer overflow in macro shell escaping (#253971)
We know the required buffer size here, no point in using static buffer.
2007-08-27 09:45:53 +03:00
Panu Matilainen de50397c71 Plug some memory leaks.
Patches from rpm5.org / JBJ.
2007-07-02 15:02:15 +03:00
jbj 6aed9338a6 - fix: % at end-of-line overflow (#161091).
CVS patchset: 7874
CVS date: 2005/07/13 09:52:45
2005-07-13 09:52:45 +00:00
jbj 84d6a9cac5 macosx/opendarwin hackery, take 1.
CVS patchset: 7710
CVS date: 2005/01/25 05:24:40
2005-01-25 05:24:40 +00:00
jbj f5203aea8b - add support for automagic pubkey retrieval using HKP.
CVS patchset: 7617
CVS date: 2004/11/28 21:14:41
2004-11-28 21:14:41 +00:00
jbj 13b145b6af Functional http remote globbing through WebDAV.
BUG: Something goofy with Keepalive On still.

CVS patchset: 7573
CVS date: 2004/11/11 02:29:51
2004-11-11 02:29:51 +00:00
jbj afeddbf68d Stub in URL_IS_HTTPS everywhere.
CVS patchset: 7536
CVS date: 2004/11/04 13:29:11
2004-11-04 13:29:11 +00:00
jbj 8faa61c020 Doxygen fiddles.
CVS patchset: 7495
CVS date: 2004/10/20 10:19:34
2004-10-20 10:19:34 +00:00
jbj b831315e41 Splint fiddles.
CVS patchset: 7435
CVS date: 2004/10/09 17:29:22
2004-10-09 17:29:22 +00:00
jbj 9f035a4d8a - fix: "/path/foo.../bar" was losing a dot (#123844).
CVS patchset: 7287
CVS date: 2004/06/01 13:58:57
2004-06-01 13:58:57 +00:00
jbj f748bc43d9 Splint fiddles.
CVS patchset: 7242
CVS date: 2004/04/19 12:12:12
2004-04-19 12:12:12 +00:00
niemeyer 70905ee4c6 Implemented multiline macro support.
CVS patchset: 7231
CVS date: 2004/04/08 20:27:53
2004-04-08 20:27:53 +00:00
jbj 84573a3571 Splint fiddles.
CVS patchset: 7219
CVS date: 2004/04/07 18:07:08
2004-04-07 18:07:08 +00:00
arekm f1dab7350d Make rpmGlob() locale independent to get stable behaviour whatever locale is used when building (Artur Frysiak <wiget/at/pld-linux.org>).
Modified Files: rpmio/macro.c

CVS patchset: 7207
CVS date: 2004/03/30 00:40:26
2004-03-30 00:40:26 +00:00