Adrian Cochrane
0627b94ea2
Have install depend on the CLI (whenever that gets successfully packaged).
5 years ago
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.
5 years ago
Adrian Cochrane
b82cbb7214
Return focus to textview after settings change.
5 years ago
Adrian Cochrane
e948f63fb1
Refactor after removing custom dark mode.
5 years ago
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.
5 years ago
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.
5 years ago
Adrian Cochrane
e5e4665163
Assign a percentage for padding.
This is manually computed, because GTK is just complaining it doesn't support percentages.
5 years ago
Adrian Cochrane
8028f4a46e
Fix textview styling.
5 years ago
Matt Baer
95b324f8d2
Add GPL license
5 years ago
Matt Baer
4c8916b026
Add links and update README copy
5 years ago
Matt Baer
58cfdf6045
Change some if/else formatting
6 years ago
Matt Baer
6818ae240b
Support changing font size
6 years ago
Matt Baer
0b2d476a75
Document shortcuts
6 years ago
Matt Baer
1f531032bd
Move post font prefs into [Post] category
6 years ago
Matt Baer
9227c15c3c
Shorten `meson build` instructions in README
6 years ago
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.
6 years ago
Matt Baer
c39c5e0742
Support toggling theme with Ctrl+T
6 years ago
Matt Baer
07e5f7653b
Set dark mode button state correctly on load
Closes #11
6 years ago
Matt Baer
7b4445955e
Support publishing with Ctrl+Enter shortcut
6 years ago
Matt Baer
2c51409242
Set title to "Write.as", not word count
Moves the word count to the title bar subtitle.
6 years ago
Matt Baer
7d0cad5ca2
Update copyright year to 2018
6 years ago
Matt Baer
e658601849
Change maintainer to Write.as
6 years ago
Matt Baer
758f9dd76b
Specify correct valac version requirement
v0.36, not v0.26
6 years ago
Matt Baer
4217fcc042
Remove unused dependencies like libsoup
6 years ago
Matt Baer
081126aaa6
Rename write-as-gtk to writeas-gtk
6 years ago
Matt Baer
7062bff9aa
Use larger font size
6 years ago
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.
6 years ago
Matt Baer
caeebc37f3
Publish correct draft file
6 years ago
Matt Baer
f080df15e7
Add .gitignore
6 years ago
Matt Baer
7fe4b7c44b
Capitalize Write.as
6 years ago
Matt Baer
ffe3ae65fe
Support closing app via Ctrl+W or Ctrl+Q
6 years ago
Matt Baer
fdfbfb2645
Store draft and preferences in ~/.writeas folder
6 years ago
Matt Baer
750004effa
Use same dark background as web editor
6 years ago
Matt Baer
54d7f5b8b7
Fix application icon on Ubuntu
6 years ago
Adrian Cochrane
c973cc332a
Fix problem with reading the theme info.
Turned out I was saving the theme before I had a chance to read
the values saved from the last run.
6 years ago
Adrian Cochrane
e5e07b1baf
Remove dependencies that are now encapsulated by the CLI.
6 years ago
Adrian Cochrane
2c8635bf23
Save theme information.
Though there seems to be problems reading it back out.
6 years ago
Adrian Cochrane
7546eefb75
Indicate selected font.
6 years ago
Adrian Cochrane
9b6e6d8b4d
Add a window icon for taskbars which don't read the application launcher.
6 years ago
Adrian Cochrane
ef5d657d0c
Tidy up new publishing code.
Now supports multiple fonts and the caller can be written more naturally.
6 years ago
Adrian Cochrane
86e2c0f7b6
Switch to using the commandline.
TODO ensure it is installed with the packaging.
6 years ago
Adrian Cochrane
6b8e15f78f
Merge branch 'master' of https://code.as/writeas/writeas-gtk
6 years ago
Adrian Cochrane
f411646722
Add scrollbars to fix window sizing.
6 years ago
Matt Baer
e1599a2bf8
Fix Recommend field in debian control file
Previously it gave this warning:
dpkg-source: warning: unknown information field 'Recommend' in input
data in package's section of control info file
6 years ago
Matt Baer
62deb28472
Fix monospace font value
I slipped on this one -- the correct font value for monospace posts is
"wrap" not "mono". "mono" is more for code or terminal output, not the
writing that users will do with this app.
6 years ago
Matt Baer
55678c93b9
Append publish result instead of replacing text
6 years ago
Matt Baer
242377cf60
Add screenshots to metadata
This closes #1
6 years ago
Adrian Cochrane
556c3c6a0b
Small debian fixes.
Attempt to install the brand fonts (which are available on Debian),
and caught a copy-paste error from another project.
6 years ago
Adrian Cochrane
ddc2f07601
Fix debian packaging files and add instructions for use.
12min.
6 years ago
Adrian Cochrane
6211c96128
Merge README from branch 'master' of https://code.as/writeas/writeas-gtk
6 years ago