Commit Graph

1654 Commits

Author SHA1 Message Date
rdb 2c35d7a8e9 deploy-ng: changes to make macOS app bundles work correctly 2017-12-21 15:49:16 +01:00
rdb a512c44366 deploy-ng: fix Windows codec error when console codepage is 0 2017-12-21 14:09:09 +01:00
rdb f703fd51ed deploy-ng: allow deploy-stub to set MAIN_DIR via blobinfo 2017-12-21 12:25:17 +01:00
Mitchell Stokes fcb1d9308b Merge branch 'master' into deploy-ng 2017-11-25 14:58:25 -08:00
rdb dac08490ee deploy-ng: implement getting executable path on Linux and macOS 2017-11-24 23:43:15 +01:00
rdb 409b241b40 Fix compile errors 2017-11-24 22:38:51 +01:00
rdb d755de849c deploy-ng: new extensible blob format with PRC configurability 2017-11-24 21:48:18 +01:00
rdb da2ad0f0bc deploy-ng: default to ACP if console codepage codec wasn't frozen
This is necessary because when Python is initialized, it takes the codec to use from GetConsoleCP() and GetConsoleOutputCP() without bothering to check whether the given codec is available.  However, in most cases, the console codepage will be the same as the ANSI codepage (ie. GetACP()) which is always supported by Python via the 'mbcs' codec.

So what we do is we check whether the console codepage is frozen in, and if not, we set the console codepage to the ANSI codepage and set the stdin/stdout/stderr encoding to 'mbcs'.

This is still not a perfect solution because the ACP may not be able to encode all characters that the application is printing, which would still result in unexpected errors.  Ideally, we'd pull in Python 3.6's _io._WindowsConsoleIO class, which bypasses this whole mess by directly using the wide-character Windows APIs to write to the console.
2017-11-22 19:33:17 +01:00
rdb 4b4e11c085 egg-palettize: implement mirror and border-color wrap modes
Closes: #192
2017-11-11 23:59:47 +01:00
rdb fba41dafae Merge remote-tracking branch 'origin/master' into deploy-ng 2017-10-26 21:23:49 +02:00
rdb a7d68a8412 egg2bam: fix external refs not being resolved relative to egg file 2017-10-26 17:36:43 +02:00
rdb 2026879ac9 deploy-ng: change format of blob to be easily mappable by deploy-ng 2017-09-19 23:11:59 +02:00
rdb 1c018f5bdb deploy-ng: fixes for FreeBSD 2017-09-19 22:03:44 +02:00
Sam Edwards 4fdcaef59f CMake: Build DXF programs 2017-08-07 18:36:21 -06:00
Sam Edwards cbbfbfd0bb CMake: Build FLT programs 2017-08-05 23:09:45 -06:00
Mitchell Stokes 2302f251b1 Merge branch 'master' into deploy-ng 2017-04-04 21:27:09 -07:00
rdb f7af155e93 Compile with VS 2015 Express, build assimp on Windows 2017-04-03 13:57:40 +02:00
sean5470 019700cb1a Maya 2017 support
Added entries to compile Maya 2017 plugins.
2017-04-03 02:27:40 +02:00
Sam Edwards 02c8d26150 CMake: Don't depend on metalibs
The metalibs may be phased out and should really be thought of as
a user convenience for the time being.
2017-03-08 01:35:25 -07:00
Mitchell Stokes efd25e98a5 deploy-stub: Fix memory leaks 2017-01-28 23:35:00 -08:00
Mitchell Stokes eec5c997c0 deploy-ng: Use length-prefixed strings for writing modules to deploy-stub
This wastes less space than always using 256 characters for every module
name.
2017-01-19 19:43:11 -08:00
Sam Edwards f1da5ce92f Merge branch 'master' into cmake 2017-01-09 17:59:22 -07:00
rdb f8580d753a Merge branch 'master' into deploy-ng 2017-01-09 23:53:56 +01:00
rdb 4ed199cece Fix various compile warnings and a few code consistency issues 2017-01-09 20:36:53 +01:00
rdb 31136124c7 deploy-ng: fix issues with Python 3 / Windows / Unicode, add deploy-stubw 2017-01-06 01:42:00 +01:00
rdb bae19a203b deploy-ng: changes to make it work on Windows 2016-12-08 13:21:10 +01:00
rdb 0002030e86 deploy-ng: fix missing Py_DecodeLocale definition error 2016-12-06 02:32:08 +01:00
rdb 4335e3759a Update Py_FrozenMain to work with Python 3.2 2016-12-06 02:14:39 +01:00
rdb f001bd20d7 deploy-ng: fix issues with Mac/Python 2 build 2016-12-05 18:55:04 -05:00
Sam Edwards ae10462b58 cmake: Clean up some pandatool link hacks. 2016-12-03 15:59:59 -08:00
Sam Edwards e3fcacb1f7 Merge branch 'master' into cmake 2016-11-30 19:21:50 -08:00
Mitchell Stokes aa6e722941 Create experimental yapdt (Yet Another Panda3D Deployment Tool)
This uses FreezeTool and a new deploy-stub binary to create frozen
applications without needing a compiler when running the tool. This tool
is for experimenting with deployment options and is currently inflexible
and hacky.
2016-11-08 19:40:30 -08:00
rdb 29411f5e14 Merge remote-tracking branch 'origin/release/1.9.x' 2016-10-31 22:32:39 +01:00
rdb c822fb57af Changes suggested by liuzhengcai to fix 3dsmax 2014 build 2016-10-31 20:47:50 +01:00
Mitchell Stokes 59b0913b0b Cleanup .gitignore files
Remove all .gitignore files in subdirectories and add a few new ignores
to the top-level directory .gitignore file.
2016-10-30 20:06:12 -07:00
rdb 758cd523e2 Don't use assimp/ prefix when including assimp files 2016-10-27 12:37:00 +02:00
rdb 1bd96685bc Allow passing - as filename to egg tools to read from stdin 2016-10-24 17:19:07 +02:00
rdb 62c008602e Merge branch 'release/1.9.x' 2016-10-20 11:14:37 +02:00
rdb 34b8e0844e Fix compile errors in unicode conversion in max exporter 2016-10-20 11:13:44 +02:00
rdb a56520d055 Drop support for pre-5.0 Maya versions 2016-10-12 23:50:28 +02:00
rdb 4381412d23 Merge branch 'release/1.9.x' 2016-09-28 00:14:21 +02:00
rdb aa74caacbe Fix inoperative -tbn/-tbnall/-tbnauto options in egg-optchar 2016-09-27 21:35:38 +02:00
rdb 47388b0dbc Separate out CPython calls from core libs; eliminate need for pystub 2016-07-20 14:30:41 +02:00
rdb 8381118a97 Assorted tweaks and compile warning fixes 2016-07-14 12:54:39 +02:00
rdb 365e1d53ef Merge branch 'release/1.9.x'
Conflicts:
	makepanda/makepandacore.py
	panda/src/cocoadisplay/cocoaGraphicsStateGuardian.mm
2016-06-27 01:18:02 +02:00
rdb 46147e9a09 Maya 2016.5 on 1.9 branch; fix Maya 2016.5 build on Mac OS X 2016-06-27 01:12:51 +02:00
Sam Edwards fffd105f96 Merge branch 'master' into cmake 2016-06-25 19:12:14 -07:00
rdb 9963fe2c3c Fix a couple of compile warnings, reduce unnecessary includes 2016-06-23 22:59:50 +02:00
Chris Brunner 78ab82b88e support for maya 2016.5 2016-06-22 16:08:05 -07:00
rdb 18874fa151 Replace PN_int/uint types with stdint.h types, since all compilers we support have them.
Plus, we already had code that relied on them being available anyway.
2016-05-11 00:27:58 +02:00
rdb dc09e28ed9 Also accept a .gz wherever a .pz file is accepted 2016-04-29 16:54:25 +02:00
Sam Edwards 441371e8d9 Merge branch 'master' into cmake 2016-03-15 18:30:55 -07:00
tobspr 0fcfb8e372 New file headers, new comment style 2016-02-17 17:47:48 +01:00
rdb 5cd4342ed5 Merge branch 'master' into cmake 2016-02-05 17:16:15 +01:00
rdb 090e912ce6 Cleanup of comments and whitespace 2016-02-01 22:30:43 +01:00
Mitchell Stokes 1df9be6fc0 Assimp: Support skeletons with unconnected bones
We needed to detect islands of bones and create anims and parts for them.
2016-01-01 19:36:03 -08:00
rdb ad238ad995 Replace crash in assimp with assertion 2016-01-02 01:00:03 +01:00
Mitchell Stokes e2c5214f39 Assimp: Add initial support for skeletal mesh animations 2016-01-01 15:21:35 -08:00
rdb f4f7df9949 Add signed-distance-field text rendering to DynamicTextFont and egg-mkfont 2015-12-31 22:00:37 +01:00
rdb 86a898b40a Tack on combining diacritics for static fonts if font doesn't specify modified letters 2015-12-31 12:48:02 +01:00
rdb 956097b632 Merge branch 'release/1.9.x'
Conflicts:
	pandatool/src/assimp/pandaLogger.h
2015-12-03 16:14:07 +01:00
rdb 946c1e986d Fix Assimp compile warning 2015-11-28 15:51:51 +01:00
rdb 5b291a9b10 Merge branch 'master' into cmake 2015-11-09 19:21:12 +01:00
rdb db3ab953e4 Remove ppremake, genPyCode, and all hacks created to support them 2015-11-09 19:06:49 +01:00
Sam Edwards c902774cfd Merge branch 'master' into cmake 2015-11-07 20:06:59 -08:00
rdb 0f2f27689a Convert from DOS back to Unix newlines 2015-11-08 02:12:43 +01:00
David Rose 439ee70845 Merge branch 'master' of https://github.com/panda3d/panda3d 2015-10-07 16:55:06 -07:00
David Rose f1fd64534b egg-precision 2015-10-07 16:54:48 -07:00
Mitchell Stokes 45e1f4d25e Assimp: Cleanup skeletal mesh code.
* Use pmap instead of phash_map
  * Remove PT() in create_joint() function header
2015-10-06 20:41:16 -07:00
Mitchell Stokes 43958e820c Assimp: Add support for skinned meshes (no animations yet). 2015-10-05 21:02:14 -07:00
rdb aebce2e74c Merge branch 'release/1.9.x' 2015-10-05 01:23:31 +02:00
rdb c6a1626cd3 Fix bug: x2egg replaced face normals with vertex normals 2015-10-04 20:20:10 +02:00
rdb 63c65b4228 Merge remote-tracking branch 'origin/release/1.9.x'
Conflicts:
	direct/src/showutil/FreezeTool.py
2015-08-10 04:02:53 +02:00
rdb 369305c529 Prevent having to relink most of pandatool when version info changes 2015-08-09 22:26:25 +02:00
rdb f22cc71995 Fix double-precision build blibli 2015-07-29 14:07:06 +02:00
Sam Edwards 5ee04074c2 Merge branch 'master' into cmake
# Conflicts:
#	direct/src/actor/Actor.py
2015-07-12 19:27:56 -07:00
rdb 41b44683b6 Compile with older versions of Assimp 2015-07-03 19:38:10 +02:00
rdb 179b10ca83 Assimp loader now handles aiLightSource_AMBIENT lights 2015-06-19 21:57:29 +02:00
rdb 945d3c4035 Fix compiler errors and crashes with Assimp loader 2015-06-19 21:18:28 +02:00
rdb cf7ae935a0 Merge pull request #36 from Moguri/assimp
Changes to makepanda to compile with Assimp
2015-06-05 17:35:56 +01:00
Mitchell Stokes 5f735b4e50 Changes to makepanda to compile with Assimp
This includes updating header files for Assimp 3.
2015-06-03 23:43:02 -07:00
rdb f69354d9fa Explicit template instantiation on gcc/clang, implement cfsworks' suggestion of moving compiler-specific stuff out of pandasymbols.h et al 2015-06-03 13:36:04 +02:00
Sean Martin 912374cc51 Add support for Maya 2016 2015-06-01 22:27:13 +02:00
rdb cc62e731b7 Fix compilation with ppremake 2015-06-01 00:21:32 +02:00
Sam Edwards 8b876843d4 Merge branch 'master' into cmake 2015-05-02 11:33:52 -07:00
rdb 16e7831566 Remove executable permissions from files that don't need them 2015-04-05 15:41:49 +02:00
rdb 0082b7876f Fix clang 3.5 compile warnings/errors 2015-04-04 16:00:20 +02:00
rdb 89acd29463 Fixed unitialized variable in maya2egg 2015-04-02 11:30:08 +02:00
rdb fdcd8de596 Fix runtime issues running maya2egg on Mac OS X 2015-04-02 01:34:45 +02:00
rdb b7840fed06 Fix compile errors and warnings with mayapath.cxx 2015-04-01 00:22:03 +02:00
rdb 93e8d4d5f5 Fix 32-bit Windows compilation issue with Eigen 2015-03-31 13:23:55 +02:00
rdb 7097ea4a0e OSX build tweaks and fixes (always use Python framework for SDK) 2015-03-30 17:58:04 +02:00
Sam Edwards 69c22868e1 Merge branch 'master' into cmake 2015-03-28 10:23:28 -07:00
rdb 22120524a2 PNMImage sRGB support, use floats instead of doubles 2015-03-15 17:22:28 +01:00
Sam Edwards 25e2e0221d Merge branch 'master' into cmake 2015-03-05 09:46:52 -08:00
rdb 413162110b Fix FCollada compile issues on Windows 2015-02-27 14:18:17 +01:00
rdb 9aafde0579 Add animation support to dae2egg 2015-02-24 14:59:32 +01:00
Sam Edwards 6ee1170453 Merge branch 'master' into cmake
Conflicts:
	panda/src/display/pythonGraphicsWindowProc.cxx
	panda/src/putil/config_util.cxx
2015-02-11 09:53:13 -08:00
rdb 5a51a7e08d Fix various build issues 2015-02-11 14:16:21 +01:00
rdb e9a64736a3 Fix 32-bit Windows compilation issues with Eigen 2015-02-09 16:51:59 +01:00
rdb 624b3dad14 Delete DirectX 8 support 2014-12-30 02:00:43 +01:00
rdb 794b00805e Add man pages for the majority of utilities 2014-12-27 22:14:23 +01:00
rdb 95d85819b0 Separate out sampler state from texture, support sampler objects, support LOD min/max/bias 2014-12-12 15:58:45 +01:00
Sam Edwards cc94222757 Merge branch 'master' into cmake 2014-11-01 23:58:23 -07:00
rdb 457714d86d Fix compiler warnings in gtk-stats 2014-10-29 13:19:08 +00:00
rdb c7a3a7d4ff Fix compile error 2014-10-25 12:11:17 +00:00
rdb 105e26092a Fix compile error 2014-10-25 12:09:33 +00:00
Sam Edwards 9ec74a0421 Merge branch 'master' into cmake
Conflicts:
	panda/src/display/graphicsWindow_ext.cxx
	panda/src/mathutil/triangulator3.cxx
	panda/src/putil/pythonCallbackObject.cxx
2014-10-21 22:34:13 -07:00
rdb 783d8552ef Fix bin2c to generate an include to stddef.h (for size_t definition) 2014-10-19 22:32:30 +00:00
Sam Edwards a85d1f4cc2 Merge remote-tracking branch 'upstream/master' into cmake 2014-10-18 15:13:30 -07:00
Chris Brunner 01c9ffc7ca Added option to convert lights to locators 2014-10-16 22:00:44 +00:00
rdb 31a71c990d Fix issues with OS X 10.9 compilation, fix issues uncovered by clang 2014-10-12 18:45:37 +00:00
Sam Edwards 57fb97053b Merge branch 'master' into cmake 2014-09-22 21:13:05 -07:00
rdb 87910799b6 Split off epvector.h into its own file in an attempt to cut down compilation time 2014-09-14 22:04:36 +00:00
rdb bee278e8d1 Fix missing return statement 2014-08-21 18:03:32 +00:00
Sam Edwards 3d0f587ca0 Merge remote-tracking branch 'upstream/master' into cmake
Conflicts:
	panda/src/linmath/lvecBase4.h
2014-07-24 22:59:52 -07:00
rdb e3b663da3a Merge branch 'master' into cmake 2014-05-29 16:32:59 +02:00
rdb 7785426d2c Fix compile error for Maya 6 and 6.5 2014-05-25 13:23:00 +00:00
Sam Edwards ed0b42983f CMake: Depend p3converter on the pandaegg metalib directly. 2014-05-06 21:16:34 -06:00
Sam Edwards 5e2f3f777b CMake: Build bam2egg and egg2bam. 2014-05-06 21:04:18 -06:00
Chris Brunner 9ab6d166d0 Maya 2015 support 2014-04-30 19:49:28 +00:00
Sam Edwards ad5b1212ca cmake: Build GTK pstats server. 2014-04-17 02:56:56 -06:00
Sam Edwards 8524676032 cmake: Begin work on building pandatool. 2014-04-17 02:56:56 -06:00
Chris Brunner 984314970f With maya notify level set to debug, print out some useful light information if found in the scene, even though it will never make it into the egg file. 2014-02-28 21:36:49 +00:00
rdb a9992e3c07 compile error 2013-10-30 07:33:22 +00:00
rdb 7ac7adcce4 More compatibility fixes 2013-10-27 11:19:26 +00:00
rdb 2b97fccd4d compile error 2013-10-26 08:49:51 +00:00
rdb 3841accba9 more compatibility fixes 2013-10-23 16:48:22 +00:00
rdb 1cf986dd44 more unicode stuff 2013-10-07 23:20:59 +00:00
rdb e1ff689adc work toward a unicode-compatible max converter 2013-10-07 22:36:05 +00:00
rdb 146f56e01e strcmp -> _tcscmp 2013-10-07 21:39:41 +00:00
rdb f5dc6ac8d7 attempt to fix unicode issues 2013-10-07 20:26:10 +00:00
rdb 849b60c6e9 support max 2013 and above 2013-10-07 20:15:38 +00:00
rdb 7720c482c7 support max 2014 2013-10-07 19:59:39 +00:00
rdb 91f6b9503e TCHAR -> MCHAR 2013-10-07 19:41:20 +00:00
rdb 20a08aa8de dos2unix 2013-09-19 16:45:51 +00:00
Chris Brunner c80f30161f Support for Maya2014 2013-08-30 21:05:11 +00:00
rdb 5a82dc9b1f remove unnecessary include 2013-08-28 14:27:37 +00:00
David Rose 355f786068 support continuation characters, lines, points, and larger files 2013-08-26 22:49:15 +00:00
David Rose a16238932a looks like we had a long-term confusion for LFLAGS as a set of linker flags and as a set of flex flags. Renamed LFLAGS to FLEXFLAGS for flex input. 2013-08-26 22:44:22 +00:00
rdb 451f6faf37 remove now-nonexistent -i flag to linker 2013-08-25 18:43:41 +00:00
David Rose 9158d9b20c minor change to decimate 2013-08-04 12:31:32 +00:00
David Rose 9beae889a2 pts2bam 2013-08-03 19:02:22 +00:00
David Rose 1735ae4600 osx build issue 2013-07-30 20:02:51 +00:00
Chris Brunner 2843fcbc86 Just some output stating that nurbs will be converted to polys if this is so 2013-07-03 22:01:12 +00:00
David Rose a3027ceb23 also build Maya 2013.5 2013-06-04 00:23:30 +00:00
Chris Brunner b16972bd23 Added ability to convert maya cameras to locators 2013-05-20 23:03:45 +00:00
David Rose 686b69fe84 pfm-trans -nan 2013-05-03 18:05:59 +00:00
David Rose 5f85e58acd minor bugfix 2013-04-18 00:37:57 +00:00
David Rose c8f2dfe40f some missing libraries for osx 2013-04-09 17:51:14 +00:00