Commit Graph

820 Commits

Author SHA1 Message Date
Sanel Zukan
7ff8841ea8 A lot of changes, especially the ways how screen is repainted (in composite).
Composite will now draw only damaged regions, and their damage is (now) correctly
reported, mostly due changes in main FLTK loop.

Also there are two ways how evoke will be running: if USE_FLTK_LOOP_EMULATION
is defined (default yes), it will fully emulate FLTK loop (as done before). Oposite 
way (without emulation) it will relay on FLTK message passing, but it is very unpredictable 
since FLTK will sometime miss SelectionClear events (XSETTINGS relay on it), probably due
large XDamageNotify throttling. When emulation is used, there are no such problems
since all events are processed before they are routed to FLTK.

In composite is added another way of repainting (when USE_CHECK is defined), and it will
relay on Fl::add_check() function; there are some differences between this function
and timer used for screen refresh. Timer will try to refresh it every XX ms and when
there are large number of XDamageNotify reports, this will not be suitable for 
movements smoothing on the screen; on other hand add_check() will call callback every
time when event is processed, which brings smooth movements. For now only timer is used
untill I finish compositing stuff.

Also composite will handle messages from it's own add_handler() since (somehow), all pending
XDamageNotify events will not be correctly reported inside EvokeService handler.

And about splash... splash will now keep it's window at the top, no matter what window is
raised. This is a small hack until I implement _NET_WM_WINDOW_TYPE_SPLASH in edewm (I don't
have to say that this hack works for all wm's I tested :P).

Sound from splash is removed; reason for this is when evoke starts childs (only when X session
was started), device descriptors will be used by childs too making sound device unusable and 
marked as busy. This can be solved by using better sound library, which is story for itself...
2008-01-14 12:50:30 +00:00
Sanel Zukan
d0eab95b75 Dump old locale directory with translations. They are obsolete anyway. 2008-01-14 12:03:37 +00:00
Sanel Zukan
2dcdc52e6a Imported eabout, a small program that displays current EDE version, authors, contibutors, etc.
Added ProgramBare rule in Program.jam so there could be built plain (command-line) programs
and so they could be installed where other EDE programs resides.

New etip on FLTK1 code. Also, instead hardcoded tips, etip now uses fortune-like files
for tips. Ah yes, it is able to read fortune files too :)
2008-01-14 12:02:43 +00:00
Sanel Zukan
3326269e36 Added external crash handler 2008-01-05 13:23:04 +00:00
Sanel Zukan
d7db3f0d0f Added composite stuff (alpha stage, of course).
A lot of things are pending for implementation like region translucency, shadows, fading...
Per window translucency is in, but now working as expected.
2007-12-28 10:58:56 +00:00
Sanel Zukan
9f65ff5859 Removed title box from menu 2007-12-12 13:02:35 +00:00
Sanel Zukan
769c9fbcc8 Better icon conversion code with new rule.
Added rule for icon theme installation.
2007-12-07 17:01:22 +00:00
Sanel Zukan
1ed0d0b848 Imported edeneu theme.
Added svg convertor rule.
2007-12-06 15:54:24 +00:00
Sanel Zukan
8ff399f71e Removed obsolete code.
Adapted new dir_list.
Now pid and status for childs are reported directly via channel instead
storing (and locking) them in global variables.
2007-12-03 13:39:22 +00:00
Sanel Zukan
64683f504e Let trash icon be updated when something is deleted. 2007-11-28 12:42:52 +00:00
Sanel Zukan
4b3ae53570 XDestroyImage uses free() so we must malloc() it's data 2007-11-14 16:13:07 +00:00
Sanel Zukan
bd107c4007 Use wallpaper sizes for creating drawable area 2007-11-14 15:01:32 +00:00
Sanel Zukan
9efcf193ef Let unneeded wallpaper resources be freed after image
was drawn to rootpmap
2007-11-14 14:45:59 +00:00
Sanel Zukan
dbe560d3a5 Removed, for now 2007-11-12 15:30:11 +00:00
Sanel Zukan
63c14c5873 New settings code 2007-11-06 14:34:15 +00:00
Sanel Zukan
d8e4d986db eiconman now uses settings code.
Removed dead utf8 parts.
Misc stuff...
2007-11-06 14:33:19 +00:00
Sanel Zukan
484717e7b8 Added edesktopconf 2007-11-01 16:47:19 +00:00
Sanel Zukan
0e52d2b974 Removed obsolete code 2007-11-01 16:45:43 +00:00
Sanel Zukan
667ce4722f New settings manager based on XSettingsManager. Also it have
ability to serialize data at the shutdown and load it at the startup.
2007-10-26 12:01:01 +00:00
Sanel Zukan
15b342009e Synced same behaviour between haiku jam and vanilla jam 2007-09-28 14:08:59 +00:00
Sanel Zukan
1a7f6d9f06 Removed obsolete makefiles.
Added main Makefile which will try to detect installed jam and
call it as background process
2007-09-27 13:58:59 +00:00
Sanel Zukan
6170d43d19 Reworked process handler due a large number of races. Now process reports
should not interfere with popped up message boxes. Still there is a issue
with childs during splash startup: when one of them crashes with core dump
crash dialog will not be shown, but the main process handler correctly returns crash flag.
2007-09-24 11:47:42 +00:00
Sanel Zukan
5284410840 After splash would finish, evoke would ignore first request to run external command, althought
second and rest would be fine. That is hopefully fixed now.

Splash window still gets hidden by old eiconman; for other apps it is fine. Pending for revision.
2007-09-20 08:47:50 +00:00
Sanel Zukan
762ad9883d Finished manager part of XSETTINGS. Left to be done is to implement the same for the clients ;) 2007-09-19 14:12:34 +00:00
Sanel Zukan
04a87a7f7c Fixed issues with add_fd() addon. Dialogs popped up, especially from
service_watcher() would not be drawn correctly yielding program hang since
add_fd() would not send events to fltk.

Also commented hack from Splash to keep it's window at the top of all;
now, using add_fd() evoke will get events before fltk which is what I want.
Not tested with other wm's.

Note: enabling that hack will surely crash evoke unless fl_handle() is removed
from main evoke loop.
2007-09-18 15:43:01 +00:00
Sanel Zukan
ad69c2fc2c Replaced X event notifying via add_fd(). Now all X events could be reported
without possible stealing from fltk. Prevous, add_handler(), would send only
unknown events for fltk which leave us without really important ones, like selection events
used by XSETTINGS manager.

Added XSETTINGS support (yet unfinished) which will make evoke as XSETTINGS manager.
2007-09-18 14:06:09 +00:00
Sanel Zukan
00f5f2d59a Evoke will now correctly shutdown (try) all running windows, when
session should be logged out. Previous version (althought commented) was
closing all windows (buttons and rest are counted too), not their main
window. Thanks to some old code from babaya project I found, XmuClientWindow
is what I needed, so emulation is provided to avoid linking with libXmu.

Also added some more signals to detect quitting.

Pending issue: I'm getting strange sound driver locks when X are started
via evoke. This is un-reporoduceable when evoke is started from gui console. 
This still needs to be investigate.
2007-09-17 10:36:24 +00:00
Sanel Zukan
841a106a28 Reordering... 2007-09-14 12:46:09 +00:00
Sanel Zukan
0876c5271d Recognize return codes and display appropriate dialog. Works only if
executable was not found or file is not executable.
Add mutexes since childs return codes comes from second thread. This
will also prevent races when report dialogs are shown.
2007-09-14 12:31:03 +00:00
Sanel Zukan
f0e0bc9032 Allow autostart programs be started without dialog
Documentation update
ImagesDirectory key renamed to DataDirectory; images renamed
to data to follow later changes
2007-09-11 14:06:44 +00:00
Vedran Ljubovic
dffebaf72a Update README and my .plan with stuff from past 12 months... 2007-09-06 13:06:34 +00:00
Vedran Ljubovic
06b7079100 Resurrect etimedate:
- Redesigned Calendar widget, many new options
- Killed a lot of code by porting to edelib::Date (timezone handling is still 
internal)
- Added syncing with time servers using ntpdate
2007-09-05 19:51:01 +00:00
Vedran Ljubovic
0c606e2676 Fix for previous commit. This is what happens when you commit code without
testing first :(
2007-09-05 11:19:01 +00:00
Vedran Ljubovic
165449fe85 Port efiler to new MessageBox class, remove some debugging msg 2007-09-05 08:26:28 +00:00
Sanel Zukan
d30d6f1776 New startede2 script which properly set XDG directories and
starts evoke as main service.
2007-09-03 12:34:20 +00:00
Sanel Zukan
b571876fe6 Synced code with edelib changes.
Directory notifier added (still needs a work).
Internal changes for easier directory events handling.
2007-09-03 12:26:58 +00:00
Sanel Zukan
7a299bc70c Some documentation 2007-09-03 12:25:00 +00:00
Sanel Zukan
df0031d9dd Startup make some noise :)
Crash dialog will cleanup generated data. Also will
check availability to write/read data it generates.
2007-09-03 12:24:01 +00:00
Sanel Zukan
8c57ce3e43 Commands can contain $TERM to allow running apps in terminal.
Some heuristic gui/console determination, but pretty sucks for now.
2007-08-31 13:41:27 +00:00
Sanel Zukan
aced43a39a Run those programs... 2007-08-29 16:38:00 +00:00
Sanel Zukan
9a5e7129e2 Autostart directory support added. Items does not get executed yet.
Dialog for autostart added.
2007-08-28 15:54:52 +00:00
Vedran Ljubovic
fdf84c4620 - F2 to rename
- F8 to switch between active views
- Finally fix dnd in FileIconView
2007-08-24 09:19:53 +00:00
Vedran Ljubovic
7a59ab12a4 - Add renaming support to FileIconView. Also some tweaks to renaming in
FileDetailsView (accidental renaming should now be rare).
- Fix keyboard support for edelib::ExpandableGroup in FIV. The remaining bugs 
are in ExpandableGroup class and not in efiler.
2007-08-24 07:51:02 +00:00
Vedran Ljubovic
9b7ea5dca2 Forgot to send the Jamfile 2007-08-23 15:30:57 +00:00
Vedran Ljubovic
5ebfa5253c FileView::update_path() will now also update the displayed filename - this
will simplify FileIconView implementation
2007-08-23 11:09:05 +00:00
Vedran Ljubovic
f56292b6cf Split FileView properly into files. Slowly it is getting its final form. 2007-08-23 10:54:12 +00:00
Sanel Zukan
70ff40b29a const removal 2007-08-22 13:35:41 +00:00
Sanel Zukan
e46547e8ef Synced with edelib changes 2007-08-21 12:17:35 +00:00
Vedran Ljubovic
d6162aa666 Fix includes (it worked with old edelib) 2007-08-21 11:10:02 +00:00
Vedran Ljubovic
d303222157 Fix efiler Jamfile 2007-08-21 10:42:59 +00:00