2 Commits

Author SHA256 Message Date
e9cae8ee29 Accepting request 1268305 from Printing
OBS-URL: https://build.opensuse.org/request/show/1268305
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/goipp?expand=0&rev=2
2025-04-10 19:59:30 +00:00
cf0428da59 Accepting request 1268112 from home:rrahl0
- update to 1.2.0:
  * Added IntegerOrRange interface type
  * Added non-strict comparison of Values and Attributes (check for Similarity)
  * Fixed (Tag) Type() for TagNoValue. No it properly returns TypeVoid
  * Added (Group) Similar(), (Groups) Similar() and (Message) Similar()
  * Added (*Message) FixGroups()
  * (*Message) FixGroup() replaced by NewMessageWithGroups()
  * Added Attributes.Clone and Groups.Clone
  * Added MakeAttr() and MakeAttrCollection(). MakeAttribute considered deprecated
  * Added Formatter, Message.Print considered deprecated
  * Formatter: fixed formatting of 1SetOf Collection
  * Formatter: one more fix of formatting of 1SetOf Collection
  * Message.AttrGroups function made public
  * Added DeepCopy method for most types that contain values
  * Print PDF file example updated
  * Handling of Extended Tags Revisited
  * Removed Accept-Encoding HTTP header in example. Go does it better
  * Fixed go test on go 1.11
  * Fixed Tag.String for negative tag values
  * Improved output for Units.String() for unknown units
  * Values.Equal now returns false when comparing Values{} and Values(nil)
  * Collection.Equal abandoned
  * Tests refactoring: systematic testing of Tag methods
  * Tests refactoring: systematic testing of Value and Values methods
  * Tests refactoring: systematic testing of Type methods
  * Tests refactoring: systematic testing of Op methods
  * Sparse table for Op.String replaced with map, saving 132K of memory
  * Tests refactoring: systematic testing of Status methods
  * Sparse table for Op.String replaced with map, saving 10K of memory
  * Cosmetic

OBS-URL: https://build.opensuse.org/request/show/1268112
OBS-URL: https://build.opensuse.org/package/show/Printing/goipp?expand=0&rev=5
2025-04-10 08:20:29 +00:00
6 changed files with 71 additions and 12 deletions

View File

@@ -3,7 +3,7 @@
<service name="obs_scm" mode="manual">
<param name="url">https://github.com/OpenPrinting/goipp.git</param>
<param name="scm">git</param>
<param name="revision">refs/tags/v1.1.0</param>
<param name="revision">refs/tags/v1.2.0</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="versionrewrite-pattern">v(.*)</param>
</service>
@@ -12,5 +12,5 @@
<param name="file">*.tar</param>
<param name="compression">gz</param>
</service>
<service name="set_version" mode="buildtime" />
<service name="set_version" mode="manual" />
</services>

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:eff588e63ba55fa0f7c5b8d6073c2d355d48a2c096ab11bf2b47517421ba2b13
size 224267

3
goipp-1.2.0.obscpio Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8488f67cee529395fbf31acb0e6a33f80fede282dc6f1cb47e5fca4c6c4796d2
size 301067

View File

@@ -1,3 +1,62 @@
-------------------------------------------------------------------
Wed Apr 9 10:03:08 UTC 2025 - Richard Rahl <rrahl0@opensuse.org>
- update to 1.2.0:
* Added IntegerOrRange interface type
* Added non-strict comparison of Values and Attributes (check for Similarity)
* Fixed (Tag) Type() for TagNoValue. No it properly returns TypeVoid
* Added (Group) Similar(), (Groups) Similar() and (Message) Similar()
* Added (*Message) FixGroups()
* (*Message) FixGroup() replaced by NewMessageWithGroups()
* Added Attributes.Clone and Groups.Clone
* Added MakeAttr() and MakeAttrCollection(). MakeAttribute considered deprecated
* Added Formatter, Message.Print considered deprecated
* Formatter: fixed formatting of 1SetOf Collection
* Formatter: one more fix of formatting of 1SetOf Collection
* Message.AttrGroups function made public
* Added DeepCopy method for most types that contain values
* Print PDF file example updated
* Handling of Extended Tags Revisited
* Removed Accept-Encoding HTTP header in example. Go does it better
* Fixed go test on go 1.11
* Fixed Tag.String for negative tag values
* Improved output for Units.String() for unknown units
* Values.Equal now returns false when comparing Values{} and Values(nil)
* Collection.Equal abandoned
* Tests refactoring: systematic testing of Tag methods
* Tests refactoring: systematic testing of Value and Values methods
* Tests refactoring: systematic testing of Type methods
* Tests refactoring: systematic testing of Op methods
* Sparse table for Op.String replaced with map, saving 132K of memory
* Tests refactoring: systematic testing of Status methods
* Sparse table for Op.String replaced with map, saving 10K of memory
* Cosmetic
* Attributes.Equal now returns false when comparing Attributes{} and Attributes(nil)
* Attributes.Clone and Attributes.DeepCopy return nil for nil input
* Values.Clone and Values.DeepCopy return nil for nil input
* Fixed decoding Range and Resolution values with negative integer fields
* Tests refactoring: full testing of Attribute and friends
* Added missed Group.Clone method
* Groups.Equal now returns false when comparing Groups{} and Groups(nil)
* Groups.Clone and Groups.DeepCopy return nil for nil input
* Tests refactoring: full testing of Group and Groups
* Tests refactoring: message.go partially test-covered
* Tests refactoring: added NewMessageWithGroups test
* Tests refactoring: added Message.AttrGroups test
* Tests refactiring: added tests for Message.Equal and Message.Similar functions
* Removed unused constant (FormatterMaxWidth)
* Fixed error message formatting for TestMessageEqualSimilar
* Message.Print rewritten as a wrapper to Formatter
* Tests refactoring: added Message.Reset test
* Tests refactoring: added test for the Message.Print function
* Tests refactoring: 100% test coverage for Formatter
* Fixed building of test (duplicated TestVersion)
* Tests refactoring: goipp_test.go renamed to encdec_test.go and refactored
* Tests refactoring: 100% test coverage achieved!!!
* Code formatting updated
- change set_version service to manual
- make rpmlint happy, by adjusting the Summary field
-------------------------------------------------------------------
Thu Jul 25 22:00:29 UTC 2024 - Richard Rahl <rrahl0@opensuse.org>

View File

@@ -1,4 +1,4 @@
name: goipp
version: 1.1.0
mtime: 1701776076
commit: 94c92a6d5d2b2591683a3a50f94b333a49b99220
version: 1.2.0
mtime: 1744136955
commit: 5894f1e08f8d67cd061f58836a68bdf55849ca68

View File

@@ -1,7 +1,7 @@
#
# spec file for package goipp
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,9 +18,9 @@
%define import_path github.com/OpenPrinting/goipp
Name: goipp
Version: 1.1.0
Version: 1.2.0
Release: 0
Summary: Goipp implements the IPP core protocol in pure GO
Summary: Implementation of the IPP core protocol in pure GO
License: BSD-2-Clause
URL: https://github.com/OpenPrinting/goipp
Source: %{name}-%{version}.tar.gz
@@ -43,7 +43,7 @@ only the low-level stuff.
%goprep %{import_path}
%build
%gobuild .
%gobuild
%install
%gosrc