Change 187

barrie_slaymaker (Barrie Slaymaker)
Barrie Slaymaker committed this change into //guest/barrie_slaymaker/safari/src
Request Review
Download .zip
Added lots of options to saf_http_out to let the source file
       be used to figure out file type for determining filter and
       tool menus.  Changed Makefiles to pass the original source file
       name in to saf_http_out.

       Added --PRE to saf_http_out.  This is good for displaying plain
       text versions of HTML files.

       Improved the tool and filter logic in Safari::Edit::p4.pm to work
       with original file type to determine what makes sense for what kind
       of file. This really needs to be generalized in to a config file
       instead of being buried in a module.

       Increased usage of HTML::Entities::encode_entities instead of s///g .

       Moved Content-type: header to after the edit() routine call and
       now we pass and recover mime-type as an option.

       Added SAF_TARGET to environment under cgimake,

       Fixed updirectory counting, which broke when cgimake started
       parsing the project name from PATH_INFO.

       Removed all edit routines from saf_http_out.conf files.

       NOTE: we can now fall back to a single cgimake.conf file. Any day now.
  • Files 11
  • Comments 0
11 edited 0 added 0 deleted
conf/bin/saf_http_out#4
Loading...
conf/perforce/Makefile#4
Loading...
conf/perforce/cgimake.conf#4
Loading...
conf/perforce/saf_http_out.conf#4
Loading...
conf/perl/Makefile#5
Loading...
conf/perl/cgimake.conf#6
Loading...
conf/perl/saf_http_out.conf#4
Loading...
conf/perllib/Makefile#4
Loading...
conf/perllib/cgimake.conf#4
Loading...
conf/perllib/saf_http_out.conf#4
Loading...
lib/Safari/Edit/p4.pm#4
Loading...
Tip: Use n and p to cycle through the changes.