diakonos 0.8.7 → 0.8.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. metadata +38 -59
  2. data/CHANGELOG +0 -238
  3. data/LICENCE +0 -21
  4. data/README +0 -75
  5. data/bin/diakonos +0 -6
  6. data/diakonos-256-colour.conf +0 -102
  7. data/diakonos.conf +0 -1233
  8. data/lib/diakonos.rb +0 -618
  9. data/lib/diakonos/array.rb +0 -15
  10. data/lib/diakonos/bignum.rb +0 -9
  11. data/lib/diakonos/bookmark.rb +0 -50
  12. data/lib/diakonos/buffer-hash.rb +0 -60
  13. data/lib/diakonos/buffer-management.rb +0 -73
  14. data/lib/diakonos/buffer.rb +0 -2044
  15. data/lib/diakonos/clipboard.rb +0 -47
  16. data/lib/diakonos/config.rb +0 -304
  17. data/lib/diakonos/ctag.rb +0 -28
  18. data/lib/diakonos/display.rb +0 -288
  19. data/lib/diakonos/enumerable.rb +0 -15
  20. data/lib/diakonos/finding.rb +0 -32
  21. data/lib/diakonos/fixnum.rb +0 -17
  22. data/lib/diakonos/functions.rb +0 -1420
  23. data/lib/diakonos/grep.rb +0 -78
  24. data/lib/diakonos/hash.rb +0 -108
  25. data/lib/diakonos/help.rb +0 -92
  26. data/lib/diakonos/hooks.rb +0 -13
  27. data/lib/diakonos/interaction.rb +0 -139
  28. data/lib/diakonos/keycode.rb +0 -110
  29. data/lib/diakonos/keying.rb +0 -124
  30. data/lib/diakonos/list.rb +0 -55
  31. data/lib/diakonos/logging.rb +0 -24
  32. data/lib/diakonos/object.rb +0 -6
  33. data/lib/diakonos/readline.rb +0 -274
  34. data/lib/diakonos/regexp.rb +0 -6
  35. data/lib/diakonos/sessions.rb +0 -70
  36. data/lib/diakonos/sized-array.rb +0 -48
  37. data/lib/diakonos/string.rb +0 -326
  38. data/lib/diakonos/text-mark.rb +0 -19
  39. data/lib/diakonos/vendor/fuzzy_file_finder.rb +0 -353
  40. data/lib/diakonos/window.rb +0 -32
  41. data/test/buffer-test.rb +0 -53
  42. data/test/clipboard-test.rb +0 -70
  43. data/test/diakonos-test.rb +0 -14
  44. data/test/hash-test.rb +0 -404
  45. data/test/regexp-test.rb +0 -26
  46. data/test/sizedarray-test.rb +0 -113
  47. data/test/string-test.rb +0 -160
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: diakonos
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.7
4
+ version: 0.8.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pistos
@@ -9,63 +9,48 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-02-22 00:00:00 -05:00
12
+ date: 2009-04-03 00:00:00 -04:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
16
16
  description: Diakonos is a customizable, usable console-based text editor.
17
17
  email: pistos at purepistos dot net
18
- executables:
19
- - diakonos
18
+ executables: []
19
+
20
20
  extensions: []
21
21
 
22
- extra_rdoc_files:
23
- - README
24
- - CHANGELOG
25
- - LICENCE
26
- files:
27
- - CHANGELOG
28
- - README
29
- - LICENCE
30
- - diakonos.conf
31
- - diakonos-256-colour.conf
32
- - bin/diakonos
33
- - lib/diakonos.rb
34
- - lib/diakonos/display.rb
35
- - lib/diakonos/object.rb
36
- - lib/diakonos/window.rb
37
- - lib/diakonos/finding.rb
38
- - lib/diakonos/readline.rb
39
- - lib/diakonos/fixnum.rb
40
- - lib/diakonos/keying.rb
41
- - lib/diakonos/enumerable.rb
42
- - lib/diakonos/buffer.rb
43
- - lib/diakonos/array.rb
44
- - lib/diakonos/bookmark.rb
45
- - lib/diakonos/buffer-hash.rb
46
- - lib/diakonos/buffer-management.rb
47
- - lib/diakonos/clipboard.rb
48
- - lib/diakonos/ctag.rb
49
- - lib/diakonos/grep.rb
50
- - lib/diakonos/hooks.rb
51
- - lib/diakonos/keycode.rb
52
- - lib/diakonos/list.rb
53
- - lib/diakonos/logging.rb
54
- - lib/diakonos/regexp.rb
55
- - lib/diakonos/sessions.rb
56
- - lib/diakonos/sized-array.rb
57
- - lib/diakonos/text-mark.rb
58
- - lib/diakonos/bignum.rb
59
- - lib/diakonos/hash.rb
60
- - lib/diakonos/interaction.rb
61
- - lib/diakonos/string.rb
62
- - lib/diakonos/functions.rb
63
- - lib/diakonos/help.rb
64
- - lib/diakonos/config.rb
65
- - lib/diakonos/vendor/fuzzy_file_finder.rb
22
+ extra_rdoc_files: []
23
+
24
+ files: []
25
+
66
26
  has_rdoc: false
67
27
  homepage: http://purepistos.net/diakonos
68
- post_install_message:
28
+ post_install_message: |+
29
+
30
+
31
+ ------------------------------------------------------------------------------
32
+ Dear RubyGems administrator:
33
+
34
+ As of version 0.8.8, Diakonos is no longer installed via RubyGems. You may
35
+ find that a Diakonos package is already available for your operating system's
36
+ package manager. There are packages for: Ubuntu, Debian, Gentoo, Arch Linux,
37
+ Slackware, and Sourcemage.
38
+
39
+ If there is no package for your system, you can install Diakonos manually:
40
+
41
+ - Uninstall any previously installed diakonos gems
42
+ - Acquire a tarball from http://purepistos.net/diakonos
43
+ - Unpack the tarball
44
+ - ruby install.rb --help
45
+
46
+ I apologize for the inconvenience, but the RubyGems system (at the time of this
47
+ writing) is much more tailored for libraries rather than full applications like
48
+ Diakonos.
49
+
50
+
51
+ Pistos
52
+ 2009-03-08
53
+
69
54
  rdoc_options: []
70
55
 
71
56
  require_paths:
@@ -83,17 +68,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
83
68
  version: "0"
84
69
  version:
85
70
  requirements:
86
- - curses library for Ruby (not in default Ruby install on Debian or FreeBSD; not sufficiently implemented on Windows)
71
+ - curses library for Ruby (not in default Ruby install on Debian or FreeBSD)
87
72
  rubyforge_project: diakonos
88
73
  rubygems_version: 1.3.1
89
74
  signing_key:
90
75
  specification_version: 2
91
- summary: A Linux editor for the masses.
92
- test_files:
93
- - test/clipboard-test.rb
94
- - test/hash-test.rb
95
- - test/regexp-test.rb
96
- - test/sizedarray-test.rb
97
- - test/string-test.rb
98
- - test/buffer-test.rb
99
- - test/diakonos-test.rb
76
+ summary: A usable console-based text editor.
77
+ test_files: []
78
+
data/CHANGELOG DELETED
@@ -1,238 +0,0 @@
1
- Diakonos Changelog
2
- ------------------
3
-
4
- 0.8.7
5
-
6
- - MRU buffer history added.
7
- - strip_trailing_whitespace_on_save setting added.
8
- - Sessions (named and unnamed) added.
9
- - grep as you type added.
10
- - delete_to added.
11
- - delete_to_and_from added.
12
- - find.return_on_abort setting added.
13
- - Makefile config added.
14
- - Markdown config added.
15
- - Sass config added.
16
- - Now including custom.conf from default diakonos.conf.
17
- - Help files updated.
18
- - Some Ruby 1.9 compatibility introduced.
19
- - Lots of code refactoring done.
20
- - Numerous little adjustments and fixes made.
21
-
22
- 0.8.6
23
-
24
- - Find-as-you-type added.
25
- - Help system added.
26
- - print_mapped_function added.
27
- - User-definable status line variables added.
28
- - :after_open and :after_buffer_switch hooks added.
29
- - Sample script for git branch status variable added.
30
- - comment_out and uncomment functions added.
31
- - comment_string and comment_close_string settings added.
32
- - Added -m (--open-matching) command line argument.
33
- - wrap_paragraph function and wrap_margin setting added for hard wrapping text.
34
- - columnize function and column_delimiter setting added.
35
- - Numerous small fixes, adjustments and refactorings.
36
-
37
- 0.8.5
38
-
39
- - Added 256 colour support.
40
- - Added support for opening files with "filepath:linenumber" syntax.
41
- - Added ability to put %_ in a code closer as the place to position the cursor.
42
- - Code closers can now contain newlines.
43
- - Now closer text is parsed-indented by default.
44
- - Added copy_selection_to_klipper.
45
- - Added cut_selection_to_klipper.
46
- - Added paste_from_klipper.
47
- - Added delete_and_store_line_to_klipper.
48
- - Added delete_to_EOL_to_klipper.
49
- - Added delete_line_to_klipper.
50
- - Added support for regexp match placeholders (\1, \2, etc.) in findAndReplace.
51
- - Added $k shell command variable for klipper contents.
52
- - Added eol_behaviour setting.
53
- - Various minor bug fixes.
54
- - Changed to MIT licence.
55
-
56
- 0.8.4
57
-
58
- - Added joinLines function.
59
- - Added "yes and (s)top" as a find-and-replace option.
60
- - Added '-h' to be synonymous with '--help'.
61
- - Added "Ctrl-Q to quit" to opening message.
62
- - Added close_code feature.
63
- - Added list selection.
64
- - Added buffer selection.
65
- - Added delete_newline_on_delete_to_eol option.
66
- - Added select_block command.
67
- - Slight (8%) display performance improvement.
68
- - Moved source code from svn to github.com.
69
-
70
- 0.8.3
71
-
72
- - Extended ASCII characters (128 to 254) are now typeable.
73
- - Added elsif as a Ruby unindenter.
74
- - Significant internal refactoring.
75
- - First working rubygem.
76
- - Added HAML syntax highlighting.
77
- - Configuration can now be downloaded from the Internet if missing.
78
- - Updated README and changed setup.rb installation method.
79
-
80
- 0.8.2
81
-
82
- - Added ability to use ';' in keychains.
83
- - Added the printKeychain command.
84
- - Augmented default conf to include some KDE 3.5 konsole keychains for common keys.
85
- - Added use_magic_file setting; default to off.
86
- - Added a clipboard/selected diff keybinding.
87
-
88
- 0.8.1
89
-
90
- - Added choice prompt iteration.
91
- - Added a cursor stack for jumping back and forth between recently visited locations in the buffer.
92
- - Introduced cursorReturn command (to move through the cursor stack).
93
- - replaceAll now sets modified flag.
94
- - Speed of many multi-line operations improved.
95
- - Fixed parsedIndent logic in cases of adjacent indenter and unindenter.
96
- - goToLine command now supports a column argument.
97
- - goToLine command's line and column argument are now both optional.
98
- - goToLine also takes a +/- number of lines argument.
99
- - Added case sensitivity parameter to find command; defaults to case-insensitive.
100
- - Added operateOnString, operateOnLines, operateOnEachLine.
101
-
102
- 0.8.0
103
-
104
- - Changed seek behaviour to use regexp group indexes.
105
- - Changed "word seek" in configuration file to seek both word beginnings and word endings.
106
- - Added settings interaction.blink_string, interaction.blink_duration, interaction.choice_delay.
107
- - Choice prompt no longer coerces invalid choices.
108
- - Choice prompt now requires a valid choice if no default given.
109
- - Default choice removed from critical choices.
110
- - Critical choices now ignore user input for interaction.choice_delay seconds.
111
- - Added hooks.
112
- - Added toggleSelection command.
113
- - Added lang.*.indent.using_tabs.
114
- - Fixed some indentation and tab-related bugs.
115
- - Added YAML syntax highlighting.
116
- - Refactored lots of code and began using unit tests.
117
- - Minor default conf additions and modifications.
118
- - Added fstab definitions to default conf.
119
- - Diff now shown before revert prompt.
120
- - Bang line must start with #! to be considered as a bang line (re: bangmasks).
121
- - Added a collapseWhitespace command.
122
-
123
- 0.7.9
124
-
125
- - Changed seek behaviour to not remember last position, but use current cursor
126
- position instead.
127
- - File is now checked for external modifications, prompting for load.
128
- - Added -e, --execute option which eval's Ruby code (including Diakonos commands) after startup.
129
- - Paging up and down now respects the y cursor margin.
130
- - Paging up and down now keeps cursor at same screen coordinates.
131
- - Settings can now be altered for the duration of the editing session.
132
- (new commands: changeSessionSetting, toggleSessionSetting)
133
-
134
- 0.7.8
135
-
136
- - Included package.rb and setup.rb for installation.
137
- - Now looks for conf in more directories.
138
- - Updated README.
139
- - Added pasteShellResult function.
140
- - Added $c shell variable: file containing clipboard contents.
141
- - Added $s shell variable: file containing selected text.
142
- - Fixed buffer switching to use a proper stack.
143
- - Added input line history.
144
- - Added Ctrl-K to clear input line.
145
-
146
- 0.7.7
147
-
148
- - Fixed various find-related bugs.
149
- - Added the command deleteAndStoreLine, which accumulates cut lines into
150
- the same clipboard clip.
151
-
152
- 0.7.6
153
-
154
- - Added some crontab highlighting to the default configuration file.
155
- - Added "delete character" functionality to input line.
156
- - Fixed backspace functionality of input line.
157
-
158
- 0.7.5
159
-
160
- - Fixed bug which stopped Diakonos from completing refresh operations when
161
- the context line is disabled.
162
- - Added execute command, which executes a command in a subshell, but only
163
- displays the return code (ignores stdout).
164
- - Added a $F parameter for shell and execute commands. Space-separated list
165
- of all current buffer filenames.
166
- - Added a $i parameter for shell and execute commands. Substitute a string
167
- obtained from user.
168
- - /usr/share/diakonos is now checked for a config file, if
169
- /usr/local/share/diakonos is not found.
170
- - findAgain command now also retains memory across buffers, if needed.
171
-
172
- 0.7.4
173
-
174
- - Prevent attempts to open non-files.
175
- - Fixed saveFileAs bug which saved the wrong file when tab-completion was used
176
- in the filename prompt.
177
- - Fixed bug in tab completion: Directories are now completed properly and their
178
- contents are listed.
179
-
180
- 0.7.3
181
-
182
- - Fixed function-argument duplication bug which occurs after Help is consulted.
183
- - Updated default conf file to include CSS and modifications to "conf" format
184
- and the ruby format.
185
- - Added display debug logging.
186
- - Fixed off-screen drawing bug.
187
- - Fixed on-startup drawing bug.
188
- - Minor conf file additions and changes, including PHP and PL/pgSQL support.
189
-
190
- 0.7.2
191
-
192
- - Fixed a drawing bug to do with long lines and screens wider than 80
193
- columns.
194
- - Added support for specifying any numeric keycode as a keystroke.
195
- - Added a suspend command, to suspend the Diakonos process/job to background
196
- and return to the shell.
197
- - Altered drawing code a bit re: the shell and suspend commands.
198
- - Fixed "view.jump.* 0" bug.
199
- - Fixed copy/cut bug for selections starting or ending in columns besides
200
- the left-most column.
201
-
202
- 0.7.1
203
-
204
- - The openFile command now uses /usr/bin/file (if available) to check if the
205
- file is readable (text), prompting to confirm open if it isn't.
206
- - Fixed popTag bug where popping from an empty stack caused an exception.
207
- - The seek command now no longer (incorrectly) cancels text selection.
208
- - Drawing bugs fixed (to do with illegal off-screen drawing).
209
- - Added the ability to use \n in searches, to match across lines.
210
-
211
- 0.7.0
212
-
213
- - Adjusted buffer management system so that, internally, absolute file paths
214
- are used.
215
- - Added limited (line-number-based) ctags support. Commands: goToTag,
216
- goToTagUnderCursor, popTag.
217
- - Fixed revert command bug.
218
- - Added an evaluate command, which lets you run any Diakonos command.
219
- - Fixed display bug where Diakonos errors (Ruby exceptions) would ruin the
220
- curses display.
221
- - Malformed regular expressions given for regexp searching are now searched
222
- for as literal text, instead of just throwing an error.
223
- - Keychains that have no assignment are now shown in full on the interaction
224
- line.
225
- - Error message for some caught exceptions now includes a listing of probable
226
- causes.
227
-
228
- 0.6.13
229
-
230
- - Fixed the bug where searching backwards from the start of a line will cause
231
- the search to start from the end of the line, instead of from the end of the
232
- next line up.
233
- - Added a "seek" command, which is a sort of silent find. Used for
234
- implementing features like go to next word and previous word.
235
- - Adjusted default conf file to include alternate ANSI sequences for function
236
- keys.
237
- - Context line truncation now omits the more proximate code, not the less
238
- proximate code.
data/LICENCE DELETED
@@ -1,21 +0,0 @@
1
- The MIT Licence
2
-
3
- Copyright (c) 2004-2009 Pistos
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in
13
- all copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
- THE SOFTWARE.
data/README DELETED
@@ -1,75 +0,0 @@
1
- Diakonos
2
-
3
- ========
4
-
5
-
6
- INSTALLATION
7
- ============
8
-
9
- There are three ways to install Diakonos:
10
- * by rubygems (recommended)
11
- * from the tarball using setup.rb
12
- * manual file copy
13
-
14
- === Installing via Rubygems ===
15
-
16
- Since version 0.8.3, this is the recommended way of installing Diakonos.
17
- Run the following command as a user with appropriate permissions:
18
-
19
- gem install diakonos
20
-
21
- === Installing from tarball using setup.rb ===
22
-
23
- First obtain the diakonos tarball. This can be found at
24
- http://purepistos.net/diakonos . Unpack the tarball somewhere.
25
- cd into the unpacked directory.
26
-
27
- To install, run
28
-
29
- ruby setup.rb
30
-
31
- If you want to set options like the installation directories:
32
-
33
- ruby setup.rb --help
34
-
35
- By default, the installer copies bin/diakonos into a system-wide bin directory,
36
- such as /usr/bin; and copies lib/* into the system-wide ruby library path,
37
- such as /usr/lib/ruby/site_ruby/1.8 . You may need root privileges on the
38
- system in order to install to system-wide places like /usr/bin .
39
-
40
- === Installing from tarball by manual copy ===
41
-
42
- First obtain the diakonos tarball. This can be found at
43
- http://purepistos.net/diakonos .
44
-
45
- To manually install, copy the contents of the lib directory into some place
46
- where Ruby searches for libraries. The bin/diakonos program can be run from
47
- anywhere, such as ~/bin/ or /usr/local/bin/.
48
-
49
- ----------------------------------------------------------------
50
-
51
- USAGE
52
- =====
53
-
54
- diakonos
55
-
56
- or
57
-
58
- diakonos <filename> [filename...]
59
-
60
- or, for other options and arguments,
61
-
62
- diakonos --help
63
-
64
- For help using Diakonos, simply press F1 from within the editor to use the
65
- interactive help system.
66
-
67
- ----------------------------------------------------------------
68
-
69
- The source code repository is at http://github.com/Pistos/diakonos/tree/master .
70
-
71
- Send comments, feedback and tech support requests to
72
- irc.freenode.net:6667#mathetes or http://linis.purepistos.net .
73
-
74
- Pistos
75
- http://purepistos.net/diakonos