From nobody Tue Apr 09 22:47:41 2024 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VDh1V0yqVz5G9xL for ; Tue, 9 Apr 2024 22:47:42 +0000 (UTC) (envelope-from bugzilla-noreply@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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VDh1T6LTHz42Ck for ; Tue, 9 Apr 2024 22:47:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1712702861; a=rsa-sha256; cv=none; b=AxjHYDsNZvEVwHnduqa/PRAwIgllGxnzBo458WzXGeKrPW+7d3JuB3iQ9Mwx/qrehqA/NQ v+BAUYM1g+VhJcee9iaE1tWdOCuYUbN28S4c7D/jsEjbb9/WHmUODHUbBA1q81RA46VPmQ iuILrm3PHRSb/WXX2CyCsduU6cReI9Ycy65knwoNyw6xZKmu4eBd5lbR037QMiwAhl/okB 2P9BhzjgU38n3PLKYIyGThyaXuQtrU39O/Nm/JqmmWyEbgIvXabGxo7Uxa4qkcaaKLFGCC VTP4t6f5nIuXnZAPF/mD4kcvLfpehtrCnl5wOKhZ5bVzatLkxBgYexayBXmwjQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1712702861; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=PwWdbtjn2yIYBgg1n3IRlUosYydE2Mx1DY2LvC5a2Pc=; b=EZZUPazPmINrFsjzCBmOAj9k+hgb6b+TuxOsIUAAYhm4FBndwp45FvIIPuAs80jB3rpB4m rD2b/hdxBRsrTEQwCSM68hI5U6q0kJutbDEjyQsQ6zGtNTGteBCPQ4RFex19PQMOLFBmCd J8irL0R2RhSlNhhy2QtyzaUHndy0vCmZSciHoRx57TYeLmoAn8cXnvk+6DIXYlNohrAFxl C6Gt3gw5bekvJekHOZkgefegOifMMGE77D/1iZahLxOCfFPbUA+JZRphfX9mpzFNG4PqVI 50gam8F8nmTW+2ZR6vRKuUmw4yBScMApUgNlOMJoNjyENElWllbUNZhwVkORJA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4VDh1T5YY5z1Cbt for ; Tue, 9 Apr 2024 22:47:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 439Mlf4H082627 for ; Tue, 9 Apr 2024 22:47:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 439Mlfjs082626 for bugs@FreeBSD.org; Tue, 9 Apr 2024 22:47:41 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 278283] /usr/bin/calendar: 11 bugs fixed, major improvements [tarball] Date: Tue, 09 Apr 2024 22:47:41 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: Unspecified X-Bugzilla-Keywords: feature, patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: wbe@psr.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback+ X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status keywords bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: freebsd-bugs+owner@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278283 Bug ID: 278283 Summary: /usr/bin/calendar: 11 bugs fixed, major improvements [tarball] Product: Base System Version: Unspecified Hardware: Any OS: Any Status: New Keywords: feature, patch Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: wbe@psr.com Flags: maintainer-feedback+ Created attachment 249868 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D249868&action= =3Dedit .tar.gz of *.h *.c Makefile CHANGES and added tests I've fixed 11 bugs, added several new features I think people will like, completely revised date parsing to add more flexibility and features, remov= ed some never-used code, changed aliases, rewritten the man page to reflect all these changes and clarify how everything works now, and more. My changes are mostly backward compatible with the current version except f= or cases that I doubt exist or that probably shouldn't exist. E.g., current c= ode allows aliases such as NewMoon=3Dprintf("foo"); and Easter=3D15. My new co= de requires aliases to be wholly alphabetic. This and similar new restriction= s do not appear to be a problem for any of the files in deskutils/calendar-data 2022.11. The new code no longer fails in various cases in the calendar-data files wh= ere the current version fails. UTF-8 encoded national names now match case-independently, and various other things that didn't work before now do. * The attached tarball: As recommended by _Contributing to FreeBSD_, since the changes are large, I= 've attached a .tar.gz file with *.h, *.c, Makefile, and CHANGES. It includes = the unchanged files pathnames.h, ostern.c, and paskha.c. Unchanged and not incl= uded in the tar file are: the rest of ./tests/* and ./calendar/calendar.freebsd.= =20 SHA256(the .tar.gz file) =3D e41259f330ea66d1036a5828684e41da4b673067b06fd81ccaf10bc53e26c7ae * Version number: The changes are big enough that I think they merit the next major version number. See CHANGES for more on this. * Copyright: I've added a Copyright 2024 FreeBSD.org notice to every file I changed that already had a Copyright notice. See CHANGES for why I think this is necess= ary and appropriate. * Maintainer offer: If you adopt my changes, then, for the time being, I'll offer to help maint= ain both calender and deskutils/calendar-data: you would forward new bug reports (or bugzilla bug numbers) to me, and I'd send fixes to you (or post the fix= to bugzilla, or tell you it's something I can't fix). [Why do it that way? (1) I haven't really used git; and (2) I don't want to have to keep gigabytes worth of otherwise irrelevant src or ports git repository files around for less than 1MB worth of calendar files. Also, there'd be no need to issue me a commit bit.] Follow up to this bugzilla entry to let me know what you'd like to do. -WBE Maybe this'll make into 14.1? :) [I see bug #157748 from 2011 regarding files now in calendar-ports is still open. The changes look straight-forward enough, though some of the suggest= ed changes may take a little research to confirm or may be outdated now. The links in that bug report that I tried still worked when I followed them a f= ew weeks ago. I could look into that later.] --=20 You are receiving this mail because: You are the assignee for the bug.=