summaryrefslogtreecommitdiff
path: root/RENAMING
blob: 4e5f57f9b6709687e7eca56a32162807ba0f206d (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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
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>

--------------------------------------
General terminology -> English changes
--------------------------------------
We want to use "tool bar" as two words since "toolbar" isn't
a real English word. We can't fix GTK or Bonobo's improper use
of "toolbar" but we shouldn't propagate it. In some places we
are already using "tool bar" as two words but we aren't consistent.

classes: NautilusToolbar -> NautilusToolBar
files: nautilus-toolbar.[ch] -> nautilus-tool-bar.[ch],
       nautilus-window-toolbars.c -> nautilus-window-tool-bars.c
Should also search for variable names, etc (being careful not 
to change the Gtk and Bonobo calls)