Commit Graph

75 Commits

Author SHA1 Message Date
Mike Blumenkrantz 9e8e755cdf formatting: all at once
SVN revision: 82625
2013-01-11 10:34:29 +00:00
Mike Blumenkrantz 9e207e6f92 conf2
SVN revision: 82078
2013-01-03 14:47:21 +00:00
Mike Blumenkrantz d7bc5ae149 e internal dialogs now correctly remember their maximization state and are now less prone to moving around crazily if e is restarted while they are maximized
SVN revision: 81472
2012-12-20 17:51:42 +00:00
Mike Blumenkrantz 6267cbd223 found a weird bug where sometimes window remembers get saved wrong...add some checks to rescue lost windows like these on startup and unb0rk the related remember
SVN revision: 81467
2012-12-20 15:37:01 +00:00
Mike Blumenkrantz 818881cc77 break after finding matching remember
SVN revision: 79288
2012-11-14 11:41:00 +00:00
Mike Blumenkrantz 1c629696ee e should now remember pre-maximize sizes for windows across restarts
SVN revision: 79287
2012-11-14 11:39:29 +00:00
Mike Blumenkrantz 641e1f92fc fix magic fail with remember idler
SVN revision: 77413
2012-10-04 09:13:48 +00:00
Mike Blumenkrantz 4f4e5c2daa remember window restore cb is now an idler so we don't get a giant block of time where we're restoring dialogs without the user being able to do anything
SVN revision: 77410
2012-10-04 08:31:35 +00:00
Mike Blumenkrantz bdd879e7fc add new flag for preventing a window from being opened on restart by its remember, apply this to both the desktop editor and shelf config dialogs
SVN revision: 77407
2012-10-04 08:11:51 +00:00
Stefan Schmidt 07d8a49d00 e17: Fix memory corruption in e_remember.
Inspired by Daniels ecore mem corruption patch I fixed our coccinelle support
scripts. This one was found by bad-alloc.cocci for example.

SVN revision: 77353
2012-10-03 08:45:40 +00:00
Sebastian Dransfeld 436323bf59 e: cleanup layer handling
It seems people put random numbers as layers, so it is better to define
available layer numbers.

This patch also puts popups below fullscreen windows, as it sucks to get
popups during presentations. A better solution is maybe to put popups
above fullscreen, but have a presentation mode to put fullscreen windows
above popups?

SVN revision: 77293
2012-10-02 08:54:35 +00:00
Mike Blumenkrantz 4a16ecf1c3 ARGHHH just spent an hour trynig to figure out why this was causing a crash! I hate whoever wrote this!!!!!
SVN revision: 75865
2012-08-30 10:18:33 +00:00
Mike Blumenkrantz 3c2e02bf8b prevent module init end event from getting canceled here
SVN revision: 75066
2012-08-10 06:55:41 +00:00
Mike Blumenkrantz b8f439175e new event for remember updates
SVN revision: 74833
2012-08-03 09:38:09 +00:00
Christopher Michael b9508baa0e E: Fix uninitialized variable warning
SVN revision: 74532
2012-07-28 15:00:49 +00:00
Mike Blumenkrantz adfa2b1db1 only find fileman action if necessary
SVN revision: 74493
2012-07-27 14:02:34 +00:00
Mike Blumenkrantz d69338abd4 I couldn't find a better way of preventing the shelf config dialog from being remembered so now I'm blocking it here so it can't break the world
SVN revision: 73284
2012-07-04 13:12:03 +00:00
Mike Blumenkrantz 15ff53e65d fix crash waiting to happen in e_remember
SVN revision: 73282
2012-07-04 12:49:08 +00:00
Mike Blumenkrantz 5d2f230a26 formatting
SVN revision: 73279
2012-07-04 12:32:24 +00:00
Vincent Torri c3b0637802 e17: whitespaces--
SVN revision: 72561
2012-06-21 06:19:43 +00:00
Vincent Torri 2fff3dd83a E17: fix mixed declarations and code
SVN revision: 70975
2012-05-13 17:45:44 +00:00
Eric Schuele 440c33eecf Allow users to remove border resistance on a per border basis.
SVN revision: 56745
2011-02-06 02:04:37 +00:00
Gustavo Sverzut Barbieri 6f2213cb25 convert init/shutdown to EINTERN, move some to _update().
Do not abuse the concept of e_*_init(), make them call-once and those
that needed multiple call are renamed to e_*_update(). To make sure
convert them to EINTERN so the symbols are not exported.

Actually I guess too much is exported as EAPI while they should be
EINTERN, but that would require manual investigation, while this patch
was basically created with sed + grep.



SVN revision: 54795
2010-11-22 15:21:32 +00:00
Sebastian Dransfeld 3c12d4daba __UNUSED__ last
SVN revision: 54193
2010-11-05 18:40:31 +00:00
Christopher Michael da4c295c9f Add unused.
SVN revision: 51322
2010-08-18 19:32:52 +00:00
Lucas De Marchi 6638a10e20 FORMATTING
* Remove vim modelines:
 find . -name '*.[chx]' -exec sed -i '/\/\*$/ {N;N;/ \* vim:ts/d}' \{\} \;
 find . -name '*.[chx]' -exec sed -i '/\/[\*\/] *vim:/d' \{\} \;

* Remove leading blank lines:
 find . -name '*.[cxh]' -exec sed -i '/./,$!d'

If you use vim, use this in your .vimrc:
set ts=8 sw=3 sts=8 expandtab cino=>5n-3f0^-2{2(0W1st0



SVN revision: 50816
2010-08-04 16:57:32 +00:00
Cedric BAIL c6a118d738 * e: remove warning due to Ecore API change.
SVN revision: 49833
2010-06-24 16:19:12 +00:00
Christopher Michael 9956b1d406 Respect internal_no_remember flag.
SVN revision: 45994
2010-02-08 22:48:21 +00:00
Christopher Michael 8dbdeb73da Check event handlers are valid before trying to delete them.
Use PATH_MAX.
Fix formatting/whitespace.



SVN revision: 44990
2010-01-08 20:17:07 +00:00
Hannes Janetzek 5205ef0ec3 remember windows after initialization
SVN revision: 42883
2009-10-05 03:05:50 +00:00
Hannes Janetzek 92476b7b85 fix segv in internal window restore code
SVN revision: 42690
2009-09-25 06:24:48 +00:00
Hannes Janetzek d165e9b349 forgotten parentheses
SVN revision: 42613
2009-09-22 00:08:54 +00:00
Hannes Janetzek a00d0cbf16 --printf
SVN revision: 42611
2009-09-21 23:03:33 +00:00
Hannes Janetzek 55094ac919 append params for dialog to configpath with '::' so the config path MUST not include '::'. e.g. use 'extenstions/shelves::$ID' to start the config dialog for a shelf with id $ID
SVN revision: 42610
2009-09-21 23:02:37 +00:00
Hannes Janetzek 91211ef9c4 reopen fileman and dialog windows after restart of e.
- modules using e_configure_registry_add must be modified to 
  use registry path as window class for this to work
- fileman now uses e_remember to remember position instead of 
  handling it separately
- added option to window remember for remembering dialogs and 
  fileman windows automatically


SVN revision: 42607
2009-09-21 20:36:35 +00:00
Hannes Janetzek 576fde7759 remember internal windows again
SVN revision: 42569
2009-09-19 17:35:18 +00:00
Hannes Janetzek 0d754cef10 more work on e_remember.
SVN revision: 42458
2009-09-13 12:26:29 +00:00
Hannes Janetzek 1c23f38879 delete border remembers.. finally
SVN revision: 42444
2009-09-12 17:26:16 +00:00
Hannes Janetzek 61124c9ee9 remember transient state - do not update
SVN revision: 42439
2009-09-12 12:42:13 +00:00
Hannes Janetzek 7bcc49c2fe - fixed e_remember_default_match to set match values
since these are not set by e_remember_update anymore
- remove E_Remember parameter from e_remmber_update. 
  if update is possible bd->remember is already set
- do not overwrite bordername value of remember on update. 
  should only be set by conf_border dialog
- make sure on update that match values are set otherwise 
  delete remember 


SVN revision: 42435
2009-09-12 11:08:07 +00:00
Hannes Janetzek f9fc3d09aa move applying of remember properties for new windows from e_border to e_remember
SVN revision: 42433
2009-09-12 09:18:41 +00:00
Hannes Janetzek 81a9f94b4c - allow glob matching in window remember -> advanced dialog has now editable entries
- option added to remember desktop file for e window match. 
    means no more ugly openoffice provided icons (= even if i dont use it ..
- e_border: added fallback for transient windows to use .desktop from main window   
- fixed bug in e_remember to not delete all remembers when last item of the conf_remember list is deleted 


SVN revision: 42432
2009-09-12 07:04:32 +00:00
Hannes Janetzek 698aebad53 add option to keep border settings as they are when remember is set
SVN revision: 42430
2009-09-12 03:43:51 +00:00
Hannes Janetzek 97a3564c2d set border remember match entrys only on creation
added text entries for advanced border remember dialog(not editable for now)


SVN revision: 42428
2009-09-12 02:44:41 +00:00
Cedric BAIL f8c05999e4 * e: Cleanup use of Eina data structure.
Patch from Peter van de Werken <pwerken-e@a-eskwadraat.nl>.


SVN revision: 41916
2009-08-21 15:08:49 +00:00
Viktor Kojouharov 4d1fea4705 add fullscreen state remember
SVN revision: 39414
2009-03-08 10:35:05 +00:00
Sebastian Dransfeld 92ff3dab37 Fix callback for list sorting.
SVN revision: 37202
2008-10-27 07:33:21 +00:00
Cedric BAIL 1087de2397 Remove Evas list and replace them with Eina list.
No change for ->next and ->data access right now, as the patch is already
big enough.



SVN revision: 36962
2008-10-22 11:49:33 +00:00
Cedric BAIL 3d6749983b Switch to eina_stringshare.
This could also change the usage of string share in E17.



SVN revision: 36679
2008-10-15 15:12:56 +00:00
Christopher Michael f8bbe02235 Use -1 to sort the remember list. Saves a call to evas_list_count because we
are sorting the whole list anyway.
Fix formatting.
Remove whitespace.


SVN revision: 34598
2008-05-18 17:59:12 +00:00