Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(5402)

Issue 341150043: Issue 5310: find_top_context () maintenance [ABANDONED] (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
6 years ago by Dan Eble
Modified:
4 years, 4 months ago
Reviewers:
dak, carl.d.sorensen
CC:
lilypond-devel_gnu.org
Visibility:
Public.

Description

https://sourceforge.net/p/testlilyissues/issues/5310/ * Let find_top_context () deal with references instead of pointers because every non-empty tree has a top. * Call find_top_context () rather than get_global_context () where the caller uses the result as a mere Context.

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -18 lines) Patch
M lily/context.cc View 1 chunk +6 lines, -6 lines 3 comments Download
M lily/include/context.hh View 1 chunk +1 line, -1 line 0 comments Download
M lily/lyric-combine-music-iterator.cc View 3 chunks +8 lines, -5 lines 0 comments Download
M lily/score-engraver.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M lily/score-performer.cc View 3 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 16
Dan Eble
6 years ago (2018-04-21 20:39:49 UTC) #1
dak
https://codereview.appspot.com/341150043/diff/1/lily/context.cc File lily/context.cc (right): https://codereview.appspot.com/341150043/diff/1/lily/context.cc#newcode723 lily/context.cc:723: find_top_context (Context &where) What problem are you trying to ...
6 years ago (2018-04-21 20:58:32 UTC) #2
Carl
It seems like if there is a problem that this solves, there should be a ...
6 years ago (2018-04-22 01:18:22 UTC) #3
Dan Eble
On 2018/04/22 01:18:22, Carl wrote: > It seems like if there is a problem that ...
6 years ago (2018-04-22 13:19:37 UTC) #4
Dan Eble
https://codereview.appspot.com/341150043/diff/1/lily/context.cc File lily/context.cc (right): https://codereview.appspot.com/341150043/diff/1/lily/context.cc#newcode723 lily/context.cc:723: find_top_context (Context &where) On 2018/04/21 20:58:32, dak wrote: > ...
6 years ago (2018-04-22 13:19:46 UTC) #5
Dan Eble
On 2018/04/22 13:19:46, Dan Eble wrote: > of calls in some scope: if (Context *c ...
6 years ago (2018-04-22 13:21:46 UTC) #6
dak
https://codereview.appspot.com/341150043/diff/1/lily/context.cc File lily/context.cc (right): https://codereview.appspot.com/341150043/diff/1/lily/context.cc#newcode723 lily/context.cc:723: find_top_context (Context &where) On 2018/04/22 13:19:45, Dan Eble wrote: ...
6 years ago (2018-04-22 13:37:50 UTC) #7
Dan Eble
On 2018/04/22 13:37:50, dak wrote: > So again I don't see what problem you are ...
6 years ago (2018-04-22 13:56:01 UTC) #8
dak
On 2018/04/22 13:56:01, Dan Eble wrote: > On 2018/04/22 13:37:50, dak wrote: > > So ...
6 years ago (2018-04-22 14:26:45 UTC) #9
Dan Eble
David, would you accept a template class wrapping a non-null pointer, perhaps non_null_ptr<T>? Conversion to ...
6 years ago (2018-04-23 23:55:44 UTC) #10
dak
On 2018/04/23 23:55:44, Dan Eble wrote: > David, would you accept a template class wrapping ...
6 years ago (2018-04-25 10:44:22 UTC) #11
Dan Eble
On 2018/04/25 10:44:22, dak wrote: > Please note that all of your proposals so far ...
6 years ago (2018-04-25 23:05:08 UTC) #12
dak
On 2018/04/25 23:05:08, Dan Eble wrote: > On 2018/04/25 10:44:22, dak wrote: > > It ...
5 years, 12 months ago (2018-04-29 21:23:18 UTC) #13
Dan Eble
Coming back to this after a long time... I intend to abandon the pointer/reference changes ...
4 years, 4 months ago (2019-12-12 23:59:30 UTC) #14
Dan Eble
> There is also a related "Guidelines Support Library" that provides a not_null<> https://github.com/Microsoft/GSL
4 years, 4 months ago (2019-12-13 00:01:01 UTC) #15
Dan Eble
4 years, 4 months ago (2019-12-13 00:11:26 UTC) #16
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b