summaryrefslogtreecommitdiff
path: root/plugins/SendScreenshotPlus
AgeCommit message (Collapse)Author
2014-12-25SendSS:René Schümann
* German debug output englishfied git-svn-id: http://svn.miranda-ng.org/main/trunk@11613 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-12-25SendSS:René Schümann
* optimize helper functions by adding "const" to read-only string parameters git-svn-id: http://svn.miranda-ng.org/main/trunk@11612 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
* 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-13SendMessage(GetDlgItem -> SendDlgItemMessageRozhuk Ivan
git-svn-id: http://svn.miranda-ng.org/main/trunk@11383 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-12-02less warningsGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@11224 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-12-01ZeroMemory -> memset, few bugs fisedRozhuk Ivan
git-svn-id: http://svn.miranda-ng.org/main/trunk@11184 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-11-30lstr* replacementsGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@11176 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-11-30Multiple fixes buff size for GetText and SetText.Rozhuk Ivan
git-svn-id: http://svn.miranda-ng.org/main/trunk@11165 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-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:René Schümann
* bump version (meant to be in previous rev9634) * tweaked main icon a bit.. (for good or bad...) git-svn-id: http://svn.miranda-ng.org/main/trunk@9635 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-15compilation fixGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@9496 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-06-13SendSS:René Schümann
* updated version according to r9463 and r9465 git-svn-id: http://svn.miranda-ng.org/main/trunk@9466 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-06-13! fixed desktop capture on at least Win7 without Aero (been a year since ↵René Schümann
change, now bugs start to show up... the hack?!) bug/regression introduced in r6789 git-svn-id: http://svn.miranda-ng.org/main/trunk@9465 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-12merge m_popup and m_popup2 headersKirill Volinsky
git-svn-id: http://svn.miranda-ng.org/main/trunk@9437 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-06-08SendSS:René Schümann
! fixed possible crash (CSendHost_uploadpie, CSendImageShack) * improved ImageShack error handling by improving GetHTMLContent * improved uploadpie error handling (still ugly, but better non the less) git-svn-id: http://svn.miranda-ng.org/main/trunk@9421 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-26SendSS:René Schümann
* added todo's for Dropbox support and temporarily fixed problem with image deletion before upload "really" started. (CSendDropbox) git-svn-id: http://svn.miranda-ng.org/main/trunk@9089 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-04-24- partially removed IDI_DEFAULT / ssDefault.ico as it doesn't seem to be of ↵René Schümann
much use^^ git-svn-id: http://svn.miranda-ng.org/main/trunk@9067 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-11SendSSRené Schümann
! fixed memory leak (CSendHost_uploadpie, CSendImageShack) - removed debug output (CSendHost_uploadpie) git-svn-id: http://svn.miranda-ng.org/main/trunk@8962 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-11SendSS:René Schümann
+ CSend now handles image upload via HTTP, at least provides helper functions for POST requests (CSend) - CSendImageShack simplified and removed custom HTTP form stuff as it's now integrated and easier to use in CSend (CSendImageShack) * version bump and User-Agent fix (version.h) git-svn-id: http://svn.miranda-ng.org/main/trunk@8958 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-04-11SendSS:René Schümann
*+ improved "Result"-Dialog (resource.rc/h, CSend, mir_icolib) added thumbnail link added copy buttons w/ images (copy raw, BBCode image, BBCode image with link) also improved handling. Now plays sound before dialog opens (was on close before) * CSend got new member variables. m_URL and m_URLthumb to hold image URLs (used by FTP,HTTP and ImageShack as of now) - removed m_URL and similar from CSendFTPFile and CSendHTTPServer git-svn-id: http://svn.miranda-ng.org/main/trunk@8957 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-04-11SendSS typo fix && compilation fixVadim Dashevskiy
git-svn-id: http://svn.miranda-ng.org/main/trunk@8947 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-04-11SendSS:René Schümann
! translation fixes (CSendFTPFile,CSendHTTPServer) ! fixed some error handling (CSendHTTPServer,CSendImageShack) * allow silent sending with all CSend's (CSend, CSendDropbox, CSendFTPFile, CSendImageShack) we also use this for Dropbox since we don't know the upload progress * CSend's addition to r8939 (mir_freeAndNil() removed with mir_free() in some places) git-svn-id: http://svn.miranda-ng.org/main/trunk@8942 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-04-11SendSS:René Schümann
* backported ctrl_button (UInfoButton) from UserInfoEx trunk git-svn-id: http://svn.miranda-ng.org/main/trunk@8941 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-032013 project fix (by person)Vadim Dashevskiy
git-svn-id: http://svn.miranda-ng.org/main/trunk@8841 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-04-03SendSSRené Schümann
! removed wrong placed Exit() calls from me... OnSend handles it git-svn-id: http://svn.miranda-ng.org/main/trunk@8840 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-04-03SendSSRené Schümann
fix for r8835 ... added IDD_UResultForm to resource script somehow my change got lost... had to redo them from scratch :( Let's hope this was all I've lost... (never trust "Restore after commit" ... or maybe I've just forgot to use it since I'm tired as well) git-svn-id: http://svn.miranda-ng.org/main/trunk@8837 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