summaryrefslogtreecommitdiff
path: root/plugins/SendScreenshotPlus/src/UMainForm.cpp
AgeCommit message (Collapse)Author
2015-09-19SendSS: Translation fixes MikalaiR
git-svn-id: http://svn.miranda-ng.org/main/trunk@15399 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-09-19SendSS: fix sending to jabber; more other fixesMikalaiR
git-svn-id: http://svn.miranda-ng.org/main/trunk@15394 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-08-28mir_sntprintf / mir_snprintf: obsoleted second parameter removed wherever ↵George Hazan
possible git-svn-id: http://svn.miranda-ng.org/main/trunk@15064 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-08-16fix for conversion from HBRUSH to BOOLGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@14967 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-07-29- warning fixes;George Hazan
- code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@14757 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-07-26common projectsKirill Volinsky
git-svn-id: http://svn.miranda-ng.org/main/trunk@14724 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-06-30MS_CLIST_GETSTATUSMODEDESCRIPTION & MS_CLIST_GETCONTACTDISPLAYNAME replaced ↵George Hazan
with pcli->* members git-svn-id: http://svn.miranda-ng.org/main/trunk@14459 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-06-19SIZEOF replaced with more secure analog - _countofGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@14270 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-05-22replace _tcsicmp to mir_tstrcmpiKirill Volinsky
git-svn-id: http://svn.miranda-ng.org/main/trunk@13761 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-05-16fix for strncat useKirill Volinsky
git-svn-id: http://svn.miranda-ng.org/main/trunk@13645 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-04-22title translation fixKirill Volinsky
git-svn-id: http://svn.miranda-ng.org/main/trunk@13030 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-04-21i think it is final version.Kirill Volinsky
Stop revert my commit git-svn-id: http://svn.miranda-ng.org/main/trunk@13010 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-04-21SendSS: yet once again reverted r12961 which reverted my r12957 (partial ↵René Schümann
revert of r12937. Yep he didn't name the revision he reverted, nor did he explain it) So, in case I understood him right, r12937 tried to fix some redundant information in the window's title and headerbar control. Yet this doesn't actually apply to SendSS+ and we've lost that information instead. Personally I also preferred the old look of UInfoEx which got also messed with in r12937 but I'm not the one responsible to change it. @all: please properly comment your commits. Keep it short, but not just "fixed headerbar" if you could say "removed redundant information from headerbars which was already present in window title" instead. Could have spared me about 20 minutes to figure out what's fixed... (and that revert madness) git-svn-id: http://svn.miranda-ng.org/main/trunk@13005 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-04-20it was correct fixKirill Volinsky
git-svn-id: http://svn.miranda-ng.org/main/trunk@12961 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-04-20not sure what r12937 was supposed to "fix", reverted for SendSS nowRené Schümann
git-svn-id: http://svn.miranda-ng.org/main/trunk@12957 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-04-19fixed header bar infoKirill Volinsky
git-svn-id: http://svn.miranda-ng.org/main/trunk@12937 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-03-24* multiple WINE bug fixes over IsDialogMessage(), bug rep: ↵Rozhuk Ivan
https://bugs.winehq.org/show_bug.cgi?id=38276 git-svn-id: http://svn.miranda-ng.org/main/trunk@12489 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-01-26SMS: fix x64Rozhuk Ivan
SendScreenShot: types changed git-svn-id: http://svn.miranda-ng.org/main/trunk@11916 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-12-31Year 2015 version updateGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@11704 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-12-27SendSS:René Schümann
- cleaned up our mir_string stuff and removed lots of custom implementations as we use those of NG core now (couldn't get rid of mir_string though.. we still use some custom stuff) git-svn-id: http://svn.miranda-ng.org/main/trunk@11650 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-12-26SendSS:René Schümann
+ added changelog to about screen, misc improvements ! fixed bug in resource loading of "about" and "copyright" text git-svn-id: http://svn.miranda-ng.org/main/trunk@11648 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-12-25SendSS:René Schümann
* improved some user interaction messages and unified spelling ("Screenshot" now lowercase, "Send Screenshot" now called "SendSS") * also updated version in case I won't be able to finish v0.9.0 with improved transparency capture support Note: translations must be updated of course :P So LPGen required git-svn-id: http://svn.miranda-ng.org/main/trunk@11620 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-12-25SendSS: fixed (and finalized) basic editor support.René Schümann
! Miranda no longer hangs while waiting for editor exit. (could have done that without message loop, but lets try it until we get problems :P) ! local files are no longer deleted while previewing file through editor and deciding afterward not to send the image ! fixed non-translatable "Send screenshot?" question git-svn-id: http://svn.miranda-ng.org/main/trunk@11619 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-12-25SendSS:René Schümann
* added unique icons to capture mode selection tabs (also fixed German spelling error on "description" abbreviation "desc" in file names and defines) git-svn-id: http://svn.miranda-ng.org/main/trunk@11618 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-12-25SendSS:René Schümann
! fixed UAC/elevated window issue with target selection ! fixed text cursor possible on target selection git-svn-id: http://svn.miranda-ng.org/main/trunk@11617 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-12-25SendSSRené Schümann
! removed window icon as we have our own in our headerbar and two just looks stupid (we got a smaller close button in exchange though...) * ESC now closes SendSS capture and about window (to compensate our new tiny "x" button) git-svn-id: http://svn.miranda-ng.org/main/trunk@11616 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-12-25SendSS:René Schümann
* resource cosmetics (and logical change as button != checkbox) ID_btnDesc => ID_chkDesc ID_btnDeleteAfterSend => ID_chkDeleteAfterSend * unified some checkbox related code while we are at it^^ (UMainForm.cpp) git-svn-id: http://svn.miranda-ng.org/main/trunk@11611 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-12-25SendSS:René Schümann
- removed mir_icolib and replaced with direct calls (using defines to simplify usage, improved performance) * improved icon define names * renamed ssClose.ico => ssCancel.ico to better reflect its use * slight improvement to ssEditOn.ico !!! this change dramatically changed SendSS's internal icon layout, iconpacks for SendSS must to be adjusted git-svn-id: http://svn.miranda-ng.org/main/trunk@11610 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-12-25SendSS:René Schümann
* global.h is now more global removed Main.h dependency removed MODNAME define (just a dupe of SZ_SENDSS) hInst -> g_hSendSS myGlobals -> g_myGlobals hNetlibUser -> g_hNetlibUser * restructured Main.cpp by reordering functions to be more logically placed * Main.h now only holds DLL_EXPORT functions git-svn-id: http://svn.miranda-ng.org/main/trunk@11608 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-12-13SendMessage(GetDlgItem -> SendDlgItemMessageRozhuk Ivan
git-svn-id: http://svn.miranda-ng.org/main/trunk@11383 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-11-30Fix buf size for Get/Set text, open/save file nameRozhuk Ivan
SMS: SIZE_T -> size_t MRA: small code cleanup git-svn-id: http://svn.miranda-ng.org/main/trunk@11175 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-07-01these strings do not need to be translatedDart Raiden
git-svn-id: http://svn.miranda-ng.org/main/trunk@9639 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-07-01SendSS:René Schümann
! minor change to prevent main-window's edit control from getting initial focus git-svn-id: http://svn.miranda-ng.org/main/trunk@9636 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-07-01SendSS v0.8.7.0René Schümann
* improved highlighter/finder, now stops at top-level windows and not at last owner, SHIFT/ALT also finds every child (UMainForm) + added compatibility option for window capture (it captures indirectly) (UMainForm,Utils,resource) * improved tab control creation (UMainForm) ! fixed handle leak (from r9609, still causes Miranda to freeze while "editor" is open. TBD) (UMainForm) git-svn-id: http://svn.miranda-ng.org/main/trunk@9634 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-06-29SendSS: René Schümann
+ very basic preview/edit function using systems "default" editor (eg. Paint or user's choice) git-svn-id: http://svn.miranda-ng.org/main/trunk@9609 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-06-29SendSS: René Schümann
+ window selector/highlighter is now "ClientArea" aware ! fixed not always proper highlight of initial window git-svn-id: http://svn.miranda-ng.org/main/trunk@9608 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-06-28SendSS v0.8.6.0: René Schümann
+ imgur.com support by user requests (anonymous upload only) (CSendHost_imgur,CSend,global.h,UMainForm) this also include basic functions for JSON parsing (currently only JSON without spaces and arrays) (CSend) SSL/HTTPS support for HTTPFormCreate (CSend) support for custom headers in HTTPFormCreate (CSend) * updated ImageShack related filenames. * very minor misc code changes and improvements (comments, error messages) git-svn-id: http://svn.miranda-ng.org/main/trunk@9606 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-06-13! finally fixed bug that I've tried to fix in r9451 and r9452 but didn't :PRené Schümann
Introduced in r6788 ... variable reordering of doom! git-svn-id: http://svn.miranda-ng.org/main/trunk@9463 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-06-12SendSS:René Schümann
! fixed what r9451 was meant to fix (well both should work, but this one is correct (at least for MSVC, kills MinGW build...)) also updated version to reflect changes git-svn-id: http://svn.miranda-ng.org/main/trunk@9452 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-06-12SendSS:René Schümann
! fixed wrong printf format. (can cause a crash on x86_64) git-svn-id: http://svn.miranda-ng.org/main/trunk@9451 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-06-07SendSS v0.8.5:René Schümann
+ allow file Drag&Drop together with local file upload, version bump * minor comments and code change git-svn-id: http://svn.miranda-ng.org/main/trunk@9417 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-06-07SendSS:René Schümann
! fixed non-centered text in capture desktop size edit box (resource.rc) ! fixed x86_64 related type error (CSendImageShack) - removed duplicate code, and "removed" ability to use custom icons for capture tabs (we're using the same icon anyway, no need to load it thrice) + added local file feature to upload existing local files (resource, UMainForm, mir_string) reduced function DlgProc_CaptureWindow and DlgProc_CaptureDesktop to just DlgProc_CaptureTabPage as we use less code with only one function handling all 3 tab pages ("lot" of shared code) git-svn-id: http://svn.miranda-ng.org/main/trunk@9416 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-04-24! fix for r8959, expire time was hardcoded to 30 minutes instead of being ↵René Schümann
selectable... (CSendHost) * also fixed encoding in UMainForm, dunno why one of my commits killed it... git-svn-id: http://svn.miranda-ng.org/main/trunk@9066 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-04-11SendSS:René Schümann
+ new host "Upload Pie" with support to expiring uploads: 30 minutes, 1 day or 1 week might not be perfect because this was a quick edit... * updated CSend's HTTP post stuff to support integer values (CSend,CSendImageShack) git-svn-id: http://svn.miranda-ng.org/main/trunk@8959 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-04-10SendSS:René Schümann
* improved GetFileName() to also handle Unix paths (Utils) !* improved and fixed dialog, caused graphical issues before, also improved tab order (UMainForm, resource) * improved resource.rc a bit. Now use defines for UInfoButtonClass styles * replaced some mir_freeAndNil() calls with mir_free() where appreciated (UMainForm, UAboutForm) * minor update to Dropbox support. no real change git-svn-id: http://svn.miranda-ng.org/main/trunk@8939 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-04-03SendSSRené Schümann
+ Dropbox support (by Wishmaster) git-svn-id: http://svn.miranda-ng.org/main/trunk@8836 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-04-03SendSSRené Schümann
!*+ re-factored CSend a bit, fixes some bugs and improved re-usability + CSend got a new dialog to display URL created if there's no target contact (used by ImageShack when called from main menu * m_bDeleteAfterSend is now m_bAsync * CSend::Send now returns 1 if sent (sync, caller deletes) and 0 if sending is in progress (class self deletes, async) * ImageShack got new method SendSilent() (we used m_SendSync before, now renamed to m_bSilent for internal use) ! fixed memory leaks and using "delete" on already deleted CSend which caused a crash ! fixed graphical issue with wrongly initialized state buttons (delete after send, add description etc) git-svn-id: http://svn.miranda-ng.org/main/trunk@8835 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-04-03SendSSRené Schümann
* changed LPSTR to char* and LPTSTR to TCHAR* * GetFileName split into A and W functions (Utils.cpp) git-svn-id: http://svn.miranda-ng.org/main/trunk@8834 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-04-03SendSS: updated files imported from UserInfoEx ↵René Schümann
(mir_string,mir_icolib,dlg_msgbox) * renamed IDI_ constants to reflect UserInfoEx style * use Skin_GetIcon() directly instead of IcoLib_GetIcon() git-svn-id: http://svn.miranda-ng.org/main/trunk@8832 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-02-24more useless conversions removedGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@8254 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c