]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Maintenance: Remove FIXME and \todo labels (#647)
authorAmos Jeffries <yadij@users.noreply.github.com>
Wed, 10 Jun 2020 21:19:26 +0000 (21:19 +0000)
committerAmos Jeffries <yadij@users.noreply.github.com>
Sat, 20 Jun 2020 09:54:59 +0000 (21:54 +1200)
Update old ad-hoc FIXME labels and experimental use of doxygen \todo
listings to use XXX or TODO labels for consistency sake.

Approximate current definitions (to be formalized elsewhere):
 * XXX - a problem, often a serious one
 * TODO - a problem, often a minor one
 * BUG - a problem that is worth informing admin about

Existing TODO, XXX, and BUG labels may not fit the above definitions.

Some old marks were edited or purged.

94 files changed:
compat/os/os2.h
configure.ac
doc/Programming-Guide/03_MajorComponents.dox
doc/Programming-Guide/Groups.dox
include/base64.h
lib/rfcnb/ReadMe.1st
squid.dox
src/AccessLogEntry.h
src/CommonPool.h
src/DelayPool.cc
src/DescriptorSet.cc
src/DescriptorSet.h
src/DiskIO/AIO/AIODiskFile.cc
src/HttpHdrContRange.h
src/HttpHdrRange.cc
src/HttpHdrSc.cc
src/HttpHdrSc.h
src/ICP.h
src/Makefile.am
src/ProfStats.cc
src/SquidConfig.h
src/StatCounters.h
src/StatHist.h
src/Store.h
src/StoreFileSystem.h
src/StoreMeta.h
src/acl/DestinationDomain.cc
src/acl/Ip.h
src/acl/SourceDomain.cc
src/acl/external/helpers.m4
src/adaptation/AccessCheck.cc
src/adaptation/Message.h
src/adaptation/ServiceGroups.cc
src/anyp/Uri.cc
src/auth/SchemeConfig.h
src/auth/basic/SMB_LM/msntauth.cc
src/auth/basic/helpers.m4
src/auth/digest/helpers.m4
src/auth/negotiate/helpers.m4
src/auth/ntlm/helpers.m4
src/base/AsyncCall.cc
src/base/AsyncCall.h
src/base/InstanceId.h
src/cbdata.cc
src/clientStream.cc
src/clientStream.h
src/client_side_reply.cc
src/client_side_request.cc
src/clients/FtpGateway.cc
src/clients/FtpRelay.cc
src/clients/forward.h
src/esi/Context.h
src/esi/Esi.cc
src/esi/Include.cc
src/esi/Sequence.cc
src/esi/VarState.cc
src/external_acl.cc
src/format/ByteCode.h
src/format/Token.h
src/fs/ufs/StoreSearchUFS.h
src/fs/ufs/UFSStoreState.h
src/http/Stream.cc
src/http/url_rewriters/helpers.m4
src/icmp/Icmp6.cc
src/icmp/IcmpSquid.cc
src/icmp/net_db.cc
src/ip/Address.cc
src/ip/Address.h
src/ipcache.cc
src/log/helpers.m4
src/mem/Pool.h
src/mgr/BasicActions.h
src/neighbors.cc
src/parser/Tokenizer.cc
src/pconn.h
src/redirect.cc
src/refresh.cc
src/security/cert_generators/helpers.m4
src/security/cert_validators/helpers.m4
src/snmp_agent.cc
src/stat.cc
src/stmem.cc
src/store.cc
src/store/Disk.h
src/store/Storage.h
src/store/id_rewriters/helpers.m4
src/store_swapout.cc
src/tests/testStatHist.cc
src/tests/testUfs.cc
src/tests/test_http_range.cc
src/wccp2.cc
tools/purge/conffile.cc
tools/purge/copyout.cc
tools/purge/purge.cc

index 987f62cc33c4d96817932fbea058833b8dae434d..c84ff6b1ab3e24f931ab8d2a405530d58ca3492c 100644 (file)
@@ -18,7 +18,7 @@
  ****************************************************************************/
 
 /*
-*  FIXME: the os2 port of bash seems to have problems checking
+*  XXX: the os2 port of bash seems to have problems checking
 *  the return codes of programs in if statements.  These options
 *  need to be overridden.
 */
index 0047eb6a0c6a179f624d806b40b3e9a986216af4..58ed735892f43322d89fcbe76d5aef9d3ac6e2ea 100644 (file)
@@ -3177,7 +3177,7 @@ else
       AC_MSG_NOTICE([skipping libmalloc check for $host])
       ;;
     *)
-      #used later. FIXME
+      # XXX: used later
       AC_CHECK_LIB(malloc, main)
       ;;
   esac
index 995c32b2c910bac4cb4c366a464fbf13d7628050..ec349e815656e9633c1b31ce17826a7b11d2c336 100644 (file)
@@ -22,7 +22,7 @@
        state information is stored in the clientSocketContext
        structure. With HTTP/1.1 we may have multiple requests from
        a single TCP connection.
-\todo DOCS: find out what has replaced clientSocketContext since it seems to not exist now.
+TODO: find out what has replaced clientSocketContext since it seems to not exist now.
 
 \section ClientSideRequest Client Side Request
 \par
@@ -31,7 +31,7 @@
        and setup the initial client stream for internal requests.
        Temporary state for this processing is held in a 
        clientRequestContext.
-\todo DOCS: find out what has replaced clientRequestContext since it seems not to exist now.
+TODO: find out what has replaced clientRequestContext since it seems not to exist now.
 
 \section ClientSideReply Client Side Reply     
 \par
        network sockets.  These routines do not support queuing
        multiple blocks of data for writing.  Consequently, a
        callback occurs for every write request.
-\todo DOCS: decide what to do for comm_poll() since its either obsolete or uses other names.
+TODO: decide what to do for comm_poll() since its either obsolete or uses other names.
 
 \section FileDiskIO File/Disk I/O
 \par
        The cache manager provides essentially "read-only" access
        to information.  It does not provide a method for configuring
        Squid while it is running.
-\todo DOCS: get cachemgr.cgi documenting
+TODO: get cachemgr.cgi documenting
 
 \section NetworkMeasurementDB Network Measurement Database
 \par
 \par
        The primary configuration file specification is in the file
        cf.data.pre.  A simple utility program, cf_gen,
-       reads the cf.data.pre file and generates cf_parser.c
-       and squid.conf.  cf_parser.c is included directly
-       into cache_cf.c at compile time.
-\todo DOCS: get cf.data.pre documenting
-\todo DOCS: get squid.conf documenting
-\todo DOCS: get cf_gen documenting and linking.
+       reads the cf.data.pre file and generates cf_parser.cci
+       and squid.conf.  cf_parser.cci is included directly
+       into cache_cf.cc at compile time.
+TODO: get cf.data.pre documenting
+TODO: get squid.conf documenting
+TODO: get cf_gen documenting and linking.
 
 \section Callback Data Allocator
 \par
        the callback function is executed.  The routines in cbdata.c
        provide a uniform method for managing callback data memory,
        canceling callbacks, and preventing erroneous memory accesses.
-\todo DOCS: get callback_data (object?) linking or replacement named.
+TODO: get callback_data (object?) linking or replacement named.
 
 \section RefCountDataAllocator Refcount Data Allocator
 \since Squid 3.0
        allows us to create automatic reference counting pointers, that will
        free objects when they are no longer needed. With some care these 
        objects can be passed to functions needed Callback Data pointers.
-\todo DOCS: get cbdata documenting and linking.
+TODO: get cbdata documenting and linking.
 
 \section Debugging Debugging
 \par
        level for that section, it will be shown.  This description
        probably sounds more complicated than it really is.
        File: debug.c.  Note that debugs() itself is a macro.
-\todo DOCS: get debugs() documenting as if it was a function.
+TODO: get debugs() documenting as if it was a function.
 
 \section ErrorGeneration Error Generation
 \par
        ICP queries from Netcache/Netapp caches; they use
        a different version number and a slightly different message
        format.
-\todo DOCS: get RFCs linked from ietf
+TODO: get RFCs linked from ietf
 
 \section IdentLookups Ident Lookups
 \par
index 088e4481b0e49d1017e228118bb5450b40248f2d..7ad4be718863265eea873eb19a7d59bf8e460e33 100644 (file)
 
 /**
  \defgroup Timeouts            Timeouts
\todo DOCS: document Timeouts.
* TODO: Write Documentation about Timeouts.
  */
 
 /**
  \defgroup ServerProtocolHTTP HTTP
  \ingroup ServerProtocol
- \todo Write Documentation about HTTP
+ * TODO: Write Documentation about HTTP.
  */
 
 /**
 /**
  \defgroup ServerProtocolWAIS WAIS
  \ingroup ServerProtocol
- \todo Write Documentation about Wais
+ * TODO: Write Documentation about Wais.
  */
 
 /**
  \defgroup ServerProtocolPassthru Passthru
  \ingroup ServerProtocol
- \todo Write Documentation about Passthru
+ * TODO: Write Documentation about Passthru.
  */
index a30b1c1eca1ab913930ed14edf6b50f4edb082dd..fa509ad6978d95a05b75540ce89da490959bc22d 100644 (file)
@@ -104,8 +104,8 @@ base64_encode_final(struct base64_encode_ctx *ctx,
 
 /* Encodes a string in one go, including any padding at the end.
  * Generates exactly BASE64_ENCODE_RAW_LENGTH(length) bytes of output.
- * Supports overlapped operation, if src <= dst. FIXME: Use of overlap
- * is deprecated, if needed there should be a separate public fucntion
+ * Supports overlapped operation, if src <= dst.
+ * TODO: Use of overlap is deprecated, if needed there should be a separate public function
  * to do that.*/
 void
 base64_encode_raw(char *dst, size_t length, const uint8_t *src);
index a1df6d01f195b92de7b94e70e1ca6fee56941ba5..964c90b172bfcdcbfe2fdb3a5cd377e4e87758c1 100644 (file)
@@ -54,7 +54,3 @@ test_rfcnb.c:         a small test program
 
 session.c:            all session routine code is here
 
-todo:                 a list of things I would like to do ...
-
-
-
index 355b8dda6654f3a9d3387b1752e95b3c9edd5150..81bc5f26ec6c8fd252956825a8b2355ae35abf5f 100644 (file)
--- a/squid.dox
+++ b/squid.dox
@@ -620,7 +620,7 @@ STRICT_PROTO_MATCHING  = NO
 # list. This list is created by putting \todo commands in the documentation.
 # The default value is: YES.
 
-GENERATE_TODOLIST      = YES
+GENERATE_TODOLIST      = NO
 
 # The GENERATE_TESTLIST tag can be used to enable (YES) or disable (NO) the test
 # list. This list is created by putting \test commands in the documentation.
@@ -848,6 +848,7 @@ EXCLUDE_SYMLINKS       = NO
 # exclude all test directories for example use the pattern */test/*
 
 EXCLUDE_PATTERNS       = */CVS/* \
+                         */.git* \
                          */lib/libTrie/* \
                          */libltdl/* \
                          */Programming-Guide/html/* \
index a9da7f34ce874cdd3099a78bf6a018ce2565c65a..28fe63c67a5417a41536fa68886aa7626fcc03f1 100644 (file)
@@ -79,8 +79,8 @@ public:
     // are stored in hier.tcpServer
 
     /** \brief This subclass holds log info for HTTP protocol
-     * \todo Inner class declarations should be moved outside
-     * \todo details of HTTP held in the parent class need moving into here.
+     * TODO: Inner class declarations should be moved outside
+     * TODO: details of HTTP held in the parent class need moving into here.
      */
     class HttpDetails
     {
@@ -104,7 +104,7 @@ public:
     } http;
 
     /** \brief This subclass holds log info for ICP protocol
-     * \todo Inner class declarations should be moved outside
+     * TODO: Inner class declarations should be moved outside
      */
     class IcpDetails
     {
@@ -113,7 +113,7 @@ public:
     } icp;
 
     /** \brief This subclass holds log info for HTCP protocol
-     * \todo Inner class declarations should be moved outside
+     * TODO: Inner class declarations should be moved outside
      */
     class HtcpDetails
     {
@@ -132,9 +132,9 @@ public:
 #endif
 
     /** \brief This subclass holds log info for Squid internal stats
-     * \todo Inner class declarations should be moved outside
-     * \todo some details relevant to particular protocols need shuffling to other sub-classes
-     * \todo this object field need renaming to 'squid' or something.
+     * TODO: Inner class declarations should be moved outside
+     * TODO: some details relevant to particular protocols need shuffling to other sub-classes
+     * TODO: this object field need renaming to 'squid' or something.
      */
     class CacheDetails
     {
@@ -161,7 +161,7 @@ public:
     } cache;
 
     /** \brief This subclass holds log info for various headers in raw format
-     * \todo shuffle this to the relevant protocol section.
+     * TODO: shuffle this to the relevant protocol section.
      */
     class Headers
     {
@@ -172,7 +172,7 @@ public:
 
 #if USE_ADAPTATION
     /** \brief This subclass holds general adaptation log info.
-     * \todo Inner class declarations should be moved outside.
+     * TODO: Inner class declarations should be moved outside.
      */
     class AdaptationDetails
     {
@@ -199,7 +199,7 @@ public:
 
 #if ICAP_CLIENT
     /** \brief This subclass holds log info for ICAP part of request
-     *  \todo Inner class declarations should be moved outside
+     *  TODO: Inner class declarations should be moved outside
      */
     class IcapLogEntry
     {
index cecc378f9146a241a73348607ae0a79505f4e88a..cb8b6a74afe2e65a9369804991cbda2f63a150d5 100644 (file)
@@ -18,7 +18,7 @@
 /*
  \ingroup DelayPoolsAPI
  *
\todo Next steps: make this a composite, and TypeLabel a composite method.
* TODO: Next steps: make this a composite, and TypeLabel a composite method.
  * Then we have a legacy composite which returns class 1/2/3, and new
  * composites which return a descriptor of some sort.
  */
index 7429d5e2cb646c94c55369abbbb0fa7015e855ce..87070c9263a637f38f60aea3331df82ec4d1072d 100644 (file)
@@ -75,7 +75,7 @@ DelayPool::freeData()
     pool = NULL;
 }
 
-/** \todo XXX create DelayIdComposite.cc */
+// TODO: create DelayIdComposite.cc
 void
 CompositePoolNode::delayRead(DeferredRead const &aRead)
 {
index 06d3fbf85fd2a40de3936d5fe302285396cc4575..f6c8a547a0971854064efe0954dfdb6609bac6b3 100644 (file)
@@ -37,12 +37,12 @@ DescriptorSet::~DescriptorSet()
 bool
 DescriptorSet::add(int fd)
 {
-    assert(0 <= fd && fd < capacity_); // \todo: replace with Must()
+    assert(0 <= fd && fd < capacity_); // TODO: replace with Must()
 
     if (has(fd))
         return false; // already have it
 
-    assert(size_ < capacity_); // \todo: replace with Must()
+    assert(size_ < capacity_); // TODO: replace with Must()
     const int pos = size_;
     ++size_;
     index_[fd] = pos;
@@ -54,7 +54,7 @@ DescriptorSet::add(int fd)
 bool
 DescriptorSet::del(int fd)
 {
-    assert(0 <= fd && fd < capacity_); // \todo: here and below, use Must()
+    assert(0 <= fd && fd < capacity_); // TODO: here and below, use Must()
 
     if (!has(fd))
         return false; // we do not have it
@@ -97,7 +97,7 @@ DescriptorSet::pop()
 void
 DescriptorSet::print(std::ostream &os) const
 {
-    // \todo add "name" if the set is used for more than just half-closed FDs
+    // TODO: add "name" if the set is used for more than just half-closed FDs
     os << size_ << " FDs";
 }
 
index 24d726c6de5639493528efa27a5072106896eb6a..f59ad172496309d0d71614a0f4522d2678585dea 100644 (file)
 
 #include <iosfwd>
 
-/** \ingroup Comm
-
-    \todo: Should we use std::set<int> with its flexibility? Our implementation
+/* TODO: Should we use std::set<int> with its flexibility? Our implementation
     has constant overhead, which is smaller than log(n) of std::set.
-
-an unordered collection of unique descriptors with O(1) add/del/has ops */
+*/
+/// An unordered collection of unique descriptors with O(1) add/del/has ops
 class DescriptorSet
 {
 public:
index 2cdc8a0938d3db239d9cdefd2b90d879827605d1..e27fc189e8a04b1ca72b261d831d345f15aeec5c 100644 (file)
@@ -95,7 +95,7 @@ AIODiskFile::read(ReadRequest *request)
 
     if (slot < 0) {
         /* No free slot? Callback error, and return */
-        fatal("Aiee! out of aiocb slots! - FIXME and wrap file_read\n");
+        fatal("Aiee! out of aiocb slots! - TODO fix and wrap file_read\n");
         debugs(79, DBG_IMPORTANT, "WARNING: out of aiocb slots!");
         /* fall back to blocking method */
         //        file_read(fd, request->buf, request->len, request->offset, callback, data);
@@ -133,7 +133,7 @@ AIODiskFile::read(ReadRequest *request)
     /* Initiate aio */
     if (aio_read(&qe->aq_e_aiocb) < 0) {
         int xerrno = errno;
-        fatalf("Aiee! aio_read() returned error (%d)  FIXME and wrap file_read !\n", xerrno);
+        fatalf("Aiee! aio_read() returned error (%d) TODO fix and wrap file_read !\n", xerrno);
         debugs(79, DBG_IMPORTANT, "WARNING: aio_read() returned error: " << xstrerr(xerrno));
         /* fall back to blocking method */
         //        file_read(fd, request->buf, request->len, request->offset, callback, data);
@@ -154,7 +154,7 @@ AIODiskFile::write(WriteRequest *request)
 
     if (slot < 0) {
         /* No free slot? Callback error, and return */
-        fatal("Aiee! out of aiocb slots FIXME and wrap file_write !\n");
+        fatal("Aiee! out of aiocb slots TODO fix and wrap file_write !\n");
         debugs(79, DBG_IMPORTANT, "WARNING: out of aiocb slots!");
         /* fall back to blocking method */
         //        file_write(fd, offset, buf, len, callback, data, freefunc);
@@ -192,7 +192,7 @@ AIODiskFile::write(WriteRequest *request)
     /* Initiate aio */
     if (aio_write(&qe->aq_e_aiocb) < 0) {
         int xerrno = errno;
-        fatalf("Aiee! aio_write() returned error (%d) FIXME and wrap file_write !\n", xerrno);
+        fatalf("Aiee! aio_write() returned error (%d) TODO fix and wrap file_write !\n", xerrno);
         debugs(79, DBG_IMPORTANT, "WARNING: aio_write() returned error: " << xstrerr(xerrno));
         /* fall back to blocking method */
         //       file_write(fd, offset, buf, len, callback, data, freefunc);
index c6844fd7a66bbeaa6361b428e7eb764201724472..434caa6f16fb7c30082b2cf9210d9b9c72f61038 100644 (file)
@@ -25,7 +25,7 @@ public:
     int64_t elength;        /**< entity length, not content length */
 };
 
-/** \todo CLEANUP: Move httpHdrContRange* functions into the class methods */
+// TODO: move httpHdrContRange* functions into the class methods
 
 HttpHdrContRange *httpHdrContRangeCreate(void);
 HttpHdrContRange *httpHdrContRangeParseCreate(const char *crange_spec);
index ca0acb79b8dcf4e7a7fdad7509524f065c6e8df0..96c61d130c04ca5f4ce47f26bbf0790345584ae3 100644 (file)
@@ -391,7 +391,7 @@ HttpHdrRange::canonize (int64_t newClen)
     merge (goods);
     debugs(64, 3, "HttpHdrRange::canonize: finished with " << specs.size() <<
            " specs");
-    return specs.size() > 0; // fixme, should return bool
+    return specs.size() > 0; // TODO: should return bool
 }
 
 /* hack: returns true if range specs are too "complex" for Squid to handle */
index 22be5b3d36db7ab60b25acbd8721cc47ec2ed7c7..92082ae8c28ed50da49dfb778c7b37b9afc22c6e 100644 (file)
@@ -25,7 +25,7 @@
 
 /* this table is used for parsing surrogate control header */
 /* order must match that of enum http_hdr_sc_type. The constraint is verified at initialization time */
-//todo: implement constraint
+// TODO: implement constraint
 static const LookupTable<http_hdr_sc_type>::Record ScAttrs[] {
     {"no-store", SC_NO_STORE},
     {"no-store-remote", SC_NO_STORE_REMOTE},
index 8f57d4487dc431e949da198b9ae316ea337d6172..d0be883e28a455dab75fe0f9694de8a3a34d014d 100644 (file)
@@ -40,7 +40,7 @@ public:
     bool parse(const String *str);
     void packInto(Packable * p) const;
     void updateStats(StatHist *) const;
-    HttpHdrScTarget * getMergedTarget (const char *ourtarget); //todo: make const?
+    HttpHdrScTarget * getMergedTarget(const char *ourtarget); // TODO: make const?
     void setMaxAge(char const *target, int max_age);
     void addTarget(HttpHdrScTarget *t);
     void addTargetAtTail(HttpHdrScTarget *t);
index e9c87c572d5519e2e8248fde5fca9dd418703d43..e4bfa7505be1cad0ab60c27116acfa8f8f1df894 100644 (file)
--- a/src/ICP.h
+++ b/src/ICP.h
@@ -57,10 +57,7 @@ public:
     static icp_common_t *CreateMessage(icp_opcode opcode, int flags, const char *url, int reqnum, int pad);
 };
 
-/**
- \ingroup ServerProtocolICPAPI
- \todo mempool this
- */
+// TODO: mempool this
 class ICPState: public StoreClient
 {
 
index bfc439b2276a049672195890793e510afa72fe55..80d0b5c1bfc8d61c87e04bdb81e268dd386c110b 100644 (file)
@@ -786,7 +786,7 @@ cf_gen_defines.cci: $(srcdir)/cf_gen_defines $(srcdir)/cf.data.pre $(top_builddi
        $(AWK) -f $(srcdir)/cf_gen_defines <$(srcdir)/cf.data.pre >$@ || ($(RM) -f $@ && exit 1)
 
 
-## FIXME: generate a sed command file from configure. Then this doesn't
+## TODO: generate a sed command file from configure. Then this doesn't
 ## depend on the Makefile.
 cf.data: cf.data.pre Makefile
        sed \
index 7ed97b69438e5634a026842b48ef4020afd76459..1cde82f1904e68b9c6ba669a83d77079b2302d2f 100644 (file)
@@ -250,10 +250,9 @@ xprofRegisterWithCacheManager(void)
     Mgr::RegisterAction("cpu_profile", "CPU Profiling Stats", xprof_summary, 0, 1);
 }
 
-// FIXME:
-// this gets colled once per event. This doesn't seem to make much sense,
-// does it?
 static hrtime_t now;
+
+// TODO: this gets called once per event. Make it only happen when enabling xprof.
 static void
 xprof_Init(void)
 {
index 9ea7d1d6c9cf30ff9a85128e574fecfc3e6e657e..93ce8f9ee38a91b60ccfc25c05ed164848e9646c 100644 (file)
@@ -239,7 +239,7 @@ public:
         Ip::Address snmp_incoming;
         Ip::Address snmp_outgoing;
 #endif
-        /* FIXME INET6 : this should really be a CIDR value */
+        // TODO: this should really be a CIDR value
         Ip::Address client_netmask;
     } Addrs;
     size_t tcpRcvBufsz;
index 01bf36dcc3d96d37eac185bfaf092ca69d5b07b8..5255d6f26d444efd455133eae7afe117212e9b62 100644 (file)
@@ -21,7 +21,7 @@ public:
     int falseHits = 0;
     int trueMisses = 0;
     int falseMisses = 0;
-    int closeHits = 0;     /// \todo: temporary remove it later
+    int closeHits = 0;     // TODO: temporary. remove it later
 };
 #endif
 
index 36e8590ee04a433f927753f880821b6c94728466..6185818a0cad2d50516ce49664d7e573111978b6 100644 (file)
@@ -29,9 +29,9 @@ public:
      * \note the default constructor doesn't fully initialize.
      *       you have to call one of the *init functions to specialize the
      *       histogram
-     * \todo merge functionality from the *init functions to the constructor and
+     * TODO: merge functionality from the *init functions to the constructor and
      *       drop these
-     * \todo specialize the class in a small hierarchy so that all
+     * TODO: specialize the class in a small hierarchy so that all
      *       relevant initializations are done at build-time
      */
     StatHist() = default;
index 4d7dbeff47776e4a59e241e0ef0e26cec27fe9da..abb389538f43d533deca1f0887540222c9713596 100644 (file)
@@ -116,7 +116,7 @@ public:
     /// for eventual removal from the Store.
     void releaseRequest(const bool shareable = false);
     void negativeCache();
-    bool cacheNegatively();     /** \todo argh, why both? */
+    bool cacheNegatively();     // TODO: why both negativeCache() and cacheNegatively() ?
     void invokeHandlers();
     void cacheInMemory(); ///< start or continue storing in memory cache
     void swapOut();
index efd6819bd2200c533e00a1a33530c7219aefcddb..156e66abfc4e2966656eddf9ca050622d5b4eb01 100644 (file)
@@ -42,8 +42,8 @@
  * configure.ac must be updated to autogenerate a Makefile in
  * \em src/fs/foo/ from a Makefile.in file.
  *
\todo DOCS: add template addition to configure.ac for storage module addition.
\todo DOCS: add template Makefile.am for storage module addition.
* TODO: DOCS: add template addition to configure.ac for storage module addition.
* TODO: DOCS: add template Makefile.am for storage module addition.
  *
  \par
  * configure will take a list of storage types through the
index 98c2cdfa7f161f57150a3fd9f89934fa134ef7b6..5c30c909e947a589536a31f9774f521862594482 100644 (file)
@@ -16,7 +16,7 @@ typedef class StoreMeta tlv;
 
 /**
  \ingroup SwapStoreAPI
\todo AYJ: for critical lists like this we should use A=64,B=65 etc to enforce and reserve values.
* XXX: for critical lists like this we should use A=64,B=65 etc to enforce and reserve values.
  \note NOTE!  We must preserve the order of this list!
  *
  \section StoreSwapMeta Store "swap meta" Description
@@ -87,7 +87,7 @@ enum {
      */
     STORE_META_HITMETERING,
 
-    /// \todo DOCS: document.
+    // TODO: document this TLV type code
     STORE_META_VALID,
 
     /**
@@ -101,10 +101,11 @@ enum {
      */
     STORE_META_STD_LFS,
 
+    // TODO: document this TLV type code
     STORE_META_OBJSIZE,
 
-    STORE_META_STOREURL,    /* the store url, if different to the normal URL */
-    STORE_META_VARY_ID,     /* Unique ID linking variants */
+    STORE_META_STOREURL,    /**< the Store-ID url, if different to the normal URL */
+    STORE_META_VARY_ID,     /**< Unique ID linking variants */
     STORE_META_END
 };
 
index b0720aeef1db918a9d89d07a6660fcc9c2cb1032..a6707e546031bc9beef7aebbf4d7866d7bda417a 100644 (file)
@@ -89,7 +89,7 @@ ACLDestinationDomainStrategy::match (ACLData<MatchType> * &data, ACLFilledCheckl
         checklist->dst_rdns = xstrdup(fqdn);
         return data->match(fqdn);
     } else if (!checklist->destinationDomainChecked()) {
-        /* FIXME: Using AclMatchedName here is not OO correct. Should find a way to the current acl */
+        // TODO: Using AclMatchedName here is not OO correct. Should find a way to the current acl
         debugs(28, 3, "Can't yet compare '" << AclMatchedName << "' ACL for " << checklist->request->url.host());
         if (checklist->goAsync(DestinationDomainLookup::Instance()))
             return -1;
index 1de83a264b11ca3823798ef8676f5469c95d0ffc..ce2637d92791742207785265dff2e8da1bd35151 100644 (file)
@@ -32,7 +32,7 @@ public:
 
     Ip::Address addr2;
 
-    Ip::Address mask; /**< \todo This should perhapse be stored as a CIDR range now instead of a full IP mask. */
+    Ip::Address mask; // TODO: should use a CIDR range
 
     acl_ip_data *next;      /**< used for parsing, not for storing */
 
index bcc326c3aa384d162a823d2e33239f8f57aeab08..e71e9ec8097f3acbc364a73a752588b99dae1ef4 100644 (file)
@@ -49,7 +49,7 @@ ACLSourceDomainStrategy::match (ACLData<MatchType> * &data, ACLFilledChecklist *
     if (fqdn) {
         return data->match(fqdn);
     } else if (!checklist->sourceDomainChecked()) {
-        /* FIXME: Using AclMatchedName here is not OO correct. Should find a way to the current acl */
+        // TODO: Using AclMatchedName here is not OO correct. Should find a way to the current acl
         debugs(28, 3, "aclMatchAcl: Can't yet compare '" << AclMatchedName << "' ACL for '" << checklist->src_addr << "'");
         if (checklist->goAsync(SourceDomainLookup::Instance()))
             return -1;
index b80b531bbe494325f102d4ce7149e45bf5f1968b..717b46b738739a7074cb321dafca84d10e859a00 100644 (file)
@@ -8,7 +8,7 @@
 # This file is supposed to run all the tests required to identify which
 # configured modules are able to be built in this environment
 
-# FIXME: de-duplicate $enable_external_acl_helpers list containing double entries.
+# TODO: de-duplicate $enable_external_acl_helpers list containing double entries.
 
 #define list of modules to build
 auto_ext_acl_modules=no
index d1ef8e63627e75ecf31e2f01204a696afc7e6d07..896f07560dee7e9f4a39628078cee61aec0c2e3a 100644 (file)
@@ -154,7 +154,7 @@ Adaptation::AccessCheck::AccessCheckCallbackWrapper(Acl::Answer answer, void *da
     debugs(93, 8, HERE << "callback answer=" << answer);
     AccessCheck *ac = (AccessCheck*)data;
 
-    /** \todo AYJ 2008-06-12: If answer == ACCESS_AUTH_REQUIRED
+    /* TODO: AYJ 2008-06-12: If answer == ACCESS_AUTH_REQUIRED
      * we should be kicking off an authentication before continuing
      * with this request. see bug 2400 for details.
      */
index b5ead81f391e8568b422ae40bb06ca9ff6c925e6..7240e926556e9c244cbe5a3f3e29f13667aaefa1 100644 (file)
@@ -42,7 +42,7 @@ public:
     Header *header;   // parsed HTTP status/request line and headers
 
     /// Copy of header->body_pipe, in case somebody moves the original.
-    /// \todo Find and fix the code that moves (if any) and remove this.
+    /// TODO: Find and fix the code that moves (if any) and remove this.
     BodyPipePointer body_pipe;
 
 private:
index 246bb58810957e7e701446cc8941fbf2a4a467d2..43fb9fa30fb5be7d70bde8b328f0c26db18ed66e 100644 (file)
@@ -129,7 +129,7 @@ Adaptation::ServicePointer Adaptation::ServiceGroup::at(const Pos pos) const
     return FindService(services[pos]);
 }
 
-/// \todo: optimize to cut search short instead of looking for the best svc
+// TODO: optimize to cut search short instead of looking for the best svc
 bool
 Adaptation::ServiceGroup::wants(const ServiceFilter &filter) const
 {
index a98ae8c4eefc663607199cc5999272cd3568ea1c..ee1cab4d1bd43b3dc7e31bf0621e45a2f73ae8b6 100644 (file)
@@ -624,7 +624,7 @@ AnyP::Uri::absolute() const
     return absolute_;
 }
 
-/** \todo AYJ: Performance: This is an *almost* duplicate of HttpRequest::effectiveRequestUri(). But elides the query-string.
+/* XXX: Performance: This is an *almost* duplicate of HttpRequest::effectiveRequestUri(). But elides the query-string.
  *        After copying it on in the first place! Would be less code to merge the two with a flag parameter.
  *        and never copy the query-string part in the first place
  */
index a3f6a4e1e5f5bfdb5a7681fe2586c47e2dfbe35a..e7c7c623c559b8c6955f2461071445a18914fd02 100644 (file)
@@ -82,7 +82,7 @@ public:
      * If a singleton, delete will not occur. if not a singleton (future),
      * delete will occur when no references are held.
      *
-     \todo we need a 'done for reconfigure' and a 'done permanently' concept.
+     * TODO: need a 'done for reconfigure' and a 'done permanently' concept.
      */
     virtual void done();
 
index c4ca603af5685e352543ffc90d056dc75417efe7..9327bc7fcc789f753dbad54fb378954930bf4d9d 100644 (file)
@@ -45,7 +45,7 @@
 #include <cstring>
 #include <iostream>
 #include <string>
-#include <vector> //todo: turn into multimap
+#include <vector>
 #include <syslog.h>
 
 #include "auth/basic/SMB_LM/msntauth.h"
index 931b2d814f3d455e09a267492174bf413804bd50..b1882f6ec140e0a6a9db88eb16a55d6013ac8db6 100644 (file)
@@ -8,7 +8,7 @@
 # This file is supposed to run all the tests required to identify which
 # configured modules are able to be built in this environment
 
-# FIXME: de-duplicate $enable_auth_basic list containing double entries.
+# TODO: de-duplicate $enable_auth_basic list containing double entries.
 
 #not specified. Inherit global
 if test "x$enable_auth_basic" = "x"; then
index a309ca6bc0b91330e88f301eba6cfe7da31e2bed..35dff6a59feffa6fd151ff96c17a831f55e2749b 100644 (file)
@@ -8,7 +8,7 @@
 # This file is supposed to run all the tests required to identify which
 # configured modules are able to be built in this environment
 
-# FIXME: de-duplicate $enable_auth_digest list containing double entries.
+# TODO: de-duplicate $enable_auth_digest list containing double entries.
 
 #not specified. Inherit global
 if test "x$enable_auth_digest" = "x"; then
index 7336c0186a4da52a8ee731d540d561b0f9b939e0..a2f9d129b3f9620f607b3c6ee532cb27b98a3640 100644 (file)
@@ -8,7 +8,7 @@
 # This file is supposed to run all the tests required to identify which
 # configured modules are able to be built in this environment
 
-# FIXME: de-duplicate $enable_auth_negotiate list containing double entries.
+# TODO: de-duplicate $enable_auth_negotiate list containing double entries.
 
 #not specified. Inherit global
 if test "x$enable_auth_negotiate" = "x"; then
index 12e05b9d1060b06783f9ddcf2a117a879e9a36b4..bb053e4dc34dc6c59bf338cdfafa18dff147c155 100644 (file)
@@ -8,7 +8,7 @@
 # This file is supposed to run all the tests required to identify which
 # configured modules are able to be built in this environment
 
-# FIXME: de-duplicate $enable_auth_ntlm list containing double entries.
+# TODO: de-duplicate $enable_auth_ntlm list containing double entries.
 
 #not specified. Inherit global
 if test "x$enable_auth_ntlm" = "x"; then
index b4969641566685de5283940d6830662683ae4a57..a40fc1e21a91b5b8af5832240e82fcbedd666cc4 100644 (file)
@@ -69,7 +69,7 @@ AsyncCall::canFire()
     return !isCanceled;
 }
 
-/// \todo make this method const by providing a const getDialer()
+// TODO: make this method const by providing a const getDialer()
 void
 AsyncCall::print(std::ostream &os)
 {
index 73f18e107adb031bcdcafae267c956e74de95920..bb2dbbe26b4cf3b4e345414d693157ff9cb3c694 100644 (file)
 class CallDialer;
 class AsyncCallQueue;
 
-/**
- \todo add unique call IDs
- \todo CBDATA_CLASS kids
- \ingroup AsyncCallsAPI
- */
 class AsyncCall: public RefCountable
 {
 public:
index 8059e6892f682f7f04613bf14f2501b56ed3f5f9..da2e036df02b013d8349e5c16006cfe38a2b0405 100644 (file)
@@ -40,7 +40,7 @@ typedef unsigned int InstanceIdDefaultValueType;
  *   - useful for debugging and insecure request/response matching;
  *   - sequential IDs within a class except when wrapping;
  *   - always positive IDs.
- *  \todo: add creation/destruction debugging?
+ * TODO: add creation/destruction debugging?
  */
 template <class Class, class ValueType = InstanceIdDefaultValueType>
 class InstanceId
index 0b984e833202b308d8c8ec8a72c42ad5359168ce..49156cd4ec0092e7b9610bbc42a26d646d8bfcaa 100644 (file)
@@ -71,7 +71,7 @@ public:
     MEMPROXY_CLASS(cbdata);
 #endif
 
-    /** \todo examine making cbdata templated on this - so we get type
+    /* TODO: examine making cbdata templated on this - so we get type
      * safe access to data - RBC 20030902 */
 public:
 #if USE_CBDATA_DEBUG
index 17ad74d6a65b36caaa1d0528fa311293c19ba141..14a3f23f47bb551f08a27bc4586f72758a1aa3f5 100644 (file)
@@ -78,7 +78,7 @@
    return;
  \endcode
  *
\todo rather than each node undeleting the next, have a clientStreamDelete that walks the list.
* TODO: rather than each node undeleting the next, have a clientStreamDelete that walks the list.
  */
 
 CBDATA_CLASS_INIT(clientStreamNode);
index 407722bce99409e89b0b886525889c4e7263e3be..18b2ec51c09e367a23d965f71d39b5976e52b48e 100644 (file)
@@ -49,7 +49,6 @@
  \li             satisfies the read request, or
  \li             inserts a new node above it and calls clientStreamRead(), or
  \li             calls clientStreamRead()
- \todo DOCS: make the above list nested.
  *
  \par
  *    There is no requirement for the Read parameters from different
@@ -58,7 +57,7 @@
  *
  \section WhatsInANode Whats in a node
  *
\todo ClientStreams: These details should really be codified as a class which all ClientStream nodes inherit from.
* TODO: ClientStreams: These details should really be codified as a class which all ClientStream nodes inherit from.
  *
  \par   Each node must have:
  \li    read method - to allow loose coupling in the pipeline. (The reader may
index 4bb9a5fc6b07665c921b1ee36c6363e48232c1f6..caa889b665b876432abda994b08fbe0ead5b5ad8 100644 (file)
@@ -1108,7 +1108,7 @@ clientReplyContext::purgeDoPurgeHead(StoreEntry *newEntry)
      * Make a new entry to hold the reply to be written
      * to the client.
      */
-    /* FIXME: This doesn't need to go through the store. Simply
+    /* TODO: This doesn't need to go through the store. Simply
      * push down the client chain
      */
     createStoreEntry(http->request->method, RequestFlags());
@@ -1549,7 +1549,7 @@ clientReplyContext::buildReplyHeader()
               reply->sline.status() == Http::scUnauthorized)
        ) {
         /* Add authentication header */
-        /*! \todo alter errorstate to be accel on|off aware. The 0 on the next line
+        /* TODO: alter errorstate to be accel on|off aware. The 0 on the next line
          * depends on authenticate behaviour: all schemes to date send no extra
          * data on 407/401 responses, and do not check the accel state on 401/407
          * responses
index 16b24e45205f352db63ae0f48d88be531204f77f..13878c517bbf4c1e460a9891f4cf8ec129f8ef10 100644 (file)
@@ -372,10 +372,7 @@ clientBeginRequest(const HttpRequestMethod& method, char const *url, CSCB * stre
     /* this is an internally created
      * request, not subject to acceleration
      * target overrides */
-    /*
-     * FIXME? Do we want to detect and handle internal requests of internal
-     * objects ?
-     */
+    // TODO: detect and handle internal requests of internal objects?
 
     /* Internally created requests cannot have bodies today */
     request->content_length = 0;
@@ -1298,7 +1295,7 @@ ClientRequestContext::clientRedirectDone(const Helper::Reply &reply)
     break;
     }
 
-    /* FIXME PIPELINE: This is innacurate during pipelining */
+    /* XXX PIPELINE: This is inaccurate during pipelining */
 
     if (http->getConn() != NULL && Comm::IsConnOpen(http->getConn()->clientConnection))
         fd_note(http->getConn()->clientConnection->fd, http->uri);
index c03501167277ab38faa86346fd07f438e48673a5..60c58e1310a9917b02b8026bd2868db9d867f03b 100644 (file)
@@ -1928,7 +1928,7 @@ Ftp::Gateway::ftpAcceptDataConnection(const CommAcceptCbParams &io)
         data.listenConn->close();
         data.listenConn = NULL;
         debugs(9, DBG_IMPORTANT, "FTP AcceptDataConnection: " << io.conn << ": " << xstrerr(io.xerrno));
-        /** \todo Need to send error message on control channel*/
+        // TODO: need to send error message on control channel
         ftpFail(this);
         return;
     }
@@ -2680,7 +2680,7 @@ Ftp::Gateway::writeReplyBody(const char *dataToWrite, size_t dataLength)
 /**
  * A hack to ensure we do not double-complete on the forward entry.
  *
\todo Ftp::Gateway logic should probably be rewritten to avoid
* TODO: Ftp::Gateway logic should probably be rewritten to avoid
  *  double-completion or FwdState should be rewritten to allow it.
  */
 void
index 8b81865741dcd67b79cbd8d3bd31e734421b34b3..a141da5680c2c9fe98e4b5c436d40d9b7cc13b0d 100644 (file)
@@ -261,7 +261,7 @@ Ftp::Relay::serverState(const Ftp::ServerState newState)
  * (but we may still be waiting for 226 from the FTP server) and
  * also when we get that 226 from the server (and adaptation is done).
  *
\todo Rewrite FwdState to ignore double completion?
* TODO: Rewrite FwdState to ignore double completion?
  */
 void
 Ftp::Relay::completeForwarding()
index 4efa44de3d6494369d492c9fee0da543fede0642..ca9faf53528b194866ac176b13b67a3cf6bf00f3 100644 (file)
@@ -41,7 +41,7 @@ AsyncJobPointer StartRelay(FwdState *const fwdState);
  *  We use standard URI-encoding on the second / making it
  *  ftp:host:port/%2froot/path  AKA 'the FTP %2f hack'.
  *
- * \todo Should be a URL class API call.
+ * TODO: Should be an AnyP::Uri member
  */
 const SBuf &UrlWith2f(HttpRequest *);
 
index 1b08cfb2b7b89425dca3186b7c91734c01c3943a..a0a86ea7c5ee8a2c92e24fa9b0000866ea594930 100644 (file)
@@ -128,8 +128,8 @@ public:
     private:
         bool inited_;
     }
+    parserState; // TODO: refactor this to somewhere else
 
-    parserState; /* todo factor this off somewhere else; */
     ESIVarState *varState;
     ESIElement::Pointer tree;
 
index b119bff6f5e74b368d742599ef8efc4a1252112c..0cde7021e7c78f4711c596970206f8c6ade5c2b1 100644 (file)
@@ -802,7 +802,7 @@ esiProcessStream (clientStreamNode *thisNode, ClientHttpRequest *http, HttpReply
     }
 
     /* ok.. no data sent, try to pull more data in from upstream.
-     * FIXME: Don't try thisNode if we have finished reading the template
+     * TODO: Don't try thisNode if we have finished reading the template
      */
     if (!context->flags.finishedtemplate && !context->reading()
             && !context->cachedASTInUse) {
@@ -1263,7 +1263,7 @@ ESIContext::parse()
             while (buffered.getRaw() && !flags.error)
                 parseOneBuffer();
 
-        } catch (Esi::ErrorDetail &errMsg) { // FIXME: non-const for c_str()
+        } catch (Esi::ErrorDetail &errMsg) { // XXX: non-const for c_str()
             // level-2: these are protocol/syntax errors from upstream
             debugs(86, 2, "WARNING: ESI syntax error: " << errMsg);
             setError();
index 084494673db168500d89ed4bf7bf4fd1a781c796..813a4b9a95e71aeaab35537a97d491f3d2418304 100644 (file)
@@ -335,7 +335,7 @@ ESIInclude::ESIInclude(esiTreeParentPtr aParent, int attrcount, char const **att
              */
             debugs(86, 5, "ESIIncludeNew: Requesting alternate '" << attr[i+1] << "'");
 
-            assert (alt.getRaw() == NULL); /* TODO: FIXME */
+            assert (alt.getRaw() == NULL); /* TODO: fix? */
             alt = ESIStreamContextNew (this);
             assert (alt.getRaw() != NULL);
             alturl = xstrdup(attr[i+1]);
index 82d394afb8bb9f1b361ba6dc33b3cec892fdec64..93c51c3cdfe5460b507c9e91853d3e995d5c23a1 100644 (file)
@@ -90,7 +90,7 @@ esiSequence::render(ESISegment::Pointer output)
     for (size_t i = 0; i < processedcount; ++i) {
         elements[i]->render(output);
         FinishAnElement(elements[i], i);
-        /* FIXME: pass a ESISegment ** ? */
+        // TODO: pass an "ESISegment **" ?
         output = output->tail();
     }
 
index 010319458dbc8b58eb2df9746eec699e0a1d8c21..15c201d1cbd2e090e52c91a869d4ed356967c0ea 100644 (file)
@@ -805,7 +805,7 @@ ESIVariableProcessor::~ESIVariableProcessor()
     delete currentFunction;
 }
 
-/* XXX FIXME: this should be comma delimited, no? */
+/* XXX: this should be comma delimited, no? */
 void
 ESIVarState::buildVary (HttpReply *rep)
 {
index e8a5fc8d4d026e64b639319ba1d5120abcc84aa3..2410e2b6ede9cfabaca4feb54b3b67dabf297e43 100644 (file)
@@ -69,8 +69,9 @@ static ExternalACLEntryPointer external_acl_cache_add(external_acl * def, const
 
 class external_acl
 {
-    /* FIXME: These are not really cbdata, but it is an easy way
+    /* XXX: These are not really cbdata, but it is an easy way
      * to get them pooled, refcounted, accounted and freed properly...
+     * Use RefCountable MEMPROXY_CLASS instead
      */
     CBDATA_CLASS(external_acl);
 
index 088ac0db3ea0e279b0a4eedb35203ed466339956..ab70ef87cfd1cadae2ea7fc4c33030a2af7ee7c7 100644 (file)
@@ -110,11 +110,11 @@ typedef enum {
     /*LFT_REQUEST_SIZE_BODY, */
     /*LFT_REQUEST_SIZE_BODY_NO_TE, */
 
-    /* original Status-Line details recieved from server */
-    // XXX: todo
+    /* original Status-Line details received from server */
+    // TODO: implement server detail logging
 
     /* Status-Line details sent to the client */
-    // XXX: todo
+    // TODO: implement server detail logging
 
     /* response Status-Line details (legacy, filtered) */
     LFT_HTTP_SENT_STATUS_CODE_OLD_30,
index 5fc5a4393b36df162eee2876cb9f93cc7918c6e7..77697b7a3d1229fdc7507798b129a30964ecc562 100644 (file)
@@ -68,7 +68,7 @@ public:
     bool space;
     bool zero;
     int divisor;    // class invariant: MUST NOT be zero.
-    Token *next;    /* todo: move from linked list to array */
+    Token *next;    // TODO: move from linked list to array
 
 private:
     const char *scanForToken(TokenTableEntry const table[], const char *cur);
index 91a821f0f9e4811329537d6e67f27a429872f588..5babdf65e845e338dad7ee8a81a4689f2ba4d58a 100644 (file)
@@ -25,7 +25,7 @@ public:
     StoreSearchUFS(RefCount<UFSSwapDir> sd);
     virtual ~StoreSearchUFS();
 
-    /** \todo Iterator API - garh, wrong place */
+    // TODO: misplaced Iterator API
     /**
      * callback the client when a new StoreEntry is available
      * or an error occurs
index aada027df8008e69239c35d0ee2b38529ce3d86e..eeae9b00e3abc7191df371a6d388cbfc19faa68e 100644 (file)
@@ -100,7 +100,7 @@ protected:
     };
     std::queue<Ufs::UFSStoreState::_queued_write> pending_writes;
 
-    /** \todo These should be in the IO strategy */
+    // TODO: These should be in the IO strategy
 
     struct {
         /**
index a2851d1e70b86d0d1e87df00d5ce3bd563496e64..3fc425a284b6c5d4bc7e9ef73e8c6fe9fe6d3eef 100644 (file)
@@ -173,7 +173,7 @@ Http::Stream::getNextRangeOffset() const
 
     } else if (reply && reply->contentRange()) {
         /* request does not have ranges, but reply does */
-        /** \todo FIXME: should use range_iter_pos on reply, as soon as reply->content_range
+        /* TODO: should use range_iter_pos on reply, as soon as reply->content_range
          *        becomes HttpHdrRange rather than HttpHdrRangeSpec.
          */
         return http->out.offset + reply->contentRange()->spec.offset;
index 13e868281282df1a47c431810cb6e54864839c15..a7cdbfb5f8210b956a81278b2cbbe683ce382908 100644 (file)
@@ -8,7 +8,7 @@
 # This file is supposed to run all the tests required to identify which
 # configured modules are able to be built in this environment
 
-# FIXME: de-duplicate $enable_url_rewrite_helpers list containing double entries.
+# TODO: de-duplicate $enable_url_rewrite_helpers list containing double entries.
 
 #define list of modules to build
 auto_urlrewrite_modules=no
index 4bbd47a8c3f8a46834844e421348b4529b5c9372..0a12a4880aac4f8e10419ff2a2967fe201aa2a25 100644 (file)
@@ -241,7 +241,7 @@ Icmp6::Recv(void)
 
     debugs(42, 8, HERE << n << " bytes from " << preply.from);
 
-// FIXME INET6 : The IPv6 Header (ip6_hdr) is not availble directly >:-(
+// XXX: The IPv6 Header (ip6_hdr) is not available directly
 //
 // TTL still has to come from the IP header somewhere.
 //  still need to strip and process it properly.
@@ -258,7 +258,7 @@ Icmp6::Recv(void)
     #define ip6_hops    // HOPS!!!  (can it be true??)
 
         ip = (struct ip6_hdr *) pkt;
-        FIXME  += sizeof(ip6_hdr);
+        //  += sizeof(ip6_hdr);
 
     debugs(42, DBG_CRITICAL, HERE << "ip6_nxt=" << ip->ip6_nxt <<
             ", ip6_plen=" << ip->ip6_plen <<
@@ -302,9 +302,9 @@ Icmp6::Recv(void)
     preply.rtt = tvSubMsec(tv, now);
 
     /*
-     * FIXME INET6: Without access to the IPv6-Hops header we must rely on the total RTT
-     *      and could caculate the hops from that, but it produces some weird value mappings using ipHops
-     *  for now everything is 1 v6 hop away with variant RTT
+     * Without access to the IPv6-Hops header we must rely on the total RTT
+     * and could calculate the hops from that, but it produces some weird value mappings using ipHops
+     * for now everything is 1 v6 hop away with variant RTT
      * WANT:    preply.hops = ip->ip6_hops; // ipHops(ip->ip_hops);
      */
     preply.hops = 1;
index 46425a87f84dad70077c87589698141c19f2ad9d..2e77d88f95e5aacf6818ce804f26906cb6ac0595 100644 (file)
@@ -71,10 +71,8 @@ IcmpSquid::SendEcho(Ip::Address &to, int opcode, const char *payload, int len)
     else if (payload && len == 0)
         len = strlen(payload);
 
-    /** \li
-     \bug If length specified or auto-detected is greater than the possible payload squid will die with an assert.
-     \todo This should perhapse be reduced to a truncated payload? or no payload. A WARNING is due anyway.
-     */
+    // XXX: If length specified or auto-detected is greater than the possible payload squid will die with an assert.
+    // TODO: This should perhapse be reduced to a truncated payload? or no payload. A WARNING is due anyway.
     assert(len <= PINGER_PAYLOAD_SZ);
 
     pecho.to = to;
@@ -97,7 +95,7 @@ IcmpSquid::SendEcho(Ip::Address &to, int opcode, const char *payload, int len)
         debugs(37, DBG_IMPORTANT, MYNAME << "send: " << xstrerr(xerrno));
 
         /** \li  If the send results in ECONNREFUSED or EPIPE errors from helper, will cleanly shutdown the module. */
-        /** \todo This should try restarting the helper a few times?? before giving up? */
+        // TODO: try restarting the helper a few times before giving up?
         if (xerrno == ECONNREFUSED || xerrno == EPIPE) {
             Close();
             return;
index 5e33427ab7fc3044e7987d381553e1b6746625cd..fc359b27c36ca4a734a52c81363700229a051407 100644 (file)
@@ -786,7 +786,7 @@ netdbExchangeHandleReply(void *data, StoreIOBuffer receivedData)
 
             case NETDB_EX_NETWORK:
                 ++o;
-                /* FIXME INET6 : NetDB can still ony send IPv4 */
+                // XXX: NetDB can still only send IPv4
                 memcpy(&line_addr, p + o, sizeof(struct in_addr));
                 addr = line_addr;
                 o += sizeof(struct in_addr);
@@ -1211,7 +1211,7 @@ netdbBinaryExchange(StoreEntry * s)
         if (! (addr = n->network) )
             continue;
 
-        /* FIXME INET6 : NetDB cannot yet handle IPv6 addresses. Ensure only IPv4 get sent. */
+        // XXX: NetDB cannot yet handle IPv6 addresses
         if ( !addr.isIPv4() )
             continue;
 
index 862a41109de55668c6505808ba91bef8a28750ef..87559a79ca4a8b75a75bae0ee086ea2ac7f7e159 100644 (file)
@@ -936,7 +936,7 @@ Ip::Address::getSockAddr(struct sockaddr_storage &addr, const int family) const
     struct sockaddr_in *sin = NULL;
 
     if ( family == AF_INET && !isIPv4()) {
-        // FIXME INET6: caller using the wrong socket type!
+        // TODO INET6: caller using the wrong socket type!
         debugs(14, DBG_CRITICAL, HERE << "Ip::Address::getSockAddr : Cannot convert non-IPv4 to IPv4. from " << *this);
         assert(false);
     }
index 87754f874424d8742225e289798150a7040046e0..90a353382f9734574479c9bee3af6574ea7d222f 100644 (file)
@@ -299,7 +299,7 @@ public:
     bool GetHostByName(const char *s);
 
 public:
-    /* FIXME: When C => C++ conversion is done will be fully private.
+    /* XXX: When C => C++ conversion is done will be fully private.
      * Legacy Transition Methods.
      * These are here solely to simplify the transition
      * when moving from converted code to unconverted
index 196347d00975c139df65668348c38ca7ae57da08..71b8c50d5c4d9acc1c28697824fe8f8b3acb8325 100644 (file)
  *  mechanisms that allow non-blocking access to these mappings.
  *  The IP cache usually doesn't block on a request except for
  *  special cases where this is desired (see below).
- *
- \todo IP Cache should have its own API *.h header file.
  */
 
 /**
  \defgroup IPCacheInternal IP Cache Internals
  \ingroup IPCacheAPI
- \todo  when IP cache is provided as a class. These sub-groups will be obsolete
+ \note  when IP cache is provided as a class. These sub-groups will be obsolete
  *  for now they are used to separate the public and private functions.
  *  with the private ones all being in IPCachInternal and public in IPCacheAPI
  *
index 78228dd84adc310e3251c2b941e0f4c5bcd60ed5..c2accfa1c411fe4aac50831d2a6c9bd597004ca0 100644 (file)
@@ -8,7 +8,7 @@
 # This file is supposed to run all the tests required to identify which
 # configured modules are able to be built in this environment
 
-# FIXME: de-duplicate $enable_log_daemon_helpers list containing double entries.
+# TODO: de-duplicate $enable_log_daemon_helpers list containing double entries.
 
 #define list of modules to build
 auto_logdaemon_modules=no
index eed602c73c9a208575a255633ee47ccd0265ffdf..6adfbd65f22797b3e261267c97d8768adcd77bec 100644 (file)
@@ -62,7 +62,7 @@ class MemImplementingAllocator;
 class MemPoolStats;
 
 /// \ingroup MemPoolsAPI
-/// \todo Kill this typedef for C++
+/// TODO: Kill this typedef for C++
 typedef struct _MemPoolGlobalStats MemPoolGlobalStats;
 
 /// \ingroup MemPoolsAPI
@@ -156,7 +156,7 @@ public:
      * Suitable frequency for cleanup is in range of few tens of seconds to
      * few minutes, depending of memory activity.
      *
-     \todo DOCS: Re-write this shorter!
+     * TODO: DOCS: Re-write this shorter!
      *
      \param maxage   Release all totally idle chunks that
      *               have not been referenced for maxage seconds.
@@ -299,7 +299,7 @@ public:
 };
 
 /// \ingroup MemPoolsAPI
-/// \todo Classify and add constructor/destructor to initialize properly.
+/// TODO: Classify and add constructor/destructor to initialize properly.
 struct _MemPoolGlobalStats {
     MemPoolMeter *TheMeter;
 
@@ -346,7 +346,6 @@ extern void memPoolIterateDone(MemPoolIterator ** iter);
 
 /**
  \ingroup MemPoolsAPI
- \todo Stats API - not sured how to refactor yet
  *
  * Fills a MemPoolGlobalStats with statistical data about overall
  * usage for all pools.
index a08e25e52fa435269ed8734534c4de2209064acf..aa82c4b5e802a43e9109466ea03764e73948b322 100644 (file)
@@ -93,7 +93,7 @@ protected:
     OfflineToggleAction(const CommandPointer &cmd);
 };
 
-/// Registeres profiles for the actions above; \todo move elsewhere?
+/// Registers profiles for the actions above; TODO: move elsewhere?
 void RegisterBasics();
 
 } // namespace Mgr
index 0457e647047a1012e96f01e9685288a219671766..c0d10cc17ec9288946a7bd1685a6dbf484dcdec4 100644 (file)
@@ -410,8 +410,9 @@ getWeightedRoundRobinParent(PeerSelector *ps)
  * period. The larger the number of requests between cycled resets the
  * more balanced the operations.
  *
- \param data    unused.
- \todo Make the reset timing a selectable parameter in squid.conf
+ * \param data    unused
+ *
+ * TODO: Make the reset timing a selectable parameter in squid.conf
  */
 static void
 peerClearRRLoop(void *data)
index 67373aab114e7352560dd62adea600cc96b110e5..09369f1611acdc97b12202761d7dcbb530b1670c 100644 (file)
@@ -232,7 +232,7 @@ Parser::Tokenizer::int64(int64_t & result, int base, bool allowSign, const SBuf:
 
     const SBuf range(buf_.substr(0,limit));
 
-    //fixme: account for buf_.size()
+    // XXX: account for buf_.size()
     bool neg = false;
     const char *s = range.rawContent();
     const char *end = range.rawContent() + range.length();
index 4db0862085e781fc932ef65f8a56bdb8a0362039..f577fe1748e766d60354be5d468f0cd085a61926 100644 (file)
@@ -18,8 +18,6 @@
 /**
  \defgroup PConnAPI Persistent Connection API
  \ingroup Component
- *
- \todo CLEANUP: Break multiple classes out of the generic pconn.h header
  */
 
 class PconnPool;
index 9b9a881f693766e0c0922c3fd369eafb6ab099b2..75430f8387936d097f6c25e14ea1e3ceea387503 100644 (file)
@@ -408,7 +408,7 @@ redirectInit(void)
 void
 redirectShutdown(void)
 {
-    /** FIXME: Temporary unified helpers Shutdown
+    /** TODO: Temporary unified helpers Shutdown
      * When and if needed for more helpers a separated shutdown
      * method will be added for each of them.
      */
index d1a3c12a01309766824a7d6e426ae437ed631f89..e73ed692ca00c2123570dfb35296910cb1bed23f 100644 (file)
@@ -282,7 +282,7 @@ refreshCheck(const StoreEntry * entry, HttpRequest * request, time_t delta)
     if (check_time > entry->timestamp)
         age = check_time - entry->timestamp;
 
-    // FIXME: what to do when age < 0 or counter overflow?
+    // XXX: what to do when age < 0 or counter overflow?
     assert(age >= 0);
 
     /* We need a refresh rule. In order of preference:
index 623517197f6e11b3ae7bb674200649965faabf07..6ed27d02249bf2d8fd54bfa8c45066b361e5763c 100644 (file)
@@ -8,7 +8,7 @@
 # This file is supposed to run all the tests required to identify which
 # configured modules are able to be built in this environment
 
-# FIXME: de-duplicate $enable_security_cert_generators list containing double entries.
+# TODO: de-duplicate $enable_security_cert_generators list containing double entries.
 
 #define list of modules to build
 auto_security_modules=no
index 06929ae1ff48cd97a9f29177d790277cad99e116..d1c1d1a5bb07dfed810b10aef502da33c5856b77 100644 (file)
@@ -8,7 +8,7 @@
 # This file is supposed to run all the tests required to identify which
 # configured modules are able to be built in this environment
 
-# FIXME: de-duplicate $enable_security_cert_validators list containing double entries.
+# TODO: de-duplicate $enable_security_cert_validators list containing double entries.
 
 #define list of modules to build
 auto_security_certv_modules=no
index d6ed3946206b92e4c9cb79ffcf771abcbd8b346b..46a9f810df88cf7d396aa922336ae30813b39407 100644 (file)
@@ -208,7 +208,7 @@ snmp_meshPtblFn(variable_list * Var, snint * ErrP)
     }
 
     switch (Var->name[LEN_SQ_MESH + 2]) {
-    case MESH_PTBL_INDEX: { // FIXME INET6: Should be visible?
+    case MESH_PTBL_INDEX: { // XXX: Should be visible?
         Answer = snmp_var_new_integer(Var->name, Var->name_length,
                                       (snint)p->index, SMI_INTEGER);
     }
index fa1114d069311135198b2049db3b712e1447c212..bdeb0358809916ea90ebf86d825bbff2717d86d3 100644 (file)
@@ -1885,7 +1885,7 @@ statGraphDump(StoreEntry * e)
     GENGRAPH(client_http.kbytes_in.kb, "client_http.kbytes_in", "Client HTTP kbytes_in/sec");
     GENGRAPH(client_http.kbytes_out.kb, "client_http.kbytes_out", "Client HTTP kbytes_out/sec");
 
-    /* XXX todo: http median service times */
+    // TODO: http median service times
 
     GENGRAPH(server.all.requests, "server.all.requests", "Server requests/sec");
     GENGRAPH(server.all.errors, "server.all.errors", "Server errors/sec");
@@ -1912,8 +1912,8 @@ statGraphDump(StoreEntry * e)
     GENGRAPH(icp.kbytes_sent.kb, "icp.kbytes_sent", "ICP kbytes_sent/sec");
     GENGRAPH(icp.kbytes_recv.kb, "icp.kbytes_recv", "ICP kbytes_received/sec");
 
-    /* XXX todo: icp median service times */
-    /* XXX todo: dns median service times */
+    // TODO: icp median service times
+    // TODO: dns median service times
 
     GENGRAPH(unlink.requests, "unlink.requests", "Cache File unlink requests/sec");
     GENGRAPH(page_faults, "page_faults", "System Page Faults/sec");
index 4a1e7500e8d02ccef54b4a106077450ea5883904..d40ac78ecedff29372d07199c3413c362957716c 100644 (file)
@@ -215,7 +215,7 @@ mem_hdr::debugDump() const
     debugs (19, 0, "mem_hdr::debugDump: Current available data is: " << result.str() << ".");
 }
 
-/* FIXME: how do we deal with sparse results -
+/* XXX: how do we deal with sparse results -
  * where we have (say)
  * 0-500 and 1000-1500, but are asked for
  * 0-2000
index 80a38b4c091ed90b0c4368524957c505ae6ce60e..8d87b0f5d859fad6f0786e5182701610e7eae731 100644 (file)
@@ -63,7 +63,7 @@
 
 #define STORE_IN_MEM_BUCKETS            (229)
 
-/** \todo Convert these string constants to enum string-arrays generated */
+// TODO: Convert these string constants to enum string-arrays generated
 
 const char *memStatusStr[] = {
     "NOT_IN_MEMORY",
index 17dcea4af65d526ab0534c9a2fa283886d59d1cf..0969a928065db175414f0ea0388183ecc06f703a 100644 (file)
@@ -38,7 +38,7 @@ public:
 
     /**
      * Notify this disk that it is full.
-     \todo XXX move into a protected api call between store files and their stores, rather than a top level api call
+     * XXX move into a protected api call between store files and their stores, rather than a top level api call
      */
     virtual void diskFull();
 
index 6c38f9bbb3659261bbf36bad23187214a2c13ec3..832b19c409848b56099b56bd66cce60c7b06012e 100644 (file)
@@ -55,7 +55,7 @@ public:
 
     /**
      * Output stats to the provided store entry.
-     \todo make these calls asynchronous
+     * TODO: make these calls asynchronous
      */
     virtual void stat(StoreEntry &e) const = 0;
 
index d4dd8b144884dacc03dda4ecf1ebe7672bcf7bf5..be9d117cf5f1d99b62e531249614a5c21ca66658 100644 (file)
@@ -8,7 +8,7 @@
 # This file is supposed to run all the tests required to identify which
 # configured modules are able to be built in this environment
 
-# FIXME: de-duplicate $enable_storeid_rewrite_helpers list containing double entries.
+# TODO: de-duplicate $enable_storeid_rewrite_helpers list containing double entries.
 
 #define list of modules to build
 auto_storeid_modules=no
index fbfe00260d7c36c3aa89982efffe330a72803902..d1ef5424e27bf6953ea09571fce502971b331f9a 100644 (file)
@@ -14,7 +14,7 @@
 #include "globals.h"
 #include "Store.h"
 #include "StoreClient.h"
-/* FIXME: Abstract the use of this more */
+// TODO: Abstract the use of this more
 #include "mem_node.h"
 #include "MemObject.h"
 #include "SquidConfig.h"
@@ -287,7 +287,7 @@ storeSwapOutFileClosed(void *data, int errflag, StoreIOState::Pointer self)
                e->swap_filen << ", errflag=" << errflag);
 
         if (errflag == DISK_NO_SPACE_LEFT) {
-            /* FIXME: this should be handle by the link from store IO to
+            /* TODO: this should be handle by the link from store IO to
              * Store, rather than being a top level API call.
              */
             e->disk().diskFull();
index 1e4e15eb6b833cf35f41d4ea9733df754dbc52e5..6fc72052e401fcc5a247403cfdb17d2b78e56eeb 100644 (file)
@@ -79,7 +79,7 @@ testStatHist::testStatHistLog()
     CPPUNIT_ASSERT(test.counter(max)==1);
     test=raw;
     test.count(max);
-    //CPPUNIT_ASSERT(test.val(capacity-1)==1); //FIXME: val() returns a density
+    //CPPUNIT_ASSERT(test.val(capacity-1)==1); // XXX: val() returns a density
 }
 
 void
index 0071151870136c6f75358d3bdeae7e396665b7bf..d5bad5d9d2cf0085286bfad2a14c0bb40ef33f67 100644 (file)
@@ -39,8 +39,6 @@ addSwapDir(MySwapDirPointer aStore)
     ++Config.cacheSwap.n_configured;
 }
 
-/* TODO make this a cbdata class */
-
 static bool cbcalled;
 
 static void
@@ -208,7 +206,7 @@ testUfs::testUfsSearch()
 
     free_cachedir(&Config.cacheSwap);
 
-    /* todo: here we should test a dirty rebuild */
+    // TODO: here we should test a dirty rebuild
 
     safe_free(Config.replPolicy->type);
     delete Config.replPolicy;
index b86cc91efab5789938ac309342915d63be05f703..3b3f8daa9ebe652bd325506ab51f9f8807e5bbdd 100644 (file)
@@ -6,14 +6,12 @@
  * Please see the COPYING and CONTRIBUTORS files for details.
  */
 
-/* DEBUG: section 64    HTTP Range Header */
-
 #include "squid.h"
 #include "fatal.h"
 #include "HttpHeader.h"
 #include "HttpHeaderRange.h"
 
-/** \todo CLEANUP: This file should be called something_stub.cc */
+// TODO: refactor as cppunit test
 
 void httpHeaderPutStr(HttpHeader * hdr, Http::HdrType type, const char *str)
 {
index aa5ae9c574186ec3b791157a56abc8acf4d58561..9d91a40fe6f2a0b6334d1c4a3fd08efa8fc6828e 100644 (file)
@@ -1155,7 +1155,7 @@ wccp2HandleUdp(int sock, void *)
 
     Comm::SetSelect(sock, COMM_SELECT_READ, wccp2HandleUdp, NULL, 0);
 
-    /* FIXME INET6 : drop conversion boundary */
+    // TODO: drop conversion boundary
     Ip::Address from_tmp;
     from_tmp.setIPv4();
 
@@ -1174,7 +1174,7 @@ wccp2HandleUdp(int sock, void *)
     if (ntohl(wccp2_i_see_you.type) != WCCP2_I_SEE_YOU)
         return;
 
-    /* FIXME INET6 : drop conversion boundary */
+    // XXX: drop conversion boundary
     from_tmp.getSockAddr(from);
 
     debugs(80, 3, "Incoming WCCPv2 I_SEE_YOU length " << ntohs(wccp2_i_see_you.length) << ".");
@@ -1964,7 +1964,7 @@ wccp2AssignBuckets(void *)
             if (ntohl(router_list_ptr->num_caches)) {
                 /* send packet */
 
-                /* FIXME INET6 : drop temp conversion */
+                // XXX: drop temp conversion
                 Ip::Address tmp_rtr(router);
 
                 if (wccp2_numrouters > 1) {
index 99e72844da06e8fcc0b437a30cc674ac78a9be20..93364e9fd5ff090a4ebb5ef7a0ea07dbae610169 100644 (file)
@@ -86,7 +86,7 @@ readConfigFile( CacheDirVector& cachedir, const char* fn, FILE* debug )
     char *s, line[1024];
     CacheDir cd;
     while ( cfgin.getline( line, sizeof(line)) ) {
-        // FIXME: overly long lines
+        // TODO: overly long lines
 
         // terminate line at start of comment
         if ( (s = (char*) memchr( line, '#', sizeof(line) )) ) *s = '\0';
index 2a07d29a9241981747a93bd07feb80a4252d7e1e..996d7ce9b1fb6db10a17e65e2d5aebdce09a24bc 100644 (file)
@@ -180,7 +180,7 @@ copy_out( size_t filesize, size_t metasize, unsigned debug,
     }
 
     // find double CRLF sequence (actually, look at the FSM below)
-    // FIXME: this only looks at the already known buffer read previously,
+    // XXX: this only looks at the already known buffer read previously,
     // which is globally passed (yuck)! As a limitation, the content data
     // *must* begin within the buffer size (that is: 16k)!
     if ( ! copyHdr ) {
index 6260fb234ea7a7ec7c3a1635268169d5239ad95d..30805d6ad7409d90c55ca4b25af233a40e6d4dfe 100644 (file)
@@ -463,7 +463,7 @@ match( const char* fn, const REList* list )
 
             // "meta" will be deleted when exiting from this block
         } else {
-            // weird file, FIXME: stat() it!
+            // weird file, TODO: stat() it!
             struct stat st;
             long size = ( fstat(fd,&st) == -1 ? -1 : st.st_size );
             if ( ::verbose ) flag = ( log_extended( fn, -1, size, 0 ) >= 0 );