Commit Graph

1772 Commits

Author SHA1 Message Date
b3c3282eb0 Do away with Intrinsics.h 2021-02-20 21:40:39 +02:00
3cd8efac81 fix shape.textured=1 (#465)
https://github.com/projectM-visualizer/projectm/issues/459
2021-02-16 13:00:05 -08:00
7acb4585e0 Remove sdl2 submodule 2021-02-16 18:23:58 +02:00
b4888d2d24 milkdrop2 defaults to wrap=true (#464)
Co-authored-by: Matthew Bellew <matthewb@labkey.com>
2021-02-15 13:27:55 -08:00
beb96ebf43 fix bundle name 2021-02-14 16:49:56 +02:00
f7f74b11e3 Xcode cleanup, single mac installer, universal binary support (#461)
* Mac installer now contains both the app and Music plugin
* Major xcode projects cleanup
* Working universal binary build with xcode and installer (needs universal sdl2 to link against)
* Fix #460 - texture2D is renamed texture (#462)
2021-02-14 13:41:02 +02:00
5ff6b4a09f Wavemode7 (#457)
* test all wavemodes
* fix wavemode=7 DoubleLine

* don't install test presets

* and don't create test directory

Co-authored-by: Matthew Bellew <matthewb@labkey.com>
2021-02-13 17:07:48 -08:00
202741f511 Add macOS entitlements for audio capture. Upgrade to recommended settings. 2021-02-13 12:51:12 +02:00
3b43901679 A bit of cleanup, disable touch events (via #define) 2021-02-12 22:38:49 +02:00
832db8689b Merge pull request #443 from milkdropper/searchmenufix
Search menu fix
2021-02-12 14:14:20 +04:00
8913b064c3 Fix #408: Parser can blow up if no [preset00] header (#450)
* Fix: Parser can blow up if no [preset00] header

* fix no debug mode

* Remove assert that is blowing up because it looks like this is sort of handled.

* Only do rdft() on powers of 2 samples

* Only do rdft() on powers of 2 samples

* Revert changes to PCM.cpp sampling, needs more thoughtful fixing
2021-02-12 10:52:19 +02:00
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
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
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
572298fc32 Add static GL source file to xcode project 2020-09-19 14:31:04 +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
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
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