Skip to content

Commit 20d95db

Browse files
septsgithub-actions[bot]
authored andcommitted
v3.0.0
1 parent 2d57fa3 commit 20d95db

274 files changed

Lines changed: 44542 additions & 34584 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Jambase

Lines changed: 47 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,11 @@ JAMBASEDATE = 2008.03.26 ;
379379

380380
if $(NT)
381381
{
382+
if ! [ GLOB $(PATH) : mt.exe ] {
383+
Echo "mt is NOT available!" ;
384+
WIN_UTF8 = false ;
385+
}
386+
382387
MV ?= move /y ;
383388
CP ?= copy ;
384389
RM ?= del /f/q ;
@@ -414,7 +419,11 @@ if $(NT)
414419
TPFX = "" ;
415420

416421
if [ GLOB $(MINGW)/bin : x86_64-w64-mingw32-gcc.exe ] {
417-
MINGW64 = $(MINGW) ;
422+
if [ GLOB $(MINGW)/bin : gcc.exe ] {
423+
MINGW64 = $(MINGW) ;
424+
} else {
425+
MINGW64o32 = $(MINGW) ;
426+
}
418427
}
419428

420429
# This doesn't work on a 32 bit system because we're cross
@@ -423,11 +432,16 @@ if $(NT)
423432
# Will using -m32 for local exe's fix this ?
424433
# What is multi-lib option ???
425434
if $(MINGW64) {
426-
ECHO "Compiler is MingW for 64 bit target" ;
435+
ECHO "Compiler is native MingW 64 bit target" ;
436+
TARGET64 = true ;
437+
TPFX1 = "" ; # Some tools
438+
TPFX2 = "" ; # Rest of tools
439+
} else if $(MINGW64o32) {
440+
ECHO "Compiler is MingW 64 bit target on 32 bit host" ;
427441
TARGET64 = true ;
428442
TPFX1 = x86_64-w64-mingw32- ; # Some tools
429443
TPFX2 = x86_64-w64-mingw32- ; # Rest of tools
430-
MINGW64_LIB32 = $(MINGW)/mingw/lib32 ;
444+
# MINGW64_LIB32 = $(MINGW)/mingw/lib32 ;
431445
} else {
432446
ECHO "Compiler is MingW for 32 bit target" ;
433447
TPFX1 = "" ; # Some tools
@@ -439,7 +453,7 @@ if $(NT)
439453
AS ?= $(TPFX2)as ;
440454
CC ?= $(TPFX1)gcc ;
441455
echo "CC = " $(CC) ;
442-
CCFLAGS ?= -DNT -mwin32 -pipe ;
456+
CCFLAGS ?= -DNT -mwin32 -pipe ; # -fwrapv ??
443457
C++ ?= $(CC) ;
444458
C++FLAGS ?= $(CCFLAGS) ;
445459

@@ -448,7 +462,7 @@ echo "CC = " $(CC) ;
448462
# WINLIBS ?= -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32
449463
# -lodbc32 -ladvapi32 -lodbc32 -lwsock32 -lopengl32
450464
# -lglu32 -lshlwapi -lsetupapi ;
451-
WINLIBS ?= -lshlwapi -lsetupapi -lole32 -lws2_32 -lpsapi -lversion ;
465+
WINLIBS ?= -lshlwapi -lsetupapi -lole32 -lws2_32 -lpsapi -liphlpapi -lversion ;
452466
GUILIBS ?= -lgdi32 -lmscms ;
453467

454468
LINK ?= $(TPFX1)g++ ; # In case we link to C++ files
@@ -676,6 +690,7 @@ echo "CC = " $(CC) ;
676690
oleaut32.lib
677691
ws2_32.lib
678692
Wbemuuid.lib
693+
iphlpapi.lib
679694
Version.lib
680695
# Winmm.lib
681696
;
@@ -981,7 +996,7 @@ else if $(UNIX)
981996

982997
# UNIX defaults
983998

984-
CCFLAGS ?= -DUNIX -D_THREAD_SAFE -pipe ;
999+
CCFLAGS ?= -DUNIX -D_THREAD_SAFE -pipe ; # -fwrapv ??
9851000
CCOPTFLAG ?= -O2 ;
9861001
CCDEBUGFLAG ?= -g ;
9871002
CCPROFFLAG ?= ;
@@ -2770,6 +2785,10 @@ rule GUIAPP
27702785
{
27712786
}
27722787

2788+
rule UTF8APP
2789+
{
2790+
}
2791+
27732792
# /HdrMacroFile
27742793
#
27752794
# this rule is specific to FT-Jam. It is used to indicate that a given file
@@ -3432,6 +3451,12 @@ rule MainFromObjects
34323451
if [ geton $(_t) : GUIAPP ] = "true" {
34333452
GUIAPP $(_t) ;
34343453
}
3454+
3455+
# On MSWin10 we may want to use UTF-8 for text
3456+
if $(WIN_UTF8) = true {
3457+
UTF8APP $(_t) ;
3458+
}
3459+
34353460
#Echo "MainFromObjects done" ;
34363461
}
34373462

@@ -4443,6 +4468,22 @@ if $(NT)
44434468
{
44444469
$(CP) /b $(>) + nul $(<) > nul
44454470
}
4471+
4472+
# Allow MSWin10 apps to use UTF-8
4473+
4474+
actions UTF8APP
4475+
{
4476+
echo ^<?xml version="1.0" encoding="UTF-8" standalone="yes"?^>>$(<).tmp
4477+
echo ^<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1"^>>>$(<).tmp
4478+
echo ^<assemblyIdentity type="win32" name="..." version="6.0.0.0"/^>>>$(<).tmp
4479+
echo ^<application xmlns="urn:schemas-microsoft-com:asm.v3"^>>>$(<).tmp
4480+
echo ^<windowsSettings^>>>$(<).tmp
4481+
echo ^<activeCodePage xmlns="http://schemas.microsoft.com/SMI/2019/WindowsSettings"^>UTF-8^</activeCodePage^>>>$(<).tmp
4482+
echo ^</windowsSettings^>>>$(<).tmp
4483+
echo ^</application^>>>$(<).tmp
4484+
echo ^</assembly^>>>$(<).tmp
4485+
mt.exe -nologo -manifest $(<).tmp -outputresource:$(<);#1
4486+
}
44464487
}
44474488

44484489
if $(NT) && $(MSVCNT)

Jamfile

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
# Overall optization state and configuration. Overrides sub-Jamfiles
55
# See Jamtop and Jambase for other details.
66

7-
PREF_CCFLAGS += $(CCOPTFLAG) ; # Turn optimisation on
8-
#PREF_CCFLAGS += $(CCDEBUGFLAG) ; # Debugging flags
7+
#PREF_CCFLAGS += $(CCOPTFLAG) ; # Turn optimisation on
8+
PREF_CCFLAGS += $(CCDEBUGFLAG) ; # Debugging flags
99
#PREF_CCFLAGS += $(CCHEAPDEBUG) ; # Heap Debugging & Debugging flags
1010
#PREF_LINKFLAGS += $(LINKOPTFLAG) ; # Link optimization flags
1111
PREF_LINKFLAGS += $(LINKDEBUGFLAG) ; # Link debugging flags
@@ -14,6 +14,15 @@ PREF_LINKFLAGS += $(LINKDEBUGFLAG) ; # Link debugging flags
1414

1515
# Include all the sub-directory Jamfiles
1616

17+
# Compile date
18+
Always compiledate.h ;
19+
if [ GLOB $(PATH) : awk awk.exe ] {
20+
GenFileNND compiledate.h : "awk 'BEGIN {srand();print \"#define COMPILEDATE \" srand()}' > compiledate.h" ;
21+
} else {
22+
# make sure compilation fails if there is no awk and compiledate.h is needed
23+
GenFileNND compiledate.h : $(RM) compiledate.h ;
24+
}
25+
1726
SubInclude numlib ;
1827
SubInclude plot ;
1928
SubInclude icc ;

Jamtop

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44

55
Echo "Argyll Jamtop has been read" ;
66

7+
# Development config.
8+
if [ GLOB $(TOP) : JamPrivate ] {
9+
include $(TOP)/JamPrivate ;
10+
}
11+
712
# Default install base directory is same directory as Jamtop,
813
# but can be overriden in the command line.
914
DESTDIR ?= [ NormPaths . ] ;
@@ -26,6 +31,9 @@ ANCHORED_PATH_VARS = DESTDIR ;
2631
# Tell standalone libraries that they are part of Argyll:
2732
DEFINES += ARGYLLCMS ;
2833

34+
# Enable all instrument types by default
35+
DEFINES += ALLINSTS ;
36+
2937
# enable serial instruments & support
3038
USE_SERIAL = true ;
3139

@@ -46,14 +54,18 @@ USE_VTPGLUT = false ;
4654
USE_PRINTER = false ;
4755

4856
# enable CMF Measurement device and accessory support (if present)
49-
USE_CMFM = true ;
57+
USE_CMFM = false ;
5058

5159
# Use ArgyllCMS version of libusb (deprecated - don't use)
5260
USE_LIBUSB = false ; # [false]
5361

5462
# Compile in graph plotting code (Not fully implemented)
5563
USE_PLOT = true ; # [true]
5664

65+
# Enable UTF-8 code pages on MSWindows V 1903 or later,
66+
# to make executable language handling consistent across MSWin/OS X/Linux
67+
WIN_UTF8 = true ; # [true]
68+
5769
if $(USE_LIBUSB) = true {
5870

5971
# Use libusb1 rather than libusb0 & libusb0-win32 (deprecated)

Readme.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Argyll CMS README file - Version 2.3.1
33
--------------------------------------
44

5-
Date: 27th June 2022
5+
Date: 15th September 2023
66
Author: Graeme Gill
77

88
Introduction
@@ -26,7 +26,7 @@ provided for each major tool, and a general guide to using the tools for
2626
typical color management tasks is also available. A mailing list provides
2727
support for more advanced usage.
2828

29-
This is Version 2.3.1, a bug fix update to the last release V2.3.0.
29+
This is Version 3.0.0, a feature and bug fix update to the last release V2.3.1.
3030
The first public release of icclib was in November 1998,
3131
and of Argyll was in October 2000. Code development commenced in 1995. See
3232
Changes Summary for an overview of changes since the last release. Changes

adirs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
.
2+
doc
3+
ref
4+
h
25
numlib
36
usb
47
plot
@@ -19,9 +22,6 @@ ucmm
1922
jcnf
2023
yajl
2124
lib
22-
h
23-
ref
24-
doc
2525
zlib
2626
tiff
2727
jpeg

afiles

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,9 @@ Makefile
1111
License.txt
1212
License2.txt
1313
License3.txt
14-
ttbd.txt
1514
log.txt
16-
notes.txt
1715
makeall.bat
1816
install.bat
1917
makeall.sh
20-
ziparch.sh
2118
makeinstall.sh
2219
makepackagebin.sh
23-
makeoemdnldbin.sh

ccast/Jamfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,6 @@ LINKLIBS = ./libccast $(SSLLIB) ../yajl/libyajl ../numlib/libnum ../spectro/libc
3737

3838
# Test harness
3939
#Main cctest : cctest.c ;
40-
Main filt : filt.c ;
41-
MainVariant dpat : dpat.c : : STANDALONE_TEST ;
40+
#Main filt : filt.c ;
41+
#MainVariant dpat : dpat.c : : STANDALONE_TEST ;
4242

ccast/afiles

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,24 +14,27 @@ cctest.c
1414
filt.c
1515
dpat.c
1616
cast_channel.proto
17+
chan/cast_channel.pb-c.c
18+
chan/cast_channel.pb-c.h
19+
chan/protobuf-c.c
20+
chan/protobuf-c.h
1721
axTLS/Jamfile
1822
axTLS/Readme.txt
1923
axTLS/aes.c
2024
axTLS/asn1.c
25+
axTLS/axTLS_config.h
26+
axTLS/axTLS_version.h
2127
axTLS/bigint.c
2228
axTLS/bigint.h
2329
axTLS/bigint_impl.h
2430
axTLS/cert.h
25-
axTLS/axTLS_config.h
2631
axTLS/crypto.h
2732
axTLS/crypto_misc.c
2833
axTLS/crypto_misc.h
29-
axTLS/gen_cert.c
3034
axTLS/hmac.c
3135
axTLS/loader.c
3236
axTLS/md2.c
3337
axTLS/md5.c
34-
axTLS/openssl.c
3538
axTLS/os_int.h
3639
axTLS/os_port.c
3740
axTLS/os_port.h
@@ -40,14 +43,12 @@ axTLS/private_key.h
4043
axTLS/rc4.c
4144
axTLS/rsa.c
4245
axTLS/sha1.c
46+
axTLS/sha256.c
47+
axTLS/sha384.c
48+
axTLS/sha512.c
4349
axTLS/ssl.h
4450
axTLS/tls1.c
4551
axTLS/tls1.h
4652
axTLS/tls1_clnt.c
4753
axTLS/tls1_svr.c
48-
axTLS/axTLS_version.h
4954
axTLS/x509.c
50-
chan/cast_channel.pb-c.c
51-
chan/cast_channel.pb-c.h
52-
chan/protobuf-c.c
53-
chan/protobuf-c.h

ccast/axTLS/Jamfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

2-
PREF_CCFLAGS = $(CCOPTFLAG) ; # Turn optimisation on
3-
#PREF_CCFLAGS = $(CCDEBUGFLAG) ; # Debugging flags
2+
#PREF_CCFLAGS = $(CCOPTFLAG) ; # Turn optimisation on
3+
PREF_CCFLAGS = $(CCDEBUGFLAG) ; # Debugging flags
44
PREF_LINKFLAGS = $(LINKDEBUGFLAG) ;
55

66
if $(NT) {
@@ -19,17 +19,17 @@ LIBSRCS =
1919
asn1.c
2020
bigint.c
2121
crypto_misc.c
22-
gen_cert.c
2322
hmac.c
2423
loader.c
25-
md2.c
2624
md5.c
27-
openssl.c
2825
os_port.c
2926
p12.c
3027
rc4.c
3128
rsa.c
3229
sha1.c
30+
sha256.c
31+
sha384.c
32+
sha512.c
3333
tls1.c
3434
tls1_clnt.c
3535
tls1_svr.c

ccast/axTLS/aes.c

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2007, Cameron Rich
2+
* Copyright (c) 2007-2016, Cameron Rich
33
*
44
* All rights reserved.
55
*
@@ -38,9 +38,6 @@
3838
#include "os_port.h"
3939
#include "crypto.h"
4040

41-
/* all commented out in skeleton mode */
42-
#ifndef CONFIG_SSL_SKELETON_MODE
43-
4441
#define rot1(x) (((x) << 24) | ((x) >> 8))
4542
#define rot2(x) (((x) << 16) | ((x) >> 16))
4643
#define rot3(x) (((x) << 8) | ((x) >> 24))
@@ -453,5 +450,3 @@ static void AES_decrypt(const AES_CTX *ctx, uint32_t *data)
453450
data[row-1] = tmp[row-1] ^ *(--k);
454451
}
455452
}
456-
457-
#endif

0 commit comments

Comments
 (0)