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