Leandro (Cerberus1746) Benedet Garcia
5f7809469c
general: removed all WIN32, WIN32_VC and friends
2020-02-05 22:45:03 -07:00
rdb
b272af8bbf
Merge branch 'cmake'
2020-01-22 11:20:51 +01:00
rdb
b78b7be326
Merge branch 'release/1.10.x'
2019-12-30 01:50:54 +01:00
rdb
ac85b05400
py_compat: fix _PyObject_CallNoArg in Python 3.5
2019-12-25 16:32:19 +01:00
Sam Edwards
9b7bcf2564
Merge branch 'master' into cmake
2019-11-07 21:21:04 -07:00
Sam Edwards
856754a3de
general: Don't abuse PyErr_Restore
...
The intended purpose of this function is to restore an exception
that has already been raised and saved with PyErr_Fetch. It should
not be used to raise new exceptions nor should it be used to clear
the current exception.
The especially egregious example is
`PyErr_Restore(exc_type, nullptr, nullptr);`
as the null value may not be handled correctly.
2019-11-05 18:44:20 -07:00
Sam Edwards
cf59d3d983
CMake: Remove p3dtoolconfig from build
...
It's just p3prc now, so instead we install some symlinks
2019-11-04 14:02:06 -07:00
Sam Edwards
9ecaa0056b
CMake: Break out p3interrogatedb as a first-class library
2019-10-15 23:27:03 -06:00
Sam Edwards
5fa4af9189
CMake: Rely on GNUInstallDirs to specify install paths
...
This makes multiarch OSes happy as they can dictate that
64-bit libraries go into 'lib64'
2019-08-31 00:48:42 -06:00
Sam Edwards
1a654cba04
CMake: Record the location that headers are installed
...
This populates INTERFACE_INCLUDE_DIRECTORIES on the targets
after they're installed.
2019-08-30 22:58:18 -06:00
Sam Edwards
19ed9f6b47
Merge branch 'master' into cmake
2019-08-24 18:07:12 -06:00
rdb
df8ccdb7ab
Add support for Python 3.8
2019-08-13 17:48:32 +02:00
Sam Edwards
6097d34ead
CMake: Neatly format everything for readability and consistency
2019-04-14 22:37:18 -06:00
Sam Edwards
f8161cc529
Merge branch 'master' into cmake
2019-03-12 02:03:16 -06:00
rdb
12eeff0dec
py_panda: fix memory leak accessing map/seq properties
2019-03-07 17:33:21 +01:00
rdb
8e4add0326
interrogate: fix refcount trouble assigning PyObject* properties
...
In particular, this fixes accessing PythonTask.__dict__
2019-03-04 16:46:28 +01:00
rdb
5310945f4c
py_panda: fix use of macro that was removed in Python 3.8
2019-02-11 23:36:30 +01:00
Sam Edwards
1a17808991
Merge branch 'master' into cmake
2019-01-06 15:37:07 -07:00
Sam Edwards
ce4985a333
interrogatedb: Fix missing 'static' keyword
2019-01-02 10:18:59 -07:00
Sam Edwards
d4df1b3762
Merge branch 'master' into cmake
2019-01-02 06:09:15 -07:00
rdb
ac8be1a2e6
py_panda: fix int-to-enum conversion in Python 2
...
Fixes #498
2019-01-01 16:32:04 +01:00
rdb
0a43008313
py_panda: avoid duplicate symbol issues with LINK_ALL_STATIC
...
Fixes #478
2018-12-30 16:42:50 +01:00
Sam Edwards
3b194c75e4
Merge branch 'master' into cmake
2018-12-28 22:15:44 -07:00
rdb
01915a36db
Merge branch 'master' into deploy-ng
2018-12-26 23:41:50 +01:00
rdb
6df8aede1f
interrogatedb: add interrogate_element_is_sequence/mapping
2018-12-23 15:44:01 +01:00
rdb
4c0fa1e75d
Merge branch 'master' into deploy-ng
2018-12-16 22:36:45 +01:00
rdb
7995d483ab
py_panda: make standard_type_members static and internal
2018-12-16 18:46:30 +01:00
Sam Edwards
99fee1a64d
CMake: Assign COMPONENT and EXPORT to all targets
2018-12-06 17:48:44 -07:00
Sam Edwards
8df53698f4
CMake: Add missing .h/.I files that weren't getting installed
2018-11-28 16:13:05 -07:00
Sam Edwards
7f8d7366dc
CMake: Update for upstream Interrogate changes
...
- "igateruntime" is no longer a thing
- interrogate_module embeds a preamble; we have to provide it
- WindowProperties now has an extension
2018-11-12 19:16:28 -07:00
Sam Edwards
6b26889e7e
Merge branch 'master' into cmake
2018-11-12 15:41:42 -07:00
rdb
3d7fcf2ce9
Merge branch 'master' into deploy-ng
2018-11-12 18:31:43 +01:00
Sam Edwards
a9dfd8352e
general: Distinguish local/system includes
...
This changes includes so that local includes are consistently
#include "localFile.h"
while system and third-party includes are consistently
#include <systemFile.h>
This commit mostly converts the former to the latter; the two
exceptions are in android_main.cxx and fmodAudioSound.h, where
the reverse was necessary.
2018-11-10 18:00:10 -07:00
rdb
cf65010a54
Merge branch 'master' into deploy-ng
2018-11-06 23:40:24 +01:00
rdb
49b72fb198
Move Python support code from libp3interrogatedb to generated module
...
This prevents libp3interrogatedb from having a dependency on the Python library.
See #387
2018-11-06 19:24:37 +01:00
rdb
e6f870ece6
Remove Python type tables from interrogatedb
2018-11-05 22:14:25 +01:00
Sam Edwards
e604d71fbc
CMake: Don't build p3dconfig anymore
...
dconfig.cxx was recently deleted.
p3dconfig is now just an interface library, since it still
contains a header which we'd like on the search path of
libraries that use it.
2018-11-03 23:46:34 -06:00
Sam Edwards
58c065d970
Merge branch 'master' into cmake
2018-10-28 05:11:14 -06:00
Mitchell Stokes
b16f9f8f4f
Merge branch 'master' into deploy-ng
2018-10-18 17:58:21 -07:00
loblao
e67d2a16c1
Dtool_PyModuleInitHelper: Fix segfault
2018-10-18 12:14:20 -03:00
rdb
9da335ac42
Merge branch 'master' into deploy-ng
2018-10-16 23:02:19 +02:00
rdb
90cc8fe385
Fix building with SIMPLE_THREADS=1
2018-10-16 22:15:36 +02:00
rdb
c28045990c
Merge branch 'master' into deploy-ng
2018-10-15 15:42:48 +02:00
Sam Edwards
ea1b50a522
Merge branch 'master' into cmake
2018-10-13 16:15:35 -06:00
rdb
8375340582
py_panda: fix TypeError being raised instead of AttributeError
...
This prevented doing something like hasattr(vec3, "stuff")
2018-10-07 20:24:19 +02:00
Sam Edwards
1520d712d4
CMake: Remove target_use_packages
...
Instead, let's use a PKG::PKGNAME interface library, which simplifies
the linking and also allows us to use imported libraries from
find_package in the future.
2018-09-21 10:17:05 -06:00
Sam Edwards
e501d20927
CMake: Don't compile Interrogate runtime code into interrogatedb
...
This should obviate the need for pystub as well.
Note that it's currently a little bit hacky; the source will
have to be moved to make the CMake dependencies work better.
2018-09-06 23:57:53 -06:00
Sam Edwards
77018c5383
CMake: Name Python targets more distinctively
...
Python targets are now prefixed with "panda3d." in
e.g. "panda3d.core"
2018-09-03 21:01:54 -06:00
Sam Edwards
fa1e1a2e63
CMake: Tidy up installation directory
...
Don't install "object-Configuration/" directories when
using metalibs, and also put .dll files in bin/ on Windows.
2018-09-01 11:07:55 -06:00
Sam Edwards
76378c8990
CMake: Ask Python for preferred binary extension suffix
2018-08-19 23:10:20 -06:00