~mozillateam/thunderbird/thunderbird-beta.vivid

« back to all changes in this revision

Viewing changes to debian/eds/res/libs/gio.js

  • Committer: Chris Coulson
  • Date: 2012-08-24 21:51:15 UTC
  • Revision ID: chris.coulson@canonical.com-20120824215115-73972h0fhzp7ly7n
* Update globalmenu-extension to 3.4
* New upstream release from the beta channel (THUNDERBIRD_15_0b5_BUILD1)
* New upstream release from the beta channel (THUNDERBIRD_15_0b4_BUILD1)
* New upstream release from the beta channel (THUNDERBIRD_15_0b3_BUILD1)
* Update globalmenu-extension to 3.4 prerelease r435
  + Fixes for LP: #1025011 - HUD search crashes Firefox when Firebug
    is installed
    - Provide our own binding for menupopup nodes which derives from the
      default binding and makes the "state" property work as if there
      were a frame
    - Make all menu nodes reference counted, and hold a strong ref when
      dispatching events, in case the event results in the removal of menu
      nodes
  + Keep the menu we export in sync with the document tree all of the
    time, rather than only when the menus are on screen. The HUD likes to
    open submenus without opening any of its ancestors, which can result in
    us handling events on menu nodes that are no longer in a document
    if an ancestor responds to a bubbled-up event by removing its
    children
  + Ensure we always null check the result of nsIDocument::GetCurrentDoc
  + When tearing down a menu, make sure that we empty out our DbusmenuMenuitem
    in case the parent reuses that item for another menu. Fixes a memory leak
    and an issue where Firebug menu items are duplicated indefinitely each
    time a menu is opened
* Update eds extension to 0.5 prerelease r141
  - Lots of refactoring
  - Added proper support for evolution-data-server 3.6. It actually
    works now
  - Make contact list commit async
  - Fix LP: #919612 - cannot write contact, with "Could not save nsIAbEDSCard 
    property: SecondEmail" errors in the error console
  - Make setting dates work as expected
  - When selecting a generic image, clear the actual image property rather
    than saving the generic image pixel data to EDS
  - Ensure that phone numbers are displayed in the preview pane for EDS
    contacts
  - Use the upstream chat tab for managing IM handles. This requires
    Thunderbird 15
  - Ensure that chat handles appear in the contact preview pane
  - Make the preferred mail format option work (was always disabled in
    the edit UI)
  - Support storing Google Talk ID's in eds
  - Support Twitter as an IM account type (new in eds 3.6)
  - Implement nsAbEDSCard.deleteProperty
  - For number fields, handle the case where the passed in value converts
    to NaN
  - Implement nsAbEDSCard.copy and make nsAbEDSDirectory.addCard use this
  - Ensure we dispatch a notification when a directory name changes
  - Implement nsAbEDSDirectory.modifyCard and hide nsAbEDSCard.commit
  - Make contact list creation work properly
  - Display the year field in the contact editor for the anniversary date.
    This is supported fine by eds
  - Make copying contacts between EDS and non-EDS addressbooks work more
    reliably, rather than dropping fields such as PrimaryEmail
  - When copying a Thunderbird contact to an EDS folder, add the Thunderbird
    custom fields as "X-THUNDERBIRD-CUSTOM-*" vcard properties, rather than
    adding them to the note field
  - Don't unload libraries on shutdown. May fix a common shutdown crash
* Add no_neon_on_arm.patch to skip the NEON tests on ARM, since we
  don't build with NEON by default on either of our ARM architectures
* New upstream release from the beta channel (THUNDERBIRD_15_0b1_BUILD1)
* Update globalmenu-extension to 3.3
* Make thunderbird-dbg depend on the correct version of thunderbird
  - update debian/control
* Separate the package name from the application name. This enables us to
  change the package name without having to modify the application (eg,
  to allow us to provide official branded versions of Thunderbird ESR using
  the package name "thunderbird-esr"). In doing this, also drop the patch we
  had to rename Thunderbird in nightlies, and just use some magic in debian/rules
  instead
  - update debian/apport/source_thunderbird.py.in
  - update debian/build/get-orig-source.mk
  - update debian/control.in
  - update debian/control.langpacks
  - update debian/control.langpacks.unavail
  - remove debian/patches/change-moz-app-name.patch
  - update debian/patches/series
  - update debian/rules
  - update debian/thunderbird.install.in
  - update debian/thunderbird.links.in
  - update debian/thunderbird.lintian-overrides.in
  - update debian/thunderbird.postinst.in
  - update debian/thunderbird.postrm.in
  - update debian/thunderbird.preinst.in
  - update debian/thunderbird.sh.in
* Move parts of debian/rules that can be shared with Firefox to a
  new, common file (mozbuild.mk)
  - update debian/rules
  - add debian/build/mozbuild.mk
  - add debian/build/mozvars.mk
  - update debian/build/testsuite.mk
* Make it possible to use the same create-tarball.py for Firefox and
  Thunderbird
  - update debian/build/create-tarball.py
  - update debian/build/get-orig-source.mk
  - add debian/config/tarball.conf
* Switch to source format 3.0
  - add debian/source/format
  - add debian/source/options to diff-ignore the .mozclient.mk file which
    is created during clean, and to pass "--no-preparation"
  - update debian/build/enable-dist-patches.pl
  - rename debian/patches/series => debian/patches/series.in so the source
    isn't built with patches applied
  - add debian/README.source
* Goodbye embedded tarball, and our use of tarball.mk!
  - update debian/build/create-tarball.py
  - update debian/build/extract-file.py
  - update debian/build/get-orig-source.mk
  - update debian/build/mozbuild.mk 
* Run the upstream cleansrcdir target during clean
  - update debian/build/mozbuild.mk
* Support the "parallel" option in DEB_BUILD_OPTIONS
  - update debian/build/mozbuild.mk
  - update debian/config/mozconfig.in
* Get rid of pointless python script
  - remove debian/build/extract-file.py
  - update debian/build/mozbuild.mk
* Merge get-orig-source.mk in to mozbuild.mk
  - update debian/build/mozbuild.mk
  - remove debian/build/get-orig-source.mk
* Handle comments in locales.blacklist
  - update debian/build/refresh-supported-locales.pl
  - update debian/config/locales.blacklist 
* Fork the upstream text preprocessor and add support for additional
  comparison operators, which means we no longer have to add new
  defines for every distro version specific change we add
  - add debian/build/Expression.py
  - add debian/build/Preprocessor.py
  - update debian/apport/source_thunderbird.py.in
  - update debian/build/mozbuild.mk
  - update debian/config/mozconfig.in
  - update debian/rules
  - update debian/thunderbird.desktop.in
  - update debian/thunderbird.install.in
  - update debian/thunderbird.links.in
  - update debian/thunderbird.postinst.in
  - update debian/thunderbird.postrm.in
  - update debian/thunderbird.preinst.in
* Drop powerpc patches, which are fixed upstream
  - remove debian/patches/fix-dtoa-build-on-ppc.patch and
  - remove debian/patches/fix-build-failure-without-yarr-jit.patch
  - update debian/patches/series.in
* Drop fix-crashreporter-ftbfs-with-gcc4.7.patch, which is fixed upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* -*- Mode: javascript; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 
2
/* ***** BEGIN LICENSE BLOCK *****
 
3
 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
 
4
 *
 
5
 * The contents of this file are subject to the Mozilla Public License Version
 
6
 * 1.1 (the "License"); you may not use this file except in compliance with
 
7
 * the License. You may obtain a copy of the License at
 
8
 * http://www.mozilla.org/MPL/
 
9
 *
 
10
 * Software distributed under the License is distributed on an "AS IS" basis,
 
11
 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
 
12
 * for the specific language governing rights and limitations under the
 
13
 * License.
 
14
 *
 
15
 * The Original Code is ubufox.
 
16
 *
 
17
 * The Initial Developer of the Original Code is
 
18
 * Canonical Ltd.
 
19
 * Portions created by the Initial Developer are Copyright (C) 2011
 
20
 * the Initial Developer. All Rights Reserved.
 
21
 *
 
22
 * Contributor(s):
 
23
 *   Chris Coulson <chris.coulson@canonical.com>
 
24
 *
 
25
 * Alternatively, the contents of this file may be used under the terms of
 
26
 * either the GNU General Public License Version 2 or later (the "GPL"), or
 
27
 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
 
28
 * in which case the provisions of the GPL or the LGPL are applicable instead
 
29
 * of those above. If you wish to allow use of your version of this file only
 
30
 * under the terms of either the GPL or the LGPL, and not to allow others to
 
31
 * use your version of this file under the terms of the MPL, indicate your
 
32
 * decision by deleting the provisions above and replace them with the notice
 
33
 * and other provisions required by the GPL or the LGPL. If you do not delete
 
34
 * the provisions above, a recipient may use your version of this file under
 
35
 * the terms of any one of the MPL, the GPL or the LGPL.
 
36
 *
 
37
 * ***** END LICENSE BLOCK ***** */
 
38
 
 
39
var EXPORTS = [ "gio" ];
 
40
 
 
41
const GIO_LIBNAME = "gio-2.0";
 
42
const GIO_ABIS = [ 0 ];
 
43
 
 
44
require("libs/glib.js");
 
45
require("libs/gobject.js");
 
46
 
 
47
function gio_defines(lib) {
 
48
  // Types
 
49
  this.GCancellable = ctypes.StructType("GCancellable");
 
50
  this.GAsyncResult = ctypes.StructType("GAsyncResult");
 
51
 
 
52
  // Templates
 
53
  CTypesUtils.createAsyncCallbackWrapper(this, "GAsyncReadyCallback",
 
54
                                         ctypes.void_t,
 
55
                                         [gobject.GObject.ptr,
 
56
                                          this.GAsyncResult.ptr,
 
57
                                          glib.gpointer]);
 
58
 
 
59
  // Functions
 
60
  lib.lazy_bind("g_cancellable_new", this.GCancellable.ptr);
 
61
  lib.lazy_bind("g_cancellable_set_error_if_cancelled", glib.gboolean,
 
62
                [this.GCancellable.ptr, glib.GError.ptr.ptr]);
 
63
}
 
64
 
 
65
var gio = CTypesUtils.newLibrary(GIO_LIBNAME, GIO_ABIS, gio_defines);