[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Monotone-commits-diffs] Revision d28202c3a231883d6416fd1e2d7c491423ff3a
From: |
monotone |
Subject: |
[Monotone-commits-diffs] Revision d28202c3a231883d6416fd1e2d7c491423ff3a43 |
Date: |
Tue, 27 Feb 2007 23:05:13 +0100 |
-----------------------------------------------------------------
Revision: d28202c3a231883d6416fd1e2d7c491423ff3a43
Ancestor: c0869e62e9dbab0891130c4816734c95866ad6ca
Author: address@hidden
Date: 2007-02-26T05:01:38
Branch: net.venge.monotone.deregexp
Modified files:
constants.cc constants.hh netsync.cc packet.cc
ChangeLog:
* constants.hh: Give all scalar constants definitions here.
Adjust types of aggregate constants (see below). Include
<cstddef> and <ctime>, not <unistd.h> or vocab.hh. Remove
unnecessary "static"s from constant definitions; qualify size_t
and time_t with std::.
* constants.cc: Don't define any scalar constants here. Move the
static asserts to the end of the file. No need to include
numeric_vocab.hh.
(regex_legal_packet_bytes, regex_legal_id_bytes)
(regex_legal_cert_name_bytes, regex_legal_key_name_bytes): Delete.
(legal_packet_bytes): Rename legal_base64_bytes, make into a char array.
(legal_id_bytes, legal_ace_bytes, legal_cert_name_bytes)
(legal_key_name_bytes, netsync_key_initializer, encoding_attribute)
(manual_merge_attribute, binary_encoding, default_encoding):
Make into char arrays.
* netsync.cc (session::session): Explicitly construct
netsync_session_key's from netsync_key_initializer in two places.
* packet.cc (feed_packet_consumer): Remove unused variables.
Replace a hardwired 40 with constants::idlen. Adjust for renamed
legal_packet_bytes.
txteJPCHb7Oz0.txt
Description: Diff [c0869e62e9dbab0891130c4816734c95866ad6ca] -> [d28202c3a231883d6416fd1e2d7c491423ff3a43]
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Monotone-commits-diffs] Revision d28202c3a231883d6416fd1e2d7c491423ff3a43,
monotone <=