Commit Graph

113 Commits

Author SHA1 Message Date
Madhura Jayaratne
9873f76e5f Fix #11771 Transformation column path problem
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2016-01-12 19:51:33 +11:00
Michal Čihař
55b317c699 Remove /*overload*/ prefix from mb_* calls
I believe this was temporary flagging to see which code is migrated and
can be safely removed now.

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-01-04 16:35:28 +01:00
Hugues Peccatte
8baf7c4a8a Update PHPDoc.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-12-11 23:21:54 +01:00
Hugues Peccatte
f9d582bd09 Make PHPCS happy.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-11-08 15:58:48 +01:00
Hugues Peccatte
37bf6f2093 Update nodes load.
Fix template call.
Remove useless 'use'.
Fix node load.
Fix merge.
Attempt to fix transformation unit test.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-20 00:21:28 +02:00
Hugues Peccatte
2f9e29dbf4 Fix path to load transformation plugins.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-19 18:54:06 +02:00
Hugues Peccatte
2ca0d4ddc2 Fix transformation plugins load.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-18 23:54:32 +02:00
Hugues Peccatte
8c289e523b Revert transformation classes rename.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-12 21:48:43 +02:00
Hugues Peccatte
857c8a92cf Move abstract transformation plugins to abs folder.
Update templates.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-12 14:13:31 +02:00
Hugues Peccatte
178a6edd38 Add namespace on part of plugins classes.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-05 00:33:42 +02:00
Hugues Peccatte
f0ba28fc1d Set namespace on Advisor, Config, Console and Util classes.
Set namespace on DbQbe.
Set namespace to 'DbSearch'.
Split Advisor.class.php file.
Change Advisor namespace.
Rename DbQbe class and file.
Set namespace on DisplayResults.
Set namespace on Error.
Use namespace for ErrorHandler.
Add class autoloader.
Change ErrorHandler filename.
Remove some require.
Update Config namespace path.
Update PMA_Util to PMA\libraries\Util.
Rename Font and File classes files.
Use namespace for Footer.
Set namespace in all libraries classes.
Namespace OutputBuffering.
Export SubPartition.
Rename Partition file.
Namespace PDF.
Namespace RecentFavoriteTable.
Replace PMA_Response by Response and PMA_Message by Message.
Update uses and calls.
Fix unit tests.
Fix SqlParser autoload.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-01 21:22:52 +02:00
Dan Ungureanu
236e0b6a6b Fixed coding style.
Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
2015-07-19 00:18:49 +03:00
Dan Ungureanu
91b97fadc2 Remove unneeded closing tags.
Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
2015-07-19 00:18:38 +03:00
Madhura Jayaratne
366cdbfc2f Remove unused parameter
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-06-18 13:15:58 +05:30
Madhura Jayaratne
e9e43f9c34 Add type hinting
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-06-18 13:13:03 +05:30
Madhura Jayaratne
5857fe163d Fix spacing after opening brace
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-04-28 11:05:08 +05:30
Madhura Jayaratne
d54df757f6 Fix spacing after param type
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-04-28 10:47:24 +05:30
Madhura Jayaratne
853541ccc0 Display transformation name as well
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-04-20 17:43:31 +05:30
Madhura Jayaratne
f805f09bc4 Fix failing test
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-01-09 21:52:24 +05:30
Madhura Jayaratne
a790c2cf33 rfe #347 allow table with transformed column anywhere in FROM clause
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-01-09 21:31:28 +05:30
Hugues Peccatte
42e0bdd47a Fix typos.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-11-02 18:32:42 +01:00
Hugues Peccatte
fd7f02f929 Fix typos.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-11-02 14:33:41 +01:00
Hugues Peccatte
80ced5fe8f Fix PHPCS issues.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-10-30 18:37:49 +01:00
Hugues Peccatte
48bd3b8ee5 Remove unused $pmaString.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-10-05 10:42:44 +02:00
Hugues Peccatte
3de88162ff Replace PMA_String uses by mb_* calls.
Remove part of unused  variables.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-09-28 20:53:01 +02:00
Hugues Peccatte
9b77d746ab Mass modifications to use PMA_String.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-09-06 10:44:03 +02:00
Chirayu Chiripal
1f324be4b1 RFE-637: Custom field handlers (input transformations)
Signed-off-by: Chirayu Chiripal <chirayu.chiripal@gmail.com>
2014-07-12 01:52:32 +05:30
Michal Čihař
5bc20f4e0f Ignore hidden files when looking up transformations
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-03-31 14:03:45 +02:00
Hugues Peccatte
c2c3da1c31 Rename variable.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-01-05 15:21:27 +01:00
Hugues Peccatte
6b01f835cb Rename too short variables.
Remove useless initializations.
Rename too long variables.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-01-04 20:46:18 +01:00
Hugues Peccatte
661db9ec47 Update PHPDoc. 2013-11-08 19:28:20 +01:00
Michal Čihař
48df0d6d23 Another syntax error 2013-08-07 11:30:20 +02:00
Michal Čihař
ffae07abda Wrap long lines 2013-08-07 10:54:51 +02:00
Michal Čihař
8e71b13ced CS compliant transformation helper functions 2013-08-07 10:53:09 +02:00
Michal Čihař
9310e76a0e Fix indentation 2013-07-30 13:23:51 +02:00
Michal Čihař
df39efd08b Correctly call static method 2013-07-02 10:07:05 +02:00
Michal Čihař
0e02a35d2e Revert "Temporary workaround for bug #3783 :"
This reverts commit 2683f32033.
2013-07-01 15:29:56 +02:00
Michal Čihař
37d142bc3f Remove compatibility code for PHP 5.2 2013-07-01 15:29:56 +02:00
Madhura Jayaratne
3dd99512f0 These constants are better as a part of DatabaseInterface class 2013-05-26 21:15:24 +05:30
Madhura Jayaratne
650a8cdda3 Convert database interface to a class 2013-05-24 17:30:59 +05:30
Marc Delisle
d44367e4db Fix merge conflicts 2013-05-15 13:07:22 -04:00
J.M
529903e0dd Fix bug #3907 undefined variables, function parameter problems
Thanks Rasmus Lerdorf for analyzing!
2013-05-13 11:27:56 +02:00
Kasun Chathuranga
556bcb9f9d PMA_DBI_num_rows --> PMA_DBI_numRows 2013-05-04 08:39:43 +05:30
Kasun Chathuranga
1c884f0cca PMA_DBI_free_result --> PMA_DBI_freeResult 2013-05-04 08:33:49 +05:30
Kasun Chathuranga
5bcc32999f PMA_DBI_fetch_assoc --> PMA_DBI_fetchAssoc 2013-05-04 08:30:12 +05:30
Kasun Chathuranga
fbe4438628 PMA_DBI_fetch_result --> PMA_DBI_fetchResult 2013-05-01 00:05:16 +05:30
Kasun Chathuranga
d933575811 PMA_DBI_try_query --> PMA_DBI_tryQuery 2013-04-30 23:05:18 +05:30
J.M
c7bbde7a6b Fix Notice: Undefined index: column_info in libraries\transformations.lib.php#386 2013-04-27 22:16:54 +02:00
Dieter Adriaenssens
2683f32033 Temporary workaround for bug #3783 :
Calling a method from a variable class is not possible before PHP 5.3.
2013-02-06 16:56:01 +01:00
Dieter Adriaenssens
b6c9389b86 Revert "fix bug #3783, instanciate class before calling static method"
This reverts commit 27148aa738.

-> fix does not work : methods of a class can't be called usçg a variable before PHP 5.3
2013-02-06 16:51:06 +01:00