From owner-svn-ports-head@freebsd.org Mon Oct 19 11:03:29 2020 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 696A744C05C; Mon, 19 Oct 2020 11:03:29 +0000 (UTC) (envelope-from cmt@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CFDQ929KRz4RZY; Mon, 19 Oct 2020 11:03:29 +0000 (UTC) (envelope-from cmt@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 2EE33222F8; Mon, 19 Oct 2020 11:03:29 +0000 (UTC) (envelope-from cmt@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 09JB3TAT026795; Mon, 19 Oct 2020 11:03:29 GMT (envelope-from cmt@FreeBSD.org) Received: (from cmt@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 09JB3SdN026793; Mon, 19 Oct 2020 11:03:28 GMT (envelope-from cmt@FreeBSD.org) Message-Id: <202010191103.09JB3SdN026793@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: cmt set sender to cmt@FreeBSD.org using -f From: Christoph Moench-Tegeder Date: Mon, 19 Oct 2020 11:03:28 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r552731 - in head/mail/thunderbird: . files X-SVN-Group: ports-head X-SVN-Commit-Author: cmt X-SVN-Commit-Paths: in head/mail/thunderbird: . files X-SVN-Commit-Revision: 552731 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Oct 2020 11:03:29 -0000 Author: cmt Date: Mon Oct 19 11:03:28 2020 New Revision: 552731 URL: https://svnweb.freebsd.org/changeset/ports/552731 Log: mail/thunderbird: update to 78.4.0 (rc1) Release Notes (soon): https://www.thunderbird.net/en-US/thunderbird/78.4.0/releasenotes/ MFH: 2020Q4 (under blanket: web browser alike) Modified: head/mail/thunderbird/Makefile head/mail/thunderbird/distinfo head/mail/thunderbird/files/patch-bug1663715 Modified: head/mail/thunderbird/Makefile ============================================================================== --- head/mail/thunderbird/Makefile Mon Oct 19 10:55:08 2020 (r552730) +++ head/mail/thunderbird/Makefile Mon Oct 19 11:03:28 2020 (r552731) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= thunderbird -DISTVERSION= 78.3.3 +DISTVERSION= 78.4.0 CATEGORIES= mail news net-im MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}/source \ MOZILLA/${PORTNAME}/candidates/${DISTVERSION}-candidates/build1/source Modified: head/mail/thunderbird/distinfo ============================================================================== --- head/mail/thunderbird/distinfo Mon Oct 19 10:55:08 2020 (r552730) +++ head/mail/thunderbird/distinfo Mon Oct 19 11:03:28 2020 (r552731) @@ -1,3 +1,3 @@ -TIMESTAMP = 1602743049 -SHA256 (thunderbird-78.3.3.source.tar.xz) = e7852509dbed8b0586637a6080eb043c25a21fdee64ed63b68379dc30c29b3b0 -SIZE (thunderbird-78.3.3.source.tar.xz) = 361488376 +TIMESTAMP = 1603101605 +SHA256 (thunderbird-78.4.0.source.tar.xz) = 341a63c22a06c4d3d2468410d26248253a2d4eddc7d1f6aaaa1ac974005dca67 +SIZE (thunderbird-78.4.0.source.tar.xz) = 361176060 Modified: head/mail/thunderbird/files/patch-bug1663715 ============================================================================== --- head/mail/thunderbird/files/patch-bug1663715 Mon Oct 19 10:55:08 2020 (r552730) +++ head/mail/thunderbird/files/patch-bug1663715 Mon Oct 19 11:03:28 2020 (r552731) @@ -1,185 +1,3 @@ -From 63678ae69e03325d65255d29f1af4a6ea3dd354a Mon Sep 17 00:00:00 2001 -From: Thomas Deutschmann -Date: Sat, 10 Oct 2020 16:07:49 +0200 -Subject: [PATCH 36/38] bmo#1643201: Cherry-pick some servo changes to - derive_common - -Link: https://bugzilla.mozilla.org/show_bug.cgi?id=1663715#c7 -Signed-off-by: Thomas Deutschmann ---- - servo/components/derive_common/cg.rs | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -diff --git a/servo/components/derive_common/cg.rs b/servo/components/derive_common/cg.rs -index 55a75398c7..c51c0d7750 100644 ---- servo/components/derive_common/cg.rs -+++ servo/components/derive_common/cg.rs -@@ -7,7 +7,7 @@ use proc_macro2::{Span, TokenStream}; - use quote::TokenStreamExt; - use syn::{self, AngleBracketedGenericArguments, Binding, DeriveInput, Field}; - use syn::{GenericArgument, GenericParam, Ident, Path}; --use syn::{PathArguments, PathSegment, QSelf, Type, TypeArray}; -+use syn::{PathArguments, PathSegment, QSelf, Type, TypeArray, TypeGroup}; - use syn::{TypeParam, TypeParen, TypePath, TypeSlice, TypeTuple}; - use syn::{Variant, WherePredicate}; - use synstructure::{self, BindStyle, BindingInfo, VariantAst, VariantInfo}; -@@ -208,6 +208,10 @@ where - elem: Box::new(map_type_params(&inner.elem, params, f)), - ..inner.clone() - }), -+ Type::Group(ref inner) => Type::from(TypeGroup { -+ elem: Box::new(map_type_params(&inner.elem, params, f)), -+ ..inner.clone() -+ }), - ref ty => panic!("type {:?} cannot be mapped yet", ty), - } - } --- -2.28.0 - -From 23f22e9de6cc2236d58cc03997a1040e62c532e1 Mon Sep 17 00:00:00 2001 -From: Thomas Deutschmann -Date: Sat, 10 Oct 2020 16:09:04 +0200 -Subject: [PATCH 37/38] bmo#1653339: Teach style_derive's map_type_params about - mapping self correctly - -Link: https://bugzilla.mozilla.org/show_bug.cgi?id=1663715#c7 -Signed-off-by: Thomas Deutschmann ---- - servo/components/derive_common/cg.rs | 30 +++++++++++-------- - .../style_derive/to_computed_value.rs | 4 ++- - 2 files changed, 21 insertions(+), 13 deletions(-) - -diff --git a/servo/components/derive_common/cg.rs b/servo/components/derive_common/cg.rs -index c51c0d7750..8abfd87149 100644 ---- servo/components/derive_common/cg.rs -+++ servo/components/derive_common/cg.rs -@@ -154,19 +154,19 @@ pub fn fmap_trait_output(input: &DeriveInput, trait_path: &Path, trait_output: & - segment.into() - } - --pub fn map_type_params(ty: &Type, params: &[&TypeParam], f: &mut F) -> Type -+pub fn map_type_params(ty: &Type, params: &[&TypeParam], self_type: &Path, f: &mut F) -> Type - where - F: FnMut(&Ident) -> Type, - { - match *ty { - Type::Slice(ref inner) => Type::from(TypeSlice { -- elem: Box::new(map_type_params(&inner.elem, params, f)), -+ elem: Box::new(map_type_params(&inner.elem, params, self_type, f)), - ..inner.clone() - }), - Type::Array(ref inner) => { - //ref ty, ref expr) => { - Type::from(TypeArray { -- elem: Box::new(map_type_params(&inner.elem, params, f)), -+ elem: Box::new(map_type_params(&inner.elem, params, self_type, f)), - ..inner.clone() - }) - }, -@@ -175,7 +175,7 @@ where - elems: inner - .elems - .iter() -- .map(|ty| map_type_params(&ty, params, f)) -+ .map(|ty| map_type_params(&ty, params, self_type, f)) - .collect(), - ..inner.clone() - }), -@@ -187,10 +187,16 @@ where - if params.iter().any(|ref param| ¶m.ident == ident) { - return f(ident); - } -+ if ident == "Self" { -+ return Type::from(TypePath { -+ qself: None, -+ path: self_type.clone(), -+ }); -+ } - } - Type::from(TypePath { - qself: None, -- path: map_type_params_in_path(path, params, f), -+ path: map_type_params_in_path(path, params, self_type, f), - }) - }, - Type::Path(TypePath { -@@ -198,25 +204,25 @@ where - ref path, - }) => Type::from(TypePath { - qself: qself.as_ref().map(|qself| QSelf { -- ty: Box::new(map_type_params(&qself.ty, params, f)), -+ ty: Box::new(map_type_params(&qself.ty, params, self_type, f)), - position: qself.position, - ..qself.clone() - }), -- path: map_type_params_in_path(path, params, f), -+ path: map_type_params_in_path(path, params, self_type, f), - }), - Type::Paren(ref inner) => Type::from(TypeParen { -- elem: Box::new(map_type_params(&inner.elem, params, f)), -+ elem: Box::new(map_type_params(&inner.elem, params, self_type, f)), - ..inner.clone() - }), - Type::Group(ref inner) => Type::from(TypeGroup { -- elem: Box::new(map_type_params(&inner.elem, params, f)), -+ elem: Box::new(map_type_params(&inner.elem, params, self_type, f)), - ..inner.clone() - }), - ref ty => panic!("type {:?} cannot be mapped yet", ty), - } - } - --fn map_type_params_in_path(path: &Path, params: &[&TypeParam], f: &mut F) -> Path -+fn map_type_params_in_path(path: &Path, params: &[&TypeParam], self_type: &Path, f: &mut F) -> Path - where - F: FnMut(&Ident) -> Type, - { -@@ -236,11 +242,11 @@ where - .map(|arg| match arg { - ty @ &GenericArgument::Lifetime(_) => ty.clone(), - &GenericArgument::Type(ref data) => { -- GenericArgument::Type(map_type_params(data, params, f)) -+ GenericArgument::Type(map_type_params(data, params, self_type, f)) - }, - &GenericArgument::Binding(ref data) => { - GenericArgument::Binding(Binding { -- ty: map_type_params(&data.ty, params, f), -+ ty: map_type_params(&data.ty, params, self_type, f), - ..data.clone() - }) - }, -diff --git a/servo/components/style_derive/to_computed_value.rs b/servo/components/style_derive/to_computed_value.rs -index fe6bddb7ed..1dc422e2dd 100644 ---- servo/components/style_derive/to_computed_value.rs -+++ servo/components/style_derive/to_computed_value.rs -@@ -47,12 +47,15 @@ pub fn derive_to_value( - cg::add_predicate(&mut where_clause, parse_quote!(#param: #trait_path)); - } - -+ let computed_value_type = cg::fmap_trait_output(&input, &trait_path, &output_type_name); -+ - let mut add_field_bound = |binding: &BindingInfo| { - let ty = &binding.ast().ty; - - let output_type = cg::map_type_params( - ty, - ¶ms, -+ &computed_value_type, - &mut |ident| parse_quote!(<#ident as #trait_path>::#output_type_name), - ); - -@@ -142,7 +145,6 @@ pub fn derive_to_value( - - input.generics.where_clause = where_clause; - let (impl_generics, ty_generics, where_clause) = input.generics.split_for_impl(); -- let computed_value_type = cg::fmap_trait_output(&input, &trait_path, &output_type_name); - - let impl_ = trait_impl(from_body, to_body); - --- -2.28.0 - From 300e01e71c9dc536d499d80563968c5fc7f7e34a Mon Sep 17 00:00:00 2001 From: Thomas Deutschmann Date: Sat, 10 Oct 2020 16:10:20 +0200