15 Commits

Author SHA1 Message Date
Erik Faye-Lund
1044584639 player: fixup some constness 2011-01-25 23:39:06 +01: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
874c5b8ede rename LICENSE.TXT to COPYING 2010-03-19 17:41:37 +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
cabec12793 formatting 2010-03-19 17:41:31 +01:00
Erik Faye-Lund
cef4af984d Improved encapsulation and const-correctness. 2010-03-19 17:41:21 +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
f8301d6ee6 Fixed support for UNIX sockets, and fixed static crt-linking for debug builds 2010-03-19 17:41:13 +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
18f3415ae7 removed a mem-leak 2010-03-19 17:41:10 +01:00
Erik Faye-Lund
ff614fbbb9 added support for pre-connection editing 2010-03-19 17:41:09 +01:00
Erik Faye-Lund
8f34baa39c added copyright headers 2010-03-19 17:41:06 +01:00
Erik Faye-Lund
04da67a5e4 moar. 2010-03-19 17:41:02 +01:00