Commit Graph

36 Commits

Author SHA1 Message Date
Lance Fetters
97fb9594dc Support BSD version of sed in java version check
Previously, the `check_java_version` function used a regular expression
that worked with GNU sed, but failed with BSD sed. This change uses an
extended regular expression that works with both sed flavors.
2025-05-09 14:46:34 +02:00
Lance Fetters
9795c155a3 Ignore all java options when checking version
Previously, only the environment variable _JAVA_OPTIONS was being
filtered out; this change will filter out all options (e.g.
_JAVA_OPTIONS, JAVA_TOOL_OPTIONS, JAVA_OPTS), and anything else that
comes before the string "openjdk version"/"java version".
2025-05-08 21:28:15 +02:00
Vinfall
8999522fb2 fix: startup warning if _JAVA_OPTIONS is set 2025-01-25 09:31:44 +01:00
Jindra Petřík
b25130eed9 Fixed: #2300, #2303 ShellFolder Comparaor Windows Java error 2024-09-23 21:52:25 +02:00
Alexander Morgun
e862f09f85 Quote jar path 2024-08-05 11:17:25 +02:00
Jindra Petřík
bf32ff1ae5 Cli help - add minus for commands 2024-08-05 11:17:25 +02:00
Jindra Petřík
4e63384f56 ffdec-cli as separate executable, project
ffdec executable on linux
2024-08-05 11:17:25 +02:00
Jindra Petřík
d08082baf8 Fixed #2133 Linux/Mac - ffdec.sh not correctly parsing java build number on javas without it 2023-12-30 18:06:08 +01:00
Jindra Petřík
0a5eaa102f Added MEMORY and STACK_SIZE parameters now can be set via external variables FFDEC_MEMORY, FFDEC_STACK_SIZE 2023-12-30 18:06:08 +01:00
Stefan Hansson
84942d81e9 Fix incorrect quotation marks
With these included, the resulting path looks something like this:

    '"/app/bin'

That will always be an invalid path due to the extra double quote.
2023-10-16 13:47:44 +02:00
Jindra Petřík
a5bc1dcbe2 Update ffdec.sh 2023-10-16 09:36:06 +02:00
Eloi Torrents
2e36e2a569 Update bash syntax in ffdec.sh according to ShellCheck recommendations 2023-10-16 09:36:06 +02:00
Jindra Petřík
f468c60bf7 Fixed #1968, #1971, #1957 Cannot start FFDec due to large stack size on some configurations
Changed #1957 Larger stack size (when needed) must be configured manually in ffdec.bat or ffdec.sh
2023-02-12 11:43:05 +01:00
Jindra Petřík
daef690623 Changed #1957 Increased maximum stack size to avoid StackOverflowErrors on unusual scripts 2023-01-30 22:33:36 +01:00
Jindra Petřík
e2628d6baf Hide VLC error output 2022-12-18 23:10:24 +01:00
Jindra Petřík
ccfaeef551 Added PR119 Option to set scale factor in advanced settings (Set it to 2.0 on Mac retina displays) 2022-11-21 21:47:40 +01:00
Jindra Petřík
941d0e0318 #1015, #1466, #1513 Better error messages during saving, display message on out of memory 2021-04-05 16:56:59 +02:00
Jindra Petřík
134df71e46 Merge pull request #85 from maraflush/change-harcoded-shebang-patch
change /bin/bash to /usr/bin/env bash [ci skip]
2021-01-01 09:29:11 +01:00
Jindra Petřík
c6dfd58b69 Disable scaling (No distortion on hi-dpi monitors) 2021-01-01 01:08:31 +01:00
maraflush
1db03b045c change /bin/bash to /usr/bin/env bash . 2020-07-24 12:33:06 +02:00
Jindra Petřík
7949d6092b Debian package fix 2015-04-26 22:19:51 +02:00
Jindra Petřík
29237abbe3 Debian package 2015-04-26 12:14:33 +02:00
Jindra Petřík
96dfe6cf00 Issue #824 OS X Dock icon 2015-04-18 06:58:02 +02:00
Jindra Petřík
339f4e7da3 Java 8 required in Unix script 2015-04-04 20:34:18 +02:00
Yen Chi Hsuan
074933970c ffdec.sh: now relative paths accepted 2015-04-03 01:04:49 +08:00
Jindra Petřík
99ec0a592c SWFs in zip based bundles can be modified & saved 2015-03-07 07:39:44 +01:00
Yen Chi Hsuan
4b3729e5e6 Fix ffdec.sh 2015-03-07 02:46:58 +08:00
Yen Chi Hsuan
fa3cecb156 ffdec.sh: refactored error messages when ffdec.jar not found 2015-03-06 16:22:31 +08:00
Yen Chi Hsuan
43d25d53bf Make resource/ffdec.sh more robust 2015-03-06 16:02:41 +08:00
Yen Chi Hsuan
f17c692ad7 Identation 2015-01-30 22:43:12 +08:00
Yen Chi Hsuan
e9f3fb2960 Fix startup script for OpenJDK 8
Here are the version strings of four major implementations of java:

Sun JDK 7 java version "1.7.0_76"
OpenJDK 7 java version "1.7.0_75"
Sun JDK 8 java version "1.8.0_31"
OpenJDK 8 openjdk version "1.8.0_31"

For OpenJDK 8, the version detector in resources/ffdec.sh fails. An
extra `sed` is necessary for proper execution.
2015-01-30 22:36:13 +08:00
honfika@gmail.com
ed977101cb #681 Linux quoted parameters from other script not parsed as single file: fix from loki 2014-09-21 10:57:39 +02:00
honfika@gmail.com
887c243bc2 #654 backslash-escaped file names on command line cause error in Linux: 2nd fix from loki 2014-09-04 23:30:09 +02:00
honfika@gmail.com
07959c878f #654 backslash-escaped file names on command line cause error in Linux: rollback of loki's change 2014-09-03 23:20:44 +02:00
honfika@gmail.com
9d7689d7c9 #654 backslash-escaped file names on command line cause error in Linux: fix from loki 2014-09-03 22:20:34 +02:00
Jindra Petřík
199a4d0c2b trunk contents moved to root 2014-05-10 20:50:57 +02:00