Commit graph

903 commits

Author SHA1 Message Date
Pistos 9eda15c905 Date bump. 2009-07-12 16:48:54 -04:00
Pistos beae879707 Fixed go_to_char_previous; now working when cursor at beginning of line on matching char.
Added accompanying spec.
2009-07-12 16:46:57 -04:00
Pistos 9f3948c82d Force repaint after go_to_char and go_to_char_previous. 2009-07-12 15:22:41 -04:00
Pistos 1f1ecf0d0e Whitespace and capitalization adjustment in default conf. 2009-07-09 15:56:27 -04:00
Pistos ca9a3f8b02 Updated @there_was_non_movement code to use new method capitalization. 2009-07-07 16:07:26 -04:00
Pistos 9a9314cc82 Fixed bug in list buffer one-key selection. 2009-07-07 16:03:43 -04:00
Pistos e45ae4bc75 Revert "using #send instead of #eval in keying system"
This reverts commit d60fa35528.

Conflicts:

	lib/diakonos/keying.rb
2009-07-07 15:51:39 -04:00
Pistos 9b580bbd6b Removed debugging line. 2009-07-07 15:32:50 -04:00
Pistos e7ab735271 Removed some debugging lines. 2009-07-07 15:24:19 -04:00
Pistos c507d4b10d Handle X pastes on input line, too. Fixes ticket 167 (http://linis.purepistos.net/ticket/view/167). 2009-07-07 15:08:29 -04:00
Pistos 7fb194537b Merge branch 'dry_surround' 2009-07-07 11:34:17 -04:00
Pistos 7449c9acdd Merge branch 'branch-0.8.11'
Conflicts:
	lib/diakonos/version.rb
2009-07-07 06:38:02 -04:00
Pistos ac14a0267c Added a smattering of rdocs. 2009-07-06 11:05:11 -04:00
Dominik Honnef a4013aafd2 DRY out the surround_* methods. since all call surround_selection, we only need one prompt 2009-07-04 00:21:23 +02:00
Pistos 99d8cd2130 Date bump. 2009-06-30 14:42:14 -04:00
Pistos f22437315e surround_* now take optional arguments. 2009-06-30 14:41:24 -04:00
Pistos d1a3dfc99e Changed extension info.yaml format: introduced 'requirements' root key,
with child keys 'diakonos' and 'gems'.
2009-06-29 14:44:36 -04:00
Pistos 06cdfec40d Changed terminology: "broken" -> "not loaded".
Fixed bugs to do with not-loaded extensions.
2009-06-28 16:44:01 -04:00
Pistos 6c6fba69f6 Fix ExtenionSet#scripts to handle broken scripts. 2009-06-28 16:38:08 -04:00
Pistos 78753278f3 Merge branch 'keying'
Conflicts:
	help/search.dhf
	lib/diakonos/version.rb
2009-06-28 14:52:29 -04:00
Pistos b41cceea08 Removed commented line.
Style adjustment in close_code.
2009-06-28 12:09:46 -04:00
Pistos b111b7fe33 Date bump. 2009-06-28 12:00:58 -04:00
Pistos 22ac0188dc Removed unneeded args = [] line. 2009-06-28 11:57:25 -04:00
Pistos 576a01ffe9 Bump modification date. 2009-06-28 11:33:03 -04:00
Pistos 9b5adbed76 Merge branch 'surround' into branch-0.8.11 2009-06-28 11:32:41 -04:00
Pistos e28e99c933 Don't use return any more, since it is too far into the method. 2009-06-28 11:32:04 -04:00
Pistos 5cba0eaa36 Polished off Extensions listing in About page. 2009-06-28 10:49:15 -04:00
Pistos ce8aeff7a0 Expose Extension info through hash-like access. 2009-06-27 13:30:01 -04:00
Pistos 7c338d9f6d Use current year in copyright. 2009-06-27 13:29:48 -04:00
Pistos 3c4b3ea1c3 Added licence, copyright and extensions to about page. 2009-06-27 13:24:02 -04:00
Pistos 6356e9b8fb Added more info to about page. 2009-06-27 12:25:31 -04:00
Dominik Honnef 32de892fa1 do not try to surround a selection if nothing is selected 2009-06-27 17:57:41 +02:00
Dominik Honnef 291fd530d5 surround_paragraph does not need any nil checking 2009-06-27 17:57:27 +02:00
Pistos 6c258b7559 Added skeleton of about page. 2009-06-27 11:52:31 -04:00
Pistos e10e6f497d Refactored to use File.join. 2009-06-27 11:40:06 -04:00
Dominik Honnef e1ffc59b0d allow closers to be strings instead of procs 2009-06-27 17:27:48 +02:00
Dominik Honnef d60fa35528 using #send instead of #eval in keying system 2009-06-27 17:24:26 +02:00
Pistos 193e247126 Updated CHANGELOG and version. 2009-06-26 21:51:53 -04:00
Pistos da680415cc Merge branch 'keying'
Conflicts:
	lib/diakonos.rb
2009-06-26 21:50:55 -04:00
Pistos 02d671cad1 Added some nil checking. 2009-06-26 21:24:58 -04:00
Pistos 278cd73e60 Updated CHANGELOG and modification date. 2009-06-26 21:19:17 -04:00
Pistos 005ae3f904 Moved surround_* functions so that methods are in alphabetical order. 2009-06-26 21:15:35 -04:00
Pistos bd409c259c Began writing specs for surround_selection. Not much yet. 2009-06-26 09:52:20 -04:00
Pistos de1ef2ef11 Slight refactorings. Style adjustments. 2009-06-25 19:16:19 -04:00
Dominik Honnef 248eb13ce3 surround pairs are configurable now 2009-06-25 22:39:20 +02:00
Dominik Honnef ed14808145 style adjustments 2009-06-25 22:38:48 +02:00
Dominik Honnef 1fdbbfb8e5 style adjustments 2009-06-25 22:19:26 +02:00
Pistos 1cf1680130 More refactoring to remove @diakonos from Readline. 2009-06-25 14:55:52 -04:00
Pistos cc26b02b53 Introduced numbered_list? method. 2009-06-25 14:50:53 -04:00
Pistos df5ebae75e Renamed numbered_completion to numbered_list. 2009-06-25 14:49:20 -04:00
Pistos dfa485aee8 Removed unused legacy method Readline#readline. 2009-06-25 14:46:39 -04:00
Pistos a625dcfd72 Moved list_sync to readline.rb. 2009-06-25 14:46:32 -04:00
Pistos c6dfe4c6e1 Refactored a bit more to further remove usage of @diakonos in Readline. 2009-06-25 14:41:09 -04:00
Pistos 383a3ab24b Refactor things a bit to remove one more usage of @diakonos in Readline. 2009-06-25 14:28:56 -04:00
Pistos c35a772c4e Updated help files to talk about pressing Esc twice. 2009-06-25 14:23:56 -04:00
Pistos 78abd8f48e Refactored @diakonos out of Readline functions. 2009-06-25 02:04:49 -04:00
Pistos 9cc2da6e77 Removed unused Readline#process_keystroke. 2009-06-25 02:01:04 -04:00
Pistos c2da3533de Filled out input mode key map. 2009-06-25 02:00:34 -04:00
Pistos 795d497079 Filled out input mode key map. 2009-06-25 01:54:30 -04:00
Pistos e2af4ae36a Filled out input mode key map. 2009-06-25 01:41:39 -04:00
Pistos b1bf6cae59 Properly pass along mode to deeper process_keystroke calls.
Handle typeables in input mode now.
2009-06-25 01:35:36 -04:00
Pistos b399c7f01e Experimental, incomplete development towards a functional keying branch. 2009-06-25 01:18:50 -04:00
Pistos 51842a957b process_keystroke now takes a mode argument. 2009-06-24 20:52:44 -04:00
Pistos d1d6f489fb Moved a bit more code to readline/functions.rb. 2009-06-24 20:44:48 -04:00
Pistos 61ef21266d Began changing 'when' blocks of process_keystroke into individual methods.
Moving them into diakonos/readline/functions.rb .
2009-06-24 20:06:36 -04:00
Pistos fb669fce6e Moved loop body into Readline#process_keystroke. 2009-06-24 19:58:08 -04:00
Dominik Honnef c0e82d0a5d got rid of lambdas 2009-06-24 22:16:54 +02:00
Dominik Honnef 4c456c5f5d got rid of the argument hash to #surround 2009-06-24 20:29:55 +02:00
Dominik Honnef 23ec557de9 added surround_paragraph 2009-06-24 14:55:40 +02:00
Dominik Honnef 46fbe0b272 added paragraph_under_cursor and paragraph_under_cursor_pos 2009-06-24 14:55:40 +02:00
Dominik Honnef 33c04f530d surround will stop when no matching parentheses pair was found 2009-06-24 14:55:40 +02:00
Dominik Honnef ae9c4e2a60 added surround_word and surround_line 2009-06-24 14:55:40 +02:00
Dominik Honnef 59d4eedf1f added a word_under_cursor_pos method to Buffer 2009-06-24 14:55:40 +02:00
Dominik Honnef fca24ae2f9 parenthesis pair keys can be strings now 2009-06-24 14:55:40 +02:00
Dominik Honnef 8016414000 added some more pairs of parentheses 2009-06-24 14:55:40 +02:00
Dominik Honnef baba607bcb added first function that makes use of surround, surrounding the current selection 2009-06-24 14:55:39 +02:00
Dominik Honnef 8c9670e3fc added a method for surrounding text with pairs of parentheses/xml tags 2009-06-24 14:55:39 +02:00
Pistos 5962f5c322 Merge branch 'branch-0.8.10'
Conflicts:
	lib/diakonos/functions.rb
	lib/diakonos/readline.rb
2009-06-23 22:47:12 -04:00
Pistos 87f1075b07 Introduced mkey configuration directive. 2009-06-23 21:34:48 -04:00
Pistos adf49fc0fd Changed @modes keys from Symbols to Strings.
Introduced map_key method to DRY up the code a bit.
2009-06-23 21:29:47 -04:00
Pistos cf913d79b8 Introduced skeletal Mode class, including keymap.
Changed @keychains into @modes[ :edit ].keymap.
2009-06-23 21:22:15 -04:00
Pistos 138968d45c Changed Hash core extension to KeyMap module. 2009-06-23 21:11:54 -04:00
Pistos 96d3ec485b Removed unused methods from Hash: leaves, paths_and_leaves, each_path_and_leaf. 2009-06-23 20:42:55 -04:00
Pistos c9706516fc Removed debugging line. 2009-06-23 20:27:51 -04:00
Pistos 814113859b Removed debugging line. 2009-06-23 20:25:53 -04:00
Pistos 36caf60370 Refactored extension code into two new classes Extension and ExtensionSet. 2009-06-23 15:48:09 -04:00
Pistos ab17d0a5f9 Enforce minimum Diakonos version needed for each extension. 2009-06-23 13:13:15 -04:00
Pistos 3b3b6ff48c Filled out extension documentation. 2009-06-23 12:43:13 -04:00
Pistos d881783ef3 Delay loading of extension scripts. 2009-06-21 19:38:23 -04:00
Pistos ff43e0c44e Added code for the basics of an extension system. Untested. 2009-06-21 17:53:08 -04:00
Pistos 4b4ac23dec Date bump. 2009-06-21 16:42:23 -04:00
Pistos c7992b5248 Merge branch 'c_oneliners' 2009-06-21 16:40:58 -04:00
Pistos 49f197e3bc Trivial whitespace adjustment. 2009-06-21 16:40:45 -04:00
Pistos a17c01d896 Slight refactor of Diakonos::Diakonos::process_keystroke. 2009-06-21 16:00:51 -04:00
Dominik Honnef 0d2a557106 removed a useless (dangerous?) lonely bracket 2009-06-21 02:23:14 +02:00
Dominik Honnef 7a5a8b0c1b added support for indenting just the next line (like in braceless C ifs) 2009-06-21 02:21:37 +02:00
Pistos f148ae616b Use an extra space instead of a right parenthesis for the buffer list numbering. 2009-06-19 19:41:45 -04:00
Pistos 16b8492da3 Refactorings and style adjustments. 2009-06-19 16:32:27 -04:00
Dominik Honnef a9a73cec8c removed some comment 2009-06-19 22:04:49 +02:00
Dominik Honnef 4b127fe8b8 dont remove a not existing bullet 2009-06-19 22:04:17 +02:00
Dominik Honnef ee7723b386 added support for numbered completion lists 2009-06-19 21:57:47 +02:00
Pistos 4f3340dbc7 Fixed tab completion of Diakonos::Functions. 2009-06-19 14:17:00 -04:00
Pistos 5de38dcde9 Boolean operator refactor. 2009-06-19 14:16:15 -04:00
Pistos da99d42cc0 Fixed bug in Diakonos::Keying::key_string_for re: F keys.
Conflicts:

	CHANGELOG
2009-06-19 14:15:35 -04:00
Pistos f5466a2a6e Minor style adjustment. 2009-06-19 14:12:19 -04:00
Dominik Honnef 7a2dde17b2 file_different? won't fail on non existent files anymore 2009-06-19 14:11:39 -04:00
Pistos 56bfdb0162 Document options for get_user_input and Readline.new just a little bit. 2009-06-19 13:55:30 -04:00
Pistos 7ae19f4c71 Removed backports and other 1.8 compatibility code. 2009-06-19 13:52:36 -04:00
Pistos 3f2115c79f Explicitly state top namespace. 2009-06-19 13:45:38 -04:00
Pistos 2ba56b7d54 Completed refactor of get_user_input (to use options hash instead of many parameters). 2009-06-19 13:39:26 -04:00
Pistos a5ec753834 Changed Readline#initialize and get_user_input to use option hashes instead of many parameters.
Calls to get_user_input have not been converted yet.
2009-06-19 13:24:21 -04:00
Pistos ab3de66615 Fixed tab completion of Diakonos::Functions. 2009-06-19 10:49:13 -04:00
Pistos 43c57aae12 Boolean operator refactor. 2009-06-19 10:49:09 -04:00
Pistos d3c7844b21 Fixed bug in Diakonos::Keying::key_string_for re: F keys. 2009-06-19 10:40:07 -04:00
Pistos 1e388c6293 Merge branch 'fix_joinlines' 2009-06-19 09:53:19 -04:00
Pistos cac4b4973b Minor style adjustment. 2009-06-19 09:52:32 -04:00
Pistos 87e584e102 Updated CHANGELOG and bumped modification date. 2009-06-19 09:42:13 -04:00
Pistos 293ce714a4 Renamed join_with_line_above to join_lines_upward. 2009-06-19 09:41:02 -04:00
Pistos 98b17457f6 Style refactor and comment adjustment. 2009-06-19 09:39:42 -04:00
Dominik Honnef 080c81786f new function join_with_line_above, which is basically join_lines just in reverse order 2009-06-19 13:22:43 +02:00
Dominik Honnef 745c158dbf join_lines won't fail on the last line anymore 2009-06-19 12:47:35 +02:00
Pistos 84f7165e2a Merge branch 'fix_save' 2009-06-18 15:36:31 -04:00
Pistos 002dc61a4a Minor style adjustment. 2009-06-18 15:36:16 -04:00
Dominik Honnef 3ea7d1b34d file_different? won't fail on non existent files anymore 2009-06-18 21:15:23 +02:00
Pistos b7ebe28659 Version bump. 2009-06-18 13:38:46 -04:00
Pistos 9c0a06f19a Style adjustment and minor refactor. 2009-06-18 12:58:20 -04:00
Dominik Honnef aa8adf1089 don't set a file to read_only just because it doesn't exist 2009-06-18 18:40:21 +02:00
Dominik Honnef a05ca339ca added a new option "auto_read_only" which sets new buffers to read_only when the opened file can't be saved 2009-06-18 18:25:51 +02:00
Pistos 5959fda626 Refactored complete_word a bit more. 2009-06-18 01:00:08 -04:00
Pistos 8f74f151ef Alt-Shift-E to cycle through complete_word choices in reverse order. 2009-06-17 19:47:33 -04:00
Pistos ae7c6ac52e Don't double up selected word. 2009-06-17 19:28:27 -04:00
Pistos 349254b871 Use String#center to pad the current word in prefix expansion. 2009-06-17 19:21:56 -04:00
Pistos 77b23cfe98 Restrict word set of dynamic prefix expansion to buffers of the same type as the current one. 2009-06-17 19:18:00 -04:00
Pistos fdbafb1e60 Refactored "next word" code block in complete_word. 2009-06-17 19:12:31 -04:00
Pistos 060b51f408 Refactored Buffer::set_type. 2009-06-17 19:12:22 -04:00
Pistos abd24bf81c When completing words, the first choice is the most frequently occurring word. 2009-06-17 19:06:11 -04:00
Pistos e6f52a428e Move cursor to end of selection when completing words. 2009-06-17 18:07:37 -04:00
Pistos eeb7516c9c Center the word list. 2009-06-17 17:57:56 -04:00
Pistos a66544a18d Show 5 of the possible completions, 2 on "each side" of the current completion. 2009-06-17 17:51:59 -04:00
Pistos 2c70c8c80a complete_word now cycles through matches. 2009-06-17 16:47:23 -04:00
Pistos 02969cf59c Merge branch 'master' into prefix-expansion
Conflicts:
	lib/diakonos.rb
	lib/diakonos/buffer.rb
	lib/diakonos/functions.rb
2009-06-17 14:51:58 -04:00
Pistos 8d3150d63c Moved get_token_regexp to config.rb, the only file it's called from. 2009-06-17 00:07:08 -04:00
Pistos f93e3a01a3 Added confilct markers to 'all' language. 2009-06-17 00:05:25 -04:00
Pistos 41b019153e Added support for a special 'all' language, whose formats apply no matter the current language. 2009-06-17 00:05:16 -04:00
Pistos f0979af4cc Boolean operator refactor in Buffer#set_language. 2009-06-16 23:56:30 -04:00
Pistos 596f35f338 Alias legacy loadConfiguration method. 2009-06-16 16:35:30 -04:00
Pistos 47b68d51e3 Only use MD5 for set_modified when explicitly told to. For now, this is just on undo and redo. 2009-06-16 15:43:14 -04:00
Pistos 315422b96c Always set_modified according to Buffer#file_different? (MD5 sum comparison). 2009-06-16 15:34:34 -04:00
Pistos 5fb00be8eb Refactored Buffer#set_modified. 2009-06-16 15:30:19 -04:00
Pistos 87ca77e4f3 Redisplay cursor and updated highlight if go_to_pair_match moves the cursor. 2009-06-15 10:26:11 -04:00
Pistos 3b43a71162 Refactored and fixed pair highlighting (it wouldn't show new highlight when cursoring off something with a highlighted pair). 2009-06-15 10:24:48 -04:00
Pistos 4f8684adb0 Now passing mismatched pair specs. 2009-06-14 13:06:49 -04:00
Pistos 4effb78cce Added view.pairs.highlight setting (boolean). 2009-06-14 12:45:49 -04:00
Pistos 439a5d1db0 Updated CHANGELOG and version date. 2009-06-14 12:36:50 -04:00
Pistos 1a89327bc6 Added on-the-fly pair highlighting. 2009-06-14 12:35:47 -04:00
Pistos abd9e72d98 Changed Buffer#text_marks from an Array into a Hash, with symbol keys for each kind of text mark.
This paves the way for character pair highlighting.
2009-06-14 12:03:32 -04:00
Pistos 974bc5e887 Fixed pair matching by Regexp.escape-ing . Specs pass now. 2009-06-14 11:52:54 -04:00
Pistos 9ec67a862f Added Buffer#pos_of_prev. Can now get positions of matching pairs both forwards and backwards. 2009-06-14 00:51:14 -04:00
Pistos 253501bcea Seem to have some functional forward pair matching. 2009-06-13 23:45:21 -04:00
Pistos 95b50376a1 Implemented initial (though incorrect) go_to_pair_match and pos_of_closest. 2009-06-12 20:08:30 -04:00
Pistos b616e98bc4 Textual indication of no shell results. Fixes http://linis.purepistos.net/ticket/view/155 . 2009-06-11 14:03:29 -04:00
Pistos c8e6e27131 Fixed context line (empty and blank lines are now ignored). Fixes http://linis.purepistos.net/ticket/view/143 . 2009-06-11 13:55:37 -04:00
Pistos a7b6874517 Updated CHANGELOG and version date. 2009-06-11 00:46:57 -04:00
Pistos 001cfeb292 Save and restore current buffer number in session. 2009-06-11 00:44:34 -04:00
Pistos 0dcf858b04 Restore cursor position after pitching and panning view, not before. 2009-06-11 00:42:43 -04:00
Pistos 3923d6521e Using @current_buffer when opening files seems to cause problems... let's use the local 'buffer' variable. 2009-06-11 00:18:15 -04:00
Pistos 423d40756b Restore viewport position when restoring session. 2009-06-11 00:03:40 -04:00
Pistos cd42ed99c5 Added pan_view_to and pitch_view_to. Refactored pan_view and pitch_view to use these. 2009-06-11 00:02:32 -04:00
Pistos 1b013b2286 Properly restore cursor position when restoring session. 2009-06-10 23:46:38 -04:00
Pistos 33293ec86a Adjust Diakonos::Functions#open_file to take an option Hash instead of many arguments.
Use the same format as saved to sessions.
2009-06-10 22:41:17 -04:00
Pistos dec586963a Save and restore session buffers in and from a new Hash element which contains more metadata. 2009-06-10 22:19:25 -04:00
Pistos 66b3bc2eab Small code refactor. 2009-06-10 19:58:04 -04:00
Pistos 4299a7c970 Added xclip support. 2009-06-10 16:58:20 -04:00
Pistos 37614dff60 $k and $c now coalesced. 2009-06-10 15:36:43 -04:00
Pistos 7cf50f8e1b Finished all main functions of clipboard using clipboard.external setting. 2009-06-10 15:23:45 -04:00
Pistos 3ea82282ae Beginnings of 'clipboard.external klipper' setting.
Can copy, cut and paste.
2009-06-10 15:22:46 -04:00
Pistos cbd1dc759e shell command is now interruptable. 2009-06-10 00:30:52 -04:00
Pistos 762797e34c Moved results output to after the shell execution. 2009-06-10 00:14:33 -04:00
Pistos af15912fea Put shell command on interaction line instead of in results buffer. 2009-06-10 00:11:16 -04:00
Pistos e21d11390d Refactored some shell-related functions. 2009-06-10 00:06:26 -04:00
Pistos e2eb3e7dd6 Added go_to_char previous. 2009-06-09 14:23:21 -04:00
Pistos 7e6f7ed7b9 Added test for going to next instance of same character.
Fixed go_to_char to pass spec.
2009-06-09 14:21:52 -04:00
Pistos 41154f037e Refactored some code into a get_char method. 2009-06-09 14:21:04 -04:00
Pistos 6a6bf0c57a Added go_to_char. 2009-06-09 14:07:44 -04:00
Pistos b3e85b9490 Fixed bug introduced by new X paste handling; calling paste( s ) when s was empty caused undo buffer to fill up unnecessarily. 2009-05-28 15:08:27 -04:00
Pistos 2d161ce536 X windows pasting handled much better now. 2009-05-26 15:39:05 -04:00
Pistos c699727bf2 Revert commits adb68a1..7df86bb ("improved" X windows paste handling). 2009-05-26 12:50:50 -04:00
Pistos c7a9f9cf74 Semi-hackish handling of X windows paste. Better than before at least. 2009-05-19 15:10:12 -04:00
Pistos e5902792b3 Refactor a couple boolean expressions. 2009-05-19 14:45:21 -04:00
Pistos 05567502b2 Preserve pen state instead of forcing false and true. 2009-05-19 14:34:22 -04:00
Pistos 949d345d34 Moved @pen_down = true into Buffer#initialize . 2009-05-19 14:33:21 -04:00
Pistos 75548e024a Fixed line number painting bug seen when switching to a buffer that is shorter than the window height. Thank you to nickrw for reporting this. 2009-05-14 10:45:54 -04:00
Pistos 1aecceb68a Non-'y/n' answers to uninstall were interpreted as yes! Fixed. 2009-05-08 12:45:57 -04:00
Pistos 0e1ef2ea57 In installer, copy in :preserve mode. 2009-05-07 14:59:43 -04:00
Pistos 07934dd6d3 Moved files which extend Ruby core classes into a core-ext/ subdir. 2009-04-29 19:35:47 -04:00
Pistos 3514f93416 Moved tag-related functions into functions/tags.rb. 2009-04-29 19:28:01 -04:00
Pistos 1e474001d6 Changed delete_to_and_from to always assume given character is the left side character when matching pairs. 2009-04-29 15:38:25 -04:00
Pistos 7c3af752d5 Merge branch 'master' of git@github.com:Pistos/diakonos 2009-04-29 15:28:24 -04:00
Pistos 5b99a4173a Fixed display bug when column markers are active and the current buffer is shorter than the window height. 2009-04-29 14:13:51 -04:00
Pistos 6d928c99fa Added parentheses to a method call to clarify the arguments. 2009-04-29 14:13:34 -04:00
Pistos f425546ff0 Moved functions out of functions.rb and into functions/*.rb. 2009-04-28 23:03:03 -04:00
Pistos 1f28db69c3 Moved more functions out of functions.rb and into functions/*.rb files. 2009-04-28 22:59:16 -04:00
Pistos 844ef5a612 Moved more functions out of functions.rb and into functions/*.rb. 2009-04-28 22:56:30 -04:00
Pistos eec3692b09 Moved more functions out of functions.rb and into functions/*.rb files. 2009-04-28 22:53:14 -04:00
Pistos 0b448fcb0d Moved more functions out of functions.rb and into their own functions/*.rb files. 2009-04-28 22:48:20 -04:00
Pistos e73f9f4033 Began moving some methods out of functions.rb and into functions/*.rb files, divided by category. 2009-04-28 22:40:05 -04:00
Pistos ea28b0ef6c Only try to delete the session file if it actually exists (since otherwise we'd get an Exception). 2009-04-28 22:15:23 -04:00
Pistos fa24b61b2f Don't save PID sessions when testing. Those sessions were getting in the way of subsequent test runs (prompting to handle). 2009-04-28 22:14:43 -04:00
Pistos 5fc08e4bf6 Renamed initialize_sessions to initialize_session. 2009-04-28 22:02:20 -04:00
Pistos 3b7c5b4f07 Moved some grep-related code into grep.rb. 2009-04-28 21:44:57 -04:00
Pistos 17d4b60475 Moved some session-related code into sessions.rb. 2009-04-28 21:40:27 -04:00
Pistos 3a1f9d3298 Refactored some boolean operators. 2009-04-26 09:48:26 -04:00
Pistos 6a5ef1c717 Put interaction timer only on first stale session prompt, not any after that (too annoying!). 2009-04-26 09:47:10 -04:00
Pistos 9d452f81ed Moved some session-related code out of diakonos.rb and into #session-startup in sessions.rb. 2009-04-26 09:32:31 -04:00
Pistos 22a66b6bc3 Removed incomplete, wrong file. 2009-04-24 23:58:05 -04:00
Pistos 82a414eb09 Update rdoc to reflect new slogan. 2009-04-24 23:56:48 -04:00
Pistos 09061fd26e Merge branch 'master' of git@github.com:Pistos/diakonos 2009-04-23 11:23:40 -04:00
Pistos a5a299a42b Minor refactor inside set_buffer_type. 2009-04-22 19:46:20 -04:00
Pistos 483be3db52 Refactored some code into a new method, actually_grep. 2009-04-22 19:25:21 -04:00
Pistos 739a534c81 Added spec for columnize. 2009-04-21 19:31:00 -04:00
Pistos 1741af7d89 Added "close file" post aspect on selection specs. 2009-04-21 16:37:37 -04:00
Pistos 6beaf2141d Merge branch 'master' of git@github.com:Pistos/diakonos 2009-04-21 11:09:18 -04:00
Pistos 906800c0c8 Indentation adjustment. 2009-04-19 21:01:32 -04:00
Pistos 7daa3c617c Moved some attr_reader definitions from buffer.rb to buffer/cursor.rb. 2009-04-18 00:38:28 -04:00
Pistos 6264af0015 Fix bug that caused interaction line edits to modify @session[ 'dir' ]. 2009-04-17 23:52:36 -04:00
Pistos 3ab3f5c460 delete_to_EOL_to_klipper => delete_to_eol_to_klipper 2009-04-17 00:07:19 -04:00
Pistos 215750ae3d Converted remaining camelCase functions. 2009-04-17 00:05:50 -04:00
Pistos 98a1e7b90b Deprecated more camelCase functions. 2009-04-16 23:57:50 -04:00
Pistos 674c87f618 Merge branch 'master' of git@github.com:Pistos/diakonos 2009-04-15 15:40:59 -04:00
Pistos be9ca07121 Deprecated more camelCase functions. 2009-04-15 13:49:07 -04:00
Pistos d20203eaa6 Deprecated more camelCase functions. 2009-04-15 13:10:31 -04:00
Pistos b66af9eb63 Renamed a few more functions from camelCase to snake_case. 2009-04-14 23:36:13 -04:00
Pistos 26c35defce Introduced functions-deprecated.rb. Began process of deprecating camelCase Diakonos functions in favour of snake_case ones. 2009-04-14 23:16:10 -04:00
Pistos 8399c17cca Handle unusual cases where process_keystroke's @win_main.getch would return nil.
For example, this happened once when a terminal resized.
2009-04-14 21:50:47 -04:00
Pistos 67dc7ddc64 Partial work for DeprecatedFunctions module. 2009-04-14 16:17:15 -04:00
Pistos c1444e95ab Renamed remaining display-related methods from camelCase to snake_case. 2009-04-14 00:09:00 -04:00
Pistos 9486114294 Renamed some macro methods from camelCase to snake_case. 2009-04-12 23:25:03 -04:00
Pistos 1d42643eff Moved showClips from diakonos.rb to functions.rb (as show_clips). 2009-04-12 23:24:40 -04:00
Pistos 177acfa5c5 Renamed main Diakonos methods from camelCase to snake_case. 2009-04-12 23:19:44 -04:00
Pistos 66ed7ab628 Renamed display-related methods from camelCase to snake_case. 2009-04-12 23:12:00 -04:00
Pistos 2e5c4b8b4e Renamed Buffer#takeSnapshot to take_snapshot. 2009-04-12 23:01:37 -04:00
Pistos 0f9ac6f33f Renamed search-related methods from camelCase to snake_case. 2009-04-12 22:58:14 -04:00
Pistos 7f4adc8341 Renamed indentation-related methods from camelCase to snake_case. 2009-04-12 06:56:43 -04:00
Pistos 880d6e42c1 Renamed bookmark-related methods from camelCase to snake_case. 2009-04-11 23:06:36 -04:00
Pistos a118564add Renamed remaining Buffer methods from camelCase to snake_case. 2009-04-11 22:22:22 -04:00
Pistos 7de902e9f7 Renamed cursor-related methods from camelCase to snake_case. 2009-04-11 21:03:29 -04:00
Pistos cb5f9bc583 Updated CHANGELOG and version. 2009-04-11 19:40:55 -04:00
Pistos 654cc7cdf3 Renamed delete-related methods from camelCase to snake_case. 2009-04-10 01:39:03 -04:00
Pistos 41fb95aeb9 Renamed buffer-file-related methods from camelCase to snake_case. 2009-04-09 21:45:39 -04:00
Pistos be94e5aacc Renamed selection-related methods from camelCase to snake_case. 2009-04-09 21:41:37 -04:00