Commit Graph

340 Commits

Author SHA1 Message Date
abakkk 1d95fac3bf add warning log on activation for unsupported GNOME Shell versions
As the extension may work in further GNOME Shell versions without targeted developpement, just add a small warning log without blocking anything.
2020-08-31 11:13:49 +02:00
abakkk a128664921 minor, add 'exported' directive for linters 2020-08-31 11:05:33 +02:00
abakkk ecab1e2bed 'open-previous/next-drawing' shortcuts
Reuse `Ctrl + O` keybinding that have been freed by the previous commit (remove 'open-user-stylesheet')
2020-08-31 10:04:43 +02:00
abakkk b3a1a77160 replace user stylesheet with proper drawing settings
Since the most drawing params can be changed via menu or shortcuts, remove default.css and user.css.

* Missing params like palettes, dash, grid, etc, are added to prefs.
* Add palette choice to menu and shortcuts.
* Some defaults like fonts, line width, etc, are no longer modifiable by the user.
2020-08-31 09:43:00 +02:00
abakkk 01701538bb minor, rework settings 2020-08-23 11:49:26 +02:00
abakkk 0fe72b7746 Merge branch 'dev' into 'master'
v6.2

See merge request abakkk/DrawOnYourScreen!13
2020-08-23 11:19:46 +02:00
abakkk 9585d3c80b version -> 6.2 2020-08-08 01:13:52 +02:00
abakkk 4e0455af34 GS 3.24 compatibility
* item actor
* Gio.File.load_bytes not available
2020-08-08 00:27:41 +02:00
abakkk 075b080aaf fix submenu scrollview adjustment
* auto-scroll when pointer is near the top or the bottom
* scroll with keyboard arrows

copy files-view extension
2020-08-06 22:10:12 +02:00
abakkk a1ce4aaf79 Add font family reversed switching 2020-08-06 00:26:10 +02:00
abakkk 39ec1ba888 toggle -> switch 2020-08-06 00:06:01 +02:00
abakkk 1abe0b735f Fix image submenu items sorting
Uppercases, non-ascii characters, etc
2020-08-05 23:34:40 +02:00
abakkk c78f5e82da Extend font family possibilities
To fix in the future: memory usage of font-styled item labels
2020-08-05 23:30:25 +02:00
abakkk 80e2955f8c fix menu item name and sensitivity stynchronization 2020-08-05 02:49:52 +02:00
abakkk 408929848d minor, property name 2020-08-05 02:13:56 +02:00
abakkk 11b90ecc0a put json file stuff in files.js
In the same way than image files.
2020-08-05 02:01:17 +02:00
abakkk e686f03082 minor, remove Lang.bind 2020-08-01 15:00:49 +02:00
abakkk 1172e9da6f new image shape
Images files are picked from `~/DrawOnYourScreen/images/` (and `extensiondir/images/`)
svg, png, jpeg, ...(pixbuf)
2020-08-01 14:08:17 +02:00
abakkk 7a41c6157c improve menu grouped action items
* Fix style: use 'popup-menu' and 'popup-menu-item' style classes to provide theme colors
* Synchonize button sensitivity
2020-07-13 12:53:01 +02:00
abakkk 352f86018b center grid overlay 2020-07-11 22:42:48 +02:00
abakkk 19355033ff regroup first menu items
Like old GS system menu.
2020-07-11 22:28:44 +02:00
abakkk 813d6b0f1b Show the textEntry when ibusCandidatePopup is visible 2020-07-11 15:59:08 +02:00
abakkk e8140eae88 Text elements as a separated class 2020-07-08 11:47:51 +02:00
abakkk 96efac1e3f draw.js -> area.js 2020-07-04 08:42:45 +02:00
abakkk ca96e76d12 draw-to-elements 5 2020-07-04 08:35:59 +02:00
abakkk 78be404571 draw-to-elements 4
Merge branch 'elements' into draw-to-elements
2020-07-03 23:37:52 +02:00
abakkk f4909e021d draw-to-elements 3 2020-07-03 23:37:09 +02:00
abakkk 35980726fe draw-to-elements 2 2020-07-03 23:32:26 +02:00
abakkk b2b6a6a8fe draw-to-elements 1 2020-07-03 23:27:52 +02:00
abakkk 92e1c0d299 osd.js -> helper.js 2020-07-03 23:25:20 +02:00
abakkk 0c311ae477 draw-to-osd 5 2020-07-03 23:16:43 +02:00
abakkk 303a93b721 draw-to-osd 4
Merge branch 'osd' into draw-to-osd
2020-07-03 23:09:39 +02:00
abakkk 9269022d0f draw-to-osd 3 2020-07-03 23:08:50 +02:00
abakkk 27872b84db draw-to-osd 2 2020-07-03 23:03:09 +02:00
abakkk da7ad4069a draw-to-osd 1 2020-07-03 22:59:54 +02:00
abakkk ef51bb8bf9 draw-to-menu 5 2020-07-03 22:51:23 +02:00
abakkk 34baae6df2 draw-to-menu 4
Merge branch 'menu' into draw-to-menu
2020-06-30 23:44:41 +02:00
abakkk 1abdb528a2 draw-to-menu 3 2020-06-30 23:43:52 +02:00
abakkk 9b7e7cc3cb draw-to-menu 2 2020-06-30 23:41:54 +02:00
abakkk 80163fcca8 draw-to-menu 1 2020-06-30 23:40:15 +02:00
abakkk 3ddaa28400 Update Simplified Chinese translation
related to #34, #35
2020-06-30 14:43:58 +02:00
abakkk 8ce87b8f1f Create french translation
related to #35
2020-06-30 14:33:49 +02:00
abakkk 55efba0b3c Small pot fix
"stroke" -> "outline"

related to #35
2020-06-30 13:01:47 +02:00
abakkk 1e8a9492ba Merge branch 'dev' into 'master'
v6.1

Closes #28, #31, #30, #27, #34, and #29

See merge request abakkk/DrawOnYourScreen!12
2020-06-29 16:07:29 +02:00
abakkk 040b0138bb version -> v6.1 2020-06-29 15:58:09 +02:00
abakkk 3f0fce3bc6 Add "duplicate an element" how-to in readme 2020-06-29 15:40:37 +02:00
abakkk e50a8c80a7 "Modeless/modal" -> "Grab/ungrab keyboard and pointer"
And add an OSD notification.
2020-06-29 12:21:21 +02:00
abakkk 0d42d69f91 Pointer cursor when writing 2020-06-28 18:37:42 +02:00
abakkk 9199fbd82b Reorder pot file 2020-06-28 18:28:15 +02:00
abakkk be36fd4de2 Prefs, notifications and pot file
* Add a long timeout for some OSD notifications.
* Change some pref strings.
* "Stroke" -> "Outline"
* Clean pot file
2020-06-28 18:27:23 +02:00