Renamed TnyHeaderView to TnyGtkHeaderView



This time I will add a little guide:

o. Tell Philip about your renaming plans asap

o. Start with "svn mv"-ing the files. This will not force you into
having to "svn --force mv a b" it later (but that also works with svn)

o. cd trunk/bindings/python
o. Modify the tinymail-mylib.override by changing the includes
o. Modify the Makefile.am and rename the .h file here

o. cd trunk/docs/devel/reference/tmpl/
o. Move the filename
o. Modify at least the "SECTION Title" (it will not be regenerated)

o. cd trunk/libtinymail-mylib/
o. Modify the Makefile.am and rename the .c and .h file here
o. Move the filename
o. Modify the .c and .h files:
  o. s/Type/AddType/g
  o. s/TYPE/ADD_TYPE/g
  o. s/type-/add-type-/g
  o. s/type_/add_type_/g
  o. Let the constructor return the interface type
o. Try to compile
  o. Change the #includes of all other files
  o. Change the non-interface method-calls of all other files
    o. Typical is the constructor
o. Update the ChangeLog file

Or

o. Write down which svn commands you had to do
o. svn diff > patch

Or

o. Check your changes with svn diff and svn status
o. commit

Example ... (gives you an overview of the files to change)

pvanhoof lort:~/repos/tinymail/tinymail/trunk$ svn commit -m "Renamed
TnyHeaderView to TnyGtkHeaderView"
Sending        trunk/ChangeLog
Sending        trunk/bindings/python/tinymailui-gtk.override
Sending        trunk/bindings/python/Makefile.am
Adding         trunk/docs/devel/reference/tmpl/tny-gtk-header-view.sgml
Deleting       trunk/docs/devel/reference/tmpl/tny-header-view.sgml
Sending        trunk/libtinymailui-gtk/Makefile.am
Adding         trunk/libtinymailui-gtk/tny-gtk-header-view.c
Adding         trunk/libtinymailui-gtk/tny-gtk-header-view.h
Sending        trunk/libtinymailui-gtk/tny-gtk-msg-view.c
Sending        trunk/libtinymailui-gtk/tny-gtk-msg-view.h
Sending        trunk/libtinymailui-gtk/tny-gtk-msg-window.c
Sending        trunk/libtinymailui-gtk/tny-gtk-msg-window.h
Deleting       trunk/libtinymailui-gtk/tny-header-view.c
Deleting       trunk/libtinymailui-gtk/tny-header-view.h
Sending        trunk/libtinymailui-mozembed/tny-moz-embed-msg-view.c
Transmitting file data ...........
Committed revision 861.
pvanhoof lort:~/repos/tinymail/tinymail/trunk$

-- 
Philip Van Hoof, software developer at x-tend 
home: me at pvanhoof dot be 
gnome: pvanhoof at gnome dot org 
work: vanhoof at x-tend dot be 
http://www.pvanhoof.be - http://www.x-tend.be




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]