diff --git a/CHANGELOG b/CHANGELOG index acb92c8..744eb46 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -24,3 +24,8 @@ Version 0.4.0: - Fullscreen map mode is now saved and not reseted after an app restart - Dependency update - Switch to GNOME 44 runtime + +Version 0.4.1: + - Reduced input lag on touch screens significantly + - Complet UI redesign for a more compact view + - Add French translation diff --git a/copyright b/copyright index e668ced..ded606f 100644 --- a/copyright +++ b/copyright @@ -1,18 +1,32 @@ Files: * -Copyright: 2020-2022 Zwarf +Copyright: + 2020-2022 Zwarf License: GPL-3+ -Files: data/icons/pin.svg - data/icons/sun.svg - data/icons/moon-full.svg - data/icons/moon-waning.svg - data/icons/moon-new.svg - data/icons/moon-waxing.svg - data/icons/milky-way-symbolic.svg - data/icons/milky-way-color.svg -Copyright: 2022 Rajdeep Singha +Files: + src/map/draw-layer.* + src/map/marker.* +Copyright: + 2008-2009 Pierre-Luc Beaudoin + 2011-2013 Jiri Techet + 2019 Marcus Lundblad + 2021 Zwarf License: GPL-3+ -Files: data/icons/map-symbolic.svg +Files: + data/icons/pin.svg + data/icons/sun.svg + data/icons/moon-full.svg + data/icons/moon-waning.svg + data/icons/moon-new.svg + data/icons/moon-waxing.svg + data/icons/milky-way-symbolic.svg + data/icons/milky-way-color.svg +Copyright: + 2022 Rajdeep Singha +License: GPL-3+ + +Files: + data/icons/map-symbolic.svg Copyright: GNOME -License: GPL-3+ \ No newline at end of file +License: GPL-3+ diff --git a/data/de.zwarf.picplanner.gschema.xml b/data/de.zwarf.picplanner.gschema.xml index e962c67..1049e49 100644 --- a/data/de.zwarf.picplanner.gschema.xml +++ b/data/de.zwarf.picplanner.gschema.xml @@ -62,10 +62,5 @@ Visibility Milky Way Changes the visibility of the milky ways current position, rise and set on the map. - - false - Big map mode - Reduce the amount of information in the Overview tab to enlarge the map. - diff --git a/data/de.zwarf.picplanner.metainfo.xml.in b/data/de.zwarf.picplanner.metainfo.xml.in index b6d801f..0065c19 100644 --- a/data/de.zwarf.picplanner.metainfo.xml.in +++ b/data/de.zwarf.picplanner.metainfo.xml.in @@ -68,11 +68,27 @@ touch + + keyboard + pointing + touch + + 360 + + +

UI redesign, adding French and better touch support

+
    +
  • Reduced input lag on touch screens significantly
  • +
  • Complet UI redesign for a more compact view
  • +
  • Add French translation
  • +
+
+

Bug fixes, UI improvements and GNOME 44 runtime

diff --git a/data/icons/meson.build b/data/icons/meson.build index a457cb5..b44b0d5 100644 --- a/data/icons/meson.build +++ b/data/icons/meson.build @@ -55,4 +55,8 @@ install_data( install_data( 'map-symbolic.svg', install_dir: join_paths(get_option('datadir'), 'icons') +) +install_data( + 'view-sidebar-start-symbolic.svg', + install_dir: join_paths(get_option('datadir'), 'icons') ) \ No newline at end of file diff --git a/data/icons/view-sidebar-start-symbolic.svg b/data/icons/view-sidebar-start-symbolic.svg new file mode 100644 index 0000000..2d8bbec --- /dev/null +++ b/data/icons/view-sidebar-start-symbolic.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/de.zwarf.picplanner.json b/de.zwarf.picplanner.json index abc388a..0c77d6a 100644 --- a/de.zwarf.picplanner.json +++ b/de.zwarf.picplanner.json @@ -126,7 +126,7 @@ "sources" : [ { "type" : "git", - "url" : "~/Projekte/picplanner" + "url" : "~/Projekte/picplanner-circle" } ] } diff --git a/meson.build b/meson.build index 50d78f8..8ae07c0 100644 --- a/meson.build +++ b/meson.build @@ -1,5 +1,5 @@ project('picplanner', 'c', - version: '0.3.2', + version: '0.4.1', meson_version: '>= 0.50.0', default_options: [ 'warning_level=2', 'c_std=gnu11', diff --git a/src/map/draw-layer.c b/src/map/draw-layer.c index 93ae9c3..63be730 100644 --- a/src/map/draw-layer.c +++ b/src/map/draw-layer.c @@ -1,5 +1,8 @@ /* * draw-layer.c + * Copyright (C) 2008-2009 Pierre-Luc Beaudoin + * Copyright (C) 2011-2013 Jiri Techet + * Copyright (C) 2019 Marcus Lundblad * Copyright (C) 2021 Zwarf * * This program is free software: you can redistribute it and/or modify diff --git a/src/map/draw-layer.h b/src/map/draw-layer.h index 8d3831b..715e264 100644 --- a/src/map/draw-layer.h +++ b/src/map/draw-layer.h @@ -1,5 +1,8 @@ /* * draw-layer.h + * Copyright (C) 2008-2009 Pierre-Luc Beaudoin + * Copyright (C) 2011-2013 Jiri Techet + * Copyright (C) 2019 Marcus Lundblad * Copyright (C) 2021 Zwarf * * This program is free software: you can redistribute it and/or modify diff --git a/src/map/marker.c b/src/map/marker.c index 1683b88..885463b 100644 --- a/src/map/marker.c +++ b/src/map/marker.c @@ -1,5 +1,8 @@ /* * marker.c + * Copyright (C) 2008 Pierre-Luc Beaudoin + * Copyright (C) 2011-2013 Jiri Techet + * Copyright (C) 2019 Marcus Lundblad * Copyright (C) 2021 Zwarf * * This program is free software: you can redistribute it and/or modify diff --git a/src/map/marker.h b/src/map/marker.h index b655eb6..4ecb23f 100644 --- a/src/map/marker.h +++ b/src/map/marker.h @@ -1,5 +1,8 @@ /* * marker.h + * Copyright (C) 2008 Pierre-Luc Beaudoin + * Copyright (C) 2011-2013 Jiri Techet + * Copyright (C) 2019 Marcus Lundblad * Copyright (C) 2021 Zwarf * * This program is free software: you can redistribute it and/or modify diff --git a/src/picplanner-application.c b/src/picplanner-application.c index b4d2b5d..273f1e3 100644 --- a/src/picplanner-application.c +++ b/src/picplanner-application.c @@ -143,7 +143,7 @@ picplanner_application_show_about (GSimpleAction *action, "application-icon", "de.zwarf.picplanner", "application-name", "PicPlanner", "developer-name", "Zwarf", - "version", "0.4.0", + "version", "0.4.1", "website", "https://gitlab.com/Zwarf/picplanner", "issue-url", "https://gitlab.com/Zwarf/picplanner/-/issues/new", "copyright", copyright, diff --git a/src/picplanner.gresource.xml b/src/picplanner.gresource.xml index 7db69b9..6ba2c34 100644 --- a/src/picplanner.gresource.xml +++ b/src/picplanner.gresource.xml @@ -21,5 +21,6 @@ ../data/icons/azimuth-symbolic.svg ../data/icons/elevation-symbolic.svg ../data/icons/map-symbolic.svg + ../data/icons/view-sidebar-start-symbolic.svg diff --git a/src/time-picker/time-picker.c b/src/time-picker/time-picker.c index 2d519a3..dc59425 100644 --- a/src/time-picker/time-picker.c +++ b/src/time-picker/time-picker.c @@ -31,6 +31,7 @@ struct _TimePicker GtkWidget *spin_button_hour; GtkWidget *spin_button_minute; + GtkWidget *time_button; }; G_DEFINE_TYPE (TimePicker, time_picker, GTK_TYPE_BOX) @@ -120,6 +121,17 @@ input_changed (GtkWidget *self, { (void) self; + + char *time_button_text; + + time_button_text = g_strdup_printf ("%02.f:%02.f", + gtk_spin_button_get_value (GTK_SPIN_BUTTON (time_picker->spin_button_hour)), + gtk_spin_button_get_value (GTK_SPIN_BUTTON (time_picker->spin_button_minute))); + + gtk_menu_button_set_label (GTK_MENU_BUTTON (time_picker->time_button), time_button_text); + + g_free (time_button_text); + g_signal_emit (time_picker, signal_change, 0, NULL); @@ -149,6 +161,7 @@ time_spin_button_text (GtkSpinButton *self) /* * Change the text of the button which presents the calender after a date was selected. * Furthermore the behavior of the popup is controlled. + * TODO: combine with input_changed function */ static void day_selected (GtkCalendar *self, @@ -215,6 +228,7 @@ time_picker_class_init (TimePickerClass *class) gtk_widget_class_bind_template_child (widget_class, TimePicker, calendar_button); gtk_widget_class_bind_template_child (widget_class, TimePicker, spin_button_hour); gtk_widget_class_bind_template_child (widget_class, TimePicker, spin_button_minute); + gtk_widget_class_bind_template_child (widget_class, TimePicker, time_button); gtk_widget_class_bind_template_callback (widget_class, day_selected); gtk_widget_class_bind_template_callback (widget_class, time_spin_button_text); diff --git a/src/time-picker/time-picker.ui b/src/time-picker/time-picker.ui index 6e87059..1f0b2a5 100644 --- a/src/time-picker/time-picker.ui +++ b/src/time-picker/time-picker.ui @@ -18,6 +18,51 @@ + + + + vertical + + + horizontal + + + vertical + h_adjustment + false + true + + + + + + 5 + 5 + + + + + + vertical + m_adjustment + false + true + + + + + + + + 7 + 3 + UTC: + + + + + +