Граф коммитов

478 Коммитов

Автор SHA1 Сообщение Дата
Julien Vermet 40b1765701 Bug 696282 - Implement native toast alert support [r=mfinkle] 2011-10-25 22:51:44 -04:00
Sriram Ramasubramanian c268a70068 Bug 697180 - favicon replaced by default one (patch 2) [r=mfinkle] 2011-10-25 18:04:02 -07:00
Sriram Ramasubramanian d625f28aa2 Bug 697180 - favicon replaced by default one [r=mfinkle] 2011-10-25 15:01:20 -07:00
Brian Nicholson d76df2f78b Bug 695458 - Update Preferences (crash fix followup) [r=mfinkle] 2011-10-25 19:27:54 -04:00
Brian Nicholson 01e29cdf09 Bug 697299 - Disable preferences before Gecko is loaded. r=dougt 2011-10-25 16:12:44 -07:00
Mike Hommey 54f87a877c Bug 686464 - Leave it to Android to unpack the content process executable. r=ted 2011-10-27 14:53:20 +02:00
Brian Nicholson 8a4844d0b7 Bug 694684 - Change camel case and @android IDs [r=mfinkle] 2011-10-14 15:39:07 -07:00
Brian Nicholson 5306f132a2 Bug 695458 - Update Preferences [r=mfinkle] 2011-10-25 17:31:55 -04:00
Alex Pakhotin 71d676d66c Bug 694688 - Preferences activity. Asynchronous preferences initialization and update. Using JSON to pass data. [r=mfinkle] 2011-10-14 12:48:02 -07:00
Sriram Ramasubramanian d5e74cb1c8 Bug 697063 - Tabs.getSelectedTab returns null until Gecko starts and will cause crashes [r=mfinkle] 2011-10-25 12:21:28 -07:00
Kartikaya Gupta fb264c9f5a Bug 695742 - Implement 'Save as PDF' (missing chunk) [r=mfinkle] 2011-10-25 14:11:01 -04:00
Kartikaya Gupta 820f2afe99 Bug 695742 - Implement 'Save as PDF' [r=mfinkle]
Add a menu item that allows the user to save the page the
selected tab as a PDF. Currently this will list the generated
PDF as a download.
2011-10-25 11:51:23 -04:00
Kartikaya Gupta 058a7023a8 Bug 695170 - Implement visited link styles [r=blassey]
Provide an IHistory interface implementation from the android widgets
rather than using the one in Places. This allows the Link class to get
history information from the android code. The IHistory implementation
talks to the Android browser history database via JNI.
The Java-side implementation attempts to batch-process the requests coming
in, and keeps an in-memory cache of the visited links to avoid multiple
hits to the database. The in-memory cache is guaranteed to be cleared
by the VM before an OOMs get thrown.
The current implementation does not consider external events that might
update the history database, and so the visited link information
provided to Gecko might not reflect the latest information in the
Android browser history database.
2011-10-25 11:39:32 -04:00
Fabrice Desré 1f9abf60e1 Bug 696324 - Provide JS API for adding items to the Android menu [r=mfinkle] 2011-10-21 01:50:04 -04:00
Mark Finkle 75e5f84cca Bug 697117 - Clean up some errors found at runtime [r=lucasr] 2011-10-25 11:49:22 -04:00
Lucas Rocha 92d3555e3f Bug 695307 - Implement history tab in AwesomeBar (r=mfinkle) 2011-10-25 16:46:32 +01:00
Lucas Rocha cab168bcbf Bug 695307 - Implement Bookmarks tab in AwesomeBar (r=mfinkle) 2011-10-25 16:46:32 +01:00
Lucas Rocha b40f8b4ef9 Bug 695307 - Factor our method to open URL and close awesome bar (r=mfinkle) 2011-10-25 16:46:32 +01:00
Lucas Rocha 33c4d0d089 Bug 695307 - Factor out awesome bar search into AwesomeBarTabs (r=mfinkle)
The bookmarks and history tabs are just empty for now.
2011-10-25 16:46:32 +01:00
Lucas Rocha 8f7cfba05b Bug 696851 - Remove unused imports from BrowserToolbar (r=sriram) 2011-10-25 14:07:01 +01:00
Lucas Rocha 9c999ff196 Bug 696851 - Remove wildcard import from AwesomeBar (r=sriram) 2011-10-25 14:07:01 +01:00
Lucas Rocha 172d5354e4 Bug 696851 - Rename LOG_FILE_NAME to LOG_FILE in Tabs (r=sriram)
Better matches the semantics of the constant.
2011-10-25 14:07:01 +01:00
Lucas Rocha c970bba3c6 Bug 696851 - Remove unused method from AwesomeBar (r=sriram) 2011-10-25 14:07:01 +01:00
Lucas Rocha 55695b5d62 Bug 695332 - Fix browser toolbar id for consistency (r=sriram) 2011-10-25 14:06:51 +01:00
Gian-Carlo Pascutto 99b93d0975 No bug - Fix dangling logging strings after we refactored Java code. r=mfinkle 2011-10-25 14:44:42 +02:00
Gian-Carlo Pascutto b591f4628a Add doorhanger notifications for Java UI. r=mfinkle 2011-10-25 14:00:37 +02:00
Sriram Ramasubramanian 22ba8d308d Bug 696927 - Use default favicon for the domain. r=mfinkle 2011-10-24 15:40:00 -07:00
Wes Johnston e1051c94cf Bug 696311 - Show current url in awesomebar. r=lucasr 2011-10-24 15:55:54 -07:00
Margaret Leibovic 665a14aa02 Bug 695461 - Download notifications 2011-10-19 14:17:00 -04:00
Sriram Ramasubramanian 07c315988b Bug 695152 - Tabs tray implementation for native UI. r=mfinkle
--HG--
extra : rebase_source : 81efd1c8844a1ecdf49be1ee28060c4e8198e23d
2011-10-24 12:20:27 -07:00
Sriram Ramasubramanian 5607088833 Bug 695152 - On rotation, the title and favicons should be preserved. r=evilfinkle
--HG--
extra : rebase_source : 41eda4101e014f231de0139a6da0c9d12cc34d74
2011-10-24 12:36:56 -07:00
Sriram Ramasubramanian 1bb834afba Addressbar gets corrupted in droid pro when keyboard suggestions are shown r=dougt 2011-10-24 14:06:19 -07:00
Fabrice Desré ee76a3b074 Bug 696683 - handleGeckoMessage throws java.lang.NullPointerException on startup [r=dougt] 2011-10-24 14:08:24 -07:00
Doug Turner 47973d8949 Merge from m-c 2011-10-24 11:11:26 -07:00
Wes Johnston 95f1f19eac Bug 694455 - Implement a prompt service for native ui fennec. r=mfinkle,blassey 2011-10-24 10:05:18 -07:00
Doug Turner 0965618f89 Backing out the Quit change which is causing bug 696386. r=mfinkle 2011-10-23 21:19:42 -07:00
Doug Turner 4f8f437469 Bug 695836 - sync last screen and last uri preference. r=mfinkle 2011-10-23 21:11:29 -07:00
Fabrice Desré c6d52e3ba5 Bug 696550 - Reset favicon when loading a new document [r=mfinkle] 2011-10-22 15:08:44 -07:00
Gian-Carlo Pascutto 8c97afd0aa Bug 695835 - Move favicon download to a separate thread. r=mfinkle 2011-10-21 18:56:39 +02:00
Brad Lassey f9c8aaa44d no bug - make quit work r=dougt 2011-10-19 16:31:31 -04:00
Kartikaya Gupta 888a99c787 Bug 695595 - Fix bug introduced in f8179ee6846a [r=mfinkle] 2011-10-18 12:53:33 -04:00
Brad Lassey f6962128b0 bug 695457 - Use android system backend for Awesome Bar data r=dougt 2011-10-19 13:39:51 -04:00
Margaret Leibovic 20decd00ec Bug 695177 - Add sharing to fennec native, r=blassey 2011-10-19 08:22:26 -07:00
Brian Nicholson 41480fd818 Bug 695434 - Resize favicon image [r=mfinkle] 2011-10-18 21:13:13 -04:00
Fabrice Desré 4ab7c00e8d Backed out changeset 20d4914c7b13 : will be done in styles.xml (see bug 695434) 2011-10-18 14:33:43 -07:00
Brian Nicholson 372d8f05ba Scale favicon size 2011-10-18 12:51:20 -07:00
Lucas Rocha d47c3d8bb2 Bug 695332 - Factor out browser toolbar into a self-contained view (r=mfinkle) 2011-10-18 13:54:41 -04:00
Kartikaya Gupta 465c1a7879 Bug 695112 - [birch] Add an action bar to menu items usable on Honeycomb [r=mfinkle] 2011-10-17 15:34:46 -04:00
Kartikaya Gupta d600680cd2 Bug 695100 - Code cleanup for CrashReporter (r=lucasr)
Fix indentation, remove trailing spaces, expand wildcard imports and sort them,
pull out magic constant strings, scope some methods down to private, used
java's foreach loop construct.
2011-10-17 16:27:27 -04:00
Fabrice Desré aa7129481d backout b559e3ee4ce9 that broke build 2011-10-17 22:36:05 -07:00
Kartikaya Gupta b8e5041e12 Bug 695100 - Misc cleanups for GeckoConnectivityReceiver (r=lucasr)
Expand wildcard imports, extract magic constant strings.
2011-10-17 17:51:59 -04:00
Kartikaya Gupta 5a7e68e0f6 Bug 695100 - Misc cleanups in DatabaseHelper (r=lucasr)
Expand wildcard imports, remove unused strings, extract magic constant strings.
2011-10-17 16:58:50 -04:00
Kartikaya Gupta dde9841ac4 Bug 695100 - Code cleanup for CrashReporter (r=lucasr)
Fix indentation, remove trailing spaces, expand wildcard imports and sort them,
pull out magic constant strings, scope some methods down to private, used
java's foreach loop construct.
2011-10-17 16:27:27 -04:00
Kartikaya Gupta 1cda959e01 Bug 695100 - Fix a build warning by removing duplicate item in list of files (r=lucasr) 2011-10-17 15:33:43 -04:00
Kartikaya Gupta 2a81ede3d6 Bug 695100 - Code cleanup for AwesomeBar (r=lucasr)
Remove trailing spaces and some blank lines, expand wildcard imports and sort
them, pull out some magic constants, scope down visibility of fields, ensure
consistent naming of fields.
2011-10-17 15:29:08 -04:00
Kartikaya Gupta 4e7de67923 Bug 695100 - Code cleanup for GeckoBookmarks (r=lucasr)
Add license text, remove unneeded fields and methods, add missing @Override
tags, fix indentation, remove trailing spaces, expand wildcard imports and sort
them, pull out magic constant strings. No functional changes.
2011-10-17 17:24:15 -04:00
Mark Finkle d0c2f4c480 Fixes and nits to the Java Tab UI 2011-10-15 02:22:25 -04:00
Doug Turner 9392cb9085 isEmpty() doe not exist on Java strings 2011-10-14 23:20:23 -07:00
Doug Turner 8404a847cb #changeset: 78790:3f21e8a211ff
#tag:         qbase
#tag:         qtip
#tag:         tabs_in_nativeui
#tag:         tip
#user:        Sriram Ramasubramanian <sriram@mozilla.com>
#date:        Fri Oct 14 18:58:02 2011 -0700
#summary:     Support for tabs in native ui.
2011-10-14 22:35:15 -07:00
Matt Brubeck 9e568ec508 Bug 694622 - [birch] Handle links from other apps on the command line [r=mfinkle] 2011-10-14 19:58:04 -07:00
Kartikaya Gupta e55993caef Bug 694334 - Make the mainLayout and geckoLayout variables in GeckoApp private and non-static; move the only code that uses it into GeckoApp from GeckoAppShell 2011-10-14 17:11:14 -04:00
Kartikaya Gupta 81acbecc00 Bug 694334 - Make the awesomebar, favicon, and progressbar private and non-static in GeckoApp; move the only code that uses it into GeckoApp from GeckoAppShell 2011-10-14 17:11:14 -04:00
Kartikaya Gupta add28db7a4 Bug 694334 - Fix bug introduced in 7f874fcc92c4 that caused the session history to be lost on rotations [r=lucasr] 2011-10-14 16:45:15 -04:00
Kartikaya Gupta 5324c60c68 Bug 694334 - Minor touchups to 7f874fcc92c4: fix copy/pasted copyright block and expand glob imports to individual imports [r=lucasr] 2011-10-14 14:44:59 -04:00
Mark Finkle d65eefca5d Bug 694637 - [birch] Add basic DOMTitleChanged and DOMLinkAdded support r=bnicholson 2011-10-14 16:07:17 -04:00
Doug Turner 0238b289fc Merge from mozilla-central 2011-10-14 10:22:33 -07:00
Doug Turner d6abaa726c We need to ensure that the last screen shot is written if we forcefully quit. 2011-10-13 20:21:09 -07:00
Doug Turner d22ede8571 Move hiding last screen from onTouch to when the document finishes loading. This will change after the layer manager lands 2011-10-13 19:38:04 -07:00
Fabrice Desré b3f319b33c Check index bounds in SessionHistory::getHistoryEntryAt() 2011-10-13 17:48:46 -07:00
Fabrice Desré e4f0edb025 StrictMode API is only available for API level >= 9 2011-10-13 17:35:12 -07:00
Brad Lassey ef0c6dc3ef implement bookmarks UI r=dougt 2011-10-13 20:00:26 -04:00
Fabrice Desré e20a62bd9f Camera support for birch - using default Android camera app 2011-10-13 16:52:43 -07:00
Doug Turner 6931eea881 Disabling setting locale code. See bug 635342. This is probably not needed anymore. It costs about 145 ms at startup 2011-10-13 15:55:20 -07:00
Doug Turner 70a799d00d Remove cgroup handling. We no longer have a child process. Also, and more importantly, this code runs on the main thread. It takes about 1s to run. When we have extra processes, we should make sure that this runs on a new thread 2011-10-13 15:08:27 -07:00
Doug Turner 3663708ba9 Make sure that mStartupBitmap is loaded off of the main thread.
Also addes policy which dumps stacktraces to logcat if we are slow on the main thread.
2011-10-13 15:06:26 -07:00
sriram@mozilla.com 266b38b458 Use styles with XML layouts in Android 2011-10-13 12:22:26 -07:00
Doug Turner 0e0851faf6 Add KEYCODE_MENU key handling to GeckoSurfaceView 2011-10-13 12:08:42 -07:00
Doug Turner fbcaace176 Hook up session history and reload. 2011-10-13 11:13:41 -07:00
Sriram Ramasubramanian 17aecc8ec8 Menu's xml needs to be added in Makefile.in 2011-10-13 11:02:43 -07:00
Kartikaya Gupta d16577a094 Evacuate the session history stuff from GeckoApp for better encapsulation, and to make fewer things static 2011-10-13 07:18:33 -07:00
Lucas Rocha d0bb75e491 Don't use AbsoluteLayout.LayoutParams as it's deprecated (r=mfinkle)
Use the equivalent RelativeLayout.LayoutParams instead.
2011-10-13 14:41:57 +01:00
Lucas Rocha eaf6fb3f08 Supress deprecation warnings for android.text.ClipboardManager (r=kats)
We're conditionally and intentionally using it on older Android versions.
2011-10-13 14:41:57 +01:00
Lucas Rocha 3d6ae82df5 Remove unnecessary intermediate CharSequence variable (r=kats) 2011-10-13 14:41:57 +01:00
Doug Turner b9614638c3 Enables simple message passing from Java->Gecko using the nsIObserver. r=blassey 2011-10-12 21:53:43 -07:00
Mark Finkle 42b79e5024 Bug 694136 - [birch] Refactor the browser JS and XUL files [r=fabrice r=kats] 2011-10-12 17:31:04 -04:00
Kartikaya Gupta 88794abc48 Make variables private/final for better encapsulation and to allow the compiler to optimize things better 2011-10-12 08:14:30 -07:00
Kartikaya Gupta 6489d2ff3b Remove == comparison of dynamic java strings, and also prevent collapsing empty strings in the clipboard to null r=mfinkle 2011-10-12 16:24:35 -04:00
Doug Turner 524922c450 Resize window when the keyboard is dimissed 2011-10-12 10:53:37 -07:00
Lucas Rocha 5f269b1d96 Name AwesomeBarCursorAdapter private properties consistently (r=mfinkle) 2011-10-12 16:54:14 +01:00
Kartikaya Gupta 897ee73886 Give the awesome bar a URI keyboard 2011-10-12 08:39:28 -07:00
Doug Turner 6e9ab4a9d5 During first run, or when the lastScreen.png is missing, we currently show a black screen. I am changing this to display a stock image with some text over it. We should think about exactly what we want to show here. 2011-10-11 22:08:42 -07:00
Doug Turner cd4516cf37 Moving options menu from java to xml 2011-10-11 20:32:23 -07:00
Matt Brubeck 83ec0f2c6b Back out dcc28a7cfa31, 13342c7d1fc3, f005ff7b0e2a (bug 692198, bug 692196, bug 692200) because of test failures 2011-10-13 12:17:06 -07:00
Brian Nicholson a2bc002a2d Replaced Threads with AsyncTasks 2011-10-11 11:11:38 -07:00
Brad Lassey c669668f5a cleaned up warnings 2011-10-11 13:09:44 -04:00
Brad Lassey 449018c316 backed out dougt because nothing compiled 2011-10-11 13:09:43 -04:00
Doug Turner 73286576a3 Too many class members that are not prefixed with m. Fixing that up. 2011-10-11 09:20:33 -07:00
Sriram Ramasubramanian a374e4c687 Update theme 2011-10-11 00:09:03 -07:00
Doug Turner 0cd5159020 Patch from https://github.com/snorp/mozilla-central faster branch. 2011-10-10 17:40:17 -07:00
Mark Finkle e19b1366ac Bug 684826 - Last typed character from password field is not visible when password is filled in [r=blassey] 2011-10-10 10:52:06 -04:00