Search found 114 matches: patch

Return to advanced search

Re: JWT Implementation in Harbour

... I personally believe that OOP is not useful for web programming in the way I use mod_harbour. As you might know, I have a preprocessor and a patcher. It's easiest to just patch in functions, which has many advantages. One advantage is that you don't have to deal with the runtime overhead ...
by Otto
Fri Jun 21, 2024 11:44 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: JWT Implementation in Harbour
Replies: 4
Views: 439

Re: preview report got error when Windows User name Chinese word

Till then, if you like, you can make a small patch in printer.prg Please see this code in METHOD new()   if ! ::lMeta      ::hDcOut = ::hDC   else      ::aMeta  = {}      ::cDir   = GetEnv( "TEMP" )      if Empty( ...
by richard-service
Sun Sep 03, 2023 2:29 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: preview report got error when Windows User name Chinese word
Replies: 10
Views: 1361

Re: preview report got error when Windows User name Chinese word

Till then, if you like, you can make a small patch in printer.prg Please see this code in METHOD new()   if ! ::lMeta      ::hDcOut = ::hDC   else      ::aMeta  = {}      ::cDir   = GetEnv( "TEMP" )      if Empty( ...
by nageswaragunupudi
Fri Sep 01, 2023 12:22 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: preview report got error when Windows User name Chinese word
Replies: 10
Views: 1361

Re: Fancy Dashboard

I use a patcher written in FIVEWIN to patch the files before compiling.

Image
by Otto
Wed Jul 05, 2023 6:28 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fancy Dashboard
Replies: 11
Views: 1198

Re: JSON with HTTPS: post

I also noticed that for some API's I had to change :

:Open( "POST", cUrl, .f. )

to

:Open( "PATCH", cUrl, .f. )
by Marc Venken
Tue May 24, 2022 9:36 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: JSON with HTTPS: post
Replies: 28
Views: 3128

Re: Use cUrl to upload data to online server

... dbf loop to update the data ? The object http = already created once. Maybe it is the intension that the loop will fill the cData var and that we patch it only once ? The cData will become a large file or mem variable then. Do we ever can have memory problems when we do large updates ? function ...
by Marc Venken
Sun May 23, 2021 10:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Use cUrl to upload data to online server
Replies: 13
Views: 1649

Re: Use cUrl to upload data to online server

... for adding a new pet and PUT is for modifying an existing one. Error 404 means the id you are trying to modify is not found on the server. Using PATCH did work ! (PUT was not changing data) don't know way, because it should i think
by Marc Venken
Sun May 23, 2021 9:50 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Use cUrl to upload data to online server
Replies: 13
Views: 1649

Re: Use cUrl to upload data to online server

... I was testing. Data is written, but also every time a new record. The ID of the product = 2062 and is put in the url. I have tried also 'PUT' and 'PATCH' have been reading about it, but the I get return code 404 = not found error function TestMarc()   local oHttp   local cUrl  := "https://maveco-webshop.be/api/v2/products/2062?token=47b ...
by Marc Venken
Sun May 23, 2021 8:28 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Use cUrl to upload data to online server
Replies: 13
Views: 1649

Use cUrl to upload data to online server

... (I retrieve some productdata) Upload (Change a name from a product seems to be more difficult) For upload, the server samples show this : curl -X PATCH "http://swagger.shoptrader.com/api/v2/products/1994?token=abc" -H "accept: application/json" -H "token: abc" -H ...
by Marc Venken
Sat May 22, 2021 2:41 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Use cUrl to upload data to online server
Replies: 13
Views: 1649

Re: /ɪːzɪˈpɪːzɪ/ Reportgenerator for FIVEWIN and mod harbour

Hello Mark, With my patcher, I can simplify the code. I know that Harbour can patch the code that is spread over several lines. But I don't remember the syntax. Text start / text end or something like that. Best regards, Otto https://mybergland.com/fwforum/izipizi/paragraph.jpg ...
by Otto
Fri May 21, 2021 11:12 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: /ɪːzɪˈpɪːzɪ/ Reportgenerator for FIVEWIN and mod harbour
Replies: 31
Views: 4156

SVG QRCodes

... function downloadString(text, fileType, fileName) saves the SVG QR Code on the local PC Convert the HTML sample to a mod Harbour program - patch and test. Insert DBF into the program Directory INDEX2/source Here are all the single files which Patcher sticks to a single prg file But it is ...
by Otto
Thu May 13, 2021 9:31 pm
 
Forum: mod_harbour
Topic: SVG QRCodes
Replies: 0
Views: 333

Discussion about CSS and inline <STYLE></STYLE>

... if you check that change right after in the script Maybe you can still remember that I divided my programs into small files and then make a "patch". It seems more apparent to me that way. So it's more like a class. Do you think this code could cause problems, and should I leave the <STYLE> ...
by Otto
Wed May 12, 2021 4:41 pm
 
Forum: mod_harbour
Topic: Discussion about CSS and inline <STYLE></STYLE>
Replies: 1
Views: 333

Re: PROBLEMAS PREVIEW CLASE TPRINT CON ACTUALIZACION WINDOWS

... en el preview. Un saludo. Estimado estoy igual que tu, el parche no soluciona el problema ------------- Estimated I am the same as you, the patch does not solve the problem
by postinelli
Thu Mar 18, 2021 12:42 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: PROBLEMAS PREVIEW CLASE TPRINT CON ACTUALIZACION WINDOWS
Replies: 28
Views: 4645

Re: Add a extra option to the method ToCSV

We will provide a new parameter for the delimiter in our next versions. We will also publish a patch for you here. You can use derived classes of xbrowse very easily. You can use the derived class for the entire application or different derived classes for different browses. ...
by nageswaragunupudi
Thu Sep 24, 2020 2:23 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Add a extra option to the method ToCSV
Replies: 10
Views: 1623

Swagger API and FWH

... some FWH code that is working in retrieving this kind information ? There are 2 lines of code in the online Swagger software tool : cUrl : curl -X PATCH "http://swagger.shoptrader.com/api/v2/customers/1?token=c5ce13c97e79b8d54ca40e75ea43c41282cb25e469c4babb8ad4400850a54624" -H "accept: ...
by Marc Venken
Tue Sep 22, 2020 10:39 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Swagger API and FWH
Replies: 2
Views: 953
Next

Return to advanced search

cron