Don't deadlock if setTask is called with busy PC execution thread
[jpcrr.git] / Changelog.utf8
blob85aab6be4bc8efc22b5f632f666b5d11a339b33f
1 Changes since JPC-RR Release 10.5:
2 ==================================
3 - Lock out odd/even when in graphics mode.
4 - Merge fixes in r10.6
5 - Merge fixes in r10.7
6 - Document some undocumented Lua operations.
7 - New Lua functions bit.signextend and bit.tosigned.
8 - Merge fixes in r10.8
9 - Implement P478 for Rayman.
10 - Implement CRx operations in VM86 mode.
11 - Merge fixes in r10.9
12 - Include monitor panel in PCControl.
13 - Show time in statusbar.
14 - Don't use popups, use statusbar.
15 - Fix deadlock when resizing monitor.
16 - Merge fixes in r10.10.
17 - Fix compile error.
18 - Merge fixes in r10.11.
19 - Merge the build system revamp.
20 - Merge fixes in r10.12.
21 - Merge selfmodify fix and LDT/TSS fix.
22 - Merge fixes in r10.13.
23 - Change even-odd lockout condition from graphics mode to Axxxx
24   addresses only (to fix garbled graphics in CGA games).
25 - Merge build fixes form r10 mainintance branch.
26 - Merge fixes in r10.14.
27 - Merge some fixes from r10 maint branch.
28 - Don't repaint monitor on retach, rely on VGA output cycles.
29 - Do VGA output cycle on PC stop.
30 - Rework the Lua waiting system.
31 - Make window member not superclass of PCControl.
32 - Close the image backing files on image GC.
33 - Merge some fixes from r10 maint branch.
34 - Support resetting pixel panning on line compare.
35 - Prevent races in HUDRenderer.
36 - Properly name Monitor Panel thread.
37 - Merge fixes in r10.15.
38 - Don't deadlock if setTask is called with busy PC execution thread.
41 Changes from JPC-RR Release 10.14 to JPC-RR Release 10.15:
42 ==========================================================
43 - Change hotkeys for some key events to be the keys themselves.
44 - Add sendmessage command to Lua VM.
45 - Change VGA offset for 8d2 to 0.
46 - Fix popups if display resolution determination fails.
47 - Backport: Make window member not superclass of PCControl.
48 - Backport: Close the image backing files on image GC.
49 - Backport: Prevent races in HUDRenderer.
51 Changes from JPC-RR Release 10.13 to JPC-RR Release 10.14:
52 ==========================================================
53 - Make build abort if ExceptionDefProcessor fails.
54 - Add SYSTEM header to note the system movie is for.
56 Changes from JPC-RR Release 10.12 to JPC-RR Release 10.13:
57 ==========================================================
58 - Use new LDT when loading registers in jump to TSS.
59 - Add optional fast instruction reloading on selfmodify.
60 - Fix selfmodify mode to be actually saved to savestate.
62 Changes from JPC-RR Release 10.11 to JPC-RR Release 10.12:
63 ==========================================================
64 - Revamp the build system.
65 - Add call to shutdown PCRunner from Lua.
66 - Add keyboard queue length to generic hud.
67 - Fix off-by-one in box rendering.
69 Changes from JPC-RR Release 10.10 to JPC-RR Release 10.11:
70 ==========================================================
71 - Fix subtitle time display.
72 - Sightly better subtitle test.
73 - Add tool to procude animated dumps.
74 - Add script to produce ASCII font files.
75 - Add makefile rule for mkdump.exe.
76 - Add better help to mkdump.
77 - Add color selection to subtitle script.
78 - Fix priviledge checking in PMode.
79 - Less spam about HALTs on insufficient CPLs.
81 Changes from JPC-RR Release 10.9 to JPC-RR Release 10.10:
82 =========================================================
83 - Do immediate VGA output cycle on loadstate.
84 - Fix LuaPlugin console.
85 - Capabilities file I/O from Lua scripts.
86 - Clean up root directory
87 - Clean up VirtualKeyboard a bit.
88 - Add kill command to do stack trace of all threads.
90 Changes from JPC-RR Release 10.8 to JPC-RR Release 10.9:
91 ========================================================
92 - Redesign author editor dialog.
93 - Fix some savestate errors.
94 - Add support for author nicknames.
95 - Add ability for Lua to query movie length, rerecord count and headers.
96 - Allow loading Lua plugin without GUI.
97 - Allow action combos from extra menu.
98 - Implement INT3_O16 and INTO_O16 in pmode.
99 - Clean up Misc.parseString().
100 - Clean up ConstantTableLayout.
101 - Keyboard layouts support and new default layout.
102 - Subtitle library.
104 Changes from JPC-RR Release 10.7 to JPC-RR Release 10.8:
105 ========================================================
106 - Don't truncate stack trace if menu invocation goes wrong.
107 - Report inner exceptions in saved stack traces.
108 - Set disk library in autoexec file, not from command line.
109 - (try to) Keep focus on main window on savestate/loadstate.
110 - Allow printing image info from JPC-RR commandline.
111 - Fix bug in OPTION ABSOLUTE.
113 Changes from JPC-RR Release 10.6 to JPC-RR Release 10.7:
114 ========================================================
115 - Uncompressed saves.
116 - If rename fails, try deleting file before retrying.
117 - Probe if rename-over is possible and if not, fall back to copy&delete.
118 - Do move to backup slot position just before committing the save.
119 - Automatically resize PC monitor to correct size.
120 - Make PC Control window to automatically resize to correct size.
121 - If no arguments are specified, use defaults.
123 Changes from JPC-RR Release 10.5 to JPC-RR Release 10.6:
124 ========================================================
125 - Fix fast typing (keyhit) mode.
126 - Rename assemble.bat to assemble.jpcrrinit as its not DOS batch file.
128 Changes from JPC-RR Release 10.4 to JPC-RR Release 10.5:
129 ========================================================
130 - Fix audio dumping lockup.
132 Changes from JPC-RR Release 10.3 to JPC-RR Release 10.4:
133 ========================================================
134 - Include luakernel.lua in release package.
135 - Include BIOS/VGABIOS images in release package.
137 Changes from JPC-RR Release 10.2 to JPC-RR Release 10.3:
138 ========================================================
139 - Make release builds include proper main-class attribute so java -jar works.
141 Changes from JPC-RR Release 10.1 to JPC-RR Release 10.2:
142 ========================================================
143 - Dispatch ECI invocations to all plugins, not just the first.
145 Changes from JPC-RR Release 10 to JPC-RR Release 10.1:
146 ======================================================
147 - Fix save filehandle leak.
148 - Add script for automated release building.
150 Change from JPC-RR Release 9.1 to JPC-RR Release 10:
151 ====================================================
152 - Don't call DMA transfer handler with empty remaining buffer.
153 - Deprecate FPU lines, create FPUs via modules.
154 - Take dump to pcm converter from unstable/soundcard (to fix serious
155   bugs in pcmdump to pcm conversion).
156 - Eliminate some console spam.
157 - Add FPU bit hack.
158 - Warn about attempts to use FPU when not present.
159 - Add VGA update hack bit.
160 - Save ioportRegistered in DMAController.
161 - Add I/O delay emulation.
162 - Add information about images to movies/savestates.
163 - New JRSR parser.
164 - Fix crashes/misdraws in HUD code when drawing outside screen.
165 - Allow screenshots from Lua.
166 - Refactor image file creation.
167 - Fix 880KiB standard disk format.
168 - Rewrite JRSR parser again.
169 - Graphical image importer.
170 - Don't let Lua call methods on dead objects.
171 - Mark internal state of dead Lua objects as garbage-collectable.
172 - Remove some obsolete stuff (SoundTest and RAWToPNG)
173 - Fix lots of warnings from GCJ.
174 - Include build version in binaries.
175 - Support hexadecimal constants in Lua.
176 - Calculate audio filtering using doubles. Some filters are very
177   sensitive to numeric accuracy.
178 - Fix incorrect stream ending when writing dumps.
179 - Implement A16 REP(N)E {SCA,CMP}S[WD] in pmode.
180 - Scan all devices when finding sound outputs.
181 - Fix ECI with varargs.
182 - Add configurable extra menu to PCControl and use it to replace PCStartStopTest.
183 - Add wait for PC to stop function to Lua.
184 - Update brief instructions.
185 - Give import disk window proper layout.
186 - Allow using file chooser in image import.
187 - Fix bug in tree importer with recursive directories.
188 - Allow INT 0.
189 - Add VGA Hretrace emulation (needed by Commander Keen)
190 - Check events better.
191 - Add abilility to specify dumps using GUI.
192 - Don't deadlock if video dumper is stopped.
193 - Allow filtering and changing volume in rawtoaudio2.
194 - Show keyboard LED status on vkeyboard.
195 - If shift is held while selecting vkeyboard key, send two edges.
196 - Sound card (FM and PCM) support.
197 - Actually normalize coefficients in rawtorgb.
198 - Add jpcrr.sendevent() for Lua.
199 - Fix quicksave/quickload deadlock.
200 - Fix video dumping crashing on first frame.
201 - Don't wedge the emulator if filename to dump to can't be opened.
202 - Save information about output channels to movie (makes automated encoding easier).
203 - Revert keyboard interrupt mode since it is just broken.
204 - Extramenu was missing send space, add it.
205 - Mouse hw rerec support.
206 - Do once-over on manual (add missing SoundCard and FMCard modules).
208 Changes from JPC-RR Release 9 to JPC-RR Release 9.1:
209 ====================================================
210 - Fix reconnect-terminate Lua deadlocks.
211 - Don't crash Lua kernel if name of script to execute is invalid.
213 Changes from JPC-RR Release 8 to JPC-RR Release 9:
214 ==================================================
215 - Add plain text version of manual.
216 - Add new hotkeys to startstoptest.
217 - Add support for timed running into PCRunner.
218 - Merge fixes in JPC-RR Release 8.1.
219 - Revamp ECI to actually type calls.
220 - Lua interpretter plugin.
221 - Use true read length not requested length for return length
222   in BinaryInFile::read()
223 - Support nullary BinaryInFile::read() [read entiere file].
224 - Don't block PC in LuaPlugin before running script.
225 - Fix PC halting vs. Lua prints.
226 - HUD support framework.
227 - New HUD primitive: Box.
228 - New HUD primitive: Bitmap.
229 - Print warnings on non-dispatchable ECI calls.
230 - Lua script arguments support!
231 - Text rendering library.
232 - Don't crash in PCMonitor if w or h is 0.
233 - Add method to get PC clock time.
234 - Fix reconnect deadlock vs. Lua waiting for output hold.
235 - Add way to query key status and simple generic HUD.
236 - Allow querying VGA lock status from Lua.
237 - Fix deadlock in PC attach wait vs. Lua VM termination.
238 - Refactor generic HUD Lua script.
239 - Support binary bitmaps and convert fonts to binary.
240 - Special-case no-resize dump -> raw conversion.
241 - Properly pass through exceptions in module loader.
242 - Add method to dump long arrays to StatusDumper.
243 - Average output sample over sample duration in dump->PCM conversion.
244 - Write parameterless modules properly into initialization segment.
245 - Joystick support.
246 - Also compile modules by default.
247 - Refactor joystick support.
248 - Refactor Lua support.
249 - Fix warnings when compiling Lua VM.
250 - Support "Light amplification" in PCMonitor.
251 - Allow screenshotting from PCMonitor.
253 Changes from JPC-RR Release 8 to JPC-RR Release 8.1:
254 ====================================================
255 - In loadstate code, doubles are 8 bytes each, not 4.
257 Changes from JPC-RR Release 7 to JPC-RR Release 8:
258 ==================================================
259 - Support CR, CRLF and NL line endings.
260 - Don't crash in PCControl on invalid ECI calls.
261 - Support memory read/write over ECI.
262 - Make various JRSR utility classes implement Closeable.
263 - Fix connector unsubscribing.
264 - Record rerecord count for savestates.
265 - Fix/Workaround VGA scrolling bug. Mario & Luigi now works.
266 - Fix PCSpeaker transition edges to be sharp.
267 - Optionally Load and default save relative event timing.
268 - Add plugin to display current time.
269 - Add crude raw streamdump to raw RGB converter.
270 - Replace rounddown resizer with Lanzcos resizer.
271 - Add raw audio stream to raw audio file converter.
272 - Add raw audio mixer.
273 - Add raw audio digital FIR/IIR filter.
274 - Implement micro-op 125 (PUSHA) in pmode.
275 - Support multiple resizing algorithms in rawtorgb
276 - Add movie length to time display.
277 - Force UTF-8 in compile scripts.
278 - Don't trucate stack traces if plugin instantiation throws
279   error or unknown exception.
281 Changes from JPC-RR Release 6 to JPC-RR Release 7:
282 ==================================================
283 - Mark that some fields are not saved.
284 - Refactor menus in PCControl.
285 - Refactor menus even more by adding profiles to menu manager.
286 - Use comboboxes instead of textboxes to prompt images.
287 - Give next event time when clock is processed.
288 - Support INT1 in real mode.
289 - Pretty-print time sequence values on PC stop.
290 - Support moving windows via external command interface.
291 - Add tools for manipulating video streams.
292 - Give reliable retracing signal from VGA.
293 - Add utility to perform image letter boxing.
294 - Try to backup savestate before overwriting.
295 - Add makefile for stream tools and add brief description for each.
296 - Refactor writing component encoding lines.
297 - Add ability to edit run authors from GUI.
298 - Improve exception reporting.
299 - Add ability to force load savestate as movie.
300 - Fix keyboard Pause/Printscreen timing.
302 Changes from JPC-RR Release 6 to JPC-RR Release 6.1:
303 ====================================================
304 - Fix event stream truncation.
306 Changes from JPC-RR Release 6.1 to JPC-RR Release 6.2:
307 ======================================================
308 - Fix reporting exceptions from dumpers.
309 - Don't crash when dumping CD-ROM images.
311 Changes from JPC-RR Release 5 to JPC-RR Release 6:
312 ==================================================
313 - Rearrange Snapshot menu.
314 - Make traps in interface independent from PC.
315 - Fix setting traps using external commands interface.
316 - Remove RunnerPlugin. External PC start/stop is via external commands interface.
317 - Get rid of image library index files.
318 - Input PC parameters via dialog.
319 - Remove notifyArguments().
320 - Give plugins via new command loop.
321 - Allow using external command interface from command loop.
322 - Obtain event modulo timing from callback, not from event itself.
323 - Add external command interface command to send an event.
324 - Implement support for disk switching.
325 - Support naming disks.
326 - Support autoexec scripts.
327 - Delete DiskImageChooser as unused.
328 - Support floppy write protect.
330 Changes from JPC-RR Release 4 to JPC-RR Release 5:
331 ==================================================
332 - Move classes to more logical places.
333 - A16/A32 doesn't control stack access size
334 - Allow PNG saving to occur in parallel to saving next frame.
335 - Add timebase data to audio blocks for time linearization.
336 - Synchronize shutdown of audio and video dumpers to shutdown of main PC
337 - Support variable framerate and splice audio segments properly.
338 - Add test module for audio dumping.
339 - Don't deadlock in PCRunner if savestate load fails.
340 - Pop up error dialog on unexpected exception.
341 - Add method to wait until all connector subscribers have released.
342 - Squash whitespace errors.
343 - Move dialog related code from JPCApplication to Misc.
344 - Support offsets in RAWAudioDumper
345 - Fix VirtualKeyboard shutdown deadlock
346 - Support raw format dumps in PNGDumper.
347 - Move PNG dumping to external utility and rename PNGDumper -> RAWVideoDumper.
348 - Optimize save and loadstate a bit.
349 - Show time taken by loadstate and savestate.
350 - Optimize loadstate by reading data out internal buffer.
351 - Optimize savestate by writing data to internal buffer.
352 - Display total savestate load/save time.
354 Changes from JPC-RR Release 3 to JPC-RR Release 4:
355 ==================================================
356 - Fix broken BIOS image making.
357 - Add comments sections to images and record tree info to comments.
358         Handy to know how to get the ID to match in case someone created the filesystem
359         from tree.
360 - Collapse VirtualClock to Clock.
361 - Refactor FPU core to be inside FPU class.
362 - Merge real and protected mode FPU emulation code.
363 - Remvoe unneeded stuff from top-level FPU class.
364 - Refactor FPU emulation.
365         Support CPU without FPU and support EM, TS, MP and ET bits.
366 - Make FPU emulator optinal/configurable.
367 - Fix CLTS to reset CR0 bit 3, not CR3 bit 2.
368 - Make RTC update cycle to be 244 microseconds instead of 10 milliseconds.
369 - Fix PUSHx/POPx to respect SS size attribute in all modes.
370 - Cache SS size in real mode.
371 - Don't bomb out with uncaught exception if library is missing.
373 Changes from JPC-RR Release 2 to JPC-RR Release 3:
374 ==================================================
375 - Merge user manual and savestate docs, write devel docs and convert all that to Lyx.
376 - Try to support auto-init DMA (for soundcard).
377 - Update Changelog to include stuff before r1.
378 - Add external commands interface to control plugins from others
379 - Bump PNG counter from 6 digits to 12 so all movies can be dumped.
380 - Don't allow using scancodes 0, 84 and 198.
381 - Print usage on command line errors for ImageMaker.
383 Changes from JPC-RR Release 1 to JPC-RR Release 2:
384 ==================================================
385 - Optimize disk ID calculation
386         Optimize disk ID calculation by special-casing the handling of all-zero blocks in hash
387         plus doing the necessary modifications in order to exploit that special case. In case
388         of used space being small in comparison to total space, this cuts the time to compute
389         the disk ID by HALF.
390 - Fix bug in assigning audio output IDs in presence of same module loaded multiple times
391 - Warn if audio input ID in raw audio dumper is invalid
393 Changes from JPC to JPC-RR Release 1:
394 =====================================
395 - Remove background compiler
396         One really doesn't need the nondeterminism JIT brings.
397 - Remove applet code and debugger
398         This is not going to run as applet and debugger isn't something I would want to keep
399         up to date.
400 - Remove ethernet and serial port emulation
401         Multi-machine emulation is nightmare to make sync.
402 - Make TSC exact number of instructions executed, not guess based on frequency
403 - Synchronize all timing to CPU
404 - Replace all block device types with GenericBlockDevice
405         GenericBlockDevice can handle all types of block backed by DiskImage, and DiskImage
406         can handle COW (Copy-On-Write).
407 - Don't allow save/loadstate on running PC
408         Savestating on running PC is racy and produces unusable savestate.
409 - Variable CPU speed/memory size/BIOS image support
410 - Add VGA retrace start/stop traps and timed traps
411         This is frame / time advance mecanism.
412 - Textual status dump
413         Textual status dump is powerful tool when debugging desyncs.
414 - Implement new savestate mechanism and remove the old
415         The old mechanism just didn't cut it. New mechanism is brute-force but works.
416 - Video dumping support
417         Support dumping video to series of PNG files
418 - Add tools for making image files
419 - Image library code
420         Needed images are searched via image library.
421 - Handle triple faults
422         Reboot PC on triple fault instead of crashing the emulator core.
423 - Enable start/stop as apporiate
424 - Don't hang the UI during savestate and related operations
425 - Remove mouse input support
426         To be reintroduced later
427 - Create PC from GUI, not before it
428 - Allow fast exits out of CPU emulator
429 - Fix the "11 micro-ops" bug.
430 - Dedicated timer priority queue class
431         The standard one from java.util.<foo> just isn't deterministic enough.
432 - Use stderr instead of logger
433         Makes nicer-looking console output.
434 - Support dumping emulated RAM
435 - Plugins and modules support
436         These are for future extensions, so devices can be added without breaking timing.
437 - Move previous JPCApplication/PCMonitor code to plugins
438 - Display errors as dialogs if GUI available, on console if not
439 - Event recording/playback code
440 - Audio dumping support + PCSpeaker audio output support