summaryrefslogtreecommitdiff
path: root/plugins/SendScreenshotPlus/src/Main.cpp
AgeCommit message (Collapse)Author
2016-07-27less TCHARsGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@17138 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-07-26less TCHARs:George Hazan
- TCHAR is replaced with wchar_t everywhere; - LPGENT replaced with either LPGENW or LPGEN; - fixes for ANSI plugins that improperly used _t functions; - TCHAR *t removed from MAllStrings; - ptszGroup, ptszTitle & ptszTab in OPTIONSDIALOGPAGE replaced with pwsz* git-svn-id: http://svn.miranda-ng.org/main/trunk@17133 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-07-25hello, Unix.George Hazan
phase 1: removing _T() git-svn-id: http://svn.miranda-ng.org/main/trunk@17127 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-03-04SendSS: moved to new dropbox serviceAlexander Lantsev
git-svn-id: http://svn.miranda-ng.org/main/trunk@16421 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-01-04unused calls of MS_HOTKEY_UNREGISTER removedGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@16021 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2016-01-02Copyrights update part 3 (final)Dart Raiden
git-svn-id: http://svn.miranda-ng.org/main/trunk@15986 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-12-03capitalizationDart Raiden
git-svn-id: http://svn.miranda-ng.org/main/trunk@15813 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-09-05SendScreenshot: menu uidAlexander Lantsev
git-svn-id: http://svn.miranda-ng.org/main/trunk@15258 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-29- unified menu creation using wrapper class CMenuItem;George Hazan
- duplicated hLangpack field removed from TMO_IntMenuItem; - code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@14440 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-06-28finally CLISTEVENT removed completelyGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@14430 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-06-27- CLISTMENUITEM::pszContactOwner removed, because it's supported only by ↵George Hazan
contact's menu; - Menu_AddContactMenuItem now receives parameter szProto; - Menu_Add* helpers are converted into real functions; git-svn-id: http://svn.miranda-ng.org/main/trunk@14409 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-06-26we don't need HGENMENU_ROOT anymore, die, crap, dieGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@14405 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-06-26YEEHAW! CLISTMENUITEM::pszPopupName also diedGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@14404 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-06-22- CLISTMENUITEM::cbSize - atavism removed;George Hazan
- code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@14325 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2015-04-21removed annoying windowKirill Volinsky
git-svn-id: http://svn.miranda-ng.org/main/trunk@13011 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-26SendSS:René Schümann
* updated pch build / partially reverted r11623 git-svn-id: http://svn.miranda-ng.org/main/trunk@11647 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-12-25SendSS: compilation fixVadim Dashevskiy
git-svn-id: http://svn.miranda-ng.org/main/trunk@11623 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: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
- 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
* Main.cpp further improved * added "m_" prefix to some "static" variables * unified and simplified service and menu-item adding/removing (this also inlined those calls, thus AddMenuItems(),RegisterServices() removed) * inlined netlib init * use "DLL_EXPORT" instead of "extern "C" __declspec(dllexport)" + open capture dialog automatically when using debugging builds * our PLUGININFOEX structure should be constant (though Miranda API doesn't support that) + added DBGMSG macro to global.h for future use as a replacement for direct OutputDebugString calls (DBGMSG is a "nop" for release builds) git-svn-id: http://svn.miranda-ng.org/main/trunk@11609 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-09code cleanup over mir_sntprintf + small bug fixRozhuk Ivan
git-svn-id: http://svn.miranda-ng.org/main/trunk@11295 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-11-13copyright year updateDart Raiden
git-svn-id: http://svn.miranda-ng.org/main/trunk@10978 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-11correct ServiceExists call for popupsGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@9435 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-04-11SendSS:René Schümann
* removed some unused stuff, icons, code etc. (resource.rc/h, Main, mir_icolib) * improved define names IDI_ICON2 and IDI_ICON3 (resource.rc/h) * unified ssCamera_1.ico and ssCamera_2.ico to ssCamera.ico (resource.rc/h) ! fixed ssMonitor.ico blurriness. git-svn-id: http://svn.miranda-ng.org/main/trunk@8940 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-10these conversions aren't needed eitherGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@8088 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-23spelling correction (e.g. twitter -> Twitter)Dart Raiden
git-svn-id: http://svn.miranda-ng.org/main/trunk@7350 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-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// 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
2013-05-19"PopUp" everywhere was replaced to "Popup"Robert Pösel
git-svn-id: http://svn.miranda-ng.org/main/trunk@4730 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-03-14old ansi popups removed, noone used them anywayGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@4034 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-03-11- translation fixes (patch from Basil)Vadim Dashevskiy
git-svn-id: http://svn.miranda-ng.org/main/trunk@3972 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-03-09removed not used headersKirill Volinsky
added version info removed uinfo icon pack dependence git-svn-id: http://svn.miranda-ng.org/main/trunk@3933 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-03-01useless Folders support checks removedGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@3824 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c