1. 21 Aug, 2008 10 commits
    • Tor Lillqvist's avatar
      Don't bother compiling the binary compatibility · 54d62aa3
      Tor Lillqvist authored
      2008-08-21  Tor Lillqvist  <tml@novell.com>
      
      	* glib/giowin32.c: Don't bother compiling the binary
      	compatibility g_io_channel_win32_new_stream_socket()
      	function that has not been mentioned in any header since 2.0 on
      	Win64.
      
      	* glib/glib.symbols: Mark it, too, private, and don't export it on
      	Win64.
      
      
      svn path=/trunk/; revision=7384
      54d62aa3
    • Tor Lillqvist's avatar
      Improve run-time warning messages. Drop some #if 0 code. · 5becc45b
      Tor Lillqvist authored
      2008-08-21  Tor Lillqvist  <tml@novell.com>
      
      	* glib/giowin32.c: Improve run-time warning messages. Drop
      	some #if 0 code.
      
      
      svn path=/trunk/; revision=7383
      5becc45b
    • Tor Lillqvist's avatar
      Minor comment improvements. · 2da8893a
      Tor Lillqvist authored
      2008-08-21  Tor Lillqvist  <tml@novell.com>
      
      	* glib/giowin32.c: Minor comment improvements.
      
      
      svn path=/trunk/; revision=7382
      2da8893a
    • Robert-André Mauchin's avatar
      Updated French translation · 3edee5f6
      Robert-André Mauchin authored
      svn path=/trunk/; revision=7381
      3edee5f6
    • Tor Lillqvist's avatar
      Improve last entry · 465d01a8
      Tor Lillqvist authored
      svn path=/trunk/; revision=7380
      465d01a8
    • Johan Dahlin's avatar
      Revert fix for 548689 · f9cc9f4b
      Johan Dahlin authored
      svn path=/trunk/; revision=7379
      f9cc9f4b
    • Johan Dahlin's avatar
      Mark g_object_get_type function as const, it's a fundamental type and can · a12f4b7b
      Johan Dahlin authored
      2008-08-21  Johan Dahlin  <johan@gnome.org>
      
          * gobject.h:
          Mark g_object_get_type function as const, it's
          a fundamental type and can safely marked as const,
          as opposed to traditionally *_get_type functions.
      
      
      svn path=/trunk/; revision=7378
      a12f4b7b
    • Johan Dahlin's avatar
      Bug 548800 – Missing a g_object_get_type function · 306db461
      Johan Dahlin authored
      2008-08-21  Johan Dahlin  <johan@gnome.org>
      
          Bug 548800 – Missing a g_object_get_type function
      
          * gobject.c (g_object_get_type):
          * gobject.h:
          * gobject.symbols:
          Add g_object_get_type
      
      
      svn path=/trunk/; revision=7377
      306db461
    • Johan Dahlin's avatar
      Reverse the order, pointed out by Mitch 'hawkeye' Natter · eb6ae442
      Johan Dahlin authored
      svn path=/trunk/; revision=7376
      eb6ae442
    • Tor Lillqvist's avatar
      Rework the g_poll() implementation on Windows to match poll() semantics · 60568252
      Tor Lillqvist authored
      2008-08-21  Tor Lillqvist  <tml@novell.com>
      
      	* glib/gmain.c: Rework the g_poll() implementation on Windows to
      	match poll() semantics more closely. This makes the test program
      	in bug #468910 behave better and doesn't seem to break anything
      	else.
      
      	If polling several GPollFDs, i.e. messages and/or waitable
      	handles, first check if one or several of them are in the
      	signalled state right away, and return indication for all that are
      	in that case.
      
      	If not, then poll with timeout and indicate only the single one
      	that the Win32 wait function tells us as before.
      
      	Remove unnecessary ifdefs, as we always have G_MAIN_POLL_DEBUG
      	defined on Windows.
      
      	Initialise g_main_poll_debug in g_main_context_new() so we have it
      	before testing it in one case.
      
      	Don't add several copies of a handle in the array of handles to
      	wait for. The documentation says this is not allowed, although it
      	did seem to work fine in practise. But do as the documentations
      	says anyway.
      
      
      svn path=/trunk/; revision=7375
      60568252
  2. 20 Aug, 2008 2 commits
    • Johan Dahlin's avatar
      Bug 548689 – The type name for GParamSpec is wrong · 0f7359d2
      Johan Dahlin authored
      2008-08-20  Johan Dahlin  <johan@gnome.org>
      
          Bug 548689 – The type name for GParamSpec is wrong
      
          * gparam.c (g_param_type_init):
          Register the type name as GParam instead of GParamSpec.
      
      
      svn path=/trunk/; revision=7374
      0f7359d2
    • Tor Lillqvist's avatar
      Bug 500246 - Bug fixes for giowin32 · 971ab2b5
      Tor Lillqvist authored
      2008-08-20  Tor Lillqvist  <tml@novell.com>
      
      	Bug 500246 - Bug fixes for giowin32
      
      	* glib/giowin32.c (read_thread) (write_thread): Change the nbytes
      	variables to signed.
      	(g_io_channel_win32_make_pollfd): Fix an obvious error in the file
      	descriptor case leftover after the patch from bug #333098 on
      	2006-03-02. Thanks to Marcus Brinkmann.
      
      
      svn path=/trunk/; revision=7373
      971ab2b5
  3. 19 Aug, 2008 2 commits
    • Tor Lillqvist's avatar
      Bug 324234 - Using g_io_add_watch_full() to wait for connect() to return · f7f48d5c
      Tor Lillqvist authored
      2008-08-20  Tor Lillqvist  <tml@novell.com>
      
      	Bug 324234 - Using g_io_add_watch_full() to wait for connect() to
      	return on a non-blocking socket returns prematurely
      
      	Bug 548278 - Async GETs connections are always terminated
      	unexpectedly on Windows
      
      	* glib/giowin32.c: Add one more state variable to the
      	GIOWin32Channel struct, ever_writable. Initialise it to FALSE, set
      	to TRUE when the WSAEventSelect() indicates FD_WRITE, and never
      	reset to FALSE.
      
      	Don't do the WSASetEvent() in g_io_win32_prepare() unless
      	ever_writable is TRUE. Don't automatically indicate G_IO_OUT in
      	g_io_win32_check() unless ever_writable is TRUE.
      
      	This fixes the behaviour of the test case program in bug #548278,
      	and the "Testcase for the spurious OUT event bug" in bug
      	#324234. It also doesn't seem to break anything. Not that there is
      	any exhaustive test suite...
      
      	Add a comment with a list of bugs that are related to the code in
      	this file.
      
      
      svn path=/trunk/; revision=7372
      f7f48d5c
    • Luca Ferretti's avatar
      Updated Italian translation. · fcac96ed
      Luca Ferretti authored
      2008-08-19  Luca Ferretti  <elle.uca@libero.it>
      
      	* it.po: Updated Italian translation.
      
      
      svn path=/trunk/; revision=7371
      fcac96ed
  4. 18 Aug, 2008 4 commits
  5. 17 Aug, 2008 2 commits
  6. 16 Aug, 2008 2 commits
  7. 15 Aug, 2008 6 commits
  8. 14 Aug, 2008 5 commits
  9. 13 Aug, 2008 5 commits
    • Tor Lillqvist's avatar
      win32/gwinhttpvfs.c win32/gwinhttpvfs.h win32/gwinhttpfile.c · d5863830
      Tor Lillqvist authored
      2008-08-13  Tor Lillqvist  <tml@novell.com>
      
      	* win32/gwinhttpvfs.c
      	* win32/gwinhttpvfs.h
      	* win32/gwinhttpfile.c
      	* win32/gwinhttpfileinputstream.c
      	* win32/gwinhttpfileoutputstream.c: Refactor some common code
      	snippets into helper functions. Check HTTP response status
      	codes. Implement g_winhttp_file_query_info(), looking at
      	Content-Length, Content-Type and Last-Modified.
      
      	* win32/winhttp.h: Add some symbolic constants that are not
      	publicly documented. Just a handful, so it should be OK to use
      	information from the Windows SDK's headers.
      
      
      svn path=/trunk/; revision=7350
      d5863830
    • Sandeep Shedmake's avatar
      Updated Marathi Translations · d303e316
      Sandeep Shedmake authored
      svn path=/trunk/; revision=7349
      d303e316
    • Sandeep Shedmake's avatar
      Added Marathi Translations · d0eab59f
      Sandeep Shedmake authored
      svn path=/trunk/; revision=7348
      d0eab59f
    • Tor Lillqvist's avatar
      Bug 546582 - Callbacks from GFileMonitor present a GFile in the wrong · 7ffb2b33
      Tor Lillqvist authored
      2008-08-13  Tor Lillqvist  <tml@novell.com>
      
      	Bug 546582 - Callbacks from GFileMonitor present a GFile in the
      	wrong folder
      
      	* win32/gwin32directorymonitor.c
      	(g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
      
      
      svn path=/trunk/; revision=7347
      7ffb2b33
    • Matthias Clasen's avatar
      Add docs · cec561c2
      Matthias Clasen authored
      svn path=/trunk/; revision=7346
      cec561c2
  10. 12 Aug, 2008 2 commits
    • Tor Lillqvist's avatar
      Don't write the Content-Length header ourselves, WinHttpSendRequest() · af8ebc9e
      Tor Lillqvist authored
      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
      af8ebc9e
    • Tor Lillqvist's avatar
      win32/gwinhttpvfs.c win32/gwinhttpvfs.h win32/gwinhttpfile.c · 7261372b
      Tor Lillqvist authored
      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
      7261372b