[tor-commits] [translation/torcheck] Update translations for torcheck

2015-01-25 Thread translation
commit 0752323100e95c728056cacc8268cee9e9be81bb Author: Translation commit bot translat...@torproject.org Date: Sun Jan 25 08:15:08 2015 + Update translations for torcheck --- es/torcheck.po |9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/es/torcheck.po

[tor-commits] [translation/torcheck_completed] Update translations for torcheck_completed

2015-01-25 Thread translation
commit 792e5be76d6e8bcc1451f476ed7af52c63240869 Author: Translation commit bot translat...@torproject.org Date: Sun Jan 25 08:15:13 2015 + Update translations for torcheck_completed --- es/torcheck.po |9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git

[tor-commits] [tor-messenger-build/master] Update the version number

2015-01-25 Thread sukhbir
commit 1c1b9c8fc478b5a42ab4b03e300d31ff778010f4 Author: Sukhbir Singh sukh...@torproject.org Date: Sun Jan 25 16:37:33 2015 +0530 Update the version number --- projects/tor-messenger/build |2 +- projects/tor-messenger/config |2 +- 2 files changed, 2 insertions(+), 2 deletions(-)

[tor-commits] [translation/whisperback] Update translations for whisperback

2015-01-25 Thread translation
commit 773c2c4f7b116c098be33396d25a172fe87d7cb8 Author: Translation commit bot translat...@torproject.org Date: Sun Jan 25 15:45:09 2015 + Update translations for whisperback --- de/de.po | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/de/de.po

[tor-commits] [translation/whisperback_completed] Update translations for whisperback_completed

2015-01-25 Thread translation
commit 3ca97446c64f356cd5f529df59bd60268b66e66f Author: Translation commit bot translat...@torproject.org Date: Sun Jan 25 15:45:14 2015 + Update translations for whisperback_completed --- de/de.po | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git

[tor-commits] [translation/whisperback] Update translations for whisperback

2015-01-25 Thread translation
commit b27c1f73ba45aef9c7e3b6c61fe0002508146b43 Author: Translation commit bot translat...@torproject.org Date: Sun Jan 25 14:45:10 2015 + Update translations for whisperback --- de/de.po | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/de/de.po

[tor-commits] [translation/whisperback_completed] Update translations for whisperback_completed

2015-01-25 Thread translation
commit c9517bf29822237e0ff156d601ab6a0ad5a8e0db Author: Translation commit bot translat...@torproject.org Date: Sun Jan 25 14:45:15 2015 + Update translations for whisperback_completed --- de/de.po | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git

[tor-commits] [stem/master] Flatten parse function mappings

2015-01-25 Thread atagar
commit b8af52b411713fd49e50cdcb9ef34851a350bf86 Author: Damian Johnson ata...@torproject.org Date: Tue Jan 6 09:08:32 2015 -0800 Flatten parse function mappings No reason to have these in a for loop. Actually, if we make all functions uniform we'll be able to get rid of all the

[tor-commits] [stem/master] Merging DocumentFooter into NetworkStatusDocumentV3

2015-01-25 Thread atagar
commit ecb6bbda8008e03b54b6127b14b132c9b14f58c1 Author: Damian Johnson ata...@torproject.org Date: Mon Jan 19 09:42:18 2015 -0800 Merging DocumentFooter into NetworkStatusDocumentV3 For lazy loading to work we need this class to behave more like other descriptor types. Starting

[tor-commits] [stem/master] ExtraInfo lazy loading

2015-01-25 Thread atagar
commit 8bbc48950095f35d9a8dbc64f9b27aa66a79875e Author: Damian Johnson ata...@torproject.org Date: Sat Jan 17 15:01:30 2015 -0800 ExtraInfo lazy loading Implement lazy loading for extrainfo descriptors. This highlighted a bug in that we need a shallow copy of our default

[tor-commits] [stem/master] Lazy load microdescriptor digest

2015-01-25 Thread atagar
commit b93ea3928b9e4f032f5f8d5c7400bc3932f39b8d Author: Damian Johnson ata...@torproject.org Date: Sun Jan 25 11:17:47 2015 -0800 Lazy load microdescriptor digest Not truly a line attribute, but we can treat it in a similar fashion. --- stem/descriptor/microdescriptor.py |6

[tor-commits] [stem/master] Do unicode conversion in _get_descriptor_components()

2015-01-25 Thread atagar
commit e2a55771cfc85882b0e00a071c3a8dd6ea126fd3 Author: Damian Johnson ata...@torproject.org Date: Sun Jan 25 11:15:44 2015 -0800 Do unicode conversion in _get_descriptor_components() Every descriptor type does the bytes = unicode conversion for it. Might as well just do this

[tor-commits] [stem/master] Stylistic revisions

2015-01-25 Thread atagar
commit 6484250c4000673074a261da95e1db3ed9d69db8 Author: Damian Johnson ata...@torproject.org Date: Sun Jan 25 13:23:14 2015 -0800 Stylistic revisions Just some quick non-impactful stylistic revisions. --- stem/descriptor/networkstatus.py | 117

[tor-commits] [stem/master] Move extrainfo descriptor parsing to helpers

2015-01-25 Thread atagar
commit b717bef5bb2a0d8a37fb154df28501af574c04df Author: Damian Johnson ata...@torproject.org Date: Wed Jan 14 10:40:27 2015 -0800 Move extrainfo descriptor parsing to helpers Intermediate point so we can do the same pattern of lazy loading I did for server descriptors. ---

[tor-commits] [stem/master] Lazy loading server descriptor's contact and platform line

2015-01-25 Thread atagar
commit a30d624aea54ff60cc6dda850dda4356d68617d4 Author: Damian Johnson ata...@torproject.org Date: Sun Jan 25 10:57:39 2015 -0800 Lazy loading server descriptor's contact and platform line These lines are special in that they're raw bytes rather than unicode (that is to say,

[tor-commits] [stem/master] Microdescriptor lazy loading

2015-01-25 Thread atagar
commit f19d87ab0f16928be370114c993f512b3d2dfac5 Author: Damian Johnson ata...@torproject.org Date: Sat Jan 17 17:36:54 2015 -0800 Microdescriptor lazy loading Simplest descriptor type so pretty simple switch. --- stem/descriptor/__init__.py |4 +-

[tor-commits] [stem/master] Move trivial parsers to lambdas

2015-01-25 Thread atagar
commit d2093ec0d8ac1fce5550f22dc87afcb33adb2bb5 Author: Damian Johnson ata...@torproject.org Date: Sun Jan 11 14:22:00 2015 -0800 Move trivial parsers to lambdas This lets us have parsing functions for all attributes, which simplies it a bit. ---

[tor-commits] [stem/master] Move extrainfo line parsers to PARSER_FOR_LINE

2015-01-25 Thread atagar
commit c895a57197f94d492f04472a2037e6cf1e05eca1 Author: Damian Johnson ata...@torproject.org Date: Sat Jan 17 11:33:16 2015 -0800 Move extrainfo line parsers to PARSER_FOR_LINE Like server descriptors, using a dict of line keywords to their associated parser. ---

[tor-commits] [stem/master] NetworkStatusDocumentV2 lazy loading

2015-01-25 Thread atagar
commit 0f1b71125ab2709a041c02e0b700d47c4d69b6d7 Author: Damian Johnson ata...@torproject.org Date: Sun Jan 18 11:04:00 2015 -0800 NetworkStatusDocumentV2 lazy loading --- stem/descriptor/__init__.py | 14 ++- stem/descriptor/microdescriptor.py |3 +-

[tor-commits] [stem/master] Mapping for attributes to default and parser

2015-01-25 Thread atagar
commit ede02fffe4a6c459a8aa2d7472779f1450675cc9 Author: Damian Johnson ata...@torproject.org Date: Sun Jan 11 14:07:52 2015 -0800 Mapping for attributes to default and parser Global mapping that lets us deduplicate defaults and the parser function. ---

[tor-commits] [stem/master] Don't modify list of descriptor lines

2015-01-25 Thread atagar
commit e607f9127657b47439a72661e8814e1cb9a80361 Author: Damian Johnson ata...@torproject.org Date: Sun Jan 25 12:53:21 2015 -0800 Don't modify list of descriptor lines In theory popping from the head of our unread lines is inefficient since we create a new list with every line

[tor-commits] [stem/master] Moving DocumentHeader parsing to helpers

2015-01-25 Thread atagar
commit a1575e9ff1aa053fa19fde4d715ecd1f5a3ace0a Author: Damian Johnson ata...@torproject.org Date: Sun Jan 18 13:00:12 2015 -0800 Moving DocumentHeader parsing to helpers The v3 network status document is gonna be a bit trickier since it delegates parsing to sub-objects.

[tor-commits] [stem/master] Tor descriptor lazy loading

2015-01-25 Thread atagar
commit 3dac7c51300062d78298b370b1286965652600e4 Merge: 92dd464 6484250 Author: Damian Johnson ata...@torproject.org Date: Sun Jan 25 13:57:03 2015 -0800 Tor descriptor lazy loading I've been wanting to do this for years. When reading a descriptor we parsed every field in

[tor-commits] [stem/master] Move lazyloading functionality into the Descriptor class

2015-01-25 Thread atagar
commit c904cf924980f5436208da2a1a0266d44302eab6 Author: Damian Johnson ata...@torproject.org Date: Sat Jan 17 12:03:57 2015 -0800 Move lazyloading functionality into the Descriptor class Shifting lazyloading methods to the Descriptor parsent class so all subclasses will be

[tor-commits] [stem/master] Standardizing input argument for parsing helpers

2015-01-25 Thread atagar
commit b06ccd70e6fae2362fe36c2e61417b1e45556370 Author: Damian Johnson ata...@torproject.org Date: Sun Jan 11 13:27:52 2015 -0800 Standardizing input argument for parsing helpers Providing all entries to the parse helpers. This way all the parsing helpers can take identical

[tor-commits] [stem/master] Class constants for attributes and line parsers

2015-01-25 Thread atagar
commit 1f76d13dfee5599acceee536f4e63049178d6bb4 Author: Damian Johnson ata...@torproject.org Date: Mon Jan 12 08:25:15 2015 -0800 Class constants for attributes and line parsers Much better. This was where I was originally wanting to go with this. Hopefully this will allow us

[tor-commits] [stem/master] Lazy parsing for ServerDescriptor subclasses

2015-01-25 Thread atagar
commit eb69babe993d2b8c7a155428765aca251f569ba2 Author: Damian Johnson ata...@torproject.org Date: Sun Jan 11 15:44:59 2015 -0800 Lazy parsing for ServerDescriptor subclasses Including ServerDescriptor's RelayDescriptor and BridgeDescriptor subclasses. This is actually a tad

[tor-commits] [stem/master] Server descriptor lazy loading

2015-01-25 Thread atagar
commit 7868aeeb2d351b0ae49d21ba60a09a8b92b5aff1 Author: Damian Johnson ata...@torproject.org Date: Sun Jan 4 21:08:48 2015 -0800 Server descriptor lazy loading Proof of concept for lazy loading our server descriptors. Tests have a small number of failures at present because

[tor-commits] [stem/master] DirectoryAuthority lazy loading

2015-01-25 Thread atagar
commit 6f3a9d846d1226679bdd56dedce362d76c2a3be5 Author: Damian Johnson ata...@torproject.org Date: Sat Jan 17 20:33:33 2015 -0800 DirectoryAuthority lazy loading Another subsection of network status documents. --- stem/descriptor/__init__.py|6 +-

[tor-commits] [stem/master] Lazyloading server descriptor exit policy

2015-01-25 Thread atagar
commit eff8ecec5381f852317638b1ebc8f6893a955761 Author: Damian Johnson ata...@torproject.org Date: Mon Jan 5 07:40:19 2015 -0800 Lazyloading server descriptor exit policy Oops, missed this attribute since it's not part of our parse method. Lazyloading this one's actually pretty

[tor-commits] [stem/master] Moving bulk of server descriptor parsing to helpers

2015-01-25 Thread atagar
commit 99e3c7b8c3f8417324290d5bf7952393d968396a Author: Damian Johnson ata...@torproject.org Date: Sun Jan 4 16:41:12 2015 -0800 Moving bulk of server descriptor parsing to helpers Shifting actual parsing to helper functions so we'll be able to use these for lazy loading. This

[tor-commits] [stem/master] Router status entry lazy loading

2015-01-25 Thread atagar
commit 1fcb9751dcbd7393fba61a6f78902160ad77304d Author: Damian Johnson ata...@torproject.org Date: Sun Jan 25 10:25:29 2015 -0800 Router status entry lazy loading --- stem/descriptor/microdescriptor.py | 13 +- stem/descriptor/router_status_entry.py | 688

[tor-commits] [stem/master] KeyCertificate lazy loading

2015-01-25 Thread atagar
commit 4f63cbca6f88772c079bb1726c72bd30f6ed8901 Author: Damian Johnson ata...@torproject.org Date: Sat Jan 17 19:44:03 2015 -0800 KeyCertificate lazy loading Lazy loading support for part of network status documents. --- stem/descriptor/__init__.py| 14 ++

[tor-commits] [stem/master] Don't validate descriptors by default

2015-01-25 Thread atagar
commit 4dfe010b3965435aa283c4f5b1f8d9ccce3d3e8a Author: Damian Johnson ata...@torproject.org Date: Sun Jan 25 14:36:22 2015 -0800 Don't validate descriptors by default Not quite keeping with backward compatability, but what most users want. When parsing descriptors

[tor-commits] [stem/master] Merging DocumentHeader into NetworkStatusDocumentV3

2015-01-25 Thread atagar
commit 9ebc08da696a8607908761d2b54a622b24eb4b3f Author: Damian Johnson ata...@torproject.org Date: Thu Jan 22 09:32:59 2015 -0800 Merging DocumentHeader into NetworkStatusDocumentV3 --- stem/descriptor/__init__.py |3 +- stem/descriptor/networkstatus.py | 505

[tor-commits] [stem/master] Moving DocumentFooter parsing to helpers

2015-01-25 Thread atagar
commit 65595d3e0d3bb771b40ef3ea99281b6110036c47 Author: Damian Johnson ata...@torproject.org Date: Sun Jan 18 13:34:25 2015 -0800 Moving DocumentFooter parsing to helpers --- stem/descriptor/networkstatus.py | 72 ++---

[tor-commits] [stem/master] Limit header and footer's scope

2015-01-25 Thread atagar
commit 13d71d0bfc93ef771419ddeec65a24ea99680867 Author: Damian Johnson ata...@torproject.org Date: Mon Jan 19 08:32:05 2015 -0800 Limit header and footer's scope Limiting their scope to locals so we can merge them into the document itself. --- stem/descriptor/networkstatus.py |

[tor-commits] [stem/master] Revert Don't modify list of descriptor lines

2015-01-25 Thread atagar
commit d183c7ab5c65d82c73640132d820dfbc4d3eadf1 Author: Damian Johnson ata...@torproject.org Date: Sun Jan 25 12:55:52 2015 -0800 Revert Don't modify list of descriptor lines As discussed in the prior commit it doesn't seem to help performance in practice and hurts

[tor-commits] [stem/master] Moving common parsing helpers to descriptor module

2015-01-25 Thread atagar
commit 79eee85c1b4cac47d91d6a2dfa29867822f1bf31 Author: Damian Johnson ata...@torproject.org Date: Sat Jan 17 15:31:15 2015 -0800 Moving common parsing helpers to descriptor module Moving a couple common helpers to the common descriptor __init__.py module. ---

[tor-commits] [stem/master] Transport parsing wasn't idempotent

2015-01-25 Thread atagar
commit 8870510e4194da6c7ee8fb143e898a7c83932234 Author: Damian Johnson ata...@torproject.org Date: Sun Jan 18 09:57:03 2015 -0800 Transport parsing wasn't idempotent Oops, this parsing function appended to the descriptor's existing dictionary rather than assigning one of its

[tor-commits] [stem/master] Note lazy-loading in the changelog

2015-01-25 Thread atagar
commit e3738fb6fc997bb9e59804bae9b1afd6920df3da Author: Damian Johnson ata...@torproject.org Date: Sun Jan 25 15:16:51 2015 -0800 Note lazy-loading in the changelog --- docs/change_log.rst | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git

[tor-commits] [doctor/master] Opt into descriptor validation

2015-01-25 Thread atagar
commit 3799fe75858d4cfcd444100bad7a5c81614758a9 Author: Damian Johnson ata...@torproject.org Date: Sun Jan 25 15:20:07 2015 -0800 Opt into descriptor validation For most things performance trumps validation, but for DocTor checking for errors is kinda the whole point. ---

[tor-commits] [stem/master] Fixed test on python26 and added ordereddict back

2015-01-25 Thread atagar
commit 3aada2b109e817a8d0ffed3548074d6d2da0a228 Author: Foxboron mcfo...@gmail.com Date: Mon Jan 19 20:31:40 2015 +0100 Fixed test on python26 and added ordereddict back --- test/unit/tutorial_examples.py | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git