Commit Graph

98 Commits (94ac0064354594de8adbb99084029c8b4027b2f6)

Author SHA1 Message Date
Brad Payne (Vir Linden) 7b9708a2e3 sunshine-external merge WIP 2014-05-13 10:02:26 -04:00
Richard Linden e340009fc5 second phase summer cleaning
replace llinfos, lldebugs, etc with new LL_INFOS(), LL_DEBUGS(), etc.
2013-08-09 17:11:19 -07:00
Richard Linden 0a96b47663 merge with viewer-release 2013-06-05 19:05:43 -07:00
Brad Payne (Vir Linden) a04a706c1b merge 2013-05-21 16:18:48 -04:00
Richard Linden 6b81b8629e Spring cleaning: removed unused .cpp and.h files, and cleaned up header dependencies 2013-05-05 17:45:35 -07:00
Oz Linden ddd5659f81 merge changes for DRTVWR-294 2013-04-19 10:11:29 -04:00
Graham Madarasz bf6182daa8 Update Mac and Windows breakpad builds to latest 2013-03-29 07:50:08 -07:00
Don Kjer f945415210 Large changes to the LLCurl::Responder API, as well as pulling in some changes to common libraries from the server codebase:
* Additional error checking in http handlers.
* Uniform log spam for http errors.
* Switch to using constants for http heads and status codes.
* Fixed bugs in incorrectly checking if parsing LLSD xml resulted in an error.
* Reduced spam regarding LLSD parsing errors in the default completedRaw http handler.  It should not longer be necessary to short-circuit completedRaw to avoid spam.
* Ported over a few bug fixes from the server code.
* Switch mode http status codes to use S32 instead of U32.
* Ported LLSD::asStringRef from server code; avoids copying strings all over the place.
* Ported server change to LLSD::asBinary; this always returns a reference now instead of copying the entire binary blob.
* Ported server pretty notation format (and pretty binary format) to llsd serialization.

* The new LLCurl::Responder API no longer has two error handlers to choose from.  Overriding the following methods have been deprecated:
** error - use httpFailure
** errorWithContent - use httpFailure
** result - use httpSuccess
** completed - use httpCompleted
** completedHeader - no longer necessary; call getResponseHeaders() from a completion method to obtain these headers.

* In order to 'catch' a completed http request, override one of these methods:
** httpSuccess - Called for any 2xx status code.
** httpFailure - Called for any non-2xx status code.
** httpComplete - Called for all status codes.  Default implementation is to call either httpSuccess or httpFailure.
* It is recommended to keep these methods protected/private in order to avoid triggering of these methods without using a 'push' method (see below).

* Uniform error handling should followed whenever possible by calling a variant of this during httpFailure:
** llwarns << dumpResponse() << llendl;
* Be sure to include LOG_CLASS(your_class_name) in your class in order for the log entry to give more context.

* In order to 'push' a result into the responder, you should no longer call error, errorWithContent, result, or completed.
* Nor should you directly call httpSuccess/Failure/Completed (unless passing a message up to a parent class).
* Instead, you can set the internal content of a responder and trigger a corresponding method using the following methods:
** successResult - Sets results and calls httpSuccess
** failureResult - Sets results and calls httpFailure
** completedResult - Sets results and calls httpCompleted

* To obtain information about a the response from a reponder method, use the following getters:
** getStatus - HTTP status code
** getReason - Reason string
** getContent - Content (Parsed body LLSD)
** getResponseHeaders - Response Headers (LLSD map)
** getHTTPMethod - HTTP method of the request
** getURL - URL of the request

* It is still possible to override completeRaw if you want to manipulate data directly out of LLPumpIO.

* See indra/llmessage/llcurl.h for more information.
2013-03-13 06:26:25 +00:00
Don Kjer c355fb98d3 Extracted texture baking system into llappearance library. 2012-09-03 06:12:50 +00:00
Monroe Linden b62b10dd26 Post-convert merge by convert_monolith.py from ./viewer-experience 2010-08-27 16:58:33 -07:00
Richard Nelson 02d8197019 changed buildPanel/buildFloater to member functions buildFromFile
streamlined LLUICtrlFactory's interface
2010-08-20 10:14:28 -07:00
Richard Nelson c20bd2dfee cleaned up LLUICtrlFactory...
removed redundant functionality
moved buildPanel to LLPanel
2010-08-16 15:00:51 -07:00
Tofu Linden e416840f85 Backed out changeset c3d41f18ce2b
back-out the back-out for this branch.  yay.
2010-08-24 19:22:00 +01:00
Tofu Linden 98cc236503 Backed out changeset a62bf7c0af21
Backing out this merge that I pushed (prematurely) to the wrong place.
2010-08-24 18:44:39 +01:00
Tofu Linden 6ba23344c9 merge heads. whew. 2010-08-24 18:37:53 +01:00
Oz Linden 06b0d72efa Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
Richard Nelson 566e3969f9 deprecated LLPanel::child*() methods 2010-07-30 10:02:30 -07:00
Aimee Linden 2c6bca7055 Bury the dead code day: Removed LLPanelClassified and LLFloaterPriceForListing
Made redundant by EXT-2095
2010-07-20 01:42:26 +01:00
Paul Guslisty 9dbc0e2cce EXT-7879 FIXED (Edit Classified has duplicate \"Price for Ad\" and unnecessary help link)
- Restored deleted spinner and its label
- Added method to show\hide spinner and its label

Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/698/

--HG--
branch : product-engine
2010-07-07 14:48:10 +03:00
Sergei Litovchuk 729f880f78 [SHOWSTOPPER] Fix for (EXT-4704) Add maturity icons to Prefs -> General and (EXT-4705) Show maturity icon on Region/Estate tab.
- Made changes to combobox onItemSelected() to fix (EXT-6269) typing a location into the nav bar always sends you to the first location you typed in.
- Replaced LLIconsComboBox pointers with base class pointers LLComboBox.

Reviewed by Richard Nelson https://codereview.productengine.com/secondlife/r/29/

--HG--
branch : product-engine
2010-03-18 00:53:32 +02:00
Dmitry Zaporozhan 2197304984 Fixed major bug EXT-5942 - Entering a Classified with a banned keyword doesn't publish, and doesn't let you edit.
Changed the way panels handle classified publishing - each classified panel will keep listening to callbacks and will know when classified is published successfuly.
If publish failed, panel will allow user to edit classified and try publishing again.
All unpublished classifieds will be lost on Viewer restart.

--HG--
branch : product-engine
2010-03-10 10:21:19 +02:00
Sergei Litovchuk f499260782 Implemented (EXT-4715) Add maturity icons to Classifieds - create and details.
--HG--
branch : product-engine
2010-03-06 01:17:34 +02:00
Vadim Savchuk a174a4ff3d merge
--HG--
branch : product-engine
2010-03-05 20:13:52 +02:00
Vadim Savchuk b60274fad4 WIP on EXT-5687 (Classifieds are missing the clickthrough data).
Updating classieifed click stats when user presses "Teleport" or "Map" button in the picks/classifieds list side panel.

--HG--
branch : product-engine
2010-03-05 19:30:31 +02:00
Vadim Savchuk eeb6e89e60 WIP on EXT-5687 (Classifieds are missing the clickthrough data).
Updating click stats on:
* opening classified info
* clicking "Map" or "Teleport" buttons in classified info
* clicking "Details" in the web-based search floater

--HG--
branch : product-engine
2010-03-05 19:03:00 +02:00
Dmitry Zaporozhan 698835061b Update for major bug EXT-5943 - Classifieds are Published and charged as soon as you hit Save.
Fixed category mismatch after editing classified.
Made price uneditable in edit mode because it looks like server does not support price update(same in viewer 1.23)

--HG--
branch : product-engine
2010-03-05 17:23:41 +02:00
Dmitry Zaporozhan cc5d5f76b0 Updated LLPanelClassifiedInfo::resetData() with recentrly added controls.
--HG--
branch : product-engine
2010-03-05 09:33:37 +02:00
Dmitry Zaporozhan eb037986bd Update for normal sub task EXT-5856 - "Auto renew each week" checkbox is displayed in the Classified Info from other resident profile.
Replaced auto_renew checkbox with textbox.

--HG--
branch : product-engine
2010-03-05 09:30:40 +02:00
Dmitry Zaporozhan a9b829f371 Fixed low bug EXT-5998 - Classified is scrolled if previos classified was scrolled.
--HG--
branch : product-engine
2010-03-04 16:55:00 +02:00
Dmitry Zaporozhan 997e91f08e Fixed major bug EXT-5943 - Classifieds are Published and charged as soon as you hit Save.
Added Publish Classified floater to confirm classified creashion and publishing.

--HG--
branch : product-engine
2010-03-04 16:05:04 +02:00
Dmitry Zaporozhan 5301d4189f Updated major sub task EXT-5858 - Assigned picture is stretched in the Classified Info panel.
Fixed reshape issues.
Added stretching to edit classified panel.

--HG--
branch : product-engine
2010-03-04 12:18:24 +02:00
Vadim Savchuk eabcd8e1b7 Fixed bug EXT-5687 (Classifieds are missing the clickthrough data).
We now take into account stats received from the so-called "new table" (for regions supporting "SearchStatRequest" capability).

--HG--
branch : product-engine
2010-03-03 22:07:39 +02:00
Vadim Savchuk dfe98202c0 WIP on EXT-5687 (Classifieds are missing the clickthrough data).
Added clicks info and creation date.

--HG--
branch : product-engine
2010-03-03 20:10:27 +02:00
Vadim Savchuk ec0d5d93db Fixed Linux build.
--HG--
branch : product-engine
2010-03-03 17:38:32 +02:00
Dmitry Zaporozhan 7b5ef7053f Implemented major sub task EXT-5858 - Assigned picture is stretched in the Classified Info panel.
Reshape snapshot control to max possible size maintaining aspect ratio.

--HG--
branch : product-engine
2010-03-03 16:22:51 +02:00
Dmitry Zaporozhan 4f0a34ae7e Update for normal bug EXT-5856 - "Auto renew each week" checkbox is displayed in the Classified Info from other resident profile.
Added layout stack to auto reposition description when auto_renew is being shown or hidden.

--HG--
branch : product-engine
2010-03-03 12:44:07 +02:00
Dmitry Zaporozhan 9676448291 Shortened code.
--HG--
branch : product-engine
2010-03-03 10:32:26 +02:00
Vadim Savchuk be1739c5d5 Merge from default branch
--HG--
branch : product-engine
2010-03-02 15:17:50 +02:00
Tofu Linden bc5be41bc0 CID-440
Checker: UNINIT_CTOR
Function: LLPanelClassifiedInfo::LLPanelClassifiedInfo()
File: /indra/newview/llpanelclassified.cpp
2010-03-02 09:47:25 +00:00
Dmitry Zaporozhan bbe2daad55 Fixed normal bug EXT-5856 - "Auto renew each week" checkbox is displayed in the Classified Info from other resident profile.
Hide auro_renew checkbox for avatar classifieds and showing for agent classifirds.

--HG--
branch : product-engine
2010-03-02 11:34:14 +02:00
Eugene Mutavchi 1852382e45 Related to low bug EXT-5523 (Bottom part of "Create classfield dialog" is overlapped by unnecessary scroller) - changed the height of content panel
--HG--
branch : product-engine
2010-02-24 20:11:33 +02:00
Dmitry Zaporozhan 5cc02625fb Fixed low bug EXT-5523 - Bottom part of "Create classfield dialog"is overlapped by unnecessary scroller
Copied reshape logic from Picks panel to reshape Classified panel.

--HG--
branch : product-engine
2010-02-19 12:17:35 +02:00
richard ddfc6efbee EXT-5025 - Tooltips block mouse clicks
EXT-4547	[BSI] it is possible to highlight multiple layers of chat
EXT-3844 	Mouse wheel camera zoom is not reflected on View popup slider
EXT-3103 	Add an option to restrict entering non-ascii symbols in text editor.

reviewed by Leyla
2010-02-05 11:32:33 -08:00
Eugene Mutavchi 0c7e18cbc6 Fixed normal bug EXT-4127 ([BSI] Cannot copy/paste from another resident's picks / classifieds)
--HG--
branch : product-engine
2010-02-02 21:53:52 +02:00
Tofu Linden 5ca943cd02 Fix mis-spelling in notification text/name introduced from PE. 2010-01-20 11:02:20 -08:00
Dmitry Zaporozhan 284279966b Fixed normal bug EXT-4476 - Classfield appears in classfield accordeon after error message about money scarcity has been closed.
--HG--
branch : product-engine
2010-01-20 13:16:23 +02:00
Администратор c353e640fa Fixed low bug EXT-3353 - There's an ability to create classified w/o title and description.
--HG--
branch : product-engine
2009-12-21 16:13:09 +02:00
Alexei Arabadji 4fc7b91a79 implemented EXT-2323 “Get rid from obsolete notification widgets”;
--HG--
branch : product-engine
2009-12-11 14:26:27 +02:00
James Cook cbc0783cd1 Created lightweight LLNotificationsUtil::add(), switched most alerts to use it
Cuts number of includes of llnotifications.h from 300+ to 40.
2009-11-25 01:15:50 -08:00
Dmitry Zaporozhan 1e9cdef67c Update for major task EXT-2251 - Implement panels for creating, editing and viewing Classifieds.
Implemented "Map", "Teleport", and "Edit" buttons in Classified Info panel.

--HG--
branch : product-engine
2009-11-11 13:03:06 +02:00