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