]> gitweb.michael.orlitzky.com - xfce4-hdaps.git/log
xfce4-hdaps.git
5 years agoconfigure.ac.in: drop old unused CVS $Id$ header.
Michael Orlitzky [Tue, 29 Oct 2019 23:27:20 +0000 (19:27 -0400)]
configure.ac.in: drop old unused CVS $Id$ header.

5 years agoxfce4-hdaps-dialogs.c: remove redundant double-launch.
Michael Orlitzky [Sat, 26 Oct 2019 15:18:05 +0000 (11:18 -0400)]
xfce4-hdaps-dialogs.c: remove redundant double-launch.

There was a fallback condition in one of our URI handlers that fell
back to the same thing that just failed. Instead of that genius idea,
it now reports an error, which is what the other URI handler within
the plugin does too.

5 years agoxfce4-hdaps-dialogs.c: prefer xdg-open to exo-open.
Michael Orlitzky [Sat, 26 Oct 2019 15:16:10 +0000 (11:16 -0400)]
xfce4-hdaps-dialogs.c: prefer xdg-open to exo-open.

There are two places we handle URLs in the plugin, and they were using
different programs to open a URL. This commit makes them both use
"xdg-open" instead of "exo-open". I have no idea if it lives up to the
promise, but xdg-open is supposed to intelligently determine your
desktop environment and then do The Right Thing; whereas exo-open
is specific to XFCE.

5 years agopanel-plugin: whitespace cleanup; wrap lines and make tabs be spaces.
Michael Orlitzky [Sat, 26 Oct 2019 15:04:08 +0000 (11:04 -0400)]
panel-plugin: whitespace cleanup; wrap lines and make tabs be spaces.

5 years agoconfigure.ac.in: set the version to 1.0.0.
Michael Orlitzky [Thu, 24 Oct 2019 14:33:52 +0000 (10:33 -0400)]
configure.ac.in: set the version to 1.0.0.

This plugin is feature-complete, and has been stable for many years.
After the update to gtk+-3.x settles, I don't expect there to be any
more changes until somebody breaks our APIs again.

5 years ago.gitignore: remove it.
Michael Orlitzky [Thu, 24 Oct 2019 14:31:38 +0000 (10:31 -0400)]
.gitignore: remove it.

I've become used to seeing the auto-generated files in my repositories,
and I think I'm past the point in my life where I would accidentally
add them to the repository.

5 years agoicons: add various other sizes of PNG icons.
Michael Orlitzky [Thu, 24 Oct 2019 14:27:03 +0000 (10:27 -0400)]
icons: add various other sizes of PNG icons.

For whatever reason, after updating to xfce-4.14, my SVG icon isn't
being used in contexts where it should. For example, I'm seeing a
"missing icon" image on the plugin's "about" dialog, where the
scalable icon would be a perfect choice.

The SVG icon is still there, and should be used as a last resort, but
maybe other people would experience this problem as well. To work
around it, I've manually created a bunch of PNG icons in various
sizes. This fixes my problem, and can't hurt anything (ha ha).

5 years agoTODO: reformat the to-do list.
Michael Orlitzky [Thu, 24 Oct 2019 13:45:46 +0000 (09:45 -0400)]
TODO: reformat the to-do list.

5 years agoxfce4-hdaps-dialogs.c: update copyright year.
Michael Orlitzky [Wed, 23 Oct 2019 15:49:18 +0000 (11:49 -0400)]
xfce4-hdaps-dialogs.c: update copyright year.

5 years agopanel-plugin: whitespace cleanup.
Michael Orlitzky [Wed, 23 Oct 2019 15:33:01 +0000 (11:33 -0400)]
panel-plugin: whitespace cleanup.

5 years agohdaps.desktop.in: append X-XFCE-API=2.0 to the configuration
Michael Orlitzky [Wed, 23 Oct 2019 15:28:36 +0000 (11:28 -0400)]
hdaps.desktop.in: append X-XFCE-API=2.0 to the configuration

This is apparently needed for gtk+-3.x plugins, but I haven't been
able to find a source for it except that "everyone else is doing it."

5 years agoxfce4-hdaps-dialogs.c: replace email/url hooks with a signal handler.
Michael Orlitzky [Wed, 23 Oct 2019 14:58:09 +0000 (10:58 -0400)]
xfce4-hdaps-dialogs.c: replace email/url hooks with a signal handler.

The old gtk_about_dialog_set_{email,url}_hook() functions that we used
for our custom http(s):// and mailto:// handlers are gone. To achieve
the same goal, they've been replaced by an "activate-link" signal
handler, and both implementation (that is, the hooks) have been
combined into a single call to xdg-open.

5 years agoxfce4-hdaps-dialogs.c: replace GTK_STOCK macros with their values.
Michael Orlitzky [Wed, 23 Oct 2019 14:14:53 +0000 (10:14 -0400)]
xfce4-hdaps-dialogs.c: replace GTK_STOCK macros with their values.

The GTK_STOCK_* macros are all deprecated and are throwing warnings in
gtk+-3.x. But apparently, hard-coding the value of the macro is fine?
This is what the examples in libxfce4ui do at least. On the other
hand, the "stock items migration guide" suggests that we should use
newer icon names from the freedesktop.org specification.

Having tried the new names, I am happy to say that they don't work at
all, leaving me with the obviously-correct solution in this commit: to
replace the deprecated macros with their hard-coded values verbatim.

5 years agoxfce4-hdaps-dialogs.c: switch from hbox/vbox to generic box.
Michael Orlitzky [Wed, 23 Oct 2019 13:11:28 +0000 (09:11 -0400)]
xfce4-hdaps-dialogs.c: switch from hbox/vbox to generic box.

The gtk_vbox_new() and gtk_hbox_new() functions have been deprecated
as of gtk+-3.2. Instead, we're supposed to use the generic gtk_box_new()
function and pass in an orientation like GTK_ORIENTATION_VERTICAL. Ok,
no problem. That change is somewhat trivial.

But, in a related change, a GtkDialog no longer exposes its content
vbox via a member variable in gtk+-3.x. So, we have to get it with the
gtk_dialog_get_content_area() accessor function. This change is also
trivial, once you have figured out that the vbox it accesses is the
same one that was removed from the public API of GtkDialog. I sure
hope it is.

5 years agoxfce4-hdaps-dialogs.c: replace obsolete gtk_misc_set_alignment().
Michael Orlitzky [Wed, 23 Oct 2019 03:00:55 +0000 (23:00 -0400)]
xfce4-hdaps-dialogs.c: replace obsolete gtk_misc_set_alignment().

The gtk_misc_set_alignment() function has been deprecated since
gtk+-3.14. Instead, we are prodded to use the gtk_widget_set_halign()
and gtk_widget_set_valign() functions. This is a trivial change,
replacing two calls to gtk_misc_set_alignment() by four calls to
the new functions.

5 years agoxfce4-hdaps-dialogs.c: update to newer combo box API.
Michael Orlitzky [Wed, 23 Oct 2019 02:59:40 +0000 (22:59 -0400)]
xfce4-hdaps-dialogs.c: update to newer combo box API.

The gtk_combo_box_get_active_text() and gtk_combo_box_append_text()
functions have apparently been deprecated since gtk+-2.24. Instead
of calling those functions on a GtkComboBox pointer, we're instead
supposed to call e.g. gtk_combo_box_text_get_active_text() on a
GtkComboBoxText pointer.

Since our "cb_device_name" member was only ever declared as a GtkWidget,
all we have to do is switch everything to the new functions so that they
create, access, and modify the GtkComboBoxText referred to by cb_device_name
instead of a GtkComboBox in the same place.

5 years agoxfce4-hdaps-dialogs.c: drop obsolete GTK_DIALOG_NO_SEPARATOR flag.
Michael Orlitzky [Wed, 23 Oct 2019 02:58:35 +0000 (22:58 -0400)]
xfce4-hdaps-dialogs.c: drop obsolete GTK_DIALOG_NO_SEPARATOR flag.

While creating our main dialog box, we used to pass in the
GTK_DIALOG_NO_SEPARATOR flag to omit the separator between the main
vbox and the action area. I no longer remember what real impact this
had, which is good I guess because that flag doesn't exist in gtk+-3.x.
Other XFCE panel plugins have fixed this by deleting the flag, and that
seems like a fine solution to me.

5 years agopanel-plugin: replace XFCE_HVBOX with new GtkBox API.
Michael Orlitzky [Wed, 23 Oct 2019 02:28:46 +0000 (22:28 -0400)]
panel-plugin: replace XFCE_HVBOX with new GtkBox API.

The XFCE_HVBOX stuff is gone in the new version of the panel library
because its functionality has been superseded by GtkBox in gtk+-3.x.
First we drop the header include for libxfce4panel/xfce-hvbox.h that no
longer exists, and then we change xfce_hvbox_new() to gtk_box_new() and
xfce_hvbox_set_orientation() to gtk_orientable_set_orientation().

5 years agopanel-plugin: migrate GtkTooltips to new simpler API.
Michael Orlitzky [Wed, 23 Oct 2019 02:27:10 +0000 (22:27 -0400)]
panel-plugin: migrate GtkTooltips to new simpler API.

In gtk+-3.x, the GtkTooltips struct is gone and you're supposed to use
the newer API that was available back in gtk+-2.x:

  https://developer.gnome.org/gtk2/stable/gtk-migrating-tooltips.html

For us, this is pretty straightforward: instead of declaring a GtkTooltips
member and doing stuff to it, we just call the gtk_widget_set_tooltip_text()
function on our plugin's eventbox instead.

5 years agoconfigure.ac.in: update library dependencies for gtk-3.x and xfce-4.14.
Michael Orlitzky [Wed, 23 Oct 2019 02:21:48 +0000 (22:21 -0400)]
configure.ac.in: update library dependencies for gtk-3.x and xfce-4.14.

We have four obsolete dependencies that need to be updated to bring
xfce-hdaps into the future:

  * gtk+
  * libxfce4ui
  * libxfce4util
  * libxfce4panel

These are detected by the configure script which then does whatever it
needs to do to ensure that they get linked in the right places. Instead
of requesting gtk+-2.20.0 and the xfce-4.8.0 versions of the libraries, we
now request gtk+-3.0 and the xfce-4.14.0versions. This should immediately
break the build and give me a nice long list of tasks that need to be
completed to finish the migration.

5 years agoCOPYING: update license to AGPL-3.
Michael Orlitzky [Sun, 20 Oct 2019 12:59:14 +0000 (08:59 -0400)]
COPYING: update license to AGPL-3.

This also touches the comment headers in all of the source files,
since they mention the license by name. The text displayed on the
plugin's info dialog has also been updated.

5 years agopanel-plugin/Makefile.am: rename INCLUDES to AM_CPPFLAGS.
Michael Orlitzky [Sun, 20 Oct 2019 12:43:58 +0000 (08:43 -0400)]
panel-plugin/Makefile.am: rename INCLUDES to AM_CPPFLAGS.

Upstream changed the name of the variable and now INCLUDES is
deprecated. See, for example, the "Variables used when building a
program" section of the automake manual.

5 years agoINSTALL: update auto-generated file.
Michael Orlitzky [Sun, 20 Oct 2019 12:38:51 +0000 (08:38 -0400)]
INSTALL: update auto-generated file.

5 years agoconfigure.ac.in: replace AC_PROG_INTLTOOL with IT_PROG_INTLTOOL.
Michael Orlitzky [Sun, 20 Oct 2019 12:37:19 +0000 (08:37 -0400)]
configure.ac.in: replace AC_PROG_INTLTOOL with IT_PROG_INTLTOOL.

Running autogen.sh told me to do this, and pointed me at the upstream
bug, https://bugzilla.xfce.org/show_bug.cgi?id=8930.

5 years agoconfigure.ac.in: update copyright year.
Michael Orlitzky [Sun, 20 Oct 2019 12:36:58 +0000 (08:36 -0400)]
configure.ac.in: update copyright year.

8 years agoUpdate the PLUGIN_WEBSITE constant.
Michael Orlitzky [Tue, 8 Nov 2016 03:42:12 +0000 (22:42 -0500)]
Update the PLUGIN_WEBSITE constant.

12 years agoUpdate ChangeLog and configure.ac.in for 0.0.9. v0.0.9
Michael Orlitzky [Tue, 5 Jun 2012 03:29:39 +0000 (23:29 -0400)]
Update ChangeLog and configure.ac.in for 0.0.9.

12 years agoDon't remove hdaps.desktop.in on `make clean`.
Michael Orlitzky [Sun, 3 Jun 2012 00:52:36 +0000 (20:52 -0400)]
Don't remove hdaps.desktop.in on `make clean`.

12 years agoFix the initial icon size, thanks to Harald Judt.
Michael Orlitzky [Sun, 3 Jun 2012 00:51:09 +0000 (20:51 -0400)]
Fix the initial icon size, thanks to Harald Judt.

12 years agoFix a compiler warning (cast GtkWidget -> GtkEventBox).
Michael Orlitzky [Sun, 3 Jun 2012 00:50:03 +0000 (20:50 -0400)]
Fix a compiler warning (cast GtkWidget -> GtkEventBox).

12 years agoUpdate the installation instructions in the README for the new module format. v0.0.8
Michael Orlitzky [Sat, 7 Apr 2012 00:32:22 +0000 (20:32 -0400)]
Update the installation instructions in the README for the new module format.

12 years agoRename the desktop file to match the naming scheme of those that ship
Michael Orlitzky [Sat, 7 Apr 2012 00:30:52 +0000 (20:30 -0400)]
Rename the desktop file to match the naming scheme of those that ship
with xfce4-panel.

12 years agoFix the program-name (was: name) on the About dialog.
Michael Orlitzky [Sat, 31 Mar 2012 00:49:50 +0000 (20:49 -0400)]
Fix the program-name (was: name) on the About dialog.

12 years agoReport bugs to my email address, not the website.
Michael Orlitzky [Sat, 31 Mar 2012 00:49:27 +0000 (20:49 -0400)]
Report bugs to my email address, not the website.

12 years agoUpdate autogen.sh to match upstream.
Michael Orlitzky [Sat, 31 Mar 2012 00:08:12 +0000 (20:08 -0400)]
Update autogen.sh to match upstream.
Switch from configure.in.in to configure.ac.in and disable building of static libs.

12 years agoUse $libdir instead of $libexecdir in panel-plugin/Makefile.am.
Michael Orlitzky [Fri, 30 Mar 2012 21:01:31 +0000 (17:01 -0400)]
Use $libdir instead of $libexecdir in panel-plugin/Makefile.am.

12 years agoRemove an errant "_in" from EXTRA_DIST in panel-plugin/Makefile.am.
Michael Orlitzky [Fri, 30 Mar 2012 20:52:06 +0000 (16:52 -0400)]
Remove an errant "_in" from EXTRA_DIST in panel-plugin/Makefile.am.

12 years agoRemove the generated po/POTFILES.
Michael Orlitzky [Fri, 30 Mar 2012 20:44:23 +0000 (16:44 -0400)]
Remove the generated po/POTFILES.
Fix a path in po/POTFILES.in.

12 years agoNew INSTALL document.
Michael Orlitzky [Fri, 30 Mar 2012 19:24:02 +0000 (15:24 -0400)]
New INSTALL document.

12 years agoSwitch to the new module interface in Makefile.am.
Michael Orlitzky [Fri, 30 Mar 2012 19:23:35 +0000 (15:23 -0400)]
Switch to the new module interface in Makefile.am.

12 years agoNew ChangeLog entry in preparation for v0.0.8.
Michael Orlitzky [Fri, 30 Mar 2012 19:23:09 +0000 (15:23 -0400)]
New ChangeLog entry in preparation for v0.0.8.

12 years agoBump copyright year and version number in configure.in.in.
Michael Orlitzky [Fri, 30 Mar 2012 19:21:40 +0000 (15:21 -0400)]
Bump copyright year and version number in configure.in.in.

12 years agoUpdate the copyright year on the About dialog.
Michael Orlitzky [Fri, 30 Mar 2012 19:20:20 +0000 (15:20 -0400)]
Update the copyright year on the About dialog.

12 years agoSwitch XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL to XFCE_PANEL_PLUGIN_REGISTER.
Michael Orlitzky [Fri, 30 Mar 2012 18:34:33 +0000 (14:34 -0400)]
Switch XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL to XFCE_PANEL_PLUGIN_REGISTER.

12 years agoRename the desktop file, and update it for the new module interface.
Michael Orlitzky [Fri, 30 Mar 2012 18:30:49 +0000 (14:30 -0400)]
Rename the desktop file, and update it for the new module interface.

13 years agoVersion bump to v0.0.7. v0.0.7
Michael Orlitzky [Sun, 27 Feb 2011 00:49:34 +0000 (19:49 -0500)]
Version bump to v0.0.7.

13 years agoUpdate the copyright statements for 2011.
Michael Orlitzky [Sun, 27 Feb 2011 00:48:54 +0000 (19:48 -0500)]
Update the copyright statements for 2011.

13 years agoHide the plugin's event box so that it doesn't show up opaque on a transparent panel.
Michael Orlitzky [Sat, 26 Feb 2011 21:43:00 +0000 (16:43 -0500)]
Hide the plugin's event box so that it doesn't show up opaque on a transparent panel.
Thanks to Harald Judt for the simultaneous bug report/patch.

13 years agoMove the FILENAME_MAX todo item into the "whenever" category, because that's when...
Michael Orlitzky [Sat, 26 Feb 2011 21:36:32 +0000 (16:36 -0500)]
Move the FILENAME_MAX todo item into the "whenever" category, because that's when it's going to get done.

14 years agoUpdated the NEWS and ChangeLog documents for v0.0.6. v0.0.6
Michael Orlitzky [Thu, 25 Mar 2010 18:47:02 +0000 (14:47 -0400)]
Updated the NEWS and ChangeLog documents for v0.0.6.

14 years agoRemoved the redundant 'logo' property from the about dialog.
Michael Orlitzky [Thu, 25 Mar 2010 18:36:56 +0000 (14:36 -0400)]
Removed the redundant 'logo' property from the about dialog.
Added a window icon to the about dialog.

14 years agoReplaced the XfceAboutDialog with a GtkAboutDialog.
Michael Orlitzky [Thu, 25 Mar 2010 02:43:30 +0000 (22:43 -0400)]
Replaced the XfceAboutDialog with a GtkAboutDialog.
Replaced libxfcegui4 with libxfce4ui.

14 years agoAdded the LICENSE_GPL3 macro to the dialog header.
Michael Orlitzky [Thu, 25 Mar 2010 02:40:56 +0000 (22:40 -0400)]
Added the LICENSE_GPL3 macro to the dialog header.

14 years agoReplaced two LIBXFCEGUI4 variables with their LIBXFCE4UI counterparts.
Michael Orlitzky [Thu, 25 Mar 2010 01:29:00 +0000 (21:29 -0400)]
Replaced two LIBXFCEGUI4 variables with their LIBXFCE4UI counterparts.

14 years agoBumped the version to 0.0.6.
Michael Orlitzky [Thu, 25 Mar 2010 01:28:11 +0000 (21:28 -0400)]
Bumped the version to 0.0.6.
Bumped the required versions of GTK+, libxfce4panel, and libxfce4util.
Replaced the libxfcegui4 requirement with libxfce4ui.

14 years agoUpdated the copyright statements for 2010.
Michael Orlitzky [Thu, 25 Mar 2010 01:17:43 +0000 (21:17 -0400)]
Updated the copyright statements for 2010.

14 years agoFix libtool build issue.
Michael Orlitzky [Wed, 24 Mar 2010 22:16:10 +0000 (18:16 -0400)]
Fix libtool build issue.

15 years agoUpdated the TODO with another good idea from Evgeni.
Michael Orlitzky [Fri, 20 Feb 2009 03:48:32 +0000 (22:48 -0500)]
Updated the TODO with another good idea from Evgeni.
Updated the "next" version in the TODO.

15 years agoFixed build with --enable-debug=full thanks to Evgeni Golov.
Michael Orlitzky [Thu, 19 Feb 2009 07:06:03 +0000 (02:06 -0500)]
Fixed build with --enable-debug=full thanks to Evgeni Golov.
Added declaration of hdaps_reset_timeout in xfce4-hdaps.h.
Rearranged some header #includes.

15 years agoUpdated the README with new build instructions that take into consideration the tarba...
Michael Orlitzky [Thu, 12 Feb 2009 21:33:58 +0000 (16:33 -0500)]
Updated the README with new build instructions that take into consideration the tarball releases.

15 years agoAdded a ChangeLog for the "po" directory so that "make dist" won't complain.
Michael Orlitzky [Thu, 12 Feb 2009 05:16:08 +0000 (00:16 -0500)]
Added a ChangeLog for the "po" directory so that "make dist" won't complain.

15 years agoUpdated the change log, and bumped the version. v0.0.5
Michael Orlitzky [Thu, 12 Feb 2009 05:06:30 +0000 (00:06 -0500)]
Updated the change log, and bumped the version.

15 years agoMade the default device name more intelligent. Now it will default to the first exist...
Michael Orlitzky [Thu, 12 Feb 2009 04:53:11 +0000 (23:53 -0500)]
Made the default device name more intelligent. Now it will default to the first existing HDAPS device, with "sda" as a fallback.

15 years agoPrevented duplicate entries in the device name combo box.
Michael Orlitzky [Thu, 12 Feb 2009 04:40:40 +0000 (23:40 -0500)]
Prevented duplicate entries in the device name combo box.

15 years agoFixed a typo in Makefile.am.
Michael Orlitzky [Wed, 11 Feb 2009 23:49:04 +0000 (18:49 -0500)]
Fixed a typo in Makefile.am.

15 years agoRemoved the TODO items that are completed. v0.0.4
Michael Orlitzky [Wed, 11 Feb 2009 02:18:03 +0000 (21:18 -0500)]
Removed the TODO items that are completed.
Added the possibility of an HdapsState structure to the TODO.

15 years agoUpdated the changelog and news.
Michael Orlitzky [Wed, 11 Feb 2009 02:12:59 +0000 (21:12 -0500)]
Updated the changelog and news.

15 years agoFixed a status update bug thanks to Evgeni Golov.
Michael Orlitzky [Wed, 11 Feb 2009 00:01:39 +0000 (19:01 -0500)]
Fixed a status update bug thanks to Evgeni Golov.
Added a new state constant, HDAPS_ON.
Changed hdaps_update_status to use the new constant when determining whether or not HDAPS has changed states from "on" to "off."

15 years agoAdded GPL headers to each of the (code) files in the panel-plugin directory.
Michael Orlitzky [Tue, 10 Feb 2009 23:54:14 +0000 (18:54 -0500)]
Added GPL headers to each of the (code) files in the panel-plugin directory.

15 years agoFixed compilation under XFCE 4.6 RC1 thanks to Evgeni Golov.
Michael Orlitzky [Tue, 10 Feb 2009 23:45:35 +0000 (18:45 -0500)]
Fixed compilation under XFCE 4.6 RC1 thanks to Evgeni Golov.

15 years agoAdded a mention of hdapsd to the requirements in the README.
Michael Orlitzky [Tue, 10 Feb 2009 06:26:30 +0000 (01:26 -0500)]
Added a mention of hdapsd to the requirements in the README.
Filled in the missing 'make' step in the README installation instructions.

15 years agoAdded tooltip support for the three states. v0.0.3
Michael Orlitzky [Sat, 24 Jan 2009 03:59:11 +0000 (22:59 -0500)]
Added tooltip support for the three states.
Changed the "error" icon to emblem-noread.
Updated the hdaps slurp/parse functions to always return HDAPS_ERROR when there is an error.
Altered hdaps_set_icon to check for (status == HDAPS_ERROR) rather than (status < HDAPS_OFF) as a result of the previous modification.

15 years agoAdded a TODO with two goals for version 0.0.3.
Michael Orlitzky [Tue, 20 Jan 2009 08:12:13 +0000 (03:12 -0500)]
Added a TODO with two goals for version 0.0.3.
Added a .gitignore for all of the junk created by autogen.sh.

15 years agoBumped to version v0.0.2 because v0.0.1 has been out for about an hour and I screwed... v0.0.2
Michael Orlitzky [Sun, 18 Jan 2009 08:58:40 +0000 (03:58 -0500)]
Bumped to version v0.0.2 because v0.0.1 has been out for about an hour and I screwed up the version macro in configure.in.in.

15 years agoInitial commit. v0.0.1
Michael Orlitzky [Sun, 18 Jan 2009 07:37:24 +0000 (02:37 -0500)]
Initial commit.