Download Latest Version books-1.4.tar.bz2 (89.7 kB)
Email in envelope

Get an email when there's a new version of Books

Home
Name Modified Size InfoDownloads / Week
Old 2017-07-09
README 2017-08-27 9.3 kB
books-1.5.tar.bz2 2017-08-27 178.5 kB
Totals: 3 Items   187.8 kB 0
2017-08-27  Aiden Woodruff  <aidenpw@hotmail.com>

	Version 1.5
	Using gengetopt for command line options parsing.
	Created an option to use numbers in choice menus.

	* args.ggo: New file. Holds gengetopt config.

	* main.cc (main): Use string array returned from gengetopt for file. New variable for use of options.

	* choice.h (books::Choice): Added a constant for whether or not to display and process numbers.

	* list.h (books::List): Passes along options whitelist.

	* Makefile.am: Created clean-local hook that deletes file backups (matching *~ and #*#).

	* books.texi: Added chapter for invocation. Added a reference to new chapter.
	Removed some newlines

2017-07-21  Aiden Woodruff  <aidenpw@hotmail.com>

	* Makefile.am: Changed books.tex from EXTRA_DIST to info_TEXINFOS
	Added uninstall-local to remove directory for database.

	* TODO: Added entry to continue work on manual.

	* books.texi: Renamed from books.tex.
	Using Automake's version.texi file.
	Added @author tag.
	Inserted @copying at end of nodes

	* configure.ac: Version changed to 1.5

	* main.cc (main): Default file changed from `booklist.dat` to $HOME/.books/booklist.dat
	Create .books folder if nonexistant
	Removed `using namespace std`
	One instance of `endl` instead of `std::endl` changed.

	* mdate-sh, stamp-vti, texinfo.tex: Added since utilizing Automake's Texinfo distribution system

	* version.texi: Used with Automake, holds and updates version variables and such.

2017-07-09  Aiden Woodruff  <bobpaw@thebrick.grover7.mynetgear.com>

	Version 1.4.

	* choice.h (Choice): Fixed error where after picking an incorrect choice, all the choices were lower-cased.

	* book.h (book_t): Removed increment and decrement of amount from constructor and deconstructor.

	* main.cc (main): Fixed error where saved price was multiplied by 100 but not divided on load.
	Changed error message from being about people to books. Removed precision. Combined initialization of ints. Got rid of label.
	Changed delete while loop to a for-loop. Changed tdb variable to delete_choice. Remove works.

	* configure.ac: Moved location of AC_CONFIG_HEADERS to beginning. Removed AC_PROG_CPP. Added check for the C library functions.
	Removed check for inline keyword.

2017-07-08 Aiden Woodruff <aidenpw@hotmail.com>

	Cleaned up old archives and autosaves.
	No longer using `using` token.
	Started using autotools.
	Minor version 3.

	* main.cc (main): Renamed file. Using nullptr instead of NULL. Use std::stoi and std::stof to get values from files and std::cin.

	* main.h (List, Sort, Choice, MkUpCase, MkLoCase, book_t): Renamed file. Included class and function headers.

	* book.h: New file with book_t class. Added #define guard. Added namespace books.
	(book_t::getInfo): Takes std::ostream argument.

	* case.h (MkUpCase, MkLoCase): Added #define guard. Added namespace books. Added std scope qualifier.

	* choice.h: Renamed file. Added #define guard. Added namespace books.
	(Choice): Use std::stoi rather than stringstream. Catch exception to check for numeric value. Uses bitflags (updated arguments).
	Capitalized function name. Prompt argument and flags argument are constant references. All calls were updated

	* list.h: Renamed file. Added #define guard. Added namespace books.
	(List): Use nullptr instead of NULL.

	* sort.h (Sort): Added TODO comment. Added #define guard. Added namespace books. type parameter is a constant reference

	* money.h (Money): New file. Holds type for two-decimal monetary representation. Work in progress.

	* getinfo.cpp: File removed and definition consolidated into book.h

2017-06-07 Aiden Woodruff <aidenpw@hotmail.com>

	* books.cpp (main): Initialized temp to NULL. Changed main menu values from std::vector constructor to brace-initializer.
	Changed one instance of books->amount to book_t::amount.

	* books.hpp (book_t): Created copy constructor, copy assignment, destructor, and constructor.

2017-01-15 Aiden Woodruff <aidenpw@hotmail.com>
*
	* makefile: Removed books-exe (windows) target from all target.

	* books.cpp (main): Changed books initializer from nullptr to NULL. Changed from using brace-initialization to a std::vector constructor

2017-01-04 20:12:22 -0600 (Wed, 04 Jan 2017) | 2 lines

	* makefile: Added books-exe target for windows compilation, assuming gcc cross-compilation.

2016-12-11 Aiden Woodruff <aidenpw@hotmail.com>

	* makefile: Creates temporary directory so that when files are unzipped, they're in one.

2016-10-28 Aiden Woodruff <aidenpw@hotmail.com>

	Released version 1.2.1

	* books.cpp (main): Created global variable bookFile, "booklist.dat" by default, or command-line parameter 1 (if provided).
	Removed a lot of goto statements in `Remove` option.

	* books.hpp: Removed preprocesser define of 'super'.

	* choice.cpp (choice): Added `useOptions` option, so it is automatically prepended to choices.
	Number of elements to choose from is converted to an int at beginning of function.

	* list.cpp (listBooks): When unspecified, prompt defaults to "Choice: ". Rewrote function to be shorter and use choice function.

	* case.cpp (mkUpCase, mkLoCase): Input string lengths are converted to int at beginning of function.

	* makefile: 'super' now defined here, for easier removal and greater stability.

2016-10-18 Aiden Woodruff <aidenpw@hotmail.com>

	Tagged version 1.2

	* README: New file, includes short guide. Added existance to Makefile

	* makefile: re-arranged some file listings. Added case.cpp.

	* choice.cpp (choice): No longer takes size parameter. Now optionally repeats question until a correct answer is given.
	Uses autocompletion so options can be picked via string and short string.

	* main.cpp (main): Some indentations fixed. Changed oDelete enum to oRemove.

	* case.cpp (mkUpCase, mkLoCase): New file with functions to capitalize and de-capitalize strings.

2016-10-11 Aiden Woodruff <aidenpw@hotmail.com>


	* launchemacs.bat: Launches emacs and opens files under windows system.

2016-10-01 Aiden Woodruff <aidenpw@hotmail.com>

	Tagged version 1.1.3
	Using cout.precision instead of setprecision

	* sort.cpp (sortBooks): Changed function name from sort. Updated all calls.

	* main.cpp (main): Choices shown in an enum so it's easier to find sub-sections.

2016-09-27 Aiden Woodruff <aidenpw@hotmail.com>

	Tagged version 1.1.2
	Using books->amount static member instead of bookAmount

	* list.cpp (listBooks): Removed bookAmount parameter. Updated all calls.

2016-09-19 Aiden Woodruff <aidenpw@hotmail.com>

	Tagged version 1.1.

	* choice.cpp (choice): Initialized number in for-loop.

	* books.cpp (main): Error where picking 0 in delete command deletes last book was fixed.

2016-09-18 Aiden Woodruff <aidenpw@hotmail.com>

	* getinfo.cpp (getInfo): Changed from getBookInfo. Updated all calls.

	* choice.cpp (choice): Stopped trying to use variadic templates. Fixed out-of-order for-loop.

	* books.cpp (main): Implemented a choice function.

2016-09-17 Aiden Woodruff <aidenpw@hotmail.com>

	* books.hpp (book_t): Changed filename from books.h. Changed book_t from struct to class.

	* choice.cpp (choice): New file. New function (uses variadic templates).

	* getinfo.cpp (getBookInfo): Now a member of class book_t. All calls updated.

	* makefile: books directive added to dist-tar target. Files added to tar target.

	* list.cpp (listBooks): char* argument changed to const string.

2016-09-15 Aiden Woodruff <aidenpw@hotmail.com>

	* boosk.geany: File removed.

	* books.cpp (main): Sort option added to main menu. Edit and sort options print "Not implemented" when in a non-release build.

	* makefile: Added target to tarball a release. Removed boosk.geany from everything.

	* list.cpp (listBooks): Added parameter for the prompt.

	* choice.cpp (choice): New file.

	* sort.cpp (sortBooks): New file. Temporary holder file.

2016-09-15 Aiden Woodruff <aidenpw@hotmail.com>

	* getinfo.cpp (getBookInfo): Added some blank lines.

	* list.cpp (listBooks): Added exit option to listBooks. Removed endline before input.

	* books.cpp (main): Removed checking of in-range number. Deletes savefile if there's no books.

2016-09-13 Aiden Woodruff <aidenpw@hotmail.com>

	* launchemacs.sh: File that launches emacs and opens all of the files.

	* getinfo.cpp (getBookInfo): precision used solely here.

	* makefile: Now deletes temporary emacs files.

2016-09-12 Aiden Woodruff <aidenpw@hotmail.com>

	* booklist.template: Removed file. Was a template for booklist.dat setup.

	* charcodes.cpp: Removed file. Was test of my understanding of ASCII.

	* case.h (lcase, ucase): Included functions to raise and lower the case of char*'s and string's.

	* case.cpp: Test of case.h. Removed file.

	* makefile: Added `-g` option to DEBUG macro. Added DEBUG macro to LFLAGS and CFLAGS. Added list.o target.
	Added books.geany, list.cpp, and getinfo.cpp to some of the targets.

	* list.cpp (listBooks): Changeed if-statement on line 17 (19). Returns -1 if there are no books.

	* books.h: Removed space in function declaration.

	* books.cpp (main): Initialized some values. Using emacs tabs.

	* getinfo.cpp (getBookInfo): Prints book information to screen. Updated calls to reduce size.

2016-08-18 Aiden Woodruff <aidenpw@hotmail.com>

Initial commit
Source: README, updated 2017-08-27