Eugene Sandulenko
b284d1adaf
COMMON: Declare MacResMan::getFinderInfoFromMacBinary() as public
2026-05-17 23:39:56 +02:00
Eugene Sandulenko
19e703bd4f
COMMON: Switch creator and type in FinderInfo to uint32
...
This makes it conformant with the MKTAG() macro and makes the usage
more convenient
2026-05-17 22:37:35 +02:00
Cameron Cawley
6e5f7f4326
BACKENDS: Restrict direct access to OSystem mouse functions
2026-05-03 10:07:00 +03:00
Paul Gilbert
3e8df49286
COMMON: Add an include data-io.h to serializer.h
2026-04-25 21:14:07 +10:00
Paul Gilbert
4bd3ac6954
COMMON: Add syncMultiple functions to Common::Serializer
2026-04-25 21:12:03 +10:00
Miro Kropacek
20da9f4388
AUDIO: Introduce print_rate
...
This is useful on weaker platforms to fine-tune the mixer's frequency to
given game.
2026-04-20 01:47:37 +02:00
Miro Kropacek
cae814dc42
COMMON: Introduce FORCE_TEXT_CONSOLE
...
This is useful for debug outputs which are important enough to override
DISABLE_TEXT_CONSOLE.
2026-04-20 01:47:37 +02:00
Le Philousophe
bd3eceebaf
COMMON: Implement entities parsing in the XML parser
...
This allows to parse XML metadata correctly.
Fix #15839 .
2026-04-19 01:17:35 +03:00
Robert Megone
9963be16b6
AGOS: Move Pack Ice decompressor to common
2026-04-17 22:03:21 +03:00
Miro Kropacek
6fa2e004fa
COMMON: Avoid ':' punycoding also on FireBee backend
2026-04-16 11:28:10 +10:00
Cameron Cawley
8a01c2a0b0
GUI: Use Common::SharedPtr for reusing surfaces
2026-04-14 18:46:14 +03:00
Cameron Cawley
fb175a893e
BACKENDS: Remove EventsBaseBackend
2026-04-13 20:11:43 +03:00
Le Philousophe
b94b31d658
COMMON: Free huffmann tables when deleting the stream
...
Fix #16610
2026-04-12 20:22:22 +02:00
Cameron Cawley
a6b888739c
COMMON: Remove deprecated U32String methods
2026-04-06 23:35:47 +03:00
athrxx
adad81ada0
SCI: fix broken ADGF_ADDENGLISH flag handling (part 2)
...
Only the detection part was fixed in 87549b46 . This one here
will take care of the gui options update that takes place after
each start of the engine.
2026-04-01 19:02:00 +02:00
athrxx
87549b4660
SCI: fix broken ADGF_ADDENGLISH flag handling
...
All languages have to be re-added after the customization
of the gui options. We only added the default language.
2026-03-28 11:40:13 +01:00
Eugene Sandulenko
750cce38bc
COMMON: Fix copy/paste error in po_parser
2026-03-25 18:40:58 +01:00
Le Philousophe
f873a0ac02
COMMON: Update memset16/32/64 functions
...
The functions don't respect strict aliasing so this creates bugs in LTO
builds.
Use an alternative implementation which should be equivalent in terms of
performance.
2026-03-22 16:27:18 +01:00
SHANKHARAJ DATTA
7fc6c04597
COMMON: Add original filename extraction to MacResManager
2026-03-13 19:39:15 +01:00
Eugene Sandulenko
c9e94a9d74
COMMON: Fix out-of-bounds for .po files with missing translations
2026-03-02 18:48:56 +01:00
Eugene Sandulenko
3eb74d00a8
COMMON: Properly process translations with context in TransMan in .po
2026-03-02 17:41:23 +01:00
Eugene Sandulenko
cf31643c7f
COMMON: Fix crash in TraslationManager when non-English is selected
...
It is incorrect at this moment as it ignores context. But it is a
temporary patch to fix a hard crash.
2026-03-02 01:51:08 +01:00
Mohamed Shaaban
d207fe5f92
COMMON: I18N: Load .po files near translations.dat
...
Modify `TranslationManager` to check for a 'po/' subdirectory. If found, attempt to load the language.po file instead of transations.dat.
2026-03-01 17:27:12 +01:00
Eugene Sandulenko
509c12ba1b
COMMON: Cleanup icon after 2 seconds in OSDMessageQueue
2026-03-01 00:07:51 +01:00
artemnutbov
ed71dbd7ca
COMMON: Enhance OSDMessageQueue with images
...
Modify the common OSD message queue to support queuing
and rendering Graphics::Surface objects, which enables the handling
of custom MT-32 display.
2026-02-28 23:58:00 +01:00
Eugene Sandulenko
d60a20fffb
JANITORIAL: Fix compilation, no end-line at the end of file
2026-02-25 19:09:28 +01:00
Simon Delamarre
0ec635288a
COMMON, WIN32: doPrint() can now specify a move/stretch on the page
2026-02-25 18:10:36 +01:00
Simon Delamarre
d71243e70b
COMMON: Expose printable area/paper size in print manager interface
2026-02-25 18:10:36 +01:00
Eugene Sandulenko
edc82c907f
COMMON: GUI: The final attempt to resolve circular dependency
...
Now, we call a GUI method for priting images, which instantiates
the print dialog. Since we always want to show the dialog, this
goes even better conceptually.
2026-02-16 19:31:01 +01:00
Eugene Sandulenko
9f3ec07fa7
COMMON: Move default PrintingManager implementation to common/
...
This should resolve the circular dependency.
Also, reverting hack to Makefile.common introduced in 9d8dada525
2026-02-16 19:02:04 +01:00
Eugene Sandulenko
ec993f7449
BACKENDS: Another attempt to remove circular dependency
...
Moving PrintingManager instantiation to BaseBackend
2026-02-16 15:08:04 +01:00
Sebastien Ronsse
48d325b301
COMMON: Fix JSON isNumber/asNumber IntegerNumber handling
2026-02-16 07:59:30 +02:00
Eugene Sandulenko
a304f852ce
ALL: Remove USE_PRINTING and implement no-op default print manager
...
WIN32-specific printing is behind --enable-system-printing configure option
2026-02-15 14:37:26 +01:00
Alikhan Balpykov
be944b9c17
COMMON: Add define guards for printing feature
2026-02-15 14:37:25 +01:00
Henrik "Henke37" Andersson
a49d7a90e1
COMMON: Add PrintingManager
2026-02-15 14:37:24 +01:00
Le Philousophe
5c73d55985
COMMON: Move file search in current working directory to backends
...
The current working directory doesnt always exist on the platforms.
Some platform are then exempted from searching in it.
2026-02-11 21:10:51 +02:00
sluicebox
1cebc3f4db
GRAPHICS: FONTS: Cleanup WinFont, document versions
...
While working on HUGO fonts, I learned about the old windows fonts and
found some inaccuracies in our code. Now we parse the headers correctly,
document which versions are supported and which aren't, and reject
Win 1.0 raster fonts because we do not really support them.
2026-02-10 15:52:43 -08:00
Vladimir Menshakov
aae2671a9b
COMMON: HUFFMAN: add fromFrequencies()
2026-02-09 23:30:38 +01:00
Michael Kuerbis
0aa12e9802
COMMON: make Common::Pair constexpr
2026-02-09 00:17:19 +02:00
Vladimir Menshakov
d210871860
COMMON: HUFFMAN: assert that huffman symbol length is not 0
2026-02-08 14:17:42 +00:00
Le Philousophe
3017d16756
COMMON: Fix ubsan errors
...
Shifting on signed values can be undefined and the data is not signed
anyway.
2026-02-07 17:20:49 +01:00
Le Philousophe
0a65e3724d
COMMON: Don't escape base name if it wasn't escaped
...
And add a testcase for it.
2026-01-31 14:12:12 +01:00
Thomas N McEwan
5c1628dda7
COMMON:ARCHIVE: Code formatting compliance.
...
Do simple flag check before longer function call.
2026-01-27 16:21:38 +00:00
Thomas N McEwan
83a9ca5953
COMMON:ARCHIVE: Allow multiple subdirectories with the same name to be added to a SearchSet when _ignoreClashes is set true.
...
Useful when operating in flat mode and multiple directories exist with the same name but different contents, such as in Z-Vision games.
2026-01-27 15:33:54 +00:00
Donovan Watteau
12ca9d4ada
COMMON: FORMATS: Mention source of Markdown parser
...
From original commit 3c6284949c .
2026-01-25 09:19:20 +01:00
Martin Gerhardy
1b1a55ad46
COMMON: catch the input error before we are throwing an assert in posix filesystem
...
#7 0x0000555555bc48cd in POSIXFilesystemNode::getChild (this=0x555557decbe0, n=...) at backends/fs/posix/posix-fs.cpp:128
#8 0x0000555555f4debf in Common::FSNode::getChild (this=0x7fffffffb860, n=...) at common/fs.cpp:144
#9 0x0000555555b6cc0c in DefaultSaveFileManager::openForSaving (this=0x555556d22bb0, filename=..., compress=true) at backends/saves/default/default-saves.cpp:161
#10 0x0000555555f80a46 in Common::PlaybackFile::openWrite (this=0x555557e8ef50, fileName=...) at common/recorderfile.cpp:62
2026-01-05 13:25:04 +01:00
Filippos Karapetis
e8bc9649ca
COMMON: Add helper methods to the TranslationManager
...
Added a method to get a translation from its index, as well as another
method to get a list of loaded contexts.
These are needed for the subtitle functionality in the M4 engine, to
create a mapping of the contexts (Which are the source audio files
in M4) with their respective translation entry.
2026-01-01 08:06:55 +11:00
Donovan Watteau
a78a5a5301
COMMON: LUA: Drop old workaround for macOS < 10.4
...
This workaround was added back in 2010 for a bug in macOS 10.2 SDK,
but I've checked that this was fixed starting with the 10.4 SDK.
Since our support for macOS 10.2 was already dropped several years ago,
it's time to drop commit ebf9911649 .
2025-12-19 22:51:33 +01:00
Simon Delamarre
13b659b1cd
COMMON: Add Canadian French language
2025-12-06 12:49:41 +02:00
Vladimir Menshakov
42e23f55e4
COMMON: allow BEGIN_{RECT,POINT}_TYPE to be used outside Common namespace
2025-11-30 19:17:51 +00:00