summaryrefslogtreecommitdiff
path: root/pidgin/gtkidle.c
Commit message (Collapse)AuthorAgeFilesLines
* Mark a number of unused parameters as suchGary Kramlich2023-02-191-1/+1
| | | | | | | Testing Done: Compiled and Windows and verified the warnings were gone. Reviewed at https://reviews.imfreedom.org/r/2247/
* Bump C standard to C99 for Pidgin files and fix warningsElliott Sales de Andrade2022-11-281-3/+3
| | | | | | | | | Bump C standard to C99 for Pidgin files only and fix warnings Testing Done: Touched all Pidgin files, compiled and saw no new warnings. Reviewed at https://reviews.imfreedom.org/r/2103/
* Separate the preproc mess of gtkidle out from a single function to multiple ↵Gary Kramlich2021-10-281-45/+37
| | | | | | | | | functions Testing Done: Compiled on linux. Reviewed at https://reviews.imfreedom.org/r/1110/
* Replace PurpleIdleUiOps with the PurpleIdleUi InterfaceGary Kramlich2021-10-221-22/+44
| | | | | | | | | | | | | | | This continues our path down replacing the UiOps with Interfaces so that developers can write user interfaces in other languages using gobject introspection. Testing Done: Ran pidgin3 and set it to auto idle after 1 minute of system idle time. This attempted to query xscreen saver, but something didn't work there, but that's been happening before this change. Not sure if it's my system or the code just needs fixing. Ran finch3 set idle time to 1 minute and verified that it set me to away after that minute. I also used the libpurple idle time for both pidgin3 and finch3 and verified they continued to work as well. Reviewed at https://reviews.imfreedom.org/r/1091/
* Adjust some debug levels which were throwing warning messages when they ↵Gary Kramlich2021-10-221-1/+1
| | | | | | | | | shouldn't have Testing Done: ran in a devenv with `G_DEBUG=fatal-warnings gdb --args pidgin3` and verified these no longer halted the program. Reviewed at https://reviews.imfreedom.org/r/1089/
* Make sure that internal.h can only be included by libpurple and split out ↵Gary Kramlich2020-05-011-1/+5
| | | | some pieces to purpleprivate.h
* Update all of the pidgin code to include purple.hGary Kramlich2020-05-011-1/+1
|
* replace spaces with tabs for the new idle tracker for macosGary Kramlich2019-10-141-23/+23
|
* usr/include/dispatch/dispatch.h on macos has a bad macro test that requires ↵Gary Kramlich2019-10-131-2/+9
| | | | HAVE_UNISTD_H to have a value, this works around it.
* Move to a newer method for getting the idle time on macosGary Kramlich2019-10-131-21/+26
|
* gtkidle: Include gtkwin32dep.h in its subdirectoryMike Ruprecht2017-07-161-1/+1
| | | | | | | gtkidle included gtkwin32dep.h from its base name. I don't know if this works in automake, but it doesn't in meson. This codepath has only recently been reenabled. The only other include uses the win32/ prefix, so it seems like that's the right fix here.
* gtkidle: Use clearer control structure for checking DBus screensaversMike Ruprecht2017-07-091-4/+4
| | | | | | It was suggested it would be better to avoid pointer math and to use a for loop instead of a while loop in this case. This patch addresses these suggestions.
* gtkidle: Add parentheses around defined preprocessor macro argumentMike Ruprecht2017-07-091-1/+1
| | | | | This patch adds parentheses around the argument of the defined preprocessor macro as is conventional.
* gtkidle: Port XScreensaver to DBus ScreenSaver interfacesMike Ruprecht2017-06-291-53/+95
| | | | | | | | | | | | Modern Linux desktops use one of 3 DBus interfaces for querying if the screensaver is currently active. There's a FreeDesktop one, a GNOME one, and a KDE one. Rather than querying XScreensaver, which may not be available, such as with Wayland, this patch ports Pidgin's idle checking function to use these modern DBus interfaces. Because Gio includes built-in DBus API, this patch also drops the guards around pidgin_get_time_idle(), which also re-enables the Win32 code which wasn't enabled with the previous guards.
* Fix a bunch of gtk-doc warnings in pidginAnkit Vani2014-02-041-2/+4
|
* A boring and large patch so I can merge heads.Elliott Sales de Andrade2011-12-231-2/+2
|
* compiles using GTK+ 3 from git, beware it does not yet run, in fact it ↵Marcus Lundblad2010-11-251-2/+4
| | | | crashes...
* Kill the win32 idle tracking code that works on old windows versions and moveDaniel Atallah2010-08-301-1/+1
| | | | | | | the W2K+ only version into pidgin/win32/gtkwin32dep.[ch]. This ends up removing API that should only have ever been used internally. If you're unhappy about that, let me know.
* Probe for -Wstrict-prototypes to get some more warnings. I then cleaned upRichard Laager2008-01-031-1/+1
| | | | | the existing warnings. I removed a handful of dead code and cleaned up a couple of things that I stumbled across.
* The FSF changed its address a while ago; our files were out of date.John Bailey2007-09-081-1/+1
| | | | This is a quick update done with a for loop, find, and sed.
* Part of a patch from:Richard Laager2007-05-141-4/+11
| | | | | | | | http://www.linuxpowertop.org/known.php#gaim " ...will also ask the X server every 5 seconds if the X server supports the X screensaver extension.... the X server either supports or doesn't support this, this isn't changing after starting the application."
* Patch from John 'rekkanoryo' Bailey to add the padding struct members in pidginpaddingGary Kramlich2007-04-301-2/+6
|
* Re-sed the copyright notices so they don't all talk about Purple.Richard Laager2007-03-211-2/+2
|
* sed -ie 's/gaim/purple/g'Sean Egan2007-03-191-5/+5
|
* Win32 de-gaimification of pidginDaniel Atallah2007-02-031-1/+1
|
* gaim_gtk to pidgin. I hopeSean Egan2007-02-031-3/+3
|
* Rename gtk/ and libgaim/ to pidgin/ and libpurple/Sean Egan2007-01-201-0/+133