summaryrefslogtreecommitdiff
path: root/lily/include
Commit message (Expand)AuthorAgeFilesLines
* Issue 4965: Create and use Grob::parent_relative...This function checks for the existence of a Grob parent before calculating a coordinate relative to it. This should hopefully clean up the most relevant problems caused by issue 4814 and the original GCC 6 optimization causing it. David Kastrup2016-09-081-0/+1
* Issue 4961/5: Change rotations to degrees rather than radians...Or replace them with something not requiring angles altogether. David Kastrup2016-09-051-1/+1
* Issue 4954/1: Change spanner-id to be a key instead of a string...Also changes argument \= to be a key. Backport-by: David Kastrup <dak@gnu.org> Nathan Chou2016-08-131-2/+2
* Issue 4938 (2/3) Refactor handling of MIDI control changes...Handle the MIDI control value initialization from context properties (Staff_performer::new_audio_staff), control value changes (Midi_control_function_performer::announce_function_value_change), and value conversion for output (Midi_control_function_value_change::to_string) in the new Midi_control_change_announcer class. All MIDI control changes are now encoded using {Audio,Midi}_control_change items. This change makes the old {Audio,Midi}_control_function_value_change classes obsolete. Heikki Tauriainen2016-07-274-48/+65
* Issue 4938 (1/3) Add Audio_item and Midi_item subclasses for control changesHeikki Tauriainen2016-07-273-0/+25
* 4944: Do not initialize static constants in class body (fix FTBFS on GCC 6)Heikki Tauriainen2016-07-231-3/+3
* Issue 4048 (4/5) Handle multiple (de)crescendi in depart/return groupsDan Eble2016-07-191-0/+2
* Issue 4048 (2/5) Dynamic_performer: represent dynamics as a piecewise...linear function rather than a collection of discrete points Dan Eble2016-07-192-27/+20
* Issue 4876/2: Enable fontname replacing in Open_type_font class...This commit enables fontname replacing for CFF (OTF/OTC) fonts. Masamichi Hosoda2016-07-041-0/+1
* Issue 4876/1: Add fontname replacing function for CFF (OTF/OTC) fonts...For CFF (OTF/OTC) fonts, FT_Get_Postscript_Name () in FreeType 2.6+ gets the name in 'name' table. However, we want the name in 'CFF' table instead of in 'name' table because output postscript file is embedded only 'CFF' table of the font. They are inconsistent for some OpenType/CFF Collection fonts (OTC). This function can get the name in 'CFF' table. TODO: Check conflicts between fonts which have same name in 'CFF' table but different name in 'name' table. Masamichi Hosoda2016-07-041-0/+1
* Issue 4906/6: Use ADD_END_ACKNOWLEDGER_FOR in slur engraversDavid Kastrup2016-07-041-1/+0
* Issue 4906/5: Don't let ADD_END_ACKNOWLEDGER_FOR add end_ to callbackDavid Kastrup2016-07-041-2/+6
* Issue 4906/4: Use ADD_LISTENER/ACKNOWLEDGER_FOR in slur engraversDavid Kastrup2016-07-041-5/+0
* Issue 4906/3: ADD_ACKNOWLEDGER/LISTENER_FOR...Add macros allowing to listen/acknowledge to events/grobs unrelated to the actual listener name. David Kastrup2016-07-041-6/+11
* Issue 4906/2: Rename ack_trampoline to trampoline...This allows foregoing a dummy Translator::ack_trampoline definition. David Kastrup2016-07-042-7/+4
* Issue 4906/1: Rename ack_finder to method_finder...This additional overload streamlines things somewhat. David Kastrup2016-07-042-9/+4
* Don't overload Slur_engraver::listen_slur...Having two overloaded variants of Slur_engraver::listen_slur leads to problems with ADD_LISTENER template resolution at least in some versions of g++. So the two-argument version is renamed to listen_note_slur. David Kastrup2016-06-251-4/+4
* Issue 4903/4: Fold Slur_proto_engraver into Slur_engraver...A symmetrical common base class to both Slur_engraver and Phrasing_slur_engraver seems like an unnecessary complication. Instead, Phrasing_slur_engraver can just be derived from Slur_engraver . David Kastrup2016-06-241-12/+10
* Issue 4903/3: Restructure slur engravers...Replaces data members specific to derived classes of Slur_proto_engraver with virtual functions. David Kastrup2016-06-241-11/+5
* Issue 4903/2: {phrasing-,}slur-engraver.cc: adjust includesDavid Kastrup2016-06-241-0/+1
* Issue 4903/1: internal_make_grob: Remove unused `name' argumentDavid Kastrup2016-06-241-7/+7
* Issue 4899/6: Remove {Translator,Engraver}::ack_find_base...The indirection and complication added by it does not really help in any manner. David Kastrup2016-06-232-10/+8
* Issue 4899/5: Remove Translator::method_find_base...It's basically a trivial replacement and confuses more than it helps. David Kastrup2016-06-231-5/+4
* Issue 4899/4: Listeners should not be virtual...Gregorian_ligature_engraver::listen_pes_or_flexa and Ligature_engraver::listen_pes_or_flexa were accidentally declared virtual, but their registration already caters for what amounts to virtual overrides in effect. David Kastrup2016-06-232-2/+2
* Issue 4899/3: Revert "Issue 4885/2: Let ADD_ACKNOWLEDGER state actual classes"...This reverts commit 7c36dbb1834c7c68e4b94777241de3ea02971aca. David Kastrup2016-06-233-17/+18
* Issue 4899/2: Revert "Issue 4885/3: Remove ack_finder/ack_find_base"...This reverts commit b9040afd1dcfbee6b45bc3d54850ff50d51c8ee9. David Kastrup2016-06-233-5/+19
* Issue 4899/1: Let method_finder also find listeners...This allows using inherited listeners directly like with acknowledgers and translator methods. David Kastrup2016-06-232-2/+7
* Issue 4878: Make type_p_name_ always char pointer...This avoids the pitfalls cured by issue 4783 without the associated inconvenience when no predicate is desired. David Kastrup2016-06-0940-47/+41
* Issue 4874/3: Import various input session variables into parser...This concerns pitchnames, drumPitchNames, and chordmodifiers, saving a lookup for each use. David Kastrup2016-06-091-0/+3
* Consistently use semicolons after some macro calls...That's nicer for reading and code indentation. David Kastrup2016-06-074-11/+10
* Issue 4885/3: Remove ack_finder/ack_find_base...ADD_ACKNOWLEDGER and ADD_END_ACKNOWLEDGER can work without them when the base is specified correctly when calling them inside of some CLASS::boot (). David Kastrup2016-06-063-19/+5
* Issue 4885/2: Let ADD_ACKNOWLEDGER state actual classes...Declaring the correct containing classes for acknowledgers allows dropping a bunch of black magic. David Kastrup2016-06-063-15/+17
* Issue 4885/1: Simplify ADD_{,END_}ACKNOWLEDGER...No explicit scopes are needed any more since they are run from within the static member function CLASS::boot () . David Kastrup2016-06-061-4/+4
* Issue 4884: Remove DECLARE_* translator callback macros...Recent changes have rendered them trivial. This does not review their accessibility status: in general, they should be protected since they can be reused by derived classes but aren't needed externally. However, where they are indeed called from static member functions of derived classes, the associated trampoline instantiation appears to require public access. This might warrant some more investigation. David Kastrup2016-06-064-24/+15
* Issue 4873/2: Give add_acknowledger SCM &, not Protected_scm &David Kastrup2016-06-061-1/+1
* Issue 4873/1: operator SCM & () for Protected_scm...This allows passing SCM reference parameters that are actually based on Protected_scm. David Kastrup2016-06-061-1/+3
* Issue 4872: Remove Protected_scm destructor...Protected_scm works only for static data and single members cannot be destructed without destroying the whole protection chain. When static member destructors are called, the Guile memory subsystem is already down, so tampering with the storage is just a waste of effort and snake oil at best. David Kastrup2016-06-061-1/+0
* Issue 4862: Merge get_acknowledger and get_end_acknowledgerDavid Kastrup2016-06-063-25/+11
* Issue 4865/1: Move translator initializations to X::boot ()...This reorganization of the C++ translator initializations leads to more predictable initialization order and makes the initializations have access to private members of the class. This is a precondition for more restrictive access control, helping to pin down accidental references to members of the wrong class. David Kastrup2016-05-312-21/+10
* Issue 4863: Protect Grob_interface<>::interface_symbol_David Kastrup2016-05-271-2/+3
* Issue 4850: Remove self method bindings of translator groups...They are not actually being used (and consequently untested), and the added complexity makes understanding the code harder. David Kastrup2016-05-241-6/+0
* Issue 4851: Scheme_engraver::init_acknowledgers API change...Nicer to return the constructed hash rather than pass it by reference. David Kastrup2016-05-211-1/+1
* Issue 4847: Let intlog2 adapt to argument precision...Makes a few warnings disappear without compromising precision. David Kastrup2016-05-101-1/+20
* Issue 4842/7: Don't special-case Scheme_engraver's methodsDavid Kastrup2016-05-082-14/+2
* Issue 4842/6: Don't special-case Scheme_engraver's acknowledgersDavid Kastrup2016-05-083-20/+26
* Issue 4842/5: Store acknowledgers in a Scheme_hash_tableDavid Kastrup2016-05-083-24/+8
* Issue 4842/4: Replace Translator_method et al...All of Translator_method, Translator_group_method, Translator_group_void_method, Callback can be expressed via SCM now. Translator_method_binding is replaced with Method_instance. David Kastrup2016-05-083-47/+27
* Issue 4842/3: Replace Engraver_dispatch_entry with Method_instance...This also replaces a lot of C++-centric callback machinery (like the Grob_info_callback type) with SCM-based code. David Kastrup2016-05-089-30/+66
* Issue 4842/2: Add Method_instance class...This is a lightweight container class combining an SCM method call with a particular instance into a C++ callable. David Kastrup2016-05-081-0/+41
* Issue 4842/1: Add Callback0_wrapper and Callback2_wrapper class...Those are for callbacks with 0 and 2 SCM arguments, respectively. The former are needed mainly for translator callbacks, the second for acknowledgers. David Kastrup2016-05-081-1/+80