Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2008-04-19 | Simplify rpmGlob() a bit | Panu Matilainen | 1 | -23/+7 | |
- use argv*() routines instead of manual argv manipulation | |||||
2008-04-19 | Dynamically allocate buffers in rpmGetPath() | Panu Matilainen | 1 | -14/+8 | |
- avoid unbounded copying to static sized buffer - use rpmExpand() instead of expandMacros() which requires preallocated buffer when we've no idea of expanded size | |||||
2008-04-18 | Avoid entirely silly rpmio FD_t use | Panu Matilainen | 1 | -6/+5 | |
- rdcl() converts to FILE internally anyway, might as well use fopen() to begin with... | |||||
2008-04-18 | Remove unnecessary xstrdup() of dynamically allocated buffer | Panu Matilainen | 1 | -3/+2 | |
- leftover from when target buffer was static... | |||||
2008-04-18 | Cosmetics: group operations more logically... | Panu Matilainen | 1 | -2/+3 | |
2008-04-18 | Simplify macro option + argument processing | Panu Matilainen | 1 | -102/+69 | |
- eliminate ninja-voodoo pointer-hackery parsing, replace argvSplit() + argvJoin() and friends - eliminate static sized buffers from the processing | |||||
2008-04-18 | Add argvJoin() for combining an argv array into a string | Panu Matilainen | 2 | -0/+20 | |
2008-04-17 | Eliminate splitString() and freeSplitString() | Panu Matilainen | 2 | -58/+0 | |
- use ARGV_t instead, it does the same and more... | |||||
2008-04-17 | Add rstrlcpy() string helper function | Panu Matilainen | 2 | -0/+40 | |
- adopted from strlcpy() function of OpenBSD originally developed by Todd C. Miller <Todd.Miller@courtesan.com> | |||||
2008-04-17 | More accurate filtering of .rpmnew etc when reading macros | Panu Matilainen | 1 | -3/+3 | |
- strstr() can give false positives, use rpmFileHasSuffix() instead | |||||
2008-04-17 | Have gcc check for NULL terminated arglist in rstrscat | Panu Matilainen | 1 | -1/+1 | |
2008-04-17 | Use sizeof() instead of direct element count in rpmluaGetVar() | Jindrich Novy | 1 | -1/+1 | |
2008-04-17 | Introduce rstrscat() | Jindrich Novy | 2 | -2/+59 | |
- concatenates NULL terminated strings to newly (re)allocated memory - purpose is to prevent overflows caused by writing unknown-sized stuff to static arrays | |||||
2008-04-16 | Convert to Lua 5.1 library loading style | Panu Matilainen | 1 | -15/+10 | |
- luaL_openlibs() to pull in all standard libs - local extensions need to be registered by calling through Lua | |||||
2008-04-16 | Start phasing out internal copy of Lua | Panu Matilainen | 1 | -0/+2 | |
- don't build internal copy of Lua - move 3rd party extensions (posix and rexlib) to toplevel luaext/ directory, built by default (unless --without-lua specified) - auto*foo checks for external Lua - minimal tweaks to lposix.c and rpmlua.c to get them build with Lua 5.1 | |||||
2008-04-15 | Doxygen parameter name mismatch | Panu Matilainen | 1 | -1/+1 | |
2008-04-15 | Plug a memleak in pgpArmorWrap() | Panu Matilainen | 1 | -0/+1 | |
2008-04-15 | Introduce rstrcat() | Jindrich Novy | 2 | -0/+40 | |
2008-04-14 | Add argvAddNum() for adding integers to ARGV_t arrays | Panu Matilainen | 2 | -0/+19 | |
2008-04-14 | Add argvNew() to create an empty argv array | Panu Matilainen | 2 | -0/+13 | |
- yes it's silly ;) | |||||
2008-04-14 | Prevent buffer overflow in readKeys() | Jindrich Novy | 1 | -2/+3 | |
2008-04-11 | Simplify url io a lot | Panu Matilainen | 2 | -79/+34 | |
- move urlhelper call to urlGetFile() - have urlOpen() call urlGetFile() instead of going the other way around and causing local copies and all sorts of craziness in the process | |||||
2008-04-11 | Rewrite rpmMkTempFile() for sanity | Panu Matilainen | 2 | -89/+28 | |
- Actually use mkstemp() for creating the temp file and return a FD_t dupped from the file descriptor returned by mkstemp(). - Simplify the interface while at it. - Change callers for the new interface. - Yes we now require mkstemp() to work, mkstemp() is in POSIX.1-2001 and this is year 2008... | |||||
2008-04-08 | Rewrite pgpArmorWrap(), the former one was insecure/hackish | Jindrich Novy | 1 | -30/+12 | |
2008-04-08 | Eliminate four copy-paste versions of nibble(), stick to rpmstring.h | Panu Matilainen | 1 | -0/+16 | |
- the one in signature.c wasn't even used... | |||||
2008-04-07 | Eliminate several copy-paste hex converters, use pgpHexStr() instead | Panu Matilainen | 1 | -10/+1 | |
2008-04-07 | Uh, return allocated pointer, not the end of string... | Panu Matilainen | 1 | -2/+3 | |
2008-04-07 | Remove static print buffer from pgpMpiStr(), return malloc'd data instead | Panu Matilainen | 2 | -9/+18 | |
- convert callers - only rpmpgp.c internal needs, move it there and make static? | |||||
2008-04-07 | Merge pgpHexCvt() into pgpHexPrt(), removing it from public headers | Panu Matilainen | 2 | -22/+8 | |
2008-04-07 | Minimally convert all pgpHexCvt() users to use pgpHexStr() instead | Panu Matilainen | 1 | -3/+3 | |
2008-04-07 | Remove static print buffer from pgpHexStr, return malloc'ed memory instead | Panu Matilainen | 2 | -11/+13 | |
- inlined to get xmalloc() from system.h for consistent malloc fail behavior - convert callers for new behavior, apart from some debug fprintf()'s | |||||
2008-04-07 | argvPrint() doesn't modify argv, make it const | Panu Matilainen | 2 | -3/+3 | |
2008-04-07 | Add ARGI_const_t, use where appropriate | Panu Matilainen | 2 | -4/+5 | |
2008-04-07 | ARGV_t const pendantry | Panu Matilainen | 3 | -10/+11 | |
- const on typedef'ed ARGV_t doesn't mean a thing, add a new, (exec* compatible) ARGV_const_t and use where appropriate consistently in argv.h, rpmcli.h etc - popt's argv const is the wrong way around for exec() family, add explicit ARGV_t casts on popGetArgs() uses where needed - compiler silence, aaahh... | |||||
2008-04-07 | Remove ARGstr_t typedef, it serves no purpose | Panu Matilainen | 2 | -7/+6 | |
- argv strings are just regular strings, the structure is what's special | |||||
2008-04-07 | Remove bogus const from ARGV_t | Panu Matilainen | 1 | -1/+1 | |
2008-04-04 | Missing decompression arguments for bzip in uncompress macro | Panu Matilainen | 1 | -1/+1 | |
2008-04-04 | Rename currentDirectory() to rpmGetCwd() and move to librpmio | Panu Matilainen | 2 | -0/+21 | |
2008-04-03 | Shut up a few silly compiler warnings that have crept in | Panu Matilainen | 1 | -0/+1 | |
- missing cast in python header subscript - (false) warning about uninitialized variable, unused variable in rpmfc - missing include in rpmio | |||||
2008-04-01 | Fix off-by one in urlOpen() | Jindrich Novy | 1 | -2/+1 | |
- the former implementation didn't take the ending '\0' into account | |||||
2008-03-31 | Dead code removal (macro stuff) | Panu Matilainen | 1 | -17/+0 | |
2008-03-24 | Remove bogus consts from pgpDigParams_s structure | Panu Matilainen | 2 | -9/+9 | |
2008-03-24 | Remove bogus consts from urlinfo_s structure | Panu Matilainen | 2 | -16/+16 | |
2008-03-19 | Remove bunch of double consts. What have I've been thinking? | Panu Matilainen | 2 | -20/+20 | |
2008-03-18 | Erm, off-by-one in rasprintf() | Panu Matilainen | 1 | -1/+1 | |
- should probably change the comment to "simple, stupid and buggy" ;) | |||||
2008-03-18 | Bump up sonames, we're not exactly ABI compatible with 4.4 anymore.. | Panu Matilainen | 1 | -1/+1 | |
2008-03-18 | Add custom asprintf() clone to rpmstring | Panu Matilainen | 2 | -0/+38 | |
2008-03-18 | Minimal namespacing for locale-insensitive x*() string functions | Panu Matilainen | 3 | -29/+29 | |
2008-03-18 | More xstr[n]casecmp to rpmstring along the other string-stuff... | Panu Matilainen | 3 | -49/+42 | |
2008-03-17 | Add missing popt include | Panu Matilainen | 1 | -0/+2 | |