Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Top hat master 6.4.4.unix target fixes #2

Closed

Conversation

alon
Copy link

@alon alon commented May 31, 2013

With this small patches I have make TARGET=UNIX working.

I haven't tested TARGET=ANDROID7 but the patches look like it should work.

Remove IBs that are deprecated.  Adjust in general
Store the new setting in the profile so it is "sticky" after
a startup
Long names were overlapping the bottom row (height and distance)
Make the shape taller
Display Distance in medium_font, all other waypoint info
using small_font
separate from WP bearing and distance
It displays "Goto button" instead of "Select button."
Also alter InputEventsTask so the GotoLookup uses this mode
display altitude difference and sunset at bottom
of screen of waypoint with cursor on it
Showing in center makes it clearer what it means.
Don't show bearing for Start of ordered task.

fixup navslider do bearing.   don't show for start
If flying a MAT task and a TP is clicked, then this dialog
appears instead of the normal MapListItem dialog.
It shows proforma task information if the TP is inserted
next, and allows the user to Add, More options, or Cancel.
If TP is already the next TP in the task, it prompts user
if he wants to remove from task.
This prevents a TP from being repeated consecutively
in a task.  Allows for exception: for Start == Finish
It was requiring arming of start.  Now it starts automatically
Prompt pilot to use USA rules for tasks if he has never
responded either YES or NO before.
This has different sets of valid point types
rdunning0823 and others added 26 commits April 23, 2013 15:21
Corrected name is "Home altitude difference"
When displaying values for distance.  Use 1 decimal and main distance
unit.  Don't use "DistanceSmart" routine.
Don't use "DistanceSmart" which uses feet instead of miles etc
for small distances.  That confuses the user, especially on startup
because "0.0 feet" implies altitude, not distance.
When flying a Mat, we now require that the pilot click on each
point to add it.  The prior behaviour added the point automatically
when a pilot flew over it.  This tested as confusing and created
potentially incorrect statistics if the task has mandatory
turnpoints.
Also as screen expands and gap is needed between buttons,
put the gap adjacent to the Close button
This way, the "Close" button is always on the bottom of the screen.
Toggle terrain, topo.
Change screen orientation.
Remove "toggle" function and replace with one button
for each option
Also put buttons on bottom
In both portrait and in landscape
This allows the Close to be in the bottom left
For wide screens align Browse button with frame above it
US AT (Racing) tasks use MAT_CYLINDER intermediate types because
they are scored to the furthest point reached unlike AST_CYLINDERS
If "Show more items" is clicked on the "Add Mat Point" screen,
it incorrectly added the waypoint when it shouldn't be.
Signed-off-by: Alon Levy <alon@pobox.com>
…is_trivially_destructible

Signed-off-by: Alon Levy <alon@pobox.com>
Signed-off-by: Alon Levy <alon@pobox.com>
@alon alon closed this May 31, 2013
rdunning0823 pushed a commit that referenced this pull request Jul 28, 2014
xcsoar: ./src/Screen/Window.hpp:799: const PixelRect Window::GetClientRect() const: Assertion `IsDefined()' failed.

Program received signal SIGABRT, Aborted.
0x00007ffff5dadd95 in raise () from /lib64/libc.so.6
(gdb) bt
#0  0x00007ffff5dadd95 in raise () from /lib64/libc.so.6
#1  0x00007ffff5daf2ab in abort () from /lib64/libc.so.6
#2  0x00007ffff5da68fe in __assert_fail_base () from /lib64/libc.so.6
#3  0x00007ffff5da69a2 in __assert_fail () from /lib64/libc.so.6
#4  0x000000000045c439 in Window::GetClientRect (this=0x7fffffffd300)
    at ./src/Screen/Window.hpp:799
#5  0x0000000000590e7d in WndForm::UpdateLayout (this=0x7fffffffd300) at src/Form/Form.cpp:158
#6  0x0000000000591fa0 in WndForm::SetCaption (this=0x7fffffffd300,
    _caption=0x7fffffffcf00 "Checklist: START") at src/Form/Form.cpp:638
#7  0x000000000051a19a in UpdateCaption (form=..., page=0) at src/Dialogs/dlgChecklist.cpp:60
#8  0x000000000051a55c in dlgChecklistShowModal () at src/Dialogs/dlgChecklist.cpp:153
#9  0x000000000047fc32 in InputEvents::eventChecklist (misc=0x6ebc23 "")
    at src/Input/InputEventsActions.cpp:200
#10 0x000000000047eec4 in InputEvents::processGo (eventid=27) at src/Input/InputEvents.cpp:427
#11 0x000000000047ebe9 in InputEvents::ProcessEvent (event_id=28) at src/Input/InputEvents.cpp:267
#12 0x000000000046af7f in MenuBar::Button::OnClicked (this=0xd42b50) at src/Menu/MenuBar.cpp:94
#13 0x00000000005b8b42 in ButtonWindow::OnMouseUp (this=0xd42b50, x=59, y=54)
    at src/Screen/Custom/ButtonWindow.cpp:124
#14 0x00000000005bb766 in ContainerWindow::OnMouseUp (this=0xae19d0, x=539, y=438)
    at src/Screen/Custom/ContainerWindow.cpp:175
#15 0x00000000004ded02 in MainWindow::OnMouseUp (this=0xae19d0, x=539, y=438)
    at src/MainWindow.cpp:599
#16 0x00000000005be7f1 in TopWindow::OnEvent (this=0xae19d0, event=...)
    at src/Screen/SDL/TopWindow.cpp:100
#17 0x00000000005c07ca in EventLoop::Dispatch (this=0x7fffffffd880, _event=...)
    at src/Event/SDL/Loop.cpp:64
#18 0x00000000005be884 in TopWindow::RunEventLoop (this=0xae19d0)
    at src/Screen/SDL/TopWindow.cpp:121
#19 0x00000000005500a5 in main (argc=4, argv=0x7fffffffd9f8) at src/XCSoar.cpp:143
rdunning0823 referenced this pull request Sep 12, 2015
Kobo: type in "-quick" in config -> advanced -> setup -> startup.
Directly goes to map screen since the next power on.

Unix: Directly goes to map screen whe tophat is invoked with "-quick"
option.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants