Commit graph

346 commits

Author SHA1 Message Date
-b master
422972cb12 Align ARM stack pointer to an 8-byte boundary when calling functions.
This is required by the ARM EABI standard.
2009-06-17 19:13:52 -07:00
Android (Google) Code Review
d7166ede3b Merge change 4424
* changes:
  fix decompression bug in fastboot
2009-06-16 17:48:45 -07:00
Doug Zongker
287c71ca84 fix decompression bug in fastboot
fastboot passes the *uncompressed* length of the file as the length of
the input to the inflate() call, which happens to work unless the
compressed data is actually larger than the uncompressed data (which
it can be for very small files).  Fix this to pass the correct
compressed length down to the inflate call.
2009-06-16 17:36:04 -07:00
San Mehat
1f80880124 am d0290ead: nexus: Fix SupplicantStatus decoding
Merge commit 'd0290eadc563f5a34fc1969f91621860d8756eff'

* commit 'd0290eadc563f5a34fc1969f91621860d8756eff':
  nexus: Fix SupplicantStatus decoding
  nexus: Less verbosity in TiwlanEventListener for now
2009-06-16 16:42:56 -07:00
San Mehat
f9764da0d9 am 891cb2c1: nexus: Add TiwlanEventListener to makefile
Merge commit '891cb2c13505985532acb81d759841d86df15004'

* commit '891cb2c13505985532acb81d759841d86df15004':
  nexus: Add TiwlanEventListener to makefile
  nexus: Initialize frequency in SupplicantAssociatingEvent constructor
  nexus: Add some logging output to WifiController
  nexus: Add TiwlanEventListener for reading driver events directly
2009-06-16 16:42:51 -07:00
San Mehat
d0290eadc5 nexus: Fix SupplicantStatus decoding
Signed-off-by: San Mehat <san@google.com>
2009-06-16 12:01:50 -07:00
San Mehat
052403ebbe nexus: Less verbosity in TiwlanEventListener for now
Signed-off-by: San Mehat <san@google.com>
2009-06-16 12:01:24 -07:00
San Mehat
891cb2c135 nexus: Add TiwlanEventListener to makefile
Signed-off-by: San Mehat <san@google.com>
2009-06-16 10:51:39 -07:00
San Mehat
bbe92c370a nexus: Initialize frequency in SupplicantAssociatingEvent constructor
Signed-off-by: San Mehat <san@google.com>
2009-06-16 10:51:14 -07:00
San Mehat
0f48658d20 nexus: Add some logging output to WifiController
Signed-off-by: San Mehat <san@google.com>
2009-06-16 10:50:47 -07:00
San Mehat
5fc4129fcb nexus: Add TiwlanEventListener for reading driver events directly
Signed-off-by: San Mehat <san@google.com>
2009-06-16 10:50:06 -07:00
Android (Google) Code Review
f8b8288c16 am 43c16197: Merge change 4228 into donut
Merge commit '43c16197b2a6da3a3125b4a4a9fa6b70f447043e'

* commit '43c16197b2a6da3a3125b4a4a9fa6b70f447043e':
  Nexus: Clean up supplicant events, protocol, and continue plumbing
2009-06-15 14:42:51 -07:00
Android (Google) Code Review
338df9da54 am 2d0a6ca2: Merge change 4227 into donut
Merge commit '2d0a6ca27c6f75eb0ec881fe4ad0b4f478d941c0'

* commit '2d0a6ca27c6f75eb0ec881fe4ad0b4f478d941c0':
  nexctl: Refactor so Nexus can be tested from scripts easily.
  libsysutils: Move to a null terminated string protocol using space as a field separator.
2009-06-15 14:41:33 -07:00
Android (Google) Code Review
43c16197b2 Merge change 4228 into donut
* changes:
  Nexus: Clean up supplicant events, protocol, and continue plumbing
2009-06-15 14:40:51 -07:00
Android (Google) Code Review
2d0a6ca27c Merge change 4227 into donut
* changes:
  nexctl: Refactor so Nexus can be tested from scripts easily.
2009-06-15 14:40:32 -07:00
Android (Google) Code Review
12a26e310b Merge change 4226 into donut
* changes:
  libsysutils: Move to a null terminated string protocol using space as a field separator.
2009-06-15 14:40:15 -07:00
San Mehat
3aff2d1de5 Nexus: Clean up supplicant events, protocol, and continue plumbing
- Create SupplicantEvent classes for events
    - New SupplicantEventFactory for creating events
    - Extract Controller -> NetworkManager callbacks into IControllerHandler
    - Move ScanResult handling from Supplicant -> WifiController
    - Plumb more 'onConnected()' code
    - Instead of re-creating NetworkList every-time, merge in
      new entries
    - Extract SupplicantListener -> Supplicant callbacks into
      ISupplicantEventHandler
    - Move SupplicantListener callback handling to WifiController
    - Add unlocked version of lookupNetwork()
    - Save supplicant config after setting a WifiNetwork variable
    - Move property registration from WifiNetwork -> Supplicant
    - Change wifi enable broadcast messages
    - Add 3 new events: 'onAssociating', 'onAssociated', 'onConnectionTimeout'
    - Add support for handling KeyManagement

Signed-off-by: San Mehat <san@google.com>
2009-06-15 14:20:02 -07:00
San Mehat
669a7011e7 nexctl: Refactor so Nexus can be tested from scripts easily.
Also adds 'monitor' mode for monitoring broadcasts

Signed-off-by: San Mehat <san@google.com>
2009-06-15 14:07:28 -07:00
San Mehat
c73a3a5771 libsysutils: Move to a null terminated string protocol using space as a field separator.
Also removes some debugging

Signed-off-by: San Mehat <san@google.com>
2009-06-15 14:06:03 -07:00
Mike Chan
6df2e9fc2e am d709b582: remove 3G timeout values from init.rc, this should be device specific
Merge commit 'd709b582604e7f9d53b97f9ae13c5e12b2466c56'

* commit 'd709b582604e7f9d53b97f9ae13c5e12b2466c56':
  remove 3G timeout values from init.rc, this should be device specific
2009-06-14 21:12:35 -07:00
Android (Google) Code Review
ba4dea8120 Merge changes 4101,4102
* changes:
  Allow local variables to be declared anywhere in a block.
  Support variable initialization.
2009-06-12 14:43:42 -07:00
Jack Palevich
a1804ddeba Allow local variables to be declared anywhere in a block. 2009-06-12 14:40:04 -07:00
Jack Palevich
d7461a7342 Support variable initialization.
Global variables can only be initialized to integer constants.

Local variables can be initialized to arbitrary expressions.
2009-06-12 14:26:58 -07:00
Android (Google) Code Review
b96ebd7ef9 Merge change 4092
* changes:
  Reserve all C99 keywords.
2009-06-12 13:56:12 -07:00
Mike Chan
d709b58260 remove 3G timeout values from init.rc, this should be device specific
Signed-off-by: Mike Chan <mike@android.com>
2009-06-12 13:55:15 -07:00
Jack Palevich
f1728bec74 Reserve all C99 keywords.
And improve checks/error messages around using non-symbols where a
symbol is expected.
2009-06-12 13:53:51 -07:00
Android (Google) Code Review
5a5b16cf7f Merge change 4084
* changes:
  Handle end-of-file inside of comments, local declarations.
2009-06-12 13:17:04 -07:00
Jack Palevich
22e3e8e1a6 Handle end-of-file inside of comments, local declarations. 2009-06-12 13:12:55 -07:00
Android (Google) Code Review
befe95bfed Merge change 4081
* changes:
  Implement string and character backslash constants.
2009-06-12 12:51:31 -07:00
Jack Palevich
b4758ff1de Implement string and character backslash constants.
Until now we only supported '\n'. Now we support everything, including
octal ('\033') and hex '\x27' constants.
2009-06-12 12:49:14 -07:00
Android (Google) Code Review
7829ec0b77 Merge change 4072
* changes:
  Make #define work again. (Had accidentally omitted the keyword.)
2009-06-12 11:55:15 -07:00
Jack Palevich
2ccc40d096 Make #define work again. (Had accidentally omitted the keyword.) 2009-06-12 11:53:07 -07:00
Android (Google) Code Review
01fa704538 am 47c1d734: Merge change 4051 into donut
Merge commit '47c1d7344ab183f5440843f6b594d1b74a2335b0'

* commit '47c1d7344ab183f5440843f6b594d1b74a2335b0':
  vold: Give logwrapper the ability to put jobs into the background sched group.
2009-06-12 11:44:01 -07:00
Chung-yih Wang
9862028d79 am 0bd9a9f5: Add the ipcp scripts for pppd and racoon configuration for ipsec-tools.
Merge commit '0bd9a9f5bcaefda8d7d37c9383b004b516009b85'

* commit '0bd9a9f5bcaefda8d7d37c9383b004b516009b85':
  Add the ipcp scripts for pppd and racoon configuration for ipsec-tools.
2009-06-12 11:43:50 -07:00
Android (Google) Code Review
3b7daf60fc Merge change 4067
* changes:
  Improve symbol-related error checking
2009-06-12 11:32:06 -07:00
Android (Google) Code Review
4da9e183bc Merge change 4066
* changes:
  Improve nested variable test.
2009-06-12 11:29:55 -07:00
Jack Palevich
a6baa23f08 Improve symbol-related error checking
+ Duplicate symbols.
+ Undefined variables;
+ Forward-referenced functions that were never defined.
2009-06-12 11:25:59 -07:00
The Android Open Source Project
38e264915c merged 2cf6cff71f w/minor conflict 2009-06-12 11:14:35 -07:00
Android (Google) Code Review
47c1d7344a Merge change 4051 into donut
* changes:
  vold: Give logwrapper the ability to put jobs into the background sched group.
2009-06-12 08:36:57 -07:00
San Mehat
825c27d239 vold: Give logwrapper the ability to put jobs into the background sched group.
Also set disk check/format execution to background.

Signed-off-by: San Mehat <san@google.com>
2009-06-12 07:39:52 -07:00
Chung-yih Wang
0bd9a9f5bc Add the ipcp scripts for pppd and racoon configuration for ipsec-tools.
1. add ip-up/ip-down script
2. add /etc/ppp/peers/common
3. add /etc/racoon/racoon.conf
2009-06-12 22:35:42 +08:00
Android (Google) Code Review
7490e4b170 am 34c34267: Merge change 3951 into donut
Merge commit '34c342677e4ffb57584d571d8996822bf4d879ef'

* commit '34c342677e4ffb57584d571d8996822bf4d879ef':
  Revert "adb: Workaround for adb disconnect problem."
2009-06-12 04:59:42 -07:00
Jack Palevich
61d22dc763 Improve nested variable test.
Test that we can have two levels of local variables.
2009-06-11 22:03:24 -07:00
Jack Palevich
b67b18f7c2 Add code generator tracer. 2009-06-11 21:50:17 -07:00
Jack Palevich
303d8ffca9 Improve local variable scoping.
Until now we faked local variables -- they only worked correctly if
there was no overlap between local variables and global variables.

Use a symbol table stack instead of a string list.

Fix bug with looking up undefined symbols.
2009-06-11 21:47:57 -07:00
Dan Egnor
2cf6cff71f Add a note to event-log-tags listing the log tag range
reserved for partner use, etc..
2009-06-11 15:28:59 -07:00
Android (Google) Code Review
34c342677e Merge change 3951 into donut
* changes:
  Revert "adb: Workaround for adb disconnect problem."
2009-06-11 14:45:58 -07:00
Mike Lockwood
02d40b51c6 Revert "adb: Workaround for adb disconnect problem."
This reverts commit e38a31e305.

This change had the unfortunate side effect of breaking ctrl-C
when executing "adb shell <command>"

Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-06-11 17:40:48 -04:00
Jack Palevich
2db168f12f Use a separate table for keywords. 2009-06-11 14:29:47 -07:00
Jack Palevich
0a280a0dde Remove use of setjmp/longjmp from libacc compiler.
It makes it harder to deal with memory allocation.

Also fix bug in the otcc-ansi.c test, where the wrong part of the
code buffer was being mprotected, so that if the code buffer happened
to be allocated across a page boundary, some code would no receive
execute permission.
2009-06-11 10:53:51 -07:00