[project]
- added trunk, branches and tags folders back into repository
- moved project files into trunk

git-svn-id: https://dcx.googlecode.com/svn/trunk@1014 17a06da3-8c20-fa79-550f-e9588e724b77
[project]
- added some paths and files to svn ignore list

git-svn-id: https://dcx.googlecode.com/svn/trunk@1015 17a06da3-8c20-fa79-550f-e9588e724b77
test commit

git-svn-id: https://dcx.googlecode.com/svn/trunk@1016 17a06da3-8c20-fa79-550f-e9588e724b77
Brings all files upto date & in sync as per rev1011 on old svn

Added for rev1012 for old svn, now rev1017 on google code svn

[general]
added DCX_FOR_XP_ONLY define to defines.h to compile the dll for xp+ systems only.
added code through out to support this.
changed (WM_USER + 200) to use define WM_MCOMMAND
changed (WM_USER + 201) to use define WM_MEVALUATE
changed all buffer size refrences for mIRC's buffer to be MIRC_BUFFER_SIZE_CCH or MIRC_BUFFER_SIZE_BYTES as required.
added MIRC_BUFFER_SIZE_CCH define which is set to 4100 by default for mIRC 6.35+ (maybe changed for release build, or changed to a var at a later date to adapt to the actual mirc ver)
added MIRC_BUFFER_SIZE_BYTES as an equation based on MIRC_BUFFER_SIZE_CCH
changed LOADINFO struct to all mUnicode item for mIRC V7+
added detection of mIRC V7+
added disabling of all window modifications on mirc v7+ in the non-utf version of this dll on mirc v7+ as this causes display errors.
changed mapfile size to use MIRC_BUFFER_SIZE_BYTES

[tstring]
changed sprintf() function name to tsprintf() to avoid conflicts with standard function.
changed vprintf() function name to tvprintf() to avoid conflict with standard function.
changed all uses of these functions to match these changes.
various minor optimizations made to routines.


git-svn-id: https://dcx.googlecode.com/svn/trunk@1017 17a06da3-8c20-fa79-550f-e9588e724b77
[button][dialog][link]
changed hover time to HOVER_DEFAULT.

[link]
misc formatting changes.


git-svn-id: https://dcx.googlecode.com/svn/trunk@1018 17a06da3-8c20-fa79-550f-e9588e724b77
DCX Converted to UTF32.


git-svn-id: https://dcx.googlecode.com/svn/branches/dcxutf@1019 17a06da3-8c20-fa79-550f-e9588e724b77
All files updated for widechar, all xml code commented out/disabled atm.
NB: menus don't render right, needs looked at.


git-svn-id: https://dcx.googlecode.com/svn/branches/dcxutf@1020 17a06da3-8c20-fa79-550f-e9588e724b77
[general]
removed DCX_FOR_XP_ONLY define, utf build is xp+ only anyway.
bumped version/revision to 2.0.0.1 to differentiate from the non-utf builds.
changed version response to show 2006-2010.

[mIRCLinker]
changed iEval() to use dcx_atoi64() wrapper.

[xtreebar][xstatusbar]
removed some mIRC V7+ debug messages.

[tstring]
fixed TString::TString(const TCHAR *, const TCHAR *) constructor to operate correctly under Unicode.


git-svn-id: https://dcx.googlecode.com/svn/branches/dcxutf@1021 17a06da3-8c20-fa79-550f-e9588e724b77
[general]
small change to TGetWindowText() to inc the length var instead of using +1

[xpopup]
added several checks for hBrush/hPen being NULL.
changed several SelectObject() calls to the equiv macros.
changed DrawItemText() to reset the bkg mode & txt colours when finished.
misc formatting chnages.


git-svn-id: https://dcx.googlecode.com/svn/branches/dcxutf@1022 17a06da3-8c20-fa79-550f-e9588e724b77
solution & project files for utf builds


git-svn-id: https://dcx.googlecode.com/svn/branches/dcxutf@1023 17a06da3-8c20-fa79-550f-e9588e724b77
[general]
fixed mem leack in CreateHDCBuffer() when a CreateCompatibleBitmap() etc.. call failed.

[toolbar]
fixed missing icon on first button.

[xstatusbar]
fixed $xstatusbar(N).text not returning text for ownerdrawn parts.


git-svn-id: https://dcx.googlecode.com/svn/branches/dcxutf@1024 17a06da3-8c20-fa79-550f-e9588e724b77
[general]
added some debug output when CreateCompatibleBitmap() fails in CreateHDCBuffer() function.

[xpopup]
fixed submenu display bug when using vertical style, GetMenuItemRect() causes failures for some reason :/


git-svn-id: https://dcx.googlecode.com/svn/branches/dcxutf@1025 17a06da3-8c20-fa79-550f-e9588e724b77
[general]
file also missing from utf svn ofcourse.....


git-svn-id: https://dcx.googlecode.com/svn/branches/dcxutf@1028 17a06da3-8c20-fa79-550f-e9588e724b77
[general]
changed GetStockObject() calls to GetStockFont() or GetStockBrush() macros.
updated the date in licence file.

[dcxml]
changed $dcxml().Loaded to always return $false.

[xpopup]
changed custom style item drawing to fall through to brush drawing when no bitmap can be drawn, instead of including the brush drawing code twice.
changed XPopupMenuItem::DrawGradient() to use GradientFill() to test the results...
removed some of the commented code from XPopupMenuItem::DrawVerticalBar()
added some test code to XPopupMenuManager class for subclassing the menu class, this code is only in the debug build & is ONLY for testing atm.


git-svn-id: https://dcx.googlecode.com/svn/branches/dcxutf@1029 17a06da3-8c20-fa79-550f-e9588e724b77
[general]
updated dev build to 2.0.0dev2

[xpopup]
changed XPopupMenuItem::DrawItemCheckBox to match the non-utf code.
changed XPopupMenuItem::DrawGradient() to use old gradient code if GradientFill() fails.


git-svn-id: https://dcx.googlecode.com/svn/branches/dcxutf@1031 17a06da3-8c20-fa79-550f-e9588e724b77
[general]
fixed rendering bug in SetupAlphaBlend() function under vista+ (still not happy with this, im working on it.)
added some defines to defines.h to exclude some unneeded come from includes. (expect this to change as needed)

[dialog]
added $xdialog().glasscolor prop to return the colour used by the system for glass effect.

[webctrl]
removed debug text on control create.
control now cleans up better when web control fails to create during control creation.

[xdock]
commented out some utf8 stuff that not needed for a unicode build.

[xpopupmenu]
commented out some debug code again.

[DWMModule]
added support for EnableBlurBehind() & GetColorizationColor() functions.

[UXModule]
shortened IsBufferedPaintSupported() function.

[misc]
added +v [top] [left] [bottom] [right] command to /dxc WindowProps to allow adding glass effect to any window (still experimental)


git-svn-id: https://dcx.googlecode.com/svn/branches/dcxutf@1034 17a06da3-8c20-fa79-550f-e9588e724b77
[tstring]
Fixing a bug in charToWchar() function that caused it to always fail.

git-svn-id: https://dcx.googlecode.com/svn/branches/dcxutf@1036 17a06da3-8c20-fa79-550f-e9588e724b77
added the following changes/fixes from trunk.

[treeview]
fixed a NULL reference exception in the /xdid -S command
[general]
changed MircTimeToSystemTime to get hours, minutes and seconds too, fixes bug 730
[button]
fixed image button to update its state immediately on mouse touch instead of waiting HOVER_DEFAULT time for the WM_MOUSEHOVER notification


git-svn-id: https://dcx.googlecode.com/svn/branches/dcxutf@1038 17a06da3-8c20-fa79-550f-e9588e724b77
[project]
- fixed PickIconDlg() so it prints UTF properly


git-svn-id: https://dcx.googlecode.com/svn/branches/dcxutf@1039 17a06da3-8c20-fa79-550f-e9588e724b77
[general]
changed all wsprintf() calls to wnsprintf() with buffer limit.
  This addresses several possible buffer issues & should limit future ones. Will look at strcpy()'s next.
changed wnsprintf() with "%s" format calls to lstrcpyn()
removed some of the old non-utf code.

[listview]
fixed bug in $xdid().columnorder where "%s" format was used in wsprintf() when "%d" should have been used.
fixed possible issue with $xdid().gtext where the buffer returned with text isnt always the one supplied.

[rebar]
changed $xdid().text to use MIRC_BUFFER_SIZE_CCH when setting buffer size in REBARBANDINFO.

[tstring]
added check for buffer != NULL to tvprintf() & a zero result when it is.
changed vsprintf() to vsprintf_s() for buffer limit. (other function prefered instead?)

[xdock][xtreebar][xstatusbar]
changed all %800s & %4100s formats in execex() calls to %s, this fixes a bug with the text output & the buffer limit is within execex() now.

[xtreebar]
changed buffer size in TraverseTreebarItems()/TraverseChildren() to MIRC_BUFFER_SIZE_CCH.
changed _xtreebar to use ret() macro to return some errors.

[misc]
changed $dcx(Version) to return a valid version string when using on mirc < v7 so users can see when they have the wrong dll ver.
changed  GetHwndFromString() to use dcx_atoi()/dcx_atoi64()

[mirclinker]
added m_bUnicodemIRC var to tell us when mirc V7+ is being used.
added isUnicode() function to return this var.
changed eval() to only do a lstrcmp() when res != NULL
changed eval()/tsEval()/iEval()/exec() to use a limited lstrcpyn()
changed tsEval() to do a (res == TEXT("$false")) instead of the lstrcmp() ver.

[shelldialogs]
changed FileDialog() to use a MIRC_BUFFER_SIZE_CCH buffer size.
fixed a memleak in BrowseDialog() where pidlRoot wasn't being freed on a user cancel.

[xswitchflags]
changed sign check to allow '-' & '+' signs.


git-svn-id: https://dcx.googlecode.com/svn/branches/dcxutf@1040 17a06da3-8c20-fa79-550f-e9588e724b77