Commit graph

202 commits

Author SHA1 Message Date
longpanda 791da48673 Update for efi mouse 2022-03-30 19:52:04 +08:00
longpanda f683bcbd59 update for scroll menu text 2022-03-30 16:35:07 +08:00
A1ive 15b8b1f358
support scrolling menu entry's text (#1539) 2022-03-29 22:50:11 +08:00
A1ive a20592ecd1
Add mouse support for uefi (#1457)
* fix gcc11 warnings

* add mouse support for uefi
2022-03-29 22:49:37 +08:00
Celine Lee 9789069c0d
Modify casting in protection against underflow (#1514)
Dear Ventoy community –
 
Our team is working with your code and we noticed this if logical expression:
 
                if (len - 1 - (int)(long)(pos - pwdstr) != 32)
 
We studied the surrounding code. We believe we understand the intention of the type casts in the above if statement. It seems they were meant to ensure an underflow doesn’t occur by the subtraction between to char pointers, which is a great catch (!). However, we believe the way the type casts are structured, the code is not actually protecting against such underflow because pwdstr isn’t cast into a signed long until after the subtraction occurs. To properly protect this code against underflow, we believe it should be changed to something like the following:

if (len - 1 - ((long)pos – (long)pwdstr) != 32)

Or, to enhance readability for junior engineers who may not know that the “long” type cast is implicitly of a signed integer type, we could include the `signed` keyword for added verbosity:
 
if (len - 1 - ((signed long)pos – (signed long)pwdstr) != 32)
 
Thank you!
2022-03-26 10:29:18 +08:00
longpanda 6ae8bf840d Suppress the Fn hotkey when VTOY_DEFAULT_IMAGE is already Fn>xxx 2022-03-08 19:26:04 +08:00
longpanda ce862da402 1. Fix the bug when booing Easy Recovery Essentional for Windows10.
2. Fix the bug when booting FreeBSD 13.0 by F2 browser mode.
2022-03-08 18:27:07 +08:00
longpanda ff14c07c4e Support Easy Recovery Essentials (#1481) 2022-03-06 19:31:18 +08:00
longpanda c3718d6001 Auto use memdisk mode for Memtest86+ iso file. 2022-02-22 22:23:33 +08:00
longpanda 045f53d768 1.0.69 release 2022-02-15 22:04:50 +08:00
longpanda 96fdd594f0 Support to F2 browse Ventoy partition self. 2022-02-15 14:42:46 +08:00
longpanda 62dc0033ad Make VTOY_TREE_VIEW_MENU_STYLE also control the browser menu style. (#1439) 2022-02-15 11:51:32 +08:00
longpanda 1c3fcbdfe9 Skip System Volume Information directory for F2 browser. 2022-02-15 11:39:09 +08:00
longpanda 7d37cab21d 1. F2 browser and vlnk support partitions in Ventoy reserved space (#1434)
2. Speedup browser
2022-02-15 11:31:03 +08:00
longpanda a1c6fe2d24 1.0.67 release
support to browse and boot files in local disk.
2022-02-14 23:31:54 +08:00
longpanda dbeb4023a2 Fixed to select the 1st menu item when switching between upper and lower sub-menus. 2022-02-14 14:29:50 +08:00
longpanda ba5978d298 1.0.66 release 2022-02-13 17:00:39 +08:00
longpanda 34a36bfc3e Fix the issue when booting the latest recalbox img file. (#1423) 2022-02-06 00:25:27 +08:00
longpanda 1f49265f29 1.0.64 release 2022-01-08 23:07:04 +08:00
longpanda 6a506ee7f3 Optimization for FreeBSD fragments process. 2021-11-24 15:46:21 +08:00
longpanda d938100eeb 1. Add default_file option in theme plugin
2. Add F5 Tools --> Theme Select menu to swith between themes
2021-11-16 19:32:23 +08:00
longpanda e4ccd5115e Optimization for FreeBSD 2021-11-16 15:04:41 +08:00
longpanda 164c8d6505 Optimization for FreeBSD distro. 2021-11-15 16:00:30 +08:00
longpanda b5a649f96f 1.0.61 release 2021-11-13 22:49:51 +08:00
longpanda a9c539572b Show a warning message if ventoy.json is in UCS-2 encoding. (#1125)
ventoy.json must in UTF-8 encoding. The BOM is auto skipped if exist.
2021-11-08 14:55:08 +08:00
longpanda e763d7590f Fix a bug when booting HDM17x64_17.20.0_ADV_Linux_Downloadly.ir.iso 2021-11-02 23:23:39 +08:00
longpanda f842d46f90 Fix the false error report about ventoy.jsonxxx file. (#1190) 2021-11-01 19:45:53 +08:00
longpanda f32d342f66 1.0.57 release 2021-10-29 22:58:15 +08:00
longpanda 09162e8d97 Improvement for multi-mode option.
Now you can use for example theme_uefi and theme at the same time.
2021-10-27 20:08:47 +08:00
longpanda e713946fd0 Case insensitive when checking checksum value. 2021-10-25 09:29:51 +08:00
longpanda a93b0f6656 Add .md5/.sha1/.sha256/.sha512 check file feature.
Hotkey m is for calculate checksum and print the result.
If also exist a .md5/.sha1/.sha256/.sha512 file, then it will check the result with the value in the file.
The .md5/.sha1/.sha256/.sha512 suffix is appended to the original file name not replace the original suffix.
For example:
/ISO/Ubuntu-20.04-amd64-desktop.iso
/ISO/Ubuntu-20.04-amd64-desktop.iso.md5
2021-10-24 18:52:09 +08:00
longpanda 836e1aa11e Add support for boot conf replace for distro which use systemd-boot in UEFI mode.
(#1170)
2021-10-23 23:15:25 +08:00
longpanda 154bbc6e5f hotkey optimization
h is equal to Ctrl+h
m is equal to Ctrl+m
2021-10-23 21:18:28 +08:00
longpanda f3b65452f4 Add extra check.
Still, Ventoy is used in some non standard way. (e.g. WuYouBBS)
I have explained in
8bbd5a14a3

So I add an extra check.
This is also a prepare for the future Ventoy secure boot policy.
2021-10-22 11:58:49 +08:00
longpanda 9cfd05811b Add timeout option for auto_install/persistence plugin (#1161) 2021-10-20 17:00:20 +08:00
longpanda f3e267a09e support ALT rescue 2021-10-19 23:07:27 +08:00
longpanda d6eba15d71 1. Add Ctrl+h hotkey for help
2. Add VTOY_HELP_TXT_LANGUAGE option in Global Control plugin
3. Add Ctrl+m hotkey for file cheksum
2021-10-19 17:42:32 +08:00
longpanda 734c7b8ac4 1.0.55 release 2021-10-17 21:56:30 +08:00
longpanda a9be2fd4d9 Improvement for some special WinPE 2021-10-14 11:27:22 +08:00
longpanda aa033e1fb6 1.0.54 release 2021-10-12 19:20:02 +08:00
longpanda 9351fe4f97 Fix a bug that menu_tip is not shown for the default menu item. 2021-10-12 16:02:25 +08:00
longpanda 67b8a34e8c Support WinPE with PESET.EXE 2021-10-12 11:24:04 +08:00
longpanda c18399e8b4 Add support for 小鱼儿yr系统维护PE 2021-10-11 21:11:52 +08:00
longpanda d72bb15956 1.0.53 release 2021-09-27 21:00:08 +08:00
longpanda d71514f23e 1.0.51 release 2021-08-27 20:36:32 +08:00
longpanda c5af17e04e experimental support for chromium os (fydeos/cloudready) 2021-08-26 14:17:44 +08:00
longpanda 05e208ea2a Support Lenovo EasyStartup 2021-08-23 16:56:17 +08:00
longpanda 112c557428 Show a warning message if the path of /ventoy/ventoy.json case mismatch. 2021-08-19 11:40:23 +08:00
longpanda 92db873b5c misc update 2021-08-18 23:00:11 +08:00
longpanda 84ec4b0de4 Support escaped quotes (\") in ventoy.json. (#1062) 2021-08-17 09:25:00 +08:00
longpanda b5503a7375 1.0.50 release 2021-08-14 20:30:28 +08:00
longpanda 7babe823d6 Add F5-->Tools-->Ventoy UEFI Utilities-->Show EFI Drivers feature. 2021-08-12 19:47:43 +08:00
longpanda bafac7479d Fix the boot issue for Untangle ISO in legacy bios mode. (#1054) 2021-08-11 09:44:09 +08:00
longpanda 6c113880e5 Fixed the boot issue for "StorageCraft Recovery Environment CrossPlatform" in UEFI mode. 2021-08-02 22:50:38 +08:00
longpanda e2656c287b Compatibility improvement for some WinPE 2021-08-02 21:03:43 +08:00
longpanda 5d0ebf4510 support custom arch iso (#1021) 2021-07-27 19:08:40 +08:00
longpanda c8cf9b7ce2 Speedup md5sum/sha1sum/sha256sum/sha512sum command 2021-07-16 01:36:10 +08:00
longpanda 4c71d7c190 Support WinPE which contains pecmd.exe 2021-07-16 01:03:01 +08:00
longpanda b3982d4930 Fixed a bug when booting big boot.wim file. 2021-07-11 01:02:00 +08:00
longpanda b347c1b5da Optimization for booting OpenWrt 2021-06-25 11:49:45 +08:00
longpanda 3e47f5e8de Fix a bug about ventoy version message position when VTOY_DEFAULT_IMG is set to F6>xxx 2021-06-09 20:55:45 +08:00
longpanda a8edb99d28 priority key>parent in menu class plugin 2021-05-31 20:46:45 +08:00
longpanda ac3ab97686 1.0.45 release 2021-05-29 19:42:16 +08:00
longpanda c42a8c6d93 misc update 2021-05-23 22:39:30 +08:00
longpanda 4b1dd4d3af print progress for md5sum/sha1sum/sha256sum/sha512sum 2021-05-22 19:39:59 +08:00
longpanda f4774ee0e4 Fix pack error in vDisk env (#912) 2021-05-21 10:06:16 +08:00
longpanda 331080fb95 Add parent option in auto_install and injection plugin. 2021-05-16 18:12:07 +08:00
longpanda 99fbd14f08 1.0.44 release 2021-05-15 19:44:20 +08:00
longpanda f7b3bd1729 Add parent option in password plugin 2021-05-15 08:57:26 +08:00
longpanda 672632a0c2 Add isopwd wimpwd efipwd imgpwd vhdpwd vtoypwd option in password plugin (#898) 2021-05-14 22:27:26 +08:00
longpanda 93996cf7e2 1. Optimization for WIMBOOT mode.
2. Add WIMBOOT for UEFI mode.
2021-05-13 23:05:42 +08:00
longpanda ca62128f9b Add WIMBOOT mode 2021-05-12 22:49:12 +08:00
longpanda 265b70f1c7 misc update 2021-05-10 18:13:41 +08:00
longpanda d05eab2be1 support boot Windows VHD(x) at local disk 2021-05-08 15:33:11 +08:00
longpanda 849dfb463d 1. Change the UTF-16 languages.ini to UTF-8 languages.json
2. The update button is available even if data corrupted in VTOYEFI partition.
3. Set the default focus to No when you click Install button in Ventoy2Disk.exe.
4. Fix a BUG when booting Windows VHD(x) with the latest ventoy_vhdboot.img.
5. Support boot Windows VHD(x) files in local disk.
2021-05-08 14:22:37 +08:00
longpanda e1099e1e5b Add parent option in menu_class plugin. 2021-04-25 10:31:03 +08:00
longpanda c6be35f2c0 Support * fuzzy matching for file path in some plugins 2021-04-24 16:03:38 +08:00
longpanda 6bd0463d34 Support openwrt IMG file 2021-04-21 19:40:54 +08:00
longpanda f82475d950 support new GhostBSD release 2021-04-20 13:10:35 +08:00
longpanda e252fab9a4 boot iso file with ventoy in ventoy_grub.cfg 2021-04-12 22:30:14 +08:00
longpanda 65a2cb1685 1.0.40 release 2021-04-10 20:01:39 +08:00
longpanda e23e76f54e grub2 boot mode for UEFI 2021-04-10 13:57:20 +08:00
longpanda 8ebe972f6e Fixup a bug when booting special Windows/WinPE ISO file. 2021-04-02 14:11:47 +08:00
longpanda 32bcd8f87b Clear input key before show main menu 2021-04-01 09:42:57 +08:00
longpanda f4bbec65ba 1.0.39 release 2021-03-28 17:18:23 +08:00
longpanda 2e10aabe94 Add VTOY_DEFAULT_KBD_LAYOUT in global control plugin 2021-03-24 22:08:10 +08:00
longpanda 291e0a3a38 add debug info 2021-03-17 22:17:51 +08:00
longpanda 0717195481 1.0.38 release 2021-03-16 19:35:19 +08:00
longpanda 5d3285356e fix issue for image_black_list 2021-03-15 21:51:57 +08:00
longpanda dce5d1b769 support for tails.img 2021-03-09 17:17:46 +08:00
longpanda b63ce2a3df experimental support for loongson mips64el uefi 2021-03-05 23:03:34 +08:00
longpanda bb7e10d93e Add VTOY_MAX_SEARCH_LEVEL option in global control plugin 2021-03-02 17:58:19 +08:00
longpanda 324c97883a Improvement for UEFI boot compatibility. 2021-03-02 15:39:27 +08:00
longpanda cc9ff41589 misc update 2021-02-07 01:01:04 +08:00
longpanda 2185556dfd
fix integer overflow issue for i386-pc 2021-02-06 15:41:43 +08:00
longpanda 97be7b8bfb
fix integer overflow issue for i386-pc 2021-02-06 14:37:04 +08:00
longpanda 3dd3b7d26f Print a tip when enumerating image files. 2021-02-05 14:13:02 +08:00
longpanda b0208c8ce3 Only use acpi when secureboot if enabled in UEFI mode. 2021-02-04 13:36:26 +08:00
longpanda b1d5237041 1.0.34 release 2021-02-03 21:07:17 +08:00
longpanda a37c6af8d0 Display warning message if ISO file has an invalid size. 2021-02-03 13:56:28 +08:00