Changeset 15392 for lang/gauche
- Timestamp:
- 07/07/08 21:18:48 (5 months ago)
- Location:
- lang/gauche/oldtype/branches/stable
- Files:
-
- 2 removed
- 6 modified
-
Kahua/oldtype/oldtype/dot20.xcf (deleted)
-
Kahua/oldtype/oldtype/kahualib.scm (deleted)
-
Kahua/oldtype/oldtype/util.kahua (modified) (1 diff)
-
Kahua/oldtype/oldtype/version.kahua (modified) (1 diff)
-
bin/batch.sh (modified) (1 diff)
-
bin/convert.sh (modified) (1 diff)
-
bin/ot_RecentChanges (modified) (1 diff)
-
command/blog (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lang/gauche/oldtype/branches/stable/Kahua/oldtype/oldtype/util.kahua
r14312 r15392 334 334 (a/ (@/ (href (string-append (oldtype:static-base-path) "oldtype-mode.el"))) 335 335 "[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 336 356 (else 337 357 `(p/ ,(format "!!Error : no such macro \"~a\"!!" command)))))) -
lang/gauche/oldtype/branches/stable/Kahua/oldtype/oldtype/version.kahua
r14934 r15392 7 7 8 8 ;;--------------------------------------------------------- 9 (define *oldtype-version* "0. 2.9")9 (define *oldtype-version* "0.3.0") -
lang/gauche/oldtype/branches/stable/bin/batch.sh
r13289 r15392 30 30 function task () { 31 31 ${OT_HOME}/bin/update.sh && 32 ${OT_HOME}/bin/convert.sh &&33 32 ${OT_HOME}/bin/ot_AllPages && 34 33 ${OT_HOME}/bin/ot_RecentChanges && 35 34 ${OT_HOME}/command/blog && 35 ${OT_HOME}/bin/convert.sh && 36 36 ${OT_HOME}/bin/add.sh && 37 37 ${OT_HOME}/bin/commit.sh 38 38 #run-parts ${OT_HOME}/hook 39 echo -n [info] sleep... 39 40 sleep 5 41 echo wakeup 40 42 } 41 43 -
lang/gauche/oldtype/branches/stable/bin/convert.sh
r13289 r15392 44 44 done 45 45 46 function 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 46 66 for f in $filelist; 47 67 do 48 68 base=`basename ${f} .ot` 49 if [ "${base}.ot" -nt ../_out/${base}.sexp ] ; then 69 convert_p ${base} 70 if [ "0" = "$?" ] ; then 50 71 echo "[" ${base} "]" 51 72 _svn t ann "${f}@HEAD" > ../_tmp/tmp.ann -
lang/gauche/oldtype/branches/stable/bin/ot_RecentChanges
r10965 r15392 20 20 eval ${line} 21 21 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 23 27 fi 24 28 done | sort -r | head -${DISPLAY_LINES} >> ${OT_EDITHOME}/edit/!RecentChanges.ot.tmp -
lang/gauche/oldtype/branches/stable/command/blog
r14934 r15392 22 22 "[.]([0-9]+)"))))) 23 23 24 (define (output-blog save-filename entrylist )24 (define (output-blog save-filename entrylist appendix) 25 25 (with-output-to-file save-filename 26 26 (lambda () … … 37 37 (string-append "* [[" (oldtype:otpath->wikiname filename) "]]")))) 38 38 (for-each print (port->string-list (current-input-port)))))) 39 entrylist)))) 39 entrylist) 40 (display appendix) 41 (newline)))) 40 42 41 43 … … 58 60 (cons 59 61 ot-blog-header 60 (take (ot-blog-entrylist) ot-new-entry-limit))) 62 (take (ot-blog-entrylist) ot-new-entry-limit)) 63 "") 61 64 (output-blog-list (string-append ot-blog ".list.ot") 62 65 (ot-blog-entrylist)) … … 68 71 (cons 69 72 ot-blog-header 70 (reverse entries))))) 73 (reverse entries)) 74 "##(nolist)"))) 71 75 (oldtype:grouping-blog-entries 72 76 (ot-blog-entrylist)))
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)