Source

lrc / src / compiler / lrc.cxx

Author Commit Message Labels Comments Date
Andreas Tscharner
Add some debug information to the main compiler file
Andreas Tscharner
Add include for unistd.h for correct compilation with gcc 4.7, close 2
Andreas Tscharner
Fix usage
Andreas Tscharner
Fix a potential memory leak in lrc compiler
Andreas Tscharner
Complete encryption: Get password from commandline (not only Encryption Type)
Andreas Tscharner
Complete encryption: Add option -e * Add option -e for encrypting the whole file - Check for it - Add new option also in usage * InFileParser: Move eval_encryption_type from protected to public scope and make it static * Evaluate encryption type with piblic static method in InFileParser
Andreas Tscharner
Complete compression: Implement compression in reading and writing classes * Re-arrange reading and writing: Use memory instead of a file directly * Use existing factory and compression/decompression classes
Andreas Tscharner
Complete compression: Prepare methods for complete compression type * Writing/Creating resource file: Collector * Reading resource file: ResourceManager * Adapt compiler * Adapt examples
Andreas Tscharner
Complete compression: Evaluate correct compression type * Make eval_compression_type public and static * Use it in compiler
Andreas Tscharner
Complete compression: Add option -c * Check and get option and argument from command line * Make a first validation for it
Andreas Tscharner
Updated documentation
Andreas Tscharner
Prepare for the second input file type * Create a new base class for input file parsing InFileParser * Move generally used methods and members from RCParser to base class * Create a factory for input file parser classes * Use factory in main compiler function to create parser class - also rename a few variables to reflect that there are other types possible
Andreas Tscharner
Prepare for the second input file type by renaming a few things * Renamed ERROR_PARSE_RC to ERROR_PARSE * Renamed rcFilePosition to inFilePosition
Andreas Tscharner
Fix a warning in compiler
Andreas Tscharner
Change license: from GNU GPL 2+ to GNU LGPL 3+
Andreas Tscharner
Add a small description to the usage information and show it with option -h
Andreas Tscharner
Fix usage message
Andreas Tscharner
Define tuple<int, int> as rcFilePosition and use it
Andreas Tscharner
Updated a few documents and files to get ready for 0.1
Tags
0.1
Andreas Tscharner
Quit compiler if parsing failes
Andreas Tscharner
Fix typo in RCParser method
Andreas Tscharner
Implement collect method - New methdo in ResourceData: prepare_resource_from_file - Use new method in Collector::collect - A lot of new codes in StatusCodes.hxx - Check return value in main from collect
Andreas Tscharner
Get resource entries from parser and provide them the collector
Andreas Tscharner
One more parameter for Collector class ctor * The RC file was added as parameter for the ctor of the Collector class * Started implementing the collect() method
Andreas Tscharner
Started with implementation of new Collector class * New files for class Collector.hxx and .cxx * Added new file to Makefile * New exception which can be thrown from Collector * Use Collector in main program and add new option to define the behavior of the collector Only constructor and destructor of the Collector have been implemented
Andreas Tscharner
Handle -o option: The resource output file (.rdf) * Accept input file (.rc) and save it in separate variable * Check for -o option in given arguments and accept it if available - Make a new rdf from input filename if it is omitted * Add two new functions to Utils to handle file extensions
Andreas Tscharner
Added documentation main page text
Andreas Tscharner
Implement parsing in lrc.cxx and fix found issues
Andreas Tscharner
First compilable version (no functions yet) * Add ResourceData.* with implementation of the class of the same name * Add dummy lrc.cxx * Use standard/simple constructor for Resource class * Several changes to fix compiler errors * Fix typos * Comment stuff out that's not ready (documentation)