Commit Graph

1760 Commits

Author SHA1 Message Date
8ab7243dbb Merge pull request #158 from kossebau/fixlocalebaseddoubleparsing
Fix Milkdrop Preset parser to read floats always in C locale
2019-02-09 19:20:53 +02:00
160574f0ca Merge pull request #155 from kossebau/removeunusedRenderContextfiles
Remove unused libprojectM/Renderer/RenderContext.* files
2019-02-09 19:20:37 +02:00
5770b5c772 Error handling fix 2019-01-30 11:04:03 -08:00
dfd335f853 Fix Milkdrop Preset parser to read floats always in C locale
Also remove calls of setlocale(LC_NUMERIC, "C"); in library,
which results in unexpected sideeffects in the rest of the process
where the library is used.
Same for the applications which also had this work-around added.

Work-arounds using setlocale had been added in
90aa2c8f38 & 196c374a74
2019-01-27 00:24:01 +01:00
bfdd0ad033 short circuiting IF() (#156)
* short circuiting IF()

* fix non SSE2 init_mesh()
2019-01-19 10:11:47 -08:00
7a10f2d458 Remove unused libprojectM/Renderer/RenderContext.* files
Used class RenderContext is now defined in Renderable.*
2019-01-19 12:14:01 +01:00
2de12eb480 fix first point in CustomWave 2019-01-17 17:55:28 -08:00
2b7eb92250 Adding a fun collection of presets I scooped up - all shader based 2019-01-17 20:15:37 +02:00
5b25b889a0 handle 2ch floating point PCM data (#150)
separate stereo channels when using PA_SAMPLE_FLOAT32LE
2019-01-16 20:07:30 +00:00
575bbb8982 projectM-unittest (#153)
revive projectM-test directory

    new executable src/projectM-test/projectM-unittest
    still need to update existing code SDL->SDL2

Add projectM-unittest to Travic CI
2019-01-16 19:32:51 +00:00
9bbd4863c2 .gitignore files 2019-01-15 11:01:56 -08:00
f68c1b6913 avoid problem loading mixed case extension - EOE125~1.MILk 2019-01-14 16:49:23 -08:00
42fee50d64 Perf cleanup (#151)
* Param refactor
collected all the code that reached inside Param (InitCond, Per*Eqn, Expr, Parser) to read/write and stuffed it all back into Param.cpp
made Param extend Expr to avoid any perf penalty (I actually think eval() is a tiny bit faster now)

* presets/tests

* ALWAYS_MATRIX is used with PER_POINT

* use SSE2 to impove initialize_PerPixelMeshes() performance

* TestRunner
very, very simple test framework, but it's better than no framework
(consider investigating adopting something)

* ProgramExpr
2019-01-14 05:33:38 +00:00
8cf26aac15 don't free existing before allocate()
(put back the way it was)
2019-01-13 19:43:33 -08:00
d0b54ba46c 147 (#149)
* attempt at fixing synchronization problem
https://github.com/projectM-visualizer/projectm/issues/147

* fix init

* add header to Makefile.am

* undo accidental commit
2019-01-12 22:40:19 +00:00
f9a80f424f Merge pull request #144 from mbellew/PresetOutputs-bug
Preset outputs bug
2019-01-08 17:39:29 -08:00
72b149ae2c caching one PresetOutputs appears to be sufficient 2019-01-08 16:37:51 -08:00
1b16539d3a More complete fix to PresetOutput bug.
created matching allocate/release methods for PresetOutput, so there is no implicit dependency on behavior between projectM::switchPreset() and MilkdropPresetFactory::allocate()
2019-01-08 14:16:24 -08:00
1bf7902f6f Merge pull request #142 from mbellew/PerPoint_bug
Per point bug
2019-01-04 18:32:47 -08:00
2557555ee9 value1 and value2 were marked at ALWAYS_MATRIX but the matrix variables were never set.
now treat the three read-only variables consistently (sample, value1, value2)
2019-01-03 23:05:01 -08:00
0ef8ddffbd Merge pull request #2 from projectM-visualizer/master
merge from master fork
2019-01-03 09:35:35 -08:00
45d8d3474a Merge pull request #141 from mbellew/PresetOutputs-bug
bug calling switchPreset() while a smooth transition is still in progress
2019-01-03 11:30:18 +02:00
fcfb8ebf90 fix bug when calling switchPreset() while a smooth transition is still in progress 2019-01-02 18:30:56 -08:00
9d82515a9b xcode cleanup 2019-01-01 13:27:57 +02:00
0ab97816b3 Merge pull request #132 from opencollective/opencollective
Activating Open Collective
2019-01-01 12:26:01 +01:00
6eb8bbd172 Added backers and sponsors on the README 2018-12-24 09:13:34 -08:00
e1440691ac Merge pull request #127 from segfault16/mac-readme
Update brew packages needed for Mac OS X build
2018-12-09 16:45:56 +00:00
735700f5a5 Update brew packages needed for Mac OS X build 2018-12-09 14:07:00 +01:00
7d279db9bb Merge pull request #123 from projectM-visualizer/gles_fixes
DX to openGL/openGLES transpilation fixes
2018-11-23 12:27:57 +01:00
d9f65d9211 Disable OGL debug for GLES build
Memory leak fix
2018-11-21 18:39:52 +01:00
94ece761ff Merge pull request #122 from projectM-visualizer/build_warnings_cleanup
Build warnings cleanup
2018-11-21 18:33:35 +01:00
271f1f2f68 - Matrix assignment: DX to GL adaptation
- GLES fix
2018-11-20 20:34:36 +01:00
64d62429fb Assignement -> Assignment 2018-11-20 20:29:09 +01:00
0e4436026e easy asan activation 2018-11-20 19:21:34 +01:00
069c005c5b audio emoji is back 2018-11-20 19:19:59 +01:00
18de78fd71 using std::abs 2018-11-19 19:06:19 +01:00
10ee34683e DX to openGL/openGLES transpilation fixes 2018-11-17 13:13:25 +01:00
116025f272 std::abs usage 2018-11-17 12:55:34 +01:00
d4d74f6d05 Build warnings cleanup 2018-11-17 11:42:28 +01:00
4e37c109f0 memleak fix 2018-11-17 11:41:59 +01:00
9fea09b23e Merge pull request #112 from notspiff/add_runtime_datadir
added: allow specifying datadir in settings on runtime
2018-10-15 16:27:59 +03:00
b56a1c848d fixup! added: allow specifying datadir in settings on runtime 2018-10-15 15:24:14 +02:00
7bf0a3f35d added: allow specifying datadir in settings on runtime 2018-10-04 16:33:47 +02:00
a282403cac update xcode 2018-09-30 15:46:01 +03:00
dd27a53889 readme, comments 2018-09-30 15:37:45 +03:00
47286f1b34 Merge pull request #106 from projectM-visualizer/no-glew
No GLEW
2018-09-30 15:22:36 +03:00
5e456e28ec Merge pull request #107 from projectM-visualizer/glsl
Include config.h for libraries
2018-09-23 15:04:23 +02:00
b1fe1637f4 Merge pull request #103 from growingant/patch-2
update Makefile.am
2018-09-23 14:31:09 +02:00
527ba32c29 Merge pull request #102 from growingant/patch-1
update Makefile.am
2018-09-23 14:30:31 +02:00
608173e848 Glew and FTGL cleanup 2018-09-23 13:37:06 +02:00