Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
275ef5eb
Commit
275ef5eb
authored
Oct 21, 2006
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* update news.
* backport [17230] DnD unicode fixes in wxWidgets
parent
498f44ad
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
15 deletions
+17
-15
NEWS
NEWS
+7
-1
modules/gui/wxwidgets/wxwidgets.hpp
modules/gui/wxwidgets/wxwidgets.hpp
+10
-14
No files found.
NEWS
View file @
275ef5eb
$Id$
Changes between 0.8.5 and 0.8.6:
Changes between 0.8.5 and 0.8.6
-test1
:
--------------------------------
Playlist:
...
...
@@ -11,10 +11,15 @@ Input:
* Support for adding subtitles on the fly
* Fixed MPEG-PS duration calculation
* ATSC support for DVB
* Support for DVR-ms
Decoders:
* Native WMV3 / VC-1 support
* WMA Speech support (through binary codecs)
* VP5/VP6 - Flash Video support
* The True Audio Lossless codec support
* WavPack support
* Improved H264 support (interlaced, speed improvements etc)c
Video output:
* Additional OpenGL effects (cylinder, torus, sphere, ...)
...
...
@@ -34,6 +39,7 @@ Localization:
Developers:
* Updates to the libvlc API
* Fixes for the mozilla and activeX plugins
Changes between 0.8.4a and 0.8.5:
...
...
modules/gui/wxwidgets/wxwidgets.hpp
View file @
275ef5eb
...
...
@@ -110,15 +110,11 @@ DECLARE_LOCAL_EVENT_TYPE( wxEVT_INTF, 1 );
/* From Locale functions to use for File Drop targets ... go figure */
#ifdef wxUSE_UNICODE
#include <wchar.h>
static
inline
char
*
wxDnDFromLocale
(
const
wxChar
*
stupid
)
{
/*
* FIXME: this is yet another awful and ugly bug-to-bug work-around
* for the painfully broken and brain-dead wxWidgets character
* encoding internals. Maybe, one day the wxWidgets team will find out
* and we will have to remove (phew) this kludge or autodetect whether
* to trigger it (damn).
*
* In Unicode mode, wxWidgets will encode file names in the locale
* encoding with each **bytes** (rather than characters) represented
* by a 32 bits unsigned integer. If you are lucky enough to be using
...
...
@@ -128,14 +124,14 @@ static inline char *wxDnDFromLocale( const wxChar *stupid )
* UTF-8 but also Windows-1252(!) and ISO-8859-15(!) or any
* non-western encoding, it obviously fails.
*/
const
wxChar
*
braindead
;
for
(
braindead
=
stupid
;
*
braindead
;
braindead
++
)
;
size_t
i
=
(
braindead
-
stupid
);
char
psz_local
[
i
+
1
];
do
psz_local
[
i
]
=
(
char
)
stupid
[
i
];
while
(
i
--
)
;
size_t
n
=
wcslen
(
stupid
)
;
char
psz_local
[
n
+
1
]
;
for
(
size_t
i
=
0
;
i
<
n
;
i
++
)
psz_local
[
i
]
=
stupid
[
i
];
if
((
n
>=
1
)
&&
(
stupid
[
n
-
1
]
==
'\n'
))
psz_local
[
n
-
1
]
=
'\0'
;
return
FromLocaleDup
(
psz_local
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment