115 Commits

Author SHA1 Message Date
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
e640a4ab6a editor: explicit C-declaration around sync/data.h
Trade an explicit extern "C" declaration for three
defined(__cplusplus) wrapped ones.
2010-07-06 23:03:37 +02:00
Erik Faye-Lund
47d8e9de6c editor: fix aborting save on exit 2010-07-05 19:07:02 +02:00
Erik Faye-Lund
1e94cd9975 Merge branch 'work/no-console' 2010-06-18 20:16:12 +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
31ec5064b2 editor: allow reordering tracks by dragging mouse
Previously the only way of reordering tracks were with an
obscure keyboard short-cut. Most users would expect to be
able to do this with the mouse, so we'll allow that.
2010-06-18 16:29:11 +02:00
Erik Faye-Lund
b5edcbe55d editor: make autoscrolling optional 2010-06-18 16:29:09 +02:00
Erik Faye-Lund
6d9b923461 editor: use beam-cursor in track view 2010-06-18 16:29:08 +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
f5c2fc032e editor: remove traces of stdafx 2010-03-24 19:01:00 +01:00
Erik Faye-Lund
892e1e1a97 editor: max char width constness 2010-03-24 18:21:16 +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
42fc8cb3d7 remove unused ini-file 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
Erik Faye-Lund
70bcea33ab clean up network code 2010-03-19 17:41:35 +01:00
Erik Faye-Lund
decf843c04 player/client: port to C
Make sure that all code included in the player and client is
pure C. This helps on portability.
2010-03-19 17:41:34 +01:00
Erik Faye-Lund
dc1ab70976 fix keyboard shortcuts 2010-03-19 17:41:34 +01:00
Erik Faye-Lund
c3ade8560c clean up project structure a bit 2010-03-19 17:41:34 +01:00
Erik Faye-Lund
b9200bbd3b split solution in two
Visual Studio only allows one project in a solution to be debugged
at the time. Split the solution in two, so both the player and the
editor can be opened in a separate Visual Studio instance without
file lock conflicts.

Remove outdated Visual Studio 2005 solution and project files while
we're at it.
2010-03-19 17:41:33 +01:00
Erik Faye-Lund
892ac2f0fb allow moving left/right when playing back
There's no point in disallowing left/right motion when playing back. This
patch re-allows that (and allows swapping tracks while playing back as well).
2010-03-19 17:41:33 +01:00
Erik Faye-Lund
31698760f1 const 2010-03-19 17:41:32 +01:00
Erik Faye-Lund
c463800979 Implemented select all, select track and select row. 2010-03-19 17:41:32 +01:00
Erik Faye-Lund
557473f5a3 Encapsulating... 2010-03-19 17:41:31 +01:00
Erik Faye-Lund
e8f1727b4c Formatting and removed ini-file from the vs08 project. 2010-03-19 17:41:31 +01:00
Erik Faye-Lund
bd4c5d31b3 Removed ini-file stuff. Sorry Skrebbel, but it wasn't good enough ;) 2010-03-19 17:41:30 +01:00
Erik Faye-Lund
18410f89f3 Resize margins with font changes as well. 2010-03-19 17:41:30 +01:00
Erik Faye-Lund
0ec7daf2c1 Allow run-time font changing. 2010-03-19 17:41:30 +01:00
Erik Faye-Lund
60ee9553d4 made some of the font-properties class members instead of const variables (and even worse, global variables). 2010-03-19 17:41:30 +01:00
Erik Faye-Lund
95b2cfd073 renamed fontHeight to rowHeight 2010-03-19 17:41:29 +01:00
Erik Faye-Lund
fa03d803e2 formatting 2010-03-19 17:41:29 +01:00
Erik Faye-Lund
edd626e5ad XP styles. 2010-03-19 17:41:28 +01:00
Erik Faye-Lund
068471028f retabbing 2010-03-19 17:41:28 +01:00
Erik Faye-Lund
0dc304a335 Overwriting paste. A tad more logical to work with than the old method. 2010-03-19 17:41:28 +01:00
Erik Faye-Lund
634588aeed Removed superfluous "virtual" keywords. It's only the base-class that needs the methods to be declared as virtual. 2010-03-19 17:41:27 +01:00
Erik Faye-Lund
b6bdcd264f undo should be applied backwards... 2010-03-19 17:41:27 +01:00
Erik Faye-Lund
60a5ff3b9f Auto-export on save. 2010-03-19 17:41:27 +01:00
Erik Faye-Lund
02f38874b5 Capping path to 64 chars. 2010-03-19 17:41:26 +01:00
Erik Faye-Lund
4677e3228a Filename before app-title. Also, don't display path and extension. 2010-03-19 17:41:26 +01:00