| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
This fileContent will be be used later to analyze the difference
between the content of original scruffy file and the content of the
scruffy file which is parsed through different Parsers.
|
|
|
|
| |
used license/Liberate.java to do the job. automation rocks.
|
|
|
|
|
|
| |
scruf's stylesheet is updated.
modified: conversion/ConvertDirectory.java
|
|
|
|
|
|
|
| |
conversion/ConvertDirectory.java, this has been rectified.
modified:
conversion/ConvertDirectory.java
|
|
|
|
|
|
|
|
| |
styling/StyleChecker.java is changed to 'check()'.
modified:
conversion/ConvertDirectory.java
styling/StyleChecker.java
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
removed:
parsers/DocumentName.java (MetaParser supersedes this Parser)
added:
parsers/MetaParser.java (it looks for meta info and updates them to PresentFile)
modified:
conversion/ConvertFile.java (now it initiates some of the PresentFile fields to null)
parsers/Header.java (Meta field 'author' added)
parsers/ParserList.java (added MetaParser, removed DocumentName)
status/PresentFile.java (new field 'author')
todo (update todo)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
license/Liberate.java.
added:
parsers/Source.java (New Parser, adds a link to the 'scruffy' source file)
modified:
conversion/CanConvert.java (bug-fix)
conversion/CreateHtmlFile.java (we have two versions of the create()
method now)
license/Liberate.java (regex fix)
parsers/ParserList.java (new parser added, see above)
|
|
|
|
|
| |
conversion/CreateHtmlFile.java
conversion/ignore/Ignored.java
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
commit is an un-stable commit. It has bugs.
removed:
io/PresentFile.java (moved to status/PresentFile.java)
added:
conversion/CreateHtmlFile.java (creates a corresponding '.html' file
for a given '.scruffy' marked-up
file)
(needs some fine-tuning)
status/PresentFile.java (see above)
modified:
conversion/ConvertFile.java (CreatHtmlFile object takes care of
producing a corresponding html 'File')
conversion/FileSieve.java (regex modified to reflect the
'.scruffy' extension)
index/IndexCreator.java (edits to reflect the '.scruffy' extension)
parsers/BackButton.java (edit to reflect the '.scruffy' extension)
parsers/DocumentName.java (edit to reflect the package change for
PresentFile class)
parsers/Header.java (edit to reflect the package change for
PresentFile class)
todo (updated todo)
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.)
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
.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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
parsers/Footer.java: Aesthetic modification.
parsers/Header.java: add "meta" tags for the html output, mainly for
compliance sake. I have also re-arranged the html tags a bit -- the
"back button" is now the last thing in the <article> block.
parsers/Images.java (bug-fix): The regex had small precisely
deducting images, so the regex was slightly modified to make all
work properly. There was another significant change made to the way
the image tag is created -- "alt" is mandatory now, even if the
markup doesn't give a "alt" for the <img> tag, a default "alt" is
created -- the image-file-name.
parsers/Links.java: From now on, the links generated will not have
'target="_blank"`, I felt that the reader must choose whether to
open the link in a new window/tab, so the change. Period. In the
last revision, link description was made optional in the link
mark-up, the regex was slightly erroneous, I rectified it.
parsers/Paragraphs.java: As of this revision, the <p> generation is
still rough around the edges, I need to smoothen it in future
revisions.
parsers/ParserList.java: Order of parser list was modified -- now,
Paragraphs comes before Headings, it was the reverse before.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
--> conversion/FileSieve.java : regex modified to ignore hidden files.
--> parsers/Images.java : html tag (for image) was erroneous, it was rectified and as a consequence we got rid of 3
lines
of code.
|
|
|