Commit graph

4724 commits

Author SHA1 Message Date
dfighter1985
4d67a41f94 CCtrlTextbutton checkcoords should call it's text's checkcoords method. Fix #219.
--HG--
branch : hotfix
2014-12-21 22:55:27 +01:00
kaetemi
59a5cb7e6b Fix crash with patch mesh attach
--HG--
branch : hotfix
2014-12-04 13:21:12 +01:00
kaetemi
6b1ea30f9c ryzomcore/v0.11.1
--HG--
branch : hotfix
2014-11-24 14:57:36 +01:00
kaetemi
1676b3b46f Fix #218 erratic mouse behaviour
--HG--
branch : hotfix
2014-11-24 14:53:28 +01:00
kaetemi
0a765bde8c Fix bug causing patch painter fail to open more than once
--HG--
branch : hotfix
2014-11-19 16:30:14 +01:00
kaetemi
0c1ff0df2a ryzomcore/v0.11.0
--HG--
branch : develop
2014-11-10 23:34:41 +01:00
kaetemi
2df9cb5f87 Fix PHP error "Only variables should be passed by reference"
--HG--
branch : develop
2014-11-08 00:29:50 +01:00
kaetemi
ef2415257b Fix PHP error "Only variables should be passed by reference"
--HG--
branch : develop
2014-11-07 23:51:42 +01:00
kaetemi
70ace8b7d4 Print callstack
--HG--
branch : develop
2014-11-07 23:37:39 +01:00
kaetemi
91ad193104 Fix patchman scripts
--HG--
branch : develop
2014-11-07 19:32:18 +01:00
kaetemi
ee92cb0702 Update default path
--HG--
branch : develop
2014-11-07 19:21:05 +01:00
kaetemi
d30cca34f0 Backed out merge changeset: 361eb082ec5e
Does not compile. FindLibLZMA missing on Ubunty 12.04 LTS

--HG--
branch : develop
2014-11-07 19:17:43 +01:00
kaetemi
c3cf5c7af4 Update default patchman cfg
--HG--
branch : develop
2014-11-07 19:16:45 +01:00
kaetemi
933420690b Change patchman example domain
--HG--
branch : develop
2014-11-07 19:02:50 +01:00
dfighter1985
0ac94e3e72 CDBViewQuantity shouldn't crash in the editor.
--HG--
branch : dfighter-tools
2014-10-20 22:49:46 +02:00
dfighter1985
d2ca66c574 Default text for DBViewNumber.
--HG--
branch : dfighter-tools
2014-10-20 22:27:33 +02:00
dfighter1985
8c5ad81199 it's not a bad idea to store the value in the right variable...
--HG--
branch : dfighter-tools
2014-10-20 22:21:59 +02:00
dfighter1985
b6d9e3285f DBViewNumber shouldn't crash anymore.
--HG--
branch : dfighter-tools
2014-10-20 20:57:08 +02:00
dfighter1985
2fe2077170 When setting the Id of the decorated edit box, set the Id of the text as well.
--HG--
branch : dfighter-tools
2014-10-20 18:51:53 +02:00
Jan Boon
e2eb5d739c Merged in nimetu/ryzomcore/html-table-rendering (pull request #92)
Some improvements to table rendering

--HG--
branch : develop
2014-10-18 04:44:34 +02:00
Nimetu
78e1bb6147 Fix html img not showing on some cases, clean up addImage method
--HG--
branch : develop
2014-10-18 01:20:56 +03:00
Nimetu
48b346fed8 Fix crash when using textarea without form
--HG--
branch : develop
2014-10-18 00:15:51 +03:00
dfighter1985
67aa7a50d2 set the Id of the text properly when loading the decorated edit box.
--HG--
branch : dfighter-tools
2014-10-17 22:25:30 +02:00
dfighter1985
fd5a1a6834 Don't add non-selectable widgets to the hierarchy tree.
--HG--
branch : dfighter-tools
2014-10-17 21:23:00 +02:00
dfighter1985
923b36f0e5 Create the viewtext of the decorated edit box when the box is created, also adjust it so the text is drawn to the right of the left texture.
--HG--
branch : dfighter-tools
2014-10-17 21:18:26 +02:00
dfighter1985
ba1e3c9919 Fixed a typo that messed up the textures of decorated editbox.
--HG--
branch : dfighter-tools
2014-10-17 16:01:50 +02:00
dfighter1985
210f93a4f2 Save decorated edit box as such.
--HG--
branch : dfighter-tools
2014-10-16 21:03:58 +02:00
dfighter1985
18866c88af Update decorated edit box decoration coords while dragging.
--HG--
branch : dfighter-tools
2014-10-16 20:58:47 +02:00
dfighter1985
274efe6798 Allow selection of CGroupEditBox.
--HG--
branch : dfighter-tools
2014-10-16 20:29:36 +02:00
dfighter1985
42ebad94f6 Implemented CGroupEditBoxDecor a decorated CGroupEditBox.
--HG--
branch : dfighter-tools
2014-10-16 20:25:19 +02:00
dfighter1985
f7f74b5398 Render every 25ms instead of 200ms
--HG--
branch : dfighter-tools
2014-10-15 23:30:36 +02:00
dfighter1985
66fe76fc06 A Kami will be the default texture for Bitmaps.
--HG--
branch : dfighter-tools
2014-10-15 20:20:44 +02:00
dfighter1985
c9b528081e CtrlButton textures should be selectable in the texture chooser!
--HG--
branch : dfighter-tools
2014-10-15 20:07:13 +02:00
dfighter1985
cfa4129754 Default texture for CtrlButton.
--HG--
branch : dfighter-tools
2014-10-15 20:03:46 +02:00
dfighter1985
bd942ba62b TEMPORARILY add the login texture map to new project by default.
--HG--
branch : dfighter-tools
2014-10-15 19:54:35 +02:00
dfighter1985
f91846c970 Fix parent pos and size parsing.
--HG--
branch : dfighter-tools
2014-10-15 19:46:43 +02:00
dfighter1985
3209f48daa Don't drop the texture property just because there's no texture assigned...
--HG--
branch : dfighter-tools
2014-10-15 12:09:57 +02:00
Nimetu
0a1a1244ae Change table defaults valign=middle, cellpadding=1, cellspacing=2
--HG--
branch : html-table-rendering
2014-10-15 00:02:38 +03:00
Nimetu
799705b7ed Render table with rowspan, colspan.
Borders, if enabled, adds +1 to cell padding.

--HG--
branch : html-table-rendering
2014-10-14 15:29:06 +03:00
Nimetu
a53b9305a2 Add rowspan and colspan attributes
--HG--
branch : html-table-rendering
2014-10-14 15:26:14 +03:00
dfighter1985
2b5898565f Don't disable the active group before serializing.
--HG--
branch : dfighter-tools
2014-10-13 20:15:41 +02:00
dfighter1985
ab76b7ed85 It's not a bad idea to actually retrieve the version if we load it...
--HG--
branch : dfighter-tools
2014-10-13 19:15:59 +02:00
dfighter1985
fae1e39039 Don't reject an action property just because it's empty...
--HG--
branch : dfighter-tools
2014-10-13 18:55:17 +02:00
dfighter1985
22a1d39ac7 Map files can now be specified when creating a new GUI project.
--HG--
branch : dfighter-tools
2014-10-13 18:53:26 +02:00
dfighter1985
c5cd6990fe When creating a new GUI set the base color to white.
--HG--
branch : dfighter-tools
2014-10-13 17:47:42 +02:00
dfighter1985
8066717aa2 Pos and Size parent setters should now use the widget directly as well.
--HG--
branch : dfighter-tools
2014-10-13 15:43:10 +02:00
dfighter1985
2dd6278771 Size parent is now queried directly from the widget.
--HG--
branch : dfighter-tools
2014-10-13 15:26:47 +02:00
Nimetu
11927cca93 Render table and cell borders
--HG--
branch : html-table-rendering
2014-10-13 01:59:20 +03:00
Nimetu
283cbe8092 Add bordercolor attribute to table tag
--HG--
branch : html-table-rendering
2014-10-13 01:10:46 +03:00
dfighter1985
487c6a3440 GUI Editor should show the right parent position.
--HG--
branch : dfighter-tools
2014-10-12 23:07:08 +02:00
dfighter1985
b3dd26e01c Parent positions should now be saved right again.
--HG--
branch : dfighter-tools
2014-10-12 23:05:22 +02:00
dfighter1985
b587acb135 Some refactoring regarding saving.
--HG--
branch : dfighter-tools
2014-10-12 21:15:13 +02:00
dfighter1985
2c5617cea7 When creating a new project, save it right away.
--HG--
branch : dfighter-tools
2014-10-12 20:09:42 +02:00
Nimetu
2de4315027 Fix table cellpadding
--HG--
branch : html-table-rendering
2014-10-12 17:43:18 +03:00
dfighter1985
ded18b266c Implemented new action.
--HG--
branch : dfighter-tools
2014-10-11 21:43:28 +02:00
dfighter1985
e5d2e9293d Moved CRootGroup out of CInterfaceParser.
--HG--
branch : dfighter-tools
2014-10-11 19:30:30 +02:00
dfighter1985
03c041310e Added dialog for the new GUI action.
--HG--
branch : dfighter-tools
2014-10-11 18:56:24 +02:00
dfighter1985
5217b38f58 Some defaults.
--HG--
branch : dfighter-tools
2014-10-11 16:47:39 +02:00
dfighter1985
816e89c967 Another classname.
--HG--
branch : dfighter-tools
2014-10-11 16:40:41 +02:00
dfighter1985
7e16e95c35 CInterfaceParser in editor mode should look for files in the working directory first.
--HG--
branch : dfighter-tools
2014-10-11 16:26:38 +02:00
dfighter1985
99a3b93703 Restored lost class names
--HG--
branch : dfighter-tools
2014-10-11 14:44:16 +02:00
dfighter1985
fe89e8f77c Added limits to pch, should fix Linux build.
--HG--
branch : dfighter-tools
2014-10-11 13:04:03 +02:00
dfighter1985
481298b9f1 Merged develop
--HG--
branch : dfighter-tools
2014-10-11 02:15:07 +02:00
dfighter1985
7b45a05562 Added support for grouping widgets.
--HG--
branch : dfighter-tools
2014-10-11 00:42:43 +02:00
dfighter1985
aac2fd41a1 Allow multiselection.
--HG--
branch : dfighter-tools
2014-10-10 20:25:25 +02:00
dfighter1985
8cec8de3a0 Unselect selection when clicking 'nothing'.
--HG--
branch : dfighter-tools
2014-10-10 17:33:57 +02:00
kervala
e34ba83f26 Minor changes
--HG--
branch : develop
2014-10-10 13:08:14 +02:00
kervala
aaa044203e Fix some warnings
--HG--
branch : develop
2014-10-10 13:07:54 +02:00
kaetemi
5fd4f96a59 Configure shadow outline in applications
--HG--
branch : develop
2014-10-08 23:20:35 +02:00
kaetemi
74827a1808 Handle shadow outline in gui
--HG--
branch : develop
2014-10-08 23:20:35 +02:00
kaetemi
3edfd56c75 Implement text shade outline
--HG--
branch : develop
2014-10-08 23:20:34 +02:00
dfighter1985
a1e2c5667a A little crash fix.
--HG--
branch : dfighter-tools
2014-10-08 21:28:20 +02:00
dfighter1985
bec078af25 Sizes should remain the same when ungrouping.
--HG--
branch : dfighter-tools
2014-10-08 21:00:56 +02:00
dfighter1985
3ffe56b862 Added support for ungrouping.
--HG--
branch : dfighter-tools
2014-10-08 20:36:16 +02:00
dfighter1985
d7d62e690c Make group selection optional.
--HG--
branch : dfighter-tools
2014-10-08 18:45:17 +02:00
dfighter1985
08b6675b3d Only select a group first in editor mode.
--HG--
branch : dfighter-tools
2014-10-08 18:00:54 +02:00
dfighter1985
ad9e9839fb Don't try to handle the right mouse button actions in editor mode.
--HG--
branch : dfighter-tools
2014-10-08 17:59:39 +02:00
dfighter1985
64571abd47 When moving a group draw it's children too.
--HG--
branch : dfighter-tools
2014-10-08 17:52:56 +02:00
dfighter1985
5d5bf860d4 Reparent items in widget hierarchy instead of deleting and creating a new item...
--HG--
branch : dfighter-tools
2014-10-08 17:42:18 +02:00
dfighter1985
97ddd3573d Select groups first.
--HG--
branch : dfighter-tools
2014-10-08 17:37:05 +02:00
kaetemi
dc3238b111 Disable dumb loading strings
--HG--
branch : develop
2014-10-08 09:31:45 +02:00
kaetemi
ec68d2c317 Fix rendering of specially sized window highlights
--HG--
branch : develop
2014-10-08 09:31:13 +02:00
kaetemi
ec6ea26323 Fix when tx_b and tx_b_open have different heights
--HG--
branch : develop
2014-10-08 09:30:59 +02:00
kaetemi
025d7b6260 Fix crypt
--HG--
branch : sha512-auth
2014-10-07 03:00:34 +02:00
kaetemi
e6c0c70fc9 Compile fixes
--HG--
branch : sha512-auth
2014-10-07 01:44:43 +02:00
kaetemi
650dba5c51 Require setup upgrade
--HG--
branch : sha512-auth
2014-10-07 01:20:57 +02:00
kaetemi
f900f80b36 Merge with develop
--HG--
branch : sha512-auth
2014-10-07 01:15:35 +02:00
Jan Boon
944b048356 Merged in rodolphe_breard/ryzomcore/sha512-auth (pull request #89)
ref #206 : windows compilation stuff

--HG--
branch : sha512-auth
2014-10-07 01:14:31 +02:00
kaetemi
b98c6f6a59 Set version
--HG--
branch : develop
2014-10-07 01:14:03 +02:00
kaetemi
88a9a809a9 Add inset_t parameter to layer options, allows putting header graphics in top texture
--HG--
branch : develop
2014-10-04 01:43:27 +02:00
kaetemi
25f1aa6247 Fix a bad copy paste in NLGUI
--HG--
branch : develop
2014-10-04 01:43:13 +02:00
Rodolphe Breard
4c2be7ea1f ref #206 : hacking the types so it may compile on windows
--HG--
branch : sha512-auth
2014-10-02 19:14:25 +02:00
Rodolphe Breard
81d5294fc3 ref #206 : removing unused crypt lib reference
--HG--
branch : sha512-auth
2014-10-02 18:21:56 +02:00
kaetemi
bb9d0d91d3 Fix #207, FXAA orientation under D3D
--HG--
branch : develop
2014-10-01 23:24:56 +02:00
kaetemi
ff7450a22e Merge with develop
--HG--
branch : sha512-auth
2014-10-01 23:23:06 +02:00
Jan Boon
7549ab8b7f Merged in rodolphe_breard/ryzomcore/sha512-auth (pull request #88)
rolling back to include a crypt(3) implementation and adding sha512 support

--HG--
branch : sha512-auth
2014-10-01 23:20:52 +02:00
Jan Boon
7729c3b65c Merged in nimetu/ryzomcore-2/nimetu/find-lua-version-for-luabind-under-fedor-1412076128442 (pull request #87)
find lua version for luabind under fedora

--HG--
branch : develop
2014-10-01 23:19:21 +02:00
Jan Boon
782f08f137 Merged in nimetu/ryzomcore-1/nimetu/static-libxml2-under-linux-requires-lzma-1412075714030 (pull request #86)
static libxml2 under linux requires lzma (tested on fedora/debian)

--HG--
branch : develop
2014-10-01 23:19:04 +02:00
Jan Boon
980b855de9 Merged in nimetu/ryzomcore/html-maxlength-attr (pull request #84)
Add maxlength attribute to input and textarea tags

--HG--
branch : develop
2014-10-01 23:18:33 +02:00
Rodolphe Breard
65b902970a ref #206 : rolling back to include a crypt(3) implementation and adding sha512 support
--HG--
branch : sha512-auth
2014-10-01 21:29:10 +02:00
nimetu
dcf2906b94 find lua version for luabind under fedora
--HG--
branch : nimetu/find-lua-version-for-luabind-under-fedor-1412076128442
2014-09-30 11:23:16 +00:00
nimetu
3e209147b0 static libxml2 under linux requires lzma (tested on fedora/debian)
--HG--
branch : nimetu/static-libxml2-under-linux-requires-lzma-1412075714030
2014-09-30 11:16:28 +00:00
dfighter1985
d2587df8c1 From now on dragged widgets will be re-aligned on drop. They will find the nearest hotspot of the group they are dropped into, and calculate an offset so they will align to the hotspot and yet remain where they were dropped.
--HG--
branch : dfighter-tools
2014-09-29 20:29:04 +02:00
dfighter1985
4571038fa6 Update CCtrlTextButton's CViewText's coords after updating it's own coords.
--HG--
branch : dfighter-tools
2014-09-29 17:38:24 +02:00
dfighter1985
86007c9156 Posref changes in the editor should apply...
--HG--
branch : dfighter-tools
2014-09-29 17:23:22 +02:00
dfighter1985
2603ad3a2b Refactoring. Added CInterfaceFactory.
--HG--
branch : dfighter-tools
2014-09-27 21:48:51 +02:00
dfighter1985
22d9accae6 When moving a widget, save the reference to the hierarchy lookup map...
--HG--
branch : dfighter-tools
2014-09-27 20:54:44 +02:00
dfighter1985
0055e2dd91 A little refactoring.
--HG--
branch : dfighter-tools
2014-09-27 20:15:46 +02:00
dfighter1985
4797b150d8 Move the text too with the text button.
--HG--
branch : dfighter-tools
2014-09-27 19:54:19 +02:00
dfighter1985
d053bb51c2 Merged develop
--HG--
branch : dfighter-tools
2014-09-27 18:22:44 +02:00
dfighter1985
c6df57adf1 Initialize struct member before use...
--HG--
branch : develop
2014-09-27 18:20:29 +02:00
Nimetu
0d62650159 Add maxlength attribute to input and textarea tags
--HG--
branch : html-maxlength-attr
2014-09-27 15:55:57 +03:00
dfighter1985
0af278e50a A little bit of refactoring.
--HG--
branch : dfighter-tools
2014-09-27 01:04:49 +02:00
dfighter1985
8c3702f826 Update coords when changing something.
--HG--
branch : dfighter-tools
2014-09-27 01:00:52 +02:00
dfighter1985
c92d084600 Merged develop.
--HG--
branch : dfighter-tools
2014-09-27 00:08:06 +02:00
dfighter1985
938c36027d Editbox selection should be stopped when the mouse button goes up, even if it happens outside of the box.
--HG--
branch : develop
2014-09-26 23:29:38 +02:00
dfighter1985
4ec13e57e4 Collapse the tree, and only expand the items that are needed to get to the selected items.
--HG--
branch : dfighter-tools
2014-09-25 00:37:25 +02:00
dfighter1985
9cae0c1793 When repareting a widget, remove the old item from the hierarchy and add a new one at the right place.
--HG--
branch : dfighter-tools
2014-09-24 23:56:11 +02:00
dfighter1985
006f87278b Refactored IWidgetAdditionWatcher, now it's called IWidgetWatcher and it also reports widget moves.
--HG--
branch : dfighter-tools
2014-09-24 23:32:24 +02:00
dfighter1985
a658be39b7 No need for free floating elements when we can simply reparent to the top window...
--HG--
branch : dfighter-tools
2014-09-24 22:59:40 +02:00
dfighter1985
e7ab56beea Orphaned widgets won't get stuck.
--HG--
branch : dfighter-tools
2014-09-24 20:40:37 +02:00
dfighter1985
bd7cb1eea3 Add widget to a new parent when the widget being dragged is dropped, otherwise add it to the orphanlist so that it's drawn anyways. NOTE: The dropped widget can be clipped. If it is clipped, it never shows up even tho it's there.
--HG--
branch : dfighter-tools
2014-09-24 18:45:52 +02:00
dfighter1985
f9dbef7df7 Set dragged widgets' coordinates based on the move rather than the mouse pointer's coords.
--HG--
branch : dfighter-tools
2014-09-24 16:31:26 +02:00
dfighter1985
62744db86d Dragged elements will no longer disappear.
--HG--
branch : dfighter-tools
2014-09-24 16:20:25 +02:00
kaetemi
3bd552ebb0 Add useful default config variables to dev client
--HG--
branch : develop
2014-09-24 12:34:40 +02:00
kaetemi
27cbd59a0f Add some more practical data build batch scripts
--HG--
branch : develop
2014-09-24 01:07:12 +02:00
kaetemi
6551881171 Handle GUI event only once
--HG--
branch : develop
2014-09-23 19:47:06 +02:00
kaetemi
cb022c6bbb Remove debug message
--HG--
branch : develop
2014-09-23 18:18:14 +02:00
kaetemi
e714e37c4c Fix EGS sheet rebuild crashes
--HG--
branch : develop
2014-09-23 13:54:02 +02:00
dfighter1985
7ef9920bac Instantiate the Wold Editor window after the LIGO setup.
--HG--
branch : dfighter-tools
2014-09-23 00:16:57 +02:00
dfighter1985
9b989a2dc0 Merged develop.
--HG--
branch : dfighter-tools
2014-09-22 23:58:48 +02:00
dfighter1985
e67e9594e1 Call the onActivate method of the current context after all plugins are initialized.
--HG--
branch : dfighter-tools
2014-09-22 23:41:55 +02:00
dfighter1985
f61438d7d9 Studio should no longer crash when multiple plugins that use LIGO are loaded. LIGO classes are now guarded against multiple registrations. If it's tried log messages are generated. Mission Compiler and World Editor will now apply their own LIGO configs when the user switches to their tab.
--HG--
branch : dfighter-tools
2014-09-22 23:24:48 +02:00
kaetemi
eff07ebbf9 Add an assert
--HG--
branch : develop
2014-09-21 13:24:33 +02:00
kaetemi
cec992c4a5 Fix double delete
--HG--
branch : develop
2014-09-21 12:31:02 +02:00
dfighter1985
648b2cb46b oups
--HG--
branch : dfighter-tools
2014-09-20 20:55:30 +02:00
dfighter1985
5b7bc8cc54 GUI Editor should no longer crash on Linux
--HG--
branch : dfighter-tools
2014-09-20 20:51:08 +02:00
dfighter1985
447aac5821 Merged develop
--HG--
branch : dfighter-tools
2014-09-19 20:10:00 +02:00
kaetemi
779b0c22bc Add extra search paths
--HG--
branch : develop
2014-09-19 19:48:17 +02:00
kaetemi
0ed6e8111b Increment web version
--HG--
branch : sha512-auth
2014-09-18 21:55:34 +02:00
kaetemi
b6df4cac4f Merge with develop
--HG--
branch : sha512-auth
2014-09-18 21:54:34 +02:00
kaetemi
0275d0fe29 It works on my machine
--HG--
branch : develop
2014-09-18 21:02:14 +02:00
kaetemi
902a873e78 Add resave scripts
--HG--
branch : develop
2014-09-18 17:40:07 +02:00
kaetemi
5e9c3b82fc Add particle system path fixing script
--HG--
branch : develop
2014-09-18 14:10:03 +02:00
kaetemi
027860be16 Fix missing include
--HG--
branch : develop
2014-09-18 13:02:32 +02:00
kaetemi
c1b8ea9bd0 Backed out incomplete changes to GL driver
--HG--
branch : develop
2014-09-18 11:31:19 +02:00
dfighter1985
780394f989 Fixed Object Viewer build.
--HG--
branch : dfighter-tools
2014-09-17 22:36:58 +02:00
dfighter1985
7a4d9e2cdc Merged the gui-editor branch.
--HG--
branch : dfighter-tools
2014-09-17 21:12:14 +02:00
dfighter1985
012fae0ef6 don't evaluate the child-nodes when there are none, directly just return ()
--HG--
branch : dfighter-tools
2014-09-17 20:54:16 +02:00
dfighter1985
4d760c7515 When removing the root node, don't retain the pointer to it...
--HG--
branch : dfighter-tools
2014-09-17 20:51:45 +02:00