Commit Graph

1798 Commits

Author SHA1 Message Date
376d57ccab Trivial fix for projectM-jack.desktop (#189)
as already in src/projectM-pulseaudio/projectM-pulseaudio.desktop remove
extension
Fix an warning when run desktop-file-install
value "prjm16-transparent.svg" for key "Icon" in group "Desktop Entry" is an icon name with an extension, but there should be no extension as described in the Icon Theme Specification if the value is not an absolute path
2019-04-05 09:31:21 +03:00
7a38548ecc Temporarily moved bad presets to bad_presets folder in repo root to avoid disrupting users' visual experience while the community fixes them (#187) 2019-03-30 23:49:44 +02:00
adb7e3ea06 Merge pull request #182 from mancoast/appv
Create .appveyor windows binary release
2019-03-22 15:40:01 -04:00
d9df7c7858 Create .appveyor.yml 2019-03-22 15:19:47 -04:00
503a14ddc2 win32 qt5 is broken, disable build in msvc solution 2019-03-22 14:46:34 -04:00
1604e839ac fix msvc native preset builds 2019-03-22 14:46:20 -04:00
b92a283b43 Windows build with MSVC (#181)
credit: @mancoast 

* msvc

* include glew for windows

* fix usage of std namespace with win32

* Update pmSDL.hpp

fix warning with win32

* update dirent for win32

* libs required for win32 linkage

* Update pmSDL.hpp

SDL_MAIN_HANDLED

* Update ShaderEngine.cpp

init glew to create shaders

* fake SDL audio with win32

* Update Renderer.vcxproj

use wildcards for source filenames

* Create config.h

* Update Expr.cpp

fix win32 breaks

* cleanup broken max function

* Update Makefile.am

remove ref to win32-dirent
2019-03-22 08:55:35 +01:00
6cb87ee699 readme note about autogen 2019-03-14 20:56:19 +02:00
a5fb06ddf7 Sort input file list (#176)
so that projectM builds in a reproducible way
in spite of indeterministic filesystem readdir order.

See https://reproducible-builds.org/ for why this is good.

Without this patch, multiple .milk files varied between builds
in interesting ways:
--- "old//usr/share/projectM/presets/Geiss - All-Spark Polar.milk"
+++ "new//usr/share/projectM/presets/Geiss - All-Spark Polar.milk"
@@ -3,7 +3,7 @@
 PSVERSION_WARP=2^M
 PSVERSION_COMP=2^M
 [preset00]^M
-fRating=4.000000^M
+fRating=2.0^M
2019-03-11 16:02:41 +02:00
0e19f0ebe1 https://github.com/projectM-visualizer/projectm/issues/161 (#175)
fix for https://github.com/projectM-visualizer/projectm/issues/161
2019-03-10 20:05:41 -07:00
0318e390f4 LLVM - add native code generation for expression evaluation (#162) 2019-03-05 14:24:59 -08:00
660ee77eca allow explicit disabling of Qt 2019-03-04 23:28:40 +02:00
9cd0b947e6 version v3.1.1-rc3 2019-03-04 21:37:00 +02:00
d07e97d2a9 mac-dist 2019-03-04 21:36:23 +02:00
9550d745cf Add GLES into automake build / fix android compile string (#171) 2019-03-03 22:59:19 +02:00
e33cf1a6ab Allocate PerlinNoise dynamically / Fix thread detach after join (#170) 2019-03-03 22:58:57 +02:00
299fd58053 fix up macos build script 2019-03-03 12:51:25 +02:00
116010d8ad automating dist for macOS v3.1.1-rc2 2019-03-03 12:40:09 +02:00
3b80031dc9 gitignore for jack 2019-03-03 11:59:53 +02:00
7ef7a379a0 rendercontext is gone 2019-03-03 11:58:24 +02:00
0378ee77ee AX_HAVE_QT for configuring Qt compilation (#167)
* Testing using AX_HAVE_QT for configuring Qt compilation instead of pkg-config

* cleanup

* get RCC too

* try MOC without CXXFLAGS?

* need qt5-default package

* readme, unfuck pulseaudio compile

* already have ax_have_qt.m4

* fixes to add RCC to ax_have_qt
2019-03-02 21:39:38 +02:00
8cafafab65 see if qt5-uic builds without -qt=5 flag 2019-03-01 11:02:00 +02:00
5598b8377c Makefile: qt / jack / pulseaudio (#163)
Major updates to Makefiles, please report any build time issues!
Adding/updating makefiles for Qt, Jack, and Pulseadio implementations



* detect if we have libpulseaudio, libsdl2, and qt5 and if so just enable them automatically without the user having to.

* jack support, travis build with pa/jack/qt

* pass config opts

* test

* test

* test

* don't always enable sdl

* better libsdl2 detection

* hopefully fixed qt/pulse/jack makefiles

* oops

* travis

* fix jack subdir

* jack fixup

* jack makefile

* libsdl 1 for jack

* jack builds yay (qt version)

* testqt

* readme

* let's always build test

* let's always build test

* sdl2 for travis build test

* qt is required for jack/pulse
v3.1.1-rc1
2019-02-28 15:17:35 +02:00
df86fd1240 Merge pull request #125 from luigino/libprojectM
Increase soversion to 3.1.1
2019-02-22 09:39:20 +01:00
3258ff5a1a Increase libprojectM SOVERSION to 3.1.1 2019-02-21 19:41:55 +01:00
614aff4470 Merge branch 'qt_fullscreen' 2019-02-10 11:27:20 +02:00
24f2268811 qt fullscreen 2019-02-10 11:26:55 +02:00
e7319c6cad kill -sdlvis; can't even find anything about it on google. ancient code. 2019-02-10 10:52:41 +02:00
e2c92d0312 Merge pull request #164 from sage-michaels/nix
Add a nix file
2019-02-10 10:45:13 +02:00
ab255c1155 Add a nix file
This makes it easy to install all the relevant depdencies
on OSX. You can then build the project with:

    nix-shell nix/shell.nix --run \
      './autogen.sh && ./configure.sh --enable-sdl && make'
2019-02-09 17:14:05 -08:00
8278444652 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
321dd5c287 Merge pull request #155 from kossebau/removeunusedRenderContextfiles
Remove unused libprojectM/Renderer/RenderContext.* files
2019-02-09 19:20:37 +02:00
3db162ac43 Error handling fix 2019-01-30 11:04:03 -08:00
f41f39d2f8 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
7a529f3536 short circuiting IF() (#156)
* short circuiting IF()

* fix non SSE2 init_mesh()
2019-01-19 10:11:47 -08:00
1cf7eaa4c8 Remove unused libprojectM/Renderer/RenderContext.* files
Used class RenderContext is now defined in Renderable.*
2019-01-19 12:14:01 +01:00
56e03259b5 fix first point in CustomWave 2019-01-17 17:55:28 -08:00
7fdf8ef8a5 Adding a fun collection of presets I scooped up - all shader based 2019-01-17 20:15:37 +02:00
548a65acfa handle 2ch floating point PCM data (#150)
separate stereo channels when using PA_SAMPLE_FLOAT32LE
2019-01-16 20:07:30 +00:00
b0749e5f53 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
448862c2ac .gitignore files 2019-01-15 11:01:56 -08:00
64950a4516 avoid problem loading mixed case extension - EOE125~1.MILk 2019-01-14 16:49:23 -08:00
dfb693c898 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
315f9f6423 don't free existing before allocate()
(put back the way it was)
2019-01-13 19:43:33 -08:00
cde3566d16 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
65922bad86 Merge pull request #144 from mbellew/PresetOutputs-bug
Preset outputs bug
2019-01-08 17:39:29 -08:00
969c6beb3f caching one PresetOutputs appears to be sufficient 2019-01-08 16:37:51 -08:00
1ef0c37d8d 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
30490a7e33 Merge pull request #142 from mbellew/PerPoint_bug
Per point bug
2019-01-04 18:32:47 -08:00
cd9f7dc2dd 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