version 0.3 v0.3
authorMart Lubbers <mart@martlubbers.net>
Wed, 27 Jan 2016 20:38:30 +0000 (21:38 +0100)
committerMart Lubbers <mart@martlubbers.net>
Wed, 27 Jan 2016 20:38:30 +0000 (21:38 +0100)
1  2 
Makefile
README.md

diff --combined Makefile
+++ b/Makefile
@@@ -1,11 -1,20 +1,19 @@@
--SHELL:=/bin/bash
- CLM=clm
- CLMFLAGS=-nt -l -lreadline
+ CLM:=clm
+ CLMFLAGS:=-nt -l -lreadline
+ LIBRARYDIR:=Clean\ System\ Files
+ BINARIES:=test
  
- all: test
+ .PHONY: readline clean
+ all: readline $(BINARIES)
+ readline:
+       $(MAKE) -C $(LIBRARYDIR)
  
  %: %.icl
        $(CLM) $(CLMFLAGS) $(basename $<) -o $@
  
  clean:
-       $(RM) -v test Clean\ System\ Files/{ReadLine,test}.*
+       $(MAKE) -C $(LIBRARYDIR) clean
+       $(RM) -v $(BINARIES)
+       $(RM) -v $(addprefix $(LIBRARYDIR)/,$(addsuffix .*,$(BINARIES)))
diff --combined README.md
+++ b/README.md
@@@ -1,4 -1,4 +1,4 @@@
- Clean readline Version 0.2
+ Clean readline Version 0.3
  ==========================
  
  ReadLine is a Clean library that allows interactive console programs to use the
@@@ -17,7 -17,7 +17,7 @@@ mak
  ```
  
  When you want to use the library in your program you should compile with the
 -`-l /usr/lib/libreadline.so` linker flag
 +`-l -lreadline` linker flag
  
  All functions try to resemble the original
  [readline](http://cnswww.cns.cwru.edu/php/chet/readline/readline.html) and 
@@@ -26,6 -26,12 +26,12 @@@ functions as close as possibl
  
  ###Changelog
  
+ - 0.3 (2016-01-26)
+   - Better build mechanism
+   - Information about the history list functions implemented, not thoroughly
+     tested though.
+   - Fixed issue #1
+   - History state can now be written as well as read
  - 0.2 (2016-01-25)
    - History file operations added
    - EOF is now properly handled
  
  ###Todo
  
- - Access to the history datastructure
- - Access to the current location
+ - Use builtin Maybe if available, otherwise fall back on own Maybe
  - Complete history api implementation
- - Embed the readline library in the object files in such a way that no special
-   compiler flag is needed.
  - Control over tabcompletion, right now it completes on filenames.
  - Check possibilities for Windows/Mac