Repository: Anasthase/TintBrowser Branch: master Commit: 5a44d4253a18 Files: 192 Total size: 1.0 MB Directory structure: gitextract_hiy_vxio/ ├── .classpath ├── .gitignore ├── .project ├── .settings/ │ └── org.eclipse.jdt.ui.prefs ├── AndroidManifest.xml ├── README.textile ├── changelog ├── lint.xml ├── proguard.cfg ├── project.properties ├── res/ │ ├── animator/ │ │ ├── fade_in.xml │ │ └── fade_out.xml │ ├── drawable/ │ │ ├── bookmark_list_favicon_bg.xml │ │ ├── btn_star.xml │ │ ├── ic_back.xml │ │ ├── ic_forward.xml │ │ ├── ic_querybuilder.xml │ │ └── tab_panel_button.xml │ ├── layout/ │ │ ├── about_preference.xml │ │ ├── accessibility_preview.xml │ │ ├── addon_details_fragment.xml │ │ ├── addon_row.xml │ │ ├── addons_fragment.xml │ │ ├── ask_user_input_dialog.xml │ │ ├── bookmark_row.xml │ │ ├── bookmarks_fragment.xml │ │ ├── checkbox_layout.xml │ │ ├── download_confirm_dialog.xml │ │ ├── edit_bookmark_activity.xml │ │ ├── expandable_list_header.xml │ │ ├── expandable_list_item.xml │ │ ├── history_fragment.xml │ │ ├── history_row.xml │ │ ├── http_authentication_dialog.xml │ │ ├── javascript_prompt_dialog.xml │ │ ├── legacy_phone_main_activity.xml │ │ ├── legacy_phone_start_page_fragment.xml │ │ ├── panel_layout.xml │ │ ├── phone_main_activity.xml │ │ ├── phone_start_page_fragment.xml │ │ ├── phone_url_bar.xml │ │ ├── search_engine_preference.xml │ │ ├── seekbar_preference.xml │ │ ├── spinner_preference.xml │ │ ├── ssl_exception_row.xml │ │ ├── start_page_row.xml │ │ ├── tab_view.xml │ │ ├── tablet_main_activity.xml │ │ ├── tablet_start_page_fragment.xml │ │ ├── tablet_url_bar.xml │ │ ├── url_autocomplete_line.xml │ │ ├── video_loading_progress.xml │ │ ├── websites_settings_fragment.xml │ │ ├── websites_settings_row.xml │ │ ├── webview_container_fragment.xml │ │ ├── webview_dialog_preference.xml │ │ └── yes_no_remember_dialog.xml │ ├── layout-sw600dp/ │ │ └── history_fragment.xml │ ├── menu/ │ │ ├── bookmarks_activity_menu.xml │ │ ├── main_activity_menu.xml │ │ └── main_activity_menu_tablet.xml │ ├── raw/ │ │ ├── changelog_html │ │ ├── contributors_html │ │ ├── licenses_html │ │ └── phone_tutorial_html │ ├── values/ │ │ ├── attrs.xml │ │ ├── bools.xml │ │ ├── colors.xml │ │ ├── dimensions.xml │ │ ├── integers.xml │ │ ├── strings.xml │ │ └── styles.xml │ ├── values-de/ │ │ └── strings.xml │ ├── values-es/ │ │ └── strings.xml │ ├── values-fr/ │ │ └── strings.xml │ ├── values-hdpi/ │ │ └── integers.xml │ ├── values-ja/ │ │ └── strings.xml │ ├── values-land/ │ │ └── integers.xml │ ├── values-pl/ │ │ └── strings.xml │ ├── values-port/ │ │ └── integers.xml │ ├── values-pt/ │ │ └── strings.xml │ ├── values-ru/ │ │ └── strings.xml │ ├── values-sw600dp/ │ │ ├── bools.xml │ │ ├── dimensions.xml │ │ └── integers.xml │ ├── values-sw600dp-port/ │ │ └── dimensions.xml │ ├── values-sw720dp/ │ │ └── dimensions.xml │ ├── values-sw720dp-port/ │ │ └── dimensions.xml │ ├── values-xhdpi/ │ │ └── integers.xml │ ├── values-zh-rCN/ │ │ └── strings.xml │ └── xml/ │ ├── preferences_about.xml │ ├── preferences_accessibility_settings.xml │ ├── preferences_browser_settings.xml │ ├── preferences_general_settings.xml │ ├── preferences_headers.xml │ └── preferences_privacy_settings.xml └── src/ └── org/ └── tint/ ├── addons/ │ ├── Addon.java │ ├── AddonManager.java │ ├── AddonMenuItem.java │ ├── AddonResponseWrapper.java │ ├── AddonServiceConnection.java │ └── executors/ │ ├── AskUserChoiceExecutor.java │ ├── AskUserConfirmationExecutor.java │ ├── AskUserInputExecutor.java │ ├── BaseActionExecutor.java │ ├── ExecutorFactory.java │ ├── LoadUrlExecutor.java │ ├── OpenTabExecutor.java │ ├── ShowDialogExecutor.java │ ├── ShowToastExecutor.java │ └── TabActionExecutor.java ├── controllers/ │ └── Controller.java ├── model/ │ ├── BookmarkHistoryItem.java │ ├── BookmarksAdapter.java │ ├── DownloadItem.java │ ├── FolderItem.java │ ├── HistoryAdapter.java │ ├── SearchUrlAdapter.java │ ├── SearchUrlGroup.java │ ├── SearchUrlItem.java │ └── UrlSuggestionCursorAdapter.java ├── providers/ │ ├── BookmarksProvider.java │ ├── BookmarksWrapper.java │ ├── SslExceptionsProvider.java │ └── SslExceptionsWrapper.java ├── tasks/ │ ├── HistoryBookmarksExportTask.java │ ├── HistoryBookmarksImportTask.java │ ├── SearchUrlTask.java │ ├── ThumbnailSaver.java │ ├── UpdateFaviconTask.java │ └── UpdateHistoryTask.java ├── ui/ │ ├── activities/ │ │ ├── BookmarksActivity.java │ │ ├── EditBookmarkActivity.java │ │ └── TintBrowserActivity.java │ ├── components/ │ │ ├── BadgedImageView.java │ │ ├── CustomWebChromeClient.java │ │ ├── CustomWebView.java │ │ └── CustomWebViewClient.java │ ├── dialogs/ │ │ ├── DownloadConfirmDialog.java │ │ ├── GeolocationPermissionsDialog.java │ │ └── YesNoRememberDialog.java │ ├── fragments/ │ │ ├── BaseWebViewFragment.java │ │ ├── BookmarksFragment.java │ │ ├── HistoryFragment.java │ │ ├── LegacyPhoneStartPageFragment.java │ │ ├── PhoneStartPageFragment.java │ │ ├── PhoneWebViewFragment.java │ │ ├── StartPageFragment.java │ │ ├── TabletStartPageFragment.java │ │ └── TabletWebViewFragment.java │ ├── managers/ │ │ ├── BasePhoneUIManager.java │ │ ├── BaseUIManager.java │ │ ├── LegacyPhoneUIManager.java │ │ ├── PhoneUIManager.java │ │ ├── TabletUIManager.java │ │ ├── ToolbarsAnimator.java │ │ ├── UIFactory.java │ │ └── UIManager.java │ ├── preferences/ │ │ ├── AboutFragment.java │ │ ├── AboutPreference.java │ │ ├── AccessibilityPreferencesFragment.java │ │ ├── AccessibilityPreviewPreference.java │ │ ├── AddonDetailsFragment.java │ │ ├── AddonsFragment.java │ │ ├── BaseSpinnerPreference.java │ │ ├── BrowserPreferencesFragment.java │ │ ├── ClearPreference.java │ │ ├── GeneralPreferencesFragment.java │ │ ├── HomepageSpinnerPreference.java │ │ ├── IHistoryBookmaksExportListener.java │ │ ├── IHistoryBookmaksImportListener.java │ │ ├── PreferencesActivity.java │ │ ├── PrivacyPreferencesFragment.java │ │ ├── SearchEnginePreference.java │ │ ├── SeekBarPreference.java │ │ ├── SslExceptionsFragment.java │ │ ├── UserAgentSpinnerPreference.java │ │ ├── WebViewDialogPreference.java │ │ └── WebsitesSettingsFragment.java │ ├── runnables/ │ │ └── HideToolbarsRunnable.java │ ├── tabs/ │ │ ├── GenericTabListener.java │ │ └── WebViewFragmentTabListener.java │ └── views/ │ ├── PanelLayout.java │ ├── PhoneUrlBar.java │ ├── ScrollerView.java │ ├── TabView.java │ ├── TabletUrlBar.java │ └── TabsScroller.java └── utils/ ├── ApplicationUtils.java ├── Constants.java ├── IOUtils.java └── UrlUtils.java ================================================ FILE CONTENTS ================================================ ================================================ FILE: .classpath ================================================ ================================================ FILE: .gitignore ================================================ /gen /bin ================================================ FILE: .project ================================================ TintBrowser com.android.ide.eclipse.adt.ResourceManagerBuilder com.android.ide.eclipse.adt.PreCompilerBuilder org.eclipse.jdt.core.javabuilder com.android.ide.eclipse.adt.ApkBuilder com.android.ide.eclipse.adt.AndroidNature org.eclipse.jdt.core.javanature ================================================ FILE: .settings/org.eclipse.jdt.ui.prefs ================================================ #Wed Feb 15 09:45:43 CET 2012 eclipse.preferences.version=1 org.eclipse.jdt.ui.javadoc=false org.eclipse.jdt.ui.text.custom_code_templates= ================================================ FILE: AndroidManifest.xml ================================================ ================================================ FILE: README.textile ================================================ h1. Tint Browser This project is licensed under the "GPL v3":http://www.gnu.org/licenses/gpl-3.0.en.html license. To build it, it is needed to clone the "Tint Browser Addon Framework Library":https://github.com/Anasthase/TintBrowserAddonFrameworkLibrary project. h1. Writting addons See "TintBrowserSampleAddon":https://github.com/Anasthase/TintBrowserSampleAddon . h1. How to translate Tint Browser in your language Before starting a translation, you must agree that your work will be released under the same license as Tint Browser, e.g. "GPL version 3":http://www.gnu.org/licenses/gpl-3.0.en.html. Also do not forget that a software translation is not a one-shot work, and that new translations may be needed after your initial work. Translations are done is a language-specific XML file. A single translation string look like this : bq. <string name="Bookmarks">Bookmarks</string> Where the part in the name parameter is the string key, which you must leave unchanged, and the part between ??<string …>?? and ??</string>?? the translated string. h2. Translation steps h3. Get the last reference language file "https://raw.github.com/Anasthase/TintBrowser/master/res/values/strings.xml":https://raw.github.com/Anasthase/TintBrowser/master/res/values/strings.xml Then select “Save as...” in your browser, and save it where you want on your computer. h3. Translate Open the file you downloaded with a decent text editor (hint: Windows Notepad is *NOT* a decent text editor). Do not change the default encoding (UTF-8) and the default line breaks (Unix style). Translate every required strings. h3. Specials cases h4. String-arrays Do not translate anything within a ??<string-array>?? tag. h4. Apostrophes Apostrophes must be preceded by a “\” character. Example: bq. <string name="ContextMenuCopyLinkUrl">Copier l\'adresse du lien</string> h4. Formatted strings Some strings may contains dynamic values, filled at runtime by the application. The place where the dynamics values are inserted in the string are represented by a %s, %1$s %2$s, etc. You must include the original %s-type in your translation, at the appropriate place. Examples: bq. <string name="SslWarningsHeader">There are problems with the security certificate for this site (%s).</string> bq. <string name="HttpAuthenticationDialogDialogTitle">Sign in to %1$s - %2$s</string> When there is several values to dynamically change in a single string, the %s part change to %1$s, %2$s, etc. You may change the order of the %s in your translation, if its make sense in you language, e.g. you can do something like: bq. <string name="HttpAuthenticationDialog.DialogTitle">SomeText %2$s AnotherText %1$s</string> h4. Misc. * Use … instead of writing three points (...); h2. Submit your translation Either send me an e-mail, with your modified file and the language you translated, or open an "issue":https://github.com/Anasthase/TintBrowser/issues and post your file there. ================================================ FILE: changelog ================================================ 1.8: - Fix file select dialog not opening. - Added download confirmation dialog. - Ability to redirect JS logs to logcat. - "Incognito by default" option. - Cookies are now sent with download requests. - Ability to redirect JS logs to logcat. - Images can be opened in a new tab through the context menu. - Back key return to the start page if no browsing history (if the start page is used). - Spanish, Japanese, and Simplified Chinese translations. 1.7: - New user interface for phones. The legacy one is still available under preferences. - Opened tabs can now be restored at start-up. - New preference to choose user interface type. - Various bug fix. 1.6.1: - Fix FC when opening a tab in background on tablets. - Hide application instead of finishing it on back pressed. 1.6: - New export format for bookmarks and history; Bookmarks folders are now handled in export and import; Old format still supported for import. - Full screen mode (Exit full screen icon on tablets designed by Olyn LeRoy from The Noun Project). - UI improvements for 7in tablets. - German translation (thanks to Lars-Dominik). - Russian translation (thanks to Anton). 1.5: - User choice for SSL security exceptions can now be saved on a per-website basis. - Better search engine customization. - Handle search key on devices which has one. - Bookmarks can now be sorted in three ways (Most used, Alphabetically, Most recently visited). - Various bug fixes. - Portuguese translation (thanks to Rui). 1.4: - Add accessibility settings: minimum font size, text scaling, and inverted screen rendering; - Add progress bar when loading history and bookmarks; - On url suggestions, add a button to paste the suggested url in the url bar, without loading it; - On phones, tab switching use a quick fade in/out animation; 1.3: Features: - Folders can be created in bookmarks; - Various minor improvements in layouts; - Fix some force close; 1.2: Features: - Incognito mode; - Open links in background; - Various bug fixes (tabs are no longer lost when docking/undocking keyboard on Asus Transformer(s), ...) 1.1: Bug fixes: - Long-click on image links now work as intended; - Stop plugins when closing a tab; - keyboard no longer hide along with toolbar during a search in phone mode; - Deleting items in history no longer bring back to the first section; 1.0: Initial release. ================================================ FILE: lint.xml ================================================ ================================================ FILE: proguard.cfg ================================================ -optimizationpasses 5 -dontusemixedcaseclassnames -dontskipnonpubliclibraryclasses -dontpreverify -verbose -optimizations !code/simplification/arithmetic,!field/*,!class/merging/* -keep public class * extends android.app.Activity -keep public class * extends android.app.Application -keep public class * extends android.app.Service -keep public class * extends android.content.BroadcastReceiver -keep public class * extends android.content.ContentProvider -keep public class * extends android.app.backup.BackupAgentHelper -keep public class * extends android.preference.Preference -keep public class com.android.vending.licensing.ILicensingService -keepclasseswithmembernames class * { native ; } -keepclasseswithmembers class * { public (android.content.Context, android.util.AttributeSet); } -keepclasseswithmembers class * { public (android.content.Context, android.util.AttributeSet, int); } -keepclassmembers class * extends android.app.Activity { public void *(android.view.View); } -keepclassmembers enum * { public static **[] values(); public static ** valueOf(java.lang.String); } -keep class * implements android.os.Parcelable { public static final android.os.Parcelable$Creator *; } ================================================ FILE: project.properties ================================================ # This file is automatically generated by Android Tools. # Do not modify this file -- YOUR CHANGES WILL BE ERASED! # # This file must be checked in Version Control Systems. # # To customize properties used by the Ant build system use, # "ant.properties", and override values to adapt the script to your # project structure. # Project target. target=android-14 android.library.reference.1=../TintBrowserAddonFrameworkLibrary ================================================ FILE: res/animator/fade_in.xml ================================================ ================================================ FILE: res/animator/fade_out.xml ================================================ ================================================ FILE: res/drawable/bookmark_list_favicon_bg.xml ================================================ ================================================ FILE: res/drawable/btn_star.xml ================================================ ================================================ FILE: res/drawable/ic_back.xml ================================================ ================================================ FILE: res/drawable/ic_forward.xml ================================================ ================================================ FILE: res/drawable/ic_querybuilder.xml ================================================ ================================================ FILE: res/drawable/tab_panel_button.xml ================================================ ================================================ FILE: res/layout/about_preference.xml ================================================ ================================================ FILE: res/layout/accessibility_preview.xml ================================================ ================================================ FILE: res/layout/addon_details_fragment.xml ================================================