gedit r5756 - in trunk: . gedit
- From: sfre svn gnome org
- To: svn-commits-list gnome org
- Subject: gedit r5756 - in trunk: . gedit
- Date: Sun, 29 Jul 2007 18:30:40 +0100 (BST)
Author: sfre
Date: 2007-07-29 18:30:40 +0100 (Sun, 29 Jul 2007)
New Revision: 5756
ViewCVS link: http://svn.gnome.org/viewcvs/gedit?rev=5756&view=rev
Added:
trunk/gedit/gedit-gnomevfs-document-saver.c
trunk/gedit/gedit-gnomevfs-document-saver.h
trunk/gedit/gedit-local-document-saver.c
trunk/gedit/gedit-local-document-saver.h
Modified:
trunk/ChangeLog
trunk/gedit/Makefile.am
trunk/gedit/gedit-document-loader.c
trunk/gedit/gedit-document-saver.c
trunk/gedit/gedit-document-saver.h
trunk/gedit/gedit-document.c
Log:
Split GeditDocumentSaver into an abstract class and implementations of it.
Squashed commit of the following:
commit d596dd6b92c2f5435794518ed2108877f4fceadd
Author: Steve FrÃcinaux <code istique net>
Date: Sun Jul 29 19:25:08 2007 +0200
Changelog entry
commit 4bdfba19aea3c8432a59b54163b1b787d62aea16
Author: Steve FrÃcinaux <code istique net>
Date: Sun Jul 29 16:15:19 2007 +0200
Split Saver #7
- mtime is an argument for _save()
- flags is a property of the saver
Rationale: flags is a property of the saving operation, while
mtime is not.
commit c258e85d8c7f4aa77d6557623292d43143d85d51
Author: Steve FrÃcinaux <code istique net>
Date: Sun Jul 29 16:13:20 2007 +0200
Make "flags" a property
commit 727974398df281898e8174c30b0facd5da6d8fc4
Author: Steve FrÃcinaux <code istique net>
Date: Sun Jul 29 16:05:01 2007 +0200
Add back the mtime argument to save()
commit e433bc3e7ce1b5a8ac52998b46205ef49026a7c3
Author: Steve FrÃcinaux <code istique net>
Date: Sun Jul 29 15:53:44 2007 +0200
encoding as a property
commit 930b9aceae9192e934d9983e9fd517b668152a65
Author: Steve FrÃcinaux <code istique net>
Date: Sun Jul 29 15:10:45 2007 +0200
Revert "mtime as a GeditDocumentSaver property"
This reverts commit 16597e20da1f1c769de23bbf01b4a306fe7f8d90.
Reason: the "mtime" property is not a property of the saving operation,
and correspond to two different things (before/after).
commit 16597e20da1f1c769de23bbf01b4a306fe7f8d90
Author: Steve FrÃcinaux <code istique net>
Date: Wed Jul 25 01:30:29 2007 +0200
mtime as a GeditDocumentSaver property
- remove get_mtime method for document
- add properties for encoding and mtime to DocSaver
commit c6289af9d4739c7290edbc079c885f66f6a7ebe1
Author: Steve FrÃcinaux <code istique net>
Date: Wed Jul 25 00:48:59 2007 +0200
Coding style fixes
commit 07367653f664b09bc7f417fcfaba6b047a2b3d01
Author: Steve FrÃcinaux <code istique net>
Date: Tue Jul 24 17:33:34 2007 +0200
Split Saver #5
- Share write_document_content()
commit 83640d21d213f32fd9f5ef150d6ec2c435d1c6a5
Author: Steve FrÃcinaux <code istique net>
Date: Tue Jul 24 16:21:46 2007 +0200
Split the saver #4
- fix a few methods that weren't static
- actually initialize the LocalSaver class
- avoid a double-free crasher in LocalSaver
commit 3e76b38384947c07016b3e3bc43afdcfbc255247
Author: Steve FrÃcinaux <code istique net>
Date: Fri Jul 20 18:15:36 2007 +0200
Split the Saver #3
- finish the factory (gedit_document_saver_new)
commit 0366a09aef6dd196c76abc7047a937821f53ff23
Author: Steve FrÃcinaux <code istique net>
Date: Fri Jul 20 18:03:01 2007 +0200
Split Saver #2
- fix local_path handling in LocalSaver
- fix mtime (get it from GeditDocument)
commit 8ba9dd861dee759c353b4f76e43df76d8dbe8c02
Author: Steve FrÃcinaux <code istique net>
Date: Fri Jul 20 16:18:36 2007 +0200
Split the Saver, #1
This splits GeditDocumentSaver into GeditLocalDocumentSaver and
GeditGnomeVFSDocumentSaver.
It is done in a straightforward manner (ie, I took the Loader API
and used it to adapt the Saver) and still needs some cleanup.
Additionnaly, it hasn't been tested yet.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]