Commit graph

1747 commits

Author SHA1 Message Date
John Rassa 0d21bffc4e
Merge pull request #341 from jrassa/theme-variables-fix
fix resolvePlaceholders to handle multiple variables in a single string
2018-01-08 18:32:09 -05:00
jrassa 27e91e78b4 fix resolvePlaceholders to handle multiple variables in a single string 2018-01-07 21:43:18 -05:00
Zachary Burke 7d50301b46 Majorly improved performance when fetching Mame names.
After profiling UI filtering and startup I determined that
getCleanMameName was responsible for the incredibly long load times when
loading/filtering Mame ROMS. This function was using a linear search
over a pre-sorted array to find a corresponding Mame ROM Name from the
ROM name. It now uses a binary search which improves UI load/filter
responsiveness by a couple orders of magnitude.

Single core performance on my i7 for 10,000 iterations was 2.01 secs vs
7.77e-4 secs
2018-01-03 13:47:39 -08:00
Jools Wills b2111300c3
Merge pull request #336 from tomaz82/boost_filesystem
Utils::FileSystem
2018-01-03 14:22:13 +00:00
Tomas Jakobsson 18d6b9341e Add getDirContent, getHomePath, getCWDPath, canonicalPath, absolutePath, resolvePath, resolveSymlink, getExtension, removeFile, isAbsolute, isRegularFile, isDirectory, isSymlink, isHidden and isEquivalent
Rename makeGeneric to genericPath and escapePath to escapedPath

Add toUpper
2017-12-30 20:04:18 +01:00
Tomas Jakobsson 05caef2f28 Remove all namespace fs = boost::filesystem; 2017-12-28 15:03:11 +01:00
Jools Wills f93390b87f
Merge pull request #333 from tomaz82/boost_misc
Eliminate some boost usage
2017-12-28 09:29:06 +00:00
Tomas Jakobsson 5e8d6b7f45 Eliminated the need for boost::xpressive, boost::algorithm and boost::variant 2017-12-27 18:22:26 +01:00
Jools Wills b8dd51ddf4
Merge pull request #334 from cgmartin/fix/vlc-audio-loop
Fix: VLC player not muting audio after first loop
2017-12-23 20:48:20 +00:00
Christopher Martin d1d622bd93 fix audio mute during loop 2017-12-22 14:54:28 -05:00
John Rassa 5e9c296fe9
Merge pull request #324 from tomaz82/custom_viewport
Implement --screensize and --screenoffset
2017-12-05 08:17:09 -05:00
John Rassa 4a70796814
Merge pull request #320 from tomaz82/date_time
Replaced boost::posix_time with Utils::Time
2017-12-05 08:16:26 -05:00
Jools Wills 96ac974ecb bump version to v2.7.4 2017-12-04 19:36:16 +00:00
Tomas Jakobsson 4425ea0165 Implement --screensize and --screenoffset 2017-12-02 19:16:08 +01:00
Tomas Jakobsson 11b8dbfc43 Replaced boost::posix_time with Utils::Time 2017-12-01 18:49:56 +01:00
Jools Wills 190e963285
Merge pull request #301 from tomaz82/cec_update
Log everything CEC does
2017-12-01 17:40:07 +00:00
Jools Wills 8cfc926b26
Merge pull request #318 from tomaz82/clean
Cleanup a couple of classes
2017-12-01 17:39:54 +00:00
Jools Wills ebe0101d4f
Merge pull request #323 from pjft/empty-favorites-fix
Fixes favorites crashing when removing last entry
2017-12-01 17:39:18 +00:00
pjft f29452e533 Fixes favorites crashing when removing last entry
Regression somewhere down the line.
2017-12-01 17:23:28 +00:00
Tomas Jakobsson b6b6f73a24 Log everything CEC does
Only support libcec4
2017-11-29 21:00:36 +01:00
Tomas Jakobsson cfaa7c19d4 Cleanup a couple of classes 2017-11-25 23:15:55 +01:00
Jools Wills ca046f75f1
Merge pull request #295 from zigurana/UIModeController
[Ready to Merge] UIModeController Class
2017-11-25 13:38:16 +00:00
D. Polders 1ed075a5e4 * Add ConfirmationPopUp when switching UIMode.
* Split out UIMode controller in separate class (in es-app).
* Fix passphrase input for wX360 controllers by ignoring hat-inputs
* Fix font fallback mechanism on rpi for non ascii characters using new Unicode2Chars() method.
* Fix UIMode not being saved due to popup window.
2017-11-19 00:28:36 +01:00
Jools Wills 0cfd1833bb
Merge pull request #310 from tomaz82/fix_warnings
Silence warnings
2017-11-18 23:21:05 +00:00
Tomas Jakobsson bd0c6beed5 Silence warnings 2017-11-18 23:20:09 +01:00
Jools Wills f35769de6b bump version to v2.7.3 2017-11-18 17:45:18 +00:00
Jools Wills 5d66bf107a
Merge pull request #313 from tomaz82/fix_scraper
Fix NES and SNES scraper that broke during boost cleanup
2017-11-18 17:43:22 +00:00
Tomas Jakobsson 160ef73eee Fix NES and SNES scraper that broke during boost cleanup 2017-11-18 18:11:58 +01:00
Jools Wills e47bc45e25
Merge pull request #309 from tomaz82/fix_minmax
Fix for building ES on Windows using cmake
2017-11-17 13:43:33 +00:00
Tomas Jakobsson dc4f7e4cf2 Fix for building ES on Windows using cmake 2017-11-17 12:42:33 +01:00
Jools Wills 094c9ccd09
Merge pull request #308 from tomaz82/utils
Add String and FilesSystem utils
2017-11-16 18:38:15 +00:00
Jools Wills 0d2dc86a90
Merge pull request #306 from tomaz82/math
Cleaning up a lot of math functions
2017-11-16 18:37:22 +00:00
Tomas Jakobsson ae5f9a0342 Move StringUtil to utils subfolder
Added utils/FileSystemUtils which will replace some boost::filesystem functions in the future
2017-11-16 19:18:20 +01:00
Tomas Jakobsson 92b73bd847 Cleaning up a lot of math functions 2017-11-14 20:09:20 +01:00
Jools Wills e0585cf501 bump version to v2.7.2 2017-11-13 00:21:20 +00:00
Jools Wills e94fb5c36d
Merge pull request #300 from psyke83/cec4fix
Implement libcec4 compatibility
2017-11-12 06:26:41 +00:00
Jools Wills 89607def71
Merge pull request #299 from tomaz82/const_iterator
iterator -> const_iterator
2017-11-12 06:25:53 +00:00
Conn O'Griofa 223b68b949 Implement libcec4 compatibility & fix debug logging
Needed for Raspbian stretch.
2017-11-12 00:40:37 +00:00
Tomas Jakobsson 9fbe95daa3 iterator -> const_iterator 2017-11-12 00:05:19 +01:00
Jools Wills b63a2835ba
Merge pull request #298 from tomaz82/clean_pugi
Clean up pugixml.hpp includes
2017-11-10 21:39:56 +00:00
Jools Wills 7c245ae25e
Merge pull request #297 from tomaz82/unicode
Implement StringUtil ( Unicode )
2017-11-10 21:39:44 +00:00
Tomas Jakobsson 7719bff8ae Clean up pugixml.hpp includes 2017-11-10 20:16:42 +01:00
Tomas Jakobsson 232f36f866 Implement StringUtil which has stolen some functions from Font and added unicode2Chars 2017-11-10 19:54:03 +01:00
Jools Wills 8da400aa84
Merge pull request #292 from tomaz82/cec
CEC Support
2017-11-10 03:48:45 +00:00
Jools Wills a6d826a1e9
Merge pull request #293 from zigurana/UIModeConfirmationPopUp
Add confirmation popup when changing to UI mode Kid or Kiosk.
2017-11-10 03:48:24 +00:00
Jools Wills c0eff8e71b
Merge pull request #294 from tomaz82/fix_locale
Trying to fix japanese text
2017-11-10 03:34:51 +00:00
Tomas Jakobsson c66194e9c6 Trying to fix japanese text 2017-11-09 23:08:51 +01:00
D. Polders df7ef94462 Add confirmation popup when changing to UI mode Kid or Kiosk. 2017-11-09 21:51:46 +01:00
Tomas Jakobsson 074e22ee37 CEC Support 2017-11-08 23:22:15 +01:00
Jools Wills b833b45832 bump version to v2.7.1 2017-11-08 17:52:49 +00:00