changelog.mkd 9.5 KB
Newer Older
1
2
# Changelog

Stephanie Gawroriski's avatar
Stephanie Gawroriski committed
3
4
5
6
# 0.4.0 (June 11, 2020)

This release is dedicated to Emily, the developer of Mu, she was a close and
dear friend of mine. Rest in piece, you will not be forgotten.
7

8
Now SquirrelJME has the SummerCoat virtual machine which is much lighter and
Stephanie Gawroriski's avatar
Stephanie Gawroriski committed
9
10
faster than SpringCoat. There should definitely be very noticable performance
increases.
11

Stephanie Gawroriski's avatar
Stephanie Gawroriski committed
12
13
14
SquirrelJME is also available on RetroArch since the implementation of
RatufaCoat which is written in C and is capable of using the SquirrelJME
Runtime.
15

16
17
18
19
20
_Note that this is a work in progress and not everything will run, due to_
_the implementation being incomplete. However it does work and is proven to_
_work, which means progress can continue as such. Later releases of_
_SquirrelJME will always be an improvement over the older versions._

Stephanie Gawroriski's avatar
Stephanie Gawroriski committed
21
More detailed changes:
22

Stephanie Gawroriski's avatar
Stephanie Gawroriski committed
23
 * Build system
24
   * Builder
25
26
     * Allow the build system to launch binaries in a VM even if they have no
       source code.
27
28
29
30
31
32
33
     * Handle cases during compilation if a dependency has no source code.
     * If an attempt is made to compile a binary with no source code, throw a
       new exception type indicating this rather than the generic failure
       exception because this case can be handled.
     * When shading JARs for distribution, ignore entries in JARs which are
       directories. Directories do not need to appear in the JAR, however they
       may still be implicit within ZIPs.
Stephanie Gawroriski's avatar
Stephanie Gawroriski committed
34
35
   * Launching
     * An alternative VM may be specified.
36
37
     * Correct cases where `NullPointerException` is thrown when a `Display`
       was initialized but was not yet claimed by any program.
Stephanie Gawroriski's avatar
Stephanie Gawroriski committed
38
39
     * The profiler snapshot can be written to a specific file.
     * System properties may be defined and passed to the launched program.
Stephanie Gawroriski's avatar
Stephanie Gawroriski committed
40
   * Started work on JavaDoc generation.
Stephanie Gawroriski's avatar
Stephanie Gawroriski committed
41
42
43
44
45
46
 * Tests
   * Adjusted the results in the logarithm test to adjust the ulp to what
     SquirrelJME generates. The results are still valid as it is valid to
     be within a 1 ulp range, however the test framework only supports
     exact values.
   * Added the missing _mimemessage_ file for the MIME file decoding test.
47
48
   * Allow tests to timeout so that they do not run forever in the event of
     some kind of deadlock.
49
   * Refactored the test framework to be easier to maintain.
50
51
 * Programs and Libraries
   * `cldc-compact`
52
53
     * Added a rehash indicator for the internal `__BucketMap__` so that
       `java.util.Hashtable` knows when a reorder was performed.
54
     * Added `java.util.Vector`, it was missing.
55
56
     * Added support for ISO-8859-15, this is the newer encoding with the
       Euro symbol.
57
58
59
     * Corrected bug in `__CanSetPrintStream__` where if it were set to itself
       then it could lead to infinite recursion, instead if this kind of
       stream is attempted to be set it will use the target.
60
61
62
     * Corrected `java.lang.Object.clone()` to return the new copy of the array
       when cloning and not the original.
     * Corrected `java.util.Objects.equals()` not correctly checking equality
63
       on two objects.
64
     * Fallback encoding is now UTF-8 and not ISO-8859-1.
65
     * If the name of the requested resource is blank, ignore it.
66
67
68
69
70
     * If a resource was not found, do a traditional search of the classpath
       for the given resource. This technically is not valid, however some
       games use the wrong class when looking up resources. Note that the
       current suite will always be searched first to maintain the correct
       behavior.
71
     * Implemented `java.io.DataInputStream`.
72
     * Implemented `java.io.InputStream`.
73
     * Implemented `java.io.PrintStream`.
74
     * Implemented `java.util.EventObject`.
75
     * Implemented `java.util.Hashtable`.
76
     * Implemented `java.util.LinkedHashMap`.
77
     * Implemented `java.util.LinkedList`.
78
79
     * Made the stack trace printed by `Throwable` much cleaner so that it
       takes up less screen space and is formatted a bit better.
Stephanie Gawroriski's avatar
Stephanie Gawroriski committed
80
81
     * Return values for `line.separator`, `microedition.encoding`,
       `microedition.configuration`, and `microedition.locale`.
82
83
84
85
86
87
88
   * `demo-hello`
     * Made the system properties array `final`.
   * `launcher`
     * Added the system property `cc.squirreljme.autolaunch` to automatically
       launch a program once the program list is read.
     * When a program is launched, instead of saying just "Loading..." instead
       allow show the program which is being loaded in the title.
89
90
   * `media-api`
     * Add null media support for: players, and volume control.
91
   * `meep-midlet`
92
     * Handle Konami's Mobile US games using a special system request.
93
     * Implement `MIDlet.checkPermission()`.
94
   * `meep-rms`
95
     * Added basic support for record stores.
96
   * `meep-swm`
97
98
99
     * Added proprietary `ExtendedTaskManager` interface which can be used
       to specify arguments, system properties, and console output alternatives
       to launched tasks.
100
     * Workaround for broken JAR manifests which violate the specification.
101
   * `midp-lcdui`
102
     * Added a 12 strike font.
103
     * Added capability flag for pointer events.
104
105
106
     * Added support for getting the number of display colors which depends on
       the pixel format of the display.
     * Added support to get the number of alpha levels.
107
     * Adjusted the style of the lowercase A character in the sans-serif font.
108
109
     * Changed 16 strike font to be the large size font and made the 12 strike
       font the medium size font.
110
111
112
     * Corrected mapping of characters since SQFs are ISO-8859-1 and most games
       may be ISO-8859-1, since some characters may be missing in the font
       use similar graphics for them.
113
114
115
116
     * Fully added `cc.squirreljme.runtime.lcdui.gfx.SerializedGraphics`, This
       allows all of the graphics drawing functions to be forwarded when
       graphics acceleration is used, previously only a subset of methods were
       implemented.
117
     * Fixed crash in text drawing when an empty string is drawn.
118
     * Fully drawn default fonts.
Stephanie Gawroriski's avatar
Stephanie Gawroriski committed
119
     * Implemented `com.nokia.mid.ui.FullCanvas`.
120
121
     * Made all the graphics operations not throw a `TODO`, instead they will
       just draw a placeholder graphic.
122
     * Moved the graphics drawing operations to another class.
123
     * Removed the 24 strike font, it was too large.
124
     * Support double buffered `GameCanvas`.
125
     * Update the `Display` when a command is added or removed.
126
127
128
     * Use a default title for a `Displayable` if one has not been set, this
       will be in the order of the suite name, the main class, and if those
       are not valid then "SquirrelJME" will be used instead.
129
130
131
     * When a `Displayable` is made current and it is already the current
       displayed item, always set the title since it may have been placed in
       the background by another application calling `setCurrent()`.
Stephanie Gawroriski's avatar
Stephanie Gawroriski committed
132
133
134
135
136
137
138
   * `tac`
     * Override standard output and forward to standard error while a test is
       running, so things are not kludged.
   * `tac-runner`
     * Allow specific tests to be ran via the main arguments.
     * Generate JUnit output which can be used in test environments.
     * Performed some refactoring on the deserialization/serialization code.
139
   * `tool-classfile`
140
141
142
143
     * Corrected comparison behavior of `FieldReference`, it did not check the
       class name, so if a class referred to a field of the same name when
       using SummerCoat it will result in the wrong class field being read
       from whatever class just happened to be set first.
144
     * Corrected parsing of the stack map table.
145
     * Removed `net.multiphasicapps.classfile.ExecutableCode`, it was not used.
146
147
148
   * `tool-profiler`
     * When writing the NPS snapshot, set a limit on how deep the stack can
       traverse in the event an infinite recursive method was profiled.
Stephanie Gawroriski's avatar
Stephanie Gawroriski committed
149
150
 * Compiler Backend
   * Added a bunch of string representations for class structures.
151
152
153
   * Created a stack-cached register based compiler for Java byte code.
   * Implemented a new tree based unit system for packages and classes.
   * `MergedPathSet` can be initialized by iterables now.
Stephanie Gawroriski's avatar
Stephanie Gawroriski committed
154
155
156
157
158
159
 * Virtual Machines
   * General
     * Adjusted the Shaded JAR directory layout and added a dash in the path
       so that classes technically become invalid.
     * Allow properties to be obtained from internally passed system
       properties.
Stephanie Gawroriski's avatar
Stephanie Gawroriski committed
160
     * Added string representation for the stack map table.
161
162
     * Add ability to start tasks with command line arguments, system
       properties, and alternative console redirection (to capture output).
163
164
     * Correct cases where `NullPointerException` is thrown when a `Display`
       was initialized but was not yet claimed by any program.
Stephanie Gawroriski's avatar
Stephanie Gawroriski committed
165
166
     * If a JAR is not valid, the launcher will no longer fail to start since
       the invalid JAR is just ignored.
Stephanie Gawroriski's avatar
Stephanie Gawroriski committed
167
   * SpringCoat
168
     * Add limit to stack frame depth.
169
170
     * Add support for system properties being based to virtual machine
       instances.
171
     * Allow inheritance of static methods in classes.
172
173
     * Profiler thread lists are easier to read because the main suite is
       listed instead of the VM identifier.
Stephanie Gawroriski's avatar
Stephanie Gawroriski committed
174
175
176
   * SummerCoat
     * New Virtual Machine, register based.
     * Vast improvements over SpringCoat, faster and slimmer.
Stephanie Gawroriski's avatar
Stephanie Gawroriski committed
177
178
179
   * RatufaCoat
     * New Virtual Machine, based off SummerCoat.
     * Fast and slim, written in C.
Stephanie Gawroriski's avatar
Stephanie Gawroriski committed
180
181
 * Cleanup
   * Removed the `test.sh` script, it was empty.
182

Stephanie Gawroriski's avatar
Stephanie Gawroriski committed
183
184
185
# 0.2.0 (December 25, 2018)

SquirrelJME's first release!
186

Stephanie Gawroriski's avatar
Stephanie Gawroriski committed
187
188
189
190
191
Note that this is a work in progress and not everything will run, due to
the implementation being incomplete. However it does work and is proven to
work, which means progress can continue as such. Later releases of SquirrelJME
will always be an improvement over the older versions.