-
lib/cyrusdb_skiplist.c: simplify
dilyanpalauzov committedJun 24, 2020
-
* spelling: achieve * spelling: actually * spelling: address * spelling: addressbook * spelling: administrability * spelling: administration * spelling: administrators * spelling: addresses * spelling: aggregate * spelling: against * spelling: aligned * spelling: already * spelling: annotations * spelling: annotatemore * spelling: anything * spelling: anyway * spelling: appear * spelling: appropriate * spelling: architecture * spelling: arguments * spelling: assertion * spelling: assignments * spelling: aesthetic * spelling: assume * spelling: asynchronous * spelling: authenticate * spelling: authoritative * spelling: automatically * spelling: available * spelling: beginning * spelling: berkeley * spelling: based * spelling: between * spelling: boundary * spelling: bytecode * spelling: calling * spelling: calculate * spelling: capabilities * spelling: caringo * spelling: certainly * spelling: certificate * spelling: category * spelling: checkpoints * spelling: committing * spelling: committed * spelling: comparison * spelling: compatibility * spelling: compliant * spelling: compresses * spelling: concatenation * spelling: concurrency * spelling: configuration * spelling: conflicting * spelling: conjunction * spelling: consistency * spelling: consistent * spelling: contains * spelling: containing * spelling: continuous * spelling: constructing * spelling: convenient * spelling: conversations * spelling: corresponding * spelling: daemonize * spelling: descendent * spelling: declarations * spelling: descriptors * spelling: delete * spelling: dependencies * spelling: deprecated * spelling: destination * spelling: distinction * spelling: differences * spelling: disastrous * spelling: discarded * spelling: disjunctive * spelling: disposition * spelling: disappear * spelling: dissect * spelling: easiest * spelling: efficiently * spelling: embarrassing * spelling: emitting * spelling: preemptively * spelling: encryption * spelling: engines * spelling: environment * spelling: everything * spelling: example * spelling: exempt * spelling: existence * spelling: excluding * spelling: exclusive * spelling: extended * spelling: extension * spelling: facilitate * spelling: familiar * spelling: feature * spelling: filesystem * spelling: format * spelling: forward * spelling: frontend * spelling: function * spelling: getdtablesize * spelling: guaranteed * spelling: hierarchy * spelling: highest * spelling: humongous * spelling: imperative * spelling: implemented * spelling: improvements * spelling: inclusion * spelling: incompatible * spelling: inconsistencies * spelling: increased * spelling: indices * spelling: individual * spelling: initiated * spelling: infinite * spelling: initially * spelling: initializing * spelling: inspect * spelling: installation * spelling: installing * spelling: interchangeable * spelling: interpreter * spelling: interpreted * spelling: initialize * spelling: initialization * spelling: invisible * spelling: jmapauth * spelling: kerberos * spelling: keyword * spelling: length * spelling: matching * spelling: mailbox * spelling: measly * spelling: mechanisms * spelling: message * spelling: mismatches * spelling: immediately * spelling: necessary * spelling: nonexistent * spelling: notification * spelling: obligatory * spelling: occurrence * spelling: occurring * spelling: opportunity * spelling: organically * spelling: otherwise * spelling: outputting * spelling: overridden * spelling: override * spelling: packages * spelling: partition * spelling: parameters * spelling: particular * spelling: permissions * spelling: periodically * spelling: permanent * spelling: persistent * spelling: preferably * spelling: preceded * spelling: precedence * spelling: preconditions * spelling: preserving * spelling: primitives * spelling: privileges * spelling: probably * spelling: property * spelling: propagated * spelling: properties * spelling: proxying * spelling: punctuation * spelling: recipient * spelling: receive * spelling: receiving * spelling: recursive * spelling: redundant * spelling: reliability * spelling: remounts * spelling: replication * spelling: response * spelling: representation * spelling: responsive * spelling: requiring * spelling: require * spelling: reset * spelling: restrict * spelling: restoring * spelling: running * spelling: sensitive * spelling: separate * spelling: separating * spelling: separator * spelling: silently * spelling: similarly * spelling: similar * spelling: should * spelling: spamassassin * spelling: specifying * spelling: sphinx * spelling: squirreled * spelling: stanford * spelling: statically * spelling: statement * spelling: statuscache * spelling: subsidiary * spelling: subtract * spelling: successfully * spelling: succeeded * spelling: success * spelling: suppression * spelling: synchronization * spelling: synchronizing * spelling: synchronicity * spelling: synchronize * spelling: synchronous * spelling: synopsis * spelling: syntactically * spelling: sysexits * spelling: the * spelling: these * spelling: things * spelling: those * spelling: timezone * spelling: trailing * spelling: transparent * spelling: unknown * spelling: unixhierarchysep * spelling: value * spelling: vavailability * spelling: whether
-
coverity #1383656 Unused value
brong committedDec 2, 2016
-
unlink: per database engine interface
brong committedOct 4, 2016
-
cyrusdb: add "CYRUSDB_NOCOMPACT" open flag to avoid recompacting
brong committedJun 19, 2016
-
brong committed
Jun 14, 2015 Welcome "git blame" user. This massive commit was decided upon by the Cyrus development team meeting on June 8th, 2015 by unanimous vote. It changes the indent style to "all spaces, 4 spaces per indent level, no tabs", and also strips all trailing whitespace. To assist you with navigating around this change, there are two tags applied to the changes. This commit will be called "posttab" and the one before it "pretab". Chances are, you're trying to find the commit which changed a line, and you've wound up here. You need to redo your "git blame" on prior commits like this: git blame pretab imap/imapd.c (or whatever file you're trying to blame on) This will get you the history of the file before we rewrote all the whitespace. If you have a branch which you want to convert all the commits into the new spacing style for easy rebase/cherry-pick, then you can run: 1) git checkout <mybranch> 2) git rebase pretab 3) git filter-branch --tree-filter tools/remove-tabs.pl pretab^..HEAD 4) git rebase posttab NOTE the "pretab^". It is very important that you keep the ^ so that this commit is the one that collects all the whitespace changes. This will rewrite all the commits on your branch to the new whitespace style and then rebase it on top of the posttab commit. Since the empty pretab commit will be rewritten to match posttab exactly by the filter-branch process, the rebase will be clean and will skip the pretab commit. NOTE: you may need to make fixes at step 2 if your branch is old and won't rebase cleanly on top of pretab. Step 3 is noisy and slow, but should always run correctly.
-
cyrusdb: add cyrusdb_lockopen()
This is exactly like cyrusdb_open, but you pass a 'struct txn **' and get back a database already locked. This commit just implements it in terms of a call to the backend's lock code after opening, but in future at least some backends can optimise by knowing that the caller wants a writelock, and avoid releasing and re-obtaining the lock.
-
brong committed
Dec 12, 2014
-
skiplist: truncate safety for ANY point within an existing file
brong committedNov 12, 2014 -
skiplist: fix up safe padding and recsize calculations
brong committedNov 12, 2014 -
skiplist: always use the safe functions
brong committedNov 12, 2014
-
lock: pass filename to ALL lock functions
This will help with lock order debugging, and possibly with more general "long lock" tracking too. (cherry-picked from FM branch, partial)
-
Remove $Id: lines as leftovers from CVS
dilyanpalauzov committedAug 4, 2013 -- Remove all lines containing $Id: by executing perl -pi -e"s/^.*\\\$Id:.*\n//" `git grep -l "\$Id:"` -- possible remove an "empty" line, surrounding the former $Id: lines -- in ptclient/pt(expire,loader).c replace CVS version with git version.
-
Remove unnecessary #include "xstrlcpy.h"
dilyanpalauzov committedApr 18, 2013 -
Remove unnecessary #include "xstrlcat.h"
dilyanpalauzov committedApr 18, 2013
-
Initialise various auto variables
Greg Banks committedMar 5, 2013 Because -Wall -O2 complains about it. Even when the values cannot possibly be used uninitialised.
-
under a strange combination of IO error paths. Coverity CID 981716.
-
cyrusdb: add 'cyrusdb_repack' API
brong committedJan 30, 2013
-
libcyrus: mark all external symbols with EXPORTED
dilyanpalauzov committedJul 10, 2012 Annotate with EXPORTED (visibility=default) all symbols (functions and variables) that are defined in libcyrus and are used out of the library.
-
Fix yet more compile warnings.
Greg Banks committedMay 3, 2012 One of these days, pow! right in the -Werror.
-
skiplist: add "RECSIZE_safe" for use during recovery
Bron Gondwana committedFeb 1, 2012
-
add longlock tracking to skiplist
Bron Gondwana committedNov 17, 2011 -
skiplist: safe against map_nommap
Bron Gondwana committedJan 6, 2012 -
cyrusdb: add 'cyrusdb_compar' function
Bron Gondwana committedJan 6, 2012 Compare two strings in the same way the current DB would
-
cyrusdb: switch to using backend names
Bron Gondwana committedJan 3, 2012 This means the 'cyrusdb_backend' datastructure is no longer available to anything outside lib/cyrusdb* - giving a much cleaner API.
-
map: convert map_refresh/free interface to size_t
Bron Gondwana committedDec 12, 2011 -
cyrusdb: create cyrusdb_* backend-independent interface
Bron Gondwana committedDec 14, 2011 also: rename dump/undump to dumpfile/undumpfile rename all DB functions to new cyrusdb_* perl -p -i -e 's/\w*DB->(foreach|store|fetch|close|commit|abort|delete|consistent|dump)/cyrusdb_$1/' i perl -p -i -e 's/\(?(\w*DB)->open\)?\(/cyrusdb_open\($1, /' imap/*.c lib/test/*.c cunit/*.c ptclient/* some other magic with DB_{OLD,NEW}
-
Bron Gondwana committed
Nov 30, 2011 -
skiplist: change back to old compare function
Bron Gondwana committedNov 30, 2011
-
cyrusdb: move regular compare function into bsearch
Bron Gondwana committedNov 25, 2011 -
Revert "cyrusdb: return CYRUSDB_BADPARAM instead of assert more often"
Bron Gondwana committedNov 29, 2011 This reverts commit d11722d. I didn't mean to push this one. I actually think it's bogus
-
cyrusdb: add 'fetchnext' interface - not supported by anything
Bron Gondwana committedOct 11, 2011 -
cyrusdb: return CYRUSDB_BADPARAM instead of assert more often
Bron Gondwana committedOct 10, 2011 -
cyrusdb: use size_t for all sizes
Bron Gondwana committedOct 10, 2011