summaryrefslogtreecommitdiff
path: root/RENAMING
blob: a860af4f4bda36a4034535f321e74e633b4ee75b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
We put plans for renaming in here so we can think about them for a
while.  Note that when we rename a class, it usually involves renaming
some functions and files too.

When we rename files in the repository, we do it by this process:

  1) copy the file in the repository by logging in and using cp (to retain history)
  2) check out to get the new file
  3) cvs rm to remove the old file on commit
  4) fix all build problems
  5) commit

This retains the history in both the old and new locations.

---------------
directory names
---------------
components/rpmview -> components/rpm

----------
file names
----------
components/html/ntl-web-browser.c -> ?
components/websearch/ntl-web-search.c -> components/websearch/nautilus-web-search.c?
src/file-manager/fm-* -> ?
src/file-manager/dfos* -> ?
src/file-manager/dfos-xfer* -> src/file-manager/copy_engine*

--------------------------
Random vestiges of "ntl"
--------------------------
libntl-file-manager.* -> libnautilus-file-manager.*
*ntl* -> *nautilus*
header file guard #defines, *NTL* -> *NAUTILUS*
	(change to match header file instead with perl script to check?)

----------------------------
classes and other data types
----------------------------
NautilusNavigationInfo -> ?

--------------
function names
--------------
zoom_level_changed -> report_zoom_level_change
nautilus_strlen -> nautilus_null_tolerant_strlen
nautilus_strchr -> nautilus_null_tolerant_strchr
nautilus_strcmp -> nautilus_null_tolerant_strcmp
nautilus_strcasecmp -> nautilus_null_tolerant_strcasecmp
nautilus_str_compare -> nautilus_str_compare_null_tolerant
nautilus_eat_strcmp -> <kill it>