Commit Graph

758 Commits

Author SHA1 Message Date
Jack Palevich 57580063cb am 45a35237: am 5f324384: Merge change 24167 into eclair
Merge commit '45a35237f34c92f8e51eb42eb01e3a054d20aa23'

* commit '45a35237f34c92f8e51eb42eb01e3a054d20aa23':
  Generate an error for the use of an undeclared struct.
2009-09-08 13:43:09 -07:00
Jack Palevich 45a35237f3 am 5f324384: Merge change 24167 into eclair
Merge commit '5f324384027f1d753eeaada3e05ece236a095384' into eclair-plus-aosp

* commit '5f324384027f1d753eeaada3e05ece236a095384':
  Generate an error for the use of an undeclared struct.
2009-09-08 13:37:42 -07:00
Android (Google) Code Review 5f32438402 Merge change 24167 into eclair
* changes:
  Generate an error for the use of an undeclared struct.
2009-09-08 11:54:31 -07:00
Jack Palevich 61de31feff Generate an error for the use of an undeclared struct. 2009-09-08 11:06:40 -07:00
San Mehat f8b6f78979 am f914c821: am 82a6014d: rootdir: init.rc: Allow all processes access to /data/dontpanic
Merge commit 'f914c821e15c815cca65fd837d9ee45170bced3d'

* commit 'f914c821e15c815cca65fd837d9ee45170bced3d':
  rootdir: init.rc: Allow all processes access to /data/dontpanic
2009-09-05 15:14:04 -07:00
San Mehat f914c821e1 am 82a6014d: rootdir: init.rc: Allow all processes access to /data/dontpanic
Merge commit '82a6014d90c94a2032e014901917e1d503475d5e' into eclair-plus-aosp

* commit '82a6014d90c94a2032e014901917e1d503475d5e':
  rootdir: init.rc: Allow all processes access to /data/dontpanic
2009-09-05 15:11:50 -07:00
San Mehat 82a6014d90 rootdir: init.rc: Allow all processes access to /data/dontpanic
***STOPSHIP***

Signed-off-by: San Mehat <san@google.com>
2009-09-05 15:01:52 -07:00
Mathias Agopian 9b243e152b am bb59b7a5: am 4599c1ff: Merge change 23892 into eclair
Merge commit 'bb59b7a5c9444c4fccae10d5a4b00165d47007eb'

* commit 'bb59b7a5c9444c4fccae10d5a4b00165d47007eb':
  android_atomic_write() implementation was using cmpxchg which was useless
2009-09-04 16:35:08 -07:00
Mathias Agopian bb59b7a5c9 am 4599c1ff: Merge change 23892 into eclair
Merge commit '4599c1ff56b1962eecfe647da26e922c0fe2fa13' into eclair-plus-aosp

* commit '4599c1ff56b1962eecfe647da26e922c0fe2fa13':
  android_atomic_write() implementation was using cmpxchg which was useless
2009-09-04 16:34:28 -07:00
Android (Google) Code Review 4599c1ff56 Merge change 23892 into eclair
* changes:
  android_atomic_write() implementation was using cmpxchg which was useless
2009-09-04 16:32:47 -07:00
Jack Palevich 8342e885e1 am 0a33f2df: am dfd31ee8: Merge change 24034 into eclair
Merge commit '0a33f2df9b4accc9856003f23acaf927ec57da9b'

* commit '0a33f2df9b4accc9856003f23acaf927ec57da9b':
  Improve error message for unknown struct members
2009-09-04 15:39:33 -07:00
Jack Palevich 0a33f2df9b am dfd31ee8: Merge change 24034 into eclair
Merge commit 'dfd31ee89975a3307c088f7a69a63b93381e2758' into eclair-plus-aosp

* commit 'dfd31ee89975a3307c088f7a69a63b93381e2758':
  Improve error message for unknown struct members
2009-09-04 15:37:56 -07:00
Android (Google) Code Review dfd31ee899 Merge change 24034 into eclair
* changes:
  Improve error message for unknown struct members
2009-09-04 15:35:58 -07:00
Jack Palevich 8fe5dcac34 Improve error message for unknown struct members
We now customize the error message to correctly refer to the '.' or
'->' operator , whichever one is actually being used when the error
occurs.
2009-09-04 15:34:21 -07:00
Jack Palevich a0a42dff0a am 08f2c140: am 9b7ed8a3: Merge change 24030 into eclair
Merge commit '08f2c1404ffa0bb4604960e71de20bc8b2a56a54'

* commit '08f2c1404ffa0bb4604960e71de20bc8b2a56a54':
  Improve address operator (unary &).
2009-09-04 15:27:52 -07:00
Jack Palevich 08f2c1404f am 9b7ed8a3: Merge change 24030 into eclair
Merge commit '9b7ed8a377b2e0abfb0d802fc1211ace194d33ad' into eclair-plus-aosp

* commit '9b7ed8a377b2e0abfb0d802fc1211ace194d33ad':
  Improve address operator (unary &).
2009-09-04 15:26:16 -07:00
Android (Google) Code Review 9b7ed8a377 Merge change 24030 into eclair
* changes:
  Improve address operator (unary &).
2009-09-04 15:25:09 -07:00
Jack Palevich 5fd66ae01e Improve address operator (unary &).
Until now the address operator only worked with simple variables.
Now it works with arbitrary expressions (that are lvalues or function
names). So for example this now works:

struct S { int a[10]};

int f(struct S* p) {
    return &p->a[3];
}
2009-09-04 15:24:23 -07:00
Ken Shirriff ae126e91dd am 4b81ad12: am c62592bb: Merge change 23911 into eclair
Merge commit '4b81ad1287c5aaea9a2961247db3b977226670b9'

* commit '4b81ad1287c5aaea9a2961247db3b977226670b9':
  Add contacts aggregation event to the log.
2009-09-04 14:05:10 -07:00
Ken Shirriff 4b81ad1287 am c62592bb: Merge change 23911 into eclair
Merge commit 'c62592bb46dc0dc112fb5211d97799ffd3e2dcde' into eclair-plus-aosp

* commit 'c62592bb46dc0dc112fb5211d97799ffd3e2dcde':
  Add contacts aggregation event to the log.
2009-09-04 14:03:14 -07:00
Android (Google) Code Review c62592bb46 Merge change 23911 into eclair
* changes:
  Add contacts aggregation event to the log.
2009-09-04 14:02:19 -07:00
Jean-Baptiste Queru 892ea34183 am c31ebf5f: merge from open-source master
Merge commit 'c31ebf5ff3cbeb992e0cbe61205f424040f1028b'

* commit 'c31ebf5ff3cbeb992e0cbe61205f424040f1028b':
2009-09-04 11:05:39 -07:00
Joe Onorato 55ba0461d3 am 0c428e4d: am 91acb148: Revert "adb: Another attempted workaround for the adb disconnect problem."
Merge commit '0c428e4d4f1cec0aa61f897b8466185c9e06de10'

* commit '0c428e4d4f1cec0aa61f897b8466185c9e06de10':
  Revert "adb: Another attempted workaround for the adb disconnect problem."
2009-09-04 11:04:27 -07:00
Jean-Baptiste Queru c31ebf5ff3 merge from open-source master 2009-09-04 07:51:31 -07:00
Joe Onorato 0c428e4d4f am 91acb148: Revert "adb: Another attempted workaround for the adb disconnect problem."
Merge commit '91acb14877e7138879057f794a61ee2fd424a41d' into eclair-plus-aosp

* commit '91acb14877e7138879057f794a61ee2fd424a41d':
  Revert "adb: Another attempted workaround for the adb disconnect problem."
2009-09-03 16:38:51 -07:00
Joe Onorato 91acb14877 Revert "adb: Another attempted workaround for the adb disconnect problem."
This reverts commit cc1de48dcd.

lockwood says to take this out.
2009-09-03 16:35:42 -07:00
Mathias Agopian ca5e0bc3fe android_atomic_write() implementation was using cmpxchg which was useless 2009-09-03 16:31:37 -07:00
Ken Shirriff f602030b35 Add contacts aggregation event to the log. 2009-09-03 16:13:08 -07:00
Mike Lockwood 965144fe48 am d6e3307d: am f56d1b5a: Revert "adb: "adb bugreport" now runs dumpstate via init rather than execing it in the shell."
Merge commit 'd6e3307d02abfd8dc0206a416308fb62f2eb32ee'

* commit 'd6e3307d02abfd8dc0206a416308fb62f2eb32ee':
  Revert "adb: "adb bugreport" now runs dumpstate via init rather than execing it in the shell."
2009-09-03 14:23:11 -07:00
Mike Lockwood b1421c06fe am 410776e1: am e991decf: Merge changes 23694,23695,23696 into eclair
Merge commit '410776e1cf896f152272e71900d2d022846f756f'

* commit '410776e1cf896f152272e71900d2d022846f756f':
  init.rc: Add dumpstate service
  init: Add support for enforcing setprop by caller's group.
  adb: "adb bugreport" now runs dumpstate via init rather than execing it in the shell.
2009-09-03 14:23:09 -07:00
Mike Lockwood d6e3307d02 am f56d1b5a: Revert "adb: "adb bugreport" now runs dumpstate via init rather than execing it in the shell."
Merge commit 'f56d1b5a76c6cb282a7689fc93f85de63bd205f6' into eclair-plus-aosp

* commit 'f56d1b5a76c6cb282a7689fc93f85de63bd205f6':
  Revert "adb: "adb bugreport" now runs dumpstate via init rather than execing it in the shell."
2009-09-03 14:21:48 -07:00
Mike Lockwood 410776e1cf am e991decf: Merge changes 23694,23695,23696 into eclair
Merge commit 'e991decf340e24203ed63f87d9313598cd09a46c' into eclair-plus-aosp

* commit 'e991decf340e24203ed63f87d9313598cd09a46c':
  init.rc: Add dumpstate service
  init: Add support for enforcing setprop by caller's group.
  adb: "adb bugreport" now runs dumpstate via init rather than execing it in the shell.
2009-09-03 14:21:47 -07:00
Jean-Baptiste Queru a145741e1c merge from master 2009-09-03 14:18:50 -07:00
Mike Lockwood f56d1b5a76 Revert "adb: "adb bugreport" now runs dumpstate via init rather than execing it in the shell."
This reverts commit be0045aafd.
This change broke compatibility with previous versions of adbd, so I will be implementing this
by modifying the bugreport command on the device instead.
2009-09-03 14:54:58 -04:00
Android (Google) Code Review e991decf34 Merge changes 23694,23695,23696 into eclair
* changes:
  init.rc: Add dumpstate service
  init: Add support for enforcing setprop by caller's group.
  adb: "adb bugreport" now runs dumpstate via init rather than execing it in the shell.
2009-09-02 21:40:39 -07:00
Mike Lockwood abe3a9c305 init.rc: Add dumpstate service
Change-Id: Iaf7094dd4693c47566c1acf860b750b762af840c
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-09-03 00:36:25 -04:00
Mike Lockwood c5e7ef2430 init: Add support for enforcing setprop by caller's group.
Change-Id: Ic96e139c4c596882adb38b8863ac6157e0ac17b5
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-09-03 00:36:25 -04:00
Mike Lockwood be0045aafd adb: "adb bugreport" now runs dumpstate via init rather than execing it in the shell.
This allows dumpstate to run as root even if adbd is not.

Change-Id: I04bda1ee0c8de91677149a2a9eda713c85067aa4
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-09-03 00:36:14 -04:00
Brian Swetland 7cf1f9d28e am 2552402f: am 69551d85: Merge change 23557 into eclair
Merge commit '2552402f9a4d1a58a95c021a814cc146221df687'

* commit '2552402f9a4d1a58a95c021a814cc146221df687':
  init: add some more audio devices
2009-09-02 16:30:56 -07:00
Brian Swetland 2552402f9a am 69551d85: Merge change 23557 into eclair
Merge commit '69551d85e95d2ba712f083b39f3ff0b32f865e34' into eclair-plus-aosp

* commit '69551d85e95d2ba712f083b39f3ff0b32f865e34':
  init: add some more audio devices
2009-09-02 16:29:19 -07:00
Android (Google) Code Review 69551d85e9 Merge change 23557 into eclair
* changes:
  init: add some more audio devices
2009-09-02 16:26:58 -07:00
Brian Swetland c822213603 init: add some more audio devices
Signed-off-by: Brian Swetland <swetland@google.com>
2009-09-01 17:23:48 -07:00
San Mehat a99f139935 am 991e9189: am 020f35f2: rootdir: init.rc: Allow all processes access to apanic/ramconsole crash data.
Merge commit '991e9189a4897fd29bb7a5e4e2fb0b6e0d541e09'

* commit '991e9189a4897fd29bb7a5e4e2fb0b6e0d541e09':
  rootdir: init.rc: Allow all processes access to apanic/ramconsole crash data.
2009-09-01 16:13:56 -07:00
San Mehat b4a87d6f0e am c6a81332: am f26d6cea: rootdir: init.rc: Clean up dump collection
Merge commit 'c6a81332c91e55bedc378534163bb8cab444d3a5'

* commit 'c6a81332c91e55bedc378534163bb8cab444d3a5':
  rootdir: init.rc: Clean up dump collection
2009-09-01 16:13:49 -07:00
San Mehat 991e9189a4 am 020f35f2: rootdir: init.rc: Allow all processes access to apanic/ramconsole crash data.
Merge commit '020f35f274594f55eec956fdcfec90ad3d7a5c65' into eclair-plus-aosp

* commit '020f35f274594f55eec956fdcfec90ad3d7a5c65':
  rootdir: init.rc: Allow all processes access to apanic/ramconsole crash data.
2009-09-01 15:47:12 -07:00
San Mehat 020f35f274 rootdir: init.rc: Allow all processes access to apanic/ramconsole crash data.
This is a temporary measure until bugreports are taken as root.

*****STOPSHIP*****
Signed-off-by: San Mehat <san@google.com>
2009-09-01 15:43:25 -07:00
San Mehat c6a81332c9 am f26d6cea: rootdir: init.rc: Clean up dump collection
Merge commit 'f26d6cea4cda7b959491f26ab5f67b8ca99ea7fa' into eclair-plus-aosp

* commit 'f26d6cea4cda7b959491f26ab5f67b8ca99ea7fa':
  rootdir: init.rc: Clean up dump collection
2009-09-01 15:42:24 -07:00
San Mehat f26d6cea4c rootdir: init.rc: Clean up dump collection
Signed-off-by: San Mehat <san@google.com>
2009-09-01 13:13:10 -07:00
Jean-Baptiste Queru 3073ad7057 am 8c92ba19: merge from open-source master
Merge commit '8c92ba1921fc8dc3fc7cc39ef854e9ee70fafc67'

* commit '8c92ba1921fc8dc3fc7cc39ef854e9ee70fafc67': (21 commits)
  BUGFIX - ro.kernel.android.{qemud | ril} and ro.android.noril
  Allow an onrestart command to stop the current service
  added chdir/chroot commands to init for mount switching/pivoting
  Trivial implementation of init's import command.
  adb: Fix emulator support.
  Fix broken 'adb root' command.
  adb: Improved support for running adb over TCP/IP
  BUG 2033924: Add AdbWinUsbApi.dll to prebuilt for Windows SDK
  adb: Fix infinite loop in Linux host device discovery.
  adb: print better error message when there are insufficient permissions for a device.
  adb: update call to register_usb_transport in Mac and Windows builds.
  adb: On Linux, detect USB devices for which adb does not have permissions to communicate with.
  adb: Use correct language ID when retrieving USB serial number.
  adb: Remove adbd from simulator build.
  adb: add "adb reboot" command.
  get rid of utils/executablepath.h, which now lives in the simulator
  Allow adb to use ANDORID_SERIAL env variable to specify the device to talk to.
  Fix incorrect check for LOG_UEVENTS
  init.rc: Fixes typo: sytem -> system.
  completed implementation of "trigger" for init
  ...
2009-09-01 12:14:12 -07:00
Jean-Baptiste Queru 8c92ba1921 merge from open-source master 2009-09-01 08:28:21 -07:00