changelog.mkd 8.73 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

23
24
 * Modernized the build system to Gradle!
   * This will make it much easier to develop and allow for contributions!
25
26
 * Programs and Libraries
   * `cldc-compact`
27
28
     * Added a rehash indicator for the internal `__BucketMap__` so that
       `java.util.Hashtable` knows when a reorder was performed.
29
     * Added `java.util.Vector`, it was missing.
30
31
     * Added support for ISO-8859-15, this is the newer encoding with the
       Euro symbol.
32
33
34
     * 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.
35
36
37
     * 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
38
       on two objects.
39
     * Fallback encoding is now UTF-8 and not ISO-8859-1.
40
     * If the name of the requested resource is blank, ignore it.
41
42
43
44
45
     * 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.
46
     * Implemented `java.io.DataInputStream`.
47
     * Implemented `java.io.InputStream`.
48
     * Implemented `java.io.PrintStream`.
49
     * Implemented `java.util.EventObject`.
50
     * Implemented `java.util.Hashtable`.
51
     * Implemented `java.util.LinkedHashMap`.
52
     * Implemented `java.util.LinkedList`.
53
54
     * 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
55
56
     * Return values for `line.separator`, `microedition.encoding`,
       `microedition.configuration`, and `microedition.locale`.
57
58
   * `demo-hello`
     * Made the system properties array `final`.
59
60
   * `jblend-api`
     * Added API Stubs.
61
62
63
64
65
   * `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.
66
67
   * `media-api`
     * Add null media support for: players, and volume control.
68
   * `meep-midlet`
69
     * Allow a multi-threaded
70
     * Handle Konami's Mobile US games using a special system request.
71
     * Implement `MIDlet.checkPermission()`.
72
   * `meep-rms`
73
     * Added basic support for record stores.
74
   * `meep-swm`
75
76
77
     * Added proprietary `ExtendedTaskManager` interface which can be used
       to specify arguments, system properties, and console output alternatives
       to launched tasks.
78
     * Workaround for broken JAR manifests which violate the specification.
79
   * `midp-lcdui`
80
     * Added a 12 strike font.
81
     * Added capability flag for pointer events.
82
83
84
     * 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.
85
     * Adjusted the style of the lowercase A character in the sans-serif font.
86
87
     * Changed 16 strike font to be the large size font and made the 12 strike
       font the medium size font.
88
89
90
     * 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.
91
92
93
94
     * 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.
95
     * Fixed crash in text drawing when an empty string is drawn.
96
     * Fully drawn default fonts.
Stephanie Gawroriski's avatar
Stephanie Gawroriski committed
97
     * Implemented `com.nokia.mid.ui.FullCanvas`.
98
99
     * Made all the graphics operations not throw a `TODO`, instead they will
       just draw a placeholder graphic.
100
     * Moved the graphics drawing operations to another class.
101
     * Removed the 24 strike font, it was too large.
102
     * Support double buffered `GameCanvas`.
103
     * Update the `Display` when a command is added or removed.
104
105
106
     * 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.
107
108
109
     * 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
110
111
112
113
114
115
116
   * `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.
117
   * `tool-classfile`
118
119
120
121
     * 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.
122
     * Corrected parsing of the stack map table.
123
     * Removed `net.multiphasicapps.classfile.ExecutableCode`, it was not used.
124
125
126
   * `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.
127
128
   * `vodafone-api`
     * Added API Stubs.
129
130
131
132
133
134
135
   * `zip`
     * Added `read(byte[])` which forwards to the more optimal function
       rather than the super-class which only performs single byte reads.
     * When reading entries where the size is fully known, if the uncompressed
       data size is fulfilled but there is still remaining compressed data
       (in the case where a zero byte file is compressed to two bytes),
       continue to read the compressed data to drain it out.
Stephanie Gawroriski's avatar
Stephanie Gawroriski committed
136
137
 * Compiler Backend
   * Added a bunch of string representations for class structures.
138
139
140
   * 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
141
142
143
144
145
146
 * 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
147
     * Added string representation for the stack map table.
148
149
     * Add ability to start tasks with command line arguments, system
       properties, and alternative console redirection (to capture output).
150
151
     * 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
152
153
     * 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
154
   * SpringCoat
155
     * Add limit to stack frame depth.
156
157
     * Add support for system properties being based to virtual machine
       instances.
158
     * Allow inheritance of static methods in classes.
159
160
     * 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
161
162
163
   * SummerCoat
     * New Virtual Machine, register based.
     * Vast improvements over SpringCoat, faster and slimmer.
Stephanie Gawroriski's avatar
Stephanie Gawroriski committed
164
165
166
   * RatufaCoat
     * New Virtual Machine, based off SummerCoat.
     * Fast and slim, written in C.
Stephanie Gawroriski's avatar
Stephanie Gawroriski committed
167
168
 * Cleanup
   * Removed the `test.sh` script, it was empty.
169

Stephanie Gawroriski's avatar
Stephanie Gawroriski committed
170
171
172
# 0.2.0 (December 25, 2018)

SquirrelJME's first release!
173

Stephanie Gawroriski's avatar
Stephanie Gawroriski committed
174
175
176
177
178
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.