platform/upstream/glib.git
5 months agopackaging: add a sample profiling data file sandbox/sebuns2/use_pgo
Sung-hun Kim [Tue, 21 Nov 2023 06:37:01 +0000 (15:37 +0900)]
packaging: add a sample profiling data file

Signed-off-by: Sung-hun Kim <sfoon.kim@samsung.com>
5 months agoBuild script: add an option for PGO-build
Sung-hun Kim [Tue, 21 Nov 2023 06:30:10 +0000 (15:30 +0900)]
Build script: add an option for PGO-build

To build PGO-enabled glib, you should follow below steps:

 1) Do gbs build with an argument '--define "build_profiling 1"'
   e.g.,) $ gbs build -A aarch64 --define "build_profiling 1"
 2) Install RPM packages on the target machine
 3) Run a workload then collect profiling data files under /tmp/pgo/glib
   e.g.,) # tar zcvf glib_gcov.tar.gz /tmp/pgo/glib
 4) Locate (or copy) the gzipped profiling data tarball in <source root>/glib_gcov.tar.gz
   note) You should rename the file name to "glib_gcov.tar.gz"
 5) Do gbs build with an argument '--define "build_pgo 1"'
 6) You can get the PGO-enabled glib RPM packages

Signed-off-by: Sung-hun Kim <sfoon.kim@samsung.com>
13 months agoEnsure GIO types in async initable creation 28/289928/1 accepted/tizen_8.0_unified backup/glib-2.70.0_20240216 tizen_8.0 accepted/tizen/8.0/unified/20231005.094901 accepted/tizen/unified/20230322.080547 tizen_8.0_m2_release
Michal Bloch [Wed, 15 Mar 2023 16:29:19 +0000 (17:29 +0100)]
Ensure GIO types in async initable creation

Change-Id: I223c719262bfffc5d81a24e555c543a57790f826
Signed-off-by: Michal Bloch <m.bloch@samsung.com>
22 months agofeat: Add glib extension-symbolic package 43/276743/1 accepted/tizen_7.0_unified accepted/tizen_7.0_unified_hotfix tizen_7.0_hotfix accepted/tizen/7.0/unified/20221110.060608 accepted/tizen/7.0/unified/hotfix/20221116.110813 accepted/tizen/unified/20220628.133559 submit/tizen/20220624.041116 tizen_7.0_m2_release
DongHun Kwak [Fri, 24 Jun 2022 02:41:48 +0000 (11:41 +0900)]
feat: Add glib extension-symbolic package

Add glib extension-symbolic package

Change-Id: I5ca40b4434b042d65378f7d39c41502d87626fbe

23 months agotests: Replace helper program with test case 65/274965/1 accepted/tizen/unified/20220525.134612 accepted/tizen/unified/20220526.144027 submit/tizen/20220518.221720 submit/tizen/20220524.054906 submit/tizen/20220525.001052
Karol Lewandowski [Thu, 12 May 2022 21:03:55 +0000 (23:03 +0200)]
tests: Replace helper program with test case

Change-Id: I3ce3cc8a490c23812c650690b83818b3139f63dd

23 months agoMove tests to %{_libdir} 02/274902/1
Karol Lewandowski [Wed, 11 May 2022 14:33:36 +0000 (16:33 +0200)]
Move tests to %{_libdir}

Depending on architecture tests should be placed in /usr/lib or /usr/lib64.

Change-Id: I0c8f301af361b5fa4fafe43600af4cfd9d21bbef

2 years agofeat: set disable_glib_symbolic_funcs 48/274548/1 submit/tizen/20220502.234823 submit/tizen/20220504.002748 submit/tizen/20220509.055313
DongHun Kwak [Mon, 2 May 2022 06:51:58 +0000 (15:51 +0900)]
feat: set disable_glib_symbolic_funcs

Add build option "-Dbsymbolic_functions=false"

Change-Id: I32bfada5399ec516f6706fe3723cf0e487c71503

2 years agogdbus: fix file descriptors passing 57/273557/5
Adrian Szyndela [Thu, 7 Apr 2022 13:48:10 +0000 (15:48 +0200)]
gdbus: fix file descriptors passing

Commit bdd2627a20c36a6f8 introduced an error where in a case
that two messages are already available:
- a message with no file descriptors attached;
- a message with a file descriptor attached,
the file descriptor was erroneously added to the first message.

This commit solves the issue by ensuring that each
message gets proper number of file descriptors.

Change-Id: Ifc529cb4659e7634c7962b648534258062f2635d

2 years agogdbus: use larger buffer for larger reads from socket 91/270491/3
Adrian Szyndela [Wed, 2 Feb 2022 13:49:06 +0000 (14:49 +0100)]
gdbus: use larger buffer for larger reads from socket

When reading a new message from a socket used for D-Bus,
the first read was 16 bytes to include message size,
and then the exact message size was read into buffer.

Now, data is read into a buffer of default size 4096 bytes.
It gives some chance that the data already includes whole
messages, and some of subsequent polls and reads are not needed anymore.

This speeds up receiving of messages.

Change-Id: I1b7f92b0946a3160a5a3efa59344cf0d53920e06

2 years agokdbus: ensure no NameLost is sent after unowning 88/268488/1 accepted/tizen/unified/20211231.161251 submit/tizen/20211230.150444
Adrian Szyndela [Thu, 2 Dec 2021 15:41:16 +0000 (16:41 +0100)]
kdbus: ensure no NameLost is sent after unowning

Kdbus differs from dbus-daemon system in sending things when
a client unowns its name with ReleaseName. Dbus-daemon
first sends NameLost signal, and then replies to the ReleaseName.
On the other hand, in kdbus ReleaseName is an ioctl with
immediate result, and the notification comes later.

If a client owns a name, then unowns the name, and
then immediately owns the name again, the subscriptions
for NameLost signal can catch a signal that was sent when the client
unowned the name. The client interprets such behavior as an unsuccessful
RequestName, even though they actually own the name.

This commit turns off NameLost and NameAcquired subscriptions just
before releasing a name, instead of doing it after releasing a name.
This way, NameLost signal is not received at all at the client,
who is no longer interested in the name.

This is a recommit, as the original commit b00927a4 got lost with merges
along the way.

Change-Id: Ib80539921bf633523bd85fcc431b572dfaf1c263

2 years agoBump to 2.70.0 accepted/tizen/unified/20211222.230518 submit/tizen/20211212.233427
Mateusz Majewski [Tue, 26 Oct 2021 14:42:31 +0000 (16:42 +0200)]
Bump to 2.70.0

Change-Id: I2251e100608e705c82116d8d9c4b98282e8f03e9
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
2 years agoMerge branch 'upstream' into tizen 64/265664/3
Mateusz Majewski [Mon, 8 Nov 2021 10:23:16 +0000 (11:23 +0100)]
Merge branch 'upstream' into tizen

Note: glib/gbytes.c contains a particularly nontrivial merge conflict
resolution inside the g_bytes_get_region function.

Change-Id: Ifea638440da0f0094c3c79e51559c9598d7f6a1d

2 years agoImported Upstream version 2.70.0 upstream/2.70.0
DongHun Kwak [Fri, 29 Oct 2021 01:36:51 +0000 (10:36 +0900)]
Imported Upstream version 2.70.0

2 years agoImported Upstream version 2.69.3 upstream/2.69.3
DongHun Kwak [Fri, 29 Oct 2021 01:36:30 +0000 (10:36 +0900)]
Imported Upstream version 2.69.3

2 years agoImported Upstream version 2.69.2 upstream/2.69.2
DongHun Kwak [Fri, 29 Oct 2021 01:36:08 +0000 (10:36 +0900)]
Imported Upstream version 2.69.2

2 years agoImported Upstream version 2.69.1 upstream/2.69.1
DongHun Kwak [Fri, 29 Oct 2021 01:35:47 +0000 (10:35 +0900)]
Imported Upstream version 2.69.1

2 years agoImported Upstream version 2.69.0 upstream/2.69.0
DongHun Kwak [Fri, 29 Oct 2021 01:35:26 +0000 (10:35 +0900)]
Imported Upstream version 2.69.0

2 years agoImported Upstream version 2.68.4 upstream/2.68.4
DongHun Kwak [Fri, 29 Oct 2021 01:35:04 +0000 (10:35 +0900)]
Imported Upstream version 2.68.4

2 years agoImported Upstream version 2.68.3 upstream/2.68.3
DongHun Kwak [Fri, 29 Oct 2021 01:34:42 +0000 (10:34 +0900)]
Imported Upstream version 2.68.3

2 years agoImported Upstream version 2.68.2 upstream/2.68.2
DongHun Kwak [Fri, 29 Oct 2021 01:34:20 +0000 (10:34 +0900)]
Imported Upstream version 2.68.2

2 years agoImported Upstream version 2.68.1 upstream/2.68.1
DongHun Kwak [Fri, 29 Oct 2021 01:33:58 +0000 (10:33 +0900)]
Imported Upstream version 2.68.1

2 years agoImported Upstream version 2.68.0 upstream/2.68.0
DongHun Kwak [Fri, 29 Oct 2021 01:33:36 +0000 (10:33 +0900)]
Imported Upstream version 2.68.0

2 years agoImported Upstream version 2.67.6 upstream/2.67.6
DongHun Kwak [Fri, 29 Oct 2021 01:33:14 +0000 (10:33 +0900)]
Imported Upstream version 2.67.6

2 years agoImported Upstream version 2.67.5 upstream/2.67.5
DongHun Kwak [Fri, 29 Oct 2021 01:32:52 +0000 (10:32 +0900)]
Imported Upstream version 2.67.5

2 years agoImported Upstream version 2.67.4 upstream/2.67.4
DongHun Kwak [Fri, 29 Oct 2021 01:32:31 +0000 (10:32 +0900)]
Imported Upstream version 2.67.4

2 years agoImported Upstream version 2.67.3 upstream/2.67.3
DongHun Kwak [Fri, 29 Oct 2021 01:32:09 +0000 (10:32 +0900)]
Imported Upstream version 2.67.3

2 years agoImported Upstream version 2.67.2 upstream/2.67.2
DongHun Kwak [Fri, 29 Oct 2021 01:31:47 +0000 (10:31 +0900)]
Imported Upstream version 2.67.2

2 years agoImported Upstream version 2.67.1 upstream/2.67.1
DongHun Kwak [Fri, 29 Oct 2021 01:31:18 +0000 (10:31 +0900)]
Imported Upstream version 2.67.1

2 years agoImported Upstream version 2.67.0 upstream/2.67.0
DongHun Kwak [Fri, 29 Oct 2021 01:30:56 +0000 (10:30 +0900)]
Imported Upstream version 2.67.0

2 years agoImported Upstream version 2.66.8 upstream/2.66.8
DongHun Kwak [Fri, 29 Oct 2021 01:29:08 +0000 (10:29 +0900)]
Imported Upstream version 2.66.8

2 years agoImported Upstream version 2.66.7 upstream/2.66.7
DongHun Kwak [Fri, 29 Oct 2021 01:28:40 +0000 (10:28 +0900)]
Imported Upstream version 2.66.7

2 years agoImported Upstream version 2.66.6 upstream/2.66.6
DongHun Kwak [Fri, 29 Oct 2021 01:28:06 +0000 (10:28 +0900)]
Imported Upstream version 2.66.6

2 years agoImported Upstream version 2.66.5 upstream/2.66.5
DongHun Kwak [Fri, 29 Oct 2021 01:27:37 +0000 (10:27 +0900)]
Imported Upstream version 2.66.5

2 years agoImported Upstream version 2.66.4 upstream/2.66.4
DongHun Kwak [Fri, 29 Oct 2021 01:27:09 +0000 (10:27 +0900)]
Imported Upstream version 2.66.4

2 years agoImported Upstream version 2.66.3 upstream/2.66.3
DongHun Kwak [Fri, 29 Oct 2021 01:26:38 +0000 (10:26 +0900)]
Imported Upstream version 2.66.3

2 years agoImported Upstream version 2.66.2 upstream/2.66.2
DongHun Kwak [Fri, 29 Oct 2021 01:26:09 +0000 (10:26 +0900)]
Imported Upstream version 2.66.2

2 years agoImported Upstream version 2.66.1 upstream/2.66.1
DongHun Kwak [Fri, 29 Oct 2021 01:25:31 +0000 (10:25 +0900)]
Imported Upstream version 2.66.1

2 years agoImported Upstream version 2.66.0 upstream/2.66.0
DongHun Kwak [Fri, 29 Oct 2021 01:25:00 +0000 (10:25 +0900)]
Imported Upstream version 2.66.0

2 years agoImported Upstream version 2.65.3 upstream/2.65.3
DongHun Kwak [Fri, 29 Oct 2021 01:24:23 +0000 (10:24 +0900)]
Imported Upstream version 2.65.3

2 years agoImported Upstream version 2.65.1 upstream/2.65.1
DongHun Kwak [Fri, 29 Oct 2021 01:23:35 +0000 (10:23 +0900)]
Imported Upstream version 2.65.1

2 years agoImported Upstream version 2.65.0 upstream/2.65.0
DongHun Kwak [Fri, 29 Oct 2021 01:23:06 +0000 (10:23 +0900)]
Imported Upstream version 2.65.0

2 years agoImported Upstream version 2.64.6 upstream/2.64.6
DongHun Kwak [Fri, 29 Oct 2021 01:22:34 +0000 (10:22 +0900)]
Imported Upstream version 2.64.6

2 years agoImported Upstream version 2.64.5 upstream/2.64.5
DongHun Kwak [Fri, 29 Oct 2021 01:22:04 +0000 (10:22 +0900)]
Imported Upstream version 2.64.5

2 years agogkdbus: Attach only needed flags 87/262387/3 accepted/tizen_6.5_unified sandbox/backup/glib-2.62.3-20211109 tizen_6.5 accepted/tizen/6.5/unified/20211029.012936 accepted/tizen/unified/20210909.123007 submit/tizen/20210903.093629 submit/tizen/20210906.155759 submit/tizen/20210907.092157 submit/tizen_6.5/20211028.163401 tizen_6.5.m2_release
Karol Lewandowski [Mon, 9 Aug 2021 14:22:01 +0000 (16:22 +0200)]
gkdbus: Attach only needed flags

The kdbus metadata is used for policy verification only, thus limited
set of data should be sufficient.

Change-Id: I551e2886b74e25247615f9103f3ec62b54c8a5b8

3 years agokdbus: add a build option for kdbus module dependency 47/253147/4
Hyotaek Shim [Fri, 5 Feb 2021 01:51:31 +0000 (10:51 +0900)]
kdbus: add a build option for kdbus module dependency

Change-Id: I088e646a3b2994281ac12ed1e88dd3e888a1c905
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
3 years agogkdbus: switch to serialised interface for speedup 60/253760/1 accepted/tizen/unified/20210331.053944 submit/tizen/20210325.115512 submit/tizen/20210329.052414
Adrian Szyndela [Thu, 28 Jan 2021 12:56:41 +0000 (13:56 +0100)]
gkdbus: switch to serialised interface for speedup

This can make handling very small messages about 15% faster.

Change-Id: I1c718e6ce8523d6af889c484e1c5a02281884f4a

3 years agoglib-linux: add memfd_create() syscall number for arm64 architecture 30/251330/1
Łukasz Stelmach [Tue, 12 Jan 2021 13:18:02 +0000 (14:18 +0100)]
glib-linux: add memfd_create() syscall number for arm64 architecture

The number of the memfd_syscall() on arm64 is the same as on arm only
for 32-bit processes. 64-bit process must use the number defined in the
asm-generic/unistd.h kernel header.

Change-Id: I745ce2b97fca72804ef9ad11fe9787cd9ebeed06
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
3 years ago[CVE-2020-6750] gsocketclient.c patch from 2.62.5 62/248362/1 accepted/tizen/unified/20201127.130514 submit/tizen/20201126.015543
DongHun Kwak [Thu, 26 Nov 2020 01:42:38 +0000 (10:42 +0900)]
[CVE-2020-6750] gsocketclient.c patch from 2.62.5

GSocketClient in GNOME GLib through 2.62.4 may occasionally
connect directly to a target address instead of connecting
via a proxy server when configured to do so, because the
proxy_addr field is mishandled. This bug is timing-dependent
and may occur only sporadically depending on network delays.
The greatest security relevance is in use cases where a proxy
is used to help with privacy/anonymity, even though there is
no technical barrier to a direct connection.

Change-Id: If87243d2e4dac9f662b0dac019bca853f7bf9016
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
3 years agoMerge "tizen: Relicense test-runner to MIT" into tizen accepted/tizen_6.0_unified accepted/tizen_6.0_unified_hotfix tizen_6.0 tizen_6.0_hotfix accepted/tizen/6.0/unified/20201030.105037 accepted/tizen/6.0/unified/hotfix/20201103.000504 accepted/tizen/unified/20200911.043120 submit/tizen/20200910.023133 submit/tizen_6.0/20201029.205501 submit/tizen_6.0_hotfix/20201102.192901 submit/tizen_6.0_hotfix/20201103.115101 tizen_6.0.m2_release
Donghun Kwak [Thu, 10 Sep 2020 02:19:20 +0000 (02:19 +0000)]
Merge "tizen: Relicense test-runner to MIT" into tizen

3 years agoFix .gitignore 50/243550/1
Hyotaek Shim [Tue, 8 Sep 2020 05:37:14 +0000 (14:37 +0900)]
Fix .gitignore

Change-Id: I869fed28b5ac102ac0047b924b919554130fcd36
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
3 years agoFix python-xml to python3-xml 07/242507/2 accepted/tizen/unified/20200907.144119 submit/tizen/20200827.104709 submit/tizen/20200901.061507
Hyotaek Shim [Thu, 27 Aug 2020 08:42:23 +0000 (17:42 +0900)]
Fix python-xml to python3-xml

Change-Id: I2c832d8b1f95c51914eaafa97253641465e3ac2a
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
3 years agotizen: Relicense test-runner to MIT 05/242305/1
Karol Lewandowski [Tue, 25 Aug 2020 11:11:57 +0000 (13:11 +0200)]
tizen: Relicense test-runner to MIT

test-runner is solely created and owned by Samsung - no issue to
relicense.

Change-Id: I09bd6016cf8ccfca036657b9274b1be500e51b90

3 years agoAdjust QUARK_BLOCK_SIZE value 35/239135/2 accepted/tizen/unified/20200723.161234 submit/tizen/20200722.054254 submit/tizen/20200722.054728
DongHun Kwak [Wed, 22 Jul 2020 05:20:43 +0000 (14:20 +0900)]
Adjust QUARK_BLOCK_SIZE value

2048 -> 32

Change-Id: I7d668b50905ba0c9022a0e4d82128032981a0550
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
4 years agoFix gdbus-codegen permission denied error 86/225886/1 sandbox/sanghyeok.oh/dbg_gdbusobj accepted/tizen/unified/20200305.051102 submit/tizen/20200225.073745 submit/tizen/20200226.044234 submit/tizen/20200228.032602 submit/tizen/20200304.052327
DongHun Kwak [Tue, 25 Feb 2020 07:28:37 +0000 (16:28 +0900)]
Fix gdbus-codegen permission denied error

Add execute permission

Change-Id: I4448191961410f255e29e726162693eeffa82849

4 years agoRemove .gitignore files 81/225881/1
DongHun Kwak [Tue, 25 Feb 2020 07:02:54 +0000 (16:02 +0900)]
Remove .gitignore files

Change-Id: I47771a493baa660507d3cad06a9df2f09a779557

4 years agokdbus: svace fix 08/223708/4 accepted/tizen/unified/20200224.081401 submit/tizen/20200217.011016
sanghyeok.oh [Mon, 3 Feb 2020 06:40:53 +0000 (15:40 +0900)]
kdbus: svace fix

Change-Id: Ibaf86d8d93df772cc8bf75cdda59817063af70a5
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
4 years agoglib: handle failing getauxval(AT_SECURE) 44/223744/2 submit/tizen/20200203.160801 submit/tizen/20200207.061642 submit/tizen/20200210.073336
Adrian Szyndela [Mon, 3 Feb 2020 14:47:01 +0000 (15:47 +0100)]
glib: handle failing getauxval(AT_SECURE)

Don't bail out with error if getauxval(AT_SECURE) fails.
Instead, set the result of checking suid to FALSE (no suid).

Apparently, Tizen is built with qemu version < 2.12.

qemu 2.12 introduces providing AT_SECURE in auxiliary vector,
and the only purpose of using getauxval in glib is to get AT_SECURE.

If g_check_setuid() bails out with error, some packages may not build,
as their building process requires executing tools that call g_check_setuid().

As stated in commit a7fefb0e4e, getauxval(AT_SECURE) should always success...

This commit may be reverted if all the builds are made within qemu >= 2.12.

Change-Id: I7d0ee9745fea35e9d9337ccffaf5234b2211be02

4 years agoupdate dependency on python to python3 56/223656/1 submit/tizen/20200131.155540
Adrian Szyndela [Fri, 31 Jan 2020 15:52:26 +0000 (16:52 +0100)]
update dependency on python to python3

Change-Id: Ib50cecab4cf4eaac3cc0d1c932dadf087e9f0058

4 years agoMerge 'glib-upgrade-from-2.52.2-to-2.62.3' into 'tizen' 47/223647/1 submit/tizen/20200131.142009
Adrian Szyndela [Fri, 31 Jan 2020 11:33:07 +0000 (12:33 +0100)]
Merge 'glib-upgrade-from-2.52.2-to-2.62.3' into 'tizen'

Change-Id: I386aeab52f02a9f5e5df57bbbb2bac2af2ac6b97

4 years agoBump to 2.62.3 glib-upgrade-from-2.52.2-to-2.62.3
Adrian Szyndela [Thu, 23 Jan 2020 12:38:20 +0000 (13:38 +0100)]
Bump to 2.62.3

Change-Id: Iceaf5fee3bdfa6a6130ccec519fc3d0326a53bb4

4 years agoMerge 2.62.1 up to 2.62.3 into tizen
Adrian Szyndela [Thu, 23 Jan 2020 12:37:03 +0000 (13:37 +0100)]
Merge 2.62.1 up to 2.62.3 into tizen

Change-Id: I7a29860e1cf1521f56537ab147233515c8d4e522

4 years agoBump to 2.62.0
Adrian Szyndela [Thu, 23 Jan 2020 11:38:00 +0000 (12:38 +0100)]
Bump to 2.62.0

Change-Id: I233f1267146e9907916de473841336ce7ef88d1c

4 years agoMerge 2.62.0 into tizen
Adrian Szyndela [Thu, 23 Jan 2020 11:37:31 +0000 (12:37 +0100)]
Merge 2.62.0 into tizen

Change-Id: I3be9de1543394062c1d170b39da05ac305dca971

4 years agoBump to 2.61.0
Adrian Szyndela [Thu, 23 Jan 2020 11:16:50 +0000 (12:16 +0100)]
Bump to 2.61.0

Change-Id: Ie9a8e906cc59a6ecb1dbbbe523570875be81303f

4 years agoMerge 2.61.0 into tizen
Adrian Szyndela [Thu, 23 Jan 2020 11:15:54 +0000 (12:15 +0100)]
Merge 2.61.0 into tizen

Change-Id: I4610654bb2ec8914d1e85e925f337e124894cdac

4 years agoBump to 2.60.7
Adrian Szyndela [Thu, 23 Jan 2020 10:26:28 +0000 (11:26 +0100)]
Bump to 2.60.7

Change-Id: I3b51d5eec01b997e8eeeb35adae2586c597a5ef7

4 years agoMerge 2.60.2 up to 2.60.7 into tizen
Adrian Szyndela [Thu, 23 Jan 2020 10:25:58 +0000 (11:25 +0100)]
Merge 2.60.2 up to 2.60.7 into tizen

Change-Id: Iacfc011a8e5d60bf1c291f67714200aab1dbb735

4 years agoBump to 2.60.1
Adrian Szyndela [Thu, 23 Jan 2020 10:25:43 +0000 (11:25 +0100)]
Bump to 2.60.1

Change-Id: Id87004eb23aa4259fecf0472d459d390921ce892

4 years agoMerge 2.60.1 into tizen
Adrian Szyndela [Thu, 23 Jan 2020 10:13:04 +0000 (11:13 +0100)]
Merge 2.60.1 into tizen

Change-Id: If2ab14f734b8c86ac038cad6db4640964fcc8283

4 years agoBump to 2.60.0
Adrian Szyndela [Wed, 22 Jan 2020 12:43:52 +0000 (13:43 +0100)]
Bump to 2.60.0

Change-Id: I83eb4425a1dd2df56a951e46c18fe59ea6f67bfb

4 years agoMerge 2.60.0 into tizen
Adrian Szyndela [Wed, 22 Jan 2020 12:42:50 +0000 (13:42 +0100)]
Merge 2.60.0 into tizen

Change-Id: I8a4df520c88d40ff8151040aeace30f6035f2673

4 years agoBump to 2.59.3
Adrian Szyndela [Wed, 22 Jan 2020 12:27:45 +0000 (13:27 +0100)]
Bump to 2.59.3

Change-Id: I2a22b67e6b2cb77bea4c6a8062e4db2a7ad1be78

4 years agoMerge 2.59.2 and 2.59.3 into tizen
Adrian Szyndela [Wed, 22 Jan 2020 12:01:30 +0000 (13:01 +0100)]
Merge 2.59.2 and 2.59.3 into tizen

Change-Id: I8dc45b9cae0b46aa022435f30367d7e569b3a0f4

4 years agospec: switch to meson build system
Adrian Szyndela [Wed, 22 Jan 2020 11:45:24 +0000 (12:45 +0100)]
spec: switch to meson build system

This commit is based on commit 9a04ca6058b68 by
DongHun Kwak <dh0128.kwak@samsung.com>.

This switches spec to meson build system which is the only build
system supported by glib 2.59.1.

We also drop the coverage package with this commit.

Change-Id: Iceb6d74380c497b4b02ee4fd30e706b3033a57ca

4 years agoMerge 2.59.1 into tizen
Adrian Szyndela [Fri, 17 Jan 2020 15:50:28 +0000 (16:50 +0100)]
Merge 2.59.1 into tizen

Change-Id: I6fa78cd996ed65492067ba7d8dbdf6dd6e9f8fc0

4 years agoMerge 2.59.0 into tizen
Adrian Szyndela [Fri, 17 Jan 2020 15:50:13 +0000 (16:50 +0100)]
Merge 2.59.0 into tizen

Change-Id: I5fce88747c10d0f110d405e1e6be536d0cc8f2d0

4 years agoMerge 2.58.3 into tizen
Adrian Szyndela [Fri, 17 Jan 2020 12:02:16 +0000 (13:02 +0100)]
Merge 2.58.3 into tizen

Change-Id: Ice31a15a13993b29209d225bb40fb71c3450cf85

4 years agoMerge 2.58.2 into tizen
Adrian Szyndela [Fri, 17 Jan 2020 14:28:35 +0000 (15:28 +0100)]
Merge 2.58.2 into tizen

Change-Id: I73d96372644842bf56342fb57bb1b0dafbebcec6

4 years agoMerge 2.58.1 into tizen
Adrian Szyndela [Fri, 17 Jan 2020 11:53:33 +0000 (12:53 +0100)]
Merge 2.58.1 into tizen

Change-Id: I081c5dd8114c7dea030be1331f77fadc9e289b91

4 years agoMerge 2.58.0 into tizen
Adrian Szyndela [Fri, 17 Jan 2020 11:53:05 +0000 (12:53 +0100)]
Merge 2.58.0 into tizen

Change-Id: I1b66ac798fbdd05ea32555ac181744bac1e6ac02

4 years agoMerge 2.57.3 into tizen
Adrian Szyndela [Fri, 17 Jan 2020 14:38:45 +0000 (15:38 +0100)]
Merge 2.57.3 into tizen

Change-Id: I37491b4aeec59c33f3b0cd8c82364d4d3dcc5de4

4 years agoMerge 2.57.2 into tizen
Adrian Szyndela [Fri, 17 Jan 2020 14:27:39 +0000 (15:27 +0100)]
Merge 2.57.2 into tizen

Change-Id: Id268f3b3a99b482c3023be25bc98cda4e1d41702

4 years agoMerge 2.56.2 up to 2.57.1 into tizen
Adrian Szyndela [Fri, 17 Jan 2020 11:43:44 +0000 (12:43 +0100)]
Merge 2.56.2 up to 2.57.1 into tizen

Change-Id: I4ee99f4126125121280ae7be4bd81821e67e5e0f

4 years agoMerge 2.56.0 into tizen
Adrian Szyndela [Fri, 17 Jan 2020 14:27:02 +0000 (15:27 +0100)]
Merge 2.56.0 into tizen

Change-Id: I69955823f066e16d5884c7bfd0de51e2d165484e

4 years agoMerge 2.55.2 into tizen
Adrian Szyndela [Fri, 17 Jan 2020 11:42:04 +0000 (12:42 +0100)]
Merge 2.55.2 into tizen

Change-Id: I8e4b6ea831dc08217caf040ac620e9b9448e5643

4 years agoMerge 2.55.1 into tizen
Adrian Szyndela [Fri, 17 Jan 2020 11:35:01 +0000 (12:35 +0100)]
Merge 2.55.1 into tizen

Change-Id: Ifc32b4cc67f8ecfc5a1dde9f88af171e0d6f7a68

4 years agoMerge 2.55.0 into tizen
Adrian Szyndela [Fri, 17 Jan 2020 11:31:53 +0000 (12:31 +0100)]
Merge 2.55.0 into tizen

Change-Id: I4672fc63f448f6538a4bd8926ffc85fa47d97648

4 years agoMerge 2.54.3 into tizen
Adrian Szyndela [Fri, 17 Jan 2020 11:23:46 +0000 (12:23 +0100)]
Merge 2.54.3 into tizen

Change-Id: I1fd7856e2afde5a4af5cacc4af26b106a2d81434

4 years agoMerge 2.54.2 into tizen
Adrian Szyndela [Fri, 17 Jan 2020 11:23:22 +0000 (12:23 +0100)]
Merge 2.54.2 into tizen

Change-Id: Ia6a8a89b739d32731bdbb450db1529ccb0d0fbe6

4 years agoMerge 2.54.1 into tizen
Adrian Szyndela [Fri, 17 Jan 2020 11:22:57 +0000 (12:22 +0100)]
Merge 2.54.1 into tizen

Change-Id: I9e6959ba57b540d6ab763c967b45f6434571a830

4 years agoMerge 2.54.0 into tizen
Adrian Szyndela [Fri, 17 Jan 2020 11:22:40 +0000 (12:22 +0100)]
Merge 2.54.0 into tizen

Change-Id: I3a8c6dc9cda35dd0701c68339178ad298b343ebd

4 years agoMerge 2.53.7 into tizen
Adrian Szyndela [Fri, 17 Jan 2020 11:22:03 +0000 (12:22 +0100)]
Merge 2.53.7 into tizen

Change-Id: I99922bc8d7fdbd1668f408eadfd25bbb5948e7b0

4 years agoMerge 2.53.6 into tizen
Adrian Szyndela [Fri, 17 Jan 2020 11:21:34 +0000 (12:21 +0100)]
Merge 2.53.6 into tizen

Change-Id: Ibcc608686e6fc65137383be1dae173c355c8480b

4 years agoMerge 2.53.5 into tizen
Adrian Szyndela [Fri, 17 Jan 2020 11:21:04 +0000 (12:21 +0100)]
Merge 2.53.5 into tizen

Change-Id: Ice0babed16cb3ec467030e4bdce98b43e916d202

4 years agoMerge 2.53.4 into tizen
Adrian Szyndela [Fri, 17 Jan 2020 11:18:41 +0000 (12:18 +0100)]
Merge 2.53.4 into tizen

Change-Id: I92c3ee01a88e92717ab46ca59f3323a6b6a895c6

4 years agoMerge 2.53.3 into tizen
Adrian Szyndela [Fri, 17 Jan 2020 11:15:05 +0000 (12:15 +0100)]
Merge 2.53.3 into tizen

Change-Id: Iacdfcab900941fbdd53a919b0ecfda0cafeca486

4 years agofix for race condition in watching names in kdbus env.
Adrian Szyndela [Mon, 5 Dec 2016 14:38:08 +0000 (15:38 +0100)]
fix for race condition in watching names in kdbus env.

This brings back a necessary fix for watching names in kdbus environment.

The scenario for race condition is as follows:
1. Client calls g_bus_watch_name for a name
2. g_bus_watch_name subscribes for NameOwnerChanged for the name
3. g_bus_watch_name gets name owner for the name
4. the name appears on the bus
5. NameOwnerChanged is received

For non-kdbus system, dbus-daemon is a process which handles names,
sends NameOwnerChanged signals and handles GetNameOwner requests.
Because of its nature, it orders events. On the other side, D-Bus also
guarantees order of messages. Thus, the client will surely get the following
messages in order:
1. GetNameOwner response
2. NameOwnerChanged signal

Some part in it takes client->initialized field. Because the order is
guaranteed, gdbus ignores NameOwnerChanged signals until GetNameOwner
response is received.

For kdbus system, there is no dbus-daemon. NameOwnerChanged signal is sent
by kernel. The response for GetNameOwner is taken synchronously by ioctl.
Before the fix, GetNameOwner response was taken, and put into the receiving
queue artificially. However, if the name appeared on the bus just after ioctl,
the NameOwnerChanged signal could appear before the GetNameOwner response was
processed. It resulted in ignoring the signal. The client was left with
"no name on the bus" state, although the name was already present.

The fix ensures the order of events processing - GetNameOwner response is
processed synchronously, any subsequent NameOwnerChanged signals are not
ignored anymore.

Change-Id: I11fa92a6dae62cb3bdaa4159db0da160752063d1
(cherry picked from commit f1f2e5e4df63f06cac53148e5c91a27a56eea9ca)

4 years agoRevert name watching race condition fix
Adrian Szyndela [Fri, 17 Jan 2020 11:07:07 +0000 (12:07 +0100)]
Revert name watching race condition fix

This reverts three commits aimed to fix a race condition:
a0dc33df372eb7a54a89221b97db753d560fcfd7
dc8a71bcd7e904a6419f8e7cd1a772d8a066c95f
75ab298452793ea20ab1daa255602200bb309ac8

The race condition was fixed in upstream in a different way, so we're
importing it.

Change-Id: Icab842f507b033ef83c984cdc30004a681c69c43

4 years agoMerge 2.53.2 into tizen
Adrian Szyndela [Fri, 17 Jan 2020 11:14:16 +0000 (12:14 +0100)]
Merge 2.53.2 into tizen

Change-Id: If32a06713d2d82d60b99b1480cdffc48aeb4a4de

4 years agoMerge 2.53.1 into tizen
Adrian Szyndela [Fri, 17 Jan 2020 10:44:32 +0000 (11:44 +0100)]
Merge 2.53.1 into tizen

Change-Id: I042296dc6c0260aef55f19927dc5a43a79b200ba