| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Makes a few warnings disappear without compromising precision.
|
|
|
|
|
|
|
|
|
| |
They are quite unsuitable for the computational geometry performed here.
Their use rendered the code inefficient, obtuse, and unreliable.
Contains several other fixes like removing duplicate calculations and
wrong values. The C++ <complex> module is no longer used. It had only
been used for calculating sin and cos in an obscure manner.
|
| |
|
|
|
|
| |
Run make grand-replace to update all coopyright statements
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
makes sense to avoid unnecessary copying of 'string' objects.
Measurements on x86_64 (i7-2760QM, 2.40GHz) Fedora 19 with g++ 4.8.1, with
configure --enable-optimising --disable-debugging; tests run 10 times, average
elapsed time compared (/usr/bin/time)
* Bach, Concerto in E major or violin and strings, BWV 1042 (Mutopia source),
38 pages:
$ lilypond score.ly -> master: 15.4s, with patch: -0.1%
* lilypond regression tests (1153 .ly files):
$ lilypond *.ly -> master: 276.6s, with patch: -2.5%
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The file stencil-integral.cc provides a suite of functions that
traverse a stencil and do linear approximations of its components.
These are then turned into boxes that are passed to the Skyline
constructor. This approximation is used for several vertical skylines
including those of VerticalAxisGroup and System. As a result of these
more accurate approximations, vertical spacing is more snug between
grobs.
Additionally, in axis-group-interface.cc, skylines of grobs are no
longer compared to a monolithic axis-group skyline but rather all
of the component skylines of the axis-group, allowing grobs to
be fit under other ones if there is space instead of always shifted over.
Two new python scripts allow to visualize the position of skylines.
All other changes provide functions that allow for better debugging
of Skylines, better approximations of grobs via skylines, and changes
to the measurement of distance between grobs via the new Skyline API.
This results in a significant time increase in score compilation for
objects with complex skylines such as all text grobs. For orchestral
scores, the increase is not as steep.
|
| |
|
|
|
|
|
| |
This was too fragile when fed invalid UTF-8. Callers still are far
from pretty.
|
|
|
|
|
|
| |
Does this by increasing the slur region based on the height of the
extremal extra encompass object plus a padding controled by
encompass-object-range-overshoot.
|
|
|
|
|
|
|
|
|
|
|
| |
Apologies for the inconvenience in patch handling, but getting
this done at once will cause less long-term problems than trying
to do this piecemeal.
Note for future git historians: this patch was created by running
scripts/auxiliar/fixcc.py \
$(find flower lily -name '*cc' -o -name '*hh' | grep -v /out)
with astyle 2.02 installed. No manual changes were made.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Signed-off-by: Han-Wen Nienhuys <hanwen@xs4all.nl>
Signed-off-by: Jan Nieuwenhuizen <janneke@gnu.org>
Signed-off-by: John Mandereau <john.mandereau@gmail.com>
Signed-off-by: Graham Percival <graham@percival-music.ca>
Signed-off-by: Reinhold Kainhofer <reinhold@kainhofer.com>
Signed-off-by: Joe Neeman <joeneeman@gmail.com>
Signed-off-by: Heikki Johannes Junes <hjunes@gmail.com>
Signed-off-by: Neil Puttock <n.puttock@gmail.com>
Signed-off-by: Carl D. Sorensen <c_sorensen@byu.edu>
Signed-off-by: Mats Bengtsson <mats.bengtsson@s3.kth.se>
Signed-off-by: Werner Lemberg <wl@gnu.org>
Signed-off-by: Patrick McCarty <pnorcks@gmail.com>
Signed-off-by: Nicolas Sceaux <nicolas.sceaux@free.fr>
|
| |
|
|
|
|
|
|
|
|
| |
The loop occurred when Duration::Duration(Rational r, bool scale) was called
with r.num() >= 2 * r.den(), f.e. the duration of a longa: r.num = 2,
r.den = 1. If k < 0, the left-shifting-operator << returns an undefined value
instead of right-shifting bits. The fix introduces a new function
shift_left() in misc.hh, which behaves different.
|
| |
|
| |
|
|
|
|
| |
ledgers.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- use chord formatting for single tie
- add all notes + accidentals to chord outline
- separate file for Tie_specification
- use convex_amplifier for distance penalties:
penalties increase superlinearly in distance
- tunable padding for skyline
- semi tie: set direction with ^ and _
- debug output for semities
- for single tie case, introduce penalty for wrong direction
- only add symmetry penalties for more than 1 tie.
- use exactness to determine whether to override delta_y_ too.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
intersection gets smaller. This fixes slurs over extreme points.
* lily/melody-engraver.cc (stop_translation_timestep): ignore
stems with neutral-direction set.
* lily/piano-pedal-engraver.cc (create_text_grobs): idem.
* lily/open-type-font.cc (load_table): format error.
* lily/change-iterator.cc (process): format fix.
* flower/include/international.hh (_f): idem.
* flower/include/std-string.hh: add format printf attribute.
* scm/define-grobs.scm (all-grob-descriptions): height of all
PedalLineSpanner is Y-extent property. Fixes pedal-ped.ly
|
| |
|
|
|
|
|
|
|
|
| |
* flower/include/std-vector.hh: Finish std:: conversion; move
flower extensions from std:: namespace. Update users.
* lily/include/lily-proto.hh: Replace Link_array__*_ macros by
their expansion to vector<*>. Update users.
|
|
|
|
|
|
|
| |
(--enable-std-string): On by default.
* flower/include/std-vector.hh: New file. Enable switch to
std::vector, update client code.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* lily/grob.cc (y_parent_positioning): remove axis argument from
parent_positioning callbacks.
(Grob): junk init code
(get_offset): use generic property callbacks for
X-offset, Y-offset. Remove Grob::{add,has}_offset_callback.
(axis_parent_positioning): new function
(axis_offset_symbol): new function
(chain_offset_callback): new function
(add_offset_callback): new function
* lily/beam.cc (rest_collision_callback): change signature; this
is now a chained callback.
* lily/include/dimension-cache.hh (class Dimension_cache): remove
callback administration.
* lily/simple-closure.cc: new file. Smob type that allows "grob"
member functions
* lily/slur-engraver.cc (acknowledge_extra_object): use chained
callbacks.
* lily/slur.cc (outside_slur_callback): take 2 arguments.
* lily/rest.cc (polyphonic_offset_callback): remove.
* lily/script-engraver.cc (try_music): remove bool* argument.
* scm/script.scm (default-script-alist): set quantize-position
appropriately.
* lily/script-engraver.cc: remove follow_into_staff_ special coding.
* lily/side-position-interface.cc (aligned_side): move staff
position quantization from
Side_position_interface::quantised_position().
(quantised_position): remove
|
|
|
|
|
|
|
|
|
|
| |
* lily/laissez-vibrer-tie.cc: new file.
* lily/tie-column.cc (set_tie_config_directions): new function
(final_shape_adjustment): new function.
(shift_small_ties): new function.
* lily/tie-column.cc (set_chord_outline): new function.
|
|
|
|
|
| |
* lily
* kpath-guile: Nitpick run: buildscripts/fixcc.py.
|
|
|
|
|
|
|
|
|
|
| |
(postprocess-output): new function
* lily/paper-book.cc (classic_output): change calling
convention. Give basename as first argument.
remove Paper_book::post_processing().
* lily/lily-guile.cc (LY_DEFINE): ly:output-backend, new function.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Debian lmodern support.
* scm/framework-tex.scm (font-load-command): TeX font name
mangling for latin1 encoded cork-lm fonts.
(convert-to-ps): Load lm.map if available.
* ly/paper-defaults.ly: Use cork-lm encoding if ec is not
available.
* scm/encoding.scm (coding-alist): Add cork-lm encoding.
* scm/font.scm: Add header. Autoload cork-lm and ec fonts if
available.
* lily/kpath.cc (ly_kpathsea_find_file): Rename. Do not use
path for absolute file name, that is silly.
* lily/score-engraver.cc (initialize):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* lily/include/slur-configuration.hh (class Slur_configuration):
new file.
* lily/slur-configuration.cc: new file. move scoring functions
into Slur_configuration.
* lily/slur-scoring.cc (Slur_score_state): change static functions
to methods of Slur_score_state.
* lily/bezier-bow.cc (Message):
* flower/include/interval-set.hh (Message): new file.
* flower/interval-set.cc (Message): new file.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1.3.136.jcn3
============
* Finished () beautification.
* Bugfix: grob-description.scm: Script::after_line_breaking ->
before_line_breaking.
1.3.136.hwn1
============
* Percent style repeats.
* Named music creation: (ly-make-music "Note_req")
1.3.136.jcn2
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|