Commit Graph

2431 Commits

Author SHA1 Message Date
67a1999e8b Default param values (#458)
* default params closer to milkdrop behavior
also avoid div-by-zero in PresetFrameIO using default values

* default params closer to milkdrop behavior
also avoid div-by-zero in PresetFrameIO using default values

* comments

Co-authored-by: Matthew Bellew <matthewb@labkey.com>
2021-02-11 09:51:02 +02:00
98af04927a milkdropwaveform samples (#456)
be safe and validate samples<2048, also don't use numsamples
2021-02-10 16:07:00 -08:00
9c8d8be49d parse completely empty line (#455)
* parse completely empty line e.g.
  shape_1_per_frame1=shpt =
* add test case
2021-02-07 14:48:25 -08:00
51ba524963 limit samples <= points.size() (#454) 2021-02-06 20:21:30 -08:00
d789acbd34 fix typo in pmSDL.cpp (#445) 2021-01-14 09:11:16 +02:00
e6bd142286 Fix bug where search menu would not move forward with down arrow key. 2021-01-08 18:09:03 +04:00
e60f48b976 x86_64 builds FOR NOW for macOS. update travis xcode. 2020-12-30 20:44:05 +02:00
5e0f8d0d16 config 2020-12-30 19:49:47 +02:00
8bd629f62d Version bump 2020-12-30 19:47:21 +02:00
7d67efe35a Updating for XCode 12 2020-12-30 19:46:15 +02:00
fd0069d2a4 [_MSC_VER] Fix typing error. (#440)
* [_MSC_VER] Fix typing error.

* [_MSC_VER] Fix typing error.
2020-12-19 15:18:30 +02:00
a113be0171 Use C locale for floats in HLSLParser (#435) 2020-12-11 18:23:44 +02:00
b8fc74ad3f Crash fix when using multiple renderers (do not use static currentPipe) (#428)
Co-authored-by: djdron <djdron@gmail.com>
2020-12-08 18:36:39 +02:00
fd1d235a05 Fix various warnings (#436)
* Fix Wreorder warnings

* Fix various unused variable/parameter warnings

* Fix Wparentheses warnings

* Fix Wignored-qualifiers warning

* Fix uninitialized variable warnings

* Fix Wshadow warnings

* Fix Wsign-compare warnings

* Fix miscellaneous warnings
2020-11-26 11:05:40 +02:00
f0f59d951a Merge pull request #431 from hibengler/master
StaticGlShaders::QueryGlslVersionTry 2: --enable-gles 

(Tested by @revmischa on Ubuntu)
2020-11-22 20:51:09 +02:00
b283e16535 Fixed some errors with StaticGlShaders::QueryGlslVersion and walked through it carefully with a debugger/ 2020-11-11 17:46:09 -05:00
55ba31f57f On linux with --enable-gles, the obtaining of the shader major and minor version had a bug.
The old code assumed <major> '.' <minor> [' ' other stuff ]
But on Linux the string being parsed has other stuff at the beginning.
This would cause the atoi calls to raise an exception.

I solved it with inline C code that handles all cases.
2020-11-10 17:08:33 -05:00
d85d41b69c Update README.md (#420) 2020-09-30 22:56:59 +03:00
572298fc32 Add static GL source file to xcode project 2020-09-19 14:31:04 +03:00
2864bd7c31 bump version v3.1.8 2020-09-19 14:15:06 +03:00
be446c4bd5 Merge pull request #405 from milkdropper/search
Search menu
2020-09-02 15:26:26 +04:00
e5dcd8d372 Merge pull request #399 from fughilli/master
Backport GLSL shaders to version 1.2 to support older hardware.
2020-09-01 21:23:36 -07:00
b2783e574a Merge pull request #414 from fughilli/fix_shader_compilation_failure
Add mitigation for shader compilation failure
2020-09-01 21:23:09 -07:00
6dc10bf7a3 multios correctly 2020-09-01 20:44:00 +04:00
27b582e029 makedupefix 2020-09-01 20:07:45 +04:00
f50d14d537 makefix 2020-09-01 20:07:01 +04:00
12d6aa7e72 oscheck 2020-09-01 19:50:46 +04:00
176f3b168c winfix-eyetunes 2020-09-01 19:41:35 +04:00
ef010dd9e0 winfix-sdl 2020-09-01 17:09:05 +04:00
8931bd4608 Refactored switchPreset to have more logical naming 2020-09-01 00:35:09 -07:00
adf273c81f reduce lookups 2020-09-01 11:14:06 +04:00
1dd41ee97a Add mitigation for shader compilation failure 2020-08-31 23:57:22 -07:00
5b7393ad05 bug 2020-09-01 10:20:28 +04:00
e6a33aa5b3 refactor 2020-09-01 10:20:28 +04:00
977e732513 refactor highlighting into it's own method 2020-09-01 10:20:27 +04:00
05d41d21af reset search function, and start to handle / key 2020-09-01 10:20:27 +04:00
4ab72ef2ea travis 2020-09-01 10:20:27 +04:00
f509b8e5e7 Document 2020-09-01 10:20:27 +04:00
15230781e1 comments 2020-09-01 10:20:16 +04:00
ffdb4806a7 toggleSearchText 2020-09-01 10:19:43 +04:00
4994725805 preset loader updates care of @khoaxtru20 2020-09-01 10:19:21 +04:00
e3ca0ccec6 populate menu with search results if searching
search based on text
update next / previous based on search results.
2020-09-01 10:19:21 +04:00
34bc6746a3 draw search & highlight search text. 2020-09-01 10:19:21 +04:00
4752761b0f draw_search & more 2020-09-01 10:18:54 +04:00
9f37e97b2f showsearch 2020-09-01 10:18:38 +04:00
45adbba0ad toggleSearchText 2020-09-01 10:18:38 +04:00
f7e0743625 toggleSearchText 2020-09-01 10:18:38 +04:00
9a052b3e47 SDL handles text input properly. 2020-09-01 10:18:38 +04:00
ef6800cfcd Disable most keybinds if search menu is up.
Return enters search menu.
Return/Escape exits search menu.
2020-09-01 10:17:57 +04:00
01e23b0598 Merge branch 'master' of git://github.com/projectM-visualizer/projectm 2020-09-01 10:03:53 +04:00