19 Commits

Author SHA1 Message Date
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
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
557473f5a3 Encapsulating... 2010-03-19 17:41:31 +01:00
Erik Faye-Lund
fe8d009a22 added recentfiles.cpp to vs2005 project, fixed some warnings, removed Release()-call that caused crash. 2010-03-19 17:41:26 +01:00
Erik Faye-Lund
1eb06de644 rows as a document property 2010-03-19 17:41:26 +01:00
Erik Faye-Lund
065993b82e Added white-space for more readable and merge-able XML-files. 2010-03-19 17:41:24 +01:00
Erik Faye-Lund
bb7d788038 only insert needed for load() 2010-03-19 17:41:23 +01:00
Erik Faye-Lund
45a9afd6bf Only ask to save if document has been changed. Remembers old save-points. Also corrected an error message. 2010-03-19 17:41:23 +01:00
Erik Faye-Lund
cef4af984d Improved encapsulation and const-correctness. 2010-03-19 17:41:21 +01:00
Erik Faye-Lund
33c8eab9d5 Created project-files for vs2008, and changed the msxml-version to 3 for better compatibility. 2010-03-19 17:41:17 +01:00
Erik Faye-Lund
aa65670383 track-reordering works \o/ 2010-03-19 17:41:17 +01:00
Erik Faye-Lund
a244529a4f Renamed actualTracks to tracks, removed dead code (the out-commented empty function purgeUnused), replaced "Error" with NULL (This gives a localized error-string) for MessageBox in one place. 2010-03-19 17:41:17 +01:00
Erik Faye-Lund
3b014fd04a Cleaner code for the track-reordering 2010-03-19 17:41:16 +01:00
Erik Faye-Lund
7235c374a8 fixed bug 1896587 2010-03-19 17:41:12 +01:00
Erik Faye-Lund
eb180b4d15 Partial fix for bug 1896587. Added a fileNew()-function, and made it do some of what it's supposed to do. However, it only clears the part of the document that is within the max-row range. To fix properly, a separate function to clear a track should be added, and all tracks should be iterated through and truncated to 0. Another issue, is that there's no real purgeUnused()-method in SyncDocument yet, and it's a bit tricky to implement (needs to remap properly). But, at least some of this seems to work-ish now.
Also added a menu-hook for fileNew.
2010-03-19 17:41:11 +01:00
Erik Faye-Lund
72e0b8f93a more getter-usage, and moving the getTrackIndexFromPos()-method to the module it's used in 2010-03-19 17:41:11 +01:00
Erik Faye-Lund
74da2a1c62 fixed pasting and removed a mem-leak 2010-03-19 17:41:10 +01:00
Erik Faye-Lund
9767ad5852 moved XML-loading/saving routines to a separate source-file, so the nasty COM-stuff doesn't contaminate all code ;) 2010-03-19 17:41:10 +01:00