Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

add vim directive for indenting with spaces

  • Loading branch information...
commit 3a3da2987e9ea0a1a9cd858d014e08dab52c9712 1 parent 359a36e
@ruleant ruleant authored
Showing with 64 additions and 15 deletions.
  1. +1 −0  gis_data_editor.php
  2. +1 −0  js/OpenStreetMap.js
  3. +1 −0  js/gis_data_editor.js
  4. +1 −0  js/keyhandler.js
  5. +1 −0  js/makegrid.js
  6. +1 −0  js/querywindow.js
  7. +2 −1  js/server_plugins.js
  8. +1 −0  js/server_status_monitor.js
  9. +1 −0  js/server_variables.js
  10. +1 −0  js/tbl_chart.js
  11. +1 −0  js/tbl_gis_visualization.js
  12. +1 −0  libraries/PMA.php
  13. +2 −1  libraries/data_drizzle.inc.php
  14. +2 −1  libraries/data_mysql.inc.php
  15. +2 −1  libraries/gis/pma_gis_factory.php
  16. +1 −0  libraries/gis/pma_gis_geometry.php
  17. +1 −0  libraries/gis/pma_gis_geometrycollection.php
  18. +1 −0  libraries/gis/pma_gis_linestring.php
  19. +1 −0  libraries/gis/pma_gis_multilinestring.php
  20. +1 −0  libraries/gis/pma_gis_multipoint.php
  21. +1 −0  libraries/gis/pma_gis_multipolygon.php
  22. +1 −0  libraries/gis/pma_gis_point.php
  23. +1 −0  libraries/gis/pma_gis_polygon.php
  24. +1 −0  libraries/gis/pma_gis_visualization.php
  25. +1 −0  libraries/gis_visualization.lib.php
  26. +1 −0  libraries/import/shp.php
  27. +1 −0  libraries/server_variables_doc.php
  28. +1 −0  setup/frames/index.inc.php
  29. +1 −0  setup/frames/menu.inc.php
  30. +1 −0  setup/frames/servers.inc.php
  31. +1 −0  setup/index.php
  32. +1 −0  setup/scripts.js
  33. +1 −0  tbl_gis_visualization.php
  34. +1 −0  test/bootstrap-dist.php
  35. +1 −0  test/classes/PMA_Theme_test.php
  36. +2 −1  test/classes/_data/gen_version_info/info.inc.php
  37. +2 −1  test/classes/_data/incorrect_theme/info.inc.php
  38. +2 −1  test/classes/gis/PMA_GIS_Factory_test.php
  39. +2 −1  test/classes/gis/PMA_GIS_Geom_test.php
  40. +2 −1  test/classes/gis/PMA_GIS_Geometry_test.php
  41. +2 −1  test/classes/gis/PMA_GIS_Linestring_test.php
  42. +2 −1  test/classes/gis/PMA_GIS_Multilinestring_test.php
  43. +2 −1  test/classes/gis/PMA_GIS_Multipoint_test.php
  44. +1 −0  test/classes/gis/PMA_GIS_Multipolygon_test.php
  45. +2 −1  test/classes/gis/PMA_GIS_Point_test.php
  46. +2 −1  test/classes/gis/PMA_GIS_Polygon_test.php
  47. +2 −1  test/libraries/PMA_GIS_modifyQuery_test.php
  48. +1 −0  url.php
  49. +1 −0  webapp.php
View
1  gis_data_editor.php
@@ -1,4 +1,5 @@
<?php
+/* vim: set expandtab sw=4 ts=4 sts=4: */
require_once 'libraries/common.inc.php';
if (! isset($_REQUEST['get_gis_editor']) && ! isset($_REQUEST['generate'])) {
include_once 'libraries/header_http.inc.php';
View
1  js/OpenStreetMap.js
@@ -1,3 +1,4 @@
+/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Namespace: Util.OSM
*/
View
1  js/gis_data_editor.js
@@ -1,3 +1,4 @@
+/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* @fileoverview functions used in GIS data editor
*
View
1  js/keyhandler.js
@@ -1,3 +1,4 @@
+/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Allows moving around inputs/select by Ctrl+arrows
*
View
1  js/makegrid.js
@@ -1,3 +1,4 @@
+/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Create advanced table (resize, reorder, and show/hide columns; and also grid editing).
* This function is designed mainly for table DOM generated from browsing a table in the database.
View
1  js/querywindow.js
@@ -1,3 +1,4 @@
+/* vim: set expandtab sw=4 ts=4 sts=4: */
function PMA_queryAutoCommit()
{
var sqlqueryform = document.getElementById('sqlqueryform');
View
3  js/server_plugins.js
@@ -1,3 +1,4 @@
+/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Functions used in server plugins pages
*/
@@ -27,4 +28,4 @@ $(function() {
});
$tables.find('thead th')
.append('<img class="sortableIcon" src="' + pma_theme_image + 'cleardot.gif" alt="">');
-});
+});
View
1  js/server_status_monitor.js
@@ -1,3 +1,4 @@
+/* vim: set expandtab sw=4 ts=4 sts=4: */
$(function() {
// Show tab links
$('div#statustabs_charting div.tabLinks').show();
View
1  js/server_variables.js
@@ -1,3 +1,4 @@
+/* vim: set expandtab sw=4 ts=4 sts=4: */
$(function() {
var textFilter = null, odd_row = false;
var testString = 'abcdefghijklmnopqrstuvwxyz0123456789,ABCEFGHIJKLMOPQRSTUVWXYZ';
View
1  js/tbl_chart.js
@@ -1,3 +1,4 @@
+/* vim: set expandtab sw=4 ts=4 sts=4: */
var chart_xaxis_idx = -1;
var chart_series;
var chart_series_index = -1;
View
1  js/tbl_gis_visualization.js
@@ -1,3 +1,4 @@
+/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* @fileoverview functions used for visualizing GIS data
*
View
1  libraries/PMA.php
@@ -1,4 +1,5 @@
<?php
+/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Enter description here...
* @package PhpMyAdmin
View
3  libraries/data_drizzle.inc.php
@@ -1,4 +1,5 @@
<?php
+/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Column types and functions supported by Drizzle
*
@@ -222,4 +223,4 @@
unset($restrict_functions);
} // end if
-?>
+?>
View
3  libraries/data_mysql.inc.php
@@ -1,4 +1,5 @@
<?php
+/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Column types and functions supported by MySQL
*
@@ -283,4 +284,4 @@
unset($restrict_functions);
} // end if
-?>
+?>
View
3  libraries/gis/pma_gis_factory.php
@@ -1,4 +1,5 @@
<?php
+/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Factory class that handles the creation of geometric objects.
*
@@ -47,4 +48,4 @@ public static function factory($type)
}
}
}
-?>
+?>
View
1  libraries/gis/pma_gis_geometry.php
@@ -1,4 +1,5 @@
<?php
+/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Base class for all GIS data type classes.
*
View
1  libraries/gis/pma_gis_geometrycollection.php
@@ -1,4 +1,5 @@
<?php
+/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Handles the visualization of GIS GEOMETRYCOLLECTION objects.
*
View
1  libraries/gis/pma_gis_linestring.php
@@ -1,4 +1,5 @@
<?php
+/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Handles the visualization of GIS LINESTRING objects.
*
View
1  libraries/gis/pma_gis_multilinestring.php
@@ -1,4 +1,5 @@
<?php
+/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Handles the visualization of GIS MULTILINESTRING objects.
*
View
1  libraries/gis/pma_gis_multipoint.php
@@ -1,4 +1,5 @@
<?php
+/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Handles the visualization of GIS MULTIPOINT objects.
*
View
1  libraries/gis/pma_gis_multipolygon.php
@@ -1,4 +1,5 @@
<?php
+/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Handles the visualization of GIS MULTIPOLYGON objects.
*
View
1  libraries/gis/pma_gis_point.php
@@ -1,4 +1,5 @@
<?php
+/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Handles the visualization of GIS POINT objects.
*
View
1  libraries/gis/pma_gis_polygon.php
@@ -1,4 +1,5 @@
<?php
+/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Handles the visualization of GIS POLYGON objects.
*
View
1  libraries/gis/pma_gis_visualization.php
@@ -1,4 +1,5 @@
<?php
+/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Generates the JavaScripts needed to visualize GIS data.
*
View
1  libraries/gis_visualization.lib.php
@@ -1,4 +1,5 @@
<?php
+/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Functions used to generate GIS visualizations.
*
View
1  libraries/import/shp.php
@@ -1,4 +1,5 @@
<?php
+/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* ESRI Shape file import plugin for phpMyAdmin
*
View
1  libraries/server_variables_doc.php
@@ -1,4 +1,5 @@
<?php
+/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Used to create server variables documentation links
* $VARIABLE_DOC_LINKS[string $name] = array(
View
1  setup/frames/index.inc.php
@@ -1,4 +1,5 @@
<?php
+/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Overview (main page)
*
View
1  setup/frames/menu.inc.php
@@ -1,4 +1,5 @@
<?php
+/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Menu items
*
View
1  setup/frames/servers.inc.php
@@ -1,4 +1,5 @@
<?php
+/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Server create and edit view
*
View
1  setup/index.php
@@ -1,4 +1,5 @@
<?php
+/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Front controller for setup script
*
View
1  setup/scripts.js
@@ -1,3 +1,4 @@
+/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Functions used in Setup configuration forms
*/
View
1  tbl_gis_visualization.php
@@ -1,4 +1,5 @@
<?php
+/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* handles creation of the GIS visualizations.
*
View
1  test/bootstrap-dist.php
@@ -1,4 +1,5 @@
<?php
+/* vim: set expandtab sw=4 ts=4 sts=4: */
// Adding phpMyAdmin sources to include path
set_include_path(get_include_path() . PATH_SEPARATOR . dirname(realpath("../index.php")));
View
1  test/classes/PMA_Theme_test.php
@@ -1,4 +1,5 @@
<?php
+/* vim: set expandtab sw=4 ts=4 sts=4: */
require_once 'libraries/Theme.class.php';
View
3  test/classes/_data/gen_version_info/info.inc.php
@@ -1,7 +1,8 @@
<?php
+/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Full infrmation about theme, including $theme_generation and $theme_version
*/
$theme_name = 'Test Theme';
$theme_generation = "2";
-$theme_version = "0.3";
+$theme_version = "0.3";
View
3  test/classes/_data/incorrect_theme/info.inc.php
@@ -1,7 +1,8 @@
<?php
+/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Incorrect theme information file.
* Full name is not specified
*/
-$theme_full_version = '1.0';
+$theme_full_version = '1.0';
View
3  test/classes/gis/PMA_GIS_Factory_test.php
@@ -1,4 +1,5 @@
<?php
+/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Test for PMA_GIS_Factory
*
@@ -77,4 +78,4 @@ public function providerForTestFactory()
);
}
}
-?>
+?>
View
3  test/classes/gis/PMA_GIS_Geom_test.php
@@ -1,4 +1,5 @@
<?php
+/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Abstract parent class for all PMA_GIS_<Geom_type> test classes
*
@@ -71,4 +72,4 @@ public function testScaleRow($spatial, $min_max)
$this->assertEquals($this->object->scaleRow($spatial), $min_max);
}
}
-?>
+?>
View
3  test/classes/gis/PMA_GIS_Geometry_test.php
@@ -1,4 +1,5 @@
<?php
+/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Test for PMA_GIS_Geometry
*
@@ -244,4 +245,4 @@ public function providerForTestExtractPoints()
);
}
}
-?>
+?>
View
3  test/classes/gis/PMA_GIS_Linestring_test.php
@@ -1,4 +1,5 @@
<?php
+/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Test for PMA_GIS_Linestring
*
@@ -159,4 +160,4 @@ public function providerForTestScaleRow()
);
}
}
-?>
+?>
View
3  test/classes/gis/PMA_GIS_Multilinestring_test.php
@@ -1,4 +1,5 @@
<?php
+/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Test for PMA_GIS_Multilinestring
*
@@ -219,4 +220,4 @@ public function providerForTestScaleRow()
);
}
}
-?>
+?>
View
3  test/classes/gis/PMA_GIS_Multipoint_test.php
@@ -1,4 +1,5 @@
<?php
+/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Test for PMA_GIS_Multipoint
*
@@ -163,4 +164,4 @@ public function providerForTestScaleRow()
);
}
}
-?>
+?>
View
1  test/classes/gis/PMA_GIS_Multipolygon_test.php
@@ -1,4 +1,5 @@
<?php
+/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Test for PMA_GIS_Multipolygon
*
View
3  test/classes/gis/PMA_GIS_Point_test.php
@@ -1,4 +1,5 @@
<?php
+/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Test for PMA_GIS_Point
*
@@ -165,4 +166,4 @@ public function providerForTestScaleRow()
);
}
}
-?>
+?>
View
3  test/classes/gis/PMA_GIS_Polygon_test.php
@@ -1,4 +1,5 @@
<?php
+/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Test for PMA_GIS_Polygon
*
@@ -345,4 +346,4 @@ public function providerForTestScaleRow()
);
}
}
-?>
+?>
View
3  test/libraries/PMA_GIS_modifyQuery_test.php
@@ -1,4 +1,5 @@
<?php
+/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Tests for PMA_GIS_modifyQuery method
*
@@ -91,4 +92,4 @@ public function provider()
);
}
}
-?>
+?>
View
1  url.php
@@ -1,4 +1,5 @@
<?php
+/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* URL redirector to avoid leaking Referer with some sensitive information.
*/
View
1  webapp.php
@@ -1,4 +1,5 @@
<?php
+/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* generate an WebApp file for Prism / WebRunner
*
Please sign in to comment.
Something went wrong with that request. Please try again.