Cassidy James Blaede
b8f4ea365c
Add tooltips with keyboard shortcuts
před 5 roky
Matt Baer
eee4191db9
Bump version to 1.0.2
před 5 roky
Matt Baer
95dc0eb8cb
Fix build_fontoption signature
před 5 roky
Matt Baer
8312087ec9
Reflect current font in menu on app load
Previously, "Serif" would be selected in the menu when the app first
loaded, no matter what the actual setting was.
před 5 roky
Matt Baer
2c93de931b
Fix null darkmode_switch
This fixes issues with Ctrl+T and the switch not reflecting correct
state when starting up -- previously, darkmode_switch was initialized in
construct_toolbar() as a local variable.
před 5 roky
Cassidy James Blaede
5b1e88c995
Initial ModeSwitch work
před 5 roky
Cassidy James Blaede
4c2be78f58
Resolve TODO
před 5 roky
Cassidy James Blaede
d10d4081a2
Use Gtk.TextView.left_margin and right_margin instead of CSS padding
před 5 roky
Cassidy James Blaede
58e67738b7
Add tooltip to publish button
It wasn't clear what this button did without pushing it, at which point my note contents were uploaded to the Internet.
před 5 roky
Matt Baer
708de8f0ae
Bump version to 1.0.1
před 5 roky
Matt Baer
0436c4ae95
Fix deprecated cursor-color property
před 5 roky
Matt Baer
7a12af3c11
Fix font errors and spacing in GTK 3.20+
před 5 roky
Matt Baer
f0d601f98c
Increase default font size to 16px
před 5 roky
Matt Baer
78a23713cf
Don't show errors loading draft
This particularly prevents the initial error all users will see when the
app first loads.
TODO: implement something more elegant.
před 5 roky
Matt Baer
67b6198b5e
Revert "Change ID to com.github.writeas.writeas-gtk"
This reverts commit 4c784b32c8
.
před 5 roky
Matt Baer
c0c8775c3a
Revert "Fix more missing com.github.writeas.writeas-gtk IDs"
This reverts commit c3b0a35a2e
.
před 5 roky
Matt Baer
c3b0a35a2e
Fix more missing com.github.writeas.writeas-gtk IDs
před 5 roky
Matt Baer
4c784b32c8
Change ID to com.github.writeas.writeas-gtk
před 5 roky
Matt Baer
1b34b41cb6
Bump version to 1.0.0
před 5 roky
Matt Baer
23f0f33e6f
Output app version on startup
před 5 roky
Matt Baer
d9972636a7
Prevent opening text files
Opening a text file would overwrite the current draft, so for now we'll
disable this.
před 5 roky
Matt Baer
d19c8aef40
Return Markdown-enabled URL on publish
před 5 roky
Matt Baer
8318eaa2f5
Remove underscores from Save as dialog
před 5 roky
Matt Baer
6e530b33d2
Set User-Agent on the CLI
Requires writeas-cli v1.1
před 5 roky
Matt Baer
5203186291
Remove ability to open files
před 5 roky
Adrian Cochrane
5746cd213c
Optimize test for whether a dark mode is available.
před 5 roky
Adrian Cochrane
2b996d5a47
Use Gtk.SourceView over Gtk.TextView to aid writing longer posts.
Right now this mostly just includes (most importantly) undo/redo,
and less importantly smarter deletion and keyboard navigation.
před 5 roky
Adrian Cochrane
b82cbb7214
Return focus to textview after settings change.
před 5 roky
Adrian Cochrane
e948f63fb1
Refactor after removing custom dark mode.
před 5 roky
Adrian Cochrane
409c55897a
Disable darkmode for non-supporting themes rather than define one ourselves.
Because changing the background colour of a textview for some reason
causes text selection not to show. This is a documented issue others
experience.
This code could be refactored a little now, but it works for the
elementary and HighContrast themes.
před 5 roky
Adrian Cochrane
961c8cde87
Guard against spuriously saving blank files.
Because for some reason this would happen seemingly at random before.
No idea why. But I did test that it occurs during save, not read.
And it doesn't appear to happen anymore.
před 5 roky
Adrian Cochrane
e5e4665163
Assign a percentage for padding.
This is manually computed, because GTK is just complaining it doesn't support percentages.
před 5 roky
Adrian Cochrane
8028f4a46e
Fix textview styling.
před 5 roky
Matt Baer
95b324f8d2
Add GPL license
před 5 roky
Matt Baer
58cfdf6045
Change some if/else formatting
před 6 roky
Matt Baer
6818ae240b
Support changing font size
před 6 roky
Matt Baer
0b2d476a75
Document shortcuts
před 6 roky
Matt Baer
1f531032bd
Move post font prefs into [Post] category
před 6 roky
Matt Baer
8076cb1c33
Fix font preference not persisting when loading w/ dark mode
Previously, the initial dark mode toggle would cause the default
settings to be saved, before font preferences ever loaded.
před 6 roky
Matt Baer
c39c5e0742
Support toggling theme with Ctrl+T
před 6 roky
Matt Baer
07e5f7653b
Set dark mode button state correctly on load
Closes #11
před 6 roky
Matt Baer
7b4445955e
Support publishing with Ctrl+Enter shortcut
před 6 roky
Matt Baer
2c51409242
Set title to "Write.as", not word count
Moves the word count to the title bar subtitle.
před 6 roky
Matt Baer
081126aaa6
Rename write-as-gtk to writeas-gtk
před 6 roky
Matt Baer
7062bff9aa
Use larger font size
před 6 roky
Matt Baer
30b2514b49
Only open browser on successful publish
This checks the returned error code from `writeas` and skips the browser
opening if the status != 0.
před 6 roky
Matt Baer
caeebc37f3
Publish correct draft file
před 6 roky
Matt Baer
ffe3ae65fe
Support closing app via Ctrl+W or Ctrl+Q
před 6 roky
Matt Baer
fdfbfb2645
Store draft and preferences in ~/.writeas folder
před 6 roky
Matt Baer
750004effa
Use same dark background as web editor
před 6 roky