home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1999 September (IDG) / Sep99.iso / Shareware World / Utilities / Text Processing / Alpha / Tcl / Modes / Perl Mode / perlVersionHistory.tcl < prev    next >
Encoding:
Text File  |  1999-03-04  |  7.2 KB  |  127 lines  |  [TEXT/ALFA]

  1. #############################################################################
  2. # Author: Tom Pollard <pollard@schrodinger.com>
  3. #
  4. # Contributors: Dan Herron     <herron@cogsci.ucsd.edu>
  5. #               David Schooley <schooley@ee.gatech.edu>
  6. #               Vince Darley   <darley@fas.harvard.edu>
  7. #               Martijn Koster <m.koster@nexor.co.uk>
  8. #               Rob Calhoun    <rcalhoun@alum.mit.edu> 
  9. #
  10. #
  11. # Version History:
  12. # 3.5  03-MAR-1999        Rob Calhoun
  13. #      in perlMenu.tcl:
  14. #               -  Fixed bug in 'menu::buildPerl' which prevented keyboard
  15. #                 equivalent for 'repeatLastFilter' from working. (It was bound
  16. #                 to '(repeatLastFilter'.) Now we build the menu with repeatLastFilter
  17. #                 active and then immediately disable it.
  18. #      in perlFilters&Misc.tcl:        
  19. #            -  Changed 'completeSelection' so that it works right when
  20. #               'apply to buffer' is not set and 'replace selection' is
  21. #               set. Now the selection is expanded to whole lines before
  22. #               handing off to MacPerl.
  23. #             -    Added -nonewline option to 'puts' in proc 'writeStdin' to fix
  24. #                 bug that introduced an extra line to filtered text.                
  25. # 3.4  1/98  -  Tom Pllard went over code and fixed things broken by 7.0, 
  26. #                   completions tutorial added, 7.1b compatiblity made.
  27. #               New 'marking proc's, and code sectioning support (i.e. dividers),
  28. #                   plus reorganized code. -trf
  29. # 3.12 10/97 -  Uses new menu-building code, so you can add with menu::insert (v)
  30. # 3.11 9/97  -  Fixed problem with modevars in new Alpha scheme (Johan)
  31. # 3.10 8/97  -  Modernised for new Alpha Tcl scheme (vince)
  32. # 3.0  4/97  -  MacPerl interactions don't depend on MacPerl app name anymore
  33. #               Fixed bug with perlFileAsFilter ($scriptStart uninitialized)
  34. # 2.9  3/97  -  Fixed bug in command-dbl-click help lookup for Perl5 mode
  35. # 2.8  2/97  -  Added Quick-Save commands in new submenu [Dan Herron]
  36. #               "Save As CGI" finally works.
  37. # 2.7  2/97  -  Comments before "#!/bin/perl" no longer confuse 'gotoPerlError'
  38. # 2.6  2/97  -  Added electricPerlLeft and electricPerlRight - [David Schooley]
  39. # 2.51 1/96  -  Fixed problem w/ "Tell MacPerl:Save As..."
  40. # 2.5  1/96  -  Colorization and cmd-dbl-click modified to support Perl 5 docs
  41. # 2.41 7/95  -  Minor tweaks
  42. # 2.4  7/95  -  Fixed bugs affecting running unsaved scripts and error handling
  43. # 2.3  7/95  -  Minor tweaks and code rearrangement.
  44. # 2.2  6/95  -  Text filters act only on current line if "Apply to Buffer" is
  45. #                  false and no text has been selected.
  46. #               Bug fix in error-marking for scripts sent as AppleEvent params.
  47. #               Cmd-dbl-clicking a function call jumps to function, if
  48. #                  defined in the same file.
  49. # 2.1  6/95  -  Cmd-dbl-clicking a 'require'd filename opens the file.
  50. # 2.0  6/95  -  Minor bug fixes (incl. keyword decapitalization)
  51. #               Alpha 6.0b17 compatibility updates.
  52. #               Text Filters folder is settable from the App Paths menu now.
  53. # 1.9  5/95  -  Cmd-dbl-clicking Perl keywords and special variables displays
  54. #                  the man page info.
  55. # 1.81 4/95  -  one very minor Alpha compatibility update (winInfo->getWinInfo).
  56. # 1.8  4/95  -  Menu reorganized somewhat.
  57. #               Text Filters folder can now be anywhere.
  58. #               "ApplyToBuffer" flag ignored if text has been selected.
  59. #               Bug fixes.
  60. # 1.7  1/95  -  Updated to take advantage of MacPerl 4.1.4 AppleEvent features:
  61. #                1) Text filters use 'batch' doScript (.: STDOUT file obsolete)
  62. #                2) Filter scripts sent as doScript params (.: SCRIPT file obsolete)
  63. #                3) "Save As Droplet" and "Save as Runtime" commands added.
  64. #               Errors generated in 'require'd files are now displayed correctly
  65. # 1.6 10/94  -  "UseDebugger" flag added (forces scripts to run under debugger).
  66. #               Key bindings added for some menu commands.
  67. #               "perlDoScript{,2,3}" procs consolidated into a single proc.
  68. #               "saveAndRun" option added.
  69. #               Command-line args now parsed into units more correctly, in
  70. #                   particular, quoted file names aren't broken up.
  71. #               "Close Output Window" added to "Tell MacPerl" menu.
  72. #               Updated for Alpha 5.98 to load when menu is inserted.
  73. #               The error messages window is now recycled.
  74. #               "perlRecycleOutput" recycles output window.
  75. #               Minor bug fixes.
  76. # 1.5  9/94  -  MacPerl menu rearranged somewhat.
  77. #               Explicit "Get Output Window" command added to menu.
  78. #               Reading "#!" line for args is incompatible w/ standard,
  79. #                   so it's been dropped.
  80. #               Only scan the first 40 output lines for error messages (faster)
  81. #                "wrapFilterScript" no longer opens STDIN
  82. #               Text filters may now use command-line args
  83. #               STDIN for text filters passed as explicit cmd-line arg 
  84. # 1.4  9/94  -  The "#!" line of every script is read for command-line args,
  85. #                    which are passed explicitly to MacPerl with the script.
  86. #                "PromptForArgs" menu flag added.
  87. #                "perlCmdlineArgs" modeVar holds default command-line args.
  88. #                Scripts are sent using custom "perlDoScript2" proc, which
  89. #                    allows passing of explicit command-line args.
  90. # 1.3  9/94  -  When any script generates a compilation error, the file 
  91. #                    containing the script is brought up with the offending 
  92. #                    line highlighted; all error output is also written to
  93. #                    a "Perl Error Messages" window.
  94. #                'repeatLastFilter' runs again the last text-filter script used.
  95. #                'perlLastFilter' modeVar holds pathname of last filter.
  96. #                Menu flags now mirrored as modeVars, so they can be saved and
  97. #                    restored between sessions.
  98. #                Minor bug fixes.
  99. # 1.2  8/94  -  'retrieveOutput' and 'autoSwitch' flags added.
  100. #                'openInMacperl' added.
  101. #                MacPerl output window now closed before new scripts are sent.
  102. #                Filters now abort if there are compilation errors, and
  103. #                MacPerl diagnostic output retrieved and displayed in Alpha.
  104. # 1.1  8/94  -  'quitMacperl' added.
  105. #               perl-mode file-marking updated for Alpha 5.90
  106. #               Simplified installation via 'loadMacperl'(Pete Keleher). 
  107. # 1.0  7/94  -  perl-mode setup updated for Alpha 5.85:
  108. #                    keyword colorization supported
  109. #                    custom file-marking added
  110. #               #! lines in filter scripts now handled correctly 
  111. #               Workarounds installed for AppleEvent bug in MacPerl 4.1.3
  112. # 0.9  3/94  -  perl-mode stuff added, and
  113. #               highlighted 'Perl commands' file (man page) prepared
  114. #               minor bug fixes, too
  115. # 0.8  3/94  -  flags are now check-marked
  116. # 0.7  3/94  -  nested Text Filters folder now supported
  117. #               menu format modified somewhat
  118. # 0.6  3/94  -  'applyToBuffer' flag added
  119. #               scripts in Alpha buffers can now be used as filters 
  120. # 0.5  2/94  -  'filters', 'open special' submenu added
  121. #               'overwrite' flag added
  122. # 0.2  1/94  -  menu support added (Martijn Koster <m.koster@nexor.co.uk>)
  123. #               'execute selection', 'execute buffer' commands added
  124. # 0.1  9/93  -  text filter functionality created
  125. #                  
  126. ##############################################################################
  127.