Commit Graph

230 Commits

Author SHA1 Message Date
Carsten Haitzler d904f1eb5c alvo's patch for efm - fix escaping.
SVN revision: 33926
2008-03-05 04:00:17 +00:00
Carsten Haitzler b70f5a0ecc e:
1. configure/build changes to allow cross-compiling painlessly
2. pager module namespace changes - this was still dirty afdter the namespace
cleanup, so clean it up
3. add a powersave subsystem - doesnt have an "automatic" way to turn on and
off right now, this i think is best provided by modules (that do things like
monitor acpi status's (eg close lid of laptop), AC power status etc. etc.
this allows e to nicely defer "power" expensive actions to avoid disk
spinups etc.
4. move to use the new ecore poller system  - discussed long ago as part of
power management/saving issues. now it exists
5. add a canvas idle flush call that helsp cope with the new shm greedy
software x11 engine stuff
6. use the new powersave subsystem where appropriate
7. fix non-zeroed/initted memory access in e_fm_main
8. fix mem leak for e menus
9. remove ipc handlers for changed/removed config values
10. use animaotr not timer for menu scrolls - then menu scrolls obey the fps
config
11. fix up timer/poll happienss of cursor idle stuff
12. remove avoid damage from popups for now - causing problems
13. change battery and temp readouts to b e shorter so they fit
14. pager can emit signals on focus change for mini-windows now
15. temperature module now uses a slave process and uses stdin/out to talk to
it and get output - this makes e smoother as in my expereicne i found getting
the temp on my laptop actually took like 200ms so e "hang" for 200ms while
reading the acpi files - so now the subprocess does it and just writesa back
to e when it gets it.

ecore:
1. add ecore_pollers. see the documentation on them in doxygen comments :)
2. fix timers to only go off when they have to - bug there that made e's
select time out a LOT more than it needed to. defensive coding hid the
problem. now fixed. e should be much more power friendly now.
3. formatting/niceness in ecore_exe stuff
4. some comments on comments with SIGIO ideas vs. select
5. add call to be able to add an idle enterer at the start of the list of
them, not just the end (as has been the default)
6. fix ecore_evas to support auto evas idler calls after 0.5 secs of idle in
all canvases - and to do it right
7. if argb destination - set the shape EVENT shape (to mask out events in
transparent regions much like shape does withotu translucency)
8. in ecore_x add support for the event shape

evas:
1. fix cache to work properly and not just always fill up (as it seemed to
like to think cahce useage dropped below 0 when it didnt and thus just
over-fill)
2. software x11 engine now ONLY uses shm segments - no ximages over the
socket. this ximage hack was there to avoid the 2 round trips involved in
setting up an shm image - now i mitigated that wih an shm image cache pool.
it keeps shm images around and repurposes them for new update regions if
appropriate. this means many fewer shm creates (about 1/100th the number) and
since we recycle the memory less 0 memory page filling by the kernel - in the
end, i recorded about a 10-20% speedup over the old software x11 engine.
simple tests i have seen up to 120% speedups. idle flush now does something -
it frees all the cached shm segments. it has a hard-coded limit of 4mb worth
of shm segments (or 32 segments - whichever comes first) to keep around. once
can never complain much about speedups methinks :). also evas will defer sync
until the NEXT frame is written - this means evas can calculate the next
frame of data while x dma's/copies the images to the screen at the same time
(if you hve a dual core or multi-cpu machnike or your xserver is able to use
DMA to copy image data to the screen/video ram then this should see a decent
speedup).


SVN revision: 33448
2008-01-11 07:33:57 +00:00
Christopher Michael 0c7f4eb2c9 Add missing function proto in header file.
Fix minor formatting in C file.


SVN revision: 32218
2007-10-30 20:01:41 +00:00
Carsten Haitzler d2027e5fd3 and fully handle dynamic screen add/del with xinerama (xrandr 1.2). seems to
work for me adding/removing screens. e moves windows from the old screen to
existing one(s) and creates new zones and any shelves etc. for that zone if
needed etc. etc.


SVN revision: 32111
2007-10-18 09:06:30 +00:00
Christopher Michael bf4118f350 Since most things will not be using XDG_*, reduce the number of strcmp's by
first checking that we are NOT using XDG_*. Should provide a speedup for
evaluating.


SVN revision: 32034
2007-10-10 10:53:09 +00:00
Christopher Michael c999ac8a20 Allow evaluating env vars from FDO specs (menus, trash, etc).
Uses efreet calls to get value of these vars.


SVN revision: 32033
2007-10-10 09:41:58 +00:00
Sebastian Dransfeld f89368f089 Update for changes in efreet.
SVN revision: 30987
2007-07-26 11:34:09 +00:00
Sebastian Dransfeld 5f82f68ff5 buf isn't a dynamic allocated buffer.
SVN revision: 30960
2007-07-24 17:50:12 +00:00
Carsten Haitzler cad2457e10 patches for imlib2 and e.
SVN revision: 30157
2007-05-30 14:35:26 +00:00
Sebastian Dransfeld f1c45e6dff Only defer object deletion if we are in the main loop.
SVN revision: 30054
2007-05-22 18:54:58 +00:00
Sebastian Dransfeld dca84398d8 No need to duplicate this function.
SVN revision: 29907
2007-05-07 18:01:43 +00:00
Carsten Haitzler 941d1d56f7 fix valgrind issues on frees of evas screwing deletions of widgets - this
might fix a slew of bugs on dialog close.


SVN revision: 29846
2007-05-04 15:55:24 +00:00
Sebastian Dransfeld 5779307e13 EAPI
SVN revision: 29493
2007-04-13 15:59:28 +00:00
rephorm c228e16d44 Re-enable create/edit icon from border menu.
SVN revision: 29487
2007-04-13 00:49:24 +00:00
Sebastian Dransfeld e8590e0357 - Add flag to indicate when main loop has ended.
- Don't allow (some) events during shutdown, as events wont be processed.
- Don't remove drop handlers on dnd shutdown, they should be removed by
  their creators.
- init/shutdown fwin
- Delete fwins on shutdown.
- Remove weird ipc wrapper function.
- Don't do additional shutdown functions on restart.


SVN revision: 29366
2007-04-05 06:59:02 +00:00
Sebastian Dransfeld 1384cb7ef4 Formatting.
Remove debug printf.


SVN revision: 29322
2007-04-03 18:46:54 +00:00
rephorm 73850bfc73 add function to add an icon given an icon path or theme name
use this for desktop_icon_add()


SVN revision: 29207
2007-03-28 05:52:33 +00:00
Sebastian Dransfeld 6c349751a0 efreet
SVN revision: 29144
2007-03-25 19:05:05 +00:00
Sebastian Dransfeld 47ad22217e Convert borders to efreet.
SVN revision: 29131
2007-03-25 17:23:49 +00:00
Sebastian Dransfeld c7872bf9f7 Use efreet to get information about .desktop files.
SVN revision: 29038
2007-03-24 19:18:20 +00:00
Sebastian Dransfeld b150b36b93 Formatting.
SVN revision: 29008
2007-03-24 12:55:30 +00:00
Sebastian Dransfeld 464bd07fa3 *** empty log message ***
SVN revision: 28991
2007-03-24 09:25:32 +00:00
Carsten Haitzler 087af991d6 patches applied as per emails :)
SVN revision: 28302
2007-02-10 17:23:09 +00:00
Sebastian Dransfeld 887704533b Remove stupid cast.
SVN revision: 27927
2007-01-12 13:24:53 +00:00
Carsten Haitzler 29b6afd096 1. remove ld_lib_path from all things e17 executes EXCEPT its own specific
tools.
2. custom screensaver patches


SVN revision: 27628
2006-12-29 02:56:26 +00:00
Stafford Mitchell Horne 577618bf99 If finally go around to adding the advanced conf dialog for input methods.
* Note: input methods are stored as full path now, meaning most people have to update their configs


SVN revision: 27492
2006-12-17 11:24:59 +00:00
Carsten Haitzler 79c8864f92 working on file properties dialog.
SVN revision: 27359
2006-12-05 14:28:48 +00:00
David Walter Seikel ad7fae8091 Two functionss for checking for the existance of icons in the E theme.
SVN revision: 26278
2006-10-01 18:21:31 +00:00
Carsten Haitzler a9757fa04b i'm cleaning up dnd. fixed leaks. made dnd more convenient - less work to do
(it returns x,y coords relative to the drop target geom, not the screen,
start putting in all the necessary stuff in fm2 - can dnd 2 file now (drop
has no effect though)...


SVN revision: 25950
2006-09-18 03:49:45 +00:00
rephorm 462bda0f22 another chunk
all group names prefaced by e/
its entirely possible i missed a few small places in this, so there may be some growing pains in the next day or two

also, spectrum content -> e.swallow.content


SVN revision: 25057
2006-08-23 03:39:02 +00:00
sebastid 7763b5b928 ++const
SVN revision: 25009
2006-08-21 16:19:24 +00:00
Carsten Haitzler a9e7340190 you're all goign to kill me :) but here goes - i broke the dialog and config
dialog api's - added name and class params so u can set the name and class -
so users can later use things like rememebr to rememebr where a dialog will
go for usability and convenience.


SVN revision: 24691
2006-08-14 15:22:46 +00:00
Carsten Haitzler 01efbd7683 and some major refinements of efm - the selector code - well its in e_test.c
is pretty much almost perfectly working. i have fixed up some e_thumb stuff
and allowed e_thumb to be more responsive and skip items that are known to be
"generated" and bring them ahead in the list of things to thumb - so kind of
a priority skiplist - process what it KNOWS will be already done first
quickly and leave the slower stuff until later. efm is fairly well refined
now - as above. the test selector works nicely. also added an almost-sha1
generator - use sha1 sums of the path for thumbs - less likelihood of
collisions. the prolbme is given the small size of the input data... it's
hard to do well - but anyway :)


SVN revision: 24128
2006-07-22 21:48:24 +00:00
sebastid 6291d46977 Save image from ARGB coming along. Not done yet.
SVN revision: 24043
2006-07-19 11:59:22 +00:00
sebastid 457b86c2ce Function to save Ecore_X_Icon. To be used for saving ARGB icon before
creating eap.

Untested.


SVN revision: 24040
2006-07-19 01:39:43 +00:00
handyande 204de3261d segv--
SVN revision: 23331
2006-06-09 12:53:27 +00:00
sebastid 9cb379777f Add const
SVN revision: 23024
2006-05-31 16:31:51 +00:00
Carsten Haitzler dcb633e46e and now pick up new apps immediately :)
SVN revision: 22588
2006-05-13 16:05:15 +00:00
Carsten Haitzler 81c249ddeb handle spaces in eap filenames when editing, and proeprly escape things, add
gneric escaper, and reduce file path of icon files nicely.


SVN revision: 22587
2006-05-13 15:20:15 +00:00
Carsten Haitzler 2bc5d52739 illogict patches (minus a few that will break config despite fixing a typo)
SVN revision: 22405
2006-04-30 04:31:42 +00:00
stffrdhrn 218717c8dc Clean up compile warnings:
* char * -> const char * for stringshare strings
 * char * -> const char * where needed in functions
 * remove unused vars in some places


SVN revision: 20912
2006-03-02 12:03:48 +00:00
Carsten Haitzler 6f5e4ef0af 1. move thngs to dialogs from the e_error ones. fileman files are left - they
have a lot of work to go to be done well (ie work that e_app does to read
stdout/err shoudl be here too - or we need to eventually virtualise this)
2. stop self-feeding scan loop :)


SVN revision: 20425
2006-02-13 06:32:26 +00:00
Christopher Michael cace359cf7 Actually create the function for the proto defined in e_utils.h
SVN revision: 20181
2006-02-01 19:33:10 +00:00
Carsten Haitzler fd0e90de2e some minor fixes to bg cf dialog. a FIXMe there tho. i think we can avoid the
cb_data entirely actually... :) need to fix that.


SVN revision: 19749
2006-01-12 23:35:32 +00:00
Carsten Haitzler 27b0f208ab oops - message typos!
SVN revision: 19687
2006-01-10 08:32:27 +00:00
sebastid 60cf81f63e Fix warning.
SVN revision: 19616
2006-01-07 17:39:28 +00:00
sebastid 6a638a7806 Fix EAPI warnings.
SVN revision: 19597
2006-01-07 10:39:46 +00:00
Carsten Haitzler 912cf96418 centralise getting icon evas object from app
SVN revision: 19038
2005-12-15 07:12:00 +00:00
Carsten Haitzler b6aa138b09 exebuf is ... well.. a bit better now
SVN revision: 19015
2005-12-14 15:54:51 +00:00
stffrdhrn b81b2c3044 E_Intl changes
- Hunt a path for message files


SVN revision: 18600
2005-11-22 13:28:10 +00:00
stffrdhrn 60796f6c2a - Add new path for input method configuration files (may not needed?)
- Fix cs_CZ bug from Gori
- Scan input method path for configuration files
- Split e_intl startup/shutdown into things that need to be done first and
  things that need to be done later. This is better than throwing e_intl
  init code into various parts of the system.
- Add ipc to modify the input method path "input_methods"

TODO:
- Add some default configuration files


SVN revision: 17784
2005-10-23 04:56:51 +00:00
Carsten Haitzler d7b27f24fb added some object checking - i think we should make sure this object checking
is everywhere - if we can. anyone wondering about someothnig to do.. add in
the object check macros for any struct thats is an object :)


SVN revision: 17678
2005-10-19 09:31:35 +00:00
Carsten Haitzler bc4b06d99b fix loop - also some comments on dialog thing. its nto good yet.
SVN revision: 17529
2005-10-14 04:18:01 +00:00
Carsten Haitzler 29ee91dd3c eapp cache works - or well, should. it should update the caches if dirs
change contents or files change etc. etc. etc. theres also a cmd-line util
that can pre-generate caches for a directory or a dir tree for you :)


SVN revision: 16926
2005-09-25 04:58:18 +00:00
sebastid 3ca4c4e2ae Utility functions to find the border above and below the current on a desk.
SVN revision: 16831
2005-09-21 18:02:04 +00:00
sebastid 7c22096a66 Remove some compiler warnings.
SVN revision: 16441
2005-08-31 04:49:05 +00:00
sebastid 11ab95e14b Move func to right place. All lookup functions returning a Container
should be in e_container.


SVN revision: 16340
2005-08-25 13:41:26 +00:00
Carsten Haitzler 8167cf314e handle circulates
SVN revision: 16293
2005-08-23 03:50:02 +00:00
Carsten Haitzler 9de24f6e34 oops segv. fix.
SVN revision: 15955
2005-07-30 08:22:24 +00:00
Carsten Haitzler d68eb4d443 oops typo - fix
SVN revision: 15954
2005-07-30 08:19:41 +00:00
Carsten Haitzler 63d89d34cd accpet an icon class as a comma-delimited list, so you can do multiple
classes to match more than one
eg:

firefox,mozilla,web_browser,browser,application

ie the app (lets say it was firefox) is a member of multiple classes - the
first matched will be used, if none match, the .eap provided internal icon
will be used.


SVN revision: 15953
2005-07-30 08:12:05 +00:00
Carsten Haitzler 29ebbfd6d5 icons are now part of the theme and themable from the theme (always
falls back to default of course if theme doesnt provide them) and this
works for EAP icons too - if you give your EAP icons an icon class
like "web_browser" and if the theme provides a theme override for icons of
class "web_browser" then the theme icon is used instead of the .eap internal
image. not surethis is perfect as u want more "specific" and "more general"
levels - maybe i should make the eapp icon class a list of classes the icon
is part of...


SVN revision: 15951
2005-07-30 07:46:05 +00:00
Carsten Haitzler 744dfc58ff one way or the other i'm forced to add timestamps to events - i cant avoid it
anymore. sorry guys. really no way around it. :(


SVN revision: 15891
2005-07-25 09:55:47 +00:00
Carsten Haitzler 6e73e8ff11 damn - um... patches from mailing list - fix patch with layer number. da.po -
waiting for da.po i can use.. etc :)


SVN revision: 15738
2005-07-12 03:53:56 +00:00
Carsten Haitzler 547f92c57d fix up text
SVN revision: 15671
2005-07-08 08:49:34 +00:00
Carsten Haitzler edbe48cda4 todo--
SVN revision: 15670
2005-07-08 08:43:27 +00:00
Carsten Haitzler 3b61670e70 add mroe ways to match a window :)
SVN revision: 15668
2005-07-08 04:42:50 +00:00
Carsten Haitzler 2f97710e8f oh moozle!
e17 remembers stuff now. its very much not debuggued or used much - its a
nasty menu... but it seems to work ok right now. it saves the remember stuff
and loads it - and usess it... it should work ok :)


SVN revision: 15658
2005-07-07 09:27:04 +00:00
Carsten Haitzler 1d1dcf4f9c todo--
SVN revision: 15625
2005-07-02 13:33:53 +00:00
Carsten Haitzler 5c5ae983d7 todo--
SVN revision: 15596
2005-07-01 04:09:30 +00:00
handyande 4e125e3bff app_installed now in ecore_file
SVN revision: 15257
2005-06-11 13:32:29 +00:00
handyande ef23779c2b Add a path for the PATH environment, then use it to fix the ugly system(which...) hack
SVN revision: 15161
2005-06-06 10:37:15 +00:00
handyande 1c7951c07c Add some e_utils integration, more to come - should help folk use the handy apps
SVN revision: 15139
2005-06-05 15:02:43 +00:00
sebastid 22d7cdc7c2 More netwm
SVN revision: 15103
2005-06-03 19:10:25 +00:00
Carsten Haitzler 51ce3de0c0 more bindings and actions
SVN revision: 14509
2005-04-30 04:21:55 +00:00
sebastid 861beacda8 Cleanup.
SVN revision: 14248
2005-04-19 10:45:39 +00:00
Carsten Haitzler 72eb2e9bc9 wrap putenv... (and for remote_main just strudup - if we leak it doesnt
matter - it will not run for long :) )


SVN revision: 14195
2005-04-14 09:09:22 +00:00
Carsten Haitzler 4f54c588e1 seb's patch...
SVN revision: 13222
2005-02-07 13:51:09 +00:00
Carsten Haitzler da12976d32 update to new extended event stuff
SVN revision: 12460
2004-12-14 03:32:25 +00:00
Carsten Haitzler 5e2388c886 _ _ _ _ _____ ___
| | | | ___| | | |  ___| __ ___  ___ _______  ___   / _ \__   _____ _ __
| |_| |/ _ \ | | | |_ | '__/ _ \/ _ \_  / _ \/ __| | | | \ \ / / _ \ '__|
|  _  |  __/ | | |  _|| | |  __/  __// /  __/\__ \ | |_| |\ V /  __/ |
|_| |_|\___|_|_| |_|  |_|  \___|\___/___\___||___/  \___/  \_/ \___|_|


I put E17's wm code into cvs. Hell is freezing over. Duke Nukem Forever will
be out next week. Snowballls take up residence in Hell. The Fat Lady sings.
The End is nigh...

:)


SVN revision: 12247
2004-11-25 03:37:45 +00:00