Commit Graph

61 Commits

Author SHA1 Message Date
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
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
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
Vadim Zeitlin
17a1ebd101 first round of Intel compiler warning fixes: down from a few thousands just to slightly more than 100
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 19:59:19 +00:00
Mart Raudsepp
8907154c1a Nuke #pragma implementation/interface's
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-23 12:56:45 +00:00
Włodzimierz Skiba
d0ee33f5c6 '[1219035] cleanup: miscellaneous' and minor source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-13 12:19:33 +00:00
Julian Smart
655719367a Use old licence name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 20:53:33 +00:00
Julian Smart
77ffb5937e Name and version changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 14:56:36 +00:00
Václav Slavík
320c341a10 don't use wxFileConfig to parse kdeglobals, it's not meant for such use. Fixes bug 939195
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-21 13:33:31 +00:00
Vadim Zeitlin
a9a76b2fb8 fixed priority of the mailcap entries (patch 935954)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 22:07:47 +00:00
Robert Roebling
76a6e80383 Applied patch for Intel compiler.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-31 15:43:19 +00:00
Robert Roebling
3d78043440 Fix warning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-15 18:38:36 +00:00
Robert Roebling
ca06ee0df7 wxGPE updates to HEAD.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-15 15:31:39 +00:00
Robert Roebling
16c587ca76 This should work on SuSE and Mandrake icon themes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-15 13:15:50 +00:00
Robert Roebling
1027433607 Slightly less hacky way to get the KDE icon theme name.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-15 12:57:23 +00:00
Robert Roebling
1d529ef7ee Updates to MIME-types and wxFileDialog code for better
native looking image handling.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-15 00:35:16 +00:00
Vadim Zeitlin
70247ce395 instead of ignoring all unknown MIME keywords, ignore only those not starting with x- (this was always the intended effect but it didn't work like this)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-05 19:27:26 +00:00
Václav Slavík
b7c702867a removed unneeded #ifdef
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-16 22:30:54 +00:00
Václav Slavík
14f355c2b5 added support for gcc precompiled headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-09 12:46:53 +00:00
Julian Smart
b8d6102177 Fixed out by one error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-15 10:10:37 +00:00
Vadim Zeitlin
2b6d8c00fc (blind) fix for valgrind error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 09:23:47 +00:00
Mattia Barbon
df5168c427 Added --use-stl to cnfigure, wxUSE_STL to setup0.h
Moved wx/datetime.inl contents to wx/datetime.h and removed
inline redefinition hack.
  Implemented STL-like interface on top of wxList/wxArray, when wxUSE_STL=0.
  Implemented wxList-like and wxArray interfaces on top of std::list and
std::vector, when wxUSE_STL=1.
  Added arrstr.h, moved wxArrayString declaration there; string.h
#includes arrstr.h only if WXWIN_COMPATIBILITY_2_4 is enabled.
  Added WX_CLEAR_HASH_MAP, WX_CLEAR_HASH_TABLE, WX_CLEAR_LIST macros,
to clear a wxHashMap, wxHashTable, wxList containing pointers: deletes
pointers and makes container zero-sized.
  When wxUSE_STL=1, wxStringList works like a std::list<wxString>.
  Made wxBase compile when wxUSE_STL=1.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 19:52:35 +00:00
Vadim Zeitlin
c41dbc2085 missing wx/iconloc.h added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-25 00:10:07 +00:00
Mattia Barbon
a49686b4c2 Compilation fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-23 21:06:18 +00:00
Vadim Zeitlin
da0766ab2a GetIcon() returns wxIconLocation, not wxIcon, now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-23 13:49:24 +00:00
Julian Smart
6aa89a22b8 Fixed copyrights and licence spelling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-17 11:55:54 +00:00
Vadim Zeitlin
2b293fc78f fixed memory leak (patch 685580)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-02 23:18:26 +00:00
Vadim Zeitlin
70687b638d silently ignore any X-fields in mime.types
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-31 23:09:35 +00:00
Robert Roebling
e3cff1fbb7 Uncommented warning that causes crashes while
reading .mime.types.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-31 21:56:09 +00:00
Václav Slavík
25d599ae91 fixed loading of GNOME2 mime icons (still not working as desired)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-26 20:56:31 +00:00
Vadim Zeitlin
2b5f62a0b2 merged 2.4 branch into the trunk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-04 14:11:26 +00:00
Vadim Zeitlin
678ebfcdae attempts to fix wxMimeTypesManager mess: many bugs (entries priority, memory leaks, ...) fixed, but probably even more left
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-10 15:59:34 +00:00
Gilles Depeyrot
d84afea9d1 corrected warnings when compiling with -Wall -W
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-07 21:58:27 +00:00
Julian Smart
d353bd452e Put ~/.mailcap to head of search list so local settings override
global ones.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-07 16:11:09 +00:00
Vadim Zeitlin
a2717c3d0c ignore the icon option in Netscape mime.type file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-30 16:38:30 +00:00
Václav Slavík
b79e32cce7 wxUSE_MIMETYPE in src/unix/mimetype.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-27 19:02:14 +00:00
Vadim Zeitlin
1d8dd65e62 compilation warning fix for Intel C++
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-18 18:22:44 +00:00
Vadim Zeitlin
e9d9f136ee compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-09 12:21:43 +00:00
Vadim Zeitlin
1457c9030c fixed warning about multiline comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-21 17:53:47 +00:00
Vadim Zeitlin
53e3052c3c warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-09 02:01:54 +00:00
Vadim Zeitlin
c786f76365 fixed wxBase compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-24 21:36:41 +00:00
Jouk Jansen
2900bd1c81 Committing in .
Modified Files:
 	wxWindows/setup.h_vms wxWindows/src/common/descrip.mms
 	wxWindows/src/common/mimecmn.cpp
 	wxWindows/src/generic/descrip.mms
 	wxWindows/src/gtk/descrip.mms wxWindows/src/unix/mimetype.cpp

  Updated compile support for OpenVMS

 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-01 14:46:48 +00:00
Vadim Zeitlin
a06c1b9b72 Unix compilation fixes for new MIME code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-24 00:07:04 +00:00
Vadim Zeitlin
2b813b73cd applied MIME patch(es) from Chris Elliott
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-23 23:46:21 +00:00
Vadim Zeitlin
276c7463f3 fixed KDE link file reading code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-12 17:21:04 +00:00
Vadim Zeitlin
6e358ae704 fixed crash with '\' on the end of the last line
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-12 00:51:17 +00:00
Vadim Zeitlin
a6c65e881e MIME type manager fixes described earlier on the list:
1. extended wxFileTypeInfo
2. moved handling of fallbacks into wxMimeTypesManager (instead of Impl)
3. added wxMimeTypesManager::Associate() and Unassociate()
4. Unix version only reads the files on demand => much faster startup


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-24 14:51:06 +00:00