diff --git a/components/jvcllaz/design/JvValidators/JvValidatorReg.pp b/components/jvcllaz/design/JvValidators/jvvalidatorreg.pp
similarity index 100%
rename from components/jvcllaz/design/JvValidators/JvValidatorReg.pp
rename to components/jvcllaz/design/JvValidators/jvvalidatorreg.pp
diff --git a/components/jvcllaz/design/JvValidators/JvValidatorsEditorForm.lfm b/components/jvcllaz/design/JvValidators/jvvalidatorseditorform.lfm
similarity index 100%
rename from components/jvcllaz/design/JvValidators/JvValidatorsEditorForm.lfm
rename to components/jvcllaz/design/JvValidators/jvvalidatorseditorform.lfm
diff --git a/components/jvcllaz/design/JvValidators/JvValidatorsEditorForm.pas b/components/jvcllaz/design/JvValidators/jvvalidatorseditorform.pas
similarity index 100%
rename from components/jvcllaz/design/JvValidators/JvValidatorsEditorForm.pas
rename to components/jvcllaz/design/JvValidators/jvvalidatorseditorform.pas
diff --git a/components/jvcllaz/examples/JvValidators/JvValidatorsDemo.lpi b/components/jvcllaz/examples/JvValidators/JvValidatorsDemo.lpi
index b77f59241..e7bfe75df 100644
--- a/components/jvcllaz/examples/JvValidators/JvValidatorsDemo.lpi
+++ b/components/jvcllaz/examples/JvValidators/JvValidatorsDemo.lpi
@@ -82,9 +82,6 @@
-
-
-
diff --git a/components/jvcllaz/packages/JvValidatorsLazD.lpk b/components/jvcllaz/packages/jvvalidatorslazd.lpk
similarity index 83%
rename from components/jvcllaz/packages/JvValidatorsLazD.lpk
rename to components/jvcllaz/packages/jvvalidatorslazd.lpk
index a66472a26..d43193467 100644
--- a/components/jvcllaz/packages/JvValidatorsLazD.lpk
+++ b/components/jvcllaz/packages/jvvalidatorslazd.lpk
@@ -19,20 +19,20 @@
-
+
-
+
-
+
-
+
@@ -42,9 +42,6 @@
-
-
-
diff --git a/components/jvcllaz/packages/JvValidatorsLazR.lpk b/components/jvcllaz/packages/jvvalidatorslazr.lpk
similarity index 84%
rename from components/jvcllaz/packages/JvValidatorsLazR.lpk
rename to components/jvcllaz/packages/jvvalidatorslazr.lpk
index fc2f6c0c8..659cde2ff 100644
--- a/components/jvcllaz/packages/JvValidatorsLazR.lpk
+++ b/components/jvcllaz/packages/jvvalidatorslazr.lpk
@@ -17,21 +17,18 @@
-
+
-
+
-
+
-
-
-
diff --git a/components/jvcllaz/resource/JvValidatorsReg.res b/components/jvcllaz/resource/jvvalidatorsreg.res
similarity index 100%
rename from components/jvcllaz/resource/JvValidatorsReg.res
rename to components/jvcllaz/resource/jvvalidatorsreg.res
diff --git a/components/jvcllaz/run/JvValidators/JvErrorIndicator.pas b/components/jvcllaz/run/JvValidators/jverrorindicator.pas
similarity index 100%
rename from components/jvcllaz/run/JvValidators/JvErrorIndicator.pas
rename to components/jvcllaz/run/JvValidators/jverrorindicator.pas
diff --git a/components/jvcllaz/run/JvValidators/JvValidators.pas b/components/jvcllaz/run/JvValidators/jvvalidators.pas
similarity index 99%
rename from components/jvcllaz/run/JvValidators/JvValidators.pas
rename to components/jvcllaz/run/JvValidators/jvvalidators.pas
index 1ac1a7914..eaf2e3b2c 100644
--- a/components/jvcllaz/run/JvValidators/JvValidators.pas
+++ b/components/jvcllaz/run/JvValidators/jvvalidators.pas
@@ -25,6 +25,8 @@ Known Issues:
unit JvValidators;
+{.$DEFINE VALIDATORS_DEBUG}
+
{$mode objfpc}{$H+}
// NB: this is here so a user can disable DB support if he wants to
@@ -277,6 +279,7 @@ const
implementation
uses
+ LazLogger,
{$IFDEF JVVALIDATORS_SUPPORTS_DBCONTROLS}
DBCtrls,
{$ENDIF JVVALIDATORS_SUPPORTS_DBCONTROLS}
@@ -304,7 +307,10 @@ end;
procedure Debug(const Msg: string); overload;
begin
-// Application.MessageBox(PChar(Msg),PChar('Debug'),MB_OK or MB_TASKMODAL)
+ {$IFDEF VALIDATORS_DEBUG}
+ DebugLn(Msg);
+ //Application.MessageBox(PChar(Msg),PChar('Debug'),MB_OK or MB_TASKMODAL)
+ {$ENDIF}
end;
procedure Debug(const Msg: string; const Fmt: array of const); overload;