Commit Graph

54 Commits

Author SHA1 Message Date
f080df15e7 Add .gitignore 2018-04-19 15:28:12 -04:00
7fe4b7c44b Capitalize Write.as 2018-04-19 15:25:34 -04:00
ffe3ae65fe Support closing app via Ctrl+W or Ctrl+Q 2018-04-19 14:33:52 -04:00
fdfbfb2645 Store draft and preferences in ~/.writeas folder 2018-04-19 13:50:10 -04:00
750004effa Use same dark background as web editor 2018-04-19 10:04:16 -04:00
54d7f5b8b7 Fix application icon on Ubuntu 2018-04-19 09:56:45 -04:00
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.
2018-04-19 16:00:25 +12:00
Adrian Cochrane
e5e07b1baf Remove dependencies that are now encapsulated by the CLI. 2018-04-19 15:41:15 +12:00
Adrian Cochrane
2c8635bf23 Save theme information.
Though there seems to be problems reading it back out.
2018-04-19 15:40:05 +12:00
Adrian Cochrane
7546eefb75 Indicate selected font. 2018-04-19 15:16:22 +12:00
Adrian Cochrane
9b6e6d8b4d Add a window icon for taskbars which don't read the application launcher. 2018-04-19 11:05:02 +12:00
Adrian Cochrane
ef5d657d0c Tidy up new publishing code.
Now supports multiple fonts and the caller can be written more naturally.
2018-04-19 10:32:38 +12:00
Adrian Cochrane
86e2c0f7b6 Switch to using the commandline.
TODO ensure it is installed with the packaging.
2018-04-19 10:01:48 +12:00
Adrian Cochrane
6b8e15f78f Merge branch 'master' of https://code.as/writeas/writeas-gtk 2018-04-19 09:03:14 +12:00
Adrian Cochrane
f411646722 Add scrollbars to fix window sizing. 2018-04-19 09:02:34 +12:00
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
2018-04-18 14:30:07 -04:00
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.
2018-04-18 09:48:46 -04:00
55678c93b9 Append publish result instead of replacing text 2018-04-18 09:45:00 -04:00
242377cf60 Add screenshots to metadata
This closes #1
2018-04-18 08:25:38 -04:00
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.
2018-04-18 15:16:22 +12:00
Adrian Cochrane
ddc2f07601 Fix debian packaging files and add instructions for use.
12min.
2018-04-18 14:54:22 +12:00
Adrian Cochrane
6211c96128 Merge README from branch 'master' of https://code.as/writeas/writeas-gtk 2018-04-18 14:34:25 +12:00
Adrian Cochrane
ed0c0f9ed4 Add basic Debian packaging information.
~ 5min?
2018-04-18 14:33:45 +12:00
b15acc4016 Update 'README.md' 2018-04-17 22:00:26 -04:00
Adrian Cochrane
af65924a95 Document how to install this app and what that gives you.
8min.
2018-04-18 13:46:03 +12:00
Adrian Cochrane
9d58e07e06 Take some screenshots package repositories can use.
10min.
2018-04-18 13:36:34 +12:00
Adrian Cochrane
05cb9be6bd Fix some lagginess caused by autosave.
5min.
2018-04-18 13:21:10 +12:00
Adrian Cochrane
dcde2f0bda Allow publishing in the different font faces.
4min.
2018-04-18 13:14:55 +12:00
Adrian Cochrane
150f20035d Implement the 'always-saved' feature both write.as and elementary pride themselves on.
8min.
2018-04-18 13:09:14 +12:00
Adrian Cochrane
e91fb6601b Remove some dead code. 2018-04-18 12:58:30 +12:00
Adrian Cochrane
780516af8a Fix publishing to Write.as.
50min
2018-04-18 12:57:12 +12:00
Adrian Cochrane
17636c56e6 Add publish button.
Unfortunately the publishing code using the commandline interface
is either nonfunctional or freezes my computer.

I'll try using the HTTP API instead.

>6min.
2018-04-18 11:59:36 +12:00
Adrian Cochrane
4296090209 Add proper license and contact info to metadata. 2018-04-18 11:28:29 +12:00
Adrian Cochrane
a9fc27ce87 Sketch out code to publish text to write.as 2018-04-17 17:08:11 +12:00
Adrian Cochrane
886e493e03 Add a wordcount for a title, similar to the web UI.
11min
2018-04-17 16:05:37 +12:00
Adrian Cochrane
25923d8354 Allow other applications to open text files with Odysseus.
And while I was trying to make that work, I corrected some problems in
the .desktop file.
Specifically I wrote down the wrong executable name and
the categories I selected for it didn't validate.
So I focused it on the publishing category.

16min
2018-04-17 15:46:38 +12:00
Adrian Cochrane
7b4117a282 Implement save (as)
9min
2018-04-17 15:27:58 +12:00
Adrian Cochrane
a2b0dfde54 Implement open file.
Since this isn't the focus of the app and the keyboard shortcuts are so familiar,
I didn't expose these through the toolbar.

1hr
2018-04-17 15:17:55 +12:00
Adrian Cochrane
f50a8bbb7b Add tooltips to the toolbar buttons.
2min
2018-04-17 13:49:27 +12:00
Adrian Cochrane
8b505b66fe Append darkmode to textbox styles, don't replace it. 2018-04-17 13:31:56 +12:00
Adrian Cochrane
2286008891 Allow switching between fonts.
27min
2018-04-17 13:18:29 +12:00
Adrian Cochrane
15b51e37ad Add more whitespace.
2min
2018-04-17 12:47:07 +12:00
Adrian Cochrane
4e83c39a9c Prefer the dark theme if it successfully darkened the textview.
Or rather brightened the text.

11min.
2018-04-17 12:36:07 +12:00
Adrian Cochrane
2452f6d313 Implement cross-theme dark mode.
27min
2018-04-17 12:21:28 +12:00
Adrian Cochrane
da5817e12e Allow toggling between dark and light GTK themes (if provided).
Took me a bit to get the icon fallbacks working right.

28min.
2018-04-17 11:49:33 +12:00
Adrian Cochrane
f2d017aa15 Find a icon for toggling dark and light modes.
Gave up on finding system icon for it (though the night/day wheather icons
can be stretched to mean dark and light), and just took the one off the
website.

16min.
2018-04-17 11:10:44 +12:00
Adrian Cochrane
3ad58ef0c3 Perfect the window size.
2min
2018-04-17 10:48:15 +12:00
Adrian Cochrane
c337ba2320 Create a basic text editor.
7min
2018-04-17 10:42:37 +12:00
Adrian Cochrane
08c0128f2f Setup a basic GTK app.
21min
2018-04-17 10:34:21 +12:00
Adrian Cochrane
e7eff31d3f Add a meson build system, correct icon size.
8min on this task (I'll semantic for all future commits).
2018-04-17 10:00:23 +12:00