Changeset 653

Show
Ignore:
Timestamp:
03/13/05 16:58:30 (4 years ago)
Author:
autrijus
svk:copy_cache_prev:
1998
Message:

* GHC 6.4 compilation sanity; more releng work; bump version

Files:
8 modified

Legend:

Unmodified
Added
Removed
  • MANIFEST

    r622 r653  
    11AUTHORS 
    22ChangeLog 
     3doc/pa01.kwid 
    34doc/perlkwid.kwid 
    45docs/01Overview.html 
     
    1112docs/zh-tw/01Overview.html 
    1213examples/fp.p6 
     14examples/golf/head.p6 
     15examples/golf/mid.p6 
     16examples/golf/rev.p6 
     17examples/golf/tail.p6 
     18examples/golf/tsanta.pl 
     19examples/golf/wc.p6 
    1320examples/hanoi.p6 
    1421examples/hashes/simpleiter.p6 
     
    7178MANIFEST.SKIP 
    7279META.yml 
    73 modules/Locale-KeyedText/lib/Locale/KeyedText.pm 
    74 modules/Locale-KeyedText/Makefile.PL 
    75 modules/Locale-KeyedText/t/lib/t_Locale_KeyedText_A_L_Eng.pm 
    76 modules/Locale-KeyedText/t/lib/t_Locale_KeyedText_A_L_Fre.pm 
    77 modules/Locale-KeyedText/t/lib/t_Locale_KeyedText_B_L_Eng.pm 
    78 modules/Locale-KeyedText/t/lib/t_Locale_KeyedText_B_L_Fre.pm 
    79 modules/Locale-KeyedText/t/test.t 
    80 modules/Sample-Module/lib/Sample/Module.pm 
    81 modules/Sample-Module/Makefile.PL 
    82 modules/Sample-Module/t/test.t 
    8380README 
     81script/pugscc 
    8482SIGNATURE 
    8583src/AST.hs 
     
    9694src/Monads.hs 
    9795src/Parser.hs 
    98 src/Parser/Kwid.hs 
    9996src/Posix.hs 
    10097src/Pretty.hs 
    10198src/Prim.hs 
    102 src/pugs_config.h 
    10399src/Rule.hs 
    104100src/Rule/Char.hs 
     
    183179t/op/shift.t 
    184180t/op/smartmatch.t 
     181t/op/sort.t 
    185182t/op/splat.t 
    186183t/op/split.t 
  • MANIFEST.SKIP

    r571 r653  
    11#defaults 
     2^\.hsproject 
     3^\.project 
     4^\.settings 
    25^pugs 
    36^tags 
     
    1417\.hi$ 
    1518\.o.*$ 
    16 ^pugs_config\.h 
    17 ^pugs_version\.h 
     19pugs_config\.h 
     20pugs_version\.h 
    1821\.svn 
    1922.DS_Store$ 
    20 docs/tutorial-utf8-2.txt 
    2123src/Config.hs 
    2224src/pugs_version.h 
  • META.yml

    r342 r653  
    1010  directory: 
    1111    - inc 
     12    - modules 
    1213generated_by: Module::Install version 0.36 
  • Makefile.PL

    r630 r653  
    4141create_config_h (); 
    4242set_postamble   (); 
    43  
     43no_index        (directory => 'inc', 'examples'); 
    4444WritePugs       (sign => 1); 
    4545 
     
    7171        postamble(<< "."); 
    7272$version_h : $svn_entries 
    73         \$(PERLRUN) Makefile.PL -version 
     73        \$(PERLRUN) Makefile.PL -version 
    7474 
    7575. 
     
    135135sub set_postamble { 
    136136    my @srcfiles = map glob("$_/*.hs"), @srcdirs; 
     137 
     138    # turning off unused imports and deprecations for GHC6.4. 
     139    my $ghc_flags = "-static -Wall -fno-warn-deprecations -fno-warn-missing-signatures -fno-warn-name-shadowing"; 
     140 
    137141    postamble(nativize(<< ".")); 
    138142src/Config.hs : util/PugsConfig.pm 
    139         $Config{perlpath} -Iutil -MPugsConfig -e "PugsConfig->write_config_module" > src/Config.hs 
     143        $Config{perlpath} -Iutil -MPugsConfig -e "PugsConfig->write_config_module" > src/Config.hs 
     144 
     145profiled :: src/Config.hs @srcfiles $version_h 
     146        ghc -auto-all -prof --make $ghc_flags -o pugs src/Main.hs -isrc 
    140147 
    141148optimized :: src/Config.hs @srcfiles $version_h 
    142         ghc -O2 --make -Wall -fno-warn-missing-signatures -fno-warn-name-shadowing -o pugs src/Main.hs -isrc 
     149        ghc -O2 --make $ghc_flags -o pugs src/Main.hs -isrc 
    143150 
    144151$pugs : src/Config.hs @srcfiles $version_h 
    145         ghc --make -Wall -fno-warn-missing-signatures -fno-warn-name-shadowing -o pugs src/Main.hs -isrc 
     152        ghc --make $ghc_flags -o pugs src/Main.hs -isrc 
    146153 
    147154tags : 
    148         hasktags -c src 
     155        hasktags -c src 
    149156 
    150157INST6_ARCHLIB = ${\ File::Spec->catfile('blib6', 'arch')} 
     
    156163 
    157164pure_site_install :: 
    158         \$(NOECHO) \$(MOD_INSTALL) \\ 
    159                 \$(INST6_LIB) \$(DESTINSTALLPRIVLIB) \\ 
    160                 \$(INST6_ARCHLIB) \$(DESTINSTALLARCHLIB) \\ 
    161                 \$(INST6_BIN) \$(DESTINSTALLBIN) \\ 
    162                 \$(INST6_SCRIPT) \$(DESTINSTALLSCRIPT) \\ 
    163                 \$(INST6_MAN1DIR) \$(DESTINSTALLMAN1DIR) \\ 
    164                 \$(INST6_MAN3DIR) \$(DESTINSTALLMAN3DIR) 
     165        \$(NOECHO) \$(MOD_INSTALL) \\ 
     166                \$(INST6_LIB) \$(DESTINSTALLPRIVLIB) \\ 
     167                \$(INST6_ARCHLIB) \$(DESTINSTALLARCHLIB) \\ 
     168                \$(INST6_BIN) \$(DESTINSTALLBIN) \\ 
     169                \$(INST6_SCRIPT) \$(DESTINSTALLSCRIPT) \\ 
     170                \$(INST6_MAN1DIR) \$(DESTINSTALLMAN1DIR) \\ 
     171                \$(INST6_MAN3DIR) \$(DESTINSTALLMAN3DIR) 
    165172. 
    166173} 
  • README

    r342 r653  
    1616    b) the Artistic License, version 2.0beta5. 
    1717 
    18 Please see the "GPL-2" and "Artistic-2" files under the LICENSE/ directory 
     18Please see the "GPL-2" and "Artistic-2" files under the "LICENSE" directory 
    1919for the full license text. 
    2020 
     
    4949    nntp://nntp.perl.org/perl.perl6.compiler                (NNTP) 
    5050 
    51 Please submit bug reports to <bug-perl6-pugs@rt.cpan.org>. 
     51Please submit bug reports to <pugs@rt.perl.org>. 
    5252 
    5353WEB SITES 
  • lib/Perl6/Pugs.pm

    r615 r653  
    33use strict; 
    44 
    5 $Pugs::VERSION = v6.0.10; 
     5our $VERSION = '6.0.11'; # makemaker doesn't like v-strings. 
    66 
    77=head1 NAME 
     
    1111=head1 VERSION 
    1212 
    13 This document describes version 6.0.10 of Pugs, released March 5, 2005. 
     13This document describes version 6.0.11 of Pugs, released March 13, 2005. 
    1414 
    1515=head1 SYNOPSIS 
     
    4040L<http://groups-beta.google.com/group/perl.perl6.compiler> 
    4141 
    42 Please submit bug reports to E<lt>bug-perl6-pugs@rt.cpan.orgE<gt>. 
     42Please submit bug reports to E<lt>pugs@rt.perl.org<gt>. 
    4343 
    4444=head1 COPYRIGHT 
     
    5252    b) the Artistic License, version 2.0beta5. 
    5353 
    54 For the full license text, please see the "GPL-2" and "Artistic-2" files under 
    55 the LICENSE/ directory of the Pugs distribution. 
     54For the full license text, please see the F<GPL-2> and F<Artistic-2> files 
     55under the F<LICENSE> directory in the Pugs distribution. 
    5656 
    5757=cut 
  • src/AST.hs

    r635 r653  
    531531    case find ((== name) . symName) glob of 
    532532        Just Symbol{ symExp = Val ref } -> readMVal ref 
     533        Just _  -> internalError "readVar failed on non-value bindings" 
    533534        Nothing -> return VUndef 
    534535 
  • src/Posix.hs

    r415 r653  
    3232#else 
    3333 
    34 import System.IO.Error 
    3534import System.Posix.Types 
    3635import System.Environment 
    3736 
    3837#if __GLASGOW_HASKELL__ <= 602 
     38import System.IO.Error 
    3939import Data.Maybe (catMaybes) 
    4040