1commit 1dd1d045f059ebc513c6f61868ef75409be2f580 2Author: Emmanuele Bassi <ebassi@gnome.org> 3Date: Thu Nov 12 14:01:37 2009 +0000 4 5 Release 1.1.6 (brown paper bag) 6 7 NEWS | 4 ++++ 8 configure.ac | 4 ++-- 9 2 files changed, 6 insertions(+), 2 deletions(-) 10 11commit 38a7ae84347b4832d3345e56c9cf54e2b1e92637 12Author: Emilio Pozuelo Monfort <pochu27@gmail.com> 13Date: Thu Nov 12 14:36:27 2009 +0100 14 15 Bug 601689: Put linker flags in LDFLAGS and not in LDADD 16 17 unique/Makefile.am | 13 +++++-------- 18 1 files changed, 5 insertions(+), 8 deletions(-) 19 20commit d2ff7cbb869b904de445572e74971a1e0f677d63 21Author: Emmanuele Bassi <ebassi@gnome.org> 22Date: Thu Nov 12 10:18:24 2009 +0000 23 24 Post-release version bump to 1.1.5 25 26 configure.ac | 4 ++-- 27 1 files changed, 2 insertions(+), 2 deletions(-) 28 29commit 30d682ad449992af469f309a558486867850c868 30Author: Emmanuele Bassi <ebassi@gnome.org> 31Date: Thu Nov 12 10:07:15 2009 +0000 32 33 Release 1.1.4 34 35 NEWS | 9 +++++++++ 36 configure.ac | 4 ++-- 37 2 files changed, 11 insertions(+), 2 deletions(-) 38 39commit 5822b9ec98f170c3b069135af88ec6bb4ecda689 40Author: Emmanuele Bassi <ebassi@gnome.org> 41Date: Thu Nov 12 10:02:41 2009 +0000 42 43 enum-types: Put back a missing static 44 45 The enumeration types data should be static, otherwise it'll lead 46 to crashes when looking up the GEnumValue. 47 48 unique/uniqueenumtypes.c.in | 2 +- 49 1 files changed, 1 insertions(+), 1 deletions(-) 50 51commit adf6a995e2804f5f6e23556d48e2f32e77bde5eb 52Author: Emmanuele Bassi <ebassi@gnome.org> 53Date: Fri Nov 6 13:19:41 2009 +0000 54 55 Annotate unique_message_data_[sg]et_uris() 56 57 The fact that the URI array is NULL-terminated should be made clear, 58 in the documentation and the introspection annotations. 59 60 Thanks to: Stephane Delcroix <stephane@delcroix.org> 61 62 unique/uniquemessage.c | 7 ++++--- 63 1 files changed, 4 insertions(+), 3 deletions(-) 64 65commit d7f55f47f298bb6910dc3469310fd6a197e10260 66Author: Emmanuele Bassi <ebassi@gnome.org> 67Date: Fri Nov 6 13:19:29 2009 +0000 68 69 Update repository URI 70 71 README | 2 +- 72 1 files changed, 1 insertions(+), 1 deletions(-) 73 74commit 74eca2a31da13ddea7257b8791b0f31562855466 75Author: Tor Lillqvist <tml@iki.fi> 76Date: Mon Nov 9 01:21:11 2009 +0200 77 78 Make it possible to build with just the D-Bus backend 79 80 Reviewed-by: Emmanuele Bassi <ebassi@gnome.org> 81 82 configure.ac | 6 ++++++ 83 unique/Makefile.am | 9 ++++++++- 84 unique/uniquebackend.c | 6 +++++- 85 3 files changed, 19 insertions(+), 2 deletions(-) 86 87commit e515412d37998c9ee33ee3719203812eacdd5827 88Author: Emmanuele Bassi <ebassi@gnome.org> 89Date: Sun Nov 1 19:14:50 2009 +0000 90 91 build: Install uniqueenumtypes.h 92 93 Add the newly created enumeration GTypes header to the list if 94 installed files. 95 96 unique/Makefile.am | 7 ++++--- 97 1 files changed, 4 insertions(+), 3 deletions(-) 98 99commit d5da75d2e2f1483a5cc392ed71dd1dbcf0f4e443 100Author: Emmanuel Rodriguez <emmanuel.rodriguez@gmail.com> 101Date: Sun Oct 18 22:56:38 2009 +0200 102 103 Document that we can also get/set a filename in a message 104 105 https://bugzilla.gnome.org/show_bug.cgi?id=598871 106 107 unique/uniquemessage.c | 6 ++++-- 108 1 files changed, 4 insertions(+), 2 deletions(-) 109 110commit 69066b419d2ad4cbe23b7595c5f2f1288bb25888 111Author: Emmanuel Rodriguez <emmanuel.rodriguez@gmail.com> 112Date: Sun Oct 18 22:54:41 2009 +0200 113 114 Fix a typo 115 116 https://bugzilla.gnome.org/show_bug.cgi?id=598871 117 118 unique/uniqueapp.c | 2 +- 119 1 files changed, 1 insertions(+), 1 deletions(-) 120 121commit 160200d7e36a648551034ee46cc4cb2962e590a3 122Author: Anders F Bjorklund <afb@users.sourceforge.net> 123Date: Mon Oct 19 15:06:11 2009 +0200 124 125 gdkx.h is x11 only 126 127 https://bugzilla.gnome.org/show_bug.cgi?id=598925 128 129 Signed-off-by: Emmanuele Bassi <ebassi@gnome.org> 130 131 unique/uniquebackend.c | 6 ++++++ 132 1 files changed, 6 insertions(+), 0 deletions(-) 133 134commit a2203280f09b3d259be75330a975d5e9fd2c5bc0 135Author: Emmanuel Rodriguez <emmanuel.rodriguez@gmail.com> 136Date: Tue Oct 20 08:30:20 2009 +0200 137 138 Fix the check for minor in UNIQUE_CHECK_VERSION 139 140 https://bugzilla.gnome.org/show_bug.cgi?id=598870 141 142 Signed-off-by: Emmanuele Bassi <ebassi@gnome.org> 143 144 unique/uniqueversion.h.in | 4 ++-- 145 1 files changed, 2 insertions(+), 2 deletions(-) 146 147commit 4d0af17133a5eb6d2b256d35985f275c23c1cc32 148Author: Emmanuel Rodriguez <emmanuel.rodriguez@gmail.com> 149Date: Sun Oct 18 22:51:24 2009 +0200 150 151 Fix the macro UNIQUE_CHECK_VERSION 152 153 The check for the micro version was done on the wrong variable and 154 it causes a compilation error. 155 156 https://bugzilla.gnome.org/show_bug.cgi?id=598870 157 158 Signed-off-by: Emmanuele Bassi <ebassi@linux.intel.com> 159 160 unique/uniqueversion.h.in | 2 +- 161 1 files changed, 1 insertions(+), 1 deletions(-) 162 163commit 4e6085aac190afd564a184d159f288ff3aca5ffd 164Author: Emmanuele Bassi <ebassi@linux.intel.com> 165Date: Sun Nov 1 18:20:50 2009 +0000 166 167 build: Update build environment 168 169 • Clean up configure.ac and Makefile.am 170 • Use AM_SILENT_RULES if Automake 1.11 is present, and fall 171 back to Shave if it's not 172 • Use the generic Makefile rules for generating enumeration 173 GTypes and signal marshallers 174 • Clean up the Introspection data generation 175 176 .gitignore | 5 ++ 177 Makefile.am | 4 +- 178 build/autotools/Makefile.am | 5 ++- 179 build/autotools/Makefile.am.enums | 43 +++++++++++++++ 180 build/autotools/Makefile.am.marshal | 45 +++++++++++++++ 181 build/autotools/Makefile.am.silent | 17 ++++++ 182 configure.ac | 25 +++++++-- 183 unique/Makefile.am | 102 ++++++++++++++++------------------- 184 unique/bacon/Makefile.am | 7 ++- 185 unique/dbus/Makefile.am | 2 +- 186 unique/unique.h | 1 + 187 unique/uniqueapp.c | 49 +---------------- 188 unique/uniqueapp.h | 6 -- 189 unique/uniqueenumtypes.c.in | 39 +++++++++++++ 190 unique/uniqueenumtypes.h.in | 26 +++++++++ 191 15 files changed, 255 insertions(+), 121 deletions(-) 192 193commit a72ab58ea3b6e9ebb2735981c1266c09504c4b17 194Author: Emmanuele Bassi <ebassi@gnome.org> 195Date: Mon Aug 24 22:50:21 2009 +0100 196 197 [docs] Add a note about requiring gtk_init() 198 199 Be more explicit on requiring GTK+ to be initialized before using 200 LibUnique. 201 202 Fixes bug: 203 204 http://bugzilla.gnome.org/show_bug.cgi?id=585536 205 206 unique/uniqueapp.c | 2 ++ 207 1 files changed, 2 insertions(+), 0 deletions(-) 208 209commit 44d68e939394ceb6384cf2a4b3fc832bdc7389a5 210Author: Emmanuele Bassi <ebassi@gnome.org> 211Date: Mon Aug 24 22:38:10 2009 +0100 212 213 Post-release bump to 1.1.3 214 215 configure.ac | 2 +- 216 1 files changed, 1 insertions(+), 1 deletions(-) 217 218commit 8ed084cf45766e8888d9c32025a4c950eca70c0e 219Author: Emmanuele Bassi <ebassi@gnome.org> 220Date: Mon Aug 24 22:21:45 2009 +0100 221 222 [release] 1.1.2 223 224 NEWS | 13 +++++++++++++ 225 README | 2 +- 226 configure.ac | 2 +- 227 3 files changed, 15 insertions(+), 2 deletions(-) 228 229commit 2aafa7a48d5e0e8cd72244b4f94533ff01537374 230Author: Emmanuele Bassi <ebassi@gnome.org> 231Date: Mon Aug 24 22:35:14 2009 +0100 232 233 [build] Fix distcheck 234 235 unique/Makefile.am | 21 +++++++++++---------- 236 1 files changed, 11 insertions(+), 10 deletions(-) 237 238commit d36e3b3707b1d414e31c45b5d8c0a1d28bc51fbc 239Author: Emmanuele Bassi <ebassi@gnome.org> 240Date: Sun Jun 14 20:50:31 2009 +0100 241 242 Add introspection data generation 243 244 Set up libunique to generate the GObject Introspection XML and typelib 245 from the source files and installed headers. 246 247 .gitignore | 3 + 248 build/autotools/Makefile.am | 7 +++- 249 build/autotools/introspection.m4 | 88 ++++++++++++++++++++++++++++++++++++++ 250 configure.ac | 8 +++- 251 unique/Makefile.am | 36 +++++++++++++++ 252 5 files changed, 140 insertions(+), 2 deletions(-) 253 254commit 9af647ccd7d1ffb03b41557ebdd0b577fb454ae4 255Author: Emmanuele Bassi <ebassi@gnome.org> 256Date: Sun Jun 14 10:56:58 2009 +0100 257 258 Disable single includes in the backends 259 260 We should add the G_DISABLE_SINGLE_INCLUDES symbol inside the 261 dbus/ and bacon/ directories as well. 262 263 unique/bacon/Makefile.am | 1 + 264 unique/dbus/Makefile.am | 1 + 265 2 files changed, 2 insertions(+), 0 deletions(-) 266 267commit dd79ac1bd92afe4002c5ce6d99fda1ebadd26337 268Author: Emmanuele Bassi <ebassi@gnome.org> 269Date: Sun Jun 14 10:52:19 2009 +0100 270 271 [build] Use the AS_COMPILER_FLAGS m4 macro 272 273 We need to check if the compiler we use has support for the anal-retentive 274 maintainer flags we enable with --enable-maintainer-flags. The m4 macro 275 AS_COMPILER_FLAGS allows us to fall back gracefully to the subset of flags 276 that the compiler supports. 277 278 .gitignore | 4 ++- 279 build/autotools/Makefile.am | 2 +- 280 build/autotools/as-compiler-flag.m4 | 62 +++++++++++++++++++++++++++++++++++ 281 configure.ac | 12 ++++-- 282 4 files changed, 74 insertions(+), 6 deletions(-) 283 284commit f6b609721d86ef2edaf1edd976032a557fbc7c1a 285Author: Emmanuele Bassi <ebassi@gnome.org> 286Date: Sun Jun 14 10:39:38 2009 +0100 287 288 [build] Use a variable to hold the D-Bus XML file 289 290 unique/dbus/Makefile.am | 13 ++++++++----- 291 1 files changed, 8 insertions(+), 5 deletions(-) 292 293commit a0d39b1579809e2d644a69b6625fcab0c9f728d0 294Author: Emmanuele Bassi <ebassi@gnome.org> 295Date: Sun Jun 14 10:38:53 2009 +0100 296 297 [build] Show when we're generating the ChangeLog 298 299 Makefile.am | 5 +++-- 300 1 files changed, 3 insertions(+), 2 deletions(-) 301 302commit de65189c7cb4969a1c68ad6fa2d2aca7a9eba5f7 303Author: Armin Burgmeier <armin@arbur.net> 304Date: Sun May 3 15:08:37 2009 +0100 305 306 [app] Remove weak ref on watched windows 307 308 Fixes a crash when a watched window is freed after the UniqueApp 309 was freed. 310 311 Signed-off-by: Emmanuele Bassi <ebassi@gnome.org> 312 313 unique/uniqueapp.c | 27 +++++++++++++++------------ 314 1 files changed, 15 insertions(+), 12 deletions(-) 315 316commit 2e06eb42059afea94e89cf106ed7d7de4cb4db5e 317Author: Emmanuele Bassi <ebassi@gnome.org> 318Date: Sun May 3 10:55:07 2009 +0100 319 320 [app] Use X11-specific API under guards 321 322 We should be using X11-specific API (either GDK-X11 or direct 323 Xlib calls) only under the GDK_WINDOWING_X11 define. 324 325 The only X11-specific code is the slowly_and_stupidly_obtain_timestamp() 326 function we ported over from Nautilus. This function only has sense when 327 dealing with startup notification on X11, so if we are not building for 328 X11 we can safely use g_get_current_time() (we are building a fake startup 329 notification id anyway). 330 331 This commit should hopefully make Libunique a tad more portable; we still 332 need a replacement IPC mechanism for non-Unix platforms, but I hope in 333 D-Bus being ported first. Other platforms startup notification mechanisms 334 should be implemented in GTK+ already. 335 336 unique/uniqueapp.c | 22 +++++++++++++++++++++- 337 1 files changed, 21 insertions(+), 1 deletions(-) 338 339commit 2c594e55d418793a9467eb7ca02db916dd2394dd 340Author: Emmanuele Bassi <ebassi@gnome.org> 341Date: Sun May 3 10:53:05 2009 +0100 342 343 [build] Check for X11 if we are building for it 344 345 Currently we use AC_PATH_XTRA and check for X11 using pkg-config 346 unconditionally. Instead, we should check for GTK+ first, see which 347 GDK target is installed and check for X11 only if we are building 348 against an X11 build. 349 350 configure.ac | 19 ++++++++++++++++--- 351 1 files changed, 16 insertions(+), 3 deletions(-) 352 353commit 9dc7d6b0153a15a58bbbd07b8ecb7b9db999cc1c 354Author: Emmanuele Bassi <ebassi@gnome.org> 355Date: Sun May 3 10:26:07 2009 +0100 356 357 [build] Allow disabling the bacon backend 358 359 Somebody might want to disable the Unix domain sockets based IPC 360 mechanism, especially if we want to increase the future portability 361 of libunique. 362 363 configure.ac | 68 +++++++++++++++++++++++++++++++++++++-------------------- 364 1 files changed, 44 insertions(+), 24 deletions(-) 365 366commit 8160fa256bc8347482c6f661b5aaf46a3a7db199 367Author: Emmanuele Bassi <ebassi@gnome.org> 368Date: Sun May 3 10:25:49 2009 +0100 369 370 [autogen] Remove trailing whitespace 371 372 autogen.sh | 1 - 373 1 files changed, 0 insertions(+), 1 deletions(-) 374 375commit 933b872950c4ca7408bccd68a81b292dc735cad3 376Author: Emmanuele Bassi <ebassi@gnome.org> 377Date: Sun May 3 10:09:50 2009 +0100 378 379 [build] Fix macro usage 380 381 With multi-branch checks we should be using AS_CASE() instead of 382 AS_IF(). We also have a bare if still in place. 383 384 configure.ac | 76 +++++++++++++++++++++++++++++++-------------------------- 385 1 files changed, 41 insertions(+), 35 deletions(-) 386 387commit f01929635748c7b9c83ef1e860be9fc5efba79b7 388Author: Armin Burgmeier <armin@arbur.net> 389Date: Fri Apr 24 19:55:28 2009 +0200 390 391 Fixed an include to match GTK+'s single include policy 392 393 The uniquebackend.h header is still including gdk/gdkscreen.h when 394 it should be including gdk/gdk.h instead. 395 396 Signed-off-by: Emmanuele Bassi <ebassi@gnome.org> 397 398 unique/uniquebackend.h | 2 +- 399 1 files changed, 1 insertions(+), 1 deletions(-) 400 401commit dd9c82a446235ca7ac421d02ee677cb61f34823f 402Author: Emmanuele Bassi <ebassi@gnome.org> 403Date: Sun Apr 19 00:36:21 2009 +0100 404 405 [doap] Add a category element 406 407 unique.doap | 2 ++ 408 1 files changed, 2 insertions(+), 0 deletions(-) 409 410commit aa420d2102344848db98c8c7619c97afa3483e13 411Author: Emmanuele Bassi <ebassi@gnome.org> 412Date: Thu Apr 16 19:55:47 2009 +0100 413 414 [doap] Add GNOME extensions 415 416 The GNOME project provides an extension to DOAP that allows the 417 description of the maintainer/author of a project to specify the 418 GNOME userid. 419 420 unique.doap | 3 +++ 421 1 files changed, 3 insertions(+), 0 deletions(-) 422 423commit 19a1489d018b0b2c1b5d245f86d83d130550d513 424Author: Emmanuele Bassi <ebassi@gnome.org> 425Date: Thu Apr 16 18:25:46 2009 +0100 426 427 [doap] Add DOAP for Unique 428 429 Add the DOAP (Description Of A Project) file for Unique. 430 431 unique.doap | 75 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 432 1 files changed, 75 insertions(+), 0 deletions(-) 433 434commit c192a9774a01a4c340f99d2f63b894f74b3be55a 435Author: Emmanuele Bassi <ebassi@gnome.org> 436Date: Mon Apr 13 22:52:09 2009 +0100 437 438 Add MAINTAINERS file 439 440 We require a MAINTAINERS file for GNOME projects. 441 442 MAINTAINERS | 3 +++ 443 1 files changed, 3 insertions(+), 0 deletions(-) 444 445commit 17e5f0ff821cf026c4fbe5a9fe06be5d7a9c0c60 446Author: Emmanuele Bassi <ebassi@gnome.org> 447Date: Mon Apr 13 22:48:27 2009 +0100 448 449 [build] Dist the shave files 450 451 We need the shave template and m4 files when distchecking libunique. 452 453 build/autotools/Makefile.am | 3 +++ 454 1 files changed, 3 insertions(+), 0 deletions(-) 455 456commit 27c5b08f7d4c8143d860c4ffe6945a67a671894d 457Author: Emmanuele Bassi <ebassi@gnome.org> 458Date: Mon Apr 13 22:47:07 2009 +0100 459 460 [build] Use build/autotools for automake 461 462 We need to reference build/autotools in the ACLOCAL_AMFLAGS variable 463 so that we can use conditionals defined inside m4 files. 464 465 Makefile.am | 2 ++ 466 1 files changed, 2 insertions(+), 0 deletions(-) 467 468commit d89e69f66462631cc3790652ebe299cf2419f552 469Author: Emmanuele Bassi <ebassi@gnome.org> 470Date: Mon Apr 13 22:45:23 2009 +0100 471 472 [build] Patch gtk-doc.make on autogen 473 474 There is a slight issue with gtk-doc's make rules, libtool 1.5 and the 475 shave scripts; it has been fixed upstream and will be available in 476 gtk-doc 1.12, but for the time being we need to live-patch the 477 gtk-doc.make at the end of the autogen process. 478 479 autogen.sh | 20 +++++++++++--------- 480 1 files changed, 11 insertions(+), 9 deletions(-) 481 482commit 4b1d0bbbe1b71f27736d2f4dd3d5f85596f78dca 483Author: Emmanuele Bassi <ebassi@gnome.org> 484Date: Mon Apr 13 18:27:10 2009 +0100 485 486 [build] Clean up the marshallers build rules 487 488 Use the GEN message for consistency and also fix the rule so that 489 it does not output anything on the terminal. 490 491 unique/Makefile.am | 25 ++++++++++++++----------- 492 1 files changed, 14 insertions(+), 11 deletions(-) 493 494commit cafc58430b576ebff224848838510c5e33c60917 495Author: Emmanuele Bassi <ebassi@gnome.org> 496Date: Mon Apr 13 18:26:19 2009 +0100 497 498 [build] Show GEN rules 499 500 When generating the code from the XML description of the D-BUS 501 interface we should be using the GEN message to be consistent 502 with the "shaved" output of the rest of the build. 503 504 unique/dbus/Makefile.am | 6 ++++-- 505 1 files changed, 4 insertions(+), 2 deletions(-) 506 507commit 137650ce9e4210c43bb2f0e848c0ce4e0c34d20c 508Author: Emmanuele Bassi <ebassi@gnome.org> 509Date: Mon Apr 13 18:10:57 2009 +0100 510 511 [build] Make D-Bus user-configurable 512 513 Bug 578777 – libunique 1.0.8 automagic D-Bus support 514 515 Unique should add a configure command line switch to explicitly enable 516 or disable D-Bus support. 517 518 configure.ac | 88 ++++++++++++++++++++++++++++++++++++++++------------------ 519 1 files changed, 61 insertions(+), 27 deletions(-) 520 521commit ad8d8259fd963cb89fd23de1a8981d5422f57585 522Author: Emmanuele Bassi <ebassi@gnome.org> 523Date: Mon Apr 13 17:34:06 2009 +0100 524 525 [build] Add SHAVE support 526 527 SHAVE is a set of scripts and m4 macros for autotools that keep the 528 libtool and compiler outputs sane without requiring redirections to 529 files or /dev/null. 530 531 .gitignore | 15 +++++++- 532 Makefile.am | 2 +- 533 build/Makefile.am | 1 + 534 build/autotools/shave-libtool.in | 69 +++++++++++++++++++++++++++++++++ 535 build/autotools/shave.in | 79 ++++++++++++++++++++++++++++++++++++++ 536 build/autotools/shave.m4 | 77 +++++++++++++++++++++++++++++++++++++ 537 configure.ac | 24 ++++++++---- 538 7 files changed, 257 insertions(+), 10 deletions(-) 539 540commit 481a54d8eba23a7cbec71137cdcc325de68b978e 541Author: Emmanuele Bassi <ebassi@gnome.org> 542Date: Sun Apr 5 09:47:54 2009 +0100 543 544 [build] Disable single includes and deprecation 545 546 Disabling the single header file inclusion and deprecations helps 547 making Unique compliant with the GLib and GTK+ 3.0 API cycle. 548 549 unique/Makefile.am | 4 ++++ 550 1 files changed, 4 insertions(+), 0 deletions(-) 551 552commit af0d50031feeb2a730615620d984b28ea7ab2114 553Author: Emmanuele Bassi <ebassi@gnome.org> 554Date: Sun Apr 5 09:49:20 2009 +0100 555 556 Do not include gtkwindow.h 557 558 Single header file inclusion in GTK+ is deprecated. 559 560 unique/uniqueapp.h | 2 +- 561 1 files changed, 1 insertions(+), 1 deletions(-) 562 563commit 0b31feffedd6a29b35cfda0932d6226a5219d5bb 564Author: Emmanuele Bassi <ebassi@gnome.org> 565Date: Sat Mar 21 20:22:03 2009 +0000 566 567 [docs] Ignore the namespace to build the index 568 569 GTK-Doc 1.11 provides a much useful --name-space argument for the 570 gtkdoc-mkdb utility. By passing a string containing the library 571 namespace to that command line option, we can remove the namespace 572 from the symbols and have a useful index. 573 574 configure.ac | 2 +- 575 doc/reference/Makefile.am | 38 +++++++++++++++++--------------------- 576 2 files changed, 18 insertions(+), 22 deletions(-) 577 578commit 952c91bbae5a6cf044d95416487a0b75c72c8e32 579Author: Takao Fujiwara <takao.fujiwara@sun.com> 580Date: Sat Mar 21 20:01:30 2009 +0000 581 582 Do not attempt to convert UTF-8 data 583 584 Bug 575826 – libunique unique_message_data_[get|set]_text don't work 585 on none UTF-8 586 587 When unique_message_data_set_text() is called on non UTF-8 locales, 588 the argument message_data->data is always set to UTF-8. 589 590 And when unique_message_data_get_text() is called on non UTF-8 locales, 591 it tries to convert the current encoding to UTF-8 even if the string is 592 already UTF-8, so the conversion fails 593 594 The data should be validated and converted only if the UTF-8 validation 595 fails. 596 597 Signed-off-by: Emmanuele Bassi <ebassi@gnome.org> 598 599 unique/uniquemessage.c | 23 +++++++++++++---------- 600 1 files changed, 13 insertions(+), 10 deletions(-) 601 602commit a5a3084b27fe8654cf15d3a4359f7e7a9493040d 603Author: Emmanuele Bassi <ebassi@gnome.org> 604Date: Sat Mar 21 19:59:08 2009 +0000 605 606 [docs] Remove mentions of unique_command_register() 607 608 The unique_command_register() function was replaced by 609 unique_app_add_command(). The documentation and warnings should 610 not be mentioning non-existing functions. 611 612 unique/uniqueapp.c | 6 ++---- 613 1 files changed, 2 insertions(+), 4 deletions(-) 614 615commit 9d2d2799c52bd50b9c6fa327af51ceef2bc52cb8 616Author: Emmanuele Bassi <ebassi@gnome.org> 617Date: Thu Mar 19 14:58:45 2009 +0000 618 619 [docs] Remove mention of non-existing functions 620 621 The custom commands registration process has been changed since 622 the 0.7 cycle. The correct function to register a new custom command 623 is unique_app_add_command(). 624 625 unique/uniqueapp.h | 4 ++-- 626 1 files changed, 2 insertions(+), 2 deletions(-) 627 628commit b123a1cd89195174746ed25c57b95bce01dae8a7 629Author: Emmanuele Bassi <ebassi@gnome.org> 630Date: Thu Mar 19 13:23:09 2009 +0000 631 632 [docs] Show the version in the title 633 634 Follow the convention of most libraries in the GNOME stack, and 635 show the version number in the API reference title. 636 637 doc/reference/unique-docs.xml | 2 +- 638 1 files changed, 1 insertions(+), 1 deletions(-) 639 640commit d55e5e468c926114e6216f52b641e19466c50ad2 641Author: Emmanuele Bassi <ebassi@gnome.org> 642Date: Thu Mar 19 13:17:39 2009 +0000 643 644 [docs] Rename SGML to XML 645 646 The -docs file is an XML file, even if named with the wrong 647 extension. 648 649 doc/reference/Makefile.am | 2 +- 650 doc/reference/unique-docs.sgml | 95 ---------------------------------------- 651 doc/reference/unique-docs.xml | 95 ++++++++++++++++++++++++++++++++++++++++ 652 3 files changed, 96 insertions(+), 96 deletions(-) 653 654commit 940dcc76de715fdbbb1b725d05fb26338f58b029 655Author: Emmanuele Bassi <ebassi@gnome.org> 656Date: Thu Mar 19 13:16:35 2009 +0000 657 658 Eliminate newline in the version XML template 659 660 The newline introduced a break in the title. 661 662 doc/reference/version.xml.in | 2 +- 663 1 files changed, 1 insertions(+), 1 deletions(-) 664 665commit f2b6fc37d94018438aa9a1a2cd13573477c3c371 666Author: Emmanuele Bassi <ebassi@gnome.org> 667Date: Thu Mar 19 12:42:44 2009 +0000 668 669 [build] Update the ChangeLog generation rule 670 671 The ChangeLog generation rule is too simple and might be bound to fail 672 in weird ways. 673 674 The git log command should be run through the "missing" script; it should 675 also use a temporary target, and check that we are running dist from a 676 git checkout. 677 678 Makefile.am | 19 ++++++++++--------- 679 1 files changed, 10 insertions(+), 9 deletions(-) 680 681commit 1d51cfe154c071e61061b2a4dd2bd61ee5ba8570 682Author: Emmanuele Bassi <ebassi@gnome.org> 683Date: Thu Mar 19 12:40:41 2009 +0000 684 685 [configure] Update AC_INIT parameters 686 687 Unique now has a product page on GNOME Bugzilla. Since it's called 688 "libunique" and there's a general agreement that package names should 689 match their Bugzilla product names, the tarball generated by dist 690 should be called "libunique-$VERSION.tar". 691 692 configure.ac | 4 +++- 693 1 files changed, 3 insertions(+), 1 deletions(-) 694 695commit a03c41e75f2476f519db1a9d9847e22b8716afd9 696Author: Halton Huo <halton.huo@sun.com> 697Date: Fri Feb 27 10:01:27 2009 +0000 698 699 [bacon] Chmod the socket file to 0700 700 701 Bug 573366 – bacon socket file should be set mode as 0700 702 703 If user choose use bacon as backend, the mode of socket files created under 704 /var/tmp/unique is 0755. Which means other user can talk to this socket. For 705 security concern, the created socket file should be set mode as 0700. 706 707 Signed-off-by: Emmanuele Bassi <ebassi@gnome.org> 708 709 unique/bacon/uniquebackend-bacon.c | 3 +++ 710 1 files changed, 3 insertions(+), 0 deletions(-) 711 712commit 3e921efe76625291b2098a716f013e09a144188c 713Author: Emmanuele Bassi <ebassi@gnome.org> 714Date: Wed Feb 18 08:49:43 2009 +0000 715 716 Remove the GPL notice from the test 717 718 The test-unique.c test/example is under the GPL, while the rest 719 of the codebase is under the LGPL. It is better to have the whole 720 codebase under a single license. 721 722 Thanks to Vincent Untz. 723 724 tests/test-unique.c | 15 --------------- 725 1 files changed, 0 insertions(+), 15 deletions(-) 726 727commit 5fde109f6476870448e297cae5568f5c8f8b2f3d 728Author: Halton Huo <halton.huo@sun.com> 729Date: Mon Feb 16 11:11:02 2009 +0000 730 731 [build] Support suncc 732 733 We should only set the maintainer compiler flags if we're using gcc. 734 735 Fixes bug 571952 - -Werror cause compile failure with suncc 736 737 Signed-off-by: Emmanuele Bassi <ebassi@linux.intel.com> 738 739 configure.ac | 6 ++++-- 740 1 files changed, 4 insertions(+), 2 deletions(-) 741 742commit 3b36f343bec5147a34f2e589241975efc09871a0 743Author: Matthew Barnes <mbarnes@redhat.com> 744Date: Fri Jan 30 11:47:00 2009 +0000 745 746 Unbreak subclassing of UniqueApp 747 748 As one point, subclassing of UniqueApp was broken by the fact 749 that you cannot pass an empty startup-id since the logic to 750 determine a fake startup notification id was only invoked by 751 the UniqueApp constructors. 752 753 This commit moves the startup notification id checks into its 754 own private setter function that is called by the GObject 755 property machinery when setting the UniqueApp:startup-id 756 property. 757 758 Signed-off-by: Emmanuele Bassi <ebassi@gnome.org> 759 760 unique/uniqueapp.c | 170 ++++++++++++++++++++++++++------------------------- 761 1 files changed, 87 insertions(+), 83 deletions(-) 762 763commit 2c9e349d4fc98a1e675ef64a7e1c9db3f538f60f 764Author: Emmanuele Bassi <ebassi@gnome.org> 765Date: Fri Jan 30 11:44:43 2009 +0000 766 767 [build] Rework the maintainer compiler flags 768 769 Instead of overriding CPPFLAGS we should use a separate variable 770 for holding the optional, anal retentive compiler flags we use when 771 building odd-numbered version and when distchecking. 772 773 Based on a patch by: Halton Huo <halton.huo@sun.com> 774 775 configure.ac | 6 +++--- 776 unique/Makefile.am | 17 ++++++++++------- 777 unique/bacon/Makefile.am | 9 ++++++--- 778 unique/dbus/Makefile.am | 11 +++++++---- 779 4 files changed, 26 insertions(+), 17 deletions(-) 780 781commit c9d632aa464c4d7541f18a33ec377ab06177f16d 782Author: Emmanuele Bassi <ebassi@gnome.org> 783Date: Fri Jan 30 11:43:33 2009 +0000 784 785 [build] Use the right environment variables 786 787 When calling gnome-autogen.sh we need a set of variables for 788 build options and setup. 789 790 autogen.sh | 6 +++--- 791 1 files changed, 3 insertions(+), 3 deletions(-) 792 793commit 38c9a00c3552c5a0f6d879f40c889c66f04fabf0 794Author: Halton Huo <halton.huo@sun.com> 795Date: Fri Jan 30 11:28:23 2009 +0000 796 797 [build] Use gnome-autogen instead of autoreconf 798 799 The gnome-autogen script performs checks and operations that 800 the basic autoreconf does not, like setting up everything for 801 translation and localisation. 802 803 Signed-off-by: Emmanuele Bassi <ebassi@gnome.org> 804 805 autogen.sh | 10 +++++++--- 806 1 files changed, 7 insertions(+), 3 deletions(-) 807 808commit 744046d73f5c76bf489f5d72297251a3af5d1aea 809Author: Emmanuele Bassi <ebassi@gnome.org> 810Date: Mon Dec 22 11:33:15 2008 +0000 811 812 Copy the startup-id string, not just the pointer 813 814 The fix for the memory leak of commit fd7aaf0e exposed the fact 815 that we did not copy the startup notification id across messages, 816 but we simply stored the pointer. 817 818 This commit should fix the double-free errors happening to 819 applications using libunique. 820 821 First report by: George Sherwood 822 Patch provided by: Matthias Clasen, Richard Hughes 823 824 unique/uniquemessage.c | 1 + 825 1 files changed, 1 insertions(+), 0 deletions(-) 826 827commit ab5461dc516a3d3de7d1c1dbd120b8f22be456e7 828Author: Emmanuele Bassi <ebassi@gnome.org> 829Date: Sun Nov 23 11:54:12 2008 +0000 830 831 Post stable branch bump to 1.1.1 832 833 configure.ac | 4 ++-- 834 1 files changed, 2 insertions(+), 2 deletions(-) 835 836commit 9eec8cfadbf5e071958c1fd9d0e2d7b1d40dc1ad 837Author: Emmanuele Bassi <ebassi@gnome.org> 838Date: Sun Nov 23 11:53:22 2008 +0000 839 840 Post release bump to 1.0.5 841 842 configure.ac | 2 +- 843 1 files changed, 1 insertions(+), 1 deletions(-) 844 845commit 68e75a9fe94c6e6c41c956c4dad14a4e071f87a0 846Author: Emmanuele Bassi <ebassi@gnome.org> 847Date: Sun Nov 23 11:50:16 2008 +0000 848 849 [release] Bump to 1.0.4 850 851 configure.ac | 4 ++-- 852 1 files changed, 2 insertions(+), 2 deletions(-) 853 854commit 735994cd72eef67eeadf541c58371fbef2a3da2e 855Author: Emmanuele Bassi <ebassi@gnome.org> 856Date: Sun Nov 23 11:50:06 2008 +0000 857 858 [release] Update the NEWS file 859 860 NEWS | 6 ++++++ 861 1 files changed, 6 insertions(+), 0 deletions(-) 862 863commit fd7aaf0e5ca052eeb3a4641df315baa76dbcd99d 864Author: Cosimo Cecchi <cosimoc@gnome.org> 865Date: Tue Nov 18 14:26:48 2008 +0000 866 867 Plug a leak in UniqueMessageData 868 869 When deallocating a UniqueMessageData we also need to free the 870 startup notification id string. 871 872 Signed-off-by: Emmanuele Bassi <ebassi@gnome.org> 873 874 unique/uniquemessage.c | 1 + 875 1 files changed, 1 insertions(+), 0 deletions(-) 876 877commit d6c2c945cde08a5f92ba7c5d84bf6baab84a00a9 878Author: Emmanuele Bassi <ebassi@gnome.org> 879Date: Sun Oct 26 18:20:02 2008 +0000 880 881 Use g_memdup() when copying message data 882 883 The UniqueMessageData payload can be any binary blob we pass to 884 it using unique_message_data_set(). For this reason, we cannot use 885 g_strndup(), as it will stop at '\0' bytes; we should use g_memdup() 886 instead, which does the right thing. 887 888 unique/uniquemessage.c | 2 +- 889 1 files changed, 1 insertions(+), 1 deletions(-) 890 891commit bade58645058ce11809cb7c7e5f049b97cf843ca 892Author: Emmanuele Bassi <ebassi@gnome.org> 893Date: Sun Oct 26 17:19:59 2008 +0000 894 895 Set the enumeration values as static 896 897 Apparently, when registering an enumeration GType, you have to 898 declar the GEnumValue array holding value, nick and name as a 899 "static const" instead of just "static". This is quite counter- 900 intuitive, since we already have a static variable posing as a 901 guard in place inside the _get_type() function. The GEnum 902 documentation is also particularly scarce in this regard. 903 904 The fix is trivial and does not have side effects, and as it makes 905 libunique behave correctly on OpenBSD so it's a good thing to have 906 in the main tree. 907 908 Patch by: Landry Breuil <gaston@gcu.info> 909 910 Signed-off by: Emmanuele Bassi <ebassi@linux.intel.com> 911 912 unique/uniqueapp.c | 4 ++-- 913 1 files changed, 2 insertions(+), 2 deletions(-) 914 915commit 24bcb71b4668cae83155aa2e28c1dd258fc5be7e 916Author: Emmanuele Bassi <ebassi@gnome.org> 917Date: Wed Oct 1 10:57:14 2008 +0100 918 919 [release] Post-release bump to 1.0.3 920 921 configure.ac | 2 +- 922 1 files changed, 1 insertions(+), 1 deletions(-) 923 924commit c320395109bf31277da140cba83de3c749e376c1 925Author: Emmanuele Bassi <ebassi@gnome.org> 926Date: Wed Oct 1 10:53:55 2008 +0100 927 928 [release] Pre-release bump to 1.0.2 929 930 We're ready to release 1.0.2. 931 932 configure.ac | 2 +- 933 1 files changed, 1 insertions(+), 1 deletions(-) 934 935commit 7080e69d934d532d6d3eba58a5699b0e5561afbb 936Author: Emmanuele Bassi <ebassi@gnome.org> 937Date: Wed Oct 1 10:52:54 2008 +0100 938 939 Use LibUnique and not Unique 940 941 Apparently, somebody is still puzzled by the name of the library. The 942 project is called Unique, the library is LibUnique. 943 944 README | 4 ++-- 945 1 files changed, 2 insertions(+), 2 deletions(-) 946 947commit d7deb278b6d0139ca23dbf1fc3cce83c4af2b78b 948Author: Emmanuele Bassi <ebassi@gnome.org> 949Date: Wed Oct 1 10:52:30 2008 +0100 950 951 [release] Update NEWS 952 953 NEWS | 9 +++++++++ 954 1 files changed, 9 insertions(+), 0 deletions(-) 955 956commit 952197e943e4ff331dade06984367ba65fdf4eb4 957Author: Emmanuele Bassi <ebassi@gnome.org> 958Date: Wed Oct 1 10:43:21 2008 +0100 959 960 Add UniqueCommand type function to the header 961 962 The unique_command_get_type() function was exported but not 963 declared inside the header. 964 965 Thanks to gtk-doc for catching this. 966 967 unique/uniqueapp.h | 2 ++ 968 1 files changed, 2 insertions(+), 0 deletions(-) 969 970commit ec6b075f81d249d1ead8be632529951fc697e825 971Author: Emmanuele Bassi <ebassi@gnome.org> 972Date: Wed Oct 1 10:42:14 2008 +0100 973 974 Remove a compiler warning 975 976 If we warn about an invalid input value, we should be good citizens 977 and return NULL - not garbage. 978 979 unique/uniqueapp.c | 5 ++++- 980 1 files changed, 4 insertions(+), 1 deletions(-) 981 982commit 4d5cd3934e178e7b5f8d508d3d9c4ec17cd0737a 983Author: Emmanuele Bassi <ebassi@gnome.org> 984Date: Wed Oct 1 10:40:38 2008 +0100 985 986 Silence a compiler warning 987 988 We store the UniqueMessageData payload as an unsigned char, so we should 989 cast the pointer when passing it to g_strndup(). 990 991 unique/uniquemessage.c | 2 +- 992 1 files changed, 1 insertions(+), 1 deletions(-) 993 994commit 923b2c8d94425e39c4b4d197199a21b5967a79e7 995Author: Emmanuele Bassi <ebassi@gnome.org> 996Date: Wed Oct 1 10:39:00 2008 +0100 997 998 [build] Use git log when building the ChangeLog 999 1000 Instead of using a local script, use git log to build up the ChangeLog 1001 file. This will allow valid dists on boxes different than mine. 1002 1003 Makefile.am | 2 +- 1004 1 files changed, 1 insertions(+), 1 deletions(-) 1005 1006commit 3d4e8c998b58b88a448ce11b37263638c13467cb 1007Author: Emmanuele Bassi <ebassi@gnome.org> 1008Date: Wed Oct 1 10:33:06 2008 +0100 1009 1010 [docs] Add filename accessors to the API reference 1011 1012 Put the newly added filename accessor functions for UniqueMessageData 1013 into the API reference. 1014 1015 doc/reference/unique-sections.txt | 2 ++ 1016 1 files changed, 2 insertions(+), 0 deletions(-) 1017 1018commit f0f67a3ef8985b3864f580c9c03119501b02beea 1019Author: Emmanuele Bassi <ebassi@gnome.org> 1020Date: Wed Oct 1 10:29:12 2008 +0100 1021 1022 [message] Add filename accessors 1023 1024 Allow setting and getting a filename inside a UniqueMessageData. 1025 1026 Using set_text()/get_text() to set filenames might break on non-UTF-8 1027 locales because of the implicit text conversion; for this we need an 1028 accessor pair that sets a raw C string. Since we added the raw getter 1029 in a previous commit, it's safe to provide a simple wrapper around 1030 unique_message_data_set()/unique_message_data_get() for setting plain 1031 C strings such as filenames. 1032 1033 Kudos to Alex Larsson for the idea. 1034 1035 unique/uniquemessage.c | 40 ++++++++++++++++++++++++++++++++++++++++ 1036 unique/uniquemessage.h | 3 +++ 1037 2 files changed, 43 insertions(+), 0 deletions(-) 1038 1039commit 9bde1cd2023706d226bf30665ac72c2cbe454d8f 1040Author: Emmanuele Bassi <ebassi@gnome.org> 1041Date: Wed Oct 1 10:20:28 2008 +0100 1042 1043 Add a warning in the string/enum translation 1044 1045 In case we don't find a GEnumValue using the provided string we 1046 should emit a warning. 1047 1048 Since not finding an enumeration is a programmer error we should 1049 warn on the console. 1050 1051 unique/uniqueapp.c | 5 ++++- 1052 1 files changed, 4 insertions(+), 1 deletions(-) 1053 1054commit 8d3b8f1f17f94f7f5540547603606d1a862768ab 1055Author: Emmanuele Bassi <ebassi@gnome.org> 1056Date: Wed Oct 1 10:19:30 2008 +0100 1057 1058 [docs] Add unique_message_data_get() to the API 1059 1060 Put the newly added unique_message_data_get() function into the 1061 gtk-doc generated API reference. 1062 1063 doc/reference/unique-sections.txt | 6 ++++++ 1064 1 files changed, 6 insertions(+), 0 deletions(-) 1065 1066commit 134d798ef31b13218e2cc8906ec33f536c118c5d 1067Author: Emmanuele Bassi <ebassi@gnome.org> 1068Date: Wed Oct 1 10:17:20 2008 +0100 1069 1070 [message] Add raw data getter 1071 1072 UniqueMessageData has a setter function for setting raw data inside 1073 the structure, but it is missing a raw data getter. 1074 1075 This commit adds unique_message_data_get() which returns a pointer to 1076 the internal raw data and the length of the data. 1077 1078 Using this new getter it is possible to implement other types of accessor 1079 functions than the text/URIs LibUnique already ships. 1080 1081 unique/uniquemessage.c | 28 ++++++++++++++++++++++++++++ 1082 unique/uniquemessage.h | 37 ++++++++++++++++++++----------------- 1083 2 files changed, 48 insertions(+), 17 deletions(-) 1084 1085commit 029ce8abd022525506f5646d2f650bd1a6f378c7 1086Author: Emmanuele Bassi <ebassi@gnome.org> 1087Date: Sun Sep 7 06:21:56 2008 +0100 1088 1089 Intern some constant strings 1090 1091 Use the intering capability of GLib on the type names and the 1092 signal name of UniqueApp::message-received. 1093 1094 unique/uniqueapp.c | 6 +++--- 1095 unique/uniqueinternals.h | 2 ++ 1096 unique/uniquemessage.c | 2 +- 1097 3 files changed, 6 insertions(+), 4 deletions(-) 1098 1099commit c63d6e60eecf6d2e3b83d38f4448aa40cbde37a0 1100Author: Emmanuele Bassi <ebassi@gnome.org> 1101Date: Thu Jul 31 14:45:05 2008 +0100 1102 1103 Do not export private symbols by default 1104 1105 unique/Makefile.am | 1 + 1106 1 files changed, 1 insertions(+), 0 deletions(-) 1107 1108commit 34f551931336e34dca4e67f16cf088d66de83b1f 1109Author: Emmanuele Bassi <ebassi@gnome.org> 1110Date: Thu Jul 31 14:43:07 2008 +0100 1111 1112 Namespace the LT versioning 1113 1114 Libtool >= 2.2 complains if it finds a variable called ^LT_* inside 1115 the configure. The simple fix is to just preprend the project name 1116 to the LT_ variables. 1117 1118 configure.ac | 8 ++++---- 1119 unique/Makefile.am | 2 +- 1120 2 files changed, 5 insertions(+), 5 deletions(-) 1121 1122commit 377c60323f4d618bfbe31471097782961d85f12d 1123Author: Emmanuele Bassi <ebassi@gnome.org> 1124Date: Thu Jul 31 14:40:04 2008 +0100 1125 1126 Explicitly require x11 1127 1128 Since we are using native X11 calls, we need to require X11 as well 1129 as glib and gtk+. 1130 1131 This should make compilation with --as-needed work again. 1132 1133 configure.ac | 3 ++- 1134 1 files changed, 2 insertions(+), 1 deletions(-) 1135 1136commit afa9032684706700a8af4752fc21e818a0796a3b 1137Author: Emmanuele Bassi <ebassi@gnome.org> 1138Date: Wed Jul 30 11:04:35 2008 +0100 1139 1140 Add a dist-hook to generate the ChangeLog 1141 1142 Makefile.am | 8 ++++---- 1143 1 files changed, 4 insertions(+), 4 deletions(-) 1144 1145commit ecf56af700522f4cdb41d34d38b5633dcc22b765 1146Author: Emmanuele Bassi <ebassi@gnome.org> 1147Date: Tue Jul 29 23:06:02 2008 +0100 1148 1149 Post-release bump to 1.0.1 1150 1151 configure.ac | 2 +- 1152 1 files changed, 1 insertions(+), 1 deletions(-) 1153 1154commit c48ddf6cb0917acb544054017941e89f9c857523 1155Author: Emmanuele Bassi <ebassi@gnome.org> 1156Date: Tue Jul 29 23:05:00 2008 +0100 1157 1158 Release 1.0.0 1159 1160 NEWS | 5 +++++ 1161 configure.ac | 6 +++--- 1162 2 files changed, 8 insertions(+), 3 deletions(-) 1163 1164commit 0b4bcaa8c9f5f91a64b802a904de0c45d13c6298 1165Author: Emmanuele Bassi <ebassi@gnome.org> 1166Date: Tue Jul 29 23:01:16 2008 +0100 1167 1168 Set the screen as well as presenting 1169 1170 The default behaviour if all handlers fell through is to 1171 present the first GtkWindow and setting it to the same 1172 screen from whence the message came. 1173 1174 unique/uniqueapp.c | 7 ++++++- 1175 1 files changed, 6 insertions(+), 1 deletions(-) 1176 1177commit 7af32e2a5a10b32e3e1908e6109589c47643fa62 1178Author: Emmanuele Bassi <ebassi@gnome.org> 1179Date: Tue Jul 29 23:01:05 2008 +0100 1180 1181 Remove spurious g_print() 1182 1183 unique/uniqueapp.c | 4 ---- 1184 1 files changed, 0 insertions(+), 4 deletions(-) 1185 1186commit f6e18145dd486f81f927edb292e6b58f4fb07add 1187Author: Emmanuele Bassi <ebassi@gnome.org> 1188Date: Tue Jul 29 22:47:46 2008 +0100 1189 1190 Provide a default handler for ::message-received 1191 1192 Without a default handler, the message accumulation would fall 1193 through and the response would always be INVALID. 1194 1195 The intended behaviour is that the ::message-received signal 1196 emission chain should continue until a handler returns a valid 1197 response code meaning: "I handled the signal". What is missing 1198 is a way to tell the signal machinery that the handler did not 1199 handle the signal. Hence, the UNIQUE_RESPONSE_PASSTHROUGH 1200 response code has been added. 1201 1202 The signal emission chain also needs a final handler, some place 1203 that says that the bucket stops there; for this, we need a 1204 class handler for the ::message-received signal. The default 1205 behaviour, if no handler returned a valid code or if no handler 1206 has been set, is to just call gtk_window_present() on the first 1207 window inside the watch list. Obviously, if this is not the 1208 wanted behaviour, you can either connect a handler to the signal 1209 and stop the emission chain or you can subclass the UniqueApp 1210 class and override the class handler yourself. 1211 1212 Thanks to John Wendell for pointing out this gaping bug and for 1213 the investigation. 1214 1215 unique/uniqueapp.c | 32 ++++++++++++++++++++++++++++++-- 1216 unique/uniqueapp.h | 4 +++- 1217 2 files changed, 33 insertions(+), 3 deletions(-) 1218 1219commit 001e6687085a5bc2d8cbb0c8a721e7ba228a55f8 1220Author: Emmanuele Bassi <ebassi@openedhand.com> 1221Date: Wed May 14 14:35:10 2008 +0100 1222 1223 Rework the configure summary 1224 1225 Visually separate the summary with a new line from both the 1226 configure output and the next prompt. 1227 1228 Also, center-align the configuration parameters list. 1229 1230 configure.ac | 10 ++++++---- 1231 1 files changed, 6 insertions(+), 4 deletions(-) 1232 1233commit b9a89e1f3c7c8bcd40b84001e12e7ee6edfb2196 1234Author: Emmanuele Bassi <ebassi@openedhand.com> 1235Date: Wed May 14 14:33:33 2008 +0100 1236 1237 Clean up the autogen script 1238 1239 Unique needs a simpler autogen script than the one used by GTK+ 1240 that I copied a long time ago. 1241 1242 autogen.sh | 110 ++++++------------------------------------------------------ 1243 1 files changed, 11 insertions(+), 99 deletions(-) 1244 1245commit c9f59faa91670503f558344ce713e7b2c3d348ff 1246Author: Emmanuele Bassi <ebassi@openedhand.com> 1247Date: Wed May 14 13:06:12 2008 +0100 1248 1249 Do not use static GEnumValues 1250 1251 To avoid useless relocations, the GEnumValues should not be set 1252 as static; the values are used once anyway. 1253 1254 unique/uniqueapp.c | 4 ++-- 1255 1 files changed, 2 insertions(+), 2 deletions(-) 1256 1257commit ef974992c040524b9d26974fa3c058f762d94990 1258Author: Richard Hughes <hughsient@gmail.com> 1259Date: Wed May 14 12:00:27 2008 +0100 1260 1261 Another compilation fix 1262 1263 tests/test-unique.c | 5 ++--- 1264 1 files changed, 2 insertions(+), 3 deletions(-) 1265 1266commit 668558e10e9608d10ea9f43bc2cee2ffe123a658 1267Author: Richard Hughes <hughsient@gmail.com> 1268Date: Wed May 14 12:00:03 2008 +0100 1269 1270 Compilation fix 1271 1272 unique/bacon/uniquemessage-bacon.c | 2 +- 1273 1 files changed, 1 insertions(+), 1 deletions(-) 1274 1275commit 5f6843416de7b076f358e4abd3a66ff486e8b770 1276Author: Emmanuele Bassi <ebassi@openedhand.com> 1277Date: Wed Apr 16 12:30:17 2008 +0100 1278 1279 Release 0.9.4 1280 1281 Post release bump up to 0.9.5. 1282 1283 configure.ac | 2 +- 1284 1 files changed, 1 insertions(+), 1 deletions(-) 1285 1286commit d99468076fa0b6f831d8c01ec96385f39742398c 1287Author: Emmanuele Bassi <ebassi@openedhand.com> 1288Date: Wed Apr 16 12:25:38 2008 +0100 1289 1290 Include the versioning informations section 1291 1292 doc/reference/unique-docs.sgml | 1 + 1293 1 files changed, 1 insertions(+), 0 deletions(-) 1294 1295commit 128619862aa184bc13efaac8601d4801dd5e9e31 1296Author: Emmanuele Bassi <ebassi@openedhand.com> 1297Date: Wed Apr 16 12:24:39 2008 +0100 1298 1299 Add titles and subsections to the templates 1300 1301 Clean up the API reference a bit, by setting titles for each 1302 section and splitting API into logical subsections. 1303 1304 doc/reference/unique-sections.txt | 4 ++++ 1305 1 files changed, 4 insertions(+), 0 deletions(-) 1306 1307commit f44ae08a193915d1104bdf73f81e474af9cef8fa 1308Author: Emmanuele Bassi <ebassi@openedhand.com> 1309Date: Wed Apr 16 12:24:03 2008 +0100 1310 1311 Protect bare numbers 1312 1313 The version numbers should be protected using parenthesis. 1314 1315 unique/uniqueversion.h.in | 16 +++++++++++----- 1316 1 files changed, 11 insertions(+), 5 deletions(-) 1317 1318commit ac1fdbc1a01f5d8dcce9d5c7fda876c613a03a30 1319Author: Emmanuele Bassi <ebassi@openedhand.com> 1320Date: Wed Apr 16 11:47:49 2008 +0100 1321 1322 Change the default return value of the ::message-received signal 1323 1324 If no signal handler has been connected to the ::message-received 1325 signal, UniqueApp should return UNIQUE_RESPONSE_OK by default and 1326 not UNIQUE_RESPONSE_INVALID. 1327 1328 unique/uniqueapp.c | 7 ++++--- 1329 1 files changed, 4 insertions(+), 3 deletions(-) 1330 1331commit 953ccbdb3c8731fcb92dd0da4cc3ae6a169fb6c1 1332Author: Emmanuele Bassi <ebassi@openedhand.com> 1333Date: Wed Apr 16 11:47:39 2008 +0100 1334 1335 Fix typo in the documentation 1336 1337 unique/uniqueapp.c | 2 +- 1338 1 files changed, 1 insertions(+), 1 deletions(-) 1339 1340commit 3afea0c11bd755f811ed748d8da066820d7f038f 1341Author: Emmanuele Bassi <ebassi@openedhand.com> 1342Date: Wed Apr 16 11:40:43 2008 +0100 1343 1344 Update project page and main repository 1345 1346 README | 4 ++-- 1347 1 files changed, 2 insertions(+), 2 deletions(-) 1348 1349commit ab42cdde65d68d9b25238aa3d9e59ef39807515f 1350Author: Emmanuele Bassi <ebassi@openedhand.com> 1351Date: Wed Apr 16 11:30:33 2008 +0100 1352 1353 Clean up the test case 1354 1355 Raise the main window first, then create the dialog, since the 1356 message dialog is blocking (with gtk_dialog_run()). 1357 1358 tests/test-unique.c | 13 ++++--------- 1359 1 files changed, 4 insertions(+), 9 deletions(-) 1360 1361commit 98b799ec6e774094a99fbe115d6ed562d4b8e4c6 1362Author: Emmanuele Bassi <ebassi@openedhand.com> 1363Date: Wed Apr 16 11:28:11 2008 +0100 1364 1365 Update the startup notification id on the watched windows 1366 1367 We need to set the new startup notification id on the list of 1368 watched window before actually emitting the ::message-received 1369 signal, otherwise calls like gtk_window_present() will not 1370 work. 1371 1372 By removing the default signal handler for ::message-received 1373 and calling gtk_window_set_startup_id() inside the 1374 unique_app_emit_message_received() function we can set the 1375 newly received startup notification id and "do the right thing". 1376 1377 Thanks to Ross Burton for tracking this down. 1378 1379 unique/uniqueapp.c | 44 ++++++++++++++++++-------------------------- 1380 1 files changed, 18 insertions(+), 26 deletions(-) 1381 1382commit 113a858dc1c8e10830d2f5c8a81405465337b82a 1383Author: Emmanuele Bassi <ebassi@openedhand.com> 1384Date: Sun Sep 30 17:03:20 2007 +0100 1385 1386 Use the correct variable for the debug compiler flags 1387 1388 We use UNIQUE_DEBUG_CFLAGS now, so we need to update the Makefile 1389 template with the right variable in order to use the debug messages 1390 and symbols. 1391 1392 unique/dbus/Makefile.am | 2 +- 1393 1 files changed, 1 insertions(+), 1 deletions(-) 1394 1395commit 02c7741aaca8120fd9444f85868ca524d97fd616 1396Author: Emmanuele Bassi <ebassi@openedhand.com> 1397Date: Sun Sep 30 17:01:48 2007 +0100 1398 1399 Document which fields in UniqueMessageData are automatically set 1400 1401 Libunique sets some fields of the UniqueMessageData structure when 1402 emitting the UniqueApp::message-received signal. This commit adds 1403 the documentation blurb to let the developer know which fields are 1404 always set, even if a command was sent without a UniqueMessageData 1405 structure. 1406 1407 unique/uniquemessage.c | 18 +++++++++++------- 1408 1 files changed, 11 insertions(+), 7 deletions(-) 1409 1410commit b05cf637e816f88143e1fd572f73634108bc81d3 1411Author: Emmanuele Bassi <ebassi@openedhand.com> 1412Date: Sun Sep 30 16:58:09 2007 +0100 1413 1414 Rename "maximum" debug level to "yes" 1415 1416 Use a semi-standard value instead of using a custom name, and potentially 1417 break all the build script defaulting to --enable=debug=yes. 1418 1419 configure.ac | 6 +++--- 1420 1 files changed, 3 insertions(+), 3 deletions(-) 1421 1422commit 3380fc0ded7e0dea7c265833373bc9dc768b7924 1423Author: Emmanuele Bassi <ebassi@openedhand.com> 1424Date: Sun Sep 30 16:56:43 2007 +0100 1425 1426 Rearrange the order of the SUBDIRS to build source before documentation 1427 1428 Makefile.am | 4 ++-- 1429 1 files changed, 2 insertions(+), 2 deletions(-) 1430 1431commit b0958f979d13fdb2a8fcab8863db66dc65dff309 1432Author: Emmanuele Bassi <ebassi@openedhand.com> 1433Date: Fri Sep 14 15:12:44 2007 +0100 1434 1435 Update the debug flags when compiling with debug turned on 1436 1437 Use -Wall -g in case we're compiling with the minimum debug level. Define 1438 UNIQUE_ENABLE_DEBUG if we're running with high debug level. 1439 1440 configure.ac | 11 +++++++---- 1441 unique/Makefile.am | 2 +- 1442 2 files changed, 8 insertions(+), 5 deletions(-) 1443 1444commit acd32288982041ba8e7f9b77d28d43935d666358 1445Author: Emmanuele Bassi <ebassi@openedhand.com> 1446Date: Tue Apr 15 22:58:43 2008 +0100 1447 1448 Raise the dialog and then the main window 1449 1450 In the example code, use gtk_window_present_with_time() and the 1451 urgency hint on the dialog; then, when the dialog gets destroyed, 1452 use present_with_time() on the main window. 1453 1454 tests/test-unique.c | 10 ++++++---- 1455 1 files changed, 6 insertions(+), 4 deletions(-) 1456 1457commit ddd1e188f44aa2c5581b178ca46a57f12be49037 1458Author: Jonny Lamb <jonnylamb@jonnylamb.com> 1459Date: Mon Apr 14 04:00:21 2008 +0100 1460 1461 Fixed signed-ness issue with text length argument 1462 1463 In unique_message_data_set_text, if length is -1, the length of the 1464 string will be used, however length is an unsigned int causing a 1465 segfault when -1 is used. 1466 1467 Signed-off-by: Jonny Lamb <jonnylamb@jonnylamb.com> 1468 1469 unique/uniquemessage.c | 2 +- 1470 unique/uniquemessage.h | 2 +- 1471 2 files changed, 2 insertions(+), 2 deletions(-) 1472 1473commit 244529f2b8e4ebcfb4f6d4b4f1f20080fafc363b 1474Author: Jonny Lamb <jonnylamb@jonnylamb.com> 1475Date: Mon Apr 14 13:42:20 2008 +0100 1476 1477 Fixed a typo in the gtk-doc 1478 1479 Signed-off-by: Jonny Lamb <jonnylamb@jonnylamb.com> 1480 1481 unique/uniquemessage.c | 2 +- 1482 1 files changed, 1 insertions(+), 1 deletions(-) 1483 1484commit 1e942e9fca4b1dd225eb6a84929effcd3e02ab5a 1485Author: Emmanuele Bassi <ebassi@openedhand.com> 1486Date: Tue Apr 15 22:45:40 2008 +0100 1487 1488 Add a missing else to avoid overwriting the SN id 1489 1490 The startup notification id was overridden every time, even when 1491 we had it; this caused a leak if we didn't have it and we generated 1492 a "fake" id, and it also caused the whole machinery to stop working. 1493 1494 Thanks to Jonny Lamb and Ross Burton for catching it. 1495 1496 unique/uniqueapp.c | 4 ++-- 1497 1 files changed, 2 insertions(+), 2 deletions(-) 1498 1499commit 4c8b79d640715330c2260611db82a10b41879f0d 1500Author: Emmanuele Bassi <ebassi@openedhand.com> 1501Date: Wed Sep 12 15:28:59 2007 +0100 1502 1503 Update gitignore file 1504 1505 doc/reference/.gitignore | 1 + 1506 1 files changed, 1 insertions(+), 0 deletions(-) 1507 1508commit c79a831ffb924a7a7e6c02ba5caae0ae07f87259 1509Author: Emmanuele Bassi <ebassi@openedhand.com> 1510Date: Wed Sep 12 15:28:21 2007 +0100 1511 1512 Bump up to 0.9.4 1513 1514 configure.ac | 2 +- 1515 1 files changed, 1 insertions(+), 1 deletions(-) 1516 1517commit 6e594e08f0efc70d08df24f597df11b35e4ed325 1518Author: Emmanuele Bassi <ebassi@openedhand.com> 1519Date: Wed Sep 12 15:28:01 2007 +0100 1520 1521 Fix a typo in the gtk-doc 1522 1523 unique/uniquebackend.c | 2 +- 1524 1 files changed, 1 insertions(+), 1 deletions(-) 1525 1526commit dba4dbcdacfcd9e7a7136803d3a2a837f4de67a3 1527Author: Emmanuele Bassi <ebassi@openedhand.com> 1528Date: Thu Jul 19 18:00:00 2007 +0100 1529 1530 Fix merge fallout 1531 1532 unique/uniqueapp.c | 9 --------- 1533 1 files changed, 0 insertions(+), 9 deletions(-) 1534 1535commit 6679fae40243daf36ac4c35e424c8ecf192afb8b 1536Merge: 246b494 7b0ca4c 1537Author: Emmanuele Bassi <ebassi@openedhand.com> 1538Date: Thu Jul 19 17:36:12 2007 +0100 1539 1540 Merge branch 'window-watch' into work 1541 1542commit 246b494a56136c1796f858d74316bd0d4459a3ca 1543Author: Emmanuele Bassi <ebassi@openedhand.com> 1544Date: Thu Jul 19 17:35:41 2007 +0100 1545 1546 Rename message-received signal emitter 1547 1548 Use the full message name instead of just message. 1549 1550 unique/bacon/uniquefactory-bacon.c | 6 +++--- 1551 unique/dbus/uniquefactory-dbus.c | 2 +- 1552 unique/uniqueapp.c | 10 +++++----- 1553 unique/uniqueinternals.h | 8 ++++---- 1554 4 files changed, 13 insertions(+), 13 deletions(-) 1555 1556commit 28994134de437449e16aa5c88c53ec37241fac7e 1557Author: Emmanuele Bassi <ebassi@openedhand.com> 1558Date: Thu Jul 19 17:27:05 2007 +0100 1559 1560 Update gitignore files 1561 1562 .gitignore | 1 + 1563 po/.gitignore | 1 + 1564 unique/.gitignore | 1 + 1565 3 files changed, 3 insertions(+), 0 deletions(-) 1566 1567commit 7b0ca4cb7b44e1ca2828df2fa98330a5ec0ae692 1568Merge: ef4045b 1d2f916 1569Author: Emmanuele Bassi <ebassi@openedhand.com> 1570Date: Thu Jul 19 16:39:27 2007 +0100 1571 1572 Merge branch 'work' into window-watch 1573 1574commit ef4045bb869903076a98fc2c76958eb2669d4cf0 1575Author: Emmanuele Bassi <ebassi@openedhand.com> 1576Date: Thu Jul 19 16:38:25 2007 +0100 1577 1578 Use GDK to retrieve the startup notification id 1579 1580 UniqueApp needs a startup notification id and will try to get one in every 1581 way possible. GDK has most of the machinery already in place for doing this, 1582 so we use it and fall back to the former implementation if that fails. 1583 1584 unique/uniqueapp.c | 19 +++++++++++++------ 1585 1 files changed, 13 insertions(+), 6 deletions(-) 1586 1587commit 1d2f91642b113c2528fdbfdf46471f23462a0d11 1588Author: Emmanuele Bassi <ebassi@openedhand.com> 1589Date: Sat Jul 14 16:17:22 2007 +0100 1590 1591 Minor stylistical change in the bacon factory 1592 1593 unique/bacon/uniquefactory-bacon.c | 5 ++--- 1594 1 files changed, 2 insertions(+), 3 deletions(-) 1595 1596commit cbbedb05f1bb4beccd5c83c5db08297ffee02506 1597Author: Emmanuele Bassi <ebassi@openedhand.com> 1598Date: Sat Jul 14 16:16:59 2007 +0100 1599 1600 Ensure that we receive the correct response 1601 1602 The ::message-received signal is RUN_LAST and has a return value accumulator. 1603 This means that we need a signal class handler for it, otherwise we receive 1604 an invalid value. Also, specify that UNIQUE_RESPONSE_INVALID must be 0, as 1605 we assume it in a couple of places. 1606 1607 unique/uniqueapp.c | 12 ++++++++++++ 1608 unique/uniqueapp.h | 2 +- 1609 2 files changed, 13 insertions(+), 1 deletions(-) 1610 1611commit 815d5cc5b9334c76e4cd15e143346c01fb61997c 1612Author: Emmanuele Bassi <ebassi@openedhand.com> 1613Date: Sat Jul 14 16:14:43 2007 +0100 1614 1615 Use DISPLAY instead of the hostname as the token 1616 1617 In the bacon backend, the DISPLAY environment variable as uniqueness token 1618 guarantees that launching two different instances of an application on the 1619 same machine but displayed on two different targets succeeds. This overcomes 1620 a limitation in the current BaconMessageConnection code. 1621 1622 unique/bacon/uniquebackend-bacon.c | 24 ++++++++++++------------ 1623 1 files changed, 12 insertions(+), 12 deletions(-) 1624 1625commit 3b41308421e144c5c3ca828bda46b77172cb2465 1626Author: Emmanuele Bassi <ebassi@openedhand.com> 1627Date: Thu Jul 12 18:06:04 2007 +0100 1628 1629 Bump GTK+ required version to 2.11 1630 1631 libunique now requires gtk+ 2.11/2.12 for the gtk_window_set_startup_id() 1632 function, which changes the startup notification id on a window. 1633 1634 configure.ac | 2 +- 1635 1 files changed, 1 insertions(+), 1 deletions(-) 1636 1637commit c6de06383b942939f72017055b514fdfa3db0c93 1638Author: Emmanuele Bassi <ebassi@openedhand.com> 1639Date: Thu Jul 12 17:47:52 2007 +0100 1640 1641 Move the workspace code into UniqueBackend 1642 1643 doc/reference/unique-sections.txt | 2 + 1644 tests/test-unique.c | 3 +- 1645 unique/uniqueapp.c | 40 ++----------------------------- 1646 unique/uniqueapp.h | 5 ++- 1647 unique/uniquebackend.c | 47 +++++++++++++++++++++++++++++++++++++ 1648 unique/uniquebackend.h | 3 ++ 1649 6 files changed, 60 insertions(+), 40 deletions(-) 1650 1651commit 74a98d84891aad84781e8cd9d63b934d7cd7e6e8 1652Merge: 1ad1ba2 208c3db 1653Author: Emmanuele Bassi <ebassi@openedhand.com> 1654Date: Thu Jul 12 16:17:39 2007 +0100 1655 1656 Merge branch 'work' into window-watch 1657 1658commit 208c3dbe4093fbe0792061a22cb5ef83502edcd7 1659Author: Emmanuele Bassi <ebassi@openedhand.com> 1660Date: Thu Jul 12 12:41:39 2007 +0100 1661 1662 Complete API reference 1663 1664 doc/reference/unique-sections.txt | 5 +-- 1665 unique/uniqueapp.h | 17 ++++++++++- 1666 unique/uniquebackend.h | 17 ++++++++++ 1667 unique/uniquemessage.h | 9 +++++ 1668 unique/uniqueversion.h.in | 59 +++++++++++++++++++++++++++++++++++++ 1669 5 files changed, 102 insertions(+), 5 deletions(-) 1670 1671commit 8503f677e9e676dbaedca49708a66811fc25c780 1672Author: Emmanuele Bassi <ebassi@openedhand.com> 1673Date: Thu Jul 12 12:09:24 2007 +0100 1674 1675 Bump up revision to 0.9.3 1676 1677 configure.ac | 4 ++-- 1678 1 files changed, 2 insertions(+), 2 deletions(-) 1679 1680commit b52719be20bd447b7e1557cfe975f253d7cb24d4 1681Author: Emmanuele Bassi <ebassi@openedhand.com> 1682Date: Thu Jul 12 12:08:58 2007 +0100 1683 1684 Use the correct LDFLAGS 1685 1686 unique/Makefile.am | 2 ++ 1687 1 files changed, 2 insertions(+), 0 deletions(-) 1688 1689commit 6272755089a76ca7f21a2161283bbb51ba8394a1 1690Author: Emmanuele Bassi <ebassi@openedhand.com> 1691Date: Thu Jul 12 11:59:12 2007 +0100 1692 1693 Add workspace support in the backend 1694 1695 tests/test-unique.c | 5 +++-- 1696 unique/bacon/uniquemessage-bacon.c | 22 ++++++++++++++++------ 1697 unique/dbus/uniquebackend-dbus.c | 6 ++++++ 1698 unique/dbus/uniquebackend-dbus.xml | 2 +- 1699 unique/dbus/uniquefactory-dbus.c | 3 ++- 1700 5 files changed, 28 insertions(+), 10 deletions(-) 1701 1702commit 64ebbdf91aaef2686f9818470e3b288d1ec40118 1703Author: Emmanuele Bassi <ebassi@openedhand.com> 1704Date: Thu Jul 12 11:38:32 2007 +0100 1705 1706 Add support for passing the current workspace 1707 1708 Applications might need to know from which workspace a message came. This 1709 commit adds a workspace field to the UniqueMessageData structure which 1710 gets filled by UniqueApp when sending a message to a running instance, just 1711 like the screen and startup-id fields are set. 1712 1713 unique/uniqueapp.c | 37 ++++++++++++++++++++++++++++++++++++- 1714 unique/uniqueinternals.h | 1 + 1715 unique/uniquemessage.c | 16 ++++++++++++++++ 1716 unique/uniquemessage.h | 1 + 1717 4 files changed, 54 insertions(+), 1 deletions(-) 1718 1719commit 0d78d5dd334134dcacca74557f341f16dba762bb 1720Author: Emmanuele Bassi <ebassi@openedhand.com> 1721Date: Thu Jul 12 11:12:12 2007 +0100 1722 1723 Fix two bugs in UniqueApp 1724 1725 Bug 1: If no startup notification id is set, correctly fake one. 1726 Bug 2: Never commit before a make 1727 1728 tests/test-unique.c | 8 +++++++- 1729 unique/uniqueapp.c | 9 ++++++--- 1730 2 files changed, 13 insertions(+), 4 deletions(-) 1731 1732commit fc6c87ce1b90e931d2ff0ce5ccf4669dc7ebc5c2 1733Author: Emmanuele Bassi <ebassi@openedhand.com> 1734Date: Thu Jul 12 10:51:11 2007 +0100 1735 1736 Add reference documentation for UniqueMessageData API 1737 1738 unique/uniquemessage.c | 47 +++++++++++++++++++++++++++-------------------- 1739 1 files changed, 27 insertions(+), 20 deletions(-) 1740 1741commit 02454fa6081fbf73a53167e31b00ab8c8849d00b 1742Merge: d670192 d6e0cf7 1743Author: Emmanuele Bassi <ebassi@openedhand.com> 1744Date: Thu Jul 12 10:41:59 2007 +0100 1745 1746 Merge branch 'xlibs-backend' into work 1747 1748commit d6e0cf7224e68cc3907c2f52f7e744deb16ef2ba 1749Author: Emmanuele Bassi <ebassi@openedhand.com> 1750Date: Thu Jul 12 10:41:23 2007 +0100 1751 1752 Add documentation and fallback to unique_app_send_message() 1753 1754 Now unique_app_send_message() checks whether is-running is FALSE and 1755 returns UNIQUE_RESPONSE_INVALID if it's the case. I do not have strong 1756 opinions on this one, though; it might make sense to actually emit the 1757 message-received signal on the same instance, but it would be a programming 1758 error to call unique_app_new() and unique_app_send_message() on the running 1759 instance without actually checking with unique_app_is_running() beforehand. 1760 1761 unique/uniqueapp.c | 34 +++++++++++++++++++++++----------- 1762 unique/uniqueapp.h | 3 +-- 1763 2 files changed, 24 insertions(+), 13 deletions(-) 1764 1765commit 3a31d5681ac78ccc830ef490901462bc4230d326 1766Author: Emmanuele Bassi <ebassi@openedhand.com> 1767Date: Thu Jul 12 10:37:52 2007 +0100 1768 1769 Add headers check and rename HAVE_DBUS macro 1770 1771 configure.ac | 12 +++++++++--- 1772 unique/uniquebackend.c | 6 +++--- 1773 2 files changed, 12 insertions(+), 6 deletions(-) 1774 1775commit d670192fc97692466bd206b24b4d8da1b3421a70 1776Author: Emmanuele Bassi <ebassi@openedhand.com> 1777Date: Thu Jul 12 09:52:37 2007 +0100 1778 1779 Provide a default fallback for the test 1780 1781 tests/test-unique.c | 6 ++++++ 1782 1 files changed, 6 insertions(+), 0 deletions(-) 1783 1784commit 318ef6c1878aec5b9991b05b58cea8006ae6f3c2 1785Author: Emmanuele Bassi <ebassi@openedhand.com> 1786Date: Wed Jul 11 18:18:37 2007 +0100 1787 1788 Fix the pkg-config template file 1789 1790 unique.pc.in | 5 ++--- 1791 1 files changed, 2 insertions(+), 3 deletions(-) 1792 1793commit 1ad1ba2fd2dd5023d9c57f8574aa36a136545ee2 1794Author: Emmanuele Bassi <ebassi@openedhand.com> 1795Date: Wed Jul 11 17:17:56 2007 +0100 1796 1797 Add window watching 1798 1799 Using unique_app_watch_window() every watched window will get startup 1800 notification changes when a message is received. 1801 1802 unique/uniqueapp.c | 65 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1803 unique/uniqueapp.h | 2 + 1804 2 files changed, 67 insertions(+), 0 deletions(-) 1805 1806commit 84934d5dff9ec421fd63b61be68b40f1598b914b 1807Author: Emmanuele Bassi <ebassi@openedhand.com> 1808Date: Wed Jul 11 16:10:44 2007 +0100 1809 1810 Remove screen argument from the message data API 1811 1812 The GdkScreen is automatically set up by Unique when sending a message 1813 to the running instance, as well as the startup notification id. 1814 1815 Allow passing a NULL UniqueMessageData to unique_app_send_message(): the 1816 message will be created instead of copied. 1817 1818 Fix a couple of leaks while we are at it. 1819 1820 tests/test-unique.c | 40 ++++++++++++++++++++++++---------------- 1821 unique/uniqueapp.c | 11 ++++++----- 1822 unique/uniquemessage.c | 24 +++--------------------- 1823 unique/uniquemessage.h | 3 --- 1824 4 files changed, 33 insertions(+), 45 deletions(-) 1825 1826commit 5ad211194de17ed40cae0b30752a09274656c3e3 1827Author: Emmanuele Bassi <ebassi@openedhand.com> 1828Date: Wed Jul 11 14:01:36 2007 +0100 1829 1830 Update build environment 1831 1832 ChangeLog | 2 +- 1833 Makefile.am | 5 +++-- 1834 README | 14 ++++++++++++++ 1835 3 files changed, 18 insertions(+), 3 deletions(-) 1836 1837commit 319924c319252a5dc2933f15511251e9604a77c5 1838Author: Emmanuele Bassi <ebassi@openedhand.com> 1839Date: Wed Jul 11 13:47:20 2007 +0100 1840 1841 API reference documentation fixes 1842 1843 doc/reference/Makefile.am | 1 + 1844 doc/reference/unique-sections.txt | 19 ++++++++++--------- 1845 unique/uniquebackend.c | 10 ++++++++++ 1846 unique/uniquebackend.h | 2 +- 1847 unique/uniquemessage.c | 26 ++++++++++++++++++++------ 1848 unique/uniqueversion.h.in | 8 ++++++++ 1849 6 files changed, 50 insertions(+), 16 deletions(-) 1850 1851commit 2f338eab5aa20d6d2656f033365d5acaf3eb625c 1852Author: Emmanuele Bassi <ebassi@openedhand.com> 1853Date: Wed Jul 11 13:08:18 2007 +0100 1854 1855 API changes 1856 1857 UniqueApp constructor now takes two parameters: name and startup-id. A 1858 new constructor has been added, unique_app_new_with_commands() which 1859 removes the need to register the commands before calling unique_app_new(); 1860 a unique_app_add_command() function has been added for eventual bindings. 1861 1862 The custom commands have been moved from a per-module hash table to a 1863 per instance one, and will be cleaned up when disposing it. 1864 1865 doc/reference/Makefile.am | 7 +- 1866 tests/test-unique.c | 20 ++-- 1867 unique/bacon/uniquebackend-bacon.c | 4 +- 1868 unique/bacon/uniquefactory-bacon.c | 3 +- 1869 unique/bacon/uniquemessage-bacon.c | 10 +- 1870 unique/bacon/uniquemessage-bacon.h | 6 +- 1871 unique/dbus/uniquebackend-dbus.c | 2 +- 1872 unique/dbus/uniquefactory-dbus.c | 2 +- 1873 unique/uniqueapp.c | 235 ++++++++++++++++++++++++------------ 1874 unique/uniqueapp.h | 15 ++- 1875 unique/uniquebackend.c | 2 - 1876 unique/uniqueinternals.h | 7 +- 1877 12 files changed, 206 insertions(+), 107 deletions(-) 1878 1879commit 1a1af1a45a69a4af3c2dfa0a8d5f926356d2b8c5 1880Author: Emmanuele Bassi <ebassi@openedhand.com> 1881Date: Wed Jul 11 13:06:22 2007 +0100 1882 1883 Build fix 1884 1885 Makefile.am | 10 ++-------- 1886 1 files changed, 2 insertions(+), 8 deletions(-) 1887 1888commit 4c3dcc6093dab5f0104824c587801ffcf16952f3 1889Author: Emmanuele Bassi <ebassi@openedhand.com> 1890Date: Wed Jul 11 11:50:04 2007 +0100 1891 1892 Switch to runtime definition of the backend 1893 1894 Every backend is now compiled in Unique and the actual implementation to 1895 be used is decided by a compile time define and overridden by an environment 1896 variable called UNIQUE_BACKEND. 1897 1898 configure.ac | 25 ++--------- 1899 doc/reference/unique-sections.txt | 2 + 1900 tests/Makefile.am | 7 +-- 1901 unique/Makefile.am | 65 +++++++++++++++--------------- 1902 unique/bacon/uniquebackend-bacon.c | 42 +++++-------------- 1903 unique/dbus/uniquebackend-dbus.c | 32 +++++---------- 1904 unique/uniqueapp.c | 22 +++++++--- 1905 unique/uniquebackend.c | 77 ++++++++++++++++++++++++++++++++++++ 1906 unique/uniquebackend.h | 33 +++++++++++---- 1907 unique/uniqueinternals.h | 9 +---- 1908 unique/uniqueversion.h.in | 2 +- 1909 11 files changed, 183 insertions(+), 133 deletions(-) 1910 1911commit c276a20c66d1f316d647e14b0186572b4aabd73a 1912Author: Emmanuele Bassi <ebassi@openedhand.com> 1913Date: Mon Jul 9 15:39:34 2007 +0100 1914 1915 And now fix my stupidity 1916 1917 .gitignore | 1 - 1918 COPYING | 510 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1919 2 files changed, 510 insertions(+), 1 deletions(-) 1920 1921commit 77d4f1f3d400163fc43a391dcc5bbca6ae116d94 1922Author: Emmanuele Bassi <ebassi@openedhand.com> 1923Date: Mon Jul 9 15:37:56 2007 +0100 1924 1925 Fix autotools utter stupidity 1926 1927 COPYING.LGPL | 510 ---------------------------------------------------------- 1928 1 files changed, 0 insertions(+), 510 deletions(-) 1929 1930commit e7b9433f7f1a5d0cd05a12bb49af3edcae8e7b08 1931Author: Emmanuele Bassi <ebassi@openedhand.com> 1932Date: Mon Jul 9 15:04:59 2007 +0100 1933 1934 Bump to 0.9.1 and repackage 1935 1936 configure.ac | 4 ++-- 1937 1 files changed, 2 insertions(+), 2 deletions(-) 1938 1939commit b3e04c0d51f562f2a0be5696e94824a67f27458f 1940Author: Emmanuele Bassi <ebassi@openedhand.com> 1941Date: Mon Jul 9 15:04:25 2007 +0100 1942 1943 Add license information 1944 1945 Unique is licensed under LGPL, so declare it inside every source file 1946 and add the appropriate COPYING file. 1947 1948 COPYING.LGPL | 510 ++++++++++++++++++++++++++++++++++++ 1949 unique/bacon/uniquebackend-bacon.c | 9 +- 1950 unique/bacon/uniquebackend-bacon.h | 6 +- 1951 unique/bacon/uniquefactory-bacon.c | 9 +- 1952 unique/bacon/uniquefactory-bacon.h | 8 +- 1953 unique/dbus/uniquebackend-dbus.c | 6 +- 1954 unique/dbus/uniquebackend-dbus.h | 6 +- 1955 unique/unique.h | 21 ++ 1956 unique/uniqueapp.c | 6 +- 1957 unique/uniqueapp.h | 21 ++ 1958 unique/uniquebackend.c | 21 ++ 1959 unique/uniquebackend.h | 21 ++ 1960 unique/uniquemessage.c | 21 ++ 1961 unique/uniquemessage.h | 21 ++ 1962 unique/uniqueversion.h.in | 20 ++ 1963 15 files changed, 684 insertions(+), 22 deletions(-) 1964 1965commit d4b9152d2179796e5b2e8b377ac5c6a83ec32c5e 1966Author: Emmanuele Bassi <ebassi@openedhand.com> 1967Date: Mon Jul 9 15:03:21 2007 +0100 1968 1969 Drop compatibility with automake 1.7 1970 1971 autogen.sh | 17 ++++++----------- 1972 1 files changed, 6 insertions(+), 11 deletions(-) 1973 1974commit 52da3aa370a099fab4a3f5c4a5d3ee1a41c2af3d 1975Author: Emmanuele Bassi <ebassi@openedhand.com> 1976Date: Mon Jul 9 10:37:26 2007 +0100 1977 1978 Build fixes to pass distcheck 1979 1980 Makefile.am | 2 +- 1981 unique/Makefile.am | 4 ++-- 1982 2 files changed, 3 insertions(+), 3 deletions(-) 1983 1984commit a1e189c1d2fd07c75f40c033b329472bac7aee45 1985Author: Emmanuele Bassi <ebassi@openedhand.com> 1986Date: Mon Jul 9 10:26:17 2007 +0100 1987 1988 Add ignore files 1989 1990 .gitignore | 25 +++++++++++++++++++++++++ 1991 doc/reference/.gitignore | 23 +++++++++++++++++++++++ 1992 po/.gitignore | 2 ++ 1993 tests/.gitignore | 4 ++++ 1994 unique/.gitignore | 17 +++++++++++++++++ 1995 unique/bacon/.gitignore | 7 +++++++ 1996 unique/dbus/.gitignore | 7 +++++++ 1997 7 files changed, 85 insertions(+), 0 deletions(-) 1998 1999commit 99a0279655c8baaf8a3fd4c97368b2d5515a63ae 2000Author: Emmanuele Bassi <ebassi@openedhand.com> 2001Date: Mon Jul 9 10:24:00 2007 +0100 2002 2003 Remove the xlibs backend 2004 2005 The Xlibs based backend is not ready yet, so it's not included in the build 2006 and it's not available as a configure switch. It will be developed in a 2007 separate branch until ready for public consumption. 2008 2009 configure.ac | 8 ++++---- 2010 1 files changed, 4 insertions(+), 4 deletions(-) 2011 2012commit 449636d410cac920e509bf531186752db3e82dd3 2013Author: Emmanuele Bassi <ebassi@openedhand.com> 2014Date: Mon Jul 9 09:21:19 2007 +0100 2015 2016 Correctly terminate the packed message data 2017 2018 unique/bacon/uniquebackend-bacon.c | 3 ++- 2019 unique/bacon/uniquefactory-bacon.c | 13 ++++--------- 2020 unique/bacon/uniquemessage-bacon.c | 4 ++++ 2021 3 files changed, 10 insertions(+), 10 deletions(-) 2022 2023commit 034c9eb29cd8f7f3ddf3cc20c785b9742caca973 2024Author: Emmanuele Bassi <ebassi@openedhand.com> 2025Date: Sun Jul 8 23:29:11 2007 +0100 2026 2027 Add backend as a symbold 2028 2029 Export the UNIQUE_BACKEND_S symbol from uniqueversion.h, containing the 2030 backend against which Unique was compiled in form of a string. The same 2031 information is available using pkg-config, but it might be good to have 2032 it accessible from within and without the library itself. 2033 2034 unique/uniqueversion.h.in | 2 ++ 2035 1 files changed, 2 insertions(+), 0 deletions(-) 2036 2037commit 57e89c9081dec1999295e3bf60554af08a42fb81 2038Author: Emmanuele Bassi <ebassi@openedhand.com> 2039Date: Sun Jul 8 23:22:36 2007 +0100 2040 2041 More documentation fixes 2042 2043 doc/reference/Makefile.am | 5 +++-- 2044 doc/reference/unique-sections.txt | 2 ++ 2045 unique/uniqueapp.h | 16 +++++++--------- 2046 3 files changed, 12 insertions(+), 11 deletions(-) 2047 2048commit 004987e85ea0c78db4ad92eaf5c4d9ce9517fb8a 2049Author: Emmanuele Bassi <ebassi@openedhand.com> 2050Date: Sun Jul 8 23:17:18 2007 +0100 2051 2052 Documentation fixes 2053 2054 unique/dbus/uniquebackend-dbus.c | 2 +- 2055 unique/uniqueapp.c | 14 +++++++++++++- 2056 2 files changed, 14 insertions(+), 2 deletions(-) 2057 2058commit 857cf6a2d2e7a154465708c7ddb2c6244a471735 2059Author: Emmanuele Bassi <ebassi@openedhand.com> 2060Date: Sun Jul 8 23:08:59 2007 +0100 2061 2062 API Reference 2063 2064 Add documentation and API reference templates to the build. 2065 2066 doc/reference/Makefile.am | 2 +- 2067 doc/reference/unique-docs.sgml | 94 +++++++++++++++++++++++++++++++++++++ 2068 doc/reference/unique-sections.txt | 84 +++++++++++++++++++++++++++++++++ 2069 doc/reference/unique.types | 2 + 2070 unique/uniqueapp.c | 29 +++++++++++ 2071 unique/uniquebackend.c | 9 ++++ 2072 unique/uniquemessage.c | 41 ++++++++++++++++- 2073 unique/uniquemessage.h | 41 ++++++++-------- 2074 8 files changed, 280 insertions(+), 22 deletions(-) 2075 2076commit 323c8e3251b528616c3943a530881f4ad8def6c1 2077Author: Emmanuele Bassi <ebassi@openedhand.com> 2078Date: Sun Jul 8 21:00:50 2007 +0100 2079 2080 Update simple test case 2081 2082 Show the command received, along with the potential payload. 2083 2084 tests/test-unique.c | 34 ++++++++++++++++++++++++++++------ 2085 1 files changed, 28 insertions(+), 6 deletions(-) 2086 2087commit 6bf55318bedb112d6ee8a1f05d075227f027e27f 2088Author: Emmanuele Bassi <ebassi@openedhand.com> 2089Date: Sun Jul 8 20:51:33 2007 +0100 2090 2091 Dispose the UniqueBackend with the UniqueApp 2092 2093 unique/uniqueapp.c | 16 ++++++++++++++++ 2094 1 files changed, 16 insertions(+), 0 deletions(-) 2095 2096commit d531b7e9f7abd071938f6091ba0381d409c5371f 2097Author: Emmanuele Bassi <ebassi@openedhand.com> 2098Date: Sun Jul 8 20:49:33 2007 +0100 2099 2100 Finish the "bacon" backend 2101 2102 Implement the message packing and unpacking in the "bacon" backend. Also 2103 deal with the stale named pipe files. 2104 2105 unique/bacon/uniquebackend-bacon.c | 36 +++++++++-- 2106 unique/bacon/uniquefactory-bacon.c | 2 +- 2107 unique/bacon/uniquemessage-bacon.c | 118 +++++++++++++++++++++++++++++++++++- 2108 unique/bacon/uniquemessage-bacon.h | 1 - 2109 4 files changed, 146 insertions(+), 11 deletions(-) 2110 2111commit 7e125cc6898b55d19880d103c65f429c62d25f65 2112Author: Emmanuele Bassi <ebassi@openedhand.com> 2113Date: Sun Jul 8 18:12:14 2007 +0100 2114 2115 Initial commit of the bacon backend 2116 2117 The "bacon" backend for Unique uses Unix domain sockets as the IPC mechanism. 2118 It's based on BaconMessageConnection (hence the name), written by Bastien 2119 Nocera for the Totem video player and used in other projects. 2120 2121 configure.ac | 1 + 2122 unique/bacon/Makefile.am | 19 ++ 2123 unique/bacon/uniquebackend-bacon.c | 487 ++++++++++++++++++++++++++++++++++++ 2124 unique/bacon/uniquebackend-bacon.h | 46 ++++ 2125 unique/bacon/uniquefactory-bacon.c | 217 ++++++++++++++++ 2126 unique/bacon/uniquefactory-bacon.h | 67 +++++ 2127 unique/bacon/uniquemessage-bacon.c | 25 ++ 2128 unique/bacon/uniquemessage-bacon.h | 41 +++ 2129 8 files changed, 903 insertions(+), 0 deletions(-) 2130 2131commit 7c21d94f803361775bc3a3877101ff4ae5a7e9e1 2132Author: Emmanuele Bassi <ebassi@openedhand.com> 2133Date: Sun Jul 8 18:08:27 2007 +0100 2134 2135 Add gtk-doc template 2136 2137 doc/reference/Makefile.am | 88 ++++++++++++++++++++++++++++++++++++++++++++- 2138 1 files changed, 87 insertions(+), 1 deletions(-) 2139 2140commit 74190f5e5f5d895a5074806f133088c84235c31a 2141Author: Emmanuele Bassi <ebassi@openedhand.com> 2142Date: Sun Jul 8 16:37:30 2007 +0100 2143 2144 Fix compilation warnings 2145 2146 The stricter compiler flags of the odd-numbered minor versions make compilation 2147 utterly fail in a couple of places - mostly signedness issue with having an 2148 unsigned char stored inside UniqueMessageData and the fact that we pass around 2149 a lot of signed chars instead. 2150 2151 tests/test-unique.c | 2 +- 2152 unique/dbus/uniquebackend-dbus.c | 6 ++---- 2153 unique/dbus/uniquefactory-dbus.c | 5 ++--- 2154 unique/dbus/uniquefactory-dbus.h | 2 +- 2155 unique/uniqueapp.c | 2 +- 2156 unique/uniquemessage.c | 10 ++++++---- 2157 unique/uniquemessage.h | 2 +- 2158 7 files changed, 14 insertions(+), 15 deletions(-) 2159 2160commit 0ebacc30a9e557d143d5a728ca5948a0f2680e44 2161Author: Emmanuele Bassi <ebassi@openedhand.com> 2162Date: Sun Jul 8 16:34:40 2007 +0100 2163 2164 Bump version back to 0.9.0 2165 2166 We are still in beta, and odd-numbered minor versions come with a very 2167 strict set of compiler flags, which help catching stupid errors. 2168 2169 configure.ac | 4 ++-- 2170 1 files changed, 2 insertions(+), 2 deletions(-) 2171 2172commit b27db928528a67e4169ade37513899fdb050c8be 2173Author: Emmanuele Bassi <ebassi@openedhand.com> 2174Date: Sat Jul 7 11:49:11 2007 +0100 2175 2176 Add translatable files template 2177 2178 0 files changed, 0 insertions(+), 0 deletions(-) 2179 2180commit 772546daa5d0b776bd6c6b17b2f3e1f16a35e175 2181Author: Emmanuele Bassi <ebassi@openedhand.com> 2182Date: Sat Jul 7 11:48:42 2007 +0100 2183 2184 Remove the upload command 2185 2186 There's no need for an upload command in the Makefile template. 2187 2188 Makefile.am | 5 ----- 2189 1 files changed, 0 insertions(+), 5 deletions(-) 2190 2191commit cc634f1e46306eb287a7f497c6a4ae6bec364b4c 2192Author: Emmanuele Bassi <ebassi@openedhand.com> 2193Date: Sat Jul 7 11:41:45 2007 +0100 2194 2195 Initial import of Unique 2196 2197 Unique is a library for writing single instance applications. An application 2198 using Unique will block any othe instance of the same application launched 2199 after the first one; any other instance can send a message to the running 2200 application, for instance to open a list of URIs. 2201 2202 Unique can be compiled against different backends, implementing the IPC 2203 mechanisms used by different instances to communicate. 2204 2205 This is the initial import of the Unique library: at the moment, only the 2206 (default) D-Bus backend is working. 2207 2208 The public API is not yet frozen. 2209 2210 AUTHORS | 1 + 2211 ChangeLog | 1 + 2212 Makefile.am | 33 ++ 2213 autogen.sh | 119 +++++++ 2214 configure.ac | 175 ++++++++++ 2215 doc/Makefile.am | 1 + 2216 doc/reference/Makefile.am | 1 + 2217 doc/reference/version.xml.in | 1 + 2218 tests/Makefile.am | 18 + 2219 tests/test-unique.c | 190 +++++++++++ 2220 unique.pc.in | 13 + 2221 unique/Makefile.am | 96 ++++++ 2222 unique/dbus/Makefile.am | 36 ++ 2223 unique/dbus/uniquebackend-dbus.c | 263 +++++++++++++++ 2224 unique/dbus/uniquebackend-dbus.h | 43 +++ 2225 unique/dbus/uniquebackend-dbus.xml | 10 + 2226 unique/dbus/uniquefactory-dbus.c | 100 ++++++ 2227 unique/dbus/uniquefactory-dbus.h | 57 ++++ 2228 unique/unique.h | 8 + 2229 unique/uniqueapp.c | 651 ++++++++++++++++++++++++++++++++++++ 2230 unique/uniqueapp.h | 107 ++++++ 2231 unique/uniquebackend.c | 166 +++++++++ 2232 unique/uniquebackend.h | 60 ++++ 2233 unique/uniqueinternals.h | 57 ++++ 2234 unique/uniquemarshal.list | 1 + 2235 unique/uniquemessage.c | 390 +++++++++++++++++++++ 2236 unique/uniquemessage.h | 36 ++ 2237 unique/uniqueversion.h.in | 23 ++ 2238 28 files changed, 2657 insertions(+), 0 deletions(-) 2239