Recent

Author Topic: [SOLVED] r59171 - Missing a large chunk of fileutils?  (Read 2818 times)

Hansaplast

  • Hero Member
  • *****
  • Posts: 681
  • Tweaking4All.com
    • Tweaking4All
[SOLVED] r59171 - Missing a large chunk of fileutils?
« on: September 26, 2018, 10:42:09 pm »

I just update my Lazarus to SVN r59171 and noticed that ExtractFileNameWithoutExt no longer could be found.


When comparing the files fileutils.pas and fileutil.inc file from 1.8.4 release and the latest SVN, I noticed that a very large chunk of code is missing (fileutil.inc for example is missing about 350 lines).


Is this intentional?
« Last Edit: September 26, 2018, 11:19:37 pm by Hansaplast »

Hansaplast

  • Hero Member
  • *****
  • Posts: 681
  • Tweaking4All.com
    • Tweaking4All
Re: r59171 - Missing a large chunk of fileutils?
« Reply #1 on: September 26, 2018, 10:47:09 pm »
Seems quite a few of the functions may have moved to "LazFileUtils" ?

Pascal

  • Hero Member
  • *****
  • Posts: 932
Re: r59171 - Missing a large chunk of fileutils?
« Reply #2 on: September 26, 2018, 11:02:09 pm »
r59169: LazUtils: Move ExtractFileNameWithoutExt to LazFileUtils. Rhymes with ExtractFileNameOnly.
laz trunk x64 - fpc trunk i386 (cross x64) - Windows 10 Pro x64 (21H2)

Hansaplast

  • Hero Member
  • *****
  • Posts: 681
  • Tweaking4All.com
    • Tweaking4All
Re: r59171 - Missing a large chunk of fileutils?
« Reply #3 on: September 26, 2018, 11:16:10 pm »

Haha yes it does ... found both functions in "LazFileUtils",...

Ondrej Pokorny

  • Full Member
  • ***
  • Posts: 220
Re: [SOLVED] r59171 - Missing a large chunk of fileutils?
« Reply #4 on: September 27, 2018, 08:42:20 pm »
The usual procedure is to deprecate the methods in the old place first and remove them in the next stable version so that people don't get confused.

Juha probably forgot about it.

Hansaplast

  • Hero Member
  • *****
  • Posts: 681
  • Tweaking4All.com
    • Tweaking4All
Re: [SOLVED] r59171 - Missing a large chunk of fileutils?
« Reply #5 on: September 28, 2018, 10:30:05 am »
Oh well, stuff happens ... considering all the work the devs do, I'll be the last one to complain about that.
I also assume this doesn't happen to often (depreciating or moving functions).  :D

 

TinyPortal © 2005-2018