1
2008-12-09 "Joost Diepenmaat" <joost@zeekat.nl>
2
	* rails-ui.el: modeline code cleanup
3
4
2008-12-08 "Joost Diepenmaat" <joost@zeekat.nl>
5
	* rails-ui.el: fixed keymap for modeline and use toggle-output-window
6
7
2008-12-06 "Joost Diepenmaat" <joost@zeekat.nl>
8
	* rails-ui.el:  Added mode-line status reporting
9
	* rails-test.el: Made rails-test:quiet the default
10
11
2008-12-04 "Joost Diepenmaat" <joost@zeekat.nl>
12
	* rails-script.el: Added "Kill script" command to abort current script / rake task
13
14
2008-04-29  Tom ten Thij  <mail@tomtenthij.nl>
15
16
	* rails.el: [#12451] Optional disablement ruby-electric-mode <pezra>, upping
17
	max-lisp-eval-depth to allow navigation to work with larger number of files,
18
	defined rails-number-of-lines-shown-when-opening-log-file
19
	* rails-log.el: number of lines initially shown when opening log file as
20
	specified by rails-number-of-lines-shown-when-opening-log-file
21
22
2008-03-03  Dmitry Galinsky  <dima.exe@gmail.com>
23
24
	* rails-ws.el (rails-ws:available-servers-list): Added Thin support.
25
26
	* rails.el (rails-templates-list): Added js.rjs and builder templates
27
28
2008-02-15  Dmitry Galinsky  <dima.exe@gmail.com>
29
30
	* rails-core.el (rails-core:observer-p, rails-core:mailer-p): fixed regexp.
31
32
2008-02-11  Dmitry Galinsky  <dima.exe@gmail.com>
33
34
	* rails-snippets-feature.el (rails-snippets-feature:fixture)
35
	(rails-snippets-feature:model-name, rails-snippets-feature:rest):
36
	replaced `downcase' to `decamelize'.
37
38
	* rails-core.el (rails-core:file-by-class): replaced `downcase' to `decamelize'.
39
40
	* rails-lib.el (decamelize): created function.
41
42
2008-02-07  Dmitry Galinsky  <dima.exe@gmail.com>
43
44
	* rails-test.el (rails-test:line-regexp): apply patch [#16714]
45
	from Rémi Vanicat, can match empty filename
46
47
	* rails-scripts.el (rails-script:console): passed default
48
	environment to script/console
49
50
2007-12-23  Michael Klishin <michael.klishin@railsware.com>
51
52
        * rails-spec.el (rails-spec:run-this-spec): Run spec where the point is
53
        
54
2007-11-04  Dmitry Galinsky  <dima.exe@gmail.com>
55
56
	* rails-core.el (rails-core:model-exist-p): fixed error, when model-file not exists.
57
58
2007-11-03  Dmitry Galinsky  <dima.exe@gmail.com>
59
60
	* rails-core.el (rails-core:model-file
61
	rails-core:controller-file-by-model): search namespaced models and
62
	controllers.
63
64
	* rails-test.el (rails-test:line-regexp): applled patch by Alan Shields, 
65
	don't hightlight whitespaces in test output.
66
67
	* rails-test.el: appled patch by Alan Shields,
68
	can't run rails-test-current-* without a file.
69
70
2007-11-02  Dmitry Galinsky  <dima.exe@gmail.com>
71
	
72
	* rails.el (rails-templates-list): added 'html.erb'.
73
74
	* rails-snippets-feature.el (rails-snippets-feature:rest): replace *_url to *_path
75
76
	* inflections.el (singularize-string pluralize-string): downcase
77
	string befored searched.
78
79
2007-10-12  Dmitry Galinsky  <dima.exe@gmail.com>
80
81
	* inflections.el (pluralize-string singularize-string): downcase
82
	input string before find in irregular
83
84
2007-09-11  Peter Rezikov  <crazypit13@gmail.com>
85
86
	* rails.el: basic support of Markaby templates.
87
                                         
88
2007-08-18  Peter Rezikov  <crazypit13@gmail.com>
89
        * rails-spec.el: base support for rspec. Function
90
        `rails-spec:run-all', `rails-spec:run-this-file', `rails-spec:run-last',
91
        `rails-spec:run-files'.  Variables: `rails-spec:all-files',
92
        `rails-spec:last-files', `rails-spec:runner',
93
        `rails-spec:runner-options'.
94
        * rails-find.el, rails-ui.el: finds for rspec
95
        * rails-project.el: new functions: rails-project:in-root-with-cd, 
96
        rails-project:compile-in-root
97
        * rails-lib.el: new macro in-directory
98
                                         
99
2007-08-18  Dmitry Galinsky  <dima.exe@gmail.com>
100
101
	* rails-scripts.el (rails-script:run-interactive): setup a
102
	variable `ruby-buffer' for corect working with `inf-ruby'
103
104
2007-08-17  Dmitry Galinsky  <dima.exe@gmail.com>
105
106
	* rails-ruby.el (hs-minor-mode-hook): created, placed in
107
	hs-setup-overlay initialization to fix a bug #13162
108
109
2007-08-15  Dmitry Galinsky  <dima.exe@gmail.com>
110
111
	* rails-scripts.el (rails-script:setup-output-buffer): fixed compilation warning
112
	* rails-ruby.el (ruby-hs-minor-mode): created, support ruby in hs-minor-mode
113
114
2007-08-11  Dmitry Galinsky  <dima.exe@gmail.com>
115
116
	* rails-compat.el (try-complete-abbrev): fixed
117
	* rails-core.el (rails-core:configuration-file, :rails-core:configuration-files): created functions
118
	* rails-speedbar-feature.el (rails-speedbar:roots): added
119
	migrations and configuration files to speedbar
120
121
2007-08-05  Dmitry Galinsky  <dima.exe@gmail.com>
122
123
	* rails-test.el, rails-ui.el: apply patch #11998, created additional key
124
	shortcuts (thanks Tom Ten Thij)
125
	* rails-compat.el: apply patch #12743, replace
126
	`indent-or-complete` to `indent-and-complete` (thanks Peter Williams)
127
128
2007-08-04  Dmitry Galinsky  <dima.exe@gmail.com>
129
130
	* rails-navigation.el (rails-nav:goto-layouts): fixed bug #12754,
131
	broken `rails-nav:goto-layouts`
132
133
2007-07-26  Dmitry Galinsky  <dima.exe@gmail.com>
134
135
	* inflections.el: more inflections (by Edvard Majakari)
136
	* rails-ruby.el (ruby-align-rules-list): improved `align` support
137
	* rails-test.el (rails-test:line-regexp): added support of '-' symbol in file name
138
139
2007-05-23  Dmitry Galinsky  <dima.exe@gmail.com>
140
141
	* rails-test.el (rails-test:line-regexp): bug #10792: updated regexp
142
143
2007-05-05  Dmitry Galinsky  <dima.exe@gmail.com>
144
145
	* rails.el: fixed #10613, wrong comparsion of emacs major-version
146
147
2007-05-03  Dmitry Galinsky  <dima.exe@gmail.com>
148
149
	* rails-test.el (rails-test:line-regexp): patch #10532, allows '-'
150
	to occur in the errror filepath (thanks Peter Williams)
151
152
2007-04-27  Dmitry Galinsky  <dima.exe@gmail.com>
153
154
	* rails.el: raise a error if emacs-rails run on old version of Emacs (less 22).
155
	* rails-ruby.el: check available flymake before setup ruby-flymake.
156
157
2007-04-25  Dmitry Galinsky  <dima.exe@gmail.com>
158
159
	* rails-speedbar-feature.el (rails-speedbar:expand-directory)
160
	(rails-speedbar:display): updated view mode of "views".  *
161
	rails-compat.el (try-complete-abbrev): don't expand a snippet
162
	inside comments or strings.
163
164
2007-04-20  Dmitry Galinsky  <dima.exe@gmail.com>
165
166
	* rails-core.el (rails-core:menu-letters-list)
167
	(rails-core:prepare-menu): created, append a prefix to each label
168
	of menu-item from MENU.
169
170
2007-04-19  Dmitry Galinsky  <dima.exe@gmail.com>
171
172
	* rails-speedbar-feature.el (rails-speedbar:expand-tags): append list of templates in controllers
173
	(rails-speedbar:line-directory): created
174
	* rails-core.el (rails-core:helper-file): append the test/test_helper
175
	(rails-core:views-dir): strip the "_controller" sufix
176
	(rails-core:helpers): added the test/test_helper support
177
	* rails-speedbar-feature.el (rails-speedbar:line-directory)
178
	(rails-speedbar:root, rails-speedbar:in-root): created
179
	(rails-speedbar-feature:install): install speedbar-mode-line-functions
180
	* rails-ruby.el (completion-dynamic-syntax-alist): removed
181
	* rails-core.el (rails-core:class-by-file): updated
182
183
2007-04-18  Dmitry Galinsky  <dima.exe@gmail.com>
184
185
	* rails.el (ruby-mode-hook): removed predictive-prog-mode, it will incorect work in latest CVS builds of Emacs
186
187
2007-04-13  Dmitry Galinsky  <dima.exe@gmail.com>
188
189
	* rails-ruby.el (flymake-ruby-init): apply patch #10056, thanks R│Иmi Vanicat
190
	* rails-core.el (rails-core:class-by-file): handle first digit[s] in filename
191
	* rails-lib.el (capital-word-p): return nil if first char is not 
192
	* inflections.el: rollback to using separate variables instead of structure
193
194
2007-04-12  Dmitry Galinsky  <dima.exe@gmail.com>
195
196
	* rails-test.el: fixed #10053 bug, added rails-core:regexp-for-match-views to compilation-error-regexp
197
	* predictive-prog-mode.el (activate-predictive-inside-comments): toggle predictive mode using 'predictive-main-dict variable, looking at previous word 
198
	* rails-core.el (rails-core:class-by-file): detect already capitalized words
199
200
2007-04-10  Dmitry Galinsky  <dima.exe@gmail.com>
201
202
	* rails-snippets-feature.el (rails-snippets-feature:list): updated
203
	* rails-test.el (rails-test:error-regexp-alist): updated
204
205
2007-04-09  Dmitry Galinsky  <dima.exe@gmail.com>
206
207
	* rails-ui.el (rails-minor-mode-prefix-key): created
208
	(rails-key): created
209
	* predictive-prog-mode.el (predictive-prog-text-faces): fixed compilation warning 
210
211
2007-04-08  Dmitry Galinsky  <dima.exe@gmail.com>
212
213
	* rails-speedbar-feature.el (rails-speedbar:roots): created
214
215
2007-04-06  Dmitry Galinsky  <dima.exe@gmail.com>
216
217
	* rails-lib.el (capital-word-p): better word comparsion
218
	* predictive-prog-mode.el, untabify-file.el: created separate minor-mode
219
 
220
	* rails-compat.el: removed predictive-prog-mode declaration
221
 
222
	* rails-features.el: created
223
	* rails-predictive-prog-mode-feature.el: created and place into it
224
	predictive-program-mode
225
	* rails-snippets-feature.el: created
226
	* rails-ui.el (rails-minor-mode-map): removed snippets menu
227
	* rails-untabify-feature.el: created and place into it untabify
228
	hook
229
	* rails.el (find-file-hooks): cleanup
230
231
2007-04-05  Dmitry Galinsky  <dima.exe@gmail.com>
232
233
	* rails.el (auto-mode-alist): added Rakefile to auto-mode-alist
234
	* rails-ui.el (rails-minor-mode-test-current-method-key): created
235
	* rails-*-test-minor-mode (rails-unit-test-minor-mode rails-functional-test-minor-mode): 
236
	changed hotkey "C-c ." to "C-c C-c ,", the old conflicted with ECB
237
	* rails-ruby.el (flymake-ruby-load): apply flymake-mode only if
238
	buffer-file-name matched flymake-allowed-file-name-masks
239
240
2007-04-04  Dmitry Galinsky  <dima.exe@gmail.com>
241
242
	* rails-ruby.el (flymake-ruby-load): updated
243
	* rails-ui.el: reduced the menu length
244
245
2007-04-03  Dmitry Galinsky  <dima.exe@gmail.com>
246
247
	* rails-ruby.el (flymake-ruby-load): updated
248
	* rails-controller-layout.el (rails-controller-layout:keymap):
249
	created menu group for current minor-mode
250
	* rails-model-layout.el (rails-model-layout:keymap): created menu
251
	group for current minor-mode
252
	* rails-core.el (rails-core:controller-file-by-model)
253
	(rails-core:mailer-file, rails-core:mailer-exist-p)
254
	(rails-core:migration-file-by-model)
255
	(rails-core:model-by-migration-filename)
256
	(rails-core:unit-test-exist-p, rails-core:fixture-exist-p)
257
	(rails-core:current-mailer): created
258
	* rails-model-layout.el (rails-model-layout:keymap): removed mode specific menu
259
	* rails-controller-layout.el (rails-controller-layout:keymap): removed mode specific menu
260
	* rails-compat.el (predictive-prog-mode): don't start inside strings
261
	* rails-core.el: using completion-posn-at-point-as-event instead custom function
262
	* rails-ui.el (rails-minor-mode-db-menu-bar-map): updated
263
	* rails-model-layout.el (rails-model-layout:keymap): created
264
	* rails-core.el (rails-core:buffer-file-match): allow passing nil
265
	* rails-controller-layout.el (rails-controller-layout:keymap): created
266
	* rails-cmd-proxy.el (rails-cmd-proxy:convert-buffer-from-remote): fixed compilation warning 
267
	* rails-ruby.el: added flymake support to on the fly syntax check in ruby-mode
268
	* rails-test.el (rails-test:error-regexp-alist): updated
269
270
2007-04-02  Dmitry Galinsky  <dima.exe@gmail.com>
271
272
	* rails-lib.el (merge-abbrev-tables): mark abbrev as system 
273
274
2007-04-01  Dmitry Galinsky  <dima.exe@gmail.com>
275
276
	* rails-snippets.el: updated snippets
277
	* rails-ui.el (rails-minor-mode-nav-menu-bar-map): created separate menu entry for "Navigate", "Database", "Tests"
278
	* rails-test.el (rails-test:error-regexp-alist): updated regexp to match errors
279
	* rails-snippets.el (rails-snippets:list): new snippet group RESTful
280
	* rails-ruby.el (ruby-align-rules-list): updated regexp for align
281
	* rails-rake.el (rails-rake:migrate)
282
	(rails-rake:migrate-with-version)
283
	(rails-rake:migrate-to-prev-version): created
284
	* rails-lib.el: added alias string-join to strings-join
285
	* rails-core.el (rails-core:mailer-file): fixed bug #9721
286
	(rails-core:migration-versions): created
287
	* rails-compat.el (indent-or-complete): restored completion-ui support
288
289
2007-03-30  Dmitry Galinsky  <dima.exe@gmail.com>
290
291
	* rails-test.el (rails-test:error-regexp-alist): updated
292
	* rails-scripts.el (rails-script:run): added
293
	`rails-cmd-proxy:convert-buffer-from-remote' to
294
	`after-change-functions'
295
	* rails-ruby.el: added `align' integration code
296
	* rails-lib.el (string-repeat): created
297
	* rails-cmd-proxy.el (rails-cmd-proxy:convert-buffer-from-remote): created
298
	* rails-project.el: created
299
	* rails-compat.el: created
300
301
2007-03-29  Dmitry Galinsky  <dima.exe@gmail.com>
302
303
	* rails.el (indented-or-complete): added support completion-ui
304
	(activate-predictive-inside-strings): created
305
	(ruby-mode-hook): added pcomplete activation code
306
	* rails-test.el (rails-test:print-result): don't scroll on top
307
	* rails-navigation.el (rails-nav:goto-functional-tests): created
308
	(rails-nav:goto-unit-tests): created
309
	* rails-core.el (rails-core:functional-tests): created
310
	(rails-core:unit-tests): created
311
	* rails-cmd-proxy.el: updated
312
	* rails-scripts.el (rails-script:output-mode): updated
313
	* rails.el (indent-or-complete): updated
314
	* rails-test.el (rails-test:run): cleanup
315
	* rails-rake.el (rails-rake:list-of-tasks-without-tests): created
316
	(rails-rake:list-of-tasks): renamed from rails-rake:tasks-list
317
	* rails-ui.el: created seperate menu group for tests
318
	* rails-test.el: created, Added tests integration with the compile library
319
	* rails-scripts.el: refactored
320
	* rails-rake.el: refactored
321
	* rails-lib.el (rails-completing-read): created
322
323
2007-03-28  Dmitry Galinsky  <dima.exe@gmail.com>
324
325
	* rails-rake.el (rails-rake:task): removed rails-rake:output-mode
326
	* rails.el: added forward declaration of try-complete-abbrev,
327
	index-or-complete and setup variable
328
	hippie-expand-try-function-alist
329
	* rails-snippets.el (rails-snippets:list): updated
330
	* rails-core.el (rails-core:menu-position): fixed error at `window-live-p'
331
	* rails-ui.el (rails-minor-mode-menu-bar-map): added menu item for "test current method"
332
	* rails-ws.el (rails-ws:start): added missing parameter the
333
	rails-ws:default-server-type to startup command
334
	* rails-scripts.el (rails-script:toggle-output-window): created
335
	* rails-ws.el (rails-ws:start): fixed bug [#9619], incorect setup of default directory
336
	* rails-snippets.el (rails-snippets-menu-list): removed
337
	(rails-snippets:create-keymap, rails-snippets:create-lambda)
338
	(rails-snippets:list): created
339
	* rails-lib.el (create-snippets-and-menumap-from-dsl): removed
340
341
2007-03-27  Dmitry Galinsky  <dima.exe@gmail.com>
342
343
	* rails-snippets.el (rails-snippets-menu-list): updated snippets,
344
	add the "assert_template" snippet
345
	* rails-rake.el (rails-rake:test-current): created
346
	(rails-rake:run-test-file): created
347
	(rails-rake:test-current-method): created
348
	* rails-unit-test-minor-mode.el (rails-unit-test-minor-mode):
349
	added hotkey [C-c .] to run test of current method
350
	* rails-functional-test-minor-mode.el (rails-functional-test-minor-mode): 
351
	added hotkey [C-c .] to run test of current method
352
	* rails-core.el (rails-core:functional-test-file)
353
	(rails-core:unit-test-file, rails-core:observer-p)
354
	(rails-core:mailer-p): allow passing nil
355
	(rails-core:current-method-name): renamed from rails-core:current-function-name
356
	* rails-scripts.el (rails-script:output-mode-popup-buffer,
357
	rails-script:output-mode-push-first-button): created
358
	(rails-script:output-mode): using hooks instead local-variables
359
	* rails-rake.el (rails-rake:output-mode): using hooks instead local-variables
360
	* rails-lib.el (buffer-visible-p): optimization, using `get-buffer-window'
361
	* rails-model-layout.el (rails-model-layout:switch-to): 
362
	display message if file not exists
363
	* rails-controller-layout.el (rails-controller-layout:switch-to):
364
	display message if file not exists
365
	* rails-model-layout.el (rails-model-layout:switch-to)
366
	(rails-model-layout:menu): added migrations support
367
	* rails-migration-minor-mode.el (rails-migration-minor-mode): popup menu entry
368
	* rails-core.el (rails-core:model-exist-p): return nil if observer
369
	or mailer
370
	(rails-core:migration-file): allow passing a migration name
371
	without number (ex. "CreateUsers")
372
	(rails-core:current-model): added migrations support
373
	(rails-core:migration-file): renamed from migrate-file
374
	* rails-controller-layout.el (rails-controller-layout:switch-to):
375
	added migration support
376
	* inflections.el (singularize-string, pluralize-string): allow passing nil
377
378
2007-03-26  Dmitry Galinsky  <dima.exe@gmail.com>
379
380
	* rails-find.el (rails-find:gen): call ido-find-file if possible
381
	* rails-rake.el (rails-rake:report-result): prints results of all tests
382
	* rails-ruby.el: fixed compilation warnning
383
	* rails-rake.el, rails-scripts.el: updated, printed result of tests
384
	* rails-lib.el, rails.el: fix compilation error [#9547]
385
	
386
	* rails.el (rails-templates-list): added support "erb" and "liquid"
387
	* rails-lib.el: fixed compilation warnings
388
	* rails-rake.el: fixed compilation warnings
389
	* rails-ui.el: updated
390
	* rails-scripts.el: updated
391
	(rails-script:rake-tests-alist): removed
392
	* rails-ruby.el (run-ruby-in-buffer): moved from rails-scripts.el
393
	* rails-rake.el: created
394
	* rails-core.el (rails-core:migrations): added optional parameter to stip numbers
395
	* rails-cmd-proxy.el (rails-cmd-proxy:start-process): created
396
	* rails-scripts.el (rails-script:sentinel-proc): updated
397
	(rails-script:generation-buffer-name): removed
398
	(rails-script:run): updated
399
	(rails-script:create-project): updated
400
	* rails-lib.el (buffer-visible-p): created
401
	* rails-core.el (rails-core:file): return nil if FILE-NAME is nil
402
403
2007-03-25  Dmitry Galinsky  <dima.exe@gmail.com>
404
405
	* rails-log.el (rails-log:buffer-name): renamed from rails-log:get-buffer-name
406
	* rails-core.el (rails-core:add-to-rails-menubar): removed
407
	(rails-core:mailer-file): maked as alias
408
	(rails-core:controller-name): renamed from rails-core:full-controller-name
409
	(rails-core:regex-for-match-view): cleanup
410
	(rails-core:button-action): created
411
	* rails-find.el: created
412
	* rails-navigation.el: moved rails-find-* to separate file rails-find.el
413
	* rails.el (rails-find-file-function): removed variable
414
	* rails-ui.el (rails-minor-mode-menu-bar-map): update indentation
415
	* rails-scripts.el: refactored code
416
417
2007-03-24  Dmitry Galinsky  <dima.exe@gmail.com>
418
419
	* rails-unit-test-minor-mode.el (rails-unit-test-minor-mode): fixed
420
	* rails-navigation.el (rails-line-->controller+action): replace
421
	call rails-core:open-controller+action to
422
	rails-controller-layout:switch-to-action-in-controller
423
	* rails-snippets.el (snippet-insert): added advice
424
	(rails-snippets-menu-list): updated snippets
425
	* rails-ws.el (rails-ws:sentinel-proc): change format of the message
426
	(rails-ws:start): fixed
427
	* rails-navigation.el: removed old style goto-* functions
428
	* rails.el (ruby-mode-hook): bind ruby-toggle-string<>symbol to [C-:] in ruby mode
429
	* rails-ui.el (rails-minor-mode-map): added [M-S-up] & [M-S-down] hotkeys
430
	* rails-snippets.el (rails-snippets-menu-list): updated, split snippets to separate modes
431
	* rails-ruby.el (ruby-toggle-string<>simbol): created
432
	* rails-migration-minor-mode.el (rails-migration-minor-mode): created
433
434
2007-03-23  Dmitry Galinsky  <dima.exe@gmail.com>
435
436
	* rails.el (ruby-mode-hook): added [C-:] hotkey to easy switch between strings and symbols
437
	* rails-ruby.el (ruby-toggle-string<>simbol): created
438
	* rails.el (ruby-mode-hook): added [C-c f] hotkey to popup `major-menu-mode` menu
439
	* rails-core.el (rails-core:menu-position): created variable
440
	(rails-core:menu): using `rails-core:menu-position`
441
	* rails-snippets.el (rails-snippets-menu-list): splited snippets into separate modes
442
	* rails-navigation.el (rails-nav:goto-fixtures): created
443
	* rails-core.el (rails-core:fixtures): created
444
	* rails-view-minor-mode.el (rails-view-minor-mode): cleanup and switch to use
445
	`rails-controller-layout`, added support mailers
446
	* rails-unit-test-minor-mode.el (rails-unit-test-minor-mode): added support mailers
447
	* rails-navigation.el (rails-nav:goto-mailers): created
448
	* rails-model-layout.el: added support mailers
449
	* rails-mailer-minor-mode.el: created
450
	* rails-helper-minor-mode.el: cleanup and switch to use `rails-controller-layout`
451
	* rails-functional-test-minor-mode.el: cleanup and switch to use
452
	`rails-controller-layout`, added support mailers
453
	* rails-core.el: created functions: rails-core:model-exist-p,
454
	rails-core:mailer-file, rails-core:mailer-p, rails-core:mailers,
455
	rails-core:current-function-name. Cleanup unsed functions.
456
	
457
	* rails-controller-minor-mode.el: cleanup and switch to use `rails-controller-layout`
458
	* rails-controller-layout.el: created
459
	* rails.el (rails-directory<-->types): rename fixtures to fixture
460
	* rails-unit-test-minor-mode.el: using functions from `rails-model-layout` to navigate
461
	* rails-model-minor-mode.el: using functions from `rails-model-layout` to navigate
462
	* rails-model-layout.el: created
463
	* rails-lib.el (string=~): created, by Howard Yeh
464
	* rails-fixture-minor-mode.el: created
465
	* rails-core.el (rails-core:controller-exist-p): create
466
	(rails-core:fixture-file): used `pluralize-string` to match fixture
467
	(rails-core:current-model): used `pluralize-string` to match fixture
468
	* inflections.el: created, by Howard Yeh
469
	* rails-cmd-proxy.el: created
470
	* rails-ws.el (rails-ws:stop): stopped server with interrupt-process
471
	(rails-ws:start): starting server useing rails-cmd-proxy:start-process-shell-command
472
	* rails.el (rails-apply-for-buffer-type): added support to load
473
	new style submodes
474
	* rails-lib.el (merge-abbrev-tables): created this function
475
	* moved all rails-for-* to rails-*-minor-mode
476
	
477
	* rails-snippets.el (rails-snippets-menu-list): closed bug #9460,
478
	incorect indentation in snippets
479
480
2007-03-19  Dmitry Galinsky  <dima.exe@gmail.com>
481
482
	* rails-scripts.el (rails-rake): restore ask to save modified
483
	buffers before run rake test:*
484
	* rails-core.el (rails-core:layout-file): support template types
485
	on go to layout menu
486
	* rails-for-controller.el (rails-controller:create-view-for-action): create function
487
	(rails-controller:switch-to-view): allow select template type on create
488
	* rails.el: add support haml template engine
489
490
2007-03-15  Dmitry Galinsky  <dima.exe@gmail.com>
491
492
	* rails-scripts.el (rails-rake-tests): using `compile`
493
	* rails-ui.el (rails-minor-mode-menu-bar-map): add (interactive)
494
	to lambda functions
495
496
2007-03-13  Dmitry Galinsky  <dima.exe@gmail.com>
497
498
	* rails-for-model.el: create
499
	* rails-for-unit-test.el: create
500
	* rails-core.el (rails-core:buffer-type): support lambda
501
	expression in rails-directory<-->types
502
	* rails-scripts.el (rails-rake): ask to save modified buffers
503
	before run rake test:*
504
505
2007-02-02  Dmitry Galinsky  <dima.exe@gmail.com>
506
507
	* rails-snippets.el (rails-snippets-menu-list): bug #8381 (bad
508
	"ff" snippet)
509
510
2007-01-30  Dmitry Galinsky  <dima.exe@gmail.com>
511
512
	* rails-snippets.el: create and place into it all snippets code
513
	* rails-ui.el: drop snippets declaration, make separate menu
514
	"Snippets"
515
516
2007-01-29  Dmitry Galinsky  <dima.exe@gmail.com>
517
518
	* rails-lib.el: create function compile-snippet and
519
	create-snippets-and-menumap-from-dsl
520
	* rails-ui.el (ruby-mode-abbrev-table): add mai snippet (add_index
521
	in migrations)
522
	* rails.el (rails-db-parameters): patch #8232 (by Ronaldo Ferraz)
523
	Console is not starting because env is not quoted in the function
524
	call, resulting in a Ruby error
525
	* rails-ws.el, rails-wi.el: patch #8233 (by Ronaldo Ferraz) Fixes
526
	a couple of UI messages and allows web server selection auto-save
527
528
2007-01-28  Dmitry Galinsky  <dima.exe@gmail.com>
529
530
	* *.el: fix bytecompile warnings
531
	
532
	* rails-core.el: remove dublicate of fucntion rails-core:helper-file
533
	* rails-navigation.el: patch #8228
534
	* rails.el (ruby-mode-hook): remove variables tab-width and indent-tabs
535
	* rails-ws.el: make variable rails-ws:default-server-type are
536
	customized (to fix #8223)
537
	* rails-lib.el: add cross declaration indent-or-complete (to fix #8221)
538
539
2007-01-27  Dmitry Galinsky  <dima.exe@gmail.com>
540
541
	* rails-for-controller.el (rails-controller:switch-with-menu):
542
	call rails-controller:switch-to-view for "Current view" 
543
	* rails-log.el (rails-log:open-file): run rails-minor-mode in log buffer
544
	* rails-ui.el: update "Open log" menu
545
	* rails.el: relete function rails-open-log, and place all log
546
	related fuction to rails-log.el
547
	* rails-log.el: create
548
	* rails-lib.el (apply-colorize-to-buffer): create
549
	* rails-ws.el: update rails-ws:*browser* functions
550
	* rails.el (rails-directory<-->types): add plugin directory
551
	* rails-for-view.el (rails-view:switch-with-menu): update menu title
552
	* rails-for-plugin.el: create
553
	* rails-for-helper.el (rails-helper:switch-with-menu): update menu
554
	title
555
	* rails-for-functional-test.el (rails-for-functional-test:switch-with-menu):
556
	update-menu-title
557
	* rails-for-controller.el (rails-controller:switch-with-menu):
558
	update menu title
559
	* rails-core.el (rails-core:menu): fix menu position 
560
	add new functions rails-core:plugin-files, rails-core:plugin-file,
561
	rails-core:current-plugin
562
563
2007-01-26  Dmitry Galinsky  <dima.exe@gmail.com>
564
565
	* rails-ui.el (rails-minor-mode-menu-bar-map): rename menu item
566
	WEBrick to Web Server.  Update menu group Web Server
567
	* rails.el (rails-ws): add variable rails-default-environment
568
	* rails-ws.el: rename from rails-webrick, complete rewrite and
569
	cleanup
570
	* rails-navigation.el (rails-nav:create-goto-menu): now support
571
	nested lists in append-to-menu (ex. (list (cons) (cons)))
572
	(rails-nav:create-new-layout): cleanup
573
	(rails-nav:goto-layouts): cleanup
574
	* rails-core.el
575
	(rails-core:plugins): fix invalid path passed into directory-files
576
	(rails-core:layouts): new function
577
	* rails-for-view.el (rails-for-view): remove detect mmm-mode,
578
	always apply hotkeys to mmm-mode-map (if exist)
579
	* rails.el: apply ruby-mode to *.rake files and setup utf8 encoding
580
	* rails-lib.el (list->alist): skip if LIST entry is list	
581
582
2007-01-25  Dmitry Galinsky  <dima.exe@gmail.com>
583
584
	* rails-navigation.el, rails-ui.el: add rails-nav:goto-plugins
585
	* rails-ruby.el: remove advice for ruby-indent-command
586
	* rails-lib.el (def-snips): fix indentation
587
	* rails-core.el: fix list ordered in rails-core:* add
588
	rails-core:observer-p
589
	* rails.el (rails-open-log): fix path to log file
590
	* rails.el: cleanup initialization code
591
592
2007-01-24  Dmitry Galinsky  <dima.exe@gmail.com>
593
594
	* rails-ui.el: create key bindings and menu items to latest
595
	changes
596
	* rails-scripts.el: add more targets to generate and destroy
597
	cleanup targets create variables: rails-generate-params-list,
598
	rails-destroy-params-list
599
	* rails-navigation.el: create another implementation menu:
600
	rails-nav:goto-file-with-menu-from-list, rewrite rails:nav:goto-*
601
	to use this
602
	* rails-core.el: rewrite rails-core:(controllers,models,etc), add
603
	more functions to lookup plugins, migrations, etc
604
605
2007-01-23  Dmitry Galinsky  <dima.exe@gmail.com>
606
607
	* rails-scripts.el (rails-rake-tests): store selected value, set it to default
608
	* rails-webrick.el (rails-webrick:start): fix #8088 (Akira Ikeda)
609
	* rails-core.el: add rails-core to eval-when-compile
610
	* rails-ui.el (rails-minor-mode-map): rebind some hotkeys fix
611
	snippents (bad indent after end ruby keyword)
612
	* rails-scripts.el: complete rewrite all script functions to using autocomplete
613
	* rails.el (rails-db-parameters): apply patch #8065 (thanks Akira Ikeda)
614
615
2007-01-22  Dmitry Galinsky  <dima.exe@gmail.com>
616
617
	* rails-ui.el (ruby-mode-abbrev-table): fix indentation for `end' ruby keyword
618
619
2007-01-21  Dmitry Galinsky  <dima.exe@gmail.com>	
620
621
	rename rails-for-rhtml to rails-for-view add rails-for-helper
622
	functionaly add *:switch-with-menu for helpers, functional-test
623
	cleanup rails-for-controller, rails-for-view
624
	* rails.el: remove rails-for-alist using rails-directory<-->type
625
	for match current type and apply specific mode
626
	* rails-scripts.el (rails-run-script): fix #8035
627
	* rails-lib.el (yml-value): fix #8037
628
629
2007-01-13  Dmitry Galinsky  <dima.exe@gmail.com>
630
631
	* rails-core.el: apply patch #7342
632
633
2007-01-09  ronaldo  <ronaldo@reflectivesurface.com>
634
635
	* rails.el: added a host parameter to the rails-db-conf struct
636
	fixed problems with YAML parameter parsing
637
	in (rails-db-parameters) simplified (rails-db-parameters) to avoid
638
	using database.yml directly
639
	(rails-run-sql) now changes directory to the root for the benefit
640
	of sqlite3
641
	* rails-lib.el: changed yml-next-value to yml-value and added a
642
	broader search scope
643
644
2007-01-08  ronaldo  <ronaldo@reflectivesurface.com>
645
646
	* rails.el: added support for other ri utilities (fast-ri, for
647
	example) added support for coloring on ri buffer
648
			
649
650
2006-12-25  Dmitry Galinsky  <dima.exe@gmail.com>
651
652
	* rails-lib.el (yml-next-value): return nil if key not found
653
	* rails.el: add sqlite support
654
655
2006-12-18  Dmitry Galinsky  <dima.exe@gmail.com>
656
657
	* rails-core.el (rails-core:class-by-file): fix lowercase letter after "::"
658
	* rails-for-rhtml.el: apply patch #7300
659
	* rails-for-controller.el: apply patch #7300
660
	* rails.el: apply patch #7301, #7295
661
	* rails-lib.el (rails-lib:run-secondary-switch): apply patch #7314
662
663
2006-12-11 ronaldo <ronaldo@reflectivesurface.com>
664
665
	* rails-scripts.el: fixed problems with prompt patterns in the
666
	inferior ruby mode call
667
	
668
669
2006-12-05 ronaldo <ronaldo@refletivesurface.com>
670
671
	* rails.el: added support for minimal helper switching
672
	* rails-for-helper.el: added support for minimal helper switching
673
674
2006-12-03 ronaldo <ronaldo@reflectivesurface.com>
675
676
	* rails.el: added a customization option to use Emacs w3m for API
677
	browsing
678
	* rails-lib.el: added a function to aid in browsing the API with
679
	Emacs w3m
680
			
681
682
2006-12-03  Dmitry Galinsky  <dima.exe@gmail.com>
683
684
	* rails-ruby.el (ruby-indent-command): using around filter
685
	* rails.el (ruby-mode-hook): symbols _ and : interpreted as word
686
	* rails-core.el (rails-core:class-by-file): apply patch #6377
687
	* rails-webrick.el: Apply patch from Ray Baxter: remove
688
	rails-webrick:open-url and add rails-webrick:server-name
689
690
2006-12-01 ronaldo <ronaldo@reflectivesurface.com>
691
692
	* rails.el: fixed to load needed ruby inferior mode (inf-ruby)
693
	added a couple of new customization options
694
	* rails-ui.el reordered the snippets menu alphabetically changed
695
	the key sequences for the tests scripts to use a more intuitive
696
	set
697
	* rails.el: refactored and renamed rails-configured-api-root to
698
	rails-has-api-root added a minor customization to the default
699
	layout template minor documentation fixes
700
	* rails-lib.el: add (rails-alternative-browse-url)
701
	* rails-scripts.el: added an indication of the task being run on
702
	rake calls fixed the inferior-mode call in (run-ruby-in-buffer) to
703
	work on w32 added an alternative way to browse API URLs on Windows
704
	in case the primary way fails added messages to the test scripts
705
	
706
707
2006-12-01  Dmitry Galinsky  <dima.exe@gmail.com>
708
709
	* rails-navigation.el: add "go to action" "go to partial" now
710
	support insert_html|replace_html
711
	* rails-core.el: add rails-core:view-name
712
713
2006-11-30 ronaldo <ronaldo@reflectivesurface.com>
714
715
	* *.el: fixed documentation strings to better reflect Emacs
716
	conventions
717
	* rails-ruby.el: changed ruby-indent-or-complete into an
718
	advice (it works in text-only terminals now) * rails-ui.el: added
719
	a bunch of new snippets refactored key sequences to follow proper
720
	mode conventions added new menus (rake tests, customize, start
721
	default webrick) changed switch menu to use a richer set of
722
	options
723
	* rails-scripts.el: added rake tasks for tests (all, integration,
724
	functional, unit and recent tests)
725
	* rails-core.el: added a check for the API docs, allowing the user
726
	to generate them if needed added a check for the existence of the
727
	API files to avoid unnecessary messages
728
	* rails.el: changed the default layout template and moved it to a
729
	customization variable
730
	
731
732
2006-11-29 ronaldo <ronaldo@reflectivesurface.com>
733
734
	* rails-for-controller.el: fixed to use rails-core:menu
735
	* rails-core.el: added a way to automatically recognize if it's
736
	running under a text-only terminal to avoid crashing Emacs when
737
	using x-popup-menu
738
	* rails-for-rhtml: changed to use rails-core:menu instead of
739
	x-popup-menu
740
741
2006-11-28 ronaldo <ronaldo@reflectivesurface.com>
742
743
	* rails-core.el: created a set of customization options
744
	(customize-group 'rails)
745
	* rails-for-rhtml: fixed the partial creation functions to allow
746
	both transient and non-transient markers
747
	
748
749
2006-10-03 Dmitry Galinsky <dima.exe@gmail.com>
750
751
	* rails.el: do not apply untabify in makefile-mode
752
	* rails-ruby.el: small fix in ruby-indent-or-complete
753
754
2006-06-10 CrazyPit <crazypit13@gmail.com>
755
756
	* rails-core.el: rails-quoted-file (needed to fix bug with space
757
	in path)
758
	* rails-navigation.el: new rules to
759
	rails-goto-file-on-current-line, rails-find for fixtures
760
	* rails.el: rails-browse-api
761
	* rails-lib.el: new helper functions write-string-to-file,
762
	read-from-file
763
	* rails-webrick.el: fix bug with space in path
764
	* rails-scipts.el: add caching for rake tasks
765
766
2006-04-19 CrazyPit <crazypit13@gmail.com>
767
768
	* rails-navigation.el: rails-nav:create-new-layout updated, text
769
	moved to variable rails-layout-template, name add. rails goto file
770
	from string for layout now used rails-nav:create-new-layout if
771
	layout with this name does not exist
772
	* rails.el: add modify syntax to ruby-mode-hook for "!" symbol,
773
	add local modifying syntax for rails-browse-api-at-point
774
775
2006-04-17  Dmitry Galinsky  <dima.exe@gmail.com>
776
777
	* rails-ui.el: apply snippets to nxml-mode-abbrev-table
778
779
2006-04-11  Dmitry Galinsky  <dima.exe@gmail.com>
780
781
	* rails-for-controller.el
782
	(rails-controller:switch-to-view): using rais-core:menu
783
	(rails-controller:switch-with-menu): using rails-core:menu
784
	* rails-navigation.el: new function rails-nav:create=new-layout
785
	(rails-nav:goto-file-with-menu): add optional parameter
786
	append-to-menu
787
	* rails-for-rhtml.el: drop
788
	rails-for-rhtml:switch-to-controller-action
789
	* rails-for-controller.el: drop
790
	rails-for-controller:switch-by-current-controller,
791
	rails-for-controller:switch-to-functional-test,
792
	rails-for-controller:switch-to-helper,
793
	rails-for-controller:switch-to-view2,
794
	rails-for-controller:switch-to-controller
795
	rails-for-controller:switch-to-views
796
	(rails-controller:switch-with-menu): mark partials, add separator
797
	* rails-lib.el (snippet-menu-line): add snippet abbrevation in
798
	menu
799
	* rails-ui.el (rails-minor-mode-menu-bar-map): drop menu
800
	items [webrick brows], [webrick auto-brows]
801
802
2006-04-04 CrazyPit <crazypit13@gmail.com>
803
804
	* rails-navigation.el, rails-lib.el, rails-ui.el: rails-lib:goto-*
805
	renamed to rails-nav:goto-* and moved to rails-navigation.el
806
807
2006-04-01 CrazyPit <crazypit13@gmail.com>
808
809
	* rails-core.el: new function js-file, partial-name updated.
810
	* rails-navigation.el: new rule for switching line to
811
	file (rails-line-->js)
812
	* rails-scipts.el: bugfix in run-ruby-in-buffer
813
	* rails-ui.el: new snippet %for
814
	* rails-webrick.el: rails-webrick:start now interactive,
815
	auto-open-browser work only in controllers and views.
816
	* rails.el: bugfix in rails-create-tags
817
818
2006-03-31 CrazyPit <crazypit13@gmail.com>
819
820
	* rails-navigation.el: rails-goto-file-from-file change, now use
821
	funcall instead rails-goto-menu-call, function
822
	rails-goto-menu-call removed.
823
	* rails-for-controller.el: views-for-current-action now using lexical closures.
824
	* rails-lib.el: fix bug in snippet-menu-line
825
	* rails.el: fix bug in rails-get-api-entries
826
827
2006-03-30  CrazyPit  <crazypit13@gmail.com>
828
829
	* rails.el: interface to Rails HTML API
830
	documentaion. rails-browse-api-at-point, rails-browse-api-method,
831
	rails-browse-api-class, rails-get-api-entries
832
	* rails-lib.el: new function capital-word-p
833
	* rails-scipts.el: Rake integration - new functions rails-rake and
834
	rails-rake-tasks.  Running ruby consoles and breakpointers in
835
	separated buffers for each project: new functions
836
	run-ruby-in-buffer, rails-run-interactive and rails-run-console,
837
	rails-run-breakpointer updated
838
	* rails-core.el new macro in-root
839
	* rails.el: new variable rails-tags-command, rails-open-log now
840
	interactive + cleanup, rails-create-tags cleanup, new hook for
841
	dired mode
842
	* rails-navigation.el: new variable rails-find-file-function, 3
843
	new rails-finds.
844
	* rails-ui.el: cleanup, add many new hotkeys
845
846
2006-03-28  CrazyPit  <crazypit13@gmail.com>
847
848
	* rails-ui.el: create rails-ui.el, move UI code from rails.el to
849
	rails-ui.el
850
  
851
	* rails-navigation.el: rails-goto-controller-->view,
852
	rails-goto-view-->controller rails-goto-all-->simple,
853
	rails-goto-all-->helper, rails-goto-all-->functional-test,
854
	rails-goto-all-->controller extracted to other files.  Refactoring
855
	of rails-goto-file-from-file-actions and rails-goto-file-from-file
856
	now run-time generation and invisible, helper function
857
	rails-goto-menu-call.  menu items available.
858
	* rails-for-rhtml.el: switch-to-controller-action added
859
	* rails-for-controller.el:
860
	views-for-current-action. switch-by-current-controller,
861
	switch-to-functional-test, switch-to-helper, switch-to-view2,
862
	switch-to-controller -- extracted with renaming from
863
	rails-navigation.el.
864
	* rails-core.el: fix in functional-test-file, +
865
	long-controller-name added, rails-core:menu upadte (posn-at-point
866
	call added)
867
868
2006-03-28  Dmitry Galinsky  <dima.exe@gmail.com>
869
870
	* rails-for-controller.el: new functions
871
	rails-controller:get-current-controller-and-action,
872
	rails-controller:switch-with-menu
873
	(rails-for-controller): setup variables rails-primary-switch-func,
874
	rails-secondary-switch-func
875
	* rails-core.el (rails-core:helper-file): fix invalid path
876
	(rails-core:functional-test-file): fix invalid path
877
	(rails-core:get-view-files): ACTION is optional parameter
878
	* rails-for-rhtml.el: new functions rails-rhtml:switch-with-menu,
879
	rails-rhtml:switch-to-helper,
880
	rails-rhtml:get-current-controller-and-action
881
	(rails-for-rhtml): setup variables rails-primary-switch-func,
882
	rails-secondary-switch-func
883
	* rails.el: add variables rails-primary-switch-func,
884
	rails-secondary-switch-func
885
	* rails-lib.el: add interactive functions
886
	rails-lib:run-primary-switch-func,
887
	rails-lib:run-secondary-switch-func
888
889
2006-03-28  CrazyPit  <crazypit13@gmail.com>
890
891
	* rails.el: rails-run-sql with stuff
892
	* rails-navigation.el: rails finds added
893
	* rails-scipts.el: generators/destroyers, shells and rails-create
894
	project added from test branch
895
	* rails-navigation.el: rails-goto-file-on-current-line and
896
	rails-goto-file-from-file function with stuff added from test
897
	branch
898
899
2006-03-27  CrazyPit  <crazypit13@gmail.com>
900
901
	* rails-lib.el: many helper functions from test branch added
902
	* rails-core.el: functions from test branch added, class-by-file
903
	updated + new variable rails-core:class-dirs, get-model-view
904
	updated
905
	* rails-webrick.el: open-browser updated,
906
	open-browser-on-controller, auto-open-browser added
907
908
2006-03-22  Dmitry Galinsky  <dima.exe@gmail.com>
909
910
	* rails-core.el: add macro rails-core:local-add-to-rails-menubar
911
912
2006-03-21  Dmitry Galinsky  <dima.exe@gmail.com>
913
914
	* rails.el: split into two files
915
	* rails-core.el: move to this all helper function and macros