Skip to content

build01485: 2020-01-26

Compare
Choose a tag to compare
@nextgens nextgens released this 26 Jan 23:40
build01485
22ea52a
Freenet 0.7.5 build 1485 is now available. [overview]

- fix a possible reason for the startup loop
- skip file compression where compression typically does not yield much improvement
- compressor: skip LZMA (old) if it is not the only requested compression method
- switch to java8 as the minimum required version
- capture fetchKeyBoxAboveBookmarks from the theme as default value
- If there are *.fref files in a peers-offers/ folder, ask user whether to connect to them
- Theora fixes thanks to redwerk: we can get Video safely now (the first step for streaming)!

Sidenote: If you are using a thirdparty IME
(Input Method Editor, used as text input for common asian languages),
please disable it for Freenet and use an IME from your Operating System.
There have been reports of the IME collecting your keystrokes.

Thank you for using Freenet!

- ArneBab

Developer changelog:

2020-01-26

Changes in 1485:

- avoid quadratic memory allocation if PooledFileRandomAccessBuffer is swapped to disk (should fix startup loops)
- compressor: skip LZMA (old) if it is not the only requested compression method
- remove the contrib submodule from the fred repo because gradle does not need it and it hinders self-hosting
- switch to java8 as the minimum required version
- fix bug7102: don't attempt to pre-allocate when we truncate
- capture fetchKeyBoxAboveBookmarks from the theme as default value
- skip file compression where compression typically does not yield much improvement
- If there are *.fref files in a peers-offers/ folder, ask user whether to connect to them
- Theora fixes thanks to redwerk: can filter Video now!
- fix config parsing bug (thanks to redwerk)

- ArneBab

---
Arne Babenhauserheide (19):
      remove the contrib submodule from the fred repo because gradle does not need it and it hinders self-hosting
      Turn CompressionRatioException into a checked exception to ensure that it gets handled wherever it could appear.
      Do not die when bookmarks are missing
      cleanup Sonar code style warnings
      undo cleanup that would likely have broken on Windows
      fix indentation
      remove pre1254 parameter
      add deprecation notice for OldLZMACompressor#compress
      adapt NewLZMA test for old LZMA, also add a full key decompression from static data.
      adapt NewLZMA test for old LZMA, also add a full key decompression — actual test.
      remove commented lines
      compressor: skip LZMA (old) if it is not the only requested compression method
      log skipping of lzma old compressor
      remove skipping compression check because it would lead to an endless loop
      travis: replace oraclejdk tests by more openjdk tests, 8-13
      filter: fix and re-use mime-type-by-extension from m3u for <video>
      sanitize FDTracker after unserializing
      fix non-thrown exception
      move the deserialization guard from FDTracker into PooledFileRandomAccessBuffer

Arne Babenhauserheide (freenet releases) (4):
      Update default bookmark editions
      Update default bookmark editions
      Update default bookmark editions
      Build 1485

Bert Massop (1):
      Improve RSS/feed sniffing

David ‘Bombe’ Roden (7):
      ✅ Update test to jUnit 4
      ✅ Turn each test into its own method
      ✏️ Escape “<” in javadocs
      ♻️ Move RSS sniffer to its own file
      🚚 Rename test class to match tested class
      💬 Remove link to broken download site
      ⬆️ Update links to jSite

Florent Daigniere (2):
      fix bug7102: don't attempt to pre-allocate when we truncate
      switch to java8

Oleh Shklyar (48):
      add config option to move the fetch key box above the bookmarks
      improvement in Winterfacey
      problem localization
      fix Theora header packet
      clean
      change throwing exceptions
      specify correct img extensions; fix mime test; test disabled js
      If there are *.fref files in a peers-offers/ folder, ask user whether to connect to them
      fix for recover large file upload after reboot
      attempt to skip file compression where compression typically does not yield much improvement
      fix whitespaces
      avoid recompression if it takes a lot of time
      Move minimumCompressionPercentage and amountOfDataToCheckCompressionRatio to config
      Move maxTimeForSingleCompressor to config and add to the config the ability to store a duration of time
      clean
      move millis conversion to String and back to TimeUtil class
      capture fetchKeyBoxAboveBookmarks from the theme as default value
      move alert tite and text to l10n
      fixes requested correctives
      clean js
      decode and check SETUP_HEADER
      add tests for BitInputStream class
      fixes after review
      add encoding to String constructor
      add restrictions on the length of comments that are logged
      run a formatter
      add braces
      add tests for TheoraBitstreamFilter
      refactoring header type and magic number validation
      skip reading comments at all
      add valid Theora video for tests
      move repeated parts to separate method
      rename methods from parseSome to verifySome; pull filter state handling up from verify methods; refactore construct CommentHeader with empty vendor string and comments
      optimize ilog method
      formatting (braces)
      refactoring of checking valu with limits
      correction of mistakes made during refactoring
      fix validator concept
      formatting
      recheck validation conditions
      formatting
      switch to java8
      Cleaning #665
      CompressionRatioException constraint
      remove CompressionRatioRuntimeException
      restrictions added
      renaming for code readability
      clean

Steve Dougherty (1):
      gradle: upgrade wrapper to 4.10.3

xor-freenet (1):
      FCPPluginConnectionImplTest: Fix spurious failures