Commit Graph

1156 Commits

Author SHA1 Message Date
Brian Nicholson
40cd8efebf Bug 697299 - Disable preferences before Gecko is loaded (ui thread fix) [r=dougt] 2011-10-27 14:30:34 -07:00
Sriram Ramasubramanian
65beef7ded Bug 696912 - Fix layout of download progress notification. r=alexp 2011-10-24 17:24:48 -07:00
Alex Pakhotin
60f4141861 640025 - Clear text function using ezKeyboard does not work. r=blassey 2011-10-27 13:43:29 -07:00
Brian Nicholson
2821767b76 Bug 697469 - crash mozalloc_abort - Fennec process dies on tap of AwesomeBar [r=dougt] 2011-10-27 10:12:59 -07:00
Alex Pakhotin
0440ae571d Bug 632542 - Text entered with SlideIT VKB sometimes disappears. r=blassey 2011-10-26 18:51:49 -07:00
Lucas Rocha
996fdb0f9a Sort all lists of files in Makefile.in in alphabetical order (r=mfinkle) 2011-10-27 16:27:41 +01:00
Kartikaya Gupta
0b06cd8efd Bug 697528 - Remove incorrect entries from awesome bar
Don't show bookmark items that have not been visited in the "History" section
of the awesome bar. This is done by adding a date check on the SQL query for
the history items.

Also, when the history is empty, a dummy "Bookmarks" item with no URL appears
in the Bookmarks database. Prevent this entry from showing up in the Awesomebar
UI by filtering out rows with a zero-length URL.
2011-10-27 09:51:25 -04:00
Kartikaya Gupta
7436980605 Bug 697528 - Fix NPE when history is empty (r=lucasr)
If the history is empty, then some data structures don't get initialized and
this results in an NPE. Ensure that the data structures wherever used, and do
an early exit so we don't uselessly run code when the history is empty.
2011-10-27 09:49:29 -04:00
Lucas Rocha
b6e982b925 Bug 697705 - Pass tab ID through constructor on DownloadFaviconTask (r=mfinkle)
Instead of having to type cast String args into integer.
2011-10-27 15:47:55 +01:00
Lucas Rocha
1e5fcda8fe Bug 697705 - Rename LOG_FILE_NAME to LOG_FILE in GeckoApp (r=mfinkle)
Better matches the semantics of the constant and more consistent with other
parts of the code base.
2011-10-27 15:47:55 +01:00
Lucas Rocha
cfc300a474 Bug 697120 - Show favicon on AwesomeBar's history tab (r=mfinkle) 2011-10-27 14:26:13 +01:00
Lucas Rocha
a11c44d83f Bug 697120 - Show favicons on AwesomeBar's All Pages and Bookmarks tabs (r=mfinkle) 2011-10-27 14:26:13 +01:00
Lucas Rocha
f070e7c85f Bug 697120 - Don't store "all pages" cursor as private property (r=mfinkle)
Simply get it from the adapter whenever needed (e.g. when destroing
AwesomeBarTabs).
2011-10-27 14:26:13 +01:00
Lucas Rocha
05b890b3e7 Bug 697505 - Remove all redundant uses of 'this' in Tab (r=sriram) 2011-10-27 14:18:34 +01:00
Lucas Rocha
3e6243267f Bug 697505 - Declare one property per line in Tab (r=sriram)
For consistency reasons.
2011-10-27 14:18:34 +01:00
Lucas Rocha
c39d6e723d Bug 697505 - Prefix all private properties with 'm' for consistency (r=sriram) 2011-10-27 14:18:34 +01:00
Lucas Rocha
2124401937 Bug 697505 - Rename LOG_FILE_NAME to LOG_FILE in Tab (r=sriram)
Better matches the semantics of the constant and more consistent with other
parts of the code base.
2011-10-27 14:18:34 +01:00
Lucas Rocha
631447d698 Bug 697505 - Organize imports in Tab (r=sriram)
Remove wildcard and unused imports and sort them properly.
2011-10-27 14:18:34 +01:00
Mark Finkle
f79ee03bc3 Bug 695199: Add/Remove bookmarks through menus (quick string change) 2011-10-26 23:49:57 -04:00
Sriram Ramasubramanian
baa4e9dcee Bug 695199: Add/Remove bookmarks through menus [r=mfinkle] 2011-10-26 14:33:16 -07:00
Sriram Ramasubramanian
2c304c8fd3 Bug 697562 - Hide soft keyboard when the focus is not in awesomebar text field [r=mfinkle] 2011-10-26 13:47:59 -07:00
Sriram Ramasubramanian
d512940bf9 Bug 696550: Favicon should be reset in the Tab, when there is a location change [r=mfinkle] 2011-10-26 10:50:35 -07:00
Kartikaya Gupta
ee3e74b6ae Bug 696319 - Scroll window as needed when soft keyboard is up [r=mfinkle] 2011-10-26 14:30:48 -04:00
Fabrice Desré
8d499eecc0 Bug 696520 - Enable add-on installation : part 2/2 XPInstallObserver [r=mfinkle] 2011-10-26 13:21:51 -07:00
Kartikaya Gupta
82ff50a9f9 Bug 697433 - Makefile doesn't rebuild strings correctly [r=mfinkle] 2011-10-26 10:32:23 -04:00
Wes Johnston
c6d0fab2a2 Bug 696846 - Use default system theme except on GeckoSurfaceView. r=blassey 2011-10-26 11:01:31 -07:00
Kartikaya Gupta
03e60558ea Bug 697183 - Fix crash on rotation (r=lucasr)
Prevent an NullPointerException caused by mBrowserToolbar not being initialized
before use. Happens only on rotation because it gets used only when there is an
active tab.
2011-10-25 14:02:12 -04:00
Brad Lassey
80a7a87772 bug 696062 - Clear History r=mfinkle
--HG--
extra : rebase_source : fec8263b6b33c25bc065ab5650f2c47778a8b4ff
2011-10-26 11:59:06 -04:00
Doug Turner
79b600db37 Re-enabled update checking. on my device, this takes up ~2ms of startup, could be more on devices with crappier fs.
--HG--
extra : rebase_source : 4f1f69387c2beb9acd94685a81486761d495c7ca
2011-10-25 20:10:56 -07:00
Julien Vermet
abbbd5cdb7 Bug 696282 - Implement native toast alert support [r=mfinkle] 2011-10-25 22:51:44 -04:00
Sriram Ramasubramanian
2291f4ed94 Bug 697180 - favicon replaced by default one (patch 2) [r=mfinkle] 2011-10-25 18:04:02 -07:00
Sriram Ramasubramanian
4860ab1016 Bug 697180 - favicon replaced by default one [r=mfinkle] 2011-10-25 15:01:20 -07:00
Brian Nicholson
43bb8a881f Bug 695458 - Update Preferences (crash fix followup) [r=mfinkle] 2011-10-25 19:27:54 -04:00
Brian Nicholson
c996ad5c93 Bug 697299 - Disable preferences before Gecko is loaded. r=dougt 2011-10-25 16:12:44 -07:00
Mike Hommey
4a62f1045e Bug 686464 - Leave it to Android to unpack the content process executable. r=ted 2011-10-27 14:53:20 +02:00
Brian Nicholson
1e0e681aa1 Bug 694684 - Change camel case and @android IDs [r=mfinkle] 2011-10-14 15:39:07 -07:00
Brian Nicholson
a06639c0bf Bug 695458 - Update Preferences [r=mfinkle] 2011-10-25 17:31:55 -04:00
Alex Pakhotin
89c365ee3b 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
030bef94b4 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
ce2ea3694f Bug 695742 - Implement 'Save as PDF' (missing chunk) [r=mfinkle] 2011-10-25 14:11:01 -04:00
Kartikaya Gupta
258be86c37 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
32f767413d 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é
3b171f21a2 Bug 696324 - Provide JS API for adding items to the Android menu [r=mfinkle] 2011-10-21 01:50:04 -04:00
Mark Finkle
945a12a30c Bug 697117 - Clean up some errors found at runtime [r=lucasr] 2011-10-25 11:49:22 -04:00
Lucas Rocha
cf8f1d2e30 Bug 695307 - Implement history tab in AwesomeBar (r=mfinkle) 2011-10-25 16:46:32 +01:00
Lucas Rocha
b559386bfa Bug 695307 - Implement Bookmarks tab in AwesomeBar (r=mfinkle) 2011-10-25 16:46:32 +01:00
Lucas Rocha
ae52926b92 Bug 695307 - Factor our method to open URL and close awesome bar (r=mfinkle) 2011-10-25 16:46:32 +01:00
Lucas Rocha
f9db88cf70 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
31446c414a Bug 696851 - Remove unused imports from BrowserToolbar (r=sriram) 2011-10-25 14:07:01 +01:00
Lucas Rocha
fa160e0fee Bug 696851 - Remove wildcard import from AwesomeBar (r=sriram) 2011-10-25 14:07:01 +01:00
Lucas Rocha
6c5ece9694 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
90162a8df9 Bug 696851 - Remove unused method from AwesomeBar (r=sriram) 2011-10-25 14:07:01 +01:00
Lucas Rocha
c0d052138f Bug 695332 - Fix browser toolbar id for consistency (r=sriram) 2011-10-25 14:06:51 +01:00
Gian-Carlo Pascutto
37221e4943 No bug - Fix dangling logging strings after we refactored Java code. r=mfinkle 2011-10-25 14:44:42 +02:00
Gian-Carlo Pascutto
b4d8e60fb8 Add doorhanger notifications for Java UI. r=mfinkle 2011-10-25 14:00:37 +02:00
Sriram Ramasubramanian
6808f8af6f Bug 696927 - Use default favicon for the domain. r=mfinkle 2011-10-24 15:40:00 -07:00
Wes Johnston
23273356f2 Bug 696311 - Show current url in awesomebar. r=lucasr 2011-10-24 15:55:54 -07:00
Margaret Leibovic
e601ca9d9d Bug 695461 - Download notifications 2011-10-19 14:17:00 -04:00
Sriram Ramasubramanian
3ea80c8427 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
7bf934669d 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
ac2f3ce644 Addressbar gets corrupted in droid pro when keyboard suggestions are shown r=dougt 2011-10-24 14:06:19 -07:00
Fabrice Desré
2e04f94fb2 Bug 696683 - handleGeckoMessage throws java.lang.NullPointerException on startup [r=dougt] 2011-10-24 14:08:24 -07:00
Doug Turner
05f2dd0d67 Merge from m-c 2011-10-24 11:11:26 -07:00
Wes Johnston
8686209daf Bug 694455 - Implement a prompt service for native ui fennec. r=mfinkle,blassey 2011-10-24 10:05:18 -07:00
Doug Turner
2084bc10db Backing out the Quit change which is causing bug 696386. r=mfinkle 2011-10-23 21:19:42 -07:00
Doug Turner
ee3fee9c0d Bug 695836 - sync last screen and last uri preference. r=mfinkle 2011-10-23 21:11:29 -07:00
Fabrice Desré
a6d238cf37 Bug 696550 - Reset favicon when loading a new document [r=mfinkle] 2011-10-22 15:08:44 -07:00
Gian-Carlo Pascutto
79ce324964 Bug 695835 - Move favicon download to a separate thread. r=mfinkle 2011-10-21 18:56:39 +02:00
Brad Lassey
8f858b54f3 no bug - make quit work r=dougt 2011-10-19 16:31:31 -04:00
Kartikaya Gupta
e0494f5b98 Bug 695595 - Fix bug introduced in f8179ee6846a [r=mfinkle] 2011-10-18 12:53:33 -04:00
Brad Lassey
5b9e845344 bug 695457 - Use android system backend for Awesome Bar data r=dougt 2011-10-19 13:39:51 -04:00
Margaret Leibovic
e80d0747dd Bug 695177 - Add sharing to fennec native, r=blassey 2011-10-19 08:22:26 -07:00
Brian Nicholson
be6b8f0b0e Bug 695434 - Resize favicon image [r=mfinkle] 2011-10-18 21:13:13 -04:00
Fabrice Desré
4c1984b40e Backed out changeset 20d4914c7b13 : will be done in styles.xml (see bug 695434) 2011-10-18 14:33:43 -07:00
Brian Nicholson
c5a92fe745 Scale favicon size 2011-10-18 12:51:20 -07:00
Lucas Rocha
578b6d7ef4 Bug 695332 - Factor out browser toolbar into a self-contained view (r=mfinkle) 2011-10-18 13:54:41 -04:00
Kartikaya Gupta
7d2c60f26b 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
9b2f5cb4f6 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é
19de227cf0 backout b559e3ee4ce9 that broke build 2011-10-17 22:36:05 -07:00
Kartikaya Gupta
839ff657a4 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
8981e3a431 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
c139519fa8 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
70b1e8cf7f 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
64c2998d99 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
20563a1061 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
f4674c6f35 Fixes and nits to the Java Tab UI 2011-10-15 02:22:25 -04:00
Doug Turner
9f22cb7a61 isEmpty() doe not exist on Java strings 2011-10-14 23:20:23 -07:00
Doug Turner
290ad3dbd4 #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
45e83682bf Bug 694622 - [birch] Handle links from other apps on the command line [r=mfinkle] 2011-10-14 19:58:04 -07:00
Kartikaya Gupta
cf4faa2bd4 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
f019ceb25d 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
4e2f06b873 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
11c243e412 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
117ec0a9c2 Bug 694637 - [birch] Add basic DOMTitleChanged and DOMLinkAdded support r=bnicholson 2011-10-14 16:07:17 -04:00
Doug Turner
7093994409 Merge from mozilla-central 2011-10-14 10:22:33 -07:00
Doug Turner
c52fdf8908 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
e08d0b71b9 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é
f73815d99e Check index bounds in SessionHistory::getHistoryEntryAt() 2011-10-13 17:48:46 -07:00
Fabrice Desré
c2ec3288b0 StrictMode API is only available for API level >= 9 2011-10-13 17:35:12 -07:00
Brad Lassey
308b02f176 implement bookmarks UI r=dougt 2011-10-13 20:00:26 -04:00