src/cmd/fsexam/ChangeLog
changeset 149 0014c9b031e9
equal deleted inserted replaced
148:91c620d9e52f 149:0014c9b031e9
       
     1 2007-07-13 Yandong Yao <[email protected]>
       
     2 
       
     3 	Fix bug: when the initial log file is NULL, can not set new log file
       
     4 
       
     5 2006-07-21 Yandong Yao <[email protected]>
       
     6 
       
     7 	Change License to CDDL
       
     8 
       
     9 2005-03-14  Federic Zhang <[email protected]>
       
    10 
       
    11 	Add GPL information in source files and header files
       
    12 
       
    13 2005-01-28  Yong Sun <[email protected]>
       
    14 
       
    15 	* src/fsexam-history.c: (serialize_history_item),
       
    16 	(deserialize_history_data):
       
    17 	Use "ESC" (i.e., \27) as the separator instead of "\t".
       
    18 
       
    19 2004-11-04  Yong Sun <[email protected]>
       
    20 
       
    21 	* src/fsexam-content.c: (is_plain_text_by_locale),
       
    22 	(encoding_to_locale), (fsexam_content_check_filetype),
       
    23 	(fsexam_content_check_plain_text): refine the judgement of plain text file.
       
    24 
       
    25 2004-11-01  Yong Sun <[email protected]>
       
    26 
       
    27 	* src/fsexam-history.c: (serialize_history_item): Only persist history items of convert action,
       
    28 	  not reverse action.
       
    29 
       
    30 	* src/fsexam-content.c: (fsexam_content_get_selection): Deal with null selection for preview
       
    31 
       
    32 2004-10-25  Yong Sun <[email protected]>
       
    33 
       
    34 	* data/fsexam.desktop.in: The desktop.in file should only mark the
       
    35 	translatable messages.
       
    36 
       
    37 2004-09-21  Yong Sun <[email protected]>
       
    38 
       
    39 	* src/fsexam-preference.c: (create_encodings_treeview): Do not show a
       
    40 	  empty header in encoding list (gtk_tree_view).
       
    41 
       
    42 2004-09-13  Yong Sun <[email protected]>
       
    43 
       
    44 	* src/fsexam-history.c: re-implement history functions. Save history
       
    45 	  items as plain text file.
       
    46 
       
    47 2004-09-09  Yong Sun <[email protected]>
       
    48 
       
    49 	* src/fsexam-content.c: (fsexam_content_check_filetype), (fsexam_content_check_plain_text):
       
    50 	Add guess list, and loop this list, to find out whether it's a text file. We have to set 
       
    51 	LC_CTYPE for non_UTF-8 chinese locales, so that we could expect file utility could return 
       
    52 	correct result.
       
    53 
       
    54 2004-09-06  Yong Sun <[email protected]>
       
    55 
       
    56 	* src/fsexam-history.c: (fsexam_history_update), (fsexam_history_close):
       
    57 	If there is not new history items added, do not invoke the fwrite,
       
    58 	which in Solaris will duplicate all previous contents.
       
    59 
       
    60 	* src/fsexam-ui.c: (fsexam_about): Add Yong to the author list.
       
    61 
       
    62 2004-09-06  Yong Sun <[email protected]>
       
    63 
       
    64 	* src/fsexam-content.c: (fsexam_content_check_plain_text): chop '\n' from the status message
       
    65 	* src/fsexam-content.c: (fsexam_content_undo): check whether the file is mepty
       
    66 
       
    67 2004-09-03  Yong Sun <[email protected]>
       
    68 
       
    69 	* src/fsexam-dnd.c: (drag_data_received_callback): update status bar
       
    70 	after dnd operation.
       
    71 
       
    72 2004-09-03  Federic Zhang <[email protected]>
       
    73 
       
    74 	* src/fsexam.c: (main): Load ${HOME}/Documents if launch from Launch->Applications->Utility,
       
    75 	otherwise, load current directory if launch it on terminal.
       
    76 
       
    77 2004-08-31  Yong Sun <[email protected]>
       
    78 
       
    79 	* src/fsexam-content.c: set LC_MESSAGES=c when we use file utility to
       
    80 	get file type.
       
    81 	
       
    82 2004-08-27  Federic Zhang <[email protected]>
       
    83 
       
    84 	Got final version of file from Gnome Documentation team.
       
    85 	* help/C/fsexam-C.omf, fsexam.xml:
       
    86 	* help/zh_CN/fsexam-zh_CN.omf, fsexam.xml:
       
    87 
       
    88 2004-08-27  Federic Zhang <[email protected]>
       
    89 
       
    90 	Follow the UI spec, put fsexam to Launch->Application->Utility
       
    91 	* data/fsexam.desktop.in:
       
    92 
       
    93 2004-08-24  Federic Zhang <[email protected]>
       
    94 
       
    95 	Package for build 17. Fix bug 5089799 for Solaris.
       
    96 	* src/fsexam-content.c: (fsexam_content_check_filetype): Convert the output of 'file'
       
    97 	into UTF8 and check whether the output contains the localized 'text'.
       
    98 	* src/fsexam-ui.c: (fsexam_treeitem_create): Fix one qsort problem.
       
    99 
       
   100 2004-08-23  Federic Zhang <[email protected]>
       
   101 
       
   102 	Candiate for build 17.  multiple selection conversion is supported now
       
   103 	and use better format to display conversion information in report pane
       
   104 	and write Undo/Reverse message into the report pane too.
       
   105 	* src/encoding.c: (init_encode): Fix bug 5089798 by checking the return value
       
   106 	of g_iconv_open.
       
   107 	* src/fsexam-content.c: (fsexam_content_check_filetype),
       
   108 	(fsexam_content_convert_file),
       
   109 	(fsexam_content_convert_single_selection),
       
   110 	(fsexam_content_convert), (fsexam_content_undo),
       
   111 	(fsexam_content_get_selection), (fsexam_content_peek): Compare localized 'text'
       
   112 	as the output of 'file' utility is localized in Solaris. Support multiple selection
       
   113 	for content conversion. Write more detailed message on statusbar.
       
   114 	* src/fsexam-content.h:
       
   115 	* src/fsexam-conversion.c: (fsexam_convert_with_candidates),
       
   116 	(write_to_buffer_in_report_pane), (write_to_report_pane),
       
   117 	(fsexam_filename_convert_file),
       
   118 	(fsexam_filename_convert_single_selection),
       
   119 	(fsexam_filename_convert), (fsexam_do_reverse),
       
   120 	(fsexam_reverse_single_selection), (fsexam_reverse), (fsexam_undo):
       
   121 	Initialize 'indexg' when press the 'Close' button.
       
   122 	Support multiple selection for filename conversion and use better format to 
       
   123 	display conversion information in report pane.	
       
   124 	* src/fsexam-history.c: correct the MATCH_CONVTYPE macro
       
   125 	* src/fsexam-ui.c: (fsexam_construct_ui): enable multiple selection
       
   126 
       
   127 2004-08-23  Yong Sun <[email protected]>
       
   128 
       
   129 	* fsexam.sol.spec: Add .desktop and omf files to pkgbuild
       
   130 
       
   131 2004-08-23  Yong Sun <[email protected]>
       
   132 
       
   133 	* configure.in: Hardcoded locale dir to %{prefix}/share/locale
       
   134 	* fsexam.sol.spec: Add mo files for pkgbuild
       
   135 
       
   136 2004-08-17  Yong Sun <[email protected]>
       
   137 
       
   138 	Fix the online help launch problem
       
   139 	* fsexam.spec: add scrollkeep-update to register the omf file
       
   140 	* help/C/fsexam-C.omf: have unique seriesid and correct the url info
       
   141 	* help/zh_CN/Makefile.am:
       
   142 	* help/zh_CN/Makefile.in:
       
   143 	* help/zh_CN/fsexam-zh_CN.omf: have unique seriesid and correct the url info
       
   144 	* help/zh_CN/fsexam.xml: correct the lang attribute
       
   145 	* src/fsexam-preference.c: (show_help): specify the fsexam-prefs location
       
   146 	* src/fsexam-ui.c: (show_help): specify the fsexam-intro location
       
   147 	* src/fsexam.c: (main): Correct the GNOME_PARAM_APP_DATADIR value
       
   148 
       
   149 2004-08-11  Federic Zhang <[email protected]>
       
   150 
       
   151 	* Dump to 0.3
       
   152 
       
   153 	Drag the "Documents" and "Trash" icon on desktop is supported and UI polish
       
   154 	* help/C/fsexam.xml: Modified according to the last change with UI polish
       
   155 	* help/zh_CN/fsexam.xml:
       
   156 	* src/fsexam-content.c: (fsexam_content_get_selection): UI polish
       
   157 	* src/fsexam-dnd.c: (drag_data_received_callback):
       
   158 	* src/fsexam-preference.c: (create_pref_dialog): UI polish
       
   159 	* src/fsexam-ui.c: (fsexam_construct_menu): UI polish
       
   160 
       
   161 2004-08-10  Federic Zhang <[email protected]>
       
   162 
       
   163 	UI polish and simplify the fsexam_content_undo API
       
   164 	* src/fsexam-content.c: (include_windows_carriage_return),
       
   165 	(fsexam_content_convert_file), (fsexam_content_undo):
       
   166 	* src/fsexam-content.h:  Write more descriptive message to statusbar
       
   167 	for ConvContent, ConvContentWithCRLF, ConvContentCRLFOnly.
       
   168 	Simplify the fsexam_content_undo API.
       
   169 	* src/fsexam-conversion.c: (write_to_buffer_in_report_pane),
       
   170 	(write_to_report_pane), (fsexam_do_reverse), (fsexam_reverse),
       
   171 	(fsexam_undo): Write the correct history item within fsexam_reverse.
       
   172 
       
   173 2004-08-09  Federic Zhang <[email protected]>
       
   174 
       
   175 	Implement Undo to act as 'Cancel the last action that user makes".
       
   176 	Define new member, 'serial', in history item to implement group Undo.
       
   177 	New conversion type, ConvContentWithCRLF, ConvContentCRLFOnly,
       
   178 		ConvContentWithCRLFReverse, ConvContentCRLFOnlyReverse
       
   179 	    to do automatic conversion from '\r\n' to '\n'.
       
   180 	* src/encode.h:
       
   181 	* src/encoding.c: (decode_analyzer):
       
   182 	* src/fsexam-content.c: (exclude_windows_carriage_return),
       
   183 	(include_windows_carriage_return), (fsexam_content_convert_file),
       
   184 	(fsexam_content_undo):
       
   185 	* src/fsexam-content.h:
       
   186 	* src/fsexam-conversion.c: (fsexam_undo_insert),
       
   187 	(fsexam_undo_remove), (fsexam_undo_removeall),
       
   188 	(write_to_buffer_in_report_pane), (write_to_report_pane),
       
   189 	(fsexam_filename_convert_file), (fsexam_filename_convert_dir),
       
   190 	(fsexam_do_reverse), (fsexam_reverse), (get_relative_name),
       
   191 	(fsexam_undo):
       
   192 	* src/fsexam-conversion.h:
       
   193 	* src/fsexam-history.c: (fsexam_history_locate_with_serial),
       
   194 	(fsexam_history_get_serial), (fsexam_history_put),
       
   195 	(fsexam_history_get_reverse),
       
   196 	(fsexam_history_get_reverse_by_value2),
       
   197 	(fsexam_history_get_reverse_by_value),
       
   198 	(fsexam_history_get_reverse_after), (fsexam_history_undo),
       
   199 	(fsexam_history_close):
       
   200 	* src/fsexam-history.h:
       
   201 	* src/fsexam-ui.c: (get_file_pixbuf), (fsexam_chooser_dir),
       
   202 	(fsexam_construct_menu):
       
   203 	* src/fsexam.h:
       
   204 
       
   205 2004-08-09  Federic Zhang <[email protected]>
       
   206 
       
   207         * src/fsexam-dnd.c: (drag_data_received_callback):
       
   208         fsexam will crash when drag "This Computer" or "Documents" on desktop to desktop,
       
   209         fix it by checking whether the local_path is NULL or not
       
   210 
       
   211 2004-08-04  Federic Zhang <[email protected]>
       
   212 
       
   213 	UI polish on the preference dialog
       
   214 	* src/fsexam-preference.c: (set_button_sensitive),
       
   215 	(create_encodings_treeview), (fsexam_pref_set), (show_help),
       
   216 	(create_pref_dialog): Fix 5071819 by packing the Help button into dialog->action_area
       
   217 	* src/fsexam-ui.c: (set_item_collation):
       
   218 
       
   219 2004-08-03  Federic Zhang <[email protected]>
       
   220 
       
   221 	* src/fsexam-ui.c: (key_press_event), (tree_popup_handler),
       
   222 	(fsexam_construct_ui): Double click the left button or press Space will
       
   223 	invoke fsexam_filename_convert.	
       
   224 
       
   225 2004-08-02  Federic Zhang <[email protected]>
       
   226 
       
   227 	Add themed mimetype icons for each file and folder and
       
   228 	port to gtk-2.4 file selector.
       
   229 	* src/fsexam-ui.c: (get_file_pixbuf), (fsexam_treeitem_create),
       
   230 	(treemodel_create_with_treeitem), (fsexam_treeview_expand),
       
   231 	(fsexam_treemodel_create_with_treeitem), (fsexam_chooser_dir),
       
   232 	(fsexam_construct_ui): New get_file_pixbuf to get icon for each file
       
   233 	and folder.
       
   234 	* src/fsexam.c: (main): Initialize the pixbuf_hash table.
       
   235 	* src/fsexam.h: new pixbuf_hash variable and ICON_COLUMN.
       
   236 
       
   237 2004-07-30  Federic Zhang <[email protected]>
       
   238 
       
   239 	Enable the drag-n-drop from nautilus to fsexam
       
   240 	* configure.in: Add the dependency on eel-2.0
       
   241 	* src/fsexam-ui.c: (fsexam_treeview_set_title),
       
   242 	(fsexam_treeview_construct), (fsexam_treeview_reconstruct),
       
   243 	(fsexam_construct_ui): Set mainwin as potential drop destination
       
   244 	* src/fsexam.h: export fsexam_construct_ui
       
   245 	* src/fsexam-dnd.h, fsexam-dnd.c: Define drag_data_received_callback
       
   246 
       
   247 2004-07-23  Federic Zhang <[email protected]>
       
   248 
       
   249 	Cinnabar for Solaris Beta build 15
       
   250 	* fsexam.sol.spec: Remove fsexam.desktop in order not to let fsexam 
       
   251 	  exists on Application --> Accessories menu.
       
   252 
       
   253 2004-07-20  Federic Zhang <[email protected]>
       
   254 
       
   255 	UI Polish to try to conform to HIG.
       
   256 	Rewrite the fsexam_construct_menu to make its struct flexible and fix those
       
   257 	mnomenic and accelerator problems on MENUBAR
       
   258 	* src/fsexam-conversion.c: (is_dummy_iter):
       
   259 	* src/fsexam-ui.c: (fsexam_treeview_set_title),
       
   260 	(fsexam_chooser_dir), (append_menuitem), (append_stock_menuitem),
       
   261 	(append_check_menuitem), (set_menuitem_text),
       
   262 	(fsexam_construct_menu), (fsexam_construct_ui):
       
   263 
       
   264 2004-07-15  Federic Zhang <[email protected]>
       
   265 
       
   266 	Use variable argument list in iterate_encode_with_func to make it more powerful
       
   267 	* src/encode.h: variable argument list for iterate_encode_with_func
       
   268 	* src/encoding.c: (get_encode_elements),
       
   269 	(iterate_encode_with_func), (translate_encode_index): Change
       
   270 	translate_encode_index to become one func example for iterate_encode_with_func
       
   271 	and break within iterate_encode_with_func once the specified func retruns FALSE
       
   272 	* src/fsexam-content.c: (fsexam_content_construct_ui):
       
   273 	* src/fsexam-conversion.c: (fsexam_convert_construct_ui),
       
   274 	(fsexam_convert_with_candidates), (write_to_buffer_in_report_pane),
       
   275 	(write_to_report_pane): New write_to_buffer_in_report_pane which has six
       
   276 	arguments
       
   277 
       
   278 2004-07-14  Federic Zhang <[email protected]>
       
   279 
       
   280 	* src/fsexam-ui.c: (set_item_collation), (fsexam_treeitem_create):
       
   281 	Don't display hidden files and fix the wrong collation problem with
       
   282 	set_item_collation
       
   283 
       
   284 2004-07-13  Federic Zhang <[email protected]>
       
   285 
       
   286 	Package build 14 - Simplify source by introducing iterate_encode_with_func ()
       
   287 	* src/encode.h: New APIs get_encode_elements and iterate_encode_with_func
       
   288 	* src/encoding.c: (get_encode_elements),
       
   289 	(iterate_encode_with_func): Add iterate_encode_with_func
       
   290 	* src/fsexam-content.c: (fsexam_content_construct_ui),
       
   291 	(fsexam_content_show_candidates): Make call to fsexam_content_construct_ui via
       
   292 	iterate_encode_with_func to construct user interface
       
   293 	* src/fsexam-conversion.c: (fsexam_convert_candidate_set),
       
   294 	(fsexam_convert_construct_ui), (fsexam_convert_with_candidates): Mall call to
       
   295 	fsexam_convert_construct_ui via iterate_encode_with_func to construct user 
       
   296 	interface and fix wrong index problem in write_to_report_pane
       
   297 
       
   298 2004-07-12  Federic Zhang <[email protected]>
       
   299 
       
   300 	Candidate Package build 14
       
   301 	* src/encode.h: export translate_encode_index and get_first_encode_index
       
   302 	* src/encoding.c: (decode_analyzer), (translate_encode_index): Translate the index
       
   303 	of current conversion selection into the index in encode list. Return FAIL if conversion
       
   304 	fails. When automatic mode is set, use get_first_encode_index to get first encoding
       
   305 	whose score is HIGH othewise the first encoding whose score is LOW if no HIGH score exists
       
   306 	* src/fsexam-content.c: (fsexam_content_show_candidates),
       
   307 	(fsexam_content_convert_file): Fix wrong index problem with translate_encode_index,
       
   308 	don't try to convert if the file content is legacy encoding already during undo
       
   309 	* src/fsexam-conversion.c: (fsexam_convert_with_candidates),
       
   310 	(fsexam_filename_convert_file): Fix wrong index problem with translate_encode_index
       
   311 	call get_first_encode_index to get best encoding index when automatic mode is set
       
   312 	* data/fsexam.desktop.in, fsexam.schemas.in: Add ISO8859-1 into encode list for european
       
   313 	language
       
   314 	* po/de.po, es.po, fr.po, it.po, ja.po, ko.po, pt_BR.po, sv.po, zh_HK.po, zh_TW.po:
       
   315 	 Sync with G11N workspace
       
   316 
       
   317 
       
   318 2004-07-09  Federic Zhang <[email protected]>
       
   319 
       
   320 	* configure.in: Add 'de, es, fr, it, ko, pt_BR, sv, zh_TW and zh_HK'
       
   321 	  into ALL_LINGUAS.
       
   322 	* data/fsexam.schemas.in: Replace ro with pt_BR
       
   323 	* po/de.po, es.po, fr.po, it.po, ja.po, ko.po, pt_BR.po, sv.po, zh_HK.po, zh_TW.po:
       
   324 	  Add with sample po file
       
   325 
       
   326 2004-07-09  Federic Zhang <[email protected]>
       
   327 
       
   328 	* src/fsexam-content.c: (exclude_windows_carriage_return),
       
   329 	(fsexam_content_convert_file), (fsexam_content_get_sample),
       
   330 	(fsexam_content_peek): Add exclude_windows_carriage_return
       
   331 	to replace the occurrence of \r\n with \n.
       
   332 
       
   333 2004-07-08  Federic Zhang <[email protected]>
       
   334 
       
   335 	* data/fsexam.schemas.in: Correct the encode list for european language according
       
   336 	to http://www.cs.tut.fi/~jkorpela/8859.html.
       
   337 
       
   338 2004-07-08  Federic Zhang <[email protected]>
       
   339 
       
   340 	* src/fsexam-content.c: (fsexam_content_show_candidates),
       
   341 	(fsexam_content_peek):Kill warning
       
   342 	* src/fsexam-conversion.c: (fsexam_filename_rename),
       
   343 	(fsexam_filename_convert_file), (is_dummy_iter),
       
   344 	(fsexam_filename_convert_dir), (fsexam_filename_convert),
       
   345 	(get_iter): Add is_dummy_iter to check whether it is null directory and
       
   346 	write error msg into statusbar if duplicate filename and dirname happens
       
   347 	* src/fsexam-history.c: (fsexam_history_update): Kill warning
       
   348 	* src/fsexam-ui.c: (fsexam_treeview_set_title): Kill warning
       
   349 
       
   350 2004-07-07  Federic Zhang <[email protected]>
       
   351 
       
   352 	* src/fsexam-content.c: (fsexam_content_show_candidates),
       
   353 	(fsexam_content_convert_file): set the label with bold markup, fix the wrong 
       
   354 	GtkAttachOption for vertical resizing and set default window size.
       
   355 	* src/fsexam-ui.c: (fsexam_treeview_expand): Don't delete the dummy iter if it is
       
   356 	null directory and disable row expand.
       
   357 
       
   358 2004-06-29  Federic Zhang <[email protected]>
       
   359 
       
   360 	Package build 13 - UI and OLH freeze for Cinnabar beta
       
   361 	* po/fsexam.pot, zh_CN.po: UI freeze
       
   362 	* data/fsexam.schemas.in: Added the encoding list for de, es, fr, it, ro, sv and kr
       
   363 	* help/C/fsexam.xml: OLH freeze
       
   364 	* help/zh_CN/fsexam.xml: 
       
   365 
       
   366 2004-06-28  Gavin Tu <[email protected]>
       
   367         * help/C/fsexam.xml: complete OLH excepte section 4.3 "Encoding List"
       
   368 
       
   369 2004-06-28  Federic Zhang <[email protected]>
       
   370 
       
   371 	The candidate for build 13 package: Launch peek window from menu item
       
   372 	and use one ugly hack to close the window and add candidate window to
       
   373 	list file content conversion.
       
   374 	* data/fsexam.schemas.in: Added ISO-2002-JP for ja_JP
       
   375 	* src/fsexam-content.c: (widget_destroy), (encode_button_press),
       
   376 	(fsexam_content_show_candidates), (fsexam_content_convert_file),
       
   377 	(fsexam_content_undo), (peekwin_destroy), (fsexam_content_peek):
       
   378 	Use one ugly hack to close the preview window and add candidate window
       
   379 	to display all file content conversion.
       
   380 	* src/fsexam-conversion.c: (write_to_report_pane),
       
   381 	(fsexam_filename_convert_file): Fixed write_to_report_pane 
       
   382 	* src/fsexam-ui.c: (fsexam_construct_menu): Added 'Peek content' menu item.
       
   383 
       
   384 2004-06-25  Federic Zhang <[email protected]>
       
   385 
       
   386 	* src/fsexam-history.c: (fsexam_history_open),
       
   387 	(fsexam_history_update): fix the wrongly used magic number, Add 
       
   388 	fsexam_history_update to update history file at regular intervals
       
   389 	* src/fsexam-history.h: Add the fsexam_history_update ()
       
   390 	* src/fsexam-ui.c: (button_release_event): Fix the event problem
       
   391 	by return either TRUE or FALSE
       
   392 	* src/fsexam.c: (main): Set the timeout to call fsexam_history_update
       
   393 	at one minute interval.
       
   394 
       
   395 2004-06-24  Federic Zhang <[email protected]>
       
   396 
       
   397 	* src/fsexam-content.c: (fsexam_content_check_plain_text),
       
   398 	(fsexam_content_undo), (create_content_pixmap),
       
   399 	(set_window_background), (peek_window_realize),
       
   400 	(update_peek_window), (make_peek_window), (get_upper_left_xy),
       
   401 	(place_peek_window), (fsexam_content_get_sample),
       
   402 	(fsexam_content_peek): Support the peek functionality
       
   403 	* src/fsexam-content.h: Added fsexam_content_peek ()
       
   404 	* src/fsexam-ui.c: (button_release_event), (tree_popup_handler),
       
   405 	(fsexam_construct_ui):
       
   406 	* src/fsexam.h: new global variable 'peekwin' for peek window
       
   407 
       
   408 2004-06-24  Federic Zhang <[email protected]>
       
   409 
       
   410 	* src/fsexam-conversion.c: (fsexam_reverse): when do reverse, if fail to get one
       
   411 	  history item with fsexam_history_get_reverse_by_value, exit it immediately
       
   412 
       
   413 2004-06-24  Federic Zhang <[email protected]>
       
   414 
       
   415 	* src/fsexam-content.c: (fsexam_content_convert): Check whether view->rootdir isn't
       
   416 	  set yet to avoid error.
       
   417 	* src/fsexam-conversion.c: (fsexam_filename_convert),
       
   418 	(fsexam_reverse), (fsexam_undo): Check whether view->rootdir isn't set yet to avoid
       
   419 	  crash.
       
   420 
       
   421 2004-06-24  Federic Zhang <[email protected]>
       
   422 
       
   423 	* src/fsexam-content.c: (fsexam_content_check_filetype),
       
   424 	(fsexam_content_check_plain_text), (fsexam_content_convert_file),
       
   425 	(fsexam_content_get_selection), (fsexam_content_convert),
       
   426 	(fsexam_content_undo): Bugfix and display the filetype information
       
   427 	 into status bar if it isn't plain text file.
       
   428 	* src/fsexam-conversion.c: (write_to_report_pane),
       
   429 	(fsexam_validate_with_newline), (fsexam_filename_convert_file),
       
   430 	(fsexam_do_reverse), (fsexam_reverse): Redefine 'reverse': when do 
       
   431 	 reverse, fsexam will try to convert both file name and file 
       
   432 	 content into native encoding at once. Update the write_to_report_pane
       
   433 	 to write file content converion information into report pane.
       
   434 	* src/fsexam-conversion.h: Export fsexam_validate_with_newline ()
       
   435 	  and write_to_report_pane for file content conversion
       
   436 	* src/fsexam-history.c: (fsexam_history_get_reverse_by_value2):
       
   437 	  Added to get one history item with the same conversion type
       
   438 	* src/fsexam-history.h:
       
   439 	* src/fsexam-ui.c:
       
   440 	* src/fsexam.h: new global variable 'lineoffset' for report pane
       
   441 
       
   442 2004-06-17  Federic Zhang <[email protected]>
       
   443 
       
   444 	* src/fsexam-ui.c: (fsexam_treeitem_create), (show_help),
       
   445 	(fsexam_about), (fsexam_construct_menu), (load_icon),
       
   446 	(fsexam_construct_ui): load_icon is to set the icon for fsexam and
       
   447 	set view->rootdir to NULL if the specified dir doesn't exist
       
   448 	* src/fsexam.h: Added "icon"
       
   449 
       
   450 2004-06-16  Federic Zhang <[email protected]>
       
   451 
       
   452 	file content conversion support
       
   453 	* data/fsexam.schemas.in:
       
   454 	* src/Makefile.am:
       
   455 	* src/Makefile.in:
       
   456 	* src/encode.h:
       
   457 	* src/encoding.c: (init_encode), (destroy_encode),
       
   458 	(decode_analyzer), (cleanup_encode):
       
   459 	* src/fsexam-conversion.c: (fsexam_convert_with_candidates),
       
   460 	(write_to_report_pane), (fsexam_filename_convert_file),
       
   461 	(fsexam_reverse), (fsexam_undo):
       
   462 	* src/fsexam-conversion.h:
       
   463 	* src/fsexam-history.c: (fsexam_history_put),
       
   464 	(fsexam_history_get_reverse),
       
   465 	(fsexam_history_get_reverse_by_value), (fsexam_history_undo),
       
   466 	(fsexam_history_open):
       
   467 	* src/fsexam-history.h:
       
   468 	* src/fsexam-preference.c: (create_fsexam_pref):
       
   469 	* src/fsexam-preference.h:
       
   470 	* src/fsexam-ui.c: (fsexam_construct_menu):
       
   471 	* src/fsexam.c:
       
   472 	* src/fsexam-content.h, fsexam-content.c: added
       
   473 
       
   474 2004-06-16  Federic Zhang <[email protected]>
       
   475 
       
   476 	* Added the 'fsexam_0_1' branch. From now on, the version number will
       
   477 	  be 0.2 by adding the functionality of content conversion.
       
   478 
       
   479 2004-06-15  Federic Zhang <[email protected]>
       
   480 
       
   481 	* src/fsexam-ui.c: (fsexam_treeview_set_title),
       
   482 	(fsexam_treeitem_create), (fsexam_treeview_reconstruct),
       
   483 	(fsexam_construct_ui): added fsexam_treeview_set_title to indicate the current root
       
   484 	directory
       
   485 
       
   486 2004-06-15  Federic Zhang <[email protected]>
       
   487 
       
   488 	* fsexam.spec, fsexam.spec.in: For Cinnabar build 12
       
   489 
       
   490 2004-06-14  Federic Zhang <[email protected]>
       
   491 
       
   492 	* src/fsexam.c: (main): fixed the wrong usage of gnome_program_init ()
       
   493 
       
   494 2004-06-11  Federic Zhang <[email protected]>
       
   495 
       
   496 	* src/fsexam-conversion.c: (fsexam_filename_undo): Check whether rootdir is set or not
       
   497 	  to fix the undo crash.
       
   498 
       
   499 2004-06-08  Gavin Tu <[email protected]>
       
   500 	*  src/fsexam-ui.c: remove menu item "saveAs"	
       
   501 
       
   502 2004-06-01  Gavin Tu <[email protected]>
       
   503 
       
   504 	* todo:add two tasks
       
   505 
       
   506 2004-05-31  Federic Zhang <[email protected]>
       
   507 
       
   508 	* data/fsexam.desktop.in: Corrected the name description for build 11
       
   509 	* fsexam.spec, fsexam.spec.in: updated for build 11
       
   510 	* Makefile.in, src/Makefile.in: Recreated as corresponding Makefile.am
       
   511 	  has been modified
       
   512 	* help/Makefile.in, help/zh_CN/Makefile.in, help/C/Makefile.in: Added
       
   513 
       
   514 2004-05-31  Gavin Tu <[email protected]>
       
   515 	* fsexam.sol.spec:  For Cinnabar build 11, add l10en menu, context-sensitive menu, help, reverse
       
   516 
       
   517 2004-05-28  Gavin Tu <[email protected]>
       
   518  	* fsexam.sol.spec: replace autoconf with autogen.sh
       
   519 
       
   520 2004-05-27  Federic Zhang <[email protected]>
       
   521 
       
   522 	* src/fsexam-conversion.c: Rework on fsexam_filename_reverse ()
       
   523 	* src/fsexam-history.c: replace fsexam_history_item_reverse and fsexam_history_get_by_fullpath
       
   524 	  with fsexam_history_get_reverse and fsexam_history_get_reverse_by_value.
       
   525 	* src/fsexam-history.h:
       
   526 
       
   527 2004-05-27  Gavin Tu <[email protected]>
       
   528 	
       
   529 	* po/zh_CN.po: change translation for "Recursive Mode"
       
   530 
       
   531 2004-05-27  Gavin Tu <[email protected]>
       
   532 	
       
   533 	* src/fsexam-ui.c: add menu item of "Revert"
       
   534 	* src/fsexam-convertion.h: 
       
   535         * src/fsexam-convertion.c:add fsexam_filename_reverse()
       
   536         * src/fsexam-history.c: add fsexam_history_item_reverse(), fsexam_history_get_by_fullpath
       
   537  
       
   538 2004-05-26  Gavin Tu <[email protected]>
       
   539 	
       
   540 	* src/fsexam-ui.c: add context-sensitive menu for treeview
       
   541 
       
   542 2004-05-26  Gavin Tu <[email protected]>
       
   543 	
       
   544 	* configure.in: add three output files, including help/Makefile help/C/Makefile help/zh_CN/Makefile
       
   545 	* Makefile.am:add dirctory "help"
       
   546 	* src/fsexam-ui.c: (show_help), (fsexam_construct_menu):
       
   547 	* help/: add help files for zh_CN and C locales
       
   548 
       
   549 2004-05-25  Gavin Tu <[email protected]>
       
   550 
       
   551 	* autogen.sh: add this file to execute automake,autoconf
       
   552 	* src/Makefile.am: pre-define CPPFLAG, for GNOME_PROGRAM_STANDARD_PROPERTIES
       
   553 	* src/fsexam-preference.c: (show_help): 
       
   554 	* src/fsexam.c: (main): GNOME_PROGRAM_STANDARD_PROPERTIES
       
   555 
       
   556 2004-05-25  Gavin Tu <[email protected]>
       
   557 
       
   558 	* src/fsexam-ui.c: allocate memory for name dynamically, so can deal with very long full dirctory path. 
       
   559 
       
   560 
       
   561 2004-05-25  Gavin Tu <[email protected]>
       
   562 
       
   563 	* src/fsexam-ui.c: add menu item "Save as", add two menu item separator, add some comments 
       
   564 
       
   565 2004-05-21 Gavin Tu <[email protected]>
       
   566 	* src/fsexam-ui.c:gtk_item_factory_create_items() is deprecated, so create menu with fsexam_construct_menu()
       
   567 			  menu can be l10ned.
       
   568  	* po/zh_CN.po: add some menu items, such as "File", "Action", "View", "Help" etc
       
   569 
       
   570 
       
   571 2004-05-20  Federic Zhang <[email protected]>
       
   572 
       
   573 	* autom4te.cache/output.0: Removed
       
   574 	* autom4te.cache/requests: Removed
       
   575 	* autom4te.cache/traces.0: Removed
       
   576 	* autom4te.cache: Removed
       
   577 
       
   578 2004-05-20  Federic Zhang <[email protected]>
       
   579 
       
   580 	* config.h: Removed
       
   581 	* config.log: Removed
       
   582 	* config.status: Removed
       
   583 	* configure: Removed
       
   584 	* fsexam.spec: Updated to use autoconf
       
   585 	* fsexam.spec.in: Updated to use autoconf
       
   586 	* libtool: Removed
       
   587 
       
   588 2004-05-20  Federic Zhang <[email protected]>
       
   589 
       
   590 	* autom4te.cache/output.0:
       
   591 	* autom4te.cache/requests:
       
   592 	* autom4te.cache/traces.0:
       
   593 	* config.log:
       
   594 	* config.status:
       
   595 	* configure:
       
   596 	* libtool:
       
   597 	* todo:
       
   598 
       
   599 2004-05-20  Federic Zhang  <[email protected]>
       
   600 
       
   601         * Have all global variables into FSEXAM_view
       
   602 	* src/fsexam-conversion.c: (fsexam_convert_with_candidates),
       
   603 	(write_to_report_pane), (fsexam_filename_convert_file),
       
   604 	(fsexam_filename_convert_dir), (fsexam_filename_convert),
       
   605 	(fsexam_filename_undo):
       
   606 	* src/fsexam-preference.c: (create_encodings_treeview),
       
   607 	(create_pref_dialog):
       
   608 	* src/fsexam-ui.c: (fsexam_treeitem_create),
       
   609 	(fsexam_treeview_expand), (fsexam_treeview_construct),
       
   610 	(fsexam_statusbar_update), (fsexam_treeview_reconstruct),
       
   611 	(show_report_window), (fsexam_construct_ui):
       
   612 	* src/fsexam.c: (main):
       
   613 	* src/fsexam.h:
       
   614 	* todo:
       
   615 
       
   616 2004-05-17  Federic Zhang  <[email protected]>
       
   617 
       
   618 	* The third package for cinnabar build 10
       
   619 	* po/POTFILES.in, POTFILES, zh_CN.po: updated with intltool-update --pot
       
   620 	* src/fsexam-ui.c: upated to fix one segment error by copying a statically
       
   621 	  allocated buffer into heap
       
   622 
       
   623 2004-05-13  Federic Zhang  <[email protected]>
       
   624 
       
   625 	* candidate for build 10
       
   626 	* Makefile, src/Makefile: deleted
       
   627 	* pixmaps/Makefile.am, Makefile.in, fsexam-icon.png: added
       
   628 	* data/Makefile.am, Makefile.in, fsexam.desktop.in: added the menu
       
   629 	  entry under 'launch' menu.
       
   630 	* data/fsexam.fsexam.in: moved from src to separate data from source
       
   631 	* configure, configure.in, Makefile.in, Makefile.am, src/Makefile.in,
       
   632 	  Makefile.am: updated with automake and separate data from source
       
   633 	* fsexam.spec, fsexam.spec.in: updated to include fsexam.desktop and
       
   634 	  fsexam-icon.png
       
   635 	* src/fsexam-ui.c: added the 'About' window
       
   636 	
       
   637 2004-05-10  Federic Zhang  <[email protected]>
       
   638 
       
   639 	* More stable version as it has been enhanced in following five aspects:
       
   640 		 new Status bar
       
   641 		 recursive mode enabled
       
   642 		 new treeview load on demand
       
   643 		 report pane beautified
       
   644 		 comments
       
   645 	* src/fsexam.h, fsexam-conversion.h: added status bar and new COLUMN type - LOADED_COLUMN
       
   646 	  and export fsexam_filename_get_path ()
       
   647 	* src/fsexam-ui.c fsexam-conversion.c: Added new 'loaded' field to mark if one directory 
       
   648 	  is loaded or not, Replace the old stupid way with 'load on demand', Added status bar to 
       
   649 	  display useful information, Enable recursive mode and Enhance write_to_report_pane ()
       
   650 	  with bold font and color tag and Fix the undo bug by modifying get_iter ()
       
   651 
       
   652 2004-04-29  Federic Zhang  <[email protected]>
       
   653 
       
   654 	* src/fsexam-preference.c, fsexam-preference.h: added code to handle help window
       
   655 	  and sync with encoding change with fsexam_pref_encoding_sync ()
       
   656 	* src/fsexam.c: make a call to fsexam_pref_free () when exit
       
   657 	* src/encoding.c, encode.h, fsexam-preference.c: use destroy_encode () to free
       
   658 	   and the parameter of init_encode () is singly-linked list instead
       
   659 
       
   660 2004-04-29  Federic Zhang  <[email protected]>
       
   661 
       
   662 	* the second pacakge for Cinnabar build09
       
   663 	* src/fsexam-ui.c, encoding.c, fsexam-conversion.c: updated to check permission
       
   664 	  issue when rename and use <Ctrl>+Z as keystroke combination for Undo instead
       
   665 
       
   666 2004-04-27  Federic Zhang  <[email protected]>
       
   667 
       
   668 	* src/fsexam-history.c, fsexam-history.h: added to define the general APIs
       
   669 	  to access the existing conversion information
       
   670 	* src/fsexam-ui.c: updated to free the TreeItem * struct if the current
       
   671 	  directory is changed
       
   672 	* src/Makefile.in, Makefile.am, fsexam.c, fsexam-conversion.c fsexam-preference.c,
       
   673 	  fsexam.h, fsexam-conversion.h:
       
   674 	  updated accordingly
       
   675 
       
   676 2004-04-20  Federic Zhang  <[email protected]>
       
   677 
       
   678 	* rewrite the whole stuff to have better data structure
       
   679 	* the first package for Cinnabar build08
       
   680 
       
   681 2004-04-11  Federic Zhang  <[email protected]>
       
   682 
       
   683 	* Release version 0.1