148aca23be
use SPDX IDs, replacing the long copyright headers
2023-03-06 14:59:48 +01:00
d6d0f78e93
Merge tag 'v0.23.10'
...
release v0.23.10
2022-10-14 23:56:33 +02:00
ccc3ee663b
java/File: remove assertions to work around -Wtautological-pointer-compare
2022-10-14 23:00:35 +02:00
4f041694d3
Merge tag 'v0.23.9'
...
release v0.23.9
2022-08-18 18:23:12 +02:00
1aa3c1e543
java/String: add static method Optional()
2022-08-18 18:10:16 +02:00
4953a57c1c
java/String: add std::string_view constructor
2022-07-14 13:03:23 +02:00
f510564d9d
more [[gnu::...]] attributes
2021-10-13 12:07:05 +02:00
c9a9248c9f
java/Class: use Java::LocalObject
...
This eliminates all but one DeleteLocalRef() call.
2021-08-28 08:09:54 +02:00
31f7fede30
java/GlobalRef: remove method Set(), always require initialization
2021-08-28 08:08:30 +02:00
917fe549b0
java/Object: use type aliases
2021-08-28 08:05:57 +02:00
8e430e55af
Java/GlobalRef: add LocalRef cast constructor
2021-08-28 08:04:20 +02:00
9e61bda592
java/String: add class StringUTFChars()
2021-08-27 12:30:43 +02:00
b59170b702
Java/Exception: simplify RethrowException()
2021-04-06 13:35:59 +02:00
a237db556a
java/File: add non-static GetAbsolutePath() overload
2021-04-06 13:35:59 +02:00
285ba54fe5
java/String: remove unnecessary env
parameter
2021-04-06 13:35:59 +02:00
ee86434a89
java/String: add const
2021-04-06 13:35:59 +02:00
95d5efbfe6
java/Ref: add nullptr comparison
2021-04-06 13:35:59 +02:00
c33f206ce8
java/Ref: add nullptr constructor
2021-04-06 13:29:35 +02:00
2d95ac2e94
Java/String: inherit the super class constructor
2021-04-06 13:29:24 +02:00
f58c14a74a
Java: no namespace indent
2021-04-06 13:29:13 +02:00
a52ce7bb7b
java/Ref: add move operator
2021-04-06 13:27:11 +02:00
16d187b7ed
java/Ref: remove const
, add default initialiser
2021-04-06 13:26:54 +02:00
296ec4d07c
java/Ref: add nullptr check to destructor
...
May allow the compiler to optimize calls away.
2021-04-06 13:26:29 +02:00
2db8bcc353
replace stddef.h with cstddef
...
The former is deprecated with C++14. The standard says both are the same:
The contents and meaning of the header<cstddef>are the same as the C
standard library header<stddef.h>,except that it does not declare the type
wchar_t, that it also declares the type byte and its associated
operations (21.2.5), and as noted in 21.2.3 and 21.2.4.
Signed-off-by: Rosen Penev <rosenp@gmail.com >
2020-03-12 19:04:38 -07:00
ab9f5d2067
replace assert.h with cassert
...
The former was deprecated with C++14.
According to the C++11 and C++17 standards, both files are identical.
Signed-off-by: Rosen Penev <rosenp@gmail.com >
2020-03-12 15:25:38 -07:00
4d1546cb38
java/File: use DiscardException()
2019-04-24 14:43:09 +02:00
a4bc972aad
java/File: use String::ToString() in ToAbsolutePath()
2019-04-24 14:40:31 +02:00
f1b6deb768
java/Exception: add RethrowException()
2019-04-24 14:09:45 +02:00
72ebd5ebdd
java/Object: add Object.toString() wrapper
2019-04-24 14:08:51 +02:00
61b2ae0f7c
java/String: add method ToString()
2019-04-24 14:07:52 +02:00
0d2ec5ead2
java/Object: rename class Object to GlobalObject
2019-04-24 14:07:52 +02:00
3cbadf42a5
java/Ref: add move constructor
2019-04-11 11:34:52 +02:00
1d49f1108f
java/Ref: allow LocalRef to be nullable
...
Makes using the Java glue classes simpler to use, at the cost of very
little overhead.
2019-04-11 11:32:07 +02:00
ce49d99c2f
check.h: remove obsolete header
...
Since we switched from autotools to Meson in commit
94592c1406
, we don't need to include
`config.h` early to properly enable large file support. Meson passes
the required macros on the compiler command line instead of defining
them in `config.h`.
This means we can include `config.h` at any time, whenever we want to
check its macros, and there are no ordering constraints.
2018-11-19 16:33:49 +01:00
94592c1406
build with Meson instead of autotools
...
So long, autotools! This is my last MPD related project to migrate
away from it. It has its strengths, but also very obvious weaknesses
and weirdnesses. Today, many of its quirks are not needed anymore,
and are cumbersome and slow. Now welcome our new Meson overlords!
2018-10-14 23:41:38 +02:00
ab678787f4
java/Ref: API doc line breaks
2018-09-06 20:04:46 +02:00
23556585ca
java/Ref: add LocalRef::GetEnv()
2018-09-06 20:04:40 +02:00
35eca08d48
java/*: add noexcept
2018-08-28 13:27:28 +02:00
7137ca375a
Merge branch 'v0.20.x'
2018-08-28 13:27:04 +02:00
282859a62a
java/String: include cleanup
2018-08-28 13:07:28 +02:00
fbeb5eefdc
java/Class: drop unnecessary namespace spec
2018-08-28 13:01:01 +02:00
85bada0505
java/Class: use DiscardException() in FindOptional()
...
Sometimes, the JVM returns a non-nullptr value with an exception
pending (seen on Android 1.6, maybe a Dalvik bug?). Let's catch all
such cases.
2018-08-28 13:00:08 +02:00
ec54754e22
Compiler.h: move to util/
2018-08-20 16:19:17 +02:00
bbc5212436
fs/AllocatedPath: make the nullptr_t constructor public
2018-01-17 12:17:41 +01:00
dad7d7e798
util/TruncateString: rename CopyString() to CopyTruncateString()
2017-07-05 17:15:58 +02:00
4b94ae8040
util/StringUtil: move CopyString() to TruncateString.cxx
2017-07-05 17:11:34 +02:00
6eea56861b
AUTHORS, ...: update my email address
2017-01-17 11:54:55 +01:00
0709065f50
Java/File: fix include guard
2014-11-24 07:51:25 +01:00
5268f55344
java/File: add method ToAbsolutePath() returning AllocatedPath
2014-03-01 20:53:39 +01:00
1e06c66c77
java: new helper library for the Android port
2014-03-01 18:48:20 +01:00