Vadim Zeitlin
5f11fef543
use the encoding of the font which is used to draw the text when convering it to UTF-8 in wxGTK_CONV; the old wxGTK_CONV renamed to wxGTK_CONV_SYS (uses system encoding) and used in the contexts where no font is available
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-10 22:22:13 +00:00
Vadim Zeitlin
84a9b3f89e
ISO8859-1 is also supported by GTK+ 2
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-09 20:42:40 +00:00
Włodzimierz Skiba
faa94f3ec8
Final and global PRIOR/NEXT change: keep consistency using only PAGE versions, deprecate old ids, remove rest of build problems with case statemets.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-27 12:25:17 +00:00
Jouk Jansen
aa3310b88d
Committing in .
...
Removing obsolete compiler directives for OpenVMS
Modified Files:
wxWidgets/src/generic/notebook.cpp
wxWidgets/src/univ/notebook.cpp
wxWidgets/src/unix/mimetype.cpp
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-27 09:35:41 +00:00
Vadim Zeitlin
3af9f2de59
added wxStandardPaths::GetResourcesDir() and GetLocalizedResourcesDir()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-25 17:00:40 +00:00
Vadim Zeitlin
cc4d990340
implemented GetPluginsDir() to behave as documented
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-25 14:50:31 +00:00
Vadim Zeitlin
d3b9c6271b
use one #ifdef __VMS instead of doing it in each and every function
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-25 14:47:44 +00:00
Vadim Zeitlin
4907027102
removed wxMac stuff from here, unless I'm missing something this file is not used under Mac at all
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-25 14:42:05 +00:00
Vadim Zeitlin
300ff33dec
don't crash in GetInstallPrefix() if wxTheApp == NULL (especially as we don't need it anyhow)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-25 14:34:27 +00:00
Robert Roebling
2b850ae1a5
Rearrange code to make adding wxMimeTypesManagerFactory
...
at runtim possible.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-17 14:13:02 +00:00
Vadim Zeitlin
1003169e21
added wxDisplayFactoryX11 ctor body
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-16 04:32:42 +00:00
Vadim Zeitlin
0d5b6a403e
linking fixes after last checkin
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-16 04:32:02 +00:00
Vadim Zeitlin
547308b8e6
compilation fixes after last checkin
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-16 04:30:53 +00:00
Vadim Zeitlin
ef1717a963
wxDisplay cleanup/rewrite:
...
- wxDisplay is now a concrete class and uses a pImpl-based design
- got rid of four duplicate but subtly different versions of trivial
single display-only wxDisplay implementation (but 2 versions of Mac
Classic and Mac CoreGraphics implementations each still remain...)
- assorted code simplifications and memory leaks fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-16 04:23:07 +00:00
Vadim Zeitlin
985f824c2b
fixed printf format warnings for all platforms (previous fix for Darwin broke it for Linux)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 16:51:43 +00:00
Vadim Zeitlin
5d0d3e6d72
use %lu and not %d print format for size_t arguments
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 15:14:00 +00:00
Vadim Zeitlin
0aa7c44136
don't require at least 8 bytes of sound data (patch 1340767); do check that we have enough data before reading it (and crashing)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 13:29:05 +00:00
Vadim Zeitlin
8a7fc9b5a7
always return something in GetCommandForVerb() second argument, even if verb not found
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-09 19:09:22 +00:00
Vadim Zeitlin
d6a7ca317f
don't crash if one of GetAllCommands() parameters is NULL (coverity checker CID 11)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 23:47:15 +00:00
Vadim Zeitlin
32592f4a80
fixed yet another memory leak in LoadGnomeDataFromKeyFile() (coverity checker CID 51)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 23:32:09 +00:00
Vadim Zeitlin
926ce9e3ac
fix another memory leak in SetCommand() (coverity checker CID 52)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 23:30:43 +00:00
Vadim Zeitlin
cb0b7b7d81
fix memory leak (coverity checker CID 53)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 23:27:51 +00:00
Vadim Zeitlin
455f6b8d94
fixed memory leaks in case of errors during file load in wxSound::Create() (coverity checker CID 54)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 23:21:08 +00:00
Kevin Hock
b74865fa61
Rearrange and simplify read and error checks, and remove use of MSG_PEEK that is unneeded and not supported on CE anyway [ Modified & Expanded Patch 1428745 ]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-22 01:55:43 +00:00
Jouk Jansen
088af5898e
Committing in .
...
Update of OpenVMS compile support
Modified Files:
wxWidgets/setup.h_vms wxWidgets/src/common/descrip.mms
wxWidgets/src/generic/descrip.mms
wxWidgets/src/gtk/descrip.mms wxWidgets/src/unix/descrip.mms
wxWidgets/src/unix/displayx11.cpp
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-20 13:47:08 +00:00
Jouk Jansen
93d3dbd4b3
Committing in .
...
first version of wxGTK2 for OpenVMS. At present for debugging only.
Modified Files:
wxWidgets/descrip.mms wxWidgets/setup.h_vms
wxWidgets/contrib/src/deprecated/descrip.mms
wxWidgets/samples/minimal/descrip.mms
wxWidgets/src/common/descrip.mms
wxWidgets/src/generic/descrip.mms
wxWidgets/src/gtk/descrip.mms wxWidgets/src/html/descrip.mms
wxWidgets/src/unix/descrip.mms wxWidgets/src/xml/descrip.mms
wxWidgets/src/xrc/descrip.mms
Added Files:
wxWidgets/lib/VMS_GTK2.OPT
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-15 09:33:40 +00:00
Robin Dunn
e17b4db3f8
Applied patch #1431193 : work around for recent fileuri change in mediactrl + fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-14 22:04:49 +00:00
Vadim Zeitlin
8235976431
fixed wxFontMapper behaviour under wxGTK2: it now just maps all encodings to UTF-8
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-12 23:39:55 +00:00
Kevin Hock
c232b3cdc6
Respect the REUSEADDR flag to allow rebinding; bind to local port prior to connecting if a local port is specified; add SO_REUSEPORT wherever SO_REUSEADDR is used if SO_REUSEPORT is defined, otherwise reuse fails on BSD systems (e.g. Mac OS X) [ Extension of patch 1415505 ]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-11 23:43:17 +00:00
Vadim Zeitlin
7ba7c4e62f
use wxDiskspaceSize_t which is long and not wxLongLong if wxUSE_LONGLONG==0 (part of patch 1203970)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-11 16:21:14 +00:00
Mart Raudsepp
27ef4b9b29
I like if things compile with --enable-unicode + --enable-mediactrl. Code shamelessly stolen from src/gtk/app.cpp.
...
gst backend of wxMediaCtrl doesn't seem to be able to load files (at least in unicode) though...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-11 11:47:12 +00:00
Vadim Zeitlin
557002cf81
Ryan's cumulative wxActiveX and media control patch (1427775)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-10 19:37:40 +00:00
Mart Raudsepp
18e989043b
gtk_signal_connect -> g_signal_connect in unix/mediactrl.cpp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-04 01:47:01 +00:00
Włodzimierz Skiba
521bf4ff3e
Include order is wxprec.h=>defs.h=>platform.h=>setup.h so remove explicit setup.h inclusion not touched by chckconf.h.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-26 16:50:23 +00:00
Stefan Neis
f0b805fab6
Fixed "typo".
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-25 17:58:50 +00:00
Stefan Neis
17f66434a4
Cleaned attempts at fixing NetBSD compilation commited in previous version.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-25 14:31:03 +00:00
Stefan Neis
385ebb5d81
Yet another attempt at making the getservbyname_r prototype visible.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-23 22:54:56 +00:00
David Surovell
7c2e5dec5a
cleanup - more reformatting
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-23 04:11:46 +00:00
David Surovell
dfea7acc19
cleanup - heavy reformatting
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-22 21:26:28 +00:00
Robert Roebling
7bc5ddc6e4
Applied MIME-types patch.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-22 13:22:56 +00:00
Julian Smart
b486658282
Applied patch [ 1336712 ] Fix segfault when calling wxThread::Exit()
...
By bdonner
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-17 19:17:40 +00:00
Stefan Neis
539ae551cf
Ensure "reasonable" return values even if none of the #ifdef conditions in
...
wxGet{host,serv}by{name,addr}_r matches.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-14 13:30:58 +00:00
Stefan Neis
127189ebec
Replaced get{host,serv}by{name,addr} by the threadsafe wrappers
...
introduced in the previous revision.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-08 01:33:58 +00:00
David Surovell
1c4cd9e047
minor cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-07 06:09:50 +00:00
Stefan Neis
71b4a9b878
Added thread-safe wrappers for get{host,serv}by{name,addr} to replace the
...
currently still used unsafe versions once possible compilation
problems are sorted out.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-03 16:36:20 +00:00
Julian Smart
789e2d57b8
Use ~/Application Support folder on Mac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-08 21:49:52 +00:00
Vadim Zeitlin
d5437b854c
fixed broken code using readlink(): please don't just cast wxChar * to char *, this doesn't risk to ever work
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-04 13:01:50 +00:00
David Surovell
ca7d651d5d
fixed compilation bug in prior checkin (Pt. 2)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-04 05:00:26 +00:00
David Surovell
9238471679
fixed compilation bug in prior checkin
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-04 01:04:02 +00:00
David Surovell
74ebd40690
fix for bug 1371386, with some minor mods and cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-03 21:17:17 +00:00