summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2019-05-06buttons-ui: add style class "suggested-action" to result buttonmbkma4-19/+31
This gives the result (=) button a theme defined colour. Currently has effects in Menta theme. Saw this on gnome-calculator.
2019-05-04Use gresources for UI filesrbuj9-15/+6918
.ui files are combined into a binary resource bundle, and they are marked as compressed, so they will be automatically uncompressed when the resource is used. REF https://developer.gnome.org/gio/stable/GResource.html
2019-04-30Unit tests: pi constant, ln (e^iπ)rbuj1-0/+2
2019-04-29currency-manager: Update name_map in load_imf_ratesrbuj1-42/+44
Fixes #103
2019-04-29math-buttons: Fix cppcheck warning: Identical inner 'return'Pablo Barciela1-1/+2
Fixes cppcheck warning: [src/math-buttons.c:513] -> [src/math-buttons.c:514]: (warning) Identical inner 'return' condition is always true.
2019-04-26mp: Fix calculate result ln(e^(i*π))Pablo Barciela1-4/+4
Fixes https://github.com/mate-desktop/mate-calc/issues/100 based in gnome-calculator commit: https://gitlab.gnome.org/GNOME/gnome-calculator/commit/6eb0f2b5e6df456a97a796b35d811376a69679e0
2019-04-24display small numbers in scientific notationmbkma1-2/+7
in number format: automatic
2019-04-24Revert "fixes issues 25 and 26"raveit651-7/+2
This reverts commit 1f84e1918c1f1ca57fa63f72b7c1f39c5c4563ac.
2019-04-24fixes issues 25 and 26mbkma1-2/+7
2019-04-23mate-calc: Fix memory leakPablo Barciela1-0/+8
'g_path_get_basename' needs to be freed Fix memory leak detected by valgrind: valgrind --leak-check=full mate-calc ==17452== 10 bytes in 1 blocks are definitely lost in loss record 501 of 10,243 ==17452== at 0x483577F: malloc (vg_replace_malloc.c:299) ==17452== by 0x5657900: g_malloc (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.5800.3) ==17452== by 0x563E84A: g_path_get_basename (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.5800.3) ==17452== by 0x11A9E3: main (in /usr/bin/mate-calc)
2019-04-21math-buttons: avoid shifting signed 64-bit value by 63 bitsPablo Barciela1-1/+1
Fixes cppcheck warning: [src/math-buttons.c:391]: (error) Shifting signed 64-bit value by 63 bits is undefined behaviour
2019-04-15Add support for "pi" in addition to "π"mbkma1-3/+3
2019-03-23i18n about dialogrbuj1-27/+32
2019-02-17math-window: update copyright year to 2019Pablo Barciela1-1/+1
2019-01-30math-display: avoid deprecated 'gtk_widget_modify_bg'Pablo Barciela1-6/+0
based in the gnome-calculator commit: https://gitlab.gnome.org/GNOME/gnome-calculator/commit/a6e6a1d94a36950df8776e38218fe349a9818ae5
2019-01-30currency-manager: avoid deprecated 'g_type_class_add_private'Pablo Barciela1-4/+2
2019-01-30currency: avoid deprecated 'g_type_class_add_private'Pablo Barciela1-3/+2
2019-01-30math-equation: avoid deprecated 'g_type_class_add_private'Pablo Barciela1-4/+2
2019-01-30unit-manager: avoid deprecated 'g_type_class_add_private'Pablo Barciela1-3/+2
2019-01-30unit-category: avoid deprecated 'g_type_class_add_private'Pablo Barciela1-3/+2
2019-01-30unit: avoid deprecated 'g_type_class_add_private'Pablo Barciela1-3/+2
2019-01-30mp-serializer: avoid deprecated 'g_type_class_add_private'Pablo Barciela1-4/+2
2019-01-29math-variable-popup: avoid deprecated 'g_type_class_add_private'Pablo Barciela1-4/+2
2019-01-29math-preferences: avoid deprecated 'g_type_class_add_private'Pablo Barciela1-4/+3
2019-01-29math-variables: avoid deprecated 'g_type_class_add_private'Pablo Barciela1-3/+2
2019-01-29math-converter: avoid deprecated 'g_type_class_add_private'Pablo Barciela1-4/+2
2019-01-29math-buttons: avoid deprecated 'g_type_class_add_private'Pablo Barciela1-4/+2
2019-01-29math-window: avoid deprecated 'g_type_class_add_private'Pablo Barciela1-4/+2
2018-12-29Remove dublicated assignmentPavel Shlyak1-1/+0
Check https://github.com/mate-desktop/mate-calc/issues/69 for more details
2018-12-21Fix typoPavel Shlyak1-1/+1
Check https://github.com/mate-desktop/mate-calc/issues/69 for more details
2018-12-17math-display: avoid deprecated 'g_type_class_add_private'Pablo Barciela1-4/+2
2018-12-01math-window: Fix memory leakPablo Barciela1-1/+4
'g_strconcat' needs to be freed
2018-11-24math-display.c: avoid deprecated 'gtk_widget_ensure_style' (#66)ZenWalker1-1/+0
2018-08-28Copy equation as ASCII textVictor Kareh1-2/+2
This ensures compatibility with pasting into software that cannot handle Unicode characters (e.g. LibreOffice)
2018-06-03UI: avoid deprecated GtkButton:use-stockPablo Barciela1-0/+13
2018-05-25replace deprecated gtk_menu_popupraveit651-20/+5
2018-03-13math-preferences: add window icon to Preferences dialogPablo Barciela1-0/+3
2018-03-04Init gtk before math_equation_new; fix #44Victor A. Santos1-2/+2
2018-02-09avoid deprecated gtk_image_menu_item_new_from_stockPablo Barciela1-9/+38
and set the "help-browser" icon in Help/Contents
2018-01-29Add icon image on close button in preferences dialogPablo Barciela1-2/+2
2018-01-28avoid deprecated GtkStockPablo Barciela2-11/+11
2018-01-27building: bump required glib and gtk+ versionsraveit651-8/+0
and drop old bits
2018-01-15add missing window icon to About dialogmonsta1-0/+1
2018-01-09update copyright year to 2018monsta1-1/+1
2017-07-23math-window: don't use deprecated gtk_show_uriraveit651-0/+9
2017-04-10update copyright year to 2017monsta1-1/+1
2017-03-15drop old GLib codemonsta5-23/+2
2015-11-21replace deprecated GtkMiscWolfgang Ulbrich2-2/+2
2015-11-21Don't use deprecated gtk_{vh}box and GTK_TYPE_{VH}BOXWolfgang Ulbrich3-4/+8
2015-11-21remove gtk2/3 conditionsWolfgang Ulbrich4-33/+0