summaryrefslogtreecommitdiffstats
path: root/conversion/ConvertDirectory.java
Commit message (Collapse)AuthorAgeFilesLines
* [fix] stylesheet is updated, in all scruf aware directories, if the default ↵rsiddharth2012-12-301-3/+6
| | | | | | scruf's stylesheet is updated. modified: conversion/ConvertDirectory.java
* [bug-fix]: The StyleChecker object was not used correctly in ↵rsiddharth2012-12-231-10/+3
| | | | | | | conversion/ConvertDirectory.java, this has been rectified. modified: conversion/ConvertDirectory.java
* [method named changed]: The method named 'resolve()' in ↵rsiddharth2012-12-211-1/+1
| | | | | | | | styling/StyleChecker.java is changed to 'check()'. modified: conversion/ConvertDirectory.java styling/StyleChecker.java
* [bug-fix]: Each directory is checked if it contains the style.css, ifrsiddharth2012-12-211-8/+21
| | | | | | | | | | not present a new style.css in copied to the respective location. To reflect this, styling.StyleChecker class is used in conversion.ConvertDirectory instead of scruf.Scruf. modified: Scruf.java conversion/ConvertDirectory.java
* added:rsiddharth2012-11-091-2/+10
| | | | | | | | | | | | conversion/ignore/ conversion/ignore/Ignored.java (a class getting info about ignored child-directories, in the present directory) modified: conversion/ConvertDirectory.java (added code to check if the child-directory is in the ignored list) docs/scruf (started sketching out documentation on how to use scruf) styling/style.css todo
* added:rsiddharth2012-10-311-3/+10
| | | | | | | | | | | | | | | | | | | | | | status/ status/DirectoryInfo.java (record the directory 'level' at which scruf is parsing with respect to 'root' directory.) modified: Scruf.java (added a line to start the directory level count at zero) conversion/ConvertDirectory.java (DirectoryInfo.level used to take count of directory 'leve') conversion/ConvertFile.java (lines related to 'footer' things were removed) io/PresentFile.java ( 'footer' & 'backButton' field removed) parsers/BackButton.java (back button placement happens in the parse method itself, instead of doing it in Header.java) (back button is not placed, if the present directory is root directory) parsers/Footer.java (footer placement happens in the parse method itself, instead of doing it in Header.java) parsers/Header.java (back button placement & footer placement removed.)
* modified:rsiddharth2012-10-311-1/+0
| | | | | | | | | conversion/ConvertDirectory.java (minor edit) index/IndexCreator.java (removed code which (1) creates a index file, if it is not present (2) checks for the existence of index.html) io/WriteFile.java (made the stdout message more verbose) parsers/Header.java ('scruf' footer links to scruf's project page) todo (1 task completed)
* modified:rsiddharth2012-10-271-2/+3
| | | | | | | | | | | | | | | | | | | .bzrignore conversion/ConvertDirectory.java (bug-fix) It is checked whether file "index" is modified since the last conversion. This check was not performed before. conversion/ConvertFile.java Some optimization there. Now we check if the file content is "empty" before we delve into conversion. index/IndexCreator.java # "index" file is created in the directory, if it is not created. # write() renamed to shouldConvert(). The method now returns true when a link is added to 'index' or when the index.html file does not exists. io/ReadFile.java # Exception message for made verbose. todo
* removed:rsiddharth2012-10-251-1/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | notes writefile added: COPYING -- gpl text (full) modified: Initialization.java Scruf.java conversion/CanConvert.java conversion/ConvertDirectory.java conversion/ConvertFile.java conversion/FileSieve.java index/IndexCreator.java io/PresentFile.java io/ReadFile.java io/WriteFile.java license/Liberate.java parsers/BackButton.java parsers/CodeBlocks.java parsers/DocumentName.java parsers/Footer.java parsers/Header.java parsers/Headings.java parsers/Images.java parsers/LineBreak.java parsers/Links.java parsers/NullIt.java parsers/Paragraphs.java parsers/ParserList.java parsers/WordDecoration.java styling/StyleChecker.java >> All the .java files were 'baptized' for 100% software freedom. todo -- minor edit. license/gpl -- minor edit again.
* conversion/ConvertDirectory.java: only a small addition -- to print out the ↵rsiddharth2012-06-241-0/+1
| | | | | | | | | | | | | | file that is under "conversion" conversion/FileSieve.java: update the regex to ignore hidden files, ".ttf" files. parsers/Header.java: * Now the blog post goes bettween the <article> & </article> tag, Header class was modified to reflect this change. * "Powered by scruf" line must go at the bottom of every html page that is generated by this program, Header class was modified to reflect this. parsers/Images.java: I have modified the "regex" and relevant code to make the "image description" optional.
* scruf is "bzr"ed now.rsiddharth2012-06-231-0/+40