Commit Graph

442 Commits

Author SHA1 Message Date
Hugo Holgersson e8a7abb679 Move the prebuilt macOS icon to data/icons 2022-10-23 15:58:09 -04:00
Hugo Holgersson c4869e15cb Show SVG icon in "Help->About Diffuse..." on macOS
GTK on Mac needs a helper lib to be able to draw .svg files.
2022-10-23 15:58:09 -04:00
Hugo Holgersson c0b09ae95a Use the Command key (not Ctrl) on macOS
For example, on macOS, Cmd+F opens Find.
Ctrl+F is kept on other OSes. The same goes
for other standard key commands, like Cmd+S etc.
2022-10-23 15:58:09 -04:00
Hugo Holgersson 9a7ced4bc4 Build logic for installing Diffuse as a native macOS app
Tested on macOS 12.5:

  brew install meson python3 py3cairo pygobject3 gtk+3
  meson setup build
  cd build
  meson compile
  meson test
  meson install

After `meson install`, `diffuse` can be used to launch a
native Mac app that is installed into /Applications/Diffuse.app.

These steps could be put into a Homebrew formula, see
https://docs.brew.sh/Formula-Cookbook, as a way to
distribute Diffuse on macOS.
2022-10-23 15:58:09 -04:00
Hugo Holgersson bb998a8785 Docs and build fixes to run Diffuse on macOS
Here we strip away Linux-only stuff so devs
can create a local "Mac build".

There might be other Linux-only stuff that
are not needed on Mac still. Follow-ups are
welcome.
2022-10-23 15:58:09 -04:00
Creak 993d8256da
Merge pull request #166 from MightyCreak/show-build-tools-versions
Show build tools version in GitHub actions
2022-10-23 15:46:50 -04:00
Romain Failliot 4422db52a1 Fix mypy errors and install dependencies on Fedora 2022-10-23 15:42:38 -04:00
Romain Failliot 3389862ea1 Show build tools version in GitHub actions 2022-10-23 15:42:29 -04:00
Creak c843e81cf2
Merge pull request #160 from MightyCreak/missing-files-for-release
I missed some unsaved file for the 0.7.5 release
2022-04-15 13:27:32 -04:00
Romain Failliot 44f2b66221 I missed some unsaved file for the 0.7.5 release 2022-04-15 13:23:30 -04:00
Creak b1567bb37c
Merge pull request #159 from MightyCreak/prepare-release-0.7.5
Prepare files for new release: 0.7.5
2022-04-15 13:13:40 -04:00
Romain Failliot 399fb9b402 Prepare files for new release: 0.7.5 2022-04-15 13:09:36 -04:00
Creak c48ed957c2
Merge pull request #158 from MightyCreak/fix-prefs-crash
Fix preferences crash
2022-04-15 13:00:38 -04:00
Romain Failliot 0f5122a0c1 Update CHANGELOG.md 2022-04-15 12:57:46 -04:00
Romain Failliot 6e96b1383e cleanups: use `get`/`set` methods instead of direct access 2022-04-15 12:45:57 -04:00
Romain Failliot e19f1a192b fix: get_text was not defined on all the widgets
* Use `get_text` when available
* Use `get_font` when Gtk.FontButton
* Raise TypeError exception otherwise
2022-04-15 12:45:46 -04:00
Creak 464f348bca
Merge pull request #155 from inkh0rn/master
update locale
2022-04-15 00:04:56 -04:00
inkhorn 58c1adf39e
small fix 2022-04-14 19:13:06 -03:00
inkh0rn 3a551323f0
ptbr update 2022-04-09 12:08:02 -03:00
Creak 8d27125f08
Merge pull request #153 from MightyCreak/dont-use-new
Don't use new() in GTK classes
2022-04-04 14:47:20 -04:00
Romain Failliot 23c6576cdf Update CHANGELOG.md 2022-04-04 14:40:45 -04:00
Romain Failliot dcea1ad68c Don't use new() in main.py 2022-04-04 14:33:01 -04:00
Romain Failliot 63ce9caa7f Don't use new() in preferences.py 2022-04-04 14:33:01 -04:00
Romain Failliot d9c0efcbd0 Don't use new() in utils.py 2022-04-04 14:33:01 -04:00
Romain Failliot 65310cf4c4 Don't use new() in widgets.py 2022-04-04 14:33:01 -04:00
Romain Failliot 5eca7db14b Remove new() in dialogs.py 2022-04-04 14:18:25 -04:00
Creak a0225ff5ff
Merge pull request #152 from MightyCreak/update-translations
Update all translation files
2022-04-04 12:25:51 -04:00
Romain Failliot dc2e445c77 Update all translation files 2022-04-04 12:21:05 -04:00
Creak 41f6e1c9c7
Merge pull request #133 from MightyCreak/french-translation
Add French translation
2022-04-04 12:05:21 -04:00
Romain Failliot ae55dc6373 Update translation POT and FR files 2022-04-04 12:00:53 -04:00
Romain Failliot a0fe50d288 Update CHANGELOG.md 2022-04-04 11:35:03 -04:00
Romain Failliot 5e34b9686c Add French translation 2022-04-04 11:32:10 -04:00
Creak ba6ef49d4d
Merge pull request #151 from MightyCreak/docs/release-process
Added release process instructions
2022-04-04 10:01:52 -04:00
Romain Failliot 36788fa605 Include the release process in documentation tree 2022-04-04 09:58:39 -04:00
Romain Failliot 5007221a49 Update CHANGELOG.md 2022-04-03 21:14:08 -04:00
Romain Failliot 923a37bb59 docs: document release process steps 2022-04-03 21:12:52 -04:00
Creak 0a168f7d8c
Merge pull request #150 from MightyCreak/prepare-release-0.7.4
Prepare files for new release: 0.7.4
2022-04-03 20:14:31 -04:00
Romain Failliot 1d9e15661f Prepare files for new release: 0.7.4 2022-04-03 20:10:53 -04:00
Creak 1ff53df588
Merge pull request #149 from MightyCreak/remove-wrong-info-in-changelog
Remove a line in CHANGELOG.md
2022-04-03 20:01:33 -04:00
Romain Failliot b39ca78d32 Remove a line in CHANGELOG.md
I did change the place where the linters were executed, but then I
found a better solution and linters are called on the source files
directly.
2022-04-03 19:31:10 -04:00
Creak 1a1907b3f1
Merge pull request #148 from MightyCreak/upgrade-to-gnome-sdk-42
Upgrade Flatpak GNOME's runtime to 42
2022-04-03 19:28:36 -04:00
Creak da4683866e
Merge pull request #147 from MightyCreak/docs/custom-dir-installation
Add instructions to install Diffuse locally
2022-04-03 19:26:10 -04:00
Romain Failliot 8eba1da037 Upgrade Flatpak GNOME's runtime to 42 2022-04-03 19:25:24 -04:00
Romain Failliot 671c439bcd Update CHANGELOG.md 2022-04-03 19:21:58 -04:00
Romain Failliot 318d42545c Add instructions to install Diffuse locally 2022-04-03 19:13:27 -04:00
Creak 2231b79fc8
Merge pull request #142 from MightyCreak/more-static-typing
Convert more code to static typing
2022-01-09 20:12:01 -05:00
Romain Failliot 86137e90c5 Add static typing for main 2022-01-09 19:24:34 -05:00
Romain Failliot 0a2d3cc3e0 Add static typing for vcs module 2022-01-09 18:25:15 -05:00
Romain Failliot 914ea66cc3 Add static typing for resources 2022-01-09 18:05:14 -05:00
Romain Failliot e975f66fde Add static typing for widgets 2022-01-09 18:04:39 -05:00