Commit Graph

428 Commits

Author SHA1 Message Date
Romain Failliot 9a52c0ae34 docs: improve dev setup command lines
use `meson ... -C build` as it seems more common than getting into the
build dir before running the `meson` command-lines.
2023-04-03 11:56:16 -04:00
Romain Failliot 74089bf055 chore: update to GNOME 44 2023-04-03 11:56:16 -04:00
Romain Failliot 937d1f8f2c fix: use the new screenshot URL 2023-04-03 11:41:20 -04:00
Romain Failliot 032315edd5 fix: include appstream screenshot in repo 2023-04-03 11:41:20 -04:00
Romain Failliot 26928a249a fix(meson): `path()` is deprecated
Replaced it with `full_path()`.
2023-04-03 11:41:20 -04:00
Romain Failliot ba7d00af69 fix(cicd): use latest meson
The GitHub action BSFishy/meson-build doesn't seem maintained anymore,
so I installed the package myself and followed the instructions in our
own README.md.
2023-04-03 11:41:00 -04:00
Kirill Müller d2559c1be4 Fix keybindings for Next/Previous Difference on macOS 2023-04-03 10:39:53 -04:00
NorwayFun 593ed6acbf
po: Add Georgian translation (#191)
* po: Add Georgian translation
* Update CHANGELOG.md

---------

Co-authored-by: Creak <romain.failliot@foolstep.com>
2023-03-18 16:54:44 -04:00
Creak 311975cadc
fix: clicking buttons in the toolbar was crashing (#189) 2023-01-22 16:11:37 -05:00
Creak 977d015c35
Use Python GTK best practices (#184)
* refactor: rename class `Application` to `DiffuseApplication`
* refactor: rename class `Diffuse` to `DiffuseWindow`
* refactor: remove unnecessary constructor parameters + docstrings
* refactor: move DiffuseWindow class to its own file
* refactor: move PaneHeader/Footer outside DiffuseWindow
* refactor: move FileDiffViewer outside DiffuseWindow
* docs: update CHANGELOG.md
2022-12-12 21:18:58 -05:00
Kirill Müller a2e7ac4967
Improve macOS doc (#173)
* Use "macOS" instead of "Mac OS"
* List various possible installation directories

Co-authored-by: Romain Failliot <romain.failliot@foolstep.com>
2022-11-21 14:19:39 -05:00
Iurii Zolotko 8e32f883ec
Use GTK3's GApplication/GtkApplication #178 (#181)
* Use GTK3's GApplication/GtkApplication #178
* fix: remove icons in menu
* doc: update CHANGELOG.md
* chore(i18n): update po/diffuse.pot

Co-authored-by: Yurii Zolotko <yurii.zolotko@pm.me>
Co-authored-by: Romain Failliot <romain.failliot@foolstep.com>
2022-11-21 14:01:49 -05:00
Sabri Ünal c1cddb755b
Add Turkish Translation (#183) 2022-11-21 12:59:56 -05:00
Creak eaaed6cef4
fix(flatpak): add missing `--filesystem=xdg-run/gvfsd` privilege (#182)
* fix(flatpak): add filesystem=xdg-run/gvfsd privilege
* doc: update CHANGELOG.md
2022-11-14 18:33:24 -05:00
Creak fc84191095
Prompt once to reload if more than one file modified externally (bis) (#180)
* Create only one dialog even if multiple files has been changed on disk
* fix: the calls to `NumericDialog` weren't working
* use `transient_for` instead of `parent` when creating new `Gtk.Dialog`
* Changelog: I removed the "thanks to" (just kept the mentions to the users), because it felt weird to put "thanks to myself" 😅 

Co-authored-by: Yurii Zolotko <yurii.zolotko@pm.me>
2022-11-07 16:20:56 -05:00
Kirill Müller cd0a79d4e2
Refer to pip3 (#172) 2022-10-25 09:44:52 -04:00
Creak b05a46de84
Update CHANGELOG.md (#176)
Forgot to update it with Rust support
2022-10-24 16:22:16 -04:00
Alexander Lopatin 47dfa2af2c
Fix #98: Implement Rust highlighting support (#99)
Initial Rust highlighting support

* Basic support for the language
* Line comments (`//`)
* Block comments (`/* */`), but no recursion
* Chars
* Strings (`"..."`)
* Raw strings (`r"..."`, `r#"..."#`, up to 5 levels)
* Added some Rust syntax test files

Co-authored-by: Romain Failliot <romain.failliot@foolstep.com>
2022-10-24 16:16:24 -04:00
Åke Engelbrektson 122879df07
Update sv.po (#175)
Update Swedish translation

* Update sv.po
* Update CHANGELOG.md
* Add contributors names

Co-authored-by: Romain Failliot <romain.failliot@foolstep.com>
2022-10-24 12:50:03 -04:00
Creak c07f6681dc
Merge pull request #171 from MightyCreak/prepare-release-0.7.7
Prepare files for release 0.7.7
2022-10-23 20:16:07 -04:00
Romain Failliot 4512fa1358 Prepare files for release 0.7.7 2022-10-23 20:12:48 -04:00
Creak 4acfcadbca
Merge pull request #170 from MightyCreak/update-translations
Update translations
2022-10-23 20:09:17 -04:00
Romain Failliot 1c2a9c8d46 Update CHANGELOG.md 2022-10-23 20:05:13 -04:00
Romain Failliot 883b69c6ba Fixed the "Column %d" fuzzy translations 2022-10-23 20:03:03 -04:00
Romain Failliot b564abcda2 Update translations 2022-10-23 20:03:03 -04:00
Creak 553f421ac0
Merge pull request #169 from MightyCreak/update-spanish-translation
Update Spanish translation
2022-10-23 20:02:40 -04:00
Romain Failliot cafa8df335 Update Spanish translation
This change has originally been done by Óscar Fernández Díaz (@oscfdezdz)
2022-10-23 19:40:53 -04:00
Creak 9fd76e30cb
Merge pull request #168 from MightyCreak/prepare-release-0.7.6
Prepare files for new release 0.7.6
2022-10-23 17:20:06 -04:00
Romain Failliot 3f2c96ee10 Prepare files for new release 0.7.6 2022-10-23 17:15:34 -04:00
Creak d10bf15724
Merge pull request #167 from MightyCreak/update-github-actions
Update GitHub actions
2022-10-23 16:55:45 -04:00
Romain Failliot 47bea02d15 Add Python version to GitHub actions 2022-10-23 16:52:35 -04:00
Romain Failliot 8c728585db Update GitHub actions 2022-10-23 16:50:12 -04:00
Creak 5583ca03d3
Merge pull request #165 from hugoholgersson/mac_os_port
Port of Diffuse to macOS
2022-10-23 16:48:02 -04:00
Romain Failliot d94df84302 Refine dev setup 2022-10-23 16:41:37 -04:00
Romain Failliot 1f937dc57e Refine dev setup 2022-10-23 16:37:25 -04:00
Romain Failliot 6622792e71 Reword the documentation to take care of Mac OS too 2022-10-23 16:32:04 -04:00
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