Commit Graph

361 Commits

Author SHA1 Message Date
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
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