summaryrefslogtreecommitdiff
path: root/cpufreq/src/cpufreq-selector
AgeCommit message (Collapse)AuthorFilesLines
2021-11-21Use a blank line at mostrbuj5-5/+0
2021-01-17cpufreq: fix cpufreq-selector-sysfs duplicate definitionsHarald van Dijk1-1/+0
Commit 4cb6f915 added cpufreq-selector-sysfs.[ch] to mate_cpufreq_selector_SOURCES for the !HAVE_LIBCPUFREQ case, but left them unconditionally included as well. Including them twice leads to duplicate definitions for the symbols defined by them.
2020-12-09cpufreq: Remove /proc/cpufreq support (Linux 2.4)rbuj4-312/+17
2020-11-20Cpufreq code styleraveit6512-1207/+1216
- tabs to spaces - 4 spaces at the beginning of a line
2020-01-10make the dbus directory configurableChristian Hesse1-1/+1
2020-01-09migrate from intltools to gettextWu Xiaotian2-4/+4
2019-12-04avoid redundant redeclarationsPablo Barciela4-11/+0
2019-09-10cpufreq: remove -Wabsolute-value warningrbuj3-3/+3
cpufreq-selector-sysfs.c:244:18: warning: taking the absolute value of unsigned type ‘guint’ {aka ‘unsigned int’} has no effect [-Wabsolute-value] 244 | current_dist = abs (frequency - f); | ^~~ -- cpufreq-selector-procfs.c:187:7: warning: taking the absolute value of unsigned type ‘guint’ {aka ‘unsigned int’} has no effect [-Wabsolute-value] 187 | if (abs (sc_max - frequency) < abs (frequency - sc_min)) | ^~~ cpufreq-selector-procfs.c:187:34: warning: taking the absolute value of unsigned type ‘guint’ {aka ‘unsigned int’} has no effect [-Wabsolute-value] 187 | if (abs (sc_max - frequency) < abs (frequency - sc_min)) | ^~~ -- cpufreq-selector-libcpufreq.c:109:18: warning: taking the absolute value of unsigned type ‘long unsigned int’ has no effect [-Wabsolute-value] 109 | current_dist = abs (freq->frequency - frequency); | ^~~
2019-08-29Make cpufreq builds independent from kernel header version.Mike Gabriel1-3/+7
Ported from gnome-applets, see git diff e48b2d73~..5882df7f cpufreq/ configure.ac on the gnome-applets repository. Fixes mate-desktop/mate-applets#238.
2019-05-27cpufreq: deprecated g_type_class_add_privateWu Xiaotian2-14/+4
2019-05-16cpufreq: support kernel 5.1.0raveit651-1/+9
2019-04-14Use g_list_free_full() convenience functionrbuj1-9/+3
void g_list_free_full (GList *list, GDestroyNotify free_func); Convenience method, which frees all the memory used by a GList, and calls free_func on every element's data. https://developer.gnome.org/glib/stable/glib-Doubly-Linked-Lists.html#g-list-free-full
2016-08-31cpu-freq: avoid deprecated polkit_authority_getraveit651-1/+1
And bump polkit requirement. polkit_authority_get is deprecated since polkit-0.97 from 2010. So the requirement bump should be save for all distros.
2016-08-15cpufreq: fix build warning when polkit is disabledmonsta1-0/+2
2014-11-25cpufreq: Fix 'allow' directives must always specify a 'send_destination'infirit1-2/+2
Closes #46
2014-06-02Remove deprecated call to g_type_initinfirit1-2/+0
2014-04-30Update vendor_url in policy fileinfirit1-1/+1
2013-06-02fix some make files for automake-1.13raveit1-2/+2
2012-10-09Fixed fsf addresses. Closes #18.Steve Zesch13-13/+13
2012-04-20Fixes https://github.com/mate-desktop/mate-desktop/issues/10Steve Zesch1-1/+1
2011-11-15renaming cpufreq-selector to mate-cpufreq-selectorPerberos1-6/+6
2011-11-14initialPerberos18-0/+2317