/[svn]/libgig/trunk/ChangeLog
ViewVC logotype

Diff of /libgig/trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 549 by schoenebeck, Mon May 16 18:40:45 2005 UTC revision 2989 by schoenebeck, Sat Sep 24 14:00:46 2016 UTC
# Line 1  Line 1 
1  Version CVS HEAD (?)  Version SVN trunk
2      * general changes:
3        - removed 2 GB limitation when loading a gig or DLS file
4        - using now native integer size where appropriate
5    
6      * src/gig.cpp, src/gig.h:
7        - fixed bug in Script::SetGroup: the script chunk wasn't moved
8        - fixed compilation error with clang 3.4
9        - GIG FORMAT EXTENSION: added support for saving gig file larger than 4 GB
10          as one single monolithic gig file. In case .gig file is >= 2GB expect a
11          large monolithic file, otherwise if .gig file is < 2 GB check for
12          "extension" files (.gx01, .gx02, ...) instead.
13        - fixed Region::UpdateUpdateVelocityTable() which did not work correctly
14          if there were dimensions after the velocity dimension: it only created
15          valid velocity tables for cases of dimensions lower than the velocity
16          dimension.
17        - added new method Sample::VerifyWaveData() which allows to check whether
18          a sample had been damaged for some reason
19        - Fix: samples' CRC checksums were damaged on file structure changes.
20        - Fix: samples' CRC checksums were misordered when a Sample was deleted.
21        - Added new method Sample::GetWaveDataCRC32Checksum().
22    
23      * src/DLS.cpp, src/DLS.h:
24        - Sample: wave pool offsets are now 64 bits (to allow support for files
25          larger than 4 GB).
26          
27      * src/RIFF.cpp, src/RIFF.h:
28        - added support for RIFF files larger than 4 GB, by default the required
29          internal RIFF file offset size is automatically detected (that is RIFF
30          files < 4 GB automatically use 32 bit offsets while files >= 4 GB
31          automatically use 64 bit offsets), a particular offset size can be forced
32          with a new option added to the RIFF File constructor though
33        - when saving a modified, grown RIFF file, the temporary file size during
34          Save() operation will no longer be larger than the final grown file size
35    
36      * src/tools/akaidump.cpp, src/tools/akaiextract.cpp:
37        - improved output of non-ascii characters in usage messages
38        - fixed printf format strings
39    
40      * src/tools/korg2gig.cpp:
41        - fixed c++11 narrowing warnings
42        - fixed fine tuning which was not translated at all
43    
44      * src/tools/gigdump.cpp:
45        - additionally print VelocityUpperLimit and DimensionUpperLimits of all
46          dimension regions
47        - additionally print RIFF chunk file offset and RIFF chunk size of sample
48          data
49        - added and implemented new parameter "--verify" which allows to check
50          the raw wave form data integrity of all samples
51        - added and implemented new parameter "--rebuild-checksums" which allows
52          to recalculate the CRC32 checksum of all samples' raw wave data and
53          rebuilding the gig file's global checksum table (i.e. in case the
54          file's checksum table was damaged)
55        - print samples' CRC32 checksums
56    
57      * src/tools/gigextract.cpp:
58        - Fix: if sample name contains a path separator (slash or backslash) then
59          replace them by a minus sign to avoid file system issues.
60    
61      * packaging changes:
62        - Automake: set environment variable GCC_COLORS=auto to allow GCC to
63          auto detect whether it (sh/c)ould output its messages in color.
64    
65    Version 4.0.0 (14 Jul 2015)
66      * general changes:
67        - minor Makefile fix for parallel make
68        - Mac OS X: link with CoreFoundation (for the UUID function)
69        - removed gcc 4.7 warnings
70        - modernized configure script
71        - removed usage of deprecated Automake variable INCLUDES
72        - added new command line tool "gigmerge"
73        - added "const" keyword to several methods
74        - added new command line tool "gig2mono"
75        - added man page for "sf2dump"
76        - added new command line tool "korgdump" (and a man page for it)
77        - added new command line tool "korg2gig" (and a man page for it)
78        - moved source files of command line tools to new subdir src/tools
79        - libgig.so and libakai.so files are now installed under
80          $(prefix)/lib/libgig/ by default.
81        - Header files are now installed under $(prefix)/include/libgig/ by default.
82        - Fixed various packaging issues regarding installation directories
83          (fixes #218).
84        - added new command line tool "gig2stereo" (and a man page for it)
85        - unit tests: fixed wrong return value when test suite app exits
86          (patch by Ryan Schmidt)
87        - added new command line tool "sf2extract" (and a man page for it)
88    
89      * SoundFont file format:
90        - initial implementation
91        - changed region lookup API to avoid malloc in RT threads
92        - fixed GetEG1Sustain which didn't return correct value
93        - bugfix: GetPan always returned -1, 0 or 1
94    
95      * KORG file format:
96        - initial support for sample based instruments in KORG's file format
97          (.KMP and .KSF files)
98    
99      * AKAI file format:
100        - Added Linux/POSIX ported version of libakai. Note that libakai is released
101          under LGPL terms while libgig is released under GPL terms. To handle this
102          license difference appropriately the AKAI support part is built as
103          separate DLL (.so file).
104        - Fixed Mac OSX support so that the Akai lib files and tools compile without
105          any exotic third party libraries.
106        - Fixed various compilation errors for Windows.
107        - POSIX fix: open() requires third (mode) argument if used with O_CREAT
108          (fixes #219).
109    
110      * src/gig.cpp:
111        - bugfix: VCF velocity dynamic range and VCF velocity curve
112          weren't saved correctly
113        - implemented File::AddDuplicateInstrument()
114        - bugfix: negative EG3 depth values were not correctly parsed or
115          saved
116        - added write support for CtrlTrigger midi rule
117        - added read and write support for Legato and Alternator midi
118          rules
119        - bugfix: sample groups were sometimes created multiple times or with
120          wrong textual group name
121        - added new method File::AddContentOf() for merging .gig files
122        - GIG FORMAT EXTENSION: added additional MIDI controllers for leverage
123          controller types (only works with LinuxSampler & gigedit, will not
124          work with Gigasampler/GigaStudio)
125        - added new method File::GetGroup(String name) for getting group by name
126        - added new method Region::GetDimensionDefinition(dimension_t type)
127        - bugfix: don't alter region pointer in DimensionRegion::CopyAssign()
128        - added some more sanity checks in Region::AddDimension()
129        - added new method Region::DeleteDimensionZone(dimension_t, int)
130        - added new method Region::SplitDimensionZone(dimension_t, int)
131        - Fixed crash caused by Region::GetDimensionRegionByValue() that happened
132          with certain velocity split sounds under certain conditions (added bound
133          constraints to prevent that)
134        - GIG FORMAT EXTENSION: added support for real-time instrument scripts.
135        - added new method Region::GetDimensionRegionIndexByValue()
136        - added new method Script::GetGroup()
137        - added new method Region::SetDimensionType()
138        - Added support for custom progress notification while saving to gig file.
139        - Bugfix: Adding a new region in between two existing regions caused the
140          new one being dropped after save operation and the gig file being tainted
141          (chunks at wrong location in the RIFF tree).
142        - Added new method Instrument::MoveTo() which allows to rearrange the order
143          of instruments within the same gig file.
144    
145      * src/DLS.cpp, src/DLS.h:
146        - added new method File::GetFileName()
147        - fixed minor "memory leak on exception" bug found with cppcheck
148        - added new method File::GetExtensionFile(int index)
149        - added new method File::SetFileName() allowing to call File::Save()
150          later on without passing a file name
151        - added inline helper methods overlaps() for struct range_t
152        - Added support for custom progress notification while saving to DLS file.
153        - Bugfix: Adding a new region in between two existing regions caused the
154          new one being dropped after save operation and the gig file being tainted
155          (chunks at wrong location in the RIFF tree).
156    
157      * src/SF.cpp, src/SF.h:
158        - added new method Sample::ReadNoClear()
159    
160      * src/RIFF.cpp, src/RIFF.h:
161        - bugfix: avoid calling read() with count 0 when writing a file,
162          as this may hang on some systems
163        - fixed memory leak and memory handling errors when file loading
164          fails
165        - added new method Chunk::ReadString
166        - added new method File::SetFileName() allowing to call File::Save()
167          later on without passing a file name
168        - added new method File::IsNew()
169        - added support for loading RIFF-like files with a bit different layout
170          than "real" RIFF files (used for KORG format support)
171        - added new method Chunk::GetFile()
172        - added new method Chunk::GetLayout()
173        - added 2nd, alternative method for List::MoveSubChunk(), the old 1st one
174          allows to move a subchunk within the current List, whereas the new 2nd
175          one allows to move the subchunk from the current list to another list
176        - POSIX: only assume -1 result value as error on open() calls
177        - POSIX: show operating system's error reason if opening a file failed
178        - Added support for custom progress notification while saving to RIFF file.
179        - Fixed embarrassing old bug: POSIX read() errors were never detected on
180          Chunk::Read() calls due to signment incompatible variable.
181        - Cleanup of an old DLL binary backward compatibility hack.
182    
183      * src/gigextract.cpp:
184        - export sample loop, unity note and fine tune with libsndfile
185    
186      * src/riftree.cpp:
187        - added more command line options for being able to also dump other kind
188          of file formats similar but not equal to the RIFF format
189    
190    Version 3.3.0 (30 Jul 2009)
191    
192      * general changes:
193        - fixed compilation with gcc 4.3
194        - fixes for building with Visual C++
195        - minor fix in configure for building DLL on Windows
196    
197      * src/gig.cpp, src/gig.h:
198        - added partial support for MIDI rules, only the Controller
199          Triggered rule is supported so far
200        - bugfix: removed another iterator invalidation in DeleteSample
201        - bugfix in Sample::LoadSampleData*(): reset sample read position to
202          sample start before trying to (re)load sample data from file (#82)
203        - bugfix: EG3 depth parameter was not saved correctly
204        - fixed crash which occured when streaming a gig sample with
205          bi-directional (a.k.a. 'pingpong') loop type (fixes #102)
206    
207      * src/RIFF.cpp, src/RIFF.h:
208        - bugfix: saving to the same file after the file size had been
209          increased made the file corrupt (#82)
210        - bugfix: refuse Chunk::Read() in case chunk has just been added, that
211          is not written physically yet (#82)
212        - bugfix: saving to the same file after the file size had been
213          decreased sometimes also made the file corrupt!
214        - bugfix: undefined behavior (e.g. endless loop) when opening zero
215          length files, now throws a RIFF::Exception instead (fixes bug #121)
216        - bugfix: destructor for base class RIFF::Chunk accessed members
217          of derived class RIFF::File, which is bad, and caused crashes
218          when using Visual C++
219        - bugfix: files that contain zero length RIFF lists were not read
220          correctly (fixes #127) (bug was introduced 2009-03-13)
221    
222    Version 3.2.1 (5 Dec 2007)
223    
224      * src/RIFF.cpp, src/RIFF.h:
225        - avoid Windows to perform unnecessary file stream caching which would
226          decrease disk streaming performance on Windows systems otherwise
227    
228      * src/gig.cpp, src/gig.h:
229        - added File::SetAutoLoad() and File::GetAutoLoad() for allowing
230          applications to retrieve very superficial informations like amount of
231          instruments and their names in a very fast way
232    
233    Version 3.2.0 (14 Oct 2007)
234    
235      * packaging changes:
236        - added Mac OSX XCode project files (patch by Toshi Nagata)
237        - Dev-C++ (win32) project file is automatically updated with
238          the version info from configure.in
239        - the configure script can now be used in Windows with MSYS
240        - added a mainpage for the Doxygen API documentation
241    
242      * src/DLS.cpp, src/DLS.h:
243        - added Sampler::AddSampleLoop() and Sampler::DeleteSampleLoop() methods
244        - fixed write support for big-endian systems
245        - improved handling of fixed length info strings - separate default
246          lengths can be specified for each INFO chunk
247        - added Resource::GenerateDLSID function
248        - write support fix: allow regions without mapped samples
249        - added method SetKeyRange() to the Region class which should be used
250          instead of setting the KeyRange member variable directly
251        - MoveRegion() method of Region class is now private
252        - added SetGain() method to Sampler class
253        - fixed crash when saving a file after a sample loop was added
254    
255      * src/gig.cpp, src/gig.h:
256        - fixed segmentation fault in the gig::File destructor sequence which
257          happened when gig::Group informations were accessed before
258        - fixed write support for big-endian systems
259        - defined lengths of a fixed set of info strings. These strings
260          are saved when the file is written, even if they are empty.
261        - added missing parameter initalizations in sample, region and
262          instrument constructors
263        - clear unused fields when saving samples and regions
264        - fixed write support bugs: v3 dimension limits and chunksize
265          weren't saved, leverage controller of type controlchange
266          couldn't be saved, group name list chunk was placed wrong,
267          dimension region chunks also placed wrong
268        - added initialization of some fixed info strings in file and
269          instrument
270        - write support: files created by libgig will now have the RIFF
271          chunks in correct order
272        - write support: two previously unknown fields in dimension
273          definition are now saved
274        - added constants for gig file versions
275        - write support: the 3crc and einf chunks are now created or
276          updated when a file is saved (3crc contains sample checksums,
277          einf contains file statistics)
278        - write support: DLSID is now generated on the file and the
279          instruments
280        - write support: improved the default values for dimension region
281          parameters
282        - more write support fixes: crossfade parameters were not saved,
283          v3 dimension limits were not correctly initialized and saved
284          when dimensions were added or deleted, v3 wave pool offsets were
285          not saved correctly
286        - write support: 24 bit samples can now be written
287        - write support: version 3 is now the default for new files
288        - more write support fixes: the 3ewg chunk is now bigger for v3,
289          dimension regions without mapped samples are now allowed, 3gnl
290          list in v3 files now always has 128 entries, several parameters
291          where incorrectly saved due to an operator precedence mistake
292        - DeleteSample now removes all references to the deleted sample
293        - AddDimension now copies all parameters from existing dimension
294          regions and also makes sure that the samplechannel dimension is
295          placed first in the list of dimensions.
296        - added method GetParent() to class 'DimensionRegion', which returns its
297          parent Region
298        - fixed Instrument::UpdateRegionKeyTable() method which did not reset
299          unused areas
300        - added various setter methods to DimensionRegion class which take care
301          of updating lookup tables / caches.
302    
303      * src/RIFF.cpp, src/RIFF.h:
304        - added File::SetByteOrder method
305        - Windows fix: saving a new file didn't work
306    
307      * src/gigdump.cpp:
308        - added some missing dimension strings
309    
310    Version 3.1.1 (24 Mar 2007)
311    
312      * packaging changes:
313        - ported to Windows using native Windows functions for file IO
314          (provided Dev-C++ + mingw project file)
315        - only export relevant files to Doxygen API documentation
316    
317      * src/gig.cpp, src/gig.h:
318        - custom velocity splits now works for gig v3 files too
319        - added support for custom splits points for other dimensions than
320          velocity (gig v3 feature)
321        - added "smart midi" and "round robin keyboard" dimensions
322        - added new method File::DeleteGroupOnly() which only deletes the given
323          group but moves all its members to another group, the other method,
324          that is File::DeleteGroup() now removes not just the group, but also
325          all the samples that belong to that group
326        - fixed crash which occured on interfering File::DeleteSample() and
327          File::GetNextSample() calls (due to iterator invalidation)
328        - fixed group names which were not saved
329        - fixed group destructor which did not remove the RIFF chunk associated
330          with the group
331        - added Instrument::MoveRegion method
332        - fixed constructor for Region, which did not initialize correctly
333          when used from Instrument::AddRegion
334        - when saving, override the gig::Regions sample reference simply by
335          the region's first dimension region's sample (avoids an exception
336          when trying to save a new instrument)
337        - fixed AddDimension() method which did not fill out all mandatory
338          dimension definition fields
339    
340      * src/DLS.cpp, src/DLS.h:
341        - added Instrument::MoveRegion method
342        - fixed software info field which was wrongly stored on instruments,
343          causing an exception when trying to save a new instrument
344    
345      * src/RIFF.cpp, src/RIFF.h:
346        - fixed RIFF::Chunk destructor which did not unregister previously
347          resized chunks, leading to a "zero size chunk" exception when
348          File::Save() was called
349        - added List::MoveSubChunk method
350    
351    Version 3.1.0 (24 Nov 2006)
352    
353      * packaging changes:
354        - changed deprecated copyright attribute to license;
355          added ldconfig to post-(un)install steps on libgig.spec (RPM)
356    
357      * src/gig.cpp, src/gig.h:
358        - added support for more than one set of custom velocity splits
359          inside a region (for example different velocity split levels for
360          pedal up and pedal down)
361        - sample loop parameters are now taken from the DimensionRegion
362          instead of the wave chunk
363        - keyswitching dimension is changed from split type "normal" to
364          "bit"
365        - real support for 24 bit samples - samples are not truncated to
366          16 bits anymore
367        - support for reading of ".art" files. (Merging of .art and .gig
368          files are not implemented yet.)
369        - several fixes for the write support
370        - support for sample groups added
371    
372      * src/DLS.cpp, src/DLS.h:
373        - support for reading of ".art" files
374        - removed incorrect use of memccpy in the write support (patch by
375          Jeremy Kerr)
376        - several fixes for the write support
377    
378      * src/gigextract.cpp:
379        - real support for 24 bit samples
380    
381      * src/gigdump.cpp:
382        - print global file informations
383        - print sample groups
384    
385      * general changes:
386        - added CPPUnit test cases (at the moment primarily for automatic check
387          of Gigasampler write support)
388    
389    Version 3.0.0 (28 Apr 2006)
390    
391      * general changes:
392        - added write support (that is for creating and modifying RIFF, DLS and
393          gig files)
394        - loading DLS and gig files is now much more permissive, DLS and gig
395          files are now loaded even if mandatory RIFF chunks are missing
396        - fixed some memory management errors, one of them was causing a
397          crash when a multi-file gig was deallocated
398    
399      * src/gig.cpp, src/gig.h:
400        - fixed the GetVelocityCutoff function, it wasn't always using the
401          VCFVelocityScale parameter when no cutoff controller was defined
402        - support for the gig v3 feature to have a number of dimension
403          splits not equal to a power of two
404        - added write support (highly experimental)
405    
406      * src/DLS.cpp, src/DLS.h:
407        - fixed loading of Articulation Connections (<artl> list chunks were
408          seeked instead of ordinary <artl> data chunks)
409        - added write support (highly experimental)
410    
411      * src/RIFF.cpp, src/RIFF.h:
412        - added write support
413        - Chunk::LoadChunkData() can now be called again to resize the buffer
414          after a Chunk::Resize() and before the File::Save() call to allow
415          placing the new data in the chunk's write buffer and perform the
416          resize and write operations in one rush
417    
418      * src/gigdump.cpp:
419        - fixed to show the correct amount of dimension regions instead of 32
420          (patch by James Wylder)
421    
422      * src/dlsdump.cpp:
423        - show for every region the name of the referenced sample
424        - show file name in quotation marks
425    
426    Version 2.0.2 (15 Aug 2005)
427    
428      * packaging changes:
429        - require automake (>= 1.5) for 'make -f Makefile.cvs'
430          (mandatory for 'dist-bzip2' automake option)
431    
432      * src/gig.cpp, src/gig.h:
433        - support for gig v3 multi-file format (.gig, .gx01, .gx02, ...),
434          the extension files are read automatically when the samples are
435          loaded
436        - fixed the 24 bit decompression, the result should now be exact
437          instead of an approximation
438        - added VCFCutoffControllerInvert parameter and GetVelocityCutoff
439          function to DimensionRegion
440    
441      * src/DLS.cpp, src/DLS.h:
442        - the upper bits of the pool table indices are read (used as
443          extension file numbers for gig v3)
444    
445      * src/RIFF.cpp, src/RIFF.h:
446        - the file name is remembered in the RIFF::File object
447    
448    Version 2.0.1 (12 Jun 2005)
449    
450      * packaging changes:
451        - include debian/ directory on 'make dist'
452        - create a bzip2 tarball on 'make dist'
453    
454    * src/gigextract.cpp:    * src/gigextract.cpp:
455      - show also version of libsndfile or build version of libaudiofile when      - show also version of libsndfile or build version of libaudiofile when
456        using the -v switch        using the -v switch
457        - fixed mutual link dependency to libsndfile / libaudiofile
458    
459      * src/gig.cpp, src/gig.h:
460        - added DimensionRegion::GetVelocityRelease function
461    
462  Version 2.0.0 (9 May 2005)  Version 2.0.0 (9 May 2005)
463    

Legend:
Removed from v.549  
changed lines
  Added in v.2989

  ViewVC Help
Powered by ViewVC