-
Notifications
You must be signed in to change notification settings - Fork 199
Comparing changes
Open a pull request
base repository: majorsilence/My-FyiReporting
base: version_5.0
head repository: majorsilence/My-FyiReporting
compare: version_5.0.1-alpha
- 19 commits
- 69 files changed
- 1 contributor
Commits on Jan 11, 2025
-
Suppress obsolete member warnings and clean up code
Added #pragma directives to suppress CS0612 warnings in various methods using obsolete members. Updated `CairoExtensions.cs`, `GdkExtensions.cs`, `MainWindow.cs`, `ReportArea.cs`, `ReportViewer.cs`, and `ParameterPrompt.cs`. Added `GlobalSuppressions.cs` for project-level suppressions. Removed unused variables in `MainWindow.cs`.
Configuration menu - View commit details
-
Copy full SHA for d3595d8 - Browse repository at this point
Copy the full SHA d3595d8View commit details -
Update CurrentDirectory() to use Location instead of CodeBase
Modified CurrentDirectory() in GeneralUtils.cs to use System.Reflection.Assembly.GetExecutingAssembly().Location instead of CodeBase. This change ensures the method returns a straightforward absolute path to the executing assembly, avoiding potential issues with URI formats and non-local paths.
Configuration menu - View commit details
-
Copy full SHA for b8997c2 - Browse repository at this point
Copy the full SHA b8997c2View commit details
Commits on Jan 12, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 1a7fa48 - Browse repository at this point
Copy the full SHA 1a7fa48View commit details -
Replace RijndaelManaged with Aes for encryption
Updated StringEncryption class to use Aes instead of RijndaelManaged. - Replaced private field `rm` with `aes`. - Modified constructor to initialize `aes` using `Aes.Create()`. - Updated `Encrypt` and `Decrypt` methods to use `aes`. - Improved readability of padding calculation logic.
Configuration menu - View commit details
-
Copy full SHA for 5c73374 - Browse repository at this point
Copy the full SHA 5c73374View commit details -
Refactor and enhance cryptographic implementations
Refactored code for readability and maintainability. Replaced `RNGCryptoServiceProvider` with `RandomNumberGenerator.Fill` for generating random bytes. Switched from `PasswordDeriveBytes` to `Rfc2898DeriveBytes` for PBKDF2 with SHA-256. Updated from `RijndaelManaged` to `Aes` for AES encryption. Replaced `try-finally` blocks with `using` statements for resource disposal. Streamlined `Create` and `Retrieve` methods for better clarity and efficiency.
Configuration menu - View commit details
-
Copy full SHA for 41df97b - Browse repository at this point
Copy the full SHA 41df97bView commit details -
Refactor methods to async and use HttpClient
Refactor synchronous methods to asynchronous using `async` and `await` keywords for improved performance and responsiveness. Replace `WebRequest` and `WebResponse` with `HttpClient` for modern, asynchronous HTTP requests. Update `GetImageStream` in `StyleBackgroundImage.cs` to fetch images asynchronously. Convert methods in `MhtBuilder.cs`, `MhtWebClientLocal.cs`, and `MhtWebFile.cs` to async versions. Update `RunRenderMht` in `Report.cs` to call the async `SavePageArchive`. These changes enhance the application's performance and scalability.
Configuration menu - View commit details
-
Copy full SHA for 96be402 - Browse repository at this point
Copy the full SHA 96be402View commit details -
Add HttpClient extension for custom User-Agent header
Introduced HttpClientExtension class with AddMajorsilenceReportingUserAgent method to set a custom User-Agent header. Updated various methods to use this extension, ensuring consistent User-Agent headers across HTTP requests. Added necessary using directives for RdlEngine.Utility namespace.
Configuration menu - View commit details
-
Copy full SHA for 3c0a5b6 - Browse repository at this point
Copy the full SHA 3c0a5b6View commit details -
Make drawing methods asynchronous for better performance
Updated several methods in DesignXmlDraw.cs and DesignCtl.cs to be asynchronous, improving performance and responsiveness. The `HttpClientExtension` class is now public, and its `AddMajorsilenceReportingUserAgent` method is used to set the user agent header in `HttpClient`. The `DrawImageExternal` method now uses `HttpClient` instead of `WebRequest`.
Configuration menu - View commit details
-
Copy full SHA for 3477697 - Browse repository at this point
Copy the full SHA 3477697View commit details -
Introduce async programming to improve responsiveness
Converted various methods in DesignCtl.cs and DesignXmlDraw.cs to use async/await for non-blocking operations. Updated SelectedStyle property in DesignCtl.cs to retrieve style info asynchronously. Modified multiple drawing methods in DesignXmlDraw.cs to be asynchronous. Changed GetStyleInfo and its helper method to handle HTTP requests using HttpClient for better performance.
Configuration menu - View commit details
-
Copy full SHA for 7552c6f - Browse repository at this point
Copy the full SHA 7552c6fView commit details -
Update version numbers to 5.0.1 and 5.0.1-alpha
Updated the `Directory.Build.props` file to increment the `AssemblyVersion`, `FileVersion`, and `Version` properties from `5.0.0` to `5.0.1` and `5.0.1-alpha`. This change indicates a minor update or patch, with the `-alpha` suffix denoting an alpha release of the new version.
Configuration menu - View commit details
-
Copy full SHA for 624c540 - Browse repository at this point
Copy the full SHA 624c540View commit details -
net8.0, rdl designer, runtime fixes, Make constructors public in RdlD…
…esign namespace Changed constructors from internal to public in several classes within the fyiReporting.RdlDesign namespace. This allows for greater flexibility in creating instances of these classes from other assemblies. Affected classes include PropertyAction, PropertyAppearance, PropertyBackground, PropertyBorder, PropertyExpr, PropertyTable, and PropertyVisibility, along with their respective UIEditor classes.
Configuration menu - View commit details
-
Copy full SHA for 547b37e - Browse repository at this point
Copy the full SHA 547b37eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 941e207 - Browse repository at this point
Copy the full SHA 941e207View commit details -
Update BarcodeWriter instantiation for compatibility
if net8.0 runtime errors Updated instantiation of ZXing.BarcodeWriter in AztecCode.cs, BarCode128.cs, BarCode39.cs, BarCodeEAN8.cs, and QrCode.cs to use different types based on compilation symbols. For DRAWINGCOMPAT, replaced with ZXing.SkiaSharp.BarcodeWriter. For NETSTANDARD2_0 or NET5_0_OR_GREATER, replaced with ZXing.Windows.Compatibility.BarcodeWriter. Default remains ZXing.BarcodeWriter. These changes ensure compatibility with different frameworks and improve barcode writing for various image formats.
Configuration menu - View commit details
-
Copy full SHA for bf3f7de - Browse repository at this point
Copy the full SHA bf3f7deView commit details -
Add .editorconfig and Solution Items project
Added a comprehensive .editorconfig file to enforce consistent coding standards for C# files. Included the .editorconfig file in a new "Solution Items" project within the MajorsilenceReporting.sln solution file.
Configuration menu - View commit details
-
Copy full SHA for fa6ec29 - Browse repository at this point
Copy the full SHA fa6ec29View commit details -
Add CA2000 rule to .editorconfig with warning severity
Updated .editorconfig to include a new rule enforcing the CA2000 diagnostic, which ensures objects are disposed of before losing scope. The severity for this rule is set to "warning" to improve resource management and code quality.
Configuration menu - View commit details
-
Copy full SHA for 455e48f - Browse repository at this point
Copy the full SHA 455e48fView commit details -
Runtime fixes, missing awaits added
Refactor: Convert synchronous methods to async Converted several synchronous methods to asynchronous across multiple files to improve performance and responsiveness. Key changes include: - Updated methods in `ChartBar.cs`, `ChartColumn.cs`, `ChartPie.cs`, and `CustomReportItem.cs` to use `await`. - `GetCategoryValue` now returns a tuple instead of using an `out` parameter. - Made `GetFilteredData` in `DataRegion.cs` asynchronous. - Updated `ValuesCalc` in `DefaultValue.cs` and its callers to use `await`. - Refactored `Apply` methods in `Filter.cs` and `Filters.cs` for async operations. - `RunPage` in `Image.cs` now awaits `_Value`. - Made methods in `List.cs` like `RunSetGrouping`, `PrepGroups`, and `RunPage` asynchronous. - Refactored `MatrixEntry.cs` for readability and updated `Compare` in `MatrixEntryComparer` to use `Task.Run`. - Updated methods in `Query.cs` to use `await` for async operations. - `DefaultValue` in `ReportParameter.cs` now uses `Task.Run` for `ValuesCalc`. - Updated `Compare` in `RowsSortExpression` to use `Task.Run`. - `GetPageImage` in `StyleBackgroundImage.cs` now awaits `_Value`. - Made methods in `Subreport.cs` and `Table.cs` asynchronous. - Updated `Evaluate` methods in various classes to be asynchronous. These changes enhance the application's performance and scalability by leveraging asynchronous programming.
Configuration menu - View commit details
-
Copy full SHA for f6353ca - Browse repository at this point
Copy the full SHA f6353caView commit details -
Refactor Query.cs for readability and resource management
Refactored the Query class and methods for improved readability and maintainability. Added `using` statements for proper disposal of `IDbCommand` and `IDataReader` resources. Introduced a helper method `CreateDataReader` to streamline data reader creation. Modified `GetData` to apply filter logic within the loop. Reformatted various methods and properties for consistent formatting.
Configuration menu - View commit details
-
Copy full SHA for a8adf69 - Browse repository at this point
Copy the full SHA a8adf69View commit details
Commits on Jan 18, 2025
-
Refactor path handling and improve exception rethrowing
Updated .editorconfig to set CA2007 and CA4014 severities to warning and error respectively. Refactored path handling in RdlDesigner.cs, RdlDesktop.cs, and RdlReader.cs to use new methods from the newly added RdlEngine.Utility.Paths class. Made menuEditFind_Click asynchronous in RdlDesigner.cs. Improved exception rethrowing in FileReadCache.cs and EMFRecordObject.cs to preserve original stack traces.
Configuration menu - View commit details
-
Copy full SHA for c2b163d - Browse repository at this point
Copy the full SHA c2b163dView commit details
Commits on Jan 19, 2025
-
Use an off-screen bitmap as a backing store for designer, avoids prob…
…lems with async code in Paint method - Enabled double buffering in the `DesignCtl` constructor. -HACK: Refactored `DrawPanelPaint` to handle drawing asynchronously with a `Bitmap` buffer and an `async` method `Internal_DrawPanelPaint`. - Added a `Dispose` method to clean up the `Bitmap` buffer.
Configuration menu - View commit details
-
Copy full SHA for ce0d111 - Browse repository at this point
Copy the full SHA ce0d111View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff version_5.0...version_5.0.1-alpha