CHANGELOG.md 4.99 KB
Newer Older
Leo's avatar
Leo committed
1
2
# Changelog of OcLaunch

Leo's avatar
Leo committed
3
4
5
>Note: XXX Means that the functionality needs test and TODO means that its
>implementation is partial

Leo's avatar
Leo committed
6
7
8
9
## 0.3.x

### 0.3.0

Leo's avatar
Leo committed
10
11
This version introduce major changes in the tmp and rc file.

Leo's avatar
Leo committed
12
13
#### Major

Leo's avatar
Leo committed
14
 + Changed tmp file format, the new one would allow to do more things: (See #6)
Leo's avatar
Leo committed
15
16
    + Restart edited command (reset number of launch).
    + Support multiple configuration file.
Leo's avatar
Leo committed
17
    + More natural behavior when starting from an empty file. (Don't increment
Leo's avatar
Leo committed
18
     number of launch when nothing is actually launched).
Leo's avatar
Leo committed
19
    + For the future : Running infinite, daemon mode...
Leo's avatar
Leo committed
20
 + Beautified rc file:
Leo's avatar
Leo committed
21
22
    + Remove doubled entries before each write of the rc file. Trailing spaces
      are remove too. Empty entries are dropped.
Leo's avatar
Leo committed
23
    + This fixes #12.
Leo's avatar
Leo committed
24
25
26
    + A **new clean command** has been added, to clean up a manually edited or old
      rc file.
    + Summary of edit command was improved.
Leo's avatar
Leo committed
27
 + Rewrite command line parsing, in a cleaner and safer way. It now handles
Leo's avatar
Leo committed
28
   `exit`, would be able to deal with *auto completion* and display more accurate
29
30
31
   help messages. Though, for backward compatibility reasons, a hack has been
   setted up, allowing to call the program with a number as first argument or
   without any argument. This way, the program tries to launch the corresponding
Leo's avatar
Leo committed
32
   command or the next one. The problem is that you can't call it with an
Leo's avatar
Leo committed
33
34
35
   option. To do this, use the **`run` subcommand**.
 + Improve **list subcommand**, now using Textutils library, displaying in an array.
 + Improve **edit subcommand** (explain how to use to add commands, improve
Leo's avatar
Leo committed
36
   messages, offer to reedit when nothing was done).
Leo's avatar
Leo committed
37
38
39
40
41
42

#### Minor

 + Fix bug: in special circumstances, it was not possible to write in lock file.
   The program was crashing.
 + To limit future problem with lockers, two things were done:
Leo's avatar
Leo committed
43
    + Remove automatically lock file at the end of the program (See commit
Leo's avatar
Leo committed
44
      075c5b7074ea62ec337fe45309fbc3d808ad74fc).
Leo's avatar
Leo committed
45
46
    + Add delay when waiting for locker, to avoid endless loop (See commit
      cd7fdc0c022aa36b39f02813c4ebe54a533f0041 and
Leo's avatar
Leo committed
47
      bd712c97c788922aabdda15f75e78cb05882c53f).
Leo's avatar
Leo committed
48
 + Code clean up (especially indentation, thanks to ocp-indent), messages
Leo's avatar
Leo committed
49
50
51
   improvement.
 + Add unit tests and clean them up.
 + Add licence warning.
Leo's avatar
Leo committed
52
53
 + Remove core\_extended dependency, incorporating some code from the library
   directly in the program, and using Textutils and Re2 library instead.
Leo's avatar
Leo committed
54
 + TODO XXX Add basic signal handling (`--signals`), to relaunch when doing
Leo's avatar
Leo committed
55
   ctrl-C. See issue #14 for known problems.
Leo's avatar
Leo committed
56
57
58

#### Community

Leo's avatar
Leo committed
59
60
 + Improve *release script*, to enhance contributing experience (making easier to
   release source-code, binaries, signing…). Add *indentation script* too.
Leo's avatar
Leo committed
61
 + Improve README.md file, using special code in \_oasis Description field.
Leo's avatar
Leo committed
62

Leo's avatar
Leo committed
63
64
65
## 0.2.x

### v0.2.2
Leo's avatar
Leo committed
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
 + Major functionality:
    + Allow to install from opam throw opam pin add <pkg> <repo>
    + Allow to set tmp file with environment variable “OC\_TMP”. See #9 and #6
    + Messages displayed with bold, underline and colors.
    + Add options:
       + “-v” to set verbosity.
       + “--no-color” to toggle color off
       + “--edit” is synonym of “--modify” now
 + Minor functionality:
    + Improve resetting: tips, way to roll back
    + Add unit tests, to improve stability
    + Clean help
    + Better display after editing an entry. Ignore empty lines and fix #10
    + Use lazyness to speed up and lead to less error
    + Locking tmp file to prevent launching two times the same item
Leo's avatar
Leo committed
81
82
83
 + Correct bugs:
   + When executing ```oclaunc -r``` more than once, it tries to delete an
     unexisting file and this led to errors.
84
85
   + When some variable like $EDITOR was not set, it was crashing everytime.
     Now, it crashes only if there is no other solution.
Leo's avatar
Leo committed
86
87

### v0.2.1
Leo's avatar
Leo committed
88
89
 + Add new command line option:
   + “-c file” allow to read configuration from custom file.
90
   + “-m n” allow to edit and add (simultaneously) items to launch in rc file.
Leo's avatar
Leo committed
91
 + Improve “-l”: now display a “\*” next to current state.
92
 + Code clean up (Types in records) and code factoring.
Leo's avatar
Leo committed
93
 + When all has been launched, the program explain how to reset.
Leo's avatar
Leo committed
94
 + Better messages on initialisation.
Leo's avatar
Leo committed
95

Leo's avatar
Leo committed
96
### v0.2.0
Leo's avatar
Leo committed
97
98
 + Add new command line option.
   + “-r” can now take a number to start from.
99
   + “-l” list commands of the configuration file with its number.
100
   + “-a” add the command given on stdin to configuration file.
101
   + “-d n” remove the nth command from rc file.
Leo's avatar
Leo committed
102
   + “-n” display the current state.
Leo's avatar
Leo committed
103
 + Improve some messages.
Leo's avatar
Leo committed
104
 + Display run commands in title bar of the windows terminal.
Leo's avatar
Leo committed
105
106
107
 + New tmp file
   + Biniou format instead of JSON
   + Now cached
Leo's avatar
Leo committed
108
   + New default name : `/tmp/.oclaunch_trace.dat`
Leo's avatar
Leo committed
109
 + Add logo.
Leo's avatar
Leo committed
110
 + Clean up some code.
Leo's avatar
Leo committed
111
 + Improve utility set given with the repository (developer)
Leo's avatar
Leo committed
112

Leo's avatar
Leo committed
113
114
115
## v0.1.x

### v0.1.3
Leo's avatar
Leo committed
116
117
 + Correct bug (See commit 4d20125a03c6f8735f39a95bb9e68a0476c89d45).

Leo's avatar
Leo committed
118
### v0.1.2
Leo's avatar
Leo committed
119
120
121
122
123
124
125
 + First public usable version.
   + Create wiki.
   + Use Oasis
 + First version to be distributed with 0install.

## Before
 + Wast and test