]> 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)
committerSquid Anubis <squid-anubis@squid-cache.org>
Thu, 11 Jun 2020 04:26:24 +0000 (04:26 +0000)
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 e4ec9ab7c39af4dd4bb27d4216ee8ff56146aa90..5409704c6afb3ea16f9d6dfdacc02a084dc08366 100644 (file)
@@ -3028,7 +3028,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 d394dd08266fa8ad910c004eccd5d7bffa843cda..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 function
+ * 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 e8710e8a3a9958ea8c8460d2087eebe911833b3d..bb8b8b3de0aabd004e4c491027a86ca832df3cb5 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 56c7b77181340a0948733e21abf296a8b64aada8..501cc4d99c66a80e7e882fc5ad070fe62e88bb2a 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 73d2baa05bbfb06c3615f36360dc31632755f6d3..a30498230dbbad048c23114af69534d69772f181 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 a547eab1e000b6a5f4ccb713f90fa9d021f8ed68..508657e2d0e9b8437701eb85d4d7a3cc1cfa4cda 100644 (file)
@@ -774,7 +774,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 e5a5f8e2e2af2ff6e1ee90c82864c67171e35b9d..93c2b6d2abb4e5ea87ab81395c8a8278b46e4157 100644 (file)
@@ -241,7 +241,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 efc53a0578ba774581c8fd1929dd418a8da469bf..5ff56ee99612c1eecea55030b1d01b525ff252bc 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 9b80cf14e6578a1855b86fd078ae2072a996247f..d4be63f096ab66cca260f7064e83f3b42388ed7b 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 fdaa930e6799eb43ec911053c00ec166580d1c27..33209db9033ffb4e0c2bd749e14355c234383490 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 30013bb684f0caf22b59a971577da9e8ec4a47a2..72dddb64aa32a6e5b8e7ef0843ed05612e46f5e8 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 a017ca41d87ceb621a4e7b42d4fbcc819ee87cb9..3f46130ea09bd3913deb98eabcaf349154a56b6f 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 b0211ed4219827ed8d43dd77cfa27857c3a54636..c77ee838f600cacfd95c4f981a54be1ba2d4875f 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 0aef387827dc0c8f3306355d7de4fb2f8adcc898..d21a984648ddab6511183331d30f0bc96b0fe266 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 18bde464eeabf5457d8e6d1e032992d03dc70efe..281a9bbcde08320f1530642f0466a7ae938a721a 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 4f4b51ef74084fc512190f592e924158d3da34bd..0c977b26abe06b01b4b1b429509b2784e85d43a6 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 0964a69139b42411e554c83e79d6456847f1ca16..f6c7469307e37ff8b21838aa457ac655e2bddc84 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 inaccurate 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 fdca3b7293b79df6f60f783b561fbe075b58db51..4aba041b13d25d514f5bbb95981105cb8ddc9ac2 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 3642e3b61013a5a0bbe2133e802ee91f73c75518..a3dae30b2ca343d51324352a8a503d8187ef8655 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 b1f4c84f1f26ede6a3bf8c3f2ababe0a8d84c57f..a510182d25aa764b210f54bc6930a3c2a9d03665 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 537a3fc4c4fadf23b63e40d815806b0d1038197d..35af3cecc16e63943ac786c3f73bcd1e4abbc86a 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 552d877fdfc4809955d1f6cf8c585dfe4eb87300..8029c634ac2b717efbdaa49b2cfd09dc8e847019 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 1fb152349924bb732da4b7e77c0b48df16e42a5b..eb47c8c220ec98662bd9a0d3656ff022c2fc2691 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 6c9edc0d988a096214fa6191da65652420120ff6..8c937f870bc7dea0c41d6f4d01fd87f3e41a78e4 100644 (file)
@@ -113,10 +113,10 @@ typedef enum {
     /*LFT_REQUEST_SIZE_BODY_NO_TE, */
 
     /* original Status-Line details received from server */
-    // XXX: todo
+    // 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 92683113dbc80b411b5730c5cc7196b4da72075f..0e786d483f188333233aef5387a64343293e67d0 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 c7bc8bb45f67b4b3235314bd465989d123a2cf30..d06010ad6987f44cd263141024ba541bffb28a4a 100644 (file)
@@ -240,7 +240,7 @@ Icmp6::Recv(void)
 
     debugs(42, 8, HERE << n << " bytes from " << preply.from);
 
-// FIXME INET6 : The IPv6 Header (ip6_hdr) is not available 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.
@@ -257,7 +257,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 <<
@@ -301,9 +301,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 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
+     * 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 bca7fcada970272c66c9aa9658c0bcdbd56108da..fc359b27c36ca4a734a52c81363700229a051407 100644 (file)
@@ -786,7 +786,7 @@ netdbExchangeHandleReply(void *data, StoreIOBuffer receivedData)
 
             case NETDB_EX_NETWORK:
                 ++o;
-                /* FIXME INET6 : NetDB can still only 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 28f4dcb373ddd67af69d4486f9f7468cf712eae0..43d5539708e37b2f81c6266f6b2216d11747e156 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 c7ce8e6d03b5fb590fee8ca2cd71a84446a577d3..6f7cd042b374801e5860b452dc15abebffee295d 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 c071d92c470209d541a7e8b7efa3284b9f603b25..2acbc8a2fdd30e58a813822b221a4c6e2586e21d 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 e040a7644b3db9693c0700e83f294e8851700dba..a0a3177168786903d90ef5b8d8eeb0df297d5359 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 b5ff40072c305c9dd88a30e5df1e9d06ccef0c04..aa82c4b5e802a43e9109466ea03764e73948b322 100644 (file)
@@ -93,7 +93,7 @@ protected:
     OfflineToggleAction(const CommandPointer &cmd);
 };
 
-/// Registers profiles for the actions above; \todo move elsewhere?
+/// Registers profiles for the actions above; TODO: move elsewhere?
 void RegisterBasics();
 
 } // namespace Mgr
index c3dc609798ddfcab2a754f363e9f33e26bf92072..474c23edf4d7a909a9324ee3edf10c9f4973219c 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 801eafe137dc9f591dc8e075e083c126b358f442..3af54f58166298513e7a0e804c9143dca09529f3 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 14b82a7b7c85636e8b2772f7cc9a15755e507554..95338ce3587277da3d8b0d0fdd6efc8e6dbaa780 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 ca803396a93d6b9c591642f21a1901f8d8bab040..7c032f323d41785b50f7ae2812543b5b46821664 100644 (file)
@@ -1919,7 +1919,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");
@@ -1946,8 +1946,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 458f6e46734236964ac9e4e055ab05e0e3aec534..bf1cfc6956092a37a9136399fdbb9b90a8065ddc 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 b37f745c12dae7999fd6a7962a3feb3e5efd80ef..2ad5cc187529ed2df98aeee5ef4267ce2ac10edd 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 96e437b83288eb655d519488ca63c441b1b29fc3..a843d8346b964e7ff712091b7985dc68aab9b4cd 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 3ca9730b60ed69b29cd25dea2f3390db1ae6c88c..45fe99e52c6b410bf89613af4926c402a8f4e1ff 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 );