25 Commits

Author SHA1 Message Date
Erik Faye-Lund
7590f5c6c6 Merge branch 'work/icon' 2010-11-23 22:00:33 +01:00
Erik Faye-Lund
8c842edff3 editor: add an application icon
The ICO was created from contrib/logo.svg by exporting a PNG from
Inkscape, and converting the PNG online at with iconverticons.com
2010-11-17 23:18:42 +01:00
Erik Faye-Lund
5318b90d7a editor: delete remote keys when creating new document 2010-11-13 14:06:26 +01:00
Erik Faye-Lund
f2c12d1351 editor: do not use MFC header
afxres.h is MFC-ism, and is not included in Visual Studio Express 2008.
To avoid confusing the resource editor in other visual studio versions,
let's implement a minimal version ourselves.
2010-09-05 15:37:54 +02:00
Erik Faye-Lund
126fbe1c33 editor: prevent crash on early disconnection
With some really bad luck, it was possible to crash inside
std::string::resize() if the connection was disconnected
right after sending the GET_TRACK command.
2010-09-05 00:07:25 +02:00
Erik Faye-Lund
1d4e1bb795 gcc: fix compilation warnings 2010-09-04 14:32:24 +02:00
Erik Faye-Lund
68ae5f69a6 editor: style-nit 2010-08-29 23:43:10 +02:00
Erik Faye-Lund
6693c3f8f4 protocol: use network byte-order
The network code assumes that the client and server have the
same endianess. This isn't always the case, so let's change
it all to network byte-order.

This change is not backwards compatible, so old clients and
new editors (or vica verca) will not work together any more.
2010-08-29 23:43:10 +02:00
Erik Faye-Lund
163194e338 editor: increase warning level and fix warnings
While we're at it, let's fix-up some code-style errors.
2010-08-29 23:43:08 +02:00
Erik Faye-Lund
197f80010c editor: refactor command-processing 2010-07-26 13:02:19 +02:00
Erik Faye-Lund
47d8e9de6c editor: fix aborting save on exit 2010-07-05 19:07:02 +02:00
Erik Faye-Lund
d68a38f451 editor: clean up error reporting 2010-06-18 20:09:01 +02:00
Erik Faye-Lund
12328ce6b8 editor: do not create a console window 2010-06-18 20:09:00 +02:00
Erik Faye-Lund
6ff7583935 editor: remove dead code
In 0e0b99e5, I accidentally committed some dead code. Remove it.
2010-06-18 20:08:24 +02:00
Erik Faye-Lund
539522eb1e Merge branch 'work/update-scrollbars' 2010-04-26 21:15:12 +02:00
Erik Faye-Lund
128457b5fa Merge branch 'work/status-interp-mode' 2010-04-25 14:32:05 +02:00
Erik Faye-Lund
d1403d63f2 editor: refactor status-bar creation 2010-04-25 14:31:35 +02:00
Erik Faye-Lund
51d1e706bf editor: show interpolation mode
Show the interpolation mode in the status-bar. This is a little bit
more useful for people who are new to GNU Rocket than just using some
undocumented color-code in the track.
2010-04-25 14:31:23 +02:00
Erik Faye-Lund
cda73d0960 editor: update scrollbars after loading 2010-04-20 21:40:18 +02:00
Erik Faye-Lund
87e5f0d421 editor: reduce hinstance getting
Store hInstance in a global variable instead of getting it over and
over again.
2010-04-20 20:01:55 +02:00
Erik Faye-Lund
9f6eeb0b5d editor: portability fixes
This is mostly just nit-pickery that allows most of the editor to
be compiled with MinGW. The nasty COM-stuff for the XML-loader in
syncdocument.cpp is still not compiling, though. There's also some
missing resource definitions, it seems.
2010-03-24 21:41:35 +01:00
Erik Faye-Lund
f22e5c3bcd editor: support unicode filenames 2010-03-24 20:08:44 +01:00
Erik Faye-Lund
06c75438cf editor: get rid of some TCHARism
We dont need unicode everywhere. TCHARism is just noise.
2010-03-24 18:21:09 +01:00
Erik Faye-Lund
874c5b8ede rename LICENSE.TXT to COPYING 2010-03-19 17:41:37 +01:00
Erik Faye-Lund
e7b0f110dd rename synctracer2.cpp to editor.cpp 2010-03-19 17:41:37 +01:00