db8=74

DB8: 72...74:
 -  9348b98 Set ICU default locale to en_US and when locale changes
 -  f734a5a Extended index performance test
 -  2e9f28f Implemented "human collate" operator on "search" and
            "find" method for file sort and included test code.
 -  367a3d4 Fix debug compiler flags
 -  1cc1732 Fix copyrights and restore tabs
 -  54b3a79 Fix declarations and discovery of leveldb/db.h

Fixes:
   [GF-7071] locale is not being properly set in DB8...
   [GF-5232] "MojDbQuota" test is failing...
   [GF-5236] "MojDbTextCollator" test is failing...
   [GF-5235] "MojDbSearch" test is failing...
   [GF-3567] DB8: Support customized collate sequence on search method
   [GF-4821] DB8: Support customized collate sequence on find method

CCC [GF-8027]

Open-webOS-DCO-1.0-Signed-off-by: Roger Stringer <roger.stringer@lge.com>

Change-Id: Ifa76cedbf11980b6718eb5419f5831a668a1a1fc
Reviewed-on: https://g2g.palm.com/2774
Reviewed-by: Roger Stringer <roger.stringer@lge.com>
Tested-by: Roger Stringer <roger.stringer@lge.com>
Reviewed-by: Build Verification
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
boost: Limit PARALLEL_MAKE to -j 64

:Release Notes:
bjam doesn't support more then 64 parallel jobs

:Detailed Notes:
bjam was segfaulting when people tried to build boost with -j greater
then 64, this .bbappend does the same as:
http://lists.openembedded.org/pipermail/openembedded-core/2013-June/080344.html
When PARALLEL_MAKE is set to greater number it will use just 64 threads.
It cannot be added to meta-webos-backports, because it wasn't merged in
oe-core yet.

:Testing Performed:
boots builds OK with -j 99 and uses 64 threads
bitbake -e confirms that BOOST_PARALLEL_MAKE was set to -j 64
bitbake -e confirms that PARALLEL_MAKE = "-j 99 something" works
correctly too

:QA Notes:

:Issues Addressed:
[GF-6959] boost-1.53 build segfaults when building with -j greater than 64

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@lge.com>

Change-Id: I85a2a24586790f6f4fd61f2123dca737f6c4288b
Reviewed-on: https://g2g.palm.com/2770
Reviewed-by: Build Verification
Reviewed-by: Martin Jansa <Martin.Jansa@lge.com>
Tested-by: Martin Jansa <Martin.Jansa@lge.com>
Reviewed-by: Herb Kuta <herb.kuta@lge.com>
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
gzip: Remove unneeded bbappend

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@lge.com>

Change-Id: Iea8734bea7bf8c3249d1526349ab18d593048cbc
Reviewed-on: https://g2g.palm.com/2750
Reviewed-by: Martin Jansa <Martin.Jansa@lge.com>
Tested-by: Martin Jansa <Martin.Jansa@lge.com>
Reviewed-by: Build Verification
Reviewed-by: Steve Lemke <steve.lemke@lge.com>
Reviewed-by: Herb Kuta <herb.kuta@lge.com>
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
packagegroup-webos-extended: Make keyboard-efigs configurable

Provide VIRTUAL-RUNTIME_webos-ime variable to allow other layers to
configure the correct package in to the rootfs

CCC: [GF-7748]

Open-webOS-DCO-1.0-Signed-off-by: Mikko Levonmaa <mikko.levonmaa@lge.com>

Change-Id: I78c91e6533238f383ae2c652088c255961d2653c
Reviewed-on: https://g2g.palm.com/2752
Reviewed-by: Build Verification
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
Tested-by: Susan Montooth <susan.montooth@lge.com>
alsa-plugins: Disable a52 plugin

:Release Notes:
We don't have dependency on libav and sometimes it's autodetected or
build is failing with undefined reference to av_free().

:Detailed Notes:
See http://mailman.alsa-project.org/pipermail/alsa-devel/2011-January/035894.html
for details.

:Testing Performed:
Build doesn't fail with undefined reference anymore

:QA Notes:
No change in image

:Issues Addressed:
[GF-8548] alsa-plugins autodetect libav and sometimes fail to build a52 plugin

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@lge.com>
Change-Id: I8381300feccc439e2a3e05de8e4b31f84987c0ce
Reviewed-on: https://g2g.palm.com/2812
Reviewed-by: Build Verification
Reviewed-by: Martin Jansa <Martin.Jansa@lge.com>
Tested-by: Martin Jansa <Martin.Jansa@lge.com>
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
luna-sysservice: Add missing dependency on libxml2 and sqlite3

:Release Notes:
Missing dependency was found when running per-component builds [ES-118]

:Detailed Notes:
do_configure fails without it:
| -- checking for module 'libxml-2.0'
| --   package 'libxml-2.0' not found
| CMake Error at FindPkgConfig.cmake:266 (message):
|   A required package was not found

| -- checking for module 'sqlite3'
| --   package 'sqlite3' not found
| CMake Error at FindPkgConfig.cmake:266 (message):
|   A required package was not found

:Testing Performed:
Builds ok after building libxml2 and sqlite3

:QA Notes:
No change in image

:Issues Addressed:
[GF-8457] luna-sysservice is missing libxml2 and sqlite3 dependency

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@lge.com>
Change-Id: I314fc66242344289147739aaad115260f595f182
Reviewed-on: https://g2g.palm.com/2795
Reviewed-by: Martin Jansa <Martin.Jansa@lge.com>
Tested-by: Martin Jansa <Martin.Jansa@lge.com>
Reviewed-by: Build Verification
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
xkeyboard-config: Remove xkbcomp from RDEPENDS

:Release Notes:
xkbcomp isn't available in Open webOS, because it's also built without
x11 in DISTRO_FEATURES

:Detailed Notes:

:Testing Performed:
No change in build

:QA Notes:
No change in image

:Issues Addressed:
[ES-118] Evaluate possibility to build everything available in verification jobs

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@lge.com>
Change-Id: Iaec899e61f7d7fd4197def317a0c725f1c35b865
Reviewed-on: https://g2g.palm.com/2790
Reviewed-by: Martin Jansa <Martin.Jansa@lge.com>
Tested-by: Martin Jansa <Martin.Jansa@lge.com>
Reviewed-by: Herb Kuta <herb.kuta@lge.com>
Reviewed-by: Build Verification
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
boost: Remove .bbappend, resolved in oe-core

:Release Notes:
This issue is now resolved in oe-core/dylan

:Detailed Notes:
This .bbappend needs to be removed before we upgrade oe-core
revision (or atomically with it), otherwise build fails with:
ERROR: The function get_boost_parallel_make defined in
boost_1.53.0.bbappend was already declared in boost.inc.
BitBake has a global python function namespace so shared functions
should be declared in a common include file rather than being
duplicated, or if the functions are different, please use different
function names.

:Testing Performed:
No change in build

:QA Notes:
No change in image

:Issues Addressed:
[GF-6959] boost-1.53 build segfaults when building with -j greater than 64

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@lge.com>
Change-Id: Id0b26f2bdc2baeb474ae378e859e88a93d25324c
Reviewed-on: https://g2g.palm.com/2824
Reviewed-by: Build Verification
Reviewed-by: Martin Jansa <Martin.Jansa@lge.com>
Tested-by: Martin Jansa <Martin.Jansa@lge.com>
Reviewed-by: Herb Kuta <herb.kuta@lge.com>
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
Tested-by: Susan Montooth <susan.montooth@lge.com>
webos-image: libpbnjson=14

:Release Notes:
Fix severe memory leaks in JSON serialization

:Detailed Notes:
43c2a27 Fix compiler warning on implicit declaration
6ed786b libpbnjson: Fix memory leak in generator
a2bdcc1 Prohibit change of JValue returned from operator[]
665e56f Fix dataset for test_cppschema

:Testing Performed:
Ran automatic tests under valgrind.
Tested changes on a device by running miniBAT

:QA Notes:

:Issues Addressed:
[GF-6380] libpbnjson: Assigning to array or object with bracket op
[GF-7251] pbnjson::JGenerator::serialize leaks memory
[GF-8329] Memory leak in pbnjson
[GF-8629] CCC: libpbnjson=14

Open-webOS-DCO-1.0-Signed-off-by: Anatolii Sakhnik <anatolii.sakhnik@lge.com>

Change-Id: I4e2d6da3d93118249b4c8fca6ecce633a1ca0166
Reviewed-on: https://g2g.palm.com/2817
Reviewed-by: Build Verification
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
Tested-by: Susan Montooth <susan.montooth@lge.com>
webos-image: smartkey-hun=6

:Release Notes:
Update smartkey-hun recipe file to match facilities added to submissions/6.
Replaces broken version of recipe and uses latest version of smartkey.
Implement on-the-fly modification of PRO file to fix a Qt4-related issue.

:Testing performed
smartkey-hun=6 already thoroughly tested

:QA Notes:

:Issues addressed:
[ES-118] Evaluate possibility to build everything available in verification jobs

Open-webOS-DCO-1.0-Signed-off-by: Roger Stringer <roger.stringer@lge.com>

Change-Id: Ia29cca7c7017a14d76e04a2840b83ff692ed87ac
Reviewed-on: https://g2g.palm.com/2826
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
Tested-by: Susan Montooth <susan.montooth@lge.com>
luna-sysmgr-common: Add dependency on binutils-cross

:Release Notes:
g++ won't find ld without this dependency.

:Detailed Notes:
Many recipes require ld from binutils during do_compile, so the right
fix is to include this dependency in BASEDEPENDS, but until this patch:
http://lists.openembedded.org/pipermail/openembedded-core/2013-July/080893.html
is included in our version of oe-core fix it in recipe
(luna-sysmgr-common is the only recipe failing like this in our images).

:Testing Performed:
Builds OK when binutils-cross is built in the same sysroot.

:QA Notes:
No change in image

:Issues Addressed:
[GF-8536] luna-sysmgr-common fails to build separately

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@lge.com>
Change-Id: Ibaf09aa4ac58d3b2c5e8e71df2dd27ad9b2861c2
Reviewed-on: https://g2g.palm.com/2829
Reviewed-by: Build Verification
Reviewed-by: Herb Kuta <herb.kuta@lge.com>
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
Tested-by: Susan Montooth <susan.montooth@lge.com>
Assign Copyright to LG Electronics, Inc.

[GF-5644] Convert HP Copyright to LG

Open-webOS-DCO-1.0-Signed-off-by: Maksym Shevchenko <myshevchenko@luxoft.com>

Change-Id: I689a6db4b62e437958d0d6fd92f5706b448f90b6
Reviewed-on: https://g2g.palm.com/2605
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
Tested-by: Susan Montooth <susan.montooth@lge.com>
Reviewed-by: Build Verification
webos-recipe-blacklist: Blacklist more upstream recipes

:Release Notes:
Blacklist recipes which aren't used or available in webos builds

:Detailed Notes:
Some recipes take long time to build and we're sure that we won't
ever use them (we can remove them from blacklist later).

Some recipes aren't available because they require e.g. x11
DISTRO_FEATURE which isn't enabled in webos distro config,
unfortunately bitbake doesn't skip recipes which require skipped
recipes, so we need to blacklist all recipes which depend on something
blacklisted.

Be aware that PNBLACKLIST changes aren't correctly picked by bitbake
parser, so in order to reparse metadata with new PNBLACKLIST enabled
you need to remove ${CACHE} or otherwise force reparsing.

:Testing Performed:
100+ ERRORs are not shown while preparing runqueue, no change in image,
because those blacklisted recipes weren't included before

:QA Notes:

:Issues Addressed:
[GF-8006] Blacklist recipes which cannot be built with webos distro config

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@lge.com>

Change-Id: I10e85ffdc82ae30bd1dca221d524e7d8c8710374
Reviewed-on: https://g2g.palm.com/2818
Reviewed-by: Martin Jansa <Martin.Jansa@lge.com>
Tested-by: Martin Jansa <Martin.Jansa@lge.com>
Reviewed-by: Build Verification
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
webos-image: nodejs-module-webos-pmlog=14

:Release Notes:
console.* messages are directed to legacy-log context and file

:Detailed Notes:
To cleanup the current logs and to encourage components to use the
new nodejs-pmlog APIs (msgid and key-value pairs format),
console.* messages are directed to legacy-log with PmLogPrint APIs

Also, Copyright is assigned to LG Electronics, Inc.

Changes included
a7e83a9 Direct console.* log messages to legacy-log
b0d7501 Assign Copyright to LG Electronics, Inc.

:Testing Performed:
Compiled locally and tested on a device.

Verified that all console.log, console.error and console.warn messages are
now seen in /var/log/legacy-log file. /var/log/messages is now clean of
JavaScript console log messages.

:QA Notes:

:Issues Addressed:
[GF-8757] Direct console.* messages to legacy-log with PmLogPrint APIs
[GF-5644] Convert HP Copyright to LG
[GF-9243] CCC:nodejs-module-webos-pmlog=14

Open-webOS-DCO-1.0-Signed-off-by: Gayathri Srinivasan <gayathri.srinivasan@lge.com>

Change-Id: I08e7151a96738d6cde5b26620820457e07bd44ab
Reviewed-on: https://g2g.palm.com/2841
Tested-by: Gayathri Srinivasan <gayathri.srinivasan@lge.com>
Reviewed-by: Build Verification
Reviewed-by: Keith Derrick <keith.derrick@lge.com>
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
webos-image: luna-init=v2.0.1,3

c70905b Add files needed for luna-sysservice
ce75098 Assign Copyright to LG Electronics, Inc.
bce9e8f Update build instructions

:Release Notes:
Add files required for luna-sysservice to operate, taken from
the luna-sysmgr package

:Detailed Notes:
It was discovered that luna-sysservice requires the defaultPreferences
and locale information that was provided in the luna-sysmgr package.
Without these files, accounts services do not function.

:Testing Performed:
Accounts services function now.

:QA Notes:
Test email, calendar, contacts.

:Issues Addressed:
[GF-9371] Can't load accounts for calendar, contacts
[GF-9381] CCC

Open-webOS-DCO-1.0-Signed-off-by: Eric Blade <eric.blade@lge.com>

Change-Id: I12d36ce91a968802a27bd4d9d377fcafde888408
Reviewed-on: https://g2g.palm.com/2848
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
Tested-by: Susan Montooth <susan.montooth@lge.com>
webos-filesystem-paths: Add new variables for various locations

:Release Notes:
Add these variables:
  webos_downloadeddir (better name for webos_appstoragedir)
  webos_downloaded_applicationsdir (better name for webos_installedappsdir)
  webos_downloaded_frameworksdir
  webos_downloaded_pluginsdir
  webos_downloaded_servicesdir
  webos_firmwaredir
  webos_mountablestoragedir (better name for webos_localstoragedir)
  webos_persistentstoragedir
  webos_pluginsdir
  webos_udevscriptsdir

:Detailed Notes:
Add commentary on the semantics of various locations.

:Testing Performed:
The output from
  $ make BBFLAGS=-e cjson | grep 'export webos_' | sort
shows that the variables have been set correctly.

:QA Notes:

:Build Notes:
This commit invalidates all shared state.

:Issues Addressed:
[GF-5208] Add /usr/palm/plugins location to webos-filesystem-paths.inc
          and webOS.cmake
[GF-9235] Add /media/cryptofs/data location to
          webos-filesystem-paths.inc and webOS.cmake
[GF-9470] Add /lib/firmware location to webos-filesystem-paths.inc and
          webOS.cmake
[GF-9472] Add /lib/udev location to webos-filesystem-paths.inc and
          webOS.cmake
[GF-9473] Add filesystem path variables for downloaded component
          locations

Open-webOS-DCO-1.0-Signed-off-by: Herb Kuta <herb.kuta@lge.com>
Change-Id: I7abdd55ecd43268111778c00f3c021fa169667c8
Reviewed-on: https://g2g.palm.com/2849
Tested-by: Herb Kuta <herb.kuta@lge.com>
Reviewed-by: Build Verification
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
alsa-plugins: Add PACKAGECONFIG for libav, pulseaudio, jack

:Release Notes:
Support for jack was autodetected from sysroot.

:Detailed Notes:
Convert pulseaudio and libav to PACKAGECONFIGs, pulseaudio is in
DISTRO_FEATURES, because it's in default DISTRO_FEATURES_BACKFILL.

:Testing Performed:
Build tested only

:QA Notes:
No change in image

:Issues Addressed:
[GF-9365] Explicitly enable or disable autodetected dependencies
[ES-118] Evaluate possibility to build everything available in verification jobs

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@lge.com>
Change-Id: I00f45e0630e33112cc74472fef3a9f25b3dcdf25
Reviewed-on: https://g2g.palm.com/2844
Reviewed-by: Build Verification
Reviewed-by: Herb Kuta <herb.kuta@lge.com>
Reviewed-by: Martin Jansa <Martin.Jansa@lge.com>
Tested-by: Martin Jansa <Martin.Jansa@lge.com>
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
webos-image: libpbnjson=15

:Release Notes:
541470a Change component version to 1.4.0
ee2ef1b Prevent modification of schema passed to resolver
c5de8cd Add support of external references in JSON schema
dc32cb2 Remove cosmetic white space errors in source code
16fecb8 Add test for keyword "extends" in JSON schema
92f198e Remove valgrind junk, use CTest facilities instead
c678673 Assign Copyright to LG Electronics, Inc.
83af6a3 Add JGenerator::serialize without check a schema
9ac15cb Add unit test for JValue::hasKey

:Detailed Notes:
Prevent modification of a schema object, that is passed to the resolver
Add support of external references in JSON schema.
Add C API jvalue_tostring_schemainfo with support of external resolver.
Add a new test to check behaviour of json validator on extended schema
Add another JGenerator::serialize without schema verification. It allows
to serialize JValue of any type eg. string, int, array, etc.

:Testing Performed:
Internal unit tests were passed. Unit tests were run with detection of
memory errors

:QA Notes:
Internal test set was extended in order to cover all the changes

:Issues Addressed:
[GF-9500] CCC: libpbnjson=15

Open-webOS-DCO-1.0-Signed-off-by: Alekseyev Oleksandr <alekseyev.oleksandr@lge.com>

Change-Id: I4c03c17c2677880111e22fc550a801308fb9a17c
Reviewed-on: https://g2g.palm.com/2858
Reviewed-by: Keith Derrick <keith.derrick@lge.com>
Tested-by: Keith Derrick <keith.derrick@lge.com>
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
webos-image: luna-service2=151

:Release Notes:
Deprecate API LSRegisterServerStatus.
Add a new API LSRegisterStatusEx as replacement for
LSRegisterServerStatus.
Add a new API LSCancelServerStatus.
Assign Copyright to LG Electronics, Inc.
Add Upstart 1.8 job file

:Detailed Notes:
5dc9b3b Fix memory leak in LSRegisterServerStatus()
d43de38 Assign Copyright to LG Electronics, Inc.
a41f001 luna-service2: add Upstart 1.8 job file

:Testing Performed:
Tested with internal unit tests. The build with the changes was tested on
a TV using miniBAT instructions

:QA Notes:

:Issues Addressed:
[GF-8539] LS2: memory leak in LSRegisterServerStatus()
[GF-5644] Convert HP Copyright to LG
[GF-5620] update coreOS upstart scripts for 1.8

Open-webOS-DCO-1.0-Signed-off-by: Alekseyev Oleksandr <alekseyev.oleksandr@lge.com>

Change-Id: I01639351600e2839075344c38cd75ea5c2334eb7
Reviewed-on: https://g2g.palm.com/2864
Tested-by: Alekseyev Oleksandr <alekseyev.oleksandr@lge.com>
Reviewed-by: Build Verification
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
webos-image: db8=75, activitymanager=111

:Release Notes:
Update submission of db8 from 74 to 75
Update submission of activitymanager from 110 to 111

:Detailed Notes:
activitymanager:  submissions/110...submissions/111
    c7d16c3 add Upstart 1.8 job file
    4664cde Assign Copyright to LG Electronics, Inc.
    40eecf5 Fix anonymous activity finding
    99e1887 Add documentation for activitymanager service API.

db8:  submissions/74...submissions/75
    05d41b4 Documenting MojDbPerfIndexTest
    f7e18f2 Fix array handling of "filter" and add test code
    c3f7a1e CMakeLists: remove RPATH after install
    a261928 gtest_dbcore: Add new test for JSON parsing
    236cf1d Test docs for AutoPointer,Buffer,Decimal and DataSerialization.
    48b88b8 Test Docs for Time,Util,Thread and Vector Tests
    e5ed36d add Upstart 1.8 job files
    c3ca728 Assign Copyright to LG Electronics, Inc.
    e9bb1ac Switch default log level to error

:Testing Performed:
Ran DB8 test suite

:QA Notes:

:Issues Addressed:
[GF-9887] CCC: db8=75, activitymanager=111
[GF-5620] Update coreOS upstart scripts for 1.8
[GF-5644] Convert HP Copyright to LG
[GF-6610] Activity Manager cannot find activity with "activityName"
[GF-7785] MojDbPerfIndex isn't documented
[GF-8444] DB8: Two filtering bugs on "filter" clause
[GF-5379] db8 package contains absolute paths from build machine
[GF-7427] Certain DB8 queries take over 2 minutes at 0% cpu/disk

Change-Id: Ie75da4b23cb3af17be9f8a9c7bf1774991a629af
Open-webOS-DCO-1.0-Signed-off-by: Roger Stringer <roger.stringer@lge.com>
Reviewed-on: https://g2g.palm.com/2876
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
Tested-by: Susan Montooth <susan.montooth@lge.com>