dynamic entropy-compressed sequences and full-text indexes. we give new solutions to the searchable partial sums with indels problem. given a sequence of n k-bit numbers, we present a structure taking kn + o(kn) bits of space, able of performing operations sum, search, insert, and delete, all in o(log n) worst-case time, for any k &equals; o(log n). this extends previous results by hon et al. [2003c] achieving the same space and o(log n/log log n) time complexities for the queries, yet offering complexities for insert and delete that are amortized and worse than ours, and supported only for k &equals; o(1). our result matches an existing lower bound for large values of k. we also give new solutions to the dynamic sequence problem. given a sequence of n symbols in the range [1,&sigma;] with binary zero-order entropy h0, we present a dynamic data structure that requires nh0 + o(n log &sigma;) bits of space, which is able of performing rank and select, as well as inserting and deleting symbols at arbitrary positions, in o(log n log &sigma;) time. our result is the first entropy-bound dynamic data structure for rank and select over general sequences. in the case &sigma; &equals; 2, where both previous problems coincide, we improve the dynamic solution of hon et al. [2003c] in that we compress the sequence. the only previous result with entropy-bound space for dynamic binary sequences is by blandford and blelloch [2004], which has the same complexities as our structure, but does not achieve constant 1 multiplying the entropy term in the space complexity. finally, we present a new dynamic compressed full-text self-index, for a collection of texts over an alphabet of size &sigma;, of overall length n and hth order empirical entropy hh. the index requires nhh + o(n log &sigma;) bits of space, for any h &le; &alpha; logsigma n and constant 0 < &alpha; < 1. it can count the number of occurrences of a pattern of length m in time o(m log n log &sigma;). each such occurrence can be reported in o(log2nlog log n) time, and displaying a context of length &ell; from a text takes time o(log n(&ell; log &sigma; + log n log log n)). insertion/deletion of a text to/from the collection takes o(log n log &sigma;) time per symbol. this significantly improves the space of a previous result by chan et al. [2004] in exchange for a slight time complexity penalty. we achieve at the same time the first dynamic index requiring essentially nhh bits of space, and the first construction of a compressed full-text self-index within that working space. previous results achieve at best o(nhh space with constants larger than 1 [ferragina and manzini 2000; arroyuelo and navarro 2005] and higher time complexities. an important result we prove in this paper is that the wavelet tree of the burrows-wheeler transform of a text, if compressed with a technique that achieves zero-order compression locally (e.g., raman et al. [2002]), automatically achieves hth order entropy space for any h. this unforeseen relation is essential for the results of the previous paragraph, but it also derives into significant simplifications on many existing static compressed full-text self-indexes that build on wavelet trees.