summaryrefslogtreecommitdiff
path: root/plugins/SendScreenshotPlus/src/CSend.cpp
AgeCommit message (Collapse)Author
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-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-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: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-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
!*+ 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-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-11forgotten to declare two remaining fields as constGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@7591 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2014-01-08- end of ANSI support in chats;George Hazan
- manual crit section control removed from chat engine; - bunch of memory-related clutches either removed or replaced with smart pointers git-svn-id: http://svn.miranda-ng.org/main/trunk@7549 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-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-10-05spelling correction (thanks RMN) Vadim Dashevskiy
git-svn-id: http://svn.miranda-ng.org/main/trunk@6355 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-04-05- rest of menus cleared;George Hazan
- old database macroses wiped out from all plugins (left in m_database.h for compatibility) git-svn-id: http://svn.miranda-ng.org/main/trunk@4324 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-03-30MS_DB_EVENT_* services remained, but their calls removedGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@4255 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-03-13- another portion of '#ifdef UNICODE' clean upVadim Dashevskiy
git-svn-id: http://svn.miranda-ng.org/main/trunk@3993 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-01-22fixed work with HTTPServerTobias Weimer
git-svn-id: http://svn.miranda-ng.org/main/trunk@3235 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2013-01-20removed old revision informationKirill Volinsky
git-svn-id: http://svn.miranda-ng.org/main/trunk@3213 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2012-11-25typed stub for MS_PROTO_GETCONTACTBASEPROTOGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@2480 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2012-08-03rest of those unicode core checksGeorge Hazan
git-svn-id: http://svn.miranda-ng.org/main/trunk@1346 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
2012-07-23SecureIM, SeenPlugin, SendSS, Sessions: changed folder structure Vadim Dashevskiy
git-svn-id: http://svn.miranda-ng.org/main/trunk@1122 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c