Changesets: bareos

master bcbdd396

2023-05-12 06:53

Sebastian Sura


Committer: Philipp Storz

Ported: N/A

Details Diff
unit-tests: rename vss conversion functions; fix strncat/cpy

Since strncat can write up to n+1 bytes (n bytes from src + null
terminator), we need to ensure that dest can hold up to that many
bytes!
Another issue is that strcpy may not leave the buffer with a zero
terminator. To ensure that this is always the case now we just use
strncat twice!
mod - core/src/tests/test_path_conversion.cc Diff File

master d2e90e8e

2023-05-11 15:09

Sebastian Sura


Committer: Philipp Storz

Ported: N/A

Details Diff
compat: remove com_security_mutex

We now just use a static object. The initialization is guaranteed to
be thread safe and will happen on the first call to
InitializeComSecurity(). This slightly changes behaviour: we now do
not retry whenever the previous call failed; since the only way for
InitializeComSecurity() to fail is for the system to run out of
memory (according to the documenentation), this should not be a
concern.
mod - core/src/win32/compat/compat.cc Diff File

master 90fb79e4

2023-05-11 12:41

pstorz


Committer: GitHub

Ported: N/A

Details Diff
Merge pull request 0001454

daemons: update network handling when IP protocols unavailable
mod - CHANGELOG.md Diff File
mod - core/src/lib/address_conf.cc Diff File
mod - core/src/lib/address_conf.h Diff File
mod - core/src/lib/bnet_server_tcp.cc Diff File
mod - core/src/tests/CMakeLists.txt Diff File
add - core/src/tests/addresses_and_ports_functions.cc Diff File
mod - core/src/tests/dlist_test.cc Diff File
mod - core/src/tests/test_config_parser_dir.cc Diff File
mod - core/src/tests/test_config_parser_fd.cc Diff File
mod - core/src/win32/compat/include/mingwconfig.h Diff File

master 8d6a19d3

2023-05-11 12:41

pstorz

Ported: N/A

Details Diff
Update CHANGELOG.md
mod - CHANGELOG.md Diff File

master b721365d

2023-05-11 12:37

pstorz


Committer: GitHub

Ported: N/A

Details Diff
Merge pull request 0001455

bsmtp bls bextract: fixes for command line parsing
mod - CHANGELOG.md Diff File
mod - core/manpages/bsmtp.1 Diff File
mod - core/src/stored/bextract.cc Diff File
mod - core/src/stored/bls.cc Diff File
mod - core/src/tools/bsmtp.cc Diff File
mod - docs/manuals/source/Appendix/BareosPrograms.rst Diff File
mod - docs/manuals/source/include/autogenerated/usage/bsmtp.txt Diff File

master 48ab1d86

2023-05-11 12:37

pstorz

Ported: N/A

Details Diff
Update CHANGELOG.md
mod - CHANGELOG.md Diff File

master c3f462a1

2023-05-11 12:36

arogge

Ported: N/A

Details Diff
matrix.yml: remove test on univention 5.0
mod - .matrix.yml Diff File

master 8303b9d9

2023-05-10 16:10

SamuelBoerlin


Committer: Bareos Bot

Ported: N/A

Details Diff
stored: add ReadOnly/WriteOnly SD Device directive

This directive allows to reserve devices for either read or write jobs.
mod - core/src/stored/dev.cc Diff File
mod - core/src/stored/dev.h Diff File
mod - core/src/stored/device_resource.cc Diff File
mod - core/src/stored/device_resource.h Diff File
mod - core/src/stored/reserve.cc Diff File
mod - core/src/stored/stored_conf.cc Diff File

master b17e3f4e

2023-05-10 14:55

Sebastian Sura


Committer: Philipp Storz

Ported: N/A

Details Diff
compat: add dmsg related to change time
mod - core/src/win32/compat/compat.cc Diff File

master 355d2018

2023-05-10 13:59

Alaa Eddine Elamri


Committer: pstorz

Ported: N/A

Details Diff
directly use addresses
mod - core/src/tests/addresses_and_ports_functions.cc Diff File

master 7c14262c

2023-05-10 08:34

Sebastian Sura


Committer: Philipp Storz

Ported: N/A

Details Diff
compat: fix removing wrong slashes

We should not remove slashes that are preceded by a colon since there
is a big difference for windows between "C:" and "C:\\", "C:/".
mod - core/src/win32/compat/compat.cc Diff File

master 0f149c42

2023-05-10 08:29

Sebastian Sura


Committer: Philipp Storz

Ported: N/A

Details Diff
unit-tests: delete cache between tests

Since our char -> wchar functions cache their results we need to
ensure that
1) we do not use the same path twice in the same tests after another
since then we would only test our cache; and
2) we clear the cache between test runs
1) has to be done manually but 2) can be done by clearing the cache in
the TearDown() of the fixture. This works because gtest does not
reuse fixtures for tests but instead recreates them for every test.
mod - core/src/tests/test_path_conversion.cc Diff File

master 83a8ea75

2023-05-09 12:41

Sebastian Sura


Committer: Philipp Storz

Ported: N/A

Details Diff
compat: replace ConvertNormalized by ReplaceSlashes
mod - core/src/win32/compat/compat.cc Diff File

master 0c9e78d6

2023-05-09 12:40

Sebastian Sura


Committer: Philipp Storz

Ported: N/A

Details Diff
unit-tests: add new test cases
mod - core/src/tests/test_path_conversion.cc Diff File

master 6ee68b14

2023-05-09 11:58

Alaa Eddine Elamri


Committer: pstorz

Ported: N/A

Details Diff
apply bareos-check-sources
mod - core/src/lib/address_conf.cc Diff File
mod - core/src/lib/address_conf.h Diff File
mod - core/src/lib/bnet_server_tcp.cc Diff File
mod - core/src/tests/CMakeLists.txt Diff File
mod - core/src/tests/addresses_and_ports_functions.cc Diff File
mod - core/src/tests/dlist_test.cc Diff File
mod - core/src/tests/test_config_parser_fd.cc Diff File

master 96e62937

2023-05-09 11:54

Alaa Eddine Elamri


Committer: pstorz

Ported: N/A

Details Diff
update addresses and ports tests
mod - core/src/tests/CMakeLists.txt Diff File
add - core/src/tests/addresses_and_ports_functions.cc Diff File

master c6ebd217

2023-05-09 11:27

Alaa Eddine Elamri


Committer: pstorz

Ported: N/A

Details Diff
applying review suggestions
mod - core/src/lib/address_conf.cc Diff File
mod - core/src/lib/address_conf.h Diff File

master 22a28617

2023-05-09 06:50

Sebastian Sura


Committer: Philipp Storz

Ported: N/A

Details Diff
unit-tests: add tests for slash replacement
mod - core/src/tests/test_path_conversion.cc Diff File

master 79713dbb

2023-05-09 06:49

Sebastian Sura


Committer: Philipp Storz

Ported: N/A

Details Diff
unit-tests: check long path behaviour
mod - core/src/tests/test_path_conversion.cc Diff File

master c8906d2f

2023-05-09 06:49

Sebastian Sura


Committer: Philipp Storz

Ported: N/A

Details Diff
unit-tests: use mock vss functions
mod - core/src/tests/test_path_conversion.cc Diff File

master a6680a34

2023-05-09 06:47

Sebastian Sura


Committer: Philipp Storz

Ported: N/A

Details Diff
compat: replace slashes even in literal paths
mod - core/src/win32/compat/compat.cc Diff File

master 2a60891a

2023-05-09 06:47

Sebastian Sura


Committer: Philipp Storz

Ported: N/A

Details Diff
compat: move RemoveTrailingSlashes into calling fn
mod - core/src/win32/compat/compat.cc Diff File

master 0361d985

2023-05-09 06:45

Sebastian Sura


Committer: Philipp Storz

Ported: N/A

Details Diff
compat: adjust literal/normalized path detection

Now we do not care specifically about backward slashes. Any slash is
ok!
mod - core/src/win32/compat/compat.cc Diff File

master 9d859e65

2023-05-09 06:44

Sebastian Sura


Committer: Philipp Storz

Ported: N/A

Details Diff
unit-tests: remove unused functions
mod - core/src/tests/test_path_conversion.cc Diff File

master 04e20471

2023-05-09 06:43

Sebastian Sura


Committer: Philipp Storz

Ported: N/A

Details Diff
baconfig: add assertions
mod - core/src/include/baconfig.h Diff File
 First  Prev  1 2 3 ... 59 60 61 62 63 64 65 ... 120 ... 180 ... 240 ... 300 ... 360 ... 420 ... 480 ... 540 ... 600 ... 622 623 624  Next  Last