Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/eglib
AgeCommit message (Collapse)Author
2015-08-05Fixing initialization of have_vasprintfAngelo Compagnucci
This patch initialize properly have_vasprintf in case vasprint function is found. Solves multiple definition of `vasprintf' error in case vasprint is not properly detected.
2015-07-24[eglib] Workaround lack of raise().João Matos
2015-06-11[eglib] Ensures that home and user name always have a non-null value.Rodrigo Kumpera
2015-06-08Override Environment.SpecialFolder.Personal with $HOMEJan Beich
Any port that writes to Environment.SpecialFolder.Personal during build or when running tests may end up with files outside of stage area that aren't cleaned up by the ports framework. The issue lies with Mono looking in /etc/passwd first and only if no entry found there in HOME. Patch based on discussion in https://github.com/mono/mono/pull/371 Obtained from: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193426
2015-03-12[eglib] Fixed file being created without read/write permission on Windows.João Matos
This bug manifested itself as files being written to disk with 0 bytes. Fixes the AOT compiler on Windows not working properly. https://bugzilla.xamarin.com/show_bug.cgi?id=27900
2015-02-26Don't use _NSGetEnviron on arm64.Rolf Bjarne Kvinge
2015-02-13Fix a warning.Zoltan Varga
2015-01-29[eglib] [io-layer] Have a single wrapper around getdtablesize. This removes ↵Rodrigo Kumpera
the duplicate on io-layer and exports the eglib one.
2014-11-26[msvc] duplicate 1d6b8a75fa31d60e9ddbc0b9eddbf05ed3fb6c12 for eglibJo Shields
2014-11-22[runtime] Add a wrapper around atexit () since it is missing on some android ↵Zoltan Varga
versions.
2014-11-22[runtime] Remove another getdtablesize () reference.Zoltan Varga
2014-11-22[runtime] Remove a getdtablesize () reference from eglib too.Zoltan Varga
2014-10-26[build] Enable dolt on mingw32Kornel Pal
2014-09-10[runtime] Redirect runtime logging to asl_log only on ios, not when running ↵Zoltan Varga
the cross compiler.
2014-08-29[eglib] Fix stderr output redirection.Rodrigo Kumpera
2014-08-27[eglib] Fix logging on iOS (asl_vlog != asl_log)Sebastien Pouliot
asl_vlog last parameter is a va_list and giving it a char* leads to crash which calls our native unhandled exception handler, which also tries to log what happens making the watchdog unhappy about the food quality 0x000000008badf00d
2014-08-26[eglib] Fix compilation on PLATFORM_ANDROID.Jonathan Pryor
Compilation of eglib/src/goutput.c was broken in commit 989165e1: mono/eglib/src/goutput.c: In function 'monoeg_log_default_handler': mono/eglib/src/goutput.c:159:75: error: 'args' undeclared (first use in this function) __android_log_vprint (to_android_priority (log_level), log_domain, "%s", args); ^ mono/eglib/src/goutput.c:159:75: note: each undeclared identifier is reported only once for each function it appears in mono/eglib/src/goutput.c: In function 'default_stdout_handler': mono/eglib/src/goutput.c:168:2: error: incompatible type for argument 4 of '__android_log_vprint' __android_log_vprint (ANDROID_LOG_ERROR, "mono", "%s", message); ^ mono/eglib/src/goutput.c:139:0: $ANDROID_NDK_PATH/platforms/android-4/arch-arm/usr/include/android/log.h:109:5: note: expected 'va_list' but argument is of type 'const gchar *' int __android_log_vprint(int prio, const char *tag, ^ mono/eglib/src/goutput.c: In function 'default_stderr_handler': mono/eglib/src/goutput.c:175:2: error: incompatible type for argument 4 of '__android_log_vprint' __android_log_vprint (ANDROID_LOG_ERROR, "mono", "%s", message); ^ (The cause of the breakage is that __android_log_vprint() takes a va_args parameter, which is no longer present in 989165e1.) Use __android_log_write() instead of __android_log_vprint(). Note: __android_log_write() writes a "simple string" to `adb logcat`, meaning there is no printf(3)-style formatting applied.
2014-08-25[eglib] Restore previous defaults for some platforms.Rodrigo Kumpera
2014-08-25[eglib] g_assertion_message should not abort, g_logv will do it.Rodrigo Kumpera
2014-08-25[eglib] Add log/print redirection functions to eglib.Rodrigo Kumpera
2014-07-13[runtime] Remove unused g_thread () functions.Zoltan Varga
2014-06-27Revert "Don't touch internal feature macros in eglib"Rodrigo Kumpera
This reverts commit dd412cfb2e1968f310f454ee2ec303862cb642d2. We need to know what target was broken by this and verify that this won't break the platitude of libc's around. This is currently a non-trivial job, so let's just revert this for now.
2014-06-26Don't touch internal feature macros in eglibJonas 'Sortie' Termansen
The __USE_GNU macro is an internal macro used by glibc to enable the GNU extensions. Programs are instead meant to use the _GNU_SOURCE macro before including any system header. This change is released under the MIT/X11 license.
2014-06-26Use <sys/select.h> to get selectJonas 'Sortie' Termansen
POSIX mandates that select is declared in <sys/select.h> (and in the header <sys/time.h> for compatibility). It would be best to include the new header if it is available. This is already done throughout the source tree, though not in all instances. This change is released under the MIT/X11 license.
2014-06-15[runtime] Enable support for arm64-darwin in dolt.Zoltan Varga
2014-06-13since gerror.c requires vasprintf.h, we need to add that file so that it ↵Timotheus Pokorra
becomes part of the tarball
2014-06-10Attempt to sanitize the `vasprintf` situation in eglib.Alex Rønne Petersen
The problem is that on some platforms we call the function without having provided a prototype for it. This breaks when building with `-Werror`. Now we declare it in the private `vasprintf.h` header when the platform doesn't have a declaration in `stdio.h`. This should also let us remove the hack in `glib.h` for MSVC. This may or may not break the build on some platforms; I've tried on those that I have access to with success. Let me know if this breaks anything.
2014-06-10Add build system plumbing for building with -Werror.Alex Rønne Petersen
2014-06-08Silence another array subscript warning in eglib/src/sort.frag.h.Alex Rønne Petersen
2014-06-07Mark an unused variable as such in eglib/test/file.c.Alex Rønne Petersen
2014-06-07Disable -Warray-bounds in eglib/src/sort.frag.h!insert_list in GCC 4.6.0+.Alex Rønne Petersen
2014-06-05Modified g_assert_not_reached to use g_unreachable.Joao Matos
2014-06-05Added g_unreachable to explicitly notify the compiler of unreachable code.Joao Matos
2014-05-22fix V547 Expression 'index >= 0' is always true. Unsigned type value is ↵Enrico Sada
always >= 0.
2014-05-22fix V547 Expression 'index >= 0' is always true. Unsigned type value is ↵Enrico Sada
always >= 0.
2014-05-10[eglib] Remove test-glib code, we don't have to maintain compatibility with ↵Zoltan Varga
glib any more. Fixes #19638.
2014-04-25Revert "Revert "Merge branch 'master' of https://github.com/mono/mono""Rolf Bjarne Kvinge
This reverts commit 8f09dad4353bb75afebf96ad58d08f7e7f3bf56d. 8f09dad4353bb75afebf96ad58d08f7e7f3bf56d is reverting a merge commit, which will not do what you think it does. It will revert much more, so revert the revert to get back the unintentionally reverted commits. It looks like the next commit (1a15d4ec541eaf20ed78eac53149b1b83e1450fe) is doing the original intention (reverting 164f9cbec4f79cc013c7b1cf674e70e4573f4b36), so this revert will leave the tree in a good state, with no pending reverts.
2014-04-23Revert "Merge branch 'master' of https://github.com/mono/mono"Alexis Christoforides
This reverts commit 9dd632fb9e7197d278bd99152c1c67c6ab51a207, reversing changes made to 164f9cbec4f79cc013c7b1cf674e70e4573f4b36.
2014-04-22[arm64] Add basic port infrastructure.Zoltan Varga
2014-01-17[eglib] Fix a possible memory leak.Rodrigo Kumpera
2013-12-13Merge pull request #806 from AxlPr/masterZoltan Varga
Fixed g_win32_getlocale
2013-12-04Fixed missing pointer conversion tests in sizes.cHans Wolff
Unsigned pointer conversion was not tested at all (looks like a copy & paste mistake)
2013-11-12Fixed g_win32_getlocaleAxlPr
Implemented g_win32_getlocale function to return correct locale.
2013-08-24We have g_getenv for portability reasons, so let's use it.Rodrigo Kumpera
2013-08-15Fix build (giconv.c)Atsushi Eno
2013-08-15[eglib] Fixed g_utf8_to_utf16_general() to handle invalid utf8Jeffrey Stedfast
2013-08-14Fixed a few bugs that were found by Visual Studio's static code analysis.Mark Probst
2013-08-13Improved fix for g_iconv() compiler warningsJeffrey Stedfast
2013-08-13Fixed eglib compiler warnings about g_string_truncate() and g_iconv()Jeffrey Stedfast
2013-06-26Don't try to detect strndup on OS X; it is only available on 10.7+.Martin Potter