Changeset 15392 for lang/gauche

Show
Ignore:
Timestamp:
07/07/08 21:18:48 (5 months ago)
Author:
kiyoka
Message:

0.3.0 Released.

Location:
lang/gauche/oldtype/branches/stable
Files:
2 removed
6 modified

Legend:

Unmodified
Added
Removed
  • lang/gauche/oldtype/branches/stable/Kahua/oldtype/oldtype/util.kahua

    r14312 r15392  
    334334       (a/ (@/ (href (string-append (oldtype:static-base-path) "oldtype-mode.el"))) 
    335335           "[Download oldtype-mode.el now]")) 
     336 
     337      ;; input comment 
     338      ((comment) 
     339       (form/ (@/ (action ".")) 
     340              (table/ 
     341               (tr/ (th/ "Post a comment")) 
     342               (tr/ (td/ 
     343                     "Name:" 
     344                     (input/ 
     345                      (@/ (type "text") (value "") (size 20))))) 
     346               (tr/ (td/ 
     347                     (textarea/ 
     348                      (@/ (cols 120) (rows 3))))) 
     349               (tr/ (td/ 
     350                     (input/ (@/ (type "submit") (value "Submit comment")))))))) 
     351 
     352      ;; no listing to !RecentChanges 
     353      ((nolist) 
     354       (p/ "")) 
     355 
    336356      (else 
    337357       `(p/ ,(format "!!Error : no such macro \"~a\"!!" command)))))) 
  • lang/gauche/oldtype/branches/stable/Kahua/oldtype/oldtype/version.kahua

    r14934 r15392  
    77 
    88;;--------------------------------------------------------- 
    9 (define *oldtype-version* "0.2.9") 
     9(define *oldtype-version* "0.3.0") 
  • lang/gauche/oldtype/branches/stable/bin/batch.sh

    r13289 r15392  
    3030function task () { 
    3131  ${OT_HOME}/bin/update.sh && 
    32   ${OT_HOME}/bin/convert.sh && 
    3332  ${OT_HOME}/bin/ot_AllPages && 
    3433  ${OT_HOME}/bin/ot_RecentChanges && 
    3534  ${OT_HOME}/command/blog && 
     35  ${OT_HOME}/bin/convert.sh && 
    3636  ${OT_HOME}/bin/add.sh && 
    3737  ${OT_HOME}/bin/commit.sh 
    3838  #run-parts ${OT_HOME}/hook 
     39  echo -n [info] sleep... 
    3940  sleep 5 
     41  echo wakeup 
    4042} 
    4143 
  • lang/gauche/oldtype/branches/stable/bin/convert.sh

    r13289 r15392  
    4444done 
    4545 
     46function convert_p() { 
     47  base=$1 
     48# echo "file is ${base}.ot" 
     49  echo ${base} | grep "!" > /dev/null 
     50  generated=$? 
     51  if [ "0" = $generated ] ; then 
     52    diffs=`_svn t diff ${base}.ot | wc -l | awk '{ print $1; }'` 
     53#    echo diffs : ${diffs} 
     54    [ "0" != "${diffs}" -o ! -f ../_out/${base}.sexp ] 
     55    status=$? 
     56#    echo status : ${status} 
     57  else  
     58    [ "${base}.ot" -nt ../_out/${base}.sexp ] 
     59    status=$? 
     60#    echo status : ${status} 
     61  fi 
     62  return $status 
     63} 
     64 
     65 
    4666for f in $filelist; 
    4767do 
    4868  base=`basename ${f} .ot` 
    49   if [ "${base}.ot" -nt ../_out/${base}.sexp ] ; then 
     69  convert_p ${base} 
     70  if [ "0" = "$?" ] ; then 
    5071      echo "[" ${base} "]" 
    5172      _svn t ann "${f}@HEAD" > ../_tmp/tmp.ann 
  • lang/gauche/oldtype/branches/stable/bin/ot_RecentChanges

    r10965 r15392  
    2020      eval ${line} 
    2121      name=`basename ${name} .ot` 
    22       echo "- ##(timestamp ${commit_utc}) ##(since ${commit_utc}): [[${name}]] by ([[${commit_author}]])" 
     22      if `grep '##(nolist)' ${OT_EDITHOME}/edit/${name}.ot > /dev/null` ; then 
     23        status=0 
     24      else 
     25        echo "- ##(timestamp ${commit_utc}) ##(since ${commit_utc}): [[${name}]] by ([[${commit_author}]])" 
     26      fi 
    2327  fi 
    2428done | sort -r | head -${DISPLAY_LINES} >> ${OT_EDITHOME}/edit/!RecentChanges.ot.tmp 
  • lang/gauche/oldtype/branches/stable/command/blog

    r14934 r15392  
    2222                           "[.]([0-9]+)"))))) 
    2323 
    24 (define (output-blog save-filename entrylist) 
     24(define (output-blog save-filename entrylist appendix) 
    2525  (with-output-to-file save-filename 
    2626    (lambda () 
     
    3737                  (string-append "* [[" (oldtype:otpath->wikiname filename) "]]")))) 
    3838             (for-each print (port->string-list (current-input-port)))))) 
    39        entrylist)))) 
     39       entrylist) 
     40      (display appendix) 
     41      (newline)))) 
    4042 
    4143 
     
    5860               (cons 
    5961                ot-blog-header 
    60                 (take (ot-blog-entrylist) ot-new-entry-limit))) 
     62                (take (ot-blog-entrylist) ot-new-entry-limit)) 
     63               "") 
    6164  (output-blog-list (string-append ot-blog ".list.ot") 
    6265                    (ot-blog-entrylist)) 
     
    6871                    (cons 
    6972                     ot-blog-header 
    70                      (reverse entries))))) 
     73                     (reverse entries)) 
     74                    "##(nolist)"))) 
    7175   (oldtype:grouping-blog-entries 
    7276    (ot-blog-entrylist)))