]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
Applied John's FileDialog patch.
[lyx.git] / src / ChangeLog
1 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
2
3         * Makefile.am:
4         * filedlg.h:
5         * filedlg.C:
6         * LyXAction.C:
7         * ToolbarDefaults.C:
8         * bufferlist.C:
9         * commandtags.h:
10         * form1.C:
11         * form1.h:
12         * lyx_cb.C:
13         * lyx_cb.h:
14         * lyxfunc.h:
15         * lyxfunc.C:
16         * BufferView_pimpl.C: use new file dialog in GUII
17
18         * lyx_cb.h:
19         * lyx_cb.C: remove LayoutsCB to Toolbar
20
21 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
22
23         * ShareContainer.h (get): add std:: qualifier
24
25 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
26
27         * ShareContainer.h: define a proper ShareContainer::value_type
28         type (and use typename to please compaq cxx)
29
30 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
31
32         * lyxparagraph.h: move serveral local vars to
33         ParameterStruct/ParagraphParameters., use ShareContainer in
34         FontTable., make vars in FontTable private and add getter and
35         setter.
36
37         * paragraph.C: changes because of the above.
38
39         * lyxfont.h: remove copy constructor and copy assignment. (the
40         default ones is ok), move number inside FontBits. move inlines to
41         lyxfont.C 
42
43         * lyxfont.C: add number to initializaton of statics, move several
44         inlines here. constify several local vars. some whitespace
45         cleanup. Dont hide outerscope variables.
46
47         * Spacing.h: add two new constructors to match the set methods.
48
49         * ShareContainer.h: new file, will perhaps be moved to support
50
51         * ParameterStruct.h: new file
52
53         * ParagraphParameters.h: new file
54
55         * ParagraphParameters.C: new file
56
57         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
58         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
59
60         * BufferView_pimpl.C: ParagraphParameter changes.
61         * buffer.C: Likewise.
62         * bufferview_funcs.C: Likewise.
63         * text.C: Likewise.
64         * text2.C: Likewise.
65         
66 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
67
68         * lyxfind.C (LyXReplace): do not redefine default argument in
69         implementation. 
70         (IsStringInText): ditto
71         (SearchForward): ditto
72         (SearchBackward): ditto
73
74 2001-03-06  Juergen Vigna  <jug@sad.it>
75
76         * lyxfind.C (IsStringInText): put parentes around expressions.
77
78 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
79
80         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
81         
82 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
83
84         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
85
86         * stl_string_fwd.h: add comment
87
88         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
89
90         * tabular.h:
91         * tabular.C: remove unused DocBook methods
92
93         * intl.C:
94         * language.C:
95         * paragraph.C:
96         * buffer.C:
97         killed DO_USE_DEFAULT_LANGUAGE
98
99 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
100
101         * lyx_gui.C: do not include language.h.
102
103         * bufferview_funcs.C (ToggleAndShow): do not provide optional
104         arguments in function implementation.
105
106 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
107
108         * BufferView_pimpl.C: add <ctime>
109
110 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
111
112         * BufferView_pimpl.C: add using std::find_if
113
114 2001-02-27  José Matos  <jamatos@fep.up.pt>
115         
116         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
117         by OnlyPath.
118         
119 2001-02-11  José Matos  <jamatos@fep.up.pt>
120
121         * buffer.C (makeDocBookFile): command styles now have a parameter as
122         "title" by default.
123
124 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
125
126         * layout_forms.[Ch]: removed
127         * lyx_cb.[Ch]: out character
128         * lyx_gui.C: out character
129         * lyx_gui_misc.C: out character
130         * bufferview_funcs.C: : out character,
131         added toggleall as parameter in ToggleAndShow
132                    
133 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
134
135         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
136
137         * text2.C (SetCurrentFont): Disable number property at boundary.
138
139 2001-02-26  Juergen Vigna  <jug@sad.it>
140
141         * lyxfunc.C (getStatus): added a string argument override function so
142         that this is correctly called from LyXFunc::Dispatch if it contains a
143         do_not_use_argument which is used!
144         (Dispatch): added check for "custom" export and call appropriate func.
145
146 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
147
148         * lyxrc.C: Add language_command_local, language_use_babel and
149         language_global_options.
150
151         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
152
153         * buffer.C (makeLaTeXFile): Use language_use_babel and 
154         language_global_options.
155
156 2001-02-23  Juergen Vigna  <jug@sad.it>
157
158         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
159         which works with LyXText and putted it inside BufferView. Here now we
160         only call for that part the BufferView::Dispatch() function.
161
162         * BufferView.C (Dispatch): added.
163
164         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
165         functions which needs to use a LyXText over from LyXFunc.
166         (MenuInsertLyXFile): added
167         (getInsetByCode): added
168         (moveCursorUpdate): added
169         (static TEXT): added
170
171 2001-02-22  Juergen Vigna  <jug@sad.it>
172
173         * BufferView_pimpl.C (update): call a status update to see if LyXText
174         needs it.
175
176 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
177
178         * vc-backend.C (revert): implement for CVS
179         (getLog): implement for CVS
180
181 2001-02-20  Juergen Vigna  <jug@sad.it>
182
183         * text2.C (ClearSelection): added BufferView param for inset_owner call
184
185         * lyxfunc.C (TEXT): added this function and use it instead of
186         directly owner->view()-text of getLyXText().
187
188 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
189
190         * src/layout_forms.C: out preamble
191         * src/layout_forms.h: out preamble
192         * src/lyx_cb.C: out preamble
193         * src/lyx_cb.h: out preamble
194         * src/lyx_gui.C: out preamble
195         * src/lyx_gui_misc.C: out preamble
196         * src/lyxfunc.C: connect with guii preamble
197
198 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
199
200         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
201
202 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
203
204         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
205         whether to run bibtex.
206
207 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
208
209         * Makefile.am (lyx_SOURCES): Remove BackStack.h
210
211 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
212
213         * Makefile.am (lyx_SOURCES): removed bibforms.h
214
215         * vspace.h: doxygen
216
217         * text.C (GetVisibleRow): make several local vars const
218
219         * tabular.C: small cleanup.
220
221         * lyxserver.C (callback): use compare instead of strncmp
222
223         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
224         inlines to after class or to paragraph.C
225
226         * lyxfont.h: remove friend operator!=
227
228         * converter.h: move friend bool operator< to non friend and after
229         class def.
230
231         * combox.h: small cleanup
232
233         * buffer.h: doxygen, remove unused constructor, move inclas inlies
234         to inlines after class def.
235
236         * buffer.C (pop_tag): use string operations instead of strcmp
237
238         * bmtable.c: doxygen, small cleanup
239
240         * LaTeX.h: remove friend operator==
241
242 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
243
244         * screen.C: 
245         * lyxrc.[Ch]:
246         * lyxfunc.C: 
247         * lyxfont.[Ch]: 
248         * lyx_cb.C: 
249         * intl.[Ch]: 
250         * commandtags.h: 
251         * buffer.C: 
252         * WorkArea.[Ch]: 
253         * LyXAction.C: 
254         * BufferView_pimpl.C:
255         * BufferView.[Ch]: remove cruft
256
257 2001-02-14  Juergen Vigna  <jug@sad.it>
258
259         * lyxfunc.C: removed #if 0 unused code
260
261         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
262
263         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
264
265         * text2.C (SetSelection): added a BufferView * parameter
266
267 2001-02-13  Juergen Vigna  <jug@sad.it>
268
269         * lyxfunc.C (Dispatch): fixed protected blank problem.
270         * BufferView2.C (protectedBlank): added LyxText * parameter.
271
272         * tabular.C (AppendRow): forgot to set row_info of newly added row.
273         (AppendColumn): same as above for column_info.
274
275         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
276         (moveCursorUpdate): use a LyXText param for support of InsetText.
277
278         * BufferView_pimpl.C (doubleClick): added support for InsetText.
279         (tripleClick): ditto
280
281         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
282
283         * BufferView_pimpl.C (update): added LyXText param to honor insets.
284
285         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
286
287         * text2.C (SetSelection): set correct update status if inset_owner
288         (ToggleFree): ditto
289
290 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
291
292         * tabular.C: remove some commented code.
293
294 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
295
296         * BufferView_pimpl.C: call hideSplash()
297
298         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
299
300         * include_form.h:
301         * bibforms.h: remove
302
303         * lyxfunc.C:
304         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
305           add LFUN_CHILD_CREATE
306
307         * counters.h: fix tiny typo
308         
309         * lyx_cb.C:
310         * lyx.h:
311         * lyx_gui.C:
312         * lyx.C: move splash to frontends/xforms/
313
314         * lyx_gui_misc.C: move Include and Bibform to frontends
315
316         * lyxvc.h: clarify comment
317
318         * vspace.C: tiny housekeeping
319
320 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
321
322         * text.C (PrepareToPrint): RTL Fix.
323
324         * paragraph.C (GetUChar): New method.
325         (String):  Use GetUChar.
326
327         * buffer.C (asciiParagraph): Use GetUChar.
328
329 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
330
331         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
332
333 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
334
335         * buffer.h:
336         * buffer.C: rename to getLogName(), handle
337           build log / latex log nicely
338
339 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
340
341         * MenuBackend.C: 
342         * MenuBackend.h: remove support for reference menuitem type.
343
344 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
345
346         * BufferView_pimpl.C: housekeeping
347         * BufferView_pimpl.h:
348         * LyXView.h:
349         * Makefile.am:
350         * Timeout.C:
351         * Timeout.h:
352         * minibuffer.h: move Timeout GUI-I
353                           
354 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
355
356         * lyxrc.C (read): Update converters data-structures.
357
358 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
359
360         * LaTeX.h (operator!=): add operator != for Aux_Info 
361
362 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
363
364         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
365
366         * LaTeXLog.C: deleted, useful code moved to Buffer
367
368         * buffer.h:
369         * buffer.C: new function getLatexLogName()
370
371         * lyx_gui_misc.C:
372         * lyx_gui.C:
373         * lyxvc.C:
374         * lyxvc.h:
375         * lyxfunc.C: use frontends for LaTeX and VC logs
376
377 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
378
379         * LaTeX.h: yet another std:: that Allan forgot.
380
381         * Variables.C (set): renamed from isset(), because this clashes
382         with some HP-UX macros (grr).
383
384 2001-02-06  Allan Rae  <rae@lyx.org>
385
386         * LaTeX.h: Another bug fix.  Missing std:: this time.
387
388 2001-02-04  Allan Rae  <rae@lyx.org>
389
390         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
391         floats problem. I've left it commented out because it's not quite
392         correct.  It should also test that the current object is a table or
393         figure inset.  But I haven't gotten around to figuring out how to do
394         that.  I *think* it'll be something like: "table" == inset.type()
395
396         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
397         bool.
398
399 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
400
401         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
402         all the citation/databases/styles in the auxilary file. 
403         (run): Rerun latex if there was a babel language error.
404
405 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
406
407         * text.C (Backspace): Preserve the font when changing newline char
408         with a space.
409         (BreakParagraph): If the cursor is before a space, delete the space.
410
411         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
412
413 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
414
415         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
416         new argument (code).
417         (ChangeCitationsIfUnique): New method.
418
419         * paragraph.C (GetPositionOfInset): Handle bibkey.
420
421 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
422
423         * BufferView_pimpl.h: change type of Position::par_pos to
424         LyXParagraph::size_type. 
425
426 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
427
428         * BufferView_pimpl.C (savePosition, restorePosition): Write
429         messages to minibuffer.
430
431 2001-01-28  José Matos  <jamatos@fep.up.pt>
432
433         * buffer.C (makeDocBookFile): adds support for document language.
434         A silly restriction on the name of LatexCommand types where removed.
435         Added support for CDATA sections, allows to chars unescaped, used
436         among others in code, to avoid escape < and >.
437         
438 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
439
440         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of 
441         saved positions instrad of a stack. Furthermore, a position is
442         stored using paragraph id/paragraph position.
443
444         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
445         Remove LFUN_REF_BACK.
446
447 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
448
449         * converter.C (dvipdfm_options): New method.
450
451 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
452
453         * vspace.C (isValidLength): Fix for empty input string.
454
455 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
456
457         * LyXAction.C (init): change description of LFUN_FIGURE to
458         "Insert Graphics"
459
460 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
461
462         * LaTeX.C: add using directive
463
464 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
465
466         * MenuBackend.C (expand): Fix the sorting of the formats.
467
468 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
469
470         * lyx_main.C: tiny error message fix
471
472 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
473
474         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
475         calling fl_initialize(). This fixes the problem with ',' as
476         decimal separator in text files.
477
478 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
479
480         * trans.C (process): Fix the keymap bug.
481
482 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
483
484         * LaTeX.C (scanAuxFiles): New method. Provides support for
485         multiple bibliographies (when using the bibtopic/bibunits pacakges).
486         (scanLogFile) Scan for "run BibTeX" messages.
487
488         * buffer.C (makeLaTeXFile): Do not load the ae package when using
489         OT1 font encoding. Also, load the aecompl package if the ae
490         package is loaded.
491
492         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
493
494 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
495
496         * texrow.C (increasePos): turn two error messages into debug
497         messages. 
498
499 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
500
501         * LaTeX.C (scanAux): Handle the \@input macro.
502         (runBibTeX): Use scanAux().
503
504         * language.C (latex_options_): New field.
505
506         * LaTeXFeatures.C (getMacros): Add language macros.
507
508         * buffer.C (makeLaTeXFile): Small fix.
509
510 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
511
512         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
513
514         * text2.C: add a using directive.
515
516 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
517
518         * BufferView2.C:
519         * lyx_gui_misc.h:
520         * lyxfr1.C:
521         * lyxfunc.C: kill LyXBell.
522
523 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
524
525         * text.C (IsBoundary): Remove the error message
526         
527         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
528
529         * lyxrc.C (setDefaults): Correct initialization value for
530         font_norm_type.
531
532 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
533
534         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
535         gotoError().
536
537         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
538         and GotoNextNote().
539
540         * src/LyXAction.C: Added reference-next.
541
542         * text.C (InsertChar): Use contains instead of strchr.
543
544         * lyx_cb.C (MenuInsertLabel): Enable default value code.
545
546 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
547
548         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
549         alignment commands (when needed).
550
551         * text.C (InsertChar): Add ':' to number separator chars.