summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-08-13Add docsMatthias Clasen3-2/+20
svn path=/trunk/; revision=7346
2008-08-12Don't write the Content-Length header ourselves, WinHttpSendRequest()Tor Lillqvist2-5/+15
2008-08-13 Tor Lillqvist <tml@novell.com> * win32/gwinhttpfileoutputstream.c (g_winhttp_file_output_stream_write): Don't write the Content-Length header ourselves, WinHttpSendRequest() takes care of that when the dwTotalLength parameter is non-zero. Increment offset by the number of actual bytes sent, although I wonder if such a scenario is possible where less than requested would be sent and accepted by the server without errors. svn path=/trunk/; revision=7345
2008-08-12win32/gwinhttpvfs.c win32/gwinhttpvfs.h win32/gwinhttpfile.cTor Lillqvist12-1/+1782
2008-08-13 Tor Lillqvist <tml@novell.com> * win32/gwinhttpvfs.c * win32/gwinhttpvfs.h * win32/gwinhttpfile.c * win32/gwinhttpfile.h * win32/gwinhttpfileinputstream.c * win32/gwinhttpfileinputstream.h * win32/gwinhttpfileoutputstream.c * win32/gwinhttpfileoutputstream.h: New files implementing GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on Windows. The implementation uses the WinHttp API. Both reading and writing are supported, i.e. GET and PUT requests. When writing, each write call is done using a separate PUT request with a Content-Range header. Requests for file URIs and plain pathnames are forwarded to GLocalVfs. * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from WINE. Used as there is no <winhttp.h> bundled with mingw, and requiring people to download the Windows SDK just for this one header is not reasonable. * win32/Makefile.am: Add above files. * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up the plumbing for the above. svn path=/trunk/; revision=7344
2008-08-12Hint about having to include config.hFederico Mena Quintero2-1/+6
2008-08-12 Federico Mena Quintero <federico@novell.com> * glib/gi18n-lib.h: In the #error about having to define GETTEXT_PACKAGE, add a hint about a possibly-missing config.h. Signed-off-by: Federico Mena Quintero <federico@novell.com> svn path=/trunk/; revision=7343
2008-08-12updated hebrew translationYair Hershkovitz2-9/+24
svn path=/trunk/; revision=7342
2008-08-12Updated Thai translation.Theppitak Karoonboonyanan2-11/+14
2008-08-12 Theppitak Karoonboonyanan <thep@linux.thai.net> * th.po: Updated Thai translation. svn path=/trunk/; revision=7341
2008-08-12Updated Basque translation.Inaki Larranaga Murgoitio2-444/+461
2008-08-12 Inaki Larranaga Murgoitio <dooteo@euskalgnu.org> * eu.po: Updated Basque translation. svn path=/trunk/; revision=7340
2008-08-11gfilenamecompleter.c glocaldirectorymonitor.c gmountoperation.cSven Neumann12-51/+65
2008-08-11 Sven Neumann <sven@gimp.org> * gfilenamecompleter.c * glocaldirectorymonitor.c * gmountoperation.c * gunionvolumemonitor.c * gunixmount.c * gunixmounts.c * gunixvolume.c * gunixvolumemonitor.c * gvolumemonitor.c * gwin32mount.c * gwin32volumemonitor.c: use canonical signal names. svn path=/trunk/; revision=7339
2008-08-11Fix a referenceMatthias Clasen2-1/+8
svn path=/trunk/; revision=7338
2008-08-11Bug 547200 – g_utf8_find_next_char() issuesBehdad Esfahbod2-9/+14
2008-08-11 Behdad Esfahbod <behdad@gnome.org> Bug 547200 – g_utf8_find_next_char() issues * glib/gutf8.c: Improve wording about @end arguments in str funcs. svn path=/trunk/; revision=7337
2008-08-11Put a list of the platform-dependent .la files in the subdirectories inTor Lillqvist2-1/+13
2008-08-11 Tor Lillqvist <tml@novell.com> * Makefile.am: Put a list of the platform-dependent .la files in the subdirectories in the platform_deps Make variable, and make libgio-2.0.la depend on that, so that it gets relinked if one of the dependent libraries has changed. svn path=/trunk/; revision=7336
2008-08-10Remove -lwininet which had been added by mistake. We will probablyTor Lillqvist2-1/+7
2008-08-11 Tor Lillqvist <tml@novell.com> * Makefile.am (platform_libadd): Remove -lwininet which had been added by mistake. We will probably eventually be using WinHTTP, not the older WinInet anyway. (Actually I am working on it.) svn path=/trunk/; revision=7335
2008-08-10Fix docs to use "nul-terminated" consistently.Behdad Esfahbod2-5/+9
2008-08-10 Behdad Esfahbod <behdad@gnome.org> * glib/gutf8.c: Fix docs to use "nul-terminated" consistently. svn path=/trunk/; revision=7334
2008-08-10Updated Spanish translationJorge Gonzalez Gonzalez2-17/+29
svn path=/trunk/; revision=7333
2008-08-10Updated Catalan translationGil Forcada Codinachs2-46/+58
svn path=/trunk/; revision=7332
2008-08-10Bug 547080 – g_file_copy leaks expected errorsFelix Riemann2-0/+11
2008-08-10 Felix Riemann <friemann@svn.gnome.org> Bug 547080 – g_file_copy leaks expected errors * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors before trying the next fallback routine. svn path=/trunk/; revision=7331
2008-08-09Bug 535124 – umask 002 not being applied for new directories, new filesLoïc Minier2-0/+16
2008-08-09 Loïc Minier <lool@dooz.org> Bug 535124 – umask 002 not being applied for new directories, new files get the correct umask * gfile.c (g_file_make_directory) (g_file_make_directory_with_parents): Document ownership and permissions of newly created directories as being the default ones of the process. svn path=/trunk/; revision=7330
2008-08-09Updated Portuguese translation.Duarte Loreto2-393/+406
2008-08-09 Duarte Loreto <happyguy_pt@hotmail.com> * pt.po: Updated Portuguese translation. svn path=/trunk/; revision=7329
2008-08-08Fix 'fail' markup test cases to -not- be valid XML 1.1.Ryan Lortie2-1/+8
2008-08-08 Ryan Lortie <desrt@desrt.ca> * tests/markups/fail-32.gmarkup: change &#x10; to &#x0; since the former is no longer a failure. svn path=/trunk/; revision=7328
2008-08-08Bug 546876 -- also update documentation for escape_textRyan Lortie1-0/+7
svn path=/trunk/; revision=7327
2008-08-08Bug 546876 - Modify GMarkup parser to accept &#x1; .. &#x1f;Ryan Lortie2-7/+12
2008-08-08 Ryan Lortie <desrt@desrt.ca> * glib/gmarkup.c: previously the parser only accepted character references for \t \n and \r (as per XML 1.0); now it accepts all of &#x1; .. &#x1f;. svn path=/trunk/; revision=7326
2008-08-08Updated Galician translationIgnacio Casal Quinteiro2-387/+405
svn path=/trunk/; revision=7325
2008-08-08Bug 535124 – umask 002 not being applied for new directories, new filesLoïc Minier2-1/+9
2008-08-08 Loïc Minier <lool@dooz.org> Bug 535124 – umask 002 not being applied for new directories, new files get the correct umask * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of 0755 as umask svn path=/trunk/; revision=7323
2008-08-08Remove unused code. Whitespace cleanup.Tor Lillqvist2-86/+22
2008-08-08 Tor Lillqvist <tml@novell.com> * gwin32mount.c: Remove unused code. Whitespace cleanup. svn path=/trunk/; revision=7322
2008-08-08Put questionable code that didn't actually do anything inside #if 0, andTor Lillqvist2-2/+26
2008-08-08 Tor Lillqvist <tml@novell.com> * gwin32volumemonitor.c (get_connected_drives): Put questionable code that didn't actually do anything inside #if 0, and add a comment wondering what the code was supposed to do. This also gets rid of a leftover debugging printout. svn path=/trunk/; revision=7321
2008-08-08Improve comment.Tor Lillqvist2-12/+12
svn path=/trunk/; revision=7320
2008-08-08Improve comment.Tor Lillqvist2-10/+12
svn path=/trunk/; revision=7319
2008-08-07New functions. (g_file_icon_class_init): Hook them up. InstallPaul Pogonyshev2-6/+68
2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net> * gfileicon.c (g_file_icon_get_property) (g_file_icon_set_property): New functions. (g_file_icon_class_init): Hook them up. Install `GFileIcon:file' property. (g_file_icon_new): Use the property (bug #546132). svn path=/trunk/; revision=7318
2008-08-07Output comment clarifying GPid semantics to glibconfig.h.Tor Lillqvist3-0/+19
2008-08-07 Tor Lillqvist <tml@novell.com> * configure.in: Output comment clarifying GPid semantics to glibconfig.h. * glibconfig.h.win32.in: Ditto here. svn path=/trunk/; revision=7317
2008-08-06Also handle `PROP_USE_DEFAULT_FALLBACKS'. (g_themed_icon_class_init): MakePaul Pogonyshev2-1/+12
2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net> * gthemedicon.c (g_themed_icon_get_property): Also handle `PROP_USE_DEFAULT_FALLBACKS'. (g_themed_icon_class_init): Make `GThemedIcon:use-default-fallbacks' read-write (bug #546483). svn path=/trunk/; revision=7316
2008-08-06Updated Arabic Translation by Khaled Hosny. Djihed Afifi2-456/+449
svn path=/trunk/; revision=7315
2008-08-05Bug 546371 – Improve docs re g_file_monitorBehdad Esfahbod2-1/+8
2008-08-05 Behdad Esfahbod <behdad@gnome.org> Bug 546371 – Improve docs re g_file_monitor * gfilemonitor.c: Mention g_file_monitor() in the docs. svn path=/trunk/; revision=7314
2008-08-05Updated Catalan translationGil Forcada Codinachs3-402/+412
svn path=/trunk/; revision=7313
2008-08-05updated hebrew translationYair Hershkovitz2-401/+409
svn path=/trunk/; revision=7312
2008-08-05sv.po: Updated Swedish translationDaniel Nylander2-576/+593
svn path=/trunk/; revision=7311
2008-08-05Fix a doc issueMatthias Clasen2-2/+8
svn path=/trunk/; revision=7310
2008-08-04Make the union _GSystemThread::data array 8 bytes on Win64. Not that itTor Lillqvist2-0/+11
2008-08-04 Tor Lillqvist <tml@novell.com> * glibconfig.h.win32.in: Make the union _GSystemThread::data array 8 bytes on Win64. Not that it matters as the union contains a pointer also anyway, but for equivalence with the configure- generated glibconfig.h svn path=/trunk/; revision=7309
2008-08-04MSDN says: "Do not cast a pointer to a FILETIME structure to either aTor Lillqvist2-5/+14
2008-08-04 Tor Lillqvist <tml@novell.com> * glib/gmain.c (g_get_current_time): MSDN says: "Do not cast a pointer to a FILETIME structure to either a LARGE_INTEGER* or __int64* value because it can cause alignment faults on 64-bit Windows." So don't do that then. Indeed the code did work randomly on Win64 when compiled with optimisation. svn path=/trunk/; revision=7308
2008-08-04Cosmetics.Tor Lillqvist1-1/+1
svn path=/trunk/; revision=7307
2008-08-04glib/giowin32.c glib/gmain.c glib/gspawn-win32.c Change gssize castsTor Lillqvist5-28/+37
2008-08-04 Tor Lillqvist <tml@novell.com> * glib/giowin32.c * glib/gmain.c * glib/gspawn-win32.c * glib/gspawn-win32-helper.c: Change gssize casts introduced on 2008-07-28 to gintptr casts now that we have that. gssize is as such the same as gintptr on both 32- and 64-bit Windows, but the gintptr name indicates that it is used to hold pointers, i.e. also HANDLEs. svn path=/trunk/; revision=7306
2008-08-04Updated Spanish translationJorge Gonzalez Gonzalez2-432/+423
svn path=/trunk/; revision=7305
2008-08-04Avoid warning on Win64 by using gintptr cast instead if long cast.Tor Lillqvist2-2/+7
2008-08-04 Tor Lillqvist <tml@novell.com> * tests/testglib.c: Avoid warning on Win64 by using gintptr cast instead if long cast. svn path=/trunk/; revision=7304
2008-08-04Bump versionMatthias Clasen2-1/+5
svn path=/trunk/; revision=7303
2008-08-042.13.6GLIB_2_17_6Matthias Clasen95-89/+117
svn path=/trunk/; revision=7301
2008-08-04Forgotten commitMatthias Clasen12-44/+513
svn path=/trunk/; revision=7300
2008-08-04Bump versionMatthias Clasen2-1/+3
svn path=/trunk/; revision=7299
2008-08-042.17.5GLIB_2_17_5Matthias Clasen97-6542/+8337
svn path=/trunk/; revision=7297
2008-08-04Add a 2.18 indexMatthias Clasen2-0/+7
svn path=/trunk/; revision=7296
2008-08-04UpdatesMatthias Clasen2-1/+13
svn path=/trunk/; revision=7295
2008-08-04Bug 546017 – Don't copy attributes when copying a symlinkMatthias Clasen2-1/+20
2008-08-04 Matthias Clasen <mclasen@redhat.com> Bug 546017 – Don't copy attributes when copying a symlink * gfile.c (g_file_copy_attributes): Specify G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to g_file_set_attributes_from_info. Patch by Christian Kellner svn path=/trunk/; revision=7294