Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2020-02-25 | Read authors (updated) from mate-calc.about | rbuj | 4 | -7/+33 | |
2020-01-14 | Fix typo: 'Avogadro' instead 'Avogrado' | Pablo Barciela | 2 | -2/+2 | |
2020-01-12 | Update copyright to 2020 | raveit65 | 1 | -1/+1 | |
2020-01-12 | fixes precedence of functions i.e. the result of -ln(1) and add according tests | mbkma | 2 | -0/+34 | |
2019-09-01 | The function 'mp_mask' is never used | rbuj | 2 | -19/+0 | |
cppcheck --enable=unusedFunction . [src/mp-binary.c:165]: (style) The function 'mp_mask' is never used. | |||||
2019-07-13 | parserfunc: Return NULL on NOT operation overflow | Victor Kareh | 2 | -2/+3 | |
2019-07-03 | Remove trailing whitespaces | Laurent Napias | 27 | -148/+148 | |
2019-06-03 | mp-serializer: fix scientific presentation of complex numbers | mbkma | 1 | -3/+5 | |
So that z = re(z) + im(z) will be displayed with the "+" in scientific notation. In mp_serializer_to_string: DISPLAY_FORMAT_AUTOMATIC I removed the workaround for this issue, so big (or small) imaginary numbers will be displayed in scientific notation again (as against fixed notation before) automatically. | |||||
2019-05-08 | Avoid deprecated 'gtk_widget_get_style' and 'gtk_widget_modify_font' | Wu Xiaotian | 1 | -2/+41 | |
2019-05-08 | Fix FSF address | rbuj | 1 | -1/+1 | |
Reported by translators | |||||
2019-05-07 | test-mp-equation: add tests for physical constants | mbkma | 1 | -2/+16 | |
It was necessary to change the test() function as well, in order to have variable trailing_digits size. Otherwise most constants would be shown as zero. So there is a "#define test(X, Y, Z) Test(X, Y, Z, 9)". Now test() works with trailing_digits size 9, and Test() with a variable trailing_digit size. | |||||
2019-05-07 | mp-equation: update values from physical constants to match with tooltip ↵ | mbkma | 1 | -7/+7 | |
values in math-buttons.c On branch physical_constants Your branch is up-to-date with 'origin/physical_constants'. Changes to be committed: modified: src/mp-equation.c | |||||
2019-05-07 | Add unit tooltips to physical constants | mbkma | 1 | -11/+12 | |
This adds unit tooltips to the const menu which appear when hovering over a specific constant with the mouse. Changes to be committed: modified: math-buttons.c | |||||
2019-05-07 | dont focus on click | mbkma | 1 | -0/+1 | |
2019-05-07 | mp-equation: add pre-defined physical constants | mbkma | 3 | -6/+148 | |
This adds some fundamental physical constants: - Velocity of Light "c₀", 299,792,458 m/s - Magnetic constant, "μ₀", 1.2566370614×10⁻ N/A² - Electric constant, "ε₀", 8.85418782×10⁻¹² s⁴A²/m³kg - Newtonian constant of gravitation, "G", 6.67408×10⁻¹¹ m³/(s²kg) - Planck constant, "h", 6.62607004×10⁻³⁴ m²kg/s - Elementary charge, "e", 1.6021766208(98)×10⁻¹⁹ C - Electron mass, "mₑ", 9.10938356×10⁻³¹ kg - Proton mass, "mₚ", 1.672621898(21)×10⁻²⁷ kg - Avogrado constant, "Nₐ", 6.02214086×10²³ mol⁻¹ They are taken from https://en.wikipedia.org/wiki/Physical_constant#Universal_constants To insert them one would enter the corresponding symbol or use the gui. They are set to a MPNumber from string. | |||||
2019-05-06 | buttons-ui: add destructive-action style to 'clear' button | mbkma | 4 | -0/+12 | |
2019-05-06 | buttons-ui: add style class "suggested-action" to result button | mbkma | 4 | -19/+31 | |
This gives the result (=) button a theme defined colour. Currently has effects in Menta theme. Saw this on gnome-calculator. | |||||
2019-05-04 | Use gresources for UI files | rbuj | 9 | -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-30 | Unit tests: pi constant, ln (e^iπ) | rbuj | 1 | -0/+2 | |
2019-04-29 | currency-manager: Update name_map in load_imf_rates | rbuj | 1 | -42/+44 | |
Fixes #103 | |||||
2019-04-29 | math-buttons: Fix cppcheck warning: Identical inner 'return' | Pablo Barciela | 1 | -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-26 | mp: Fix calculate result ln(e^(i*π)) | Pablo Barciela | 1 | -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-24 | display small numbers in scientific notation | mbkma | 1 | -2/+7 | |
in number format: automatic | |||||
2019-04-24 | Revert "fixes issues 25 and 26" | raveit65 | 1 | -7/+2 | |
This reverts commit 1f84e1918c1f1ca57fa63f72b7c1f39c5c4563ac. | |||||
2019-04-24 | fixes issues 25 and 26 | mbkma | 1 | -2/+7 | |
2019-04-23 | mate-calc: Fix memory leak | Pablo Barciela | 1 | -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-21 | math-buttons: avoid shifting signed 64-bit value by 63 bits | Pablo Barciela | 1 | -1/+1 | |
Fixes cppcheck warning: [src/math-buttons.c:391]: (error) Shifting signed 64-bit value by 63 bits is undefined behaviour | |||||
2019-04-15 | Add support for "pi" in addition to "π" | mbkma | 1 | -3/+3 | |
2019-03-23 | i18n about dialog | rbuj | 1 | -27/+32 | |
2019-02-17 | math-window: update copyright year to 2019 | Pablo Barciela | 1 | -1/+1 | |
2019-01-30 | math-display: avoid deprecated 'gtk_widget_modify_bg' | Pablo Barciela | 1 | -6/+0 | |
based in the gnome-calculator commit: https://gitlab.gnome.org/GNOME/gnome-calculator/commit/a6e6a1d94a36950df8776e38218fe349a9818ae5 | |||||
2019-01-30 | currency-manager: avoid deprecated 'g_type_class_add_private' | Pablo Barciela | 1 | -4/+2 | |
2019-01-30 | currency: avoid deprecated 'g_type_class_add_private' | Pablo Barciela | 1 | -3/+2 | |
2019-01-30 | math-equation: avoid deprecated 'g_type_class_add_private' | Pablo Barciela | 1 | -4/+2 | |
2019-01-30 | unit-manager: avoid deprecated 'g_type_class_add_private' | Pablo Barciela | 1 | -3/+2 | |
2019-01-30 | unit-category: avoid deprecated 'g_type_class_add_private' | Pablo Barciela | 1 | -3/+2 | |
2019-01-30 | unit: avoid deprecated 'g_type_class_add_private' | Pablo Barciela | 1 | -3/+2 | |
2019-01-30 | mp-serializer: avoid deprecated 'g_type_class_add_private' | Pablo Barciela | 1 | -4/+2 | |
2019-01-29 | math-variable-popup: avoid deprecated 'g_type_class_add_private' | Pablo Barciela | 1 | -4/+2 | |
2019-01-29 | math-preferences: avoid deprecated 'g_type_class_add_private' | Pablo Barciela | 1 | -4/+3 | |
2019-01-29 | math-variables: avoid deprecated 'g_type_class_add_private' | Pablo Barciela | 1 | -3/+2 | |
2019-01-29 | math-converter: avoid deprecated 'g_type_class_add_private' | Pablo Barciela | 1 | -4/+2 | |
2019-01-29 | math-buttons: avoid deprecated 'g_type_class_add_private' | Pablo Barciela | 1 | -4/+2 | |
2019-01-29 | math-window: avoid deprecated 'g_type_class_add_private' | Pablo Barciela | 1 | -4/+2 | |
2018-12-29 | Remove dublicated assignment | Pavel Shlyak | 1 | -1/+0 | |
Check https://github.com/mate-desktop/mate-calc/issues/69 for more details | |||||
2018-12-21 | Fix typo | Pavel Shlyak | 1 | -1/+1 | |
Check https://github.com/mate-desktop/mate-calc/issues/69 for more details | |||||
2018-12-17 | math-display: avoid deprecated 'g_type_class_add_private' | Pablo Barciela | 1 | -4/+2 | |
2018-12-01 | math-window: Fix memory leak | Pablo Barciela | 1 | -1/+4 | |
'g_strconcat' needs to be freed | |||||
2018-11-24 | math-display.c: avoid deprecated 'gtk_widget_ensure_style' (#66) | ZenWalker | 1 | -1/+0 | |
2018-08-28 | Copy equation as ASCII text | Victor Kareh | 1 | -2/+2 | |
This ensures compatibility with pasting into software that cannot handle Unicode characters (e.g. LibreOffice) |