]> git.ipfire.org Git - thirdparty/squid.git/commit
SourceLayout: shuffle memory pool allocators to mem/libmem.la
authorAmos Jeffries <squid3@treenet.co.nz>
Mon, 1 Dec 2014 04:05:48 +0000 (20:05 -0800)
committerAmos Jeffries <squid3@treenet.co.nz>
Mon, 1 Dec 2014 04:05:48 +0000 (20:05 -0800)
commited6e9fb98fc07037d14cedcac6a279ea3e8c9ee8
tree8f97e82ad0bbe2c067ac1cfa478fb949a0d39cca
parent616ae5ee76975f3cabb0a3c7821cc56a9ba5ed7f
SourceLayout: shuffle memory pool allocators to mem/libmem.la

There are no logic changes in this patch.

* Some code is using the 'old' or internal pool allocation APIs
  directly. These have been marked with XXX for future logic
  changes to update.

* The memory pools API and MEMPROXY_CLASS() definition are now
  available through the mem/forward.h header file.

* Mem:: namespace has been added for library contents.

* MemAllocatorProxy class has been moved into Mem:: namespace
  and extracted from mem.cc but should only be used via the
  MEMPROXY_CLASS() macro.

* Extended the memory STUB file to define all mem/forward.h
  symbols and a few others needed currently by code using the
  older deprecated memory APIs.

Also, some time API functions exported by util.h instead of
SquidTime.h have been marked as needing work.
145 files changed:
configure.ac
lib/Makefile.am
src/CacheDigest.cc
src/DiskIO/DiskThreads/CommIO.h
src/DiskIO/DiskThreads/DiskThreadsIOStrategy.cc
src/DiskIO/DiskThreads/aiops.cc
src/DiskIO/DiskThreads/async_io.cc
src/EventLoop.cc
src/HttpHdrCc.cc
src/HttpHdrCc.h
src/HttpHdrContRange.cc
src/HttpHdrSc.cc
src/HttpHdrScTarget.h
src/HttpHeader.cc
src/HttpHeader.h
src/HttpHeaderRange.h
src/Makefile.am
src/MemBlob.cc
src/MemBlob.h
src/MemBuf.cc
src/Notes.h
src/SquidList.cc
src/StoreMetaMD5.h
src/StoreMetaObjSize.h
src/StoreMetaSTD.h
src/StoreMetaSTDLFS.h
src/StoreMetaURL.h
src/StoreMetaVary.h
src/StoreSwapLogData.h
src/String.cc
src/URL.h
src/acl/Acl.cc
src/acl/Acl.h
src/acl/DomainData.cc
src/acl/Gadgets.cc
src/acl/HierCodeData.cc
src/acl/HttpHeaderData.h
src/acl/IntRange.cc
src/acl/NoteData.h
src/acl/RegexData.cc
src/acl/RegexData.h
src/acl/Strategised.h
src/acl/UserData.cc
src/adaptation/icap/Xaction.cc
src/auth/Acl.cc
src/auth/Gadgets.h
src/auth/UserRequest.cc
src/auth/basic/Config.cc
src/auth/basic/UserRequest.h
src/auth/digest/Config.cc
src/auth/digest/UserRequest.h
src/auth/negotiate/UserRequest.cc
src/auth/negotiate/UserRequest.h
src/auth/ntlm/UserRequest.cc
src/auth/ntlm/UserRequest.h
src/cache_cf.cc
src/cbdata.cc
src/client_db.cc
src/client_side.cc
src/clients/FtpClient.cc
src/clients/FtpGateway.cc
src/comm/Connection.h
src/disk.cc
src/dlink.cc
src/dns_internal.cc
src/esi/Esi.cc
src/esi/Sequence.h
src/esi/VarState.cc
src/event.h
src/fd.cc
src/fqdncache.cc
src/fs/rock/RockIoState.cc
src/gopher.cc
src/helper.cc
src/htcp.cc
src/http.cc
src/icmp/net_db.cc
src/icp_v2.cc
src/internal.cc
src/ipc/Port.cc
src/ipcache.cc
src/log/File.cc
src/log/ModDaemon.cc
src/log/ModStdio.cc
src/log/ModUdp.cc
src/log/TcpLogger.cc
src/main.cc
src/mem/AllocatorProxy.cc [new file with mode: 0644]
src/mem/AllocatorProxy.h [new file with mode: 0644]
src/mem/Makefile.am [new file with mode: 0644]
src/mem/Pool.cc [moved from lib/MemPool.cc with 88% similarity]
src/mem/Pool.h [moved from include/MemPool.h with 84% similarity]
src/mem/PoolChunked.cc [moved from lib/MemPoolChunked.cc with 98% similarity]
src/mem/PoolChunked.h [moved from include/MemPoolChunked.h with 87% similarity]
src/mem/PoolMalloc.cc [moved from lib/MemPoolMalloc.cc with 94% similarity]
src/mem/PoolMalloc.h [moved from include/MemPoolMalloc.h with 98% similarity]
src/mem/forward.h [moved from src/Mem.h with 71% similarity]
src/mem/old_api.cc [moved from src/mem.cc with 99% similarity]
src/mem_node.cc
src/mem_node.h
src/mime.cc
src/parser/Makefile.am
src/peer_digest.cc
src/peer_select.cc
src/refresh.cc
src/repl/lru/store_repl_lru.cc
src/snmp_agent.cc
src/snmp_core.cc
src/ssl/ErrorDetail.cc
src/ssl/bio.cc
src/ssl/cert_validate_message.cc
src/ssl/support.cc
src/stat.cc
src/store.cc
src/store_digest.cc
src/store_dir.cc
src/store_key_md5.cc
src/store_rebuild.cc
src/tests/CapturingStoreEntry.h
src/tests/Stub.list
src/tests/stub_libmem.cc [new file with mode: 0644]
src/tests/stub_mem.cc [deleted file]
src/tests/testAuth.cc
src/tests/testCacheManager.cc
src/tests/testConfigParser.cc
src/tests/testDiskIO.cc
src/tests/testEvent.cc
src/tests/testEventLoop.cc
src/tests/testHttp1Parser.cc
src/tests/testHttpReply.cc
src/tests/testHttpRequest.cc
src/tests/testHttpRequestMethod.cc
src/tests/testRock.cc
src/tests/testSBuf.cc
src/tests/testStoreController.cc
src/tests/testStoreEntryStream.cc
src/tests/testStoreHashIndex.cc
src/tests/testString.cc
src/tests/testURL.cc
src/tests/testUfs.cc
src/tests/testUriScheme.cc
src/tests/test_http_range.cc
src/wccp.cc
src/wordlist.h
test-suite/Makefile.am