Commit graph

486 commits

Author SHA1 Message Date
Jack Palevich
2aaf21f1be Improve numerical constant parsing. 2009-07-15 16:16:37 -07:00
Jack Palevich
8c246a9dc2 Add accRegisterSymbolCallback API to control external symbol linkage.
Until now dlsym was used to lookup external symbols. Now you can
register your own function to be called when an undefined symbol is
used.
2009-07-14 21:14:10 -07:00
Jack Palevich
fd3db48e2e Add test for passing floats and doubles as ints, floats, and doubles. 2009-07-14 19:39:36 -07:00
Jack Palevich
37c54bd22e Make forward declarations of external symbols really work.
Until now we had always been treating external variables as "int",
and external functions as int (...);
2009-07-14 18:35:36 -07:00
Jack Palevich
7ecc5556ae Remove unused variable. 2009-07-14 16:24:55 -07:00
Android (Google) Code Review
5e525099af Merge change 7050
* changes:
  Implement pointer arithmetic.
2009-07-13 18:49:19 -07:00
Android (Google) Code Review
dc61060547 Merge change 7049
* changes:
  Implement support for "char" local and global variables.
2009-07-13 18:49:02 -07:00
Android (Google) Code Review
13ac7f6cee Merge change 7048
* changes:
  Implement general casts and pointer dereferencing.
2009-07-13 18:48:48 -07:00
Android (Google) Code Review
c80b0a9798 Merge change 7047
* changes:
  Run tests on both ARM and x86
2009-07-13 18:48:30 -07:00
Jack Palevich
a8f427f606 Implement pointer arithmetic. 2009-07-13 18:40:08 -07:00
Jack Palevich
25c0ccaed4 Implement support for "char" local and global variables. 2009-07-13 16:56:28 -07:00
Jack Palevich
45431bc252 Implement general casts and pointer dereferencing.
Prior to this casts and pointer dereferencing were special-cased.
2009-07-13 15:57:26 -07:00
Jack Palevich
59178c0a3d Run tests on both ARM and x86 2009-07-13 14:15:18 -07:00
Android (Google) Code Review
eced01b171 am 160d4b05: Merge change 6738 into donut
Merge commit '160d4b0509e4566930ef9af4f2b9d63b33aebee5'

* commit '160d4b0509e4566930ef9af4f2b9d63b33aebee5':
  rootdir: Remove ip-up-vpn script, which is replaced by an executable.
2009-07-12 21:56:42 -07:00
Android (Google) Code Review
160d4b0509 Merge change 6738 into donut
* changes:
  rootdir: Remove ip-up-vpn script, which is replaced by an executable.
2009-07-12 21:22:36 -07:00
Android (Google) Code Review
4c8dee81eb Merge change 6822
* changes:
  nexus: Rollup update for nexus
2009-07-10 17:53:17 -07:00
Mike Lockwood
feb63e9e6f libnetutils: Add ifc_enable(), for enabling a network interface.
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-07-10 17:29:47 -04:00
San Mehat
c4a895b709 nexus: Rollup update for nexus
nexus: Change field separator from : to ' '

Signed-off-by: San Mehat <san@google.com>

nexus: Add some prototypes for stuff to come

Signed-off-by: San Mehat <san@google.com>

nexus: Add some TODOs

Signed-off-by: San Mehat <san@google.com>

libsysutils: Put a proper token parser into the FrameworkListener which
supports minimal \ escapes and quotes

Signed-off-by: San Mehat <san@google.com>

nexus: Fix a lot of bugs

Signed-off-by: San Mehat <san@google.com>

libsysutils: Remove some debugging
Signed-off-by: San Mehat <san@google.com>

nexus: Send broadcasts for supplicant state changes

Signed-off-by: San Mehat <san@google.com>

nexus: Plumb DHCP listener state changes to NetworkManager

Signed-off-by: San Mehat <san@google.com>

nexus: Make the SupplicantState strings more parsable

Signed-off-by: San Mehat <san@google.com>

nexus: Broadcast a message when dhcp state changes.

Signed-off-by: San Mehat <san@google.com>

nexus: Add a few new response codes

Signed-off-by: San Mehat <san@google.com>

nexus: Rename ErrorCode -> ResponseCode

Signed-off-by: San Mehat <san@google.com>

nexus: Add DHCP event broadcasting. Also adds the framework for
tracking supplicant 'searching-for-AP' state

Signed-off-by: San Mehat <san@google.com>

nexus: REmove WifiScanner

Signed-off-by: San Mehat <san@google.com>

nexus: Change the way scanning works. scanmode can now be selected
independantly of triggering a scan. Also adds rxfilter support

Signed-off-by: San Mehat <san@google.com>

nexus: Add support for configuring bluetooth coexistence scanning and modes

Signed-off-by: San Mehat <san@google.com>

nexus: use case insensitive match for property names

Signed-off-by: San Mehat <san@google.com>

nexus: Rollup of a bunch of stuff:
    - 'list' command now takes an argument to match against
    - InterfaceConfig has been moved into the Controller base (for now)
    - DhcpClient now has some rudimentry locking
    - process 'ADDRINFO' messages from dhcpcd
    - Drop tertiary dns

Signed-off-by: San Mehat <san@google.com>

nexus: Clean up some of the supplicant variable parsing and add 'wifi.current'

Signed-off-by: San Mehat <san@google.com>

nexus: Add driver-stop/start, initial suspend support

Signed-off-by: San Mehat <san@google.com>

nexus: Add Controller suspend/resume callbacks, as well as locking

Signed-off-by: San Mehat <san@google.com>

nexus: Make ARP probing configurable for DhcpClient

Signed-off-by: San Mehat <san@google.com>

nexus: Add linkspeed / rssi retrieval

Signed-off-by: San Mehat <san@google.com>

nexus: Add WifiStatusPoller to track RSSI/linkspeed when associated

Signed-off-by: San Mehat <san@google.com>

nexus: Disable some debugging and add 'wifi.netcount' property

Signed-off-by: San Mehat <san@google.com>

nexus: Replace the hackish property system with something more flexible with namespaces

Signed-off-by: San Mehat <san@google.com>

libsysutils: Fix a few bugs in SocketListener

Signed-off-by: San Mehat <san@google.com>

nexus: PropertyManager: Add array support

Signed-off-by: San Mehat <san@google.com>

nexus: Clean up properties
Signed-off-by: San Mehat <san@google.com>

nexus: WifiController: Change name of 'CurrentNetwork' property

Signed-off-by: San Mehat <san@google.com>
2009-07-10 14:23:51 -07:00
Chia-chi Yeh
1219448dc7 rootdir: Remove ip-up-vpn script, which is replaced by an executable. 2009-07-10 15:51:01 +08:00
Android (Google) Code Review
2974d1fb8b Merge change 6741
* changes:
  Implement floating point for ARM.
2009-07-09 22:02:45 -07:00
Android (Google) Code Review
c4d1f677d7 Merge change 6740
* changes:
  Add x86 floating point test.
2009-07-09 22:01:44 -07:00
Jack Palevich
b7718b973c Implement floating point for ARM. 2009-07-09 22:00:24 -07:00
Mike Lockwood
dd8a23b774 am 7bf68842: adb: Increment ADB_SERVER_VERSION
Merge commit '7bf68842d765ad7e6a51426b625d0de6d2331740'

* commit '7bf68842d765ad7e6a51426b625d0de6d2331740':
  adb: Increment ADB_SERVER_VERSION
2009-07-09 17:12:06 -07:00
Mike Lockwood
7bf68842d7 adb: Increment ADB_SERVER_VERSION
It was pointed out that we should have done this when we added the "adb root" command.
And doing this will also force people to pick up the recent Linux USB serial number fix.

Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-07-09 20:09:10 -04:00
Jack Palevich
bab8064203 Add x86 floating point test. 2009-07-09 13:54:54 -07:00
Android (Google) Code Review
a0c0d8a89e Merge change 6658
* changes:
  Finish implementing x86 floating point
2009-07-09 13:36:07 -07:00
Jack Palevich
2a4e1a9f88 Finish implementing x86 floating point
Support floating-point if/while statements: if(1.0) { ... }
Support reading values from float and double pointers.

And some additional error checking.
Detect malformed "return" statements
Detect passing the results of "void" functions as arguments.
2009-07-09 13:34:25 -07:00
Jean-Baptiste Queru
5b63399039 Merge branch 'master' of git://android.git.kernel.org/platform/system/core into merge_korg_master
* 'master' of git://android.git.kernel.org/platform/system/core:
  adb: Use correct language ID when retrieving USB serial number.
  Fix typo in adb commandline help
  Fix bug where ECONNABORTED would have always occured on asocket_write.
  Helper to perform abortable blocking operations on a socket:
2009-07-09 11:34:12 -07:00
Android (Google) Code Review
52dddc6149 Merge change 6597
* changes:
  Implement x86 floating point operations
2009-07-08 20:42:06 -07:00
Jack Palevich
a39749f641 Implement x86 floating point operations
+ unary floating point operation -
 + unary floating point compare: !
 + binary floating point operations +-*/
 + binary floating point comparisons: < <= == != >= >
2009-07-08 20:40:31 -07:00
Android (Google) Code Review
de394b2372 Merge change 6591
* changes:
  set permissions for capella cm3602 proximity sensor
2009-07-08 20:38:48 -07:00
Iliyan Malchev
3306e0678c set permissions for capella cm3602 proximity sensor
Signed-off-by: Iliyan Malchev <malchev@google.com>
2009-07-08 20:37:43 -07:00
Mike Lockwood
3338e55114 am 48d116ed: init.rc: Fix commands for allowing the system_server to access wpa_supplicant.conf
Merge commit '48d116edf9c785ed284626cbe0bbf5c958cf5e67'

* commit '48d116edf9c785ed284626cbe0bbf5c958cf5e67':
  init.rc: Fix commands for allowing the system_server to access wpa_supplicant.conf
2009-07-08 18:07:46 -07:00
Mike Lockwood
48d116edf9 init.rc: Fix commands for allowing the system_server to access wpa_supplicant.conf
The touch command does not exist, and the chown commands are unnecessary because
the system_server is in the WIFI group.

Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-07-08 20:55:36 -04:00
Marco Nelissen
eea5ae9ceb Class with virtual methods should have virtual destructors too. 2009-07-08 17:43:17 -07:00
Android (Google) Code Review
023931180c Merge change 6551
* changes:
  Implement global, local, and stack based float and double variables.
2009-07-08 16:51:30 -07:00
Android (Google) Code Review
e86161de1a Merge change 6550
* changes:
  Implement x86 int <--> float.
2009-07-08 16:51:08 -07:00
Jack Palevich
9cbd226960 Implement global, local, and stack based float and double variables. 2009-07-08 16:48:41 -07:00
Jack Palevich
128ad2d204 Implement x86 int <--> float. 2009-07-08 14:51:31 -07:00
Android (Google) Code Review
d773ff289e Merge change 6498
* changes:
  Some x86 floating point code works.
2009-07-08 13:13:40 -07:00
Android (Google) Code Review
f0487502b1 Merge change 6497
* changes:
  Start tracking types in expressions.
2009-07-08 13:11:01 -07:00
Jack Palevich
1a539db23c Some x86 floating point code works.
We now check the types and number of arguments to a function.
2009-07-08 13:04:41 -07:00
Kenny Root
df3fb65e98 am c989199c: Fix typo in adb commandline help
Merge commit 'c989199ccfbe745a7109f57d2aee2577d2f72b8d'

* commit 'c989199ccfbe745a7109f57d2aee2577d2f72b8d':
  Fix typo in adb commandline help
2009-07-08 09:07:49 -07:00
Mike Lockwood
dc9d52f35d adb: Use correct language ID when retrieving USB serial number.
Fixes http://code.google.com/p/android/issues/detail?id=2609

Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-07-08 12:07:22 -04:00
Kenny Root
c989199ccf Fix typo in adb commandline help
Android developers are not expected to have PDP-11s.
2009-07-08 12:05:05 -04:00
Mike Lockwood
5089bd0a6e am 3d9b265b: adb: Use correct language ID when retrieving USB serial number.
Merge commit '3d9b265b7d34d886a2f44e486c25e402d7df791b'

* commit '3d9b265b7d34d886a2f44e486c25e402d7df791b':
  adb: Use correct language ID when retrieving USB serial number.
2009-07-08 07:30:39 -07:00
Mike Lockwood
3d9b265b7d adb: Use correct language ID when retrieving USB serial number.
Fixes http://code.google.com/p/android/issues/detail?id=2609

Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-07-08 10:28:38 -04:00
Android (Google) Code Review
b77f6a1e0f Merge change 6004
* changes:
  Add aggregator test tag to list
2009-07-07 15:10:33 -07:00
Jack Palevich
8df4619e09 Start tracking types in expressions. 2009-07-07 14:48:51 -07:00
Android (Google) Code Review
32db7311bf Merge change 6323
* changes:
  Parse floating point (and double) constants.
2009-07-06 18:43:13 -07:00