Commit Graph

78227 Commits

Author SHA1 Message Date
Fabrice Desré
88634d9600 Camera support for birch - using default Android camera app 2011-10-13 16:52:43 -07:00
Doug Turner
39f8c1540b 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
1c640d32e3 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
760ec09e12 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
Mark Finkle
ab171d47d4 Use camelCase for sendMessageToJava 2011-10-13 16:47:29 -04:00
Mark Finkle
85b033c734 Add basic support for multiple tabs/browsers 2011-10-13 16:06:41 -04:00
sriram@mozilla.com
15639c96f0 Use styles with XML layouts in Android 2011-10-13 12:22:26 -07:00
Doug Turner
599b7bcc05 Add KEYCODE_MENU key handling to GeckoSurfaceView 2011-10-13 12:08:42 -07:00
Doug Turner
b15185f516 Hook up session history and reload. 2011-10-13 11:13:41 -07:00
Sriram Ramasubramanian
f01e048b20 Menu's xml needs to be added in Makefile.in 2011-10-13 11:02:43 -07:00
Chris Lord
6395a7ca9a Implement kinetic panning
Implement simple kinetic panning. This doesn't change how the document is
scrolled, so scrolling iframes and overflow divs still doesn't work.
2011-10-13 11:13:59 -04:00
Kartikaya Gupta
1815f22d0c 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
e2b96d3f5e 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
dab6c448b5 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
170e9b4952 Remove unnecessary intermediate CharSequence variable (r=kats) 2011-10-13 14:41:57 +01:00
Doug Turner
acdd2248fa Enables simple message passing from Java->Gecko using the nsIObserver. r=blassey 2011-10-12 21:53:43 -07:00
Mark Finkle
6bd6047208 Bug 694136 - [birch] Refactor the browser JS and XUL files [r=fabrice r=kats] 2011-10-12 17:31:04 -04:00
Kartikaya Gupta
4f31612e48 Make variables private/final for better encapsulation and to allow the compiler to optimize things better 2011-10-12 08:14:30 -07:00
Doug Turner
f16570e59c Force offline = false to ensure we go online. 2011-10-12 13:37:58 -07:00
Kartikaya Gupta
2a1d726aa3 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
da93b7e509 Resize window when the keyboard is dimissed 2011-10-12 10:53:37 -07:00
Fabrice Desré
69aba64d0a Change XUL appID 2011-10-12 10:39:06 -07:00
Lucas Rocha
8cd16701e2 Name AwesomeBarCursorAdapter private properties consistently (r=mfinkle) 2011-10-12 16:54:14 +01:00
Kartikaya Gupta
ee1ce61c1f Give the awesome bar a URI keyboard 2011-10-12 08:39:28 -07:00
Doug Turner
1587475a73 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
ca9d51b706 Moving options menu from java to xml 2011-10-11 20:32:23 -07:00
Fabrice Desré
5daf7238de Use DOMTitleChanged to track title changes 2011-10-11 16:57:11 -07:00
Brian Nicholson
1576378a92 Replaced Threads with AsyncTasks 2011-10-11 11:11:38 -07:00
Brad Lassey
077d4b12cc cleaned up warnings 2011-10-11 13:09:44 -04:00
Brad Lassey
bf3da9cc4c backed out dougt because nothing compiled 2011-10-11 13:09:43 -04:00
Doug Turner
2a32b79086 Too many class members that are not prefixed with m. Fixing that up. 2011-10-11 09:20:33 -07:00
Doug Turner
e1eb20d0a5 We disabled places by returning early when making the db connect. The link code is a very loud/frequent caller into places. Here we also bail early to avoid lots of getService calls and lots of debug spew. 2011-10-11 00:23:36 -07:00
Sriram Ramasubramanian
d90f949cf5 Update theme 2011-10-11 00:09:03 -07:00
Doug Turner
5b89a88a79 Let all javascript errors to to the nsConsoleService. This might be a perf hit, but i dont see it yet and it is *so* useful 2011-10-10 23:19:56 -07:00
Doug Turner
f7ffea8082 Patch from https://github.com/snorp/mozilla-central faster branch. 2011-10-10 17:40:17 -07:00
Brad Lassey
fc8ff8bbcb Backed out changeset 703df62e855b due to crashes reported in bug 693086 2011-10-10 11:00:16 -04:00
Matt Brubeck
57442b74d1 Back out d3b8c0394c5e, 701372c96a92, f2c16b13cf65, 367ff8c94636 (bug 683290, bug 684919, bug 685516) for Android reftest failures 2011-10-10 13:45:13 -07:00
Matt Brubeck
4151b38db0 Merge last green changeset of mozilla-inbound to mozilla-central 2011-10-10 11:01:32 -07:00
Mark Finkle
376ac2073d 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
Brad Lassey
5cf7a49da2 Backed out changeset c3a50afc2243 due to large volume of crashes tracked in bug 687367 2011-10-10 10:40:27 -04:00
Olli Pettay
92f9d92d00 Bug 691059, don't throw when setting interface.prototype.onmouseenter/leave, r=bz
--HG--
extra : rebase_source : af4c6bb330ee92b9ca2d3d9258b3e41ea1fae746
2011-10-10 19:21:48 +03:00
Olli Pettay
ee754072c0 Bug 691059, don't throw when setting interface.prototype.onmouseenter/leave, r=bz
--HG--
extra : rebase_source : 617c1329d2f863e01f8654da96736095152b5734
2011-10-10 14:42:55 +03:00
Olli Pettay
820e58a527 Bug 691059, don't throw when setting interface.prototype.onmouseenter/leave, r=bz
--HG--
extra : rebase_source : 0bbc272f1389cda424334a9f5c804c9c70fe7815
2011-10-10 14:42:17 +03:00
Olli Pettay
039dfaaa3a Bug 689128, re-enable EventListenerService tests, add a null check, handle compartments, r=bz
--HG--
extra : rebase_source : a0254eecb59adabb94737f1ca12803b712698903
2011-10-10 13:38:14 +03:00
Matt Brubeck
d53193f383 Back out f7bf7ac18a79 (bug 684826), 3a910924c50c (bug 687367), and 524a6bb8744b (bug 693086) because of Android bustage on a CLOSED TREE 2011-10-10 09:43:58 -07:00
Kyle Huey
a92c51ee20 Bug 683290: Make RasterImage::GetFrame actually honor the flags it is passed. r=bholley 2011-10-10 12:18:53 -04:00
Kyle Huey
a5350744d6 Bug 683290: Allow images that are not in the document to be eligible for discarding. r=bz 2011-10-10 12:18:53 -04:00
Kyle Huey
d300eca309 Bug 684919: Add a template class for storing an nsCOMPtr and a flag together. r=jlebar sr=bsmedberg 2011-10-10 12:18:53 -04:00
Kyle Huey
6937f09f99 Bug 685516: Instead of decoding small images synchronously and large images asynchronously, always decode synchronously for some time, and post the remainder to the event loop if necessary. r=joe 2011-10-10 12:18:52 -04:00
Brad Lassey
24e472b6ab merge 2011-10-10 11:01:34 -04:00