Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Libpng
提交
b729fff4
T
Third Party Libpng
项目概览
OpenHarmony
/
Third Party Libpng
大约 1 年 前同步成功
通知
4
Star
22
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
Third Party Libpng
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
b729fff4
编写于
7月 28, 2018
作者:
C
Cosmin Truta
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Remove the Y2K compliance statement
As of July 2018, this statement is no longer necessary.
上级
c36c09f0
变更
22
隐藏空白更改
内联
并排
Showing
22 changed file
with
20 addition
and
78 deletion
+20
-78
README
README
+0
-1
png.h
png.h
+0
-57
scripts/makefile.32sunu
scripts/makefile.32sunu
+1
-1
scripts/makefile.64sunu
scripts/makefile.64sunu
+1
-1
scripts/makefile.darwin
scripts/makefile.darwin
+1
-1
scripts/makefile.freebsd
scripts/makefile.freebsd
+1
-1
scripts/makefile.hp64
scripts/makefile.hp64
+1
-1
scripts/makefile.hpgcc
scripts/makefile.hpgcc
+1
-1
scripts/makefile.hpux
scripts/makefile.hpux
+1
-1
scripts/makefile.knr
scripts/makefile.knr
+1
-1
scripts/makefile.linux
scripts/makefile.linux
+1
-1
scripts/makefile.linux-opt
scripts/makefile.linux-opt
+1
-1
scripts/makefile.mips
scripts/makefile.mips
+1
-1
scripts/makefile.openbsd
scripts/makefile.openbsd
+1
-1
scripts/makefile.sco
scripts/makefile.sco
+1
-1
scripts/makefile.sggcc
scripts/makefile.sggcc
+1
-1
scripts/makefile.sgi
scripts/makefile.sgi
+1
-1
scripts/makefile.so9
scripts/makefile.so9
+1
-1
scripts/makefile.solaris
scripts/makefile.solaris
+1
-1
scripts/makefile.solaris-x86
scripts/makefile.solaris-x86
+1
-1
scripts/makefile.std
scripts/makefile.std
+1
-1
scripts/makefile.sunos
scripts/makefile.sunos
+1
-1
未找到文件。
README
浏览文件 @
b729fff4
...
...
@@ -147,7 +147,6 @@ Files in this distribution:
LICENSE => License to use and redistribute libpng
README => This file
TODO => Things not implemented in the current library
Y2KINFO => Statement of Y2K compliance
example.c => Example code for using libpng functions
libpng.3 => manual page for libpng (includes libpng-manual.txt)
libpng-manual.txt => Description of libpng and its functions
...
...
png.h
浏览文件 @
b729fff4
...
...
@@ -243,63 +243,6 @@
* <https://www.w3.org/TR/2003/REC-PNG-20031110/
*/
/*
* Y2K compliance in libpng:
* =========================
*
* July 15, 2018
*
* Since the PNG Development group is an ad-hoc body, we can't make
* an official declaration.
*
* This is your unofficial assurance that libpng from version 0.71 and
* upward through 1.6.35 are Y2K compliant. It is my belief that
* earlier versions were also Y2K compliant.
*
* Libpng only has two year fields. One is a 2-byte unsigned integer
* that will hold years up to 65535. The other, which is deprecated,
* holds the date in text format, and will hold years up to 9999.
*
* The integer is
* "png_uint_16 year" in png_time_struct.
*
* The string is
* "char time_buffer[29]" in png_struct. This is no longer used
* in libpng-1.6.x and will be removed from libpng-1.7.0.
*
* There are seven time-related functions:
* png.c: png_convert_to_rfc_1123_buffer() in png.c
* (formerly png_convert_to_rfc_1123() prior to libpng-1.5.x and
* png_convert_to_rfc_1152() in error prior to libpng-0.98)
* png_convert_from_struct_tm() in pngwrite.c, called in pngwrite.c
* png_convert_from_time_t() in pngwrite.c
* png_get_tIME() in pngget.c
* png_handle_tIME() in pngrutil.c, called in pngread.c
* png_set_tIME() in pngset.c
* png_write_tIME() in pngwutil.c, called in pngwrite.c
*
* All handle dates properly in a Y2K environment. The
* png_convert_from_time_t() function calls gmtime() to convert from system
* clock time, which returns (year - 1900), which we properly convert to
* the full 4-digit year. There is a possibility that libpng applications
* are not passing 4-digit years into the png_convert_to_rfc_1123_buffer()
* function, or that they are incorrectly passing only a 2-digit year
* instead of "year - 1900" into the png_convert_from_struct_tm() function,
* but this is not under our control. The libpng documentation has always
* stated that it works with 4-digit years, and the APIs have been
* documented as such.
*
* The tIME chunk itself is also Y2K compliant. It uses a 2-byte unsigned
* integer to hold the year, and can hold years as large as 65535.
*
* zlib, upon which libpng depends, is also Y2K compliant. It contains
* no date-related code.
*
* Glenn Randers-Pehrson
* libpng maintainer
* PNG Development Group
*/
#ifndef PNG_H
#define PNG_H
...
...
scripts/makefile.32sunu
浏览文件 @
b729fff4
...
...
@@ -219,7 +219,7 @@ clean:
libpng-config
$(LIBSO)
$(LIBSOMAJ)
*
\
libpng.pc
DOCS
=
ANNOUNCE CHANGES INSTALL KNOWNBUG LICENSE README TODO
Y2KINFO
DOCS
=
ANNOUNCE CHANGES INSTALL KNOWNBUG LICENSE README TODO
writelock
:
chmod
a-w
*
.[ch35]
$(DOCS)
scripts/
*
...
...
scripts/makefile.64sunu
浏览文件 @
b729fff4
...
...
@@ -219,7 +219,7 @@ clean:
libpng-config
$(LIBSO)
$(LIBSOMAJ)
*
\
libpng.pc
DOCS
=
ANNOUNCE CHANGES INSTALL KNOWNBUG LICENSE README TODO
Y2KINFO
DOCS
=
ANNOUNCE CHANGES INSTALL KNOWNBUG LICENSE README TODO
writelock
:
chmod
a-w
*
.[ch35]
$(DOCS)
scripts/
*
...
...
scripts/makefile.darwin
浏览文件 @
b729fff4
...
...
@@ -200,7 +200,7 @@ clean:
$(RM_F)
*
.o libpng.a pngtest pngout.png libpng-config
\
libpng.pc
$(LIBNAME)
.
*
dylib pngtesti pnglibconf.h
DOCS
=
ANNOUNCE CHANGES INSTALL KNOWNBUG LICENSE README TODO
Y2KINFO
DOCS
=
ANNOUNCE CHANGES INSTALL KNOWNBUG LICENSE README TODO
writelock
:
chmod
a-w
*
.[ch35]
$(DOCS)
scripts/
*
...
...
scripts/makefile.freebsd
浏览文件 @
b729fff4
...
...
@@ -62,7 +62,7 @@ test: pngtest
pnglibconf.h
:
$(PNGLIBCONF_H_PREBUILT)
cp
$(PNGLIBCONF_H_PREBUILT)
$@
DOCS
=
ANNOUNCE CHANGES INSTALL KNOWNBUG LICENSE README TODO
Y2KINFO
DOCS
=
ANNOUNCE CHANGES INSTALL KNOWNBUG LICENSE README TODO
writelock
:
chmod
a-w
*
.[ch35]
$(DOCS)
scripts/
*
...
...
scripts/makefile.hp64
浏览文件 @
b729fff4
...
...
@@ -206,7 +206,7 @@ clean:
libpng-config
$(LIBSO)
$(LIBSOMAJ)
*
\
libpng.pc pnglibconf.h
DOCS
=
ANNOUNCE CHANGES INSTALL KNOWNBUG LICENSE README TODO
Y2KINFO
DOCS
=
ANNOUNCE CHANGES INSTALL KNOWNBUG LICENSE README TODO
writelock
:
chmod
a-w
*
.[ch35]
$(DOCS)
scripts/
*
...
...
scripts/makefile.hpgcc
浏览文件 @
b729fff4
...
...
@@ -209,7 +209,7 @@ clean:
libpng-config
$(LIBSO)
$(LIBSOMAJ)
*
\
libpng.pc pnglibconf.h
DOCS
=
ANNOUNCE CHANGES INSTALL KNOWNBUG LICENSE README TODO
Y2KINFO
DOCS
=
ANNOUNCE CHANGES INSTALL KNOWNBUG LICENSE README TODO
writelock
:
chmod
a-w
*
.[ch35]
$(DOCS)
scripts/
*
...
...
scripts/makefile.hpux
浏览文件 @
b729fff4
...
...
@@ -204,7 +204,7 @@ clean:
libpng-config
$(LIBSO)
$(LIBSOMAJ)
*
\
libpng.pc pnglibconf.h
DOCS
=
ANNOUNCE CHANGES INSTALL KNOWNBUG LICENSE README TODO
Y2KINFO
DOCS
=
ANNOUNCE CHANGES INSTALL KNOWNBUG LICENSE README TODO
writelock
:
chmod
a-w
*
.[ch35]
$(DOCS)
scripts/
*
...
...
scripts/makefile.knr
浏览文件 @
b729fff4
...
...
@@ -91,7 +91,7 @@ install: libpng.a png.h pngconf.h pnglibconf.h
clean
:
$(RM_F)
*
.o libpng.a pngtest pngout.png ansi2knr pnglibconf.h
DOCS
=
ANNOUNCE CHANGES INSTALL KNOWNBUG LICENSE README TODO
Y2KINFO
DOCS
=
ANNOUNCE CHANGES INSTALL KNOWNBUG LICENSE README TODO
writelock
:
chmod
a-w
*
.[ch35]
$(DOCS)
scripts/
*
...
...
scripts/makefile.linux
浏览文件 @
b729fff4
...
...
@@ -222,7 +222,7 @@ clean:
$(LIBSO)
$(LIBSOMAJ)
*
pngtest-static pngtesti
\
libpng.pc pnglibconf.h
DOCS
=
ANNOUNCE CHANGES INSTALL KNOWNBUG LICENSE README TODO
Y2KINFO
DOCS
=
ANNOUNCE CHANGES INSTALL KNOWNBUG LICENSE README TODO
writelock
:
chmod
a-w
*
.[ch35]
$(DOCS)
scripts/
*
...
...
scripts/makefile.linux-opt
浏览文件 @
b729fff4
...
...
@@ -232,7 +232,7 @@ clean:
$(LIBSO)
$(LIBSOMAJ)
*
pngtest-static pngtesti
\
libpng.pc pnglibconf.h
DOCS
=
ANNOUNCE CHANGES INSTALL KNOWNBUG LICENSE README TODO
Y2KINFO
DOCS
=
ANNOUNCE CHANGES INSTALL KNOWNBUG LICENSE README TODO
writelock
:
chmod
a-w
*
.[ch35]
$(DOCS)
scripts/
*
...
...
scripts/makefile.mips
浏览文件 @
b729fff4
...
...
@@ -78,7 +78,7 @@ install: libpng.a
clean
:
rm
-f
*
.o libpng.a pngtest pngout.png pnglibconf.h
DOCS
=
ANNOUNCE CHANGES INSTALL KNOWNBUG LICENSE README TODO
Y2KINFO
DOCS
=
ANNOUNCE CHANGES INSTALL KNOWNBUG LICENSE README TODO
writelock
:
chmod
a-w
*
.[ch35]
$(DOCS)
scripts/
*
...
...
scripts/makefile.openbsd
浏览文件 @
b729fff4
...
...
@@ -28,7 +28,7 @@ NOPROFILE= Yes
CLEANFILES
+=
pngtest.o pngtest pnglibconf.h
MAN
=
libpng.3 libpngpf.3 png.5
DOCS
=
ANNOUNCE CHANGES INSTALL KNOWNBUG LICENSE README TODO
Y2KINFO
\
DOCS
=
ANNOUNCE CHANGES INSTALL KNOWNBUG LICENSE README TODO
\
libpng-manual.txt
# Pre-built configuration
...
...
scripts/makefile.sco
浏览文件 @
b729fff4
...
...
@@ -201,7 +201,7 @@ clean:
$(LIBSO)
$(LIBSOMAJ)
*
pngtest-static pngtesti
\
pnglibconf.h libpng.pc
DOCS
=
ANNOUNCE CHANGES INSTALL KNOWNBUG LICENSE README TODO
Y2KINFO
DOCS
=
ANNOUNCE CHANGES INSTALL KNOWNBUG LICENSE README TODO
writelock
:
chmod
a-w
*
.[ch35]
$(DOCS)
scripts/
*
...
...
scripts/makefile.sggcc
浏览文件 @
b729fff4
...
...
@@ -211,7 +211,7 @@ clean:
$(RM_F)
libpng.a pngtest pngtesti pngout.png libpng.pc
\
so_locations libpng-config
$(LIBSO)
$(LIBSOMAJ)
*
pnglibconf.h
DOCS
=
ANNOUNCE CHANGES INSTALL KNOWNBUG LICENSE README TODO
Y2KINFO
DOCS
=
ANNOUNCE CHANGES INSTALL KNOWNBUG LICENSE README TODO
writelock
:
chmod
a-w
*
.[ch35]
$(DOCS)
scripts/
*
...
...
scripts/makefile.sgi
浏览文件 @
b729fff4
...
...
@@ -212,7 +212,7 @@ clean:
$(LIBSO)
$(LIBSOMAJ)
*
\
so_locations pnglibconf.h
DOCS
=
ANNOUNCE CHANGES INSTALL KNOWNBUG LICENSE README TODO
Y2KINFO
DOCS
=
ANNOUNCE CHANGES INSTALL KNOWNBUG LICENSE README TODO
writelock
:
chmod
a-w
*
.[ch35]
$(DOCS)
scripts/
*
...
...
scripts/makefile.so9
浏览文件 @
b729fff4
...
...
@@ -222,7 +222,7 @@ clean:
libpng-config
$(LIBSO)
$(LIBSOMAJ)
*
\
libpng.pc pnglibconf.h
DOCS
=
ANNOUNCE CHANGES INSTALL KNOWNBUG LICENSE README TODO
Y2KINFO
DOCS
=
ANNOUNCE CHANGES INSTALL KNOWNBUG LICENSE README TODO
writelock
:
chmod
a-w
*
.[ch35]
$(DOCS)
scripts/
*
...
...
scripts/makefile.solaris
浏览文件 @
b729fff4
...
...
@@ -219,7 +219,7 @@ clean:
libpng-config
$(LIBSO)
$(LIBSOMAJ)
*
\
libpng.pc pnglibconf.h
DOCS
=
ANNOUNCE CHANGES INSTALL KNOWNBUG LICENSE README TODO
Y2KINFO
DOCS
=
ANNOUNCE CHANGES INSTALL KNOWNBUG LICENSE README TODO
writelock
:
chmod
a-w
*
.[ch35]
$(DOCS)
scripts/
*
...
...
scripts/makefile.solaris-x86
浏览文件 @
b729fff4
...
...
@@ -218,7 +218,7 @@ clean:
libpng-config
$(LIBSO)
$(LIBSOMAJ)
*
\
libpng.pc pnglibconf.h
DOCS
=
ANNOUNCE CHANGES INSTALL KNOWNBUG LICENSE README TODO
Y2KINFO
DOCS
=
ANNOUNCE CHANGES INSTALL KNOWNBUG LICENSE README TODO
writelock
:
chmod
a-w
*
.[ch35]
$(DOCS)
scripts/
*
...
...
scripts/makefile.std
浏览文件 @
b729fff4
...
...
@@ -109,7 +109,7 @@ clean:
$(RM_F)
*
.o libpng.a pngtest pngout.png pnglibconf.h pnglibconf.c
\
pnglibconf.out
DOCS
=
ANNOUNCE CHANGES INSTALL KNOWNBUG LICENSE README TODO
Y2KINFO
DOCS
=
ANNOUNCE CHANGES INSTALL KNOWNBUG LICENSE README TODO
writelock
:
chmod
a-w
*
.[ch35]
$(DOCS)
scripts/
*
...
...
scripts/makefile.sunos
浏览文件 @
b729fff4
...
...
@@ -90,7 +90,7 @@ install: libpng.a
clean
:
$(RM_F)
*
.o libpng.a pngtest pngout.png pnglibconf.h
DOCS
=
ANNOUNCE CHANGES INSTALL KNOWNBUG LICENSE README TODO
Y2KINFO
DOCS
=
ANNOUNCE CHANGES INSTALL KNOWNBUG LICENSE README TODO
writelock
:
chmod
a-w
*
.[ch35]
$(DOCS)
scripts/
*
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录