[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [orbot/master] project file cleanup



commit da061f40e34de8736ed9ca066ec30fcfc20cf004
Author: n8fr8 <nathan@xxxxxxxxxxx>
Date:   Wed May 9 23:07:40 2012 -0400

    project file cleanup
---
 GSoC.txt    |   45 -----------------------------
 OBFSPROXY   |    1 -
 README      |    6 ++--
 WALKTHROUGH |   90 -----------------------------------------------------------
 po2xml.sh   |   78 ---------------------------------------------------
 5 files changed, 3 insertions(+), 217 deletions(-)

diff --git a/GSoC.txt b/GSoC.txt
deleted file mode 100644
index d1d851e..0000000
--- a/GSoC.txt
+++ /dev/null
@@ -1,45 +0,0 @@
-GSoC Plan 
-=========
-
-A tl;dr version 
----------------
-I will be improving the Orbot UI/UX, and adding several features such as data statistics and also
-implementing the TorCheck API. I plan on extending the ORLib library and also creating an ORLib enabled 
-app as a sort of primer for other third party apps to follow
-
-The full version
-----------------
-
-Orbot UI/UX
-===========
-At the moment, the Orbot UI/UX is clustered and not very intuitive. I plan on improving the existing 
-elements of the UI and also add a variety of new features such as
-
-* A new Set â?? up Wizard ( which checks for iptables )
-* Changes to the preferences ( should be made to follow the Android guidelines)
-
-Orbot Core app work
-===================
-At the moment, Orbot displays a successful connection without actually checking the connection. This is a 
-pressing issue, because the user is not notified if the set-up has failed, unless he/she manually checks 
-the torcheck web service. This should be made automatic by making using of the TorCheck API. Also, Orbot 
-should be configured to show more information about the data being transmitted such as -
-
-* Amount of data transferred
-* Quality of the connection
-* Number of circuits connected
-
-ORLib
-=====
-Currently, ORLib is very minimal at the moment, both in term of features and support/documentation. ORLib 
-is very critical to the use of Orbot as it provides transparent proxying on non-rooted devices ( A major 
-chunk of android phones are un-rooted). I intend to -
-
-* Improve the existing library by adding additional features
-    * Check for existing of Orbot
-    * Check status of connection to Tor
-    * Provide option to start Orbot via intent
-* Request hidden service by port, and get return hidden service .onion address
-* Create an ORLib enabled â??Twitter, Status.net or other micro blogging Clientâ?? â?? A sort of primer for 
-  third-party apps
-* Improve the documentation
diff --git a/OBFSPROXY b/OBFSPROXY
deleted file mode 100644
index bf2bfe4..0000000
--- a/OBFSPROXY
+++ /dev/null
@@ -1 +0,0 @@
-Information on configuration/building of Obfsproxy comming soon
diff --git a/README b/README
index 3ac6b4e..f50831a 100644
--- a/README
+++ b/README
@@ -9,7 +9,7 @@ HTTP client applications into the Tor SOCKS interface.
 ***********************************************
 Orbot is a component of the Guardian Project, an effort to develop
 a secure, anonymous smartphone for use by human rights activists, journalists
-and others around the world. Learn more: http://guardianproject.info/
+and others around the world. Learn more: https://guardianproject.info/
 
 ***********************************************
 Tor protects your privacy on the internet by hiding the connection
@@ -23,5 +23,5 @@ Tor Frequently Asked Questions:
 
 ***********************************************
 
-/* Copyright (c) 2009-2010, Nathan Freitas, The Guardian Project
- * http://guardianproject.info/ */
+/* Copyright (c) 2009-2012, Nathan Freitas, The Guardian Project
+ * https://guardianproject.info/ */
diff --git a/WALKTHROUGH b/WALKTHROUGH
deleted file mode 100644
index c3107e6..0000000
--- a/WALKTHROUGH
+++ /dev/null
@@ -1,90 +0,0 @@
-
-.
-â??â??â?? org
-    â??â??â?? torproject
-        â??â??â?? android
-            â??â??â?? AppManager.java
-                    //this is what helps us track the app-by-app torification
-                    //and gets the app name, icon, etc for display - we have some problems here
-                    //in normalizing the icon on the list label
-                    //some of this code came originally from DroidWall project (yay open source)
-                    
-            â??â??â?? boot
-            â??   â??â??â?? OnbootBroadcastReceiver.java 
-                        //i think this is a dup now and should be removed
-            
-            â??â??â?? HiddenServiceManager.java
-                        //empty! but at some point i thought it would be good to aggregate HS functions here
-            
-            â??â??â?? OnBootReceiver.java
-                        //this is the class registered in AndroidManifest.xml to handle Onboot events
-                        //to start Orbot/Tor when the device boots if the user has elected to do so - what kind of permissions does this require?
-                        //                 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
-                        // BTW, this shows up as a fairly unintrusive type perm request now in Android / in older versions (1.6 and earlier)
-                        // it was reported "as read / monitor phone state" and paranoid Tor-types didn't like the idea of it
-                        // in 1.6+ it has a much better UX in terms of having a more granular permisions around boot since it is a very
-                        // common request - ah , that's awesome, i think i remember seeing sth of this sorts when i was going through the guardianproject mailing list. iirc this is something ioerror wanted
-                        
-            
-            â??â??â?? Orbot.java
-                    //our wonderful main activity!
-            
-            â??â??â?? ProcessSettingsAsyncTask.java
-                    //this was just added in 1.0.5.x, but it was meant to help stop the UI blocking while processing settings and prefs
-                    //it uses the AsyncTask feature of Android, which seems to work pretty well
-                    //for this type of non-time critical function you just want to happen in the background at some point soon-ish
-            
-            â??â??â?? SettingsPreferences.java
-                    // Settings activity that loads the res/xml/preferences.xml resource up 
-                    // has some custom event handlng, onActivityResult callback result code's as well
-                    // basically meant to tell Orbot activity if critical settings have been modified and whether
-                    // those new settings should be applied (like iptables/transproxy changes)
-                    
-            â??â??â?? TorConstants.java
-                    // globals! well, constants! but yeah, just a place to put values we use a lot
-            
-            â??â??â?? TorifiedApp.java
-                    // object to store a single app's metadata for display in UI and for transproxy process
-            
-            â??â??â?? Utils.java
-                    // random methods that can be useful, a.k.a. another place to put stuff
-            
-            â??â??â?? WizardActivity.java
-                    // our original attempt at wizard activity that didn't get far
-            
-            â??â??â?? WizardHelper.java
-                    // the helper class that manages the dialog based wizard
-            
-            â??â??â?? service //okay the Service subpackage!
-            
-            â??   â??â??â?? Api.java
-                    //this is more code taken from DroidWall, that needs to be cleaned up and paired down to just what we need it for
-                    //this is related to 1.0.5.x changes with how we bundle and install our C binaries (tor, privoxy and iptables)
-            
-            â??   â??â??â?? ITorService.aidl
-                    // the android remote interface definition file; 
-                    // this is the remote interface which the Orbot activity gets a reference to
-                    // and that in the TorService is instantiated as the "binder"
-            
-            â??   â??â??â?? ITorServiceCallback.aidl
-                    // this is the callback interface that the Orbot activity instantiates, and passes
-                    // to the ITorService; reverse of ITorService in a sense
-            
-            â??   â??â??â?? TorBinaryInstaller.java
-                    // this handles installation of binaries; uses Api.java; // tied into Wizard as well
-            
-            â??   â??â??â?? TorServiceConstants.java
-                    // reusable constants for just the Service package
-            
-            â??   â??â??â?? TorService.java
-                    // the main might powerful service class; Orbot and TorService are the front and backends of this whole app
-                    // should run as a remote service, but the manifest doesn't seem to indicate that at the moment
-             
-            â??   â??â??â?? TorServiceUtils.java
-                    //utility methods for the service; specificaly check for root and tools for finding processID of background binaries
-            
-            â??   â??â??â?? TorTransProxy.java
-            // all the code for iptables transproxying management
-                                
-            
-            
diff --git a/po2xml.sh b/po2xml.sh
deleted file mode 100755
index 5718e23..0000000
--- a/po2xml.sh
+++ /dev/null
@@ -1,78 +0,0 @@
-#!/bin/bash
-#
-# Author: Runa A. Sandvik, <runa.sandvik@xxxxxxxxx>
-# For The Tor Project, Inc.
-#
-# This is Free Software (GPLv3)
-# http://www.gnu.org/licenses/gpl-3.0.txt
-#
-# This script will convert translated po files back to xml. Before
-# running the script, checkout the translation directory from
-# https://svn.torproject.org.
-#	
-
-### Start config ###
-
-# Location of the translated files, i.e. the path to the orbot
-# directory in the translation module. Do not add the trailing slash. 
-translated="/home/runa/tor/translation/projects/orbot"
-
-# Location of the orbot directory, i.e. the original English xml file.
-# In svn, this should be svn/projects/android/trunk/Orbot/res. Do not add the
-# trailing slash.
-xml="/home/runa/tor/orbot/res"
-
-### End config ###
-
-# Find po files to convert.
-po=`find $translated -type f -name \*.po`
-
-# For every po found, create and/or update the translated manpage.
-for file in $po ; do
-
-	# Validate input and write results to a log file
-	validate_script="/home/runa/tor/translation/tools/validate.py"
-	validate_log="/home/runa/tor/validate/orbot-validate.log"
-	python "$validate_script" -i "$file" -l "$validate_log"
-
-	# Get the basename of the file we are dealing with.
-	pofile=`basename $file`
-
-	# Strip the file for its original extension and add .xml.
-	xmlfile="${pofile%.*}.xml"
-
-	# Figure out which language we are dealing with.
-	dir=`dirname $file | sed "s#$translated/##"`
-	lang=`basename $dir`
-
-	# The translated document is written if 80% or more of the po
-	# file has been translated. Also, po4a-translate will only write
-	# the translated document if 80% or more has been translated.
-	# However, it will delete the translated txt if less than 80%
-	# has been translated. To avoid having our current, translated
-	# xml files deleted, convert the po to a temp xml first. If this
-	# file was actually written, rename it to xml.
-
-	# Convert translated po to xml.
-	function convert {
-		po4a-translate -f xml -m "$xml/values/$xmlfile" -p "$file"  -l "$xml/values-$lang/tmp-$xmlfile" --master-charset utf-8 -L utf-8
-
-		# Check to see if the file was written. If yes, rename it.
-		if [ -e "$xml/values-$lang/tmp-$xmlfile" ]
-		then
-			mv "$xml/values-$lang/tmp-$xmlfile" "$xml/values-$lang/$xmlfile"
-			
-			# We need to escape apostrophe's
-			sed -i "s/\([^\\]\)'/\1\\\\'/g" "$xml/values-$lang/$xmlfile" 
-		fi
-	}
-	
-	# If the current directory is zh_CN use zh, else convert everything.
-	if [ $lang = "zh_CN" ]
-	then
-		lang="zh"
-		convert
-	else
-		convert
-	fi
-done



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits