Commit Graph

830 Commits

Author SHA1 Message Date
David Rose 982f614991 DeletedBufferChain 2007-07-20 23:59:10 +00:00
David Rose 68cd3322a9 better thread protection in reference counts, esp. TransformState etc. 2007-07-14 21:32:48 +00:00
David Rose 8392266935 BEGIN_PUBLISH .. END_PUBLISH applies to methods too 2007-07-13 21:22:22 +00:00
David Rose adf6c06b0f fix memory_hook placement 2007-07-13 17:23:54 +00:00
David Rose 05e24493fc oops, revert temporarily: crashes interrogate 2007-07-07 00:16:05 +00:00
David Rose 04a020b0a3 ! USE_STL_ALLOCATOR 2007-07-06 23:42:40 +00:00
David Rose f1f4de03b7 windows include 2007-07-06 04:41:04 +00:00
David Rose 07f7ac0803 $TEMP, $COMMON_APPDATA, $USER_APPDATA 2007-07-06 04:39:46 +00:00
David Rose 87a23944fb regularize StreamReader, StreamWriter, StringStream 2007-07-06 04:03:49 +00:00
David Rose ac64a7ef97 iostream stuff 2007-07-06 00:20:26 +00:00
David Rose 896860c8c2 fix reference-counting on forward-reference return values 2007-07-04 00:33:49 +00:00
David Rose 278e10d8ff missed a few cases 2007-07-02 18:14:41 +00:00
David Rose 65dc53a585 oops, compile properly in O4 2007-06-29 19:09:45 +00:00
David Rose ab34a7c656 windows niceties 2007-06-29 18:37:18 +00:00
David Rose 5d7e726ba2 more interrogate changes 2007-06-29 16:38:22 +00:00
David Rose 09df7cee05 more compiler warnings 2007-06-29 16:38:11 +00:00
David Rose df4cf52a77 compiler warning 2007-06-29 16:00:15 +00:00
David Rose 385e7be325 still more meminfo fixes 2007-06-29 15:53:27 +00:00
David Rose b625e79758 add a destructor to silence the compiler warnings 2007-06-29 15:11:05 +00:00
David Rose 14b0579412 static init 2007-06-29 02:04:12 +00:00
David Rose b03baf5afd typo 2007-06-29 01:41:25 +00:00
David Rose d52eb37b14 move some low-level mem tracking into MemoryHook, more mem tracking fixes 2007-06-29 01:39:09 +00:00
David Rose d668da224d need libtar.h with new interrogate rules 2007-06-28 18:55:12 +00:00
David Rose 8b76075133 repair pstats mem tracking 2007-06-28 04:12:14 +00:00
David Rose af64f6a404 ode for new interrogate rules 2007-06-28 03:50:31 +00:00
David Rose d8f9b61896 new interrogate rules 2007-06-28 03:36:06 +00:00
Josh Yelon 1e7c8513c3 Interrogate include-path alterations 2007-06-27 23:57:19 +00:00
David Rose fe97acf7cb integrate thread_yield in appropriate places 2007-06-26 13:01:16 +00:00
David Rose ac0b6ea475 math.h 2007-06-26 12:25:52 +00:00
David Rose d412ad35d1 PyThreadState stuff 2007-06-26 00:27:36 +00:00
David Rose 06a36aff63 get runtime info for things that don't inherit from TypedObject 2007-06-22 22:35:57 +00:00
David Rose f2250ba9fa also add py_panda.h 2007-06-22 22:34:44 +00:00
David Rose ecad9e186e fix issues with parser-inc and new interrogate search rules 2007-06-22 15:21:44 +00:00
Josh Yelon 7dc0da379b Corrected include-file search-path 2007-06-21 23:46:25 +00:00
David Rose 452a7bb6d8 need setjmp.h 2007-06-21 16:41:10 +00:00
David Rose ab22feb406 SIMPLE_THREADS does not require malloc mutex protection 2007-06-21 16:34:12 +00:00
David Rose 8d2bdc39fd first pass at SIMPLE_THREADS 2007-06-21 15:33:27 +00:00
David Rose 9f46da91a5 fix missing keyword 2007-06-20 16:32:50 +00:00
David Rose 515ab0c910 win32 VirtualAlloc 2007-06-15 00:38:45 +00:00
David Rose 5f1b029f42 NeverFreeMemory 2007-06-14 23:15:14 +00:00
David Rose 36dfcf2437 fix memory leak 2007-06-03 20:16:00 +00:00
David Rose ad6e2116cc better thread safety 2007-06-03 15:42:14 +00:00
David Rose 036ad2b115 remove old LINUX_NATIVE_THREADS implementation 2007-06-02 15:29:59 +00:00
David Rose 5c61a77d90 add set_trust_level 2007-05-18 20:52:24 +00:00
David Rose 6b8c2fdb30 define do-nothing stubs for inc_memory_usage() etc. 2007-05-18 18:49:04 +00:00
David Rose f89ef1f257 prevent crash, return sensible value from find_type() 2007-05-15 17:46:08 +00:00
David Rose 9433628a0e add Filename::get_temp_directory() 2007-05-13 15:59:29 +00:00
Roger Hughston ad4aa44a6b If you pick this up you need to re interigate every thing you have 2007-05-12 01:16:04 +00:00
David Rose d87cae471d more better pstats mem tracking 2007-05-10 14:40:52 +00:00
David Rose 137998a5c7 track_in_interpreter 2007-05-09 22:07:48 +00:00
David Rose 4bde6a0604 add PyLong_AsLong() 2007-04-27 17:26:34 +00:00
David Rose a51d4712cf prebuild-bison 2007-04-21 01:45:13 +00:00
David Rose 01b6acdcfe PyEval_InitThreads 2007-04-18 22:05:19 +00:00
David Rose 346928ece7 support BLOCKING keyword 2007-04-18 21:51:36 +00:00
David Rose 88fee08547 fix error message output 2007-04-18 20:26:09 +00:00
David Rose ea3d4eea3f stub thread functions 2007-04-16 22:17:49 +00:00
David Rose 9ada65e1d4 TypeRegistry requires a reentrant mutex 2007-04-12 17:35:00 +00:00
David Rose 846e46b8c7 better 64-bit support 2007-04-05 15:33:53 +00:00
David Rose 291c14a9b4 oops, another threading fix 2007-04-05 14:38:25 +00:00
David Rose 26f4073003 resolve threading crash 2007-04-05 13:36:29 +00:00
David Rose 3010785e58 attempt to robustify 2007-04-03 23:20:18 +00:00
Roger Hughston e829db1d60 Cygwin 6 2007-03-28 20:18:21 +00:00
David Rose f487846371 rename set -> this_set 2007-03-27 21:14:42 +00:00
Josh Yelon 8a865e394b Added WIN32_LEAN_AND_MEAN 2007-03-19 20:46:59 +00:00
David Rose 0237009db8 new funcs 2007-03-08 17:53:03 +00:00
David Rose baa0f8039c completely shoot nspr 2007-03-07 21:57:15 +00:00
David Rose ce36e31e6a prc_parameters.h 2007-03-07 19:22:18 +00:00
David Rose 8eb5baa427 show proper interrogate name instead of 'type' 2007-02-22 19:03:50 +00:00
David Rose d4983c4700 FT_Span 2007-02-12 12:55:28 +00:00
David Rose 0db570a622 build nativenet on Linux 2007-02-09 00:10:28 +00:00
David Rose 00ef82dc51 ifdef openssl 2007-02-08 20:22:16 +00:00
David Rose 0be53cccf6 interrogate changes: respect const, use Python names in diagnostic messages 2007-02-08 20:15:54 +00:00
David Rose 7d5656858f support both empty and nonempty passphrase 2007-02-01 23:05:34 +00:00
David Rose 132c2c4746 move EncryptStream to dtool; add encrypted and globally untrusted prc support 2007-01-30 23:54:37 +00:00
David Rose c86cd6de5d compiler warning 2007-01-30 16:38:17 +00:00
Josh Wilson 71abebad7d should pass interrogation now once it passes normal compiling phase 2007-01-30 06:04:00 +00:00
Josh Wilson ee9ea70f77 need config.h to prevent integer typedef collisions 2007-01-29 23:04:00 +00:00
Josh Wilson 7e8990269e First pass at integrating ODE into Panda. Using ODE v0.7 2007-01-29 11:42:45 +00:00
David Rose 03ae6c36f6 add PyObject_Cmp 2007-01-26 17:59:47 +00:00
Josh Yelon d216c24d17 Changed libdtool to libp3dtool 2007-01-22 20:16:06 +00:00
David Rose 92efb1d282 add FT_Vector 2007-01-18 03:50:58 +00:00
David Rose 25226dec55 missing include 2006-12-14 21:59:42 +00:00
Joseph Lee 5bdafb5f0c always include assert.h (for MSVC) until drose unbreaks it for opt4 for the newly moved files from interrogatedb to dtoolutil 2006-12-05 02:18:58 +00:00
Zachary Pavlov ac052ff0f0 cast fix 2006-11-27 03:18:56 +00:00
David Rose 090d0d8603 expcl 2006-11-24 23:55:51 +00:00
David Rose 795fd4889d windows needs default constructor? 2006-11-24 23:03:46 +00:00
David Rose 5779007507 more memory tracking stuff 2006-11-24 22:59:44 +00:00
David Rose f0df11bc39 fix malloc issues on windows 2006-11-17 23:21:33 +00:00
David Rose 251d3a0c10 need memoryBase.cxx 2006-11-17 02:18:28 +00:00
David Rose 55225290b8 add MemoryBase to fix malloc issues, especially on OSX 2006-11-17 02:13:10 +00:00
Zachary Pavlov c70ee43128 prolly not necessary, but just in case. Added the header defs 2006-11-14 04:11:50 +00:00
Zachary Pavlov 429e4cb67c winsock2 into parser-inc 2006-11-11 03:24:58 +00:00
Zachary Pavlov a68f93a6d0 a stub for winsock2 2006-11-08 02:27:47 +00:00
Roger Hughston 03fa5dc3d7 uh oh, be carefulcvs add winsock2.hcvs add winsock2.h! 2006-11-07 03:21:25 +00:00
David Rose 2ac33f2119 /usr/local/bin/perl -> /usr/bin/perl 2006-10-17 22:26:52 +00:00
David Rose abdf0bdd29 add to_os_short_name(), to_os_long_name() 2006-10-13 21:57:59 +00:00
David Rose 0161aabf5d constrain tp_compare() to return -1, 0, or 1 2006-10-13 21:14:15 +00:00
David Rose cd89c39c51 python compare Filenames 2006-10-13 21:13:39 +00:00
David Rose 5d2466c72a osx tweaks 2006-09-27 04:03:07 +00:00
David Rose 601dbd02ca fixes for osx build 2006-09-25 22:29:39 +00:00
David Rose 616de46c25 use as_typed_object() 2006-09-07 17:22:22 +00:00
David Rose 990174f44e class TypedObject is a typed class 2006-09-06 18:44:14 +00:00
David Rose b81fdf5f9d revisiting hashtables 2006-09-01 22:27:21 +00:00
David Rose 633a4f0d1e workaround for VC8 2006-09-01 20:22:01 +00:00
David Rose a3cc24dd6f dos2unix 2006-09-01 18:52:52 +00:00
David Rose 01a09a9d28 ConditionVarFull 2006-08-29 06:38:53 +00:00
David Rose 7efe3019f2 some static init order issues 2006-08-23 16:32:08 +00:00
Joseph Lee 20688bbae9 do not assume _WIN32_WINNT hasn't been already defined 2006-08-19 00:40:58 +00:00
David Rose 758947d603 remove obsolete code branches 2006-08-17 16:07:43 +00:00
David Rose da58a7e355 gcc 64-bit 2006-08-04 17:49:19 +00:00
David Rose 331d060a8a report more detail on _cat.info() error 2006-07-31 20:22:52 +00:00
David Rose 696a0afb0b implement windows locking for atomic functions 2006-06-20 15:49:52 +00:00
David Rose 74107f7df7 add atomic I/O operations 2006-06-20 00:23:05 +00:00
David Rose 29f1bb30c8 fix to the fix 2006-06-12 22:32:32 +00:00
David Rose b06643e9b1 fix make_dir when filename ends in '/.' 2006-06-12 18:19:12 +00:00
David Rose b0eb06c4cb add get_file_size() for an unopened file 2006-06-09 17:28:18 +00:00
David Rose 87a912818b add file timestamps 2006-06-08 22:33:08 +00:00
Zachary Pavlov 7e3a67c0bf parser stubs are in for ffmpeg 2006-05-14 22:14:13 +00:00
Roger Hughston 859fc08886 small memory leak with multiple #defines... 2006-05-12 23:48:02 +00:00
David Rose 05ff700750 fc5 issues 2006-05-05 18:38:35 +00:00
David Rose 31d121e43b better sanity checking 2006-04-30 14:40:45 +00:00
David Rose 70d0a6d236 fix clear_local_value() 2006-04-29 02:21:55 +00:00
David Rose defa6afe02 Tau fixes 2006-04-28 16:19:20 +00:00
David Rose 372c1973fc comment out bogus assertion 2006-04-28 03:00:32 +00:00
David Rose 95d10754c0 faster Tau on Linux 2006-04-25 19:26:08 +00:00
David Rose 7e063748f6 static init ordering issues with MutexImpl 2006-04-21 15:27:40 +00:00
David Rose 57338ee24d better windows tau support; better threaded DeletedChain support; beginning PipelineReader classes 2006-04-20 04:03:16 +00:00
David Rose cadbb022f8 more tau for windows 2006-04-14 15:53:49 +00:00
David Rose a2dc081676 more and better tau instrumenting 2006-04-14 15:45:07 +00:00
David Rose d2e1cb779d tau for windows 2006-04-13 21:42:16 +00:00
David Rose 62d6f81cae comment; volatile keyword 2006-04-12 20:23:38 +00:00
David Rose a570678cdb InitializeCriticalSectionAndSpinCount 2006-04-12 18:48:31 +00:00
David Rose 0486a74e7c include assert.h 2006-04-12 15:17:04 +00:00
David Rose 7986aaa0c3 mutex_spinlock 2006-04-12 15:15:37 +00:00
David Rose b638e65532 typo 2006-04-12 00:15:44 +00:00
David Rose ca19170904 revert accidental checkin 2006-04-11 18:16:51 +00:00
David Rose 9ce524fc89 better windows locking 2006-04-11 18:15:58 +00:00
David Rose afb1520ea1 add get_ptr(), set_ptr() 2006-04-09 20:03:22 +00:00
David Rose 0a155809dc ifdef out unneeded template classes for interrogate 2006-04-07 23:01:05 +00:00
David Rose 51ede9905f interface -> interface_maker (avoid conflicts with Windows SDK) 2006-04-06 17:55:26 +00:00
David Rose 03c35a63ff CHAR -> CHAR_TOK (avoid conflict with Windows SDK) 2006-04-06 17:51:24 +00:00
David Rose ff562c4acc pandabase -> dtoolbase 2006-04-06 17:48:24 +00:00
David Rose 87e992a9fc instrument allocate/deallocate 2006-04-06 04:32:22 +00:00
David Rose 141d74eb6f DO_MEMORY_USAGE 2006-04-06 02:01:33 +00:00
David Rose 0688a9b8c1 spaces around template class 2006-04-05 22:36:25 +00:00
David Rose 8a78fffd8f multithreading optimizations, tau profiler, related changes 2006-04-05 19:36:05 +00:00
David Rose b82652aaaa check-debug-notify-protect 2006-03-20 21:39:20 +00:00
Roger Hughston 2991d343d1 Renamed to pnotify 2006-03-17 23:01:54 +00:00
Roger Hughston 42b3ba9c82 OSX big Commit ... 2006-03-17 22:55:08 +00:00
Roger Hughston 847259e346 Name Colision on OSX notify.h = pnotify.h 2006-03-16 21:28:44 +00:00