1
0
mirror of https://github.com/m00natic/vlfi.git synced 2024-10-05 18:30:51 +01:00
Commit Graph

236 Commits

Author SHA1 Message Date
Andrey Kotlarski
557d751f78 Be more precise on restoring hexl-mode after chunk update has been
canceled.
2014-08-18 01:19:59 +03:00
Andrey Kotlarski
694d1de495 Allow vlf-occur results be saved to file and later reused. 2014-08-17 22:45:09 +03:00
Andrey Kotlarski
86223ed46c Fixes to hexl-mode integration. 2014-08-17 22:27:36 +03:00
Andrey Kotlarski
274c5ab903 Perform search, occur and ediff operations over hexl content instead
over raw data when hexl-mode is active.
2014-08-12 23:31:09 +03:00
Andrey Kotlarski
a1ca1e3428 Don't launch vlf when file size is less than vlf-batch-size. 2014-08-12 03:18:03 +03:00
Andrey Kotlarski
ece554a3bd Wording. 2014-08-10 18:48:36 +03:00
Andrey Kotlarski
1f9ba7ce5f Use derived-mode-p. 2014-02-23 18:18:26 +02:00
Andrey Kotlarski
8ba5bead36 Don't run vlf-after-batch-functions hook in vlf-build-occur. 2014-02-23 17:18:07 +02:00
Andrey Kotlarski
ee19f811ae Load hexl advices after load and move vlf group definition. 2014-02-23 00:40:20 +02:00
Andrey Kotlarski
6476c1be6a Update README, wording, add links and information on hooks. 2014-02-23 00:32:11 +02:00
Andrey Kotlarski
2c231dfb15 Disable hexl-save-buffer and hexl revert when vlf-mode is active. 2014-02-15 02:40:31 +02:00
Andrey Kotlarski
6bb60b72ad Fix hexl scroll up called from scroll down behavior. 2014-02-15 02:35:46 +02:00
Andrey Kotlarski
b235cf907c Execute vlf-after-batch-functions hook even on user quit command before
end of search.  Update buffer name after unsuccessful goto line.
2014-02-15 02:32:43 +02:00
Andrey Kotlarski
859c1e4c45 Fix hook names. 2014-02-15 02:32:05 +02:00
Andrey Kotlarski
8c61b776d6 Fix when batch hooks are run for occur and save. 2014-02-14 12:34:31 +02:00
Andrey Kotlarski
074f9e960d Play nicely with hexl-mode. 2014-02-14 02:49:02 +02:00
Andrey Kotlarski
b05255b225 Add hooks to run around chunk moves and batch operations. Don't err
when tramp hasn't been loaded yet.
2014-02-14 02:47:37 +02:00
Andrey Kotlarski
924d6b18fa Revert to using insert-file-contents instead of manual decoding. 2014-02-14 02:44:43 +02:00
Andrey Kotlarski
0199c2468a Lower tramp verbosity level when dealing with multiple batches. 2014-01-30 01:58:57 +02:00
Andrey Kotlarski
ffac6972ed Keep undo list after occur or unsuccessful line search. 2014-01-27 02:15:56 +02:00
Andrey Kotlarski
a71ee32508 Skip adjustment in some cases of overlapping chunk. 2014-01-27 01:18:07 +02:00
Andrey Kotlarski
9510c70860 Retry decoding when the initial attempt seems wrong. 2014-01-27 01:16:00 +02:00
Andrey Kotlarski
cc9b115486 Update docstring for vlf-ediff-adjust. 2014-01-23 02:30:02 +02:00
Andrey Kotlarski
f83a212c52 Temporarily disable font-lock during multiple batch operations. 2014-01-23 02:11:44 +02:00
Andrey Kotlarski
1a1ce27d37 Add progress reporters for the optimized part of line search. 2014-01-23 02:10:52 +02:00
Andrey Kotlarski
5c604c48a4 Optimize vlf-goto-line not to decode batches as long as possible. 2014-01-22 02:42:52 +02:00
Andrey Kotlarski
0fa8e8d6bf Update buffer name on user interruption during ediff. 2014-01-22 02:40:53 +02:00
Andrey Kotlarski
d7766f2a3b Update documentation and mark autoloaded functions as interactive. 2014-01-21 01:34:32 +02:00
Andrey Kotlarski
30d2bb0d25 VLF buffer ediff now starts from the current chunks. 2014-01-21 01:33:04 +02:00
Andrey Kotlarski
c533bce956 Add command to set batch size explicitly. 2014-01-21 01:32:21 +02:00
Andrey Kotlarski
5d30eb4826 Use single ediff pass to adjust borders. Protect against user
interruption while searching for difference.
2014-01-21 01:29:37 +02:00
Andrey Kotlarski
d5d9cd71ee Improve refining of differences and readjustment. 2014-01-20 02:40:26 +02:00
Andrey Kotlarski
e747de4495 Unify and optimize deletion. 2014-01-20 02:37:51 +02:00
Andrey Kotlarski
82fd5b943b Refine diff adjustment and in case of equality after it - make another
search for difference.
2014-01-18 16:26:25 +02:00
Andrey Kotlarski
9646b00215 Adjust chunk borders to minimize shift differences and optimize
detection of identical batches when ediff-ing.
2014-01-17 03:01:41 +02:00
Andrey Kotlarski
27e3bbb320 Reuse initial ediff session for all chunks. 2014-01-15 02:17:33 +02:00
Andrey Kotlarski
117935db98 Add progress reporter when searching for difference. 2014-01-14 01:11:59 +02:00
Andrey Kotlarski
38e8f6c4e1 Update file size when moving to end of buffer. 2014-01-14 01:11:07 +02:00
Andrey Kotlarski
98ddc3afd9 Add by batch Ediff functionality. 2014-01-13 01:36:20 +02:00
Andrey Kotlarski
4d82c781b8 - don't nullify default buffer coding system
- make vlf return the newly created VLF buffer
- simplify beginning and end jumps
2014-01-13 01:15:08 +02:00
Andrey Kotlarski
429a8ff016 Widen region when measuring encoded content length. 2014-01-11 19:00:00 +02:00
Andrey Kotlarski
88dba8bb25 Remove unnecessary addition to load-path on compile. 2014-01-07 23:49:56 +02:00
Andrey Kotlarski
47c154cc1f Fix detection of good chunk start. 2014-01-07 13:57:17 +02:00
Andrey Kotlarski
9343095096 Fix installation interfile dependencies and fix setting of local
variables for GNU Emasc 23.
2014-01-07 13:38:24 +02:00
Andrey Kotlarski
dd43af51ff Manually decode and use several bytes buffer when loading chunk. 2014-01-07 01:55:27 +02:00
Andrey Kotlarski
df8c9ea5dd Detect change of file when loading chunk and act more cautiously. Move
some functions around.
2014-01-07 01:54:00 +02:00
Andrey Kotlarski
0dc6d0643e Completely decouple vlf integration from other functionality. 2014-01-07 01:47:39 +02:00
Andrey Kotlarski
66db665d82 Fix follow functionality and explicitly set variable as buffer local. 2014-01-07 01:43:14 +02:00
Andrey Kotlarski
95e625938e Add convenience macro to disable VLF application during execution of
specific function.
2014-01-01 16:47:04 +02:00
Andrey Kotlarski
516584e6c9 Break VLF into components. 2014-01-01 16:42:45 +02:00