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-10-14[runtime] Reworked coop GC stack handling in platforms with restricted ↵João Matos
access to register contexts.
2015-10-12Revert "Reworked coop GC stack handling in platforms with restricted access ↵João Matos
to register contexts."
2015-10-12Merge pull request #2101 from tritao/stack-coop-gcRodrigo Kumpera
Reworked coop GC stack handling in platforms with restricted access to register contexts.
2015-10-09[Apple] Disable environment access on Apple platforms that are not OSX.Rodrigo Kumpera
The two known ways to access the environment variables are no longer allowed Apple. Until something blessed by them is found, we'll provide no way to list all the envvars of the current process.
2015-10-08[runtime] Reworked coop GC stack handling in platforms with restricted ↵João Matos
access to register contexts.
2015-09-23Merge pull request #1971 from angeloc/masterMiguel de Icaza
eglib: checking locale_charset function availability
2015-09-10[eglib] Fixed vasprintf function detection.triton
Fixes the Cygwin build, see https://github.com/mono/mono/pull/1966.
2015-09-05eglib: checking for locale_charset functionAngelo Compagnucci
This patch checks if locale_charset function is availabe in libiconv or libcharset and changes the linking options accordingly.
2015-08-18Merge pull request #1983 from saper/noeglibstaticZoltan Varga
Do not build libeglib-static.a
2015-08-17Merge pull request #1870 from saper/langinfo_hRodrigo Kumpera
[eglib] Prefer <langinfo.h> to <localcharset.h>
2015-08-16Do not build libeglib-static.aMarcin Cieslak
1) libeglib.a is already a static library 2) It is not used anywhere, unlike other lib*-static.a libraries in the Mono runtime
2015-08-07Add a conditional for fork and exec* functions.Rolf Bjarne Kvinge
They're not available on WatchOS.
2015-08-06Better handling of vasprintf checkingAngelo Compagnucci
This patch improves the handling of vasprint checking. It switches the unneeded have_vasprintf variable with the AC_CHECK_FUNCS defined ac_cv_func_vasprintf one.
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-12[eglib] Prefer <langinfo.h> to <localcharset.h>Marcin Cieslak
For platforms that have external libiconv located in some non-default directory (e.g. /usr/local/lib) it is very difficult to force libtool to pick up a static libiconv.a when needed. We currently build eglib as a static library, and then we continue to link eglib (with -leglib) to other binaries and libraries. As -leglib is a static library, we should either 1) incorporate the contents of libiconv.a into libeglib.a (therefore we would _require_ libiconv.a to be installed). 2) prepare stub libiconv.la file and provide it to all libeglib.a consumers as a dependency. We should not just detect HAVE_LOCALCHARSET_H, add it to CPPFLAGS and then continue without linking libiconv properly as a static library; This manifests with the error message during linking: gunicode.c:223: undefined reference to `locale_charset' This workaround makes us look for <langinfo.h> first, which - if available - will be there in the standard C library. This fixes the gunicode.c problem for FreeBSD and similar platforms, that may install GNU iconv as an add-on library.
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.