1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 00:37:34 +00:00
serenity/Libraries
AnicJov fe1628746c Chess: Add ability to export game as PGN file
This patch adds an option to the menubar for exporting the current
game as a PGN file. This file can then be read by other chess
programs (and ours eventually) to replay the game or analyze it.
The implementation is mostly PGN spec compliant, however the code
could use some more work. Particularly the `const_cast`s...
But it's a start. :^)

Fixup: Chess: Fixed hard-coded home path in unveil() call

Fixup: Chess: Removed castling flags from Move struct

The castling detection logic is done inside Move::to_algebraic()
now, removing the need for is_castle_short and is_castle_long flags
inside of the Move struct.
2020-12-06 15:51:34 +01:00
..
LibAudio LibAudio: Fix parsing of WAV files from memory 2020-12-03 21:52:10 +01:00
LibC LibC: Add flag SO_BROADCAST so we can at least build programs that use it 2020-12-02 10:45:38 +01:00
LibChess Chess: Add ability to export game as PGN file 2020-12-06 15:51:34 +01:00
LibCompress Everywhere: Fix typos 2020-10-02 16:03:17 +02:00
LibCore LibCore: Offer to display a general description 2020-12-06 00:06:53 +01:00
LibCpp LibCpp: Add library for working with c++ code 2020-09-30 21:46:59 +02:00
LibCrypt Everywhere: Port to String::copy_characters_to_buffer() 2020-08-30 17:35:27 +02:00
LibCrypto LibCrypto: Require intent parameter in CTR constructor 2020-11-29 20:22:56 +01:00
LibDebug LibDebug: Use FlyString for file paths 2020-11-16 09:10:49 +01:00
LibDesktop Meta+LibC through LibHTTP: Make clang-format-10 clean 2020-09-25 21:18:17 +02:00
LibDiff LibDiff: Add library for working with diffs 2020-09-15 21:43:29 +02:00
LibELF LibELF: Fix busted validation of section header location 2020-12-01 13:18:32 +01:00
LibGemini LibProtocol+LibGemini+LibHTTP: Provide root certificates to LibTLS 2020-10-30 23:42:03 +01:00
LibGfx LibGfx: Fix font x-height computation 2020-12-06 01:01:15 +01:00
LibGUI LibGUI: Optimize GUI::Variant move constructor 2020-12-03 21:53:29 +01:00
LibHTTP LibProtocol+LibGemini+LibHTTP: Provide root certificates to LibTLS 2020-10-30 23:42:03 +01:00
LibImageDecoderClient AK: Add trivial structure validation to SharedBuffer 2020-10-02 15:38:07 +02:00
LibIPC LibIPC: Fix 'unused private member' error when building with clang 2020-11-25 20:00:23 +01:00
LibJS LibJS: Add Float{32,64}Array 2020-12-05 23:52:17 +01:00
LibKeyboard Everywhere: Add missing <AK/ByteBuffer.h> includes 2020-11-15 13:11:21 +01:00
LibLine LibLine: Don't make Editor::load_history() cut off a character per line 2020-12-06 00:06:46 +01:00
LibM LibM: Define some floating point classification macros 2020-11-17 09:57:06 +01:00
LibMarkdown LibMarkdown: Reduce debug spam from invalid characters in table headings 2020-11-30 11:35:45 +01:00
LibPCIDB LibPCIDB: Mark compilation-unit-only functions as static 2020-08-12 20:40:59 +02:00
LibProtocol AK: Make RefPtr, NonnullRefPtr, WeakPtr thread safe 2020-11-10 19:11:52 +01:00
LibPthread LibPthread: Fix broken EINVAL check in pthread_attr_setdetachstate() 2020-11-26 19:33:44 +01:00
LibRegex LibRegex: Add basic support for unicode escapes in ECMA262Parser 2020-12-06 15:38:40 +01:00
LibTar Userland: tar: support extracting gzipped files 2020-10-04 00:16:40 +02:00
LibTextCodec LibTextCodec: Add a function to convert encodings to standardized names 2020-11-14 10:14:03 +01:00
LibThread LibThread: Add API to join a thread 2020-11-24 21:36:28 +01:00
LibTLS LibTLS: Count the mac size towards the packet length in CBC mode 2020-11-16 13:21:18 +01:00
LibUnwind Everywhere: Fix typos 2020-10-02 16:03:17 +02:00
LibVT LibVT: Auto-scroll the terminal 2020-12-04 14:29:39 +01:00
LibWeb LibWeb: Do floating box placement together with other boxes 2020-12-06 01:59:35 +01:00
LibX86 LibX86: Pack the Instruction data structure 2020-11-17 17:09:49 +01:00
CMakeLists.txt LibRegex: Add a regular expression library 2020-11-27 21:32:41 +01:00