summaryrefslogtreecommitdiff
path: root/plugins/SendScreenshotPlus/src/UMainForm.cpp
AgeCommit message (Collapse)Author
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
2014-02-10HCONTACT is not needed anymoreGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@8086 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-02-10- HANDLE hContact => HCONTACTGeorge Hazan
- GCF_* prefix was added to chat constants to avoid name conflicts git-svn-id: http://svn.miranda-ng.org/main/trunk@8078 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-01-01copyright update for year 2014George Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@7438 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-12-18fix for r7271René Schümann
git-svn-id: http://svn.miranda-ng.org/main/trunk@7275 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-12-18v0.8.3.1René Schümann
* improved description text for desktop screens from “Screenshot of "<entire desktop>” Window" to “Screenshot of "<Entire Desktop>"” still not perfect, but better then before :P git-svn-id: http://svn.miranda-ng.org/main/trunk@7271 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-11-24Sendss spelling langpacks update (by RMN)Vadim Dashevskiy
git-svn-id: http://svn.miranda-ng.org/main/trunk@6973 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-11-17Version 0.8.3René Schümann
+ added basic Hotkey support (only opens SendSS+) * minor speed up for window targeting git-svn-id: http://svn.miranda-ng.org/main/trunk@6928 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-11-05* small code cleanup (and kind of x86_64 compatibility) THANKS @Wishmaster ↵René Schümann
(and @person as well for his improvement) ! fixed compatibility with UInfoEx (not smart to unload it's class when we didn't register it.. and later relying on it's existence) git-svn-id: http://svn.miranda-ng.org/main/trunk@6800 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-11-05ooops...René Schümann
- removed slipped through todo's / comments ! fixed bug I introduced (file numbering...) also fixed a case were file-number exceeds "maximum" of 99999 (5 chars) * changed default output format to "png" instead of "tif" (why tif? it can't even be used by everyone...) ! fixed "maybe" uninitialized variable ! fixed memory leak ! fixed freeing a pointer thats still used (man this code's ugly..) git-svn-id: http://svn.miranda-ng.org/main/trunk@6791 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-11-05// final commit (5 out of 5)René Schümann
+ added new window selection highlighting (removed old one and functions related to it) + fully added functionality to capture child windows (this also enables to capture singe controls such as buttons or entire groups) hold SHIFT or ALT while selecting a window to capture child windows *+ new target icon (made by me :P better visibility on black and white surfaces) git-svn-id: http://svn.miranda-ng.org/main/trunk@6790 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-11-05// 3 out of 5René Schümann
! fixed allocation of new char[] and freeing as Gdiplus::ImageCodecInfo struct ! fixed missing initialization (also reordered to comply declaration) * allowed target window to be reused if "Open Again" is set. git-svn-id: http://svn.miranda-ng.org/main/trunk@6788 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-11-05// 2 out of XRené Schümann
* cleanup (nothing functional) commented out unused functions, simplified some code, removed "unused" returns git-svn-id: http://svn.miranda-ng.org/main/trunk@6787 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-11-05// BEGIN OF UPDATES (1 out of X)René Schümann
! fixed dynamic loading / unloading (basic support, but should work so far) ! fixed possible x86_64 problem/crash ! fixed file version string in about dialog * removed double "&" in "Drag&Drop target" text * changed resources from "German" to "English" and made them WinSDK compatible * bumped version * improved about dialog (mainly readiness of credits) git-svn-id: http://svn.miranda-ng.org/main/trunk@6786 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c