Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
94 commits
Select commit Hold shift + click to select a range
7b1b1c2
Use lower case for Win32 includes
fabzzap Nov 17, 2018
b9b57a7
Ignore all built files in testsuite directory
pkot Jan 13, 2020
9d5482d
Test for number of mkdir() arguments
3x380V Dec 3, 2018
3da7745
Fix compat.c compilation with mingw32
3x380V Dec 3, 2018
61c0fb2
Remove unnecessary checks for USE_BLUETOOTH in configure.ac
fabzzap Jan 13, 2020
8658d7c
Add bluetooth support detection for Windows build
fabzzap Jan 13, 2020
2eecb0e
Use the native autoconf support for cross-compilation
fabzzap Nov 12, 2018
6a1f522
Include config.h from compat.h
3x380V Dec 3, 2018
3c87264
Cleanup usage of compat.h and config.h
pkot Jan 18, 2020
2063077
Update snprintf.c
fabzzap Nov 17, 2018
357e47a
Call connect_script only for opened device
3x380V Nov 21, 2018
91307a4
Add posix_spawn method to run external scripts
3x380V Nov 20, 2018
980eb8a
Put setenv() and unsetenv() declarations into compat.h
pkot Jan 26, 2020
436c460
fbus-phonet: avoid static local variable
3x380V Nov 9, 2018
842d1e0
nk6510: fix declarations to conform to C89
3x380V Nov 9, 2021
7d5a57b
nk6510: consolidate misconfiguration messages
3x380V Nov 21, 2020
838a417
common: gn_phone->models should be char * and not unsigned char *
pkot Jan 9, 2022
2f231e0
links: use char * instead of unsigned char *
pkot Jan 9, 2022
4801416
Change __unices__ macro definition to address -Wexpansion-to-defined …
pkot Jan 9, 2022
f315b20
Move snprintf to the convenience library
3x380V Nov 20, 2020
5b45fc5
libfunctions: reimplement gn_lib_is_connectiontype_supported
3x380V Jan 23, 2020
ec3657d
Run autoupdate on configure.ac
pkot Jan 9, 2022
903b702
configure.ac: do not mix library and device support checks
3x380V Jan 24, 2020
1908eb5
getopt: check HAVE_DECL_* when prototyping
3x380V Jan 6, 2026
74e80d6
devices: cleanup includes
3x380V Jan 25, 2020
4dd4d8c
devices: remove nowhere used device_reset()
3x380V Jan 24, 2020
45ae19e
devices: tcp: remove misleading comments
3x380V Jan 24, 2020
de62200
devices: dku2libusb: move definitions into C file
3x380V Jan 24, 2020
f108a52
devices: dku2libusb: whitespace cleanup
3x380V Jan 24, 2020
ee19a46
devices: unixbluetooth: whitespace cleanup
3x380V Nov 17, 2020
cf55fd5
devices: rename unixbluetooth.h include to bluetooth.h
3x380V Nov 18, 2020
3b21ffd
devices: remove empty unixirda.h include
3x380V Nov 18, 2020
bfd6057
devices: remove nowhere used linuxirda.h include
3x380V Nov 18, 2020
f57bdd5
devices: remove obsolete with_hw_handshake
3x380V Sep 5, 2020
86cccb2
devices: bluetooth: remove channel argument from open
3x380V Nov 17, 2020
cea8086
devices: make headers self sufficient
3x380V Jan 12, 2022
a2ec0de
devices: fix Win32 build
3x380V Jan 21, 2022
12b93ee
Use standard integer types
3x380V Nov 20, 2020
6451b00
Use autoconf type tests
3x380V Nov 20, 2021
5994ace
Drop uint8_t type from public headers
3x380V Nov 4, 2025
eafad24
Cleanup GNOKII_API __declspec
3x380V Nov 20, 2020
af33965
include: whitespace cleanup
3x380V Oct 29, 2021
2d203e5
common: whitespace cleanup
3x380V Jan 9, 2021
407ad5f
smsd: whitespace cleanup
3x380V Nov 4, 2025
d2b8e97
smsd: drop my_bool type
3x380V Jan 8, 2026
196811c
xgnokii: fix compilation with gcc-14
3x380V Nov 4, 2025
ba12d0d
gsm-encoding: remove break after return
3x380V Oct 28, 2021
d8c0565
configure.ac: remove reference to obsolete macros
pkot Jan 16, 2022
ef6160a
configure.ac: use ax_append_compile_flags
3x380V Jan 8, 2026
712b229
configure.ac: add -Wno-error=incompatible-pointer-types
3x380V Jan 8, 2026
e175eb2
compat.h: define ssize_t on systems where it is missing
3x380V Nov 4, 2025
f27ad44
compat.h: define stdint types for MSVC6
3x380V Nov 4, 2025
08edff3
compat.h: define isatty for MSVC6
3x380V Nov 4, 2025
ac75372
build: mingw fix
3x380V Nov 4, 2025
98107a7
build: use gettext directly
pkot Jan 16, 2022
90bfde4
build: remove obsolete mingw-cross.sh
3x380V Nov 8, 2021
3b6ef04
build: add snprintf directory to the dist target
3x380V Nov 6, 2025
b55e5aa
testsuite: fix detection of testit script directory
3x380V Nov 12, 2025
61bd13d
gen_gnokii_h.bat: use absolute paths
3x380V Nov 9, 2021
0c0cc79
gen_gnokii_h.ps1: configure.in is now configure.ac
3x380V Nov 9, 2021
d96e8dc
translation: fix a format mismatch in Polish translation
pkot Jan 16, 2022
97d7bff
translation: regenerate translation files
pkot Jan 16, 2022
8798d8b
m4: update acx_pthread.m4
pkot Jan 16, 2022
124f116
Update .gitignore files
3x380V Jan 11, 2022
68511f7
devices: pass gn_config to open
3x380V Sep 5, 2020
47e8bac
devices: serial, tekram: use instance data
3x380V Nov 17, 2020
b1543e1
devices: bluetooth: use instance data
3x380V Nov 18, 2020
7150e2b
devices: irda: use instance data
3x380V Nov 18, 2020
e7c7155
devices: tcp: use instance data
3x380V Nov 18, 2020
219d69e
devices: dku2libusb: use instance data
3x380V Nov 18, 2020
20500a3
devices: socketphonet: use instance data
3x380V Nov 18, 2020
b1d3156
devices: implement callback operations
3x380V Nov 18, 2020
f0ddc11
devices: compile selected devices only
3x380V Nov 18, 2020
0721c29
devices: bluetooth: remove stub functions
3x380V Nov 18, 2020
014f227
devices: irda: remove stub functions
3x380V Nov 18, 2020
229c53d
devices: tcp: remove stub functions
3x380V Nov 18, 2020
0286b28
devices: dku2libusb: remove stub functions
3x380V Nov 18, 2020
a01fc2d
devices: socketphonet: remove stub functions
3x380V Nov 4, 2025
182d053
gsm-mms: fix asprintf error check
3x380V Nov 5, 2025
7e2f14b
gsm-mms: use correct error code for failed memory allocations
3x380V Nov 10, 2025
6afaf73
gsm-sms: use utf8_encode() for encoding
3x380V Nov 13, 2025
665dead
gsm-encoding: drop glib dependency
3x380V Dec 15, 2019
3ba7c12
common: avoid variadic macros
3x380V Nov 5, 2025
1f91304
Windows: update MSVC6 project files
3x380V Nov 9, 2021
9df9c52
Windows: remove unmaintained Visual Studio solutions
3x380V Nov 9, 2021
18dd632
Move gn_sms_delivery_report_status into union
3x380V Oct 29, 2021
5f54552
configure.ac: remove unused program substitutions
3x380V Jul 25, 2026
4dae319
gnokii: fix locale settings
3x380V Jul 25, 2026
464dd43
testsuite: explicitely set locale
3x380V Jul 25, 2026
dc6263a
testsuite: fix line endings across platforms
3x380V Jul 25, 2026
f5da52c
gnokii: fix interactive stdin detection
3x380V Jul 26, 2026
650846d
gnokii: fix reading GN_SMS_DCS_8bit encoded files on Windows
3x380V Jul 26, 2026
4358eed
Install 'autopoint' in the builders as it is now required dependency
pkot Jan 7, 2026
d646dfd
Disable tests requiring Xpm
3x380V Jul 25, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Line-ending policy for the testsuite fixtures.
#
# gnokii terminates AT commands with a bare CR (the V.250 line-termination
# character) and separates human-readable output with newlines. The AT-command
# CR and the SMS end marker (0x1a) are protocol bytes and are preserved as-is;
# the newlines are an ordinary text stream and take the platform's native line
# ending. The expected outputs are therefore text and must be checked out with
# native EOLs so they match gnokii's stdout (LF on Unix, CRLF on Windows).
testsuite/out.* text

# The test drivers are sourced by /bin/sh; keep them LF so they run under the
# MSYS2/Cygwin bash on Windows regardless of the platform's autocrlf setting.
testsuite/test.* text eol=lf
testsuite/testit text eol=lf

# The iMelody sample is a newline-delimited text file; its line endings are an
# ordinary text stream and take the platform's native EOL.
Docs/sample/ringtone/star.imelody text

# Byte-exact fixtures: raw protocol data and CRLF-sensitive formats must never
# be converted on checkout. (8bit-*.bin still binary pending od diagnostics.)
testsuite/*.bin binary
testsuite/sms/* binary
testsuite/vcard/*.vcf binary
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
build-essential \
git \
autoconf automake libtool gettext intltool \
pkg-config \
autopoint pkg-config \
flex \
libgtk2.0-dev libglib2.0-dev \
libreadline-dev libbluetooth-dev \
Expand Down Expand Up @@ -59,7 +59,7 @@ jobs:
git \
build-essential \
autoconf automake libtool gettext intltool \
pkg-config \
autopoint pkg-config \
flex \
libglib2.0-dev libgtk2.0-dev \
libreadline-dev libbluetooth-dev \
Expand Down Expand Up @@ -125,6 +125,7 @@ jobs:
automake
libtool
gettext
gettext-devel
intltool
flex
pkgconf
Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ intltool-update.in
libtool
ltmain.sh
m4/*
!m4/ac_expand_dir.m4
!m4/ac_func_mkdir.m4
!m4/acx_pthread.m4
!m4/codeset.m4
Makefile
Makefile.global
Makefile.in
Expand Down
10 changes: 10 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,19 @@
o add local copy of codeset.m4 as it is gone from gettext 0.20
distribution (Paweł Kot)
o upgrade config.rpath to the most recent version (Paweł Kot)
o use the native Autoconf support for cross-compilation, that
is passing --host= to the configure script
(Ladislav Michl, Fabrizio Gennari)
* pcsc driver updates
o drop support for model=pcsc that was deprecated in libgnokii
0.6.28 and renamed as model=APDU (Daniele Forsi)
* win32 updates
o since Linux filesystems are case-sensitive, and MinGW-W64
provides lower case names for Win32 header files, use lower
case names in #include directives
o update snprintf.c (replacement of snprintf for systems where
it is not C99-compatible, such as Win32) to the latest
version from Samba's repository

0.6.31
======
Expand Down
2 changes: 1 addition & 1 deletion Docs/gnokii-hackers-howto
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ The gn_link structure is used to contain any information about the link
which is required by the StateMachine. Two vital functions in the link
are sm_send_message and sm_loop:

sm_send_message(u16 messagesize, u8 messagetype, void *message)
sm_send_message(uint16_t messagesize, uint8_t messagetype, void *message)
is the function called by the statemachine code to send a message 'down
the pipe'. The parameters are intended to be generic (though with
obvious origins :-) For example 'at' commands could be enumerated and
Expand Down
10 changes: 5 additions & 5 deletions Docs/sample/ringtone/star.imelody
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
BEGIN:IMELODY
VERSION:1.0
FORMAT:CLASS1.0
MELODY:a4g4e3e3e3d4*3b4g3g3a3g4a4b3a4g4e4d4*3b3d3d3d3a4g4e3e3e3d4#f4
END:IMELODY
BEGIN:IMELODY
VERSION:1.0
FORMAT:CLASS1.0
MELODY:a4g4e3e3e3d4*3b4g3g3a3g4a4b3a4g4e4d4*3b3d3d3d3a4g4e3e3e3d4#f4
END:IMELODY
38 changes: 24 additions & 14 deletions Makefile.am
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SUBDIRS = getopt include common gnokii po Docs
SUBDIRS = include getopt snprintf common gnokii po Docs

if WIN32
else
Expand All @@ -15,18 +15,28 @@ endif

SUBDIRS += testsuite

DIST_SUBDIRS = include Docs common gnokii gnokiid utils xgnokii po smsd Windows testsuite getopt

EXTRA_DIST = \
ChangeLog \
COPYING \
COPYRIGHT \
MAINTAINERS \
TODO \
intltool-extract.in \
intltool-merge.in \
intltool-update.in

DISTCLEANFILES = intltool-extract intltool-merge intltool-update
DIST_SUBDIRS = \
common \
Docs \
getopt \
gnokii \
gnokiid \
include \
po \
smsd \
snprintf \
testsuite \
utils \
Windows \
xgnokii

EXTRA_DIST = \
ChangeLog \
COPYING \
COPYRIGHT \
MAINTAINERS \
TODO

DISTCLEANFILES =

ACLOCAL_AMFLAGS = -I m4
45 changes: 0 additions & 45 deletions Windows/MSVC2010Express/README

This file was deleted.

139 changes: 0 additions & 139 deletions Windows/MSVC2010Express/config.h

This file was deleted.

26 changes: 0 additions & 26 deletions Windows/MSVC2010Express/gnokii.sln

This file was deleted.

Loading
Loading