* Code that we will drop from Mono, because we do not really need this:
- Directory, File manipulation:
-
- g_dir_open, g_dir_close, g_dir_read_name,
- G_FILE_ERROR_*
-
- These will be replaced in io-layer with direct Unix calls.
-
- These will be replaced in metadata with two code paths, native
- Unix and native Windows.
-
Locking:
5 G_LOCK
Important Groups:
- * Pattern Matching
- 2 g_pattern_spec_new
- 2 g_pattern_spec_free
- 2 g_pattern_match_string
-
- * Markup, used to load config files.
- 2 g_markup_parse_context_parse
- 2 g_markup_parse_context_new
- 2 g_markup_parse_context_free
- 2 g_markup_parse_context_end_parse
-
* Process launching
- 1 g_spawn_async_with_pipes
3 g_shell_quote
1 g_shell_unquote
3 g_thread_supported
3 g_thread_init
- * Path string manipulation and utilities.
- 2 g_filename_to_uri
- 2 g_filename_from_uri
-
* Information retrieval
- 2 g_get_current_time
1 g_get_charset
1 g_win32_getlocale
* String manipulation
- 1 g_filename_from_utf8
+ 1 g_filename_from_utf8 [LIMITATION: UTF8 only today]
1 g_ascii_strdown
4 g_strdown
10 g_strlcpy
1 g_strescape
* Character encoding
- 24 g_utf16_to_utf8
- 20 g_utf8_to_utf16
3 g_utf8_validate
3 g_locale_to_utf8
- 3 g_convert
1 g_locale_from_utf8
- * File
- 5 g_file_get_contents
- 11 g_file_test
- 3 g_file_open_tmp
-
- * List
- 3 g_list_insert_before
- 2 g_list_sort
-
* Miscelaneous
- 5 g_newa
3 g_spaced_primes_closest
- 2 g_set_prgname
2 g_printerr
1 g_mem_set_vtable
1 g_log_set_handler
+Remove code from Mono:
+
+ Multi-threaded aware GHashTable.
+ utils/mono-uri.c
+
Macros:
- 7 G_FILE_TEST_IS_DIR
6 G_UNLIKELY
4 G_LIKELY
- 4 G_FILE_TEST_IS_REGULAR
2 G_USEC_PER_SEC
2 G_STRLOC
1 G_SPAWN_SEARCH_PATH
1 G_ALLOC_ONLY
+* Unimplemented, not supported currently:
+
+ 3 g_convert (used for MONO_EXTERNAL_ENCODINGS)
+ g_unichar_tolower Used for deprecated unmanaged string collation
+ g_unichar_type Used for deprecated unmanaged string collation
+
* Dead Code
The GMainLoop code was no longer in use in Mono.
+
+* Windows implementations needed
+
+ Directory, File manipulation:
+
+ g_dir_open, g_dir_close, g_dir_read_name
+
+ We're missing a native windows implementation. The unix one is in place.
+