Commit Graph

624 Commits

Author SHA1 Message Date
Sebastian Dransfeld 8691b711a3 formatting.
SVN revision: 29849
2007-05-04 17:45:26 +00:00
Sebastian Dransfeld fc6aa64ea0 Fix environment set.
Better new buffer value.


SVN revision: 29845
2007-05-04 15:02:55 +00:00
rephorm 2a090ac94b fix test
SVN revision: 29838
2007-05-04 03:28:12 +00:00
Sebastian Dransfeld 405dcfc633 implement more of fdo menu layout.
SVN revision: 29805
2007-05-02 19:35:43 +00:00
rephorm e0beb5c67d oops
SVN revision: 29743
2007-04-27 20:02:16 +00:00
rephorm 3aed040af1 This isn't correct.
<Parent>
  <!--
    <!-- comment -->
    <Child>Text</Child>
  -->
</Parent>

Technically would be parsed as:

Parent Tag
  Child Tag
    Text Node - "Text"
  Text Node "-->"

But, we ignore text nodes after the first child node anyway.


SVN revision: 29742
2007-04-27 19:57:39 +00:00
Dan Sinclair 89b58e232d - add test case for incorrect menu name. this currently works correctly.
- add test case for nested comments with tags inside. this test fails.


SVN revision: 29741
2007-04-27 19:48:54 +00:00
Carsten Haitzler 9af768a436 efreet passes make distcheck now.
SVN revision: 29634
2007-04-22 03:53:02 +00:00
Eric Schuele 64f4fbc453 Fix efreet cache_fill issue by guaranteeing we attempt to obtain at least one file in the dir. This allows the idler to run again at a later time.
SVN revision: 29587
2007-04-18 14:18:28 +00:00
Sebastian Dransfeld ece3b075c4 Rename prototype to match function name.
SVN revision: 29543
2007-04-15 17:19:08 +00:00
Sebastian Dransfeld edf0a0942b Use ecore_string_instance so we can do pointer matching instead of string
matching.


SVN revision: 29533
2007-04-15 10:53:54 +00:00
rephorm cd7db5cbdb api change
SVN revision: 29531
2007-04-15 07:50:03 +00:00
rephorm 1b269ba561 leak--
add functions to retrieve a list of desktop categories and a list of desktops in a given category


SVN revision: 29530
2007-04-15 07:24:03 +00:00
rephorm 354550b349 add efreet_util_menus_find()
SVN revision: 29527
2007-04-15 06:16:54 +00:00
rephorm b2aac1d94a don't leak empty menu entries
SVN revision: 29525
2007-04-15 04:54:45 +00:00
rephorm d35772f52a ${XDG_DATA_HOME}/icons should be scanned, not ${XDG_DATA_HOME}
SVN revision: 29524
2007-04-15 04:51:37 +00:00
Sebastian Dransfeld 5e20d74ef1 --
SVN revision: 29497
2007-04-13 16:29:41 +00:00
Sebastian Dransfeld c3056543a1 No need to this as we get the contents of the dir by using remove first.
SVN revision: 29496
2007-04-13 16:29:29 +00:00
Sebastian Dransfeld 814eed1b11 Scan dir before monitoring it.
SVN revision: 29495
2007-04-13 16:28:32 +00:00
Sebastian Dransfeld 1e2ce0a4af This is done.
SVN revision: 29494
2007-04-13 16:06:01 +00:00
Sebastian Dransfeld ea5f208a00 Fix segv. Create struct before adding it to the hash.
SVN revision: 29458
2007-04-10 16:11:54 +00:00
Sebastian Dransfeld 838a4883b7 Don't emit add events during inital scan.
SVN revision: 29456
2007-04-10 07:18:51 +00:00
Sebastian Dransfeld e7107630db Make util optional.
SVN revision: 29452
2007-04-09 12:16:09 +00:00
Sebastian Dransfeld 6d320096e0 Keep track of previous .desktop file on update.
SVN revision: 29395
2007-04-05 21:10:50 +00:00
Sebastian Dransfeld bd2a3953a9 Make sure header variables matches the real variables.
SVN revision: 29393
2007-04-05 20:56:23 +00:00
Sebastian Dransfeld 78cb82439f Events when .desktop files change.
SVN revision: 29392
2007-04-05 20:53:43 +00:00
Sebastian Dransfeld c6e4580e33 ++
SVN revision: 29391
2007-04-05 20:34:57 +00:00
Sebastian Dransfeld 0ab450e0f3 Use correct source for desktop.
SVN revision: 29390
2007-04-05 20:29:26 +00:00
Sebastian Dransfeld 9c2d4cf883 This is valid. StartupWMClass can match either name or class, check
http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html


SVN revision: 29389
2007-04-05 20:24:53 +00:00
Sebastian Dransfeld d6277241e0 Prioritize user .desktop files.
SVN revision: 29388
2007-04-05 20:22:58 +00:00
Sebastian Dransfeld 196f55ef54 Remove desktop from menu.
SVN revision: 29371
2007-04-05 12:10:32 +00:00
rephorm 30c129cc88 actually find the extension
SVN revision: 29356
2007-04-04 19:12:42 +00:00
Sebastian Dransfeld 6c73d2b536 --
SVN revision: 29349
2007-04-04 12:03:15 +00:00
Sebastian Dransfeld d4b0093826 Efreet style.
SVN revision: 29348
2007-04-04 12:00:40 +00:00
Sebastian Dransfeld e27e139ac8 Efreet style.
SVN revision: 29347
2007-04-04 11:55:24 +00:00
Sebastian Dransfeld 170542eef2 Drop icons without extenstion
SVN revision: 29346
2007-04-04 11:54:23 +00:00
Sebastian Dransfeld 0a2d7b785e Strip known extensions from icons.
SVN revision: 29345
2007-04-04 11:52:46 +00:00
Sebastian Dransfeld 943b05a5d9 enable sloppy spec by default.
SVN revision: 29339
2007-04-04 10:50:35 +00:00
Sebastian Dransfeld 8ec72de321 Use ifdef instead of if for strict spec.
SVN revision: 29338
2007-04-04 10:41:53 +00:00
Sebastian Dransfeld 1e0ad5e156 Free ecore_string on shutdown.
SVN revision: 29337
2007-04-04 10:29:10 +00:00
Sebastian Dransfeld 4502f59643 If a user adds an extension, we should prefer it.
SVN revision: 29335
2007-04-04 10:18:09 +00:00
Sebastian Dransfeld d043c399f2 ++
SVN revision: 29334
2007-04-04 10:16:24 +00:00
Sebastian Dransfeld 567e91133d Done
SVN revision: 29333
2007-04-04 10:11:26 +00:00
Sebastian Dransfeld 621fd1568b cache monitoring.
SVN revision: 29332
2007-04-04 10:09:20 +00:00
Sebastian Dransfeld 7827e2c598 Efreet style.
SVN revision: 29330
2007-04-04 08:48:29 +00:00
Sebastian Dransfeld 82bf357ecc Formatting.
SVN revision: 29321
2007-04-03 18:43:30 +00:00
Sebastian Dransfeld 4940f1520e Return 0 if we have a match. So don't negate the results from strcmp.
SVN revision: 29319
2007-04-03 18:20:15 +00:00
Dan Sinclair df673740c9 - formatting
SVN revision: 29272
2007-03-31 03:20:53 +00:00
Carsten Haitzler bed74da549 broadcast an event when the desktop list changes
SVN revision: 29270
2007-03-31 01:59:24 +00:00
Carsten Haitzler c3d3de7843 add the ability to have more dirs to search for icons between ~/.icons and
the system icon paths


SVN revision: 29267
2007-03-31 01:16:15 +00:00
rephorm 93f19557db export string_list_split/join until we do a proper catgory selector in e
SVN revision: 29215
2007-03-28 18:04:51 +00:00
Sebastian Dransfeld 19c8c5fc7d Set load_time after read.
SVN revision: 29205
2007-03-27 19:50:57 +00:00
Sebastian Dransfeld 0c5a7e8872 Don't reallocate the Efreet_Desktop on re-read
SVN revision: 29204
2007-03-27 19:41:23 +00:00
Dan Sinclair 5ff16c62f0 - unused
SVN revision: 29199
2007-03-27 16:54:54 +00:00
Dan Sinclair 156a9bcf0f - forgot to update ewl before copying over the css file
SVN revision: 29193
2007-03-27 01:42:17 +00:00
Dan Sinclair f616bc6431 - update doxy to be more like web.enlightenment.org
SVN revision: 29192
2007-03-27 01:31:55 +00:00
rephorm 07eaecce03 cache at actual icon size when doing directory scan.
additionally cache at search size (if different) when doing an icon lookup
this fixes a bug where an icon other than the closest size was getting returned if the exact size didn't exist


SVN revision: 29190
2007-03-26 22:28:28 +00:00
Dan Sinclair 39f502106c - use unsetenv()
SVN revision: 29178
2007-03-26 17:00:17 +00:00
Dan Sinclair f773a5ec9c - fixup icon theme test
SVN revision: 29177
2007-03-26 16:58:27 +00:00
Dan Sinclair 8db01cbf9f - setup the environment between shutdown() and init() in case the init() stuff
access the env.


SVN revision: 29176
2007-03-26 16:53:56 +00:00
Sebastian Dransfeld a76ed70f12 Disable the menu edit test, menu editing does not work well.
SVN revision: 29175
2007-03-26 16:34:45 +00:00
Sebastian Dransfeld da87c81a3b Fix memleaks.
SVN revision: 29174
2007-03-26 16:33:00 +00:00
Dan Sinclair a5c612d485 - better error output
SVN revision: 29173
2007-03-26 16:31:10 +00:00
Sebastian Dransfeld f3b285ee2a id can be NULL
SVN revision: 29172
2007-03-26 16:26:57 +00:00
Sebastian Dransfeld ef78f413da Header cleanup.
SVN revision: 29171
2007-03-26 16:17:40 +00:00
Sebastian Dransfeld f23691cb9e Keep the first element found if there are several with equal properties.
SVN revision: 29161
2007-03-25 22:54:28 +00:00
Sebastian Dransfeld b5f5fbe930 ++
SVN revision: 29157
2007-03-25 22:17:10 +00:00
Sebastian Dransfeld 2eb3195026 Fix memleak
SVN revision: 29153
2007-03-25 21:49:49 +00:00
Sebastian Dransfeld 2be5da9500 ++
SVN revision: 29149
2007-03-25 19:47:07 +00:00
Sebastian Dransfeld 4e0bcbf400 glob searching.
SVN revision: 29143
2007-03-25 19:01:45 +00:00
Sebastian Dransfeld dbbaf405f9 ++--
SVN revision: 29142
2007-03-25 19:00:07 +00:00
Sebastian Dransfeld e3e90a993a search for mime
SVN revision: 29136
2007-03-25 18:17:34 +00:00
rephorm 1d90933a3e todo++
SVN revision: 29135
2007-03-25 17:49:31 +00:00
rephorm c5744e117a don't nuke and rebuild the cache on theme list
SVN revision: 29132
2007-03-25 17:28:49 +00:00
Sebastian Dransfeld b6d1a6a4eb Use ecore_hash_find, no need to loop through the whole hash.
SVN revision: 29130
2007-03-25 16:44:47 +00:00
Sebastian Dransfeld c97009d447 Find desktop by wm_class
SVN revision: 29126
2007-03-25 16:17:19 +00:00
Sebastian Dransfeld 4b25a3e27c Search for desktop with right startup_wm_class.
SVN revision: 29125
2007-03-25 15:52:18 +00:00
Sebastian Dransfeld ed50729a60 Update to match recent API change.
SVN revision: 29124
2007-03-25 15:50:09 +00:00
Sebastian Dransfeld 6f441d94a9 Search in desktop cache.
SVN revision: 29117
2007-03-25 13:43:52 +00:00
Sebastian Dransfeld fe0fbd4189 Memory management
SVN revision: 29114
2007-03-25 13:10:09 +00:00
Sebastian Dransfeld 2f086b0e73 Rename functions.
SVN revision: 29113
2007-03-25 12:57:49 +00:00
Sebastian Dransfeld e164a4edf9 Add caching for system .desktop files.
SVN revision: 29111
2007-03-25 12:47:59 +00:00
Sebastian Dransfeld 4624cd4c09 util init/shutdown last/first
SVN revision: 29107
2007-03-25 11:25:23 +00:00
Sebastian Dransfeld c41773fea6 Position util init/shutdown relative to desktop.
SVN revision: 29106
2007-03-25 10:55:45 +00:00
Sebastian Dransfeld 22394f127f Simplify function.
SVN revision: 29103
2007-03-25 10:49:04 +00:00
Sebastian Dransfeld 23bf91c0a7 Add init/shutdown for util.
SVN revision: 29102
2007-03-25 10:42:28 +00:00
Sebastian Dransfeld d266be8737 ignore generated changelog
SVN revision: 29101
2007-03-25 10:21:46 +00:00
Sebastian Dransfeld 325c33ab84 ++
SVN revision: 29100
2007-03-25 10:18:57 +00:00
Sebastian Dransfeld 5258345822 Use correct variable when searching for .desktop file.
Don't allow missing .desktop files.


SVN revision: 29055
2007-03-24 22:49:59 +00:00
Sebastian Dransfeld 870067d6a9 util to get a desktop by file id.
SVN revision: 29052
2007-03-24 21:59:34 +00:00
Dan Sinclair 5ebad1b1d6 - make this consistent with the rest of the efl
SVN revision: 29043
2007-03-24 19:49:28 +00:00
Dan Sinclair 7458a4a60e - don't use PDFLATEX
SVN revision: 29042
2007-03-24 19:44:33 +00:00
Sebastian Dransfeld cf63e3828d app_dirs isn't a dlist
SVN revision: 29037
2007-03-24 19:01:29 +00:00
kaethorn d1a58cfb5a debianize efreet.
SVN revision: 29018
2007-03-24 16:22:10 +00:00
Sebastian Dransfeld 9f8200fd18 Ignore themes without a name.
SVN revision: 29002
2007-03-24 11:23:29 +00:00
rephorm be98c62a12 fix Cflags
SVN revision: 28980
2007-03-24 02:06:21 +00:00
Sebastian Dransfeld 8311e6db59 Formatting.
SVN revision: 28962
2007-03-23 17:31:01 +00:00
Sebastian Dransfeld dbe28a92ec No longer needed.
SVN revision: 28910
2007-03-22 16:01:20 +00:00
Sebastian Dransfeld dbab9f9419 Ignore generated pkgconfig file.
SVN revision: 28909
2007-03-22 15:56:19 +00:00
Sebastian Dransfeld 7b6395fe4a Link against ecore-desktop if it is required.
SVN revision: 28883
2007-03-22 06:57:17 +00:00
tilman 5dddb73320 pkgconfig
SVN revision: 28864
2007-03-21 17:54:54 +00:00
rephorm b482466910 install efreet_ini.h
SVN revision: 28380
2007-02-17 03:22:12 +00:00
rephorm 9c88e07f13 make sure string is null terminated after char append
SVN revision: 28298
2007-02-09 12:20:49 +00:00
rephorm 8daf0e0341 add a readme
SVN revision: 28292
2007-02-09 08:18:20 +00:00
Sebastian Dransfeld cd5c85a7d2 Function to add a new desktop to an existing menu.
SVN revision: 28283
2007-02-07 02:14:46 +00:00
Sebastian Dransfeld 987db7b896 And remember to add files with function.
SVN revision: 28280
2007-02-07 01:13:08 +00:00
Sebastian Dransfeld b928ccc30c Function to check whether a path resides inside a default directory.
SVN revision: 28279
2007-02-07 01:12:25 +00:00
Sebastian Dransfeld 737ca22148 Quick and dirty saving of a Menu.
SVN revision: 28260
2007-02-06 02:16:33 +00:00
Dan Sinclair b791879d35 - formatting
SVN revision: 28259
2007-02-06 02:04:50 +00:00
Sebastian Dransfeld cbd8c29f4a Declare function.
SVN revision: 28258
2007-02-05 21:39:59 +00:00
Dan Sinclair 1ebb0bad20 - setup the internal types (APPLICATION, DIRECTORY and LINK) to use the type
registration system


SVN revision: 28257
2007-02-05 21:16:55 +00:00
rephorm bbd63d7f6b allow custom types to register a parse function
SVN revision: 28256
2007-02-05 20:23:31 +00:00
Dan Sinclair 90d1031c0e - allow the app to add custom Types to be matched in the .desktop file.
(e17 uses this for Mount and a few other types)


SVN revision: 28251
2007-02-05 02:06:05 +00:00
Dan Sinclair 04bc09ef9f - unused
SVN revision: 28250
2007-02-05 01:39:46 +00:00
Dan Sinclair 2aa4c860ed - update test.desktop file
SVN revision: 28232
2007-02-03 23:13:14 +00:00
Kim Woelders 9ca5985bf6 Quiet!
SVN revision: 28231
2007-02-03 23:03:57 +00:00
Stafford Mitchell Horne c8704062d8 Add a missing test.desktop file. This one allows for the test to pass.
SVN revision: 28227
2007-02-03 20:09:47 +00:00
ningerso 38c73581a5 Remove debugging file.
SVN revision: 28220
2007-02-03 13:51:02 +00:00
ningerso 1b5f3ddd95 Add document generation script.
SVN revision: 28219
2007-02-03 13:13:47 +00:00
ningerso 537e743ff3 Add top level informational files to efreet.
SVN revision: 28218
2007-02-03 13:11:41 +00:00
ningerso 694ced0d1e Makefile.am for test data.
SVN revision: 28217
2007-02-03 13:10:13 +00:00
ningerso fa848a3607 Top level Makefile.am for efreet.
SVN revision: 28216
2007-02-03 13:09:22 +00:00
ningerso b76cc0e170 Freedesktop test files.
SVN revision: 28215
2007-02-03 13:08:15 +00:00
ningerso 9e363d07e9 Initial import of efreet, an implementation of the freedesktop icon and menu
specs.


SVN revision: 28214
2007-02-03 13:05:30 +00:00