Commit Graph
111 Commits
Author SHA1 Message Date
CorpNewtandGitHub ff8cb490ed Run Update Shell Profile.command instead of postinstall 2026-05-17 07:30:59 -05:00
CorpNewtandGitHub 133ea30acc Move echo to properly capture installer return code 2025-11-16 15:36:06 -06:00
CorpNewtandGitHub ffaebef034 Adjust for changes to python.org 2025-11-16 15:30:34 -06:00
CorpNewtandGitHub 993f1e887e Add some newlines back for clarity 2025-03-06 06:26:39 -06:00
CorpNewtandGitHub b9e2a39a16 Update output formatting 2025-03-06 05:33:36 -06:00
CorpNewtandGitHub f9d2bb26ae Only get the first .pkg detected 2025-01-08 15:11:08 -06:00
CorpNewtandGitHub 635f4b2d25 Allow passing a version number to --install-python 2024-12-21 03:02:35 -06:00
CorpNewtandGitHub 4a94951afb Update current dir detection 2024-03-22 11:08:59 -05:00
CorpNewtandGitHub 6b521204f3 Add --compressed flag to curl 2024-03-11 16:35:10 -05:00
CorpNewtandGitHub 309cefdb90 Detect Linux as needed 2024-02-03 15:18:20 -06:00
CorpNewtandGitHub 052eea28ea Manually execute the shell profile update script when installing 2023-10-28 21:40:05 -05:00
CorpNewtandGitHub 24b59f046e Allow passing --install-python arg to just install python 2023-10-28 20:43:09 -05:00
CorpNewtandGitHub 3f3fe73572 Code cleanup and fixes 2022-05-30 15:11:52 -05:00
CorpNewtandGitHub 9ce28453eb Check for python3 stub on 10.15+ 2022-05-10 16:43:41 -05:00
CorpNewtandGitHub 4c1cdb048d Omit whereis check 2022-02-06 10:48:40 -06:00
CorpNewtandGitHub df31442ef7 Don't clear in main 2022-02-06 08:34:58 -06:00
CorpNewt 516e6e66c0 Add bash starters to work around macOS 12.3 dropping python 2 2022-02-05 17:10:26 -06:00
CorpNewtandGitHub ccc967ee32 Rename ProperTree.command to ProperTree.py 2022-02-05 17:08:04 -06:00
CorpNewtandGitHub 123c426752 Use tk call to ask the window direct if dark
Instead of asking macOS if we're in dark mode and then hoping for support in the window - we now use a tk call to check the window directly.  If this is not supported in the current tk version, we assume light mode which should prevent erroneously adjusting the header text colors.
2022-01-22 11:53:31 -06:00
CorpNewtandGitHub 5c28f30635 Add should_set_header_text() check
On macOS, with tk versions that support full dark mode, the column headers take the background color only in dark mode - falling back to white in light mode regardless of the background color.  This can cause the headers to be unreadable at times.

This function returns whether or not we should be adjusting the header text color based on the background color - which is always True on non-macOS systems, and True on macOS when in dark mode.
2022-01-22 10:16:49 -06:00
CorpNewtandGitHub aa0acdb5f0 Add ignore bg color for header text color
In macOS with the newer python 3.10.x that has working dark mode - the column headers get their background color from the background of the treeview.  In a recent commit, support was added for determining if the header text should be black or white based on the luminance of the treeview background.  This does not work with older python on macOS where full dark mode is not supported, so a checkbox is added to ignore the treeview background color when calculating the header text color.  Default is black - but the invert checkbox still works, and can set it to white if needed.
2022-01-21 17:01:29 -06:00
CorpNewtandGitHub 7c7e57e4f4 Foundation for header text color settings 2022-01-21 13:56:20 -06:00
CorpNewtandGitHub cb007f6412 Prevent settings from flashing on open 2022-01-21 11:41:55 -06:00
CorpNewtandGitHub c060263613 Workaround for double-click issue in macOS + fixes
* Lift last window after saving/duplicating
* Fix variable assigning in duplicate function
* Stagger check_open() and open_plist_from_app() functions with a lock
2022-01-21 11:20:45 -06:00
CorpNewtandGitHub 969981e4d9 Setup max for undo/redo stack 2022-01-20 20:42:55 -06:00
CorpNewtandGitHub f9e46ed5e5 Pad headers vertically in settings 2022-01-20 07:33:55 -06:00
CorpNewtandGitHub 09dc1be3be Reorganize settings window 2022-01-20 07:31:39 -06:00
CorpNewtandGitHub 664eb7bbc6 More sample text padding fixes 2022-01-19 19:29:23 -06:00
CorpNewtandGitHub 2f2cc5f00f Update width calculation for color samples 2022-01-19 18:25:59 -06:00
CorpNewtandGitHub 7de97b2766 Workaround for keybindings with in macOS 2022-01-19 18:09:26 -06:00
CorpNewtandGitHub 94e5ed616a Add button to swap convert window types 2021-12-08 05:03:08 -06:00
CorpNewtandGitHub 4e2d354b7d Case-sensitive fs stuffs for recents deduplication 2021-11-25 14:09:53 -06:00
CorpNewtandGitHub 412d95d59f Remove from recents if not found 2021-11-25 03:11:52 -06:00
CorpNewtandGitHub 10dc60aa71 Open Recent macOS fixes 2021-11-24 05:20:46 -06:00
CorpNewtandGitHub 27f5a6af4a Rudimentary Open Recent menu 2021-11-24 05:09:53 -06:00
CorpNewtandGitHub ef6ed5e301 QOL convert window stuffs
Auto-pad base64 values to 4 char chunks.
Strip = in base64 input.
Setup convenience methods to convert to/from bytes/strings.
Make the from text focused when opening the convert window.
2021-10-26 15:59:59 -05:00
CorpNewtandGitHub df7d4f960e Retain convert from/to selection in settings 2021-10-17 18:00:26 -05:00
CorpNewtandGitHub 743c695567 Potential macOS Clean Snapshot keybind fix 2021-10-12 12:19:30 -05:00
CorpNewtandGitHub 05f183c0d7 Update bool type on open 2021-10-06 19:16:55 -05:00
CorpNewtandGitHub c29a4ebbc7 Set foundations for bool display customization 2021-10-06 16:40:54 -05:00
CorpNewtandGitHub 1b6cf34a7f Only use X -> Y format if min/max are different 2021-09-21 10:48:39 -05:00
ObscureNightingale 56ff7f8739 fix: bypass values that don't exist in list - Thanks, Corp! 2021-08-27 16:11:01 +02:00
ObscureNightingale 81cfac7a80 remove: commented out line of code - redundant 2021-08-26 22:37:34 +02:00
ObscureNightingale af820eb436 refactor: Combobox's state is 'readonly' - disable typing. 2021-08-26 22:35:34 +02:00
ObscureNightingale 21f4ae0372 implement: custom font-family for Main window
* import 'families' function from tkFont (both py2 and py3).
* supply properties for "ProperTree" to correspond with the option in settings.
* change rest of properties accordingly to suit hierarchy.
* implement custom font_family functions (font_select, font_pick, update_font_family, set_font_family).
* grab 'font_family' value from local settings, default to Tk's 'text font' if not found, and update accordingly.
* TODO: fix set_font_family changing font_size when 'custom_font' setting is ticked off.
* TODO: test on py2 and py3
* TODO: test on Arch-based distros, OSX versions <10.15
2021-08-26 19:03:02 +02:00
CorpNewtandGitHub 80adab0c68 Omit font size from settings if not custom 2021-06-08 06:40:21 -05:00
CorpNewtandGitHub 50dd892521 Implement custom font size 2021-06-08 06:29:19 -05:00
CorpNewtandGitHub 63e4005639 Add slider for drag dead zone 2021-05-29 10:09:44 -05:00
CorpNewtandGitHub cf71483965 Code cleanup - lay int display foundations 2021-04-12 00:35:14 -05:00
CorpNewtandGitHub 84b5860fd2 Remove logging 2021-03-02 18:05:18 -06:00