Commit graph

6459 commits

Author SHA1 Message Date
Leon Styhre 941377e26a Merge commit '11e98042f40ee7c48a06c9f8e348df92c858209a' into library-updates 2023-08-05 11:13:29 +02:00
Leon Styhre 11e98042f4 Squashed 'external/rapidjson/' changes from 2e8f5d897..a95e013b9
a95e013b9 Stringify NaN, Inf as null if needs
973dc9c06 Avoid ptrdiff between pointers to different allocations
2a1f586ba Check for __GNUC__ definition
0e88d5e40 Eliminate missing prototypes warning
949c771b0 Resolve conflict with Windows header about max macro
083f359f5 CMakeLists: fix optflags for ppc
012be8528 Use passed in allocator.
1ce516e50 Suppress uritest
778dc8b03 fix #1
76281ff38 fix a typo in error.h: literial -> literal
a98e99992 do not define operator!= in C++20
b08672d46 review comment updates
55eca66f3 code & tests for openapi 2.0 & 3.0 suppprt
80b6d1c83 small corrections for schema.h
97fd83017 attempt to fix SEH
7cad78e23 tidy up after merge from master
794248ee6 fix build break
2d87923e9 remove unnecessary templating from schema tests
aa1f22251 correct address.json so tests pass
ecb8d9e3a add dump of unexpected schema errors in schematest.cpp
89f6717f0 corrections
338d8defd initial
06d58b9e8 Update dtoa.h
22a62fcc2 Update allocators.h
27c3a8dc0 docs: fix simple typo, perecent -> percent
232389d4f delete unused variable
64faab2e9 gate definition of symmetric equality operators on impl, not lib
719304b11 fixes for natvis
dd3f730d7 Make schema dtor robust against exceptions
781a4e667 Try to fix MSVC build.
88f8ddd70 Include conceptual change from PR 2001.
469595356 Avoid exit-time destructors.
0390b1ad5 Avoid exit-time destructors.
2b2c80450 encdedstreamtest: fix use-after-free compile error with gcc-12
1f59c69cd valuetest: fix potential write of terminating nul past the end of the destination
fcb23c2db Merge pull request #2008 from agate-pris/access-to-allocator-types
bdc49ad80 Merge pull request #2014 from lazydroid/dev/lenik/fix_shadowed_variables
6b500986c fix shadowed variable, take 2
3988c5e25 fix shadowed variable
386d31ab6 Allow access to the template parameter StackAllocator in the GenericDocument
79d7a448e Allow the macro RAPIDJSON_DEFAULT_STACK_ALLOCATOR to be used in any namespace
9965ab37f Allow the macro RAPIDJSON_DEFAULT_ALLOCATOR to be used in any namespace
8261c1ddf Merge pull request #1969 from MalcolmTyrrell/MalcolmTyrrell/sanitizeSchemaCode
0d78b1ce9 Merge pull request #1989 from adamcalhoon/really-fix-placement-new-alignment
1dff2abff Fix the alignment of placement new buffer for GenericValue.
e4bde9774 Merge pull request #1988 from Tencent/revert-1987-fix-placement-new-alignment
88bbd87dd Revert "Fix the alignment of placement new buffer for GenericValue."
bf8ca5da8 Merge pull request #1987 from adamcalhoon/fix-placement-new-alignment
5b242b6b2 Fix the alignment of placement new buffer for GenericValue.
fd3dc29a5 Merge pull request #1944 from ilelann/patch-1
53602ec6b Sanitize the code in schema.h
0d4517f15 Merge pull request #1961 from jedwardsol/issue1960_arm64ec_intrinsic
060c348ea use softintrin on arm64ec
4d6cb0818 Merge pull request #1949 from ardb-uk/master
033bef3c6 Merge pull request #1 from ardb-uk/ardb-uk-patch-1
befba39af Merge pull request #2 from ardb-uk/ardb-uk-patch-1-1
4bbaf28ff Add files via upload
14f1e37f8 Resolve issue 1948
e6736d1ba Support CMake none targets

git-subtree-dir: external/rapidjson
git-subtree-split: a95e013b97ca6523f32da23f5095fcc9dd6067e5
2023-08-05 11:13:29 +02:00
Leon Styhre 6e94da0bf7 Merge commit '2016fd6f5c3d0576722ff49e1aa34fdb69eaf8a9' into library-updates 2023-08-05 10:49:38 +02:00
Leon Styhre 2016fd6f5c Squashed 'external/CImg/' changes from 4d061dcd6..049267da1
049267da1 .
d974f83e1 .
143c6f781 .
8b641fa30 .
79ab52e6f .
593667dcf Auto-commit for release 3.2.6_pre
a5305a976 .
6fa06681b .
cdc9ee87a .
5f40398d1 Start work on next version 3.2.6.
78d1f0d7d Final release 3.2.5
620e4155c .
be214a006 .
1f9896c3a Add support for 'id#ind' in math parser.
44800102a Add support for 'id#ind' in math parser.
a6657d3d1 Auto-commit for release 3.2.5_pre
70e9a2cc3 .
a77287fe0 .
05fd7a869 .
81c22bb46 .
1f14f5eff .
bd1228f0f .
19e44e564 .
3f19980fc Start work on v.3.2.5.
504f5c653 .
26862961d Fix line width.
860b3747d Optimize cimg_math_parser::mp_vector_norm() by avoiding copies.
44eb192e9 .
c8d8710ee .
1cf8f5c27 .
7b6ec0809 .
99871e252 Simplify CImg<T>::draw_polygon() and CImg<T>::draw_line().
30ec22fde .
a2c50471e .
d2f63a9f8 Fix possible issue in 'CImg::draw_polygon()' (better fix).
e0675260c Fix possible issue in 'CImg::draw_polygon()'.
bb9980723 .
c431612a1 .
3606c5f5b Auto-commit for release 3.2.4_pre
d5d63e21f .
acea91b06 .
9a3c772fa .
ccb519bc0 .
9bf62d16b .
0936bc4b7 math evaluator: Add function 'unitnorm(V,p).
5236bd690 .
95ff538e1 .
3285740e9 .
7d01d9b70 Start work on 3.2.4
c7868e298 .
903cc805d .
f03139316 math_parser(): Add function 'c2o()' (coordinates to offset).
ff49ec20f math_parser(): Add function 'o2c()' (offset to coordinates).
6cbef2c1d Start working on version 3.2.3
ba9bb02a8 Final release 3.2.2
998d0157c .
1bb2d4f00 .
722646c42 Attempt to fix compilation on Windows.
2f3c64511 .
113a16334 .
e67bdf5d9 .
31fe9269c .
64839222d Better support of 'CImg<unsigned long long>' and 'CImg<long long>'.
32b3bb6ff Add specific cimg::type() traits for 'unsigned long long' and 'long long'.
806ef2861 Start work on 3.2.2
b558be730 Final release 3.2.1
85aa2ac2e .
bcafdc4d9 .
a6961a5bd .
33b78048e .
3c063517e .
9c76c1842 .
87863667a .
d60290f8d .
3b75fa436 .
f1815c88a .
6f575e662 .
5d6be92b4 Allow dynamic arrays to have larger size (32bits integers, i.e 2G elements).
c7d1772b8 .
977a1bb81 .
2cf046326 .
54d2b753c .
f4a0f772d .
d11a0380e .
4828190aa math_parser: Check that specified '#index' of functions are not NaN.
3b71fa0ce Function 'v2s()': Add option to 0-pad integer values.
652e6604b .
ea3197ce4 Fix #374
c88e03819 math_parser: Add function  that computes the square root of complex numbers.
b58775209 Add detection of the not operator in fast pre-evaluation of math expressions.
5e3585553 Add detection of the not operator in fast pre-evaluation of math expressions.
209c38da9 .
6ba3d0a11 Fix #319.
4e9412e8d Start work on next version 3.2.1
57028920e .
9772e0204 .
446c39411 Math evaluator: Add new function 'abort()'.
3c2ecee1f Make fast string comparisons more robust when expressions contain blank characters.
af9ecf8d0 Optimize evaluation of string comparisons.
edfcda038 .
00cab3cea .
a0af5312c .
6a92e46f2 .
7ae52c28d cimg_math_parser(): Add 'gamma()' function.
ad516d976 .
b71e2db76 .
a9633d4ed .
9d8406e57 .
103d23625 .
6349c771f .
bef50f9d8 .
391a24013 .
d4669fbbc .
5e77a9c7e .
86440098e .
6b9eee37c .
616484469 .
e79edfdb9 .
e616c2443 .
772fa4dca .

git-subtree-dir: external/CImg
git-subtree-split: 049267da171c50ab48f93c7285f096d7d686e8f3
2023-08-05 10:49:38 +02:00
Leon Styhre b975fce8ff Added a (very long) length restriction to custom collection names 2023-08-05 10:33:07 +02:00
Leon Styhre 6c3406c9d8 Changed a scraper debug log message 2023-08-04 22:04:27 +02:00
Leon Styhre 295cd87bfb Added the monthly allowance reset timer info to the debug log output for GamesDBJSONScraper 2023-08-04 21:05:22 +02:00
Leon Styhre 9e21428add Changed a scraper debug log message 2023-08-04 21:04:04 +02:00
Leon Styhre dbecb22cc7 (Windows) Fixed an MSVC compiler warning 2023-08-04 18:52:14 +02:00
Leon Styhre 2059ba3eeb Removed atarijaguarcd as an extra platform for the atarijaguar system as it actually made scraping worse 2023-08-04 18:29:30 +02:00
Leon Styhre 1da9a8cf00 Fixed an issue where ScreenScraper API calls were slightly malformed for systems where multiple platforms were defined 2023-08-04 18:08:59 +02:00
Leon Styhre fc24b21311 Fixed an issue where duplicate ScreenScraper game entries could show up in the interactive scraper if multiple platforms were defined for the system 2023-08-04 18:02:12 +02:00
Leon Styhre 82338d9b90 Added more scraper debug log output to ScreenScraper and GamesDBJSONScraper 2023-08-04 17:56:50 +02:00
Leon Styhre 47a790ccff The entire path is now included in the debug log output if a scraped file or folder is not in the root of the game directory 2023-08-04 17:54:02 +02:00
Leon Styhre 8aa09fe9f5 Fixed an issue where the thumbnail image would not get downloaded for all entries in the interactive scraper if they shared the same URL 2023-08-04 17:51:02 +02:00
Leon Styhre e35b38a35e Automatic scraping of systems with multiple platforms will now select the correct platform if there's an MD5 file match
Also changed the scraper search type enums to sensible names
2023-08-04 17:47:12 +02:00
Leon Styhre ff105fd2f4 Documentation update 2023-08-03 22:52:34 +02:00
Leon Styhre d94cdb013f Added additional MD5 file hash logging to the scraper 2023-08-03 22:28:13 +02:00
Leon Styhre 40d27ff772 Added MD5 file hash searching support to the scraper when using ScreenScraper 2023-08-03 20:48:54 +02:00
Leon Styhre 590591d0fb Added a check to MathUtil::md5Hash() to not attempt to hash directories 2023-08-03 20:14:04 +02:00
Leon Styhre ee7bc6481e (Linux) Added support for using portable mode for the RetroArch AppImage release (added corepath find rules) 2023-08-02 21:20:02 +02:00
Leon Styhre 74c22f80ff (Linux) Added support for the AppImage release of Snes9x 2023-08-02 20:40:25 +02:00
Leon Styhre 35598a2c45 Changed the unsafe upgrade check to use std::filesystem::path 2023-08-02 20:36:29 +02:00
Leon Styhre 57fffd88b2 Added support to MathUtil::md5Hash() for streaming files in chunks 2023-08-02 20:34:32 +02:00
Leon Styhre becc173a45 Minor adjustment to the sizing of an application updater dialog 2023-08-02 20:29:30 +02:00
Leon Styhre c22bdae16e Changed most try/catch statements in FileSystemUtil to actually output the std::filesystem error messages 2023-08-02 20:28:29 +02:00
Leon Styhre 05cfbb55bd Added try/catch statements to a couple of std::filesystem functions in FileSystemUtil 2023-08-02 19:32:46 +02:00
Leon Styhre 5705672957 Added a getFileSize() function to FileSystemUtil
Also modernized createEmptyFile() to use std::filesystem::path
2023-08-02 19:20:50 +02:00
Leon Styhre d0346d8c28 Added GuiTextEditPopup support to GuiApplicationUpdater 2023-08-01 21:40:16 +02:00
Leon Styhre e1e8420306 Documentation update 2023-08-01 18:15:21 +02:00
Leon Styhre a0f5e013cc Fixed a button resizing issue in GuiApplicationUpdater 2023-08-01 18:10:43 +02:00
Leon Styhre d67252eefc (Windows) Fixed an MSVC compiler warning 2023-08-01 17:49:08 +02:00
Leon Styhre f91a87251d Added a download percentage indicator to the application updater together with some other minor improvements
Also cleaned up HttpReq in general and added a progress meter callback
2023-08-01 17:36:15 +02:00
Leon Styhre cd2181a8b5 Fixed an issue where an ApplicationUpdater dialog did not have themed help prompts 2023-07-31 20:35:30 +02:00
Leon Styhre 8a7d371f3f (Windows) Fixed some directory separator issues in GuiApplicationUpdater 2023-07-31 19:49:23 +02:00
Leon Styhre a5a5a814db (Windows) Fixed a compile error 2023-07-31 19:33:35 +02:00
Leon Styhre 4f3d66c45b Added support for downloading the Windows and macOS packages via the application updater 2023-07-31 19:25:54 +02:00
Leon Styhre 3472c6f852 Added a FileSystemUtil function to return the system home directory 2023-07-31 17:49:58 +02:00
Leon Styhre a95e161d12 (Windows) Improved the README.txt file for the portable release 2023-07-31 17:48:26 +02:00
Leon Styhre 9938ce92d5 (slate-es-de) Updated the author information 2023-07-31 17:44:29 +02:00
Leon Styhre 868c89cecf (Windows) Added a warning dialog on startup if an unsafe upgrade of the portable release has been made 2023-07-31 17:42:38 +02:00
Leon Styhre 66555101bf Added a FileSystemUtil function to create an empty file 2023-07-31 17:40:06 +02:00
Leon Styhre 0267a9db00 Some video code cleanup 2023-07-30 20:12:23 +02:00
Leon Styhre 9fa5274792 Documentation update 2023-07-30 19:43:04 +02:00
Leon Styhre af69b1b0d2 Changed a function name in GuiScraperSearch 2023-07-30 19:30:17 +02:00
Leon Styhre d8409da174 (Windows) Converted forward slashes to backslashes for a ThemeData log message 2023-07-30 18:36:38 +02:00
Leon Styhre ed1e11418b Completely removed support for legacy EmulationStation theme sets 2023-07-30 18:17:27 +02:00
Leon Styhre d0fc8cd56e Removed the es_log.txt entry when an es_systems.cfg legacy systems configuration file was found on startup 2023-07-30 12:27:27 +02:00
Leon Styhre 99a0766dd9 Changed the 'no games' dialog to no longer save the ROM directory to es_settings.xml if its value hasn't changed 2023-07-30 00:04:09 +02:00
Leon Styhre 42e3be2e2d Fixed an issue where directories interpreted as files entries could not be removed from custom collections 2023-07-29 23:56:44 +02:00