]> git.lyx.org Git - features.git/blob - src/ChangeLog
gcc 3.0 fixes
[features.git] / src / ChangeLog
1 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2
3         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
4
5 2001-06-27  Juergen Vigna  <jug@sad.it>
6
7         * text.C (cursorLeftOneWord): changed to return the cursor and added
8         overlay with BufferView * parameter which calls this one.
9         (getWord): added
10         (selectWord): use new getWord function.
11         (changeCase): renamed from changeWordCase as and extended to work
12         also on selections.
13
14         * lyxtext.h: added enum word_location
15
16         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
17         changeCase as this operates now also on selections.
18
19 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
20
21         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
22
23         * many files: send debug output to Debug::INFO instead of
24         Debug::ANY. 
25
26         * converter.C (View): 
27         (Convert): 
28         (Move): send debug output to Debug::FILES instead of console.
29
30 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
31
32         * lyxfunc.C (getStatus): use func_status
33
34         * func_status.h: new header, describing the results of
35         LyXFunc::getStatus;
36
37         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
38         LFUN_MATH_HALIGN.
39
40 2001-06-25  The LyX Project  <jug@sad.it>
41
42         * buffer.C (sgmlOpenTag):
43         (sgmlCloseTag):
44         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
45
46 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
47
48         * text2.C: remove some dead code
49
50         * tabular.C (GetCellInset): store the last cell checked (gotten)
51
52         * tabular.h: add the helper for the speedup
53
54         * lyxtext.h: remove some dead code
55
56 2001-06-26  The LyX Project  <Asger>
57
58         * paragraph.C: Change export to LaTeX of alignment to
59         \begin{center} and family for better roundtrip work with reLyX.
60
61         * Tune the math drawing a bit.
62
63 2001-06-25  The LyX Project  <Asger>
64
65         * LColor.C (LColor): New color for math background. New color
66         for buttons.
67
68 2001-06-25  The LyX Project  <jug@sad.it>
69
70         * lyxfunc.C (MenuNew): remove extra check for .lyx file
71
72         * lyxfunc.C (Open): 
73         * bufferlist.C (newFile): do not restrict to files ending with
74         .lyx
75
76         * BufferView_pimpl.C (MenuInsertLyXFile): 
77
78 2001-06-24  The LyX Project  <jug@sad.it>
79
80         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
81         of compare_no_case
82
83 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
84
85         * lyxtext.h: rename most methods to begin with a small char.
86         Lots of changes because of this.
87
88         * paragraph.C (Paragraph): do not call fitToSize
89         (erase): call Pimpl::erase
90         (insertChar): call Pimpl::insertChar
91         (insertInset): call Pipl::insertInset
92         (breakParagraph): do not call fitToSize
93         (breakParagraphConservative): do not call fitToSize
94         (fitToSize): remove method
95
96         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
97
98 2001-06-24  The LyX Project  <Asger>
99
100         * Fix Qt compilation^2
101
102 2001-06-24  The LyX Project  <jug@sad.it>
103
104         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
105         depthHook(getDepth()-1).
106
107         * paragraph.h: 
108         * ParagraphParameters.h: 
109         * ParameterStruct.h: change type of depth to unsigned int ==
110         depth_type. Many adaptations to other files before of that.
111
112 2001-06-24  The LyX Project  <Asger>
113
114         * Fix Qt compilation.
115
116 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
117
118         * paragraph.h: renamed several methods to begin with small letter.
119         several changes to many parts of the code because of this.
120
121 2001-06-23  The LyX Project  <jug@sad.it>
122
123         * text2.C (InsertStringAsLines): renamed from InsertStringA;
124         rewritten to discard all double spaces when KeepEmpty is off
125         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
126         to only handle newlines but not fiddle with spaces and friends.
127
128         * lyxfunc.C (MenuNew): when doing 'new from template', use
129         template_path as default directory
130
131 2001-06-23  The LyX Project  <Asger>
132
133         * Clean-up of header file includes all over
134         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
135         
136 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
137
138         * paragraph.h: renamed from lyxparagraph.h
139
140 2001-06-23  Asger  <lyx@violet.home.sad.it>
141
142         * Buffer.h: Removed Buffer::resize
143         * BufferList.h: Removed BufferList::resize
144         * LyXView.h: Added LyXView::resize. This way, we will only reflow 
145         the document lazily when we change the width, or the font settings.
146
147 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
148
149         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
150
151 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
152
153         * buffer.h: remove out of date comment
154
155 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
156
157         * lyxscreen.h:
158         * screen.C: fix "theoretical" GC leak
159  
160 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
161
162         * LaTeX.C (scanAuxFile):
163         (deplog): remove trailing \r when reading stream (useful under
164         win32)  
165
166 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
167
168         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
169         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
170         and BufferView::theLockingInset(Inset*), so should use them and not
171         access bv_->text->the_locking_inset directly.
172
173         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
174
175 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
176
177         * Makefile.am:
178         * tex-defs.h: remove old unused file
179          
180 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
181
182         * BufferView_pimpl.C: fix typo, remove minibuffer message
183           when buffer has loaded
184
185 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
186
187         * lyxfunc.C (Dispatch): use stringstream
188         (MenuNew): use stringstream
189         (Open): use stringstream
190
191         * importer.C (Import): use stringstream
192
193         * bufferview_funcs.C (CurrentState): use stringstream
194
195         * LaTeX.C (run): use stringstream
196
197         * BufferView_pimpl.C (savePosition): use stringstream
198         (restorePosition): use stringstream
199         (MenuInsertLyXFile): use stringstream
200
201 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
202
203         * BufferView.C:
204         * Bullet.C:
205         * ColorHandler.C:
206         * FontInfo.C:
207         * FontLoader.C:
208         * LColor.C:
209         * LaTeXFeatures.C:
210         * Painter.C:
211         * gettext.C:
212         * lyx_gui_misc.C:
213         * lyxserver.C:
214         * vspace.C: removed // -*- C++ -*- as first line.
215
216         * lyxfind.h:
217         * version.h: added // -*- C++ -*- as first line.
218
219 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
220
221         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
222
223         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
224         of string
225
226 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
227
228         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
229         of floats.
230
231 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
232
233         * gettext.C: include LString.h even when --disable-nls is on. 
234
235 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
236
237         * converter.h (Get): changed argument type from int to
238         FormatList::size_type to avoid unnecessary conversion.
239
240         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
241         before using it.
242
243 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
244
245         * gettext.h: include LString.h even when --disable-nls is on. 
246
247 2001-06-07  Juergen Vigna  <jug@sad.it>
248
249         * text.C (BreakAgain): subst spaces with tabs.
250
251         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
252         (resizeInsetsLyXText): set force on resizeLyXText.
253
254 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
255
256         * gettext.h (gettext_init): 
257         (locale_init): use a real definition instead of a macro
258
259 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
260
261         * Bufferview_pimpl.C:
262         * LColor.h:
263         * LColor.C: further lcolor tidies
264
265 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
266
267         * BufferView_pimpl.C (updateScrollbar): simplify.
268
269         * BufferView2.C: don't include insets/insetinfo.h, change
270         prototype for insertInset and call the Pimpl version. let
271         updateInset call Pimpl version.
272
273         * BufferView.h: move inset_slept to BufferView::Pimpl, move
274         gotoInset to BufferView::Pimpl
275
276 2001-06-01  Juergen Vigna  <jug@sad.it>
277
278         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
279         inside a LockingInset (is the update needed at all?).
280
281 2001-05-31  Juergen Vigna  <jug@sad.it>
282
283         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
284         here not the old one otherwise how should we compare it afterwards
285         if it's the same!
286
287 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
288
289         * lyxfont.C: 
290         * tabular.C:
291         * tabular-old.C: 
292         * FontInfo.C: bring C functions into global namespace when
293         necessary
294
295 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
296
297         * LString.h: make sure config.h has been loaded before LString.h.
298
299         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
300         (one for each char read by EatLine!).
301
302         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
303         variables. 
304
305 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
306
307         * paragraph.C (BreakParagraph): set the inset_owner in the new par
308         to the same as the par we break from
309
310 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
311
312         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
313
314         * MenuBackend.C (expand): also create menu entries for wide
315         versions of the floats.
316
317         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
318
319         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
320
321         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
322         frontends/Makefile.am
323
324         * text2.C: adjust
325         * text.C: adjust
326         
327
328         * tabular.C (getTokenValue): add std::
329
330         * tabular-old.C (getTokenValue): add std::
331         (getTokenValue): ditto
332         (getTokenValue): ditto
333
334         * screen.C (ToggleSelection): adjust
335
336         * lyxtext.h: put selection cursors inside a Selection struct.
337
338         * lyxfunc.C (moveCursorUpdate): adjust
339
340         * lyxfont.C (latexWriteStartChanges): add std::
341
342         * lyxfind.C: adjust
343
344         * font.h: delete with(char const *, LyXFont const &)
345
346         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
347
348         * FontInfo.C (getFontname): add std::
349
350         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
351         (workAreaButtonPress): adjust
352         (tripleClick): adjust
353         (update): adjust
354         (moveCursorUpdate): adjust
355         (Dispatch): adjust
356
357         * BufferView2.C (gotoInset): adjust
358
359 2001-05-30  Juergen Vigna  <jug@sad.it>
360
361         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
362         to check pspell I add this as default as I now have new pspell
363         libraries and they seem to use this.
364
365 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
366
367         * text2.C (CutSelection): make the cursor valid before the call to
368         ClearSelection.
369
370 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
371
372         * kbsequence.C (parse): de-uglify a bit the parsing code, which
373         relied on 0 terminated strings and other horrors. Bug found due to
374         the new assert in lyxstring!
375
376         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
377         KP_ keys.
378
379 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
380
381         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
382         to latinkeys.bind.
383
384         * lyxfunc.C (processKeySym): change method of getting to the
385         self-insert char.
386
387         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
388         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
389         * BufferView_pimpl.[Ch]: here as private methods.
390
391 2001-05-28  Juergen Vigna  <jug@sad.it>
392
393         * text.C (SetHeightOfRow): added the update() call again as it is
394         needed to initialize inset dimensions!
395
396 2001-05-16  Juergen Vigna  <jug@sad.it>
397
398         * text2.C (SetCharFont): Add new function with BufferView * and
399         bool toggleall parameters for setting insets internal fonts.
400         (SetFont): Freeze the undo as we may change fonts in Insets and
401         all this change should be inside only one Undo!
402
403         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
404         setting font's in insets as for them we have the SetFont function!
405
406 2001-05-15  Juergen Vigna  <jug@sad.it>
407
408         * text2.C (ClearSelection): to be sure we REALLY don't have any
409         selection anymore!
410
411         * tabular.C (TeXCellPreamble): fixed the left border problem for
412         multicolumn cells.
413
414 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
415
416         * LaTeX.C (deplog): Make sure that the main .tex file is in the
417         dependancy file
418
419 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
420
421         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
422         LFUN_BREAKPARAGRAPH.
423
424         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
425         help test to "internal only", similar for LFUN_INSERT_URL
426
427         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
428         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
429         auto_region_delete and deadkeys. 
430
431 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
432
433         * LColor.h:
434         * LColor.C: remove some dead entries, tidy a little
435  
436 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
437
438         * lyxfunc.C (processKeySym): comment the Escape handling, remove
439         commented code.
440         (Dispatch): implement LFUN_ESCAPE
441
442         * commandtags.h: add LFUN_ESCAPE
443
444         * LyXAction.C (init): add entry for LFUN_ESCAPE
445
446         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
447         Remove commented code.
448         (insertNote): moved here
449         (open_new_inset): moved here
450
451         * BufferView[2].[Ch]: move insertNote and open_new_inset to
452         BufferView_pimpl
453
454 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
455
456         * kbmap.C (findbinding): clean it up and make it work correctly.
457
458         * lyx_main.C (init): do not pass argc and argv as parameters
459
460 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
461
462         * buffer.C: fix path for OS/2 & Win32
463
464         * lyx_gui.C:
465         * lyx_main:
466         * lyx_main.C: Added os:: class.
467         
468         * os2_defines.h: update
469
470 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
471
472         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
473         better by trying again with reduced state.
474
475 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
476
477         * lyxrc.C (read): print error about invalid key sequence only when
478         debugging (because not all latinX keysyms are known to some X
479         servers)
480
481         * kbsequence.C (getiso): add a few std:: qualifiers
482         (getiso): comment out extra return statement.
483
484 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
485
486         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
487         handling.
488         (Dispatch): enhance the accent inset a bit. (not perfect)
489
490 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
491
492         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
493
494 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
495
496         * bufferlist.C (emergencyWrite): fix assert() call
497
498 2001-05-04  Kayvan A. Sylvan  <kayvan@camel.internal.sylvan.com>
499
500         * text.C (InsertChar): Added trivial patch to only send the "you
501         can not do multiple spaces this way" message once during a
502         session.
503
504 2001-05-08  Baruch Even  <baruch@lyx.org>
505
506         * Makefile.am: Changed order of libraries to get LyX to link properly
507         with the gnome frontend.
508
509 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
510
511         * LaTeXFeatures.h: add a std:: qualifier
512
513 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
514
515         * paragraph.C (String): use stringstream
516
517 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
518
519         * paragraph.C (writeFile): remove footflag arg
520
521         * buffer.C (makeLaTeXFile): use stringstream
522         (latexParagraphs): remove footnot gurba
523
524         * LaTeXFeatures.C (getPackages): use stringstream
525         (getMacros): likewise
526         (getTClassPreamble): likewise
527         (getFloatDefinitions): new method
528
529         * paragraph.C (writeFile): reindent
530         (Erase): reindent
531
532         * WorkArea.h: revert the xpos + etc changes.
533
534         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
535
536         * lyxparagraph.[Ch]: add copy constructor, remove Clone
537
538         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
539         (pasteSelection): likewise
540         * text2.C (CreateUndo): likewise
541
542 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
543
544         * minibuffer.C (peek_event): temporarily reduce the functionality
545         of the minibuffer (to allow args on lfuns)
546
547         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
548         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
549
550         * buffer.C (readInset): add compability reading of old float
551         lists, add reading of new style float list.
552         (readInset): avoid reevaluation of inscmd.getCmdName()
553         (getLists): reindent
554
555         * MenuBackend.C (MenuItem): implement parsing of
556         md_floatlistinsert and md_floatinsert.
557         (expand::LastFiles): move initalizaton of iterators out of loop,
558         avoid reevaluation.
559         (expand::Documents): introduce typdedef vector<string> Strings,
560         and use it. 
561         (expand::ExportFormats): introduce typedef vector<Format const *>
562         Formats, and use it.
563         (expand): implement FloatListInsert and FloatInsert.
564
565         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
566         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
567         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
568
569         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
570         handling. 
571         (Dispatch::LFUN_FLOAT_LIST): implement
572
573 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
574  
575         * LaTeX.C (run): Fix problem with --export code.
576  
577 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
578
579         * BufferView.[Ch] (workarea): removed.
580         (getClipboard) new method; wrapper for workarea()->getClipboard()
581
582         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
583         bug.
584
585         * WorkArea.h (width, height, xpos, ypos): These methods all
586         returned the dimensions of the work_area sub-area of WorkArea,
587         resulting in a position error if the WorkArea were resized. Now
588         return the dimensions of the entire WorkArea.
589
590         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
591
592 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
593
594         * LaTeX.C (deplog): correct the syntax of regex reg1
595
596 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
597
598         * undo.C: remove !NEW_INSETS cruft
599
600 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
601
602         * text2.C: remove !NEW_INSETS cruft
603
604         * text.C: remove !NEW_INSETS cruft
605
606         * tabular.C: remove !NEW_INSETS cruft
607
608         * spellchecker.C: remove !NEW_INSETS cruft
609
610         * lyxtext.h: remove !NEW_INSETS cruft
611
612         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
613
614         * lyxfunc.C: remove !NEW_INSETS cruft
615
616         * lyxfind.C: remove !NEW_INSETS cruft
617
618         * lyx_cb.C: remove !NEW_INSETS cruft
619
620         * figureForm.C: remove  !NEW_INSETS cruft
621
622         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
623
624         * buffer.[Ch]: remove !NEW_INSETS cruft
625
626         * ToolbarDefaults.C: remove !NEW_INSETS cruft
627
628         * CutAndPaste.C: remove !NEW_INSETS cruft
629
630         * BufferView_pimpl.C: remove !NEW_INSETS cruft
631
632         * BufferView2.C: remove !NEW_INSETS cruft
633
634         * BufferView.h: remove !NEW_INSETS cruft
635
636 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
637
638         * Lsstream.h: include LString.h before the sstream headers to
639         fix problem with gcc 2.95.3 and lyxstring
640
641 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
642
643         * lyx_main.C: add using directives when needed for C functions
644         declared in std:: namespace.
645
646 2001-04-27  Juergen Vigna  <jug@sad.it>
647
648         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
649         (SetHeightOfRow): comment out the update call should not be needed!
650
651 2001-04-13  Juergen Vigna  <jug@sad.it>
652
653         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
654         (LyXTabular): tried to minimize operator= operations (and realized
655         hopfully Lars wish).
656
657 2001-04-27  Juergen Vigna  <jug@sad.it>
658
659         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
660
661 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
662
663         * lyxfunc.C (Dispatch): hack to make listof algorithm work
664
665         * buffer.C (readInset): hack to make listof algorithm work
666
667         * BufferView_pimpl.C: hack to make listof algorithm work
668
669 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
670
671         * LyXAction.C: removed all !NEW_INSETS cruft
672         (init): moved lfun_item in method
673
674         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
675
676 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
677
678         * BufferView2.C (theLockingInset): white space.
679
680 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
681
682         * minibuffer.C: include <iostream>
683
684         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
685
686         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
687
688         * commandtags.h: add LFUN_TRANSPOSE_CHARS
689
690         * text.[Ch] (TransposeChars): new method
691
692 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
693
694         * call message directly through LyXView instead of through LyXFunc
695         * BufferView2.C: adjust
696         * BufferView_pimpl.C: adjust
697         * FontLoader.C: adjust
698         * buffer.C: adjust
699         * bufferview_funcs.C: adjust
700         * converter.C: adjust
701         * figureForm.C: adjust
702         * importer.C: adjust
703         * lyx_cb.C: adjust
704         * lyx_gui_misc.C: adjust
705         * lyxfunc.C: adjust
706         * lyxvc.C: adjust
707         * text2.C: adjust
708         + more files in subdirs
709         
710         * lyxparagraph.h (size): move up int file
711         (GetLayout): ditto
712
713         * adjust all uses of Assert to lyx::Assert.
714
715         * BufferView2.C (ChangeCitationsIfUnique): adjust for
716         lyxfunctional in namespace lyx
717         * layout.C (hasLayout): ditto
718         (GetLayout): ditto
719         (GetLayout): ditto
720         (delete_layout): ditto
721         (NumberOfClass): ditto
722         * converter.C (GetFormat): ditto
723         (GetNumber): ditto
724         (Add): ditto
725         (Delete): ditto
726         (SetViewer): ditto
727         * bufferlist.C (getFileNames): ditto
728         (emergencyWriteAll): ditto
729         (exists): ditto
730         (getBuffer): ditto
731         * MenuBackend.C (hasSubmenu): ditto
732         (hasMenu): ditto
733         (getMenu): ditto
734         * BufferView_pimpl.C (getInsetByCode): ditto
735
736 2001-04-18  Juergen Vigna  <jug@sad.it>
737
738         * vspace.C (asLatexString): fixed the 100% problem.
739
740 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
741
742         * lyxfunc.C (Dispatch): 
743         * minibuffer.C: 
744         * minibuffer.h: add a few std:: qualifiers
745
746 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
747
748         * minibuffer.[Ch]: reimplement so that commands is initiated and
749         run from lyxfunc, simplified som handling, and made the completion
750         and history code for complete. wip. 
751
752         * lyxfunc.C (processKeySym): call message
753         (miniDispatch): new temporary method
754         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
755         (LFUN_MESSAGE): implement
756         (LFUN_MESSAGE_PUSH): implement
757         (LFUN_MESSAGE_POP): implement
758         (initMiniBuffer): the initial/defualt minibuffer message.
759
760         * lyxfont.[Ch]: inline some more getters
761
762         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
763
764         * lyx_gui_misc.[Ch] (WriteStatus): remove method 
765
766         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
767         (AutoSave): use LFUN_MESSAGE
768         (Reconfigure): ditto
769
770         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
771
772         * figureForm.C: use LFUN_MESSAGE
773
774         * converter.C (runLaTeX): use LFUN_MESSAGE
775
776         * bufferview_funcs.C: use LFUN_MESSAGE
777         (Melt): ditto
778         (changeDepth): ditto
779
780         * bufferparams.h: use boost::
781
782         * bufferlist.h: inherit privately from noncopyable
783
784         * bufferlist.C (loadLyXFile): remove some commented code.
785
786         * buffer.C (runChktex): use LFUN_MESSAGE
787
788         * ShareContainer.h: inherit privately from noncopyable
789
790         * ParagraphParameters.[hC] (depth): inline it.
791
792         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
793         methods.
794         (message): new method
795         (messagePush): ditto
796         (messagePop): ditto
797         (show): init minibuffer
798         (showState): direct call
799
800         * LaTeX.[Ch]: inherit privately from noncopyable
801         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
802         instead of WriteStatus.
803
804         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
805
806         * BufferView_pimpl.C (buffer): don't init minibuffer
807         (workAreaButtonPress): use LFUN_MESSAGE
808         (workAreaButtonRelease): ditto
809         (savePosition): ditto
810         (restorePosition): ditto
811         (MenuInsertLyXFile): ditto
812         (workAreaExpose): don't init minibuffer
813         (update): remove commented code, simplify
814
815         * BufferView2.C (openStuff): use LFUN_MESSAGE
816         (toggleFloat): ditto
817         (menuUndo): ditto
818         (menuRedo): ditto
819         (copyEnvironment): ditto
820         (pasteEnvironment): ditto
821         (copy): ditto
822         (cut): ditto
823         (paste): ditto
824         (gotoInset): ditto
825         (updateInset): remove some commented code
826
827         * lastfiles.h: inherit privately from noncopyable
828         * layout.h: ditto
829         * lyx_gui.h: ditto
830         * lyx_main.h: ditto
831         * lyxlex.h: ditto
832         * lyxlex_pimpl.h: ditto
833
834         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
835         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
836         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
837
838         * LyXAction.h: inherit privately from noncopyable, add methods
839         func_begin, func_end, returning iterators to the func map.
840
841         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
842         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
843         (func_begin): new method
844         (func_end): new method
845
846         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
847         and not)
848         (copySelection): ditto
849         (pasteSelection): ditto
850
851         * BufferView.C: whitespace change
852         * BufferView.h: inherit privately from noncopyable
853
854 2001-04-16  Allan Rae  <rae@lyx.org>
855
856         * tabular-old.C (l_getline): 
857         * spellchecker.C (sc_check_word): 
858         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
859         an unrecognised preprocessor directive.  So ensure they're wrapped. 
860
861 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
862
863         * src/exporter.C (Export): Give an error message when path to file 
864         contains spaces.
865
866 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
867
868         * LaTeX.C (deplog): Always check that foundfile exists.
869
870 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
871
872         * lyx_main.h: 
873         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name 
874
875 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
876
877         * tabular.[Ch] (getLabelList): implement new method
878
879         * minibuffer.h: comment ouf setTiimer
880
881         * minibuffer.C (ExecutingCB): constify res
882         (peek_event): constify s
883         (Set): constify ntext
884         (Init): constify nicename
885
886         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
887
888         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
889         (savePosition): use two params to Minibuffer::Set
890         (restorePosition): ditto
891
892 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
893
894         * lyx_main.C: include language.h
895
896         * Makefile.am (lyx_main.o): add language.h
897
898 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
899
900         * exporter.C: 
901         * paragraph.C: 
902         * screen.C: 
903         * tabular.C: 
904         * CutAndPaste.C: include gettext.h
905
906         * lyxfont.h: remove old hack with ON and OFF.
907
908         * lyxparagraph.h: 
909         * lyxfont.h: do not include language.h...
910
911         * BufferView2.C: 
912         * LaTeXFeatures.C: 
913         * Painter.C: 
914         * bufferview_funcs.C: 
915         * font.C: 
916         * lyxfont.C: 
917         * text.C: 
918         * text2.C: 
919         * trans_mgr.C: 
920         * paragraph.C: ... but do it here instead
921
922 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
923
924         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
925
926         * tabular.C: small reformat
927
928         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
929         NEW_INSETS version
930         (GetChar): ditto
931         (BreakParagraph): ditto
932         (SetOnlyLayout): ditto
933         (SetLayout): ditto
934
935         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
936         with one arg less.
937
938         * lastfiles.C: removed most using decl, add std:: where needed
939
940         * buffer.C: ws changes
941
942         * MenuBackend.C (class compare_format): put into anon namespace
943         (expand): constify label, names, action, action2
944         (expand): 
945
946         * text.C (SingleWidth): constify font
947         (IsBoundary): constify rtl2
948         (GetVisibleRow): constify ww
949
950         * LaTeX.C (deplog): constify logfile
951
952         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
953         start_x, end_x
954         (workAreaExpose): constify widthChange, heightChange
955
956         * lyxrow.C (par): moved
957         (height): moved
958         (next): moved
959         * lyxrow.h: as inlines here
960
961         * lyxfont.h (shape): moved from lyxfont.C
962         (emph): moved from lyxfont.C
963
964         * lyxfont.C (LyXFont): use initialization list for all
965         constructors
966         (shape): move to lyxfont.h as inline
967         (emph): move to lyxfont.h as inline
968         
969
970 2001-04-04  Juergen Vigna  <jug@sad.it>
971
972         * vspace.C: had to include stdio.h for use of sscanf
973
974 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
975
976         * BufferView.h: 
977         * BufferView_pimpl.h: remove xforms cruft. Both classes are
978         independent of xforms.
979
980 2001-04-02  Juergen Vigna  <jug@sad.it>
981
982         * spellchecker.C: fixed namespace placing!
983
984 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
985
986         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
987         the LyXParagraph * is 0.
988
989 2001-03-29  Juergen Vigna  <jug@sad.it>
990
991         * vspace.C: added support for %, c%, p%, l%.
992         (stringFromUnit): added helper function.
993         (asLatexString): changed to give right results for the %-values.
994
995         * buffer.C: convert the widthp in a width%.
996
997 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
998
999         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
1000         figureForm.[Ch].
1001
1002         * figureForm.[Ch]: stripped the FD_from_figure manipulation
1003         code out of lux_cb.[Ch], ready for its (imminent?) removal.
1004
1005         * lyx_cb.[Ch]: see above.
1006
1007         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
1008         form1.[Ch].
1009
1010         * form1.[Ch]:
1011         * lyx.[Ch]: replaced by figure_form.[Ch].
1012
1013         * lyx_gui.C:
1014         * lyx_gui_misc.C:
1015         * lyxfunc.C: changed headers associated with above changes.
1016
1017 2001-03-27  Juergen Vigna  <jug@sad.it>
1018
1019         * BufferView_pimpl.C: set the temporary cursor right!
1020
1021 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
1022
1023         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
1024
1025 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
1026
1027         * LString.h: removed "using std::getline"!
1028
1029         * BufferView_pimpl.C (Dispatch): changes due to changes in
1030         InsetInclude::Params.
1031
1032         * buffer.C (tag_name): removed redundant break statements as they were
1033         producing lots of warnings with my compiler.
1034
1035 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1036
1037         * LString.h: add "using std::getline" when using the real <string>.
1038
1039 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
1040
1041         * buffer.C: removed bitset usage.
1042         PAR_TAG moved to an anonymous name space.
1043         (tag_name): new funtion, also in the anonymous namespace.
1044         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
1045         (makeDocBookFile): clean code. Completed transition from string arrays
1046         to string vectors.
1047         (SimpleDocBookOnePar): code clean.
1048
1049 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1050
1051         * tabular.C: add some comments.
1052
1053 2001-03-22  Juergen Vigna  <jug@sad.it>
1054
1055         * buffer.C (parseSingleLyXformat2Token): redone the minipage
1056         compatibility read a bit and fixed bug with minipage in different
1057         depth.
1058
1059 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
1060
1061         * buffer.C (pop_tag): removed.
1062         (push_tag): removed.
1063         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
1064         array replaced with vector. Added support for CDATA sections.
1065         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
1066         at any nest level.
1067         (makeDocBookFile): XML conformant declaration of CDATA section,
1068         fixed bug related to <emphasis> in the first paragraph char.
1069         (sgmlOpenTag): exclude empty tags.
1070         (sgmlCloseTag): ditto.
1071         
1072         * buffer.h (pop_tag): removed.
1073         (push_tag): removed.
1074
1075 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
1076
1077         * language.h (Languages): added size_type and size().
1078
1079 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1080
1081         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
1082         response on compability reading of minipages. One probliem is that
1083         the old usage of minipages was «flertydig» 
1084
1085         * several files here and in subdirs: don't use static at file
1086         scope use anon namespaces instead.
1087
1088 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
1089
1090         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
1091         LaTeX output. This is necessary for Literate document
1092         processing.
1093
1094 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1095
1096         * buffer.C: insert hfill when needed.
1097
1098         * tabular.C (l_getline): use string::erase, small whitespace change.
1099
1100         * BufferView_pimpl.C: try the anon namespace.
1101         * WorkArea.C: ditto
1102
1103 2001-03-16  Juergen Vigna  <jug@sad.it>
1104
1105         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
1106         otherwise it won't open options-dialogs.
1107
1108         * buffer.C: honor pextraWidth(p) on converting minipages.
1109
1110         * tabular.C (l_getline): changed the functions to strip trailing \r.
1111
1112 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
1113
1114         * BufferView_pimpl.C:
1115         * minibuffer..C: added "using SigC::slot" declaration.
1116
1117 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1118
1119         * lyxlex_pimpl.h: noncopyable is in namespace boost.
1120
1121         * text2.C: ditto
1122
1123         * text.C: ditto
1124
1125         * paragraph.C: ditto
1126
1127         * lyxtext.h: NO_PEXTRA
1128
1129         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
1130
1131         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
1132         * ParameterStruct.h: ditto
1133         * ParagraphParameters.h: ditto 
1134         * lyxparagraph.h: ditto
1135
1136 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1137
1138         * buffer.C: add compability for minipage alignment.
1139         (latexParagraphs): remove unwanted pextra check.
1140
1141         * several files: remove CXX_WORKING_NAMESPACES
1142
1143         * buffer.C (pop_tag): tie is in namespace boost
1144
1145         * BufferView.h: noncopyable is in namespace boost
1146         * lyxlex.h: ditto
1147         * lyx_main.h: ditto
1148         * lyx_gui.h: ditto
1149         * layout.h: ditto
1150         * lastfiles.h: ditto
1151         * bufferlist.h: ditto
1152         * ShareContainer.h: ditto
1153         * LyXView.h: ditto
1154         * LyXAction.h: ditto
1155         * LaTeX.h: ditto
1156
1157 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
1158
1159         * Merging changes from BRANCH_MVC back into HEAD.
1160
1161         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
1162
1163 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
1164
1165         * BufferView_pimpl.C: change from intl.C
1166
1167         * combox.h:
1168         * combox.C:
1169         * Makefile.am: move combox.*
1170
1171         * form1.h:
1172         * form1.C:
1173         * lyx_gui.C:
1174         * intl.h:
1175         * intl.C: remove dialog (covered by prefs)
1176
1177 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
1178
1179         * lyxfunc.C (Dispatch): removed redundant break statement.
1180         
1181 2001-03-14  Juergen Vigna  <jug@sad.it>
1182
1183         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
1184
1185 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1186
1187         * buffer.C: add hack to fix compability reading of minipages.
1188
1189 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
1190
1191         * buffer.C (getLists): Cleanup.
1192
1193 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1194
1195         * lyxfont.C (update): don't honor toggleall on font size.
1196
1197 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
1198
1199         * bmtable.c:
1200         * bmtable.h:
1201         * Makefile.am: moved to frontends/xforms/
1202
1203         * lyx_gui_misc.C:
1204         * lyxfunc.C:
1205         * BufferView_pimpl.C: changes for moved mathpanel
1206
1207 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
1208
1209         * gettext.h: fix gettext_init() in --disable-nls
1210
1211 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1212
1213         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
1214
1215 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
1216
1217         * lyx.C:
1218         * lyx.h: strip external form
1219
1220 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
1221
1222         * BufferView_pimpl.C: add comment, destroySplash()
1223
1224 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
1225
1226         * BufferView_pimpl.C:
1227         * LyXAction.C:
1228         * buffer.C:
1229         * commandtags.h:
1230         * lyxfunc.C: use re-worked insetinclude
1231
1232 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1233
1234         * buffer.C: add using std::stringstream.
1235
1236         * lyx_cb.C: readd using std::ios.
1237
1238         * buffer.C: add using std::map.
1239
1240         * BufferView_pimpl.C: add using std::vector.
1241
1242         * ShareContainer.h: add std:: to swap.
1243
1244         * buffer.h: add some typedefs
1245         * buffer.C (getLists): use them
1246         (getLists): renamed from getTocList.
1247         add a counter for the different float types and use it in the
1248         generated string.
1249         (getLists): use the same counter for the NEW_INSETS and the "non"
1250         NEW_INSETS
1251
1252         * lyx_cb.h: remove unused items, includes, using etc.
1253
1254         * ShareContainer.h: remove some commented code, add more comments
1255         and "documentation".
1256
1257 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1258
1259         * buffer.C (getTocList): make the list also when NEW_INSETS is
1260         defined.
1261
1262         * buffer.h: remove TocType
1263
1264         * buffer.C (getTocList): change to return a map<string,
1265         vector<TocItem> >, implement for dynamic number of list.
1266
1267         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
1268         * text2.C (PasteSelection): adjust
1269         * CutAndPaste.C (pasteSelection): adjust
1270
1271         * FloatList.C (FloatList): update from the new_insets branch.
1272         * Floating.[Ch]: ditto
1273         * LaTeXFeatures.C: ditto
1274         * buffer.C: ditto
1275         * lyxlex_pimpl.C: ditto
1276         
1277         * paragraph.C (Last): remove when NEW_INSETS is defined.
1278
1279         * other file: changes because of the above.
1280
1281 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1282
1283         * lyxparagraph.h: rename next to next_, previous to previous_,
1284         make them private for NEW_INSETS. Rename Next() to next(),
1285         Previous() to previous().
1286
1287         * other files: changes because of the above.
1288
1289 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
1290
1291         * BufferView.h: 
1292         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
1293         problem.
1294
1295 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1296
1297         * main.C (main): pass lyx_localedir to gettext_init().
1298
1299         * gettext.h: remove locale_init and gettext_init macros
1300
1301         * gettext.C (locale_init): new function
1302         (gettext_init): new function
1303
1304         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
1305         setlocale().
1306
1307 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
1308
1309         * Moved credits to frontends:
1310         * credits.[Ch]: removed
1311         * credits_form.[Ch]: removed
1312         * lyx_gui_misc.C: remove credits stuff
1313         * Makefile.am:
1314
1315 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1316
1317         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
1318
1319         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
1320         unneeded destructor.
1321
1322         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
1323         a standalone pointer again.
1324
1325         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
1326
1327 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
1328
1329         * Makefile.am:
1330         * filedlg.h:
1331         * filedlg.C:
1332         * LyXAction.C:
1333         * ToolbarDefaults.C:
1334         * bufferlist.C:
1335         * commandtags.h:
1336         * form1.C:
1337         * form1.h:
1338         * lyx_cb.C:
1339         * lyx_cb.h:
1340         * lyxfunc.h:
1341         * lyxfunc.C:
1342         * BufferView_pimpl.C: use new file dialog in GUII
1343
1344         * lyx_cb.h:
1345         * lyx_cb.C: remove LayoutsCB to Toolbar
1346
1347 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1348
1349         * ShareContainer.h (get): add std:: qualifier
1350
1351 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1352
1353         * ShareContainer.h: define a proper ShareContainer::value_type
1354         type (and use typename to please compaq cxx)
1355
1356 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1357
1358         * lyxparagraph.h: move serveral local vars to
1359         ParameterStruct/ParagraphParameters., use ShareContainer in
1360         FontTable., make vars in FontTable private and add getter and
1361         setter.
1362
1363         * paragraph.C: changes because of the above.
1364
1365         * lyxfont.h: remove copy constructor and copy assignment. (the
1366         default ones is ok), move number inside FontBits. move inlines to
1367         lyxfont.C 
1368
1369         * lyxfont.C: add number to initializaton of statics, move several
1370         inlines here. constify several local vars. some whitespace
1371         cleanup. Dont hide outerscope variables.
1372
1373         * Spacing.h: add two new constructors to match the set methods.
1374
1375         * ShareContainer.h: new file, will perhaps be moved to support
1376
1377         * ParameterStruct.h: new file
1378
1379         * ParagraphParameters.h: new file
1380
1381         * ParagraphParameters.C: new file
1382
1383         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
1384         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
1385
1386         * BufferView_pimpl.C: ParagraphParameter changes.
1387         * buffer.C: Likewise.
1388         * bufferview_funcs.C: Likewise.
1389         * text.C: Likewise.
1390         * text2.C: Likewise.
1391         
1392 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1393
1394         * lyxfind.C (LyXReplace): do not redefine default argument in
1395         implementation. 
1396         (IsStringInText): ditto
1397         (SearchForward): ditto
1398         (SearchBackward): ditto
1399
1400 2001-03-06  Juergen Vigna  <jug@sad.it>
1401
1402         * lyxfind.C (IsStringInText): put parentes around expressions.
1403
1404 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
1405
1406         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
1407         
1408 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
1409
1410         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
1411
1412         * stl_string_fwd.h: add comment
1413
1414         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
1415
1416         * tabular.h:
1417         * tabular.C: remove unused DocBook methods
1418
1419         * intl.C:
1420         * language.C:
1421         * paragraph.C:
1422         * buffer.C:
1423         killed DO_USE_DEFAULT_LANGUAGE
1424
1425 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1426
1427         * lyx_gui.C: do not include language.h.
1428
1429         * bufferview_funcs.C (ToggleAndShow): do not provide optional
1430         arguments in function implementation.
1431
1432 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1433
1434         * BufferView_pimpl.C: add <ctime>
1435
1436 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1437
1438         * BufferView_pimpl.C: add using std::find_if
1439
1440 2001-02-27  José Matos  <jamatos@fep.up.pt>
1441         
1442         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
1443         by OnlyPath.
1444         
1445 2001-02-11  José Matos  <jamatos@fep.up.pt>
1446
1447         * buffer.C (makeDocBookFile): command styles now have a parameter as
1448         "title" by default.
1449
1450 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
1451
1452         * layout_forms.[Ch]: removed
1453         * lyx_cb.[Ch]: out character
1454         * lyx_gui.C: out character
1455         * lyx_gui_misc.C: out character
1456         * bufferview_funcs.C: : out character,
1457         added toggleall as parameter in ToggleAndShow
1458                    
1459 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
1460
1461         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
1462
1463         * text2.C (SetCurrentFont): Disable number property at boundary.
1464
1465 2001-02-26  Juergen Vigna  <jug@sad.it>
1466
1467         * lyxfunc.C (getStatus): added a string argument override function so
1468         that this is correctly called from LyXFunc::Dispatch if it contains a
1469         do_not_use_argument which is used!
1470         (Dispatch): added check for "custom" export and call appropriate func.
1471
1472 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
1473
1474         * lyxrc.C: Add language_command_local, language_use_babel and
1475         language_global_options.
1476
1477         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
1478
1479         * buffer.C (makeLaTeXFile): Use language_use_babel and 
1480         language_global_options.
1481
1482 2001-02-23  Juergen Vigna  <jug@sad.it>
1483
1484         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
1485         which works with LyXText and putted it inside BufferView. Here now we
1486         only call for that part the BufferView::Dispatch() function.
1487
1488         * BufferView.C (Dispatch): added.
1489
1490         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
1491         functions which needs to use a LyXText over from LyXFunc.
1492         (MenuInsertLyXFile): added
1493         (getInsetByCode): added
1494         (moveCursorUpdate): added
1495         (static TEXT): added
1496
1497 2001-02-22  Juergen Vigna  <jug@sad.it>
1498
1499         * BufferView_pimpl.C (update): call a status update to see if LyXText
1500         needs it.
1501
1502 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1503
1504         * vc-backend.C (revert): implement for CVS
1505         (getLog): implement for CVS
1506
1507 2001-02-20  Juergen Vigna  <jug@sad.it>
1508
1509         * text2.C (ClearSelection): added BufferView param for inset_owner call
1510
1511         * lyxfunc.C (TEXT): added this function and use it instead of
1512         directly owner->view()-text of getLyXText().
1513
1514 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
1515
1516         * src/layout_forms.C: out preamble
1517         * src/layout_forms.h: out preamble
1518         * src/lyx_cb.C: out preamble
1519         * src/lyx_cb.h: out preamble
1520         * src/lyx_gui.C: out preamble
1521         * src/lyx_gui_misc.C: out preamble
1522         * src/lyxfunc.C: connect with guii preamble
1523
1524 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
1525
1526         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
1527
1528 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
1529
1530         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
1531         whether to run bibtex.
1532
1533 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
1534
1535         * Makefile.am (lyx_SOURCES): Remove BackStack.h
1536
1537 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
1538
1539         * Makefile.am (lyx_SOURCES): removed bibforms.h
1540
1541         * vspace.h: doxygen
1542
1543         * text.C (GetVisibleRow): make several local vars const
1544
1545         * tabular.C: small cleanup.
1546
1547         * lyxserver.C (callback): use compare instead of strncmp
1548
1549         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
1550         inlines to after class or to paragraph.C
1551
1552         * lyxfont.h: remove friend operator!=
1553
1554         * converter.h: move friend bool operator< to non friend and after
1555         class def.
1556
1557         * combox.h: small cleanup
1558
1559         * buffer.h: doxygen, remove unused constructor, move inclas inlies
1560         to inlines after class def.
1561
1562         * buffer.C (pop_tag): use string operations instead of strcmp
1563
1564         * bmtable.c: doxygen, small cleanup
1565
1566         * LaTeX.h: remove friend operator==
1567
1568 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
1569
1570         * screen.C: 
1571         * lyxrc.[Ch]:
1572         * lyxfunc.C: 
1573         * lyxfont.[Ch]: 
1574         * lyx_cb.C: 
1575         * intl.[Ch]: 
1576         * commandtags.h: 
1577         * buffer.C: 
1578         * WorkArea.[Ch]: 
1579         * LyXAction.C: 
1580         * BufferView_pimpl.C:
1581         * BufferView.[Ch]: remove cruft
1582
1583 2001-02-14  Juergen Vigna  <jug@sad.it>
1584
1585         * lyxfunc.C: removed #if 0 unused code
1586
1587         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
1588
1589         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
1590
1591         * text2.C (SetSelection): added a BufferView * parameter
1592
1593 2001-02-13  Juergen Vigna  <jug@sad.it>
1594
1595         * lyxfunc.C (Dispatch): fixed protected blank problem.
1596         * BufferView2.C (protectedBlank): added LyxText * parameter.
1597
1598         * tabular.C (AppendRow): forgot to set row_info of newly added row.
1599         (AppendColumn): same as above for column_info.
1600
1601         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
1602         (moveCursorUpdate): use a LyXText param for support of InsetText.
1603
1604         * BufferView_pimpl.C (doubleClick): added support for InsetText.
1605         (tripleClick): ditto
1606
1607         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
1608
1609         * BufferView_pimpl.C (update): added LyXText param to honor insets.
1610
1611         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
1612
1613         * text2.C (SetSelection): set correct update status if inset_owner
1614         (ToggleFree): ditto
1615
1616 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
1617
1618         * tabular.C: remove some commented code.
1619
1620 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
1621
1622         * BufferView_pimpl.C: call hideSplash()
1623
1624         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
1625
1626         * include_form.h:
1627         * bibforms.h: remove
1628
1629         * lyxfunc.C:
1630         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
1631           add LFUN_CHILD_CREATE
1632
1633         * counters.h: fix tiny typo
1634         
1635         * lyx_cb.C:
1636         * lyx.h:
1637         * lyx_gui.C:
1638         * lyx.C: move splash to frontends/xforms/
1639
1640         * lyx_gui_misc.C: move Include and Bibform to frontends
1641
1642         * lyxvc.h: clarify comment
1643
1644         * vspace.C: tiny housekeeping
1645
1646 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
1647
1648         * text.C (PrepareToPrint): RTL Fix.
1649
1650         * paragraph.C (GetUChar): New method.
1651         (String):  Use GetUChar.
1652
1653         * buffer.C (asciiParagraph): Use GetUChar.
1654
1655 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
1656
1657         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
1658
1659 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
1660
1661         * buffer.h:
1662         * buffer.C: rename to getLogName(), handle
1663           build log / latex log nicely
1664
1665 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1666
1667         * MenuBackend.C: 
1668         * MenuBackend.h: remove support for reference menuitem type.
1669
1670 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
1671
1672         * BufferView_pimpl.C: housekeeping
1673         * BufferView_pimpl.h:
1674         * LyXView.h:
1675         * Makefile.am:
1676         * Timeout.C:
1677         * Timeout.h:
1678         * minibuffer.h: move Timeout GUI-I
1679                           
1680 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
1681
1682         * lyxrc.C (read): Update converters data-structures.
1683
1684 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
1685
1686         * LaTeX.h (operator!=): add operator != for Aux_Info 
1687
1688 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
1689
1690         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
1691
1692         * LaTeXLog.C: deleted, useful code moved to Buffer
1693
1694         * buffer.h:
1695         * buffer.C: new function getLatexLogName()
1696
1697         * lyx_gui_misc.C:
1698         * lyx_gui.C:
1699         * lyxvc.C:
1700         * lyxvc.h:
1701         * lyxfunc.C: use frontends for LaTeX and VC logs
1702
1703 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1704
1705         * LaTeX.h: yet another std:: that Allan forgot.
1706
1707         * Variables.C (set): renamed from isset(), because this clashes
1708         with some HP-UX macros (grr).
1709
1710 2001-02-06  Allan Rae  <rae@lyx.org>
1711
1712         * LaTeX.h: Another bug fix.  Missing std:: this time.
1713
1714 2001-02-04  Allan Rae  <rae@lyx.org>
1715
1716         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
1717         floats problem. I've left it commented out because it's not quite
1718         correct.  It should also test that the current object is a table or
1719         figure inset.  But I haven't gotten around to figuring out how to do
1720         that.  I *think* it'll be something like: "table" == inset.type()
1721
1722         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
1723         bool.
1724
1725 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
1726
1727         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
1728         all the citation/databases/styles in the auxilary file. 
1729         (run): Rerun latex if there was a babel language error.
1730
1731 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
1732
1733         * text.C (Backspace): Preserve the font when changing newline char
1734         with a space.
1735         (BreakParagraph): If the cursor is before a space, delete the space.
1736
1737         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
1738
1739 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
1740
1741         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
1742         new argument (code).
1743         (ChangeCitationsIfUnique): New method.
1744
1745         * paragraph.C (GetPositionOfInset): Handle bibkey.
1746
1747 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1748
1749         * BufferView_pimpl.h: change type of Position::par_pos to
1750         LyXParagraph::size_type. 
1751
1752 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
1753
1754         * BufferView_pimpl.C (savePosition, restorePosition): Write
1755         messages to minibuffer.
1756
1757 2001-01-28  José Matos  <jamatos@fep.up.pt>
1758
1759         * buffer.C (makeDocBookFile): adds support for document language.
1760         A silly restriction on the name of LatexCommand types where removed.
1761         Added support for CDATA sections, allows to chars unescaped, used
1762         among others in code, to avoid escape < and >.
1763         
1764 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
1765
1766         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of 
1767         saved positions instrad of a stack. Furthermore, a position is
1768         stored using paragraph id/paragraph position.
1769
1770         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
1771         Remove LFUN_REF_BACK.
1772
1773 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
1774
1775         * converter.C (dvipdfm_options): New method.
1776
1777 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
1778
1779         * vspace.C (isValidLength): Fix for empty input string.
1780
1781 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1782
1783         * LyXAction.C (init): change description of LFUN_FIGURE to
1784         "Insert Graphics"
1785
1786 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1787
1788         * LaTeX.C: add using directive
1789
1790 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
1791
1792         * MenuBackend.C (expand): Fix the sorting of the formats.
1793
1794 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
1795
1796         * lyx_main.C: tiny error message fix
1797
1798 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1799
1800         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
1801         calling fl_initialize(). This fixes the problem with ',' as
1802         decimal separator in text files.
1803
1804 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
1805
1806         * trans.C (process): Fix the keymap bug.
1807
1808 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
1809
1810         * LaTeX.C (scanAuxFiles): New method. Provides support for
1811         multiple bibliographies (when using the bibtopic/bibunits pacakges).
1812         (scanLogFile) Scan for "run BibTeX" messages.
1813
1814         * buffer.C (makeLaTeXFile): Do not load the ae package when using
1815         OT1 font encoding. Also, load the aecompl package if the ae
1816         package is loaded.
1817
1818         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
1819
1820 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1821
1822         * texrow.C (increasePos): turn two error messages into debug
1823         messages. 
1824
1825 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
1826
1827         * LaTeX.C (scanAux): Handle the \@input macro.
1828         (runBibTeX): Use scanAux().
1829
1830         * language.C (latex_options_): New field.
1831
1832         * LaTeXFeatures.C (getMacros): Add language macros.
1833
1834         * buffer.C (makeLaTeXFile): Small fix.
1835
1836 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1837
1838         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
1839
1840         * text2.C: add a using directive.
1841
1842 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
1843
1844         * BufferView2.C:
1845         * lyx_gui_misc.h:
1846         * lyxfr1.C:
1847         * lyxfunc.C: kill LyXBell.
1848
1849 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
1850
1851         * text.C (IsBoundary): Remove the error message
1852         
1853         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
1854
1855         * lyxrc.C (setDefaults): Correct initialization value for
1856         font_norm_type.
1857
1858 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
1859
1860         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
1861         gotoError().
1862
1863         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
1864         and GotoNextNote().
1865
1866         * src/LyXAction.C: Added reference-next.
1867
1868         * text.C (InsertChar): Use contains instead of strchr.
1869
1870         * lyx_cb.C (MenuInsertLabel): Enable default value code.
1871
1872 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
1873
1874         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
1875         alignment commands (when needed).
1876
1877         * text.C (InsertChar): Add ':' to number separator chars.