Commit Graph

825 Commits

Author SHA1 Message Date
Sanel Zukan 4e0bd12967 Use also 'edelib-' matcher for debugger invoke. Also, emit PID to ede-crasher for further inspection. 2012-10-23 10:21:34 +00:00
Sanel Zukan 1cc61c1d29 Try to read 'core.PID' if can or fallback on 'core'. 2012-10-23 10:20:21 +00:00
Sanel Zukan b19a713bdf Use str_hash(). Some cleanup. 2012-10-08 15:40:25 +00:00
Sanel Zukan c39c0718f9 iconv() is a mess between os-es; const char**, char**,... oh my... 2012-09-24 14:01:08 +00:00
Sanel Zukan 240c195d87 Removing some incomplete code. 2012-09-24 13:48:16 +00:00
Sanel Zukan 5f89e0a412 Required size_t but not visible in sys/utsname.h. Minix again. 2012-09-24 13:46:09 +00:00
Sanel Zukan 599356843b Minix does not have pselect(). This is also good time to refactor xmlrpc-c dependency check in main configure.in script. 2012-09-24 13:43:51 +00:00
Sanel Zukan c3aa1a61e6 Minix does not have setrlimit(). 2012-09-24 13:20:02 +00:00
Sanel Zukan c26b526dcd Importing svn2cl as it is used from script that makes release archives.
Making code DBus optional; all DBus related code is wrapped inside EDELIB_HAVE_DBUS.
2012-09-18 17:49:48 +00:00
Sanel Zukan 0ad6617df4 Removing locks. We need better way to determin if FLTK has compiled in locking support or not. 2012-09-03 13:01:34 +00:00
Sanel Zukan 9eca312821 Added missing stdlib.h header. 2012-09-03 13:00:09 +00:00
Sanel Zukan 2d028fe4a6 Let panel taskbar tries to fetch icons of desired size, if possible. Also squashed a small memory leak in keyboard applet. 2012-08-24 14:15:04 +00:00
Sanel Zukan b4ad2fb11b ifdef-ed some FLTK 1.3.0 specific code. 2012-08-23 02:29:27 +00:00
Sanel Zukan 89ec43af74 Added guards in case autoupdate feature is disabled. 2012-08-06 14:57:20 +00:00
Sanel Zukan 1dde9f92da Menu reload support and clean of some memory leaks.
Menu reload is using DirWatch to monitor application menu folders for changes. With this, any change on some content will trigger
menu update. Update is trying to be safe as possible: when menu is open, a backup menu will be constructed and replaced as soon as menu
was closed; when is closed, it will be directly replaced.

This still can include races, but I'm hoping they will not occur.

Related to memory leaks: on couple of places in cpu applet, delete was wronly called instead delete[]. Also, when ede-panel exits,
AppletManager would not clean loaded apples. Strange. So now explicit clear was added on exit.
2012-08-06 14:52:09 +00:00
Sanel Zukan a45609e945 Added copyright/legal info. Cleared some deprecation warnings. 2012-08-06 12:00:25 +00:00
Sanel Zukan 705ea3ebf2 Center the window and fixed one spelling issue. 2012-08-05 23:01:11 +00:00
Sanel Zukan 8eeca59484 Made it static. 2012-07-19 08:23:42 +00:00
Sanel Zukan 3ff0844756 Removed some old code causing undefined behavior.
There were leftovers from previous menu version, where icon will be set for certain MenuItem. However, some of those items are removed causing values to be set outside array's bounds. Yuck!
2012-07-19 08:18:36 +00:00
Sanel Zukan a024e66550 Copyright header and window preservation on mouse enter.
When notification was shown, if given timeout, it can be preserved on screen by entering
with mouse in window area. This can be useful when message with long was shown.
2012-07-17 08:05:52 +00:00
Sanel Zukan 59a16eff0e Fixing panel placement when screen size was changed. Updating main menu to use MenuTooltip code.
When screen dimensions are shrinked, panel will be moved at the correct location but will not be resized correctly. Also,
when screen dimensions are changed again, increasing sizes, panel would not catch that. Here, 'the hack' is to track
root window dimension changes and react on that, since relaying on _NET_WORKAREA is not always good; struts dimentions affects workarea size.

Main menu now has tooltips, which is Comment value from .desktop files. Also, since XdgMenuReader directly plays with MenuItem,
MenuItem::init_extensions() is used to reset uncommon values.
2012-06-07 09:32:27 +00:00
Sanel Zukan db1ebec5d9 Prevent crashes. Have to investigate further. 2012-06-03 12:29:12 +00:00
Sanel Zukan 39ffa8406b Code cleanup.
Removing usage of EDE_PANEL_APPLET_CLASS since there is no much usage of it. Also, marked all applet widgets as EDE_PANEL_WIDGET_TYPE so panel knows it is widget.

Added license info in some code, but whole ede2 tree needs to be revised for that.
2012-05-30 10:23:27 +00:00
Sanel Zukan fde927b627 Small cleanup. Added link for ede-notify-daemon docs. 2012-05-28 14:25:53 +00:00
Sanel Zukan eb175fa89f Moving all class declarations to EDE_PANEL_APPLET_CLASS macro.
This change should make base applet code easier to modify without modifying applets itself. This is also
a starting point for implementation of better routing netwm messages to applets without adding specific listener
to each applet.
2012-05-28 10:57:50 +00:00
Sanel Zukan 9a664ddb92 Cleaning up some warnings. 2012-05-28 10:00:09 +00:00
Sanel Zukan 0d061c24e7 Marked current code as next versionn 2012-05-21 11:29:25 +00:00
Sanel Zukan 874d756e6b Simple script for doing release magic 2012-05-18 12:47:02 +00:00
Sanel Zukan 512645123a Reuse desktop folder path from Desktop class. Also small reordering, so only spaces are
replaced inside file name, not full desktop path.
2012-05-18 12:06:32 +00:00
Sanel Zukan a786d9ea7a Added INSTALL_ICON_THEMES option. 2012-05-17 13:31:34 +00:00
Sanel Zukan 0e592d6e0c Adding wallpapers 2012-05-16 12:16:19 +00:00
Sanel Zukan 8bc8e23304 Redone animation code.
Due large number of XFlush-es, on some OS-eses with bad graphic driver (in my case FreeBSD on VirtualBox)
animation considerably slows down, making animation quit OS/driver specific. Using FLTK timer code, animation should
be agnostic as possible.
2012-05-16 11:30:41 +00:00
Sanel Zukan a5c30864be Removing obsolete locale dir. Added checks for curl/types.h 2012-05-16 08:15:49 +00:00
Sanel Zukan 037460d4b3 Fixes for new curl versions.
Looks like type.h is removed from curl distribution rendering xmlrpc-c code uncompileable. All code is wrapped
around HAVE_CURLTYPES_H. Also if _REENTRANT was defined, gcc will report warning as it is defined by default (:S).
2012-05-16 07:55:41 +00:00
Sanel Zukan 1addbd0c3c Added missing config.h 2012-05-15 13:53:25 +00:00
Sanel Zukan 25128549a7 Focus input instead of image box 2012-05-15 12:51:09 +00:00
Sanel Zukan 1c2cfe3739 Handle case when icon wasn't selected.
By default, 'empty' icon should be used. It is now shown in preview box and will
be selected when icon wasn't explicitly chosen. Also, redraw full desktop when icon was removed, to
prevent displaying icon which isn't available.

Added small delay when icon was removed so directory watcher skip remove event.
2012-05-15 12:49:16 +00:00
Sanel Zukan eccdcd83ef Icon renaming support. 2012-05-15 11:10:40 +00:00
Sanel Zukan c2366025b5 Removing old code 2012-05-15 10:55:02 +00:00
Sanel Zukan 04b5c9d1f0 Better resize support.
Body widget is by default hidden and summary is lowered a little bit,
to fill space gap. Also this commit fixes 'position' calls for output
widgets, as this function for these widgets will move cursor at given
position, instead to move widget. Yuck!
2012-05-15 10:28:08 +00:00
Sanel Zukan 2b81f59d45 Center window before it was shown 2012-05-15 09:47:05 +00:00
Sanel Zukan 8b14a06a83 Made window to use border box. 2012-05-10 13:22:34 +00:00
Sanel Zukan b83f16cb17 Small relayout check when body is visible. 2012-05-10 13:20:39 +00:00
Sanel Zukan b6cc0dbaed Small docs about ede-notify-daemon. Also small update for README 2012-05-10 12:31:30 +00:00
Sanel Zukan 44cec726b1 Set notification window as notification type. 2012-05-10 12:11:45 +00:00
Sanel Zukan f844303263 Remove that silly focus box from close button. Also hide those (again silly) cursors for text output field. 2012-05-10 12:04:28 +00:00
Sanel Zukan ca8146de43 Better icons 2012-05-10 11:51:16 +00:00
Sanel Zukan 30a2644b8c Icons for notify daemon 2012-05-10 11:29:21 +00:00
Sanel Zukan 05f5f43aca Browsing files support. Real removal, but yet incomplete 2012-05-10 11:19:19 +00:00
Sanel Zukan b195c061e0 Updating 2012-05-10 11:18:03 +00:00