Browse Source

general: Break apart BUILDING_PANDAEXPRESS

Sam Edwards 7 years ago
parent
commit
f1eb811c0e
88 changed files with 170 additions and 156 deletions
  1. 1 1
      panda/src/downloader/bioPtr.h
  2. 3 3
      panda/src/downloader/bioStream.h
  3. 1 1
      panda/src/downloader/bioStreamBuf.h
  4. 1 1
      panda/src/downloader/bioStreamPtr.h
  5. 2 2
      panda/src/downloader/config_downloader.cxx
  6. 5 5
      panda/src/downloader/config_downloader.h
  7. 1 1
      panda/src/downloader/decompressor.h
  8. 1 1
      panda/src/downloader/documentSpec.h
  9. 4 4
      panda/src/downloader/downloadDb.h
  10. 2 2
      panda/src/downloader/download_utils.h
  11. 1 1
      panda/src/downloader/extractor.h
  12. 1 1
      panda/src/downloader/httpAuthorization.h
  13. 1 1
      panda/src/downloader/httpChannel.h
  14. 1 1
      panda/src/downloader/httpClient.h
  15. 1 1
      panda/src/downloader/httpCookie.h
  16. 1 1
      panda/src/downloader/httpDate.h
  17. 1 1
      panda/src/downloader/httpEntityTag.h
  18. 1 1
      panda/src/downloader/httpEnum.h
  19. 1 1
      panda/src/downloader/identityStreamBuf.h
  20. 1 1
      panda/src/downloader/multiplexStream.h
  21. 1 1
      panda/src/downloader/multiplexStreamBuf.h
  22. 1 1
      panda/src/downloader/patcher.h
  23. 5 5
      panda/src/downloader/socketStream.h
  24. 1 1
      panda/src/downloader/stringStream.h
  25. 1 1
      panda/src/downloader/stringStreamBuf.h
  26. 1 1
      panda/src/downloader/urlSpec.h
  27. 1 1
      panda/src/downloader/virtualFileHTTP.h
  28. 1 1
      panda/src/downloader/virtualFileMountHTTP.h
  29. 1 1
      panda/src/express/buffer.h
  30. 1 1
      panda/src/express/checksumHashGenerator.h
  31. 2 2
      panda/src/express/compress_string.cxx
  32. 6 6
      panda/src/express/compress_string.h
  33. 2 2
      panda/src/express/config_express.cxx
  34. 12 12
      panda/src/express/config_express.h
  35. 1 1
      panda/src/express/copy_stream.h
  36. 1 1
      panda/src/express/datagram.h
  37. 1 1
      panda/src/express/datagramGenerator.h
  38. 1 1
      panda/src/express/datagramIterator.h
  39. 1 1
      panda/src/express/datagramSink.h
  40. 1 1
      panda/src/express/dcast.h
  41. 2 2
      panda/src/express/encrypt_string.cxx
  42. 6 6
      panda/src/express/encrypt_string.h
  43. 4 4
      panda/src/express/error_utils.h
  44. 1 1
      panda/src/express/fileReference.h
  45. 1 1
      panda/src/express/hashGeneratorBase.h
  46. 1 1
      panda/src/express/hashVal.h
  47. 1 1
      panda/src/express/memoryUsage.h
  48. 1 1
      panda/src/express/memoryUsagePointers.h
  49. 1 1
      panda/src/express/multifile.h
  50. 1 1
      panda/src/express/namable.h
  51. 1 1
      panda/src/express/nodeReferenceCount.h
  52. 1 1
      panda/src/express/openSSLWrapper.h
  53. 1 1
      panda/src/express/pStatCollectorForwardBase.h
  54. 3 3
      panda/src/express/password_hash.h
  55. 1 1
      panda/src/express/patchfile.h
  56. 1 1
      panda/src/express/pointerToArrayBase.cxx
  57. 1 1
      panda/src/express/pointerToVoid.h
  58. 1 1
      panda/src/express/profileTimer.cxx
  59. 2 2
      panda/src/express/profileTimer.h
  60. 4 4
      panda/src/express/pta_double.h
  61. 4 4
      panda/src/express/pta_float.h
  62. 4 4
      panda/src/express/pta_int.h
  63. 5 5
      panda/src/express/pta_uchar.h
  64. 1 1
      panda/src/express/ramfile.h
  65. 1 1
      panda/src/express/referenceCount.h
  66. 3 3
      panda/src/express/subStream.h
  67. 1 1
      panda/src/express/subStreamBuf.h
  68. 1 1
      panda/src/express/subfileInfo.h
  69. 1 1
      panda/src/express/temporaryFile.h
  70. 1 1
      panda/src/express/trueClock.h
  71. 1 1
      panda/src/express/typedReferenceCount.h
  72. 1 1
      panda/src/express/virtualFile.h
  73. 1 1
      panda/src/express/virtualFileComposite.h
  74. 1 1
      panda/src/express/virtualFileList.h
  75. 1 1
      panda/src/express/virtualFileMount.h
  76. 1 1
      panda/src/express/virtualFileMountAndroidAsset.h
  77. 1 1
      panda/src/express/virtualFileMountMultifile.h
  78. 1 1
      panda/src/express/virtualFileMountRamdisk.h
  79. 1 1
      panda/src/express/virtualFileMountSystem.h
  80. 1 1
      panda/src/express/virtualFileSimple.h
  81. 1 1
      panda/src/express/virtualFileSystem.h
  82. 1 1
      panda/src/express/weakPointerCallback.h
  83. 1 1
      panda/src/express/weakPointerToVoid.h
  84. 1 1
      panda/src/express/weakReferenceList.h
  85. 1 1
      panda/src/express/windowsRegistry.h
  86. 2 2
      panda/src/express/zStream.h
  87. 1 1
      panda/src/express/zStreamBuf.h
  88. 22 8
      panda/src/pandabase/pandasymbols.h

+ 1 - 1
panda/src/downloader/bioPtr.h

@@ -39,7 +39,7 @@ class URLSpec;
  * on these things internally, but the interface doesn't appear to be public;
  * on these things internally, but the interface doesn't appear to be public;
  * so we might as well wrap the whole thing at the high level.
  * so we might as well wrap the whole thing at the high level.
  */
  */
-class EXPCL_PANDAEXPRESS BioPtr : public ReferenceCount {
+class EXPCL_PANDA_DOWNLOADER BioPtr : public ReferenceCount {
 public:
 public:
   INLINE BioPtr(BIO *bio);
   INLINE BioPtr(BIO *bio);
   BioPtr(const URLSpec &url);
   BioPtr(const URLSpec &url);

+ 3 - 3
panda/src/downloader/bioStream.h

@@ -29,7 +29,7 @@
  *
  *
  * Seeking is not supported.
  * Seeking is not supported.
  */
  */
-class EXPCL_PANDAEXPRESS IBioStream : public ISocketStream {
+class EXPCL_PANDA_DOWNLOADER IBioStream : public ISocketStream {
 public:
 public:
   INLINE IBioStream();
   INLINE IBioStream();
   INLINE IBioStream(BioPtr *source);
   INLINE IBioStream(BioPtr *source);
@@ -51,7 +51,7 @@ private:
  *
  *
  * Seeking is not supported.
  * Seeking is not supported.
  */
  */
-class EXPCL_PANDAEXPRESS OBioStream : public OSocketStream {
+class EXPCL_PANDA_DOWNLOADER OBioStream : public OSocketStream {
 public:
 public:
   INLINE OBioStream();
   INLINE OBioStream();
   INLINE OBioStream(BioPtr *source);
   INLINE OBioStream(BioPtr *source);
@@ -69,7 +69,7 @@ private:
  * A bi-directional stream object that reads and writes data to an OpenSSL BIO
  * A bi-directional stream object that reads and writes data to an OpenSSL BIO
  * object.
  * object.
  */
  */
-class EXPCL_PANDAEXPRESS BioStream : public SocketStream {
+class EXPCL_PANDA_DOWNLOADER BioStream : public SocketStream {
 public:
 public:
   INLINE BioStream();
   INLINE BioStream();
   INLINE BioStream(BioPtr *source);
   INLINE BioStream(BioPtr *source);

+ 1 - 1
panda/src/downloader/bioStreamBuf.h

@@ -25,7 +25,7 @@
 /**
 /**
  * The streambuf object that implements IBioStream.
  * The streambuf object that implements IBioStream.
  */
  */
-class EXPCL_PANDAEXPRESS BioStreamBuf : public std::streambuf {
+class EXPCL_PANDA_DOWNLOADER BioStreamBuf : public std::streambuf {
 public:
 public:
   BioStreamBuf();
   BioStreamBuf();
   virtual ~BioStreamBuf();
   virtual ~BioStreamBuf();

+ 1 - 1
panda/src/downloader/bioStreamPtr.h

@@ -26,7 +26,7 @@
  * A wrapper around an BioStream object to make a reference-counting pointer
  * A wrapper around an BioStream object to make a reference-counting pointer
  * to it.
  * to it.
  */
  */
-class EXPCL_PANDAEXPRESS BioStreamPtr : public ReferenceCount {
+class EXPCL_PANDA_DOWNLOADER BioStreamPtr : public ReferenceCount {
 public:
 public:
   INLINE BioStreamPtr(BioStream *stream);
   INLINE BioStreamPtr(BioStream *stream);
   virtual ~BioStreamPtr();
   virtual ~BioStreamPtr();

+ 2 - 2
panda/src/downloader/config_downloader.cxx

@@ -19,8 +19,8 @@
 #include "pandaSystem.h"
 #include "pandaSystem.h"
 
 
 
 
-#if !defined(CPPPARSER) && !defined(BUILDING_PANDAEXPRESS)
-  #error Buildsystem error: BUILDING_PANDAEXPRESS not defined
+#if !defined(CPPPARSER) && !defined(BUILDING_PANDA_DOWNLOADER)
+  #error Buildsystem error: BUILDING_PANDA_DOWNLOADER not defined
 #endif
 #endif
 
 
 ConfigureDef(config_downloader);
 ConfigureDef(config_downloader);

+ 5 - 5
panda/src/downloader/config_downloader.h

@@ -24,8 +24,8 @@
 #include "configVariableFilename.h"
 #include "configVariableFilename.h"
 #include "configVariableList.h"
 #include "configVariableList.h"
 
 
-ConfigureDecl(config_downloader, EXPCL_PANDAEXPRESS, EXPTP_PANDAEXPRESS);
-NotifyCategoryDecl(downloader, EXPCL_PANDAEXPRESS, EXPTP_PANDAEXPRESS);
+ConfigureDecl(config_downloader, EXPCL_PANDA_DOWNLOADER, EXPTP_PANDA_DOWNLOADER);
+NotifyCategoryDecl(downloader, EXPCL_PANDA_DOWNLOADER, EXPTP_PANDA_DOWNLOADER);
 
 
 extern ConfigVariableInt downloader_byte_rate;
 extern ConfigVariableInt downloader_byte_rate;
 extern ConfigVariableBool download_throttle;
 extern ConfigVariableBool download_throttle;
@@ -44,9 +44,9 @@ extern ConfigVariableInt http_skip_body_size;
 extern ConfigVariableDouble http_idle_timeout;
 extern ConfigVariableDouble http_idle_timeout;
 extern ConfigVariableInt http_max_connect_count;
 extern ConfigVariableInt http_max_connect_count;
 
 
-extern EXPCL_PANDAEXPRESS ConfigVariableInt tcp_header_size;
-extern EXPCL_PANDAEXPRESS ConfigVariableBool support_ipv6;
+extern EXPCL_PANDA_DOWNLOADER ConfigVariableInt tcp_header_size;
+extern EXPCL_PANDA_DOWNLOADER ConfigVariableBool support_ipv6;
 
 
-extern EXPCL_PANDAEXPRESS void init_libdownloader();
+extern EXPCL_PANDA_DOWNLOADER void init_libdownloader();
 
 
 #endif
 #endif

+ 1 - 1
panda/src/downloader/decompressor.h

@@ -26,7 +26,7 @@ class Ramfile;
  * This manages run-time decompression of a zlib-compressed stream, as a
  * This manages run-time decompression of a zlib-compressed stream, as a
  * background or foreground task.
  * background or foreground task.
  */
  */
-class EXPCL_PANDAEXPRESS Decompressor {
+class EXPCL_PANDA_DOWNLOADER Decompressor {
 PUBLISHED:
 PUBLISHED:
   Decompressor();
   Decompressor();
   ~Decompressor();
   ~Decompressor();

+ 1 - 1
panda/src/downloader/documentSpec.h

@@ -27,7 +27,7 @@
  * The DocumentSpec may also be used to request a newer document than a
  * The DocumentSpec may also be used to request a newer document than a
  * particular one if available, for instance to refresh a cached document.
  * particular one if available, for instance to refresh a cached document.
  */
  */
-class EXPCL_PANDAEXPRESS DocumentSpec {
+class EXPCL_PANDA_DOWNLOADER DocumentSpec {
 PUBLISHED:
 PUBLISHED:
   INLINE DocumentSpec();
   INLINE DocumentSpec();
   INLINE DocumentSpec(const std::string &url);
   INLINE DocumentSpec(const std::string &url);

+ 4 - 4
panda/src/downloader/downloadDb.h

@@ -59,7 +59,7 @@ MultifileRecord is a Vector<FileRecord>
  * the files on the client system, and another copy for the server,
  * the files on the client system, and another copy for the server,
  * representing the files the server has available.
  * representing the files the server has available.
  */
  */
-class EXPCL_PANDAEXPRESS DownloadDb {
+class EXPCL_PANDA_DOWNLOADER DownloadDb {
 PUBLISHED:
 PUBLISHED:
   // Status of a multifile is stored in this enum Note these values are in
   // Status of a multifile is stored in this enum Note these values are in
   // increasing order of "doneness" So if you are decompressed, you are
   // increasing order of "doneness" So if you are decompressed, you are
@@ -131,7 +131,7 @@ PUBLISHED:
 
 
 public:
 public:
 
 
-  class EXPCL_PANDAEXPRESS FileRecord : public ReferenceCount {
+  class EXPCL_PANDA_DOWNLOADER FileRecord : public ReferenceCount {
   public:
   public:
     FileRecord();
     FileRecord();
     FileRecord(std::string name);
     FileRecord(std::string name);
@@ -141,7 +141,7 @@ public:
 
 
   typedef pvector< PT(FileRecord) > FileRecords;
   typedef pvector< PT(FileRecord) > FileRecords;
 
 
-  class EXPCL_PANDAEXPRESS MultifileRecord : public ReferenceCount {
+  class EXPCL_PANDA_DOWNLOADER MultifileRecord : public ReferenceCount {
   public:
   public:
     MultifileRecord();
     MultifileRecord();
     MultifileRecord(std::string name, Phase phase, int size, int status);
     MultifileRecord(std::string name, Phase phase, int size, int status);
@@ -162,7 +162,7 @@ public:
 
 
   typedef pvector< PT(MultifileRecord) > MultifileRecords;
   typedef pvector< PT(MultifileRecord) > MultifileRecords;
 
 
-  class EXPCL_PANDAEXPRESS Db {
+  class EXPCL_PANDA_DOWNLOADER Db {
   public:
   public:
     Db();
     Db();
     void write(std::ostream &out) const;
     void write(std::ostream &out) const;

+ 2 - 2
panda/src/downloader/download_utils.h

@@ -21,8 +21,8 @@
 
 
 BEGIN_PUBLISH
 BEGIN_PUBLISH
 
 
-EXPCL_PANDAEXPRESS unsigned long check_crc(Filename name);
-EXPCL_PANDAEXPRESS unsigned long check_adler(Filename name);
+EXPCL_PANDA_DOWNLOADER unsigned long check_crc(Filename name);
+EXPCL_PANDA_DOWNLOADER unsigned long check_adler(Filename name);
 
 
 END_PUBLISH
 END_PUBLISH
 
 

+ 1 - 1
panda/src/downloader/extractor.h

@@ -32,7 +32,7 @@
  * Multifile.  Call run() whenever you have spare cycles until run() returns
  * Multifile.  Call run() whenever you have spare cycles until run() returns
  * EU_success.
  * EU_success.
  */
  */
-class EXPCL_PANDAEXPRESS Extractor {
+class EXPCL_PANDA_DOWNLOADER Extractor {
 PUBLISHED:
 PUBLISHED:
   Extractor();
   Extractor();
   ~Extractor();
   ~Extractor();

+ 1 - 1
panda/src/downloader/httpAuthorization.h

@@ -33,7 +33,7 @@ class URLSpec;
  * in the past, which can possibly be re-used for future requests to the same
  * in the past, which can possibly be re-used for future requests to the same
  * server.
  * server.
  */
  */
-class EXPCL_PANDAEXPRESS HTTPAuthorization : public ReferenceCount {
+class EXPCL_PANDA_DOWNLOADER HTTPAuthorization : public ReferenceCount {
 public:
 public:
   typedef pmap<std::string, std::string> Tokens;
   typedef pmap<std::string, std::string> Tokens;
   typedef pmap<std::string, Tokens> AuthenticationSchemes;
   typedef pmap<std::string, Tokens> AuthenticationSchemes;

+ 1 - 1
panda/src/downloader/httpChannel.h

@@ -51,7 +51,7 @@ class HTTPClient;
  * requested from the same HTTPChannel until the first document has been fully
  * requested from the same HTTPChannel until the first document has been fully
  * retrieved.
  * retrieved.
  */
  */
-class EXPCL_PANDAEXPRESS HTTPChannel : public TypedReferenceCount {
+class EXPCL_PANDA_DOWNLOADER HTTPChannel : public TypedReferenceCount {
 private:
 private:
   HTTPChannel(HTTPClient *client);
   HTTPChannel(HTTPClient *client);
 
 

+ 1 - 1
panda/src/downloader/httpClient.h

@@ -53,7 +53,7 @@ class HTTPChannel;
  * There is a default, global HTTPClient available in
  * There is a default, global HTTPClient available in
  * HTTPClient::get_global_ptr().
  * HTTPClient::get_global_ptr().
  */
  */
-class EXPCL_PANDAEXPRESS HTTPClient : public ReferenceCount {
+class EXPCL_PANDA_DOWNLOADER HTTPClient : public ReferenceCount {
 PUBLISHED:
 PUBLISHED:
   HTTPClient();
   HTTPClient();
   HTTPClient(const HTTPClient &copy);
   HTTPClient(const HTTPClient &copy);

+ 1 - 1
panda/src/downloader/httpCookie.h

@@ -29,7 +29,7 @@
  * A cookie sent from an HTTP server to be stored on the client and returned
  * A cookie sent from an HTTP server to be stored on the client and returned
  * when the path and/or domain matches.
  * when the path and/or domain matches.
  */
  */
-class EXPCL_PANDAEXPRESS HTTPCookie {
+class EXPCL_PANDA_DOWNLOADER HTTPCookie {
 PUBLISHED:
 PUBLISHED:
   INLINE HTTPCookie();
   INLINE HTTPCookie();
   INLINE explicit HTTPCookie(const std::string &format, const URLSpec &url);
   INLINE explicit HTTPCookie(const std::string &format, const URLSpec &url);

+ 1 - 1
panda/src/downloader/httpDate.h

@@ -24,7 +24,7 @@
  * conversely, it can accept a time_t value and encode it for output as a
  * conversely, it can accept a time_t value and encode it for output as a
  * string.
  * string.
  */
  */
-class EXPCL_PANDAEXPRESS HTTPDate {
+class EXPCL_PANDA_DOWNLOADER HTTPDate {
 PUBLISHED:
 PUBLISHED:
   INLINE HTTPDate();
   INLINE HTTPDate();
   INLINE HTTPDate(time_t time);
   INLINE HTTPDate(time_t time);

+ 1 - 1
panda/src/downloader/httpEntityTag.h

@@ -21,7 +21,7 @@
  * identify a particular version of a document or resource, particularly
  * identify a particular version of a document or resource, particularly
  * useful for verifying caches.
  * useful for verifying caches.
  */
  */
-class EXPCL_PANDAEXPRESS HTTPEntityTag {
+class EXPCL_PANDA_DOWNLOADER HTTPEntityTag {
 PUBLISHED:
 PUBLISHED:
   INLINE HTTPEntityTag();
   INLINE HTTPEntityTag();
   HTTPEntityTag(const std::string &text);
   HTTPEntityTag(const std::string &text);

+ 1 - 1
panda/src/downloader/httpEnum.h

@@ -26,7 +26,7 @@
  * This class is just used as a namespace wrapper for some of the enumerated
  * This class is just used as a namespace wrapper for some of the enumerated
  * types used by various classes within the HTTPClient family.
  * types used by various classes within the HTTPClient family.
  */
  */
-class EXPCL_PANDAEXPRESS HTTPEnum {
+class EXPCL_PANDA_DOWNLOADER HTTPEnum {
 PUBLISHED:
 PUBLISHED:
   enum HTTPVersion {
   enum HTTPVersion {
     HV_09,  // HTTP 0.9 or older
     HV_09,  // HTTP 0.9 or older

+ 1 - 1
panda/src/downloader/identityStreamBuf.h

@@ -28,7 +28,7 @@ class HTTPChannel;
 /**
 /**
  * The streambuf object that implements IIdentityStream.
  * The streambuf object that implements IIdentityStream.
  */
  */
-class EXPCL_PANDAEXPRESS IdentityStreamBuf : public std::streambuf {
+class EXPCL_PANDA_DOWNLOADER IdentityStreamBuf : public std::streambuf {
 public:
 public:
   IdentityStreamBuf();
   IdentityStreamBuf();
   virtual ~IdentityStreamBuf();
   virtual ~IdentityStreamBuf();

+ 1 - 1
panda/src/downloader/multiplexStream.h

@@ -28,7 +28,7 @@
  * a disk file or to system logging utilities.  It's a very handy thing to set
  * a disk file or to system logging utilities.  It's a very handy thing to set
  * Notify to refer to when running in batch mode.
  * Notify to refer to when running in batch mode.
  */
  */
-class EXPCL_PANDAEXPRESS MultiplexStream : public std::ostream {
+class EXPCL_PANDA_DOWNLOADER MultiplexStream : public std::ostream {
 PUBLISHED:
 PUBLISHED:
   INLINE MultiplexStream();
   INLINE MultiplexStream();
 
 

+ 1 - 1
panda/src/downloader/multiplexStreamBuf.h

@@ -24,7 +24,7 @@
  * Used by MultiplexStream to implement an ostream that sends what is written
  * Used by MultiplexStream to implement an ostream that sends what is written
  * to it to any number of additional sources, like other ostreams.
  * to it to any number of additional sources, like other ostreams.
  */
  */
-class EXPCL_PANDAEXPRESS MultiplexStreamBuf : public std::streambuf {
+class EXPCL_PANDA_DOWNLOADER MultiplexStreamBuf : public std::streambuf {
 public:
 public:
   MultiplexStreamBuf();
   MultiplexStreamBuf();
   virtual ~MultiplexStreamBuf();
   virtual ~MultiplexStreamBuf();

+ 1 - 1
panda/src/downloader/patcher.h

@@ -25,7 +25,7 @@
 /**
 /**
  * Applies a patch synchronously
  * Applies a patch synchronously
  */
  */
-class EXPCL_PANDAEXPRESS Patcher {
+class EXPCL_PANDA_DOWNLOADER Patcher {
 PUBLISHED:
 PUBLISHED:
   Patcher();
   Patcher();
   explicit Patcher(PT(Buffer) buffer);
   explicit Patcher(PT(Buffer) buffer);

+ 5 - 5
panda/src/downloader/socketStream.h

@@ -36,7 +36,7 @@ class HTTPChannel;
  * class for both ISocketStream and SocketStream; its purpose is to minimize
  * class for both ISocketStream and SocketStream; its purpose is to minimize
  * redundant code between them.  Do not use it directly.
  * redundant code between them.  Do not use it directly.
  */
  */
-class EXPCL_PANDAEXPRESS SSReader {
+class EXPCL_PANDA_DOWNLOADER SSReader {
 public:
 public:
   SSReader(std::istream *stream);
   SSReader(std::istream *stream);
   virtual ~SSReader();
   virtual ~SSReader();
@@ -86,7 +86,7 @@ private:
  * class for both OSocketStream and SocketStream; its purpose is to minimize
  * class for both OSocketStream and SocketStream; its purpose is to minimize
  * redundant code between them.  Do not use it directly.
  * redundant code between them.  Do not use it directly.
  */
  */
-class EXPCL_PANDAEXPRESS SSWriter {
+class EXPCL_PANDA_DOWNLOADER SSWriter {
 public:
 public:
   SSWriter(std::ostream *stream);
   SSWriter(std::ostream *stream);
   virtual ~SSWriter();
   virtual ~SSWriter();
@@ -122,7 +122,7 @@ private:
  * after an eof condition to check whether the socket has been closed, or
  * after an eof condition to check whether the socket has been closed, or
  * whether more data may be available later.
  * whether more data may be available later.
  */
  */
-class EXPCL_PANDAEXPRESS ISocketStream : public std::istream, public SSReader {
+class EXPCL_PANDA_DOWNLOADER ISocketStream : public std::istream, public SSReader {
 public:
 public:
   INLINE ISocketStream(std::streambuf *buf);
   INLINE ISocketStream(std::streambuf *buf);
   virtual ~ISocketStream();
   virtual ~ISocketStream();
@@ -156,7 +156,7 @@ private:
  * check whether the socket has been closed, or whether more data may be sent
  * check whether the socket has been closed, or whether more data may be sent
  * later.
  * later.
  */
  */
-class EXPCL_PANDAEXPRESS OSocketStream : public std::ostream, public SSWriter {
+class EXPCL_PANDA_DOWNLOADER OSocketStream : public std::ostream, public SSWriter {
 public:
 public:
   INLINE OSocketStream(std::streambuf *buf);
   INLINE OSocketStream(std::streambuf *buf);
 
 
@@ -175,7 +175,7 @@ PUBLISHED:
  * A base class for iostreams that read and write to a (possibly non-blocking)
  * A base class for iostreams that read and write to a (possibly non-blocking)
  * socket.
  * socket.
  */
  */
-class EXPCL_PANDAEXPRESS SocketStream : public std::iostream, public SSReader, public SSWriter {
+class EXPCL_PANDA_DOWNLOADER SocketStream : public std::iostream, public SSReader, public SSWriter {
 public:
 public:
   INLINE SocketStream(std::streambuf *buf);
   INLINE SocketStream(std::streambuf *buf);
 
 

+ 1 - 1
panda/src/downloader/stringStream.h

@@ -24,7 +24,7 @@
  * buffer, which can be retrieved and/or set as a string in Python 2 or a
  * buffer, which can be retrieved and/or set as a string in Python 2 or a
  * bytes object in Python 3.
  * bytes object in Python 3.
  */
  */
-class EXPCL_PANDAEXPRESS StringStream : public std::iostream {
+class EXPCL_PANDA_DOWNLOADER StringStream : public std::iostream {
 public:
 public:
   INLINE StringStream(const std::string &source);
   INLINE StringStream(const std::string &source);
 
 

+ 1 - 1
panda/src/downloader/stringStreamBuf.h

@@ -22,7 +22,7 @@
  * to a memory buffer, whose contents can be appended to or extracted at any
  * to a memory buffer, whose contents can be appended to or extracted at any
  * time by application code.
  * time by application code.
  */
  */
-class EXPCL_PANDAEXPRESS StringStreamBuf : public std::streambuf {
+class EXPCL_PANDA_DOWNLOADER StringStreamBuf : public std::streambuf {
 public:
 public:
   StringStreamBuf();
   StringStreamBuf();
   virtual ~StringStreamBuf();
   virtual ~StringStreamBuf();

+ 1 - 1
panda/src/downloader/urlSpec.h

@@ -25,7 +25,7 @@ class Filename;
  * The URLSpec object is similar to a Filename in that it contains logic to
  * The URLSpec object is similar to a Filename in that it contains logic to
  * identify the various parts of a URL and return (or modify) them separately.
  * identify the various parts of a URL and return (or modify) them separately.
  */
  */
-class EXPCL_PANDAEXPRESS URLSpec {
+class EXPCL_PANDA_DOWNLOADER URLSpec {
 PUBLISHED:
 PUBLISHED:
   URLSpec();
   URLSpec();
   INLINE URLSpec(const std::string &url, bool server_name_expected = false);
   INLINE URLSpec(const std::string &url, bool server_name_expected = false);

+ 1 - 1
panda/src/downloader/virtualFileHTTP.h

@@ -29,7 +29,7 @@ class VirtualFileMountHTTP;
  * VirtualFileSystem, allowing models etc.  to be loaded directly from a web
  * VirtualFileSystem, allowing models etc.  to be loaded directly from a web
  * page.
  * page.
  */
  */
-class EXPCL_PANDAEXPRESS VirtualFileHTTP : public VirtualFile {
+class EXPCL_PANDA_DOWNLOADER VirtualFileHTTP : public VirtualFile {
 public:
 public:
   VirtualFileHTTP(VirtualFileMountHTTP *mount,
   VirtualFileHTTP(VirtualFileMountHTTP *mount,
                   const Filename &local_filename,
                   const Filename &local_filename,

+ 1 - 1
panda/src/downloader/virtualFileMountHTTP.h

@@ -28,7 +28,7 @@
 /**
 /**
  * Maps a web page (URL root) into the VirtualFileSystem.
  * Maps a web page (URL root) into the VirtualFileSystem.
  */
  */
-class EXPCL_PANDAEXPRESS VirtualFileMountHTTP : public VirtualFileMount {
+class EXPCL_PANDA_DOWNLOADER VirtualFileMountHTTP : public VirtualFileMount {
 PUBLISHED:
 PUBLISHED:
   explicit VirtualFileMountHTTP(const URLSpec &root, HTTPClient *http = HTTPClient::get_global_ptr());
   explicit VirtualFileMountHTTP(const URLSpec &root, HTTPClient *http = HTTPClient::get_global_ptr());
   virtual ~VirtualFileMountHTTP();
   virtual ~VirtualFileMountHTTP();

+ 1 - 1
panda/src/express/buffer.h

@@ -21,7 +21,7 @@
 /**
 /**
  *
  *
  */
  */
-class EXPCL_PANDAEXPRESS Buffer : public ReferenceCount {
+class EXPCL_PANDA_EXPRESS Buffer : public ReferenceCount {
 public:
 public:
   Buffer(int size);
   Buffer(int size);
   ~Buffer();
   ~Buffer();

+ 1 - 1
panda/src/express/checksumHashGenerator.h

@@ -22,7 +22,7 @@
  * This is a specific kind of HashGenerator that simply adds up all of the
  * This is a specific kind of HashGenerator that simply adds up all of the
  * ints.  Nothing fancy, and pretty quick.
  * ints.  Nothing fancy, and pretty quick.
  */
  */
-class EXPCL_PANDAEXPRESS ChecksumHashGenerator : public HashGeneratorBase {
+class EXPCL_PANDA_EXPRESS ChecksumHashGenerator : public HashGeneratorBase {
 public:
 public:
   INLINE void add_int(long num);
   INLINE void add_int(long num);
   INLINE void add_bool(bool flag);
   INLINE void add_bool(bool flag);

+ 2 - 2
panda/src/express/compress_string.cxx

@@ -64,7 +64,7 @@ decompress_string(const string &source) {
  * results are written to the dest file, overwriting its contents.  The return
  * results are written to the dest file, overwriting its contents.  The return
  * value is bool on success, or false on failure.
  * value is bool on success, or false on failure.
  */
  */
-EXPCL_PANDAEXPRESS bool
+EXPCL_PANDA_EXPRESS bool
 compress_file(const Filename &source, const Filename &dest, int compression_level) {
 compress_file(const Filename &source, const Filename &dest, int compression_level) {
   VirtualFileSystem *vfs = VirtualFileSystem::get_global_ptr();
   VirtualFileSystem *vfs = VirtualFileSystem::get_global_ptr();
   Filename source_filename = source;
   Filename source_filename = source;
@@ -101,7 +101,7 @@ compress_file(const Filename &source, const Filename &dest, int compression_leve
  * Note that a decompression error cannot easily be detected, and the output
  * Note that a decompression error cannot easily be detected, and the output
  * may simply be a garbage or truncated string.
  * may simply be a garbage or truncated string.
  */
  */
-EXPCL_PANDAEXPRESS bool
+EXPCL_PANDA_EXPRESS bool
 decompress_file(const Filename &source, const Filename &dest) {
 decompress_file(const Filename &source, const Filename &dest) {
   Filename source_filename = Filename::binary_filename(source);
   Filename source_filename = Filename::binary_filename(source);
   VirtualFileSystem *vfs = VirtualFileSystem::get_global_ptr();
   VirtualFileSystem *vfs = VirtualFileSystem::get_global_ptr();

+ 6 - 6
panda/src/express/compress_string.h

@@ -22,20 +22,20 @@
 
 
 BEGIN_PUBLISH
 BEGIN_PUBLISH
 
 
-EXPCL_PANDAEXPRESS std::string
+EXPCL_PANDA_EXPRESS std::string
 compress_string(const std::string &source, int compression_level);
 compress_string(const std::string &source, int compression_level);
 
 
-EXPCL_PANDAEXPRESS std::string
+EXPCL_PANDA_EXPRESS std::string
 decompress_string(const std::string &source);
 decompress_string(const std::string &source);
 
 
-EXPCL_PANDAEXPRESS bool
+EXPCL_PANDA_EXPRESS bool
 compress_file(const Filename &source, const Filename &dest, int compression_level);
 compress_file(const Filename &source, const Filename &dest, int compression_level);
-EXPCL_PANDAEXPRESS bool
+EXPCL_PANDA_EXPRESS bool
 decompress_file(const Filename &source, const Filename &dest);
 decompress_file(const Filename &source, const Filename &dest);
 
 
-EXPCL_PANDAEXPRESS bool
+EXPCL_PANDA_EXPRESS bool
 compress_stream(std::istream &source, std::ostream &dest, int compression_level);
 compress_stream(std::istream &source, std::ostream &dest, int compression_level);
-EXPCL_PANDAEXPRESS bool
+EXPCL_PANDA_EXPRESS bool
 decompress_stream(std::istream &source, std::ostream &dest);
 decompress_stream(std::istream &source, std::ostream &dest);
 
 
 END_PUBLISH
 END_PUBLISH

+ 2 - 2
panda/src/express/config_express.cxx

@@ -36,8 +36,8 @@
 #include "dconfig.h"
 #include "dconfig.h"
 #include "streamWrapper.h"
 #include "streamWrapper.h"
 
 
-#if !defined(CPPPARSER) && !defined(BUILDING_PANDAEXPRESS)
-  #error Buildsystem error: BUILDING_PANDAEXPRESS not defined
+#if !defined(CPPPARSER) && !defined(BUILDING_PANDA_EXPRESS)
+  #error Buildsystem error: BUILDING_PANDA_EXPRESS not defined
 #endif
 #endif
 
 
 ConfigureDef(config_express);
 ConfigureDef(config_express);

+ 12 - 12
panda/src/express/config_express.h

@@ -28,20 +28,20 @@
 #include "executionEnvironment.h"
 #include "executionEnvironment.h"
 #include "lineStream.h"
 #include "lineStream.h"
 
 
-ConfigureDecl(config_express, EXPCL_PANDAEXPRESS, EXPTP_PANDAEXPRESS);
-NotifyCategoryDecl(express, EXPCL_PANDAEXPRESS, EXPTP_PANDAEXPRESS);
-NotifyCategoryDecl(clock, EXPCL_PANDAEXPRESS, EXPTP_PANDAEXPRESS);
+ConfigureDecl(config_express, EXPCL_PANDA_EXPRESS, EXPTP_PANDA_EXPRESS);
+NotifyCategoryDecl(express, EXPCL_PANDA_EXPRESS, EXPTP_PANDA_EXPRESS);
+NotifyCategoryDecl(clock, EXPCL_PANDA_EXPRESS, EXPTP_PANDA_EXPRESS);
 
 
 // Actually, we can't determine this config variable the normal way, because
 // Actually, we can't determine this config variable the normal way, because
 // we must be able to access it at static init time.  Instead of declaring it
 // we must be able to access it at static init time.  Instead of declaring it
 // a global constant, we'll make it a member of MemoryUsage.
 // a global constant, we'll make it a member of MemoryUsage.
 
 
-// extern EXPCL_PANDAEXPRESS const bool track_memory_usage;
+// extern EXPCL_PANDA_EXPRESS const bool track_memory_usage;
 
 
-EXPCL_PANDAEXPRESS bool get_use_high_res_clock();
-EXPCL_PANDAEXPRESS bool get_paranoid_clock();
-EXPCL_PANDAEXPRESS bool get_paranoid_inheritance();
-EXPCL_PANDAEXPRESS bool get_verify_dcast();
+EXPCL_PANDA_EXPRESS bool get_use_high_res_clock();
+EXPCL_PANDA_EXPRESS bool get_paranoid_clock();
+EXPCL_PANDA_EXPRESS bool get_paranoid_inheritance();
+EXPCL_PANDA_EXPRESS bool get_verify_dcast();
 
 
 extern ConfigVariableInt patchfile_window_size;
 extern ConfigVariableInt patchfile_window_size;
 extern ConfigVariableInt patchfile_increment_size;
 extern ConfigVariableInt patchfile_increment_size;
@@ -51,14 +51,14 @@ extern ConfigVariableInt patchfile_zone_size;
 extern ConfigVariableBool keep_temporary_files;
 extern ConfigVariableBool keep_temporary_files;
 extern ConfigVariableBool multifile_always_binary;
 extern ConfigVariableBool multifile_always_binary;
 
 
-extern EXPCL_PANDAEXPRESS ConfigVariableBool collect_tcp;
-extern EXPCL_PANDAEXPRESS ConfigVariableDouble collect_tcp_interval;
+extern EXPCL_PANDA_EXPRESS ConfigVariableBool collect_tcp;
+extern EXPCL_PANDA_EXPRESS ConfigVariableDouble collect_tcp_interval;
 
 
 // Expose the Config variable for Python access.
 // Expose the Config variable for Python access.
 BEGIN_PUBLISH
 BEGIN_PUBLISH
-EXPCL_PANDAEXPRESS DConfig &get_config_express();
+EXPCL_PANDA_EXPRESS DConfig &get_config_express();
 END_PUBLISH
 END_PUBLISH
 
 
-extern EXPCL_PANDAEXPRESS void init_libexpress();
+extern EXPCL_PANDA_EXPRESS void init_libexpress();
 
 
 #endif /* __CONFIG_UTIL_H__ */
 #endif /* __CONFIG_UTIL_H__ */

+ 1 - 1
panda/src/express/copy_stream.h

@@ -17,7 +17,7 @@
 #include "pandabase.h"
 #include "pandabase.h"
 
 
 BEGIN_PUBLISH
 BEGIN_PUBLISH
-EXPCL_PANDAEXPRESS bool
+EXPCL_PANDA_EXPRESS bool
 copy_stream(std::istream &source, std::ostream &dest);
 copy_stream(std::istream &source, std::ostream &dest);
 END_PUBLISH
 END_PUBLISH
 
 

+ 1 - 1
panda/src/express/datagram.h

@@ -35,7 +35,7 @@
  * A Datagram is itself headerless; it is simply a collection of data
  * A Datagram is itself headerless; it is simply a collection of data
  * elements.
  * elements.
  */
  */
-class EXPCL_PANDAEXPRESS Datagram : public TypedObject {
+class EXPCL_PANDA_EXPRESS Datagram : public TypedObject {
 PUBLISHED:
 PUBLISHED:
   INLINE Datagram();
   INLINE Datagram();
   INLINE Datagram(const void *data, size_t size);
   INLINE Datagram(const void *data, size_t size);

+ 1 - 1
panda/src/express/datagramGenerator.h

@@ -27,7 +27,7 @@ class VirtualFile;
  * This class defines the abstract interace to any source of datagrams,
  * This class defines the abstract interace to any source of datagrams,
  * whether it be from a file or from the net.
  * whether it be from a file or from the net.
  */
  */
-class EXPCL_PANDAEXPRESS DatagramGenerator {
+class EXPCL_PANDA_EXPRESS DatagramGenerator {
 PUBLISHED:
 PUBLISHED:
   INLINE DatagramGenerator();
   INLINE DatagramGenerator();
   virtual ~DatagramGenerator();
   virtual ~DatagramGenerator();

+ 1 - 1
panda/src/express/datagramIterator.h

@@ -24,7 +24,7 @@
  * Datagram.  Elements may be retrieved one at a time; it is up to the caller
  * Datagram.  Elements may be retrieved one at a time; it is up to the caller
  * to know the correct type and order of each element.
  * to know the correct type and order of each element.
  */
  */
-class EXPCL_PANDAEXPRESS DatagramIterator {
+class EXPCL_PANDA_EXPRESS DatagramIterator {
 public:
 public:
   INLINE void assign(Datagram &datagram, size_t offset = 0);
   INLINE void assign(Datagram &datagram, size_t offset = 0);
 
 

+ 1 - 1
panda/src/express/datagramSink.h

@@ -26,7 +26,7 @@ class Filename;
  * This class defines the abstract interface to sending datagrams to any
  * This class defines the abstract interface to sending datagrams to any
  * target, whether it be into a file or across the net
  * target, whether it be into a file or across the net
  */
  */
-class EXPCL_PANDAEXPRESS DatagramSink {
+class EXPCL_PANDA_EXPRESS DatagramSink {
 PUBLISHED:
 PUBLISHED:
   INLINE DatagramSink();
   INLINE DatagramSink();
   virtual ~DatagramSink();
   virtual ~DatagramSink();

+ 1 - 1
panda/src/express/dcast.h

@@ -64,7 +64,7 @@ INLINE const WantType *_dcast_ref(WantType *&, const TypedObject *ptr);
 
 
 #ifdef DO_DCAST
 #ifdef DO_DCAST
 // _dcast_verify performs the actual verification.
 // _dcast_verify performs the actual verification.
-EXPCL_PANDAEXPRESS bool
+EXPCL_PANDA_EXPRESS bool
 _dcast_verify(TypeHandle want_handle, size_t want_size,
 _dcast_verify(TypeHandle want_handle, size_t want_size,
               const TypedObject *ptr);
               const TypedObject *ptr);
 #endif  // DO_DCAST
 #endif  // DO_DCAST

+ 2 - 2
panda/src/express/encrypt_string.cxx

@@ -75,7 +75,7 @@ decrypt_string(const string &source, const string &password) {
  * to the dest file, overwriting its contents.  The return value is bool on
  * to the dest file, overwriting its contents.  The return value is bool on
  * success, or false on failure.
  * success, or false on failure.
  */
  */
-EXPCL_PANDAEXPRESS bool
+EXPCL_PANDA_EXPRESS bool
 encrypt_file(const Filename &source, const Filename &dest, const string &password,
 encrypt_file(const Filename &source, const Filename &dest, const string &password,
              const string &algorithm, int key_length, int iteration_count) {
              const string &algorithm, int key_length, int iteration_count) {
   VirtualFileSystem *vfs = VirtualFileSystem::get_global_ptr();
   VirtualFileSystem *vfs = VirtualFileSystem::get_global_ptr();
@@ -115,7 +115,7 @@ encrypt_file(const Filename &source, const Filename &dest, const string &passwor
  * Note that a decryption error, including an incorrect password, cannot
  * Note that a decryption error, including an incorrect password, cannot
  * easily be detected, and the output may simply be a garbage string.
  * easily be detected, and the output may simply be a garbage string.
  */
  */
-EXPCL_PANDAEXPRESS bool
+EXPCL_PANDA_EXPRESS bool
 decrypt_file(const Filename &source, const Filename &dest, const string &password) {
 decrypt_file(const Filename &source, const Filename &dest, const string &password) {
   Filename source_filename = Filename::binary_filename(source);
   Filename source_filename = Filename::binary_filename(source);
   VirtualFileSystem *vfs = VirtualFileSystem::get_global_ptr();
   VirtualFileSystem *vfs = VirtualFileSystem::get_global_ptr();

+ 6 - 6
panda/src/express/encrypt_string.h

@@ -22,25 +22,25 @@
 
 
 BEGIN_PUBLISH
 BEGIN_PUBLISH
 
 
-EXPCL_PANDAEXPRESS std::string
+EXPCL_PANDA_EXPRESS std::string
 encrypt_string(const std::string &source, const std::string &password,
 encrypt_string(const std::string &source, const std::string &password,
                const std::string &algorithm = std::string(), int key_length = -1,
                const std::string &algorithm = std::string(), int key_length = -1,
                int iteration_count = -1);
                int iteration_count = -1);
-EXPCL_PANDAEXPRESS std::string
+EXPCL_PANDA_EXPRESS std::string
 decrypt_string(const std::string &source, const std::string &password);
 decrypt_string(const std::string &source, const std::string &password);
 
 
-EXPCL_PANDAEXPRESS bool
+EXPCL_PANDA_EXPRESS bool
 encrypt_file(const Filename &source, const Filename &dest, const std::string &password,
 encrypt_file(const Filename &source, const Filename &dest, const std::string &password,
              const std::string &algorithm = std::string(), int key_length = -1,
              const std::string &algorithm = std::string(), int key_length = -1,
              int iteration_count = -1);
              int iteration_count = -1);
-EXPCL_PANDAEXPRESS bool
+EXPCL_PANDA_EXPRESS bool
 decrypt_file(const Filename &source, const Filename &dest, const std::string &password);
 decrypt_file(const Filename &source, const Filename &dest, const std::string &password);
 
 
-EXPCL_PANDAEXPRESS bool
+EXPCL_PANDA_EXPRESS bool
 encrypt_stream(std::istream &source, std::ostream &dest, const std::string &password,
 encrypt_stream(std::istream &source, std::ostream &dest, const std::string &password,
                const std::string &algorithm = std::string(), int key_length = -1,
                const std::string &algorithm = std::string(), int key_length = -1,
                int iteration_count = -1);
                int iteration_count = -1);
-EXPCL_PANDAEXPRESS bool
+EXPCL_PANDA_EXPRESS bool
 decrypt_stream(std::istream &source, std::ostream &dest, const std::string &password);
 decrypt_stream(std::istream &source, std::ostream &dest, const std::string &password);
 
 
 END_PUBLISH
 END_PUBLISH

+ 4 - 4
panda/src/express/error_utils.h

@@ -74,12 +74,12 @@ enum ErrorUtilCode {
   EU_error_zlib = -80,
   EU_error_zlib = -80,
 };
 };
 
 
-EXPCL_PANDAEXPRESS std::string error_to_text(ErrorUtilCode err);
-EXPCL_PANDAEXPRESS int get_write_error();
+EXPCL_PANDA_EXPRESS std::string error_to_text(ErrorUtilCode err);
+EXPCL_PANDA_EXPRESS int get_write_error();
 
 
 #ifdef HAVE_NET
 #ifdef HAVE_NET
-EXPCL_PANDAEXPRESS std::string handle_socket_error();
-EXPCL_PANDAEXPRESS int get_network_error();
+EXPCL_PANDA_EXPRESS std::string handle_socket_error();
+EXPCL_PANDA_EXPRESS int get_network_error();
 #endif
 #endif
 
 
 END_PUBLISH
 END_PUBLISH

+ 1 - 1
panda/src/express/fileReference.h

@@ -23,7 +23,7 @@
  * Keeps a reference-counted pointer to a file on disk.  As long as the
  * Keeps a reference-counted pointer to a file on disk.  As long as the
  * FileReference is held, someone presumably has a use for this file.
  * FileReference is held, someone presumably has a use for this file.
  */
  */
-class EXPCL_PANDAEXPRESS FileReference : public TypedReferenceCount {
+class EXPCL_PANDA_EXPRESS FileReference : public TypedReferenceCount {
 PUBLISHED:
 PUBLISHED:
   INLINE FileReference(const Filename &filename);
   INLINE FileReference(const Filename &filename);
   INLINE const Filename &get_filename() const;
   INLINE const Filename &get_filename() const;

+ 1 - 1
panda/src/express/hashGeneratorBase.h

@@ -27,7 +27,7 @@
  * Thus, a compile-time decision must be made for the kind of HashGenerator
  * Thus, a compile-time decision must be made for the kind of HashGenerator
  * that is appropriate for a particular class.
  * that is appropriate for a particular class.
  */
  */
-class EXPCL_PANDAEXPRESS HashGeneratorBase {
+class EXPCL_PANDA_EXPRESS HashGeneratorBase {
 public:
 public:
   INLINE HashGeneratorBase();
   INLINE HashGeneratorBase();
 
 

+ 1 - 1
panda/src/express/hashVal.h

@@ -27,7 +27,7 @@
  * Stores a 128-bit value that represents the hashed contents (typically MD5)
  * Stores a 128-bit value that represents the hashed contents (typically MD5)
  * of a file or buffer.
  * of a file or buffer.
  */
  */
-class EXPCL_PANDAEXPRESS HashVal {
+class EXPCL_PANDA_EXPRESS HashVal {
 PUBLISHED:
 PUBLISHED:
   INLINE HashVal();
   INLINE HashVal();
   INLINE HashVal(const HashVal &copy);
   INLINE HashVal(const HashVal &copy);

+ 1 - 1
panda/src/express/memoryUsage.h

@@ -32,7 +32,7 @@ class MemoryUsagePointers;
  * When compiled with NDEBUG set, this entire class does nothing and compiles
  * When compiled with NDEBUG set, this entire class does nothing and compiles
  * to a stub.
  * to a stub.
  */
  */
-class EXPCL_PANDAEXPRESS MemoryUsage : public MemoryHook {
+class EXPCL_PANDA_EXPRESS MemoryUsage : public MemoryHook {
 public:
 public:
   ALWAYS_INLINE static bool get_track_memory_usage();
   ALWAYS_INLINE static bool get_track_memory_usage();
 
 

+ 1 - 1
panda/src/express/memoryUsagePointers.h

@@ -35,7 +35,7 @@
  * This class is just a user interface to talk about pointers stored in a
  * This class is just a user interface to talk about pointers stored in a
  * MemoryUsage object.  It doesn't even exist when compiled with NDEBUG.
  * MemoryUsage object.  It doesn't even exist when compiled with NDEBUG.
  */
  */
-class EXPCL_PANDAEXPRESS MemoryUsagePointers {
+class EXPCL_PANDA_EXPRESS MemoryUsagePointers {
 PUBLISHED:
 PUBLISHED:
   MemoryUsagePointers();
   MemoryUsagePointers();
   ~MemoryUsagePointers();
   ~MemoryUsagePointers();

+ 1 - 1
panda/src/express/multifile.h

@@ -34,7 +34,7 @@ typedef struct evp_pkey_st EVP_PKEY;
 /**
 /**
  * A file that contains a set of files.
  * A file that contains a set of files.
  */
  */
-class EXPCL_PANDAEXPRESS Multifile : public ReferenceCount {
+class EXPCL_PANDA_EXPRESS Multifile : public ReferenceCount {
 PUBLISHED:
 PUBLISHED:
   Multifile();
   Multifile();
   Multifile(const Multifile &copy) = delete;
   Multifile(const Multifile &copy) = delete;

+ 1 - 1
panda/src/express/namable.h

@@ -23,7 +23,7 @@
  * A base class for all things which can have a name.  The name is either
  * A base class for all things which can have a name.  The name is either
  * empty or nonempty, but it is never NULL.
  * empty or nonempty, but it is never NULL.
  */
  */
-class EXPCL_PANDAEXPRESS Namable : public MemoryBase {
+class EXPCL_PANDA_EXPRESS Namable : public MemoryBase {
 PUBLISHED:
 PUBLISHED:
   INLINE explicit Namable(const std::string &initial_name = "");
   INLINE explicit Namable(const std::string &initial_name = "");
 
 

+ 1 - 1
panda/src/express/nodeReferenceCount.h

@@ -30,7 +30,7 @@
  * See also CachedTypedWritableReferenceCount, which is similar in principle,
  * See also CachedTypedWritableReferenceCount, which is similar in principle,
  * as well as NodeCachedReferenceCount, which combines both of these.
  * as well as NodeCachedReferenceCount, which combines both of these.
  */
  */
-class EXPCL_PANDAEXPRESS NodeReferenceCount : public ReferenceCount {
+class EXPCL_PANDA_EXPRESS NodeReferenceCount : public ReferenceCount {
 protected:
 protected:
   INLINE NodeReferenceCount();
   INLINE NodeReferenceCount();
   INLINE NodeReferenceCount(const NodeReferenceCount &copy);
   INLINE NodeReferenceCount(const NodeReferenceCount &copy);

+ 1 - 1
panda/src/express/openSSLWrapper.h

@@ -43,7 +43,7 @@
  * the library is properly initialized in the application, and to provide some
  * the library is properly initialized in the application, and to provide some
  * hooks into global OpenSSL context data.
  * hooks into global OpenSSL context data.
  */
  */
-class EXPCL_PANDAEXPRESS OpenSSLWrapper {
+class EXPCL_PANDA_EXPRESS OpenSSLWrapper {
 private:
 private:
   OpenSSLWrapper();
   OpenSSLWrapper();
   ~OpenSSLWrapper();
   ~OpenSSLWrapper();

+ 1 - 1
panda/src/express/pStatCollectorForwardBase.h

@@ -25,7 +25,7 @@
  * This is subclassed as PStatCollectorForward, which defines the actual
  * This is subclassed as PStatCollectorForward, which defines the actual
  * functionality.
  * functionality.
  */
  */
-class EXPCL_PANDAEXPRESS PStatCollectorForwardBase : public ReferenceCount {
+class EXPCL_PANDA_EXPRESS PStatCollectorForwardBase : public ReferenceCount {
 PUBLISHED:
 PUBLISHED:
 #ifdef DO_PSTATS
 #ifdef DO_PSTATS
   virtual ~PStatCollectorForwardBase();
   virtual ~PStatCollectorForwardBase();

+ 3 - 3
panda/src/express/password_hash.h

@@ -22,9 +22,9 @@
 
 
 BEGIN_PUBLISH
 BEGIN_PUBLISH
 
 
-EXPCL_PANDAEXPRESS std::string password_hash(const std::string &password,
-                                        const std::string &salt,
-                                        int iters, int keylen);
+EXPCL_PANDA_EXPRESS std::string password_hash(const std::string &password,
+                                              const std::string &salt,
+                                              int iters, int keylen);
 
 
 END_PUBLISH
 END_PUBLISH
 
 

+ 1 - 1
panda/src/express/patchfile.h

@@ -36,7 +36,7 @@
 /**
 /**
  *
  *
  */
  */
-class EXPCL_PANDAEXPRESS Patchfile {
+class EXPCL_PANDA_EXPRESS Patchfile {
 PUBLISHED:
 PUBLISHED:
   Patchfile();
   Patchfile();
   explicit Patchfile(PT(Buffer) buffer);
   explicit Patchfile(PT(Buffer) buffer);

+ 1 - 1
panda/src/express/pointerToArrayBase.cxx

@@ -13,4 +13,4 @@
 
 
 #include "pointerToArrayBase.h"
 #include "pointerToArrayBase.h"
 
 
-EXPCL_PANDAEXPRESS PTASetLevelFunc *pta_set_level = nullptr;
+EXPCL_PANDA_EXPRESS PTASetLevelFunc *pta_set_level = nullptr;

+ 1 - 1
panda/src/express/pointerToVoid.h

@@ -30,7 +30,7 @@
  *
  *
  * This is the base class for PointerToBase<T>.
  * This is the base class for PointerToBase<T>.
  */
  */
-class EXPCL_PANDAEXPRESS PointerToVoid : public MemoryBase {
+class EXPCL_PANDA_EXPRESS PointerToVoid : public MemoryBase {
 protected:
 protected:
   constexpr PointerToVoid() noexcept;
   constexpr PointerToVoid() noexcept;
   //INLINE ~PointerToVoid();
   //INLINE ~PointerToVoid();

+ 1 - 1
panda/src/express/profileTimer.cxx

@@ -16,7 +16,7 @@
 // See ProfileTimer.h for documentation.
 // See ProfileTimer.h for documentation.
 
 
 
 
-EXPCL_PANDAEXPRESS ProfileTimer Skyler_timer_global=ProfileTimer("startup");
+EXPCL_PANDA_EXPRESS ProfileTimer Skyler_timer_global=ProfileTimer("startup");
 
 
 ProfileTimer* ProfileTimer::_head;
 ProfileTimer* ProfileTimer::_head;
 
 

+ 2 - 2
panda/src/express/profileTimer.h

@@ -37,7 +37,7 @@
       seconds of each other, I don't think you'll get very good
       seconds of each other, I don't think you'll get very good
       results.
       results.
 */
 */
-class EXPCL_PANDAEXPRESS ProfileTimer {
+class EXPCL_PANDA_EXPRESS ProfileTimer {
   enum { MaxEntriesDefault=4096 };
   enum { MaxEntriesDefault=4096 };
 PUBLISHED:
 PUBLISHED:
   explicit ProfileTimer(const char* name=0, int maxEntries=MaxEntriesDefault);
   explicit ProfileTimer(const char* name=0, int maxEntries=MaxEntriesDefault);
@@ -67,7 +67,7 @@ public:
         ...
         ...
       }
       }
   */
   */
-  class EXPCL_PANDAEXPRESS AutoTimer {
+  class EXPCL_PANDA_EXPRESS AutoTimer {
   public:
   public:
     AutoTimer(ProfileTimer& profile, const char* tag);
     AutoTimer(ProfileTimer& profile, const char* tag);
     ~AutoTimer();
     ~AutoTimer();

+ 4 - 4
panda/src/express/pta_double.h

@@ -26,10 +26,10 @@
  * defining the pta again.
  * defining the pta again.
  */
  */
 
 
-EXPORT_TEMPLATE_CLASS(EXPCL_PANDAEXPRESS, EXPTP_PANDAEXPRESS, PointerToBase<ReferenceCountedVector<double> >)
-EXPORT_TEMPLATE_CLASS(EXPCL_PANDAEXPRESS, EXPTP_PANDAEXPRESS, PointerToArrayBase<double>)
-EXPORT_TEMPLATE_CLASS(EXPCL_PANDAEXPRESS, EXPTP_PANDAEXPRESS, PointerToArray<double>)
-EXPORT_TEMPLATE_CLASS(EXPCL_PANDAEXPRESS, EXPTP_PANDAEXPRESS, ConstPointerToArray<double>)
+EXPORT_TEMPLATE_CLASS(EXPCL_PANDA_EXPRESS, EXPTP_PANDA_EXPRESS, PointerToBase<ReferenceCountedVector<double> >)
+EXPORT_TEMPLATE_CLASS(EXPCL_PANDA_EXPRESS, EXPTP_PANDA_EXPRESS, PointerToArrayBase<double>)
+EXPORT_TEMPLATE_CLASS(EXPCL_PANDA_EXPRESS, EXPTP_PANDA_EXPRESS, PointerToArray<double>)
+EXPORT_TEMPLATE_CLASS(EXPCL_PANDA_EXPRESS, EXPTP_PANDA_EXPRESS, ConstPointerToArray<double>)
 
 
 typedef PointerToArray<double> PTA_double;
 typedef PointerToArray<double> PTA_double;
 typedef ConstPointerToArray<double> CPTA_double;
 typedef ConstPointerToArray<double> CPTA_double;

+ 4 - 4
panda/src/express/pta_float.h

@@ -26,10 +26,10 @@
  * defining the pta again.
  * defining the pta again.
  */
  */
 
 
-EXPORT_TEMPLATE_CLASS(EXPCL_PANDAEXPRESS, EXPTP_PANDAEXPRESS, PointerToBase<ReferenceCountedVector<float> >)
-EXPORT_TEMPLATE_CLASS(EXPCL_PANDAEXPRESS, EXPTP_PANDAEXPRESS, PointerToArrayBase<float>)
-EXPORT_TEMPLATE_CLASS(EXPCL_PANDAEXPRESS, EXPTP_PANDAEXPRESS, PointerToArray<float>)
-EXPORT_TEMPLATE_CLASS(EXPCL_PANDAEXPRESS, EXPTP_PANDAEXPRESS, ConstPointerToArray<float>)
+EXPORT_TEMPLATE_CLASS(EXPCL_PANDA_EXPRESS, EXPTP_PANDA_EXPRESS, PointerToBase<ReferenceCountedVector<float> >)
+EXPORT_TEMPLATE_CLASS(EXPCL_PANDA_EXPRESS, EXPTP_PANDA_EXPRESS, PointerToArrayBase<float>)
+EXPORT_TEMPLATE_CLASS(EXPCL_PANDA_EXPRESS, EXPTP_PANDA_EXPRESS, PointerToArray<float>)
+EXPORT_TEMPLATE_CLASS(EXPCL_PANDA_EXPRESS, EXPTP_PANDA_EXPRESS, ConstPointerToArray<float>)
 
 
 typedef PointerToArray<float> PTA_float;
 typedef PointerToArray<float> PTA_float;
 typedef ConstPointerToArray<float> CPTA_float;
 typedef ConstPointerToArray<float> CPTA_float;

+ 4 - 4
panda/src/express/pta_int.h

@@ -26,10 +26,10 @@
  * pta again.
  * pta again.
  */
  */
 
 
-EXPORT_TEMPLATE_CLASS(EXPCL_PANDAEXPRESS, EXPTP_PANDAEXPRESS, PointerToBase<ReferenceCountedVector<int> >)
-EXPORT_TEMPLATE_CLASS(EXPCL_PANDAEXPRESS, EXPTP_PANDAEXPRESS, PointerToArrayBase<int>)
-EXPORT_TEMPLATE_CLASS(EXPCL_PANDAEXPRESS, EXPTP_PANDAEXPRESS, PointerToArray<int>)
-EXPORT_TEMPLATE_CLASS(EXPCL_PANDAEXPRESS, EXPTP_PANDAEXPRESS, ConstPointerToArray<int>)
+EXPORT_TEMPLATE_CLASS(EXPCL_PANDA_EXPRESS, EXPTP_PANDA_EXPRESS, PointerToBase<ReferenceCountedVector<int> >)
+EXPORT_TEMPLATE_CLASS(EXPCL_PANDA_EXPRESS, EXPTP_PANDA_EXPRESS, PointerToArrayBase<int>)
+EXPORT_TEMPLATE_CLASS(EXPCL_PANDA_EXPRESS, EXPTP_PANDA_EXPRESS, PointerToArray<int>)
+EXPORT_TEMPLATE_CLASS(EXPCL_PANDA_EXPRESS, EXPTP_PANDA_EXPRESS, ConstPointerToArray<int>)
 
 
 typedef PointerToArray<int> PTA_int;
 typedef PointerToArray<int> PTA_int;
 typedef ConstPointerToArray<int> CPTA_int;
 typedef ConstPointerToArray<int> CPTA_int;

+ 5 - 5
panda/src/express/pta_uchar.h

@@ -21,7 +21,7 @@
 
 
 /**
 /**
  * A pta of uchars.  This class is defined once here, and exported to
  * A pta of uchars.  This class is defined once here, and exported to
- * PANDAEXPRESS.DLL; other packages that want to use a pta of this type
+ * PANDA_EXPRESS.DLL; other packages that want to use a pta of this type
  * (whether they need to export it or not) should include this header file,
  * (whether they need to export it or not) should include this header file,
  * rather than defining the pta again.
  * rather than defining the pta again.
  */
  */
@@ -29,10 +29,10 @@
 #if !defined(__clang__) && __GNUC__ == 4 && __GNUC_MINOR__ < 7
 #if !defined(__clang__) && __GNUC__ == 4 && __GNUC_MINOR__ < 7
 // GCC 4.6 has a weird bug related to this type.
 // GCC 4.6 has a weird bug related to this type.
 #else
 #else
-EXPORT_TEMPLATE_CLASS(EXPCL_PANDAEXPRESS, EXPTP_PANDAEXPRESS, PointerToBase<ReferenceCountedVector<uchar> >)
-EXPORT_TEMPLATE_CLASS(EXPCL_PANDAEXPRESS, EXPTP_PANDAEXPRESS, PointerToArrayBase<uchar>)
-EXPORT_TEMPLATE_CLASS(EXPCL_PANDAEXPRESS, EXPTP_PANDAEXPRESS, PointerToArray<unsigned char>)
-EXPORT_TEMPLATE_CLASS(EXPCL_PANDAEXPRESS, EXPTP_PANDAEXPRESS, ConstPointerToArray<unsigned char>)
+EXPORT_TEMPLATE_CLASS(EXPCL_PANDA_EXPRESS, EXPTP_PANDA_EXPRESS, PointerToBase<ReferenceCountedVector<uchar> >)
+EXPORT_TEMPLATE_CLASS(EXPCL_PANDA_EXPRESS, EXPTP_PANDA_EXPRESS, PointerToArrayBase<uchar>)
+EXPORT_TEMPLATE_CLASS(EXPCL_PANDA_EXPRESS, EXPTP_PANDA_EXPRESS, PointerToArray<unsigned char>)
+EXPORT_TEMPLATE_CLASS(EXPCL_PANDA_EXPRESS, EXPTP_PANDA_EXPRESS, ConstPointerToArray<unsigned char>)
 #endif
 #endif
 
 
 typedef PointerToArray<unsigned char> PTA_uchar;
 typedef PointerToArray<unsigned char> PTA_uchar;

+ 1 - 1
panda/src/express/ramfile.h

@@ -22,7 +22,7 @@
 /**
 /**
  * An in-memory buffer specifically designed for downloading files to memory.
  * An in-memory buffer specifically designed for downloading files to memory.
  */
  */
-class EXPCL_PANDAEXPRESS Ramfile {
+class EXPCL_PANDA_EXPRESS Ramfile {
 PUBLISHED:
 PUBLISHED:
   INLINE Ramfile();
   INLINE Ramfile();
 
 

+ 1 - 1
panda/src/express/referenceCount.h

@@ -35,7 +35,7 @@
  * ReferenceCount works in conjunction with PointerTo to automatically delete
  * ReferenceCount works in conjunction with PointerTo to automatically delete
  * objects when the last pointer to them goes away.
  * objects when the last pointer to them goes away.
  */
  */
-class EXPCL_PANDAEXPRESS ReferenceCount : public MemoryBase {
+class EXPCL_PANDA_EXPRESS ReferenceCount : public MemoryBase {
 protected:
 protected:
   INLINE ReferenceCount();
   INLINE ReferenceCount();
   INLINE ReferenceCount(const ReferenceCount &);
   INLINE ReferenceCount(const ReferenceCount &);

+ 3 - 3
panda/src/express/subStream.h

@@ -27,7 +27,7 @@
  * The source stream must be one that we can randomly seek within.  The
  * The source stream must be one that we can randomly seek within.  The
  * resulting ISubStream will also support arbitrary seeks.
  * resulting ISubStream will also support arbitrary seeks.
  */
  */
-class EXPCL_PANDAEXPRESS ISubStream : public std::istream {
+class EXPCL_PANDA_EXPRESS ISubStream : public std::istream {
 PUBLISHED:
 PUBLISHED:
   INLINE ISubStream();
   INLINE ISubStream();
   INLINE explicit ISubStream(IStreamWrapper *source, std::streampos start, std::streampos end);
   INLINE explicit ISubStream(IStreamWrapper *source, std::streampos start, std::streampos end);
@@ -52,7 +52,7 @@ private:
  * The dest stream must be one that we can randomly seek within.  The
  * The dest stream must be one that we can randomly seek within.  The
  * resulting OSubStream will also support arbitrary seeks.
  * resulting OSubStream will also support arbitrary seeks.
  */
  */
-class EXPCL_PANDAEXPRESS OSubStream : public std::ostream {
+class EXPCL_PANDA_EXPRESS OSubStream : public std::ostream {
 PUBLISHED:
 PUBLISHED:
   INLINE OSubStream();
   INLINE OSubStream();
   INLINE explicit OSubStream(OStreamWrapper *dest, std::streampos start, std::streampos end, bool append = false);
   INLINE explicit OSubStream(OStreamWrapper *dest, std::streampos start, std::streampos end, bool append = false);
@@ -71,7 +71,7 @@ private:
 /**
 /**
  * Combined ISubStream and OSubStream for bidirectional I/O.
  * Combined ISubStream and OSubStream for bidirectional I/O.
  */
  */
-class EXPCL_PANDAEXPRESS SubStream : public std::iostream {
+class EXPCL_PANDA_EXPRESS SubStream : public std::iostream {
 PUBLISHED:
 PUBLISHED:
   INLINE SubStream();
   INLINE SubStream();
   INLINE explicit SubStream(StreamWrapper *nested, std::streampos start, std::streampos end, bool append = false);
   INLINE explicit SubStream(StreamWrapper *nested, std::streampos start, std::streampos end, bool append = false);

+ 1 - 1
panda/src/express/subStreamBuf.h

@@ -20,7 +20,7 @@
 /**
 /**
  * The streambuf object that implements ISubStream.
  * The streambuf object that implements ISubStream.
  */
  */
-class EXPCL_PANDAEXPRESS SubStreamBuf : public std::streambuf {
+class EXPCL_PANDA_EXPRESS SubStreamBuf : public std::streambuf {
 public:
 public:
   SubStreamBuf();
   SubStreamBuf();
   virtual ~SubStreamBuf();
   virtual ~SubStreamBuf();

+ 1 - 1
panda/src/express/subfileInfo.h

@@ -23,7 +23,7 @@
  * disk.  Generally, the filename is understood as a physical file on disk,
  * disk.  Generally, the filename is understood as a physical file on disk,
  * and not to be looked up via the vfs.
  * and not to be looked up via the vfs.
  */
  */
-class EXPCL_PANDAEXPRESS SubfileInfo {
+class EXPCL_PANDA_EXPRESS SubfileInfo {
 PUBLISHED:
 PUBLISHED:
   INLINE SubfileInfo();
   INLINE SubfileInfo();
   INLINE explicit SubfileInfo(const FileReference *file, std::streampos start, std::streamsize size);
   INLINE explicit SubfileInfo(const FileReference *file, std::streampos start, std::streamsize size);

+ 1 - 1
panda/src/express/temporaryFile.h

@@ -23,7 +23,7 @@
  * the file in question when it is deleted.  It is not responsible for
  * the file in question when it is deleted.  It is not responsible for
  * creating, opening, or closing the file, however.
  * creating, opening, or closing the file, however.
  */
  */
-class EXPCL_PANDAEXPRESS TemporaryFile : public FileReference {
+class EXPCL_PANDA_EXPRESS TemporaryFile : public FileReference {
 PUBLISHED:
 PUBLISHED:
   INLINE explicit TemporaryFile(const Filename &filename);
   INLINE explicit TemporaryFile(const Filename &filename);
   virtual ~TemporaryFile();
   virtual ~TemporaryFile();

+ 1 - 1
panda/src/express/trueClock.h

@@ -30,7 +30,7 @@
  * zero, this value can only be meaningfully used to measure elapsed time, by
  * zero, this value can only be meaningfully used to measure elapsed time, by
  * sampling it at two different times and subtracting.
  * sampling it at two different times and subtracting.
  */
  */
-class EXPCL_PANDAEXPRESS TrueClock {
+class EXPCL_PANDA_EXPRESS TrueClock {
 PUBLISHED:
 PUBLISHED:
   // get_long_time() returns the most accurate timer we have over a long
   // get_long_time() returns the most accurate timer we have over a long
   // interval.  It may not be very precise for measuring short intervals, but
   // interval.  It may not be very precise for measuring short intervals, but

+ 1 - 1
panda/src/express/typedReferenceCount.h

@@ -28,7 +28,7 @@
  *
  *
  * See also TypedObject for detailed instructions.
  * See also TypedObject for detailed instructions.
  */
  */
-class EXPCL_PANDAEXPRESS TypedReferenceCount : public TypedObject, public ReferenceCount {
+class EXPCL_PANDA_EXPRESS TypedReferenceCount : public TypedObject, public ReferenceCount {
 public:
 public:
   INLINE TypedReferenceCount();
   INLINE TypedReferenceCount();
   INLINE TypedReferenceCount(const TypedReferenceCount &copy);
   INLINE TypedReferenceCount(const TypedReferenceCount &copy);

+ 1 - 1
panda/src/express/virtualFile.h

@@ -32,7 +32,7 @@ class VirtualFileSystem;
  * The abstract base class for a file or directory within the
  * The abstract base class for a file or directory within the
  * VirtualFileSystem.
  * VirtualFileSystem.
  */
  */
-class EXPCL_PANDAEXPRESS VirtualFile : public TypedReferenceCount {
+class EXPCL_PANDA_EXPRESS VirtualFile : public TypedReferenceCount {
 public:
 public:
   INLINE VirtualFile();
   INLINE VirtualFile();
 
 

+ 1 - 1
panda/src/express/virtualFileComposite.h

@@ -23,7 +23,7 @@
  * one directory on different mount points.  The resulting directory appears
  * one directory on different mount points.  The resulting directory appears
  * to be the union of all the individual simple directories.
  * to be the union of all the individual simple directories.
  */
  */
-class EXPCL_PANDAEXPRESS VirtualFileComposite : public VirtualFile {
+class EXPCL_PANDA_EXPRESS VirtualFileComposite : public VirtualFile {
 public:
 public:
   INLINE VirtualFileComposite(VirtualFileSystem *file_system,
   INLINE VirtualFileComposite(VirtualFileSystem *file_system,
                               const Filename &filename);
                               const Filename &filename);

+ 1 - 1
panda/src/express/virtualFileList.h

@@ -22,7 +22,7 @@
 /**
 /**
  * A list of VirtualFiles, as returned by VirtualFile::scan_directory().
  * A list of VirtualFiles, as returned by VirtualFile::scan_directory().
  */
  */
-class EXPCL_PANDAEXPRESS VirtualFileList : public ReferenceCount {
+class EXPCL_PANDA_EXPRESS VirtualFileList : public ReferenceCount {
 public:
 public:
   INLINE VirtualFileList();
   INLINE VirtualFileList();
 
 

+ 1 - 1
panda/src/express/virtualFileMount.h

@@ -28,7 +28,7 @@ class VirtualFileSystem;
  * VirtualFileSystem.  Normally users don't need to monkey with this class
  * VirtualFileSystem.  Normally users don't need to monkey with this class
  * directly.
  * directly.
  */
  */
-class EXPCL_PANDAEXPRESS VirtualFileMount : public TypedReferenceCount {
+class EXPCL_PANDA_EXPRESS VirtualFileMount : public TypedReferenceCount {
 PUBLISHED:
 PUBLISHED:
   INLINE VirtualFileMount();
   INLINE VirtualFileMount();
   virtual ~VirtualFileMount();
   virtual ~VirtualFileMount();

+ 1 - 1
panda/src/express/virtualFileMountAndroidAsset.h

@@ -27,7 +27,7 @@
 /**
 /**
  * Maps a Multifile's contents into the VirtualFileSystem.
  * Maps a Multifile's contents into the VirtualFileSystem.
  */
  */
-class EXPCL_PANDAEXPRESS VirtualFileMountAndroidAsset : public VirtualFileMount {
+class EXPCL_PANDA_EXPRESS VirtualFileMountAndroidAsset : public VirtualFileMount {
 PUBLISHED:
 PUBLISHED:
   INLINE VirtualFileMountAndroidAsset(AAssetManager *mgr, const std::string &apk_path);
   INLINE VirtualFileMountAndroidAsset(AAssetManager *mgr, const std::string &apk_path);
   virtual ~VirtualFileMountAndroidAsset();
   virtual ~VirtualFileMountAndroidAsset();

+ 1 - 1
panda/src/express/virtualFileMountMultifile.h

@@ -23,7 +23,7 @@
 /**
 /**
  * Maps a Multifile's contents into the VirtualFileSystem.
  * Maps a Multifile's contents into the VirtualFileSystem.
  */
  */
-class EXPCL_PANDAEXPRESS VirtualFileMountMultifile : public VirtualFileMount {
+class EXPCL_PANDA_EXPRESS VirtualFileMountMultifile : public VirtualFileMount {
 PUBLISHED:
 PUBLISHED:
   INLINE VirtualFileMountMultifile(Multifile *multifile);
   INLINE VirtualFileMountMultifile(Multifile *multifile);
   virtual ~VirtualFileMountMultifile();
   virtual ~VirtualFileMountMultifile();

+ 1 - 1
panda/src/express/virtualFileMountRamdisk.h

@@ -27,7 +27,7 @@
  * limits to the size of the files that may be written with this system; and
  * limits to the size of the files that may be written with this system; and
  * "files" written here are not automatically persistent between sessions.
  * "files" written here are not automatically persistent between sessions.
  */
  */
-class EXPCL_PANDAEXPRESS VirtualFileMountRamdisk : public VirtualFileMount {
+class EXPCL_PANDA_EXPRESS VirtualFileMountRamdisk : public VirtualFileMount {
 PUBLISHED:
 PUBLISHED:
   VirtualFileMountRamdisk();
   VirtualFileMountRamdisk();
 
 

+ 1 - 1
panda/src/express/virtualFileMountSystem.h

@@ -21,7 +21,7 @@
 /**
 /**
  * Maps an actual OS directory into the VirtualFileSystem.
  * Maps an actual OS directory into the VirtualFileSystem.
  */
  */
-class EXPCL_PANDAEXPRESS VirtualFileMountSystem : public VirtualFileMount {
+class EXPCL_PANDA_EXPRESS VirtualFileMountSystem : public VirtualFileMount {
 PUBLISHED:
 PUBLISHED:
   INLINE VirtualFileMountSystem(const Filename &physical_filename);
   INLINE VirtualFileMountSystem(const Filename &physical_filename);
 
 

+ 1 - 1
panda/src/express/virtualFileSimple.h

@@ -23,7 +23,7 @@
  * exactly one file on one mount point.  Most directories, and all regular
  * exactly one file on one mount point.  Most directories, and all regular
  * files, are of this kind.
  * files, are of this kind.
  */
  */
-class EXPCL_PANDAEXPRESS VirtualFileSimple : public VirtualFile {
+class EXPCL_PANDA_EXPRESS VirtualFileSimple : public VirtualFile {
 public:
 public:
   INLINE VirtualFileSimple(VirtualFileMount *mount,
   INLINE VirtualFileSimple(VirtualFileMount *mount,
                            const Filename &local_filename,
                            const Filename &local_filename,

+ 1 - 1
panda/src/express/virtualFileSystem.h

@@ -37,7 +37,7 @@ class VirtualFileComposite;
  * For instance, a VirtualFileSystem can transparently mount one or more
  * For instance, a VirtualFileSystem can transparently mount one or more
  * Multifiles as their own subdirectory hierarchies.
  * Multifiles as their own subdirectory hierarchies.
  */
  */
-class EXPCL_PANDAEXPRESS VirtualFileSystem {
+class EXPCL_PANDA_EXPRESS VirtualFileSystem {
 PUBLISHED:
 PUBLISHED:
   VirtualFileSystem();
   VirtualFileSystem();
   ~VirtualFileSystem();
   ~VirtualFileSystem();

+ 1 - 1
panda/src/express/weakPointerCallback.h

@@ -21,7 +21,7 @@
  * get an immediate callback from a WeakPointerTo object when its referenced
  * get an immediate callback from a WeakPointerTo object when its referenced
  * pointer is deleted.
  * pointer is deleted.
  */
  */
-class EXPCL_PANDAEXPRESS WeakPointerCallback {
+class EXPCL_PANDA_EXPRESS WeakPointerCallback {
 public:
 public:
   virtual ~WeakPointerCallback();
   virtual ~WeakPointerCallback();
   virtual void wp_callback(void *pointer)=0;
   virtual void wp_callback(void *pointer)=0;

+ 1 - 1
panda/src/express/weakPointerToVoid.h

@@ -23,7 +23,7 @@
  * This is the specialization of PointerToVoid for weak pointers.  It needs an
  * This is the specialization of PointerToVoid for weak pointers.  It needs an
  * additional flag to indicate that the pointer has been deleted.
  * additional flag to indicate that the pointer has been deleted.
  */
  */
-class EXPCL_PANDAEXPRESS WeakPointerToVoid : public PointerToVoid {
+class EXPCL_PANDA_EXPRESS WeakPointerToVoid : public PointerToVoid {
 protected:
 protected:
   INLINE WeakPointerToVoid();
   INLINE WeakPointerToVoid();
 
 

+ 1 - 1
panda/src/express/weakReferenceList.h

@@ -26,7 +26,7 @@ class WeakPointerCallback;
  * object is created, and can outlive the object until all weak references
  * object is created, and can outlive the object until all weak references
  * have disappeared.
  * have disappeared.
  */
  */
-class EXPCL_PANDAEXPRESS WeakReferenceList {
+class EXPCL_PANDA_EXPRESS WeakReferenceList {
 public:
 public:
   WeakReferenceList();
   WeakReferenceList();
   ~WeakReferenceList();
   ~WeakReferenceList();

+ 1 - 1
panda/src/express/windowsRegistry.h

@@ -25,7 +25,7 @@
  * encoding and stores them in Unicode (and conversely reconverts them on
  * encoding and stores them in Unicode (and conversely reconverts them on
  * retrieval).
  * retrieval).
  */
  */
-class EXPCL_PANDAEXPRESS WindowsRegistry
+class EXPCL_PANDA_EXPRESS WindowsRegistry
 {
 {
 PUBLISHED:
 PUBLISHED:
   enum RegLevel {
   enum RegLevel {

+ 2 - 2
panda/src/express/zStream.h

@@ -31,7 +31,7 @@
  *
  *
  * Seeking is not supported.
  * Seeking is not supported.
  */
  */
-class EXPCL_PANDAEXPRESS IDecompressStream : public std::istream {
+class EXPCL_PANDA_EXPRESS IDecompressStream : public std::istream {
 PUBLISHED:
 PUBLISHED:
   INLINE IDecompressStream();
   INLINE IDecompressStream();
   INLINE explicit IDecompressStream(std::istream *source, bool owns_source);
   INLINE explicit IDecompressStream(std::istream *source, bool owns_source);
@@ -57,7 +57,7 @@ private:
  *
  *
  * Seeking is not supported.
  * Seeking is not supported.
  */
  */
-class EXPCL_PANDAEXPRESS OCompressStream : public std::ostream {
+class EXPCL_PANDA_EXPRESS OCompressStream : public std::ostream {
 PUBLISHED:
 PUBLISHED:
   INLINE OCompressStream();
   INLINE OCompressStream();
   INLINE explicit OCompressStream(std::ostream *dest, bool owns_dest,
   INLINE explicit OCompressStream(std::ostream *dest, bool owns_dest,

+ 1 - 1
panda/src/express/zStreamBuf.h

@@ -24,7 +24,7 @@
 /**
 /**
  * The streambuf object that implements IDecompressStream and OCompressStream.
  * The streambuf object that implements IDecompressStream and OCompressStream.
  */
  */
-class EXPCL_PANDAEXPRESS ZStreamBuf : public std::streambuf {
+class EXPCL_PANDA_DOWNLOADER ZStreamBuf : public std::streambuf {
 public:
 public:
   ZStreamBuf();
   ZStreamBuf();
   virtual ~ZStreamBuf();
   virtual ~ZStreamBuf();

+ 22 - 8
panda/src/pandabase/pandasymbols.h

@@ -105,6 +105,12 @@
   #define BUILDING_PANDA_TFORM
   #define BUILDING_PANDA_TFORM
 #endif
 #endif
 
 
+/* BUILDING_PANDAEXPRESS for these: */
+#ifdef BUILDING_PANDAEXPRESS
+  #define BUILDING_PANDA_DOWNLOADER
+  #define BUILDING_PANDA_EXPRESS
+#endif
+
 #ifdef BUILDING_LIBPANDA
 #ifdef BUILDING_LIBPANDA
   #define EXPCL_LIBPANDA EXPORT_CLASS
   #define EXPCL_LIBPANDA EXPORT_CLASS
   #define EXPTP_LIBPANDA EXPORT_TEMPL
   #define EXPTP_LIBPANDA EXPORT_TEMPL
@@ -177,6 +183,14 @@
   #define EXPTP_PANDA_DISPLAY IMPORT_TEMPL
   #define EXPTP_PANDA_DISPLAY IMPORT_TEMPL
 #endif
 #endif
 
 
+#ifdef BUILDING_PANDA_DOWNLOADER
+  #define EXPCL_PANDA_DOWNLOADER EXPORT_CLASS
+  #define EXPTP_PANDA_DOWNLOADER EXPORT_TEMPL
+#else
+  #define EXPCL_PANDA_DOWNLOADER IMPORT_CLASS
+  #define EXPTP_PANDA_DOWNLOADER IMPORT_TEMPL
+#endif
+
 #ifdef BUILDING_PANDA_DXML
 #ifdef BUILDING_PANDA_DXML
   #define EXPCL_PANDA_DXML EXPORT_CLASS
   #define EXPCL_PANDA_DXML EXPORT_CLASS
   #define EXPTP_PANDA_DXML EXPORT_TEMPL
   #define EXPTP_PANDA_DXML EXPORT_TEMPL
@@ -193,6 +207,14 @@
   #define EXPTP_PANDA_EVENT IMPORT_TEMPL
   #define EXPTP_PANDA_EVENT IMPORT_TEMPL
 #endif
 #endif
 
 
+#ifdef BUILDING_PANDA_EXPRESS
+  #define EXPCL_PANDA_EXPRESS EXPORT_CLASS
+  #define EXPTP_PANDA_EXPRESS EXPORT_TEMPL
+#else
+  #define EXPCL_PANDA_EXPRESS IMPORT_CLASS
+  #define EXPTP_PANDA_EXPRESS IMPORT_TEMPL
+#endif
+
 #ifdef BUILDING_PANDA_GOBJ
 #ifdef BUILDING_PANDA_GOBJ
   #define EXPCL_PANDA_GOBJ EXPORT_CLASS
   #define EXPCL_PANDA_GOBJ EXPORT_CLASS
   #define EXPTP_PANDA_GOBJ EXPORT_TEMPL
   #define EXPTP_PANDA_GOBJ EXPORT_TEMPL
@@ -393,14 +415,6 @@
   #define EXPTP_PANDAEGG IMPORT_TEMPL
   #define EXPTP_PANDAEGG IMPORT_TEMPL
 #endif
 #endif
 
 
-#ifdef BUILDING_PANDAEXPRESS
-  #define EXPCL_PANDAEXPRESS EXPORT_CLASS
-  #define EXPTP_PANDAEXPRESS EXPORT_TEMPL
-#else
-  #define EXPCL_PANDAEXPRESS IMPORT_CLASS
-  #define EXPTP_PANDAEXPRESS IMPORT_TEMPL
-#endif
-
 #ifdef BUILDING_PANDAFX
 #ifdef BUILDING_PANDAFX
   #define EXPCL_PANDAFX EXPORT_CLASS
   #define EXPCL_PANDAFX EXPORT_CLASS
   #define EXPTP_PANDAFX EXPORT_TEMPL
   #define EXPTP_PANDAFX EXPORT_TEMPL